swagger.yaml 879 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446314473144831449314503145131452314533145431455314563145731458314593146031461314623146331464314653146631467314683146931470314713147231473314743147531476314773147831479314803148131482314833148431485314863148731488314893149031491314923149331494314953149631497314983149931500315013150231503315043150531506315073150831509315103151131512315133151431515315163151731518315193152031521315223152331524315253152631527315283152931530315313153231533315343153531536315373153831539315403154131542315433154431545315463154731548
  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. curhedgeqty:
  2197. description: 期货套期量 = 当前持仓*期货合约单位*期货品种系数
  2198. type: number
  2199. curqty:
  2200. description: 当前持仓
  2201. type: integer
  2202. diffhedgeqty:
  2203. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  2204. type: number
  2205. diffqty:
  2206. description: 持仓变动量=当前持仓-昨日持仓
  2207. type: integer
  2208. goodscode:
  2209. description: 商品代码
  2210. type: string
  2211. goodsid:
  2212. description: 商品id
  2213. type: integer
  2214. goodsname:
  2215. description: 商品名称
  2216. type: string
  2217. hedgeaccountcode:
  2218. description: 对冲账号(只有外部账号才有值)
  2219. type: string
  2220. middlegoodscode:
  2221. description: 套保商品代码
  2222. type: string
  2223. middlegoodsid:
  2224. description: 套保商品id
  2225. type: integer
  2226. middlegoodsname:
  2227. description: 套保商品名称
  2228. type: string
  2229. ydqty:
  2230. description: 昨日持仓
  2231. type: integer
  2232. type: object
  2233. ermcp.RealtimeExposureRsp:
  2234. properties:
  2235. AreaUserID:
  2236. description: 所属机构
  2237. type: integer
  2238. BuyFutureQty:
  2239. description: 买入期货数量
  2240. type: number
  2241. BuyPlanQty:
  2242. description: 采购计划数量
  2243. type: number
  2244. BuyPricedQty:
  2245. description: 采购合同已定价数量
  2246. type: number
  2247. MiddleGoodsCode:
  2248. description: 套保品种代码
  2249. type: string
  2250. MiddleGoodsHedgeRatio:
  2251. description: 套保比例
  2252. type: number
  2253. MiddleGoodsID:
  2254. description: 套保品种
  2255. type: integer
  2256. MiddleGoodsName:
  2257. description: 套保品种名称
  2258. type: string
  2259. NeedHedgeExposoure:
  2260. description: 应套保敞口(套保敞口)
  2261. type: number
  2262. NeedHedgeRatio:
  2263. description: 应套保敞口比例
  2264. type: number
  2265. OriBuyFutureQty:
  2266. description: 期初买入期货数量
  2267. type: number
  2268. OriBuyPlanQty:
  2269. description: 期初采购计划数量
  2270. type: number
  2271. OriBuyPricedQty:
  2272. description: 期初采购合同已定价数量
  2273. type: number
  2274. OriSellFutureQty:
  2275. description: 期初卖出期货数量
  2276. type: number
  2277. OriSellPlanQty:
  2278. description: 期初销售计划数量
  2279. type: number
  2280. OriSellPricedQty:
  2281. description: 期初销售合同已定价数量
  2282. type: number
  2283. OriTotalSpotQty:
  2284. description: 期初现货总量
  2285. type: number
  2286. SellFutureQty:
  2287. description: 卖出期货数量
  2288. type: number
  2289. SellPlanQty:
  2290. description: 销售计划数量
  2291. type: number
  2292. SellPricedQty:
  2293. description: 销售合同已定价数量
  2294. type: number
  2295. TotalExposure:
  2296. description: 总敞口 平安:净敞口
  2297. type: number
  2298. TotalFutureQty:
  2299. description: 期货总量 平安:保值净持仓量
  2300. type: number
  2301. TotalHedgeRatio:
  2302. description: 敞口比例
  2303. type: number
  2304. TotalNeedHedgeQty:
  2305. description: 应套保总量(现货应套保总量)
  2306. type: number
  2307. TotalSpotQty:
  2308. description: 现货总量 平安:采销定价净值
  2309. type: number
  2310. arbitrageqty:
  2311. description: 套利量
  2312. type: number
  2313. diffArbitrageQty:
  2314. description: 套利变动量
  2315. type: number
  2316. diffExposoureQty:
  2317. description: 变动量(套保敞口)
  2318. type: number
  2319. diffFutuQty:
  2320. description: 变动量(期货总量) 平安:保值净持仓量今日变动
  2321. type: number
  2322. diffHedgeQty:
  2323. description: 套保变动量
  2324. type: number
  2325. diffQty:
  2326. description: 变动量(总敞口) 平安:净敞口今日变动
  2327. type: number
  2328. diffSpotHedgeQty:
  2329. description: 变动量(现货应套保总量) 平安:应套保量今日变动
  2330. type: number
  2331. diffSpotQty:
  2332. description: 变动量(现货总量) = 现货数量 - 期初现货数量 平安:采销定价净值今日变动
  2333. type: number
  2334. enumdicname:
  2335. description: 单位名称
  2336. type: string
  2337. hedgeqty:
  2338. description: 套保量
  2339. type: number
  2340. needarbitrageqty:
  2341. description: 应套利量
  2342. type: number
  2343. needarbitrageratio:
  2344. description: 套利比例
  2345. type: number
  2346. needhedgeqty:
  2347. description: 应套保量
  2348. type: number
  2349. oriarbitrageqty:
  2350. description: 期初套利量
  2351. type: number
  2352. orihedgeqty:
  2353. description: 期初套保量
  2354. type: number
  2355. orineedhedgeexposoure:
  2356. description: 期初套保敞口
  2357. type: number
  2358. oritotalexposure:
  2359. description: 期初总敞口
  2360. type: number
  2361. oritotalfutureqty:
  2362. description: 期初期货总量
  2363. type: number
  2364. oritotalneedhedgeqty:
  2365. description: 期初现货应套保量
  2366. type: number
  2367. type: object
  2368. erms2.QueryArbitrageStrategyRsp:
  2369. properties:
  2370. applybasis:
  2371. description: 申请基差
  2372. type: number
  2373. asapplyid:
  2374. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  2375. type: string
  2376. asname:
  2377. description: 策略名称
  2378. type: string
  2379. asno:
  2380. description: 策略编号
  2381. type: string
  2382. basischangepl:
  2383. description: 基差变动损益[结算更新]
  2384. type: number
  2385. biztype:
  2386. description: 业务类型 - 1:正向套利 -1:反向套利
  2387. type: integer
  2388. closetradedate:
  2389. description: 完结交易日(yyyyMMdd)
  2390. type: string
  2391. curbasis:
  2392. description: 当前基差[结算更新]
  2393. type: number
  2394. deliverygoodsid:
  2395. description: 现货品种ID
  2396. type: integer
  2397. futureavgprice:
  2398. description: 期货建仓均价
  2399. type: number
  2400. futurecloseamount:
  2401. description: 期货平仓金额
  2402. type: number
  2403. futurecloseqty:
  2404. description: 期货平仓数量
  2405. type: number
  2406. futureopenamount:
  2407. description: 期货开仓金额
  2408. type: number
  2409. futureopenqty:
  2410. description: 期货开仓数量
  2411. type: number
  2412. futurepl:
  2413. description: 期货总盈亏[结算更新]
  2414. type: number
  2415. futureqty:
  2416. description: 期货持仓数量
  2417. type: number
  2418. futurequote:
  2419. description: 期货额度
  2420. type: number
  2421. goodsgroupid:
  2422. description: 期货品种ID
  2423. type: integer
  2424. marketid:
  2425. description: 市场ID
  2426. type: integer
  2427. netexposure:
  2428. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  2429. type: number
  2430. netexposurepl:
  2431. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  2432. type: number
  2433. netexposurerate:
  2434. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  2435. type: number
  2436. openbasis:
  2437. description: 建仓基差
  2438. type: number
  2439. pricedspotqty:
  2440. description: 已定价现货数量
  2441. type: number
  2442. pricedspotqtynotax:
  2443. description: 已定价现货不含税数量
  2444. type: number
  2445. remark:
  2446. description: 备注
  2447. type: string
  2448. spotavgprice:
  2449. description: 现货均价
  2450. type: number
  2451. spotbuyamount:
  2452. description: 现货采购金额
  2453. type: number
  2454. spotbuyqty:
  2455. description: 现货采购数量
  2456. type: number
  2457. spotpl:
  2458. description: 现货总盈亏[结算更新]
  2459. type: number
  2460. spotquota:
  2461. description: 现货额度
  2462. type: number
  2463. spotsellamount:
  2464. description: 现货销售金额
  2465. type: number
  2466. spotsellqty:
  2467. description: 现货销售数量
  2468. type: number
  2469. spotusedquota:
  2470. description: 现货占用资金
  2471. type: number
  2472. strategystatus:
  2473. description: 策略状态 - 0:未结束 1:已结束
  2474. type: integer
  2475. totalpl:
  2476. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  2477. type: number
  2478. tradedate:
  2479. description: 交易日(yyyyMMdd)
  2480. type: string
  2481. updatetime:
  2482. description: 更新时间
  2483. type: string
  2484. usedquota:
  2485. description: 已占用资金
  2486. type: number
  2487. userid:
  2488. description: 所属机构
  2489. type: integer
  2490. required:
  2491. - asapplyid
  2492. type: object
  2493. erms2.QueryInnerTradeDetailRsp:
  2494. properties:
  2495. accountid:
  2496. description: 账号ID
  2497. type: integer
  2498. agreeunit:
  2499. description: 合约单位
  2500. type: number
  2501. asapplyid:
  2502. description: 策略申请ID
  2503. type: integer
  2504. asname:
  2505. description: 策略名称
  2506. type: string
  2507. asno:
  2508. description: 策略编号
  2509. type: string
  2510. buyorsell:
  2511. description: 方向 - 0:买 1:卖
  2512. type: integer
  2513. channelbuildtype:
  2514. description: 委托单据类型 0:无 1:建仓 2:平仓
  2515. type: integer
  2516. closetype:
  2517. description: 平仓方式 - 0:无 1:平今 2:平昨
  2518. type: integer
  2519. decimalplace:
  2520. description: 报价小数位
  2521. type: integer
  2522. detailtype:
  2523. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  2524. type: integer
  2525. exexchangecode:
  2526. description: 外部交易所代码
  2527. type: string
  2528. exexchangename:
  2529. description: 外部交易所名称
  2530. type: string
  2531. goodscode:
  2532. description: 商品代码(合约)
  2533. type: string
  2534. goodsgroupid:
  2535. description: 商品组ID(品种ID)
  2536. type: integer
  2537. goodsgroupname:
  2538. description: 商品组名称(品种)
  2539. type: string
  2540. goodsid:
  2541. description: 商品ID
  2542. type: integer
  2543. goodsname:
  2544. description: 商品名称(合约)
  2545. type: string
  2546. goodunit:
  2547. description: 报价单位
  2548. type: string
  2549. marketid:
  2550. description: 市场ID
  2551. type: integer
  2552. orderid:
  2553. description: 委托单号
  2554. type: string
  2555. outgoodscode:
  2556. description: 商品代码(外部)
  2557. type: string
  2558. relatedouttradeid:
  2559. description: 关联外部成交单ID
  2560. type: string
  2561. remark:
  2562. description: 备注
  2563. type: string
  2564. spotcontractid:
  2565. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  2566. type: integer
  2567. spotcontractno:
  2568. description: 现货合同编号
  2569. type: string
  2570. tradeid:
  2571. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2572. type: string
  2573. tradeprice:
  2574. description: 成交价格
  2575. type: number
  2576. tradeqty:
  2577. description: 成交数量
  2578. type: integer
  2579. tradetime:
  2580. description: 成交时间
  2581. type: string
  2582. updatetime:
  2583. description: 更新时间
  2584. type: string
  2585. required:
  2586. - asapplyid
  2587. - buyorsell
  2588. - goodscode
  2589. - goodsgroupid
  2590. - goodsgroupname
  2591. - goodsname
  2592. - tradeid
  2593. type: object
  2594. erms2.QuerySpotContractRsp:
  2595. properties:
  2596. accountid:
  2597. description: 资金账户ID
  2598. type: integer
  2599. areauserid:
  2600. description: 所属机构
  2601. type: integer
  2602. closedate:
  2603. description: 终止日期
  2604. type: string
  2605. closeremark:
  2606. description: 结束备注
  2607. type: string
  2608. closetradedate:
  2609. description: 完结交易日(yyyyMMdd)
  2610. type: string
  2611. closetype:
  2612. description: 终止类型 - 1:违约 2:提前终止
  2613. type: integer
  2614. contractamount:
  2615. description: 合同金额
  2616. type: number
  2617. contractattachment:
  2618. description: 合同附件
  2619. type: string
  2620. contractno:
  2621. description: 现货合同编号
  2622. type: string
  2623. contractqty:
  2624. description: 合同数量(数值) (用于计算)
  2625. type: number
  2626. contractqtychar:
  2627. description: 合同数量\已订价数量 (用于显示)
  2628. type: string
  2629. contractstatus:
  2630. description: 合同状态 - 0:未结束 1:已结束
  2631. type: integer
  2632. contracttype:
  2633. description: 现货合同类型 - 1:采购合同 -1:销售合同
  2634. type: integer
  2635. customeraccountid:
  2636. description: 客户资金账户ID
  2637. type: integer
  2638. customeruserid:
  2639. description: 客户ID
  2640. type: integer
  2641. deliverygoodsdesc:
  2642. description: 品种说明
  2643. type: string
  2644. deliverygoodsid:
  2645. description: 现货品种ID
  2646. type: integer
  2647. handlestatus:
  2648. description: 处理状态
  2649. type: integer
  2650. invoiceatt:
  2651. description: 发票附件
  2652. type: string
  2653. invoicedatetime:
  2654. description: 开收票更新时间
  2655. type: string
  2656. invoiceopentime:
  2657. description: 开票时间
  2658. type: string
  2659. invoiceremark:
  2660. description: 发票备注
  2661. type: string
  2662. invoicestatus:
  2663. description: 开收票状态 - 0:未开票 1:已开票
  2664. type: integer
  2665. lastdate:
  2666. description: 交货时间
  2667. type: string
  2668. marketid:
  2669. description: 市场ID
  2670. type: integer
  2671. paydatetime:
  2672. description: 收付款更新时间
  2673. type: string
  2674. payremark:
  2675. description: 收付款备注
  2676. type: string
  2677. paystatus:
  2678. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  2679. type: integer
  2680. positionqty:
  2681. description: 头寸数量 - 合同数量去小数部分
  2682. type: integer
  2683. producttype:
  2684. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2685. type: integer
  2686. relatedqty:
  2687. description: 已关联数量
  2688. type: number
  2689. relatedstatus:
  2690. description: 关联完结状态 - 0:未结束 1:已结束
  2691. type: integer
  2692. remark:
  2693. description: 备注
  2694. type: string
  2695. signdate:
  2696. description: 签订日期
  2697. type: string
  2698. spotcontractid:
  2699. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  2700. type: string
  2701. spotdatetime:
  2702. description: 收发货更新时间
  2703. type: string
  2704. spotprice:
  2705. description: 价格
  2706. type: number
  2707. spotremark:
  2708. description: 收发货备注
  2709. type: string
  2710. spotstatus:
  2711. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  2712. type: integer
  2713. tradedate:
  2714. description: 交易日(yyyyMMdd)
  2715. type: string
  2716. userid:
  2717. description: 业务员用户ID
  2718. type: integer
  2719. warehouseid:
  2720. description: 仓库ID
  2721. type: integer
  2722. wrfactortypeid:
  2723. description: 仓单要素类型ID
  2724. type: integer
  2725. wrstandardid:
  2726. description: 仓单标准ID(SEQ_WRSTANDARD)
  2727. type: integer
  2728. required:
  2729. - spotcontractid
  2730. type: object
  2731. erms3.AddErms2ASApplyReq:
  2732. properties:
  2733. applybasis:
  2734. description: 申请基差
  2735. type: number
  2736. applystatus:
  2737. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2738. type: integer
  2739. asapplyid:
  2740. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  2741. type: integer
  2742. asname:
  2743. description: 策略名称
  2744. type: string
  2745. asno:
  2746. description: 策略编号
  2747. type: string
  2748. auditid:
  2749. description: 审核人
  2750. type: integer
  2751. auditremark:
  2752. description: 审核备注
  2753. type: string
  2754. audittime:
  2755. description: 审核时间
  2756. type: string
  2757. biztype:
  2758. description: 业务类型 - 1:正向套利 2:反向套利
  2759. type: integer
  2760. createtime:
  2761. description: 创建时间
  2762. type: string
  2763. creatorid:
  2764. description: 创建人
  2765. type: integer
  2766. deliverygoodsid:
  2767. description: 现货品种ID
  2768. type: integer
  2769. futurequote:
  2770. description: 期货额度
  2771. type: number
  2772. goodsgroupid:
  2773. description: 期货品种ID
  2774. type: integer
  2775. marketid:
  2776. description: 市场ID
  2777. type: integer
  2778. remark:
  2779. description: 备注
  2780. type: string
  2781. spotquota:
  2782. description: 现货额度
  2783. type: number
  2784. tradedate:
  2785. description: 交易日(yyyyMMdd)
  2786. type: string
  2787. userid:
  2788. description: 所属机构
  2789. type: integer
  2790. required:
  2791. - asapplyid
  2792. type: object
  2793. erms3.AddErms2SpotTradeApplyReq:
  2794. properties:
  2795. applyjsondetail:
  2796. description: 申请明细(JSON)
  2797. type: string
  2798. applystatus:
  2799. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2800. type: integer
  2801. areauserid:
  2802. description: 所属机构
  2803. type: integer
  2804. auditid:
  2805. description: 审核人
  2806. type: integer
  2807. auditremark:
  2808. description: 审核备注
  2809. type: string
  2810. audittime:
  2811. description: 审核时间
  2812. type: string
  2813. createtime:
  2814. description: 创建时间
  2815. type: string
  2816. creatorid:
  2817. description: 创建人
  2818. type: integer
  2819. deliverygoodsid:
  2820. description: 现货品种ID
  2821. type: integer
  2822. futureaccountid:
  2823. description: 期货资金账户
  2824. type: integer
  2825. goodsgroupid:
  2826. description: 期货品种
  2827. type: integer
  2828. marketid:
  2829. description: 市场ID
  2830. type: integer
  2831. remark:
  2832. description: 备注
  2833. type: string
  2834. spotaccountid:
  2835. description: 现货资金账户
  2836. type: integer
  2837. spottradeid:
  2838. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  2839. type: integer
  2840. spottradename:
  2841. description: 业务名称
  2842. type: string
  2843. spottradeno:
  2844. description: 业务编号
  2845. type: string
  2846. tradedate:
  2847. description: 交易日(yyyyMMdd)
  2848. type: string
  2849. wrstandardid:
  2850. description: 仓单标准ID
  2851. type: integer
  2852. required:
  2853. - spottradeid
  2854. type: object
  2855. erms3.AddSpotContractApplyReq:
  2856. properties:
  2857. accountid:
  2858. description: 资金账户ID
  2859. type: integer
  2860. areauserid:
  2861. description: 所属机构
  2862. type: integer
  2863. contractattachment:
  2864. description: 合同附件
  2865. type: string
  2866. contractno:
  2867. description: 现货合同编号
  2868. type: string
  2869. contracttype:
  2870. description: 现货合同类型 - 1:采购 -1:销售
  2871. type: integer
  2872. creatorid:
  2873. description: 申请人
  2874. type: integer
  2875. customeraccountid:
  2876. description: 客户资金账户ID
  2877. type: integer
  2878. customeruserid:
  2879. description: 客户ID
  2880. type: integer
  2881. details:
  2882. description: 明细
  2883. items:
  2884. $ref: '#/definitions/erms3.SoptContractDetail'
  2885. type: array
  2886. orimargin:
  2887. description: 初始保证金
  2888. type: number
  2889. remark:
  2890. description: 备注
  2891. type: string
  2892. signdate:
  2893. description: 签订日期
  2894. type: string
  2895. required:
  2896. - accountid
  2897. - areauserid
  2898. - contractno
  2899. - contracttype
  2900. - customeraccountid
  2901. - customeruserid
  2902. - details
  2903. - orimargin
  2904. - signdate
  2905. type: object
  2906. erms3.AddSpotContractApplyRsp:
  2907. properties:
  2908. contractno:
  2909. description: 现货合同编号
  2910. type: string
  2911. spotcontractid:
  2912. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2913. type: integer
  2914. required:
  2915. - contractno
  2916. type: object
  2917. erms3.AddUserInfoApplyReq:
  2918. properties:
  2919. accountid:
  2920. description: 交易系统帐号Id (加密存储)
  2921. type: integer
  2922. areacode:
  2923. description: 机构代码
  2924. type: string
  2925. areaid:
  2926. description: 机构Id
  2927. type: integer
  2928. attachment1:
  2929. description: 附件1
  2930. type: string
  2931. attachment2:
  2932. description: 附件2
  2933. type: string
  2934. attachment3:
  2935. description: 附件3
  2936. type: string
  2937. attachment4:
  2938. description: 附件4
  2939. type: string
  2940. attachment5:
  2941. description: 附件5
  2942. type: string
  2943. auditedby:
  2944. description: 审核人
  2945. type: string
  2946. auditime:
  2947. description: 审核时间
  2948. type: string
  2949. auditsrc:
  2950. description: 审核来源 - 1:管理端 2:终端
  2951. type: integer
  2952. bankaccount:
  2953. description: 银行帐号 (加密存储)
  2954. type: string
  2955. bankaccountname:
  2956. description: 收款人名称
  2957. type: string
  2958. bankcardbackphotourl:
  2959. description: 银行卡背面照地址
  2960. type: string
  2961. bankcardfrontphotourl:
  2962. description: 银行卡正面照地址
  2963. type: string
  2964. bankid:
  2965. description: 银行编码
  2966. type: string
  2967. bankname:
  2968. description: 银行名称
  2969. type: string
  2970. bankpictureurl:
  2971. description: 银行卡正面地址
  2972. type: string
  2973. biznature:
  2974. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2975. type: integer
  2976. bizscope:
  2977. description: 企业经营范围(企业)
  2978. type: string
  2979. biztype:
  2980. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2981. type: integer
  2982. brokerid:
  2983. description: 经纪人ID(加密存储)
  2984. type: string
  2985. cardaddress:
  2986. description: 证件地址 (加密存储)
  2987. type: string
  2988. cardbackphotourl:
  2989. description: 背面证件照地址
  2990. type: string
  2991. cardfrontphotourl:
  2992. description: 正面证件照地址
  2993. type: string
  2994. cardnum:
  2995. description: 证件号码 (加密存储)
  2996. type: string
  2997. cardtype:
  2998. description: 证件类型
  2999. type: integer
  3000. cityid:
  3001. description: 市
  3002. type: integer
  3003. company:
  3004. description: 公司(个人)
  3005. type: string
  3006. contactcardbackphotourl:
  3007. description: 联系人证件背面图片地址
  3008. type: string
  3009. contactcardfrontphotourl:
  3010. description: 联系人证件正面图片地址
  3011. type: string
  3012. contactname:
  3013. description: 联系人
  3014. type: string
  3015. countryid:
  3016. description: 国家
  3017. type: integer
  3018. createtime:
  3019. description: 开户申请时间
  3020. type: string
  3021. cusbankid:
  3022. description: 签约类型
  3023. type: string
  3024. cusbankname:
  3025. description: 签约类型名称
  3026. type: string
  3027. customername:
  3028. description: 客户名称(企业名称)
  3029. type: string
  3030. districtid:
  3031. description: 地区
  3032. type: integer
  3033. email:
  3034. description: Email地址(加密存储)
  3035. type: string
  3036. halfbodyphotourl:
  3037. description: 半身照地址
  3038. type: string
  3039. headurl:
  3040. description: 头像地址
  3041. type: string
  3042. ipaddress:
  3043. description: IP地址
  3044. type: string
  3045. isvalidate:
  3046. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3047. type: string
  3048. legalcardbackphotourl:
  3049. description: 法人身份证背面照地址
  3050. type: string
  3051. legalcardfrontphotourl:
  3052. description: 法人身份证正面照地址
  3053. type: string
  3054. legalpersonname:
  3055. description: 法人姓名(企业)
  3056. type: string
  3057. logincode:
  3058. description: 登录帐号 (加密存储)
  3059. type: string
  3060. memberareaid:
  3061. description: 所属会员ID
  3062. type: integer
  3063. mobile2:
  3064. description: 手机号码[明文-尚志]
  3065. type: string
  3066. mobilephone:
  3067. description: 手机号码 (加密存储)
  3068. type: string
  3069. modifiedby:
  3070. description: 修改人帐号
  3071. type: integer
  3072. modifiedtime:
  3073. description: 修改时间
  3074. type: string
  3075. nickname:
  3076. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3077. type: string
  3078. openmode:
  3079. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3080. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3081. type: integer
  3082. otherurl:
  3083. description: 其它图片地址[使用分号分隔]
  3084. type: string
  3085. postalcode:
  3086. description: 邮政编码
  3087. type: string
  3088. provinceid:
  3089. description: 省
  3090. type: integer
  3091. proxystatementurl:
  3092. description: 授权委托书
  3093. type: string
  3094. qq:
  3095. description: QQ(加密存储
  3096. type: string
  3097. referral:
  3098. description: 推荐人编码
  3099. type: string
  3100. remark:
  3101. description: 备注
  3102. type: string
  3103. removebeforestatus:
  3104. description: REMOVEBEFORESTATUS
  3105. type: integer
  3106. sex:
  3107. description: 性别 - 0:女 1:男
  3108. type: integer
  3109. signedstatus:
  3110. description: 账户一号签签约状态
  3111. type: integer
  3112. signpdfurl:
  3113. description: 签约pdf文件
  3114. type: string
  3115. subbranch:
  3116. description: 开户支行
  3117. type: string
  3118. taxpayernum:
  3119. description: 纳税人识别号
  3120. type: string
  3121. telphone:
  3122. description: 联系电话(加密存储)
  3123. type: string
  3124. userid:
  3125. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3126. type: integer
  3127. userinfotype:
  3128. description: 用户信息类型 - 1:个人 2:企业
  3129. type: integer
  3130. username:
  3131. description: 用户姓名
  3132. type: string
  3133. userstate:
  3134. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3135. type: integer
  3136. usertype:
  3137. description: 用户类型 - 1:投资者 2:机构
  3138. type: integer
  3139. videourl:
  3140. description: 视频地址
  3141. type: string
  3142. wechat:
  3143. description: 微信号 (加密存储)
  3144. type: string
  3145. required:
  3146. - userid
  3147. type: object
  3148. erms3.CustomerInfo:
  3149. properties:
  3150. accountids:
  3151. description: 资金账户ID列表
  3152. items:
  3153. type: integer
  3154. type: array
  3155. customername:
  3156. description: 名称(企业名称)
  3157. type: string
  3158. mobile:
  3159. description: 手机号码
  3160. type: string
  3161. userid:
  3162. description: 用户ID
  3163. type: integer
  3164. required:
  3165. - userid
  3166. type: object
  3167. erms3.ModifyUserInfoApplyReq:
  3168. properties:
  3169. accountid:
  3170. description: 交易系统帐号Id (加密存储)
  3171. type: integer
  3172. areacode:
  3173. description: 机构代码
  3174. type: string
  3175. areaid:
  3176. description: 机构Id
  3177. type: integer
  3178. attachment1:
  3179. description: 附件1
  3180. type: string
  3181. attachment2:
  3182. description: 附件2
  3183. type: string
  3184. attachment3:
  3185. description: 附件3
  3186. type: string
  3187. attachment4:
  3188. description: 附件4
  3189. type: string
  3190. attachment5:
  3191. description: 附件5
  3192. type: string
  3193. auditedby:
  3194. description: 审核人
  3195. type: string
  3196. auditime:
  3197. description: 审核时间
  3198. type: string
  3199. auditsrc:
  3200. description: 审核来源 - 1:管理端 2:终端
  3201. type: integer
  3202. bankaccount:
  3203. description: 银行帐号 (加密存储)
  3204. type: string
  3205. bankaccountname:
  3206. description: 收款人名称
  3207. type: string
  3208. bankcardbackphotourl:
  3209. description: 银行卡背面照地址
  3210. type: string
  3211. bankcardfrontphotourl:
  3212. description: 银行卡正面照地址
  3213. type: string
  3214. bankid:
  3215. description: 银行编码
  3216. type: string
  3217. bankname:
  3218. description: 银行名称
  3219. type: string
  3220. bankpictureurl:
  3221. description: 银行卡正面地址
  3222. type: string
  3223. biznature:
  3224. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3225. type: integer
  3226. bizscope:
  3227. description: 企业经营范围(企业)
  3228. type: string
  3229. biztype:
  3230. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  3231. type: integer
  3232. brokerid:
  3233. description: 经纪人ID(加密存储)
  3234. type: string
  3235. cardaddress:
  3236. description: 证件地址 (加密存储)
  3237. type: string
  3238. cardbackphotourl:
  3239. description: 背面证件照地址
  3240. type: string
  3241. cardfrontphotourl:
  3242. description: 正面证件照地址
  3243. type: string
  3244. cardnum:
  3245. description: 证件号码 (加密存储)
  3246. type: string
  3247. cardtype:
  3248. description: 证件类型
  3249. type: integer
  3250. cityid:
  3251. description: 市
  3252. type: integer
  3253. company:
  3254. description: 公司(个人)
  3255. type: string
  3256. contactcardbackphotourl:
  3257. description: 联系人证件背面图片地址
  3258. type: string
  3259. contactcardfrontphotourl:
  3260. description: 联系人证件正面图片地址
  3261. type: string
  3262. contactname:
  3263. description: 联系人
  3264. type: string
  3265. countryid:
  3266. description: 国家
  3267. type: integer
  3268. createtime:
  3269. description: 开户申请时间
  3270. type: string
  3271. cusbankid:
  3272. description: 签约类型
  3273. type: string
  3274. cusbankname:
  3275. description: 签约类型名称
  3276. type: string
  3277. customername:
  3278. description: 客户名称(企业名称)
  3279. type: string
  3280. districtid:
  3281. description: 地区
  3282. type: integer
  3283. email:
  3284. description: Email地址(加密存储)
  3285. type: string
  3286. halfbodyphotourl:
  3287. description: 半身照地址
  3288. type: string
  3289. headurl:
  3290. description: 头像地址
  3291. type: string
  3292. ipaddress:
  3293. description: IP地址
  3294. type: string
  3295. isvalidate:
  3296. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3297. type: string
  3298. legalcardbackphotourl:
  3299. description: 法人身份证背面照地址
  3300. type: string
  3301. legalcardfrontphotourl:
  3302. description: 法人身份证正面照地址
  3303. type: string
  3304. legalpersonname:
  3305. description: 法人姓名(企业)
  3306. type: string
  3307. logincode:
  3308. description: 登录帐号 (加密存储)
  3309. type: string
  3310. memberareaid:
  3311. description: 所属会员ID
  3312. type: integer
  3313. mobile2:
  3314. description: 手机号码[明文-尚志]
  3315. type: string
  3316. mobilephone:
  3317. description: 手机号码 (加密存储)
  3318. type: string
  3319. modifiedby:
  3320. description: 修改人帐号
  3321. type: integer
  3322. modifiedtime:
  3323. description: 修改时间
  3324. type: string
  3325. nickname:
  3326. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3327. type: string
  3328. openmode:
  3329. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3330. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3331. type: integer
  3332. otherurl:
  3333. description: 其它图片地址[使用分号分隔]
  3334. type: string
  3335. postalcode:
  3336. description: 邮政编码
  3337. type: string
  3338. provinceid:
  3339. description: 省
  3340. type: integer
  3341. proxystatementurl:
  3342. description: 授权委托书
  3343. type: string
  3344. qq:
  3345. description: QQ(加密存储
  3346. type: string
  3347. referral:
  3348. description: 推荐人编码
  3349. type: string
  3350. remark:
  3351. description: 备注
  3352. type: string
  3353. removebeforestatus:
  3354. description: REMOVEBEFORESTATUS
  3355. type: integer
  3356. sex:
  3357. description: 性别 - 0:女 1:男
  3358. type: integer
  3359. signedstatus:
  3360. description: 账户一号签签约状态
  3361. type: integer
  3362. signpdfurl:
  3363. description: 签约pdf文件
  3364. type: string
  3365. subbranch:
  3366. description: 开户支行
  3367. type: string
  3368. taxpayernum:
  3369. description: 纳税人识别号
  3370. type: string
  3371. telphone:
  3372. description: 联系电话(加密存储)
  3373. type: string
  3374. userid:
  3375. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3376. type: integer
  3377. userinfotype:
  3378. description: 用户信息类型 - 1:个人 2:企业
  3379. type: integer
  3380. username:
  3381. description: 用户姓名
  3382. type: string
  3383. userstate:
  3384. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3385. type: integer
  3386. usertype:
  3387. description: 用户类型 - 1:投资者 2:机构
  3388. type: integer
  3389. videourl:
  3390. description: 视频地址
  3391. type: string
  3392. wechat:
  3393. description: 微信号 (加密存储)
  3394. type: string
  3395. required:
  3396. - userid
  3397. type: object
  3398. erms3.QryAuditContractRsp:
  3399. properties:
  3400. accountid:
  3401. description: 交易员ID
  3402. type: string
  3403. applystatus:
  3404. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3405. type: integer
  3406. curdeliveryqty:
  3407. description: 未交收量
  3408. type: integer
  3409. customername:
  3410. description: 采购方ID
  3411. type: string
  3412. deliverygoodsid:
  3413. description: 品种ID
  3414. type: string
  3415. deliveryqty:
  3416. description: 交收量
  3417. type: integer
  3418. enumdicname:
  3419. description: 单位名称
  3420. type: string
  3421. matchaccountid:
  3422. description: 业务员ID
  3423. type: string
  3424. matchcustomername:
  3425. description: 销售方ID
  3426. type: string
  3427. pricedqty:
  3428. description: 定价量
  3429. type: number
  3430. signdate:
  3431. description: 签订日期
  3432. type: string
  3433. spotcontractid:
  3434. description: 合同ID
  3435. type: string
  3436. totaldqty:
  3437. description: 合同量
  3438. type: number
  3439. unpricedqty:
  3440. description: 未定价量
  3441. type: number
  3442. wrstandardname:
  3443. description: 商品名称
  3444. type: string
  3445. required:
  3446. - matchcustomername
  3447. - spotcontractid
  3448. type: object
  3449. erms3.QryPendingBizRsp:
  3450. properties:
  3451. accountid:
  3452. description: 现货账户
  3453. type: string
  3454. areaname:
  3455. description: 所属部门
  3456. type: string
  3457. bizid:
  3458. description: 业务ID
  3459. type: string
  3460. bizname:
  3461. description: 业务名称
  3462. type: string
  3463. status:
  3464. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3465. type: integer
  3466. type:
  3467. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  3468. type: integer
  3469. type: object
  3470. erms3.QueryBusinessInfoRsp:
  3471. properties:
  3472. businessid:
  3473. description: 业务ID.
  3474. type: integer
  3475. buyamount:
  3476. description: 采购额.
  3477. type: number
  3478. buyqty:
  3479. description: 采购量.
  3480. type: string
  3481. futurepl:
  3482. description: 期货盈亏.
  3483. type: number
  3484. futureqty:
  3485. description: 期货敞口.
  3486. type: string
  3487. goodsid:
  3488. description: 商品名称/商品代码.
  3489. type: string
  3490. hedgingqty:
  3491. description: 套保量.
  3492. type: string
  3493. sellamount:
  3494. description: 销售额.
  3495. type: number
  3496. sellqty:
  3497. description: 销售量.
  3498. type: string
  3499. spotmarketvalue:
  3500. description: 现货市值.
  3501. type: number
  3502. spotpl:
  3503. description: 浮动权益.
  3504. type: number
  3505. spotqty:
  3506. description: 现货量.
  3507. type: string
  3508. statu:
  3509. description: 状态,0-未结束 1-已结束.
  3510. type: integer
  3511. totalpl:
  3512. description: 总盈亏.
  3513. type: number
  3514. totalqty:
  3515. description: 总敞口.
  3516. type: string
  3517. type:
  3518. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  3519. type: integer
  3520. type: object
  3521. erms3.QuerySpotContractAppleFormRsp:
  3522. properties:
  3523. goodses:
  3524. description: 合约列表
  3525. items:
  3526. $ref: '#/definitions/models.GoodsIDAndName'
  3527. type: array
  3528. oppositeusers:
  3529. description: 对方账号列表
  3530. items:
  3531. $ref: '#/definitions/erms3.CustomerInfo'
  3532. type: array
  3533. ouruser:
  3534. $ref: '#/definitions/erms3.CustomerInfo'
  3535. description: 我方账号
  3536. warehouseinfos:
  3537. description: 仓库信息列表
  3538. items:
  3539. $ref: '#/definitions/models.Warehouseinfo'
  3540. type: array
  3541. wrstandards:
  3542. description: 仓单标准列表
  3543. items:
  3544. $ref: '#/definitions/models.WRStandardInfo'
  3545. type: array
  3546. type: object
  3547. erms3.QuerySpotContractInfoRsp:
  3548. properties:
  3549. accountid:
  3550. description: 表示交易员ID.
  3551. type: integer
  3552. curdeliveryqty:
  3553. description: 表示未交收量.
  3554. type: number
  3555. customername:
  3556. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  3557. type: string
  3558. deliverygoodsid:
  3559. description: 表示品种ID.
  3560. type: string
  3561. deliveryqty:
  3562. description: 表示交收量.
  3563. type: number
  3564. matchaccountid:
  3565. description: 表示业务员ID.
  3566. type: integer
  3567. matchcustomername:
  3568. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  3569. type: string
  3570. priceqty:
  3571. description: 表示定价量.
  3572. type: number
  3573. relatedbizid:
  3574. description: 表示业务ID.
  3575. type: string
  3576. signdate:
  3577. description: 表示签订日期.
  3578. type: string
  3579. spotcontractid:
  3580. description: 合同ID
  3581. type: string
  3582. status:
  3583. description: 表示状态,0-履约中 1-已完成.
  3584. type: integer
  3585. totalqty:
  3586. description: 表示合同量.
  3587. type: number
  3588. unpricedqty:
  3589. description: 表示未定价量.
  3590. type: number
  3591. wrstandardname:
  3592. description: 表示商品ID.
  3593. type: string
  3594. type: object
  3595. erms3.QueryUserInfoAppliesRsp:
  3596. properties:
  3597. biznature:
  3598. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3599. type: integer
  3600. contactname:
  3601. description: 联系人
  3602. type: string
  3603. createtime:
  3604. description: 开户申请时间
  3605. type: string
  3606. userid:
  3607. description: 用户ID(自增ID)
  3608. type: integer
  3609. userinfotype:
  3610. description: 用户信息类型 - 1:个人 2:企业
  3611. type: integer
  3612. username:
  3613. description: 用户姓名
  3614. type: string
  3615. userstate:
  3616. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3617. type: integer
  3618. required:
  3619. - userid
  3620. type: object
  3621. erms3.QueryUserInfosRsp:
  3622. properties:
  3623. biznature:
  3624. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3625. type: integer
  3626. contactname:
  3627. description: 联系人
  3628. type: string
  3629. customername:
  3630. description: 客户名称(企业名称)
  3631. type: string
  3632. userid:
  3633. description: 用户ID
  3634. type: integer
  3635. userinfotype:
  3636. description: 用户信息类型 - 1:个人 2:企业
  3637. type: integer
  3638. userstatus:
  3639. description: 用户状态 - 1:正常 2:注销
  3640. type: integer
  3641. required:
  3642. - userid
  3643. type: object
  3644. erms3.SoptContractDetail:
  3645. properties:
  3646. deliverygoodsdesc:
  3647. description: 现货品种说明
  3648. type: string
  3649. deliverygoodsid:
  3650. description: 现货品种ID
  3651. type: integer
  3652. deliverygoodsname:
  3653. description: 现货品种名称
  3654. type: string
  3655. pointdesc:
  3656. description: 点价描述
  3657. type: string
  3658. producttype:
  3659. description: 产品类型 1:标准仓单 2:等标 3:非标
  3660. type: integer
  3661. producttypename:
  3662. description: 产品类型名称
  3663. type: string
  3664. spotPointOrderVoList:
  3665. description: 点价列表
  3666. items:
  3667. $ref: '#/definitions/erms3.SpotPointOrder'
  3668. type: array
  3669. spotPriceOrderList:
  3670. description: 定价列表
  3671. items:
  3672. $ref: '#/definitions/erms3.SpotPriceOrder'
  3673. type: array
  3674. unitname:
  3675. description: 单位名称
  3676. type: string
  3677. warehouseid:
  3678. description: 仓库ID
  3679. type: integer
  3680. warehousename:
  3681. description: 仓库名称
  3682. type: string
  3683. wrstandardid:
  3684. description: 交易标的ID
  3685. type: integer
  3686. wrstandardname:
  3687. description: 交易标的名称
  3688. type: string
  3689. required:
  3690. - deliverygoodsid
  3691. - producttype
  3692. - unitname
  3693. - warehouseid
  3694. - wrstandardid
  3695. - wrstandardname
  3696. type: object
  3697. erms3.SpotPointOrder:
  3698. properties:
  3699. basic:
  3700. description: 基差
  3701. type: number
  3702. deliveryenddate:
  3703. description: 交收结束日期
  3704. type: string
  3705. deliverystartdate:
  3706. description: 交收开始日期
  3707. type: string
  3708. enddate:
  3709. description: 点价结束日期
  3710. type: string
  3711. goodsid:
  3712. description: 商品ID
  3713. type: integer
  3714. goodsname:
  3715. description: 商品名称
  3716. type: string
  3717. qty:
  3718. description: 数量
  3719. type: number
  3720. startdate:
  3721. description: 点价开始日期
  3722. type: string
  3723. required:
  3724. - basic
  3725. - goodsid
  3726. - qty
  3727. type: object
  3728. erms3.SpotPriceOrder:
  3729. properties:
  3730. amount:
  3731. description: 金额
  3732. type: number
  3733. deliveryenddate:
  3734. description: 交收结束日期
  3735. type: string
  3736. deliverystartdate:
  3737. description: 交收开始日期
  3738. type: string
  3739. price:
  3740. description: 价格
  3741. type: number
  3742. qty:
  3743. description: 数量
  3744. type: number
  3745. required:
  3746. - amount
  3747. - price
  3748. - qty
  3749. type: object
  3750. hsby.GetHsbyMyCountRsp:
  3751. properties:
  3752. myCouponCount:
  3753. description: 我的优惠卷数量
  3754. type: integer
  3755. myOrderDetailListingCount:
  3756. description: 我的订单求购中数量
  3757. type: integer
  3758. myOrderDetailPreCount:
  3759. description: 我的订单抢购中数量
  3760. type: integer
  3761. myPackageUnReceiveCount:
  3762. description: 我的包裹待收货数量
  3763. type: integer
  3764. myPackageUnSendCount:
  3765. description: 我的包裹待发货数量
  3766. type: integer
  3767. myPayOrderCount:
  3768. description: 我的订单待付款数量
  3769. type: integer
  3770. type: object
  3771. hsby.QueryProvincesAndCitiesRsp:
  3772. properties:
  3773. cities:
  3774. description: 市
  3775. items:
  3776. $ref: '#/definitions/models.Division'
  3777. type: array
  3778. province:
  3779. $ref: '#/definitions/models.Division'
  3780. description: 省
  3781. type: object
  3782. models.Arearole:
  3783. properties:
  3784. createtime:
  3785. description: 创建时间
  3786. type: string
  3787. creatorid:
  3788. description: 创建人ID
  3789. type: integer
  3790. fromuserid:
  3791. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  3792. type: integer
  3793. isreturnscore:
  3794. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  3795. type: integer
  3796. modifierid:
  3797. description: 修改人ID
  3798. type: integer
  3799. modifytime:
  3800. description: 修改时间
  3801. type: string
  3802. orgtype:
  3803. description: 组织机构类型 1:机构\分支节点 2:交易员\叶子节点 3:部门\分支节点
  3804. type: integer
  3805. outuserid:
  3806. description: 外部账户[场外期权做市商]
  3807. type: string
  3808. parentuserid:
  3809. description: 上级组织机构(组织机构)
  3810. type: integer
  3811. roletype:
  3812. description: 角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员
  3813. 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构
  3814. 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员 25:客户 98:代理 99:门店
  3815. type: integer
  3816. rootuserid:
  3817. description: 顶级组织机构用户ID(组织机构)
  3818. type: integer
  3819. shoppassword:
  3820. description: 商城店铺登陆密码(商城店铺角色使用)
  3821. type: string
  3822. sublevelpath:
  3823. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  3824. type: string
  3825. suborgtype:
  3826. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  3827. type: integer
  3828. tradeaccountid:
  3829. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  3830. type: integer
  3831. transurl:
  3832. description: 物流地址(物流机构)
  3833. type: string
  3834. userid:
  3835. description: 机构用户ID其他做市关系,都设置为 1
  3836. type: integer
  3837. required:
  3838. - roletype
  3839. - userid
  3840. type: object
  3841. models.Clientfixedadconfig:
  3842. properties:
  3843. adsort:
  3844. description: 排序
  3845. type: integer
  3846. adtype:
  3847. description: 广告位类型 - 1:新品抢购(HSBY)
  3848. type: integer
  3849. areauserid:
  3850. description: 所属机构ID
  3851. type: integer
  3852. createdate:
  3853. description: 创建时间
  3854. type: string
  3855. creatorid:
  3856. description: 创建人
  3857. type: integer
  3858. imagepath:
  3859. description: 图片
  3860. type: string
  3861. isshow:
  3862. description: 是否展示 - 0:不展示 1:展示
  3863. type: integer
  3864. modifierid:
  3865. description: 操作人
  3866. type: integer
  3867. recsize:
  3868. description: 推荐尺寸
  3869. type: string
  3870. title:
  3871. description: 标题
  3872. type: string
  3873. updatedate:
  3874. description: 更新时间
  3875. type: string
  3876. urlcontent:
  3877. description: 链接(地址或商品ID)
  3878. type: string
  3879. urltype:
  3880. description: 链接类型 - 1:直接地址 2:商品ID
  3881. type: integer
  3882. required:
  3883. - adsort
  3884. - adtype
  3885. type: object
  3886. models.DgFactoryItem:
  3887. properties:
  3888. dgfactoryitemid:
  3889. description: 选择项ID(SEQ_DGFACTORYITEM)
  3890. type: integer
  3891. dgfactoryitemtypeid:
  3892. description: 要素项类型
  3893. type: integer
  3894. dgfactoryitemvalue:
  3895. description: 要素项值(类型为仓库时填写仓库名称)
  3896. type: string
  3897. orderindex:
  3898. description: 顺序
  3899. type: integer
  3900. type: object
  3901. models.Division:
  3902. properties:
  3903. autoid:
  3904. description: 自增ID
  3905. type: integer
  3906. divisioncode:
  3907. description: 行政代码
  3908. type: string
  3909. divisionlevel:
  3910. description: 行政级别
  3911. type: string
  3912. divisionname:
  3913. description: 行政名称
  3914. type: string
  3915. modifierid:
  3916. description: 修改人
  3917. type: integer
  3918. modifytime:
  3919. description: 修改时间
  3920. type: string
  3921. parentcode:
  3922. description: 上级行政代码
  3923. type: string
  3924. pathname:
  3925. description: 路径名称
  3926. type: string
  3927. postcode:
  3928. description: 邮政编码
  3929. type: string
  3930. separablename:
  3931. description: 可拆分的全称
  3932. type: string
  3933. shortcode:
  3934. description: 地区简码
  3935. type: string
  3936. required:
  3937. - autoid
  3938. - divisioncode
  3939. type: object
  3940. models.Enumdicitem:
  3941. properties:
  3942. autoid:
  3943. description: 自增ID
  3944. type: integer
  3945. bankmappedvalue:
  3946. description: 银行服务对应值
  3947. type: string
  3948. enumdiccode:
  3949. description: 所属枚举代码
  3950. type: string
  3951. enumdicid:
  3952. description: 所属枚举ID
  3953. type: integer
  3954. enumdicname:
  3955. description: 枚举项名称
  3956. type: string
  3957. enumitemname:
  3958. description: 枚举项值
  3959. type: integer
  3960. enumitemstatus:
  3961. description: 枚举项状态 - 1.启用 2.不启用
  3962. type: integer
  3963. enumitemvalue:
  3964. description: 通用值 - [币种通用简写]
  3965. type: string
  3966. param1:
  3967. description: 参数1[币种:币种小数位]
  3968. type: string
  3969. param2:
  3970. description: 参数1[币种:币种显示单位]
  3971. type: string
  3972. remark:
  3973. description: 备注
  3974. type: string
  3975. required:
  3976. - autoid
  3977. - enumdiccode
  3978. - enumdicid
  3979. - enumitemname
  3980. type: object
  3981. models.Ermcp2AreaExposure:
  3982. properties:
  3983. areauserid:
  3984. description: 所属机构
  3985. type: integer
  3986. enumdicname:
  3987. description: 单位
  3988. type: string
  3989. futureqty:
  3990. description: 期货套期量
  3991. type: number
  3992. futureqtychange:
  3993. description: 期货变动量 = FutureQty - OriFutureQty
  3994. type: number
  3995. goodsunitid:
  3996. description: 单位ID
  3997. type: integer
  3998. hedgedspotexposure:
  3999. description: 被套期现货敞口量
  4000. type: number
  4001. hedgedspratio:
  4002. description: 套期期现比例 = 期货套期量/被套期现货敞口量
  4003. type: number
  4004. hedgedtotalexposourechange:
  4005. description: 被套期敞口变动量 = HedgedTotalExposure - OriHedgedTotalExposure
  4006. type: number
  4007. hedgedtotalexposure:
  4008. description: 套期敞口量 = 被套期现货敞口量+期货套期量
  4009. type: number
  4010. hedgeplanqty:
  4011. description: 套期计划量
  4012. type: number
  4013. hedgeplanqtychange:
  4014. description: 计划变动量 = HedgePlanQty - OriHedgePlanQty
  4015. type: number
  4016. hedgespotqty:
  4017. description: 被套期现货量
  4018. type: number
  4019. middlegoodsid:
  4020. description: 套保品种
  4021. type: integer
  4022. middlegoodsname:
  4023. description: 套保品种名称
  4024. type: string
  4025. orifutureqty:
  4026. description: 期初期货套期量
  4027. type: number
  4028. orihedgedspotexposure:
  4029. description: 期初被套期现货敞口量
  4030. type: number
  4031. orihedgedtotalexposure:
  4032. description: 期初套期敞口量
  4033. type: number
  4034. orihedgeplanqty:
  4035. description: 期初套期计划量
  4036. type: number
  4037. orihedgespotqty:
  4038. description: 期初被套期现货量
  4039. type: number
  4040. orispotexposure:
  4041. description: 期初现货敞口量
  4042. type: number
  4043. orispotqty:
  4044. description: 期初现货总量
  4045. type: number
  4046. oritotalexposure:
  4047. description: 期初总敞口量
  4048. type: number
  4049. spotexposure:
  4050. description: 现货敞口量
  4051. type: number
  4052. spotqty:
  4053. description: 现货总量
  4054. type: number
  4055. spotqtychange:
  4056. description: 现货变动量 = SpotQty - OriSpotQty
  4057. type: number
  4058. spratio:
  4059. description: 总期现比例 = 期货套期量/现货敞口量
  4060. type: number
  4061. totalexposure:
  4062. description: 总敞口量 = 现货敞口量 + 期货套期量
  4063. type: number
  4064. totalexposurechange:
  4065. description: 总敞口变动量 = TotalExposure - OriTotalExposure
  4066. type: number
  4067. updatetime:
  4068. description: 更新时间 --DATE
  4069. type: string
  4070. type: object
  4071. models.Ermcp2hedgeditem:
  4072. properties:
  4073. accountname:
  4074. description: 套期主体
  4075. type: string
  4076. applyid:
  4077. description: 申请人
  4078. type: integer
  4079. applysrc:
  4080. description: 申请来源 - 1:管理端 2:终端
  4081. type: integer
  4082. areauserid:
  4083. description: 企业ID
  4084. type: integer
  4085. auditid:
  4086. description: 审核人
  4087. type: integer
  4088. auditremark:
  4089. description: 审核备注
  4090. type: string
  4091. auditsrc:
  4092. description: 审核来源 - 1:管理端 2:终端
  4093. type: integer
  4094. audittime:
  4095. description: 审核时间
  4096. type: string
  4097. audittradedate:
  4098. description: 审核交易日(yyyyMMdd)
  4099. type: string
  4100. createtime:
  4101. description: 申请时间
  4102. type: string
  4103. curprice:
  4104. description: 当前市场价
  4105. type: number
  4106. curstock:
  4107. description: 期末库存量 = 采购总量 - 销售总量
  4108. type: number
  4109. deliverygoodsid:
  4110. description: 现货品种ID
  4111. type: integer
  4112. enddate:
  4113. description: 完成日期
  4114. type: string
  4115. endtradedate:
  4116. description: 完成交易日
  4117. type: string
  4118. enumdicname:
  4119. description: 单位
  4120. type: string
  4121. exeamount:
  4122. description: 执行市价总额
  4123. type: number
  4124. exeavgprice:
  4125. description: 执行市场均价= 执行市价总额 / 执行现货量
  4126. type: number
  4127. execontractamount:
  4128. description: 执行定价总额
  4129. type: number
  4130. exeqty:
  4131. description: 执行现货量
  4132. type: number
  4133. exerestamount:
  4134. description: 执行剩余市价总额【现货贸易】
  4135. type: number
  4136. futurefloatpl:
  4137. description: 期货浮动损益
  4138. type: number
  4139. futurehedgepl:
  4140. description: 期货实际损益
  4141. type: number
  4142. futurehedgeplchange:
  4143. description: 期货实际损益变动
  4144. type: number
  4145. futurepl:
  4146. description: 期货套期损益
  4147. type: number
  4148. futureplchange:
  4149. description: 期货套期损益变动
  4150. type: number
  4151. hedgeamount:
  4152. description: 套期市价总额
  4153. type: number
  4154. hedgecontractamount:
  4155. description: 套期定价总额 【定价采购合同】【现货贸易】
  4156. type: number
  4157. hedgeditemid:
  4158. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  4159. type: string
  4160. hedgeditemname:
  4161. description: 项目名称
  4162. type: string
  4163. hedgeditemnum:
  4164. description: 项目编号
  4165. type: string
  4166. hedgeditemstatus:
  4167. description: 项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4168. type: integer
  4169. hedgedtype:
  4170. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4171. type: integer
  4172. hedgeqty:
  4173. description: 套期现货量
  4174. type: number
  4175. hedgerate:
  4176. description: 套保比率
  4177. type: number
  4178. hedgerestamount:
  4179. description: 套期剩余市价总额【现货贸易】
  4180. type: number
  4181. hedgesumpl:
  4182. description: 套期汇总损益 = 期货汇总损益 + 现货汇总损益
  4183. type: number
  4184. middlegoodslist:
  4185. description: 套期商品列表
  4186. items:
  4187. $ref: '#/definitions/models.Ermcp2himiddlegoods'
  4188. type: array
  4189. oriavgprice:
  4190. description: 期初市场均价 = 套期市价总额 / 套期现货量
  4191. type: number
  4192. orifuturehedgepl:
  4193. description: 期初期货实际损益
  4194. type: number
  4195. orifuturepl:
  4196. description: 期初期货套期损益
  4197. type: number
  4198. orispothedgepl:
  4199. description: 期初现货实际损益
  4200. type: number
  4201. orispotpl:
  4202. description: 期初现货套期损益
  4203. type: number
  4204. planenddate:
  4205. description: 计划结束日期
  4206. type: string
  4207. planstartdate:
  4208. description: 计划开始日期
  4209. type: string
  4210. remark:
  4211. description: 备注
  4212. type: string
  4213. spotbookamount:
  4214. description: 现货账面总额
  4215. type: number
  4216. spotfloatpl:
  4217. description: 现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)
  4218. type: number
  4219. spothedgepl:
  4220. description: 现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  4221. type: number
  4222. spothedgeplchange:
  4223. description: 现货实际损益变动
  4224. type: number
  4225. spotpl:
  4226. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  4227. type: number
  4228. spotplchange:
  4229. description: 现货套期损益变动
  4230. type: number
  4231. spottradepl:
  4232. description: 现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额
  4233. type: number
  4234. sumobspl:
  4235. description: 汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益
  4236. type: number
  4237. tradeuserid:
  4238. description: 交易用户ID
  4239. type: integer
  4240. unexeqty:
  4241. description: 未执行现货量 = 套期现货量 - 执行现货量
  4242. type: number
  4243. updatetime:
  4244. description: 更新时间
  4245. type: string
  4246. vatpl:
  4247. description: 增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))
  4248. type: number
  4249. vatrate:
  4250. description: 增值税
  4251. type: number
  4252. wrstandardid:
  4253. description: 现货商品ID
  4254. type: integer
  4255. wrstandardname:
  4256. description: 商品名称
  4257. type: string
  4258. type: object
  4259. models.Ermcp2hedgeditemsDetail:
  4260. properties:
  4261. accountname:
  4262. description: 套期主体
  4263. type: string
  4264. areauserid:
  4265. description: 企业ID
  4266. type: integer
  4267. createtime:
  4268. description: 创建时间
  4269. type: string
  4270. customeruserid:
  4271. description: 对手方 【3:采购合同 4:销售合同】
  4272. type: integer
  4273. deliverygoodsid:
  4274. description: 现货品种ID
  4275. type: integer
  4276. enumdicname:
  4277. description: 单位
  4278. type: string
  4279. hedgeditemid:
  4280. description: 被套期项目ID
  4281. type: string
  4282. hedgeditemspotid:
  4283. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4284. type: string
  4285. hedgedtype:
  4286. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4287. type: integer
  4288. hedgeplanno:
  4289. description: 计划编号
  4290. type: string
  4291. oriavgprice:
  4292. description: 期初市场价[当初市场价]
  4293. type: number
  4294. relatedamount:
  4295. description: 市价总额 = 关联数量 * 期初市场价
  4296. type: number
  4297. relatedhedgeplanid:
  4298. description: 关联计划ID 【1:采购计划 2:销售计划】
  4299. type: integer
  4300. relatedqty:
  4301. description: '[期间变化量]关联数量'
  4302. type: number
  4303. relatedspotcontractid:
  4304. description: 关联合同ID 【3:采购合同 4:销售合同】
  4305. type: integer
  4306. relatedtype:
  4307. description: 关联类型 - 1:套期关联 2:执行关联
  4308. type: integer
  4309. spotgoodsbrandid:
  4310. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4311. type: integer
  4312. spotpricedamount:
  4313. description: 定价总额
  4314. type: number
  4315. spotpricedavgprice:
  4316. description: 现货均价 = 定价总额 / 关联数量
  4317. type: number
  4318. spottype:
  4319. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4320. type: integer
  4321. tradeuserid:
  4322. description: 交易用户ID
  4323. type: integer
  4324. unexeqty:
  4325. description: 未执行现货量 = 套期现货量 - 执行现货量
  4326. type: number
  4327. wrstandardid:
  4328. description: 现货商品ID
  4329. type: integer
  4330. wrstandardname:
  4331. description: 现货商品
  4332. type: string
  4333. type: object
  4334. models.Ermcp2hedgeditemspot:
  4335. properties:
  4336. areauserid:
  4337. description: 企业ID
  4338. type: integer
  4339. createtime:
  4340. description: 创建时间
  4341. type: string
  4342. customeruserid:
  4343. description: 对手方 【3:采购合同 4:销售合同】
  4344. type: integer
  4345. deliverygoodsid:
  4346. description: 现货品种ID
  4347. type: integer
  4348. enumdicname:
  4349. description: 单位
  4350. type: string
  4351. hedgeditemid:
  4352. description: 被套期项目ID
  4353. type: string
  4354. hedgeditemspotid:
  4355. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4356. type: string
  4357. hedgedtype:
  4358. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4359. type: integer
  4360. hedgeplanno:
  4361. description: 计划编号
  4362. type: string
  4363. oriavgprice:
  4364. description: 期初市场价[当初市场价]
  4365. type: number
  4366. relatedamount:
  4367. description: 市价总额 = 关联数量 * 期初市场价
  4368. type: number
  4369. relatedhedgeplanid:
  4370. description: 关联计划ID 【1:采购计划 2:销售计划】
  4371. type: integer
  4372. relatedqty:
  4373. description: 关联数量[数量]
  4374. type: number
  4375. relatedspotcontractid:
  4376. description: 关联合同ID 【3:采购合同 4:销售合同】
  4377. type: integer
  4378. relatedtype:
  4379. description: 关联类型 - 1:套期关联 2:执行关联
  4380. type: integer
  4381. spotgoodsbrandid:
  4382. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4383. type: integer
  4384. spotpricedamount:
  4385. description: 定价总额
  4386. type: number
  4387. spotpricedavgprice:
  4388. description: 现货均价 = 定价总额 / 关联数量
  4389. type: number
  4390. spottype:
  4391. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4392. type: integer
  4393. tradeuserid:
  4394. description: 交易用户ID
  4395. type: integer
  4396. wrstandardid:
  4397. description: 现货商品ID
  4398. type: integer
  4399. wrstandardname:
  4400. description: 现货商品
  4401. type: string
  4402. required:
  4403. - hedgeditemid
  4404. type: object
  4405. models.Ermcp2hedgeditemspotDetail:
  4406. properties:
  4407. accountname:
  4408. description: 对手方
  4409. type: string
  4410. areauserid:
  4411. description: 企业ID
  4412. type: integer
  4413. brandname:
  4414. description: 品牌
  4415. type: string
  4416. contractno:
  4417. description: 合同编号
  4418. type: string
  4419. createtime:
  4420. description: 创建时间
  4421. type: string
  4422. customeruserid:
  4423. description: 对手方 【3:采购合同 4:销售合同】
  4424. type: integer
  4425. deliverygoodsid:
  4426. description: 现货品种ID
  4427. type: integer
  4428. enumdicname:
  4429. description: 单位
  4430. type: string
  4431. hedgeditemid:
  4432. description: 被套期项目ID
  4433. type: string
  4434. hedgeditemspotid:
  4435. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4436. type: string
  4437. hedgedtype:
  4438. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4439. type: integer
  4440. oriavgprice:
  4441. description: 期初市场价[当初市场价]
  4442. type: number
  4443. relatedamount:
  4444. description: 市价总额 = 关联数量 * 期初市场价
  4445. type: number
  4446. relatedhedgeplanid:
  4447. description: 关联计划ID 【1:采购计划 2:销售计划】
  4448. type: integer
  4449. relatedqty:
  4450. description: 关联数量[数量]
  4451. type: number
  4452. relatedspotcontractid:
  4453. description: 关联合同ID 【3:采购合同 4:销售合同】
  4454. type: integer
  4455. relatedtype:
  4456. description: 关联类型 - 1:套期关联 2:执行关联
  4457. type: integer
  4458. spotgoodsbrandid:
  4459. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4460. type: integer
  4461. spotpricedamount:
  4462. description: 定价总额[金额]
  4463. type: number
  4464. spotpricedavgprice:
  4465. description: 现货均价 = 定价总额 / 关联数量
  4466. type: number
  4467. spottype:
  4468. description: 现货类型[合同类型] - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4469. type: integer
  4470. tradeuserid:
  4471. description: 交易用户ID
  4472. type: integer
  4473. wrstandardid:
  4474. description: 现货商品ID
  4475. type: integer
  4476. wrstandardname:
  4477. description: 现货商品
  4478. type: string
  4479. required:
  4480. - hedgeditemid
  4481. type: object
  4482. models.Ermcp2himiddlegoods:
  4483. properties:
  4484. futurehedgeqty:
  4485. description: 期货持仓套期量
  4486. type: number
  4487. hedgeditemid:
  4488. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  4489. type: integer
  4490. hiexpsoure:
  4491. description: 期现敞口量 = 未执行套期量 + 期货持仓套期量
  4492. type: number
  4493. middlegoodscode:
  4494. description: 套保商品代码
  4495. type: string
  4496. middlegoodsid:
  4497. description: 套保品种ID
  4498. type: integer
  4499. middlegoodsname:
  4500. description: 套保商品名称
  4501. type: string
  4502. unexehedgeqty:
  4503. description: 未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)
  4504. type: number
  4505. required:
  4506. - hedgeditemid
  4507. - middlegoodsid
  4508. type: object
  4509. models.Ermcp2stockspotchangelog:
  4510. properties:
  4511. accountname:
  4512. description: 套期主体
  4513. type: string
  4514. aftervalue:
  4515. description: 现货量
  4516. type: number
  4517. beforevalue:
  4518. description: 变更前现货量
  4519. type: number
  4520. contracttype:
  4521. description: 现货合同类型 - 1:采购 -1:销售
  4522. type: integer
  4523. createtime:
  4524. description: 创建时间
  4525. type: string
  4526. customerusername:
  4527. description: 对手方
  4528. type: string
  4529. deliverygoodsid:
  4530. description: 现货品种ID
  4531. type: integer
  4532. exetype:
  4533. description: 执行类型 - 1:采购合同 2:销售合同 3:生产入库 4:生产出库
  4534. type: integer
  4535. logid:
  4536. description: 流水ID(604+Unix秒时间戳(10位)+xxxxxx)
  4537. type: integer
  4538. logvalue:
  4539. description: 现货量变更值
  4540. type: number
  4541. middlegoodschange:
  4542. description: 套期商品变化量 = LogValue * 折算系数 * (1/(1+增值税))
  4543. type: number
  4544. operatelogtype:
  4545. description: 操作流水类型 - 2:点价数量 21:正常完结(合同) 22:异常终止(合同) 24:采购入库 25:销售出库 26:生产入库
  4546. 27:生产出库
  4547. type: integer
  4548. relatedid:
  4549. description: 现货合同ID
  4550. type: integer
  4551. spotgoodsbrandid:
  4552. description: 现货品牌ID
  4553. type: integer
  4554. tradedate:
  4555. description: 交易日(yyyyMMdd)
  4556. type: string
  4557. userid:
  4558. description: 机构ID
  4559. type: integer
  4560. warehouseinfoid:
  4561. description: 仓库ID
  4562. type: integer
  4563. wrfactortypeid:
  4564. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4565. type: integer
  4566. wrstandardid:
  4567. description: 现货商品ID
  4568. type: integer
  4569. wrstandardname:
  4570. description: 商品名称
  4571. type: string
  4572. type: object
  4573. models.Ermcp3AreaSpot:
  4574. properties:
  4575. areauserid:
  4576. description: 所属机构
  4577. type: integer
  4578. convertratio:
  4579. description: 套保系数
  4580. type: number
  4581. decreaseqty:
  4582. description: 减少数量=-(销售已定价数量+采购计划数量)
  4583. type: number
  4584. enumdicname:
  4585. description: 单位名称
  4586. type: string
  4587. increaseqty:
  4588. description: 增加数量=销售计划数量+采购已定价数量
  4589. type: number
  4590. oritoalspotqty:
  4591. description: 昨日数量
  4592. type: number
  4593. totalspotqty:
  4594. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  4595. type: number
  4596. unitid:
  4597. description: 现货商品单位id
  4598. type: integer
  4599. updatetime:
  4600. description: 更新时间
  4601. type: string
  4602. wrstandardcode:
  4603. description: 现货商品代码
  4604. type: string
  4605. wrstandardid:
  4606. description: 现货商品ID(SEQ_WRSTANDARD)
  4607. type: integer
  4608. wrstandardname:
  4609. description: 现货商品名称
  4610. type: string
  4611. type: object
  4612. models.Ermcp3AreaSpotDetail:
  4613. properties:
  4614. contracttype:
  4615. description: 合同类型 1-采购 -1-销售
  4616. type: integer
  4617. createtime:
  4618. description: 创建时间
  4619. type: string
  4620. enumdicname:
  4621. description: 现货商品单位名称
  4622. type: string
  4623. logtype:
  4624. description: 记录类型 1-套保 2-现货合同
  4625. type: integer
  4626. qty:
  4627. description: 数量
  4628. type: number
  4629. recordname:
  4630. description: 类型名称
  4631. type: string
  4632. relatedid:
  4633. description: 套保计划ID/现货合同ID
  4634. type: string
  4635. relatedno:
  4636. description: 编号
  4637. type: string
  4638. strtime:
  4639. description: 时间
  4640. type: string
  4641. wrstandardcode:
  4642. description: 现货商品代码
  4643. type: string
  4644. wrstandardid:
  4645. description: 现货商品ID(SEQ_WRSTANDARD)
  4646. type: integer
  4647. wrstandardname:
  4648. description: 现货商品名称
  4649. type: string
  4650. type: object
  4651. models.Ermcp3AreaSpotPLReport:
  4652. properties:
  4653. accountid:
  4654. description: 期货账户ID (作废, 默认为0)
  4655. type: integer
  4656. accountname:
  4657. description: 机构名称
  4658. type: string
  4659. actualpl:
  4660. description: 现货损益
  4661. type: number
  4662. areauserid:
  4663. description: 所属机构\交易用户ID
  4664. type: integer
  4665. begindate:
  4666. description: 开始交易日
  4667. type: string
  4668. biztype:
  4669. description: 业务类型 - 1:套保 2:套利
  4670. type: integer
  4671. brandname:
  4672. description: 品牌名称
  4673. type: string
  4674. curamount:
  4675. description: 期末额
  4676. type: number
  4677. curaverageprice:
  4678. description: 期末均价
  4679. type: number
  4680. curbuyamount:
  4681. description: 期末采购总额
  4682. type: number
  4683. curbuyqty:
  4684. description: 期末采购总量
  4685. type: number
  4686. curmarketvalue:
  4687. description: 参考市值(期末市值)
  4688. type: number
  4689. curqty:
  4690. description: 期末量
  4691. type: number
  4692. currencyid:
  4693. description: 结算币种ID【原值】
  4694. type: integer
  4695. currencyname:
  4696. description: 币种名称
  4697. type: string
  4698. cursellamount:
  4699. description: 期末销售总额
  4700. type: number
  4701. cursellqty:
  4702. description: 期末销售总量
  4703. type: number
  4704. curspotprice:
  4705. description: 参考市价(最新价)
  4706. type: number
  4707. cycletime:
  4708. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4709. type: string
  4710. cycletype:
  4711. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4712. type: integer
  4713. deliverygoodscode:
  4714. description: 现货品种代码
  4715. type: string
  4716. deliverygoodsid:
  4717. description: 现货品种ID
  4718. type: integer
  4719. deliverygoodsname:
  4720. description: 现货品种名称
  4721. type: string
  4722. enddate:
  4723. description: 结束交易日
  4724. type: string
  4725. enumdicname:
  4726. description: 现货品种单位名称(作废)
  4727. type: string
  4728. floatpl:
  4729. description: 浮动损益
  4730. type: number
  4731. goodsunitid:
  4732. description: 现货品种单位id(作废)
  4733. type: integer
  4734. oriamount:
  4735. description: 期初额
  4736. type: number
  4737. oriaverageprice:
  4738. description: 期初均价
  4739. type: number
  4740. oribuyamount:
  4741. description: 期初采购总额
  4742. type: number
  4743. oribuyqty:
  4744. description: 期初采购总量
  4745. type: number
  4746. oriqty:
  4747. description: 期初量
  4748. type: number
  4749. orisellamount:
  4750. description: 期初销售总额
  4751. type: number
  4752. orisellqty:
  4753. description: 期初销售总量
  4754. type: number
  4755. reckondate:
  4756. description: 日照时期(yyyyMMdd)
  4757. type: string
  4758. spotgoodsbrandid:
  4759. description: 现货品牌ID
  4760. type: integer
  4761. todaybuyamount:
  4762. description: 今日采购额(今采购额)
  4763. type: number
  4764. todaybuyaverageprice:
  4765. description: 今日采购均价
  4766. type: number
  4767. todaybuyqty:
  4768. description: 今日采购量(今采购量)
  4769. type: number
  4770. todayinqty:
  4771. description: 今日入库量(今入库量)
  4772. type: number
  4773. todayoutqty:
  4774. description: 今日出库量(今出库量)
  4775. type: number
  4776. todaysellamount:
  4777. description: 今日销售额(今销售额)
  4778. type: number
  4779. todaysellaverageprice:
  4780. description: 今日销售均价
  4781. type: number
  4782. todaysellqty:
  4783. description: 今日销售量(今销售量)
  4784. type: number
  4785. unitid:
  4786. description: 品类单位id
  4787. type: integer
  4788. unitidname:
  4789. description: 品类单位名称
  4790. type: string
  4791. updatetime:
  4792. description: 更新时间
  4793. type: string
  4794. wrfactortypeid:
  4795. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4796. type: integer
  4797. wrstandardcode:
  4798. description: 现货商品(品类)代码
  4799. type: string
  4800. wrstandardid:
  4801. description: 现货品类ID
  4802. type: integer
  4803. wrstandardname:
  4804. description: 现货商品(品类)名称
  4805. type: string
  4806. type: object
  4807. models.Ermcp3AreaStock:
  4808. properties:
  4809. brandname:
  4810. description: 品牌名称
  4811. type: string
  4812. curstock:
  4813. description: 期末库存量(今日量)
  4814. type: number
  4815. deliverygoodscode:
  4816. description: 现货品种代码
  4817. type: string
  4818. deliverygoodsid:
  4819. description: 现货品种id
  4820. type: integer
  4821. deliverygoodsname:
  4822. description: 现货品种名称
  4823. type: string
  4824. enumdicname:
  4825. description: 单位名称
  4826. type: string
  4827. goodsunitid:
  4828. description: 现货商品单位id
  4829. type: integer
  4830. oristock:
  4831. description: 期初库存量(昨日量)
  4832. type: number
  4833. spotgoodsbrandid:
  4834. description: 现货品牌ID
  4835. type: integer
  4836. todaybuyinqty:
  4837. description: 今日采购入库量
  4838. type: number
  4839. todayproduceinqty:
  4840. description: 今日生产入库量
  4841. type: number
  4842. todayproduceoutqty:
  4843. description: 今日生产出库量
  4844. type: number
  4845. todayselloutqty:
  4846. description: 今日销售出库量
  4847. type: number
  4848. unitid:
  4849. description: 单位id
  4850. type: integer
  4851. updatetime:
  4852. description: 更新时间
  4853. type: string
  4854. userid:
  4855. description: 机构ID
  4856. type: integer
  4857. username:
  4858. description: 机构名称
  4859. type: string
  4860. warehousecode:
  4861. description: 仓库代码
  4862. type: string
  4863. warehouseinfoid:
  4864. description: 仓库ID
  4865. type: string
  4866. warehousename:
  4867. description: 仓库名称
  4868. type: string
  4869. warehousetype:
  4870. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4871. type: integer
  4872. wrstandardcode:
  4873. description: 品类代码
  4874. type: string
  4875. wrstandardid:
  4876. description: 品类ID
  4877. type: string
  4878. wrstandardname:
  4879. description: 品类名称
  4880. type: string
  4881. required:
  4882. - userid
  4883. type: object
  4884. models.Ermcp3AreaStockApply:
  4885. properties:
  4886. applyid:
  4887. description: 申请人
  4888. type: integer
  4889. applyname:
  4890. description: 申请人名称
  4891. type: string
  4892. applyremark:
  4893. description: 申请备注
  4894. type: string
  4895. applysrc:
  4896. description: 申请来源 - 1:管理端 2:终端
  4897. type: integer
  4898. applystatus:
  4899. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  4900. type: integer
  4901. applytime:
  4902. description: 申请时间
  4903. type: string
  4904. auditid:
  4905. description: 审核人
  4906. type: integer
  4907. auditname:
  4908. description: 审核人名称
  4909. type: string
  4910. auditremark:
  4911. description: 审核备注
  4912. type: string
  4913. auditsrc:
  4914. description: 审核来源 - 1:管理端 2:终端
  4915. type: integer
  4916. audittime:
  4917. description: 审核时间
  4918. type: string
  4919. audittradedate:
  4920. description: 审核交易日(yyyyMMdd)
  4921. type: string
  4922. brandname:
  4923. description: 品牌名称
  4924. type: string
  4925. buynickname:
  4926. description: 采购方昵称
  4927. type: string
  4928. buyuserid:
  4929. description: 采购方userid
  4930. type: integer
  4931. buyusername:
  4932. description: 采购方名称
  4933. type: string
  4934. contractno:
  4935. description: 合同编号
  4936. type: string
  4937. contractqty:
  4938. description: 合同量
  4939. type: number
  4940. contracttype:
  4941. description: 现货合同类型 - 1:采购 -1:销售
  4942. type: integer
  4943. deliverygoodscode:
  4944. description: 现货品种代码
  4945. type: string
  4946. deliverygoodsid:
  4947. description: 现货品种id
  4948. type: integer
  4949. deliverygoodsname:
  4950. description: 现货品种名称
  4951. type: string
  4952. detailjson:
  4953. description: 明细数据
  4954. type: string
  4955. enumdicname:
  4956. description: 现货商品单位名称
  4957. type: string
  4958. inoutapplyid:
  4959. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  4960. type: string
  4961. inouttype:
  4962. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  4963. type: integer
  4964. pricetype:
  4965. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4966. type: integer
  4967. qty:
  4968. description: 数量
  4969. type: number
  4970. sellnickname:
  4971. description: 销售方昵称
  4972. type: string
  4973. selluserid:
  4974. description: 销售方userid
  4975. type: integer
  4976. sellusername:
  4977. description: 销售方名称
  4978. type: string
  4979. spotcontractid:
  4980. description: 关联现货合同ID
  4981. type: string
  4982. spotgoodsbrandid:
  4983. description: 现货品牌ID
  4984. type: integer
  4985. unitid:
  4986. description: 单位id
  4987. type: integer
  4988. userid:
  4989. description: 机构ID
  4990. type: integer
  4991. warehousecode:
  4992. description: 仓库代码
  4993. type: string
  4994. warehouseinfoid:
  4995. description: 现货仓库ID
  4996. type: string
  4997. warehousename:
  4998. description: 仓库名称
  4999. type: string
  5000. warehousetype:
  5001. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5002. type: integer
  5003. wrstandardcode:
  5004. description: 品类代码
  5005. type: string
  5006. wrstandardid:
  5007. description: 品类ID
  5008. type: integer
  5009. wrstandardname:
  5010. description: 品类名称
  5011. type: string
  5012. type: object
  5013. models.Ermcp3AreaStockApplySum:
  5014. properties:
  5015. brandname:
  5016. description: 品牌名称
  5017. type: string
  5018. inouttype:
  5019. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  5020. type: integer
  5021. spotcontractid:
  5022. description: 关联现货合同ID
  5023. type: string
  5024. spotgoodsbrandid:
  5025. description: 品牌id
  5026. type: integer
  5027. totalqty:
  5028. description: 总数量
  5029. type: number
  5030. wrstandardid:
  5031. description: 品类id
  5032. type: integer
  5033. wrstandardname:
  5034. description: 品类名称
  5035. type: string
  5036. type: object
  5037. models.Ermcp3AreaStockReportEx:
  5038. properties:
  5039. begindate:
  5040. description: 开始交易日
  5041. type: string
  5042. brandname:
  5043. description: 品牌名称
  5044. type: string
  5045. curstock:
  5046. description: 期末库存量
  5047. type: number
  5048. cycletime:
  5049. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5050. type: string
  5051. cycletype:
  5052. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5053. type: integer
  5054. deliverygoodscode:
  5055. description: 现货品种代码
  5056. type: string
  5057. deliverygoodsid:
  5058. description: 现货品种id
  5059. type: integer
  5060. deliverygoodsname:
  5061. description: 现货品种名称
  5062. type: string
  5063. diffqty:
  5064. description: 库存变化量 = 期末 - 期初
  5065. type: number
  5066. enddate:
  5067. description: 结束交易日
  5068. type: string
  5069. enumdicname:
  5070. description: 单位名称
  5071. type: string
  5072. goodsunitid:
  5073. description: 现货单位id
  5074. type: integer
  5075. oristock:
  5076. description: 期初库存量
  5077. type: number
  5078. reckondate:
  5079. description: 日照时期(yyyyMMdd)
  5080. type: string
  5081. spotgoodsbrandid:
  5082. description: 现货品牌ID
  5083. type: integer
  5084. todaybuyinqty:
  5085. description: 今采购入库量
  5086. type: number
  5087. todayproduceinqty:
  5088. description: 今内部入库量
  5089. type: number
  5090. todayproduceoutqty:
  5091. description: 今内部出库量
  5092. type: number
  5093. todayselloutqty:
  5094. description: 今销售出库量
  5095. type: number
  5096. unbuyinqty:
  5097. description: 采购未入库量(数据库未找到相关字段?)
  5098. type: number
  5099. unitid:
  5100. description: 品类单位id
  5101. type: integer
  5102. unselloutqty:
  5103. description: 销售未出库量(数据库未找到相关字段?)
  5104. type: number
  5105. updatetime:
  5106. description: 更新时间
  5107. type: string
  5108. userid:
  5109. description: 机构ID
  5110. type: integer
  5111. username:
  5112. description: 机构名称
  5113. type: string
  5114. warehousecode:
  5115. description: 仓库代码
  5116. type: string
  5117. warehouseinfoid:
  5118. description: 仓库ID
  5119. type: string
  5120. warehousename:
  5121. description: 仓库名称
  5122. type: string
  5123. warehousetype:
  5124. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5125. type: integer
  5126. wrstandardcode:
  5127. description: 品类代码
  5128. type: string
  5129. wrstandardid:
  5130. description: 品类ID
  5131. type: integer
  5132. wrstandardname:
  5133. description: 品类名称
  5134. type: string
  5135. type: object
  5136. models.Ermcp3ArealSumPL:
  5137. properties:
  5138. accountname:
  5139. description: 机构名称
  5140. type: string
  5141. areauserid:
  5142. description: 所属机构\交易用户ID
  5143. type: integer
  5144. begindate:
  5145. description: 开始交易日
  5146. type: string
  5147. currencyid:
  5148. description: 结算币种ID
  5149. type: integer
  5150. currencyname:
  5151. description: 币种名称
  5152. type: string
  5153. cycletime:
  5154. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5155. type: string
  5156. cycletype:
  5157. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5158. type: integer
  5159. enddate:
  5160. description: 结束交易日
  5161. type: string
  5162. enumdicname:
  5163. description: 单位名称(套保品种)
  5164. type: string
  5165. futureactualpl:
  5166. description: 期货损益
  5167. type: number
  5168. futurefloatpl:
  5169. description: 期货浮动损益
  5170. type: number
  5171. futurespotratio:
  5172. description: 期现比例 = 期货头寸总量 / 现货头寸总量
  5173. type: number
  5174. goodsunitid:
  5175. description: 套保品种单位id
  5176. type: integer
  5177. hedgeexposurepl:
  5178. description: 套保敞口损益
  5179. type: number
  5180. middlegoodscode:
  5181. description: 套保品种代码
  5182. type: string
  5183. middlegoodsid:
  5184. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  5185. type: integer
  5186. middlegoodsname:
  5187. description: 套保品种名称
  5188. type: string
  5189. reckondate:
  5190. description: 日照时期(yyyyMMdd)
  5191. type: string
  5192. spotactualpl:
  5193. description: 现货损益
  5194. type: number
  5195. spotfloatpl:
  5196. description: 现货浮动损益
  5197. type: number
  5198. sumactualpl:
  5199. description: 实际损益 = (ActualPL + FutureActualPL)
  5200. type: number
  5201. sumpl:
  5202. description: 总敞口损益 | 汇总损益
  5203. type: number
  5204. totalfutureqty:
  5205. description: 期货头寸总量
  5206. type: number
  5207. totalneedhedgeqty:
  5208. description: 应套保总量
  5209. type: number
  5210. totalspotqty:
  5211. description: 现货头寸总量
  5212. type: number
  5213. updatetime:
  5214. description: 更新时间
  5215. type: string
  5216. type: object
  5217. models.Ermcp3Brand:
  5218. properties:
  5219. areauserid:
  5220. description: 用户id
  5221. type: integer
  5222. brandid:
  5223. description: 品牌id
  5224. type: integer
  5225. brandname:
  5226. description: 品牌名称
  5227. type: string
  5228. deliverygoodsid:
  5229. description: 品种ID
  5230. type: integer
  5231. isvalid:
  5232. description: 是否有效
  5233. type: integer
  5234. type: object
  5235. models.Ermcp3Contract:
  5236. properties:
  5237. accountid:
  5238. description: 期货账户id
  5239. type: string
  5240. amount:
  5241. description: 金额 [1:一口价、3:暂定价]
  5242. type: number
  5243. attachment:
  5244. description: 附件
  5245. type: string
  5246. auditremark:
  5247. description: 审核意见
  5248. type: string
  5249. audittime:
  5250. description: 审核时间
  5251. type: string
  5252. biztype:
  5253. description: 业务类型 1-套保 2-套利
  5254. type: integer
  5255. brandname:
  5256. description: 品牌名称
  5257. type: string
  5258. buynickname:
  5259. description: 销售方昵称
  5260. type: string
  5261. buyuserid:
  5262. description: 采购方ID
  5263. type: integer
  5264. buyusername:
  5265. description: 采购方名称
  5266. type: string
  5267. contracctstatus:
  5268. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5269. type: integer
  5270. contractmargin:
  5271. description: 合同保证金
  5272. type: number
  5273. contractno:
  5274. description: 现货合同编号
  5275. type: string
  5276. contracttype:
  5277. description: 现货合同类型 - 1:采购 -1:销售
  5278. type: integer
  5279. convertfactor:
  5280. description: 标仓系数(品类)
  5281. type: number
  5282. createtime:
  5283. description: 创建时间
  5284. type: string
  5285. currencyid:
  5286. description: 币种id
  5287. type: integer
  5288. currencyname:
  5289. description: 币种名称
  5290. type: string
  5291. deliveryenddate:
  5292. description: 交收期(结束)
  5293. type: string
  5294. deliverygoodscode:
  5295. description: 现货品种代码
  5296. type: string
  5297. deliverygoodsid:
  5298. description: 现货品种ID
  5299. type: integer
  5300. deliverygoodsname:
  5301. description: 现货品种名称
  5302. type: string
  5303. deliverystartdate:
  5304. description: 交收期(开始)
  5305. type: string
  5306. enddate:
  5307. description: 点价结束日期 [2:点价 3:暂定价]
  5308. type: string
  5309. enumdicname:
  5310. description: 单位名称
  5311. type: string
  5312. goodscode:
  5313. description: 点价合约代码
  5314. type: string
  5315. goodsid:
  5316. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  5317. type: integer
  5318. goodsname:
  5319. description: 点价商品名称
  5320. type: string
  5321. margin:
  5322. description: 当前保证金
  5323. type: number
  5324. meruserid:
  5325. description: 跟单员id
  5326. type: integer
  5327. meruserlogincode:
  5328. description: 跟单员登录代码
  5329. type: string
  5330. merusername:
  5331. description: 跟单员名称
  5332. type: string
  5333. pointdesc:
  5334. description: 点价备注
  5335. type: string
  5336. price:
  5337. description: 价格\暂定价 [1:一口价、3:暂定价]
  5338. type: number
  5339. pricemove:
  5340. description: 升贴水 [2:点价 3:暂定价]
  5341. type: number
  5342. pricetype:
  5343. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5344. type: integer
  5345. producttype:
  5346. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5347. type: integer
  5348. qty:
  5349. description: 数量
  5350. type: number
  5351. remark:
  5352. description: 备注
  5353. type: string
  5354. saleuserid:
  5355. description: 业务员id
  5356. type: integer
  5357. saleuserlogincode:
  5358. description: 业务员登录代码
  5359. type: string
  5360. saleusername:
  5361. description: 业务员名称
  5362. type: string
  5363. sellnickname:
  5364. description: 采购方昵称
  5365. type: string
  5366. selluserid:
  5367. description: 销售方ID
  5368. type: integer
  5369. sellusername:
  5370. description: 销售方名称
  5371. type: string
  5372. spotcontractid:
  5373. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  5374. type: string
  5375. spotgoodsbrandid:
  5376. description: 现货品牌ID(DGFactoryItem表的ID)
  5377. type: integer
  5378. spotgoodsdesc:
  5379. description: 商品型号
  5380. type: string
  5381. startdate:
  5382. description: 点价开始日期 [2:点价 3:暂定价]
  5383. type: string
  5384. subjectid:
  5385. description: 交易主体ID
  5386. type: integer
  5387. subjectname:
  5388. description: 交易主体名称
  5389. type: string
  5390. tradeuserid:
  5391. description: 交易员id
  5392. type: integer
  5393. tradeuserlogincode:
  5394. description: 交易员登录代码
  5395. type: string
  5396. tradeusername:
  5397. description: 交易员名称
  5398. type: string
  5399. unitid:
  5400. description: 单位id(取品类上的单位id)
  5401. type: integer
  5402. updatetime:
  5403. description: 更新时间
  5404. type: string
  5405. userid:
  5406. description: 所属机构ID
  5407. type: integer
  5408. vatrate:
  5409. description: 增值税率
  5410. type: number
  5411. wrstandardcode:
  5412. description: 品类代码
  5413. type: string
  5414. wrstandardid:
  5415. description: 品类ID
  5416. type: integer
  5417. wrstandardname:
  5418. description: 品类名称
  5419. type: string
  5420. type: object
  5421. models.Ermcp3ContractMiddleGoodsCfg:
  5422. properties:
  5423. agreeunit:
  5424. description: 合约乘数
  5425. type: number
  5426. convertratio:
  5427. description: 期货品种系数
  5428. type: number
  5429. covertqty:
  5430. description: 折算手数 =【待点价量 / (合约乘数*期货品种系数) 】
  5431. type: integer
  5432. middlegoodsid:
  5433. description: 套保品种ID
  5434. type: integer
  5435. middlegoodspricedqty3:
  5436. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  5437. example: "0"
  5438. type: string
  5439. pendingpricedqty:
  5440. description: 待点价量
  5441. example: "0"
  5442. type: string
  5443. relatedmiddlegoodsqty:
  5444. description: 已关联量(套保品种-期货)
  5445. example: "0"
  5446. type: string
  5447. spotcontractid:
  5448. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  5449. type: string
  5450. type: object
  5451. models.Ermcp3ExposureContractDetail:
  5452. properties:
  5453. biztype:
  5454. description: 业务类型 1-套保 2-套利
  5455. type: integer
  5456. brandname:
  5457. description: 品牌名称
  5458. type: string
  5459. buyuserid:
  5460. description: 采购方id
  5461. type: integer
  5462. buyusername:
  5463. description: 采购方名称
  5464. type: string
  5465. contractno:
  5466. description: 合同编号
  5467. type: string
  5468. contracttype:
  5469. description: 现货合同类型 - 1:采购 -1:销售
  5470. type: integer
  5471. convertfactor:
  5472. description: 标仓系数
  5473. type: number
  5474. convertratio:
  5475. description: 折算系数(套保品种)
  5476. type: number
  5477. curqty:
  5478. description: 今定价量
  5479. type: number
  5480. deliverygoodscode:
  5481. description: 现货品种代码
  5482. type: string
  5483. deliverygoodsid:
  5484. description: 现货品种id
  5485. type: integer
  5486. deliverygoodsname:
  5487. description: 现货品种名称
  5488. type: string
  5489. diffhedgeqty:
  5490. description: 套保变动量
  5491. type: number
  5492. diffneedhedgeqty:
  5493. description: 应套保变动量
  5494. type: number
  5495. diffqty:
  5496. description: 套保品种今变动量
  5497. type: number
  5498. enumdicname:
  5499. description: 单位名称
  5500. type: string
  5501. mgunitname:
  5502. description: 套保品种单位名称
  5503. type: string
  5504. middlegoodscode:
  5505. description: 套保品种代码
  5506. type: string
  5507. middlegoodsid:
  5508. description: 套保品种id
  5509. type: integer
  5510. middlegoodsname:
  5511. description: 套保品种名称
  5512. type: string
  5513. needarbitrageratio:
  5514. description: 应套利比例
  5515. type: number
  5516. needhedgeratio:
  5517. description: 应套保比例
  5518. type: number
  5519. pricedqty:
  5520. description: 已定价量
  5521. type: number
  5522. qty:
  5523. description: 合同量
  5524. type: number
  5525. reckondate:
  5526. description: 交易日(reckondate)
  5527. type: string
  5528. selluserid:
  5529. description: 销售方id
  5530. type: integer
  5531. sellusername:
  5532. description: 销售方名称
  5533. type: string
  5534. spotcontractid:
  5535. description: 合同id
  5536. type: string
  5537. todaypricedqty:
  5538. description: 今定价量
  5539. type: number
  5540. tradedate:
  5541. description: 交易日
  5542. type: string
  5543. unitid:
  5544. description: 品类单位id
  5545. type: integer
  5546. userid:
  5547. description: 机构id
  5548. type: integer
  5549. username:
  5550. description: 交易用户
  5551. type: string
  5552. wrstandardcode:
  5553. description: 现货商品代码
  5554. type: string
  5555. wrstandardid:
  5556. description: 现货商品id
  5557. type: integer
  5558. wrstandardname:
  5559. description: 现货商品名称
  5560. type: string
  5561. type: object
  5562. models.Ermcp3ExposureDetail:
  5563. properties:
  5564. areauserid:
  5565. description: 机构ID
  5566. type: integer
  5567. changeQty:
  5568. description: 套保变动量
  5569. type: number
  5570. contracttype:
  5571. description: 现货合同类型 - 1:采购 -1:销售
  5572. type: integer
  5573. convertfactor:
  5574. description: 标仓系数
  5575. type: number
  5576. convertratio:
  5577. description: 折算系数
  5578. type: number
  5579. createtime:
  5580. description: 时间
  5581. type: string
  5582. enumdicname:
  5583. description: 现货商品单位名称
  5584. type: string
  5585. logtype:
  5586. description: 类型 - 1:套保计划 2:现货合同
  5587. type: integer
  5588. mgunitid:
  5589. description: 套保品种单位id
  5590. type: integer
  5591. mgunitidname:
  5592. description: 套保品种单位名称
  5593. type: string
  5594. middlegoodsId:
  5595. description: 套保商品id
  5596. type: integer
  5597. middlegoodscode:
  5598. description: 套保商品代码
  5599. type: string
  5600. middlegoodsname:
  5601. description: 套保商品名称
  5602. type: string
  5603. qty:
  5604. description: 数量
  5605. type: number
  5606. relateNo:
  5607. description: 现货合同/套保计划编号
  5608. type: string
  5609. unitid:
  5610. description: 现货商品单位id
  5611. type: integer
  5612. wrstandardcode:
  5613. description: 现货商品代码
  5614. type: string
  5615. wrstandardid:
  5616. description: 现货商品ID(SEQ_WRSTANDARD)
  5617. type: integer
  5618. wrstandardname:
  5619. description: 现货商品名称
  5620. type: string
  5621. type: object
  5622. models.Ermcp3ExposureFutuDetail:
  5623. properties:
  5624. accountid:
  5625. description: 交易账户id
  5626. type: integer
  5627. accountname:
  5628. description: 交易账户
  5629. type: string
  5630. begindate:
  5631. description: 开始交易日
  5632. type: string
  5633. buyorsell:
  5634. description: 方向 0-买 1-卖
  5635. type: integer
  5636. diffmgqty:
  5637. description: 套保品种今变化量
  5638. type: number
  5639. diffneedqty:
  5640. description: 应套保总量变化量
  5641. type: number
  5642. difftradeqty:
  5643. description: 交易品种今变化量
  5644. type: number
  5645. enddate:
  5646. description: 结束交易日
  5647. type: string
  5648. enumdicname:
  5649. description: 单位名称
  5650. type: string
  5651. goodscode:
  5652. description: 商品代码
  5653. type: string
  5654. goodsid:
  5655. description: 商品id
  5656. type: integer
  5657. goodsname:
  5658. description: 商品名称
  5659. type: string
  5660. holdqty:
  5661. description: 期末持仓量
  5662. type: number
  5663. middlegoodscode:
  5664. description: 套保商品代码
  5665. type: string
  5666. middlegoodsid:
  5667. description: 套保商品id
  5668. type: integer
  5669. middlegoodsname:
  5670. description: 套保商品名称
  5671. type: string
  5672. oriholdqty:
  5673. description: 期初持仓量
  5674. type: number
  5675. reckondate:
  5676. description: 交易日(RECKONDATE)
  5677. type: string
  5678. todaycloseqty:
  5679. description: 今平仓量
  5680. type: number
  5681. todayopenqty:
  5682. description: 今开仓量
  5683. type: number
  5684. tradedate:
  5685. description: 交易日(RECKONDATE)
  5686. type: string
  5687. username:
  5688. description: 用户名称(交易用户)
  5689. type: string
  5690. type: object
  5691. models.Ermcp3ExposureHedgeplanDetail:
  5692. properties:
  5693. biztype:
  5694. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  5695. type: integer
  5696. changqty:
  5697. description: 应套保总量变化量
  5698. type: number
  5699. contracttype:
  5700. description: 计划类型 - 1:采购 -1:销售
  5701. type: integer
  5702. convertratio:
  5703. description: 折算系数(套保品种)
  5704. type: number
  5705. deliverygoodscode:
  5706. description: 现货商品代码
  5707. type: string
  5708. deliverygoodsid:
  5709. description: 现货商品id
  5710. type: integer
  5711. deliverygoodsname:
  5712. description: 现货商吕名称
  5713. type: string
  5714. dgunitid:
  5715. description: 现货商品单位id
  5716. type: integer
  5717. dgunitidname:
  5718. description: 单位名称(现货商品)
  5719. type: string
  5720. diffqty:
  5721. description: 套保品种今变动量
  5722. type: number
  5723. enumdicname:
  5724. description: 单位名称(品类)
  5725. type: string
  5726. hedgeplanid:
  5727. description: 套保计划id
  5728. type: string
  5729. hedgeplanno:
  5730. description: 套保计划名称
  5731. type: string
  5732. hedgeplanstatus:
  5733. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5734. type: integer
  5735. mgunitidname:
  5736. description: 单位名称(套保商品)
  5737. type: string
  5738. middlegoodscode:
  5739. description: 套保品种代码
  5740. type: string
  5741. middlegoodsid:
  5742. description: 套保品种id
  5743. type: integer
  5744. middlegoodsname:
  5745. description: 套保品种名称
  5746. type: string
  5747. needarbitrageratio:
  5748. description: 应套利比例
  5749. type: number
  5750. needhedgeratio:
  5751. description: 应套保比例
  5752. type: number
  5753. pricedqty:
  5754. description: 已定价量
  5755. type: number
  5756. qty:
  5757. description: 合同量
  5758. type: number
  5759. reckondate:
  5760. description: 交易日(reckondate)
  5761. type: string
  5762. tradedate:
  5763. description: 交易日(登记日)
  5764. type: string
  5765. unitid:
  5766. description: 品类单位id
  5767. type: integer
  5768. userid:
  5769. description: 机构id
  5770. type: integer
  5771. wrstandardcode:
  5772. description: 品类代码
  5773. type: string
  5774. wrstandardid:
  5775. description: 品类id
  5776. type: integer
  5777. wrstandardname:
  5778. description: 品类名称
  5779. type: string
  5780. type: object
  5781. models.Ermcp3ExposureParamChLog:
  5782. properties:
  5783. accountid:
  5784. description: 期货账户ID (作废, 默认为0)
  5785. type: integer
  5786. aftervalue:
  5787. description: 应套保\套利量变更后(调整后应套保总量)
  5788. type: number
  5789. areauserid:
  5790. description: 所属机构\交易用户ID
  5791. type: integer
  5792. beforevalue:
  5793. description: 应套保\套利量变更前(调整前应套保总量)
  5794. type: number
  5795. begindate:
  5796. description: 开始交易日
  5797. type: string
  5798. changelogtype:
  5799. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  5800. type: integer
  5801. curvalue:
  5802. description: 当前套保\套利量(套保总量|套利总量)
  5803. type: number
  5804. diffvalue:
  5805. description: 应套保总量变化量
  5806. type: number
  5807. enddate:
  5808. description: 结束交易日
  5809. type: string
  5810. logdatetime:
  5811. description: 流水日期
  5812. type: string
  5813. logid:
  5814. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  5815. type: string
  5816. middlegoodscode:
  5817. description: 套保品种代码
  5818. type: string
  5819. middlegoodsid:
  5820. description: 套保品种
  5821. type: integer
  5822. middlegoodsname:
  5823. description: 套保品种名称
  5824. type: string
  5825. paramaftervalue:
  5826. description: 参数变更后(调整后参数值)
  5827. type: number
  5828. parambeforevalue:
  5829. description: 参数变更前(调整前参数值)
  5830. type: number
  5831. reckondate:
  5832. description: 交易日(reckondate)
  5833. type: string
  5834. tradedate:
  5835. description: 交易日(yyyyMMdd)
  5836. type: string
  5837. type: object
  5838. models.Ermcp3ExpourseReport:
  5839. properties:
  5840. accountid:
  5841. description: 期货账户ID (作废, 默认为0)
  5842. type: integer
  5843. accountname:
  5844. description: 机构名称
  5845. type: string
  5846. arbitrageqty:
  5847. description: 套利量
  5848. type: number
  5849. areauserid:
  5850. description: 所属机构\交易用户ID
  5851. type: integer
  5852. begindate:
  5853. description: 开始交易日
  5854. type: string
  5855. buyfutureqty:
  5856. description: 买入期货数量
  5857. type: number
  5858. buyplanqty:
  5859. description: 采购计划数量
  5860. type: number
  5861. buypricedqty:
  5862. description: 采购合同已定价数量
  5863. type: number
  5864. cycletime:
  5865. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5866. type: string
  5867. cycletype:
  5868. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5869. type: integer
  5870. diffexposure:
  5871. description: 变动量(套保敞口)
  5872. type: number
  5873. difffutuqty:
  5874. description: 变动量(期货)
  5875. type: number
  5876. diffhedgeqty:
  5877. description: 变动量(现货应套保总量)
  5878. type: number
  5879. diffmgqtya:
  5880. description: 套保变动量
  5881. type: number
  5882. diffmgqtyb:
  5883. description: 套利变动量
  5884. type: number
  5885. diffneedqty:
  5886. description: 应套变动量 = 应套保量 - 期初应套保量 + 应套利量 - 期初应套利量
  5887. type: number
  5888. diffqty:
  5889. description: 变动量(总敞口)
  5890. type: number
  5891. diffspotqty:
  5892. description: 变动量(现货) | 除税变动量
  5893. type: number
  5894. enddate:
  5895. description: 结束交易日
  5896. type: string
  5897. enumdicname:
  5898. description: 单位名称
  5899. type: string
  5900. hedgeqty:
  5901. description: 套保量
  5902. type: number
  5903. mgneedhedgeratio:
  5904. description: 套保比例(套保品的)
  5905. type: number
  5906. middlegoodsid:
  5907. description: 套保品种ID
  5908. type: integer
  5909. middlegoodsname:
  5910. description: 套保商品名称
  5911. type: string
  5912. middlgoodscode:
  5913. description: 套保商品代码
  5914. type: string
  5915. needarbitrageqty:
  5916. description: 应套利量
  5917. type: number
  5918. needarbitrageratio:
  5919. description: 套利比例(套保品的)
  5920. type: number
  5921. needhedgeexposoure:
  5922. description: 应套保敞口(套保敞口)
  5923. type: number
  5924. needhedgeqty:
  5925. description: 应套保量
  5926. type: number
  5927. needhedgeratio:
  5928. description: 应套保敞口比例
  5929. type: number
  5930. needqty:
  5931. description: 应套总量 = 应套保量 + 应套利量
  5932. type: number
  5933. oriarbitrageqty:
  5934. description: 期初套利量
  5935. type: number
  5936. oribuyfutureqty:
  5937. description: 期初买入期货数量
  5938. type: number
  5939. oribuyplanqty:
  5940. description: 期初采购计划数量
  5941. type: number
  5942. oribuypricedqty:
  5943. description: 期初采购合同已定价数量
  5944. type: number
  5945. orihedgeqty:
  5946. description: 期初套保量
  5947. type: number
  5948. orineedarbitrageqty:
  5949. description: 期初应套利量
  5950. type: number
  5951. orineedhedgeexposoure:
  5952. description: 期初应套保敞口
  5953. type: number
  5954. orineedhedgeqty:
  5955. description: 期初应套保量
  5956. type: number
  5957. orisellfutureqty:
  5958. description: 期初卖出期货数量
  5959. type: number
  5960. orisellplanqty:
  5961. description: 期初销售计划数量
  5962. type: number
  5963. orisellpricedqty:
  5964. description: 期初销售合同已定价数量
  5965. type: number
  5966. oritotalexposure:
  5967. description: 期初实时总敞口
  5968. type: number
  5969. oritotalfutureqty:
  5970. description: 期初期货头寸总量
  5971. type: number
  5972. oritotalneedhedgeqty:
  5973. description: 期初应套保总量
  5974. type: number
  5975. oritotalspotqty:
  5976. description: 期初现货头寸总量
  5977. type: number
  5978. reckondate:
  5979. description: 日照时期(yyyyMMdd)
  5980. type: string
  5981. sellfutureqty:
  5982. description: 卖出期货数量
  5983. type: number
  5984. sellplanqty:
  5985. description: 销售计划数量
  5986. type: number
  5987. sellpricedqty:
  5988. description: 销售合同已定价数量
  5989. type: number
  5990. totalexposure:
  5991. description: 实时总敞口(总敞口)
  5992. type: number
  5993. totalfutureqty:
  5994. description: 期货头寸总量(期货总量)
  5995. type: number
  5996. totalhedgeratio:
  5997. description: 敞口比例
  5998. type: number
  5999. totalneedhedgeqty:
  6000. description: 应套保总量(现货应套保总量)
  6001. type: number
  6002. totalspotqty:
  6003. description: 现货头寸总量 | 除税总量
  6004. type: number
  6005. unitid:
  6006. description: 单位id
  6007. type: integer
  6008. updatetime:
  6009. description: 更新时间
  6010. type: string
  6011. type: object
  6012. models.Ermcp3FinanceReport:
  6013. properties:
  6014. accountname:
  6015. description: 机构名称
  6016. type: string
  6017. areauserid:
  6018. description: 所属机构\交易用户ID
  6019. type: integer
  6020. begindate:
  6021. description: 开始交易日
  6022. type: string
  6023. biztype:
  6024. description: 业务类型 - 1:套保 2:套利
  6025. type: integer
  6026. brandname:
  6027. description: 品牌名称
  6028. type: string
  6029. buypreinvoicedamount:
  6030. description: 采购预收票额(预收票额)
  6031. type: number
  6032. buyprepaidamount:
  6033. description: 采购预付款额(预付货款额)
  6034. type: number
  6035. buytodayinvoiceamount:
  6036. description: 采购今收票额(今收票额)
  6037. type: number
  6038. buytodayrefundamount:
  6039. description: 采购今收退款额(今收退款额)
  6040. type: number
  6041. buytodaysettleamount:
  6042. description: 采购今付款额(今付货款额)
  6043. type: number
  6044. buyuninvoicedamount:
  6045. description: 采购应收票额(应收票额)
  6046. type: number
  6047. buyunpaidamount:
  6048. description: 采购应付款额(应付货款额)
  6049. type: number
  6050. currencyid:
  6051. description: 结算币种ID
  6052. type: integer
  6053. currencyname:
  6054. description: 币种名称
  6055. type: string
  6056. cycletime:
  6057. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6058. type: string
  6059. cycletype:
  6060. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6061. type: integer
  6062. deliverygoodscode:
  6063. description: 现货品种代码
  6064. type: string
  6065. deliverygoodsid:
  6066. description: 现货品种ID
  6067. type: integer
  6068. deliverygoodsname:
  6069. description: 现货品种名称
  6070. type: string
  6071. enddate:
  6072. description: 结束交易日
  6073. type: string
  6074. reckondate:
  6075. description: 日照时期(yyyyMMdd)
  6076. type: string
  6077. sellpreinvoicedamount:
  6078. description: 销售预开票额(预开票额)
  6079. type: number
  6080. sellprepaidamount:
  6081. description: 销售预收款额(预收货款额)
  6082. type: number
  6083. selltodayinvoiceamount:
  6084. description: 销售今开票额(今开票额)
  6085. type: number
  6086. selltodayrefundamount:
  6087. description: 销售今付退款额(今付退款额)
  6088. type: number
  6089. selltodaysettleamount:
  6090. description: 销售今收款额(今收货款额)
  6091. type: number
  6092. selluninvoicedamount:
  6093. description: 销售应开票额(应开票额)
  6094. type: number
  6095. sellunpaidamount:
  6096. description: 销售应收款额(应收货款额)
  6097. type: number
  6098. spotgoodsbrandid:
  6099. description: 现货品牌ID
  6100. type: integer
  6101. todaypaysum:
  6102. description: 今付款合计
  6103. type: number
  6104. todayreceivesum:
  6105. description: 今收款合计
  6106. type: number
  6107. updatetime:
  6108. description: 更新时间
  6109. type: string
  6110. wrfactortypeid:
  6111. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  6112. type: integer
  6113. wrstandardcode:
  6114. description: 品类代码
  6115. type: string
  6116. wrstandardid:
  6117. description: 现货商品ID
  6118. type: integer
  6119. wrstandardname:
  6120. description: 品类名称
  6121. type: string
  6122. type: object
  6123. models.Ermcp3GoodsGroup:
  6124. properties:
  6125. agreeunit:
  6126. description: 合约单位
  6127. type: number
  6128. areauserid:
  6129. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  6130. type: integer
  6131. canshort:
  6132. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  6133. type: integer
  6134. closepricemode:
  6135. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  6136. type: integer
  6137. createtime:
  6138. description: 创建时间
  6139. type: string
  6140. creatorid:
  6141. description: 创建人
  6142. type: integer
  6143. currencyid:
  6144. description: 报价货币ID
  6145. type: integer
  6146. decimalplace:
  6147. description: 报价小数位
  6148. type: integer
  6149. enumdicname:
  6150. description: 单位名称
  6151. type: string
  6152. exchangefullname:
  6153. description: 交易所全称
  6154. type: string
  6155. excludecfg:
  6156. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  6157. type: integer
  6158. exexchangecode:
  6159. description: 交易所代码
  6160. type: string
  6161. exexchangeid:
  6162. description: 外部交易所ID[通道交易]
  6163. type: integer
  6164. exexchangename:
  6165. description: 交易所名称
  6166. type: string
  6167. goodsgroupid:
  6168. description: 商品组ID(自增ID)
  6169. type: integer
  6170. goodsgroupname:
  6171. description: 商品组名称
  6172. type: string
  6173. goodsgroupstatus:
  6174. description: 商品组状态 - 1:正常 2:注销
  6175. type: integer
  6176. goodunitid:
  6177. description: 报价单位ID
  6178. type: integer
  6179. groupcategroyid:
  6180. description: 品种分类ID
  6181. type: integer
  6182. innerdealmode:
  6183. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  6184. type: integer
  6185. marketid:
  6186. description: 所属市场ID
  6187. type: integer
  6188. modifierid:
  6189. description: 修改人
  6190. type: integer
  6191. modifytime:
  6192. description: 修改时间
  6193. type: string
  6194. outerdealmode:
  6195. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  6196. type: integer
  6197. outergroupcode:
  6198. description: 外部商品组代码[通道交易]
  6199. type: string
  6200. quoteminunit:
  6201. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6202. type: integer
  6203. quotesourcegroupid:
  6204. description: 所属行情源分组ID[参考行情市场用\通道交易]
  6205. type: integer
  6206. syncgoodsqty:
  6207. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  6208. type: integer
  6209. required:
  6210. - areauserid
  6211. type: object
  6212. models.Ermcp3HPMiddleGoods:
  6213. properties:
  6214. biztype:
  6215. description: 业务类型 1:套保 2:套利
  6216. type: integer
  6217. contracttype:
  6218. description: 合同类型 1:采购 -1:销售
  6219. type: integer
  6220. convertratio:
  6221. description: 折算系数
  6222. type: number
  6223. customername:
  6224. description: 对手手名称
  6225. type: string
  6226. customeruserid:
  6227. description: 对手id
  6228. type: integer
  6229. enumdicname:
  6230. description: 现货单位名称
  6231. type: string
  6232. hedgeplanid:
  6233. description: 计划id
  6234. type: string
  6235. hedgeplanno:
  6236. description: 计划编号
  6237. type: string
  6238. middlegoodsid:
  6239. description: 套保品种ID
  6240. type: integer
  6241. middlegoodsplanqty3:
  6242. description: 应套保计划量
  6243. type: number
  6244. needhedgeratio:
  6245. description: 套保比例
  6246. type: number
  6247. pricedqty:
  6248. description: 已定价量
  6249. type: number
  6250. relatedmiddlegoodsqty:
  6251. description: 已关联量(套保品种)(期货)
  6252. type: number
  6253. unitid:
  6254. description: 现货单位id
  6255. type: integer
  6256. userid:
  6257. description: 用户id
  6258. type: integer
  6259. vatrate:
  6260. description: 增值税率
  6261. type: number
  6262. wrstandardcode:
  6263. description: 现货商品代码
  6264. type: string
  6265. wrstandardid:
  6266. description: 现货商品id
  6267. type: integer
  6268. wrstandardname:
  6269. description: 现货商品名称
  6270. type: string
  6271. type: object
  6272. models.Ermcp3HedgePlan:
  6273. properties:
  6274. accountid:
  6275. description: 资金账号
  6276. type: integer
  6277. areauserid:
  6278. description: 用户ID
  6279. type: integer
  6280. auditid:
  6281. description: 审核id
  6282. type: integer
  6283. auditname:
  6284. description: 审核人名称
  6285. type: string
  6286. auditremark:
  6287. description: 审核备注
  6288. type: string
  6289. auditsrc:
  6290. description: 审核来源 1-管理端 2-终端
  6291. type: integer
  6292. audittime:
  6293. description: 审核时间
  6294. type: string
  6295. contracttype:
  6296. description: 计划类型 - 1:采购 -1:销售
  6297. type: integer
  6298. convertfactor:
  6299. description: 标仓系数
  6300. type: number
  6301. createtime:
  6302. description: 创建时间
  6303. type: string
  6304. currencyid:
  6305. description: 币种id
  6306. type: integer
  6307. currencyname:
  6308. description: 币种名称
  6309. type: string
  6310. deliverygoodscode:
  6311. description: 现货品种代码
  6312. type: string
  6313. deliverygoodsid:
  6314. description: 现货品种ID
  6315. type: integer
  6316. deliverygoodsname:
  6317. description: 现货品种名称
  6318. type: string
  6319. enumdicname:
  6320. description: 单位名称(现货商品)
  6321. type: string
  6322. hedgeplanid:
  6323. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  6324. type: string
  6325. hedgeplanno:
  6326. description: 套保计划编号(名称)
  6327. type: string
  6328. hedgeplanstatus:
  6329. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6330. type: integer
  6331. planqty:
  6332. description: 计划数量
  6333. type: number
  6334. plantime:
  6335. description: 计划时间
  6336. type: string
  6337. producttype:
  6338. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6339. type: integer
  6340. remark:
  6341. description: 备注
  6342. type: string
  6343. spotgoodsdesc:
  6344. description: 商品型号
  6345. type: string
  6346. taaccountname:
  6347. description: 资金账号名称
  6348. type: string
  6349. tradeuserid:
  6350. description: 交易用户id
  6351. type: integer
  6352. tradeusername:
  6353. description: 交易用户名称
  6354. type: string
  6355. unitid:
  6356. description: 单位id(现货商品)
  6357. type: integer
  6358. updatetime:
  6359. description: 更新时间
  6360. type: string
  6361. vatrate:
  6362. description: 增值税率
  6363. type: number
  6364. wrstandardcode:
  6365. description: 品类代码
  6366. type: string
  6367. wrstandardid:
  6368. description: 品类id
  6369. type: integer
  6370. wrstandardname:
  6371. description: 品类名称
  6372. type: string
  6373. wrunitid:
  6374. description: 品类单位id
  6375. type: integer
  6376. wrunitidame:
  6377. description: 品类单位名称
  6378. type: string
  6379. type: object
  6380. models.Ermcp3InnerTradeLink:
  6381. properties:
  6382. accountid:
  6383. description: 期货账号代码 | 资金账号ID
  6384. type: integer
  6385. buyorsell:
  6386. description: 方向 - 0:买 1:卖
  6387. type: integer
  6388. channelbuildtype:
  6389. description: 委托单据类型 0:无 1:建仓 2:平仓
  6390. type: integer
  6391. currencyid:
  6392. description: 币种id
  6393. type: integer
  6394. currencyname:
  6395. description: 结算币种 名称
  6396. type: string
  6397. goodscode:
  6398. description: 商品代码
  6399. type: string
  6400. goodsid:
  6401. description: 商品ID
  6402. type: integer
  6403. goodsname:
  6404. description: 商品名称
  6405. type: string
  6406. outtradeid:
  6407. description: 外部成交单号
  6408. type: string
  6409. taname:
  6410. description: 期货账户名称
  6411. type: string
  6412. tradeid:
  6413. description: 期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6414. type: string
  6415. tradeprice:
  6416. description: 成交价格
  6417. type: number
  6418. tradeqty:
  6419. description: 期货成交数量
  6420. type: integer
  6421. tradetime:
  6422. description: 关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间
  6423. type: string
  6424. username:
  6425. description: 用户名称
  6426. type: string
  6427. type: object
  6428. models.Ermcp3OutTradeLink:
  6429. properties:
  6430. buyorsell:
  6431. description: 买卖方向 - 0:买 1:卖
  6432. type: integer
  6433. channelbuildtype:
  6434. description: 开平标志- 0:无 1:建仓 2:平仓
  6435. type: integer
  6436. currencyname:
  6437. description: 币种名称
  6438. type: string
  6439. exexchangecode:
  6440. description: 交易所代码
  6441. type: string
  6442. exexchangename:
  6443. description: 交易所名称
  6444. type: string
  6445. goodscode:
  6446. description: 合约代码
  6447. type: string
  6448. goodsid:
  6449. description: 合约id
  6450. type: integer
  6451. goodsname:
  6452. description: 合约名称
  6453. type: string
  6454. hasinnerorder:
  6455. description: 是否有内部单关联 - 0:无 1:有
  6456. type: integer
  6457. hedgeaccountcode:
  6458. description: 外部账号 | 对冲账号
  6459. type: string
  6460. outtradeid:
  6461. description: 外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6462. type: string
  6463. tradeprice:
  6464. description: 成交价格
  6465. type: number
  6466. tradeqty:
  6467. description: 成交数量
  6468. type: integer
  6469. tradetime:
  6470. description: 成交时间
  6471. type: string
  6472. type: object
  6473. models.Ermcp3PaAreaAuditCfg:
  6474. properties:
  6475. areauserid:
  6476. description: 用户ID
  6477. type: integer
  6478. buyinauditflag:
  6479. description: 采购入库是否需要审核 - 0:不需审核 1:需要审核
  6480. type: integer
  6481. costratioauditflag:
  6482. description: 现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核
  6483. type: integer
  6484. customerauditflag:
  6485. description: 客户资料是否需要审核 - 0:不需审核 1:需要审核
  6486. type: integer
  6487. deliveryauditflag:
  6488. description: 交收是否需要审核 - 0:不需审核 1:需要审核
  6489. type: integer
  6490. invoiceauditflag:
  6491. description: 发票是否需要审核 - 0:不需审核 1:需要审核
  6492. type: integer
  6493. mgneedhedgeratioauditflag:
  6494. description: 套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核
  6495. type: integer
  6496. moneyauditflag:
  6497. description: 款项是否需要审核 - 0:不需审核 1:需要审核
  6498. type: integer
  6499. operatorid:
  6500. description: 操作人
  6501. type: integer
  6502. operatorsrc:
  6503. description: 操作来源 - 1:管理端 2:终端
  6504. type: integer
  6505. pointpriceauditflag:
  6506. description: 点价是否需要审核 - 0:不需审核 1:需要审核
  6507. type: integer
  6508. produceinauditflag:
  6509. description: 生产入库是否需要审核 - 0:不需审核 1:需要审核
  6510. type: integer
  6511. produceoutauditflag:
  6512. description: 生产出库是否需要审核 - 0:不需审核 1:需要审核
  6513. type: integer
  6514. selloutauditflag:
  6515. description: 销售出库是否需要审核 - 0:不需审核 1:需要审核
  6516. type: integer
  6517. sgconvertratioauditflag:
  6518. description: 现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核
  6519. type: integer
  6520. sgvtaratioauditflag:
  6521. description: 现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核
  6522. type: integer
  6523. spotcontractauditflag:
  6524. description: 现货合同是否需要审核 - 0:不需审核 1:需要审核
  6525. type: integer
  6526. updatetime:
  6527. description: 更新时间
  6528. type: string
  6529. type: object
  6530. models.Ermcp3PaAreaSubject:
  6531. properties:
  6532. areauserid:
  6533. description: 所属机构
  6534. type: integer
  6535. canmodify:
  6536. description: 是否可修改 - 0:否 1:是
  6537. type: integer
  6538. createtime:
  6539. description: 创建时间
  6540. type: string
  6541. creatorid:
  6542. description: 创建人ID
  6543. type: string
  6544. creatorsrc:
  6545. description: 创建人来源 - 1:管理端 2:终端 3:交易
  6546. type: integer
  6547. modifierid:
  6548. description: 修改人
  6549. type: string
  6550. modifiersrc:
  6551. description: 修改人来源 - 1:管理端 2:终端
  6552. type: integer
  6553. modifytime:
  6554. description: 修改时间
  6555. type: string
  6556. parentsubjectid:
  6557. description: 上级主体ID
  6558. type: string
  6559. remark:
  6560. description: 备注
  6561. type: string
  6562. subjectid:
  6563. description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  6564. type: integer
  6565. subjectname:
  6566. description: 主体名称
  6567. type: string
  6568. subjectstatus:
  6569. description: '主体状态 - 1:正常 2: 停用'
  6570. type: integer
  6571. subjecttype:
  6572. description: 主体类型 - 1:交易主体 2:业务部门
  6573. type: integer
  6574. type: object
  6575. models.Ermcp3PaTradeLink:
  6576. properties:
  6577. accountid:
  6578. description: 期货账户代码 | 账号ID
  6579. type: integer
  6580. agreeunit:
  6581. description: 合约乘数
  6582. type: number
  6583. buyorsell:
  6584. description: 方向 - 0:买 1:卖
  6585. type: integer
  6586. channelbuildtype:
  6587. description: 委托单据类型 0:无 1:建仓 2:平仓
  6588. type: integer
  6589. charge:
  6590. description: 手续费
  6591. type: number
  6592. closepl:
  6593. description: 平仓盈亏
  6594. type: number
  6595. closetype:
  6596. description: 平仓方式 - 0:无 1:平今 2:平昨
  6597. type: integer
  6598. convertratio:
  6599. description: 折算系数
  6600. type: number
  6601. enumdicname:
  6602. description: 单位名称
  6603. type: string
  6604. executeprice:
  6605. description: 执行价 [期权]
  6606. type: integer
  6607. goodscode:
  6608. description: 合约代码
  6609. type: string
  6610. goodsgroupid:
  6611. description: 对冲品种ID[期货合约商品组ID]
  6612. type: integer
  6613. goodsid:
  6614. description: 商品ID
  6615. type: integer
  6616. goodsname:
  6617. description: 合约名称
  6618. type: string
  6619. goodunitid:
  6620. description: 单位id
  6621. type: integer
  6622. hedgeflag:
  6623. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  6624. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  6625. type: integer
  6626. marketid:
  6627. description: 市场ID
  6628. type: integer
  6629. middlegoodsid:
  6630. description: 套保品种ID
  6631. type: integer
  6632. middlegoodsqty:
  6633. description: 套保品种数量 = TradeQty * AgreeUnit * ConvertRatio
  6634. type: number
  6635. optioncode:
  6636. description: 期权代码 [期权]
  6637. type: string
  6638. ordertype:
  6639. description: 单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单
  6640. type: integer
  6641. ordertypename:
  6642. description: 订单类型
  6643. type: string
  6644. parentaccountid:
  6645. description: 所属母账户
  6646. type: integer
  6647. premium:
  6648. description: 权利金 [期权]
  6649. type: number
  6650. relatedlot:
  6651. description: 已关联数量(已关联数量手) | db:关联手数
  6652. type: number
  6653. relatedouttradeid:
  6654. description: 关联外部成交单ID
  6655. type: string
  6656. relatedqty:
  6657. description: 关联数量
  6658. type: number
  6659. spotcontractid:
  6660. description: 现货合同ID [4:套期保值\10\11]
  6661. type: string
  6662. taname:
  6663. description: 期货账户名称
  6664. type: string
  6665. tradeamount:
  6666. description: 成交金额(账户)
  6667. type: number
  6668. tradedate:
  6669. description: 交易日(yyyyMMdd)
  6670. type: string
  6671. tradeid:
  6672. description: 期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6673. type: string
  6674. tradelot:
  6675. description: 成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数
  6676. type: integer
  6677. tradeprice:
  6678. description: 成交价格
  6679. type: number
  6680. tradetime:
  6681. description: 时间 | db:成交时间
  6682. type: string
  6683. tradetype:
  6684. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  6685. type: integer
  6686. userid:
  6687. description: 所属机构 - 所属母账户的UserID
  6688. type: string
  6689. username:
  6690. description: 用户名称
  6691. type: string
  6692. type: object
  6693. models.Ermcp3ParamChangeApp:
  6694. properties:
  6695. aftervalue:
  6696. description: 变更后
  6697. type: number
  6698. applicationid:
  6699. description: 申请ID(619+Unix秒时间戳(10位)+xxxxxx)
  6700. type: string
  6701. applyid:
  6702. description: 申请人
  6703. type: string
  6704. applyname:
  6705. description: 申请人名称(代码)
  6706. type: string
  6707. applyremark:
  6708. description: 申请备注
  6709. type: string
  6710. applysrc:
  6711. description: 申请来源 - 1:管理端 2:终端
  6712. type: integer
  6713. applystatus:
  6714. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  6715. type: integer
  6716. applytime:
  6717. description: 申请时间
  6718. type: string
  6719. areauserid:
  6720. description: 所属机构用户ID
  6721. type: integer
  6722. auditid:
  6723. description: 审核人
  6724. type: string
  6725. auditname:
  6726. description: 审核人名称(代码)
  6727. type: string
  6728. auditremark:
  6729. description: 审核备注
  6730. type: string
  6731. auditsrc:
  6732. description: 审核来源 - 1:管理端 2:终端
  6733. type: integer
  6734. audittime:
  6735. description: 审核时间
  6736. type: string
  6737. audittradedate:
  6738. description: 审核交易日(yyyyMMdd)
  6739. type: string
  6740. beforevalue:
  6741. description: 变更前
  6742. type: number
  6743. deliverygoodscode:
  6744. description: 品种代码
  6745. type: string
  6746. deliverygoodsid:
  6747. description: 品种id
  6748. type: integer
  6749. deliverygoodsname:
  6750. description: 品种名称
  6751. type: string
  6752. middlegoodscode:
  6753. description: 套保品种代码
  6754. type: string
  6755. middlegoodsid:
  6756. description: 套保品种ID [ParamChangeType = 2,3,4]
  6757. type: integer
  6758. middlegoodsname:
  6759. description: 套保品种名称
  6760. type: string
  6761. operatetype:
  6762. description: 操作类型 - 1:新增 2:修改
  6763. type: integer
  6764. paramchangetype:
  6765. description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  6766. type: integer
  6767. wrstandardcode:
  6768. description: 现货商品代码
  6769. type: string
  6770. wrstandardid:
  6771. description: 现货商品ID [ParamChangeType = 1,2,3]
  6772. type: integer
  6773. wrstandardname:
  6774. description: 现货商品名称
  6775. type: string
  6776. type: object
  6777. models.Ermcp3RootUserAccount:
  6778. properties:
  6779. accountname:
  6780. description: 账户名称(机构名称)
  6781. type: string
  6782. accountstatus:
  6783. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6784. type: integer
  6785. applysrc:
  6786. description: 申请来源 - 1:管理端 2:终端
  6787. type: integer
  6788. auditremark:
  6789. description: 审核备注
  6790. type: string
  6791. auditsrc:
  6792. description: 审核来源 - 1:管理端 2:终端
  6793. type: integer
  6794. audittime:
  6795. description: 审核时间
  6796. type: string
  6797. audituserid:
  6798. description: 审核人
  6799. type: integer
  6800. broker:
  6801. description: 所属经纪人ID
  6802. type: integer
  6803. canceltime:
  6804. description: 销户时间
  6805. type: string
  6806. canceluserid:
  6807. description: 销户人
  6808. type: integer
  6809. canrecommend:
  6810. description: 是否可推荐 - 0:不可 1;可
  6811. type: integer
  6812. createtime:
  6813. description: 创建时间
  6814. type: string
  6815. creatorid:
  6816. description: 创建人
  6817. type: integer
  6818. hasauth:
  6819. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  6820. type: integer
  6821. isanonymous:
  6822. description: 是否匿名下单 - 0:否 1:是
  6823. type: integer
  6824. maxinvestornum:
  6825. description: 最大用户数(经纪会员下投资者个数)
  6826. type: integer
  6827. memberuserid:
  6828. description: 所属会员ID
  6829. type: integer
  6830. modifierid:
  6831. description: 修改人
  6832. type: integer
  6833. modifyremark:
  6834. description: 变更备注
  6835. type: string
  6836. modifystatus:
  6837. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  6838. type: integer
  6839. modifytime:
  6840. description: 修改时间
  6841. type: string
  6842. nickname:
  6843. description: 昵称
  6844. type: string
  6845. parenttopuser:
  6846. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  6847. type: string
  6848. parentuserid:
  6849. description: 所属机构ID
  6850. type: integer
  6851. reckonaccountid:
  6852. description: 默认结算资金账号ID(机构分润使用) 作废
  6853. type: integer
  6854. refercount:
  6855. description: 推荐总人数
  6856. type: integer
  6857. refereeuserid:
  6858. description: 推荐人ID
  6859. type: integer
  6860. refernum:
  6861. description: 推荐码
  6862. type: string
  6863. rootuserid:
  6864. description: 根用户ID
  6865. type: integer
  6866. subaccountlevel:
  6867. description: 子账户层数
  6868. type: integer
  6869. subarealevelpath:
  6870. description: 子机构层级路径(逗号分隔,首尾加逗号)
  6871. type: string
  6872. userid:
  6873. description: 用户ID
  6874. type: integer
  6875. usertype:
  6876. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6877. type: integer
  6878. type: object
  6879. models.Ermcp3SCMiddleGoods:
  6880. properties:
  6881. biztype:
  6882. description: 业务类型 1:套保 2:套利
  6883. type: integer
  6884. contractno:
  6885. description: 合同编号
  6886. type: string
  6887. contracttype:
  6888. description: 合同类型 1:采购 -1:销售
  6889. type: integer
  6890. convertratio:
  6891. description: 折算系数
  6892. type: number
  6893. customername:
  6894. description: 对手手名称
  6895. type: string
  6896. customeruserid:
  6897. description: 对手id
  6898. type: integer
  6899. deliverygoodscode:
  6900. description: 现货品种代码
  6901. type: string
  6902. deliverygoodsid:
  6903. description: 现货品种ID
  6904. type: integer
  6905. deliverygoodsname:
  6906. description: 现货品种名称
  6907. type: string
  6908. enumdicname:
  6909. description: 现货单位名称
  6910. type: string
  6911. middlegoodsid:
  6912. description: 套保品种ID
  6913. type: integer
  6914. middlegoodspricedqty3:
  6915. description: 应套保数量 = MiddleGoodsPricedQty2 * 套保比率
  6916. type: number
  6917. needhedgeratio:
  6918. description: 套保比例
  6919. type: number
  6920. pricedqty:
  6921. description: 已定价量
  6922. type: number
  6923. relatedmiddlegoodsqty:
  6924. description: 已关联量(套保品种)(期货)
  6925. type: number
  6926. spotcontractid:
  6927. description: 合同编号
  6928. type: string
  6929. unitid:
  6930. description: 现货单位id
  6931. type: integer
  6932. userid:
  6933. description: 用户id
  6934. type: integer
  6935. vatrate:
  6936. description: 增值税率
  6937. type: number
  6938. wrstandardcode:
  6939. description: 现货商品代码
  6940. type: string
  6941. wrstandardid:
  6942. description: 现货商品id
  6943. type: integer
  6944. wrstandardname:
  6945. description: 现货商品名称
  6946. type: string
  6947. type: object
  6948. models.Ermcp3SCMiddleGoodsReport:
  6949. properties:
  6950. begindate:
  6951. description: 开始交易日
  6952. type: string
  6953. contractno:
  6954. description: 合同编号
  6955. type: string
  6956. contracttype:
  6957. description: 合同类型 1:采购 -1:销售
  6958. type: integer
  6959. convertratio:
  6960. description: 折算系数
  6961. type: number
  6962. cycletime:
  6963. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6964. type: string
  6965. cycletype:
  6966. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6967. type: integer
  6968. deliverygoodscode:
  6969. description: 品种代码
  6970. type: string
  6971. deliverygoodsid:
  6972. description: 现货品种ID
  6973. type: integer
  6974. deliverygoodsname:
  6975. description: 品种名称
  6976. type: string
  6977. diffprice:
  6978. description: 现期价格差 = 今日点价登记均价(基价) - 今日期货成交均价
  6979. type: number
  6980. diffqty:
  6981. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  6982. type: number
  6983. enddate:
  6984. description: 结束交易日
  6985. type: string
  6986. hedgeplanqty:
  6987. description: 套保计划量 = TodayPricedQty * 折算系数 * (1/(1+增值税率)) * 套保比例
  6988. type: number
  6989. matchname:
  6990. description: 交易对手方(个人:用户名称 企业:简称)
  6991. type: string
  6992. matchnickname:
  6993. description: 交易对手方昵称
  6994. type: string
  6995. middlegoodscode:
  6996. description: 套保品种代码
  6997. type: string
  6998. middlegoodsid:
  6999. description: 套保品种ID
  7000. type: integer
  7001. middlegoodsname:
  7002. description: 套保品种名称
  7003. type: string
  7004. middlegoodspricedqty:
  7005. description: 已定价量(套保品种 - 税前) = PricedQty * 折算系数
  7006. type: number
  7007. middlegoodspricedqty2:
  7008. description: 已定价量(套保品种- 税后) = MiddleGoodsPricedQty * (1/(1+增值税率))
  7009. type: number
  7010. middlegoodspricedqty3:
  7011. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  7012. type: number
  7013. needhedgeratio:
  7014. description: 套保系数
  7015. type: number
  7016. pricedamount:
  7017. description: 已定价额(现货)
  7018. type: number
  7019. pricedamount2:
  7020. description: 已定价额(现货-基价额)
  7021. type: number
  7022. pricedqty:
  7023. description: 已定价量(现货)
  7024. type: number
  7025. reckondate:
  7026. description: 日照时期(yyyyMMdd)
  7027. type: string
  7028. relatedmiddlegoodsamount:
  7029. description: 已关联额(期货)
  7030. type: number
  7031. relatedmiddlegoodsqty:
  7032. description: 已关联量(套保品种)(期货)
  7033. type: number
  7034. spotcontractid:
  7035. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  7036. type: string
  7037. todayavgfutuprice:
  7038. description: 今日期货成交均价 = TodayRelatedMiddleGoodsAmount /todayrelatedfutureqty
  7039. type: number
  7040. todayavgprice:
  7041. description: 今日定价均价 = TodayPricedAmount / TodayPricedQty
  7042. type: number
  7043. todayavgprice2:
  7044. description: 今日点价登记均价(基价) = TodayPricedAmount2 / TodayPricedQty
  7045. type: number
  7046. todaypricedamount:
  7047. description: 今日定价额(现货)
  7048. type: number
  7049. todaypricedamount2:
  7050. description: 今日定价额(现货-基价额)
  7051. type: number
  7052. todaypricedqty:
  7053. description: 今日定价量(现货)
  7054. type: number
  7055. todayrelatedfutureqty:
  7056. description: 今日关联量(期货)
  7057. type: number
  7058. todayrelatedmiddlegoodsamount:
  7059. description: 今日关联额(期货)
  7060. type: number
  7061. todayrelatedmiddlegoodsqty:
  7062. description: 今日关联量(套保品-期货)
  7063. type: number
  7064. updatetime:
  7065. description: 更新时间
  7066. type: string
  7067. userid:
  7068. description: 合同所属用户id
  7069. type: integer
  7070. vatrate:
  7071. description: 增值税率
  7072. type: number
  7073. wrstandardcode:
  7074. description: 商品(品类) 代码
  7075. type: string
  7076. wrstandardid:
  7077. description: 现货商品ID
  7078. type: integer
  7079. wrstandardname:
  7080. description: 商品(品类) 名称
  7081. type: string
  7082. type: object
  7083. models.Ermcp3SellBuyContract:
  7084. properties:
  7085. accountid:
  7086. description: 期货账户id
  7087. type: string
  7088. accountname:
  7089. description: 账户名称
  7090. type: string
  7091. attachment:
  7092. description: 附件
  7093. type: string
  7094. audittime:
  7095. description: 审核时间
  7096. type: string
  7097. bizsubjectid:
  7098. description: 归属业务部门ID - SubjectID
  7099. type: integer
  7100. biztype:
  7101. description: 业务类型 1-套保 2-套利
  7102. type: integer
  7103. brandname:
  7104. description: 品牌名称
  7105. type: string
  7106. contracctstatus:
  7107. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  7108. type: integer
  7109. contractmargin:
  7110. description: 合同保证金
  7111. type: number
  7112. contractno:
  7113. description: 合同编号
  7114. type: string
  7115. contracttype:
  7116. description: 合同类型 1-采购, -1-销售
  7117. type: integer
  7118. convertfactor:
  7119. description: 标仓系数(品类)
  7120. type: number
  7121. createtime:
  7122. description: 创建时间
  7123. type: string
  7124. currencyid:
  7125. description: 币种id
  7126. type: integer
  7127. currencyname:
  7128. description: 币种名称
  7129. type: string
  7130. daikaiamount:
  7131. description: 应收(开)票额 | 未收票额
  7132. type: number
  7133. deliveryenddate:
  7134. description: 交割结束日
  7135. type: string
  7136. deliverygoodscode:
  7137. description: 现货品种代码
  7138. type: string
  7139. deliverygoodsid:
  7140. description: 现货商品ID
  7141. type: integer
  7142. deliverygoodsname:
  7143. description: 现货品种名称
  7144. type: string
  7145. deliverystartdate:
  7146. description: 交割开始日
  7147. type: string
  7148. enddate:
  7149. description: 点价结束日
  7150. type: string
  7151. enumdicname:
  7152. description: 单位名称
  7153. type: string
  7154. goodscode:
  7155. description: 点价商品代码
  7156. type: string
  7157. goodsgroupid:
  7158. description: 点价商品组id
  7159. type: integer
  7160. goodsid:
  7161. description: 点价商品ID
  7162. type: integer
  7163. goodsname:
  7164. description: 点价商品名称
  7165. type: string
  7166. invoiceamount:
  7167. description: 已开票额
  7168. type: number
  7169. loanamount:
  7170. description: 贷款总额=已定价额+调整金额
  7171. type: number
  7172. margin:
  7173. description: 保证金
  7174. type: number
  7175. meruserid:
  7176. description: 跟单员id
  7177. type: integer
  7178. meruserlogincode:
  7179. description: 跟单员登录代码
  7180. type: string
  7181. merusername:
  7182. description: 跟单员名称
  7183. type: string
  7184. nickname:
  7185. description: 账户昵称
  7186. type: string
  7187. orireckonrealqty:
  7188. description: 应交收量
  7189. type: number
  7190. payamount:
  7191. description: 已收付额(收款或付款)
  7192. type: number
  7193. preinvoiceamount:
  7194. description: 预收(开)票额
  7195. type: number
  7196. prepayamount:
  7197. description: 预收付额
  7198. type: number
  7199. price:
  7200. description: 价格
  7201. type: number
  7202. pricedamount:
  7203. description: 已定价额
  7204. type: number
  7205. pricedavg:
  7206. description: 已点均价
  7207. type: number
  7208. pricedqty:
  7209. description: 已定价量
  7210. type: number
  7211. pricemove:
  7212. description: 升贴水
  7213. type: number
  7214. pricetype:
  7215. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  7216. type: integer
  7217. producttype:
  7218. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  7219. type: integer
  7220. qty:
  7221. description: 合同量
  7222. type: number
  7223. reckonadjustamount:
  7224. description: 调整金额
  7225. type: number
  7226. reckonedamount:
  7227. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  7228. type: number
  7229. reckonotheramount:
  7230. description: 其它费用
  7231. type: number
  7232. reckonrealqty:
  7233. description: 已交收量
  7234. type: number
  7235. remark:
  7236. description: 备注
  7237. type: string
  7238. saleuserid:
  7239. description: 业务员id
  7240. type: integer
  7241. saleuserlogincode:
  7242. description: 业务员登录代码
  7243. type: string
  7244. saleusername:
  7245. description: 业务员名称
  7246. type: string
  7247. spotcontractid:
  7248. description: 合同ID
  7249. type: string
  7250. spotgoodsbrandid:
  7251. description: 现货品牌ID(DGFactoryItem表的ID)
  7252. type: integer
  7253. spotgoodsdesc:
  7254. description: 商品型号(商品规格)
  7255. type: string
  7256. startdate:
  7257. description: 点价开始日
  7258. type: string
  7259. subjectid:
  7260. description: 交易主体ID
  7261. type: integer
  7262. subjectname:
  7263. description: 交易主体名称
  7264. type: string
  7265. totalamount:
  7266. description: 合计总额
  7267. type: number
  7268. tradeuserid:
  7269. description: 交易员id
  7270. type: integer
  7271. tradeuserlogincode:
  7272. description: 交易员登录代码
  7273. type: string
  7274. tradeusername:
  7275. description: 交易员名称
  7276. type: string
  7277. unpayamount:
  7278. description: 应收付款额(应支付或应收款) | 未付款额
  7279. type: number
  7280. unpricedqty:
  7281. description: 未定价量
  7282. type: number
  7283. unsureqty:
  7284. description: 未确定量 | 未交收量
  7285. type: number
  7286. userid:
  7287. description: 机构ID
  7288. type: integer
  7289. vatrate:
  7290. description: 增值税率
  7291. type: number
  7292. wrstandardcode:
  7293. description: 品类代码
  7294. type: string
  7295. wrstandardid:
  7296. description: 品类ID
  7297. type: integer
  7298. wrstandardname:
  7299. description: 品类名称
  7300. type: string
  7301. type: object
  7302. models.Ermcp3SpotGoodsPrice:
  7303. properties:
  7304. areauserid:
  7305. description: 所属机构id
  7306. type: integer
  7307. brandname:
  7308. description: 品牌名称
  7309. type: string
  7310. currencyid:
  7311. description: 报价货币ID
  7312. type: integer
  7313. currencyname:
  7314. description: 币种名称
  7315. type: string
  7316. deliverygoodscode:
  7317. description: 现货商品代码
  7318. type: string
  7319. deliverygoodsid:
  7320. description: 现货商品id
  7321. type: integer
  7322. deliverygoodsname:
  7323. description: 现货商品名称
  7324. type: string
  7325. enumdicname:
  7326. description: 现货商品单位名称
  7327. type: string
  7328. gbenumdicname:
  7329. description: 品类单位名称
  7330. type: string
  7331. gmunitid:
  7332. description: 品类单位id
  7333. type: integer
  7334. isvalid:
  7335. description: 是否有效 - 0:无效 1:有效
  7336. type: integer
  7337. operateid:
  7338. description: 最后操作人
  7339. type: integer
  7340. operatesrc:
  7341. description: 最后操作来源 - 1:管理端 2:终端
  7342. type: integer
  7343. operatetime:
  7344. description: 最后操作时间
  7345. type: string
  7346. operatorname:
  7347. description: 操作人名称
  7348. type: string
  7349. spotgoodsbrandid:
  7350. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  7351. type: integer
  7352. spotgoodsprice:
  7353. description: 现货价格
  7354. type: number
  7355. tradedate:
  7356. description: 交易日(yyyyMMdd)
  7357. type: string
  7358. unitid:
  7359. description: 现货商品单位id
  7360. type: integer
  7361. wrstandardcode:
  7362. description: 品类代码
  7363. type: string
  7364. wrstandardid:
  7365. description: 现货品类ID(通用则为0)
  7366. type: integer
  7367. wrstandardname:
  7368. description: 品类名称
  7369. type: string
  7370. type: object
  7371. models.Ermcp3SpotGoodsPriceLog:
  7372. properties:
  7373. areauserid:
  7374. description: 所属机构id
  7375. type: integer
  7376. brandname:
  7377. description: 品牌名称
  7378. type: string
  7379. currencyid:
  7380. description: 报价货币ID
  7381. type: integer
  7382. deliverygoodscode:
  7383. description: 现货商品代码
  7384. type: string
  7385. deliverygoodsid:
  7386. description: 现货商品id
  7387. type: integer
  7388. deliverygoodsname:
  7389. description: 现货商品名称
  7390. type: string
  7391. enumdicname:
  7392. description: 现货商品单位名称
  7393. type: string
  7394. gbenumdicname:
  7395. description: 品类单位名称
  7396. type: string
  7397. gmunitid:
  7398. description: 品类单位id
  7399. type: integer
  7400. logid:
  7401. description: 日志id
  7402. type: integer
  7403. operateid:
  7404. description: 最后操作人
  7405. type: integer
  7406. operatesrc:
  7407. description: 最后操作来源 - 1:管理端 2:终端
  7408. type: integer
  7409. operatetime:
  7410. description: 最后操作时间
  7411. type: string
  7412. operatorname:
  7413. description: 操作人名称
  7414. type: string
  7415. spotgoodsbrandid:
  7416. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  7417. type: integer
  7418. spotgoodsprice:
  7419. description: 现货价格
  7420. type: number
  7421. tradedate:
  7422. description: 交易日(yyyyMMdd)
  7423. type: string
  7424. unitid:
  7425. description: 现货商品单位id
  7426. type: integer
  7427. wrstandardcode:
  7428. description: 品类代码
  7429. type: string
  7430. wrstandardid:
  7431. description: 现货品类ID(通用则为0)
  7432. type: integer
  7433. wrstandardname:
  7434. description: 品类名称
  7435. type: string
  7436. type: object
  7437. models.Ermcp3SubTaaccount:
  7438. properties:
  7439. accountid:
  7440. description: 资金账户ID
  7441. type: integer
  7442. parentaccountcode:
  7443. description: 所属根账号代码(母账号代码)
  7444. type: string
  7445. parentaccountid:
  7446. description: 所属根账号(母账号)
  7447. type: integer
  7448. taname:
  7449. description: 资金账号名称
  7450. type: string
  7451. tradestatus:
  7452. description: 交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)
  7453. type: integer
  7454. username:
  7455. description: 交易用户
  7456. type: string
  7457. type: object
  7458. models.Ermcp3TaFutuReDataReport:
  7459. properties:
  7460. accountid:
  7461. description: 交易账户
  7462. type: integer
  7463. accountname:
  7464. description: 交易账号名称
  7465. type: string
  7466. agreeunit:
  7467. description: 商品合约单位
  7468. type: number
  7469. begindate:
  7470. description: 开始交易日
  7471. type: string
  7472. buyorsell:
  7473. description: 持仓方向
  7474. type: integer
  7475. charge:
  7476. description: 手续费
  7477. type: number
  7478. closeavgprice:
  7479. description: 平仓均价
  7480. type: number
  7481. closepl:
  7482. description: 平仓损益
  7483. type: number
  7484. currencyid:
  7485. description: 结算币种ID
  7486. type: integer
  7487. currencyname:
  7488. description: 币种名称
  7489. type: string
  7490. cycletime:
  7491. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  7492. type: string
  7493. cycletype:
  7494. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  7495. type: integer
  7496. enddate:
  7497. description: 结束交易日
  7498. type: string
  7499. enumdicname:
  7500. description: 单位名称
  7501. type: string
  7502. floatpl:
  7503. description: 浮动损益
  7504. type: number
  7505. goodscode:
  7506. description: 交易合约代码
  7507. type: string
  7508. goodsgroupid:
  7509. description: 交易品种
  7510. type: integer
  7511. goodsgroupname:
  7512. description: 交易品种名称
  7513. type: string
  7514. goodsgroupspotqty:
  7515. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  7516. type: number
  7517. goodsid:
  7518. description: 交易合约
  7519. type: integer
  7520. goodsname:
  7521. description: 交易合约名称
  7522. type: string
  7523. goodunitid:
  7524. description: 交易合约单位id
  7525. type: integer
  7526. holdamount:
  7527. description: 期末持仓额
  7528. type: number
  7529. holdqty:
  7530. description: 期末持仓量
  7531. type: number
  7532. lastholdamount:
  7533. description: 当前持仓额
  7534. type: number
  7535. lastprice:
  7536. description: 最新价
  7537. type: number
  7538. middlegoodsid:
  7539. description: 套保品种id
  7540. type: integer
  7541. middlegoodsname:
  7542. description: 套保商品名称
  7543. type: string
  7544. middlegoodsqty:
  7545. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  7546. type: number
  7547. middlgoodscode:
  7548. description: 套保商品代码
  7549. type: string
  7550. openamount:
  7551. description: 期末开仓额
  7552. type: number
  7553. openavgprice:
  7554. description: 开仓均价
  7555. type: number
  7556. oriholdamount:
  7557. description: 期初持仓额
  7558. type: number
  7559. oriholdqty:
  7560. description: 期初持仓量
  7561. type: number
  7562. oriopenamount:
  7563. description: 期初开仓额
  7564. type: number
  7565. outergroupcode:
  7566. description: 交易品种代码
  7567. type: string
  7568. qtydecimalplace:
  7569. description: 成交量小数位
  7570. type: integer
  7571. reckondate:
  7572. description: 日照时期(yyyyMMdd)
  7573. type: string
  7574. reckonholdamount:
  7575. description: 结算持仓额
  7576. type: number
  7577. reckonpl:
  7578. description: 结算损益
  7579. type: number
  7580. reckonpl2:
  7581. description: 结算逐笔盈亏
  7582. type: number
  7583. reckonprice:
  7584. description: 结算价
  7585. type: number
  7586. relateduserid:
  7587. description: 账户关联用户ID
  7588. type: integer
  7589. todaycloseamount:
  7590. description: 今平仓额
  7591. type: number
  7592. todaycloseqty:
  7593. description: 今平仓量
  7594. type: number
  7595. todaygoodsgroupspotqty:
  7596. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  7597. type: number
  7598. todaymiddlegoodsqty:
  7599. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  7600. type: number
  7601. todayopenamount:
  7602. description: 今开仓额
  7603. type: number
  7604. todayopenqty:
  7605. description: 今开仓量
  7606. type: number
  7607. userid:
  7608. description: 账户所属用户ID
  7609. type: integer
  7610. type: object
  7611. models.Ermcp3TradeLinkDetail:
  7612. properties:
  7613. accountid:
  7614. description: 资金账号
  7615. type: integer
  7616. agreeunit:
  7617. description: 合约乘数
  7618. type: number
  7619. areauserid:
  7620. description: 所属机构
  7621. type: string
  7622. bizsubjectid:
  7623. description: 归属业务部门ID - SubjectID
  7624. type: string
  7625. buyorsell:
  7626. description: 方向 - 0:买 1:卖
  7627. type: integer
  7628. channelbuildtype:
  7629. description: 委托单据类型 0:无 1:建仓 2:平仓
  7630. type: integer
  7631. contractno:
  7632. description: 现货编号 (合同编号)
  7633. type: string
  7634. convertratio:
  7635. description: 折算系数
  7636. type: number
  7637. createtime:
  7638. description: 关联时间 | 创建时间
  7639. type: string
  7640. creatorid:
  7641. description: 创建人ID
  7642. type: string
  7643. creatorsrc:
  7644. description: 创建人来源 - 1:管理端 2:终端 3:交易
  7645. type: integer
  7646. enumdicname:
  7647. description: 单位名称
  7648. type: string
  7649. goodscode:
  7650. description: 合约代码
  7651. type: string
  7652. goodsgroupid:
  7653. description: 对冲品种ID[期货合约商品组ID]
  7654. type: integer
  7655. goodsid:
  7656. description: 商品ID
  7657. type: integer
  7658. goodsname:
  7659. description: 合约名称
  7660. type: string
  7661. hedgeflag:
  7662. description: 业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安)
  7663. 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  7664. type: integer
  7665. linkdetailid:
  7666. description: 关联ID(614+Unix秒时间戳(10位)+xxxxxx)
  7667. type: string
  7668. linkstatus:
  7669. description: 关联状态 - 1:成功 2:失败 3:解绑
  7670. type: integer
  7671. middlegoodscode:
  7672. description: 套保品种代码
  7673. type: string
  7674. middlegoodsid:
  7675. description: 套保品种ID
  7676. type: integer
  7677. middlegoodsname:
  7678. description: 套保品种名称
  7679. type: string
  7680. relatedlot:
  7681. description: 关联手数
  7682. type: number
  7683. relatedmode:
  7684. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  7685. type: integer
  7686. relatedqty:
  7687. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  7688. type: number
  7689. retcode:
  7690. description: 返回码
  7691. type: integer
  7692. saleuserid:
  7693. description: 业务员ID
  7694. type: string
  7695. spotcontractid:
  7696. description: 现货合同\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]
  7697. type: string
  7698. taname:
  7699. description: 期货账户
  7700. type: string
  7701. tradedate:
  7702. description: 关联交易日(yyyyMMdd)
  7703. type: string
  7704. tradeid:
  7705. description: 期货订单号 | 内部成交单ID
  7706. type: string
  7707. tradelot:
  7708. description: 成交数量 | 成交手数
  7709. type: integer
  7710. tradeprice:
  7711. description: 成交价格
  7712. type: number
  7713. tradetime:
  7714. description: 期货成交时间
  7715. type: string
  7716. tradetradedate:
  7717. description: 成交交易日(yyyyMMdd)
  7718. type: string
  7719. username:
  7720. description: 用户名称
  7721. type: string
  7722. type: object
  7723. models.Ermcp3Wrstandard:
  7724. properties:
  7725. areauserid:
  7726. description: 所属机构
  7727. type: integer
  7728. cantrade:
  7729. description: 是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)
  7730. type: integer
  7731. convertfactor:
  7732. description: 标仓系数
  7733. type: number
  7734. createtime:
  7735. description: 创建时间
  7736. type: string
  7737. creatorid:
  7738. description: 创建人
  7739. type: integer
  7740. deliverygoodsid:
  7741. description: 现货品种ID
  7742. type: integer
  7743. enumdicname:
  7744. description: 品类单位名称
  7745. type: string
  7746. isvalid:
  7747. description: 是否有效 0-无效(停用) 1-有效(正常)
  7748. type: integer
  7749. minivalue:
  7750. description: 最小变动值
  7751. type: integer
  7752. minivaluedp:
  7753. description: 最小变动值小数位
  7754. type: integer
  7755. realminivalue:
  7756. description: 实际最小变动值
  7757. type: integer
  7758. realminivaluedp:
  7759. description: 实际最小变动值小数位
  7760. type: integer
  7761. remark:
  7762. description: 备注
  7763. type: string
  7764. unitid:
  7765. description: 品类单位ID
  7766. type: integer
  7767. updatetime:
  7768. description: 更新时间
  7769. type: string
  7770. wrstandardcode:
  7771. description: 品类代码
  7772. type: string
  7773. wrstandardid:
  7774. description: 品类ID(SEQ_WRSTANDARD)
  7775. type: integer
  7776. wrstandardname:
  7777. description: 品类名称
  7778. type: string
  7779. type: object
  7780. models.Ermcp8EnableHedgeditem:
  7781. properties:
  7782. accountname:
  7783. description: 套期主体
  7784. type: string
  7785. hedgeditemid:
  7786. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  7787. type: string
  7788. hedgeditemname:
  7789. description: 项目名称
  7790. type: string
  7791. hedgeditemnum:
  7792. description: 项目编号
  7793. type: string
  7794. hedgedtype:
  7795. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  7796. type: integer
  7797. planenddate:
  7798. description: 计划结束日期
  7799. type: string
  7800. planstartdate:
  7801. description: 计划开始日期
  7802. type: string
  7803. type: object
  7804. models.Ermcp8HedgeditemReport:
  7805. properties:
  7806. accountname:
  7807. description: 套期主体
  7808. type: string
  7809. areauserid:
  7810. description: 企业ID
  7811. type: integer
  7812. curprice:
  7813. description: '[当日现货市场价]当前市场价'
  7814. type: number
  7815. enumdicname:
  7816. description: 单位
  7817. type: string
  7818. exeamount:
  7819. description: '[执行现货金额]执行市价总额'
  7820. type: number
  7821. exeavgprice:
  7822. description: '[执行价]执行市场均价= 执行市价总额 / 执行现货量'
  7823. type: number
  7824. exeqty:
  7825. description: '[执行数量]执行现货量'
  7826. type: number
  7827. futurehedgepl:
  7828. description: 期货实际损益
  7829. type: number
  7830. futurehedgeplchange:
  7831. description: 期货实际变动 = 期货实际损益 - 期初期货实际损益
  7832. type: number
  7833. futurepl:
  7834. description: 期货套期损益
  7835. type: number
  7836. futureplchange:
  7837. description: 期货套期变动 = 期货套期损益 - 期初期货套期损益
  7838. type: number
  7839. hedgeamount:
  7840. description: '[套期现货金额]套期市价总额'
  7841. type: number
  7842. hedgeditemnum:
  7843. description: 项目编号,模糊查询
  7844. type: string
  7845. hedgeditemstatus:
  7846. description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  7847. type: integer
  7848. hedgedtype:
  7849. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  7850. type: integer
  7851. hedgeqty:
  7852. description: '[套期数量]套期现货量'
  7853. type: number
  7854. oriavgprice:
  7855. description: '[期初价]期初市场均价 = 套期市价总额 / 套期现货量'
  7856. type: number
  7857. orifuturehedgepl:
  7858. description: 期初期货实际损益
  7859. type: number
  7860. orifuturepl:
  7861. description: 期初期货套期损益
  7862. type: number
  7863. orispothedgepl:
  7864. description: 期初现货实际损益
  7865. type: number
  7866. orispotpl:
  7867. description: 期初现货套期损益
  7868. type: number
  7869. planenddate:
  7870. description: 计划结束日期
  7871. type: string
  7872. planstartdate:
  7873. description: 计划开始日期
  7874. type: string
  7875. spothedgepl:
  7876. description: 现货实际损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  7877. type: number
  7878. spothedgeplchange:
  7879. description: 现货实际变动 = 现货实际损益 - 期初现货实际损益
  7880. type: number
  7881. spotpl:
  7882. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  7883. type: number
  7884. spotplchange:
  7885. description: 现货套期变动 = 现货套期损益 - 期初现货套期损益
  7886. type: number
  7887. tradeuserid:
  7888. description: 交易用户ID
  7889. type: integer
  7890. unexeqty:
  7891. description: 未执行现货量 = 套期现货量 - 执行现货量
  7892. type: number
  7893. wrstandardcode:
  7894. description: 现货品类代码
  7895. type: string
  7896. wrstandardid:
  7897. description: 现货商品ID
  7898. type: integer
  7899. wrstandardname:
  7900. description: '[现货商品]现货品类名称'
  7901. type: string
  7902. type: object
  7903. models.Ermcp8RunningHedgeditem:
  7904. properties:
  7905. accountname:
  7906. description: 套期主体
  7907. type: string
  7908. applyid:
  7909. description: 申请人
  7910. type: integer
  7911. applysrc:
  7912. description: 申请来源 - 1:管理端 2:终端
  7913. type: integer
  7914. areauserid:
  7915. description: 企业ID
  7916. type: integer
  7917. auditid:
  7918. description: 审核人
  7919. type: integer
  7920. auditremark:
  7921. description: 审核备注
  7922. type: string
  7923. auditsrc:
  7924. description: 审核来源 - 1:管理端 2:终端
  7925. type: integer
  7926. audittime:
  7927. description: 审核时间
  7928. type: string
  7929. audittradedate:
  7930. description: 审核交易日(yyyyMMdd)
  7931. type: string
  7932. createtime:
  7933. description: 申请时间
  7934. type: string
  7935. curprice:
  7936. description: 当前市场价
  7937. type: number
  7938. curstock:
  7939. description: 期末库存量 = 采购总量 - 销售总量
  7940. type: number
  7941. deliverygoodsid:
  7942. description: 现货品种ID
  7943. type: integer
  7944. enddate:
  7945. description: 完成日期
  7946. type: string
  7947. endtradedate:
  7948. description: 完成交易日
  7949. type: string
  7950. enumdicname:
  7951. description: 单位
  7952. type: string
  7953. exeamount:
  7954. description: 执行市价总额
  7955. type: number
  7956. exeavgprice:
  7957. description: 执行市场均价= 执行市价总额 / 执行现货量
  7958. type: number
  7959. execontractamount:
  7960. description: 执行定价总额
  7961. type: number
  7962. exeqty:
  7963. description: 执行现货量
  7964. type: number
  7965. exerestamount:
  7966. description: 执行剩余市价总额【现货贸易】
  7967. type: number
  7968. futurefloatpl:
  7969. description: 期货浮动损益
  7970. type: number
  7971. futurehedgepl:
  7972. description: 期货实际损益
  7973. type: number
  7974. futurehedgeplchange:
  7975. description: 期货实际损益变动
  7976. type: number
  7977. futurepl:
  7978. description: 期货套期损益
  7979. type: number
  7980. futureplchange:
  7981. description: 期货套期损益变动
  7982. type: number
  7983. hedgeamount:
  7984. description: 套期市价总额
  7985. type: number
  7986. hedgecontractamount:
  7987. description: 套期定价总额 【定价采购合同】【现货贸易】
  7988. type: number
  7989. hedgeditemid:
  7990. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  7991. type: string
  7992. hedgeditemname:
  7993. description: 项目名称
  7994. type: string
  7995. hedgeditemnum:
  7996. description: 项目编号
  7997. type: string
  7998. hedgeditemstatus:
  7999. description: 项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  8000. type: integer
  8001. hedgedtype:
  8002. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  8003. type: integer
  8004. hedgeqty:
  8005. description: 套期现货量
  8006. type: number
  8007. hedgerate:
  8008. description: 套保比率
  8009. type: number
  8010. hedgerestamount:
  8011. description: 套期剩余市价总额【现货贸易】
  8012. type: number
  8013. hedgesumpl:
  8014. description: 套期汇总损益 = 期货汇总损益 + 现货汇总损益
  8015. type: number
  8016. middlegoodslist:
  8017. description: 套期商品列表
  8018. items:
  8019. $ref: '#/definitions/models.Ermcp2himiddlegoods'
  8020. type: array
  8021. oriavgprice:
  8022. description: 期初市场均价 = 套期市价总额 / 套期现货量
  8023. type: number
  8024. orifuturehedgepl:
  8025. description: 期初期货实际损益
  8026. type: number
  8027. orifuturepl:
  8028. description: 期初期货套期损益
  8029. type: number
  8030. orispothedgepl:
  8031. description: 期初现货实际损益
  8032. type: number
  8033. orispotpl:
  8034. description: 期初现货套期损益
  8035. type: number
  8036. planenddate:
  8037. description: 计划结束日期
  8038. type: string
  8039. planstartdate:
  8040. description: 计划开始日期
  8041. type: string
  8042. remark:
  8043. description: 备注
  8044. type: string
  8045. spotbookamount:
  8046. description: 现货账面总额
  8047. type: number
  8048. spotfloatpl:
  8049. description: 现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)
  8050. type: number
  8051. spothedgepl:
  8052. description: 现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  8053. type: number
  8054. spothedgeplchange:
  8055. description: 现货实际损益变动
  8056. type: number
  8057. spotpl:
  8058. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  8059. type: number
  8060. spotplchange:
  8061. description: 现货套期损益变动
  8062. type: number
  8063. spottradepl:
  8064. description: 现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额
  8065. type: number
  8066. sumobspl:
  8067. description: 汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益
  8068. type: number
  8069. tradeuserid:
  8070. description: 交易用户ID
  8071. type: integer
  8072. unexeqty:
  8073. description: 未执行现货量 = 套期现货量 - 执行现货量
  8074. type: number
  8075. updatetime:
  8076. description: 更新时间
  8077. type: string
  8078. vatpl:
  8079. description: 增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))
  8080. type: number
  8081. vatrate:
  8082. description: 增值税
  8083. type: number
  8084. wrstandardid:
  8085. description: 现货商品ID
  8086. type: integer
  8087. wrstandardname:
  8088. description: 商品名称
  8089. type: string
  8090. type: object
  8091. models.ErmcpBizGroupEx:
  8092. properties:
  8093. acclist:
  8094. description: 账号列表
  8095. items:
  8096. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  8097. type: array
  8098. bizgroupid:
  8099. description: 业务分组id
  8100. type: integer
  8101. biztype:
  8102. description: 业务类型 1-套保 2-套利
  8103. type: integer
  8104. wrlist:
  8105. description: 现货商品表
  8106. items:
  8107. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  8108. type: array
  8109. type: object
  8110. models.ErmcpBizGroupSpotGoods:
  8111. properties:
  8112. areauserid:
  8113. description: 所属机构id
  8114. type: integer
  8115. bizgroupid:
  8116. description: 分组id
  8117. type: integer
  8118. biztype:
  8119. description: 业务类型 1-套保 2-套利
  8120. type: integer
  8121. deliverygoodscode:
  8122. description: 现货商品代码
  8123. type: string
  8124. deliverygoodsid:
  8125. description: 现货商品id
  8126. type: integer
  8127. deliverygoodsname:
  8128. description: 现货商品名称
  8129. type: string
  8130. unitid:
  8131. description: 现货商品单位id
  8132. type: integer
  8133. type: object
  8134. models.ErmcpBizGroupTaAccount:
  8135. properties:
  8136. accountid:
  8137. description: 账号id
  8138. type: integer
  8139. accountname:
  8140. description: 账号名称
  8141. type: string
  8142. areauserid:
  8143. description: 所属机构id
  8144. type: integer
  8145. bizgroupid:
  8146. description: 业务分组id
  8147. type: integer
  8148. ismain:
  8149. description: 是否主账号 1-是 0-否
  8150. type: integer
  8151. type: object
  8152. models.ErmcpDGFactoryItem:
  8153. properties:
  8154. areauserid:
  8155. description: 用户id
  8156. type: integer
  8157. deliverygoodsid:
  8158. description: 现货品种ID
  8159. type: integer
  8160. dgfactoryitemid:
  8161. description: 选择项ID(SEQ_DGFACTORYITEM)
  8162. type: integer
  8163. dgfactoryitemtypeid:
  8164. description: 要素项类型
  8165. type: integer
  8166. dgfactoryitemvalue:
  8167. description: 要素项值(类型为仓库时填写仓库名称)
  8168. type: string
  8169. isvalid:
  8170. description: 是否有效 - 0:无效 1:有效
  8171. type: integer
  8172. orderindex:
  8173. description: 顺序
  8174. type: integer
  8175. warehouseid:
  8176. description: 仓库ID(类型为仓库时填写)
  8177. type: integer
  8178. type: object
  8179. models.ErmcpDeliveryGoods:
  8180. properties:
  8181. agreeunit:
  8182. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  8183. type: integer
  8184. areauserid:
  8185. description: 所属机构
  8186. type: integer
  8187. auditflag:
  8188. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  8189. type: integer
  8190. categoryid:
  8191. description: 类别ID(SEQ_WRCATEGORY)
  8192. type: integer
  8193. deliverygoodscode:
  8194. description: 现货品种代码
  8195. type: string
  8196. deliverygoodsid:
  8197. description: 现货品种ID(SEQ_DELIVERYGOODS)
  8198. type: integer
  8199. deliverygoodsname:
  8200. description: 现货品种名称
  8201. type: string
  8202. deliverygoodstype:
  8203. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  8204. type: integer
  8205. dgstatus:
  8206. description: 品种状态 - 作废 - 0:未激活 1:正常
  8207. type: integer
  8208. enumdicname:
  8209. description: 现货品种单位名称
  8210. type: string
  8211. goodsunitid:
  8212. description: 现货品种单位ID
  8213. type: integer
  8214. isvalid:
  8215. description: 是否有效 - 0:无效 1:有效
  8216. type: integer
  8217. qtydecimalplace:
  8218. description: 成交量小数位
  8219. type: integer
  8220. remark:
  8221. description: 备注
  8222. type: string
  8223. standardqty:
  8224. description: 标准数量(库位数量) [标准品特有]
  8225. type: integer
  8226. standardqtyrange:
  8227. description: 标准数量偏差范围 [标准品特有]
  8228. type: integer
  8229. type: object
  8230. models.ErmcpFuturesCompany:
  8231. properties:
  8232. brokerid:
  8233. description: 经纪公司代码
  8234. type: string
  8235. channeladdress:
  8236. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  8237. type: string
  8238. channelid:
  8239. description: 对冲渠道ID
  8240. type: string
  8241. createtime:
  8242. description: 创建时间
  8243. type: string
  8244. creatorid:
  8245. description: 创建人
  8246. type: string
  8247. fcid:
  8248. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  8249. type: integer
  8250. fcname:
  8251. description: 期货公司名称
  8252. type: string
  8253. isvalid:
  8254. description: 是否有效 - 0:无效 1:有效
  8255. type: integer
  8256. mhpaddress:
  8257. description: MHP服务地址(IP:Port)
  8258. type: string
  8259. riskrulegroupid:
  8260. description: 风控规则组ID
  8261. type: string
  8262. tradefeetmpid:
  8263. description: 手续费模板ID[TradeConfigTmpType为2]
  8264. type: string
  8265. trademargintmpid:
  8266. description: 保证金模板ID [TradeConfigTmpType为1]
  8267. type: string
  8268. traderatetmpid:
  8269. description: 汇率模板ID[TradeConfigTmpType为3]
  8270. type: string
  8271. updatetime:
  8272. description: 更新时间
  8273. type: string
  8274. updatorid:
  8275. description: 更新人
  8276. type: string
  8277. type: object
  8278. models.ErmcpGGConvertCfg:
  8279. properties:
  8280. convertratio:
  8281. description: 折算系数
  8282. type: number
  8283. destgoodsgroupid:
  8284. description: 目标品种ID
  8285. type: integer
  8286. dstcode:
  8287. description: 目录品种代码
  8288. type: string
  8289. dstexchangecode:
  8290. description: 目标期货交易所
  8291. type: string
  8292. dstname:
  8293. description: 目标品种名称
  8294. type: string
  8295. dstunitid:
  8296. description: 目标品种单位ID
  8297. type: integer
  8298. dstunitidname:
  8299. description: 目标品种单位名称
  8300. type: string
  8301. modifytime:
  8302. description: 修改时间
  8303. type: string
  8304. srccode:
  8305. description: 源品种代码
  8306. type: string
  8307. srcexchangecode:
  8308. description: 源期货交易所
  8309. type: string
  8310. srcgoodsgroupid:
  8311. description: 源品种ID
  8312. type: integer
  8313. srcname:
  8314. description: 源品种名称
  8315. type: string
  8316. srcunitid:
  8317. description: 源品种单位ID
  8318. type: integer
  8319. srcunitidname:
  8320. description: 源品种单位名称
  8321. type: string
  8322. type: object
  8323. models.ErmcpGoods:
  8324. properties:
  8325. agreeunit:
  8326. description: 合约单位
  8327. type: number
  8328. areauserid:
  8329. description: 所属机构
  8330. type: integer
  8331. auditaccountid:
  8332. description: 审核操作员账号
  8333. type: integer
  8334. audittime:
  8335. description: 审核时间
  8336. type: string
  8337. cancelaccountid:
  8338. description: 注销操作员账号
  8339. type: integer
  8340. canceltime:
  8341. description: 注销时间
  8342. type: string
  8343. closepricemode:
  8344. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8345. type: integer
  8346. closepriceparam:
  8347. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  8348. type: number
  8349. createtime:
  8350. description: 创建时间
  8351. type: string
  8352. creatorid:
  8353. description: 创建人
  8354. type: integer
  8355. currencyid:
  8356. description: 报价货币ID
  8357. type: integer
  8358. cutmode:
  8359. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  8360. type: integer
  8361. decimalplace:
  8362. description: 报价小数位
  8363. type: integer
  8364. delistingdate:
  8365. description: 商品退市时间(状态:退市) -- 已作废
  8366. type: string
  8367. delistingmode:
  8368. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  8369. type: integer
  8370. deliveryflag:
  8371. description: 交割标志 - 0:不可交割 1:可交割
  8372. type: integer
  8373. enumdicname:
  8374. description: 单位名称
  8375. type: string
  8376. forceclosemode:
  8377. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  8378. type: integer
  8379. forceclosevalue:
  8380. description: 定期强平参数 [收益权]
  8381. type: integer
  8382. goodscode:
  8383. description: 商品代码(内部)
  8384. type: string
  8385. goodscurrencyid:
  8386. description: 合约货币ID
  8387. type: integer
  8388. goodsgroupid:
  8389. description: 所属商品组ID
  8390. type: integer
  8391. goodsid:
  8392. description: 商品ID(自增ID SEQ_GOODS)
  8393. type: integer
  8394. goodsname:
  8395. description: 商品名称
  8396. type: string
  8397. goodsquotetype:
  8398. description: '合约报价类型: 1-直接报价 2-间接报价'
  8399. type: integer
  8400. goodsstatus:
  8401. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8402. type: integer
  8403. goodstradetype:
  8404. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  8405. type: integer
  8406. goodunitid:
  8407. description: 报价单位ID
  8408. type: integer
  8409. hasquoter:
  8410. description: 是否有报价商 - 0:无报价商 1:有报价商
  8411. type: integer
  8412. hqprotecttime:
  8413. description: 行情保护时间(秒)
  8414. type: integer
  8415. innerdealmode:
  8416. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8417. type: integer
  8418. isbuylimited:
  8419. description: 是否限制建仓量 - 0:不限制 1:限制
  8420. type: integer
  8421. isvisible:
  8422. description: 游客是否可见 - 0:不可见 1:可见
  8423. type: integer
  8424. lasttradedate:
  8425. description: 最后交易日期(状态:待退市)
  8426. type: string
  8427. listingdate:
  8428. description: 交易开始日期
  8429. type: string
  8430. marketid:
  8431. description: 所属市场ID
  8432. type: integer
  8433. modifierid:
  8434. description: 修改人
  8435. type: integer
  8436. modifystatus:
  8437. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  8438. type: integer
  8439. modifytime:
  8440. description: 修改时间
  8441. type: string
  8442. outerdealmode:
  8443. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8444. type: integer
  8445. outgoodscode:
  8446. description: 商品代码(外部)
  8447. type: string
  8448. pictureurl:
  8449. description: 商品图片
  8450. type: string
  8451. qtydecimalplace:
  8452. description: 成交量小数位
  8453. type: integer
  8454. quotegear:
  8455. description: 行情档位(1-10)
  8456. type: integer
  8457. quoteminunit:
  8458. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8459. type: integer
  8460. quoteshowtype:
  8461. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  8462. type: integer
  8463. quoteshowtypeinterval:
  8464. description: 行情报价间隔时间(秒)(成交价时为0)
  8465. type: integer
  8466. relatedgoodsid:
  8467. description: 关联参考商品ID
  8468. type: integer
  8469. remark:
  8470. description: 备注
  8471. type: string
  8472. trademode:
  8473. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8474. 21:竞拍-大宗式 22:受托竞价
  8475. type: integer
  8476. required:
  8477. - goodscode
  8478. - goodsid
  8479. - goodsname
  8480. - marketid
  8481. type: object
  8482. models.ErmcpGoodsBrand:
  8483. properties:
  8484. areauserid:
  8485. description: 所属机构
  8486. type: integer
  8487. brandid:
  8488. description: BrandID(SEQ_SPOTGOODSBRAND)
  8489. type: integer
  8490. brandname:
  8491. description: 品牌名称
  8492. type: string
  8493. createtime:
  8494. description: 创建时间
  8495. type: string
  8496. creatorid:
  8497. description: 创建人
  8498. type: integer
  8499. creatorsrc:
  8500. description: 创建人来源 - 1:管理端 2:终端
  8501. type: integer
  8502. deliverygoodsid:
  8503. description: 现货品种ID
  8504. type: integer
  8505. isvalid:
  8506. description: 是否有效 - 0:无效 1:有效
  8507. type: integer
  8508. updatetime:
  8509. description: 更新时间
  8510. type: string
  8511. updatorid:
  8512. description: 更新人
  8513. type: integer
  8514. updatorsrc:
  8515. description: 更新人来源 - 1:管理端 2:终端
  8516. type: integer
  8517. wrstandardid:
  8518. description: 现货商品ID
  8519. type: integer
  8520. type: object
  8521. models.ErmcpGoodsModel:
  8522. properties:
  8523. areauserid:
  8524. description: 所属机构
  8525. type: integer
  8526. convertfactor:
  8527. description: 标仓系数
  8528. type: number
  8529. createtime:
  8530. description: 创建时间
  8531. type: string
  8532. creatorid:
  8533. description: 创建人
  8534. type: integer
  8535. creatorsrc:
  8536. description: 创建人来源 - 1:管理端 2:终端
  8537. type: integer
  8538. deliverygoodsid:
  8539. description: 现货品种ID
  8540. type: integer
  8541. isvalid:
  8542. description: 是否有效 - 0:无效 1:有效
  8543. type: integer
  8544. modelid:
  8545. description: ModelID(SEQ_SPOTGOODSMODEL)
  8546. type: integer
  8547. modelname:
  8548. description: 型号名称
  8549. type: string
  8550. updatetime:
  8551. description: 更新时间
  8552. type: string
  8553. updatorid:
  8554. description: 更新人
  8555. type: integer
  8556. updatorsrc:
  8557. description: 更新人来源 - 1:管理端 2:终端
  8558. type: integer
  8559. wrstandardid:
  8560. description: 现货商品ID
  8561. type: integer
  8562. type: object
  8563. models.ErmcpHisExposure:
  8564. properties:
  8565. needhedgeexposoure:
  8566. description: 应套保敞口
  8567. type: number
  8568. reckondate:
  8569. description: 日照时期(yyyyMMdd)
  8570. type: string
  8571. totalexposure:
  8572. description: 总敞口
  8573. type: number
  8574. type: object
  8575. models.ErmcpLoginTaAccount:
  8576. properties:
  8577. accountid:
  8578. description: 账号id
  8579. type: integer
  8580. accountname:
  8581. description: 账号名称
  8582. type: string
  8583. type: object
  8584. models.ErmcpLoginUser:
  8585. properties:
  8586. acclist:
  8587. description: 关联资金账号
  8588. items:
  8589. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  8590. type: array
  8591. accountname:
  8592. description: 用户名称
  8593. type: string
  8594. clientroleid:
  8595. description: 角色id(usertype=2)
  8596. type: integer
  8597. createtime:
  8598. description: 创建时间
  8599. type: string
  8600. logincode:
  8601. description: 登录代码
  8602. type: string
  8603. loginid:
  8604. description: 登录id(LOGINID)
  8605. type: integer
  8606. loginname:
  8607. description: 登录名称(loginaccount表中的accountname字段)
  8608. type: string
  8609. loginstatus:
  8610. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  8611. type: integer
  8612. memberuserid:
  8613. description: 所属会员id
  8614. type: integer
  8615. mobile:
  8616. description: 手机号
  8617. type: string
  8618. modifytime:
  8619. description: 修改时间
  8620. type: string
  8621. password:
  8622. description: 密码(不可解密)
  8623. type: string
  8624. rolename:
  8625. description: 角色名称
  8626. type: string
  8627. rolestatus:
  8628. description: 角色状态 1-启用 2-停用
  8629. type: integer
  8630. roletype:
  8631. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  8632. type: string
  8633. userid:
  8634. description: 用户id
  8635. type: integer
  8636. usertype:
  8637. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  8638. type: integer
  8639. type: object
  8640. models.ErmcpLoginUserEx:
  8641. properties:
  8642. accountstatus:
  8643. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  8644. type: integer
  8645. mobile:
  8646. description: 手机号
  8647. type: string
  8648. querytype:
  8649. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  8650. type: integer
  8651. roleid:
  8652. description: 角色id(交易账户->用户id)
  8653. type: integer
  8654. rolename:
  8655. description: 角色名称(交易账户->用户名称)
  8656. type: string
  8657. userlist:
  8658. description: 用户列表
  8659. items:
  8660. $ref: '#/definitions/models.ErmcpLoginUser'
  8661. type: array
  8662. usertype:
  8663. description: 用户类型 2-机构 7-企业成员(云平台)
  8664. type: integer
  8665. type: object
  8666. models.ErmcpMiddleGoodsModel:
  8667. properties:
  8668. areauserid:
  8669. description: 机构用户ID
  8670. type: integer
  8671. createtime:
  8672. description: 修改时间
  8673. type: string
  8674. enumdicname:
  8675. description: 单位名称
  8676. type: string
  8677. evaluateratio:
  8678. description: 估价系数
  8679. type: number
  8680. goodsgroupid:
  8681. description: 关联期货品种ID
  8682. type: integer
  8683. goodsunitid:
  8684. description: 单位ID
  8685. type: integer
  8686. isvalid:
  8687. description: 状态 0-无效(停用) 1-有效(正常)
  8688. type: integer
  8689. middlegoodscode:
  8690. description: 套保品种代码
  8691. type: string
  8692. middlegoodsid:
  8693. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  8694. type: integer
  8695. middlegoodsname:
  8696. description: 套保品种名称
  8697. type: string
  8698. modifytime:
  8699. description: 修改时间
  8700. type: string
  8701. needarbitrageratio:
  8702. description: 套利比例
  8703. type: number
  8704. needhedgeratio:
  8705. description: 套保比率
  8706. type: number
  8707. qtydecimalplace:
  8708. description: 数量小数位
  8709. type: integer
  8710. relatedgoodsid:
  8711. description: 关联交易商品ID
  8712. type: integer
  8713. relatedgoodstype:
  8714. description: 关联商品类型 - 1:期货合约 2:现货品种
  8715. type: integer
  8716. remark:
  8717. description: 备注
  8718. type: string
  8719. type: object
  8720. models.ErmcpMiddlegoodsRelateGoods:
  8721. properties:
  8722. agreeunit:
  8723. description: 合约乘数
  8724. type: number
  8725. convertratio:
  8726. description: 折算系数
  8727. type: number
  8728. enumdicname:
  8729. description: 单位名称(交易商品)
  8730. type: string
  8731. goodscode:
  8732. description: 交易商品代码
  8733. type: string
  8734. goodsgroupid:
  8735. description: 交易品种id
  8736. type: integer
  8737. goodsid:
  8738. description: 商品Id
  8739. type: integer
  8740. goodsname:
  8741. description: 交易商品名称
  8742. type: string
  8743. goodunitid:
  8744. description: 交易商品单位id
  8745. type: integer
  8746. middlegoodsid:
  8747. description: 套保商品id
  8748. type: integer
  8749. middlegoodsname:
  8750. description: 套保商品名称
  8751. type: string
  8752. middlegoodsswcode:
  8753. description: 套保商品代码
  8754. type: string
  8755. needarbitrageratio:
  8756. description: 应套利比例
  8757. type: number
  8758. needhedgeratio:
  8759. description: 应套保比例
  8760. type: number
  8761. type: object
  8762. models.ErmcpRole:
  8763. properties:
  8764. areauserid:
  8765. description: 所属机构
  8766. type: integer
  8767. autoid:
  8768. description: 角色ID(自增ID)
  8769. type: integer
  8770. modifierid:
  8771. description: 修改人(创建人)
  8772. type: integer
  8773. modifiername:
  8774. description: 修改人名称
  8775. type: string
  8776. modifytime:
  8777. description: 修改时间(创建时间)
  8778. type: string
  8779. rolename:
  8780. description: 角色名称
  8781. type: string
  8782. rolestatus:
  8783. description: 角色状态 - 1:启用 2:停用
  8784. type: integer
  8785. roletype:
  8786. description: 角色类型 - 1- 管理端 2- 交易端
  8787. type: integer
  8788. type: object
  8789. models.ErmcpRoleMenu:
  8790. properties:
  8791. iconame:
  8792. description: 菜单图标
  8793. type: string
  8794. ishadrole:
  8795. description: 是否有权限
  8796. type: boolean
  8797. menutype:
  8798. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)
  8799. type: integer
  8800. parentcode:
  8801. description: 上级资源代码
  8802. type: string
  8803. remark:
  8804. description: 菜单备注
  8805. type: string
  8806. resourcecode:
  8807. description: 菜单代码
  8808. type: string
  8809. resourcelevel:
  8810. description: 级别
  8811. type: integer
  8812. resourcename:
  8813. description: 菜单名称
  8814. type: string
  8815. roleid:
  8816. description: 角色id
  8817. type: integer
  8818. sort:
  8819. description: 排序
  8820. type: integer
  8821. url:
  8822. description: URL
  8823. type: string
  8824. userid:
  8825. description: 用户id
  8826. type: integer
  8827. type: object
  8828. models.ErmcpRoleMenuEx:
  8829. properties:
  8830. menu:
  8831. $ref: '#/definitions/models.ErmcpRoleMenu'
  8832. description: 父级菜单
  8833. subMenu:
  8834. description: 子级菜单
  8835. items:
  8836. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  8837. type: array
  8838. type: object
  8839. models.ErmcpSpotContractModelEx:
  8840. properties:
  8841. accountname:
  8842. description: 套期主体
  8843. type: string
  8844. amount:
  8845. description: 金额 [1:一口价、3:暂定价]
  8846. type: number
  8847. attachment:
  8848. description: 附件
  8849. type: string
  8850. auditremark:
  8851. description: 审核意见
  8852. type: string
  8853. audittime:
  8854. description: 审核时间
  8855. type: string
  8856. avgprice:
  8857. description: 定价均价 = 已定价金额 / 已定价量
  8858. type: number
  8859. brandname:
  8860. description: 品牌名称
  8861. type: string
  8862. buyuserid:
  8863. description: 采购方ID
  8864. type: integer
  8865. buyusername:
  8866. description: 采购方名称
  8867. type: string
  8868. contracctstatus:
  8869. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  8870. type: integer
  8871. contractmargin:
  8872. description: 合同保证金
  8873. type: number
  8874. contractno:
  8875. description: '[合同编号]现货合同编号'
  8876. type: string
  8877. contracttype:
  8878. description: '[合同类型]现货合同类型 - 1:采购 -1:销售'
  8879. type: integer
  8880. convertfactor:
  8881. description: 标仓系数
  8882. type: number
  8883. createtime:
  8884. description: 创建时间
  8885. type: string
  8886. customername:
  8887. description: 对手方
  8888. type: string
  8889. customeruserid:
  8890. description: 客户ID
  8891. type: integer
  8892. deliveryenddate:
  8893. description: 交收期(结束)
  8894. type: string
  8895. deliverygoodscode:
  8896. description: 现货品种代码
  8897. type: string
  8898. deliverygoodsid:
  8899. description: 现货品种ID
  8900. type: integer
  8901. deliverygoodsname:
  8902. description: 现货品种名称
  8903. type: string
  8904. deliverystartdate:
  8905. description: 交收期(开始)
  8906. type: string
  8907. enddate:
  8908. description: 点价结束日期 [2:点价 3:暂定价]
  8909. type: string
  8910. enumdicname:
  8911. description: 单位名称
  8912. type: string
  8913. goodscode:
  8914. description: 点价合约代码
  8915. type: string
  8916. goodsid:
  8917. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  8918. type: integer
  8919. goodsname:
  8920. description: 点价商品名称
  8921. type: string
  8922. isrelated:
  8923. description: 是否已关联计划项目 - 0:否 1:是
  8924. type: integer
  8925. isrelated2:
  8926. description: 是否已关联现货项目 - 0:否 1:是
  8927. type: integer
  8928. margin:
  8929. description: 当前保证金
  8930. type: number
  8931. modelname:
  8932. description: 型号名称
  8933. type: string
  8934. price:
  8935. description: 价格\暂定价 [1:一口价、3:暂定价]
  8936. type: number
  8937. pricedamount:
  8938. description: 已定价金额 = (点价价格+升贴水) * 数量
  8939. type: number
  8940. pricedqty:
  8941. description: 已定价量
  8942. type: number
  8943. pricemove:
  8944. description: 升贴水 [2:点价 3:暂定价]
  8945. type: number
  8946. pricetype:
  8947. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  8948. type: integer
  8949. producttype:
  8950. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  8951. type: integer
  8952. qty:
  8953. description: '[合同数量]数量'
  8954. type: number
  8955. remark:
  8956. description: 备注
  8957. type: string
  8958. selluserid:
  8959. description: 销售方ID
  8960. type: integer
  8961. sellusername:
  8962. description: 销售方名称
  8963. type: string
  8964. spotamount:
  8965. description: 合同现货金额 [不含升贴水]
  8966. type: number
  8967. spotavgprice:
  8968. description: 现货均价 = 合同现货金额 / 已定价量
  8969. type: number
  8970. spotcontractid:
  8971. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  8972. type: string
  8973. spotgoodsbrandid:
  8974. description: 现货品牌ID
  8975. type: integer
  8976. spotgoodsdesc:
  8977. description: 商品型号
  8978. type: string
  8979. spotgoodsmodelid:
  8980. description: 现货型号ID
  8981. type: integer
  8982. startdate:
  8983. description: 点价开始日期 [2:点价 3:暂定价]
  8984. type: string
  8985. tradeuserid:
  8986. description: 交易用户ID
  8987. type: integer
  8988. unpricedqty:
  8989. description: 未定价量 = 合同数量 - 已定价量
  8990. type: number
  8991. updatetime:
  8992. description: 更新时间
  8993. type: string
  8994. userid:
  8995. description: 机构ID
  8996. type: integer
  8997. wrstandardcode:
  8998. description: 现货商品代码
  8999. type: string
  9000. wrstandardid:
  9001. description: 现货商品ID
  9002. type: integer
  9003. wrstandardname:
  9004. description: '[现货商品]现货商品名称'
  9005. type: string
  9006. type: object
  9007. models.ErmcpTaAccount:
  9008. properties:
  9009. accountid:
  9010. description: 账户id
  9011. type: integer
  9012. accountname:
  9013. description: 账户名称
  9014. type: string
  9015. currencyid:
  9016. description: 币种id
  9017. type: integer
  9018. hedgeaccountcode:
  9019. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  9020. type: string
  9021. ismain:
  9022. description: 是否主账户 0-否 1-是
  9023. type: integer
  9024. parentaccountid:
  9025. description: 父账户id
  9026. type: integer
  9027. relateduserid:
  9028. description: 关联userid
  9029. type: integer
  9030. tradefeetmpid:
  9031. description: 手续费模板id
  9032. type: integer
  9033. tradefeetmpname:
  9034. description: 手续费模板名称
  9035. type: string
  9036. trademargintmpid:
  9037. description: 保证金模板id
  9038. type: integer
  9039. trademargintmpname:
  9040. description: 保证金模板名称
  9041. type: string
  9042. traderatetmpid:
  9043. description: 汇率模板id
  9044. type: integer
  9045. traderatetmpname:
  9046. description: 汇率模板名称
  9047. type: string
  9048. tradestatus:
  9049. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9050. type: integer
  9051. userid:
  9052. description: 用户id
  9053. type: integer
  9054. type: object
  9055. models.ErmcpTaAccountEx:
  9056. properties:
  9057. mainAcc:
  9058. $ref: '#/definitions/models.ErmcpTaAccountM'
  9059. description: 主账号
  9060. subacclist:
  9061. description: 子账号列表
  9062. items:
  9063. $ref: '#/definitions/models.ErmcpTaAccount'
  9064. type: array
  9065. type: object
  9066. models.ErmcpTaAccountInfo:
  9067. properties:
  9068. accountid:
  9069. description: 资金账户ID
  9070. type: integer
  9071. accountname:
  9072. description: 账户名称
  9073. type: string
  9074. balance:
  9075. description: 期初余额
  9076. type: number
  9077. capitalbalance:
  9078. description: 本金余额[外部子账户实际出入金余额]
  9079. type: number
  9080. closepl:
  9081. description: 今日平仓盈亏
  9082. type: number
  9083. creditdecrease:
  9084. description: 今日授信减少
  9085. type: number
  9086. creditincrease:
  9087. description: 今日授信增加
  9088. type: number
  9089. curdebt:
  9090. description: 期末欠款
  9091. type: number
  9092. currencyid:
  9093. description: 货币ID
  9094. type: integer
  9095. currentbalance:
  9096. description: 期末余额
  9097. type: number
  9098. freezecharge:
  9099. description: 手续费冻结
  9100. type: number
  9101. freezemargin:
  9102. description: 冻结保证金
  9103. type: number
  9104. fromaccountid:
  9105. description: 所属上级账户
  9106. type: integer
  9107. inamount:
  9108. description: 今日入金金额(包括三方入金)
  9109. type: number
  9110. ismain:
  9111. description: 是否母账号 0:不是母账户 1:是母账户
  9112. type: integer
  9113. mortgagecredit:
  9114. description: 授信金额
  9115. type: number
  9116. oridebt:
  9117. description: 期初欠款
  9118. type: number
  9119. orifreezecharge:
  9120. description: 期初手续费冻结
  9121. type: number
  9122. orifreezemargin:
  9123. description: 期初冻结保证金
  9124. type: number
  9125. orimortgagecredit:
  9126. description: 期初授信金额
  9127. type: number
  9128. oriothercredit:
  9129. description: 期初其它授信金额
  9130. type: number
  9131. oriotherfreezemargin:
  9132. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  9133. type: number
  9134. orioutamountfreeze:
  9135. description: 期初出金冻结
  9136. type: number
  9137. oriusedmargin:
  9138. description: 期初占用保证金
  9139. type: number
  9140. othercredit:
  9141. description: 其它授信金额
  9142. type: number
  9143. othercreditdecrease:
  9144. description: 今日其它授信减少
  9145. type: number
  9146. othercreditincrease:
  9147. description: 今日其它授信增加
  9148. type: number
  9149. otherfreezemargin:
  9150. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  9151. type: number
  9152. outamount:
  9153. description: 今日出金金额(包括三方出金)
  9154. type: number
  9155. outamountfreeze:
  9156. description: 出金冻结
  9157. type: number
  9158. outthreshold:
  9159. description: 出金阈值
  9160. type: number
  9161. parentaccountid:
  9162. description: 所属根账号
  9163. type: integer
  9164. paycharge:
  9165. description: 今日手续费支出
  9166. type: number
  9167. relateduserid:
  9168. description: 关联用户
  9169. type: integer
  9170. signstatus:
  9171. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  9172. type: integer
  9173. sublevelpath:
  9174. description: 账号层级路径(逗号分隔,首尾加逗号)
  9175. type: string
  9176. taaccounttype:
  9177. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  9178. type: integer
  9179. thirdinamount:
  9180. description: 今日三方入金
  9181. type: number
  9182. thirdoutamount:
  9183. description: 今日三方出金
  9184. type: number
  9185. tradestatus:
  9186. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9187. type: integer
  9188. transferamount:
  9189. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  9190. type: number
  9191. usedmargin:
  9192. description: 占用保证金
  9193. type: number
  9194. userid:
  9195. description: 用户ID
  9196. type: integer
  9197. type: object
  9198. models.ErmcpTaAccountM:
  9199. properties:
  9200. accountid:
  9201. description: 账户id
  9202. type: integer
  9203. accountname:
  9204. description: 账户名称
  9205. type: string
  9206. currencyid:
  9207. description: 币种id
  9208. type: integer
  9209. fcid:
  9210. description: 期货公司id
  9211. type: integer
  9212. fcname:
  9213. description: 期货公司代码
  9214. type: string
  9215. hedgeaccountcode:
  9216. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  9217. type: string
  9218. ismain:
  9219. description: 是否主账户 0-否 1-是
  9220. type: integer
  9221. parentaccountid:
  9222. description: 父账户id
  9223. type: integer
  9224. relateduserid:
  9225. description: 关联userid
  9226. type: integer
  9227. tradefeetmpid:
  9228. description: 手续费模板id
  9229. type: integer
  9230. tradefeetmpname:
  9231. description: 手续费模板名称
  9232. type: string
  9233. trademargintmpid:
  9234. description: 保证金模板id
  9235. type: integer
  9236. trademargintmpname:
  9237. description: 保证金模板名称
  9238. type: string
  9239. traderatetmpid:
  9240. description: 汇率模板id
  9241. type: integer
  9242. traderatetmpname:
  9243. description: 汇率模板名称
  9244. type: string
  9245. tradestatus:
  9246. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9247. type: integer
  9248. userid:
  9249. description: 用户id
  9250. type: integer
  9251. type: object
  9252. models.ErmcpTradeConfigTMP:
  9253. properties:
  9254. areauserid:
  9255. description: 所属机构
  9256. type: integer
  9257. basiccurrencyid:
  9258. description: 基本币种ID[汇率] - 目标币种
  9259. type: integer
  9260. mainaccountid:
  9261. description: 主账户ID
  9262. type: integer
  9263. modifierid:
  9264. description: 修改人
  9265. type: integer
  9266. remark:
  9267. description: 备注
  9268. type: string
  9269. tradeconfigtmpid:
  9270. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  9271. type: integer
  9272. tradeconfigtmpname:
  9273. description: 交易配置模板名称
  9274. type: string
  9275. tradeconfigtmptype:
  9276. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  9277. type: integer
  9278. updatetime:
  9279. description: 更新时间
  9280. type: string
  9281. type: object
  9282. models.Ermcpjrlinkpos:
  9283. properties:
  9284. areauserid:
  9285. description: 所属企业
  9286. type: integer
  9287. averageprice:
  9288. description: 持仓均价 (TotalBuyHoldAmount - TotalSellHoldAmount) / NetQty
  9289. type: number
  9290. closepl:
  9291. description: 总平仓盈亏 [期货损益]
  9292. type: number
  9293. executeprice:
  9294. description: 执行价 - 1:期货单 为 0
  9295. type: integer
  9296. futurehedgeqty:
  9297. description: 期货套期量
  9298. type: number
  9299. goodsid:
  9300. description: 期货合约
  9301. type: integer
  9302. middlegoodscode:
  9303. description: 套保商品代码
  9304. type: string
  9305. middlegoodsname:
  9306. description: 套保商品名称
  9307. type: string
  9308. netqty:
  9309. description: 净头寸
  9310. type: number
  9311. optioncode:
  9312. description: 期权代码
  9313. type: string
  9314. ordertype:
  9315. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  9316. type: integer
  9317. reckonpl:
  9318. description: 总盈亏(平仓盈亏 + 结算盈亏 - 手续费)
  9319. type: number
  9320. spotcontractid:
  9321. description: 现货ID [套期项目ID - 金瑞:合同\虚拟合同ID
  9322. type: string
  9323. todayfutureclosepl:
  9324. description: 今日平仓盈亏
  9325. type: number
  9326. totalbuyamount:
  9327. description: 买金额 [期货]
  9328. type: number
  9329. totalbuyholdamount:
  9330. description: 买持仓总金额[期货]
  9331. type: number
  9332. totalbuyqty:
  9333. description: 买数量
  9334. type: number
  9335. totalcharge:
  9336. description: 手续费
  9337. type: number
  9338. totalpremium:
  9339. description: 权利金 [期权]
  9340. type: number
  9341. totalsellamount:
  9342. description: 卖金额 [期货]
  9343. type: number
  9344. totalsellholdamount:
  9345. description: 卖持仓总金额[期货]
  9346. type: number
  9347. totalsellqty:
  9348. description: 卖数量
  9349. type: number
  9350. updatetime:
  9351. description: 更新时间
  9352. type: string
  9353. required:
  9354. - spotcontractid
  9355. type: object
  9356. models.Ermcppatradelinkdetail:
  9357. properties:
  9358. agreeunit:
  9359. description: 合约乘数
  9360. type: number
  9361. amount:
  9362. description: 金额 = RelatedLot * TradePrice * AgreeUnit
  9363. type: number
  9364. areauserid:
  9365. description: 所属机构
  9366. type: integer
  9367. bizsubjectid:
  9368. description: 归属业务部门ID - SubjectID
  9369. type: integer
  9370. buyorsell:
  9371. description: 方向 - 0:买 1:卖
  9372. type: integer
  9373. convertratio:
  9374. description: 品种系数
  9375. type: number
  9376. createtime:
  9377. description: 创建时间
  9378. type: string
  9379. creatorid:
  9380. description: 创建人ID
  9381. type: integer
  9382. creatorsrc:
  9383. description: 创建人来源 - 1:管理端 2:终端 3:交易
  9384. type: integer
  9385. goodsgroupid:
  9386. description: 对冲品种ID[期货合约商品组ID]
  9387. type: integer
  9388. goodsid:
  9389. description: 商品ID
  9390. type: integer
  9391. hedgeditemid:
  9392. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  9393. type: integer
  9394. hedgeflag:
  9395. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  9396. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  9397. type: integer
  9398. linkdetailid:
  9399. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  9400. type: string
  9401. linkstatus:
  9402. description: 关联状态 - 1:成功 2:失败 3:解绑
  9403. type: integer
  9404. middlegoodsid:
  9405. description: 套保品种ID
  9406. type: integer
  9407. name:
  9408. description: 账户名/子账户
  9409. type: string
  9410. optioncode:
  9411. description: '[期货合约]期权代码 [期权]'
  9412. type: string
  9413. ordertype:
  9414. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  9415. type: integer
  9416. relatedlot:
  9417. description: '[数量]关联手数'
  9418. type: number
  9419. relatedmode:
  9420. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  9421. type: integer
  9422. relatedqty:
  9423. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  9424. type: number
  9425. retcode:
  9426. description: 返回码
  9427. type: integer
  9428. saleuserid:
  9429. description: 业务员ID
  9430. type: integer
  9431. tradedate:
  9432. description: 关联交易日(yyyyMMdd)
  9433. type: string
  9434. tradeid:
  9435. description: '[成交单号]内部成交单ID'
  9436. type: string
  9437. tradelot:
  9438. description: 成交手数
  9439. type: integer
  9440. tradeprice:
  9441. description: '[价格]成交价格'
  9442. type: number
  9443. tradetime:
  9444. description: 日期时间
  9445. type: string
  9446. tradetradedate:
  9447. description: 成交交易日(yyyyMMdd)
  9448. type: string
  9449. required:
  9450. - hedgeditemid
  9451. type: object
  9452. models.Externalexchange:
  9453. properties:
  9454. autoid:
  9455. description: AutoID - SEQ_EXTERNALEXCHANGE
  9456. type: integer
  9457. exchangefullname:
  9458. description: 外部交易所全称
  9459. type: string
  9460. exexchangecode:
  9461. description: 外部交易所代码
  9462. type: string
  9463. exexchangename:
  9464. description: 外部交易所名称(简称)
  9465. type: string
  9466. ismarketprice:
  9467. description: 是否支持市价 - 0:不支持 1:支持
  9468. type: integer
  9469. quotegear:
  9470. description: 行情档位(1-10)
  9471. type: integer
  9472. showbrokerflag:
  9473. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  9474. type: integer
  9475. updatetime:
  9476. description: 更新时间
  9477. type: string
  9478. required:
  9479. - autoid
  9480. type: object
  9481. models.Funcmenulist:
  9482. properties:
  9483. iconame:
  9484. description: 菜单图标
  9485. type: string
  9486. menutype:
  9487. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  9488. type: integer
  9489. parentcode:
  9490. description: 上级资源代码
  9491. type: string
  9492. remark:
  9493. description: 备注
  9494. type: string
  9495. resourcecode:
  9496. description: 资源代码
  9497. type: string
  9498. resourcelevel:
  9499. description: 级别 1-一级 2-二级 3-三级 4-四级
  9500. type: integer
  9501. resourcename:
  9502. description: 资源名
  9503. type: string
  9504. sort:
  9505. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  9506. type: integer
  9507. url:
  9508. description: URL
  9509. type: string
  9510. required:
  9511. - resourcecode
  9512. type: object
  9513. models.Goods:
  9514. properties:
  9515. agreeunit:
  9516. description: 合约单位
  9517. type: number
  9518. areauserid:
  9519. description: 所属机构
  9520. type: integer
  9521. auditaccountid:
  9522. description: 审核操作员账号
  9523. type: integer
  9524. audittime:
  9525. description: 审核时间
  9526. type: string
  9527. cancelaccountid:
  9528. description: 注销操作员账号
  9529. type: integer
  9530. canceltime:
  9531. description: 注销时间
  9532. type: string
  9533. closepricemode:
  9534. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  9535. type: integer
  9536. closepriceparam:
  9537. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  9538. type: number
  9539. createtime:
  9540. description: 创建时间
  9541. type: string
  9542. creatorid:
  9543. description: 创建人
  9544. type: integer
  9545. currencyid:
  9546. description: 报价货币ID
  9547. type: integer
  9548. cutmode:
  9549. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  9550. type: integer
  9551. decimalplace:
  9552. description: 报价小数位
  9553. type: integer
  9554. delistingdate:
  9555. description: 商品退市时间(状态:退市) -- 已作废
  9556. type: string
  9557. delistingmode:
  9558. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  9559. type: integer
  9560. deliveryflag:
  9561. description: 交割标志 - 0:不可交割 1:可交割
  9562. type: integer
  9563. forceclosemode:
  9564. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  9565. type: integer
  9566. forceclosevalue:
  9567. description: 定期强平参数 [收益权]
  9568. type: integer
  9569. goodscode:
  9570. description: 商品代码(内部)
  9571. type: string
  9572. goodscurrencyid:
  9573. description: 合约货币ID
  9574. type: integer
  9575. goodsgroupid:
  9576. description: 所属商品组ID
  9577. type: integer
  9578. goodsid:
  9579. description: 商品ID(自增ID SEQ_GOODS)
  9580. type: integer
  9581. goodsname:
  9582. description: 商品名称
  9583. type: string
  9584. goodsquotetype:
  9585. description: '合约报价类型: 1-直接报价 2-间接报价'
  9586. type: integer
  9587. goodsstatus:
  9588. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  9589. type: integer
  9590. goodstradetype:
  9591. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  9592. type: integer
  9593. goodunitid:
  9594. description: 报价单位ID
  9595. type: integer
  9596. hasquoter:
  9597. description: 是否有报价商 - 0:无报价商 1:有报价商
  9598. type: integer
  9599. hqprotecttime:
  9600. description: 行情保护时间(秒)
  9601. type: integer
  9602. innerdealmode:
  9603. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  9604. type: integer
  9605. isbuylimited:
  9606. description: 是否限制建仓量 - 0:不限制 1:限制
  9607. type: integer
  9608. isvisible:
  9609. description: 游客是否可见 - 0:不可见 1:可见
  9610. type: integer
  9611. lasttradedate:
  9612. description: 最后交易日期(状态:待退市)
  9613. type: string
  9614. listingdate:
  9615. description: 交易开始日期
  9616. type: string
  9617. marketid:
  9618. description: 所属市场ID
  9619. type: integer
  9620. modifierid:
  9621. description: 修改人
  9622. type: integer
  9623. modifystatus:
  9624. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  9625. type: integer
  9626. modifytime:
  9627. description: 修改时间
  9628. type: string
  9629. outerdealmode:
  9630. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  9631. type: integer
  9632. outgoodscode:
  9633. description: 商品代码(外部)
  9634. type: string
  9635. pictureurl:
  9636. description: 商品图片
  9637. type: string
  9638. qtydecimalplace:
  9639. description: 成交量小数位
  9640. type: integer
  9641. quotegear:
  9642. description: 行情档位(1-10)
  9643. type: integer
  9644. quoteminunit:
  9645. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9646. type: integer
  9647. quoteshowtype:
  9648. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  9649. type: integer
  9650. quoteshowtypeinterval:
  9651. description: 行情报价间隔时间(秒)(成交价时为0)
  9652. type: integer
  9653. remark:
  9654. description: 备注
  9655. type: string
  9656. required:
  9657. - goodscode
  9658. - goodsid
  9659. - goodsname
  9660. - marketid
  9661. type: object
  9662. models.GoodsIDAndName:
  9663. properties:
  9664. goodscode:
  9665. description: 商品代码(内部)
  9666. type: string
  9667. goodsid:
  9668. description: 商品ID(自增ID SEQ_GOODS)
  9669. type: integer
  9670. goodsname:
  9671. description: 商品名称
  9672. type: string
  9673. marketid:
  9674. description: 所属市场ID
  9675. type: integer
  9676. required:
  9677. - goodscode
  9678. - goodsid
  9679. - goodsname
  9680. - marketid
  9681. type: object
  9682. models.Goodsgroup:
  9683. properties:
  9684. agreeunit:
  9685. description: 合约单位
  9686. type: number
  9687. canshort:
  9688. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  9689. type: integer
  9690. closepricemode:
  9691. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  9692. type: integer
  9693. closepriceparam:
  9694. description: 强平最新价浮动比例 - 方式为2时使用
  9695. type: number
  9696. createtime:
  9697. description: 创建时间
  9698. type: string
  9699. creatorid:
  9700. description: 创建人
  9701. type: integer
  9702. currencyid:
  9703. description: 报价货币ID
  9704. type: integer
  9705. decimalplace:
  9706. description: 报价小数位
  9707. type: integer
  9708. exercisetype:
  9709. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  9710. type: integer
  9711. exexchangeid:
  9712. description: 外部交易所ID[通道交易]
  9713. type: integer
  9714. goodsgroupid:
  9715. description: 商品组ID(自增ID)
  9716. type: integer
  9717. goodsgroupname:
  9718. description: 商品组名称
  9719. type: string
  9720. goodsgroupstatus:
  9721. description: 商品组状态 - 1:正常 2:注销
  9722. type: integer
  9723. goodunitid:
  9724. description: 报价单位ID
  9725. type: integer
  9726. innerdealmode:
  9727. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  9728. type: integer
  9729. isbuylimited:
  9730. description: 是否限制建仓量 - 0:不限制 1:限制
  9731. type: integer
  9732. marketid:
  9733. description: 所属市场ID
  9734. type: integer
  9735. modifierid:
  9736. description: 修改人
  9737. type: integer
  9738. modifytime:
  9739. description: 修改时间
  9740. type: string
  9741. outerdealmode:
  9742. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  9743. type: integer
  9744. outergroupcode:
  9745. description: 外部商品组代码[通道交易]
  9746. type: string
  9747. premiumdecimalplace:
  9748. description: 权利金小数位[场外期权]
  9749. type: integer
  9750. premiumspreadalgorithm:
  9751. description: 权利金点差方式[场外期权] 1:比率 2:固定
  9752. type: integer
  9753. premiumspreadvalue:
  9754. description: 权利金点差值[场外期权]
  9755. type: number
  9756. qtydecimalplace:
  9757. description: 成交量小数位
  9758. type: integer
  9759. quotegear:
  9760. description: 行情档位(1-10)
  9761. type: integer
  9762. quoteminunit:
  9763. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9764. type: integer
  9765. quoterid:
  9766. description: 报价商ID[场外期权]
  9767. type: integer
  9768. quotesourcegroupid:
  9769. description: 所属行情源分组ID[参考行情市场用\通道交易]
  9770. type: integer
  9771. syncgoodsqty:
  9772. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  9773. type: integer
  9774. required:
  9775. - goodsgroupid
  9776. - goodsgroupname
  9777. - goodsgroupstatus
  9778. - marketid
  9779. type: object
  9780. models.Goodssortbypreposition:
  9781. properties:
  9782. goodscode:
  9783. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  9784. type: string
  9785. goodsgroupcode:
  9786. description: 品种代码
  9787. type: string
  9788. prepositionqty:
  9789. description: 昨持仓量
  9790. type: integer
  9791. sortindex:
  9792. description: 排序
  9793. type: integer
  9794. tradedate:
  9795. description: 交易日
  9796. type: string
  9797. updatetime:
  9798. description: 更新时间
  9799. type: string
  9800. required:
  9801. - goodscode
  9802. - tradedate
  9803. type: object
  9804. models.Hedgeinnerholderdetail:
  9805. properties:
  9806. accountid:
  9807. description: 账号ID
  9808. type: integer
  9809. buyorsell:
  9810. description: 方向 - 0:买 1:卖
  9811. type: integer
  9812. freezeqty:
  9813. description: 冻结数量 - 按单平使用
  9814. type: integer
  9815. goodsid:
  9816. description: 商品ID
  9817. type: integer
  9818. holderamount:
  9819. description: 持仓金额 [商品币种]
  9820. type: number
  9821. holderdays:
  9822. description: 剩余冻结天数
  9823. type: integer
  9824. holderprice:
  9825. description: 持仓价格
  9826. type: number
  9827. holderqty:
  9828. description: 持仓数量
  9829. type: integer
  9830. marketid:
  9831. description: 市场ID
  9832. type: integer
  9833. openprice:
  9834. description: 建仓价格
  9835. type: number
  9836. openqty:
  9837. description: 建仓数量
  9838. type: integer
  9839. parentaccountid:
  9840. description: 所属母账户
  9841. type: integer
  9842. releaseamount:
  9843. description: 释放持仓金额[商品币种]
  9844. type: number
  9845. tradeamount:
  9846. description: 成交金额[账户]
  9847. type: number
  9848. tradedate:
  9849. description: 交易日(yyyyMMdd)
  9850. type: string
  9851. tradeid:
  9852. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9853. type: string
  9854. tradetime:
  9855. description: 交易时间
  9856. type: string
  9857. required:
  9858. - buyorsell
  9859. - tradeid
  9860. type: object
  9861. models.Hedgemarketopenlog:
  9862. properties:
  9863. accountid:
  9864. description: 资金账号[外部母账户]
  9865. type: integer
  9866. fcname:
  9867. description: 期货公司名称
  9868. type: string
  9869. handlestatus:
  9870. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  9871. type: integer
  9872. marketid:
  9873. description: 市场ID
  9874. type: integer
  9875. status:
  9876. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  9877. type: integer
  9878. tradedate:
  9879. description: 交易日(yyyyMMdd)
  9880. type: string
  9881. updatetime:
  9882. description: 更新时间
  9883. type: string
  9884. required:
  9885. - accountid
  9886. type: object
  9887. models.HsbyBuyMyPayOrder:
  9888. properties:
  9889. agreeunit:
  9890. description: 合约单位
  9891. type: number
  9892. buyaccountid:
  9893. description: 买方账号ID[报价币种]
  9894. type: integer
  9895. buyorderid:
  9896. description: 买方委托单号
  9897. type: string
  9898. createtime:
  9899. description: 创建时间
  9900. type: string
  9901. currencysign:
  9902. description: 货币符号
  9903. type: string
  9904. decimalplace:
  9905. description: 报价小数位
  9906. type: integer
  9907. goodscode:
  9908. description: 商品代码(内部)
  9909. type: string
  9910. goodsid:
  9911. description: 商品ID
  9912. type: integer
  9913. goodsname:
  9914. description: 商品名称
  9915. type: string
  9916. marketid:
  9917. description: 市场ID
  9918. type: integer
  9919. offamount:
  9920. description: 优惠金额
  9921. type: number
  9922. originalamount:
  9923. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  9924. type: number
  9925. payamount:
  9926. description: 支付金额 = TradeAmount + TradeCharge
  9927. type: number
  9928. payflag:
  9929. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  9930. type: integer
  9931. paylimitedtime:
  9932. description: 支付期限
  9933. type: string
  9934. paytime:
  9935. description: 付款时间
  9936. type: string
  9937. picurls1:
  9938. description: 预售商品介绍图片[多张用逗号分隔]
  9939. type: string
  9940. picurls2:
  9941. description: 挂牌商品介绍图片[多张用逗号分隔]
  9942. type: string
  9943. sellaccountid:
  9944. description: 卖方账号ID[报价币种]
  9945. type: integer
  9946. sellorderid:
  9947. description: 卖方委托单号
  9948. type: string
  9949. tradeamount:
  9950. description: 成交金额
  9951. type: number
  9952. tradecharge:
  9953. description: 成交手续费(买方)
  9954. type: number
  9955. tradedate:
  9956. description: 交易日(yyyyMMdd)
  9957. type: string
  9958. tradeid:
  9959. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9960. type: string
  9961. trademode:
  9962. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9963. 21:竞拍-大宗式 22:受托竞价
  9964. type: integer
  9965. tradeprice:
  9966. description: 成交价格
  9967. type: number
  9968. tradeqty:
  9969. description: 成交数量
  9970. type: integer
  9971. vendorname1:
  9972. description: 预售商品供应商名称
  9973. type: string
  9974. vendorname2:
  9975. description: 挂牌商品供应商名称
  9976. type: string
  9977. required:
  9978. - goodscode
  9979. - goodsname
  9980. - tradeid
  9981. - trademode
  9982. type: object
  9983. models.HsbyBuyMyTradeDetail:
  9984. properties:
  9985. accountid:
  9986. description: 账户ID[报价币种]
  9987. type: integer
  9988. agreeunit:
  9989. description: 合约单位
  9990. type: number
  9991. amount:
  9992. description: 金额 = 价格 * 数量 * 合约单位
  9993. type: number
  9994. buyorsell:
  9995. description: 买卖 - 0:买 1:卖
  9996. type: integer
  9997. currencysign:
  9998. description: 货币符号
  9999. type: string
  10000. decimalplace:
  10001. description: 报价小数位
  10002. type: integer
  10003. goodscode:
  10004. description: 商品代码(内部)
  10005. type: string
  10006. goodsid:
  10007. description: 商品ID
  10008. type: integer
  10009. goodsname:
  10010. description: 商品名称
  10011. type: string
  10012. marketid:
  10013. description: 市场ID
  10014. type: integer
  10015. orderamount:
  10016. description: 委托金额
  10017. type: number
  10018. orderid:
  10019. description: 单号(成交单号)
  10020. type: string
  10021. picurls1:
  10022. description: 预售商品介绍图片[多张用逗号分隔]
  10023. type: string
  10024. picurls2:
  10025. description: 挂牌商品介绍图片[多张用逗号分隔]
  10026. type: string
  10027. price:
  10028. description: 价格
  10029. type: number
  10030. qty:
  10031. description: 数量
  10032. type: integer
  10033. time:
  10034. description: 时间
  10035. type: string
  10036. trademode:
  10037. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10038. 21:竞拍-大宗式 22:受托竞价
  10039. type: integer
  10040. vendorname1:
  10041. description: 预售商品供应商名称
  10042. type: string
  10043. vendorname2:
  10044. description: 挂牌商品供应商名称
  10045. type: string
  10046. required:
  10047. - accountid
  10048. - buyorsell
  10049. - goodscode
  10050. - goodsid
  10051. - goodsname
  10052. - marketid
  10053. - orderid
  10054. - qty
  10055. - time
  10056. - trademode
  10057. type: object
  10058. models.HsbyGoodsOrderDetail:
  10059. properties:
  10060. buyorsell:
  10061. description: 买卖 - 0:买 1:卖
  10062. type: integer
  10063. currencysign:
  10064. description: 货币符号
  10065. type: string
  10066. customername:
  10067. description: 客户名称(企业名称),已脱敏
  10068. type: string
  10069. enableqty:
  10070. description: 可用数量
  10071. type: integer
  10072. goodunit:
  10073. description: 报价单位
  10074. type: string
  10075. orderid:
  10076. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10077. type: string
  10078. orderprice:
  10079. description: 委托价格
  10080. type: number
  10081. ordertime:
  10082. description: 委托时间
  10083. type: string
  10084. required:
  10085. - buyorsell
  10086. - orderid
  10087. - ordertime
  10088. type: object
  10089. models.HsbyListingGoodsDetail:
  10090. properties:
  10091. agreeunit:
  10092. description: 合约单位
  10093. type: number
  10094. buymaxqty:
  10095. description: 购买上限 [71] - 0为不限
  10096. type: integer
  10097. currency:
  10098. description: 货币
  10099. type: string
  10100. currencysign:
  10101. description: 货币符号
  10102. type: string
  10103. decimalplace:
  10104. description: 报价小数位
  10105. type: integer
  10106. desccityid:
  10107. description: 目的地(市)ID
  10108. type: integer
  10109. descprovinceid:
  10110. description: 目的地(省)ID
  10111. type: integer
  10112. goodscode:
  10113. description: 商品代码(内部)
  10114. type: string
  10115. goodsdesc:
  10116. description: 商品详情
  10117. type: string
  10118. goodsid:
  10119. description: 商品ID(自增ID SEQ_GOODS)
  10120. type: integer
  10121. goodsname:
  10122. description: 商品名称
  10123. type: string
  10124. goodsprice:
  10125. description: 商品价格
  10126. type: number
  10127. hotindex:
  10128. description: 景点热度
  10129. type: integer
  10130. last:
  10131. description: 现价
  10132. type: number
  10133. limitdown:
  10134. description: 跌停价
  10135. type: number
  10136. limitup:
  10137. description: 涨停价
  10138. type: number
  10139. lotsize:
  10140. description: 手数最小变动单位
  10141. type: integer
  10142. marketid:
  10143. description: 所属市场ID
  10144. type: integer
  10145. picurls:
  10146. description: 介绍图片[多张用逗号分隔]
  10147. type: string
  10148. quoteminunit:
  10149. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10150. type: integer
  10151. stepvalue:
  10152. description: 价格最小变动单位
  10153. type: number
  10154. trademode:
  10155. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10156. 21:竞拍-大宗式 22:受托竞价
  10157. type: integer
  10158. vendorattr:
  10159. description: 供应商附件(多张,逗号分隔)
  10160. type: string
  10161. vendorname:
  10162. description: 供应商名称
  10163. type: string
  10164. vendorphone:
  10165. description: 供应商客服电话
  10166. type: string
  10167. videourls:
  10168. description: 介绍视频[多张用逗号分隔]
  10169. type: string
  10170. required:
  10171. - goodscode
  10172. - goodsid
  10173. - goodsname
  10174. - marketid
  10175. - trademode
  10176. type: object
  10177. models.HsbyMarketGoods:
  10178. properties:
  10179. accountid:
  10180. description: 账户ID[报价币种]
  10181. type: integer
  10182. agreeunit:
  10183. description: 合约单位
  10184. type: number
  10185. buyorsell:
  10186. description: 买卖 - 0:买 1:卖
  10187. type: integer
  10188. categoryid:
  10189. description: 类别ID(WRCATEGORY)
  10190. type: integer
  10191. currency:
  10192. description: 货币
  10193. type: string
  10194. currencysign:
  10195. description: 货币符号
  10196. type: string
  10197. customername:
  10198. description: 卖家名称
  10199. type: string
  10200. decimalplace:
  10201. description: 报价小数位
  10202. type: integer
  10203. goodscode:
  10204. description: 商品代码(内部)
  10205. type: string
  10206. goodsid:
  10207. description: 商品ID
  10208. type: integer
  10209. goodsname:
  10210. description: 商品名称
  10211. type: string
  10212. goodsprice:
  10213. description: 商品价格
  10214. type: number
  10215. hascoupon:
  10216. description: 是否可用优惠卷
  10217. type: boolean
  10218. hotindex:
  10219. description: 景点热度
  10220. type: integer
  10221. marketid:
  10222. description: 市场ID
  10223. type: integer
  10224. orderid:
  10225. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10226. type: string
  10227. orderprice:
  10228. description: 委托价格
  10229. type: number
  10230. orderstatus:
  10231. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  10232. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  10233. 16:成交失败违约(荷兰式竞拍专用)
  10234. type: integer
  10235. picurls:
  10236. description: 介绍图片[多张用逗号分隔]
  10237. type: string
  10238. quoteminunit:
  10239. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10240. type: integer
  10241. sellUserID:
  10242. description: 卖方UserID
  10243. type: integer
  10244. trademode:
  10245. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10246. 21:竞拍-大宗式 22:受托竞价
  10247. type: integer
  10248. videourls:
  10249. description: 介绍视频[多张用逗号分隔]
  10250. type: string
  10251. required:
  10252. - accountid
  10253. - buyorsell
  10254. - goodscode
  10255. - goodsid
  10256. - goodsname
  10257. - marketid
  10258. - orderid
  10259. - trademode
  10260. type: object
  10261. models.HsbyMarketGoodsDetail:
  10262. properties:
  10263. accountid:
  10264. description: 账户ID[报价币种]
  10265. type: integer
  10266. agreeunit:
  10267. description: 合约单位
  10268. type: number
  10269. buymaxqty:
  10270. description: 购买上限 [71] - 0为不限
  10271. type: integer
  10272. buyorsell:
  10273. description: 买卖 - 0:买 1:卖
  10274. type: integer
  10275. cancelqty:
  10276. description: 撤单数量
  10277. type: integer
  10278. categoryid:
  10279. description: 类别ID(WRCATEGORY)
  10280. type: integer
  10281. currency:
  10282. description: 货币
  10283. type: string
  10284. currencysign:
  10285. description: 货币符号
  10286. type: string
  10287. customername:
  10288. description: 卖家名称
  10289. type: string
  10290. decimalplace:
  10291. description: 报价小数位
  10292. type: integer
  10293. goodscode:
  10294. description: 商品代码(内部)
  10295. type: string
  10296. goodsdesc:
  10297. description: 商品详情
  10298. type: string
  10299. goodsid:
  10300. description: 商品ID
  10301. type: integer
  10302. goodsname:
  10303. description: 商品名称
  10304. type: string
  10305. goodsprice:
  10306. description: 商品价格
  10307. type: number
  10308. hotindex:
  10309. description: 景点热度
  10310. type: integer
  10311. lotsize:
  10312. description: 手数最小变动单位
  10313. type: integer
  10314. marketid:
  10315. description: 市场ID
  10316. type: integer
  10317. orderid:
  10318. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10319. type: string
  10320. orderprice:
  10321. description: 委托价格
  10322. type: number
  10323. orderqty:
  10324. description: 委托数量
  10325. type: integer
  10326. orderstatus:
  10327. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  10328. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  10329. 16:成交失败违约(荷兰式竞拍专用)
  10330. type: integer
  10331. picurls:
  10332. description: 介绍图片[多张用逗号分隔]
  10333. type: string
  10334. quoteminunit:
  10335. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10336. type: integer
  10337. sellUserID:
  10338. description: 卖方UserID
  10339. type: integer
  10340. trademode:
  10341. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10342. 21:竞拍-大宗式 22:受托竞价
  10343. type: integer
  10344. tradeqty:
  10345. description: 成交数量
  10346. type: integer
  10347. vendorattr:
  10348. description: 供应商附件(多张,逗号分隔)
  10349. type: string
  10350. vendorname:
  10351. description: 供应商名称
  10352. type: string
  10353. vendorphone:
  10354. description: 供应商客服电话
  10355. type: string
  10356. videourls:
  10357. description: 介绍视频[多张用逗号分隔]
  10358. type: string
  10359. required:
  10360. - accountid
  10361. - buyorsell
  10362. - goodscode
  10363. - goodsid
  10364. - goodsname
  10365. - marketid
  10366. - orderid
  10367. - orderqty
  10368. - trademode
  10369. type: object
  10370. models.HsbyMarketInfo:
  10371. properties:
  10372. marketid:
  10373. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  10374. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  10375. type: integer
  10376. marketname:
  10377. description: 市场名称
  10378. type: string
  10379. marketstatus:
  10380. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  10381. type: integer
  10382. trademode:
  10383. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10384. 21:竞拍-大宗式 22:受托竞价
  10385. type: integer
  10386. required:
  10387. - marketid
  10388. - marketstatus
  10389. - trademode
  10390. type: object
  10391. models.HsbyMyGoods:
  10392. properties:
  10393. accountid:
  10394. description: 账号Id
  10395. type: integer
  10396. agreeunit:
  10397. description: 合约单位
  10398. type: number
  10399. buyaverageprice:
  10400. description: 持仓均价
  10401. type: number
  10402. buycurholderamount:
  10403. description: 买当前持仓总金额[商品币种]
  10404. type: number
  10405. buycurpositionqty:
  10406. description: 买当前持仓总数量
  10407. type: integer
  10408. buymaxqty:
  10409. description: 购买上限 [71] - 0为不限
  10410. type: integer
  10411. currencysign:
  10412. description: 货币符号
  10413. type: string
  10414. decimalplace:
  10415. description: 报价小数位
  10416. type: integer
  10417. enableqty:
  10418. description: 可用数量
  10419. type: integer
  10420. goodscode:
  10421. description: 商品代码(内部)
  10422. type: string
  10423. goodsid:
  10424. description: 商品Id
  10425. type: integer
  10426. goodsname:
  10427. description: 商品名称
  10428. type: string
  10429. goodsprice:
  10430. description: 商品价格
  10431. type: number
  10432. goodsstatus:
  10433. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  10434. type: integer
  10435. last:
  10436. description: 现价(仅使用于挂牌点选)
  10437. type: number
  10438. limitdown:
  10439. description: 跌停价(仅使用于挂牌点选)
  10440. type: number
  10441. limitup:
  10442. description: 涨停价(仅使用于挂牌点选)
  10443. type: number
  10444. lotsize:
  10445. description: 手数最小变动单位
  10446. type: integer
  10447. marketid:
  10448. description: 所属市场ID
  10449. type: integer
  10450. picurls:
  10451. description: 介绍图片[多张用逗号分隔]
  10452. type: string
  10453. quoteminunit:
  10454. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10455. type: integer
  10456. stepvalue:
  10457. description: 价格最小变动单位
  10458. type: number
  10459. trademode:
  10460. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10461. 21:竞拍-大宗式 22:受托竞价
  10462. type: integer
  10463. required:
  10464. - accountid
  10465. - goodscode
  10466. - goodsid
  10467. - goodsname
  10468. - marketid
  10469. - trademode
  10470. type: object
  10471. models.HsbyMyPackage:
  10472. properties:
  10473. accountid:
  10474. description: 账户ID
  10475. type: integer
  10476. address:
  10477. description: 提货人详细地址
  10478. type: string
  10479. agreeunit:
  10480. description: 合约单位
  10481. type: number
  10482. amount:
  10483. description: 提货金额
  10484. type: number
  10485. auditer:
  10486. description: 审核人
  10487. type: integer
  10488. audittime:
  10489. description: 审核时间
  10490. type: string
  10491. averageprice:
  10492. description: 均价
  10493. type: number
  10494. cardnum:
  10495. description: 提货人证件号码
  10496. type: string
  10497. cardtypeid:
  10498. description: 提货人证件类型
  10499. type: integer
  10500. checkremark:
  10501. description: 审核备注
  10502. type: string
  10503. currencysign:
  10504. description: 货币符号
  10505. type: string
  10506. decimalplace:
  10507. description: 报价小数位
  10508. type: integer
  10509. goodscode:
  10510. description: 商品代码(内部)
  10511. type: string
  10512. goodsid:
  10513. description: 商品ID
  10514. type: integer
  10515. goodsname:
  10516. description: 商品名称
  10517. type: string
  10518. handlestatus:
  10519. description: 处理状态
  10520. type: integer
  10521. marketid:
  10522. description: 市场ID
  10523. type: integer
  10524. phonenum:
  10525. description: 提货人联系方式
  10526. type: string
  10527. picurls:
  10528. description: 介绍图片[多张用逗号分隔]
  10529. type: string
  10530. qty:
  10531. description: 提货数量
  10532. type: number
  10533. recivername:
  10534. description: 提货人姓名
  10535. type: string
  10536. reqtime:
  10537. description: 更新时间
  10538. type: string
  10539. takemode:
  10540. description: 提货方式 - 2:自提 3:配送
  10541. type: integer
  10542. takeorderid:
  10543. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  10544. type: string
  10545. takeorderstatus:
  10546. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  10547. type: integer
  10548. takeremark:
  10549. description: 提货备注
  10550. type: string
  10551. tradedate:
  10552. description: 交易日(yyyyMMdd)
  10553. type: string
  10554. trademode:
  10555. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10556. 21:竞拍-大宗式 22:受托竞价
  10557. type: integer
  10558. userid:
  10559. description: 用户ID
  10560. type: integer
  10561. vendorname:
  10562. description: 供应商名称
  10563. type: string
  10564. required:
  10565. - goodscode
  10566. - goodsname
  10567. - takeorderid
  10568. - trademode
  10569. type: object
  10570. models.HsbyPreGoods:
  10571. properties:
  10572. agreeunit:
  10573. description: 合约单位
  10574. type: number
  10575. currency:
  10576. description: 货币
  10577. type: string
  10578. currencysign:
  10579. description: 货币符号
  10580. type: string
  10581. decimalplace:
  10582. description: 报价小数位
  10583. type: integer
  10584. desccityid:
  10585. description: 目的地(市)
  10586. type: integer
  10587. descprovinceid:
  10588. description: 目的地(省)
  10589. type: integer
  10590. enableqty:
  10591. description: 剩余数量
  10592. type: integer
  10593. goodscode:
  10594. description: 商品代码(内部)
  10595. type: string
  10596. goodsid:
  10597. description: 商品ID(自增ID SEQ_GOODS)
  10598. type: integer
  10599. goodsname:
  10600. description: 商品名称
  10601. type: string
  10602. goodsstatus:
  10603. description: 商品状态- 2:未上市 3:上市
  10604. type: integer
  10605. lasttradedate:
  10606. description: 最后交易日期(状态:待退市)
  10607. type: string
  10608. listingdate:
  10609. description: 交易开始日期
  10610. type: string
  10611. marketid:
  10612. description: 所属市场ID
  10613. type: integer
  10614. picurls:
  10615. description: 介绍图片[多张用逗号分隔]
  10616. type: string
  10617. presaledqty:
  10618. description: 已预售量(预售结束时更新)
  10619. type: integer
  10620. presaleqty:
  10621. description: 预售数量
  10622. type: integer
  10623. quoteminunit:
  10624. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10625. type: integer
  10626. refprice:
  10627. description: 参考价格[一口价]
  10628. type: number
  10629. relatedgoodsid:
  10630. description: 关联交易合约ID
  10631. type: integer
  10632. trademode:
  10633. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10634. 21:竞拍-大宗式 22:受托竞价
  10635. type: integer
  10636. videourls:
  10637. description: 介绍视频[多张用逗号分隔]
  10638. type: string
  10639. required:
  10640. - goodscode
  10641. - goodsid
  10642. - goodsname
  10643. - marketid
  10644. - trademode
  10645. type: object
  10646. models.HsbyPreGoodsDetail:
  10647. properties:
  10648. agreeunit:
  10649. description: 合约单位
  10650. type: number
  10651. buymaxqty:
  10652. description: 购买上限 [71] - 0为不限
  10653. type: integer
  10654. currency:
  10655. description: 货币
  10656. type: string
  10657. currencysign:
  10658. description: 货币符号
  10659. type: string
  10660. customername:
  10661. description: 发行单位
  10662. type: string
  10663. decimalplace:
  10664. description: 报价小数位
  10665. type: integer
  10666. desccityid:
  10667. description: 目的地(市)ID
  10668. type: integer
  10669. descprovinceid:
  10670. description: 目的地(省)ID
  10671. type: integer
  10672. enableqty:
  10673. description: 剩余数量
  10674. type: integer
  10675. goodscode:
  10676. description: 商品代码(内部)
  10677. type: string
  10678. goodsdesc:
  10679. description: 商品详情
  10680. type: string
  10681. goodsid:
  10682. description: 商品ID(自增ID SEQ_GOODS)
  10683. type: integer
  10684. goodsname:
  10685. description: 商品名称
  10686. type: string
  10687. goodsstatus:
  10688. description: 商品状态- 2:未上市 3:上市
  10689. type: integer
  10690. goodunit:
  10691. description: 报价单位
  10692. type: string
  10693. lasttradedate:
  10694. description: 最后交易日期(状态:待退市)
  10695. type: string
  10696. listingdate:
  10697. description: 交易开始日期
  10698. type: string
  10699. lotsize:
  10700. description: 手数最小变动单位
  10701. type: integer
  10702. marketid:
  10703. description: 所属市场ID
  10704. type: integer
  10705. picurls:
  10706. description: 介绍图片[多张用逗号分隔]
  10707. type: string
  10708. presaledqty:
  10709. description: 已预售量(预售结束时更新)
  10710. type: integer
  10711. presaleqty:
  10712. description: 预售数量
  10713. type: integer
  10714. quoteminunit:
  10715. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10716. type: integer
  10717. refprice:
  10718. description: 参考价格[一口价]
  10719. type: number
  10720. relatedgoodsid:
  10721. description: 关联交易合约ID
  10722. type: integer
  10723. stepvalue:
  10724. description: 价格最小变动单位
  10725. type: number
  10726. trademode:
  10727. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10728. 21:竞拍-大宗式 22:受托竞价
  10729. type: integer
  10730. vendorattr:
  10731. description: 供应商附件(多张,逗号分隔)
  10732. type: string
  10733. vendorname:
  10734. description: 供应商名称
  10735. type: string
  10736. vendorphone:
  10737. description: 供应商客服电话
  10738. type: string
  10739. videourls:
  10740. description: 介绍视频[多张用逗号分隔]
  10741. type: string
  10742. required:
  10743. - goodscode
  10744. - goodsid
  10745. - goodsname
  10746. - marketid
  10747. - trademode
  10748. type: object
  10749. models.HsbySellCollectionOrder:
  10750. properties:
  10751. agreeunit:
  10752. description: 合约单位
  10753. type: number
  10754. buyaccountid:
  10755. description: 买方账号ID[报价币种]
  10756. type: integer
  10757. buyorderid:
  10758. description: 买方委托单号
  10759. type: string
  10760. createtime:
  10761. description: 创建时间
  10762. type: string
  10763. currencysign:
  10764. description: 货币符号
  10765. type: string
  10766. decimalplace:
  10767. description: 报价小数位
  10768. type: integer
  10769. goodscode:
  10770. description: 商品代码(内部)
  10771. type: string
  10772. goodsid:
  10773. description: 商品ID
  10774. type: integer
  10775. goodsname:
  10776. description: 商品名称
  10777. type: string
  10778. marketid:
  10779. description: 市场ID
  10780. type: integer
  10781. offamount:
  10782. description: 优惠金额
  10783. type: number
  10784. payamount:
  10785. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  10786. type: number
  10787. payflag:
  10788. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  10789. type: integer
  10790. paylimitedtime:
  10791. description: 支付期限
  10792. type: string
  10793. paytime:
  10794. description: 付款时间
  10795. type: string
  10796. picurls:
  10797. description: 商品介绍图片[多张用逗号分隔]
  10798. type: string
  10799. sellaccountid:
  10800. description: 卖方账号ID[报价币种]
  10801. type: integer
  10802. sellorderid:
  10803. description: 卖方委托单号
  10804. type: string
  10805. tradeamount:
  10806. description: 成交金额
  10807. type: number
  10808. tradecharge:
  10809. description: 成交手续费(买方)
  10810. type: number
  10811. tradedate:
  10812. description: 交易日(yyyyMMdd)
  10813. type: string
  10814. tradeid:
  10815. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10816. type: string
  10817. trademode:
  10818. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10819. 21:竞拍-大宗式 22:受托竞价
  10820. type: integer
  10821. tradeprice:
  10822. description: 成交价格
  10823. type: number
  10824. tradeqty:
  10825. description: 成交数量
  10826. type: integer
  10827. required:
  10828. - goodscode
  10829. - goodsname
  10830. - tradeid
  10831. - trademode
  10832. type: object
  10833. models.HsbySellMyDetail:
  10834. properties:
  10835. accountid:
  10836. description: 账户ID[报价币种]
  10837. type: integer
  10838. agreeunit:
  10839. description: 合约单位
  10840. type: number
  10841. buyorsell:
  10842. description: 买卖 - 0:买 1:卖
  10843. type: integer
  10844. currencysign:
  10845. description: 货币符号
  10846. type: string
  10847. decimalplace:
  10848. description: 报价小数位
  10849. type: integer
  10850. goodscode:
  10851. description: 商品代码(内部)
  10852. type: string
  10853. goodsid:
  10854. description: 商品ID
  10855. type: integer
  10856. goodsname:
  10857. description: 商品名称
  10858. type: string
  10859. marketid:
  10860. description: 市场ID
  10861. type: integer
  10862. orderid:
  10863. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  10864. type: string
  10865. ordertype:
  10866. description: 单据类型:0 - 发布中, 1 - 已完成
  10867. type: integer
  10868. picurls:
  10869. description: 介绍图片[多张用逗号分隔]
  10870. type: string
  10871. price:
  10872. description: 价格
  10873. type: number
  10874. qty:
  10875. description: 数量
  10876. type: integer
  10877. time:
  10878. description: 时间
  10879. type: string
  10880. trademode:
  10881. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10882. 21:竞拍-大宗式 22:受托竞价
  10883. type: integer
  10884. vendorname:
  10885. description: 供应商名称
  10886. type: string
  10887. required:
  10888. - accountid
  10889. - buyorsell
  10890. - goodscode
  10891. - goodsid
  10892. - goodsname
  10893. - marketid
  10894. - orderid
  10895. - time
  10896. - trademode
  10897. type: object
  10898. models.HsbyTopGoods:
  10899. properties:
  10900. agreeunit:
  10901. description: 合约单位
  10902. type: number
  10903. currency:
  10904. description: 货币
  10905. type: string
  10906. currencysign:
  10907. description: 货币符号
  10908. type: string
  10909. decimalplace:
  10910. description: 报价小数位
  10911. type: integer
  10912. desccityid:
  10913. description: 目的地(市)
  10914. type: integer
  10915. descprovinceid:
  10916. description: 目的地(省)
  10917. type: integer
  10918. goodscode:
  10919. description: 商品代码(内部)
  10920. type: string
  10921. goodsid:
  10922. description: 商品ID(自增ID SEQ_GOODS)
  10923. type: integer
  10924. goodsname:
  10925. description: 商品名称
  10926. type: string
  10927. hotindex:
  10928. description: 景点热度
  10929. type: integer
  10930. last:
  10931. description: 现价
  10932. type: number
  10933. marketid:
  10934. description: 所属市场ID
  10935. type: integer
  10936. picurls:
  10937. description: 介绍图片[多张用逗号分隔]
  10938. type: string
  10939. quoteminunit:
  10940. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10941. type: integer
  10942. trademode:
  10943. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10944. 21:竞拍-大宗式 22:受托竞价
  10945. type: integer
  10946. videourls:
  10947. description: 介绍视频[多张用逗号分隔]
  10948. type: string
  10949. required:
  10950. - goodscode
  10951. - goodsid
  10952. - goodsname
  10953. - marketid
  10954. - trademode
  10955. type: object
  10956. models.HybsMyBuyOrderDetail:
  10957. properties:
  10958. accountid:
  10959. description: 账户ID[报价币种]
  10960. type: integer
  10961. agreeunit:
  10962. description: 合约单位
  10963. type: number
  10964. buyorsell:
  10965. description: 买卖 - 0:买 1:卖
  10966. type: integer
  10967. cancelqty:
  10968. description: 撤单数量
  10969. type: integer
  10970. currencysign:
  10971. description: 货币符号
  10972. type: string
  10973. decimalplace:
  10974. description: 报价小数位
  10975. type: integer
  10976. goodscode:
  10977. description: 商品代码(内部)
  10978. type: string
  10979. goodsid:
  10980. description: 商品ID
  10981. type: integer
  10982. goodsname:
  10983. description: 商品名称
  10984. type: string
  10985. listingselecttype:
  10986. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  10987. type: integer
  10988. marketid:
  10989. description: 市场ID
  10990. type: integer
  10991. mybuystatus:
  10992. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  10993. type: integer
  10994. orderamount:
  10995. description: 委托金额
  10996. type: number
  10997. orderid:
  10998. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10999. type: string
  11000. orderprice:
  11001. description: 委托价格
  11002. type: number
  11003. orderqty:
  11004. description: 委托数量
  11005. type: integer
  11006. orderstatus:
  11007. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  11008. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  11009. 16:成交失败违约(荷兰式竞拍专用)
  11010. type: integer
  11011. ordertime:
  11012. description: 委托时间
  11013. type: string
  11014. picurls1:
  11015. description: 预售商品介绍图片[多张用逗号分隔]
  11016. type: string
  11017. picurls2:
  11018. description: 挂牌商品介绍图片[多张用逗号分隔]
  11019. type: string
  11020. trademode:
  11021. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11022. 21:竞拍-大宗式 22:受托竞价
  11023. type: integer
  11024. tradeqty:
  11025. description: 成交数量
  11026. type: integer
  11027. vendorname1:
  11028. description: 预售商品供应商名称
  11029. type: string
  11030. vendorname2:
  11031. description: 挂牌商品供应商名称
  11032. type: string
  11033. required:
  11034. - accountid
  11035. - buyorsell
  11036. - goodscode
  11037. - goodsid
  11038. - goodsname
  11039. - marketid
  11040. - orderid
  11041. - orderqty
  11042. - ordertime
  11043. - trademode
  11044. type: object
  11045. models.InternalEnableTradeDetail:
  11046. properties:
  11047. agreeunit:
  11048. description: 合约乘数
  11049. type: number
  11050. areauserid:
  11051. description: 企业ID
  11052. type: integer
  11053. convertratio:
  11054. description: 品种系数
  11055. type: number
  11056. deliverygoodscode:
  11057. description: 现货品种代码
  11058. type: string
  11059. deliverygoodsid:
  11060. description: 现货品种ID(SEQ_DELIVERYGOODS)
  11061. type: integer
  11062. deliverygoodsname:
  11063. description: 现货品种名称
  11064. type: string
  11065. futurehedgeqty:
  11066. description: '[已关联数量]期货持仓套期量'
  11067. type: number
  11068. goodsid:
  11069. description: 期货合约ID
  11070. type: integer
  11071. hedgeditemid:
  11072. description: 被套期项目ID
  11073. type: string
  11074. hedgeditemnum:
  11075. description: 项目编号
  11076. type: string
  11077. unexehedgeqty:
  11078. description: 未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)
  11079. type: number
  11080. unexespotqty:
  11081. description: 未执行现货量
  11082. type: number
  11083. wrstandardcode:
  11084. description: 现货品类代码
  11085. type: string
  11086. wrstandardid:
  11087. description: 现货品类ID(SEQ_WRSTANDARD)
  11088. type: integer
  11089. wrstandardname:
  11090. description: 现货品类名称
  11091. type: string
  11092. required:
  11093. - areauserid
  11094. - goodsid
  11095. type: object
  11096. models.InternalUncorrelatedTradeDetail:
  11097. properties:
  11098. accountid:
  11099. description: 账号ID
  11100. type: integer
  11101. accountname:
  11102. description: 套期主体
  11103. type: string
  11104. agreeunit:
  11105. description: 合约乘数
  11106. type: number
  11107. areauserid:
  11108. description: 所属机构
  11109. type: integer
  11110. bizsubjectid:
  11111. description: 归属业务部门ID - SubjectID
  11112. type: integer
  11113. buyorsell:
  11114. description: 方向 - 0:买 1:卖
  11115. type: integer
  11116. channelbuildtype:
  11117. description: 委托单据类型 0:无 1:建仓 2:平仓
  11118. type: integer
  11119. convertratio:
  11120. description: 品种系数
  11121. type: number
  11122. createtime:
  11123. description: 创建时间
  11124. type: string
  11125. creatorid:
  11126. description: 创建人ID
  11127. type: integer
  11128. creatorsrc:
  11129. description: 创建人来源 - 1:管理端 2:终端 3:交易
  11130. type: integer
  11131. enableqty:
  11132. description: 项目可关联手数 = 成交手数 - 关联数量
  11133. type: number
  11134. goodscode:
  11135. description: 合约代码
  11136. type: string
  11137. goodsgroupid:
  11138. description: 对冲品种ID[期货合约商品组ID]
  11139. type: integer
  11140. goodsid:
  11141. description: 商品ID
  11142. type: integer
  11143. goodsname:
  11144. description: 合约名称
  11145. type: string
  11146. hedgeditemid:
  11147. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  11148. type: integer
  11149. hedgeflag:
  11150. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  11151. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  11152. type: integer
  11153. linkdetailid:
  11154. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  11155. type: string
  11156. linkstatus:
  11157. description: 关联状态 - 1:成功 2:失败 3:解绑
  11158. type: integer
  11159. middlegoodsid:
  11160. description: 套保品种ID
  11161. type: integer
  11162. relatedlot:
  11163. description: '[数量]关联手数'
  11164. type: number
  11165. relatedmode:
  11166. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  11167. type: integer
  11168. relatedqty:
  11169. description: '[套期商品数量]关联数量 = RelatedLot * AgreeUnit * ConvertRatio'
  11170. type: number
  11171. retcode:
  11172. description: 返回码
  11173. type: integer
  11174. saleuserid:
  11175. description: 业务员ID
  11176. type: integer
  11177. tradedate:
  11178. description: 关联交易日(yyyyMMdd)
  11179. type: string
  11180. tradeid:
  11181. description: 成交单号
  11182. type: string
  11183. tradelot:
  11184. description: 成交手数
  11185. type: integer
  11186. tradeprice:
  11187. description: 成交价
  11188. type: number
  11189. tradetime:
  11190. description: 成交时间
  11191. type: string
  11192. tradetradedate:
  11193. description: 成交交易日(yyyyMMdd)
  11194. type: string
  11195. type: object
  11196. models.Loginaccount:
  11197. properties:
  11198. accountname:
  11199. description: 账户名称
  11200. type: string
  11201. canoutin:
  11202. description: 是否可出入金 - 0:不可 1:可
  11203. type: integer
  11204. clientroleid:
  11205. description: 终端角色ID
  11206. type: integer
  11207. haslogined:
  11208. description: 是否已登录 - 0:未登录 1:已登录
  11209. type: integer
  11210. hasupdatedpwd:
  11211. description: 是否已更改密码 - 0:未修改 1:已修改
  11212. type: integer
  11213. lastloginip:
  11214. description: 最新登录地址
  11215. type: string
  11216. lastloginmode:
  11217. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  11218. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  11219. type: integer
  11220. lastloginremark:
  11221. description: 最新登录描述
  11222. type: string
  11223. lastlogintime:
  11224. description: 最新登录时间
  11225. type: string
  11226. logincode:
  11227. description: 登录代码
  11228. type: string
  11229. loginfailnum:
  11230. description: 连续登录失败次数(登录成功时清零)
  11231. type: integer
  11232. loginid:
  11233. description: 登陆账号
  11234. type: integer
  11235. loginport:
  11236. description: 最新登录端口
  11237. type: integer
  11238. loginstatus:
  11239. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  11240. type: integer
  11241. loginusertype:
  11242. description: 登录账号类型 - 1:投资者 2:机构交易员
  11243. type: integer
  11244. mobile:
  11245. description: 手机号码(加密存储)
  11246. type: string
  11247. modifierid:
  11248. description: 修改人
  11249. type: integer
  11250. modifysrc:
  11251. description: 审核来源 - 1:管理端 2:终端
  11252. type: integer
  11253. modifytime:
  11254. description: 修改时间
  11255. type: string
  11256. password:
  11257. description: 登陆密码
  11258. type: string
  11259. pwdwrongcount:
  11260. description: 密码错误次数
  11261. type: integer
  11262. relateduserid:
  11263. description: 关联用户ID(机构)
  11264. type: integer
  11265. taaccountrighttype:
  11266. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  11267. type: integer
  11268. unfreezetime:
  11269. description: 账户解冻时间
  11270. type: string
  11271. userid:
  11272. description: 用户ID
  11273. type: integer
  11274. required:
  11275. - loginid
  11276. type: object
  11277. models.MainAccountInfo:
  11278. properties:
  11279. accountid:
  11280. description: 账号id
  11281. type: integer
  11282. accountname:
  11283. description: 账号名称(taaccount表中的名称)
  11284. type: string
  11285. appid:
  11286. description: AppID
  11287. type: string
  11288. authcode:
  11289. description: 授权码
  11290. type: string
  11291. brokerid:
  11292. description: 经纪商id
  11293. type: string
  11294. fcid:
  11295. description: 期货公司id
  11296. type: integer
  11297. fcname:
  11298. description: 期货公司代码
  11299. type: string
  11300. hedgeaccountcode:
  11301. description: 外部账号代码(主账号登录代码)
  11302. type: string
  11303. hedgeaccountpwd:
  11304. description: 密码
  11305. type: string
  11306. ismain:
  11307. description: 是否主账号
  11308. type: integer
  11309. relateduserid:
  11310. description: 关联用户id
  11311. type: integer
  11312. userid:
  11313. description: 关联用户id
  11314. type: integer
  11315. type: object
  11316. models.Market:
  11317. properties:
  11318. auctionwrtype:
  11319. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  11320. type: integer
  11321. canacceptquote:
  11322. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  11323. type: integer
  11324. cangoodsexercise:
  11325. description: '[期权]是否可现货行权- 0:否 1:是'
  11326. type: integer
  11327. cangoodsexercisetype:
  11328. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  11329. type: integer
  11330. canmanualquotestrike:
  11331. description: 是否可手动报行权价- 0:否 1:是 [期权]
  11332. type: integer
  11333. canmutistage:
  11334. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  11335. type: integer
  11336. canpreexercise:
  11337. description: '[期权]是否可预申报- 0:否 1:是'
  11338. type: integer
  11339. clearinterval:
  11340. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  11341. type: integer
  11342. contracttmp:
  11343. description: 合同模板[荷兰式][竞价式][仓单贸易]
  11344. type: string
  11345. exchareaid:
  11346. description: 所属交易所,可以没有
  11347. type: integer
  11348. goodstype:
  11349. description: 商品类型 - 1:交易商品 2:仓单商品
  11350. type: integer
  11351. hasrebate:
  11352. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  11353. type: integer
  11354. hastradecredit:
  11355. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  11356. type: integer
  11357. haswr:
  11358. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  11359. type: integer
  11360. isdeductmargin:
  11361. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  11362. type: integer
  11363. isrecordsource:
  11364. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  11365. type: integer
  11366. isreleasemargin:
  11367. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  11368. type: integer
  11369. marginformula:
  11370. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  11371. type: integer
  11372. marginformula2:
  11373. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  11374. type: integer
  11375. marketid:
  11376. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  11377. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  11378. type: integer
  11379. marketname:
  11380. description: 市场名称
  11381. type: string
  11382. marketserviceid:
  11383. description: 市场服务ID
  11384. type: integer
  11385. marketstatus:
  11386. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  11387. type: integer
  11388. markettype:
  11389. description: 市场类型- 1:非交易服务 2:交易服务
  11390. type: integer
  11391. matchermode:
  11392. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  11393. type: integer
  11394. openmethod:
  11395. description: 开盘模式 - 0 自动 1手动
  11396. type: integer
  11397. otcuserid:
  11398. description: 场外期权做市商[场外期权]
  11399. type: integer
  11400. outersynctime:
  11401. description: 外部同步时间点(h24:mi:ss)[场外期权]
  11402. type: string
  11403. pendingflag:
  11404. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  11405. type: integer
  11406. pendingtime:
  11407. description: 待开市时间[通道交易-对冲](HH:mm)
  11408. type: string
  11409. performancetempid:
  11410. description: 履约计划模板ID - 作废
  11411. type: integer
  11412. premiumquotemode:
  11413. description: 权利金报价方式 - 1:自动 2:手动
  11414. type: integer
  11415. rebateratio:
  11416. description: 返利比率[竞价式]
  11417. type: number
  11418. reckonorder:
  11419. description: 结算顺序
  11420. type: integer
  11421. reckonpricealgorithm:
  11422. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  11423. 6.卖一价 7.买一卖一均价 8.外部结算价'
  11424. type: integer
  11425. reckonpriceparam:
  11426. description: 结算价参数
  11427. type: integer
  11428. reckontime:
  11429. description: 结算时间[通道交易-对冲](HH:mm)
  11430. type: string
  11431. roleprioritytype:
  11432. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  11433. type: integer
  11434. selllistingauditflag:
  11435. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  11436. type: integer
  11437. trademarkettype:
  11438. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  11439. type: integer
  11440. trademode:
  11441. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11442. 21:竞拍-大宗式 22:受托竞价
  11443. type: integer
  11444. tradeproperty:
  11445. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  11446. 8:场外期权
  11447. type: integer
  11448. tradetype:
  11449. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  11450. type: integer
  11451. required:
  11452. - marketid
  11453. - marketstatus
  11454. - openmethod
  11455. - reckonpricealgorithm
  11456. - trademode
  11457. - tradeproperty
  11458. type: object
  11459. models.Marketrun:
  11460. properties:
  11461. afternexttradedate:
  11462. description: 下下交易日
  11463. type: string
  11464. clearquoteflag:
  11465. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  11466. type: integer
  11467. lastreckondate:
  11468. description: 最新交易日(结算成功)
  11469. type: string
  11470. machinedate:
  11471. description: 机器时间
  11472. type: string
  11473. manualflag:
  11474. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  11475. type: integer
  11476. marketid:
  11477. description: 市场ID
  11478. type: integer
  11479. nexttradedate:
  11480. description: 下一交易日
  11481. type: string
  11482. pretradedate:
  11483. description: 上一交易日
  11484. type: string
  11485. reckonflag:
  11486. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  11487. type: integer
  11488. runstatus:
  11489. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  11490. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  11491. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  11492. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  11493. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  11494. 62.今日免清算
  11495. type: integer
  11496. sectionid:
  11497. description: 时间段号[多时段时用]
  11498. type: integer
  11499. tradedate:
  11500. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  11501. type: string
  11502. tradedate2:
  11503. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  11504. type: string
  11505. updatetime:
  11506. description: 更新时间
  11507. type: string
  11508. required:
  11509. - marketid
  11510. - nexttradedate
  11511. - reckonflag
  11512. - runstatus
  11513. - tradedate
  11514. - tradedate2
  11515. type: object
  11516. models.Messageboard:
  11517. properties:
  11518. contactnum:
  11519. description: 联系电话
  11520. type: string
  11521. createtime:
  11522. description: 创建时间
  11523. type: string
  11524. message:
  11525. description: 留言信息
  11526. type: string
  11527. messageboardid:
  11528. description: 留言簿ID(SEQ_MessageBoard)
  11529. type: integer
  11530. userid:
  11531. description: 用户ID
  11532. type: integer
  11533. required:
  11534. - messageboardid
  11535. type: object
  11536. models.MyCoupon:
  11537. properties:
  11538. accountid:
  11539. description: 资金账户ID
  11540. type: integer
  11541. areauserid:
  11542. description: 所属机构
  11543. type: integer
  11544. conditionvalue:
  11545. description: 条件阈值(可为0)
  11546. type: number
  11547. couponcategroy:
  11548. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  11549. type: integer
  11550. couponname:
  11551. description: 优惠券名称
  11552. type: string
  11553. coupontypeid:
  11554. description: 优惠券类型ID
  11555. type: string
  11556. couponvalue:
  11557. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  11558. type: number
  11559. curfreezeqty:
  11560. description: 期末冻结数量
  11561. type: integer
  11562. curqty:
  11563. description: 期末数量
  11564. type: integer
  11565. isgeneral:
  11566. description: 是否通用券 - 0:否 1:是
  11567. type: integer
  11568. isunusable:
  11569. description: 是否不可用
  11570. type: boolean
  11571. limitedflag:
  11572. description: 是否指定商品 - 0:不限 1:限制
  11573. type: integer
  11574. limitedgoodsids:
  11575. description: 指定商品IDs[逗号分隔,前后加逗号]
  11576. type: string
  11577. orifreezeqty:
  11578. description: 期初冻结数量
  11579. type: integer
  11580. oriqty:
  11581. description: 期初数量
  11582. type: integer
  11583. reasontype:
  11584. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  11585. type: integer
  11586. todaydecrease:
  11587. description: 今日减少
  11588. type: integer
  11589. todayincrease:
  11590. description: 今日增加
  11591. type: integer
  11592. userid:
  11593. description: 用户ID
  11594. type: integer
  11595. userscope:
  11596. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  11597. type: string
  11598. required:
  11599. - accountid
  11600. - coupontypeid
  11601. type: object
  11602. models.MyCouponHold:
  11603. properties:
  11604. accountid:
  11605. description: 资金账户ID
  11606. type: integer
  11607. conditionvalue:
  11608. description: 条件阈值(可为0)
  11609. type: number
  11610. couponcategroy:
  11611. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  11612. type: integer
  11613. couponholdid:
  11614. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  11615. type: string
  11616. couponname:
  11617. description: 优惠券名称
  11618. type: string
  11619. coupontypeid:
  11620. description: 优惠券类型ID - SEQ_COUPONTYPE
  11621. type: string
  11622. couponvalue:
  11623. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  11624. type: number
  11625. createtime:
  11626. description: 创建时间
  11627. type: string
  11628. enddate:
  11629. description: 结束日期
  11630. type: string
  11631. giveapplyid:
  11632. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  11633. type: integer
  11634. holdstatus:
  11635. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  11636. type: integer
  11637. isgeneral:
  11638. description: 是否通用券 - 0:否 1:是
  11639. type: integer
  11640. limitedflag:
  11641. description: 是否指定商品 - 0:不限 1:限制
  11642. type: integer
  11643. limitedgoodsids:
  11644. description: 指定商品IDs[逗号分隔]
  11645. type: string
  11646. qty:
  11647. description: 数量(按1平铺)
  11648. type: integer
  11649. startdate:
  11650. description: 开始日期
  11651. type: string
  11652. userid:
  11653. description: 用户ID
  11654. type: integer
  11655. userscope:
  11656. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  11657. type: string
  11658. required:
  11659. - couponholdid
  11660. type: object
  11661. models.MyUsedCoupon:
  11662. properties:
  11663. accountid:
  11664. description: 资金账户ID(买方)
  11665. type: integer
  11666. conditionvalue:
  11667. description: 条件阈值(可为0)
  11668. type: number
  11669. couponcategroy:
  11670. description: 种类 - 1:现金券 2:折扣券
  11671. type: integer
  11672. couponname:
  11673. description: 优惠券名称
  11674. type: string
  11675. coupontypeid:
  11676. description: 优惠券类型ID(买方)
  11677. type: string
  11678. couponvalue:
  11679. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  11680. type: number
  11681. createtime:
  11682. description: 创建时间
  11683. type: string
  11684. goodsid:
  11685. description: 商品ID
  11686. type: integer
  11687. handlestatus:
  11688. description: 处理状态
  11689. type: integer
  11690. marketid:
  11691. description: 市场ID
  11692. type: integer
  11693. offamount:
  11694. description: 优惠金额
  11695. type: number
  11696. orderid:
  11697. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11698. type: string
  11699. sellaccountid:
  11700. description: 资金账户ID(卖方)
  11701. type: integer
  11702. tradeamount:
  11703. description: 成交金额
  11704. type: number
  11705. tradeid:
  11706. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11707. type: string
  11708. usedqty:
  11709. description: 使用数量
  11710. type: integer
  11711. required:
  11712. - coupontypeid
  11713. - orderid
  11714. type: object
  11715. models.OperationPrimaryMenu:
  11716. properties:
  11717. Children:
  11718. description: 二级功能菜单
  11719. items:
  11720. $ref: '#/definitions/models.OperationSecondaryMenu'
  11721. type: array
  11722. Key:
  11723. description: 菜单KEY
  11724. type: string
  11725. Label:
  11726. description: 菜单标题
  11727. type: string
  11728. type: object
  11729. models.OperationSecondaryMenu:
  11730. properties:
  11731. Key:
  11732. description: 菜单KEY
  11733. type: string
  11734. Label:
  11735. description: 菜单标题
  11736. type: string
  11737. TabList:
  11738. description: 三级功能菜单
  11739. items:
  11740. $ref: '#/definitions/models.OperationTabMenu'
  11741. type: array
  11742. type: object
  11743. models.OperationTabMenu:
  11744. properties:
  11745. Key:
  11746. description: 菜单KEY
  11747. type: string
  11748. Label:
  11749. description: 菜单标题
  11750. type: string
  11751. type: object
  11752. models.Patradelinkdetail:
  11753. properties:
  11754. accountname:
  11755. description: 套期主体
  11756. type: string
  11757. agreeunit:
  11758. description: 合约乘数
  11759. type: number
  11760. amount:
  11761. description: 金额 = RelatedLot * TradePrice * AgreeUnit
  11762. type: number
  11763. areauserid:
  11764. description: 所属机构
  11765. type: integer
  11766. bizsubjectid:
  11767. description: 归属业务部门ID - SubjectID
  11768. type: integer
  11769. buyorsell:
  11770. description: 方向 - 0:买 1:卖
  11771. type: integer
  11772. convertratio:
  11773. description: 品种系数
  11774. type: number
  11775. convertratiochange:
  11776. description: 套期商品变化量 = RelatedLot * AgreeUnit * ConvertRatio
  11777. type: number
  11778. createtime:
  11779. description: '[日期时间]创建时间'
  11780. type: string
  11781. creatorid:
  11782. description: 创建人ID
  11783. type: integer
  11784. creatorsrc:
  11785. description: 创建人来源 - 1:管理端 2:终端 3:交易
  11786. type: integer
  11787. goodscode:
  11788. description: 商品代码(内部)
  11789. type: string
  11790. goodsgroupid:
  11791. description: 对冲品种ID[期货合约商品组ID]
  11792. type: integer
  11793. goodsid:
  11794. description: 商品ID
  11795. type: integer
  11796. hedgeditemid:
  11797. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  11798. type: integer
  11799. hedgeflag:
  11800. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  11801. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  11802. type: integer
  11803. linkdetailid:
  11804. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  11805. type: string
  11806. linkstatus:
  11807. description: 关联状态 - 1:成功 2:失败 3:解绑
  11808. type: integer
  11809. middlegoodsid:
  11810. description: 套保品种ID
  11811. type: integer
  11812. name:
  11813. description: 账户名/子账户
  11814. type: string
  11815. optioncode:
  11816. description: '[期货合约]期权代码 [期权]'
  11817. type: string
  11818. ordertype:
  11819. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  11820. type: integer
  11821. relatedlot:
  11822. description: '[数量]关联手数'
  11823. type: number
  11824. relatedmode:
  11825. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  11826. type: integer
  11827. relatedqty:
  11828. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  11829. type: number
  11830. retcode:
  11831. description: 返回码
  11832. type: integer
  11833. saleuserid:
  11834. description: 业务员ID
  11835. type: integer
  11836. tradedate:
  11837. description: 关联交易日(yyyyMMdd)
  11838. type: string
  11839. tradeid:
  11840. description: '[成交单号]内部成交单ID'
  11841. type: string
  11842. tradelot:
  11843. description: 成交手数
  11844. type: integer
  11845. tradeprice:
  11846. description: '[价格]成交价格'
  11847. type: number
  11848. tradetradedate:
  11849. description: 成交交易日(yyyyMMdd)
  11850. type: string
  11851. type: object
  11852. models.QhjAccountOutInApply:
  11853. properties:
  11854. accountcode:
  11855. description: 资金账号
  11856. type: string
  11857. accountname:
  11858. description: 用户名称(名称)
  11859. type: string
  11860. accountpwd:
  11861. description: 资金密码
  11862. type: string
  11863. accountticket:
  11864. description: 最新账户服务流水号
  11865. type: string
  11866. amount:
  11867. description: 金额
  11868. type: number
  11869. applyremark:
  11870. description: 申请备注
  11871. type: string
  11872. applystatus:
  11873. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  11874. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  11875. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  11876. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  11877. type: integer
  11878. auditid:
  11879. description: 审核人
  11880. type: integer
  11881. audittime:
  11882. description: 审核时间
  11883. type: string
  11884. bank_apply_ticket:
  11885. description: 银行申请流水
  11886. type: string
  11887. bankaccountname:
  11888. description: 银行账户名
  11889. type: string
  11890. bankaccountno:
  11891. description: 银行卡号
  11892. type: string
  11893. bankid:
  11894. description: 银行编号
  11895. type: string
  11896. bankticket:
  11897. description: 银行流水
  11898. type: string
  11899. branchbankid:
  11900. description: 银行支行号
  11901. type: string
  11902. branchbankname:
  11903. description: 银行支行名称
  11904. type: string
  11905. capamountout:
  11906. description: 出金(劣后本金) - 外部子账户
  11907. type: number
  11908. certificatephotourl:
  11909. description: 凭证地址
  11910. type: string
  11911. charge:
  11912. description: 手续费
  11913. type: number
  11914. checkerrorflag:
  11915. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  11916. type: integer
  11917. currency:
  11918. description: 币种
  11919. type: string
  11920. cusbankid:
  11921. description: 托管银行编号
  11922. type: string
  11923. exchticket:
  11924. description: 银行服务流水号
  11925. type: string
  11926. executetype:
  11927. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  11928. 7:外部子账户:入金 8:外部子账户:出金'
  11929. type: integer
  11930. extendinfo:
  11931. description: 扩展信息
  11932. type: string
  11933. extoperateid:
  11934. description: 交易服务流水号
  11935. type: integer
  11936. infamount:
  11937. description: 劣后金额(自有)
  11938. type: number
  11939. logincode:
  11940. description: 登录账号(账号)
  11941. type: string
  11942. netaddr:
  11943. description: 调转网址
  11944. type: string
  11945. priamount:
  11946. description: 优先金额(授信)
  11947. type: number
  11948. reauditid:
  11949. description: 复审人
  11950. type: integer
  11951. reauditremark:
  11952. description: 复审备注
  11953. type: string
  11954. reaudittime:
  11955. description: 复审时间
  11956. type: string
  11957. relatedorderid:
  11958. description: 三方关联ID
  11959. type: string
  11960. remark:
  11961. description: 备注
  11962. type: string
  11963. remark2:
  11964. description: 备注(失败原因)
  11965. type: string
  11966. soucreamount:
  11967. description: 原始出入金金额
  11968. type: number
  11969. soucrecurrencyid:
  11970. description: 原始出入金币种
  11971. type: integer
  11972. tradedate:
  11973. description: 交易日(yyyyMMdd)
  11974. type: string
  11975. updatetime:
  11976. description: 更新时间(申请时间)
  11977. type: string
  11978. userid:
  11979. description: 用户id
  11980. type: integer
  11981. userinfotype:
  11982. description: 账户类型 1-个人 2-企业
  11983. type: integer
  11984. type: object
  11985. models.QhjAgreementChangeLog:
  11986. properties:
  11987. agreementcontent:
  11988. description: 协议内容
  11989. type: string
  11990. agreementfrequency:
  11991. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  11992. type: integer
  11993. agreementid:
  11994. description: 协议ID
  11995. type: integer
  11996. agreementname:
  11997. description: 协议名称
  11998. type: string
  11999. agreementno:
  12000. description: 协议编号
  12001. type: string
  12002. agreementtype:
  12003. description: 协议类型 - 1:注册 2:登录 3:交易
  12004. type: integer
  12005. agreementversion:
  12006. description: 协议版本号
  12007. type: integer
  12008. logid:
  12009. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  12010. type: integer
  12011. reviserid:
  12012. description: 修改人
  12013. type: integer
  12014. revisersrc:
  12015. description: 修改来源 - 1:管理端 2:终端
  12016. type: integer
  12017. updatetime:
  12018. description: 更新时间
  12019. type: string
  12020. type: object
  12021. models.QhjAgreementConfig:
  12022. properties:
  12023. agreementcontent:
  12024. description: 协议内容
  12025. type: string
  12026. agreementfrequency:
  12027. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  12028. type: integer
  12029. agreementid:
  12030. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  12031. type: integer
  12032. agreementname:
  12033. description: 协议名称
  12034. type: string
  12035. agreementno:
  12036. description: 协议编号
  12037. type: string
  12038. agreementtype:
  12039. description: 协议类型 - 1:注册 2:登录 3:交易
  12040. type: integer
  12041. agreementversion:
  12042. description: 协议版本号(从1开始每次修改加1)
  12043. type: integer
  12044. createtime:
  12045. description: 创建时间
  12046. type: string
  12047. creatorid:
  12048. description: 创建人
  12049. type: integer
  12050. creatorsrc:
  12051. description: 创建来源 - 1:管理端 2:终端
  12052. type: integer
  12053. isvalid:
  12054. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  12055. type: integer
  12056. reviserid:
  12057. description: 修改人
  12058. type: integer
  12059. revisersrc:
  12060. description: 修改来源 - 1:管理端 2:终端
  12061. type: integer
  12062. updatetime:
  12063. description: 更新时间
  12064. type: string
  12065. type: object
  12066. models.QhjAreaFinanceConfig:
  12067. properties:
  12068. additionalratio:
  12069. description: 追加款比例
  12070. type: number
  12071. advanceratio:
  12072. description: 预付款比例
  12073. type: number
  12074. alarmratio:
  12075. description: 告警比例
  12076. type: number
  12077. consumptiondirectreward:
  12078. description: 消费直推奖励值
  12079. type: number
  12080. consumptionenabled:
  12081. description: 是否启用消费奖励 - 0:不启用 1:启用
  12082. type: integer
  12083. consumptionindirectreward:
  12084. description: 消费间推奖励值
  12085. type: number
  12086. consumptionmodel:
  12087. description: 消费奖励方式 - 1:比率 2:固定
  12088. type: integer
  12089. customerservicenum:
  12090. description: 客服电话
  12091. type: string
  12092. dayinterestrate:
  12093. description: 日利率
  12094. type: number
  12095. disableconsumptiontips:
  12096. description: 关闭消费奖励提示
  12097. type: string
  12098. modifierid:
  12099. description: 修改人ID
  12100. type: integer
  12101. modifysrc:
  12102. description: 审核来源 - 1:管理端 2:终端
  12103. type: integer
  12104. modifytime:
  12105. description: 修改时间
  12106. type: string
  12107. promotionvalue:
  12108. description: 推广奖励值(固定)
  12109. type: number
  12110. scoreconfigvalue1:
  12111. description: 提货积分配置1
  12112. type: integer
  12113. scoreconfigvalue2:
  12114. description: 提货积分配置2
  12115. type: integer
  12116. userid:
  12117. description: 机构用户ID其他做市关系,都设置为 1
  12118. type: integer
  12119. username:
  12120. description: 用户名称
  12121. type: string
  12122. type: object
  12123. models.QhjBankAccountSign:
  12124. properties:
  12125. accountcode:
  12126. description: 资金账号
  12127. type: string
  12128. accountname:
  12129. description: 资金账号对应的账号名(UserName)
  12130. type: string
  12131. accountname2:
  12132. description: 资金账号对应的账号名(UserName) - 密文
  12133. type: string
  12134. accounttype:
  12135. description: 账户类型(UserType)
  12136. type: integer
  12137. applicationtime:
  12138. description: 最后一次更新的时间
  12139. type: string
  12140. applyexchticket:
  12141. description: 申请流水
  12142. type: string
  12143. auditid:
  12144. description: 审核人
  12145. type: integer
  12146. audittime:
  12147. description: 审核时间
  12148. type: string
  12149. bankaccountname:
  12150. description: 签约银行卡账号名
  12151. type: string
  12152. bankaccountname2:
  12153. description: 签约银行卡账号名 - 密文
  12154. type: string
  12155. bankaccountno:
  12156. description: 银行卡号
  12157. type: string
  12158. bankaccountno2:
  12159. description: 银行卡号 - 密文
  12160. type: string
  12161. bankaccounttype:
  12162. description: 银行账户类型 - 1-对私; 2-对公
  12163. type: integer
  12164. bankcardtype:
  12165. description: 银行卡类型
  12166. type: integer
  12167. bankchildaccount:
  12168. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  12169. type: string
  12170. bankcity:
  12171. description: 开户行城市
  12172. type: string
  12173. bankid:
  12174. description: 签约银行ID
  12175. type: string
  12176. bankname:
  12177. description: 签约银行名称
  12178. type: string
  12179. bankprovince:
  12180. description: 开户行省份
  12181. type: string
  12182. branchbankid:
  12183. description: 签约银行支行号
  12184. type: string
  12185. branchbankname:
  12186. description: 签约银行支行名称
  12187. type: string
  12188. cardno:
  12189. description: 证件号码
  12190. type: string
  12191. cardno2:
  12192. description: 证件号码 - 密文
  12193. type: string
  12194. cardtype:
  12195. description: 证件类型
  12196. type: string
  12197. currency:
  12198. description: 币种
  12199. type: string
  12200. cusbankid:
  12201. description: 托管银行编号
  12202. type: string
  12203. direct:
  12204. description: 方向(可以判断那方先发起的签约)
  12205. type: integer
  12206. exchticket:
  12207. description: 最后一次签约成功的流水号
  12208. type: string
  12209. extendinfo:
  12210. description: 扩展信息(JSON字符串)
  12211. type: string
  12212. mobilephone:
  12213. description: 手机号
  12214. type: string
  12215. mobilephone2:
  12216. description: 手机号 - 密文
  12217. type: string
  12218. netaddr:
  12219. description: 调转网址
  12220. type: string
  12221. relateduserid:
  12222. description: 关联使用者userid
  12223. type: integer
  12224. signstatus:
  12225. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  12226. 10:审核拒绝 11:换签待审核
  12227. type: integer
  12228. updatetime:
  12229. description: 更新时间(签解约更新时间)
  12230. type: string
  12231. type: object
  12232. models.QhjBankInfo:
  12233. properties:
  12234. bankid:
  12235. description: 银行ID
  12236. type: string
  12237. bankname:
  12238. description: 银行名称
  12239. type: string
  12240. clearbankno:
  12241. description: 清算系统银行编号
  12242. type: string
  12243. orderindex:
  12244. description: 排序顺序
  12245. type: integer
  12246. status:
  12247. description: 状态 - 0:正常 1:注销
  12248. type: integer
  12249. type: object
  12250. models.QhjBrokerApply:
  12251. properties:
  12252. applicantid:
  12253. description: 申请人
  12254. type: integer
  12255. applysrc:
  12256. description: 申请来源 - 1:管理端 2:终端
  12257. type: integer
  12258. applystatus:
  12259. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  12260. type: integer
  12261. applytime:
  12262. description: 申请时间
  12263. type: string
  12264. auditorid:
  12265. description: 审核人
  12266. type: integer
  12267. auditremark:
  12268. description: 审核备注
  12269. type: string
  12270. auditsrc:
  12271. description: 审核来源 - 1:管理端 2:终端
  12272. type: integer
  12273. audittime:
  12274. description: 审核时间
  12275. type: string
  12276. audittradedate:
  12277. description: 审核交易日(yyyyMMdd)
  12278. type: string
  12279. brokerapplyid:
  12280. description: 申请ID(SEQ_BROKERAPPLY)
  12281. type: integer
  12282. cardbackphotourl:
  12283. description: 证件背面图片地址
  12284. type: string
  12285. cardfrontphotourl:
  12286. description: 证件正面图片地址
  12287. type: string
  12288. cardnum:
  12289. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  12290. type: string
  12291. customername:
  12292. description: 姓名
  12293. type: string
  12294. logincode:
  12295. description: 登录代码
  12296. type: string
  12297. mobile:
  12298. description: 手机号码
  12299. type: string
  12300. parentuserid:
  12301. description: 所属机构id
  12302. type: integer
  12303. parentusername:
  12304. description: 所属机构名称
  12305. type: string
  12306. refereeuserid:
  12307. description: 推荐人id(经纪人)
  12308. type: integer
  12309. refernum:
  12310. description: 推荐码
  12311. type: string
  12312. remark:
  12313. description: 备注
  12314. type: string
  12315. subarealevelpath:
  12316. description: 层级路径
  12317. type: string
  12318. tradedate:
  12319. description: 交易日(yyyyMMdd)
  12320. type: string
  12321. userid:
  12322. description: 申请人用户ID
  12323. type: integer
  12324. userinfotype:
  12325. description: 用户类型 1-个人 2-企业
  12326. type: integer
  12327. username:
  12328. description: 用户名称
  12329. type: string
  12330. type: object
  12331. models.QhjBrokerApplyEx:
  12332. properties:
  12333. applylist:
  12334. description: 经纪人申请记录(只返回最新一条)
  12335. items:
  12336. $ref: '#/definitions/models.QhjBrokerApply'
  12337. type: array
  12338. canrecommend:
  12339. description: 是否经纪人 0-不是 1-是
  12340. type: integer
  12341. refernum:
  12342. description: 推荐码
  12343. type: string
  12344. userid:
  12345. description: 用户id
  12346. type: integer
  12347. userinfotype:
  12348. description: 用户类型 1-个人 2-企业
  12349. type: integer
  12350. type: object
  12351. models.QhjBrokerRewardLog:
  12352. properties:
  12353. accountid:
  12354. description: 资金账号ID
  12355. type: integer
  12356. createtime:
  12357. description: 创建时间(时间)
  12358. type: string
  12359. handlestatus:
  12360. description: 处理状态
  12361. type: integer
  12362. logid:
  12363. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12364. type: string
  12365. marketid:
  12366. description: 市场ID
  12367. type: integer
  12368. mmaccountid:
  12369. description: 做市商资金账号ID
  12370. type: string
  12371. mmuserid:
  12372. description: 做市商用户ID
  12373. type: string
  12374. rewardamount:
  12375. description: 奖励金额
  12376. type: number
  12377. rewardmodel:
  12378. description: 消费奖励方式 - 1:比率 2:固定
  12379. type: integer
  12380. rewardtype:
  12381. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  12382. type: integer
  12383. rewardvalue:
  12384. description: 配置奖励值
  12385. type: number
  12386. srcamount:
  12387. description: 成交金额 [消费奖励] (金额)
  12388. type: number
  12389. srcgoodsid:
  12390. description: 来源商品ID [消费奖励]
  12391. type: string
  12392. srctime:
  12393. description: 来源时间 (成交时间) [消费奖励]
  12394. type: string
  12395. srctradeid:
  12396. description: 来源成交单ID [消费奖励] - 排除提货成交
  12397. type: string
  12398. srcuserid:
  12399. description: 来源用户ID(推广账户)
  12400. type: string
  12401. srcusername:
  12402. description: 推广账户名称
  12403. type: string
  12404. tradedate:
  12405. description: 交易日(yyyyMMdd)
  12406. type: string
  12407. userid:
  12408. description: 经纪人用户ID
  12409. type: integer
  12410. type: object
  12411. models.QhjContract:
  12412. properties:
  12413. contractconfirmtime:
  12414. description: 合同确认时间(时间)
  12415. type: string
  12416. currisklevel:
  12417. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  12418. type: integer
  12419. decimalplace:
  12420. description: 商品报价小数位
  12421. type: integer
  12422. enumdicname:
  12423. description: 单位名称
  12424. type: string
  12425. goodscode:
  12426. description: 商品代码
  12427. type: string
  12428. goodsid:
  12429. description: 商品ID [5:融资单]
  12430. type: integer
  12431. goodsname:
  12432. description: 商品名称
  12433. type: string
  12434. goodunitid:
  12435. description: 商品单位id
  12436. type: integer
  12437. initmargin:
  12438. description: 初始保证金(首付款)
  12439. type: number
  12440. lenderamount:
  12441. description: 贷款金额(总额|订单总额)
  12442. type: number
  12443. marginratio:
  12444. description: 保证金比率(首付比例)
  12445. type: number
  12446. payamount:
  12447. description: 已付(已付货款)
  12448. type: number
  12449. reckonrecovermargin:
  12450. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  12451. type: number
  12452. recoveredmargin:
  12453. description: 已追缴保证金
  12454. type: number
  12455. remainamount:
  12456. description: 合同剩余金额(融资额)
  12457. type: number
  12458. scfcontractid:
  12459. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  12460. type: string
  12461. scfcontractstatus:
  12462. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  12463. 9:违约结束 10:已注销 11:已关闭 99:未提交
  12464. type: integer
  12465. scfcontracttype:
  12466. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  12467. type: integer
  12468. totalinterest:
  12469. description: 已计总利息(利息)
  12470. type: number
  12471. tradeprice:
  12472. description: 成交价格(成本价格)
  12473. type: number
  12474. userid:
  12475. description: 用户ID
  12476. type: integer
  12477. username:
  12478. description: 用户名称
  12479. type: string
  12480. wrqty:
  12481. description: 仓单数量(数量)
  12482. type: number
  12483. type: object
  12484. models.QhjContractLog:
  12485. properties:
  12486. amount:
  12487. description: 支付金额
  12488. type: number
  12489. amounttype:
  12490. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  12491. type: integer
  12492. logid:
  12493. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12494. type: string
  12495. remainamount:
  12496. description: 剩余货款
  12497. type: number
  12498. scfcontractid:
  12499. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  12500. type: integer
  12501. updatetime:
  12502. description: 更新时间
  12503. type: string
  12504. type: object
  12505. models.QhjCusBankSignBankEx:
  12506. properties:
  12507. banklst:
  12508. description: 银行列表
  12509. items:
  12510. $ref: '#/definitions/models.QhjBankInfo'
  12511. type: array
  12512. canallot:
  12513. description: 是否支持跨行调拨 - 0:不支持 1:支持
  12514. type: integer
  12515. canallotquery:
  12516. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  12517. type: integer
  12518. canbindcard:
  12519. description: 是否可绑卡与解卡 - 0:不可 1:可以
  12520. type: integer
  12521. caninamount:
  12522. description: 是否可入金 - 0:不可 1:可以
  12523. type: integer
  12524. caninamount2:
  12525. description: 是否可入金(网银端) - 0:不可 1:可以
  12526. type: integer
  12527. canmodifybankcard:
  12528. description: 是否可修改银行卡号 - 0:不可 1:可以
  12529. type: integer
  12530. canmodifyphone:
  12531. description: 是否可修改手机号 - 0:不可 1:可以
  12532. type: integer
  12533. canmodifysigninfo:
  12534. description: 是否可修改签约信息 - 0:不可 1:可以
  12535. type: integer
  12536. canoutamount:
  12537. description: 是否可出金 - 0:不可 1:可以
  12538. type: integer
  12539. canoutamount2:
  12540. description: 是否可出金(网银端) - 0:不可 1:可以
  12541. type: integer
  12542. canrelease:
  12543. description: 是否可解约 - 0:不可 1:可以
  12544. type: integer
  12545. canrelease2:
  12546. description: 是否可解约(网银端) - 0:不可 1:可以
  12547. type: integer
  12548. cansign:
  12549. description: 是否可签约 - 0:不可 1:可以
  12550. type: integer
  12551. cansign2:
  12552. description: 是否可签约(网银端) - 0:不可 1:可以
  12553. type: integer
  12554. currency:
  12555. description: 币种
  12556. type: string
  12557. cusbankid:
  12558. description: 托管银行编号(对应清算中心TRAN_NO)
  12559. type: string
  12560. cusbankname:
  12561. description: 银行业务名称
  12562. type: string
  12563. cusbankshortname:
  12564. description: 银行业务简称
  12565. type: string
  12566. exchbankid:
  12567. description: 交易所开户银行ID
  12568. type: string
  12569. exchpaybankaccname:
  12570. description: 交易所支出结算账户户名
  12571. type: string
  12572. exchpaybankaccno:
  12573. description: 交易所支出结算账户
  12574. type: string
  12575. isneedcheck:
  12576. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  12577. type: integer
  12578. isneedclear:
  12579. description: 是否需要清算 - 0:不需要 1:需要
  12580. type: integer
  12581. lastcheckstatus:
  12582. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  12583. type: integer
  12584. lastchecktime:
  12585. description: 最后对账时间
  12586. type: string
  12587. lastclearstatus:
  12588. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  12589. type: integer
  12590. lastcleartime:
  12591. description: 最后清算时间
  12592. type: string
  12593. lastsignintime:
  12594. description: 最后签到时间
  12595. type: string
  12596. lastsignouttime:
  12597. description: 最后签退时间
  12598. type: string
  12599. riskinfo:
  12600. description: 签约风险提示书
  12601. type: string
  12602. signstatus:
  12603. description: 当前签到/签退状态 - 1:签到 2:签退
  12604. type: integer
  12605. tradedate:
  12606. description: 交易日(yyyyMMdd)
  12607. type: string
  12608. updatetime:
  12609. description: 当前签到/签退更新时间
  12610. type: string
  12611. type: object
  12612. models.QhjCustomer:
  12613. properties:
  12614. address:
  12615. description: 通讯地址
  12616. type: string
  12617. attachment1:
  12618. description: 附件1
  12619. type: string
  12620. attachment2:
  12621. description: 附件2
  12622. type: string
  12623. audittime:
  12624. description: 审核时间
  12625. type: string
  12626. cardbackphotourl:
  12627. description: 证件反面图片地址
  12628. type: string
  12629. cardfrontphotourl:
  12630. description: 证件正面图片地址
  12631. type: string
  12632. cardnum:
  12633. description: 证件号码
  12634. type: string
  12635. cardtype:
  12636. description: 证件类型
  12637. type: integer
  12638. cardtypename:
  12639. description: 证件类型名称
  12640. type: string
  12641. cityid:
  12642. description: 市
  12643. type: integer
  12644. cityname:
  12645. description: 城市名称
  12646. type: string
  12647. contactname:
  12648. description: 联系人
  12649. type: string
  12650. countryid:
  12651. description: 国家
  12652. type: integer
  12653. countryname:
  12654. description: 国家名称
  12655. type: string
  12656. createtime:
  12657. description: 创建时间
  12658. type: string
  12659. customername:
  12660. description: 客户名称
  12661. type: string
  12662. districtid:
  12663. description: 区域
  12664. type: integer
  12665. districtname:
  12666. description: 地区名称
  12667. type: string
  12668. email:
  12669. description: 邮件
  12670. type: string
  12671. legalpersonname:
  12672. description: 法人姓名(企业)
  12673. type: string
  12674. logincode:
  12675. description: 登录账号(代码)
  12676. type: string
  12677. memberuserid:
  12678. description: 所属机构ID(所属会员)
  12679. type: integer
  12680. memberusername:
  12681. description: 所属会员名称
  12682. type: string
  12683. mobile:
  12684. description: 手机号码
  12685. type: string
  12686. modifytime:
  12687. description: 修改时间
  12688. type: string
  12689. nickname:
  12690. description: 昵称
  12691. type: string
  12692. parentuserid:
  12693. description: 上级机构(所属机构)
  12694. type: integer
  12695. parentusername:
  12696. description: 所属机构名称
  12697. type: string
  12698. provinceid:
  12699. description: 省
  12700. type: integer
  12701. provincename:
  12702. description: 省名称
  12703. type: string
  12704. proxystatementurl:
  12705. description: 授权委托书
  12706. type: string
  12707. remark:
  12708. description: 备注
  12709. type: string
  12710. status:
  12711. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  12712. type: integer
  12713. statusdesc:
  12714. description: 账户状态中文描述
  12715. type: string
  12716. taxpayernum:
  12717. description: 纳税人识别号
  12718. type: string
  12719. telphone:
  12720. description: 联系电话
  12721. type: string
  12722. userid:
  12723. description: 用户ID
  12724. type: integer
  12725. userinfotype:
  12726. description: 客户类型 1-个人 2-企业
  12727. type: integer
  12728. username:
  12729. description: 用户名称
  12730. type: string
  12731. type: object
  12732. models.QhjCustomerSignLog:
  12733. properties:
  12734. agreementcontent:
  12735. description: 协议内容
  12736. type: string
  12737. agreementid:
  12738. description: 协议ID
  12739. type: integer
  12740. agreementname:
  12741. description: 协议名称
  12742. type: string
  12743. agreementno:
  12744. description: 协议编号
  12745. type: string
  12746. agreementtype:
  12747. description: 协议类型 - 1:注册 2:登录 3:交易
  12748. type: integer
  12749. agreementversion:
  12750. description: 协议版本号
  12751. type: integer
  12752. createtime:
  12753. description: 创建时间
  12754. type: string
  12755. goodscode:
  12756. description: 商品代码
  12757. type: string
  12758. goodsid:
  12759. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12760. type: integer
  12761. goodsname:
  12762. description: 商品名称
  12763. type: string
  12764. logid:
  12765. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  12766. type: integer
  12767. nodetype:
  12768. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12769. type: integer
  12770. signadressurl:
  12771. description: 签约文件地址
  12772. type: string
  12773. signtimestamp:
  12774. description: 签约状态时间戳
  12775. type: string
  12776. userid:
  12777. description: 客户ID
  12778. type: integer
  12779. username:
  12780. description: 客户名称
  12781. type: string
  12782. type: object
  12783. models.QhjCustomerSignStatus:
  12784. properties:
  12785. createtime:
  12786. description: 创建时间
  12787. type: string
  12788. goodscode:
  12789. description: 商品代码
  12790. type: string
  12791. goodsid:
  12792. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12793. type: integer
  12794. goodsname:
  12795. description: 商品名称
  12796. type: string
  12797. nodetype:
  12798. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  12799. type: integer
  12800. signtimestamp:
  12801. description: 签约状态时间戳
  12802. type: string
  12803. tradedate:
  12804. description: 创建交易日(yyyyMMdd)
  12805. type: string
  12806. updatetime:
  12807. description: 更新时间
  12808. type: string
  12809. userid:
  12810. description: 客户ID
  12811. type: integer
  12812. username:
  12813. description: 客户名称
  12814. type: string
  12815. type: object
  12816. models.QhjMgrAccountOutInApply:
  12817. properties:
  12818. accountcode:
  12819. description: 资金账号
  12820. type: string
  12821. accountname:
  12822. description: 用户名称(名称)
  12823. type: string
  12824. accountpwd:
  12825. description: 资金密码
  12826. type: string
  12827. accountticket:
  12828. description: 最新账户服务流水号
  12829. type: string
  12830. amount:
  12831. description: 金额
  12832. type: number
  12833. applyremark:
  12834. description: 申请备注
  12835. type: string
  12836. applystatus:
  12837. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  12838. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  12839. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  12840. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  12841. type: integer
  12842. auditid:
  12843. description: 审核人
  12844. type: integer
  12845. audittime:
  12846. description: 审核时间
  12847. type: string
  12848. bank_apply_ticket:
  12849. description: 银行申请流水
  12850. type: string
  12851. bankaccountname:
  12852. description: 银行账户名
  12853. type: string
  12854. bankaccountno:
  12855. description: 银行卡号
  12856. type: string
  12857. bankid:
  12858. description: 银行编号
  12859. type: string
  12860. bankname:
  12861. description: 银行名称
  12862. type: string
  12863. bankticket:
  12864. description: 银行流水
  12865. type: string
  12866. branchbankid:
  12867. description: 银行支行号
  12868. type: string
  12869. branchbankname:
  12870. description: 银行支行名称
  12871. type: string
  12872. capamountout:
  12873. description: 出金(劣后本金) - 外部子账户
  12874. type: number
  12875. certificatephotourl:
  12876. description: 凭证地址
  12877. type: string
  12878. charge:
  12879. description: 手续费
  12880. type: number
  12881. checkerrorflag:
  12882. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  12883. type: integer
  12884. currency:
  12885. description: 币种
  12886. type: string
  12887. cusbankid:
  12888. description: 托管银行编号
  12889. type: string
  12890. exchticket:
  12891. description: 银行服务流水号
  12892. type: string
  12893. executetype:
  12894. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  12895. 7:外部子账户:入金 8:外部子账户:出金'
  12896. type: integer
  12897. extendinfo:
  12898. description: 扩展信息
  12899. type: string
  12900. extoperateid:
  12901. description: 交易服务流水号
  12902. type: integer
  12903. infamount:
  12904. description: 劣后金额(自有)
  12905. type: number
  12906. logincode:
  12907. description: 登录账号(账号)
  12908. type: string
  12909. netaddr:
  12910. description: 调转网址
  12911. type: string
  12912. priamount:
  12913. description: 优先金额(授信)
  12914. type: number
  12915. reauditid:
  12916. description: 复审人
  12917. type: integer
  12918. reauditremark:
  12919. description: 复审备注
  12920. type: string
  12921. reaudittime:
  12922. description: 复审时间
  12923. type: string
  12924. relatedorderid:
  12925. description: 三方关联ID
  12926. type: string
  12927. remark:
  12928. description: 备注
  12929. type: string
  12930. remark2:
  12931. description: 备注(失败原因)
  12932. type: string
  12933. soucreamount:
  12934. description: 原始出入金金额
  12935. type: number
  12936. soucrecurrencyid:
  12937. description: 原始出入金币种
  12938. type: integer
  12939. tradedate:
  12940. description: 交易日(yyyyMMdd)
  12941. type: string
  12942. updatetime:
  12943. description: 更新时间(申请时间)
  12944. type: string
  12945. userid:
  12946. description: 用户id
  12947. type: integer
  12948. userinfotype:
  12949. description: 账户类型 1-个人 2-企业
  12950. type: integer
  12951. type: object
  12952. models.QhjMgrBrokerApply:
  12953. properties:
  12954. applicantid:
  12955. description: 申请人
  12956. type: integer
  12957. applysrc:
  12958. description: 申请来源 - 1:管理端 2:终端
  12959. type: integer
  12960. applystatus:
  12961. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  12962. type: integer
  12963. applytime:
  12964. description: 申请时间
  12965. type: string
  12966. auditorid:
  12967. description: 审核人
  12968. type: integer
  12969. auditremark:
  12970. description: 审核备注
  12971. type: string
  12972. auditsrc:
  12973. description: 审核来源 - 1:管理端 2:终端
  12974. type: integer
  12975. audittime:
  12976. description: 审核时间
  12977. type: string
  12978. audittradedate:
  12979. description: 审核交易日(yyyyMMdd)
  12980. type: string
  12981. brokerapplyid:
  12982. description: 申请ID(SEQ_BROKERAPPLY)
  12983. type: integer
  12984. cardbackphotourl:
  12985. description: 证件背面图片地址
  12986. type: string
  12987. cardfrontphotourl:
  12988. description: 证件正面图片地址
  12989. type: string
  12990. cardnum:
  12991. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  12992. type: string
  12993. customername:
  12994. description: 姓名
  12995. type: string
  12996. filterstatus:
  12997. description: 筛选条件
  12998. type: string
  12999. logincode:
  13000. description: 登录代码
  13001. type: string
  13002. mobile:
  13003. description: 手机号码
  13004. type: string
  13005. parentuserid:
  13006. description: 所属机构id
  13007. type: integer
  13008. parentusername:
  13009. description: 所属机构名称
  13010. type: string
  13011. refereeuserid:
  13012. description: 推荐人id(经纪人)
  13013. type: integer
  13014. refernum:
  13015. description: 推荐码
  13016. type: string
  13017. remark:
  13018. description: 备注
  13019. type: string
  13020. subarealevelpath:
  13021. description: 层级路径
  13022. type: string
  13023. tradedate:
  13024. description: 交易日(yyyyMMdd)
  13025. type: string
  13026. userid:
  13027. description: 申请人用户ID
  13028. type: integer
  13029. userinfotype:
  13030. description: 用户类型 1-个人 2-企业
  13031. type: integer
  13032. username:
  13033. description: 用户名称
  13034. type: string
  13035. type: object
  13036. models.QhjMgrBrokerRewardReport:
  13037. properties:
  13038. createtime:
  13039. description: 创建时间(注册时间)
  13040. type: string
  13041. cycletime:
  13042. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  13043. type: string
  13044. cycletype:
  13045. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  13046. type: integer
  13047. directtotalnum:
  13048. description: 直推总人数【期末】
  13049. type: integer
  13050. indirecttotalnum:
  13051. description: 间推总人数【期末】
  13052. type: integer
  13053. mobile:
  13054. description: 电话号码
  13055. type: string
  13056. refereeuserid:
  13057. description: 推荐人id(经纪人id)
  13058. type: integer
  13059. refereeusername:
  13060. description: 推荐人名称(经纪人) 上级经纪人名称
  13061. type: string
  13062. refernum:
  13063. description: 推荐码
  13064. type: string
  13065. subarealevelpath:
  13066. description: 用户层级路径
  13067. type: string
  13068. todayrewardamount:
  13069. description: 奖励总金额【汇总】
  13070. type: number
  13071. updatetime:
  13072. description: 更新时间
  13073. type: string
  13074. userid:
  13075. description: 经纪人用户ID
  13076. type: integer
  13077. userinfotype:
  13078. description: 用户类型 1-个人 2-企业
  13079. type: integer
  13080. username:
  13081. description: 用户名称
  13082. type: string
  13083. type: object
  13084. models.QhjMgrContract:
  13085. properties:
  13086. contractconfirmtime:
  13087. description: 合同确认时间(时间)
  13088. type: string
  13089. currisklevel:
  13090. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  13091. type: integer
  13092. decimalplace:
  13093. description: 商品报价小数位
  13094. type: integer
  13095. enumdicname:
  13096. description: 单位名称
  13097. type: string
  13098. goodscode:
  13099. description: 商品代码
  13100. type: string
  13101. goodsid:
  13102. description: 商品ID [5:融资单]
  13103. type: integer
  13104. goodsname:
  13105. description: 商品名称
  13106. type: string
  13107. goodunitid:
  13108. description: 商品单位id
  13109. type: integer
  13110. initmargin:
  13111. description: 初始保证金(首付款)
  13112. type: number
  13113. lenderamount:
  13114. description: 贷款金额(总额|订单总额)
  13115. type: number
  13116. logincode:
  13117. description: 账号(登录代码)
  13118. type: string
  13119. marginratio:
  13120. description: 保证金比率(首付比例)
  13121. type: number
  13122. mobile:
  13123. description: 电话号码(用户资料里的电话)
  13124. type: string
  13125. payamount:
  13126. description: 已付(已付货款)
  13127. type: number
  13128. reckonrecovermargin:
  13129. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  13130. type: number
  13131. recoveredmargin:
  13132. description: 已追缴保证金
  13133. type: number
  13134. remainamount:
  13135. description: 合同剩余金额(融资额)
  13136. type: number
  13137. scfcontractid:
  13138. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  13139. type: string
  13140. scfcontractstatus:
  13141. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  13142. 9:违约结束 10:已注销 11:已关闭 99:未提交
  13143. type: integer
  13144. scfcontracttype:
  13145. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  13146. type: integer
  13147. totalinterest:
  13148. description: 已计总利息(利息)
  13149. type: number
  13150. tradedate:
  13151. description: 交易日
  13152. type: string
  13153. tradeprice:
  13154. description: 成交价格(成本价格)
  13155. type: number
  13156. userid:
  13157. description: 用户ID
  13158. type: integer
  13159. userinfotype:
  13160. description: 用户类型 1-个人 2-企业
  13161. type: integer
  13162. username:
  13163. description: 用户名称
  13164. type: string
  13165. wrqty:
  13166. description: 仓单数量(数量)
  13167. type: number
  13168. type: object
  13169. models.QhjMgrCustomer:
  13170. properties:
  13171. address:
  13172. description: 通讯地址
  13173. type: string
  13174. attachment1:
  13175. description: 附件1
  13176. type: string
  13177. audittime:
  13178. description: 审核时间
  13179. type: string
  13180. birthday:
  13181. description: 生日
  13182. type: string
  13183. brokerid:
  13184. description: 所属客户经理id
  13185. type: integer
  13186. brokername:
  13187. description: 所属客户经理名称
  13188. type: string
  13189. cardbackphotourl:
  13190. description: 证件反面图片地址
  13191. type: string
  13192. cardfrontphotourl:
  13193. description: 证件正面图片地址
  13194. type: string
  13195. cardnum:
  13196. description: 证件号码
  13197. type: string
  13198. cardtype:
  13199. description: 证件类型
  13200. type: integer
  13201. cardtypename:
  13202. description: 证件类型名称
  13203. type: string
  13204. cityid:
  13205. description: 市
  13206. type: integer
  13207. cityname:
  13208. description: 城市名称
  13209. type: string
  13210. contactname:
  13211. description: 联系人
  13212. type: string
  13213. countryid:
  13214. description: 国家
  13215. type: integer
  13216. countryname:
  13217. description: 国家名称
  13218. type: string
  13219. createtime:
  13220. description: 创建时间
  13221. type: string
  13222. customername:
  13223. description: 客户名称
  13224. type: string
  13225. districtid:
  13226. description: 区域
  13227. type: integer
  13228. districtname:
  13229. description: 地区名称
  13230. type: string
  13231. email:
  13232. description: 邮件
  13233. type: string
  13234. legalpersonname:
  13235. description: 法人姓名(企业)
  13236. type: string
  13237. logincode:
  13238. description: 登录账号(代码)
  13239. type: string
  13240. memberuserid:
  13241. description: 所属机构ID(所属会员)
  13242. type: integer
  13243. memberusername:
  13244. description: 所属会员名称
  13245. type: string
  13246. mobile:
  13247. description: 手机号码
  13248. type: string
  13249. modifytime:
  13250. description: 修改时间
  13251. type: string
  13252. nickname:
  13253. description: 昵称
  13254. type: string
  13255. parentuserid:
  13256. description: 上级机构(所属机构)
  13257. type: integer
  13258. parentusername:
  13259. description: 所属机构名称
  13260. type: string
  13261. provinceid:
  13262. description: 省
  13263. type: integer
  13264. provincename:
  13265. description: 省名称
  13266. type: string
  13267. proxystatementurl:
  13268. description: 授权委托书
  13269. type: string
  13270. querytype:
  13271. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  13272. type: integer
  13273. remark:
  13274. description: 备注
  13275. type: string
  13276. sex:
  13277. description: 性别 0-女 1-男
  13278. type: integer
  13279. status:
  13280. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过
  13281. ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  13282. type: integer
  13283. statusdesc:
  13284. description: 账户状态中文描述
  13285. type: string
  13286. taxpayernum:
  13287. description: 纳税人识别号
  13288. type: string
  13289. telphone:
  13290. description: 联系电话
  13291. type: string
  13292. userid:
  13293. description: 用户ID
  13294. type: integer
  13295. userinfotype:
  13296. description: 客户类型 1-个人 2-企业
  13297. type: integer
  13298. username:
  13299. description: 用户名称
  13300. type: string
  13301. type: object
  13302. models.QhjMgrPickGoods:
  13303. properties:
  13304. enumdicname:
  13305. description: 单位名称(提货商品)
  13306. type: string
  13307. goodsid:
  13308. description: 商品id
  13309. type: integer
  13310. imageaddress:
  13311. description: 图片
  13312. type: string
  13313. modifierid:
  13314. description: 修改人
  13315. type: integer
  13316. modifiername:
  13317. description: 修改人名称
  13318. type: string
  13319. modifysrc:
  13320. description: 修改来源 - 1:管理端 2:终端
  13321. type: integer
  13322. pickupgoodsagreeunit:
  13323. description: 合约乘数
  13324. type: number
  13325. pickupgoodsdesc:
  13326. description: 描述
  13327. type: string
  13328. pickupgoodsid:
  13329. description: 提货商品ID
  13330. type: string
  13331. pickupgoodsname:
  13332. description: 提货商品名称
  13333. type: string
  13334. pickupgoodsstatus:
  13335. description: 状态 - 1:正常 2:停用 3:注销
  13336. type: integer
  13337. pickupgoodsunitid:
  13338. description: 单位ID
  13339. type: integer
  13340. pickupratio:
  13341. description: 提货系数
  13342. type: number
  13343. preparedays:
  13344. description: 备货期(天)
  13345. type: integer
  13346. remark:
  13347. description: 备注
  13348. type: string
  13349. updatetime:
  13350. description: 更新时间
  13351. type: string
  13352. type: object
  13353. models.QhjMgrPositionRsp:
  13354. properties:
  13355. accountid:
  13356. description: 账号Id
  13357. type: integer
  13358. accountname:
  13359. description: 用户名称
  13360. type: string
  13361. agreeunit:
  13362. description: 合约乘数
  13363. type: number
  13364. averageprice:
  13365. description: 均价
  13366. type: number
  13367. avialqty:
  13368. description: 可用数量
  13369. type: number
  13370. decimalplace:
  13371. description: 报价小数位
  13372. type: integer
  13373. enumdicname:
  13374. description: 单位名称(商品)
  13375. type: string
  13376. frozenqty:
  13377. description: 冻结数量
  13378. type: number
  13379. goodscode:
  13380. description: 商品代码(内部)
  13381. type: string
  13382. goodsid:
  13383. description: 商品Id
  13384. type: integer
  13385. goodsname:
  13386. description: 商品名称
  13387. type: string
  13388. goodunitid:
  13389. description: 报价单位ID
  13390. type: integer
  13391. holderamount:
  13392. description: 金额
  13393. type: number
  13394. holderqty:
  13395. description: 持有数量
  13396. type: number
  13397. holdertype:
  13398. description: 持仓类别 - 1:单边持仓 2:双边持仓
  13399. type: integer
  13400. logincode:
  13401. description: 登录代码(账户)
  13402. type: string
  13403. marketid:
  13404. description: 市场id
  13405. type: integer
  13406. qtydecimalplace:
  13407. description: 成交量小数位
  13408. type: integer
  13409. trademode:
  13410. description: 交易模式
  13411. type: integer
  13412. userid:
  13413. description: 用户id
  13414. type: integer
  13415. userinfotype:
  13416. description: 账户类型 1-个人 2-企业
  13417. type: integer
  13418. type: object
  13419. models.QhjMgrSubArea:
  13420. properties:
  13421. accountname:
  13422. description: 账户名称(机构名称)
  13423. type: string
  13424. memberuserid:
  13425. description: 所属会员ID
  13426. type: integer
  13427. parenttopuser:
  13428. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  13429. type: string
  13430. parentuserid:
  13431. description: 所属机构ID
  13432. type: integer
  13433. rootuserid:
  13434. description: 根用户ID
  13435. type: string
  13436. subaccountlevel:
  13437. description: 子账户层数
  13438. type: integer
  13439. subarealevelpath:
  13440. description: 子机构层级路径(逗号分隔,首尾加逗号)
  13441. type: string
  13442. userid:
  13443. description: 用户ID
  13444. type: integer
  13445. usertype:
  13446. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  13447. type: integer
  13448. type: object
  13449. models.QhjMgrTradeDetailRsp:
  13450. properties:
  13451. accountid:
  13452. description: 资金账号
  13453. type: integer
  13454. accountname:
  13455. description: 用户名称
  13456. type: string
  13457. agreeunit:
  13458. description: 合约乘数
  13459. type: number
  13460. buyorsell:
  13461. description: 成交类型(方向) 0:买 1:卖
  13462. type: integer
  13463. decimalplace:
  13464. description: 报价小数位
  13465. type: integer
  13466. enumdicname:
  13467. description: 单位名称(商品)
  13468. type: string
  13469. goodscode:
  13470. description: 商品代码(内部)
  13471. type: string
  13472. goodsid:
  13473. description: 商品id
  13474. type: integer
  13475. goodsname:
  13476. description: 商品名称
  13477. type: string
  13478. goodunitid:
  13479. description: 报价单位ID
  13480. type: integer
  13481. logincode:
  13482. description: 登录代码(账户)
  13483. type: string
  13484. marketid:
  13485. description: 市场id
  13486. type: integer
  13487. orderid:
  13488. description: 关联委托单号
  13489. type: string
  13490. qtydecimalplace:
  13491. description: 成交量小数位
  13492. type: integer
  13493. tradeamount:
  13494. description: 金额
  13495. type: number
  13496. tradedate:
  13497. description: 交易日
  13498. type: string
  13499. tradeid:
  13500. description: 成交单号
  13501. type: string
  13502. trademode:
  13503. description: 交易模式
  13504. type: integer
  13505. tradeprice:
  13506. description: 价格
  13507. type: number
  13508. tradeqty:
  13509. description: 数量
  13510. type: number
  13511. tradetime:
  13512. description: 成交时间
  13513. type: string
  13514. userid:
  13515. description: 用户id
  13516. type: integer
  13517. userinfotype:
  13518. description: 账户类型 1-个人 2-企业
  13519. type: integer
  13520. type: object
  13521. models.QhjMgrTradeOrderDetailRsp:
  13522. properties:
  13523. accountid:
  13524. description: 资金账号
  13525. type: integer
  13526. accountname:
  13527. description: 用户名称
  13528. type: string
  13529. agreeunit:
  13530. description: 合约乘数
  13531. type: number
  13532. amount:
  13533. description: 金额
  13534. type: number
  13535. decimalplace:
  13536. description: 报价小数位
  13537. type: integer
  13538. enumdicname:
  13539. description: 单位名称(商品)
  13540. type: string
  13541. goodscode:
  13542. description: 商品代码(内部)
  13543. type: string
  13544. goodsid:
  13545. description: 商品id
  13546. type: integer
  13547. goodsname:
  13548. description: 商品名称
  13549. type: string
  13550. goodunitid:
  13551. description: 报价单位ID
  13552. type: integer
  13553. logincode:
  13554. description: 登录代码(账户)
  13555. type: string
  13556. marketid:
  13557. description: 市场id
  13558. type: integer
  13559. orderid:
  13560. description: 关联委托单号
  13561. type: string
  13562. orderprice:
  13563. description: 价格
  13564. type: number
  13565. orderqty:
  13566. description: 数量
  13567. type: number
  13568. orderstatus:
  13569. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  13570. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  13571. 16:成交失败违约(荷兰式竞拍专用)
  13572. type: integer
  13573. ordertime:
  13574. description: 委托时间
  13575. type: string
  13576. qtydecimalplace:
  13577. description: 成交量小数位
  13578. type: integer
  13579. tradedate:
  13580. description: 交易日
  13581. type: string
  13582. trademode:
  13583. description: 交易模式
  13584. type: integer
  13585. userid:
  13586. description: 用户id
  13587. type: integer
  13588. userinfotype:
  13589. description: 账户类型 1-个人 2-企业
  13590. type: integer
  13591. type: object
  13592. models.QhjMgrTradePayOrder:
  13593. properties:
  13594. accountname:
  13595. description: 用户名称
  13596. type: string
  13597. advanceratio:
  13598. description: 首付比率
  13599. type: number
  13600. agreeunit:
  13601. description: 合约乘数
  13602. type: number
  13603. buyaccountid:
  13604. description: 买方账号ID[报价币种]
  13605. type: integer
  13606. buyorderid:
  13607. description: 买方委托单号(关联单号)
  13608. type: string
  13609. createtime:
  13610. description: 创建时间
  13611. type: string
  13612. decimalplace:
  13613. description: 报价小数位
  13614. type: integer
  13615. enumdicname:
  13616. description: 单位名称(商品)
  13617. type: string
  13618. goodscode:
  13619. description: 商品代码(内部)
  13620. type: string
  13621. goodsid:
  13622. description: 商品ID
  13623. type: integer
  13624. goodsname:
  13625. description: 商品名称
  13626. type: string
  13627. goodunitid:
  13628. description: 报价单位ID
  13629. type: integer
  13630. logincode:
  13631. description: 登录代码(账户)
  13632. type: string
  13633. marketid:
  13634. description: 市场id
  13635. type: integer
  13636. offamount:
  13637. description: 优惠金额
  13638. type: number
  13639. operatetype:
  13640. description: 买委托操作类型 - 1:正常下单 16:融资买入
  13641. type: integer
  13642. payamount:
  13643. description: 支付金额(金额)
  13644. type: number
  13645. payflag:
  13646. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  13647. type: integer
  13648. paylimitedtime:
  13649. description: 支付期限
  13650. type: string
  13651. paytime:
  13652. description: 付款时间
  13653. type: string
  13654. qtydecimalplace:
  13655. description: 成交量小数位
  13656. type: integer
  13657. sellaccountid:
  13658. description: 卖方账号ID[报价币种]
  13659. type: integer
  13660. sellorderid:
  13661. description: 卖方委托单号
  13662. type: string
  13663. tradeamount:
  13664. description: 成交金额(优惠后金额)
  13665. type: number
  13666. tradecharge:
  13667. description: 成交手续费(买方)
  13668. type: number
  13669. tradedate:
  13670. description: 交易日(yyyyMMdd)
  13671. type: string
  13672. tradeid:
  13673. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13674. type: string
  13675. trademode:
  13676. description: 交易模式
  13677. type: integer
  13678. tradeprice:
  13679. description: 成交价格(价格)
  13680. type: number
  13681. tradeqty:
  13682. description: 成交数量(数量)
  13683. type: number
  13684. tradetime:
  13685. description: 成交时间
  13686. type: string
  13687. userid:
  13688. description: 用户id
  13689. type: integer
  13690. userinfotype:
  13691. description: 账户类型 1-个人 2-企业
  13692. type: integer
  13693. type: object
  13694. models.QhjMyTeamEx:
  13695. properties:
  13696. accountname:
  13697. description: 用户名称
  13698. type: string
  13699. accountstatus:
  13700. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  13701. type: integer
  13702. createtime:
  13703. description: 创建时间
  13704. type: string
  13705. mobile:
  13706. description: 手机号码
  13707. type: string
  13708. refereeuserid:
  13709. description: 推荐人id
  13710. type: integer
  13711. refernum:
  13712. description: 推荐码
  13713. type: string
  13714. subList:
  13715. items:
  13716. $ref: '#/definitions/models.QhjMyTeamEx'
  13717. type: array
  13718. userid:
  13719. description: 用户id
  13720. type: integer
  13721. userinfotype:
  13722. description: 用户类型 1-个人 2-企业
  13723. type: integer
  13724. type: object
  13725. models.QhjNodeAgreementConfig:
  13726. properties:
  13727. agreementcontent:
  13728. description: 协议内容
  13729. type: string
  13730. agreementid:
  13731. description: 协议ID
  13732. type: integer
  13733. agreementname:
  13734. description: 协议名称
  13735. type: string
  13736. agreementno:
  13737. description: 协议编号
  13738. type: string
  13739. agreementtype:
  13740. description: 协议类型 - 1:注册 2:登录 3:交易
  13741. type: integer
  13742. agreementversion:
  13743. description: 协议版本号
  13744. type: integer
  13745. configid:
  13746. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  13747. type: integer
  13748. createtime:
  13749. description: 创建时间
  13750. type: string
  13751. goodsid:
  13752. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  13753. type: integer
  13754. nodetype:
  13755. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  13756. type: integer
  13757. type: object
  13758. models.QhjParentAreaList:
  13759. properties:
  13760. accountname:
  13761. description: 账户名称(机构名称)
  13762. type: string
  13763. userid:
  13764. description: 用户ID
  13765. type: integer
  13766. usertype:
  13767. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  13768. type: integer
  13769. type: object
  13770. models.QhjPayOrder:
  13771. properties:
  13772. advanceratio:
  13773. description: 首付比率
  13774. type: number
  13775. buyaccountid:
  13776. description: 买方账号ID[报价币种]
  13777. type: integer
  13778. buyorderid:
  13779. description: 买方委托单号
  13780. type: string
  13781. createtime:
  13782. description: 创建时间
  13783. type: string
  13784. decimalplace:
  13785. description: 商品报价小数位
  13786. type: integer
  13787. enumdicname:
  13788. description: 单位名称
  13789. type: string
  13790. goodscode:
  13791. description: 商品代码
  13792. type: string
  13793. goodsid:
  13794. description: 商品ID
  13795. type: integer
  13796. goodsname:
  13797. description: 商品名称
  13798. type: string
  13799. goodunitid:
  13800. description: 商品单位id
  13801. type: integer
  13802. marketid:
  13803. description: 市场ID
  13804. type: integer
  13805. offamount:
  13806. description: 优惠金额
  13807. type: number
  13808. operatetype:
  13809. description: 买委托操作类型 - 1:正常下单 16:融资买入
  13810. type: integer
  13811. payamount:
  13812. description: 支付金额
  13813. type: number
  13814. payflag:
  13815. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  13816. type: integer
  13817. paylimitedtime:
  13818. description: 支付期限
  13819. type: string
  13820. paytime:
  13821. description: 付款时间
  13822. type: string
  13823. qtydecimalplace:
  13824. description: 成交量小数位
  13825. type: integer
  13826. sellaccountid:
  13827. description: 卖方账号ID[报价币种]
  13828. type: integer
  13829. sellorderid:
  13830. description: 卖方委托单号
  13831. type: string
  13832. tradeamount:
  13833. description: 成交金额(优惠后金额)
  13834. type: number
  13835. tradecharge:
  13836. description: 成交手续费(买方)
  13837. type: number
  13838. tradedate:
  13839. description: 交易日(yyyyMMdd)
  13840. type: string
  13841. tradeid:
  13842. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13843. type: string
  13844. tradeprice:
  13845. description: 成交价格
  13846. type: number
  13847. tradeqty:
  13848. description: 成交数量
  13849. type: number
  13850. type: object
  13851. models.QhjPickArea:
  13852. properties:
  13853. address:
  13854. description: 详细地址
  13855. type: string
  13856. cityid:
  13857. description: 市
  13858. type: integer
  13859. cityname:
  13860. description: 城市名称
  13861. type: string
  13862. countryid:
  13863. description: 国家
  13864. type: integer
  13865. countryname:
  13866. description: 国家名称
  13867. type: string
  13868. districtid:
  13869. description: 地区
  13870. type: integer
  13871. districtname:
  13872. description: 地区名称
  13873. type: string
  13874. fromuserid:
  13875. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  13876. type: integer
  13877. fromusername:
  13878. description: 所属机构名称
  13879. type: string
  13880. provinceid:
  13881. description: 省
  13882. type: integer
  13883. provincename:
  13884. description: 省名称
  13885. type: string
  13886. suborgtype:
  13887. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  13888. type: integer
  13889. userid:
  13890. description: 机构用户ID 其他做市关系,都设置为 1
  13891. type: integer
  13892. username:
  13893. description: 机构用户名称(门店门称)
  13894. type: string
  13895. type: object
  13896. models.QhjPickGoods:
  13897. properties:
  13898. enumdicname:
  13899. description: 单位名称(提货商品)
  13900. type: string
  13901. goodsid:
  13902. description: 商品id
  13903. type: integer
  13904. imageaddress:
  13905. description: 图片
  13906. type: string
  13907. modifierid:
  13908. description: 修改人
  13909. type: integer
  13910. modifiername:
  13911. description: 修改人名称
  13912. type: string
  13913. modifysrc:
  13914. description: 修改来源 - 1:管理端 2:终端
  13915. type: integer
  13916. pickupgoodsagreeunit:
  13917. description: 合约乘数
  13918. type: number
  13919. pickupgoodsdesc:
  13920. description: 描述
  13921. type: string
  13922. pickupgoodsid:
  13923. description: 提货商品ID
  13924. type: string
  13925. pickupgoodsname:
  13926. description: 提货商品名称
  13927. type: string
  13928. pickupgoodsstatus:
  13929. description: 状态 - 1:正常 2:停用 3:注销
  13930. type: integer
  13931. pickupgoodsunitid:
  13932. description: 单位ID
  13933. type: integer
  13934. pickupratio:
  13935. description: 提货系数
  13936. type: number
  13937. preparedays:
  13938. description: 备货期(天)
  13939. type: integer
  13940. remark:
  13941. description: 备注
  13942. type: string
  13943. updatetime:
  13944. description: 更新时间
  13945. type: string
  13946. type: object
  13947. models.QhjRSTriggerLog:
  13948. properties:
  13949. accountid:
  13950. description: 用户资金账户
  13951. type: integer
  13952. accountname:
  13953. description: 账号名称(ACCOUNTID对应的名称)
  13954. type: string
  13955. currencyid:
  13956. description: 币种id
  13957. type: integer
  13958. currencyname:
  13959. description: 币种名称
  13960. type: string
  13961. decimalplace:
  13962. description: 商品报价小数位
  13963. type: integer
  13964. enumdicname:
  13965. description: 单位名称
  13966. type: string
  13967. goodscode:
  13968. description: 定投商品代码
  13969. type: string
  13970. goodsid:
  13971. description: 定投商品ID
  13972. type: integer
  13973. goodsname:
  13974. description: 定投商品名称
  13975. type: string
  13976. goodunitid:
  13977. description: 定投商品单位id
  13978. type: integer
  13979. logid:
  13980. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  13981. type: string
  13982. logincode:
  13983. description: 账号(登录代码)
  13984. type: string
  13985. qtydecimalplace:
  13986. description: 成交量小数位
  13987. type: integer
  13988. regularlycycle:
  13989. description: 定投频率 - 1:每周 2:每月
  13990. type: integer
  13991. regularlycyclevalue:
  13992. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  13993. type: string
  13994. regularlymode:
  13995. description: 定投方式 - 1:按数量 2:按金额
  13996. type: integer
  13997. regularlymodevalue:
  13998. description: 定投方式值 - 数量或金额
  13999. type: number
  14000. regularlystrategyid:
  14001. description: 定投策略ID
  14002. type: integer
  14003. retcode:
  14004. description: 错误码
  14005. type: string
  14006. tradeid:
  14007. description: 成交单ID
  14008. type: string
  14009. triggeramount:
  14010. description: 触发金额
  14011. type: number
  14012. triggerqty:
  14013. description: 触发数量
  14014. type: number
  14015. triggerstatus:
  14016. description: 触发状态 - 1:成功 2:失败
  14017. type: integer
  14018. triggertime:
  14019. description: 触发时间
  14020. type: string
  14021. triggertradedate:
  14022. description: 触发交易日
  14023. type: string
  14024. userid:
  14025. description: 所属用户ID
  14026. type: integer
  14027. userinfotype:
  14028. description: 用户类型 1-个人 2-企业
  14029. type: integer
  14030. username:
  14031. description: 用户名称(userid对应的名称)
  14032. type: string
  14033. type: object
  14034. models.QhjRStrategy:
  14035. properties:
  14036. accountid:
  14037. description: 用户资金账户
  14038. type: integer
  14039. accountname:
  14040. description: 账号名称(ACCOUNTID对应的名称)
  14041. type: string
  14042. currencyid:
  14043. description: 币种id
  14044. type: integer
  14045. currencyname:
  14046. description: 币种名称
  14047. type: string
  14048. decimalplace:
  14049. description: 商品报价小数位
  14050. type: integer
  14051. enumdicname:
  14052. description: 单位名称
  14053. type: string
  14054. goodscode:
  14055. description: 定投商品代码
  14056. type: string
  14057. goodsid:
  14058. description: 定投商品ID
  14059. type: integer
  14060. goodsname:
  14061. description: 定投商品名称
  14062. type: string
  14063. goodunitid:
  14064. description: 定投商品单位id
  14065. type: integer
  14066. lasteffecttradedate:
  14067. description: 最新生效交易日
  14068. type: string
  14069. laststoptradedate:
  14070. description: 最新暂停交易日
  14071. type: string
  14072. lasttriggertradedate:
  14073. description: 最新触发交易日
  14074. type: string
  14075. logincode:
  14076. description: 账号(登录代码)
  14077. type: string
  14078. nexttriggeramount:
  14079. description: 下次触发金额
  14080. type: number
  14081. nexttriggerdate:
  14082. description: 下次触发日期
  14083. type: string
  14084. nexttriggerqty:
  14085. description: 下次触发数量 [按小数位放大值]
  14086. type: number
  14087. qtydecimalplace:
  14088. description: 成交量小数位
  14089. type: integer
  14090. regularlycycle:
  14091. description: 定投频率 - 1:每周 2:每月
  14092. type: integer
  14093. regularlycyclevalue:
  14094. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  14095. type: string
  14096. regularlymode:
  14097. description: 定投方式 - 1:按数量 2:按金额
  14098. type: integer
  14099. regularlymodevalue:
  14100. description: 定投方式值 - 数量或金额
  14101. type: number
  14102. regularlystrategyid:
  14103. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  14104. type: integer
  14105. regularlystrategystatus:
  14106. description: 策略状态 - 1:正常 2:暂停 3:终止
  14107. type: integer
  14108. remark:
  14109. description: 备注
  14110. type: string
  14111. triggersuccesstimes:
  14112. description: 累计定投成功次数
  14113. type: string
  14114. triggertotalamount:
  14115. description: 累计定投金额(成功)
  14116. type: number
  14117. triggertotalqty:
  14118. description: 累计定投数量(成功) [按小数位放大值]
  14119. type: number
  14120. triggertotaltimes:
  14121. description: 累计定投总次数
  14122. type: string
  14123. updatesrc:
  14124. description: 更新来源 - 1:管理端 2:终端
  14125. type: integer
  14126. updatetime:
  14127. description: 更新时间
  14128. type: string
  14129. updatorid:
  14130. description: 更新人
  14131. type: string
  14132. userid:
  14133. description: 所属用户ID
  14134. type: integer
  14135. userinfotype:
  14136. description: 用户类型 1-个人 2-企业
  14137. type: integer
  14138. username:
  14139. description: 用户名称(userid对应的名称)
  14140. type: string
  14141. type: object
  14142. models.QhjReckonPriceLog:
  14143. properties:
  14144. decimalplace:
  14145. description: 商品报价小数位
  14146. type: integer
  14147. goodscode:
  14148. description: 商品代码
  14149. type: string
  14150. goodsid:
  14151. description: 商品ID
  14152. type: integer
  14153. goodsname:
  14154. description: 商品名称
  14155. type: string
  14156. lastreckonprice:
  14157. description: 上日结算价
  14158. type: number
  14159. nextdnlimitprice:
  14160. description: 下个交易日跌停价
  14161. type: number
  14162. nexttrade:
  14163. description: 下个交易日
  14164. type: string
  14165. nextuplimitprice:
  14166. description: 下个交易日涨停价
  14167. type: number
  14168. reckonprice:
  14169. description: 今日结算价(定投价)
  14170. type: number
  14171. reckontime:
  14172. description: 结算时间
  14173. type: string
  14174. totalholderqty:
  14175. description: 总持仓数
  14176. type: integer
  14177. totalstock:
  14178. description: 总库存
  14179. type: integer
  14180. tradedate:
  14181. description: 交易日
  14182. type: string
  14183. updowncount:
  14184. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  14185. type: integer
  14186. updownflag:
  14187. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  14188. type: integer
  14189. updownrate:
  14190. description: 今日涨跌幅
  14191. type: number
  14192. updownrate_2d:
  14193. description: 连续两日涨跌幅
  14194. type: number
  14195. updownrate_3d:
  14196. description: 连续三日涨跌幅
  14197. type: number
  14198. type: object
  14199. models.QhjScoreLog:
  14200. properties:
  14201. accountid:
  14202. description: 账户ID
  14203. type: integer
  14204. createtime:
  14205. description: 创建时间(时间)
  14206. type: string
  14207. goodsid:
  14208. description: 商品ID
  14209. type: integer
  14210. hasuploaded:
  14211. description: 是否已同步(千海金) 0:未同步 1;已同步
  14212. type: integer
  14213. logid:
  14214. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14215. type: string
  14216. marketid:
  14217. description: 市场ID
  14218. type: integer
  14219. relatedamount:
  14220. description: 关联金额
  14221. type: number
  14222. relatedorderid:
  14223. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  14224. type: string
  14225. scoreconfigvalue1:
  14226. description: 积分配置1
  14227. type: integer
  14228. scoreconfigvalue2:
  14229. description: 积分配置1
  14230. type: integer
  14231. scoretype:
  14232. description: 积分类型 - 1:提货积分
  14233. type: integer
  14234. scorevalue:
  14235. description: 积分
  14236. type: number
  14237. tradedate:
  14238. description: 交易日(yyyyMMdd)
  14239. type: string
  14240. uploadedtime:
  14241. description: 同步时间
  14242. type: string
  14243. userid:
  14244. description: 用户ID
  14245. type: integer
  14246. type: object
  14247. models.QhjSiteColumnDetail:
  14248. properties:
  14249. author:
  14250. description: 作者
  14251. type: string
  14252. brief:
  14253. description: 简介
  14254. type: string
  14255. columnid:
  14256. description: 所属栏目
  14257. type: integer
  14258. context:
  14259. description: 内容
  14260. type: string
  14261. coverimage:
  14262. description: 封面图片
  14263. type: string
  14264. creaedate:
  14265. description: 创建时间
  14266. type: string
  14267. creatorid:
  14268. description: 创建人
  14269. type: integer
  14270. hits:
  14271. description: 点击数
  14272. type: integer
  14273. id:
  14274. description: ID(SEQ_SITE_COLUMNDETAIL)
  14275. type: integer
  14276. isshow:
  14277. description: 是否展示 - 0:不展示 1:展示
  14278. type: integer
  14279. istop:
  14280. description: 是否置顶 - 0:不置 1:置顶
  14281. type: integer
  14282. modifierid:
  14283. description: 操作人
  14284. type: integer
  14285. publishdate:
  14286. description: 发布日期
  14287. type: string
  14288. status:
  14289. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  14290. type: integer
  14291. title:
  14292. description: 标题
  14293. type: string
  14294. updatedate:
  14295. description: 修改时间
  14296. type: string
  14297. userid:
  14298. description: 用户ID(默认为0, 核心为为机构用户ID)
  14299. type: integer
  14300. username:
  14301. description: 用户名称
  14302. type: string
  14303. type: object
  14304. models.QhjTeamOrder:
  14305. properties:
  14306. accountid:
  14307. description: 账户ID[报价币种]
  14308. type: integer
  14309. accountname:
  14310. description: 账户名称
  14311. type: string
  14312. agreeunit:
  14313. description: 合约乘数
  14314. type: number
  14315. buyorsell:
  14316. description: 方向 - 0:买 1:卖
  14317. type: integer
  14318. decimalplace:
  14319. description: 报价小数位
  14320. type: integer
  14321. enumdicname:
  14322. description: 单位名称
  14323. type: string
  14324. goodscode:
  14325. description: 商品代码(内部)
  14326. type: string
  14327. goodsid:
  14328. description: 商品ID
  14329. type: integer
  14330. goodsname:
  14331. description: 商品名称
  14332. type: string
  14333. goodunitid:
  14334. description: 报价单位ID
  14335. type: integer
  14336. marketid:
  14337. description: 市场ID
  14338. type: integer
  14339. marketname:
  14340. description: 市场名称
  14341. type: string
  14342. qtydecimalplace:
  14343. description: 成交量小数位
  14344. type: integer
  14345. refereeuserid:
  14346. description: 推荐人ID
  14347. type: integer
  14348. tradeamount:
  14349. description: 成交金额[账户币种,用于所有权]
  14350. type: number
  14351. tradedate:
  14352. description: 交易日(yyyyMMdd)
  14353. type: string
  14354. trademode:
  14355. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  14356. 21:竞拍-大宗式 22:受托竞价
  14357. type: integer
  14358. tradeprice:
  14359. description: 成交价格
  14360. type: number
  14361. tradeqty:
  14362. description: 成交数量
  14363. type: number
  14364. tradetime:
  14365. description: 成交时间
  14366. type: string
  14367. userid:
  14368. description: 用户ID
  14369. type: integer
  14370. type: object
  14371. models.QhjTradeGoodsPickup:
  14372. properties:
  14373. accountid:
  14374. description: 账户ID
  14375. type: integer
  14376. address:
  14377. description: 提货人详细地址
  14378. type: string
  14379. amount:
  14380. description: 提货金额
  14381. type: number
  14382. artradedate:
  14383. description: 自动收货交易日(yyyyMMdd)
  14384. type: string
  14385. auditer:
  14386. description: 审核人
  14387. type: integer
  14388. auditsrc:
  14389. description: 更新来源 - 1:管理端 2:终端
  14390. type: integer
  14391. audittime:
  14392. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  14393. type: string
  14394. audittradedate:
  14395. description: 审核交易日(yyyyMMdd)
  14396. type: string
  14397. cardnum:
  14398. description: 提货人证件号码
  14399. type: string
  14400. cardtypeid:
  14401. description: 提货人证件类型
  14402. type: integer
  14403. checkremark:
  14404. description: 审核备注
  14405. type: string
  14406. cityid:
  14407. description: 市
  14408. type: integer
  14409. cityname:
  14410. description: 城市名称
  14411. type: string
  14412. confirmtime:
  14413. description: 取货时间 或 收货时间
  14414. type: string
  14415. countryid:
  14416. description: 国家
  14417. type: integer
  14418. countryname:
  14419. description: 国家名称
  14420. type: string
  14421. decimalplace:
  14422. description: 商品报价小数位
  14423. type: integer
  14424. districtid:
  14425. description: 地区
  14426. type: integer
  14427. districtname:
  14428. description: 地区名称
  14429. type: string
  14430. enumdicname:
  14431. description: 单位名称(提货商品)
  14432. type: string
  14433. expresscompany:
  14434. description: 物流公司
  14435. type: string
  14436. expressnum:
  14437. description: 物流单号
  14438. type: string
  14439. goodsagreeunit:
  14440. description: 交易商品乘数
  14441. type: number
  14442. goodscode:
  14443. description: 商品代码
  14444. type: string
  14445. goodsid:
  14446. description: 商品ID
  14447. type: integer
  14448. goodsname:
  14449. description: 商品名称
  14450. type: string
  14451. goodsqty:
  14452. description: 交易商品手数(69模式按成交量小数位放大取整)
  14453. type: number
  14454. handlestatus:
  14455. description: 处理状态
  14456. type: integer
  14457. logincode:
  14458. description: 账号(登录代码, 有可能为空)
  14459. type: string
  14460. marketid:
  14461. description: 市场ID
  14462. type: integer
  14463. phonenum:
  14464. description: 提货人联系方式
  14465. type: string
  14466. pickupgoodsagreeunit:
  14467. description: 提货商品合约乘数
  14468. type: number
  14469. pickupgoodsid:
  14470. description: 提货商品ID
  14471. type: string
  14472. pickupgoodsname:
  14473. description: 提货商品名称
  14474. type: string
  14475. pickupgoodsqty:
  14476. description: 提货商品手数(数量)
  14477. type: number
  14478. pickupgoodsunitid:
  14479. description: 单位ID(提货商品)
  14480. type: integer
  14481. pickupratio:
  14482. description: 提货系数
  14483. type: number
  14484. preparedays:
  14485. description: 备货期(天)-提货单明细表
  14486. type: integer
  14487. provinceid:
  14488. description: 省
  14489. type: integer
  14490. provincename:
  14491. description: 省名称
  14492. type: string
  14493. qty:
  14494. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  14495. type: number
  14496. qtydecimalplace:
  14497. description: 商品数量小数位
  14498. type: integer
  14499. recivername:
  14500. description: 提货人姓名
  14501. type: string
  14502. reqtime:
  14503. description: 提货申请时间
  14504. type: string
  14505. storeuserid:
  14506. description: 门店用户ID (千海金)
  14507. type: integer
  14508. storeusername:
  14509. description: 门店用户名称
  14510. type: string
  14511. takemode:
  14512. description: 提货方式 - 2:自提 3:配送(邮寄)
  14513. type: integer
  14514. takeorderid:
  14515. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  14516. type: string
  14517. takeorderstatus:
  14518. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  14519. 7:已拒绝 8:已撤销
  14520. type: integer
  14521. takeremark:
  14522. description: 提货备注
  14523. type: string
  14524. tradedate:
  14525. description: 交易日(yyyyMMdd)
  14526. type: string
  14527. updatetime:
  14528. description: 更新时间
  14529. type: string
  14530. userid:
  14531. description: 用户ID
  14532. type: integer
  14533. userinfotype:
  14534. description: 客户类型 1-个人 2-企业
  14535. type: integer
  14536. username:
  14537. description: 用户名称
  14538. type: string
  14539. type: object
  14540. models.QhjUserNodeCfgAndStatus:
  14541. properties:
  14542. agreementcontent:
  14543. description: 协议内容
  14544. type: string
  14545. agreementid:
  14546. description: 协议ID
  14547. type: integer
  14548. agreementname:
  14549. description: 协议名称
  14550. type: string
  14551. agreementno:
  14552. description: 协议编号
  14553. type: string
  14554. agreementtype:
  14555. description: 协议类型 - 1:注册 2:登录 3:交易
  14556. type: integer
  14557. agreementversion:
  14558. description: 协议版本号
  14559. type: integer
  14560. configid:
  14561. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  14562. type: integer
  14563. createtime:
  14564. description: 创建时间
  14565. type: string
  14566. goodsid:
  14567. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  14568. type: integer
  14569. nodetype:
  14570. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  14571. type: integer
  14572. signtimestamp:
  14573. description: 签约状态时间戳(最近一次)
  14574. type: string
  14575. tradedate:
  14576. description: 签约交易日(yyyyMMdd)
  14577. type: string
  14578. userid:
  14579. description: 客户ID
  14580. type: integer
  14581. type: object
  14582. models.Qhjgoodsex:
  14583. properties:
  14584. canfinance:
  14585. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  14586. type: integer
  14587. canregularlybuy:
  14588. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  14589. type: integer
  14590. defaulttradeuserid:
  14591. description: 默认交易用户ID
  14592. type: integer
  14593. deliverygoodsid:
  14594. description: 现货品种ID
  14595. type: integer
  14596. goodsid:
  14597. description: 商品ID(自增ID SEQ_GOODS)
  14598. type: integer
  14599. minamount:
  14600. description: 最小购买金额
  14601. type: number
  14602. regularlybuyminamount:
  14603. description: 定投最小金额
  14604. type: number
  14605. regularlybuyminqty:
  14606. description: 定投最小数量
  14607. type: number
  14608. spotgoodsbrandid:
  14609. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  14610. type: integer
  14611. visibilityforenterprise:
  14612. description: 企业客户是否可见 - 0:不可见 1:可见
  14613. type: integer
  14614. visibilityforpersonal:
  14615. description: 个人客户是否可见 - 0:不可见 1:可见
  14616. type: integer
  14617. wrstandardid:
  14618. description: 现货商品ID
  14619. type: integer
  14620. type: object
  14621. models.QueryErrorInfosRsp:
  14622. properties:
  14623. description:
  14624. description: 异常描述
  14625. type: string
  14626. errorcode:
  14627. description: 异常代码
  14628. type: string
  14629. errorid:
  14630. description: 异常ID
  14631. type: integer
  14632. modulecode:
  14633. description: 所属模块
  14634. type: string
  14635. operatecode:
  14636. description: 所属操作
  14637. type: string
  14638. rownumber:
  14639. description: 行号
  14640. type: string
  14641. required:
  14642. - errorid
  14643. type: object
  14644. models.QueryHedgeOrderDetailRsp:
  14645. properties:
  14646. accountid:
  14647. description: 账户ID
  14648. type: integer
  14649. buyorsell:
  14650. description: 买卖 - 0:买 1:卖
  14651. type: integer
  14652. cancellogincode:
  14653. description: 撤单人
  14654. type: string
  14655. channelbuildtype:
  14656. description: 开平标志 - 0:无 1:建仓 2:平仓
  14657. type: integer
  14658. channelinnerorderstatus:
  14659. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  14660. 9:全部成交
  14661. type: integer
  14662. channeloperatetype:
  14663. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  14664. type: integer
  14665. closetype:
  14666. description: 平仓方式 - 0:无 1:平今 2:平昨
  14667. type: integer
  14668. curexchangerate:
  14669. description: 当前汇率
  14670. type: number
  14671. decimalplace:
  14672. description: 商品报价小数位
  14673. type: integer
  14674. exchangefullname:
  14675. description: 外部交易所全称
  14676. type: string
  14677. goodscode:
  14678. description: 商品代码(内部)
  14679. type: string
  14680. goodsid:
  14681. description: 商品ID
  14682. type: integer
  14683. goodsname:
  14684. description: 商品名称
  14685. type: string
  14686. marketid:
  14687. description: 市场ID
  14688. type: integer
  14689. openfreezemargin:
  14690. description: 冻结保证金(冻结交易金额)
  14691. type: number
  14692. orderid:
  14693. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14694. type: string
  14695. orderlogincode:
  14696. description: 委托人
  14697. type: string
  14698. orderprice:
  14699. description: 委托价格(账户)
  14700. type: number
  14701. orderqty:
  14702. description: 委托数量
  14703. type: integer
  14704. ordertime:
  14705. description: 委托时间
  14706. type: string
  14707. pricemode:
  14708. description: '取价方式 - 1:市价 2: 限价'
  14709. type: integer
  14710. tradedate:
  14711. description: 交易日(yyyyMMdd)
  14712. type: string
  14713. tradeqty:
  14714. description: 成交数量
  14715. type: integer
  14716. type: object
  14717. models.QueryHedgeTradeDetailRsp:
  14718. properties:
  14719. accountid:
  14720. description: 账号ID
  14721. type: integer
  14722. buyorsell:
  14723. description: 方向 - 0:买 1:卖
  14724. type: integer
  14725. channelbuildtype:
  14726. description: 委托单据类型 0:无 1:建仓 2:平仓
  14727. type: integer
  14728. closecharge:
  14729. description: 平仓手续费(账户)
  14730. type: number
  14731. closecharge2:
  14732. description: 平仓手续费(商品)
  14733. type: number
  14734. closepl:
  14735. description: 平仓盈亏(账户)
  14736. type: number
  14737. closepl2:
  14738. description: 平仓盈亏(商品)
  14739. type: number
  14740. closepl3:
  14741. description: 平仓盈亏(账户)(逐笔)
  14742. type: number
  14743. closepl4:
  14744. description: 平仓盈亏(商品)(逐笔)
  14745. type: number
  14746. closetype:
  14747. description: 平仓方式 - 0:无 1:平今 2:平昨
  14748. type: integer
  14749. curexchangerate:
  14750. description: 当前汇率
  14751. type: number
  14752. decimalplace:
  14753. description: 商品报价小数位
  14754. type: integer
  14755. exchangefullname:
  14756. description: 外部交易所全称
  14757. type: string
  14758. goodscode:
  14759. description: 商品代码(内部)
  14760. type: string
  14761. goodsid:
  14762. description: 商品ID
  14763. type: integer
  14764. goodsname:
  14765. description: 商品名称
  14766. type: string
  14767. marketid:
  14768. description: 市场ID
  14769. type: integer
  14770. opencharge:
  14771. description: 建仓手续费(账户)
  14772. type: number
  14773. opencharge2:
  14774. description: 建仓手续费(商品)
  14775. type: number
  14776. orderid:
  14777. description: 委托单号
  14778. type: string
  14779. orderlogincode:
  14780. description: 委托人
  14781. type: string
  14782. tradeamount:
  14783. description: 成交金额(账户)
  14784. type: number
  14785. tradedate:
  14786. description: 交易日(yyyyMMdd)
  14787. type: string
  14788. tradeid:
  14789. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14790. type: string
  14791. tradeprice:
  14792. description: 成交价格
  14793. type: number
  14794. tradeqty:
  14795. description: 成交数量
  14796. type: integer
  14797. tradetime:
  14798. description: 成交时间
  14799. type: string
  14800. tradetype:
  14801. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  14802. type: integer
  14803. type: object
  14804. models.QuotePrimaryMenu:
  14805. properties:
  14806. Index:
  14807. description: 序号
  14808. type: integer
  14809. Key:
  14810. description: 键名
  14811. type: string
  14812. Name:
  14813. description: 菜单名称
  14814. type: string
  14815. SubMenus:
  14816. description: 子菜单
  14817. items:
  14818. $ref: '#/definitions/models.QuoteSecondaryMenu'
  14819. type: array
  14820. SubTitleType:
  14821. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  14822. type: integer
  14823. TradeModes:
  14824. description: 包含市场交易类型
  14825. type: string
  14826. type: object
  14827. models.QuoteSecondaryMenu:
  14828. properties:
  14829. ExExchangeCode:
  14830. description: 外部交易所代码
  14831. type: string
  14832. ExExchangeID:
  14833. description: 外部交易所ID
  14834. type: integer
  14835. GoodsGroupIDs:
  14836. description: 商品组ID列表
  14837. items:
  14838. type: integer
  14839. type: array
  14840. Index:
  14841. description: 序号
  14842. type: integer
  14843. MarketID:
  14844. description: 市场ID
  14845. type: integer
  14846. MenuTitle:
  14847. description: 菜单标题(市场名称或外部交易所名称)
  14848. type: string
  14849. TradeMode:
  14850. description: 交易模式
  14851. type: integer
  14852. type: object
  14853. models.RelatedTaAccount:
  14854. properties:
  14855. accountid:
  14856. description: 资金账户ID
  14857. type: integer
  14858. type: object
  14859. models.RoleMenu:
  14860. properties:
  14861. hasright:
  14862. description: 是否有权限 0-没有权限 1-有权限
  14863. type: integer
  14864. iconame:
  14865. description: 菜单图标
  14866. type: string
  14867. menutype:
  14868. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  14869. type: integer
  14870. parentcode:
  14871. description: 上级资源代码
  14872. type: string
  14873. remark:
  14874. description: 菜单备注
  14875. type: string
  14876. resourcecode:
  14877. description: 菜单代码
  14878. type: string
  14879. resourcelevel:
  14880. description: 级别
  14881. type: integer
  14882. resourcename:
  14883. description: 菜单名称
  14884. type: string
  14885. roleid:
  14886. description: 角色id
  14887. type: integer
  14888. sort:
  14889. description: 排序
  14890. type: integer
  14891. subMenu:
  14892. description: 子级菜单(结构同上层一样, swag解析不出来)
  14893. items:
  14894. $ref: '#/definitions/models.RoleMenu'
  14895. type: array
  14896. url:
  14897. description: URL
  14898. type: string
  14899. userid:
  14900. description: 用户id
  14901. type: integer
  14902. type: object
  14903. models.SearchGoods:
  14904. properties:
  14905. goodscode:
  14906. description: 商品代码(内部)
  14907. type: string
  14908. goodsid:
  14909. description: 商品ID(自增ID SEQ_GOODS)
  14910. type: integer
  14911. goodsname:
  14912. description: 商品名称
  14913. type: string
  14914. marketid:
  14915. description: 所属市场ID
  14916. type: integer
  14917. marketname:
  14918. description: 市场名称
  14919. type: string
  14920. trademode:
  14921. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  14922. 21:竞拍-大宗式 22:受托竞价
  14923. type: integer
  14924. required:
  14925. - goodscode
  14926. - goodsid
  14927. - goodsname
  14928. - marketid
  14929. - trademode
  14930. type: object
  14931. models.Systemparam:
  14932. properties:
  14933. loginid:
  14934. description: 更新用户账号,登录账号
  14935. type: string
  14936. modifyflag:
  14937. description: 修改标志0 不允许修改 1 允许修改
  14938. type: integer
  14939. paramcode:
  14940. description: 参数代码
  14941. type: string
  14942. paramname:
  14943. description: 参数名
  14944. type: string
  14945. paramtype:
  14946. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  14947. type: integer
  14948. paramvalue:
  14949. description: 参数值
  14950. type: string
  14951. paramvalue2:
  14952. description: 参数值(CLOB)
  14953. type: string
  14954. regexpress:
  14955. description: 正则表达式
  14956. type: string
  14957. remark:
  14958. description: 备注
  14959. type: string
  14960. serverip:
  14961. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  14962. type: string
  14963. showflag:
  14964. description: 是否显示0 不显示 1 显示
  14965. type: integer
  14966. updatetime:
  14967. description: 更新时间
  14968. type: string
  14969. userid:
  14970. description: 更新用户ID
  14971. type: integer
  14972. required:
  14973. - paramcode
  14974. type: object
  14975. models.Szdz3convertconfig:
  14976. properties:
  14977. canin:
  14978. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  14979. type: integer
  14980. canout:
  14981. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  14982. type: integer
  14983. converttype:
  14984. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  14985. 6:交易转花生米(不设置)
  14986. type: integer
  14987. createtime:
  14988. description: 创建时间
  14989. type: string
  14990. creatorid:
  14991. description: 创建人
  14992. type: integer
  14993. daymaxvalue:
  14994. description: 当日最大转入限制
  14995. type: number
  14996. freezedays:
  14997. description: 冻结天数 [5:花生米转交易]
  14998. type: integer
  14999. innergoodsid:
  15000. description: 内部商品ID[交易]
  15001. type: integer
  15002. inratio:
  15003. description: 目标值
  15004. type: integer
  15005. modifierid:
  15006. description: 修改人
  15007. type: integer
  15008. modifytime:
  15009. description: 修改时间
  15010. type: string
  15011. outergoodscode:
  15012. description: 外部商品代码[JD\PD]
  15013. type: string
  15014. outratio:
  15015. description: 源值
  15016. type: integer
  15017. pddecimalplace:
  15018. description: PD小数位
  15019. type: integer
  15020. timemaxvalue:
  15021. description: 单次最大转入限制
  15022. type: number
  15023. timeminvalue:
  15024. description: 单次最小转入限制
  15025. type: number
  15026. required:
  15027. - converttype
  15028. - innergoodsid
  15029. - outergoodscode
  15030. type: object
  15031. models.Szdz3searchwhitelist:
  15032. properties:
  15033. createtime:
  15034. description: 创建时间
  15035. type: string
  15036. creatorid:
  15037. description: 创建人
  15038. type: integer
  15039. modifierid:
  15040. description: 修改人
  15041. type: integer
  15042. modifytime:
  15043. description: 修改时间
  15044. type: string
  15045. userid:
  15046. description: 用户ID
  15047. type: integer
  15048. required:
  15049. - userid
  15050. type: object
  15051. models.TBGoods:
  15052. properties:
  15053. agreeunit:
  15054. description: 合约乘数
  15055. type: number
  15056. enumdicname:
  15057. description: 单位名称
  15058. type: string
  15059. goodscode:
  15060. description: 商品代码(内部)
  15061. type: string
  15062. goodsid:
  15063. description: 商品ID(自增ID SEQ_GOODS)
  15064. type: integer
  15065. goodsname:
  15066. description: 商品名称
  15067. type: string
  15068. type: object
  15069. models.TBGoodsGroup:
  15070. properties:
  15071. GDLST:
  15072. description: 商品列表
  15073. items:
  15074. $ref: '#/definitions/models.TBGoods'
  15075. type: array
  15076. convertratio:
  15077. description: 折算系数
  15078. type: number
  15079. enumdicname:
  15080. description: 单位名称
  15081. type: string
  15082. exexchangecode:
  15083. description: 交易所代码
  15084. type: string
  15085. exexchangename:
  15086. description: 交易所名称
  15087. type: string
  15088. goodsgroupid:
  15089. description: 商品组ID(自增ID)
  15090. type: integer
  15091. goodsgroupname:
  15092. description: 商品组名称
  15093. type: string
  15094. goodunitid:
  15095. description: 报价单位ID
  15096. type: integer
  15097. type: object
  15098. models.TBMiddleGoods:
  15099. properties:
  15100. GPLST:
  15101. description: 期货品种列表
  15102. items:
  15103. $ref: '#/definitions/models.TBGoodsGroup'
  15104. type: array
  15105. WDLST:
  15106. description: 商品信息列表(现货品类)
  15107. items:
  15108. $ref: '#/definitions/models.TBWrstandard'
  15109. type: array
  15110. areauserid:
  15111. description: 机构用户ID
  15112. type: integer
  15113. enumdicname:
  15114. description: 单位名称
  15115. type: string
  15116. goodsunitid:
  15117. description: 套保品种单位id
  15118. type: integer
  15119. middlegoodscode:
  15120. description: 套保品种代码
  15121. type: string
  15122. middlegoodsid:
  15123. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  15124. type: integer
  15125. middlegoodsname:
  15126. description: 套保品种名称
  15127. type: string
  15128. needarbitrageratio:
  15129. description: 套利比率
  15130. type: number
  15131. needhedgeratio:
  15132. description: 套保比率
  15133. type: number
  15134. type: object
  15135. models.TBWrstandard:
  15136. properties:
  15137. convertratio:
  15138. description: 折算系数
  15139. type: number
  15140. deliverygoodsname:
  15141. description: 品种名称
  15142. type: string
  15143. enumdicname:
  15144. description: 单位名称
  15145. type: string
  15146. vatrate:
  15147. description: 增值税率
  15148. type: number
  15149. wrstandardcode:
  15150. description: 现货商品代码
  15151. type: string
  15152. wrstandardid:
  15153. description: 现货商品ID(SEQ_WRSTANDARD)
  15154. type: integer
  15155. wrstandardname:
  15156. description: 现货商品名称
  15157. type: string
  15158. type: object
  15159. models.Taaccount:
  15160. properties:
  15161. accountflag:
  15162. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  15163. type: integer
  15164. accountid:
  15165. description: 资金账户ID
  15166. type: integer
  15167. accountname:
  15168. description: 账户名称
  15169. type: string
  15170. balance:
  15171. description: 期初余额
  15172. type: number
  15173. capitalbalance:
  15174. description: 本金余额[外部子账户实际出入金余额]
  15175. type: number
  15176. changeflag:
  15177. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  15178. type: integer
  15179. changetime:
  15180. description: 账户状态变更时间
  15181. type: string
  15182. closepl:
  15183. description: 今日平仓盈亏
  15184. type: number
  15185. creditdecrease:
  15186. description: 今日授信减少
  15187. type: number
  15188. creditincrease:
  15189. description: 今日授信增加
  15190. type: number
  15191. curamount:
  15192. description: 总市值(从持仓中统计)
  15193. type: number
  15194. currencyid:
  15195. description: 货币ID
  15196. type: integer
  15197. currentbalance:
  15198. description: 期末余额
  15199. type: number
  15200. freezecharge:
  15201. description: 手续费冻结
  15202. type: number
  15203. freezemargin:
  15204. description: 冻结保证金
  15205. type: number
  15206. fromaccountid:
  15207. description: 所属上级账户
  15208. type: integer
  15209. inamount:
  15210. description: 今日入金金额(包括三方入金)
  15211. type: number
  15212. ismain:
  15213. description: 是否母账号 0:不是母账户 1:是母账户
  15214. type: integer
  15215. ismarketaccount:
  15216. description: 是否机构接单账号 0:不是 1:是
  15217. type: integer
  15218. isreckonaccount:
  15219. description: 是否机构分润账号 0:不是 1:是
  15220. type: integer
  15221. mortgagecredit:
  15222. description: 授信金额
  15223. type: number
  15224. orifreezecharge:
  15225. description: 期初手续费冻结
  15226. type: number
  15227. orifreezemargin:
  15228. description: 期初冻结保证金
  15229. type: number
  15230. orimortgagecredit:
  15231. description: 期初授信金额
  15232. type: number
  15233. oriothercredit:
  15234. description: 期初其它授信金额
  15235. type: number
  15236. oriotherfreezemargin:
  15237. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  15238. type: number
  15239. orioutamountfreeze:
  15240. description: 期初出金冻结
  15241. type: number
  15242. oriusedmargin:
  15243. description: 期初占用保证金
  15244. type: number
  15245. othercredit:
  15246. description: 其它授信金额
  15247. type: number
  15248. othercreditdecrease:
  15249. description: 今日其它授信减少
  15250. type: number
  15251. othercreditincrease:
  15252. description: 今日其它授信增加
  15253. type: number
  15254. otherfreezemargin:
  15255. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  15256. type: number
  15257. otherincome:
  15258. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  15259. type: number
  15260. otherpay:
  15261. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  15262. type: number
  15263. outamount:
  15264. description: 今日出金金额(包括三方出金)
  15265. type: number
  15266. outamountfreeze:
  15267. description: 出金冻结
  15268. type: number
  15269. outthreshold:
  15270. description: 出金阈值
  15271. type: number
  15272. parentaccountid:
  15273. description: 所属根账号
  15274. type: integer
  15275. paycharge:
  15276. description: 今日手续费支出
  15277. type: number
  15278. relatedaccountstatus:
  15279. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  15280. type: integer
  15281. relateduserid:
  15282. description: 关联用户
  15283. type: integer
  15284. remainamount:
  15285. description: 融资额(从融资合同中统计)
  15286. type: number
  15287. serivcegroup:
  15288. description: 服务分组
  15289. type: integer
  15290. signstatus:
  15291. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  15292. type: integer
  15293. sublevelpath:
  15294. description: 账号层级路径(逗号分隔,首尾加逗号)
  15295. type: string
  15296. taaccounttype:
  15297. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  15298. type: integer
  15299. thirdinamount:
  15300. description: 今日三方入金
  15301. type: number
  15302. thirdoutamount:
  15303. description: 今日三方出金
  15304. type: number
  15305. tradestatus:
  15306. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  15307. type: integer
  15308. tradestatuschangetime:
  15309. description: 激活时间
  15310. type: string
  15311. transferamount:
  15312. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  15313. type: number
  15314. usedmargin:
  15315. description: 占用保证金
  15316. type: number
  15317. userid:
  15318. description: 用户ID
  15319. type: integer
  15320. required:
  15321. - accountid
  15322. - userid
  15323. type: object
  15324. models.Tablecolumnconfig:
  15325. properties:
  15326. aligntype:
  15327. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  15328. type: integer
  15329. autoid:
  15330. description: AutoID
  15331. type: integer
  15332. columnfield:
  15333. description: 列字段
  15334. type: string
  15335. columntitle:
  15336. description: 列Title
  15337. type: string
  15338. columnwidth:
  15339. description: 列宽
  15340. type: string
  15341. formatterstring:
  15342. description: 格式化字符
  15343. type: string
  15344. formattertype:
  15345. description: 格式化类型
  15346. type: string
  15347. groupname:
  15348. description: 表头分组名称
  15349. type: string
  15350. isshow:
  15351. description: 是否显示 - 0:不显示 1:显示
  15352. type: integer
  15353. needsummary:
  15354. description: 是否需要汇总 - 0:不需要 1:需要
  15355. type: integer
  15356. orderindex:
  15357. description: 顺序
  15358. type: integer
  15359. remark:
  15360. description: 备注
  15361. type: string
  15362. summarytype:
  15363. description: 汇总类型 - 1:加总 2:最后一个
  15364. type: integer
  15365. tablekey:
  15366. description: 列表Key
  15367. type: string
  15368. required:
  15369. - autoid
  15370. type: object
  15371. models.TjmdHolderDetailTradeInfo:
  15372. properties:
  15373. agreeunit:
  15374. description: 合约乘数
  15375. type: number
  15376. buyaccountid:
  15377. description: 买方账户
  15378. type: string
  15379. buyusername:
  15380. description: 买方
  15381. type: string
  15382. delistingdate:
  15383. description: 最后结算日
  15384. type: string
  15385. expiredate:
  15386. description: 到期结算价定价日
  15387. type: string
  15388. exprieprice:
  15389. description: 到期清算价格
  15390. type: string
  15391. goodscode:
  15392. description: 商品代码
  15393. type: string
  15394. goodsid:
  15395. description: 商品ID
  15396. type: integer
  15397. goodsname:
  15398. description: 商品名称(交易标的)
  15399. type: string
  15400. lasttradedate:
  15401. description: 最后交易日
  15402. type: string
  15403. listingdate:
  15404. description: 开始交易日
  15405. type: string
  15406. openprice:
  15407. description: 成交价
  15408. type: number
  15409. openqty:
  15410. description: 交易数量
  15411. type: integer
  15412. sellaccountid:
  15413. description: 卖方账户
  15414. type: string
  15415. sellusername:
  15416. description: 卖方
  15417. type: string
  15418. tradeamount:
  15419. description: 初始名义价值
  15420. type: number
  15421. tradedate:
  15422. description: 成交日期
  15423. type: string
  15424. tradeid:
  15425. description: 成交编号
  15426. type: string
  15427. type: object
  15428. models.TjmdMarketSection:
  15429. properties:
  15430. marketsectionid:
  15431. description: 市场版块ID(SEQ_MARKETSECTION)
  15432. type: integer
  15433. marketsectionname:
  15434. description: 市场版块名称
  15435. type: string
  15436. mlist:
  15437. description: 市场列表(板块下面有多少个市场)
  15438. items:
  15439. $ref: '#/definitions/models.TjmdMarketSectionConfig'
  15440. type: array
  15441. orderindex:
  15442. description: 排序
  15443. type: integer
  15444. pictureurl:
  15445. description: 图片url, 规格(90*90)
  15446. type: string
  15447. remark:
  15448. description: 备注
  15449. type: string
  15450. type: object
  15451. models.TjmdMarketSectionConfig:
  15452. properties:
  15453. auctionwrtype:
  15454. description: 仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可
  15455. type: integer
  15456. canacceptquote:
  15457. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  15458. type: integer
  15459. cangoodsexercise:
  15460. description: '[期权]是否可现货行权- 0:否 1:是'
  15461. type: integer
  15462. cangoodsexercisetype:
  15463. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  15464. type: integer
  15465. canmanualquotestrike:
  15466. description: 是否可手动报行权价- 0:否 1:是 [期权]
  15467. type: integer
  15468. canmutistage:
  15469. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  15470. type: integer
  15471. canpreexercise:
  15472. description: '[期权]是否可预申报- 0:否 1:是'
  15473. type: integer
  15474. clearinterval:
  15475. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  15476. type: integer
  15477. contracttmp:
  15478. description: 合同模板[荷兰式][竞价式][仓单贸易]
  15479. type: string
  15480. exchareaid:
  15481. description: 所属交易所,可以没有
  15482. type: integer
  15483. financemarketid:
  15484. description: 融资回购市场ID [仓单贸易]
  15485. type: integer
  15486. goodstype:
  15487. description: 商品类型 - 1:交易商品 2:仓单商品
  15488. type: integer
  15489. hasrebate:
  15490. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  15491. type: integer
  15492. hastradecredit:
  15493. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  15494. type: integer
  15495. haswr:
  15496. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  15497. type: integer
  15498. isdeductmargin:
  15499. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  15500. type: integer
  15501. isrecordsource:
  15502. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  15503. type: integer
  15504. isreleasemargin:
  15505. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  15506. type: integer
  15507. isupdatereckonprice:
  15508. description: 输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)
  15509. type: integer
  15510. listingmode:
  15511. description: 挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  15512. type: integer
  15513. marginformula:
  15514. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  15515. type: integer
  15516. marginformula2:
  15517. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  15518. type: integer
  15519. marketid:
  15520. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  15521. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  15522. type: integer
  15523. marketname:
  15524. description: 市场名称
  15525. type: string
  15526. marketsectionid:
  15527. description: 市场版块ID(SEQ_MARKETSECTION)
  15528. type: integer
  15529. marketserviceid:
  15530. description: 市场服务ID
  15531. type: integer
  15532. marketstatus:
  15533. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  15534. type: integer
  15535. markettype:
  15536. description: 市场类型- 1:非交易服务 2:交易服务
  15537. type: integer
  15538. matchermode:
  15539. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废
  15540. type: integer
  15541. nowrquotaflag:
  15542. description: 是否校验无仓单额度(仓单贸易) 0:否 1:是
  15543. type: integer
  15544. openmethod:
  15545. description: 开盘模式 - 0 自动 1手动
  15546. type: integer
  15547. orderindex:
  15548. description: 排序
  15549. type: integer
  15550. otcuserid:
  15551. description: 场外期权做市商[场外期权]
  15552. type: integer
  15553. outersynctime:
  15554. description: 外部同步时间点(h24:mi:ss)[场外期权]
  15555. type: string
  15556. paylaterflag:
  15557. description: 是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]
  15558. type: integer
  15559. pendingflag:
  15560. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  15561. type: integer
  15562. pendingtime:
  15563. description: 待开市时间[通道交易-对冲](HH:mm)
  15564. type: string
  15565. performancetempid:
  15566. description: 履约计划模板ID - 作废
  15567. type: integer
  15568. premiumquotemode:
  15569. description: 权利金报价方式 - 1:自动 2:手动
  15570. type: integer
  15571. rebateratio:
  15572. description: 返利比率[竞价式]
  15573. type: number
  15574. reckonorder:
  15575. description: 结算顺序
  15576. type: integer
  15577. reckonpricealgorithm:
  15578. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  15579. 6.卖一价 7.买一卖一均价 8.外部结算价'
  15580. type: integer
  15581. reckonpriceparam:
  15582. description: 结算价参数
  15583. type: integer
  15584. reckontime:
  15585. description: 结算时间[通道交易-对冲](HH:mm)
  15586. type: string
  15587. roleprioritytype:
  15588. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  15589. type: integer
  15590. selllistingauditflag:
  15591. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  15592. type: integer
  15593. trademarkettype:
  15594. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  15595. type: integer
  15596. trademode:
  15597. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  15598. 21:竞拍-大宗式 22:受托竞价
  15599. type: integer
  15600. tradeproperty:
  15601. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  15602. 8:场外期权
  15603. type: integer
  15604. tradetype:
  15605. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  15606. type: integer
  15607. updatereckonpriceinterval:
  15608. description: 输入结算价时长(分钟) [1:手工输入(自动)]
  15609. type: integer
  15610. type: object
  15611. models.TjmdQuoteGoods:
  15612. properties:
  15613. buyqty:
  15614. description: 买量(暂不做, 无值, 保留字段)
  15615. type: number
  15616. decimalplace:
  15617. description: 报价小数位
  15618. type: integer
  15619. goodscode:
  15620. description: 合约代码
  15621. type: string
  15622. goodsgroupid:
  15623. description: 商品组ID(自增ID)
  15624. type: integer
  15625. goodsgroupname:
  15626. description: 商品组名称
  15627. type: string
  15628. goodsid:
  15629. description: 合约id
  15630. type: integer
  15631. goodsname:
  15632. description: 合约名称
  15633. type: string
  15634. refgoodscode:
  15635. description: 标的合约代码
  15636. type: string
  15637. refgoodsid:
  15638. description: 标的合约id
  15639. type: integer
  15640. refgoodsname:
  15641. description: 标的合约名称
  15642. type: string
  15643. sellqty:
  15644. description: 卖量(暂不做, 无值, 保留字段)
  15645. type: number
  15646. type: object
  15647. models.TjmdTodayAccountMargin:
  15648. properties:
  15649. accountid:
  15650. description: 账号ID
  15651. type: integer
  15652. goodsid:
  15653. description: 商品ID
  15654. type: integer
  15655. infoc:
  15656. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  15657. description: 配置参数
  15658. marketid:
  15659. description: 市场ID
  15660. type: integer
  15661. type: object
  15662. models.TjmdTradeOrderDetail:
  15663. properties:
  15664. buyorsell:
  15665. description: 买卖方向 0-买 1-卖
  15666. type: integer
  15667. goodsid:
  15668. description: 商品id
  15669. type: integer
  15670. marketmaxsub:
  15671. description: 市价最大偏移范围 [浮动价 - 点差]
  15672. type: number
  15673. orderid:
  15674. description: 委托单号
  15675. type: string
  15676. orderprice:
  15677. description: 委托价格
  15678. type: number
  15679. orderqty:
  15680. description: 委托数量
  15681. type: integer
  15682. pricemode:
  15683. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  15684. type: integer
  15685. userid:
  15686. description: 用户id
  15687. type: integer
  15688. username:
  15689. description: 用户名称(已脱敏)
  15690. type: string
  15691. type: object
  15692. models.TjmdTransferApply:
  15693. properties:
  15694. applyid:
  15695. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  15696. type: integer
  15697. applystatus:
  15698. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  15699. type: integer
  15700. applytime:
  15701. description: 申请时间(时间)
  15702. type: string
  15703. auditremark:
  15704. description: 审核备注(拒绝原因?)
  15705. type: string
  15706. begindate:
  15707. description: 开始交易日(yyyymmdd)
  15708. type: string
  15709. buyorsell:
  15710. description: 买卖 - 0:买 1:卖
  15711. type: integer
  15712. enddate:
  15713. description: 结束交易日(yyyymmdd)
  15714. type: string
  15715. goodscode:
  15716. description: 商品代码
  15717. type: string
  15718. goodsid:
  15719. description: 商品ID
  15720. type: integer
  15721. goodsname:
  15722. description: 商品名称
  15723. type: string
  15724. marketid:
  15725. description: 市场ID
  15726. type: integer
  15727. qty:
  15728. description: 转让数量(数量)
  15729. type: number
  15730. tradeid:
  15731. description: 成交单号(关联持仓)
  15732. type: string
  15733. transferamount:
  15734. description: 转让总金额(金额)
  15735. type: number
  15736. transferprice:
  15737. description: 转让价格(协议价格)
  15738. type: number
  15739. type: object
  15740. models.TradeHolderDetail:
  15741. properties:
  15742. accountid:
  15743. description: 账号ID
  15744. type: integer
  15745. agreeunit:
  15746. description: 合约乘数
  15747. type: number
  15748. buyorsell:
  15749. description: 方向 - 0:买 1:卖
  15750. type: integer
  15751. currencyid:
  15752. description: 商品币种id
  15753. type: integer
  15754. currencyname:
  15755. description: 币种名称
  15756. type: string
  15757. decimalplace:
  15758. description: 商品价格小数位
  15759. type: integer
  15760. enumdicname:
  15761. description: 商品单位名称
  15762. type: string
  15763. expirecycle:
  15764. description: 行权周期(天) - 1:滚动行权时填写
  15765. type: integer
  15766. expiredate:
  15767. description: 行权日(yyyyMMdd) - 到期日
  15768. type: string
  15769. expiretype:
  15770. description: 行权日类型 - 1:滚动行权 2:固定日行权
  15771. type: integer
  15772. freezeqty:
  15773. description: 冻结数量
  15774. type: number
  15775. goodscode:
  15776. description: 商品代码
  15777. type: string
  15778. goodsid:
  15779. description: 商品ID
  15780. type: integer
  15781. goodsname:
  15782. description: 商品名称
  15783. type: string
  15784. goodunitid:
  15785. description: 商品单位id
  15786. type: integer
  15787. holderamount:
  15788. description: 持仓金额
  15789. type: number
  15790. holdercredit:
  15791. description: 持仓授信金额
  15792. type: number
  15793. holderdays:
  15794. description: 剩余冻结天数
  15795. type: integer
  15796. holderprice:
  15797. description: 持仓价格
  15798. type: number
  15799. holderqty:
  15800. description: 持仓数量
  15801. type: number
  15802. isconfirmexercise:
  15803. description: 是否确认行权- 0:否 1:是
  15804. type: integer
  15805. ispreexercise:
  15806. description: 是否预申报- 0:否 1:是 2:不可行权
  15807. type: integer
  15808. marketid:
  15809. description: 市场id
  15810. type: integer
  15811. marketname:
  15812. description: 市场名称
  15813. type: string
  15814. openprice:
  15815. description: 建仓价格
  15816. type: number
  15817. openqty:
  15818. description: 建仓数量
  15819. type: number
  15820. optiontype:
  15821. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  15822. type: integer
  15823. preexerciseprice:
  15824. description: 预申报价格
  15825. type: number
  15826. premium:
  15827. description: 权利金
  15828. type: number
  15829. qtydecimalplace:
  15830. description: 商品成交量小数位
  15831. type: integer
  15832. refgoodscode:
  15833. description: 标的合约代码
  15834. type: string
  15835. refgoodsid:
  15836. description: 标的合约id
  15837. type: integer
  15838. releaseamount:
  15839. description: 释放持仓金额
  15840. type: number
  15841. releaseholdercredit:
  15842. description: 释放持仓授信金额
  15843. type: number
  15844. taname:
  15845. description: 资金账号名称
  15846. type: string
  15847. tradeamount:
  15848. description: 成交金额
  15849. type: number
  15850. tradedate:
  15851. description: 交易日(yyyyMMdd)
  15852. type: string
  15853. tradeid:
  15854. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15855. type: string
  15856. trademode:
  15857. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  15858. 21:竞拍-大宗式 22:受托竞价 46:掉期
  15859. type: integer
  15860. tradeproperty:
  15861. description: 交易属性
  15862. type: integer
  15863. tradetime:
  15864. description: 交易时间
  15865. type: string
  15866. userid:
  15867. description: 用户id
  15868. type: integer
  15869. username:
  15870. description: 用户名称
  15871. type: string
  15872. type: object
  15873. models.Unlinkermcphedgeplan:
  15874. properties:
  15875. accountid:
  15876. description: 期货账户ID - 作废
  15877. type: integer
  15878. accountname:
  15879. description: 交易用户
  15880. type: string
  15881. applyid:
  15882. description: 申请人
  15883. type: integer
  15884. applysrc:
  15885. description: 申请来源 - 1:管理端 2:终端
  15886. type: integer
  15887. applytime:
  15888. description: 申请时间
  15889. type: string
  15890. areauserid:
  15891. description: '[企业ID]机构ID'
  15892. type: integer
  15893. auditid:
  15894. description: 审核人
  15895. type: integer
  15896. auditremark:
  15897. description: 审核备注
  15898. type: string
  15899. auditsrc:
  15900. description: 审核来源 - 1:管理端 2:终端
  15901. type: integer
  15902. audittime:
  15903. description: 审核时间
  15904. type: string
  15905. audittradedate:
  15906. description: 审核交易日(yyyyMMdd)
  15907. type: string
  15908. biztype:
  15909. description: 业务类型 - 1:套保
  15910. type: integer
  15911. contracttype:
  15912. description: 计划类型 - 1:采购 -1:销售
  15913. type: integer
  15914. convertfactor:
  15915. description: 标仓系数 - 作废
  15916. type: number
  15917. createtime:
  15918. description: 创建时间
  15919. type: string
  15920. currencyid:
  15921. description: 结算币种ID - 作废
  15922. type: integer
  15923. deliverygoodsid:
  15924. description: 现货品种ID
  15925. type: integer
  15926. enumdicname:
  15927. description: 结算币种
  15928. type: string
  15929. hedgeplanid:
  15930. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  15931. type: integer
  15932. hedgeplanno:
  15933. description: '[计划编号]套保计划编号,模糊查询'
  15934. type: string
  15935. hedgeplanstatus:
  15936. description: '[状态]套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回'
  15937. type: integer
  15938. isrelated:
  15939. description: 是否已关联计划项目 - 0:否 1:是
  15940. type: integer
  15941. planqty:
  15942. description: '[计划量]计划数量'
  15943. type: number
  15944. plantime:
  15945. description: 计划时间
  15946. type: string
  15947. producttype:
  15948. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  15949. type: integer
  15950. remark:
  15951. description: 备注
  15952. type: string
  15953. spotgoodsdesc:
  15954. description: 商品型号
  15955. type: string
  15956. tradedate:
  15957. description: 交易日(yyyyMMdd)
  15958. type: string
  15959. tradeuserid:
  15960. description: 交易用户ID
  15961. type: integer
  15962. updatetime:
  15963. description: 更新时间
  15964. type: string
  15965. wrstandardid:
  15966. description: 现货商品ID
  15967. type: integer
  15968. wrstandardname:
  15969. description: 现货商品,模糊查询
  15970. type: string
  15971. required:
  15972. - areauserid
  15973. type: object
  15974. models.UserCollectConfig:
  15975. properties:
  15976. accountstatus:
  15977. description: 账户状态 - 1:正常 2:停用 3:注销
  15978. type: integer
  15979. collectaccountname:
  15980. description: 收款人账户名称
  15981. type: string
  15982. collectaccountno:
  15983. description: 收款人账户
  15984. type: string
  15985. collectbankname:
  15986. description: 收款人开户行
  15987. type: string
  15988. collectbranchbankname:
  15989. description: 收款人开户支行
  15990. type: string
  15991. collectconfigid:
  15992. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  15993. type: string
  15994. remark:
  15995. description: 备注
  15996. type: string
  15997. userid:
  15998. description: 收款人用户ID
  15999. type: integer
  16000. type: object
  16001. models.UserReceiveInfo:
  16002. properties:
  16003. address:
  16004. description: 提货人详细地址
  16005. type: string
  16006. autoid:
  16007. description: AutoID
  16008. type: integer
  16009. cardnum:
  16010. description: 证件号码(加密存储)
  16011. type: string
  16012. cardtypeid:
  16013. description: 证件类型
  16014. type: integer
  16015. cityid:
  16016. description: 市
  16017. type: integer
  16018. cityname:
  16019. description: 城市名称
  16020. type: string
  16021. countryid:
  16022. description: 国家
  16023. type: integer
  16024. countryname:
  16025. description: 国家名称
  16026. type: string
  16027. districtid:
  16028. description: 地区
  16029. type: integer
  16030. districtname:
  16031. description: 地区名称
  16032. type: string
  16033. hasencrypt:
  16034. description: 数据是否已加密 - 0:未加密 1:已加密
  16035. type: integer
  16036. isdefault:
  16037. description: 是否默认地址 - 0:否 1:是
  16038. type: integer
  16039. phonenum:
  16040. description: 提货人联系方式(加密存储)
  16041. type: string
  16042. provinceid:
  16043. description: 省
  16044. type: integer
  16045. provincename:
  16046. description: 省名称
  16047. type: string
  16048. receivername:
  16049. description: 提货人姓名
  16050. type: string
  16051. takeremark:
  16052. description: 提货备注
  16053. type: string
  16054. userid:
  16055. description: 用户ID
  16056. type: integer
  16057. type: object
  16058. models.Useraccount:
  16059. properties:
  16060. accountname:
  16061. description: 账户名称(机构名称)
  16062. type: string
  16063. accountstatus:
  16064. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  16065. type: integer
  16066. applysrc:
  16067. description: 申请来源 - 1:管理端 2:终端
  16068. type: integer
  16069. auditremark:
  16070. description: 审核备注
  16071. type: string
  16072. auditsrc:
  16073. description: 审核来源 - 1:管理端 2:终端
  16074. type: integer
  16075. audittime:
  16076. description: 审核时间
  16077. type: string
  16078. audituserid:
  16079. description: 审核人
  16080. type: integer
  16081. broker:
  16082. description: 所属经纪人ID
  16083. type: integer
  16084. canceltime:
  16085. description: 销户时间
  16086. type: string
  16087. canceluserid:
  16088. description: 销户人
  16089. type: integer
  16090. canrecommend:
  16091. description: 是否可推荐 - 0:不可 1;可
  16092. type: integer
  16093. createtime:
  16094. description: 创建时间
  16095. type: string
  16096. creatorid:
  16097. description: 创建人
  16098. type: integer
  16099. hasauth:
  16100. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  16101. type: integer
  16102. isanonymous:
  16103. description: 是否匿名下单 - 0:否 1:是
  16104. type: integer
  16105. maxinvestornum:
  16106. description: 最大用户数(经纪会员下投资者个数)
  16107. type: integer
  16108. memberuserid:
  16109. description: 所属会员ID
  16110. type: integer
  16111. modifierid:
  16112. description: 修改人
  16113. type: integer
  16114. modifyremark:
  16115. description: 变更备注
  16116. type: string
  16117. modifystatus:
  16118. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  16119. type: integer
  16120. modifytime:
  16121. description: 修改时间
  16122. type: string
  16123. parenttopuser:
  16124. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  16125. type: string
  16126. parentuserid:
  16127. description: 所属机构ID
  16128. type: integer
  16129. reckonaccountid:
  16130. description: 默认结算资金账号ID(机构分润使用) 作废
  16131. type: integer
  16132. refercount:
  16133. description: 推荐总人数
  16134. type: integer
  16135. refereeuserid:
  16136. description: 推荐人ID
  16137. type: integer
  16138. refernum:
  16139. description: 推荐码
  16140. type: string
  16141. rootuserid:
  16142. description: 根用户ID
  16143. type: integer
  16144. subaccountlevel:
  16145. description: 子账户层数
  16146. type: integer
  16147. subarealevelpath:
  16148. description: 子机构层级路径(逗号分隔,首尾加逗号)
  16149. type: string
  16150. userid:
  16151. description: 用户ID
  16152. type: integer
  16153. usertype:
  16154. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  16155. type: integer
  16156. required:
  16157. - userid
  16158. type: object
  16159. models.Userfavoritegoods:
  16160. properties:
  16161. goodsid:
  16162. description: 商品ID
  16163. type: integer
  16164. required:
  16165. - goodsid
  16166. type: object
  16167. models.Userinfo:
  16168. properties:
  16169. address:
  16170. description: 地址
  16171. type: string
  16172. attachment1:
  16173. description: 附件1
  16174. type: string
  16175. attachment2:
  16176. description: 附件2
  16177. type: string
  16178. bankaccount:
  16179. description: 银行帐号 (加密存储)
  16180. type: string
  16181. bankaccountname:
  16182. description: 收款人名称
  16183. type: string
  16184. bankcardfrontphotourl:
  16185. description: 银行卡正面照地址
  16186. type: string
  16187. bankid:
  16188. description: 银行编码
  16189. type: string
  16190. bankname:
  16191. description: 银行名称
  16192. type: string
  16193. biznature:
  16194. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  16195. type: integer
  16196. bizscope:
  16197. description: 企业经营范围(企业)
  16198. type: string
  16199. cardbackphotourl:
  16200. description: 证件背面图片地址
  16201. type: string
  16202. cardfrontphotourl:
  16203. description: 证件正面图片地址
  16204. type: string
  16205. cardnum:
  16206. description: 证件号码(加密存储)
  16207. type: string
  16208. cardtypeid:
  16209. description: 证件类型ID
  16210. type: integer
  16211. cityid:
  16212. description: 市
  16213. type: integer
  16214. company:
  16215. description: 公司(个人)
  16216. type: string
  16217. contactname:
  16218. description: 联系人
  16219. type: string
  16220. countryid:
  16221. description: 国家
  16222. type: integer
  16223. createtime:
  16224. description: 创建时间
  16225. type: string
  16226. creatorid:
  16227. description: 创建人
  16228. type: integer
  16229. customername:
  16230. description: 客户名称(企业名称)
  16231. type: string
  16232. districtid:
  16233. description: 地区
  16234. type: integer
  16235. email:
  16236. description: 邮件(加密存储)
  16237. type: string
  16238. fax:
  16239. description: 传真(加密存储)
  16240. type: string
  16241. halfbodyphotourl:
  16242. description: 半身照地址
  16243. type: string
  16244. hasencrypt:
  16245. description: 数据是否已加密 - 0:未加密 1:已加密
  16246. type: integer
  16247. headurl:
  16248. description: 头像地址
  16249. type: string
  16250. legalcardbackphotourl:
  16251. description: 法人身份证背面照地址
  16252. type: string
  16253. legalcardfrontphotourl:
  16254. description: 法人身份证正面照地址
  16255. type: string
  16256. legalpersonname:
  16257. description: 法人姓名(企业)
  16258. type: string
  16259. mobile:
  16260. description: 手机号码(加密存储)
  16261. type: string
  16262. mobile2:
  16263. description: 手机号码[明文-尚志]
  16264. type: string
  16265. modifierid:
  16266. description: 修改人
  16267. type: integer
  16268. modifiertime:
  16269. description: 修改时间
  16270. type: string
  16271. needinvoice:
  16272. description: 是否需要发票 - 0:不需要 1:需要
  16273. type: integer
  16274. nickname:
  16275. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  16276. type: string
  16277. openmode:
  16278. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  16279. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  16280. type: integer
  16281. otherurl:
  16282. description: 其它图片地址[使用分号分隔]
  16283. type: string
  16284. postalcode:
  16285. description: 邮政编码
  16286. type: string
  16287. provinceid:
  16288. description: 省
  16289. type: integer
  16290. qq:
  16291. description: QQ(加密存储
  16292. type: string
  16293. remark:
  16294. description: 备注
  16295. type: string
  16296. sex:
  16297. description: '用户性别 0: 女 1: 男'
  16298. type: integer
  16299. signpdfurl:
  16300. description: 签约pdf文件
  16301. type: string
  16302. telphone:
  16303. description: 联系电话(加密存储)
  16304. type: string
  16305. userid:
  16306. description: 用户ID
  16307. type: integer
  16308. userinfotype:
  16309. description: 用户信息类型 - 1:个人 2:企业
  16310. type: integer
  16311. userstatus:
  16312. description: 用户状态 - 1:正常 2:注销
  16313. type: integer
  16314. usertype:
  16315. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  16316. type: integer
  16317. wechat:
  16318. description: 微信(加密存储)
  16319. type: string
  16320. wskhinfo:
  16321. description: 开户申请信息(JSON)
  16322. type: string
  16323. required:
  16324. - userid
  16325. type: object
  16326. models.WRSConverTDetail:
  16327. properties:
  16328. convertratio:
  16329. description: 套保系数
  16330. type: number
  16331. deliverygoodscode:
  16332. description: 现货商品代码
  16333. type: string
  16334. deliverygoodsid:
  16335. description: 现货品种ID
  16336. type: integer
  16337. deliverygoodsname:
  16338. description: 现货商品名称
  16339. type: string
  16340. enumdicname:
  16341. description: 单位名称
  16342. type: string
  16343. goodsunitid:
  16344. description: 套保品种单位id
  16345. type: integer
  16346. middlegoodscode:
  16347. description: 套保品种代码
  16348. type: string
  16349. middlegoodsid:
  16350. description: 套保品种ID
  16351. type: integer
  16352. middlegoodsname:
  16353. description: 套保品种名称
  16354. type: string
  16355. modifytime:
  16356. description: 修改时间
  16357. type: string
  16358. wrstandardid:
  16359. description: 品类ID
  16360. type: integer
  16361. type: object
  16362. models.WRStandardInfo:
  16363. properties:
  16364. areauserid:
  16365. description: 所属机构
  16366. type: integer
  16367. convertfactor:
  16368. description: 标仓系数
  16369. type: number
  16370. createtime:
  16371. description: 创建时间
  16372. type: string
  16373. creatorid:
  16374. description: 创建人
  16375. type: integer
  16376. deliverygoodsid:
  16377. description: 品种ID
  16378. type: integer
  16379. deliverygoodsname:
  16380. description: 交割商品名称
  16381. type: string
  16382. factoryitemjson:
  16383. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  16384. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  16385. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  16386. 逗号分隔'
  16387. type: string
  16388. isvalid:
  16389. description: 是否有效 - 0:无效 1:有效
  16390. type: integer
  16391. minivalue:
  16392. description: 最小变动值
  16393. type: integer
  16394. minivaluedp:
  16395. description: 最小变动值小数位
  16396. type: integer
  16397. realminivalue:
  16398. description: 实际最小变动值
  16399. type: integer
  16400. realminivaluedp:
  16401. description: 实际最小变动值小数位
  16402. type: integer
  16403. remark:
  16404. description: 备注
  16405. type: string
  16406. unitid:
  16407. description: 单位ID
  16408. type: integer
  16409. unitname:
  16410. description: 单位
  16411. type: string
  16412. updatetime:
  16413. description: 更新时间
  16414. type: string
  16415. updatorid:
  16416. description: 更新人
  16417. type: integer
  16418. wrsstatus:
  16419. description: 状态 - 作废 - 0:未激活 1:正常
  16420. type: integer
  16421. wrstandardcode:
  16422. description: 现货品类代码
  16423. type: string
  16424. wrstandardid:
  16425. description: 现货品类ID(SEQ_WRSTANDARD)
  16426. type: integer
  16427. wrstandardname:
  16428. description: 现货品类名称
  16429. type: string
  16430. required:
  16431. - wrstandardid
  16432. type: object
  16433. models.WRTradeBargainApply:
  16434. properties:
  16435. accountid:
  16436. description: 摘牌资金账号
  16437. type: integer
  16438. applyprice:
  16439. description: 申请价格(议价价格)
  16440. type: string
  16441. applyqty:
  16442. description: 摘牌数量(议价数量)
  16443. type: number
  16444. applyremark:
  16445. description: 申请备注
  16446. type: string
  16447. applystatus:
  16448. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  16449. type: integer
  16450. applytime:
  16451. description: 申请时间(议价时间)
  16452. type: string
  16453. begindate:
  16454. description: 开始交易日(yyyymmdd)
  16455. type: string
  16456. buyorsell:
  16457. description: 买卖(挂牌类型) - 0:买 1:卖
  16458. type: integer
  16459. confirmremark:
  16460. description: 确认备注
  16461. type: string
  16462. confirmtime:
  16463. description: 确认时间
  16464. type: string
  16465. confirmuserid:
  16466. description: 确认人
  16467. type: integer
  16468. deliverygoodscode:
  16469. description: 品种代码
  16470. type: string
  16471. deliverygoodsid:
  16472. description: 品种ID
  16473. type: integer
  16474. deliverygoodsname:
  16475. description: 品种名称
  16476. type: string
  16477. deliverymonth:
  16478. description: 交收月
  16479. type: string
  16480. enddate:
  16481. description: 结束交易日(yyyymmdd)
  16482. type: string
  16483. enumdicname:
  16484. description: 单位名称
  16485. type: string
  16486. fixedprice:
  16487. description: 挂牌价格
  16488. type: number
  16489. handlestatus:
  16490. description: 处理状态
  16491. type: integer
  16492. marginvalue:
  16493. description: 履约保证金比例
  16494. type: number
  16495. marketid:
  16496. description: 市场ID
  16497. type: integer
  16498. matchaccountid:
  16499. description: 挂牌方资金账号
  16500. type: integer
  16501. matchuserid:
  16502. description: 挂牌方用户id
  16503. type: integer
  16504. matchusername:
  16505. description: 挂牌方用户名称(已脱敏)
  16506. type: string
  16507. minivalue:
  16508. description: 现货商品最小变动值
  16509. type: integer
  16510. optioncompare:
  16511. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16512. type: string
  16513. orderqty:
  16514. description: 挂牌数量
  16515. type: integer
  16516. refprice:
  16517. description: 参考价格
  16518. type: string
  16519. retcode:
  16520. description: 委托返回代码
  16521. type: integer
  16522. templatename:
  16523. description: 履约方式(履约模板名称)
  16524. type: string
  16525. tradedate:
  16526. description: 交易日(yyyyMMdd)
  16527. type: string
  16528. userid:
  16529. description: 摘牌人用户ID(议价人ID)
  16530. type: integer
  16531. username:
  16532. description: 议价人名字(已脱敏)
  16533. type: string
  16534. validtime:
  16535. description: 有效期限
  16536. type: string
  16537. warehouseid:
  16538. description: 仓库ID
  16539. type: integer
  16540. warehousename:
  16541. description: 仓库名称
  16542. type: string
  16543. wrbargainid:
  16544. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  16545. type: string
  16546. wrfactortypeid:
  16547. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16548. type: string
  16549. wrfactortypename:
  16550. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16551. type: string
  16552. wrstandardcode:
  16553. description: 现货商品代码
  16554. type: string
  16555. wrstandardid:
  16556. description: 现货商品ID
  16557. type: integer
  16558. wrstandardname:
  16559. description: 商品名称
  16560. type: string
  16561. wrtradeorderid:
  16562. description: 关联委托单ID
  16563. type: string
  16564. wrtypename:
  16565. description: 商品
  16566. type: string
  16567. type: object
  16568. models.Warehouseinfo:
  16569. properties:
  16570. address:
  16571. description: 详细地址
  16572. type: string
  16573. areauserid:
  16574. description: 所属机构
  16575. type: integer
  16576. autoid:
  16577. description: 自增ID
  16578. type: integer
  16579. cityid:
  16580. description: 市
  16581. type: integer
  16582. contactname:
  16583. description: 联系人
  16584. type: string
  16585. contactnum:
  16586. description: 联系电话
  16587. type: string
  16588. countryid:
  16589. description: 国家
  16590. type: integer
  16591. createtime:
  16592. description: 创建时间
  16593. type: string
  16594. districtid:
  16595. description: 区
  16596. type: integer
  16597. hasvideo:
  16598. description: 是否有视频 - 0:无 1:有
  16599. type: integer
  16600. provinceid:
  16601. description: 省
  16602. type: integer
  16603. remark:
  16604. description: 审核备注
  16605. type: string
  16606. videourl:
  16607. description: 视频地址
  16608. type: string
  16609. warehousecode:
  16610. description: 仓库代码
  16611. type: string
  16612. warehousename:
  16613. description: 仓库名称
  16614. type: string
  16615. warehousestatus:
  16616. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  16617. type: integer
  16618. warehousetype:
  16619. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  16620. type: integer
  16621. required:
  16622. - autoid
  16623. - warehousecode
  16624. type: object
  16625. models.WrAverageTradePrice:
  16626. properties:
  16627. averageprice:
  16628. description: 成交均价
  16629. type: number
  16630. tradedate:
  16631. description: 交易日yyyymm
  16632. type: string
  16633. type: object
  16634. models.WrBrandAndYears:
  16635. properties:
  16636. brandlst:
  16637. description: 品牌列表
  16638. items:
  16639. $ref: '#/definitions/models.DgFactoryItem'
  16640. type: array
  16641. yearslst:
  16642. description: 年份列表
  16643. items:
  16644. $ref: '#/definitions/models.DgFactoryItem'
  16645. type: array
  16646. type: object
  16647. models.WrBsGoodsInfo:
  16648. properties:
  16649. buyorsell:
  16650. description: 买卖方向 0-买 1-卖
  16651. type: integer
  16652. goodsid:
  16653. description: 交易合约ID
  16654. type: integer
  16655. lstitem:
  16656. description: 商品信息项
  16657. items:
  16658. $ref: '#/definitions/models.WrTypeItem'
  16659. type: array
  16660. lststep:
  16661. description: 履约规则
  16662. items:
  16663. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  16664. type: array
  16665. type: object
  16666. models.WrBuybackDetail:
  16667. properties:
  16668. buybackamount:
  16669. description: 回购金额
  16670. type: number
  16671. buybackqty:
  16672. description: 回购数量
  16673. type: number
  16674. buybackreleasemargin:
  16675. description: 回购释放保证金
  16676. type: number
  16677. buybacktime:
  16678. description: 回购时间
  16679. type: string
  16680. errordesc:
  16681. description: 错误描述
  16682. type: string
  16683. handlestatus:
  16684. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  16685. type: integer
  16686. relatedwrid:
  16687. description: 关联仓单ID
  16688. type: integer
  16689. scfcontractid:
  16690. description: SCF合同ID
  16691. type: string
  16692. scfwrbuybackid:
  16693. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  16694. type: integer
  16695. tradedate:
  16696. description: 交易日(yyyyMMdd)
  16697. type: string
  16698. type: object
  16699. models.WrClientAdSpaceConfig:
  16700. properties:
  16701. adspaceid:
  16702. description: 广告位ID
  16703. type: integer
  16704. adspacename:
  16705. description: 广告位名称
  16706. type: string
  16707. adspacetype:
  16708. description: 广告位类型 - 1:固定广告位
  16709. type: integer
  16710. areauserid:
  16711. description: 所属机构ID
  16712. type: integer
  16713. createdate:
  16714. description: 创建时间
  16715. type: string
  16716. imagepath:
  16717. description: 图片
  16718. type: string
  16719. modifierid:
  16720. description: 操作人
  16721. type: integer
  16722. recsize:
  16723. description: 推荐尺寸
  16724. type: string
  16725. title:
  16726. description: 标题
  16727. type: string
  16728. updatedate:
  16729. description: 更新时间
  16730. type: string
  16731. urlcontent:
  16732. description: 链接(地址\商品ID\功能菜单Key\appid)
  16733. type: string
  16734. urltype:
  16735. description: 链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序
  16736. type: integer
  16737. type: object
  16738. models.WrDeliveryAvalidHoldLB:
  16739. properties:
  16740. accountid:
  16741. description: 资金账号
  16742. type: integer
  16743. avalidqty:
  16744. description: 数量(可点选数量)
  16745. type: number
  16746. deliverygoodsid:
  16747. description: 品种id
  16748. type: integer
  16749. enumdicname:
  16750. description: 单位名称
  16751. type: string
  16752. goodsid:
  16753. description: x合约商品id
  16754. type: integer
  16755. ladingbillid:
  16756. description: 提单id
  16757. type: string
  16758. pgoodscode:
  16759. description: p商品代码(点价合约)
  16760. type: string
  16761. pgoodsid:
  16762. description: p商品id(点价合约)
  16763. type: integer
  16764. pgoodsname:
  16765. description: p商品名称(点价合约)
  16766. type: string
  16767. pricemove:
  16768. description: 升贴水
  16769. type: number
  16770. subnum:
  16771. description: 提单子id
  16772. type: integer
  16773. userid:
  16774. description: 用户id
  16775. type: integer
  16776. username:
  16777. description: 仓单持有人
  16778. type: string
  16779. warehousecode:
  16780. description: 仓库代码
  16781. type: string
  16782. warehouseid:
  16783. description: 仓库id
  16784. type: integer
  16785. warehousename:
  16786. description: 仓库名称
  16787. type: string
  16788. wrfactortypeid:
  16789. description: 仓单要素id
  16790. type: string
  16791. wrstandardcode:
  16792. description: 品代码
  16793. type: string
  16794. wrstandardid:
  16795. description: 品类d
  16796. type: integer
  16797. wrstandardname:
  16798. description: 品类名称
  16799. type: string
  16800. wrtypename:
  16801. description: 商品
  16802. type: string
  16803. xgoodscode:
  16804. description: x合约代码
  16805. type: string
  16806. xgoodsname:
  16807. description: x合约名称
  16808. type: string
  16809. type: object
  16810. models.WrDeliveryDetail:
  16811. properties:
  16812. accountid:
  16813. description: 账号ID
  16814. type: integer
  16815. averageprice:
  16816. description: 交割均价 = 交割金额 / 交割数量
  16817. type: number
  16818. begindate:
  16819. description: 开始交易日(yyyymmdd)
  16820. type: string
  16821. buyorsell:
  16822. description: 方向 - 0:买 1:卖
  16823. type: integer
  16824. deliveryamount:
  16825. description: 货款金额(X总货款+P总货款)
  16826. type: number
  16827. deliveryid:
  16828. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  16829. type: string
  16830. deliveryorderid:
  16831. description: 申报单号
  16832. type: string
  16833. deliverypricemove:
  16834. description: 升贴水(升贴水总额)
  16835. type: number
  16836. deliveryqty:
  16837. description: 交收数量(点选数量)
  16838. type: number
  16839. deliverystatus:
  16840. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  16841. type: integer
  16842. deliverytime:
  16843. description: 交割时间
  16844. type: string
  16845. deliverytotalamount:
  16846. description: 交收金额
  16847. type: number
  16848. enddate:
  16849. description: 结束交易日(yyyymmdd)
  16850. type: string
  16851. enumdicname:
  16852. description: 单位名称
  16853. type: string
  16854. matchaccountid:
  16855. description: 对手账号ID
  16856. type: integer
  16857. matchusername:
  16858. description: 对手方名称(仓单持有人)
  16859. type: string
  16860. p1goodsremainamount:
  16861. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  16862. type: number
  16863. pdeliverycloseqty:
  16864. description: p合约平仓数量
  16865. type: number
  16866. pdeliveryprice:
  16867. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  16868. type: number
  16869. pgoodscode:
  16870. description: 商品代码
  16871. type: string
  16872. pgoodsid:
  16873. description: p点选合约id
  16874. type: integer
  16875. pgoodsname:
  16876. description: 商品名称
  16877. type: string
  16878. ppricemode:
  16879. description: 点价价格方式 - 1:商品价 2:固定值
  16880. type: integer
  16881. tradedate:
  16882. description: 交易日(yyyymmdd)
  16883. type: string
  16884. userid:
  16885. description: 用户id
  16886. type: integer
  16887. username:
  16888. description: 用户名称
  16889. type: string
  16890. warehousename:
  16891. description: 仓库名称
  16892. type: string
  16893. wrfactortypeid:
  16894. description: 仓单要素类型ID
  16895. type: string
  16896. wrtypename:
  16897. description: 商品
  16898. type: string
  16899. xdeliverycloseqty:
  16900. description: 合约数量
  16901. type: number
  16902. xgoodsamount:
  16903. description: 合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)
  16904. type: number
  16905. xgoodscode:
  16906. description: 商品代码
  16907. type: string
  16908. xgoodsid:
  16909. description: x交易合约ID
  16910. type: integer
  16911. xgoodsname:
  16912. description: 商品名称
  16913. type: string
  16914. type: object
  16915. models.WrDeliveryGoodsSection:
  16916. properties:
  16917. dglst:
  16918. description: 板块商品列表
  16919. items:
  16920. $ref: '#/definitions/models.WrDeliveryGoodsSectionConfig'
  16921. type: array
  16922. imagepath:
  16923. description: 图片地址
  16924. type: string
  16925. orderindex:
  16926. description: 排序
  16927. type: integer
  16928. sectionid:
  16929. description: 版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType
  16930. = 1的版块1 - 云融指数
  16931. type: integer
  16932. sectionname:
  16933. description: 版块名称
  16934. type: string
  16935. sectiontype:
  16936. description: 版块类型 - 1:指数版块 2:普通版块
  16937. type: integer
  16938. type: object
  16939. models.WrDeliveryGoodsSectionConfig:
  16940. properties:
  16941. deliverygoodscode:
  16942. description: 现货商品代码
  16943. type: string
  16944. deliverygoodsid:
  16945. description: 现货品种ID(SEQ_DELIVERYGOODS)
  16946. type: integer
  16947. deliverygoodsname:
  16948. description: 现货商品名称
  16949. type: string
  16950. orderindex:
  16951. description: 排序
  16952. type: integer
  16953. type: object
  16954. models.WrDraftUserInfo:
  16955. properties:
  16956. address:
  16957. description: 地址
  16958. type: string
  16959. attachment1:
  16960. description: 附件1
  16961. type: string
  16962. attachment2:
  16963. description: 附件2
  16964. type: string
  16965. attachment3:
  16966. description: 附件3
  16967. type: string
  16968. attachment4:
  16969. description: 附件4
  16970. type: string
  16971. attachment5:
  16972. description: 附件5
  16973. type: string
  16974. bankaccount:
  16975. description: 银行帐号 (加密存储)
  16976. type: string
  16977. bankaccountname:
  16978. description: 收款人名称
  16979. type: string
  16980. bankcardfrontphotourl:
  16981. description: 银行卡正面照地址
  16982. type: string
  16983. bankid:
  16984. description: 银行编码
  16985. type: string
  16986. bankname:
  16987. description: 银行名称
  16988. type: string
  16989. birthday:
  16990. description: 生日(个人:年月日)
  16991. type: string
  16992. biznature:
  16993. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  16994. type: integer
  16995. bizscope:
  16996. description: 企业经营范围(企业)
  16997. type: string
  16998. biztype:
  16999. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  17000. type: integer
  17001. cardbackphotourl:
  17002. description: 证件背面图片地址
  17003. type: string
  17004. cardfrontphotourl:
  17005. description: 证件正面图片地址
  17006. type: string
  17007. cardnum:
  17008. description: 证件号码(加密存储)
  17009. type: string
  17010. cardtypeid:
  17011. description: 证件类型ID
  17012. type: integer
  17013. cityid:
  17014. description: 市
  17015. type: integer
  17016. company:
  17017. description: 公司(个人)
  17018. type: string
  17019. contactcardbackphotourl:
  17020. description: 联系人证件背面图片地址
  17021. type: string
  17022. contactcardfrontphotourl:
  17023. description: 联系人证件正面图片地址
  17024. type: string
  17025. contactname:
  17026. description: 联系人
  17027. type: string
  17028. countryid:
  17029. description: 国家
  17030. type: integer
  17031. createtime:
  17032. description: 创建时间
  17033. type: string
  17034. creatorid:
  17035. description: 创建人
  17036. type: integer
  17037. creditquota:
  17038. description: 授信额度(金瑞)
  17039. type: number
  17040. customername:
  17041. description: 客户名称(企业名称)
  17042. type: string
  17043. districtid:
  17044. description: 地区
  17045. type: integer
  17046. email:
  17047. description: 邮件(加密存储)
  17048. type: string
  17049. fax:
  17050. description: 传真(加密存储)
  17051. type: string
  17052. halfbodyphotourl:
  17053. description: 半身照地址
  17054. type: string
  17055. hasencrypt:
  17056. description: 数据是否已加密 - 0:未加密 1:已加密
  17057. type: integer
  17058. headurl:
  17059. description: 头像地址
  17060. type: string
  17061. legalcardbackphotourl:
  17062. description: 法人身份证背面照地址
  17063. type: string
  17064. legalcardfrontphotourl:
  17065. description: 法人身份证正面照地址
  17066. type: string
  17067. legalpersonname:
  17068. description: 法人姓名(企业)
  17069. type: string
  17070. mobile:
  17071. description: 手机号码(加密存储)
  17072. type: string
  17073. mobile2:
  17074. description: 手机号码[明文-尚志]
  17075. type: string
  17076. modifierid:
  17077. description: 修改人
  17078. type: integer
  17079. modifiertime:
  17080. description: 修改时间
  17081. type: string
  17082. needinvoice:
  17083. description: 是否需要发票 - 0:不需要 1:需要
  17084. type: integer
  17085. nickname:
  17086. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  17087. type: string
  17088. openmode:
  17089. description: "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  17090. 6:苹果手机端注册 7:PC交易端注册"
  17091. type: integer
  17092. otherurl:
  17093. description: 其它图片地址[使用分号分隔]
  17094. type: string
  17095. postalcode:
  17096. description: 邮政编码
  17097. type: string
  17098. provinceid:
  17099. description: 省
  17100. type: integer
  17101. proxystatementurl:
  17102. description: 授权委托书
  17103. type: string
  17104. qq:
  17105. description: QQ(加密存储
  17106. type: string
  17107. remark:
  17108. description: 备注
  17109. type: string
  17110. sex:
  17111. description: '用户性别 0: 女 1: 男'
  17112. type: integer
  17113. signpdfurl:
  17114. description: 签约pdf文件
  17115. type: string
  17116. taxpayernum:
  17117. description: 纳税人识别号
  17118. type: string
  17119. telphone:
  17120. description: 联系电话(加密存储)
  17121. type: string
  17122. userid:
  17123. description: 用户ID
  17124. type: integer
  17125. userinfotype:
  17126. description: 用户信息类型 - 1:个人 2:企业
  17127. type: integer
  17128. userstatus:
  17129. description: 用户状态 - 1:正常 2:注销
  17130. type: integer
  17131. usertype:
  17132. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者
  17133. type: integer
  17134. wechat:
  17135. description: 微信(加密存储)
  17136. type: string
  17137. wskhinfo:
  17138. description: 开户申请信息(JSON)
  17139. type: string
  17140. type: object
  17141. models.WrFAProductDetail:
  17142. properties:
  17143. accountid:
  17144. description: 资金账号
  17145. type: integer
  17146. areauserid:
  17147. description: 金融机构ID
  17148. type: integer
  17149. financingdays:
  17150. description: 天数(天)
  17151. type: integer
  17152. interestminlen:
  17153. description: 最小起息天数
  17154. type: integer
  17155. interestrate:
  17156. description: 利率
  17157. type: number
  17158. interestratemode:
  17159. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  17160. type: integer
  17161. interestsettlemode:
  17162. description: 结息方式 - 1:按日结息 3:按月结息
  17163. type: integer
  17164. interestsettlevalue:
  17165. description: 结息方式值
  17166. type: integer
  17167. isautoloan:
  17168. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  17169. type: integer
  17170. loantag:
  17171. description: '放款标识: "放款快" 或者为空'
  17172. type: string
  17173. marginratio:
  17174. description: 保证金比率质押率 - [仓单质押]
  17175. type: number
  17176. productdetailid:
  17177. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  17178. type: integer
  17179. productid:
  17180. description: 金融产品ID
  17181. type: integer
  17182. productname:
  17183. description: 产品名称
  17184. type: string
  17185. updatetime:
  17186. description: 更新时间
  17187. type: string
  17188. username:
  17189. description: 融出方
  17190. type: string
  17191. type: object
  17192. models.WrFactorTypeInfo:
  17193. properties:
  17194. deliverygoodscode:
  17195. description: 品种代码
  17196. type: string
  17197. deliverygoodsname:
  17198. description: 品种名称
  17199. type: string
  17200. dgfactoryitemid:
  17201. description: 选择项id
  17202. type: integer
  17203. dgfactoryitemtypeid:
  17204. description: 要素选择项ID (1-仓库 2-品牌)
  17205. type: integer
  17206. dgfactoryitemvalue:
  17207. description: 要素项值
  17208. type: string
  17209. itemtypename:
  17210. description: 要素项名称
  17211. type: string
  17212. optioncompare:
  17213. description: 选择比较串
  17214. type: string
  17215. warehouseid:
  17216. description: 仓库id
  17217. type: integer
  17218. wrfactortypeid:
  17219. description: 仓单要素ID
  17220. type: string
  17221. wrfactortypename:
  17222. description: 要素名称
  17223. type: string
  17224. wrfactortypename2:
  17225. description: 要素名称(不含仓库)
  17226. type: string
  17227. wrstandardcode:
  17228. description: 品类代码
  17229. type: string
  17230. wrstandardid:
  17231. description: 品类id
  17232. type: integer
  17233. wrstandardname:
  17234. description: 品类名称
  17235. type: string
  17236. type: object
  17237. models.WrFilterItem:
  17238. properties:
  17239. itemcode:
  17240. description: 代码
  17241. type: string
  17242. itemid:
  17243. description: 项id
  17244. type: integer
  17245. itemname:
  17246. description: 名称
  17247. type: string
  17248. itemtype:
  17249. description: 类型 1-品种 2-品类(商品) 3-仓库
  17250. type: integer
  17251. type: object
  17252. models.WrFinanceBuyApply:
  17253. properties:
  17254. applydate:
  17255. description: 申请时间
  17256. type: string
  17257. applystatus:
  17258. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  17259. type: integer
  17260. applyuserid:
  17261. description: 申请人
  17262. type: integer
  17263. auditdate:
  17264. description: 审核时间
  17265. type: string
  17266. auditremark:
  17267. description: 审核备注
  17268. type: string
  17269. audituserid:
  17270. description: 审核人
  17271. type: integer
  17272. buyaccountid:
  17273. description: 买方资金账号
  17274. type: integer
  17275. buyorsell:
  17276. description: 买卖 - 0:买 1:卖
  17277. type: integer
  17278. buyuserid:
  17279. description: 买方用户ID
  17280. type: integer
  17281. buyusername:
  17282. description: 买方名称
  17283. type: string
  17284. buywrtradeorderid:
  17285. description: 融资方买委托单ID
  17286. type: string
  17287. deliverygoodscode:
  17288. description: 品种代码
  17289. type: string
  17290. deliverygoodsid:
  17291. description: 品种ID
  17292. type: integer
  17293. deliverygoodsname:
  17294. description: 品种名称
  17295. type: string
  17296. deliverymonth:
  17297. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  17298. type: string
  17299. enumdicname:
  17300. description: 单位名称
  17301. type: string
  17302. financeaccountid:
  17303. description: 融资方资金帐户ID
  17304. type: integer
  17305. financeapplyid:
  17306. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  17307. type: string
  17308. financeareauserid:
  17309. description: 融资方用户ID
  17310. type: string
  17311. financename:
  17312. description: 融出方名称
  17313. type: string
  17314. financetype:
  17315. description: 融资类型 1-融资回购
  17316. type: integer
  17317. financingdays:
  17318. description: 天数(天)
  17319. type: integer
  17320. freezebuymargin:
  17321. description: 冻结融资保证金(买方)
  17322. type: number
  17323. handleremark:
  17324. description: 处理备注
  17325. type: string
  17326. handlestatus:
  17327. description: 处理状态
  17328. type: integer
  17329. interestminlen:
  17330. description: 最小起息天数
  17331. type: integer
  17332. interestrate:
  17333. description: 利率
  17334. type: number
  17335. interestratemode:
  17336. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  17337. type: integer
  17338. interestsettlemode:
  17339. description: 结息方式 - 1:按日结息 3:按月结息
  17340. type: integer
  17341. interestsettlevalue:
  17342. description: 结息方式值
  17343. type: integer
  17344. isautoloan:
  17345. description: 是否自动放款 - 0:手动 1:自动
  17346. type: integer
  17347. marginratio:
  17348. description: 保证金比率质押率 - [仓单质押]
  17349. type: number
  17350. marketid:
  17351. description: 市场ID
  17352. type: integer
  17353. minivalue:
  17354. description: 现货商品最小变动值
  17355. type: integer
  17356. optioncompare:
  17357. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17358. type: string
  17359. orderqty:
  17360. description: 委托数量(商品数量)
  17361. type: number
  17362. productdetailid:
  17363. description: 产品组合ID
  17364. type: integer
  17365. productid:
  17366. description: 金融产品ID
  17367. type: integer
  17368. productname:
  17369. description: 产品名称
  17370. type: string
  17371. remark:
  17372. description: 备注
  17373. type: string
  17374. scfcontractid:
  17375. description: 仓单回购合同ID
  17376. type: string
  17377. sellaccountid:
  17378. description: 卖方资金账号
  17379. type: integer
  17380. selluserid:
  17381. description: 卖方用户ID
  17382. type: integer
  17383. sellwrtradeorderid:
  17384. description: 卖方委托单ID
  17385. type: string
  17386. tradeamount:
  17387. description: 成交金额(借款金额)
  17388. type: number
  17389. tradedate:
  17390. description: 交易日(yyyyMMdd)
  17391. type: string
  17392. tradeprice:
  17393. description: 成交价格
  17394. type: number
  17395. warehouseid:
  17396. description: 仓库ID
  17397. type: integer
  17398. warehousename:
  17399. description: 仓库名称
  17400. type: string
  17401. wrfactortypeid:
  17402. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17403. type: string
  17404. wrfactortypename:
  17405. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17406. type: string
  17407. wrpricetype:
  17408. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  17409. type: integer
  17410. wrstandardcode:
  17411. description: 现货商品代码
  17412. type: string
  17413. wrstandardid:
  17414. description: 现货商品ID
  17415. type: integer
  17416. wrstandardname:
  17417. description: 商品名称
  17418. type: string
  17419. wrtypename:
  17420. description: 商品
  17421. type: string
  17422. type: object
  17423. models.WrFriendApply:
  17424. properties:
  17425. applicantid:
  17426. description: 申请人
  17427. type: integer
  17428. applyname:
  17429. description: 申请人名称
  17430. type: string
  17431. applysrc:
  17432. description: 申请来源 - 1:管理端 2:终端
  17433. type: integer
  17434. applystatus:
  17435. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  17436. type: integer
  17437. applytime:
  17438. description: 申请时间
  17439. type: string
  17440. auditname:
  17441. description: 审核人名称
  17442. type: string
  17443. auditorid:
  17444. description: 审核人
  17445. type: integer
  17446. auditremark:
  17447. description: 审核备注
  17448. type: string
  17449. auditsrc:
  17450. description: 审核来源 - 1:管理端 2:终端
  17451. type: integer
  17452. audittime:
  17453. description: 审核时间
  17454. type: string
  17455. friendapplyid:
  17456. description: 申请ID(SEQ_FRIENDAPPLY)
  17457. type: string
  17458. friendname:
  17459. description: 好友名字(已脱敏)
  17460. type: string
  17461. frienduserid:
  17462. description: 好友用户ID
  17463. type: string
  17464. remark:
  17465. description: 备注
  17466. type: string
  17467. userid:
  17468. description: 申请人用户ID
  17469. type: integer
  17470. type: object
  17471. models.WrFtDeliveryGoods:
  17472. properties:
  17473. deliverygoodscode:
  17474. description: 品种代码
  17475. type: string
  17476. deliverygoodsid:
  17477. description: 品种ID
  17478. type: integer
  17479. deliverygoodsname:
  17480. description: 品种名称
  17481. type: string
  17482. wdlst:
  17483. description: 商品列表
  17484. items:
  17485. $ref: '#/definitions/models.WrFtWrstandard'
  17486. type: array
  17487. type: object
  17488. models.WrFtWrstandard:
  17489. properties:
  17490. enumdicname:
  17491. description: 单位名称
  17492. type: string
  17493. minivalue:
  17494. description: 最小变动值
  17495. type: integer
  17496. wrstandardcode:
  17497. description: 现货商品代码
  17498. type: string
  17499. wrstandardid:
  17500. description: 现货商品ID
  17501. type: integer
  17502. wrstandardname:
  17503. description: 商品名称
  17504. type: string
  17505. type: object
  17506. models.WrGoodsInfo:
  17507. properties:
  17508. haswr:
  17509. description: 0:仓单预售 1:仓单贸易
  17510. type: integer
  17511. lstitem:
  17512. description: 商品信息项
  17513. items:
  17514. $ref: '#/definitions/models.WrTypeItem'
  17515. type: array
  17516. lststep:
  17517. description: 履约规则
  17518. items:
  17519. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  17520. type: array
  17521. marketid:
  17522. description: 市场id
  17523. type: integer
  17524. type: object
  17525. models.WrGoodsPerformanceStep:
  17526. properties:
  17527. autoid:
  17528. description: AutoID
  17529. type: integer
  17530. isauto:
  17531. description: 是否自动 - 0:不自动 1:自动
  17532. type: integer
  17533. remark:
  17534. description: 备注
  17535. type: string
  17536. stepdate:
  17537. description: 天数信息(T+N)
  17538. type: string
  17539. stepdays:
  17540. description: 距离上一步天数
  17541. type: integer
  17542. stepindex:
  17543. description: 步骤序号
  17544. type: integer
  17545. stepinfo:
  17546. description: 步骤信息(步骤名称+步骤值)
  17547. type: string
  17548. steptypeid:
  17549. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  17550. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  17551. type: integer
  17552. steptypename:
  17553. description: 步骤名称
  17554. type: string
  17555. stepvalue:
  17556. description: 步骤值
  17557. type: number
  17558. templateid:
  17559. description: 履约计划模板ID
  17560. type: integer
  17561. type: object
  17562. models.WrHoldLB:
  17563. properties:
  17564. accountid:
  17565. description: 持有人帐户ID
  17566. type: integer
  17567. bannerpicurl:
  17568. description: Banner图
  17569. type: string
  17570. createtime:
  17571. description: 创建时间(过户时间)
  17572. type: string
  17573. deliverygoodscode:
  17574. description: 品种代码
  17575. type: string
  17576. deliverygoodsid:
  17577. description: 品种ID
  17578. type: integer
  17579. deliverygoodsname:
  17580. description: 品种名称
  17581. type: string
  17582. enableqty:
  17583. description: 可用数量
  17584. type: number
  17585. enumdicname:
  17586. description: 单位名称
  17587. type: string
  17588. freezerqty:
  17589. description: 冻结数量
  17590. type: number
  17591. ladingbillid:
  17592. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  17593. type: string
  17594. minivalue:
  17595. description: 现货商品最小变动值
  17596. type: integer
  17597. optioncompare:
  17598. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17599. type: string
  17600. parentsubnum:
  17601. description: 拆分父子单号
  17602. type: integer
  17603. pledgeqty:
  17604. description: 质押数量
  17605. type: number
  17606. qty:
  17607. description: 数量
  17608. type: number
  17609. subnum:
  17610. description: 提单子单号
  17611. type: integer
  17612. thumurls:
  17613. description: 缩略图
  17614. type: string
  17615. tradedate:
  17616. description: 交易日(yyyyMMdd)
  17617. type: string
  17618. userid:
  17619. description: 持有人ID
  17620. type: integer
  17621. warehouseid:
  17622. description: 仓库ID
  17623. type: integer
  17624. warehousename:
  17625. description: 仓库名称
  17626. type: string
  17627. wrfactortypeid:
  17628. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17629. type: string
  17630. wrfactortypename:
  17631. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17632. type: string
  17633. wrholdeno:
  17634. description: 仓单编号
  17635. type: string
  17636. wrid:
  17637. description: 仓单变更ID
  17638. type: string
  17639. wrstandardcode:
  17640. description: 现货商品代码
  17641. type: string
  17642. wrstandardid:
  17643. description: 现货商品ID
  17644. type: integer
  17645. wrstandardname:
  17646. description: 商品名称
  17647. type: string
  17648. wrtypename:
  17649. description: 商品
  17650. type: string
  17651. type: object
  17652. models.WrMarketTradeConfig:
  17653. properties:
  17654. basisdownratio:
  17655. description: 浮动价基差下限比例(仓单贸易)
  17656. type: number
  17657. basisupratio:
  17658. description: 浮动价基差上限比例(仓单贸易)
  17659. type: number
  17660. buychargealgorithm:
  17661. description: 买方手续费收取方式 1:比率 2:固定
  17662. type: integer
  17663. buychargealgorithm2:
  17664. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  17665. type: integer
  17666. buychargealgorithmvalue:
  17667. description: 买方手续费设置值(交易所部分)
  17668. type: number
  17669. buychargealgorithmvalue2:
  17670. description: 买方手续费设置值(会员部分)
  17671. type: number
  17672. buychargealgorithmvalue3:
  17673. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  17674. type: number
  17675. buychargealgorithmvalue4:
  17676. description: 回购买方手续费设置值(会员部分) --77:现货商城
  17677. type: number
  17678. buyfirstmarginalgorithm:
  17679. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  17680. type: integer
  17681. buyfirstmarginvalue:
  17682. description: 买方出价保证金设置值 - [竞拍]
  17683. type: number
  17684. buymarginalgorithm:
  17685. description: 买方保证金方式 - 1:比率 2:固定
  17686. type: integer
  17687. buymarginvalue:
  17688. description: 买方保证金设置值
  17689. type: number
  17690. buyreleaseratio:
  17691. description: 买方释放比率[2:分步履约]
  17692. type: number
  17693. executemode:
  17694. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  17695. type: integer
  17696. executeside:
  17697. description: 执行方[2:分步履约] - 1:买方 2:卖方
  17698. type: integer
  17699. failedchargealgorithm:
  17700. description: 流拍手续费收取方式 1:比率 2:固定
  17701. type: integer
  17702. failedchargevalue:
  17703. description: 流拍手续费设置值
  17704. type: number
  17705. failedchargevalue2:
  17706. description: 流拍卖方手续费设置值
  17707. type: number
  17708. holddays:
  17709. description: 合同期限[2:分步履约]
  17710. type: integer
  17711. listingmode:
  17712. description: 挂牌方式 - 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  17713. type: integer
  17714. marketid:
  17715. description: 市场ID-仓单贸易、竞拍、预售
  17716. type: integer
  17717. minqty:
  17718. description: 最小执行量[2:分步履约]
  17719. type: number
  17720. modifierid:
  17721. description: 修改人
  17722. type: integer
  17723. nowrquotaflag:
  17724. description: 是否校验无仓单额度(仓单贸易) - 0:否 1:是
  17725. type: integer
  17726. performancetempid:
  17727. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  17728. 立即执行(-1)
  17729. type: integer
  17730. performancetempid2:
  17731. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  17732. 立即执行
  17733. type: integer
  17734. performancetempid2s:
  17735. description: 履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  17736. - 履约方式: 立即执行
  17737. type: string
  17738. performancetempids:
  17739. description: 履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  17740. - 履约方式: 立即执行(-1)
  17741. type: string
  17742. performanceway:
  17743. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  17744. type: integer
  17745. sellchargealgorithm:
  17746. description: 卖方手续费收取方式 1:比率 2:固定
  17747. type: integer
  17748. sellchargealgorithm2:
  17749. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  17750. type: integer
  17751. sellchargealgorithmvalue:
  17752. description: 卖方手续费设置值(交易所部分)
  17753. type: number
  17754. sellchargealgorithmvalue2:
  17755. description: 卖方手续费设置值(会员部分)
  17756. type: number
  17757. sellchargealgorithmvalue3:
  17758. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  17759. type: number
  17760. sellchargealgorithmvalue4:
  17761. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  17762. type: number
  17763. sellmarginalgorithm:
  17764. description: 卖方保证金方式 - 1:比率 2:固定
  17765. type: integer
  17766. sellmarginvalue:
  17767. description: 卖方保证金设置值
  17768. type: number
  17769. sellmarginvalue2:
  17770. description: 卖方保证金设置值(无仓单)
  17771. type: number
  17772. sellreleaseratio:
  17773. description: 卖方释放比率[2:分步履约]
  17774. type: number
  17775. updatetime:
  17776. description: 更新时间
  17777. type: string
  17778. type: object
  17779. models.WrOrderDetail:
  17780. properties:
  17781. accountid:
  17782. description: 交易账号(资金账号)
  17783. type: integer
  17784. allfriendsflag:
  17785. description: 是否全好友可见 - 0:否 1:是
  17786. type: integer
  17787. amount:
  17788. description: 挂牌金额 = 委托数量 * 固定价或升贴水
  17789. type: number
  17790. bannerpicurl:
  17791. description: Banner图
  17792. type: string
  17793. begindate:
  17794. description: 开始交易日(yyyymmdd)
  17795. type: string
  17796. buyorsell:
  17797. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  17798. type: integer
  17799. canbargain:
  17800. description: 是否可议价 - 0:不可 1:可
  17801. type: integer
  17802. cancelqty:
  17803. description: 撤销数量
  17804. type: number
  17805. canpart:
  17806. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  17807. type: integer
  17808. delistminqty:
  17809. description: 起摘数量
  17810. type: integer
  17811. deliverygoodscode:
  17812. description: 品种代码
  17813. type: string
  17814. deliverygoodsid:
  17815. description: 品种ID
  17816. type: integer
  17817. deliverygoodsname:
  17818. description: 品种名称
  17819. type: string
  17820. deliverymonth:
  17821. description: 交收月
  17822. type: string
  17823. enddate:
  17824. description: 结束交易日(yyyymmdd)
  17825. type: string
  17826. enumdicname:
  17827. description: 单位名称
  17828. type: string
  17829. fixedprice:
  17830. description: 固定价格 - [挂牌]
  17831. type: number
  17832. freezecharge:
  17833. description: 冻结手续费
  17834. type: number
  17835. freezemargin:
  17836. description: 冻结保证金(保证金)
  17837. type: number
  17838. futupricemove:
  17839. description: 期货升贴水
  17840. type: number
  17841. futushow:
  17842. description: 期货合约/升贴水
  17843. type: string
  17844. goodscode:
  17845. description: 期货合约
  17846. type: string
  17847. goodsid:
  17848. description: 期货商品id
  17849. type: integer
  17850. goodsname:
  17851. description: 商品名称
  17852. type: string
  17853. haswr:
  17854. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  17855. type: integer
  17856. isspecified:
  17857. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  17858. type: integer
  17859. ladingbillid:
  17860. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  17861. type: string
  17862. marginvalue:
  17863. description: 保证金设置值(履约保证金)
  17864. type: number
  17865. marketid:
  17866. description: 市场ID
  17867. type: integer
  17868. matchusername:
  17869. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  17870. type: string
  17871. minivalue:
  17872. description: 现货商品最小变动值
  17873. type: integer
  17874. optioncompare:
  17875. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17876. type: string
  17877. orderqty:
  17878. description: 委托数量
  17879. type: number
  17880. ordertime:
  17881. description: 委托时间(挂牌时间)
  17882. type: string
  17883. performancetemplateid:
  17884. description: 履约模板id
  17885. type: integer
  17886. pricemove:
  17887. description: 升贴水(浮动价时填写) - [挂牌]
  17888. type: number
  17889. taname:
  17890. description: 交易用户名称(资金账号名称)
  17891. type: string
  17892. thumurls:
  17893. description: 缩略图
  17894. type: string
  17895. tradedate:
  17896. description: 交易日(yyyyMMdd)
  17897. type: string
  17898. tradeprice:
  17899. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  17900. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  17901. type: number
  17902. tradeqty:
  17903. description: 成交数量
  17904. type: number
  17905. userid:
  17906. description: 用户ID
  17907. type: integer
  17908. validtime:
  17909. description: 挂牌有效期
  17910. type: string
  17911. validtype:
  17912. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  17913. type: integer
  17914. warehouseid:
  17915. description: 仓库ID
  17916. type: integer
  17917. warehousename:
  17918. description: 仓库名称
  17919. type: string
  17920. wrfactortypeid:
  17921. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17922. type: string
  17923. wrfactortypename:
  17924. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17925. type: string
  17926. wrpricetype:
  17927. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  17928. type: integer
  17929. wrstandardcode:
  17930. description: 现货商品代码
  17931. type: string
  17932. wrstandardid:
  17933. description: 现货商品ID
  17934. type: integer
  17935. wrstandardname:
  17936. description: 商品名称
  17937. type: string
  17938. wrtradeorderid:
  17939. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  17940. type: string
  17941. wrtradeorderstatus:
  17942. 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:撤单解冻贷款失败
  17943. type: integer
  17944. wrtradetype:
  17945. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  17946. type: integer
  17947. wrtypename:
  17948. description: 商品
  17949. type: string
  17950. type: object
  17951. models.WrOrderQuote:
  17952. properties:
  17953. bannerpicurl:
  17954. description: Banner图
  17955. type: string
  17956. buyprice:
  17957. description: 买价
  17958. type: number
  17959. buypricemove:
  17960. description: 买升贴水(基差)
  17961. type: number
  17962. buyqty:
  17963. description: 买量
  17964. type: number
  17965. deliverygoodscode:
  17966. description: 品种代码
  17967. type: string
  17968. deliverygoodsid:
  17969. description: 品种id
  17970. type: integer
  17971. deliverygoodsname:
  17972. description: 品种名称
  17973. type: string
  17974. deliverymonth:
  17975. description: 交收月
  17976. type: string
  17977. enumdicname:
  17978. description: 单位名称
  17979. type: string
  17980. goodscode:
  17981. description: 商品合约(浮动价列表才有)
  17982. type: string
  17983. goodsid:
  17984. description: 商品id(浮动价列表才有)
  17985. type: integer
  17986. minivalue:
  17987. description: 现货商品最小变动值
  17988. type: integer
  17989. pictureurls:
  17990. description: 详情图片(逗号分隔)
  17991. type: string
  17992. sellprice:
  17993. description: 卖价
  17994. type: number
  17995. sellpricemove:
  17996. description: 卖升贴水(基差)
  17997. type: number
  17998. sellqty:
  17999. description: 卖量
  18000. type: number
  18001. thumurls:
  18002. description: 缩略图片(1:1)(逗号分隔)
  18003. type: string
  18004. warehousecode:
  18005. description: 仓库代码
  18006. type: string
  18007. warehouseid:
  18008. description: 仓库id
  18009. type: integer
  18010. warehousename:
  18011. description: 仓库名称
  18012. type: string
  18013. wrfactortypeid:
  18014. description: 仓单要素id
  18015. type: string
  18016. wrfactortypename:
  18017. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18018. type: string
  18019. wrgoodsname:
  18020. description: 商品(商品名称+仓库要素名称 拼接)
  18021. type: string
  18022. wrstandardcode:
  18023. description: 商品代码
  18024. type: string
  18025. wrstandardid:
  18026. description: 商品id
  18027. type: integer
  18028. wrstandardname:
  18029. description: 商品名称
  18030. type: string
  18031. type: object
  18032. models.WrOrderQuoteDetail:
  18033. properties:
  18034. buyorsell:
  18035. description: 买卖 - 0:买 1:卖
  18036. type: integer
  18037. delistminqty:
  18038. description: 起摘数量
  18039. type: number
  18040. deliverymonth:
  18041. description: 交收月
  18042. type: string
  18043. enumdicname:
  18044. description: 单位名称
  18045. type: string
  18046. fixedprice:
  18047. description: 买(卖)价
  18048. type: number
  18049. marketid:
  18050. description: 市场id
  18051. type: integer
  18052. minivalue:
  18053. description: 现货商品最小变动值
  18054. type: integer
  18055. orderqty:
  18056. description: 买(卖)量(=委托量-成交量)
  18057. type: number
  18058. ordertime:
  18059. description: 委托时间
  18060. type: string
  18061. pricemove:
  18062. description: 买(卖)升贴水- 基差
  18063. type: number
  18064. userid:
  18065. description: 购买方(销售方)用户ID
  18066. type: integer
  18067. username:
  18068. description: 购买方(销售方)
  18069. type: string
  18070. wrtradeorderid:
  18071. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  18072. type: string
  18073. type: object
  18074. models.WrOutInApply:
  18075. properties:
  18076. applyid:
  18077. description: 申请单id
  18078. type: string
  18079. applystatus:
  18080. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败
  18081. 8:已撤销
  18082. type: integer
  18083. applytime:
  18084. description: 申请时间
  18085. type: string
  18086. applytype:
  18087. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  18088. type: integer
  18089. bannerpicurl:
  18090. description: Banner图
  18091. type: string
  18092. begindate:
  18093. description: 开始交易日(yyyymmdd)
  18094. type: string
  18095. deliverygoodscode:
  18096. description: 品种代码
  18097. type: string
  18098. deliverygoodsid:
  18099. description: 品种ID
  18100. type: integer
  18101. deliverygoodsname:
  18102. description: 品种名称
  18103. type: string
  18104. enddate:
  18105. description: 结束交易日(yyyymmdd)
  18106. type: string
  18107. enumdicname:
  18108. description: 单位名称
  18109. type: string
  18110. expresscompany:
  18111. description: 物流公司
  18112. type: string
  18113. expressnum:
  18114. description: 物流单号
  18115. type: string
  18116. minivalue:
  18117. description: 现货商品最小变动值
  18118. type: integer
  18119. optioncompare:
  18120. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18121. type: string
  18122. qty:
  18123. description: 数量
  18124. type: integer
  18125. userid:
  18126. description: 用户id
  18127. type: integer
  18128. warehouseid:
  18129. description: 仓库ID
  18130. type: integer
  18131. warehousename:
  18132. description: 仓库名称
  18133. type: string
  18134. wrfactortypeid:
  18135. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18136. type: string
  18137. wrfactortypename:
  18138. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18139. type: string
  18140. wrstandardcode:
  18141. description: 现货商品代码
  18142. type: string
  18143. wrstandardid:
  18144. description: 现货商品ID
  18145. type: integer
  18146. wrstandardname:
  18147. description: 商品名称
  18148. type: string
  18149. wrtypename:
  18150. description: 商品
  18151. type: string
  18152. type: object
  18153. models.WrPerformancePlan:
  18154. properties:
  18155. activatemonth:
  18156. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  18157. type: string
  18158. amount:
  18159. description: 履约金额(总金额)
  18160. type: number
  18161. begindate:
  18162. description: 开始交易日(yyyymmdd)
  18163. type: string
  18164. buyaccountid:
  18165. description: 买方账号
  18166. type: integer
  18167. buyerfreezeamount:
  18168. description: 履约冻结(买履约)
  18169. type: number
  18170. buyerfreezeamountremain:
  18171. description: 履约冻结剩余(买履约)
  18172. type: number
  18173. buyorsell:
  18174. description: 买卖方向 0-买 1-卖
  18175. type: integer
  18176. buypaidamount:
  18177. description: 买方已冻/已扣金额 (已付金额)
  18178. type: number
  18179. buyusername:
  18180. description: 买方名字
  18181. type: string
  18182. contractid:
  18183. description: 合同ID
  18184. type: integer
  18185. createtime:
  18186. description: 创建时间
  18187. type: string
  18188. creatorid:
  18189. description: 创建人
  18190. type: integer
  18191. curstepdeadline:
  18192. description: 当前步骤到期时间
  18193. type: string
  18194. curstepid:
  18195. description: 当前步骤ID
  18196. type: string
  18197. curstepname:
  18198. description: 当前步骤名称
  18199. type: string
  18200. deliverygoodscode:
  18201. description: 品种代码
  18202. type: string
  18203. deliverygoodsid:
  18204. description: 品种ID
  18205. type: integer
  18206. deliverygoodsname:
  18207. description: 品种名称
  18208. type: string
  18209. enddate:
  18210. description: 结束交易日(yyyymmdd)
  18211. type: string
  18212. enumdicname:
  18213. description: 单位名称
  18214. type: string
  18215. expressfee:
  18216. description: 运费
  18217. type: number
  18218. expressfeeconfirmed:
  18219. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  18220. type: integer
  18221. hasovershort:
  18222. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  18223. type: integer
  18224. haswr:
  18225. description: 类型 0-仓单预售 1-仓单贸易
  18226. type: integer
  18227. marketid:
  18228. description: 市场ID
  18229. type: integer
  18230. middleaccountid:
  18231. description: 中间商资金账号ID
  18232. type: integer
  18233. middleuserid:
  18234. description: 中间商用户ID
  18235. type: integer
  18236. minivalue:
  18237. description: 现货商品最小变动值
  18238. type: integer
  18239. optioncompare:
  18240. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18241. type: string
  18242. overshortamount:
  18243. description: 溢短金额
  18244. type: number
  18245. overshortqty:
  18246. description: 溢短数量
  18247. type: number
  18248. paymenttype:
  18249. description: 付款方式 - 1:冻结 2:扣款
  18250. type: integer
  18251. performanceplanid:
  18252. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  18253. type: string
  18254. performancestatus:
  18255. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  18256. 9:超时待处理 10:超时关闭
  18257. type: integer
  18258. performancetype:
  18259. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  18260. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  18261. type: integer
  18262. qty:
  18263. description: 履约数量
  18264. type: number
  18265. relatedorderid:
  18266. description: 关联单号(履约类型的关联单号)
  18267. type: string
  18268. remark:
  18269. description: 备注
  18270. type: string
  18271. sellaccountid:
  18272. description: 卖方账号
  18273. type: integer
  18274. sellerfreezeamount:
  18275. description: 履约冻结(卖履约)
  18276. type: number
  18277. sellerfreezeamountremain:
  18278. description: 履约冻结剩余(卖履约)
  18279. type: number
  18280. sellreceivedamount:
  18281. description: 卖方已收金额
  18282. type: number
  18283. sellusername:
  18284. description: 卖方名字
  18285. type: string
  18286. shipremark:
  18287. description: 发货备注[物流单号]
  18288. type: string
  18289. starttime:
  18290. description: 开始时间
  18291. type: string
  18292. steptypeid:
  18293. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  18294. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  18295. type: integer
  18296. typename:
  18297. description: 履约类型 名称
  18298. type: string
  18299. unpaidamount:
  18300. description: 剩余款(待支付金额)
  18301. type: number
  18302. userid:
  18303. description: 用户id
  18304. type: integer
  18305. warehouseid:
  18306. description: 仓库ID
  18307. type: integer
  18308. warehousename:
  18309. description: 仓库名称
  18310. type: string
  18311. wrfactortypeid:
  18312. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18313. type: string
  18314. wrfactortypename:
  18315. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18316. type: string
  18317. wrstandardcode:
  18318. description: 现货商品代码
  18319. type: string
  18320. wrstandardid:
  18321. description: 现货商品ID
  18322. type: integer
  18323. wrstandardname:
  18324. description: 商品名称
  18325. type: string
  18326. wrtransferuserid:
  18327. description: 仓单受让用户
  18328. type: integer
  18329. wrtypename:
  18330. description: 商品
  18331. type: string
  18332. required:
  18333. - userid
  18334. type: object
  18335. models.WrPerformancePlanStep:
  18336. properties:
  18337. delaydays:
  18338. description: 延期申请天数
  18339. type: integer
  18340. deliverygoodscode:
  18341. description: 品种代码
  18342. type: string
  18343. deliverygoodsid:
  18344. description: 品种ID
  18345. type: integer
  18346. deliverygoodsname:
  18347. description: 品种名称
  18348. type: string
  18349. endtime:
  18350. description: 结束日期
  18351. type: string
  18352. enumdicname:
  18353. description: 单位名称
  18354. type: string
  18355. executeside:
  18356. description: 步骤执行方 - 1:买方 2:卖方
  18357. type: integer
  18358. handlestatus:
  18359. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败
  18360. 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求
  18361. 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  18362. type: integer
  18363. isauto:
  18364. description: 是否自动 - 0:不自动 1:自动
  18365. type: integer
  18366. islastreceivestep:
  18367. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  18368. type: integer
  18369. minivalue:
  18370. description: 现货商品最小变动值
  18371. type: integer
  18372. optioncompare:
  18373. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18374. type: string
  18375. overdays:
  18376. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  18377. type: integer
  18378. performancestepid:
  18379. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  18380. type: string
  18381. planid:
  18382. description: 所属履约计划ID
  18383. type: string
  18384. realamount:
  18385. description: 实际完成金额
  18386. type: number
  18387. relatedorderid:
  18388. description: 关联单号
  18389. type: string
  18390. remaindays:
  18391. description: 剩余天数
  18392. type: integer
  18393. remark:
  18394. description: 错误备注
  18395. type: string
  18396. starttime:
  18397. description: 开始日期
  18398. type: string
  18399. stepamount:
  18400. description: 步骤金额
  18401. type: number
  18402. stepdays:
  18403. description: 距离上一步天数(分钟)
  18404. type: integer
  18405. stepindex:
  18406. description: 步骤序号
  18407. type: integer
  18408. steplanchtype:
  18409. description: 步骤启动类型 - 1:系统自动 2:手动
  18410. type: integer
  18411. stepremark:
  18412. description: 步骤备注
  18413. type: string
  18414. stepstatus:
  18415. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  18416. type: integer
  18417. steptypeid:
  18418. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  18419. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  18420. type: integer
  18421. steptypename:
  18422. description: 步骤名称
  18423. type: string
  18424. stepvalue:
  18425. description: 步骤值
  18426. type: number
  18427. warehouseid:
  18428. description: 仓库ID
  18429. type: integer
  18430. warehousename:
  18431. description: 仓库名称
  18432. type: string
  18433. wrfactortypeid:
  18434. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18435. type: string
  18436. wrfactortypename:
  18437. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18438. type: string
  18439. wrstandardcode:
  18440. description: 现货商品代码
  18441. type: string
  18442. wrstandardid:
  18443. description: 现货商品ID
  18444. type: integer
  18445. wrstandardname:
  18446. description: 商品名称
  18447. type: string
  18448. wrtypename:
  18449. description: 商品
  18450. type: string
  18451. type: object
  18452. models.WrPerformanceStepType:
  18453. properties:
  18454. canauto:
  18455. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  18456. type: integer
  18457. steptypeid:
  18458. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  18459. type: integer
  18460. steptypename:
  18461. description: 步骤类型名称
  18462. type: string
  18463. type: object
  18464. models.WrPerformanceTemplateEx:
  18465. properties:
  18466. autoid:
  18467. description: AutoID 模板id
  18468. type: integer
  18469. createtime:
  18470. description: 创建时间
  18471. type: string
  18472. creatorid:
  18473. description: 创建人
  18474. type: integer
  18475. lstStep:
  18476. description: 步骤信息列表
  18477. items:
  18478. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  18479. type: array
  18480. paymenttype:
  18481. description: 支付方式 - 1:冻结 2:扣款
  18482. type: integer
  18483. takemode:
  18484. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  18485. type: integer
  18486. templatename:
  18487. description: 模板名称
  18488. type: string
  18489. templatetype:
  18490. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  18491. (无仓单) 5:挂牌期权 6:竞拍-降价式
  18492. type: integer
  18493. userid:
  18494. description: 所属用户
  18495. type: integer
  18496. type: object
  18497. models.WrPosition:
  18498. properties:
  18499. accountid:
  18500. description: 帐户ID
  18501. type: integer
  18502. buyexcuteqty:
  18503. description: 采购履约中数量
  18504. type: number
  18505. creditcurqty:
  18506. description: 授信当前数量(预售仓单:预售当前量)
  18507. type: number
  18508. creditenableqty:
  18509. description: '授信可用数量(预售仓单: 可用数量)'
  18510. type: number
  18511. creditfreezeqty:
  18512. description: '授信冻结数量(预售仓单: 当前数量)'
  18513. type: number
  18514. credittotalqty:
  18515. description: 授信总数量(预售仓单:预售总量)
  18516. type: number
  18517. credittradeqty:
  18518. description: 授信成交数量(预售仓单:成交总量)
  18519. type: number
  18520. deliverygoodscode:
  18521. description: 品种代码
  18522. type: string
  18523. deliverygoodsid:
  18524. description: 品种ID
  18525. type: integer
  18526. deliverygoodsname:
  18527. description: 品种名称
  18528. type: string
  18529. enalbeqty:
  18530. description: 可用数量
  18531. type: number
  18532. enumdicname:
  18533. description: 单位名称
  18534. type: string
  18535. freezeqty:
  18536. description: 总冻结数量
  18537. type: number
  18538. haswr:
  18539. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  18540. type: integer
  18541. minivalue:
  18542. description: 现货商品最小变动值
  18543. type: integer
  18544. modifytime:
  18545. description: 修改时间(过户时间)
  18546. type: string
  18547. optioncompare:
  18548. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18549. type: string
  18550. pledgeqty:
  18551. description: 质押数量
  18552. type: number
  18553. querytype:
  18554. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  18555. type: integer
  18556. sellexcuteqty:
  18557. description: 销售履约中数量
  18558. type: number
  18559. totalqty:
  18560. description: 总数量(库存数量)
  18561. type: number
  18562. warehouseid:
  18563. description: 仓库ID
  18564. type: integer
  18565. warehousename:
  18566. description: 仓库名称
  18567. type: string
  18568. wrfactortypeid:
  18569. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18570. type: string
  18571. wrfactortypename:
  18572. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18573. type: string
  18574. wrpositionid:
  18575. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  18576. type: string
  18577. wrpositionno:
  18578. description: 仓单编号
  18579. type: string
  18580. wrstandardcode:
  18581. description: 现货商品代码
  18582. type: string
  18583. wrstandardid:
  18584. description: 现货商品ID
  18585. type: integer
  18586. wrstandardname:
  18587. description: 商品名称
  18588. type: string
  18589. wrtypename:
  18590. description: 商品
  18591. type: string
  18592. wruserid:
  18593. description: 持有人ID
  18594. type: integer
  18595. type: object
  18596. models.WrPreSaleInfo:
  18597. properties:
  18598. bannerpicurl:
  18599. description: Banner图
  18600. type: string
  18601. baseqty:
  18602. description: 中签基数
  18603. type: number
  18604. createtime:
  18605. description: 创建时间
  18606. type: string
  18607. deliverygoodsid:
  18608. description: 现货品种ID
  18609. type: integer
  18610. enddate:
  18611. description: 预售结束日期
  18612. type: string
  18613. enumdicname:
  18614. description: 单位名称
  18615. type: string
  18616. lotteryflag:
  18617. description: 摇号标识 - 0:未摇号 1:已摇号
  18618. type: integer
  18619. lotteryqty:
  18620. description: 摇号总量
  18621. type: number
  18622. luckyqty:
  18623. description: 已中签量
  18624. type: number
  18625. marketid:
  18626. description: 市场ID
  18627. type: integer
  18628. maxbuyqty:
  18629. description: 单人最大申购量
  18630. type: number
  18631. maxluckyqty:
  18632. description: 单人最大中签量
  18633. type: number
  18634. pictureurls:
  18635. description: 详情图片(逗号分隔)
  18636. type: string
  18637. placeqty:
  18638. description: 已配售量
  18639. type: number
  18640. presaleapplyid:
  18641. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  18642. example: "0"
  18643. type: string
  18644. presaleqty:
  18645. description: 预售总量
  18646. type: number
  18647. presalestatus:
  18648. description: 预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭
  18649. type: integer
  18650. sellaccountid:
  18651. description: 发行方资金账户ID
  18652. type: integer
  18653. selluserid:
  18654. description: 发行方用户ID
  18655. type: integer
  18656. sellwrtradeorderid:
  18657. description: 发行方卖委托单ID
  18658. type: string
  18659. startdate:
  18660. description: 预售开始日期
  18661. type: string
  18662. takestartdate:
  18663. description: 提货开始日期
  18664. type: string
  18665. thumurls:
  18666. description: 缩略图片(1:1)(逗号分隔)
  18667. type: string
  18668. tradedate:
  18669. description: 交易日
  18670. type: string
  18671. unitid:
  18672. description: 单位ID
  18673. type: integer
  18674. unitprice:
  18675. description: 商品单价
  18676. type: number
  18677. username:
  18678. description: 发行方用户名称
  18679. type: string
  18680. warehousecode:
  18681. description: 仓库代码(仓库简称)
  18682. type: string
  18683. warehouseid:
  18684. description: 仓库ID
  18685. type: integer
  18686. warehousename:
  18687. description: 仓库名称
  18688. type: string
  18689. wrfactortypeid:
  18690. description: 仓单要素类型ID - 根据现货商品\仓库生成
  18691. example: "0"
  18692. type: string
  18693. wrstandardid:
  18694. description: 现货商品ID
  18695. type: integer
  18696. wrstandardname:
  18697. description: 现货商品名称
  18698. type: string
  18699. type: object
  18700. models.WrQuoteOrderMyq:
  18701. properties:
  18702. buyorsell:
  18703. description: 买卖 - 0:买 1:卖
  18704. type: integer
  18705. canbargain:
  18706. description: 是否可议价 - 0:不可 1:可
  18707. type: integer
  18708. canpart:
  18709. description: 是否允许部份摘牌 - 0:不允许 1:允许
  18710. type: integer
  18711. delistminqty:
  18712. description: 起摘数量
  18713. type: number
  18714. deliverygoodscode:
  18715. description: 品种代码
  18716. type: string
  18717. deliverygoodsid:
  18718. description: 品种ID
  18719. type: integer
  18720. deliverygoodsname:
  18721. description: 品种名称
  18722. type: string
  18723. deliverymonth:
  18724. description: 交收月
  18725. type: string
  18726. enumdicname:
  18727. description: 单位名称
  18728. type: string
  18729. fixedprice:
  18730. description: 买(卖)价
  18731. type: number
  18732. goodscode:
  18733. description: 商品合约代码
  18734. type: string
  18735. marginflag:
  18736. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  18737. type: integer
  18738. marginvalue:
  18739. description: 保证金设置值
  18740. type: number
  18741. minivalue:
  18742. description: 现货商品最小变动值
  18743. type: integer
  18744. orderqty:
  18745. description: 买(卖)量(=委托量-成交量)
  18746. type: number
  18747. ordertime:
  18748. description: 委托时间
  18749. type: string
  18750. performancetemplateid:
  18751. description: 履约模板id
  18752. type: integer
  18753. pricemove:
  18754. description: 买(卖)升贴水- 基差
  18755. type: number
  18756. templatename:
  18757. description: 履约模板名称
  18758. type: string
  18759. userid:
  18760. description: 购买方(销售方)用户ID
  18761. type: integer
  18762. username:
  18763. description: 购买方(销售方)
  18764. type: string
  18765. validtime:
  18766. description: 有效期限
  18767. type: string
  18768. validtype:
  18769. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  18770. type: integer
  18771. warehousename:
  18772. description: 仓库名称
  18773. type: string
  18774. wrfactortypeid:
  18775. description: 仓单要素id
  18776. type: string
  18777. wrstandardcode:
  18778. description: 现货商品代码
  18779. type: string
  18780. wrstandardid:
  18781. description: 现货商品ID
  18782. type: integer
  18783. wrstandardname:
  18784. description: 商品名称
  18785. type: string
  18786. wrtradeorderid:
  18787. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  18788. type: string
  18789. wrtypename:
  18790. description: 商品
  18791. type: string
  18792. type: object
  18793. models.WrReckonSpotGoodsTradeSum:
  18794. properties:
  18795. begindate:
  18796. description: 开始日期(结果含开始日期) yyyymmdd
  18797. type: string
  18798. enddate:
  18799. description: 结束日期(结果含结束日期) yyyymmdd
  18800. type: string
  18801. istoday:
  18802. description: 是否当日
  18803. type: boolean
  18804. marketid:
  18805. description: 市场ID
  18806. type: integer
  18807. price:
  18808. description: 价格 = 日成交金额 / 日成交数量
  18809. type: string
  18810. reckondate:
  18811. description: 日期 格式 yyyymmdd
  18812. type: string
  18813. tradeamount:
  18814. description: 日成交金额(当日单方向成交金额)
  18815. type: number
  18816. tradeqty:
  18817. description: 日成交数量(当日单方向成交数量)
  18818. type: number
  18819. wrstandardid:
  18820. description: 现货商品ID
  18821. type: integer
  18822. type: object
  18823. models.WrScfContract:
  18824. properties:
  18825. borroweruserid:
  18826. description: 借款用户ID
  18827. type: integer
  18828. buybackwrpositionqty:
  18829. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  18830. type: number
  18831. closeinterest:
  18832. description: 已结利息 -> 已结费用
  18833. type: number
  18834. currisklevel:
  18835. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  18836. type: integer
  18837. deadline:
  18838. description: 截止日期(yyyyMMdd) -> 借款到期时间
  18839. type: string
  18840. deliverygoodscode:
  18841. description: 品种代码
  18842. type: string
  18843. deliverygoodsid:
  18844. description: 品种ID
  18845. type: integer
  18846. deliverygoodsname:
  18847. description: 品种名称
  18848. type: string
  18849. enumdicname:
  18850. description: 单位名称
  18851. type: string
  18852. financingdays:
  18853. description: 天数(天)
  18854. type: integer
  18855. initmargin:
  18856. description: 保证金 - [仓单回购]
  18857. type: number
  18858. interestamount:
  18859. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  18860. type: number
  18861. interestdebt:
  18862. description: 利息欠款(记录负数) -> 费用欠款
  18863. type: number
  18864. interestminlen:
  18865. description: 最小起息天数
  18866. type: integer
  18867. interestrate:
  18868. description: 利率
  18869. type: number
  18870. interestratemode:
  18871. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  18872. type: integer
  18873. interestsettlemode:
  18874. description: 结息方式 - 1:按日结息 3:按月结息
  18875. type: integer
  18876. interestsettlevalue:
  18877. description: 结息方式值
  18878. type: integer
  18879. isautoloan:
  18880. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  18881. type: integer
  18882. lastcloseinterestday:
  18883. description: 最近结息日(yyyyMMdd)
  18884. type: string
  18885. lenderamount:
  18886. description: 贷款金额 -> 借款金额
  18887. type: number
  18888. lenderuserid:
  18889. description: 贷款方用户ID -> 融出方用户ID
  18890. type: integer
  18891. lenderusername:
  18892. description: 融出方
  18893. type: string
  18894. marginratio:
  18895. description: 保证金比率质押率 - [仓单质押]
  18896. type: number
  18897. marketid:
  18898. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  18899. type: integer
  18900. minivalue:
  18901. description: 现货商品最小变动值
  18902. type: integer
  18903. optioncompare:
  18904. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18905. type: string
  18906. pricemove:
  18907. description: 估值升贴水值
  18908. type: number
  18909. productdetailid:
  18910. description: 产品组合ID
  18911. type: integer
  18912. productid:
  18913. description: 金融产品ID
  18914. type: integer
  18915. productname:
  18916. description: 产品名称
  18917. type: string
  18918. remainamount:
  18919. description: 合同剩余金额 -> 剩余金额
  18920. type: number
  18921. remainwrpositionqty:
  18922. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  18923. type: number
  18924. remark:
  18925. description: 备注
  18926. type: string
  18927. scfcontractid:
  18928. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  18929. type: string
  18930. scfcontractstatus:
  18931. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  18932. 9:违约结束 10:已注销 11:已关闭 99:未提交
  18933. type: integer
  18934. scfcontracttype:
  18935. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  18936. type: integer
  18937. startinterestday:
  18938. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  18939. type: string
  18940. totalinterest:
  18941. description: 已计利息 -> 已计费用
  18942. type: number
  18943. unpaidinterest:
  18944. description: 未结费用
  18945. type: number
  18946. updatetime:
  18947. description: 更新时间
  18948. type: string
  18949. warehouseid:
  18950. description: 仓库ID
  18951. type: integer
  18952. warehousename:
  18953. description: 仓库名称
  18954. type: string
  18955. wrfactortypeid:
  18956. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18957. type: string
  18958. wrfactortypename:
  18959. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18960. type: string
  18961. wrqty:
  18962. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  18963. type: number
  18964. wrstandardcode:
  18965. description: 现货商品代码
  18966. type: string
  18967. wrstandardid:
  18968. description: 现货商品ID
  18969. type: integer
  18970. wrstandardname:
  18971. description: 商品名称
  18972. type: string
  18973. wrtypename:
  18974. description: 商品
  18975. type: string
  18976. type: object
  18977. models.WrScfContractInterest:
  18978. properties:
  18979. closeinterest:
  18980. description: 已结利息
  18981. type: number
  18982. closeintereststatus:
  18983. description: 结息状态 - 1:未结 2:已结
  18984. type: integer
  18985. closetime:
  18986. description: 结息时间
  18987. type: string
  18988. closetradedate:
  18989. description: 结息交易日
  18990. type: string
  18991. creatorid:
  18992. description: 操作人ID
  18993. type: integer
  18994. dayrate:
  18995. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  18996. type: number
  18997. interest:
  18998. description: 利息
  18999. type: number
  19000. interestamount:
  19001. description: 计息金额
  19002. type: number
  19003. interestday:
  19004. description: 计息日(yyyyMMdd)
  19005. type: string
  19006. scfcontractid:
  19007. description: SCF合同ID
  19008. type: string
  19009. scfcontractinterestid:
  19010. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  19011. type: integer
  19012. updatetime:
  19013. description: 更新时间
  19014. type: string
  19015. type: object
  19016. models.WrSearchUser:
  19017. properties:
  19018. userid:
  19019. description: 用户ID
  19020. type: integer
  19021. username:
  19022. description: 用户名称(已脱敏)
  19023. type: string
  19024. username2:
  19025. description: 用户名称(未脱敏)
  19026. type: string
  19027. usertype:
  19028. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  19029. type: integer
  19030. required:
  19031. - username
  19032. type: object
  19033. models.WrSiteColumnDetail:
  19034. properties:
  19035. brief:
  19036. description: 简介
  19037. type: string
  19038. context:
  19039. description: 内容
  19040. type: string
  19041. coverimage:
  19042. description: 封面图片
  19043. type: string
  19044. creaedate:
  19045. description: 创建时间
  19046. type: string
  19047. id:
  19048. description: ID(SEQ_SITE_COLUMNDETAIL)
  19049. type: integer
  19050. istop:
  19051. description: 是否置顶 - 0:不置 1:置顶
  19052. type: integer
  19053. publishdate:
  19054. description: 发布日期
  19055. type: string
  19056. title:
  19057. description: 标题
  19058. type: string
  19059. updatedate:
  19060. description: 修改时间
  19061. type: string
  19062. type: object
  19063. models.WrSpecialMatchOrder:
  19064. properties:
  19065. amount:
  19066. description: 金额 = 数量 * 价格
  19067. type: number
  19068. buyorsell:
  19069. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  19070. type: integer
  19071. cancelqty:
  19072. description: 撤销数量
  19073. type: number
  19074. deliverygoodscode:
  19075. description: 品种代码
  19076. type: string
  19077. deliverygoodsid:
  19078. description: 品种ID
  19079. type: integer
  19080. deliverygoodsname:
  19081. description: 品种名称
  19082. type: string
  19083. enumdicname:
  19084. description: 单位名称
  19085. type: string
  19086. fixedprice:
  19087. description: 固定价格(价格)
  19088. type: number
  19089. haswr:
  19090. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  19091. type: integer
  19092. isspecified:
  19093. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  19094. type: integer
  19095. marketid:
  19096. description: 市场ID
  19097. type: integer
  19098. matchuserid:
  19099. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  19100. type: integer
  19101. matchusername:
  19102. description: 指定方
  19103. type: string
  19104. minivalue:
  19105. description: 现货商品最小变动值
  19106. type: integer
  19107. optioncompare:
  19108. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19109. type: string
  19110. orderqty:
  19111. description: 委托数量
  19112. type: number
  19113. ordertime:
  19114. description: 委托时间
  19115. type: string
  19116. pricemove:
  19117. description: 升贴水(浮动价时填写) - [挂牌]
  19118. type: number
  19119. tradedate:
  19120. description: 交易日(yyyyMMdd)
  19121. type: string
  19122. tradeprice:
  19123. description: 成交价格
  19124. type: number
  19125. tradeqty:
  19126. description: 成交数量
  19127. type: number
  19128. userid:
  19129. description: 用户ID
  19130. type: integer
  19131. username:
  19132. description: 发起方
  19133. type: string
  19134. warehouseid:
  19135. description: 仓库ID
  19136. type: integer
  19137. warehousename:
  19138. description: 仓库名称
  19139. type: string
  19140. wrfactortypeid:
  19141. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19142. type: string
  19143. wrfactortypename:
  19144. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19145. type: string
  19146. wrpricetype:
  19147. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  19148. type: integer
  19149. wrstandardcode:
  19150. description: 现货商品代码
  19151. type: string
  19152. wrstandardid:
  19153. description: 现货商品ID
  19154. type: integer
  19155. wrstandardname:
  19156. description: 商品名称
  19157. type: string
  19158. wrtradeorderid:
  19159. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  19160. type: string
  19161. wrtradeorderstatus:
  19162. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  19163. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  19164. type: integer
  19165. wrtradetype:
  19166. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  19167. type: integer
  19168. wrtypename:
  19169. description: 商品
  19170. type: string
  19171. type: object
  19172. models.WrSpotGroupTradeSum:
  19173. properties:
  19174. deliverygoodscode:
  19175. description: 现货品种代码
  19176. type: string
  19177. deliverygoodsid:
  19178. description: 现货品种ID(SEQ_DELIVERYGOODS)
  19179. type: integer
  19180. deliverygoodsname:
  19181. description: 现货品种名称
  19182. type: string
  19183. lastavgprice:
  19184. description: 上上个交易日价格(前2天价格)
  19185. type: string
  19186. lastreckondate:
  19187. description: 上上个交易日(前2天交易日)
  19188. type: string
  19189. reckondate:
  19190. description: 上个交易日(前1天交易日)
  19191. type: string
  19192. todayavgprice:
  19193. description: 上个交易日价格(前1天价格)
  19194. type: string
  19195. updown:
  19196. description: 涨跌
  19197. type: string
  19198. updownratio:
  19199. description: 涨幅(已格式化, 直接显示即可)
  19200. type: string
  19201. type: object
  19202. models.WrSpotGroupTradeSumDetail:
  19203. properties:
  19204. deliverygoodsid:
  19205. description: 现货商品id
  19206. type: integer
  19207. price:
  19208. description: 价格
  19209. type: number
  19210. reckondate:
  19211. description: 日期(yyymmdd, 如:20211031)
  19212. type: string
  19213. type: object
  19214. models.WrSpotGroupTradeSumEx:
  19215. properties:
  19216. lst:
  19217. description: 指数列表
  19218. items:
  19219. $ref: '#/definitions/models.WrSpotGroupTradeSum'
  19220. type: array
  19221. prereckondate:
  19222. description: 上上个交易日(yyymmdd)
  19223. type: string
  19224. reckondate:
  19225. description: 上个交易日(yyyymmdd)
  19226. type: string
  19227. type: object
  19228. models.WrStandardFactoryItem:
  19229. properties:
  19230. dgfactoryitemid:
  19231. description: 选择项id
  19232. type: integer
  19233. dgfactoryitemvalue:
  19234. description: 要素项值
  19235. type: string
  19236. warehouseid:
  19237. description: 仓库id
  19238. type: integer
  19239. type: object
  19240. models.WrStandardFactoryItemEx:
  19241. properties:
  19242. dgfactoryitemtypeid:
  19243. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  19244. type: integer
  19245. itemlst:
  19246. description: 要素项列表
  19247. items:
  19248. $ref: '#/definitions/models.WrStandardFactoryItem'
  19249. type: array
  19250. itemtypename:
  19251. description: 要素项类型名称
  19252. type: string
  19253. wrstandardid:
  19254. description: 品类
  19255. type: integer
  19256. type: object
  19257. models.WrTradeDetail:
  19258. properties:
  19259. accountid:
  19260. description: 资金账号
  19261. type: integer
  19262. bannerpicurl:
  19263. description: Banner图
  19264. type: string
  19265. begindate:
  19266. description: 开始交易日(yyyymmdd)
  19267. type: string
  19268. buyorsell:
  19269. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  19270. type: integer
  19271. chargevalue:
  19272. description: 手续费
  19273. type: number
  19274. deliverygoodscode:
  19275. description: 品种代码
  19276. type: string
  19277. deliverygoodsid:
  19278. description: 品种ID
  19279. type: integer
  19280. deliverygoodsname:
  19281. description: 品种名称
  19282. type: string
  19283. deliverymonth:
  19284. description: 交收月
  19285. type: string
  19286. enddate:
  19287. description: 结束交易日(yyyymmdd)
  19288. type: string
  19289. enumdicname:
  19290. description: 单位名称
  19291. type: string
  19292. haswr:
  19293. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  19294. type: integer
  19295. marketid:
  19296. description: 市场ID
  19297. type: integer
  19298. matchaccountid:
  19299. description: 对手账号
  19300. type: integer
  19301. matchusername:
  19302. description: 对手方
  19303. type: string
  19304. minivalue:
  19305. description: 现货商品最小变动值
  19306. type: integer
  19307. optioncompare:
  19308. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19309. type: string
  19310. thumurls:
  19311. description: 缩略图
  19312. type: string
  19313. tradedate:
  19314. description: 交易日(yyyyMMdd)
  19315. type: string
  19316. tradeprice:
  19317. description: 成交价格
  19318. type: number
  19319. tradeqty:
  19320. description: 成交数量
  19321. type: number
  19322. tradetime:
  19323. description: 成交时间
  19324. type: string
  19325. userid:
  19326. description: 用户ID
  19327. type: integer
  19328. warehouseid:
  19329. description: 仓库ID
  19330. type: integer
  19331. warehousename:
  19332. description: 仓库名称
  19333. type: string
  19334. wrfactortypeid:
  19335. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19336. type: string
  19337. wrfactortypename:
  19338. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19339. type: string
  19340. wrstandardcode:
  19341. description: 现货商品代码
  19342. type: string
  19343. wrstandardid:
  19344. description: 现货商品ID
  19345. type: integer
  19346. wrstandardname:
  19347. description: 商品名称
  19348. type: string
  19349. wrtradedetailid:
  19350. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  19351. type: string
  19352. wrtradetype:
  19353. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  19354. type: integer
  19355. wrtypename:
  19356. description: 商品
  19357. type: string
  19358. type: object
  19359. models.WrTradeOrderDetail:
  19360. properties:
  19361. buyorsell:
  19362. description: 买卖方向 0-买 1-卖
  19363. type: integer
  19364. goodsid:
  19365. description: 商品id
  19366. type: integer
  19367. orderid:
  19368. description: 委托单号
  19369. type: string
  19370. orderprice:
  19371. description: 委托价格
  19372. type: number
  19373. orderqty:
  19374. description: 委托数量
  19375. type: integer
  19376. userid:
  19377. description: 用户id
  19378. type: integer
  19379. username:
  19380. description: 用户名称(已脱敏)
  19381. type: string
  19382. type: object
  19383. models.WrTypeItem:
  19384. properties:
  19385. name:
  19386. description: 名称
  19387. type: string
  19388. value:
  19389. description: 值
  19390. type: string
  19391. type: object
  19392. models.WrUserFriend:
  19393. properties:
  19394. friendname:
  19395. description: 朋友名称(已脱敏)
  19396. type: string
  19397. frienduserid:
  19398. description: 朋友id
  19399. type: integer
  19400. isfriend:
  19401. description: 是否好友 0-不是 1-是
  19402. type: integer
  19403. userid:
  19404. description: 用户id
  19405. type: integer
  19406. type: object
  19407. models.WrUserReceiptInfo:
  19408. properties:
  19409. address:
  19410. description: 地址[发票类型:企业]
  19411. type: string
  19412. autoid:
  19413. description: AutoID
  19414. type: integer
  19415. contactinfo:
  19416. description: 联系方式
  19417. type: string
  19418. idnum:
  19419. description: 身份证号码[发票类型:个人]
  19420. type: string
  19421. isdefault:
  19422. description: 是否默认地址 - 0:否 1:是
  19423. type: integer
  19424. receiptaccount:
  19425. description: 发票帐号[发票类型:企业]
  19426. type: string
  19427. receiptbank:
  19428. description: 发票开户行[发票类型:企业]
  19429. type: string
  19430. receipttype:
  19431. description: 发票类型 - 1:个人 2:企业
  19432. type: integer
  19433. taxpayerid:
  19434. description: 纳税人识别号
  19435. type: string
  19436. userid:
  19437. description: 用户ID
  19438. type: integer
  19439. username:
  19440. description: 户名(个人姓名或企业名称)
  19441. type: string
  19442. type: object
  19443. models.XHBRAND:
  19444. properties:
  19445. brandid:
  19446. description: 品牌id
  19447. type: integer
  19448. brandname:
  19449. description: 品牌名称
  19450. type: string
  19451. isvalid:
  19452. description: 是否有效 0-无效 1-有效
  19453. type: integer
  19454. type: object
  19455. models.XHDeliveryGoods:
  19456. properties:
  19457. areauserid:
  19458. description: 所属机构
  19459. type: integer
  19460. bdlst:
  19461. description: 品牌列表
  19462. items:
  19463. $ref: '#/definitions/models.XHBRAND'
  19464. type: array
  19465. deliverygoodscode:
  19466. description: 现货品种代码
  19467. type: string
  19468. deliverygoodsid:
  19469. description: 现货品种ID(SEQ_DELIVERYGOODS)
  19470. type: integer
  19471. deliverygoodsname:
  19472. description: 现货品种名称
  19473. type: string
  19474. dgstatus:
  19475. description: 品种状态 - 作废 - 0:未激活 1:正常
  19476. type: integer
  19477. filterSubEmpty:
  19478. description: 过滤下级为空的
  19479. type: integer
  19480. isvalid:
  19481. description: 是否有效 - 0:无效 1:有效
  19482. type: integer
  19483. remark:
  19484. description: 备注
  19485. type: string
  19486. unitid:
  19487. description: 单位id(目前看,数据库中是空值)
  19488. type: integer
  19489. wdlst:
  19490. description: 品类(现货商品)列表
  19491. items:
  19492. $ref: '#/definitions/models.XHWrstandard'
  19493. type: array
  19494. type: object
  19495. models.XHMiddleGoods:
  19496. properties:
  19497. GPLST:
  19498. description: 期货品种列表
  19499. items:
  19500. $ref: '#/definitions/models.TBGoodsGroup'
  19501. type: array
  19502. convertratio:
  19503. description: 拆算系数
  19504. type: number
  19505. costratio:
  19506. description: 成本权重
  19507. type: number
  19508. deliverygoodsid:
  19509. description: 现货商品id
  19510. type: integer
  19511. enumdicname:
  19512. description: 单位名称
  19513. type: string
  19514. middlegoodscode:
  19515. description: 套保品种代码
  19516. type: string
  19517. middlegoodsid:
  19518. description: 套保品种id
  19519. type: integer
  19520. middlegoodsname:
  19521. description: 套保品种名称
  19522. type: string
  19523. unitid:
  19524. description: 单位id
  19525. type: integer
  19526. type: object
  19527. models.XHWrstandard:
  19528. properties:
  19529. bannerpicurl:
  19530. description: banner图
  19531. type: string
  19532. deliverygoodsid:
  19533. description: 品种ID
  19534. type: integer
  19535. enumdicname:
  19536. description: 单位名称
  19537. type: string
  19538. mglst:
  19539. description: 套保品列表
  19540. items:
  19541. $ref: '#/definitions/models.XHMiddleGoods'
  19542. type: array
  19543. pictureurls:
  19544. description: 详情图片(逗号分隔)
  19545. type: string
  19546. thumurls:
  19547. description: 缩略图片(1:1)(逗号分隔)
  19548. type: string
  19549. unitid:
  19550. description: 单位id
  19551. type: integer
  19552. vatrate:
  19553. description: 增值税率
  19554. type: number
  19555. wrstandardcode:
  19556. description: 现货商品代码
  19557. type: string
  19558. wrstandardid:
  19559. description: 现货商品ID(SEQ_WRSTANDARD)
  19560. type: integer
  19561. wrstandardname:
  19562. description: 现货商品名称
  19563. type: string
  19564. type: object
  19565. models.XhcpSellBackApplyEx:
  19566. properties:
  19567. applyremark:
  19568. description: 申请备注
  19569. type: string
  19570. expirytype:
  19571. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  19572. type: integer
  19573. goodsspec:
  19574. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  19575. type: integer
  19576. holeflag:
  19577. description: 是否破洞[原封] - 1:无破洞 2:破洞
  19578. type: integer
  19579. isunopened:
  19580. description: 是否原封 - 1:否 2:是
  19581. type: integer
  19582. mpflag:
  19583. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  19584. type: integer
  19585. openflag:
  19586. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  19587. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  19588. type: integer
  19589. phonenum:
  19590. description: 联系电话
  19591. type: string
  19592. userid:
  19593. description: 所属用户ID
  19594. type: integer
  19595. zpflag:
  19596. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  19597. type: integer
  19598. required:
  19599. - userid
  19600. type: object
  19601. models.Xhcpsellbackapply:
  19602. properties:
  19603. applyid:
  19604. description: 申请人
  19605. type: integer
  19606. applyremark:
  19607. description: 申请备注
  19608. type: string
  19609. applysrc:
  19610. description: 申请来源 - 1:管理端 2:终端
  19611. type: integer
  19612. applystatus:
  19613. description: 申请状态 - 1:待确认 2:已处理
  19614. type: integer
  19615. applytime:
  19616. description: 申请时间
  19617. type: string
  19618. auditremark:
  19619. description: 审核备注
  19620. type: string
  19621. auditsrc:
  19622. description: 审核来源 - 1:管理端 2:终端
  19623. type: integer
  19624. expirytype:
  19625. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  19626. type: integer
  19627. goodsspec:
  19628. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  19629. type: integer
  19630. holeflag:
  19631. description: 是否破洞[原封] - 1:无破洞 2:破洞
  19632. type: integer
  19633. isunopened:
  19634. description: 是否原封 - 1:否 2:是
  19635. type: integer
  19636. mpflag:
  19637. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  19638. type: integer
  19639. openflag:
  19640. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  19641. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  19642. type: integer
  19643. phonenum:
  19644. description: 联系电话
  19645. type: string
  19646. sellbackapplyid:
  19647. description: 回收申请ID - SEQ_XHCP_SELLBACKAPPLY
  19648. type: string
  19649. userid:
  19650. description: 所属用户ID
  19651. type: integer
  19652. zpflag:
  19653. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  19654. type: integer
  19655. required:
  19656. - userid
  19657. type: object
  19658. order.QueryHisTradeDetailRsp:
  19659. properties:
  19660. accountid:
  19661. description: 账户ID[报价币种]
  19662. type: integer
  19663. advanceratio:
  19664. description: 首付比率
  19665. type: number
  19666. buildtype:
  19667. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  19668. type: integer
  19669. buyorsell:
  19670. description: 方向 - 0:买 1:卖
  19671. type: integer
  19672. charge:
  19673. description: 手续费
  19674. type: number
  19675. closecharge:
  19676. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  19677. type: number
  19678. closeexchagechargevalue:
  19679. description: 平仓交易所手续费设置值
  19680. type: number
  19681. closefeealgorithm:
  19682. description: 平仓手续费收取方式 1:比率 2:固定
  19683. type: integer
  19684. closememberchargevalue:
  19685. description: 平仓会员手续费设置值
  19686. type: number
  19687. closepl:
  19688. description: 平仓盈亏
  19689. type: number
  19690. closepl2:
  19691. description: 平仓盈亏[逐笔]
  19692. type: number
  19693. closeqty:
  19694. description: 平仓数量(先建后平操作 需要记录)
  19695. type: number
  19696. creditamount:
  19697. description: 授信金额
  19698. type: number
  19699. decimalplace:
  19700. description: 商品报价小数位
  19701. type: integer
  19702. enumdicname:
  19703. description: 单位名称
  19704. type: string
  19705. gcaccountid:
  19706. description: 账户ID[合约币种]
  19707. type: integer
  19708. goodscode:
  19709. description: 商品代码
  19710. type: string
  19711. goodsid:
  19712. description: 商品ID
  19713. type: integer
  19714. goodsname:
  19715. description: 商品名称
  19716. type: string
  19717. goodunitid:
  19718. description: 商品单位id
  19719. type: integer
  19720. histradedate:
  19721. description: 历史交易日
  19722. type: string
  19723. intclosepl:
  19724. description: 整型盈亏(用于交易结算试算平衡-收益权)
  19725. type: integer
  19726. isconfirmexercise:
  19727. description: 是否确认行权- 0:否 1:是
  19728. type: integer
  19729. ismain:
  19730. description: 是否主单 - 0:不是 1:是
  19731. type: integer
  19732. ispreexercise:
  19733. description: 是否预申报- 0:否 1:是
  19734. type: integer
  19735. isreckoned:
  19736. description: 是否结算 - 0:未结算 1:已结算
  19737. type: integer
  19738. isvaliddata:
  19739. description: 是否有效 - 0:无效 1:有效
  19740. type: integer
  19741. listingselecttype:
  19742. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  19743. type: integer
  19744. marketid:
  19745. description: 市场ID
  19746. type: integer
  19747. marketname:
  19748. description: 市场名称
  19749. type: string
  19750. matchaccountid:
  19751. description: 对手账号id
  19752. type: integer
  19753. memberuserid:
  19754. description: 会员id 个人投资者 需要填写
  19755. type: integer
  19756. opencharge:
  19757. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  19758. type: number
  19759. openexchagechargevalue:
  19760. description: 建仓交易所手续费设置值
  19761. type: number
  19762. openfeealgorithm:
  19763. description: 建仓手续费收取方式 1:比率 2:固定
  19764. type: integer
  19765. openmemberchargevalue:
  19766. description: 建仓会员手续费设置值
  19767. type: number
  19768. openqty:
  19769. description: 开仓数量(先建后平操作 需要记录)
  19770. type: number
  19771. optiontype:
  19772. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  19773. type: integer
  19774. orderid:
  19775. description: 委托单号
  19776. type: string
  19777. payamount:
  19778. description: 支付金额(付款金额)
  19779. type: number
  19780. performanceplanid:
  19781. description: 履约计划ID[期权]
  19782. type: integer
  19783. performancestatus:
  19784. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  19785. type: integer
  19786. preexerciseprice:
  19787. description: 预申报价格
  19788. type: number
  19789. premium:
  19790. description: 权利金 - [持仓单的权利金]
  19791. type: number
  19792. qtydecimalplace:
  19793. description: 商品报价小数位
  19794. type: integer
  19795. recvamount:
  19796. description: 到账金额 = 成交金额 - 手续费
  19797. type: number
  19798. relatedouttradeid:
  19799. description: 关联外部成交单ID
  19800. type: integer
  19801. status:
  19802. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  19803. type: integer
  19804. totalamount:
  19805. description: 订单总额 = 成交金额 + 手续费
  19806. type: number
  19807. tradeamount:
  19808. description: 成交金额[账户币种,用于所有权]
  19809. type: number
  19810. tradedate:
  19811. description: 交易日(yyyyMMdd)
  19812. type: string
  19813. tradeid:
  19814. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  19815. type: string
  19816. trademode:
  19817. description: 交易模式
  19818. type: integer
  19819. tradeprice:
  19820. description: 成交价格
  19821. type: number
  19822. tradeproperty:
  19823. description: 交易属性
  19824. type: integer
  19825. tradeqty:
  19826. description: 成交数量
  19827. type: number
  19828. tradetime:
  19829. description: 成交时间
  19830. type: string
  19831. tradetype:
  19832. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  19833. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  19834. type: integer
  19835. required:
  19836. - accountid
  19837. - buyorsell
  19838. - goodsid
  19839. - histradedate
  19840. - marketid
  19841. - memberuserid
  19842. - orderid
  19843. - tradeamount
  19844. - tradedate
  19845. - tradeid
  19846. - tradeprice
  19847. - tradeqty
  19848. - tradetime
  19849. type: object
  19850. order.QueryHisTradeOrderDetailRsp:
  19851. properties:
  19852. accountid:
  19853. description: 账户ID[报价币种]
  19854. type: integer
  19855. buildtype:
  19856. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  19857. type: integer
  19858. buyorsell:
  19859. description: 买卖 - 0:买 1:卖
  19860. type: integer
  19861. cancelorderid:
  19862. description: 撤单单号(撤单时填写)
  19863. type: string
  19864. cancelqty:
  19865. description: 撤单数量
  19866. type: number
  19867. clientordertime:
  19868. description: 客户端委托时间
  19869. type: string
  19870. clientticket:
  19871. description: 客户端流水号
  19872. type: string
  19873. clienttype:
  19874. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  19875. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  19876. type: integer
  19877. closeexchagechargevalue:
  19878. description: 平仓交易所手续费设置值
  19879. type: number
  19880. closefeealgorithm:
  19881. description: 平仓手续费收取方式 1:比率 2:固定
  19882. type: integer
  19883. closefreezecharge:
  19884. description: 平仓冻结手续费(先建后平操作,需要记录)
  19885. type: number
  19886. closememberchargevalue:
  19887. description: 平仓会员手续费设置值
  19888. type: number
  19889. closeqty:
  19890. description: 平仓数量(先建后平操作 需要记录)
  19891. type: number
  19892. closetradeqty:
  19893. description: 平仓成交数量(先建后平操作,需要记录)
  19894. type: number
  19895. closeunfreezecharge:
  19896. description: 平仓解冻手续费(先建后平操作,需要记录)
  19897. type: number
  19898. decimalplace:
  19899. description: 商品报价小数位
  19900. type: integer
  19901. delistingtype:
  19902. description: 摘牌类型 - 1:价格最优 2:点选成交
  19903. type: integer
  19904. enumdicname:
  19905. description: 单位名称
  19906. type: string
  19907. freezecharge:
  19908. description: 冻结手续费
  19909. type: number
  19910. freezemargin:
  19911. description: 冻结保证金(冻结交易金额)
  19912. type: number
  19913. gcaccountid:
  19914. description: 账户ID[合约币种]
  19915. type: integer
  19916. goodscode:
  19917. description: 商品代码
  19918. type: string
  19919. goodsid:
  19920. description: 商品ID
  19921. type: integer
  19922. goodsname:
  19923. description: 商品名称
  19924. type: string
  19925. goodunitid:
  19926. description: 商品单位id
  19927. type: integer
  19928. histradedate:
  19929. description: 历史交易日
  19930. type: string
  19931. isconfirmexercise:
  19932. description: 是否确认行权- 0:否 1:是
  19933. type: integer
  19934. ispreexercise:
  19935. description: 是否预申报- 0:否 1:是
  19936. type: integer
  19937. isvaliddata:
  19938. description: 是否有效 - 0:无效 1:有效
  19939. type: integer
  19940. listingselecttype:
  19941. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  19942. type: integer
  19943. marginalgorithm:
  19944. description: 保证金收取方式 1:比率 2:固定
  19945. type: integer
  19946. marginvalue:
  19947. description: 即市保证金设置值
  19948. type: number
  19949. marketid:
  19950. description: 市场ID
  19951. type: integer
  19952. marketmaxsub:
  19953. description: 市价最大偏移范围
  19954. type: number
  19955. marketname:
  19956. description: 市场名称
  19957. type: string
  19958. memberuserid:
  19959. description: 所属会员UserID
  19960. type: integer
  19961. openexchagechargevalue:
  19962. description: 建仓交易所手续费设置值
  19963. type: number
  19964. openfeealgorithm:
  19965. description: 建仓手续费收取方式 1:比率 2:固定
  19966. type: integer
  19967. openfreezecharge:
  19968. description: 开仓冻结手续费(先建后平操作,需要记录)
  19969. type: number
  19970. openmemberchargevalue:
  19971. description: 建仓会员手续费设置值
  19972. type: number
  19973. openqty:
  19974. description: 开仓数量(先建后平操作,需要记录)
  19975. type: number
  19976. opentradeqty:
  19977. description: 开仓成交数量(先建后平操作,需要记录)
  19978. type: number
  19979. openunfreezecharge:
  19980. description: 开仓解冻手续费(先建后平操作,需要记录)
  19981. type: number
  19982. operatetype:
  19983. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  19984. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  19985. 15:管理端协议转让
  19986. type: integer
  19987. operatorid:
  19988. description: 登录账号(LoginID)
  19989. type: integer
  19990. optiontype:
  19991. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  19992. type: integer
  19993. orderid:
  19994. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  19995. type: string
  19996. orderprice:
  19997. description: 委托价格
  19998. type: number
  19999. orderqty:
  20000. description: 委托数量
  20001. type: number
  20002. ordersrc:
  20003. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  20004. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  20005. type: integer
  20006. orderstatus:
  20007. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  20008. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  20009. 16:成交失败违约(荷兰式竞拍专用)
  20010. type: integer
  20011. ordertime:
  20012. description: 委托时间
  20013. type: string
  20014. preexerciseprice:
  20015. description: 预申报价格
  20016. type: number
  20017. premium:
  20018. description: 权利金
  20019. type: number
  20020. preorderid:
  20021. description: 关联预埋单号(止盈止损单时填写)
  20022. type: string
  20023. pricemode:
  20024. description: '取价方式 - 1:市价 2: 限价'
  20025. type: integer
  20026. qtydecimalplace:
  20027. description: 成交量小数位
  20028. type: integer
  20029. quoteid:
  20030. description: 报价单ID
  20031. type: integer
  20032. relatedid:
  20033. description: 关联单号(交割单)
  20034. type: string
  20035. retcode:
  20036. description: 错误代码
  20037. type: integer
  20038. sessionid:
  20039. description: 会话ID
  20040. type: integer
  20041. tradedate:
  20042. description: 交易日(yyyyMMdd)
  20043. type: string
  20044. trademode:
  20045. description: 交易模式
  20046. type: integer
  20047. tradeproperty:
  20048. description: 交易属性
  20049. type: integer
  20050. tradeqty:
  20051. description: 成交数量
  20052. type: number
  20053. unfreezecharge:
  20054. description: 解冻手续费
  20055. type: number
  20056. unfreezemargin:
  20057. description: 解冻保证金
  20058. type: number
  20059. updatetime:
  20060. description: 更新时间
  20061. type: string
  20062. uuid:
  20063. description: 发起端唯一id
  20064. type: string
  20065. validtime:
  20066. description: 有效期限
  20067. type: string
  20068. validtype:
  20069. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  20070. type: integer
  20071. volumetype:
  20072. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  20073. type: integer
  20074. required:
  20075. - accountid
  20076. - buildtype
  20077. - buyorsell
  20078. - goodsid
  20079. - histradedate
  20080. - marketid
  20081. - memberuserid
  20082. - operatetype
  20083. - orderid
  20084. - orderqty
  20085. - ordertime
  20086. - pricemode
  20087. - tradedate
  20088. - validtype
  20089. type: object
  20090. order.QueryTradeDetailRsp:
  20091. properties:
  20092. accountid:
  20093. description: 账户ID[报价币种]
  20094. type: integer
  20095. advanceratio:
  20096. description: 首付比率
  20097. type: number
  20098. buildtype:
  20099. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  20100. type: integer
  20101. buyorsell:
  20102. description: 方向 - 0:买 1:卖
  20103. type: integer
  20104. charge:
  20105. description: 手续费
  20106. type: number
  20107. closecharge:
  20108. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  20109. type: number
  20110. closeexchagechargevalue:
  20111. description: 平仓交易所手续费设置值
  20112. type: number
  20113. closefeealgorithm:
  20114. description: 平仓手续费收取方式 1:比率 2:固定
  20115. type: integer
  20116. closememberchargevalue:
  20117. description: 平仓会员手续费设置值
  20118. type: number
  20119. closepl:
  20120. description: 平仓盈亏
  20121. type: number
  20122. closepl2:
  20123. description: 平仓盈亏[逐笔]
  20124. type: number
  20125. closeqty:
  20126. description: 平仓数量(先建后平操作 需要记录)
  20127. type: number
  20128. creditamount:
  20129. description: 授信金额
  20130. type: number
  20131. decimalplace:
  20132. description: 商品报价小数位
  20133. type: integer
  20134. enumdicname:
  20135. description: 单位名称
  20136. type: string
  20137. gcaccountid:
  20138. description: 账户ID[合约币种]
  20139. type: integer
  20140. goodscode:
  20141. description: 商品代码
  20142. type: string
  20143. goodsid:
  20144. description: 商品ID
  20145. type: integer
  20146. goodsname:
  20147. description: 商品名称
  20148. type: string
  20149. goodunitid:
  20150. description: 商品单位id
  20151. type: integer
  20152. intclosepl:
  20153. description: 整型盈亏(用于交易结算试算平衡-收益权)
  20154. type: integer
  20155. isconfirmexercise:
  20156. description: 是否确认行权- 0:否 1:是
  20157. type: integer
  20158. ismain:
  20159. description: 是否主单 - 0:不是 1:是
  20160. type: integer
  20161. ispreexercise:
  20162. description: 是否预申报- 0:否 1:是
  20163. type: integer
  20164. isreckoned:
  20165. description: 是否结算 - 0:未结算 1:已结算
  20166. type: integer
  20167. listingselecttype:
  20168. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  20169. type: integer
  20170. marketid:
  20171. description: 市场ID
  20172. type: integer
  20173. marketname:
  20174. description: 市场名称
  20175. type: string
  20176. matchaccountid:
  20177. description: 对手账号id
  20178. type: integer
  20179. memberuserid:
  20180. description: 会员id 个人投资者 需要填写
  20181. type: integer
  20182. opencharge:
  20183. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  20184. type: number
  20185. openexchagechargevalue:
  20186. description: 建仓交易所手续费设置值
  20187. type: number
  20188. openfeealgorithm:
  20189. description: 建仓手续费收取方式 1:比率 2:固定
  20190. type: integer
  20191. openmemberchargevalue:
  20192. description: 建仓会员手续费设置值
  20193. type: number
  20194. openqty:
  20195. description: 开仓数量(先建后平操作 需要记录)
  20196. type: number
  20197. optiontype:
  20198. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  20199. type: integer
  20200. orderid:
  20201. description: 委托单号
  20202. type: string
  20203. payamount:
  20204. description: 支付金额(付款金额)
  20205. type: number
  20206. performanceplanid:
  20207. description: 履约计划ID[期权]
  20208. type: integer
  20209. performancestatus:
  20210. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  20211. type: integer
  20212. preexerciseprice:
  20213. description: 预申报价格
  20214. type: number
  20215. premium:
  20216. description: 权利金 - [持仓单的权利金]
  20217. type: number
  20218. qtydecimalplace:
  20219. description: 商品报价小数位
  20220. type: integer
  20221. recvamount:
  20222. description: 到账金额 = 成交金额 - 手续费
  20223. type: number
  20224. relatedouttradeid:
  20225. description: 关联外部成交单ID
  20226. type: integer
  20227. status:
  20228. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  20229. type: integer
  20230. totalamount:
  20231. description: 订单总额 = 成交金额 + 手续费
  20232. type: number
  20233. tradeamount:
  20234. description: 成交金额[账户币种,用于所有权]
  20235. type: number
  20236. tradedate:
  20237. description: 交易日(yyyyMMdd)
  20238. type: string
  20239. tradeid:
  20240. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  20241. type: string
  20242. trademode:
  20243. description: 交易模式
  20244. type: integer
  20245. tradeprice:
  20246. description: 成交价格
  20247. type: number
  20248. tradeproperty:
  20249. description: 交易属性
  20250. type: integer
  20251. tradeqty:
  20252. description: 成交数量
  20253. type: number
  20254. tradetime:
  20255. description: 成交时间
  20256. type: string
  20257. tradetype:
  20258. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  20259. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  20260. type: integer
  20261. required:
  20262. - accountid
  20263. - buyorsell
  20264. - goodsid
  20265. - marketid
  20266. - memberuserid
  20267. - orderid
  20268. - tradeamount
  20269. - tradedate
  20270. - tradeid
  20271. - tradeprice
  20272. - tradeqty
  20273. - tradetime
  20274. type: object
  20275. order.QueryTradeOrderDetailRsp:
  20276. properties:
  20277. accountid:
  20278. description: 账户ID[报价币种]
  20279. type: integer
  20280. buildtype:
  20281. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  20282. type: integer
  20283. buyorsell:
  20284. description: 买卖 - 0:买 1:卖
  20285. type: integer
  20286. cancelorderid:
  20287. description: 撤单单号(撤单时填写)
  20288. type: string
  20289. cancelqty:
  20290. description: 撤单数量
  20291. type: number
  20292. clienttype:
  20293. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  20294. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  20295. type: integer
  20296. closefreezecharge:
  20297. description: 平仓冻结手续费(先建后平操作,需要记录)
  20298. type: number
  20299. closeqty:
  20300. description: 平仓数量(先建后平操作 需要记录)
  20301. type: number
  20302. closetradeqty:
  20303. description: 平仓成交数量(先建后平操作,需要记录)
  20304. type: number
  20305. closeunfreezecharge:
  20306. description: 平仓解冻手续费(先建后平操作,需要记录)
  20307. type: number
  20308. decimalplace:
  20309. description: 商品报价小数位
  20310. type: integer
  20311. delistingtype:
  20312. description: 摘牌类型 - 1:价格最优 2:点选成交
  20313. type: integer
  20314. enableqty:
  20315. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  20316. type: number
  20317. enumdicname:
  20318. description: 单位名称
  20319. type: string
  20320. freezecharge:
  20321. description: 冻结手续费
  20322. type: number
  20323. freezemargin:
  20324. description: 冻结保证金(冻结交易金额)
  20325. type: number
  20326. goodscode:
  20327. description: 商品代码
  20328. type: string
  20329. goodsid:
  20330. description: 商品ID
  20331. type: integer
  20332. goodsname:
  20333. description: 商品名称
  20334. type: string
  20335. goodunitid:
  20336. description: 商品单位id
  20337. type: integer
  20338. listingselecttype:
  20339. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  20340. type: integer
  20341. marketid:
  20342. description: 市场ID
  20343. type: integer
  20344. marketname:
  20345. description: 市场名称
  20346. type: string
  20347. openfreezecharge:
  20348. description: 开仓冻结手续费(先建后平操作,需要记录)
  20349. type: number
  20350. openqty:
  20351. description: 开仓数量(先建后平操作,需要记录)
  20352. type: number
  20353. opentradeqty:
  20354. description: 开仓成交数量(先建后平操作,需要记录)
  20355. type: number
  20356. openunfreezecharge:
  20357. description: 开仓解冻手续费(先建后平操作,需要记录)
  20358. type: number
  20359. operatetype:
  20360. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  20361. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  20362. 15:管理端协议转让
  20363. type: integer
  20364. operatorid:
  20365. description: 登录账号(LoginID)
  20366. type: integer
  20367. orderid:
  20368. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  20369. type: string
  20370. orderprice:
  20371. description: 委托价格
  20372. type: number
  20373. orderqty:
  20374. description: 委托数量
  20375. type: number
  20376. ordersrc:
  20377. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  20378. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  20379. type: integer
  20380. orderstatus:
  20381. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  20382. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  20383. 16:成交失败违约(荷兰式竞拍专用)
  20384. type: integer
  20385. ordertime:
  20386. description: 委托时间
  20387. type: string
  20388. preorderid:
  20389. description: 关联预埋单号(止盈止损单时填写)
  20390. type: string
  20391. pricemode:
  20392. description: '取价方式 - 1:市价 2: 限价'
  20393. type: integer
  20394. qtydecimalplace:
  20395. description: 商品报价小数位
  20396. type: integer
  20397. relatedid:
  20398. description: 关联单号(交割单)
  20399. type: string
  20400. tradedate:
  20401. description: 交易日(yyyyMMdd)
  20402. type: string
  20403. trademode:
  20404. description: 交易模式
  20405. type: integer
  20406. tradeqty:
  20407. description: 成交数量
  20408. type: number
  20409. unfreezecharge:
  20410. description: 解冻手续费
  20411. type: number
  20412. unfreezemargin:
  20413. description: 解冻保证金
  20414. type: number
  20415. validtime:
  20416. description: 有效期限
  20417. type: string
  20418. validtype:
  20419. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  20420. type: integer
  20421. volumetype:
  20422. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  20423. type: integer
  20424. required:
  20425. - accountid
  20426. - buildtype
  20427. - buyorsell
  20428. - goodsid
  20429. - marketid
  20430. - operatetype
  20431. - orderqty
  20432. - ordertime
  20433. - pricemode
  20434. - tradedate
  20435. - validtype
  20436. type: object
  20437. order.QueryTradePositionRsp:
  20438. properties:
  20439. accountid:
  20440. description: 资金账户
  20441. type: integer
  20442. agreeunit:
  20443. description: 合约单位
  20444. type: number
  20445. averageprice:
  20446. description: 持仓均价
  20447. type: number
  20448. buyorsell:
  20449. description: 方向 - 0:买 1:卖
  20450. type: integer
  20451. closetotalqty:
  20452. description: 平仓总数量
  20453. type: number
  20454. curholderamount:
  20455. description: 当前持仓总金额[商品币种]
  20456. type: number
  20457. curpositionqty:
  20458. description: 当前持仓总数量
  20459. type: number
  20460. currencyid:
  20461. description: 报价货币ID
  20462. type: integer
  20463. curtdposition:
  20464. description: 期末今日头寸
  20465. type: number
  20466. decimalplace:
  20467. description: 报价小数位
  20468. type: integer
  20469. enableqty:
  20470. description: 可用量
  20471. type: number
  20472. fretdposition:
  20473. description: 冻结今日头寸
  20474. type: number
  20475. frozenqty:
  20476. description: 持仓冻结数量
  20477. type: number
  20478. goodscode:
  20479. description: 商品代码
  20480. type: string
  20481. goodsid:
  20482. description: 商品Id
  20483. type: integer
  20484. goodsname:
  20485. description: 商品名称
  20486. type: string
  20487. goodunit:
  20488. description: 报价单位
  20489. type: string
  20490. goodunitid:
  20491. description: 报价单位ID
  20492. type: integer
  20493. holderamount:
  20494. description: 期初持仓总金额[商品币种]
  20495. type: number
  20496. lastprice:
  20497. description: 最新价
  20498. type: number
  20499. marketamount:
  20500. description: 市值
  20501. type: number
  20502. marketid:
  20503. description: 所属市场ID
  20504. type: integer
  20505. openreqqty:
  20506. description: 开仓申请数量(用于比较最大持仓数量)
  20507. type: number
  20508. opentotalqty:
  20509. description: 开仓总数量
  20510. type: number
  20511. otherfrozenqty:
  20512. description: 持仓其他冻结数量(交割冻结)
  20513. type: number
  20514. positionpl:
  20515. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  20516. * 合约单位
  20517. type: number
  20518. positionplrate:
  20519. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  20520. type: number
  20521. positionqty:
  20522. description: 期初持仓数量
  20523. type: number
  20524. qtydecimalplace:
  20525. description: 成交量小数位
  20526. type: integer
  20527. refgoodscode:
  20528. description: 参考商品代码
  20529. type: string
  20530. refgoodsid:
  20531. description: 参考商品ID
  20532. type: integer
  20533. tnqty:
  20534. description: T+N冻结总量
  20535. type: number
  20536. tnusedqty:
  20537. description: T+N使用量(可以使用T+N的冻结数量)
  20538. type: number
  20539. trademode:
  20540. description: 交易模式
  20541. type: integer
  20542. tradeproperty:
  20543. description: 交易属性
  20544. type: integer
  20545. usedmargin:
  20546. description: 占用保证金[商品币种]
  20547. type: number
  20548. required:
  20549. - goodsid
  20550. type: object
  20551. pb.GoodsMarginCfgStruct:
  20552. properties:
  20553. CustomerTypeID:
  20554. description: 投资者客户类型
  20555. type: integer
  20556. GoodsID:
  20557. description: 商品ID
  20558. type: integer
  20559. IsDefault:
  20560. description: 是否默认标志位
  20561. type: integer
  20562. LockMarginValue:
  20563. description: 锁仓保证金
  20564. type: number
  20565. MarginAlgorithm:
  20566. description: 保证金计算方式
  20567. type: integer
  20568. MarketMarginValue:
  20569. description: 即市保证金值
  20570. type: number
  20571. RealMarginAlgorithm:
  20572. description: 实付保证金计算方式
  20573. type: integer
  20574. RealMarginValue:
  20575. description: 实付比例
  20576. type: number
  20577. ReckonMarginValue:
  20578. description: 结算保证金值
  20579. type: number
  20580. type: object
  20581. quote.HistoryData:
  20582. properties:
  20583. c:
  20584. description: 收盘价
  20585. type: number
  20586. f:
  20587. description: 是否补充数据
  20588. type: boolean
  20589. h:
  20590. description: 最高价
  20591. type: number
  20592. hv:
  20593. description: 持仓量
  20594. type: integer
  20595. l:
  20596. description: 最低价
  20597. type: number
  20598. o:
  20599. description: 开盘价
  20600. type: number
  20601. s:
  20602. description: 结算价,日线周期(包括)以上才有
  20603. type: number
  20604. ts:
  20605. description: 时间
  20606. type: string
  20607. tt:
  20608. description: 总金额
  20609. type: number
  20610. tv:
  20611. description: 总量(成交量)
  20612. type: integer
  20613. type: object
  20614. quote.HistoryTikData:
  20615. properties:
  20616. AV:
  20617. description: 卖量
  20618. type: integer
  20619. Ask:
  20620. description: 卖价
  20621. type: number
  20622. BV:
  20623. description: 买量
  20624. type: integer
  20625. Bid:
  20626. description: 买价
  20627. type: number
  20628. HI:
  20629. description: 单笔持仓
  20630. type: integer
  20631. HV:
  20632. description: 持仓量
  20633. type: integer
  20634. PE:
  20635. description: 现价
  20636. type: number
  20637. TDR:
  20638. description: 交易方向,0:买 1:卖
  20639. type: integer
  20640. TK:
  20641. description: 交易类型
  20642. type: integer
  20643. TS:
  20644. description: 行情时间文本
  20645. type: string
  20646. TT:
  20647. description: 现金额
  20648. type: number
  20649. Vol:
  20650. description: 现量
  20651. type: integer
  20652. type: object
  20653. quote.QueryQuoteDayRsp:
  20654. properties:
  20655. ask:
  20656. description: 卖1
  20657. type: number
  20658. ask2:
  20659. description: 卖2
  20660. type: number
  20661. ask3:
  20662. description: 卖3
  20663. type: number
  20664. ask4:
  20665. description: 卖4
  20666. type: number
  20667. ask5:
  20668. description: 卖5
  20669. type: number
  20670. ask6:
  20671. description: 卖6
  20672. type: number
  20673. ask7:
  20674. description: 卖7
  20675. type: number
  20676. ask8:
  20677. description: 卖8
  20678. type: number
  20679. ask9:
  20680. description: 卖9
  20681. type: number
  20682. ask10:
  20683. description: 卖10
  20684. type: number
  20685. askorderid:
  20686. description: 卖单号1
  20687. type: integer
  20688. askorderid2:
  20689. description: 卖单号2
  20690. type: integer
  20691. askorderid3:
  20692. description: 卖单号3
  20693. type: integer
  20694. askorderid4:
  20695. description: 卖单号4
  20696. type: integer
  20697. askorderid5:
  20698. description: 卖单号5
  20699. type: integer
  20700. askordervolume:
  20701. description: 卖单量1
  20702. type: integer
  20703. askordervolume2:
  20704. description: 卖单量2
  20705. type: integer
  20706. askordervolume3:
  20707. description: 卖单量3
  20708. type: integer
  20709. askordervolume4:
  20710. description: 卖单量4
  20711. type: integer
  20712. askordervolume5:
  20713. description: 卖单量5
  20714. type: integer
  20715. askordervolume6:
  20716. description: 卖单量6
  20717. type: integer
  20718. askordervolume7:
  20719. description: 卖单量7
  20720. type: integer
  20721. askordervolume8:
  20722. description: 卖单量8
  20723. type: integer
  20724. askordervolume9:
  20725. description: 卖单量9
  20726. type: integer
  20727. askordervolume10:
  20728. description: 卖单量10
  20729. type: integer
  20730. askqueueinfo:
  20731. description: 大利市卖港股用
  20732. type: string
  20733. askvolume:
  20734. description: 卖量1
  20735. type: integer
  20736. askvolume2:
  20737. description: 卖量2
  20738. type: integer
  20739. askvolume3:
  20740. description: 卖量3
  20741. type: integer
  20742. askvolume4:
  20743. description: 卖量4
  20744. type: integer
  20745. askvolume5:
  20746. description: 卖量5
  20747. type: integer
  20748. askvolume6:
  20749. description: 卖量6
  20750. type: integer
  20751. askvolume7:
  20752. description: 卖量7
  20753. type: integer
  20754. askvolume8:
  20755. description: 卖量8
  20756. type: integer
  20757. askvolume9:
  20758. description: 卖量9
  20759. type: integer
  20760. askvolume10:
  20761. description: 卖量10
  20762. type: integer
  20763. averageprice:
  20764. description: 均价
  20765. type: number
  20766. bid:
  20767. description: 买1
  20768. type: number
  20769. bid2:
  20770. description: 买2
  20771. type: number
  20772. bid3:
  20773. description: 买3
  20774. type: number
  20775. bid4:
  20776. description: 买4
  20777. type: number
  20778. bid5:
  20779. description: 买5
  20780. type: number
  20781. bid6:
  20782. description: 买6
  20783. type: number
  20784. bid7:
  20785. description: 买7
  20786. type: number
  20787. bid8:
  20788. description: 买8
  20789. type: number
  20790. bid9:
  20791. description: 买9
  20792. type: number
  20793. bid10:
  20794. description: 买10
  20795. type: number
  20796. bidorderid:
  20797. description: 买单号1
  20798. type: integer
  20799. bidorderid2:
  20800. description: 买单号2
  20801. type: integer
  20802. bidorderid3:
  20803. description: 买单号3
  20804. type: integer
  20805. bidorderid4:
  20806. description: 买单号4
  20807. type: integer
  20808. bidorderid5:
  20809. description: 买单号5
  20810. type: integer
  20811. bidordervolume:
  20812. description: 买单量1
  20813. type: integer
  20814. bidordervolume2:
  20815. description: 买单量2
  20816. type: integer
  20817. bidordervolume3:
  20818. description: 买单量3
  20819. type: integer
  20820. bidordervolume4:
  20821. description: 买单量4
  20822. type: integer
  20823. bidordervolume5:
  20824. description: 买单量5
  20825. type: integer
  20826. bidordervolume6:
  20827. description: 买单量6
  20828. type: integer
  20829. bidordervolume7:
  20830. description: 买单量7
  20831. type: integer
  20832. bidordervolume8:
  20833. description: 买单量8
  20834. type: integer
  20835. bidordervolume9:
  20836. description: 买单量9
  20837. type: integer
  20838. bidordervolume10:
  20839. description: 买单量10
  20840. type: integer
  20841. bidqueueinfo:
  20842. description: 大利市买港股用
  20843. type: string
  20844. bidvolume:
  20845. description: 买量1
  20846. type: integer
  20847. bidvolume2:
  20848. description: 买量2
  20849. type: integer
  20850. bidvolume3:
  20851. description: 买量3
  20852. type: integer
  20853. bidvolume4:
  20854. description: 买量4
  20855. type: integer
  20856. bidvolume5:
  20857. description: 买量5
  20858. type: integer
  20859. bidvolume6:
  20860. description: 买量6
  20861. type: integer
  20862. bidvolume7:
  20863. description: 买量7
  20864. type: integer
  20865. bidvolume8:
  20866. description: 买量8
  20867. type: integer
  20868. bidvolume9:
  20869. description: 买量9
  20870. type: integer
  20871. bidvolume10:
  20872. description: 买量10
  20873. type: integer
  20874. calloptionpremiums:
  20875. description: 认购期权1
  20876. type: integer
  20877. calloptionpremiums2:
  20878. description: 认购期权2
  20879. type: integer
  20880. calloptionpremiums3:
  20881. description: 认购期权3
  20882. type: integer
  20883. calloptionpremiums4:
  20884. description: 认购期权4
  20885. type: integer
  20886. calloptionpremiums5:
  20887. description: 认购期权5
  20888. type: integer
  20889. cleartime:
  20890. description: 清盘时间
  20891. type: integer
  20892. exchangecode:
  20893. description: 交易所代码
  20894. type: integer
  20895. exchangedate:
  20896. description: 交易日
  20897. type: integer
  20898. goodscode:
  20899. description: 商品代码
  20900. type: string
  20901. grepmarketprice:
  20902. description: 暗盘价 港股专用
  20903. type: number
  20904. highest:
  20905. description: 最高价
  20906. type: number
  20907. holdincrement:
  20908. description: 单笔持仓
  20909. type: integer
  20910. holdvolume:
  20911. description: 持仓
  20912. type: integer
  20913. iep:
  20914. description: 平衡价 港股专用
  20915. type: number
  20916. iev:
  20917. description: 平衡量 港股专用
  20918. type: number
  20919. inventory:
  20920. description: 库存
  20921. type: integer
  20922. iscleared:
  20923. description: 是否清盘标志
  20924. type: integer
  20925. issettled:
  20926. description: 是否结算标志
  20927. type: integer
  20928. last:
  20929. description: 最新价
  20930. type: number
  20931. lastlot:
  20932. description: 最新成交手数
  20933. type: integer
  20934. lasttime:
  20935. description: 行情时间(只有现价变化行情时间才变化)
  20936. type: string
  20937. lastturnover:
  20938. description: 最新成交金额
  20939. type: number
  20940. lastvolume:
  20941. description: 最新成交量
  20942. type: integer
  20943. limitdown:
  20944. description: 跌停价
  20945. type: number
  20946. limitup:
  20947. description: 涨停价
  20948. type: number
  20949. lowest:
  20950. description: 最低价
  20951. type: number
  20952. nontotalholdervolume:
  20953. description: 非交易持仓量
  20954. type: integer
  20955. nontotallot:
  20956. description: 非交易总手数
  20957. type: integer
  20958. nontotalturnover:
  20959. description: 非交易总金额
  20960. type: integer
  20961. nontotalvolume:
  20962. description: 非交易总量
  20963. type: integer
  20964. opened:
  20965. description: 开盘价
  20966. type: number
  20967. opentime:
  20968. description: 开盘时间
  20969. type: string
  20970. orderid:
  20971. description: 序号
  20972. type: integer
  20973. preclose:
  20974. description: 昨收
  20975. type: number
  20976. preholdvolume:
  20977. description: 昨持仓
  20978. type: integer
  20979. presettle:
  20980. description: 昨结价
  20981. type: number
  20982. publictradetype:
  20983. description: 公共交易标志类型 港股专用
  20984. type: string
  20985. putoptionpremiums:
  20986. description: 认沽期权1
  20987. type: integer
  20988. putoptionpremiums2:
  20989. description: 认沽期权2
  20990. type: integer
  20991. putoptionpremiums3:
  20992. description: 认沽期权3
  20993. type: integer
  20994. putoptionpremiums4:
  20995. description: 认沽期权4
  20996. type: integer
  20997. putoptionpremiums5:
  20998. description: 认沽期权5
  20999. type: integer
  21000. settle:
  21001. description: 结算价
  21002. type: number
  21003. strikeprice:
  21004. description: 发行价
  21005. type: number
  21006. totalaskvolume:
  21007. description: 内盘
  21008. type: integer
  21009. totalbidvolume:
  21010. description: 外盘
  21011. type: integer
  21012. totallot:
  21013. description: 总手数
  21014. type: integer
  21015. totalturnover:
  21016. description: 总金额
  21017. type: number
  21018. totalvolume:
  21019. description: 总量
  21020. type: integer
  21021. utclasttime:
  21022. description: utc的行情时间
  21023. type: string
  21024. type: object
  21025. quote.QueryTSDataRsp:
  21026. properties:
  21027. Count:
  21028. description: 交易日应有数据个数
  21029. type: integer
  21030. decimalPlace:
  21031. description: 小数位
  21032. type: integer
  21033. endTime:
  21034. description: 结束时间
  21035. type: string
  21036. goodsCode:
  21037. description: 商品代码
  21038. type: string
  21039. historyDatas:
  21040. description: 历史数据
  21041. items:
  21042. $ref: '#/definitions/quote.HistoryData'
  21043. type: array
  21044. outGoodsCode:
  21045. description: 外部商品代码
  21046. type: string
  21047. preSettle:
  21048. description: 昨结价
  21049. type: number
  21050. runSteps:
  21051. description: 交易日开休市计划
  21052. items:
  21053. $ref: '#/definitions/quote.TSDataRunStep'
  21054. type: array
  21055. startTime:
  21056. description: 开始时间
  21057. type: string
  21058. tradeDate:
  21059. description: 交易日
  21060. type: string
  21061. type: object
  21062. quote.TSDataRunStep:
  21063. properties:
  21064. end:
  21065. description: 真实结束时间
  21066. type: string
  21067. endflag:
  21068. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  21069. type: integer
  21070. endtime:
  21071. description: 结束时间(HH:mm)
  21072. type: string
  21073. endweekday:
  21074. description: 结束周几
  21075. type: integer
  21076. groupid:
  21077. description: 分组ID
  21078. type: integer
  21079. runstep:
  21080. description: 运行阶段 - 2:连续交易
  21081. type: integer
  21082. sectionid:
  21083. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  21084. 结束时间=结算时间 结束周几=结算周几
  21085. type: integer
  21086. start:
  21087. description: 真实开始时间
  21088. type: string
  21089. startflag:
  21090. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  21091. type: integer
  21092. starttime:
  21093. description: 起始时间(HH:mm)
  21094. type: string
  21095. startweekday:
  21096. description: 起始周几
  21097. type: integer
  21098. tradeweekday:
  21099. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  21100. type: integer
  21101. type: object
  21102. szdz.QueryConvertLogRsp:
  21103. properties:
  21104. accountid:
  21105. description: 资金账户ID
  21106. type: integer
  21107. clientticket:
  21108. description: 客户端流水号
  21109. type: string
  21110. converttype:
  21111. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  21112. type: integer
  21113. createtime:
  21114. description: 记账时间
  21115. type: string
  21116. daymaxvalue:
  21117. description: 配置当日最大转入限制
  21118. type: number
  21119. daymaxvalue2:
  21120. description: 配置当日最大转入限制(转入)
  21121. type: number
  21122. goodscode:
  21123. description: 商品代码
  21124. type: string
  21125. goodsname:
  21126. description: 商品名称
  21127. type: string
  21128. handlestatus:
  21129. description: 处理状态
  21130. type: integer
  21131. innergoodsid:
  21132. description: 内部商品ID
  21133. type: integer
  21134. inratio:
  21135. description: 配置转入比值
  21136. type: integer
  21137. invalue:
  21138. description: 目标值
  21139. type: number
  21140. logid:
  21141. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  21142. type: integer
  21143. mobile:
  21144. description: 手机号码(加密存储)
  21145. type: string
  21146. outergoodscode:
  21147. description: 外部商品代码[JD\PD]
  21148. type: string
  21149. outratio:
  21150. description: 配置转出比值
  21151. type: integer
  21152. outvalue:
  21153. description: 源值
  21154. type: number
  21155. pddecimalplace:
  21156. description: PD小数位
  21157. type: integer
  21158. qty:
  21159. description: 数量
  21160. type: string
  21161. remark:
  21162. description: 备注
  21163. type: string
  21164. sessionid:
  21165. description: 会话ID
  21166. type: integer
  21167. timemaxvalue:
  21168. description: 配置单次最大转入限制
  21169. type: number
  21170. timemaxvalue2:
  21171. description: 配置单次最大转入限制(转入)
  21172. type: number
  21173. timeminvalue:
  21174. description: 配置单次最小数量限制
  21175. type: number
  21176. timeminvalue2:
  21177. description: 配置单次最小数量限制(转入)
  21178. type: number
  21179. tradedate:
  21180. description: 交易日(yyyyMMdd)
  21181. type: string
  21182. userid:
  21183. description: 用户ID
  21184. type: integer
  21185. required:
  21186. - logid
  21187. type: object
  21188. szdz.QueryGoodsPickupRsp:
  21189. properties:
  21190. accountid:
  21191. description: 账户ID
  21192. type: integer
  21193. address:
  21194. description: 提货人详细地址
  21195. type: string
  21196. auditer:
  21197. description: 审核人
  21198. type: integer
  21199. audittime:
  21200. description: 审核时间
  21201. type: string
  21202. cardnum:
  21203. description: 提货人证件号码
  21204. type: string
  21205. cardtypeid:
  21206. description: 提货人证件类型
  21207. type: integer
  21208. checkremark:
  21209. description: 审核备注
  21210. type: string
  21211. goodscode:
  21212. description: 商品代码
  21213. type: string
  21214. goodsid:
  21215. description: 商品ID
  21216. type: integer
  21217. goodsname:
  21218. description: 商品名称
  21219. type: string
  21220. handlestatus:
  21221. description: 处理状态
  21222. type: integer
  21223. marketid:
  21224. description: 市场ID
  21225. type: integer
  21226. phonenum:
  21227. description: 提货人联系方式
  21228. type: string
  21229. qty:
  21230. description: 提货数量
  21231. type: number
  21232. recivername:
  21233. description: 提货人姓名
  21234. type: string
  21235. reqtime:
  21236. description: 更新时间
  21237. type: string
  21238. takemode:
  21239. description: 提货方式 - 2:自提 3:配送
  21240. type: integer
  21241. takeorderid:
  21242. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  21243. type: string
  21244. takeorderstatus:
  21245. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  21246. type: integer
  21247. takeremark:
  21248. description: 提货备注
  21249. type: string
  21250. tradedate:
  21251. description: 交易日(yyyyMMdd)
  21252. type: string
  21253. userid:
  21254. description: 用户ID
  21255. type: integer
  21256. required:
  21257. - takeorderid
  21258. type: object
  21259. szdz.QueryRecieptOrderRsp:
  21260. properties:
  21261. accountName:
  21262. description: 所属账号名称(已脱敏)
  21263. type: string
  21264. accountid:
  21265. description: 资金账号
  21266. type: integer
  21267. buyorsell:
  21268. description: 方向 - 0:买 1:卖
  21269. type: integer
  21270. enableqty:
  21271. description: 可摘数量
  21272. type: integer
  21273. goodscode:
  21274. description: 商品代码
  21275. type: string
  21276. goodsid:
  21277. description: 商品ID
  21278. type: integer
  21279. goodsname:
  21280. description: 商品名称
  21281. type: string
  21282. orderid:
  21283. description: 委托单号
  21284. type: string
  21285. orderprice:
  21286. description: 委托价格
  21287. type: number
  21288. ordertime:
  21289. description: 委托时间
  21290. type: string
  21291. tradedate:
  21292. description: 交易日(yyyyMMdd)
  21293. type: string
  21294. required:
  21295. - ordertime
  21296. type: object
  21297. szdz.QuerySZDZTradePositionRsp:
  21298. properties:
  21299. accountid:
  21300. description: 账号Id
  21301. type: integer
  21302. agreeunit:
  21303. description: 合约单位
  21304. type: number
  21305. averageprice:
  21306. description: 持仓均价
  21307. type: number
  21308. buyorsell:
  21309. description: 方向 - 0:买 1:卖
  21310. type: integer
  21311. closetotalqty:
  21312. description: 平仓总数量
  21313. type: integer
  21314. curholderamount:
  21315. description: 当前持仓总金额
  21316. type: number
  21317. curpositionqty:
  21318. description: 当前持仓总数量
  21319. type: integer
  21320. currencyid:
  21321. description: 报价货币ID
  21322. type: integer
  21323. curtdposition:
  21324. description: 期末今日头寸
  21325. type: integer
  21326. decimalplace:
  21327. description: 报价小数位
  21328. type: integer
  21329. enableqty:
  21330. description: 可用量
  21331. type: integer
  21332. fretdposition:
  21333. description: 冻结今日头寸
  21334. type: integer
  21335. frozenqty:
  21336. description: 持仓冻结数量
  21337. type: integer
  21338. goodscode:
  21339. description: 商品代码(内部)
  21340. type: string
  21341. goodsid:
  21342. description: 商品Id
  21343. type: integer
  21344. goodsname:
  21345. description: 商品名称
  21346. type: string
  21347. goodunit:
  21348. description: 报价单位
  21349. type: string
  21350. goodunitid:
  21351. description: 报价单位ID
  21352. type: integer
  21353. holderamount:
  21354. description: 期初持仓总金额
  21355. type: number
  21356. marketid:
  21357. description: 市场ID
  21358. type: integer
  21359. openreqqty:
  21360. description: 开仓申请数量
  21361. type: integer
  21362. opentotalqty:
  21363. description: 开仓总数量
  21364. type: integer
  21365. otherfrozenqty:
  21366. description: 持仓其他冻结数量(交割冻结)
  21367. type: integer
  21368. positionqty:
  21369. description: 期初持仓数量
  21370. type: integer
  21371. szdz3freezqty:
  21372. description: 尚志大宗转换冻结总数量
  21373. type: integer
  21374. tnqty:
  21375. description: T+N冻结总量
  21376. type: integer
  21377. tnusedqty:
  21378. description: T+N使用量
  21379. type: integer
  21380. trademode:
  21381. description: 交易模式
  21382. type: integer
  21383. usedmargin:
  21384. description: 占用保证金
  21385. type: number
  21386. type: object
  21387. taaccount.QueryAmountLogRsp:
  21388. properties:
  21389. OPERATETYPENAME:
  21390. description: 资金操作类型名称
  21391. type: string
  21392. accountid:
  21393. description: 资金账户ID
  21394. type: integer
  21395. agoodscode:
  21396. description: 竞拍商品代码
  21397. type: string
  21398. agoodsname:
  21399. description: 竞拍商品名称
  21400. type: string
  21401. amount:
  21402. description: 资金金额
  21403. type: number
  21404. amountadjusttype:
  21405. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  21406. type: integer
  21407. autoid:
  21408. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  21409. type: integer
  21410. balance:
  21411. description: 期初余额
  21412. type: number
  21413. businesscode:
  21414. description: 业务编号
  21415. type: integer
  21416. createtime:
  21417. description: 发生时间
  21418. type: string
  21419. currencyid:
  21420. description: 币种ID
  21421. type: integer
  21422. currentbalance:
  21423. description: 期末余额(变动后金额)
  21424. type: number
  21425. dgoodscode:
  21426. description: 交割商品代码
  21427. type: string
  21428. dgoodsname:
  21429. description: 交割商品名称
  21430. type: string
  21431. goodscode:
  21432. description: 商品代码
  21433. type: string
  21434. goodsid:
  21435. description: 商品ID
  21436. type: integer
  21437. goodsname:
  21438. description: 商品名称
  21439. type: string
  21440. marketid:
  21441. description: 市场ID
  21442. type: integer
  21443. marketname:
  21444. description: 市场名称
  21445. type: string
  21446. moneyticket:
  21447. description: 资金流水号:银行端流水号
  21448. type: integer
  21449. operatetype:
  21450. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  21451. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  21452. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  21453. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  21454. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  21455. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  21456. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  21457. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  21458. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  21459. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  21460. type: integer
  21461. relationorderid:
  21462. description: 关联单号
  21463. type: string
  21464. remark:
  21465. description: 备注
  21466. type: string
  21467. trademode:
  21468. description: 交易模式
  21469. type: integer
  21470. required:
  21471. - accountid
  21472. - amount
  21473. - amountadjusttype
  21474. - autoid
  21475. - balance
  21476. - createtime
  21477. - currentbalance
  21478. - operatetype
  21479. type: object
  21480. taaccount.QueryHisAmountLogRsp:
  21481. properties:
  21482. OPERATETYPENAME:
  21483. description: 资金操作类型名称
  21484. type: string
  21485. accountid:
  21486. description: 资金账户ID
  21487. type: integer
  21488. agoodscode:
  21489. description: 竞拍商品代码
  21490. type: string
  21491. agoodsname:
  21492. description: 竞拍商品名称
  21493. type: string
  21494. amount:
  21495. description: 资金金额
  21496. type: number
  21497. amountadjusttype:
  21498. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  21499. type: integer
  21500. autoid:
  21501. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  21502. type: integer
  21503. balance:
  21504. description: 期初余额
  21505. type: number
  21506. businesscode:
  21507. description: 业务编号
  21508. type: integer
  21509. createtime:
  21510. description: 发生时间
  21511. type: string
  21512. currencyid:
  21513. description: 币种ID
  21514. type: integer
  21515. currentbalance:
  21516. description: 期末余额(变动后金额)
  21517. type: number
  21518. dgoodscode:
  21519. description: 交割商品代码
  21520. type: string
  21521. dgoodsname:
  21522. description: 交割商品名称
  21523. type: string
  21524. goodscode:
  21525. description: 商品代码
  21526. type: string
  21527. goodsid:
  21528. description: 商品ID
  21529. type: integer
  21530. goodsname:
  21531. description: 商品名称
  21532. type: string
  21533. histradedate:
  21534. description: 历史交易日
  21535. type: string
  21536. isvaliddata:
  21537. description: 是否有效 - 0:无效 1:有效
  21538. type: integer
  21539. marketid:
  21540. description: 市场ID
  21541. type: integer
  21542. marketname:
  21543. description: 市场名称
  21544. type: string
  21545. moneyticket:
  21546. description: 资金流水号:银行端流水号
  21547. type: integer
  21548. operatetype:
  21549. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  21550. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  21551. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  21552. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  21553. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  21554. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  21555. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  21556. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  21557. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  21558. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  21559. type: integer
  21560. relationorderid:
  21561. description: 关联单号
  21562. type: string
  21563. remark:
  21564. description: 备注
  21565. type: string
  21566. trademode:
  21567. description: 交易模式
  21568. type: integer
  21569. required:
  21570. - accountid
  21571. - amount
  21572. - amountadjusttype
  21573. - autoid
  21574. - balance
  21575. - createtime
  21576. - currentbalance
  21577. - histradedate
  21578. - operatetype
  21579. type: object
  21580. trade.QueryRecieptOrderRsp:
  21581. properties:
  21582. accountName:
  21583. description: 所属账号名称(已脱敏)
  21584. type: string
  21585. accountid:
  21586. description: 资金账号
  21587. type: integer
  21588. buyorsell:
  21589. description: 方向 - 0:买 1:卖
  21590. type: integer
  21591. enableqty:
  21592. description: 可摘数量
  21593. type: integer
  21594. goodscode:
  21595. description: 商品代码
  21596. type: string
  21597. goodsid:
  21598. description: 商品ID
  21599. type: integer
  21600. goodsname:
  21601. description: 商品名称
  21602. type: string
  21603. orderid:
  21604. description: 委托单号
  21605. type: string
  21606. orderprice:
  21607. description: 委托价格
  21608. type: number
  21609. ordertime:
  21610. description: 委托时间
  21611. type: string
  21612. tradedate:
  21613. description: 交易日(yyyyMMdd)
  21614. type: string
  21615. required:
  21616. - ordertime
  21617. type: object
  21618. user.LoginQueryRsp:
  21619. properties:
  21620. areaRoles:
  21621. description: 所属角色信息
  21622. items:
  21623. $ref: '#/definitions/models.Arearole'
  21624. type: array
  21625. externalExchanges:
  21626. description: 外部交易所
  21627. items:
  21628. $ref: '#/definitions/models.Externalexchange'
  21629. type: array
  21630. goodsgroups:
  21631. description: 商品组
  21632. items:
  21633. $ref: '#/definitions/models.Goodsgroup'
  21634. type: array
  21635. loginAccount:
  21636. $ref: '#/definitions/models.Loginaccount'
  21637. description: 登录账号
  21638. markets:
  21639. description: 市场
  21640. items:
  21641. $ref: '#/definitions/models.Market'
  21642. type: array
  21643. systemParams:
  21644. description: 系统参数
  21645. items:
  21646. $ref: '#/definitions/models.Systemparam'
  21647. type: array
  21648. userAccount:
  21649. $ref: '#/definitions/models.Useraccount'
  21650. description: 用户账号
  21651. userInfo:
  21652. $ref: '#/definitions/models.Userinfo'
  21653. description: 用户信息
  21654. username:
  21655. description: 用户姓名
  21656. type: string
  21657. type: object
  21658. info:
  21659. contact: {}
  21660. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  21661. termsOfService: http://www.muchinfo.cn
  21662. title: MTP2.0 查询服务 API
  21663. version: "1.0"
  21664. paths:
  21665. /CPTrade/QueryCPTradeMyBidInfos:
  21666. get:
  21667. parameters:
  21668. - description: 资金账户
  21669. in: query
  21670. name: accountid
  21671. required: true
  21672. type: integer
  21673. - description: 预售市场ID
  21674. in: query
  21675. name: marketid
  21676. type: integer
  21677. - description: 预售商品ID
  21678. in: query
  21679. name: goodsid
  21680. type: integer
  21681. produces:
  21682. - application/json
  21683. responses:
  21684. "200":
  21685. description: OK
  21686. schema:
  21687. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  21688. "500":
  21689. description: Internal Server Error
  21690. schema:
  21691. $ref: '#/definitions/app.Response'
  21692. security:
  21693. - ApiKeyAuth: []
  21694. summary: 查询产能预售我的出价信息
  21695. tags:
  21696. - 产能预售
  21697. /CPTrade/QueryCPTradeOrderDetail:
  21698. get:
  21699. parameters:
  21700. - description: 预售商品ID
  21701. in: query
  21702. name: goodsid
  21703. type: integer
  21704. - description: 预售市场ID
  21705. in: query
  21706. name: marketid
  21707. type: integer
  21708. - description: 预售商品ID列表 - 格式:1,2,3
  21709. in: query
  21710. name: goodsids
  21711. type: string
  21712. produces:
  21713. - application/json
  21714. responses:
  21715. "200":
  21716. description: OK
  21717. schema:
  21718. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  21719. "500":
  21720. description: Internal Server Error
  21721. schema:
  21722. $ref: '#/definitions/app.Response'
  21723. security:
  21724. - ApiKeyAuth: []
  21725. summary: 查询产能预售委托单信息
  21726. tags:
  21727. - 产能预售
  21728. /CPTrade/QueryMyCPTradeGoods:
  21729. get:
  21730. parameters:
  21731. - description: 资金账户
  21732. in: query
  21733. name: accountid
  21734. required: true
  21735. type: integer
  21736. produces:
  21737. - application/json
  21738. responses:
  21739. "200":
  21740. description: OK
  21741. schema:
  21742. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  21743. "500":
  21744. description: Internal Server Error
  21745. schema:
  21746. $ref: '#/definitions/app.Response'
  21747. security:
  21748. - ApiKeyAuth: []
  21749. summary: 查询我的预售信息
  21750. tags:
  21751. - 产能预售
  21752. /CPTrade/QueryPositionCancel:
  21753. get:
  21754. parameters:
  21755. - description: 账户ID
  21756. in: query
  21757. name: userid
  21758. required: true
  21759. type: integer
  21760. - description: 注销ID
  21761. in: query
  21762. name: cancelid
  21763. type: integer
  21764. - description: 资金账户ID
  21765. in: query
  21766. name: accountid
  21767. type: integer
  21768. produces:
  21769. - application/json
  21770. responses:
  21771. "200":
  21772. description: OK
  21773. schema:
  21774. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  21775. "500":
  21776. description: Internal Server Error
  21777. schema:
  21778. $ref: '#/definitions/app.Response'
  21779. security:
  21780. - ApiKeyAuth: []
  21781. summary: 查询远期订单注销申请信息
  21782. tags:
  21783. - 产能预售
  21784. /CPTrade/QueryPreasleApply:
  21785. get:
  21786. parameters:
  21787. - description: 账户ID
  21788. in: query
  21789. name: userid
  21790. required: true
  21791. type: integer
  21792. - description: 申请ID
  21793. in: query
  21794. name: applyid
  21795. type: integer
  21796. - description: 资金账户ID
  21797. in: query
  21798. name: accountid
  21799. type: integer
  21800. produces:
  21801. - application/json
  21802. responses:
  21803. "200":
  21804. description: OK
  21805. schema:
  21806. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  21807. "500":
  21808. description: Internal Server Error
  21809. schema:
  21810. $ref: '#/definitions/app.Response'
  21811. security:
  21812. - ApiKeyAuth: []
  21813. summary: 查询产能预售申请信息
  21814. tags:
  21815. - 产能预售
  21816. /CPTrade/QueryPresaleGoodsEx:
  21817. get:
  21818. parameters:
  21819. - description: 预售商品ID
  21820. in: query
  21821. name: goodsid
  21822. type: integer
  21823. - description: 预售市场ID
  21824. in: query
  21825. name: marketid
  21826. type: integer
  21827. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  21828. in: query
  21829. name: presalemode
  21830. type: integer
  21831. - description: 预售商品ID列表 - 格式:1,2,3
  21832. in: query
  21833. name: goodsids
  21834. type: string
  21835. - description: 预售商品代码
  21836. in: query
  21837. name: goodscode
  21838. type: string
  21839. produces:
  21840. - application/json
  21841. responses:
  21842. "200":
  21843. description: OK
  21844. schema:
  21845. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  21846. "500":
  21847. description: Internal Server Error
  21848. schema:
  21849. $ref: '#/definitions/app.Response'
  21850. security:
  21851. - ApiKeyAuth: []
  21852. summary: 查询产能预售商品扩展信息
  21853. tags:
  21854. - 产能预售
  21855. /CPTrade/QueryUserGoodsData:
  21856. get:
  21857. parameters:
  21858. - description: 资金账户ID
  21859. in: query
  21860. name: accountid
  21861. required: true
  21862. type: integer
  21863. produces:
  21864. - application/json
  21865. responses:
  21866. "200":
  21867. description: OK
  21868. schema:
  21869. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  21870. "500":
  21871. description: Internal Server Error
  21872. schema:
  21873. $ref: '#/definitions/app.Response'
  21874. security:
  21875. - ApiKeyAuth: []
  21876. summary: 查询远期订单信息
  21877. tags:
  21878. - 产能预售
  21879. /Common/GetAllEnums:
  21880. get:
  21881. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  21882. parameters:
  21883. - description: 起始自增ID
  21884. in: query
  21885. name: autoid
  21886. type: integer
  21887. produces:
  21888. - application/json
  21889. responses:
  21890. "200":
  21891. description: OK
  21892. schema:
  21893. $ref: '#/definitions/models.Enumdicitem'
  21894. "500":
  21895. description: Internal Server Error
  21896. schema:
  21897. $ref: '#/definitions/app.Response'
  21898. summary: 获取所有枚举信息
  21899. tags:
  21900. - 通用服务
  21901. /Common/GetClientMenus:
  21902. get:
  21903. parameters:
  21904. - description: 登录账号
  21905. in: query
  21906. name: loginID
  21907. required: true
  21908. type: integer
  21909. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  21910. in: query
  21911. name: clientType
  21912. type: integer
  21913. - description: 分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台
  21914. in: query
  21915. name: name
  21916. type: string
  21917. produces:
  21918. - application/json
  21919. responses:
  21920. "200":
  21921. description: OK
  21922. schema:
  21923. items:
  21924. $ref: '#/definitions/common.ClientMenu'
  21925. type: array
  21926. "500":
  21927. description: Internal Server Error
  21928. schema:
  21929. $ref: '#/definitions/app.Response'
  21930. security:
  21931. - ApiKeyAuth: []
  21932. summary: 获取交易端菜单
  21933. tags:
  21934. - 通用服务
  21935. /Common/GetDivisions:
  21936. get:
  21937. produces:
  21938. - application/json
  21939. responses:
  21940. "200":
  21941. description: OK
  21942. schema:
  21943. $ref: '#/definitions/models.Division'
  21944. "500":
  21945. description: Internal Server Error
  21946. schema:
  21947. $ref: '#/definitions/app.Response'
  21948. summary: 查询区域信息
  21949. tags:
  21950. - 通用服务
  21951. /Common/GetPCWebMenus:
  21952. get:
  21953. parameters:
  21954. - description: 登录账号
  21955. in: query
  21956. name: loginID
  21957. required: true
  21958. type: integer
  21959. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  21960. in: query
  21961. name: name
  21962. type: string
  21963. produces:
  21964. - application/json
  21965. responses:
  21966. "200":
  21967. description: OK
  21968. schema:
  21969. items:
  21970. $ref: '#/definitions/common.PCWebMenu'
  21971. type: array
  21972. "500":
  21973. description: Internal Server Error
  21974. schema:
  21975. $ref: '#/definitions/app.Response'
  21976. security:
  21977. - ApiKeyAuth: []
  21978. summary: 获取PCWeb交易端菜单
  21979. tags:
  21980. - 通用服务
  21981. /Common/GetServerTime:
  21982. get:
  21983. produces:
  21984. - application/json
  21985. responses:
  21986. "200":
  21987. description: OK
  21988. schema:
  21989. $ref: '#/definitions/app.Response'
  21990. "500":
  21991. description: Internal Server Error
  21992. schema:
  21993. $ref: '#/definitions/app.Response'
  21994. summary: 获取服务器时间
  21995. tags:
  21996. - 通用服务
  21997. /Common/NoticeReaded:
  21998. post:
  21999. parameters:
  22000. - description: 登录账号
  22001. in: query
  22002. name: loginID
  22003. required: true
  22004. type: integer
  22005. - description: 通知公告ID
  22006. in: query
  22007. name: noticeID
  22008. required: true
  22009. type: integer
  22010. produces:
  22011. - application/json
  22012. responses:
  22013. "200":
  22014. description: OK
  22015. schema:
  22016. $ref: '#/definitions/app.Response'
  22017. "500":
  22018. description: Internal Server Error
  22019. schema:
  22020. $ref: '#/definitions/app.Response'
  22021. security:
  22022. - ApiKeyAuth: []
  22023. summary: 通知公告设置已读请求
  22024. tags:
  22025. - 通用服务
  22026. /Common/QueryErrorInfos:
  22027. get:
  22028. description: 如果传入rowNumber,则返回此rowNumber后的数据
  22029. parameters:
  22030. - description: 起始行号前索引
  22031. in: query
  22032. name: rowNumber
  22033. type: string
  22034. produces:
  22035. - application/json
  22036. responses:
  22037. "200":
  22038. description: OK
  22039. schema:
  22040. $ref: '#/definitions/models.QueryErrorInfosRsp'
  22041. "500":
  22042. description: Internal Server Error
  22043. schema:
  22044. $ref: '#/definitions/app.Response'
  22045. summary: 获取数据库错误信息
  22046. tags:
  22047. - 通用服务
  22048. /Common/QueryImageConfigs:
  22049. get:
  22050. parameters:
  22051. - description: 用户id
  22052. in: query
  22053. name: userId
  22054. type: integer
  22055. - description: 类型 - 1:App首页轮播 2:我的 3:首页(PC) 4:首页推广(移动-新会)
  22056. in: query
  22057. name: imageType
  22058. type: integer
  22059. produces:
  22060. - application/json
  22061. responses:
  22062. "200":
  22063. description: OK
  22064. schema:
  22065. $ref: '#/definitions/common.QueryImageConfigsRsp'
  22066. "500":
  22067. description: Internal Server Error
  22068. schema:
  22069. $ref: '#/definitions/app.Response'
  22070. summary: 查询轮播图配置信息
  22071. tags:
  22072. - 通用服务
  22073. /Common/QueryNotice:
  22074. get:
  22075. parameters:
  22076. - description: 页码
  22077. in: query
  22078. name: page
  22079. type: integer
  22080. - description: 每页条数
  22081. in: query
  22082. name: pagesize
  22083. type: integer
  22084. - description: 登录账号
  22085. in: query
  22086. name: loginID
  22087. required: true
  22088. type: integer
  22089. - description: 消息类型 - 1:公告通知 2:系统消息
  22090. in: query
  22091. name: msgType
  22092. type: integer
  22093. - description: 是否只获取未读信息
  22094. in: query
  22095. name: onlyUnRead
  22096. type: boolean
  22097. - description: 自增ID,传入后会返回这个ID后面的记录
  22098. in: query
  22099. name: lastID
  22100. type: integer
  22101. produces:
  22102. - application/json
  22103. responses:
  22104. "200":
  22105. description: OK
  22106. schema:
  22107. $ref: '#/definitions/common.QueryNoticeRsp'
  22108. "500":
  22109. description: Internal Server Error
  22110. schema:
  22111. $ref: '#/definitions/app.Response'
  22112. security:
  22113. - ApiKeyAuth: []
  22114. summary: 通知公告系统消息查询
  22115. tags:
  22116. - 通用服务
  22117. /Common/QueryProvincesAndCities:
  22118. get:
  22119. parameters:
  22120. - description: 省ID
  22121. in: query
  22122. name: provinceID
  22123. type: integer
  22124. produces:
  22125. - application/json
  22126. responses:
  22127. "200":
  22128. description: OK
  22129. schema:
  22130. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  22131. "500":
  22132. description: Internal Server Error
  22133. schema:
  22134. $ref: '#/definitions/app.Response'
  22135. summary: 查询省市信息(不包括区)
  22136. tags:
  22137. - 通用服务
  22138. /Common/QueryTableDefine:
  22139. get:
  22140. parameters:
  22141. - description: 表key
  22142. in: query
  22143. name: tableKey
  22144. type: string
  22145. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  22146. in: query
  22147. name: tableType
  22148. type: integer
  22149. produces:
  22150. - application/json
  22151. responses:
  22152. "200":
  22153. description: OK
  22154. schema:
  22155. $ref: '#/definitions/common.QueryTableDefineRsp'
  22156. "500":
  22157. description: Internal Server Error
  22158. schema:
  22159. $ref: '#/definitions/app.Response'
  22160. summary: 查询交易端列表头信息
  22161. tags:
  22162. - 通用服务
  22163. /Common/QueryTraderMenu:
  22164. get:
  22165. parameters:
  22166. - description: 登录账号
  22167. in: query
  22168. name: loginid
  22169. required: true
  22170. type: integer
  22171. produces:
  22172. - application/json
  22173. responses:
  22174. "200":
  22175. description: OK
  22176. schema:
  22177. $ref: '#/definitions/common.QueryTraderMenuRsp'
  22178. "500":
  22179. description: Internal Server Error
  22180. schema:
  22181. $ref: '#/definitions/app.Response'
  22182. summary: 查询交易端菜单
  22183. tags:
  22184. - 通用服务
  22185. /Delivery/QueryDeliveryRelation:
  22186. get:
  22187. parameters:
  22188. - description: 商品ID
  22189. in: query
  22190. name: goodsid
  22191. type: integer
  22192. - description: 品种ID
  22193. in: query
  22194. name: deliverygoodsid
  22195. type: integer
  22196. - description: 市场ID
  22197. in: query
  22198. name: marketid
  22199. type: integer
  22200. produces:
  22201. - application/json
  22202. responses:
  22203. "200":
  22204. description: OK
  22205. schema:
  22206. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  22207. "500":
  22208. description: Internal Server Error
  22209. schema:
  22210. $ref: '#/definitions/app.Response'
  22211. security:
  22212. - ApiKeyAuth: []
  22213. summary: 查询商品交割关系表
  22214. tags:
  22215. - 交割服务
  22216. /Ermcp/GetErmcpGoods:
  22217. get:
  22218. parameters:
  22219. - description: 用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)
  22220. in: query
  22221. name: userid
  22222. type: integer
  22223. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  22224. in: query
  22225. name: lastUpdateTime
  22226. type: string
  22227. produces:
  22228. - application/json
  22229. responses:
  22230. "200":
  22231. description: OK
  22232. schema:
  22233. $ref: '#/definitions/models.ErmcpGoods'
  22234. "500":
  22235. description: Internal Server Error
  22236. schema:
  22237. $ref: '#/definitions/app.Response'
  22238. security:
  22239. - ApiKeyAuth: []
  22240. summary: 查询企业风管期货商品信息
  22241. tags:
  22242. - 企业风险管理(app)
  22243. /Ermcp/GetErmcpGoodsSortByPosition:
  22244. get:
  22245. parameters:
  22246. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  22247. in: query
  22248. name: sortIndex
  22249. type: string
  22250. produces:
  22251. - application/json
  22252. responses:
  22253. "200":
  22254. description: OK
  22255. schema:
  22256. $ref: '#/definitions/models.Goodssortbypreposition'
  22257. "500":
  22258. description: Internal Server Error
  22259. schema:
  22260. $ref: '#/definitions/app.Response'
  22261. security:
  22262. - ApiKeyAuth: []
  22263. summary: 查询企业风管期货主力、次主力商品信息
  22264. tags:
  22265. - 企业风险管理(app)
  22266. /Ermcp/GetErmcpOutAccountStatus:
  22267. get:
  22268. parameters:
  22269. - description: 登录账号
  22270. in: query
  22271. name: loginID
  22272. required: true
  22273. type: integer
  22274. produces:
  22275. - application/json
  22276. responses:
  22277. "200":
  22278. description: OK
  22279. schema:
  22280. $ref: '#/definitions/models.Hedgemarketopenlog'
  22281. "500":
  22282. description: Internal Server Error
  22283. schema:
  22284. $ref: '#/definitions/app.Response'
  22285. security:
  22286. - ApiKeyAuth: []
  22287. summary: 获取目标登录账号当前对冲账号在线状态
  22288. tags:
  22289. - 企业风险管理(app)
  22290. /Ermcp/GetErmcpRoleFuncMenuLists:
  22291. get:
  22292. parameters:
  22293. - description: 登录账号
  22294. in: query
  22295. name: loginID
  22296. required: true
  22297. type: integer
  22298. produces:
  22299. - application/json
  22300. responses:
  22301. "200":
  22302. description: OK
  22303. schema:
  22304. $ref: '#/definitions/models.Funcmenulist'
  22305. "500":
  22306. description: Internal Server Error
  22307. schema:
  22308. $ref: '#/definitions/app.Response'
  22309. security:
  22310. - ApiKeyAuth: []
  22311. summary: 获取企业风管终端权限
  22312. tags:
  22313. - 企业风险管理(app)
  22314. /Ermcp/QueryAccMgrBizGroupSet:
  22315. get:
  22316. parameters:
  22317. - description: 用户ID
  22318. in: query
  22319. name: userid
  22320. required: true
  22321. type: integer
  22322. - description: 现货商品id
  22323. in: query
  22324. name: deliverygoodsid
  22325. type: integer
  22326. produces:
  22327. - application/json
  22328. responses:
  22329. "200":
  22330. description: OK
  22331. schema:
  22332. items:
  22333. $ref: '#/definitions/models.ErmcpBizGroupEx'
  22334. type: array
  22335. "500":
  22336. description: Internal Server Error
  22337. schema:
  22338. $ref: '#/definitions/app.Response'
  22339. security:
  22340. - ApiKeyAuth: []
  22341. summary: 查询业务类型分组(账户管理/账户设置)
  22342. tags:
  22343. - 企业风险管理(app)
  22344. /Ermcp/QueryAccMgrLoginUser:
  22345. get:
  22346. parameters:
  22347. - description: 用户ID
  22348. in: query
  22349. name: userid
  22350. required: true
  22351. type: integer
  22352. - description: 用户类型 2-机构 7-企业成员
  22353. in: query
  22354. name: usertype
  22355. type: integer
  22356. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  22357. in: query
  22358. name: querytype
  22359. required: true
  22360. type: integer
  22361. produces:
  22362. - application/json
  22363. responses:
  22364. "200":
  22365. description: OK
  22366. schema:
  22367. items:
  22368. $ref: '#/definitions/models.ErmcpLoginUserEx'
  22369. type: array
  22370. "500":
  22371. description: Internal Server Error
  22372. schema:
  22373. $ref: '#/definitions/app.Response'
  22374. security:
  22375. - ApiKeyAuth: []
  22376. summary: 查询账户管理登录账号(账户管理/登录账号)
  22377. tags:
  22378. - 企业风险管理(app)
  22379. /Ermcp/QueryAccMgrMainAccountInfo:
  22380. get:
  22381. parameters:
  22382. - description: 用户ID
  22383. in: query
  22384. name: userid
  22385. type: integer
  22386. - description: 主账号id
  22387. in: query
  22388. name: accountid
  22389. type: integer
  22390. produces:
  22391. - application/json
  22392. responses:
  22393. "200":
  22394. description: OK
  22395. schema:
  22396. items:
  22397. $ref: '#/definitions/models.MainAccountInfo'
  22398. type: array
  22399. "500":
  22400. description: Internal Server Error
  22401. schema:
  22402. $ref: '#/definitions/app.Response'
  22403. security:
  22404. - ApiKeyAuth: []
  22405. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  22406. tags:
  22407. - 企业风险管理(app)
  22408. /Ermcp/QueryAccMgrRole:
  22409. get:
  22410. parameters:
  22411. - description: 用户ID
  22412. in: query
  22413. name: userid
  22414. required: true
  22415. type: integer
  22416. produces:
  22417. - application/json
  22418. responses:
  22419. "200":
  22420. description: OK
  22421. schema:
  22422. items:
  22423. $ref: '#/definitions/models.ErmcpRole'
  22424. type: array
  22425. "500":
  22426. description: Internal Server Error
  22427. schema:
  22428. $ref: '#/definitions/app.Response'
  22429. security:
  22430. - ApiKeyAuth: []
  22431. summary: 查询账户管理角色设置(账户管理/角色设置)
  22432. tags:
  22433. - 企业风险管理(app)
  22434. /Ermcp/QueryAccMgrRoleMenu:
  22435. get:
  22436. parameters:
  22437. - description: 用户ID
  22438. in: query
  22439. name: userid
  22440. required: true
  22441. type: integer
  22442. - description: 角色id(可多个,逗号隔开)
  22443. in: query
  22444. name: roleid
  22445. type: string
  22446. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  22447. in: query
  22448. name: menutype
  22449. type: integer
  22450. produces:
  22451. - application/json
  22452. responses:
  22453. "200":
  22454. description: OK
  22455. schema:
  22456. items:
  22457. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  22458. type: array
  22459. "500":
  22460. description: Internal Server Error
  22461. schema:
  22462. $ref: '#/definitions/app.Response'
  22463. security:
  22464. - ApiKeyAuth: []
  22465. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  22466. tags:
  22467. - 企业风险管理(app)
  22468. /Ermcp/QueryAccMgrTaAccountInfo:
  22469. get:
  22470. parameters:
  22471. - description: 用户ID
  22472. in: query
  22473. name: userid
  22474. required: true
  22475. type: integer
  22476. - description: 账号id
  22477. in: query
  22478. name: accountid
  22479. type: integer
  22480. produces:
  22481. - application/json
  22482. responses:
  22483. "200":
  22484. description: OK
  22485. schema:
  22486. items:
  22487. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  22488. type: array
  22489. "500":
  22490. description: Internal Server Error
  22491. schema:
  22492. $ref: '#/definitions/app.Response'
  22493. security:
  22494. - ApiKeyAuth: []
  22495. summary: 查询账户管理授信(账户管理/账户设置/授信)
  22496. tags:
  22497. - 企业风险管理(app)
  22498. /Ermcp/QueryAccMgrTaaccount:
  22499. get:
  22500. parameters:
  22501. - description: 用户ID
  22502. in: query
  22503. name: userid
  22504. required: true
  22505. type: integer
  22506. produces:
  22507. - application/json
  22508. responses:
  22509. "200":
  22510. description: OK
  22511. schema:
  22512. items:
  22513. $ref: '#/definitions/models.ErmcpTaAccountEx'
  22514. type: array
  22515. "500":
  22516. description: Internal Server Error
  22517. schema:
  22518. $ref: '#/definitions/app.Response'
  22519. security:
  22520. - ApiKeyAuth: []
  22521. summary: 查询账户管理期货账号(账户管理/期货账号)
  22522. tags:
  22523. - 企业风险管理(app)
  22524. /Ermcp/QueryAvaildGoodsGroup:
  22525. get:
  22526. parameters:
  22527. - description: 所属机构ID
  22528. in: query
  22529. name: userid
  22530. required: true
  22531. type: integer
  22532. produces:
  22533. - application/json
  22534. responses:
  22535. "200":
  22536. description: OK
  22537. schema:
  22538. items:
  22539. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  22540. type: array
  22541. "500":
  22542. description: Internal Server Error
  22543. schema:
  22544. $ref: '#/definitions/app.Response'
  22545. security:
  22546. - ApiKeyAuth: []
  22547. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  22548. tags:
  22549. - 企业风险管理(app)
  22550. /Ermcp/QueryBusinessDj:
  22551. get:
  22552. parameters:
  22553. - description: 用户ID
  22554. in: query
  22555. name: UserId
  22556. required: true
  22557. type: integer
  22558. - description: 用户类型 2-机构 7-企业成员
  22559. in: query
  22560. name: usertype
  22561. type: integer
  22562. - description: 现货合同ID, 不填则查所有
  22563. in: query
  22564. name: relatedid
  22565. type: string
  22566. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22567. in: query
  22568. name: applystatus
  22569. type: string
  22570. produces:
  22571. - application/json
  22572. responses:
  22573. "200":
  22574. description: OK
  22575. schema:
  22576. items:
  22577. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  22578. type: array
  22579. "500":
  22580. description: Internal Server Error
  22581. schema:
  22582. $ref: '#/definitions/app.Response'
  22583. security:
  22584. - ApiKeyAuth: []
  22585. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  22586. tags:
  22587. - 企业风险管理(app)
  22588. /Ermcp/QueryBusinessFp:
  22589. get:
  22590. parameters:
  22591. - description: 用户ID
  22592. in: query
  22593. name: UserId
  22594. required: true
  22595. type: integer
  22596. - description: 用户类型 2-机构 7-企业成员
  22597. in: query
  22598. name: usertype
  22599. type: integer
  22600. - description: 现货合同ID, 不填则查所有
  22601. in: query
  22602. name: relatedid
  22603. type: string
  22604. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22605. in: query
  22606. name: applystatus
  22607. type: string
  22608. produces:
  22609. - application/json
  22610. responses:
  22611. "200":
  22612. description: OK
  22613. schema:
  22614. items:
  22615. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  22616. type: array
  22617. "500":
  22618. description: Internal Server Error
  22619. schema:
  22620. $ref: '#/definitions/app.Response'
  22621. security:
  22622. - ApiKeyAuth: []
  22623. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  22624. tags:
  22625. - 企业风险管理(app)
  22626. /Ermcp/QueryBusinessJs:
  22627. get:
  22628. parameters:
  22629. - description: 用户ID
  22630. in: query
  22631. name: UserId
  22632. required: true
  22633. type: integer
  22634. - description: 用户类型 2-机构 7-企业成员
  22635. in: query
  22636. name: usertype
  22637. type: integer
  22638. - description: 现货合同ID, 不填则查所有
  22639. in: query
  22640. name: relatedid
  22641. type: string
  22642. - description: 操作申请id
  22643. in: query
  22644. name: operateapplyid
  22645. type: string
  22646. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22647. in: query
  22648. name: applystatus
  22649. type: string
  22650. produces:
  22651. - application/json
  22652. responses:
  22653. "200":
  22654. description: OK
  22655. schema:
  22656. items:
  22657. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  22658. type: array
  22659. "500":
  22660. description: Internal Server Error
  22661. schema:
  22662. $ref: '#/definitions/app.Response'
  22663. security:
  22664. - ApiKeyAuth: []
  22665. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  22666. tags:
  22667. - 企业风险管理(app)
  22668. /Ermcp/QueryBusinessJsEx:
  22669. get:
  22670. parameters:
  22671. - description: 用户ID
  22672. in: query
  22673. name: UserId
  22674. required: true
  22675. type: integer
  22676. - description: 用户类型 2-机构 7-企业成员
  22677. in: query
  22678. name: usertype
  22679. type: integer
  22680. - description: 现货合同ID, 不填则查所有
  22681. in: query
  22682. name: relatedid
  22683. type: string
  22684. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22685. in: query
  22686. name: applystatus
  22687. type: string
  22688. produces:
  22689. - application/json
  22690. responses:
  22691. "200":
  22692. description: OK
  22693. schema:
  22694. items:
  22695. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  22696. type: array
  22697. "500":
  22698. description: Internal Server Error
  22699. schema:
  22700. $ref: '#/definitions/app.Response'
  22701. security:
  22702. - ApiKeyAuth: []
  22703. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  22704. tags:
  22705. - 企业风险管理(app)
  22706. /Ermcp/QueryBusinessKx:
  22707. get:
  22708. parameters:
  22709. - description: 用户ID
  22710. in: query
  22711. name: UserId
  22712. required: true
  22713. type: integer
  22714. - description: 用户类型 2-机构 7-企业成员
  22715. in: query
  22716. name: usertype
  22717. type: integer
  22718. - description: 现货合同ID, 不填则查所有
  22719. in: query
  22720. name: relatedid
  22721. type: string
  22722. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22723. in: query
  22724. name: applystatus
  22725. type: string
  22726. produces:
  22727. - application/json
  22728. responses:
  22729. "200":
  22730. description: OK
  22731. schema:
  22732. items:
  22733. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  22734. type: array
  22735. "500":
  22736. description: Internal Server Error
  22737. schema:
  22738. $ref: '#/definitions/app.Response'
  22739. security:
  22740. - ApiKeyAuth: []
  22741. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  22742. tags:
  22743. - 企业风险管理(app)
  22744. /Ermcp/QueryChangeLog:
  22745. get:
  22746. parameters:
  22747. - description: 合同ID
  22748. in: query
  22749. name: RelatedId
  22750. required: true
  22751. type: string
  22752. produces:
  22753. - application/json
  22754. responses:
  22755. "200":
  22756. description: OK
  22757. schema:
  22758. items:
  22759. $ref: '#/definitions/ermcp.QryOPLogRsp'
  22760. type: array
  22761. "500":
  22762. description: Internal Server Error
  22763. schema:
  22764. $ref: '#/definitions/app.Response'
  22765. security:
  22766. - ApiKeyAuth: []
  22767. summary: 查询变更记录
  22768. tags:
  22769. - 企业风险管理(app)
  22770. /Ermcp/QueryErmcpHisOrderDetails:
  22771. get:
  22772. parameters:
  22773. - description: 资金账户ID
  22774. in: query
  22775. name: accountID
  22776. required: true
  22777. type: integer
  22778. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  22779. in: query
  22780. name: startDate
  22781. type: string
  22782. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  22783. in: query
  22784. name: endDate
  22785. type: string
  22786. produces:
  22787. - application/json
  22788. responses:
  22789. "200":
  22790. description: OK
  22791. schema:
  22792. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  22793. "500":
  22794. description: Internal Server Error
  22795. schema:
  22796. $ref: '#/definitions/app.Response'
  22797. security:
  22798. - ApiKeyAuth: []
  22799. summary: 获取企业风管期货历史委托单信息
  22800. tags:
  22801. - 企业风险管理(app)
  22802. /Ermcp/QueryErmcpHisTradeDetails:
  22803. get:
  22804. parameters:
  22805. - description: 资金账户ID
  22806. in: query
  22807. name: accountID
  22808. required: true
  22809. type: integer
  22810. - description: 商品ID
  22811. in: query
  22812. name: goodsID
  22813. type: integer
  22814. - description: 买卖方向,0:买 1:卖
  22815. in: query
  22816. name: buyOrSell
  22817. type: integer
  22818. - description: 关联委托单号
  22819. in: query
  22820. name: orderID
  22821. type: integer
  22822. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  22823. in: query
  22824. name: startDate
  22825. type: string
  22826. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  22827. in: query
  22828. name: endDate
  22829. type: string
  22830. produces:
  22831. - application/json
  22832. responses:
  22833. "200":
  22834. description: OK
  22835. schema:
  22836. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  22837. "500":
  22838. description: Internal Server Error
  22839. schema:
  22840. $ref: '#/definitions/app.Response'
  22841. security:
  22842. - ApiKeyAuth: []
  22843. summary: 获取企业风管期货历史成交单信息
  22844. tags:
  22845. - 企业风险管理(app)
  22846. /Ermcp/QueryErmcpInnerHolderDetails:
  22847. get:
  22848. parameters:
  22849. - description: 资金账户ID
  22850. in: query
  22851. name: accountID
  22852. required: true
  22853. type: integer
  22854. - description: 商品ID
  22855. in: query
  22856. name: goodsID
  22857. type: integer
  22858. - description: 买卖方向,0:买 1:卖
  22859. in: query
  22860. name: buyOrSell
  22861. type: integer
  22862. produces:
  22863. - application/json
  22864. responses:
  22865. "200":
  22866. description: OK
  22867. schema:
  22868. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  22869. "500":
  22870. description: Internal Server Error
  22871. schema:
  22872. $ref: '#/definitions/app.Response'
  22873. security:
  22874. - ApiKeyAuth: []
  22875. summary: 获取企业风管期货内部持仓单信息
  22876. tags:
  22877. - 企业风险管理(app)
  22878. /Ermcp/QueryErmcpOrderDetails:
  22879. get:
  22880. parameters:
  22881. - description: 资金账户ID
  22882. in: query
  22883. name: accountID
  22884. required: true
  22885. type: integer
  22886. produces:
  22887. - application/json
  22888. responses:
  22889. "200":
  22890. description: OK
  22891. schema:
  22892. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  22893. "500":
  22894. description: Internal Server Error
  22895. schema:
  22896. $ref: '#/definitions/app.Response'
  22897. security:
  22898. - ApiKeyAuth: []
  22899. summary: 获取企业风管期货委托单信息
  22900. tags:
  22901. - 企业风险管理(app)
  22902. /Ermcp/QueryErmcpTradeDetails:
  22903. get:
  22904. parameters:
  22905. - description: 资金账户ID
  22906. in: query
  22907. name: accountID
  22908. required: true
  22909. type: integer
  22910. - description: 商品ID
  22911. in: query
  22912. name: goodsID
  22913. type: integer
  22914. - description: 买卖方向,0:买 1:卖
  22915. in: query
  22916. name: buyOrSell
  22917. type: integer
  22918. - description: 关联委托单号
  22919. in: query
  22920. name: orderID
  22921. type: integer
  22922. produces:
  22923. - application/json
  22924. responses:
  22925. "200":
  22926. description: OK
  22927. schema:
  22928. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  22929. "500":
  22930. description: Internal Server Error
  22931. schema:
  22932. $ref: '#/definitions/app.Response'
  22933. security:
  22934. - ApiKeyAuth: []
  22935. summary: 获取企业风管期货成交单信息
  22936. tags:
  22937. - 企业风险管理(app)
  22938. /Ermcp/QueryErmcpTradePosition:
  22939. get:
  22940. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  22941. parameters:
  22942. - description: 资金账户ID
  22943. in: query
  22944. name: accountID
  22945. required: true
  22946. type: integer
  22947. - description: 所属市场ID
  22948. in: query
  22949. name: marketID
  22950. type: integer
  22951. produces:
  22952. - application/json
  22953. responses:
  22954. "200":
  22955. description: OK
  22956. schema:
  22957. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  22958. "500":
  22959. description: Internal Server Error
  22960. schema:
  22961. $ref: '#/definitions/app.Response'
  22962. security:
  22963. - ApiKeyAuth: []
  22964. summary: 获取企业风管期货持仓头寸信息
  22965. tags:
  22966. - 企业风险管理(app)
  22967. /Ermcp/QueryExposureDetail:
  22968. get:
  22969. parameters:
  22970. - description: 所属机构ID
  22971. in: query
  22972. name: areaUserId
  22973. required: true
  22974. type: integer
  22975. - description: 套保商品
  22976. in: query
  22977. name: middleGoodsId
  22978. required: true
  22979. type: integer
  22980. produces:
  22981. - application/json
  22982. responses:
  22983. "200":
  22984. description: OK
  22985. schema:
  22986. items:
  22987. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  22988. type: array
  22989. "500":
  22990. description: Internal Server Error
  22991. schema:
  22992. $ref: '#/definitions/app.Response'
  22993. security:
  22994. - ApiKeyAuth: []
  22995. summary: 查询敞口现货明细
  22996. tags:
  22997. - 企业风险管理(app)
  22998. /Ermcp/QueryExposureGoods:
  22999. get:
  23000. parameters:
  23001. - description: 套保商品id
  23002. in: query
  23003. name: middlegoodsid
  23004. required: true
  23005. type: integer
  23006. produces:
  23007. - application/json
  23008. responses:
  23009. "200":
  23010. description: OK
  23011. schema:
  23012. items:
  23013. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  23014. type: array
  23015. "500":
  23016. description: Internal Server Error
  23017. schema:
  23018. $ref: '#/definitions/app.Response'
  23019. security:
  23020. - ApiKeyAuth: []
  23021. summary: 查询敞口主力合约
  23022. tags:
  23023. - 企业风险管理(app)
  23024. /Ermcp/QueryExposureHedgePosition:
  23025. get:
  23026. parameters:
  23027. - description: 用户id
  23028. in: query
  23029. name: userid
  23030. required: true
  23031. type: integer
  23032. produces:
  23033. - application/json
  23034. responses:
  23035. "200":
  23036. description: OK
  23037. schema:
  23038. items:
  23039. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  23040. type: array
  23041. "500":
  23042. description: Internal Server Error
  23043. schema:
  23044. $ref: '#/definitions/app.Response'
  23045. security:
  23046. - ApiKeyAuth: []
  23047. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  23048. tags:
  23049. - 企业风险管理(app)
  23050. /Ermcp/QueryExposureHedgePositionDetail:
  23051. get:
  23052. parameters:
  23053. - description: 所属机构ID
  23054. in: query
  23055. name: userid
  23056. required: true
  23057. type: integer
  23058. - description: 商品id
  23059. in: query
  23060. name: goodsId
  23061. required: true
  23062. type: integer
  23063. produces:
  23064. - application/json
  23065. responses:
  23066. "200":
  23067. description: OK
  23068. schema:
  23069. items:
  23070. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  23071. type: array
  23072. "500":
  23073. description: Internal Server Error
  23074. schema:
  23075. $ref: '#/definitions/app.Response'
  23076. security:
  23077. - ApiKeyAuth: []
  23078. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  23079. tags:
  23080. - 企业风险管理(app)
  23081. /Ermcp/QueryExposureSpot:
  23082. get:
  23083. parameters:
  23084. - description: 所属机构ID
  23085. in: query
  23086. name: areaUserId
  23087. required: true
  23088. type: integer
  23089. produces:
  23090. - application/json
  23091. responses:
  23092. "200":
  23093. description: OK
  23094. schema:
  23095. items:
  23096. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  23097. type: array
  23098. "500":
  23099. description: Internal Server Error
  23100. schema:
  23101. $ref: '#/definitions/app.Response'
  23102. security:
  23103. - ApiKeyAuth: []
  23104. summary: 查询敞口现货头寸(敞口/现货头寸)
  23105. tags:
  23106. - 企业风险管理(app)
  23107. /Ermcp/QueryExposureSpotDetail:
  23108. get:
  23109. parameters:
  23110. - description: 所属机构ID
  23111. in: query
  23112. name: areaUserId
  23113. required: true
  23114. type: integer
  23115. - description: 现货品种ID
  23116. in: query
  23117. name: wrstandardId
  23118. required: true
  23119. type: integer
  23120. produces:
  23121. - application/json
  23122. responses:
  23123. "200":
  23124. description: OK
  23125. schema:
  23126. items:
  23127. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  23128. type: array
  23129. "500":
  23130. description: Internal Server Error
  23131. schema:
  23132. $ref: '#/definitions/app.Response'
  23133. security:
  23134. - ApiKeyAuth: []
  23135. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  23136. tags:
  23137. - 企业风险管理(app)
  23138. /Ermcp/QueryFuturesCompany:
  23139. get:
  23140. produces:
  23141. - application/json
  23142. responses:
  23143. "200":
  23144. description: OK
  23145. schema:
  23146. items:
  23147. $ref: '#/definitions/models.ErmcpFuturesCompany'
  23148. type: array
  23149. "500":
  23150. description: Internal Server Error
  23151. schema:
  23152. $ref: '#/definitions/app.Response'
  23153. security:
  23154. - ApiKeyAuth: []
  23155. summary: 查询期货公司
  23156. tags:
  23157. - 企业风险管理(app)
  23158. /Ermcp/QueryGGConvertConfig:
  23159. get:
  23160. parameters:
  23161. - description: 品种id(不填则查所有)
  23162. in: query
  23163. name: goodsgroupid
  23164. type: integer
  23165. produces:
  23166. - application/json
  23167. responses:
  23168. "200":
  23169. description: OK
  23170. schema:
  23171. items:
  23172. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  23173. type: array
  23174. "500":
  23175. description: Internal Server Error
  23176. schema:
  23177. $ref: '#/definitions/app.Response'
  23178. security:
  23179. - ApiKeyAuth: []
  23180. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  23181. tags:
  23182. - 企业风险管理(app)
  23183. /Ermcp/QueryGoodsBrand:
  23184. get:
  23185. parameters:
  23186. - description: 用户ID
  23187. in: query
  23188. name: userid
  23189. required: true
  23190. type: integer
  23191. - description: 现货商品ID
  23192. in: query
  23193. name: wrstandardid
  23194. type: integer
  23195. produces:
  23196. - application/json
  23197. responses:
  23198. "200":
  23199. description: OK
  23200. schema:
  23201. items:
  23202. $ref: '#/definitions/models.ErmcpGoodsBrand'
  23203. type: array
  23204. "500":
  23205. description: Internal Server Error
  23206. schema:
  23207. $ref: '#/definitions/app.Response'
  23208. security:
  23209. - ApiKeyAuth: []
  23210. summary: 查询商品品牌
  23211. tags:
  23212. - 企业风险管理(app)
  23213. /Ermcp/QueryGoodsModel:
  23214. get:
  23215. parameters:
  23216. - description: 用户ID
  23217. in: query
  23218. name: userid
  23219. required: true
  23220. type: integer
  23221. produces:
  23222. - application/json
  23223. responses:
  23224. "200":
  23225. description: OK
  23226. schema:
  23227. items:
  23228. $ref: '#/definitions/models.ErmcpGoodsModel'
  23229. type: array
  23230. "500":
  23231. description: Internal Server Error
  23232. schema:
  23233. $ref: '#/definitions/app.Response'
  23234. security:
  23235. - ApiKeyAuth: []
  23236. summary: 查询商品型号
  23237. tags:
  23238. - 企业风险管理(app)
  23239. /Ermcp/QueryHisExposure:
  23240. get:
  23241. parameters:
  23242. - description: 用户id
  23243. in: query
  23244. name: userid
  23245. required: true
  23246. type: integer
  23247. - description: 每个品种记录数
  23248. in: query
  23249. name: lastNum
  23250. required: true
  23251. type: integer
  23252. produces:
  23253. - application/json
  23254. responses:
  23255. "200":
  23256. description: OK
  23257. schema:
  23258. items:
  23259. $ref: '#/definitions/ermcp.HisExposureRsp'
  23260. type: array
  23261. "500":
  23262. description: Internal Server Error
  23263. schema:
  23264. $ref: '#/definitions/app.Response'
  23265. security:
  23266. - ApiKeyAuth: []
  23267. summary: 查询历史敞口(菜单:敞口/历史敞口)
  23268. tags:
  23269. - 企业风险管理(app)
  23270. /Ermcp/QueryMiddleGoods:
  23271. get:
  23272. parameters:
  23273. - description: 所属机构ID
  23274. in: query
  23275. name: userid
  23276. required: true
  23277. type: integer
  23278. - description: 状态 0-停用 1-正常
  23279. in: query
  23280. name: status
  23281. required: true
  23282. type: integer
  23283. produces:
  23284. - application/json
  23285. responses:
  23286. "200":
  23287. description: OK
  23288. schema:
  23289. items:
  23290. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  23291. type: array
  23292. "500":
  23293. description: Internal Server Error
  23294. schema:
  23295. $ref: '#/definitions/app.Response'
  23296. security:
  23297. - ApiKeyAuth: []
  23298. summary: 查询套保品种(菜单:套保品种)
  23299. tags:
  23300. - 企业风险管理(app)
  23301. /Ermcp/QueryMiddleGoodsChangeLog:
  23302. get:
  23303. parameters:
  23304. - description: 所属机构ID
  23305. in: query
  23306. name: userid
  23307. required: true
  23308. type: integer
  23309. - description: 套保品种id
  23310. in: query
  23311. name: middlegoodsid
  23312. required: true
  23313. type: integer
  23314. produces:
  23315. - application/json
  23316. responses:
  23317. "200":
  23318. description: OK
  23319. schema:
  23320. items:
  23321. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  23322. type: array
  23323. "500":
  23324. description: Internal Server Error
  23325. schema:
  23326. $ref: '#/definitions/app.Response'
  23327. security:
  23328. - ApiKeyAuth: []
  23329. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  23330. tags:
  23331. - 企业风险管理(app)
  23332. /Ermcp/QueryMiddleGoodsDetail:
  23333. get:
  23334. parameters:
  23335. - description: 所属机构ID
  23336. in: query
  23337. name: userid
  23338. required: true
  23339. type: integer
  23340. - description: 套保品种id
  23341. in: query
  23342. name: middlegoodsid
  23343. type: integer
  23344. produces:
  23345. - application/json
  23346. responses:
  23347. "200":
  23348. description: OK
  23349. schema:
  23350. items:
  23351. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  23352. type: array
  23353. "500":
  23354. description: Internal Server Error
  23355. schema:
  23356. $ref: '#/definitions/app.Response'
  23357. security:
  23358. - ApiKeyAuth: []
  23359. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  23360. tags:
  23361. - 企业风险管理(app)
  23362. /Ermcp/QueryPendingAuditInfo:
  23363. get:
  23364. parameters:
  23365. - description: 用户ID
  23366. in: query
  23367. name: UserId
  23368. required: true
  23369. type: integer
  23370. produces:
  23371. - application/json
  23372. responses:
  23373. "200":
  23374. description: OK
  23375. schema:
  23376. items:
  23377. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  23378. type: array
  23379. "500":
  23380. description: Internal Server Error
  23381. schema:
  23382. $ref: '#/definitions/app.Response'
  23383. security:
  23384. - ApiKeyAuth: []
  23385. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  23386. tags:
  23387. - 企业风险管理(app)
  23388. /Ermcp/QueryRealtimeExposure:
  23389. get:
  23390. parameters:
  23391. - description: 所属机构ID
  23392. in: query
  23393. name: userid
  23394. required: true
  23395. type: integer
  23396. produces:
  23397. - application/json
  23398. responses:
  23399. "200":
  23400. description: OK
  23401. schema:
  23402. items:
  23403. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  23404. type: array
  23405. "500":
  23406. description: Internal Server Error
  23407. schema:
  23408. $ref: '#/definitions/app.Response'
  23409. security:
  23410. - ApiKeyAuth: []
  23411. summary: 查询实时敞口
  23412. tags:
  23413. - 企业风险管理(app)
  23414. /Ermcp/QueryRealtimeExposurePosition:
  23415. get:
  23416. parameters:
  23417. - description: 用户id
  23418. in: query
  23419. name: userid
  23420. required: true
  23421. type: integer
  23422. - description: 套保商品ID
  23423. in: query
  23424. name: middleGoodsId
  23425. required: true
  23426. type: integer
  23427. produces:
  23428. - application/json
  23429. responses:
  23430. "200":
  23431. description: OK
  23432. schema:
  23433. items:
  23434. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  23435. type: array
  23436. "500":
  23437. description: Internal Server Error
  23438. schema:
  23439. $ref: '#/definitions/app.Response'
  23440. security:
  23441. - ApiKeyAuth: []
  23442. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  23443. tags:
  23444. - 企业风险管理(app)
  23445. /Ermcp/QueryRoleMenu:
  23446. get:
  23447. parameters:
  23448. - description: 登录ID
  23449. in: query
  23450. name: loginid
  23451. required: true
  23452. type: integer
  23453. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  23454. in: query
  23455. name: menutype
  23456. type: integer
  23457. produces:
  23458. - application/json
  23459. responses:
  23460. "200":
  23461. description: OK
  23462. schema:
  23463. items:
  23464. $ref: '#/definitions/models.RoleMenu'
  23465. type: array
  23466. "500":
  23467. description: Internal Server Error
  23468. schema:
  23469. $ref: '#/definitions/app.Response'
  23470. security:
  23471. - ApiKeyAuth: []
  23472. summary: 查询角色菜单和权限
  23473. tags:
  23474. - 企业风险管理(app)
  23475. /Ermcp/QueryTradeConfigTMP:
  23476. get:
  23477. parameters:
  23478. - description: 所属机构id
  23479. in: query
  23480. name: areauserid
  23481. type: integer
  23482. produces:
  23483. - application/json
  23484. responses:
  23485. "200":
  23486. description: OK
  23487. schema:
  23488. items:
  23489. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  23490. type: array
  23491. "500":
  23492. description: Internal Server Error
  23493. schema:
  23494. $ref: '#/definitions/app.Response'
  23495. security:
  23496. - ApiKeyAuth: []
  23497. summary: 查询交易模板配置
  23498. tags:
  23499. - 企业风险管理(app)
  23500. /Ermcp/QueryUserInfo:
  23501. get:
  23502. parameters:
  23503. - description: 所属机构用户ID
  23504. in: query
  23505. name: MemberUserID
  23506. required: true
  23507. type: integer
  23508. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  23509. in: query
  23510. name: queryType
  23511. required: true
  23512. type: integer
  23513. produces:
  23514. - application/json
  23515. responses:
  23516. "200":
  23517. description: OK
  23518. schema:
  23519. items:
  23520. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  23521. type: array
  23522. "500":
  23523. description: Internal Server Error
  23524. schema:
  23525. $ref: '#/definitions/app.Response'
  23526. security:
  23527. - ApiKeyAuth: []
  23528. summary: 查询客户资料
  23529. tags:
  23530. - 企业风险管理(app)
  23531. /Ermcp/QueryWarehouseInfo:
  23532. get:
  23533. parameters:
  23534. - description: 用户ID
  23535. in: query
  23536. name: userid
  23537. required: true
  23538. type: integer
  23539. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  23540. in: query
  23541. name: status
  23542. type: string
  23543. produces:
  23544. - application/json
  23545. responses:
  23546. "200":
  23547. description: OK
  23548. schema:
  23549. items:
  23550. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  23551. type: array
  23552. "500":
  23553. description: Internal Server Error
  23554. schema:
  23555. $ref: '#/definitions/app.Response'
  23556. security:
  23557. - ApiKeyAuth: []
  23558. summary: 查询仓库信息
  23559. tags:
  23560. - 企业风险管理(app)
  23561. /Ermcp3/QryAreaExpourseContractDetail:
  23562. get:
  23563. parameters:
  23564. - description: 用户ID
  23565. in: query
  23566. name: userid
  23567. required: true
  23568. type: integer
  23569. - description: 套保商品id
  23570. in: query
  23571. name: middlegoodsid
  23572. required: true
  23573. type: integer
  23574. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23575. in: query
  23576. name: cycletype
  23577. required: true
  23578. type: integer
  23579. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23580. 全(0)【原值】
  23581. in: query
  23582. name: cycletime
  23583. required: true
  23584. type: string
  23585. produces:
  23586. - application/json
  23587. responses:
  23588. "200":
  23589. description: OK
  23590. schema:
  23591. items:
  23592. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  23593. type: array
  23594. "500":
  23595. description: Internal Server Error
  23596. schema:
  23597. $ref: '#/definitions/app.Response'
  23598. security:
  23599. - ApiKeyAuth: []
  23600. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  23601. tags:
  23602. - 企业风险管理v3(app)
  23603. /Ermcp3/QryAreaExpourseFutuDetail:
  23604. get:
  23605. parameters:
  23606. - description: 用户ID
  23607. in: query
  23608. name: userid
  23609. required: true
  23610. type: integer
  23611. - description: 套保商品id
  23612. in: query
  23613. name: middlegoodsid
  23614. required: true
  23615. type: integer
  23616. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23617. in: query
  23618. name: cycletype
  23619. required: true
  23620. type: integer
  23621. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23622. 全(0)【原值】
  23623. in: query
  23624. name: cycletime
  23625. required: true
  23626. type: string
  23627. produces:
  23628. - application/json
  23629. responses:
  23630. "200":
  23631. description: OK
  23632. schema:
  23633. items:
  23634. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  23635. type: array
  23636. "500":
  23637. description: Internal Server Error
  23638. schema:
  23639. $ref: '#/definitions/app.Response'
  23640. security:
  23641. - ApiKeyAuth: []
  23642. summary: 查询敞口期货明细(敞口报表/期货明细)
  23643. tags:
  23644. - 企业风险管理v3(app)
  23645. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  23646. get:
  23647. parameters:
  23648. - description: 用户ID
  23649. in: query
  23650. name: userid
  23651. required: true
  23652. type: integer
  23653. - description: 套保商品id
  23654. in: query
  23655. name: middlegoodsid
  23656. required: true
  23657. type: integer
  23658. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23659. in: query
  23660. name: cycletype
  23661. required: true
  23662. type: integer
  23663. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23664. 全(0)【原值】
  23665. in: query
  23666. name: cycletime
  23667. required: true
  23668. type: string
  23669. produces:
  23670. - application/json
  23671. responses:
  23672. "200":
  23673. description: OK
  23674. schema:
  23675. items:
  23676. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  23677. type: array
  23678. "500":
  23679. description: Internal Server Error
  23680. schema:
  23681. $ref: '#/definitions/app.Response'
  23682. security:
  23683. - ApiKeyAuth: []
  23684. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  23685. tags:
  23686. - 企业风险管理v3(app)
  23687. /Ermcp3/QryAreaExpourseParamChLogDetail:
  23688. get:
  23689. parameters:
  23690. - description: 用户ID
  23691. in: query
  23692. name: userid
  23693. required: true
  23694. type: integer
  23695. - description: 套保商品id
  23696. in: query
  23697. name: middlegoodsid
  23698. required: true
  23699. type: integer
  23700. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23701. in: query
  23702. name: cycletype
  23703. required: true
  23704. type: integer
  23705. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23706. 全(0)【原值】
  23707. in: query
  23708. name: cycletime
  23709. required: true
  23710. type: string
  23711. produces:
  23712. - application/json
  23713. responses:
  23714. "200":
  23715. description: OK
  23716. schema:
  23717. items:
  23718. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  23719. type: array
  23720. "500":
  23721. description: Internal Server Error
  23722. schema:
  23723. $ref: '#/definitions/app.Response'
  23724. security:
  23725. - ApiKeyAuth: []
  23726. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  23727. tags:
  23728. - 企业风险管理v3(app)
  23729. /Ermcp3/QryAreaExpourseReport:
  23730. get:
  23731. parameters:
  23732. - description: 用户ID
  23733. in: query
  23734. name: userid
  23735. required: true
  23736. type: integer
  23737. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  23738. in: query
  23739. name: querytype
  23740. required: true
  23741. type: integer
  23742. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23743. in: query
  23744. name: cycletype
  23745. required: true
  23746. type: integer
  23747. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23748. 全(0)【原值】
  23749. in: query
  23750. name: cycletime
  23751. required: true
  23752. type: string
  23753. produces:
  23754. - application/json
  23755. responses:
  23756. "200":
  23757. description: OK
  23758. schema:
  23759. items:
  23760. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  23761. type: array
  23762. "500":
  23763. description: Internal Server Error
  23764. schema:
  23765. $ref: '#/definitions/app.Response'
  23766. security:
  23767. - ApiKeyAuth: []
  23768. summary: 查询敞口报表
  23769. tags:
  23770. - 企业风险管理v3(app)
  23771. /Ermcp3/QryAreaSpotplReport:
  23772. get:
  23773. description: 目前pcweb的日/周/月报表与手机端的汇总维度不同, 所以增加了可选参数sumflag参数, pcweb请填1
  23774. parameters:
  23775. - description: 用户ID
  23776. in: query
  23777. name: userid
  23778. required: true
  23779. type: integer
  23780. - description: 查询类型 1-报表 2-报表明细
  23781. in: query
  23782. name: querytype
  23783. required: true
  23784. type: integer
  23785. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23786. in: query
  23787. name: cycletype
  23788. required: true
  23789. type: integer
  23790. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23791. 全(0)【原值】
  23792. in: query
  23793. name: cycletime
  23794. required: true
  23795. type: string
  23796. - description: 现货品种id(明细必填)
  23797. in: query
  23798. name: deliverygoodsid
  23799. type: integer
  23800. - description: 币种id(明细必填)
  23801. in: query
  23802. name: currencyid
  23803. type: integer
  23804. - description: 日/周/月报表汇总维度 1:品种+品类
  23805. in: query
  23806. name: sumflag
  23807. type: integer
  23808. produces:
  23809. - application/json
  23810. responses:
  23811. "200":
  23812. description: OK
  23813. schema:
  23814. items:
  23815. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  23816. type: array
  23817. "500":
  23818. description: Internal Server Error
  23819. schema:
  23820. $ref: '#/definitions/app.Response'
  23821. security:
  23822. - ApiKeyAuth: []
  23823. summary: 查询现货报表
  23824. tags:
  23825. - 企业风险管理v3(app)
  23826. /Ermcp3/QryAreaStockReport:
  23827. get:
  23828. parameters:
  23829. - description: 用户ID
  23830. in: query
  23831. name: userid
  23832. required: true
  23833. type: integer
  23834. - description: 查询类型 1-报表 2-报表明细
  23835. in: query
  23836. name: querytype
  23837. required: true
  23838. type: integer
  23839. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23840. in: query
  23841. name: cycletype
  23842. required: true
  23843. type: integer
  23844. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23845. 全(0)【原值】
  23846. in: query
  23847. name: cycletime
  23848. required: true
  23849. type: string
  23850. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  23851. in: query
  23852. name: sumfields
  23853. type: string
  23854. - description: 品种ID
  23855. in: query
  23856. name: deliverygoodsid
  23857. type: integer
  23858. - description: 品类ID
  23859. in: query
  23860. name: wrstandardid
  23861. type: integer
  23862. - description: 品牌ID
  23863. in: query
  23864. name: spotgoodsbrandid
  23865. type: integer
  23866. - description: 仓库ID
  23867. in: query
  23868. name: warehouseinfoid
  23869. type: integer
  23870. produces:
  23871. - application/json
  23872. responses:
  23873. "200":
  23874. description: OK
  23875. schema:
  23876. items:
  23877. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  23878. type: array
  23879. "500":
  23880. description: Internal Server Error
  23881. schema:
  23882. $ref: '#/definitions/app.Response'
  23883. security:
  23884. - ApiKeyAuth: []
  23885. summary: 查询库存报表
  23886. tags:
  23887. - 企业风险管理v3(app)
  23888. /Ermcp3/QryAreaSumPL:
  23889. get:
  23890. parameters:
  23891. - description: 用户ID
  23892. in: query
  23893. name: userid
  23894. required: true
  23895. type: integer
  23896. - description: 查询类型 1-报表 2-报表明细
  23897. in: query
  23898. name: querytype
  23899. required: true
  23900. type: integer
  23901. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23902. in: query
  23903. name: cycletype
  23904. required: true
  23905. type: integer
  23906. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23907. 全(0)【原值】
  23908. in: query
  23909. name: cycletime
  23910. required: true
  23911. type: string
  23912. - description: 币种id(明细必填)
  23913. in: query
  23914. name: currencyid
  23915. type: integer
  23916. produces:
  23917. - application/json
  23918. responses:
  23919. "200":
  23920. description: OK
  23921. schema:
  23922. items:
  23923. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  23924. type: array
  23925. "500":
  23926. description: Internal Server Error
  23927. schema:
  23928. $ref: '#/definitions/app.Response'
  23929. security:
  23930. - ApiKeyAuth: []
  23931. summary: 查询汇总损益表
  23932. tags:
  23933. - 企业风险管理v3(app)
  23934. /Ermcp3/QryFinanceReport:
  23935. get:
  23936. parameters:
  23937. - description: 用户ID
  23938. in: query
  23939. name: userid
  23940. required: true
  23941. type: integer
  23942. - description: 查询类型 1-报表 2-报表明细
  23943. in: query
  23944. name: querytype
  23945. required: true
  23946. type: integer
  23947. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23948. in: query
  23949. name: cycletype
  23950. required: true
  23951. type: integer
  23952. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23953. 全(0)【原值】
  23954. in: query
  23955. name: cycletime
  23956. required: true
  23957. type: string
  23958. - description: 币种id(报表明细必填)
  23959. in: query
  23960. name: currencyid
  23961. type: integer
  23962. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  23963. in: query
  23964. name: sumfields
  23965. type: string
  23966. produces:
  23967. - application/json
  23968. responses:
  23969. "200":
  23970. description: OK
  23971. schema:
  23972. items:
  23973. $ref: '#/definitions/models.Ermcp3FinanceReport'
  23974. type: array
  23975. "500":
  23976. description: Internal Server Error
  23977. schema:
  23978. $ref: '#/definitions/app.Response'
  23979. security:
  23980. - ApiKeyAuth: []
  23981. summary: 查询财务报表
  23982. tags:
  23983. - 企业风险管理v3(app)
  23984. /Ermcp3/QrySCMiddleGoodsReport:
  23985. get:
  23986. parameters:
  23987. - description: 用户ID
  23988. in: query
  23989. name: userid
  23990. required: true
  23991. type: integer
  23992. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23993. in: query
  23994. name: cycletype
  23995. required: true
  23996. type: integer
  23997. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23998. 全(0)【原值】
  23999. in: query
  24000. name: cycletime
  24001. required: true
  24002. type: string
  24003. - description: 合同id
  24004. in: query
  24005. name: spotcontractid
  24006. type: integer
  24007. - description: 套保品种id
  24008. in: query
  24009. name: middlegoodsid
  24010. type: integer
  24011. - description: 现货品种id
  24012. in: query
  24013. name: deliverygoodsid
  24014. type: integer
  24015. - description: 现货商品id
  24016. in: query
  24017. name: wrstandardid
  24018. type: integer
  24019. - description: 合同编号(模糊匹配)
  24020. in: query
  24021. name: contractno
  24022. type: string
  24023. produces:
  24024. - application/json
  24025. responses:
  24026. "200":
  24027. description: OK
  24028. schema:
  24029. items:
  24030. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  24031. type: array
  24032. "500":
  24033. description: Internal Server Error
  24034. schema:
  24035. $ref: '#/definitions/app.Response'
  24036. security:
  24037. - ApiKeyAuth: []
  24038. summary: 查询定价报表
  24039. tags:
  24040. - 企业风险管理v3(app)
  24041. /Ermcp3/QryTaFutureDataReport:
  24042. get:
  24043. parameters:
  24044. - description: 用户ID
  24045. in: query
  24046. name: userid
  24047. required: true
  24048. type: integer
  24049. - description: 查询类型 1-报表 2-报表明细
  24050. in: query
  24051. name: querytype
  24052. required: true
  24053. type: integer
  24054. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24055. in: query
  24056. name: cycletype
  24057. required: true
  24058. type: integer
  24059. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24060. 全(0)【原值】
  24061. in: query
  24062. name: cycletime
  24063. required: true
  24064. type: string
  24065. - description: 币种id(查明细必填)
  24066. in: query
  24067. name: currencyid
  24068. type: integer
  24069. - description: 品种id(查明细必填)
  24070. in: query
  24071. name: goodsgroupid
  24072. type: integer
  24073. - description: 商品id(查明细必填)
  24074. in: query
  24075. name: goodsid
  24076. type: integer
  24077. - description: 买卖方向(查明细必填)
  24078. in: query
  24079. name: buyorsell
  24080. type: integer
  24081. produces:
  24082. - application/json
  24083. responses:
  24084. "200":
  24085. description: OK
  24086. schema:
  24087. items:
  24088. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  24089. type: array
  24090. "500":
  24091. description: Internal Server Error
  24092. schema:
  24093. $ref: '#/definitions/app.Response'
  24094. security:
  24095. - ApiKeyAuth: []
  24096. summary: 查询期货报表
  24097. tags:
  24098. - 企业风险管理v3(app)
  24099. /Ermcp3/QueryAreaStock:
  24100. get:
  24101. parameters:
  24102. - description: 用户ID
  24103. in: query
  24104. name: userid
  24105. required: true
  24106. type: integer
  24107. produces:
  24108. - application/json
  24109. responses:
  24110. "200":
  24111. description: OK
  24112. schema:
  24113. items:
  24114. $ref: '#/definitions/models.Ermcp3AreaStock'
  24115. type: array
  24116. "500":
  24117. description: Internal Server Error
  24118. schema:
  24119. $ref: '#/definitions/app.Response'
  24120. security:
  24121. - ApiKeyAuth: []
  24122. summary: 查询机构库存(库存管理/当前库存)
  24123. tags:
  24124. - 企业风险管理v3(app)
  24125. /Ermcp3/QueryAreaStockApply:
  24126. get:
  24127. parameters:
  24128. - description: 用户ID
  24129. in: query
  24130. name: userid
  24131. required: true
  24132. type: integer
  24133. - description: 用户类型 2-机构 7-企业成员
  24134. in: query
  24135. name: usertype
  24136. type: integer
  24137. - description: 现货商品ID
  24138. in: query
  24139. name: deliverygoodsid
  24140. type: integer
  24141. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  24142. in: query
  24143. name: inouttype
  24144. type: string
  24145. - description: 合同ID
  24146. in: query
  24147. name: spotcontractid
  24148. type: integer
  24149. - description: 品类ID
  24150. in: query
  24151. name: wrstandardid
  24152. type: integer
  24153. - description: 品牌ID
  24154. in: query
  24155. name: spotgoodsbrandid
  24156. type: integer
  24157. - description: 仓库ID
  24158. in: query
  24159. name: warehouseinfoid
  24160. type: integer
  24161. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24162. in: query
  24163. name: applystatus
  24164. type: string
  24165. produces:
  24166. - application/json
  24167. responses:
  24168. "200":
  24169. description: OK
  24170. schema:
  24171. items:
  24172. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  24173. type: array
  24174. "500":
  24175. description: Internal Server Error
  24176. schema:
  24177. $ref: '#/definitions/app.Response'
  24178. security:
  24179. - ApiKeyAuth: []
  24180. summary: 查询库存申请(出入库记录|库存审核)
  24181. tags:
  24182. - 企业风险管理v3(app)
  24183. /Ermcp3/QueryAreaStockApplySum:
  24184. get:
  24185. parameters:
  24186. - description: 合同ID
  24187. in: query
  24188. name: spotcontractid
  24189. required: true
  24190. type: integer
  24191. produces:
  24192. - application/json
  24193. responses:
  24194. "200":
  24195. description: OK
  24196. schema:
  24197. items:
  24198. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  24199. type: array
  24200. "500":
  24201. description: Internal Server Error
  24202. schema:
  24203. $ref: '#/definitions/app.Response'
  24204. security:
  24205. - ApiKeyAuth: []
  24206. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  24207. tags:
  24208. - 企业风险管理v3(app)
  24209. /Ermcp3/QueryDGFactoryItem:
  24210. get:
  24211. parameters:
  24212. - description: 用户id
  24213. in: query
  24214. name: userid
  24215. type: integer
  24216. - description: 用户类型 2-机构 7-企业成员
  24217. in: query
  24218. name: usertype
  24219. type: integer
  24220. - description: 选择项ID(SEQ_DGFACTORYITEM)
  24221. in: query
  24222. name: dgfactoryitemid
  24223. type: integer
  24224. - description: 现货品种ID
  24225. in: query
  24226. name: deliverygoodsid
  24227. type: integer
  24228. - description: 要素项类型
  24229. in: query
  24230. name: dgfactoryitemtypeid
  24231. type: integer
  24232. - description: 顺序
  24233. in: query
  24234. name: orderindex
  24235. type: integer
  24236. produces:
  24237. - application/json
  24238. responses:
  24239. "200":
  24240. description: OK
  24241. schema:
  24242. items:
  24243. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  24244. type: array
  24245. "500":
  24246. description: Internal Server Error
  24247. schema:
  24248. $ref: '#/definitions/app.Response'
  24249. security:
  24250. - ApiKeyAuth: []
  24251. summary: 查询品种要素定义项
  24252. tags:
  24253. - 企业风险管理v3(app)
  24254. /Ermcp3/QueryDeliveryGoods:
  24255. get:
  24256. parameters:
  24257. - description: 用户id
  24258. in: query
  24259. name: userid
  24260. required: true
  24261. type: integer
  24262. - description: 用户类型 2-机构 7-企业成员
  24263. in: query
  24264. name: usertype
  24265. type: integer
  24266. - description: 排除已配置的业务类型商品 1-套保 2-套利
  24267. in: query
  24268. name: excludecfg
  24269. type: integer
  24270. produces:
  24271. - application/json
  24272. responses:
  24273. "200":
  24274. description: OK
  24275. schema:
  24276. items:
  24277. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  24278. type: array
  24279. "500":
  24280. description: Internal Server Error
  24281. schema:
  24282. $ref: '#/definitions/app.Response'
  24283. security:
  24284. - ApiKeyAuth: []
  24285. summary: 查询现货商品
  24286. tags:
  24287. - 企业风险管理v3(app)
  24288. /Ermcp3/QueryDeliveryGoodsDetail:
  24289. get:
  24290. parameters:
  24291. - description: 用户id
  24292. in: query
  24293. name: userid
  24294. required: true
  24295. type: integer
  24296. - description: 用户类型 2-机构 7-企业成员
  24297. in: query
  24298. name: usertype
  24299. type: integer
  24300. - description: 现货商品id
  24301. in: query
  24302. name: deliverygoodsid
  24303. type: integer
  24304. - description: 过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示
  24305. in: query
  24306. name: filtersubempty
  24307. type: integer
  24308. produces:
  24309. - application/json
  24310. responses:
  24311. "200":
  24312. description: OK
  24313. schema:
  24314. items:
  24315. $ref: '#/definitions/models.XHDeliveryGoods'
  24316. type: array
  24317. "500":
  24318. description: Internal Server Error
  24319. schema:
  24320. $ref: '#/definitions/app.Response'
  24321. security:
  24322. - ApiKeyAuth: []
  24323. summary: 查询现货商品详情
  24324. tags:
  24325. - 企业风险管理v3(app)
  24326. /Ermcp3/QueryErmcp3ContractMiddleGoodsCfg:
  24327. get:
  24328. parameters:
  24329. - description: 合同id
  24330. in: query
  24331. name: spotcontractid
  24332. required: true
  24333. type: string
  24334. produces:
  24335. - application/json
  24336. responses:
  24337. "200":
  24338. description: OK
  24339. schema:
  24340. items:
  24341. $ref: '#/definitions/models.Ermcp3ContractMiddleGoodsCfg'
  24342. type: array
  24343. "500":
  24344. description: Internal Server Error
  24345. schema:
  24346. $ref: '#/definitions/app.Response'
  24347. security:
  24348. - ApiKeyAuth: []
  24349. summary: 查询现货合同期现配置信息
  24350. tags:
  24351. - 企业风险管理v3(app)
  24352. /Ermcp3/QueryExposureDetail:
  24353. get:
  24354. parameters:
  24355. - description: 用户id
  24356. in: query
  24357. name: userid
  24358. required: true
  24359. type: integer
  24360. - description: 用户类型 2-机构 7-企业成员
  24361. in: query
  24362. name: usertype
  24363. type: integer
  24364. - description: 套保商品
  24365. in: query
  24366. name: middlegoodsid
  24367. required: true
  24368. type: integer
  24369. produces:
  24370. - application/json
  24371. responses:
  24372. "200":
  24373. description: OK
  24374. schema:
  24375. items:
  24376. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  24377. type: array
  24378. "500":
  24379. description: Internal Server Error
  24380. schema:
  24381. $ref: '#/definitions/app.Response'
  24382. security:
  24383. - ApiKeyAuth: []
  24384. summary: 查询敞口现货明细
  24385. tags:
  24386. - 企业风险管理v3(app)
  24387. /Ermcp3/QueryExposureSpot:
  24388. get:
  24389. parameters:
  24390. - description: 用户id
  24391. in: query
  24392. name: userid
  24393. required: true
  24394. type: integer
  24395. - description: 用户类型 2-机构 7-企业成员
  24396. in: query
  24397. name: usertype
  24398. type: integer
  24399. produces:
  24400. - application/json
  24401. responses:
  24402. "200":
  24403. description: OK
  24404. schema:
  24405. items:
  24406. $ref: '#/definitions/models.Ermcp3AreaSpot'
  24407. type: array
  24408. "500":
  24409. description: Internal Server Error
  24410. schema:
  24411. $ref: '#/definitions/app.Response'
  24412. security:
  24413. - ApiKeyAuth: []
  24414. summary: 查询敞口现货头寸(敞口/现货头寸)
  24415. tags:
  24416. - 企业风险管理v3(app)
  24417. /Ermcp3/QueryExposureSpotDetail:
  24418. get:
  24419. parameters:
  24420. - description: 用户id
  24421. in: query
  24422. name: userid
  24423. required: true
  24424. type: integer
  24425. - description: 用户类型 2-机构 7-企业成员
  24426. in: query
  24427. name: usertype
  24428. type: integer
  24429. - description: 现货商品ID
  24430. in: query
  24431. name: wrstandardid
  24432. required: true
  24433. type: integer
  24434. produces:
  24435. - application/json
  24436. responses:
  24437. "200":
  24438. description: OK
  24439. schema:
  24440. items:
  24441. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  24442. type: array
  24443. "500":
  24444. description: Internal Server Error
  24445. schema:
  24446. $ref: '#/definitions/app.Response'
  24447. security:
  24448. - ApiKeyAuth: []
  24449. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  24450. tags:
  24451. - 企业风险管理v3(app)
  24452. /Ermcp3/QueryGoodsGroup:
  24453. get:
  24454. parameters:
  24455. - description: 用户id
  24456. in: query
  24457. name: userid
  24458. required: true
  24459. type: integer
  24460. - description: 用户类型 2-机构 7-企业成员
  24461. in: query
  24462. name: usertype
  24463. type: integer
  24464. - description: 排除套保品中已关联的商品组 1-排除
  24465. in: query
  24466. name: excludecfg
  24467. type: integer
  24468. produces:
  24469. - application/json
  24470. responses:
  24471. "200":
  24472. description: OK
  24473. schema:
  24474. items:
  24475. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  24476. type: array
  24477. "500":
  24478. description: Internal Server Error
  24479. schema:
  24480. $ref: '#/definitions/app.Response'
  24481. security:
  24482. - ApiKeyAuth: []
  24483. summary: 查询期货商品组
  24484. tags:
  24485. - 企业风险管理v3(app)
  24486. /Ermcp3/QueryGoodsWrstandard:
  24487. get:
  24488. parameters:
  24489. - description: 用户id
  24490. in: query
  24491. name: userid
  24492. required: true
  24493. type: integer
  24494. - description: 用户类型 2-机构 7-企业成员
  24495. in: query
  24496. name: usertype
  24497. type: integer
  24498. - description: 现货商品id
  24499. in: query
  24500. name: deliverygoodsid
  24501. type: integer
  24502. produces:
  24503. - application/json
  24504. responses:
  24505. "200":
  24506. description: OK
  24507. schema:
  24508. items:
  24509. $ref: '#/definitions/models.Ermcp3Wrstandard'
  24510. type: array
  24511. "500":
  24512. description: Internal Server Error
  24513. schema:
  24514. $ref: '#/definitions/app.Response'
  24515. security:
  24516. - ApiKeyAuth: []
  24517. summary: 查询商品品类
  24518. tags:
  24519. - 企业风险管理v3(app)
  24520. /Ermcp3/QueryGoodsbrand:
  24521. get:
  24522. parameters:
  24523. - description: 用户id
  24524. in: query
  24525. name: userid
  24526. required: true
  24527. type: integer
  24528. - description: 用户类型 2-机构 7-企业成员
  24529. in: query
  24530. name: usertype
  24531. type: integer
  24532. produces:
  24533. - application/json
  24534. responses:
  24535. "200":
  24536. description: OK
  24537. schema:
  24538. items:
  24539. $ref: '#/definitions/models.Ermcp3Brand'
  24540. type: array
  24541. "500":
  24542. description: Internal Server Error
  24543. schema:
  24544. $ref: '#/definitions/app.Response'
  24545. security:
  24546. - ApiKeyAuth: []
  24547. summary: 查询商品品牌
  24548. tags:
  24549. - 企业风险管理v3(app)
  24550. /Ermcp3/QueryHPMiddleGoods:
  24551. get:
  24552. parameters:
  24553. - description: 用户ID(填登录用户的userid)
  24554. in: query
  24555. name: userid
  24556. required: true
  24557. type: integer
  24558. - description: 买卖方向 0-买 1-卖
  24559. in: query
  24560. name: buyorsell
  24561. required: true
  24562. type: integer
  24563. - description: 商品组id
  24564. in: query
  24565. name: goodsgroupid
  24566. required: true
  24567. type: integer
  24568. - description: 套保计划编号(模糊匹配)
  24569. in: query
  24570. name: hedgeplanno
  24571. type: string
  24572. - description: 现货商品名称(模糊匹配)
  24573. in: query
  24574. name: wrstandardname
  24575. type: string
  24576. produces:
  24577. - application/json
  24578. responses:
  24579. "200":
  24580. description: OK
  24581. schema:
  24582. items:
  24583. $ref: '#/definitions/models.Ermcp3HPMiddleGoods'
  24584. type: array
  24585. "500":
  24586. description: Internal Server Error
  24587. schema:
  24588. $ref: '#/definitions/app.Response'
  24589. security:
  24590. - ApiKeyAuth: []
  24591. summary: 查询可关联套保计划
  24592. tags:
  24593. - 企业风险管理v3(app)
  24594. /Ermcp3/QueryHedgePlan:
  24595. get:
  24596. parameters:
  24597. - description: 用户ID
  24598. in: query
  24599. name: userid
  24600. required: true
  24601. type: integer
  24602. - description: 用户类型 2-机构 7-企业成员
  24603. in: query
  24604. name: usertype
  24605. type: integer
  24606. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  24607. in: query
  24608. name: hedgeplanstatus
  24609. required: true
  24610. type: string
  24611. produces:
  24612. - application/json
  24613. responses:
  24614. "200":
  24615. description: OK
  24616. schema:
  24617. items:
  24618. $ref: '#/definitions/models.Ermcp3HedgePlan'
  24619. type: array
  24620. "500":
  24621. description: Internal Server Error
  24622. schema:
  24623. $ref: '#/definitions/app.Response'
  24624. security:
  24625. - ApiKeyAuth: []
  24626. summary: 查询套保计划
  24627. tags:
  24628. - 企业风险管理v3(app)
  24629. /Ermcp3/QueryInnerTradeLink:
  24630. get:
  24631. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  24632. parameters:
  24633. - description: 外部成交单号
  24634. in: query
  24635. name: outtradeid
  24636. required: true
  24637. type: integer
  24638. produces:
  24639. - application/json
  24640. responses:
  24641. "200":
  24642. description: OK
  24643. schema:
  24644. items:
  24645. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  24646. type: array
  24647. "500":
  24648. description: Internal Server Error
  24649. schema:
  24650. $ref: '#/definitions/app.Response'
  24651. security:
  24652. - ApiKeyAuth: []
  24653. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  24654. tags:
  24655. - 企业风险管理v3(app)
  24656. /Ermcp3/QueryMiddleGoodsDetail:
  24657. get:
  24658. parameters:
  24659. - description: 用户id
  24660. in: query
  24661. name: userid
  24662. required: true
  24663. type: integer
  24664. - description: 用户类型 2-机构 7-企业成员
  24665. in: query
  24666. name: usertype
  24667. type: integer
  24668. - description: 套保品种id
  24669. in: query
  24670. name: middlegoodsid
  24671. type: integer
  24672. produces:
  24673. - application/json
  24674. responses:
  24675. "200":
  24676. description: OK
  24677. schema:
  24678. items:
  24679. $ref: '#/definitions/models.TBMiddleGoods'
  24680. type: array
  24681. "500":
  24682. description: Internal Server Error
  24683. schema:
  24684. $ref: '#/definitions/app.Response'
  24685. security:
  24686. - ApiKeyAuth: []
  24687. summary: 查询套保品种详情(套保品种/商品详情)
  24688. tags:
  24689. - 企业风险管理v3(app)
  24690. /Ermcp3/QueryOutTradeLink:
  24691. get:
  24692. description: 页面 app 现货->期现关联->外部成交单关联
  24693. parameters:
  24694. - description: 用户ID(填登录用户的userid)
  24695. in: query
  24696. name: userid
  24697. required: true
  24698. type: integer
  24699. - description: 外部订单号(模糊匹配)
  24700. in: query
  24701. name: outtradeid
  24702. type: string
  24703. - description: 合约名称/代码(模糊匹配)
  24704. in: query
  24705. name: goodsname
  24706. type: string
  24707. - description: 关联状态 0-未关联 1-已关联
  24708. in: query
  24709. name: hasinnerorder
  24710. type: integer
  24711. produces:
  24712. - application/json
  24713. responses:
  24714. "200":
  24715. description: OK
  24716. schema:
  24717. items:
  24718. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  24719. type: array
  24720. "500":
  24721. description: Internal Server Error
  24722. schema:
  24723. $ref: '#/definitions/app.Response'
  24724. security:
  24725. - ApiKeyAuth: []
  24726. summary: 查询外部成交单关联
  24727. tags:
  24728. - 企业风险管理v3(app)
  24729. /Ermcp3/QueryPaAreaAuditCfg:
  24730. get:
  24731. parameters:
  24732. - description: 用户id
  24733. in: query
  24734. name: userid
  24735. required: true
  24736. type: integer
  24737. produces:
  24738. - application/json
  24739. responses:
  24740. "200":
  24741. description: OK
  24742. schema:
  24743. items:
  24744. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  24745. type: array
  24746. "500":
  24747. description: Internal Server Error
  24748. schema:
  24749. $ref: '#/definitions/app.Response'
  24750. security:
  24751. - ApiKeyAuth: []
  24752. summary: 查询审核设置
  24753. tags:
  24754. - 企业风险管理v3(app)
  24755. /Ermcp3/QueryPaAreaSubject:
  24756. get:
  24757. parameters:
  24758. - description: 用户id
  24759. in: query
  24760. name: userid
  24761. required: true
  24762. type: integer
  24763. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  24764. in: query
  24765. name: subjectid
  24766. type: integer
  24767. - description: 主体类型 - 1:交易主体 2:业务部门
  24768. in: query
  24769. name: subjecttype
  24770. type: integer
  24771. - description: '主体状态 - 1:正常 2: 停用'
  24772. in: query
  24773. name: subjectstatus
  24774. type: integer
  24775. produces:
  24776. - application/json
  24777. responses:
  24778. "200":
  24779. description: OK
  24780. schema:
  24781. items:
  24782. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  24783. type: array
  24784. "500":
  24785. description: Internal Server Error
  24786. schema:
  24787. $ref: '#/definitions/app.Response'
  24788. security:
  24789. - ApiKeyAuth: []
  24790. summary: 查询交易主体
  24791. tags:
  24792. - 企业风险管理v3(app)
  24793. /Ermcp3/QueryPaTradeLink:
  24794. get:
  24795. description: 页面 app 现货->期现关联->期现单据关联
  24796. parameters:
  24797. - description: 用户ID
  24798. in: query
  24799. name: userid
  24800. required: true
  24801. type: integer
  24802. produces:
  24803. - application/json
  24804. responses:
  24805. "200":
  24806. description: OK
  24807. schema:
  24808. items:
  24809. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  24810. type: array
  24811. "500":
  24812. description: Internal Server Error
  24813. schema:
  24814. $ref: '#/definitions/app.Response'
  24815. security:
  24816. - ApiKeyAuth: []
  24817. summary: 查询期现单据关联
  24818. tags:
  24819. - 企业风险管理v3(app)
  24820. /Ermcp3/QueryPaTradeLinkDetail:
  24821. get:
  24822. description: 页面 app 现货->期现关联->关联记录
  24823. parameters:
  24824. - description: 用户ID(填登录用户的userid)
  24825. in: query
  24826. name: userid
  24827. required: true
  24828. type: integer
  24829. - description: 关联状态 1:成功 2:失败 3:解绑
  24830. in: query
  24831. name: linkstatus
  24832. type: integer
  24833. - description: 期货订单号(模糊匹配)
  24834. in: query
  24835. name: tradeid
  24836. type: string
  24837. - description: 现货编号(模糊匹配)
  24838. in: query
  24839. name: contractno
  24840. type: string
  24841. - description: 期货账户(模糊匹配)
  24842. in: query
  24843. name: taname
  24844. type: string
  24845. produces:
  24846. - application/json
  24847. responses:
  24848. "200":
  24849. description: OK
  24850. schema:
  24851. items:
  24852. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  24853. type: array
  24854. "500":
  24855. description: Internal Server Error
  24856. schema:
  24857. $ref: '#/definitions/app.Response'
  24858. security:
  24859. - ApiKeyAuth: []
  24860. summary: 查询期现关联记录
  24861. tags:
  24862. - 企业风险管理v3(app)
  24863. /Ermcp3/QueryParamChangeApp:
  24864. get:
  24865. description: |-
  24866. 原型页面:
  24867. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  24868. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  24869. parameters:
  24870. - description: 用户ID
  24871. in: query
  24872. name: userid
  24873. required: true
  24874. type: integer
  24875. - description: 现货品种id
  24876. in: query
  24877. name: deliverygoodsid
  24878. type: integer
  24879. - description: 现货商品id
  24880. in: query
  24881. name: wrstandardid
  24882. type: integer
  24883. - description: 套保商品id
  24884. in: query
  24885. name: middlegoodsid
  24886. type: integer
  24887. - description: 操作类型 1:新增 2:修改
  24888. in: query
  24889. name: operatetype
  24890. type: integer
  24891. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  24892. in: query
  24893. name: paramchangetype
  24894. type: integer
  24895. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24896. in: query
  24897. name: ftstatus
  24898. type: string
  24899. produces:
  24900. - application/json
  24901. responses:
  24902. "200":
  24903. description: OK
  24904. schema:
  24905. items:
  24906. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  24907. type: array
  24908. "500":
  24909. description: Internal Server Error
  24910. schema:
  24911. $ref: '#/definitions/app.Response'
  24912. security:
  24913. - ApiKeyAuth: []
  24914. summary: 查询现货商品参数变更申请(流水)
  24915. tags:
  24916. - 企业风险管理v3(app)
  24917. /Ermcp3/QueryRootUserAccount:
  24918. get:
  24919. parameters:
  24920. - description: 用户ID
  24921. in: query
  24922. name: userid
  24923. required: true
  24924. type: integer
  24925. produces:
  24926. - application/json
  24927. responses:
  24928. "200":
  24929. description: OK
  24930. schema:
  24931. items:
  24932. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  24933. type: array
  24934. "500":
  24935. description: Internal Server Error
  24936. schema:
  24937. $ref: '#/definitions/app.Response'
  24938. security:
  24939. - ApiKeyAuth: []
  24940. summary: 查询顶级用户信息
  24941. tags:
  24942. - 企业风险管理v3(app)
  24943. /Ermcp3/QuerySCMiddleGoods:
  24944. get:
  24945. description: |-
  24946. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  24947. 现货编号 即 合同编号
  24948. parameters:
  24949. - description: 用户ID(填登录用户的userid)
  24950. in: query
  24951. name: userid
  24952. required: true
  24953. type: integer
  24954. - description: 买卖方向 0-买 1-卖
  24955. in: query
  24956. name: buyorsell
  24957. required: true
  24958. type: integer
  24959. - description: 商品组id
  24960. in: query
  24961. name: goodsgroupid
  24962. required: true
  24963. type: integer
  24964. - description: 业务类型 1:套保 2:套利
  24965. in: query
  24966. name: biztype
  24967. type: integer
  24968. - description: 现货编号(模糊匹配)
  24969. in: query
  24970. name: contractno
  24971. type: string
  24972. - description: 对手方(模糊匹配)
  24973. in: query
  24974. name: customername
  24975. type: string
  24976. - description: 现货商品名称(模糊匹配)
  24977. in: query
  24978. name: wrstandardname
  24979. type: string
  24980. produces:
  24981. - application/json
  24982. responses:
  24983. "200":
  24984. description: OK
  24985. schema:
  24986. items:
  24987. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  24988. type: array
  24989. "500":
  24990. description: Internal Server Error
  24991. schema:
  24992. $ref: '#/definitions/app.Response'
  24993. security:
  24994. - ApiKeyAuth: []
  24995. summary: 查询现货订单
  24996. tags:
  24997. - 企业风险管理v3(app)
  24998. /Ermcp3/QuerySpotContract:
  24999. get:
  25000. parameters:
  25001. - description: 用户id(当指定contractid, userid可不填)
  25002. in: query
  25003. name: userid
  25004. required: true
  25005. type: integer
  25006. - description: 用户类型 2-机构 7-企业成员
  25007. in: query
  25008. name: usertype
  25009. type: integer
  25010. - description: 合同类型 1-采购, -1-销售
  25011. in: query
  25012. name: contracttype
  25013. type: integer
  25014. - description: 查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成
  25015. in: query
  25016. name: querytype
  25017. type: string
  25018. - description: 合同ID(SpotContractId)
  25019. in: query
  25020. name: contractid
  25021. type: string
  25022. - description: 合同编号(模糊匹配)
  25023. in: query
  25024. name: contractno
  25025. type: string
  25026. - description: 商品名称(模糊匹配)
  25027. in: query
  25028. name: wrstandardname
  25029. type: string
  25030. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  25031. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  25032. in: query
  25033. name: status
  25034. type: string
  25035. - description: 是否只查今日的合同 1-查今日合同
  25036. in: query
  25037. name: istoday
  25038. type: integer
  25039. produces:
  25040. - application/json
  25041. responses:
  25042. "200":
  25043. description: OK
  25044. schema:
  25045. items:
  25046. $ref: '#/definitions/models.Ermcp3Contract'
  25047. type: array
  25048. "500":
  25049. description: Internal Server Error
  25050. schema:
  25051. $ref: '#/definitions/app.Response'
  25052. security:
  25053. - ApiKeyAuth: []
  25054. summary: 查询现货合同
  25055. tags:
  25056. - 企业风险管理v3(app)
  25057. /Ermcp3/QuerySpotContractBS:
  25058. get:
  25059. parameters:
  25060. - description: 用户id
  25061. in: query
  25062. name: userid
  25063. required: true
  25064. type: integer
  25065. - description: 用户类型 2-机构 7-企业成员
  25066. in: query
  25067. name: usertype
  25068. type: integer
  25069. - description: 合同类型 1-采购, -1-销售
  25070. in: query
  25071. name: contracttype
  25072. required: true
  25073. type: integer
  25074. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  25075. in: query
  25076. name: querytype
  25077. type: integer
  25078. - description: 合同ID(SpotContractId)
  25079. in: query
  25080. name: contractid
  25081. type: string
  25082. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  25083. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  25084. in: query
  25085. name: status
  25086. type: string
  25087. - description: 是否只查今日的合同 1-查今日合同
  25088. in: query
  25089. name: istoday
  25090. type: integer
  25091. produces:
  25092. - application/json
  25093. responses:
  25094. "200":
  25095. description: OK
  25096. schema:
  25097. items:
  25098. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  25099. type: array
  25100. "500":
  25101. description: Internal Server Error
  25102. schema:
  25103. $ref: '#/definitions/app.Response'
  25104. security:
  25105. - ApiKeyAuth: []
  25106. summary: 查询合同(采购/销售)
  25107. tags:
  25108. - 企业风险管理v3(app)
  25109. /Ermcp3/QuerySpotGoodsPrice:
  25110. get:
  25111. parameters:
  25112. - description: 用户ID
  25113. in: query
  25114. name: userid
  25115. required: true
  25116. type: integer
  25117. produces:
  25118. - application/json
  25119. responses:
  25120. "200":
  25121. description: OK
  25122. schema:
  25123. items:
  25124. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  25125. type: array
  25126. "500":
  25127. description: Internal Server Error
  25128. schema:
  25129. $ref: '#/definitions/app.Response'
  25130. security:
  25131. - ApiKeyAuth: []
  25132. summary: 查询现货市价(现货市价)
  25133. tags:
  25134. - 企业风险管理v3(app)
  25135. /Ermcp3/QuerySpotGoodsPriceLog:
  25136. get:
  25137. parameters:
  25138. - description: 用户ID
  25139. in: query
  25140. name: userid
  25141. required: true
  25142. type: integer
  25143. - description: 现货商品ID
  25144. in: query
  25145. name: deliverygoodsid
  25146. required: true
  25147. type: integer
  25148. - description: 品牌ID
  25149. in: query
  25150. name: brandid
  25151. type: integer
  25152. - description: 品类ID
  25153. in: query
  25154. name: wrstandardid
  25155. type: integer
  25156. produces:
  25157. - application/json
  25158. responses:
  25159. "200":
  25160. description: OK
  25161. schema:
  25162. items:
  25163. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  25164. type: array
  25165. "500":
  25166. description: Internal Server Error
  25167. schema:
  25168. $ref: '#/definitions/app.Response'
  25169. security:
  25170. - ApiKeyAuth: []
  25171. summary: 查询现货市价详情(现货市价/详情)
  25172. tags:
  25173. - 企业风险管理v3(app)
  25174. /Ermcp3/QuerySubTaaccount:
  25175. get:
  25176. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  25177. parameters:
  25178. - description: 母账号id
  25179. in: query
  25180. name: parentaccountid
  25181. type: integer
  25182. - description: 母账号代码
  25183. in: query
  25184. name: parentaccountcode
  25185. type: string
  25186. produces:
  25187. - application/json
  25188. responses:
  25189. "200":
  25190. description: OK
  25191. schema:
  25192. items:
  25193. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  25194. type: array
  25195. "500":
  25196. description: Internal Server Error
  25197. schema:
  25198. $ref: '#/definitions/app.Response'
  25199. security:
  25200. - ApiKeyAuth: []
  25201. summary: 查询期货子账户
  25202. tags:
  25203. - 企业风险管理v3(app)
  25204. /Ermcp8/QueryERMCP2HedgedItemSpotDetail:
  25205. get:
  25206. parameters:
  25207. - description: 套期项目ID
  25208. in: query
  25209. name: hedgeditemid
  25210. required: true
  25211. type: integer
  25212. produces:
  25213. - application/json
  25214. responses:
  25215. "200":
  25216. description: OK
  25217. schema:
  25218. items:
  25219. $ref: '#/definitions/models.Ermcp2hedgeditemspotDetail'
  25220. type: array
  25221. "500":
  25222. description: Internal Server Error
  25223. schema:
  25224. $ref: '#/definitions/app.Response'
  25225. security:
  25226. - ApiKeyAuth: []
  25227. summary: 现货成交明细查询
  25228. tags:
  25229. - 企业风险管理v8
  25230. /Ermcp8/QueryERMCP2HedgedItemspot:
  25231. get:
  25232. parameters:
  25233. - description: 套期项目ID
  25234. in: query
  25235. name: hedgeditemid
  25236. required: true
  25237. type: integer
  25238. produces:
  25239. - application/json
  25240. responses:
  25241. "200":
  25242. description: OK
  25243. schema:
  25244. items:
  25245. $ref: '#/definitions/models.Ermcp2hedgeditemspot'
  25246. type: array
  25247. "500":
  25248. description: Internal Server Error
  25249. schema:
  25250. $ref: '#/definitions/app.Response'
  25251. security:
  25252. - ApiKeyAuth: []
  25253. summary: 套期计划明细查询
  25254. tags:
  25255. - 企业风险管理v8
  25256. /Ermcp8/QueryERMCPJRLinkPos:
  25257. get:
  25258. parameters:
  25259. - description: 套期项目ID
  25260. in: query
  25261. name: hedgeditemid
  25262. required: true
  25263. type: integer
  25264. produces:
  25265. - application/json
  25266. responses:
  25267. "200":
  25268. description: OK
  25269. schema:
  25270. items:
  25271. $ref: '#/definitions/models.Ermcpjrlinkpos'
  25272. type: array
  25273. "500":
  25274. description: Internal Server Error
  25275. schema:
  25276. $ref: '#/definitions/app.Response'
  25277. security:
  25278. - ApiKeyAuth: []
  25279. summary: 期货持仓明细查询
  25280. tags:
  25281. - 企业风险管理v8
  25282. /Ermcp8/QueryERMCPPatradeLinkDetail:
  25283. get:
  25284. parameters:
  25285. - description: 套期项目ID
  25286. in: query
  25287. name: hedgeditemid
  25288. required: true
  25289. type: integer
  25290. produces:
  25291. - application/json
  25292. responses:
  25293. "200":
  25294. description: OK
  25295. schema:
  25296. items:
  25297. $ref: '#/definitions/models.Ermcppatradelinkdetail'
  25298. type: array
  25299. "500":
  25300. description: Internal Server Error
  25301. schema:
  25302. $ref: '#/definitions/app.Response'
  25303. security:
  25304. - ApiKeyAuth: []
  25305. summary: 期货成交单明细查询
  25306. tags:
  25307. - 企业风险管理v8
  25308. /Ermcp8/QueryErmcp2AreaExposure:
  25309. get:
  25310. parameters:
  25311. - description: 用户ID
  25312. in: query
  25313. name: userid
  25314. required: true
  25315. type: string
  25316. produces:
  25317. - application/json
  25318. responses:
  25319. "200":
  25320. description: OK
  25321. schema:
  25322. items:
  25323. $ref: '#/definitions/models.Ermcp2AreaExposure'
  25324. type: array
  25325. "500":
  25326. description: Internal Server Error
  25327. schema:
  25328. $ref: '#/definitions/app.Response'
  25329. security:
  25330. - ApiKeyAuth: []
  25331. summary: 企业敞口查询
  25332. tags:
  25333. - 企业风险管理v8
  25334. /Ermcp8/QueryErmcp2HedgedItem:
  25335. get:
  25336. description: 已完成项目查询 -> 项目状态 = 3:正常完结 or 5:异常完结
  25337. parameters:
  25338. - description: 用户ID
  25339. in: query
  25340. name: userid
  25341. required: true
  25342. type: string
  25343. - description: 套期类型 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  25344. in: query
  25345. name: hedgedtype
  25346. type: integer
  25347. - description: 项目状态 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  25348. in: query
  25349. name: hedgeditemstatus
  25350. type: integer
  25351. produces:
  25352. - application/json
  25353. responses:
  25354. "200":
  25355. description: OK
  25356. schema:
  25357. items:
  25358. $ref: '#/definitions/models.Ermcp2hedgeditem'
  25359. type: array
  25360. "500":
  25361. description: Internal Server Error
  25362. schema:
  25363. $ref: '#/definitions/app.Response'
  25364. security:
  25365. - ApiKeyAuth: []
  25366. summary: 查询被套期项目信息
  25367. tags:
  25368. - 企业风险管理v8
  25369. /Ermcp8/QueryErmcp2HedgedItemsDetail:
  25370. get:
  25371. parameters:
  25372. - description: 用户ID
  25373. in: query
  25374. name: userid
  25375. required: true
  25376. type: integer
  25377. - description: 套保品种ID
  25378. in: query
  25379. name: middlegoodsid
  25380. required: true
  25381. type: integer
  25382. produces:
  25383. - application/json
  25384. responses:
  25385. "200":
  25386. description: OK
  25387. schema:
  25388. items:
  25389. $ref: '#/definitions/models.Ermcp2hedgeditemsDetail'
  25390. type: array
  25391. "500":
  25392. description: Internal Server Error
  25393. schema:
  25394. $ref: '#/definitions/app.Response'
  25395. security:
  25396. - ApiKeyAuth: []
  25397. summary: 敞口明细 - 计划变动明细
  25398. tags:
  25399. - 企业风险管理v8
  25400. /Ermcp8/QueryErmcp2StockSpotChangeLog:
  25401. get:
  25402. parameters:
  25403. - description: 用户ID
  25404. in: query
  25405. name: userid
  25406. required: true
  25407. type: integer
  25408. - description: 套保品种ID
  25409. in: query
  25410. name: middlegoodsid
  25411. required: true
  25412. type: integer
  25413. produces:
  25414. - application/json
  25415. responses:
  25416. "200":
  25417. description: OK
  25418. schema:
  25419. items:
  25420. $ref: '#/definitions/models.Ermcp2stockspotchangelog'
  25421. type: array
  25422. "500":
  25423. description: Internal Server Error
  25424. schema:
  25425. $ref: '#/definitions/app.Response'
  25426. security:
  25427. - ApiKeyAuth: []
  25428. summary: 敞口明细 - 现货变动明细查询
  25429. tags:
  25430. - 企业风险管理v8
  25431. /Ermcp8/QueryErmcp8EnableHedgeditem:
  25432. get:
  25433. parameters:
  25434. - description: 用户ID
  25435. in: query
  25436. name: userid
  25437. required: true
  25438. type: integer
  25439. - description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  25440. in: query
  25441. name: spottype
  25442. required: true
  25443. type: integer
  25444. produces:
  25445. - application/json
  25446. responses:
  25447. "200":
  25448. description: OK
  25449. schema:
  25450. items:
  25451. $ref: '#/definitions/models.Ermcp8EnableHedgeditem'
  25452. type: array
  25453. "500":
  25454. description: Internal Server Error
  25455. schema:
  25456. $ref: '#/definitions/app.Response'
  25457. security:
  25458. - ApiKeyAuth: []
  25459. summary: 可关联项目查询
  25460. tags:
  25461. - 企业风险管理v8
  25462. /Ermcp8/QueryErmcp8HedgeditemReport:
  25463. get:
  25464. parameters:
  25465. - description: 用户ID
  25466. in: query
  25467. name: userid
  25468. required: true
  25469. type: integer
  25470. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25471. in: query
  25472. name: cycletype
  25473. type: integer
  25474. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25475. 全(0)【原值】
  25476. in: query
  25477. name: cycletime
  25478. required: true
  25479. type: string
  25480. - description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  25481. in: query
  25482. name: hedgedtype
  25483. type: integer
  25484. - description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  25485. in: query
  25486. name: hedgeditemstatus
  25487. type: integer
  25488. - description: 项目编号,模糊查询
  25489. in: query
  25490. name: hedgeditemnum
  25491. type: string
  25492. - description: 现货商品ID
  25493. in: query
  25494. name: wrstandardid
  25495. type: integer
  25496. produces:
  25497. - application/json
  25498. responses:
  25499. "200":
  25500. description: OK
  25501. schema:
  25502. items:
  25503. $ref: '#/definitions/models.Ermcp8HedgeditemReport'
  25504. type: array
  25505. "500":
  25506. description: Internal Server Error
  25507. schema:
  25508. $ref: '#/definitions/app.Response'
  25509. security:
  25510. - ApiKeyAuth: []
  25511. summary: 套期项目报表查询
  25512. tags:
  25513. - 企业风险管理v8
  25514. /Ermcp8/QueryErmcp8RunningHedgeditem:
  25515. get:
  25516. parameters:
  25517. - description: 用户ID
  25518. in: query
  25519. name: userid
  25520. required: true
  25521. type: string
  25522. produces:
  25523. - application/json
  25524. responses:
  25525. "200":
  25526. description: OK
  25527. schema:
  25528. items:
  25529. $ref: '#/definitions/models.Ermcp8RunningHedgeditem'
  25530. type: array
  25531. "500":
  25532. description: Internal Server Error
  25533. schema:
  25534. $ref: '#/definitions/app.Response'
  25535. security:
  25536. - ApiKeyAuth: []
  25537. summary: 查询执行中项目查询信息
  25538. tags:
  25539. - 企业风险管理v8
  25540. /Ermcp8/QueryInternalEnableTradeDetail:
  25541. get:
  25542. parameters:
  25543. - description: 企业ID
  25544. in: query
  25545. name: areauserid
  25546. required: true
  25547. type: integer
  25548. - description: 期货合约ID
  25549. in: query
  25550. name: goodsid
  25551. required: true
  25552. type: integer
  25553. produces:
  25554. - application/json
  25555. responses:
  25556. "200":
  25557. description: OK
  25558. schema:
  25559. items:
  25560. $ref: '#/definitions/models.InternalEnableTradeDetail'
  25561. type: array
  25562. "500":
  25563. description: Internal Server Error
  25564. schema:
  25565. $ref: '#/definitions/app.Response'
  25566. security:
  25567. - ApiKeyAuth: []
  25568. summary: 内部成交单可关联项目查询
  25569. tags:
  25570. - 企业风险管理v8
  25571. /Ermcp8/QueryInternalUncorrelatedTradeDetail:
  25572. get:
  25573. parameters:
  25574. - description: 用户编号
  25575. in: query
  25576. name: userid
  25577. required: true
  25578. type: integer
  25579. - description: 起始日期(格式yyyymmdd)
  25580. in: query
  25581. name: begindate
  25582. type: string
  25583. - description: 终止日期(格式yyyymmdd)
  25584. in: query
  25585. name: enddate
  25586. type: string
  25587. - description: 合约代码
  25588. in: query
  25589. name: goodscode
  25590. type: string
  25591. - description: 合约名称
  25592. in: query
  25593. name: goodsname
  25594. type: string
  25595. - description: 成交单号
  25596. in: query
  25597. name: tradeid
  25598. type: integer
  25599. - description: 方向 - 0:买 1:卖
  25600. in: query
  25601. name: buyorsell
  25602. type: integer
  25603. - description: 套期主体
  25604. in: query
  25605. name: accountname
  25606. type: string
  25607. produces:
  25608. - application/json
  25609. responses:
  25610. "200":
  25611. description: OK
  25612. schema:
  25613. items:
  25614. $ref: '#/definitions/models.InternalUncorrelatedTradeDetail'
  25615. type: array
  25616. "500":
  25617. description: Internal Server Error
  25618. schema:
  25619. $ref: '#/definitions/app.Response'
  25620. security:
  25621. - ApiKeyAuth: []
  25622. summary: 内部未关联成交单查询
  25623. tags:
  25624. - 企业风险管理v8
  25625. /Ermcp8/QueryPatradeLinkDetail:
  25626. get:
  25627. parameters:
  25628. - description: 用户ID
  25629. in: query
  25630. name: userid
  25631. required: true
  25632. type: integer
  25633. - description: 套保品种ID
  25634. in: query
  25635. name: middlegoodsid
  25636. required: true
  25637. type: integer
  25638. produces:
  25639. - application/json
  25640. responses:
  25641. "200":
  25642. description: OK
  25643. schema:
  25644. items:
  25645. $ref: '#/definitions/models.Patradelinkdetail'
  25646. type: array
  25647. "500":
  25648. description: Internal Server Error
  25649. schema:
  25650. $ref: '#/definitions/app.Response'
  25651. security:
  25652. - ApiKeyAuth: []
  25653. summary: 敞口明细 - 期货变动明细
  25654. tags:
  25655. - 企业风险管理v8
  25656. /Ermcp8/QueryUnLinkErmcpHedgePlan:
  25657. get:
  25658. parameters:
  25659. - description: 企业ID
  25660. in: query
  25661. name: areauserid
  25662. required: true
  25663. type: integer
  25664. - description: 计划类型 - 1:采购 -1:销售
  25665. in: query
  25666. name: contracttype
  25667. type: integer
  25668. - description: 计划编号,模糊查询
  25669. in: query
  25670. name: hedgeplanno
  25671. type: string
  25672. - description: 现货商品,模糊查询
  25673. in: query
  25674. name: wrstandardname
  25675. type: string
  25676. produces:
  25677. - application/json
  25678. responses:
  25679. "200":
  25680. description: OK
  25681. schema:
  25682. items:
  25683. $ref: '#/definitions/models.Unlinkermcphedgeplan'
  25684. type: array
  25685. "500":
  25686. description: Internal Server Error
  25687. schema:
  25688. $ref: '#/definitions/app.Response'
  25689. security:
  25690. - ApiKeyAuth: []
  25691. summary: 未关联购销计划
  25692. tags:
  25693. - 企业风险管理v8
  25694. /Ermcp8/QueryUnLinkSpotContract:
  25695. get:
  25696. parameters:
  25697. - description: 用户ID
  25698. in: query
  25699. name: userid
  25700. required: true
  25701. type: integer
  25702. - description: 定价类型 - 1:一口价 2:点价 3:暂定价
  25703. in: query
  25704. name: pricetype
  25705. type: integer
  25706. - description: 合同编号, 模拟查询
  25707. in: query
  25708. name: contractno
  25709. type: string
  25710. - description: 对手方, 模拟查询
  25711. in: query
  25712. name: customername
  25713. type: string
  25714. - description: 项合同类型 - 1:采购 -1:销售
  25715. in: query
  25716. name: contracttype
  25717. type: integer
  25718. produces:
  25719. - application/json
  25720. responses:
  25721. "200":
  25722. description: OK
  25723. schema:
  25724. items:
  25725. $ref: '#/definitions/models.ErmcpSpotContractModelEx'
  25726. type: array
  25727. "500":
  25728. description: Internal Server Error
  25729. schema:
  25730. $ref: '#/definitions/app.Response'
  25731. security:
  25732. - ApiKeyAuth: []
  25733. summary: 未关联合同查询
  25734. tags:
  25735. - 企业风险管理v8
  25736. /Erms2/QueryArbitrageStrategy:
  25737. get:
  25738. parameters:
  25739. - description: 账户ID
  25740. in: query
  25741. name: userid
  25742. required: true
  25743. type: integer
  25744. - description: 商品组ID(品种ID)
  25745. in: query
  25746. name: goodsgroupid
  25747. type: string
  25748. produces:
  25749. - application/json
  25750. responses:
  25751. "200":
  25752. description: OK
  25753. schema:
  25754. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  25755. "500":
  25756. description: Internal Server Error
  25757. schema:
  25758. $ref: '#/definitions/app.Response'
  25759. security:
  25760. - ApiKeyAuth: []
  25761. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  25762. tags:
  25763. - 风险管理
  25764. /Erms2/QueryInnerTradeDetail:
  25765. get:
  25766. parameters:
  25767. - description: 资金账户
  25768. in: query
  25769. name: accountid
  25770. required: true
  25771. type: integer
  25772. produces:
  25773. - application/json
  25774. responses:
  25775. "200":
  25776. description: OK
  25777. schema:
  25778. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  25779. "500":
  25780. description: Internal Server Error
  25781. schema:
  25782. $ref: '#/definitions/app.Response'
  25783. security:
  25784. - ApiKeyAuth: []
  25785. summary: 查询内部成交单信息
  25786. tags:
  25787. - 风险管理
  25788. /Erms2/QuerySpotContract:
  25789. get:
  25790. parameters:
  25791. - description: 策略申请ID
  25792. in: query
  25793. name: asapplyid
  25794. required: true
  25795. type: integer
  25796. - description: 现货合同ID
  25797. in: query
  25798. name: spotcontractid
  25799. type: integer
  25800. produces:
  25801. - application/json
  25802. responses:
  25803. "200":
  25804. description: OK
  25805. schema:
  25806. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  25807. "500":
  25808. description: Internal Server Error
  25809. schema:
  25810. $ref: '#/definitions/app.Response'
  25811. security:
  25812. - ApiKeyAuth: []
  25813. summary: 查询现货合同表信息(指定策略ID、未结束的)
  25814. tags:
  25815. - 风险管理
  25816. /Erms3/AddErms2ASApply:
  25817. post:
  25818. parameters:
  25819. - description: 申请参数
  25820. in: body
  25821. name: jsonBody
  25822. required: true
  25823. schema:
  25824. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  25825. produces:
  25826. - application/json
  25827. responses:
  25828. "200":
  25829. description: OK
  25830. schema:
  25831. $ref: '#/definitions/app.Response'
  25832. "500":
  25833. description: Internal Server Error
  25834. schema:
  25835. $ref: '#/definitions/app.Response'
  25836. security:
  25837. - ApiKeyAuth: []
  25838. summary: 新增期现套利业务申请
  25839. tags:
  25840. - 风险管理v3
  25841. /Erms3/AddErms2SpotTradeApply:
  25842. post:
  25843. parameters:
  25844. - description: 申请参数
  25845. in: body
  25846. name: jsonBody
  25847. required: true
  25848. schema:
  25849. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  25850. produces:
  25851. - application/json
  25852. responses:
  25853. "200":
  25854. description: OK
  25855. schema:
  25856. $ref: '#/definitions/app.Response'
  25857. "500":
  25858. description: Internal Server Error
  25859. schema:
  25860. $ref: '#/definitions/app.Response'
  25861. security:
  25862. - ApiKeyAuth: []
  25863. summary: 新增现货贸易业务申请
  25864. tags:
  25865. - 风险管理v3
  25866. /Erms3/AddSpotContractApply:
  25867. post:
  25868. parameters:
  25869. - description: 申请参数
  25870. in: body
  25871. name: jsonBody
  25872. required: true
  25873. schema:
  25874. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  25875. produces:
  25876. - application/json
  25877. responses:
  25878. "200":
  25879. description: OK
  25880. schema:
  25881. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  25882. "500":
  25883. description: Internal Server Error
  25884. schema:
  25885. $ref: '#/definitions/app.Response'
  25886. security:
  25887. - ApiKeyAuth: []
  25888. summary: 新增现货合同申请
  25889. tags:
  25890. - 风险管理v3
  25891. /Erms3/AddUserInfoApply:
  25892. post:
  25893. parameters:
  25894. - description: 用户信息
  25895. in: body
  25896. name: jsonBody
  25897. required: true
  25898. schema:
  25899. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  25900. produces:
  25901. - application/json
  25902. responses:
  25903. "200":
  25904. description: OK
  25905. schema:
  25906. $ref: '#/definitions/app.Response'
  25907. "500":
  25908. description: Internal Server Error
  25909. schema:
  25910. $ref: '#/definitions/app.Response'
  25911. security:
  25912. - ApiKeyAuth: []
  25913. summary: 新增客户申请
  25914. tags:
  25915. - 风险管理v3
  25916. /Erms3/DeleteUserInfoApply:
  25917. get:
  25918. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  25919. parameters:
  25920. - description: 用户ID
  25921. in: query
  25922. name: userID
  25923. required: true
  25924. type: integer
  25925. produces:
  25926. - application/json
  25927. responses:
  25928. "200":
  25929. description: OK
  25930. schema:
  25931. $ref: '#/definitions/app.Response'
  25932. "500":
  25933. description: Internal Server Error
  25934. schema:
  25935. $ref: '#/definitions/app.Response'
  25936. security:
  25937. - ApiKeyAuth: []
  25938. summary: 删除客户申请
  25939. tags:
  25940. - 风险管理v3
  25941. /Erms3/ModifyUserInfoApply:
  25942. post:
  25943. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  25944. int, "userstate": 2 }'
  25945. parameters:
  25946. - description: 用户信息
  25947. in: body
  25948. name: jsonBody
  25949. required: true
  25950. schema:
  25951. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  25952. produces:
  25953. - application/json
  25954. responses:
  25955. "200":
  25956. description: OK
  25957. schema:
  25958. $ref: '#/definitions/app.Response'
  25959. "500":
  25960. description: Internal Server Error
  25961. schema:
  25962. $ref: '#/definitions/app.Response'
  25963. security:
  25964. - ApiKeyAuth: []
  25965. summary: 修改客户申请
  25966. tags:
  25967. - 风险管理v3
  25968. /Erms3/QueryBusinessInfo:
  25969. get:
  25970. parameters:
  25971. - description: 资金账号ID列表,用逗号分隔
  25972. in: query
  25973. name: accountids
  25974. required: true
  25975. type: string
  25976. - description: 状态,0为未结束 1为已结束
  25977. in: query
  25978. name: status
  25979. required: true
  25980. type: integer
  25981. produces:
  25982. - application/json
  25983. responses:
  25984. "200":
  25985. description: OK
  25986. schema:
  25987. items:
  25988. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  25989. type: array
  25990. "500":
  25991. description: Internal Server Error
  25992. schema:
  25993. $ref: '#/definitions/app.Response'
  25994. security:
  25995. - ApiKeyAuth: []
  25996. summary: 查询业务表单数据
  25997. tags:
  25998. - 风险管理v3
  25999. /Erms3/QueryPendingAuditContract:
  26000. get:
  26001. parameters:
  26002. - description: 资金账号ID列表,逗号隔开
  26003. in: query
  26004. name: accountids
  26005. required: true
  26006. type: string
  26007. - description: 合同类型 1-采购 -1-销售
  26008. in: query
  26009. name: contracttype
  26010. required: true
  26011. type: integer
  26012. - description: 合同模式 1-普通 2-回购
  26013. in: query
  26014. name: contractmode
  26015. required: true
  26016. type: integer
  26017. produces:
  26018. - application/json
  26019. responses:
  26020. "200":
  26021. description: OK
  26022. schema:
  26023. items:
  26024. $ref: '#/definitions/erms3.QryAuditContractRsp'
  26025. type: array
  26026. "500":
  26027. description: Internal Server Error
  26028. schema:
  26029. $ref: '#/definitions/app.Response'
  26030. security:
  26031. - ApiKeyAuth: []
  26032. summary: 查询待审核合同
  26033. tags:
  26034. - 风险管理v3
  26035. /Erms3/QueryPendingBusiness:
  26036. get:
  26037. parameters:
  26038. - description: 资金账号ID列表,逗号隔开
  26039. in: query
  26040. name: accountids
  26041. required: true
  26042. type: string
  26043. produces:
  26044. - application/json
  26045. responses:
  26046. "200":
  26047. description: OK
  26048. schema:
  26049. items:
  26050. $ref: '#/definitions/erms3.QryPendingBizRsp'
  26051. type: array
  26052. "500":
  26053. description: Internal Server Error
  26054. schema:
  26055. $ref: '#/definitions/app.Response'
  26056. security:
  26057. - ApiKeyAuth: []
  26058. summary: 查询待审核基差贸易业务
  26059. tags:
  26060. - 风险管理v3
  26061. /Erms3/QuerySpotContractAppleForm:
  26062. get:
  26063. parameters:
  26064. - description: 登录账号
  26065. in: query
  26066. name: loginID
  26067. required: true
  26068. type: integer
  26069. produces:
  26070. - application/json
  26071. responses:
  26072. "200":
  26073. description: OK
  26074. schema:
  26075. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  26076. "500":
  26077. description: Internal Server Error
  26078. schema:
  26079. $ref: '#/definitions/app.Response'
  26080. security:
  26081. - ApiKeyAuth: []
  26082. summary: 查询合同申请表单数据
  26083. tags:
  26084. - 风险管理v3
  26085. /Erms3/QuerySpotContractDetail:
  26086. get:
  26087. parameters:
  26088. - description: 资金账号ID列表,用逗号分隔
  26089. in: query
  26090. name: accountids
  26091. required: true
  26092. type: string
  26093. - description: 合同类型,1为采购合同 -1为销售合同
  26094. in: query
  26095. name: contracttype
  26096. required: true
  26097. type: integer
  26098. - description: 合同模式,1为普通合同 2为回购销售合同
  26099. in: query
  26100. name: contractmode
  26101. required: true
  26102. type: integer
  26103. - description: 状态,0为履约中 1为已完成
  26104. in: query
  26105. name: status
  26106. required: true
  26107. type: integer
  26108. produces:
  26109. - application/json
  26110. responses:
  26111. "200":
  26112. description: OK
  26113. schema:
  26114. items:
  26115. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  26116. type: array
  26117. "500":
  26118. description: Internal Server Error
  26119. schema:
  26120. $ref: '#/definitions/app.Response'
  26121. security:
  26122. - ApiKeyAuth: []
  26123. summary: 查询合同详细信息
  26124. tags:
  26125. - 风险管理v3
  26126. /Erms3/QueryUserInfoApplies:
  26127. get:
  26128. parameters:
  26129. - description: 页码
  26130. in: query
  26131. name: page
  26132. type: integer
  26133. - description: 每页条数
  26134. in: query
  26135. name: pagesize
  26136. type: integer
  26137. - description: 客户名称,支持模糊查询
  26138. in: query
  26139. name: userName
  26140. type: string
  26141. produces:
  26142. - application/json
  26143. responses:
  26144. "200":
  26145. description: OK
  26146. schema:
  26147. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  26148. "500":
  26149. description: Internal Server Error
  26150. schema:
  26151. $ref: '#/definitions/app.Response'
  26152. security:
  26153. - ApiKeyAuth: []
  26154. summary: 客户申请信息查询
  26155. tags:
  26156. - 风险管理v3
  26157. /Erms3/QueryUserInfos:
  26158. get:
  26159. parameters:
  26160. - description: 页码
  26161. in: query
  26162. name: page
  26163. type: integer
  26164. - description: 每页条数
  26165. in: query
  26166. name: pagesize
  26167. type: integer
  26168. - description: 客户名称,支持模糊查询
  26169. in: query
  26170. name: userName
  26171. type: string
  26172. produces:
  26173. - application/json
  26174. responses:
  26175. "200":
  26176. description: OK
  26177. schema:
  26178. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  26179. "500":
  26180. description: Internal Server Error
  26181. schema:
  26182. $ref: '#/definitions/app.Response'
  26183. security:
  26184. - ApiKeyAuth: []
  26185. summary: 客户信息查询
  26186. tags:
  26187. - 风险管理v3
  26188. /HSBY/GetHsbyMyCount:
  26189. get:
  26190. description: 说明: 不包括已完成的数量。
  26191. parameters:
  26192. - description: 资金账户列表,格式:1,2,3
  26193. in: query
  26194. name: accountIDs
  26195. required: true
  26196. type: string
  26197. produces:
  26198. - application/json
  26199. responses:
  26200. "200":
  26201. description: OK
  26202. schema:
  26203. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  26204. "500":
  26205. description: Internal Server Error
  26206. schema:
  26207. $ref: '#/definitions/app.Response'
  26208. security:
  26209. - ApiKeyAuth: []
  26210. summary: 获取我的订单与包裹数量
  26211. tags:
  26212. - 定制【海商报业】
  26213. /HSBY/QueryClientFixedADConfigs:
  26214. get:
  26215. produces:
  26216. - application/json
  26217. responses:
  26218. "200":
  26219. description: OK
  26220. schema:
  26221. $ref: '#/definitions/models.Clientfixedadconfig'
  26222. "500":
  26223. description: Internal Server Error
  26224. schema:
  26225. $ref: '#/definitions/app.Response'
  26226. security:
  26227. - ApiKeyAuth: []
  26228. summary: 获取终端固定广告配置
  26229. tags:
  26230. - 定制【海商报业】
  26231. /HSBY/QueryHsbyBuyMyTradeDetail:
  26232. get:
  26233. parameters:
  26234. - description: 页码
  26235. in: query
  26236. name: page
  26237. type: integer
  26238. - description: 每页条数
  26239. in: query
  26240. name: pagesize
  26241. type: integer
  26242. - description: 资金账户列表,格式:1,2,3
  26243. in: query
  26244. name: accountIDs
  26245. required: true
  26246. type: string
  26247. produces:
  26248. - application/json
  26249. responses:
  26250. "200":
  26251. description: OK
  26252. schema:
  26253. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  26254. "500":
  26255. description: Internal Server Error
  26256. schema:
  26257. $ref: '#/definitions/app.Response'
  26258. security:
  26259. - ApiKeyAuth: []
  26260. summary: 查询"我的订单 - 已完成"单据信息
  26261. tags:
  26262. - 定制【海商报业】
  26263. /HSBY/QueryHsbyGoodsOrderDetails:
  26264. get:
  26265. description: 说明:查询结果已按委托价格和委托时间排序
  26266. parameters:
  26267. - description: 商品ID
  26268. in: query
  26269. name: goodsID
  26270. required: true
  26271. type: integer
  26272. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  26273. in: query
  26274. name: accountIDs
  26275. type: string
  26276. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  26277. in: query
  26278. name: buyOrSell
  26279. type: integer
  26280. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  26281. in: query
  26282. name: price
  26283. type: number
  26284. - description: 档位,不传则默认为3档
  26285. in: query
  26286. name: speed
  26287. type: integer
  26288. produces:
  26289. - application/json
  26290. responses:
  26291. "200":
  26292. description: OK
  26293. schema:
  26294. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  26295. "500":
  26296. description: Internal Server Error
  26297. schema:
  26298. $ref: '#/definitions/app.Response'
  26299. security:
  26300. - ApiKeyAuth: []
  26301. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  26302. tags:
  26303. - 定制【海商报业】
  26304. /HSBY/QueryHsbyListingGoodsDetail:
  26305. get:
  26306. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  26307. parameters:
  26308. - description: 商品ID
  26309. in: query
  26310. name: goodsID
  26311. required: true
  26312. type: integer
  26313. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  26314. in: query
  26315. name: accountID
  26316. type: integer
  26317. produces:
  26318. - application/json
  26319. responses:
  26320. "200":
  26321. description: OK
  26322. schema:
  26323. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  26324. "500":
  26325. description: Internal Server Error
  26326. schema:
  26327. $ref: '#/definitions/app.Response'
  26328. security:
  26329. - ApiKeyAuth: []
  26330. summary: 查询二级市场(挂牌点选)商品信息详情
  26331. tags:
  26332. - 定制【海商报业】
  26333. /HSBY/QueryHsbyMarketGoodsDetail:
  26334. get:
  26335. parameters:
  26336. - description: 委托单号
  26337. in: query
  26338. name: orderID
  26339. required: true
  26340. type: integer
  26341. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  26342. in: query
  26343. name: accountID
  26344. type: integer
  26345. produces:
  26346. - application/json
  26347. responses:
  26348. "200":
  26349. description: OK
  26350. schema:
  26351. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  26352. "500":
  26353. description: Internal Server Error
  26354. schema:
  26355. $ref: '#/definitions/app.Response'
  26356. security:
  26357. - ApiKeyAuth: []
  26358. summary: 查询三级市场(商城)商品信息详情
  26359. tags:
  26360. - 定制【海商报业】
  26361. /HSBY/QueryHsbyMarketGoodses:
  26362. get:
  26363. parameters:
  26364. - description: 页码
  26365. in: query
  26366. name: page
  26367. type: integer
  26368. - description: 每页条数
  26369. in: query
  26370. name: pagesize
  26371. type: integer
  26372. - description: 市场ID列表,格式:1,2,3
  26373. in: query
  26374. name: marketIDs
  26375. required: true
  26376. type: string
  26377. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  26378. in: query
  26379. name: accountID
  26380. required: true
  26381. type: integer
  26382. - description: 类别ID
  26383. in: query
  26384. name: categoryID
  26385. type: integer
  26386. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  26387. in: query
  26388. name: goodsIDs
  26389. type: string
  26390. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  26391. in: query
  26392. name: couponTypeID
  26393. type: integer
  26394. produces:
  26395. - application/json
  26396. responses:
  26397. "200":
  26398. description: OK
  26399. schema:
  26400. $ref: '#/definitions/models.HsbyMarketGoods'
  26401. "500":
  26402. description: Internal Server Error
  26403. schema:
  26404. $ref: '#/definitions/app.Response'
  26405. security:
  26406. - ApiKeyAuth: []
  26407. summary: 查询特卖商品列表(三级商城)
  26408. tags:
  26409. - 定制【海商报业】
  26410. /HSBY/QueryHsbyMarkets:
  26411. get:
  26412. produces:
  26413. - application/json
  26414. responses:
  26415. "200":
  26416. description: OK
  26417. schema:
  26418. $ref: '#/definitions/models.HsbyMarketInfo'
  26419. "500":
  26420. description: Internal Server Error
  26421. schema:
  26422. $ref: '#/definitions/app.Response'
  26423. security:
  26424. - ApiKeyAuth: []
  26425. summary: 查询海商报业相关市场信息
  26426. tags:
  26427. - 定制【海商报业】
  26428. /HSBY/QueryHsbyMyBuyOrderDetails:
  26429. get:
  26430. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  26431. parameters:
  26432. - description: 资金账户列表,格式:1,2,3
  26433. in: query
  26434. name: accountIDs
  26435. required: true
  26436. type: string
  26437. produces:
  26438. - application/json
  26439. responses:
  26440. "200":
  26441. description: OK
  26442. schema:
  26443. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  26444. "500":
  26445. description: Internal Server Error
  26446. schema:
  26447. $ref: '#/definitions/app.Response'
  26448. security:
  26449. - ApiKeyAuth: []
  26450. summary: 查询“我的订单”信息
  26451. tags:
  26452. - 定制【海商报业】
  26453. /HSBY/QueryHsbyMyGoods:
  26454. get:
  26455. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  26456. parameters:
  26457. - description: 资金账户列表,格式:1,2,3
  26458. in: query
  26459. name: accountIDs
  26460. required: true
  26461. type: string
  26462. produces:
  26463. - application/json
  26464. responses:
  26465. "200":
  26466. description: OK
  26467. schema:
  26468. $ref: '#/definitions/models.HsbyMyGoods'
  26469. "500":
  26470. description: Internal Server Error
  26471. schema:
  26472. $ref: '#/definitions/app.Response'
  26473. security:
  26474. - ApiKeyAuth: []
  26475. summary: 查询“我的商品”信息
  26476. tags:
  26477. - 定制【海商报业】
  26478. /HSBY/QueryHsbyMyPackages:
  26479. get:
  26480. parameters:
  26481. - description: 资金账户列表,格式:1,2,3
  26482. in: query
  26483. name: accountIDs
  26484. required: true
  26485. type: string
  26486. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  26487. in: query
  26488. name: takeOrderStatus
  26489. type: integer
  26490. produces:
  26491. - application/json
  26492. responses:
  26493. "200":
  26494. description: OK
  26495. schema:
  26496. $ref: '#/definitions/models.HsbyMyPackage'
  26497. "500":
  26498. description: Internal Server Error
  26499. schema:
  26500. $ref: '#/definitions/app.Response'
  26501. security:
  26502. - ApiKeyAuth: []
  26503. summary: 查询我的包裹信息
  26504. tags:
  26505. - 定制【海商报业】
  26506. /HSBY/QueryHsbyPreGoodsDetail:
  26507. get:
  26508. parameters:
  26509. - description: 商品ID
  26510. in: query
  26511. name: goodsID
  26512. required: true
  26513. type: integer
  26514. - description: 资金账户,主要用于获取预售商品购买上限
  26515. in: query
  26516. name: accountID
  26517. type: integer
  26518. produces:
  26519. - application/json
  26520. responses:
  26521. "200":
  26522. description: OK
  26523. schema:
  26524. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  26525. "500":
  26526. description: Internal Server Error
  26527. schema:
  26528. $ref: '#/definitions/app.Response'
  26529. security:
  26530. - ApiKeyAuth: []
  26531. summary: 查询一级市场(预售)商品信息详情
  26532. tags:
  26533. - 定制【海商报业】
  26534. /HSBY/QueryHsbyPreGoodses:
  26535. get:
  26536. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  26537. parameters:
  26538. - description: 页码
  26539. in: query
  26540. name: page
  26541. type: integer
  26542. - description: 每页条数
  26543. in: query
  26544. name: pagesize
  26545. type: integer
  26546. - description: 市场ID列表,格式:1,2,3
  26547. in: query
  26548. name: marketIDs
  26549. required: true
  26550. type: string
  26551. - description: 目的地(省)ID
  26552. in: query
  26553. name: descProvinceID
  26554. type: integer
  26555. - description: 目的地(市)ID
  26556. in: query
  26557. name: descCityID
  26558. type: integer
  26559. produces:
  26560. - application/json
  26561. responses:
  26562. "200":
  26563. description: OK
  26564. schema:
  26565. $ref: '#/definitions/models.HsbyPreGoods'
  26566. "500":
  26567. description: Internal Server Error
  26568. schema:
  26569. $ref: '#/definitions/app.Response'
  26570. security:
  26571. - ApiKeyAuth: []
  26572. summary: 查询新品上市商品列表(一级市场预售)
  26573. tags:
  26574. - 定制【海商报业】
  26575. /HSBY/QueryHsbySellMyDetails:
  26576. get:
  26577. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  26578. parameters:
  26579. - description: 页码
  26580. in: query
  26581. name: page
  26582. type: integer
  26583. - description: 每页条数
  26584. in: query
  26585. name: pagesize
  26586. type: integer
  26587. - description: 资金账户列表,格式:1,2,3
  26588. in: query
  26589. name: accountIDs
  26590. required: true
  26591. type: string
  26592. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  26593. in: query
  26594. name: orderType
  26595. type: integer
  26596. produces:
  26597. - application/json
  26598. responses:
  26599. "200":
  26600. description: OK
  26601. schema:
  26602. $ref: '#/definitions/models.HsbySellMyDetail'
  26603. "500":
  26604. description: Internal Server Error
  26605. schema:
  26606. $ref: '#/definitions/app.Response'
  26607. security:
  26608. - ApiKeyAuth: []
  26609. summary: 查询"我的闲置"单据信息
  26610. tags:
  26611. - 定制【海商报业】
  26612. /HSBY/QueryHsbyTopGoodses:
  26613. get:
  26614. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  26615. parameters:
  26616. - description: 页码
  26617. in: query
  26618. name: page
  26619. type: integer
  26620. - description: 每页条数
  26621. in: query
  26622. name: pagesize
  26623. type: integer
  26624. - description: 市场ID列表,格式:1,2,3
  26625. in: query
  26626. name: marketIDs
  26627. required: true
  26628. type: string
  26629. - description: 目的地(省)ID
  26630. in: query
  26631. name: descProvinceID
  26632. type: integer
  26633. - description: 目的地(市)ID
  26634. in: query
  26635. name: descCityID
  26636. type: integer
  26637. produces:
  26638. - application/json
  26639. responses:
  26640. "200":
  26641. description: OK
  26642. schema:
  26643. $ref: '#/definitions/models.HsbyTopGoods'
  26644. "500":
  26645. description: Internal Server Error
  26646. schema:
  26647. $ref: '#/definitions/app.Response'
  26648. security:
  26649. - ApiKeyAuth: []
  26650. summary: 查询热卖商品列表(二级市场挂牌点选)
  26651. tags:
  26652. - 定制【海商报业】
  26653. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  26654. get:
  26655. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  26656. parameters:
  26657. - description: 商品ID
  26658. in: query
  26659. name: goodsID
  26660. required: true
  26661. type: integer
  26662. produces:
  26663. - application/json
  26664. responses:
  26665. "200":
  26666. description: OK
  26667. schema:
  26668. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  26669. "500":
  26670. description: Internal Server Error
  26671. schema:
  26672. $ref: '#/definitions/app.Response'
  26673. security:
  26674. - ApiKeyAuth: []
  26675. summary: 查询游客三级市场(商城)商品信息详情
  26676. tags:
  26677. - 定制【海商报业】
  26678. /HSBY/QueryHsbyVisitorMarketGoodses:
  26679. get:
  26680. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  26681. parameters:
  26682. - description: 页码
  26683. in: query
  26684. name: page
  26685. type: integer
  26686. - description: 每页条数
  26687. in: query
  26688. name: pagesize
  26689. type: integer
  26690. - description: 市场ID列表,格式:1,2,3
  26691. in: query
  26692. name: marketIDs
  26693. required: true
  26694. type: string
  26695. - description: 类别ID
  26696. in: query
  26697. name: categoryID
  26698. type: integer
  26699. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  26700. in: query
  26701. name: goodsIDs
  26702. type: string
  26703. produces:
  26704. - application/json
  26705. responses:
  26706. "200":
  26707. description: OK
  26708. schema:
  26709. $ref: '#/definitions/models.HsbyMarketGoods'
  26710. "500":
  26711. description: Internal Server Error
  26712. schema:
  26713. $ref: '#/definitions/app.Response'
  26714. security:
  26715. - ApiKeyAuth: []
  26716. summary: 查询游客特卖商品列表(三级商城)
  26717. tags:
  26718. - 定制【海商报业】
  26719. /HSBY/QueryMyCollectionOrders:
  26720. get:
  26721. parameters:
  26722. - description: 页码
  26723. in: query
  26724. name: page
  26725. type: integer
  26726. - description: 每页条数
  26727. in: query
  26728. name: pagesize
  26729. type: integer
  26730. - description: 资金账户,格式:1,2,3
  26731. in: query
  26732. name: accountIDs
  26733. required: true
  26734. type: string
  26735. produces:
  26736. - application/json
  26737. responses:
  26738. "200":
  26739. description: OK
  26740. schema:
  26741. $ref: '#/definitions/models.HsbySellCollectionOrder'
  26742. "500":
  26743. description: Internal Server Error
  26744. schema:
  26745. $ref: '#/definitions/app.Response'
  26746. security:
  26747. - ApiKeyAuth: []
  26748. summary: 我的闲置中收款信息查询
  26749. tags:
  26750. - 定制【海商报业】
  26751. /HSBY/QueryMyCouponHolds:
  26752. get:
  26753. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  26754. parameters:
  26755. - description: 资金账户列表,格式:1,2,3
  26756. in: query
  26757. name: accountIDs
  26758. required: true
  26759. type: string
  26760. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  26761. in: query
  26762. name: holdStatus
  26763. type: string
  26764. produces:
  26765. - application/json
  26766. responses:
  26767. "200":
  26768. description: OK
  26769. schema:
  26770. $ref: '#/definitions/models.MyCouponHold'
  26771. "500":
  26772. description: Internal Server Error
  26773. schema:
  26774. $ref: '#/definitions/app.Response'
  26775. security:
  26776. - ApiKeyAuth: []
  26777. summary: 我的优惠卷持仓查询
  26778. tags:
  26779. - 定制【海商报业】
  26780. /HSBY/QueryMyCoupons:
  26781. get:
  26782. parameters:
  26783. - description: 资金账户列表,格式:1,2,3
  26784. in: query
  26785. name: accountIDs
  26786. required: true
  26787. type: string
  26788. - description: 商品ID, 一般与sellUserID配套传入
  26789. in: query
  26790. name: goodsID
  26791. type: integer
  26792. - description: 卖方UserID
  26793. in: query
  26794. name: sellUserID
  26795. type: integer
  26796. produces:
  26797. - application/json
  26798. responses:
  26799. "200":
  26800. description: OK
  26801. schema:
  26802. $ref: '#/definitions/models.MyCoupon'
  26803. "500":
  26804. description: Internal Server Error
  26805. schema:
  26806. $ref: '#/definitions/app.Response'
  26807. security:
  26808. - ApiKeyAuth: []
  26809. summary: 我的优惠卷查询
  26810. tags:
  26811. - 定制【海商报业】
  26812. /HSBY/QueryMyPayOrders:
  26813. get:
  26814. parameters:
  26815. - description: 页码
  26816. in: query
  26817. name: page
  26818. type: integer
  26819. - description: 每页条数
  26820. in: query
  26821. name: pagesize
  26822. type: integer
  26823. - description: 资金账户列表,格式:1,2,3
  26824. in: query
  26825. name: accountIDs
  26826. required: true
  26827. type: string
  26828. - description: 买方委托单号
  26829. in: query
  26830. name: buyOrderID
  26831. type: integer
  26832. - description: 卖方委托单号
  26833. in: query
  26834. name: sellOrderID
  26835. type: integer
  26836. produces:
  26837. - application/json
  26838. responses:
  26839. "200":
  26840. description: OK
  26841. schema:
  26842. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  26843. "500":
  26844. description: Internal Server Error
  26845. schema:
  26846. $ref: '#/definitions/app.Response'
  26847. security:
  26848. - ApiKeyAuth: []
  26849. summary: 获取我的订单中待付款信息
  26850. tags:
  26851. - 定制【海商报业】
  26852. /HSBY/QueryMyUsedCoupon:
  26853. get:
  26854. parameters:
  26855. - description: 资金账户列表,格式:1,2,3
  26856. in: query
  26857. name: accountIDs
  26858. required: true
  26859. type: string
  26860. produces:
  26861. - application/json
  26862. responses:
  26863. "200":
  26864. description: OK
  26865. schema:
  26866. $ref: '#/definitions/models.MyUsedCoupon'
  26867. "500":
  26868. description: Internal Server Error
  26869. schema:
  26870. $ref: '#/definitions/app.Response'
  26871. security:
  26872. - ApiKeyAuth: []
  26873. summary: 已使用优惠卷查询
  26874. tags:
  26875. - 定制【海商报业】
  26876. /HSBY/QueryProvincesAndCities:
  26877. get:
  26878. description: 查询结果只包括二级市场商品已关连的省市信息。
  26879. parameters:
  26880. - description: 省ID
  26881. in: query
  26882. name: provinceID
  26883. type: integer
  26884. produces:
  26885. - application/json
  26886. responses:
  26887. "200":
  26888. description: OK
  26889. schema:
  26890. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  26891. "500":
  26892. description: Internal Server Error
  26893. schema:
  26894. $ref: '#/definitions/app.Response'
  26895. security:
  26896. - ApiKeyAuth: []
  26897. summary: 查询省市信息(不包括区)
  26898. tags:
  26899. - 定制【海商报业】
  26900. /HSBY/SetHsbyMyPackagesStatus:
  26901. post:
  26902. parameters:
  26903. - description: 提货单号
  26904. in: query
  26905. name: takeOrderID
  26906. required: true
  26907. type: string
  26908. - description: 资金账号
  26909. in: query
  26910. name: accountID
  26911. required: true
  26912. type: integer
  26913. produces:
  26914. - application/json
  26915. responses:
  26916. "200":
  26917. description: OK
  26918. schema:
  26919. $ref: '#/definitions/app.Response'
  26920. "500":
  26921. description: Internal Server Error
  26922. schema:
  26923. $ref: '#/definitions/app.Response'
  26924. security:
  26925. - ApiKeyAuth: []
  26926. summary: 设置我的包裹已收货状态
  26927. tags:
  26928. - 定制【海商报业】
  26929. /Market/GetAllExExchanges:
  26930. get:
  26931. produces:
  26932. - application/json
  26933. responses:
  26934. "200":
  26935. description: OK
  26936. schema:
  26937. $ref: '#/definitions/models.Goods'
  26938. "500":
  26939. description: Internal Server Error
  26940. schema:
  26941. $ref: '#/definitions/app.Response'
  26942. security:
  26943. - ApiKeyAuth: []
  26944. summary: 获取所有外部交易所信息
  26945. tags:
  26946. - 通用市场
  26947. /Market/QueryGoodsesByLoginID:
  26948. get:
  26949. parameters:
  26950. - description: 登录账号
  26951. in: query
  26952. name: loginID
  26953. required: true
  26954. type: integer
  26955. - description: 市场ID列表,格式:1,2,3
  26956. in: query
  26957. name: marketIDs
  26958. type: string
  26959. produces:
  26960. - application/json
  26961. responses:
  26962. "200":
  26963. description: OK
  26964. schema:
  26965. $ref: '#/definitions/models.Goods'
  26966. "500":
  26967. description: Internal Server Error
  26968. schema:
  26969. $ref: '#/definitions/app.Response'
  26970. security:
  26971. - ApiKeyAuth: []
  26972. summary: 获取登录账号有权限的商品信息
  26973. tags:
  26974. - 通用市场
  26975. /Market/QueryMarketRun:
  26976. get:
  26977. parameters:
  26978. - description: 市场ID,不传返回所有
  26979. in: query
  26980. name: marketID
  26981. type: integer
  26982. produces:
  26983. - application/json
  26984. responses:
  26985. "200":
  26986. description: OK
  26987. schema:
  26988. $ref: '#/definitions/models.Marketrun'
  26989. "500":
  26990. description: Internal Server Error
  26991. schema:
  26992. $ref: '#/definitions/app.Response'
  26993. security:
  26994. - ApiKeyAuth: []
  26995. summary: 查询市场运行信息
  26996. tags:
  26997. - 通用市场
  26998. /Market/QueryMarketsByLoginID:
  26999. get:
  27000. parameters:
  27001. - description: 登录账号
  27002. in: query
  27003. name: loginID
  27004. required: true
  27005. type: integer
  27006. produces:
  27007. - application/json
  27008. responses:
  27009. "200":
  27010. description: OK
  27011. schema:
  27012. $ref: '#/definitions/models.Market'
  27013. "500":
  27014. description: Internal Server Error
  27015. schema:
  27016. $ref: '#/definitions/app.Response'
  27017. security:
  27018. - ApiKeyAuth: []
  27019. summary: 获取登录账号有权限的市场信息
  27020. tags:
  27021. - 通用市场
  27022. /Order/QueryHisTradeDetail:
  27023. get:
  27024. parameters:
  27025. - description: 资金账户 - 格式:1,2,3
  27026. in: query
  27027. name: accountID
  27028. required: true
  27029. type: string
  27030. - description: 成交单号
  27031. in: query
  27032. name: tradeID
  27033. type: integer
  27034. - description: 委托单号
  27035. in: query
  27036. name: orderID
  27037. type: integer
  27038. - description: 商品ID
  27039. in: query
  27040. name: goodsID
  27041. type: integer
  27042. - description: 交易模式 - 格式:1,2,3
  27043. in: query
  27044. name: tradeMode
  27045. type: string
  27046. - description: 委托单据类型
  27047. in: query
  27048. name: buildType
  27049. type: integer
  27050. - description: 成交类别 - 格式:1,2,3
  27051. in: query
  27052. name: tradeType
  27053. type: string
  27054. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  27055. in: query
  27056. name: startDate
  27057. type: string
  27058. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  27059. in: query
  27060. name: endDate
  27061. type: string
  27062. produces:
  27063. - application/json
  27064. responses:
  27065. "200":
  27066. description: OK
  27067. schema:
  27068. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  27069. "500":
  27070. description: Internal Server Error
  27071. schema:
  27072. $ref: '#/definitions/app.Response'
  27073. security:
  27074. - ApiKeyAuth: []
  27075. summary: 历史成交单查询(合约市场)
  27076. tags:
  27077. - 通用单据
  27078. /Order/QueryHisTradeOrderDetail:
  27079. get:
  27080. parameters:
  27081. - description: 资金账户 - 格式:1,2,3
  27082. in: query
  27083. name: accountID
  27084. required: true
  27085. type: string
  27086. - description: 交易模式 - 格式:1,2,3
  27087. in: query
  27088. name: tradeMode
  27089. type: string
  27090. - description: 委托状态 - 格式:1,2,3
  27091. in: query
  27092. name: orderStatus
  27093. type: string
  27094. - description: 委托单号
  27095. in: query
  27096. name: orderID
  27097. type: integer
  27098. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  27099. in: query
  27100. name: startDate
  27101. type: string
  27102. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  27103. in: query
  27104. name: endDate
  27105. type: string
  27106. produces:
  27107. - application/json
  27108. responses:
  27109. "200":
  27110. description: OK
  27111. schema:
  27112. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  27113. "500":
  27114. description: Internal Server Error
  27115. schema:
  27116. $ref: '#/definitions/app.Response'
  27117. security:
  27118. - ApiKeyAuth: []
  27119. summary: 历史委托单查询请求(合约市场)
  27120. tags:
  27121. - 通用单据
  27122. /Order/QueryTradeDetail:
  27123. get:
  27124. parameters:
  27125. - description: 资金账户 - 格式:1,2,3
  27126. in: query
  27127. name: accountID
  27128. required: true
  27129. type: string
  27130. - description: 成交单号
  27131. in: query
  27132. name: tradeID
  27133. type: integer
  27134. - description: 委托单号
  27135. in: query
  27136. name: orderID
  27137. type: integer
  27138. - description: 交易模式 - 格式:1,2,3
  27139. in: query
  27140. name: tradeMode
  27141. type: string
  27142. - description: 委托单据类型
  27143. in: query
  27144. name: buildType
  27145. type: integer
  27146. - description: 成交类别 - 格式:1,2,3
  27147. in: query
  27148. name: tradeType
  27149. type: string
  27150. - description: 商品ID
  27151. in: query
  27152. name: goodsID
  27153. type: integer
  27154. produces:
  27155. - application/json
  27156. responses:
  27157. "200":
  27158. description: OK
  27159. schema:
  27160. $ref: '#/definitions/order.QueryTradeDetailRsp'
  27161. "500":
  27162. description: Internal Server Error
  27163. schema:
  27164. $ref: '#/definitions/app.Response'
  27165. security:
  27166. - ApiKeyAuth: []
  27167. summary: 成交单查询(合约市场)
  27168. tags:
  27169. - 通用单据
  27170. /Order/QueryTradeHolderDetail:
  27171. get:
  27172. parameters:
  27173. - description: 用户id
  27174. in: query
  27175. name: userid
  27176. type: integer
  27177. - description: 资金账号, 格式 1,2,3
  27178. in: query
  27179. name: accids
  27180. type: string
  27181. - description: 交易模式, 格式 1,2,3
  27182. in: query
  27183. name: trademodes
  27184. type: string
  27185. - description: 市场id, 格式 1,2,3
  27186. in: query
  27187. name: marketids
  27188. type: string
  27189. - description: 商品id
  27190. in: query
  27191. name: goodsid
  27192. type: integer
  27193. - description: 买卖方向 0-买 1-卖
  27194. in: query
  27195. name: buyorsell
  27196. type: integer
  27197. produces:
  27198. - application/json
  27199. responses:
  27200. "200":
  27201. description: OK
  27202. schema:
  27203. items:
  27204. $ref: '#/definitions/models.TradeHolderDetail'
  27205. type: array
  27206. "500":
  27207. description: Internal Server Error
  27208. schema:
  27209. $ref: '#/definitions/app.Response'
  27210. security:
  27211. - ApiKeyAuth: []
  27212. summary: 查询持仓明细
  27213. tags:
  27214. - 通用单据
  27215. /Order/QueryTradeOrderDetail:
  27216. get:
  27217. parameters:
  27218. - description: 资金账户 - 格式:1,2,3
  27219. in: query
  27220. name: accountID
  27221. required: true
  27222. type: string
  27223. - description: 交易模式 - 格式:1,2,3
  27224. in: query
  27225. name: tradeMode
  27226. type: string
  27227. - description: 委托状态 - 格式:1,2,3
  27228. in: query
  27229. name: orderStatus
  27230. type: string
  27231. - description: 委托单号
  27232. in: query
  27233. name: orderID
  27234. type: integer
  27235. produces:
  27236. - application/json
  27237. responses:
  27238. "200":
  27239. description: OK
  27240. schema:
  27241. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  27242. "500":
  27243. description: Internal Server Error
  27244. schema:
  27245. $ref: '#/definitions/app.Response'
  27246. security:
  27247. - ApiKeyAuth: []
  27248. summary: 委托单查询请求(合约市场)
  27249. tags:
  27250. - 通用单据
  27251. /Order/QueryTradePosition:
  27252. get:
  27253. parameters:
  27254. - description: 资金账户 - 格式:1,2,3
  27255. in: query
  27256. name: accountID
  27257. required: true
  27258. type: string
  27259. - description: 交易模式 - 格式:1,2,3
  27260. in: query
  27261. name: tradeMode
  27262. type: string
  27263. produces:
  27264. - application/json
  27265. responses:
  27266. "200":
  27267. description: OK
  27268. schema:
  27269. $ref: '#/definitions/order.QueryTradePositionRsp'
  27270. "500":
  27271. description: Internal Server Error
  27272. schema:
  27273. $ref: '#/definitions/app.Response'
  27274. security:
  27275. - ApiKeyAuth: []
  27276. summary: 持仓汇总查询(合约市场)
  27277. tags:
  27278. - 通用单据
  27279. /Qhj/QueryAccountInOutApply:
  27280. get:
  27281. parameters:
  27282. - description: 用户ID
  27283. in: query
  27284. name: userid
  27285. required: true
  27286. type: integer
  27287. - description: 申请起始日期(格式yyyymmdd)
  27288. in: query
  27289. name: begindate
  27290. type: string
  27291. - description: 申请截止日期(格式yyyymmdd)
  27292. in: query
  27293. name: enddate
  27294. type: string
  27295. - description: 模糊搜索名称
  27296. in: query
  27297. name: likename
  27298. type: string
  27299. produces:
  27300. - application/json
  27301. responses:
  27302. "200":
  27303. description: OK
  27304. schema:
  27305. items:
  27306. $ref: '#/definitions/models.QhjAccountOutInApply'
  27307. type: array
  27308. "500":
  27309. description: Internal Server Error
  27310. schema:
  27311. $ref: '#/definitions/app.Response'
  27312. security:
  27313. - ApiKeyAuth: []
  27314. summary: 查询充值提现
  27315. tags:
  27316. - 大连千海金
  27317. /Qhj/QueryAreaFinanceConfig:
  27318. get:
  27319. parameters:
  27320. - description: 机构用户ID 其他做市关系,都设置为 1
  27321. in: query
  27322. name: userid
  27323. type: integer
  27324. produces:
  27325. - application/json
  27326. responses:
  27327. "200":
  27328. description: OK
  27329. schema:
  27330. items:
  27331. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  27332. type: array
  27333. "500":
  27334. description: Internal Server Error
  27335. schema:
  27336. $ref: '#/definitions/app.Response'
  27337. security:
  27338. - ApiKeyAuth: []
  27339. summary: 查询企业配置表
  27340. tags:
  27341. - 大连千海金
  27342. /Qhj/QueryBankAccountSign:
  27343. get:
  27344. parameters:
  27345. - description: 用户ID
  27346. in: query
  27347. name: userid
  27348. required: true
  27349. type: integer
  27350. produces:
  27351. - application/json
  27352. responses:
  27353. "200":
  27354. description: OK
  27355. schema:
  27356. items:
  27357. $ref: '#/definitions/models.QhjBankAccountSign'
  27358. type: array
  27359. "500":
  27360. description: Internal Server Error
  27361. schema:
  27362. $ref: '#/definitions/app.Response'
  27363. security:
  27364. - ApiKeyAuth: []
  27365. summary: 查询签约银行信息(提现账户管理)
  27366. tags:
  27367. - 大连千海金
  27368. /Qhj/QueryBankInfo:
  27369. get:
  27370. produces:
  27371. - application/json
  27372. responses:
  27373. "200":
  27374. description: OK
  27375. schema:
  27376. items:
  27377. $ref: '#/definitions/models.QhjBankInfo'
  27378. type: array
  27379. "500":
  27380. description: Internal Server Error
  27381. schema:
  27382. $ref: '#/definitions/app.Response'
  27383. security:
  27384. - ApiKeyAuth: []
  27385. summary: 查询开户行
  27386. tags:
  27387. - 大连千海金
  27388. /Qhj/QueryBrokerApply:
  27389. get:
  27390. parameters:
  27391. - description: 所属机构ID
  27392. in: query
  27393. name: userid
  27394. type: integer
  27395. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  27396. in: query
  27397. name: filterstatus
  27398. type: string
  27399. produces:
  27400. - application/json
  27401. responses:
  27402. "200":
  27403. description: OK
  27404. schema:
  27405. items:
  27406. $ref: '#/definitions/models.QhjBrokerApply'
  27407. type: array
  27408. "500":
  27409. description: Internal Server Error
  27410. schema:
  27411. $ref: '#/definitions/app.Response'
  27412. security:
  27413. - ApiKeyAuth: []
  27414. summary: 查询经纪人申请
  27415. tags:
  27416. - 大连千海金
  27417. /Qhj/QueryBrokerApplyEx:
  27418. get:
  27419. parameters:
  27420. - description: 所属机构ID
  27421. in: query
  27422. name: userid
  27423. type: integer
  27424. produces:
  27425. - application/json
  27426. responses:
  27427. "200":
  27428. description: OK
  27429. schema:
  27430. items:
  27431. $ref: '#/definitions/models.QhjBrokerApplyEx'
  27432. type: array
  27433. "500":
  27434. description: Internal Server Error
  27435. schema:
  27436. $ref: '#/definitions/app.Response'
  27437. security:
  27438. - ApiKeyAuth: []
  27439. summary: 查询经纪人信息和申请记录
  27440. tags:
  27441. - 大连千海金
  27442. /Qhj/QueryBrokerRewardLog:
  27443. get:
  27444. parameters:
  27445. - description: 用户ID
  27446. in: query
  27447. name: userid
  27448. required: true
  27449. type: integer
  27450. - description: 开始交易日(yyyymmdd)
  27451. in: query
  27452. name: begindate
  27453. type: string
  27454. - description: 结束交易日(yyyymmdd)
  27455. in: query
  27456. name: enddate
  27457. type: string
  27458. produces:
  27459. - application/json
  27460. responses:
  27461. "200":
  27462. description: OK
  27463. schema:
  27464. items:
  27465. $ref: '#/definitions/models.QhjBrokerRewardLog'
  27466. type: array
  27467. "500":
  27468. description: Internal Server Error
  27469. schema:
  27470. $ref: '#/definitions/app.Response'
  27471. security:
  27472. - ApiKeyAuth: []
  27473. summary: 查询奖励流水(我的奖励)
  27474. tags:
  27475. - 大连千海金
  27476. /Qhj/QueryContract:
  27477. get:
  27478. parameters:
  27479. - description: 用户ID
  27480. in: query
  27481. name: userid
  27482. type: integer
  27483. - description: scf合同id
  27484. in: query
  27485. name: scfcontractid
  27486. type: integer
  27487. produces:
  27488. - application/json
  27489. responses:
  27490. "200":
  27491. description: OK
  27492. schema:
  27493. items:
  27494. $ref: '#/definitions/models.QhjContract'
  27495. type: array
  27496. "500":
  27497. description: Internal Server Error
  27498. schema:
  27499. $ref: '#/definitions/app.Response'
  27500. security:
  27501. - ApiKeyAuth: []
  27502. summary: 查询融资明细(合同)
  27503. tags:
  27504. - 大连千海金
  27505. /Qhj/QueryContractLog:
  27506. get:
  27507. parameters:
  27508. - description: scf合同id
  27509. in: query
  27510. name: scfcontractid
  27511. required: true
  27512. type: integer
  27513. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  27514. in: query
  27515. name: amounttype
  27516. type: string
  27517. produces:
  27518. - application/json
  27519. responses:
  27520. "200":
  27521. description: OK
  27522. schema:
  27523. items:
  27524. $ref: '#/definitions/models.QhjContractLog'
  27525. type: array
  27526. "500":
  27527. description: Internal Server Error
  27528. schema:
  27529. $ref: '#/definitions/app.Response'
  27530. security:
  27531. - ApiKeyAuth: []
  27532. summary: 查询融资明细流水(融资明细详情页中的流水)
  27533. tags:
  27534. - 大连千海金
  27535. /Qhj/QueryCusBankSignBank:
  27536. get:
  27537. produces:
  27538. - application/json
  27539. responses:
  27540. "200":
  27541. description: OK
  27542. schema:
  27543. items:
  27544. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  27545. type: array
  27546. "500":
  27547. description: Internal Server Error
  27548. schema:
  27549. $ref: '#/definitions/app.Response'
  27550. security:
  27551. - ApiKeyAuth: []
  27552. summary: 查询托管银行
  27553. tags:
  27554. - 大连千海金
  27555. /Qhj/QueryCustomerInfo:
  27556. get:
  27557. parameters:
  27558. - description: 用户ID
  27559. in: query
  27560. name: userid
  27561. required: true
  27562. type: integer
  27563. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  27564. in: query
  27565. name: querytype
  27566. required: true
  27567. type: integer
  27568. - description: 客户类型 1-个人 2-企业
  27569. in: query
  27570. name: userinfotype
  27571. type: integer
  27572. - description: 客户名称(模糊匹配)
  27573. in: query
  27574. name: customername
  27575. type: string
  27576. - description: 昵称(模糊匹配)
  27577. in: query
  27578. name: nickname
  27579. type: string
  27580. - description: 是否包含子级 1-包含
  27581. in: query
  27582. name: includesub
  27583. type: integer
  27584. produces:
  27585. - application/json
  27586. responses:
  27587. "200":
  27588. description: OK
  27589. schema:
  27590. items:
  27591. $ref: '#/definitions/models.QhjCustomer'
  27592. type: array
  27593. "500":
  27594. description: Internal Server Error
  27595. schema:
  27596. $ref: '#/definitions/app.Response'
  27597. security:
  27598. - ApiKeyAuth: []
  27599. summary: 查询客户资料
  27600. tags:
  27601. - 大连千海金
  27602. /Qhj/QueryGoodsEx:
  27603. get:
  27604. parameters:
  27605. - description: 商品id
  27606. in: query
  27607. name: goodsid
  27608. type: integer
  27609. produces:
  27610. - application/json
  27611. responses:
  27612. "200":
  27613. description: OK
  27614. schema:
  27615. items:
  27616. $ref: '#/definitions/models.Qhjgoodsex'
  27617. type: array
  27618. "500":
  27619. description: Internal Server Error
  27620. schema:
  27621. $ref: '#/definitions/app.Response'
  27622. security:
  27623. - ApiKeyAuth: []
  27624. summary: 交易商品扩展表
  27625. tags:
  27626. - 大连千海金
  27627. /Qhj/QueryMyTeam:
  27628. get:
  27629. parameters:
  27630. - description: 用户ID
  27631. in: query
  27632. name: userid
  27633. required: true
  27634. type: integer
  27635. produces:
  27636. - application/json
  27637. responses:
  27638. "200":
  27639. description: OK
  27640. schema:
  27641. items:
  27642. $ref: '#/definitions/models.QhjMyTeamEx'
  27643. type: array
  27644. "500":
  27645. description: Internal Server Error
  27646. schema:
  27647. $ref: '#/definitions/app.Response'
  27648. security:
  27649. - ApiKeyAuth: []
  27650. summary: 查询我的团队
  27651. tags:
  27652. - 大连千海金
  27653. /Qhj/QueryMyTeamOrder:
  27654. get:
  27655. parameters:
  27656. - description: 页码
  27657. in: query
  27658. name: page
  27659. type: integer
  27660. - description: 每页条数
  27661. in: query
  27662. name: pagesize
  27663. type: integer
  27664. - description: 用户ID
  27665. in: query
  27666. name: userid
  27667. required: true
  27668. type: integer
  27669. - description: 交易模式
  27670. in: query
  27671. name: trademode
  27672. type: integer
  27673. - description: 名称(模糊搜索账户)
  27674. in: query
  27675. name: filtername
  27676. type: string
  27677. produces:
  27678. - application/json
  27679. responses:
  27680. "200":
  27681. description: OK
  27682. schema:
  27683. items:
  27684. $ref: '#/definitions/models.QhjTeamOrder'
  27685. type: array
  27686. "500":
  27687. description: Internal Server Error
  27688. schema:
  27689. $ref: '#/definitions/app.Response'
  27690. security:
  27691. - ApiKeyAuth: []
  27692. summary: 查询团队订单(我的团队/团队订单)
  27693. tags:
  27694. - 大连千海金
  27695. /Qhj/QueryParentAreaList:
  27696. get:
  27697. parameters:
  27698. - description: 用户ID
  27699. in: query
  27700. name: userid
  27701. required: true
  27702. type: integer
  27703. produces:
  27704. - application/json
  27705. responses:
  27706. "200":
  27707. description: OK
  27708. schema:
  27709. items:
  27710. $ref: '#/definitions/models.QhjParentAreaList'
  27711. type: array
  27712. "500":
  27713. description: Internal Server Error
  27714. schema:
  27715. $ref: '#/definitions/app.Response'
  27716. security:
  27717. - ApiKeyAuth: []
  27718. summary: 查询所属机构列表
  27719. tags:
  27720. - 大连千海金
  27721. /Qhj/QueryPayOrder:
  27722. get:
  27723. parameters:
  27724. - description: 资金账号id
  27725. in: query
  27726. name: accountid
  27727. required: true
  27728. type: integer
  27729. - description: 成交单号
  27730. in: query
  27731. name: tradeid
  27732. type: integer
  27733. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  27734. in: query
  27735. name: payflag
  27736. type: string
  27737. produces:
  27738. - application/json
  27739. responses:
  27740. "200":
  27741. description: OK
  27742. schema:
  27743. items:
  27744. $ref: '#/definitions/models.QhjPayOrder'
  27745. type: array
  27746. "500":
  27747. description: Internal Server Error
  27748. schema:
  27749. $ref: '#/definitions/app.Response'
  27750. security:
  27751. - ApiKeyAuth: []
  27752. summary: 查询待付款单据
  27753. tags:
  27754. - 大连千海金
  27755. /Qhj/QueryPickArea:
  27756. get:
  27757. parameters:
  27758. - description: 用户ID
  27759. in: query
  27760. name: userid
  27761. type: integer
  27762. produces:
  27763. - application/json
  27764. responses:
  27765. "200":
  27766. description: OK
  27767. schema:
  27768. items:
  27769. $ref: '#/definitions/models.QhjPickArea'
  27770. type: array
  27771. "500":
  27772. description: Internal Server Error
  27773. schema:
  27774. $ref: '#/definitions/app.Response'
  27775. security:
  27776. - ApiKeyAuth: []
  27777. summary: 查询提货门店
  27778. tags:
  27779. - 大连千海金
  27780. /Qhj/QueryPickGoods:
  27781. get:
  27782. parameters:
  27783. - description: 交易商品id
  27784. in: query
  27785. name: goodsid
  27786. required: true
  27787. type: integer
  27788. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  27789. in: query
  27790. name: status
  27791. type: string
  27792. produces:
  27793. - application/json
  27794. responses:
  27795. "200":
  27796. description: OK
  27797. schema:
  27798. items:
  27799. $ref: '#/definitions/models.QhjPickGoods'
  27800. type: array
  27801. "500":
  27802. description: Internal Server Error
  27803. schema:
  27804. $ref: '#/definitions/app.Response'
  27805. security:
  27806. - ApiKeyAuth: []
  27807. summary: 查询提货商品
  27808. tags:
  27809. - 大连千海金
  27810. /Qhj/QueryRSTriggerLog:
  27811. get:
  27812. parameters:
  27813. - description: 用户ID
  27814. in: query
  27815. name: userid
  27816. type: integer
  27817. - description: 定投策略id
  27818. in: query
  27819. name: regularlystrategyid
  27820. type: integer
  27821. - description: 商品id
  27822. in: query
  27823. name: goodsid
  27824. type: integer
  27825. - description: 开始交易日(yyyymmdd)
  27826. in: query
  27827. name: begindate
  27828. type: string
  27829. - description: 结束交易日(yyyymmdd)
  27830. in: query
  27831. name: enddate
  27832. type: string
  27833. - description: 名称(模糊搜索账户)
  27834. in: query
  27835. name: filtername
  27836. type: string
  27837. produces:
  27838. - application/json
  27839. responses:
  27840. "200":
  27841. description: OK
  27842. schema:
  27843. items:
  27844. $ref: '#/definitions/models.QhjRSTriggerLog'
  27845. type: array
  27846. "500":
  27847. description: Internal Server Error
  27848. schema:
  27849. $ref: '#/definitions/app.Response'
  27850. security:
  27851. - ApiKeyAuth: []
  27852. summary: 查询定投记录(定投管理/详情/定投记录)
  27853. tags:
  27854. - 大连千海金
  27855. /Qhj/QueryRStrategy:
  27856. get:
  27857. parameters:
  27858. - description: 用户ID
  27859. in: query
  27860. name: userid
  27861. type: integer
  27862. - description: 商品id
  27863. in: query
  27864. name: goodsid
  27865. type: integer
  27866. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  27867. in: query
  27868. name: status
  27869. type: string
  27870. - description: 名称(模糊搜索账户)
  27871. in: query
  27872. name: filtername
  27873. type: string
  27874. produces:
  27875. - application/json
  27876. responses:
  27877. "200":
  27878. description: OK
  27879. schema:
  27880. items:
  27881. $ref: '#/definitions/models.QhjRStrategy'
  27882. type: array
  27883. "500":
  27884. description: Internal Server Error
  27885. schema:
  27886. $ref: '#/definitions/app.Response'
  27887. security:
  27888. - ApiKeyAuth: []
  27889. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  27890. tags:
  27891. - 大连千海金
  27892. /Qhj/QueryReckonPriceLog:
  27893. get:
  27894. parameters:
  27895. - description: 商品ID
  27896. in: query
  27897. name: goodsid
  27898. type: integer
  27899. - description: 交易日 格式(yyyymmdd)
  27900. in: query
  27901. name: tradedate
  27902. type: string
  27903. produces:
  27904. - application/json
  27905. responses:
  27906. "200":
  27907. description: OK
  27908. schema:
  27909. items:
  27910. $ref: '#/definitions/models.QhjReckonPriceLog'
  27911. type: array
  27912. "500":
  27913. description: Internal Server Error
  27914. schema:
  27915. $ref: '#/definitions/app.Response'
  27916. security:
  27917. - ApiKeyAuth: []
  27918. summary: 查询定投价(结算价)
  27919. tags:
  27920. - 大连千海金
  27921. /Qhj/QueryScoreLog:
  27922. get:
  27923. parameters:
  27924. - description: 用户ID
  27925. in: query
  27926. name: userid
  27927. required: true
  27928. type: integer
  27929. - description: 开始交易日(yyyymmdd)
  27930. in: query
  27931. name: begindate
  27932. type: string
  27933. - description: 结束交易日(yyyymmdd)
  27934. in: query
  27935. name: enddate
  27936. type: string
  27937. - description: 最近多少条
  27938. in: query
  27939. name: lastnum
  27940. type: integer
  27941. produces:
  27942. - application/json
  27943. responses:
  27944. "200":
  27945. description: OK
  27946. schema:
  27947. items:
  27948. $ref: '#/definitions/models.QhjScoreLog'
  27949. type: array
  27950. "500":
  27951. description: Internal Server Error
  27952. schema:
  27953. $ref: '#/definitions/app.Response'
  27954. security:
  27955. - ApiKeyAuth: []
  27956. summary: 查询积分流水(我的积分)
  27957. tags:
  27958. - 大连千海金
  27959. /Qhj/QuerySiteColumnDetail:
  27960. get:
  27961. parameters:
  27962. - description: 用户ID
  27963. in: query
  27964. name: userid
  27965. required: true
  27966. type: integer
  27967. produces:
  27968. - application/json
  27969. responses:
  27970. "200":
  27971. description: OK
  27972. schema:
  27973. items:
  27974. $ref: '#/definitions/models.QhjSiteColumnDetail'
  27975. type: array
  27976. "500":
  27977. description: Internal Server Error
  27978. schema:
  27979. $ref: '#/definitions/app.Response'
  27980. security:
  27981. - ApiKeyAuth: []
  27982. summary: 查询资讯
  27983. tags:
  27984. - 大连千海金
  27985. /Qhj/QueryTradeGoodsPickup:
  27986. get:
  27987. parameters:
  27988. - description: 用户ID
  27989. in: query
  27990. name: userid
  27991. required: true
  27992. type: integer
  27993. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  27994. 7:已拒绝 8:已撤销
  27995. in: query
  27996. name: takeorderstatus
  27997. type: integer
  27998. produces:
  27999. - application/json
  28000. responses:
  28001. "200":
  28002. description: OK
  28003. schema:
  28004. items:
  28005. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  28006. type: array
  28007. "500":
  28008. description: Internal Server Error
  28009. schema:
  28010. $ref: '#/definitions/app.Response'
  28011. security:
  28012. - ApiKeyAuth: []
  28013. summary: 查询提货
  28014. tags:
  28015. - 大连千海金
  28016. /Qhj/QueryUserCollectConfig:
  28017. get:
  28018. parameters:
  28019. - description: 用户ID
  28020. in: query
  28021. name: userid
  28022. required: true
  28023. type: integer
  28024. produces:
  28025. - application/json
  28026. responses:
  28027. "200":
  28028. description: OK
  28029. schema:
  28030. items:
  28031. $ref: '#/definitions/models.UserCollectConfig'
  28032. type: array
  28033. "500":
  28034. description: Internal Server Error
  28035. schema:
  28036. $ref: '#/definitions/app.Response'
  28037. security:
  28038. - ApiKeyAuth: []
  28039. summary: 查询提现账户设置
  28040. tags:
  28041. - 大连千海金
  28042. /Qhj/QueryUserReceiveInfo:
  28043. get:
  28044. parameters:
  28045. - description: 用户ID
  28046. in: query
  28047. name: userid
  28048. required: true
  28049. type: integer
  28050. produces:
  28051. - application/json
  28052. responses:
  28053. "200":
  28054. description: OK
  28055. schema:
  28056. items:
  28057. $ref: '#/definitions/models.UserReceiveInfo'
  28058. type: array
  28059. "500":
  28060. description: Internal Server Error
  28061. schema:
  28062. $ref: '#/definitions/app.Response'
  28063. security:
  28064. - ApiKeyAuth: []
  28065. summary: 查询收货地址信息
  28066. tags:
  28067. - 大连千海金
  28068. /QhjMgr/QueryAccountInOutApply:
  28069. get:
  28070. parameters:
  28071. - description: 查询类型 1-提现(出金) 2-充值(出金)
  28072. in: query
  28073. name: querytype
  28074. required: true
  28075. type: integer
  28076. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  28077. in: query
  28078. name: applystatus
  28079. type: integer
  28080. - description: 申请起始日期(格式yyyymmdd)
  28081. in: query
  28082. name: begindate
  28083. type: string
  28084. - description: 申请截止日期(格式yyyymmdd)
  28085. in: query
  28086. name: enddate
  28087. type: string
  28088. - description: 模糊搜索名称
  28089. in: query
  28090. name: likename
  28091. type: string
  28092. produces:
  28093. - application/json
  28094. responses:
  28095. "200":
  28096. description: OK
  28097. schema:
  28098. items:
  28099. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  28100. type: array
  28101. "500":
  28102. description: Internal Server Error
  28103. schema:
  28104. $ref: '#/definitions/app.Response'
  28105. security:
  28106. - ApiKeyAuth: []
  28107. summary: 查询充值提现
  28108. tags:
  28109. - 大连千海金(PCWeb)
  28110. /QhjMgr/QueryBrokerApply:
  28111. get:
  28112. parameters:
  28113. - description: 所属机构ID
  28114. in: query
  28115. name: userid
  28116. type: integer
  28117. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  28118. in: query
  28119. name: filterstatus
  28120. type: string
  28121. - description: 名称(模糊匹配)
  28122. in: query
  28123. name: filtername
  28124. type: string
  28125. - description: 是否包含子级 1-包含
  28126. in: query
  28127. name: includesub
  28128. type: integer
  28129. produces:
  28130. - application/json
  28131. responses:
  28132. "200":
  28133. description: OK
  28134. schema:
  28135. items:
  28136. $ref: '#/definitions/models.QhjMgrBrokerApply'
  28137. type: array
  28138. "500":
  28139. description: Internal Server Error
  28140. schema:
  28141. $ref: '#/definitions/app.Response'
  28142. security:
  28143. - ApiKeyAuth: []
  28144. summary: 查询经纪人申请
  28145. tags:
  28146. - 大连千海金(PCWeb)
  28147. /QhjMgr/QueryBrokerRewardReport:
  28148. get:
  28149. parameters:
  28150. - description: 所属机构ID
  28151. in: query
  28152. name: userid
  28153. required: true
  28154. type: integer
  28155. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28156. in: query
  28157. name: cycletype
  28158. required: true
  28159. type: integer
  28160. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  28161. in: query
  28162. name: cycletime
  28163. required: true
  28164. type: string
  28165. - description: 名称(模糊匹配)
  28166. in: query
  28167. name: filtername
  28168. type: string
  28169. - description: 是否包含子级 1-包含
  28170. in: query
  28171. name: includesub
  28172. type: integer
  28173. produces:
  28174. - application/json
  28175. responses:
  28176. "200":
  28177. description: OK
  28178. schema:
  28179. items:
  28180. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  28181. type: array
  28182. "500":
  28183. description: Internal Server Error
  28184. schema:
  28185. $ref: '#/definitions/app.Response'
  28186. security:
  28187. - ApiKeyAuth: []
  28188. summary: 查询经纪人奖励报表(废弃)
  28189. tags:
  28190. - 大连千海金(PCWeb)
  28191. /QhjMgr/QueryContract:
  28192. get:
  28193. parameters:
  28194. - description: 用户ID
  28195. in: query
  28196. name: userid
  28197. type: integer
  28198. - description: 商品id
  28199. in: query
  28200. name: goodsid
  28201. type: integer
  28202. - description: 名称(模糊搜索账户)
  28203. in: query
  28204. name: filtername
  28205. type: string
  28206. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  28207. in: query
  28208. name: risklevel
  28209. type: string
  28210. - description: 开始交易日(yyyymmdd)
  28211. in: query
  28212. name: begindate
  28213. type: string
  28214. - description: 结束交易日(yyyymmdd)
  28215. in: query
  28216. name: enddate
  28217. type: string
  28218. produces:
  28219. - application/json
  28220. responses:
  28221. "200":
  28222. description: OK
  28223. schema:
  28224. items:
  28225. $ref: '#/definitions/models.QhjMgrContract'
  28226. type: array
  28227. "500":
  28228. description: Internal Server Error
  28229. schema:
  28230. $ref: '#/definitions/app.Response'
  28231. security:
  28232. - ApiKeyAuth: []
  28233. summary: 查询融资信息(合同)
  28234. tags:
  28235. - 大连千海金(PCWeb)
  28236. /QhjMgr/QueryCustomerInfo:
  28237. get:
  28238. parameters:
  28239. - description: 用户ID
  28240. in: query
  28241. name: userid
  28242. required: true
  28243. type: integer
  28244. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  28245. in: query
  28246. name: querytype
  28247. required: true
  28248. type: integer
  28249. - description: 客户类型 1-个人 2-企业
  28250. in: query
  28251. name: userinfotype
  28252. type: integer
  28253. - description: 客户名称(模糊匹配)
  28254. in: query
  28255. name: customername
  28256. type: string
  28257. - description: 昵称(模糊匹配)
  28258. in: query
  28259. name: nickname
  28260. type: string
  28261. - description: 所属客户经理(模糊匹配)
  28262. in: query
  28263. name: brokername
  28264. type: string
  28265. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd,
  28266. 如0503 -5月3日)
  28267. in: query
  28268. name: birthday
  28269. type: string
  28270. - description: 是否包含子级 1-包含
  28271. in: query
  28272. name: includesub
  28273. type: integer
  28274. produces:
  28275. - application/json
  28276. responses:
  28277. "200":
  28278. description: OK
  28279. schema:
  28280. items:
  28281. $ref: '#/definitions/models.QhjMgrCustomer'
  28282. type: array
  28283. "500":
  28284. description: Internal Server Error
  28285. schema:
  28286. $ref: '#/definitions/app.Response'
  28287. security:
  28288. - ApiKeyAuth: []
  28289. summary: 查询客户资料
  28290. tags:
  28291. - 大连千海金(PCWeb)
  28292. /QhjMgr/QueryPickGoods:
  28293. get:
  28294. parameters:
  28295. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  28296. in: query
  28297. name: status
  28298. type: string
  28299. produces:
  28300. - application/json
  28301. responses:
  28302. "200":
  28303. description: OK
  28304. schema:
  28305. items:
  28306. $ref: '#/definitions/models.QhjMgrPickGoods'
  28307. type: array
  28308. "500":
  28309. description: Internal Server Error
  28310. schema:
  28311. $ref: '#/definitions/app.Response'
  28312. security:
  28313. - ApiKeyAuth: []
  28314. summary: 查询提货商品
  28315. tags:
  28316. - 大连千海金(PCWeb)
  28317. /QhjMgr/QuerySubArea:
  28318. get:
  28319. parameters:
  28320. - description: 用户ID
  28321. in: query
  28322. name: userid
  28323. required: true
  28324. type: integer
  28325. produces:
  28326. - application/json
  28327. responses:
  28328. "200":
  28329. description: OK
  28330. schema:
  28331. items:
  28332. $ref: '#/definitions/models.QhjMgrSubArea'
  28333. type: array
  28334. "500":
  28335. description: Internal Server Error
  28336. schema:
  28337. $ref: '#/definitions/app.Response'
  28338. security:
  28339. - ApiKeyAuth: []
  28340. summary: 查询子机构列表
  28341. tags:
  28342. - 大连千海金(PCWeb)
  28343. /QhjMgr/QueryTradeDetail:
  28344. get:
  28345. parameters:
  28346. - description: 用户ID
  28347. in: query
  28348. name: userid
  28349. required: true
  28350. type: integer
  28351. - description: 用户类型 1-个人 2-企业
  28352. in: query
  28353. name: userinfotype
  28354. type: integer
  28355. - description: 交易模式
  28356. in: query
  28357. name: trademode
  28358. type: integer
  28359. - description: 商品id
  28360. in: query
  28361. name: goodsid
  28362. type: integer
  28363. - description: 名称(模糊搜索账户)
  28364. in: query
  28365. name: filtername
  28366. type: string
  28367. - description: 开始交易日(yyyymmdd)
  28368. in: query
  28369. name: begindate
  28370. type: string
  28371. - description: 结束交易日(yyyymmdd)
  28372. in: query
  28373. name: enddate
  28374. type: string
  28375. - description: 是否包含子级 1-包含
  28376. in: query
  28377. name: includesub
  28378. type: integer
  28379. produces:
  28380. - application/json
  28381. responses:
  28382. "200":
  28383. description: OK
  28384. schema:
  28385. items:
  28386. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  28387. type: array
  28388. "500":
  28389. description: Internal Server Error
  28390. schema:
  28391. $ref: '#/definitions/app.Response'
  28392. security:
  28393. - ApiKeyAuth: []
  28394. summary: 查询成交明细
  28395. tags:
  28396. - 大连千海金(PCWeb)
  28397. /QhjMgr/QueryTradeOrderDetail:
  28398. get:
  28399. parameters:
  28400. - description: 用户ID
  28401. in: query
  28402. name: userid
  28403. required: true
  28404. type: integer
  28405. - description: 用户类型 1-个人 2-企业
  28406. in: query
  28407. name: userinfotype
  28408. type: integer
  28409. - description: 交易模式
  28410. in: query
  28411. name: trademode
  28412. type: integer
  28413. - description: 商品id
  28414. in: query
  28415. name: goodsid
  28416. type: integer
  28417. - description: 名称(模糊搜索账户)
  28418. in: query
  28419. name: filtername
  28420. type: string
  28421. - description: 开始交易日(yyyymmdd)
  28422. in: query
  28423. name: begindate
  28424. type: string
  28425. - description: 结束交易日(yyyymmdd)
  28426. in: query
  28427. name: enddate
  28428. type: string
  28429. - description: 是否包含子级 1-包含
  28430. in: query
  28431. name: includesub
  28432. type: integer
  28433. produces:
  28434. - application/json
  28435. responses:
  28436. "200":
  28437. description: OK
  28438. schema:
  28439. items:
  28440. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  28441. type: array
  28442. "500":
  28443. description: Internal Server Error
  28444. schema:
  28445. $ref: '#/definitions/app.Response'
  28446. security:
  28447. - ApiKeyAuth: []
  28448. summary: 查询委托明细
  28449. tags:
  28450. - 大连千海金(PCWeb)
  28451. /QhjMgr/QueryTradePayOrder:
  28452. get:
  28453. parameters:
  28454. - description: 用户ID
  28455. in: query
  28456. name: userid
  28457. required: true
  28458. type: integer
  28459. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  28460. in: query
  28461. name: payflag
  28462. type: string
  28463. - description: 用户类型 1-个人 2-企业
  28464. in: query
  28465. name: userinfotype
  28466. type: integer
  28467. - description: 交易模式
  28468. in: query
  28469. name: trademode
  28470. type: integer
  28471. - description: 商品id
  28472. in: query
  28473. name: goodsid
  28474. type: integer
  28475. - description: 名称(模糊搜索账户)
  28476. in: query
  28477. name: filtername
  28478. type: string
  28479. - description: 开始交易日(yyyymmdd)
  28480. in: query
  28481. name: begindate
  28482. type: string
  28483. - description: 结束交易日(yyyymmdd)
  28484. in: query
  28485. name: enddate
  28486. type: string
  28487. - description: 是否包含子级 1-包含
  28488. in: query
  28489. name: includesub
  28490. type: integer
  28491. produces:
  28492. - application/json
  28493. responses:
  28494. "200":
  28495. description: OK
  28496. schema:
  28497. items:
  28498. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  28499. type: array
  28500. "500":
  28501. description: Internal Server Error
  28502. schema:
  28503. $ref: '#/definitions/app.Response'
  28504. security:
  28505. - ApiKeyAuth: []
  28506. summary: 查询待付款单
  28507. tags:
  28508. - 大连千海金(PCWeb)
  28509. /QhjMgr/QueryTradePosition:
  28510. get:
  28511. parameters:
  28512. - description: 用户ID
  28513. in: query
  28514. name: userid
  28515. required: true
  28516. type: integer
  28517. - description: 用户类型 1-个人 2-企业
  28518. in: query
  28519. name: userinfotype
  28520. type: integer
  28521. - description: 交易模式
  28522. in: query
  28523. name: trademode
  28524. type: integer
  28525. - description: 商品id
  28526. in: query
  28527. name: goodsid
  28528. type: integer
  28529. - description: 名称(模糊搜索账户)
  28530. in: query
  28531. name: filtername
  28532. type: string
  28533. - description: 是否包含子级 1-包含
  28534. in: query
  28535. name: includesub
  28536. type: integer
  28537. produces:
  28538. - application/json
  28539. responses:
  28540. "200":
  28541. description: OK
  28542. schema:
  28543. items:
  28544. $ref: '#/definitions/models.QhjMgrPositionRsp'
  28545. type: array
  28546. "500":
  28547. description: Internal Server Error
  28548. schema:
  28549. $ref: '#/definitions/app.Response'
  28550. security:
  28551. - ApiKeyAuth: []
  28552. summary: 查询持仓汇总
  28553. tags:
  28554. - 大连千海金(PCWeb)
  28555. /QhjSys/QueryAgreementChangeLog:
  28556. get:
  28557. parameters:
  28558. - description: 协议ID
  28559. in: query
  28560. name: agreementid
  28561. type: integer
  28562. - description: 协议版本号
  28563. in: query
  28564. name: agreementversion
  28565. type: integer
  28566. - description: 协议类型 - 1:注册 2:登录 3:交易
  28567. in: query
  28568. name: agreementtype
  28569. type: integer
  28570. - description: 协议编号(模糊匹配)
  28571. in: query
  28572. name: agreementno
  28573. type: string
  28574. - description: 协议名称(模糊匹配)
  28575. in: query
  28576. name: agreementname
  28577. type: string
  28578. produces:
  28579. - application/json
  28580. responses:
  28581. "200":
  28582. description: OK
  28583. schema:
  28584. items:
  28585. $ref: '#/definitions/models.QhjAgreementChangeLog'
  28586. type: array
  28587. "500":
  28588. description: Internal Server Error
  28589. schema:
  28590. $ref: '#/definitions/app.Response'
  28591. security:
  28592. - ApiKeyAuth: []
  28593. summary: 查询协议配置变更流水
  28594. tags:
  28595. - 大连千海金(协议和签约信息)
  28596. /QhjSys/QueryAgreementConfig:
  28597. get:
  28598. parameters:
  28599. - description: 协议ID
  28600. in: query
  28601. name: agreementid
  28602. type: integer
  28603. - description: 协议版本号
  28604. in: query
  28605. name: agreementversion
  28606. type: integer
  28607. - description: 协议类型 - 1:注册 2:登录 3:交易
  28608. in: query
  28609. name: agreementtype
  28610. type: integer
  28611. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  28612. in: query
  28613. name: isvalid
  28614. type: integer
  28615. - description: 协议编号(模糊匹配)
  28616. in: query
  28617. name: agreementno
  28618. type: string
  28619. - description: 协议名称(模糊匹配)
  28620. in: query
  28621. name: agreementname
  28622. type: string
  28623. produces:
  28624. - application/json
  28625. responses:
  28626. "200":
  28627. description: OK
  28628. schema:
  28629. items:
  28630. $ref: '#/definitions/models.QhjAgreementConfig'
  28631. type: array
  28632. "500":
  28633. description: Internal Server Error
  28634. schema:
  28635. $ref: '#/definitions/app.Response'
  28636. security:
  28637. - ApiKeyAuth: []
  28638. summary: 查询协议配置
  28639. tags:
  28640. - 大连千海金(协议和签约信息)
  28641. /QhjSys/QueryCustomerSignStatus:
  28642. get:
  28643. parameters:
  28644. - description: 客户ID
  28645. in: query
  28646. name: userid
  28647. type: integer
  28648. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  28649. in: query
  28650. name: nodetype
  28651. type: integer
  28652. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  28653. in: query
  28654. name: goodsid
  28655. type: integer
  28656. - description: 创建交易日(yyyyMMdd)
  28657. in: query
  28658. name: tradedate
  28659. type: string
  28660. - description: 用户名称(模糊匹配)
  28661. in: query
  28662. name: username
  28663. type: string
  28664. produces:
  28665. - application/json
  28666. responses:
  28667. "200":
  28668. description: OK
  28669. schema:
  28670. items:
  28671. $ref: '#/definitions/models.QhjCustomerSignStatus'
  28672. type: array
  28673. "500":
  28674. description: Internal Server Error
  28675. schema:
  28676. $ref: '#/definitions/app.Response'
  28677. security:
  28678. - ApiKeyAuth: []
  28679. summary: 查询客户协议签约状态
  28680. tags:
  28681. - 大连千海金(协议和签约信息)
  28682. /QhjSys/QueryNodeAgreementConfig:
  28683. get:
  28684. parameters:
  28685. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  28686. in: query
  28687. name: configid
  28688. type: integer
  28689. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  28690. in: query
  28691. name: nodetype
  28692. type: integer
  28693. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  28694. in: query
  28695. name: goodsid
  28696. type: integer
  28697. - description: 协议ID
  28698. in: query
  28699. name: agreementid
  28700. type: integer
  28701. - description: 协议类型 - 1:注册 2:登录 3:交易
  28702. in: query
  28703. name: agreementtype
  28704. type: integer
  28705. - description: 协议版本号
  28706. in: query
  28707. name: agreementversion
  28708. type: integer
  28709. - description: 协议编号(模糊匹配)
  28710. in: query
  28711. name: agreementno
  28712. type: string
  28713. - description: 协议名称(模糊匹配)
  28714. in: query
  28715. name: agreementname
  28716. type: string
  28717. produces:
  28718. - application/json
  28719. responses:
  28720. "200":
  28721. description: OK
  28722. schema:
  28723. items:
  28724. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  28725. type: array
  28726. "500":
  28727. description: Internal Server Error
  28728. schema:
  28729. $ref: '#/definitions/app.Response'
  28730. security:
  28731. - ApiKeyAuth: []
  28732. summary: 查询协议节点配置
  28733. tags:
  28734. - 大连千海金(协议和签约信息)
  28735. /QhjSys/QueryQhjCustomerSignLog:
  28736. get:
  28737. parameters:
  28738. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  28739. in: query
  28740. name: logid
  28741. type: integer
  28742. - description: 客户ID
  28743. in: query
  28744. name: userid
  28745. type: integer
  28746. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  28747. in: query
  28748. name: nodetype
  28749. type: integer
  28750. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  28751. in: query
  28752. name: goodsid
  28753. type: integer
  28754. - description: 协议ID
  28755. in: query
  28756. name: agreementid
  28757. type: integer
  28758. - description: 用户名称(模糊匹配)
  28759. in: query
  28760. name: username
  28761. type: string
  28762. - description: 协议编号(模糊匹配)
  28763. in: query
  28764. name: agreementno
  28765. type: string
  28766. - description: 协议名称(模糊匹配)
  28767. in: query
  28768. name: agreementname
  28769. type: string
  28770. produces:
  28771. - application/json
  28772. responses:
  28773. "200":
  28774. description: OK
  28775. schema:
  28776. items:
  28777. $ref: '#/definitions/models.QhjCustomerSignLog'
  28778. type: array
  28779. "500":
  28780. description: Internal Server Error
  28781. schema:
  28782. $ref: '#/definitions/app.Response'
  28783. security:
  28784. - ApiKeyAuth: []
  28785. summary: 查询客户协议签约流水
  28786. tags:
  28787. - 大连千海金(协议和签约信息)
  28788. /QhjSys/QueryUserNodeCfgAndStatus:
  28789. get:
  28790. parameters:
  28791. - description: 客户ID
  28792. in: query
  28793. name: userid
  28794. type: integer
  28795. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  28796. in: query
  28797. name: configid
  28798. type: integer
  28799. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  28800. in: query
  28801. name: nodetype
  28802. type: string
  28803. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  28804. in: query
  28805. name: goodsid
  28806. type: integer
  28807. - description: 协议ID
  28808. in: query
  28809. name: agreementid
  28810. type: integer
  28811. - description: 协议类型 - 1:注册 2:登录 3:交易
  28812. in: query
  28813. name: agreementtype
  28814. type: integer
  28815. - description: 协议版本号
  28816. in: query
  28817. name: agreementversion
  28818. type: integer
  28819. - description: 协议编号(模糊匹配)
  28820. in: query
  28821. name: agreementno
  28822. type: string
  28823. - description: 协议名称(模糊匹配)
  28824. in: query
  28825. name: agreementname
  28826. type: string
  28827. produces:
  28828. - application/json
  28829. responses:
  28830. "200":
  28831. description: OK
  28832. schema:
  28833. items:
  28834. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  28835. type: array
  28836. "500":
  28837. description: Internal Server Error
  28838. schema:
  28839. $ref: '#/definitions/app.Response'
  28840. security:
  28841. - ApiKeyAuth: []
  28842. summary: 查询用户协议节点配置和状态
  28843. tags:
  28844. - 大连千海金(协议和签约信息)
  28845. /Quote/QueryHistoryDatas:
  28846. get:
  28847. parameters:
  28848. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  28849. 日线 12:周线 13:月线 14:年线'
  28850. in: query
  28851. name: cycleType
  28852. required: true
  28853. type: integer
  28854. - description: 商品代码
  28855. in: query
  28856. name: goodsCode
  28857. required: true
  28858. type: string
  28859. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  28860. in: query
  28861. name: startTime
  28862. type: string
  28863. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  28864. in: query
  28865. name: endTime
  28866. type: string
  28867. - description: 条数
  28868. in: query
  28869. name: count
  28870. type: integer
  28871. - description: 是否按时间顺序排序(默认为时间倒序排序)
  28872. in: query
  28873. name: isAsc
  28874. type: boolean
  28875. produces:
  28876. - application/json
  28877. responses:
  28878. "200":
  28879. description: OK
  28880. schema:
  28881. $ref: '#/definitions/quote.HistoryData'
  28882. "500":
  28883. description: Internal Server Error
  28884. schema:
  28885. $ref: '#/definitions/app.Response'
  28886. security:
  28887. - ApiKeyAuth: []
  28888. summary: 查询行情历史数据
  28889. tags:
  28890. - 行情服务
  28891. /Quote/QueryHistoryTikDatas:
  28892. get:
  28893. parameters:
  28894. - description: 商品代码
  28895. in: query
  28896. name: goodsCode
  28897. required: true
  28898. type: string
  28899. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  28900. in: query
  28901. name: startTime
  28902. type: string
  28903. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  28904. in: query
  28905. name: endTime
  28906. type: string
  28907. - description: 条数
  28908. in: query
  28909. name: count
  28910. type: integer
  28911. - description: 是否按时间顺序排序(默认为时间倒序排序)
  28912. in: query
  28913. name: isAsc
  28914. type: boolean
  28915. produces:
  28916. - application/json
  28917. responses:
  28918. "200":
  28919. description: OK
  28920. schema:
  28921. $ref: '#/definitions/quote.HistoryTikData'
  28922. "500":
  28923. description: Internal Server Error
  28924. schema:
  28925. $ref: '#/definitions/app.Response'
  28926. security:
  28927. - ApiKeyAuth: []
  28928. summary: 查询行情Tik数据
  28929. tags:
  28930. - 行情服务
  28931. /Quote/QueryQuoteDay:
  28932. get:
  28933. parameters:
  28934. - description: 此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107
  28935. in: query
  28936. name: goodsCodes
  28937. type: string
  28938. produces:
  28939. - application/json
  28940. responses:
  28941. "200":
  28942. description: OK
  28943. schema:
  28944. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  28945. "500":
  28946. description: Internal Server Error
  28947. schema:
  28948. $ref: '#/definitions/app.Response'
  28949. security:
  28950. - ApiKeyAuth: []
  28951. summary: 获取商品盘面信息
  28952. tags:
  28953. - 行情服务
  28954. /Quote/QueryTSData:
  28955. get:
  28956. parameters:
  28957. - description: 商品代码
  28958. in: query
  28959. name: goodsCode
  28960. required: true
  28961. type: string
  28962. produces:
  28963. - application/json
  28964. responses:
  28965. "200":
  28966. description: OK
  28967. schema:
  28968. $ref: '#/definitions/quote.QueryTSDataRsp'
  28969. "500":
  28970. description: Internal Server Error
  28971. schema:
  28972. $ref: '#/definitions/app.Response'
  28973. security:
  28974. - ApiKeyAuth: []
  28975. summary: 分时图数据查询
  28976. tags:
  28977. - 行情服务
  28978. /SZDZ/QueryConvertConfig:
  28979. get:
  28980. parameters:
  28981. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  28982. 6:交易转花生米(不设置)
  28983. in: query
  28984. name: convertType
  28985. type: integer
  28986. - description: 外部商品代码[JD\PD]
  28987. in: query
  28988. name: outerGoodsCode
  28989. type: string
  28990. - description: 内部商品ID列表[交易],格式:1,2,3
  28991. in: query
  28992. name: innerGoodsIDs
  28993. type: string
  28994. produces:
  28995. - application/json
  28996. responses:
  28997. "200":
  28998. description: OK
  28999. schema:
  29000. $ref: '#/definitions/models.Szdz3convertconfig'
  29001. "500":
  29002. description: Internal Server Error
  29003. schema:
  29004. $ref: '#/definitions/app.Response'
  29005. security:
  29006. - ApiKeyAuth: []
  29007. summary: 查询交易系统转换设置
  29008. tags:
  29009. - 定制【尚志大宗】
  29010. /SZDZ/QueryConvertLog:
  29011. get:
  29012. parameters:
  29013. - description: 资金账户 - 格式:1,2,3
  29014. in: query
  29015. name: accountID
  29016. required: true
  29017. type: string
  29018. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  29019. in: query
  29020. name: startDate
  29021. type: string
  29022. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  29023. in: query
  29024. name: endDate
  29025. type: string
  29026. produces:
  29027. - application/json
  29028. responses:
  29029. "200":
  29030. description: OK
  29031. schema:
  29032. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  29033. "500":
  29034. description: Internal Server Error
  29035. schema:
  29036. $ref: '#/definitions/app.Response'
  29037. security:
  29038. - ApiKeyAuth: []
  29039. summary: 交易系统转换流水查询
  29040. tags:
  29041. - 定制【尚志大宗】
  29042. /SZDZ/QueryGoodsPickup:
  29043. get:
  29044. parameters:
  29045. - description: 资金账户 - 格式:1,2,3
  29046. in: query
  29047. name: accountID
  29048. required: true
  29049. type: string
  29050. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  29051. in: query
  29052. name: takeOrderStatus
  29053. type: integer
  29054. produces:
  29055. - application/json
  29056. responses:
  29057. "200":
  29058. description: OK
  29059. schema:
  29060. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  29061. "500":
  29062. description: Internal Server Error
  29063. schema:
  29064. $ref: '#/definitions/app.Response'
  29065. security:
  29066. - ApiKeyAuth: []
  29067. summary: 商品提货单查询
  29068. tags:
  29069. - 定制【尚志大宗】
  29070. /SZDZ/QueryRecieptOrder:
  29071. get:
  29072. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  29073. parameters:
  29074. - description: 页码
  29075. in: query
  29076. name: page
  29077. type: integer
  29078. - description: 每页条数
  29079. in: query
  29080. name: pagesize
  29081. type: integer
  29082. - description: 商品ID
  29083. in: query
  29084. name: goodsID
  29085. required: true
  29086. type: integer
  29087. - description: 所属账户名称
  29088. in: query
  29089. name: accountName
  29090. type: string
  29091. - description: 市场ID
  29092. in: query
  29093. name: marketID
  29094. type: integer
  29095. - description: 方向 - 0:买 1:卖
  29096. in: query
  29097. name: buyorsell
  29098. required: true
  29099. type: integer
  29100. produces:
  29101. - application/json
  29102. responses:
  29103. "200":
  29104. description: OK
  29105. schema:
  29106. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  29107. "500":
  29108. description: Internal Server Error
  29109. schema:
  29110. $ref: '#/definitions/app.Response'
  29111. security:
  29112. - ApiKeyAuth: []
  29113. summary: 点选挂牌委托单据查询(摘牌大厅)
  29114. tags:
  29115. - 定制【尚志大宗】
  29116. /SZDZ/QuerySZDZTradePosition:
  29117. get:
  29118. parameters:
  29119. - description: 资金账户
  29120. in: query
  29121. name: accountID
  29122. required: true
  29123. type: integer
  29124. produces:
  29125. - application/json
  29126. responses:
  29127. "200":
  29128. description: OK
  29129. schema:
  29130. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  29131. "500":
  29132. description: Internal Server Error
  29133. schema:
  29134. $ref: '#/definitions/app.Response'
  29135. security:
  29136. - ApiKeyAuth: []
  29137. summary: 持仓汇总查询(尚志大宗)
  29138. tags:
  29139. - 定制【尚志大宗】
  29140. /SZDZ/SearchWhite:
  29141. get:
  29142. parameters:
  29143. - description: 用户ID
  29144. in: query
  29145. name: userID
  29146. required: true
  29147. type: integer
  29148. produces:
  29149. - application/json
  29150. responses:
  29151. "200":
  29152. description: OK
  29153. schema:
  29154. $ref: '#/definitions/models.Szdz3searchwhitelist'
  29155. "500":
  29156. description: Internal Server Error
  29157. schema:
  29158. $ref: '#/definitions/app.Response'
  29159. security:
  29160. - ApiKeyAuth: []
  29161. summary: 搜索白名单
  29162. tags:
  29163. - 定制【尚志大宗】
  29164. /Search/SearchGoodses:
  29165. get:
  29166. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  29167. parameters:
  29168. - description: 检索内容
  29169. in: query
  29170. name: content
  29171. required: true
  29172. type: string
  29173. - description: 交易模式,格式:1,2,3
  29174. in: query
  29175. name: tradeModes
  29176. type: string
  29177. produces:
  29178. - application/json
  29179. responses:
  29180. "200":
  29181. description: OK
  29182. schema:
  29183. $ref: '#/definitions/models.SearchGoods'
  29184. "500":
  29185. description: Internal Server Error
  29186. schema:
  29187. $ref: '#/definitions/app.Response'
  29188. summary: 检索商品信息
  29189. tags:
  29190. - 检索服务
  29191. /TaAccount/GetTaAccounts:
  29192. get:
  29193. parameters:
  29194. - description: 登录账户
  29195. in: query
  29196. name: loginID
  29197. required: true
  29198. type: integer
  29199. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  29200. in: query
  29201. name: taAccountType
  29202. type: integer
  29203. produces:
  29204. - application/json
  29205. responses:
  29206. "200":
  29207. description: OK
  29208. schema:
  29209. $ref: '#/definitions/models.Taaccount'
  29210. "500":
  29211. description: Internal Server Error
  29212. schema:
  29213. $ref: '#/definitions/app.Response'
  29214. security:
  29215. - ApiKeyAuth: []
  29216. summary: 获取资金账户信息
  29217. tags:
  29218. - 资金账户
  29219. /TaAccount/QueryAmountLog:
  29220. get:
  29221. parameters:
  29222. - description: 页码
  29223. in: query
  29224. name: page
  29225. type: integer
  29226. - description: 每页条数
  29227. in: query
  29228. name: pagesize
  29229. type: integer
  29230. - description: 资金账户 - 格式:1,2,3
  29231. in: query
  29232. name: accountID
  29233. required: true
  29234. type: string
  29235. - description: 资金操作类型 - 格式:1,2,3
  29236. in: query
  29237. name: OperateType
  29238. type: string
  29239. produces:
  29240. - application/json
  29241. responses:
  29242. "200":
  29243. description: OK
  29244. schema:
  29245. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  29246. "500":
  29247. description: Internal Server Error
  29248. schema:
  29249. $ref: '#/definitions/app.Response'
  29250. security:
  29251. - ApiKeyAuth: []
  29252. summary: 资金流水查询(当前)
  29253. tags:
  29254. - 资金账户
  29255. /TaAccount/QueryHisAmountLog:
  29256. get:
  29257. parameters:
  29258. - description: 页码
  29259. in: query
  29260. name: page
  29261. type: integer
  29262. - description: 每页条数
  29263. in: query
  29264. name: pagesize
  29265. type: integer
  29266. - description: 资金账户 - 格式:1,2,3
  29267. in: query
  29268. name: accountID
  29269. required: true
  29270. type: string
  29271. - description: 资金操作类型 - 格式:1,2,3
  29272. in: query
  29273. name: OperateType
  29274. type: string
  29275. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  29276. in: query
  29277. name: startDate
  29278. type: string
  29279. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  29280. in: query
  29281. name: endDate
  29282. type: string
  29283. produces:
  29284. - application/json
  29285. responses:
  29286. "200":
  29287. description: OK
  29288. schema:
  29289. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  29290. "500":
  29291. description: Internal Server Error
  29292. schema:
  29293. $ref: '#/definitions/app.Response'
  29294. security:
  29295. - ApiKeyAuth: []
  29296. summary: 资金流水查询(历史)
  29297. tags:
  29298. - 资金账户
  29299. /TaAccount/QueryRelatedTaAccount:
  29300. get:
  29301. parameters:
  29302. - description: 关联UserID
  29303. in: query
  29304. name: relateduserid
  29305. required: true
  29306. type: integer
  29307. produces:
  29308. - application/json
  29309. responses:
  29310. "200":
  29311. description: OK
  29312. schema:
  29313. items:
  29314. $ref: '#/definitions/models.RelatedTaAccount'
  29315. type: array
  29316. "500":
  29317. description: Internal Server Error
  29318. schema:
  29319. $ref: '#/definitions/app.Response'
  29320. security:
  29321. - ApiKeyAuth: []
  29322. summary: 查询关联资金账户信息
  29323. tags:
  29324. - 资金账户
  29325. /Tjmd/QueryQuoteGoodsList:
  29326. get:
  29327. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  29328. parameters:
  29329. - description: 用户类型
  29330. in: query
  29331. name: usertype
  29332. required: true
  29333. type: integer
  29334. - description: 市场id, 格式 1,2,3
  29335. in: query
  29336. name: marketids
  29337. type: string
  29338. - description: 商品组id
  29339. in: query
  29340. name: goodsgroupid
  29341. type: integer
  29342. - description: 商品id
  29343. in: query
  29344. name: goodsid
  29345. type: integer
  29346. produces:
  29347. - application/json
  29348. responses:
  29349. "200":
  29350. description: OK
  29351. schema:
  29352. items:
  29353. $ref: '#/definitions/models.TjmdQuoteGoods'
  29354. type: array
  29355. "500":
  29356. description: Internal Server Error
  29357. schema:
  29358. $ref: '#/definitions/app.Response'
  29359. security:
  29360. - ApiKeyAuth: []
  29361. summary: 查询掉期报价列表
  29362. tags:
  29363. - 天津麦顿
  29364. /Tjmd/QueryTjmdHolderDetailTradeInfo:
  29365. get:
  29366. parameters:
  29367. - description: 成交单号
  29368. in: query
  29369. name: tradeid
  29370. required: true
  29371. type: string
  29372. produces:
  29373. - application/json
  29374. responses:
  29375. "200":
  29376. description: OK
  29377. schema:
  29378. items:
  29379. $ref: '#/definitions/models.TjmdHolderDetailTradeInfo'
  29380. type: array
  29381. "500":
  29382. description: Internal Server Error
  29383. schema:
  29384. $ref: '#/definitions/app.Response'
  29385. security:
  29386. - ApiKeyAuth: []
  29387. summary: 掉期商品订单详情(交易确认书)
  29388. tags:
  29389. - 天津麦顿
  29390. /Tjmd/QueryTjmdMarketSection:
  29391. get:
  29392. produces:
  29393. - application/json
  29394. responses:
  29395. "200":
  29396. description: OK
  29397. schema:
  29398. items:
  29399. $ref: '#/definitions/models.TjmdMarketSection'
  29400. type: array
  29401. "500":
  29402. description: Internal Server Error
  29403. schema:
  29404. $ref: '#/definitions/app.Response'
  29405. security:
  29406. - ApiKeyAuth: []
  29407. summary: 查询市场板块
  29408. tags:
  29409. - 天津麦顿
  29410. /Tjmd/QueryTjmdTodayAccountMargin:
  29411. get:
  29412. parameters:
  29413. - description: 市场id
  29414. in: query
  29415. name: marketid
  29416. type: string
  29417. - description: 商品id
  29418. in: query
  29419. name: goodsid
  29420. type: string
  29421. - description: 资金账号
  29422. in: query
  29423. name: accountid
  29424. type: string
  29425. produces:
  29426. - application/json
  29427. responses:
  29428. "200":
  29429. description: OK
  29430. schema:
  29431. items:
  29432. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  29433. type: array
  29434. "500":
  29435. description: Internal Server Error
  29436. schema:
  29437. $ref: '#/definitions/app.Response'
  29438. security:
  29439. - ApiKeyAuth: []
  29440. summary: 查询今日账户保证金配置
  29441. tags:
  29442. - 天津麦顿
  29443. /Tjmd/QueryTjmdTradeOrderDetail:
  29444. get:
  29445. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  29446. parameters:
  29447. - description: 页码
  29448. in: query
  29449. name: page
  29450. type: integer
  29451. - description: 每页条数
  29452. in: query
  29453. name: pagesize
  29454. type: integer
  29455. - description: 用户id
  29456. in: query
  29457. name: userid
  29458. required: true
  29459. type: integer
  29460. - description: 用户类型
  29461. in: query
  29462. name: usertype
  29463. required: true
  29464. type: integer
  29465. - description: 市场id, 格式 1,2,3
  29466. in: query
  29467. name: marketids
  29468. type: string
  29469. - description: 商品id
  29470. in: query
  29471. name: goodsid
  29472. required: true
  29473. type: integer
  29474. - description: 买卖方向 0-买 1-卖
  29475. in: query
  29476. name: buyorsell
  29477. required: true
  29478. type: integer
  29479. produces:
  29480. - application/json
  29481. responses:
  29482. "200":
  29483. description: OK
  29484. schema:
  29485. items:
  29486. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  29487. type: array
  29488. "500":
  29489. description: Internal Server Error
  29490. schema:
  29491. $ref: '#/definitions/app.Response'
  29492. security:
  29493. - ApiKeyAuth: []
  29494. summary: 查询掉期买卖大厅
  29495. tags:
  29496. - 天津麦顿
  29497. /Tjmd/QueryTjmdTransferApply:
  29498. get:
  29499. parameters:
  29500. - description: 类型 1-我的申请 2-对方申请
  29501. in: query
  29502. name: applytype
  29503. required: true
  29504. type: integer
  29505. - description: 市场id, 格式 1,2,3
  29506. in: query
  29507. name: marketids
  29508. type: string
  29509. - description: 资金账号, 格式 25000000001,25000000003
  29510. in: query
  29511. name: accountids
  29512. type: string
  29513. - description: 开始交易日(yyyymmdd)
  29514. in: query
  29515. name: begindate
  29516. type: string
  29517. - description: 结束交易日(yyyymmdd)
  29518. in: query
  29519. name: enddate
  29520. type: string
  29521. produces:
  29522. - application/json
  29523. responses:
  29524. "200":
  29525. description: OK
  29526. schema:
  29527. items:
  29528. $ref: '#/definitions/models.TjmdTransferApply'
  29529. type: array
  29530. "500":
  29531. description: Internal Server Error
  29532. schema:
  29533. $ref: '#/definitions/app.Response'
  29534. security:
  29535. - ApiKeyAuth: []
  29536. summary: 查询掉期协议单
  29537. tags:
  29538. - 天津麦顿
  29539. /Trade/QueryRecieptOrder:
  29540. get:
  29541. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  29542. parameters:
  29543. - description: 页码
  29544. in: query
  29545. name: page
  29546. type: integer
  29547. - description: 每页条数
  29548. in: query
  29549. name: pagesize
  29550. type: integer
  29551. - description: 商品ID
  29552. in: query
  29553. name: goodsID
  29554. required: true
  29555. type: integer
  29556. - description: 所属账户名称
  29557. in: query
  29558. name: accountName
  29559. type: string
  29560. - description: 市场ID
  29561. in: query
  29562. name: marketID
  29563. type: integer
  29564. - description: 方向 - 0:买 1:卖
  29565. in: query
  29566. name: buyorsell
  29567. required: true
  29568. type: integer
  29569. produces:
  29570. - application/json
  29571. responses:
  29572. "200":
  29573. description: OK
  29574. schema:
  29575. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  29576. "500":
  29577. description: Internal Server Error
  29578. schema:
  29579. $ref: '#/definitions/app.Response'
  29580. security:
  29581. - ApiKeyAuth: []
  29582. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  29583. tags:
  29584. - 通用交易
  29585. /User/AddMessageBoard:
  29586. post:
  29587. parameters:
  29588. - description: 用户ID
  29589. in: query
  29590. name: userID
  29591. required: true
  29592. type: integer
  29593. - description: 留言信息
  29594. in: query
  29595. name: message
  29596. required: true
  29597. type: string
  29598. - description: 联系电话
  29599. in: query
  29600. name: contactNum
  29601. required: true
  29602. type: string
  29603. produces:
  29604. - application/json
  29605. responses:
  29606. "200":
  29607. description: OK
  29608. schema:
  29609. $ref: '#/definitions/app.Response'
  29610. "500":
  29611. description: Internal Server Error
  29612. schema:
  29613. $ref: '#/definitions/app.Response'
  29614. security:
  29615. - ApiKeyAuth: []
  29616. summary: 添加用户留言板信息
  29617. tags:
  29618. - 用户信息
  29619. /User/AddUserFavoriteGoods:
  29620. post:
  29621. parameters:
  29622. - description: 用户ID
  29623. in: query
  29624. name: userID
  29625. required: true
  29626. type: integer
  29627. - description: 商品ID
  29628. in: query
  29629. name: goodsID
  29630. required: true
  29631. type: integer
  29632. produces:
  29633. - application/json
  29634. responses:
  29635. "200":
  29636. description: OK
  29637. schema:
  29638. $ref: '#/definitions/app.Response'
  29639. "500":
  29640. description: Internal Server Error
  29641. schema:
  29642. $ref: '#/definitions/app.Response'
  29643. security:
  29644. - ApiKeyAuth: []
  29645. summary: 添加用户商品收藏信息
  29646. tags:
  29647. - 用户信息
  29648. /User/GetLoginID:
  29649. get:
  29650. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  29651. parameters:
  29652. - description: 登录代码
  29653. in: query
  29654. name: username
  29655. required: true
  29656. type: string
  29657. produces:
  29658. - application/json
  29659. responses:
  29660. "200":
  29661. description: OK
  29662. schema:
  29663. $ref: '#/definitions/app.Response'
  29664. "500":
  29665. description: Internal Server Error
  29666. schema:
  29667. $ref: '#/definitions/app.Response'
  29668. summary: 获取登录ID
  29669. tags:
  29670. - 用户信息
  29671. /User/GetUserAccount:
  29672. get:
  29673. parameters:
  29674. - description: 用户ID
  29675. in: query
  29676. name: userID
  29677. required: true
  29678. type: integer
  29679. produces:
  29680. - application/json
  29681. responses:
  29682. "200":
  29683. description: OK
  29684. schema:
  29685. $ref: '#/definitions/models.Useraccount'
  29686. "500":
  29687. description: Internal Server Error
  29688. schema:
  29689. $ref: '#/definitions/app.Response'
  29690. security:
  29691. - ApiKeyAuth: []
  29692. summary: 获取用户账号信息
  29693. tags:
  29694. - 用户信息
  29695. /User/GetUserAuthStatus:
  29696. get:
  29697. parameters:
  29698. - description: 用户ID
  29699. in: query
  29700. name: userID
  29701. required: true
  29702. type: integer
  29703. produces:
  29704. - application/json
  29705. responses:
  29706. "200":
  29707. description: OK
  29708. schema:
  29709. $ref: '#/definitions/app.Response'
  29710. "500":
  29711. description: Internal Server Error
  29712. schema:
  29713. $ref: '#/definitions/app.Response'
  29714. security:
  29715. - ApiKeyAuth: []
  29716. summary: 获取用户实名认证状态
  29717. tags:
  29718. - 用户信息
  29719. /User/LoginQuery:
  29720. get:
  29721. parameters:
  29722. - description: 登录账号
  29723. in: query
  29724. name: loginID
  29725. required: true
  29726. type: integer
  29727. produces:
  29728. - application/json
  29729. responses:
  29730. "200":
  29731. description: OK
  29732. schema:
  29733. $ref: '#/definitions/user.LoginQueryRsp'
  29734. "500":
  29735. description: Internal Server Error
  29736. schema:
  29737. $ref: '#/definitions/app.Response'
  29738. security:
  29739. - ApiKeyAuth: []
  29740. summary: 账户登录后信息查询
  29741. tags:
  29742. - 用户信息
  29743. /User/QueryMessageBoard:
  29744. get:
  29745. parameters:
  29746. - description: 用户ID
  29747. in: query
  29748. name: userID
  29749. required: true
  29750. type: integer
  29751. produces:
  29752. - application/json
  29753. responses:
  29754. "200":
  29755. description: OK
  29756. schema:
  29757. $ref: '#/definitions/models.Messageboard'
  29758. "500":
  29759. description: Internal Server Error
  29760. schema:
  29761. $ref: '#/definitions/app.Response'
  29762. security:
  29763. - ApiKeyAuth: []
  29764. summary: 获取用户留言板信息
  29765. tags:
  29766. - 用户信息
  29767. /User/QueryUserFavoriteGoodses:
  29768. get:
  29769. parameters:
  29770. - description: 用户ID
  29771. in: query
  29772. name: userID
  29773. required: true
  29774. type: integer
  29775. produces:
  29776. - application/json
  29777. responses:
  29778. "200":
  29779. description: OK
  29780. schema:
  29781. $ref: '#/definitions/models.Userfavoritegoods'
  29782. "500":
  29783. description: Internal Server Error
  29784. schema:
  29785. $ref: '#/definitions/app.Response'
  29786. security:
  29787. - ApiKeyAuth: []
  29788. summary: 获取用户商品收藏信息
  29789. tags:
  29790. - 用户信息
  29791. /User/QueryUserInfo:
  29792. get:
  29793. parameters:
  29794. - description: 用户ID
  29795. in: query
  29796. name: userID
  29797. required: true
  29798. type: integer
  29799. - description: 是否解密
  29800. in: query
  29801. name: isDecrypt
  29802. type: boolean
  29803. produces:
  29804. - application/json
  29805. responses:
  29806. "200":
  29807. description: OK
  29808. schema:
  29809. $ref: '#/definitions/models.Userinfo'
  29810. "500":
  29811. description: Internal Server Error
  29812. schema:
  29813. $ref: '#/definitions/app.Response'
  29814. security:
  29815. - ApiKeyAuth: []
  29816. summary: 获取用户信息
  29817. tags:
  29818. - 用户信息
  29819. /User/QueryUserReferNum:
  29820. get:
  29821. parameters:
  29822. - description: 用户ID
  29823. in: query
  29824. name: userID
  29825. required: true
  29826. type: integer
  29827. produces:
  29828. - application/json
  29829. responses:
  29830. "200":
  29831. description: OK
  29832. schema:
  29833. $ref: '#/definitions/app.Response'
  29834. "500":
  29835. description: Internal Server Error
  29836. schema:
  29837. $ref: '#/definitions/app.Response'
  29838. summary: 获取用户邀请码
  29839. tags:
  29840. - 用户信息
  29841. /User/RemoveUserFavoriteGoods:
  29842. post:
  29843. parameters:
  29844. - description: 用户ID
  29845. in: query
  29846. name: userID
  29847. required: true
  29848. type: integer
  29849. - description: 商品ID
  29850. in: query
  29851. name: goodsID
  29852. required: true
  29853. type: integer
  29854. produces:
  29855. - application/json
  29856. responses:
  29857. "200":
  29858. description: OK
  29859. schema:
  29860. $ref: '#/definitions/app.Response'
  29861. "500":
  29862. description: Internal Server Error
  29863. schema:
  29864. $ref: '#/definitions/app.Response'
  29865. security:
  29866. - ApiKeyAuth: []
  29867. summary: 移除用户商品收藏信息
  29868. tags:
  29869. - 用户信息
  29870. /User/UpdateUserAccountStatus:
  29871. post:
  29872. parameters:
  29873. - description: 用户ID
  29874. in: query
  29875. name: userID
  29876. required: true
  29877. type: integer
  29878. - description: 账户状态 - 4:正常 6:注销(停用)
  29879. in: query
  29880. name: accountStatus
  29881. required: true
  29882. type: integer
  29883. produces:
  29884. - application/json
  29885. responses:
  29886. "200":
  29887. description: OK
  29888. schema:
  29889. $ref: '#/definitions/app.Response'
  29890. "500":
  29891. description: Internal Server Error
  29892. schema:
  29893. $ref: '#/definitions/app.Response'
  29894. security:
  29895. - ApiKeyAuth: []
  29896. summary: 更新用户状态
  29897. tags:
  29898. - 用户信息
  29899. /WRTrade/GetAllDeliveryGoods:
  29900. get:
  29901. produces:
  29902. - application/json
  29903. responses:
  29904. "200":
  29905. description: OK
  29906. schema:
  29907. $ref: '#/definitions/app.Response'
  29908. "500":
  29909. description: Internal Server Error
  29910. schema:
  29911. $ref: '#/definitions/app.Response'
  29912. security:
  29913. - ApiKeyAuth: []
  29914. summary: 获取带仓单分类的种类信息
  29915. tags:
  29916. - 仓单贸易
  29917. - 仓单贸易
  29918. /WrTrade2/InsertXhcpSellBackApply:
  29919. post:
  29920. parameters:
  29921. - description: 回收申请
  29922. in: body
  29923. name: jsonBody
  29924. required: true
  29925. schema:
  29926. $ref: '#/definitions/models.XhcpSellBackApplyEx'
  29927. produces:
  29928. - application/json
  29929. responses:
  29930. "200":
  29931. description: OK
  29932. schema:
  29933. $ref: '#/definitions/app.Response'
  29934. "500":
  29935. description: Internal Server Error
  29936. schema:
  29937. $ref: '#/definitions/app.Response'
  29938. security:
  29939. - ApiKeyAuth: []
  29940. summary: 新增回收申请(新会陈皮)
  29941. tags:
  29942. - 仓单贸易v2
  29943. /WrTrade2/QueryDeliveryGoodsSection:
  29944. get:
  29945. produces:
  29946. - application/json
  29947. responses:
  29948. "200":
  29949. description: OK
  29950. schema:
  29951. items:
  29952. $ref: '#/definitions/models.WrDeliveryGoodsSection'
  29953. type: array
  29954. "500":
  29955. description: Internal Server Error
  29956. schema:
  29957. $ref: '#/definitions/app.Response'
  29958. security:
  29959. - ApiKeyAuth: []
  29960. summary: 查询板块(分类)
  29961. tags:
  29962. - 仓单贸易v2
  29963. /WrTrade2/QueryFaProductDetail:
  29964. get:
  29965. description: 页面 买卖大厅 -> 选择融资方案
  29966. parameters:
  29967. - description: 仓单要素id
  29968. in: query
  29969. name: wrfactortypeid
  29970. required: true
  29971. type: integer
  29972. produces:
  29973. - application/json
  29974. responses:
  29975. "200":
  29976. description: OK
  29977. schema:
  29978. items:
  29979. $ref: '#/definitions/models.WrFAProductDetail'
  29980. type: array
  29981. "500":
  29982. description: Internal Server Error
  29983. schema:
  29984. $ref: '#/definitions/app.Response'
  29985. security:
  29986. - ApiKeyAuth: []
  29987. summary: 查询融资产品列表
  29988. tags:
  29989. - 仓单贸易v2
  29990. /WrTrade2/QueryFilterItem:
  29991. get:
  29992. parameters:
  29993. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  29994. in: query
  29995. name: itype
  29996. required: true
  29997. type: string
  29998. produces:
  29999. - application/json
  30000. responses:
  30001. "200":
  30002. description: OK
  30003. schema:
  30004. items:
  30005. $ref: '#/definitions/models.WrFilterItem'
  30006. type: array
  30007. "500":
  30008. description: Internal Server Error
  30009. schema:
  30010. $ref: '#/definitions/app.Response'
  30011. security:
  30012. - ApiKeyAuth: []
  30013. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  30014. tags:
  30015. - 仓单贸易v2
  30016. /WrTrade2/QueryFtDeliveryGoods:
  30017. get:
  30018. produces:
  30019. - application/json
  30020. responses:
  30021. "200":
  30022. description: OK
  30023. schema:
  30024. items:
  30025. $ref: '#/definitions/models.WrFtDeliveryGoods'
  30026. type: array
  30027. "500":
  30028. description: Internal Server Error
  30029. schema:
  30030. $ref: '#/definitions/app.Response'
  30031. security:
  30032. - ApiKeyAuth: []
  30033. summary: 查询品种品类筛选框列表
  30034. tags:
  30035. - 仓单贸易v2
  30036. /WrTrade2/QueryHoldLB:
  30037. get:
  30038. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  30039. parameters:
  30040. - description: 资金账号
  30041. in: query
  30042. name: accountid
  30043. required: true
  30044. type: integer
  30045. - description: 仓库id
  30046. in: query
  30047. name: warehouseid
  30048. type: integer
  30049. - description: 品种id
  30050. in: query
  30051. name: deliverygoodsid
  30052. type: integer
  30053. - description: 品类id
  30054. in: query
  30055. name: wrstandardid
  30056. type: integer
  30057. - description: 仓单要素id
  30058. in: query
  30059. name: wrfactortypeid
  30060. type: integer
  30061. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  30062. in: query
  30063. name: dgitemname
  30064. type: string
  30065. produces:
  30066. - application/json
  30067. responses:
  30068. "200":
  30069. description: OK
  30070. schema:
  30071. items:
  30072. $ref: '#/definitions/models.WrHoldLB'
  30073. type: array
  30074. "500":
  30075. description: Internal Server Error
  30076. schema:
  30077. $ref: '#/definitions/app.Response'
  30078. security:
  30079. - ApiKeyAuth: []
  30080. summary: 查询仓单持有记录
  30081. tags:
  30082. - 仓单贸易v2
  30083. /WrTrade2/QueryOrderQuote:
  30084. get:
  30085. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  30086. 唯一确定1条记录
  30087. parameters:
  30088. - description: 页码
  30089. in: query
  30090. name: page
  30091. type: integer
  30092. - description: 每页条数
  30093. in: query
  30094. name: pagesize
  30095. type: integer
  30096. - description: 仓单贸易市场id
  30097. in: query
  30098. name: marketid
  30099. type: integer
  30100. - description: 价格方式 - 1:固定价 2-浮动价
  30101. in: query
  30102. name: wrpricetype
  30103. required: true
  30104. type: integer
  30105. - description: 0:仓单预售 1:仓单贸易
  30106. in: query
  30107. name: haswr
  30108. type: integer
  30109. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  30110. in: query
  30111. name: dgitemname
  30112. type: string
  30113. - description: 仓库id(筛选条件)
  30114. in: query
  30115. name: warehouseid
  30116. type: integer
  30117. - description: 品种id
  30118. in: query
  30119. name: deliverygoodsid
  30120. type: integer
  30121. - description: 品类id
  30122. in: query
  30123. name: wrstandardid
  30124. type: integer
  30125. - description: 品牌id(dgfactoryitemid)
  30126. in: query
  30127. name: brandid
  30128. type: integer
  30129. - description: 年份id(dgfactoryitemid)
  30130. in: query
  30131. name: yearsid
  30132. type: integer
  30133. - description: 仓单要素id
  30134. in: query
  30135. name: wrfactortypeid
  30136. type: integer
  30137. - description: 交收月(yyyy-mm) 仓单预售填写
  30138. in: query
  30139. name: deliverymonth
  30140. type: string
  30141. produces:
  30142. - application/json
  30143. responses:
  30144. "200":
  30145. description: OK
  30146. schema:
  30147. items:
  30148. $ref: '#/definitions/models.WrOrderQuote'
  30149. type: array
  30150. "500":
  30151. description: Internal Server Error
  30152. schema:
  30153. $ref: '#/definitions/app.Response'
  30154. security:
  30155. - ApiKeyAuth: []
  30156. summary: 查询大厅行情列表
  30157. tags:
  30158. - 仓单贸易v2
  30159. /WrTrade2/QueryOrderQuoteDetail:
  30160. get:
  30161. parameters:
  30162. - description: 页码
  30163. in: query
  30164. name: page
  30165. type: integer
  30166. - description: 每页条数
  30167. in: query
  30168. name: pagesize
  30169. type: integer
  30170. - description: 仓单贸易市场id
  30171. in: query
  30172. name: marketid
  30173. type: integer
  30174. - description: 价格方式 - 1:固定价 2-浮动价
  30175. in: query
  30176. name: wrpricetype
  30177. required: true
  30178. type: integer
  30179. - description: 0:仓单预售 1:仓单贸易
  30180. in: query
  30181. name: haswr
  30182. type: integer
  30183. - description: 仓单要素id
  30184. in: query
  30185. name: wrfactortypeid
  30186. required: true
  30187. type: integer
  30188. - description: 期货商品id(浮动价方式时填)
  30189. in: query
  30190. name: goodsid
  30191. type: integer
  30192. - description: 买卖方向 0-买 1-卖
  30193. in: query
  30194. name: buyorsell
  30195. required: true
  30196. type: integer
  30197. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  30198. in: query
  30199. name: deliverymonth
  30200. type: string
  30201. produces:
  30202. - application/json
  30203. responses:
  30204. "200":
  30205. description: OK
  30206. schema:
  30207. items:
  30208. $ref: '#/definitions/models.WrOrderQuoteDetail'
  30209. type: array
  30210. "500":
  30211. description: Internal Server Error
  30212. schema:
  30213. $ref: '#/definitions/app.Response'
  30214. security:
  30215. - ApiKeyAuth: []
  30216. summary: 查询买卖大厅
  30217. tags:
  30218. - 仓单贸易v2
  30219. /WrTrade2/QueryOrderQuoteMyq:
  30220. get:
  30221. parameters:
  30222. - description: 页码
  30223. in: query
  30224. name: page
  30225. type: integer
  30226. - description: 每页条数
  30227. in: query
  30228. name: pagesize
  30229. type: integer
  30230. - description: 用户id
  30231. in: query
  30232. name: userid
  30233. required: true
  30234. type: integer
  30235. - description: 仓单贸易市场id
  30236. in: query
  30237. name: marketid
  30238. type: integer
  30239. - description: 0:仓单预售 1:仓单贸易
  30240. in: query
  30241. name: haswr
  30242. type: integer
  30243. - description: 买卖方向 0-买 1-卖
  30244. in: query
  30245. name: buyorsell
  30246. required: true
  30247. type: integer
  30248. - description: 品种id
  30249. in: query
  30250. name: deliverygoodsid
  30251. type: integer
  30252. - description: 品类id
  30253. in: query
  30254. name: wrstandardid
  30255. type: integer
  30256. - description: 交收月(yyyy-mm) 仓单预售填写
  30257. in: query
  30258. name: deliverymonth
  30259. type: string
  30260. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  30261. in: query
  30262. name: dgitemname
  30263. type: string
  30264. produces:
  30265. - application/json
  30266. responses:
  30267. "200":
  30268. description: OK
  30269. schema:
  30270. items:
  30271. $ref: '#/definitions/models.WrQuoteOrderMyq'
  30272. type: array
  30273. "500":
  30274. description: Internal Server Error
  30275. schema:
  30276. $ref: '#/definitions/app.Response'
  30277. security:
  30278. - ApiKeyAuth: []
  30279. summary: 查询贸易圈挂牌大厅
  30280. tags:
  30281. - 仓单贸易v2
  30282. /WrTrade2/QueryPerformancePlan:
  30283. get:
  30284. parameters:
  30285. - description: 用户id
  30286. in: query
  30287. name: userid
  30288. required: true
  30289. type: integer
  30290. - description: 买卖方向 0-买 1-卖
  30291. in: query
  30292. name: buyorsell
  30293. required: true
  30294. type: integer
  30295. - description: 履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成
  30296. 8:释放冻结失败 9:超时待处理 10:超时关闭
  30297. in: query
  30298. name: status
  30299. type: string
  30300. - description: 开始交易日(yyyymmdd)
  30301. in: query
  30302. name: begindate
  30303. type: string
  30304. - description: 结束交易日(yyyymmdd)
  30305. in: query
  30306. name: enddate
  30307. type: string
  30308. produces:
  30309. - application/json
  30310. responses:
  30311. "200":
  30312. description: OK
  30313. schema:
  30314. items:
  30315. $ref: '#/definitions/models.WrPerformancePlan'
  30316. type: array
  30317. "500":
  30318. description: Internal Server Error
  30319. schema:
  30320. $ref: '#/definitions/app.Response'
  30321. security:
  30322. - ApiKeyAuth: []
  30323. summary: 查询履约信息
  30324. tags:
  30325. - 仓单贸易v2
  30326. /WrTrade2/QueryPermancePlanTmp:
  30327. get:
  30328. description: |-
  30329. 返回指定用户的模板和公共模板(用户id为空)
  30330. 注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段
  30331. parameters:
  30332. - description: 用户id
  30333. in: query
  30334. name: userid
  30335. type: integer
  30336. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  30337. (无仓单) 5:挂牌期权 6:竞拍-降价式
  30338. in: query
  30339. name: tmptype
  30340. type: string
  30341. - description: 是否包含公共模板(用户id为空的) 1-包含
  30342. in: query
  30343. name: includepub
  30344. type: integer
  30345. - description: 市场id(天津麦顿指定此参数,其它不用)
  30346. in: query
  30347. name: marketid
  30348. type: integer
  30349. produces:
  30350. - application/json
  30351. responses:
  30352. "200":
  30353. description: OK
  30354. schema:
  30355. items:
  30356. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  30357. type: array
  30358. "500":
  30359. description: Internal Server Error
  30360. schema:
  30361. $ref: '#/definitions/app.Response'
  30362. security:
  30363. - ApiKeyAuth: []
  30364. summary: 查询履约模板
  30365. tags:
  30366. - 仓单贸易v2
  30367. /WrTrade2/QuerySiteColumnDetail:
  30368. get:
  30369. parameters:
  30370. - description: 页码
  30371. in: query
  30372. name: page
  30373. type: integer
  30374. - description: 每页条数
  30375. in: query
  30376. name: pagesize
  30377. type: integer
  30378. - description: 所属栏目id
  30379. in: query
  30380. name: columnid
  30381. type: integer
  30382. produces:
  30383. - application/json
  30384. responses:
  30385. "200":
  30386. description: OK
  30387. schema:
  30388. items:
  30389. $ref: '#/definitions/models.WrSiteColumnDetail'
  30390. type: array
  30391. "500":
  30392. description: Internal Server Error
  30393. schema:
  30394. $ref: '#/definitions/app.Response'
  30395. security:
  30396. - ApiKeyAuth: []
  30397. summary: 查询资讯
  30398. tags:
  30399. - 仓单贸易v2
  30400. /WrTrade2/QuerySpotGroupTradeSum:
  30401. get:
  30402. produces:
  30403. - application/json
  30404. responses:
  30405. "200":
  30406. description: OK
  30407. schema:
  30408. items:
  30409. $ref: '#/definitions/models.WrSpotGroupTradeSumEx'
  30410. type: array
  30411. "500":
  30412. description: Internal Server Error
  30413. schema:
  30414. $ref: '#/definitions/app.Response'
  30415. security:
  30416. - ApiKeyAuth: []
  30417. summary: 查询指数
  30418. tags:
  30419. - 仓单贸易v2
  30420. /WrTrade2/QuerySpotGroupTradeSumDetail:
  30421. get:
  30422. description: 查询的结果将会按日期 从小到大 排序
  30423. parameters:
  30424. - description: 现货商品id
  30425. in: query
  30426. name: deliverygoodsid
  30427. required: true
  30428. type: integer
  30429. - description: 查询最新多少条记录(如不填写此项, 默认查30条)
  30430. in: query
  30431. name: lastnum
  30432. type: integer
  30433. produces:
  30434. - application/json
  30435. responses:
  30436. "200":
  30437. description: OK
  30438. schema:
  30439. items:
  30440. $ref: '#/definitions/models.WrSpotGroupTradeSumDetail'
  30441. type: array
  30442. "500":
  30443. description: Internal Server Error
  30444. schema:
  30445. $ref: '#/definitions/app.Response'
  30446. security:
  30447. - ApiKeyAuth: []
  30448. summary: 查询指数详细(价格走势图)
  30449. tags:
  30450. - 仓单贸易v2
  30451. /WrTrade2/QueryWrAverageTradePrice:
  30452. get:
  30453. parameters:
  30454. - description: 页码
  30455. in: query
  30456. name: page
  30457. type: integer
  30458. - description: 每页条数
  30459. in: query
  30460. name: pagesize
  30461. type: integer
  30462. - description: 0:仓单预售 1:仓单贸易
  30463. in: query
  30464. name: haswr
  30465. required: true
  30466. type: integer
  30467. - description: 仓单要素id
  30468. in: query
  30469. name: wrfactortypeid
  30470. required: true
  30471. type: integer
  30472. produces:
  30473. - application/json
  30474. responses:
  30475. "200":
  30476. description: OK
  30477. schema:
  30478. items:
  30479. $ref: '#/definitions/models.WrAverageTradePrice'
  30480. type: array
  30481. "500":
  30482. description: Internal Server Error
  30483. schema:
  30484. $ref: '#/definitions/app.Response'
  30485. security:
  30486. - ApiKeyAuth: []
  30487. summary: 查询成交价(历史走势)
  30488. tags:
  30489. - 仓单贸易v2
  30490. /WrTrade2/QueryWrBrandAndYears:
  30491. get:
  30492. produces:
  30493. - application/json
  30494. responses:
  30495. "200":
  30496. description: OK
  30497. schema:
  30498. items:
  30499. $ref: '#/definitions/models.WrBrandAndYears'
  30500. type: array
  30501. "500":
  30502. description: Internal Server Error
  30503. schema:
  30504. $ref: '#/definitions/app.Response'
  30505. security:
  30506. - ApiKeyAuth: []
  30507. summary: 查询品牌和年份
  30508. tags:
  30509. - 仓单贸易v2
  30510. /WrTrade2/QueryWrBsGoodsInfo:
  30511. get:
  30512. description: 合约交易/买卖大厅/详情
  30513. parameters:
  30514. - description: 商品id
  30515. in: query
  30516. name: goodsid
  30517. required: true
  30518. type: integer
  30519. produces:
  30520. - application/json
  30521. responses:
  30522. "200":
  30523. description: OK
  30524. schema:
  30525. items:
  30526. $ref: '#/definitions/models.WrBsGoodsInfo'
  30527. type: array
  30528. "500":
  30529. description: Internal Server Error
  30530. schema:
  30531. $ref: '#/definitions/app.Response'
  30532. security:
  30533. - ApiKeyAuth: []
  30534. summary: 查询合约交易买卖大厅详情
  30535. tags:
  30536. - 仓单贸易v2
  30537. /WrTrade2/QueryWrBuybackDetail:
  30538. get:
  30539. parameters:
  30540. - description: 融资合同id
  30541. in: query
  30542. name: scfcontractid
  30543. type: integer
  30544. produces:
  30545. - application/json
  30546. responses:
  30547. "200":
  30548. description: OK
  30549. schema:
  30550. items:
  30551. $ref: '#/definitions/models.WrBuybackDetail'
  30552. type: array
  30553. "500":
  30554. description: Internal Server Error
  30555. schema:
  30556. $ref: '#/definitions/app.Response'
  30557. security:
  30558. - ApiKeyAuth: []
  30559. summary: 查询仓单回购明细
  30560. tags:
  30561. - 仓单贸易v2
  30562. /WrTrade2/QueryWrClientAdSpaceConfig:
  30563. get:
  30564. produces:
  30565. - application/json
  30566. responses:
  30567. "200":
  30568. description: OK
  30569. schema:
  30570. items:
  30571. $ref: '#/definitions/models.WrClientAdSpaceConfig'
  30572. type: array
  30573. "500":
  30574. description: Internal Server Error
  30575. schema:
  30576. $ref: '#/definitions/app.Response'
  30577. security:
  30578. - ApiKeyAuth: []
  30579. summary: 查询固定广告配置
  30580. tags:
  30581. - 仓单贸易v2
  30582. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  30583. get:
  30584. parameters:
  30585. - description: 资金账号
  30586. in: query
  30587. name: accountid
  30588. required: true
  30589. type: integer
  30590. - description: 商品id
  30591. in: query
  30592. name: goodsid
  30593. required: true
  30594. type: integer
  30595. produces:
  30596. - application/json
  30597. responses:
  30598. "200":
  30599. description: OK
  30600. schema:
  30601. items:
  30602. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  30603. type: array
  30604. "500":
  30605. description: Internal Server Error
  30606. schema:
  30607. $ref: '#/definitions/app.Response'
  30608. security:
  30609. - ApiKeyAuth: []
  30610. summary: 查询合约交收可点选仓单
  30611. tags:
  30612. - 仓单贸易v2
  30613. /WrTrade2/QueryWrDeliveryDetail:
  30614. get:
  30615. parameters:
  30616. - description: 用户id
  30617. in: query
  30618. name: userid
  30619. required: true
  30620. type: integer
  30621. - description: 资金账号id
  30622. in: query
  30623. name: accountid
  30624. type: integer
  30625. - description: 开始交易日(yyyymmdd)
  30626. in: query
  30627. name: begindate
  30628. type: string
  30629. - description: 结束交易日(yyyymmdd)
  30630. in: query
  30631. name: enddate
  30632. type: string
  30633. produces:
  30634. - application/json
  30635. responses:
  30636. "200":
  30637. description: OK
  30638. schema:
  30639. items:
  30640. $ref: '#/definitions/models.WrDeliveryDetail'
  30641. type: array
  30642. "500":
  30643. description: Internal Server Error
  30644. schema:
  30645. $ref: '#/definitions/app.Response'
  30646. security:
  30647. - ApiKeyAuth: []
  30648. summary: 查询交收
  30649. tags:
  30650. - 仓单贸易v2
  30651. /WrTrade2/QueryWrDraftUserInfo:
  30652. get:
  30653. parameters:
  30654. - description: 用户ID
  30655. in: query
  30656. name: userid
  30657. required: true
  30658. type: integer
  30659. - description: 用户状态 1:正常 2:注销
  30660. in: query
  30661. name: userstatus
  30662. type: integer
  30663. produces:
  30664. - application/json
  30665. responses:
  30666. "200":
  30667. description: OK
  30668. schema:
  30669. items:
  30670. $ref: '#/definitions/models.WrDraftUserInfo'
  30671. type: array
  30672. "500":
  30673. description: Internal Server Error
  30674. schema:
  30675. $ref: '#/definitions/app.Response'
  30676. security:
  30677. - ApiKeyAuth: []
  30678. summary: 查询实名认证信息
  30679. tags:
  30680. - 仓单贸易v2
  30681. /WrTrade2/QueryWrFactorTypeInfo:
  30682. get:
  30683. parameters:
  30684. - description: 仓单要素id
  30685. in: query
  30686. name: wrfactortypeid
  30687. required: true
  30688. type: integer
  30689. produces:
  30690. - application/json
  30691. responses:
  30692. "200":
  30693. description: OK
  30694. schema:
  30695. items:
  30696. $ref: '#/definitions/models.WrFactorTypeInfo'
  30697. type: array
  30698. "500":
  30699. description: Internal Server Error
  30700. schema:
  30701. $ref: '#/definitions/app.Response'
  30702. security:
  30703. - ApiKeyAuth: []
  30704. summary: 查询仓单要素详细信息
  30705. tags:
  30706. - 仓单贸易v2
  30707. /WrTrade2/QueryWrFactorTypeInfoEx:
  30708. get:
  30709. parameters:
  30710. - description: 仓单要素id
  30711. in: query
  30712. name: wrfactortypeid
  30713. required: true
  30714. type: integer
  30715. produces:
  30716. - application/json
  30717. responses:
  30718. "200":
  30719. description: OK
  30720. schema:
  30721. items:
  30722. $ref: '#/definitions/models.WrTypeItem'
  30723. type: array
  30724. "500":
  30725. description: Internal Server Error
  30726. schema:
  30727. $ref: '#/definitions/app.Response'
  30728. security:
  30729. - ApiKeyAuth: []
  30730. summary: 查询仓单要素详细信息列表项
  30731. tags:
  30732. - 仓单贸易v2
  30733. /WrTrade2/QueryWrFinanceBuyApply:
  30734. get:
  30735. description: 页面 融资信息+ / 申请单
  30736. parameters:
  30737. - description: 用户id
  30738. in: query
  30739. name: userid
  30740. required: true
  30741. type: integer
  30742. produces:
  30743. - application/json
  30744. responses:
  30745. "200":
  30746. description: OK
  30747. schema:
  30748. items:
  30749. $ref: '#/definitions/models.WrFinanceBuyApply'
  30750. type: array
  30751. "500":
  30752. description: Internal Server Error
  30753. schema:
  30754. $ref: '#/definitions/app.Response'
  30755. security:
  30756. - ApiKeyAuth: []
  30757. summary: 查询融资购买申请
  30758. tags:
  30759. - 仓单贸易v2
  30760. /WrTrade2/QueryWrFriendApply:
  30761. get:
  30762. parameters:
  30763. - description: 用户id
  30764. in: query
  30765. name: userid
  30766. required: true
  30767. type: integer
  30768. produces:
  30769. - application/json
  30770. responses:
  30771. "200":
  30772. description: OK
  30773. schema:
  30774. items:
  30775. $ref: '#/definitions/models.WrFriendApply'
  30776. type: array
  30777. "500":
  30778. description: Internal Server Error
  30779. schema:
  30780. $ref: '#/definitions/app.Response'
  30781. security:
  30782. - ApiKeyAuth: []
  30783. summary: 查询好友申请记录
  30784. tags:
  30785. - 仓单贸易v2
  30786. /WrTrade2/QueryWrGoodsInfo:
  30787. get:
  30788. parameters:
  30789. - description: 仓单贸易市场id
  30790. in: query
  30791. name: marketid
  30792. type: integer
  30793. - description: 0:仓单预售 1:仓单贸易
  30794. in: query
  30795. name: haswr
  30796. required: true
  30797. type: integer
  30798. - description: 仓单要素id
  30799. in: query
  30800. name: wrfactortypeid
  30801. required: true
  30802. type: integer
  30803. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  30804. in: query
  30805. name: tmplateid
  30806. type: integer
  30807. produces:
  30808. - application/json
  30809. responses:
  30810. "200":
  30811. description: OK
  30812. schema:
  30813. items:
  30814. $ref: '#/definitions/models.WrGoodsInfo'
  30815. type: array
  30816. "500":
  30817. description: Internal Server Error
  30818. schema:
  30819. $ref: '#/definitions/app.Response'
  30820. security:
  30821. - ApiKeyAuth: []
  30822. summary: 查询仓单商品信息
  30823. tags:
  30824. - 仓单贸易v2
  30825. /WrTrade2/QueryWrMarketTradeConfig:
  30826. get:
  30827. parameters:
  30828. - description: 市场id
  30829. in: query
  30830. name: marketid
  30831. type: integer
  30832. produces:
  30833. - application/json
  30834. responses:
  30835. "200":
  30836. description: OK
  30837. schema:
  30838. items:
  30839. $ref: '#/definitions/models.WrMarketTradeConfig'
  30840. type: array
  30841. "500":
  30842. description: Internal Server Error
  30843. schema:
  30844. $ref: '#/definitions/app.Response'
  30845. security:
  30846. - ApiKeyAuth: []
  30847. summary: 查询市场交易参数配置
  30848. tags:
  30849. - 仓单贸易v2
  30850. /WrTrade2/QueryWrOrderDetail:
  30851. get:
  30852. description: 页面 现货仓单 | 预售仓单 -> 委托单
  30853. parameters:
  30854. - description: 页码
  30855. in: query
  30856. name: page
  30857. type: integer
  30858. - description: 每页条数
  30859. in: query
  30860. name: pagesize
  30861. type: integer
  30862. - description: 用户id
  30863. in: query
  30864. name: userid
  30865. required: true
  30866. type: integer
  30867. - description: 仓单贸易市场id
  30868. in: query
  30869. name: marketid
  30870. type: integer
  30871. - description: 0:仓单预售 1:仓单贸易
  30872. in: query
  30873. name: haswr
  30874. required: true
  30875. type: integer
  30876. - description: 是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场
  30877. in: query
  30878. name: bcancel
  30879. type: integer
  30880. - description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  30881. in: query
  30882. name: wrtradetype
  30883. type: integer
  30884. - description: 开始交易日(yyyymmdd)
  30885. in: query
  30886. name: begindate
  30887. type: string
  30888. - description: 结束交易日(yyyymmdd)
  30889. in: query
  30890. name: enddate
  30891. type: string
  30892. produces:
  30893. - application/json
  30894. responses:
  30895. "200":
  30896. description: OK
  30897. schema:
  30898. items:
  30899. $ref: '#/definitions/models.WrOrderDetail'
  30900. type: array
  30901. "500":
  30902. description: Internal Server Error
  30903. schema:
  30904. $ref: '#/definitions/app.Response'
  30905. security:
  30906. - ApiKeyAuth: []
  30907. summary: 查询仓单委托单
  30908. tags:
  30909. - 仓单贸易v2
  30910. /WrTrade2/QueryWrOutInApply:
  30911. get:
  30912. parameters:
  30913. - description: 用户id
  30914. in: query
  30915. name: userid
  30916. required: true
  30917. type: integer
  30918. - description: 开始交易日(yyyymmdd)
  30919. in: query
  30920. name: begindate
  30921. type: string
  30922. - description: 结束交易日(yyyymmdd)
  30923. in: query
  30924. name: enddate
  30925. type: string
  30926. produces:
  30927. - application/json
  30928. responses:
  30929. "200":
  30930. description: OK
  30931. schema:
  30932. items:
  30933. $ref: '#/definitions/models.WrOutInApply'
  30934. type: array
  30935. "500":
  30936. description: Internal Server Error
  30937. schema:
  30938. $ref: '#/definitions/app.Response'
  30939. security:
  30940. - ApiKeyAuth: []
  30941. summary: 查询提货申请
  30942. tags:
  30943. - 仓单贸易v2
  30944. /WrTrade2/QueryWrPerformancePlanStep:
  30945. get:
  30946. parameters:
  30947. - description: 履约计划id(performanceplanid)
  30948. in: query
  30949. name: planid
  30950. required: true
  30951. type: integer
  30952. - description: 当前步骤id
  30953. in: query
  30954. name: curstepid
  30955. type: integer
  30956. produces:
  30957. - application/json
  30958. responses:
  30959. "200":
  30960. description: OK
  30961. schema:
  30962. items:
  30963. $ref: '#/definitions/models.WrPerformancePlanStep'
  30964. type: array
  30965. "500":
  30966. description: Internal Server Error
  30967. schema:
  30968. $ref: '#/definitions/app.Response'
  30969. security:
  30970. - ApiKeyAuth: []
  30971. summary: 查询履约信息详情
  30972. tags:
  30973. - 仓单贸易v2
  30974. /WrTrade2/QueryWrPerformanceStepType:
  30975. get:
  30976. produces:
  30977. - application/json
  30978. responses:
  30979. "200":
  30980. description: OK
  30981. schema:
  30982. items:
  30983. $ref: '#/definitions/models.WrPerformanceStepType'
  30984. type: array
  30985. "500":
  30986. description: Internal Server Error
  30987. schema:
  30988. $ref: '#/definitions/app.Response'
  30989. security:
  30990. - ApiKeyAuth: []
  30991. summary: 查询履约步骤枚举
  30992. tags:
  30993. - 仓单贸易v2
  30994. /WrTrade2/QueryWrPosition:
  30995. get:
  30996. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  30997. parameters:
  30998. - description: 用户id
  30999. in: query
  31000. name: userid
  31001. required: true
  31002. type: integer
  31003. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  31004. in: query
  31005. name: querytype
  31006. required: true
  31007. type: integer
  31008. - description: 0:仓单预售 1:仓单贸易
  31009. in: query
  31010. name: haswr
  31011. required: true
  31012. type: integer
  31013. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  31014. in: query
  31015. name: dgitemname
  31016. type: string
  31017. - description: 仓库id(筛选条件)
  31018. in: query
  31019. name: warehouseid
  31020. type: integer
  31021. - description: 品种id
  31022. in: query
  31023. name: deliverygoodsid
  31024. type: integer
  31025. - description: 品类id
  31026. in: query
  31027. name: wrstandardid
  31028. type: integer
  31029. produces:
  31030. - application/json
  31031. responses:
  31032. "200":
  31033. description: OK
  31034. schema:
  31035. items:
  31036. $ref: '#/definitions/models.WrPosition'
  31037. type: array
  31038. "500":
  31039. description: Internal Server Error
  31040. schema:
  31041. $ref: '#/definitions/app.Response'
  31042. security:
  31043. - ApiKeyAuth: []
  31044. summary: 查询现货(预售)仓单持仓
  31045. tags:
  31046. - 仓单贸易v2
  31047. /WrTrade2/QueryWrPreSaleInfo:
  31048. get:
  31049. parameters:
  31050. - description: 市场id
  31051. in: query
  31052. name: marketid
  31053. type: integer
  31054. - description: 预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭
  31055. in: query
  31056. name: presalestatus
  31057. type: string
  31058. - description: 摇号标识 - 0:未摇号 1:已摇号
  31059. in: query
  31060. name: lotteryflag
  31061. type: integer
  31062. - description: 最近多少条记录(按创建时间倒序)
  31063. in: query
  31064. name: lastnum
  31065. type: integer
  31066. produces:
  31067. - application/json
  31068. responses:
  31069. "200":
  31070. description: OK
  31071. schema:
  31072. items:
  31073. $ref: '#/definitions/models.WrPreSaleInfo'
  31074. type: array
  31075. "500":
  31076. description: Internal Server Error
  31077. schema:
  31078. $ref: '#/definitions/app.Response'
  31079. security:
  31080. - ApiKeyAuth: []
  31081. summary: 查询新品发布
  31082. tags:
  31083. - 仓单贸易v2
  31084. /WrTrade2/QueryWrReckonSpotGoodsTradeSum:
  31085. get:
  31086. parameters:
  31087. - description: 市场id
  31088. in: query
  31089. name: marketid
  31090. required: true
  31091. type: integer
  31092. - description: 现货商品id
  31093. in: query
  31094. name: wrstandardid
  31095. required: true
  31096. type: integer
  31097. - description: 开始交易日(yyyymmdd)
  31098. in: query
  31099. name: begindate
  31100. type: string
  31101. - description: 结束交易日(yyyymmdd)
  31102. in: query
  31103. name: enddate
  31104. type: string
  31105. - description: 最近多少条记录(按交易日倒序)
  31106. in: query
  31107. name: lastnum
  31108. type: integer
  31109. - description: 是否今日
  31110. in: query
  31111. name: istoday
  31112. type: boolean
  31113. produces:
  31114. - application/json
  31115. responses:
  31116. "200":
  31117. description: OK
  31118. schema:
  31119. items:
  31120. $ref: '#/definitions/models.WrReckonSpotGoodsTradeSum'
  31121. type: array
  31122. "500":
  31123. description: Internal Server Error
  31124. schema:
  31125. $ref: '#/definitions/app.Response'
  31126. security:
  31127. - ApiKeyAuth: []
  31128. summary: 查询价格走势
  31129. tags:
  31130. - 仓单贸易v2
  31131. /WrTrade2/QueryWrScfContract:
  31132. get:
  31133. parameters:
  31134. - description: 用户id
  31135. in: query
  31136. name: userid
  31137. required: true
  31138. type: integer
  31139. - description: 融资合同id
  31140. in: query
  31141. name: scfcontractid
  31142. type: integer
  31143. produces:
  31144. - application/json
  31145. responses:
  31146. "200":
  31147. description: OK
  31148. schema:
  31149. items:
  31150. $ref: '#/definitions/models.WrScfContract'
  31151. type: array
  31152. "500":
  31153. description: Internal Server Error
  31154. schema:
  31155. $ref: '#/definitions/app.Response'
  31156. security:
  31157. - ApiKeyAuth: []
  31158. summary: 查询仓单贸易融资合同
  31159. tags:
  31160. - 仓单贸易v2
  31161. /WrTrade2/QueryWrScfContractInterest:
  31162. get:
  31163. parameters:
  31164. - description: 融资合同id
  31165. in: query
  31166. name: scfcontractid
  31167. type: integer
  31168. produces:
  31169. - application/json
  31170. responses:
  31171. "200":
  31172. description: OK
  31173. schema:
  31174. items:
  31175. $ref: '#/definitions/models.WrScfContractInterest'
  31176. type: array
  31177. "500":
  31178. description: Internal Server Error
  31179. schema:
  31180. $ref: '#/definitions/app.Response'
  31181. security:
  31182. - ApiKeyAuth: []
  31183. summary: 查询融资合同费用明细
  31184. tags:
  31185. - 仓单贸易v2
  31186. /WrTrade2/QueryWrSearchUser:
  31187. get:
  31188. parameters:
  31189. - description: 用户名称(模糊匹配)
  31190. in: query
  31191. name: username
  31192. required: true
  31193. type: string
  31194. produces:
  31195. - application/json
  31196. responses:
  31197. "200":
  31198. description: OK
  31199. schema:
  31200. items:
  31201. $ref: '#/definitions/models.WrSearchUser'
  31202. type: array
  31203. "500":
  31204. description: Internal Server Error
  31205. schema:
  31206. $ref: '#/definitions/app.Response'
  31207. security:
  31208. - ApiKeyAuth: []
  31209. summary: 查询用户
  31210. tags:
  31211. - 仓单贸易v2
  31212. /WrTrade2/QueryWrSpecialMatchOrder:
  31213. get:
  31214. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  31215. parameters:
  31216. - description: 页码
  31217. in: query
  31218. name: page
  31219. type: integer
  31220. - description: 每页条数
  31221. in: query
  31222. name: pagesize
  31223. type: integer
  31224. - description: 用户id
  31225. in: query
  31226. name: userid
  31227. required: true
  31228. type: integer
  31229. - description: 仓单贸易市场id
  31230. in: query
  31231. name: marketid
  31232. type: integer
  31233. - description: 0:仓单预售 1:仓单贸易
  31234. in: query
  31235. name: haswr
  31236. required: true
  31237. type: integer
  31238. - description: 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  31239. in: query
  31240. name: isspecified
  31241. type: integer
  31242. produces:
  31243. - application/json
  31244. responses:
  31245. "200":
  31246. description: OK
  31247. schema:
  31248. items:
  31249. $ref: '#/definitions/models.WrSpecialMatchOrder'
  31250. type: array
  31251. "500":
  31252. description: Internal Server Error
  31253. schema:
  31254. $ref: '#/definitions/app.Response'
  31255. security:
  31256. - ApiKeyAuth: []
  31257. summary: 查询指定成交
  31258. tags:
  31259. - 仓单贸易v2
  31260. /WrTrade2/QueryWrStandardFactoryItem:
  31261. get:
  31262. parameters:
  31263. - description: 品类id
  31264. in: query
  31265. name: wrstandardid
  31266. required: true
  31267. type: integer
  31268. produces:
  31269. - application/json
  31270. responses:
  31271. "200":
  31272. description: OK
  31273. schema:
  31274. items:
  31275. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  31276. type: array
  31277. "500":
  31278. description: Internal Server Error
  31279. schema:
  31280. $ref: '#/definitions/app.Response'
  31281. security:
  31282. - ApiKeyAuth: []
  31283. summary: 查询品类要素定义项
  31284. tags:
  31285. - 仓单贸易v2
  31286. /WrTrade2/QueryWrTradeBargainApply:
  31287. get:
  31288. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面
  31289. 议价->对方议价 填写matchuserid=登录用户id
  31290. parameters:
  31291. - description: 议价人id(摘牌方)
  31292. in: query
  31293. name: userid
  31294. type: integer
  31295. - description: 挂牌方id(查对方议价时,填写此项)
  31296. in: query
  31297. name: matchuserid
  31298. type: integer
  31299. - description: 关联委托单id
  31300. in: query
  31301. name: wrtradeorderid
  31302. type: integer
  31303. - description: 0:仓单预售 1:仓单贸易
  31304. in: query
  31305. name: haswr
  31306. required: true
  31307. type: integer
  31308. - description: 开始交易日(yyyymmdd)
  31309. in: query
  31310. name: begindate
  31311. type: string
  31312. - description: 结束交易日(yyyymmdd)
  31313. in: query
  31314. name: enddate
  31315. type: string
  31316. produces:
  31317. - application/json
  31318. responses:
  31319. "200":
  31320. description: OK
  31321. schema:
  31322. items:
  31323. $ref: '#/definitions/models.WRTradeBargainApply'
  31324. type: array
  31325. "500":
  31326. description: Internal Server Error
  31327. schema:
  31328. $ref: '#/definitions/app.Response'
  31329. security:
  31330. - ApiKeyAuth: []
  31331. summary: 查询议价单
  31332. tags:
  31333. - 仓单贸易v2
  31334. /WrTrade2/QueryWrTradeDetail:
  31335. get:
  31336. parameters:
  31337. - description: 页码
  31338. in: query
  31339. name: page
  31340. type: integer
  31341. - description: 每页条数
  31342. in: query
  31343. name: pagesize
  31344. type: integer
  31345. - description: 用户id
  31346. in: query
  31347. name: userid
  31348. required: true
  31349. type: integer
  31350. - description: 仓单贸易市场id
  31351. in: query
  31352. name: marketid
  31353. type: integer
  31354. - description: 0:仓单预售 1:仓单贸易
  31355. in: query
  31356. name: haswr
  31357. required: true
  31358. type: integer
  31359. - description: 开始交易日(yyyymmdd)
  31360. in: query
  31361. name: begindate
  31362. type: string
  31363. - description: 结束交易日(yyyymmdd)
  31364. in: query
  31365. name: enddate
  31366. type: string
  31367. produces:
  31368. - application/json
  31369. responses:
  31370. "200":
  31371. description: OK
  31372. schema:
  31373. items:
  31374. $ref: '#/definitions/models.WrTradeDetail'
  31375. type: array
  31376. "500":
  31377. description: Internal Server Error
  31378. schema:
  31379. $ref: '#/definitions/app.Response'
  31380. security:
  31381. - ApiKeyAuth: []
  31382. summary: 查询仓单成交明细
  31383. tags:
  31384. - 仓单贸易v2
  31385. /WrTrade2/QueryWrTradeOrderDetail:
  31386. get:
  31387. parameters:
  31388. - description: 页码
  31389. in: query
  31390. name: page
  31391. type: integer
  31392. - description: 每页条数
  31393. in: query
  31394. name: pagesize
  31395. type: integer
  31396. - description: 商品id
  31397. in: query
  31398. name: goodsid
  31399. required: true
  31400. type: integer
  31401. - description: 买卖方向 0-买 1-卖
  31402. in: query
  31403. name: buyorsell
  31404. required: true
  31405. type: integer
  31406. produces:
  31407. - application/json
  31408. responses:
  31409. "200":
  31410. description: OK
  31411. schema:
  31412. items:
  31413. $ref: '#/definitions/models.WrTradeOrderDetail'
  31414. type: array
  31415. "500":
  31416. description: Internal Server Error
  31417. schema:
  31418. $ref: '#/definitions/app.Response'
  31419. security:
  31420. - ApiKeyAuth: []
  31421. summary: 查询合约交易买卖大厅
  31422. tags:
  31423. - 仓单贸易v2
  31424. /WrTrade2/QueryWrUserFriend:
  31425. get:
  31426. parameters:
  31427. - description: 用户id
  31428. in: query
  31429. name: userid
  31430. required: true
  31431. type: integer
  31432. - description: 新朋友userid, 如果填写了此项则查找新朋友
  31433. in: query
  31434. name: newuserid
  31435. type: integer
  31436. produces:
  31437. - application/json
  31438. responses:
  31439. "200":
  31440. description: OK
  31441. schema:
  31442. items:
  31443. $ref: '#/definitions/models.WrUserFriend'
  31444. type: array
  31445. "500":
  31446. description: Internal Server Error
  31447. schema:
  31448. $ref: '#/definitions/app.Response'
  31449. security:
  31450. - ApiKeyAuth: []
  31451. summary: 查询我的朋友
  31452. tags:
  31453. - 仓单贸易v2
  31454. /WrTrade2/QueryWrUserReceiptInfo:
  31455. get:
  31456. parameters:
  31457. - description: 用户id
  31458. in: query
  31459. name: userid
  31460. type: integer
  31461. - description: 发票类型 - 1:个人 2:企业
  31462. in: query
  31463. name: receipttype
  31464. type: integer
  31465. produces:
  31466. - application/json
  31467. responses:
  31468. "200":
  31469. description: OK
  31470. schema:
  31471. items:
  31472. $ref: '#/definitions/models.WrUserReceiptInfo'
  31473. type: array
  31474. "500":
  31475. description: Internal Server Error
  31476. schema:
  31477. $ref: '#/definitions/app.Response'
  31478. security:
  31479. - ApiKeyAuth: []
  31480. summary: 查询发票信息
  31481. tags:
  31482. - 仓单贸易v2
  31483. /WrTrade2/QueryXhcpSellBackApply:
  31484. get:
  31485. parameters:
  31486. - description: 用户ID
  31487. in: query
  31488. name: userid
  31489. required: true
  31490. type: integer
  31491. produces:
  31492. - application/json
  31493. responses:
  31494. "200":
  31495. description: OK
  31496. schema:
  31497. items:
  31498. $ref: '#/definitions/models.Xhcpsellbackapply'
  31499. type: array
  31500. "500":
  31501. description: Internal Server Error
  31502. schema:
  31503. $ref: '#/definitions/app.Response'
  31504. security:
  31505. - ApiKeyAuth: []
  31506. summary: 查询我的回收申请(新会陈皮)
  31507. tags:
  31508. - 仓单贸易v2
  31509. /ZJ/GetBankTip:
  31510. get:
  31511. produces:
  31512. - application/json
  31513. responses:
  31514. "200":
  31515. description: OK
  31516. schema:
  31517. type: string
  31518. "500":
  31519. description: Internal Server Error
  31520. schema:
  31521. $ref: '#/definitions/app.Response'
  31522. summary: 获取中江网银端出入金提示信息
  31523. tags:
  31524. - 中江
  31525. /ZJ/GetCusBankChannels:
  31526. get:
  31527. produces:
  31528. - application/json
  31529. responses:
  31530. "200":
  31531. description: OK
  31532. schema:
  31533. items:
  31534. type: string
  31535. type: array
  31536. "500":
  31537. description: Internal Server Error
  31538. schema:
  31539. $ref: '#/definitions/app.Response'
  31540. summary: 获取中江出入金渠道显示列表
  31541. tags:
  31542. - 中江
  31543. securityDefinitions:
  31544. ApiKeyAuth:
  31545. in: header
  31546. name: Authorization
  31547. type: apiKey
  31548. swagger: "2.0"