swagger.yaml 879 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446314473144831449314503145131452314533145431455314563145731458314593146031461314623146331464314653146631467314683146931470314713147231473314743147531476314773147831479314803148131482314833148431485314863148731488314893149031491314923149331494314953149631497314983149931500315013150231503315043150531506315073150831509315103151131512315133151431515315163151731518315193152031521315223152331524315253152631527315283152931530315313153231533315343153531536315373153831539
  1. basePath: /api
  2. definitions:
  3. app.Response:
  4. properties:
  5. code:
  6. type: integer
  7. data:
  8. type: object
  9. msg:
  10. type: string
  11. page:
  12. description: 页码
  13. type: integer
  14. pagesize:
  15. description: 每页条数
  16. type: integer
  17. total:
  18. description: 总条数
  19. type: integer
  20. type: object
  21. common.ClientMenu:
  22. properties:
  23. children:
  24. description: 子菜单列表
  25. items:
  26. $ref: '#/definitions/common.ClientMenu'
  27. type: array
  28. code:
  29. description: ID
  30. type: string
  31. isshow:
  32. description: 是否显示
  33. type: boolean
  34. remark:
  35. description: 备注
  36. type: string
  37. rulekey:
  38. description: 对应权限主键,对应FUNCMENULIST表RESOURCECODE
  39. type: string
  40. sort:
  41. description: 排序
  42. type: integer
  43. title:
  44. description: 标题
  45. type: string
  46. type:
  47. description: 类型,1:菜单 2:按钮
  48. type: integer
  49. url:
  50. description: URL
  51. type: string
  52. type: object
  53. common.PCWebMenu:
  54. properties:
  55. auth:
  56. description: 页面权限列表
  57. items:
  58. $ref: '#/definitions/common.PCWebMenuAuth'
  59. type: array
  60. children:
  61. description: 子菜单列表
  62. items:
  63. $ref: '#/definitions/common.PCWebMenu'
  64. type: array
  65. code:
  66. description: ID,新版本中权限KEY也是这个字段
  67. type: string
  68. component:
  69. description: 路由组件
  70. type: string
  71. isshow:
  72. description: 是否显示
  73. type: boolean
  74. path:
  75. description: 路由路径
  76. type: string
  77. remark:
  78. description: 备注
  79. type: string
  80. rulekey:
  81. description: 权限主键,非空表示需要判断控制,非空值不可重复
  82. type: string
  83. sort:
  84. description: 排序
  85. type: integer
  86. title:
  87. description: 标题
  88. type: string
  89. url:
  90. description: URL
  91. type: string
  92. type: object
  93. common.PCWebMenuAuth:
  94. properties:
  95. code:
  96. description: ID,新版本中权限KEY也是这个字段
  97. type: string
  98. isshow:
  99. description: 是否显示
  100. type: boolean
  101. label:
  102. description: 标题
  103. type: string
  104. remark:
  105. description: 备注
  106. type: string
  107. rulekey:
  108. description: 权限主键,非空表示需要判断控制,非空值不可重复
  109. type: string
  110. type: object
  111. common.QueryImageConfigsRsp:
  112. properties:
  113. areauserid:
  114. description: 所属机构ID
  115. type: integer
  116. configid:
  117. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  118. type: integer
  119. createdate:
  120. description: 创建时间
  121. type: string
  122. creatorid:
  123. description: 创建人
  124. type: integer
  125. imagedetailpath:
  126. description: 详情图片 [UrlType = 3时 有且必填,其它类型不需要]
  127. type: string
  128. imagepath:
  129. description: 图片
  130. type: string
  131. imagetype:
  132. description: 类型 - 1:首页轮播(移动) 2:我的(移动)
  133. type: integer
  134. isshow:
  135. description: 是否展示 - 0:不展示 1:展示
  136. type: integer
  137. marketid:
  138. description: 市场ID
  139. type: integer
  140. modifierid:
  141. description: 操作人
  142. type: integer
  143. sort:
  144. description: 排序
  145. type: integer
  146. title:
  147. description: 标题
  148. type: string
  149. trademode:
  150. description: 交易模式
  151. type: integer
  152. updatedate:
  153. description: 修改时间
  154. type: string
  155. url:
  156. description: 链接(地址或商品ID)
  157. type: string
  158. urltype:
  159. description: 链接类型 - 1:直接地址 2:商品ID
  160. type: integer
  161. required:
  162. - configid
  163. type: object
  164. common.QueryNoticeRsp:
  165. properties:
  166. auditoruserid:
  167. description: 审核人
  168. type: integer
  169. auditremark:
  170. description: 审核备注
  171. type: string
  172. audittime:
  173. description: 审核日期
  174. type: string
  175. autoid:
  176. description: 自增ID
  177. type: integer
  178. content:
  179. description: 内容
  180. type: string
  181. createtime:
  182. description: 创建时间
  183. type: string
  184. creatorid:
  185. description: 建仓人
  186. type: integer
  187. endtime:
  188. description: 结束时间
  189. type: string
  190. istop:
  191. description: 是否置顶 - 0:不置顶 1:置顶
  192. type: integer
  193. msgiconurl:
  194. description: 消息图标Url
  195. type: string
  196. msgtype:
  197. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  198. type: integer
  199. publisher:
  200. description: 消息发布者
  201. type: string
  202. readed:
  203. description: 是否已读
  204. type: boolean
  205. scheduletime:
  206. description: 计划发送时间
  207. type: string
  208. sendtype:
  209. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  210. type: integer
  211. sentstatus:
  212. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  213. type: integer
  214. title:
  215. description: 标题
  216. type: string
  217. userid:
  218. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  219. type: integer
  220. required:
  221. - autoid
  222. type: object
  223. common.QueryProvincesAndCitiesRsp:
  224. properties:
  225. cities:
  226. description: 市
  227. items:
  228. $ref: '#/definitions/models.Division'
  229. type: array
  230. province:
  231. $ref: '#/definitions/models.Division'
  232. description: 省
  233. type: object
  234. common.QueryTableDefineRsp:
  235. properties:
  236. columns:
  237. description: 列头信息数组
  238. items:
  239. $ref: '#/definitions/models.Tablecolumnconfig'
  240. type: array
  241. remark:
  242. description: Remark
  243. type: string
  244. tabelmenu:
  245. description: 列表菜单
  246. type: string
  247. tablekey:
  248. description: 列表Key
  249. type: string
  250. tablename:
  251. description: 列表名称
  252. type: string
  253. tabletype:
  254. description: 列表类型 - 1:管理端 2:终端
  255. type: integer
  256. required:
  257. - tablekey
  258. type: object
  259. common.QueryTraderMenuRsp:
  260. properties:
  261. OperationMenu:
  262. description: 功能菜单
  263. items:
  264. $ref: '#/definitions/models.OperationPrimaryMenu'
  265. type: array
  266. QuoteMenu:
  267. description: 报价牌分类菜单
  268. items:
  269. $ref: '#/definitions/models.QuotePrimaryMenu'
  270. type: array
  271. type: object
  272. cptrade.Cptradepositioncancel:
  273. properties:
  274. accountid:
  275. description: 申请人账户ID
  276. type: integer
  277. applystatus:
  278. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  279. type: integer
  280. applytime:
  281. description: 申请时间
  282. type: string
  283. cancelid:
  284. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  285. type: integer
  286. cancelqty:
  287. description: 注销数量
  288. type: integer
  289. createtime:
  290. description: 创建时间
  291. type: string
  292. creatorid:
  293. description: 创建人ID
  294. type: integer
  295. creatorname:
  296. description: 创建人
  297. type: string
  298. goodscode:
  299. description: 订单商品代码
  300. type: string
  301. goodsid:
  302. description: 商品ID
  303. type: integer
  304. goodsname:
  305. description: 订单商品名称
  306. type: string
  307. goodunit:
  308. description: 报价单位
  309. type: string
  310. handlestatus:
  311. description: 处理状态
  312. type: integer
  313. marketid:
  314. description: 市场ID
  315. type: integer
  316. marketname:
  317. description: 市场名称
  318. type: string
  319. tradedate:
  320. description: 交易日(yyyyMMdd)
  321. type: string
  322. userid:
  323. description: 申请人ID
  324. type: integer
  325. required:
  326. - cancelid
  327. type: object
  328. cptrade.Cptradepresaleapply:
  329. properties:
  330. accountid:
  331. description: 申请人账户ID
  332. type: integer
  333. applyid:
  334. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  335. type: integer
  336. applyremark:
  337. description: 申请备注
  338. type: string
  339. applystatus:
  340. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  341. type: integer
  342. applytime:
  343. description: 申请时间
  344. type: string
  345. attachmenturl:
  346. description: 附件地址
  347. type: string
  348. endtime:
  349. description: 预售结束时间
  350. type: string
  351. goodscode:
  352. description: 商品代码
  353. type: string
  354. goodsid:
  355. description: 商品ID
  356. type: integer
  357. goodsname:
  358. description: 商品名称
  359. type: string
  360. goodunit:
  361. description: 报价单位
  362. type: string
  363. handlestatus:
  364. description: 处理状态
  365. type: integer
  366. marketid:
  367. description: 预售市场ID
  368. type: integer
  369. marketname:
  370. description: 预售市场名称
  371. type: string
  372. presaleqty:
  373. description: 预售数量
  374. type: integer
  375. relatedgoodscode:
  376. description: 关联交易合约代码
  377. type: string
  378. relatedgoodsid:
  379. description: 关联交易合约ID
  380. type: integer
  381. relatedgoodsname:
  382. description: 关联交易合约名称
  383. type: string
  384. starttime:
  385. description: 预售开始时间
  386. type: string
  387. tradedate:
  388. description: 交易日(yyyyMMdd)
  389. type: string
  390. trademode:
  391. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  392. type: integer
  393. userid:
  394. description: 申请人ID
  395. type: integer
  396. required:
  397. - applyid
  398. type: object
  399. cptrade.Cptradeusergoodsdata:
  400. properties:
  401. EnabledQty:
  402. description: 可用量
  403. type: integer
  404. GoodsCode:
  405. description: 订单商品代码
  406. type: string
  407. GoodsName:
  408. description: 订单商品名称
  409. type: string
  410. WRStandardCode:
  411. description: 仓单标准代码
  412. type: string
  413. WRStandardName:
  414. description: 仓单标准名称
  415. type: string
  416. accountid:
  417. description: 账户ID
  418. type: integer
  419. cancelqty:
  420. description: 注销量
  421. type: integer
  422. curpresaleqty:
  423. description: 当前预售量
  424. type: integer
  425. deliveryqty:
  426. description: 交割量
  427. type: integer
  428. freezeamount:
  429. description: 冻结金额
  430. type: number
  431. goodsid:
  432. description: 商品ID
  433. type: integer
  434. goodunit:
  435. description: 报价单位
  436. type: string
  437. hasspotfreeze:
  438. description: 是否有现货冻结 - 0:否 1:有
  439. type: integer
  440. inqty:
  441. description: 转入量(总数量)
  442. type: integer
  443. marketid:
  444. description: 市场ID
  445. type: integer
  446. presaledamount:
  447. description: 已预售总金额
  448. type: integer
  449. presaledqty:
  450. description: 已预售量
  451. type: integer
  452. userid:
  453. description: 用户ID
  454. type: integer
  455. wrstandardid:
  456. description: 仓单标准ID
  457. type: integer
  458. required:
  459. - accountid
  460. - goodsid
  461. type: object
  462. cptrade.QueryCPTradeMyBidRsp:
  463. properties:
  464. accountid:
  465. description: 账户ID[报价币种]
  466. type: integer
  467. goodsid:
  468. description: 商品ID
  469. type: integer
  470. goodunit:
  471. description: 报价单位
  472. type: string
  473. marketid:
  474. description: 市场ID
  475. type: integer
  476. orderid:
  477. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  478. type: integer
  479. orderprice:
  480. description: 委托价格
  481. type: number
  482. orderqty:
  483. description: 委托数量
  484. type: integer
  485. ordertime:
  486. description: 委托时间
  487. type: string
  488. ordertotalprice:
  489. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  490. type: number
  491. ordertotalweight:
  492. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  493. type: integer
  494. totaltotalprice:
  495. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  496. type: number
  497. tradeprice:
  498. description: 成交价格
  499. type: number
  500. tradeqty:
  501. description: 成交数量
  502. type: integer
  503. required:
  504. - accountid
  505. - goodsid
  506. - marketid
  507. - orderid
  508. - orderqty
  509. - ordertime
  510. - tradeprice
  511. - tradeqty
  512. type: object
  513. cptrade.QueryCPTradeOrderDetailRsq:
  514. properties:
  515. accountid:
  516. description: 账户ID[报价币种]
  517. type: integer
  518. buildtype:
  519. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  520. type: integer
  521. buyorsell:
  522. description: 买卖 - 0:买 1:卖
  523. type: integer
  524. cancelorderid:
  525. description: 撤单单号(撤单时填写)
  526. type: integer
  527. cancelqty:
  528. description: 撤单数量
  529. type: integer
  530. clientordertime:
  531. description: 客户端委托时间
  532. type: string
  533. clientticket:
  534. description: 客户端流水号
  535. type: string
  536. clienttype:
  537. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  538. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  539. type: integer
  540. closeexchagechargevalue:
  541. description: 平仓交易所手续费设置值
  542. type: number
  543. closefeealgorithm:
  544. description: 平仓手续费收取方式 1:比率 2:固定
  545. type: integer
  546. closefreezecharge:
  547. description: 平仓冻结手续费(先建后平操作,需要记录)
  548. type: number
  549. closememberchargevalue:
  550. description: 平仓会员手续费设置值
  551. type: number
  552. closeqty:
  553. description: 平仓数量(先建后平操作 需要记录)
  554. type: integer
  555. closetradeqty:
  556. description: 平仓成交数量(先建后平操作,需要记录)
  557. type: integer
  558. closeunfreezecharge:
  559. description: 平仓解冻手续费(先建后平操作,需要记录)
  560. type: number
  561. delistingtype:
  562. description: 摘牌类型 - 1:价格最优 2:点选成交
  563. type: integer
  564. freezecharge:
  565. description: 冻结手续费
  566. type: number
  567. freezemargin:
  568. description: 冻结保证金(冻结交易金额)
  569. type: number
  570. gcaccountid:
  571. description: 账户ID[合约币种]
  572. type: integer
  573. goodsid:
  574. description: 商品ID
  575. type: integer
  576. isconfirmexercise:
  577. description: 是否确认行权- 0:否 1:是
  578. type: integer
  579. ispreexercise:
  580. description: 是否预申报- 0:否 1:是
  581. type: integer
  582. listingselecttype:
  583. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  584. type: integer
  585. marginalgorithm:
  586. description: 保证金收取方式 1:比率 2:固定
  587. type: integer
  588. marginvalue:
  589. description: 即市保证金设置值
  590. type: number
  591. marketid:
  592. description: 市场ID
  593. type: integer
  594. marketmaxsub:
  595. description: 市价最大偏移范围
  596. type: number
  597. memberuserid:
  598. description: 所属会员UserID
  599. type: integer
  600. openexchagechargevalue:
  601. description: 建仓交易所手续费设置值
  602. type: number
  603. openfeealgorithm:
  604. description: 建仓手续费收取方式 1:比率 2:固定
  605. type: integer
  606. openfreezecharge:
  607. description: 开仓冻结手续费(先建后平操作,需要记录)
  608. type: number
  609. openmemberchargevalue:
  610. description: 建仓会员手续费设置值
  611. type: number
  612. openqty:
  613. description: 开仓数量(先建后平操作,需要记录)
  614. type: integer
  615. opentradeqty:
  616. description: 开仓成交数量(先建后平操作,需要记录)
  617. type: integer
  618. openunfreezecharge:
  619. description: 开仓解冻手续费(先建后平操作,需要记录)
  620. type: number
  621. operatetype:
  622. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  623. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  624. 15:管理端协议转让
  625. type: integer
  626. operatorid:
  627. description: 登录账号(LoginID)
  628. type: integer
  629. optiontype:
  630. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  631. type: integer
  632. orderprice:
  633. description: 委托价格
  634. type: number
  635. orderqty:
  636. description: 委托数量
  637. type: integer
  638. ordersrc:
  639. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  640. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  641. type: integer
  642. orderstatus:
  643. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  644. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  645. 16:成交失败违约(荷兰式竞拍专用)
  646. type: integer
  647. ordertime:
  648. description: 委托时间
  649. type: string
  650. preexerciseprice:
  651. description: 预申报价格
  652. type: number
  653. premium:
  654. description: 权利金
  655. type: number
  656. preorderid:
  657. description: 关联预埋单号(止盈止损单时填写)
  658. type: integer
  659. pricemode:
  660. description: '取价方式 - 1:市价 2: 限价'
  661. type: integer
  662. quoteid:
  663. description: 报价单ID
  664. type: integer
  665. relatedid:
  666. description: 关联单号(交割单)
  667. type: integer
  668. retcode:
  669. description: 错误代码
  670. type: integer
  671. sessionid:
  672. description: 会话ID
  673. type: integer
  674. strorderid:
  675. description: 委托单号
  676. type: string
  677. tradedate:
  678. description: 交易日(yyyyMMdd)
  679. type: string
  680. tradeproperty:
  681. description: 交易属性
  682. type: integer
  683. tradeqty:
  684. description: 成交数量
  685. type: integer
  686. unfreezecharge:
  687. description: 解冻手续费
  688. type: number
  689. unfreezemargin:
  690. description: 解冻保证金
  691. type: number
  692. updatetime:
  693. description: 更新时间
  694. type: string
  695. uuid:
  696. description: 发起端唯一id
  697. type: string
  698. validtime:
  699. description: 有效期限
  700. type: string
  701. validtype:
  702. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  703. type: integer
  704. volumetype:
  705. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  706. type: integer
  707. required:
  708. - accountid
  709. - buildtype
  710. - buyorsell
  711. - goodsid
  712. - marketid
  713. - memberuserid
  714. - operatetype
  715. - orderqty
  716. - ordertime
  717. - pricemode
  718. - strorderid
  719. - tradedate
  720. - validtype
  721. type: object
  722. cptrade.QueryMyCPTradeGoodsRsp:
  723. properties:
  724. accountid:
  725. description: 卖方账户ID
  726. type: integer
  727. agreeunit:
  728. description: 合约单位
  729. type: number
  730. applyid:
  731. description: 关联申请ID
  732. type: integer
  733. attachmenturl:
  734. description: 附件地址
  735. type: string
  736. createtime:
  737. description: 创建时间
  738. type: string
  739. currencyid:
  740. description: 报价货币ID
  741. type: integer
  742. decimalplace:
  743. description: 报价小数位
  744. type: integer
  745. endtime:
  746. description: 预售结束时间
  747. type: string
  748. floorprice:
  749. description: 底价[大宗式竞拍]
  750. type: number
  751. goodscode:
  752. description: 商品代码(预售)
  753. type: string
  754. goodsdetail:
  755. description: 详情[大宗]
  756. type: string
  757. goodsid:
  758. description: 商品ID(自增ID SEQ_GOODS)
  759. type: integer
  760. goodsname:
  761. description: 商品名称(预售)
  762. type: string
  763. goodunit:
  764. description: 报价单位
  765. type: string
  766. goodunitid:
  767. description: 报价单位ID
  768. type: integer
  769. marketid:
  770. description: 所属市场ID
  771. type: integer
  772. marketname:
  773. description: 预售市场名称
  774. type: string
  775. presaledamount:
  776. description: 已预售总金额(预售结束时更新)
  777. type: number
  778. presaledqty:
  779. description: 已预售量(预售结束时更新)
  780. type: integer
  781. presalemode:
  782. description: 预售模式 - 1:一口价 2:大宗式竞拍
  783. type: integer
  784. presaleqty:
  785. description: 预售数量
  786. type: integer
  787. refprice:
  788. description: 参考价格[一口价]
  789. type: number
  790. relatedgoodscode:
  791. description: 商品代码(订单)
  792. type: string
  793. relatedgoodsid:
  794. description: 关联交易合约ID
  795. type: integer
  796. relatedgoodsname:
  797. description: 商品名称(订单)
  798. type: string
  799. relatedmarketid:
  800. description: 关联交易合约市场ID
  801. type: integer
  802. sellstatus:
  803. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  804. type: integer
  805. startprice:
  806. description: 起拍价[大宗式竞拍]
  807. type: number
  808. starttime:
  809. description: 预售开始时间
  810. type: string
  811. tradedate:
  812. description: 交易日(yyyyMMdd)
  813. type: string
  814. tradeprice:
  815. description: 成交价[大宗]
  816. type: number
  817. userid:
  818. description: 卖方用户ID
  819. type: integer
  820. required:
  821. - goodscode
  822. - goodsid
  823. - goodsname
  824. - marketid
  825. - relatedgoodscode
  826. - relatedgoodsname
  827. type: object
  828. cptrade.QueryPresaleGoodsExRsp:
  829. properties:
  830. attachmenturl:
  831. description: 附件地址
  832. type: string
  833. createtime:
  834. description: 创建时间
  835. type: string
  836. endtime:
  837. description: 预售结束时间
  838. type: string
  839. floorprice:
  840. description: 底价[大宗式竞拍]
  841. type: number
  842. goodsdetail:
  843. description: 详情[大宗]
  844. type: string
  845. goodsid:
  846. description: 商品ID(预售)
  847. type: integer
  848. goodunit:
  849. description: 报价单位
  850. type: string
  851. marketid:
  852. description: 预售市场ID - 根据预售模式选择市场
  853. type: integer
  854. presaledamount:
  855. description: 已预售总金额(预售结束时更新)
  856. type: number
  857. presaledqty:
  858. description: 已预售量(预售结束时更新)
  859. type: integer
  860. presalemode:
  861. description: 预售模式 - 1:一口价 2:大宗式竞拍
  862. type: integer
  863. presaleqty:
  864. description: 预售数量
  865. type: integer
  866. refprice:
  867. description: 参考价格[一口价]
  868. type: number
  869. relatedgoodsid:
  870. description: 关联交易合约ID
  871. type: integer
  872. relatedmarketid:
  873. description: 关联交易合约市场ID
  874. type: integer
  875. sellstatus:
  876. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  877. type: integer
  878. startprice:
  879. description: 起拍价[大宗式竞拍]
  880. type: number
  881. starttime:
  882. description: 预售开始时间
  883. type: string
  884. tradedate:
  885. description: 交易日(yyyyMMdd)
  886. type: string
  887. tradeprice:
  888. description: 成交价[大宗]
  889. type: number
  890. required:
  891. - goodsid
  892. type: object
  893. delivery.QueryDeliveryRelationRsp:
  894. properties:
  895. begindate:
  896. description: 起始日期(yyyyMMdd)
  897. type: string
  898. buytemplateid:
  899. description: 买履约计划模板ID
  900. type: integer
  901. deliverygoodscode:
  902. description: 品种代码
  903. type: string
  904. deliverygoodsid:
  905. description: 交割商品
  906. type: integer
  907. deliverygoodsname:
  908. description: 品种名称
  909. type: string
  910. deliverymode:
  911. description: 交割方式 - 1:点选式 2:申报式
  912. type: integer
  913. deliverypricerule:
  914. description: 交割价规则- 1:行情价 2:建仓价
  915. type: integer
  916. deliverytype:
  917. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  918. type: integer
  919. enddate:
  920. description: 结束日期(yyyyMMdd)
  921. type: string
  922. enumdicname:
  923. description: 品类单位名称
  924. type: string
  925. goodscode:
  926. description: 商品代码
  927. type: string
  928. goodsid:
  929. description: 交易合约ID
  930. type: integer
  931. goodsname:
  932. description: 商品名称
  933. type: string
  934. marketid:
  935. description: 市场ID
  936. type: integer
  937. mindeliveryqty:
  938. description: 最小交割系数(K)
  939. type: integer
  940. p2deliveryprice:
  941. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  942. type: number
  943. p2deliveryratio:
  944. description: P2合约系数(p)
  945. type: integer
  946. p2goodsid:
  947. description: P2合约ID
  948. type: integer
  949. p2pricemode:
  950. description: P2合约价格方式 - 1:商品价 2:固定值
  951. type: integer
  952. pdeliveryprice:
  953. description: P合约价格(商品价时填写0,固定值时填写固定值)
  954. type: number
  955. pdeliveryratio:
  956. description: P合约系数(n)
  957. type: integer
  958. pgoodscode:
  959. description: p合约代码
  960. type: string
  961. pgoodsid:
  962. description: P合约ID
  963. type: integer
  964. ppricemode:
  965. description: P合约价格方式 - 1:商品价 2:固定值
  966. type: integer
  967. rratio:
  968. description: 兑换系数(R)
  969. type: integer
  970. rratio1:
  971. description: 兑换系数(交易合约)(R1)
  972. type: integer
  973. rratio2:
  974. description: 兑换系数(仓单标准)(R2)
  975. type: integer
  976. selltemplateid:
  977. description: 卖履约计划模板ID
  978. type: integer
  979. wrstandardid:
  980. description: 仓单标准ID
  981. type: integer
  982. xdeliveryratio:
  983. description: 交易合约系数(m)
  984. type: integer
  985. required:
  986. - begindate
  987. - enddate
  988. - goodsid
  989. - mindeliveryqty
  990. - xdeliveryratio
  991. type: object
  992. ermcp.ExposureDetailRsp:
  993. properties:
  994. areauserid:
  995. description: 机构ID
  996. type: integer
  997. changeQty:
  998. description: 套保变动量
  999. type: number
  1000. contracttype:
  1001. description: 现货合同类型 - 1:采购 -1:销售
  1002. type: integer
  1003. convertfactor:
  1004. description: 标仓系数
  1005. type: number
  1006. convertratio:
  1007. description: 套保系数
  1008. type: number
  1009. createtime:
  1010. description: 时间
  1011. type: string
  1012. enumdicname:
  1013. description: 现货商品单位名称
  1014. type: string
  1015. logtype:
  1016. description: 类型 - 1:套保计划 2:现货合同
  1017. type: integer
  1018. middlegoodsId:
  1019. description: 套保商品id
  1020. type: integer
  1021. middlegoodscode:
  1022. description: 套保商品代码
  1023. type: string
  1024. middlegoodsname:
  1025. description: 套保商品名称
  1026. type: string
  1027. qty:
  1028. description: 数量
  1029. type: number
  1030. relateNo:
  1031. description: 现货合同/套保计划编号
  1032. type: string
  1033. wrstandardcode:
  1034. description: 现货商品代码
  1035. type: string
  1036. wrstandardid:
  1037. description: 现货商品ID
  1038. type: integer
  1039. wrstandardname:
  1040. description: 现货商品名称
  1041. type: string
  1042. type: object
  1043. ermcp.ExposureHedgePosDetailRsp:
  1044. properties:
  1045. buyorsell:
  1046. description: 买卖方向 0-买 1-卖
  1047. type: integer
  1048. channelbuildtype:
  1049. description: 开平方向 1-建仓 2-平仓
  1050. type: integer
  1051. goodscode:
  1052. description: 商品代码
  1053. type: string
  1054. goodsname:
  1055. description: 商品名称
  1056. type: string
  1057. hedgegoodsid:
  1058. description: 商品id
  1059. type: integer
  1060. tradeqty:
  1061. description: 数量(成交数量)
  1062. type: integer
  1063. tradetime:
  1064. description: 时间(成交时间)
  1065. type: string
  1066. type: object
  1067. ermcp.ExposureHedgePositionRsp:
  1068. properties:
  1069. accountid:
  1070. description: 资金账号[外部母账户]
  1071. type: integer
  1072. curbuyposition:
  1073. description: 期末买头寸
  1074. type: integer
  1075. cursellposition:
  1076. description: 期末卖头寸
  1077. type: integer
  1078. curtdbuyposition:
  1079. description: 期末今日买头寸
  1080. type: integer
  1081. curtdsellposition:
  1082. description: 期末今日卖头寸
  1083. type: integer
  1084. curydbuyposition:
  1085. description: 期末上日买头寸
  1086. type: integer
  1087. curydsellposition:
  1088. description: 期末上日卖头寸
  1089. type: integer
  1090. decreaseqty:
  1091. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  1092. type: integer
  1093. fretdbuyposition:
  1094. description: 冻结今日买头寸
  1095. type: integer
  1096. fretdsellposition:
  1097. description: 冻结今日卖头寸
  1098. type: integer
  1099. freydbuyposition:
  1100. description: 冻结上日买头寸
  1101. type: integer
  1102. freydsellposition:
  1103. description: 冻结上日卖头寸
  1104. type: integer
  1105. goodscode:
  1106. description: 商品代码
  1107. type: string
  1108. goodsid:
  1109. description: 商品id
  1110. type: integer
  1111. goodsname:
  1112. description: 商品名称
  1113. type: string
  1114. hedgeaccountcode:
  1115. description: 对冲账号
  1116. type: string
  1117. hedgegoodsid:
  1118. description: 对冲合约ID
  1119. type: integer
  1120. increaseqty:
  1121. description: 增加数量 = 期末买头寸 - 期初买头寸
  1122. type: integer
  1123. marketid:
  1124. description: 市场ID
  1125. type: integer
  1126. relateduserid:
  1127. description: 关联用户id
  1128. type: integer
  1129. totalcurqty:
  1130. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  1131. type: integer
  1132. totalydqty:
  1133. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  1134. type: integer
  1135. tradedate:
  1136. description: 交易日(yyyyMMdd)
  1137. type: string
  1138. ydbuyposition:
  1139. description: 期初买头寸
  1140. type: integer
  1141. ydsellposition:
  1142. description: 期初卖头寸
  1143. type: integer
  1144. type: object
  1145. ermcp.ExposureSpotDetailRsp:
  1146. properties:
  1147. contracttype:
  1148. description: 合同类型 1-采购 -1-销售
  1149. type: integer
  1150. createtime:
  1151. description: 创建时间
  1152. type: string
  1153. enumdicname:
  1154. description: 现货商品单位名称
  1155. type: string
  1156. logtype:
  1157. description: 记录类型 1-套保 2-现货合同
  1158. type: integer
  1159. qty:
  1160. description: 数量
  1161. type: number
  1162. recordname:
  1163. description: 类型名称
  1164. type: string
  1165. relatedid:
  1166. description: 套保计划ID/现货合同ID
  1167. type: string
  1168. relatedno:
  1169. description: 编号
  1170. type: string
  1171. strtime:
  1172. description: 时间
  1173. type: string
  1174. wrstandardcode:
  1175. description: 现货商品代码
  1176. type: string
  1177. wrstandardname:
  1178. description: 现货商品名称
  1179. type: string
  1180. type: object
  1181. ermcp.ExposureSpotRsp:
  1182. properties:
  1183. areauserid:
  1184. description: 所属机构
  1185. type: integer
  1186. decreaseqty:
  1187. description: 减少数量=-(销售已定价数量+采购计划数量)
  1188. type: number
  1189. increaseqty:
  1190. description: 增加数量=销售计划数量+采购已定价数量
  1191. type: number
  1192. oritoalspotqty:
  1193. description: 昨日数量
  1194. type: number
  1195. totalspotqty:
  1196. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  1197. type: number
  1198. updatetime:
  1199. description: 更新时间
  1200. type: string
  1201. wrstandardcode:
  1202. description: 现货品种代码
  1203. type: string
  1204. wrstandardid:
  1205. description: 现货商品ID
  1206. type: integer
  1207. wrstandardname:
  1208. description: 现货品种
  1209. type: string
  1210. type: object
  1211. ermcp.HisExposureRsp:
  1212. properties:
  1213. data:
  1214. description: 历史敞口
  1215. items:
  1216. $ref: '#/definitions/models.ErmcpHisExposure'
  1217. type: array
  1218. enumdicname:
  1219. description: 单位名称
  1220. type: string
  1221. middlegoodscode:
  1222. description: 套保品种代码
  1223. type: string
  1224. middlegoodsid:
  1225. description: 套保品种ID
  1226. type: integer
  1227. middlegoodsname:
  1228. description: 套保品种名称
  1229. type: string
  1230. type: object
  1231. ermcp.PendingAuditCntRsp:
  1232. properties:
  1233. areastockqty:
  1234. description: '待审核数量: 库存申请'
  1235. type: integer
  1236. businessdjqty:
  1237. description: '待审核数量: 点价'
  1238. type: integer
  1239. businessfpqty:
  1240. description: '待审核数量: 发票'
  1241. type: integer
  1242. businessjsqty:
  1243. description: '待审核数量: 结算'
  1244. type: integer
  1245. businesskxqty:
  1246. description: '待审核数量: 款项'
  1247. type: integer
  1248. hedgeplanqty:
  1249. description: '待审核数量: 套保计划'
  1250. type: integer
  1251. spotcontractqty:
  1252. description: '待审核数量: 现货合同'
  1253. type: integer
  1254. userqty:
  1255. description: '待审核数量: 用户'
  1256. type: integer
  1257. type: object
  1258. ermcp.QryAvalidGPRsp:
  1259. properties:
  1260. goodsgroupid:
  1261. description: 期货品种id
  1262. type: integer
  1263. goodsgroupname:
  1264. description: 期货品种名称
  1265. type: string
  1266. goodunitid:
  1267. description: 品种单位id
  1268. type: integer
  1269. goodunitname:
  1270. description: 品种单位名称
  1271. type: string
  1272. outergroupcode:
  1273. description: 期货品种代码
  1274. type: string
  1275. type: object
  1276. ermcp.QryBusinessDjRsp:
  1277. properties:
  1278. amount:
  1279. description: 点价金额=(点价价格+升贴水)*点价数量
  1280. type: number
  1281. applyid:
  1282. description: 申请人
  1283. type: string
  1284. applyname:
  1285. description: 申请人名称
  1286. type: string
  1287. applystatus:
  1288. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1289. type: integer
  1290. applytime:
  1291. description: 申请时间
  1292. type: string
  1293. attachurl:
  1294. description: 附件
  1295. type: string
  1296. auditid:
  1297. description: 审核人ID
  1298. type: string
  1299. auditname:
  1300. description: 审核人名称
  1301. type: string
  1302. auditremark:
  1303. description: 审核备注
  1304. type: string
  1305. audittime:
  1306. description: 审核时间
  1307. type: string
  1308. buyusername:
  1309. description: 采购方名称
  1310. type: string
  1311. contractno:
  1312. description: 合同编号
  1313. type: string
  1314. contractstatus:
  1315. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1316. type: integer
  1317. contracttype:
  1318. description: 现货合同类型 - 1:采购 -1:销售
  1319. type: integer
  1320. deliverygoodscode:
  1321. description: 现货品种代码
  1322. type: string
  1323. deliverygoodsid:
  1324. description: 现货商品ID
  1325. type: integer
  1326. deliverygoodsname:
  1327. description: 现货品种名称
  1328. type: string
  1329. enumdicname:
  1330. description: 单位名称
  1331. type: string
  1332. goodscode:
  1333. description: 点价合约
  1334. type: string
  1335. goodsname:
  1336. description: 商品名称
  1337. type: string
  1338. operateapplyid:
  1339. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1340. type: string
  1341. operateapplytype:
  1342. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1343. type: integer
  1344. pricedPrice:
  1345. description: 点价价格(非必填)
  1346. type: number
  1347. pricedQty:
  1348. description: 点价数量(非必填)
  1349. type: number
  1350. pricemove:
  1351. description: 升贴水
  1352. type: number
  1353. pricetype:
  1354. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1355. type: integer
  1356. relatedid:
  1357. description: 现货合同ID
  1358. type: string
  1359. sellusername:
  1360. description: 销售方名字
  1361. type: string
  1362. userid:
  1363. description: 用户ID
  1364. type: integer
  1365. wrstandardcode:
  1366. description: 品类代码
  1367. type: string
  1368. wrstandardid:
  1369. description: 品类id
  1370. type: integer
  1371. wrstandardname:
  1372. description: 品类名称
  1373. type: string
  1374. type: object
  1375. ermcp.QryBussinessFpRsp:
  1376. properties:
  1377. applyid:
  1378. description: 申请人
  1379. type: string
  1380. applyname:
  1381. description: 申请人名称
  1382. type: string
  1383. applystatus:
  1384. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1385. type: integer
  1386. applytime:
  1387. description: 申请时间
  1388. type: string
  1389. attachurl:
  1390. description: 附件
  1391. type: string
  1392. auditid:
  1393. description: 审核人ID
  1394. type: string
  1395. auditname:
  1396. description: 审核人名称
  1397. type: string
  1398. auditremark:
  1399. description: 审核备注
  1400. type: string
  1401. audittime:
  1402. description: 审核时间
  1403. type: string
  1404. buyusername:
  1405. description: 采购方名称
  1406. type: string
  1407. contractno:
  1408. description: 合同编号
  1409. type: string
  1410. contractstatus:
  1411. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1412. type: integer
  1413. contracttype:
  1414. description: 现货合同类型 - 1:采购 -1:销售
  1415. type: integer
  1416. deliverygoodscode:
  1417. description: 现货品种代码
  1418. type: string
  1419. deliverygoodsid:
  1420. description: 现货商品ID
  1421. type: integer
  1422. deliverygoodsname:
  1423. description: 现货品种名称
  1424. type: string
  1425. enumdicname:
  1426. description: 单位名称
  1427. type: string
  1428. goodscode:
  1429. description: 点价合约
  1430. type: string
  1431. goodsname:
  1432. description: 商品名称
  1433. type: string
  1434. invoiceamount:
  1435. description: 已开收票金额(销售为开票,采购为收票)
  1436. type: number
  1437. operateapplyid:
  1438. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1439. type: string
  1440. operateapplytype:
  1441. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1442. type: integer
  1443. pricemove:
  1444. description: 升贴水
  1445. type: number
  1446. pricetype:
  1447. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1448. type: integer
  1449. relatedid:
  1450. description: 现货合同ID
  1451. type: string
  1452. sellusername:
  1453. description: 销售方名字
  1454. type: string
  1455. userid:
  1456. description: 用户ID
  1457. type: integer
  1458. wrstandardcode:
  1459. description: 品类代码
  1460. type: string
  1461. wrstandardid:
  1462. description: 品类id
  1463. type: integer
  1464. wrstandardname:
  1465. description: 品类名称
  1466. type: string
  1467. type: object
  1468. ermcp.QryBussinessJsExRsp:
  1469. properties:
  1470. applyid:
  1471. description: 申请人
  1472. type: string
  1473. applyname:
  1474. description: 申请人名称
  1475. type: string
  1476. applystatus:
  1477. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1478. type: integer
  1479. applytime:
  1480. description: 申请时间
  1481. type: string
  1482. attachurl:
  1483. description: 附件
  1484. type: string
  1485. auditid:
  1486. description: 审核人ID
  1487. type: string
  1488. auditname:
  1489. description: 审核人名称
  1490. type: string
  1491. auditremark:
  1492. description: 审核备注
  1493. type: string
  1494. audittime:
  1495. description: 审核时间
  1496. type: string
  1497. buyusername:
  1498. description: 采购方名称
  1499. type: string
  1500. contractno:
  1501. description: 合同编号
  1502. type: string
  1503. contractstatus:
  1504. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1505. type: integer
  1506. contracttype:
  1507. description: 现货合同类型 - 1:采购 -1:销售
  1508. type: integer
  1509. deliverygoodscode:
  1510. description: 现货品种代码
  1511. type: string
  1512. deliverygoodsid:
  1513. description: 现货商品ID
  1514. type: integer
  1515. deliverygoodsname:
  1516. description: 现货品种名称
  1517. type: string
  1518. enumdicname:
  1519. description: 单位名称
  1520. type: string
  1521. goodscode:
  1522. description: 点价合约
  1523. type: string
  1524. goodsname:
  1525. description: 商品名称
  1526. type: string
  1527. operateapplyid:
  1528. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1529. type: string
  1530. operateapplytype:
  1531. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1532. type: integer
  1533. pricemove:
  1534. description: 升贴水
  1535. type: number
  1536. pricetype:
  1537. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1538. type: integer
  1539. reckontype:
  1540. description: 结算类型
  1541. type: string
  1542. reckonvalue:
  1543. description: 值
  1544. type: number
  1545. relatedid:
  1546. description: 现货合同ID
  1547. type: string
  1548. sellusername:
  1549. description: 销售方名字
  1550. type: string
  1551. userid:
  1552. description: 用户ID
  1553. type: integer
  1554. wrstandardcode:
  1555. description: 品类代码
  1556. type: string
  1557. wrstandardid:
  1558. description: 品类id
  1559. type: integer
  1560. wrstandardname:
  1561. description: 品类名称
  1562. type: string
  1563. type: object
  1564. ermcp.QryBussinessJsRsp:
  1565. properties:
  1566. addmargin:
  1567. description: 追加保证金(非必填)
  1568. type: number
  1569. applyid:
  1570. description: 申请人
  1571. type: string
  1572. applyname:
  1573. description: 申请人名称
  1574. type: string
  1575. applystatus:
  1576. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1577. type: integer
  1578. applytime:
  1579. description: 申请时间
  1580. type: string
  1581. attachurl:
  1582. description: 附件
  1583. type: string
  1584. auditid:
  1585. description: 审核人ID
  1586. type: string
  1587. auditname:
  1588. description: 审核人名称
  1589. type: string
  1590. auditremark:
  1591. description: 审核备注
  1592. type: string
  1593. audittime:
  1594. description: 审核时间
  1595. type: string
  1596. buyusername:
  1597. description: 采购方名称
  1598. type: string
  1599. contractno:
  1600. description: 合同编号
  1601. type: string
  1602. contractstatus:
  1603. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1604. type: integer
  1605. contracttype:
  1606. description: 现货合同类型 - 1:采购 -1:销售
  1607. type: integer
  1608. decmargin:
  1609. description: 减少保证金(非必填)
  1610. type: number
  1611. deliverygoodscode:
  1612. description: 现货品种代码
  1613. type: string
  1614. deliverygoodsid:
  1615. description: 现货商品ID
  1616. type: integer
  1617. deliverygoodsname:
  1618. description: 现货品种名称
  1619. type: string
  1620. enumdicname:
  1621. description: 单位名称
  1622. type: string
  1623. goodscode:
  1624. description: 点价合约
  1625. type: string
  1626. goodsname:
  1627. description: 商品名称
  1628. type: string
  1629. operateapplyid:
  1630. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1631. type: string
  1632. operateapplytype:
  1633. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1634. type: integer
  1635. pricemove:
  1636. description: 升贴水
  1637. type: number
  1638. pricetype:
  1639. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1640. type: integer
  1641. reckonadjustamount:
  1642. description: 结算调整金额(非必填)
  1643. type: number
  1644. reckonosamount:
  1645. description: 结算溢短金额(非必填)
  1646. type: number
  1647. reckonotheramount:
  1648. description: 结算其他费用(非必填)
  1649. type: number
  1650. reckonrealqty:
  1651. description: 结算实际数量(非必填)
  1652. type: number
  1653. relatedid:
  1654. description: 现货合同ID
  1655. type: string
  1656. sellusername:
  1657. description: 销售方名字
  1658. type: string
  1659. userid:
  1660. description: 用户ID
  1661. type: integer
  1662. wrstandardcode:
  1663. description: 品类代码
  1664. type: string
  1665. wrstandardid:
  1666. description: 品类id
  1667. type: integer
  1668. wrstandardname:
  1669. description: 品类名称
  1670. type: string
  1671. type: object
  1672. ermcp.QryBussinessKxRsp:
  1673. properties:
  1674. applyid:
  1675. description: 申请人
  1676. type: string
  1677. applyname:
  1678. description: 申请人名称
  1679. type: string
  1680. applystatus:
  1681. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1682. type: integer
  1683. applytime:
  1684. description: 申请时间
  1685. type: string
  1686. attachurl:
  1687. description: 附件
  1688. type: string
  1689. auditid:
  1690. description: 审核人ID
  1691. type: string
  1692. auditname:
  1693. description: 审核人名称
  1694. type: string
  1695. auditremark:
  1696. description: 审核备注
  1697. type: string
  1698. audittime:
  1699. description: 审核时间
  1700. type: string
  1701. buyusername:
  1702. description: 采购方名称
  1703. type: string
  1704. contractno:
  1705. description: 合同编号
  1706. type: string
  1707. contractstatus:
  1708. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1709. type: integer
  1710. contracttype:
  1711. description: 现货合同类型 - 1:采购 -1:销售
  1712. type: integer
  1713. deductamount:
  1714. description: 退款(非必填)
  1715. type: number
  1716. deliverygoodscode:
  1717. description: 现货品种代码
  1718. type: string
  1719. deliverygoodsid:
  1720. description: 现货商品ID
  1721. type: integer
  1722. deliverygoodsname:
  1723. description: 现货品种名称
  1724. type: string
  1725. enumdicname:
  1726. description: 单位名称
  1727. type: string
  1728. goodscode:
  1729. description: 点价合约
  1730. type: string
  1731. goodsname:
  1732. description: 商品名称
  1733. type: string
  1734. kxtype:
  1735. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1736. type: integer
  1737. operateapplyid:
  1738. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1739. type: string
  1740. operateapplytype:
  1741. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1742. type: integer
  1743. payamount:
  1744. description: 收付款(非必填)
  1745. type: number
  1746. pricemove:
  1747. description: 升贴水
  1748. type: number
  1749. pricetype:
  1750. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1751. type: integer
  1752. relatedid:
  1753. description: 现货合同ID
  1754. type: string
  1755. sellusername:
  1756. description: 销售方名字
  1757. type: string
  1758. userid:
  1759. description: 用户ID
  1760. type: integer
  1761. wrstandardcode:
  1762. description: 品类代码
  1763. type: string
  1764. wrstandardid:
  1765. description: 品类id
  1766. type: integer
  1767. wrstandardname:
  1768. description: 品类名称
  1769. type: string
  1770. type: object
  1771. ermcp.QryGGCovertCfgRsp:
  1772. properties:
  1773. convertratio:
  1774. description: 折算系数
  1775. type: number
  1776. destgoodsgroupid:
  1777. description: 目标品种ID
  1778. type: integer
  1779. dstcode:
  1780. description: 目录品种代码
  1781. type: string
  1782. dstexchangecode:
  1783. description: 目标期货交易所
  1784. type: string
  1785. dstname:
  1786. description: 目标品种名称
  1787. type: string
  1788. dstunitid:
  1789. description: 目标品种单位ID
  1790. type: integer
  1791. dstunitidname:
  1792. description: 目标品种单位名称
  1793. type: string
  1794. modifytime:
  1795. description: 修改时间
  1796. type: string
  1797. srccode:
  1798. description: 源品种代码
  1799. type: string
  1800. srcexchangecode:
  1801. description: 源期货交易所
  1802. type: string
  1803. srcgoodsgroupid:
  1804. description: 源品种ID
  1805. type: integer
  1806. srcname:
  1807. description: 源品种名称
  1808. type: string
  1809. srcunitid:
  1810. description: 源品种单位ID
  1811. type: integer
  1812. srcunitidname:
  1813. description: 源品种单位名称
  1814. type: string
  1815. type: object
  1816. ermcp.QryMGChangeLogRsp:
  1817. properties:
  1818. aftervalue:
  1819. description: 变更后
  1820. type: number
  1821. applyid:
  1822. description: 操作人
  1823. type: integer
  1824. applyname:
  1825. description: 操作人名称
  1826. type: string
  1827. applysrc:
  1828. description: 操作来源 - 1:管理端 2:终端
  1829. type: integer
  1830. beforevalue:
  1831. description: 变更前
  1832. type: number
  1833. changelogtype:
  1834. description: 变更流水类型 - 1:套保比率变更
  1835. type: integer
  1836. handlestatus:
  1837. description: 处理状态
  1838. type: integer
  1839. logdatetime:
  1840. description: 流水日期
  1841. type: string
  1842. logid:
  1843. description: 流水ID
  1844. type: integer
  1845. logremark:
  1846. description: 流水备注
  1847. type: string
  1848. middlegoodsid:
  1849. description: 套保品种ID
  1850. type: integer
  1851. tradedate:
  1852. description: 交易日(yyyyMMdd)
  1853. type: string
  1854. updatetime:
  1855. description: 更新时间
  1856. type: string
  1857. type: object
  1858. ermcp.QryMiddleGoodsDetailRsp:
  1859. properties:
  1860. cvList:
  1861. description: 期货品种折算列表
  1862. items:
  1863. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1864. type: array
  1865. mg:
  1866. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1867. description: 套保品种基本信息
  1868. wrcList:
  1869. description: 现货品种列表(现货商品折算配置)
  1870. items:
  1871. $ref: '#/definitions/models.WRSConverTDetail'
  1872. type: array
  1873. type: object
  1874. ermcp.QryMiddleGoodsRsp:
  1875. properties:
  1876. areauserid:
  1877. description: 机构用户ID
  1878. type: integer
  1879. createtime:
  1880. description: 修改时间
  1881. type: string
  1882. enumdicname:
  1883. description: 单位名称
  1884. type: string
  1885. evaluateratio:
  1886. description: 估价系数
  1887. type: number
  1888. goodsgroupid:
  1889. description: 关联期货品种ID
  1890. type: integer
  1891. goodsunitid:
  1892. description: 单位ID
  1893. type: integer
  1894. isvalid:
  1895. description: 状态 0-无效(停用) 1-有效(正常)
  1896. type: integer
  1897. middlegoodscode:
  1898. description: 套保品种代码
  1899. type: string
  1900. middlegoodsid:
  1901. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  1902. type: integer
  1903. middlegoodsname:
  1904. description: 套保品种名称
  1905. type: string
  1906. modifytime:
  1907. description: 修改时间
  1908. type: string
  1909. needarbitrageratio:
  1910. description: 套利比例
  1911. type: number
  1912. needhedgeratio:
  1913. description: 套保比率
  1914. type: number
  1915. qtydecimalplace:
  1916. description: 数量小数位
  1917. type: integer
  1918. relatedgoodsid:
  1919. description: 关联交易商品ID
  1920. type: integer
  1921. relatedgoodstype:
  1922. description: 关联商品类型 - 1:期货合约 2:现货品种
  1923. type: integer
  1924. remark:
  1925. description: 备注
  1926. type: string
  1927. type: object
  1928. ermcp.QryOPLogRsp:
  1929. properties:
  1930. aftervalue:
  1931. description: 变更后
  1932. type: number
  1933. applyid:
  1934. description: 操作人ID
  1935. type: string
  1936. applyname:
  1937. description: 操作人名称
  1938. type: string
  1939. beforevalue:
  1940. description: 变更前
  1941. type: number
  1942. biztype:
  1943. description: 业务类型 - 1:套保计划 2:现货合同
  1944. type: integer
  1945. contracttype:
  1946. description: 现货合同类型 - 1:采购 -1:销售
  1947. type: integer
  1948. logvalue:
  1949. description: 数值
  1950. type: number
  1951. operatelogtype:
  1952. description: 操作流水类型
  1953. type: integer
  1954. operatelogtypedesc:
  1955. description: 操作流水类型名称
  1956. type: string
  1957. relatedid:
  1958. description: 现货合同ID\套保计划
  1959. type: string
  1960. updatetime:
  1961. description: 更新时间
  1962. type: string
  1963. type: object
  1964. ermcp.QryUserInfoRsp:
  1965. properties:
  1966. address:
  1967. description: 通讯地址
  1968. type: string
  1969. attachment1:
  1970. description: 附件1
  1971. type: string
  1972. audittime:
  1973. description: 审核时间
  1974. type: string
  1975. cardbackphotourl:
  1976. description: 证件反面图片地址
  1977. type: string
  1978. cardfrontphotourl:
  1979. description: 证件正面图片地址
  1980. type: string
  1981. cardnum:
  1982. description: 证件号码
  1983. type: string
  1984. cardtype:
  1985. description: 证件类型
  1986. type: integer
  1987. cardtypename:
  1988. description: 证件类型名称
  1989. type: string
  1990. cityid:
  1991. description: 市
  1992. type: integer
  1993. contactname:
  1994. description: 联系人
  1995. type: string
  1996. countryid:
  1997. description: 国家
  1998. type: integer
  1999. createtime:
  2000. description: 创建时间
  2001. type: string
  2002. customername:
  2003. description: 企业名称
  2004. type: string
  2005. districtid:
  2006. description: 区域
  2007. type: integer
  2008. email:
  2009. description: 邮件
  2010. type: string
  2011. legalpersonname:
  2012. description: 法人姓名(企业)
  2013. type: string
  2014. memberuserid:
  2015. description: 所属机构ID
  2016. type: integer
  2017. mobile:
  2018. description: 手机号码
  2019. type: string
  2020. modifytime:
  2021. description: 修改时间
  2022. type: string
  2023. nickname:
  2024. description: 昵称
  2025. type: string
  2026. provinceid:
  2027. description: 省
  2028. type: integer
  2029. remark:
  2030. description: 备注
  2031. type: string
  2032. status:
  2033. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  2034. type: integer
  2035. statusdesc:
  2036. description: 账户状态中文描述
  2037. type: string
  2038. taxpayernum:
  2039. description: 纳税人识别号
  2040. type: string
  2041. telphone:
  2042. description: 联系电话
  2043. type: string
  2044. userid:
  2045. description: 用户ID
  2046. type: integer
  2047. userinfotype:
  2048. description: 客户类型
  2049. type: string
  2050. type: object
  2051. ermcp.QryWarehouseRsp:
  2052. properties:
  2053. address:
  2054. description: 详细地址
  2055. type: string
  2056. areauserid:
  2057. description: 所属机构
  2058. type: integer
  2059. autoid:
  2060. description: 自增ID(仓库ID)
  2061. type: integer
  2062. cityid:
  2063. description: 市
  2064. type: integer
  2065. contactname:
  2066. description: 联系人
  2067. type: string
  2068. contactnum:
  2069. description: 联系电话
  2070. type: string
  2071. countryid:
  2072. description: 国家
  2073. type: integer
  2074. createtime:
  2075. description: 创建时间
  2076. type: string
  2077. districtid:
  2078. description: 区
  2079. type: integer
  2080. hasvideo:
  2081. description: 是否有视频 - 0:无 1:有
  2082. type: integer
  2083. provinceid:
  2084. description: 省
  2085. type: integer
  2086. remark:
  2087. description: 审核备注
  2088. type: string
  2089. videourl:
  2090. description: 视频地址
  2091. type: string
  2092. warehousecode:
  2093. description: 仓库代码
  2094. type: string
  2095. warehousename:
  2096. description: 仓库名称
  2097. type: string
  2098. warehousestatus:
  2099. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  2100. type: integer
  2101. warehousetype:
  2102. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  2103. type: integer
  2104. type: object
  2105. ermcp.QueryErmcpTradePositionRsp:
  2106. properties:
  2107. agreeunit:
  2108. description: 合约单位
  2109. type: number
  2110. buyorsell:
  2111. description: 方向 - 0:买 1:卖
  2112. type: integer
  2113. curpositionqty:
  2114. description: 持仓(总仓数量, 期末头寸)
  2115. type: integer
  2116. curtdposition:
  2117. description: 今仓数量(期末今日头寸)
  2118. type: integer
  2119. curtdpositionenabled:
  2120. description: 今仓可用
  2121. type: integer
  2122. decimalplace:
  2123. description: 报价小数位
  2124. type: integer
  2125. enableqty:
  2126. description: 可用(总仓可用)
  2127. type: integer
  2128. exexchangename:
  2129. description: 外部交易所名称
  2130. type: string
  2131. exexehangecode:
  2132. description: 外部交易所代码
  2133. type: string
  2134. exexehangeid:
  2135. description: 外部交易所id
  2136. type: integer
  2137. goodscode:
  2138. description: 商品代码(内部)
  2139. type: string
  2140. goodsid:
  2141. description: 商品ID(自增ID SEQ_GOODS)
  2142. type: integer
  2143. goodsname:
  2144. description: 商品名称
  2145. type: string
  2146. last:
  2147. description: 现价
  2148. type: number
  2149. marketid:
  2150. description: 所属市场ID
  2151. type: integer
  2152. openaverageprice:
  2153. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  2154. type: number
  2155. opencost:
  2156. description: 开仓成本
  2157. type: number
  2158. openpl:
  2159. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  2160. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2161. type: number
  2162. outgoodscode:
  2163. description: 商品代码(外部)
  2164. type: string
  2165. positionaverageprice:
  2166. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  2167. type: number
  2168. positioncost:
  2169. description: 持仓成本
  2170. type: number
  2171. positionpl:
  2172. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  2173. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2174. type: number
  2175. positionplrate:
  2176. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  2177. type: number
  2178. usedmargin:
  2179. description: 占用保证金
  2180. type: number
  2181. type: object
  2182. ermcp.RealtimeExposurePositionRsp:
  2183. properties:
  2184. accountid:
  2185. description: 资金账号(只有外部账号才有值, 内部账号是根据userid汇总的)
  2186. type: integer
  2187. agreeunit:
  2188. description: 合约单位
  2189. type: string
  2190. areauserid:
  2191. description: 所属机构id
  2192. type: integer
  2193. convertratio:
  2194. description: 期货品种系数(折算系数)
  2195. type: number
  2196. curqty:
  2197. description: 当前持仓
  2198. type: integer
  2199. diffhedgeqty:
  2200. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  2201. type: number
  2202. diffqty:
  2203. description: 持仓变动量=当前持仓-昨日持仓
  2204. type: integer
  2205. goodscode:
  2206. description: 商品代码
  2207. type: string
  2208. goodsid:
  2209. description: 商品id
  2210. type: integer
  2211. goodsname:
  2212. description: 商品名称
  2213. type: string
  2214. hedgeaccountcode:
  2215. description: 对冲账号(只有外部账号才有值)
  2216. type: string
  2217. middlegoodsid:
  2218. description: 套保商品id
  2219. type: integer
  2220. ydqty:
  2221. description: 昨日持仓
  2222. type: integer
  2223. type: object
  2224. ermcp.RealtimeExposureRsp:
  2225. properties:
  2226. AreaUserID:
  2227. description: 所属机构
  2228. type: integer
  2229. BuyFutureQty:
  2230. description: 买入期货数量
  2231. type: number
  2232. BuyPlanQty:
  2233. description: 采购计划数量
  2234. type: number
  2235. BuyPricedQty:
  2236. description: 采购合同已定价数量
  2237. type: number
  2238. MiddleGoodsCode:
  2239. description: 套保品种代码
  2240. type: string
  2241. MiddleGoodsHedgeRatio:
  2242. description: 套保比例
  2243. type: number
  2244. MiddleGoodsID:
  2245. description: 套保品种
  2246. type: integer
  2247. MiddleGoodsName:
  2248. description: 套保品种名称
  2249. type: string
  2250. NeedHedgeExposoure:
  2251. description: 应套保敞口(套保敞口)
  2252. type: number
  2253. NeedHedgeRatio:
  2254. description: 应套保敞口比例
  2255. type: number
  2256. OriBuyFutureQty:
  2257. description: 期初买入期货数量
  2258. type: number
  2259. OriBuyPlanQty:
  2260. description: 期初采购计划数量
  2261. type: number
  2262. OriBuyPricedQty:
  2263. description: 期初采购合同已定价数量
  2264. type: number
  2265. OriSellFutureQty:
  2266. description: 期初卖出期货数量
  2267. type: number
  2268. OriSellPlanQty:
  2269. description: 期初销售计划数量
  2270. type: number
  2271. OriSellPricedQty:
  2272. description: 期初销售合同已定价数量
  2273. type: number
  2274. OriTotalSpotQty:
  2275. description: 期初现货总量
  2276. type: number
  2277. SellFutureQty:
  2278. description: 卖出期货数量
  2279. type: number
  2280. SellPlanQty:
  2281. description: 销售计划数量
  2282. type: number
  2283. SellPricedQty:
  2284. description: 销售合同已定价数量
  2285. type: number
  2286. TotalExposure:
  2287. description: 总敞口 平安:净敞口
  2288. type: number
  2289. TotalFutureQty:
  2290. description: 期货总量 平安:保值净持仓量
  2291. type: number
  2292. TotalHedgeRatio:
  2293. description: 敞口比例
  2294. type: number
  2295. TotalNeedHedgeQty:
  2296. description: 应套保总量(现货应套保总量)
  2297. type: number
  2298. TotalSpotQty:
  2299. description: 现货总量 平安:采销定价净值
  2300. type: number
  2301. arbitrageqty:
  2302. description: 套利量
  2303. type: number
  2304. diffArbitrageQty:
  2305. description: 套利变动量
  2306. type: number
  2307. diffExposoureQty:
  2308. description: 变动量(套保敞口)
  2309. type: number
  2310. diffFutuQty:
  2311. description: 变动量(期货总量) 平安:保值净持仓量今日变动
  2312. type: number
  2313. diffHedgeQty:
  2314. description: 套保变动量
  2315. type: number
  2316. diffQty:
  2317. description: 变动量(总敞口) 平安:净敞口今日变动
  2318. type: number
  2319. diffSpotHedgeQty:
  2320. description: 变动量(现货应套保总量) 平安:应套保量今日变动
  2321. type: number
  2322. diffSpotQty:
  2323. description: 变动量(现货总量) = 现货数量 - 期初现货数量 平安:采销定价净值今日变动
  2324. type: number
  2325. enumdicname:
  2326. description: 单位名称
  2327. type: string
  2328. hedgeqty:
  2329. description: 套保量
  2330. type: number
  2331. needarbitrageqty:
  2332. description: 应套利量
  2333. type: number
  2334. needarbitrageratio:
  2335. description: 套利比例
  2336. type: number
  2337. needhedgeqty:
  2338. description: 应套保量
  2339. type: number
  2340. oriarbitrageqty:
  2341. description: 期初套利量
  2342. type: number
  2343. orihedgeqty:
  2344. description: 期初套保量
  2345. type: number
  2346. orineedhedgeexposoure:
  2347. description: 期初套保敞口
  2348. type: number
  2349. oritotalexposure:
  2350. description: 期初总敞口
  2351. type: number
  2352. oritotalfutureqty:
  2353. description: 期初期货总量
  2354. type: number
  2355. oritotalneedhedgeqty:
  2356. description: 期初现货应套保量
  2357. type: number
  2358. type: object
  2359. erms2.QueryArbitrageStrategyRsp:
  2360. properties:
  2361. applybasis:
  2362. description: 申请基差
  2363. type: number
  2364. asapplyid:
  2365. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  2366. type: string
  2367. asname:
  2368. description: 策略名称
  2369. type: string
  2370. asno:
  2371. description: 策略编号
  2372. type: string
  2373. basischangepl:
  2374. description: 基差变动损益[结算更新]
  2375. type: number
  2376. biztype:
  2377. description: 业务类型 - 1:正向套利 -1:反向套利
  2378. type: integer
  2379. closetradedate:
  2380. description: 完结交易日(yyyyMMdd)
  2381. type: string
  2382. curbasis:
  2383. description: 当前基差[结算更新]
  2384. type: number
  2385. deliverygoodsid:
  2386. description: 现货品种ID
  2387. type: integer
  2388. futureavgprice:
  2389. description: 期货建仓均价
  2390. type: number
  2391. futurecloseamount:
  2392. description: 期货平仓金额
  2393. type: number
  2394. futurecloseqty:
  2395. description: 期货平仓数量
  2396. type: number
  2397. futureopenamount:
  2398. description: 期货开仓金额
  2399. type: number
  2400. futureopenqty:
  2401. description: 期货开仓数量
  2402. type: number
  2403. futurepl:
  2404. description: 期货总盈亏[结算更新]
  2405. type: number
  2406. futureqty:
  2407. description: 期货持仓数量
  2408. type: number
  2409. futurequote:
  2410. description: 期货额度
  2411. type: number
  2412. goodsgroupid:
  2413. description: 期货品种ID
  2414. type: integer
  2415. marketid:
  2416. description: 市场ID
  2417. type: integer
  2418. netexposure:
  2419. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  2420. type: number
  2421. netexposurepl:
  2422. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  2423. type: number
  2424. netexposurerate:
  2425. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  2426. type: number
  2427. openbasis:
  2428. description: 建仓基差
  2429. type: number
  2430. pricedspotqty:
  2431. description: 已定价现货数量
  2432. type: number
  2433. pricedspotqtynotax:
  2434. description: 已定价现货不含税数量
  2435. type: number
  2436. remark:
  2437. description: 备注
  2438. type: string
  2439. spotavgprice:
  2440. description: 现货均价
  2441. type: number
  2442. spotbuyamount:
  2443. description: 现货采购金额
  2444. type: number
  2445. spotbuyqty:
  2446. description: 现货采购数量
  2447. type: number
  2448. spotpl:
  2449. description: 现货总盈亏[结算更新]
  2450. type: number
  2451. spotquota:
  2452. description: 现货额度
  2453. type: number
  2454. spotsellamount:
  2455. description: 现货销售金额
  2456. type: number
  2457. spotsellqty:
  2458. description: 现货销售数量
  2459. type: number
  2460. spotusedquota:
  2461. description: 现货占用资金
  2462. type: number
  2463. strategystatus:
  2464. description: 策略状态 - 0:未结束 1:已结束
  2465. type: integer
  2466. totalpl:
  2467. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  2468. type: number
  2469. tradedate:
  2470. description: 交易日(yyyyMMdd)
  2471. type: string
  2472. updatetime:
  2473. description: 更新时间
  2474. type: string
  2475. usedquota:
  2476. description: 已占用资金
  2477. type: number
  2478. userid:
  2479. description: 所属机构
  2480. type: integer
  2481. required:
  2482. - asapplyid
  2483. type: object
  2484. erms2.QueryInnerTradeDetailRsp:
  2485. properties:
  2486. accountid:
  2487. description: 账号ID
  2488. type: integer
  2489. agreeunit:
  2490. description: 合约单位
  2491. type: number
  2492. asapplyid:
  2493. description: 策略申请ID
  2494. type: integer
  2495. asname:
  2496. description: 策略名称
  2497. type: string
  2498. asno:
  2499. description: 策略编号
  2500. type: string
  2501. buyorsell:
  2502. description: 方向 - 0:买 1:卖
  2503. type: integer
  2504. channelbuildtype:
  2505. description: 委托单据类型 0:无 1:建仓 2:平仓
  2506. type: integer
  2507. closetype:
  2508. description: 平仓方式 - 0:无 1:平今 2:平昨
  2509. type: integer
  2510. decimalplace:
  2511. description: 报价小数位
  2512. type: integer
  2513. detailtype:
  2514. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  2515. type: integer
  2516. exexchangecode:
  2517. description: 外部交易所代码
  2518. type: string
  2519. exexchangename:
  2520. description: 外部交易所名称
  2521. type: string
  2522. goodscode:
  2523. description: 商品代码(合约)
  2524. type: string
  2525. goodsgroupid:
  2526. description: 商品组ID(品种ID)
  2527. type: integer
  2528. goodsgroupname:
  2529. description: 商品组名称(品种)
  2530. type: string
  2531. goodsid:
  2532. description: 商品ID
  2533. type: integer
  2534. goodsname:
  2535. description: 商品名称(合约)
  2536. type: string
  2537. goodunit:
  2538. description: 报价单位
  2539. type: string
  2540. marketid:
  2541. description: 市场ID
  2542. type: integer
  2543. orderid:
  2544. description: 委托单号
  2545. type: string
  2546. outgoodscode:
  2547. description: 商品代码(外部)
  2548. type: string
  2549. relatedouttradeid:
  2550. description: 关联外部成交单ID
  2551. type: string
  2552. remark:
  2553. description: 备注
  2554. type: string
  2555. spotcontractid:
  2556. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  2557. type: integer
  2558. spotcontractno:
  2559. description: 现货合同编号
  2560. type: string
  2561. tradeid:
  2562. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2563. type: string
  2564. tradeprice:
  2565. description: 成交价格
  2566. type: number
  2567. tradeqty:
  2568. description: 成交数量
  2569. type: integer
  2570. tradetime:
  2571. description: 成交时间
  2572. type: string
  2573. updatetime:
  2574. description: 更新时间
  2575. type: string
  2576. required:
  2577. - asapplyid
  2578. - buyorsell
  2579. - goodscode
  2580. - goodsgroupid
  2581. - goodsgroupname
  2582. - goodsname
  2583. - tradeid
  2584. type: object
  2585. erms2.QuerySpotContractRsp:
  2586. properties:
  2587. accountid:
  2588. description: 资金账户ID
  2589. type: integer
  2590. areauserid:
  2591. description: 所属机构
  2592. type: integer
  2593. closedate:
  2594. description: 终止日期
  2595. type: string
  2596. closeremark:
  2597. description: 结束备注
  2598. type: string
  2599. closetradedate:
  2600. description: 完结交易日(yyyyMMdd)
  2601. type: string
  2602. closetype:
  2603. description: 终止类型 - 1:违约 2:提前终止
  2604. type: integer
  2605. contractamount:
  2606. description: 合同金额
  2607. type: number
  2608. contractattachment:
  2609. description: 合同附件
  2610. type: string
  2611. contractno:
  2612. description: 现货合同编号
  2613. type: string
  2614. contractqty:
  2615. description: 合同数量(数值) (用于计算)
  2616. type: number
  2617. contractqtychar:
  2618. description: 合同数量\已订价数量 (用于显示)
  2619. type: string
  2620. contractstatus:
  2621. description: 合同状态 - 0:未结束 1:已结束
  2622. type: integer
  2623. contracttype:
  2624. description: 现货合同类型 - 1:采购合同 -1:销售合同
  2625. type: integer
  2626. customeraccountid:
  2627. description: 客户资金账户ID
  2628. type: integer
  2629. customeruserid:
  2630. description: 客户ID
  2631. type: integer
  2632. deliverygoodsdesc:
  2633. description: 品种说明
  2634. type: string
  2635. deliverygoodsid:
  2636. description: 现货品种ID
  2637. type: integer
  2638. handlestatus:
  2639. description: 处理状态
  2640. type: integer
  2641. invoiceatt:
  2642. description: 发票附件
  2643. type: string
  2644. invoicedatetime:
  2645. description: 开收票更新时间
  2646. type: string
  2647. invoiceopentime:
  2648. description: 开票时间
  2649. type: string
  2650. invoiceremark:
  2651. description: 发票备注
  2652. type: string
  2653. invoicestatus:
  2654. description: 开收票状态 - 0:未开票 1:已开票
  2655. type: integer
  2656. lastdate:
  2657. description: 交货时间
  2658. type: string
  2659. marketid:
  2660. description: 市场ID
  2661. type: integer
  2662. paydatetime:
  2663. description: 收付款更新时间
  2664. type: string
  2665. payremark:
  2666. description: 收付款备注
  2667. type: string
  2668. paystatus:
  2669. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  2670. type: integer
  2671. positionqty:
  2672. description: 头寸数量 - 合同数量去小数部分
  2673. type: integer
  2674. producttype:
  2675. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2676. type: integer
  2677. relatedqty:
  2678. description: 已关联数量
  2679. type: number
  2680. relatedstatus:
  2681. description: 关联完结状态 - 0:未结束 1:已结束
  2682. type: integer
  2683. remark:
  2684. description: 备注
  2685. type: string
  2686. signdate:
  2687. description: 签订日期
  2688. type: string
  2689. spotcontractid:
  2690. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  2691. type: string
  2692. spotdatetime:
  2693. description: 收发货更新时间
  2694. type: string
  2695. spotprice:
  2696. description: 价格
  2697. type: number
  2698. spotremark:
  2699. description: 收发货备注
  2700. type: string
  2701. spotstatus:
  2702. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  2703. type: integer
  2704. tradedate:
  2705. description: 交易日(yyyyMMdd)
  2706. type: string
  2707. userid:
  2708. description: 业务员用户ID
  2709. type: integer
  2710. warehouseid:
  2711. description: 仓库ID
  2712. type: integer
  2713. wrfactortypeid:
  2714. description: 仓单要素类型ID
  2715. type: integer
  2716. wrstandardid:
  2717. description: 仓单标准ID(SEQ_WRSTANDARD)
  2718. type: integer
  2719. required:
  2720. - spotcontractid
  2721. type: object
  2722. erms3.AddErms2ASApplyReq:
  2723. properties:
  2724. applybasis:
  2725. description: 申请基差
  2726. type: number
  2727. applystatus:
  2728. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2729. type: integer
  2730. asapplyid:
  2731. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  2732. type: integer
  2733. asname:
  2734. description: 策略名称
  2735. type: string
  2736. asno:
  2737. description: 策略编号
  2738. type: string
  2739. auditid:
  2740. description: 审核人
  2741. type: integer
  2742. auditremark:
  2743. description: 审核备注
  2744. type: string
  2745. audittime:
  2746. description: 审核时间
  2747. type: string
  2748. biztype:
  2749. description: 业务类型 - 1:正向套利 2:反向套利
  2750. type: integer
  2751. createtime:
  2752. description: 创建时间
  2753. type: string
  2754. creatorid:
  2755. description: 创建人
  2756. type: integer
  2757. deliverygoodsid:
  2758. description: 现货品种ID
  2759. type: integer
  2760. futurequote:
  2761. description: 期货额度
  2762. type: number
  2763. goodsgroupid:
  2764. description: 期货品种ID
  2765. type: integer
  2766. marketid:
  2767. description: 市场ID
  2768. type: integer
  2769. remark:
  2770. description: 备注
  2771. type: string
  2772. spotquota:
  2773. description: 现货额度
  2774. type: number
  2775. tradedate:
  2776. description: 交易日(yyyyMMdd)
  2777. type: string
  2778. userid:
  2779. description: 所属机构
  2780. type: integer
  2781. required:
  2782. - asapplyid
  2783. type: object
  2784. erms3.AddErms2SpotTradeApplyReq:
  2785. properties:
  2786. applyjsondetail:
  2787. description: 申请明细(JSON)
  2788. type: string
  2789. applystatus:
  2790. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2791. type: integer
  2792. areauserid:
  2793. description: 所属机构
  2794. type: integer
  2795. auditid:
  2796. description: 审核人
  2797. type: integer
  2798. auditremark:
  2799. description: 审核备注
  2800. type: string
  2801. audittime:
  2802. description: 审核时间
  2803. type: string
  2804. createtime:
  2805. description: 创建时间
  2806. type: string
  2807. creatorid:
  2808. description: 创建人
  2809. type: integer
  2810. deliverygoodsid:
  2811. description: 现货品种ID
  2812. type: integer
  2813. futureaccountid:
  2814. description: 期货资金账户
  2815. type: integer
  2816. goodsgroupid:
  2817. description: 期货品种
  2818. type: integer
  2819. marketid:
  2820. description: 市场ID
  2821. type: integer
  2822. remark:
  2823. description: 备注
  2824. type: string
  2825. spotaccountid:
  2826. description: 现货资金账户
  2827. type: integer
  2828. spottradeid:
  2829. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  2830. type: integer
  2831. spottradename:
  2832. description: 业务名称
  2833. type: string
  2834. spottradeno:
  2835. description: 业务编号
  2836. type: string
  2837. tradedate:
  2838. description: 交易日(yyyyMMdd)
  2839. type: string
  2840. wrstandardid:
  2841. description: 仓单标准ID
  2842. type: integer
  2843. required:
  2844. - spottradeid
  2845. type: object
  2846. erms3.AddSpotContractApplyReq:
  2847. properties:
  2848. accountid:
  2849. description: 资金账户ID
  2850. type: integer
  2851. areauserid:
  2852. description: 所属机构
  2853. type: integer
  2854. contractattachment:
  2855. description: 合同附件
  2856. type: string
  2857. contractno:
  2858. description: 现货合同编号
  2859. type: string
  2860. contracttype:
  2861. description: 现货合同类型 - 1:采购 -1:销售
  2862. type: integer
  2863. creatorid:
  2864. description: 申请人
  2865. type: integer
  2866. customeraccountid:
  2867. description: 客户资金账户ID
  2868. type: integer
  2869. customeruserid:
  2870. description: 客户ID
  2871. type: integer
  2872. details:
  2873. description: 明细
  2874. items:
  2875. $ref: '#/definitions/erms3.SoptContractDetail'
  2876. type: array
  2877. orimargin:
  2878. description: 初始保证金
  2879. type: number
  2880. remark:
  2881. description: 备注
  2882. type: string
  2883. signdate:
  2884. description: 签订日期
  2885. type: string
  2886. required:
  2887. - accountid
  2888. - areauserid
  2889. - contractno
  2890. - contracttype
  2891. - customeraccountid
  2892. - customeruserid
  2893. - details
  2894. - orimargin
  2895. - signdate
  2896. type: object
  2897. erms3.AddSpotContractApplyRsp:
  2898. properties:
  2899. contractno:
  2900. description: 现货合同编号
  2901. type: string
  2902. spotcontractid:
  2903. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2904. type: integer
  2905. required:
  2906. - contractno
  2907. type: object
  2908. erms3.AddUserInfoApplyReq:
  2909. properties:
  2910. accountid:
  2911. description: 交易系统帐号Id (加密存储)
  2912. type: integer
  2913. areacode:
  2914. description: 机构代码
  2915. type: string
  2916. areaid:
  2917. description: 机构Id
  2918. type: integer
  2919. attachment1:
  2920. description: 附件1
  2921. type: string
  2922. attachment2:
  2923. description: 附件2
  2924. type: string
  2925. attachment3:
  2926. description: 附件3
  2927. type: string
  2928. attachment4:
  2929. description: 附件4
  2930. type: string
  2931. attachment5:
  2932. description: 附件5
  2933. type: string
  2934. auditedby:
  2935. description: 审核人
  2936. type: string
  2937. auditime:
  2938. description: 审核时间
  2939. type: string
  2940. auditsrc:
  2941. description: 审核来源 - 1:管理端 2:终端
  2942. type: integer
  2943. bankaccount:
  2944. description: 银行帐号 (加密存储)
  2945. type: string
  2946. bankaccountname:
  2947. description: 收款人名称
  2948. type: string
  2949. bankcardbackphotourl:
  2950. description: 银行卡背面照地址
  2951. type: string
  2952. bankcardfrontphotourl:
  2953. description: 银行卡正面照地址
  2954. type: string
  2955. bankid:
  2956. description: 银行编码
  2957. type: string
  2958. bankname:
  2959. description: 银行名称
  2960. type: string
  2961. bankpictureurl:
  2962. description: 银行卡正面地址
  2963. type: string
  2964. biznature:
  2965. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2966. type: integer
  2967. bizscope:
  2968. description: 企业经营范围(企业)
  2969. type: string
  2970. biztype:
  2971. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2972. type: integer
  2973. brokerid:
  2974. description: 经纪人ID(加密存储)
  2975. type: string
  2976. cardaddress:
  2977. description: 证件地址 (加密存储)
  2978. type: string
  2979. cardbackphotourl:
  2980. description: 背面证件照地址
  2981. type: string
  2982. cardfrontphotourl:
  2983. description: 正面证件照地址
  2984. type: string
  2985. cardnum:
  2986. description: 证件号码 (加密存储)
  2987. type: string
  2988. cardtype:
  2989. description: 证件类型
  2990. type: integer
  2991. cityid:
  2992. description: 市
  2993. type: integer
  2994. company:
  2995. description: 公司(个人)
  2996. type: string
  2997. contactcardbackphotourl:
  2998. description: 联系人证件背面图片地址
  2999. type: string
  3000. contactcardfrontphotourl:
  3001. description: 联系人证件正面图片地址
  3002. type: string
  3003. contactname:
  3004. description: 联系人
  3005. type: string
  3006. countryid:
  3007. description: 国家
  3008. type: integer
  3009. createtime:
  3010. description: 开户申请时间
  3011. type: string
  3012. cusbankid:
  3013. description: 签约类型
  3014. type: string
  3015. cusbankname:
  3016. description: 签约类型名称
  3017. type: string
  3018. customername:
  3019. description: 客户名称(企业名称)
  3020. type: string
  3021. districtid:
  3022. description: 地区
  3023. type: integer
  3024. email:
  3025. description: Email地址(加密存储)
  3026. type: string
  3027. halfbodyphotourl:
  3028. description: 半身照地址
  3029. type: string
  3030. headurl:
  3031. description: 头像地址
  3032. type: string
  3033. ipaddress:
  3034. description: IP地址
  3035. type: string
  3036. isvalidate:
  3037. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3038. type: string
  3039. legalcardbackphotourl:
  3040. description: 法人身份证背面照地址
  3041. type: string
  3042. legalcardfrontphotourl:
  3043. description: 法人身份证正面照地址
  3044. type: string
  3045. legalpersonname:
  3046. description: 法人姓名(企业)
  3047. type: string
  3048. logincode:
  3049. description: 登录帐号 (加密存储)
  3050. type: string
  3051. memberareaid:
  3052. description: 所属会员ID
  3053. type: integer
  3054. mobile2:
  3055. description: 手机号码[明文-尚志]
  3056. type: string
  3057. mobilephone:
  3058. description: 手机号码 (加密存储)
  3059. type: string
  3060. modifiedby:
  3061. description: 修改人帐号
  3062. type: integer
  3063. modifiedtime:
  3064. description: 修改时间
  3065. type: string
  3066. nickname:
  3067. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3068. type: string
  3069. openmode:
  3070. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3071. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3072. type: integer
  3073. otherurl:
  3074. description: 其它图片地址[使用分号分隔]
  3075. type: string
  3076. postalcode:
  3077. description: 邮政编码
  3078. type: string
  3079. provinceid:
  3080. description: 省
  3081. type: integer
  3082. proxystatementurl:
  3083. description: 授权委托书
  3084. type: string
  3085. qq:
  3086. description: QQ(加密存储
  3087. type: string
  3088. referral:
  3089. description: 推荐人编码
  3090. type: string
  3091. remark:
  3092. description: 备注
  3093. type: string
  3094. removebeforestatus:
  3095. description: REMOVEBEFORESTATUS
  3096. type: integer
  3097. sex:
  3098. description: 性别 - 0:女 1:男
  3099. type: integer
  3100. signedstatus:
  3101. description: 账户一号签签约状态
  3102. type: integer
  3103. signpdfurl:
  3104. description: 签约pdf文件
  3105. type: string
  3106. subbranch:
  3107. description: 开户支行
  3108. type: string
  3109. taxpayernum:
  3110. description: 纳税人识别号
  3111. type: string
  3112. telphone:
  3113. description: 联系电话(加密存储)
  3114. type: string
  3115. userid:
  3116. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3117. type: integer
  3118. userinfotype:
  3119. description: 用户信息类型 - 1:个人 2:企业
  3120. type: integer
  3121. username:
  3122. description: 用户姓名
  3123. type: string
  3124. userstate:
  3125. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3126. type: integer
  3127. usertype:
  3128. description: 用户类型 - 1:投资者 2:机构
  3129. type: integer
  3130. videourl:
  3131. description: 视频地址
  3132. type: string
  3133. wechat:
  3134. description: 微信号 (加密存储)
  3135. type: string
  3136. required:
  3137. - userid
  3138. type: object
  3139. erms3.CustomerInfo:
  3140. properties:
  3141. accountids:
  3142. description: 资金账户ID列表
  3143. items:
  3144. type: integer
  3145. type: array
  3146. customername:
  3147. description: 名称(企业名称)
  3148. type: string
  3149. mobile:
  3150. description: 手机号码
  3151. type: string
  3152. userid:
  3153. description: 用户ID
  3154. type: integer
  3155. required:
  3156. - userid
  3157. type: object
  3158. erms3.ModifyUserInfoApplyReq:
  3159. properties:
  3160. accountid:
  3161. description: 交易系统帐号Id (加密存储)
  3162. type: integer
  3163. areacode:
  3164. description: 机构代码
  3165. type: string
  3166. areaid:
  3167. description: 机构Id
  3168. type: integer
  3169. attachment1:
  3170. description: 附件1
  3171. type: string
  3172. attachment2:
  3173. description: 附件2
  3174. type: string
  3175. attachment3:
  3176. description: 附件3
  3177. type: string
  3178. attachment4:
  3179. description: 附件4
  3180. type: string
  3181. attachment5:
  3182. description: 附件5
  3183. type: string
  3184. auditedby:
  3185. description: 审核人
  3186. type: string
  3187. auditime:
  3188. description: 审核时间
  3189. type: string
  3190. auditsrc:
  3191. description: 审核来源 - 1:管理端 2:终端
  3192. type: integer
  3193. bankaccount:
  3194. description: 银行帐号 (加密存储)
  3195. type: string
  3196. bankaccountname:
  3197. description: 收款人名称
  3198. type: string
  3199. bankcardbackphotourl:
  3200. description: 银行卡背面照地址
  3201. type: string
  3202. bankcardfrontphotourl:
  3203. description: 银行卡正面照地址
  3204. type: string
  3205. bankid:
  3206. description: 银行编码
  3207. type: string
  3208. bankname:
  3209. description: 银行名称
  3210. type: string
  3211. bankpictureurl:
  3212. description: 银行卡正面地址
  3213. type: string
  3214. biznature:
  3215. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3216. type: integer
  3217. bizscope:
  3218. description: 企业经营范围(企业)
  3219. type: string
  3220. biztype:
  3221. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  3222. type: integer
  3223. brokerid:
  3224. description: 经纪人ID(加密存储)
  3225. type: string
  3226. cardaddress:
  3227. description: 证件地址 (加密存储)
  3228. type: string
  3229. cardbackphotourl:
  3230. description: 背面证件照地址
  3231. type: string
  3232. cardfrontphotourl:
  3233. description: 正面证件照地址
  3234. type: string
  3235. cardnum:
  3236. description: 证件号码 (加密存储)
  3237. type: string
  3238. cardtype:
  3239. description: 证件类型
  3240. type: integer
  3241. cityid:
  3242. description: 市
  3243. type: integer
  3244. company:
  3245. description: 公司(个人)
  3246. type: string
  3247. contactcardbackphotourl:
  3248. description: 联系人证件背面图片地址
  3249. type: string
  3250. contactcardfrontphotourl:
  3251. description: 联系人证件正面图片地址
  3252. type: string
  3253. contactname:
  3254. description: 联系人
  3255. type: string
  3256. countryid:
  3257. description: 国家
  3258. type: integer
  3259. createtime:
  3260. description: 开户申请时间
  3261. type: string
  3262. cusbankid:
  3263. description: 签约类型
  3264. type: string
  3265. cusbankname:
  3266. description: 签约类型名称
  3267. type: string
  3268. customername:
  3269. description: 客户名称(企业名称)
  3270. type: string
  3271. districtid:
  3272. description: 地区
  3273. type: integer
  3274. email:
  3275. description: Email地址(加密存储)
  3276. type: string
  3277. halfbodyphotourl:
  3278. description: 半身照地址
  3279. type: string
  3280. headurl:
  3281. description: 头像地址
  3282. type: string
  3283. ipaddress:
  3284. description: IP地址
  3285. type: string
  3286. isvalidate:
  3287. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3288. type: string
  3289. legalcardbackphotourl:
  3290. description: 法人身份证背面照地址
  3291. type: string
  3292. legalcardfrontphotourl:
  3293. description: 法人身份证正面照地址
  3294. type: string
  3295. legalpersonname:
  3296. description: 法人姓名(企业)
  3297. type: string
  3298. logincode:
  3299. description: 登录帐号 (加密存储)
  3300. type: string
  3301. memberareaid:
  3302. description: 所属会员ID
  3303. type: integer
  3304. mobile2:
  3305. description: 手机号码[明文-尚志]
  3306. type: string
  3307. mobilephone:
  3308. description: 手机号码 (加密存储)
  3309. type: string
  3310. modifiedby:
  3311. description: 修改人帐号
  3312. type: integer
  3313. modifiedtime:
  3314. description: 修改时间
  3315. type: string
  3316. nickname:
  3317. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3318. type: string
  3319. openmode:
  3320. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3321. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3322. type: integer
  3323. otherurl:
  3324. description: 其它图片地址[使用分号分隔]
  3325. type: string
  3326. postalcode:
  3327. description: 邮政编码
  3328. type: string
  3329. provinceid:
  3330. description: 省
  3331. type: integer
  3332. proxystatementurl:
  3333. description: 授权委托书
  3334. type: string
  3335. qq:
  3336. description: QQ(加密存储
  3337. type: string
  3338. referral:
  3339. description: 推荐人编码
  3340. type: string
  3341. remark:
  3342. description: 备注
  3343. type: string
  3344. removebeforestatus:
  3345. description: REMOVEBEFORESTATUS
  3346. type: integer
  3347. sex:
  3348. description: 性别 - 0:女 1:男
  3349. type: integer
  3350. signedstatus:
  3351. description: 账户一号签签约状态
  3352. type: integer
  3353. signpdfurl:
  3354. description: 签约pdf文件
  3355. type: string
  3356. subbranch:
  3357. description: 开户支行
  3358. type: string
  3359. taxpayernum:
  3360. description: 纳税人识别号
  3361. type: string
  3362. telphone:
  3363. description: 联系电话(加密存储)
  3364. type: string
  3365. userid:
  3366. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3367. type: integer
  3368. userinfotype:
  3369. description: 用户信息类型 - 1:个人 2:企业
  3370. type: integer
  3371. username:
  3372. description: 用户姓名
  3373. type: string
  3374. userstate:
  3375. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3376. type: integer
  3377. usertype:
  3378. description: 用户类型 - 1:投资者 2:机构
  3379. type: integer
  3380. videourl:
  3381. description: 视频地址
  3382. type: string
  3383. wechat:
  3384. description: 微信号 (加密存储)
  3385. type: string
  3386. required:
  3387. - userid
  3388. type: object
  3389. erms3.QryAuditContractRsp:
  3390. properties:
  3391. accountid:
  3392. description: 交易员ID
  3393. type: string
  3394. applystatus:
  3395. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3396. type: integer
  3397. curdeliveryqty:
  3398. description: 未交收量
  3399. type: integer
  3400. customername:
  3401. description: 采购方ID
  3402. type: string
  3403. deliverygoodsid:
  3404. description: 品种ID
  3405. type: string
  3406. deliveryqty:
  3407. description: 交收量
  3408. type: integer
  3409. enumdicname:
  3410. description: 单位名称
  3411. type: string
  3412. matchaccountid:
  3413. description: 业务员ID
  3414. type: string
  3415. matchcustomername:
  3416. description: 销售方ID
  3417. type: string
  3418. pricedqty:
  3419. description: 定价量
  3420. type: number
  3421. signdate:
  3422. description: 签订日期
  3423. type: string
  3424. spotcontractid:
  3425. description: 合同ID
  3426. type: string
  3427. totaldqty:
  3428. description: 合同量
  3429. type: number
  3430. unpricedqty:
  3431. description: 未定价量
  3432. type: number
  3433. wrstandardname:
  3434. description: 商品名称
  3435. type: string
  3436. required:
  3437. - matchcustomername
  3438. - spotcontractid
  3439. type: object
  3440. erms3.QryPendingBizRsp:
  3441. properties:
  3442. accountid:
  3443. description: 现货账户
  3444. type: string
  3445. areaname:
  3446. description: 所属部门
  3447. type: string
  3448. bizid:
  3449. description: 业务ID
  3450. type: string
  3451. bizname:
  3452. description: 业务名称
  3453. type: string
  3454. status:
  3455. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3456. type: integer
  3457. type:
  3458. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  3459. type: integer
  3460. type: object
  3461. erms3.QueryBusinessInfoRsp:
  3462. properties:
  3463. businessid:
  3464. description: 业务ID.
  3465. type: integer
  3466. buyamount:
  3467. description: 采购额.
  3468. type: number
  3469. buyqty:
  3470. description: 采购量.
  3471. type: string
  3472. futurepl:
  3473. description: 期货盈亏.
  3474. type: number
  3475. futureqty:
  3476. description: 期货敞口.
  3477. type: string
  3478. goodsid:
  3479. description: 商品名称/商品代码.
  3480. type: string
  3481. hedgingqty:
  3482. description: 套保量.
  3483. type: string
  3484. sellamount:
  3485. description: 销售额.
  3486. type: number
  3487. sellqty:
  3488. description: 销售量.
  3489. type: string
  3490. spotmarketvalue:
  3491. description: 现货市值.
  3492. type: number
  3493. spotpl:
  3494. description: 浮动权益.
  3495. type: number
  3496. spotqty:
  3497. description: 现货量.
  3498. type: string
  3499. statu:
  3500. description: 状态,0-未结束 1-已结束.
  3501. type: integer
  3502. totalpl:
  3503. description: 总盈亏.
  3504. type: number
  3505. totalqty:
  3506. description: 总敞口.
  3507. type: string
  3508. type:
  3509. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  3510. type: integer
  3511. type: object
  3512. erms3.QuerySpotContractAppleFormRsp:
  3513. properties:
  3514. goodses:
  3515. description: 合约列表
  3516. items:
  3517. $ref: '#/definitions/models.GoodsIDAndName'
  3518. type: array
  3519. oppositeusers:
  3520. description: 对方账号列表
  3521. items:
  3522. $ref: '#/definitions/erms3.CustomerInfo'
  3523. type: array
  3524. ouruser:
  3525. $ref: '#/definitions/erms3.CustomerInfo'
  3526. description: 我方账号
  3527. warehouseinfos:
  3528. description: 仓库信息列表
  3529. items:
  3530. $ref: '#/definitions/models.Warehouseinfo'
  3531. type: array
  3532. wrstandards:
  3533. description: 仓单标准列表
  3534. items:
  3535. $ref: '#/definitions/models.WRStandardInfo'
  3536. type: array
  3537. type: object
  3538. erms3.QuerySpotContractInfoRsp:
  3539. properties:
  3540. accountid:
  3541. description: 表示交易员ID.
  3542. type: integer
  3543. curdeliveryqty:
  3544. description: 表示未交收量.
  3545. type: number
  3546. customername:
  3547. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  3548. type: string
  3549. deliverygoodsid:
  3550. description: 表示品种ID.
  3551. type: string
  3552. deliveryqty:
  3553. description: 表示交收量.
  3554. type: number
  3555. matchaccountid:
  3556. description: 表示业务员ID.
  3557. type: integer
  3558. matchcustomername:
  3559. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  3560. type: string
  3561. priceqty:
  3562. description: 表示定价量.
  3563. type: number
  3564. relatedbizid:
  3565. description: 表示业务ID.
  3566. type: string
  3567. signdate:
  3568. description: 表示签订日期.
  3569. type: string
  3570. spotcontractid:
  3571. description: 合同ID
  3572. type: string
  3573. status:
  3574. description: 表示状态,0-履约中 1-已完成.
  3575. type: integer
  3576. totalqty:
  3577. description: 表示合同量.
  3578. type: number
  3579. unpricedqty:
  3580. description: 表示未定价量.
  3581. type: number
  3582. wrstandardname:
  3583. description: 表示商品ID.
  3584. type: string
  3585. type: object
  3586. erms3.QueryUserInfoAppliesRsp:
  3587. properties:
  3588. biznature:
  3589. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3590. type: integer
  3591. contactname:
  3592. description: 联系人
  3593. type: string
  3594. createtime:
  3595. description: 开户申请时间
  3596. type: string
  3597. userid:
  3598. description: 用户ID(自增ID)
  3599. type: integer
  3600. userinfotype:
  3601. description: 用户信息类型 - 1:个人 2:企业
  3602. type: integer
  3603. username:
  3604. description: 用户姓名
  3605. type: string
  3606. userstate:
  3607. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3608. type: integer
  3609. required:
  3610. - userid
  3611. type: object
  3612. erms3.QueryUserInfosRsp:
  3613. properties:
  3614. biznature:
  3615. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3616. type: integer
  3617. contactname:
  3618. description: 联系人
  3619. type: string
  3620. customername:
  3621. description: 客户名称(企业名称)
  3622. type: string
  3623. userid:
  3624. description: 用户ID
  3625. type: integer
  3626. userinfotype:
  3627. description: 用户信息类型 - 1:个人 2:企业
  3628. type: integer
  3629. userstatus:
  3630. description: 用户状态 - 1:正常 2:注销
  3631. type: integer
  3632. required:
  3633. - userid
  3634. type: object
  3635. erms3.SoptContractDetail:
  3636. properties:
  3637. deliverygoodsdesc:
  3638. description: 现货品种说明
  3639. type: string
  3640. deliverygoodsid:
  3641. description: 现货品种ID
  3642. type: integer
  3643. deliverygoodsname:
  3644. description: 现货品种名称
  3645. type: string
  3646. pointdesc:
  3647. description: 点价描述
  3648. type: string
  3649. producttype:
  3650. description: 产品类型 1:标准仓单 2:等标 3:非标
  3651. type: integer
  3652. producttypename:
  3653. description: 产品类型名称
  3654. type: string
  3655. spotPointOrderVoList:
  3656. description: 点价列表
  3657. items:
  3658. $ref: '#/definitions/erms3.SpotPointOrder'
  3659. type: array
  3660. spotPriceOrderList:
  3661. description: 定价列表
  3662. items:
  3663. $ref: '#/definitions/erms3.SpotPriceOrder'
  3664. type: array
  3665. unitname:
  3666. description: 单位名称
  3667. type: string
  3668. warehouseid:
  3669. description: 仓库ID
  3670. type: integer
  3671. warehousename:
  3672. description: 仓库名称
  3673. type: string
  3674. wrstandardid:
  3675. description: 交易标的ID
  3676. type: integer
  3677. wrstandardname:
  3678. description: 交易标的名称
  3679. type: string
  3680. required:
  3681. - deliverygoodsid
  3682. - producttype
  3683. - unitname
  3684. - warehouseid
  3685. - wrstandardid
  3686. - wrstandardname
  3687. type: object
  3688. erms3.SpotPointOrder:
  3689. properties:
  3690. basic:
  3691. description: 基差
  3692. type: number
  3693. deliveryenddate:
  3694. description: 交收结束日期
  3695. type: string
  3696. deliverystartdate:
  3697. description: 交收开始日期
  3698. type: string
  3699. enddate:
  3700. description: 点价结束日期
  3701. type: string
  3702. goodsid:
  3703. description: 商品ID
  3704. type: integer
  3705. goodsname:
  3706. description: 商品名称
  3707. type: string
  3708. qty:
  3709. description: 数量
  3710. type: number
  3711. startdate:
  3712. description: 点价开始日期
  3713. type: string
  3714. required:
  3715. - basic
  3716. - goodsid
  3717. - qty
  3718. type: object
  3719. erms3.SpotPriceOrder:
  3720. properties:
  3721. amount:
  3722. description: 金额
  3723. type: number
  3724. deliveryenddate:
  3725. description: 交收结束日期
  3726. type: string
  3727. deliverystartdate:
  3728. description: 交收开始日期
  3729. type: string
  3730. price:
  3731. description: 价格
  3732. type: number
  3733. qty:
  3734. description: 数量
  3735. type: number
  3736. required:
  3737. - amount
  3738. - price
  3739. - qty
  3740. type: object
  3741. hsby.GetHsbyMyCountRsp:
  3742. properties:
  3743. myCouponCount:
  3744. description: 我的优惠卷数量
  3745. type: integer
  3746. myOrderDetailListingCount:
  3747. description: 我的订单求购中数量
  3748. type: integer
  3749. myOrderDetailPreCount:
  3750. description: 我的订单抢购中数量
  3751. type: integer
  3752. myPackageUnReceiveCount:
  3753. description: 我的包裹待收货数量
  3754. type: integer
  3755. myPackageUnSendCount:
  3756. description: 我的包裹待发货数量
  3757. type: integer
  3758. myPayOrderCount:
  3759. description: 我的订单待付款数量
  3760. type: integer
  3761. type: object
  3762. hsby.QueryProvincesAndCitiesRsp:
  3763. properties:
  3764. cities:
  3765. description: 市
  3766. items:
  3767. $ref: '#/definitions/models.Division'
  3768. type: array
  3769. province:
  3770. $ref: '#/definitions/models.Division'
  3771. description: 省
  3772. type: object
  3773. models.Arearole:
  3774. properties:
  3775. createtime:
  3776. description: 创建时间
  3777. type: string
  3778. creatorid:
  3779. description: 创建人ID
  3780. type: integer
  3781. fromuserid:
  3782. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  3783. type: integer
  3784. isreturnscore:
  3785. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  3786. type: integer
  3787. modifierid:
  3788. description: 修改人ID
  3789. type: integer
  3790. modifytime:
  3791. description: 修改时间
  3792. type: string
  3793. orgtype:
  3794. description: 组织机构类型 1:机构\分支节点 2:交易员\叶子节点 3:部门\分支节点
  3795. type: integer
  3796. outuserid:
  3797. description: 外部账户[场外期权做市商]
  3798. type: string
  3799. parentuserid:
  3800. description: 上级组织机构(组织机构)
  3801. type: integer
  3802. roletype:
  3803. description: 角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员
  3804. 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构
  3805. 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员 25:客户 98:代理 99:门店
  3806. type: integer
  3807. rootuserid:
  3808. description: 顶级组织机构用户ID(组织机构)
  3809. type: integer
  3810. shoppassword:
  3811. description: 商城店铺登陆密码(商城店铺角色使用)
  3812. type: string
  3813. sublevelpath:
  3814. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  3815. type: string
  3816. suborgtype:
  3817. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  3818. type: integer
  3819. tradeaccountid:
  3820. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  3821. type: integer
  3822. transurl:
  3823. description: 物流地址(物流机构)
  3824. type: string
  3825. userid:
  3826. description: 机构用户ID其他做市关系,都设置为 1
  3827. type: integer
  3828. required:
  3829. - roletype
  3830. - userid
  3831. type: object
  3832. models.Clientfixedadconfig:
  3833. properties:
  3834. adsort:
  3835. description: 排序
  3836. type: integer
  3837. adtype:
  3838. description: 广告位类型 - 1:新品抢购(HSBY)
  3839. type: integer
  3840. areauserid:
  3841. description: 所属机构ID
  3842. type: integer
  3843. createdate:
  3844. description: 创建时间
  3845. type: string
  3846. creatorid:
  3847. description: 创建人
  3848. type: integer
  3849. imagepath:
  3850. description: 图片
  3851. type: string
  3852. isshow:
  3853. description: 是否展示 - 0:不展示 1:展示
  3854. type: integer
  3855. modifierid:
  3856. description: 操作人
  3857. type: integer
  3858. recsize:
  3859. description: 推荐尺寸
  3860. type: string
  3861. title:
  3862. description: 标题
  3863. type: string
  3864. updatedate:
  3865. description: 更新时间
  3866. type: string
  3867. urlcontent:
  3868. description: 链接(地址或商品ID)
  3869. type: string
  3870. urltype:
  3871. description: 链接类型 - 1:直接地址 2:商品ID
  3872. type: integer
  3873. required:
  3874. - adsort
  3875. - adtype
  3876. type: object
  3877. models.DgFactoryItem:
  3878. properties:
  3879. dgfactoryitemid:
  3880. description: 选择项ID(SEQ_DGFACTORYITEM)
  3881. type: integer
  3882. dgfactoryitemtypeid:
  3883. description: 要素项类型
  3884. type: integer
  3885. dgfactoryitemvalue:
  3886. description: 要素项值(类型为仓库时填写仓库名称)
  3887. type: string
  3888. orderindex:
  3889. description: 顺序
  3890. type: integer
  3891. type: object
  3892. models.Division:
  3893. properties:
  3894. autoid:
  3895. description: 自增ID
  3896. type: integer
  3897. divisioncode:
  3898. description: 行政代码
  3899. type: string
  3900. divisionlevel:
  3901. description: 行政级别
  3902. type: string
  3903. divisionname:
  3904. description: 行政名称
  3905. type: string
  3906. modifierid:
  3907. description: 修改人
  3908. type: integer
  3909. modifytime:
  3910. description: 修改时间
  3911. type: string
  3912. parentcode:
  3913. description: 上级行政代码
  3914. type: string
  3915. pathname:
  3916. description: 路径名称
  3917. type: string
  3918. postcode:
  3919. description: 邮政编码
  3920. type: string
  3921. separablename:
  3922. description: 可拆分的全称
  3923. type: string
  3924. shortcode:
  3925. description: 地区简码
  3926. type: string
  3927. required:
  3928. - autoid
  3929. - divisioncode
  3930. type: object
  3931. models.Enumdicitem:
  3932. properties:
  3933. autoid:
  3934. description: 自增ID
  3935. type: integer
  3936. bankmappedvalue:
  3937. description: 银行服务对应值
  3938. type: string
  3939. enumdiccode:
  3940. description: 所属枚举代码
  3941. type: string
  3942. enumdicid:
  3943. description: 所属枚举ID
  3944. type: integer
  3945. enumdicname:
  3946. description: 枚举项名称
  3947. type: string
  3948. enumitemname:
  3949. description: 枚举项值
  3950. type: integer
  3951. enumitemstatus:
  3952. description: 枚举项状态 - 1.启用 2.不启用
  3953. type: integer
  3954. enumitemvalue:
  3955. description: 通用值 - [币种通用简写]
  3956. type: string
  3957. param1:
  3958. description: 参数1[币种:币种小数位]
  3959. type: string
  3960. param2:
  3961. description: 参数1[币种:币种显示单位]
  3962. type: string
  3963. remark:
  3964. description: 备注
  3965. type: string
  3966. required:
  3967. - autoid
  3968. - enumdiccode
  3969. - enumdicid
  3970. - enumitemname
  3971. type: object
  3972. models.Ermcp2AreaExposure:
  3973. properties:
  3974. areauserid:
  3975. description: 所属机构
  3976. type: integer
  3977. enumdicname:
  3978. description: 单位
  3979. type: string
  3980. futureqty:
  3981. description: 期货套期量
  3982. type: number
  3983. futureqtychange:
  3984. description: 期货变动量 = FutureQty - OriFutureQty
  3985. type: number
  3986. goodsunitid:
  3987. description: 单位ID
  3988. type: integer
  3989. hedgedspotexposure:
  3990. description: 被套期现货敞口量
  3991. type: number
  3992. hedgedspratio:
  3993. description: 套期期现比例 = 期货套期量/被套期现货敞口量
  3994. type: number
  3995. hedgedtotalexposourechange:
  3996. description: 被套期敞口变动量 = HedgedTotalExposure - OriHedgedTotalExposure
  3997. type: number
  3998. hedgedtotalexposure:
  3999. description: 套期敞口量 = 被套期现货敞口量+期货套期量
  4000. type: number
  4001. hedgeplanqty:
  4002. description: 套期计划量
  4003. type: number
  4004. hedgeplanqtychange:
  4005. description: 计划变动量 = HedgePlanQty - OriHedgePlanQty
  4006. type: number
  4007. hedgespotqty:
  4008. description: 被套期现货量
  4009. type: number
  4010. middlegoodsid:
  4011. description: 套保品种
  4012. type: integer
  4013. middlegoodsname:
  4014. description: 套保品种名称
  4015. type: string
  4016. orifutureqty:
  4017. description: 期初期货套期量
  4018. type: number
  4019. orihedgedspotexposure:
  4020. description: 期初被套期现货敞口量
  4021. type: number
  4022. orihedgedtotalexposure:
  4023. description: 期初套期敞口量
  4024. type: number
  4025. orihedgeplanqty:
  4026. description: 期初套期计划量
  4027. type: number
  4028. orihedgespotqty:
  4029. description: 期初被套期现货量
  4030. type: number
  4031. orispotexposure:
  4032. description: 期初现货敞口量
  4033. type: number
  4034. orispotqty:
  4035. description: 期初现货总量
  4036. type: number
  4037. oritotalexposure:
  4038. description: 期初总敞口量
  4039. type: number
  4040. spotexposure:
  4041. description: 现货敞口量
  4042. type: number
  4043. spotqty:
  4044. description: 现货总量
  4045. type: number
  4046. spotqtychange:
  4047. description: 现货变动量 = SpotQty - OriSpotQty
  4048. type: number
  4049. spratio:
  4050. description: 总期现比例 = 期货套期量/现货敞口量
  4051. type: number
  4052. totalexposure:
  4053. description: 总敞口量 = 现货敞口量 + 期货套期量
  4054. type: number
  4055. totalexposurechange:
  4056. description: 总敞口变动量 = TotalExposure - OriTotalExposure
  4057. type: number
  4058. updatetime:
  4059. description: 更新时间 --DATE
  4060. type: string
  4061. type: object
  4062. models.Ermcp2hedgeditem:
  4063. properties:
  4064. accountname:
  4065. description: 套期主体
  4066. type: string
  4067. applyid:
  4068. description: 申请人
  4069. type: integer
  4070. applysrc:
  4071. description: 申请来源 - 1:管理端 2:终端
  4072. type: integer
  4073. areauserid:
  4074. description: 企业ID
  4075. type: integer
  4076. auditid:
  4077. description: 审核人
  4078. type: integer
  4079. auditremark:
  4080. description: 审核备注
  4081. type: string
  4082. auditsrc:
  4083. description: 审核来源 - 1:管理端 2:终端
  4084. type: integer
  4085. audittime:
  4086. description: 审核时间
  4087. type: string
  4088. audittradedate:
  4089. description: 审核交易日(yyyyMMdd)
  4090. type: string
  4091. createtime:
  4092. description: 申请时间
  4093. type: string
  4094. curprice:
  4095. description: 当前市场价
  4096. type: number
  4097. curstock:
  4098. description: 期末库存量 = 采购总量 - 销售总量
  4099. type: number
  4100. deliverygoodsid:
  4101. description: 现货品种ID
  4102. type: integer
  4103. enddate:
  4104. description: 完成日期
  4105. type: string
  4106. endtradedate:
  4107. description: 完成交易日
  4108. type: string
  4109. enumdicname:
  4110. description: 单位
  4111. type: string
  4112. exeamount:
  4113. description: 执行市价总额
  4114. type: number
  4115. exeavgprice:
  4116. description: 执行市场均价= 执行市价总额 / 执行现货量
  4117. type: number
  4118. execontractamount:
  4119. description: 执行定价总额
  4120. type: number
  4121. exeqty:
  4122. description: 执行现货量
  4123. type: number
  4124. exerestamount:
  4125. description: 执行剩余市价总额【现货贸易】
  4126. type: number
  4127. futurefloatpl:
  4128. description: 期货浮动损益
  4129. type: number
  4130. futurehedgepl:
  4131. description: 期货实际损益
  4132. type: number
  4133. futurehedgeplchange:
  4134. description: 期货实际损益变动
  4135. type: number
  4136. futurepl:
  4137. description: 期货套期损益
  4138. type: number
  4139. futureplchange:
  4140. description: 期货套期损益变动
  4141. type: number
  4142. hedgeamount:
  4143. description: 套期市价总额
  4144. type: number
  4145. hedgecontractamount:
  4146. description: 套期定价总额 【定价采购合同】【现货贸易】
  4147. type: number
  4148. hedgeditemid:
  4149. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  4150. type: string
  4151. hedgeditemname:
  4152. description: 项目名称
  4153. type: string
  4154. hedgeditemnum:
  4155. description: 项目编号
  4156. type: string
  4157. hedgeditemstatus:
  4158. description: 项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4159. type: integer
  4160. hedgedtype:
  4161. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4162. type: integer
  4163. hedgeqty:
  4164. description: 套期现货量
  4165. type: number
  4166. hedgerate:
  4167. description: 套保比率
  4168. type: number
  4169. hedgerestamount:
  4170. description: 套期剩余市价总额【现货贸易】
  4171. type: number
  4172. hedgesumpl:
  4173. description: 套期汇总损益 = 期货汇总损益 + 现货汇总损益
  4174. type: number
  4175. middlegoodslist:
  4176. description: 套期商品列表
  4177. items:
  4178. $ref: '#/definitions/models.Ermcp2himiddlegoods'
  4179. type: array
  4180. oriavgprice:
  4181. description: 期初市场均价 = 套期市价总额 / 套期现货量
  4182. type: number
  4183. orifuturehedgepl:
  4184. description: 期初期货实际损益
  4185. type: number
  4186. orifuturepl:
  4187. description: 期初期货套期损益
  4188. type: number
  4189. orispothedgepl:
  4190. description: 期初现货实际损益
  4191. type: number
  4192. orispotpl:
  4193. description: 期初现货套期损益
  4194. type: number
  4195. planenddate:
  4196. description: 计划结束日期
  4197. type: string
  4198. planstartdate:
  4199. description: 计划开始日期
  4200. type: string
  4201. remark:
  4202. description: 备注
  4203. type: string
  4204. spotbookamount:
  4205. description: 现货账面总额
  4206. type: number
  4207. spotfloatpl:
  4208. description: 现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)
  4209. type: number
  4210. spothedgepl:
  4211. description: 现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  4212. type: number
  4213. spothedgeplchange:
  4214. description: 现货实际损益变动
  4215. type: number
  4216. spotpl:
  4217. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  4218. type: number
  4219. spotplchange:
  4220. description: 现货套期损益变动
  4221. type: number
  4222. spottradepl:
  4223. description: 现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额
  4224. type: number
  4225. sumobspl:
  4226. description: 汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益
  4227. type: number
  4228. tradeuserid:
  4229. description: 交易用户ID
  4230. type: integer
  4231. unexeqty:
  4232. description: 未执行现货量 = 套期现货量 - 执行现货量
  4233. type: number
  4234. updatetime:
  4235. description: 更新时间
  4236. type: string
  4237. vatpl:
  4238. description: 增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))
  4239. type: number
  4240. vatrate:
  4241. description: 增值税
  4242. type: number
  4243. wrstandardid:
  4244. description: 现货商品ID
  4245. type: integer
  4246. wrstandardname:
  4247. description: 商品名称
  4248. type: string
  4249. type: object
  4250. models.Ermcp2hedgeditemsDetail:
  4251. properties:
  4252. accountname:
  4253. description: 套期主体
  4254. type: string
  4255. areauserid:
  4256. description: 企业ID
  4257. type: integer
  4258. createtime:
  4259. description: 创建时间
  4260. type: string
  4261. customeruserid:
  4262. description: 对手方 【3:采购合同 4:销售合同】
  4263. type: integer
  4264. deliverygoodsid:
  4265. description: 现货品种ID
  4266. type: integer
  4267. enumdicname:
  4268. description: 单位
  4269. type: string
  4270. hedgeditemid:
  4271. description: 被套期项目ID
  4272. type: string
  4273. hedgeditemspotid:
  4274. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4275. type: string
  4276. hedgedtype:
  4277. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4278. type: integer
  4279. hedgeplanno:
  4280. description: 计划编号
  4281. type: string
  4282. oriavgprice:
  4283. description: 期初市场价[当初市场价]
  4284. type: number
  4285. relatedamount:
  4286. description: 市价总额 = 关联数量 * 期初市场价
  4287. type: number
  4288. relatedhedgeplanid:
  4289. description: 关联计划ID 【1:采购计划 2:销售计划】
  4290. type: integer
  4291. relatedqty:
  4292. description: '[期间变化量]关联数量'
  4293. type: number
  4294. relatedspotcontractid:
  4295. description: 关联合同ID 【3:采购合同 4:销售合同】
  4296. type: integer
  4297. relatedtype:
  4298. description: 关联类型 - 1:套期关联 2:执行关联
  4299. type: integer
  4300. spotgoodsbrandid:
  4301. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4302. type: integer
  4303. spotpricedamount:
  4304. description: 定价总额
  4305. type: number
  4306. spotpricedavgprice:
  4307. description: 现货均价 = 定价总额 / 关联数量
  4308. type: number
  4309. spottype:
  4310. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4311. type: integer
  4312. tradeuserid:
  4313. description: 交易用户ID
  4314. type: integer
  4315. unexeqty:
  4316. description: 未执行现货量 = 套期现货量 - 执行现货量
  4317. type: number
  4318. wrstandardid:
  4319. description: 现货商品ID
  4320. type: integer
  4321. wrstandardname:
  4322. description: 现货商品
  4323. type: string
  4324. type: object
  4325. models.Ermcp2hedgeditemspot:
  4326. properties:
  4327. areauserid:
  4328. description: 企业ID
  4329. type: integer
  4330. createtime:
  4331. description: 创建时间
  4332. type: string
  4333. customeruserid:
  4334. description: 对手方 【3:采购合同 4:销售合同】
  4335. type: integer
  4336. deliverygoodsid:
  4337. description: 现货品种ID
  4338. type: integer
  4339. enumdicname:
  4340. description: 单位
  4341. type: string
  4342. hedgeditemid:
  4343. description: 被套期项目ID
  4344. type: string
  4345. hedgeditemspotid:
  4346. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4347. type: string
  4348. hedgedtype:
  4349. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4350. type: integer
  4351. hedgeplanno:
  4352. description: 计划编号
  4353. type: string
  4354. oriavgprice:
  4355. description: 期初市场价[当初市场价]
  4356. type: number
  4357. relatedamount:
  4358. description: 市价总额 = 关联数量 * 期初市场价
  4359. type: number
  4360. relatedhedgeplanid:
  4361. description: 关联计划ID 【1:采购计划 2:销售计划】
  4362. type: integer
  4363. relatedqty:
  4364. description: 关联数量[数量]
  4365. type: number
  4366. relatedspotcontractid:
  4367. description: 关联合同ID 【3:采购合同 4:销售合同】
  4368. type: integer
  4369. relatedtype:
  4370. description: 关联类型 - 1:套期关联 2:执行关联
  4371. type: integer
  4372. spotgoodsbrandid:
  4373. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4374. type: integer
  4375. spotpricedamount:
  4376. description: 定价总额
  4377. type: number
  4378. spotpricedavgprice:
  4379. description: 现货均价 = 定价总额 / 关联数量
  4380. type: number
  4381. spottype:
  4382. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4383. type: integer
  4384. tradeuserid:
  4385. description: 交易用户ID
  4386. type: integer
  4387. wrstandardid:
  4388. description: 现货商品ID
  4389. type: integer
  4390. wrstandardname:
  4391. description: 现货商品
  4392. type: string
  4393. required:
  4394. - hedgeditemid
  4395. type: object
  4396. models.Ermcp2hedgeditemspotDetail:
  4397. properties:
  4398. accountname:
  4399. description: 对手方
  4400. type: string
  4401. areauserid:
  4402. description: 企业ID
  4403. type: integer
  4404. brandname:
  4405. description: 品牌
  4406. type: string
  4407. contractno:
  4408. description: 合同编号
  4409. type: string
  4410. createtime:
  4411. description: 创建时间
  4412. type: string
  4413. customeruserid:
  4414. description: 对手方 【3:采购合同 4:销售合同】
  4415. type: integer
  4416. deliverygoodsid:
  4417. description: 现货品种ID
  4418. type: integer
  4419. enumdicname:
  4420. description: 单位
  4421. type: string
  4422. hedgeditemid:
  4423. description: 被套期项目ID
  4424. type: string
  4425. hedgeditemspotid:
  4426. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4427. type: string
  4428. hedgedtype:
  4429. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4430. type: integer
  4431. oriavgprice:
  4432. description: 期初市场价[当初市场价]
  4433. type: number
  4434. relatedamount:
  4435. description: 市价总额 = 关联数量 * 期初市场价
  4436. type: number
  4437. relatedhedgeplanid:
  4438. description: 关联计划ID 【1:采购计划 2:销售计划】
  4439. type: integer
  4440. relatedqty:
  4441. description: 关联数量[数量]
  4442. type: number
  4443. relatedspotcontractid:
  4444. description: 关联合同ID 【3:采购合同 4:销售合同】
  4445. type: integer
  4446. relatedtype:
  4447. description: 关联类型 - 1:套期关联 2:执行关联
  4448. type: integer
  4449. spotgoodsbrandid:
  4450. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4451. type: integer
  4452. spotpricedamount:
  4453. description: 定价总额[金额]
  4454. type: number
  4455. spotpricedavgprice:
  4456. description: 现货均价 = 定价总额 / 关联数量
  4457. type: number
  4458. spottype:
  4459. description: 现货类型[合同类型] - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4460. type: integer
  4461. tradeuserid:
  4462. description: 交易用户ID
  4463. type: integer
  4464. wrstandardid:
  4465. description: 现货商品ID
  4466. type: integer
  4467. wrstandardname:
  4468. description: 现货商品
  4469. type: string
  4470. required:
  4471. - hedgeditemid
  4472. type: object
  4473. models.Ermcp2himiddlegoods:
  4474. properties:
  4475. futurehedgeqty:
  4476. description: 期货持仓套期量
  4477. type: number
  4478. hedgeditemid:
  4479. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  4480. type: integer
  4481. hiexpsoure:
  4482. description: 期现敞口量 = 未执行套期量 + 期货持仓套期量
  4483. type: number
  4484. middlegoodscode:
  4485. description: 套保商品代码
  4486. type: string
  4487. middlegoodsid:
  4488. description: 套保品种ID
  4489. type: integer
  4490. middlegoodsname:
  4491. description: 套保商品名称
  4492. type: string
  4493. unexehedgeqty:
  4494. description: 未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)
  4495. type: number
  4496. required:
  4497. - hedgeditemid
  4498. - middlegoodsid
  4499. type: object
  4500. models.Ermcp2stockspotchangelog:
  4501. properties:
  4502. accountname:
  4503. description: 套期主体
  4504. type: string
  4505. aftervalue:
  4506. description: 现货量
  4507. type: number
  4508. beforevalue:
  4509. description: 变更前现货量
  4510. type: number
  4511. contracttype:
  4512. description: 现货合同类型 - 1:采购 -1:销售
  4513. type: integer
  4514. createtime:
  4515. description: 创建时间
  4516. type: string
  4517. customerusername:
  4518. description: 对手方
  4519. type: string
  4520. deliverygoodsid:
  4521. description: 现货品种ID
  4522. type: integer
  4523. exetype:
  4524. description: 执行类型 - 1:采购合同 2:销售合同 3:生产入库 4:生产出库
  4525. type: integer
  4526. logid:
  4527. description: 流水ID(604+Unix秒时间戳(10位)+xxxxxx)
  4528. type: integer
  4529. logvalue:
  4530. description: 现货量变更值
  4531. type: number
  4532. middlegoodschange:
  4533. description: 套期商品变化量 = LogValue * 折算系数* (1/(1+增值税))
  4534. type: number
  4535. operatelogtype:
  4536. description: 操作流水类型 - 2:点价数量 21:正常完结(合同) 22:异常终止(合同) 24:采购入库 25:销售出库 26:生产入库
  4537. 27:生产出库
  4538. type: integer
  4539. relatedid:
  4540. description: 现货合同ID
  4541. type: integer
  4542. spotgoodsbrandid:
  4543. description: 现货品牌ID
  4544. type: integer
  4545. tradedate:
  4546. description: 交易日(yyyyMMdd)
  4547. type: string
  4548. userid:
  4549. description: 机构ID
  4550. type: integer
  4551. warehouseinfoid:
  4552. description: 仓库ID
  4553. type: integer
  4554. wrfactortypeid:
  4555. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4556. type: integer
  4557. wrstandardid:
  4558. description: 现货商品ID
  4559. type: integer
  4560. wrstandardname:
  4561. description: 商品名称 LogValue * 折算系数* (1/(1+增值税))
  4562. type: string
  4563. type: object
  4564. models.Ermcp3AreaSpot:
  4565. properties:
  4566. areauserid:
  4567. description: 所属机构
  4568. type: integer
  4569. convertratio:
  4570. description: 套保系数
  4571. type: number
  4572. decreaseqty:
  4573. description: 减少数量=-(销售已定价数量+采购计划数量)
  4574. type: number
  4575. enumdicname:
  4576. description: 单位名称
  4577. type: string
  4578. increaseqty:
  4579. description: 增加数量=销售计划数量+采购已定价数量
  4580. type: number
  4581. oritoalspotqty:
  4582. description: 昨日数量
  4583. type: number
  4584. totalspotqty:
  4585. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  4586. type: number
  4587. unitid:
  4588. description: 现货商品单位id
  4589. type: integer
  4590. updatetime:
  4591. description: 更新时间
  4592. type: string
  4593. wrstandardcode:
  4594. description: 现货商品代码
  4595. type: string
  4596. wrstandardid:
  4597. description: 现货商品ID(SEQ_WRSTANDARD)
  4598. type: integer
  4599. wrstandardname:
  4600. description: 现货商品名称
  4601. type: string
  4602. type: object
  4603. models.Ermcp3AreaSpotDetail:
  4604. properties:
  4605. contracttype:
  4606. description: 合同类型 1-采购 -1-销售
  4607. type: integer
  4608. createtime:
  4609. description: 创建时间
  4610. type: string
  4611. enumdicname:
  4612. description: 现货商品单位名称
  4613. type: string
  4614. logtype:
  4615. description: 记录类型 1-套保 2-现货合同
  4616. type: integer
  4617. qty:
  4618. description: 数量
  4619. type: number
  4620. recordname:
  4621. description: 类型名称
  4622. type: string
  4623. relatedid:
  4624. description: 套保计划ID/现货合同ID
  4625. type: string
  4626. relatedno:
  4627. description: 编号
  4628. type: string
  4629. strtime:
  4630. description: 时间
  4631. type: string
  4632. wrstandardcode:
  4633. description: 现货商品代码
  4634. type: string
  4635. wrstandardid:
  4636. description: 现货商品ID(SEQ_WRSTANDARD)
  4637. type: integer
  4638. wrstandardname:
  4639. description: 现货商品名称
  4640. type: string
  4641. type: object
  4642. models.Ermcp3AreaSpotPLReport:
  4643. properties:
  4644. accountid:
  4645. description: 期货账户ID (作废, 默认为0)
  4646. type: integer
  4647. accountname:
  4648. description: 机构名称
  4649. type: string
  4650. actualpl:
  4651. description: 现货损益
  4652. type: number
  4653. areauserid:
  4654. description: 所属机构\交易用户ID
  4655. type: integer
  4656. begindate:
  4657. description: 开始交易日
  4658. type: string
  4659. biztype:
  4660. description: 业务类型 - 1:套保 2:套利
  4661. type: integer
  4662. brandname:
  4663. description: 品牌名称
  4664. type: string
  4665. curamount:
  4666. description: 期末额
  4667. type: number
  4668. curaverageprice:
  4669. description: 期末均价
  4670. type: number
  4671. curbuyamount:
  4672. description: 期末采购总额
  4673. type: number
  4674. curbuyqty:
  4675. description: 期末采购总量
  4676. type: number
  4677. curmarketvalue:
  4678. description: 参考市值(期末市值)
  4679. type: number
  4680. curqty:
  4681. description: 期末量
  4682. type: number
  4683. currencyid:
  4684. description: 结算币种ID【原值】
  4685. type: integer
  4686. currencyname:
  4687. description: 币种名称
  4688. type: string
  4689. cursellamount:
  4690. description: 期末销售总额
  4691. type: number
  4692. cursellqty:
  4693. description: 期末销售总量
  4694. type: number
  4695. curspotprice:
  4696. description: 参考市价(最新价)
  4697. type: number
  4698. cycletime:
  4699. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4700. type: string
  4701. cycletype:
  4702. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4703. type: integer
  4704. deliverygoodscode:
  4705. description: 现货品种代码
  4706. type: string
  4707. deliverygoodsid:
  4708. description: 现货品种ID
  4709. type: integer
  4710. deliverygoodsname:
  4711. description: 现货品种名称
  4712. type: string
  4713. enddate:
  4714. description: 结束交易日
  4715. type: string
  4716. enumdicname:
  4717. description: 现货品种单位名称(作废)
  4718. type: string
  4719. floatpl:
  4720. description: 浮动损益
  4721. type: number
  4722. goodsunitid:
  4723. description: 现货品种单位id(作废)
  4724. type: integer
  4725. oriamount:
  4726. description: 期初额
  4727. type: number
  4728. oriaverageprice:
  4729. description: 期初均价
  4730. type: number
  4731. oribuyamount:
  4732. description: 期初采购总额
  4733. type: number
  4734. oribuyqty:
  4735. description: 期初采购总量
  4736. type: number
  4737. oriqty:
  4738. description: 期初量
  4739. type: number
  4740. orisellamount:
  4741. description: 期初销售总额
  4742. type: number
  4743. orisellqty:
  4744. description: 期初销售总量
  4745. type: number
  4746. reckondate:
  4747. description: 日照时期(yyyyMMdd)
  4748. type: string
  4749. spotgoodsbrandid:
  4750. description: 现货品牌ID
  4751. type: integer
  4752. todaybuyamount:
  4753. description: 今日采购额(今采购额)
  4754. type: number
  4755. todaybuyaverageprice:
  4756. description: 今日采购均价
  4757. type: number
  4758. todaybuyqty:
  4759. description: 今日采购量(今采购量)
  4760. type: number
  4761. todayinqty:
  4762. description: 今日入库量(今入库量)
  4763. type: number
  4764. todayoutqty:
  4765. description: 今日出库量(今出库量)
  4766. type: number
  4767. todaysellamount:
  4768. description: 今日销售额(今销售额)
  4769. type: number
  4770. todaysellaverageprice:
  4771. description: 今日销售均价
  4772. type: number
  4773. todaysellqty:
  4774. description: 今日销售量(今销售量)
  4775. type: number
  4776. unitid:
  4777. description: 品类单位id
  4778. type: integer
  4779. unitidname:
  4780. description: 品类单位名称
  4781. type: string
  4782. updatetime:
  4783. description: 更新时间
  4784. type: string
  4785. wrfactortypeid:
  4786. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4787. type: integer
  4788. wrstandardcode:
  4789. description: 现货商品(品类)代码
  4790. type: string
  4791. wrstandardid:
  4792. description: 现货品类ID
  4793. type: integer
  4794. wrstandardname:
  4795. description: 现货商品(品类)名称
  4796. type: string
  4797. type: object
  4798. models.Ermcp3AreaStock:
  4799. properties:
  4800. brandname:
  4801. description: 品牌名称
  4802. type: string
  4803. curstock:
  4804. description: 期末库存量(今日量)
  4805. type: number
  4806. deliverygoodscode:
  4807. description: 现货品种代码
  4808. type: string
  4809. deliverygoodsid:
  4810. description: 现货品种id
  4811. type: integer
  4812. deliverygoodsname:
  4813. description: 现货品种名称
  4814. type: string
  4815. enumdicname:
  4816. description: 单位名称
  4817. type: string
  4818. goodsunitid:
  4819. description: 现货商品单位id
  4820. type: integer
  4821. oristock:
  4822. description: 期初库存量(昨日量)
  4823. type: number
  4824. spotgoodsbrandid:
  4825. description: 现货品牌ID
  4826. type: integer
  4827. todaybuyinqty:
  4828. description: 今日采购入库量
  4829. type: number
  4830. todayproduceinqty:
  4831. description: 今日生产入库量
  4832. type: number
  4833. todayproduceoutqty:
  4834. description: 今日生产出库量
  4835. type: number
  4836. todayselloutqty:
  4837. description: 今日销售出库量
  4838. type: number
  4839. unitid:
  4840. description: 单位id
  4841. type: integer
  4842. updatetime:
  4843. description: 更新时间
  4844. type: string
  4845. userid:
  4846. description: 机构ID
  4847. type: integer
  4848. username:
  4849. description: 机构名称
  4850. type: string
  4851. warehousecode:
  4852. description: 仓库代码
  4853. type: string
  4854. warehouseinfoid:
  4855. description: 仓库ID
  4856. type: string
  4857. warehousename:
  4858. description: 仓库名称
  4859. type: string
  4860. warehousetype:
  4861. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4862. type: integer
  4863. wrstandardcode:
  4864. description: 品类代码
  4865. type: string
  4866. wrstandardid:
  4867. description: 品类ID
  4868. type: string
  4869. wrstandardname:
  4870. description: 品类名称
  4871. type: string
  4872. required:
  4873. - userid
  4874. type: object
  4875. models.Ermcp3AreaStockApply:
  4876. properties:
  4877. applyid:
  4878. description: 申请人
  4879. type: integer
  4880. applyname:
  4881. description: 申请人名称
  4882. type: string
  4883. applyremark:
  4884. description: 申请备注
  4885. type: string
  4886. applysrc:
  4887. description: 申请来源 - 1:管理端 2:终端
  4888. type: integer
  4889. applystatus:
  4890. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  4891. type: integer
  4892. applytime:
  4893. description: 申请时间
  4894. type: string
  4895. auditid:
  4896. description: 审核人
  4897. type: integer
  4898. auditname:
  4899. description: 审核人名称
  4900. type: string
  4901. auditremark:
  4902. description: 审核备注
  4903. type: string
  4904. auditsrc:
  4905. description: 审核来源 - 1:管理端 2:终端
  4906. type: integer
  4907. audittime:
  4908. description: 审核时间
  4909. type: string
  4910. audittradedate:
  4911. description: 审核交易日(yyyyMMdd)
  4912. type: string
  4913. brandname:
  4914. description: 品牌名称
  4915. type: string
  4916. buynickname:
  4917. description: 采购方昵称
  4918. type: string
  4919. buyuserid:
  4920. description: 采购方userid
  4921. type: integer
  4922. buyusername:
  4923. description: 采购方名称
  4924. type: string
  4925. contractno:
  4926. description: 合同编号
  4927. type: string
  4928. contractqty:
  4929. description: 合同量
  4930. type: number
  4931. contracttype:
  4932. description: 现货合同类型 - 1:采购 -1:销售
  4933. type: integer
  4934. deliverygoodscode:
  4935. description: 现货品种代码
  4936. type: string
  4937. deliverygoodsid:
  4938. description: 现货品种id
  4939. type: integer
  4940. deliverygoodsname:
  4941. description: 现货品种名称
  4942. type: string
  4943. detailjson:
  4944. description: 明细数据
  4945. type: string
  4946. enumdicname:
  4947. description: 现货商品单位名称
  4948. type: string
  4949. inoutapplyid:
  4950. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  4951. type: string
  4952. inouttype:
  4953. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  4954. type: integer
  4955. pricetype:
  4956. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4957. type: integer
  4958. qty:
  4959. description: 数量
  4960. type: number
  4961. sellnickname:
  4962. description: 销售方昵称
  4963. type: string
  4964. selluserid:
  4965. description: 销售方userid
  4966. type: integer
  4967. sellusername:
  4968. description: 销售方名称
  4969. type: string
  4970. spotcontractid:
  4971. description: 关联现货合同ID
  4972. type: string
  4973. spotgoodsbrandid:
  4974. description: 现货品牌ID
  4975. type: integer
  4976. unitid:
  4977. description: 单位id
  4978. type: integer
  4979. userid:
  4980. description: 机构ID
  4981. type: integer
  4982. warehousecode:
  4983. description: 仓库代码
  4984. type: string
  4985. warehouseinfoid:
  4986. description: 现货仓库ID
  4987. type: string
  4988. warehousename:
  4989. description: 仓库名称
  4990. type: string
  4991. warehousetype:
  4992. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4993. type: integer
  4994. wrstandardcode:
  4995. description: 品类代码
  4996. type: string
  4997. wrstandardid:
  4998. description: 品类ID
  4999. type: integer
  5000. wrstandardname:
  5001. description: 品类名称
  5002. type: string
  5003. type: object
  5004. models.Ermcp3AreaStockApplySum:
  5005. properties:
  5006. brandname:
  5007. description: 品牌名称
  5008. type: string
  5009. inouttype:
  5010. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  5011. type: integer
  5012. spotcontractid:
  5013. description: 关联现货合同ID
  5014. type: string
  5015. spotgoodsbrandid:
  5016. description: 品牌id
  5017. type: integer
  5018. totalqty:
  5019. description: 总数量
  5020. type: number
  5021. wrstandardid:
  5022. description: 品类id
  5023. type: integer
  5024. wrstandardname:
  5025. description: 品类名称
  5026. type: string
  5027. type: object
  5028. models.Ermcp3AreaStockReportEx:
  5029. properties:
  5030. begindate:
  5031. description: 开始交易日
  5032. type: string
  5033. brandname:
  5034. description: 品牌名称
  5035. type: string
  5036. curstock:
  5037. description: 期末库存量
  5038. type: number
  5039. cycletime:
  5040. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5041. type: string
  5042. cycletype:
  5043. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5044. type: integer
  5045. deliverygoodscode:
  5046. description: 现货品种代码
  5047. type: string
  5048. deliverygoodsid:
  5049. description: 现货品种id
  5050. type: integer
  5051. deliverygoodsname:
  5052. description: 现货品种名称
  5053. type: string
  5054. diffqty:
  5055. description: 库存变化量 = 期末 - 期初
  5056. type: number
  5057. enddate:
  5058. description: 结束交易日
  5059. type: string
  5060. enumdicname:
  5061. description: 单位名称
  5062. type: string
  5063. goodsunitid:
  5064. description: 现货单位id
  5065. type: integer
  5066. oristock:
  5067. description: 期初库存量
  5068. type: number
  5069. reckondate:
  5070. description: 日照时期(yyyyMMdd)
  5071. type: string
  5072. spotgoodsbrandid:
  5073. description: 现货品牌ID
  5074. type: integer
  5075. todaybuyinqty:
  5076. description: 今采购入库量
  5077. type: number
  5078. todayproduceinqty:
  5079. description: 今内部入库量
  5080. type: number
  5081. todayproduceoutqty:
  5082. description: 今内部出库量
  5083. type: number
  5084. todayselloutqty:
  5085. description: 今销售出库量
  5086. type: number
  5087. unbuyinqty:
  5088. description: 采购未入库量(数据库未找到相关字段?)
  5089. type: number
  5090. unitid:
  5091. description: 品类单位id
  5092. type: integer
  5093. unselloutqty:
  5094. description: 销售未出库量(数据库未找到相关字段?)
  5095. type: number
  5096. updatetime:
  5097. description: 更新时间
  5098. type: string
  5099. userid:
  5100. description: 机构ID
  5101. type: integer
  5102. username:
  5103. description: 机构名称
  5104. type: string
  5105. warehousecode:
  5106. description: 仓库代码
  5107. type: string
  5108. warehouseinfoid:
  5109. description: 仓库ID
  5110. type: string
  5111. warehousename:
  5112. description: 仓库名称
  5113. type: string
  5114. warehousetype:
  5115. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5116. type: integer
  5117. wrstandardcode:
  5118. description: 品类代码
  5119. type: string
  5120. wrstandardid:
  5121. description: 品类ID
  5122. type: integer
  5123. wrstandardname:
  5124. description: 品类名称
  5125. type: string
  5126. type: object
  5127. models.Ermcp3ArealSumPL:
  5128. properties:
  5129. accountname:
  5130. description: 机构名称
  5131. type: string
  5132. areauserid:
  5133. description: 所属机构\交易用户ID
  5134. type: integer
  5135. begindate:
  5136. description: 开始交易日
  5137. type: string
  5138. currencyid:
  5139. description: 结算币种ID
  5140. type: integer
  5141. currencyname:
  5142. description: 币种名称
  5143. type: string
  5144. cycletime:
  5145. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5146. type: string
  5147. cycletype:
  5148. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5149. type: integer
  5150. enddate:
  5151. description: 结束交易日
  5152. type: string
  5153. enumdicname:
  5154. description: 单位名称(套保品种)
  5155. type: string
  5156. futureactualpl:
  5157. description: 期货损益
  5158. type: number
  5159. futurefloatpl:
  5160. description: 期货浮动损益
  5161. type: number
  5162. futurespotratio:
  5163. description: 期现比例 = 期货头寸总量 / 现货头寸总量
  5164. type: number
  5165. goodsunitid:
  5166. description: 套保品种单位id
  5167. type: integer
  5168. hedgeexposurepl:
  5169. description: 套保敞口损益
  5170. type: number
  5171. middlegoodscode:
  5172. description: 套保品种代码
  5173. type: string
  5174. middlegoodsid:
  5175. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  5176. type: integer
  5177. middlegoodsname:
  5178. description: 套保品种名称
  5179. type: string
  5180. reckondate:
  5181. description: 日照时期(yyyyMMdd)
  5182. type: string
  5183. spotactualpl:
  5184. description: 现货损益
  5185. type: number
  5186. spotfloatpl:
  5187. description: 现货浮动损益
  5188. type: number
  5189. sumactualpl:
  5190. description: 实际损益 = (ActualPL + FutureActualPL)
  5191. type: number
  5192. sumpl:
  5193. description: 总敞口损益 | 汇总损益
  5194. type: number
  5195. totalfutureqty:
  5196. description: 期货头寸总量
  5197. type: number
  5198. totalneedhedgeqty:
  5199. description: 应套保总量
  5200. type: number
  5201. totalspotqty:
  5202. description: 现货头寸总量
  5203. type: number
  5204. updatetime:
  5205. description: 更新时间
  5206. type: string
  5207. type: object
  5208. models.Ermcp3Brand:
  5209. properties:
  5210. areauserid:
  5211. description: 用户id
  5212. type: integer
  5213. brandid:
  5214. description: 品牌id
  5215. type: integer
  5216. brandname:
  5217. description: 品牌名称
  5218. type: string
  5219. deliverygoodsid:
  5220. description: 品种ID
  5221. type: integer
  5222. isvalid:
  5223. description: 是否有效
  5224. type: integer
  5225. type: object
  5226. models.Ermcp3Contract:
  5227. properties:
  5228. accountid:
  5229. description: 期货账户id
  5230. type: string
  5231. amount:
  5232. description: 金额 [1:一口价、3:暂定价]
  5233. type: number
  5234. attachment:
  5235. description: 附件
  5236. type: string
  5237. auditremark:
  5238. description: 审核意见
  5239. type: string
  5240. audittime:
  5241. description: 审核时间
  5242. type: string
  5243. biztype:
  5244. description: 业务类型 1-套保 2-套利
  5245. type: integer
  5246. brandname:
  5247. description: 品牌名称
  5248. type: string
  5249. buynickname:
  5250. description: 销售方昵称
  5251. type: string
  5252. buyuserid:
  5253. description: 采购方ID
  5254. type: integer
  5255. buyusername:
  5256. description: 采购方名称
  5257. type: string
  5258. contracctstatus:
  5259. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5260. type: integer
  5261. contractmargin:
  5262. description: 合同保证金
  5263. type: number
  5264. contractno:
  5265. description: 现货合同编号
  5266. type: string
  5267. contracttype:
  5268. description: 现货合同类型 - 1:采购 -1:销售
  5269. type: integer
  5270. convertfactor:
  5271. description: 标仓系数(品类)
  5272. type: number
  5273. createtime:
  5274. description: 创建时间
  5275. type: string
  5276. currencyid:
  5277. description: 币种id
  5278. type: integer
  5279. currencyname:
  5280. description: 币种名称
  5281. type: string
  5282. deliveryenddate:
  5283. description: 交收期(结束)
  5284. type: string
  5285. deliverygoodscode:
  5286. description: 现货品种代码
  5287. type: string
  5288. deliverygoodsid:
  5289. description: 现货品种ID
  5290. type: integer
  5291. deliverygoodsname:
  5292. description: 现货品种名称
  5293. type: string
  5294. deliverystartdate:
  5295. description: 交收期(开始)
  5296. type: string
  5297. enddate:
  5298. description: 点价结束日期 [2:点价 3:暂定价]
  5299. type: string
  5300. enumdicname:
  5301. description: 单位名称
  5302. type: string
  5303. goodscode:
  5304. description: 点价合约代码
  5305. type: string
  5306. goodsid:
  5307. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  5308. type: integer
  5309. goodsname:
  5310. description: 点价商品名称
  5311. type: string
  5312. margin:
  5313. description: 当前保证金
  5314. type: number
  5315. meruserid:
  5316. description: 跟单员id
  5317. type: integer
  5318. meruserlogincode:
  5319. description: 跟单员登录代码
  5320. type: string
  5321. merusername:
  5322. description: 跟单员名称
  5323. type: string
  5324. pointdesc:
  5325. description: 点价备注
  5326. type: string
  5327. price:
  5328. description: 价格\暂定价 [1:一口价、3:暂定价]
  5329. type: number
  5330. pricemove:
  5331. description: 升贴水 [2:点价 3:暂定价]
  5332. type: number
  5333. pricetype:
  5334. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5335. type: integer
  5336. producttype:
  5337. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5338. type: integer
  5339. qty:
  5340. description: 数量
  5341. type: number
  5342. remark:
  5343. description: 备注
  5344. type: string
  5345. saleuserid:
  5346. description: 业务员id
  5347. type: integer
  5348. saleuserlogincode:
  5349. description: 业务员登录代码
  5350. type: string
  5351. saleusername:
  5352. description: 业务员名称
  5353. type: string
  5354. sellnickname:
  5355. description: 采购方昵称
  5356. type: string
  5357. selluserid:
  5358. description: 销售方ID
  5359. type: integer
  5360. sellusername:
  5361. description: 销售方名称
  5362. type: string
  5363. spotcontractid:
  5364. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  5365. type: string
  5366. spotgoodsbrandid:
  5367. description: 现货品牌ID(DGFactoryItem表的ID)
  5368. type: integer
  5369. spotgoodsdesc:
  5370. description: 商品型号
  5371. type: string
  5372. startdate:
  5373. description: 点价开始日期 [2:点价 3:暂定价]
  5374. type: string
  5375. subjectid:
  5376. description: 交易主体ID
  5377. type: integer
  5378. subjectname:
  5379. description: 交易主体名称
  5380. type: string
  5381. tradeuserid:
  5382. description: 交易员id
  5383. type: integer
  5384. tradeuserlogincode:
  5385. description: 交易员登录代码
  5386. type: string
  5387. tradeusername:
  5388. description: 交易员名称
  5389. type: string
  5390. unitid:
  5391. description: 单位id(取品类上的单位id)
  5392. type: integer
  5393. updatetime:
  5394. description: 更新时间
  5395. type: string
  5396. userid:
  5397. description: 所属机构ID
  5398. type: integer
  5399. vatrate:
  5400. description: 增值税率
  5401. type: number
  5402. wrstandardcode:
  5403. description: 品类代码
  5404. type: string
  5405. wrstandardid:
  5406. description: 品类ID
  5407. type: integer
  5408. wrstandardname:
  5409. description: 品类名称
  5410. type: string
  5411. type: object
  5412. models.Ermcp3ContractMiddleGoodsCfg:
  5413. properties:
  5414. agreeunit:
  5415. description: 合约乘数
  5416. type: number
  5417. convertratio:
  5418. description: 期货品种系数
  5419. type: number
  5420. covertqty:
  5421. description: 折算手数 =【待点价量 / (合约乘数*期货品种系数) 】
  5422. type: integer
  5423. middlegoodsid:
  5424. description: 套保品种ID
  5425. type: integer
  5426. middlegoodspricedqty3:
  5427. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  5428. example: "0"
  5429. type: string
  5430. pendingpricedqty:
  5431. description: 待点价量
  5432. example: "0"
  5433. type: string
  5434. relatedmiddlegoodsqty:
  5435. description: 已关联量(套保品种-期货)
  5436. example: "0"
  5437. type: string
  5438. spotcontractid:
  5439. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  5440. type: string
  5441. type: object
  5442. models.Ermcp3ExposureContractDetail:
  5443. properties:
  5444. biztype:
  5445. description: 业务类型 1-套保 2-套利
  5446. type: integer
  5447. brandname:
  5448. description: 品牌名称
  5449. type: string
  5450. buyuserid:
  5451. description: 采购方id
  5452. type: integer
  5453. buyusername:
  5454. description: 采购方名称
  5455. type: string
  5456. contractno:
  5457. description: 合同编号
  5458. type: string
  5459. contracttype:
  5460. description: 现货合同类型 - 1:采购 -1:销售
  5461. type: integer
  5462. convertfactor:
  5463. description: 标仓系数
  5464. type: number
  5465. convertratio:
  5466. description: 折算系数(套保品种)
  5467. type: number
  5468. curqty:
  5469. description: 今定价量
  5470. type: number
  5471. deliverygoodscode:
  5472. description: 现货品种代码
  5473. type: string
  5474. deliverygoodsid:
  5475. description: 现货品种id
  5476. type: integer
  5477. deliverygoodsname:
  5478. description: 现货品种名称
  5479. type: string
  5480. diffhedgeqty:
  5481. description: 套保变动量
  5482. type: number
  5483. diffneedhedgeqty:
  5484. description: 应套保变动量
  5485. type: number
  5486. diffqty:
  5487. description: 套保品种今变动量
  5488. type: number
  5489. enumdicname:
  5490. description: 单位名称
  5491. type: string
  5492. mgunitname:
  5493. description: 套保品种单位名称
  5494. type: string
  5495. middlegoodscode:
  5496. description: 套保品种代码
  5497. type: string
  5498. middlegoodsid:
  5499. description: 套保品种id
  5500. type: integer
  5501. middlegoodsname:
  5502. description: 套保品种名称
  5503. type: string
  5504. needarbitrageratio:
  5505. description: 应套利比例
  5506. type: number
  5507. needhedgeratio:
  5508. description: 应套保比例
  5509. type: number
  5510. pricedqty:
  5511. description: 已定价量
  5512. type: number
  5513. qty:
  5514. description: 合同量
  5515. type: number
  5516. reckondate:
  5517. description: 交易日(reckondate)
  5518. type: string
  5519. selluserid:
  5520. description: 销售方id
  5521. type: integer
  5522. sellusername:
  5523. description: 销售方名称
  5524. type: string
  5525. spotcontractid:
  5526. description: 合同id
  5527. type: string
  5528. todaypricedqty:
  5529. description: 今定价量
  5530. type: number
  5531. tradedate:
  5532. description: 交易日
  5533. type: string
  5534. unitid:
  5535. description: 品类单位id
  5536. type: integer
  5537. userid:
  5538. description: 机构id
  5539. type: integer
  5540. username:
  5541. description: 交易用户
  5542. type: string
  5543. wrstandardcode:
  5544. description: 现货商品代码
  5545. type: string
  5546. wrstandardid:
  5547. description: 现货商品id
  5548. type: integer
  5549. wrstandardname:
  5550. description: 现货商品名称
  5551. type: string
  5552. type: object
  5553. models.Ermcp3ExposureDetail:
  5554. properties:
  5555. areauserid:
  5556. description: 机构ID
  5557. type: integer
  5558. changeQty:
  5559. description: 套保变动量
  5560. type: number
  5561. contracttype:
  5562. description: 现货合同类型 - 1:采购 -1:销售
  5563. type: integer
  5564. convertfactor:
  5565. description: 标仓系数
  5566. type: number
  5567. convertratio:
  5568. description: 折算系数
  5569. type: number
  5570. createtime:
  5571. description: 时间
  5572. type: string
  5573. enumdicname:
  5574. description: 现货商品单位名称
  5575. type: string
  5576. logtype:
  5577. description: 类型 - 1:套保计划 2:现货合同
  5578. type: integer
  5579. mgunitid:
  5580. description: 套保品种单位id
  5581. type: integer
  5582. mgunitidname:
  5583. description: 套保品种单位名称
  5584. type: string
  5585. middlegoodsId:
  5586. description: 套保商品id
  5587. type: integer
  5588. middlegoodscode:
  5589. description: 套保商品代码
  5590. type: string
  5591. middlegoodsname:
  5592. description: 套保商品名称
  5593. type: string
  5594. qty:
  5595. description: 数量
  5596. type: number
  5597. relateNo:
  5598. description: 现货合同/套保计划编号
  5599. type: string
  5600. unitid:
  5601. description: 现货商品单位id
  5602. type: integer
  5603. wrstandardcode:
  5604. description: 现货商品代码
  5605. type: string
  5606. wrstandardid:
  5607. description: 现货商品ID(SEQ_WRSTANDARD)
  5608. type: integer
  5609. wrstandardname:
  5610. description: 现货商品名称
  5611. type: string
  5612. type: object
  5613. models.Ermcp3ExposureFutuDetail:
  5614. properties:
  5615. accountid:
  5616. description: 交易账户id
  5617. type: integer
  5618. accountname:
  5619. description: 交易账户
  5620. type: string
  5621. begindate:
  5622. description: 开始交易日
  5623. type: string
  5624. buyorsell:
  5625. description: 方向 0-买 1-卖
  5626. type: integer
  5627. diffmgqty:
  5628. description: 套保品种今变化量
  5629. type: number
  5630. diffneedqty:
  5631. description: 应套保总量变化量
  5632. type: number
  5633. difftradeqty:
  5634. description: 交易品种今变化量
  5635. type: number
  5636. enddate:
  5637. description: 结束交易日
  5638. type: string
  5639. enumdicname:
  5640. description: 单位名称
  5641. type: string
  5642. goodscode:
  5643. description: 商品代码
  5644. type: string
  5645. goodsid:
  5646. description: 商品id
  5647. type: integer
  5648. goodsname:
  5649. description: 商品名称
  5650. type: string
  5651. holdqty:
  5652. description: 期末持仓量
  5653. type: number
  5654. middlegoodscode:
  5655. description: 套保商品代码
  5656. type: string
  5657. middlegoodsid:
  5658. description: 套保商品id
  5659. type: integer
  5660. middlegoodsname:
  5661. description: 套保商品名称
  5662. type: string
  5663. oriholdqty:
  5664. description: 期初持仓量
  5665. type: number
  5666. reckondate:
  5667. description: 交易日(RECKONDATE)
  5668. type: string
  5669. todaycloseqty:
  5670. description: 今平仓量
  5671. type: number
  5672. todayopenqty:
  5673. description: 今开仓量
  5674. type: number
  5675. tradedate:
  5676. description: 交易日(RECKONDATE)
  5677. type: string
  5678. username:
  5679. description: 用户名称(交易用户)
  5680. type: string
  5681. type: object
  5682. models.Ermcp3ExposureHedgeplanDetail:
  5683. properties:
  5684. biztype:
  5685. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  5686. type: integer
  5687. changqty:
  5688. description: 应套保总量变化量
  5689. type: number
  5690. contracttype:
  5691. description: 计划类型 - 1:采购 -1:销售
  5692. type: integer
  5693. convertratio:
  5694. description: 折算系数(套保品种)
  5695. type: number
  5696. deliverygoodscode:
  5697. description: 现货商品代码
  5698. type: string
  5699. deliverygoodsid:
  5700. description: 现货商品id
  5701. type: integer
  5702. deliverygoodsname:
  5703. description: 现货商吕名称
  5704. type: string
  5705. dgunitid:
  5706. description: 现货商品单位id
  5707. type: integer
  5708. dgunitidname:
  5709. description: 单位名称(现货商品)
  5710. type: string
  5711. diffqty:
  5712. description: 套保品种今变动量
  5713. type: number
  5714. enumdicname:
  5715. description: 单位名称(品类)
  5716. type: string
  5717. hedgeplanid:
  5718. description: 套保计划id
  5719. type: string
  5720. hedgeplanno:
  5721. description: 套保计划名称
  5722. type: string
  5723. hedgeplanstatus:
  5724. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5725. type: integer
  5726. mgunitidname:
  5727. description: 单位名称(套保商品)
  5728. type: string
  5729. middlegoodscode:
  5730. description: 套保品种代码
  5731. type: string
  5732. middlegoodsid:
  5733. description: 套保品种id
  5734. type: integer
  5735. middlegoodsname:
  5736. description: 套保品种名称
  5737. type: string
  5738. needarbitrageratio:
  5739. description: 应套利比例
  5740. type: number
  5741. needhedgeratio:
  5742. description: 应套保比例
  5743. type: number
  5744. pricedqty:
  5745. description: 已定价量
  5746. type: number
  5747. qty:
  5748. description: 合同量
  5749. type: number
  5750. reckondate:
  5751. description: 交易日(reckondate)
  5752. type: string
  5753. tradedate:
  5754. description: 交易日(登记日)
  5755. type: string
  5756. unitid:
  5757. description: 品类单位id
  5758. type: integer
  5759. userid:
  5760. description: 机构id
  5761. type: integer
  5762. wrstandardcode:
  5763. description: 品类代码
  5764. type: string
  5765. wrstandardid:
  5766. description: 品类id
  5767. type: integer
  5768. wrstandardname:
  5769. description: 品类名称
  5770. type: string
  5771. type: object
  5772. models.Ermcp3ExposureParamChLog:
  5773. properties:
  5774. accountid:
  5775. description: 期货账户ID (作废, 默认为0)
  5776. type: integer
  5777. aftervalue:
  5778. description: 应套保\套利量变更后(调整后应套保总量)
  5779. type: number
  5780. areauserid:
  5781. description: 所属机构\交易用户ID
  5782. type: integer
  5783. beforevalue:
  5784. description: 应套保\套利量变更前(调整前应套保总量)
  5785. type: number
  5786. begindate:
  5787. description: 开始交易日
  5788. type: string
  5789. changelogtype:
  5790. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  5791. type: integer
  5792. curvalue:
  5793. description: 当前套保\套利量(套保总量|套利总量)
  5794. type: number
  5795. diffvalue:
  5796. description: 应套保总量变化量
  5797. type: number
  5798. enddate:
  5799. description: 结束交易日
  5800. type: string
  5801. logdatetime:
  5802. description: 流水日期
  5803. type: string
  5804. logid:
  5805. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  5806. type: string
  5807. middlegoodscode:
  5808. description: 套保品种代码
  5809. type: string
  5810. middlegoodsid:
  5811. description: 套保品种
  5812. type: integer
  5813. middlegoodsname:
  5814. description: 套保品种名称
  5815. type: string
  5816. paramaftervalue:
  5817. description: 参数变更后(调整后参数值)
  5818. type: number
  5819. parambeforevalue:
  5820. description: 参数变更前(调整前参数值)
  5821. type: number
  5822. reckondate:
  5823. description: 交易日(reckondate)
  5824. type: string
  5825. tradedate:
  5826. description: 交易日(yyyyMMdd)
  5827. type: string
  5828. type: object
  5829. models.Ermcp3ExpourseReport:
  5830. properties:
  5831. accountid:
  5832. description: 期货账户ID (作废, 默认为0)
  5833. type: integer
  5834. accountname:
  5835. description: 机构名称
  5836. type: string
  5837. arbitrageqty:
  5838. description: 套利量
  5839. type: number
  5840. areauserid:
  5841. description: 所属机构\交易用户ID
  5842. type: integer
  5843. begindate:
  5844. description: 开始交易日
  5845. type: string
  5846. buyfutureqty:
  5847. description: 买入期货数量
  5848. type: number
  5849. buyplanqty:
  5850. description: 采购计划数量
  5851. type: number
  5852. buypricedqty:
  5853. description: 采购合同已定价数量
  5854. type: number
  5855. cycletime:
  5856. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5857. type: string
  5858. cycletype:
  5859. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5860. type: integer
  5861. diffexposure:
  5862. description: 变动量(套保敞口)
  5863. type: number
  5864. difffutuqty:
  5865. description: 变动量(期货)
  5866. type: number
  5867. diffhedgeqty:
  5868. description: 变动量(现货应套保总量)
  5869. type: number
  5870. diffmgqtya:
  5871. description: 套保变动量
  5872. type: number
  5873. diffmgqtyb:
  5874. description: 套利变动量
  5875. type: number
  5876. diffneedqty:
  5877. description: 应套变动量 = 应套保量 - 期初应套保量 + 应套利量 - 期初应套利量
  5878. type: number
  5879. diffqty:
  5880. description: 变动量(总敞口)
  5881. type: number
  5882. diffspotqty:
  5883. description: 变动量(现货) | 除税变动量
  5884. type: number
  5885. enddate:
  5886. description: 结束交易日
  5887. type: string
  5888. enumdicname:
  5889. description: 单位名称
  5890. type: string
  5891. hedgeqty:
  5892. description: 套保量
  5893. type: number
  5894. mgneedhedgeratio:
  5895. description: 套保比例(套保品的)
  5896. type: number
  5897. middlegoodsid:
  5898. description: 套保品种ID
  5899. type: integer
  5900. middlegoodsname:
  5901. description: 套保商品名称
  5902. type: string
  5903. middlgoodscode:
  5904. description: 套保商品代码
  5905. type: string
  5906. needarbitrageqty:
  5907. description: 应套利量
  5908. type: number
  5909. needarbitrageratio:
  5910. description: 套利比例(套保品的)
  5911. type: number
  5912. needhedgeexposoure:
  5913. description: 应套保敞口(套保敞口)
  5914. type: number
  5915. needhedgeqty:
  5916. description: 应套保量
  5917. type: number
  5918. needhedgeratio:
  5919. description: 应套保敞口比例
  5920. type: number
  5921. needqty:
  5922. description: 应套总量 = 应套保量 + 应套利量
  5923. type: number
  5924. oriarbitrageqty:
  5925. description: 期初套利量
  5926. type: number
  5927. oribuyfutureqty:
  5928. description: 期初买入期货数量
  5929. type: number
  5930. oribuyplanqty:
  5931. description: 期初采购计划数量
  5932. type: number
  5933. oribuypricedqty:
  5934. description: 期初采购合同已定价数量
  5935. type: number
  5936. orihedgeqty:
  5937. description: 期初套保量
  5938. type: number
  5939. orineedarbitrageqty:
  5940. description: 期初应套利量
  5941. type: number
  5942. orineedhedgeexposoure:
  5943. description: 期初应套保敞口
  5944. type: number
  5945. orineedhedgeqty:
  5946. description: 期初应套保量
  5947. type: number
  5948. orisellfutureqty:
  5949. description: 期初卖出期货数量
  5950. type: number
  5951. orisellplanqty:
  5952. description: 期初销售计划数量
  5953. type: number
  5954. orisellpricedqty:
  5955. description: 期初销售合同已定价数量
  5956. type: number
  5957. oritotalexposure:
  5958. description: 期初实时总敞口
  5959. type: number
  5960. oritotalfutureqty:
  5961. description: 期初期货头寸总量
  5962. type: number
  5963. oritotalneedhedgeqty:
  5964. description: 期初应套保总量
  5965. type: number
  5966. oritotalspotqty:
  5967. description: 期初现货头寸总量
  5968. type: number
  5969. reckondate:
  5970. description: 日照时期(yyyyMMdd)
  5971. type: string
  5972. sellfutureqty:
  5973. description: 卖出期货数量
  5974. type: number
  5975. sellplanqty:
  5976. description: 销售计划数量
  5977. type: number
  5978. sellpricedqty:
  5979. description: 销售合同已定价数量
  5980. type: number
  5981. totalexposure:
  5982. description: 实时总敞口(总敞口)
  5983. type: number
  5984. totalfutureqty:
  5985. description: 期货头寸总量(期货总量)
  5986. type: number
  5987. totalhedgeratio:
  5988. description: 敞口比例
  5989. type: number
  5990. totalneedhedgeqty:
  5991. description: 应套保总量(现货应套保总量)
  5992. type: number
  5993. totalspotqty:
  5994. description: 现货头寸总量 | 除税总量
  5995. type: number
  5996. unitid:
  5997. description: 单位id
  5998. type: integer
  5999. updatetime:
  6000. description: 更新时间
  6001. type: string
  6002. type: object
  6003. models.Ermcp3FinanceReport:
  6004. properties:
  6005. accountname:
  6006. description: 机构名称
  6007. type: string
  6008. areauserid:
  6009. description: 所属机构\交易用户ID
  6010. type: integer
  6011. begindate:
  6012. description: 开始交易日
  6013. type: string
  6014. biztype:
  6015. description: 业务类型 - 1:套保 2:套利
  6016. type: integer
  6017. brandname:
  6018. description: 品牌名称
  6019. type: string
  6020. buypreinvoicedamount:
  6021. description: 采购预收票额(预收票额)
  6022. type: number
  6023. buyprepaidamount:
  6024. description: 采购预付款额(预付货款额)
  6025. type: number
  6026. buytodayinvoiceamount:
  6027. description: 采购今收票额(今收票额)
  6028. type: number
  6029. buytodayrefundamount:
  6030. description: 采购今收退款额(今收退款额)
  6031. type: number
  6032. buytodaysettleamount:
  6033. description: 采购今付款额(今付货款额)
  6034. type: number
  6035. buyuninvoicedamount:
  6036. description: 采购应收票额(应收票额)
  6037. type: number
  6038. buyunpaidamount:
  6039. description: 采购应付款额(应付货款额)
  6040. type: number
  6041. currencyid:
  6042. description: 结算币种ID
  6043. type: integer
  6044. currencyname:
  6045. description: 币种名称
  6046. type: string
  6047. cycletime:
  6048. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6049. type: string
  6050. cycletype:
  6051. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6052. type: integer
  6053. deliverygoodscode:
  6054. description: 现货品种代码
  6055. type: string
  6056. deliverygoodsid:
  6057. description: 现货品种ID
  6058. type: integer
  6059. deliverygoodsname:
  6060. description: 现货品种名称
  6061. type: string
  6062. enddate:
  6063. description: 结束交易日
  6064. type: string
  6065. reckondate:
  6066. description: 日照时期(yyyyMMdd)
  6067. type: string
  6068. sellpreinvoicedamount:
  6069. description: 销售预开票额(预开票额)
  6070. type: number
  6071. sellprepaidamount:
  6072. description: 销售预收款额(预收货款额)
  6073. type: number
  6074. selltodayinvoiceamount:
  6075. description: 销售今开票额(今开票额)
  6076. type: number
  6077. selltodayrefundamount:
  6078. description: 销售今付退款额(今付退款额)
  6079. type: number
  6080. selltodaysettleamount:
  6081. description: 销售今收款额(今收货款额)
  6082. type: number
  6083. selluninvoicedamount:
  6084. description: 销售应开票额(应开票额)
  6085. type: number
  6086. sellunpaidamount:
  6087. description: 销售应收款额(应收货款额)
  6088. type: number
  6089. spotgoodsbrandid:
  6090. description: 现货品牌ID
  6091. type: integer
  6092. todaypaysum:
  6093. description: 今付款合计
  6094. type: number
  6095. todayreceivesum:
  6096. description: 今收款合计
  6097. type: number
  6098. updatetime:
  6099. description: 更新时间
  6100. type: string
  6101. wrfactortypeid:
  6102. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  6103. type: integer
  6104. wrstandardcode:
  6105. description: 品类代码
  6106. type: string
  6107. wrstandardid:
  6108. description: 现货商品ID
  6109. type: integer
  6110. wrstandardname:
  6111. description: 品类名称
  6112. type: string
  6113. type: object
  6114. models.Ermcp3GoodsGroup:
  6115. properties:
  6116. agreeunit:
  6117. description: 合约单位
  6118. type: number
  6119. areauserid:
  6120. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  6121. type: integer
  6122. canshort:
  6123. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  6124. type: integer
  6125. closepricemode:
  6126. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  6127. type: integer
  6128. createtime:
  6129. description: 创建时间
  6130. type: string
  6131. creatorid:
  6132. description: 创建人
  6133. type: integer
  6134. currencyid:
  6135. description: 报价货币ID
  6136. type: integer
  6137. decimalplace:
  6138. description: 报价小数位
  6139. type: integer
  6140. enumdicname:
  6141. description: 单位名称
  6142. type: string
  6143. exchangefullname:
  6144. description: 交易所全称
  6145. type: string
  6146. excludecfg:
  6147. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  6148. type: integer
  6149. exexchangecode:
  6150. description: 交易所代码
  6151. type: string
  6152. exexchangeid:
  6153. description: 外部交易所ID[通道交易]
  6154. type: integer
  6155. exexchangename:
  6156. description: 交易所名称
  6157. type: string
  6158. goodsgroupid:
  6159. description: 商品组ID(自增ID)
  6160. type: integer
  6161. goodsgroupname:
  6162. description: 商品组名称
  6163. type: string
  6164. goodsgroupstatus:
  6165. description: 商品组状态 - 1:正常 2:注销
  6166. type: integer
  6167. goodunitid:
  6168. description: 报价单位ID
  6169. type: integer
  6170. groupcategroyid:
  6171. description: 品种分类ID
  6172. type: integer
  6173. innerdealmode:
  6174. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  6175. type: integer
  6176. marketid:
  6177. description: 所属市场ID
  6178. type: integer
  6179. modifierid:
  6180. description: 修改人
  6181. type: integer
  6182. modifytime:
  6183. description: 修改时间
  6184. type: string
  6185. outerdealmode:
  6186. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  6187. type: integer
  6188. outergroupcode:
  6189. description: 外部商品组代码[通道交易]
  6190. type: string
  6191. quoteminunit:
  6192. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6193. type: integer
  6194. quotesourcegroupid:
  6195. description: 所属行情源分组ID[参考行情市场用\通道交易]
  6196. type: integer
  6197. syncgoodsqty:
  6198. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  6199. type: integer
  6200. required:
  6201. - areauserid
  6202. type: object
  6203. models.Ermcp3HPMiddleGoods:
  6204. properties:
  6205. biztype:
  6206. description: 业务类型 1:套保 2:套利
  6207. type: integer
  6208. contracttype:
  6209. description: 合同类型 1:采购 -1:销售
  6210. type: integer
  6211. convertratio:
  6212. description: 折算系数
  6213. type: number
  6214. customername:
  6215. description: 对手手名称
  6216. type: string
  6217. customeruserid:
  6218. description: 对手id
  6219. type: integer
  6220. enumdicname:
  6221. description: 现货单位名称
  6222. type: string
  6223. hedgeplanid:
  6224. description: 计划id
  6225. type: string
  6226. hedgeplanno:
  6227. description: 计划编号
  6228. type: string
  6229. middlegoodsid:
  6230. description: 套保品种ID
  6231. type: integer
  6232. middlegoodsplanqty3:
  6233. description: 应套保计划量
  6234. type: number
  6235. needhedgeratio:
  6236. description: 套保比例
  6237. type: number
  6238. pricedqty:
  6239. description: 已定价量
  6240. type: number
  6241. relatedmiddlegoodsqty:
  6242. description: 已关联量(套保品种)(期货)
  6243. type: number
  6244. unitid:
  6245. description: 现货单位id
  6246. type: integer
  6247. userid:
  6248. description: 用户id
  6249. type: integer
  6250. vatrate:
  6251. description: 增值税率
  6252. type: number
  6253. wrstandardcode:
  6254. description: 现货商品代码
  6255. type: string
  6256. wrstandardid:
  6257. description: 现货商品id
  6258. type: integer
  6259. wrstandardname:
  6260. description: 现货商品名称
  6261. type: string
  6262. type: object
  6263. models.Ermcp3HedgePlan:
  6264. properties:
  6265. accountid:
  6266. description: 资金账号
  6267. type: integer
  6268. areauserid:
  6269. description: 用户ID
  6270. type: integer
  6271. auditid:
  6272. description: 审核id
  6273. type: integer
  6274. auditname:
  6275. description: 审核人名称
  6276. type: string
  6277. auditremark:
  6278. description: 审核备注
  6279. type: string
  6280. auditsrc:
  6281. description: 审核来源 1-管理端 2-终端
  6282. type: integer
  6283. audittime:
  6284. description: 审核时间
  6285. type: string
  6286. contracttype:
  6287. description: 计划类型 - 1:采购 -1:销售
  6288. type: integer
  6289. convertfactor:
  6290. description: 标仓系数
  6291. type: number
  6292. createtime:
  6293. description: 创建时间
  6294. type: string
  6295. currencyid:
  6296. description: 币种id
  6297. type: integer
  6298. currencyname:
  6299. description: 币种名称
  6300. type: string
  6301. deliverygoodscode:
  6302. description: 现货品种代码
  6303. type: string
  6304. deliverygoodsid:
  6305. description: 现货品种ID
  6306. type: integer
  6307. deliverygoodsname:
  6308. description: 现货品种名称
  6309. type: string
  6310. enumdicname:
  6311. description: 单位名称(现货商品)
  6312. type: string
  6313. hedgeplanid:
  6314. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  6315. type: string
  6316. hedgeplanno:
  6317. description: 套保计划编号(名称)
  6318. type: string
  6319. hedgeplanstatus:
  6320. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6321. type: integer
  6322. planqty:
  6323. description: 计划数量
  6324. type: number
  6325. plantime:
  6326. description: 计划时间
  6327. type: string
  6328. producttype:
  6329. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6330. type: integer
  6331. remark:
  6332. description: 备注
  6333. type: string
  6334. spotgoodsdesc:
  6335. description: 商品型号
  6336. type: string
  6337. taaccountname:
  6338. description: 资金账号名称
  6339. type: string
  6340. tradeuserid:
  6341. description: 交易用户id
  6342. type: integer
  6343. tradeusername:
  6344. description: 交易用户名称
  6345. type: string
  6346. unitid:
  6347. description: 单位id(现货商品)
  6348. type: integer
  6349. updatetime:
  6350. description: 更新时间
  6351. type: string
  6352. vatrate:
  6353. description: 增值税率
  6354. type: number
  6355. wrstandardcode:
  6356. description: 品类代码
  6357. type: string
  6358. wrstandardid:
  6359. description: 品类id
  6360. type: integer
  6361. wrstandardname:
  6362. description: 品类名称
  6363. type: string
  6364. wrunitid:
  6365. description: 品类单位id
  6366. type: integer
  6367. wrunitidame:
  6368. description: 品类单位名称
  6369. type: string
  6370. type: object
  6371. models.Ermcp3InnerTradeLink:
  6372. properties:
  6373. accountid:
  6374. description: 期货账号代码 | 资金账号ID
  6375. type: integer
  6376. buyorsell:
  6377. description: 方向 - 0:买 1:卖
  6378. type: integer
  6379. channelbuildtype:
  6380. description: 委托单据类型 0:无 1:建仓 2:平仓
  6381. type: integer
  6382. currencyid:
  6383. description: 币种id
  6384. type: integer
  6385. currencyname:
  6386. description: 结算币种 名称
  6387. type: string
  6388. goodscode:
  6389. description: 商品代码
  6390. type: string
  6391. goodsid:
  6392. description: 商品ID
  6393. type: integer
  6394. goodsname:
  6395. description: 商品名称
  6396. type: string
  6397. outtradeid:
  6398. description: 外部成交单号
  6399. type: string
  6400. taname:
  6401. description: 期货账户名称
  6402. type: string
  6403. tradeid:
  6404. description: 期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6405. type: string
  6406. tradeprice:
  6407. description: 成交价格
  6408. type: number
  6409. tradeqty:
  6410. description: 期货成交数量
  6411. type: integer
  6412. tradetime:
  6413. description: 关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间
  6414. type: string
  6415. username:
  6416. description: 用户名称
  6417. type: string
  6418. type: object
  6419. models.Ermcp3OutTradeLink:
  6420. properties:
  6421. buyorsell:
  6422. description: 买卖方向 - 0:买 1:卖
  6423. type: integer
  6424. channelbuildtype:
  6425. description: 开平标志- 0:无 1:建仓 2:平仓
  6426. type: integer
  6427. currencyname:
  6428. description: 币种名称
  6429. type: string
  6430. exexchangecode:
  6431. description: 交易所代码
  6432. type: string
  6433. exexchangename:
  6434. description: 交易所名称
  6435. type: string
  6436. goodscode:
  6437. description: 合约代码
  6438. type: string
  6439. goodsid:
  6440. description: 合约id
  6441. type: integer
  6442. goodsname:
  6443. description: 合约名称
  6444. type: string
  6445. hasinnerorder:
  6446. description: 是否有内部单关联 - 0:无 1:有
  6447. type: integer
  6448. hedgeaccountcode:
  6449. description: 外部账号 | 对冲账号
  6450. type: string
  6451. outtradeid:
  6452. description: 外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6453. type: string
  6454. tradeprice:
  6455. description: 成交价格
  6456. type: number
  6457. tradeqty:
  6458. description: 成交数量
  6459. type: integer
  6460. tradetime:
  6461. description: 成交时间
  6462. type: string
  6463. type: object
  6464. models.Ermcp3PaAreaAuditCfg:
  6465. properties:
  6466. areauserid:
  6467. description: 用户ID
  6468. type: integer
  6469. buyinauditflag:
  6470. description: 采购入库是否需要审核 - 0:不需审核 1:需要审核
  6471. type: integer
  6472. costratioauditflag:
  6473. description: 现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核
  6474. type: integer
  6475. customerauditflag:
  6476. description: 客户资料是否需要审核 - 0:不需审核 1:需要审核
  6477. type: integer
  6478. deliveryauditflag:
  6479. description: 交收是否需要审核 - 0:不需审核 1:需要审核
  6480. type: integer
  6481. invoiceauditflag:
  6482. description: 发票是否需要审核 - 0:不需审核 1:需要审核
  6483. type: integer
  6484. mgneedhedgeratioauditflag:
  6485. description: 套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核
  6486. type: integer
  6487. moneyauditflag:
  6488. description: 款项是否需要审核 - 0:不需审核 1:需要审核
  6489. type: integer
  6490. operatorid:
  6491. description: 操作人
  6492. type: integer
  6493. operatorsrc:
  6494. description: 操作来源 - 1:管理端 2:终端
  6495. type: integer
  6496. pointpriceauditflag:
  6497. description: 点价是否需要审核 - 0:不需审核 1:需要审核
  6498. type: integer
  6499. produceinauditflag:
  6500. description: 生产入库是否需要审核 - 0:不需审核 1:需要审核
  6501. type: integer
  6502. produceoutauditflag:
  6503. description: 生产出库是否需要审核 - 0:不需审核 1:需要审核
  6504. type: integer
  6505. selloutauditflag:
  6506. description: 销售出库是否需要审核 - 0:不需审核 1:需要审核
  6507. type: integer
  6508. sgconvertratioauditflag:
  6509. description: 现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核
  6510. type: integer
  6511. sgvtaratioauditflag:
  6512. description: 现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核
  6513. type: integer
  6514. spotcontractauditflag:
  6515. description: 现货合同是否需要审核 - 0:不需审核 1:需要审核
  6516. type: integer
  6517. updatetime:
  6518. description: 更新时间
  6519. type: string
  6520. type: object
  6521. models.Ermcp3PaAreaSubject:
  6522. properties:
  6523. areauserid:
  6524. description: 所属机构
  6525. type: integer
  6526. canmodify:
  6527. description: 是否可修改 - 0:否 1:是
  6528. type: integer
  6529. createtime:
  6530. description: 创建时间
  6531. type: string
  6532. creatorid:
  6533. description: 创建人ID
  6534. type: string
  6535. creatorsrc:
  6536. description: 创建人来源 - 1:管理端 2:终端 3:交易
  6537. type: integer
  6538. modifierid:
  6539. description: 修改人
  6540. type: string
  6541. modifiersrc:
  6542. description: 修改人来源 - 1:管理端 2:终端
  6543. type: integer
  6544. modifytime:
  6545. description: 修改时间
  6546. type: string
  6547. parentsubjectid:
  6548. description: 上级主体ID
  6549. type: string
  6550. remark:
  6551. description: 备注
  6552. type: string
  6553. subjectid:
  6554. description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  6555. type: integer
  6556. subjectname:
  6557. description: 主体名称
  6558. type: string
  6559. subjectstatus:
  6560. description: '主体状态 - 1:正常 2: 停用'
  6561. type: integer
  6562. subjecttype:
  6563. description: 主体类型 - 1:交易主体 2:业务部门
  6564. type: integer
  6565. type: object
  6566. models.Ermcp3PaTradeLink:
  6567. properties:
  6568. accountid:
  6569. description: 期货账户代码 | 账号ID
  6570. type: integer
  6571. agreeunit:
  6572. description: 合约乘数
  6573. type: number
  6574. buyorsell:
  6575. description: 方向 - 0:买 1:卖
  6576. type: integer
  6577. channelbuildtype:
  6578. description: 委托单据类型 0:无 1:建仓 2:平仓
  6579. type: integer
  6580. charge:
  6581. description: 手续费
  6582. type: number
  6583. closepl:
  6584. description: 平仓盈亏
  6585. type: number
  6586. closetype:
  6587. description: 平仓方式 - 0:无 1:平今 2:平昨
  6588. type: integer
  6589. convertratio:
  6590. description: 折算系数
  6591. type: number
  6592. enumdicname:
  6593. description: 单位名称
  6594. type: string
  6595. executeprice:
  6596. description: 执行价 [期权]
  6597. type: integer
  6598. goodscode:
  6599. description: 合约代码
  6600. type: string
  6601. goodsgroupid:
  6602. description: 对冲品种ID[期货合约商品组ID]
  6603. type: integer
  6604. goodsid:
  6605. description: 商品ID
  6606. type: integer
  6607. goodsname:
  6608. description: 合约名称
  6609. type: string
  6610. goodunitid:
  6611. description: 单位id
  6612. type: integer
  6613. hedgeflag:
  6614. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  6615. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  6616. type: integer
  6617. marketid:
  6618. description: 市场ID
  6619. type: integer
  6620. middlegoodsid:
  6621. description: 套保品种ID
  6622. type: integer
  6623. middlegoodsqty:
  6624. description: 套保品种数量 = TradeQty * AgreeUnit * ConvertRatio
  6625. type: number
  6626. optioncode:
  6627. description: 期权代码 [期权]
  6628. type: string
  6629. ordertype:
  6630. description: 单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单
  6631. type: integer
  6632. ordertypename:
  6633. description: 订单类型
  6634. type: string
  6635. parentaccountid:
  6636. description: 所属母账户
  6637. type: integer
  6638. premium:
  6639. description: 权利金 [期权]
  6640. type: number
  6641. relatedlot:
  6642. description: 已关联数量(已关联数量手) | db:关联手数
  6643. type: number
  6644. relatedouttradeid:
  6645. description: 关联外部成交单ID
  6646. type: string
  6647. relatedqty:
  6648. description: 关联数量
  6649. type: number
  6650. spotcontractid:
  6651. description: 现货合同ID [4:套期保值\10\11]
  6652. type: string
  6653. taname:
  6654. description: 期货账户名称
  6655. type: string
  6656. tradeamount:
  6657. description: 成交金额(账户)
  6658. type: number
  6659. tradedate:
  6660. description: 交易日(yyyyMMdd)
  6661. type: string
  6662. tradeid:
  6663. description: 期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6664. type: string
  6665. tradelot:
  6666. description: 成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数
  6667. type: integer
  6668. tradeprice:
  6669. description: 成交价格
  6670. type: number
  6671. tradetime:
  6672. description: 时间 | db:成交时间
  6673. type: string
  6674. tradetype:
  6675. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  6676. type: integer
  6677. userid:
  6678. description: 所属机构 - 所属母账户的UserID
  6679. type: string
  6680. username:
  6681. description: 用户名称
  6682. type: string
  6683. type: object
  6684. models.Ermcp3ParamChangeApp:
  6685. properties:
  6686. aftervalue:
  6687. description: 变更后
  6688. type: number
  6689. applicationid:
  6690. description: 申请ID(619+Unix秒时间戳(10位)+xxxxxx)
  6691. type: string
  6692. applyid:
  6693. description: 申请人
  6694. type: string
  6695. applyname:
  6696. description: 申请人名称(代码)
  6697. type: string
  6698. applyremark:
  6699. description: 申请备注
  6700. type: string
  6701. applysrc:
  6702. description: 申请来源 - 1:管理端 2:终端
  6703. type: integer
  6704. applystatus:
  6705. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  6706. type: integer
  6707. applytime:
  6708. description: 申请时间
  6709. type: string
  6710. areauserid:
  6711. description: 所属机构用户ID
  6712. type: integer
  6713. auditid:
  6714. description: 审核人
  6715. type: string
  6716. auditname:
  6717. description: 审核人名称(代码)
  6718. type: string
  6719. auditremark:
  6720. description: 审核备注
  6721. type: string
  6722. auditsrc:
  6723. description: 审核来源 - 1:管理端 2:终端
  6724. type: integer
  6725. audittime:
  6726. description: 审核时间
  6727. type: string
  6728. audittradedate:
  6729. description: 审核交易日(yyyyMMdd)
  6730. type: string
  6731. beforevalue:
  6732. description: 变更前
  6733. type: number
  6734. deliverygoodscode:
  6735. description: 品种代码
  6736. type: string
  6737. deliverygoodsid:
  6738. description: 品种id
  6739. type: integer
  6740. deliverygoodsname:
  6741. description: 品种名称
  6742. type: string
  6743. middlegoodscode:
  6744. description: 套保品种代码
  6745. type: string
  6746. middlegoodsid:
  6747. description: 套保品种ID [ParamChangeType = 2,3,4]
  6748. type: integer
  6749. middlegoodsname:
  6750. description: 套保品种名称
  6751. type: string
  6752. operatetype:
  6753. description: 操作类型 - 1:新增 2:修改
  6754. type: integer
  6755. paramchangetype:
  6756. description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  6757. type: integer
  6758. wrstandardcode:
  6759. description: 现货商品代码
  6760. type: string
  6761. wrstandardid:
  6762. description: 现货商品ID [ParamChangeType = 1,2,3]
  6763. type: integer
  6764. wrstandardname:
  6765. description: 现货商品名称
  6766. type: string
  6767. type: object
  6768. models.Ermcp3RootUserAccount:
  6769. properties:
  6770. accountname:
  6771. description: 账户名称(机构名称)
  6772. type: string
  6773. accountstatus:
  6774. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6775. type: integer
  6776. applysrc:
  6777. description: 申请来源 - 1:管理端 2:终端
  6778. type: integer
  6779. auditremark:
  6780. description: 审核备注
  6781. type: string
  6782. auditsrc:
  6783. description: 审核来源 - 1:管理端 2:终端
  6784. type: integer
  6785. audittime:
  6786. description: 审核时间
  6787. type: string
  6788. audituserid:
  6789. description: 审核人
  6790. type: integer
  6791. broker:
  6792. description: 所属经纪人ID
  6793. type: integer
  6794. canceltime:
  6795. description: 销户时间
  6796. type: string
  6797. canceluserid:
  6798. description: 销户人
  6799. type: integer
  6800. canrecommend:
  6801. description: 是否可推荐 - 0:不可 1;可
  6802. type: integer
  6803. createtime:
  6804. description: 创建时间
  6805. type: string
  6806. creatorid:
  6807. description: 创建人
  6808. type: integer
  6809. hasauth:
  6810. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  6811. type: integer
  6812. isanonymous:
  6813. description: 是否匿名下单 - 0:否 1:是
  6814. type: integer
  6815. maxinvestornum:
  6816. description: 最大用户数(经纪会员下投资者个数)
  6817. type: integer
  6818. memberuserid:
  6819. description: 所属会员ID
  6820. type: integer
  6821. modifierid:
  6822. description: 修改人
  6823. type: integer
  6824. modifyremark:
  6825. description: 变更备注
  6826. type: string
  6827. modifystatus:
  6828. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  6829. type: integer
  6830. modifytime:
  6831. description: 修改时间
  6832. type: string
  6833. nickname:
  6834. description: 昵称
  6835. type: string
  6836. parenttopuser:
  6837. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  6838. type: string
  6839. parentuserid:
  6840. description: 所属机构ID
  6841. type: integer
  6842. reckonaccountid:
  6843. description: 默认结算资金账号ID(机构分润使用) 作废
  6844. type: integer
  6845. refercount:
  6846. description: 推荐总人数
  6847. type: integer
  6848. refereeuserid:
  6849. description: 推荐人ID
  6850. type: integer
  6851. refernum:
  6852. description: 推荐码
  6853. type: string
  6854. rootuserid:
  6855. description: 根用户ID
  6856. type: integer
  6857. subaccountlevel:
  6858. description: 子账户层数
  6859. type: integer
  6860. subarealevelpath:
  6861. description: 子机构层级路径(逗号分隔,首尾加逗号)
  6862. type: string
  6863. userid:
  6864. description: 用户ID
  6865. type: integer
  6866. usertype:
  6867. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6868. type: integer
  6869. type: object
  6870. models.Ermcp3SCMiddleGoods:
  6871. properties:
  6872. biztype:
  6873. description: 业务类型 1:套保 2:套利
  6874. type: integer
  6875. contractno:
  6876. description: 合同编号
  6877. type: string
  6878. contracttype:
  6879. description: 合同类型 1:采购 -1:销售
  6880. type: integer
  6881. convertratio:
  6882. description: 折算系数
  6883. type: number
  6884. customername:
  6885. description: 对手手名称
  6886. type: string
  6887. customeruserid:
  6888. description: 对手id
  6889. type: integer
  6890. deliverygoodscode:
  6891. description: 现货品种代码
  6892. type: string
  6893. deliverygoodsid:
  6894. description: 现货品种ID
  6895. type: integer
  6896. deliverygoodsname:
  6897. description: 现货品种名称
  6898. type: string
  6899. enumdicname:
  6900. description: 现货单位名称
  6901. type: string
  6902. middlegoodsid:
  6903. description: 套保品种ID
  6904. type: integer
  6905. middlegoodspricedqty3:
  6906. description: 应套保数量 = MiddleGoodsPricedQty2 * 套保比率
  6907. type: number
  6908. needhedgeratio:
  6909. description: 套保比例
  6910. type: number
  6911. pricedqty:
  6912. description: 已定价量
  6913. type: number
  6914. relatedmiddlegoodsqty:
  6915. description: 已关联量(套保品种)(期货)
  6916. type: number
  6917. spotcontractid:
  6918. description: 合同编号
  6919. type: string
  6920. unitid:
  6921. description: 现货单位id
  6922. type: integer
  6923. userid:
  6924. description: 用户id
  6925. type: integer
  6926. vatrate:
  6927. description: 增值税率
  6928. type: number
  6929. wrstandardcode:
  6930. description: 现货商品代码
  6931. type: string
  6932. wrstandardid:
  6933. description: 现货商品id
  6934. type: integer
  6935. wrstandardname:
  6936. description: 现货商品名称
  6937. type: string
  6938. type: object
  6939. models.Ermcp3SCMiddleGoodsReport:
  6940. properties:
  6941. begindate:
  6942. description: 开始交易日
  6943. type: string
  6944. contractno:
  6945. description: 合同编号
  6946. type: string
  6947. contracttype:
  6948. description: 合同类型 1:采购 -1:销售
  6949. type: integer
  6950. convertratio:
  6951. description: 折算系数
  6952. type: number
  6953. cycletime:
  6954. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6955. type: string
  6956. cycletype:
  6957. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6958. type: integer
  6959. deliverygoodscode:
  6960. description: 品种代码
  6961. type: string
  6962. deliverygoodsid:
  6963. description: 现货品种ID
  6964. type: integer
  6965. deliverygoodsname:
  6966. description: 品种名称
  6967. type: string
  6968. diffprice:
  6969. description: 现期价格差 = 今日点价登记均价(基价) - 今日期货成交均价
  6970. type: number
  6971. diffqty:
  6972. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  6973. type: number
  6974. enddate:
  6975. description: 结束交易日
  6976. type: string
  6977. hedgeplanqty:
  6978. description: 套保计划量 = TodayPricedQty * 折算系数 * (1/(1+增值税率)) * 套保比例
  6979. type: number
  6980. matchname:
  6981. description: 交易对手方(个人:用户名称 企业:简称)
  6982. type: string
  6983. matchnickname:
  6984. description: 交易对手方昵称
  6985. type: string
  6986. middlegoodscode:
  6987. description: 套保品种代码
  6988. type: string
  6989. middlegoodsid:
  6990. description: 套保品种ID
  6991. type: integer
  6992. middlegoodsname:
  6993. description: 套保品种名称
  6994. type: string
  6995. middlegoodspricedqty:
  6996. description: 已定价量(套保品种 - 税前) = PricedQty * 折算系数
  6997. type: number
  6998. middlegoodspricedqty2:
  6999. description: 已定价量(套保品种- 税后) = MiddleGoodsPricedQty * (1/(1+增值税率))
  7000. type: number
  7001. middlegoodspricedqty3:
  7002. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  7003. type: number
  7004. needhedgeratio:
  7005. description: 套保系数
  7006. type: number
  7007. pricedamount:
  7008. description: 已定价额(现货)
  7009. type: number
  7010. pricedamount2:
  7011. description: 已定价额(现货-基价额)
  7012. type: number
  7013. pricedqty:
  7014. description: 已定价量(现货)
  7015. type: number
  7016. reckondate:
  7017. description: 日照时期(yyyyMMdd)
  7018. type: string
  7019. relatedmiddlegoodsamount:
  7020. description: 已关联额(期货)
  7021. type: number
  7022. relatedmiddlegoodsqty:
  7023. description: 已关联量(套保品种)(期货)
  7024. type: number
  7025. spotcontractid:
  7026. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  7027. type: string
  7028. todayavgfutuprice:
  7029. description: 今日期货成交均价 = TodayRelatedMiddleGoodsAmount /todayrelatedfutureqty
  7030. type: number
  7031. todayavgprice:
  7032. description: 今日定价均价 = TodayPricedAmount / TodayPricedQty
  7033. type: number
  7034. todayavgprice2:
  7035. description: 今日点价登记均价(基价) = TodayPricedAmount2 / TodayPricedQty
  7036. type: number
  7037. todaypricedamount:
  7038. description: 今日定价额(现货)
  7039. type: number
  7040. todaypricedamount2:
  7041. description: 今日定价额(现货-基价额)
  7042. type: number
  7043. todaypricedqty:
  7044. description: 今日定价量(现货)
  7045. type: number
  7046. todayrelatedfutureqty:
  7047. description: 今日关联量(期货)
  7048. type: number
  7049. todayrelatedmiddlegoodsamount:
  7050. description: 今日关联额(期货)
  7051. type: number
  7052. todayrelatedmiddlegoodsqty:
  7053. description: 今日关联量(套保品-期货)
  7054. type: number
  7055. updatetime:
  7056. description: 更新时间
  7057. type: string
  7058. userid:
  7059. description: 合同所属用户id
  7060. type: integer
  7061. vatrate:
  7062. description: 增值税率
  7063. type: number
  7064. wrstandardcode:
  7065. description: 商品(品类) 代码
  7066. type: string
  7067. wrstandardid:
  7068. description: 现货商品ID
  7069. type: integer
  7070. wrstandardname:
  7071. description: 商品(品类) 名称
  7072. type: string
  7073. type: object
  7074. models.Ermcp3SellBuyContract:
  7075. properties:
  7076. accountid:
  7077. description: 期货账户id
  7078. type: string
  7079. accountname:
  7080. description: 账户名称
  7081. type: string
  7082. attachment:
  7083. description: 附件
  7084. type: string
  7085. audittime:
  7086. description: 审核时间
  7087. type: string
  7088. bizsubjectid:
  7089. description: 归属业务部门ID - SubjectID
  7090. type: integer
  7091. biztype:
  7092. description: 业务类型 1-套保 2-套利
  7093. type: integer
  7094. brandname:
  7095. description: 品牌名称
  7096. type: string
  7097. contracctstatus:
  7098. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  7099. type: integer
  7100. contractmargin:
  7101. description: 合同保证金
  7102. type: number
  7103. contractno:
  7104. description: 合同编号
  7105. type: string
  7106. contracttype:
  7107. description: 合同类型 1-采购, -1-销售
  7108. type: integer
  7109. convertfactor:
  7110. description: 标仓系数(品类)
  7111. type: number
  7112. createtime:
  7113. description: 创建时间
  7114. type: string
  7115. currencyid:
  7116. description: 币种id
  7117. type: integer
  7118. currencyname:
  7119. description: 币种名称
  7120. type: string
  7121. daikaiamount:
  7122. description: 应收(开)票额 | 未收票额
  7123. type: number
  7124. deliveryenddate:
  7125. description: 交割结束日
  7126. type: string
  7127. deliverygoodscode:
  7128. description: 现货品种代码
  7129. type: string
  7130. deliverygoodsid:
  7131. description: 现货商品ID
  7132. type: integer
  7133. deliverygoodsname:
  7134. description: 现货品种名称
  7135. type: string
  7136. deliverystartdate:
  7137. description: 交割开始日
  7138. type: string
  7139. enddate:
  7140. description: 点价结束日
  7141. type: string
  7142. enumdicname:
  7143. description: 单位名称
  7144. type: string
  7145. goodscode:
  7146. description: 点价商品代码
  7147. type: string
  7148. goodsgroupid:
  7149. description: 点价商品组id
  7150. type: integer
  7151. goodsid:
  7152. description: 点价商品ID
  7153. type: integer
  7154. goodsname:
  7155. description: 点价商品名称
  7156. type: string
  7157. invoiceamount:
  7158. description: 已开票额
  7159. type: number
  7160. loanamount:
  7161. description: 贷款总额=已定价额+调整金额
  7162. type: number
  7163. margin:
  7164. description: 保证金
  7165. type: number
  7166. meruserid:
  7167. description: 跟单员id
  7168. type: integer
  7169. meruserlogincode:
  7170. description: 跟单员登录代码
  7171. type: string
  7172. merusername:
  7173. description: 跟单员名称
  7174. type: string
  7175. nickname:
  7176. description: 账户昵称
  7177. type: string
  7178. orireckonrealqty:
  7179. description: 应交收量
  7180. type: number
  7181. payamount:
  7182. description: 已收付额(收款或付款)
  7183. type: number
  7184. preinvoiceamount:
  7185. description: 预收(开)票额
  7186. type: number
  7187. prepayamount:
  7188. description: 预收付额
  7189. type: number
  7190. price:
  7191. description: 价格
  7192. type: number
  7193. pricedamount:
  7194. description: 已定价额
  7195. type: number
  7196. pricedavg:
  7197. description: 已点均价
  7198. type: number
  7199. pricedqty:
  7200. description: 已定价量
  7201. type: number
  7202. pricemove:
  7203. description: 升贴水
  7204. type: number
  7205. pricetype:
  7206. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  7207. type: integer
  7208. producttype:
  7209. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  7210. type: integer
  7211. qty:
  7212. description: 合同量
  7213. type: number
  7214. reckonadjustamount:
  7215. description: 调整金额
  7216. type: number
  7217. reckonedamount:
  7218. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  7219. type: number
  7220. reckonotheramount:
  7221. description: 其它费用
  7222. type: number
  7223. reckonrealqty:
  7224. description: 已交收量
  7225. type: number
  7226. remark:
  7227. description: 备注
  7228. type: string
  7229. saleuserid:
  7230. description: 业务员id
  7231. type: integer
  7232. saleuserlogincode:
  7233. description: 业务员登录代码
  7234. type: string
  7235. saleusername:
  7236. description: 业务员名称
  7237. type: string
  7238. spotcontractid:
  7239. description: 合同ID
  7240. type: string
  7241. spotgoodsbrandid:
  7242. description: 现货品牌ID(DGFactoryItem表的ID)
  7243. type: integer
  7244. spotgoodsdesc:
  7245. description: 商品型号(商品规格)
  7246. type: string
  7247. startdate:
  7248. description: 点价开始日
  7249. type: string
  7250. subjectid:
  7251. description: 交易主体ID
  7252. type: integer
  7253. subjectname:
  7254. description: 交易主体名称
  7255. type: string
  7256. totalamount:
  7257. description: 合计总额
  7258. type: number
  7259. tradeuserid:
  7260. description: 交易员id
  7261. type: integer
  7262. tradeuserlogincode:
  7263. description: 交易员登录代码
  7264. type: string
  7265. tradeusername:
  7266. description: 交易员名称
  7267. type: string
  7268. unpayamount:
  7269. description: 应收付款额(应支付或应收款) | 未付款额
  7270. type: number
  7271. unpricedqty:
  7272. description: 未定价量
  7273. type: number
  7274. unsureqty:
  7275. description: 未确定量 | 未交收量
  7276. type: number
  7277. userid:
  7278. description: 机构ID
  7279. type: integer
  7280. vatrate:
  7281. description: 增值税率
  7282. type: number
  7283. wrstandardcode:
  7284. description: 品类代码
  7285. type: string
  7286. wrstandardid:
  7287. description: 品类ID
  7288. type: integer
  7289. wrstandardname:
  7290. description: 品类名称
  7291. type: string
  7292. type: object
  7293. models.Ermcp3SpotGoodsPrice:
  7294. properties:
  7295. areauserid:
  7296. description: 所属机构id
  7297. type: integer
  7298. brandname:
  7299. description: 品牌名称
  7300. type: string
  7301. currencyid:
  7302. description: 报价货币ID
  7303. type: integer
  7304. currencyname:
  7305. description: 币种名称
  7306. type: string
  7307. deliverygoodscode:
  7308. description: 现货商品代码
  7309. type: string
  7310. deliverygoodsid:
  7311. description: 现货商品id
  7312. type: integer
  7313. deliverygoodsname:
  7314. description: 现货商品名称
  7315. type: string
  7316. enumdicname:
  7317. description: 现货商品单位名称
  7318. type: string
  7319. gbenumdicname:
  7320. description: 品类单位名称
  7321. type: string
  7322. gmunitid:
  7323. description: 品类单位id
  7324. type: integer
  7325. isvalid:
  7326. description: 是否有效 - 0:无效 1:有效
  7327. type: integer
  7328. operateid:
  7329. description: 最后操作人
  7330. type: integer
  7331. operatesrc:
  7332. description: 最后操作来源 - 1:管理端 2:终端
  7333. type: integer
  7334. operatetime:
  7335. description: 最后操作时间
  7336. type: string
  7337. operatorname:
  7338. description: 操作人名称
  7339. type: string
  7340. spotgoodsbrandid:
  7341. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  7342. type: integer
  7343. spotgoodsprice:
  7344. description: 现货价格
  7345. type: number
  7346. tradedate:
  7347. description: 交易日(yyyyMMdd)
  7348. type: string
  7349. unitid:
  7350. description: 现货商品单位id
  7351. type: integer
  7352. wrstandardcode:
  7353. description: 品类代码
  7354. type: string
  7355. wrstandardid:
  7356. description: 现货品类ID(通用则为0)
  7357. type: integer
  7358. wrstandardname:
  7359. description: 品类名称
  7360. type: string
  7361. type: object
  7362. models.Ermcp3SpotGoodsPriceLog:
  7363. properties:
  7364. areauserid:
  7365. description: 所属机构id
  7366. type: integer
  7367. brandname:
  7368. description: 品牌名称
  7369. type: string
  7370. currencyid:
  7371. description: 报价货币ID
  7372. type: integer
  7373. deliverygoodscode:
  7374. description: 现货商品代码
  7375. type: string
  7376. deliverygoodsid:
  7377. description: 现货商品id
  7378. type: integer
  7379. deliverygoodsname:
  7380. description: 现货商品名称
  7381. type: string
  7382. enumdicname:
  7383. description: 现货商品单位名称
  7384. type: string
  7385. gbenumdicname:
  7386. description: 品类单位名称
  7387. type: string
  7388. gmunitid:
  7389. description: 品类单位id
  7390. type: integer
  7391. logid:
  7392. description: 日志id
  7393. type: integer
  7394. operateid:
  7395. description: 最后操作人
  7396. type: integer
  7397. operatesrc:
  7398. description: 最后操作来源 - 1:管理端 2:终端
  7399. type: integer
  7400. operatetime:
  7401. description: 最后操作时间
  7402. type: string
  7403. operatorname:
  7404. description: 操作人名称
  7405. type: string
  7406. spotgoodsbrandid:
  7407. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  7408. type: integer
  7409. spotgoodsprice:
  7410. description: 现货价格
  7411. type: number
  7412. tradedate:
  7413. description: 交易日(yyyyMMdd)
  7414. type: string
  7415. unitid:
  7416. description: 现货商品单位id
  7417. type: integer
  7418. wrstandardcode:
  7419. description: 品类代码
  7420. type: string
  7421. wrstandardid:
  7422. description: 现货品类ID(通用则为0)
  7423. type: integer
  7424. wrstandardname:
  7425. description: 品类名称
  7426. type: string
  7427. type: object
  7428. models.Ermcp3SubTaaccount:
  7429. properties:
  7430. accountid:
  7431. description: 资金账户ID
  7432. type: integer
  7433. parentaccountcode:
  7434. description: 所属根账号代码(母账号代码)
  7435. type: string
  7436. parentaccountid:
  7437. description: 所属根账号(母账号)
  7438. type: integer
  7439. taname:
  7440. description: 资金账号名称
  7441. type: string
  7442. tradestatus:
  7443. description: 交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)
  7444. type: integer
  7445. username:
  7446. description: 交易用户
  7447. type: string
  7448. type: object
  7449. models.Ermcp3TaFutuReDataReport:
  7450. properties:
  7451. accountid:
  7452. description: 交易账户
  7453. type: integer
  7454. accountname:
  7455. description: 交易账号名称
  7456. type: string
  7457. agreeunit:
  7458. description: 商品合约单位
  7459. type: number
  7460. begindate:
  7461. description: 开始交易日
  7462. type: string
  7463. buyorsell:
  7464. description: 持仓方向
  7465. type: integer
  7466. charge:
  7467. description: 手续费
  7468. type: number
  7469. closeavgprice:
  7470. description: 平仓均价
  7471. type: number
  7472. closepl:
  7473. description: 平仓损益
  7474. type: number
  7475. currencyid:
  7476. description: 结算币种ID
  7477. type: integer
  7478. currencyname:
  7479. description: 币种名称
  7480. type: string
  7481. cycletime:
  7482. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  7483. type: string
  7484. cycletype:
  7485. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  7486. type: integer
  7487. enddate:
  7488. description: 结束交易日
  7489. type: string
  7490. enumdicname:
  7491. description: 单位名称
  7492. type: string
  7493. floatpl:
  7494. description: 浮动损益
  7495. type: number
  7496. goodscode:
  7497. description: 交易合约代码
  7498. type: string
  7499. goodsgroupid:
  7500. description: 交易品种
  7501. type: integer
  7502. goodsgroupname:
  7503. description: 交易品种名称
  7504. type: string
  7505. goodsgroupspotqty:
  7506. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  7507. type: number
  7508. goodsid:
  7509. description: 交易合约
  7510. type: integer
  7511. goodsname:
  7512. description: 交易合约名称
  7513. type: string
  7514. goodunitid:
  7515. description: 交易合约单位id
  7516. type: integer
  7517. holdamount:
  7518. description: 期末持仓额
  7519. type: number
  7520. holdqty:
  7521. description: 期末持仓量
  7522. type: number
  7523. lastholdamount:
  7524. description: 当前持仓额
  7525. type: number
  7526. lastprice:
  7527. description: 最新价
  7528. type: number
  7529. middlegoodsid:
  7530. description: 套保品种id
  7531. type: integer
  7532. middlegoodsname:
  7533. description: 套保商品名称
  7534. type: string
  7535. middlegoodsqty:
  7536. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  7537. type: number
  7538. middlgoodscode:
  7539. description: 套保商品代码
  7540. type: string
  7541. openamount:
  7542. description: 期末开仓额
  7543. type: number
  7544. openavgprice:
  7545. description: 开仓均价
  7546. type: number
  7547. oriholdamount:
  7548. description: 期初持仓额
  7549. type: number
  7550. oriholdqty:
  7551. description: 期初持仓量
  7552. type: number
  7553. oriopenamount:
  7554. description: 期初开仓额
  7555. type: number
  7556. outergroupcode:
  7557. description: 交易品种代码
  7558. type: string
  7559. qtydecimalplace:
  7560. description: 成交量小数位
  7561. type: integer
  7562. reckondate:
  7563. description: 日照时期(yyyyMMdd)
  7564. type: string
  7565. reckonholdamount:
  7566. description: 结算持仓额
  7567. type: number
  7568. reckonpl:
  7569. description: 结算损益
  7570. type: number
  7571. reckonpl2:
  7572. description: 结算逐笔盈亏
  7573. type: number
  7574. reckonprice:
  7575. description: 结算价
  7576. type: number
  7577. relateduserid:
  7578. description: 账户关联用户ID
  7579. type: integer
  7580. todaycloseamount:
  7581. description: 今平仓额
  7582. type: number
  7583. todaycloseqty:
  7584. description: 今平仓量
  7585. type: number
  7586. todaygoodsgroupspotqty:
  7587. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  7588. type: number
  7589. todaymiddlegoodsqty:
  7590. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  7591. type: number
  7592. todayopenamount:
  7593. description: 今开仓额
  7594. type: number
  7595. todayopenqty:
  7596. description: 今开仓量
  7597. type: number
  7598. userid:
  7599. description: 账户所属用户ID
  7600. type: integer
  7601. type: object
  7602. models.Ermcp3TradeLinkDetail:
  7603. properties:
  7604. accountid:
  7605. description: 资金账号
  7606. type: integer
  7607. agreeunit:
  7608. description: 合约乘数
  7609. type: number
  7610. areauserid:
  7611. description: 所属机构
  7612. type: string
  7613. bizsubjectid:
  7614. description: 归属业务部门ID - SubjectID
  7615. type: string
  7616. buyorsell:
  7617. description: 方向 - 0:买 1:卖
  7618. type: integer
  7619. channelbuildtype:
  7620. description: 委托单据类型 0:无 1:建仓 2:平仓
  7621. type: integer
  7622. contractno:
  7623. description: 现货编号 (合同编号)
  7624. type: string
  7625. convertratio:
  7626. description: 折算系数
  7627. type: number
  7628. createtime:
  7629. description: 关联时间 | 创建时间
  7630. type: string
  7631. creatorid:
  7632. description: 创建人ID
  7633. type: string
  7634. creatorsrc:
  7635. description: 创建人来源 - 1:管理端 2:终端 3:交易
  7636. type: integer
  7637. enumdicname:
  7638. description: 单位名称
  7639. type: string
  7640. goodscode:
  7641. description: 合约代码
  7642. type: string
  7643. goodsgroupid:
  7644. description: 对冲品种ID[期货合约商品组ID]
  7645. type: integer
  7646. goodsid:
  7647. description: 商品ID
  7648. type: integer
  7649. goodsname:
  7650. description: 合约名称
  7651. type: string
  7652. hedgeflag:
  7653. description: 业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安)
  7654. 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  7655. type: integer
  7656. linkdetailid:
  7657. description: 关联ID(614+Unix秒时间戳(10位)+xxxxxx)
  7658. type: string
  7659. linkstatus:
  7660. description: 关联状态 - 1:成功 2:失败 3:解绑
  7661. type: integer
  7662. middlegoodscode:
  7663. description: 套保品种代码
  7664. type: string
  7665. middlegoodsid:
  7666. description: 套保品种ID
  7667. type: integer
  7668. middlegoodsname:
  7669. description: 套保品种名称
  7670. type: string
  7671. relatedlot:
  7672. description: 关联手数
  7673. type: number
  7674. relatedmode:
  7675. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  7676. type: integer
  7677. relatedqty:
  7678. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  7679. type: number
  7680. retcode:
  7681. description: 返回码
  7682. type: integer
  7683. saleuserid:
  7684. description: 业务员ID
  7685. type: string
  7686. spotcontractid:
  7687. description: 现货合同\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]
  7688. type: string
  7689. taname:
  7690. description: 期货账户
  7691. type: string
  7692. tradedate:
  7693. description: 关联交易日(yyyyMMdd)
  7694. type: string
  7695. tradeid:
  7696. description: 期货订单号 | 内部成交单ID
  7697. type: string
  7698. tradelot:
  7699. description: 成交数量 | 成交手数
  7700. type: integer
  7701. tradeprice:
  7702. description: 成交价格
  7703. type: number
  7704. tradetime:
  7705. description: 期货成交时间
  7706. type: string
  7707. tradetradedate:
  7708. description: 成交交易日(yyyyMMdd)
  7709. type: string
  7710. username:
  7711. description: 用户名称
  7712. type: string
  7713. type: object
  7714. models.Ermcp3Wrstandard:
  7715. properties:
  7716. areauserid:
  7717. description: 所属机构
  7718. type: integer
  7719. cantrade:
  7720. description: 是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)
  7721. type: integer
  7722. convertfactor:
  7723. description: 标仓系数
  7724. type: number
  7725. createtime:
  7726. description: 创建时间
  7727. type: string
  7728. creatorid:
  7729. description: 创建人
  7730. type: integer
  7731. deliverygoodsid:
  7732. description: 现货品种ID
  7733. type: integer
  7734. enumdicname:
  7735. description: 品类单位名称
  7736. type: string
  7737. isvalid:
  7738. description: 是否有效 0-无效(停用) 1-有效(正常)
  7739. type: integer
  7740. minivalue:
  7741. description: 最小变动值
  7742. type: integer
  7743. minivaluedp:
  7744. description: 最小变动值小数位
  7745. type: integer
  7746. realminivalue:
  7747. description: 实际最小变动值
  7748. type: integer
  7749. realminivaluedp:
  7750. description: 实际最小变动值小数位
  7751. type: integer
  7752. remark:
  7753. description: 备注
  7754. type: string
  7755. unitid:
  7756. description: 品类单位ID
  7757. type: integer
  7758. updatetime:
  7759. description: 更新时间
  7760. type: string
  7761. wrstandardcode:
  7762. description: 品类代码
  7763. type: string
  7764. wrstandardid:
  7765. description: 品类ID(SEQ_WRSTANDARD)
  7766. type: integer
  7767. wrstandardname:
  7768. description: 品类名称
  7769. type: string
  7770. type: object
  7771. models.Ermcp8EnableHedgeditem:
  7772. properties:
  7773. accountname:
  7774. description: 套期主体
  7775. type: string
  7776. hedgeditemid:
  7777. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  7778. type: string
  7779. hedgeditemname:
  7780. description: 项目名称
  7781. type: string
  7782. hedgeditemnum:
  7783. description: 项目编号
  7784. type: string
  7785. hedgedtype:
  7786. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  7787. type: integer
  7788. planenddate:
  7789. description: 计划结束日期
  7790. type: string
  7791. planstartdate:
  7792. description: 计划开始日期
  7793. type: string
  7794. type: object
  7795. models.Ermcp8HedgeditemReport:
  7796. properties:
  7797. accountname:
  7798. description: 套期主体
  7799. type: string
  7800. areauserid:
  7801. description: 企业ID
  7802. type: integer
  7803. curprice:
  7804. description: '[当日现货市场价]当前市场价'
  7805. type: number
  7806. enumdicname:
  7807. description: 单位
  7808. type: string
  7809. exeamount:
  7810. description: '[执行现货金额]执行市价总额'
  7811. type: number
  7812. exeavgprice:
  7813. description: '[执行价]执行市场均价= 执行市价总额 / 执行现货量'
  7814. type: number
  7815. exeqty:
  7816. description: '[执行数量]执行现货量'
  7817. type: number
  7818. futurehedgepl:
  7819. description: 期货实际损益
  7820. type: number
  7821. futurehedgeplchange:
  7822. description: 期货实际变动 = 期货实际损益 - 期初期货实际损益
  7823. type: number
  7824. futurepl:
  7825. description: 期货套期损益
  7826. type: number
  7827. futureplchange:
  7828. description: 期货套期变动 = 期货套期损益 - 期初期货套期损益
  7829. type: number
  7830. hedgeamount:
  7831. description: '[套期现货金额]套期市价总额'
  7832. type: number
  7833. hedgeditemnum:
  7834. description: 项目编号,模糊查询
  7835. type: string
  7836. hedgeditemstatus:
  7837. description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  7838. type: integer
  7839. hedgedtype:
  7840. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  7841. type: integer
  7842. hedgeqty:
  7843. description: '[套期数量]套期现货量'
  7844. type: number
  7845. oriavgprice:
  7846. description: '[期初价]期初市场均价 = 套期市价总额 / 套期现货量'
  7847. type: number
  7848. orifuturehedgepl:
  7849. description: 期初期货实际损益
  7850. type: number
  7851. orifuturepl:
  7852. description: 期初期货套期损益
  7853. type: number
  7854. orispothedgepl:
  7855. description: 期初现货实际损益
  7856. type: number
  7857. orispotpl:
  7858. description: 期初现货套期损益
  7859. type: number
  7860. planenddate:
  7861. description: 计划结束日期
  7862. type: string
  7863. planstartdate:
  7864. description: 计划开始日期
  7865. type: string
  7866. spothedgepl:
  7867. description: 现货实际损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  7868. type: number
  7869. spothedgeplchange:
  7870. description: 现货实际变动 = 现货实际损益 - 期初现货实际损益
  7871. type: number
  7872. spotpl:
  7873. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  7874. type: number
  7875. spotplchange:
  7876. description: 现货套期变动 = 现货套期损益 - 期初现货套期损益
  7877. type: number
  7878. tradeuserid:
  7879. description: 交易用户ID
  7880. type: integer
  7881. unexeqty:
  7882. description: 未执行现货量 = 套期现货量 - 执行现货量
  7883. type: number
  7884. wrstandardcode:
  7885. description: 现货品类代码
  7886. type: string
  7887. wrstandardid:
  7888. description: 现货商品ID
  7889. type: integer
  7890. wrstandardname:
  7891. description: '[现货商品]现货品类名称'
  7892. type: string
  7893. type: object
  7894. models.Ermcp8RunningHedgeditem:
  7895. properties:
  7896. accountname:
  7897. description: 套期主体
  7898. type: string
  7899. applyid:
  7900. description: 申请人
  7901. type: integer
  7902. applysrc:
  7903. description: 申请来源 - 1:管理端 2:终端
  7904. type: integer
  7905. areauserid:
  7906. description: 企业ID
  7907. type: integer
  7908. auditid:
  7909. description: 审核人
  7910. type: integer
  7911. auditremark:
  7912. description: 审核备注
  7913. type: string
  7914. auditsrc:
  7915. description: 审核来源 - 1:管理端 2:终端
  7916. type: integer
  7917. audittime:
  7918. description: 审核时间
  7919. type: string
  7920. audittradedate:
  7921. description: 审核交易日(yyyyMMdd)
  7922. type: string
  7923. createtime:
  7924. description: 申请时间
  7925. type: string
  7926. curprice:
  7927. description: 当前市场价
  7928. type: number
  7929. curstock:
  7930. description: 期末库存量 = 采购总量 - 销售总量
  7931. type: number
  7932. deliverygoodsid:
  7933. description: 现货品种ID
  7934. type: integer
  7935. enddate:
  7936. description: 完成日期
  7937. type: string
  7938. endtradedate:
  7939. description: 完成交易日
  7940. type: string
  7941. enumdicname:
  7942. description: 单位
  7943. type: string
  7944. exeamount:
  7945. description: 执行市价总额
  7946. type: number
  7947. exeavgprice:
  7948. description: 执行市场均价= 执行市价总额 / 执行现货量
  7949. type: number
  7950. execontractamount:
  7951. description: 执行定价总额
  7952. type: number
  7953. exeqty:
  7954. description: 执行现货量
  7955. type: number
  7956. exerestamount:
  7957. description: 执行剩余市价总额【现货贸易】
  7958. type: number
  7959. futurefloatpl:
  7960. description: 期货浮动损益
  7961. type: number
  7962. futurehedgepl:
  7963. description: 期货实际损益
  7964. type: number
  7965. futurehedgeplchange:
  7966. description: 期货实际损益变动
  7967. type: number
  7968. futurepl:
  7969. description: 期货套期损益
  7970. type: number
  7971. futureplchange:
  7972. description: 期货套期损益变动
  7973. type: number
  7974. hedgeamount:
  7975. description: 套期市价总额
  7976. type: number
  7977. hedgecontractamount:
  7978. description: 套期定价总额 【定价采购合同】【现货贸易】
  7979. type: number
  7980. hedgeditemid:
  7981. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  7982. type: string
  7983. hedgeditemname:
  7984. description: 项目名称
  7985. type: string
  7986. hedgeditemnum:
  7987. description: 项目编号
  7988. type: string
  7989. hedgeditemstatus:
  7990. description: 项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  7991. type: integer
  7992. hedgedtype:
  7993. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  7994. type: integer
  7995. hedgeqty:
  7996. description: 套期现货量
  7997. type: number
  7998. hedgerate:
  7999. description: 套保比率
  8000. type: number
  8001. hedgerestamount:
  8002. description: 套期剩余市价总额【现货贸易】
  8003. type: number
  8004. hedgesumpl:
  8005. description: 套期汇总损益 = 期货汇总损益 + 现货汇总损益
  8006. type: number
  8007. middlegoodslist:
  8008. description: 套期商品列表
  8009. items:
  8010. $ref: '#/definitions/models.Ermcp2himiddlegoods'
  8011. type: array
  8012. oriavgprice:
  8013. description: 期初市场均价 = 套期市价总额 / 套期现货量
  8014. type: number
  8015. orifuturehedgepl:
  8016. description: 期初期货实际损益
  8017. type: number
  8018. orifuturepl:
  8019. description: 期初期货套期损益
  8020. type: number
  8021. orispothedgepl:
  8022. description: 期初现货实际损益
  8023. type: number
  8024. orispotpl:
  8025. description: 期初现货套期损益
  8026. type: number
  8027. planenddate:
  8028. description: 计划结束日期
  8029. type: string
  8030. planstartdate:
  8031. description: 计划开始日期
  8032. type: string
  8033. remark:
  8034. description: 备注
  8035. type: string
  8036. spotbookamount:
  8037. description: 现货账面总额
  8038. type: number
  8039. spotfloatpl:
  8040. description: 现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)
  8041. type: number
  8042. spothedgepl:
  8043. description: 现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  8044. type: number
  8045. spothedgeplchange:
  8046. description: 现货实际损益变动
  8047. type: number
  8048. spotpl:
  8049. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  8050. type: number
  8051. spotplchange:
  8052. description: 现货套期损益变动
  8053. type: number
  8054. spottradepl:
  8055. description: 现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额
  8056. type: number
  8057. sumobspl:
  8058. description: 汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益
  8059. type: number
  8060. tradeuserid:
  8061. description: 交易用户ID
  8062. type: integer
  8063. unexeqty:
  8064. description: 未执行现货量 = 套期现货量 - 执行现货量
  8065. type: number
  8066. updatetime:
  8067. description: 更新时间
  8068. type: string
  8069. vatpl:
  8070. description: 增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))
  8071. type: number
  8072. vatrate:
  8073. description: 增值税
  8074. type: number
  8075. wrstandardid:
  8076. description: 现货商品ID
  8077. type: integer
  8078. wrstandardname:
  8079. description: 商品名称
  8080. type: string
  8081. type: object
  8082. models.ErmcpBizGroupEx:
  8083. properties:
  8084. acclist:
  8085. description: 账号列表
  8086. items:
  8087. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  8088. type: array
  8089. bizgroupid:
  8090. description: 业务分组id
  8091. type: integer
  8092. biztype:
  8093. description: 业务类型 1-套保 2-套利
  8094. type: integer
  8095. wrlist:
  8096. description: 现货商品表
  8097. items:
  8098. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  8099. type: array
  8100. type: object
  8101. models.ErmcpBizGroupSpotGoods:
  8102. properties:
  8103. areauserid:
  8104. description: 所属机构id
  8105. type: integer
  8106. bizgroupid:
  8107. description: 分组id
  8108. type: integer
  8109. biztype:
  8110. description: 业务类型 1-套保 2-套利
  8111. type: integer
  8112. deliverygoodscode:
  8113. description: 现货商品代码
  8114. type: string
  8115. deliverygoodsid:
  8116. description: 现货商品id
  8117. type: integer
  8118. deliverygoodsname:
  8119. description: 现货商品名称
  8120. type: string
  8121. unitid:
  8122. description: 现货商品单位id
  8123. type: integer
  8124. type: object
  8125. models.ErmcpBizGroupTaAccount:
  8126. properties:
  8127. accountid:
  8128. description: 账号id
  8129. type: integer
  8130. accountname:
  8131. description: 账号名称
  8132. type: string
  8133. areauserid:
  8134. description: 所属机构id
  8135. type: integer
  8136. bizgroupid:
  8137. description: 业务分组id
  8138. type: integer
  8139. ismain:
  8140. description: 是否主账号 1-是 0-否
  8141. type: integer
  8142. type: object
  8143. models.ErmcpDGFactoryItem:
  8144. properties:
  8145. areauserid:
  8146. description: 用户id
  8147. type: integer
  8148. deliverygoodsid:
  8149. description: 现货品种ID
  8150. type: integer
  8151. dgfactoryitemid:
  8152. description: 选择项ID(SEQ_DGFACTORYITEM)
  8153. type: integer
  8154. dgfactoryitemtypeid:
  8155. description: 要素项类型
  8156. type: integer
  8157. dgfactoryitemvalue:
  8158. description: 要素项值(类型为仓库时填写仓库名称)
  8159. type: string
  8160. isvalid:
  8161. description: 是否有效 - 0:无效 1:有效
  8162. type: integer
  8163. orderindex:
  8164. description: 顺序
  8165. type: integer
  8166. warehouseid:
  8167. description: 仓库ID(类型为仓库时填写)
  8168. type: integer
  8169. type: object
  8170. models.ErmcpDeliveryGoods:
  8171. properties:
  8172. agreeunit:
  8173. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  8174. type: integer
  8175. areauserid:
  8176. description: 所属机构
  8177. type: integer
  8178. auditflag:
  8179. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  8180. type: integer
  8181. categoryid:
  8182. description: 类别ID(SEQ_WRCATEGORY)
  8183. type: integer
  8184. deliverygoodscode:
  8185. description: 现货品种代码
  8186. type: string
  8187. deliverygoodsid:
  8188. description: 现货品种ID(SEQ_DELIVERYGOODS)
  8189. type: integer
  8190. deliverygoodsname:
  8191. description: 现货品种名称
  8192. type: string
  8193. deliverygoodstype:
  8194. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  8195. type: integer
  8196. dgstatus:
  8197. description: 品种状态 - 作废 - 0:未激活 1:正常
  8198. type: integer
  8199. enumdicname:
  8200. description: 现货品种单位名称
  8201. type: string
  8202. goodsunitid:
  8203. description: 现货品种单位ID
  8204. type: integer
  8205. isvalid:
  8206. description: 是否有效 - 0:无效 1:有效
  8207. type: integer
  8208. qtydecimalplace:
  8209. description: 成交量小数位
  8210. type: integer
  8211. remark:
  8212. description: 备注
  8213. type: string
  8214. standardqty:
  8215. description: 标准数量(库位数量) [标准品特有]
  8216. type: integer
  8217. standardqtyrange:
  8218. description: 标准数量偏差范围 [标准品特有]
  8219. type: integer
  8220. type: object
  8221. models.ErmcpFuturesCompany:
  8222. properties:
  8223. brokerid:
  8224. description: 经纪公司代码
  8225. type: string
  8226. channeladdress:
  8227. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  8228. type: string
  8229. channelid:
  8230. description: 对冲渠道ID
  8231. type: string
  8232. createtime:
  8233. description: 创建时间
  8234. type: string
  8235. creatorid:
  8236. description: 创建人
  8237. type: string
  8238. fcid:
  8239. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  8240. type: integer
  8241. fcname:
  8242. description: 期货公司名称
  8243. type: string
  8244. isvalid:
  8245. description: 是否有效 - 0:无效 1:有效
  8246. type: integer
  8247. mhpaddress:
  8248. description: MHP服务地址(IP:Port)
  8249. type: string
  8250. riskrulegroupid:
  8251. description: 风控规则组ID
  8252. type: string
  8253. tradefeetmpid:
  8254. description: 手续费模板ID[TradeConfigTmpType为2]
  8255. type: string
  8256. trademargintmpid:
  8257. description: 保证金模板ID [TradeConfigTmpType为1]
  8258. type: string
  8259. traderatetmpid:
  8260. description: 汇率模板ID[TradeConfigTmpType为3]
  8261. type: string
  8262. updatetime:
  8263. description: 更新时间
  8264. type: string
  8265. updatorid:
  8266. description: 更新人
  8267. type: string
  8268. type: object
  8269. models.ErmcpGGConvertCfg:
  8270. properties:
  8271. convertratio:
  8272. description: 折算系数
  8273. type: number
  8274. destgoodsgroupid:
  8275. description: 目标品种ID
  8276. type: integer
  8277. dstcode:
  8278. description: 目录品种代码
  8279. type: string
  8280. dstexchangecode:
  8281. description: 目标期货交易所
  8282. type: string
  8283. dstname:
  8284. description: 目标品种名称
  8285. type: string
  8286. dstunitid:
  8287. description: 目标品种单位ID
  8288. type: integer
  8289. dstunitidname:
  8290. description: 目标品种单位名称
  8291. type: string
  8292. modifytime:
  8293. description: 修改时间
  8294. type: string
  8295. srccode:
  8296. description: 源品种代码
  8297. type: string
  8298. srcexchangecode:
  8299. description: 源期货交易所
  8300. type: string
  8301. srcgoodsgroupid:
  8302. description: 源品种ID
  8303. type: integer
  8304. srcname:
  8305. description: 源品种名称
  8306. type: string
  8307. srcunitid:
  8308. description: 源品种单位ID
  8309. type: integer
  8310. srcunitidname:
  8311. description: 源品种单位名称
  8312. type: string
  8313. type: object
  8314. models.ErmcpGoods:
  8315. properties:
  8316. agreeunit:
  8317. description: 合约单位
  8318. type: number
  8319. areauserid:
  8320. description: 所属机构
  8321. type: integer
  8322. auditaccountid:
  8323. description: 审核操作员账号
  8324. type: integer
  8325. audittime:
  8326. description: 审核时间
  8327. type: string
  8328. cancelaccountid:
  8329. description: 注销操作员账号
  8330. type: integer
  8331. canceltime:
  8332. description: 注销时间
  8333. type: string
  8334. closepricemode:
  8335. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8336. type: integer
  8337. closepriceparam:
  8338. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  8339. type: number
  8340. createtime:
  8341. description: 创建时间
  8342. type: string
  8343. creatorid:
  8344. description: 创建人
  8345. type: integer
  8346. currencyid:
  8347. description: 报价货币ID
  8348. type: integer
  8349. cutmode:
  8350. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  8351. type: integer
  8352. decimalplace:
  8353. description: 报价小数位
  8354. type: integer
  8355. delistingdate:
  8356. description: 商品退市时间(状态:退市) -- 已作废
  8357. type: string
  8358. delistingmode:
  8359. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  8360. type: integer
  8361. deliveryflag:
  8362. description: 交割标志 - 0:不可交割 1:可交割
  8363. type: integer
  8364. enumdicname:
  8365. description: 单位名称
  8366. type: string
  8367. forceclosemode:
  8368. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  8369. type: integer
  8370. forceclosevalue:
  8371. description: 定期强平参数 [收益权]
  8372. type: integer
  8373. goodscode:
  8374. description: 商品代码(内部)
  8375. type: string
  8376. goodscurrencyid:
  8377. description: 合约货币ID
  8378. type: integer
  8379. goodsgroupid:
  8380. description: 所属商品组ID
  8381. type: integer
  8382. goodsid:
  8383. description: 商品ID(自增ID SEQ_GOODS)
  8384. type: integer
  8385. goodsname:
  8386. description: 商品名称
  8387. type: string
  8388. goodsquotetype:
  8389. description: '合约报价类型: 1-直接报价 2-间接报价'
  8390. type: integer
  8391. goodsstatus:
  8392. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8393. type: integer
  8394. goodstradetype:
  8395. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  8396. type: integer
  8397. goodunitid:
  8398. description: 报价单位ID
  8399. type: integer
  8400. hasquoter:
  8401. description: 是否有报价商 - 0:无报价商 1:有报价商
  8402. type: integer
  8403. hqprotecttime:
  8404. description: 行情保护时间(秒)
  8405. type: integer
  8406. innerdealmode:
  8407. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8408. type: integer
  8409. isbuylimited:
  8410. description: 是否限制建仓量 - 0:不限制 1:限制
  8411. type: integer
  8412. isvisible:
  8413. description: 游客是否可见 - 0:不可见 1:可见
  8414. type: integer
  8415. lasttradedate:
  8416. description: 最后交易日期(状态:待退市)
  8417. type: string
  8418. listingdate:
  8419. description: 交易开始日期
  8420. type: string
  8421. marketid:
  8422. description: 所属市场ID
  8423. type: integer
  8424. modifierid:
  8425. description: 修改人
  8426. type: integer
  8427. modifystatus:
  8428. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  8429. type: integer
  8430. modifytime:
  8431. description: 修改时间
  8432. type: string
  8433. outerdealmode:
  8434. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8435. type: integer
  8436. outgoodscode:
  8437. description: 商品代码(外部)
  8438. type: string
  8439. pictureurl:
  8440. description: 商品图片
  8441. type: string
  8442. qtydecimalplace:
  8443. description: 成交量小数位
  8444. type: integer
  8445. quotegear:
  8446. description: 行情档位(1-10)
  8447. type: integer
  8448. quoteminunit:
  8449. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8450. type: integer
  8451. quoteshowtype:
  8452. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  8453. type: integer
  8454. quoteshowtypeinterval:
  8455. description: 行情报价间隔时间(秒)(成交价时为0)
  8456. type: integer
  8457. relatedgoodsid:
  8458. description: 关联参考商品ID
  8459. type: integer
  8460. remark:
  8461. description: 备注
  8462. type: string
  8463. trademode:
  8464. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8465. 21:竞拍-大宗式 22:受托竞价
  8466. type: integer
  8467. required:
  8468. - goodscode
  8469. - goodsid
  8470. - goodsname
  8471. - marketid
  8472. type: object
  8473. models.ErmcpGoodsBrand:
  8474. properties:
  8475. areauserid:
  8476. description: 所属机构
  8477. type: integer
  8478. brandid:
  8479. description: BrandID(SEQ_SPOTGOODSBRAND)
  8480. type: integer
  8481. brandname:
  8482. description: 品牌名称
  8483. type: string
  8484. createtime:
  8485. description: 创建时间
  8486. type: string
  8487. creatorid:
  8488. description: 创建人
  8489. type: integer
  8490. creatorsrc:
  8491. description: 创建人来源 - 1:管理端 2:终端
  8492. type: integer
  8493. deliverygoodsid:
  8494. description: 现货品种ID
  8495. type: integer
  8496. isvalid:
  8497. description: 是否有效 - 0:无效 1:有效
  8498. type: integer
  8499. updatetime:
  8500. description: 更新时间
  8501. type: string
  8502. updatorid:
  8503. description: 更新人
  8504. type: integer
  8505. updatorsrc:
  8506. description: 更新人来源 - 1:管理端 2:终端
  8507. type: integer
  8508. wrstandardid:
  8509. description: 现货商品ID
  8510. type: integer
  8511. type: object
  8512. models.ErmcpGoodsModel:
  8513. properties:
  8514. areauserid:
  8515. description: 所属机构
  8516. type: integer
  8517. convertfactor:
  8518. description: 标仓系数
  8519. type: number
  8520. createtime:
  8521. description: 创建时间
  8522. type: string
  8523. creatorid:
  8524. description: 创建人
  8525. type: integer
  8526. creatorsrc:
  8527. description: 创建人来源 - 1:管理端 2:终端
  8528. type: integer
  8529. deliverygoodsid:
  8530. description: 现货品种ID
  8531. type: integer
  8532. isvalid:
  8533. description: 是否有效 - 0:无效 1:有效
  8534. type: integer
  8535. modelid:
  8536. description: ModelID(SEQ_SPOTGOODSMODEL)
  8537. type: integer
  8538. modelname:
  8539. description: 型号名称
  8540. type: string
  8541. updatetime:
  8542. description: 更新时间
  8543. type: string
  8544. updatorid:
  8545. description: 更新人
  8546. type: integer
  8547. updatorsrc:
  8548. description: 更新人来源 - 1:管理端 2:终端
  8549. type: integer
  8550. wrstandardid:
  8551. description: 现货商品ID
  8552. type: integer
  8553. type: object
  8554. models.ErmcpHisExposure:
  8555. properties:
  8556. needhedgeexposoure:
  8557. description: 应套保敞口
  8558. type: number
  8559. reckondate:
  8560. description: 日照时期(yyyyMMdd)
  8561. type: string
  8562. totalexposure:
  8563. description: 总敞口
  8564. type: number
  8565. type: object
  8566. models.ErmcpLoginTaAccount:
  8567. properties:
  8568. accountid:
  8569. description: 账号id
  8570. type: integer
  8571. accountname:
  8572. description: 账号名称
  8573. type: string
  8574. type: object
  8575. models.ErmcpLoginUser:
  8576. properties:
  8577. acclist:
  8578. description: 关联资金账号
  8579. items:
  8580. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  8581. type: array
  8582. accountname:
  8583. description: 用户名称
  8584. type: string
  8585. clientroleid:
  8586. description: 角色id(usertype=2)
  8587. type: integer
  8588. createtime:
  8589. description: 创建时间
  8590. type: string
  8591. logincode:
  8592. description: 登录代码
  8593. type: string
  8594. loginid:
  8595. description: 登录id(LOGINID)
  8596. type: integer
  8597. loginname:
  8598. description: 登录名称(loginaccount表中的accountname字段)
  8599. type: string
  8600. loginstatus:
  8601. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  8602. type: integer
  8603. memberuserid:
  8604. description: 所属会员id
  8605. type: integer
  8606. mobile:
  8607. description: 手机号
  8608. type: string
  8609. modifytime:
  8610. description: 修改时间
  8611. type: string
  8612. password:
  8613. description: 密码(不可解密)
  8614. type: string
  8615. rolename:
  8616. description: 角色名称
  8617. type: string
  8618. rolestatus:
  8619. description: 角色状态 1-启用 2-停用
  8620. type: integer
  8621. roletype:
  8622. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  8623. type: string
  8624. userid:
  8625. description: 用户id
  8626. type: integer
  8627. usertype:
  8628. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  8629. type: integer
  8630. type: object
  8631. models.ErmcpLoginUserEx:
  8632. properties:
  8633. accountstatus:
  8634. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  8635. type: integer
  8636. mobile:
  8637. description: 手机号
  8638. type: string
  8639. querytype:
  8640. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  8641. type: integer
  8642. roleid:
  8643. description: 角色id(交易账户->用户id)
  8644. type: integer
  8645. rolename:
  8646. description: 角色名称(交易账户->用户名称)
  8647. type: string
  8648. userlist:
  8649. description: 用户列表
  8650. items:
  8651. $ref: '#/definitions/models.ErmcpLoginUser'
  8652. type: array
  8653. usertype:
  8654. description: 用户类型 2-机构 7-企业成员(云平台)
  8655. type: integer
  8656. type: object
  8657. models.ErmcpMiddleGoodsModel:
  8658. properties:
  8659. areauserid:
  8660. description: 机构用户ID
  8661. type: integer
  8662. createtime:
  8663. description: 修改时间
  8664. type: string
  8665. enumdicname:
  8666. description: 单位名称
  8667. type: string
  8668. evaluateratio:
  8669. description: 估价系数
  8670. type: number
  8671. goodsgroupid:
  8672. description: 关联期货品种ID
  8673. type: integer
  8674. goodsunitid:
  8675. description: 单位ID
  8676. type: integer
  8677. isvalid:
  8678. description: 状态 0-无效(停用) 1-有效(正常)
  8679. type: integer
  8680. middlegoodscode:
  8681. description: 套保品种代码
  8682. type: string
  8683. middlegoodsid:
  8684. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  8685. type: integer
  8686. middlegoodsname:
  8687. description: 套保品种名称
  8688. type: string
  8689. modifytime:
  8690. description: 修改时间
  8691. type: string
  8692. needarbitrageratio:
  8693. description: 套利比例
  8694. type: number
  8695. needhedgeratio:
  8696. description: 套保比率
  8697. type: number
  8698. qtydecimalplace:
  8699. description: 数量小数位
  8700. type: integer
  8701. relatedgoodsid:
  8702. description: 关联交易商品ID
  8703. type: integer
  8704. relatedgoodstype:
  8705. description: 关联商品类型 - 1:期货合约 2:现货品种
  8706. type: integer
  8707. remark:
  8708. description: 备注
  8709. type: string
  8710. type: object
  8711. models.ErmcpMiddlegoodsRelateGoods:
  8712. properties:
  8713. agreeunit:
  8714. description: 合约乘数
  8715. type: number
  8716. convertratio:
  8717. description: 折算系数
  8718. type: number
  8719. enumdicname:
  8720. description: 单位名称(交易商品)
  8721. type: string
  8722. goodscode:
  8723. description: 交易商品代码
  8724. type: string
  8725. goodsgroupid:
  8726. description: 交易品种id
  8727. type: integer
  8728. goodsid:
  8729. description: 商品Id
  8730. type: integer
  8731. goodsname:
  8732. description: 交易商品名称
  8733. type: string
  8734. goodunitid:
  8735. description: 交易商品单位id
  8736. type: integer
  8737. middlegoodsid:
  8738. description: 套保商品id
  8739. type: integer
  8740. middlegoodsname:
  8741. description: 套保商品名称
  8742. type: string
  8743. middlegoodsswcode:
  8744. description: 套保商品代码
  8745. type: string
  8746. needarbitrageratio:
  8747. description: 应套利比例
  8748. type: number
  8749. needhedgeratio:
  8750. description: 应套保比例
  8751. type: number
  8752. type: object
  8753. models.ErmcpRole:
  8754. properties:
  8755. areauserid:
  8756. description: 所属机构
  8757. type: integer
  8758. autoid:
  8759. description: 角色ID(自增ID)
  8760. type: integer
  8761. modifierid:
  8762. description: 修改人(创建人)
  8763. type: integer
  8764. modifiername:
  8765. description: 修改人名称
  8766. type: string
  8767. modifytime:
  8768. description: 修改时间(创建时间)
  8769. type: string
  8770. rolename:
  8771. description: 角色名称
  8772. type: string
  8773. rolestatus:
  8774. description: 角色状态 - 1:启用 2:停用
  8775. type: integer
  8776. roletype:
  8777. description: 角色类型 - 1- 管理端 2- 交易端
  8778. type: integer
  8779. type: object
  8780. models.ErmcpRoleMenu:
  8781. properties:
  8782. iconame:
  8783. description: 菜单图标
  8784. type: string
  8785. ishadrole:
  8786. description: 是否有权限
  8787. type: boolean
  8788. menutype:
  8789. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)
  8790. type: integer
  8791. parentcode:
  8792. description: 上级资源代码
  8793. type: string
  8794. remark:
  8795. description: 菜单备注
  8796. type: string
  8797. resourcecode:
  8798. description: 菜单代码
  8799. type: string
  8800. resourcelevel:
  8801. description: 级别
  8802. type: integer
  8803. resourcename:
  8804. description: 菜单名称
  8805. type: string
  8806. roleid:
  8807. description: 角色id
  8808. type: integer
  8809. sort:
  8810. description: 排序
  8811. type: integer
  8812. url:
  8813. description: URL
  8814. type: string
  8815. userid:
  8816. description: 用户id
  8817. type: integer
  8818. type: object
  8819. models.ErmcpRoleMenuEx:
  8820. properties:
  8821. menu:
  8822. $ref: '#/definitions/models.ErmcpRoleMenu'
  8823. description: 父级菜单
  8824. subMenu:
  8825. description: 子级菜单
  8826. items:
  8827. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  8828. type: array
  8829. type: object
  8830. models.ErmcpSpotContractModelEx:
  8831. properties:
  8832. accountname:
  8833. description: 套期主体
  8834. type: string
  8835. amount:
  8836. description: 金额 [1:一口价、3:暂定价]
  8837. type: number
  8838. attachment:
  8839. description: 附件
  8840. type: string
  8841. auditremark:
  8842. description: 审核意见
  8843. type: string
  8844. audittime:
  8845. description: 审核时间
  8846. type: string
  8847. avgprice:
  8848. description: 定价均价 = 已定价金额 / 已定价量
  8849. type: number
  8850. brandname:
  8851. description: 品牌名称
  8852. type: string
  8853. buyuserid:
  8854. description: 采购方ID
  8855. type: integer
  8856. buyusername:
  8857. description: 采购方名称
  8858. type: string
  8859. contracctstatus:
  8860. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  8861. type: integer
  8862. contractmargin:
  8863. description: 合同保证金
  8864. type: number
  8865. contractno:
  8866. description: '[合同编号]现货合同编号'
  8867. type: string
  8868. contracttype:
  8869. description: '[合同类型]现货合同类型 - 1:采购 -1:销售'
  8870. type: integer
  8871. convertfactor:
  8872. description: 标仓系数
  8873. type: number
  8874. createtime:
  8875. description: 创建时间
  8876. type: string
  8877. customername:
  8878. description: 对手方
  8879. type: string
  8880. customeruserid:
  8881. description: 客户ID
  8882. type: integer
  8883. deliveryenddate:
  8884. description: 交收期(结束)
  8885. type: string
  8886. deliverygoodscode:
  8887. description: 现货品种代码
  8888. type: string
  8889. deliverygoodsid:
  8890. description: 现货品种ID
  8891. type: integer
  8892. deliverygoodsname:
  8893. description: 现货品种名称
  8894. type: string
  8895. deliverystartdate:
  8896. description: 交收期(开始)
  8897. type: string
  8898. enddate:
  8899. description: 点价结束日期 [2:点价 3:暂定价]
  8900. type: string
  8901. enumdicname:
  8902. description: 单位名称
  8903. type: string
  8904. goodscode:
  8905. description: 点价合约代码
  8906. type: string
  8907. goodsid:
  8908. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  8909. type: integer
  8910. goodsname:
  8911. description: 点价商品名称
  8912. type: string
  8913. isrelated:
  8914. description: 是否已关联计划项目 - 0:否 1:是
  8915. type: integer
  8916. isrelated2:
  8917. description: 是否已关联现货项目 - 0:否 1:是
  8918. type: integer
  8919. margin:
  8920. description: 当前保证金
  8921. type: number
  8922. modelname:
  8923. description: 型号名称
  8924. type: string
  8925. price:
  8926. description: 价格\暂定价 [1:一口价、3:暂定价]
  8927. type: number
  8928. pricedamount:
  8929. description: 已定价金额 = (点价价格+升贴水) * 数量
  8930. type: number
  8931. pricedqty:
  8932. description: 已定价量
  8933. type: number
  8934. pricemove:
  8935. description: 升贴水 [2:点价 3:暂定价]
  8936. type: number
  8937. pricetype:
  8938. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  8939. type: integer
  8940. producttype:
  8941. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  8942. type: integer
  8943. qty:
  8944. description: '[合同数量]数量'
  8945. type: number
  8946. remark:
  8947. description: 备注
  8948. type: string
  8949. selluserid:
  8950. description: 销售方ID
  8951. type: integer
  8952. sellusername:
  8953. description: 销售方名称
  8954. type: string
  8955. spotamount:
  8956. description: 合同现货金额 [不含升贴水]
  8957. type: number
  8958. spotavgprice:
  8959. description: 现货均价 = 合同现货金额 / 已定价量
  8960. type: number
  8961. spotcontractid:
  8962. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  8963. type: string
  8964. spotgoodsbrandid:
  8965. description: 现货品牌ID
  8966. type: integer
  8967. spotgoodsdesc:
  8968. description: 商品型号
  8969. type: string
  8970. spotgoodsmodelid:
  8971. description: 现货型号ID
  8972. type: integer
  8973. startdate:
  8974. description: 点价开始日期 [2:点价 3:暂定价]
  8975. type: string
  8976. tradeuserid:
  8977. description: 交易用户ID
  8978. type: integer
  8979. unpricedqty:
  8980. description: 未定价量 = 合同数量 - 已定价量
  8981. type: number
  8982. updatetime:
  8983. description: 更新时间
  8984. type: string
  8985. userid:
  8986. description: 机构ID
  8987. type: integer
  8988. wrstandardcode:
  8989. description: 现货商品代码
  8990. type: string
  8991. wrstandardid:
  8992. description: 现货商品ID
  8993. type: integer
  8994. wrstandardname:
  8995. description: '[现货商品]现货商品名称'
  8996. type: string
  8997. type: object
  8998. models.ErmcpTaAccount:
  8999. properties:
  9000. accountid:
  9001. description: 账户id
  9002. type: integer
  9003. accountname:
  9004. description: 账户名称
  9005. type: string
  9006. currencyid:
  9007. description: 币种id
  9008. type: integer
  9009. hedgeaccountcode:
  9010. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  9011. type: string
  9012. ismain:
  9013. description: 是否主账户 0-否 1-是
  9014. type: integer
  9015. parentaccountid:
  9016. description: 父账户id
  9017. type: integer
  9018. relateduserid:
  9019. description: 关联userid
  9020. type: integer
  9021. tradefeetmpid:
  9022. description: 手续费模板id
  9023. type: integer
  9024. tradefeetmpname:
  9025. description: 手续费模板名称
  9026. type: string
  9027. trademargintmpid:
  9028. description: 保证金模板id
  9029. type: integer
  9030. trademargintmpname:
  9031. description: 保证金模板名称
  9032. type: string
  9033. traderatetmpid:
  9034. description: 汇率模板id
  9035. type: integer
  9036. traderatetmpname:
  9037. description: 汇率模板名称
  9038. type: string
  9039. tradestatus:
  9040. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9041. type: integer
  9042. userid:
  9043. description: 用户id
  9044. type: integer
  9045. type: object
  9046. models.ErmcpTaAccountEx:
  9047. properties:
  9048. mainAcc:
  9049. $ref: '#/definitions/models.ErmcpTaAccountM'
  9050. description: 主账号
  9051. subacclist:
  9052. description: 子账号列表
  9053. items:
  9054. $ref: '#/definitions/models.ErmcpTaAccount'
  9055. type: array
  9056. type: object
  9057. models.ErmcpTaAccountInfo:
  9058. properties:
  9059. accountid:
  9060. description: 资金账户ID
  9061. type: integer
  9062. accountname:
  9063. description: 账户名称
  9064. type: string
  9065. balance:
  9066. description: 期初余额
  9067. type: number
  9068. capitalbalance:
  9069. description: 本金余额[外部子账户实际出入金余额]
  9070. type: number
  9071. closepl:
  9072. description: 今日平仓盈亏
  9073. type: number
  9074. creditdecrease:
  9075. description: 今日授信减少
  9076. type: number
  9077. creditincrease:
  9078. description: 今日授信增加
  9079. type: number
  9080. curdebt:
  9081. description: 期末欠款
  9082. type: number
  9083. currencyid:
  9084. description: 货币ID
  9085. type: integer
  9086. currentbalance:
  9087. description: 期末余额
  9088. type: number
  9089. freezecharge:
  9090. description: 手续费冻结
  9091. type: number
  9092. freezemargin:
  9093. description: 冻结保证金
  9094. type: number
  9095. fromaccountid:
  9096. description: 所属上级账户
  9097. type: integer
  9098. inamount:
  9099. description: 今日入金金额(包括三方入金)
  9100. type: number
  9101. ismain:
  9102. description: 是否母账号 0:不是母账户 1:是母账户
  9103. type: integer
  9104. mortgagecredit:
  9105. description: 授信金额
  9106. type: number
  9107. oridebt:
  9108. description: 期初欠款
  9109. type: number
  9110. orifreezecharge:
  9111. description: 期初手续费冻结
  9112. type: number
  9113. orifreezemargin:
  9114. description: 期初冻结保证金
  9115. type: number
  9116. orimortgagecredit:
  9117. description: 期初授信金额
  9118. type: number
  9119. oriothercredit:
  9120. description: 期初其它授信金额
  9121. type: number
  9122. oriotherfreezemargin:
  9123. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  9124. type: number
  9125. orioutamountfreeze:
  9126. description: 期初出金冻结
  9127. type: number
  9128. oriusedmargin:
  9129. description: 期初占用保证金
  9130. type: number
  9131. othercredit:
  9132. description: 其它授信金额
  9133. type: number
  9134. othercreditdecrease:
  9135. description: 今日其它授信减少
  9136. type: number
  9137. othercreditincrease:
  9138. description: 今日其它授信增加
  9139. type: number
  9140. otherfreezemargin:
  9141. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  9142. type: number
  9143. outamount:
  9144. description: 今日出金金额(包括三方出金)
  9145. type: number
  9146. outamountfreeze:
  9147. description: 出金冻结
  9148. type: number
  9149. outthreshold:
  9150. description: 出金阈值
  9151. type: number
  9152. parentaccountid:
  9153. description: 所属根账号
  9154. type: integer
  9155. paycharge:
  9156. description: 今日手续费支出
  9157. type: number
  9158. relateduserid:
  9159. description: 关联用户
  9160. type: integer
  9161. signstatus:
  9162. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  9163. type: integer
  9164. sublevelpath:
  9165. description: 账号层级路径(逗号分隔,首尾加逗号)
  9166. type: string
  9167. taaccounttype:
  9168. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  9169. type: integer
  9170. thirdinamount:
  9171. description: 今日三方入金
  9172. type: number
  9173. thirdoutamount:
  9174. description: 今日三方出金
  9175. type: number
  9176. tradestatus:
  9177. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9178. type: integer
  9179. transferamount:
  9180. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  9181. type: number
  9182. usedmargin:
  9183. description: 占用保证金
  9184. type: number
  9185. userid:
  9186. description: 用户ID
  9187. type: integer
  9188. type: object
  9189. models.ErmcpTaAccountM:
  9190. properties:
  9191. accountid:
  9192. description: 账户id
  9193. type: integer
  9194. accountname:
  9195. description: 账户名称
  9196. type: string
  9197. currencyid:
  9198. description: 币种id
  9199. type: integer
  9200. fcid:
  9201. description: 期货公司id
  9202. type: integer
  9203. fcname:
  9204. description: 期货公司代码
  9205. type: string
  9206. hedgeaccountcode:
  9207. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  9208. type: string
  9209. ismain:
  9210. description: 是否主账户 0-否 1-是
  9211. type: integer
  9212. parentaccountid:
  9213. description: 父账户id
  9214. type: integer
  9215. relateduserid:
  9216. description: 关联userid
  9217. type: integer
  9218. tradefeetmpid:
  9219. description: 手续费模板id
  9220. type: integer
  9221. tradefeetmpname:
  9222. description: 手续费模板名称
  9223. type: string
  9224. trademargintmpid:
  9225. description: 保证金模板id
  9226. type: integer
  9227. trademargintmpname:
  9228. description: 保证金模板名称
  9229. type: string
  9230. traderatetmpid:
  9231. description: 汇率模板id
  9232. type: integer
  9233. traderatetmpname:
  9234. description: 汇率模板名称
  9235. type: string
  9236. tradestatus:
  9237. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9238. type: integer
  9239. userid:
  9240. description: 用户id
  9241. type: integer
  9242. type: object
  9243. models.ErmcpTradeConfigTMP:
  9244. properties:
  9245. areauserid:
  9246. description: 所属机构
  9247. type: integer
  9248. basiccurrencyid:
  9249. description: 基本币种ID[汇率] - 目标币种
  9250. type: integer
  9251. mainaccountid:
  9252. description: 主账户ID
  9253. type: integer
  9254. modifierid:
  9255. description: 修改人
  9256. type: integer
  9257. remark:
  9258. description: 备注
  9259. type: string
  9260. tradeconfigtmpid:
  9261. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  9262. type: integer
  9263. tradeconfigtmpname:
  9264. description: 交易配置模板名称
  9265. type: string
  9266. tradeconfigtmptype:
  9267. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  9268. type: integer
  9269. updatetime:
  9270. description: 更新时间
  9271. type: string
  9272. type: object
  9273. models.Ermcpjrlinkpos:
  9274. properties:
  9275. areauserid:
  9276. description: 所属企业
  9277. type: integer
  9278. averageprice:
  9279. description: 持仓均价 (TotalBuyHoldAmount - TotalSellHoldAmount) / NetQty
  9280. type: number
  9281. closepl:
  9282. description: 总平仓盈亏 [期货损益]
  9283. type: number
  9284. executeprice:
  9285. description: 执行价 - 1:期货单 为 0
  9286. type: integer
  9287. futurehedgeqty:
  9288. description: 期货套期量
  9289. type: number
  9290. goodsid:
  9291. description: 期货合约
  9292. type: integer
  9293. middlegoodscode:
  9294. description: 套保商品代码
  9295. type: string
  9296. middlegoodsname:
  9297. description: 套保商品名称
  9298. type: string
  9299. netqty:
  9300. description: 净头寸
  9301. type: number
  9302. optioncode:
  9303. description: 期权代码
  9304. type: string
  9305. ordertype:
  9306. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  9307. type: integer
  9308. reckonpl:
  9309. description: 总盈亏(平仓盈亏 + 结算盈亏 - 手续费)
  9310. type: number
  9311. spotcontractid:
  9312. description: 现货ID [套期项目ID - 金瑞:合同\虚拟合同ID
  9313. type: string
  9314. todayfutureclosepl:
  9315. description: 今日平仓盈亏
  9316. type: number
  9317. totalbuyamount:
  9318. description: 买金额 [期货]
  9319. type: number
  9320. totalbuyholdamount:
  9321. description: 买持仓总金额[期货]
  9322. type: number
  9323. totalbuyqty:
  9324. description: 买数量
  9325. type: number
  9326. totalcharge:
  9327. description: 手续费
  9328. type: number
  9329. totalpremium:
  9330. description: 权利金 [期权]
  9331. type: number
  9332. totalsellamount:
  9333. description: 卖金额 [期货]
  9334. type: number
  9335. totalsellholdamount:
  9336. description: 卖持仓总金额[期货]
  9337. type: number
  9338. totalsellqty:
  9339. description: 卖数量
  9340. type: number
  9341. updatetime:
  9342. description: 更新时间
  9343. type: string
  9344. required:
  9345. - spotcontractid
  9346. type: object
  9347. models.Ermcppatradelinkdetail:
  9348. properties:
  9349. agreeunit:
  9350. description: 合约乘数
  9351. type: number
  9352. amount:
  9353. description: 金额 = RelatedLot * TradePrice * AgreeUnit
  9354. type: number
  9355. areauserid:
  9356. description: 所属机构
  9357. type: integer
  9358. bizsubjectid:
  9359. description: 归属业务部门ID - SubjectID
  9360. type: integer
  9361. buyorsell:
  9362. description: 方向 - 0:买 1:卖
  9363. type: integer
  9364. convertratio:
  9365. description: 品种系数
  9366. type: number
  9367. createtime:
  9368. description: 创建时间
  9369. type: string
  9370. creatorid:
  9371. description: 创建人ID
  9372. type: integer
  9373. creatorsrc:
  9374. description: 创建人来源 - 1:管理端 2:终端 3:交易
  9375. type: integer
  9376. goodsgroupid:
  9377. description: 对冲品种ID[期货合约商品组ID]
  9378. type: integer
  9379. goodsid:
  9380. description: 商品ID
  9381. type: integer
  9382. hedgeditemid:
  9383. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  9384. type: integer
  9385. hedgeflag:
  9386. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  9387. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  9388. type: integer
  9389. linkdetailid:
  9390. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  9391. type: string
  9392. linkstatus:
  9393. description: 关联状态 - 1:成功 2:失败 3:解绑
  9394. type: integer
  9395. middlegoodsid:
  9396. description: 套保品种ID
  9397. type: integer
  9398. name:
  9399. description: 账户名/子账户
  9400. type: string
  9401. optioncode:
  9402. description: '[期货合约]期权代码 [期权]'
  9403. type: string
  9404. ordertype:
  9405. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  9406. type: integer
  9407. relatedlot:
  9408. description: '[数量]关联手数'
  9409. type: number
  9410. relatedmode:
  9411. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  9412. type: integer
  9413. relatedqty:
  9414. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  9415. type: number
  9416. retcode:
  9417. description: 返回码
  9418. type: integer
  9419. saleuserid:
  9420. description: 业务员ID
  9421. type: integer
  9422. tradedate:
  9423. description: 关联交易日(yyyyMMdd)
  9424. type: string
  9425. tradeid:
  9426. description: '[成交单号]内部成交单ID'
  9427. type: string
  9428. tradelot:
  9429. description: 成交手数
  9430. type: integer
  9431. tradeprice:
  9432. description: '[价格]成交价格'
  9433. type: number
  9434. tradetime:
  9435. description: 日期时间
  9436. type: string
  9437. tradetradedate:
  9438. description: 成交交易日(yyyyMMdd)
  9439. type: string
  9440. required:
  9441. - hedgeditemid
  9442. type: object
  9443. models.Externalexchange:
  9444. properties:
  9445. autoid:
  9446. description: AutoID - SEQ_EXTERNALEXCHANGE
  9447. type: integer
  9448. exchangefullname:
  9449. description: 外部交易所全称
  9450. type: string
  9451. exexchangecode:
  9452. description: 外部交易所代码
  9453. type: string
  9454. exexchangename:
  9455. description: 外部交易所名称(简称)
  9456. type: string
  9457. ismarketprice:
  9458. description: 是否支持市价 - 0:不支持 1:支持
  9459. type: integer
  9460. quotegear:
  9461. description: 行情档位(1-10)
  9462. type: integer
  9463. showbrokerflag:
  9464. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  9465. type: integer
  9466. updatetime:
  9467. description: 更新时间
  9468. type: string
  9469. required:
  9470. - autoid
  9471. type: object
  9472. models.Funcmenulist:
  9473. properties:
  9474. iconame:
  9475. description: 菜单图标
  9476. type: string
  9477. menutype:
  9478. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  9479. type: integer
  9480. parentcode:
  9481. description: 上级资源代码
  9482. type: string
  9483. remark:
  9484. description: 备注
  9485. type: string
  9486. resourcecode:
  9487. description: 资源代码
  9488. type: string
  9489. resourcelevel:
  9490. description: 级别 1-一级 2-二级 3-三级 4-四级
  9491. type: integer
  9492. resourcename:
  9493. description: 资源名
  9494. type: string
  9495. sort:
  9496. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  9497. type: integer
  9498. url:
  9499. description: URL
  9500. type: string
  9501. required:
  9502. - resourcecode
  9503. type: object
  9504. models.Goods:
  9505. properties:
  9506. agreeunit:
  9507. description: 合约单位
  9508. type: number
  9509. areauserid:
  9510. description: 所属机构
  9511. type: integer
  9512. auditaccountid:
  9513. description: 审核操作员账号
  9514. type: integer
  9515. audittime:
  9516. description: 审核时间
  9517. type: string
  9518. cancelaccountid:
  9519. description: 注销操作员账号
  9520. type: integer
  9521. canceltime:
  9522. description: 注销时间
  9523. type: string
  9524. closepricemode:
  9525. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  9526. type: integer
  9527. closepriceparam:
  9528. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  9529. type: number
  9530. createtime:
  9531. description: 创建时间
  9532. type: string
  9533. creatorid:
  9534. description: 创建人
  9535. type: integer
  9536. currencyid:
  9537. description: 报价货币ID
  9538. type: integer
  9539. cutmode:
  9540. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  9541. type: integer
  9542. decimalplace:
  9543. description: 报价小数位
  9544. type: integer
  9545. delistingdate:
  9546. description: 商品退市时间(状态:退市) -- 已作废
  9547. type: string
  9548. delistingmode:
  9549. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  9550. type: integer
  9551. deliveryflag:
  9552. description: 交割标志 - 0:不可交割 1:可交割
  9553. type: integer
  9554. forceclosemode:
  9555. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  9556. type: integer
  9557. forceclosevalue:
  9558. description: 定期强平参数 [收益权]
  9559. type: integer
  9560. goodscode:
  9561. description: 商品代码(内部)
  9562. type: string
  9563. goodscurrencyid:
  9564. description: 合约货币ID
  9565. type: integer
  9566. goodsgroupid:
  9567. description: 所属商品组ID
  9568. type: integer
  9569. goodsid:
  9570. description: 商品ID(自增ID SEQ_GOODS)
  9571. type: integer
  9572. goodsname:
  9573. description: 商品名称
  9574. type: string
  9575. goodsquotetype:
  9576. description: '合约报价类型: 1-直接报价 2-间接报价'
  9577. type: integer
  9578. goodsstatus:
  9579. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  9580. type: integer
  9581. goodstradetype:
  9582. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  9583. type: integer
  9584. goodunitid:
  9585. description: 报价单位ID
  9586. type: integer
  9587. hasquoter:
  9588. description: 是否有报价商 - 0:无报价商 1:有报价商
  9589. type: integer
  9590. hqprotecttime:
  9591. description: 行情保护时间(秒)
  9592. type: integer
  9593. innerdealmode:
  9594. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  9595. type: integer
  9596. isbuylimited:
  9597. description: 是否限制建仓量 - 0:不限制 1:限制
  9598. type: integer
  9599. isvisible:
  9600. description: 游客是否可见 - 0:不可见 1:可见
  9601. type: integer
  9602. lasttradedate:
  9603. description: 最后交易日期(状态:待退市)
  9604. type: string
  9605. listingdate:
  9606. description: 交易开始日期
  9607. type: string
  9608. marketid:
  9609. description: 所属市场ID
  9610. type: integer
  9611. modifierid:
  9612. description: 修改人
  9613. type: integer
  9614. modifystatus:
  9615. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  9616. type: integer
  9617. modifytime:
  9618. description: 修改时间
  9619. type: string
  9620. outerdealmode:
  9621. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  9622. type: integer
  9623. outgoodscode:
  9624. description: 商品代码(外部)
  9625. type: string
  9626. pictureurl:
  9627. description: 商品图片
  9628. type: string
  9629. qtydecimalplace:
  9630. description: 成交量小数位
  9631. type: integer
  9632. quotegear:
  9633. description: 行情档位(1-10)
  9634. type: integer
  9635. quoteminunit:
  9636. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9637. type: integer
  9638. quoteshowtype:
  9639. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  9640. type: integer
  9641. quoteshowtypeinterval:
  9642. description: 行情报价间隔时间(秒)(成交价时为0)
  9643. type: integer
  9644. remark:
  9645. description: 备注
  9646. type: string
  9647. required:
  9648. - goodscode
  9649. - goodsid
  9650. - goodsname
  9651. - marketid
  9652. type: object
  9653. models.GoodsIDAndName:
  9654. properties:
  9655. goodscode:
  9656. description: 商品代码(内部)
  9657. type: string
  9658. goodsid:
  9659. description: 商品ID(自增ID SEQ_GOODS)
  9660. type: integer
  9661. goodsname:
  9662. description: 商品名称
  9663. type: string
  9664. marketid:
  9665. description: 所属市场ID
  9666. type: integer
  9667. required:
  9668. - goodscode
  9669. - goodsid
  9670. - goodsname
  9671. - marketid
  9672. type: object
  9673. models.Goodsgroup:
  9674. properties:
  9675. agreeunit:
  9676. description: 合约单位
  9677. type: number
  9678. canshort:
  9679. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  9680. type: integer
  9681. closepricemode:
  9682. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  9683. type: integer
  9684. closepriceparam:
  9685. description: 强平最新价浮动比例 - 方式为2时使用
  9686. type: number
  9687. createtime:
  9688. description: 创建时间
  9689. type: string
  9690. creatorid:
  9691. description: 创建人
  9692. type: integer
  9693. currencyid:
  9694. description: 报价货币ID
  9695. type: integer
  9696. decimalplace:
  9697. description: 报价小数位
  9698. type: integer
  9699. exercisetype:
  9700. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  9701. type: integer
  9702. exexchangeid:
  9703. description: 外部交易所ID[通道交易]
  9704. type: integer
  9705. goodsgroupid:
  9706. description: 商品组ID(自增ID)
  9707. type: integer
  9708. goodsgroupname:
  9709. description: 商品组名称
  9710. type: string
  9711. goodsgroupstatus:
  9712. description: 商品组状态 - 1:正常 2:注销
  9713. type: integer
  9714. goodunitid:
  9715. description: 报价单位ID
  9716. type: integer
  9717. innerdealmode:
  9718. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  9719. type: integer
  9720. isbuylimited:
  9721. description: 是否限制建仓量 - 0:不限制 1:限制
  9722. type: integer
  9723. marketid:
  9724. description: 所属市场ID
  9725. type: integer
  9726. modifierid:
  9727. description: 修改人
  9728. type: integer
  9729. modifytime:
  9730. description: 修改时间
  9731. type: string
  9732. outerdealmode:
  9733. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  9734. type: integer
  9735. outergroupcode:
  9736. description: 外部商品组代码[通道交易]
  9737. type: string
  9738. premiumdecimalplace:
  9739. description: 权利金小数位[场外期权]
  9740. type: integer
  9741. premiumspreadalgorithm:
  9742. description: 权利金点差方式[场外期权] 1:比率 2:固定
  9743. type: integer
  9744. premiumspreadvalue:
  9745. description: 权利金点差值[场外期权]
  9746. type: number
  9747. qtydecimalplace:
  9748. description: 成交量小数位
  9749. type: integer
  9750. quotegear:
  9751. description: 行情档位(1-10)
  9752. type: integer
  9753. quoteminunit:
  9754. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9755. type: integer
  9756. quoterid:
  9757. description: 报价商ID[场外期权]
  9758. type: integer
  9759. quotesourcegroupid:
  9760. description: 所属行情源分组ID[参考行情市场用\通道交易]
  9761. type: integer
  9762. syncgoodsqty:
  9763. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  9764. type: integer
  9765. required:
  9766. - goodsgroupid
  9767. - goodsgroupname
  9768. - goodsgroupstatus
  9769. - marketid
  9770. type: object
  9771. models.Goodssortbypreposition:
  9772. properties:
  9773. goodscode:
  9774. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  9775. type: string
  9776. goodsgroupcode:
  9777. description: 品种代码
  9778. type: string
  9779. prepositionqty:
  9780. description: 昨持仓量
  9781. type: integer
  9782. sortindex:
  9783. description: 排序
  9784. type: integer
  9785. tradedate:
  9786. description: 交易日
  9787. type: string
  9788. updatetime:
  9789. description: 更新时间
  9790. type: string
  9791. required:
  9792. - goodscode
  9793. - tradedate
  9794. type: object
  9795. models.Hedgeinnerholderdetail:
  9796. properties:
  9797. accountid:
  9798. description: 账号ID
  9799. type: integer
  9800. buyorsell:
  9801. description: 方向 - 0:买 1:卖
  9802. type: integer
  9803. freezeqty:
  9804. description: 冻结数量 - 按单平使用
  9805. type: integer
  9806. goodsid:
  9807. description: 商品ID
  9808. type: integer
  9809. holderamount:
  9810. description: 持仓金额 [商品币种]
  9811. type: number
  9812. holderdays:
  9813. description: 剩余冻结天数
  9814. type: integer
  9815. holderprice:
  9816. description: 持仓价格
  9817. type: number
  9818. holderqty:
  9819. description: 持仓数量
  9820. type: integer
  9821. marketid:
  9822. description: 市场ID
  9823. type: integer
  9824. openprice:
  9825. description: 建仓价格
  9826. type: number
  9827. openqty:
  9828. description: 建仓数量
  9829. type: integer
  9830. parentaccountid:
  9831. description: 所属母账户
  9832. type: integer
  9833. releaseamount:
  9834. description: 释放持仓金额[商品币种]
  9835. type: number
  9836. tradeamount:
  9837. description: 成交金额[账户]
  9838. type: number
  9839. tradedate:
  9840. description: 交易日(yyyyMMdd)
  9841. type: string
  9842. tradeid:
  9843. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9844. type: string
  9845. tradetime:
  9846. description: 交易时间
  9847. type: string
  9848. required:
  9849. - buyorsell
  9850. - tradeid
  9851. type: object
  9852. models.Hedgemarketopenlog:
  9853. properties:
  9854. accountid:
  9855. description: 资金账号[外部母账户]
  9856. type: integer
  9857. fcname:
  9858. description: 期货公司名称
  9859. type: string
  9860. handlestatus:
  9861. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  9862. type: integer
  9863. marketid:
  9864. description: 市场ID
  9865. type: integer
  9866. status:
  9867. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  9868. type: integer
  9869. tradedate:
  9870. description: 交易日(yyyyMMdd)
  9871. type: string
  9872. updatetime:
  9873. description: 更新时间
  9874. type: string
  9875. required:
  9876. - accountid
  9877. type: object
  9878. models.HsbyBuyMyPayOrder:
  9879. properties:
  9880. agreeunit:
  9881. description: 合约单位
  9882. type: number
  9883. buyaccountid:
  9884. description: 买方账号ID[报价币种]
  9885. type: integer
  9886. buyorderid:
  9887. description: 买方委托单号
  9888. type: string
  9889. createtime:
  9890. description: 创建时间
  9891. type: string
  9892. currencysign:
  9893. description: 货币符号
  9894. type: string
  9895. decimalplace:
  9896. description: 报价小数位
  9897. type: integer
  9898. goodscode:
  9899. description: 商品代码(内部)
  9900. type: string
  9901. goodsid:
  9902. description: 商品ID
  9903. type: integer
  9904. goodsname:
  9905. description: 商品名称
  9906. type: string
  9907. marketid:
  9908. description: 市场ID
  9909. type: integer
  9910. offamount:
  9911. description: 优惠金额
  9912. type: number
  9913. originalamount:
  9914. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  9915. type: number
  9916. payamount:
  9917. description: 支付金额 = TradeAmount + TradeCharge
  9918. type: number
  9919. payflag:
  9920. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  9921. type: integer
  9922. paylimitedtime:
  9923. description: 支付期限
  9924. type: string
  9925. paytime:
  9926. description: 付款时间
  9927. type: string
  9928. picurls1:
  9929. description: 预售商品介绍图片[多张用逗号分隔]
  9930. type: string
  9931. picurls2:
  9932. description: 挂牌商品介绍图片[多张用逗号分隔]
  9933. type: string
  9934. sellaccountid:
  9935. description: 卖方账号ID[报价币种]
  9936. type: integer
  9937. sellorderid:
  9938. description: 卖方委托单号
  9939. type: string
  9940. tradeamount:
  9941. description: 成交金额
  9942. type: number
  9943. tradecharge:
  9944. description: 成交手续费(买方)
  9945. type: number
  9946. tradedate:
  9947. description: 交易日(yyyyMMdd)
  9948. type: string
  9949. tradeid:
  9950. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9951. type: string
  9952. trademode:
  9953. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9954. 21:竞拍-大宗式 22:受托竞价
  9955. type: integer
  9956. tradeprice:
  9957. description: 成交价格
  9958. type: number
  9959. tradeqty:
  9960. description: 成交数量
  9961. type: integer
  9962. vendorname1:
  9963. description: 预售商品供应商名称
  9964. type: string
  9965. vendorname2:
  9966. description: 挂牌商品供应商名称
  9967. type: string
  9968. required:
  9969. - goodscode
  9970. - goodsname
  9971. - tradeid
  9972. - trademode
  9973. type: object
  9974. models.HsbyBuyMyTradeDetail:
  9975. properties:
  9976. accountid:
  9977. description: 账户ID[报价币种]
  9978. type: integer
  9979. agreeunit:
  9980. description: 合约单位
  9981. type: number
  9982. amount:
  9983. description: 金额 = 价格 * 数量 * 合约单位
  9984. type: number
  9985. buyorsell:
  9986. description: 买卖 - 0:买 1:卖
  9987. type: integer
  9988. currencysign:
  9989. description: 货币符号
  9990. type: string
  9991. decimalplace:
  9992. description: 报价小数位
  9993. type: integer
  9994. goodscode:
  9995. description: 商品代码(内部)
  9996. type: string
  9997. goodsid:
  9998. description: 商品ID
  9999. type: integer
  10000. goodsname:
  10001. description: 商品名称
  10002. type: string
  10003. marketid:
  10004. description: 市场ID
  10005. type: integer
  10006. orderamount:
  10007. description: 委托金额
  10008. type: number
  10009. orderid:
  10010. description: 单号(成交单号)
  10011. type: string
  10012. picurls1:
  10013. description: 预售商品介绍图片[多张用逗号分隔]
  10014. type: string
  10015. picurls2:
  10016. description: 挂牌商品介绍图片[多张用逗号分隔]
  10017. type: string
  10018. price:
  10019. description: 价格
  10020. type: number
  10021. qty:
  10022. description: 数量
  10023. type: integer
  10024. time:
  10025. description: 时间
  10026. type: string
  10027. trademode:
  10028. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10029. 21:竞拍-大宗式 22:受托竞价
  10030. type: integer
  10031. vendorname1:
  10032. description: 预售商品供应商名称
  10033. type: string
  10034. vendorname2:
  10035. description: 挂牌商品供应商名称
  10036. type: string
  10037. required:
  10038. - accountid
  10039. - buyorsell
  10040. - goodscode
  10041. - goodsid
  10042. - goodsname
  10043. - marketid
  10044. - orderid
  10045. - qty
  10046. - time
  10047. - trademode
  10048. type: object
  10049. models.HsbyGoodsOrderDetail:
  10050. properties:
  10051. buyorsell:
  10052. description: 买卖 - 0:买 1:卖
  10053. type: integer
  10054. currencysign:
  10055. description: 货币符号
  10056. type: string
  10057. customername:
  10058. description: 客户名称(企业名称),已脱敏
  10059. type: string
  10060. enableqty:
  10061. description: 可用数量
  10062. type: integer
  10063. goodunit:
  10064. description: 报价单位
  10065. type: string
  10066. orderid:
  10067. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10068. type: string
  10069. orderprice:
  10070. description: 委托价格
  10071. type: number
  10072. ordertime:
  10073. description: 委托时间
  10074. type: string
  10075. required:
  10076. - buyorsell
  10077. - orderid
  10078. - ordertime
  10079. type: object
  10080. models.HsbyListingGoodsDetail:
  10081. properties:
  10082. agreeunit:
  10083. description: 合约单位
  10084. type: number
  10085. buymaxqty:
  10086. description: 购买上限 [71] - 0为不限
  10087. type: integer
  10088. currency:
  10089. description: 货币
  10090. type: string
  10091. currencysign:
  10092. description: 货币符号
  10093. type: string
  10094. decimalplace:
  10095. description: 报价小数位
  10096. type: integer
  10097. desccityid:
  10098. description: 目的地(市)ID
  10099. type: integer
  10100. descprovinceid:
  10101. description: 目的地(省)ID
  10102. type: integer
  10103. goodscode:
  10104. description: 商品代码(内部)
  10105. type: string
  10106. goodsdesc:
  10107. description: 商品详情
  10108. type: string
  10109. goodsid:
  10110. description: 商品ID(自增ID SEQ_GOODS)
  10111. type: integer
  10112. goodsname:
  10113. description: 商品名称
  10114. type: string
  10115. goodsprice:
  10116. description: 商品价格
  10117. type: number
  10118. hotindex:
  10119. description: 景点热度
  10120. type: integer
  10121. last:
  10122. description: 现价
  10123. type: number
  10124. limitdown:
  10125. description: 跌停价
  10126. type: number
  10127. limitup:
  10128. description: 涨停价
  10129. type: number
  10130. lotsize:
  10131. description: 手数最小变动单位
  10132. type: integer
  10133. marketid:
  10134. description: 所属市场ID
  10135. type: integer
  10136. picurls:
  10137. description: 介绍图片[多张用逗号分隔]
  10138. type: string
  10139. quoteminunit:
  10140. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10141. type: integer
  10142. stepvalue:
  10143. description: 价格最小变动单位
  10144. type: number
  10145. trademode:
  10146. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10147. 21:竞拍-大宗式 22:受托竞价
  10148. type: integer
  10149. vendorattr:
  10150. description: 供应商附件(多张,逗号分隔)
  10151. type: string
  10152. vendorname:
  10153. description: 供应商名称
  10154. type: string
  10155. vendorphone:
  10156. description: 供应商客服电话
  10157. type: string
  10158. videourls:
  10159. description: 介绍视频[多张用逗号分隔]
  10160. type: string
  10161. required:
  10162. - goodscode
  10163. - goodsid
  10164. - goodsname
  10165. - marketid
  10166. - trademode
  10167. type: object
  10168. models.HsbyMarketGoods:
  10169. properties:
  10170. accountid:
  10171. description: 账户ID[报价币种]
  10172. type: integer
  10173. agreeunit:
  10174. description: 合约单位
  10175. type: number
  10176. buyorsell:
  10177. description: 买卖 - 0:买 1:卖
  10178. type: integer
  10179. categoryid:
  10180. description: 类别ID(WRCATEGORY)
  10181. type: integer
  10182. currency:
  10183. description: 货币
  10184. type: string
  10185. currencysign:
  10186. description: 货币符号
  10187. type: string
  10188. customername:
  10189. description: 卖家名称
  10190. type: string
  10191. decimalplace:
  10192. description: 报价小数位
  10193. type: integer
  10194. goodscode:
  10195. description: 商品代码(内部)
  10196. type: string
  10197. goodsid:
  10198. description: 商品ID
  10199. type: integer
  10200. goodsname:
  10201. description: 商品名称
  10202. type: string
  10203. goodsprice:
  10204. description: 商品价格
  10205. type: number
  10206. hascoupon:
  10207. description: 是否可用优惠卷
  10208. type: boolean
  10209. hotindex:
  10210. description: 景点热度
  10211. type: integer
  10212. marketid:
  10213. description: 市场ID
  10214. type: integer
  10215. orderid:
  10216. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10217. type: string
  10218. orderprice:
  10219. description: 委托价格
  10220. type: number
  10221. orderstatus:
  10222. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  10223. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  10224. 16:成交失败违约(荷兰式竞拍专用)
  10225. type: integer
  10226. picurls:
  10227. description: 介绍图片[多张用逗号分隔]
  10228. type: string
  10229. quoteminunit:
  10230. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10231. type: integer
  10232. sellUserID:
  10233. description: 卖方UserID
  10234. type: integer
  10235. trademode:
  10236. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10237. 21:竞拍-大宗式 22:受托竞价
  10238. type: integer
  10239. videourls:
  10240. description: 介绍视频[多张用逗号分隔]
  10241. type: string
  10242. required:
  10243. - accountid
  10244. - buyorsell
  10245. - goodscode
  10246. - goodsid
  10247. - goodsname
  10248. - marketid
  10249. - orderid
  10250. - trademode
  10251. type: object
  10252. models.HsbyMarketGoodsDetail:
  10253. properties:
  10254. accountid:
  10255. description: 账户ID[报价币种]
  10256. type: integer
  10257. agreeunit:
  10258. description: 合约单位
  10259. type: number
  10260. buymaxqty:
  10261. description: 购买上限 [71] - 0为不限
  10262. type: integer
  10263. buyorsell:
  10264. description: 买卖 - 0:买 1:卖
  10265. type: integer
  10266. cancelqty:
  10267. description: 撤单数量
  10268. type: integer
  10269. categoryid:
  10270. description: 类别ID(WRCATEGORY)
  10271. type: integer
  10272. currency:
  10273. description: 货币
  10274. type: string
  10275. currencysign:
  10276. description: 货币符号
  10277. type: string
  10278. customername:
  10279. description: 卖家名称
  10280. type: string
  10281. decimalplace:
  10282. description: 报价小数位
  10283. type: integer
  10284. goodscode:
  10285. description: 商品代码(内部)
  10286. type: string
  10287. goodsdesc:
  10288. description: 商品详情
  10289. type: string
  10290. goodsid:
  10291. description: 商品ID
  10292. type: integer
  10293. goodsname:
  10294. description: 商品名称
  10295. type: string
  10296. goodsprice:
  10297. description: 商品价格
  10298. type: number
  10299. hotindex:
  10300. description: 景点热度
  10301. type: integer
  10302. lotsize:
  10303. description: 手数最小变动单位
  10304. type: integer
  10305. marketid:
  10306. description: 市场ID
  10307. type: integer
  10308. orderid:
  10309. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10310. type: string
  10311. orderprice:
  10312. description: 委托价格
  10313. type: number
  10314. orderqty:
  10315. description: 委托数量
  10316. type: integer
  10317. orderstatus:
  10318. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  10319. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  10320. 16:成交失败违约(荷兰式竞拍专用)
  10321. type: integer
  10322. picurls:
  10323. description: 介绍图片[多张用逗号分隔]
  10324. type: string
  10325. quoteminunit:
  10326. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10327. type: integer
  10328. sellUserID:
  10329. description: 卖方UserID
  10330. type: integer
  10331. trademode:
  10332. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10333. 21:竞拍-大宗式 22:受托竞价
  10334. type: integer
  10335. tradeqty:
  10336. description: 成交数量
  10337. type: integer
  10338. vendorattr:
  10339. description: 供应商附件(多张,逗号分隔)
  10340. type: string
  10341. vendorname:
  10342. description: 供应商名称
  10343. type: string
  10344. vendorphone:
  10345. description: 供应商客服电话
  10346. type: string
  10347. videourls:
  10348. description: 介绍视频[多张用逗号分隔]
  10349. type: string
  10350. required:
  10351. - accountid
  10352. - buyorsell
  10353. - goodscode
  10354. - goodsid
  10355. - goodsname
  10356. - marketid
  10357. - orderid
  10358. - orderqty
  10359. - trademode
  10360. type: object
  10361. models.HsbyMarketInfo:
  10362. properties:
  10363. marketid:
  10364. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  10365. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  10366. type: integer
  10367. marketname:
  10368. description: 市场名称
  10369. type: string
  10370. marketstatus:
  10371. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  10372. type: integer
  10373. trademode:
  10374. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10375. 21:竞拍-大宗式 22:受托竞价
  10376. type: integer
  10377. required:
  10378. - marketid
  10379. - marketstatus
  10380. - trademode
  10381. type: object
  10382. models.HsbyMyGoods:
  10383. properties:
  10384. accountid:
  10385. description: 账号Id
  10386. type: integer
  10387. agreeunit:
  10388. description: 合约单位
  10389. type: number
  10390. buyaverageprice:
  10391. description: 持仓均价
  10392. type: number
  10393. buycurholderamount:
  10394. description: 买当前持仓总金额[商品币种]
  10395. type: number
  10396. buycurpositionqty:
  10397. description: 买当前持仓总数量
  10398. type: integer
  10399. buymaxqty:
  10400. description: 购买上限 [71] - 0为不限
  10401. type: integer
  10402. currencysign:
  10403. description: 货币符号
  10404. type: string
  10405. decimalplace:
  10406. description: 报价小数位
  10407. type: integer
  10408. enableqty:
  10409. description: 可用数量
  10410. type: integer
  10411. goodscode:
  10412. description: 商品代码(内部)
  10413. type: string
  10414. goodsid:
  10415. description: 商品Id
  10416. type: integer
  10417. goodsname:
  10418. description: 商品名称
  10419. type: string
  10420. goodsprice:
  10421. description: 商品价格
  10422. type: number
  10423. goodsstatus:
  10424. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  10425. type: integer
  10426. last:
  10427. description: 现价(仅使用于挂牌点选)
  10428. type: number
  10429. limitdown:
  10430. description: 跌停价(仅使用于挂牌点选)
  10431. type: number
  10432. limitup:
  10433. description: 涨停价(仅使用于挂牌点选)
  10434. type: number
  10435. lotsize:
  10436. description: 手数最小变动单位
  10437. type: integer
  10438. marketid:
  10439. description: 所属市场ID
  10440. type: integer
  10441. picurls:
  10442. description: 介绍图片[多张用逗号分隔]
  10443. type: string
  10444. quoteminunit:
  10445. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10446. type: integer
  10447. stepvalue:
  10448. description: 价格最小变动单位
  10449. type: number
  10450. trademode:
  10451. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10452. 21:竞拍-大宗式 22:受托竞价
  10453. type: integer
  10454. required:
  10455. - accountid
  10456. - goodscode
  10457. - goodsid
  10458. - goodsname
  10459. - marketid
  10460. - trademode
  10461. type: object
  10462. models.HsbyMyPackage:
  10463. properties:
  10464. accountid:
  10465. description: 账户ID
  10466. type: integer
  10467. address:
  10468. description: 提货人详细地址
  10469. type: string
  10470. agreeunit:
  10471. description: 合约单位
  10472. type: number
  10473. amount:
  10474. description: 提货金额
  10475. type: number
  10476. auditer:
  10477. description: 审核人
  10478. type: integer
  10479. audittime:
  10480. description: 审核时间
  10481. type: string
  10482. averageprice:
  10483. description: 均价
  10484. type: number
  10485. cardnum:
  10486. description: 提货人证件号码
  10487. type: string
  10488. cardtypeid:
  10489. description: 提货人证件类型
  10490. type: integer
  10491. checkremark:
  10492. description: 审核备注
  10493. type: string
  10494. currencysign:
  10495. description: 货币符号
  10496. type: string
  10497. decimalplace:
  10498. description: 报价小数位
  10499. type: integer
  10500. goodscode:
  10501. description: 商品代码(内部)
  10502. type: string
  10503. goodsid:
  10504. description: 商品ID
  10505. type: integer
  10506. goodsname:
  10507. description: 商品名称
  10508. type: string
  10509. handlestatus:
  10510. description: 处理状态
  10511. type: integer
  10512. marketid:
  10513. description: 市场ID
  10514. type: integer
  10515. phonenum:
  10516. description: 提货人联系方式
  10517. type: string
  10518. picurls:
  10519. description: 介绍图片[多张用逗号分隔]
  10520. type: string
  10521. qty:
  10522. description: 提货数量
  10523. type: number
  10524. recivername:
  10525. description: 提货人姓名
  10526. type: string
  10527. reqtime:
  10528. description: 更新时间
  10529. type: string
  10530. takemode:
  10531. description: 提货方式 - 2:自提 3:配送
  10532. type: integer
  10533. takeorderid:
  10534. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  10535. type: string
  10536. takeorderstatus:
  10537. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  10538. type: integer
  10539. takeremark:
  10540. description: 提货备注
  10541. type: string
  10542. tradedate:
  10543. description: 交易日(yyyyMMdd)
  10544. type: string
  10545. trademode:
  10546. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10547. 21:竞拍-大宗式 22:受托竞价
  10548. type: integer
  10549. userid:
  10550. description: 用户ID
  10551. type: integer
  10552. vendorname:
  10553. description: 供应商名称
  10554. type: string
  10555. required:
  10556. - goodscode
  10557. - goodsname
  10558. - takeorderid
  10559. - trademode
  10560. type: object
  10561. models.HsbyPreGoods:
  10562. properties:
  10563. agreeunit:
  10564. description: 合约单位
  10565. type: number
  10566. currency:
  10567. description: 货币
  10568. type: string
  10569. currencysign:
  10570. description: 货币符号
  10571. type: string
  10572. decimalplace:
  10573. description: 报价小数位
  10574. type: integer
  10575. desccityid:
  10576. description: 目的地(市)
  10577. type: integer
  10578. descprovinceid:
  10579. description: 目的地(省)
  10580. type: integer
  10581. enableqty:
  10582. description: 剩余数量
  10583. type: integer
  10584. goodscode:
  10585. description: 商品代码(内部)
  10586. type: string
  10587. goodsid:
  10588. description: 商品ID(自增ID SEQ_GOODS)
  10589. type: integer
  10590. goodsname:
  10591. description: 商品名称
  10592. type: string
  10593. goodsstatus:
  10594. description: 商品状态- 2:未上市 3:上市
  10595. type: integer
  10596. lasttradedate:
  10597. description: 最后交易日期(状态:待退市)
  10598. type: string
  10599. listingdate:
  10600. description: 交易开始日期
  10601. type: string
  10602. marketid:
  10603. description: 所属市场ID
  10604. type: integer
  10605. picurls:
  10606. description: 介绍图片[多张用逗号分隔]
  10607. type: string
  10608. presaledqty:
  10609. description: 已预售量(预售结束时更新)
  10610. type: integer
  10611. presaleqty:
  10612. description: 预售数量
  10613. type: integer
  10614. quoteminunit:
  10615. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10616. type: integer
  10617. refprice:
  10618. description: 参考价格[一口价]
  10619. type: number
  10620. relatedgoodsid:
  10621. description: 关联交易合约ID
  10622. type: integer
  10623. trademode:
  10624. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10625. 21:竞拍-大宗式 22:受托竞价
  10626. type: integer
  10627. videourls:
  10628. description: 介绍视频[多张用逗号分隔]
  10629. type: string
  10630. required:
  10631. - goodscode
  10632. - goodsid
  10633. - goodsname
  10634. - marketid
  10635. - trademode
  10636. type: object
  10637. models.HsbyPreGoodsDetail:
  10638. properties:
  10639. agreeunit:
  10640. description: 合约单位
  10641. type: number
  10642. buymaxqty:
  10643. description: 购买上限 [71] - 0为不限
  10644. type: integer
  10645. currency:
  10646. description: 货币
  10647. type: string
  10648. currencysign:
  10649. description: 货币符号
  10650. type: string
  10651. customername:
  10652. description: 发行单位
  10653. type: string
  10654. decimalplace:
  10655. description: 报价小数位
  10656. type: integer
  10657. desccityid:
  10658. description: 目的地(市)ID
  10659. type: integer
  10660. descprovinceid:
  10661. description: 目的地(省)ID
  10662. type: integer
  10663. enableqty:
  10664. description: 剩余数量
  10665. type: integer
  10666. goodscode:
  10667. description: 商品代码(内部)
  10668. type: string
  10669. goodsdesc:
  10670. description: 商品详情
  10671. type: string
  10672. goodsid:
  10673. description: 商品ID(自增ID SEQ_GOODS)
  10674. type: integer
  10675. goodsname:
  10676. description: 商品名称
  10677. type: string
  10678. goodsstatus:
  10679. description: 商品状态- 2:未上市 3:上市
  10680. type: integer
  10681. goodunit:
  10682. description: 报价单位
  10683. type: string
  10684. lasttradedate:
  10685. description: 最后交易日期(状态:待退市)
  10686. type: string
  10687. listingdate:
  10688. description: 交易开始日期
  10689. type: string
  10690. lotsize:
  10691. description: 手数最小变动单位
  10692. type: integer
  10693. marketid:
  10694. description: 所属市场ID
  10695. type: integer
  10696. picurls:
  10697. description: 介绍图片[多张用逗号分隔]
  10698. type: string
  10699. presaledqty:
  10700. description: 已预售量(预售结束时更新)
  10701. type: integer
  10702. presaleqty:
  10703. description: 预售数量
  10704. type: integer
  10705. quoteminunit:
  10706. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10707. type: integer
  10708. refprice:
  10709. description: 参考价格[一口价]
  10710. type: number
  10711. relatedgoodsid:
  10712. description: 关联交易合约ID
  10713. type: integer
  10714. stepvalue:
  10715. description: 价格最小变动单位
  10716. type: number
  10717. trademode:
  10718. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10719. 21:竞拍-大宗式 22:受托竞价
  10720. type: integer
  10721. vendorattr:
  10722. description: 供应商附件(多张,逗号分隔)
  10723. type: string
  10724. vendorname:
  10725. description: 供应商名称
  10726. type: string
  10727. vendorphone:
  10728. description: 供应商客服电话
  10729. type: string
  10730. videourls:
  10731. description: 介绍视频[多张用逗号分隔]
  10732. type: string
  10733. required:
  10734. - goodscode
  10735. - goodsid
  10736. - goodsname
  10737. - marketid
  10738. - trademode
  10739. type: object
  10740. models.HsbySellCollectionOrder:
  10741. properties:
  10742. agreeunit:
  10743. description: 合约单位
  10744. type: number
  10745. buyaccountid:
  10746. description: 买方账号ID[报价币种]
  10747. type: integer
  10748. buyorderid:
  10749. description: 买方委托单号
  10750. type: string
  10751. createtime:
  10752. description: 创建时间
  10753. type: string
  10754. currencysign:
  10755. description: 货币符号
  10756. type: string
  10757. decimalplace:
  10758. description: 报价小数位
  10759. type: integer
  10760. goodscode:
  10761. description: 商品代码(内部)
  10762. type: string
  10763. goodsid:
  10764. description: 商品ID
  10765. type: integer
  10766. goodsname:
  10767. description: 商品名称
  10768. type: string
  10769. marketid:
  10770. description: 市场ID
  10771. type: integer
  10772. offamount:
  10773. description: 优惠金额
  10774. type: number
  10775. payamount:
  10776. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  10777. type: number
  10778. payflag:
  10779. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  10780. type: integer
  10781. paylimitedtime:
  10782. description: 支付期限
  10783. type: string
  10784. paytime:
  10785. description: 付款时间
  10786. type: string
  10787. picurls:
  10788. description: 商品介绍图片[多张用逗号分隔]
  10789. type: string
  10790. sellaccountid:
  10791. description: 卖方账号ID[报价币种]
  10792. type: integer
  10793. sellorderid:
  10794. description: 卖方委托单号
  10795. type: string
  10796. tradeamount:
  10797. description: 成交金额
  10798. type: number
  10799. tradecharge:
  10800. description: 成交手续费(买方)
  10801. type: number
  10802. tradedate:
  10803. description: 交易日(yyyyMMdd)
  10804. type: string
  10805. tradeid:
  10806. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10807. type: string
  10808. trademode:
  10809. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10810. 21:竞拍-大宗式 22:受托竞价
  10811. type: integer
  10812. tradeprice:
  10813. description: 成交价格
  10814. type: number
  10815. tradeqty:
  10816. description: 成交数量
  10817. type: integer
  10818. required:
  10819. - goodscode
  10820. - goodsname
  10821. - tradeid
  10822. - trademode
  10823. type: object
  10824. models.HsbySellMyDetail:
  10825. properties:
  10826. accountid:
  10827. description: 账户ID[报价币种]
  10828. type: integer
  10829. agreeunit:
  10830. description: 合约单位
  10831. type: number
  10832. buyorsell:
  10833. description: 买卖 - 0:买 1:卖
  10834. type: integer
  10835. currencysign:
  10836. description: 货币符号
  10837. type: string
  10838. decimalplace:
  10839. description: 报价小数位
  10840. type: integer
  10841. goodscode:
  10842. description: 商品代码(内部)
  10843. type: string
  10844. goodsid:
  10845. description: 商品ID
  10846. type: integer
  10847. goodsname:
  10848. description: 商品名称
  10849. type: string
  10850. marketid:
  10851. description: 市场ID
  10852. type: integer
  10853. orderid:
  10854. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  10855. type: string
  10856. ordertype:
  10857. description: 单据类型:0 - 发布中, 1 - 已完成
  10858. type: integer
  10859. picurls:
  10860. description: 介绍图片[多张用逗号分隔]
  10861. type: string
  10862. price:
  10863. description: 价格
  10864. type: number
  10865. qty:
  10866. description: 数量
  10867. type: integer
  10868. time:
  10869. description: 时间
  10870. type: string
  10871. trademode:
  10872. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10873. 21:竞拍-大宗式 22:受托竞价
  10874. type: integer
  10875. vendorname:
  10876. description: 供应商名称
  10877. type: string
  10878. required:
  10879. - accountid
  10880. - buyorsell
  10881. - goodscode
  10882. - goodsid
  10883. - goodsname
  10884. - marketid
  10885. - orderid
  10886. - time
  10887. - trademode
  10888. type: object
  10889. models.HsbyTopGoods:
  10890. properties:
  10891. agreeunit:
  10892. description: 合约单位
  10893. type: number
  10894. currency:
  10895. description: 货币
  10896. type: string
  10897. currencysign:
  10898. description: 货币符号
  10899. type: string
  10900. decimalplace:
  10901. description: 报价小数位
  10902. type: integer
  10903. desccityid:
  10904. description: 目的地(市)
  10905. type: integer
  10906. descprovinceid:
  10907. description: 目的地(省)
  10908. type: integer
  10909. goodscode:
  10910. description: 商品代码(内部)
  10911. type: string
  10912. goodsid:
  10913. description: 商品ID(自增ID SEQ_GOODS)
  10914. type: integer
  10915. goodsname:
  10916. description: 商品名称
  10917. type: string
  10918. hotindex:
  10919. description: 景点热度
  10920. type: integer
  10921. last:
  10922. description: 现价
  10923. type: number
  10924. marketid:
  10925. description: 所属市场ID
  10926. type: integer
  10927. picurls:
  10928. description: 介绍图片[多张用逗号分隔]
  10929. type: string
  10930. quoteminunit:
  10931. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10932. type: integer
  10933. trademode:
  10934. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10935. 21:竞拍-大宗式 22:受托竞价
  10936. type: integer
  10937. videourls:
  10938. description: 介绍视频[多张用逗号分隔]
  10939. type: string
  10940. required:
  10941. - goodscode
  10942. - goodsid
  10943. - goodsname
  10944. - marketid
  10945. - trademode
  10946. type: object
  10947. models.HybsMyBuyOrderDetail:
  10948. properties:
  10949. accountid:
  10950. description: 账户ID[报价币种]
  10951. type: integer
  10952. agreeunit:
  10953. description: 合约单位
  10954. type: number
  10955. buyorsell:
  10956. description: 买卖 - 0:买 1:卖
  10957. type: integer
  10958. cancelqty:
  10959. description: 撤单数量
  10960. type: integer
  10961. currencysign:
  10962. description: 货币符号
  10963. type: string
  10964. decimalplace:
  10965. description: 报价小数位
  10966. type: integer
  10967. goodscode:
  10968. description: 商品代码(内部)
  10969. type: string
  10970. goodsid:
  10971. description: 商品ID
  10972. type: integer
  10973. goodsname:
  10974. description: 商品名称
  10975. type: string
  10976. listingselecttype:
  10977. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  10978. type: integer
  10979. marketid:
  10980. description: 市场ID
  10981. type: integer
  10982. mybuystatus:
  10983. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  10984. type: integer
  10985. orderamount:
  10986. description: 委托金额
  10987. type: number
  10988. orderid:
  10989. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10990. type: string
  10991. orderprice:
  10992. description: 委托价格
  10993. type: number
  10994. orderqty:
  10995. description: 委托数量
  10996. type: integer
  10997. orderstatus:
  10998. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  10999. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  11000. 16:成交失败违约(荷兰式竞拍专用)
  11001. type: integer
  11002. ordertime:
  11003. description: 委托时间
  11004. type: string
  11005. picurls1:
  11006. description: 预售商品介绍图片[多张用逗号分隔]
  11007. type: string
  11008. picurls2:
  11009. description: 挂牌商品介绍图片[多张用逗号分隔]
  11010. type: string
  11011. trademode:
  11012. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11013. 21:竞拍-大宗式 22:受托竞价
  11014. type: integer
  11015. tradeqty:
  11016. description: 成交数量
  11017. type: integer
  11018. vendorname1:
  11019. description: 预售商品供应商名称
  11020. type: string
  11021. vendorname2:
  11022. description: 挂牌商品供应商名称
  11023. type: string
  11024. required:
  11025. - accountid
  11026. - buyorsell
  11027. - goodscode
  11028. - goodsid
  11029. - goodsname
  11030. - marketid
  11031. - orderid
  11032. - orderqty
  11033. - ordertime
  11034. - trademode
  11035. type: object
  11036. models.InternalEnableTradeDetail:
  11037. properties:
  11038. agreeunit:
  11039. description: 合约乘数
  11040. type: number
  11041. areauserid:
  11042. description: 企业ID
  11043. type: integer
  11044. convertratio:
  11045. description: 品种系数
  11046. type: number
  11047. deliverygoodscode:
  11048. description: 现货品种代码
  11049. type: string
  11050. deliverygoodsid:
  11051. description: 现货品种ID(SEQ_DELIVERYGOODS)
  11052. type: integer
  11053. deliverygoodsname:
  11054. description: 现货品种名称
  11055. type: string
  11056. futurehedgeqty:
  11057. description: '[已关联数量]期货持仓套期量'
  11058. type: number
  11059. goodsid:
  11060. description: 期货合约ID
  11061. type: integer
  11062. hedgeditemid:
  11063. description: 被套期项目ID
  11064. type: string
  11065. hedgeditemnum:
  11066. description: 项目编号
  11067. type: string
  11068. unexehedgeqty:
  11069. description: 未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)
  11070. type: number
  11071. unexespotqty:
  11072. description: 未执行现货量
  11073. type: number
  11074. wrstandardcode:
  11075. description: 现货品类代码
  11076. type: string
  11077. wrstandardid:
  11078. description: 现货品类ID(SEQ_WRSTANDARD)
  11079. type: integer
  11080. wrstandardname:
  11081. description: 现货品类名称
  11082. type: string
  11083. required:
  11084. - areauserid
  11085. - goodsid
  11086. type: object
  11087. models.InternalUncorrelatedTradeDetail:
  11088. properties:
  11089. accountid:
  11090. description: 账号ID
  11091. type: integer
  11092. accountname:
  11093. description: 套期主体
  11094. type: string
  11095. agreeunit:
  11096. description: 合约乘数
  11097. type: number
  11098. areauserid:
  11099. description: 所属机构
  11100. type: integer
  11101. bizsubjectid:
  11102. description: 归属业务部门ID - SubjectID
  11103. type: integer
  11104. buyorsell:
  11105. description: 方向 - 0:买 1:卖
  11106. type: integer
  11107. channelbuildtype:
  11108. description: 委托单据类型 0:无 1:建仓 2:平仓
  11109. type: integer
  11110. convertratio:
  11111. description: 品种系数
  11112. type: number
  11113. createtime:
  11114. description: 创建时间
  11115. type: string
  11116. creatorid:
  11117. description: 创建人ID
  11118. type: integer
  11119. creatorsrc:
  11120. description: 创建人来源 - 1:管理端 2:终端 3:交易
  11121. type: integer
  11122. enableqty:
  11123. description: 项目可关联手数 = 成交手数 - 关联数量
  11124. type: number
  11125. goodscode:
  11126. description: 合约代码
  11127. type: string
  11128. goodsgroupid:
  11129. description: 对冲品种ID[期货合约商品组ID]
  11130. type: integer
  11131. goodsid:
  11132. description: 商品ID
  11133. type: integer
  11134. goodsname:
  11135. description: 合约名称
  11136. type: string
  11137. hedgeditemid:
  11138. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  11139. type: integer
  11140. hedgeflag:
  11141. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  11142. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  11143. type: integer
  11144. linkdetailid:
  11145. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  11146. type: string
  11147. linkstatus:
  11148. description: 关联状态 - 1:成功 2:失败 3:解绑
  11149. type: integer
  11150. middlegoodsid:
  11151. description: 套保品种ID
  11152. type: integer
  11153. relatedlot:
  11154. description: '[数量]关联手数'
  11155. type: number
  11156. relatedmode:
  11157. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  11158. type: integer
  11159. relatedqty:
  11160. description: '[套期商品数量]关联数量 = RelatedLot * AgreeUnit * ConvertRatio'
  11161. type: number
  11162. retcode:
  11163. description: 返回码
  11164. type: integer
  11165. saleuserid:
  11166. description: 业务员ID
  11167. type: integer
  11168. tradedate:
  11169. description: 关联交易日(yyyyMMdd)
  11170. type: string
  11171. tradeid:
  11172. description: 成交单号
  11173. type: string
  11174. tradelot:
  11175. description: 成交手数
  11176. type: integer
  11177. tradeprice:
  11178. description: 成交价
  11179. type: number
  11180. tradetime:
  11181. description: 成交时间
  11182. type: string
  11183. tradetradedate:
  11184. description: 成交交易日(yyyyMMdd)
  11185. type: string
  11186. type: object
  11187. models.Loginaccount:
  11188. properties:
  11189. accountname:
  11190. description: 账户名称
  11191. type: string
  11192. canoutin:
  11193. description: 是否可出入金 - 0:不可 1:可
  11194. type: integer
  11195. clientroleid:
  11196. description: 终端角色ID
  11197. type: integer
  11198. haslogined:
  11199. description: 是否已登录 - 0:未登录 1:已登录
  11200. type: integer
  11201. hasupdatedpwd:
  11202. description: 是否已更改密码 - 0:未修改 1:已修改
  11203. type: integer
  11204. lastloginip:
  11205. description: 最新登录地址
  11206. type: string
  11207. lastloginmode:
  11208. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  11209. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  11210. type: integer
  11211. lastloginremark:
  11212. description: 最新登录描述
  11213. type: string
  11214. lastlogintime:
  11215. description: 最新登录时间
  11216. type: string
  11217. logincode:
  11218. description: 登录代码
  11219. type: string
  11220. loginfailnum:
  11221. description: 连续登录失败次数(登录成功时清零)
  11222. type: integer
  11223. loginid:
  11224. description: 登陆账号
  11225. type: integer
  11226. loginport:
  11227. description: 最新登录端口
  11228. type: integer
  11229. loginstatus:
  11230. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  11231. type: integer
  11232. loginusertype:
  11233. description: 登录账号类型 - 1:投资者 2:机构交易员
  11234. type: integer
  11235. mobile:
  11236. description: 手机号码(加密存储)
  11237. type: string
  11238. modifierid:
  11239. description: 修改人
  11240. type: integer
  11241. modifysrc:
  11242. description: 审核来源 - 1:管理端 2:终端
  11243. type: integer
  11244. modifytime:
  11245. description: 修改时间
  11246. type: string
  11247. password:
  11248. description: 登陆密码
  11249. type: string
  11250. pwdwrongcount:
  11251. description: 密码错误次数
  11252. type: integer
  11253. relateduserid:
  11254. description: 关联用户ID(机构)
  11255. type: integer
  11256. taaccountrighttype:
  11257. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  11258. type: integer
  11259. unfreezetime:
  11260. description: 账户解冻时间
  11261. type: string
  11262. userid:
  11263. description: 用户ID
  11264. type: integer
  11265. required:
  11266. - loginid
  11267. type: object
  11268. models.MainAccountInfo:
  11269. properties:
  11270. accountid:
  11271. description: 账号id
  11272. type: integer
  11273. accountname:
  11274. description: 账号名称(taaccount表中的名称)
  11275. type: string
  11276. appid:
  11277. description: AppID
  11278. type: string
  11279. authcode:
  11280. description: 授权码
  11281. type: string
  11282. brokerid:
  11283. description: 经纪商id
  11284. type: string
  11285. fcid:
  11286. description: 期货公司id
  11287. type: integer
  11288. fcname:
  11289. description: 期货公司代码
  11290. type: string
  11291. hedgeaccountcode:
  11292. description: 外部账号代码(主账号登录代码)
  11293. type: string
  11294. hedgeaccountpwd:
  11295. description: 密码
  11296. type: string
  11297. ismain:
  11298. description: 是否主账号
  11299. type: integer
  11300. relateduserid:
  11301. description: 关联用户id
  11302. type: integer
  11303. userid:
  11304. description: 关联用户id
  11305. type: integer
  11306. type: object
  11307. models.Market:
  11308. properties:
  11309. auctionwrtype:
  11310. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  11311. type: integer
  11312. canacceptquote:
  11313. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  11314. type: integer
  11315. cangoodsexercise:
  11316. description: '[期权]是否可现货行权- 0:否 1:是'
  11317. type: integer
  11318. cangoodsexercisetype:
  11319. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  11320. type: integer
  11321. canmanualquotestrike:
  11322. description: 是否可手动报行权价- 0:否 1:是 [期权]
  11323. type: integer
  11324. canmutistage:
  11325. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  11326. type: integer
  11327. canpreexercise:
  11328. description: '[期权]是否可预申报- 0:否 1:是'
  11329. type: integer
  11330. clearinterval:
  11331. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  11332. type: integer
  11333. contracttmp:
  11334. description: 合同模板[荷兰式][竞价式][仓单贸易]
  11335. type: string
  11336. exchareaid:
  11337. description: 所属交易所,可以没有
  11338. type: integer
  11339. goodstype:
  11340. description: 商品类型 - 1:交易商品 2:仓单商品
  11341. type: integer
  11342. hasrebate:
  11343. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  11344. type: integer
  11345. hastradecredit:
  11346. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  11347. type: integer
  11348. haswr:
  11349. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  11350. type: integer
  11351. isdeductmargin:
  11352. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  11353. type: integer
  11354. isrecordsource:
  11355. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  11356. type: integer
  11357. isreleasemargin:
  11358. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  11359. type: integer
  11360. marginformula:
  11361. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  11362. type: integer
  11363. marginformula2:
  11364. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  11365. type: integer
  11366. marketid:
  11367. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  11368. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  11369. type: integer
  11370. marketname:
  11371. description: 市场名称
  11372. type: string
  11373. marketserviceid:
  11374. description: 市场服务ID
  11375. type: integer
  11376. marketstatus:
  11377. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  11378. type: integer
  11379. markettype:
  11380. description: 市场类型- 1:非交易服务 2:交易服务
  11381. type: integer
  11382. matchermode:
  11383. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  11384. type: integer
  11385. openmethod:
  11386. description: 开盘模式 - 0 自动 1手动
  11387. type: integer
  11388. otcuserid:
  11389. description: 场外期权做市商[场外期权]
  11390. type: integer
  11391. outersynctime:
  11392. description: 外部同步时间点(h24:mi:ss)[场外期权]
  11393. type: string
  11394. pendingflag:
  11395. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  11396. type: integer
  11397. pendingtime:
  11398. description: 待开市时间[通道交易-对冲](HH:mm)
  11399. type: string
  11400. performancetempid:
  11401. description: 履约计划模板ID - 作废
  11402. type: integer
  11403. premiumquotemode:
  11404. description: 权利金报价方式 - 1:自动 2:手动
  11405. type: integer
  11406. rebateratio:
  11407. description: 返利比率[竞价式]
  11408. type: number
  11409. reckonorder:
  11410. description: 结算顺序
  11411. type: integer
  11412. reckonpricealgorithm:
  11413. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  11414. 6.卖一价 7.买一卖一均价 8.外部结算价'
  11415. type: integer
  11416. reckonpriceparam:
  11417. description: 结算价参数
  11418. type: integer
  11419. reckontime:
  11420. description: 结算时间[通道交易-对冲](HH:mm)
  11421. type: string
  11422. roleprioritytype:
  11423. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  11424. type: integer
  11425. selllistingauditflag:
  11426. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  11427. type: integer
  11428. trademarkettype:
  11429. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  11430. type: integer
  11431. trademode:
  11432. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11433. 21:竞拍-大宗式 22:受托竞价
  11434. type: integer
  11435. tradeproperty:
  11436. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  11437. 8:场外期权
  11438. type: integer
  11439. tradetype:
  11440. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  11441. type: integer
  11442. required:
  11443. - marketid
  11444. - marketstatus
  11445. - openmethod
  11446. - reckonpricealgorithm
  11447. - trademode
  11448. - tradeproperty
  11449. type: object
  11450. models.Marketrun:
  11451. properties:
  11452. afternexttradedate:
  11453. description: 下下交易日
  11454. type: string
  11455. clearquoteflag:
  11456. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  11457. type: integer
  11458. lastreckondate:
  11459. description: 最新交易日(结算成功)
  11460. type: string
  11461. machinedate:
  11462. description: 机器时间
  11463. type: string
  11464. manualflag:
  11465. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  11466. type: integer
  11467. marketid:
  11468. description: 市场ID
  11469. type: integer
  11470. nexttradedate:
  11471. description: 下一交易日
  11472. type: string
  11473. pretradedate:
  11474. description: 上一交易日
  11475. type: string
  11476. reckonflag:
  11477. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  11478. type: integer
  11479. runstatus:
  11480. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  11481. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  11482. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  11483. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  11484. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  11485. 62.今日免清算
  11486. type: integer
  11487. sectionid:
  11488. description: 时间段号[多时段时用]
  11489. type: integer
  11490. tradedate:
  11491. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  11492. type: string
  11493. tradedate2:
  11494. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  11495. type: string
  11496. updatetime:
  11497. description: 更新时间
  11498. type: string
  11499. required:
  11500. - marketid
  11501. - nexttradedate
  11502. - reckonflag
  11503. - runstatus
  11504. - tradedate
  11505. - tradedate2
  11506. type: object
  11507. models.Messageboard:
  11508. properties:
  11509. contactnum:
  11510. description: 联系电话
  11511. type: string
  11512. createtime:
  11513. description: 创建时间
  11514. type: string
  11515. message:
  11516. description: 留言信息
  11517. type: string
  11518. messageboardid:
  11519. description: 留言簿ID(SEQ_MessageBoard)
  11520. type: integer
  11521. userid:
  11522. description: 用户ID
  11523. type: integer
  11524. required:
  11525. - messageboardid
  11526. type: object
  11527. models.MyCoupon:
  11528. properties:
  11529. accountid:
  11530. description: 资金账户ID
  11531. type: integer
  11532. areauserid:
  11533. description: 所属机构
  11534. type: integer
  11535. conditionvalue:
  11536. description: 条件阈值(可为0)
  11537. type: number
  11538. couponcategroy:
  11539. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  11540. type: integer
  11541. couponname:
  11542. description: 优惠券名称
  11543. type: string
  11544. coupontypeid:
  11545. description: 优惠券类型ID
  11546. type: string
  11547. couponvalue:
  11548. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  11549. type: number
  11550. curfreezeqty:
  11551. description: 期末冻结数量
  11552. type: integer
  11553. curqty:
  11554. description: 期末数量
  11555. type: integer
  11556. isgeneral:
  11557. description: 是否通用券 - 0:否 1:是
  11558. type: integer
  11559. isunusable:
  11560. description: 是否不可用
  11561. type: boolean
  11562. limitedflag:
  11563. description: 是否指定商品 - 0:不限 1:限制
  11564. type: integer
  11565. limitedgoodsids:
  11566. description: 指定商品IDs[逗号分隔,前后加逗号]
  11567. type: string
  11568. orifreezeqty:
  11569. description: 期初冻结数量
  11570. type: integer
  11571. oriqty:
  11572. description: 期初数量
  11573. type: integer
  11574. reasontype:
  11575. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  11576. type: integer
  11577. todaydecrease:
  11578. description: 今日减少
  11579. type: integer
  11580. todayincrease:
  11581. description: 今日增加
  11582. type: integer
  11583. userid:
  11584. description: 用户ID
  11585. type: integer
  11586. userscope:
  11587. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  11588. type: string
  11589. required:
  11590. - accountid
  11591. - coupontypeid
  11592. type: object
  11593. models.MyCouponHold:
  11594. properties:
  11595. accountid:
  11596. description: 资金账户ID
  11597. type: integer
  11598. conditionvalue:
  11599. description: 条件阈值(可为0)
  11600. type: number
  11601. couponcategroy:
  11602. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  11603. type: integer
  11604. couponholdid:
  11605. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  11606. type: string
  11607. couponname:
  11608. description: 优惠券名称
  11609. type: string
  11610. coupontypeid:
  11611. description: 优惠券类型ID - SEQ_COUPONTYPE
  11612. type: string
  11613. couponvalue:
  11614. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  11615. type: number
  11616. createtime:
  11617. description: 创建时间
  11618. type: string
  11619. enddate:
  11620. description: 结束日期
  11621. type: string
  11622. giveapplyid:
  11623. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  11624. type: integer
  11625. holdstatus:
  11626. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  11627. type: integer
  11628. isgeneral:
  11629. description: 是否通用券 - 0:否 1:是
  11630. type: integer
  11631. limitedflag:
  11632. description: 是否指定商品 - 0:不限 1:限制
  11633. type: integer
  11634. limitedgoodsids:
  11635. description: 指定商品IDs[逗号分隔]
  11636. type: string
  11637. qty:
  11638. description: 数量(按1平铺)
  11639. type: integer
  11640. startdate:
  11641. description: 开始日期
  11642. type: string
  11643. userid:
  11644. description: 用户ID
  11645. type: integer
  11646. userscope:
  11647. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  11648. type: string
  11649. required:
  11650. - couponholdid
  11651. type: object
  11652. models.MyUsedCoupon:
  11653. properties:
  11654. accountid:
  11655. description: 资金账户ID(买方)
  11656. type: integer
  11657. conditionvalue:
  11658. description: 条件阈值(可为0)
  11659. type: number
  11660. couponcategroy:
  11661. description: 种类 - 1:现金券 2:折扣券
  11662. type: integer
  11663. couponname:
  11664. description: 优惠券名称
  11665. type: string
  11666. coupontypeid:
  11667. description: 优惠券类型ID(买方)
  11668. type: string
  11669. couponvalue:
  11670. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  11671. type: number
  11672. createtime:
  11673. description: 创建时间
  11674. type: string
  11675. goodsid:
  11676. description: 商品ID
  11677. type: integer
  11678. handlestatus:
  11679. description: 处理状态
  11680. type: integer
  11681. marketid:
  11682. description: 市场ID
  11683. type: integer
  11684. offamount:
  11685. description: 优惠金额
  11686. type: number
  11687. orderid:
  11688. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11689. type: string
  11690. sellaccountid:
  11691. description: 资金账户ID(卖方)
  11692. type: integer
  11693. tradeamount:
  11694. description: 成交金额
  11695. type: number
  11696. tradeid:
  11697. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11698. type: string
  11699. usedqty:
  11700. description: 使用数量
  11701. type: integer
  11702. required:
  11703. - coupontypeid
  11704. - orderid
  11705. type: object
  11706. models.OperationPrimaryMenu:
  11707. properties:
  11708. Children:
  11709. description: 二级功能菜单
  11710. items:
  11711. $ref: '#/definitions/models.OperationSecondaryMenu'
  11712. type: array
  11713. Key:
  11714. description: 菜单KEY
  11715. type: string
  11716. Label:
  11717. description: 菜单标题
  11718. type: string
  11719. type: object
  11720. models.OperationSecondaryMenu:
  11721. properties:
  11722. Key:
  11723. description: 菜单KEY
  11724. type: string
  11725. Label:
  11726. description: 菜单标题
  11727. type: string
  11728. TabList:
  11729. description: 三级功能菜单
  11730. items:
  11731. $ref: '#/definitions/models.OperationTabMenu'
  11732. type: array
  11733. type: object
  11734. models.OperationTabMenu:
  11735. properties:
  11736. Key:
  11737. description: 菜单KEY
  11738. type: string
  11739. Label:
  11740. description: 菜单标题
  11741. type: string
  11742. type: object
  11743. models.Patradelinkdetail:
  11744. properties:
  11745. accountname:
  11746. description: 套期主体
  11747. type: string
  11748. agreeunit:
  11749. description: 合约乘数
  11750. type: number
  11751. amount:
  11752. description: 金额 = RelatedLot * TradePrice * AgreeUnit
  11753. type: number
  11754. areauserid:
  11755. description: 所属机构
  11756. type: integer
  11757. bizsubjectid:
  11758. description: 归属业务部门ID - SubjectID
  11759. type: integer
  11760. buyorsell:
  11761. description: 方向 - 0:买 1:卖
  11762. type: integer
  11763. convertratio:
  11764. description: 品种系数
  11765. type: number
  11766. convertratiochange:
  11767. description: 套期商品变化量 = RelatedLot * AgreeUnit * ConvertRatio
  11768. type: number
  11769. createtime:
  11770. description: '[日期时间]创建时间'
  11771. type: string
  11772. creatorid:
  11773. description: 创建人ID
  11774. type: integer
  11775. creatorsrc:
  11776. description: 创建人来源 - 1:管理端 2:终端 3:交易
  11777. type: integer
  11778. goodscode:
  11779. description: 商品代码(内部)
  11780. type: string
  11781. goodsgroupid:
  11782. description: 对冲品种ID[期货合约商品组ID]
  11783. type: integer
  11784. goodsid:
  11785. description: 商品ID
  11786. type: integer
  11787. hedgeditemid:
  11788. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  11789. type: integer
  11790. hedgeflag:
  11791. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  11792. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  11793. type: integer
  11794. linkdetailid:
  11795. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  11796. type: string
  11797. linkstatus:
  11798. description: 关联状态 - 1:成功 2:失败 3:解绑
  11799. type: integer
  11800. middlegoodsid:
  11801. description: 套保品种ID
  11802. type: integer
  11803. name:
  11804. description: 账户名/子账户
  11805. type: string
  11806. optioncode:
  11807. description: '[期货合约]期权代码 [期权]'
  11808. type: string
  11809. ordertype:
  11810. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  11811. type: integer
  11812. relatedlot:
  11813. description: '[数量]关联手数'
  11814. type: number
  11815. relatedmode:
  11816. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  11817. type: integer
  11818. relatedqty:
  11819. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  11820. type: number
  11821. retcode:
  11822. description: 返回码
  11823. type: integer
  11824. saleuserid:
  11825. description: 业务员ID
  11826. type: integer
  11827. tradedate:
  11828. description: 关联交易日(yyyyMMdd)
  11829. type: string
  11830. tradeid:
  11831. description: '[成交单号]内部成交单ID'
  11832. type: string
  11833. tradelot:
  11834. description: 成交手数
  11835. type: integer
  11836. tradeprice:
  11837. description: '[价格]成交价格'
  11838. type: number
  11839. tradetradedate:
  11840. description: 成交交易日(yyyyMMdd)
  11841. type: string
  11842. type: object
  11843. models.QhjAccountOutInApply:
  11844. properties:
  11845. accountcode:
  11846. description: 资金账号
  11847. type: string
  11848. accountname:
  11849. description: 用户名称(名称)
  11850. type: string
  11851. accountpwd:
  11852. description: 资金密码
  11853. type: string
  11854. accountticket:
  11855. description: 最新账户服务流水号
  11856. type: string
  11857. amount:
  11858. description: 金额
  11859. type: number
  11860. applyremark:
  11861. description: 申请备注
  11862. type: string
  11863. applystatus:
  11864. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  11865. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  11866. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  11867. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  11868. type: integer
  11869. auditid:
  11870. description: 审核人
  11871. type: integer
  11872. audittime:
  11873. description: 审核时间
  11874. type: string
  11875. bank_apply_ticket:
  11876. description: 银行申请流水
  11877. type: string
  11878. bankaccountname:
  11879. description: 银行账户名
  11880. type: string
  11881. bankaccountno:
  11882. description: 银行卡号
  11883. type: string
  11884. bankid:
  11885. description: 银行编号
  11886. type: string
  11887. bankticket:
  11888. description: 银行流水
  11889. type: string
  11890. branchbankid:
  11891. description: 银行支行号
  11892. type: string
  11893. branchbankname:
  11894. description: 银行支行名称
  11895. type: string
  11896. capamountout:
  11897. description: 出金(劣后本金) - 外部子账户
  11898. type: number
  11899. certificatephotourl:
  11900. description: 凭证地址
  11901. type: string
  11902. charge:
  11903. description: 手续费
  11904. type: number
  11905. checkerrorflag:
  11906. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  11907. type: integer
  11908. currency:
  11909. description: 币种
  11910. type: string
  11911. cusbankid:
  11912. description: 托管银行编号
  11913. type: string
  11914. exchticket:
  11915. description: 银行服务流水号
  11916. type: string
  11917. executetype:
  11918. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  11919. 7:外部子账户:入金 8:外部子账户:出金'
  11920. type: integer
  11921. extendinfo:
  11922. description: 扩展信息
  11923. type: string
  11924. extoperateid:
  11925. description: 交易服务流水号
  11926. type: integer
  11927. infamount:
  11928. description: 劣后金额(自有)
  11929. type: number
  11930. logincode:
  11931. description: 登录账号(账号)
  11932. type: string
  11933. netaddr:
  11934. description: 调转网址
  11935. type: string
  11936. priamount:
  11937. description: 优先金额(授信)
  11938. type: number
  11939. reauditid:
  11940. description: 复审人
  11941. type: integer
  11942. reauditremark:
  11943. description: 复审备注
  11944. type: string
  11945. reaudittime:
  11946. description: 复审时间
  11947. type: string
  11948. relatedorderid:
  11949. description: 三方关联ID
  11950. type: string
  11951. remark:
  11952. description: 备注
  11953. type: string
  11954. remark2:
  11955. description: 备注(失败原因)
  11956. type: string
  11957. soucreamount:
  11958. description: 原始出入金金额
  11959. type: number
  11960. soucrecurrencyid:
  11961. description: 原始出入金币种
  11962. type: integer
  11963. tradedate:
  11964. description: 交易日(yyyyMMdd)
  11965. type: string
  11966. updatetime:
  11967. description: 更新时间(申请时间)
  11968. type: string
  11969. userid:
  11970. description: 用户id
  11971. type: integer
  11972. userinfotype:
  11973. description: 账户类型 1-个人 2-企业
  11974. type: integer
  11975. type: object
  11976. models.QhjAgreementChangeLog:
  11977. properties:
  11978. agreementcontent:
  11979. description: 协议内容
  11980. type: string
  11981. agreementfrequency:
  11982. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  11983. type: integer
  11984. agreementid:
  11985. description: 协议ID
  11986. type: integer
  11987. agreementname:
  11988. description: 协议名称
  11989. type: string
  11990. agreementno:
  11991. description: 协议编号
  11992. type: string
  11993. agreementtype:
  11994. description: 协议类型 - 1:注册 2:登录 3:交易
  11995. type: integer
  11996. agreementversion:
  11997. description: 协议版本号
  11998. type: integer
  11999. logid:
  12000. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  12001. type: integer
  12002. reviserid:
  12003. description: 修改人
  12004. type: integer
  12005. revisersrc:
  12006. description: 修改来源 - 1:管理端 2:终端
  12007. type: integer
  12008. updatetime:
  12009. description: 更新时间
  12010. type: string
  12011. type: object
  12012. models.QhjAgreementConfig:
  12013. properties:
  12014. agreementcontent:
  12015. description: 协议内容
  12016. type: string
  12017. agreementfrequency:
  12018. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  12019. type: integer
  12020. agreementid:
  12021. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  12022. type: integer
  12023. agreementname:
  12024. description: 协议名称
  12025. type: string
  12026. agreementno:
  12027. description: 协议编号
  12028. type: string
  12029. agreementtype:
  12030. description: 协议类型 - 1:注册 2:登录 3:交易
  12031. type: integer
  12032. agreementversion:
  12033. description: 协议版本号(从1开始每次修改加1)
  12034. type: integer
  12035. createtime:
  12036. description: 创建时间
  12037. type: string
  12038. creatorid:
  12039. description: 创建人
  12040. type: integer
  12041. creatorsrc:
  12042. description: 创建来源 - 1:管理端 2:终端
  12043. type: integer
  12044. isvalid:
  12045. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  12046. type: integer
  12047. reviserid:
  12048. description: 修改人
  12049. type: integer
  12050. revisersrc:
  12051. description: 修改来源 - 1:管理端 2:终端
  12052. type: integer
  12053. updatetime:
  12054. description: 更新时间
  12055. type: string
  12056. type: object
  12057. models.QhjAreaFinanceConfig:
  12058. properties:
  12059. additionalratio:
  12060. description: 追加款比例
  12061. type: number
  12062. advanceratio:
  12063. description: 预付款比例
  12064. type: number
  12065. alarmratio:
  12066. description: 告警比例
  12067. type: number
  12068. consumptiondirectreward:
  12069. description: 消费直推奖励值
  12070. type: number
  12071. consumptionenabled:
  12072. description: 是否启用消费奖励 - 0:不启用 1:启用
  12073. type: integer
  12074. consumptionindirectreward:
  12075. description: 消费间推奖励值
  12076. type: number
  12077. consumptionmodel:
  12078. description: 消费奖励方式 - 1:比率 2:固定
  12079. type: integer
  12080. customerservicenum:
  12081. description: 客服电话
  12082. type: string
  12083. dayinterestrate:
  12084. description: 日利率
  12085. type: number
  12086. disableconsumptiontips:
  12087. description: 关闭消费奖励提示
  12088. type: string
  12089. modifierid:
  12090. description: 修改人ID
  12091. type: integer
  12092. modifysrc:
  12093. description: 审核来源 - 1:管理端 2:终端
  12094. type: integer
  12095. modifytime:
  12096. description: 修改时间
  12097. type: string
  12098. promotionvalue:
  12099. description: 推广奖励值(固定)
  12100. type: number
  12101. scoreconfigvalue1:
  12102. description: 提货积分配置1
  12103. type: integer
  12104. scoreconfigvalue2:
  12105. description: 提货积分配置2
  12106. type: integer
  12107. userid:
  12108. description: 机构用户ID其他做市关系,都设置为 1
  12109. type: integer
  12110. username:
  12111. description: 用户名称
  12112. type: string
  12113. type: object
  12114. models.QhjBankAccountSign:
  12115. properties:
  12116. accountcode:
  12117. description: 资金账号
  12118. type: string
  12119. accountname:
  12120. description: 资金账号对应的账号名(UserName)
  12121. type: string
  12122. accountname2:
  12123. description: 资金账号对应的账号名(UserName) - 密文
  12124. type: string
  12125. accounttype:
  12126. description: 账户类型(UserType)
  12127. type: integer
  12128. applicationtime:
  12129. description: 最后一次更新的时间
  12130. type: string
  12131. applyexchticket:
  12132. description: 申请流水
  12133. type: string
  12134. auditid:
  12135. description: 审核人
  12136. type: integer
  12137. audittime:
  12138. description: 审核时间
  12139. type: string
  12140. bankaccountname:
  12141. description: 签约银行卡账号名
  12142. type: string
  12143. bankaccountname2:
  12144. description: 签约银行卡账号名 - 密文
  12145. type: string
  12146. bankaccountno:
  12147. description: 银行卡号
  12148. type: string
  12149. bankaccountno2:
  12150. description: 银行卡号 - 密文
  12151. type: string
  12152. bankaccounttype:
  12153. description: 银行账户类型 - 1-对私; 2-对公
  12154. type: integer
  12155. bankcardtype:
  12156. description: 银行卡类型
  12157. type: integer
  12158. bankchildaccount:
  12159. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  12160. type: string
  12161. bankcity:
  12162. description: 开户行城市
  12163. type: string
  12164. bankid:
  12165. description: 签约银行ID
  12166. type: string
  12167. bankname:
  12168. description: 签约银行名称
  12169. type: string
  12170. bankprovince:
  12171. description: 开户行省份
  12172. type: string
  12173. branchbankid:
  12174. description: 签约银行支行号
  12175. type: string
  12176. branchbankname:
  12177. description: 签约银行支行名称
  12178. type: string
  12179. cardno:
  12180. description: 证件号码
  12181. type: string
  12182. cardno2:
  12183. description: 证件号码 - 密文
  12184. type: string
  12185. cardtype:
  12186. description: 证件类型
  12187. type: string
  12188. currency:
  12189. description: 币种
  12190. type: string
  12191. cusbankid:
  12192. description: 托管银行编号
  12193. type: string
  12194. direct:
  12195. description: 方向(可以判断那方先发起的签约)
  12196. type: integer
  12197. exchticket:
  12198. description: 最后一次签约成功的流水号
  12199. type: string
  12200. extendinfo:
  12201. description: 扩展信息(JSON字符串)
  12202. type: string
  12203. mobilephone:
  12204. description: 手机号
  12205. type: string
  12206. mobilephone2:
  12207. description: 手机号 - 密文
  12208. type: string
  12209. netaddr:
  12210. description: 调转网址
  12211. type: string
  12212. relateduserid:
  12213. description: 关联使用者userid
  12214. type: integer
  12215. signstatus:
  12216. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  12217. 10:审核拒绝 11:换签待审核
  12218. type: integer
  12219. updatetime:
  12220. description: 更新时间(签解约更新时间)
  12221. type: string
  12222. type: object
  12223. models.QhjBankInfo:
  12224. properties:
  12225. bankid:
  12226. description: 银行ID
  12227. type: string
  12228. bankname:
  12229. description: 银行名称
  12230. type: string
  12231. clearbankno:
  12232. description: 清算系统银行编号
  12233. type: string
  12234. orderindex:
  12235. description: 排序顺序
  12236. type: integer
  12237. status:
  12238. description: 状态 - 0:正常 1:注销
  12239. type: integer
  12240. type: object
  12241. models.QhjBrokerApply:
  12242. properties:
  12243. applicantid:
  12244. description: 申请人
  12245. type: integer
  12246. applysrc:
  12247. description: 申请来源 - 1:管理端 2:终端
  12248. type: integer
  12249. applystatus:
  12250. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  12251. type: integer
  12252. applytime:
  12253. description: 申请时间
  12254. type: string
  12255. auditorid:
  12256. description: 审核人
  12257. type: integer
  12258. auditremark:
  12259. description: 审核备注
  12260. type: string
  12261. auditsrc:
  12262. description: 审核来源 - 1:管理端 2:终端
  12263. type: integer
  12264. audittime:
  12265. description: 审核时间
  12266. type: string
  12267. audittradedate:
  12268. description: 审核交易日(yyyyMMdd)
  12269. type: string
  12270. brokerapplyid:
  12271. description: 申请ID(SEQ_BROKERAPPLY)
  12272. type: integer
  12273. cardbackphotourl:
  12274. description: 证件背面图片地址
  12275. type: string
  12276. cardfrontphotourl:
  12277. description: 证件正面图片地址
  12278. type: string
  12279. cardnum:
  12280. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  12281. type: string
  12282. customername:
  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.QhjBrokerApplyEx:
  12323. properties:
  12324. applylist:
  12325. description: 经纪人申请记录(只返回最新一条)
  12326. items:
  12327. $ref: '#/definitions/models.QhjBrokerApply'
  12328. type: array
  12329. canrecommend:
  12330. description: 是否经纪人 0-不是 1-是
  12331. type: integer
  12332. refernum:
  12333. description: 推荐码
  12334. type: string
  12335. userid:
  12336. description: 用户id
  12337. type: integer
  12338. userinfotype:
  12339. description: 用户类型 1-个人 2-企业
  12340. type: integer
  12341. type: object
  12342. models.QhjBrokerRewardLog:
  12343. properties:
  12344. accountid:
  12345. description: 资金账号ID
  12346. type: integer
  12347. createtime:
  12348. description: 创建时间(时间)
  12349. type: string
  12350. handlestatus:
  12351. description: 处理状态
  12352. type: integer
  12353. logid:
  12354. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12355. type: string
  12356. marketid:
  12357. description: 市场ID
  12358. type: integer
  12359. mmaccountid:
  12360. description: 做市商资金账号ID
  12361. type: string
  12362. mmuserid:
  12363. description: 做市商用户ID
  12364. type: string
  12365. rewardamount:
  12366. description: 奖励金额
  12367. type: number
  12368. rewardmodel:
  12369. description: 消费奖励方式 - 1:比率 2:固定
  12370. type: integer
  12371. rewardtype:
  12372. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  12373. type: integer
  12374. rewardvalue:
  12375. description: 配置奖励值
  12376. type: number
  12377. srcamount:
  12378. description: 成交金额 [消费奖励] (金额)
  12379. type: number
  12380. srcgoodsid:
  12381. description: 来源商品ID [消费奖励]
  12382. type: string
  12383. srctime:
  12384. description: 来源时间 (成交时间) [消费奖励]
  12385. type: string
  12386. srctradeid:
  12387. description: 来源成交单ID [消费奖励] - 排除提货成交
  12388. type: string
  12389. srcuserid:
  12390. description: 来源用户ID(推广账户)
  12391. type: string
  12392. srcusername:
  12393. description: 推广账户名称
  12394. type: string
  12395. tradedate:
  12396. description: 交易日(yyyyMMdd)
  12397. type: string
  12398. userid:
  12399. description: 经纪人用户ID
  12400. type: integer
  12401. type: object
  12402. models.QhjContract:
  12403. properties:
  12404. contractconfirmtime:
  12405. description: 合同确认时间(时间)
  12406. type: string
  12407. currisklevel:
  12408. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  12409. type: integer
  12410. decimalplace:
  12411. description: 商品报价小数位
  12412. type: integer
  12413. enumdicname:
  12414. description: 单位名称
  12415. type: string
  12416. goodscode:
  12417. description: 商品代码
  12418. type: string
  12419. goodsid:
  12420. description: 商品ID [5:融资单]
  12421. type: integer
  12422. goodsname:
  12423. description: 商品名称
  12424. type: string
  12425. goodunitid:
  12426. description: 商品单位id
  12427. type: integer
  12428. initmargin:
  12429. description: 初始保证金(首付款)
  12430. type: number
  12431. lenderamount:
  12432. description: 贷款金额(总额|订单总额)
  12433. type: number
  12434. marginratio:
  12435. description: 保证金比率(首付比例)
  12436. type: number
  12437. payamount:
  12438. description: 已付(已付货款)
  12439. type: number
  12440. reckonrecovermargin:
  12441. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  12442. type: number
  12443. recoveredmargin:
  12444. description: 已追缴保证金
  12445. type: number
  12446. remainamount:
  12447. description: 合同剩余金额(融资额)
  12448. type: number
  12449. scfcontractid:
  12450. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  12451. type: string
  12452. scfcontractstatus:
  12453. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  12454. 9:违约结束 10:已注销 11:已关闭 99:未提交
  12455. type: integer
  12456. scfcontracttype:
  12457. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  12458. type: integer
  12459. totalinterest:
  12460. description: 已计总利息(利息)
  12461. type: number
  12462. tradeprice:
  12463. description: 成交价格(成本价格)
  12464. type: number
  12465. userid:
  12466. description: 用户ID
  12467. type: integer
  12468. username:
  12469. description: 用户名称
  12470. type: string
  12471. wrqty:
  12472. description: 仓单数量(数量)
  12473. type: number
  12474. type: object
  12475. models.QhjContractLog:
  12476. properties:
  12477. amount:
  12478. description: 支付金额
  12479. type: number
  12480. amounttype:
  12481. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  12482. type: integer
  12483. logid:
  12484. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12485. type: string
  12486. remainamount:
  12487. description: 剩余货款
  12488. type: number
  12489. scfcontractid:
  12490. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  12491. type: integer
  12492. updatetime:
  12493. description: 更新时间
  12494. type: string
  12495. type: object
  12496. models.QhjCusBankSignBankEx:
  12497. properties:
  12498. banklst:
  12499. description: 银行列表
  12500. items:
  12501. $ref: '#/definitions/models.QhjBankInfo'
  12502. type: array
  12503. canallot:
  12504. description: 是否支持跨行调拨 - 0:不支持 1:支持
  12505. type: integer
  12506. canallotquery:
  12507. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  12508. type: integer
  12509. canbindcard:
  12510. description: 是否可绑卡与解卡 - 0:不可 1:可以
  12511. type: integer
  12512. caninamount:
  12513. description: 是否可入金 - 0:不可 1:可以
  12514. type: integer
  12515. caninamount2:
  12516. description: 是否可入金(网银端) - 0:不可 1:可以
  12517. type: integer
  12518. canmodifybankcard:
  12519. description: 是否可修改银行卡号 - 0:不可 1:可以
  12520. type: integer
  12521. canmodifyphone:
  12522. description: 是否可修改手机号 - 0:不可 1:可以
  12523. type: integer
  12524. canmodifysigninfo:
  12525. description: 是否可修改签约信息 - 0:不可 1:可以
  12526. type: integer
  12527. canoutamount:
  12528. description: 是否可出金 - 0:不可 1:可以
  12529. type: integer
  12530. canoutamount2:
  12531. description: 是否可出金(网银端) - 0:不可 1:可以
  12532. type: integer
  12533. canrelease:
  12534. description: 是否可解约 - 0:不可 1:可以
  12535. type: integer
  12536. canrelease2:
  12537. description: 是否可解约(网银端) - 0:不可 1:可以
  12538. type: integer
  12539. cansign:
  12540. description: 是否可签约 - 0:不可 1:可以
  12541. type: integer
  12542. cansign2:
  12543. description: 是否可签约(网银端) - 0:不可 1:可以
  12544. type: integer
  12545. currency:
  12546. description: 币种
  12547. type: string
  12548. cusbankid:
  12549. description: 托管银行编号(对应清算中心TRAN_NO)
  12550. type: string
  12551. cusbankname:
  12552. description: 银行业务名称
  12553. type: string
  12554. cusbankshortname:
  12555. description: 银行业务简称
  12556. type: string
  12557. exchbankid:
  12558. description: 交易所开户银行ID
  12559. type: string
  12560. exchpaybankaccname:
  12561. description: 交易所支出结算账户户名
  12562. type: string
  12563. exchpaybankaccno:
  12564. description: 交易所支出结算账户
  12565. type: string
  12566. isneedcheck:
  12567. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  12568. type: integer
  12569. isneedclear:
  12570. description: 是否需要清算 - 0:不需要 1:需要
  12571. type: integer
  12572. lastcheckstatus:
  12573. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  12574. type: integer
  12575. lastchecktime:
  12576. description: 最后对账时间
  12577. type: string
  12578. lastclearstatus:
  12579. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  12580. type: integer
  12581. lastcleartime:
  12582. description: 最后清算时间
  12583. type: string
  12584. lastsignintime:
  12585. description: 最后签到时间
  12586. type: string
  12587. lastsignouttime:
  12588. description: 最后签退时间
  12589. type: string
  12590. riskinfo:
  12591. description: 签约风险提示书
  12592. type: string
  12593. signstatus:
  12594. description: 当前签到/签退状态 - 1:签到 2:签退
  12595. type: integer
  12596. tradedate:
  12597. description: 交易日(yyyyMMdd)
  12598. type: string
  12599. updatetime:
  12600. description: 当前签到/签退更新时间
  12601. type: string
  12602. type: object
  12603. models.QhjCustomer:
  12604. properties:
  12605. address:
  12606. description: 通讯地址
  12607. type: string
  12608. attachment1:
  12609. description: 附件1
  12610. type: string
  12611. attachment2:
  12612. description: 附件2
  12613. type: string
  12614. audittime:
  12615. description: 审核时间
  12616. type: string
  12617. cardbackphotourl:
  12618. description: 证件反面图片地址
  12619. type: string
  12620. cardfrontphotourl:
  12621. description: 证件正面图片地址
  12622. type: string
  12623. cardnum:
  12624. description: 证件号码
  12625. type: string
  12626. cardtype:
  12627. description: 证件类型
  12628. type: integer
  12629. cardtypename:
  12630. description: 证件类型名称
  12631. type: string
  12632. cityid:
  12633. description: 市
  12634. type: integer
  12635. cityname:
  12636. description: 城市名称
  12637. type: string
  12638. contactname:
  12639. description: 联系人
  12640. type: string
  12641. countryid:
  12642. description: 国家
  12643. type: integer
  12644. countryname:
  12645. description: 国家名称
  12646. type: string
  12647. createtime:
  12648. description: 创建时间
  12649. type: string
  12650. customername:
  12651. description: 客户名称
  12652. type: string
  12653. districtid:
  12654. description: 区域
  12655. type: integer
  12656. districtname:
  12657. description: 地区名称
  12658. type: string
  12659. email:
  12660. description: 邮件
  12661. type: string
  12662. legalpersonname:
  12663. description: 法人姓名(企业)
  12664. type: string
  12665. logincode:
  12666. description: 登录账号(代码)
  12667. type: string
  12668. memberuserid:
  12669. description: 所属机构ID(所属会员)
  12670. type: integer
  12671. memberusername:
  12672. description: 所属会员名称
  12673. type: string
  12674. mobile:
  12675. description: 手机号码
  12676. type: string
  12677. modifytime:
  12678. description: 修改时间
  12679. type: string
  12680. nickname:
  12681. description: 昵称
  12682. type: string
  12683. parentuserid:
  12684. description: 上级机构(所属机构)
  12685. type: integer
  12686. parentusername:
  12687. description: 所属机构名称
  12688. type: string
  12689. provinceid:
  12690. description: 省
  12691. type: integer
  12692. provincename:
  12693. description: 省名称
  12694. type: string
  12695. proxystatementurl:
  12696. description: 授权委托书
  12697. type: string
  12698. remark:
  12699. description: 备注
  12700. type: string
  12701. status:
  12702. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  12703. type: integer
  12704. statusdesc:
  12705. description: 账户状态中文描述
  12706. type: string
  12707. taxpayernum:
  12708. description: 纳税人识别号
  12709. type: string
  12710. telphone:
  12711. description: 联系电话
  12712. type: string
  12713. userid:
  12714. description: 用户ID
  12715. type: integer
  12716. userinfotype:
  12717. description: 客户类型 1-个人 2-企业
  12718. type: integer
  12719. username:
  12720. description: 用户名称
  12721. type: string
  12722. type: object
  12723. models.QhjCustomerSignLog:
  12724. properties:
  12725. agreementcontent:
  12726. description: 协议内容
  12727. type: string
  12728. agreementid:
  12729. description: 协议ID
  12730. type: integer
  12731. agreementname:
  12732. description: 协议名称
  12733. type: string
  12734. agreementno:
  12735. description: 协议编号
  12736. type: string
  12737. agreementtype:
  12738. description: 协议类型 - 1:注册 2:登录 3:交易
  12739. type: integer
  12740. agreementversion:
  12741. description: 协议版本号
  12742. type: integer
  12743. createtime:
  12744. description: 创建时间
  12745. type: string
  12746. goodscode:
  12747. description: 商品代码
  12748. type: string
  12749. goodsid:
  12750. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12751. type: integer
  12752. goodsname:
  12753. description: 商品名称
  12754. type: string
  12755. logid:
  12756. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  12757. type: integer
  12758. nodetype:
  12759. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12760. type: integer
  12761. signadressurl:
  12762. description: 签约文件地址
  12763. type: string
  12764. signtimestamp:
  12765. description: 签约状态时间戳
  12766. type: string
  12767. userid:
  12768. description: 客户ID
  12769. type: integer
  12770. username:
  12771. description: 客户名称
  12772. type: string
  12773. type: object
  12774. models.QhjCustomerSignStatus:
  12775. properties:
  12776. createtime:
  12777. description: 创建时间
  12778. type: string
  12779. goodscode:
  12780. description: 商品代码
  12781. type: string
  12782. goodsid:
  12783. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12784. type: integer
  12785. goodsname:
  12786. description: 商品名称
  12787. type: string
  12788. nodetype:
  12789. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  12790. type: integer
  12791. signtimestamp:
  12792. description: 签约状态时间戳
  12793. type: string
  12794. tradedate:
  12795. description: 创建交易日(yyyyMMdd)
  12796. type: string
  12797. updatetime:
  12798. description: 更新时间
  12799. type: string
  12800. userid:
  12801. description: 客户ID
  12802. type: integer
  12803. username:
  12804. description: 客户名称
  12805. type: string
  12806. type: object
  12807. models.QhjMgrAccountOutInApply:
  12808. properties:
  12809. accountcode:
  12810. description: 资金账号
  12811. type: string
  12812. accountname:
  12813. description: 用户名称(名称)
  12814. type: string
  12815. accountpwd:
  12816. description: 资金密码
  12817. type: string
  12818. accountticket:
  12819. description: 最新账户服务流水号
  12820. type: string
  12821. amount:
  12822. description: 金额
  12823. type: number
  12824. applyremark:
  12825. description: 申请备注
  12826. type: string
  12827. applystatus:
  12828. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  12829. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  12830. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  12831. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  12832. type: integer
  12833. auditid:
  12834. description: 审核人
  12835. type: integer
  12836. audittime:
  12837. description: 审核时间
  12838. type: string
  12839. bank_apply_ticket:
  12840. description: 银行申请流水
  12841. type: string
  12842. bankaccountname:
  12843. description: 银行账户名
  12844. type: string
  12845. bankaccountno:
  12846. description: 银行卡号
  12847. type: string
  12848. bankid:
  12849. description: 银行编号
  12850. type: string
  12851. bankname:
  12852. description: 银行名称
  12853. type: string
  12854. bankticket:
  12855. description: 银行流水
  12856. type: string
  12857. branchbankid:
  12858. description: 银行支行号
  12859. type: string
  12860. branchbankname:
  12861. description: 银行支行名称
  12862. type: string
  12863. capamountout:
  12864. description: 出金(劣后本金) - 外部子账户
  12865. type: number
  12866. certificatephotourl:
  12867. description: 凭证地址
  12868. type: string
  12869. charge:
  12870. description: 手续费
  12871. type: number
  12872. checkerrorflag:
  12873. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  12874. type: integer
  12875. currency:
  12876. description: 币种
  12877. type: string
  12878. cusbankid:
  12879. description: 托管银行编号
  12880. type: string
  12881. exchticket:
  12882. description: 银行服务流水号
  12883. type: string
  12884. executetype:
  12885. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  12886. 7:外部子账户:入金 8:外部子账户:出金'
  12887. type: integer
  12888. extendinfo:
  12889. description: 扩展信息
  12890. type: string
  12891. extoperateid:
  12892. description: 交易服务流水号
  12893. type: integer
  12894. infamount:
  12895. description: 劣后金额(自有)
  12896. type: number
  12897. logincode:
  12898. description: 登录账号(账号)
  12899. type: string
  12900. netaddr:
  12901. description: 调转网址
  12902. type: string
  12903. priamount:
  12904. description: 优先金额(授信)
  12905. type: number
  12906. reauditid:
  12907. description: 复审人
  12908. type: integer
  12909. reauditremark:
  12910. description: 复审备注
  12911. type: string
  12912. reaudittime:
  12913. description: 复审时间
  12914. type: string
  12915. relatedorderid:
  12916. description: 三方关联ID
  12917. type: string
  12918. remark:
  12919. description: 备注
  12920. type: string
  12921. remark2:
  12922. description: 备注(失败原因)
  12923. type: string
  12924. soucreamount:
  12925. description: 原始出入金金额
  12926. type: number
  12927. soucrecurrencyid:
  12928. description: 原始出入金币种
  12929. type: integer
  12930. tradedate:
  12931. description: 交易日(yyyyMMdd)
  12932. type: string
  12933. updatetime:
  12934. description: 更新时间(申请时间)
  12935. type: string
  12936. userid:
  12937. description: 用户id
  12938. type: integer
  12939. userinfotype:
  12940. description: 账户类型 1-个人 2-企业
  12941. type: integer
  12942. type: object
  12943. models.QhjMgrBrokerApply:
  12944. properties:
  12945. applicantid:
  12946. description: 申请人
  12947. type: integer
  12948. applysrc:
  12949. description: 申请来源 - 1:管理端 2:终端
  12950. type: integer
  12951. applystatus:
  12952. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  12953. type: integer
  12954. applytime:
  12955. description: 申请时间
  12956. type: string
  12957. auditorid:
  12958. description: 审核人
  12959. type: integer
  12960. auditremark:
  12961. description: 审核备注
  12962. type: string
  12963. auditsrc:
  12964. description: 审核来源 - 1:管理端 2:终端
  12965. type: integer
  12966. audittime:
  12967. description: 审核时间
  12968. type: string
  12969. audittradedate:
  12970. description: 审核交易日(yyyyMMdd)
  12971. type: string
  12972. brokerapplyid:
  12973. description: 申请ID(SEQ_BROKERAPPLY)
  12974. type: integer
  12975. cardbackphotourl:
  12976. description: 证件背面图片地址
  12977. type: string
  12978. cardfrontphotourl:
  12979. description: 证件正面图片地址
  12980. type: string
  12981. cardnum:
  12982. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  12983. type: string
  12984. customername:
  12985. description: 姓名
  12986. type: string
  12987. filterstatus:
  12988. description: 筛选条件
  12989. type: string
  12990. logincode:
  12991. description: 登录代码
  12992. type: string
  12993. mobile:
  12994. description: 手机号码
  12995. type: string
  12996. parentuserid:
  12997. description: 所属机构id
  12998. type: integer
  12999. parentusername:
  13000. description: 所属机构名称
  13001. type: string
  13002. refereeuserid:
  13003. description: 推荐人id(经纪人)
  13004. type: integer
  13005. refernum:
  13006. description: 推荐码
  13007. type: string
  13008. remark:
  13009. description: 备注
  13010. type: string
  13011. subarealevelpath:
  13012. description: 层级路径
  13013. type: string
  13014. tradedate:
  13015. description: 交易日(yyyyMMdd)
  13016. type: string
  13017. userid:
  13018. description: 申请人用户ID
  13019. type: integer
  13020. userinfotype:
  13021. description: 用户类型 1-个人 2-企业
  13022. type: integer
  13023. username:
  13024. description: 用户名称
  13025. type: string
  13026. type: object
  13027. models.QhjMgrBrokerRewardReport:
  13028. properties:
  13029. createtime:
  13030. description: 创建时间(注册时间)
  13031. type: string
  13032. cycletime:
  13033. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  13034. type: string
  13035. cycletype:
  13036. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  13037. type: integer
  13038. directtotalnum:
  13039. description: 直推总人数【期末】
  13040. type: integer
  13041. indirecttotalnum:
  13042. description: 间推总人数【期末】
  13043. type: integer
  13044. mobile:
  13045. description: 电话号码
  13046. type: string
  13047. refereeuserid:
  13048. description: 推荐人id(经纪人id)
  13049. type: integer
  13050. refereeusername:
  13051. description: 推荐人名称(经纪人) 上级经纪人名称
  13052. type: string
  13053. refernum:
  13054. description: 推荐码
  13055. type: string
  13056. subarealevelpath:
  13057. description: 用户层级路径
  13058. type: string
  13059. todayrewardamount:
  13060. description: 奖励总金额【汇总】
  13061. type: number
  13062. updatetime:
  13063. description: 更新时间
  13064. type: string
  13065. userid:
  13066. description: 经纪人用户ID
  13067. type: integer
  13068. userinfotype:
  13069. description: 用户类型 1-个人 2-企业
  13070. type: integer
  13071. username:
  13072. description: 用户名称
  13073. type: string
  13074. type: object
  13075. models.QhjMgrContract:
  13076. properties:
  13077. contractconfirmtime:
  13078. description: 合同确认时间(时间)
  13079. type: string
  13080. currisklevel:
  13081. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  13082. type: integer
  13083. decimalplace:
  13084. description: 商品报价小数位
  13085. type: integer
  13086. enumdicname:
  13087. description: 单位名称
  13088. type: string
  13089. goodscode:
  13090. description: 商品代码
  13091. type: string
  13092. goodsid:
  13093. description: 商品ID [5:融资单]
  13094. type: integer
  13095. goodsname:
  13096. description: 商品名称
  13097. type: string
  13098. goodunitid:
  13099. description: 商品单位id
  13100. type: integer
  13101. initmargin:
  13102. description: 初始保证金(首付款)
  13103. type: number
  13104. lenderamount:
  13105. description: 贷款金额(总额|订单总额)
  13106. type: number
  13107. logincode:
  13108. description: 账号(登录代码)
  13109. type: string
  13110. marginratio:
  13111. description: 保证金比率(首付比例)
  13112. type: number
  13113. mobile:
  13114. description: 电话号码(用户资料里的电话)
  13115. type: string
  13116. payamount:
  13117. description: 已付(已付货款)
  13118. type: number
  13119. reckonrecovermargin:
  13120. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  13121. type: number
  13122. recoveredmargin:
  13123. description: 已追缴保证金
  13124. type: number
  13125. remainamount:
  13126. description: 合同剩余金额(融资额)
  13127. type: number
  13128. scfcontractid:
  13129. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  13130. type: string
  13131. scfcontractstatus:
  13132. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  13133. 9:违约结束 10:已注销 11:已关闭 99:未提交
  13134. type: integer
  13135. scfcontracttype:
  13136. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  13137. type: integer
  13138. totalinterest:
  13139. description: 已计总利息(利息)
  13140. type: number
  13141. tradedate:
  13142. description: 交易日
  13143. type: string
  13144. tradeprice:
  13145. description: 成交价格(成本价格)
  13146. type: number
  13147. userid:
  13148. description: 用户ID
  13149. type: integer
  13150. userinfotype:
  13151. description: 用户类型 1-个人 2-企业
  13152. type: integer
  13153. username:
  13154. description: 用户名称
  13155. type: string
  13156. wrqty:
  13157. description: 仓单数量(数量)
  13158. type: number
  13159. type: object
  13160. models.QhjMgrCustomer:
  13161. properties:
  13162. address:
  13163. description: 通讯地址
  13164. type: string
  13165. attachment1:
  13166. description: 附件1
  13167. type: string
  13168. audittime:
  13169. description: 审核时间
  13170. type: string
  13171. birthday:
  13172. description: 生日
  13173. type: string
  13174. brokerid:
  13175. description: 所属客户经理id
  13176. type: integer
  13177. brokername:
  13178. description: 所属客户经理名称
  13179. type: string
  13180. cardbackphotourl:
  13181. description: 证件反面图片地址
  13182. type: string
  13183. cardfrontphotourl:
  13184. description: 证件正面图片地址
  13185. type: string
  13186. cardnum:
  13187. description: 证件号码
  13188. type: string
  13189. cardtype:
  13190. description: 证件类型
  13191. type: integer
  13192. cardtypename:
  13193. description: 证件类型名称
  13194. type: string
  13195. cityid:
  13196. description: 市
  13197. type: integer
  13198. cityname:
  13199. description: 城市名称
  13200. type: string
  13201. contactname:
  13202. description: 联系人
  13203. type: string
  13204. countryid:
  13205. description: 国家
  13206. type: integer
  13207. countryname:
  13208. description: 国家名称
  13209. type: string
  13210. createtime:
  13211. description: 创建时间
  13212. type: string
  13213. customername:
  13214. description: 客户名称
  13215. type: string
  13216. districtid:
  13217. description: 区域
  13218. type: integer
  13219. districtname:
  13220. description: 地区名称
  13221. type: string
  13222. email:
  13223. description: 邮件
  13224. type: string
  13225. legalpersonname:
  13226. description: 法人姓名(企业)
  13227. type: string
  13228. logincode:
  13229. description: 登录账号(代码)
  13230. type: string
  13231. memberuserid:
  13232. description: 所属机构ID(所属会员)
  13233. type: integer
  13234. memberusername:
  13235. description: 所属会员名称
  13236. type: string
  13237. mobile:
  13238. description: 手机号码
  13239. type: string
  13240. modifytime:
  13241. description: 修改时间
  13242. type: string
  13243. nickname:
  13244. description: 昵称
  13245. type: string
  13246. parentuserid:
  13247. description: 上级机构(所属机构)
  13248. type: integer
  13249. parentusername:
  13250. description: 所属机构名称
  13251. type: string
  13252. provinceid:
  13253. description: 省
  13254. type: integer
  13255. provincename:
  13256. description: 省名称
  13257. type: string
  13258. proxystatementurl:
  13259. description: 授权委托书
  13260. type: string
  13261. querytype:
  13262. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  13263. type: integer
  13264. remark:
  13265. description: 备注
  13266. type: string
  13267. sex:
  13268. description: 性别 0-女 1-男
  13269. type: integer
  13270. status:
  13271. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过
  13272. ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  13273. type: integer
  13274. statusdesc:
  13275. description: 账户状态中文描述
  13276. type: string
  13277. taxpayernum:
  13278. description: 纳税人识别号
  13279. type: string
  13280. telphone:
  13281. description: 联系电话
  13282. type: string
  13283. userid:
  13284. description: 用户ID
  13285. type: integer
  13286. userinfotype:
  13287. description: 客户类型 1-个人 2-企业
  13288. type: integer
  13289. username:
  13290. description: 用户名称
  13291. type: string
  13292. type: object
  13293. models.QhjMgrPickGoods:
  13294. properties:
  13295. enumdicname:
  13296. description: 单位名称(提货商品)
  13297. type: string
  13298. goodsid:
  13299. description: 商品id
  13300. type: integer
  13301. imageaddress:
  13302. description: 图片
  13303. type: string
  13304. modifierid:
  13305. description: 修改人
  13306. type: integer
  13307. modifiername:
  13308. description: 修改人名称
  13309. type: string
  13310. modifysrc:
  13311. description: 修改来源 - 1:管理端 2:终端
  13312. type: integer
  13313. pickupgoodsagreeunit:
  13314. description: 合约乘数
  13315. type: number
  13316. pickupgoodsdesc:
  13317. description: 描述
  13318. type: string
  13319. pickupgoodsid:
  13320. description: 提货商品ID
  13321. type: string
  13322. pickupgoodsname:
  13323. description: 提货商品名称
  13324. type: string
  13325. pickupgoodsstatus:
  13326. description: 状态 - 1:正常 2:停用 3:注销
  13327. type: integer
  13328. pickupgoodsunitid:
  13329. description: 单位ID
  13330. type: integer
  13331. pickupratio:
  13332. description: 提货系数
  13333. type: number
  13334. preparedays:
  13335. description: 备货期(天)
  13336. type: integer
  13337. remark:
  13338. description: 备注
  13339. type: string
  13340. updatetime:
  13341. description: 更新时间
  13342. type: string
  13343. type: object
  13344. models.QhjMgrPositionRsp:
  13345. properties:
  13346. accountid:
  13347. description: 账号Id
  13348. type: integer
  13349. accountname:
  13350. description: 用户名称
  13351. type: string
  13352. agreeunit:
  13353. description: 合约乘数
  13354. type: number
  13355. averageprice:
  13356. description: 均价
  13357. type: number
  13358. avialqty:
  13359. description: 可用数量
  13360. type: number
  13361. decimalplace:
  13362. description: 报价小数位
  13363. type: integer
  13364. enumdicname:
  13365. description: 单位名称(商品)
  13366. type: string
  13367. frozenqty:
  13368. description: 冻结数量
  13369. type: number
  13370. goodscode:
  13371. description: 商品代码(内部)
  13372. type: string
  13373. goodsid:
  13374. description: 商品Id
  13375. type: integer
  13376. goodsname:
  13377. description: 商品名称
  13378. type: string
  13379. goodunitid:
  13380. description: 报价单位ID
  13381. type: integer
  13382. holderamount:
  13383. description: 金额
  13384. type: number
  13385. holderqty:
  13386. description: 持有数量
  13387. type: number
  13388. holdertype:
  13389. description: 持仓类别 - 1:单边持仓 2:双边持仓
  13390. type: integer
  13391. logincode:
  13392. description: 登录代码(账户)
  13393. type: string
  13394. marketid:
  13395. description: 市场id
  13396. type: integer
  13397. qtydecimalplace:
  13398. description: 成交量小数位
  13399. type: integer
  13400. trademode:
  13401. description: 交易模式
  13402. type: integer
  13403. userid:
  13404. description: 用户id
  13405. type: integer
  13406. userinfotype:
  13407. description: 账户类型 1-个人 2-企业
  13408. type: integer
  13409. type: object
  13410. models.QhjMgrSubArea:
  13411. properties:
  13412. accountname:
  13413. description: 账户名称(机构名称)
  13414. type: string
  13415. memberuserid:
  13416. description: 所属会员ID
  13417. type: integer
  13418. parenttopuser:
  13419. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  13420. type: string
  13421. parentuserid:
  13422. description: 所属机构ID
  13423. type: integer
  13424. rootuserid:
  13425. description: 根用户ID
  13426. type: string
  13427. subaccountlevel:
  13428. description: 子账户层数
  13429. type: integer
  13430. subarealevelpath:
  13431. description: 子机构层级路径(逗号分隔,首尾加逗号)
  13432. type: string
  13433. userid:
  13434. description: 用户ID
  13435. type: integer
  13436. usertype:
  13437. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  13438. type: integer
  13439. type: object
  13440. models.QhjMgrTradeDetailRsp:
  13441. properties:
  13442. accountid:
  13443. description: 资金账号
  13444. type: integer
  13445. accountname:
  13446. description: 用户名称
  13447. type: string
  13448. agreeunit:
  13449. description: 合约乘数
  13450. type: number
  13451. buyorsell:
  13452. description: 成交类型(方向) 0:买 1:卖
  13453. type: integer
  13454. decimalplace:
  13455. description: 报价小数位
  13456. type: integer
  13457. enumdicname:
  13458. description: 单位名称(商品)
  13459. type: string
  13460. goodscode:
  13461. description: 商品代码(内部)
  13462. type: string
  13463. goodsid:
  13464. description: 商品id
  13465. type: integer
  13466. goodsname:
  13467. description: 商品名称
  13468. type: string
  13469. goodunitid:
  13470. description: 报价单位ID
  13471. type: integer
  13472. logincode:
  13473. description: 登录代码(账户)
  13474. type: string
  13475. marketid:
  13476. description: 市场id
  13477. type: integer
  13478. orderid:
  13479. description: 关联委托单号
  13480. type: string
  13481. qtydecimalplace:
  13482. description: 成交量小数位
  13483. type: integer
  13484. tradeamount:
  13485. description: 金额
  13486. type: number
  13487. tradedate:
  13488. description: 交易日
  13489. type: string
  13490. tradeid:
  13491. description: 成交单号
  13492. type: string
  13493. trademode:
  13494. description: 交易模式
  13495. type: integer
  13496. tradeprice:
  13497. description: 价格
  13498. type: number
  13499. tradeqty:
  13500. description: 数量
  13501. type: number
  13502. tradetime:
  13503. description: 成交时间
  13504. type: string
  13505. userid:
  13506. description: 用户id
  13507. type: integer
  13508. userinfotype:
  13509. description: 账户类型 1-个人 2-企业
  13510. type: integer
  13511. type: object
  13512. models.QhjMgrTradeOrderDetailRsp:
  13513. properties:
  13514. accountid:
  13515. description: 资金账号
  13516. type: integer
  13517. accountname:
  13518. description: 用户名称
  13519. type: string
  13520. agreeunit:
  13521. description: 合约乘数
  13522. type: number
  13523. amount:
  13524. description: 金额
  13525. type: number
  13526. decimalplace:
  13527. description: 报价小数位
  13528. type: integer
  13529. enumdicname:
  13530. description: 单位名称(商品)
  13531. type: string
  13532. goodscode:
  13533. description: 商品代码(内部)
  13534. type: string
  13535. goodsid:
  13536. description: 商品id
  13537. type: integer
  13538. goodsname:
  13539. description: 商品名称
  13540. type: string
  13541. goodunitid:
  13542. description: 报价单位ID
  13543. type: integer
  13544. logincode:
  13545. description: 登录代码(账户)
  13546. type: string
  13547. marketid:
  13548. description: 市场id
  13549. type: integer
  13550. orderid:
  13551. description: 关联委托单号
  13552. type: string
  13553. orderprice:
  13554. description: 价格
  13555. type: number
  13556. orderqty:
  13557. description: 数量
  13558. type: number
  13559. orderstatus:
  13560. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  13561. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  13562. 16:成交失败违约(荷兰式竞拍专用)
  13563. type: integer
  13564. ordertime:
  13565. description: 委托时间
  13566. type: string
  13567. qtydecimalplace:
  13568. description: 成交量小数位
  13569. type: integer
  13570. tradedate:
  13571. description: 交易日
  13572. type: string
  13573. trademode:
  13574. description: 交易模式
  13575. type: integer
  13576. userid:
  13577. description: 用户id
  13578. type: integer
  13579. userinfotype:
  13580. description: 账户类型 1-个人 2-企业
  13581. type: integer
  13582. type: object
  13583. models.QhjMgrTradePayOrder:
  13584. properties:
  13585. accountname:
  13586. description: 用户名称
  13587. type: string
  13588. advanceratio:
  13589. description: 首付比率
  13590. type: number
  13591. agreeunit:
  13592. description: 合约乘数
  13593. type: number
  13594. buyaccountid:
  13595. description: 买方账号ID[报价币种]
  13596. type: integer
  13597. buyorderid:
  13598. description: 买方委托单号(关联单号)
  13599. type: string
  13600. createtime:
  13601. description: 创建时间
  13602. type: string
  13603. decimalplace:
  13604. description: 报价小数位
  13605. type: integer
  13606. enumdicname:
  13607. description: 单位名称(商品)
  13608. type: string
  13609. goodscode:
  13610. description: 商品代码(内部)
  13611. type: string
  13612. goodsid:
  13613. description: 商品ID
  13614. type: integer
  13615. goodsname:
  13616. description: 商品名称
  13617. type: string
  13618. goodunitid:
  13619. description: 报价单位ID
  13620. type: integer
  13621. logincode:
  13622. description: 登录代码(账户)
  13623. type: string
  13624. marketid:
  13625. description: 市场id
  13626. type: integer
  13627. offamount:
  13628. description: 优惠金额
  13629. type: number
  13630. operatetype:
  13631. description: 买委托操作类型 - 1:正常下单 16:融资买入
  13632. type: integer
  13633. payamount:
  13634. description: 支付金额(金额)
  13635. type: number
  13636. payflag:
  13637. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  13638. type: integer
  13639. paylimitedtime:
  13640. description: 支付期限
  13641. type: string
  13642. paytime:
  13643. description: 付款时间
  13644. type: string
  13645. qtydecimalplace:
  13646. description: 成交量小数位
  13647. type: integer
  13648. sellaccountid:
  13649. description: 卖方账号ID[报价币种]
  13650. type: integer
  13651. sellorderid:
  13652. description: 卖方委托单号
  13653. type: string
  13654. tradeamount:
  13655. description: 成交金额(优惠后金额)
  13656. type: number
  13657. tradecharge:
  13658. description: 成交手续费(买方)
  13659. type: number
  13660. tradedate:
  13661. description: 交易日(yyyyMMdd)
  13662. type: string
  13663. tradeid:
  13664. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13665. type: string
  13666. trademode:
  13667. description: 交易模式
  13668. type: integer
  13669. tradeprice:
  13670. description: 成交价格(价格)
  13671. type: number
  13672. tradeqty:
  13673. description: 成交数量(数量)
  13674. type: number
  13675. tradetime:
  13676. description: 成交时间
  13677. type: string
  13678. userid:
  13679. description: 用户id
  13680. type: integer
  13681. userinfotype:
  13682. description: 账户类型 1-个人 2-企业
  13683. type: integer
  13684. type: object
  13685. models.QhjMyTeamEx:
  13686. properties:
  13687. accountname:
  13688. description: 用户名称
  13689. type: string
  13690. accountstatus:
  13691. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  13692. type: integer
  13693. createtime:
  13694. description: 创建时间
  13695. type: string
  13696. mobile:
  13697. description: 手机号码
  13698. type: string
  13699. refereeuserid:
  13700. description: 推荐人id
  13701. type: integer
  13702. refernum:
  13703. description: 推荐码
  13704. type: string
  13705. subList:
  13706. items:
  13707. $ref: '#/definitions/models.QhjMyTeamEx'
  13708. type: array
  13709. userid:
  13710. description: 用户id
  13711. type: integer
  13712. userinfotype:
  13713. description: 用户类型 1-个人 2-企业
  13714. type: integer
  13715. type: object
  13716. models.QhjNodeAgreementConfig:
  13717. properties:
  13718. agreementcontent:
  13719. description: 协议内容
  13720. type: string
  13721. agreementid:
  13722. description: 协议ID
  13723. type: integer
  13724. agreementname:
  13725. description: 协议名称
  13726. type: string
  13727. agreementno:
  13728. description: 协议编号
  13729. type: string
  13730. agreementtype:
  13731. description: 协议类型 - 1:注册 2:登录 3:交易
  13732. type: integer
  13733. agreementversion:
  13734. description: 协议版本号
  13735. type: integer
  13736. configid:
  13737. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  13738. type: integer
  13739. createtime:
  13740. description: 创建时间
  13741. type: string
  13742. goodsid:
  13743. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  13744. type: integer
  13745. nodetype:
  13746. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  13747. type: integer
  13748. type: object
  13749. models.QhjParentAreaList:
  13750. properties:
  13751. accountname:
  13752. description: 账户名称(机构名称)
  13753. type: string
  13754. userid:
  13755. description: 用户ID
  13756. type: integer
  13757. usertype:
  13758. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  13759. type: integer
  13760. type: object
  13761. models.QhjPayOrder:
  13762. properties:
  13763. advanceratio:
  13764. description: 首付比率
  13765. type: number
  13766. buyaccountid:
  13767. description: 买方账号ID[报价币种]
  13768. type: integer
  13769. buyorderid:
  13770. description: 买方委托单号
  13771. type: string
  13772. createtime:
  13773. description: 创建时间
  13774. type: string
  13775. decimalplace:
  13776. description: 商品报价小数位
  13777. type: integer
  13778. enumdicname:
  13779. description: 单位名称
  13780. type: string
  13781. goodscode:
  13782. description: 商品代码
  13783. type: string
  13784. goodsid:
  13785. description: 商品ID
  13786. type: integer
  13787. goodsname:
  13788. description: 商品名称
  13789. type: string
  13790. goodunitid:
  13791. description: 商品单位id
  13792. type: integer
  13793. marketid:
  13794. description: 市场ID
  13795. type: integer
  13796. offamount:
  13797. description: 优惠金额
  13798. type: number
  13799. operatetype:
  13800. description: 买委托操作类型 - 1:正常下单 16:融资买入
  13801. type: integer
  13802. payamount:
  13803. description: 支付金额
  13804. type: number
  13805. payflag:
  13806. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  13807. type: integer
  13808. paylimitedtime:
  13809. description: 支付期限
  13810. type: string
  13811. paytime:
  13812. description: 付款时间
  13813. type: string
  13814. qtydecimalplace:
  13815. description: 成交量小数位
  13816. type: integer
  13817. sellaccountid:
  13818. description: 卖方账号ID[报价币种]
  13819. type: integer
  13820. sellorderid:
  13821. description: 卖方委托单号
  13822. type: string
  13823. tradeamount:
  13824. description: 成交金额(优惠后金额)
  13825. type: number
  13826. tradecharge:
  13827. description: 成交手续费(买方)
  13828. type: number
  13829. tradedate:
  13830. description: 交易日(yyyyMMdd)
  13831. type: string
  13832. tradeid:
  13833. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13834. type: string
  13835. tradeprice:
  13836. description: 成交价格
  13837. type: number
  13838. tradeqty:
  13839. description: 成交数量
  13840. type: number
  13841. type: object
  13842. models.QhjPickArea:
  13843. properties:
  13844. address:
  13845. description: 详细地址
  13846. type: string
  13847. cityid:
  13848. description: 市
  13849. type: integer
  13850. cityname:
  13851. description: 城市名称
  13852. type: string
  13853. countryid:
  13854. description: 国家
  13855. type: integer
  13856. countryname:
  13857. description: 国家名称
  13858. type: string
  13859. districtid:
  13860. description: 地区
  13861. type: integer
  13862. districtname:
  13863. description: 地区名称
  13864. type: string
  13865. fromuserid:
  13866. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  13867. type: integer
  13868. fromusername:
  13869. description: 所属机构名称
  13870. type: string
  13871. provinceid:
  13872. description: 省
  13873. type: integer
  13874. provincename:
  13875. description: 省名称
  13876. type: string
  13877. suborgtype:
  13878. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  13879. type: integer
  13880. userid:
  13881. description: 机构用户ID 其他做市关系,都设置为 1
  13882. type: integer
  13883. username:
  13884. description: 机构用户名称(门店门称)
  13885. type: string
  13886. type: object
  13887. models.QhjPickGoods:
  13888. properties:
  13889. enumdicname:
  13890. description: 单位名称(提货商品)
  13891. type: string
  13892. goodsid:
  13893. description: 商品id
  13894. type: integer
  13895. imageaddress:
  13896. description: 图片
  13897. type: string
  13898. modifierid:
  13899. description: 修改人
  13900. type: integer
  13901. modifiername:
  13902. description: 修改人名称
  13903. type: string
  13904. modifysrc:
  13905. description: 修改来源 - 1:管理端 2:终端
  13906. type: integer
  13907. pickupgoodsagreeunit:
  13908. description: 合约乘数
  13909. type: number
  13910. pickupgoodsdesc:
  13911. description: 描述
  13912. type: string
  13913. pickupgoodsid:
  13914. description: 提货商品ID
  13915. type: string
  13916. pickupgoodsname:
  13917. description: 提货商品名称
  13918. type: string
  13919. pickupgoodsstatus:
  13920. description: 状态 - 1:正常 2:停用 3:注销
  13921. type: integer
  13922. pickupgoodsunitid:
  13923. description: 单位ID
  13924. type: integer
  13925. pickupratio:
  13926. description: 提货系数
  13927. type: number
  13928. preparedays:
  13929. description: 备货期(天)
  13930. type: integer
  13931. remark:
  13932. description: 备注
  13933. type: string
  13934. updatetime:
  13935. description: 更新时间
  13936. type: string
  13937. type: object
  13938. models.QhjRSTriggerLog:
  13939. properties:
  13940. accountid:
  13941. description: 用户资金账户
  13942. type: integer
  13943. accountname:
  13944. description: 账号名称(ACCOUNTID对应的名称)
  13945. type: string
  13946. currencyid:
  13947. description: 币种id
  13948. type: integer
  13949. currencyname:
  13950. description: 币种名称
  13951. type: string
  13952. decimalplace:
  13953. description: 商品报价小数位
  13954. type: integer
  13955. enumdicname:
  13956. description: 单位名称
  13957. type: string
  13958. goodscode:
  13959. description: 定投商品代码
  13960. type: string
  13961. goodsid:
  13962. description: 定投商品ID
  13963. type: integer
  13964. goodsname:
  13965. description: 定投商品名称
  13966. type: string
  13967. goodunitid:
  13968. description: 定投商品单位id
  13969. type: integer
  13970. logid:
  13971. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  13972. type: string
  13973. logincode:
  13974. description: 账号(登录代码)
  13975. type: string
  13976. qtydecimalplace:
  13977. description: 成交量小数位
  13978. type: integer
  13979. regularlycycle:
  13980. description: 定投频率 - 1:每周 2:每月
  13981. type: integer
  13982. regularlycyclevalue:
  13983. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  13984. type: string
  13985. regularlymode:
  13986. description: 定投方式 - 1:按数量 2:按金额
  13987. type: integer
  13988. regularlymodevalue:
  13989. description: 定投方式值 - 数量或金额
  13990. type: number
  13991. regularlystrategyid:
  13992. description: 定投策略ID
  13993. type: integer
  13994. retcode:
  13995. description: 错误码
  13996. type: string
  13997. tradeid:
  13998. description: 成交单ID
  13999. type: string
  14000. triggeramount:
  14001. description: 触发金额
  14002. type: number
  14003. triggerqty:
  14004. description: 触发数量
  14005. type: number
  14006. triggerstatus:
  14007. description: 触发状态 - 1:成功 2:失败
  14008. type: integer
  14009. triggertime:
  14010. description: 触发时间
  14011. type: string
  14012. triggertradedate:
  14013. description: 触发交易日
  14014. type: string
  14015. userid:
  14016. description: 所属用户ID
  14017. type: integer
  14018. userinfotype:
  14019. description: 用户类型 1-个人 2-企业
  14020. type: integer
  14021. username:
  14022. description: 用户名称(userid对应的名称)
  14023. type: string
  14024. type: object
  14025. models.QhjRStrategy:
  14026. properties:
  14027. accountid:
  14028. description: 用户资金账户
  14029. type: integer
  14030. accountname:
  14031. description: 账号名称(ACCOUNTID对应的名称)
  14032. type: string
  14033. currencyid:
  14034. description: 币种id
  14035. type: integer
  14036. currencyname:
  14037. description: 币种名称
  14038. type: string
  14039. decimalplace:
  14040. description: 商品报价小数位
  14041. type: integer
  14042. enumdicname:
  14043. description: 单位名称
  14044. type: string
  14045. goodscode:
  14046. description: 定投商品代码
  14047. type: string
  14048. goodsid:
  14049. description: 定投商品ID
  14050. type: integer
  14051. goodsname:
  14052. description: 定投商品名称
  14053. type: string
  14054. goodunitid:
  14055. description: 定投商品单位id
  14056. type: integer
  14057. lasteffecttradedate:
  14058. description: 最新生效交易日
  14059. type: string
  14060. laststoptradedate:
  14061. description: 最新暂停交易日
  14062. type: string
  14063. lasttriggertradedate:
  14064. description: 最新触发交易日
  14065. type: string
  14066. logincode:
  14067. description: 账号(登录代码)
  14068. type: string
  14069. nexttriggeramount:
  14070. description: 下次触发金额
  14071. type: number
  14072. nexttriggerdate:
  14073. description: 下次触发日期
  14074. type: string
  14075. nexttriggerqty:
  14076. description: 下次触发数量 [按小数位放大值]
  14077. type: number
  14078. qtydecimalplace:
  14079. description: 成交量小数位
  14080. type: integer
  14081. regularlycycle:
  14082. description: 定投频率 - 1:每周 2:每月
  14083. type: integer
  14084. regularlycyclevalue:
  14085. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  14086. type: string
  14087. regularlymode:
  14088. description: 定投方式 - 1:按数量 2:按金额
  14089. type: integer
  14090. regularlymodevalue:
  14091. description: 定投方式值 - 数量或金额
  14092. type: number
  14093. regularlystrategyid:
  14094. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  14095. type: integer
  14096. regularlystrategystatus:
  14097. description: 策略状态 - 1:正常 2:暂停 3:终止
  14098. type: integer
  14099. remark:
  14100. description: 备注
  14101. type: string
  14102. triggersuccesstimes:
  14103. description: 累计定投成功次数
  14104. type: string
  14105. triggertotalamount:
  14106. description: 累计定投金额(成功)
  14107. type: number
  14108. triggertotalqty:
  14109. description: 累计定投数量(成功) [按小数位放大值]
  14110. type: number
  14111. triggertotaltimes:
  14112. description: 累计定投总次数
  14113. type: string
  14114. updatesrc:
  14115. description: 更新来源 - 1:管理端 2:终端
  14116. type: integer
  14117. updatetime:
  14118. description: 更新时间
  14119. type: string
  14120. updatorid:
  14121. description: 更新人
  14122. type: string
  14123. userid:
  14124. description: 所属用户ID
  14125. type: integer
  14126. userinfotype:
  14127. description: 用户类型 1-个人 2-企业
  14128. type: integer
  14129. username:
  14130. description: 用户名称(userid对应的名称)
  14131. type: string
  14132. type: object
  14133. models.QhjReckonPriceLog:
  14134. properties:
  14135. decimalplace:
  14136. description: 商品报价小数位
  14137. type: integer
  14138. goodscode:
  14139. description: 商品代码
  14140. type: string
  14141. goodsid:
  14142. description: 商品ID
  14143. type: integer
  14144. goodsname:
  14145. description: 商品名称
  14146. type: string
  14147. lastreckonprice:
  14148. description: 上日结算价
  14149. type: number
  14150. nextdnlimitprice:
  14151. description: 下个交易日跌停价
  14152. type: number
  14153. nexttrade:
  14154. description: 下个交易日
  14155. type: string
  14156. nextuplimitprice:
  14157. description: 下个交易日涨停价
  14158. type: number
  14159. reckonprice:
  14160. description: 今日结算价(定投价)
  14161. type: number
  14162. reckontime:
  14163. description: 结算时间
  14164. type: string
  14165. totalholderqty:
  14166. description: 总持仓数
  14167. type: integer
  14168. totalstock:
  14169. description: 总库存
  14170. type: integer
  14171. tradedate:
  14172. description: 交易日
  14173. type: string
  14174. updowncount:
  14175. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  14176. type: integer
  14177. updownflag:
  14178. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  14179. type: integer
  14180. updownrate:
  14181. description: 今日涨跌幅
  14182. type: number
  14183. updownrate_2d:
  14184. description: 连续两日涨跌幅
  14185. type: number
  14186. updownrate_3d:
  14187. description: 连续三日涨跌幅
  14188. type: number
  14189. type: object
  14190. models.QhjScoreLog:
  14191. properties:
  14192. accountid:
  14193. description: 账户ID
  14194. type: integer
  14195. createtime:
  14196. description: 创建时间(时间)
  14197. type: string
  14198. goodsid:
  14199. description: 商品ID
  14200. type: integer
  14201. hasuploaded:
  14202. description: 是否已同步(千海金) 0:未同步 1;已同步
  14203. type: integer
  14204. logid:
  14205. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14206. type: string
  14207. marketid:
  14208. description: 市场ID
  14209. type: integer
  14210. relatedamount:
  14211. description: 关联金额
  14212. type: number
  14213. relatedorderid:
  14214. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  14215. type: string
  14216. scoreconfigvalue1:
  14217. description: 积分配置1
  14218. type: integer
  14219. scoreconfigvalue2:
  14220. description: 积分配置1
  14221. type: integer
  14222. scoretype:
  14223. description: 积分类型 - 1:提货积分
  14224. type: integer
  14225. scorevalue:
  14226. description: 积分
  14227. type: number
  14228. tradedate:
  14229. description: 交易日(yyyyMMdd)
  14230. type: string
  14231. uploadedtime:
  14232. description: 同步时间
  14233. type: string
  14234. userid:
  14235. description: 用户ID
  14236. type: integer
  14237. type: object
  14238. models.QhjSiteColumnDetail:
  14239. properties:
  14240. author:
  14241. description: 作者
  14242. type: string
  14243. brief:
  14244. description: 简介
  14245. type: string
  14246. columnid:
  14247. description: 所属栏目
  14248. type: integer
  14249. context:
  14250. description: 内容
  14251. type: string
  14252. coverimage:
  14253. description: 封面图片
  14254. type: string
  14255. creaedate:
  14256. description: 创建时间
  14257. type: string
  14258. creatorid:
  14259. description: 创建人
  14260. type: integer
  14261. hits:
  14262. description: 点击数
  14263. type: integer
  14264. id:
  14265. description: ID(SEQ_SITE_COLUMNDETAIL)
  14266. type: integer
  14267. isshow:
  14268. description: 是否展示 - 0:不展示 1:展示
  14269. type: integer
  14270. istop:
  14271. description: 是否置顶 - 0:不置 1:置顶
  14272. type: integer
  14273. modifierid:
  14274. description: 操作人
  14275. type: integer
  14276. publishdate:
  14277. description: 发布日期
  14278. type: string
  14279. status:
  14280. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  14281. type: integer
  14282. title:
  14283. description: 标题
  14284. type: string
  14285. updatedate:
  14286. description: 修改时间
  14287. type: string
  14288. userid:
  14289. description: 用户ID(默认为0, 核心为为机构用户ID)
  14290. type: integer
  14291. username:
  14292. description: 用户名称
  14293. type: string
  14294. type: object
  14295. models.QhjTeamOrder:
  14296. properties:
  14297. accountid:
  14298. description: 账户ID[报价币种]
  14299. type: integer
  14300. accountname:
  14301. description: 账户名称
  14302. type: string
  14303. agreeunit:
  14304. description: 合约乘数
  14305. type: number
  14306. buyorsell:
  14307. description: 方向 - 0:买 1:卖
  14308. type: integer
  14309. decimalplace:
  14310. description: 报价小数位
  14311. type: integer
  14312. enumdicname:
  14313. description: 单位名称
  14314. type: string
  14315. goodscode:
  14316. description: 商品代码(内部)
  14317. type: string
  14318. goodsid:
  14319. description: 商品ID
  14320. type: integer
  14321. goodsname:
  14322. description: 商品名称
  14323. type: string
  14324. goodunitid:
  14325. description: 报价单位ID
  14326. type: integer
  14327. marketid:
  14328. description: 市场ID
  14329. type: integer
  14330. marketname:
  14331. description: 市场名称
  14332. type: string
  14333. qtydecimalplace:
  14334. description: 成交量小数位
  14335. type: integer
  14336. refereeuserid:
  14337. description: 推荐人ID
  14338. type: integer
  14339. tradeamount:
  14340. description: 成交金额[账户币种,用于所有权]
  14341. type: number
  14342. tradedate:
  14343. description: 交易日(yyyyMMdd)
  14344. type: string
  14345. trademode:
  14346. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  14347. 21:竞拍-大宗式 22:受托竞价
  14348. type: integer
  14349. tradeprice:
  14350. description: 成交价格
  14351. type: number
  14352. tradeqty:
  14353. description: 成交数量
  14354. type: number
  14355. tradetime:
  14356. description: 成交时间
  14357. type: string
  14358. userid:
  14359. description: 用户ID
  14360. type: integer
  14361. type: object
  14362. models.QhjTradeGoodsPickup:
  14363. properties:
  14364. accountid:
  14365. description: 账户ID
  14366. type: integer
  14367. address:
  14368. description: 提货人详细地址
  14369. type: string
  14370. amount:
  14371. description: 提货金额
  14372. type: number
  14373. artradedate:
  14374. description: 自动收货交易日(yyyyMMdd)
  14375. type: string
  14376. auditer:
  14377. description: 审核人
  14378. type: integer
  14379. auditsrc:
  14380. description: 更新来源 - 1:管理端 2:终端
  14381. type: integer
  14382. audittime:
  14383. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  14384. type: string
  14385. audittradedate:
  14386. description: 审核交易日(yyyyMMdd)
  14387. type: string
  14388. cardnum:
  14389. description: 提货人证件号码
  14390. type: string
  14391. cardtypeid:
  14392. description: 提货人证件类型
  14393. type: integer
  14394. checkremark:
  14395. description: 审核备注
  14396. type: string
  14397. cityid:
  14398. description: 市
  14399. type: integer
  14400. cityname:
  14401. description: 城市名称
  14402. type: string
  14403. confirmtime:
  14404. description: 取货时间 或 收货时间
  14405. type: string
  14406. countryid:
  14407. description: 国家
  14408. type: integer
  14409. countryname:
  14410. description: 国家名称
  14411. type: string
  14412. decimalplace:
  14413. description: 商品报价小数位
  14414. type: integer
  14415. districtid:
  14416. description: 地区
  14417. type: integer
  14418. districtname:
  14419. description: 地区名称
  14420. type: string
  14421. enumdicname:
  14422. description: 单位名称(提货商品)
  14423. type: string
  14424. expresscompany:
  14425. description: 物流公司
  14426. type: string
  14427. expressnum:
  14428. description: 物流单号
  14429. type: string
  14430. goodsagreeunit:
  14431. description: 交易商品乘数
  14432. type: number
  14433. goodscode:
  14434. description: 商品代码
  14435. type: string
  14436. goodsid:
  14437. description: 商品ID
  14438. type: integer
  14439. goodsname:
  14440. description: 商品名称
  14441. type: string
  14442. goodsqty:
  14443. description: 交易商品手数(69模式按成交量小数位放大取整)
  14444. type: number
  14445. handlestatus:
  14446. description: 处理状态
  14447. type: integer
  14448. logincode:
  14449. description: 账号(登录代码, 有可能为空)
  14450. type: string
  14451. marketid:
  14452. description: 市场ID
  14453. type: integer
  14454. phonenum:
  14455. description: 提货人联系方式
  14456. type: string
  14457. pickupgoodsagreeunit:
  14458. description: 提货商品合约乘数
  14459. type: number
  14460. pickupgoodsid:
  14461. description: 提货商品ID
  14462. type: string
  14463. pickupgoodsname:
  14464. description: 提货商品名称
  14465. type: string
  14466. pickupgoodsqty:
  14467. description: 提货商品手数(数量)
  14468. type: number
  14469. pickupgoodsunitid:
  14470. description: 单位ID(提货商品)
  14471. type: integer
  14472. pickupratio:
  14473. description: 提货系数
  14474. type: number
  14475. preparedays:
  14476. description: 备货期(天)-提货单明细表
  14477. type: integer
  14478. provinceid:
  14479. description: 省
  14480. type: integer
  14481. provincename:
  14482. description: 省名称
  14483. type: string
  14484. qty:
  14485. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  14486. type: number
  14487. qtydecimalplace:
  14488. description: 商品数量小数位
  14489. type: integer
  14490. recivername:
  14491. description: 提货人姓名
  14492. type: string
  14493. reqtime:
  14494. description: 提货申请时间
  14495. type: string
  14496. storeuserid:
  14497. description: 门店用户ID (千海金)
  14498. type: integer
  14499. storeusername:
  14500. description: 门店用户名称
  14501. type: string
  14502. takemode:
  14503. description: 提货方式 - 2:自提 3:配送(邮寄)
  14504. type: integer
  14505. takeorderid:
  14506. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  14507. type: string
  14508. takeorderstatus:
  14509. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  14510. 7:已拒绝 8:已撤销
  14511. type: integer
  14512. takeremark:
  14513. description: 提货备注
  14514. type: string
  14515. tradedate:
  14516. description: 交易日(yyyyMMdd)
  14517. type: string
  14518. updatetime:
  14519. description: 更新时间
  14520. type: string
  14521. userid:
  14522. description: 用户ID
  14523. type: integer
  14524. userinfotype:
  14525. description: 客户类型 1-个人 2-企业
  14526. type: integer
  14527. username:
  14528. description: 用户名称
  14529. type: string
  14530. type: object
  14531. models.QhjUserNodeCfgAndStatus:
  14532. properties:
  14533. agreementcontent:
  14534. description: 协议内容
  14535. type: string
  14536. agreementid:
  14537. description: 协议ID
  14538. type: integer
  14539. agreementname:
  14540. description: 协议名称
  14541. type: string
  14542. agreementno:
  14543. description: 协议编号
  14544. type: string
  14545. agreementtype:
  14546. description: 协议类型 - 1:注册 2:登录 3:交易
  14547. type: integer
  14548. agreementversion:
  14549. description: 协议版本号
  14550. type: integer
  14551. configid:
  14552. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  14553. type: integer
  14554. createtime:
  14555. description: 创建时间
  14556. type: string
  14557. goodsid:
  14558. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  14559. type: integer
  14560. nodetype:
  14561. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  14562. type: integer
  14563. signtimestamp:
  14564. description: 签约状态时间戳(最近一次)
  14565. type: string
  14566. tradedate:
  14567. description: 签约交易日(yyyyMMdd)
  14568. type: string
  14569. userid:
  14570. description: 客户ID
  14571. type: integer
  14572. type: object
  14573. models.Qhjgoodsex:
  14574. properties:
  14575. canfinance:
  14576. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  14577. type: integer
  14578. canregularlybuy:
  14579. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  14580. type: integer
  14581. defaulttradeuserid:
  14582. description: 默认交易用户ID
  14583. type: integer
  14584. deliverygoodsid:
  14585. description: 现货品种ID
  14586. type: integer
  14587. goodsid:
  14588. description: 商品ID(自增ID SEQ_GOODS)
  14589. type: integer
  14590. minamount:
  14591. description: 最小购买金额
  14592. type: number
  14593. regularlybuyminamount:
  14594. description: 定投最小金额
  14595. type: number
  14596. regularlybuyminqty:
  14597. description: 定投最小数量
  14598. type: number
  14599. spotgoodsbrandid:
  14600. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  14601. type: integer
  14602. visibilityforenterprise:
  14603. description: 企业客户是否可见 - 0:不可见 1:可见
  14604. type: integer
  14605. visibilityforpersonal:
  14606. description: 个人客户是否可见 - 0:不可见 1:可见
  14607. type: integer
  14608. wrstandardid:
  14609. description: 现货商品ID
  14610. type: integer
  14611. type: object
  14612. models.QueryErrorInfosRsp:
  14613. properties:
  14614. description:
  14615. description: 异常描述
  14616. type: string
  14617. errorcode:
  14618. description: 异常代码
  14619. type: string
  14620. errorid:
  14621. description: 异常ID
  14622. type: integer
  14623. modulecode:
  14624. description: 所属模块
  14625. type: string
  14626. operatecode:
  14627. description: 所属操作
  14628. type: string
  14629. rownumber:
  14630. description: 行号
  14631. type: string
  14632. required:
  14633. - errorid
  14634. type: object
  14635. models.QueryHedgeOrderDetailRsp:
  14636. properties:
  14637. accountid:
  14638. description: 账户ID
  14639. type: integer
  14640. buyorsell:
  14641. description: 买卖 - 0:买 1:卖
  14642. type: integer
  14643. cancellogincode:
  14644. description: 撤单人
  14645. type: string
  14646. channelbuildtype:
  14647. description: 开平标志 - 0:无 1:建仓 2:平仓
  14648. type: integer
  14649. channelinnerorderstatus:
  14650. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  14651. 9:全部成交
  14652. type: integer
  14653. channeloperatetype:
  14654. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  14655. type: integer
  14656. closetype:
  14657. description: 平仓方式 - 0:无 1:平今 2:平昨
  14658. type: integer
  14659. curexchangerate:
  14660. description: 当前汇率
  14661. type: number
  14662. decimalplace:
  14663. description: 商品报价小数位
  14664. type: integer
  14665. exchangefullname:
  14666. description: 外部交易所全称
  14667. type: string
  14668. goodscode:
  14669. description: 商品代码(内部)
  14670. type: string
  14671. goodsid:
  14672. description: 商品ID
  14673. type: integer
  14674. goodsname:
  14675. description: 商品名称
  14676. type: string
  14677. marketid:
  14678. description: 市场ID
  14679. type: integer
  14680. openfreezemargin:
  14681. description: 冻结保证金(冻结交易金额)
  14682. type: number
  14683. orderid:
  14684. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14685. type: string
  14686. orderlogincode:
  14687. description: 委托人
  14688. type: string
  14689. orderprice:
  14690. description: 委托价格(账户)
  14691. type: number
  14692. orderqty:
  14693. description: 委托数量
  14694. type: integer
  14695. ordertime:
  14696. description: 委托时间
  14697. type: string
  14698. pricemode:
  14699. description: '取价方式 - 1:市价 2: 限价'
  14700. type: integer
  14701. tradedate:
  14702. description: 交易日(yyyyMMdd)
  14703. type: string
  14704. tradeqty:
  14705. description: 成交数量
  14706. type: integer
  14707. type: object
  14708. models.QueryHedgeTradeDetailRsp:
  14709. properties:
  14710. accountid:
  14711. description: 账号ID
  14712. type: integer
  14713. buyorsell:
  14714. description: 方向 - 0:买 1:卖
  14715. type: integer
  14716. channelbuildtype:
  14717. description: 委托单据类型 0:无 1:建仓 2:平仓
  14718. type: integer
  14719. closecharge:
  14720. description: 平仓手续费(账户)
  14721. type: number
  14722. closecharge2:
  14723. description: 平仓手续费(商品)
  14724. type: number
  14725. closepl:
  14726. description: 平仓盈亏(账户)
  14727. type: number
  14728. closepl2:
  14729. description: 平仓盈亏(商品)
  14730. type: number
  14731. closepl3:
  14732. description: 平仓盈亏(账户)(逐笔)
  14733. type: number
  14734. closepl4:
  14735. description: 平仓盈亏(商品)(逐笔)
  14736. type: number
  14737. closetype:
  14738. description: 平仓方式 - 0:无 1:平今 2:平昨
  14739. type: integer
  14740. curexchangerate:
  14741. description: 当前汇率
  14742. type: number
  14743. decimalplace:
  14744. description: 商品报价小数位
  14745. type: integer
  14746. exchangefullname:
  14747. description: 外部交易所全称
  14748. type: string
  14749. goodscode:
  14750. description: 商品代码(内部)
  14751. type: string
  14752. goodsid:
  14753. description: 商品ID
  14754. type: integer
  14755. goodsname:
  14756. description: 商品名称
  14757. type: string
  14758. marketid:
  14759. description: 市场ID
  14760. type: integer
  14761. opencharge:
  14762. description: 建仓手续费(账户)
  14763. type: number
  14764. opencharge2:
  14765. description: 建仓手续费(商品)
  14766. type: number
  14767. orderid:
  14768. description: 委托单号
  14769. type: string
  14770. orderlogincode:
  14771. description: 委托人
  14772. type: string
  14773. tradeamount:
  14774. description: 成交金额(账户)
  14775. type: number
  14776. tradedate:
  14777. description: 交易日(yyyyMMdd)
  14778. type: string
  14779. tradeid:
  14780. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14781. type: string
  14782. tradeprice:
  14783. description: 成交价格
  14784. type: number
  14785. tradeqty:
  14786. description: 成交数量
  14787. type: integer
  14788. tradetime:
  14789. description: 成交时间
  14790. type: string
  14791. tradetype:
  14792. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  14793. type: integer
  14794. type: object
  14795. models.QuotePrimaryMenu:
  14796. properties:
  14797. Index:
  14798. description: 序号
  14799. type: integer
  14800. Key:
  14801. description: 键名
  14802. type: string
  14803. Name:
  14804. description: 菜单名称
  14805. type: string
  14806. SubMenus:
  14807. description: 子菜单
  14808. items:
  14809. $ref: '#/definitions/models.QuoteSecondaryMenu'
  14810. type: array
  14811. SubTitleType:
  14812. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  14813. type: integer
  14814. TradeModes:
  14815. description: 包含市场交易类型
  14816. type: string
  14817. type: object
  14818. models.QuoteSecondaryMenu:
  14819. properties:
  14820. ExExchangeCode:
  14821. description: 外部交易所代码
  14822. type: string
  14823. ExExchangeID:
  14824. description: 外部交易所ID
  14825. type: integer
  14826. GoodsGroupIDs:
  14827. description: 商品组ID列表
  14828. items:
  14829. type: integer
  14830. type: array
  14831. Index:
  14832. description: 序号
  14833. type: integer
  14834. MarketID:
  14835. description: 市场ID
  14836. type: integer
  14837. MenuTitle:
  14838. description: 菜单标题(市场名称或外部交易所名称)
  14839. type: string
  14840. TradeMode:
  14841. description: 交易模式
  14842. type: integer
  14843. type: object
  14844. models.RelatedTaAccount:
  14845. properties:
  14846. accountid:
  14847. description: 资金账户ID
  14848. type: integer
  14849. type: object
  14850. models.RoleMenu:
  14851. properties:
  14852. hasright:
  14853. description: 是否有权限 0-没有权限 1-有权限
  14854. type: integer
  14855. iconame:
  14856. description: 菜单图标
  14857. type: string
  14858. menutype:
  14859. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  14860. type: integer
  14861. parentcode:
  14862. description: 上级资源代码
  14863. type: string
  14864. remark:
  14865. description: 菜单备注
  14866. type: string
  14867. resourcecode:
  14868. description: 菜单代码
  14869. type: string
  14870. resourcelevel:
  14871. description: 级别
  14872. type: integer
  14873. resourcename:
  14874. description: 菜单名称
  14875. type: string
  14876. roleid:
  14877. description: 角色id
  14878. type: integer
  14879. sort:
  14880. description: 排序
  14881. type: integer
  14882. subMenu:
  14883. description: 子级菜单(结构同上层一样, swag解析不出来)
  14884. items:
  14885. $ref: '#/definitions/models.RoleMenu'
  14886. type: array
  14887. url:
  14888. description: URL
  14889. type: string
  14890. userid:
  14891. description: 用户id
  14892. type: integer
  14893. type: object
  14894. models.SearchGoods:
  14895. properties:
  14896. goodscode:
  14897. description: 商品代码(内部)
  14898. type: string
  14899. goodsid:
  14900. description: 商品ID(自增ID SEQ_GOODS)
  14901. type: integer
  14902. goodsname:
  14903. description: 商品名称
  14904. type: string
  14905. marketid:
  14906. description: 所属市场ID
  14907. type: integer
  14908. marketname:
  14909. description: 市场名称
  14910. type: string
  14911. trademode:
  14912. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  14913. 21:竞拍-大宗式 22:受托竞价
  14914. type: integer
  14915. required:
  14916. - goodscode
  14917. - goodsid
  14918. - goodsname
  14919. - marketid
  14920. - trademode
  14921. type: object
  14922. models.Systemparam:
  14923. properties:
  14924. loginid:
  14925. description: 更新用户账号,登录账号
  14926. type: string
  14927. modifyflag:
  14928. description: 修改标志0 不允许修改 1 允许修改
  14929. type: integer
  14930. paramcode:
  14931. description: 参数代码
  14932. type: string
  14933. paramname:
  14934. description: 参数名
  14935. type: string
  14936. paramtype:
  14937. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  14938. type: integer
  14939. paramvalue:
  14940. description: 参数值
  14941. type: string
  14942. paramvalue2:
  14943. description: 参数值(CLOB)
  14944. type: string
  14945. regexpress:
  14946. description: 正则表达式
  14947. type: string
  14948. remark:
  14949. description: 备注
  14950. type: string
  14951. serverip:
  14952. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  14953. type: string
  14954. showflag:
  14955. description: 是否显示0 不显示 1 显示
  14956. type: integer
  14957. updatetime:
  14958. description: 更新时间
  14959. type: string
  14960. userid:
  14961. description: 更新用户ID
  14962. type: integer
  14963. required:
  14964. - paramcode
  14965. type: object
  14966. models.Szdz3convertconfig:
  14967. properties:
  14968. canin:
  14969. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  14970. type: integer
  14971. canout:
  14972. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  14973. type: integer
  14974. converttype:
  14975. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  14976. 6:交易转花生米(不设置)
  14977. type: integer
  14978. createtime:
  14979. description: 创建时间
  14980. type: string
  14981. creatorid:
  14982. description: 创建人
  14983. type: integer
  14984. daymaxvalue:
  14985. description: 当日最大转入限制
  14986. type: number
  14987. freezedays:
  14988. description: 冻结天数 [5:花生米转交易]
  14989. type: integer
  14990. innergoodsid:
  14991. description: 内部商品ID[交易]
  14992. type: integer
  14993. inratio:
  14994. description: 目标值
  14995. type: integer
  14996. modifierid:
  14997. description: 修改人
  14998. type: integer
  14999. modifytime:
  15000. description: 修改时间
  15001. type: string
  15002. outergoodscode:
  15003. description: 外部商品代码[JD\PD]
  15004. type: string
  15005. outratio:
  15006. description: 源值
  15007. type: integer
  15008. pddecimalplace:
  15009. description: PD小数位
  15010. type: integer
  15011. timemaxvalue:
  15012. description: 单次最大转入限制
  15013. type: number
  15014. timeminvalue:
  15015. description: 单次最小转入限制
  15016. type: number
  15017. required:
  15018. - converttype
  15019. - innergoodsid
  15020. - outergoodscode
  15021. type: object
  15022. models.Szdz3searchwhitelist:
  15023. properties:
  15024. createtime:
  15025. description: 创建时间
  15026. type: string
  15027. creatorid:
  15028. description: 创建人
  15029. type: integer
  15030. modifierid:
  15031. description: 修改人
  15032. type: integer
  15033. modifytime:
  15034. description: 修改时间
  15035. type: string
  15036. userid:
  15037. description: 用户ID
  15038. type: integer
  15039. required:
  15040. - userid
  15041. type: object
  15042. models.TBGoods:
  15043. properties:
  15044. agreeunit:
  15045. description: 合约乘数
  15046. type: number
  15047. enumdicname:
  15048. description: 单位名称
  15049. type: string
  15050. goodscode:
  15051. description: 商品代码(内部)
  15052. type: string
  15053. goodsid:
  15054. description: 商品ID(自增ID SEQ_GOODS)
  15055. type: integer
  15056. goodsname:
  15057. description: 商品名称
  15058. type: string
  15059. type: object
  15060. models.TBGoodsGroup:
  15061. properties:
  15062. GDLST:
  15063. description: 商品列表
  15064. items:
  15065. $ref: '#/definitions/models.TBGoods'
  15066. type: array
  15067. convertratio:
  15068. description: 折算系数
  15069. type: number
  15070. enumdicname:
  15071. description: 单位名称
  15072. type: string
  15073. exexchangecode:
  15074. description: 交易所代码
  15075. type: string
  15076. exexchangename:
  15077. description: 交易所名称
  15078. type: string
  15079. goodsgroupid:
  15080. description: 商品组ID(自增ID)
  15081. type: integer
  15082. goodsgroupname:
  15083. description: 商品组名称
  15084. type: string
  15085. goodunitid:
  15086. description: 报价单位ID
  15087. type: integer
  15088. type: object
  15089. models.TBMiddleGoods:
  15090. properties:
  15091. GPLST:
  15092. description: 期货品种列表
  15093. items:
  15094. $ref: '#/definitions/models.TBGoodsGroup'
  15095. type: array
  15096. WDLST:
  15097. description: 商品信息列表(现货品类)
  15098. items:
  15099. $ref: '#/definitions/models.TBWrstandard'
  15100. type: array
  15101. areauserid:
  15102. description: 机构用户ID
  15103. type: integer
  15104. enumdicname:
  15105. description: 单位名称
  15106. type: string
  15107. goodsunitid:
  15108. description: 套保品种单位id
  15109. type: integer
  15110. middlegoodscode:
  15111. description: 套保品种代码
  15112. type: string
  15113. middlegoodsid:
  15114. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  15115. type: integer
  15116. middlegoodsname:
  15117. description: 套保品种名称
  15118. type: string
  15119. needarbitrageratio:
  15120. description: 套利比率
  15121. type: number
  15122. needhedgeratio:
  15123. description: 套保比率
  15124. type: number
  15125. type: object
  15126. models.TBWrstandard:
  15127. properties:
  15128. convertratio:
  15129. description: 折算系数
  15130. type: number
  15131. deliverygoodsname:
  15132. description: 品种名称
  15133. type: string
  15134. enumdicname:
  15135. description: 单位名称
  15136. type: string
  15137. vatrate:
  15138. description: 增值税率
  15139. type: number
  15140. wrstandardcode:
  15141. description: 现货商品代码
  15142. type: string
  15143. wrstandardid:
  15144. description: 现货商品ID(SEQ_WRSTANDARD)
  15145. type: integer
  15146. wrstandardname:
  15147. description: 现货商品名称
  15148. type: string
  15149. type: object
  15150. models.Taaccount:
  15151. properties:
  15152. accountflag:
  15153. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  15154. type: integer
  15155. accountid:
  15156. description: 资金账户ID
  15157. type: integer
  15158. accountname:
  15159. description: 账户名称
  15160. type: string
  15161. balance:
  15162. description: 期初余额
  15163. type: number
  15164. capitalbalance:
  15165. description: 本金余额[外部子账户实际出入金余额]
  15166. type: number
  15167. changeflag:
  15168. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  15169. type: integer
  15170. changetime:
  15171. description: 账户状态变更时间
  15172. type: string
  15173. closepl:
  15174. description: 今日平仓盈亏
  15175. type: number
  15176. creditdecrease:
  15177. description: 今日授信减少
  15178. type: number
  15179. creditincrease:
  15180. description: 今日授信增加
  15181. type: number
  15182. curamount:
  15183. description: 总市值(从持仓中统计)
  15184. type: number
  15185. currencyid:
  15186. description: 货币ID
  15187. type: integer
  15188. currentbalance:
  15189. description: 期末余额
  15190. type: number
  15191. freezecharge:
  15192. description: 手续费冻结
  15193. type: number
  15194. freezemargin:
  15195. description: 冻结保证金
  15196. type: number
  15197. fromaccountid:
  15198. description: 所属上级账户
  15199. type: integer
  15200. inamount:
  15201. description: 今日入金金额(包括三方入金)
  15202. type: number
  15203. ismain:
  15204. description: 是否母账号 0:不是母账户 1:是母账户
  15205. type: integer
  15206. ismarketaccount:
  15207. description: 是否机构接单账号 0:不是 1:是
  15208. type: integer
  15209. isreckonaccount:
  15210. description: 是否机构分润账号 0:不是 1:是
  15211. type: integer
  15212. mortgagecredit:
  15213. description: 授信金额
  15214. type: number
  15215. orifreezecharge:
  15216. description: 期初手续费冻结
  15217. type: number
  15218. orifreezemargin:
  15219. description: 期初冻结保证金
  15220. type: number
  15221. orimortgagecredit:
  15222. description: 期初授信金额
  15223. type: number
  15224. oriothercredit:
  15225. description: 期初其它授信金额
  15226. type: number
  15227. oriotherfreezemargin:
  15228. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  15229. type: number
  15230. orioutamountfreeze:
  15231. description: 期初出金冻结
  15232. type: number
  15233. oriusedmargin:
  15234. description: 期初占用保证金
  15235. type: number
  15236. othercredit:
  15237. description: 其它授信金额
  15238. type: number
  15239. othercreditdecrease:
  15240. description: 今日其它授信减少
  15241. type: number
  15242. othercreditincrease:
  15243. description: 今日其它授信增加
  15244. type: number
  15245. otherfreezemargin:
  15246. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  15247. type: number
  15248. otherincome:
  15249. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  15250. type: number
  15251. otherpay:
  15252. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  15253. type: number
  15254. outamount:
  15255. description: 今日出金金额(包括三方出金)
  15256. type: number
  15257. outamountfreeze:
  15258. description: 出金冻结
  15259. type: number
  15260. outthreshold:
  15261. description: 出金阈值
  15262. type: number
  15263. parentaccountid:
  15264. description: 所属根账号
  15265. type: integer
  15266. paycharge:
  15267. description: 今日手续费支出
  15268. type: number
  15269. relatedaccountstatus:
  15270. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  15271. type: integer
  15272. relateduserid:
  15273. description: 关联用户
  15274. type: integer
  15275. remainamount:
  15276. description: 融资额(从融资合同中统计)
  15277. type: number
  15278. serivcegroup:
  15279. description: 服务分组
  15280. type: integer
  15281. signstatus:
  15282. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  15283. type: integer
  15284. sublevelpath:
  15285. description: 账号层级路径(逗号分隔,首尾加逗号)
  15286. type: string
  15287. taaccounttype:
  15288. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  15289. type: integer
  15290. thirdinamount:
  15291. description: 今日三方入金
  15292. type: number
  15293. thirdoutamount:
  15294. description: 今日三方出金
  15295. type: number
  15296. tradestatus:
  15297. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  15298. type: integer
  15299. tradestatuschangetime:
  15300. description: 激活时间
  15301. type: string
  15302. transferamount:
  15303. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  15304. type: number
  15305. usedmargin:
  15306. description: 占用保证金
  15307. type: number
  15308. userid:
  15309. description: 用户ID
  15310. type: integer
  15311. required:
  15312. - accountid
  15313. - userid
  15314. type: object
  15315. models.Tablecolumnconfig:
  15316. properties:
  15317. aligntype:
  15318. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  15319. type: integer
  15320. autoid:
  15321. description: AutoID
  15322. type: integer
  15323. columnfield:
  15324. description: 列字段
  15325. type: string
  15326. columntitle:
  15327. description: 列Title
  15328. type: string
  15329. columnwidth:
  15330. description: 列宽
  15331. type: string
  15332. formatterstring:
  15333. description: 格式化字符
  15334. type: string
  15335. formattertype:
  15336. description: 格式化类型
  15337. type: string
  15338. groupname:
  15339. description: 表头分组名称
  15340. type: string
  15341. isshow:
  15342. description: 是否显示 - 0:不显示 1:显示
  15343. type: integer
  15344. needsummary:
  15345. description: 是否需要汇总 - 0:不需要 1:需要
  15346. type: integer
  15347. orderindex:
  15348. description: 顺序
  15349. type: integer
  15350. remark:
  15351. description: 备注
  15352. type: string
  15353. summarytype:
  15354. description: 汇总类型 - 1:加总 2:最后一个
  15355. type: integer
  15356. tablekey:
  15357. description: 列表Key
  15358. type: string
  15359. required:
  15360. - autoid
  15361. type: object
  15362. models.TjmdHolderDetailTradeInfo:
  15363. properties:
  15364. agreeunit:
  15365. description: 合约乘数
  15366. type: number
  15367. buyaccountid:
  15368. description: 买方账户
  15369. type: string
  15370. buyusername:
  15371. description: 买方
  15372. type: string
  15373. delistingdate:
  15374. description: 最后结算日
  15375. type: string
  15376. expiredate:
  15377. description: 到期结算价定价日
  15378. type: string
  15379. exprieprice:
  15380. description: 到期清算价格
  15381. type: string
  15382. goodscode:
  15383. description: 商品代码
  15384. type: string
  15385. goodsid:
  15386. description: 商品ID
  15387. type: integer
  15388. goodsname:
  15389. description: 商品名称(交易标的)
  15390. type: string
  15391. lasttradedate:
  15392. description: 最后交易日
  15393. type: string
  15394. listingdate:
  15395. description: 开始交易日
  15396. type: string
  15397. openprice:
  15398. description: 成交价
  15399. type: number
  15400. openqty:
  15401. description: 交易数量
  15402. type: integer
  15403. sellaccountid:
  15404. description: 卖方账户
  15405. type: string
  15406. sellusername:
  15407. description: 卖方
  15408. type: string
  15409. tradeamount:
  15410. description: 初始名义价值
  15411. type: number
  15412. tradedate:
  15413. description: 成交日期
  15414. type: string
  15415. tradeid:
  15416. description: 成交编号
  15417. type: string
  15418. type: object
  15419. models.TjmdMarketSection:
  15420. properties:
  15421. marketsectionid:
  15422. description: 市场版块ID(SEQ_MARKETSECTION)
  15423. type: integer
  15424. marketsectionname:
  15425. description: 市场版块名称
  15426. type: string
  15427. mlist:
  15428. description: 市场列表(板块下面有多少个市场)
  15429. items:
  15430. $ref: '#/definitions/models.TjmdMarketSectionConfig'
  15431. type: array
  15432. orderindex:
  15433. description: 排序
  15434. type: integer
  15435. pictureurl:
  15436. description: 图片url, 规格(90*90)
  15437. type: string
  15438. remark:
  15439. description: 备注
  15440. type: string
  15441. type: object
  15442. models.TjmdMarketSectionConfig:
  15443. properties:
  15444. auctionwrtype:
  15445. description: 仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可
  15446. type: integer
  15447. canacceptquote:
  15448. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  15449. type: integer
  15450. cangoodsexercise:
  15451. description: '[期权]是否可现货行权- 0:否 1:是'
  15452. type: integer
  15453. cangoodsexercisetype:
  15454. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  15455. type: integer
  15456. canmanualquotestrike:
  15457. description: 是否可手动报行权价- 0:否 1:是 [期权]
  15458. type: integer
  15459. canmutistage:
  15460. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  15461. type: integer
  15462. canpreexercise:
  15463. description: '[期权]是否可预申报- 0:否 1:是'
  15464. type: integer
  15465. clearinterval:
  15466. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  15467. type: integer
  15468. contracttmp:
  15469. description: 合同模板[荷兰式][竞价式][仓单贸易]
  15470. type: string
  15471. exchareaid:
  15472. description: 所属交易所,可以没有
  15473. type: integer
  15474. financemarketid:
  15475. description: 融资回购市场ID [仓单贸易]
  15476. type: integer
  15477. goodstype:
  15478. description: 商品类型 - 1:交易商品 2:仓单商品
  15479. type: integer
  15480. hasrebate:
  15481. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  15482. type: integer
  15483. hastradecredit:
  15484. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  15485. type: integer
  15486. haswr:
  15487. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  15488. type: integer
  15489. isdeductmargin:
  15490. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  15491. type: integer
  15492. isrecordsource:
  15493. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  15494. type: integer
  15495. isreleasemargin:
  15496. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  15497. type: integer
  15498. isupdatereckonprice:
  15499. description: 输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)
  15500. type: integer
  15501. listingmode:
  15502. description: 挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  15503. type: integer
  15504. marginformula:
  15505. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  15506. type: integer
  15507. marginformula2:
  15508. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  15509. type: integer
  15510. marketid:
  15511. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  15512. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  15513. type: integer
  15514. marketname:
  15515. description: 市场名称
  15516. type: string
  15517. marketsectionid:
  15518. description: 市场版块ID(SEQ_MARKETSECTION)
  15519. type: integer
  15520. marketserviceid:
  15521. description: 市场服务ID
  15522. type: integer
  15523. marketstatus:
  15524. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  15525. type: integer
  15526. markettype:
  15527. description: 市场类型- 1:非交易服务 2:交易服务
  15528. type: integer
  15529. matchermode:
  15530. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废
  15531. type: integer
  15532. nowrquotaflag:
  15533. description: 是否校验无仓单额度(仓单贸易) 0:否 1:是
  15534. type: integer
  15535. openmethod:
  15536. description: 开盘模式 - 0 自动 1手动
  15537. type: integer
  15538. orderindex:
  15539. description: 排序
  15540. type: integer
  15541. otcuserid:
  15542. description: 场外期权做市商[场外期权]
  15543. type: integer
  15544. outersynctime:
  15545. description: 外部同步时间点(h24:mi:ss)[场外期权]
  15546. type: string
  15547. paylaterflag:
  15548. description: 是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]
  15549. type: integer
  15550. pendingflag:
  15551. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  15552. type: integer
  15553. pendingtime:
  15554. description: 待开市时间[通道交易-对冲](HH:mm)
  15555. type: string
  15556. performancetempid:
  15557. description: 履约计划模板ID - 作废
  15558. type: integer
  15559. premiumquotemode:
  15560. description: 权利金报价方式 - 1:自动 2:手动
  15561. type: integer
  15562. rebateratio:
  15563. description: 返利比率[竞价式]
  15564. type: number
  15565. reckonorder:
  15566. description: 结算顺序
  15567. type: integer
  15568. reckonpricealgorithm:
  15569. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  15570. 6.卖一价 7.买一卖一均价 8.外部结算价'
  15571. type: integer
  15572. reckonpriceparam:
  15573. description: 结算价参数
  15574. type: integer
  15575. reckontime:
  15576. description: 结算时间[通道交易-对冲](HH:mm)
  15577. type: string
  15578. roleprioritytype:
  15579. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  15580. type: integer
  15581. selllistingauditflag:
  15582. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  15583. type: integer
  15584. trademarkettype:
  15585. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  15586. type: integer
  15587. trademode:
  15588. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  15589. 21:竞拍-大宗式 22:受托竞价
  15590. type: integer
  15591. tradeproperty:
  15592. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  15593. 8:场外期权
  15594. type: integer
  15595. tradetype:
  15596. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  15597. type: integer
  15598. updatereckonpriceinterval:
  15599. description: 输入结算价时长(分钟) [1:手工输入(自动)]
  15600. type: integer
  15601. type: object
  15602. models.TjmdQuoteGoods:
  15603. properties:
  15604. buyqty:
  15605. description: 买量(暂不做, 无值, 保留字段)
  15606. type: number
  15607. decimalplace:
  15608. description: 报价小数位
  15609. type: integer
  15610. goodscode:
  15611. description: 合约代码
  15612. type: string
  15613. goodsgroupid:
  15614. description: 商品组ID(自增ID)
  15615. type: integer
  15616. goodsgroupname:
  15617. description: 商品组名称
  15618. type: string
  15619. goodsid:
  15620. description: 合约id
  15621. type: integer
  15622. goodsname:
  15623. description: 合约名称
  15624. type: string
  15625. refgoodscode:
  15626. description: 标的合约代码
  15627. type: string
  15628. refgoodsid:
  15629. description: 标的合约id
  15630. type: integer
  15631. refgoodsname:
  15632. description: 标的合约名称
  15633. type: string
  15634. sellqty:
  15635. description: 卖量(暂不做, 无值, 保留字段)
  15636. type: number
  15637. type: object
  15638. models.TjmdTodayAccountMargin:
  15639. properties:
  15640. accountid:
  15641. description: 账号ID
  15642. type: integer
  15643. goodsid:
  15644. description: 商品ID
  15645. type: integer
  15646. infoc:
  15647. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  15648. description: 配置参数
  15649. marketid:
  15650. description: 市场ID
  15651. type: integer
  15652. type: object
  15653. models.TjmdTradeOrderDetail:
  15654. properties:
  15655. buyorsell:
  15656. description: 买卖方向 0-买 1-卖
  15657. type: integer
  15658. goodsid:
  15659. description: 商品id
  15660. type: integer
  15661. marketmaxsub:
  15662. description: 市价最大偏移范围 [浮动价 - 点差]
  15663. type: number
  15664. orderid:
  15665. description: 委托单号
  15666. type: string
  15667. orderprice:
  15668. description: 委托价格
  15669. type: number
  15670. orderqty:
  15671. description: 委托数量
  15672. type: integer
  15673. pricemode:
  15674. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  15675. type: integer
  15676. userid:
  15677. description: 用户id
  15678. type: integer
  15679. username:
  15680. description: 用户名称(已脱敏)
  15681. type: string
  15682. type: object
  15683. models.TjmdTransferApply:
  15684. properties:
  15685. applyid:
  15686. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  15687. type: integer
  15688. applystatus:
  15689. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  15690. type: integer
  15691. applytime:
  15692. description: 申请时间(时间)
  15693. type: string
  15694. auditremark:
  15695. description: 审核备注(拒绝原因?)
  15696. type: string
  15697. begindate:
  15698. description: 开始交易日(yyyymmdd)
  15699. type: string
  15700. buyorsell:
  15701. description: 买卖 - 0:买 1:卖
  15702. type: integer
  15703. enddate:
  15704. description: 结束交易日(yyyymmdd)
  15705. type: string
  15706. goodscode:
  15707. description: 商品代码
  15708. type: string
  15709. goodsid:
  15710. description: 商品ID
  15711. type: integer
  15712. goodsname:
  15713. description: 商品名称
  15714. type: string
  15715. marketid:
  15716. description: 市场ID
  15717. type: integer
  15718. qty:
  15719. description: 转让数量(数量)
  15720. type: number
  15721. tradeid:
  15722. description: 成交单号(关联持仓)
  15723. type: string
  15724. transferamount:
  15725. description: 转让总金额(金额)
  15726. type: number
  15727. transferprice:
  15728. description: 转让价格(协议价格)
  15729. type: number
  15730. type: object
  15731. models.TradeHolderDetail:
  15732. properties:
  15733. accountid:
  15734. description: 账号ID
  15735. type: integer
  15736. agreeunit:
  15737. description: 合约乘数
  15738. type: number
  15739. buyorsell:
  15740. description: 方向 - 0:买 1:卖
  15741. type: integer
  15742. currencyid:
  15743. description: 商品币种id
  15744. type: integer
  15745. currencyname:
  15746. description: 币种名称
  15747. type: string
  15748. decimalplace:
  15749. description: 商品价格小数位
  15750. type: integer
  15751. enumdicname:
  15752. description: 商品单位名称
  15753. type: string
  15754. expirecycle:
  15755. description: 行权周期(天) - 1:滚动行权时填写
  15756. type: integer
  15757. expiredate:
  15758. description: 行权日(yyyyMMdd) - 到期日
  15759. type: string
  15760. expiretype:
  15761. description: 行权日类型 - 1:滚动行权 2:固定日行权
  15762. type: integer
  15763. freezeqty:
  15764. description: 冻结数量
  15765. type: number
  15766. goodscode:
  15767. description: 商品代码
  15768. type: string
  15769. goodsid:
  15770. description: 商品ID
  15771. type: integer
  15772. goodsname:
  15773. description: 商品名称
  15774. type: string
  15775. goodunitid:
  15776. description: 商品单位id
  15777. type: integer
  15778. holderamount:
  15779. description: 持仓金额
  15780. type: number
  15781. holdercredit:
  15782. description: 持仓授信金额
  15783. type: number
  15784. holderdays:
  15785. description: 剩余冻结天数
  15786. type: integer
  15787. holderprice:
  15788. description: 持仓价格
  15789. type: number
  15790. holderqty:
  15791. description: 持仓数量
  15792. type: number
  15793. isconfirmexercise:
  15794. description: 是否确认行权- 0:否 1:是
  15795. type: integer
  15796. ispreexercise:
  15797. description: 是否预申报- 0:否 1:是 2:不可行权
  15798. type: integer
  15799. marketid:
  15800. description: 市场id
  15801. type: integer
  15802. marketname:
  15803. description: 市场名称
  15804. type: string
  15805. openprice:
  15806. description: 建仓价格
  15807. type: number
  15808. openqty:
  15809. description: 建仓数量
  15810. type: number
  15811. optiontype:
  15812. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  15813. type: integer
  15814. preexerciseprice:
  15815. description: 预申报价格
  15816. type: number
  15817. premium:
  15818. description: 权利金
  15819. type: number
  15820. qtydecimalplace:
  15821. description: 商品成交量小数位
  15822. type: integer
  15823. refgoodscode:
  15824. description: 标的合约代码
  15825. type: string
  15826. refgoodsid:
  15827. description: 标的合约id
  15828. type: integer
  15829. releaseamount:
  15830. description: 释放持仓金额
  15831. type: number
  15832. releaseholdercredit:
  15833. description: 释放持仓授信金额
  15834. type: number
  15835. taname:
  15836. description: 资金账号名称
  15837. type: string
  15838. tradeamount:
  15839. description: 成交金额
  15840. type: number
  15841. tradedate:
  15842. description: 交易日(yyyyMMdd)
  15843. type: string
  15844. tradeid:
  15845. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15846. type: string
  15847. trademode:
  15848. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  15849. 21:竞拍-大宗式 22:受托竞价 46:掉期
  15850. type: integer
  15851. tradeproperty:
  15852. description: 交易属性
  15853. type: integer
  15854. tradetime:
  15855. description: 交易时间
  15856. type: string
  15857. userid:
  15858. description: 用户id
  15859. type: integer
  15860. username:
  15861. description: 用户名称
  15862. type: string
  15863. type: object
  15864. models.Unlinkermcphedgeplan:
  15865. properties:
  15866. accountid:
  15867. description: 期货账户ID - 作废
  15868. type: integer
  15869. accountname:
  15870. description: 交易用户
  15871. type: string
  15872. applyid:
  15873. description: 申请人
  15874. type: integer
  15875. applysrc:
  15876. description: 申请来源 - 1:管理端 2:终端
  15877. type: integer
  15878. applytime:
  15879. description: 申请时间
  15880. type: string
  15881. areauserid:
  15882. description: '[企业ID]机构ID'
  15883. type: integer
  15884. auditid:
  15885. description: 审核人
  15886. type: integer
  15887. auditremark:
  15888. description: 审核备注
  15889. type: string
  15890. auditsrc:
  15891. description: 审核来源 - 1:管理端 2:终端
  15892. type: integer
  15893. audittime:
  15894. description: 审核时间
  15895. type: string
  15896. audittradedate:
  15897. description: 审核交易日(yyyyMMdd)
  15898. type: string
  15899. biztype:
  15900. description: 业务类型 - 1:套保
  15901. type: integer
  15902. contracttype:
  15903. description: 计划类型 - 1:采购 -1:销售
  15904. type: integer
  15905. convertfactor:
  15906. description: 标仓系数 - 作废
  15907. type: number
  15908. createtime:
  15909. description: 创建时间
  15910. type: string
  15911. currencyid:
  15912. description: 结算币种ID - 作废
  15913. type: integer
  15914. deliverygoodsid:
  15915. description: 现货品种ID
  15916. type: integer
  15917. enumdicname:
  15918. description: 结算币种
  15919. type: string
  15920. hedgeplanid:
  15921. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  15922. type: integer
  15923. hedgeplanno:
  15924. description: '[计划编号]套保计划编号,模糊查询'
  15925. type: string
  15926. hedgeplanstatus:
  15927. description: '[状态]套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回'
  15928. type: integer
  15929. isrelated:
  15930. description: 是否已关联计划项目 - 0:否 1:是
  15931. type: integer
  15932. planqty:
  15933. description: '[计划量]计划数量'
  15934. type: number
  15935. plantime:
  15936. description: 计划时间
  15937. type: string
  15938. producttype:
  15939. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  15940. type: integer
  15941. remark:
  15942. description: 备注
  15943. type: string
  15944. spotgoodsdesc:
  15945. description: 商品型号
  15946. type: string
  15947. tradedate:
  15948. description: 交易日(yyyyMMdd)
  15949. type: string
  15950. tradeuserid:
  15951. description: 交易用户ID
  15952. type: integer
  15953. updatetime:
  15954. description: 更新时间
  15955. type: string
  15956. wrstandardid:
  15957. description: 现货商品ID
  15958. type: integer
  15959. wrstandardname:
  15960. description: 现货商品,模糊查询
  15961. type: string
  15962. required:
  15963. - areauserid
  15964. type: object
  15965. models.UserCollectConfig:
  15966. properties:
  15967. accountstatus:
  15968. description: 账户状态 - 1:正常 2:停用 3:注销
  15969. type: integer
  15970. collectaccountname:
  15971. description: 收款人账户名称
  15972. type: string
  15973. collectaccountno:
  15974. description: 收款人账户
  15975. type: string
  15976. collectbankname:
  15977. description: 收款人开户行
  15978. type: string
  15979. collectbranchbankname:
  15980. description: 收款人开户支行
  15981. type: string
  15982. collectconfigid:
  15983. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  15984. type: string
  15985. remark:
  15986. description: 备注
  15987. type: string
  15988. userid:
  15989. description: 收款人用户ID
  15990. type: integer
  15991. type: object
  15992. models.UserReceiveInfo:
  15993. properties:
  15994. address:
  15995. description: 提货人详细地址
  15996. type: string
  15997. autoid:
  15998. description: AutoID
  15999. type: integer
  16000. cardnum:
  16001. description: 证件号码(加密存储)
  16002. type: string
  16003. cardtypeid:
  16004. description: 证件类型
  16005. type: integer
  16006. cityid:
  16007. description: 市
  16008. type: integer
  16009. cityname:
  16010. description: 城市名称
  16011. type: string
  16012. countryid:
  16013. description: 国家
  16014. type: integer
  16015. countryname:
  16016. description: 国家名称
  16017. type: string
  16018. districtid:
  16019. description: 地区
  16020. type: integer
  16021. districtname:
  16022. description: 地区名称
  16023. type: string
  16024. hasencrypt:
  16025. description: 数据是否已加密 - 0:未加密 1:已加密
  16026. type: integer
  16027. isdefault:
  16028. description: 是否默认地址 - 0:否 1:是
  16029. type: integer
  16030. phonenum:
  16031. description: 提货人联系方式(加密存储)
  16032. type: string
  16033. provinceid:
  16034. description: 省
  16035. type: integer
  16036. provincename:
  16037. description: 省名称
  16038. type: string
  16039. receivername:
  16040. description: 提货人姓名
  16041. type: string
  16042. takeremark:
  16043. description: 提货备注
  16044. type: string
  16045. userid:
  16046. description: 用户ID
  16047. type: integer
  16048. type: object
  16049. models.Useraccount:
  16050. properties:
  16051. accountname:
  16052. description: 账户名称(机构名称)
  16053. type: string
  16054. accountstatus:
  16055. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  16056. type: integer
  16057. applysrc:
  16058. description: 申请来源 - 1:管理端 2:终端
  16059. type: integer
  16060. auditremark:
  16061. description: 审核备注
  16062. type: string
  16063. auditsrc:
  16064. description: 审核来源 - 1:管理端 2:终端
  16065. type: integer
  16066. audittime:
  16067. description: 审核时间
  16068. type: string
  16069. audituserid:
  16070. description: 审核人
  16071. type: integer
  16072. broker:
  16073. description: 所属经纪人ID
  16074. type: integer
  16075. canceltime:
  16076. description: 销户时间
  16077. type: string
  16078. canceluserid:
  16079. description: 销户人
  16080. type: integer
  16081. canrecommend:
  16082. description: 是否可推荐 - 0:不可 1;可
  16083. type: integer
  16084. createtime:
  16085. description: 创建时间
  16086. type: string
  16087. creatorid:
  16088. description: 创建人
  16089. type: integer
  16090. hasauth:
  16091. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  16092. type: integer
  16093. isanonymous:
  16094. description: 是否匿名下单 - 0:否 1:是
  16095. type: integer
  16096. maxinvestornum:
  16097. description: 最大用户数(经纪会员下投资者个数)
  16098. type: integer
  16099. memberuserid:
  16100. description: 所属会员ID
  16101. type: integer
  16102. modifierid:
  16103. description: 修改人
  16104. type: integer
  16105. modifyremark:
  16106. description: 变更备注
  16107. type: string
  16108. modifystatus:
  16109. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  16110. type: integer
  16111. modifytime:
  16112. description: 修改时间
  16113. type: string
  16114. parenttopuser:
  16115. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  16116. type: string
  16117. parentuserid:
  16118. description: 所属机构ID
  16119. type: integer
  16120. reckonaccountid:
  16121. description: 默认结算资金账号ID(机构分润使用) 作废
  16122. type: integer
  16123. refercount:
  16124. description: 推荐总人数
  16125. type: integer
  16126. refereeuserid:
  16127. description: 推荐人ID
  16128. type: integer
  16129. refernum:
  16130. description: 推荐码
  16131. type: string
  16132. rootuserid:
  16133. description: 根用户ID
  16134. type: integer
  16135. subaccountlevel:
  16136. description: 子账户层数
  16137. type: integer
  16138. subarealevelpath:
  16139. description: 子机构层级路径(逗号分隔,首尾加逗号)
  16140. type: string
  16141. userid:
  16142. description: 用户ID
  16143. type: integer
  16144. usertype:
  16145. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  16146. type: integer
  16147. required:
  16148. - userid
  16149. type: object
  16150. models.Userfavoritegoods:
  16151. properties:
  16152. goodsid:
  16153. description: 商品ID
  16154. type: integer
  16155. required:
  16156. - goodsid
  16157. type: object
  16158. models.Userinfo:
  16159. properties:
  16160. address:
  16161. description: 地址
  16162. type: string
  16163. attachment1:
  16164. description: 附件1
  16165. type: string
  16166. attachment2:
  16167. description: 附件2
  16168. type: string
  16169. bankaccount:
  16170. description: 银行帐号 (加密存储)
  16171. type: string
  16172. bankaccountname:
  16173. description: 收款人名称
  16174. type: string
  16175. bankcardfrontphotourl:
  16176. description: 银行卡正面照地址
  16177. type: string
  16178. bankid:
  16179. description: 银行编码
  16180. type: string
  16181. bankname:
  16182. description: 银行名称
  16183. type: string
  16184. biznature:
  16185. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  16186. type: integer
  16187. bizscope:
  16188. description: 企业经营范围(企业)
  16189. type: string
  16190. cardbackphotourl:
  16191. description: 证件背面图片地址
  16192. type: string
  16193. cardfrontphotourl:
  16194. description: 证件正面图片地址
  16195. type: string
  16196. cardnum:
  16197. description: 证件号码(加密存储)
  16198. type: string
  16199. cardtypeid:
  16200. description: 证件类型ID
  16201. type: integer
  16202. cityid:
  16203. description: 市
  16204. type: integer
  16205. company:
  16206. description: 公司(个人)
  16207. type: string
  16208. contactname:
  16209. description: 联系人
  16210. type: string
  16211. countryid:
  16212. description: 国家
  16213. type: integer
  16214. createtime:
  16215. description: 创建时间
  16216. type: string
  16217. creatorid:
  16218. description: 创建人
  16219. type: integer
  16220. customername:
  16221. description: 客户名称(企业名称)
  16222. type: string
  16223. districtid:
  16224. description: 地区
  16225. type: integer
  16226. email:
  16227. description: 邮件(加密存储)
  16228. type: string
  16229. fax:
  16230. description: 传真(加密存储)
  16231. type: string
  16232. halfbodyphotourl:
  16233. description: 半身照地址
  16234. type: string
  16235. hasencrypt:
  16236. description: 数据是否已加密 - 0:未加密 1:已加密
  16237. type: integer
  16238. headurl:
  16239. description: 头像地址
  16240. type: string
  16241. legalcardbackphotourl:
  16242. description: 法人身份证背面照地址
  16243. type: string
  16244. legalcardfrontphotourl:
  16245. description: 法人身份证正面照地址
  16246. type: string
  16247. legalpersonname:
  16248. description: 法人姓名(企业)
  16249. type: string
  16250. mobile:
  16251. description: 手机号码(加密存储)
  16252. type: string
  16253. mobile2:
  16254. description: 手机号码[明文-尚志]
  16255. type: string
  16256. modifierid:
  16257. description: 修改人
  16258. type: integer
  16259. modifiertime:
  16260. description: 修改时间
  16261. type: string
  16262. needinvoice:
  16263. description: 是否需要发票 - 0:不需要 1:需要
  16264. type: integer
  16265. nickname:
  16266. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  16267. type: string
  16268. openmode:
  16269. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  16270. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  16271. type: integer
  16272. otherurl:
  16273. description: 其它图片地址[使用分号分隔]
  16274. type: string
  16275. postalcode:
  16276. description: 邮政编码
  16277. type: string
  16278. provinceid:
  16279. description: 省
  16280. type: integer
  16281. qq:
  16282. description: QQ(加密存储
  16283. type: string
  16284. remark:
  16285. description: 备注
  16286. type: string
  16287. sex:
  16288. description: '用户性别 0: 女 1: 男'
  16289. type: integer
  16290. signpdfurl:
  16291. description: 签约pdf文件
  16292. type: string
  16293. telphone:
  16294. description: 联系电话(加密存储)
  16295. type: string
  16296. userid:
  16297. description: 用户ID
  16298. type: integer
  16299. userinfotype:
  16300. description: 用户信息类型 - 1:个人 2:企业
  16301. type: integer
  16302. userstatus:
  16303. description: 用户状态 - 1:正常 2:注销
  16304. type: integer
  16305. usertype:
  16306. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  16307. type: integer
  16308. wechat:
  16309. description: 微信(加密存储)
  16310. type: string
  16311. wskhinfo:
  16312. description: 开户申请信息(JSON)
  16313. type: string
  16314. required:
  16315. - userid
  16316. type: object
  16317. models.WRSConverTDetail:
  16318. properties:
  16319. convertratio:
  16320. description: 套保系数
  16321. type: number
  16322. deliverygoodscode:
  16323. description: 现货商品代码
  16324. type: string
  16325. deliverygoodsid:
  16326. description: 现货品种ID
  16327. type: integer
  16328. deliverygoodsname:
  16329. description: 现货商品名称
  16330. type: string
  16331. enumdicname:
  16332. description: 单位名称
  16333. type: string
  16334. goodsunitid:
  16335. description: 套保品种单位id
  16336. type: integer
  16337. middlegoodscode:
  16338. description: 套保品种代码
  16339. type: string
  16340. middlegoodsid:
  16341. description: 套保品种ID
  16342. type: integer
  16343. middlegoodsname:
  16344. description: 套保品种名称
  16345. type: string
  16346. modifytime:
  16347. description: 修改时间
  16348. type: string
  16349. wrstandardid:
  16350. description: 品类ID
  16351. type: integer
  16352. type: object
  16353. models.WRStandardInfo:
  16354. properties:
  16355. areauserid:
  16356. description: 所属机构
  16357. type: integer
  16358. convertfactor:
  16359. description: 标仓系数
  16360. type: number
  16361. createtime:
  16362. description: 创建时间
  16363. type: string
  16364. creatorid:
  16365. description: 创建人
  16366. type: integer
  16367. deliverygoodsid:
  16368. description: 品种ID
  16369. type: integer
  16370. deliverygoodsname:
  16371. description: 交割商品名称
  16372. type: string
  16373. factoryitemjson:
  16374. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  16375. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  16376. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  16377. 逗号分隔'
  16378. type: string
  16379. isvalid:
  16380. description: 是否有效 - 0:无效 1:有效
  16381. type: integer
  16382. minivalue:
  16383. description: 最小变动值
  16384. type: integer
  16385. minivaluedp:
  16386. description: 最小变动值小数位
  16387. type: integer
  16388. realminivalue:
  16389. description: 实际最小变动值
  16390. type: integer
  16391. realminivaluedp:
  16392. description: 实际最小变动值小数位
  16393. type: integer
  16394. remark:
  16395. description: 备注
  16396. type: string
  16397. unitid:
  16398. description: 单位ID
  16399. type: integer
  16400. unitname:
  16401. description: 单位
  16402. type: string
  16403. updatetime:
  16404. description: 更新时间
  16405. type: string
  16406. updatorid:
  16407. description: 更新人
  16408. type: integer
  16409. wrsstatus:
  16410. description: 状态 - 作废 - 0:未激活 1:正常
  16411. type: integer
  16412. wrstandardcode:
  16413. description: 现货品类代码
  16414. type: string
  16415. wrstandardid:
  16416. description: 现货品类ID(SEQ_WRSTANDARD)
  16417. type: integer
  16418. wrstandardname:
  16419. description: 现货品类名称
  16420. type: string
  16421. required:
  16422. - wrstandardid
  16423. type: object
  16424. models.WRTradeBargainApply:
  16425. properties:
  16426. accountid:
  16427. description: 摘牌资金账号
  16428. type: integer
  16429. applyprice:
  16430. description: 申请价格(议价价格)
  16431. type: string
  16432. applyqty:
  16433. description: 摘牌数量(议价数量)
  16434. type: number
  16435. applyremark:
  16436. description: 申请备注
  16437. type: string
  16438. applystatus:
  16439. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  16440. type: integer
  16441. applytime:
  16442. description: 申请时间(议价时间)
  16443. type: string
  16444. begindate:
  16445. description: 开始交易日(yyyymmdd)
  16446. type: string
  16447. buyorsell:
  16448. description: 买卖(挂牌类型) - 0:买 1:卖
  16449. type: integer
  16450. confirmremark:
  16451. description: 确认备注
  16452. type: string
  16453. confirmtime:
  16454. description: 确认时间
  16455. type: string
  16456. confirmuserid:
  16457. description: 确认人
  16458. type: integer
  16459. deliverygoodscode:
  16460. description: 品种代码
  16461. type: string
  16462. deliverygoodsid:
  16463. description: 品种ID
  16464. type: integer
  16465. deliverygoodsname:
  16466. description: 品种名称
  16467. type: string
  16468. deliverymonth:
  16469. description: 交收月
  16470. type: string
  16471. enddate:
  16472. description: 结束交易日(yyyymmdd)
  16473. type: string
  16474. enumdicname:
  16475. description: 单位名称
  16476. type: string
  16477. fixedprice:
  16478. description: 挂牌价格
  16479. type: number
  16480. handlestatus:
  16481. description: 处理状态
  16482. type: integer
  16483. marginvalue:
  16484. description: 履约保证金比例
  16485. type: number
  16486. marketid:
  16487. description: 市场ID
  16488. type: integer
  16489. matchaccountid:
  16490. description: 挂牌方资金账号
  16491. type: integer
  16492. matchuserid:
  16493. description: 挂牌方用户id
  16494. type: integer
  16495. matchusername:
  16496. description: 挂牌方用户名称(已脱敏)
  16497. type: string
  16498. minivalue:
  16499. description: 现货商品最小变动值
  16500. type: integer
  16501. optioncompare:
  16502. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16503. type: string
  16504. orderqty:
  16505. description: 挂牌数量
  16506. type: integer
  16507. refprice:
  16508. description: 参考价格
  16509. type: string
  16510. retcode:
  16511. description: 委托返回代码
  16512. type: integer
  16513. templatename:
  16514. description: 履约方式(履约模板名称)
  16515. type: string
  16516. tradedate:
  16517. description: 交易日(yyyyMMdd)
  16518. type: string
  16519. userid:
  16520. description: 摘牌人用户ID(议价人ID)
  16521. type: integer
  16522. username:
  16523. description: 议价人名字(已脱敏)
  16524. type: string
  16525. validtime:
  16526. description: 有效期限
  16527. type: string
  16528. warehouseid:
  16529. description: 仓库ID
  16530. type: integer
  16531. warehousename:
  16532. description: 仓库名称
  16533. type: string
  16534. wrbargainid:
  16535. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  16536. type: string
  16537. wrfactortypeid:
  16538. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16539. type: string
  16540. wrfactortypename:
  16541. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16542. type: string
  16543. wrstandardcode:
  16544. description: 现货商品代码
  16545. type: string
  16546. wrstandardid:
  16547. description: 现货商品ID
  16548. type: integer
  16549. wrstandardname:
  16550. description: 商品名称
  16551. type: string
  16552. wrtradeorderid:
  16553. description: 关联委托单ID
  16554. type: string
  16555. wrtypename:
  16556. description: 商品
  16557. type: string
  16558. type: object
  16559. models.Warehouseinfo:
  16560. properties:
  16561. address:
  16562. description: 详细地址
  16563. type: string
  16564. areauserid:
  16565. description: 所属机构
  16566. type: integer
  16567. autoid:
  16568. description: 自增ID
  16569. type: integer
  16570. cityid:
  16571. description: 市
  16572. type: integer
  16573. contactname:
  16574. description: 联系人
  16575. type: string
  16576. contactnum:
  16577. description: 联系电话
  16578. type: string
  16579. countryid:
  16580. description: 国家
  16581. type: integer
  16582. createtime:
  16583. description: 创建时间
  16584. type: string
  16585. districtid:
  16586. description: 区
  16587. type: integer
  16588. hasvideo:
  16589. description: 是否有视频 - 0:无 1:有
  16590. type: integer
  16591. provinceid:
  16592. description: 省
  16593. type: integer
  16594. remark:
  16595. description: 审核备注
  16596. type: string
  16597. videourl:
  16598. description: 视频地址
  16599. type: string
  16600. warehousecode:
  16601. description: 仓库代码
  16602. type: string
  16603. warehousename:
  16604. description: 仓库名称
  16605. type: string
  16606. warehousestatus:
  16607. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  16608. type: integer
  16609. warehousetype:
  16610. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  16611. type: integer
  16612. required:
  16613. - autoid
  16614. - warehousecode
  16615. type: object
  16616. models.WrAverageTradePrice:
  16617. properties:
  16618. averageprice:
  16619. description: 成交均价
  16620. type: number
  16621. tradedate:
  16622. description: 交易日yyyymm
  16623. type: string
  16624. type: object
  16625. models.WrBrandAndYears:
  16626. properties:
  16627. brandlst:
  16628. description: 品牌列表
  16629. items:
  16630. $ref: '#/definitions/models.DgFactoryItem'
  16631. type: array
  16632. yearslst:
  16633. description: 年份列表
  16634. items:
  16635. $ref: '#/definitions/models.DgFactoryItem'
  16636. type: array
  16637. type: object
  16638. models.WrBsGoodsInfo:
  16639. properties:
  16640. buyorsell:
  16641. description: 买卖方向 0-买 1-卖
  16642. type: integer
  16643. goodsid:
  16644. description: 交易合约ID
  16645. type: integer
  16646. lstitem:
  16647. description: 商品信息项
  16648. items:
  16649. $ref: '#/definitions/models.WrTypeItem'
  16650. type: array
  16651. lststep:
  16652. description: 履约规则
  16653. items:
  16654. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  16655. type: array
  16656. type: object
  16657. models.WrBuybackDetail:
  16658. properties:
  16659. buybackamount:
  16660. description: 回购金额
  16661. type: number
  16662. buybackqty:
  16663. description: 回购数量
  16664. type: number
  16665. buybackreleasemargin:
  16666. description: 回购释放保证金
  16667. type: number
  16668. buybacktime:
  16669. description: 回购时间
  16670. type: string
  16671. errordesc:
  16672. description: 错误描述
  16673. type: string
  16674. handlestatus:
  16675. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  16676. type: integer
  16677. relatedwrid:
  16678. description: 关联仓单ID
  16679. type: integer
  16680. scfcontractid:
  16681. description: SCF合同ID
  16682. type: string
  16683. scfwrbuybackid:
  16684. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  16685. type: integer
  16686. tradedate:
  16687. description: 交易日(yyyyMMdd)
  16688. type: string
  16689. type: object
  16690. models.WrClientAdSpaceConfig:
  16691. properties:
  16692. adspaceid:
  16693. description: 广告位ID
  16694. type: integer
  16695. adspacename:
  16696. description: 广告位名称
  16697. type: string
  16698. adspacetype:
  16699. description: 广告位类型 - 1:固定广告位
  16700. type: integer
  16701. areauserid:
  16702. description: 所属机构ID
  16703. type: integer
  16704. createdate:
  16705. description: 创建时间
  16706. type: string
  16707. imagepath:
  16708. description: 图片
  16709. type: string
  16710. modifierid:
  16711. description: 操作人
  16712. type: integer
  16713. recsize:
  16714. description: 推荐尺寸
  16715. type: string
  16716. title:
  16717. description: 标题
  16718. type: string
  16719. updatedate:
  16720. description: 更新时间
  16721. type: string
  16722. urlcontent:
  16723. description: 链接(地址\商品ID\功能菜单Key\appid)
  16724. type: string
  16725. urltype:
  16726. description: 链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序
  16727. type: integer
  16728. type: object
  16729. models.WrDeliveryAvalidHoldLB:
  16730. properties:
  16731. accountid:
  16732. description: 资金账号
  16733. type: integer
  16734. avalidqty:
  16735. description: 数量(可点选数量)
  16736. type: number
  16737. deliverygoodsid:
  16738. description: 品种id
  16739. type: integer
  16740. enumdicname:
  16741. description: 单位名称
  16742. type: string
  16743. goodsid:
  16744. description: x合约商品id
  16745. type: integer
  16746. ladingbillid:
  16747. description: 提单id
  16748. type: string
  16749. pgoodscode:
  16750. description: p商品代码(点价合约)
  16751. type: string
  16752. pgoodsid:
  16753. description: p商品id(点价合约)
  16754. type: integer
  16755. pgoodsname:
  16756. description: p商品名称(点价合约)
  16757. type: string
  16758. pricemove:
  16759. description: 升贴水
  16760. type: number
  16761. subnum:
  16762. description: 提单子id
  16763. type: integer
  16764. userid:
  16765. description: 用户id
  16766. type: integer
  16767. username:
  16768. description: 仓单持有人
  16769. type: string
  16770. warehousecode:
  16771. description: 仓库代码
  16772. type: string
  16773. warehouseid:
  16774. description: 仓库id
  16775. type: integer
  16776. warehousename:
  16777. description: 仓库名称
  16778. type: string
  16779. wrfactortypeid:
  16780. description: 仓单要素id
  16781. type: string
  16782. wrstandardcode:
  16783. description: 品代码
  16784. type: string
  16785. wrstandardid:
  16786. description: 品类d
  16787. type: integer
  16788. wrstandardname:
  16789. description: 品类名称
  16790. type: string
  16791. wrtypename:
  16792. description: 商品
  16793. type: string
  16794. xgoodscode:
  16795. description: x合约代码
  16796. type: string
  16797. xgoodsname:
  16798. description: x合约名称
  16799. type: string
  16800. type: object
  16801. models.WrDeliveryDetail:
  16802. properties:
  16803. accountid:
  16804. description: 账号ID
  16805. type: integer
  16806. averageprice:
  16807. description: 交割均价 = 交割金额 / 交割数量
  16808. type: number
  16809. begindate:
  16810. description: 开始交易日(yyyymmdd)
  16811. type: string
  16812. buyorsell:
  16813. description: 方向 - 0:买 1:卖
  16814. type: integer
  16815. deliveryamount:
  16816. description: 货款金额(X总货款+P总货款)
  16817. type: number
  16818. deliveryid:
  16819. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  16820. type: string
  16821. deliveryorderid:
  16822. description: 申报单号
  16823. type: string
  16824. deliverypricemove:
  16825. description: 升贴水(升贴水总额)
  16826. type: number
  16827. deliveryqty:
  16828. description: 交收数量(点选数量)
  16829. type: number
  16830. deliverystatus:
  16831. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  16832. type: integer
  16833. deliverytime:
  16834. description: 交割时间
  16835. type: string
  16836. deliverytotalamount:
  16837. description: 交收金额
  16838. type: number
  16839. enddate:
  16840. description: 结束交易日(yyyymmdd)
  16841. type: string
  16842. enumdicname:
  16843. description: 单位名称
  16844. type: string
  16845. matchaccountid:
  16846. description: 对手账号ID
  16847. type: integer
  16848. matchusername:
  16849. description: 对手方名称(仓单持有人)
  16850. type: string
  16851. p1goodsremainamount:
  16852. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  16853. type: number
  16854. pdeliverycloseqty:
  16855. description: p合约平仓数量
  16856. type: number
  16857. pdeliveryprice:
  16858. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  16859. type: number
  16860. pgoodscode:
  16861. description: 商品代码
  16862. type: string
  16863. pgoodsid:
  16864. description: p点选合约id
  16865. type: integer
  16866. pgoodsname:
  16867. description: 商品名称
  16868. type: string
  16869. ppricemode:
  16870. description: 点价价格方式 - 1:商品价 2:固定值
  16871. type: integer
  16872. tradedate:
  16873. description: 交易日(yyyymmdd)
  16874. type: string
  16875. userid:
  16876. description: 用户id
  16877. type: integer
  16878. username:
  16879. description: 用户名称
  16880. type: string
  16881. warehousename:
  16882. description: 仓库名称
  16883. type: string
  16884. wrfactortypeid:
  16885. description: 仓单要素类型ID
  16886. type: string
  16887. wrtypename:
  16888. description: 商品
  16889. type: string
  16890. xdeliverycloseqty:
  16891. description: 合约数量
  16892. type: number
  16893. xgoodsamount:
  16894. description: 合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)
  16895. type: number
  16896. xgoodscode:
  16897. description: 商品代码
  16898. type: string
  16899. xgoodsid:
  16900. description: x交易合约ID
  16901. type: integer
  16902. xgoodsname:
  16903. description: 商品名称
  16904. type: string
  16905. type: object
  16906. models.WrDeliveryGoodsSection:
  16907. properties:
  16908. dglst:
  16909. description: 板块商品列表
  16910. items:
  16911. $ref: '#/definitions/models.WrDeliveryGoodsSectionConfig'
  16912. type: array
  16913. imagepath:
  16914. description: 图片地址
  16915. type: string
  16916. orderindex:
  16917. description: 排序
  16918. type: integer
  16919. sectionid:
  16920. description: 版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType
  16921. = 1的版块1 - 云融指数
  16922. type: integer
  16923. sectionname:
  16924. description: 版块名称
  16925. type: string
  16926. sectiontype:
  16927. description: 版块类型 - 1:指数版块 2:普通版块
  16928. type: integer
  16929. type: object
  16930. models.WrDeliveryGoodsSectionConfig:
  16931. properties:
  16932. deliverygoodscode:
  16933. description: 现货商品代码
  16934. type: string
  16935. deliverygoodsid:
  16936. description: 现货品种ID(SEQ_DELIVERYGOODS)
  16937. type: integer
  16938. deliverygoodsname:
  16939. description: 现货商品名称
  16940. type: string
  16941. orderindex:
  16942. description: 排序
  16943. type: integer
  16944. type: object
  16945. models.WrDraftUserInfo:
  16946. properties:
  16947. address:
  16948. description: 地址
  16949. type: string
  16950. attachment1:
  16951. description: 附件1
  16952. type: string
  16953. attachment2:
  16954. description: 附件2
  16955. type: string
  16956. attachment3:
  16957. description: 附件3
  16958. type: string
  16959. attachment4:
  16960. description: 附件4
  16961. type: string
  16962. attachment5:
  16963. description: 附件5
  16964. type: string
  16965. bankaccount:
  16966. description: 银行帐号 (加密存储)
  16967. type: string
  16968. bankaccountname:
  16969. description: 收款人名称
  16970. type: string
  16971. bankcardfrontphotourl:
  16972. description: 银行卡正面照地址
  16973. type: string
  16974. bankid:
  16975. description: 银行编码
  16976. type: string
  16977. bankname:
  16978. description: 银行名称
  16979. type: string
  16980. birthday:
  16981. description: 生日(个人:年月日)
  16982. type: string
  16983. biznature:
  16984. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  16985. type: integer
  16986. bizscope:
  16987. description: 企业经营范围(企业)
  16988. type: string
  16989. biztype:
  16990. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  16991. type: integer
  16992. cardbackphotourl:
  16993. description: 证件背面图片地址
  16994. type: string
  16995. cardfrontphotourl:
  16996. description: 证件正面图片地址
  16997. type: string
  16998. cardnum:
  16999. description: 证件号码(加密存储)
  17000. type: string
  17001. cardtypeid:
  17002. description: 证件类型ID
  17003. type: integer
  17004. cityid:
  17005. description: 市
  17006. type: integer
  17007. company:
  17008. description: 公司(个人)
  17009. type: string
  17010. contactcardbackphotourl:
  17011. description: 联系人证件背面图片地址
  17012. type: string
  17013. contactcardfrontphotourl:
  17014. description: 联系人证件正面图片地址
  17015. type: string
  17016. contactname:
  17017. description: 联系人
  17018. type: string
  17019. countryid:
  17020. description: 国家
  17021. type: integer
  17022. createtime:
  17023. description: 创建时间
  17024. type: string
  17025. creatorid:
  17026. description: 创建人
  17027. type: integer
  17028. creditquota:
  17029. description: 授信额度(金瑞)
  17030. type: number
  17031. customername:
  17032. description: 客户名称(企业名称)
  17033. type: string
  17034. districtid:
  17035. description: 地区
  17036. type: integer
  17037. email:
  17038. description: 邮件(加密存储)
  17039. type: string
  17040. fax:
  17041. description: 传真(加密存储)
  17042. type: string
  17043. halfbodyphotourl:
  17044. description: 半身照地址
  17045. type: string
  17046. hasencrypt:
  17047. description: 数据是否已加密 - 0:未加密 1:已加密
  17048. type: integer
  17049. headurl:
  17050. description: 头像地址
  17051. type: string
  17052. legalcardbackphotourl:
  17053. description: 法人身份证背面照地址
  17054. type: string
  17055. legalcardfrontphotourl:
  17056. description: 法人身份证正面照地址
  17057. type: string
  17058. legalpersonname:
  17059. description: 法人姓名(企业)
  17060. type: string
  17061. mobile:
  17062. description: 手机号码(加密存储)
  17063. type: string
  17064. mobile2:
  17065. description: 手机号码[明文-尚志]
  17066. type: string
  17067. modifierid:
  17068. description: 修改人
  17069. type: integer
  17070. modifiertime:
  17071. description: 修改时间
  17072. type: string
  17073. needinvoice:
  17074. description: 是否需要发票 - 0:不需要 1:需要
  17075. type: integer
  17076. nickname:
  17077. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  17078. type: string
  17079. openmode:
  17080. description: "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  17081. 6:苹果手机端注册 7:PC交易端注册"
  17082. type: integer
  17083. otherurl:
  17084. description: 其它图片地址[使用分号分隔]
  17085. type: string
  17086. postalcode:
  17087. description: 邮政编码
  17088. type: string
  17089. provinceid:
  17090. description: 省
  17091. type: integer
  17092. proxystatementurl:
  17093. description: 授权委托书
  17094. type: string
  17095. qq:
  17096. description: QQ(加密存储
  17097. type: string
  17098. remark:
  17099. description: 备注
  17100. type: string
  17101. sex:
  17102. description: '用户性别 0: 女 1: 男'
  17103. type: integer
  17104. signpdfurl:
  17105. description: 签约pdf文件
  17106. type: string
  17107. taxpayernum:
  17108. description: 纳税人识别号
  17109. type: string
  17110. telphone:
  17111. description: 联系电话(加密存储)
  17112. type: string
  17113. userid:
  17114. description: 用户ID
  17115. type: integer
  17116. userinfotype:
  17117. description: 用户信息类型 - 1:个人 2:企业
  17118. type: integer
  17119. userstatus:
  17120. description: 用户状态 - 1:正常 2:注销
  17121. type: integer
  17122. usertype:
  17123. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者
  17124. type: integer
  17125. wechat:
  17126. description: 微信(加密存储)
  17127. type: string
  17128. wskhinfo:
  17129. description: 开户申请信息(JSON)
  17130. type: string
  17131. type: object
  17132. models.WrFAProductDetail:
  17133. properties:
  17134. accountid:
  17135. description: 资金账号
  17136. type: integer
  17137. areauserid:
  17138. description: 金融机构ID
  17139. type: integer
  17140. financingdays:
  17141. description: 天数(天)
  17142. type: integer
  17143. interestminlen:
  17144. description: 最小起息天数
  17145. type: integer
  17146. interestrate:
  17147. description: 利率
  17148. type: number
  17149. interestratemode:
  17150. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  17151. type: integer
  17152. interestsettlemode:
  17153. description: 结息方式 - 1:按日结息 3:按月结息
  17154. type: integer
  17155. interestsettlevalue:
  17156. description: 结息方式值
  17157. type: integer
  17158. isautoloan:
  17159. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  17160. type: integer
  17161. loantag:
  17162. description: '放款标识: "放款快" 或者为空'
  17163. type: string
  17164. marginratio:
  17165. description: 保证金比率质押率 - [仓单质押]
  17166. type: number
  17167. productdetailid:
  17168. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  17169. type: integer
  17170. productid:
  17171. description: 金融产品ID
  17172. type: integer
  17173. productname:
  17174. description: 产品名称
  17175. type: string
  17176. updatetime:
  17177. description: 更新时间
  17178. type: string
  17179. username:
  17180. description: 融出方
  17181. type: string
  17182. type: object
  17183. models.WrFactorTypeInfo:
  17184. properties:
  17185. deliverygoodscode:
  17186. description: 品种代码
  17187. type: string
  17188. deliverygoodsname:
  17189. description: 品种名称
  17190. type: string
  17191. dgfactoryitemid:
  17192. description: 选择项id
  17193. type: integer
  17194. dgfactoryitemtypeid:
  17195. description: 要素选择项ID (1-仓库 2-品牌)
  17196. type: integer
  17197. dgfactoryitemvalue:
  17198. description: 要素项值
  17199. type: string
  17200. itemtypename:
  17201. description: 要素项名称
  17202. type: string
  17203. optioncompare:
  17204. description: 选择比较串
  17205. type: string
  17206. warehouseid:
  17207. description: 仓库id
  17208. type: integer
  17209. wrfactortypeid:
  17210. description: 仓单要素ID
  17211. type: string
  17212. wrfactortypename:
  17213. description: 要素名称
  17214. type: string
  17215. wrfactortypename2:
  17216. description: 要素名称(不含仓库)
  17217. type: string
  17218. wrstandardcode:
  17219. description: 品类代码
  17220. type: string
  17221. wrstandardid:
  17222. description: 品类id
  17223. type: integer
  17224. wrstandardname:
  17225. description: 品类名称
  17226. type: string
  17227. type: object
  17228. models.WrFilterItem:
  17229. properties:
  17230. itemcode:
  17231. description: 代码
  17232. type: string
  17233. itemid:
  17234. description: 项id
  17235. type: integer
  17236. itemname:
  17237. description: 名称
  17238. type: string
  17239. itemtype:
  17240. description: 类型 1-品种 2-品类(商品) 3-仓库
  17241. type: integer
  17242. type: object
  17243. models.WrFinanceBuyApply:
  17244. properties:
  17245. applydate:
  17246. description: 申请时间
  17247. type: string
  17248. applystatus:
  17249. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  17250. type: integer
  17251. applyuserid:
  17252. description: 申请人
  17253. type: integer
  17254. auditdate:
  17255. description: 审核时间
  17256. type: string
  17257. auditremark:
  17258. description: 审核备注
  17259. type: string
  17260. audituserid:
  17261. description: 审核人
  17262. type: integer
  17263. buyaccountid:
  17264. description: 买方资金账号
  17265. type: integer
  17266. buyorsell:
  17267. description: 买卖 - 0:买 1:卖
  17268. type: integer
  17269. buyuserid:
  17270. description: 买方用户ID
  17271. type: integer
  17272. buyusername:
  17273. description: 买方名称
  17274. type: string
  17275. buywrtradeorderid:
  17276. description: 融资方买委托单ID
  17277. type: string
  17278. deliverygoodscode:
  17279. description: 品种代码
  17280. type: string
  17281. deliverygoodsid:
  17282. description: 品种ID
  17283. type: integer
  17284. deliverygoodsname:
  17285. description: 品种名称
  17286. type: string
  17287. deliverymonth:
  17288. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  17289. type: string
  17290. enumdicname:
  17291. description: 单位名称
  17292. type: string
  17293. financeaccountid:
  17294. description: 融资方资金帐户ID
  17295. type: integer
  17296. financeapplyid:
  17297. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  17298. type: string
  17299. financeareauserid:
  17300. description: 融资方用户ID
  17301. type: string
  17302. financename:
  17303. description: 融出方名称
  17304. type: string
  17305. financetype:
  17306. description: 融资类型 1-融资回购
  17307. type: integer
  17308. financingdays:
  17309. description: 天数(天)
  17310. type: integer
  17311. freezebuymargin:
  17312. description: 冻结融资保证金(买方)
  17313. type: number
  17314. handleremark:
  17315. description: 处理备注
  17316. type: string
  17317. handlestatus:
  17318. description: 处理状态
  17319. type: integer
  17320. interestminlen:
  17321. description: 最小起息天数
  17322. type: integer
  17323. interestrate:
  17324. description: 利率
  17325. type: number
  17326. interestratemode:
  17327. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  17328. type: integer
  17329. interestsettlemode:
  17330. description: 结息方式 - 1:按日结息 3:按月结息
  17331. type: integer
  17332. interestsettlevalue:
  17333. description: 结息方式值
  17334. type: integer
  17335. isautoloan:
  17336. description: 是否自动放款 - 0:手动 1:自动
  17337. type: integer
  17338. marginratio:
  17339. description: 保证金比率质押率 - [仓单质押]
  17340. type: number
  17341. marketid:
  17342. description: 市场ID
  17343. type: integer
  17344. minivalue:
  17345. description: 现货商品最小变动值
  17346. type: integer
  17347. optioncompare:
  17348. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17349. type: string
  17350. orderqty:
  17351. description: 委托数量(商品数量)
  17352. type: number
  17353. productdetailid:
  17354. description: 产品组合ID
  17355. type: integer
  17356. productid:
  17357. description: 金融产品ID
  17358. type: integer
  17359. productname:
  17360. description: 产品名称
  17361. type: string
  17362. remark:
  17363. description: 备注
  17364. type: string
  17365. scfcontractid:
  17366. description: 仓单回购合同ID
  17367. type: string
  17368. sellaccountid:
  17369. description: 卖方资金账号
  17370. type: integer
  17371. selluserid:
  17372. description: 卖方用户ID
  17373. type: integer
  17374. sellwrtradeorderid:
  17375. description: 卖方委托单ID
  17376. type: string
  17377. tradeamount:
  17378. description: 成交金额(借款金额)
  17379. type: number
  17380. tradedate:
  17381. description: 交易日(yyyyMMdd)
  17382. type: string
  17383. tradeprice:
  17384. description: 成交价格
  17385. type: number
  17386. warehouseid:
  17387. description: 仓库ID
  17388. type: integer
  17389. warehousename:
  17390. description: 仓库名称
  17391. type: string
  17392. wrfactortypeid:
  17393. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17394. type: string
  17395. wrfactortypename:
  17396. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17397. type: string
  17398. wrpricetype:
  17399. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  17400. type: integer
  17401. wrstandardcode:
  17402. description: 现货商品代码
  17403. type: string
  17404. wrstandardid:
  17405. description: 现货商品ID
  17406. type: integer
  17407. wrstandardname:
  17408. description: 商品名称
  17409. type: string
  17410. wrtypename:
  17411. description: 商品
  17412. type: string
  17413. type: object
  17414. models.WrFriendApply:
  17415. properties:
  17416. applicantid:
  17417. description: 申请人
  17418. type: integer
  17419. applyname:
  17420. description: 申请人名称
  17421. type: string
  17422. applysrc:
  17423. description: 申请来源 - 1:管理端 2:终端
  17424. type: integer
  17425. applystatus:
  17426. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  17427. type: integer
  17428. applytime:
  17429. description: 申请时间
  17430. type: string
  17431. auditname:
  17432. description: 审核人名称
  17433. type: string
  17434. auditorid:
  17435. description: 审核人
  17436. type: integer
  17437. auditremark:
  17438. description: 审核备注
  17439. type: string
  17440. auditsrc:
  17441. description: 审核来源 - 1:管理端 2:终端
  17442. type: integer
  17443. audittime:
  17444. description: 审核时间
  17445. type: string
  17446. friendapplyid:
  17447. description: 申请ID(SEQ_FRIENDAPPLY)
  17448. type: string
  17449. friendname:
  17450. description: 好友名字(已脱敏)
  17451. type: string
  17452. frienduserid:
  17453. description: 好友用户ID
  17454. type: string
  17455. remark:
  17456. description: 备注
  17457. type: string
  17458. userid:
  17459. description: 申请人用户ID
  17460. type: integer
  17461. type: object
  17462. models.WrFtDeliveryGoods:
  17463. properties:
  17464. deliverygoodscode:
  17465. description: 品种代码
  17466. type: string
  17467. deliverygoodsid:
  17468. description: 品种ID
  17469. type: integer
  17470. deliverygoodsname:
  17471. description: 品种名称
  17472. type: string
  17473. wdlst:
  17474. description: 商品列表
  17475. items:
  17476. $ref: '#/definitions/models.WrFtWrstandard'
  17477. type: array
  17478. type: object
  17479. models.WrFtWrstandard:
  17480. properties:
  17481. enumdicname:
  17482. description: 单位名称
  17483. type: string
  17484. minivalue:
  17485. description: 最小变动值
  17486. type: integer
  17487. wrstandardcode:
  17488. description: 现货商品代码
  17489. type: string
  17490. wrstandardid:
  17491. description: 现货商品ID
  17492. type: integer
  17493. wrstandardname:
  17494. description: 商品名称
  17495. type: string
  17496. type: object
  17497. models.WrGoodsInfo:
  17498. properties:
  17499. haswr:
  17500. description: 0:仓单预售 1:仓单贸易
  17501. type: integer
  17502. lstitem:
  17503. description: 商品信息项
  17504. items:
  17505. $ref: '#/definitions/models.WrTypeItem'
  17506. type: array
  17507. lststep:
  17508. description: 履约规则
  17509. items:
  17510. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  17511. type: array
  17512. marketid:
  17513. description: 市场id
  17514. type: integer
  17515. type: object
  17516. models.WrGoodsPerformanceStep:
  17517. properties:
  17518. autoid:
  17519. description: AutoID
  17520. type: integer
  17521. isauto:
  17522. description: 是否自动 - 0:不自动 1:自动
  17523. type: integer
  17524. remark:
  17525. description: 备注
  17526. type: string
  17527. stepdate:
  17528. description: 天数信息(T+N)
  17529. type: string
  17530. stepdays:
  17531. description: 距离上一步天数
  17532. type: integer
  17533. stepindex:
  17534. description: 步骤序号
  17535. type: integer
  17536. stepinfo:
  17537. description: 步骤信息(步骤名称+步骤值)
  17538. type: string
  17539. steptypeid:
  17540. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  17541. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  17542. type: integer
  17543. steptypename:
  17544. description: 步骤名称
  17545. type: string
  17546. stepvalue:
  17547. description: 步骤值
  17548. type: number
  17549. templateid:
  17550. description: 履约计划模板ID
  17551. type: integer
  17552. type: object
  17553. models.WrHoldLB:
  17554. properties:
  17555. accountid:
  17556. description: 持有人帐户ID
  17557. type: integer
  17558. bannerpicurl:
  17559. description: Banner图
  17560. type: string
  17561. createtime:
  17562. description: 创建时间(过户时间)
  17563. type: string
  17564. deliverygoodscode:
  17565. description: 品种代码
  17566. type: string
  17567. deliverygoodsid:
  17568. description: 品种ID
  17569. type: integer
  17570. deliverygoodsname:
  17571. description: 品种名称
  17572. type: string
  17573. enableqty:
  17574. description: 可用数量
  17575. type: number
  17576. enumdicname:
  17577. description: 单位名称
  17578. type: string
  17579. freezerqty:
  17580. description: 冻结数量
  17581. type: number
  17582. ladingbillid:
  17583. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  17584. type: string
  17585. minivalue:
  17586. description: 现货商品最小变动值
  17587. type: integer
  17588. optioncompare:
  17589. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17590. type: string
  17591. parentsubnum:
  17592. description: 拆分父子单号
  17593. type: integer
  17594. pledgeqty:
  17595. description: 质押数量
  17596. type: number
  17597. qty:
  17598. description: 数量
  17599. type: number
  17600. subnum:
  17601. description: 提单子单号
  17602. type: integer
  17603. thumurls:
  17604. description: 缩略图
  17605. type: string
  17606. tradedate:
  17607. description: 交易日(yyyyMMdd)
  17608. type: string
  17609. userid:
  17610. description: 持有人ID
  17611. type: integer
  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. wrholdeno:
  17625. description: 仓单编号
  17626. type: string
  17627. wrid:
  17628. description: 仓单变更ID
  17629. type: string
  17630. wrstandardcode:
  17631. description: 现货商品代码
  17632. type: string
  17633. wrstandardid:
  17634. description: 现货商品ID
  17635. type: integer
  17636. wrstandardname:
  17637. description: 商品名称
  17638. type: string
  17639. wrtypename:
  17640. description: 商品
  17641. type: string
  17642. type: object
  17643. models.WrMarketTradeConfig:
  17644. properties:
  17645. basisdownratio:
  17646. description: 浮动价基差下限比例(仓单贸易)
  17647. type: number
  17648. basisupratio:
  17649. description: 浮动价基差上限比例(仓单贸易)
  17650. type: number
  17651. buychargealgorithm:
  17652. description: 买方手续费收取方式 1:比率 2:固定
  17653. type: integer
  17654. buychargealgorithm2:
  17655. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  17656. type: integer
  17657. buychargealgorithmvalue:
  17658. description: 买方手续费设置值(交易所部分)
  17659. type: number
  17660. buychargealgorithmvalue2:
  17661. description: 买方手续费设置值(会员部分)
  17662. type: number
  17663. buychargealgorithmvalue3:
  17664. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  17665. type: number
  17666. buychargealgorithmvalue4:
  17667. description: 回购买方手续费设置值(会员部分) --77:现货商城
  17668. type: number
  17669. buyfirstmarginalgorithm:
  17670. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  17671. type: integer
  17672. buyfirstmarginvalue:
  17673. description: 买方出价保证金设置值 - [竞拍]
  17674. type: number
  17675. buymarginalgorithm:
  17676. description: 买方保证金方式 - 1:比率 2:固定
  17677. type: integer
  17678. buymarginvalue:
  17679. description: 买方保证金设置值
  17680. type: number
  17681. buyreleaseratio:
  17682. description: 买方释放比率[2:分步履约]
  17683. type: number
  17684. executemode:
  17685. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  17686. type: integer
  17687. executeside:
  17688. description: 执行方[2:分步履约] - 1:买方 2:卖方
  17689. type: integer
  17690. failedchargealgorithm:
  17691. description: 流拍手续费收取方式 1:比率 2:固定
  17692. type: integer
  17693. failedchargevalue:
  17694. description: 流拍手续费设置值
  17695. type: number
  17696. failedchargevalue2:
  17697. description: 流拍卖方手续费设置值
  17698. type: number
  17699. holddays:
  17700. description: 合同期限[2:分步履约]
  17701. type: integer
  17702. listingmode:
  17703. description: 挂牌方式 - 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  17704. type: integer
  17705. marketid:
  17706. description: 市场ID-仓单贸易、竞拍、预售
  17707. type: integer
  17708. minqty:
  17709. description: 最小执行量[2:分步履约]
  17710. type: number
  17711. modifierid:
  17712. description: 修改人
  17713. type: integer
  17714. nowrquotaflag:
  17715. description: 是否校验无仓单额度(仓单贸易) - 0:否 1:是
  17716. type: integer
  17717. performancetempid:
  17718. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  17719. 立即执行(-1)
  17720. type: integer
  17721. performancetempid2:
  17722. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  17723. 立即执行
  17724. type: integer
  17725. performancetempid2s:
  17726. description: 履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  17727. - 履约方式: 立即执行
  17728. type: string
  17729. performancetempids:
  17730. description: 履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  17731. - 履约方式: 立即执行(-1)
  17732. type: string
  17733. performanceway:
  17734. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  17735. type: integer
  17736. sellchargealgorithm:
  17737. description: 卖方手续费收取方式 1:比率 2:固定
  17738. type: integer
  17739. sellchargealgorithm2:
  17740. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  17741. type: integer
  17742. sellchargealgorithmvalue:
  17743. description: 卖方手续费设置值(交易所部分)
  17744. type: number
  17745. sellchargealgorithmvalue2:
  17746. description: 卖方手续费设置值(会员部分)
  17747. type: number
  17748. sellchargealgorithmvalue3:
  17749. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  17750. type: number
  17751. sellchargealgorithmvalue4:
  17752. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  17753. type: number
  17754. sellmarginalgorithm:
  17755. description: 卖方保证金方式 - 1:比率 2:固定
  17756. type: integer
  17757. sellmarginvalue:
  17758. description: 卖方保证金设置值
  17759. type: number
  17760. sellmarginvalue2:
  17761. description: 卖方保证金设置值(无仓单)
  17762. type: number
  17763. sellreleaseratio:
  17764. description: 卖方释放比率[2:分步履约]
  17765. type: number
  17766. updatetime:
  17767. description: 更新时间
  17768. type: string
  17769. type: object
  17770. models.WrOrderDetail:
  17771. properties:
  17772. accountid:
  17773. description: 交易账号(资金账号)
  17774. type: integer
  17775. allfriendsflag:
  17776. description: 是否全好友可见 - 0:否 1:是
  17777. type: integer
  17778. amount:
  17779. description: 挂牌金额 = 委托数量 * 固定价或升贴水
  17780. type: number
  17781. bannerpicurl:
  17782. description: Banner图
  17783. type: string
  17784. begindate:
  17785. description: 开始交易日(yyyymmdd)
  17786. type: string
  17787. buyorsell:
  17788. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  17789. type: integer
  17790. canbargain:
  17791. description: 是否可议价 - 0:不可 1:可
  17792. type: integer
  17793. cancelqty:
  17794. description: 撤销数量
  17795. type: number
  17796. canpart:
  17797. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  17798. type: integer
  17799. delistminqty:
  17800. description: 起摘数量
  17801. type: integer
  17802. deliverygoodscode:
  17803. description: 品种代码
  17804. type: string
  17805. deliverygoodsid:
  17806. description: 品种ID
  17807. type: integer
  17808. deliverygoodsname:
  17809. description: 品种名称
  17810. type: string
  17811. deliverymonth:
  17812. description: 交收月
  17813. type: string
  17814. enddate:
  17815. description: 结束交易日(yyyymmdd)
  17816. type: string
  17817. enumdicname:
  17818. description: 单位名称
  17819. type: string
  17820. fixedprice:
  17821. description: 固定价格 - [挂牌]
  17822. type: number
  17823. freezecharge:
  17824. description: 冻结手续费
  17825. type: number
  17826. freezemargin:
  17827. description: 冻结保证金(保证金)
  17828. type: number
  17829. futupricemove:
  17830. description: 期货升贴水
  17831. type: number
  17832. futushow:
  17833. description: 期货合约/升贴水
  17834. type: string
  17835. goodscode:
  17836. description: 期货合约
  17837. type: string
  17838. goodsid:
  17839. description: 期货商品id
  17840. type: integer
  17841. goodsname:
  17842. description: 商品名称
  17843. type: string
  17844. haswr:
  17845. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  17846. type: integer
  17847. isspecified:
  17848. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  17849. type: integer
  17850. ladingbillid:
  17851. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  17852. type: string
  17853. marginvalue:
  17854. description: 保证金设置值(履约保证金)
  17855. type: number
  17856. marketid:
  17857. description: 市场ID
  17858. type: integer
  17859. matchusername:
  17860. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  17861. type: string
  17862. minivalue:
  17863. description: 现货商品最小变动值
  17864. type: integer
  17865. optioncompare:
  17866. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17867. type: string
  17868. orderqty:
  17869. description: 委托数量
  17870. type: number
  17871. ordertime:
  17872. description: 委托时间(挂牌时间)
  17873. type: string
  17874. performancetemplateid:
  17875. description: 履约模板id
  17876. type: integer
  17877. pricemove:
  17878. description: 升贴水(浮动价时填写) - [挂牌]
  17879. type: number
  17880. taname:
  17881. description: 交易用户名称(资金账号名称)
  17882. type: string
  17883. thumurls:
  17884. description: 缩略图
  17885. type: string
  17886. tradedate:
  17887. description: 交易日(yyyyMMdd)
  17888. type: string
  17889. tradeprice:
  17890. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  17891. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  17892. type: number
  17893. tradeqty:
  17894. description: 成交数量
  17895. type: number
  17896. userid:
  17897. description: 用户ID
  17898. type: integer
  17899. validtime:
  17900. description: 挂牌有效期
  17901. type: string
  17902. validtype:
  17903. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  17904. type: integer
  17905. warehouseid:
  17906. description: 仓库ID
  17907. type: integer
  17908. warehousename:
  17909. description: 仓库名称
  17910. type: string
  17911. wrfactortypeid:
  17912. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17913. type: string
  17914. wrfactortypename:
  17915. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17916. type: string
  17917. wrpricetype:
  17918. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  17919. type: integer
  17920. wrstandardcode:
  17921. description: 现货商品代码
  17922. type: string
  17923. wrstandardid:
  17924. description: 现货商品ID
  17925. type: integer
  17926. wrstandardname:
  17927. description: 商品名称
  17928. type: string
  17929. wrtradeorderid:
  17930. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  17931. type: string
  17932. wrtradeorderstatus:
  17933. 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:撤单解冻贷款失败
  17934. type: integer
  17935. wrtradetype:
  17936. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  17937. type: integer
  17938. wrtypename:
  17939. description: 商品
  17940. type: string
  17941. type: object
  17942. models.WrOrderQuote:
  17943. properties:
  17944. bannerpicurl:
  17945. description: Banner图
  17946. type: string
  17947. buyprice:
  17948. description: 买价
  17949. type: number
  17950. buypricemove:
  17951. description: 买升贴水(基差)
  17952. type: number
  17953. buyqty:
  17954. description: 买量
  17955. type: number
  17956. deliverygoodscode:
  17957. description: 品种代码
  17958. type: string
  17959. deliverygoodsid:
  17960. description: 品种id
  17961. type: integer
  17962. deliverygoodsname:
  17963. description: 品种名称
  17964. type: string
  17965. deliverymonth:
  17966. description: 交收月
  17967. type: string
  17968. enumdicname:
  17969. description: 单位名称
  17970. type: string
  17971. goodscode:
  17972. description: 商品合约(浮动价列表才有)
  17973. type: string
  17974. goodsid:
  17975. description: 商品id(浮动价列表才有)
  17976. type: integer
  17977. minivalue:
  17978. description: 现货商品最小变动值
  17979. type: integer
  17980. pictureurls:
  17981. description: 详情图片(逗号分隔)
  17982. type: string
  17983. sellprice:
  17984. description: 卖价
  17985. type: number
  17986. sellpricemove:
  17987. description: 卖升贴水(基差)
  17988. type: number
  17989. sellqty:
  17990. description: 卖量
  17991. type: number
  17992. thumurls:
  17993. description: 缩略图片(1:1)(逗号分隔)
  17994. type: string
  17995. warehousecode:
  17996. description: 仓库代码
  17997. type: string
  17998. warehouseid:
  17999. description: 仓库id
  18000. type: integer
  18001. warehousename:
  18002. description: 仓库名称
  18003. type: string
  18004. wrfactortypeid:
  18005. description: 仓单要素id
  18006. type: string
  18007. wrfactortypename:
  18008. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18009. type: string
  18010. wrgoodsname:
  18011. description: 商品(商品名称+仓库要素名称 拼接)
  18012. type: string
  18013. wrstandardcode:
  18014. description: 商品代码
  18015. type: string
  18016. wrstandardid:
  18017. description: 商品id
  18018. type: integer
  18019. wrstandardname:
  18020. description: 商品名称
  18021. type: string
  18022. type: object
  18023. models.WrOrderQuoteDetail:
  18024. properties:
  18025. buyorsell:
  18026. description: 买卖 - 0:买 1:卖
  18027. type: integer
  18028. delistminqty:
  18029. description: 起摘数量
  18030. type: number
  18031. deliverymonth:
  18032. description: 交收月
  18033. type: string
  18034. enumdicname:
  18035. description: 单位名称
  18036. type: string
  18037. fixedprice:
  18038. description: 买(卖)价
  18039. type: number
  18040. marketid:
  18041. description: 市场id
  18042. type: integer
  18043. minivalue:
  18044. description: 现货商品最小变动值
  18045. type: integer
  18046. orderqty:
  18047. description: 买(卖)量(=委托量-成交量)
  18048. type: number
  18049. ordertime:
  18050. description: 委托时间
  18051. type: string
  18052. pricemove:
  18053. description: 买(卖)升贴水- 基差
  18054. type: number
  18055. userid:
  18056. description: 购买方(销售方)用户ID
  18057. type: integer
  18058. username:
  18059. description: 购买方(销售方)
  18060. type: string
  18061. wrtradeorderid:
  18062. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  18063. type: string
  18064. type: object
  18065. models.WrOutInApply:
  18066. properties:
  18067. applyid:
  18068. description: 申请单id
  18069. type: string
  18070. applystatus:
  18071. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败
  18072. 8:已撤销
  18073. type: integer
  18074. applytime:
  18075. description: 申请时间
  18076. type: string
  18077. applytype:
  18078. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  18079. type: integer
  18080. bannerpicurl:
  18081. description: Banner图
  18082. type: string
  18083. begindate:
  18084. description: 开始交易日(yyyymmdd)
  18085. type: string
  18086. deliverygoodscode:
  18087. description: 品种代码
  18088. type: string
  18089. deliverygoodsid:
  18090. description: 品种ID
  18091. type: integer
  18092. deliverygoodsname:
  18093. description: 品种名称
  18094. type: string
  18095. enddate:
  18096. description: 结束交易日(yyyymmdd)
  18097. type: string
  18098. enumdicname:
  18099. description: 单位名称
  18100. type: string
  18101. expresscompany:
  18102. description: 物流公司
  18103. type: string
  18104. expressnum:
  18105. description: 物流单号
  18106. type: string
  18107. minivalue:
  18108. description: 现货商品最小变动值
  18109. type: integer
  18110. optioncompare:
  18111. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18112. type: string
  18113. qty:
  18114. description: 数量
  18115. type: integer
  18116. userid:
  18117. description: 用户id
  18118. type: integer
  18119. warehouseid:
  18120. description: 仓库ID
  18121. type: integer
  18122. warehousename:
  18123. description: 仓库名称
  18124. type: string
  18125. wrfactortypeid:
  18126. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18127. type: string
  18128. wrfactortypename:
  18129. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18130. type: string
  18131. wrstandardcode:
  18132. description: 现货商品代码
  18133. type: string
  18134. wrstandardid:
  18135. description: 现货商品ID
  18136. type: integer
  18137. wrstandardname:
  18138. description: 商品名称
  18139. type: string
  18140. wrtypename:
  18141. description: 商品
  18142. type: string
  18143. type: object
  18144. models.WrPerformancePlan:
  18145. properties:
  18146. activatemonth:
  18147. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  18148. type: string
  18149. amount:
  18150. description: 履约金额(总金额)
  18151. type: number
  18152. begindate:
  18153. description: 开始交易日(yyyymmdd)
  18154. type: string
  18155. buyaccountid:
  18156. description: 买方账号
  18157. type: integer
  18158. buyerfreezeamount:
  18159. description: 履约冻结(买履约)
  18160. type: number
  18161. buyerfreezeamountremain:
  18162. description: 履约冻结剩余(买履约)
  18163. type: number
  18164. buyorsell:
  18165. description: 买卖方向 0-买 1-卖
  18166. type: integer
  18167. buypaidamount:
  18168. description: 买方已冻/已扣金额 (已付金额)
  18169. type: number
  18170. buyusername:
  18171. description: 买方名字
  18172. type: string
  18173. contractid:
  18174. description: 合同ID
  18175. type: integer
  18176. createtime:
  18177. description: 创建时间
  18178. type: string
  18179. creatorid:
  18180. description: 创建人
  18181. type: integer
  18182. curstepdeadline:
  18183. description: 当前步骤到期时间
  18184. type: string
  18185. curstepid:
  18186. description: 当前步骤ID
  18187. type: string
  18188. curstepname:
  18189. description: 当前步骤名称
  18190. type: string
  18191. deliverygoodscode:
  18192. description: 品种代码
  18193. type: string
  18194. deliverygoodsid:
  18195. description: 品种ID
  18196. type: integer
  18197. deliverygoodsname:
  18198. description: 品种名称
  18199. type: string
  18200. enddate:
  18201. description: 结束交易日(yyyymmdd)
  18202. type: string
  18203. enumdicname:
  18204. description: 单位名称
  18205. type: string
  18206. expressfee:
  18207. description: 运费
  18208. type: number
  18209. expressfeeconfirmed:
  18210. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  18211. type: integer
  18212. hasovershort:
  18213. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  18214. type: integer
  18215. haswr:
  18216. description: 类型 0-仓单预售 1-仓单贸易
  18217. type: integer
  18218. marketid:
  18219. description: 市场ID
  18220. type: integer
  18221. middleaccountid:
  18222. description: 中间商资金账号ID
  18223. type: integer
  18224. middleuserid:
  18225. description: 中间商用户ID
  18226. type: integer
  18227. minivalue:
  18228. description: 现货商品最小变动值
  18229. type: integer
  18230. optioncompare:
  18231. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18232. type: string
  18233. overshortamount:
  18234. description: 溢短金额
  18235. type: number
  18236. overshortqty:
  18237. description: 溢短数量
  18238. type: number
  18239. paymenttype:
  18240. description: 付款方式 - 1:冻结 2:扣款
  18241. type: integer
  18242. performanceplanid:
  18243. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  18244. type: string
  18245. performancestatus:
  18246. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  18247. 9:超时待处理 10:超时关闭
  18248. type: integer
  18249. performancetype:
  18250. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  18251. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  18252. type: integer
  18253. qty:
  18254. description: 履约数量
  18255. type: number
  18256. relatedorderid:
  18257. description: 关联单号(履约类型的关联单号)
  18258. type: string
  18259. remark:
  18260. description: 备注
  18261. type: string
  18262. sellaccountid:
  18263. description: 卖方账号
  18264. type: integer
  18265. sellerfreezeamount:
  18266. description: 履约冻结(卖履约)
  18267. type: number
  18268. sellerfreezeamountremain:
  18269. description: 履约冻结剩余(卖履约)
  18270. type: number
  18271. sellreceivedamount:
  18272. description: 卖方已收金额
  18273. type: number
  18274. sellusername:
  18275. description: 卖方名字
  18276. type: string
  18277. shipremark:
  18278. description: 发货备注[物流单号]
  18279. type: string
  18280. starttime:
  18281. description: 开始时间
  18282. type: string
  18283. steptypeid:
  18284. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  18285. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  18286. type: integer
  18287. typename:
  18288. description: 履约类型 名称
  18289. type: string
  18290. unpaidamount:
  18291. description: 剩余款(待支付金额)
  18292. type: number
  18293. userid:
  18294. description: 用户id
  18295. type: integer
  18296. warehouseid:
  18297. description: 仓库ID
  18298. type: integer
  18299. warehousename:
  18300. description: 仓库名称
  18301. type: string
  18302. wrfactortypeid:
  18303. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18304. type: string
  18305. wrfactortypename:
  18306. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18307. type: string
  18308. wrstandardcode:
  18309. description: 现货商品代码
  18310. type: string
  18311. wrstandardid:
  18312. description: 现货商品ID
  18313. type: integer
  18314. wrstandardname:
  18315. description: 商品名称
  18316. type: string
  18317. wrtransferuserid:
  18318. description: 仓单受让用户
  18319. type: integer
  18320. wrtypename:
  18321. description: 商品
  18322. type: string
  18323. required:
  18324. - userid
  18325. type: object
  18326. models.WrPerformancePlanStep:
  18327. properties:
  18328. delaydays:
  18329. description: 延期申请天数
  18330. type: integer
  18331. deliverygoodscode:
  18332. description: 品种代码
  18333. type: string
  18334. deliverygoodsid:
  18335. description: 品种ID
  18336. type: integer
  18337. deliverygoodsname:
  18338. description: 品种名称
  18339. type: string
  18340. endtime:
  18341. description: 结束日期
  18342. type: string
  18343. enumdicname:
  18344. description: 单位名称
  18345. type: string
  18346. executeside:
  18347. description: 步骤执行方 - 1:买方 2:卖方
  18348. type: integer
  18349. handlestatus:
  18350. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败
  18351. 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求
  18352. 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  18353. type: integer
  18354. isauto:
  18355. description: 是否自动 - 0:不自动 1:自动
  18356. type: integer
  18357. islastreceivestep:
  18358. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  18359. type: integer
  18360. minivalue:
  18361. description: 现货商品最小变动值
  18362. type: integer
  18363. optioncompare:
  18364. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18365. type: string
  18366. overdays:
  18367. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  18368. type: integer
  18369. performancestepid:
  18370. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  18371. type: string
  18372. planid:
  18373. description: 所属履约计划ID
  18374. type: string
  18375. realamount:
  18376. description: 实际完成金额
  18377. type: number
  18378. relatedorderid:
  18379. description: 关联单号
  18380. type: string
  18381. remaindays:
  18382. description: 剩余天数
  18383. type: integer
  18384. remark:
  18385. description: 错误备注
  18386. type: string
  18387. starttime:
  18388. description: 开始日期
  18389. type: string
  18390. stepamount:
  18391. description: 步骤金额
  18392. type: number
  18393. stepdays:
  18394. description: 距离上一步天数(分钟)
  18395. type: integer
  18396. stepindex:
  18397. description: 步骤序号
  18398. type: integer
  18399. steplanchtype:
  18400. description: 步骤启动类型 - 1:系统自动 2:手动
  18401. type: integer
  18402. stepremark:
  18403. description: 步骤备注
  18404. type: string
  18405. stepstatus:
  18406. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  18407. type: integer
  18408. steptypeid:
  18409. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  18410. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  18411. type: integer
  18412. steptypename:
  18413. description: 步骤名称
  18414. type: string
  18415. stepvalue:
  18416. description: 步骤值
  18417. type: number
  18418. warehouseid:
  18419. description: 仓库ID
  18420. type: integer
  18421. warehousename:
  18422. description: 仓库名称
  18423. type: string
  18424. wrfactortypeid:
  18425. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18426. type: string
  18427. wrfactortypename:
  18428. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18429. type: string
  18430. wrstandardcode:
  18431. description: 现货商品代码
  18432. type: string
  18433. wrstandardid:
  18434. description: 现货商品ID
  18435. type: integer
  18436. wrstandardname:
  18437. description: 商品名称
  18438. type: string
  18439. wrtypename:
  18440. description: 商品
  18441. type: string
  18442. type: object
  18443. models.WrPerformanceStepType:
  18444. properties:
  18445. canauto:
  18446. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  18447. type: integer
  18448. steptypeid:
  18449. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  18450. type: integer
  18451. steptypename:
  18452. description: 步骤类型名称
  18453. type: string
  18454. type: object
  18455. models.WrPerformanceTemplateEx:
  18456. properties:
  18457. autoid:
  18458. description: AutoID 模板id
  18459. type: integer
  18460. createtime:
  18461. description: 创建时间
  18462. type: string
  18463. creatorid:
  18464. description: 创建人
  18465. type: integer
  18466. lstStep:
  18467. description: 步骤信息列表
  18468. items:
  18469. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  18470. type: array
  18471. paymenttype:
  18472. description: 支付方式 - 1:冻结 2:扣款
  18473. type: integer
  18474. takemode:
  18475. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  18476. type: integer
  18477. templatename:
  18478. description: 模板名称
  18479. type: string
  18480. templatetype:
  18481. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  18482. (无仓单) 5:挂牌期权 6:竞拍-降价式
  18483. type: integer
  18484. userid:
  18485. description: 所属用户
  18486. type: integer
  18487. type: object
  18488. models.WrPosition:
  18489. properties:
  18490. accountid:
  18491. description: 帐户ID
  18492. type: integer
  18493. buyexcuteqty:
  18494. description: 采购履约中数量
  18495. type: number
  18496. creditcurqty:
  18497. description: 授信当前数量(预售仓单:预售当前量)
  18498. type: number
  18499. creditenableqty:
  18500. description: '授信可用数量(预售仓单: 可用数量)'
  18501. type: number
  18502. creditfreezeqty:
  18503. description: '授信冻结数量(预售仓单: 当前数量)'
  18504. type: number
  18505. credittotalqty:
  18506. description: 授信总数量(预售仓单:预售总量)
  18507. type: number
  18508. credittradeqty:
  18509. description: 授信成交数量(预售仓单:成交总量)
  18510. type: number
  18511. deliverygoodscode:
  18512. description: 品种代码
  18513. type: string
  18514. deliverygoodsid:
  18515. description: 品种ID
  18516. type: integer
  18517. deliverygoodsname:
  18518. description: 品种名称
  18519. type: string
  18520. enalbeqty:
  18521. description: 可用数量
  18522. type: number
  18523. enumdicname:
  18524. description: 单位名称
  18525. type: string
  18526. freezeqty:
  18527. description: 总冻结数量
  18528. type: number
  18529. haswr:
  18530. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  18531. type: integer
  18532. minivalue:
  18533. description: 现货商品最小变动值
  18534. type: integer
  18535. modifytime:
  18536. description: 修改时间(过户时间)
  18537. type: string
  18538. optioncompare:
  18539. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18540. type: string
  18541. pledgeqty:
  18542. description: 质押数量
  18543. type: number
  18544. querytype:
  18545. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  18546. type: integer
  18547. sellexcuteqty:
  18548. description: 销售履约中数量
  18549. type: number
  18550. totalqty:
  18551. description: 总数量(库存数量)
  18552. type: number
  18553. warehouseid:
  18554. description: 仓库ID
  18555. type: integer
  18556. warehousename:
  18557. description: 仓库名称
  18558. type: string
  18559. wrfactortypeid:
  18560. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18561. type: string
  18562. wrfactortypename:
  18563. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18564. type: string
  18565. wrpositionid:
  18566. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  18567. type: string
  18568. wrpositionno:
  18569. description: 仓单编号
  18570. type: string
  18571. wrstandardcode:
  18572. description: 现货商品代码
  18573. type: string
  18574. wrstandardid:
  18575. description: 现货商品ID
  18576. type: integer
  18577. wrstandardname:
  18578. description: 商品名称
  18579. type: string
  18580. wrtypename:
  18581. description: 商品
  18582. type: string
  18583. wruserid:
  18584. description: 持有人ID
  18585. type: integer
  18586. type: object
  18587. models.WrPreSaleInfo:
  18588. properties:
  18589. bannerpicurl:
  18590. description: Banner图
  18591. type: string
  18592. baseqty:
  18593. description: 中签基数
  18594. type: number
  18595. createtime:
  18596. description: 创建时间
  18597. type: string
  18598. deliverygoodsid:
  18599. description: 现货品种ID
  18600. type: integer
  18601. enddate:
  18602. description: 预售结束日期
  18603. type: string
  18604. enumdicname:
  18605. description: 单位名称
  18606. type: string
  18607. lotteryflag:
  18608. description: 摇号标识 - 0:未摇号 1:已摇号
  18609. type: integer
  18610. lotteryqty:
  18611. description: 摇号总量
  18612. type: number
  18613. luckyqty:
  18614. description: 已中签量
  18615. type: number
  18616. marketid:
  18617. description: 市场ID
  18618. type: integer
  18619. maxbuyqty:
  18620. description: 单人最大申购量
  18621. type: number
  18622. maxluckyqty:
  18623. description: 单人最大中签量
  18624. type: number
  18625. pictureurls:
  18626. description: 详情图片(逗号分隔)
  18627. type: string
  18628. placeqty:
  18629. description: 已配售量
  18630. type: number
  18631. presaleapplyid:
  18632. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  18633. example: "0"
  18634. type: string
  18635. presaleqty:
  18636. description: 预售总量
  18637. type: number
  18638. presalestatus:
  18639. description: 预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭
  18640. type: integer
  18641. sellaccountid:
  18642. description: 发行方资金账户ID
  18643. type: integer
  18644. selluserid:
  18645. description: 发行方用户ID
  18646. type: integer
  18647. sellwrtradeorderid:
  18648. description: 发行方卖委托单ID
  18649. type: string
  18650. startdate:
  18651. description: 预售开始日期
  18652. type: string
  18653. takestartdate:
  18654. description: 提货开始日期
  18655. type: string
  18656. thumurls:
  18657. description: 缩略图片(1:1)(逗号分隔)
  18658. type: string
  18659. tradedate:
  18660. description: 交易日
  18661. type: string
  18662. unitid:
  18663. description: 单位ID
  18664. type: integer
  18665. unitprice:
  18666. description: 商品单价
  18667. type: number
  18668. username:
  18669. description: 发行方用户名称
  18670. type: string
  18671. warehousecode:
  18672. description: 仓库代码(仓库简称)
  18673. type: string
  18674. warehouseid:
  18675. description: 仓库ID
  18676. type: integer
  18677. warehousename:
  18678. description: 仓库名称
  18679. type: string
  18680. wrfactortypeid:
  18681. description: 仓单要素类型ID - 根据现货商品\仓库生成
  18682. example: "0"
  18683. type: string
  18684. wrstandardid:
  18685. description: 现货商品ID
  18686. type: integer
  18687. wrstandardname:
  18688. description: 现货商品名称
  18689. type: string
  18690. type: object
  18691. models.WrQuoteOrderMyq:
  18692. properties:
  18693. buyorsell:
  18694. description: 买卖 - 0:买 1:卖
  18695. type: integer
  18696. canbargain:
  18697. description: 是否可议价 - 0:不可 1:可
  18698. type: integer
  18699. canpart:
  18700. description: 是否允许部份摘牌 - 0:不允许 1:允许
  18701. type: integer
  18702. delistminqty:
  18703. description: 起摘数量
  18704. type: number
  18705. deliverygoodscode:
  18706. description: 品种代码
  18707. type: string
  18708. deliverygoodsid:
  18709. description: 品种ID
  18710. type: integer
  18711. deliverygoodsname:
  18712. description: 品种名称
  18713. type: string
  18714. deliverymonth:
  18715. description: 交收月
  18716. type: string
  18717. enumdicname:
  18718. description: 单位名称
  18719. type: string
  18720. fixedprice:
  18721. description: 买(卖)价
  18722. type: number
  18723. goodscode:
  18724. description: 商品合约代码
  18725. type: string
  18726. marginflag:
  18727. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  18728. type: integer
  18729. marginvalue:
  18730. description: 保证金设置值
  18731. type: number
  18732. minivalue:
  18733. description: 现货商品最小变动值
  18734. type: integer
  18735. orderqty:
  18736. description: 买(卖)量(=委托量-成交量)
  18737. type: number
  18738. ordertime:
  18739. description: 委托时间
  18740. type: string
  18741. performancetemplateid:
  18742. description: 履约模板id
  18743. type: integer
  18744. pricemove:
  18745. description: 买(卖)升贴水- 基差
  18746. type: number
  18747. templatename:
  18748. description: 履约模板名称
  18749. type: string
  18750. userid:
  18751. description: 购买方(销售方)用户ID
  18752. type: integer
  18753. username:
  18754. description: 购买方(销售方)
  18755. type: string
  18756. validtime:
  18757. description: 有效期限
  18758. type: string
  18759. validtype:
  18760. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  18761. type: integer
  18762. warehousename:
  18763. description: 仓库名称
  18764. type: string
  18765. wrfactortypeid:
  18766. description: 仓单要素id
  18767. type: string
  18768. wrstandardcode:
  18769. description: 现货商品代码
  18770. type: string
  18771. wrstandardid:
  18772. description: 现货商品ID
  18773. type: integer
  18774. wrstandardname:
  18775. description: 商品名称
  18776. type: string
  18777. wrtradeorderid:
  18778. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  18779. type: string
  18780. wrtypename:
  18781. description: 商品
  18782. type: string
  18783. type: object
  18784. models.WrReckonSpotGoodsTradeSum:
  18785. properties:
  18786. begindate:
  18787. description: 开始日期(结果含开始日期) yyyymmdd
  18788. type: string
  18789. enddate:
  18790. description: 结束日期(结果含结束日期) yyyymmdd
  18791. type: string
  18792. istoday:
  18793. description: 是否当日
  18794. type: boolean
  18795. marketid:
  18796. description: 市场ID
  18797. type: integer
  18798. price:
  18799. description: 价格 = 日成交金额 / 日成交数量
  18800. type: string
  18801. reckondate:
  18802. description: 日期 格式 yyyymmdd
  18803. type: string
  18804. tradeamount:
  18805. description: 日成交金额(当日单方向成交金额)
  18806. type: number
  18807. tradeqty:
  18808. description: 日成交数量(当日单方向成交数量)
  18809. type: number
  18810. wrstandardid:
  18811. description: 现货商品ID
  18812. type: integer
  18813. type: object
  18814. models.WrScfContract:
  18815. properties:
  18816. borroweruserid:
  18817. description: 借款用户ID
  18818. type: integer
  18819. buybackwrpositionqty:
  18820. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  18821. type: number
  18822. closeinterest:
  18823. description: 已结利息 -> 已结费用
  18824. type: number
  18825. currisklevel:
  18826. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  18827. type: integer
  18828. deadline:
  18829. description: 截止日期(yyyyMMdd) -> 借款到期时间
  18830. type: string
  18831. deliverygoodscode:
  18832. description: 品种代码
  18833. type: string
  18834. deliverygoodsid:
  18835. description: 品种ID
  18836. type: integer
  18837. deliverygoodsname:
  18838. description: 品种名称
  18839. type: string
  18840. enumdicname:
  18841. description: 单位名称
  18842. type: string
  18843. financingdays:
  18844. description: 天数(天)
  18845. type: integer
  18846. initmargin:
  18847. description: 保证金 - [仓单回购]
  18848. type: number
  18849. interestamount:
  18850. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  18851. type: number
  18852. interestdebt:
  18853. description: 利息欠款(记录负数) -> 费用欠款
  18854. type: number
  18855. interestminlen:
  18856. description: 最小起息天数
  18857. type: integer
  18858. interestrate:
  18859. description: 利率
  18860. type: number
  18861. interestratemode:
  18862. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  18863. type: integer
  18864. interestsettlemode:
  18865. description: 结息方式 - 1:按日结息 3:按月结息
  18866. type: integer
  18867. interestsettlevalue:
  18868. description: 结息方式值
  18869. type: integer
  18870. isautoloan:
  18871. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  18872. type: integer
  18873. lastcloseinterestday:
  18874. description: 最近结息日(yyyyMMdd)
  18875. type: string
  18876. lenderamount:
  18877. description: 贷款金额 -> 借款金额
  18878. type: number
  18879. lenderuserid:
  18880. description: 贷款方用户ID -> 融出方用户ID
  18881. type: integer
  18882. lenderusername:
  18883. description: 融出方
  18884. type: string
  18885. marginratio:
  18886. description: 保证金比率质押率 - [仓单质押]
  18887. type: number
  18888. marketid:
  18889. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  18890. type: integer
  18891. minivalue:
  18892. description: 现货商品最小变动值
  18893. type: integer
  18894. optioncompare:
  18895. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18896. type: string
  18897. pricemove:
  18898. description: 估值升贴水值
  18899. type: number
  18900. productdetailid:
  18901. description: 产品组合ID
  18902. type: integer
  18903. productid:
  18904. description: 金融产品ID
  18905. type: integer
  18906. productname:
  18907. description: 产品名称
  18908. type: string
  18909. remainamount:
  18910. description: 合同剩余金额 -> 剩余金额
  18911. type: number
  18912. remainwrpositionqty:
  18913. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  18914. type: number
  18915. remark:
  18916. description: 备注
  18917. type: string
  18918. scfcontractid:
  18919. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  18920. type: string
  18921. scfcontractstatus:
  18922. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  18923. 9:违约结束 10:已注销 11:已关闭 99:未提交
  18924. type: integer
  18925. scfcontracttype:
  18926. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  18927. type: integer
  18928. startinterestday:
  18929. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  18930. type: string
  18931. totalinterest:
  18932. description: 已计利息 -> 已计费用
  18933. type: number
  18934. unpaidinterest:
  18935. description: 未结费用
  18936. type: number
  18937. updatetime:
  18938. description: 更新时间
  18939. type: string
  18940. warehouseid:
  18941. description: 仓库ID
  18942. type: integer
  18943. warehousename:
  18944. description: 仓库名称
  18945. type: string
  18946. wrfactortypeid:
  18947. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18948. type: string
  18949. wrfactortypename:
  18950. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18951. type: string
  18952. wrqty:
  18953. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  18954. type: number
  18955. wrstandardcode:
  18956. description: 现货商品代码
  18957. type: string
  18958. wrstandardid:
  18959. description: 现货商品ID
  18960. type: integer
  18961. wrstandardname:
  18962. description: 商品名称
  18963. type: string
  18964. wrtypename:
  18965. description: 商品
  18966. type: string
  18967. type: object
  18968. models.WrScfContractInterest:
  18969. properties:
  18970. closeinterest:
  18971. description: 已结利息
  18972. type: number
  18973. closeintereststatus:
  18974. description: 结息状态 - 1:未结 2:已结
  18975. type: integer
  18976. closetime:
  18977. description: 结息时间
  18978. type: string
  18979. closetradedate:
  18980. description: 结息交易日
  18981. type: string
  18982. creatorid:
  18983. description: 操作人ID
  18984. type: integer
  18985. dayrate:
  18986. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  18987. type: number
  18988. interest:
  18989. description: 利息
  18990. type: number
  18991. interestamount:
  18992. description: 计息金额
  18993. type: number
  18994. interestday:
  18995. description: 计息日(yyyyMMdd)
  18996. type: string
  18997. scfcontractid:
  18998. description: SCF合同ID
  18999. type: string
  19000. scfcontractinterestid:
  19001. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  19002. type: integer
  19003. updatetime:
  19004. description: 更新时间
  19005. type: string
  19006. type: object
  19007. models.WrSearchUser:
  19008. properties:
  19009. userid:
  19010. description: 用户ID
  19011. type: integer
  19012. username:
  19013. description: 用户名称(已脱敏)
  19014. type: string
  19015. username2:
  19016. description: 用户名称(未脱敏)
  19017. type: string
  19018. usertype:
  19019. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  19020. type: integer
  19021. required:
  19022. - username
  19023. type: object
  19024. models.WrSiteColumnDetail:
  19025. properties:
  19026. brief:
  19027. description: 简介
  19028. type: string
  19029. context:
  19030. description: 内容
  19031. type: string
  19032. coverimage:
  19033. description: 封面图片
  19034. type: string
  19035. creaedate:
  19036. description: 创建时间
  19037. type: string
  19038. id:
  19039. description: ID(SEQ_SITE_COLUMNDETAIL)
  19040. type: integer
  19041. istop:
  19042. description: 是否置顶 - 0:不置 1:置顶
  19043. type: integer
  19044. publishdate:
  19045. description: 发布日期
  19046. type: string
  19047. title:
  19048. description: 标题
  19049. type: string
  19050. updatedate:
  19051. description: 修改时间
  19052. type: string
  19053. type: object
  19054. models.WrSpecialMatchOrder:
  19055. properties:
  19056. amount:
  19057. description: 金额 = 数量 * 价格
  19058. type: number
  19059. buyorsell:
  19060. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  19061. type: integer
  19062. cancelqty:
  19063. description: 撤销数量
  19064. type: number
  19065. deliverygoodscode:
  19066. description: 品种代码
  19067. type: string
  19068. deliverygoodsid:
  19069. description: 品种ID
  19070. type: integer
  19071. deliverygoodsname:
  19072. description: 品种名称
  19073. type: string
  19074. enumdicname:
  19075. description: 单位名称
  19076. type: string
  19077. fixedprice:
  19078. description: 固定价格(价格)
  19079. type: number
  19080. haswr:
  19081. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  19082. type: integer
  19083. isspecified:
  19084. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  19085. type: integer
  19086. marketid:
  19087. description: 市场ID
  19088. type: integer
  19089. matchuserid:
  19090. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  19091. type: integer
  19092. matchusername:
  19093. description: 指定方
  19094. type: string
  19095. minivalue:
  19096. description: 现货商品最小变动值
  19097. type: integer
  19098. optioncompare:
  19099. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19100. type: string
  19101. orderqty:
  19102. description: 委托数量
  19103. type: number
  19104. ordertime:
  19105. description: 委托时间
  19106. type: string
  19107. pricemove:
  19108. description: 升贴水(浮动价时填写) - [挂牌]
  19109. type: number
  19110. tradedate:
  19111. description: 交易日(yyyyMMdd)
  19112. type: string
  19113. tradeprice:
  19114. description: 成交价格
  19115. type: number
  19116. tradeqty:
  19117. description: 成交数量
  19118. type: number
  19119. userid:
  19120. description: 用户ID
  19121. type: integer
  19122. username:
  19123. description: 发起方
  19124. type: string
  19125. warehouseid:
  19126. description: 仓库ID
  19127. type: integer
  19128. warehousename:
  19129. description: 仓库名称
  19130. type: string
  19131. wrfactortypeid:
  19132. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19133. type: string
  19134. wrfactortypename:
  19135. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19136. type: string
  19137. wrpricetype:
  19138. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  19139. type: integer
  19140. wrstandardcode:
  19141. description: 现货商品代码
  19142. type: string
  19143. wrstandardid:
  19144. description: 现货商品ID
  19145. type: integer
  19146. wrstandardname:
  19147. description: 商品名称
  19148. type: string
  19149. wrtradeorderid:
  19150. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  19151. type: string
  19152. wrtradeorderstatus:
  19153. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  19154. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  19155. type: integer
  19156. wrtradetype:
  19157. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  19158. type: integer
  19159. wrtypename:
  19160. description: 商品
  19161. type: string
  19162. type: object
  19163. models.WrSpotGroupTradeSum:
  19164. properties:
  19165. deliverygoodscode:
  19166. description: 现货品种代码
  19167. type: string
  19168. deliverygoodsid:
  19169. description: 现货品种ID(SEQ_DELIVERYGOODS)
  19170. type: integer
  19171. deliverygoodsname:
  19172. description: 现货品种名称
  19173. type: string
  19174. lastavgprice:
  19175. description: 上上个交易日价格(前2天价格)
  19176. type: string
  19177. lastreckondate:
  19178. description: 上上个交易日(前2天交易日)
  19179. type: string
  19180. reckondate:
  19181. description: 上个交易日(前1天交易日)
  19182. type: string
  19183. todayavgprice:
  19184. description: 上个交易日价格(前1天价格)
  19185. type: string
  19186. updown:
  19187. description: 涨跌
  19188. type: string
  19189. updownratio:
  19190. description: 涨幅(已格式化, 直接显示即可)
  19191. type: string
  19192. type: object
  19193. models.WrSpotGroupTradeSumDetail:
  19194. properties:
  19195. deliverygoodsid:
  19196. description: 现货商品id
  19197. type: integer
  19198. price:
  19199. description: 价格
  19200. type: number
  19201. reckondate:
  19202. description: 日期(yyymmdd, 如:20211031)
  19203. type: string
  19204. type: object
  19205. models.WrSpotGroupTradeSumEx:
  19206. properties:
  19207. lst:
  19208. description: 指数列表
  19209. items:
  19210. $ref: '#/definitions/models.WrSpotGroupTradeSum'
  19211. type: array
  19212. prereckondate:
  19213. description: 上上个交易日(yyymmdd)
  19214. type: string
  19215. reckondate:
  19216. description: 上个交易日(yyyymmdd)
  19217. type: string
  19218. type: object
  19219. models.WrStandardFactoryItem:
  19220. properties:
  19221. dgfactoryitemid:
  19222. description: 选择项id
  19223. type: integer
  19224. dgfactoryitemvalue:
  19225. description: 要素项值
  19226. type: string
  19227. warehouseid:
  19228. description: 仓库id
  19229. type: integer
  19230. type: object
  19231. models.WrStandardFactoryItemEx:
  19232. properties:
  19233. dgfactoryitemtypeid:
  19234. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  19235. type: integer
  19236. itemlst:
  19237. description: 要素项列表
  19238. items:
  19239. $ref: '#/definitions/models.WrStandardFactoryItem'
  19240. type: array
  19241. itemtypename:
  19242. description: 要素项类型名称
  19243. type: string
  19244. wrstandardid:
  19245. description: 品类
  19246. type: integer
  19247. type: object
  19248. models.WrTradeDetail:
  19249. properties:
  19250. accountid:
  19251. description: 资金账号
  19252. type: integer
  19253. bannerpicurl:
  19254. description: Banner图
  19255. type: string
  19256. begindate:
  19257. description: 开始交易日(yyyymmdd)
  19258. type: string
  19259. buyorsell:
  19260. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  19261. type: integer
  19262. chargevalue:
  19263. description: 手续费
  19264. type: number
  19265. deliverygoodscode:
  19266. description: 品种代码
  19267. type: string
  19268. deliverygoodsid:
  19269. description: 品种ID
  19270. type: integer
  19271. deliverygoodsname:
  19272. description: 品种名称
  19273. type: string
  19274. deliverymonth:
  19275. description: 交收月
  19276. type: string
  19277. enddate:
  19278. description: 结束交易日(yyyymmdd)
  19279. type: string
  19280. enumdicname:
  19281. description: 单位名称
  19282. type: string
  19283. haswr:
  19284. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  19285. type: integer
  19286. marketid:
  19287. description: 市场ID
  19288. type: integer
  19289. matchaccountid:
  19290. description: 对手账号
  19291. type: integer
  19292. matchusername:
  19293. description: 对手方
  19294. type: string
  19295. minivalue:
  19296. description: 现货商品最小变动值
  19297. type: integer
  19298. optioncompare:
  19299. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19300. type: string
  19301. thumurls:
  19302. description: 缩略图
  19303. type: string
  19304. tradedate:
  19305. description: 交易日(yyyyMMdd)
  19306. type: string
  19307. tradeprice:
  19308. description: 成交价格
  19309. type: number
  19310. tradeqty:
  19311. description: 成交数量
  19312. type: number
  19313. tradetime:
  19314. description: 成交时间
  19315. type: string
  19316. userid:
  19317. description: 用户ID
  19318. type: integer
  19319. warehouseid:
  19320. description: 仓库ID
  19321. type: integer
  19322. warehousename:
  19323. description: 仓库名称
  19324. type: string
  19325. wrfactortypeid:
  19326. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19327. type: string
  19328. wrfactortypename:
  19329. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19330. type: string
  19331. wrstandardcode:
  19332. description: 现货商品代码
  19333. type: string
  19334. wrstandardid:
  19335. description: 现货商品ID
  19336. type: integer
  19337. wrstandardname:
  19338. description: 商品名称
  19339. type: string
  19340. wrtradedetailid:
  19341. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  19342. type: string
  19343. wrtradetype:
  19344. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  19345. type: integer
  19346. wrtypename:
  19347. description: 商品
  19348. type: string
  19349. type: object
  19350. models.WrTradeOrderDetail:
  19351. properties:
  19352. buyorsell:
  19353. description: 买卖方向 0-买 1-卖
  19354. type: integer
  19355. goodsid:
  19356. description: 商品id
  19357. type: integer
  19358. orderid:
  19359. description: 委托单号
  19360. type: string
  19361. orderprice:
  19362. description: 委托价格
  19363. type: number
  19364. orderqty:
  19365. description: 委托数量
  19366. type: integer
  19367. userid:
  19368. description: 用户id
  19369. type: integer
  19370. username:
  19371. description: 用户名称(已脱敏)
  19372. type: string
  19373. type: object
  19374. models.WrTypeItem:
  19375. properties:
  19376. name:
  19377. description: 名称
  19378. type: string
  19379. value:
  19380. description: 值
  19381. type: string
  19382. type: object
  19383. models.WrUserFriend:
  19384. properties:
  19385. friendname:
  19386. description: 朋友名称(已脱敏)
  19387. type: string
  19388. frienduserid:
  19389. description: 朋友id
  19390. type: integer
  19391. isfriend:
  19392. description: 是否好友 0-不是 1-是
  19393. type: integer
  19394. userid:
  19395. description: 用户id
  19396. type: integer
  19397. type: object
  19398. models.WrUserReceiptInfo:
  19399. properties:
  19400. address:
  19401. description: 地址[发票类型:企业]
  19402. type: string
  19403. autoid:
  19404. description: AutoID
  19405. type: integer
  19406. contactinfo:
  19407. description: 联系方式
  19408. type: string
  19409. idnum:
  19410. description: 身份证号码[发票类型:个人]
  19411. type: string
  19412. isdefault:
  19413. description: 是否默认地址 - 0:否 1:是
  19414. type: integer
  19415. receiptaccount:
  19416. description: 发票帐号[发票类型:企业]
  19417. type: string
  19418. receiptbank:
  19419. description: 发票开户行[发票类型:企业]
  19420. type: string
  19421. receipttype:
  19422. description: 发票类型 - 1:个人 2:企业
  19423. type: integer
  19424. taxpayerid:
  19425. description: 纳税人识别号
  19426. type: string
  19427. userid:
  19428. description: 用户ID
  19429. type: integer
  19430. username:
  19431. description: 户名(个人姓名或企业名称)
  19432. type: string
  19433. type: object
  19434. models.XHBRAND:
  19435. properties:
  19436. brandid:
  19437. description: 品牌id
  19438. type: integer
  19439. brandname:
  19440. description: 品牌名称
  19441. type: string
  19442. isvalid:
  19443. description: 是否有效 0-无效 1-有效
  19444. type: integer
  19445. type: object
  19446. models.XHDeliveryGoods:
  19447. properties:
  19448. areauserid:
  19449. description: 所属机构
  19450. type: integer
  19451. bdlst:
  19452. description: 品牌列表
  19453. items:
  19454. $ref: '#/definitions/models.XHBRAND'
  19455. type: array
  19456. deliverygoodscode:
  19457. description: 现货品种代码
  19458. type: string
  19459. deliverygoodsid:
  19460. description: 现货品种ID(SEQ_DELIVERYGOODS)
  19461. type: integer
  19462. deliverygoodsname:
  19463. description: 现货品种名称
  19464. type: string
  19465. dgstatus:
  19466. description: 品种状态 - 作废 - 0:未激活 1:正常
  19467. type: integer
  19468. filterSubEmpty:
  19469. description: 过滤下级为空的
  19470. type: integer
  19471. isvalid:
  19472. description: 是否有效 - 0:无效 1:有效
  19473. type: integer
  19474. remark:
  19475. description: 备注
  19476. type: string
  19477. unitid:
  19478. description: 单位id(目前看,数据库中是空值)
  19479. type: integer
  19480. wdlst:
  19481. description: 品类(现货商品)列表
  19482. items:
  19483. $ref: '#/definitions/models.XHWrstandard'
  19484. type: array
  19485. type: object
  19486. models.XHMiddleGoods:
  19487. properties:
  19488. GPLST:
  19489. description: 期货品种列表
  19490. items:
  19491. $ref: '#/definitions/models.TBGoodsGroup'
  19492. type: array
  19493. convertratio:
  19494. description: 拆算系数
  19495. type: number
  19496. costratio:
  19497. description: 成本权重
  19498. type: number
  19499. deliverygoodsid:
  19500. description: 现货商品id
  19501. type: integer
  19502. enumdicname:
  19503. description: 单位名称
  19504. type: string
  19505. middlegoodscode:
  19506. description: 套保品种代码
  19507. type: string
  19508. middlegoodsid:
  19509. description: 套保品种id
  19510. type: integer
  19511. middlegoodsname:
  19512. description: 套保品种名称
  19513. type: string
  19514. unitid:
  19515. description: 单位id
  19516. type: integer
  19517. type: object
  19518. models.XHWrstandard:
  19519. properties:
  19520. bannerpicurl:
  19521. description: banner图
  19522. type: string
  19523. deliverygoodsid:
  19524. description: 品种ID
  19525. type: integer
  19526. enumdicname:
  19527. description: 单位名称
  19528. type: string
  19529. mglst:
  19530. description: 套保品列表
  19531. items:
  19532. $ref: '#/definitions/models.XHMiddleGoods'
  19533. type: array
  19534. pictureurls:
  19535. description: 详情图片(逗号分隔)
  19536. type: string
  19537. thumurls:
  19538. description: 缩略图片(1:1)(逗号分隔)
  19539. type: string
  19540. unitid:
  19541. description: 单位id
  19542. type: integer
  19543. vatrate:
  19544. description: 增值税率
  19545. type: number
  19546. wrstandardcode:
  19547. description: 现货商品代码
  19548. type: string
  19549. wrstandardid:
  19550. description: 现货商品ID(SEQ_WRSTANDARD)
  19551. type: integer
  19552. wrstandardname:
  19553. description: 现货商品名称
  19554. type: string
  19555. type: object
  19556. models.XhcpSellBackApplyEx:
  19557. properties:
  19558. applyremark:
  19559. description: 申请备注
  19560. type: string
  19561. expirytype:
  19562. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  19563. type: integer
  19564. goodsspec:
  19565. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  19566. type: integer
  19567. holeflag:
  19568. description: 是否破洞[原封] - 1:无破洞 2:破洞
  19569. type: integer
  19570. isunopened:
  19571. description: 是否原封 - 1:否 2:是
  19572. type: integer
  19573. mpflag:
  19574. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  19575. type: integer
  19576. openflag:
  19577. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  19578. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  19579. type: integer
  19580. phonenum:
  19581. description: 联系电话
  19582. type: string
  19583. userid:
  19584. description: 所属用户ID
  19585. type: integer
  19586. zpflag:
  19587. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  19588. type: integer
  19589. required:
  19590. - userid
  19591. type: object
  19592. models.Xhcpsellbackapply:
  19593. properties:
  19594. applyid:
  19595. description: 申请人
  19596. type: integer
  19597. applyremark:
  19598. description: 申请备注
  19599. type: string
  19600. applysrc:
  19601. description: 申请来源 - 1:管理端 2:终端
  19602. type: integer
  19603. applystatus:
  19604. description: 申请状态 - 1:待确认 2:已处理
  19605. type: integer
  19606. applytime:
  19607. description: 申请时间
  19608. type: string
  19609. auditremark:
  19610. description: 审核备注
  19611. type: string
  19612. auditsrc:
  19613. description: 审核来源 - 1:管理端 2:终端
  19614. type: integer
  19615. expirytype:
  19616. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  19617. type: integer
  19618. goodsspec:
  19619. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  19620. type: integer
  19621. holeflag:
  19622. description: 是否破洞[原封] - 1:无破洞 2:破洞
  19623. type: integer
  19624. isunopened:
  19625. description: 是否原封 - 1:否 2:是
  19626. type: integer
  19627. mpflag:
  19628. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  19629. type: integer
  19630. openflag:
  19631. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  19632. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  19633. type: integer
  19634. phonenum:
  19635. description: 联系电话
  19636. type: string
  19637. sellbackapplyid:
  19638. description: 回收申请ID - SEQ_XHCP_SELLBACKAPPLY
  19639. type: string
  19640. userid:
  19641. description: 所属用户ID
  19642. type: integer
  19643. zpflag:
  19644. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  19645. type: integer
  19646. required:
  19647. - userid
  19648. type: object
  19649. order.QueryHisTradeDetailRsp:
  19650. properties:
  19651. accountid:
  19652. description: 账户ID[报价币种]
  19653. type: integer
  19654. advanceratio:
  19655. description: 首付比率
  19656. type: number
  19657. buildtype:
  19658. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  19659. type: integer
  19660. buyorsell:
  19661. description: 方向 - 0:买 1:卖
  19662. type: integer
  19663. charge:
  19664. description: 手续费
  19665. type: number
  19666. closecharge:
  19667. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  19668. type: number
  19669. closeexchagechargevalue:
  19670. description: 平仓交易所手续费设置值
  19671. type: number
  19672. closefeealgorithm:
  19673. description: 平仓手续费收取方式 1:比率 2:固定
  19674. type: integer
  19675. closememberchargevalue:
  19676. description: 平仓会员手续费设置值
  19677. type: number
  19678. closepl:
  19679. description: 平仓盈亏
  19680. type: number
  19681. closepl2:
  19682. description: 平仓盈亏[逐笔]
  19683. type: number
  19684. closeqty:
  19685. description: 平仓数量(先建后平操作 需要记录)
  19686. type: number
  19687. creditamount:
  19688. description: 授信金额
  19689. type: number
  19690. decimalplace:
  19691. description: 商品报价小数位
  19692. type: integer
  19693. enumdicname:
  19694. description: 单位名称
  19695. type: string
  19696. gcaccountid:
  19697. description: 账户ID[合约币种]
  19698. type: integer
  19699. goodscode:
  19700. description: 商品代码
  19701. type: string
  19702. goodsid:
  19703. description: 商品ID
  19704. type: integer
  19705. goodsname:
  19706. description: 商品名称
  19707. type: string
  19708. goodunitid:
  19709. description: 商品单位id
  19710. type: integer
  19711. histradedate:
  19712. description: 历史交易日
  19713. type: string
  19714. intclosepl:
  19715. description: 整型盈亏(用于交易结算试算平衡-收益权)
  19716. type: integer
  19717. isconfirmexercise:
  19718. description: 是否确认行权- 0:否 1:是
  19719. type: integer
  19720. ismain:
  19721. description: 是否主单 - 0:不是 1:是
  19722. type: integer
  19723. ispreexercise:
  19724. description: 是否预申报- 0:否 1:是
  19725. type: integer
  19726. isreckoned:
  19727. description: 是否结算 - 0:未结算 1:已结算
  19728. type: integer
  19729. isvaliddata:
  19730. description: 是否有效 - 0:无效 1:有效
  19731. type: integer
  19732. listingselecttype:
  19733. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  19734. type: integer
  19735. marketid:
  19736. description: 市场ID
  19737. type: integer
  19738. marketname:
  19739. description: 市场名称
  19740. type: string
  19741. matchaccountid:
  19742. description: 对手账号id
  19743. type: integer
  19744. memberuserid:
  19745. description: 会员id 个人投资者 需要填写
  19746. type: integer
  19747. opencharge:
  19748. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  19749. type: number
  19750. openexchagechargevalue:
  19751. description: 建仓交易所手续费设置值
  19752. type: number
  19753. openfeealgorithm:
  19754. description: 建仓手续费收取方式 1:比率 2:固定
  19755. type: integer
  19756. openmemberchargevalue:
  19757. description: 建仓会员手续费设置值
  19758. type: number
  19759. openqty:
  19760. description: 开仓数量(先建后平操作 需要记录)
  19761. type: number
  19762. optiontype:
  19763. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  19764. type: integer
  19765. orderid:
  19766. description: 委托单号
  19767. type: string
  19768. payamount:
  19769. description: 支付金额(付款金额)
  19770. type: number
  19771. performanceplanid:
  19772. description: 履约计划ID[期权]
  19773. type: integer
  19774. performancestatus:
  19775. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  19776. type: integer
  19777. preexerciseprice:
  19778. description: 预申报价格
  19779. type: number
  19780. premium:
  19781. description: 权利金 - [持仓单的权利金]
  19782. type: number
  19783. qtydecimalplace:
  19784. description: 商品报价小数位
  19785. type: integer
  19786. recvamount:
  19787. description: 到账金额 = 成交金额 - 手续费
  19788. type: number
  19789. relatedouttradeid:
  19790. description: 关联外部成交单ID
  19791. type: integer
  19792. status:
  19793. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  19794. type: integer
  19795. totalamount:
  19796. description: 订单总额 = 成交金额 + 手续费
  19797. type: number
  19798. tradeamount:
  19799. description: 成交金额[账户币种,用于所有权]
  19800. type: number
  19801. tradedate:
  19802. description: 交易日(yyyyMMdd)
  19803. type: string
  19804. tradeid:
  19805. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  19806. type: string
  19807. trademode:
  19808. description: 交易模式
  19809. type: integer
  19810. tradeprice:
  19811. description: 成交价格
  19812. type: number
  19813. tradeproperty:
  19814. description: 交易属性
  19815. type: integer
  19816. tradeqty:
  19817. description: 成交数量
  19818. type: number
  19819. tradetime:
  19820. description: 成交时间
  19821. type: string
  19822. tradetype:
  19823. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  19824. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  19825. type: integer
  19826. required:
  19827. - accountid
  19828. - buyorsell
  19829. - goodsid
  19830. - histradedate
  19831. - marketid
  19832. - memberuserid
  19833. - orderid
  19834. - tradeamount
  19835. - tradedate
  19836. - tradeid
  19837. - tradeprice
  19838. - tradeqty
  19839. - tradetime
  19840. type: object
  19841. order.QueryHisTradeOrderDetailRsp:
  19842. properties:
  19843. accountid:
  19844. description: 账户ID[报价币种]
  19845. type: integer
  19846. buildtype:
  19847. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  19848. type: integer
  19849. buyorsell:
  19850. description: 买卖 - 0:买 1:卖
  19851. type: integer
  19852. cancelorderid:
  19853. description: 撤单单号(撤单时填写)
  19854. type: string
  19855. cancelqty:
  19856. description: 撤单数量
  19857. type: number
  19858. clientordertime:
  19859. description: 客户端委托时间
  19860. type: string
  19861. clientticket:
  19862. description: 客户端流水号
  19863. type: string
  19864. clienttype:
  19865. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  19866. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  19867. type: integer
  19868. closeexchagechargevalue:
  19869. description: 平仓交易所手续费设置值
  19870. type: number
  19871. closefeealgorithm:
  19872. description: 平仓手续费收取方式 1:比率 2:固定
  19873. type: integer
  19874. closefreezecharge:
  19875. description: 平仓冻结手续费(先建后平操作,需要记录)
  19876. type: number
  19877. closememberchargevalue:
  19878. description: 平仓会员手续费设置值
  19879. type: number
  19880. closeqty:
  19881. description: 平仓数量(先建后平操作 需要记录)
  19882. type: number
  19883. closetradeqty:
  19884. description: 平仓成交数量(先建后平操作,需要记录)
  19885. type: number
  19886. closeunfreezecharge:
  19887. description: 平仓解冻手续费(先建后平操作,需要记录)
  19888. type: number
  19889. decimalplace:
  19890. description: 商品报价小数位
  19891. type: integer
  19892. delistingtype:
  19893. description: 摘牌类型 - 1:价格最优 2:点选成交
  19894. type: integer
  19895. enumdicname:
  19896. description: 单位名称
  19897. type: string
  19898. freezecharge:
  19899. description: 冻结手续费
  19900. type: number
  19901. freezemargin:
  19902. description: 冻结保证金(冻结交易金额)
  19903. type: number
  19904. gcaccountid:
  19905. description: 账户ID[合约币种]
  19906. type: integer
  19907. goodscode:
  19908. description: 商品代码
  19909. type: string
  19910. goodsid:
  19911. description: 商品ID
  19912. type: integer
  19913. goodsname:
  19914. description: 商品名称
  19915. type: string
  19916. goodunitid:
  19917. description: 商品单位id
  19918. type: integer
  19919. histradedate:
  19920. description: 历史交易日
  19921. type: string
  19922. isconfirmexercise:
  19923. description: 是否确认行权- 0:否 1:是
  19924. type: integer
  19925. ispreexercise:
  19926. description: 是否预申报- 0:否 1:是
  19927. type: integer
  19928. isvaliddata:
  19929. description: 是否有效 - 0:无效 1:有效
  19930. type: integer
  19931. listingselecttype:
  19932. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  19933. type: integer
  19934. marginalgorithm:
  19935. description: 保证金收取方式 1:比率 2:固定
  19936. type: integer
  19937. marginvalue:
  19938. description: 即市保证金设置值
  19939. type: number
  19940. marketid:
  19941. description: 市场ID
  19942. type: integer
  19943. marketmaxsub:
  19944. description: 市价最大偏移范围
  19945. type: number
  19946. marketname:
  19947. description: 市场名称
  19948. type: string
  19949. memberuserid:
  19950. description: 所属会员UserID
  19951. type: integer
  19952. openexchagechargevalue:
  19953. description: 建仓交易所手续费设置值
  19954. type: number
  19955. openfeealgorithm:
  19956. description: 建仓手续费收取方式 1:比率 2:固定
  19957. type: integer
  19958. openfreezecharge:
  19959. description: 开仓冻结手续费(先建后平操作,需要记录)
  19960. type: number
  19961. openmemberchargevalue:
  19962. description: 建仓会员手续费设置值
  19963. type: number
  19964. openqty:
  19965. description: 开仓数量(先建后平操作,需要记录)
  19966. type: number
  19967. opentradeqty:
  19968. description: 开仓成交数量(先建后平操作,需要记录)
  19969. type: number
  19970. openunfreezecharge:
  19971. description: 开仓解冻手续费(先建后平操作,需要记录)
  19972. type: number
  19973. operatetype:
  19974. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  19975. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  19976. 15:管理端协议转让
  19977. type: integer
  19978. operatorid:
  19979. description: 登录账号(LoginID)
  19980. type: integer
  19981. optiontype:
  19982. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  19983. type: integer
  19984. orderid:
  19985. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  19986. type: string
  19987. orderprice:
  19988. description: 委托价格
  19989. type: number
  19990. orderqty:
  19991. description: 委托数量
  19992. type: number
  19993. ordersrc:
  19994. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  19995. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  19996. type: integer
  19997. orderstatus:
  19998. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  19999. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  20000. 16:成交失败违约(荷兰式竞拍专用)
  20001. type: integer
  20002. ordertime:
  20003. description: 委托时间
  20004. type: string
  20005. preexerciseprice:
  20006. description: 预申报价格
  20007. type: number
  20008. premium:
  20009. description: 权利金
  20010. type: number
  20011. preorderid:
  20012. description: 关联预埋单号(止盈止损单时填写)
  20013. type: string
  20014. pricemode:
  20015. description: '取价方式 - 1:市价 2: 限价'
  20016. type: integer
  20017. qtydecimalplace:
  20018. description: 成交量小数位
  20019. type: integer
  20020. quoteid:
  20021. description: 报价单ID
  20022. type: integer
  20023. relatedid:
  20024. description: 关联单号(交割单)
  20025. type: string
  20026. retcode:
  20027. description: 错误代码
  20028. type: integer
  20029. sessionid:
  20030. description: 会话ID
  20031. type: integer
  20032. tradedate:
  20033. description: 交易日(yyyyMMdd)
  20034. type: string
  20035. trademode:
  20036. description: 交易模式
  20037. type: integer
  20038. tradeproperty:
  20039. description: 交易属性
  20040. type: integer
  20041. tradeqty:
  20042. description: 成交数量
  20043. type: number
  20044. unfreezecharge:
  20045. description: 解冻手续费
  20046. type: number
  20047. unfreezemargin:
  20048. description: 解冻保证金
  20049. type: number
  20050. updatetime:
  20051. description: 更新时间
  20052. type: string
  20053. uuid:
  20054. description: 发起端唯一id
  20055. type: string
  20056. validtime:
  20057. description: 有效期限
  20058. type: string
  20059. validtype:
  20060. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  20061. type: integer
  20062. volumetype:
  20063. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  20064. type: integer
  20065. required:
  20066. - accountid
  20067. - buildtype
  20068. - buyorsell
  20069. - goodsid
  20070. - histradedate
  20071. - marketid
  20072. - memberuserid
  20073. - operatetype
  20074. - orderid
  20075. - orderqty
  20076. - ordertime
  20077. - pricemode
  20078. - tradedate
  20079. - validtype
  20080. type: object
  20081. order.QueryTradeDetailRsp:
  20082. properties:
  20083. accountid:
  20084. description: 账户ID[报价币种]
  20085. type: integer
  20086. advanceratio:
  20087. description: 首付比率
  20088. type: number
  20089. buildtype:
  20090. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  20091. type: integer
  20092. buyorsell:
  20093. description: 方向 - 0:买 1:卖
  20094. type: integer
  20095. charge:
  20096. description: 手续费
  20097. type: number
  20098. closecharge:
  20099. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  20100. type: number
  20101. closeexchagechargevalue:
  20102. description: 平仓交易所手续费设置值
  20103. type: number
  20104. closefeealgorithm:
  20105. description: 平仓手续费收取方式 1:比率 2:固定
  20106. type: integer
  20107. closememberchargevalue:
  20108. description: 平仓会员手续费设置值
  20109. type: number
  20110. closepl:
  20111. description: 平仓盈亏
  20112. type: number
  20113. closepl2:
  20114. description: 平仓盈亏[逐笔]
  20115. type: number
  20116. closeqty:
  20117. description: 平仓数量(先建后平操作 需要记录)
  20118. type: number
  20119. creditamount:
  20120. description: 授信金额
  20121. type: number
  20122. decimalplace:
  20123. description: 商品报价小数位
  20124. type: integer
  20125. enumdicname:
  20126. description: 单位名称
  20127. type: string
  20128. gcaccountid:
  20129. description: 账户ID[合约币种]
  20130. type: integer
  20131. goodscode:
  20132. description: 商品代码
  20133. type: string
  20134. goodsid:
  20135. description: 商品ID
  20136. type: integer
  20137. goodsname:
  20138. description: 商品名称
  20139. type: string
  20140. goodunitid:
  20141. description: 商品单位id
  20142. type: integer
  20143. intclosepl:
  20144. description: 整型盈亏(用于交易结算试算平衡-收益权)
  20145. type: integer
  20146. isconfirmexercise:
  20147. description: 是否确认行权- 0:否 1:是
  20148. type: integer
  20149. ismain:
  20150. description: 是否主单 - 0:不是 1:是
  20151. type: integer
  20152. ispreexercise:
  20153. description: 是否预申报- 0:否 1:是
  20154. type: integer
  20155. isreckoned:
  20156. description: 是否结算 - 0:未结算 1:已结算
  20157. type: integer
  20158. listingselecttype:
  20159. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  20160. type: integer
  20161. marketid:
  20162. description: 市场ID
  20163. type: integer
  20164. marketname:
  20165. description: 市场名称
  20166. type: string
  20167. matchaccountid:
  20168. description: 对手账号id
  20169. type: integer
  20170. memberuserid:
  20171. description: 会员id 个人投资者 需要填写
  20172. type: integer
  20173. opencharge:
  20174. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  20175. type: number
  20176. openexchagechargevalue:
  20177. description: 建仓交易所手续费设置值
  20178. type: number
  20179. openfeealgorithm:
  20180. description: 建仓手续费收取方式 1:比率 2:固定
  20181. type: integer
  20182. openmemberchargevalue:
  20183. description: 建仓会员手续费设置值
  20184. type: number
  20185. openqty:
  20186. description: 开仓数量(先建后平操作 需要记录)
  20187. type: number
  20188. optiontype:
  20189. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  20190. type: integer
  20191. orderid:
  20192. description: 委托单号
  20193. type: string
  20194. payamount:
  20195. description: 支付金额(付款金额)
  20196. type: number
  20197. performanceplanid:
  20198. description: 履约计划ID[期权]
  20199. type: integer
  20200. performancestatus:
  20201. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  20202. type: integer
  20203. preexerciseprice:
  20204. description: 预申报价格
  20205. type: number
  20206. premium:
  20207. description: 权利金 - [持仓单的权利金]
  20208. type: number
  20209. qtydecimalplace:
  20210. description: 商品报价小数位
  20211. type: integer
  20212. recvamount:
  20213. description: 到账金额 = 成交金额 - 手续费
  20214. type: number
  20215. relatedouttradeid:
  20216. description: 关联外部成交单ID
  20217. type: integer
  20218. status:
  20219. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  20220. type: integer
  20221. totalamount:
  20222. description: 订单总额 = 成交金额 + 手续费
  20223. type: number
  20224. tradeamount:
  20225. description: 成交金额[账户币种,用于所有权]
  20226. type: number
  20227. tradedate:
  20228. description: 交易日(yyyyMMdd)
  20229. type: string
  20230. tradeid:
  20231. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  20232. type: string
  20233. trademode:
  20234. description: 交易模式
  20235. type: integer
  20236. tradeprice:
  20237. description: 成交价格
  20238. type: number
  20239. tradeproperty:
  20240. description: 交易属性
  20241. type: integer
  20242. tradeqty:
  20243. description: 成交数量
  20244. type: number
  20245. tradetime:
  20246. description: 成交时间
  20247. type: string
  20248. tradetype:
  20249. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  20250. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  20251. type: integer
  20252. required:
  20253. - accountid
  20254. - buyorsell
  20255. - goodsid
  20256. - marketid
  20257. - memberuserid
  20258. - orderid
  20259. - tradeamount
  20260. - tradedate
  20261. - tradeid
  20262. - tradeprice
  20263. - tradeqty
  20264. - tradetime
  20265. type: object
  20266. order.QueryTradeOrderDetailRsp:
  20267. properties:
  20268. accountid:
  20269. description: 账户ID[报价币种]
  20270. type: integer
  20271. buildtype:
  20272. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  20273. type: integer
  20274. buyorsell:
  20275. description: 买卖 - 0:买 1:卖
  20276. type: integer
  20277. cancelorderid:
  20278. description: 撤单单号(撤单时填写)
  20279. type: string
  20280. cancelqty:
  20281. description: 撤单数量
  20282. type: number
  20283. clienttype:
  20284. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  20285. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  20286. type: integer
  20287. closefreezecharge:
  20288. description: 平仓冻结手续费(先建后平操作,需要记录)
  20289. type: number
  20290. closeqty:
  20291. description: 平仓数量(先建后平操作 需要记录)
  20292. type: number
  20293. closetradeqty:
  20294. description: 平仓成交数量(先建后平操作,需要记录)
  20295. type: number
  20296. closeunfreezecharge:
  20297. description: 平仓解冻手续费(先建后平操作,需要记录)
  20298. type: number
  20299. decimalplace:
  20300. description: 商品报价小数位
  20301. type: integer
  20302. delistingtype:
  20303. description: 摘牌类型 - 1:价格最优 2:点选成交
  20304. type: integer
  20305. enableqty:
  20306. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  20307. type: number
  20308. enumdicname:
  20309. description: 单位名称
  20310. type: string
  20311. freezecharge:
  20312. description: 冻结手续费
  20313. type: number
  20314. freezemargin:
  20315. description: 冻结保证金(冻结交易金额)
  20316. type: number
  20317. goodscode:
  20318. description: 商品代码
  20319. type: string
  20320. goodsid:
  20321. description: 商品ID
  20322. type: integer
  20323. goodsname:
  20324. description: 商品名称
  20325. type: string
  20326. goodunitid:
  20327. description: 商品单位id
  20328. type: integer
  20329. listingselecttype:
  20330. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  20331. type: integer
  20332. marketid:
  20333. description: 市场ID
  20334. type: integer
  20335. marketname:
  20336. description: 市场名称
  20337. type: string
  20338. openfreezecharge:
  20339. description: 开仓冻结手续费(先建后平操作,需要记录)
  20340. type: number
  20341. openqty:
  20342. description: 开仓数量(先建后平操作,需要记录)
  20343. type: number
  20344. opentradeqty:
  20345. description: 开仓成交数量(先建后平操作,需要记录)
  20346. type: number
  20347. openunfreezecharge:
  20348. description: 开仓解冻手续费(先建后平操作,需要记录)
  20349. type: number
  20350. operatetype:
  20351. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  20352. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  20353. 15:管理端协议转让
  20354. type: integer
  20355. operatorid:
  20356. description: 登录账号(LoginID)
  20357. type: integer
  20358. orderid:
  20359. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  20360. type: string
  20361. orderprice:
  20362. description: 委托价格
  20363. type: number
  20364. orderqty:
  20365. description: 委托数量
  20366. type: number
  20367. ordersrc:
  20368. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  20369. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  20370. type: integer
  20371. orderstatus:
  20372. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  20373. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  20374. 16:成交失败违约(荷兰式竞拍专用)
  20375. type: integer
  20376. ordertime:
  20377. description: 委托时间
  20378. type: string
  20379. preorderid:
  20380. description: 关联预埋单号(止盈止损单时填写)
  20381. type: string
  20382. pricemode:
  20383. description: '取价方式 - 1:市价 2: 限价'
  20384. type: integer
  20385. qtydecimalplace:
  20386. description: 商品报价小数位
  20387. type: integer
  20388. relatedid:
  20389. description: 关联单号(交割单)
  20390. type: string
  20391. tradedate:
  20392. description: 交易日(yyyyMMdd)
  20393. type: string
  20394. trademode:
  20395. description: 交易模式
  20396. type: integer
  20397. tradeqty:
  20398. description: 成交数量
  20399. type: number
  20400. unfreezecharge:
  20401. description: 解冻手续费
  20402. type: number
  20403. unfreezemargin:
  20404. description: 解冻保证金
  20405. type: number
  20406. validtime:
  20407. description: 有效期限
  20408. type: string
  20409. validtype:
  20410. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  20411. type: integer
  20412. volumetype:
  20413. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  20414. type: integer
  20415. required:
  20416. - accountid
  20417. - buildtype
  20418. - buyorsell
  20419. - goodsid
  20420. - marketid
  20421. - operatetype
  20422. - orderqty
  20423. - ordertime
  20424. - pricemode
  20425. - tradedate
  20426. - validtype
  20427. type: object
  20428. order.QueryTradePositionRsp:
  20429. properties:
  20430. accountid:
  20431. description: 资金账户
  20432. type: integer
  20433. agreeunit:
  20434. description: 合约单位
  20435. type: number
  20436. averageprice:
  20437. description: 持仓均价
  20438. type: number
  20439. buyorsell:
  20440. description: 方向 - 0:买 1:卖
  20441. type: integer
  20442. closetotalqty:
  20443. description: 平仓总数量
  20444. type: number
  20445. curholderamount:
  20446. description: 当前持仓总金额[商品币种]
  20447. type: number
  20448. curpositionqty:
  20449. description: 当前持仓总数量
  20450. type: number
  20451. currencyid:
  20452. description: 报价货币ID
  20453. type: integer
  20454. curtdposition:
  20455. description: 期末今日头寸
  20456. type: number
  20457. decimalplace:
  20458. description: 报价小数位
  20459. type: integer
  20460. enableqty:
  20461. description: 可用量
  20462. type: number
  20463. fretdposition:
  20464. description: 冻结今日头寸
  20465. type: number
  20466. frozenqty:
  20467. description: 持仓冻结数量
  20468. type: number
  20469. goodscode:
  20470. description: 商品代码
  20471. type: string
  20472. goodsid:
  20473. description: 商品Id
  20474. type: integer
  20475. goodsname:
  20476. description: 商品名称
  20477. type: string
  20478. goodunit:
  20479. description: 报价单位
  20480. type: string
  20481. goodunitid:
  20482. description: 报价单位ID
  20483. type: integer
  20484. holderamount:
  20485. description: 期初持仓总金额[商品币种]
  20486. type: number
  20487. lastprice:
  20488. description: 最新价
  20489. type: number
  20490. marketamount:
  20491. description: 市值
  20492. type: number
  20493. marketid:
  20494. description: 所属市场ID
  20495. type: integer
  20496. openreqqty:
  20497. description: 开仓申请数量(用于比较最大持仓数量)
  20498. type: number
  20499. opentotalqty:
  20500. description: 开仓总数量
  20501. type: number
  20502. otherfrozenqty:
  20503. description: 持仓其他冻结数量(交割冻结)
  20504. type: number
  20505. positionpl:
  20506. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  20507. * 合约单位
  20508. type: number
  20509. positionplrate:
  20510. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  20511. type: number
  20512. positionqty:
  20513. description: 期初持仓数量
  20514. type: number
  20515. qtydecimalplace:
  20516. description: 成交量小数位
  20517. type: integer
  20518. refgoodscode:
  20519. description: 参考商品代码
  20520. type: string
  20521. refgoodsid:
  20522. description: 参考商品ID
  20523. type: integer
  20524. tnqty:
  20525. description: T+N冻结总量
  20526. type: number
  20527. tnusedqty:
  20528. description: T+N使用量(可以使用T+N的冻结数量)
  20529. type: number
  20530. trademode:
  20531. description: 交易模式
  20532. type: integer
  20533. tradeproperty:
  20534. description: 交易属性
  20535. type: integer
  20536. usedmargin:
  20537. description: 占用保证金[商品币种]
  20538. type: number
  20539. required:
  20540. - goodsid
  20541. type: object
  20542. pb.GoodsMarginCfgStruct:
  20543. properties:
  20544. CustomerTypeID:
  20545. description: 投资者客户类型
  20546. type: integer
  20547. GoodsID:
  20548. description: 商品ID
  20549. type: integer
  20550. IsDefault:
  20551. description: 是否默认标志位
  20552. type: integer
  20553. LockMarginValue:
  20554. description: 锁仓保证金
  20555. type: number
  20556. MarginAlgorithm:
  20557. description: 保证金计算方式
  20558. type: integer
  20559. MarketMarginValue:
  20560. description: 即市保证金值
  20561. type: number
  20562. RealMarginAlgorithm:
  20563. description: 实付保证金计算方式
  20564. type: integer
  20565. RealMarginValue:
  20566. description: 实付比例
  20567. type: number
  20568. ReckonMarginValue:
  20569. description: 结算保证金值
  20570. type: number
  20571. type: object
  20572. quote.HistoryData:
  20573. properties:
  20574. c:
  20575. description: 收盘价
  20576. type: number
  20577. f:
  20578. description: 是否补充数据
  20579. type: boolean
  20580. h:
  20581. description: 最高价
  20582. type: number
  20583. hv:
  20584. description: 持仓量
  20585. type: integer
  20586. l:
  20587. description: 最低价
  20588. type: number
  20589. o:
  20590. description: 开盘价
  20591. type: number
  20592. s:
  20593. description: 结算价,日线周期(包括)以上才有
  20594. type: number
  20595. ts:
  20596. description: 时间
  20597. type: string
  20598. tt:
  20599. description: 总金额
  20600. type: number
  20601. tv:
  20602. description: 总量(成交量)
  20603. type: integer
  20604. type: object
  20605. quote.HistoryTikData:
  20606. properties:
  20607. AV:
  20608. description: 卖量
  20609. type: integer
  20610. Ask:
  20611. description: 卖价
  20612. type: number
  20613. BV:
  20614. description: 买量
  20615. type: integer
  20616. Bid:
  20617. description: 买价
  20618. type: number
  20619. HI:
  20620. description: 单笔持仓
  20621. type: integer
  20622. HV:
  20623. description: 持仓量
  20624. type: integer
  20625. PE:
  20626. description: 现价
  20627. type: number
  20628. TDR:
  20629. description: 交易方向,0:买 1:卖
  20630. type: integer
  20631. TK:
  20632. description: 交易类型
  20633. type: integer
  20634. TS:
  20635. description: 行情时间文本
  20636. type: string
  20637. TT:
  20638. description: 现金额
  20639. type: number
  20640. Vol:
  20641. description: 现量
  20642. type: integer
  20643. type: object
  20644. quote.QueryQuoteDayRsp:
  20645. properties:
  20646. ask:
  20647. description: 卖1
  20648. type: number
  20649. ask2:
  20650. description: 卖2
  20651. type: number
  20652. ask3:
  20653. description: 卖3
  20654. type: number
  20655. ask4:
  20656. description: 卖4
  20657. type: number
  20658. ask5:
  20659. description: 卖5
  20660. type: number
  20661. ask6:
  20662. description: 卖6
  20663. type: number
  20664. ask7:
  20665. description: 卖7
  20666. type: number
  20667. ask8:
  20668. description: 卖8
  20669. type: number
  20670. ask9:
  20671. description: 卖9
  20672. type: number
  20673. ask10:
  20674. description: 卖10
  20675. type: number
  20676. askorderid:
  20677. description: 卖单号1
  20678. type: integer
  20679. askorderid2:
  20680. description: 卖单号2
  20681. type: integer
  20682. askorderid3:
  20683. description: 卖单号3
  20684. type: integer
  20685. askorderid4:
  20686. description: 卖单号4
  20687. type: integer
  20688. askorderid5:
  20689. description: 卖单号5
  20690. type: integer
  20691. askordervolume:
  20692. description: 卖单量1
  20693. type: integer
  20694. askordervolume2:
  20695. description: 卖单量2
  20696. type: integer
  20697. askordervolume3:
  20698. description: 卖单量3
  20699. type: integer
  20700. askordervolume4:
  20701. description: 卖单量4
  20702. type: integer
  20703. askordervolume5:
  20704. description: 卖单量5
  20705. type: integer
  20706. askordervolume6:
  20707. description: 卖单量6
  20708. type: integer
  20709. askordervolume7:
  20710. description: 卖单量7
  20711. type: integer
  20712. askordervolume8:
  20713. description: 卖单量8
  20714. type: integer
  20715. askordervolume9:
  20716. description: 卖单量9
  20717. type: integer
  20718. askordervolume10:
  20719. description: 卖单量10
  20720. type: integer
  20721. askqueueinfo:
  20722. description: 大利市卖港股用
  20723. type: string
  20724. askvolume:
  20725. description: 卖量1
  20726. type: integer
  20727. askvolume2:
  20728. description: 卖量2
  20729. type: integer
  20730. askvolume3:
  20731. description: 卖量3
  20732. type: integer
  20733. askvolume4:
  20734. description: 卖量4
  20735. type: integer
  20736. askvolume5:
  20737. description: 卖量5
  20738. type: integer
  20739. askvolume6:
  20740. description: 卖量6
  20741. type: integer
  20742. askvolume7:
  20743. description: 卖量7
  20744. type: integer
  20745. askvolume8:
  20746. description: 卖量8
  20747. type: integer
  20748. askvolume9:
  20749. description: 卖量9
  20750. type: integer
  20751. askvolume10:
  20752. description: 卖量10
  20753. type: integer
  20754. averageprice:
  20755. description: 均价
  20756. type: number
  20757. bid:
  20758. description: 买1
  20759. type: number
  20760. bid2:
  20761. description: 买2
  20762. type: number
  20763. bid3:
  20764. description: 买3
  20765. type: number
  20766. bid4:
  20767. description: 买4
  20768. type: number
  20769. bid5:
  20770. description: 买5
  20771. type: number
  20772. bid6:
  20773. description: 买6
  20774. type: number
  20775. bid7:
  20776. description: 买7
  20777. type: number
  20778. bid8:
  20779. description: 买8
  20780. type: number
  20781. bid9:
  20782. description: 买9
  20783. type: number
  20784. bid10:
  20785. description: 买10
  20786. type: number
  20787. bidorderid:
  20788. description: 买单号1
  20789. type: integer
  20790. bidorderid2:
  20791. description: 买单号2
  20792. type: integer
  20793. bidorderid3:
  20794. description: 买单号3
  20795. type: integer
  20796. bidorderid4:
  20797. description: 买单号4
  20798. type: integer
  20799. bidorderid5:
  20800. description: 买单号5
  20801. type: integer
  20802. bidordervolume:
  20803. description: 买单量1
  20804. type: integer
  20805. bidordervolume2:
  20806. description: 买单量2
  20807. type: integer
  20808. bidordervolume3:
  20809. description: 买单量3
  20810. type: integer
  20811. bidordervolume4:
  20812. description: 买单量4
  20813. type: integer
  20814. bidordervolume5:
  20815. description: 买单量5
  20816. type: integer
  20817. bidordervolume6:
  20818. description: 买单量6
  20819. type: integer
  20820. bidordervolume7:
  20821. description: 买单量7
  20822. type: integer
  20823. bidordervolume8:
  20824. description: 买单量8
  20825. type: integer
  20826. bidordervolume9:
  20827. description: 买单量9
  20828. type: integer
  20829. bidordervolume10:
  20830. description: 买单量10
  20831. type: integer
  20832. bidqueueinfo:
  20833. description: 大利市买港股用
  20834. type: string
  20835. bidvolume:
  20836. description: 买量1
  20837. type: integer
  20838. bidvolume2:
  20839. description: 买量2
  20840. type: integer
  20841. bidvolume3:
  20842. description: 买量3
  20843. type: integer
  20844. bidvolume4:
  20845. description: 买量4
  20846. type: integer
  20847. bidvolume5:
  20848. description: 买量5
  20849. type: integer
  20850. bidvolume6:
  20851. description: 买量6
  20852. type: integer
  20853. bidvolume7:
  20854. description: 买量7
  20855. type: integer
  20856. bidvolume8:
  20857. description: 买量8
  20858. type: integer
  20859. bidvolume9:
  20860. description: 买量9
  20861. type: integer
  20862. bidvolume10:
  20863. description: 买量10
  20864. type: integer
  20865. calloptionpremiums:
  20866. description: 认购期权1
  20867. type: integer
  20868. calloptionpremiums2:
  20869. description: 认购期权2
  20870. type: integer
  20871. calloptionpremiums3:
  20872. description: 认购期权3
  20873. type: integer
  20874. calloptionpremiums4:
  20875. description: 认购期权4
  20876. type: integer
  20877. calloptionpremiums5:
  20878. description: 认购期权5
  20879. type: integer
  20880. cleartime:
  20881. description: 清盘时间
  20882. type: integer
  20883. exchangecode:
  20884. description: 交易所代码
  20885. type: integer
  20886. exchangedate:
  20887. description: 交易日
  20888. type: integer
  20889. goodscode:
  20890. description: 商品代码
  20891. type: string
  20892. grepmarketprice:
  20893. description: 暗盘价 港股专用
  20894. type: number
  20895. highest:
  20896. description: 最高价
  20897. type: number
  20898. holdincrement:
  20899. description: 单笔持仓
  20900. type: integer
  20901. holdvolume:
  20902. description: 持仓
  20903. type: integer
  20904. iep:
  20905. description: 平衡价 港股专用
  20906. type: number
  20907. iev:
  20908. description: 平衡量 港股专用
  20909. type: number
  20910. inventory:
  20911. description: 库存
  20912. type: integer
  20913. iscleared:
  20914. description: 是否清盘标志
  20915. type: integer
  20916. issettled:
  20917. description: 是否结算标志
  20918. type: integer
  20919. last:
  20920. description: 最新价
  20921. type: number
  20922. lastlot:
  20923. description: 最新成交手数
  20924. type: integer
  20925. lasttime:
  20926. description: 行情时间(只有现价变化行情时间才变化)
  20927. type: string
  20928. lastturnover:
  20929. description: 最新成交金额
  20930. type: number
  20931. lastvolume:
  20932. description: 最新成交量
  20933. type: integer
  20934. limitdown:
  20935. description: 跌停价
  20936. type: number
  20937. limitup:
  20938. description: 涨停价
  20939. type: number
  20940. lowest:
  20941. description: 最低价
  20942. type: number
  20943. nontotalholdervolume:
  20944. description: 非交易持仓量
  20945. type: integer
  20946. nontotallot:
  20947. description: 非交易总手数
  20948. type: integer
  20949. nontotalturnover:
  20950. description: 非交易总金额
  20951. type: integer
  20952. nontotalvolume:
  20953. description: 非交易总量
  20954. type: integer
  20955. opened:
  20956. description: 开盘价
  20957. type: number
  20958. opentime:
  20959. description: 开盘时间
  20960. type: string
  20961. orderid:
  20962. description: 序号
  20963. type: integer
  20964. preclose:
  20965. description: 昨收
  20966. type: number
  20967. preholdvolume:
  20968. description: 昨持仓
  20969. type: integer
  20970. presettle:
  20971. description: 昨结价
  20972. type: number
  20973. publictradetype:
  20974. description: 公共交易标志类型 港股专用
  20975. type: string
  20976. putoptionpremiums:
  20977. description: 认沽期权1
  20978. type: integer
  20979. putoptionpremiums2:
  20980. description: 认沽期权2
  20981. type: integer
  20982. putoptionpremiums3:
  20983. description: 认沽期权3
  20984. type: integer
  20985. putoptionpremiums4:
  20986. description: 认沽期权4
  20987. type: integer
  20988. putoptionpremiums5:
  20989. description: 认沽期权5
  20990. type: integer
  20991. settle:
  20992. description: 结算价
  20993. type: number
  20994. strikeprice:
  20995. description: 发行价
  20996. type: number
  20997. totalaskvolume:
  20998. description: 内盘
  20999. type: integer
  21000. totalbidvolume:
  21001. description: 外盘
  21002. type: integer
  21003. totallot:
  21004. description: 总手数
  21005. type: integer
  21006. totalturnover:
  21007. description: 总金额
  21008. type: number
  21009. totalvolume:
  21010. description: 总量
  21011. type: integer
  21012. utclasttime:
  21013. description: utc的行情时间
  21014. type: string
  21015. type: object
  21016. quote.QueryTSDataRsp:
  21017. properties:
  21018. Count:
  21019. description: 交易日应有数据个数
  21020. type: integer
  21021. decimalPlace:
  21022. description: 小数位
  21023. type: integer
  21024. endTime:
  21025. description: 结束时间
  21026. type: string
  21027. goodsCode:
  21028. description: 商品代码
  21029. type: string
  21030. historyDatas:
  21031. description: 历史数据
  21032. items:
  21033. $ref: '#/definitions/quote.HistoryData'
  21034. type: array
  21035. outGoodsCode:
  21036. description: 外部商品代码
  21037. type: string
  21038. preSettle:
  21039. description: 昨结价
  21040. type: number
  21041. runSteps:
  21042. description: 交易日开休市计划
  21043. items:
  21044. $ref: '#/definitions/quote.TSDataRunStep'
  21045. type: array
  21046. startTime:
  21047. description: 开始时间
  21048. type: string
  21049. tradeDate:
  21050. description: 交易日
  21051. type: string
  21052. type: object
  21053. quote.TSDataRunStep:
  21054. properties:
  21055. end:
  21056. description: 真实结束时间
  21057. type: string
  21058. endflag:
  21059. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  21060. type: integer
  21061. endtime:
  21062. description: 结束时间(HH:mm)
  21063. type: string
  21064. endweekday:
  21065. description: 结束周几
  21066. type: integer
  21067. groupid:
  21068. description: 分组ID
  21069. type: integer
  21070. runstep:
  21071. description: 运行阶段 - 2:连续交易
  21072. type: integer
  21073. sectionid:
  21074. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  21075. 结束时间=结算时间 结束周几=结算周几
  21076. type: integer
  21077. start:
  21078. description: 真实开始时间
  21079. type: string
  21080. startflag:
  21081. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  21082. type: integer
  21083. starttime:
  21084. description: 起始时间(HH:mm)
  21085. type: string
  21086. startweekday:
  21087. description: 起始周几
  21088. type: integer
  21089. tradeweekday:
  21090. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  21091. type: integer
  21092. type: object
  21093. szdz.QueryConvertLogRsp:
  21094. properties:
  21095. accountid:
  21096. description: 资金账户ID
  21097. type: integer
  21098. clientticket:
  21099. description: 客户端流水号
  21100. type: string
  21101. converttype:
  21102. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  21103. type: integer
  21104. createtime:
  21105. description: 记账时间
  21106. type: string
  21107. daymaxvalue:
  21108. description: 配置当日最大转入限制
  21109. type: number
  21110. daymaxvalue2:
  21111. description: 配置当日最大转入限制(转入)
  21112. type: number
  21113. goodscode:
  21114. description: 商品代码
  21115. type: string
  21116. goodsname:
  21117. description: 商品名称
  21118. type: string
  21119. handlestatus:
  21120. description: 处理状态
  21121. type: integer
  21122. innergoodsid:
  21123. description: 内部商品ID
  21124. type: integer
  21125. inratio:
  21126. description: 配置转入比值
  21127. type: integer
  21128. invalue:
  21129. description: 目标值
  21130. type: number
  21131. logid:
  21132. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  21133. type: integer
  21134. mobile:
  21135. description: 手机号码(加密存储)
  21136. type: string
  21137. outergoodscode:
  21138. description: 外部商品代码[JD\PD]
  21139. type: string
  21140. outratio:
  21141. description: 配置转出比值
  21142. type: integer
  21143. outvalue:
  21144. description: 源值
  21145. type: number
  21146. pddecimalplace:
  21147. description: PD小数位
  21148. type: integer
  21149. qty:
  21150. description: 数量
  21151. type: string
  21152. remark:
  21153. description: 备注
  21154. type: string
  21155. sessionid:
  21156. description: 会话ID
  21157. type: integer
  21158. timemaxvalue:
  21159. description: 配置单次最大转入限制
  21160. type: number
  21161. timemaxvalue2:
  21162. description: 配置单次最大转入限制(转入)
  21163. type: number
  21164. timeminvalue:
  21165. description: 配置单次最小数量限制
  21166. type: number
  21167. timeminvalue2:
  21168. description: 配置单次最小数量限制(转入)
  21169. type: number
  21170. tradedate:
  21171. description: 交易日(yyyyMMdd)
  21172. type: string
  21173. userid:
  21174. description: 用户ID
  21175. type: integer
  21176. required:
  21177. - logid
  21178. type: object
  21179. szdz.QueryGoodsPickupRsp:
  21180. properties:
  21181. accountid:
  21182. description: 账户ID
  21183. type: integer
  21184. address:
  21185. description: 提货人详细地址
  21186. type: string
  21187. auditer:
  21188. description: 审核人
  21189. type: integer
  21190. audittime:
  21191. description: 审核时间
  21192. type: string
  21193. cardnum:
  21194. description: 提货人证件号码
  21195. type: string
  21196. cardtypeid:
  21197. description: 提货人证件类型
  21198. type: integer
  21199. checkremark:
  21200. description: 审核备注
  21201. type: string
  21202. goodscode:
  21203. description: 商品代码
  21204. type: string
  21205. goodsid:
  21206. description: 商品ID
  21207. type: integer
  21208. goodsname:
  21209. description: 商品名称
  21210. type: string
  21211. handlestatus:
  21212. description: 处理状态
  21213. type: integer
  21214. marketid:
  21215. description: 市场ID
  21216. type: integer
  21217. phonenum:
  21218. description: 提货人联系方式
  21219. type: string
  21220. qty:
  21221. description: 提货数量
  21222. type: number
  21223. recivername:
  21224. description: 提货人姓名
  21225. type: string
  21226. reqtime:
  21227. description: 更新时间
  21228. type: string
  21229. takemode:
  21230. description: 提货方式 - 2:自提 3:配送
  21231. type: integer
  21232. takeorderid:
  21233. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  21234. type: string
  21235. takeorderstatus:
  21236. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  21237. type: integer
  21238. takeremark:
  21239. description: 提货备注
  21240. type: string
  21241. tradedate:
  21242. description: 交易日(yyyyMMdd)
  21243. type: string
  21244. userid:
  21245. description: 用户ID
  21246. type: integer
  21247. required:
  21248. - takeorderid
  21249. type: object
  21250. szdz.QueryRecieptOrderRsp:
  21251. properties:
  21252. accountName:
  21253. description: 所属账号名称(已脱敏)
  21254. type: string
  21255. accountid:
  21256. description: 资金账号
  21257. type: integer
  21258. buyorsell:
  21259. description: 方向 - 0:买 1:卖
  21260. type: integer
  21261. enableqty:
  21262. description: 可摘数量
  21263. type: integer
  21264. goodscode:
  21265. description: 商品代码
  21266. type: string
  21267. goodsid:
  21268. description: 商品ID
  21269. type: integer
  21270. goodsname:
  21271. description: 商品名称
  21272. type: string
  21273. orderid:
  21274. description: 委托单号
  21275. type: string
  21276. orderprice:
  21277. description: 委托价格
  21278. type: number
  21279. ordertime:
  21280. description: 委托时间
  21281. type: string
  21282. tradedate:
  21283. description: 交易日(yyyyMMdd)
  21284. type: string
  21285. required:
  21286. - ordertime
  21287. type: object
  21288. szdz.QuerySZDZTradePositionRsp:
  21289. properties:
  21290. accountid:
  21291. description: 账号Id
  21292. type: integer
  21293. agreeunit:
  21294. description: 合约单位
  21295. type: number
  21296. averageprice:
  21297. description: 持仓均价
  21298. type: number
  21299. buyorsell:
  21300. description: 方向 - 0:买 1:卖
  21301. type: integer
  21302. closetotalqty:
  21303. description: 平仓总数量
  21304. type: integer
  21305. curholderamount:
  21306. description: 当前持仓总金额
  21307. type: number
  21308. curpositionqty:
  21309. description: 当前持仓总数量
  21310. type: integer
  21311. currencyid:
  21312. description: 报价货币ID
  21313. type: integer
  21314. curtdposition:
  21315. description: 期末今日头寸
  21316. type: integer
  21317. decimalplace:
  21318. description: 报价小数位
  21319. type: integer
  21320. enableqty:
  21321. description: 可用量
  21322. type: integer
  21323. fretdposition:
  21324. description: 冻结今日头寸
  21325. type: integer
  21326. frozenqty:
  21327. description: 持仓冻结数量
  21328. type: integer
  21329. goodscode:
  21330. description: 商品代码(内部)
  21331. type: string
  21332. goodsid:
  21333. description: 商品Id
  21334. type: integer
  21335. goodsname:
  21336. description: 商品名称
  21337. type: string
  21338. goodunit:
  21339. description: 报价单位
  21340. type: string
  21341. goodunitid:
  21342. description: 报价单位ID
  21343. type: integer
  21344. holderamount:
  21345. description: 期初持仓总金额
  21346. type: number
  21347. marketid:
  21348. description: 市场ID
  21349. type: integer
  21350. openreqqty:
  21351. description: 开仓申请数量
  21352. type: integer
  21353. opentotalqty:
  21354. description: 开仓总数量
  21355. type: integer
  21356. otherfrozenqty:
  21357. description: 持仓其他冻结数量(交割冻结)
  21358. type: integer
  21359. positionqty:
  21360. description: 期初持仓数量
  21361. type: integer
  21362. szdz3freezqty:
  21363. description: 尚志大宗转换冻结总数量
  21364. type: integer
  21365. tnqty:
  21366. description: T+N冻结总量
  21367. type: integer
  21368. tnusedqty:
  21369. description: T+N使用量
  21370. type: integer
  21371. trademode:
  21372. description: 交易模式
  21373. type: integer
  21374. usedmargin:
  21375. description: 占用保证金
  21376. type: number
  21377. type: object
  21378. taaccount.QueryAmountLogRsp:
  21379. properties:
  21380. OPERATETYPENAME:
  21381. description: 资金操作类型名称
  21382. type: string
  21383. accountid:
  21384. description: 资金账户ID
  21385. type: integer
  21386. agoodscode:
  21387. description: 竞拍商品代码
  21388. type: string
  21389. agoodsname:
  21390. description: 竞拍商品名称
  21391. type: string
  21392. amount:
  21393. description: 资金金额
  21394. type: number
  21395. amountadjusttype:
  21396. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  21397. type: integer
  21398. autoid:
  21399. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  21400. type: integer
  21401. balance:
  21402. description: 期初余额
  21403. type: number
  21404. businesscode:
  21405. description: 业务编号
  21406. type: integer
  21407. createtime:
  21408. description: 发生时间
  21409. type: string
  21410. currencyid:
  21411. description: 币种ID
  21412. type: integer
  21413. currentbalance:
  21414. description: 期末余额(变动后金额)
  21415. type: number
  21416. dgoodscode:
  21417. description: 交割商品代码
  21418. type: string
  21419. dgoodsname:
  21420. description: 交割商品名称
  21421. type: string
  21422. goodscode:
  21423. description: 商品代码
  21424. type: string
  21425. goodsid:
  21426. description: 商品ID
  21427. type: integer
  21428. goodsname:
  21429. description: 商品名称
  21430. type: string
  21431. marketid:
  21432. description: 市场ID
  21433. type: integer
  21434. marketname:
  21435. description: 市场名称
  21436. type: string
  21437. moneyticket:
  21438. description: 资金流水号:银行端流水号
  21439. type: integer
  21440. operatetype:
  21441. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  21442. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  21443. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  21444. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  21445. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  21446. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  21447. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  21448. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  21449. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  21450. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  21451. type: integer
  21452. relationorderid:
  21453. description: 关联单号
  21454. type: string
  21455. remark:
  21456. description: 备注
  21457. type: string
  21458. trademode:
  21459. description: 交易模式
  21460. type: integer
  21461. required:
  21462. - accountid
  21463. - amount
  21464. - amountadjusttype
  21465. - autoid
  21466. - balance
  21467. - createtime
  21468. - currentbalance
  21469. - operatetype
  21470. type: object
  21471. taaccount.QueryHisAmountLogRsp:
  21472. properties:
  21473. OPERATETYPENAME:
  21474. description: 资金操作类型名称
  21475. type: string
  21476. accountid:
  21477. description: 资金账户ID
  21478. type: integer
  21479. agoodscode:
  21480. description: 竞拍商品代码
  21481. type: string
  21482. agoodsname:
  21483. description: 竞拍商品名称
  21484. type: string
  21485. amount:
  21486. description: 资金金额
  21487. type: number
  21488. amountadjusttype:
  21489. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  21490. type: integer
  21491. autoid:
  21492. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  21493. type: integer
  21494. balance:
  21495. description: 期初余额
  21496. type: number
  21497. businesscode:
  21498. description: 业务编号
  21499. type: integer
  21500. createtime:
  21501. description: 发生时间
  21502. type: string
  21503. currencyid:
  21504. description: 币种ID
  21505. type: integer
  21506. currentbalance:
  21507. description: 期末余额(变动后金额)
  21508. type: number
  21509. dgoodscode:
  21510. description: 交割商品代码
  21511. type: string
  21512. dgoodsname:
  21513. description: 交割商品名称
  21514. type: string
  21515. goodscode:
  21516. description: 商品代码
  21517. type: string
  21518. goodsid:
  21519. description: 商品ID
  21520. type: integer
  21521. goodsname:
  21522. description: 商品名称
  21523. type: string
  21524. histradedate:
  21525. description: 历史交易日
  21526. type: string
  21527. isvaliddata:
  21528. description: 是否有效 - 0:无效 1:有效
  21529. type: integer
  21530. marketid:
  21531. description: 市场ID
  21532. type: integer
  21533. marketname:
  21534. description: 市场名称
  21535. type: string
  21536. moneyticket:
  21537. description: 资金流水号:银行端流水号
  21538. type: integer
  21539. operatetype:
  21540. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  21541. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  21542. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  21543. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  21544. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  21545. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  21546. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  21547. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  21548. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  21549. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  21550. type: integer
  21551. relationorderid:
  21552. description: 关联单号
  21553. type: string
  21554. remark:
  21555. description: 备注
  21556. type: string
  21557. trademode:
  21558. description: 交易模式
  21559. type: integer
  21560. required:
  21561. - accountid
  21562. - amount
  21563. - amountadjusttype
  21564. - autoid
  21565. - balance
  21566. - createtime
  21567. - currentbalance
  21568. - histradedate
  21569. - operatetype
  21570. type: object
  21571. trade.QueryRecieptOrderRsp:
  21572. properties:
  21573. accountName:
  21574. description: 所属账号名称(已脱敏)
  21575. type: string
  21576. accountid:
  21577. description: 资金账号
  21578. type: integer
  21579. buyorsell:
  21580. description: 方向 - 0:买 1:卖
  21581. type: integer
  21582. enableqty:
  21583. description: 可摘数量
  21584. type: integer
  21585. goodscode:
  21586. description: 商品代码
  21587. type: string
  21588. goodsid:
  21589. description: 商品ID
  21590. type: integer
  21591. goodsname:
  21592. description: 商品名称
  21593. type: string
  21594. orderid:
  21595. description: 委托单号
  21596. type: string
  21597. orderprice:
  21598. description: 委托价格
  21599. type: number
  21600. ordertime:
  21601. description: 委托时间
  21602. type: string
  21603. tradedate:
  21604. description: 交易日(yyyyMMdd)
  21605. type: string
  21606. required:
  21607. - ordertime
  21608. type: object
  21609. user.LoginQueryRsp:
  21610. properties:
  21611. areaRoles:
  21612. description: 所属角色信息
  21613. items:
  21614. $ref: '#/definitions/models.Arearole'
  21615. type: array
  21616. externalExchanges:
  21617. description: 外部交易所
  21618. items:
  21619. $ref: '#/definitions/models.Externalexchange'
  21620. type: array
  21621. goodsgroups:
  21622. description: 商品组
  21623. items:
  21624. $ref: '#/definitions/models.Goodsgroup'
  21625. type: array
  21626. loginAccount:
  21627. $ref: '#/definitions/models.Loginaccount'
  21628. description: 登录账号
  21629. markets:
  21630. description: 市场
  21631. items:
  21632. $ref: '#/definitions/models.Market'
  21633. type: array
  21634. systemParams:
  21635. description: 系统参数
  21636. items:
  21637. $ref: '#/definitions/models.Systemparam'
  21638. type: array
  21639. userAccount:
  21640. $ref: '#/definitions/models.Useraccount'
  21641. description: 用户账号
  21642. userInfo:
  21643. $ref: '#/definitions/models.Userinfo'
  21644. description: 用户信息
  21645. username:
  21646. description: 用户姓名
  21647. type: string
  21648. type: object
  21649. info:
  21650. contact: {}
  21651. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  21652. termsOfService: http://www.muchinfo.cn
  21653. title: MTP2.0 查询服务 API
  21654. version: "1.0"
  21655. paths:
  21656. /CPTrade/QueryCPTradeMyBidInfos:
  21657. get:
  21658. parameters:
  21659. - description: 资金账户
  21660. in: query
  21661. name: accountid
  21662. required: true
  21663. type: integer
  21664. - description: 预售市场ID
  21665. in: query
  21666. name: marketid
  21667. type: integer
  21668. - description: 预售商品ID
  21669. in: query
  21670. name: goodsid
  21671. type: integer
  21672. produces:
  21673. - application/json
  21674. responses:
  21675. "200":
  21676. description: OK
  21677. schema:
  21678. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  21679. "500":
  21680. description: Internal Server Error
  21681. schema:
  21682. $ref: '#/definitions/app.Response'
  21683. security:
  21684. - ApiKeyAuth: []
  21685. summary: 查询产能预售我的出价信息
  21686. tags:
  21687. - 产能预售
  21688. /CPTrade/QueryCPTradeOrderDetail:
  21689. get:
  21690. parameters:
  21691. - description: 预售商品ID
  21692. in: query
  21693. name: goodsid
  21694. type: integer
  21695. - description: 预售市场ID
  21696. in: query
  21697. name: marketid
  21698. type: integer
  21699. - description: 预售商品ID列表 - 格式:1,2,3
  21700. in: query
  21701. name: goodsids
  21702. type: string
  21703. produces:
  21704. - application/json
  21705. responses:
  21706. "200":
  21707. description: OK
  21708. schema:
  21709. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  21710. "500":
  21711. description: Internal Server Error
  21712. schema:
  21713. $ref: '#/definitions/app.Response'
  21714. security:
  21715. - ApiKeyAuth: []
  21716. summary: 查询产能预售委托单信息
  21717. tags:
  21718. - 产能预售
  21719. /CPTrade/QueryMyCPTradeGoods:
  21720. get:
  21721. parameters:
  21722. - description: 资金账户
  21723. in: query
  21724. name: accountid
  21725. required: true
  21726. type: integer
  21727. produces:
  21728. - application/json
  21729. responses:
  21730. "200":
  21731. description: OK
  21732. schema:
  21733. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  21734. "500":
  21735. description: Internal Server Error
  21736. schema:
  21737. $ref: '#/definitions/app.Response'
  21738. security:
  21739. - ApiKeyAuth: []
  21740. summary: 查询我的预售信息
  21741. tags:
  21742. - 产能预售
  21743. /CPTrade/QueryPositionCancel:
  21744. get:
  21745. parameters:
  21746. - description: 账户ID
  21747. in: query
  21748. name: userid
  21749. required: true
  21750. type: integer
  21751. - description: 注销ID
  21752. in: query
  21753. name: cancelid
  21754. type: integer
  21755. - description: 资金账户ID
  21756. in: query
  21757. name: accountid
  21758. type: integer
  21759. produces:
  21760. - application/json
  21761. responses:
  21762. "200":
  21763. description: OK
  21764. schema:
  21765. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  21766. "500":
  21767. description: Internal Server Error
  21768. schema:
  21769. $ref: '#/definitions/app.Response'
  21770. security:
  21771. - ApiKeyAuth: []
  21772. summary: 查询远期订单注销申请信息
  21773. tags:
  21774. - 产能预售
  21775. /CPTrade/QueryPreasleApply:
  21776. get:
  21777. parameters:
  21778. - description: 账户ID
  21779. in: query
  21780. name: userid
  21781. required: true
  21782. type: integer
  21783. - description: 申请ID
  21784. in: query
  21785. name: applyid
  21786. type: integer
  21787. - description: 资金账户ID
  21788. in: query
  21789. name: accountid
  21790. type: integer
  21791. produces:
  21792. - application/json
  21793. responses:
  21794. "200":
  21795. description: OK
  21796. schema:
  21797. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  21798. "500":
  21799. description: Internal Server Error
  21800. schema:
  21801. $ref: '#/definitions/app.Response'
  21802. security:
  21803. - ApiKeyAuth: []
  21804. summary: 查询产能预售申请信息
  21805. tags:
  21806. - 产能预售
  21807. /CPTrade/QueryPresaleGoodsEx:
  21808. get:
  21809. parameters:
  21810. - description: 预售商品ID
  21811. in: query
  21812. name: goodsid
  21813. type: integer
  21814. - description: 预售市场ID
  21815. in: query
  21816. name: marketid
  21817. type: integer
  21818. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  21819. in: query
  21820. name: presalemode
  21821. type: integer
  21822. - description: 预售商品ID列表 - 格式:1,2,3
  21823. in: query
  21824. name: goodsids
  21825. type: string
  21826. - description: 预售商品代码
  21827. in: query
  21828. name: goodscode
  21829. type: string
  21830. produces:
  21831. - application/json
  21832. responses:
  21833. "200":
  21834. description: OK
  21835. schema:
  21836. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  21837. "500":
  21838. description: Internal Server Error
  21839. schema:
  21840. $ref: '#/definitions/app.Response'
  21841. security:
  21842. - ApiKeyAuth: []
  21843. summary: 查询产能预售商品扩展信息
  21844. tags:
  21845. - 产能预售
  21846. /CPTrade/QueryUserGoodsData:
  21847. get:
  21848. parameters:
  21849. - description: 资金账户ID
  21850. in: query
  21851. name: accountid
  21852. required: true
  21853. type: integer
  21854. produces:
  21855. - application/json
  21856. responses:
  21857. "200":
  21858. description: OK
  21859. schema:
  21860. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  21861. "500":
  21862. description: Internal Server Error
  21863. schema:
  21864. $ref: '#/definitions/app.Response'
  21865. security:
  21866. - ApiKeyAuth: []
  21867. summary: 查询远期订单信息
  21868. tags:
  21869. - 产能预售
  21870. /Common/GetAllEnums:
  21871. get:
  21872. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  21873. parameters:
  21874. - description: 起始自增ID
  21875. in: query
  21876. name: autoid
  21877. type: integer
  21878. produces:
  21879. - application/json
  21880. responses:
  21881. "200":
  21882. description: OK
  21883. schema:
  21884. $ref: '#/definitions/models.Enumdicitem'
  21885. "500":
  21886. description: Internal Server Error
  21887. schema:
  21888. $ref: '#/definitions/app.Response'
  21889. summary: 获取所有枚举信息
  21890. tags:
  21891. - 通用服务
  21892. /Common/GetClientMenus:
  21893. get:
  21894. parameters:
  21895. - description: 登录账号
  21896. in: query
  21897. name: loginID
  21898. required: true
  21899. type: integer
  21900. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  21901. in: query
  21902. name: clientType
  21903. type: integer
  21904. - description: 分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台
  21905. in: query
  21906. name: name
  21907. type: string
  21908. produces:
  21909. - application/json
  21910. responses:
  21911. "200":
  21912. description: OK
  21913. schema:
  21914. items:
  21915. $ref: '#/definitions/common.ClientMenu'
  21916. type: array
  21917. "500":
  21918. description: Internal Server Error
  21919. schema:
  21920. $ref: '#/definitions/app.Response'
  21921. security:
  21922. - ApiKeyAuth: []
  21923. summary: 获取交易端菜单
  21924. tags:
  21925. - 通用服务
  21926. /Common/GetDivisions:
  21927. get:
  21928. produces:
  21929. - application/json
  21930. responses:
  21931. "200":
  21932. description: OK
  21933. schema:
  21934. $ref: '#/definitions/models.Division'
  21935. "500":
  21936. description: Internal Server Error
  21937. schema:
  21938. $ref: '#/definitions/app.Response'
  21939. summary: 查询区域信息
  21940. tags:
  21941. - 通用服务
  21942. /Common/GetPCWebMenus:
  21943. get:
  21944. parameters:
  21945. - description: 登录账号
  21946. in: query
  21947. name: loginID
  21948. required: true
  21949. type: integer
  21950. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  21951. in: query
  21952. name: name
  21953. type: string
  21954. produces:
  21955. - application/json
  21956. responses:
  21957. "200":
  21958. description: OK
  21959. schema:
  21960. items:
  21961. $ref: '#/definitions/common.PCWebMenu'
  21962. type: array
  21963. "500":
  21964. description: Internal Server Error
  21965. schema:
  21966. $ref: '#/definitions/app.Response'
  21967. security:
  21968. - ApiKeyAuth: []
  21969. summary: 获取PCWeb交易端菜单
  21970. tags:
  21971. - 通用服务
  21972. /Common/GetServerTime:
  21973. get:
  21974. produces:
  21975. - application/json
  21976. responses:
  21977. "200":
  21978. description: OK
  21979. schema:
  21980. $ref: '#/definitions/app.Response'
  21981. "500":
  21982. description: Internal Server Error
  21983. schema:
  21984. $ref: '#/definitions/app.Response'
  21985. summary: 获取服务器时间
  21986. tags:
  21987. - 通用服务
  21988. /Common/NoticeReaded:
  21989. post:
  21990. parameters:
  21991. - description: 登录账号
  21992. in: query
  21993. name: loginID
  21994. required: true
  21995. type: integer
  21996. - description: 通知公告ID
  21997. in: query
  21998. name: noticeID
  21999. required: true
  22000. type: integer
  22001. produces:
  22002. - application/json
  22003. responses:
  22004. "200":
  22005. description: OK
  22006. schema:
  22007. $ref: '#/definitions/app.Response'
  22008. "500":
  22009. description: Internal Server Error
  22010. schema:
  22011. $ref: '#/definitions/app.Response'
  22012. security:
  22013. - ApiKeyAuth: []
  22014. summary: 通知公告设置已读请求
  22015. tags:
  22016. - 通用服务
  22017. /Common/QueryErrorInfos:
  22018. get:
  22019. description: 如果传入rowNumber,则返回此rowNumber后的数据
  22020. parameters:
  22021. - description: 起始行号前索引
  22022. in: query
  22023. name: rowNumber
  22024. type: string
  22025. produces:
  22026. - application/json
  22027. responses:
  22028. "200":
  22029. description: OK
  22030. schema:
  22031. $ref: '#/definitions/models.QueryErrorInfosRsp'
  22032. "500":
  22033. description: Internal Server Error
  22034. schema:
  22035. $ref: '#/definitions/app.Response'
  22036. summary: 获取数据库错误信息
  22037. tags:
  22038. - 通用服务
  22039. /Common/QueryImageConfigs:
  22040. get:
  22041. parameters:
  22042. - description: 用户id
  22043. in: query
  22044. name: userId
  22045. type: integer
  22046. - description: 类型 - 1:App首页轮播 2:我的 3:首页(PC) 4:首页推广(移动-新会)
  22047. in: query
  22048. name: imageType
  22049. type: integer
  22050. produces:
  22051. - application/json
  22052. responses:
  22053. "200":
  22054. description: OK
  22055. schema:
  22056. $ref: '#/definitions/common.QueryImageConfigsRsp'
  22057. "500":
  22058. description: Internal Server Error
  22059. schema:
  22060. $ref: '#/definitions/app.Response'
  22061. summary: 查询轮播图配置信息
  22062. tags:
  22063. - 通用服务
  22064. /Common/QueryNotice:
  22065. get:
  22066. parameters:
  22067. - description: 页码
  22068. in: query
  22069. name: page
  22070. type: integer
  22071. - description: 每页条数
  22072. in: query
  22073. name: pagesize
  22074. type: integer
  22075. - description: 登录账号
  22076. in: query
  22077. name: loginID
  22078. required: true
  22079. type: integer
  22080. - description: 消息类型 - 1:公告通知 2:系统消息
  22081. in: query
  22082. name: msgType
  22083. type: integer
  22084. - description: 是否只获取未读信息
  22085. in: query
  22086. name: onlyUnRead
  22087. type: boolean
  22088. - description: 自增ID,传入后会返回这个ID后面的记录
  22089. in: query
  22090. name: lastID
  22091. type: integer
  22092. produces:
  22093. - application/json
  22094. responses:
  22095. "200":
  22096. description: OK
  22097. schema:
  22098. $ref: '#/definitions/common.QueryNoticeRsp'
  22099. "500":
  22100. description: Internal Server Error
  22101. schema:
  22102. $ref: '#/definitions/app.Response'
  22103. security:
  22104. - ApiKeyAuth: []
  22105. summary: 通知公告系统消息查询
  22106. tags:
  22107. - 通用服务
  22108. /Common/QueryProvincesAndCities:
  22109. get:
  22110. parameters:
  22111. - description: 省ID
  22112. in: query
  22113. name: provinceID
  22114. type: integer
  22115. produces:
  22116. - application/json
  22117. responses:
  22118. "200":
  22119. description: OK
  22120. schema:
  22121. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  22122. "500":
  22123. description: Internal Server Error
  22124. schema:
  22125. $ref: '#/definitions/app.Response'
  22126. summary: 查询省市信息(不包括区)
  22127. tags:
  22128. - 通用服务
  22129. /Common/QueryTableDefine:
  22130. get:
  22131. parameters:
  22132. - description: 表key
  22133. in: query
  22134. name: tableKey
  22135. type: string
  22136. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  22137. in: query
  22138. name: tableType
  22139. type: integer
  22140. produces:
  22141. - application/json
  22142. responses:
  22143. "200":
  22144. description: OK
  22145. schema:
  22146. $ref: '#/definitions/common.QueryTableDefineRsp'
  22147. "500":
  22148. description: Internal Server Error
  22149. schema:
  22150. $ref: '#/definitions/app.Response'
  22151. summary: 查询交易端列表头信息
  22152. tags:
  22153. - 通用服务
  22154. /Common/QueryTraderMenu:
  22155. get:
  22156. parameters:
  22157. - description: 登录账号
  22158. in: query
  22159. name: loginid
  22160. required: true
  22161. type: integer
  22162. produces:
  22163. - application/json
  22164. responses:
  22165. "200":
  22166. description: OK
  22167. schema:
  22168. $ref: '#/definitions/common.QueryTraderMenuRsp'
  22169. "500":
  22170. description: Internal Server Error
  22171. schema:
  22172. $ref: '#/definitions/app.Response'
  22173. summary: 查询交易端菜单
  22174. tags:
  22175. - 通用服务
  22176. /Delivery/QueryDeliveryRelation:
  22177. get:
  22178. parameters:
  22179. - description: 商品ID
  22180. in: query
  22181. name: goodsid
  22182. type: integer
  22183. - description: 品种ID
  22184. in: query
  22185. name: deliverygoodsid
  22186. type: integer
  22187. - description: 市场ID
  22188. in: query
  22189. name: marketid
  22190. type: integer
  22191. produces:
  22192. - application/json
  22193. responses:
  22194. "200":
  22195. description: OK
  22196. schema:
  22197. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  22198. "500":
  22199. description: Internal Server Error
  22200. schema:
  22201. $ref: '#/definitions/app.Response'
  22202. security:
  22203. - ApiKeyAuth: []
  22204. summary: 查询商品交割关系表
  22205. tags:
  22206. - 交割服务
  22207. /Ermcp/GetErmcpGoods:
  22208. get:
  22209. parameters:
  22210. - description: 用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)
  22211. in: query
  22212. name: userid
  22213. type: integer
  22214. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  22215. in: query
  22216. name: lastUpdateTime
  22217. type: string
  22218. produces:
  22219. - application/json
  22220. responses:
  22221. "200":
  22222. description: OK
  22223. schema:
  22224. $ref: '#/definitions/models.ErmcpGoods'
  22225. "500":
  22226. description: Internal Server Error
  22227. schema:
  22228. $ref: '#/definitions/app.Response'
  22229. security:
  22230. - ApiKeyAuth: []
  22231. summary: 查询企业风管期货商品信息
  22232. tags:
  22233. - 企业风险管理(app)
  22234. /Ermcp/GetErmcpGoodsSortByPosition:
  22235. get:
  22236. parameters:
  22237. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  22238. in: query
  22239. name: sortIndex
  22240. type: string
  22241. produces:
  22242. - application/json
  22243. responses:
  22244. "200":
  22245. description: OK
  22246. schema:
  22247. $ref: '#/definitions/models.Goodssortbypreposition'
  22248. "500":
  22249. description: Internal Server Error
  22250. schema:
  22251. $ref: '#/definitions/app.Response'
  22252. security:
  22253. - ApiKeyAuth: []
  22254. summary: 查询企业风管期货主力、次主力商品信息
  22255. tags:
  22256. - 企业风险管理(app)
  22257. /Ermcp/GetErmcpOutAccountStatus:
  22258. get:
  22259. parameters:
  22260. - description: 登录账号
  22261. in: query
  22262. name: loginID
  22263. required: true
  22264. type: integer
  22265. produces:
  22266. - application/json
  22267. responses:
  22268. "200":
  22269. description: OK
  22270. schema:
  22271. $ref: '#/definitions/models.Hedgemarketopenlog'
  22272. "500":
  22273. description: Internal Server Error
  22274. schema:
  22275. $ref: '#/definitions/app.Response'
  22276. security:
  22277. - ApiKeyAuth: []
  22278. summary: 获取目标登录账号当前对冲账号在线状态
  22279. tags:
  22280. - 企业风险管理(app)
  22281. /Ermcp/GetErmcpRoleFuncMenuLists:
  22282. get:
  22283. parameters:
  22284. - description: 登录账号
  22285. in: query
  22286. name: loginID
  22287. required: true
  22288. type: integer
  22289. produces:
  22290. - application/json
  22291. responses:
  22292. "200":
  22293. description: OK
  22294. schema:
  22295. $ref: '#/definitions/models.Funcmenulist'
  22296. "500":
  22297. description: Internal Server Error
  22298. schema:
  22299. $ref: '#/definitions/app.Response'
  22300. security:
  22301. - ApiKeyAuth: []
  22302. summary: 获取企业风管终端权限
  22303. tags:
  22304. - 企业风险管理(app)
  22305. /Ermcp/QueryAccMgrBizGroupSet:
  22306. get:
  22307. parameters:
  22308. - description: 用户ID
  22309. in: query
  22310. name: userid
  22311. required: true
  22312. type: integer
  22313. - description: 现货商品id
  22314. in: query
  22315. name: deliverygoodsid
  22316. type: integer
  22317. produces:
  22318. - application/json
  22319. responses:
  22320. "200":
  22321. description: OK
  22322. schema:
  22323. items:
  22324. $ref: '#/definitions/models.ErmcpBizGroupEx'
  22325. type: array
  22326. "500":
  22327. description: Internal Server Error
  22328. schema:
  22329. $ref: '#/definitions/app.Response'
  22330. security:
  22331. - ApiKeyAuth: []
  22332. summary: 查询业务类型分组(账户管理/账户设置)
  22333. tags:
  22334. - 企业风险管理(app)
  22335. /Ermcp/QueryAccMgrLoginUser:
  22336. get:
  22337. parameters:
  22338. - description: 用户ID
  22339. in: query
  22340. name: userid
  22341. required: true
  22342. type: integer
  22343. - description: 用户类型 2-机构 7-企业成员
  22344. in: query
  22345. name: usertype
  22346. type: integer
  22347. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  22348. in: query
  22349. name: querytype
  22350. required: true
  22351. type: integer
  22352. produces:
  22353. - application/json
  22354. responses:
  22355. "200":
  22356. description: OK
  22357. schema:
  22358. items:
  22359. $ref: '#/definitions/models.ErmcpLoginUserEx'
  22360. type: array
  22361. "500":
  22362. description: Internal Server Error
  22363. schema:
  22364. $ref: '#/definitions/app.Response'
  22365. security:
  22366. - ApiKeyAuth: []
  22367. summary: 查询账户管理登录账号(账户管理/登录账号)
  22368. tags:
  22369. - 企业风险管理(app)
  22370. /Ermcp/QueryAccMgrMainAccountInfo:
  22371. get:
  22372. parameters:
  22373. - description: 用户ID
  22374. in: query
  22375. name: userid
  22376. type: integer
  22377. - description: 主账号id
  22378. in: query
  22379. name: accountid
  22380. type: integer
  22381. produces:
  22382. - application/json
  22383. responses:
  22384. "200":
  22385. description: OK
  22386. schema:
  22387. items:
  22388. $ref: '#/definitions/models.MainAccountInfo'
  22389. type: array
  22390. "500":
  22391. description: Internal Server Error
  22392. schema:
  22393. $ref: '#/definitions/app.Response'
  22394. security:
  22395. - ApiKeyAuth: []
  22396. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  22397. tags:
  22398. - 企业风险管理(app)
  22399. /Ermcp/QueryAccMgrRole:
  22400. get:
  22401. parameters:
  22402. - description: 用户ID
  22403. in: query
  22404. name: userid
  22405. required: true
  22406. type: integer
  22407. produces:
  22408. - application/json
  22409. responses:
  22410. "200":
  22411. description: OK
  22412. schema:
  22413. items:
  22414. $ref: '#/definitions/models.ErmcpRole'
  22415. type: array
  22416. "500":
  22417. description: Internal Server Error
  22418. schema:
  22419. $ref: '#/definitions/app.Response'
  22420. security:
  22421. - ApiKeyAuth: []
  22422. summary: 查询账户管理角色设置(账户管理/角色设置)
  22423. tags:
  22424. - 企业风险管理(app)
  22425. /Ermcp/QueryAccMgrRoleMenu:
  22426. get:
  22427. parameters:
  22428. - description: 用户ID
  22429. in: query
  22430. name: userid
  22431. required: true
  22432. type: integer
  22433. - description: 角色id(可多个,逗号隔开)
  22434. in: query
  22435. name: roleid
  22436. type: string
  22437. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  22438. in: query
  22439. name: menutype
  22440. type: integer
  22441. produces:
  22442. - application/json
  22443. responses:
  22444. "200":
  22445. description: OK
  22446. schema:
  22447. items:
  22448. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  22449. type: array
  22450. "500":
  22451. description: Internal Server Error
  22452. schema:
  22453. $ref: '#/definitions/app.Response'
  22454. security:
  22455. - ApiKeyAuth: []
  22456. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  22457. tags:
  22458. - 企业风险管理(app)
  22459. /Ermcp/QueryAccMgrTaAccountInfo:
  22460. get:
  22461. parameters:
  22462. - description: 用户ID
  22463. in: query
  22464. name: userid
  22465. required: true
  22466. type: integer
  22467. - description: 账号id
  22468. in: query
  22469. name: accountid
  22470. type: integer
  22471. produces:
  22472. - application/json
  22473. responses:
  22474. "200":
  22475. description: OK
  22476. schema:
  22477. items:
  22478. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  22479. type: array
  22480. "500":
  22481. description: Internal Server Error
  22482. schema:
  22483. $ref: '#/definitions/app.Response'
  22484. security:
  22485. - ApiKeyAuth: []
  22486. summary: 查询账户管理授信(账户管理/账户设置/授信)
  22487. tags:
  22488. - 企业风险管理(app)
  22489. /Ermcp/QueryAccMgrTaaccount:
  22490. get:
  22491. parameters:
  22492. - description: 用户ID
  22493. in: query
  22494. name: userid
  22495. required: true
  22496. type: integer
  22497. produces:
  22498. - application/json
  22499. responses:
  22500. "200":
  22501. description: OK
  22502. schema:
  22503. items:
  22504. $ref: '#/definitions/models.ErmcpTaAccountEx'
  22505. type: array
  22506. "500":
  22507. description: Internal Server Error
  22508. schema:
  22509. $ref: '#/definitions/app.Response'
  22510. security:
  22511. - ApiKeyAuth: []
  22512. summary: 查询账户管理期货账号(账户管理/期货账号)
  22513. tags:
  22514. - 企业风险管理(app)
  22515. /Ermcp/QueryAvaildGoodsGroup:
  22516. get:
  22517. parameters:
  22518. - description: 所属机构ID
  22519. in: query
  22520. name: userid
  22521. required: true
  22522. type: integer
  22523. produces:
  22524. - application/json
  22525. responses:
  22526. "200":
  22527. description: OK
  22528. schema:
  22529. items:
  22530. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  22531. type: array
  22532. "500":
  22533. description: Internal Server Error
  22534. schema:
  22535. $ref: '#/definitions/app.Response'
  22536. security:
  22537. - ApiKeyAuth: []
  22538. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  22539. tags:
  22540. - 企业风险管理(app)
  22541. /Ermcp/QueryBusinessDj:
  22542. get:
  22543. parameters:
  22544. - description: 用户ID
  22545. in: query
  22546. name: UserId
  22547. required: true
  22548. type: integer
  22549. - description: 用户类型 2-机构 7-企业成员
  22550. in: query
  22551. name: usertype
  22552. type: integer
  22553. - description: 现货合同ID, 不填则查所有
  22554. in: query
  22555. name: relatedid
  22556. type: string
  22557. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22558. in: query
  22559. name: applystatus
  22560. type: string
  22561. produces:
  22562. - application/json
  22563. responses:
  22564. "200":
  22565. description: OK
  22566. schema:
  22567. items:
  22568. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  22569. type: array
  22570. "500":
  22571. description: Internal Server Error
  22572. schema:
  22573. $ref: '#/definitions/app.Response'
  22574. security:
  22575. - ApiKeyAuth: []
  22576. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  22577. tags:
  22578. - 企业风险管理(app)
  22579. /Ermcp/QueryBusinessFp:
  22580. get:
  22581. parameters:
  22582. - description: 用户ID
  22583. in: query
  22584. name: UserId
  22585. required: true
  22586. type: integer
  22587. - description: 用户类型 2-机构 7-企业成员
  22588. in: query
  22589. name: usertype
  22590. type: integer
  22591. - description: 现货合同ID, 不填则查所有
  22592. in: query
  22593. name: relatedid
  22594. type: string
  22595. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22596. in: query
  22597. name: applystatus
  22598. type: string
  22599. produces:
  22600. - application/json
  22601. responses:
  22602. "200":
  22603. description: OK
  22604. schema:
  22605. items:
  22606. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  22607. type: array
  22608. "500":
  22609. description: Internal Server Error
  22610. schema:
  22611. $ref: '#/definitions/app.Response'
  22612. security:
  22613. - ApiKeyAuth: []
  22614. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  22615. tags:
  22616. - 企业风险管理(app)
  22617. /Ermcp/QueryBusinessJs:
  22618. get:
  22619. parameters:
  22620. - description: 用户ID
  22621. in: query
  22622. name: UserId
  22623. required: true
  22624. type: integer
  22625. - description: 用户类型 2-机构 7-企业成员
  22626. in: query
  22627. name: usertype
  22628. type: integer
  22629. - description: 现货合同ID, 不填则查所有
  22630. in: query
  22631. name: relatedid
  22632. type: string
  22633. - description: 操作申请id
  22634. in: query
  22635. name: operateapplyid
  22636. type: string
  22637. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22638. in: query
  22639. name: applystatus
  22640. type: string
  22641. produces:
  22642. - application/json
  22643. responses:
  22644. "200":
  22645. description: OK
  22646. schema:
  22647. items:
  22648. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  22649. type: array
  22650. "500":
  22651. description: Internal Server Error
  22652. schema:
  22653. $ref: '#/definitions/app.Response'
  22654. security:
  22655. - ApiKeyAuth: []
  22656. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  22657. tags:
  22658. - 企业风险管理(app)
  22659. /Ermcp/QueryBusinessJsEx:
  22660. get:
  22661. parameters:
  22662. - description: 用户ID
  22663. in: query
  22664. name: UserId
  22665. required: true
  22666. type: integer
  22667. - description: 用户类型 2-机构 7-企业成员
  22668. in: query
  22669. name: usertype
  22670. type: integer
  22671. - description: 现货合同ID, 不填则查所有
  22672. in: query
  22673. name: relatedid
  22674. type: string
  22675. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22676. in: query
  22677. name: applystatus
  22678. type: string
  22679. produces:
  22680. - application/json
  22681. responses:
  22682. "200":
  22683. description: OK
  22684. schema:
  22685. items:
  22686. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  22687. type: array
  22688. "500":
  22689. description: Internal Server Error
  22690. schema:
  22691. $ref: '#/definitions/app.Response'
  22692. security:
  22693. - ApiKeyAuth: []
  22694. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  22695. tags:
  22696. - 企业风险管理(app)
  22697. /Ermcp/QueryBusinessKx:
  22698. get:
  22699. parameters:
  22700. - description: 用户ID
  22701. in: query
  22702. name: UserId
  22703. required: true
  22704. type: integer
  22705. - description: 用户类型 2-机构 7-企业成员
  22706. in: query
  22707. name: usertype
  22708. type: integer
  22709. - description: 现货合同ID, 不填则查所有
  22710. in: query
  22711. name: relatedid
  22712. type: string
  22713. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22714. in: query
  22715. name: applystatus
  22716. type: string
  22717. produces:
  22718. - application/json
  22719. responses:
  22720. "200":
  22721. description: OK
  22722. schema:
  22723. items:
  22724. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  22725. type: array
  22726. "500":
  22727. description: Internal Server Error
  22728. schema:
  22729. $ref: '#/definitions/app.Response'
  22730. security:
  22731. - ApiKeyAuth: []
  22732. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  22733. tags:
  22734. - 企业风险管理(app)
  22735. /Ermcp/QueryChangeLog:
  22736. get:
  22737. parameters:
  22738. - description: 合同ID
  22739. in: query
  22740. name: RelatedId
  22741. required: true
  22742. type: string
  22743. produces:
  22744. - application/json
  22745. responses:
  22746. "200":
  22747. description: OK
  22748. schema:
  22749. items:
  22750. $ref: '#/definitions/ermcp.QryOPLogRsp'
  22751. type: array
  22752. "500":
  22753. description: Internal Server Error
  22754. schema:
  22755. $ref: '#/definitions/app.Response'
  22756. security:
  22757. - ApiKeyAuth: []
  22758. summary: 查询变更记录
  22759. tags:
  22760. - 企业风险管理(app)
  22761. /Ermcp/QueryErmcpHisOrderDetails:
  22762. get:
  22763. parameters:
  22764. - description: 资金账户ID
  22765. in: query
  22766. name: accountID
  22767. required: true
  22768. type: integer
  22769. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  22770. in: query
  22771. name: startDate
  22772. type: string
  22773. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  22774. in: query
  22775. name: endDate
  22776. type: string
  22777. produces:
  22778. - application/json
  22779. responses:
  22780. "200":
  22781. description: OK
  22782. schema:
  22783. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  22784. "500":
  22785. description: Internal Server Error
  22786. schema:
  22787. $ref: '#/definitions/app.Response'
  22788. security:
  22789. - ApiKeyAuth: []
  22790. summary: 获取企业风管期货历史委托单信息
  22791. tags:
  22792. - 企业风险管理(app)
  22793. /Ermcp/QueryErmcpHisTradeDetails:
  22794. get:
  22795. parameters:
  22796. - description: 资金账户ID
  22797. in: query
  22798. name: accountID
  22799. required: true
  22800. type: integer
  22801. - description: 商品ID
  22802. in: query
  22803. name: goodsID
  22804. type: integer
  22805. - description: 买卖方向,0:买 1:卖
  22806. in: query
  22807. name: buyOrSell
  22808. type: integer
  22809. - description: 关联委托单号
  22810. in: query
  22811. name: orderID
  22812. type: integer
  22813. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  22814. in: query
  22815. name: startDate
  22816. type: string
  22817. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  22818. in: query
  22819. name: endDate
  22820. type: string
  22821. produces:
  22822. - application/json
  22823. responses:
  22824. "200":
  22825. description: OK
  22826. schema:
  22827. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  22828. "500":
  22829. description: Internal Server Error
  22830. schema:
  22831. $ref: '#/definitions/app.Response'
  22832. security:
  22833. - ApiKeyAuth: []
  22834. summary: 获取企业风管期货历史成交单信息
  22835. tags:
  22836. - 企业风险管理(app)
  22837. /Ermcp/QueryErmcpInnerHolderDetails:
  22838. get:
  22839. parameters:
  22840. - description: 资金账户ID
  22841. in: query
  22842. name: accountID
  22843. required: true
  22844. type: integer
  22845. - description: 商品ID
  22846. in: query
  22847. name: goodsID
  22848. type: integer
  22849. - description: 买卖方向,0:买 1:卖
  22850. in: query
  22851. name: buyOrSell
  22852. type: integer
  22853. produces:
  22854. - application/json
  22855. responses:
  22856. "200":
  22857. description: OK
  22858. schema:
  22859. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  22860. "500":
  22861. description: Internal Server Error
  22862. schema:
  22863. $ref: '#/definitions/app.Response'
  22864. security:
  22865. - ApiKeyAuth: []
  22866. summary: 获取企业风管期货内部持仓单信息
  22867. tags:
  22868. - 企业风险管理(app)
  22869. /Ermcp/QueryErmcpOrderDetails:
  22870. get:
  22871. parameters:
  22872. - description: 资金账户ID
  22873. in: query
  22874. name: accountID
  22875. required: true
  22876. type: integer
  22877. produces:
  22878. - application/json
  22879. responses:
  22880. "200":
  22881. description: OK
  22882. schema:
  22883. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  22884. "500":
  22885. description: Internal Server Error
  22886. schema:
  22887. $ref: '#/definitions/app.Response'
  22888. security:
  22889. - ApiKeyAuth: []
  22890. summary: 获取企业风管期货委托单信息
  22891. tags:
  22892. - 企业风险管理(app)
  22893. /Ermcp/QueryErmcpTradeDetails:
  22894. get:
  22895. parameters:
  22896. - description: 资金账户ID
  22897. in: query
  22898. name: accountID
  22899. required: true
  22900. type: integer
  22901. - description: 商品ID
  22902. in: query
  22903. name: goodsID
  22904. type: integer
  22905. - description: 买卖方向,0:买 1:卖
  22906. in: query
  22907. name: buyOrSell
  22908. type: integer
  22909. - description: 关联委托单号
  22910. in: query
  22911. name: orderID
  22912. type: integer
  22913. produces:
  22914. - application/json
  22915. responses:
  22916. "200":
  22917. description: OK
  22918. schema:
  22919. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  22920. "500":
  22921. description: Internal Server Error
  22922. schema:
  22923. $ref: '#/definitions/app.Response'
  22924. security:
  22925. - ApiKeyAuth: []
  22926. summary: 获取企业风管期货成交单信息
  22927. tags:
  22928. - 企业风险管理(app)
  22929. /Ermcp/QueryErmcpTradePosition:
  22930. get:
  22931. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  22932. parameters:
  22933. - description: 资金账户ID
  22934. in: query
  22935. name: accountID
  22936. required: true
  22937. type: integer
  22938. - description: 所属市场ID
  22939. in: query
  22940. name: marketID
  22941. type: integer
  22942. produces:
  22943. - application/json
  22944. responses:
  22945. "200":
  22946. description: OK
  22947. schema:
  22948. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  22949. "500":
  22950. description: Internal Server Error
  22951. schema:
  22952. $ref: '#/definitions/app.Response'
  22953. security:
  22954. - ApiKeyAuth: []
  22955. summary: 获取企业风管期货持仓头寸信息
  22956. tags:
  22957. - 企业风险管理(app)
  22958. /Ermcp/QueryExposureDetail:
  22959. get:
  22960. parameters:
  22961. - description: 所属机构ID
  22962. in: query
  22963. name: areaUserId
  22964. required: true
  22965. type: integer
  22966. - description: 套保商品
  22967. in: query
  22968. name: middleGoodsId
  22969. required: true
  22970. type: integer
  22971. produces:
  22972. - application/json
  22973. responses:
  22974. "200":
  22975. description: OK
  22976. schema:
  22977. items:
  22978. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  22979. type: array
  22980. "500":
  22981. description: Internal Server Error
  22982. schema:
  22983. $ref: '#/definitions/app.Response'
  22984. security:
  22985. - ApiKeyAuth: []
  22986. summary: 查询敞口现货明细
  22987. tags:
  22988. - 企业风险管理(app)
  22989. /Ermcp/QueryExposureGoods:
  22990. get:
  22991. parameters:
  22992. - description: 套保商品id
  22993. in: query
  22994. name: middlegoodsid
  22995. required: true
  22996. type: integer
  22997. produces:
  22998. - application/json
  22999. responses:
  23000. "200":
  23001. description: OK
  23002. schema:
  23003. items:
  23004. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  23005. type: array
  23006. "500":
  23007. description: Internal Server Error
  23008. schema:
  23009. $ref: '#/definitions/app.Response'
  23010. security:
  23011. - ApiKeyAuth: []
  23012. summary: 查询敞口主力合约
  23013. tags:
  23014. - 企业风险管理(app)
  23015. /Ermcp/QueryExposureHedgePosition:
  23016. get:
  23017. parameters:
  23018. - description: 用户id
  23019. in: query
  23020. name: userid
  23021. required: true
  23022. type: integer
  23023. produces:
  23024. - application/json
  23025. responses:
  23026. "200":
  23027. description: OK
  23028. schema:
  23029. items:
  23030. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  23031. type: array
  23032. "500":
  23033. description: Internal Server Error
  23034. schema:
  23035. $ref: '#/definitions/app.Response'
  23036. security:
  23037. - ApiKeyAuth: []
  23038. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  23039. tags:
  23040. - 企业风险管理(app)
  23041. /Ermcp/QueryExposureHedgePositionDetail:
  23042. get:
  23043. parameters:
  23044. - description: 所属机构ID
  23045. in: query
  23046. name: userid
  23047. required: true
  23048. type: integer
  23049. - description: 商品id
  23050. in: query
  23051. name: goodsId
  23052. required: true
  23053. type: integer
  23054. produces:
  23055. - application/json
  23056. responses:
  23057. "200":
  23058. description: OK
  23059. schema:
  23060. items:
  23061. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  23062. type: array
  23063. "500":
  23064. description: Internal Server Error
  23065. schema:
  23066. $ref: '#/definitions/app.Response'
  23067. security:
  23068. - ApiKeyAuth: []
  23069. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  23070. tags:
  23071. - 企业风险管理(app)
  23072. /Ermcp/QueryExposureSpot:
  23073. get:
  23074. parameters:
  23075. - description: 所属机构ID
  23076. in: query
  23077. name: areaUserId
  23078. required: true
  23079. type: integer
  23080. produces:
  23081. - application/json
  23082. responses:
  23083. "200":
  23084. description: OK
  23085. schema:
  23086. items:
  23087. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  23088. type: array
  23089. "500":
  23090. description: Internal Server Error
  23091. schema:
  23092. $ref: '#/definitions/app.Response'
  23093. security:
  23094. - ApiKeyAuth: []
  23095. summary: 查询敞口现货头寸(敞口/现货头寸)
  23096. tags:
  23097. - 企业风险管理(app)
  23098. /Ermcp/QueryExposureSpotDetail:
  23099. get:
  23100. parameters:
  23101. - description: 所属机构ID
  23102. in: query
  23103. name: areaUserId
  23104. required: true
  23105. type: integer
  23106. - description: 现货品种ID
  23107. in: query
  23108. name: wrstandardId
  23109. required: true
  23110. type: integer
  23111. produces:
  23112. - application/json
  23113. responses:
  23114. "200":
  23115. description: OK
  23116. schema:
  23117. items:
  23118. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  23119. type: array
  23120. "500":
  23121. description: Internal Server Error
  23122. schema:
  23123. $ref: '#/definitions/app.Response'
  23124. security:
  23125. - ApiKeyAuth: []
  23126. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  23127. tags:
  23128. - 企业风险管理(app)
  23129. /Ermcp/QueryFuturesCompany:
  23130. get:
  23131. produces:
  23132. - application/json
  23133. responses:
  23134. "200":
  23135. description: OK
  23136. schema:
  23137. items:
  23138. $ref: '#/definitions/models.ErmcpFuturesCompany'
  23139. type: array
  23140. "500":
  23141. description: Internal Server Error
  23142. schema:
  23143. $ref: '#/definitions/app.Response'
  23144. security:
  23145. - ApiKeyAuth: []
  23146. summary: 查询期货公司
  23147. tags:
  23148. - 企业风险管理(app)
  23149. /Ermcp/QueryGGConvertConfig:
  23150. get:
  23151. parameters:
  23152. - description: 品种id(不填则查所有)
  23153. in: query
  23154. name: goodsgroupid
  23155. type: integer
  23156. produces:
  23157. - application/json
  23158. responses:
  23159. "200":
  23160. description: OK
  23161. schema:
  23162. items:
  23163. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  23164. type: array
  23165. "500":
  23166. description: Internal Server Error
  23167. schema:
  23168. $ref: '#/definitions/app.Response'
  23169. security:
  23170. - ApiKeyAuth: []
  23171. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  23172. tags:
  23173. - 企业风险管理(app)
  23174. /Ermcp/QueryGoodsBrand:
  23175. get:
  23176. parameters:
  23177. - description: 用户ID
  23178. in: query
  23179. name: userid
  23180. required: true
  23181. type: integer
  23182. - description: 现货商品ID
  23183. in: query
  23184. name: wrstandardid
  23185. type: integer
  23186. produces:
  23187. - application/json
  23188. responses:
  23189. "200":
  23190. description: OK
  23191. schema:
  23192. items:
  23193. $ref: '#/definitions/models.ErmcpGoodsBrand'
  23194. type: array
  23195. "500":
  23196. description: Internal Server Error
  23197. schema:
  23198. $ref: '#/definitions/app.Response'
  23199. security:
  23200. - ApiKeyAuth: []
  23201. summary: 查询商品品牌
  23202. tags:
  23203. - 企业风险管理(app)
  23204. /Ermcp/QueryGoodsModel:
  23205. get:
  23206. parameters:
  23207. - description: 用户ID
  23208. in: query
  23209. name: userid
  23210. required: true
  23211. type: integer
  23212. produces:
  23213. - application/json
  23214. responses:
  23215. "200":
  23216. description: OK
  23217. schema:
  23218. items:
  23219. $ref: '#/definitions/models.ErmcpGoodsModel'
  23220. type: array
  23221. "500":
  23222. description: Internal Server Error
  23223. schema:
  23224. $ref: '#/definitions/app.Response'
  23225. security:
  23226. - ApiKeyAuth: []
  23227. summary: 查询商品型号
  23228. tags:
  23229. - 企业风险管理(app)
  23230. /Ermcp/QueryHisExposure:
  23231. get:
  23232. parameters:
  23233. - description: 用户id
  23234. in: query
  23235. name: userid
  23236. required: true
  23237. type: integer
  23238. - description: 每个品种记录数
  23239. in: query
  23240. name: lastNum
  23241. required: true
  23242. type: integer
  23243. produces:
  23244. - application/json
  23245. responses:
  23246. "200":
  23247. description: OK
  23248. schema:
  23249. items:
  23250. $ref: '#/definitions/ermcp.HisExposureRsp'
  23251. type: array
  23252. "500":
  23253. description: Internal Server Error
  23254. schema:
  23255. $ref: '#/definitions/app.Response'
  23256. security:
  23257. - ApiKeyAuth: []
  23258. summary: 查询历史敞口(菜单:敞口/历史敞口)
  23259. tags:
  23260. - 企业风险管理(app)
  23261. /Ermcp/QueryMiddleGoods:
  23262. get:
  23263. parameters:
  23264. - description: 所属机构ID
  23265. in: query
  23266. name: userid
  23267. required: true
  23268. type: integer
  23269. - description: 状态 0-停用 1-正常
  23270. in: query
  23271. name: status
  23272. required: true
  23273. type: integer
  23274. produces:
  23275. - application/json
  23276. responses:
  23277. "200":
  23278. description: OK
  23279. schema:
  23280. items:
  23281. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  23282. type: array
  23283. "500":
  23284. description: Internal Server Error
  23285. schema:
  23286. $ref: '#/definitions/app.Response'
  23287. security:
  23288. - ApiKeyAuth: []
  23289. summary: 查询套保品种(菜单:套保品种)
  23290. tags:
  23291. - 企业风险管理(app)
  23292. /Ermcp/QueryMiddleGoodsChangeLog:
  23293. get:
  23294. parameters:
  23295. - description: 所属机构ID
  23296. in: query
  23297. name: userid
  23298. required: true
  23299. type: integer
  23300. - description: 套保品种id
  23301. in: query
  23302. name: middlegoodsid
  23303. required: true
  23304. type: integer
  23305. produces:
  23306. - application/json
  23307. responses:
  23308. "200":
  23309. description: OK
  23310. schema:
  23311. items:
  23312. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  23313. type: array
  23314. "500":
  23315. description: Internal Server Error
  23316. schema:
  23317. $ref: '#/definitions/app.Response'
  23318. security:
  23319. - ApiKeyAuth: []
  23320. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  23321. tags:
  23322. - 企业风险管理(app)
  23323. /Ermcp/QueryMiddleGoodsDetail:
  23324. get:
  23325. parameters:
  23326. - description: 所属机构ID
  23327. in: query
  23328. name: userid
  23329. required: true
  23330. type: integer
  23331. - description: 套保品种id
  23332. in: query
  23333. name: middlegoodsid
  23334. type: integer
  23335. produces:
  23336. - application/json
  23337. responses:
  23338. "200":
  23339. description: OK
  23340. schema:
  23341. items:
  23342. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  23343. type: array
  23344. "500":
  23345. description: Internal Server Error
  23346. schema:
  23347. $ref: '#/definitions/app.Response'
  23348. security:
  23349. - ApiKeyAuth: []
  23350. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  23351. tags:
  23352. - 企业风险管理(app)
  23353. /Ermcp/QueryPendingAuditInfo:
  23354. get:
  23355. parameters:
  23356. - description: 用户ID
  23357. in: query
  23358. name: UserId
  23359. required: true
  23360. type: integer
  23361. produces:
  23362. - application/json
  23363. responses:
  23364. "200":
  23365. description: OK
  23366. schema:
  23367. items:
  23368. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  23369. type: array
  23370. "500":
  23371. description: Internal Server Error
  23372. schema:
  23373. $ref: '#/definitions/app.Response'
  23374. security:
  23375. - ApiKeyAuth: []
  23376. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  23377. tags:
  23378. - 企业风险管理(app)
  23379. /Ermcp/QueryRealtimeExposure:
  23380. get:
  23381. parameters:
  23382. - description: 所属机构ID
  23383. in: query
  23384. name: userid
  23385. required: true
  23386. type: integer
  23387. produces:
  23388. - application/json
  23389. responses:
  23390. "200":
  23391. description: OK
  23392. schema:
  23393. items:
  23394. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  23395. type: array
  23396. "500":
  23397. description: Internal Server Error
  23398. schema:
  23399. $ref: '#/definitions/app.Response'
  23400. security:
  23401. - ApiKeyAuth: []
  23402. summary: 查询实时敞口
  23403. tags:
  23404. - 企业风险管理(app)
  23405. /Ermcp/QueryRealtimeExposurePosition:
  23406. get:
  23407. parameters:
  23408. - description: 用户id
  23409. in: query
  23410. name: userid
  23411. required: true
  23412. type: integer
  23413. - description: 套保商品ID
  23414. in: query
  23415. name: middleGoodsId
  23416. required: true
  23417. type: integer
  23418. produces:
  23419. - application/json
  23420. responses:
  23421. "200":
  23422. description: OK
  23423. schema:
  23424. items:
  23425. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  23426. type: array
  23427. "500":
  23428. description: Internal Server Error
  23429. schema:
  23430. $ref: '#/definitions/app.Response'
  23431. security:
  23432. - ApiKeyAuth: []
  23433. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  23434. tags:
  23435. - 企业风险管理(app)
  23436. /Ermcp/QueryRoleMenu:
  23437. get:
  23438. parameters:
  23439. - description: 登录ID
  23440. in: query
  23441. name: loginid
  23442. required: true
  23443. type: integer
  23444. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  23445. in: query
  23446. name: menutype
  23447. type: integer
  23448. produces:
  23449. - application/json
  23450. responses:
  23451. "200":
  23452. description: OK
  23453. schema:
  23454. items:
  23455. $ref: '#/definitions/models.RoleMenu'
  23456. type: array
  23457. "500":
  23458. description: Internal Server Error
  23459. schema:
  23460. $ref: '#/definitions/app.Response'
  23461. security:
  23462. - ApiKeyAuth: []
  23463. summary: 查询角色菜单和权限
  23464. tags:
  23465. - 企业风险管理(app)
  23466. /Ermcp/QueryTradeConfigTMP:
  23467. get:
  23468. parameters:
  23469. - description: 所属机构id
  23470. in: query
  23471. name: areauserid
  23472. type: integer
  23473. produces:
  23474. - application/json
  23475. responses:
  23476. "200":
  23477. description: OK
  23478. schema:
  23479. items:
  23480. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  23481. type: array
  23482. "500":
  23483. description: Internal Server Error
  23484. schema:
  23485. $ref: '#/definitions/app.Response'
  23486. security:
  23487. - ApiKeyAuth: []
  23488. summary: 查询交易模板配置
  23489. tags:
  23490. - 企业风险管理(app)
  23491. /Ermcp/QueryUserInfo:
  23492. get:
  23493. parameters:
  23494. - description: 所属机构用户ID
  23495. in: query
  23496. name: MemberUserID
  23497. required: true
  23498. type: integer
  23499. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  23500. in: query
  23501. name: queryType
  23502. required: true
  23503. type: integer
  23504. produces:
  23505. - application/json
  23506. responses:
  23507. "200":
  23508. description: OK
  23509. schema:
  23510. items:
  23511. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  23512. type: array
  23513. "500":
  23514. description: Internal Server Error
  23515. schema:
  23516. $ref: '#/definitions/app.Response'
  23517. security:
  23518. - ApiKeyAuth: []
  23519. summary: 查询客户资料
  23520. tags:
  23521. - 企业风险管理(app)
  23522. /Ermcp/QueryWarehouseInfo:
  23523. get:
  23524. parameters:
  23525. - description: 用户ID
  23526. in: query
  23527. name: userid
  23528. required: true
  23529. type: integer
  23530. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  23531. in: query
  23532. name: status
  23533. type: string
  23534. produces:
  23535. - application/json
  23536. responses:
  23537. "200":
  23538. description: OK
  23539. schema:
  23540. items:
  23541. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  23542. type: array
  23543. "500":
  23544. description: Internal Server Error
  23545. schema:
  23546. $ref: '#/definitions/app.Response'
  23547. security:
  23548. - ApiKeyAuth: []
  23549. summary: 查询仓库信息
  23550. tags:
  23551. - 企业风险管理(app)
  23552. /Ermcp3/QryAreaExpourseContractDetail:
  23553. get:
  23554. parameters:
  23555. - description: 用户ID
  23556. in: query
  23557. name: userid
  23558. required: true
  23559. type: integer
  23560. - description: 套保商品id
  23561. in: query
  23562. name: middlegoodsid
  23563. required: true
  23564. type: integer
  23565. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23566. in: query
  23567. name: cycletype
  23568. required: true
  23569. type: integer
  23570. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23571. 全(0)【原值】
  23572. in: query
  23573. name: cycletime
  23574. required: true
  23575. type: string
  23576. produces:
  23577. - application/json
  23578. responses:
  23579. "200":
  23580. description: OK
  23581. schema:
  23582. items:
  23583. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  23584. type: array
  23585. "500":
  23586. description: Internal Server Error
  23587. schema:
  23588. $ref: '#/definitions/app.Response'
  23589. security:
  23590. - ApiKeyAuth: []
  23591. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  23592. tags:
  23593. - 企业风险管理v3(app)
  23594. /Ermcp3/QryAreaExpourseFutuDetail:
  23595. get:
  23596. parameters:
  23597. - description: 用户ID
  23598. in: query
  23599. name: userid
  23600. required: true
  23601. type: integer
  23602. - description: 套保商品id
  23603. in: query
  23604. name: middlegoodsid
  23605. required: true
  23606. type: integer
  23607. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23608. in: query
  23609. name: cycletype
  23610. required: true
  23611. type: integer
  23612. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23613. 全(0)【原值】
  23614. in: query
  23615. name: cycletime
  23616. required: true
  23617. type: string
  23618. produces:
  23619. - application/json
  23620. responses:
  23621. "200":
  23622. description: OK
  23623. schema:
  23624. items:
  23625. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  23626. type: array
  23627. "500":
  23628. description: Internal Server Error
  23629. schema:
  23630. $ref: '#/definitions/app.Response'
  23631. security:
  23632. - ApiKeyAuth: []
  23633. summary: 查询敞口期货明细(敞口报表/期货明细)
  23634. tags:
  23635. - 企业风险管理v3(app)
  23636. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  23637. get:
  23638. parameters:
  23639. - description: 用户ID
  23640. in: query
  23641. name: userid
  23642. required: true
  23643. type: integer
  23644. - description: 套保商品id
  23645. in: query
  23646. name: middlegoodsid
  23647. required: true
  23648. type: integer
  23649. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23650. in: query
  23651. name: cycletype
  23652. required: true
  23653. type: integer
  23654. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23655. 全(0)【原值】
  23656. in: query
  23657. name: cycletime
  23658. required: true
  23659. type: string
  23660. produces:
  23661. - application/json
  23662. responses:
  23663. "200":
  23664. description: OK
  23665. schema:
  23666. items:
  23667. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  23668. type: array
  23669. "500":
  23670. description: Internal Server Error
  23671. schema:
  23672. $ref: '#/definitions/app.Response'
  23673. security:
  23674. - ApiKeyAuth: []
  23675. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  23676. tags:
  23677. - 企业风险管理v3(app)
  23678. /Ermcp3/QryAreaExpourseParamChLogDetail:
  23679. get:
  23680. parameters:
  23681. - description: 用户ID
  23682. in: query
  23683. name: userid
  23684. required: true
  23685. type: integer
  23686. - description: 套保商品id
  23687. in: query
  23688. name: middlegoodsid
  23689. required: true
  23690. type: integer
  23691. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23692. in: query
  23693. name: cycletype
  23694. required: true
  23695. type: integer
  23696. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23697. 全(0)【原值】
  23698. in: query
  23699. name: cycletime
  23700. required: true
  23701. type: string
  23702. produces:
  23703. - application/json
  23704. responses:
  23705. "200":
  23706. description: OK
  23707. schema:
  23708. items:
  23709. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  23710. type: array
  23711. "500":
  23712. description: Internal Server Error
  23713. schema:
  23714. $ref: '#/definitions/app.Response'
  23715. security:
  23716. - ApiKeyAuth: []
  23717. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  23718. tags:
  23719. - 企业风险管理v3(app)
  23720. /Ermcp3/QryAreaExpourseReport:
  23721. get:
  23722. parameters:
  23723. - description: 用户ID
  23724. in: query
  23725. name: userid
  23726. required: true
  23727. type: integer
  23728. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  23729. in: query
  23730. name: querytype
  23731. required: true
  23732. type: integer
  23733. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23734. in: query
  23735. name: cycletype
  23736. required: true
  23737. type: integer
  23738. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23739. 全(0)【原值】
  23740. in: query
  23741. name: cycletime
  23742. required: true
  23743. type: string
  23744. produces:
  23745. - application/json
  23746. responses:
  23747. "200":
  23748. description: OK
  23749. schema:
  23750. items:
  23751. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  23752. type: array
  23753. "500":
  23754. description: Internal Server Error
  23755. schema:
  23756. $ref: '#/definitions/app.Response'
  23757. security:
  23758. - ApiKeyAuth: []
  23759. summary: 查询敞口报表
  23760. tags:
  23761. - 企业风险管理v3(app)
  23762. /Ermcp3/QryAreaSpotplReport:
  23763. get:
  23764. description: 目前pcweb的日/周/月报表与手机端的汇总维度不同, 所以增加了可选参数sumflag参数, pcweb请填1
  23765. parameters:
  23766. - description: 用户ID
  23767. in: query
  23768. name: userid
  23769. required: true
  23770. type: integer
  23771. - description: 查询类型 1-报表 2-报表明细
  23772. in: query
  23773. name: querytype
  23774. required: true
  23775. type: integer
  23776. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23777. in: query
  23778. name: cycletype
  23779. required: true
  23780. type: integer
  23781. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23782. 全(0)【原值】
  23783. in: query
  23784. name: cycletime
  23785. required: true
  23786. type: string
  23787. - description: 现货品种id(明细必填)
  23788. in: query
  23789. name: deliverygoodsid
  23790. type: integer
  23791. - description: 币种id(明细必填)
  23792. in: query
  23793. name: currencyid
  23794. type: integer
  23795. - description: 日/周/月报表汇总维度 1:品种+品类
  23796. in: query
  23797. name: sumflag
  23798. type: integer
  23799. produces:
  23800. - application/json
  23801. responses:
  23802. "200":
  23803. description: OK
  23804. schema:
  23805. items:
  23806. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  23807. type: array
  23808. "500":
  23809. description: Internal Server Error
  23810. schema:
  23811. $ref: '#/definitions/app.Response'
  23812. security:
  23813. - ApiKeyAuth: []
  23814. summary: 查询现货报表
  23815. tags:
  23816. - 企业风险管理v3(app)
  23817. /Ermcp3/QryAreaStockReport:
  23818. get:
  23819. parameters:
  23820. - description: 用户ID
  23821. in: query
  23822. name: userid
  23823. required: true
  23824. type: integer
  23825. - description: 查询类型 1-报表 2-报表明细
  23826. in: query
  23827. name: querytype
  23828. required: true
  23829. type: integer
  23830. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23831. in: query
  23832. name: cycletype
  23833. required: true
  23834. type: integer
  23835. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23836. 全(0)【原值】
  23837. in: query
  23838. name: cycletime
  23839. required: true
  23840. type: string
  23841. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  23842. in: query
  23843. name: sumfields
  23844. type: string
  23845. - description: 品种ID
  23846. in: query
  23847. name: deliverygoodsid
  23848. type: integer
  23849. - description: 品类ID
  23850. in: query
  23851. name: wrstandardid
  23852. type: integer
  23853. - description: 品牌ID
  23854. in: query
  23855. name: spotgoodsbrandid
  23856. type: integer
  23857. - description: 仓库ID
  23858. in: query
  23859. name: warehouseinfoid
  23860. type: integer
  23861. produces:
  23862. - application/json
  23863. responses:
  23864. "200":
  23865. description: OK
  23866. schema:
  23867. items:
  23868. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  23869. type: array
  23870. "500":
  23871. description: Internal Server Error
  23872. schema:
  23873. $ref: '#/definitions/app.Response'
  23874. security:
  23875. - ApiKeyAuth: []
  23876. summary: 查询库存报表
  23877. tags:
  23878. - 企业风险管理v3(app)
  23879. /Ermcp3/QryAreaSumPL:
  23880. get:
  23881. parameters:
  23882. - description: 用户ID
  23883. in: query
  23884. name: userid
  23885. required: true
  23886. type: integer
  23887. - description: 查询类型 1-报表 2-报表明细
  23888. in: query
  23889. name: querytype
  23890. required: true
  23891. type: integer
  23892. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23893. in: query
  23894. name: cycletype
  23895. required: true
  23896. type: integer
  23897. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23898. 全(0)【原值】
  23899. in: query
  23900. name: cycletime
  23901. required: true
  23902. type: string
  23903. - description: 币种id(明细必填)
  23904. in: query
  23905. name: currencyid
  23906. type: integer
  23907. produces:
  23908. - application/json
  23909. responses:
  23910. "200":
  23911. description: OK
  23912. schema:
  23913. items:
  23914. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  23915. type: array
  23916. "500":
  23917. description: Internal Server Error
  23918. schema:
  23919. $ref: '#/definitions/app.Response'
  23920. security:
  23921. - ApiKeyAuth: []
  23922. summary: 查询汇总损益表
  23923. tags:
  23924. - 企业风险管理v3(app)
  23925. /Ermcp3/QryFinanceReport:
  23926. get:
  23927. parameters:
  23928. - description: 用户ID
  23929. in: query
  23930. name: userid
  23931. required: true
  23932. type: integer
  23933. - description: 查询类型 1-报表 2-报表明细
  23934. in: query
  23935. name: querytype
  23936. required: true
  23937. type: integer
  23938. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23939. in: query
  23940. name: cycletype
  23941. required: true
  23942. type: integer
  23943. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23944. 全(0)【原值】
  23945. in: query
  23946. name: cycletime
  23947. required: true
  23948. type: string
  23949. - description: 币种id(报表明细必填)
  23950. in: query
  23951. name: currencyid
  23952. type: integer
  23953. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  23954. in: query
  23955. name: sumfields
  23956. type: string
  23957. produces:
  23958. - application/json
  23959. responses:
  23960. "200":
  23961. description: OK
  23962. schema:
  23963. items:
  23964. $ref: '#/definitions/models.Ermcp3FinanceReport'
  23965. type: array
  23966. "500":
  23967. description: Internal Server Error
  23968. schema:
  23969. $ref: '#/definitions/app.Response'
  23970. security:
  23971. - ApiKeyAuth: []
  23972. summary: 查询财务报表
  23973. tags:
  23974. - 企业风险管理v3(app)
  23975. /Ermcp3/QrySCMiddleGoodsReport:
  23976. get:
  23977. parameters:
  23978. - description: 用户ID
  23979. in: query
  23980. name: userid
  23981. required: true
  23982. type: integer
  23983. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23984. in: query
  23985. name: cycletype
  23986. required: true
  23987. type: integer
  23988. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23989. 全(0)【原值】
  23990. in: query
  23991. name: cycletime
  23992. required: true
  23993. type: string
  23994. - description: 合同id
  23995. in: query
  23996. name: spotcontractid
  23997. type: integer
  23998. - description: 套保品种id
  23999. in: query
  24000. name: middlegoodsid
  24001. type: integer
  24002. - description: 现货品种id
  24003. in: query
  24004. name: deliverygoodsid
  24005. type: integer
  24006. - description: 现货商品id
  24007. in: query
  24008. name: wrstandardid
  24009. type: integer
  24010. - description: 合同编号(模糊匹配)
  24011. in: query
  24012. name: contractno
  24013. type: string
  24014. produces:
  24015. - application/json
  24016. responses:
  24017. "200":
  24018. description: OK
  24019. schema:
  24020. items:
  24021. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  24022. type: array
  24023. "500":
  24024. description: Internal Server Error
  24025. schema:
  24026. $ref: '#/definitions/app.Response'
  24027. security:
  24028. - ApiKeyAuth: []
  24029. summary: 查询定价报表
  24030. tags:
  24031. - 企业风险管理v3(app)
  24032. /Ermcp3/QryTaFutureDataReport:
  24033. get:
  24034. parameters:
  24035. - description: 用户ID
  24036. in: query
  24037. name: userid
  24038. required: true
  24039. type: integer
  24040. - description: 查询类型 1-报表 2-报表明细
  24041. in: query
  24042. name: querytype
  24043. required: true
  24044. type: integer
  24045. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24046. in: query
  24047. name: cycletype
  24048. required: true
  24049. type: integer
  24050. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24051. 全(0)【原值】
  24052. in: query
  24053. name: cycletime
  24054. required: true
  24055. type: string
  24056. - description: 币种id(查明细必填)
  24057. in: query
  24058. name: currencyid
  24059. type: integer
  24060. - description: 品种id(查明细必填)
  24061. in: query
  24062. name: goodsgroupid
  24063. type: integer
  24064. - description: 商品id(查明细必填)
  24065. in: query
  24066. name: goodsid
  24067. type: integer
  24068. - description: 买卖方向(查明细必填)
  24069. in: query
  24070. name: buyorsell
  24071. type: integer
  24072. produces:
  24073. - application/json
  24074. responses:
  24075. "200":
  24076. description: OK
  24077. schema:
  24078. items:
  24079. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  24080. type: array
  24081. "500":
  24082. description: Internal Server Error
  24083. schema:
  24084. $ref: '#/definitions/app.Response'
  24085. security:
  24086. - ApiKeyAuth: []
  24087. summary: 查询期货报表
  24088. tags:
  24089. - 企业风险管理v3(app)
  24090. /Ermcp3/QueryAreaStock:
  24091. get:
  24092. parameters:
  24093. - description: 用户ID
  24094. in: query
  24095. name: userid
  24096. required: true
  24097. type: integer
  24098. produces:
  24099. - application/json
  24100. responses:
  24101. "200":
  24102. description: OK
  24103. schema:
  24104. items:
  24105. $ref: '#/definitions/models.Ermcp3AreaStock'
  24106. type: array
  24107. "500":
  24108. description: Internal Server Error
  24109. schema:
  24110. $ref: '#/definitions/app.Response'
  24111. security:
  24112. - ApiKeyAuth: []
  24113. summary: 查询机构库存(库存管理/当前库存)
  24114. tags:
  24115. - 企业风险管理v3(app)
  24116. /Ermcp3/QueryAreaStockApply:
  24117. get:
  24118. parameters:
  24119. - description: 用户ID
  24120. in: query
  24121. name: userid
  24122. required: true
  24123. type: integer
  24124. - description: 用户类型 2-机构 7-企业成员
  24125. in: query
  24126. name: usertype
  24127. type: integer
  24128. - description: 现货商品ID
  24129. in: query
  24130. name: deliverygoodsid
  24131. type: integer
  24132. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  24133. in: query
  24134. name: inouttype
  24135. type: string
  24136. - description: 合同ID
  24137. in: query
  24138. name: spotcontractid
  24139. type: integer
  24140. - description: 品类ID
  24141. in: query
  24142. name: wrstandardid
  24143. type: integer
  24144. - description: 品牌ID
  24145. in: query
  24146. name: spotgoodsbrandid
  24147. type: integer
  24148. - description: 仓库ID
  24149. in: query
  24150. name: warehouseinfoid
  24151. type: integer
  24152. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24153. in: query
  24154. name: applystatus
  24155. type: string
  24156. produces:
  24157. - application/json
  24158. responses:
  24159. "200":
  24160. description: OK
  24161. schema:
  24162. items:
  24163. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  24164. type: array
  24165. "500":
  24166. description: Internal Server Error
  24167. schema:
  24168. $ref: '#/definitions/app.Response'
  24169. security:
  24170. - ApiKeyAuth: []
  24171. summary: 查询库存申请(出入库记录|库存审核)
  24172. tags:
  24173. - 企业风险管理v3(app)
  24174. /Ermcp3/QueryAreaStockApplySum:
  24175. get:
  24176. parameters:
  24177. - description: 合同ID
  24178. in: query
  24179. name: spotcontractid
  24180. required: true
  24181. type: integer
  24182. produces:
  24183. - application/json
  24184. responses:
  24185. "200":
  24186. description: OK
  24187. schema:
  24188. items:
  24189. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  24190. type: array
  24191. "500":
  24192. description: Internal Server Error
  24193. schema:
  24194. $ref: '#/definitions/app.Response'
  24195. security:
  24196. - ApiKeyAuth: []
  24197. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  24198. tags:
  24199. - 企业风险管理v3(app)
  24200. /Ermcp3/QueryDGFactoryItem:
  24201. get:
  24202. parameters:
  24203. - description: 用户id
  24204. in: query
  24205. name: userid
  24206. type: integer
  24207. - description: 用户类型 2-机构 7-企业成员
  24208. in: query
  24209. name: usertype
  24210. type: integer
  24211. - description: 选择项ID(SEQ_DGFACTORYITEM)
  24212. in: query
  24213. name: dgfactoryitemid
  24214. type: integer
  24215. - description: 现货品种ID
  24216. in: query
  24217. name: deliverygoodsid
  24218. type: integer
  24219. - description: 要素项类型
  24220. in: query
  24221. name: dgfactoryitemtypeid
  24222. type: integer
  24223. - description: 顺序
  24224. in: query
  24225. name: orderindex
  24226. type: integer
  24227. produces:
  24228. - application/json
  24229. responses:
  24230. "200":
  24231. description: OK
  24232. schema:
  24233. items:
  24234. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  24235. type: array
  24236. "500":
  24237. description: Internal Server Error
  24238. schema:
  24239. $ref: '#/definitions/app.Response'
  24240. security:
  24241. - ApiKeyAuth: []
  24242. summary: 查询品种要素定义项
  24243. tags:
  24244. - 企业风险管理v3(app)
  24245. /Ermcp3/QueryDeliveryGoods:
  24246. get:
  24247. parameters:
  24248. - description: 用户id
  24249. in: query
  24250. name: userid
  24251. required: true
  24252. type: integer
  24253. - description: 用户类型 2-机构 7-企业成员
  24254. in: query
  24255. name: usertype
  24256. type: integer
  24257. - description: 排除已配置的业务类型商品 1-套保 2-套利
  24258. in: query
  24259. name: excludecfg
  24260. type: integer
  24261. produces:
  24262. - application/json
  24263. responses:
  24264. "200":
  24265. description: OK
  24266. schema:
  24267. items:
  24268. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  24269. type: array
  24270. "500":
  24271. description: Internal Server Error
  24272. schema:
  24273. $ref: '#/definitions/app.Response'
  24274. security:
  24275. - ApiKeyAuth: []
  24276. summary: 查询现货商品
  24277. tags:
  24278. - 企业风险管理v3(app)
  24279. /Ermcp3/QueryDeliveryGoodsDetail:
  24280. get:
  24281. parameters:
  24282. - description: 用户id
  24283. in: query
  24284. name: userid
  24285. required: true
  24286. type: integer
  24287. - description: 用户类型 2-机构 7-企业成员
  24288. in: query
  24289. name: usertype
  24290. type: integer
  24291. - description: 现货商品id
  24292. in: query
  24293. name: deliverygoodsid
  24294. type: integer
  24295. - description: 过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示
  24296. in: query
  24297. name: filtersubempty
  24298. type: integer
  24299. produces:
  24300. - application/json
  24301. responses:
  24302. "200":
  24303. description: OK
  24304. schema:
  24305. items:
  24306. $ref: '#/definitions/models.XHDeliveryGoods'
  24307. type: array
  24308. "500":
  24309. description: Internal Server Error
  24310. schema:
  24311. $ref: '#/definitions/app.Response'
  24312. security:
  24313. - ApiKeyAuth: []
  24314. summary: 查询现货商品详情
  24315. tags:
  24316. - 企业风险管理v3(app)
  24317. /Ermcp3/QueryErmcp3ContractMiddleGoodsCfg:
  24318. get:
  24319. parameters:
  24320. - description: 合同id
  24321. in: query
  24322. name: spotcontractid
  24323. required: true
  24324. type: string
  24325. produces:
  24326. - application/json
  24327. responses:
  24328. "200":
  24329. description: OK
  24330. schema:
  24331. items:
  24332. $ref: '#/definitions/models.Ermcp3ContractMiddleGoodsCfg'
  24333. type: array
  24334. "500":
  24335. description: Internal Server Error
  24336. schema:
  24337. $ref: '#/definitions/app.Response'
  24338. security:
  24339. - ApiKeyAuth: []
  24340. summary: 查询现货合同期现配置信息
  24341. tags:
  24342. - 企业风险管理v3(app)
  24343. /Ermcp3/QueryExposureDetail:
  24344. get:
  24345. parameters:
  24346. - description: 用户id
  24347. in: query
  24348. name: userid
  24349. required: true
  24350. type: integer
  24351. - description: 用户类型 2-机构 7-企业成员
  24352. in: query
  24353. name: usertype
  24354. type: integer
  24355. - description: 套保商品
  24356. in: query
  24357. name: middlegoodsid
  24358. required: true
  24359. type: integer
  24360. produces:
  24361. - application/json
  24362. responses:
  24363. "200":
  24364. description: OK
  24365. schema:
  24366. items:
  24367. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  24368. type: array
  24369. "500":
  24370. description: Internal Server Error
  24371. schema:
  24372. $ref: '#/definitions/app.Response'
  24373. security:
  24374. - ApiKeyAuth: []
  24375. summary: 查询敞口现货明细
  24376. tags:
  24377. - 企业风险管理v3(app)
  24378. /Ermcp3/QueryExposureSpot:
  24379. get:
  24380. parameters:
  24381. - description: 用户id
  24382. in: query
  24383. name: userid
  24384. required: true
  24385. type: integer
  24386. - description: 用户类型 2-机构 7-企业成员
  24387. in: query
  24388. name: usertype
  24389. type: integer
  24390. produces:
  24391. - application/json
  24392. responses:
  24393. "200":
  24394. description: OK
  24395. schema:
  24396. items:
  24397. $ref: '#/definitions/models.Ermcp3AreaSpot'
  24398. type: array
  24399. "500":
  24400. description: Internal Server Error
  24401. schema:
  24402. $ref: '#/definitions/app.Response'
  24403. security:
  24404. - ApiKeyAuth: []
  24405. summary: 查询敞口现货头寸(敞口/现货头寸)
  24406. tags:
  24407. - 企业风险管理v3(app)
  24408. /Ermcp3/QueryExposureSpotDetail:
  24409. get:
  24410. parameters:
  24411. - description: 用户id
  24412. in: query
  24413. name: userid
  24414. required: true
  24415. type: integer
  24416. - description: 用户类型 2-机构 7-企业成员
  24417. in: query
  24418. name: usertype
  24419. type: integer
  24420. - description: 现货商品ID
  24421. in: query
  24422. name: wrstandardid
  24423. required: true
  24424. type: integer
  24425. produces:
  24426. - application/json
  24427. responses:
  24428. "200":
  24429. description: OK
  24430. schema:
  24431. items:
  24432. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  24433. type: array
  24434. "500":
  24435. description: Internal Server Error
  24436. schema:
  24437. $ref: '#/definitions/app.Response'
  24438. security:
  24439. - ApiKeyAuth: []
  24440. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  24441. tags:
  24442. - 企业风险管理v3(app)
  24443. /Ermcp3/QueryGoodsGroup:
  24444. get:
  24445. parameters:
  24446. - description: 用户id
  24447. in: query
  24448. name: userid
  24449. required: true
  24450. type: integer
  24451. - description: 用户类型 2-机构 7-企业成员
  24452. in: query
  24453. name: usertype
  24454. type: integer
  24455. - description: 排除套保品中已关联的商品组 1-排除
  24456. in: query
  24457. name: excludecfg
  24458. type: integer
  24459. produces:
  24460. - application/json
  24461. responses:
  24462. "200":
  24463. description: OK
  24464. schema:
  24465. items:
  24466. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  24467. type: array
  24468. "500":
  24469. description: Internal Server Error
  24470. schema:
  24471. $ref: '#/definitions/app.Response'
  24472. security:
  24473. - ApiKeyAuth: []
  24474. summary: 查询期货商品组
  24475. tags:
  24476. - 企业风险管理v3(app)
  24477. /Ermcp3/QueryGoodsWrstandard:
  24478. get:
  24479. parameters:
  24480. - description: 用户id
  24481. in: query
  24482. name: userid
  24483. required: true
  24484. type: integer
  24485. - description: 用户类型 2-机构 7-企业成员
  24486. in: query
  24487. name: usertype
  24488. type: integer
  24489. - description: 现货商品id
  24490. in: query
  24491. name: deliverygoodsid
  24492. type: integer
  24493. produces:
  24494. - application/json
  24495. responses:
  24496. "200":
  24497. description: OK
  24498. schema:
  24499. items:
  24500. $ref: '#/definitions/models.Ermcp3Wrstandard'
  24501. type: array
  24502. "500":
  24503. description: Internal Server Error
  24504. schema:
  24505. $ref: '#/definitions/app.Response'
  24506. security:
  24507. - ApiKeyAuth: []
  24508. summary: 查询商品品类
  24509. tags:
  24510. - 企业风险管理v3(app)
  24511. /Ermcp3/QueryGoodsbrand:
  24512. get:
  24513. parameters:
  24514. - description: 用户id
  24515. in: query
  24516. name: userid
  24517. required: true
  24518. type: integer
  24519. - description: 用户类型 2-机构 7-企业成员
  24520. in: query
  24521. name: usertype
  24522. type: integer
  24523. produces:
  24524. - application/json
  24525. responses:
  24526. "200":
  24527. description: OK
  24528. schema:
  24529. items:
  24530. $ref: '#/definitions/models.Ermcp3Brand'
  24531. type: array
  24532. "500":
  24533. description: Internal Server Error
  24534. schema:
  24535. $ref: '#/definitions/app.Response'
  24536. security:
  24537. - ApiKeyAuth: []
  24538. summary: 查询商品品牌
  24539. tags:
  24540. - 企业风险管理v3(app)
  24541. /Ermcp3/QueryHPMiddleGoods:
  24542. get:
  24543. parameters:
  24544. - description: 用户ID(填登录用户的userid)
  24545. in: query
  24546. name: userid
  24547. required: true
  24548. type: integer
  24549. - description: 买卖方向 0-买 1-卖
  24550. in: query
  24551. name: buyorsell
  24552. required: true
  24553. type: integer
  24554. - description: 商品组id
  24555. in: query
  24556. name: goodsgroupid
  24557. required: true
  24558. type: integer
  24559. - description: 套保计划编号(模糊匹配)
  24560. in: query
  24561. name: hedgeplanno
  24562. type: string
  24563. - description: 现货商品名称(模糊匹配)
  24564. in: query
  24565. name: wrstandardname
  24566. type: string
  24567. produces:
  24568. - application/json
  24569. responses:
  24570. "200":
  24571. description: OK
  24572. schema:
  24573. items:
  24574. $ref: '#/definitions/models.Ermcp3HPMiddleGoods'
  24575. type: array
  24576. "500":
  24577. description: Internal Server Error
  24578. schema:
  24579. $ref: '#/definitions/app.Response'
  24580. security:
  24581. - ApiKeyAuth: []
  24582. summary: 查询可关联套保计划
  24583. tags:
  24584. - 企业风险管理v3(app)
  24585. /Ermcp3/QueryHedgePlan:
  24586. get:
  24587. parameters:
  24588. - description: 用户ID
  24589. in: query
  24590. name: userid
  24591. required: true
  24592. type: integer
  24593. - description: 用户类型 2-机构 7-企业成员
  24594. in: query
  24595. name: usertype
  24596. type: integer
  24597. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  24598. in: query
  24599. name: hedgeplanstatus
  24600. required: true
  24601. type: string
  24602. produces:
  24603. - application/json
  24604. responses:
  24605. "200":
  24606. description: OK
  24607. schema:
  24608. items:
  24609. $ref: '#/definitions/models.Ermcp3HedgePlan'
  24610. type: array
  24611. "500":
  24612. description: Internal Server Error
  24613. schema:
  24614. $ref: '#/definitions/app.Response'
  24615. security:
  24616. - ApiKeyAuth: []
  24617. summary: 查询套保计划
  24618. tags:
  24619. - 企业风险管理v3(app)
  24620. /Ermcp3/QueryInnerTradeLink:
  24621. get:
  24622. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  24623. parameters:
  24624. - description: 外部成交单号
  24625. in: query
  24626. name: outtradeid
  24627. required: true
  24628. type: integer
  24629. produces:
  24630. - application/json
  24631. responses:
  24632. "200":
  24633. description: OK
  24634. schema:
  24635. items:
  24636. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  24637. type: array
  24638. "500":
  24639. description: Internal Server Error
  24640. schema:
  24641. $ref: '#/definitions/app.Response'
  24642. security:
  24643. - ApiKeyAuth: []
  24644. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  24645. tags:
  24646. - 企业风险管理v3(app)
  24647. /Ermcp3/QueryMiddleGoodsDetail:
  24648. get:
  24649. parameters:
  24650. - description: 用户id
  24651. in: query
  24652. name: userid
  24653. required: true
  24654. type: integer
  24655. - description: 用户类型 2-机构 7-企业成员
  24656. in: query
  24657. name: usertype
  24658. type: integer
  24659. - description: 套保品种id
  24660. in: query
  24661. name: middlegoodsid
  24662. type: integer
  24663. produces:
  24664. - application/json
  24665. responses:
  24666. "200":
  24667. description: OK
  24668. schema:
  24669. items:
  24670. $ref: '#/definitions/models.TBMiddleGoods'
  24671. type: array
  24672. "500":
  24673. description: Internal Server Error
  24674. schema:
  24675. $ref: '#/definitions/app.Response'
  24676. security:
  24677. - ApiKeyAuth: []
  24678. summary: 查询套保品种详情(套保品种/商品详情)
  24679. tags:
  24680. - 企业风险管理v3(app)
  24681. /Ermcp3/QueryOutTradeLink:
  24682. get:
  24683. description: 页面 app 现货->期现关联->外部成交单关联
  24684. parameters:
  24685. - description: 用户ID(填登录用户的userid)
  24686. in: query
  24687. name: userid
  24688. required: true
  24689. type: integer
  24690. - description: 外部订单号(模糊匹配)
  24691. in: query
  24692. name: outtradeid
  24693. type: string
  24694. - description: 合约名称/代码(模糊匹配)
  24695. in: query
  24696. name: goodsname
  24697. type: string
  24698. - description: 关联状态 0-未关联 1-已关联
  24699. in: query
  24700. name: hasinnerorder
  24701. type: integer
  24702. produces:
  24703. - application/json
  24704. responses:
  24705. "200":
  24706. description: OK
  24707. schema:
  24708. items:
  24709. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  24710. type: array
  24711. "500":
  24712. description: Internal Server Error
  24713. schema:
  24714. $ref: '#/definitions/app.Response'
  24715. security:
  24716. - ApiKeyAuth: []
  24717. summary: 查询外部成交单关联
  24718. tags:
  24719. - 企业风险管理v3(app)
  24720. /Ermcp3/QueryPaAreaAuditCfg:
  24721. get:
  24722. parameters:
  24723. - description: 用户id
  24724. in: query
  24725. name: userid
  24726. required: true
  24727. type: integer
  24728. produces:
  24729. - application/json
  24730. responses:
  24731. "200":
  24732. description: OK
  24733. schema:
  24734. items:
  24735. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  24736. type: array
  24737. "500":
  24738. description: Internal Server Error
  24739. schema:
  24740. $ref: '#/definitions/app.Response'
  24741. security:
  24742. - ApiKeyAuth: []
  24743. summary: 查询审核设置
  24744. tags:
  24745. - 企业风险管理v3(app)
  24746. /Ermcp3/QueryPaAreaSubject:
  24747. get:
  24748. parameters:
  24749. - description: 用户id
  24750. in: query
  24751. name: userid
  24752. required: true
  24753. type: integer
  24754. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  24755. in: query
  24756. name: subjectid
  24757. type: integer
  24758. - description: 主体类型 - 1:交易主体 2:业务部门
  24759. in: query
  24760. name: subjecttype
  24761. type: integer
  24762. - description: '主体状态 - 1:正常 2: 停用'
  24763. in: query
  24764. name: subjectstatus
  24765. type: integer
  24766. produces:
  24767. - application/json
  24768. responses:
  24769. "200":
  24770. description: OK
  24771. schema:
  24772. items:
  24773. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  24774. type: array
  24775. "500":
  24776. description: Internal Server Error
  24777. schema:
  24778. $ref: '#/definitions/app.Response'
  24779. security:
  24780. - ApiKeyAuth: []
  24781. summary: 查询交易主体
  24782. tags:
  24783. - 企业风险管理v3(app)
  24784. /Ermcp3/QueryPaTradeLink:
  24785. get:
  24786. description: 页面 app 现货->期现关联->期现单据关联
  24787. parameters:
  24788. - description: 用户ID
  24789. in: query
  24790. name: userid
  24791. required: true
  24792. type: integer
  24793. produces:
  24794. - application/json
  24795. responses:
  24796. "200":
  24797. description: OK
  24798. schema:
  24799. items:
  24800. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  24801. type: array
  24802. "500":
  24803. description: Internal Server Error
  24804. schema:
  24805. $ref: '#/definitions/app.Response'
  24806. security:
  24807. - ApiKeyAuth: []
  24808. summary: 查询期现单据关联
  24809. tags:
  24810. - 企业风险管理v3(app)
  24811. /Ermcp3/QueryPaTradeLinkDetail:
  24812. get:
  24813. description: 页面 app 现货->期现关联->关联记录
  24814. parameters:
  24815. - description: 用户ID(填登录用户的userid)
  24816. in: query
  24817. name: userid
  24818. required: true
  24819. type: integer
  24820. - description: 关联状态 1:成功 2:失败 3:解绑
  24821. in: query
  24822. name: linkstatus
  24823. type: integer
  24824. - description: 期货订单号(模糊匹配)
  24825. in: query
  24826. name: tradeid
  24827. type: string
  24828. - description: 现货编号(模糊匹配)
  24829. in: query
  24830. name: contractno
  24831. type: string
  24832. - description: 期货账户(模糊匹配)
  24833. in: query
  24834. name: taname
  24835. type: string
  24836. produces:
  24837. - application/json
  24838. responses:
  24839. "200":
  24840. description: OK
  24841. schema:
  24842. items:
  24843. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  24844. type: array
  24845. "500":
  24846. description: Internal Server Error
  24847. schema:
  24848. $ref: '#/definitions/app.Response'
  24849. security:
  24850. - ApiKeyAuth: []
  24851. summary: 查询期现关联记录
  24852. tags:
  24853. - 企业风险管理v3(app)
  24854. /Ermcp3/QueryParamChangeApp:
  24855. get:
  24856. description: |-
  24857. 原型页面:
  24858. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  24859. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  24860. parameters:
  24861. - description: 用户ID
  24862. in: query
  24863. name: userid
  24864. required: true
  24865. type: integer
  24866. - description: 现货品种id
  24867. in: query
  24868. name: deliverygoodsid
  24869. type: integer
  24870. - description: 现货商品id
  24871. in: query
  24872. name: wrstandardid
  24873. type: integer
  24874. - description: 套保商品id
  24875. in: query
  24876. name: middlegoodsid
  24877. type: integer
  24878. - description: 操作类型 1:新增 2:修改
  24879. in: query
  24880. name: operatetype
  24881. type: integer
  24882. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  24883. in: query
  24884. name: paramchangetype
  24885. type: integer
  24886. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24887. in: query
  24888. name: ftstatus
  24889. type: string
  24890. produces:
  24891. - application/json
  24892. responses:
  24893. "200":
  24894. description: OK
  24895. schema:
  24896. items:
  24897. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  24898. type: array
  24899. "500":
  24900. description: Internal Server Error
  24901. schema:
  24902. $ref: '#/definitions/app.Response'
  24903. security:
  24904. - ApiKeyAuth: []
  24905. summary: 查询现货商品参数变更申请(流水)
  24906. tags:
  24907. - 企业风险管理v3(app)
  24908. /Ermcp3/QueryRootUserAccount:
  24909. get:
  24910. parameters:
  24911. - description: 用户ID
  24912. in: query
  24913. name: userid
  24914. required: true
  24915. type: integer
  24916. produces:
  24917. - application/json
  24918. responses:
  24919. "200":
  24920. description: OK
  24921. schema:
  24922. items:
  24923. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  24924. type: array
  24925. "500":
  24926. description: Internal Server Error
  24927. schema:
  24928. $ref: '#/definitions/app.Response'
  24929. security:
  24930. - ApiKeyAuth: []
  24931. summary: 查询顶级用户信息
  24932. tags:
  24933. - 企业风险管理v3(app)
  24934. /Ermcp3/QuerySCMiddleGoods:
  24935. get:
  24936. description: |-
  24937. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  24938. 现货编号 即 合同编号
  24939. parameters:
  24940. - description: 用户ID(填登录用户的userid)
  24941. in: query
  24942. name: userid
  24943. required: true
  24944. type: integer
  24945. - description: 买卖方向 0-买 1-卖
  24946. in: query
  24947. name: buyorsell
  24948. required: true
  24949. type: integer
  24950. - description: 商品组id
  24951. in: query
  24952. name: goodsgroupid
  24953. required: true
  24954. type: integer
  24955. - description: 业务类型 1:套保 2:套利
  24956. in: query
  24957. name: biztype
  24958. type: integer
  24959. - description: 现货编号(模糊匹配)
  24960. in: query
  24961. name: contractno
  24962. type: string
  24963. - description: 对手方(模糊匹配)
  24964. in: query
  24965. name: customername
  24966. type: string
  24967. - description: 现货商品名称(模糊匹配)
  24968. in: query
  24969. name: wrstandardname
  24970. type: string
  24971. produces:
  24972. - application/json
  24973. responses:
  24974. "200":
  24975. description: OK
  24976. schema:
  24977. items:
  24978. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  24979. type: array
  24980. "500":
  24981. description: Internal Server Error
  24982. schema:
  24983. $ref: '#/definitions/app.Response'
  24984. security:
  24985. - ApiKeyAuth: []
  24986. summary: 查询现货订单
  24987. tags:
  24988. - 企业风险管理v3(app)
  24989. /Ermcp3/QuerySpotContract:
  24990. get:
  24991. parameters:
  24992. - description: 用户id(当指定contractid, userid可不填)
  24993. in: query
  24994. name: userid
  24995. required: true
  24996. type: integer
  24997. - description: 用户类型 2-机构 7-企业成员
  24998. in: query
  24999. name: usertype
  25000. type: integer
  25001. - description: 合同类型 1-采购, -1-销售
  25002. in: query
  25003. name: contracttype
  25004. type: integer
  25005. - description: 查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成
  25006. in: query
  25007. name: querytype
  25008. type: string
  25009. - description: 合同ID(SpotContractId)
  25010. in: query
  25011. name: contractid
  25012. type: string
  25013. - description: 合同编号(模糊匹配)
  25014. in: query
  25015. name: contractno
  25016. type: string
  25017. - description: 商品名称(模糊匹配)
  25018. in: query
  25019. name: wrstandardname
  25020. type: string
  25021. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  25022. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  25023. in: query
  25024. name: status
  25025. type: string
  25026. - description: 是否只查今日的合同 1-查今日合同
  25027. in: query
  25028. name: istoday
  25029. type: integer
  25030. produces:
  25031. - application/json
  25032. responses:
  25033. "200":
  25034. description: OK
  25035. schema:
  25036. items:
  25037. $ref: '#/definitions/models.Ermcp3Contract'
  25038. type: array
  25039. "500":
  25040. description: Internal Server Error
  25041. schema:
  25042. $ref: '#/definitions/app.Response'
  25043. security:
  25044. - ApiKeyAuth: []
  25045. summary: 查询现货合同
  25046. tags:
  25047. - 企业风险管理v3(app)
  25048. /Ermcp3/QuerySpotContractBS:
  25049. get:
  25050. parameters:
  25051. - description: 用户id
  25052. in: query
  25053. name: userid
  25054. required: true
  25055. type: integer
  25056. - description: 用户类型 2-机构 7-企业成员
  25057. in: query
  25058. name: usertype
  25059. type: integer
  25060. - description: 合同类型 1-采购, -1-销售
  25061. in: query
  25062. name: contracttype
  25063. required: true
  25064. type: integer
  25065. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  25066. in: query
  25067. name: querytype
  25068. type: integer
  25069. - description: 合同ID(SpotContractId)
  25070. in: query
  25071. name: contractid
  25072. type: string
  25073. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  25074. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  25075. in: query
  25076. name: status
  25077. type: string
  25078. - description: 是否只查今日的合同 1-查今日合同
  25079. in: query
  25080. name: istoday
  25081. type: integer
  25082. produces:
  25083. - application/json
  25084. responses:
  25085. "200":
  25086. description: OK
  25087. schema:
  25088. items:
  25089. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  25090. type: array
  25091. "500":
  25092. description: Internal Server Error
  25093. schema:
  25094. $ref: '#/definitions/app.Response'
  25095. security:
  25096. - ApiKeyAuth: []
  25097. summary: 查询合同(采购/销售)
  25098. tags:
  25099. - 企业风险管理v3(app)
  25100. /Ermcp3/QuerySpotGoodsPrice:
  25101. get:
  25102. parameters:
  25103. - description: 用户ID
  25104. in: query
  25105. name: userid
  25106. required: true
  25107. type: integer
  25108. produces:
  25109. - application/json
  25110. responses:
  25111. "200":
  25112. description: OK
  25113. schema:
  25114. items:
  25115. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  25116. type: array
  25117. "500":
  25118. description: Internal Server Error
  25119. schema:
  25120. $ref: '#/definitions/app.Response'
  25121. security:
  25122. - ApiKeyAuth: []
  25123. summary: 查询现货市价(现货市价)
  25124. tags:
  25125. - 企业风险管理v3(app)
  25126. /Ermcp3/QuerySpotGoodsPriceLog:
  25127. get:
  25128. parameters:
  25129. - description: 用户ID
  25130. in: query
  25131. name: userid
  25132. required: true
  25133. type: integer
  25134. - description: 现货商品ID
  25135. in: query
  25136. name: deliverygoodsid
  25137. required: true
  25138. type: integer
  25139. - description: 品牌ID
  25140. in: query
  25141. name: brandid
  25142. type: integer
  25143. - description: 品类ID
  25144. in: query
  25145. name: wrstandardid
  25146. type: integer
  25147. produces:
  25148. - application/json
  25149. responses:
  25150. "200":
  25151. description: OK
  25152. schema:
  25153. items:
  25154. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  25155. type: array
  25156. "500":
  25157. description: Internal Server Error
  25158. schema:
  25159. $ref: '#/definitions/app.Response'
  25160. security:
  25161. - ApiKeyAuth: []
  25162. summary: 查询现货市价详情(现货市价/详情)
  25163. tags:
  25164. - 企业风险管理v3(app)
  25165. /Ermcp3/QuerySubTaaccount:
  25166. get:
  25167. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  25168. parameters:
  25169. - description: 母账号id
  25170. in: query
  25171. name: parentaccountid
  25172. type: integer
  25173. - description: 母账号代码
  25174. in: query
  25175. name: parentaccountcode
  25176. type: string
  25177. produces:
  25178. - application/json
  25179. responses:
  25180. "200":
  25181. description: OK
  25182. schema:
  25183. items:
  25184. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  25185. type: array
  25186. "500":
  25187. description: Internal Server Error
  25188. schema:
  25189. $ref: '#/definitions/app.Response'
  25190. security:
  25191. - ApiKeyAuth: []
  25192. summary: 查询期货子账户
  25193. tags:
  25194. - 企业风险管理v3(app)
  25195. /Ermcp8/QueryERMCP2HedgedItemSpotDetail:
  25196. get:
  25197. parameters:
  25198. - description: 套期项目ID
  25199. in: query
  25200. name: hedgeditemid
  25201. required: true
  25202. type: integer
  25203. produces:
  25204. - application/json
  25205. responses:
  25206. "200":
  25207. description: OK
  25208. schema:
  25209. items:
  25210. $ref: '#/definitions/models.Ermcp2hedgeditemspotDetail'
  25211. type: array
  25212. "500":
  25213. description: Internal Server Error
  25214. schema:
  25215. $ref: '#/definitions/app.Response'
  25216. security:
  25217. - ApiKeyAuth: []
  25218. summary: 现货成交明细查询
  25219. tags:
  25220. - 企业风险管理v8
  25221. /Ermcp8/QueryERMCP2HedgedItemspot:
  25222. get:
  25223. parameters:
  25224. - description: 套期项目ID
  25225. in: query
  25226. name: hedgeditemid
  25227. required: true
  25228. type: integer
  25229. produces:
  25230. - application/json
  25231. responses:
  25232. "200":
  25233. description: OK
  25234. schema:
  25235. items:
  25236. $ref: '#/definitions/models.Ermcp2hedgeditemspot'
  25237. type: array
  25238. "500":
  25239. description: Internal Server Error
  25240. schema:
  25241. $ref: '#/definitions/app.Response'
  25242. security:
  25243. - ApiKeyAuth: []
  25244. summary: 套期计划明细查询
  25245. tags:
  25246. - 企业风险管理v8
  25247. /Ermcp8/QueryERMCPJRLinkPos:
  25248. get:
  25249. parameters:
  25250. - description: 套期项目ID
  25251. in: query
  25252. name: hedgeditemid
  25253. required: true
  25254. type: integer
  25255. produces:
  25256. - application/json
  25257. responses:
  25258. "200":
  25259. description: OK
  25260. schema:
  25261. items:
  25262. $ref: '#/definitions/models.Ermcpjrlinkpos'
  25263. type: array
  25264. "500":
  25265. description: Internal Server Error
  25266. schema:
  25267. $ref: '#/definitions/app.Response'
  25268. security:
  25269. - ApiKeyAuth: []
  25270. summary: 期货持仓明细查询
  25271. tags:
  25272. - 企业风险管理v8
  25273. /Ermcp8/QueryERMCPPatradeLinkDetail:
  25274. get:
  25275. parameters:
  25276. - description: 套期项目ID
  25277. in: query
  25278. name: hedgeditemid
  25279. required: true
  25280. type: integer
  25281. produces:
  25282. - application/json
  25283. responses:
  25284. "200":
  25285. description: OK
  25286. schema:
  25287. items:
  25288. $ref: '#/definitions/models.Ermcppatradelinkdetail'
  25289. type: array
  25290. "500":
  25291. description: Internal Server Error
  25292. schema:
  25293. $ref: '#/definitions/app.Response'
  25294. security:
  25295. - ApiKeyAuth: []
  25296. summary: 期货成交单明细查询
  25297. tags:
  25298. - 企业风险管理v8
  25299. /Ermcp8/QueryErmcp2AreaExposure:
  25300. get:
  25301. parameters:
  25302. - description: 用户ID
  25303. in: query
  25304. name: userid
  25305. required: true
  25306. type: string
  25307. produces:
  25308. - application/json
  25309. responses:
  25310. "200":
  25311. description: OK
  25312. schema:
  25313. items:
  25314. $ref: '#/definitions/models.Ermcp2AreaExposure'
  25315. type: array
  25316. "500":
  25317. description: Internal Server Error
  25318. schema:
  25319. $ref: '#/definitions/app.Response'
  25320. security:
  25321. - ApiKeyAuth: []
  25322. summary: 企业敞口查询
  25323. tags:
  25324. - 企业风险管理v8
  25325. /Ermcp8/QueryErmcp2HedgedItem:
  25326. get:
  25327. description: 已完成项目查询 -> 项目状态 = 3:正常完结 or 5:异常完结
  25328. parameters:
  25329. - description: 用户ID
  25330. in: query
  25331. name: userid
  25332. required: true
  25333. type: string
  25334. - description: 套期类型 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  25335. in: query
  25336. name: hedgedtype
  25337. type: integer
  25338. - description: 项目状态 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  25339. in: query
  25340. name: hedgeditemstatus
  25341. type: integer
  25342. produces:
  25343. - application/json
  25344. responses:
  25345. "200":
  25346. description: OK
  25347. schema:
  25348. items:
  25349. $ref: '#/definitions/models.Ermcp2hedgeditem'
  25350. type: array
  25351. "500":
  25352. description: Internal Server Error
  25353. schema:
  25354. $ref: '#/definitions/app.Response'
  25355. security:
  25356. - ApiKeyAuth: []
  25357. summary: 查询被套期项目信息
  25358. tags:
  25359. - 企业风险管理v8
  25360. /Ermcp8/QueryErmcp2HedgedItemsDetail:
  25361. get:
  25362. parameters:
  25363. - description: 用户ID
  25364. in: query
  25365. name: userid
  25366. required: true
  25367. type: integer
  25368. - description: 套保品种ID
  25369. in: query
  25370. name: middlegoodsid
  25371. required: true
  25372. type: integer
  25373. produces:
  25374. - application/json
  25375. responses:
  25376. "200":
  25377. description: OK
  25378. schema:
  25379. items:
  25380. $ref: '#/definitions/models.Ermcp2hedgeditemsDetail'
  25381. type: array
  25382. "500":
  25383. description: Internal Server Error
  25384. schema:
  25385. $ref: '#/definitions/app.Response'
  25386. security:
  25387. - ApiKeyAuth: []
  25388. summary: 敞口明细 - 计划变动明细
  25389. tags:
  25390. - 企业风险管理v8
  25391. /Ermcp8/QueryErmcp2StockSpotChangeLog:
  25392. get:
  25393. parameters:
  25394. - description: 用户ID
  25395. in: query
  25396. name: userid
  25397. required: true
  25398. type: integer
  25399. - description: 套保品种ID
  25400. in: query
  25401. name: middlegoodsid
  25402. required: true
  25403. type: integer
  25404. produces:
  25405. - application/json
  25406. responses:
  25407. "200":
  25408. description: OK
  25409. schema:
  25410. items:
  25411. $ref: '#/definitions/models.Ermcp2stockspotchangelog'
  25412. type: array
  25413. "500":
  25414. description: Internal Server Error
  25415. schema:
  25416. $ref: '#/definitions/app.Response'
  25417. security:
  25418. - ApiKeyAuth: []
  25419. summary: 敞口明细 - 现货变动明细查询
  25420. tags:
  25421. - 企业风险管理v8
  25422. /Ermcp8/QueryErmcp8EnableHedgeditem:
  25423. get:
  25424. parameters:
  25425. - description: 用户ID
  25426. in: query
  25427. name: userid
  25428. required: true
  25429. type: integer
  25430. - description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  25431. in: query
  25432. name: spottype
  25433. required: true
  25434. type: integer
  25435. produces:
  25436. - application/json
  25437. responses:
  25438. "200":
  25439. description: OK
  25440. schema:
  25441. items:
  25442. $ref: '#/definitions/models.Ermcp8EnableHedgeditem'
  25443. type: array
  25444. "500":
  25445. description: Internal Server Error
  25446. schema:
  25447. $ref: '#/definitions/app.Response'
  25448. security:
  25449. - ApiKeyAuth: []
  25450. summary: 可关联项目查询
  25451. tags:
  25452. - 企业风险管理v8
  25453. /Ermcp8/QueryErmcp8HedgeditemReport:
  25454. get:
  25455. parameters:
  25456. - description: 用户ID
  25457. in: query
  25458. name: userid
  25459. required: true
  25460. type: integer
  25461. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25462. in: query
  25463. name: cycletype
  25464. type: integer
  25465. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25466. 全(0)【原值】
  25467. in: query
  25468. name: cycletime
  25469. required: true
  25470. type: string
  25471. - description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  25472. in: query
  25473. name: hedgedtype
  25474. type: integer
  25475. - description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  25476. in: query
  25477. name: hedgeditemstatus
  25478. type: integer
  25479. - description: 项目编号,模糊查询
  25480. in: query
  25481. name: hedgeditemnum
  25482. type: string
  25483. - description: 现货商品ID
  25484. in: query
  25485. name: wrstandardid
  25486. type: integer
  25487. produces:
  25488. - application/json
  25489. responses:
  25490. "200":
  25491. description: OK
  25492. schema:
  25493. items:
  25494. $ref: '#/definitions/models.Ermcp8HedgeditemReport'
  25495. type: array
  25496. "500":
  25497. description: Internal Server Error
  25498. schema:
  25499. $ref: '#/definitions/app.Response'
  25500. security:
  25501. - ApiKeyAuth: []
  25502. summary: 套期项目报表查询
  25503. tags:
  25504. - 企业风险管理v8
  25505. /Ermcp8/QueryErmcp8RunningHedgeditem:
  25506. get:
  25507. parameters:
  25508. - description: 用户ID
  25509. in: query
  25510. name: userid
  25511. required: true
  25512. type: string
  25513. produces:
  25514. - application/json
  25515. responses:
  25516. "200":
  25517. description: OK
  25518. schema:
  25519. items:
  25520. $ref: '#/definitions/models.Ermcp8RunningHedgeditem'
  25521. type: array
  25522. "500":
  25523. description: Internal Server Error
  25524. schema:
  25525. $ref: '#/definitions/app.Response'
  25526. security:
  25527. - ApiKeyAuth: []
  25528. summary: 查询执行中项目查询信息
  25529. tags:
  25530. - 企业风险管理v8
  25531. /Ermcp8/QueryInternalEnableTradeDetail:
  25532. get:
  25533. parameters:
  25534. - description: 企业ID
  25535. in: query
  25536. name: areauserid
  25537. required: true
  25538. type: integer
  25539. - description: 期货合约ID
  25540. in: query
  25541. name: goodsid
  25542. required: true
  25543. type: integer
  25544. produces:
  25545. - application/json
  25546. responses:
  25547. "200":
  25548. description: OK
  25549. schema:
  25550. items:
  25551. $ref: '#/definitions/models.InternalEnableTradeDetail'
  25552. type: array
  25553. "500":
  25554. description: Internal Server Error
  25555. schema:
  25556. $ref: '#/definitions/app.Response'
  25557. security:
  25558. - ApiKeyAuth: []
  25559. summary: 内部成交单可关联项目查询
  25560. tags:
  25561. - 企业风险管理v8
  25562. /Ermcp8/QueryInternalUncorrelatedTradeDetail:
  25563. get:
  25564. parameters:
  25565. - description: 用户编号
  25566. in: query
  25567. name: userid
  25568. required: true
  25569. type: integer
  25570. - description: 起始日期(格式yyyymmdd)
  25571. in: query
  25572. name: begindate
  25573. type: string
  25574. - description: 终止日期(格式yyyymmdd)
  25575. in: query
  25576. name: enddate
  25577. type: string
  25578. - description: 合约代码
  25579. in: query
  25580. name: goodscode
  25581. type: string
  25582. - description: 合约名称
  25583. in: query
  25584. name: goodsname
  25585. type: string
  25586. - description: 成交单号
  25587. in: query
  25588. name: tradeid
  25589. type: integer
  25590. - description: 方向 - 0:买 1:卖
  25591. in: query
  25592. name: buyorsell
  25593. type: integer
  25594. - description: 套期主体
  25595. in: query
  25596. name: accountname
  25597. type: string
  25598. produces:
  25599. - application/json
  25600. responses:
  25601. "200":
  25602. description: OK
  25603. schema:
  25604. items:
  25605. $ref: '#/definitions/models.InternalUncorrelatedTradeDetail'
  25606. type: array
  25607. "500":
  25608. description: Internal Server Error
  25609. schema:
  25610. $ref: '#/definitions/app.Response'
  25611. security:
  25612. - ApiKeyAuth: []
  25613. summary: 内部未关联成交单查询
  25614. tags:
  25615. - 企业风险管理v8
  25616. /Ermcp8/QueryPatradeLinkDetail:
  25617. get:
  25618. parameters:
  25619. - description: 用户ID
  25620. in: query
  25621. name: userid
  25622. required: true
  25623. type: integer
  25624. - description: 套保品种ID
  25625. in: query
  25626. name: middlegoodsid
  25627. required: true
  25628. type: integer
  25629. produces:
  25630. - application/json
  25631. responses:
  25632. "200":
  25633. description: OK
  25634. schema:
  25635. items:
  25636. $ref: '#/definitions/models.Patradelinkdetail'
  25637. type: array
  25638. "500":
  25639. description: Internal Server Error
  25640. schema:
  25641. $ref: '#/definitions/app.Response'
  25642. security:
  25643. - ApiKeyAuth: []
  25644. summary: 敞口明细 - 期货变动明细
  25645. tags:
  25646. - 企业风险管理v8
  25647. /Ermcp8/QueryUnLinkErmcpHedgePlan:
  25648. get:
  25649. parameters:
  25650. - description: 企业ID
  25651. in: query
  25652. name: areauserid
  25653. required: true
  25654. type: integer
  25655. - description: 计划类型 - 1:采购 -1:销售
  25656. in: query
  25657. name: contracttype
  25658. type: integer
  25659. - description: 计划编号,模糊查询
  25660. in: query
  25661. name: hedgeplanno
  25662. type: string
  25663. - description: 现货商品,模糊查询
  25664. in: query
  25665. name: wrstandardname
  25666. type: string
  25667. produces:
  25668. - application/json
  25669. responses:
  25670. "200":
  25671. description: OK
  25672. schema:
  25673. items:
  25674. $ref: '#/definitions/models.Unlinkermcphedgeplan'
  25675. type: array
  25676. "500":
  25677. description: Internal Server Error
  25678. schema:
  25679. $ref: '#/definitions/app.Response'
  25680. security:
  25681. - ApiKeyAuth: []
  25682. summary: 未关联购销计划
  25683. tags:
  25684. - 企业风险管理v8
  25685. /Ermcp8/QueryUnLinkSpotContract:
  25686. get:
  25687. parameters:
  25688. - description: 用户ID
  25689. in: query
  25690. name: userid
  25691. required: true
  25692. type: integer
  25693. - description: 定价类型 - 1:一口价 2:点价 3:暂定价
  25694. in: query
  25695. name: pricetype
  25696. type: integer
  25697. - description: 合同编号, 模拟查询
  25698. in: query
  25699. name: contractno
  25700. type: string
  25701. - description: 对手方, 模拟查询
  25702. in: query
  25703. name: customername
  25704. type: string
  25705. - description: 项合同类型 - 1:采购 -1:销售
  25706. in: query
  25707. name: contracttype
  25708. type: integer
  25709. produces:
  25710. - application/json
  25711. responses:
  25712. "200":
  25713. description: OK
  25714. schema:
  25715. items:
  25716. $ref: '#/definitions/models.ErmcpSpotContractModelEx'
  25717. type: array
  25718. "500":
  25719. description: Internal Server Error
  25720. schema:
  25721. $ref: '#/definitions/app.Response'
  25722. security:
  25723. - ApiKeyAuth: []
  25724. summary: 未关联合同查询
  25725. tags:
  25726. - 企业风险管理v8
  25727. /Erms2/QueryArbitrageStrategy:
  25728. get:
  25729. parameters:
  25730. - description: 账户ID
  25731. in: query
  25732. name: userid
  25733. required: true
  25734. type: integer
  25735. - description: 商品组ID(品种ID)
  25736. in: query
  25737. name: goodsgroupid
  25738. type: string
  25739. produces:
  25740. - application/json
  25741. responses:
  25742. "200":
  25743. description: OK
  25744. schema:
  25745. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  25746. "500":
  25747. description: Internal Server Error
  25748. schema:
  25749. $ref: '#/definitions/app.Response'
  25750. security:
  25751. - ApiKeyAuth: []
  25752. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  25753. tags:
  25754. - 风险管理
  25755. /Erms2/QueryInnerTradeDetail:
  25756. get:
  25757. parameters:
  25758. - description: 资金账户
  25759. in: query
  25760. name: accountid
  25761. required: true
  25762. type: integer
  25763. produces:
  25764. - application/json
  25765. responses:
  25766. "200":
  25767. description: OK
  25768. schema:
  25769. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  25770. "500":
  25771. description: Internal Server Error
  25772. schema:
  25773. $ref: '#/definitions/app.Response'
  25774. security:
  25775. - ApiKeyAuth: []
  25776. summary: 查询内部成交单信息
  25777. tags:
  25778. - 风险管理
  25779. /Erms2/QuerySpotContract:
  25780. get:
  25781. parameters:
  25782. - description: 策略申请ID
  25783. in: query
  25784. name: asapplyid
  25785. required: true
  25786. type: integer
  25787. - description: 现货合同ID
  25788. in: query
  25789. name: spotcontractid
  25790. type: integer
  25791. produces:
  25792. - application/json
  25793. responses:
  25794. "200":
  25795. description: OK
  25796. schema:
  25797. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  25798. "500":
  25799. description: Internal Server Error
  25800. schema:
  25801. $ref: '#/definitions/app.Response'
  25802. security:
  25803. - ApiKeyAuth: []
  25804. summary: 查询现货合同表信息(指定策略ID、未结束的)
  25805. tags:
  25806. - 风险管理
  25807. /Erms3/AddErms2ASApply:
  25808. post:
  25809. parameters:
  25810. - description: 申请参数
  25811. in: body
  25812. name: jsonBody
  25813. required: true
  25814. schema:
  25815. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  25816. produces:
  25817. - application/json
  25818. responses:
  25819. "200":
  25820. description: OK
  25821. schema:
  25822. $ref: '#/definitions/app.Response'
  25823. "500":
  25824. description: Internal Server Error
  25825. schema:
  25826. $ref: '#/definitions/app.Response'
  25827. security:
  25828. - ApiKeyAuth: []
  25829. summary: 新增期现套利业务申请
  25830. tags:
  25831. - 风险管理v3
  25832. /Erms3/AddErms2SpotTradeApply:
  25833. post:
  25834. parameters:
  25835. - description: 申请参数
  25836. in: body
  25837. name: jsonBody
  25838. required: true
  25839. schema:
  25840. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  25841. produces:
  25842. - application/json
  25843. responses:
  25844. "200":
  25845. description: OK
  25846. schema:
  25847. $ref: '#/definitions/app.Response'
  25848. "500":
  25849. description: Internal Server Error
  25850. schema:
  25851. $ref: '#/definitions/app.Response'
  25852. security:
  25853. - ApiKeyAuth: []
  25854. summary: 新增现货贸易业务申请
  25855. tags:
  25856. - 风险管理v3
  25857. /Erms3/AddSpotContractApply:
  25858. post:
  25859. parameters:
  25860. - description: 申请参数
  25861. in: body
  25862. name: jsonBody
  25863. required: true
  25864. schema:
  25865. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  25866. produces:
  25867. - application/json
  25868. responses:
  25869. "200":
  25870. description: OK
  25871. schema:
  25872. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  25873. "500":
  25874. description: Internal Server Error
  25875. schema:
  25876. $ref: '#/definitions/app.Response'
  25877. security:
  25878. - ApiKeyAuth: []
  25879. summary: 新增现货合同申请
  25880. tags:
  25881. - 风险管理v3
  25882. /Erms3/AddUserInfoApply:
  25883. post:
  25884. parameters:
  25885. - description: 用户信息
  25886. in: body
  25887. name: jsonBody
  25888. required: true
  25889. schema:
  25890. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  25891. produces:
  25892. - application/json
  25893. responses:
  25894. "200":
  25895. description: OK
  25896. schema:
  25897. $ref: '#/definitions/app.Response'
  25898. "500":
  25899. description: Internal Server Error
  25900. schema:
  25901. $ref: '#/definitions/app.Response'
  25902. security:
  25903. - ApiKeyAuth: []
  25904. summary: 新增客户申请
  25905. tags:
  25906. - 风险管理v3
  25907. /Erms3/DeleteUserInfoApply:
  25908. get:
  25909. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  25910. parameters:
  25911. - description: 用户ID
  25912. in: query
  25913. name: userID
  25914. required: true
  25915. type: integer
  25916. produces:
  25917. - application/json
  25918. responses:
  25919. "200":
  25920. description: OK
  25921. schema:
  25922. $ref: '#/definitions/app.Response'
  25923. "500":
  25924. description: Internal Server Error
  25925. schema:
  25926. $ref: '#/definitions/app.Response'
  25927. security:
  25928. - ApiKeyAuth: []
  25929. summary: 删除客户申请
  25930. tags:
  25931. - 风险管理v3
  25932. /Erms3/ModifyUserInfoApply:
  25933. post:
  25934. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  25935. int, "userstate": 2 }'
  25936. parameters:
  25937. - description: 用户信息
  25938. in: body
  25939. name: jsonBody
  25940. required: true
  25941. schema:
  25942. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  25943. produces:
  25944. - application/json
  25945. responses:
  25946. "200":
  25947. description: OK
  25948. schema:
  25949. $ref: '#/definitions/app.Response'
  25950. "500":
  25951. description: Internal Server Error
  25952. schema:
  25953. $ref: '#/definitions/app.Response'
  25954. security:
  25955. - ApiKeyAuth: []
  25956. summary: 修改客户申请
  25957. tags:
  25958. - 风险管理v3
  25959. /Erms3/QueryBusinessInfo:
  25960. get:
  25961. parameters:
  25962. - description: 资金账号ID列表,用逗号分隔
  25963. in: query
  25964. name: accountids
  25965. required: true
  25966. type: string
  25967. - description: 状态,0为未结束 1为已结束
  25968. in: query
  25969. name: status
  25970. required: true
  25971. type: integer
  25972. produces:
  25973. - application/json
  25974. responses:
  25975. "200":
  25976. description: OK
  25977. schema:
  25978. items:
  25979. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  25980. type: array
  25981. "500":
  25982. description: Internal Server Error
  25983. schema:
  25984. $ref: '#/definitions/app.Response'
  25985. security:
  25986. - ApiKeyAuth: []
  25987. summary: 查询业务表单数据
  25988. tags:
  25989. - 风险管理v3
  25990. /Erms3/QueryPendingAuditContract:
  25991. get:
  25992. parameters:
  25993. - description: 资金账号ID列表,逗号隔开
  25994. in: query
  25995. name: accountids
  25996. required: true
  25997. type: string
  25998. - description: 合同类型 1-采购 -1-销售
  25999. in: query
  26000. name: contracttype
  26001. required: true
  26002. type: integer
  26003. - description: 合同模式 1-普通 2-回购
  26004. in: query
  26005. name: contractmode
  26006. required: true
  26007. type: integer
  26008. produces:
  26009. - application/json
  26010. responses:
  26011. "200":
  26012. description: OK
  26013. schema:
  26014. items:
  26015. $ref: '#/definitions/erms3.QryAuditContractRsp'
  26016. type: array
  26017. "500":
  26018. description: Internal Server Error
  26019. schema:
  26020. $ref: '#/definitions/app.Response'
  26021. security:
  26022. - ApiKeyAuth: []
  26023. summary: 查询待审核合同
  26024. tags:
  26025. - 风险管理v3
  26026. /Erms3/QueryPendingBusiness:
  26027. get:
  26028. parameters:
  26029. - description: 资金账号ID列表,逗号隔开
  26030. in: query
  26031. name: accountids
  26032. required: true
  26033. type: string
  26034. produces:
  26035. - application/json
  26036. responses:
  26037. "200":
  26038. description: OK
  26039. schema:
  26040. items:
  26041. $ref: '#/definitions/erms3.QryPendingBizRsp'
  26042. type: array
  26043. "500":
  26044. description: Internal Server Error
  26045. schema:
  26046. $ref: '#/definitions/app.Response'
  26047. security:
  26048. - ApiKeyAuth: []
  26049. summary: 查询待审核基差贸易业务
  26050. tags:
  26051. - 风险管理v3
  26052. /Erms3/QuerySpotContractAppleForm:
  26053. get:
  26054. parameters:
  26055. - description: 登录账号
  26056. in: query
  26057. name: loginID
  26058. required: true
  26059. type: integer
  26060. produces:
  26061. - application/json
  26062. responses:
  26063. "200":
  26064. description: OK
  26065. schema:
  26066. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  26067. "500":
  26068. description: Internal Server Error
  26069. schema:
  26070. $ref: '#/definitions/app.Response'
  26071. security:
  26072. - ApiKeyAuth: []
  26073. summary: 查询合同申请表单数据
  26074. tags:
  26075. - 风险管理v3
  26076. /Erms3/QuerySpotContractDetail:
  26077. get:
  26078. parameters:
  26079. - description: 资金账号ID列表,用逗号分隔
  26080. in: query
  26081. name: accountids
  26082. required: true
  26083. type: string
  26084. - description: 合同类型,1为采购合同 -1为销售合同
  26085. in: query
  26086. name: contracttype
  26087. required: true
  26088. type: integer
  26089. - description: 合同模式,1为普通合同 2为回购销售合同
  26090. in: query
  26091. name: contractmode
  26092. required: true
  26093. type: integer
  26094. - description: 状态,0为履约中 1为已完成
  26095. in: query
  26096. name: status
  26097. required: true
  26098. type: integer
  26099. produces:
  26100. - application/json
  26101. responses:
  26102. "200":
  26103. description: OK
  26104. schema:
  26105. items:
  26106. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  26107. type: array
  26108. "500":
  26109. description: Internal Server Error
  26110. schema:
  26111. $ref: '#/definitions/app.Response'
  26112. security:
  26113. - ApiKeyAuth: []
  26114. summary: 查询合同详细信息
  26115. tags:
  26116. - 风险管理v3
  26117. /Erms3/QueryUserInfoApplies:
  26118. get:
  26119. parameters:
  26120. - description: 页码
  26121. in: query
  26122. name: page
  26123. type: integer
  26124. - description: 每页条数
  26125. in: query
  26126. name: pagesize
  26127. type: integer
  26128. - description: 客户名称,支持模糊查询
  26129. in: query
  26130. name: userName
  26131. type: string
  26132. produces:
  26133. - application/json
  26134. responses:
  26135. "200":
  26136. description: OK
  26137. schema:
  26138. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  26139. "500":
  26140. description: Internal Server Error
  26141. schema:
  26142. $ref: '#/definitions/app.Response'
  26143. security:
  26144. - ApiKeyAuth: []
  26145. summary: 客户申请信息查询
  26146. tags:
  26147. - 风险管理v3
  26148. /Erms3/QueryUserInfos:
  26149. get:
  26150. parameters:
  26151. - description: 页码
  26152. in: query
  26153. name: page
  26154. type: integer
  26155. - description: 每页条数
  26156. in: query
  26157. name: pagesize
  26158. type: integer
  26159. - description: 客户名称,支持模糊查询
  26160. in: query
  26161. name: userName
  26162. type: string
  26163. produces:
  26164. - application/json
  26165. responses:
  26166. "200":
  26167. description: OK
  26168. schema:
  26169. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  26170. "500":
  26171. description: Internal Server Error
  26172. schema:
  26173. $ref: '#/definitions/app.Response'
  26174. security:
  26175. - ApiKeyAuth: []
  26176. summary: 客户信息查询
  26177. tags:
  26178. - 风险管理v3
  26179. /HSBY/GetHsbyMyCount:
  26180. get:
  26181. description: 说明: 不包括已完成的数量。
  26182. parameters:
  26183. - description: 资金账户列表,格式:1,2,3
  26184. in: query
  26185. name: accountIDs
  26186. required: true
  26187. type: string
  26188. produces:
  26189. - application/json
  26190. responses:
  26191. "200":
  26192. description: OK
  26193. schema:
  26194. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  26195. "500":
  26196. description: Internal Server Error
  26197. schema:
  26198. $ref: '#/definitions/app.Response'
  26199. security:
  26200. - ApiKeyAuth: []
  26201. summary: 获取我的订单与包裹数量
  26202. tags:
  26203. - 定制【海商报业】
  26204. /HSBY/QueryClientFixedADConfigs:
  26205. get:
  26206. produces:
  26207. - application/json
  26208. responses:
  26209. "200":
  26210. description: OK
  26211. schema:
  26212. $ref: '#/definitions/models.Clientfixedadconfig'
  26213. "500":
  26214. description: Internal Server Error
  26215. schema:
  26216. $ref: '#/definitions/app.Response'
  26217. security:
  26218. - ApiKeyAuth: []
  26219. summary: 获取终端固定广告配置
  26220. tags:
  26221. - 定制【海商报业】
  26222. /HSBY/QueryHsbyBuyMyTradeDetail:
  26223. get:
  26224. parameters:
  26225. - description: 页码
  26226. in: query
  26227. name: page
  26228. type: integer
  26229. - description: 每页条数
  26230. in: query
  26231. name: pagesize
  26232. type: integer
  26233. - description: 资金账户列表,格式:1,2,3
  26234. in: query
  26235. name: accountIDs
  26236. required: true
  26237. type: string
  26238. produces:
  26239. - application/json
  26240. responses:
  26241. "200":
  26242. description: OK
  26243. schema:
  26244. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  26245. "500":
  26246. description: Internal Server Error
  26247. schema:
  26248. $ref: '#/definitions/app.Response'
  26249. security:
  26250. - ApiKeyAuth: []
  26251. summary: 查询"我的订单 - 已完成"单据信息
  26252. tags:
  26253. - 定制【海商报业】
  26254. /HSBY/QueryHsbyGoodsOrderDetails:
  26255. get:
  26256. description: 说明:查询结果已按委托价格和委托时间排序
  26257. parameters:
  26258. - description: 商品ID
  26259. in: query
  26260. name: goodsID
  26261. required: true
  26262. type: integer
  26263. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  26264. in: query
  26265. name: accountIDs
  26266. type: string
  26267. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  26268. in: query
  26269. name: buyOrSell
  26270. type: integer
  26271. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  26272. in: query
  26273. name: price
  26274. type: number
  26275. - description: 档位,不传则默认为3档
  26276. in: query
  26277. name: speed
  26278. type: integer
  26279. produces:
  26280. - application/json
  26281. responses:
  26282. "200":
  26283. description: OK
  26284. schema:
  26285. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  26286. "500":
  26287. description: Internal Server Error
  26288. schema:
  26289. $ref: '#/definitions/app.Response'
  26290. security:
  26291. - ApiKeyAuth: []
  26292. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  26293. tags:
  26294. - 定制【海商报业】
  26295. /HSBY/QueryHsbyListingGoodsDetail:
  26296. get:
  26297. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  26298. parameters:
  26299. - description: 商品ID
  26300. in: query
  26301. name: goodsID
  26302. required: true
  26303. type: integer
  26304. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  26305. in: query
  26306. name: accountID
  26307. type: integer
  26308. produces:
  26309. - application/json
  26310. responses:
  26311. "200":
  26312. description: OK
  26313. schema:
  26314. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  26315. "500":
  26316. description: Internal Server Error
  26317. schema:
  26318. $ref: '#/definitions/app.Response'
  26319. security:
  26320. - ApiKeyAuth: []
  26321. summary: 查询二级市场(挂牌点选)商品信息详情
  26322. tags:
  26323. - 定制【海商报业】
  26324. /HSBY/QueryHsbyMarketGoodsDetail:
  26325. get:
  26326. parameters:
  26327. - description: 委托单号
  26328. in: query
  26329. name: orderID
  26330. required: true
  26331. type: integer
  26332. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  26333. in: query
  26334. name: accountID
  26335. type: integer
  26336. produces:
  26337. - application/json
  26338. responses:
  26339. "200":
  26340. description: OK
  26341. schema:
  26342. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  26343. "500":
  26344. description: Internal Server Error
  26345. schema:
  26346. $ref: '#/definitions/app.Response'
  26347. security:
  26348. - ApiKeyAuth: []
  26349. summary: 查询三级市场(商城)商品信息详情
  26350. tags:
  26351. - 定制【海商报业】
  26352. /HSBY/QueryHsbyMarketGoodses:
  26353. get:
  26354. parameters:
  26355. - description: 页码
  26356. in: query
  26357. name: page
  26358. type: integer
  26359. - description: 每页条数
  26360. in: query
  26361. name: pagesize
  26362. type: integer
  26363. - description: 市场ID列表,格式:1,2,3
  26364. in: query
  26365. name: marketIDs
  26366. required: true
  26367. type: string
  26368. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  26369. in: query
  26370. name: accountID
  26371. required: true
  26372. type: integer
  26373. - description: 类别ID
  26374. in: query
  26375. name: categoryID
  26376. type: integer
  26377. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  26378. in: query
  26379. name: goodsIDs
  26380. type: string
  26381. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  26382. in: query
  26383. name: couponTypeID
  26384. type: integer
  26385. produces:
  26386. - application/json
  26387. responses:
  26388. "200":
  26389. description: OK
  26390. schema:
  26391. $ref: '#/definitions/models.HsbyMarketGoods'
  26392. "500":
  26393. description: Internal Server Error
  26394. schema:
  26395. $ref: '#/definitions/app.Response'
  26396. security:
  26397. - ApiKeyAuth: []
  26398. summary: 查询特卖商品列表(三级商城)
  26399. tags:
  26400. - 定制【海商报业】
  26401. /HSBY/QueryHsbyMarkets:
  26402. get:
  26403. produces:
  26404. - application/json
  26405. responses:
  26406. "200":
  26407. description: OK
  26408. schema:
  26409. $ref: '#/definitions/models.HsbyMarketInfo'
  26410. "500":
  26411. description: Internal Server Error
  26412. schema:
  26413. $ref: '#/definitions/app.Response'
  26414. security:
  26415. - ApiKeyAuth: []
  26416. summary: 查询海商报业相关市场信息
  26417. tags:
  26418. - 定制【海商报业】
  26419. /HSBY/QueryHsbyMyBuyOrderDetails:
  26420. get:
  26421. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  26422. parameters:
  26423. - description: 资金账户列表,格式:1,2,3
  26424. in: query
  26425. name: accountIDs
  26426. required: true
  26427. type: string
  26428. produces:
  26429. - application/json
  26430. responses:
  26431. "200":
  26432. description: OK
  26433. schema:
  26434. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  26435. "500":
  26436. description: Internal Server Error
  26437. schema:
  26438. $ref: '#/definitions/app.Response'
  26439. security:
  26440. - ApiKeyAuth: []
  26441. summary: 查询“我的订单”信息
  26442. tags:
  26443. - 定制【海商报业】
  26444. /HSBY/QueryHsbyMyGoods:
  26445. get:
  26446. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  26447. parameters:
  26448. - description: 资金账户列表,格式:1,2,3
  26449. in: query
  26450. name: accountIDs
  26451. required: true
  26452. type: string
  26453. produces:
  26454. - application/json
  26455. responses:
  26456. "200":
  26457. description: OK
  26458. schema:
  26459. $ref: '#/definitions/models.HsbyMyGoods'
  26460. "500":
  26461. description: Internal Server Error
  26462. schema:
  26463. $ref: '#/definitions/app.Response'
  26464. security:
  26465. - ApiKeyAuth: []
  26466. summary: 查询“我的商品”信息
  26467. tags:
  26468. - 定制【海商报业】
  26469. /HSBY/QueryHsbyMyPackages:
  26470. get:
  26471. parameters:
  26472. - description: 资金账户列表,格式:1,2,3
  26473. in: query
  26474. name: accountIDs
  26475. required: true
  26476. type: string
  26477. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  26478. in: query
  26479. name: takeOrderStatus
  26480. type: integer
  26481. produces:
  26482. - application/json
  26483. responses:
  26484. "200":
  26485. description: OK
  26486. schema:
  26487. $ref: '#/definitions/models.HsbyMyPackage'
  26488. "500":
  26489. description: Internal Server Error
  26490. schema:
  26491. $ref: '#/definitions/app.Response'
  26492. security:
  26493. - ApiKeyAuth: []
  26494. summary: 查询我的包裹信息
  26495. tags:
  26496. - 定制【海商报业】
  26497. /HSBY/QueryHsbyPreGoodsDetail:
  26498. get:
  26499. parameters:
  26500. - description: 商品ID
  26501. in: query
  26502. name: goodsID
  26503. required: true
  26504. type: integer
  26505. - description: 资金账户,主要用于获取预售商品购买上限
  26506. in: query
  26507. name: accountID
  26508. type: integer
  26509. produces:
  26510. - application/json
  26511. responses:
  26512. "200":
  26513. description: OK
  26514. schema:
  26515. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  26516. "500":
  26517. description: Internal Server Error
  26518. schema:
  26519. $ref: '#/definitions/app.Response'
  26520. security:
  26521. - ApiKeyAuth: []
  26522. summary: 查询一级市场(预售)商品信息详情
  26523. tags:
  26524. - 定制【海商报业】
  26525. /HSBY/QueryHsbyPreGoodses:
  26526. get:
  26527. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  26528. parameters:
  26529. - description: 页码
  26530. in: query
  26531. name: page
  26532. type: integer
  26533. - description: 每页条数
  26534. in: query
  26535. name: pagesize
  26536. type: integer
  26537. - description: 市场ID列表,格式:1,2,3
  26538. in: query
  26539. name: marketIDs
  26540. required: true
  26541. type: string
  26542. - description: 目的地(省)ID
  26543. in: query
  26544. name: descProvinceID
  26545. type: integer
  26546. - description: 目的地(市)ID
  26547. in: query
  26548. name: descCityID
  26549. type: integer
  26550. produces:
  26551. - application/json
  26552. responses:
  26553. "200":
  26554. description: OK
  26555. schema:
  26556. $ref: '#/definitions/models.HsbyPreGoods'
  26557. "500":
  26558. description: Internal Server Error
  26559. schema:
  26560. $ref: '#/definitions/app.Response'
  26561. security:
  26562. - ApiKeyAuth: []
  26563. summary: 查询新品上市商品列表(一级市场预售)
  26564. tags:
  26565. - 定制【海商报业】
  26566. /HSBY/QueryHsbySellMyDetails:
  26567. get:
  26568. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  26569. parameters:
  26570. - description: 页码
  26571. in: query
  26572. name: page
  26573. type: integer
  26574. - description: 每页条数
  26575. in: query
  26576. name: pagesize
  26577. type: integer
  26578. - description: 资金账户列表,格式:1,2,3
  26579. in: query
  26580. name: accountIDs
  26581. required: true
  26582. type: string
  26583. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  26584. in: query
  26585. name: orderType
  26586. type: integer
  26587. produces:
  26588. - application/json
  26589. responses:
  26590. "200":
  26591. description: OK
  26592. schema:
  26593. $ref: '#/definitions/models.HsbySellMyDetail'
  26594. "500":
  26595. description: Internal Server Error
  26596. schema:
  26597. $ref: '#/definitions/app.Response'
  26598. security:
  26599. - ApiKeyAuth: []
  26600. summary: 查询"我的闲置"单据信息
  26601. tags:
  26602. - 定制【海商报业】
  26603. /HSBY/QueryHsbyTopGoodses:
  26604. get:
  26605. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  26606. parameters:
  26607. - description: 页码
  26608. in: query
  26609. name: page
  26610. type: integer
  26611. - description: 每页条数
  26612. in: query
  26613. name: pagesize
  26614. type: integer
  26615. - description: 市场ID列表,格式:1,2,3
  26616. in: query
  26617. name: marketIDs
  26618. required: true
  26619. type: string
  26620. - description: 目的地(省)ID
  26621. in: query
  26622. name: descProvinceID
  26623. type: integer
  26624. - description: 目的地(市)ID
  26625. in: query
  26626. name: descCityID
  26627. type: integer
  26628. produces:
  26629. - application/json
  26630. responses:
  26631. "200":
  26632. description: OK
  26633. schema:
  26634. $ref: '#/definitions/models.HsbyTopGoods'
  26635. "500":
  26636. description: Internal Server Error
  26637. schema:
  26638. $ref: '#/definitions/app.Response'
  26639. security:
  26640. - ApiKeyAuth: []
  26641. summary: 查询热卖商品列表(二级市场挂牌点选)
  26642. tags:
  26643. - 定制【海商报业】
  26644. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  26645. get:
  26646. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  26647. parameters:
  26648. - description: 商品ID
  26649. in: query
  26650. name: goodsID
  26651. required: true
  26652. type: integer
  26653. produces:
  26654. - application/json
  26655. responses:
  26656. "200":
  26657. description: OK
  26658. schema:
  26659. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  26660. "500":
  26661. description: Internal Server Error
  26662. schema:
  26663. $ref: '#/definitions/app.Response'
  26664. security:
  26665. - ApiKeyAuth: []
  26666. summary: 查询游客三级市场(商城)商品信息详情
  26667. tags:
  26668. - 定制【海商报业】
  26669. /HSBY/QueryHsbyVisitorMarketGoodses:
  26670. get:
  26671. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  26672. parameters:
  26673. - description: 页码
  26674. in: query
  26675. name: page
  26676. type: integer
  26677. - description: 每页条数
  26678. in: query
  26679. name: pagesize
  26680. type: integer
  26681. - description: 市场ID列表,格式:1,2,3
  26682. in: query
  26683. name: marketIDs
  26684. required: true
  26685. type: string
  26686. - description: 类别ID
  26687. in: query
  26688. name: categoryID
  26689. type: integer
  26690. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  26691. in: query
  26692. name: goodsIDs
  26693. type: string
  26694. produces:
  26695. - application/json
  26696. responses:
  26697. "200":
  26698. description: OK
  26699. schema:
  26700. $ref: '#/definitions/models.HsbyMarketGoods'
  26701. "500":
  26702. description: Internal Server Error
  26703. schema:
  26704. $ref: '#/definitions/app.Response'
  26705. security:
  26706. - ApiKeyAuth: []
  26707. summary: 查询游客特卖商品列表(三级商城)
  26708. tags:
  26709. - 定制【海商报业】
  26710. /HSBY/QueryMyCollectionOrders:
  26711. get:
  26712. parameters:
  26713. - description: 页码
  26714. in: query
  26715. name: page
  26716. type: integer
  26717. - description: 每页条数
  26718. in: query
  26719. name: pagesize
  26720. type: integer
  26721. - description: 资金账户,格式:1,2,3
  26722. in: query
  26723. name: accountIDs
  26724. required: true
  26725. type: string
  26726. produces:
  26727. - application/json
  26728. responses:
  26729. "200":
  26730. description: OK
  26731. schema:
  26732. $ref: '#/definitions/models.HsbySellCollectionOrder'
  26733. "500":
  26734. description: Internal Server Error
  26735. schema:
  26736. $ref: '#/definitions/app.Response'
  26737. security:
  26738. - ApiKeyAuth: []
  26739. summary: 我的闲置中收款信息查询
  26740. tags:
  26741. - 定制【海商报业】
  26742. /HSBY/QueryMyCouponHolds:
  26743. get:
  26744. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  26745. parameters:
  26746. - description: 资金账户列表,格式:1,2,3
  26747. in: query
  26748. name: accountIDs
  26749. required: true
  26750. type: string
  26751. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  26752. in: query
  26753. name: holdStatus
  26754. type: string
  26755. produces:
  26756. - application/json
  26757. responses:
  26758. "200":
  26759. description: OK
  26760. schema:
  26761. $ref: '#/definitions/models.MyCouponHold'
  26762. "500":
  26763. description: Internal Server Error
  26764. schema:
  26765. $ref: '#/definitions/app.Response'
  26766. security:
  26767. - ApiKeyAuth: []
  26768. summary: 我的优惠卷持仓查询
  26769. tags:
  26770. - 定制【海商报业】
  26771. /HSBY/QueryMyCoupons:
  26772. get:
  26773. parameters:
  26774. - description: 资金账户列表,格式:1,2,3
  26775. in: query
  26776. name: accountIDs
  26777. required: true
  26778. type: string
  26779. - description: 商品ID, 一般与sellUserID配套传入
  26780. in: query
  26781. name: goodsID
  26782. type: integer
  26783. - description: 卖方UserID
  26784. in: query
  26785. name: sellUserID
  26786. type: integer
  26787. produces:
  26788. - application/json
  26789. responses:
  26790. "200":
  26791. description: OK
  26792. schema:
  26793. $ref: '#/definitions/models.MyCoupon'
  26794. "500":
  26795. description: Internal Server Error
  26796. schema:
  26797. $ref: '#/definitions/app.Response'
  26798. security:
  26799. - ApiKeyAuth: []
  26800. summary: 我的优惠卷查询
  26801. tags:
  26802. - 定制【海商报业】
  26803. /HSBY/QueryMyPayOrders:
  26804. get:
  26805. parameters:
  26806. - description: 页码
  26807. in: query
  26808. name: page
  26809. type: integer
  26810. - description: 每页条数
  26811. in: query
  26812. name: pagesize
  26813. type: integer
  26814. - description: 资金账户列表,格式:1,2,3
  26815. in: query
  26816. name: accountIDs
  26817. required: true
  26818. type: string
  26819. - description: 买方委托单号
  26820. in: query
  26821. name: buyOrderID
  26822. type: integer
  26823. - description: 卖方委托单号
  26824. in: query
  26825. name: sellOrderID
  26826. type: integer
  26827. produces:
  26828. - application/json
  26829. responses:
  26830. "200":
  26831. description: OK
  26832. schema:
  26833. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  26834. "500":
  26835. description: Internal Server Error
  26836. schema:
  26837. $ref: '#/definitions/app.Response'
  26838. security:
  26839. - ApiKeyAuth: []
  26840. summary: 获取我的订单中待付款信息
  26841. tags:
  26842. - 定制【海商报业】
  26843. /HSBY/QueryMyUsedCoupon:
  26844. get:
  26845. parameters:
  26846. - description: 资金账户列表,格式:1,2,3
  26847. in: query
  26848. name: accountIDs
  26849. required: true
  26850. type: string
  26851. produces:
  26852. - application/json
  26853. responses:
  26854. "200":
  26855. description: OK
  26856. schema:
  26857. $ref: '#/definitions/models.MyUsedCoupon'
  26858. "500":
  26859. description: Internal Server Error
  26860. schema:
  26861. $ref: '#/definitions/app.Response'
  26862. security:
  26863. - ApiKeyAuth: []
  26864. summary: 已使用优惠卷查询
  26865. tags:
  26866. - 定制【海商报业】
  26867. /HSBY/QueryProvincesAndCities:
  26868. get:
  26869. description: 查询结果只包括二级市场商品已关连的省市信息。
  26870. parameters:
  26871. - description: 省ID
  26872. in: query
  26873. name: provinceID
  26874. type: integer
  26875. produces:
  26876. - application/json
  26877. responses:
  26878. "200":
  26879. description: OK
  26880. schema:
  26881. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  26882. "500":
  26883. description: Internal Server Error
  26884. schema:
  26885. $ref: '#/definitions/app.Response'
  26886. security:
  26887. - ApiKeyAuth: []
  26888. summary: 查询省市信息(不包括区)
  26889. tags:
  26890. - 定制【海商报业】
  26891. /HSBY/SetHsbyMyPackagesStatus:
  26892. post:
  26893. parameters:
  26894. - description: 提货单号
  26895. in: query
  26896. name: takeOrderID
  26897. required: true
  26898. type: string
  26899. - description: 资金账号
  26900. in: query
  26901. name: accountID
  26902. required: true
  26903. type: integer
  26904. produces:
  26905. - application/json
  26906. responses:
  26907. "200":
  26908. description: OK
  26909. schema:
  26910. $ref: '#/definitions/app.Response'
  26911. "500":
  26912. description: Internal Server Error
  26913. schema:
  26914. $ref: '#/definitions/app.Response'
  26915. security:
  26916. - ApiKeyAuth: []
  26917. summary: 设置我的包裹已收货状态
  26918. tags:
  26919. - 定制【海商报业】
  26920. /Market/GetAllExExchanges:
  26921. get:
  26922. produces:
  26923. - application/json
  26924. responses:
  26925. "200":
  26926. description: OK
  26927. schema:
  26928. $ref: '#/definitions/models.Goods'
  26929. "500":
  26930. description: Internal Server Error
  26931. schema:
  26932. $ref: '#/definitions/app.Response'
  26933. security:
  26934. - ApiKeyAuth: []
  26935. summary: 获取所有外部交易所信息
  26936. tags:
  26937. - 通用市场
  26938. /Market/QueryGoodsesByLoginID:
  26939. get:
  26940. parameters:
  26941. - description: 登录账号
  26942. in: query
  26943. name: loginID
  26944. required: true
  26945. type: integer
  26946. - description: 市场ID列表,格式:1,2,3
  26947. in: query
  26948. name: marketIDs
  26949. type: string
  26950. produces:
  26951. - application/json
  26952. responses:
  26953. "200":
  26954. description: OK
  26955. schema:
  26956. $ref: '#/definitions/models.Goods'
  26957. "500":
  26958. description: Internal Server Error
  26959. schema:
  26960. $ref: '#/definitions/app.Response'
  26961. security:
  26962. - ApiKeyAuth: []
  26963. summary: 获取登录账号有权限的商品信息
  26964. tags:
  26965. - 通用市场
  26966. /Market/QueryMarketRun:
  26967. get:
  26968. parameters:
  26969. - description: 市场ID,不传返回所有
  26970. in: query
  26971. name: marketID
  26972. type: integer
  26973. produces:
  26974. - application/json
  26975. responses:
  26976. "200":
  26977. description: OK
  26978. schema:
  26979. $ref: '#/definitions/models.Marketrun'
  26980. "500":
  26981. description: Internal Server Error
  26982. schema:
  26983. $ref: '#/definitions/app.Response'
  26984. security:
  26985. - ApiKeyAuth: []
  26986. summary: 查询市场运行信息
  26987. tags:
  26988. - 通用市场
  26989. /Market/QueryMarketsByLoginID:
  26990. get:
  26991. parameters:
  26992. - description: 登录账号
  26993. in: query
  26994. name: loginID
  26995. required: true
  26996. type: integer
  26997. produces:
  26998. - application/json
  26999. responses:
  27000. "200":
  27001. description: OK
  27002. schema:
  27003. $ref: '#/definitions/models.Market'
  27004. "500":
  27005. description: Internal Server Error
  27006. schema:
  27007. $ref: '#/definitions/app.Response'
  27008. security:
  27009. - ApiKeyAuth: []
  27010. summary: 获取登录账号有权限的市场信息
  27011. tags:
  27012. - 通用市场
  27013. /Order/QueryHisTradeDetail:
  27014. get:
  27015. parameters:
  27016. - description: 资金账户 - 格式:1,2,3
  27017. in: query
  27018. name: accountID
  27019. required: true
  27020. type: string
  27021. - description: 成交单号
  27022. in: query
  27023. name: tradeID
  27024. type: integer
  27025. - description: 委托单号
  27026. in: query
  27027. name: orderID
  27028. type: integer
  27029. - description: 商品ID
  27030. in: query
  27031. name: goodsID
  27032. type: integer
  27033. - description: 交易模式 - 格式:1,2,3
  27034. in: query
  27035. name: tradeMode
  27036. type: string
  27037. - description: 委托单据类型
  27038. in: query
  27039. name: buildType
  27040. type: integer
  27041. - description: 成交类别 - 格式:1,2,3
  27042. in: query
  27043. name: tradeType
  27044. type: string
  27045. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  27046. in: query
  27047. name: startDate
  27048. type: string
  27049. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  27050. in: query
  27051. name: endDate
  27052. type: string
  27053. produces:
  27054. - application/json
  27055. responses:
  27056. "200":
  27057. description: OK
  27058. schema:
  27059. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  27060. "500":
  27061. description: Internal Server Error
  27062. schema:
  27063. $ref: '#/definitions/app.Response'
  27064. security:
  27065. - ApiKeyAuth: []
  27066. summary: 历史成交单查询(合约市场)
  27067. tags:
  27068. - 通用单据
  27069. /Order/QueryHisTradeOrderDetail:
  27070. get:
  27071. parameters:
  27072. - description: 资金账户 - 格式:1,2,3
  27073. in: query
  27074. name: accountID
  27075. required: true
  27076. type: string
  27077. - description: 交易模式 - 格式:1,2,3
  27078. in: query
  27079. name: tradeMode
  27080. type: string
  27081. - description: 委托状态 - 格式:1,2,3
  27082. in: query
  27083. name: orderStatus
  27084. type: string
  27085. - description: 委托单号
  27086. in: query
  27087. name: orderID
  27088. type: integer
  27089. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  27090. in: query
  27091. name: startDate
  27092. type: string
  27093. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  27094. in: query
  27095. name: endDate
  27096. type: string
  27097. produces:
  27098. - application/json
  27099. responses:
  27100. "200":
  27101. description: OK
  27102. schema:
  27103. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  27104. "500":
  27105. description: Internal Server Error
  27106. schema:
  27107. $ref: '#/definitions/app.Response'
  27108. security:
  27109. - ApiKeyAuth: []
  27110. summary: 历史委托单查询请求(合约市场)
  27111. tags:
  27112. - 通用单据
  27113. /Order/QueryTradeDetail:
  27114. get:
  27115. parameters:
  27116. - description: 资金账户 - 格式:1,2,3
  27117. in: query
  27118. name: accountID
  27119. required: true
  27120. type: string
  27121. - description: 成交单号
  27122. in: query
  27123. name: tradeID
  27124. type: integer
  27125. - description: 委托单号
  27126. in: query
  27127. name: orderID
  27128. type: integer
  27129. - description: 交易模式 - 格式:1,2,3
  27130. in: query
  27131. name: tradeMode
  27132. type: string
  27133. - description: 委托单据类型
  27134. in: query
  27135. name: buildType
  27136. type: integer
  27137. - description: 成交类别 - 格式:1,2,3
  27138. in: query
  27139. name: tradeType
  27140. type: string
  27141. - description: 商品ID
  27142. in: query
  27143. name: goodsID
  27144. type: integer
  27145. produces:
  27146. - application/json
  27147. responses:
  27148. "200":
  27149. description: OK
  27150. schema:
  27151. $ref: '#/definitions/order.QueryTradeDetailRsp'
  27152. "500":
  27153. description: Internal Server Error
  27154. schema:
  27155. $ref: '#/definitions/app.Response'
  27156. security:
  27157. - ApiKeyAuth: []
  27158. summary: 成交单查询(合约市场)
  27159. tags:
  27160. - 通用单据
  27161. /Order/QueryTradeHolderDetail:
  27162. get:
  27163. parameters:
  27164. - description: 用户id
  27165. in: query
  27166. name: userid
  27167. type: integer
  27168. - description: 资金账号, 格式 1,2,3
  27169. in: query
  27170. name: accids
  27171. type: string
  27172. - description: 交易模式, 格式 1,2,3
  27173. in: query
  27174. name: trademodes
  27175. type: string
  27176. - description: 市场id, 格式 1,2,3
  27177. in: query
  27178. name: marketids
  27179. type: string
  27180. - description: 商品id
  27181. in: query
  27182. name: goodsid
  27183. type: integer
  27184. - description: 买卖方向 0-买 1-卖
  27185. in: query
  27186. name: buyorsell
  27187. type: integer
  27188. produces:
  27189. - application/json
  27190. responses:
  27191. "200":
  27192. description: OK
  27193. schema:
  27194. items:
  27195. $ref: '#/definitions/models.TradeHolderDetail'
  27196. type: array
  27197. "500":
  27198. description: Internal Server Error
  27199. schema:
  27200. $ref: '#/definitions/app.Response'
  27201. security:
  27202. - ApiKeyAuth: []
  27203. summary: 查询持仓明细
  27204. tags:
  27205. - 通用单据
  27206. /Order/QueryTradeOrderDetail:
  27207. get:
  27208. parameters:
  27209. - description: 资金账户 - 格式:1,2,3
  27210. in: query
  27211. name: accountID
  27212. required: true
  27213. type: string
  27214. - description: 交易模式 - 格式:1,2,3
  27215. in: query
  27216. name: tradeMode
  27217. type: string
  27218. - description: 委托状态 - 格式:1,2,3
  27219. in: query
  27220. name: orderStatus
  27221. type: string
  27222. - description: 委托单号
  27223. in: query
  27224. name: orderID
  27225. type: integer
  27226. produces:
  27227. - application/json
  27228. responses:
  27229. "200":
  27230. description: OK
  27231. schema:
  27232. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  27233. "500":
  27234. description: Internal Server Error
  27235. schema:
  27236. $ref: '#/definitions/app.Response'
  27237. security:
  27238. - ApiKeyAuth: []
  27239. summary: 委托单查询请求(合约市场)
  27240. tags:
  27241. - 通用单据
  27242. /Order/QueryTradePosition:
  27243. get:
  27244. parameters:
  27245. - description: 资金账户 - 格式:1,2,3
  27246. in: query
  27247. name: accountID
  27248. required: true
  27249. type: string
  27250. - description: 交易模式 - 格式:1,2,3
  27251. in: query
  27252. name: tradeMode
  27253. type: string
  27254. produces:
  27255. - application/json
  27256. responses:
  27257. "200":
  27258. description: OK
  27259. schema:
  27260. $ref: '#/definitions/order.QueryTradePositionRsp'
  27261. "500":
  27262. description: Internal Server Error
  27263. schema:
  27264. $ref: '#/definitions/app.Response'
  27265. security:
  27266. - ApiKeyAuth: []
  27267. summary: 持仓汇总查询(合约市场)
  27268. tags:
  27269. - 通用单据
  27270. /Qhj/QueryAccountInOutApply:
  27271. get:
  27272. parameters:
  27273. - description: 用户ID
  27274. in: query
  27275. name: userid
  27276. required: true
  27277. type: integer
  27278. - description: 申请起始日期(格式yyyymmdd)
  27279. in: query
  27280. name: begindate
  27281. type: string
  27282. - description: 申请截止日期(格式yyyymmdd)
  27283. in: query
  27284. name: enddate
  27285. type: string
  27286. - description: 模糊搜索名称
  27287. in: query
  27288. name: likename
  27289. type: string
  27290. produces:
  27291. - application/json
  27292. responses:
  27293. "200":
  27294. description: OK
  27295. schema:
  27296. items:
  27297. $ref: '#/definitions/models.QhjAccountOutInApply'
  27298. type: array
  27299. "500":
  27300. description: Internal Server Error
  27301. schema:
  27302. $ref: '#/definitions/app.Response'
  27303. security:
  27304. - ApiKeyAuth: []
  27305. summary: 查询充值提现
  27306. tags:
  27307. - 大连千海金
  27308. /Qhj/QueryAreaFinanceConfig:
  27309. get:
  27310. parameters:
  27311. - description: 机构用户ID 其他做市关系,都设置为 1
  27312. in: query
  27313. name: userid
  27314. type: integer
  27315. produces:
  27316. - application/json
  27317. responses:
  27318. "200":
  27319. description: OK
  27320. schema:
  27321. items:
  27322. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  27323. type: array
  27324. "500":
  27325. description: Internal Server Error
  27326. schema:
  27327. $ref: '#/definitions/app.Response'
  27328. security:
  27329. - ApiKeyAuth: []
  27330. summary: 查询企业配置表
  27331. tags:
  27332. - 大连千海金
  27333. /Qhj/QueryBankAccountSign:
  27334. get:
  27335. parameters:
  27336. - description: 用户ID
  27337. in: query
  27338. name: userid
  27339. required: true
  27340. type: integer
  27341. produces:
  27342. - application/json
  27343. responses:
  27344. "200":
  27345. description: OK
  27346. schema:
  27347. items:
  27348. $ref: '#/definitions/models.QhjBankAccountSign'
  27349. type: array
  27350. "500":
  27351. description: Internal Server Error
  27352. schema:
  27353. $ref: '#/definitions/app.Response'
  27354. security:
  27355. - ApiKeyAuth: []
  27356. summary: 查询签约银行信息(提现账户管理)
  27357. tags:
  27358. - 大连千海金
  27359. /Qhj/QueryBankInfo:
  27360. get:
  27361. produces:
  27362. - application/json
  27363. responses:
  27364. "200":
  27365. description: OK
  27366. schema:
  27367. items:
  27368. $ref: '#/definitions/models.QhjBankInfo'
  27369. type: array
  27370. "500":
  27371. description: Internal Server Error
  27372. schema:
  27373. $ref: '#/definitions/app.Response'
  27374. security:
  27375. - ApiKeyAuth: []
  27376. summary: 查询开户行
  27377. tags:
  27378. - 大连千海金
  27379. /Qhj/QueryBrokerApply:
  27380. get:
  27381. parameters:
  27382. - description: 所属机构ID
  27383. in: query
  27384. name: userid
  27385. type: integer
  27386. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  27387. in: query
  27388. name: filterstatus
  27389. type: string
  27390. produces:
  27391. - application/json
  27392. responses:
  27393. "200":
  27394. description: OK
  27395. schema:
  27396. items:
  27397. $ref: '#/definitions/models.QhjBrokerApply'
  27398. type: array
  27399. "500":
  27400. description: Internal Server Error
  27401. schema:
  27402. $ref: '#/definitions/app.Response'
  27403. security:
  27404. - ApiKeyAuth: []
  27405. summary: 查询经纪人申请
  27406. tags:
  27407. - 大连千海金
  27408. /Qhj/QueryBrokerApplyEx:
  27409. get:
  27410. parameters:
  27411. - description: 所属机构ID
  27412. in: query
  27413. name: userid
  27414. type: integer
  27415. produces:
  27416. - application/json
  27417. responses:
  27418. "200":
  27419. description: OK
  27420. schema:
  27421. items:
  27422. $ref: '#/definitions/models.QhjBrokerApplyEx'
  27423. type: array
  27424. "500":
  27425. description: Internal Server Error
  27426. schema:
  27427. $ref: '#/definitions/app.Response'
  27428. security:
  27429. - ApiKeyAuth: []
  27430. summary: 查询经纪人信息和申请记录
  27431. tags:
  27432. - 大连千海金
  27433. /Qhj/QueryBrokerRewardLog:
  27434. get:
  27435. parameters:
  27436. - description: 用户ID
  27437. in: query
  27438. name: userid
  27439. required: true
  27440. type: integer
  27441. - description: 开始交易日(yyyymmdd)
  27442. in: query
  27443. name: begindate
  27444. type: string
  27445. - description: 结束交易日(yyyymmdd)
  27446. in: query
  27447. name: enddate
  27448. type: string
  27449. produces:
  27450. - application/json
  27451. responses:
  27452. "200":
  27453. description: OK
  27454. schema:
  27455. items:
  27456. $ref: '#/definitions/models.QhjBrokerRewardLog'
  27457. type: array
  27458. "500":
  27459. description: Internal Server Error
  27460. schema:
  27461. $ref: '#/definitions/app.Response'
  27462. security:
  27463. - ApiKeyAuth: []
  27464. summary: 查询奖励流水(我的奖励)
  27465. tags:
  27466. - 大连千海金
  27467. /Qhj/QueryContract:
  27468. get:
  27469. parameters:
  27470. - description: 用户ID
  27471. in: query
  27472. name: userid
  27473. type: integer
  27474. - description: scf合同id
  27475. in: query
  27476. name: scfcontractid
  27477. type: integer
  27478. produces:
  27479. - application/json
  27480. responses:
  27481. "200":
  27482. description: OK
  27483. schema:
  27484. items:
  27485. $ref: '#/definitions/models.QhjContract'
  27486. type: array
  27487. "500":
  27488. description: Internal Server Error
  27489. schema:
  27490. $ref: '#/definitions/app.Response'
  27491. security:
  27492. - ApiKeyAuth: []
  27493. summary: 查询融资明细(合同)
  27494. tags:
  27495. - 大连千海金
  27496. /Qhj/QueryContractLog:
  27497. get:
  27498. parameters:
  27499. - description: scf合同id
  27500. in: query
  27501. name: scfcontractid
  27502. required: true
  27503. type: integer
  27504. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  27505. in: query
  27506. name: amounttype
  27507. type: string
  27508. produces:
  27509. - application/json
  27510. responses:
  27511. "200":
  27512. description: OK
  27513. schema:
  27514. items:
  27515. $ref: '#/definitions/models.QhjContractLog'
  27516. type: array
  27517. "500":
  27518. description: Internal Server Error
  27519. schema:
  27520. $ref: '#/definitions/app.Response'
  27521. security:
  27522. - ApiKeyAuth: []
  27523. summary: 查询融资明细流水(融资明细详情页中的流水)
  27524. tags:
  27525. - 大连千海金
  27526. /Qhj/QueryCusBankSignBank:
  27527. get:
  27528. produces:
  27529. - application/json
  27530. responses:
  27531. "200":
  27532. description: OK
  27533. schema:
  27534. items:
  27535. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  27536. type: array
  27537. "500":
  27538. description: Internal Server Error
  27539. schema:
  27540. $ref: '#/definitions/app.Response'
  27541. security:
  27542. - ApiKeyAuth: []
  27543. summary: 查询托管银行
  27544. tags:
  27545. - 大连千海金
  27546. /Qhj/QueryCustomerInfo:
  27547. get:
  27548. parameters:
  27549. - description: 用户ID
  27550. in: query
  27551. name: userid
  27552. required: true
  27553. type: integer
  27554. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  27555. in: query
  27556. name: querytype
  27557. required: true
  27558. type: integer
  27559. - description: 客户类型 1-个人 2-企业
  27560. in: query
  27561. name: userinfotype
  27562. type: integer
  27563. - description: 客户名称(模糊匹配)
  27564. in: query
  27565. name: customername
  27566. type: string
  27567. - description: 昵称(模糊匹配)
  27568. in: query
  27569. name: nickname
  27570. type: string
  27571. - description: 是否包含子级 1-包含
  27572. in: query
  27573. name: includesub
  27574. type: integer
  27575. produces:
  27576. - application/json
  27577. responses:
  27578. "200":
  27579. description: OK
  27580. schema:
  27581. items:
  27582. $ref: '#/definitions/models.QhjCustomer'
  27583. type: array
  27584. "500":
  27585. description: Internal Server Error
  27586. schema:
  27587. $ref: '#/definitions/app.Response'
  27588. security:
  27589. - ApiKeyAuth: []
  27590. summary: 查询客户资料
  27591. tags:
  27592. - 大连千海金
  27593. /Qhj/QueryGoodsEx:
  27594. get:
  27595. parameters:
  27596. - description: 商品id
  27597. in: query
  27598. name: goodsid
  27599. type: integer
  27600. produces:
  27601. - application/json
  27602. responses:
  27603. "200":
  27604. description: OK
  27605. schema:
  27606. items:
  27607. $ref: '#/definitions/models.Qhjgoodsex'
  27608. type: array
  27609. "500":
  27610. description: Internal Server Error
  27611. schema:
  27612. $ref: '#/definitions/app.Response'
  27613. security:
  27614. - ApiKeyAuth: []
  27615. summary: 交易商品扩展表
  27616. tags:
  27617. - 大连千海金
  27618. /Qhj/QueryMyTeam:
  27619. get:
  27620. parameters:
  27621. - description: 用户ID
  27622. in: query
  27623. name: userid
  27624. required: true
  27625. type: integer
  27626. produces:
  27627. - application/json
  27628. responses:
  27629. "200":
  27630. description: OK
  27631. schema:
  27632. items:
  27633. $ref: '#/definitions/models.QhjMyTeamEx'
  27634. type: array
  27635. "500":
  27636. description: Internal Server Error
  27637. schema:
  27638. $ref: '#/definitions/app.Response'
  27639. security:
  27640. - ApiKeyAuth: []
  27641. summary: 查询我的团队
  27642. tags:
  27643. - 大连千海金
  27644. /Qhj/QueryMyTeamOrder:
  27645. get:
  27646. parameters:
  27647. - description: 页码
  27648. in: query
  27649. name: page
  27650. type: integer
  27651. - description: 每页条数
  27652. in: query
  27653. name: pagesize
  27654. type: integer
  27655. - description: 用户ID
  27656. in: query
  27657. name: userid
  27658. required: true
  27659. type: integer
  27660. - description: 交易模式
  27661. in: query
  27662. name: trademode
  27663. type: integer
  27664. - description: 名称(模糊搜索账户)
  27665. in: query
  27666. name: filtername
  27667. type: string
  27668. produces:
  27669. - application/json
  27670. responses:
  27671. "200":
  27672. description: OK
  27673. schema:
  27674. items:
  27675. $ref: '#/definitions/models.QhjTeamOrder'
  27676. type: array
  27677. "500":
  27678. description: Internal Server Error
  27679. schema:
  27680. $ref: '#/definitions/app.Response'
  27681. security:
  27682. - ApiKeyAuth: []
  27683. summary: 查询团队订单(我的团队/团队订单)
  27684. tags:
  27685. - 大连千海金
  27686. /Qhj/QueryParentAreaList:
  27687. get:
  27688. parameters:
  27689. - description: 用户ID
  27690. in: query
  27691. name: userid
  27692. required: true
  27693. type: integer
  27694. produces:
  27695. - application/json
  27696. responses:
  27697. "200":
  27698. description: OK
  27699. schema:
  27700. items:
  27701. $ref: '#/definitions/models.QhjParentAreaList'
  27702. type: array
  27703. "500":
  27704. description: Internal Server Error
  27705. schema:
  27706. $ref: '#/definitions/app.Response'
  27707. security:
  27708. - ApiKeyAuth: []
  27709. summary: 查询所属机构列表
  27710. tags:
  27711. - 大连千海金
  27712. /Qhj/QueryPayOrder:
  27713. get:
  27714. parameters:
  27715. - description: 资金账号id
  27716. in: query
  27717. name: accountid
  27718. required: true
  27719. type: integer
  27720. - description: 成交单号
  27721. in: query
  27722. name: tradeid
  27723. type: integer
  27724. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  27725. in: query
  27726. name: payflag
  27727. type: string
  27728. produces:
  27729. - application/json
  27730. responses:
  27731. "200":
  27732. description: OK
  27733. schema:
  27734. items:
  27735. $ref: '#/definitions/models.QhjPayOrder'
  27736. type: array
  27737. "500":
  27738. description: Internal Server Error
  27739. schema:
  27740. $ref: '#/definitions/app.Response'
  27741. security:
  27742. - ApiKeyAuth: []
  27743. summary: 查询待付款单据
  27744. tags:
  27745. - 大连千海金
  27746. /Qhj/QueryPickArea:
  27747. get:
  27748. parameters:
  27749. - description: 用户ID
  27750. in: query
  27751. name: userid
  27752. type: integer
  27753. produces:
  27754. - application/json
  27755. responses:
  27756. "200":
  27757. description: OK
  27758. schema:
  27759. items:
  27760. $ref: '#/definitions/models.QhjPickArea'
  27761. type: array
  27762. "500":
  27763. description: Internal Server Error
  27764. schema:
  27765. $ref: '#/definitions/app.Response'
  27766. security:
  27767. - ApiKeyAuth: []
  27768. summary: 查询提货门店
  27769. tags:
  27770. - 大连千海金
  27771. /Qhj/QueryPickGoods:
  27772. get:
  27773. parameters:
  27774. - description: 交易商品id
  27775. in: query
  27776. name: goodsid
  27777. required: true
  27778. type: integer
  27779. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  27780. in: query
  27781. name: status
  27782. type: string
  27783. produces:
  27784. - application/json
  27785. responses:
  27786. "200":
  27787. description: OK
  27788. schema:
  27789. items:
  27790. $ref: '#/definitions/models.QhjPickGoods'
  27791. type: array
  27792. "500":
  27793. description: Internal Server Error
  27794. schema:
  27795. $ref: '#/definitions/app.Response'
  27796. security:
  27797. - ApiKeyAuth: []
  27798. summary: 查询提货商品
  27799. tags:
  27800. - 大连千海金
  27801. /Qhj/QueryRSTriggerLog:
  27802. get:
  27803. parameters:
  27804. - description: 用户ID
  27805. in: query
  27806. name: userid
  27807. type: integer
  27808. - description: 定投策略id
  27809. in: query
  27810. name: regularlystrategyid
  27811. type: integer
  27812. - description: 商品id
  27813. in: query
  27814. name: goodsid
  27815. type: integer
  27816. - description: 开始交易日(yyyymmdd)
  27817. in: query
  27818. name: begindate
  27819. type: string
  27820. - description: 结束交易日(yyyymmdd)
  27821. in: query
  27822. name: enddate
  27823. type: string
  27824. - description: 名称(模糊搜索账户)
  27825. in: query
  27826. name: filtername
  27827. type: string
  27828. produces:
  27829. - application/json
  27830. responses:
  27831. "200":
  27832. description: OK
  27833. schema:
  27834. items:
  27835. $ref: '#/definitions/models.QhjRSTriggerLog'
  27836. type: array
  27837. "500":
  27838. description: Internal Server Error
  27839. schema:
  27840. $ref: '#/definitions/app.Response'
  27841. security:
  27842. - ApiKeyAuth: []
  27843. summary: 查询定投记录(定投管理/详情/定投记录)
  27844. tags:
  27845. - 大连千海金
  27846. /Qhj/QueryRStrategy:
  27847. get:
  27848. parameters:
  27849. - description: 用户ID
  27850. in: query
  27851. name: userid
  27852. type: integer
  27853. - description: 商品id
  27854. in: query
  27855. name: goodsid
  27856. type: integer
  27857. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  27858. in: query
  27859. name: status
  27860. type: string
  27861. - description: 名称(模糊搜索账户)
  27862. in: query
  27863. name: filtername
  27864. type: string
  27865. produces:
  27866. - application/json
  27867. responses:
  27868. "200":
  27869. description: OK
  27870. schema:
  27871. items:
  27872. $ref: '#/definitions/models.QhjRStrategy'
  27873. type: array
  27874. "500":
  27875. description: Internal Server Error
  27876. schema:
  27877. $ref: '#/definitions/app.Response'
  27878. security:
  27879. - ApiKeyAuth: []
  27880. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  27881. tags:
  27882. - 大连千海金
  27883. /Qhj/QueryReckonPriceLog:
  27884. get:
  27885. parameters:
  27886. - description: 商品ID
  27887. in: query
  27888. name: goodsid
  27889. type: integer
  27890. - description: 交易日 格式(yyyymmdd)
  27891. in: query
  27892. name: tradedate
  27893. type: string
  27894. produces:
  27895. - application/json
  27896. responses:
  27897. "200":
  27898. description: OK
  27899. schema:
  27900. items:
  27901. $ref: '#/definitions/models.QhjReckonPriceLog'
  27902. type: array
  27903. "500":
  27904. description: Internal Server Error
  27905. schema:
  27906. $ref: '#/definitions/app.Response'
  27907. security:
  27908. - ApiKeyAuth: []
  27909. summary: 查询定投价(结算价)
  27910. tags:
  27911. - 大连千海金
  27912. /Qhj/QueryScoreLog:
  27913. get:
  27914. parameters:
  27915. - description: 用户ID
  27916. in: query
  27917. name: userid
  27918. required: true
  27919. type: integer
  27920. - description: 开始交易日(yyyymmdd)
  27921. in: query
  27922. name: begindate
  27923. type: string
  27924. - description: 结束交易日(yyyymmdd)
  27925. in: query
  27926. name: enddate
  27927. type: string
  27928. - description: 最近多少条
  27929. in: query
  27930. name: lastnum
  27931. type: integer
  27932. produces:
  27933. - application/json
  27934. responses:
  27935. "200":
  27936. description: OK
  27937. schema:
  27938. items:
  27939. $ref: '#/definitions/models.QhjScoreLog'
  27940. type: array
  27941. "500":
  27942. description: Internal Server Error
  27943. schema:
  27944. $ref: '#/definitions/app.Response'
  27945. security:
  27946. - ApiKeyAuth: []
  27947. summary: 查询积分流水(我的积分)
  27948. tags:
  27949. - 大连千海金
  27950. /Qhj/QuerySiteColumnDetail:
  27951. get:
  27952. parameters:
  27953. - description: 用户ID
  27954. in: query
  27955. name: userid
  27956. required: true
  27957. type: integer
  27958. produces:
  27959. - application/json
  27960. responses:
  27961. "200":
  27962. description: OK
  27963. schema:
  27964. items:
  27965. $ref: '#/definitions/models.QhjSiteColumnDetail'
  27966. type: array
  27967. "500":
  27968. description: Internal Server Error
  27969. schema:
  27970. $ref: '#/definitions/app.Response'
  27971. security:
  27972. - ApiKeyAuth: []
  27973. summary: 查询资讯
  27974. tags:
  27975. - 大连千海金
  27976. /Qhj/QueryTradeGoodsPickup:
  27977. get:
  27978. parameters:
  27979. - description: 用户ID
  27980. in: query
  27981. name: userid
  27982. required: true
  27983. type: integer
  27984. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  27985. 7:已拒绝 8:已撤销
  27986. in: query
  27987. name: takeorderstatus
  27988. type: integer
  27989. produces:
  27990. - application/json
  27991. responses:
  27992. "200":
  27993. description: OK
  27994. schema:
  27995. items:
  27996. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  27997. type: array
  27998. "500":
  27999. description: Internal Server Error
  28000. schema:
  28001. $ref: '#/definitions/app.Response'
  28002. security:
  28003. - ApiKeyAuth: []
  28004. summary: 查询提货
  28005. tags:
  28006. - 大连千海金
  28007. /Qhj/QueryUserCollectConfig:
  28008. get:
  28009. parameters:
  28010. - description: 用户ID
  28011. in: query
  28012. name: userid
  28013. required: true
  28014. type: integer
  28015. produces:
  28016. - application/json
  28017. responses:
  28018. "200":
  28019. description: OK
  28020. schema:
  28021. items:
  28022. $ref: '#/definitions/models.UserCollectConfig'
  28023. type: array
  28024. "500":
  28025. description: Internal Server Error
  28026. schema:
  28027. $ref: '#/definitions/app.Response'
  28028. security:
  28029. - ApiKeyAuth: []
  28030. summary: 查询提现账户设置
  28031. tags:
  28032. - 大连千海金
  28033. /Qhj/QueryUserReceiveInfo:
  28034. get:
  28035. parameters:
  28036. - description: 用户ID
  28037. in: query
  28038. name: userid
  28039. required: true
  28040. type: integer
  28041. produces:
  28042. - application/json
  28043. responses:
  28044. "200":
  28045. description: OK
  28046. schema:
  28047. items:
  28048. $ref: '#/definitions/models.UserReceiveInfo'
  28049. type: array
  28050. "500":
  28051. description: Internal Server Error
  28052. schema:
  28053. $ref: '#/definitions/app.Response'
  28054. security:
  28055. - ApiKeyAuth: []
  28056. summary: 查询收货地址信息
  28057. tags:
  28058. - 大连千海金
  28059. /QhjMgr/QueryAccountInOutApply:
  28060. get:
  28061. parameters:
  28062. - description: 查询类型 1-提现(出金) 2-充值(出金)
  28063. in: query
  28064. name: querytype
  28065. required: true
  28066. type: integer
  28067. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  28068. in: query
  28069. name: applystatus
  28070. type: integer
  28071. - description: 申请起始日期(格式yyyymmdd)
  28072. in: query
  28073. name: begindate
  28074. type: string
  28075. - description: 申请截止日期(格式yyyymmdd)
  28076. in: query
  28077. name: enddate
  28078. type: string
  28079. - description: 模糊搜索名称
  28080. in: query
  28081. name: likename
  28082. type: string
  28083. produces:
  28084. - application/json
  28085. responses:
  28086. "200":
  28087. description: OK
  28088. schema:
  28089. items:
  28090. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  28091. type: array
  28092. "500":
  28093. description: Internal Server Error
  28094. schema:
  28095. $ref: '#/definitions/app.Response'
  28096. security:
  28097. - ApiKeyAuth: []
  28098. summary: 查询充值提现
  28099. tags:
  28100. - 大连千海金(PCWeb)
  28101. /QhjMgr/QueryBrokerApply:
  28102. get:
  28103. parameters:
  28104. - description: 所属机构ID
  28105. in: query
  28106. name: userid
  28107. type: integer
  28108. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  28109. in: query
  28110. name: filterstatus
  28111. type: string
  28112. - description: 名称(模糊匹配)
  28113. in: query
  28114. name: filtername
  28115. type: string
  28116. - description: 是否包含子级 1-包含
  28117. in: query
  28118. name: includesub
  28119. type: integer
  28120. produces:
  28121. - application/json
  28122. responses:
  28123. "200":
  28124. description: OK
  28125. schema:
  28126. items:
  28127. $ref: '#/definitions/models.QhjMgrBrokerApply'
  28128. type: array
  28129. "500":
  28130. description: Internal Server Error
  28131. schema:
  28132. $ref: '#/definitions/app.Response'
  28133. security:
  28134. - ApiKeyAuth: []
  28135. summary: 查询经纪人申请
  28136. tags:
  28137. - 大连千海金(PCWeb)
  28138. /QhjMgr/QueryBrokerRewardReport:
  28139. get:
  28140. parameters:
  28141. - description: 所属机构ID
  28142. in: query
  28143. name: userid
  28144. required: true
  28145. type: integer
  28146. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28147. in: query
  28148. name: cycletype
  28149. required: true
  28150. type: integer
  28151. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  28152. in: query
  28153. name: cycletime
  28154. required: true
  28155. type: string
  28156. - description: 名称(模糊匹配)
  28157. in: query
  28158. name: filtername
  28159. type: string
  28160. - description: 是否包含子级 1-包含
  28161. in: query
  28162. name: includesub
  28163. type: integer
  28164. produces:
  28165. - application/json
  28166. responses:
  28167. "200":
  28168. description: OK
  28169. schema:
  28170. items:
  28171. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  28172. type: array
  28173. "500":
  28174. description: Internal Server Error
  28175. schema:
  28176. $ref: '#/definitions/app.Response'
  28177. security:
  28178. - ApiKeyAuth: []
  28179. summary: 查询经纪人奖励报表(废弃)
  28180. tags:
  28181. - 大连千海金(PCWeb)
  28182. /QhjMgr/QueryContract:
  28183. get:
  28184. parameters:
  28185. - description: 用户ID
  28186. in: query
  28187. name: userid
  28188. type: integer
  28189. - description: 商品id
  28190. in: query
  28191. name: goodsid
  28192. type: integer
  28193. - description: 名称(模糊搜索账户)
  28194. in: query
  28195. name: filtername
  28196. type: string
  28197. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  28198. in: query
  28199. name: risklevel
  28200. type: string
  28201. - description: 开始交易日(yyyymmdd)
  28202. in: query
  28203. name: begindate
  28204. type: string
  28205. - description: 结束交易日(yyyymmdd)
  28206. in: query
  28207. name: enddate
  28208. type: string
  28209. produces:
  28210. - application/json
  28211. responses:
  28212. "200":
  28213. description: OK
  28214. schema:
  28215. items:
  28216. $ref: '#/definitions/models.QhjMgrContract'
  28217. type: array
  28218. "500":
  28219. description: Internal Server Error
  28220. schema:
  28221. $ref: '#/definitions/app.Response'
  28222. security:
  28223. - ApiKeyAuth: []
  28224. summary: 查询融资信息(合同)
  28225. tags:
  28226. - 大连千海金(PCWeb)
  28227. /QhjMgr/QueryCustomerInfo:
  28228. get:
  28229. parameters:
  28230. - description: 用户ID
  28231. in: query
  28232. name: userid
  28233. required: true
  28234. type: integer
  28235. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  28236. in: query
  28237. name: querytype
  28238. required: true
  28239. type: integer
  28240. - description: 客户类型 1-个人 2-企业
  28241. in: query
  28242. name: userinfotype
  28243. type: integer
  28244. - description: 客户名称(模糊匹配)
  28245. in: query
  28246. name: customername
  28247. type: string
  28248. - description: 昵称(模糊匹配)
  28249. in: query
  28250. name: nickname
  28251. type: string
  28252. - description: 所属客户经理(模糊匹配)
  28253. in: query
  28254. name: brokername
  28255. type: string
  28256. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd,
  28257. 如0503 -5月3日)
  28258. in: query
  28259. name: birthday
  28260. type: string
  28261. - description: 是否包含子级 1-包含
  28262. in: query
  28263. name: includesub
  28264. type: integer
  28265. produces:
  28266. - application/json
  28267. responses:
  28268. "200":
  28269. description: OK
  28270. schema:
  28271. items:
  28272. $ref: '#/definitions/models.QhjMgrCustomer'
  28273. type: array
  28274. "500":
  28275. description: Internal Server Error
  28276. schema:
  28277. $ref: '#/definitions/app.Response'
  28278. security:
  28279. - ApiKeyAuth: []
  28280. summary: 查询客户资料
  28281. tags:
  28282. - 大连千海金(PCWeb)
  28283. /QhjMgr/QueryPickGoods:
  28284. get:
  28285. parameters:
  28286. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  28287. in: query
  28288. name: status
  28289. type: string
  28290. produces:
  28291. - application/json
  28292. responses:
  28293. "200":
  28294. description: OK
  28295. schema:
  28296. items:
  28297. $ref: '#/definitions/models.QhjMgrPickGoods'
  28298. type: array
  28299. "500":
  28300. description: Internal Server Error
  28301. schema:
  28302. $ref: '#/definitions/app.Response'
  28303. security:
  28304. - ApiKeyAuth: []
  28305. summary: 查询提货商品
  28306. tags:
  28307. - 大连千海金(PCWeb)
  28308. /QhjMgr/QuerySubArea:
  28309. get:
  28310. parameters:
  28311. - description: 用户ID
  28312. in: query
  28313. name: userid
  28314. required: true
  28315. type: integer
  28316. produces:
  28317. - application/json
  28318. responses:
  28319. "200":
  28320. description: OK
  28321. schema:
  28322. items:
  28323. $ref: '#/definitions/models.QhjMgrSubArea'
  28324. type: array
  28325. "500":
  28326. description: Internal Server Error
  28327. schema:
  28328. $ref: '#/definitions/app.Response'
  28329. security:
  28330. - ApiKeyAuth: []
  28331. summary: 查询子机构列表
  28332. tags:
  28333. - 大连千海金(PCWeb)
  28334. /QhjMgr/QueryTradeDetail:
  28335. get:
  28336. parameters:
  28337. - description: 用户ID
  28338. in: query
  28339. name: userid
  28340. required: true
  28341. type: integer
  28342. - description: 用户类型 1-个人 2-企业
  28343. in: query
  28344. name: userinfotype
  28345. type: integer
  28346. - description: 交易模式
  28347. in: query
  28348. name: trademode
  28349. type: integer
  28350. - description: 商品id
  28351. in: query
  28352. name: goodsid
  28353. type: integer
  28354. - description: 名称(模糊搜索账户)
  28355. in: query
  28356. name: filtername
  28357. type: string
  28358. - description: 开始交易日(yyyymmdd)
  28359. in: query
  28360. name: begindate
  28361. type: string
  28362. - description: 结束交易日(yyyymmdd)
  28363. in: query
  28364. name: enddate
  28365. type: string
  28366. - description: 是否包含子级 1-包含
  28367. in: query
  28368. name: includesub
  28369. type: integer
  28370. produces:
  28371. - application/json
  28372. responses:
  28373. "200":
  28374. description: OK
  28375. schema:
  28376. items:
  28377. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  28378. type: array
  28379. "500":
  28380. description: Internal Server Error
  28381. schema:
  28382. $ref: '#/definitions/app.Response'
  28383. security:
  28384. - ApiKeyAuth: []
  28385. summary: 查询成交明细
  28386. tags:
  28387. - 大连千海金(PCWeb)
  28388. /QhjMgr/QueryTradeOrderDetail:
  28389. get:
  28390. parameters:
  28391. - description: 用户ID
  28392. in: query
  28393. name: userid
  28394. required: true
  28395. type: integer
  28396. - description: 用户类型 1-个人 2-企业
  28397. in: query
  28398. name: userinfotype
  28399. type: integer
  28400. - description: 交易模式
  28401. in: query
  28402. name: trademode
  28403. type: integer
  28404. - description: 商品id
  28405. in: query
  28406. name: goodsid
  28407. type: integer
  28408. - description: 名称(模糊搜索账户)
  28409. in: query
  28410. name: filtername
  28411. type: string
  28412. - description: 开始交易日(yyyymmdd)
  28413. in: query
  28414. name: begindate
  28415. type: string
  28416. - description: 结束交易日(yyyymmdd)
  28417. in: query
  28418. name: enddate
  28419. type: string
  28420. - description: 是否包含子级 1-包含
  28421. in: query
  28422. name: includesub
  28423. type: integer
  28424. produces:
  28425. - application/json
  28426. responses:
  28427. "200":
  28428. description: OK
  28429. schema:
  28430. items:
  28431. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  28432. type: array
  28433. "500":
  28434. description: Internal Server Error
  28435. schema:
  28436. $ref: '#/definitions/app.Response'
  28437. security:
  28438. - ApiKeyAuth: []
  28439. summary: 查询委托明细
  28440. tags:
  28441. - 大连千海金(PCWeb)
  28442. /QhjMgr/QueryTradePayOrder:
  28443. get:
  28444. parameters:
  28445. - description: 用户ID
  28446. in: query
  28447. name: userid
  28448. required: true
  28449. type: integer
  28450. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  28451. in: query
  28452. name: payflag
  28453. type: string
  28454. - description: 用户类型 1-个人 2-企业
  28455. in: query
  28456. name: userinfotype
  28457. type: integer
  28458. - description: 交易模式
  28459. in: query
  28460. name: trademode
  28461. type: integer
  28462. - description: 商品id
  28463. in: query
  28464. name: goodsid
  28465. type: integer
  28466. - description: 名称(模糊搜索账户)
  28467. in: query
  28468. name: filtername
  28469. type: string
  28470. - description: 开始交易日(yyyymmdd)
  28471. in: query
  28472. name: begindate
  28473. type: string
  28474. - description: 结束交易日(yyyymmdd)
  28475. in: query
  28476. name: enddate
  28477. type: string
  28478. - description: 是否包含子级 1-包含
  28479. in: query
  28480. name: includesub
  28481. type: integer
  28482. produces:
  28483. - application/json
  28484. responses:
  28485. "200":
  28486. description: OK
  28487. schema:
  28488. items:
  28489. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  28490. type: array
  28491. "500":
  28492. description: Internal Server Error
  28493. schema:
  28494. $ref: '#/definitions/app.Response'
  28495. security:
  28496. - ApiKeyAuth: []
  28497. summary: 查询待付款单
  28498. tags:
  28499. - 大连千海金(PCWeb)
  28500. /QhjMgr/QueryTradePosition:
  28501. get:
  28502. parameters:
  28503. - description: 用户ID
  28504. in: query
  28505. name: userid
  28506. required: true
  28507. type: integer
  28508. - description: 用户类型 1-个人 2-企业
  28509. in: query
  28510. name: userinfotype
  28511. type: integer
  28512. - description: 交易模式
  28513. in: query
  28514. name: trademode
  28515. type: integer
  28516. - description: 商品id
  28517. in: query
  28518. name: goodsid
  28519. type: integer
  28520. - description: 名称(模糊搜索账户)
  28521. in: query
  28522. name: filtername
  28523. type: string
  28524. - description: 是否包含子级 1-包含
  28525. in: query
  28526. name: includesub
  28527. type: integer
  28528. produces:
  28529. - application/json
  28530. responses:
  28531. "200":
  28532. description: OK
  28533. schema:
  28534. items:
  28535. $ref: '#/definitions/models.QhjMgrPositionRsp'
  28536. type: array
  28537. "500":
  28538. description: Internal Server Error
  28539. schema:
  28540. $ref: '#/definitions/app.Response'
  28541. security:
  28542. - ApiKeyAuth: []
  28543. summary: 查询持仓汇总
  28544. tags:
  28545. - 大连千海金(PCWeb)
  28546. /QhjSys/QueryAgreementChangeLog:
  28547. get:
  28548. parameters:
  28549. - description: 协议ID
  28550. in: query
  28551. name: agreementid
  28552. type: integer
  28553. - description: 协议版本号
  28554. in: query
  28555. name: agreementversion
  28556. type: integer
  28557. - description: 协议类型 - 1:注册 2:登录 3:交易
  28558. in: query
  28559. name: agreementtype
  28560. type: integer
  28561. - description: 协议编号(模糊匹配)
  28562. in: query
  28563. name: agreementno
  28564. type: string
  28565. - description: 协议名称(模糊匹配)
  28566. in: query
  28567. name: agreementname
  28568. type: string
  28569. produces:
  28570. - application/json
  28571. responses:
  28572. "200":
  28573. description: OK
  28574. schema:
  28575. items:
  28576. $ref: '#/definitions/models.QhjAgreementChangeLog'
  28577. type: array
  28578. "500":
  28579. description: Internal Server Error
  28580. schema:
  28581. $ref: '#/definitions/app.Response'
  28582. security:
  28583. - ApiKeyAuth: []
  28584. summary: 查询协议配置变更流水
  28585. tags:
  28586. - 大连千海金(协议和签约信息)
  28587. /QhjSys/QueryAgreementConfig:
  28588. get:
  28589. parameters:
  28590. - description: 协议ID
  28591. in: query
  28592. name: agreementid
  28593. type: integer
  28594. - description: 协议版本号
  28595. in: query
  28596. name: agreementversion
  28597. type: integer
  28598. - description: 协议类型 - 1:注册 2:登录 3:交易
  28599. in: query
  28600. name: agreementtype
  28601. type: integer
  28602. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  28603. in: query
  28604. name: isvalid
  28605. type: integer
  28606. - description: 协议编号(模糊匹配)
  28607. in: query
  28608. name: agreementno
  28609. type: string
  28610. - description: 协议名称(模糊匹配)
  28611. in: query
  28612. name: agreementname
  28613. type: string
  28614. produces:
  28615. - application/json
  28616. responses:
  28617. "200":
  28618. description: OK
  28619. schema:
  28620. items:
  28621. $ref: '#/definitions/models.QhjAgreementConfig'
  28622. type: array
  28623. "500":
  28624. description: Internal Server Error
  28625. schema:
  28626. $ref: '#/definitions/app.Response'
  28627. security:
  28628. - ApiKeyAuth: []
  28629. summary: 查询协议配置
  28630. tags:
  28631. - 大连千海金(协议和签约信息)
  28632. /QhjSys/QueryCustomerSignStatus:
  28633. get:
  28634. parameters:
  28635. - description: 客户ID
  28636. in: query
  28637. name: userid
  28638. type: integer
  28639. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  28640. in: query
  28641. name: nodetype
  28642. type: integer
  28643. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  28644. in: query
  28645. name: goodsid
  28646. type: integer
  28647. - description: 创建交易日(yyyyMMdd)
  28648. in: query
  28649. name: tradedate
  28650. type: string
  28651. - description: 用户名称(模糊匹配)
  28652. in: query
  28653. name: username
  28654. type: string
  28655. produces:
  28656. - application/json
  28657. responses:
  28658. "200":
  28659. description: OK
  28660. schema:
  28661. items:
  28662. $ref: '#/definitions/models.QhjCustomerSignStatus'
  28663. type: array
  28664. "500":
  28665. description: Internal Server Error
  28666. schema:
  28667. $ref: '#/definitions/app.Response'
  28668. security:
  28669. - ApiKeyAuth: []
  28670. summary: 查询客户协议签约状态
  28671. tags:
  28672. - 大连千海金(协议和签约信息)
  28673. /QhjSys/QueryNodeAgreementConfig:
  28674. get:
  28675. parameters:
  28676. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  28677. in: query
  28678. name: configid
  28679. type: integer
  28680. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  28681. in: query
  28682. name: nodetype
  28683. type: integer
  28684. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  28685. in: query
  28686. name: goodsid
  28687. type: integer
  28688. - description: 协议ID
  28689. in: query
  28690. name: agreementid
  28691. type: integer
  28692. - description: 协议类型 - 1:注册 2:登录 3:交易
  28693. in: query
  28694. name: agreementtype
  28695. type: integer
  28696. - description: 协议版本号
  28697. in: query
  28698. name: agreementversion
  28699. type: integer
  28700. - description: 协议编号(模糊匹配)
  28701. in: query
  28702. name: agreementno
  28703. type: string
  28704. - description: 协议名称(模糊匹配)
  28705. in: query
  28706. name: agreementname
  28707. type: string
  28708. produces:
  28709. - application/json
  28710. responses:
  28711. "200":
  28712. description: OK
  28713. schema:
  28714. items:
  28715. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  28716. type: array
  28717. "500":
  28718. description: Internal Server Error
  28719. schema:
  28720. $ref: '#/definitions/app.Response'
  28721. security:
  28722. - ApiKeyAuth: []
  28723. summary: 查询协议节点配置
  28724. tags:
  28725. - 大连千海金(协议和签约信息)
  28726. /QhjSys/QueryQhjCustomerSignLog:
  28727. get:
  28728. parameters:
  28729. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  28730. in: query
  28731. name: logid
  28732. type: integer
  28733. - description: 客户ID
  28734. in: query
  28735. name: userid
  28736. type: integer
  28737. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  28738. in: query
  28739. name: nodetype
  28740. type: integer
  28741. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  28742. in: query
  28743. name: goodsid
  28744. type: integer
  28745. - description: 协议ID
  28746. in: query
  28747. name: agreementid
  28748. type: integer
  28749. - description: 用户名称(模糊匹配)
  28750. in: query
  28751. name: username
  28752. type: string
  28753. - description: 协议编号(模糊匹配)
  28754. in: query
  28755. name: agreementno
  28756. type: string
  28757. - description: 协议名称(模糊匹配)
  28758. in: query
  28759. name: agreementname
  28760. type: string
  28761. produces:
  28762. - application/json
  28763. responses:
  28764. "200":
  28765. description: OK
  28766. schema:
  28767. items:
  28768. $ref: '#/definitions/models.QhjCustomerSignLog'
  28769. type: array
  28770. "500":
  28771. description: Internal Server Error
  28772. schema:
  28773. $ref: '#/definitions/app.Response'
  28774. security:
  28775. - ApiKeyAuth: []
  28776. summary: 查询客户协议签约流水
  28777. tags:
  28778. - 大连千海金(协议和签约信息)
  28779. /QhjSys/QueryUserNodeCfgAndStatus:
  28780. get:
  28781. parameters:
  28782. - description: 客户ID
  28783. in: query
  28784. name: userid
  28785. type: integer
  28786. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  28787. in: query
  28788. name: configid
  28789. type: integer
  28790. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  28791. in: query
  28792. name: nodetype
  28793. type: string
  28794. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  28795. in: query
  28796. name: goodsid
  28797. type: integer
  28798. - description: 协议ID
  28799. in: query
  28800. name: agreementid
  28801. type: integer
  28802. - description: 协议类型 - 1:注册 2:登录 3:交易
  28803. in: query
  28804. name: agreementtype
  28805. type: integer
  28806. - description: 协议版本号
  28807. in: query
  28808. name: agreementversion
  28809. type: integer
  28810. - description: 协议编号(模糊匹配)
  28811. in: query
  28812. name: agreementno
  28813. type: string
  28814. - description: 协议名称(模糊匹配)
  28815. in: query
  28816. name: agreementname
  28817. type: string
  28818. produces:
  28819. - application/json
  28820. responses:
  28821. "200":
  28822. description: OK
  28823. schema:
  28824. items:
  28825. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  28826. type: array
  28827. "500":
  28828. description: Internal Server Error
  28829. schema:
  28830. $ref: '#/definitions/app.Response'
  28831. security:
  28832. - ApiKeyAuth: []
  28833. summary: 查询用户协议节点配置和状态
  28834. tags:
  28835. - 大连千海金(协议和签约信息)
  28836. /Quote/QueryHistoryDatas:
  28837. get:
  28838. parameters:
  28839. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  28840. 日线 12:周线 13:月线 14:年线'
  28841. in: query
  28842. name: cycleType
  28843. required: true
  28844. type: integer
  28845. - description: 商品代码
  28846. in: query
  28847. name: goodsCode
  28848. required: true
  28849. type: string
  28850. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  28851. in: query
  28852. name: startTime
  28853. type: string
  28854. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  28855. in: query
  28856. name: endTime
  28857. type: string
  28858. - description: 条数
  28859. in: query
  28860. name: count
  28861. type: integer
  28862. - description: 是否按时间顺序排序(默认为时间倒序排序)
  28863. in: query
  28864. name: isAsc
  28865. type: boolean
  28866. produces:
  28867. - application/json
  28868. responses:
  28869. "200":
  28870. description: OK
  28871. schema:
  28872. $ref: '#/definitions/quote.HistoryData'
  28873. "500":
  28874. description: Internal Server Error
  28875. schema:
  28876. $ref: '#/definitions/app.Response'
  28877. security:
  28878. - ApiKeyAuth: []
  28879. summary: 查询行情历史数据
  28880. tags:
  28881. - 行情服务
  28882. /Quote/QueryHistoryTikDatas:
  28883. get:
  28884. parameters:
  28885. - description: 商品代码
  28886. in: query
  28887. name: goodsCode
  28888. required: true
  28889. type: string
  28890. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  28891. in: query
  28892. name: startTime
  28893. type: string
  28894. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  28895. in: query
  28896. name: endTime
  28897. type: string
  28898. - description: 条数
  28899. in: query
  28900. name: count
  28901. type: integer
  28902. - description: 是否按时间顺序排序(默认为时间倒序排序)
  28903. in: query
  28904. name: isAsc
  28905. type: boolean
  28906. produces:
  28907. - application/json
  28908. responses:
  28909. "200":
  28910. description: OK
  28911. schema:
  28912. $ref: '#/definitions/quote.HistoryTikData'
  28913. "500":
  28914. description: Internal Server Error
  28915. schema:
  28916. $ref: '#/definitions/app.Response'
  28917. security:
  28918. - ApiKeyAuth: []
  28919. summary: 查询行情Tik数据
  28920. tags:
  28921. - 行情服务
  28922. /Quote/QueryQuoteDay:
  28923. get:
  28924. parameters:
  28925. - description: 此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107
  28926. in: query
  28927. name: goodsCodes
  28928. type: string
  28929. produces:
  28930. - application/json
  28931. responses:
  28932. "200":
  28933. description: OK
  28934. schema:
  28935. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  28936. "500":
  28937. description: Internal Server Error
  28938. schema:
  28939. $ref: '#/definitions/app.Response'
  28940. security:
  28941. - ApiKeyAuth: []
  28942. summary: 获取商品盘面信息
  28943. tags:
  28944. - 行情服务
  28945. /Quote/QueryTSData:
  28946. get:
  28947. parameters:
  28948. - description: 商品代码
  28949. in: query
  28950. name: goodsCode
  28951. required: true
  28952. type: string
  28953. produces:
  28954. - application/json
  28955. responses:
  28956. "200":
  28957. description: OK
  28958. schema:
  28959. $ref: '#/definitions/quote.QueryTSDataRsp'
  28960. "500":
  28961. description: Internal Server Error
  28962. schema:
  28963. $ref: '#/definitions/app.Response'
  28964. security:
  28965. - ApiKeyAuth: []
  28966. summary: 分时图数据查询
  28967. tags:
  28968. - 行情服务
  28969. /SZDZ/QueryConvertConfig:
  28970. get:
  28971. parameters:
  28972. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  28973. 6:交易转花生米(不设置)
  28974. in: query
  28975. name: convertType
  28976. type: integer
  28977. - description: 外部商品代码[JD\PD]
  28978. in: query
  28979. name: outerGoodsCode
  28980. type: string
  28981. - description: 内部商品ID列表[交易],格式:1,2,3
  28982. in: query
  28983. name: innerGoodsIDs
  28984. type: string
  28985. produces:
  28986. - application/json
  28987. responses:
  28988. "200":
  28989. description: OK
  28990. schema:
  28991. $ref: '#/definitions/models.Szdz3convertconfig'
  28992. "500":
  28993. description: Internal Server Error
  28994. schema:
  28995. $ref: '#/definitions/app.Response'
  28996. security:
  28997. - ApiKeyAuth: []
  28998. summary: 查询交易系统转换设置
  28999. tags:
  29000. - 定制【尚志大宗】
  29001. /SZDZ/QueryConvertLog:
  29002. get:
  29003. parameters:
  29004. - description: 资金账户 - 格式:1,2,3
  29005. in: query
  29006. name: accountID
  29007. required: true
  29008. type: string
  29009. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  29010. in: query
  29011. name: startDate
  29012. type: string
  29013. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  29014. in: query
  29015. name: endDate
  29016. type: string
  29017. produces:
  29018. - application/json
  29019. responses:
  29020. "200":
  29021. description: OK
  29022. schema:
  29023. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  29024. "500":
  29025. description: Internal Server Error
  29026. schema:
  29027. $ref: '#/definitions/app.Response'
  29028. security:
  29029. - ApiKeyAuth: []
  29030. summary: 交易系统转换流水查询
  29031. tags:
  29032. - 定制【尚志大宗】
  29033. /SZDZ/QueryGoodsPickup:
  29034. get:
  29035. parameters:
  29036. - description: 资金账户 - 格式:1,2,3
  29037. in: query
  29038. name: accountID
  29039. required: true
  29040. type: string
  29041. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  29042. in: query
  29043. name: takeOrderStatus
  29044. type: integer
  29045. produces:
  29046. - application/json
  29047. responses:
  29048. "200":
  29049. description: OK
  29050. schema:
  29051. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  29052. "500":
  29053. description: Internal Server Error
  29054. schema:
  29055. $ref: '#/definitions/app.Response'
  29056. security:
  29057. - ApiKeyAuth: []
  29058. summary: 商品提货单查询
  29059. tags:
  29060. - 定制【尚志大宗】
  29061. /SZDZ/QueryRecieptOrder:
  29062. get:
  29063. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  29064. parameters:
  29065. - description: 页码
  29066. in: query
  29067. name: page
  29068. type: integer
  29069. - description: 每页条数
  29070. in: query
  29071. name: pagesize
  29072. type: integer
  29073. - description: 商品ID
  29074. in: query
  29075. name: goodsID
  29076. required: true
  29077. type: integer
  29078. - description: 所属账户名称
  29079. in: query
  29080. name: accountName
  29081. type: string
  29082. - description: 市场ID
  29083. in: query
  29084. name: marketID
  29085. type: integer
  29086. - description: 方向 - 0:买 1:卖
  29087. in: query
  29088. name: buyorsell
  29089. required: true
  29090. type: integer
  29091. produces:
  29092. - application/json
  29093. responses:
  29094. "200":
  29095. description: OK
  29096. schema:
  29097. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  29098. "500":
  29099. description: Internal Server Error
  29100. schema:
  29101. $ref: '#/definitions/app.Response'
  29102. security:
  29103. - ApiKeyAuth: []
  29104. summary: 点选挂牌委托单据查询(摘牌大厅)
  29105. tags:
  29106. - 定制【尚志大宗】
  29107. /SZDZ/QuerySZDZTradePosition:
  29108. get:
  29109. parameters:
  29110. - description: 资金账户
  29111. in: query
  29112. name: accountID
  29113. required: true
  29114. type: integer
  29115. produces:
  29116. - application/json
  29117. responses:
  29118. "200":
  29119. description: OK
  29120. schema:
  29121. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  29122. "500":
  29123. description: Internal Server Error
  29124. schema:
  29125. $ref: '#/definitions/app.Response'
  29126. security:
  29127. - ApiKeyAuth: []
  29128. summary: 持仓汇总查询(尚志大宗)
  29129. tags:
  29130. - 定制【尚志大宗】
  29131. /SZDZ/SearchWhite:
  29132. get:
  29133. parameters:
  29134. - description: 用户ID
  29135. in: query
  29136. name: userID
  29137. required: true
  29138. type: integer
  29139. produces:
  29140. - application/json
  29141. responses:
  29142. "200":
  29143. description: OK
  29144. schema:
  29145. $ref: '#/definitions/models.Szdz3searchwhitelist'
  29146. "500":
  29147. description: Internal Server Error
  29148. schema:
  29149. $ref: '#/definitions/app.Response'
  29150. security:
  29151. - ApiKeyAuth: []
  29152. summary: 搜索白名单
  29153. tags:
  29154. - 定制【尚志大宗】
  29155. /Search/SearchGoodses:
  29156. get:
  29157. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  29158. parameters:
  29159. - description: 检索内容
  29160. in: query
  29161. name: content
  29162. required: true
  29163. type: string
  29164. - description: 交易模式,格式:1,2,3
  29165. in: query
  29166. name: tradeModes
  29167. type: string
  29168. produces:
  29169. - application/json
  29170. responses:
  29171. "200":
  29172. description: OK
  29173. schema:
  29174. $ref: '#/definitions/models.SearchGoods'
  29175. "500":
  29176. description: Internal Server Error
  29177. schema:
  29178. $ref: '#/definitions/app.Response'
  29179. summary: 检索商品信息
  29180. tags:
  29181. - 检索服务
  29182. /TaAccount/GetTaAccounts:
  29183. get:
  29184. parameters:
  29185. - description: 登录账户
  29186. in: query
  29187. name: loginID
  29188. required: true
  29189. type: integer
  29190. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  29191. in: query
  29192. name: taAccountType
  29193. type: integer
  29194. produces:
  29195. - application/json
  29196. responses:
  29197. "200":
  29198. description: OK
  29199. schema:
  29200. $ref: '#/definitions/models.Taaccount'
  29201. "500":
  29202. description: Internal Server Error
  29203. schema:
  29204. $ref: '#/definitions/app.Response'
  29205. security:
  29206. - ApiKeyAuth: []
  29207. summary: 获取资金账户信息
  29208. tags:
  29209. - 资金账户
  29210. /TaAccount/QueryAmountLog:
  29211. get:
  29212. parameters:
  29213. - description: 页码
  29214. in: query
  29215. name: page
  29216. type: integer
  29217. - description: 每页条数
  29218. in: query
  29219. name: pagesize
  29220. type: integer
  29221. - description: 资金账户 - 格式:1,2,3
  29222. in: query
  29223. name: accountID
  29224. required: true
  29225. type: string
  29226. - description: 资金操作类型 - 格式:1,2,3
  29227. in: query
  29228. name: OperateType
  29229. type: string
  29230. produces:
  29231. - application/json
  29232. responses:
  29233. "200":
  29234. description: OK
  29235. schema:
  29236. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  29237. "500":
  29238. description: Internal Server Error
  29239. schema:
  29240. $ref: '#/definitions/app.Response'
  29241. security:
  29242. - ApiKeyAuth: []
  29243. summary: 资金流水查询(当前)
  29244. tags:
  29245. - 资金账户
  29246. /TaAccount/QueryHisAmountLog:
  29247. get:
  29248. parameters:
  29249. - description: 页码
  29250. in: query
  29251. name: page
  29252. type: integer
  29253. - description: 每页条数
  29254. in: query
  29255. name: pagesize
  29256. type: integer
  29257. - description: 资金账户 - 格式:1,2,3
  29258. in: query
  29259. name: accountID
  29260. required: true
  29261. type: string
  29262. - description: 资金操作类型 - 格式:1,2,3
  29263. in: query
  29264. name: OperateType
  29265. type: string
  29266. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  29267. in: query
  29268. name: startDate
  29269. type: string
  29270. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  29271. in: query
  29272. name: endDate
  29273. type: string
  29274. produces:
  29275. - application/json
  29276. responses:
  29277. "200":
  29278. description: OK
  29279. schema:
  29280. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  29281. "500":
  29282. description: Internal Server Error
  29283. schema:
  29284. $ref: '#/definitions/app.Response'
  29285. security:
  29286. - ApiKeyAuth: []
  29287. summary: 资金流水查询(历史)
  29288. tags:
  29289. - 资金账户
  29290. /TaAccount/QueryRelatedTaAccount:
  29291. get:
  29292. parameters:
  29293. - description: 关联UserID
  29294. in: query
  29295. name: relateduserid
  29296. required: true
  29297. type: integer
  29298. produces:
  29299. - application/json
  29300. responses:
  29301. "200":
  29302. description: OK
  29303. schema:
  29304. items:
  29305. $ref: '#/definitions/models.RelatedTaAccount'
  29306. type: array
  29307. "500":
  29308. description: Internal Server Error
  29309. schema:
  29310. $ref: '#/definitions/app.Response'
  29311. security:
  29312. - ApiKeyAuth: []
  29313. summary: 查询关联资金账户信息
  29314. tags:
  29315. - 资金账户
  29316. /Tjmd/QueryQuoteGoodsList:
  29317. get:
  29318. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  29319. parameters:
  29320. - description: 用户类型
  29321. in: query
  29322. name: usertype
  29323. required: true
  29324. type: integer
  29325. - description: 市场id, 格式 1,2,3
  29326. in: query
  29327. name: marketids
  29328. type: string
  29329. - description: 商品组id
  29330. in: query
  29331. name: goodsgroupid
  29332. type: integer
  29333. - description: 商品id
  29334. in: query
  29335. name: goodsid
  29336. type: integer
  29337. produces:
  29338. - application/json
  29339. responses:
  29340. "200":
  29341. description: OK
  29342. schema:
  29343. items:
  29344. $ref: '#/definitions/models.TjmdQuoteGoods'
  29345. type: array
  29346. "500":
  29347. description: Internal Server Error
  29348. schema:
  29349. $ref: '#/definitions/app.Response'
  29350. security:
  29351. - ApiKeyAuth: []
  29352. summary: 查询掉期报价列表
  29353. tags:
  29354. - 天津麦顿
  29355. /Tjmd/QueryTjmdHolderDetailTradeInfo:
  29356. get:
  29357. parameters:
  29358. - description: 成交单号
  29359. in: query
  29360. name: tradeid
  29361. required: true
  29362. type: string
  29363. produces:
  29364. - application/json
  29365. responses:
  29366. "200":
  29367. description: OK
  29368. schema:
  29369. items:
  29370. $ref: '#/definitions/models.TjmdHolderDetailTradeInfo'
  29371. type: array
  29372. "500":
  29373. description: Internal Server Error
  29374. schema:
  29375. $ref: '#/definitions/app.Response'
  29376. security:
  29377. - ApiKeyAuth: []
  29378. summary: 掉期商品订单详情(交易确认书)
  29379. tags:
  29380. - 天津麦顿
  29381. /Tjmd/QueryTjmdMarketSection:
  29382. get:
  29383. produces:
  29384. - application/json
  29385. responses:
  29386. "200":
  29387. description: OK
  29388. schema:
  29389. items:
  29390. $ref: '#/definitions/models.TjmdMarketSection'
  29391. type: array
  29392. "500":
  29393. description: Internal Server Error
  29394. schema:
  29395. $ref: '#/definitions/app.Response'
  29396. security:
  29397. - ApiKeyAuth: []
  29398. summary: 查询市场板块
  29399. tags:
  29400. - 天津麦顿
  29401. /Tjmd/QueryTjmdTodayAccountMargin:
  29402. get:
  29403. parameters:
  29404. - description: 市场id
  29405. in: query
  29406. name: marketid
  29407. type: string
  29408. - description: 商品id
  29409. in: query
  29410. name: goodsid
  29411. type: string
  29412. - description: 资金账号
  29413. in: query
  29414. name: accountid
  29415. type: string
  29416. produces:
  29417. - application/json
  29418. responses:
  29419. "200":
  29420. description: OK
  29421. schema:
  29422. items:
  29423. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  29424. type: array
  29425. "500":
  29426. description: Internal Server Error
  29427. schema:
  29428. $ref: '#/definitions/app.Response'
  29429. security:
  29430. - ApiKeyAuth: []
  29431. summary: 查询今日账户保证金配置
  29432. tags:
  29433. - 天津麦顿
  29434. /Tjmd/QueryTjmdTradeOrderDetail:
  29435. get:
  29436. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  29437. parameters:
  29438. - description: 页码
  29439. in: query
  29440. name: page
  29441. type: integer
  29442. - description: 每页条数
  29443. in: query
  29444. name: pagesize
  29445. type: integer
  29446. - description: 用户id
  29447. in: query
  29448. name: userid
  29449. required: true
  29450. type: integer
  29451. - description: 用户类型
  29452. in: query
  29453. name: usertype
  29454. required: true
  29455. type: integer
  29456. - description: 市场id, 格式 1,2,3
  29457. in: query
  29458. name: marketids
  29459. type: string
  29460. - description: 商品id
  29461. in: query
  29462. name: goodsid
  29463. required: true
  29464. type: integer
  29465. - description: 买卖方向 0-买 1-卖
  29466. in: query
  29467. name: buyorsell
  29468. required: true
  29469. type: integer
  29470. produces:
  29471. - application/json
  29472. responses:
  29473. "200":
  29474. description: OK
  29475. schema:
  29476. items:
  29477. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  29478. type: array
  29479. "500":
  29480. description: Internal Server Error
  29481. schema:
  29482. $ref: '#/definitions/app.Response'
  29483. security:
  29484. - ApiKeyAuth: []
  29485. summary: 查询掉期买卖大厅
  29486. tags:
  29487. - 天津麦顿
  29488. /Tjmd/QueryTjmdTransferApply:
  29489. get:
  29490. parameters:
  29491. - description: 类型 1-我的申请 2-对方申请
  29492. in: query
  29493. name: applytype
  29494. required: true
  29495. type: integer
  29496. - description: 市场id, 格式 1,2,3
  29497. in: query
  29498. name: marketids
  29499. type: string
  29500. - description: 资金账号, 格式 25000000001,25000000003
  29501. in: query
  29502. name: accountids
  29503. type: string
  29504. - description: 开始交易日(yyyymmdd)
  29505. in: query
  29506. name: begindate
  29507. type: string
  29508. - description: 结束交易日(yyyymmdd)
  29509. in: query
  29510. name: enddate
  29511. type: string
  29512. produces:
  29513. - application/json
  29514. responses:
  29515. "200":
  29516. description: OK
  29517. schema:
  29518. items:
  29519. $ref: '#/definitions/models.TjmdTransferApply'
  29520. type: array
  29521. "500":
  29522. description: Internal Server Error
  29523. schema:
  29524. $ref: '#/definitions/app.Response'
  29525. security:
  29526. - ApiKeyAuth: []
  29527. summary: 查询掉期协议单
  29528. tags:
  29529. - 天津麦顿
  29530. /Trade/QueryRecieptOrder:
  29531. get:
  29532. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  29533. parameters:
  29534. - description: 页码
  29535. in: query
  29536. name: page
  29537. type: integer
  29538. - description: 每页条数
  29539. in: query
  29540. name: pagesize
  29541. type: integer
  29542. - description: 商品ID
  29543. in: query
  29544. name: goodsID
  29545. required: true
  29546. type: integer
  29547. - description: 所属账户名称
  29548. in: query
  29549. name: accountName
  29550. type: string
  29551. - description: 市场ID
  29552. in: query
  29553. name: marketID
  29554. type: integer
  29555. - description: 方向 - 0:买 1:卖
  29556. in: query
  29557. name: buyorsell
  29558. required: true
  29559. type: integer
  29560. produces:
  29561. - application/json
  29562. responses:
  29563. "200":
  29564. description: OK
  29565. schema:
  29566. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  29567. "500":
  29568. description: Internal Server Error
  29569. schema:
  29570. $ref: '#/definitions/app.Response'
  29571. security:
  29572. - ApiKeyAuth: []
  29573. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  29574. tags:
  29575. - 通用交易
  29576. /User/AddMessageBoard:
  29577. post:
  29578. parameters:
  29579. - description: 用户ID
  29580. in: query
  29581. name: userID
  29582. required: true
  29583. type: integer
  29584. - description: 留言信息
  29585. in: query
  29586. name: message
  29587. required: true
  29588. type: string
  29589. - description: 联系电话
  29590. in: query
  29591. name: contactNum
  29592. required: true
  29593. type: string
  29594. produces:
  29595. - application/json
  29596. responses:
  29597. "200":
  29598. description: OK
  29599. schema:
  29600. $ref: '#/definitions/app.Response'
  29601. "500":
  29602. description: Internal Server Error
  29603. schema:
  29604. $ref: '#/definitions/app.Response'
  29605. security:
  29606. - ApiKeyAuth: []
  29607. summary: 添加用户留言板信息
  29608. tags:
  29609. - 用户信息
  29610. /User/AddUserFavoriteGoods:
  29611. post:
  29612. parameters:
  29613. - description: 用户ID
  29614. in: query
  29615. name: userID
  29616. required: true
  29617. type: integer
  29618. - description: 商品ID
  29619. in: query
  29620. name: goodsID
  29621. required: true
  29622. type: integer
  29623. produces:
  29624. - application/json
  29625. responses:
  29626. "200":
  29627. description: OK
  29628. schema:
  29629. $ref: '#/definitions/app.Response'
  29630. "500":
  29631. description: Internal Server Error
  29632. schema:
  29633. $ref: '#/definitions/app.Response'
  29634. security:
  29635. - ApiKeyAuth: []
  29636. summary: 添加用户商品收藏信息
  29637. tags:
  29638. - 用户信息
  29639. /User/GetLoginID:
  29640. get:
  29641. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  29642. parameters:
  29643. - description: 登录代码
  29644. in: query
  29645. name: username
  29646. required: true
  29647. type: string
  29648. produces:
  29649. - application/json
  29650. responses:
  29651. "200":
  29652. description: OK
  29653. schema:
  29654. $ref: '#/definitions/app.Response'
  29655. "500":
  29656. description: Internal Server Error
  29657. schema:
  29658. $ref: '#/definitions/app.Response'
  29659. summary: 获取登录ID
  29660. tags:
  29661. - 用户信息
  29662. /User/GetUserAccount:
  29663. get:
  29664. parameters:
  29665. - description: 用户ID
  29666. in: query
  29667. name: userID
  29668. required: true
  29669. type: integer
  29670. produces:
  29671. - application/json
  29672. responses:
  29673. "200":
  29674. description: OK
  29675. schema:
  29676. $ref: '#/definitions/models.Useraccount'
  29677. "500":
  29678. description: Internal Server Error
  29679. schema:
  29680. $ref: '#/definitions/app.Response'
  29681. security:
  29682. - ApiKeyAuth: []
  29683. summary: 获取用户账号信息
  29684. tags:
  29685. - 用户信息
  29686. /User/GetUserAuthStatus:
  29687. get:
  29688. parameters:
  29689. - description: 用户ID
  29690. in: query
  29691. name: userID
  29692. required: true
  29693. type: integer
  29694. produces:
  29695. - application/json
  29696. responses:
  29697. "200":
  29698. description: OK
  29699. schema:
  29700. $ref: '#/definitions/app.Response'
  29701. "500":
  29702. description: Internal Server Error
  29703. schema:
  29704. $ref: '#/definitions/app.Response'
  29705. security:
  29706. - ApiKeyAuth: []
  29707. summary: 获取用户实名认证状态
  29708. tags:
  29709. - 用户信息
  29710. /User/LoginQuery:
  29711. get:
  29712. parameters:
  29713. - description: 登录账号
  29714. in: query
  29715. name: loginID
  29716. required: true
  29717. type: integer
  29718. produces:
  29719. - application/json
  29720. responses:
  29721. "200":
  29722. description: OK
  29723. schema:
  29724. $ref: '#/definitions/user.LoginQueryRsp'
  29725. "500":
  29726. description: Internal Server Error
  29727. schema:
  29728. $ref: '#/definitions/app.Response'
  29729. security:
  29730. - ApiKeyAuth: []
  29731. summary: 账户登录后信息查询
  29732. tags:
  29733. - 用户信息
  29734. /User/QueryMessageBoard:
  29735. get:
  29736. parameters:
  29737. - description: 用户ID
  29738. in: query
  29739. name: userID
  29740. required: true
  29741. type: integer
  29742. produces:
  29743. - application/json
  29744. responses:
  29745. "200":
  29746. description: OK
  29747. schema:
  29748. $ref: '#/definitions/models.Messageboard'
  29749. "500":
  29750. description: Internal Server Error
  29751. schema:
  29752. $ref: '#/definitions/app.Response'
  29753. security:
  29754. - ApiKeyAuth: []
  29755. summary: 获取用户留言板信息
  29756. tags:
  29757. - 用户信息
  29758. /User/QueryUserFavoriteGoodses:
  29759. get:
  29760. parameters:
  29761. - description: 用户ID
  29762. in: query
  29763. name: userID
  29764. required: true
  29765. type: integer
  29766. produces:
  29767. - application/json
  29768. responses:
  29769. "200":
  29770. description: OK
  29771. schema:
  29772. $ref: '#/definitions/models.Userfavoritegoods'
  29773. "500":
  29774. description: Internal Server Error
  29775. schema:
  29776. $ref: '#/definitions/app.Response'
  29777. security:
  29778. - ApiKeyAuth: []
  29779. summary: 获取用户商品收藏信息
  29780. tags:
  29781. - 用户信息
  29782. /User/QueryUserInfo:
  29783. get:
  29784. parameters:
  29785. - description: 用户ID
  29786. in: query
  29787. name: userID
  29788. required: true
  29789. type: integer
  29790. - description: 是否解密
  29791. in: query
  29792. name: isDecrypt
  29793. type: boolean
  29794. produces:
  29795. - application/json
  29796. responses:
  29797. "200":
  29798. description: OK
  29799. schema:
  29800. $ref: '#/definitions/models.Userinfo'
  29801. "500":
  29802. description: Internal Server Error
  29803. schema:
  29804. $ref: '#/definitions/app.Response'
  29805. security:
  29806. - ApiKeyAuth: []
  29807. summary: 获取用户信息
  29808. tags:
  29809. - 用户信息
  29810. /User/QueryUserReferNum:
  29811. get:
  29812. parameters:
  29813. - description: 用户ID
  29814. in: query
  29815. name: userID
  29816. required: true
  29817. type: integer
  29818. produces:
  29819. - application/json
  29820. responses:
  29821. "200":
  29822. description: OK
  29823. schema:
  29824. $ref: '#/definitions/app.Response'
  29825. "500":
  29826. description: Internal Server Error
  29827. schema:
  29828. $ref: '#/definitions/app.Response'
  29829. summary: 获取用户邀请码
  29830. tags:
  29831. - 用户信息
  29832. /User/RemoveUserFavoriteGoods:
  29833. post:
  29834. parameters:
  29835. - description: 用户ID
  29836. in: query
  29837. name: userID
  29838. required: true
  29839. type: integer
  29840. - description: 商品ID
  29841. in: query
  29842. name: goodsID
  29843. required: true
  29844. type: integer
  29845. produces:
  29846. - application/json
  29847. responses:
  29848. "200":
  29849. description: OK
  29850. schema:
  29851. $ref: '#/definitions/app.Response'
  29852. "500":
  29853. description: Internal Server Error
  29854. schema:
  29855. $ref: '#/definitions/app.Response'
  29856. security:
  29857. - ApiKeyAuth: []
  29858. summary: 移除用户商品收藏信息
  29859. tags:
  29860. - 用户信息
  29861. /User/UpdateUserAccountStatus:
  29862. post:
  29863. parameters:
  29864. - description: 用户ID
  29865. in: query
  29866. name: userID
  29867. required: true
  29868. type: integer
  29869. - description: 账户状态 - 4:正常 6:注销(停用)
  29870. in: query
  29871. name: accountStatus
  29872. required: true
  29873. type: integer
  29874. produces:
  29875. - application/json
  29876. responses:
  29877. "200":
  29878. description: OK
  29879. schema:
  29880. $ref: '#/definitions/app.Response'
  29881. "500":
  29882. description: Internal Server Error
  29883. schema:
  29884. $ref: '#/definitions/app.Response'
  29885. security:
  29886. - ApiKeyAuth: []
  29887. summary: 更新用户状态
  29888. tags:
  29889. - 用户信息
  29890. /WRTrade/GetAllDeliveryGoods:
  29891. get:
  29892. produces:
  29893. - application/json
  29894. responses:
  29895. "200":
  29896. description: OK
  29897. schema:
  29898. $ref: '#/definitions/app.Response'
  29899. "500":
  29900. description: Internal Server Error
  29901. schema:
  29902. $ref: '#/definitions/app.Response'
  29903. security:
  29904. - ApiKeyAuth: []
  29905. summary: 获取带仓单分类的种类信息
  29906. tags:
  29907. - 仓单贸易
  29908. - 仓单贸易
  29909. /WrTrade2/InsertXhcpSellBackApply:
  29910. post:
  29911. parameters:
  29912. - description: 回收申请
  29913. in: body
  29914. name: jsonBody
  29915. required: true
  29916. schema:
  29917. $ref: '#/definitions/models.XhcpSellBackApplyEx'
  29918. produces:
  29919. - application/json
  29920. responses:
  29921. "200":
  29922. description: OK
  29923. schema:
  29924. $ref: '#/definitions/app.Response'
  29925. "500":
  29926. description: Internal Server Error
  29927. schema:
  29928. $ref: '#/definitions/app.Response'
  29929. security:
  29930. - ApiKeyAuth: []
  29931. summary: 新增回收申请(新会陈皮)
  29932. tags:
  29933. - 仓单贸易v2
  29934. /WrTrade2/QueryDeliveryGoodsSection:
  29935. get:
  29936. produces:
  29937. - application/json
  29938. responses:
  29939. "200":
  29940. description: OK
  29941. schema:
  29942. items:
  29943. $ref: '#/definitions/models.WrDeliveryGoodsSection'
  29944. type: array
  29945. "500":
  29946. description: Internal Server Error
  29947. schema:
  29948. $ref: '#/definitions/app.Response'
  29949. security:
  29950. - ApiKeyAuth: []
  29951. summary: 查询板块(分类)
  29952. tags:
  29953. - 仓单贸易v2
  29954. /WrTrade2/QueryFaProductDetail:
  29955. get:
  29956. description: 页面 买卖大厅 -> 选择融资方案
  29957. parameters:
  29958. - description: 仓单要素id
  29959. in: query
  29960. name: wrfactortypeid
  29961. required: true
  29962. type: integer
  29963. produces:
  29964. - application/json
  29965. responses:
  29966. "200":
  29967. description: OK
  29968. schema:
  29969. items:
  29970. $ref: '#/definitions/models.WrFAProductDetail'
  29971. type: array
  29972. "500":
  29973. description: Internal Server Error
  29974. schema:
  29975. $ref: '#/definitions/app.Response'
  29976. security:
  29977. - ApiKeyAuth: []
  29978. summary: 查询融资产品列表
  29979. tags:
  29980. - 仓单贸易v2
  29981. /WrTrade2/QueryFilterItem:
  29982. get:
  29983. parameters:
  29984. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  29985. in: query
  29986. name: itype
  29987. required: true
  29988. type: string
  29989. produces:
  29990. - application/json
  29991. responses:
  29992. "200":
  29993. description: OK
  29994. schema:
  29995. items:
  29996. $ref: '#/definitions/models.WrFilterItem'
  29997. type: array
  29998. "500":
  29999. description: Internal Server Error
  30000. schema:
  30001. $ref: '#/definitions/app.Response'
  30002. security:
  30003. - ApiKeyAuth: []
  30004. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  30005. tags:
  30006. - 仓单贸易v2
  30007. /WrTrade2/QueryFtDeliveryGoods:
  30008. get:
  30009. produces:
  30010. - application/json
  30011. responses:
  30012. "200":
  30013. description: OK
  30014. schema:
  30015. items:
  30016. $ref: '#/definitions/models.WrFtDeliveryGoods'
  30017. type: array
  30018. "500":
  30019. description: Internal Server Error
  30020. schema:
  30021. $ref: '#/definitions/app.Response'
  30022. security:
  30023. - ApiKeyAuth: []
  30024. summary: 查询品种品类筛选框列表
  30025. tags:
  30026. - 仓单贸易v2
  30027. /WrTrade2/QueryHoldLB:
  30028. get:
  30029. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  30030. parameters:
  30031. - description: 资金账号
  30032. in: query
  30033. name: accountid
  30034. required: true
  30035. type: integer
  30036. - description: 仓库id
  30037. in: query
  30038. name: warehouseid
  30039. type: integer
  30040. - description: 品种id
  30041. in: query
  30042. name: deliverygoodsid
  30043. type: integer
  30044. - description: 品类id
  30045. in: query
  30046. name: wrstandardid
  30047. type: integer
  30048. - description: 仓单要素id
  30049. in: query
  30050. name: wrfactortypeid
  30051. type: integer
  30052. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  30053. in: query
  30054. name: dgitemname
  30055. type: string
  30056. produces:
  30057. - application/json
  30058. responses:
  30059. "200":
  30060. description: OK
  30061. schema:
  30062. items:
  30063. $ref: '#/definitions/models.WrHoldLB'
  30064. type: array
  30065. "500":
  30066. description: Internal Server Error
  30067. schema:
  30068. $ref: '#/definitions/app.Response'
  30069. security:
  30070. - ApiKeyAuth: []
  30071. summary: 查询仓单持有记录
  30072. tags:
  30073. - 仓单贸易v2
  30074. /WrTrade2/QueryOrderQuote:
  30075. get:
  30076. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  30077. 唯一确定1条记录
  30078. parameters:
  30079. - description: 页码
  30080. in: query
  30081. name: page
  30082. type: integer
  30083. - description: 每页条数
  30084. in: query
  30085. name: pagesize
  30086. type: integer
  30087. - description: 仓单贸易市场id
  30088. in: query
  30089. name: marketid
  30090. type: integer
  30091. - description: 价格方式 - 1:固定价 2-浮动价
  30092. in: query
  30093. name: wrpricetype
  30094. required: true
  30095. type: integer
  30096. - description: 0:仓单预售 1:仓单贸易
  30097. in: query
  30098. name: haswr
  30099. type: integer
  30100. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  30101. in: query
  30102. name: dgitemname
  30103. type: string
  30104. - description: 仓库id(筛选条件)
  30105. in: query
  30106. name: warehouseid
  30107. type: integer
  30108. - description: 品种id
  30109. in: query
  30110. name: deliverygoodsid
  30111. type: integer
  30112. - description: 品类id
  30113. in: query
  30114. name: wrstandardid
  30115. type: integer
  30116. - description: 品牌id(dgfactoryitemid)
  30117. in: query
  30118. name: brandid
  30119. type: integer
  30120. - description: 年份id(dgfactoryitemid)
  30121. in: query
  30122. name: yearsid
  30123. type: integer
  30124. - description: 仓单要素id
  30125. in: query
  30126. name: wrfactortypeid
  30127. type: integer
  30128. - description: 交收月(yyyy-mm) 仓单预售填写
  30129. in: query
  30130. name: deliverymonth
  30131. type: string
  30132. produces:
  30133. - application/json
  30134. responses:
  30135. "200":
  30136. description: OK
  30137. schema:
  30138. items:
  30139. $ref: '#/definitions/models.WrOrderQuote'
  30140. type: array
  30141. "500":
  30142. description: Internal Server Error
  30143. schema:
  30144. $ref: '#/definitions/app.Response'
  30145. security:
  30146. - ApiKeyAuth: []
  30147. summary: 查询大厅行情列表
  30148. tags:
  30149. - 仓单贸易v2
  30150. /WrTrade2/QueryOrderQuoteDetail:
  30151. get:
  30152. parameters:
  30153. - description: 页码
  30154. in: query
  30155. name: page
  30156. type: integer
  30157. - description: 每页条数
  30158. in: query
  30159. name: pagesize
  30160. type: integer
  30161. - description: 仓单贸易市场id
  30162. in: query
  30163. name: marketid
  30164. type: integer
  30165. - description: 价格方式 - 1:固定价 2-浮动价
  30166. in: query
  30167. name: wrpricetype
  30168. required: true
  30169. type: integer
  30170. - description: 0:仓单预售 1:仓单贸易
  30171. in: query
  30172. name: haswr
  30173. type: integer
  30174. - description: 仓单要素id
  30175. in: query
  30176. name: wrfactortypeid
  30177. required: true
  30178. type: integer
  30179. - description: 期货商品id(浮动价方式时填)
  30180. in: query
  30181. name: goodsid
  30182. type: integer
  30183. - description: 买卖方向 0-买 1-卖
  30184. in: query
  30185. name: buyorsell
  30186. required: true
  30187. type: integer
  30188. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  30189. in: query
  30190. name: deliverymonth
  30191. type: string
  30192. produces:
  30193. - application/json
  30194. responses:
  30195. "200":
  30196. description: OK
  30197. schema:
  30198. items:
  30199. $ref: '#/definitions/models.WrOrderQuoteDetail'
  30200. type: array
  30201. "500":
  30202. description: Internal Server Error
  30203. schema:
  30204. $ref: '#/definitions/app.Response'
  30205. security:
  30206. - ApiKeyAuth: []
  30207. summary: 查询买卖大厅
  30208. tags:
  30209. - 仓单贸易v2
  30210. /WrTrade2/QueryOrderQuoteMyq:
  30211. get:
  30212. parameters:
  30213. - description: 页码
  30214. in: query
  30215. name: page
  30216. type: integer
  30217. - description: 每页条数
  30218. in: query
  30219. name: pagesize
  30220. type: integer
  30221. - description: 用户id
  30222. in: query
  30223. name: userid
  30224. required: true
  30225. type: integer
  30226. - description: 仓单贸易市场id
  30227. in: query
  30228. name: marketid
  30229. type: integer
  30230. - description: 0:仓单预售 1:仓单贸易
  30231. in: query
  30232. name: haswr
  30233. type: integer
  30234. - description: 买卖方向 0-买 1-卖
  30235. in: query
  30236. name: buyorsell
  30237. required: true
  30238. type: integer
  30239. - description: 品种id
  30240. in: query
  30241. name: deliverygoodsid
  30242. type: integer
  30243. - description: 品类id
  30244. in: query
  30245. name: wrstandardid
  30246. type: integer
  30247. - description: 交收月(yyyy-mm) 仓单预售填写
  30248. in: query
  30249. name: deliverymonth
  30250. type: string
  30251. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  30252. in: query
  30253. name: dgitemname
  30254. type: string
  30255. produces:
  30256. - application/json
  30257. responses:
  30258. "200":
  30259. description: OK
  30260. schema:
  30261. items:
  30262. $ref: '#/definitions/models.WrQuoteOrderMyq'
  30263. type: array
  30264. "500":
  30265. description: Internal Server Error
  30266. schema:
  30267. $ref: '#/definitions/app.Response'
  30268. security:
  30269. - ApiKeyAuth: []
  30270. summary: 查询贸易圈挂牌大厅
  30271. tags:
  30272. - 仓单贸易v2
  30273. /WrTrade2/QueryPerformancePlan:
  30274. get:
  30275. parameters:
  30276. - description: 用户id
  30277. in: query
  30278. name: userid
  30279. required: true
  30280. type: integer
  30281. - description: 买卖方向 0-买 1-卖
  30282. in: query
  30283. name: buyorsell
  30284. required: true
  30285. type: integer
  30286. - description: 履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成
  30287. 8:释放冻结失败 9:超时待处理 10:超时关闭
  30288. in: query
  30289. name: status
  30290. type: string
  30291. - description: 开始交易日(yyyymmdd)
  30292. in: query
  30293. name: begindate
  30294. type: string
  30295. - description: 结束交易日(yyyymmdd)
  30296. in: query
  30297. name: enddate
  30298. type: string
  30299. produces:
  30300. - application/json
  30301. responses:
  30302. "200":
  30303. description: OK
  30304. schema:
  30305. items:
  30306. $ref: '#/definitions/models.WrPerformancePlan'
  30307. type: array
  30308. "500":
  30309. description: Internal Server Error
  30310. schema:
  30311. $ref: '#/definitions/app.Response'
  30312. security:
  30313. - ApiKeyAuth: []
  30314. summary: 查询履约信息
  30315. tags:
  30316. - 仓单贸易v2
  30317. /WrTrade2/QueryPermancePlanTmp:
  30318. get:
  30319. description: |-
  30320. 返回指定用户的模板和公共模板(用户id为空)
  30321. 注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段
  30322. parameters:
  30323. - description: 用户id
  30324. in: query
  30325. name: userid
  30326. type: integer
  30327. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  30328. (无仓单) 5:挂牌期权 6:竞拍-降价式
  30329. in: query
  30330. name: tmptype
  30331. type: string
  30332. - description: 是否包含公共模板(用户id为空的) 1-包含
  30333. in: query
  30334. name: includepub
  30335. type: integer
  30336. - description: 市场id(天津麦顿指定此参数,其它不用)
  30337. in: query
  30338. name: marketid
  30339. type: integer
  30340. produces:
  30341. - application/json
  30342. responses:
  30343. "200":
  30344. description: OK
  30345. schema:
  30346. items:
  30347. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  30348. type: array
  30349. "500":
  30350. description: Internal Server Error
  30351. schema:
  30352. $ref: '#/definitions/app.Response'
  30353. security:
  30354. - ApiKeyAuth: []
  30355. summary: 查询履约模板
  30356. tags:
  30357. - 仓单贸易v2
  30358. /WrTrade2/QuerySiteColumnDetail:
  30359. get:
  30360. parameters:
  30361. - description: 页码
  30362. in: query
  30363. name: page
  30364. type: integer
  30365. - description: 每页条数
  30366. in: query
  30367. name: pagesize
  30368. type: integer
  30369. - description: 所属栏目id
  30370. in: query
  30371. name: columnid
  30372. type: integer
  30373. produces:
  30374. - application/json
  30375. responses:
  30376. "200":
  30377. description: OK
  30378. schema:
  30379. items:
  30380. $ref: '#/definitions/models.WrSiteColumnDetail'
  30381. type: array
  30382. "500":
  30383. description: Internal Server Error
  30384. schema:
  30385. $ref: '#/definitions/app.Response'
  30386. security:
  30387. - ApiKeyAuth: []
  30388. summary: 查询资讯
  30389. tags:
  30390. - 仓单贸易v2
  30391. /WrTrade2/QuerySpotGroupTradeSum:
  30392. get:
  30393. produces:
  30394. - application/json
  30395. responses:
  30396. "200":
  30397. description: OK
  30398. schema:
  30399. items:
  30400. $ref: '#/definitions/models.WrSpotGroupTradeSumEx'
  30401. type: array
  30402. "500":
  30403. description: Internal Server Error
  30404. schema:
  30405. $ref: '#/definitions/app.Response'
  30406. security:
  30407. - ApiKeyAuth: []
  30408. summary: 查询指数
  30409. tags:
  30410. - 仓单贸易v2
  30411. /WrTrade2/QuerySpotGroupTradeSumDetail:
  30412. get:
  30413. description: 查询的结果将会按日期 从小到大 排序
  30414. parameters:
  30415. - description: 现货商品id
  30416. in: query
  30417. name: deliverygoodsid
  30418. required: true
  30419. type: integer
  30420. - description: 查询最新多少条记录(如不填写此项, 默认查30条)
  30421. in: query
  30422. name: lastnum
  30423. type: integer
  30424. produces:
  30425. - application/json
  30426. responses:
  30427. "200":
  30428. description: OK
  30429. schema:
  30430. items:
  30431. $ref: '#/definitions/models.WrSpotGroupTradeSumDetail'
  30432. type: array
  30433. "500":
  30434. description: Internal Server Error
  30435. schema:
  30436. $ref: '#/definitions/app.Response'
  30437. security:
  30438. - ApiKeyAuth: []
  30439. summary: 查询指数详细(价格走势图)
  30440. tags:
  30441. - 仓单贸易v2
  30442. /WrTrade2/QueryWrAverageTradePrice:
  30443. get:
  30444. parameters:
  30445. - description: 页码
  30446. in: query
  30447. name: page
  30448. type: integer
  30449. - description: 每页条数
  30450. in: query
  30451. name: pagesize
  30452. type: integer
  30453. - description: 0:仓单预售 1:仓单贸易
  30454. in: query
  30455. name: haswr
  30456. required: true
  30457. type: integer
  30458. - description: 仓单要素id
  30459. in: query
  30460. name: wrfactortypeid
  30461. required: true
  30462. type: integer
  30463. produces:
  30464. - application/json
  30465. responses:
  30466. "200":
  30467. description: OK
  30468. schema:
  30469. items:
  30470. $ref: '#/definitions/models.WrAverageTradePrice'
  30471. type: array
  30472. "500":
  30473. description: Internal Server Error
  30474. schema:
  30475. $ref: '#/definitions/app.Response'
  30476. security:
  30477. - ApiKeyAuth: []
  30478. summary: 查询成交价(历史走势)
  30479. tags:
  30480. - 仓单贸易v2
  30481. /WrTrade2/QueryWrBrandAndYears:
  30482. get:
  30483. produces:
  30484. - application/json
  30485. responses:
  30486. "200":
  30487. description: OK
  30488. schema:
  30489. items:
  30490. $ref: '#/definitions/models.WrBrandAndYears'
  30491. type: array
  30492. "500":
  30493. description: Internal Server Error
  30494. schema:
  30495. $ref: '#/definitions/app.Response'
  30496. security:
  30497. - ApiKeyAuth: []
  30498. summary: 查询品牌和年份
  30499. tags:
  30500. - 仓单贸易v2
  30501. /WrTrade2/QueryWrBsGoodsInfo:
  30502. get:
  30503. description: 合约交易/买卖大厅/详情
  30504. parameters:
  30505. - description: 商品id
  30506. in: query
  30507. name: goodsid
  30508. required: true
  30509. type: integer
  30510. produces:
  30511. - application/json
  30512. responses:
  30513. "200":
  30514. description: OK
  30515. schema:
  30516. items:
  30517. $ref: '#/definitions/models.WrBsGoodsInfo'
  30518. type: array
  30519. "500":
  30520. description: Internal Server Error
  30521. schema:
  30522. $ref: '#/definitions/app.Response'
  30523. security:
  30524. - ApiKeyAuth: []
  30525. summary: 查询合约交易买卖大厅详情
  30526. tags:
  30527. - 仓单贸易v2
  30528. /WrTrade2/QueryWrBuybackDetail:
  30529. get:
  30530. parameters:
  30531. - description: 融资合同id
  30532. in: query
  30533. name: scfcontractid
  30534. type: integer
  30535. produces:
  30536. - application/json
  30537. responses:
  30538. "200":
  30539. description: OK
  30540. schema:
  30541. items:
  30542. $ref: '#/definitions/models.WrBuybackDetail'
  30543. type: array
  30544. "500":
  30545. description: Internal Server Error
  30546. schema:
  30547. $ref: '#/definitions/app.Response'
  30548. security:
  30549. - ApiKeyAuth: []
  30550. summary: 查询仓单回购明细
  30551. tags:
  30552. - 仓单贸易v2
  30553. /WrTrade2/QueryWrClientAdSpaceConfig:
  30554. get:
  30555. produces:
  30556. - application/json
  30557. responses:
  30558. "200":
  30559. description: OK
  30560. schema:
  30561. items:
  30562. $ref: '#/definitions/models.WrClientAdSpaceConfig'
  30563. type: array
  30564. "500":
  30565. description: Internal Server Error
  30566. schema:
  30567. $ref: '#/definitions/app.Response'
  30568. security:
  30569. - ApiKeyAuth: []
  30570. summary: 查询固定广告配置
  30571. tags:
  30572. - 仓单贸易v2
  30573. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  30574. get:
  30575. parameters:
  30576. - description: 资金账号
  30577. in: query
  30578. name: accountid
  30579. required: true
  30580. type: integer
  30581. - description: 商品id
  30582. in: query
  30583. name: goodsid
  30584. required: true
  30585. type: integer
  30586. produces:
  30587. - application/json
  30588. responses:
  30589. "200":
  30590. description: OK
  30591. schema:
  30592. items:
  30593. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  30594. type: array
  30595. "500":
  30596. description: Internal Server Error
  30597. schema:
  30598. $ref: '#/definitions/app.Response'
  30599. security:
  30600. - ApiKeyAuth: []
  30601. summary: 查询合约交收可点选仓单
  30602. tags:
  30603. - 仓单贸易v2
  30604. /WrTrade2/QueryWrDeliveryDetail:
  30605. get:
  30606. parameters:
  30607. - description: 用户id
  30608. in: query
  30609. name: userid
  30610. required: true
  30611. type: integer
  30612. - description: 资金账号id
  30613. in: query
  30614. name: accountid
  30615. type: integer
  30616. - description: 开始交易日(yyyymmdd)
  30617. in: query
  30618. name: begindate
  30619. type: string
  30620. - description: 结束交易日(yyyymmdd)
  30621. in: query
  30622. name: enddate
  30623. type: string
  30624. produces:
  30625. - application/json
  30626. responses:
  30627. "200":
  30628. description: OK
  30629. schema:
  30630. items:
  30631. $ref: '#/definitions/models.WrDeliveryDetail'
  30632. type: array
  30633. "500":
  30634. description: Internal Server Error
  30635. schema:
  30636. $ref: '#/definitions/app.Response'
  30637. security:
  30638. - ApiKeyAuth: []
  30639. summary: 查询交收
  30640. tags:
  30641. - 仓单贸易v2
  30642. /WrTrade2/QueryWrDraftUserInfo:
  30643. get:
  30644. parameters:
  30645. - description: 用户ID
  30646. in: query
  30647. name: userid
  30648. required: true
  30649. type: integer
  30650. - description: 用户状态 1:正常 2:注销
  30651. in: query
  30652. name: userstatus
  30653. type: integer
  30654. produces:
  30655. - application/json
  30656. responses:
  30657. "200":
  30658. description: OK
  30659. schema:
  30660. items:
  30661. $ref: '#/definitions/models.WrDraftUserInfo'
  30662. type: array
  30663. "500":
  30664. description: Internal Server Error
  30665. schema:
  30666. $ref: '#/definitions/app.Response'
  30667. security:
  30668. - ApiKeyAuth: []
  30669. summary: 查询实名认证信息
  30670. tags:
  30671. - 仓单贸易v2
  30672. /WrTrade2/QueryWrFactorTypeInfo:
  30673. get:
  30674. parameters:
  30675. - description: 仓单要素id
  30676. in: query
  30677. name: wrfactortypeid
  30678. required: true
  30679. type: integer
  30680. produces:
  30681. - application/json
  30682. responses:
  30683. "200":
  30684. description: OK
  30685. schema:
  30686. items:
  30687. $ref: '#/definitions/models.WrFactorTypeInfo'
  30688. type: array
  30689. "500":
  30690. description: Internal Server Error
  30691. schema:
  30692. $ref: '#/definitions/app.Response'
  30693. security:
  30694. - ApiKeyAuth: []
  30695. summary: 查询仓单要素详细信息
  30696. tags:
  30697. - 仓单贸易v2
  30698. /WrTrade2/QueryWrFactorTypeInfoEx:
  30699. get:
  30700. parameters:
  30701. - description: 仓单要素id
  30702. in: query
  30703. name: wrfactortypeid
  30704. required: true
  30705. type: integer
  30706. produces:
  30707. - application/json
  30708. responses:
  30709. "200":
  30710. description: OK
  30711. schema:
  30712. items:
  30713. $ref: '#/definitions/models.WrTypeItem'
  30714. type: array
  30715. "500":
  30716. description: Internal Server Error
  30717. schema:
  30718. $ref: '#/definitions/app.Response'
  30719. security:
  30720. - ApiKeyAuth: []
  30721. summary: 查询仓单要素详细信息列表项
  30722. tags:
  30723. - 仓单贸易v2
  30724. /WrTrade2/QueryWrFinanceBuyApply:
  30725. get:
  30726. description: 页面 融资信息+ / 申请单
  30727. parameters:
  30728. - description: 用户id
  30729. in: query
  30730. name: userid
  30731. required: true
  30732. type: integer
  30733. produces:
  30734. - application/json
  30735. responses:
  30736. "200":
  30737. description: OK
  30738. schema:
  30739. items:
  30740. $ref: '#/definitions/models.WrFinanceBuyApply'
  30741. type: array
  30742. "500":
  30743. description: Internal Server Error
  30744. schema:
  30745. $ref: '#/definitions/app.Response'
  30746. security:
  30747. - ApiKeyAuth: []
  30748. summary: 查询融资购买申请
  30749. tags:
  30750. - 仓单贸易v2
  30751. /WrTrade2/QueryWrFriendApply:
  30752. get:
  30753. parameters:
  30754. - description: 用户id
  30755. in: query
  30756. name: userid
  30757. required: true
  30758. type: integer
  30759. produces:
  30760. - application/json
  30761. responses:
  30762. "200":
  30763. description: OK
  30764. schema:
  30765. items:
  30766. $ref: '#/definitions/models.WrFriendApply'
  30767. type: array
  30768. "500":
  30769. description: Internal Server Error
  30770. schema:
  30771. $ref: '#/definitions/app.Response'
  30772. security:
  30773. - ApiKeyAuth: []
  30774. summary: 查询好友申请记录
  30775. tags:
  30776. - 仓单贸易v2
  30777. /WrTrade2/QueryWrGoodsInfo:
  30778. get:
  30779. parameters:
  30780. - description: 仓单贸易市场id
  30781. in: query
  30782. name: marketid
  30783. type: integer
  30784. - description: 0:仓单预售 1:仓单贸易
  30785. in: query
  30786. name: haswr
  30787. required: true
  30788. type: integer
  30789. - description: 仓单要素id
  30790. in: query
  30791. name: wrfactortypeid
  30792. required: true
  30793. type: integer
  30794. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  30795. in: query
  30796. name: tmplateid
  30797. type: integer
  30798. produces:
  30799. - application/json
  30800. responses:
  30801. "200":
  30802. description: OK
  30803. schema:
  30804. items:
  30805. $ref: '#/definitions/models.WrGoodsInfo'
  30806. type: array
  30807. "500":
  30808. description: Internal Server Error
  30809. schema:
  30810. $ref: '#/definitions/app.Response'
  30811. security:
  30812. - ApiKeyAuth: []
  30813. summary: 查询仓单商品信息
  30814. tags:
  30815. - 仓单贸易v2
  30816. /WrTrade2/QueryWrMarketTradeConfig:
  30817. get:
  30818. parameters:
  30819. - description: 市场id
  30820. in: query
  30821. name: marketid
  30822. type: integer
  30823. produces:
  30824. - application/json
  30825. responses:
  30826. "200":
  30827. description: OK
  30828. schema:
  30829. items:
  30830. $ref: '#/definitions/models.WrMarketTradeConfig'
  30831. type: array
  30832. "500":
  30833. description: Internal Server Error
  30834. schema:
  30835. $ref: '#/definitions/app.Response'
  30836. security:
  30837. - ApiKeyAuth: []
  30838. summary: 查询市场交易参数配置
  30839. tags:
  30840. - 仓单贸易v2
  30841. /WrTrade2/QueryWrOrderDetail:
  30842. get:
  30843. description: 页面 现货仓单 | 预售仓单 -> 委托单
  30844. parameters:
  30845. - description: 页码
  30846. in: query
  30847. name: page
  30848. type: integer
  30849. - description: 每页条数
  30850. in: query
  30851. name: pagesize
  30852. type: integer
  30853. - description: 用户id
  30854. in: query
  30855. name: userid
  30856. required: true
  30857. type: integer
  30858. - description: 仓单贸易市场id
  30859. in: query
  30860. name: marketid
  30861. type: integer
  30862. - description: 0:仓单预售 1:仓单贸易
  30863. in: query
  30864. name: haswr
  30865. required: true
  30866. type: integer
  30867. - description: 是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场
  30868. in: query
  30869. name: bcancel
  30870. type: integer
  30871. - description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  30872. in: query
  30873. name: wrtradetype
  30874. type: integer
  30875. - description: 开始交易日(yyyymmdd)
  30876. in: query
  30877. name: begindate
  30878. type: string
  30879. - description: 结束交易日(yyyymmdd)
  30880. in: query
  30881. name: enddate
  30882. type: string
  30883. produces:
  30884. - application/json
  30885. responses:
  30886. "200":
  30887. description: OK
  30888. schema:
  30889. items:
  30890. $ref: '#/definitions/models.WrOrderDetail'
  30891. type: array
  30892. "500":
  30893. description: Internal Server Error
  30894. schema:
  30895. $ref: '#/definitions/app.Response'
  30896. security:
  30897. - ApiKeyAuth: []
  30898. summary: 查询仓单委托单
  30899. tags:
  30900. - 仓单贸易v2
  30901. /WrTrade2/QueryWrOutInApply:
  30902. get:
  30903. parameters:
  30904. - description: 用户id
  30905. in: query
  30906. name: userid
  30907. required: true
  30908. type: integer
  30909. - description: 开始交易日(yyyymmdd)
  30910. in: query
  30911. name: begindate
  30912. type: string
  30913. - description: 结束交易日(yyyymmdd)
  30914. in: query
  30915. name: enddate
  30916. type: string
  30917. produces:
  30918. - application/json
  30919. responses:
  30920. "200":
  30921. description: OK
  30922. schema:
  30923. items:
  30924. $ref: '#/definitions/models.WrOutInApply'
  30925. type: array
  30926. "500":
  30927. description: Internal Server Error
  30928. schema:
  30929. $ref: '#/definitions/app.Response'
  30930. security:
  30931. - ApiKeyAuth: []
  30932. summary: 查询提货申请
  30933. tags:
  30934. - 仓单贸易v2
  30935. /WrTrade2/QueryWrPerformancePlanStep:
  30936. get:
  30937. parameters:
  30938. - description: 履约计划id(performanceplanid)
  30939. in: query
  30940. name: planid
  30941. required: true
  30942. type: integer
  30943. - description: 当前步骤id
  30944. in: query
  30945. name: curstepid
  30946. type: integer
  30947. produces:
  30948. - application/json
  30949. responses:
  30950. "200":
  30951. description: OK
  30952. schema:
  30953. items:
  30954. $ref: '#/definitions/models.WrPerformancePlanStep'
  30955. type: array
  30956. "500":
  30957. description: Internal Server Error
  30958. schema:
  30959. $ref: '#/definitions/app.Response'
  30960. security:
  30961. - ApiKeyAuth: []
  30962. summary: 查询履约信息详情
  30963. tags:
  30964. - 仓单贸易v2
  30965. /WrTrade2/QueryWrPerformanceStepType:
  30966. get:
  30967. produces:
  30968. - application/json
  30969. responses:
  30970. "200":
  30971. description: OK
  30972. schema:
  30973. items:
  30974. $ref: '#/definitions/models.WrPerformanceStepType'
  30975. type: array
  30976. "500":
  30977. description: Internal Server Error
  30978. schema:
  30979. $ref: '#/definitions/app.Response'
  30980. security:
  30981. - ApiKeyAuth: []
  30982. summary: 查询履约步骤枚举
  30983. tags:
  30984. - 仓单贸易v2
  30985. /WrTrade2/QueryWrPosition:
  30986. get:
  30987. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  30988. parameters:
  30989. - description: 用户id
  30990. in: query
  30991. name: userid
  30992. required: true
  30993. type: integer
  30994. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  30995. in: query
  30996. name: querytype
  30997. required: true
  30998. type: integer
  30999. - description: 0:仓单预售 1:仓单贸易
  31000. in: query
  31001. name: haswr
  31002. required: true
  31003. type: integer
  31004. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  31005. in: query
  31006. name: dgitemname
  31007. type: string
  31008. - description: 仓库id(筛选条件)
  31009. in: query
  31010. name: warehouseid
  31011. type: integer
  31012. - description: 品种id
  31013. in: query
  31014. name: deliverygoodsid
  31015. type: integer
  31016. - description: 品类id
  31017. in: query
  31018. name: wrstandardid
  31019. type: integer
  31020. produces:
  31021. - application/json
  31022. responses:
  31023. "200":
  31024. description: OK
  31025. schema:
  31026. items:
  31027. $ref: '#/definitions/models.WrPosition'
  31028. type: array
  31029. "500":
  31030. description: Internal Server Error
  31031. schema:
  31032. $ref: '#/definitions/app.Response'
  31033. security:
  31034. - ApiKeyAuth: []
  31035. summary: 查询现货(预售)仓单持仓
  31036. tags:
  31037. - 仓单贸易v2
  31038. /WrTrade2/QueryWrPreSaleInfo:
  31039. get:
  31040. parameters:
  31041. - description: 市场id
  31042. in: query
  31043. name: marketid
  31044. type: integer
  31045. - description: 预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭
  31046. in: query
  31047. name: presalestatus
  31048. type: string
  31049. - description: 摇号标识 - 0:未摇号 1:已摇号
  31050. in: query
  31051. name: lotteryflag
  31052. type: integer
  31053. - description: 最近多少条记录(按创建时间倒序)
  31054. in: query
  31055. name: lastnum
  31056. type: integer
  31057. produces:
  31058. - application/json
  31059. responses:
  31060. "200":
  31061. description: OK
  31062. schema:
  31063. items:
  31064. $ref: '#/definitions/models.WrPreSaleInfo'
  31065. type: array
  31066. "500":
  31067. description: Internal Server Error
  31068. schema:
  31069. $ref: '#/definitions/app.Response'
  31070. security:
  31071. - ApiKeyAuth: []
  31072. summary: 查询新品发布
  31073. tags:
  31074. - 仓单贸易v2
  31075. /WrTrade2/QueryWrReckonSpotGoodsTradeSum:
  31076. get:
  31077. parameters:
  31078. - description: 市场id
  31079. in: query
  31080. name: marketid
  31081. required: true
  31082. type: integer
  31083. - description: 现货商品id
  31084. in: query
  31085. name: wrstandardid
  31086. required: true
  31087. type: integer
  31088. - description: 开始交易日(yyyymmdd)
  31089. in: query
  31090. name: begindate
  31091. type: string
  31092. - description: 结束交易日(yyyymmdd)
  31093. in: query
  31094. name: enddate
  31095. type: string
  31096. - description: 最近多少条记录(按交易日倒序)
  31097. in: query
  31098. name: lastnum
  31099. type: integer
  31100. - description: 是否今日
  31101. in: query
  31102. name: istoday
  31103. type: boolean
  31104. produces:
  31105. - application/json
  31106. responses:
  31107. "200":
  31108. description: OK
  31109. schema:
  31110. items:
  31111. $ref: '#/definitions/models.WrReckonSpotGoodsTradeSum'
  31112. type: array
  31113. "500":
  31114. description: Internal Server Error
  31115. schema:
  31116. $ref: '#/definitions/app.Response'
  31117. security:
  31118. - ApiKeyAuth: []
  31119. summary: 查询价格走势
  31120. tags:
  31121. - 仓单贸易v2
  31122. /WrTrade2/QueryWrScfContract:
  31123. get:
  31124. parameters:
  31125. - description: 用户id
  31126. in: query
  31127. name: userid
  31128. required: true
  31129. type: integer
  31130. - description: 融资合同id
  31131. in: query
  31132. name: scfcontractid
  31133. type: integer
  31134. produces:
  31135. - application/json
  31136. responses:
  31137. "200":
  31138. description: OK
  31139. schema:
  31140. items:
  31141. $ref: '#/definitions/models.WrScfContract'
  31142. type: array
  31143. "500":
  31144. description: Internal Server Error
  31145. schema:
  31146. $ref: '#/definitions/app.Response'
  31147. security:
  31148. - ApiKeyAuth: []
  31149. summary: 查询仓单贸易融资合同
  31150. tags:
  31151. - 仓单贸易v2
  31152. /WrTrade2/QueryWrScfContractInterest:
  31153. get:
  31154. parameters:
  31155. - description: 融资合同id
  31156. in: query
  31157. name: scfcontractid
  31158. type: integer
  31159. produces:
  31160. - application/json
  31161. responses:
  31162. "200":
  31163. description: OK
  31164. schema:
  31165. items:
  31166. $ref: '#/definitions/models.WrScfContractInterest'
  31167. type: array
  31168. "500":
  31169. description: Internal Server Error
  31170. schema:
  31171. $ref: '#/definitions/app.Response'
  31172. security:
  31173. - ApiKeyAuth: []
  31174. summary: 查询融资合同费用明细
  31175. tags:
  31176. - 仓单贸易v2
  31177. /WrTrade2/QueryWrSearchUser:
  31178. get:
  31179. parameters:
  31180. - description: 用户名称(模糊匹配)
  31181. in: query
  31182. name: username
  31183. required: true
  31184. type: string
  31185. produces:
  31186. - application/json
  31187. responses:
  31188. "200":
  31189. description: OK
  31190. schema:
  31191. items:
  31192. $ref: '#/definitions/models.WrSearchUser'
  31193. type: array
  31194. "500":
  31195. description: Internal Server Error
  31196. schema:
  31197. $ref: '#/definitions/app.Response'
  31198. security:
  31199. - ApiKeyAuth: []
  31200. summary: 查询用户
  31201. tags:
  31202. - 仓单贸易v2
  31203. /WrTrade2/QueryWrSpecialMatchOrder:
  31204. get:
  31205. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  31206. parameters:
  31207. - description: 页码
  31208. in: query
  31209. name: page
  31210. type: integer
  31211. - description: 每页条数
  31212. in: query
  31213. name: pagesize
  31214. type: integer
  31215. - description: 用户id
  31216. in: query
  31217. name: userid
  31218. required: true
  31219. type: integer
  31220. - description: 仓单贸易市场id
  31221. in: query
  31222. name: marketid
  31223. type: integer
  31224. - description: 0:仓单预售 1:仓单贸易
  31225. in: query
  31226. name: haswr
  31227. required: true
  31228. type: integer
  31229. - description: 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  31230. in: query
  31231. name: isspecified
  31232. type: integer
  31233. produces:
  31234. - application/json
  31235. responses:
  31236. "200":
  31237. description: OK
  31238. schema:
  31239. items:
  31240. $ref: '#/definitions/models.WrSpecialMatchOrder'
  31241. type: array
  31242. "500":
  31243. description: Internal Server Error
  31244. schema:
  31245. $ref: '#/definitions/app.Response'
  31246. security:
  31247. - ApiKeyAuth: []
  31248. summary: 查询指定成交
  31249. tags:
  31250. - 仓单贸易v2
  31251. /WrTrade2/QueryWrStandardFactoryItem:
  31252. get:
  31253. parameters:
  31254. - description: 品类id
  31255. in: query
  31256. name: wrstandardid
  31257. required: true
  31258. type: integer
  31259. produces:
  31260. - application/json
  31261. responses:
  31262. "200":
  31263. description: OK
  31264. schema:
  31265. items:
  31266. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  31267. type: array
  31268. "500":
  31269. description: Internal Server Error
  31270. schema:
  31271. $ref: '#/definitions/app.Response'
  31272. security:
  31273. - ApiKeyAuth: []
  31274. summary: 查询品类要素定义项
  31275. tags:
  31276. - 仓单贸易v2
  31277. /WrTrade2/QueryWrTradeBargainApply:
  31278. get:
  31279. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面
  31280. 议价->对方议价 填写matchuserid=登录用户id
  31281. parameters:
  31282. - description: 议价人id(摘牌方)
  31283. in: query
  31284. name: userid
  31285. type: integer
  31286. - description: 挂牌方id(查对方议价时,填写此项)
  31287. in: query
  31288. name: matchuserid
  31289. type: integer
  31290. - description: 关联委托单id
  31291. in: query
  31292. name: wrtradeorderid
  31293. type: integer
  31294. - description: 0:仓单预售 1:仓单贸易
  31295. in: query
  31296. name: haswr
  31297. required: true
  31298. type: integer
  31299. - description: 开始交易日(yyyymmdd)
  31300. in: query
  31301. name: begindate
  31302. type: string
  31303. - description: 结束交易日(yyyymmdd)
  31304. in: query
  31305. name: enddate
  31306. type: string
  31307. produces:
  31308. - application/json
  31309. responses:
  31310. "200":
  31311. description: OK
  31312. schema:
  31313. items:
  31314. $ref: '#/definitions/models.WRTradeBargainApply'
  31315. type: array
  31316. "500":
  31317. description: Internal Server Error
  31318. schema:
  31319. $ref: '#/definitions/app.Response'
  31320. security:
  31321. - ApiKeyAuth: []
  31322. summary: 查询议价单
  31323. tags:
  31324. - 仓单贸易v2
  31325. /WrTrade2/QueryWrTradeDetail:
  31326. get:
  31327. parameters:
  31328. - description: 页码
  31329. in: query
  31330. name: page
  31331. type: integer
  31332. - description: 每页条数
  31333. in: query
  31334. name: pagesize
  31335. type: integer
  31336. - description: 用户id
  31337. in: query
  31338. name: userid
  31339. required: true
  31340. type: integer
  31341. - description: 仓单贸易市场id
  31342. in: query
  31343. name: marketid
  31344. type: integer
  31345. - description: 0:仓单预售 1:仓单贸易
  31346. in: query
  31347. name: haswr
  31348. required: true
  31349. type: integer
  31350. - description: 开始交易日(yyyymmdd)
  31351. in: query
  31352. name: begindate
  31353. type: string
  31354. - description: 结束交易日(yyyymmdd)
  31355. in: query
  31356. name: enddate
  31357. type: string
  31358. produces:
  31359. - application/json
  31360. responses:
  31361. "200":
  31362. description: OK
  31363. schema:
  31364. items:
  31365. $ref: '#/definitions/models.WrTradeDetail'
  31366. type: array
  31367. "500":
  31368. description: Internal Server Error
  31369. schema:
  31370. $ref: '#/definitions/app.Response'
  31371. security:
  31372. - ApiKeyAuth: []
  31373. summary: 查询仓单成交明细
  31374. tags:
  31375. - 仓单贸易v2
  31376. /WrTrade2/QueryWrTradeOrderDetail:
  31377. get:
  31378. parameters:
  31379. - description: 页码
  31380. in: query
  31381. name: page
  31382. type: integer
  31383. - description: 每页条数
  31384. in: query
  31385. name: pagesize
  31386. type: integer
  31387. - description: 商品id
  31388. in: query
  31389. name: goodsid
  31390. required: true
  31391. type: integer
  31392. - description: 买卖方向 0-买 1-卖
  31393. in: query
  31394. name: buyorsell
  31395. required: true
  31396. type: integer
  31397. produces:
  31398. - application/json
  31399. responses:
  31400. "200":
  31401. description: OK
  31402. schema:
  31403. items:
  31404. $ref: '#/definitions/models.WrTradeOrderDetail'
  31405. type: array
  31406. "500":
  31407. description: Internal Server Error
  31408. schema:
  31409. $ref: '#/definitions/app.Response'
  31410. security:
  31411. - ApiKeyAuth: []
  31412. summary: 查询合约交易买卖大厅
  31413. tags:
  31414. - 仓单贸易v2
  31415. /WrTrade2/QueryWrUserFriend:
  31416. get:
  31417. parameters:
  31418. - description: 用户id
  31419. in: query
  31420. name: userid
  31421. required: true
  31422. type: integer
  31423. - description: 新朋友userid, 如果填写了此项则查找新朋友
  31424. in: query
  31425. name: newuserid
  31426. type: integer
  31427. produces:
  31428. - application/json
  31429. responses:
  31430. "200":
  31431. description: OK
  31432. schema:
  31433. items:
  31434. $ref: '#/definitions/models.WrUserFriend'
  31435. type: array
  31436. "500":
  31437. description: Internal Server Error
  31438. schema:
  31439. $ref: '#/definitions/app.Response'
  31440. security:
  31441. - ApiKeyAuth: []
  31442. summary: 查询我的朋友
  31443. tags:
  31444. - 仓单贸易v2
  31445. /WrTrade2/QueryWrUserReceiptInfo:
  31446. get:
  31447. parameters:
  31448. - description: 用户id
  31449. in: query
  31450. name: userid
  31451. type: integer
  31452. - description: 发票类型 - 1:个人 2:企业
  31453. in: query
  31454. name: receipttype
  31455. type: integer
  31456. produces:
  31457. - application/json
  31458. responses:
  31459. "200":
  31460. description: OK
  31461. schema:
  31462. items:
  31463. $ref: '#/definitions/models.WrUserReceiptInfo'
  31464. type: array
  31465. "500":
  31466. description: Internal Server Error
  31467. schema:
  31468. $ref: '#/definitions/app.Response'
  31469. security:
  31470. - ApiKeyAuth: []
  31471. summary: 查询发票信息
  31472. tags:
  31473. - 仓单贸易v2
  31474. /WrTrade2/QueryXhcpSellBackApply:
  31475. get:
  31476. parameters:
  31477. - description: 用户ID
  31478. in: query
  31479. name: userid
  31480. required: true
  31481. type: integer
  31482. produces:
  31483. - application/json
  31484. responses:
  31485. "200":
  31486. description: OK
  31487. schema:
  31488. items:
  31489. $ref: '#/definitions/models.Xhcpsellbackapply'
  31490. type: array
  31491. "500":
  31492. description: Internal Server Error
  31493. schema:
  31494. $ref: '#/definitions/app.Response'
  31495. security:
  31496. - ApiKeyAuth: []
  31497. summary: 查询我的回收申请(新会陈皮)
  31498. tags:
  31499. - 仓单贸易v2
  31500. /ZJ/GetBankTip:
  31501. get:
  31502. produces:
  31503. - application/json
  31504. responses:
  31505. "200":
  31506. description: OK
  31507. schema:
  31508. type: string
  31509. "500":
  31510. description: Internal Server Error
  31511. schema:
  31512. $ref: '#/definitions/app.Response'
  31513. summary: 获取中江网银端出入金提示信息
  31514. tags:
  31515. - 中江
  31516. /ZJ/GetCusBankChannels:
  31517. get:
  31518. produces:
  31519. - application/json
  31520. responses:
  31521. "200":
  31522. description: OK
  31523. schema:
  31524. items:
  31525. type: string
  31526. type: array
  31527. "500":
  31528. description: Internal Server Error
  31529. schema:
  31530. $ref: '#/definitions/app.Response'
  31531. summary: 获取中江出入金渠道显示列表
  31532. tags:
  31533. - 中江
  31534. securityDefinitions:
  31535. ApiKeyAuth:
  31536. in: header
  31537. name: Authorization
  31538. type: apiKey
  31539. swagger: "2.0"