swagger.yaml 728 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363
  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.QueryImageConfigsRsp:
  54. properties:
  55. areauserid:
  56. description: 所属机构ID
  57. type: integer
  58. configid:
  59. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  60. type: integer
  61. createdate:
  62. description: 创建时间
  63. type: string
  64. creatorid:
  65. description: 创建人
  66. type: integer
  67. imagepath:
  68. description: 图片
  69. type: string
  70. imagetype:
  71. description: 类型 - 1:首页轮播(移动) 2:我的(移动)
  72. type: integer
  73. isshow:
  74. description: 是否展示 - 0:不展示 1:展示
  75. type: integer
  76. marketid:
  77. description: 市场ID
  78. type: integer
  79. modifierid:
  80. description: 操作人
  81. type: integer
  82. sort:
  83. description: 排序
  84. type: integer
  85. title:
  86. description: 标题
  87. type: string
  88. trademode:
  89. description: 交易模式
  90. type: integer
  91. updatedate:
  92. description: 修改时间
  93. type: string
  94. url:
  95. description: 链接(地址或商品ID)
  96. type: string
  97. urltype:
  98. description: 链接类型 - 1:直接地址 2:商品ID
  99. type: integer
  100. required:
  101. - configid
  102. type: object
  103. common.QueryNoticeRsp:
  104. properties:
  105. auditoruserid:
  106. description: 审核人
  107. type: integer
  108. auditremark:
  109. description: 审核备注
  110. type: string
  111. audittime:
  112. description: 审核日期
  113. type: string
  114. autoid:
  115. description: 自增ID
  116. type: integer
  117. content:
  118. description: 内容
  119. type: string
  120. createtime:
  121. description: 创建时间
  122. type: string
  123. creatorid:
  124. description: 建仓人
  125. type: integer
  126. endtime:
  127. description: 结束时间
  128. type: string
  129. istop:
  130. description: 是否置顶 - 0:不置顶 1:置顶
  131. type: integer
  132. msgiconurl:
  133. description: 消息图标Url
  134. type: string
  135. msgtype:
  136. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  137. type: integer
  138. publisher:
  139. description: 消息发布者
  140. type: string
  141. readed:
  142. description: 是否已读
  143. type: boolean
  144. scheduletime:
  145. description: 计划发送时间
  146. type: string
  147. sendtype:
  148. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  149. type: integer
  150. sentstatus:
  151. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  152. type: integer
  153. title:
  154. description: 标题
  155. type: string
  156. userid:
  157. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  158. type: integer
  159. required:
  160. - autoid
  161. type: object
  162. common.QueryProvincesAndCitiesRsp:
  163. properties:
  164. cities:
  165. description: 市
  166. items:
  167. $ref: '#/definitions/models.Division'
  168. type: array
  169. province:
  170. $ref: '#/definitions/models.Division'
  171. description: 省
  172. type: object
  173. type: object
  174. common.QueryTableDefineRsp:
  175. properties:
  176. columns:
  177. description: 列头信息数组
  178. items:
  179. $ref: '#/definitions/models.Tablecolumnconfig'
  180. type: array
  181. remark:
  182. description: Remark
  183. type: string
  184. tabelmenu:
  185. description: 列表菜单
  186. type: string
  187. tablekey:
  188. description: 列表Key
  189. type: string
  190. tablename:
  191. description: 列表名称
  192. type: string
  193. tabletype:
  194. description: 列表类型 - 1:管理端 2:终端
  195. type: integer
  196. required:
  197. - tablekey
  198. type: object
  199. common.QueryTraderMenuRsp:
  200. properties:
  201. OperationMenu:
  202. description: 功能菜单
  203. items:
  204. $ref: '#/definitions/models.OperationPrimaryMenu'
  205. type: array
  206. QuoteMenu:
  207. description: 报价牌分类菜单
  208. items:
  209. $ref: '#/definitions/models.QuotePrimaryMenu'
  210. type: array
  211. type: object
  212. cptrade.Cptradepositioncancel:
  213. properties:
  214. accountid:
  215. description: 申请人账户ID
  216. type: integer
  217. applystatus:
  218. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  219. type: integer
  220. applytime:
  221. description: 申请时间
  222. type: string
  223. cancelid:
  224. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  225. type: integer
  226. cancelqty:
  227. description: 注销数量
  228. type: integer
  229. createtime:
  230. description: 创建时间
  231. type: string
  232. creatorid:
  233. description: 创建人ID
  234. type: integer
  235. creatorname:
  236. description: 创建人
  237. type: string
  238. goodscode:
  239. description: 订单商品代码
  240. type: string
  241. goodsid:
  242. description: 商品ID
  243. type: integer
  244. goodsname:
  245. description: 订单商品名称
  246. type: string
  247. goodunit:
  248. description: 报价单位
  249. type: string
  250. handlestatus:
  251. description: 处理状态
  252. type: integer
  253. marketid:
  254. description: 市场ID
  255. type: integer
  256. marketname:
  257. description: 市场名称
  258. type: string
  259. tradedate:
  260. description: 交易日(yyyyMMdd)
  261. type: string
  262. userid:
  263. description: 申请人ID
  264. type: integer
  265. required:
  266. - cancelid
  267. type: object
  268. cptrade.Cptradepresaleapply:
  269. properties:
  270. accountid:
  271. description: 申请人账户ID
  272. type: integer
  273. applyid:
  274. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  275. type: integer
  276. applyremark:
  277. description: 申请备注
  278. type: string
  279. applystatus:
  280. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  281. type: integer
  282. applytime:
  283. description: 申请时间
  284. type: string
  285. attachmenturl:
  286. description: 附件地址
  287. type: string
  288. endtime:
  289. description: 预售结束时间
  290. type: string
  291. goodscode:
  292. description: 商品代码
  293. type: string
  294. goodsid:
  295. description: 商品ID
  296. type: integer
  297. goodsname:
  298. description: 商品名称
  299. type: string
  300. goodunit:
  301. description: 报价单位
  302. type: string
  303. handlestatus:
  304. description: 处理状态
  305. type: integer
  306. marketid:
  307. description: 预售市场ID
  308. type: integer
  309. marketname:
  310. description: 预售市场名称
  311. type: string
  312. presaleqty:
  313. description: 预售数量
  314. type: integer
  315. relatedgoodscode:
  316. description: 关联交易合约代码
  317. type: string
  318. relatedgoodsid:
  319. description: 关联交易合约ID
  320. type: integer
  321. relatedgoodsname:
  322. description: 关联交易合约名称
  323. type: string
  324. starttime:
  325. description: 预售开始时间
  326. type: string
  327. tradedate:
  328. description: 交易日(yyyyMMdd)
  329. type: string
  330. trademode:
  331. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  332. type: integer
  333. userid:
  334. description: 申请人ID
  335. type: integer
  336. required:
  337. - applyid
  338. type: object
  339. cptrade.Cptradeusergoodsdata:
  340. properties:
  341. EnabledQty:
  342. description: 可用量
  343. type: integer
  344. GoodsCode:
  345. description: 订单商品代码
  346. type: string
  347. GoodsName:
  348. description: 订单商品名称
  349. type: string
  350. WRStandardCode:
  351. description: 仓单标准代码
  352. type: string
  353. WRStandardName:
  354. description: 仓单标准名称
  355. type: string
  356. accountid:
  357. description: 账户ID
  358. type: integer
  359. cancelqty:
  360. description: 注销量
  361. type: integer
  362. curpresaleqty:
  363. description: 当前预售量
  364. type: integer
  365. deliveryqty:
  366. description: 交割量
  367. type: integer
  368. freezeamount:
  369. description: 冻结金额
  370. type: number
  371. goodsid:
  372. description: 商品ID
  373. type: integer
  374. goodunit:
  375. description: 报价单位
  376. type: string
  377. hasspotfreeze:
  378. description: 是否有现货冻结 - 0:否 1:有
  379. type: integer
  380. inqty:
  381. description: 转入量(总数量)
  382. type: integer
  383. marketid:
  384. description: 市场ID
  385. type: integer
  386. presaledamount:
  387. description: 已预售总金额
  388. type: integer
  389. presaledqty:
  390. description: 已预售量
  391. type: integer
  392. userid:
  393. description: 用户ID
  394. type: integer
  395. wrstandardid:
  396. description: 仓单标准ID
  397. type: integer
  398. required:
  399. - accountid
  400. - goodsid
  401. type: object
  402. cptrade.QueryCPTradeMyBidRsp:
  403. properties:
  404. accountid:
  405. description: 账户ID[报价币种]
  406. type: integer
  407. goodsid:
  408. description: 商品ID
  409. type: integer
  410. goodunit:
  411. description: 报价单位
  412. type: string
  413. marketid:
  414. description: 市场ID
  415. type: integer
  416. orderid:
  417. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  418. type: integer
  419. orderprice:
  420. description: 委托价格
  421. type: number
  422. orderqty:
  423. description: 委托数量
  424. type: integer
  425. ordertime:
  426. description: 委托时间
  427. type: string
  428. ordertotalprice:
  429. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  430. type: number
  431. ordertotalweight:
  432. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  433. type: integer
  434. totaltotalprice:
  435. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  436. type: number
  437. tradeprice:
  438. description: 成交价格
  439. type: number
  440. tradeqty:
  441. description: 成交数量
  442. type: integer
  443. required:
  444. - accountid
  445. - goodsid
  446. - marketid
  447. - orderid
  448. - orderqty
  449. - ordertime
  450. - tradeprice
  451. - tradeqty
  452. type: object
  453. cptrade.QueryCPTradeOrderDetailRsq:
  454. properties:
  455. accountid:
  456. description: 账户ID[报价币种]
  457. type: integer
  458. buildtype:
  459. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  460. type: integer
  461. buyorsell:
  462. description: 买卖 - 0:买 1:卖
  463. type: integer
  464. cancelorderid:
  465. description: 撤单单号(撤单时填写)
  466. type: integer
  467. cancelqty:
  468. description: 撤单数量
  469. type: integer
  470. clientordertime:
  471. description: 客户端委托时间
  472. type: string
  473. clientticket:
  474. description: 客户端流水号
  475. type: string
  476. clienttype:
  477. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  478. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  479. type: integer
  480. closeexchagechargevalue:
  481. description: 平仓交易所手续费设置值
  482. type: number
  483. closefeealgorithm:
  484. description: 平仓手续费收取方式 1:比率 2:固定
  485. type: integer
  486. closefreezecharge:
  487. description: 平仓冻结手续费(先建后平操作,需要记录)
  488. type: number
  489. closememberchargevalue:
  490. description: 平仓会员手续费设置值
  491. type: number
  492. closeqty:
  493. description: 平仓数量(先建后平操作 需要记录)
  494. type: integer
  495. closetradeqty:
  496. description: 平仓成交数量(先建后平操作,需要记录)
  497. type: integer
  498. closeunfreezecharge:
  499. description: 平仓解冻手续费(先建后平操作,需要记录)
  500. type: number
  501. delistingtype:
  502. description: 摘牌类型 - 1:价格最优 2:点选成交
  503. type: integer
  504. freezecharge:
  505. description: 冻结手续费
  506. type: number
  507. freezemargin:
  508. description: 冻结保证金(冻结交易金额)
  509. type: number
  510. gcaccountid:
  511. description: 账户ID[合约币种]
  512. type: integer
  513. goodsid:
  514. description: 商品ID
  515. type: integer
  516. isconfirmexercise:
  517. description: 是否确认行权- 0:否 1:是
  518. type: integer
  519. ispreexercise:
  520. description: 是否预申报- 0:否 1:是
  521. type: integer
  522. listingselecttype:
  523. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  524. type: integer
  525. marginalgorithm:
  526. description: 保证金收取方式 1:比率 2:固定
  527. type: integer
  528. marginvalue:
  529. description: 即市保证金设置值
  530. type: number
  531. marketid:
  532. description: 市场ID
  533. type: integer
  534. marketmaxsub:
  535. description: 市价最大偏移范围
  536. type: number
  537. memberuserid:
  538. description: 所属会员UserID
  539. type: integer
  540. openexchagechargevalue:
  541. description: 建仓交易所手续费设置值
  542. type: number
  543. openfeealgorithm:
  544. description: 建仓手续费收取方式 1:比率 2:固定
  545. type: integer
  546. openfreezecharge:
  547. description: 开仓冻结手续费(先建后平操作,需要记录)
  548. type: number
  549. openmemberchargevalue:
  550. description: 建仓会员手续费设置值
  551. type: number
  552. openqty:
  553. description: 开仓数量(先建后平操作,需要记录)
  554. type: integer
  555. opentradeqty:
  556. description: 开仓成交数量(先建后平操作,需要记录)
  557. type: integer
  558. openunfreezecharge:
  559. description: 开仓解冻手续费(先建后平操作,需要记录)
  560. type: number
  561. operatetype:
  562. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  563. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  564. 15:管理端协议转让
  565. type: integer
  566. operatorid:
  567. description: 登录账号(LoginID)
  568. type: integer
  569. optiontype:
  570. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  571. type: integer
  572. orderprice:
  573. description: 委托价格
  574. type: number
  575. orderqty:
  576. description: 委托数量
  577. type: integer
  578. ordersrc:
  579. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  580. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  581. type: integer
  582. orderstatus:
  583. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  584. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  585. 16:成交失败违约(荷兰式竞拍专用)
  586. type: integer
  587. ordertime:
  588. description: 委托时间
  589. type: string
  590. preexerciseprice:
  591. description: 预申报价格
  592. type: number
  593. premium:
  594. description: 权利金
  595. type: number
  596. preorderid:
  597. description: 关联预埋单号(止盈止损单时填写)
  598. type: integer
  599. pricemode:
  600. description: '取价方式 - 1:市价 2: 限价'
  601. type: integer
  602. quoteid:
  603. description: 报价单ID
  604. type: integer
  605. relatedid:
  606. description: 关联单号(交割单)
  607. type: integer
  608. retcode:
  609. description: 错误代码
  610. type: integer
  611. sessionid:
  612. description: 会话ID
  613. type: integer
  614. strorderid:
  615. description: 委托单号
  616. type: string
  617. tradedate:
  618. description: 交易日(yyyyMMdd)
  619. type: string
  620. tradeproperty:
  621. description: 交易属性
  622. type: integer
  623. tradeqty:
  624. description: 成交数量
  625. type: integer
  626. unfreezecharge:
  627. description: 解冻手续费
  628. type: number
  629. unfreezemargin:
  630. description: 解冻保证金
  631. type: number
  632. updatetime:
  633. description: 更新时间
  634. type: string
  635. uuid:
  636. description: 发起端唯一id
  637. type: string
  638. validtime:
  639. description: 有效期限
  640. type: string
  641. validtype:
  642. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  643. type: integer
  644. volumetype:
  645. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  646. type: integer
  647. required:
  648. - accountid
  649. - buildtype
  650. - buyorsell
  651. - goodsid
  652. - marketid
  653. - memberuserid
  654. - operatetype
  655. - orderqty
  656. - ordertime
  657. - pricemode
  658. - strorderid
  659. - tradedate
  660. - validtype
  661. type: object
  662. cptrade.QueryMyCPTradeGoodsRsp:
  663. properties:
  664. accountid:
  665. description: 卖方账户ID
  666. type: integer
  667. agreeunit:
  668. description: 合约单位
  669. type: number
  670. applyid:
  671. description: 关联申请ID
  672. type: integer
  673. attachmenturl:
  674. description: 附件地址
  675. type: string
  676. createtime:
  677. description: 创建时间
  678. type: string
  679. currencyid:
  680. description: 报价货币ID
  681. type: integer
  682. decimalplace:
  683. description: 报价小数位
  684. type: integer
  685. endtime:
  686. description: 预售结束时间
  687. type: string
  688. floorprice:
  689. description: 底价[大宗式竞拍]
  690. type: number
  691. goodscode:
  692. description: 商品代码(预售)
  693. type: string
  694. goodsdetail:
  695. description: 详情[大宗]
  696. type: string
  697. goodsid:
  698. description: 商品ID(自增ID SEQ_GOODS)
  699. type: integer
  700. goodsname:
  701. description: 商品名称(预售)
  702. type: string
  703. goodunit:
  704. description: 报价单位
  705. type: string
  706. goodunitid:
  707. description: 报价单位ID
  708. type: integer
  709. marketid:
  710. description: 所属市场ID
  711. type: integer
  712. marketname:
  713. description: 预售市场名称
  714. type: string
  715. presaledamount:
  716. description: 已预售总金额(预售结束时更新)
  717. type: number
  718. presaledqty:
  719. description: 已预售量(预售结束时更新)
  720. type: integer
  721. presalemode:
  722. description: 预售模式 - 1:一口价 2:大宗式竞拍
  723. type: integer
  724. presaleqty:
  725. description: 预售数量
  726. type: integer
  727. refprice:
  728. description: 参考价格[一口价]
  729. type: number
  730. relatedgoodscode:
  731. description: 商品代码(订单)
  732. type: string
  733. relatedgoodsid:
  734. description: 关联交易合约ID
  735. type: integer
  736. relatedgoodsname:
  737. description: 商品名称(订单)
  738. type: string
  739. relatedmarketid:
  740. description: 关联交易合约市场ID
  741. type: integer
  742. sellstatus:
  743. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  744. type: integer
  745. startprice:
  746. description: 起拍价[大宗式竞拍]
  747. type: number
  748. starttime:
  749. description: 预售开始时间
  750. type: string
  751. tradedate:
  752. description: 交易日(yyyyMMdd)
  753. type: string
  754. tradeprice:
  755. description: 成交价[大宗]
  756. type: number
  757. userid:
  758. description: 卖方用户ID
  759. type: integer
  760. required:
  761. - goodscode
  762. - goodsid
  763. - goodsname
  764. - marketid
  765. - relatedgoodscode
  766. - relatedgoodsname
  767. type: object
  768. cptrade.QueryPresaleGoodsExRsp:
  769. properties:
  770. attachmenturl:
  771. description: 附件地址
  772. type: string
  773. createtime:
  774. description: 创建时间
  775. type: string
  776. endtime:
  777. description: 预售结束时间
  778. type: string
  779. floorprice:
  780. description: 底价[大宗式竞拍]
  781. type: number
  782. goodsdetail:
  783. description: 详情[大宗]
  784. type: string
  785. goodsid:
  786. description: 商品ID(预售)
  787. type: integer
  788. goodunit:
  789. description: 报价单位
  790. type: string
  791. marketid:
  792. description: 预售市场ID - 根据预售模式选择市场
  793. type: integer
  794. presaledamount:
  795. description: 已预售总金额(预售结束时更新)
  796. type: number
  797. presaledqty:
  798. description: 已预售量(预售结束时更新)
  799. type: integer
  800. presalemode:
  801. description: 预售模式 - 1:一口价 2:大宗式竞拍
  802. type: integer
  803. presaleqty:
  804. description: 预售数量
  805. type: integer
  806. refprice:
  807. description: 参考价格[一口价]
  808. type: number
  809. relatedgoodsid:
  810. description: 关联交易合约ID
  811. type: integer
  812. relatedmarketid:
  813. description: 关联交易合约市场ID
  814. type: integer
  815. sellstatus:
  816. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  817. type: integer
  818. startprice:
  819. description: 起拍价[大宗式竞拍]
  820. type: number
  821. starttime:
  822. description: 预售开始时间
  823. type: string
  824. tradedate:
  825. description: 交易日(yyyyMMdd)
  826. type: string
  827. tradeprice:
  828. description: 成交价[大宗]
  829. type: number
  830. required:
  831. - goodsid
  832. type: object
  833. delivery.QueryDeliveryRelationRsp:
  834. properties:
  835. begindate:
  836. description: 起始日期(yyyyMMdd)
  837. type: string
  838. buytemplateid:
  839. description: 买履约计划模板ID
  840. type: integer
  841. deliverygoodscode:
  842. description: 品种代码
  843. type: string
  844. deliverygoodsid:
  845. description: 交割商品
  846. type: integer
  847. deliverygoodsname:
  848. description: 品种名称
  849. type: string
  850. deliverymode:
  851. description: 交割方式 - 1:点选式 2:申报式
  852. type: integer
  853. deliverypricerule:
  854. description: 交割价规则- 1:行情价 2:建仓价
  855. type: integer
  856. deliverytype:
  857. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  858. type: integer
  859. enddate:
  860. description: 结束日期(yyyyMMdd)
  861. type: string
  862. enumdicname:
  863. description: 品类单位名称
  864. type: string
  865. goodscode:
  866. description: 商品代码
  867. type: string
  868. goodsid:
  869. description: 交易合约ID
  870. type: integer
  871. goodsname:
  872. description: 商品名称
  873. type: string
  874. marketid:
  875. description: 市场ID
  876. type: integer
  877. mindeliveryqty:
  878. description: 最小交割系数(K)
  879. type: integer
  880. p2deliveryprice:
  881. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  882. type: number
  883. p2deliveryratio:
  884. description: P2合约系数(p)
  885. type: integer
  886. p2goodsid:
  887. description: P2合约ID
  888. type: integer
  889. p2pricemode:
  890. description: P2合约价格方式 - 1:商品价 2:固定值
  891. type: integer
  892. pdeliveryprice:
  893. description: P合约价格(商品价时填写0,固定值时填写固定值)
  894. type: number
  895. pdeliveryratio:
  896. description: P合约系数(n)
  897. type: integer
  898. pgoodscode:
  899. description: p合约代码
  900. type: string
  901. pgoodsid:
  902. description: P合约ID
  903. type: integer
  904. ppricemode:
  905. description: P合约价格方式 - 1:商品价 2:固定值
  906. type: integer
  907. rratio:
  908. description: 兑换系数(R)
  909. type: integer
  910. rratio1:
  911. description: 兑换系数(交易合约)(R1)
  912. type: integer
  913. rratio2:
  914. description: 兑换系数(仓单标准)(R2)
  915. type: integer
  916. selltemplateid:
  917. description: 卖履约计划模板ID
  918. type: integer
  919. wrstandardid:
  920. description: 仓单标准ID
  921. type: integer
  922. xdeliveryratio:
  923. description: 交易合约系数(m)
  924. type: integer
  925. required:
  926. - begindate
  927. - enddate
  928. - goodsid
  929. - mindeliveryqty
  930. - xdeliveryratio
  931. type: object
  932. ermcp.ExposureDetailRsp:
  933. $ref: '#/definitions/models.ErmcpExposureDetailModel'
  934. ermcp.ExposureHedgePosDetailRsp:
  935. $ref: '#/definitions/models.ErmcpHedgePositionDetail'
  936. ermcp.ExposureHedgePositionRsp:
  937. $ref: '#/definitions/models.ErmcpHedgePosition'
  938. ermcp.ExposureSpotDetailRsp:
  939. $ref: '#/definitions/models.ErmcpAreaSpotDetailModel'
  940. ermcp.ExposureSpotRsp:
  941. $ref: '#/definitions/models.AreaSpotModel'
  942. ermcp.HisExposureRsp:
  943. $ref: '#/definitions/models.ErmcpHisExposureS'
  944. ermcp.PendingAuditCntRsp:
  945. $ref: '#/definitions/models.ErmcpPendingAudit'
  946. ermcp.QryAvalidGPRsp:
  947. $ref: '#/definitions/models.ErmcpAvalidGoodsGroupModel'
  948. ermcp.QryBusinessDjRsp:
  949. properties:
  950. amount:
  951. description: 点价金额=(点价价格+升贴水)*点价数量
  952. type: number
  953. applyid:
  954. description: 申请人
  955. type: string
  956. applyname:
  957. description: 申请人名称
  958. type: string
  959. applystatus:
  960. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  961. type: integer
  962. applytime:
  963. description: 申请时间
  964. type: string
  965. attachurl:
  966. description: 附件
  967. type: string
  968. auditid:
  969. description: 审核人ID
  970. type: string
  971. auditname:
  972. description: 审核人名称
  973. type: string
  974. audittime:
  975. description: 审核时间
  976. type: string
  977. buyusername:
  978. description: 采购方名称
  979. type: string
  980. contractno:
  981. description: 合同编号
  982. type: string
  983. contractstatus:
  984. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  985. type: integer
  986. contracttype:
  987. description: 现货合同类型 - 1:采购 -1:销售
  988. type: integer
  989. deliverygoodscode:
  990. description: 现货品种代码
  991. type: string
  992. deliverygoodsid:
  993. description: 现货商品ID
  994. type: integer
  995. deliverygoodsname:
  996. description: 现货品种名称
  997. type: string
  998. enumdicname:
  999. description: 单位名称
  1000. type: string
  1001. goodscode:
  1002. description: 点价合约
  1003. type: string
  1004. goodsname:
  1005. description: 商品名称
  1006. type: string
  1007. operateapplyid:
  1008. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1009. type: string
  1010. operateapplytype:
  1011. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1012. type: integer
  1013. pricedPrice:
  1014. description: 点价价格(非必填)
  1015. type: number
  1016. pricedQty:
  1017. description: 点价数量(非必填)
  1018. type: number
  1019. pricemove:
  1020. description: 升贴水
  1021. type: number
  1022. pricetype:
  1023. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1024. type: integer
  1025. relatedid:
  1026. description: 现货合同ID
  1027. type: string
  1028. sellusername:
  1029. description: 销售方名字
  1030. type: string
  1031. userid:
  1032. description: 用户ID
  1033. type: integer
  1034. wrstandardcode:
  1035. description: 品类代码
  1036. type: string
  1037. wrstandardid:
  1038. description: 品类id
  1039. type: integer
  1040. wrstandardname:
  1041. description: 品类名称
  1042. type: string
  1043. type: object
  1044. ermcp.QryBussinessFpRsp:
  1045. properties:
  1046. applyid:
  1047. description: 申请人
  1048. type: string
  1049. applyname:
  1050. description: 申请人名称
  1051. type: string
  1052. applystatus:
  1053. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1054. type: integer
  1055. applytime:
  1056. description: 申请时间
  1057. type: string
  1058. attachurl:
  1059. description: 附件
  1060. type: string
  1061. auditid:
  1062. description: 审核人ID
  1063. type: string
  1064. auditname:
  1065. description: 审核人名称
  1066. type: string
  1067. audittime:
  1068. description: 审核时间
  1069. type: string
  1070. buyusername:
  1071. description: 采购方名称
  1072. type: string
  1073. contractno:
  1074. description: 合同编号
  1075. type: string
  1076. contractstatus:
  1077. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1078. type: integer
  1079. contracttype:
  1080. description: 现货合同类型 - 1:采购 -1:销售
  1081. type: integer
  1082. deliverygoodscode:
  1083. description: 现货品种代码
  1084. type: string
  1085. deliverygoodsid:
  1086. description: 现货商品ID
  1087. type: integer
  1088. deliverygoodsname:
  1089. description: 现货品种名称
  1090. type: string
  1091. enumdicname:
  1092. description: 单位名称
  1093. type: string
  1094. goodscode:
  1095. description: 点价合约
  1096. type: string
  1097. goodsname:
  1098. description: 商品名称
  1099. type: string
  1100. invoiceAmount:
  1101. description: 已开收票金额(销售为开票,采购为收票)
  1102. type: number
  1103. operateapplyid:
  1104. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1105. type: string
  1106. operateapplytype:
  1107. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1108. type: integer
  1109. pricemove:
  1110. description: 升贴水
  1111. type: number
  1112. pricetype:
  1113. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1114. type: integer
  1115. relatedid:
  1116. description: 现货合同ID
  1117. type: string
  1118. sellusername:
  1119. description: 销售方名字
  1120. type: string
  1121. userid:
  1122. description: 用户ID
  1123. type: integer
  1124. wrstandardcode:
  1125. description: 品类代码
  1126. type: string
  1127. wrstandardid:
  1128. description: 品类id
  1129. type: integer
  1130. wrstandardname:
  1131. description: 品类名称
  1132. type: string
  1133. type: object
  1134. ermcp.QryBussinessJsExRsp:
  1135. properties:
  1136. applyid:
  1137. description: 申请人
  1138. type: string
  1139. applyname:
  1140. description: 申请人名称
  1141. type: string
  1142. applystatus:
  1143. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1144. type: integer
  1145. applytime:
  1146. description: 申请时间
  1147. type: string
  1148. attachurl:
  1149. description: 附件
  1150. type: string
  1151. auditid:
  1152. description: 审核人ID
  1153. type: string
  1154. auditname:
  1155. description: 审核人名称
  1156. type: string
  1157. audittime:
  1158. description: 审核时间
  1159. type: string
  1160. buyusername:
  1161. description: 采购方名称
  1162. type: string
  1163. contractno:
  1164. description: 合同编号
  1165. type: string
  1166. contractstatus:
  1167. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1168. type: integer
  1169. contracttype:
  1170. description: 现货合同类型 - 1:采购 -1:销售
  1171. type: integer
  1172. deliverygoodscode:
  1173. description: 现货品种代码
  1174. type: string
  1175. deliverygoodsid:
  1176. description: 现货商品ID
  1177. type: integer
  1178. deliverygoodsname:
  1179. description: 现货品种名称
  1180. type: string
  1181. enumdicname:
  1182. description: 单位名称
  1183. type: string
  1184. goodscode:
  1185. description: 点价合约
  1186. type: string
  1187. goodsname:
  1188. description: 商品名称
  1189. type: string
  1190. operateapplyid:
  1191. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1192. type: string
  1193. operateapplytype:
  1194. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1195. type: integer
  1196. pricemove:
  1197. description: 升贴水
  1198. type: number
  1199. pricetype:
  1200. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1201. type: integer
  1202. reckontype:
  1203. description: 结算类型
  1204. type: string
  1205. reckonvalue:
  1206. description: 值
  1207. type: number
  1208. relatedid:
  1209. description: 现货合同ID
  1210. type: string
  1211. sellusername:
  1212. description: 销售方名字
  1213. type: string
  1214. userid:
  1215. description: 用户ID
  1216. type: integer
  1217. wrstandardcode:
  1218. description: 品类代码
  1219. type: string
  1220. wrstandardid:
  1221. description: 品类id
  1222. type: integer
  1223. wrstandardname:
  1224. description: 品类名称
  1225. type: string
  1226. type: object
  1227. ermcp.QryBussinessJsRsp:
  1228. properties:
  1229. addmargin:
  1230. description: 追加保证金(非必填)
  1231. type: number
  1232. applyid:
  1233. description: 申请人
  1234. type: string
  1235. applyname:
  1236. description: 申请人名称
  1237. type: string
  1238. applystatus:
  1239. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1240. type: integer
  1241. applytime:
  1242. description: 申请时间
  1243. type: string
  1244. attachurl:
  1245. description: 附件
  1246. type: string
  1247. auditid:
  1248. description: 审核人ID
  1249. type: string
  1250. auditname:
  1251. description: 审核人名称
  1252. type: string
  1253. audittime:
  1254. description: 审核时间
  1255. type: string
  1256. buyusername:
  1257. description: 采购方名称
  1258. type: string
  1259. contractno:
  1260. description: 合同编号
  1261. type: string
  1262. contractstatus:
  1263. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1264. type: integer
  1265. contracttype:
  1266. description: 现货合同类型 - 1:采购 -1:销售
  1267. type: integer
  1268. decmargin:
  1269. description: 减少保证金(非必填)
  1270. type: number
  1271. deliverygoodscode:
  1272. description: 现货品种代码
  1273. type: string
  1274. deliverygoodsid:
  1275. description: 现货商品ID
  1276. type: integer
  1277. deliverygoodsname:
  1278. description: 现货品种名称
  1279. type: string
  1280. enumdicname:
  1281. description: 单位名称
  1282. type: string
  1283. goodscode:
  1284. description: 点价合约
  1285. type: string
  1286. goodsname:
  1287. description: 商品名称
  1288. type: string
  1289. operateapplyid:
  1290. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1291. type: string
  1292. operateapplytype:
  1293. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1294. type: integer
  1295. pricemove:
  1296. description: 升贴水
  1297. type: number
  1298. pricetype:
  1299. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1300. type: integer
  1301. reckonadjustamount:
  1302. description: 结算调整金额(非必填)
  1303. type: number
  1304. reckonosamount:
  1305. description: 结算溢短金额(非必填)
  1306. type: number
  1307. reckonotheramount:
  1308. description: 结算其他费用(非必填)
  1309. type: number
  1310. reckonrealqty:
  1311. description: 结算实际数量(非必填)
  1312. type: number
  1313. relatedid:
  1314. description: 现货合同ID
  1315. type: string
  1316. sellusername:
  1317. description: 销售方名字
  1318. type: string
  1319. userid:
  1320. description: 用户ID
  1321. type: integer
  1322. wrstandardcode:
  1323. description: 品类代码
  1324. type: string
  1325. wrstandardid:
  1326. description: 品类id
  1327. type: integer
  1328. wrstandardname:
  1329. description: 品类名称
  1330. type: string
  1331. type: object
  1332. ermcp.QryBussinessKxRsp:
  1333. properties:
  1334. applyid:
  1335. description: 申请人
  1336. type: string
  1337. applyname:
  1338. description: 申请人名称
  1339. type: string
  1340. applystatus:
  1341. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1342. type: integer
  1343. applytime:
  1344. description: 申请时间
  1345. type: string
  1346. attachurl:
  1347. description: 附件
  1348. type: string
  1349. auditid:
  1350. description: 审核人ID
  1351. type: string
  1352. auditname:
  1353. description: 审核人名称
  1354. type: string
  1355. audittime:
  1356. description: 审核时间
  1357. type: string
  1358. buyusername:
  1359. description: 采购方名称
  1360. type: string
  1361. contractno:
  1362. description: 合同编号
  1363. type: string
  1364. contractstatus:
  1365. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1366. type: integer
  1367. contracttype:
  1368. description: 现货合同类型 - 1:采购 -1:销售
  1369. type: integer
  1370. deductamount:
  1371. description: 退款(非必填)
  1372. type: number
  1373. deliverygoodscode:
  1374. description: 现货品种代码
  1375. type: string
  1376. deliverygoodsid:
  1377. description: 现货商品ID
  1378. type: integer
  1379. deliverygoodsname:
  1380. description: 现货品种名称
  1381. type: string
  1382. enumdicname:
  1383. description: 单位名称
  1384. type: string
  1385. goodscode:
  1386. description: 点价合约
  1387. type: string
  1388. goodsname:
  1389. description: 商品名称
  1390. type: string
  1391. kxtype:
  1392. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1393. type: integer
  1394. operateapplyid:
  1395. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1396. type: string
  1397. operateapplytype:
  1398. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1399. type: integer
  1400. payamount:
  1401. description: 收付款(非必填)
  1402. type: number
  1403. pricemove:
  1404. description: 升贴水
  1405. type: number
  1406. pricetype:
  1407. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1408. type: integer
  1409. relatedid:
  1410. description: 现货合同ID
  1411. type: string
  1412. sellusername:
  1413. description: 销售方名字
  1414. type: string
  1415. userid:
  1416. description: 用户ID
  1417. type: integer
  1418. wrstandardcode:
  1419. description: 品类代码
  1420. type: string
  1421. wrstandardid:
  1422. description: 品类id
  1423. type: integer
  1424. wrstandardname:
  1425. description: 品类名称
  1426. type: string
  1427. type: object
  1428. ermcp.QryGGCovertCfgRsp:
  1429. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1430. ermcp.QryMGChangeLogRsp:
  1431. $ref: '#/definitions/models.ErmcpMiddleGoodsChangeLog'
  1432. ermcp.QryMiddleGoodsDetailRsp:
  1433. $ref: '#/definitions/models.ErmcpMiddleGoodsDetail'
  1434. ermcp.QryMiddleGoodsRsp:
  1435. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1436. ermcp.QryOPLogRsp:
  1437. $ref: '#/definitions/models.ErmcpOPLogModel'
  1438. ermcp.QryUserInfoRsp:
  1439. $ref: '#/definitions/models.ErmcpUserModel'
  1440. ermcp.QryWarehouseRsp:
  1441. $ref: '#/definitions/models.ErmcpWareHouseInfo'
  1442. ermcp.QueryErmcpTradePositionRsp:
  1443. properties:
  1444. agreeunit:
  1445. description: 合约单位
  1446. type: number
  1447. buyorsell:
  1448. description: 方向 - 0:买 1:卖
  1449. type: integer
  1450. curpositionqty:
  1451. description: 持仓(总仓数量, 期末头寸)
  1452. type: integer
  1453. curtdposition:
  1454. description: 今仓数量(期末今日头寸)
  1455. type: integer
  1456. curtdpositionenabled:
  1457. description: 今仓可用
  1458. type: integer
  1459. decimalplace:
  1460. description: 报价小数位
  1461. type: integer
  1462. enableqty:
  1463. description: 可用(总仓可用)
  1464. type: integer
  1465. exexchangename:
  1466. description: 外部交易所名称
  1467. type: string
  1468. goodscode:
  1469. description: 商品代码(内部)
  1470. type: string
  1471. goodsid:
  1472. description: 商品ID(自增ID SEQ_GOODS)
  1473. type: integer
  1474. goodsname:
  1475. description: 商品名称
  1476. type: string
  1477. last:
  1478. description: 现价
  1479. type: number
  1480. marketid:
  1481. description: 所属市场ID
  1482. type: integer
  1483. openaverageprice:
  1484. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  1485. type: number
  1486. opencost:
  1487. description: 开仓成本
  1488. type: number
  1489. openpl:
  1490. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  1491. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  1492. type: number
  1493. outgoodscode:
  1494. description: 商品代码(外部)
  1495. type: string
  1496. positionaverageprice:
  1497. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  1498. type: number
  1499. positioncost:
  1500. description: 持仓成本
  1501. type: number
  1502. positionpl:
  1503. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  1504. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  1505. type: number
  1506. positionplrate:
  1507. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  1508. type: number
  1509. usedmargin:
  1510. description: 占用保证金
  1511. type: number
  1512. type: object
  1513. ermcp.RealtimeExposurePositionRsp:
  1514. $ref: '#/definitions/models.ErmcpExposurePostion'
  1515. ermcp.RealtimeExposureRsp:
  1516. $ref: '#/definitions/models.ErmcpRealExposureModel'
  1517. erms2.QueryArbitrageStrategyRsp:
  1518. properties:
  1519. applybasis:
  1520. description: 申请基差
  1521. type: number
  1522. asapplyid:
  1523. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  1524. type: string
  1525. asname:
  1526. description: 策略名称
  1527. type: string
  1528. asno:
  1529. description: 策略编号
  1530. type: string
  1531. basischangepl:
  1532. description: 基差变动损益[结算更新]
  1533. type: number
  1534. biztype:
  1535. description: 业务类型 - 1:正向套利 -1:反向套利
  1536. type: integer
  1537. closetradedate:
  1538. description: 完结交易日(yyyyMMdd)
  1539. type: string
  1540. curbasis:
  1541. description: 当前基差[结算更新]
  1542. type: number
  1543. deliverygoodsid:
  1544. description: 现货品种ID
  1545. type: integer
  1546. futureavgprice:
  1547. description: 期货建仓均价
  1548. type: number
  1549. futurecloseamount:
  1550. description: 期货平仓金额
  1551. type: number
  1552. futurecloseqty:
  1553. description: 期货平仓数量
  1554. type: number
  1555. futureopenamount:
  1556. description: 期货开仓金额
  1557. type: number
  1558. futureopenqty:
  1559. description: 期货开仓数量
  1560. type: number
  1561. futurepl:
  1562. description: 期货总盈亏[结算更新]
  1563. type: number
  1564. futureqty:
  1565. description: 期货持仓数量
  1566. type: number
  1567. futurequote:
  1568. description: 期货额度
  1569. type: number
  1570. goodsgroupid:
  1571. description: 期货品种ID
  1572. type: integer
  1573. marketid:
  1574. description: 市场ID
  1575. type: integer
  1576. netexposure:
  1577. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  1578. type: number
  1579. netexposurepl:
  1580. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  1581. type: number
  1582. netexposurerate:
  1583. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  1584. type: number
  1585. openbasis:
  1586. description: 建仓基差
  1587. type: number
  1588. pricedspotqty:
  1589. description: 已定价现货数量
  1590. type: number
  1591. pricedspotqtynotax:
  1592. description: 已定价现货不含税数量
  1593. type: number
  1594. remark:
  1595. description: 备注
  1596. type: string
  1597. spotavgprice:
  1598. description: 现货均价
  1599. type: number
  1600. spotbuyamount:
  1601. description: 现货采购金额
  1602. type: number
  1603. spotbuyqty:
  1604. description: 现货采购数量
  1605. type: number
  1606. spotpl:
  1607. description: 现货总盈亏[结算更新]
  1608. type: number
  1609. spotquota:
  1610. description: 现货额度
  1611. type: number
  1612. spotsellamount:
  1613. description: 现货销售金额
  1614. type: number
  1615. spotsellqty:
  1616. description: 现货销售数量
  1617. type: number
  1618. spotusedquota:
  1619. description: 现货占用资金
  1620. type: number
  1621. strategystatus:
  1622. description: 策略状态 - 0:未结束 1:已结束
  1623. type: integer
  1624. totalpl:
  1625. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  1626. type: number
  1627. tradedate:
  1628. description: 交易日(yyyyMMdd)
  1629. type: string
  1630. updatetime:
  1631. description: 更新时间
  1632. type: string
  1633. usedquota:
  1634. description: 已占用资金
  1635. type: number
  1636. userid:
  1637. description: 所属机构
  1638. type: integer
  1639. required:
  1640. - asapplyid
  1641. type: object
  1642. erms2.QueryInnerTradeDetailRsp:
  1643. properties:
  1644. accountid:
  1645. description: 账号ID
  1646. type: integer
  1647. agreeunit:
  1648. description: 合约单位
  1649. type: number
  1650. asapplyid:
  1651. description: 策略申请ID
  1652. type: integer
  1653. asname:
  1654. description: 策略名称
  1655. type: string
  1656. asno:
  1657. description: 策略编号
  1658. type: string
  1659. buyorsell:
  1660. description: 方向 - 0:买 1:卖
  1661. type: integer
  1662. channelbuildtype:
  1663. description: 委托单据类型 0:无 1:建仓 2:平仓
  1664. type: integer
  1665. closetype:
  1666. description: 平仓方式 - 0:无 1:平今 2:平昨
  1667. type: integer
  1668. decimalplace:
  1669. description: 报价小数位
  1670. type: integer
  1671. detailtype:
  1672. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  1673. type: integer
  1674. exexchangecode:
  1675. description: 外部交易所代码
  1676. type: string
  1677. exexchangename:
  1678. description: 外部交易所名称
  1679. type: string
  1680. goodscode:
  1681. description: 商品代码(合约)
  1682. type: string
  1683. goodsgroupid:
  1684. description: 商品组ID(品种ID)
  1685. type: integer
  1686. goodsgroupname:
  1687. description: 商品组名称(品种)
  1688. type: string
  1689. goodsid:
  1690. description: 商品ID
  1691. type: integer
  1692. goodsname:
  1693. description: 商品名称(合约)
  1694. type: string
  1695. goodunit:
  1696. description: 报价单位
  1697. type: string
  1698. marketid:
  1699. description: 市场ID
  1700. type: integer
  1701. orderid:
  1702. description: 委托单号
  1703. type: string
  1704. outgoodscode:
  1705. description: 商品代码(外部)
  1706. type: string
  1707. relatedouttradeid:
  1708. description: 关联外部成交单ID
  1709. type: string
  1710. remark:
  1711. description: 备注
  1712. type: string
  1713. spotcontractid:
  1714. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  1715. type: integer
  1716. spotcontractno:
  1717. description: 现货合同编号
  1718. type: string
  1719. tradeid:
  1720. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  1721. type: string
  1722. tradeprice:
  1723. description: 成交价格
  1724. type: number
  1725. tradeqty:
  1726. description: 成交数量
  1727. type: integer
  1728. tradetime:
  1729. description: 成交时间
  1730. type: string
  1731. updatetime:
  1732. description: 更新时间
  1733. type: string
  1734. required:
  1735. - asapplyid
  1736. - buyorsell
  1737. - goodscode
  1738. - goodsgroupid
  1739. - goodsgroupname
  1740. - goodsname
  1741. - tradeid
  1742. type: object
  1743. erms2.QuerySpotContractRsp:
  1744. properties:
  1745. accountid:
  1746. description: 资金账户ID
  1747. type: integer
  1748. areauserid:
  1749. description: 所属机构
  1750. type: integer
  1751. closedate:
  1752. description: 终止日期
  1753. type: string
  1754. closeremark:
  1755. description: 结束备注
  1756. type: string
  1757. closetradedate:
  1758. description: 完结交易日(yyyyMMdd)
  1759. type: string
  1760. closetype:
  1761. description: 终止类型 - 1:违约 2:提前终止
  1762. type: integer
  1763. contractamount:
  1764. description: 合同金额
  1765. type: number
  1766. contractattachment:
  1767. description: 合同附件
  1768. type: string
  1769. contractno:
  1770. description: 现货合同编号
  1771. type: string
  1772. contractqty:
  1773. description: 合同数量(数值) (用于计算)
  1774. type: number
  1775. contractqtychar:
  1776. description: 合同数量\已订价数量 (用于显示)
  1777. type: string
  1778. contractstatus:
  1779. description: 合同状态 - 0:未结束 1:已结束
  1780. type: integer
  1781. contracttype:
  1782. description: 现货合同类型 - 1:采购合同 -1:销售合同
  1783. type: integer
  1784. customeraccountid:
  1785. description: 客户资金账户ID
  1786. type: integer
  1787. customeruserid:
  1788. description: 客户ID
  1789. type: integer
  1790. deliverygoodsdesc:
  1791. description: 品种说明
  1792. type: string
  1793. deliverygoodsid:
  1794. description: 现货品种ID
  1795. type: integer
  1796. handlestatus:
  1797. description: 处理状态
  1798. type: integer
  1799. invoiceatt:
  1800. description: 发票附件
  1801. type: string
  1802. invoicedatetime:
  1803. description: 开收票更新时间
  1804. type: string
  1805. invoiceopentime:
  1806. description: 开票时间
  1807. type: string
  1808. invoiceremark:
  1809. description: 发票备注
  1810. type: string
  1811. invoicestatus:
  1812. description: 开收票状态 - 0:未开票 1:已开票
  1813. type: integer
  1814. lastdate:
  1815. description: 交货时间
  1816. type: string
  1817. marketid:
  1818. description: 市场ID
  1819. type: integer
  1820. paydatetime:
  1821. description: 收付款更新时间
  1822. type: string
  1823. payremark:
  1824. description: 收付款备注
  1825. type: string
  1826. paystatus:
  1827. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  1828. type: integer
  1829. positionqty:
  1830. description: 头寸数量 - 合同数量去小数部分
  1831. type: integer
  1832. producttype:
  1833. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  1834. type: integer
  1835. relatedqty:
  1836. description: 已关联数量
  1837. type: number
  1838. relatedstatus:
  1839. description: 关联完结状态 - 0:未结束 1:已结束
  1840. type: integer
  1841. remark:
  1842. description: 备注
  1843. type: string
  1844. signdate:
  1845. description: 签订日期
  1846. type: string
  1847. spotcontractid:
  1848. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  1849. type: string
  1850. spotdatetime:
  1851. description: 收发货更新时间
  1852. type: string
  1853. spotprice:
  1854. description: 价格
  1855. type: number
  1856. spotremark:
  1857. description: 收发货备注
  1858. type: string
  1859. spotstatus:
  1860. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  1861. type: integer
  1862. tradedate:
  1863. description: 交易日(yyyyMMdd)
  1864. type: string
  1865. userid:
  1866. description: 业务员用户ID
  1867. type: integer
  1868. warehouseid:
  1869. description: 仓库ID
  1870. type: integer
  1871. wrfactortypeid:
  1872. description: 仓单要素类型ID
  1873. type: integer
  1874. wrstandardid:
  1875. description: 仓单标准ID(SEQ_WRSTANDARD)
  1876. type: integer
  1877. required:
  1878. - spotcontractid
  1879. type: object
  1880. erms3.AddErms2ASApplyReq:
  1881. properties:
  1882. applybasis:
  1883. description: 申请基差
  1884. type: number
  1885. applystatus:
  1886. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1887. type: integer
  1888. asapplyid:
  1889. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  1890. type: integer
  1891. asname:
  1892. description: 策略名称
  1893. type: string
  1894. asno:
  1895. description: 策略编号
  1896. type: string
  1897. auditid:
  1898. description: 审核人
  1899. type: integer
  1900. auditremark:
  1901. description: 审核备注
  1902. type: string
  1903. audittime:
  1904. description: 审核时间
  1905. type: string
  1906. biztype:
  1907. description: 业务类型 - 1:正向套利 2:反向套利
  1908. type: integer
  1909. createtime:
  1910. description: 创建时间
  1911. type: string
  1912. creatorid:
  1913. description: 创建人
  1914. type: integer
  1915. deliverygoodsid:
  1916. description: 现货品种ID
  1917. type: integer
  1918. futurequote:
  1919. description: 期货额度
  1920. type: number
  1921. goodsgroupid:
  1922. description: 期货品种ID
  1923. type: integer
  1924. marketid:
  1925. description: 市场ID
  1926. type: integer
  1927. remark:
  1928. description: 备注
  1929. type: string
  1930. spotquota:
  1931. description: 现货额度
  1932. type: number
  1933. tradedate:
  1934. description: 交易日(yyyyMMdd)
  1935. type: string
  1936. userid:
  1937. description: 所属机构
  1938. type: integer
  1939. required:
  1940. - asapplyid
  1941. type: object
  1942. erms3.AddErms2SpotTradeApplyReq:
  1943. properties:
  1944. applyjsondetail:
  1945. description: 申请明细(JSON)
  1946. type: string
  1947. applystatus:
  1948. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1949. type: integer
  1950. areauserid:
  1951. description: 所属机构
  1952. type: integer
  1953. auditid:
  1954. description: 审核人
  1955. type: integer
  1956. auditremark:
  1957. description: 审核备注
  1958. type: string
  1959. audittime:
  1960. description: 审核时间
  1961. type: string
  1962. createtime:
  1963. description: 创建时间
  1964. type: string
  1965. creatorid:
  1966. description: 创建人
  1967. type: integer
  1968. deliverygoodsid:
  1969. description: 现货品种ID
  1970. type: integer
  1971. futureaccountid:
  1972. description: 期货资金账户
  1973. type: integer
  1974. goodsgroupid:
  1975. description: 期货品种
  1976. type: integer
  1977. marketid:
  1978. description: 市场ID
  1979. type: integer
  1980. remark:
  1981. description: 备注
  1982. type: string
  1983. spotaccountid:
  1984. description: 现货资金账户
  1985. type: integer
  1986. spottradeid:
  1987. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  1988. type: integer
  1989. spottradename:
  1990. description: 业务名称
  1991. type: string
  1992. spottradeno:
  1993. description: 业务编号
  1994. type: string
  1995. tradedate:
  1996. description: 交易日(yyyyMMdd)
  1997. type: string
  1998. wrstandardid:
  1999. description: 仓单标准ID
  2000. type: integer
  2001. required:
  2002. - spottradeid
  2003. type: object
  2004. erms3.AddSpotContractApplyReq:
  2005. properties:
  2006. accountid:
  2007. description: 资金账户ID
  2008. type: integer
  2009. areauserid:
  2010. description: 所属机构
  2011. type: integer
  2012. contractattachment:
  2013. description: 合同附件
  2014. type: string
  2015. contractno:
  2016. description: 现货合同编号
  2017. type: string
  2018. contracttype:
  2019. description: 现货合同类型 - 1:采购 -1:销售
  2020. type: integer
  2021. creatorid:
  2022. description: 申请人
  2023. type: integer
  2024. customeraccountid:
  2025. description: 客户资金账户ID
  2026. type: integer
  2027. customeruserid:
  2028. description: 客户ID
  2029. type: integer
  2030. details:
  2031. description: 明细
  2032. items:
  2033. $ref: '#/definitions/erms3.SoptContractDetail'
  2034. type: array
  2035. orimargin:
  2036. description: 初始保证金
  2037. type: number
  2038. remark:
  2039. description: 备注
  2040. type: string
  2041. signdate:
  2042. description: 签订日期
  2043. type: string
  2044. required:
  2045. - accountid
  2046. - areauserid
  2047. - contractno
  2048. - contracttype
  2049. - customeraccountid
  2050. - customeruserid
  2051. - details
  2052. - orimargin
  2053. - signdate
  2054. type: object
  2055. erms3.AddSpotContractApplyRsp:
  2056. properties:
  2057. contractno:
  2058. description: 现货合同编号
  2059. type: string
  2060. spotcontractid:
  2061. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2062. type: integer
  2063. required:
  2064. - contractno
  2065. type: object
  2066. erms3.AddUserInfoApplyReq:
  2067. properties:
  2068. accountid:
  2069. description: 交易系统帐号Id (加密存储)
  2070. type: integer
  2071. areacode:
  2072. description: 机构代码
  2073. type: string
  2074. areaid:
  2075. description: 机构Id
  2076. type: integer
  2077. attachment1:
  2078. description: 附件1
  2079. type: string
  2080. attachment2:
  2081. description: 附件2
  2082. type: string
  2083. attachment3:
  2084. description: 附件3
  2085. type: string
  2086. attachment4:
  2087. description: 附件4
  2088. type: string
  2089. attachment5:
  2090. description: 附件5
  2091. type: string
  2092. auditedby:
  2093. description: 审核人
  2094. type: string
  2095. auditime:
  2096. description: 审核时间
  2097. type: string
  2098. auditsrc:
  2099. description: 审核来源 - 1:管理端 2:终端
  2100. type: integer
  2101. bankaccount:
  2102. description: 银行帐号 (加密存储)
  2103. type: string
  2104. bankaccountname:
  2105. description: 收款人名称
  2106. type: string
  2107. bankcardbackphotourl:
  2108. description: 银行卡背面照地址
  2109. type: string
  2110. bankcardfrontphotourl:
  2111. description: 银行卡正面照地址
  2112. type: string
  2113. bankid:
  2114. description: 银行编码
  2115. type: string
  2116. bankname:
  2117. description: 银行名称
  2118. type: string
  2119. bankpictureurl:
  2120. description: 银行卡正面地址
  2121. type: string
  2122. biznature:
  2123. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2124. type: integer
  2125. bizscope:
  2126. description: 企业经营范围(企业)
  2127. type: string
  2128. biztype:
  2129. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2130. type: integer
  2131. brokerid:
  2132. description: 经纪人ID(加密存储)
  2133. type: string
  2134. cardaddress:
  2135. description: 证件地址 (加密存储)
  2136. type: string
  2137. cardbackphotourl:
  2138. description: 背面证件照地址
  2139. type: string
  2140. cardfrontphotourl:
  2141. description: 正面证件照地址
  2142. type: string
  2143. cardnum:
  2144. description: 证件号码 (加密存储)
  2145. type: string
  2146. cardtype:
  2147. description: 证件类型
  2148. type: integer
  2149. cityid:
  2150. description: 市
  2151. type: integer
  2152. company:
  2153. description: 公司(个人)
  2154. type: string
  2155. contactcardbackphotourl:
  2156. description: 联系人证件背面图片地址
  2157. type: string
  2158. contactcardfrontphotourl:
  2159. description: 联系人证件正面图片地址
  2160. type: string
  2161. contactname:
  2162. description: 联系人
  2163. type: string
  2164. countryid:
  2165. description: 国家
  2166. type: integer
  2167. createtime:
  2168. description: 开户申请时间
  2169. type: string
  2170. cusbankid:
  2171. description: 签约类型
  2172. type: string
  2173. cusbankname:
  2174. description: 签约类型名称
  2175. type: string
  2176. customername:
  2177. description: 客户名称(企业名称)
  2178. type: string
  2179. districtid:
  2180. description: 地区
  2181. type: integer
  2182. email:
  2183. description: Email地址(加密存储)
  2184. type: string
  2185. halfbodyphotourl:
  2186. description: 半身照地址
  2187. type: string
  2188. headurl:
  2189. description: 头像地址
  2190. type: string
  2191. ipaddress:
  2192. description: IP地址
  2193. type: string
  2194. isvalidate:
  2195. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  2196. type: string
  2197. legalcardbackphotourl:
  2198. description: 法人身份证背面照地址
  2199. type: string
  2200. legalcardfrontphotourl:
  2201. description: 法人身份证正面照地址
  2202. type: string
  2203. legalpersonname:
  2204. description: 法人姓名(企业)
  2205. type: string
  2206. logincode:
  2207. description: 登录帐号 (加密存储)
  2208. type: string
  2209. memberareaid:
  2210. description: 所属会员ID
  2211. type: integer
  2212. mobile2:
  2213. description: 手机号码[明文-尚志]
  2214. type: string
  2215. mobilephone:
  2216. description: 手机号码 (加密存储)
  2217. type: string
  2218. modifiedby:
  2219. description: 修改人帐号
  2220. type: integer
  2221. modifiedtime:
  2222. description: 修改时间
  2223. type: string
  2224. nickname:
  2225. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  2226. type: string
  2227. openmode:
  2228. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  2229. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  2230. type: integer
  2231. otherurl:
  2232. description: 其它图片地址[使用分号分隔]
  2233. type: string
  2234. postalcode:
  2235. description: 邮政编码
  2236. type: string
  2237. provinceid:
  2238. description: 省
  2239. type: integer
  2240. proxystatementurl:
  2241. description: 授权委托书
  2242. type: string
  2243. qq:
  2244. description: QQ(加密存储
  2245. type: string
  2246. referral:
  2247. description: 推荐人编码
  2248. type: string
  2249. remark:
  2250. description: 备注
  2251. type: string
  2252. removebeforestatus:
  2253. description: REMOVEBEFORESTATUS
  2254. type: integer
  2255. sex:
  2256. description: 性别 - 0:女 1:男
  2257. type: integer
  2258. signedstatus:
  2259. description: 账户一号签签约状态
  2260. type: integer
  2261. signpdfurl:
  2262. description: 签约pdf文件
  2263. type: string
  2264. subbranch:
  2265. description: 开户支行
  2266. type: string
  2267. taxpayernum:
  2268. description: 纳税人识别号
  2269. type: string
  2270. telphone:
  2271. description: 联系电话(加密存储)
  2272. type: string
  2273. userid:
  2274. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  2275. type: integer
  2276. userinfotype:
  2277. description: 用户信息类型 - 1:个人 2:企业
  2278. type: integer
  2279. username:
  2280. description: 用户姓名
  2281. type: string
  2282. userstate:
  2283. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2284. type: integer
  2285. usertype:
  2286. description: 用户类型 - 1:投资者 2:机构
  2287. type: integer
  2288. videourl:
  2289. description: 视频地址
  2290. type: string
  2291. wechat:
  2292. description: 微信号 (加密存储)
  2293. type: string
  2294. required:
  2295. - userid
  2296. type: object
  2297. erms3.CustomerInfo:
  2298. properties:
  2299. accountids:
  2300. description: 资金账户ID列表
  2301. items:
  2302. type: integer
  2303. type: array
  2304. customername:
  2305. description: 名称(企业名称)
  2306. type: string
  2307. mobile:
  2308. description: 手机号码
  2309. type: string
  2310. userid:
  2311. description: 用户ID
  2312. type: integer
  2313. required:
  2314. - userid
  2315. type: object
  2316. erms3.ModifyUserInfoApplyReq:
  2317. properties:
  2318. accountid:
  2319. description: 交易系统帐号Id (加密存储)
  2320. type: integer
  2321. areacode:
  2322. description: 机构代码
  2323. type: string
  2324. areaid:
  2325. description: 机构Id
  2326. type: integer
  2327. attachment1:
  2328. description: 附件1
  2329. type: string
  2330. attachment2:
  2331. description: 附件2
  2332. type: string
  2333. attachment3:
  2334. description: 附件3
  2335. type: string
  2336. attachment4:
  2337. description: 附件4
  2338. type: string
  2339. attachment5:
  2340. description: 附件5
  2341. type: string
  2342. auditedby:
  2343. description: 审核人
  2344. type: string
  2345. auditime:
  2346. description: 审核时间
  2347. type: string
  2348. auditsrc:
  2349. description: 审核来源 - 1:管理端 2:终端
  2350. type: integer
  2351. bankaccount:
  2352. description: 银行帐号 (加密存储)
  2353. type: string
  2354. bankaccountname:
  2355. description: 收款人名称
  2356. type: string
  2357. bankcardbackphotourl:
  2358. description: 银行卡背面照地址
  2359. type: string
  2360. bankcardfrontphotourl:
  2361. description: 银行卡正面照地址
  2362. type: string
  2363. bankid:
  2364. description: 银行编码
  2365. type: string
  2366. bankname:
  2367. description: 银行名称
  2368. type: string
  2369. bankpictureurl:
  2370. description: 银行卡正面地址
  2371. type: string
  2372. biznature:
  2373. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2374. type: integer
  2375. bizscope:
  2376. description: 企业经营范围(企业)
  2377. type: string
  2378. biztype:
  2379. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2380. type: integer
  2381. brokerid:
  2382. description: 经纪人ID(加密存储)
  2383. type: string
  2384. cardaddress:
  2385. description: 证件地址 (加密存储)
  2386. type: string
  2387. cardbackphotourl:
  2388. description: 背面证件照地址
  2389. type: string
  2390. cardfrontphotourl:
  2391. description: 正面证件照地址
  2392. type: string
  2393. cardnum:
  2394. description: 证件号码 (加密存储)
  2395. type: string
  2396. cardtype:
  2397. description: 证件类型
  2398. type: integer
  2399. cityid:
  2400. description: 市
  2401. type: integer
  2402. company:
  2403. description: 公司(个人)
  2404. type: string
  2405. contactcardbackphotourl:
  2406. description: 联系人证件背面图片地址
  2407. type: string
  2408. contactcardfrontphotourl:
  2409. description: 联系人证件正面图片地址
  2410. type: string
  2411. contactname:
  2412. description: 联系人
  2413. type: string
  2414. countryid:
  2415. description: 国家
  2416. type: integer
  2417. createtime:
  2418. description: 开户申请时间
  2419. type: string
  2420. cusbankid:
  2421. description: 签约类型
  2422. type: string
  2423. cusbankname:
  2424. description: 签约类型名称
  2425. type: string
  2426. customername:
  2427. description: 客户名称(企业名称)
  2428. type: string
  2429. districtid:
  2430. description: 地区
  2431. type: integer
  2432. email:
  2433. description: Email地址(加密存储)
  2434. type: string
  2435. halfbodyphotourl:
  2436. description: 半身照地址
  2437. type: string
  2438. headurl:
  2439. description: 头像地址
  2440. type: string
  2441. ipaddress:
  2442. description: IP地址
  2443. type: string
  2444. isvalidate:
  2445. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  2446. type: string
  2447. legalcardbackphotourl:
  2448. description: 法人身份证背面照地址
  2449. type: string
  2450. legalcardfrontphotourl:
  2451. description: 法人身份证正面照地址
  2452. type: string
  2453. legalpersonname:
  2454. description: 法人姓名(企业)
  2455. type: string
  2456. logincode:
  2457. description: 登录帐号 (加密存储)
  2458. type: string
  2459. memberareaid:
  2460. description: 所属会员ID
  2461. type: integer
  2462. mobile2:
  2463. description: 手机号码[明文-尚志]
  2464. type: string
  2465. mobilephone:
  2466. description: 手机号码 (加密存储)
  2467. type: string
  2468. modifiedby:
  2469. description: 修改人帐号
  2470. type: integer
  2471. modifiedtime:
  2472. description: 修改时间
  2473. type: string
  2474. nickname:
  2475. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  2476. type: string
  2477. openmode:
  2478. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  2479. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  2480. type: integer
  2481. otherurl:
  2482. description: 其它图片地址[使用分号分隔]
  2483. type: string
  2484. postalcode:
  2485. description: 邮政编码
  2486. type: string
  2487. provinceid:
  2488. description: 省
  2489. type: integer
  2490. proxystatementurl:
  2491. description: 授权委托书
  2492. type: string
  2493. qq:
  2494. description: QQ(加密存储
  2495. type: string
  2496. referral:
  2497. description: 推荐人编码
  2498. type: string
  2499. remark:
  2500. description: 备注
  2501. type: string
  2502. removebeforestatus:
  2503. description: REMOVEBEFORESTATUS
  2504. type: integer
  2505. sex:
  2506. description: 性别 - 0:女 1:男
  2507. type: integer
  2508. signedstatus:
  2509. description: 账户一号签签约状态
  2510. type: integer
  2511. signpdfurl:
  2512. description: 签约pdf文件
  2513. type: string
  2514. subbranch:
  2515. description: 开户支行
  2516. type: string
  2517. taxpayernum:
  2518. description: 纳税人识别号
  2519. type: string
  2520. telphone:
  2521. description: 联系电话(加密存储)
  2522. type: string
  2523. userid:
  2524. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  2525. type: integer
  2526. userinfotype:
  2527. description: 用户信息类型 - 1:个人 2:企业
  2528. type: integer
  2529. username:
  2530. description: 用户姓名
  2531. type: string
  2532. userstate:
  2533. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2534. type: integer
  2535. usertype:
  2536. description: 用户类型 - 1:投资者 2:机构
  2537. type: integer
  2538. videourl:
  2539. description: 视频地址
  2540. type: string
  2541. wechat:
  2542. description: 微信号 (加密存储)
  2543. type: string
  2544. required:
  2545. - userid
  2546. type: object
  2547. erms3.QryAuditContractRsp:
  2548. properties:
  2549. accountid:
  2550. description: 交易员ID
  2551. type: string
  2552. applystatus:
  2553. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2554. type: integer
  2555. curdeliveryqty:
  2556. description: 未交收量
  2557. type: integer
  2558. customername:
  2559. description: 采购方ID
  2560. type: string
  2561. deliverygoodsid:
  2562. description: 品种ID
  2563. type: string
  2564. deliveryqty:
  2565. description: 交收量
  2566. type: integer
  2567. enumdicname:
  2568. description: 单位名称
  2569. type: string
  2570. matchaccountid:
  2571. description: 业务员ID
  2572. type: string
  2573. matchcustomername:
  2574. description: 销售方ID
  2575. type: string
  2576. pricedqty:
  2577. description: 定价量
  2578. type: number
  2579. signdate:
  2580. description: 签订日期
  2581. type: string
  2582. spotcontractid:
  2583. description: 合同ID
  2584. type: string
  2585. totaldqty:
  2586. description: 合同量
  2587. type: number
  2588. unpricedqty:
  2589. description: 未定价量
  2590. type: number
  2591. wrstandardname:
  2592. description: 商品名称
  2593. type: string
  2594. required:
  2595. - matchcustomername
  2596. - spotcontractid
  2597. type: object
  2598. erms3.QryPendingBizRsp:
  2599. $ref: '#/definitions/models.PendingAuditBizModel'
  2600. erms3.QueryBusinessInfoRsp:
  2601. properties:
  2602. businessid:
  2603. description: 业务ID.
  2604. type: integer
  2605. buyamount:
  2606. description: 采购额.
  2607. type: number
  2608. buyqty:
  2609. description: 采购量.
  2610. type: string
  2611. futurepl:
  2612. description: 期货盈亏.
  2613. type: number
  2614. futureqty:
  2615. description: 期货敞口.
  2616. type: string
  2617. goodsid:
  2618. description: 商品名称/商品代码.
  2619. type: string
  2620. hedgingqty:
  2621. description: 套保量.
  2622. type: string
  2623. sellamount:
  2624. description: 销售额.
  2625. type: number
  2626. sellqty:
  2627. description: 销售量.
  2628. type: string
  2629. spotmarketvalue:
  2630. description: 现货市值.
  2631. type: number
  2632. spotpl:
  2633. description: 浮动权益.
  2634. type: number
  2635. spotqty:
  2636. description: 现货量.
  2637. type: string
  2638. statu:
  2639. description: 状态,0-未结束 1-已结束.
  2640. type: integer
  2641. totalpl:
  2642. description: 总盈亏.
  2643. type: number
  2644. totalqty:
  2645. description: 总敞口.
  2646. type: string
  2647. type:
  2648. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  2649. type: integer
  2650. type: object
  2651. erms3.QuerySpotContractAppleFormRsp:
  2652. properties:
  2653. goodses:
  2654. description: 合约列表
  2655. items:
  2656. $ref: '#/definitions/models.GoodsIDAndName'
  2657. type: array
  2658. oppositeusers:
  2659. description: 对方账号列表
  2660. items:
  2661. $ref: '#/definitions/erms3.CustomerInfo'
  2662. type: array
  2663. ouruser:
  2664. $ref: '#/definitions/erms3.CustomerInfo'
  2665. description: 我方账号
  2666. type: object
  2667. warehouseinfos:
  2668. description: 仓库信息列表
  2669. items:
  2670. $ref: '#/definitions/models.Warehouseinfo'
  2671. type: array
  2672. wrstandards:
  2673. description: 仓单标准列表
  2674. items:
  2675. $ref: '#/definitions/models.WRStandardInfo'
  2676. type: array
  2677. type: object
  2678. erms3.QuerySpotContractInfoRsp:
  2679. properties:
  2680. accountid:
  2681. description: 表示交易员ID.
  2682. type: integer
  2683. curdeliveryqty:
  2684. description: 表示未交收量.
  2685. type: number
  2686. customername:
  2687. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  2688. type: string
  2689. deliverygoodsid:
  2690. description: 表示品种ID.
  2691. type: string
  2692. deliveryqty:
  2693. description: 表示交收量.
  2694. type: number
  2695. matchaccountid:
  2696. description: 表示业务员ID.
  2697. type: integer
  2698. matchcustomername:
  2699. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  2700. type: string
  2701. priceqty:
  2702. description: 表示定价量.
  2703. type: number
  2704. relatedbizid:
  2705. description: 表示业务ID.
  2706. type: string
  2707. signdate:
  2708. description: 表示签订日期.
  2709. type: string
  2710. spotcontractid:
  2711. description: 合同ID
  2712. type: string
  2713. status:
  2714. description: 表示状态,0-履约中 1-已完成.
  2715. type: integer
  2716. totalqty:
  2717. description: 表示合同量.
  2718. type: number
  2719. unpricedqty:
  2720. description: 表示未定价量.
  2721. type: number
  2722. wrstandardname:
  2723. description: 表示商品ID.
  2724. type: string
  2725. type: object
  2726. erms3.QueryUserInfoAppliesRsp:
  2727. properties:
  2728. biznature:
  2729. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2730. type: integer
  2731. contactname:
  2732. description: 联系人
  2733. type: string
  2734. createtime:
  2735. description: 开户申请时间
  2736. type: string
  2737. userid:
  2738. description: 用户ID(自增ID)
  2739. type: integer
  2740. userinfotype:
  2741. description: 用户信息类型 - 1:个人 2:企业
  2742. type: integer
  2743. username:
  2744. description: 用户姓名
  2745. type: string
  2746. userstate:
  2747. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2748. type: integer
  2749. required:
  2750. - userid
  2751. type: object
  2752. erms3.QueryUserInfosRsp:
  2753. properties:
  2754. biznature:
  2755. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2756. type: integer
  2757. contactname:
  2758. description: 联系人
  2759. type: string
  2760. customername:
  2761. description: 客户名称(企业名称)
  2762. type: string
  2763. userid:
  2764. description: 用户ID
  2765. type: integer
  2766. userinfotype:
  2767. description: 用户信息类型 - 1:个人 2:企业
  2768. type: integer
  2769. userstatus:
  2770. description: 用户状态 - 1:正常 2:注销
  2771. type: integer
  2772. required:
  2773. - userid
  2774. type: object
  2775. erms3.SoptContractDetail:
  2776. properties:
  2777. deliverygoodsdesc:
  2778. description: 现货品种说明
  2779. type: string
  2780. deliverygoodsid:
  2781. description: 现货品种ID
  2782. type: integer
  2783. deliverygoodsname:
  2784. description: 现货品种名称
  2785. type: string
  2786. pointdesc:
  2787. description: 点价描述
  2788. type: string
  2789. producttype:
  2790. description: 产品类型 1:标准仓单 2:等标 3:非标
  2791. type: integer
  2792. producttypename:
  2793. description: 产品类型名称
  2794. type: string
  2795. spotPointOrderVoList:
  2796. description: 点价列表
  2797. items:
  2798. $ref: '#/definitions/erms3.SpotPointOrder'
  2799. type: array
  2800. spotPriceOrderList:
  2801. description: 定价列表
  2802. items:
  2803. $ref: '#/definitions/erms3.SpotPriceOrder'
  2804. type: array
  2805. unitname:
  2806. description: 单位名称
  2807. type: string
  2808. warehouseid:
  2809. description: 仓库ID
  2810. type: integer
  2811. warehousename:
  2812. description: 仓库名称
  2813. type: string
  2814. wrstandardid:
  2815. description: 交易标的ID
  2816. type: integer
  2817. wrstandardname:
  2818. description: 交易标的名称
  2819. type: string
  2820. required:
  2821. - deliverygoodsid
  2822. - producttype
  2823. - unitname
  2824. - warehouseid
  2825. - wrstandardid
  2826. - wrstandardname
  2827. type: object
  2828. erms3.SpotPointOrder:
  2829. properties:
  2830. basic:
  2831. description: 基差
  2832. type: number
  2833. deliveryenddate:
  2834. description: 交收结束日期
  2835. type: string
  2836. deliverystartdate:
  2837. description: 交收开始日期
  2838. type: string
  2839. enddate:
  2840. description: 点价结束日期
  2841. type: string
  2842. goodsid:
  2843. description: 商品ID
  2844. type: integer
  2845. goodsname:
  2846. description: 商品名称
  2847. type: string
  2848. qty:
  2849. description: 数量
  2850. type: number
  2851. startdate:
  2852. description: 点价开始日期
  2853. type: string
  2854. required:
  2855. - basic
  2856. - goodsid
  2857. - qty
  2858. type: object
  2859. erms3.SpotPriceOrder:
  2860. properties:
  2861. amount:
  2862. description: 金额
  2863. type: number
  2864. deliveryenddate:
  2865. description: 交收结束日期
  2866. type: string
  2867. deliverystartdate:
  2868. description: 交收开始日期
  2869. type: string
  2870. price:
  2871. description: 价格
  2872. type: number
  2873. qty:
  2874. description: 数量
  2875. type: number
  2876. required:
  2877. - amount
  2878. - price
  2879. - qty
  2880. type: object
  2881. hsby.GetHsbyMyCountRsp:
  2882. properties:
  2883. myCouponCount:
  2884. description: 我的优惠卷数量
  2885. type: integer
  2886. myOrderDetailListingCount:
  2887. description: 我的订单求购中数量
  2888. type: integer
  2889. myOrderDetailPreCount:
  2890. description: 我的订单抢购中数量
  2891. type: integer
  2892. myPackageUnReceiveCount:
  2893. description: 我的包裹待收货数量
  2894. type: integer
  2895. myPackageUnSendCount:
  2896. description: 我的包裹待发货数量
  2897. type: integer
  2898. myPayOrderCount:
  2899. description: 我的订单待付款数量
  2900. type: integer
  2901. type: object
  2902. hsby.QueryProvincesAndCitiesRsp:
  2903. properties:
  2904. cities:
  2905. description: 市
  2906. items:
  2907. $ref: '#/definitions/models.Division'
  2908. type: array
  2909. province:
  2910. $ref: '#/definitions/models.Division'
  2911. description: 省
  2912. type: object
  2913. type: object
  2914. models.AreaSpotModel:
  2915. properties:
  2916. areauserid:
  2917. description: 所属机构
  2918. type: integer
  2919. decreaseqty:
  2920. description: 减少数量=-(销售已定价数量+采购计划数量)
  2921. type: number
  2922. increaseqty:
  2923. description: 增加数量=销售计划数量+采购已定价数量
  2924. type: number
  2925. oritoalspotqty:
  2926. description: 昨日数量
  2927. type: number
  2928. totalspotqty:
  2929. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  2930. type: number
  2931. updatetime:
  2932. description: 更新时间
  2933. type: string
  2934. wrstandardcode:
  2935. description: 现货品种代码
  2936. type: string
  2937. wrstandardid:
  2938. description: 现货商品ID
  2939. type: integer
  2940. wrstandardname:
  2941. description: 现货品种
  2942. type: string
  2943. type: object
  2944. models.Arearole:
  2945. properties:
  2946. createtime:
  2947. description: 创建时间
  2948. type: string
  2949. creatorid:
  2950. description: 创建人ID
  2951. type: integer
  2952. fromuserid:
  2953. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  2954. type: integer
  2955. isreturnscore:
  2956. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  2957. type: integer
  2958. modifierid:
  2959. description: 修改人ID
  2960. type: integer
  2961. modifytime:
  2962. description: 修改时间
  2963. type: string
  2964. orgtype:
  2965. description: 组织机构类型 1:机构\分支节点 2:交易员\叶子节点 3:部门\分支节点
  2966. type: integer
  2967. outuserid:
  2968. description: 外部账户[场外期权做市商]
  2969. type: string
  2970. parentuserid:
  2971. description: 上级组织机构(组织机构)
  2972. type: integer
  2973. roletype:
  2974. description: 角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员
  2975. 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构
  2976. 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员 25:客户 98:代理 99:门店
  2977. type: integer
  2978. rootuserid:
  2979. description: 顶级组织机构用户ID(组织机构)
  2980. type: integer
  2981. shoppassword:
  2982. description: 商城店铺登陆密码(商城店铺角色使用)
  2983. type: string
  2984. sublevelpath:
  2985. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  2986. type: string
  2987. suborgtype:
  2988. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  2989. type: integer
  2990. tradeaccountid:
  2991. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  2992. type: integer
  2993. transurl:
  2994. description: 物流地址(物流机构)
  2995. type: string
  2996. userid:
  2997. description: 机构用户ID其他做市关系,都设置为 1
  2998. type: integer
  2999. required:
  3000. - roletype
  3001. - userid
  3002. type: object
  3003. models.Clientfixedadconfig:
  3004. properties:
  3005. adsort:
  3006. description: 排序
  3007. type: integer
  3008. adtype:
  3009. description: 广告位类型 - 1:新品抢购(HSBY)
  3010. type: integer
  3011. areauserid:
  3012. description: 所属机构ID
  3013. type: integer
  3014. createdate:
  3015. description: 创建时间
  3016. type: string
  3017. creatorid:
  3018. description: 创建人
  3019. type: integer
  3020. imagepath:
  3021. description: 图片
  3022. type: string
  3023. isshow:
  3024. description: 是否展示 - 0:不展示 1:展示
  3025. type: integer
  3026. modifierid:
  3027. description: 操作人
  3028. type: integer
  3029. recsize:
  3030. description: 推荐尺寸
  3031. type: string
  3032. title:
  3033. description: 标题
  3034. type: string
  3035. updatedate:
  3036. description: 更新时间
  3037. type: string
  3038. urlcontent:
  3039. description: 链接(地址或商品ID)
  3040. type: string
  3041. urltype:
  3042. description: 链接类型 - 1:直接地址 2:商品ID
  3043. type: integer
  3044. required:
  3045. - adsort
  3046. - adtype
  3047. type: object
  3048. models.Division:
  3049. properties:
  3050. autoid:
  3051. description: 自增ID
  3052. type: integer
  3053. divisioncode:
  3054. description: 行政代码
  3055. type: string
  3056. divisionlevel:
  3057. description: 行政级别
  3058. type: string
  3059. divisionname:
  3060. description: 行政名称
  3061. type: string
  3062. modifierid:
  3063. description: 修改人
  3064. type: integer
  3065. modifytime:
  3066. description: 修改时间
  3067. type: string
  3068. parentcode:
  3069. description: 上级行政代码
  3070. type: string
  3071. pathname:
  3072. description: 路径名称
  3073. type: string
  3074. postcode:
  3075. description: 邮政编码
  3076. type: string
  3077. separablename:
  3078. description: 可拆分的全称
  3079. type: string
  3080. shortcode:
  3081. description: 地区简码
  3082. type: string
  3083. required:
  3084. - autoid
  3085. - divisioncode
  3086. type: object
  3087. models.Enumdicitem:
  3088. properties:
  3089. autoid:
  3090. description: 自增ID
  3091. type: integer
  3092. bankmappedvalue:
  3093. description: 银行服务对应值
  3094. type: string
  3095. enumdiccode:
  3096. description: 所属枚举代码
  3097. type: string
  3098. enumdicid:
  3099. description: 所属枚举ID
  3100. type: integer
  3101. enumdicname:
  3102. description: 枚举项名称
  3103. type: string
  3104. enumitemname:
  3105. description: 枚举项值
  3106. type: integer
  3107. enumitemstatus:
  3108. description: 枚举项状态 - 1.启用 2.不启用
  3109. type: integer
  3110. enumitemvalue:
  3111. description: 通用值 - [币种通用简写]
  3112. type: string
  3113. param1:
  3114. description: 参数1[币种:币种小数位]
  3115. type: string
  3116. param2:
  3117. description: 参数1[币种:币种显示单位]
  3118. type: string
  3119. remark:
  3120. description: 备注
  3121. type: string
  3122. required:
  3123. - autoid
  3124. - enumdiccode
  3125. - enumdicid
  3126. - enumitemname
  3127. type: object
  3128. models.Ermcp3AreaSpot:
  3129. properties:
  3130. areauserid:
  3131. description: 所属机构
  3132. type: integer
  3133. decreaseqty:
  3134. description: 减少数量=-(销售已定价数量+采购计划数量)
  3135. type: number
  3136. deliverygoodscode:
  3137. description: 现货品种代码
  3138. type: string
  3139. deliverygoodsid:
  3140. description: 现货品种id
  3141. type: integer
  3142. deliverygoodsname:
  3143. description: 现货品种名称
  3144. type: string
  3145. enumdicname:
  3146. description: 单位名称
  3147. type: string
  3148. goodsunitid:
  3149. description: 现货品种单位id
  3150. type: integer
  3151. increaseqty:
  3152. description: 增加数量=销售计划数量+采购已定价数量
  3153. type: number
  3154. oritoalspotqty:
  3155. description: 昨日数量
  3156. type: number
  3157. totalspotqty:
  3158. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  3159. type: number
  3160. updatetime:
  3161. description: 更新时间
  3162. type: string
  3163. type: object
  3164. models.Ermcp3AreaSpotDetail:
  3165. properties:
  3166. contracttype:
  3167. description: 合同类型 1-采购 -1-销售
  3168. type: integer
  3169. createtime:
  3170. description: 创建时间
  3171. type: string
  3172. deliverygoodscode:
  3173. description: 现货品种代码
  3174. type: string
  3175. deliverygoodsid:
  3176. description: 现货品种id
  3177. type: integer
  3178. deliverygoodsname:
  3179. description: 现货品种名称
  3180. type: string
  3181. enumdicname:
  3182. description: 现货商品单位名称
  3183. type: string
  3184. logtype:
  3185. description: 记录类型 1-套保 2-现货合同
  3186. type: integer
  3187. qty:
  3188. description: 数量
  3189. type: number
  3190. recordname:
  3191. description: 类型名称
  3192. type: string
  3193. relatedid:
  3194. description: 套保计划ID/现货合同ID
  3195. type: string
  3196. relatedno:
  3197. description: 编号
  3198. type: string
  3199. strtime:
  3200. description: 时间
  3201. type: string
  3202. type: object
  3203. models.Ermcp3AreaSpotPLReport:
  3204. properties:
  3205. accountid:
  3206. description: 期货账户ID (作废, 默认为0)
  3207. type: integer
  3208. accountname:
  3209. description: 机构名称
  3210. type: string
  3211. actualpl:
  3212. description: 现货损益
  3213. type: number
  3214. areauserid:
  3215. description: 所属机构\交易用户ID
  3216. type: integer
  3217. begindate:
  3218. description: 开始交易日
  3219. type: string
  3220. biztype:
  3221. description: 业务类型 - 1:套保 2:套利
  3222. type: integer
  3223. brandname:
  3224. description: 品牌名称
  3225. type: string
  3226. curamount:
  3227. description: 期末额
  3228. type: number
  3229. curaverageprice:
  3230. description: 期末均价
  3231. type: number
  3232. curbuyamount:
  3233. description: 期末采购总额
  3234. type: number
  3235. curbuyqty:
  3236. description: 期末采购总量
  3237. type: number
  3238. curmarketvalue:
  3239. description: 参考市值(期末市值)
  3240. type: number
  3241. curqty:
  3242. description: 期末量
  3243. type: number
  3244. currencyid:
  3245. description: 结算币种ID【原值】
  3246. type: integer
  3247. currencyname:
  3248. description: 币种名称
  3249. type: string
  3250. cursellamount:
  3251. description: 期末销售总额
  3252. type: number
  3253. cursellqty:
  3254. description: 期末销售总量
  3255. type: number
  3256. curspotprice:
  3257. description: 参考市价(最新价)
  3258. type: number
  3259. cycletime:
  3260. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3261. type: string
  3262. cycletype:
  3263. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3264. type: integer
  3265. deliverygoodscode:
  3266. description: 现货商品代码
  3267. type: string
  3268. deliverygoodsid:
  3269. description: 现货品种ID
  3270. type: integer
  3271. deliverygoodsname:
  3272. description: 现货商品名称
  3273. type: string
  3274. enddate:
  3275. description: 结束交易日
  3276. type: string
  3277. enumdicname:
  3278. description: 现货商品单位名称
  3279. type: string
  3280. floatpl:
  3281. description: 浮动损益
  3282. type: number
  3283. goodsunitid:
  3284. description: 现货商品单位id
  3285. type: integer
  3286. oriamount:
  3287. description: 期初额
  3288. type: number
  3289. oriaverageprice:
  3290. description: 期初均价
  3291. type: number
  3292. oribuyamount:
  3293. description: 期初采购总额
  3294. type: number
  3295. oribuyqty:
  3296. description: 期初采购总量
  3297. type: number
  3298. oriqty:
  3299. description: 期初量
  3300. type: number
  3301. orisellamount:
  3302. description: 期初销售总额
  3303. type: number
  3304. orisellqty:
  3305. description: 期初销售总量
  3306. type: number
  3307. reckondate:
  3308. description: 日照时期(yyyyMMdd)
  3309. type: string
  3310. spotgoodsbrandid:
  3311. description: 现货品牌ID
  3312. type: integer
  3313. todaybuyamount:
  3314. description: 今日采购额(今采购额)
  3315. type: number
  3316. todaybuyaverageprice:
  3317. description: 今日采购均价
  3318. type: number
  3319. todaybuyqty:
  3320. description: 今日采购量(今采购量)
  3321. type: number
  3322. todayinqty:
  3323. description: 今日入库量(今入库量)
  3324. type: number
  3325. todayoutqty:
  3326. description: 今日出库量(今出库量)
  3327. type: number
  3328. todaysellamount:
  3329. description: 今日销售额(今销售额)
  3330. type: number
  3331. todaysellaverageprice:
  3332. description: 今日销售均价
  3333. type: number
  3334. todaysellqty:
  3335. description: 今日销售量(今销售量)
  3336. type: number
  3337. unitid:
  3338. description: 品类单位id
  3339. type: integer
  3340. unitidname:
  3341. description: 品类单位名称
  3342. type: string
  3343. updatetime:
  3344. description: 更新时间
  3345. type: string
  3346. wrfactortypeid:
  3347. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  3348. type: integer
  3349. wrstandardcode:
  3350. description: 品类代码
  3351. type: string
  3352. wrstandardid:
  3353. description: 现货品类ID
  3354. type: integer
  3355. wrstandardname:
  3356. description: 品类名称
  3357. type: string
  3358. type: object
  3359. models.Ermcp3AreaStock:
  3360. properties:
  3361. brandname:
  3362. description: 品牌名称
  3363. type: string
  3364. curstock:
  3365. description: 期末库存量(今日量)
  3366. type: number
  3367. deliverygoodscode:
  3368. description: 现货品种代码
  3369. type: string
  3370. deliverygoodsid:
  3371. description: 现货品种id
  3372. type: integer
  3373. deliverygoodsname:
  3374. description: 现货品种名称
  3375. type: string
  3376. enumdicname:
  3377. description: 单位名称
  3378. type: string
  3379. goodsunitid:
  3380. description: 现货商品单位id
  3381. type: integer
  3382. oristock:
  3383. description: 期初库存量(昨日量)
  3384. type: number
  3385. spotgoodsbrandid:
  3386. description: 现货品牌ID
  3387. type: integer
  3388. todaybuyinqty:
  3389. description: 今日采购入库量
  3390. type: number
  3391. todayproduceinqty:
  3392. description: 今日生产入库量
  3393. type: number
  3394. todayproduceoutqty:
  3395. description: 今日生产出库量
  3396. type: number
  3397. todayselloutqty:
  3398. description: 今日销售出库量
  3399. type: number
  3400. unitid:
  3401. description: 单位id
  3402. type: integer
  3403. updatetime:
  3404. description: 更新时间
  3405. type: string
  3406. userid:
  3407. description: 机构ID
  3408. type: integer
  3409. username:
  3410. description: 机构名称
  3411. type: string
  3412. warehousecode:
  3413. description: 仓库代码
  3414. type: string
  3415. warehouseinfoid:
  3416. description: 仓库ID
  3417. type: string
  3418. warehousename:
  3419. description: 仓库名称
  3420. type: string
  3421. warehousetype:
  3422. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3423. type: integer
  3424. wrstandardcode:
  3425. description: 品类代码
  3426. type: string
  3427. wrstandardid:
  3428. description: 品类ID
  3429. type: string
  3430. wrstandardname:
  3431. description: 品类名称
  3432. type: string
  3433. required:
  3434. - userid
  3435. type: object
  3436. models.Ermcp3AreaStockApply:
  3437. properties:
  3438. applyid:
  3439. description: 申请人
  3440. type: integer
  3441. applyname:
  3442. description: 申请人名称
  3443. type: string
  3444. applyremark:
  3445. description: 申请备注
  3446. type: string
  3447. applysrc:
  3448. description: 申请来源 - 1:管理端 2:终端
  3449. type: integer
  3450. applystatus:
  3451. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  3452. type: integer
  3453. applytime:
  3454. description: 申请时间
  3455. type: string
  3456. auditid:
  3457. description: 审核人
  3458. type: integer
  3459. auditname:
  3460. description: 审核人名称
  3461. type: string
  3462. auditremark:
  3463. description: 审核备注
  3464. type: string
  3465. auditsrc:
  3466. description: 审核来源 - 1:管理端 2:终端
  3467. type: integer
  3468. audittime:
  3469. description: 审核时间
  3470. type: string
  3471. audittradedate:
  3472. description: 审核交易日(yyyyMMdd)
  3473. type: string
  3474. brandname:
  3475. description: 品牌名称
  3476. type: string
  3477. buynickname:
  3478. description: 采购方昵称
  3479. type: string
  3480. buyuserid:
  3481. description: 采购方userid
  3482. type: integer
  3483. buyusername:
  3484. description: 采购方名称
  3485. type: string
  3486. contractno:
  3487. description: 合同编号
  3488. type: string
  3489. contractqty:
  3490. description: 合同量
  3491. type: number
  3492. contracttype:
  3493. description: 现货合同类型 - 1:采购 -1:销售
  3494. type: integer
  3495. deliverygoodscode:
  3496. description: 现货品种代码
  3497. type: string
  3498. deliverygoodsid:
  3499. description: 现货品种id
  3500. type: integer
  3501. deliverygoodsname:
  3502. description: 现货品种名称
  3503. type: string
  3504. detailjson:
  3505. description: 明细数据
  3506. type: string
  3507. enumdicname:
  3508. description: 现货商品单位名称
  3509. type: string
  3510. inoutapplyid:
  3511. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  3512. type: string
  3513. inouttype:
  3514. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  3515. type: integer
  3516. pricetype:
  3517. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3518. type: integer
  3519. qty:
  3520. description: 数量
  3521. type: number
  3522. sellnickname:
  3523. description: 销售方昵称
  3524. type: string
  3525. selluserid:
  3526. description: 销售方userid
  3527. type: integer
  3528. sellusername:
  3529. description: 销售方名称
  3530. type: string
  3531. spotcontractid:
  3532. description: 关联现货合同ID
  3533. type: string
  3534. spotgoodsbrandid:
  3535. description: 现货品牌ID
  3536. type: integer
  3537. unitid:
  3538. description: 单位id
  3539. type: integer
  3540. userid:
  3541. description: 机构ID
  3542. type: integer
  3543. warehousecode:
  3544. description: 仓库代码
  3545. type: string
  3546. warehouseinfoid:
  3547. description: 现货仓库ID
  3548. type: string
  3549. warehousename:
  3550. description: 仓库名称
  3551. type: string
  3552. warehousetype:
  3553. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3554. type: integer
  3555. wrstandardcode:
  3556. description: 品类代码
  3557. type: string
  3558. wrstandardid:
  3559. description: 品类ID
  3560. type: integer
  3561. wrstandardname:
  3562. description: 品类名称
  3563. type: string
  3564. type: object
  3565. models.Ermcp3AreaStockApplySum:
  3566. properties:
  3567. brandname:
  3568. description: 品牌名称
  3569. type: string
  3570. inouttype:
  3571. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  3572. type: integer
  3573. spotcontractid:
  3574. description: 关联现货合同ID
  3575. type: string
  3576. spotgoodsbrandid:
  3577. description: 品牌id
  3578. type: integer
  3579. totalqty:
  3580. description: 总数量
  3581. type: number
  3582. wrstandardid:
  3583. description: 品类id
  3584. type: integer
  3585. wrstandardname:
  3586. description: 品类名称
  3587. type: string
  3588. type: object
  3589. models.Ermcp3AreaStockReportEx:
  3590. properties:
  3591. begindate:
  3592. description: 开始交易日
  3593. type: string
  3594. brandname:
  3595. description: 品牌名称
  3596. type: string
  3597. curstock:
  3598. description: 期末库存量
  3599. type: number
  3600. cycletime:
  3601. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3602. type: string
  3603. cycletype:
  3604. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3605. type: integer
  3606. deliverygoodscode:
  3607. description: 现货品种代码
  3608. type: string
  3609. deliverygoodsid:
  3610. description: 现货品种id
  3611. type: integer
  3612. deliverygoodsname:
  3613. description: 现货品种名称
  3614. type: string
  3615. diffqty:
  3616. description: 库存变化量 = 期末 - 期初
  3617. type: number
  3618. enddate:
  3619. description: 结束交易日
  3620. type: string
  3621. enumdicname:
  3622. description: 单位名称
  3623. type: string
  3624. goodsunitid:
  3625. description: 现货单位id
  3626. type: integer
  3627. oristock:
  3628. description: 期初库存量
  3629. type: number
  3630. reckondate:
  3631. description: 日照时期(yyyyMMdd)
  3632. type: string
  3633. spotgoodsbrandid:
  3634. description: 现货品牌ID
  3635. type: integer
  3636. todaybuyinqty:
  3637. description: 今采购入库量
  3638. type: number
  3639. todayproduceinqty:
  3640. description: 今内部入库量
  3641. type: number
  3642. todayproduceoutqty:
  3643. description: 今内部出库量
  3644. type: number
  3645. todayselloutqty:
  3646. description: 今销售出库量
  3647. type: number
  3648. unbuyinqty:
  3649. description: 采购未入库量(数据库未找到相关字段?)
  3650. type: number
  3651. unitid:
  3652. description: 品类单位id
  3653. type: integer
  3654. unselloutqty:
  3655. description: 销售未出库量(数据库未找到相关字段?)
  3656. type: number
  3657. updatetime:
  3658. description: 更新时间
  3659. type: string
  3660. userid:
  3661. description: 机构ID
  3662. type: integer
  3663. username:
  3664. description: 机构名称
  3665. type: string
  3666. warehousecode:
  3667. description: 仓库代码
  3668. type: string
  3669. warehouseinfoid:
  3670. description: 仓库ID
  3671. type: string
  3672. warehousename:
  3673. description: 仓库名称
  3674. type: string
  3675. warehousetype:
  3676. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3677. type: integer
  3678. wrstandardcode:
  3679. description: 品类代码
  3680. type: string
  3681. wrstandardid:
  3682. description: 品类ID
  3683. type: integer
  3684. wrstandardname:
  3685. description: 品类名称
  3686. type: string
  3687. type: object
  3688. models.Ermcp3ArealSumPL:
  3689. properties:
  3690. accountname:
  3691. description: 机构名称
  3692. type: string
  3693. areauserid:
  3694. description: 所属机构\交易用户ID
  3695. type: integer
  3696. begindate:
  3697. description: 开始交易日
  3698. type: string
  3699. currencyid:
  3700. description: 结算币种ID
  3701. type: integer
  3702. currencyname:
  3703. description: 币种名称
  3704. type: string
  3705. cycletime:
  3706. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3707. type: string
  3708. cycletype:
  3709. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3710. type: integer
  3711. enddate:
  3712. description: 结束交易日
  3713. type: string
  3714. enumdicname:
  3715. description: 单位名称(套保品种)
  3716. type: string
  3717. futureactualpl:
  3718. description: 期货损益
  3719. type: number
  3720. futurefloatpl:
  3721. description: 期货浮动损益
  3722. type: number
  3723. goodsunitid:
  3724. description: 套保品种单位id
  3725. type: integer
  3726. middlegoodscode:
  3727. description: 套保品种代码
  3728. type: string
  3729. middlegoodsid:
  3730. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  3731. type: integer
  3732. middlegoodsname:
  3733. description: 套保品种名称
  3734. type: string
  3735. reckondate:
  3736. description: 日照时期(yyyyMMdd)
  3737. type: string
  3738. spotactualpl:
  3739. description: 现货损益
  3740. type: number
  3741. spotfloatpl:
  3742. description: 现货浮动损益
  3743. type: number
  3744. sumactualpl:
  3745. description: 实际损益 = (ActualPL + FutureActualPL)
  3746. type: number
  3747. sumpl:
  3748. description: 汇总损益
  3749. type: number
  3750. updatetime:
  3751. description: 更新时间
  3752. type: string
  3753. type: object
  3754. models.Ermcp3Brand:
  3755. properties:
  3756. areauserid:
  3757. description: 用户id
  3758. type: integer
  3759. brandid:
  3760. description: 品牌id
  3761. type: integer
  3762. brandname:
  3763. description: 品牌名称
  3764. type: string
  3765. deliverygoodsid:
  3766. description: 品种ID
  3767. type: integer
  3768. type: object
  3769. models.Ermcp3Contract:
  3770. properties:
  3771. accountid:
  3772. description: 期货账户id
  3773. type: string
  3774. amount:
  3775. description: 金额 [1:一口价、3:暂定价]
  3776. type: number
  3777. attachment:
  3778. description: 附件
  3779. type: string
  3780. auditremark:
  3781. description: 审核意见
  3782. type: string
  3783. audittime:
  3784. description: 审核时间
  3785. type: string
  3786. biztype:
  3787. description: 业务类型 1-套保 2-套利
  3788. type: integer
  3789. brandname:
  3790. description: 品牌名称
  3791. type: string
  3792. buynickname:
  3793. description: 销售方昵称
  3794. type: string
  3795. buyuserid:
  3796. description: 采购方ID
  3797. type: integer
  3798. buyusername:
  3799. description: 采购方名称
  3800. type: string
  3801. contracctstatus:
  3802. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  3803. type: integer
  3804. contractmargin:
  3805. description: 合同保证金
  3806. type: number
  3807. contractno:
  3808. description: 现货合同编号
  3809. type: string
  3810. contracttype:
  3811. description: 现货合同类型 - 1:采购 -1:销售
  3812. type: integer
  3813. convertfactor:
  3814. description: 标仓系数(品类)
  3815. type: number
  3816. createtime:
  3817. description: 创建时间
  3818. type: string
  3819. currencyid:
  3820. description: 币种id
  3821. type: integer
  3822. currencyname:
  3823. description: 币种名称
  3824. type: string
  3825. deliveryenddate:
  3826. description: 交收期(结束)
  3827. type: string
  3828. deliverygoodscode:
  3829. description: 现货品种代码
  3830. type: string
  3831. deliverygoodsid:
  3832. description: 现货品种ID
  3833. type: integer
  3834. deliverygoodsname:
  3835. description: 现货品种名称
  3836. type: string
  3837. deliverystartdate:
  3838. description: 交收期(开始)
  3839. type: string
  3840. enddate:
  3841. description: 点价结束日期 [2:点价 3:暂定价]
  3842. type: string
  3843. enumdicname:
  3844. description: 单位名称
  3845. type: string
  3846. goodscode:
  3847. description: 点价合约代码
  3848. type: string
  3849. goodsid:
  3850. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  3851. type: integer
  3852. goodsname:
  3853. description: 点价商品名称
  3854. type: string
  3855. margin:
  3856. description: 当前保证金
  3857. type: number
  3858. meruserid:
  3859. description: 跟单员id
  3860. type: integer
  3861. meruserlogincode:
  3862. description: 跟单员登录代码
  3863. type: string
  3864. merusername:
  3865. description: 跟单员名称
  3866. type: string
  3867. price:
  3868. description: 价格\暂定价 [1:一口价、3:暂定价]
  3869. type: number
  3870. pricemove:
  3871. description: 升贴水 [2:点价 3:暂定价]
  3872. type: number
  3873. pricetype:
  3874. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3875. type: integer
  3876. producttype:
  3877. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  3878. type: integer
  3879. qty:
  3880. description: 数量
  3881. type: number
  3882. remark:
  3883. description: 备注
  3884. type: string
  3885. saleuserid:
  3886. description: 业务员id
  3887. type: integer
  3888. saleuserlogincode:
  3889. description: 业务员登录代码
  3890. type: string
  3891. saleusername:
  3892. description: 业务员名称
  3893. type: string
  3894. sellnickname:
  3895. description: 采购方昵称
  3896. type: string
  3897. selluserid:
  3898. description: 销售方ID
  3899. type: integer
  3900. sellusername:
  3901. description: 销售方名称
  3902. type: string
  3903. spotcontractid:
  3904. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  3905. type: string
  3906. spotgoodsbrandid:
  3907. description: 现货品牌ID(DGFactoryItem表的ID)
  3908. type: integer
  3909. spotgoodsdesc:
  3910. description: 商品型号
  3911. type: string
  3912. startdate:
  3913. description: 点价开始日期 [2:点价 3:暂定价]
  3914. type: string
  3915. tradeuserid:
  3916. description: 交易员id
  3917. type: integer
  3918. tradeuserlogincode:
  3919. description: 交易员登录代码
  3920. type: string
  3921. tradeusername:
  3922. description: 交易员名称
  3923. type: string
  3924. unitid:
  3925. description: 单位id(取品类上的单位id)
  3926. type: integer
  3927. updatetime:
  3928. description: 更新时间
  3929. type: string
  3930. userid:
  3931. description: 所属机构ID
  3932. type: integer
  3933. wrstandardcode:
  3934. description: 品类代码
  3935. type: string
  3936. wrstandardid:
  3937. description: 品类ID
  3938. type: integer
  3939. wrstandardname:
  3940. description: 品类名称
  3941. type: string
  3942. type: object
  3943. models.Ermcp3ExposureContractDetail:
  3944. properties:
  3945. biztype:
  3946. description: 业务类型 1-套保 2-套利
  3947. type: integer
  3948. brandname:
  3949. description: 品牌名称
  3950. type: string
  3951. buyuserid:
  3952. description: 采购方id
  3953. type: integer
  3954. buyusername:
  3955. description: 采购方名称
  3956. type: string
  3957. contractno:
  3958. description: 合同编号
  3959. type: string
  3960. contracttype:
  3961. description: 现货合同类型 - 1:采购 -1:销售
  3962. type: integer
  3963. convertfactor:
  3964. description: 标仓系数
  3965. type: number
  3966. convertratio:
  3967. description: 折算系数(套保品种)
  3968. type: number
  3969. curqty:
  3970. description: 今定价量
  3971. type: number
  3972. deliverygoodscode:
  3973. description: 现货商品代码
  3974. type: string
  3975. deliverygoodsid:
  3976. description: 现货商品id
  3977. type: integer
  3978. deliverygoodsname:
  3979. description: 现货商品名称
  3980. type: string
  3981. diffhedgeqty:
  3982. description: 套保变动量
  3983. type: number
  3984. diffneedhedgeqty:
  3985. description: 应套保变动量
  3986. type: number
  3987. diffqty:
  3988. description: 套保品种今变动量
  3989. type: number
  3990. enumdicname:
  3991. description: 单位名称
  3992. type: string
  3993. mgunitname:
  3994. description: 套保品种单位名称
  3995. type: string
  3996. middlegoodscode:
  3997. description: 套保品种代码
  3998. type: string
  3999. middlegoodsid:
  4000. description: 套保品种id
  4001. type: integer
  4002. middlegoodsname:
  4003. description: 套保品种名称
  4004. type: string
  4005. needarbitrageratio:
  4006. description: 应套利比例
  4007. type: number
  4008. needhedgeratio:
  4009. description: 应套保比例
  4010. type: number
  4011. pricedqty:
  4012. description: 已定价量
  4013. type: number
  4014. qty:
  4015. description: 合同量
  4016. type: number
  4017. selluserid:
  4018. description: 销售方id
  4019. type: integer
  4020. sellusername:
  4021. description: 销售方名称
  4022. type: string
  4023. spotcontractid:
  4024. description: 合同id
  4025. type: string
  4026. todaypricedqty:
  4027. description: 今定价量
  4028. type: number
  4029. tradedate:
  4030. description: 交易日
  4031. type: string
  4032. unitid:
  4033. description: 品类单位id
  4034. type: integer
  4035. userid:
  4036. description: 机构id
  4037. type: integer
  4038. username:
  4039. description: 交易用户
  4040. type: string
  4041. wrstandardcode:
  4042. description: 品类代码
  4043. type: string
  4044. wrstandardid:
  4045. description: 品类id
  4046. type: integer
  4047. wrstandardname:
  4048. description: 品类名称
  4049. type: string
  4050. type: object
  4051. models.Ermcp3ExposureDetail:
  4052. properties:
  4053. areauserid:
  4054. description: 机构ID
  4055. type: integer
  4056. changeQty:
  4057. description: 套保变动量
  4058. type: number
  4059. contracttype:
  4060. description: 现货合同类型 - 1:采购 -1:销售
  4061. type: integer
  4062. convertfactor:
  4063. description: 标仓系数
  4064. type: number
  4065. convertratio:
  4066. description: 套保系数
  4067. type: number
  4068. createtime:
  4069. description: 时间
  4070. type: string
  4071. deliverygoodscode:
  4072. description: 现货品种代码
  4073. type: string
  4074. deliverygoodsid:
  4075. description: 现货品种id
  4076. type: integer
  4077. deliverygoodsname:
  4078. description: 现货品种名称
  4079. type: string
  4080. enumdicname:
  4081. description: 现货商品单位名称
  4082. type: string
  4083. logtype:
  4084. description: 类型 - 1:套保计划 2:现货合同
  4085. type: integer
  4086. mgunitid:
  4087. description: 套保品种单位id
  4088. type: integer
  4089. mgunitidname:
  4090. description: 套保品种单位名称
  4091. type: string
  4092. middlegoodsId:
  4093. description: 套保商品id
  4094. type: integer
  4095. middlegoodscode:
  4096. description: 套保商品代码
  4097. type: string
  4098. middlegoodsname:
  4099. description: 套保商品名称
  4100. type: string
  4101. qty:
  4102. description: 数量
  4103. type: number
  4104. relateNo:
  4105. description: 现货合同/套保计划编号
  4106. type: string
  4107. type: object
  4108. models.Ermcp3ExposureFutuDetail:
  4109. properties:
  4110. accountid:
  4111. description: 交易账户id
  4112. type: integer
  4113. accountname:
  4114. description: 交易账户
  4115. type: string
  4116. begindate:
  4117. description: 开始交易日
  4118. type: string
  4119. buyorsell:
  4120. description: 方向 0-买 1-卖
  4121. type: integer
  4122. diffmgqty:
  4123. description: 套保品种今变化量
  4124. type: number
  4125. diffneedqty:
  4126. description: 应套保总量变化量
  4127. type: number
  4128. difftradeqty:
  4129. description: 交易品种今变化量
  4130. type: number
  4131. enddate:
  4132. description: 结束交易日
  4133. type: string
  4134. enumdicname:
  4135. description: 单位名称
  4136. type: string
  4137. goodscode:
  4138. description: 商品代码
  4139. type: string
  4140. goodsid:
  4141. description: 商品id
  4142. type: integer
  4143. goodsname:
  4144. description: 商品名称
  4145. type: string
  4146. holdqty:
  4147. description: 期末持仓量
  4148. type: number
  4149. middlegoodscode:
  4150. description: 套保商品代码
  4151. type: string
  4152. middlegoodsid:
  4153. description: 套保商品id
  4154. type: integer
  4155. middlegoodsname:
  4156. description: 套保商品名称
  4157. type: string
  4158. oriholdqty:
  4159. description: 期初持仓量
  4160. type: number
  4161. todaycloseqty:
  4162. description: 今平仓量
  4163. type: number
  4164. todayopenqty:
  4165. description: 今开仓量
  4166. type: number
  4167. tradedate:
  4168. description: 交易日
  4169. type: string
  4170. type: object
  4171. models.Ermcp3ExposureHedgeplanDetail:
  4172. properties:
  4173. biztype:
  4174. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  4175. type: integer
  4176. changqty:
  4177. description: 应套保总量变化量
  4178. type: number
  4179. contracttype:
  4180. description: 计划类型 - 1:采购 -1:销售
  4181. type: integer
  4182. convertratio:
  4183. description: 折算系数(套保品种)
  4184. type: number
  4185. deliverygoodscode:
  4186. description: 现货商品代码
  4187. type: string
  4188. deliverygoodsid:
  4189. description: 现货商品id
  4190. type: integer
  4191. deliverygoodsname:
  4192. description: 现货商吕名称
  4193. type: string
  4194. dgunitid:
  4195. description: 现货商品单位id
  4196. type: integer
  4197. dgunitidname:
  4198. description: 单位名称(现货商品)
  4199. type: string
  4200. diffqty:
  4201. description: 套保品种今变动量
  4202. type: number
  4203. enumdicname:
  4204. description: 单位名称(品类)
  4205. type: string
  4206. hedgeplanid:
  4207. description: 套保计划id
  4208. type: string
  4209. hedgeplanno:
  4210. description: 套保计划名称
  4211. type: string
  4212. hedgeplanstatus:
  4213. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4214. type: integer
  4215. mgunitidname:
  4216. description: 单位名称(套保商品)
  4217. type: string
  4218. middlegoodscode:
  4219. description: 套保品种代码
  4220. type: string
  4221. middlegoodsid:
  4222. description: 套保品种id
  4223. type: integer
  4224. middlegoodsname:
  4225. description: 套保品种名称
  4226. type: string
  4227. needarbitrageratio:
  4228. description: 应套利比例
  4229. type: number
  4230. needhedgeratio:
  4231. description: 应套保比例
  4232. type: number
  4233. pricedqty:
  4234. description: 已定价量
  4235. type: number
  4236. qty:
  4237. description: 合同量
  4238. type: number
  4239. tradedate:
  4240. description: 交易日(登记日)
  4241. type: string
  4242. unitid:
  4243. description: 品类单位id
  4244. type: integer
  4245. userid:
  4246. description: 机构id
  4247. type: integer
  4248. wrstandardcode:
  4249. description: 品类代码
  4250. type: string
  4251. wrstandardid:
  4252. description: 品类id
  4253. type: integer
  4254. wrstandardname:
  4255. description: 品类名称
  4256. type: string
  4257. type: object
  4258. models.Ermcp3ExposureParamChLog:
  4259. properties:
  4260. accountid:
  4261. description: 期货账户ID (作废, 默认为0)
  4262. type: integer
  4263. aftervalue:
  4264. description: 应套保\套利量变更后(调整后应套保总量)
  4265. type: number
  4266. areauserid:
  4267. description: 所属机构\交易用户ID
  4268. type: integer
  4269. beforevalue:
  4270. description: 应套保\套利量变更前(调整前应套保总量)
  4271. type: number
  4272. begindate:
  4273. description: 开始交易日
  4274. type: string
  4275. changelogtype:
  4276. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  4277. type: integer
  4278. curvalue:
  4279. description: 当前套保\套利量(套保总量|套利总量)
  4280. type: number
  4281. diffvalue:
  4282. description: 应套保总量变化量
  4283. type: number
  4284. enddate:
  4285. description: 结束交易日
  4286. type: string
  4287. logdatetime:
  4288. description: 流水日期
  4289. type: string
  4290. logid:
  4291. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  4292. type: string
  4293. middlegoodscode:
  4294. description: 套保品种代码
  4295. type: string
  4296. middlegoodsid:
  4297. description: 套保品种
  4298. type: integer
  4299. middlegoodsname:
  4300. description: 套保品种名称
  4301. type: string
  4302. paramaftervalue:
  4303. description: 参数变更后(调整后参数值)
  4304. type: number
  4305. parambeforevalue:
  4306. description: 参数变更前(调整前参数值)
  4307. type: number
  4308. tradedate:
  4309. description: 交易日(yyyyMMdd)
  4310. type: string
  4311. type: object
  4312. models.Ermcp3ExpourseReport:
  4313. properties:
  4314. accountid:
  4315. description: 期货账户ID (作废, 默认为0)
  4316. type: integer
  4317. accountname:
  4318. description: 机构名称
  4319. type: string
  4320. arbitrageqty:
  4321. description: 套利量
  4322. type: number
  4323. areauserid:
  4324. description: 所属机构\交易用户ID
  4325. type: integer
  4326. begindate:
  4327. description: 开始交易日
  4328. type: string
  4329. buyfutureqty:
  4330. description: 买入期货数量
  4331. type: number
  4332. buyplanqty:
  4333. description: 采购计划数量
  4334. type: number
  4335. buypricedqty:
  4336. description: 采购合同已定价数量
  4337. type: number
  4338. cycletime:
  4339. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4340. type: string
  4341. cycletype:
  4342. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4343. type: integer
  4344. diffexposure:
  4345. description: 变动量(套保敞口)
  4346. type: number
  4347. difffutuqty:
  4348. description: 变动量(期货)
  4349. type: number
  4350. diffhedgeqty:
  4351. description: 变动量(现货应套保总量)
  4352. type: number
  4353. diffmgqtya:
  4354. description: 套保变动量
  4355. type: number
  4356. diffmgqtyb:
  4357. description: 套利变动量
  4358. type: number
  4359. diffqty:
  4360. description: 变动量(总敞口)
  4361. type: number
  4362. diffspotqty:
  4363. description: 变动量(现货)
  4364. type: number
  4365. enddate:
  4366. description: 结束交易日
  4367. type: string
  4368. enumdicname:
  4369. description: 单位名称
  4370. type: string
  4371. hedgeqty:
  4372. description: 套保量
  4373. type: number
  4374. mgneedhedgeratio:
  4375. description: 套保比例(套保品的)
  4376. type: number
  4377. middlegoodsid:
  4378. description: 套保品种ID
  4379. type: integer
  4380. middlegoodsname:
  4381. description: 套保商品名称
  4382. type: string
  4383. middlgoodscode:
  4384. description: 套保商品代码
  4385. type: string
  4386. needarbitrageqty:
  4387. description: 应套利量
  4388. type: number
  4389. needarbitrageratio:
  4390. description: 套利比例(套保品的)
  4391. type: number
  4392. needhedgeexposoure:
  4393. description: 应套保敞口(套保敞口)
  4394. type: number
  4395. needhedgeqty:
  4396. description: 应套保量
  4397. type: number
  4398. needhedgeratio:
  4399. description: 应套保敞口比例
  4400. type: number
  4401. oriarbitrageqty:
  4402. description: 期初套利量
  4403. type: number
  4404. oribuyfutureqty:
  4405. description: 期初买入期货数量
  4406. type: number
  4407. oribuyplanqty:
  4408. description: 期初采购计划数量
  4409. type: number
  4410. oribuypricedqty:
  4411. description: 期初采购合同已定价数量
  4412. type: number
  4413. orihedgeqty:
  4414. description: 期初套保量
  4415. type: number
  4416. orineedarbitrageqty:
  4417. description: 期初应套利量
  4418. type: number
  4419. orineedhedgeexposoure:
  4420. description: 期初应套保敞口
  4421. type: number
  4422. orineedhedgeqty:
  4423. description: 期初应套保量
  4424. type: number
  4425. orisellfutureqty:
  4426. description: 期初卖出期货数量
  4427. type: number
  4428. orisellplanqty:
  4429. description: 期初销售计划数量
  4430. type: number
  4431. orisellpricedqty:
  4432. description: 期初销售合同已定价数量
  4433. type: number
  4434. oritotalexposure:
  4435. description: 期初实时总敞口
  4436. type: number
  4437. oritotalfutureqty:
  4438. description: 期初期货头寸总量
  4439. type: number
  4440. oritotalneedhedgeqty:
  4441. description: 期初应套保总量
  4442. type: number
  4443. oritotalspotqty:
  4444. description: 期初现货头寸总量
  4445. type: number
  4446. reckondate:
  4447. description: 日照时期(yyyyMMdd)
  4448. type: string
  4449. sellfutureqty:
  4450. description: 卖出期货数量
  4451. type: number
  4452. sellplanqty:
  4453. description: 销售计划数量
  4454. type: number
  4455. sellpricedqty:
  4456. description: 销售合同已定价数量
  4457. type: number
  4458. totalexposure:
  4459. description: 实时总敞口(总敞口)
  4460. type: number
  4461. totalfutureqty:
  4462. description: 期货头寸总量(期货总量)
  4463. type: number
  4464. totalhedgeratio:
  4465. description: 敞口比例
  4466. type: number
  4467. totalneedhedgeqty:
  4468. description: 应套保总量(现货应套保总量)
  4469. type: number
  4470. totalspotqty:
  4471. description: 现货头寸总量
  4472. type: number
  4473. unitid:
  4474. description: 单位id
  4475. type: integer
  4476. updatetime:
  4477. description: 更新时间
  4478. type: string
  4479. type: object
  4480. models.Ermcp3FinanceReport:
  4481. properties:
  4482. accountname:
  4483. description: 机构名称
  4484. type: string
  4485. areauserid:
  4486. description: 所属机构\交易用户ID
  4487. type: integer
  4488. begindate:
  4489. description: 开始交易日
  4490. type: string
  4491. biztype:
  4492. description: 业务类型 - 1:套保 2:套利
  4493. type: integer
  4494. brandname:
  4495. description: 品牌名称
  4496. type: string
  4497. buypreinvoicedamount:
  4498. description: 采购预收票额(预收票额)
  4499. type: number
  4500. buyprepaidamount:
  4501. description: 采购预付款额(预付货款额)
  4502. type: number
  4503. buytodayinvoiceamount:
  4504. description: 采购今收票额(今收票额)
  4505. type: number
  4506. buytodayrefundamount:
  4507. description: 采购今收退款额(今收退款额)
  4508. type: number
  4509. buytodaysettleamount:
  4510. description: 采购今付款额(今付货款额)
  4511. type: number
  4512. buyuninvoicedamount:
  4513. description: 采购应收票额(应收票额)
  4514. type: number
  4515. buyunpaidamount:
  4516. description: 采购应付款额(应付货款额)
  4517. type: number
  4518. currencyid:
  4519. description: 结算币种ID
  4520. type: integer
  4521. currencyname:
  4522. description: 币种名称
  4523. type: string
  4524. cycletime:
  4525. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4526. type: string
  4527. cycletype:
  4528. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4529. type: integer
  4530. deliverygoodscode:
  4531. description: 现货品种代码
  4532. type: string
  4533. deliverygoodsid:
  4534. description: 现货品种ID
  4535. type: integer
  4536. deliverygoodsname:
  4537. description: 现货品种名称
  4538. type: string
  4539. enddate:
  4540. description: 结束交易日
  4541. type: string
  4542. reckondate:
  4543. description: 日照时期(yyyyMMdd)
  4544. type: string
  4545. sellpreinvoicedamount:
  4546. description: 销售预开票额(预开票额)
  4547. type: number
  4548. sellprepaidamount:
  4549. description: 销售预收款额(预收货款额)
  4550. type: number
  4551. selltodayinvoiceamount:
  4552. description: 销售今开票额(今开票额)
  4553. type: number
  4554. selltodayrefundamount:
  4555. description: 销售今付退款额(今付退款额)
  4556. type: number
  4557. selltodaysettleamount:
  4558. description: 销售今收款额(今收货款额)
  4559. type: number
  4560. selluninvoicedamount:
  4561. description: 销售应开票额(应开票额)
  4562. type: number
  4563. sellunpaidamount:
  4564. description: 销售应收款额(应收货款额)
  4565. type: number
  4566. spotgoodsbrandid:
  4567. description: 现货品牌ID
  4568. type: integer
  4569. todaypaysum:
  4570. description: 今付款合计
  4571. type: number
  4572. todayreceivesum:
  4573. description: 今收款合计
  4574. type: number
  4575. updatetime:
  4576. description: 更新时间
  4577. type: string
  4578. wrfactortypeid:
  4579. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4580. type: integer
  4581. wrstandardcode:
  4582. description: 品类代码
  4583. type: string
  4584. wrstandardid:
  4585. description: 现货商品ID
  4586. type: integer
  4587. wrstandardname:
  4588. description: 品类名称
  4589. type: string
  4590. type: object
  4591. models.Ermcp3GoodsGroup:
  4592. properties:
  4593. agreeunit:
  4594. description: 合约单位
  4595. type: number
  4596. areauserid:
  4597. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  4598. type: integer
  4599. canshort:
  4600. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  4601. type: integer
  4602. closepricemode:
  4603. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  4604. type: integer
  4605. createtime:
  4606. description: 创建时间
  4607. type: string
  4608. creatorid:
  4609. description: 创建人
  4610. type: integer
  4611. currencyid:
  4612. description: 报价货币ID
  4613. type: integer
  4614. decimalplace:
  4615. description: 报价小数位
  4616. type: integer
  4617. enumdicname:
  4618. description: 单位名称
  4619. type: string
  4620. exchangefullname:
  4621. description: 交易所全称
  4622. type: string
  4623. excludecfg:
  4624. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  4625. type: integer
  4626. exexchangecode:
  4627. description: 交易所代码
  4628. type: string
  4629. exexchangeid:
  4630. description: 外部交易所ID[通道交易]
  4631. type: integer
  4632. exexchangename:
  4633. description: 交易所名称
  4634. type: string
  4635. goodsgroupid:
  4636. description: 商品组ID(自增ID)
  4637. type: integer
  4638. goodsgroupname:
  4639. description: 商品组名称
  4640. type: string
  4641. goodsgroupstatus:
  4642. description: 商品组状态 - 1:正常 2:注销
  4643. type: integer
  4644. goodunitid:
  4645. description: 报价单位ID
  4646. type: integer
  4647. groupcategroyid:
  4648. description: 品种分类ID
  4649. type: integer
  4650. innerdealmode:
  4651. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  4652. type: integer
  4653. marketid:
  4654. description: 所属市场ID
  4655. type: integer
  4656. modifierid:
  4657. description: 修改人
  4658. type: integer
  4659. modifytime:
  4660. description: 修改时间
  4661. type: string
  4662. outerdealmode:
  4663. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  4664. type: integer
  4665. outergroupcode:
  4666. description: 外部商品组代码[通道交易]
  4667. type: string
  4668. quoteminunit:
  4669. description: 行情最小变动单位 [整数,报价小数位一起使用]
  4670. type: integer
  4671. quotesourcegroupid:
  4672. description: 所属行情源分组ID[参考行情市场用\通道交易]
  4673. type: integer
  4674. syncgoodsqty:
  4675. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  4676. type: integer
  4677. required:
  4678. - areauserid
  4679. type: object
  4680. models.Ermcp3HedgePlan:
  4681. properties:
  4682. accountid:
  4683. description: 资金账号
  4684. type: integer
  4685. areauserid:
  4686. description: 用户ID
  4687. type: integer
  4688. auditid:
  4689. description: 审核id
  4690. type: integer
  4691. auditname:
  4692. description: 审核人名称
  4693. type: string
  4694. auditremark:
  4695. description: 审核备注
  4696. type: string
  4697. auditsrc:
  4698. description: 审核来源 1-管理端 2-终端
  4699. type: integer
  4700. audittime:
  4701. description: 审核时间
  4702. type: string
  4703. contracttype:
  4704. description: 计划类型 - 1:采购 -1:销售
  4705. type: integer
  4706. convertfactor:
  4707. description: 标仓系数
  4708. type: number
  4709. createtime:
  4710. description: 创建时间
  4711. type: string
  4712. currencyid:
  4713. description: 币种id
  4714. type: integer
  4715. currencyname:
  4716. description: 币种名称
  4717. type: string
  4718. deliverygoodscode:
  4719. description: 现货品种代码
  4720. type: string
  4721. deliverygoodsid:
  4722. description: 现货品种ID
  4723. type: integer
  4724. deliverygoodsname:
  4725. description: 现货品种名称
  4726. type: string
  4727. enumdicname:
  4728. description: 单位名称(现货商品)
  4729. type: string
  4730. hedgeplanid:
  4731. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  4732. type: string
  4733. hedgeplanno:
  4734. description: 套保计划编号(名称)
  4735. type: string
  4736. hedgeplanstatus:
  4737. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4738. type: integer
  4739. planqty:
  4740. description: 计划数量
  4741. type: number
  4742. plantime:
  4743. description: 计划时间
  4744. type: string
  4745. producttype:
  4746. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4747. type: integer
  4748. remark:
  4749. description: 备注
  4750. type: string
  4751. spotgoodsdesc:
  4752. description: 商品型号
  4753. type: string
  4754. taaccountname:
  4755. description: 资金账号名称
  4756. type: string
  4757. tradeuserid:
  4758. description: 交易用户id
  4759. type: integer
  4760. tradeusername:
  4761. description: 交易用户名称
  4762. type: string
  4763. unitid:
  4764. description: 单位id(现货商品)
  4765. type: integer
  4766. updatetime:
  4767. description: 更新时间
  4768. type: string
  4769. wrstandardcode:
  4770. description: 品类代码
  4771. type: string
  4772. wrstandardid:
  4773. description: 品类id
  4774. type: integer
  4775. wrstandardname:
  4776. description: 品类名称
  4777. type: string
  4778. wrunitid:
  4779. description: 品类单位id
  4780. type: integer
  4781. wrunitidame:
  4782. description: 品类单位名称
  4783. type: string
  4784. type: object
  4785. models.Ermcp3PaAreaAuditCfg:
  4786. properties:
  4787. areauserid:
  4788. description: 用户ID
  4789. type: integer
  4790. buyinauditflag:
  4791. description: 采购入库是否需要审核 - 0:不需审核 1:需要审核
  4792. type: integer
  4793. customerauditflag:
  4794. description: 客户资料是否需要审核 - 0:不需审核 1:需要审核
  4795. type: integer
  4796. deliveryauditflag:
  4797. description: 交收是否需要审核 - 0:不需审核 1:需要审核
  4798. type: integer
  4799. invoiceauditflag:
  4800. description: 发票是否需要审核 - 0:不需审核 1:需要审核
  4801. type: integer
  4802. moneyauditflag:
  4803. description: 款项是否需要审核 - 0:不需审核 1:需要审核
  4804. type: integer
  4805. operatorid:
  4806. description: 操作人
  4807. type: integer
  4808. operatorsrc:
  4809. description: 操作来源 - 1:管理端 2:终端
  4810. type: integer
  4811. pointpriceauditflag:
  4812. description: 点价是否需要审核 - 0:不需审核 1:需要审核
  4813. type: integer
  4814. produceinauditflag:
  4815. description: 生产入库是否需要审核 - 0:不需审核 1:需要审核
  4816. type: integer
  4817. produceoutauditflag:
  4818. description: 生产出库是否需要审核 - 0:不需审核 1:需要审核
  4819. type: integer
  4820. selloutauditflag:
  4821. description: 销售出库是否需要审核 - 0:不需审核 1:需要审核
  4822. type: integer
  4823. spotcontractauditflag:
  4824. description: 现货合同是否需要审核 - 0:不需审核 1:需要审核
  4825. type: integer
  4826. updatetime:
  4827. description: 更新时间
  4828. type: string
  4829. type: object
  4830. models.Ermcp3PaAreaSubject:
  4831. properties:
  4832. areauserid:
  4833. description: 所属机构
  4834. type: integer
  4835. canmodify:
  4836. description: 是否可修改 - 0:否 1:是
  4837. type: integer
  4838. createtime:
  4839. description: 创建时间
  4840. type: string
  4841. creatorid:
  4842. description: 创建人ID
  4843. type: string
  4844. creatorsrc:
  4845. description: 创建人来源 - 1:管理端 2:终端 3:交易
  4846. type: integer
  4847. modifierid:
  4848. description: 修改人
  4849. type: string
  4850. modifiersrc:
  4851. description: 修改人来源 - 1:管理端 2:终端
  4852. type: integer
  4853. modifytime:
  4854. description: 修改时间
  4855. type: string
  4856. parentsubjectid:
  4857. description: 上级主体ID
  4858. type: string
  4859. remark:
  4860. description: 备注
  4861. type: string
  4862. subjectid:
  4863. description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  4864. type: integer
  4865. subjectname:
  4866. description: 主体名称
  4867. type: string
  4868. subjectstatus:
  4869. description: '主体状态 - 1:正常 2: 停用'
  4870. type: integer
  4871. subjecttype:
  4872. description: 主体类型 - 1:交易主体 2:业务部门
  4873. type: integer
  4874. type: object
  4875. models.Ermcp3RootUserAccount:
  4876. properties:
  4877. accountname:
  4878. description: 账户名称(机构名称)
  4879. type: string
  4880. accountstatus:
  4881. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  4882. type: integer
  4883. applysrc:
  4884. description: 申请来源 - 1:管理端 2:终端
  4885. type: integer
  4886. auditremark:
  4887. description: 审核备注
  4888. type: string
  4889. auditsrc:
  4890. description: 审核来源 - 1:管理端 2:终端
  4891. type: integer
  4892. audittime:
  4893. description: 审核时间
  4894. type: string
  4895. audituserid:
  4896. description: 审核人
  4897. type: integer
  4898. broker:
  4899. description: 所属经纪人ID
  4900. type: integer
  4901. canceltime:
  4902. description: 销户时间
  4903. type: string
  4904. canceluserid:
  4905. description: 销户人
  4906. type: integer
  4907. canrecommend:
  4908. description: 是否可推荐 - 0:不可 1;可
  4909. type: integer
  4910. createtime:
  4911. description: 创建时间
  4912. type: string
  4913. creatorid:
  4914. description: 创建人
  4915. type: integer
  4916. hasauth:
  4917. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  4918. type: integer
  4919. isanonymous:
  4920. description: 是否匿名下单 - 0:否 1:是
  4921. type: integer
  4922. maxinvestornum:
  4923. description: 最大用户数(经纪会员下投资者个数)
  4924. type: integer
  4925. memberuserid:
  4926. description: 所属会员ID
  4927. type: integer
  4928. modifierid:
  4929. description: 修改人
  4930. type: integer
  4931. modifyremark:
  4932. description: 变更备注
  4933. type: string
  4934. modifystatus:
  4935. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  4936. type: integer
  4937. modifytime:
  4938. description: 修改时间
  4939. type: string
  4940. parenttopuser:
  4941. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  4942. type: string
  4943. parentuserid:
  4944. description: 所属机构ID
  4945. type: integer
  4946. reckonaccountid:
  4947. description: 默认结算资金账号ID(机构分润使用) 作废
  4948. type: integer
  4949. refercount:
  4950. description: 推荐总人数
  4951. type: integer
  4952. refereeuserid:
  4953. description: 推荐人ID
  4954. type: integer
  4955. refernum:
  4956. description: 推荐码
  4957. type: string
  4958. rootuserid:
  4959. description: 根用户ID
  4960. type: integer
  4961. subaccountlevel:
  4962. description: 子账户层数
  4963. type: integer
  4964. subarealevelpath:
  4965. description: 子机构层级路径(逗号分隔,首尾加逗号)
  4966. type: string
  4967. userid:
  4968. description: 用户ID
  4969. type: integer
  4970. usertype:
  4971. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  4972. type: integer
  4973. type: object
  4974. models.Ermcp3SellBuyContract:
  4975. properties:
  4976. accountid:
  4977. description: 期货账户id
  4978. type: string
  4979. accountname:
  4980. description: 账户名称
  4981. type: string
  4982. attachment:
  4983. description: 附件
  4984. type: string
  4985. audittime:
  4986. description: 审核时间
  4987. type: string
  4988. biztype:
  4989. description: 业务类型 1-套保 2-套利
  4990. type: integer
  4991. brandname:
  4992. description: 品牌名称
  4993. type: string
  4994. contracctstatus:
  4995. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4996. type: integer
  4997. contractmargin:
  4998. description: 合同保证金
  4999. type: number
  5000. contractno:
  5001. description: 合同编号
  5002. type: string
  5003. contracttype:
  5004. description: 合同类型 1-采购, -1-销售
  5005. type: integer
  5006. convertfactor:
  5007. description: 标仓系数(品类)
  5008. type: number
  5009. createtime:
  5010. description: 创建时间
  5011. type: string
  5012. currencyid:
  5013. description: 币种id
  5014. type: integer
  5015. currencyname:
  5016. description: 币种名称
  5017. type: string
  5018. daikaiamount:
  5019. description: 应收(开)票额
  5020. type: number
  5021. deliveryenddate:
  5022. description: 交割结束日
  5023. type: string
  5024. deliverygoodscode:
  5025. description: 现货品种代码
  5026. type: string
  5027. deliverygoodsid:
  5028. description: 现货商品ID
  5029. type: integer
  5030. deliverygoodsname:
  5031. description: 现货品种名称
  5032. type: string
  5033. deliverystartdate:
  5034. description: 交割开始日
  5035. type: string
  5036. enddate:
  5037. description: 点价结束日
  5038. type: string
  5039. enumdicname:
  5040. description: 单位名称
  5041. type: string
  5042. goodscode:
  5043. description: 点价商品代码
  5044. type: string
  5045. goodsid:
  5046. description: 点价商品ID
  5047. type: integer
  5048. goodsname:
  5049. description: 点价商品名称
  5050. type: string
  5051. invoiceamount:
  5052. description: 已开票额
  5053. type: number
  5054. loanamount:
  5055. description: 贷款总额=已定价额+调整金额
  5056. type: number
  5057. margin:
  5058. description: 保证金
  5059. type: number
  5060. meruserid:
  5061. description: 跟单员id
  5062. type: integer
  5063. meruserlogincode:
  5064. description: 跟单员登录代码
  5065. type: string
  5066. merusername:
  5067. description: 跟单员名称
  5068. type: string
  5069. nickname:
  5070. description: 账户昵称
  5071. type: string
  5072. payamount:
  5073. description: 已收付额(收款或付款)
  5074. type: number
  5075. preinvoiceamount:
  5076. description: 预收(开)票额
  5077. type: number
  5078. prepayamount:
  5079. description: 预收付额
  5080. type: number
  5081. price:
  5082. description: 价格
  5083. type: number
  5084. pricedamount:
  5085. description: 已定价额
  5086. type: number
  5087. pricedavg:
  5088. description: 已点均价
  5089. type: number
  5090. pricedqty:
  5091. description: 已定价量
  5092. type: number
  5093. pricemove:
  5094. description: 升贴水
  5095. type: number
  5096. pricetype:
  5097. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5098. type: integer
  5099. producttype:
  5100. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5101. type: integer
  5102. qty:
  5103. description: 合同量
  5104. type: number
  5105. reckonadjustamount:
  5106. description: 调整金额
  5107. type: number
  5108. reckonedamount:
  5109. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  5110. type: number
  5111. reckonotheramount:
  5112. description: 其它费用
  5113. type: number
  5114. reckonrealqty:
  5115. description: 已确定量
  5116. type: number
  5117. remark:
  5118. description: 备注
  5119. type: string
  5120. saleuserid:
  5121. description: 业务员id
  5122. type: integer
  5123. saleuserlogincode:
  5124. description: 业务员登录代码
  5125. type: string
  5126. saleusername:
  5127. description: 业务员名称
  5128. type: string
  5129. spotcontractid:
  5130. description: 合同ID
  5131. type: string
  5132. spotgoodsbrandid:
  5133. description: 现货品牌ID(DGFactoryItem表的ID)
  5134. type: integer
  5135. spotgoodsdesc:
  5136. description: 商品型号(商品规格)
  5137. type: string
  5138. startdate:
  5139. description: 点价开始日
  5140. type: string
  5141. totalamount:
  5142. description: 合计总额
  5143. type: number
  5144. tradeuserid:
  5145. description: 交易员id
  5146. type: integer
  5147. tradeuserlogincode:
  5148. description: 交易员登录代码
  5149. type: string
  5150. tradeusername:
  5151. description: 交易员名称
  5152. type: string
  5153. unpayamount:
  5154. description: 应收付款额(应支付或应收款)
  5155. type: number
  5156. unpricedqty:
  5157. description: 未定价量
  5158. type: number
  5159. unsureqty:
  5160. description: 未确定量
  5161. type: number
  5162. userid:
  5163. description: 机构ID
  5164. type: integer
  5165. wrstandardcode:
  5166. description: 品类代码
  5167. type: string
  5168. wrstandardid:
  5169. description: 品类ID
  5170. type: integer
  5171. wrstandardname:
  5172. description: 品类名称
  5173. type: string
  5174. type: object
  5175. models.Ermcp3SpotGoodsPrice:
  5176. properties:
  5177. areauserid:
  5178. description: 所属机构id
  5179. type: integer
  5180. brandname:
  5181. description: 品牌名称
  5182. type: string
  5183. currencyid:
  5184. description: 报价货币ID
  5185. type: integer
  5186. currencyname:
  5187. description: 币种名称
  5188. type: string
  5189. deliverygoodscode:
  5190. description: 现货商品代码
  5191. type: string
  5192. deliverygoodsid:
  5193. description: 现货商品id
  5194. type: integer
  5195. deliverygoodsname:
  5196. description: 现货商品名称
  5197. type: string
  5198. enumdicname:
  5199. description: 现货商品单位名称
  5200. type: string
  5201. gbenumdicname:
  5202. description: 品类单位名称
  5203. type: string
  5204. gmunitid:
  5205. description: 品类单位id
  5206. type: integer
  5207. isvalid:
  5208. description: 是否有效 - 0:无效 1:有效
  5209. type: integer
  5210. operateid:
  5211. description: 最后操作人
  5212. type: integer
  5213. operatesrc:
  5214. description: 最后操作来源 - 1:管理端 2:终端
  5215. type: integer
  5216. operatetime:
  5217. description: 最后操作时间
  5218. type: string
  5219. operatorname:
  5220. description: 操作人名称
  5221. type: string
  5222. spotgoodsbrandid:
  5223. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  5224. type: integer
  5225. spotgoodsprice:
  5226. description: 现货价格
  5227. type: number
  5228. tradedate:
  5229. description: 交易日(yyyyMMdd)
  5230. type: string
  5231. unitid:
  5232. description: 现货商品单位id
  5233. type: integer
  5234. wrstandardcode:
  5235. description: 品类代码
  5236. type: string
  5237. wrstandardid:
  5238. description: 现货品类ID(通用则为0)
  5239. type: integer
  5240. wrstandardname:
  5241. description: 品类名称
  5242. type: string
  5243. type: object
  5244. models.Ermcp3SpotGoodsPriceLog:
  5245. properties:
  5246. areauserid:
  5247. description: 所属机构id
  5248. type: integer
  5249. brandname:
  5250. description: 品牌名称
  5251. type: string
  5252. currencyid:
  5253. description: 报价货币ID
  5254. type: integer
  5255. deliverygoodscode:
  5256. description: 现货商品代码
  5257. type: string
  5258. deliverygoodsid:
  5259. description: 现货商品id
  5260. type: integer
  5261. deliverygoodsname:
  5262. description: 现货商品名称
  5263. type: string
  5264. enumdicname:
  5265. description: 现货商品单位名称
  5266. type: string
  5267. gbenumdicname:
  5268. description: 品类单位名称
  5269. type: string
  5270. gmunitid:
  5271. description: 品类单位id
  5272. type: integer
  5273. logid:
  5274. description: 日志id
  5275. type: integer
  5276. operateid:
  5277. description: 最后操作人
  5278. type: integer
  5279. operatesrc:
  5280. description: 最后操作来源 - 1:管理端 2:终端
  5281. type: integer
  5282. operatetime:
  5283. description: 最后操作时间
  5284. type: string
  5285. operatorname:
  5286. description: 操作人名称
  5287. type: string
  5288. spotgoodsbrandid:
  5289. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  5290. type: integer
  5291. spotgoodsprice:
  5292. description: 现货价格
  5293. type: number
  5294. tradedate:
  5295. description: 交易日(yyyyMMdd)
  5296. type: string
  5297. unitid:
  5298. description: 现货商品单位id
  5299. type: integer
  5300. wrstandardcode:
  5301. description: 品类代码
  5302. type: string
  5303. wrstandardid:
  5304. description: 现货品类ID(通用则为0)
  5305. type: integer
  5306. wrstandardname:
  5307. description: 品类名称
  5308. type: string
  5309. type: object
  5310. models.Ermcp3TaFutuReDataReport:
  5311. properties:
  5312. accountid:
  5313. description: 交易账户
  5314. type: integer
  5315. accountname:
  5316. description: 交易账号名称
  5317. type: string
  5318. agreeunit:
  5319. description: 商品合约单位
  5320. type: number
  5321. begindate:
  5322. description: 开始交易日
  5323. type: string
  5324. buyorsell:
  5325. description: 持仓方向
  5326. type: integer
  5327. charge:
  5328. description: 手续费
  5329. type: number
  5330. closeavgprice:
  5331. description: 平仓均价
  5332. type: number
  5333. closepl:
  5334. description: 平仓损益
  5335. type: number
  5336. currencyid:
  5337. description: 结算币种ID
  5338. type: integer
  5339. currencyname:
  5340. description: 币种名称
  5341. type: string
  5342. cycletime:
  5343. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5344. type: string
  5345. cycletype:
  5346. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5347. type: integer
  5348. enddate:
  5349. description: 结束交易日
  5350. type: string
  5351. enumdicname:
  5352. description: 单位名称
  5353. type: string
  5354. floatpl:
  5355. description: 浮动损益
  5356. type: number
  5357. goodscode:
  5358. description: 交易合约代码
  5359. type: string
  5360. goodsgroupid:
  5361. description: 交易品种
  5362. type: integer
  5363. goodsgroupname:
  5364. description: 交易品种名称
  5365. type: string
  5366. goodsgroupspotqty:
  5367. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  5368. type: number
  5369. goodsid:
  5370. description: 交易合约
  5371. type: integer
  5372. goodsname:
  5373. description: 交易合约名称
  5374. type: string
  5375. goodunitid:
  5376. description: 交易合约单位id
  5377. type: integer
  5378. holdamount:
  5379. description: 期末持仓额
  5380. type: number
  5381. holdqty:
  5382. description: 期末持仓量
  5383. type: number
  5384. lastholdamount:
  5385. description: 当前持仓额
  5386. type: number
  5387. lastprice:
  5388. description: 最新价
  5389. type: number
  5390. middlegoodsid:
  5391. description: 套保品种id
  5392. type: integer
  5393. middlegoodsname:
  5394. description: 套保商品名称
  5395. type: string
  5396. middlegoodsqty:
  5397. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  5398. type: number
  5399. middlgoodscode:
  5400. description: 套保商品代码
  5401. type: string
  5402. openamount:
  5403. description: 期末开仓额
  5404. type: number
  5405. openavgprice:
  5406. description: 开仓均价
  5407. type: number
  5408. oriholdamount:
  5409. description: 期初持仓额
  5410. type: number
  5411. oriholdqty:
  5412. description: 期初持仓量
  5413. type: number
  5414. oriopenamount:
  5415. description: 期初开仓额
  5416. type: number
  5417. outergroupcode:
  5418. description: 交易品种代码
  5419. type: string
  5420. qtydecimalplace:
  5421. description: 成交量小数位
  5422. type: integer
  5423. reckondate:
  5424. description: 日照时期(yyyyMMdd)
  5425. type: string
  5426. reckonholdamount:
  5427. description: 结算持仓额
  5428. type: number
  5429. reckonpl:
  5430. description: 结算损益
  5431. type: number
  5432. reckonpl2:
  5433. description: 结算逐笔盈亏
  5434. type: number
  5435. reckonprice:
  5436. description: 结算价
  5437. type: number
  5438. relateduserid:
  5439. description: 账户关联用户ID
  5440. type: integer
  5441. todaycloseamount:
  5442. description: 今平仓额
  5443. type: number
  5444. todaycloseqty:
  5445. description: 今平仓量
  5446. type: number
  5447. todaygoodsgroupspotqty:
  5448. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  5449. type: number
  5450. todaymiddlegoodsqty:
  5451. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  5452. type: number
  5453. todayopenamount:
  5454. description: 今开仓额
  5455. type: number
  5456. todayopenqty:
  5457. description: 今开仓量
  5458. type: number
  5459. userid:
  5460. description: 账户所属用户ID
  5461. type: integer
  5462. type: object
  5463. models.Ermcp3Wrstandard:
  5464. properties:
  5465. areauserid:
  5466. description: 所属机构
  5467. type: integer
  5468. cantrade:
  5469. description: 是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)
  5470. type: integer
  5471. convertfactor:
  5472. description: 标仓系数
  5473. type: number
  5474. createtime:
  5475. description: 创建时间
  5476. type: string
  5477. creatorid:
  5478. description: 创建人
  5479. type: integer
  5480. deliverygoodsid:
  5481. description: 现货品种ID
  5482. type: integer
  5483. enumdicname:
  5484. description: 品类单位名称
  5485. type: string
  5486. isvalid:
  5487. description: 是否有效 0-无效(停用) 1-有效(正常)
  5488. type: integer
  5489. minivalue:
  5490. description: 最小变动值
  5491. type: integer
  5492. minivaluedp:
  5493. description: 最小变动值小数位
  5494. type: integer
  5495. realminivalue:
  5496. description: 实际最小变动值
  5497. type: integer
  5498. realminivaluedp:
  5499. description: 实际最小变动值小数位
  5500. type: integer
  5501. remark:
  5502. description: 备注
  5503. type: string
  5504. unitid:
  5505. description: 品类单位ID
  5506. type: integer
  5507. updatetime:
  5508. description: 更新时间
  5509. type: string
  5510. wrstandardcode:
  5511. description: 品类代码
  5512. type: string
  5513. wrstandardid:
  5514. description: 品类ID(SEQ_WRSTANDARD)
  5515. type: integer
  5516. wrstandardname:
  5517. description: 品类名称
  5518. type: string
  5519. type: object
  5520. models.ErmcpAreaSpotDetailModel:
  5521. properties:
  5522. contracttype:
  5523. description: 合同类型 1-采购 -1-销售
  5524. type: integer
  5525. createtime:
  5526. description: 创建时间
  5527. type: string
  5528. enumdicname:
  5529. description: 现货商品单位名称
  5530. type: string
  5531. logtype:
  5532. description: 记录类型 1-套保 2-现货合同
  5533. type: integer
  5534. qty:
  5535. description: 数量
  5536. type: number
  5537. recordname:
  5538. description: 类型名称
  5539. type: string
  5540. relatedid:
  5541. description: 套保计划ID/现货合同ID
  5542. type: string
  5543. relatedno:
  5544. description: 编号
  5545. type: string
  5546. strtime:
  5547. description: 时间
  5548. type: string
  5549. wrstandardcode:
  5550. description: 现货商品代码
  5551. type: string
  5552. wrstandardname:
  5553. description: 现货商品名称
  5554. type: string
  5555. type: object
  5556. models.ErmcpAvalidGoodsGroupModel:
  5557. properties:
  5558. goodsgroupid:
  5559. description: 期货品种id
  5560. type: integer
  5561. goodsgroupname:
  5562. description: 期货品种名称
  5563. type: string
  5564. goodunitid:
  5565. description: 品种单位id
  5566. type: integer
  5567. goodunitname:
  5568. description: 品种单位名称
  5569. type: string
  5570. outergroupcode:
  5571. description: 期货品种代码
  5572. type: string
  5573. type: object
  5574. models.ErmcpBizGroupEx:
  5575. properties:
  5576. acclist:
  5577. description: 账号列表
  5578. items:
  5579. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  5580. type: array
  5581. bizgroupid:
  5582. description: 业务分组id
  5583. type: integer
  5584. biztype:
  5585. description: 业务类型 1-套保 2-套利
  5586. type: integer
  5587. wrlist:
  5588. description: 现货商品表
  5589. items:
  5590. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  5591. type: array
  5592. type: object
  5593. models.ErmcpBizGroupSpotGoods:
  5594. properties:
  5595. areauserid:
  5596. description: 所属机构id
  5597. type: integer
  5598. bizgroupid:
  5599. description: 分组id
  5600. type: integer
  5601. biztype:
  5602. description: 业务类型 1-套保 2-套利
  5603. type: integer
  5604. deliverygoodscode:
  5605. description: 现货商品代码
  5606. type: string
  5607. deliverygoodsid:
  5608. description: 现货商品id
  5609. type: integer
  5610. deliverygoodsname:
  5611. description: 现货商品名称
  5612. type: string
  5613. unitid:
  5614. description: 现货商品单位id
  5615. type: integer
  5616. type: object
  5617. models.ErmcpBizGroupTaAccount:
  5618. properties:
  5619. accountid:
  5620. description: 账号id
  5621. type: integer
  5622. accountname:
  5623. description: 账号名称
  5624. type: string
  5625. areauserid:
  5626. description: 所属机构id
  5627. type: integer
  5628. bizgroupid:
  5629. description: 业务分组id
  5630. type: integer
  5631. ismain:
  5632. description: 是否主账号 1-是 0-否
  5633. type: integer
  5634. type: object
  5635. models.ErmcpDGFactoryItem:
  5636. properties:
  5637. areauserid:
  5638. description: 用户id
  5639. type: integer
  5640. deliverygoodsid:
  5641. description: 现货品种ID
  5642. type: integer
  5643. dgfactoryitemid:
  5644. description: 选择项ID(SEQ_DGFACTORYITEM)
  5645. type: integer
  5646. dgfactoryitemtypeid:
  5647. description: 要素项类型
  5648. type: integer
  5649. dgfactoryitemvalue:
  5650. description: 要素项值(类型为仓库时填写仓库名称)
  5651. type: string
  5652. isvalid:
  5653. description: 是否有效 - 0:无效 1:有效
  5654. type: integer
  5655. orderindex:
  5656. description: 顺序
  5657. type: integer
  5658. warehouseid:
  5659. description: 仓库ID(类型为仓库时填写)
  5660. type: integer
  5661. type: object
  5662. models.ErmcpDeliveryGoods:
  5663. properties:
  5664. agreeunit:
  5665. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  5666. type: integer
  5667. areauserid:
  5668. description: 所属机构
  5669. type: integer
  5670. auditflag:
  5671. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  5672. type: integer
  5673. categoryid:
  5674. description: 类别ID(SEQ_WRCATEGORY)
  5675. type: integer
  5676. deliverygoodscode:
  5677. description: 现货品种代码
  5678. type: string
  5679. deliverygoodsid:
  5680. description: 现货品种ID(SEQ_DELIVERYGOODS)
  5681. type: integer
  5682. deliverygoodsname:
  5683. description: 现货品种名称
  5684. type: string
  5685. deliverygoodstype:
  5686. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  5687. type: integer
  5688. dgstatus:
  5689. description: 品种状态 - 作废 - 0:未激活 1:正常
  5690. type: integer
  5691. enumdicname:
  5692. description: 现货品种单位名称
  5693. type: string
  5694. goodsunitid:
  5695. description: 现货品种单位ID
  5696. type: integer
  5697. isvalid:
  5698. description: 是否有效 - 0:无效 1:有效
  5699. type: integer
  5700. qtydecimalplace:
  5701. description: 成交量小数位
  5702. type: integer
  5703. remark:
  5704. description: 备注
  5705. type: string
  5706. standardqty:
  5707. description: 标准数量(库位数量) [标准品特有]
  5708. type: integer
  5709. standardqtyrange:
  5710. description: 标准数量偏差范围 [标准品特有]
  5711. type: integer
  5712. type: object
  5713. models.ErmcpExposureDetailModel:
  5714. properties:
  5715. areauserid:
  5716. description: 机构ID
  5717. type: integer
  5718. changeQty:
  5719. description: 套保变动量
  5720. type: number
  5721. contracttype:
  5722. description: 现货合同类型 - 1:采购 -1:销售
  5723. type: integer
  5724. convertfactor:
  5725. description: 标仓系数
  5726. type: number
  5727. convertratio:
  5728. description: 套保系数
  5729. type: number
  5730. createtime:
  5731. description: 时间
  5732. type: string
  5733. enumdicname:
  5734. description: 现货商品单位名称
  5735. type: string
  5736. logtype:
  5737. description: 类型 - 1:套保计划 2:现货合同
  5738. type: integer
  5739. middlegoodsId:
  5740. description: 套保商品id
  5741. type: integer
  5742. middlegoodscode:
  5743. description: 套保商品代码
  5744. type: string
  5745. middlegoodsname:
  5746. description: 套保商品名称
  5747. type: string
  5748. qty:
  5749. description: 数量
  5750. type: number
  5751. relateNo:
  5752. description: 现货合同/套保计划编号
  5753. type: string
  5754. wrstandardcode:
  5755. description: 现货商品代码
  5756. type: string
  5757. wrstandardid:
  5758. description: 现货商品ID
  5759. type: integer
  5760. wrstandardname:
  5761. description: 现货商品名称
  5762. type: string
  5763. type: object
  5764. models.ErmcpExposurePostion:
  5765. properties:
  5766. agreeunit:
  5767. description: 合约单位
  5768. type: string
  5769. areauserid:
  5770. description: 所属机构id
  5771. type: integer
  5772. convertratio:
  5773. description: 期货品种系数(折算系数)
  5774. type: number
  5775. curqty:
  5776. description: 当前持仓
  5777. type: integer
  5778. diffhedgeqty:
  5779. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  5780. type: number
  5781. diffqty:
  5782. description: 持仓变动量=当前持仓-昨日持仓
  5783. type: integer
  5784. goodscode:
  5785. description: 商品代码
  5786. type: string
  5787. goodsid:
  5788. description: 商品id
  5789. type: integer
  5790. goodsname:
  5791. description: 商品名称
  5792. type: string
  5793. middlegoodsid:
  5794. description: 套保商品id
  5795. type: integer
  5796. ydqty:
  5797. description: 昨日持仓
  5798. type: integer
  5799. type: object
  5800. models.ErmcpFuturesCompany:
  5801. properties:
  5802. brokerid:
  5803. description: 经纪公司代码
  5804. type: string
  5805. channeladdress:
  5806. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  5807. type: string
  5808. channelid:
  5809. description: 对冲渠道ID
  5810. type: string
  5811. createtime:
  5812. description: 创建时间
  5813. type: string
  5814. creatorid:
  5815. description: 创建人
  5816. type: string
  5817. fcid:
  5818. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  5819. type: integer
  5820. fcname:
  5821. description: 期货公司名称
  5822. type: string
  5823. isvalid:
  5824. description: 是否有效 - 0:无效 1:有效
  5825. type: integer
  5826. mhpaddress:
  5827. description: MHP服务地址(IP:Port)
  5828. type: string
  5829. riskrulegroupid:
  5830. description: 风控规则组ID
  5831. type: string
  5832. tradefeetmpid:
  5833. description: 手续费模板ID[TradeConfigTmpType为2]
  5834. type: string
  5835. trademargintmpid:
  5836. description: 保证金模板ID [TradeConfigTmpType为1]
  5837. type: string
  5838. traderatetmpid:
  5839. description: 汇率模板ID[TradeConfigTmpType为3]
  5840. type: string
  5841. updatetime:
  5842. description: 更新时间
  5843. type: string
  5844. updatorid:
  5845. description: 更新人
  5846. type: string
  5847. type: object
  5848. models.ErmcpGGConvertCfg:
  5849. properties:
  5850. convertratio:
  5851. description: 折算系数
  5852. type: number
  5853. destgoodsgroupid:
  5854. description: 目标品种ID
  5855. type: integer
  5856. dstcode:
  5857. description: 目录品种代码
  5858. type: string
  5859. dstexchangecode:
  5860. description: 目标期货交易所
  5861. type: string
  5862. dstname:
  5863. description: 目标品种名称
  5864. type: string
  5865. dstunitid:
  5866. description: 目标品种单位ID
  5867. type: integer
  5868. dstunitidname:
  5869. description: 目标品种单位名称
  5870. type: string
  5871. modifytime:
  5872. description: 修改时间
  5873. type: string
  5874. srccode:
  5875. description: 源品种代码
  5876. type: string
  5877. srcexchangecode:
  5878. description: 源期货交易所
  5879. type: string
  5880. srcgoodsgroupid:
  5881. description: 源品种ID
  5882. type: integer
  5883. srcname:
  5884. description: 源品种名称
  5885. type: string
  5886. srcunitid:
  5887. description: 源品种单位ID
  5888. type: integer
  5889. srcunitidname:
  5890. description: 源品种单位名称
  5891. type: string
  5892. type: object
  5893. models.ErmcpGoods:
  5894. properties:
  5895. agreeunit:
  5896. description: 合约单位
  5897. type: number
  5898. areauserid:
  5899. description: 所属机构
  5900. type: integer
  5901. auditaccountid:
  5902. description: 审核操作员账号
  5903. type: integer
  5904. audittime:
  5905. description: 审核时间
  5906. type: string
  5907. cancelaccountid:
  5908. description: 注销操作员账号
  5909. type: integer
  5910. canceltime:
  5911. description: 注销时间
  5912. type: string
  5913. closepricemode:
  5914. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  5915. type: integer
  5916. closepriceparam:
  5917. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  5918. type: number
  5919. createtime:
  5920. description: 创建时间
  5921. type: string
  5922. creatorid:
  5923. description: 创建人
  5924. type: integer
  5925. currencyid:
  5926. description: 报价货币ID
  5927. type: integer
  5928. cutmode:
  5929. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  5930. type: integer
  5931. decimalplace:
  5932. description: 报价小数位
  5933. type: integer
  5934. delistingdate:
  5935. description: 商品退市时间(状态:退市) -- 已作废
  5936. type: string
  5937. delistingmode:
  5938. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  5939. type: integer
  5940. deliveryflag:
  5941. description: 交割标志 - 0:不可交割 1:可交割
  5942. type: integer
  5943. enumdicname:
  5944. description: 单位名称
  5945. type: string
  5946. forceclosemode:
  5947. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  5948. type: integer
  5949. forceclosevalue:
  5950. description: 定期强平参数 [收益权]
  5951. type: integer
  5952. goodscode:
  5953. description: 商品代码(内部)
  5954. type: string
  5955. goodscurrencyid:
  5956. description: 合约货币ID
  5957. type: integer
  5958. goodsgroupid:
  5959. description: 所属商品组ID
  5960. type: integer
  5961. goodsid:
  5962. description: 商品ID(自增ID SEQ_GOODS)
  5963. type: integer
  5964. goodsname:
  5965. description: 商品名称
  5966. type: string
  5967. goodsquotetype:
  5968. description: '合约报价类型: 1-直接报价 2-间接报价'
  5969. type: integer
  5970. goodsstatus:
  5971. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  5972. type: integer
  5973. goodstradetype:
  5974. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  5975. type: integer
  5976. goodunitid:
  5977. description: 报价单位ID
  5978. type: integer
  5979. hasquoter:
  5980. description: 是否有报价商 - 0:无报价商 1:有报价商
  5981. type: integer
  5982. hqprotecttime:
  5983. description: 行情保护时间(秒)
  5984. type: integer
  5985. innerdealmode:
  5986. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  5987. type: integer
  5988. isbuylimited:
  5989. description: 是否限制建仓量 - 0:不限制 1:限制
  5990. type: integer
  5991. isvisible:
  5992. description: 游客是否可见 - 0:不可见 1:可见
  5993. type: integer
  5994. lasttradedate:
  5995. description: 最后交易日期(状态:待退市)
  5996. type: string
  5997. listingdate:
  5998. description: 交易开始日期
  5999. type: string
  6000. marketid:
  6001. description: 所属市场ID
  6002. type: integer
  6003. modifierid:
  6004. description: 修改人
  6005. type: integer
  6006. modifystatus:
  6007. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  6008. type: integer
  6009. modifytime:
  6010. description: 修改时间
  6011. type: string
  6012. outerdealmode:
  6013. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  6014. type: integer
  6015. outgoodscode:
  6016. description: 商品代码(外部)
  6017. type: string
  6018. pictureurl:
  6019. description: 商品图片
  6020. type: string
  6021. qtydecimalplace:
  6022. description: 成交量小数位
  6023. type: integer
  6024. quotegear:
  6025. description: 行情档位(1-10)
  6026. type: integer
  6027. quoteminunit:
  6028. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6029. type: integer
  6030. quoteshowtype:
  6031. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  6032. type: integer
  6033. quoteshowtypeinterval:
  6034. description: 行情报价间隔时间(秒)(成交价时为0)
  6035. type: integer
  6036. relatedgoodsid:
  6037. description: 关联参考商品ID
  6038. type: integer
  6039. remark:
  6040. description: 备注
  6041. type: string
  6042. trademode:
  6043. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6044. 21:竞拍-大宗式 22:受托竞价
  6045. type: integer
  6046. required:
  6047. - goodscode
  6048. - goodsid
  6049. - goodsname
  6050. - marketid
  6051. type: object
  6052. models.ErmcpGoodsBrand:
  6053. properties:
  6054. areauserid:
  6055. description: 所属机构
  6056. type: integer
  6057. brandid:
  6058. description: BrandID(SEQ_SPOTGOODSBRAND)
  6059. type: integer
  6060. brandname:
  6061. description: 品牌名称
  6062. type: string
  6063. createtime:
  6064. description: 创建时间
  6065. type: string
  6066. creatorid:
  6067. description: 创建人
  6068. type: integer
  6069. creatorsrc:
  6070. description: 创建人来源 - 1:管理端 2:终端
  6071. type: integer
  6072. deliverygoodsid:
  6073. description: 现货品种ID
  6074. type: integer
  6075. isvalid:
  6076. description: 是否有效 - 0:无效 1:有效
  6077. type: integer
  6078. updatetime:
  6079. description: 更新时间
  6080. type: string
  6081. updatorid:
  6082. description: 更新人
  6083. type: integer
  6084. updatorsrc:
  6085. description: 更新人来源 - 1:管理端 2:终端
  6086. type: integer
  6087. wrstandardid:
  6088. description: 现货商品ID
  6089. type: integer
  6090. type: object
  6091. models.ErmcpGoodsModel:
  6092. properties:
  6093. areauserid:
  6094. description: 所属机构
  6095. type: integer
  6096. convertfactor:
  6097. description: 标仓系数
  6098. type: number
  6099. createtime:
  6100. description: 创建时间
  6101. type: string
  6102. creatorid:
  6103. description: 创建人
  6104. type: integer
  6105. creatorsrc:
  6106. description: 创建人来源 - 1:管理端 2:终端
  6107. type: integer
  6108. deliverygoodsid:
  6109. description: 现货品种ID
  6110. type: integer
  6111. isvalid:
  6112. description: 是否有效 - 0:无效 1:有效
  6113. type: integer
  6114. modelid:
  6115. description: ModelID(SEQ_SPOTGOODSMODEL)
  6116. type: integer
  6117. modelname:
  6118. description: 型号名称
  6119. type: string
  6120. updatetime:
  6121. description: 更新时间
  6122. type: string
  6123. updatorid:
  6124. description: 更新人
  6125. type: integer
  6126. updatorsrc:
  6127. description: 更新人来源 - 1:管理端 2:终端
  6128. type: integer
  6129. wrstandardid:
  6130. description: 现货商品ID
  6131. type: integer
  6132. type: object
  6133. models.ErmcpHedgePosition:
  6134. properties:
  6135. accountid:
  6136. description: 资金账号[外部母账户]
  6137. type: integer
  6138. curbuyposition:
  6139. description: 期末买头寸
  6140. type: integer
  6141. cursellposition:
  6142. description: 期末卖头寸
  6143. type: integer
  6144. curtdbuyposition:
  6145. description: 期末今日买头寸
  6146. type: integer
  6147. curtdsellposition:
  6148. description: 期末今日卖头寸
  6149. type: integer
  6150. curydbuyposition:
  6151. description: 期末上日买头寸
  6152. type: integer
  6153. curydsellposition:
  6154. description: 期末上日卖头寸
  6155. type: integer
  6156. decreaseqty:
  6157. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  6158. type: integer
  6159. fretdbuyposition:
  6160. description: 冻结今日买头寸
  6161. type: integer
  6162. fretdsellposition:
  6163. description: 冻结今日卖头寸
  6164. type: integer
  6165. freydbuyposition:
  6166. description: 冻结上日买头寸
  6167. type: integer
  6168. freydsellposition:
  6169. description: 冻结上日卖头寸
  6170. type: integer
  6171. goodscode:
  6172. description: 商品代码
  6173. type: string
  6174. goodsid:
  6175. description: 商品id
  6176. type: integer
  6177. goodsname:
  6178. description: 商品名称
  6179. type: string
  6180. hedgeaccountcode:
  6181. description: 对冲账号
  6182. type: string
  6183. hedgegoodsid:
  6184. description: 对冲合约ID
  6185. type: integer
  6186. increaseqty:
  6187. description: 增加数量 = 期末买头寸 - 期初买头寸
  6188. type: integer
  6189. marketid:
  6190. description: 市场ID
  6191. type: integer
  6192. relateduserid:
  6193. description: 关联用户id
  6194. type: integer
  6195. totalcurqty:
  6196. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  6197. type: integer
  6198. totalydqty:
  6199. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  6200. type: integer
  6201. tradedate:
  6202. description: 交易日(yyyyMMdd)
  6203. type: string
  6204. ydbuyposition:
  6205. description: 期初买头寸
  6206. type: integer
  6207. ydsellposition:
  6208. description: 期初卖头寸
  6209. type: integer
  6210. type: object
  6211. models.ErmcpHedgePositionDetail:
  6212. properties:
  6213. buyorsell:
  6214. description: 买卖方向 0-买 1-卖
  6215. type: integer
  6216. channelbuildtype:
  6217. description: 开平方向 1-建仓 2-平仓
  6218. type: integer
  6219. goodscode:
  6220. description: 商品代码
  6221. type: string
  6222. goodsname:
  6223. description: 商品名称
  6224. type: string
  6225. hedgegoodsid:
  6226. description: 商品id
  6227. type: integer
  6228. tradeqty:
  6229. description: 数量(成交数量)
  6230. type: integer
  6231. tradetime:
  6232. description: 时间(成交时间)
  6233. type: string
  6234. type: object
  6235. models.ErmcpHisExposure:
  6236. properties:
  6237. needhedgeexposoure:
  6238. description: 应套保敞口
  6239. type: number
  6240. reckondate:
  6241. description: 日照时期(yyyyMMdd)
  6242. type: string
  6243. totalexposure:
  6244. description: 总敞口
  6245. type: number
  6246. type: object
  6247. models.ErmcpHisExposureS:
  6248. properties:
  6249. data:
  6250. description: 历史敞口
  6251. items:
  6252. $ref: '#/definitions/models.ErmcpHisExposure'
  6253. type: array
  6254. enumdicname:
  6255. description: 单位名称
  6256. type: string
  6257. middlegoodscode:
  6258. description: 套保品种代码
  6259. type: string
  6260. middlegoodsid:
  6261. description: 套保品种ID
  6262. type: integer
  6263. middlegoodsname:
  6264. description: 套保品种名称
  6265. type: string
  6266. type: object
  6267. models.ErmcpLoginTaAccount:
  6268. properties:
  6269. accountid:
  6270. description: 账号id
  6271. type: integer
  6272. accountname:
  6273. description: 账号名称
  6274. type: string
  6275. type: object
  6276. models.ErmcpLoginUser:
  6277. properties:
  6278. acclist:
  6279. description: 关联资金账号
  6280. items:
  6281. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  6282. type: array
  6283. accountname:
  6284. description: 用户名称
  6285. type: string
  6286. clientroleid:
  6287. description: 角色id(usertype=2)
  6288. type: integer
  6289. createtime:
  6290. description: 创建时间
  6291. type: string
  6292. logincode:
  6293. description: 登录代码
  6294. type: string
  6295. loginid:
  6296. description: 登录id(LOGINID)
  6297. type: integer
  6298. loginname:
  6299. description: 登录名称(loginaccount表中的accountname字段)
  6300. type: string
  6301. loginstatus:
  6302. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  6303. type: integer
  6304. memberuserid:
  6305. description: 所属会员id
  6306. type: integer
  6307. mobile:
  6308. description: 手机号
  6309. type: string
  6310. modifytime:
  6311. description: 修改时间
  6312. type: string
  6313. password:
  6314. description: 密码(不可解密)
  6315. type: string
  6316. rolename:
  6317. description: 角色名称
  6318. type: string
  6319. rolestatus:
  6320. description: 角色状态 1-启用 2-停用
  6321. type: integer
  6322. roletype:
  6323. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  6324. type: string
  6325. userid:
  6326. description: 用户id
  6327. type: integer
  6328. usertype:
  6329. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6330. type: integer
  6331. type: object
  6332. models.ErmcpLoginUserEx:
  6333. properties:
  6334. accountstatus:
  6335. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6336. type: integer
  6337. mobile:
  6338. description: 手机号
  6339. type: string
  6340. querytype:
  6341. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  6342. type: integer
  6343. roleid:
  6344. description: 角色id(交易账户->用户id)
  6345. type: integer
  6346. rolename:
  6347. description: 角色名称(交易账户->用户名称)
  6348. type: string
  6349. userlist:
  6350. description: 用户列表
  6351. items:
  6352. $ref: '#/definitions/models.ErmcpLoginUser'
  6353. type: array
  6354. usertype:
  6355. description: 用户类型 2-机构 7-企业成员(云平台)
  6356. type: integer
  6357. type: object
  6358. models.ErmcpMiddleGoodsChangeLog:
  6359. properties:
  6360. aftervalue:
  6361. description: 变更后
  6362. type: number
  6363. applyid:
  6364. description: 操作人
  6365. type: integer
  6366. applyname:
  6367. description: 操作人名称
  6368. type: string
  6369. applysrc:
  6370. description: 操作来源 - 1:管理端 2:终端
  6371. type: integer
  6372. beforevalue:
  6373. description: 变更前
  6374. type: number
  6375. changelogtype:
  6376. description: 变更流水类型 - 1:套保比率变更
  6377. type: integer
  6378. handlestatus:
  6379. description: 处理状态
  6380. type: integer
  6381. logdatetime:
  6382. description: 流水日期
  6383. type: string
  6384. logid:
  6385. description: 流水ID
  6386. type: integer
  6387. logremark:
  6388. description: 流水备注
  6389. type: string
  6390. middlegoodsid:
  6391. description: 套保品种ID
  6392. type: integer
  6393. tradedate:
  6394. description: 交易日(yyyyMMdd)
  6395. type: string
  6396. updatetime:
  6397. description: 更新时间
  6398. type: string
  6399. type: object
  6400. models.ErmcpMiddleGoodsDetail:
  6401. properties:
  6402. cvList:
  6403. description: 期货品种折算列表
  6404. items:
  6405. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  6406. type: array
  6407. mg:
  6408. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  6409. description: 套保品种基本信息
  6410. type: object
  6411. wrcList:
  6412. description: 现货品种列表(现货商品折算配置)
  6413. items:
  6414. $ref: '#/definitions/models.WRSConverTDetail'
  6415. type: array
  6416. type: object
  6417. models.ErmcpMiddleGoodsModel:
  6418. properties:
  6419. areauserid:
  6420. description: 机构用户ID
  6421. type: integer
  6422. createtime:
  6423. description: 修改时间
  6424. type: string
  6425. enumdicname:
  6426. description: 单位名称
  6427. type: string
  6428. evaluateratio:
  6429. description: 估价系数
  6430. type: number
  6431. goodsgroupid:
  6432. description: 关联期货品种ID
  6433. type: integer
  6434. goodsunitid:
  6435. description: 单位ID
  6436. type: integer
  6437. isvalid:
  6438. description: 状态 0-无效(停用) 1-有效(正常)
  6439. type: integer
  6440. middlegoodscode:
  6441. description: 套保品种代码
  6442. type: string
  6443. middlegoodsid:
  6444. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  6445. type: integer
  6446. middlegoodsname:
  6447. description: 套保品种名称
  6448. type: string
  6449. modifytime:
  6450. description: 修改时间
  6451. type: string
  6452. needarbitrageratio:
  6453. description: 套利比例
  6454. type: number
  6455. needhedgeratio:
  6456. description: 套保比率
  6457. type: number
  6458. qtydecimalplace:
  6459. description: 数量小数位
  6460. type: integer
  6461. relatedgoodsid:
  6462. description: 关联交易商品ID
  6463. type: integer
  6464. relatedgoodstype:
  6465. description: 关联商品类型 - 1:期货合约 2:现货品种
  6466. type: integer
  6467. remark:
  6468. description: 备注
  6469. type: string
  6470. type: object
  6471. models.ErmcpMiddlegoodsRelateGoods:
  6472. properties:
  6473. agreeunit:
  6474. description: 合约乘数
  6475. type: number
  6476. convertratio:
  6477. description: 折算系数
  6478. type: number
  6479. enumdicname:
  6480. description: 单位名称(交易商品)
  6481. type: string
  6482. goodscode:
  6483. description: 交易商品代码
  6484. type: string
  6485. goodsgroupid:
  6486. description: 交易品种id
  6487. type: integer
  6488. goodsid:
  6489. description: 商品Id
  6490. type: integer
  6491. goodsname:
  6492. description: 交易商品名称
  6493. type: string
  6494. goodunitid:
  6495. description: 交易商品单位id
  6496. type: integer
  6497. middlegoodsid:
  6498. description: 套保商品id
  6499. type: integer
  6500. middlegoodsname:
  6501. description: 套保商品名称
  6502. type: string
  6503. middlegoodsswcode:
  6504. description: 套保商品代码
  6505. type: string
  6506. needarbitrageratio:
  6507. description: 应套利比例
  6508. type: number
  6509. needhedgeratio:
  6510. description: 应套保比例
  6511. type: number
  6512. type: object
  6513. models.ErmcpOPLogModel:
  6514. properties:
  6515. aftervalue:
  6516. description: 变更后
  6517. type: number
  6518. applyid:
  6519. description: 操作人ID
  6520. type: string
  6521. applyname:
  6522. description: 操作人名称
  6523. type: string
  6524. beforevalue:
  6525. description: 变更前
  6526. type: number
  6527. biztype:
  6528. description: 业务类型 - 1:套保计划 2:现货合同
  6529. type: integer
  6530. contracttype:
  6531. description: 现货合同类型 - 1:采购 -1:销售
  6532. type: integer
  6533. logvalue:
  6534. description: 数值
  6535. type: number
  6536. operatelogtype:
  6537. description: 操作流水类型
  6538. type: integer
  6539. operatelogtypedesc:
  6540. description: 操作流水类型名称
  6541. type: string
  6542. relatedid:
  6543. description: 现货合同ID\套保计划
  6544. type: string
  6545. updatetime:
  6546. description: 更新时间
  6547. type: string
  6548. type: object
  6549. models.ErmcpPendingAudit:
  6550. properties:
  6551. areastockqty:
  6552. description: '待审核数量: 库存申请'
  6553. type: integer
  6554. businessdjqty:
  6555. description: '待审核数量: 点价'
  6556. type: integer
  6557. businessfpqty:
  6558. description: '待审核数量: 发票'
  6559. type: integer
  6560. businessjsqty:
  6561. description: '待审核数量: 结算'
  6562. type: integer
  6563. businesskxqty:
  6564. description: '待审核数量: 款项'
  6565. type: integer
  6566. hedgeplanqty:
  6567. description: '待审核数量: 套保计划'
  6568. type: integer
  6569. spotcontractqty:
  6570. description: '待审核数量: 现货合同'
  6571. type: integer
  6572. userqty:
  6573. description: '待审核数量: 用户'
  6574. type: integer
  6575. type: object
  6576. models.ErmcpRealExposureModel:
  6577. properties:
  6578. AreaUserID:
  6579. description: 所属机构
  6580. type: integer
  6581. BuyFutureQty:
  6582. description: 买入期货数量
  6583. type: number
  6584. BuyPlanQty:
  6585. description: 采购计划数量
  6586. type: number
  6587. BuyPricedQty:
  6588. description: 采购合同已定价数量
  6589. type: number
  6590. MiddleGoodsCode:
  6591. description: 套保品种代码
  6592. type: string
  6593. MiddleGoodsHedgeRatio:
  6594. description: 套保比例
  6595. type: number
  6596. MiddleGoodsID:
  6597. description: 套保品种
  6598. type: integer
  6599. MiddleGoodsName:
  6600. description: 套保品种名称
  6601. type: string
  6602. NeedHedgeExposoure:
  6603. description: 应套保敞口(套保敞口)
  6604. type: number
  6605. NeedHedgeRatio:
  6606. description: 应套保敞口比例
  6607. type: number
  6608. OriBuyFutureQty:
  6609. description: 期初买入期货数量
  6610. type: number
  6611. OriBuyPlanQty:
  6612. description: 期初采购计划数量
  6613. type: number
  6614. OriBuyPricedQty:
  6615. description: 期初采购合同已定价数量
  6616. type: number
  6617. OriSellFutureQty:
  6618. description: 期初卖出期货数量
  6619. type: number
  6620. OriSellPlanQty:
  6621. description: 期初销售计划数量
  6622. type: number
  6623. OriSellPricedQty:
  6624. description: 期初销售合同已定价数量
  6625. type: number
  6626. SellFutureQty:
  6627. description: 卖出期货数量
  6628. type: number
  6629. SellPlanQty:
  6630. description: 销售计划数量
  6631. type: number
  6632. SellPricedQty:
  6633. description: 销售合同已定价数量
  6634. type: number
  6635. TotalExposure:
  6636. description: 总敞口 平安:净敞口
  6637. type: number
  6638. TotalFutureQty:
  6639. description: 期货总量 平安:保值净持仓量
  6640. type: number
  6641. TotalHedgeRatio:
  6642. description: 敞口比例
  6643. type: number
  6644. TotalNeedHedgeQty:
  6645. description: 应套保总量(现货应套保总量)
  6646. type: number
  6647. TotalSpotQty:
  6648. description: 现货总量 平安:采销定价净值
  6649. type: number
  6650. arbitrageqty:
  6651. description: 套利量
  6652. type: number
  6653. diffArbitrageQty:
  6654. description: 套利变动量
  6655. type: number
  6656. diffExposoureQty:
  6657. description: 变动量(套保敞口)
  6658. type: number
  6659. diffFutuQty:
  6660. description: 变动量(期货总量) 平安:保值净持仓量今日变动
  6661. type: number
  6662. diffHedgeQty:
  6663. description: 套保变动量
  6664. type: number
  6665. diffQty:
  6666. description: 变动量(总敞口) 平安:净敞口今日变动
  6667. type: number
  6668. diffSpotHedgeQty:
  6669. description: 变动量(现货应套保总量) 平安:应套保量今日变动
  6670. type: number
  6671. diffSpotQty:
  6672. description: 变动量(现货总量) = 现货数量 - 期初现货数量 平安:采销定价净值今日变动
  6673. type: number
  6674. enumdicname:
  6675. description: 单位名称
  6676. type: string
  6677. hedgeqty:
  6678. description: 套保量
  6679. type: number
  6680. needarbitrageqty:
  6681. description: 应套利量
  6682. type: number
  6683. needarbitrageratio:
  6684. description: 套利比例
  6685. type: number
  6686. needhedgeqty:
  6687. description: 应套保量
  6688. type: number
  6689. oriTotalFutuQty:
  6690. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  6691. type: number
  6692. oriTotalSpotQty:
  6693. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  6694. type: number
  6695. oriarbitrageqty:
  6696. description: 期初套利量
  6697. type: number
  6698. orihedgeqty:
  6699. description: 期初套保量
  6700. type: number
  6701. orineedhedgeexposoure:
  6702. description: 期初套保敞口
  6703. type: number
  6704. oritotalexposure:
  6705. description: 期初总敞口
  6706. type: number
  6707. oritotalfutureqty:
  6708. description: 期初期货总量
  6709. type: number
  6710. oritotalneedhedgeqty:
  6711. description: 期初现货应套保量
  6712. type: number
  6713. type: object
  6714. models.ErmcpRole:
  6715. properties:
  6716. areauserid:
  6717. description: 所属机构
  6718. type: integer
  6719. autoid:
  6720. description: 角色ID(自增ID)
  6721. type: integer
  6722. modifierid:
  6723. description: 修改人(创建人)
  6724. type: integer
  6725. modifiername:
  6726. description: 修改人名称
  6727. type: string
  6728. modifytime:
  6729. description: 修改时间(创建时间)
  6730. type: string
  6731. rolename:
  6732. description: 角色名称
  6733. type: string
  6734. rolestatus:
  6735. description: 角色状态 - 1:启用 2:停用
  6736. type: integer
  6737. roletype:
  6738. description: 角色类型 - 1- 管理端 2- 交易端
  6739. type: integer
  6740. type: object
  6741. models.ErmcpRoleMenu:
  6742. properties:
  6743. iconame:
  6744. description: 菜单图标
  6745. type: string
  6746. ishadrole:
  6747. description: 是否有权限
  6748. type: boolean
  6749. menutype:
  6750. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  6751. type: integer
  6752. parentcode:
  6753. description: 上级资源代码
  6754. type: string
  6755. remark:
  6756. description: 菜单备注
  6757. type: string
  6758. resourcecode:
  6759. description: 菜单代码
  6760. type: string
  6761. resourcelevel:
  6762. description: 级别
  6763. type: integer
  6764. resourcename:
  6765. description: 菜单名称
  6766. type: string
  6767. roleid:
  6768. description: 角色id
  6769. type: integer
  6770. sort:
  6771. description: 排序
  6772. type: integer
  6773. url:
  6774. description: URL
  6775. type: string
  6776. userid:
  6777. description: 用户id
  6778. type: integer
  6779. type: object
  6780. models.ErmcpRoleMenuEx:
  6781. properties:
  6782. menu:
  6783. $ref: '#/definitions/models.ErmcpRoleMenu'
  6784. description: 父级菜单
  6785. type: object
  6786. subMenu:
  6787. description: 子级菜单
  6788. items:
  6789. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  6790. type: array
  6791. type: object
  6792. models.ErmcpTaAccount:
  6793. properties:
  6794. accountid:
  6795. description: 账户id
  6796. type: integer
  6797. accountname:
  6798. description: 账户名称
  6799. type: string
  6800. currencyid:
  6801. description: 币种id
  6802. type: integer
  6803. hedgeaccountcode:
  6804. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  6805. type: string
  6806. ismain:
  6807. description: 是否主账户 0-否 1-是
  6808. type: integer
  6809. parentaccountid:
  6810. description: 父账户id
  6811. type: integer
  6812. relateduserid:
  6813. description: 关联userid
  6814. type: integer
  6815. tradefeetmpid:
  6816. description: 手续费模板id
  6817. type: integer
  6818. tradefeetmpname:
  6819. description: 手续费模板名称
  6820. type: string
  6821. trademargintmpid:
  6822. description: 保证金模板id
  6823. type: integer
  6824. trademargintmpname:
  6825. description: 保证金模板名称
  6826. type: string
  6827. traderatetmpid:
  6828. description: 汇率模板id
  6829. type: integer
  6830. traderatetmpname:
  6831. description: 汇率模板名称
  6832. type: string
  6833. tradestatus:
  6834. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6835. type: integer
  6836. userid:
  6837. description: 用户id
  6838. type: integer
  6839. type: object
  6840. models.ErmcpTaAccountEx:
  6841. properties:
  6842. mainAcc:
  6843. $ref: '#/definitions/models.ErmcpTaAccountM'
  6844. description: 主账号
  6845. type: object
  6846. subacclist:
  6847. description: 子账号列表
  6848. items:
  6849. $ref: '#/definitions/models.ErmcpTaAccount'
  6850. type: array
  6851. type: object
  6852. models.ErmcpTaAccountInfo:
  6853. properties:
  6854. accountid:
  6855. description: 资金账户ID
  6856. type: integer
  6857. accountname:
  6858. description: 账户名称
  6859. type: string
  6860. balance:
  6861. description: 期初余额
  6862. type: number
  6863. capitalbalance:
  6864. description: 本金余额[外部子账户实际出入金余额]
  6865. type: number
  6866. closepl:
  6867. description: 今日平仓盈亏
  6868. type: number
  6869. creditdecrease:
  6870. description: 今日授信减少
  6871. type: number
  6872. creditincrease:
  6873. description: 今日授信增加
  6874. type: number
  6875. curdebt:
  6876. description: 期末欠款
  6877. type: number
  6878. currencyid:
  6879. description: 货币ID
  6880. type: integer
  6881. currentbalance:
  6882. description: 期末余额
  6883. type: number
  6884. freezecharge:
  6885. description: 手续费冻结
  6886. type: number
  6887. freezemargin:
  6888. description: 冻结保证金
  6889. type: number
  6890. fromaccountid:
  6891. description: 所属上级账户
  6892. type: integer
  6893. inamount:
  6894. description: 今日入金金额(包括三方入金)
  6895. type: number
  6896. ismain:
  6897. description: 是否母账号 0:不是母账户 1:是母账户
  6898. type: integer
  6899. mortgagecredit:
  6900. description: 授信金额
  6901. type: number
  6902. oridebt:
  6903. description: 期初欠款
  6904. type: number
  6905. orifreezecharge:
  6906. description: 期初手续费冻结
  6907. type: number
  6908. orifreezemargin:
  6909. description: 期初冻结保证金
  6910. type: number
  6911. orimortgagecredit:
  6912. description: 期初授信金额
  6913. type: number
  6914. oriothercredit:
  6915. description: 期初其它授信金额
  6916. type: number
  6917. oriotherfreezemargin:
  6918. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  6919. type: number
  6920. orioutamountfreeze:
  6921. description: 期初出金冻结
  6922. type: number
  6923. oriusedmargin:
  6924. description: 期初占用保证金
  6925. type: number
  6926. othercredit:
  6927. description: 其它授信金额
  6928. type: number
  6929. othercreditdecrease:
  6930. description: 今日其它授信减少
  6931. type: number
  6932. othercreditincrease:
  6933. description: 今日其它授信增加
  6934. type: number
  6935. otherfreezemargin:
  6936. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  6937. type: number
  6938. outamount:
  6939. description: 今日出金金额(包括三方出金)
  6940. type: number
  6941. outamountfreeze:
  6942. description: 出金冻结
  6943. type: number
  6944. outthreshold:
  6945. description: 出金阈值
  6946. type: number
  6947. parentaccountid:
  6948. description: 所属根账号
  6949. type: integer
  6950. paycharge:
  6951. description: 今日手续费支出
  6952. type: number
  6953. relateduserid:
  6954. description: 关联用户
  6955. type: integer
  6956. signstatus:
  6957. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  6958. type: integer
  6959. sublevelpath:
  6960. description: 账号层级路径(逗号分隔,首尾加逗号)
  6961. type: string
  6962. taaccounttype:
  6963. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  6964. type: integer
  6965. thirdinamount:
  6966. description: 今日三方入金
  6967. type: number
  6968. thirdoutamount:
  6969. description: 今日三方出金
  6970. type: number
  6971. tradestatus:
  6972. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6973. type: integer
  6974. transferamount:
  6975. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  6976. type: number
  6977. usedmargin:
  6978. description: 占用保证金
  6979. type: number
  6980. userid:
  6981. description: 用户ID
  6982. type: integer
  6983. type: object
  6984. models.ErmcpTaAccountM:
  6985. properties:
  6986. accountid:
  6987. description: 账户id
  6988. type: integer
  6989. accountname:
  6990. description: 账户名称
  6991. type: string
  6992. currencyid:
  6993. description: 币种id
  6994. type: integer
  6995. fcid:
  6996. description: 期货公司id
  6997. type: integer
  6998. fcname:
  6999. description: 期货公司代码
  7000. type: string
  7001. hedgeaccountcode:
  7002. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  7003. type: string
  7004. ismain:
  7005. description: 是否主账户 0-否 1-是
  7006. type: integer
  7007. parentaccountid:
  7008. description: 父账户id
  7009. type: integer
  7010. relateduserid:
  7011. description: 关联userid
  7012. type: integer
  7013. tradefeetmpid:
  7014. description: 手续费模板id
  7015. type: integer
  7016. tradefeetmpname:
  7017. description: 手续费模板名称
  7018. type: string
  7019. trademargintmpid:
  7020. description: 保证金模板id
  7021. type: integer
  7022. trademargintmpname:
  7023. description: 保证金模板名称
  7024. type: string
  7025. traderatetmpid:
  7026. description: 汇率模板id
  7027. type: integer
  7028. traderatetmpname:
  7029. description: 汇率模板名称
  7030. type: string
  7031. tradestatus:
  7032. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7033. type: integer
  7034. userid:
  7035. description: 用户id
  7036. type: integer
  7037. type: object
  7038. models.ErmcpTradeConfigTMP:
  7039. properties:
  7040. areauserid:
  7041. description: 所属机构
  7042. type: integer
  7043. basiccurrencyid:
  7044. description: 基本币种ID[汇率] - 目标币种
  7045. type: integer
  7046. mainaccountid:
  7047. description: 主账户ID
  7048. type: integer
  7049. modifierid:
  7050. description: 修改人
  7051. type: integer
  7052. remark:
  7053. description: 备注
  7054. type: string
  7055. tradeconfigtmpid:
  7056. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  7057. type: integer
  7058. tradeconfigtmpname:
  7059. description: 交易配置模板名称
  7060. type: string
  7061. tradeconfigtmptype:
  7062. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  7063. type: integer
  7064. updatetime:
  7065. description: 更新时间
  7066. type: string
  7067. type: object
  7068. models.ErmcpUserModel:
  7069. properties:
  7070. address:
  7071. description: 通讯地址
  7072. type: string
  7073. attachment1:
  7074. description: 附件1
  7075. type: string
  7076. audittime:
  7077. description: 审核时间
  7078. type: string
  7079. cardbackphotourl:
  7080. description: 证件反面图片地址
  7081. type: string
  7082. cardfrontphotourl:
  7083. description: 证件正面图片地址
  7084. type: string
  7085. cardnum:
  7086. description: 证件号码
  7087. type: string
  7088. cardtype:
  7089. description: 证件类型
  7090. type: integer
  7091. cardtypename:
  7092. description: 证件类型名称
  7093. type: string
  7094. cityid:
  7095. description: 市
  7096. type: integer
  7097. contactname:
  7098. description: 联系人
  7099. type: string
  7100. countryid:
  7101. description: 国家
  7102. type: integer
  7103. createtime:
  7104. description: 创建时间
  7105. type: string
  7106. customername:
  7107. description: 企业名称
  7108. type: string
  7109. districtid:
  7110. description: 区域
  7111. type: integer
  7112. email:
  7113. description: 邮件
  7114. type: string
  7115. legalpersonname:
  7116. description: 法人姓名(企业)
  7117. type: string
  7118. memberuserid:
  7119. description: 所属机构ID
  7120. type: integer
  7121. mobile:
  7122. description: 手机号码
  7123. type: string
  7124. modifytime:
  7125. description: 修改时间
  7126. type: string
  7127. nickname:
  7128. description: 昵称
  7129. type: string
  7130. provinceid:
  7131. description: 省
  7132. type: integer
  7133. remark:
  7134. description: 备注
  7135. type: string
  7136. status:
  7137. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  7138. type: integer
  7139. statusdesc:
  7140. description: 账户状态中文描述
  7141. type: string
  7142. taxpayernum:
  7143. description: 纳税人识别号
  7144. type: string
  7145. telphone:
  7146. description: 联系电话
  7147. type: string
  7148. userid:
  7149. description: 用户ID
  7150. type: integer
  7151. userinfotype:
  7152. description: 客户类型
  7153. type: string
  7154. type: object
  7155. models.ErmcpWareHouseInfo:
  7156. properties:
  7157. address:
  7158. description: 详细地址
  7159. type: string
  7160. areauserid:
  7161. description: 所属机构
  7162. type: integer
  7163. autoid:
  7164. description: 自增ID(仓库ID)
  7165. type: integer
  7166. cityid:
  7167. description: 市
  7168. type: integer
  7169. contactname:
  7170. description: 联系人
  7171. type: string
  7172. contactnum:
  7173. description: 联系电话
  7174. type: string
  7175. countryid:
  7176. description: 国家
  7177. type: integer
  7178. createtime:
  7179. description: 创建时间
  7180. type: string
  7181. districtid:
  7182. description: 区
  7183. type: integer
  7184. hasvideo:
  7185. description: 是否有视频 - 0:无 1:有
  7186. type: integer
  7187. provinceid:
  7188. description: 省
  7189. type: integer
  7190. remark:
  7191. description: 审核备注
  7192. type: string
  7193. videourl:
  7194. description: 视频地址
  7195. type: string
  7196. warehousecode:
  7197. description: 仓库代码
  7198. type: string
  7199. warehousename:
  7200. description: 仓库名称
  7201. type: string
  7202. warehousestatus:
  7203. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  7204. type: integer
  7205. warehousetype:
  7206. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  7207. type: integer
  7208. type: object
  7209. models.Externalexchange:
  7210. properties:
  7211. autoid:
  7212. description: AutoID - SEQ_EXTERNALEXCHANGE
  7213. type: integer
  7214. exchangefullname:
  7215. description: 外部交易所全称
  7216. type: string
  7217. exexchangecode:
  7218. description: 外部交易所代码
  7219. type: string
  7220. exexchangename:
  7221. description: 外部交易所名称(简称)
  7222. type: string
  7223. ismarketprice:
  7224. description: 是否支持市价 - 0:不支持 1:支持
  7225. type: integer
  7226. quotegear:
  7227. description: 行情档位(1-10)
  7228. type: integer
  7229. showbrokerflag:
  7230. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  7231. type: integer
  7232. updatetime:
  7233. description: 更新时间
  7234. type: string
  7235. required:
  7236. - autoid
  7237. type: object
  7238. models.Funcmenulist:
  7239. properties:
  7240. iconame:
  7241. description: 菜单图标
  7242. type: string
  7243. menutype:
  7244. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  7245. type: integer
  7246. parentcode:
  7247. description: 上级资源代码
  7248. type: string
  7249. remark:
  7250. description: 备注
  7251. type: string
  7252. resourcecode:
  7253. description: 资源代码
  7254. type: string
  7255. resourcelevel:
  7256. description: 级别 1-一级 2-二级 3-三级 4-四级
  7257. type: integer
  7258. resourcename:
  7259. description: 资源名
  7260. type: string
  7261. sort:
  7262. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  7263. type: integer
  7264. url:
  7265. description: URL
  7266. type: string
  7267. required:
  7268. - resourcecode
  7269. type: object
  7270. models.Goods:
  7271. properties:
  7272. agreeunit:
  7273. description: 合约单位
  7274. type: number
  7275. areauserid:
  7276. description: 所属机构
  7277. type: integer
  7278. auditaccountid:
  7279. description: 审核操作员账号
  7280. type: integer
  7281. audittime:
  7282. description: 审核时间
  7283. type: string
  7284. cancelaccountid:
  7285. description: 注销操作员账号
  7286. type: integer
  7287. canceltime:
  7288. description: 注销时间
  7289. type: string
  7290. closepricemode:
  7291. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7292. type: integer
  7293. closepriceparam:
  7294. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  7295. type: number
  7296. createtime:
  7297. description: 创建时间
  7298. type: string
  7299. creatorid:
  7300. description: 创建人
  7301. type: integer
  7302. currencyid:
  7303. description: 报价货币ID
  7304. type: integer
  7305. cutmode:
  7306. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  7307. type: integer
  7308. decimalplace:
  7309. description: 报价小数位
  7310. type: integer
  7311. delistingdate:
  7312. description: 商品退市时间(状态:退市) -- 已作废
  7313. type: string
  7314. delistingmode:
  7315. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  7316. type: integer
  7317. deliveryflag:
  7318. description: 交割标志 - 0:不可交割 1:可交割
  7319. type: integer
  7320. forceclosemode:
  7321. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  7322. type: integer
  7323. forceclosevalue:
  7324. description: 定期强平参数 [收益权]
  7325. type: integer
  7326. goodscode:
  7327. description: 商品代码(内部)
  7328. type: string
  7329. goodscurrencyid:
  7330. description: 合约货币ID
  7331. type: integer
  7332. goodsgroupid:
  7333. description: 所属商品组ID
  7334. type: integer
  7335. goodsid:
  7336. description: 商品ID(自增ID SEQ_GOODS)
  7337. type: integer
  7338. goodsname:
  7339. description: 商品名称
  7340. type: string
  7341. goodsquotetype:
  7342. description: '合约报价类型: 1-直接报价 2-间接报价'
  7343. type: integer
  7344. goodsstatus:
  7345. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7346. type: integer
  7347. goodstradetype:
  7348. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  7349. type: integer
  7350. goodunitid:
  7351. description: 报价单位ID
  7352. type: integer
  7353. hasquoter:
  7354. description: 是否有报价商 - 0:无报价商 1:有报价商
  7355. type: integer
  7356. hqprotecttime:
  7357. description: 行情保护时间(秒)
  7358. type: integer
  7359. innerdealmode:
  7360. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7361. type: integer
  7362. isbuylimited:
  7363. description: 是否限制建仓量 - 0:不限制 1:限制
  7364. type: integer
  7365. isvisible:
  7366. description: 游客是否可见 - 0:不可见 1:可见
  7367. type: integer
  7368. lasttradedate:
  7369. description: 最后交易日期(状态:待退市)
  7370. type: string
  7371. listingdate:
  7372. description: 交易开始日期
  7373. type: string
  7374. marketid:
  7375. description: 所属市场ID
  7376. type: integer
  7377. modifierid:
  7378. description: 修改人
  7379. type: integer
  7380. modifystatus:
  7381. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  7382. type: integer
  7383. modifytime:
  7384. description: 修改时间
  7385. type: string
  7386. outerdealmode:
  7387. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7388. type: integer
  7389. outgoodscode:
  7390. description: 商品代码(外部)
  7391. type: string
  7392. pictureurl:
  7393. description: 商品图片
  7394. type: string
  7395. qtydecimalplace:
  7396. description: 成交量小数位
  7397. type: integer
  7398. quotegear:
  7399. description: 行情档位(1-10)
  7400. type: integer
  7401. quoteminunit:
  7402. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7403. type: integer
  7404. quoteshowtype:
  7405. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  7406. type: integer
  7407. quoteshowtypeinterval:
  7408. description: 行情报价间隔时间(秒)(成交价时为0)
  7409. type: integer
  7410. remark:
  7411. description: 备注
  7412. type: string
  7413. required:
  7414. - goodscode
  7415. - goodsid
  7416. - goodsname
  7417. - marketid
  7418. type: object
  7419. models.GoodsIDAndName:
  7420. properties:
  7421. goodscode:
  7422. description: 商品代码(内部)
  7423. type: string
  7424. goodsid:
  7425. description: 商品ID(自增ID SEQ_GOODS)
  7426. type: integer
  7427. goodsname:
  7428. description: 商品名称
  7429. type: string
  7430. marketid:
  7431. description: 所属市场ID
  7432. type: integer
  7433. required:
  7434. - goodscode
  7435. - goodsid
  7436. - goodsname
  7437. - marketid
  7438. type: object
  7439. models.Goodsgroup:
  7440. properties:
  7441. agreeunit:
  7442. description: 合约单位
  7443. type: number
  7444. canshort:
  7445. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  7446. type: integer
  7447. closepricemode:
  7448. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7449. type: integer
  7450. closepriceparam:
  7451. description: 强平最新价浮动比例 - 方式为2时使用
  7452. type: number
  7453. createtime:
  7454. description: 创建时间
  7455. type: string
  7456. creatorid:
  7457. description: 创建人
  7458. type: integer
  7459. currencyid:
  7460. description: 报价货币ID
  7461. type: integer
  7462. decimalplace:
  7463. description: 报价小数位
  7464. type: integer
  7465. exercisetype:
  7466. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  7467. type: integer
  7468. exexchangeid:
  7469. description: 外部交易所ID[通道交易]
  7470. type: integer
  7471. goodsgroupid:
  7472. description: 商品组ID(自增ID)
  7473. type: integer
  7474. goodsgroupname:
  7475. description: 商品组名称
  7476. type: string
  7477. goodsgroupstatus:
  7478. description: 商品组状态 - 1:正常 2:注销
  7479. type: integer
  7480. goodunitid:
  7481. description: 报价单位ID
  7482. type: integer
  7483. innerdealmode:
  7484. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7485. type: integer
  7486. isbuylimited:
  7487. description: 是否限制建仓量 - 0:不限制 1:限制
  7488. type: integer
  7489. marketid:
  7490. description: 所属市场ID
  7491. type: integer
  7492. modifierid:
  7493. description: 修改人
  7494. type: integer
  7495. modifytime:
  7496. description: 修改时间
  7497. type: string
  7498. outerdealmode:
  7499. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7500. type: integer
  7501. outergroupcode:
  7502. description: 外部商品组代码[通道交易]
  7503. type: string
  7504. premiumdecimalplace:
  7505. description: 权利金小数位[场外期权]
  7506. type: integer
  7507. premiumspreadalgorithm:
  7508. description: 权利金点差方式[场外期权] 1:比率 2:固定
  7509. type: integer
  7510. premiumspreadvalue:
  7511. description: 权利金点差值[场外期权]
  7512. type: number
  7513. qtydecimalplace:
  7514. description: 成交量小数位
  7515. type: integer
  7516. quotegear:
  7517. description: 行情档位(1-10)
  7518. type: integer
  7519. quoteminunit:
  7520. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7521. type: integer
  7522. quoterid:
  7523. description: 报价商ID[场外期权]
  7524. type: integer
  7525. quotesourcegroupid:
  7526. description: 所属行情源分组ID[参考行情市场用\通道交易]
  7527. type: integer
  7528. syncgoodsqty:
  7529. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  7530. type: integer
  7531. required:
  7532. - goodsgroupid
  7533. - goodsgroupname
  7534. - goodsgroupstatus
  7535. - marketid
  7536. type: object
  7537. models.Goodssortbypreposition:
  7538. properties:
  7539. goodscode:
  7540. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  7541. type: string
  7542. goodsgroupcode:
  7543. description: 品种代码
  7544. type: string
  7545. prepositionqty:
  7546. description: 昨持仓量
  7547. type: integer
  7548. sortindex:
  7549. description: 排序
  7550. type: integer
  7551. tradedate:
  7552. description: 交易日
  7553. type: string
  7554. updatetime:
  7555. description: 更新时间
  7556. type: string
  7557. required:
  7558. - goodscode
  7559. - tradedate
  7560. type: object
  7561. models.Hedgeinnerholderdetail:
  7562. properties:
  7563. accountid:
  7564. description: 账号ID
  7565. type: integer
  7566. buyorsell:
  7567. description: 方向 - 0:买 1:卖
  7568. type: integer
  7569. freezeqty:
  7570. description: 冻结数量 - 按单平使用
  7571. type: integer
  7572. goodsid:
  7573. description: 商品ID
  7574. type: integer
  7575. holderamount:
  7576. description: 持仓金额 [商品币种]
  7577. type: number
  7578. holderdays:
  7579. description: 剩余冻结天数
  7580. type: integer
  7581. holderprice:
  7582. description: 持仓价格
  7583. type: number
  7584. holderqty:
  7585. description: 持仓数量
  7586. type: integer
  7587. marketid:
  7588. description: 市场ID
  7589. type: integer
  7590. openprice:
  7591. description: 建仓价格
  7592. type: number
  7593. openqty:
  7594. description: 建仓数量
  7595. type: integer
  7596. parentaccountid:
  7597. description: 所属母账户
  7598. type: integer
  7599. releaseamount:
  7600. description: 释放持仓金额[商品币种]
  7601. type: number
  7602. tradeamount:
  7603. description: 成交金额[账户]
  7604. type: number
  7605. tradedate:
  7606. description: 交易日(yyyyMMdd)
  7607. type: string
  7608. tradeid:
  7609. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7610. type: string
  7611. tradetime:
  7612. description: 交易时间
  7613. type: string
  7614. required:
  7615. - buyorsell
  7616. - tradeid
  7617. type: object
  7618. models.Hedgemarketopenlog:
  7619. properties:
  7620. accountid:
  7621. description: 资金账号[外部母账户]
  7622. type: integer
  7623. fcname:
  7624. description: 期货公司名称
  7625. type: string
  7626. handlestatus:
  7627. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  7628. type: integer
  7629. marketid:
  7630. description: 市场ID
  7631. type: integer
  7632. status:
  7633. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  7634. type: integer
  7635. tradedate:
  7636. description: 交易日(yyyyMMdd)
  7637. type: string
  7638. updatetime:
  7639. description: 更新时间
  7640. type: string
  7641. required:
  7642. - accountid
  7643. type: object
  7644. models.HsbyBuyMyPayOrder:
  7645. properties:
  7646. agreeunit:
  7647. description: 合约单位
  7648. type: number
  7649. buyaccountid:
  7650. description: 买方账号ID[报价币种]
  7651. type: integer
  7652. buyorderid:
  7653. description: 买方委托单号
  7654. type: string
  7655. createtime:
  7656. description: 创建时间
  7657. type: string
  7658. currencysign:
  7659. description: 货币符号
  7660. type: string
  7661. decimalplace:
  7662. description: 报价小数位
  7663. type: integer
  7664. goodscode:
  7665. description: 商品代码(内部)
  7666. type: string
  7667. goodsid:
  7668. description: 商品ID
  7669. type: integer
  7670. goodsname:
  7671. description: 商品名称
  7672. type: string
  7673. marketid:
  7674. description: 市场ID
  7675. type: integer
  7676. offamount:
  7677. description: 优惠金额
  7678. type: number
  7679. originalamount:
  7680. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  7681. type: number
  7682. payamount:
  7683. description: 支付金额 = TradeAmount + TradeCharge
  7684. type: number
  7685. payflag:
  7686. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  7687. type: integer
  7688. paylimitedtime:
  7689. description: 支付期限
  7690. type: string
  7691. paytime:
  7692. description: 付款时间
  7693. type: string
  7694. picurls1:
  7695. description: 预售商品介绍图片[多张用逗号分隔]
  7696. type: string
  7697. picurls2:
  7698. description: 挂牌商品介绍图片[多张用逗号分隔]
  7699. type: string
  7700. sellaccountid:
  7701. description: 卖方账号ID[报价币种]
  7702. type: integer
  7703. sellorderid:
  7704. description: 卖方委托单号
  7705. type: string
  7706. tradeamount:
  7707. description: 成交金额
  7708. type: number
  7709. tradecharge:
  7710. description: 成交手续费(买方)
  7711. type: number
  7712. tradedate:
  7713. description: 交易日(yyyyMMdd)
  7714. type: string
  7715. tradeid:
  7716. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7717. type: string
  7718. trademode:
  7719. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7720. 21:竞拍-大宗式 22:受托竞价
  7721. type: integer
  7722. tradeprice:
  7723. description: 成交价格
  7724. type: number
  7725. tradeqty:
  7726. description: 成交数量
  7727. type: integer
  7728. vendorname1:
  7729. description: 预售商品供应商名称
  7730. type: string
  7731. vendorname2:
  7732. description: 挂牌商品供应商名称
  7733. type: string
  7734. required:
  7735. - goodscode
  7736. - goodsname
  7737. - tradeid
  7738. - trademode
  7739. type: object
  7740. models.HsbyBuyMyTradeDetail:
  7741. properties:
  7742. accountid:
  7743. description: 账户ID[报价币种]
  7744. type: integer
  7745. agreeunit:
  7746. description: 合约单位
  7747. type: number
  7748. amount:
  7749. description: 金额 = 价格 * 数量 * 合约单位
  7750. type: number
  7751. buyorsell:
  7752. description: 买卖 - 0:买 1:卖
  7753. type: integer
  7754. currencysign:
  7755. description: 货币符号
  7756. type: string
  7757. decimalplace:
  7758. description: 报价小数位
  7759. type: integer
  7760. goodscode:
  7761. description: 商品代码(内部)
  7762. type: string
  7763. goodsid:
  7764. description: 商品ID
  7765. type: integer
  7766. goodsname:
  7767. description: 商品名称
  7768. type: string
  7769. marketid:
  7770. description: 市场ID
  7771. type: integer
  7772. orderamount:
  7773. description: 委托金额
  7774. type: number
  7775. orderid:
  7776. description: 单号(成交单号)
  7777. type: string
  7778. picurls1:
  7779. description: 预售商品介绍图片[多张用逗号分隔]
  7780. type: string
  7781. picurls2:
  7782. description: 挂牌商品介绍图片[多张用逗号分隔]
  7783. type: string
  7784. price:
  7785. description: 价格
  7786. type: number
  7787. qty:
  7788. description: 数量
  7789. type: integer
  7790. time:
  7791. description: 时间
  7792. type: string
  7793. trademode:
  7794. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7795. 21:竞拍-大宗式 22:受托竞价
  7796. type: integer
  7797. vendorname1:
  7798. description: 预售商品供应商名称
  7799. type: string
  7800. vendorname2:
  7801. description: 挂牌商品供应商名称
  7802. type: string
  7803. required:
  7804. - accountid
  7805. - buyorsell
  7806. - goodscode
  7807. - goodsid
  7808. - goodsname
  7809. - marketid
  7810. - orderid
  7811. - qty
  7812. - time
  7813. - trademode
  7814. type: object
  7815. models.HsbyGoodsOrderDetail:
  7816. properties:
  7817. buyorsell:
  7818. description: 买卖 - 0:买 1:卖
  7819. type: integer
  7820. currencysign:
  7821. description: 货币符号
  7822. type: string
  7823. customername:
  7824. description: 客户名称(企业名称),已脱敏
  7825. type: string
  7826. enableqty:
  7827. description: 可用数量
  7828. type: integer
  7829. goodunit:
  7830. description: 报价单位
  7831. type: string
  7832. orderid:
  7833. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7834. type: string
  7835. orderprice:
  7836. description: 委托价格
  7837. type: number
  7838. ordertime:
  7839. description: 委托时间
  7840. type: string
  7841. required:
  7842. - buyorsell
  7843. - orderid
  7844. - ordertime
  7845. type: object
  7846. models.HsbyListingGoodsDetail:
  7847. properties:
  7848. agreeunit:
  7849. description: 合约单位
  7850. type: number
  7851. buymaxqty:
  7852. description: 购买上限 [71] - 0为不限
  7853. type: integer
  7854. currency:
  7855. description: 货币
  7856. type: string
  7857. currencysign:
  7858. description: 货币符号
  7859. type: string
  7860. decimalplace:
  7861. description: 报价小数位
  7862. type: integer
  7863. desccityid:
  7864. description: 目的地(市)ID
  7865. type: integer
  7866. descprovinceid:
  7867. description: 目的地(省)ID
  7868. type: integer
  7869. goodscode:
  7870. description: 商品代码(内部)
  7871. type: string
  7872. goodsdesc:
  7873. description: 商品详情
  7874. type: string
  7875. goodsid:
  7876. description: 商品ID(自增ID SEQ_GOODS)
  7877. type: integer
  7878. goodsname:
  7879. description: 商品名称
  7880. type: string
  7881. goodsprice:
  7882. description: 商品价格
  7883. type: number
  7884. hotindex:
  7885. description: 景点热度
  7886. type: integer
  7887. last:
  7888. description: 现价
  7889. type: number
  7890. limitdown:
  7891. description: 跌停价
  7892. type: number
  7893. limitup:
  7894. description: 涨停价
  7895. type: number
  7896. lotsize:
  7897. description: 手数最小变动单位
  7898. type: integer
  7899. marketid:
  7900. description: 所属市场ID
  7901. type: integer
  7902. picurls:
  7903. description: 介绍图片[多张用逗号分隔]
  7904. type: string
  7905. quoteminunit:
  7906. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7907. type: integer
  7908. stepvalue:
  7909. description: 价格最小变动单位
  7910. type: number
  7911. trademode:
  7912. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7913. 21:竞拍-大宗式 22:受托竞价
  7914. type: integer
  7915. vendorattr:
  7916. description: 供应商附件(多张,逗号分隔)
  7917. type: string
  7918. vendorname:
  7919. description: 供应商名称
  7920. type: string
  7921. vendorphone:
  7922. description: 供应商客服电话
  7923. type: string
  7924. videourls:
  7925. description: 介绍视频[多张用逗号分隔]
  7926. type: string
  7927. required:
  7928. - goodscode
  7929. - goodsid
  7930. - goodsname
  7931. - marketid
  7932. - trademode
  7933. type: object
  7934. models.HsbyMarketGoods:
  7935. properties:
  7936. accountid:
  7937. description: 账户ID[报价币种]
  7938. type: integer
  7939. agreeunit:
  7940. description: 合约单位
  7941. type: number
  7942. buyorsell:
  7943. description: 买卖 - 0:买 1:卖
  7944. type: integer
  7945. categoryid:
  7946. description: 类别ID(WRCATEGORY)
  7947. type: integer
  7948. currency:
  7949. description: 货币
  7950. type: string
  7951. currencysign:
  7952. description: 货币符号
  7953. type: string
  7954. customername:
  7955. description: 卖家名称
  7956. type: string
  7957. decimalplace:
  7958. description: 报价小数位
  7959. type: integer
  7960. goodscode:
  7961. description: 商品代码(内部)
  7962. type: string
  7963. goodsid:
  7964. description: 商品ID
  7965. type: integer
  7966. goodsname:
  7967. description: 商品名称
  7968. type: string
  7969. goodsprice:
  7970. description: 商品价格
  7971. type: number
  7972. hascoupon:
  7973. description: 是否可用优惠卷
  7974. type: boolean
  7975. hotindex:
  7976. description: 景点热度
  7977. type: integer
  7978. marketid:
  7979. description: 市场ID
  7980. type: integer
  7981. orderid:
  7982. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7983. type: string
  7984. orderprice:
  7985. description: 委托价格
  7986. type: number
  7987. orderstatus:
  7988. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  7989. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  7990. 16:成交失败违约(荷兰式竞拍专用)
  7991. type: integer
  7992. picurls:
  7993. description: 介绍图片[多张用逗号分隔]
  7994. type: string
  7995. quoteminunit:
  7996. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7997. type: integer
  7998. sellUserID:
  7999. description: 卖方UserID
  8000. type: integer
  8001. trademode:
  8002. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8003. 21:竞拍-大宗式 22:受托竞价
  8004. type: integer
  8005. videourls:
  8006. description: 介绍视频[多张用逗号分隔]
  8007. type: string
  8008. required:
  8009. - accountid
  8010. - buyorsell
  8011. - goodscode
  8012. - goodsid
  8013. - goodsname
  8014. - marketid
  8015. - orderid
  8016. - trademode
  8017. type: object
  8018. models.HsbyMarketGoodsDetail:
  8019. properties:
  8020. accountid:
  8021. description: 账户ID[报价币种]
  8022. type: integer
  8023. agreeunit:
  8024. description: 合约单位
  8025. type: number
  8026. buymaxqty:
  8027. description: 购买上限 [71] - 0为不限
  8028. type: integer
  8029. buyorsell:
  8030. description: 买卖 - 0:买 1:卖
  8031. type: integer
  8032. cancelqty:
  8033. description: 撤单数量
  8034. type: integer
  8035. categoryid:
  8036. description: 类别ID(WRCATEGORY)
  8037. type: integer
  8038. currency:
  8039. description: 货币
  8040. type: string
  8041. currencysign:
  8042. description: 货币符号
  8043. type: string
  8044. customername:
  8045. description: 卖家名称
  8046. type: string
  8047. decimalplace:
  8048. description: 报价小数位
  8049. type: integer
  8050. goodscode:
  8051. description: 商品代码(内部)
  8052. type: string
  8053. goodsdesc:
  8054. description: 商品详情
  8055. type: string
  8056. goodsid:
  8057. description: 商品ID
  8058. type: integer
  8059. goodsname:
  8060. description: 商品名称
  8061. type: string
  8062. goodsprice:
  8063. description: 商品价格
  8064. type: number
  8065. hotindex:
  8066. description: 景点热度
  8067. type: integer
  8068. lotsize:
  8069. description: 手数最小变动单位
  8070. type: integer
  8071. marketid:
  8072. description: 市场ID
  8073. type: integer
  8074. orderid:
  8075. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8076. type: string
  8077. orderprice:
  8078. description: 委托价格
  8079. type: number
  8080. orderqty:
  8081. description: 委托数量
  8082. type: integer
  8083. orderstatus:
  8084. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8085. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8086. 16:成交失败违约(荷兰式竞拍专用)
  8087. type: integer
  8088. picurls:
  8089. description: 介绍图片[多张用逗号分隔]
  8090. type: string
  8091. quoteminunit:
  8092. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8093. type: integer
  8094. sellUserID:
  8095. description: 卖方UserID
  8096. type: integer
  8097. trademode:
  8098. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8099. 21:竞拍-大宗式 22:受托竞价
  8100. type: integer
  8101. tradeqty:
  8102. description: 成交数量
  8103. type: integer
  8104. vendorattr:
  8105. description: 供应商附件(多张,逗号分隔)
  8106. type: string
  8107. vendorname:
  8108. description: 供应商名称
  8109. type: string
  8110. vendorphone:
  8111. description: 供应商客服电话
  8112. type: string
  8113. videourls:
  8114. description: 介绍视频[多张用逗号分隔]
  8115. type: string
  8116. required:
  8117. - accountid
  8118. - buyorsell
  8119. - goodscode
  8120. - goodsid
  8121. - goodsname
  8122. - marketid
  8123. - orderid
  8124. - orderqty
  8125. - trademode
  8126. type: object
  8127. models.HsbyMarketInfo:
  8128. properties:
  8129. marketid:
  8130. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  8131. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8132. type: integer
  8133. marketname:
  8134. description: 市场名称
  8135. type: string
  8136. marketstatus:
  8137. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8138. type: integer
  8139. trademode:
  8140. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8141. 21:竞拍-大宗式 22:受托竞价
  8142. type: integer
  8143. required:
  8144. - marketid
  8145. - marketstatus
  8146. - trademode
  8147. type: object
  8148. models.HsbyMyGoods:
  8149. properties:
  8150. accountid:
  8151. description: 账号Id
  8152. type: integer
  8153. agreeunit:
  8154. description: 合约单位
  8155. type: number
  8156. buyaverageprice:
  8157. description: 持仓均价
  8158. type: number
  8159. buycurholderamount:
  8160. description: 买当前持仓总金额[商品币种]
  8161. type: number
  8162. buycurpositionqty:
  8163. description: 买当前持仓总数量
  8164. type: integer
  8165. buymaxqty:
  8166. description: 购买上限 [71] - 0为不限
  8167. type: integer
  8168. currencysign:
  8169. description: 货币符号
  8170. type: string
  8171. decimalplace:
  8172. description: 报价小数位
  8173. type: integer
  8174. enableqty:
  8175. description: 可用数量
  8176. type: integer
  8177. goodscode:
  8178. description: 商品代码(内部)
  8179. type: string
  8180. goodsid:
  8181. description: 商品Id
  8182. type: integer
  8183. goodsname:
  8184. description: 商品名称
  8185. type: string
  8186. goodsprice:
  8187. description: 商品价格
  8188. type: number
  8189. goodsstatus:
  8190. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8191. type: integer
  8192. last:
  8193. description: 现价(仅使用于挂牌点选)
  8194. type: number
  8195. limitdown:
  8196. description: 跌停价(仅使用于挂牌点选)
  8197. type: number
  8198. limitup:
  8199. description: 涨停价(仅使用于挂牌点选)
  8200. type: number
  8201. lotsize:
  8202. description: 手数最小变动单位
  8203. type: integer
  8204. marketid:
  8205. description: 所属市场ID
  8206. type: integer
  8207. picurls:
  8208. description: 介绍图片[多张用逗号分隔]
  8209. type: string
  8210. quoteminunit:
  8211. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8212. type: integer
  8213. stepvalue:
  8214. description: 价格最小变动单位
  8215. type: number
  8216. trademode:
  8217. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8218. 21:竞拍-大宗式 22:受托竞价
  8219. type: integer
  8220. required:
  8221. - accountid
  8222. - goodscode
  8223. - goodsid
  8224. - goodsname
  8225. - marketid
  8226. - trademode
  8227. type: object
  8228. models.HsbyMyPackage:
  8229. properties:
  8230. accountid:
  8231. description: 账户ID
  8232. type: integer
  8233. address:
  8234. description: 提货人详细地址
  8235. type: string
  8236. agreeunit:
  8237. description: 合约单位
  8238. type: number
  8239. amount:
  8240. description: 提货金额
  8241. type: number
  8242. auditer:
  8243. description: 审核人
  8244. type: integer
  8245. audittime:
  8246. description: 审核时间
  8247. type: string
  8248. averageprice:
  8249. description: 均价
  8250. type: number
  8251. cardnum:
  8252. description: 提货人证件号码
  8253. type: string
  8254. cardtypeid:
  8255. description: 提货人证件类型
  8256. type: integer
  8257. checkremark:
  8258. description: 审核备注
  8259. type: string
  8260. currencysign:
  8261. description: 货币符号
  8262. type: string
  8263. decimalplace:
  8264. description: 报价小数位
  8265. type: integer
  8266. goodscode:
  8267. description: 商品代码(内部)
  8268. type: string
  8269. goodsid:
  8270. description: 商品ID
  8271. type: integer
  8272. goodsname:
  8273. description: 商品名称
  8274. type: string
  8275. handlestatus:
  8276. description: 处理状态
  8277. type: integer
  8278. marketid:
  8279. description: 市场ID
  8280. type: integer
  8281. phonenum:
  8282. description: 提货人联系方式
  8283. type: string
  8284. picurls:
  8285. description: 介绍图片[多张用逗号分隔]
  8286. type: string
  8287. qty:
  8288. description: 提货数量
  8289. type: number
  8290. recivername:
  8291. description: 提货人姓名
  8292. type: string
  8293. reqtime:
  8294. description: 更新时间
  8295. type: string
  8296. takemode:
  8297. description: 提货方式 - 2:自提 3:配送
  8298. type: integer
  8299. takeorderid:
  8300. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  8301. type: string
  8302. takeorderstatus:
  8303. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  8304. type: integer
  8305. takeremark:
  8306. description: 提货备注
  8307. type: string
  8308. tradedate:
  8309. description: 交易日(yyyyMMdd)
  8310. type: string
  8311. trademode:
  8312. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8313. 21:竞拍-大宗式 22:受托竞价
  8314. type: integer
  8315. userid:
  8316. description: 用户ID
  8317. type: integer
  8318. vendorname:
  8319. description: 供应商名称
  8320. type: string
  8321. required:
  8322. - goodscode
  8323. - goodsname
  8324. - takeorderid
  8325. - trademode
  8326. type: object
  8327. models.HsbyPreGoods:
  8328. properties:
  8329. agreeunit:
  8330. description: 合约单位
  8331. type: number
  8332. currency:
  8333. description: 货币
  8334. type: string
  8335. currencysign:
  8336. description: 货币符号
  8337. type: string
  8338. decimalplace:
  8339. description: 报价小数位
  8340. type: integer
  8341. desccityid:
  8342. description: 目的地(市)
  8343. type: integer
  8344. descprovinceid:
  8345. description: 目的地(省)
  8346. type: integer
  8347. enableqty:
  8348. description: 剩余数量
  8349. type: integer
  8350. goodscode:
  8351. description: 商品代码(内部)
  8352. type: string
  8353. goodsid:
  8354. description: 商品ID(自增ID SEQ_GOODS)
  8355. type: integer
  8356. goodsname:
  8357. description: 商品名称
  8358. type: string
  8359. goodsstatus:
  8360. description: 商品状态- 2:未上市 3:上市
  8361. type: integer
  8362. lasttradedate:
  8363. description: 最后交易日期(状态:待退市)
  8364. type: string
  8365. listingdate:
  8366. description: 交易开始日期
  8367. type: string
  8368. marketid:
  8369. description: 所属市场ID
  8370. type: integer
  8371. picurls:
  8372. description: 介绍图片[多张用逗号分隔]
  8373. type: string
  8374. presaledqty:
  8375. description: 已预售量(预售结束时更新)
  8376. type: integer
  8377. presaleqty:
  8378. description: 预售数量
  8379. type: integer
  8380. quoteminunit:
  8381. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8382. type: integer
  8383. refprice:
  8384. description: 参考价格[一口价]
  8385. type: number
  8386. relatedgoodsid:
  8387. description: 关联交易合约ID
  8388. type: integer
  8389. trademode:
  8390. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8391. 21:竞拍-大宗式 22:受托竞价
  8392. type: integer
  8393. videourls:
  8394. description: 介绍视频[多张用逗号分隔]
  8395. type: string
  8396. required:
  8397. - goodscode
  8398. - goodsid
  8399. - goodsname
  8400. - marketid
  8401. - trademode
  8402. type: object
  8403. models.HsbyPreGoodsDetail:
  8404. properties:
  8405. agreeunit:
  8406. description: 合约单位
  8407. type: number
  8408. buymaxqty:
  8409. description: 购买上限 [71] - 0为不限
  8410. type: integer
  8411. currency:
  8412. description: 货币
  8413. type: string
  8414. currencysign:
  8415. description: 货币符号
  8416. type: string
  8417. customername:
  8418. description: 发行单位
  8419. type: string
  8420. decimalplace:
  8421. description: 报价小数位
  8422. type: integer
  8423. desccityid:
  8424. description: 目的地(市)ID
  8425. type: integer
  8426. descprovinceid:
  8427. description: 目的地(省)ID
  8428. type: integer
  8429. enableqty:
  8430. description: 剩余数量
  8431. type: integer
  8432. goodscode:
  8433. description: 商品代码(内部)
  8434. type: string
  8435. goodsdesc:
  8436. description: 商品详情
  8437. type: string
  8438. goodsid:
  8439. description: 商品ID(自增ID SEQ_GOODS)
  8440. type: integer
  8441. goodsname:
  8442. description: 商品名称
  8443. type: string
  8444. goodsstatus:
  8445. description: 商品状态- 2:未上市 3:上市
  8446. type: integer
  8447. goodunit:
  8448. description: 报价单位
  8449. type: string
  8450. lasttradedate:
  8451. description: 最后交易日期(状态:待退市)
  8452. type: string
  8453. listingdate:
  8454. description: 交易开始日期
  8455. type: string
  8456. lotsize:
  8457. description: 手数最小变动单位
  8458. type: integer
  8459. marketid:
  8460. description: 所属市场ID
  8461. type: integer
  8462. picurls:
  8463. description: 介绍图片[多张用逗号分隔]
  8464. type: string
  8465. presaledqty:
  8466. description: 已预售量(预售结束时更新)
  8467. type: integer
  8468. presaleqty:
  8469. description: 预售数量
  8470. type: integer
  8471. quoteminunit:
  8472. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8473. type: integer
  8474. refprice:
  8475. description: 参考价格[一口价]
  8476. type: number
  8477. relatedgoodsid:
  8478. description: 关联交易合约ID
  8479. type: integer
  8480. stepvalue:
  8481. description: 价格最小变动单位
  8482. type: number
  8483. trademode:
  8484. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8485. 21:竞拍-大宗式 22:受托竞价
  8486. type: integer
  8487. vendorattr:
  8488. description: 供应商附件(多张,逗号分隔)
  8489. type: string
  8490. vendorname:
  8491. description: 供应商名称
  8492. type: string
  8493. vendorphone:
  8494. description: 供应商客服电话
  8495. type: string
  8496. videourls:
  8497. description: 介绍视频[多张用逗号分隔]
  8498. type: string
  8499. required:
  8500. - goodscode
  8501. - goodsid
  8502. - goodsname
  8503. - marketid
  8504. - trademode
  8505. type: object
  8506. models.HsbySellCollectionOrder:
  8507. properties:
  8508. agreeunit:
  8509. description: 合约单位
  8510. type: number
  8511. buyaccountid:
  8512. description: 买方账号ID[报价币种]
  8513. type: integer
  8514. buyorderid:
  8515. description: 买方委托单号
  8516. type: string
  8517. createtime:
  8518. description: 创建时间
  8519. type: string
  8520. currencysign:
  8521. description: 货币符号
  8522. type: string
  8523. decimalplace:
  8524. description: 报价小数位
  8525. type: integer
  8526. goodscode:
  8527. description: 商品代码(内部)
  8528. type: string
  8529. goodsid:
  8530. description: 商品ID
  8531. type: integer
  8532. goodsname:
  8533. description: 商品名称
  8534. type: string
  8535. marketid:
  8536. description: 市场ID
  8537. type: integer
  8538. offamount:
  8539. description: 优惠金额
  8540. type: number
  8541. payamount:
  8542. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  8543. type: number
  8544. payflag:
  8545. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  8546. type: integer
  8547. paylimitedtime:
  8548. description: 支付期限
  8549. type: string
  8550. paytime:
  8551. description: 付款时间
  8552. type: string
  8553. picurls:
  8554. description: 商品介绍图片[多张用逗号分隔]
  8555. type: string
  8556. sellaccountid:
  8557. description: 卖方账号ID[报价币种]
  8558. type: integer
  8559. sellorderid:
  8560. description: 卖方委托单号
  8561. type: string
  8562. tradeamount:
  8563. description: 成交金额
  8564. type: number
  8565. tradecharge:
  8566. description: 成交手续费(买方)
  8567. type: number
  8568. tradedate:
  8569. description: 交易日(yyyyMMdd)
  8570. type: string
  8571. tradeid:
  8572. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8573. type: string
  8574. trademode:
  8575. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8576. 21:竞拍-大宗式 22:受托竞价
  8577. type: integer
  8578. tradeprice:
  8579. description: 成交价格
  8580. type: number
  8581. tradeqty:
  8582. description: 成交数量
  8583. type: integer
  8584. required:
  8585. - goodscode
  8586. - goodsname
  8587. - tradeid
  8588. - trademode
  8589. type: object
  8590. models.HsbySellMyDetail:
  8591. properties:
  8592. accountid:
  8593. description: 账户ID[报价币种]
  8594. type: integer
  8595. agreeunit:
  8596. description: 合约单位
  8597. type: number
  8598. buyorsell:
  8599. description: 买卖 - 0:买 1:卖
  8600. type: integer
  8601. currencysign:
  8602. description: 货币符号
  8603. type: string
  8604. decimalplace:
  8605. description: 报价小数位
  8606. type: integer
  8607. goodscode:
  8608. description: 商品代码(内部)
  8609. type: string
  8610. goodsid:
  8611. description: 商品ID
  8612. type: integer
  8613. goodsname:
  8614. description: 商品名称
  8615. type: string
  8616. marketid:
  8617. description: 市场ID
  8618. type: integer
  8619. orderid:
  8620. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  8621. type: string
  8622. ordertype:
  8623. description: 单据类型:0 - 发布中, 1 - 已完成
  8624. type: integer
  8625. picurls:
  8626. description: 介绍图片[多张用逗号分隔]
  8627. type: string
  8628. price:
  8629. description: 价格
  8630. type: number
  8631. qty:
  8632. description: 数量
  8633. type: integer
  8634. time:
  8635. description: 时间
  8636. type: string
  8637. trademode:
  8638. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8639. 21:竞拍-大宗式 22:受托竞价
  8640. type: integer
  8641. vendorname:
  8642. description: 供应商名称
  8643. type: string
  8644. required:
  8645. - accountid
  8646. - buyorsell
  8647. - goodscode
  8648. - goodsid
  8649. - goodsname
  8650. - marketid
  8651. - orderid
  8652. - time
  8653. - trademode
  8654. type: object
  8655. models.HsbyTopGoods:
  8656. properties:
  8657. agreeunit:
  8658. description: 合约单位
  8659. type: number
  8660. currency:
  8661. description: 货币
  8662. type: string
  8663. currencysign:
  8664. description: 货币符号
  8665. type: string
  8666. decimalplace:
  8667. description: 报价小数位
  8668. type: integer
  8669. desccityid:
  8670. description: 目的地(市)
  8671. type: integer
  8672. descprovinceid:
  8673. description: 目的地(省)
  8674. type: integer
  8675. goodscode:
  8676. description: 商品代码(内部)
  8677. type: string
  8678. goodsid:
  8679. description: 商品ID(自增ID SEQ_GOODS)
  8680. type: integer
  8681. goodsname:
  8682. description: 商品名称
  8683. type: string
  8684. hotindex:
  8685. description: 景点热度
  8686. type: integer
  8687. last:
  8688. description: 现价
  8689. type: number
  8690. marketid:
  8691. description: 所属市场ID
  8692. type: integer
  8693. picurls:
  8694. description: 介绍图片[多张用逗号分隔]
  8695. type: string
  8696. quoteminunit:
  8697. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8698. type: integer
  8699. trademode:
  8700. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8701. 21:竞拍-大宗式 22:受托竞价
  8702. type: integer
  8703. videourls:
  8704. description: 介绍视频[多张用逗号分隔]
  8705. type: string
  8706. required:
  8707. - goodscode
  8708. - goodsid
  8709. - goodsname
  8710. - marketid
  8711. - trademode
  8712. type: object
  8713. models.HybsMyBuyOrderDetail:
  8714. properties:
  8715. accountid:
  8716. description: 账户ID[报价币种]
  8717. type: integer
  8718. agreeunit:
  8719. description: 合约单位
  8720. type: number
  8721. buyorsell:
  8722. description: 买卖 - 0:买 1:卖
  8723. type: integer
  8724. cancelqty:
  8725. description: 撤单数量
  8726. type: integer
  8727. currencysign:
  8728. description: 货币符号
  8729. type: string
  8730. decimalplace:
  8731. description: 报价小数位
  8732. type: integer
  8733. goodscode:
  8734. description: 商品代码(内部)
  8735. type: string
  8736. goodsid:
  8737. description: 商品ID
  8738. type: integer
  8739. goodsname:
  8740. description: 商品名称
  8741. type: string
  8742. listingselecttype:
  8743. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  8744. type: integer
  8745. marketid:
  8746. description: 市场ID
  8747. type: integer
  8748. mybuystatus:
  8749. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  8750. type: integer
  8751. orderamount:
  8752. description: 委托金额
  8753. type: number
  8754. orderid:
  8755. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8756. type: string
  8757. orderprice:
  8758. description: 委托价格
  8759. type: number
  8760. orderqty:
  8761. description: 委托数量
  8762. type: integer
  8763. orderstatus:
  8764. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8765. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8766. 16:成交失败违约(荷兰式竞拍专用)
  8767. type: integer
  8768. ordertime:
  8769. description: 委托时间
  8770. type: string
  8771. picurls1:
  8772. description: 预售商品介绍图片[多张用逗号分隔]
  8773. type: string
  8774. picurls2:
  8775. description: 挂牌商品介绍图片[多张用逗号分隔]
  8776. type: string
  8777. trademode:
  8778. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8779. 21:竞拍-大宗式 22:受托竞价
  8780. type: integer
  8781. tradeqty:
  8782. description: 成交数量
  8783. type: integer
  8784. vendorname1:
  8785. description: 预售商品供应商名称
  8786. type: string
  8787. vendorname2:
  8788. description: 挂牌商品供应商名称
  8789. type: string
  8790. required:
  8791. - accountid
  8792. - buyorsell
  8793. - goodscode
  8794. - goodsid
  8795. - goodsname
  8796. - marketid
  8797. - orderid
  8798. - orderqty
  8799. - ordertime
  8800. - trademode
  8801. type: object
  8802. models.Loginaccount:
  8803. properties:
  8804. accountname:
  8805. description: 账户名称
  8806. type: string
  8807. canoutin:
  8808. description: 是否可出入金 - 0:不可 1:可
  8809. type: integer
  8810. clientroleid:
  8811. description: 终端角色ID
  8812. type: integer
  8813. haslogined:
  8814. description: 是否已登录 - 0:未登录 1:已登录
  8815. type: integer
  8816. hasupdatedpwd:
  8817. description: 是否已更改密码 - 0:未修改 1:已修改
  8818. type: integer
  8819. lastloginip:
  8820. description: 最新登录地址
  8821. type: string
  8822. lastloginmode:
  8823. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  8824. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  8825. type: integer
  8826. lastloginremark:
  8827. description: 最新登录描述
  8828. type: string
  8829. lastlogintime:
  8830. description: 最新登录时间
  8831. type: string
  8832. logincode:
  8833. description: 登录代码
  8834. type: string
  8835. loginfailnum:
  8836. description: 连续登录失败次数(登录成功时清零)
  8837. type: integer
  8838. loginid:
  8839. description: 登陆账号
  8840. type: integer
  8841. loginport:
  8842. description: 最新登录端口
  8843. type: integer
  8844. loginstatus:
  8845. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  8846. type: integer
  8847. loginusertype:
  8848. description: 登录账号类型 - 1:投资者 2:机构交易员
  8849. type: integer
  8850. mobile:
  8851. description: 手机号码(加密存储)
  8852. type: string
  8853. modifierid:
  8854. description: 修改人
  8855. type: integer
  8856. modifysrc:
  8857. description: 审核来源 - 1:管理端 2:终端
  8858. type: integer
  8859. modifytime:
  8860. description: 修改时间
  8861. type: string
  8862. password:
  8863. description: 登陆密码
  8864. type: string
  8865. pwdwrongcount:
  8866. description: 密码错误次数
  8867. type: integer
  8868. relateduserid:
  8869. description: 关联用户ID(机构)
  8870. type: integer
  8871. taaccountrighttype:
  8872. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  8873. type: integer
  8874. unfreezetime:
  8875. description: 账户解冻时间
  8876. type: string
  8877. userid:
  8878. description: 用户ID
  8879. type: integer
  8880. required:
  8881. - loginid
  8882. type: object
  8883. models.MainAccountInfo:
  8884. properties:
  8885. accountid:
  8886. description: 账号id
  8887. type: integer
  8888. accountname:
  8889. description: 账号名称(taaccount表中的名称)
  8890. type: string
  8891. appid:
  8892. description: AppID
  8893. type: string
  8894. authcode:
  8895. description: 授权码
  8896. type: string
  8897. brokerid:
  8898. description: 经纪商id
  8899. type: string
  8900. fcid:
  8901. description: 期货公司id
  8902. type: integer
  8903. fcname:
  8904. description: 期货公司代码
  8905. type: string
  8906. hedgeaccountcode:
  8907. description: 外部账号代码(主账号登录代码)
  8908. type: string
  8909. hedgeaccountpwd:
  8910. description: 密码
  8911. type: string
  8912. ismain:
  8913. description: 是否主账号
  8914. type: integer
  8915. relateduserid:
  8916. description: 关联用户id
  8917. type: integer
  8918. userid:
  8919. description: 关联用户id
  8920. type: integer
  8921. type: object
  8922. models.Market:
  8923. properties:
  8924. auctionwrtype:
  8925. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  8926. type: integer
  8927. canacceptquote:
  8928. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  8929. type: integer
  8930. cangoodsexercise:
  8931. description: '[期权]是否可现货行权- 0:否 1:是'
  8932. type: integer
  8933. cangoodsexercisetype:
  8934. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  8935. type: integer
  8936. canmanualquotestrike:
  8937. description: 是否可手动报行权价- 0:否 1:是 [期权]
  8938. type: integer
  8939. canmutistage:
  8940. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  8941. type: integer
  8942. canpreexercise:
  8943. description: '[期权]是否可预申报- 0:否 1:是'
  8944. type: integer
  8945. clearinterval:
  8946. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  8947. type: integer
  8948. contracttmp:
  8949. description: 合同模板[荷兰式][竞价式][仓单贸易]
  8950. type: string
  8951. exchareaid:
  8952. description: 所属交易所,可以没有
  8953. type: integer
  8954. goodstype:
  8955. description: 商品类型 - 1:交易商品 2:仓单商品
  8956. type: integer
  8957. hasrebate:
  8958. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  8959. type: integer
  8960. hastradecredit:
  8961. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  8962. type: integer
  8963. haswr:
  8964. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  8965. type: integer
  8966. isdeductmargin:
  8967. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  8968. type: integer
  8969. isrecordsource:
  8970. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  8971. type: integer
  8972. isreleasemargin:
  8973. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  8974. type: integer
  8975. marginformula:
  8976. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  8977. type: integer
  8978. marginformula2:
  8979. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  8980. type: integer
  8981. marketid:
  8982. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  8983. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8984. type: integer
  8985. marketname:
  8986. description: 市场名称
  8987. type: string
  8988. marketserviceid:
  8989. description: 市场服务ID
  8990. type: integer
  8991. marketstatus:
  8992. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8993. type: integer
  8994. markettype:
  8995. description: 市场类型- 1:非交易服务 2:交易服务
  8996. type: integer
  8997. matchermode:
  8998. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  8999. type: integer
  9000. openmethod:
  9001. description: 开盘模式 - 0 自动 1手动
  9002. type: integer
  9003. otcuserid:
  9004. description: 场外期权做市商[场外期权]
  9005. type: integer
  9006. outersynctime:
  9007. description: 外部同步时间点(h24:mi:ss)[场外期权]
  9008. type: string
  9009. pendingflag:
  9010. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  9011. type: integer
  9012. pendingtime:
  9013. description: 待开市时间[通道交易-对冲](HH:mm)
  9014. type: string
  9015. performancetempid:
  9016. description: 履约计划模板ID - 作废
  9017. type: integer
  9018. premiumquotemode:
  9019. description: 权利金报价方式 - 1:自动 2:手动
  9020. type: integer
  9021. rebateratio:
  9022. description: 返利比率[竞价式]
  9023. type: number
  9024. reckonorder:
  9025. description: 结算顺序
  9026. type: integer
  9027. reckonpricealgorithm:
  9028. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  9029. 6.卖一价 7.买一卖一均价 8.外部结算价'
  9030. type: integer
  9031. reckonpriceparam:
  9032. description: 结算价参数
  9033. type: integer
  9034. reckontime:
  9035. description: 结算时间[通道交易-对冲](HH:mm)
  9036. type: string
  9037. roleprioritytype:
  9038. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  9039. type: integer
  9040. selllistingauditflag:
  9041. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  9042. type: integer
  9043. trademarkettype:
  9044. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  9045. type: integer
  9046. trademode:
  9047. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9048. 21:竞拍-大宗式 22:受托竞价
  9049. type: integer
  9050. tradeproperty:
  9051. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  9052. 8:场外期权
  9053. type: integer
  9054. tradetype:
  9055. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  9056. type: integer
  9057. required:
  9058. - marketid
  9059. - marketstatus
  9060. - openmethod
  9061. - reckonpricealgorithm
  9062. - trademode
  9063. - tradeproperty
  9064. type: object
  9065. models.Marketrun:
  9066. properties:
  9067. afternexttradedate:
  9068. description: 下下交易日
  9069. type: string
  9070. clearquoteflag:
  9071. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  9072. type: integer
  9073. lastreckondate:
  9074. description: 最新交易日(结算成功)
  9075. type: string
  9076. machinedate:
  9077. description: 机器时间
  9078. type: string
  9079. manualflag:
  9080. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  9081. type: integer
  9082. marketid:
  9083. description: 市场ID
  9084. type: integer
  9085. nexttradedate:
  9086. description: 下一交易日
  9087. type: string
  9088. pretradedate:
  9089. description: 上一交易日
  9090. type: string
  9091. reckonflag:
  9092. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  9093. type: integer
  9094. runstatus:
  9095. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  9096. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  9097. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  9098. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  9099. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  9100. 62.今日免清算
  9101. type: integer
  9102. sectionid:
  9103. description: 时间段号[多时段时用]
  9104. type: integer
  9105. tradedate:
  9106. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  9107. type: string
  9108. tradedate2:
  9109. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  9110. type: string
  9111. updatetime:
  9112. description: 更新时间
  9113. type: string
  9114. required:
  9115. - marketid
  9116. - nexttradedate
  9117. - reckonflag
  9118. - runstatus
  9119. - tradedate
  9120. - tradedate2
  9121. type: object
  9122. models.Messageboard:
  9123. properties:
  9124. contactnum:
  9125. description: 联系电话
  9126. type: string
  9127. createtime:
  9128. description: 创建时间
  9129. type: string
  9130. message:
  9131. description: 留言信息
  9132. type: string
  9133. messageboardid:
  9134. description: 留言簿ID(SEQ_MessageBoard)
  9135. type: integer
  9136. userid:
  9137. description: 用户ID
  9138. type: integer
  9139. required:
  9140. - messageboardid
  9141. type: object
  9142. models.MyCoupon:
  9143. properties:
  9144. accountid:
  9145. description: 资金账户ID
  9146. type: integer
  9147. areauserid:
  9148. description: 所属机构
  9149. type: integer
  9150. conditionvalue:
  9151. description: 条件阈值(可为0)
  9152. type: number
  9153. couponcategroy:
  9154. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  9155. type: integer
  9156. couponname:
  9157. description: 优惠券名称
  9158. type: string
  9159. coupontypeid:
  9160. description: 优惠券类型ID
  9161. type: string
  9162. couponvalue:
  9163. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9164. type: number
  9165. curfreezeqty:
  9166. description: 期末冻结数量
  9167. type: integer
  9168. curqty:
  9169. description: 期末数量
  9170. type: integer
  9171. isgeneral:
  9172. description: 是否通用券 - 0:否 1:是
  9173. type: integer
  9174. isunusable:
  9175. description: 是否不可用
  9176. type: boolean
  9177. limitedflag:
  9178. description: 是否指定商品 - 0:不限 1:限制
  9179. type: integer
  9180. limitedgoodsids:
  9181. description: 指定商品IDs[逗号分隔,前后加逗号]
  9182. type: string
  9183. orifreezeqty:
  9184. description: 期初冻结数量
  9185. type: integer
  9186. oriqty:
  9187. description: 期初数量
  9188. type: integer
  9189. reasontype:
  9190. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  9191. type: integer
  9192. todaydecrease:
  9193. description: 今日减少
  9194. type: integer
  9195. todayincrease:
  9196. description: 今日增加
  9197. type: integer
  9198. userid:
  9199. description: 用户ID
  9200. type: integer
  9201. userscope:
  9202. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  9203. type: string
  9204. required:
  9205. - accountid
  9206. - coupontypeid
  9207. type: object
  9208. models.MyCouponHold:
  9209. properties:
  9210. accountid:
  9211. description: 资金账户ID
  9212. type: integer
  9213. conditionvalue:
  9214. description: 条件阈值(可为0)
  9215. type: number
  9216. couponcategroy:
  9217. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  9218. type: integer
  9219. couponholdid:
  9220. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  9221. type: string
  9222. couponname:
  9223. description: 优惠券名称
  9224. type: string
  9225. coupontypeid:
  9226. description: 优惠券类型ID - SEQ_COUPONTYPE
  9227. type: string
  9228. couponvalue:
  9229. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9230. type: number
  9231. createtime:
  9232. description: 创建时间
  9233. type: string
  9234. enddate:
  9235. description: 结束日期
  9236. type: string
  9237. giveapplyid:
  9238. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  9239. type: integer
  9240. holdstatus:
  9241. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  9242. type: integer
  9243. isgeneral:
  9244. description: 是否通用券 - 0:否 1:是
  9245. type: integer
  9246. limitedflag:
  9247. description: 是否指定商品 - 0:不限 1:限制
  9248. type: integer
  9249. limitedgoodsids:
  9250. description: 指定商品IDs[逗号分隔]
  9251. type: string
  9252. qty:
  9253. description: 数量(按1平铺)
  9254. type: integer
  9255. startdate:
  9256. description: 开始日期
  9257. type: string
  9258. userid:
  9259. description: 用户ID
  9260. type: integer
  9261. userscope:
  9262. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  9263. type: string
  9264. required:
  9265. - couponholdid
  9266. type: object
  9267. models.MyUsedCoupon:
  9268. properties:
  9269. accountid:
  9270. description: 资金账户ID(买方)
  9271. type: integer
  9272. conditionvalue:
  9273. description: 条件阈值(可为0)
  9274. type: number
  9275. couponcategroy:
  9276. description: 种类 - 1:现金券 2:折扣券
  9277. type: integer
  9278. couponname:
  9279. description: 优惠券名称
  9280. type: string
  9281. coupontypeid:
  9282. description: 优惠券类型ID(买方)
  9283. type: string
  9284. couponvalue:
  9285. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  9286. type: number
  9287. createtime:
  9288. description: 创建时间
  9289. type: string
  9290. goodsid:
  9291. description: 商品ID
  9292. type: integer
  9293. handlestatus:
  9294. description: 处理状态
  9295. type: integer
  9296. marketid:
  9297. description: 市场ID
  9298. type: integer
  9299. offamount:
  9300. description: 优惠金额
  9301. type: number
  9302. orderid:
  9303. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9304. type: string
  9305. sellaccountid:
  9306. description: 资金账户ID(卖方)
  9307. type: integer
  9308. tradeamount:
  9309. description: 成交金额
  9310. type: number
  9311. tradeid:
  9312. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9313. type: string
  9314. usedqty:
  9315. description: 使用数量
  9316. type: integer
  9317. required:
  9318. - coupontypeid
  9319. - orderid
  9320. type: object
  9321. models.OperationPrimaryMenu:
  9322. properties:
  9323. Children:
  9324. description: 二级功能菜单
  9325. items:
  9326. $ref: '#/definitions/models.OperationSecondaryMenu'
  9327. type: array
  9328. Key:
  9329. description: 菜单KEY
  9330. type: string
  9331. Label:
  9332. description: 菜单标题
  9333. type: string
  9334. type: object
  9335. models.OperationSecondaryMenu:
  9336. properties:
  9337. Key:
  9338. description: 菜单KEY
  9339. type: string
  9340. Label:
  9341. description: 菜单标题
  9342. type: string
  9343. TabList:
  9344. description: 三级功能菜单
  9345. items:
  9346. $ref: '#/definitions/models.OperationTabMenu'
  9347. type: array
  9348. type: object
  9349. models.OperationTabMenu:
  9350. properties:
  9351. Key:
  9352. description: 菜单KEY
  9353. type: string
  9354. Label:
  9355. description: 菜单标题
  9356. type: string
  9357. type: object
  9358. models.PendingAuditBizModel:
  9359. properties:
  9360. accountid:
  9361. description: 现货账户
  9362. type: string
  9363. areaname:
  9364. description: 所属部门
  9365. type: string
  9366. bizid:
  9367. description: 业务ID
  9368. type: string
  9369. bizname:
  9370. description: 业务名称
  9371. type: string
  9372. status:
  9373. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  9374. type: integer
  9375. type:
  9376. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  9377. type: integer
  9378. type: object
  9379. models.QhjAccountOutInApply:
  9380. properties:
  9381. accountcode:
  9382. description: 资金账号
  9383. type: string
  9384. accountname:
  9385. description: 用户名称(名称)
  9386. type: string
  9387. accountpwd:
  9388. description: 资金密码
  9389. type: string
  9390. accountticket:
  9391. description: 最新账户服务流水号
  9392. type: string
  9393. amount:
  9394. description: 金额
  9395. type: number
  9396. applyremark:
  9397. description: 申请备注
  9398. type: string
  9399. applystatus:
  9400. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  9401. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  9402. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  9403. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  9404. type: integer
  9405. auditid:
  9406. description: 审核人
  9407. type: integer
  9408. audittime:
  9409. description: 审核时间
  9410. type: string
  9411. bank_apply_ticket:
  9412. description: 银行申请流水
  9413. type: string
  9414. bankaccountname:
  9415. description: 银行账户名
  9416. type: string
  9417. bankaccountno:
  9418. description: 银行卡号
  9419. type: string
  9420. bankid:
  9421. description: 银行编号
  9422. type: string
  9423. bankticket:
  9424. description: 银行流水
  9425. type: string
  9426. branchbankid:
  9427. description: 银行支行号
  9428. type: string
  9429. branchbankname:
  9430. description: 银行支行名称
  9431. type: string
  9432. capamountout:
  9433. description: 出金(劣后本金) - 外部子账户
  9434. type: number
  9435. certificatephotourl:
  9436. description: 凭证地址
  9437. type: string
  9438. charge:
  9439. description: 手续费
  9440. type: number
  9441. checkerrorflag:
  9442. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  9443. type: integer
  9444. currency:
  9445. description: 币种
  9446. type: string
  9447. cusbankid:
  9448. description: 托管银行编号
  9449. type: string
  9450. exchticket:
  9451. description: 银行服务流水号
  9452. type: string
  9453. executetype:
  9454. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  9455. 7:外部子账户:入金 8:外部子账户:出金'
  9456. type: integer
  9457. extendinfo:
  9458. description: 扩展信息
  9459. type: string
  9460. extoperateid:
  9461. description: 交易服务流水号
  9462. type: integer
  9463. infamount:
  9464. description: 劣后金额(自有)
  9465. type: number
  9466. logincode:
  9467. description: 登录账号(账号)
  9468. type: string
  9469. netaddr:
  9470. description: 调转网址
  9471. type: string
  9472. priamount:
  9473. description: 优先金额(授信)
  9474. type: number
  9475. reauditid:
  9476. description: 复审人
  9477. type: integer
  9478. reauditremark:
  9479. description: 复审备注
  9480. type: string
  9481. reaudittime:
  9482. description: 复审时间
  9483. type: string
  9484. relatedorderid:
  9485. description: 三方关联ID
  9486. type: string
  9487. remark:
  9488. description: 备注
  9489. type: string
  9490. remark2:
  9491. description: 备注(失败原因)
  9492. type: string
  9493. soucreamount:
  9494. description: 原始出入金金额
  9495. type: number
  9496. soucrecurrencyid:
  9497. description: 原始出入金币种
  9498. type: integer
  9499. tradedate:
  9500. description: 交易日(yyyyMMdd)
  9501. type: string
  9502. updatetime:
  9503. description: 更新时间(申请时间)
  9504. type: string
  9505. userid:
  9506. description: 用户id
  9507. type: integer
  9508. userinfotype:
  9509. description: 账户类型 1-个人 2-企业
  9510. type: integer
  9511. type: object
  9512. models.QhjAgreementChangeLog:
  9513. properties:
  9514. agreementcontent:
  9515. description: 协议内容
  9516. type: string
  9517. agreementfrequency:
  9518. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  9519. type: integer
  9520. agreementid:
  9521. description: 协议ID
  9522. type: integer
  9523. agreementname:
  9524. description: 协议名称
  9525. type: string
  9526. agreementno:
  9527. description: 协议编号
  9528. type: string
  9529. agreementtype:
  9530. description: 协议类型 - 1:注册 2:登录 3:交易
  9531. type: integer
  9532. agreementversion:
  9533. description: 协议版本号
  9534. type: integer
  9535. logid:
  9536. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  9537. type: integer
  9538. reviserid:
  9539. description: 修改人
  9540. type: integer
  9541. revisersrc:
  9542. description: 修改来源 - 1:管理端 2:终端
  9543. type: integer
  9544. updatetime:
  9545. description: 更新时间
  9546. type: string
  9547. type: object
  9548. models.QhjAgreementConfig:
  9549. properties:
  9550. agreementcontent:
  9551. description: 协议内容
  9552. type: string
  9553. agreementfrequency:
  9554. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  9555. type: integer
  9556. agreementid:
  9557. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  9558. type: integer
  9559. agreementname:
  9560. description: 协议名称
  9561. type: string
  9562. agreementno:
  9563. description: 协议编号
  9564. type: string
  9565. agreementtype:
  9566. description: 协议类型 - 1:注册 2:登录 3:交易
  9567. type: integer
  9568. agreementversion:
  9569. description: 协议版本号(从1开始每次修改加1)
  9570. type: integer
  9571. createtime:
  9572. description: 创建时间
  9573. type: string
  9574. creatorid:
  9575. description: 创建人
  9576. type: integer
  9577. creatorsrc:
  9578. description: 创建来源 - 1:管理端 2:终端
  9579. type: integer
  9580. isvalid:
  9581. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  9582. type: integer
  9583. reviserid:
  9584. description: 修改人
  9585. type: integer
  9586. revisersrc:
  9587. description: 修改来源 - 1:管理端 2:终端
  9588. type: integer
  9589. updatetime:
  9590. description: 更新时间
  9591. type: string
  9592. type: object
  9593. models.QhjAreaFinanceConfig:
  9594. properties:
  9595. additionalratio:
  9596. description: 追加款比例
  9597. type: number
  9598. advanceratio:
  9599. description: 预付款比例
  9600. type: number
  9601. alarmratio:
  9602. description: 告警比例
  9603. type: number
  9604. consumptiondirectreward:
  9605. description: 消费直推奖励值
  9606. type: number
  9607. consumptionenabled:
  9608. description: 是否启用消费奖励 - 0:不启用 1:启用
  9609. type: integer
  9610. consumptionindirectreward:
  9611. description: 消费间推奖励值
  9612. type: number
  9613. consumptionmodel:
  9614. description: 消费奖励方式 - 1:比率 2:固定
  9615. type: integer
  9616. customerservicenum:
  9617. description: 客服电话
  9618. type: string
  9619. dayinterestrate:
  9620. description: 日利率
  9621. type: number
  9622. disableconsumptiontips:
  9623. description: 关闭消费奖励提示
  9624. type: string
  9625. modifierid:
  9626. description: 修改人ID
  9627. type: integer
  9628. modifysrc:
  9629. description: 审核来源 - 1:管理端 2:终端
  9630. type: integer
  9631. modifytime:
  9632. description: 修改时间
  9633. type: string
  9634. promotionvalue:
  9635. description: 推广奖励值(固定)
  9636. type: number
  9637. scoreconfigvalue1:
  9638. description: 提货积分配置1
  9639. type: integer
  9640. scoreconfigvalue2:
  9641. description: 提货积分配置2
  9642. type: integer
  9643. userid:
  9644. description: 机构用户ID其他做市关系,都设置为 1
  9645. type: integer
  9646. username:
  9647. description: 用户名称
  9648. type: string
  9649. type: object
  9650. models.QhjBankAccountSign:
  9651. properties:
  9652. accountcode:
  9653. description: 资金账号
  9654. type: string
  9655. accountname:
  9656. description: 资金账号对应的账号名(UserName)
  9657. type: string
  9658. accountname2:
  9659. description: 资金账号对应的账号名(UserName) - 密文
  9660. type: string
  9661. accounttype:
  9662. description: 账户类型(UserType)
  9663. type: integer
  9664. applicationtime:
  9665. description: 最后一次更新的时间
  9666. type: string
  9667. applyexchticket:
  9668. description: 申请流水
  9669. type: string
  9670. auditid:
  9671. description: 审核人
  9672. type: integer
  9673. audittime:
  9674. description: 审核时间
  9675. type: string
  9676. bankaccountname:
  9677. description: 签约银行卡账号名
  9678. type: string
  9679. bankaccountname2:
  9680. description: 签约银行卡账号名 - 密文
  9681. type: string
  9682. bankaccountno:
  9683. description: 银行卡号
  9684. type: string
  9685. bankaccountno2:
  9686. description: 银行卡号 - 密文
  9687. type: string
  9688. bankaccounttype:
  9689. description: 银行账户类型 - 1-对私; 2-对公
  9690. type: integer
  9691. bankcardtype:
  9692. description: 银行卡类型
  9693. type: integer
  9694. bankchildaccount:
  9695. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  9696. type: string
  9697. bankcity:
  9698. description: 开户行城市
  9699. type: string
  9700. bankid:
  9701. description: 签约银行ID
  9702. type: string
  9703. bankname:
  9704. description: 签约银行名称
  9705. type: string
  9706. bankprovince:
  9707. description: 开户行省份
  9708. type: string
  9709. branchbankid:
  9710. description: 签约银行支行号
  9711. type: string
  9712. branchbankname:
  9713. description: 签约银行支行名称
  9714. type: string
  9715. cardno:
  9716. description: 证件号码
  9717. type: string
  9718. cardno2:
  9719. description: 证件号码 - 密文
  9720. type: string
  9721. cardtype:
  9722. description: 证件类型
  9723. type: string
  9724. currency:
  9725. description: 币种
  9726. type: string
  9727. cusbankid:
  9728. description: 托管银行编号
  9729. type: string
  9730. direct:
  9731. description: 方向(可以判断那方先发起的签约)
  9732. type: integer
  9733. exchticket:
  9734. description: 最后一次签约成功的流水号
  9735. type: string
  9736. extendinfo:
  9737. description: 扩展信息(JSON字符串)
  9738. type: string
  9739. mobilephone:
  9740. description: 手机号
  9741. type: string
  9742. mobilephone2:
  9743. description: 手机号 - 密文
  9744. type: string
  9745. netaddr:
  9746. description: 调转网址
  9747. type: string
  9748. relateduserid:
  9749. description: 关联使用者userid
  9750. type: integer
  9751. signstatus:
  9752. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  9753. 10:审核拒绝 11:换签待审核
  9754. type: integer
  9755. updatetime:
  9756. description: 更新时间(签解约更新时间)
  9757. type: string
  9758. type: object
  9759. models.QhjBankInfo:
  9760. properties:
  9761. bankid:
  9762. description: 银行ID
  9763. type: string
  9764. bankname:
  9765. description: 银行名称
  9766. type: string
  9767. clearbankno:
  9768. description: 清算系统银行编号
  9769. type: string
  9770. orderindex:
  9771. description: 排序顺序
  9772. type: integer
  9773. status:
  9774. description: 状态 - 0:正常 1:注销
  9775. type: integer
  9776. type: object
  9777. models.QhjBrokerApply:
  9778. properties:
  9779. applicantid:
  9780. description: 申请人
  9781. type: integer
  9782. applysrc:
  9783. description: 申请来源 - 1:管理端 2:终端
  9784. type: integer
  9785. applystatus:
  9786. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  9787. type: integer
  9788. applytime:
  9789. description: 申请时间
  9790. type: string
  9791. auditorid:
  9792. description: 审核人
  9793. type: integer
  9794. auditremark:
  9795. description: 审核备注
  9796. type: string
  9797. auditsrc:
  9798. description: 审核来源 - 1:管理端 2:终端
  9799. type: integer
  9800. audittime:
  9801. description: 审核时间
  9802. type: string
  9803. audittradedate:
  9804. description: 审核交易日(yyyyMMdd)
  9805. type: string
  9806. brokerapplyid:
  9807. description: 申请ID(SEQ_BROKERAPPLY)
  9808. type: integer
  9809. cardbackphotourl:
  9810. description: 证件背面图片地址
  9811. type: string
  9812. cardfrontphotourl:
  9813. description: 证件正面图片地址
  9814. type: string
  9815. cardnum:
  9816. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  9817. type: string
  9818. customername:
  9819. description: 姓名
  9820. type: string
  9821. logincode:
  9822. description: 登录代码
  9823. type: string
  9824. mobile:
  9825. description: 手机号码
  9826. type: string
  9827. parentuserid:
  9828. description: 所属机构id
  9829. type: integer
  9830. parentusername:
  9831. description: 所属机构名称
  9832. type: string
  9833. refereeuserid:
  9834. description: 推荐人id(经纪人)
  9835. type: integer
  9836. refernum:
  9837. description: 推荐码
  9838. type: string
  9839. remark:
  9840. description: 备注
  9841. type: string
  9842. subarealevelpath:
  9843. description: 层级路径
  9844. type: string
  9845. tradedate:
  9846. description: 交易日(yyyyMMdd)
  9847. type: string
  9848. userid:
  9849. description: 申请人用户ID
  9850. type: integer
  9851. userinfotype:
  9852. description: 用户类型 1-个人 2-企业
  9853. type: integer
  9854. username:
  9855. description: 用户名称
  9856. type: string
  9857. type: object
  9858. models.QhjBrokerApplyEx:
  9859. properties:
  9860. applylist:
  9861. description: 经纪人申请记录(只返回最新一条)
  9862. items:
  9863. $ref: '#/definitions/models.QhjBrokerApply'
  9864. type: array
  9865. canrecommend:
  9866. description: 是否经纪人 0-不是 1-是
  9867. type: integer
  9868. refernum:
  9869. description: 推荐码
  9870. type: string
  9871. userid:
  9872. description: 用户id
  9873. type: integer
  9874. userinfotype:
  9875. description: 用户类型 1-个人 2-企业
  9876. type: integer
  9877. type: object
  9878. models.QhjBrokerRewardLog:
  9879. properties:
  9880. accountid:
  9881. description: 资金账号ID
  9882. type: integer
  9883. createtime:
  9884. description: 创建时间(时间)
  9885. type: string
  9886. handlestatus:
  9887. description: 处理状态
  9888. type: integer
  9889. logid:
  9890. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9891. type: string
  9892. marketid:
  9893. description: 市场ID
  9894. type: integer
  9895. mmaccountid:
  9896. description: 做市商资金账号ID
  9897. type: string
  9898. mmuserid:
  9899. description: 做市商用户ID
  9900. type: string
  9901. rewardamount:
  9902. description: 奖励金额
  9903. type: number
  9904. rewardmodel:
  9905. description: 消费奖励方式 - 1:比率 2:固定
  9906. type: integer
  9907. rewardtype:
  9908. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  9909. type: integer
  9910. rewardvalue:
  9911. description: 配置奖励值
  9912. type: number
  9913. srcamount:
  9914. description: 成交金额 [消费奖励] (金额)
  9915. type: number
  9916. srcgoodsid:
  9917. description: 来源商品ID [消费奖励]
  9918. type: string
  9919. srctime:
  9920. description: 来源时间 (成交时间) [消费奖励]
  9921. type: string
  9922. srctradeid:
  9923. description: 来源成交单ID [消费奖励] - 排除提货成交
  9924. type: string
  9925. srcuserid:
  9926. description: 来源用户ID(推广账户)
  9927. type: string
  9928. srcusername:
  9929. description: 推广账户名称
  9930. type: string
  9931. tradedate:
  9932. description: 交易日(yyyyMMdd)
  9933. type: string
  9934. userid:
  9935. description: 经纪人用户ID
  9936. type: integer
  9937. type: object
  9938. models.QhjContract:
  9939. properties:
  9940. contractconfirmtime:
  9941. description: 合同确认时间(时间)
  9942. type: string
  9943. currisklevel:
  9944. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  9945. type: integer
  9946. decimalplace:
  9947. description: 商品报价小数位
  9948. type: integer
  9949. enumdicname:
  9950. description: 单位名称
  9951. type: string
  9952. goodscode:
  9953. description: 商品代码
  9954. type: string
  9955. goodsid:
  9956. description: 商品ID [5:融资单]
  9957. type: integer
  9958. goodsname:
  9959. description: 商品名称
  9960. type: string
  9961. goodunitid:
  9962. description: 商品单位id
  9963. type: integer
  9964. initmargin:
  9965. description: 初始保证金(首付款)
  9966. type: number
  9967. lenderamount:
  9968. description: 贷款金额(总额|订单总额)
  9969. type: number
  9970. marginratio:
  9971. description: 保证金比率(首付比例)
  9972. type: number
  9973. payamount:
  9974. description: 已付(已付货款)
  9975. type: number
  9976. reckonrecovermargin:
  9977. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  9978. type: number
  9979. recoveredmargin:
  9980. description: 已追缴保证金
  9981. type: number
  9982. remainamount:
  9983. description: 合同剩余金额(融资额)
  9984. type: number
  9985. scfcontractid:
  9986. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  9987. type: string
  9988. scfcontractstatus:
  9989. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  9990. 9:违约结束 10:已注销 11:已关闭 99:未提交
  9991. type: integer
  9992. scfcontracttype:
  9993. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  9994. type: integer
  9995. totalinterest:
  9996. description: 已计总利息(利息)
  9997. type: number
  9998. tradeprice:
  9999. description: 成交价格(成本价格)
  10000. type: number
  10001. userid:
  10002. description: 用户ID
  10003. type: integer
  10004. username:
  10005. description: 用户名称
  10006. type: string
  10007. wrqty:
  10008. description: 仓单数量(数量)
  10009. type: number
  10010. type: object
  10011. models.QhjContractLog:
  10012. properties:
  10013. amount:
  10014. description: 支付金额
  10015. type: number
  10016. amounttype:
  10017. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  10018. type: integer
  10019. logid:
  10020. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10021. type: string
  10022. remainamount:
  10023. description: 剩余货款
  10024. type: number
  10025. scfcontractid:
  10026. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10027. type: integer
  10028. updatetime:
  10029. description: 更新时间
  10030. type: string
  10031. type: object
  10032. models.QhjCusBankSignBankEx:
  10033. properties:
  10034. banklst:
  10035. description: 银行列表
  10036. items:
  10037. $ref: '#/definitions/models.QhjBankInfo'
  10038. type: array
  10039. canallot:
  10040. description: 是否支持跨行调拨 - 0:不支持 1:支持
  10041. type: integer
  10042. canallotquery:
  10043. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  10044. type: integer
  10045. canbindcard:
  10046. description: 是否可绑卡与解卡 - 0:不可 1:可以
  10047. type: integer
  10048. caninamount:
  10049. description: 是否可入金 - 0:不可 1:可以
  10050. type: integer
  10051. caninamount2:
  10052. description: 是否可入金(网银端) - 0:不可 1:可以
  10053. type: integer
  10054. canmodifybankcard:
  10055. description: 是否可修改银行卡号 - 0:不可 1:可以
  10056. type: integer
  10057. canmodifyphone:
  10058. description: 是否可修改手机号 - 0:不可 1:可以
  10059. type: integer
  10060. canmodifysigninfo:
  10061. description: 是否可修改签约信息 - 0:不可 1:可以
  10062. type: integer
  10063. canoutamount:
  10064. description: 是否可出金 - 0:不可 1:可以
  10065. type: integer
  10066. canoutamount2:
  10067. description: 是否可出金(网银端) - 0:不可 1:可以
  10068. type: integer
  10069. canrelease:
  10070. description: 是否可解约 - 0:不可 1:可以
  10071. type: integer
  10072. canrelease2:
  10073. description: 是否可解约(网银端) - 0:不可 1:可以
  10074. type: integer
  10075. cansign:
  10076. description: 是否可签约 - 0:不可 1:可以
  10077. type: integer
  10078. cansign2:
  10079. description: 是否可签约(网银端) - 0:不可 1:可以
  10080. type: integer
  10081. currency:
  10082. description: 币种
  10083. type: string
  10084. cusbankid:
  10085. description: 托管银行编号(对应清算中心TRAN_NO)
  10086. type: string
  10087. cusbankname:
  10088. description: 银行业务名称
  10089. type: string
  10090. cusbankshortname:
  10091. description: 银行业务简称
  10092. type: string
  10093. exchbankid:
  10094. description: 交易所开户银行ID
  10095. type: string
  10096. exchpaybankaccname:
  10097. description: 交易所支出结算账户户名
  10098. type: string
  10099. exchpaybankaccno:
  10100. description: 交易所支出结算账户
  10101. type: string
  10102. isneedcheck:
  10103. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  10104. type: integer
  10105. isneedclear:
  10106. description: 是否需要清算 - 0:不需要 1:需要
  10107. type: integer
  10108. lastcheckstatus:
  10109. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  10110. type: integer
  10111. lastchecktime:
  10112. description: 最后对账时间
  10113. type: string
  10114. lastclearstatus:
  10115. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  10116. type: integer
  10117. lastcleartime:
  10118. description: 最后清算时间
  10119. type: string
  10120. lastsignintime:
  10121. description: 最后签到时间
  10122. type: string
  10123. lastsignouttime:
  10124. description: 最后签退时间
  10125. type: string
  10126. riskinfo:
  10127. description: 签约风险提示书
  10128. type: string
  10129. signstatus:
  10130. description: 当前签到/签退状态 - 1:签到 2:签退
  10131. type: integer
  10132. tradedate:
  10133. description: 交易日(yyyyMMdd)
  10134. type: string
  10135. updatetime:
  10136. description: 当前签到/签退更新时间
  10137. type: string
  10138. type: object
  10139. models.QhjCustomer:
  10140. properties:
  10141. address:
  10142. description: 通讯地址
  10143. type: string
  10144. attachment1:
  10145. description: 附件1
  10146. type: string
  10147. audittime:
  10148. description: 审核时间
  10149. type: string
  10150. cardbackphotourl:
  10151. description: 证件反面图片地址
  10152. type: string
  10153. cardfrontphotourl:
  10154. description: 证件正面图片地址
  10155. type: string
  10156. cardnum:
  10157. description: 证件号码
  10158. type: string
  10159. cardtype:
  10160. description: 证件类型
  10161. type: integer
  10162. cardtypename:
  10163. description: 证件类型名称
  10164. type: string
  10165. cityid:
  10166. description: 市
  10167. type: integer
  10168. cityname:
  10169. description: 城市名称
  10170. type: string
  10171. contactname:
  10172. description: 联系人
  10173. type: string
  10174. countryid:
  10175. description: 国家
  10176. type: integer
  10177. countryname:
  10178. description: 国家名称
  10179. type: string
  10180. createtime:
  10181. description: 创建时间
  10182. type: string
  10183. customername:
  10184. description: 客户名称
  10185. type: string
  10186. districtid:
  10187. description: 区域
  10188. type: integer
  10189. districtname:
  10190. description: 地区名称
  10191. type: string
  10192. email:
  10193. description: 邮件
  10194. type: string
  10195. legalpersonname:
  10196. description: 法人姓名(企业)
  10197. type: string
  10198. logincode:
  10199. description: 登录账号(代码)
  10200. type: string
  10201. memberuserid:
  10202. description: 所属机构ID(所属会员)
  10203. type: integer
  10204. memberusername:
  10205. description: 所属会员名称
  10206. type: string
  10207. mobile:
  10208. description: 手机号码
  10209. type: string
  10210. modifytime:
  10211. description: 修改时间
  10212. type: string
  10213. nickname:
  10214. description: 昵称
  10215. type: string
  10216. parentuserid:
  10217. description: 上级机构(所属机构)
  10218. type: integer
  10219. parentusername:
  10220. description: 所属机构名称
  10221. type: string
  10222. provinceid:
  10223. description: 省
  10224. type: integer
  10225. provincename:
  10226. description: 省名称
  10227. type: string
  10228. proxystatementurl:
  10229. description: 授权委托书
  10230. type: string
  10231. remark:
  10232. description: 备注
  10233. type: string
  10234. status:
  10235. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  10236. type: integer
  10237. statusdesc:
  10238. description: 账户状态中文描述
  10239. type: string
  10240. taxpayernum:
  10241. description: 纳税人识别号
  10242. type: string
  10243. telphone:
  10244. description: 联系电话
  10245. type: string
  10246. userid:
  10247. description: 用户ID
  10248. type: integer
  10249. userinfotype:
  10250. description: 客户类型 1-个人 2-企业
  10251. type: integer
  10252. username:
  10253. description: 用户名称
  10254. type: string
  10255. type: object
  10256. models.QhjCustomerSignLog:
  10257. properties:
  10258. agreementcontent:
  10259. description: 协议内容
  10260. type: string
  10261. agreementid:
  10262. description: 协议ID
  10263. type: integer
  10264. agreementname:
  10265. description: 协议名称
  10266. type: string
  10267. agreementno:
  10268. description: 协议编号
  10269. type: string
  10270. agreementtype:
  10271. description: 协议类型 - 1:注册 2:登录 3:交易
  10272. type: integer
  10273. agreementversion:
  10274. description: 协议版本号
  10275. type: integer
  10276. createtime:
  10277. description: 创建时间
  10278. type: string
  10279. goodscode:
  10280. description: 商品代码
  10281. type: string
  10282. goodsid:
  10283. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  10284. type: integer
  10285. goodsname:
  10286. description: 商品名称
  10287. type: string
  10288. logid:
  10289. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  10290. type: integer
  10291. nodetype:
  10292. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  10293. type: integer
  10294. signadressurl:
  10295. description: 签约文件地址
  10296. type: string
  10297. signtimestamp:
  10298. description: 签约状态时间戳
  10299. type: string
  10300. userid:
  10301. description: 客户ID
  10302. type: integer
  10303. username:
  10304. description: 客户名称
  10305. type: string
  10306. type: object
  10307. models.QhjCustomerSignStatus:
  10308. properties:
  10309. createtime:
  10310. description: 创建时间
  10311. type: string
  10312. goodscode:
  10313. description: 商品代码
  10314. type: string
  10315. goodsid:
  10316. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  10317. type: integer
  10318. goodsname:
  10319. description: 商品名称
  10320. type: string
  10321. nodetype:
  10322. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  10323. type: integer
  10324. signtimestamp:
  10325. description: 签约状态时间戳
  10326. type: string
  10327. tradedate:
  10328. description: 创建交易日(yyyyMMdd)
  10329. type: string
  10330. updatetime:
  10331. description: 更新时间
  10332. type: string
  10333. userid:
  10334. description: 客户ID
  10335. type: integer
  10336. username:
  10337. description: 客户名称
  10338. type: string
  10339. type: object
  10340. models.QhjMgrAccountOutInApply:
  10341. properties:
  10342. accountcode:
  10343. description: 资金账号
  10344. type: string
  10345. accountname:
  10346. description: 用户名称(名称)
  10347. type: string
  10348. accountpwd:
  10349. description: 资金密码
  10350. type: string
  10351. accountticket:
  10352. description: 最新账户服务流水号
  10353. type: string
  10354. amount:
  10355. description: 金额
  10356. type: number
  10357. applyremark:
  10358. description: 申请备注
  10359. type: string
  10360. applystatus:
  10361. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  10362. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  10363. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  10364. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  10365. type: integer
  10366. auditid:
  10367. description: 审核人
  10368. type: integer
  10369. audittime:
  10370. description: 审核时间
  10371. type: string
  10372. bank_apply_ticket:
  10373. description: 银行申请流水
  10374. type: string
  10375. bankaccountname:
  10376. description: 银行账户名
  10377. type: string
  10378. bankaccountno:
  10379. description: 银行卡号
  10380. type: string
  10381. bankid:
  10382. description: 银行编号
  10383. type: string
  10384. bankname:
  10385. description: 银行名称
  10386. type: string
  10387. bankticket:
  10388. description: 银行流水
  10389. type: string
  10390. branchbankid:
  10391. description: 银行支行号
  10392. type: string
  10393. branchbankname:
  10394. description: 银行支行名称
  10395. type: string
  10396. capamountout:
  10397. description: 出金(劣后本金) - 外部子账户
  10398. type: number
  10399. certificatephotourl:
  10400. description: 凭证地址
  10401. type: string
  10402. charge:
  10403. description: 手续费
  10404. type: number
  10405. checkerrorflag:
  10406. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  10407. type: integer
  10408. currency:
  10409. description: 币种
  10410. type: string
  10411. cusbankid:
  10412. description: 托管银行编号
  10413. type: string
  10414. exchticket:
  10415. description: 银行服务流水号
  10416. type: string
  10417. executetype:
  10418. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  10419. 7:外部子账户:入金 8:外部子账户:出金'
  10420. type: integer
  10421. extendinfo:
  10422. description: 扩展信息
  10423. type: string
  10424. extoperateid:
  10425. description: 交易服务流水号
  10426. type: integer
  10427. infamount:
  10428. description: 劣后金额(自有)
  10429. type: number
  10430. logincode:
  10431. description: 登录账号(账号)
  10432. type: string
  10433. netaddr:
  10434. description: 调转网址
  10435. type: string
  10436. priamount:
  10437. description: 优先金额(授信)
  10438. type: number
  10439. reauditid:
  10440. description: 复审人
  10441. type: integer
  10442. reauditremark:
  10443. description: 复审备注
  10444. type: string
  10445. reaudittime:
  10446. description: 复审时间
  10447. type: string
  10448. relatedorderid:
  10449. description: 三方关联ID
  10450. type: string
  10451. remark:
  10452. description: 备注
  10453. type: string
  10454. remark2:
  10455. description: 备注(失败原因)
  10456. type: string
  10457. soucreamount:
  10458. description: 原始出入金金额
  10459. type: number
  10460. soucrecurrencyid:
  10461. description: 原始出入金币种
  10462. type: integer
  10463. tradedate:
  10464. description: 交易日(yyyyMMdd)
  10465. type: string
  10466. updatetime:
  10467. description: 更新时间(申请时间)
  10468. type: string
  10469. userid:
  10470. description: 用户id
  10471. type: integer
  10472. userinfotype:
  10473. description: 账户类型 1-个人 2-企业
  10474. type: integer
  10475. type: object
  10476. models.QhjMgrBrokerApply:
  10477. properties:
  10478. applicantid:
  10479. description: 申请人
  10480. type: integer
  10481. applysrc:
  10482. description: 申请来源 - 1:管理端 2:终端
  10483. type: integer
  10484. applystatus:
  10485. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  10486. type: integer
  10487. applytime:
  10488. description: 申请时间
  10489. type: string
  10490. auditorid:
  10491. description: 审核人
  10492. type: integer
  10493. auditremark:
  10494. description: 审核备注
  10495. type: string
  10496. auditsrc:
  10497. description: 审核来源 - 1:管理端 2:终端
  10498. type: integer
  10499. audittime:
  10500. description: 审核时间
  10501. type: string
  10502. audittradedate:
  10503. description: 审核交易日(yyyyMMdd)
  10504. type: string
  10505. brokerapplyid:
  10506. description: 申请ID(SEQ_BROKERAPPLY)
  10507. type: integer
  10508. cardbackphotourl:
  10509. description: 证件背面图片地址
  10510. type: string
  10511. cardfrontphotourl:
  10512. description: 证件正面图片地址
  10513. type: string
  10514. cardnum:
  10515. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  10516. type: string
  10517. customername:
  10518. description: 姓名
  10519. type: string
  10520. filterstatus:
  10521. description: 筛选条件
  10522. type: string
  10523. logincode:
  10524. description: 登录代码
  10525. type: string
  10526. mobile:
  10527. description: 手机号码
  10528. type: string
  10529. parentuserid:
  10530. description: 所属机构id
  10531. type: integer
  10532. parentusername:
  10533. description: 所属机构名称
  10534. type: string
  10535. refereeuserid:
  10536. description: 推荐人id(经纪人)
  10537. type: integer
  10538. refernum:
  10539. description: 推荐码
  10540. type: string
  10541. remark:
  10542. description: 备注
  10543. type: string
  10544. subarealevelpath:
  10545. description: 层级路径
  10546. type: string
  10547. tradedate:
  10548. description: 交易日(yyyyMMdd)
  10549. type: string
  10550. userid:
  10551. description: 申请人用户ID
  10552. type: integer
  10553. userinfotype:
  10554. description: 用户类型 1-个人 2-企业
  10555. type: integer
  10556. username:
  10557. description: 用户名称
  10558. type: string
  10559. type: object
  10560. models.QhjMgrBrokerRewardReport:
  10561. properties:
  10562. createtime:
  10563. description: 创建时间(注册时间)
  10564. type: string
  10565. cycletime:
  10566. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  10567. type: string
  10568. cycletype:
  10569. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  10570. type: integer
  10571. directtotalnum:
  10572. description: 直推总人数【期末】
  10573. type: integer
  10574. indirecttotalnum:
  10575. description: 间推总人数【期末】
  10576. type: integer
  10577. mobile:
  10578. description: 电话号码
  10579. type: string
  10580. refereeuserid:
  10581. description: 推荐人id(经纪人id)
  10582. type: integer
  10583. refereeusername:
  10584. description: 推荐人名称(经纪人) 上级经纪人名称
  10585. type: string
  10586. refernum:
  10587. description: 推荐码
  10588. type: string
  10589. subarealevelpath:
  10590. description: 用户层级路径
  10591. type: string
  10592. todayrewardamount:
  10593. description: 奖励总金额【汇总】
  10594. type: number
  10595. updatetime:
  10596. description: 更新时间
  10597. type: string
  10598. userid:
  10599. description: 经纪人用户ID
  10600. type: integer
  10601. userinfotype:
  10602. description: 用户类型 1-个人 2-企业
  10603. type: integer
  10604. username:
  10605. description: 用户名称
  10606. type: string
  10607. type: object
  10608. models.QhjMgrContract:
  10609. properties:
  10610. contractconfirmtime:
  10611. description: 合同确认时间(时间)
  10612. type: string
  10613. currisklevel:
  10614. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  10615. type: integer
  10616. decimalplace:
  10617. description: 商品报价小数位
  10618. type: integer
  10619. enumdicname:
  10620. description: 单位名称
  10621. type: string
  10622. goodscode:
  10623. description: 商品代码
  10624. type: string
  10625. goodsid:
  10626. description: 商品ID [5:融资单]
  10627. type: integer
  10628. goodsname:
  10629. description: 商品名称
  10630. type: string
  10631. goodunitid:
  10632. description: 商品单位id
  10633. type: integer
  10634. initmargin:
  10635. description: 初始保证金(首付款)
  10636. type: number
  10637. lenderamount:
  10638. description: 贷款金额(总额|订单总额)
  10639. type: number
  10640. logincode:
  10641. description: 账号(登录代码)
  10642. type: string
  10643. marginratio:
  10644. description: 保证金比率(首付比例)
  10645. type: number
  10646. mobile:
  10647. description: 电话号码(用户资料里的电话)
  10648. type: string
  10649. payamount:
  10650. description: 已付(已付货款)
  10651. type: number
  10652. reckonrecovermargin:
  10653. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  10654. type: number
  10655. recoveredmargin:
  10656. description: 已追缴保证金
  10657. type: number
  10658. remainamount:
  10659. description: 合同剩余金额(融资额)
  10660. type: number
  10661. scfcontractid:
  10662. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10663. type: string
  10664. scfcontractstatus:
  10665. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  10666. 9:违约结束 10:已注销 11:已关闭 99:未提交
  10667. type: integer
  10668. scfcontracttype:
  10669. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  10670. type: integer
  10671. totalinterest:
  10672. description: 已计总利息(利息)
  10673. type: number
  10674. tradedate:
  10675. description: 交易日
  10676. type: string
  10677. tradeprice:
  10678. description: 成交价格(成本价格)
  10679. type: number
  10680. userid:
  10681. description: 用户ID
  10682. type: integer
  10683. userinfotype:
  10684. description: 用户类型 1-个人 2-企业
  10685. type: integer
  10686. username:
  10687. description: 用户名称
  10688. type: string
  10689. wrqty:
  10690. description: 仓单数量(数量)
  10691. type: number
  10692. type: object
  10693. models.QhjMgrCustomer:
  10694. properties:
  10695. address:
  10696. description: 通讯地址
  10697. type: string
  10698. attachment1:
  10699. description: 附件1
  10700. type: string
  10701. audittime:
  10702. description: 审核时间
  10703. type: string
  10704. birthday:
  10705. description: 生日
  10706. type: string
  10707. brokerid:
  10708. description: 所属客户经理id
  10709. type: integer
  10710. brokername:
  10711. description: 所属客户经理名称
  10712. type: string
  10713. cardbackphotourl:
  10714. description: 证件反面图片地址
  10715. type: string
  10716. cardfrontphotourl:
  10717. description: 证件正面图片地址
  10718. type: string
  10719. cardnum:
  10720. description: 证件号码
  10721. type: string
  10722. cardtype:
  10723. description: 证件类型
  10724. type: integer
  10725. cardtypename:
  10726. description: 证件类型名称
  10727. type: string
  10728. cityid:
  10729. description: 市
  10730. type: integer
  10731. cityname:
  10732. description: 城市名称
  10733. type: string
  10734. contactname:
  10735. description: 联系人
  10736. type: string
  10737. countryid:
  10738. description: 国家
  10739. type: integer
  10740. countryname:
  10741. description: 国家名称
  10742. type: string
  10743. createtime:
  10744. description: 创建时间
  10745. type: string
  10746. customername:
  10747. description: 客户名称
  10748. type: string
  10749. districtid:
  10750. description: 区域
  10751. type: integer
  10752. districtname:
  10753. description: 地区名称
  10754. type: string
  10755. email:
  10756. description: 邮件
  10757. type: string
  10758. legalpersonname:
  10759. description: 法人姓名(企业)
  10760. type: string
  10761. logincode:
  10762. description: 登录账号(代码)
  10763. type: string
  10764. memberuserid:
  10765. description: 所属机构ID(所属会员)
  10766. type: integer
  10767. memberusername:
  10768. description: 所属会员名称
  10769. type: string
  10770. mobile:
  10771. description: 手机号码
  10772. type: string
  10773. modifytime:
  10774. description: 修改时间
  10775. type: string
  10776. nickname:
  10777. description: 昵称
  10778. type: string
  10779. parentuserid:
  10780. description: 上级机构(所属机构)
  10781. type: integer
  10782. parentusername:
  10783. description: 所属机构名称
  10784. type: string
  10785. provinceid:
  10786. description: 省
  10787. type: integer
  10788. provincename:
  10789. description: 省名称
  10790. type: string
  10791. proxystatementurl:
  10792. description: 授权委托书
  10793. type: string
  10794. querytype:
  10795. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  10796. type: integer
  10797. remark:
  10798. description: 备注
  10799. type: string
  10800. sex:
  10801. description: 性别 0-女 1-男
  10802. type: integer
  10803. status:
  10804. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过
  10805. ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  10806. type: integer
  10807. statusdesc:
  10808. description: 账户状态中文描述
  10809. type: string
  10810. taxpayernum:
  10811. description: 纳税人识别号
  10812. type: string
  10813. telphone:
  10814. description: 联系电话
  10815. type: string
  10816. userid:
  10817. description: 用户ID
  10818. type: integer
  10819. userinfotype:
  10820. description: 客户类型 1-个人 2-企业
  10821. type: integer
  10822. username:
  10823. description: 用户名称
  10824. type: string
  10825. type: object
  10826. models.QhjMgrPickGoods:
  10827. properties:
  10828. enumdicname:
  10829. description: 单位名称(提货商品)
  10830. type: string
  10831. goodsid:
  10832. description: 商品id
  10833. type: integer
  10834. imageaddress:
  10835. description: 图片
  10836. type: string
  10837. modifierid:
  10838. description: 修改人
  10839. type: integer
  10840. modifiername:
  10841. description: 修改人名称
  10842. type: string
  10843. modifysrc:
  10844. description: 修改来源 - 1:管理端 2:终端
  10845. type: integer
  10846. pickupgoodsagreeunit:
  10847. description: 合约乘数
  10848. type: number
  10849. pickupgoodsdesc:
  10850. description: 描述
  10851. type: string
  10852. pickupgoodsid:
  10853. description: 提货商品ID
  10854. type: string
  10855. pickupgoodsname:
  10856. description: 提货商品名称
  10857. type: string
  10858. pickupgoodsstatus:
  10859. description: 状态 - 1:正常 2:停用 3:注销
  10860. type: integer
  10861. pickupgoodsunitid:
  10862. description: 单位ID
  10863. type: integer
  10864. pickupratio:
  10865. description: 提货系数
  10866. type: number
  10867. preparedays:
  10868. description: 备货期(天)
  10869. type: integer
  10870. remark:
  10871. description: 备注
  10872. type: string
  10873. updatetime:
  10874. description: 更新时间
  10875. type: string
  10876. type: object
  10877. models.QhjMgrPositionRsp:
  10878. properties:
  10879. accountid:
  10880. description: 账号Id
  10881. type: integer
  10882. accountname:
  10883. description: 用户名称
  10884. type: string
  10885. agreeunit:
  10886. description: 合约乘数
  10887. type: number
  10888. averageprice:
  10889. description: 均价
  10890. type: number
  10891. avialqty:
  10892. description: 可用数量
  10893. type: number
  10894. decimalplace:
  10895. description: 报价小数位
  10896. type: integer
  10897. enumdicname:
  10898. description: 单位名称(商品)
  10899. type: string
  10900. frozenqty:
  10901. description: 冻结数量
  10902. type: number
  10903. goodscode:
  10904. description: 商品代码(内部)
  10905. type: string
  10906. goodsid:
  10907. description: 商品Id
  10908. type: integer
  10909. goodsname:
  10910. description: 商品名称
  10911. type: string
  10912. goodunitid:
  10913. description: 报价单位ID
  10914. type: integer
  10915. holderamount:
  10916. description: 金额
  10917. type: number
  10918. holderqty:
  10919. description: 持有数量
  10920. type: number
  10921. holdertype:
  10922. description: 持仓类别 - 1:单边持仓 2:双边持仓
  10923. type: integer
  10924. logincode:
  10925. description: 登录代码(账户)
  10926. type: string
  10927. marketid:
  10928. description: 市场id
  10929. type: integer
  10930. qtydecimalplace:
  10931. description: 成交量小数位
  10932. type: integer
  10933. trademode:
  10934. description: 交易模式
  10935. type: integer
  10936. userid:
  10937. description: 用户id
  10938. type: integer
  10939. userinfotype:
  10940. description: 账户类型 1-个人 2-企业
  10941. type: integer
  10942. type: object
  10943. models.QhjMgrSubArea:
  10944. properties:
  10945. accountname:
  10946. description: 账户名称(机构名称)
  10947. type: string
  10948. memberuserid:
  10949. description: 所属会员ID
  10950. type: integer
  10951. parenttopuser:
  10952. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  10953. type: string
  10954. parentuserid:
  10955. description: 所属机构ID
  10956. type: integer
  10957. rootuserid:
  10958. description: 根用户ID
  10959. type: string
  10960. subaccountlevel:
  10961. description: 子账户层数
  10962. type: integer
  10963. subarealevelpath:
  10964. description: 子机构层级路径(逗号分隔,首尾加逗号)
  10965. type: string
  10966. userid:
  10967. description: 用户ID
  10968. type: integer
  10969. usertype:
  10970. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  10971. type: integer
  10972. type: object
  10973. models.QhjMgrTradeDetailRsp:
  10974. properties:
  10975. accountid:
  10976. description: 资金账号
  10977. type: integer
  10978. accountname:
  10979. description: 用户名称
  10980. type: string
  10981. agreeunit:
  10982. description: 合约乘数
  10983. type: number
  10984. buyorsell:
  10985. description: 成交类型(方向) 0:买 1:卖
  10986. type: integer
  10987. decimalplace:
  10988. description: 报价小数位
  10989. type: integer
  10990. enumdicname:
  10991. description: 单位名称(商品)
  10992. type: string
  10993. goodscode:
  10994. description: 商品代码(内部)
  10995. type: string
  10996. goodsid:
  10997. description: 商品id
  10998. type: integer
  10999. goodsname:
  11000. description: 商品名称
  11001. type: string
  11002. goodunitid:
  11003. description: 报价单位ID
  11004. type: integer
  11005. logincode:
  11006. description: 登录代码(账户)
  11007. type: string
  11008. marketid:
  11009. description: 市场id
  11010. type: integer
  11011. orderid:
  11012. description: 关联委托单号
  11013. type: string
  11014. qtydecimalplace:
  11015. description: 成交量小数位
  11016. type: integer
  11017. tradeamount:
  11018. description: 金额
  11019. type: number
  11020. tradedate:
  11021. description: 交易日
  11022. type: string
  11023. tradeid:
  11024. description: 成交单号
  11025. type: string
  11026. trademode:
  11027. description: 交易模式
  11028. type: integer
  11029. tradeprice:
  11030. description: 价格
  11031. type: number
  11032. tradeqty:
  11033. description: 数量
  11034. type: number
  11035. tradetime:
  11036. description: 成交时间
  11037. type: string
  11038. userid:
  11039. description: 用户id
  11040. type: integer
  11041. userinfotype:
  11042. description: 账户类型 1-个人 2-企业
  11043. type: integer
  11044. type: object
  11045. models.QhjMgrTradeOrderDetailRsp:
  11046. properties:
  11047. accountid:
  11048. description: 资金账号
  11049. type: integer
  11050. accountname:
  11051. description: 用户名称
  11052. type: string
  11053. agreeunit:
  11054. description: 合约乘数
  11055. type: number
  11056. amount:
  11057. description: 金额
  11058. type: number
  11059. decimalplace:
  11060. description: 报价小数位
  11061. type: integer
  11062. enumdicname:
  11063. description: 单位名称(商品)
  11064. type: string
  11065. goodscode:
  11066. description: 商品代码(内部)
  11067. type: string
  11068. goodsid:
  11069. description: 商品id
  11070. type: integer
  11071. goodsname:
  11072. description: 商品名称
  11073. type: string
  11074. goodunitid:
  11075. description: 报价单位ID
  11076. type: integer
  11077. logincode:
  11078. description: 登录代码(账户)
  11079. type: string
  11080. marketid:
  11081. description: 市场id
  11082. type: integer
  11083. orderid:
  11084. description: 关联委托单号
  11085. type: string
  11086. orderprice:
  11087. description: 价格
  11088. type: number
  11089. orderqty:
  11090. description: 数量
  11091. type: number
  11092. orderstatus:
  11093. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  11094. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  11095. 16:成交失败违约(荷兰式竞拍专用)
  11096. type: integer
  11097. ordertime:
  11098. description: 委托时间
  11099. type: string
  11100. qtydecimalplace:
  11101. description: 成交量小数位
  11102. type: integer
  11103. tradedate:
  11104. description: 交易日
  11105. type: string
  11106. trademode:
  11107. description: 交易模式
  11108. type: integer
  11109. userid:
  11110. description: 用户id
  11111. type: integer
  11112. userinfotype:
  11113. description: 账户类型 1-个人 2-企业
  11114. type: integer
  11115. type: object
  11116. models.QhjMgrTradePayOrder:
  11117. properties:
  11118. accountname:
  11119. description: 用户名称
  11120. type: string
  11121. advanceratio:
  11122. description: 首付比率
  11123. type: number
  11124. agreeunit:
  11125. description: 合约乘数
  11126. type: number
  11127. buyaccountid:
  11128. description: 买方账号ID[报价币种]
  11129. type: integer
  11130. buyorderid:
  11131. description: 买方委托单号(关联单号)
  11132. type: string
  11133. createtime:
  11134. description: 创建时间
  11135. type: string
  11136. decimalplace:
  11137. description: 报价小数位
  11138. type: integer
  11139. enumdicname:
  11140. description: 单位名称(商品)
  11141. type: string
  11142. goodscode:
  11143. description: 商品代码(内部)
  11144. type: string
  11145. goodsid:
  11146. description: 商品ID
  11147. type: integer
  11148. goodsname:
  11149. description: 商品名称
  11150. type: string
  11151. goodunitid:
  11152. description: 报价单位ID
  11153. type: integer
  11154. logincode:
  11155. description: 登录代码(账户)
  11156. type: string
  11157. marketid:
  11158. description: 市场id
  11159. type: integer
  11160. offamount:
  11161. description: 优惠金额
  11162. type: number
  11163. operatetype:
  11164. description: 买委托操作类型 - 1:正常下单 16:融资买入
  11165. type: integer
  11166. payamount:
  11167. description: 支付金额(金额)
  11168. type: number
  11169. payflag:
  11170. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  11171. type: integer
  11172. paylimitedtime:
  11173. description: 支付期限
  11174. type: string
  11175. paytime:
  11176. description: 付款时间
  11177. type: string
  11178. qtydecimalplace:
  11179. description: 成交量小数位
  11180. type: integer
  11181. sellaccountid:
  11182. description: 卖方账号ID[报价币种]
  11183. type: integer
  11184. sellorderid:
  11185. description: 卖方委托单号
  11186. type: string
  11187. tradeamount:
  11188. description: 成交金额(优惠后金额)
  11189. type: number
  11190. tradecharge:
  11191. description: 成交手续费(买方)
  11192. type: number
  11193. tradedate:
  11194. description: 交易日(yyyyMMdd)
  11195. type: string
  11196. tradeid:
  11197. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11198. type: string
  11199. trademode:
  11200. description: 交易模式
  11201. type: integer
  11202. tradeprice:
  11203. description: 成交价格(价格)
  11204. type: number
  11205. tradeqty:
  11206. description: 成交数量(数量)
  11207. type: number
  11208. tradetime:
  11209. description: 成交时间
  11210. type: string
  11211. userid:
  11212. description: 用户id
  11213. type: integer
  11214. userinfotype:
  11215. description: 账户类型 1-个人 2-企业
  11216. type: integer
  11217. type: object
  11218. models.QhjMyTeamEx:
  11219. properties:
  11220. accountname:
  11221. description: 用户名称
  11222. type: string
  11223. accountstatus:
  11224. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  11225. type: integer
  11226. createtime:
  11227. description: 创建时间
  11228. type: string
  11229. mobile:
  11230. description: 手机号码
  11231. type: string
  11232. refereeuserid:
  11233. description: 推荐人id
  11234. type: integer
  11235. refernum:
  11236. description: 推荐码
  11237. type: string
  11238. subList:
  11239. items:
  11240. $ref: '#/definitions/models.QhjMyTeamEx'
  11241. type: array
  11242. userid:
  11243. description: 用户id
  11244. type: integer
  11245. userinfotype:
  11246. description: 用户类型 1-个人 2-企业
  11247. type: integer
  11248. type: object
  11249. models.QhjNodeAgreementConfig:
  11250. properties:
  11251. agreementcontent:
  11252. description: 协议内容
  11253. type: string
  11254. agreementid:
  11255. description: 协议ID
  11256. type: integer
  11257. agreementname:
  11258. description: 协议名称
  11259. type: string
  11260. agreementno:
  11261. description: 协议编号
  11262. type: string
  11263. agreementtype:
  11264. description: 协议类型 - 1:注册 2:登录 3:交易
  11265. type: integer
  11266. agreementversion:
  11267. description: 协议版本号
  11268. type: integer
  11269. configid:
  11270. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  11271. type: integer
  11272. createtime:
  11273. description: 创建时间
  11274. type: string
  11275. goodsid:
  11276. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11277. type: integer
  11278. nodetype:
  11279. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  11280. type: integer
  11281. type: object
  11282. models.QhjParentAreaList:
  11283. properties:
  11284. accountname:
  11285. description: 账户名称(机构名称)
  11286. type: string
  11287. userid:
  11288. description: 用户ID
  11289. type: integer
  11290. usertype:
  11291. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  11292. type: integer
  11293. type: object
  11294. models.QhjPayOrder:
  11295. properties:
  11296. advanceratio:
  11297. description: 首付比率
  11298. type: number
  11299. buyaccountid:
  11300. description: 买方账号ID[报价币种]
  11301. type: integer
  11302. buyorderid:
  11303. description: 买方委托单号
  11304. type: string
  11305. createtime:
  11306. description: 创建时间
  11307. type: string
  11308. decimalplace:
  11309. description: 商品报价小数位
  11310. type: integer
  11311. enumdicname:
  11312. description: 单位名称
  11313. type: string
  11314. goodscode:
  11315. description: 商品代码
  11316. type: string
  11317. goodsid:
  11318. description: 商品ID
  11319. type: integer
  11320. goodsname:
  11321. description: 商品名称
  11322. type: string
  11323. goodunitid:
  11324. description: 商品单位id
  11325. type: integer
  11326. marketid:
  11327. description: 市场ID
  11328. type: integer
  11329. offamount:
  11330. description: 优惠金额
  11331. type: number
  11332. operatetype:
  11333. description: 买委托操作类型 - 1:正常下单 16:融资买入
  11334. type: integer
  11335. payamount:
  11336. description: 支付金额
  11337. type: number
  11338. payflag:
  11339. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  11340. type: integer
  11341. paylimitedtime:
  11342. description: 支付期限
  11343. type: string
  11344. paytime:
  11345. description: 付款时间
  11346. type: string
  11347. qtydecimalplace:
  11348. description: 成交量小数位
  11349. type: integer
  11350. sellaccountid:
  11351. description: 卖方账号ID[报价币种]
  11352. type: integer
  11353. sellorderid:
  11354. description: 卖方委托单号
  11355. type: string
  11356. tradeamount:
  11357. description: 成交金额(优惠后金额)
  11358. type: number
  11359. tradecharge:
  11360. description: 成交手续费(买方)
  11361. type: number
  11362. tradedate:
  11363. description: 交易日(yyyyMMdd)
  11364. type: string
  11365. tradeid:
  11366. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11367. type: string
  11368. tradeprice:
  11369. description: 成交价格
  11370. type: number
  11371. tradeqty:
  11372. description: 成交数量
  11373. type: number
  11374. type: object
  11375. models.QhjPickArea:
  11376. properties:
  11377. address:
  11378. description: 详细地址
  11379. type: string
  11380. cityid:
  11381. description: 市
  11382. type: integer
  11383. cityname:
  11384. description: 城市名称
  11385. type: string
  11386. countryid:
  11387. description: 国家
  11388. type: integer
  11389. countryname:
  11390. description: 国家名称
  11391. type: string
  11392. districtid:
  11393. description: 地区
  11394. type: integer
  11395. districtname:
  11396. description: 地区名称
  11397. type: string
  11398. fromuserid:
  11399. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  11400. type: integer
  11401. fromusername:
  11402. description: 所属机构名称
  11403. type: string
  11404. provinceid:
  11405. description: 省
  11406. type: integer
  11407. provincename:
  11408. description: 省名称
  11409. type: string
  11410. suborgtype:
  11411. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  11412. type: integer
  11413. userid:
  11414. description: 机构用户ID 其他做市关系,都设置为 1
  11415. type: integer
  11416. username:
  11417. description: 机构用户名称(门店门称)
  11418. type: string
  11419. type: object
  11420. models.QhjPickGoods:
  11421. properties:
  11422. enumdicname:
  11423. description: 单位名称(提货商品)
  11424. type: string
  11425. goodsid:
  11426. description: 商品id
  11427. type: integer
  11428. imageaddress:
  11429. description: 图片
  11430. type: string
  11431. modifierid:
  11432. description: 修改人
  11433. type: integer
  11434. modifiername:
  11435. description: 修改人名称
  11436. type: string
  11437. modifysrc:
  11438. description: 修改来源 - 1:管理端 2:终端
  11439. type: integer
  11440. pickupgoodsagreeunit:
  11441. description: 合约乘数
  11442. type: number
  11443. pickupgoodsdesc:
  11444. description: 描述
  11445. type: string
  11446. pickupgoodsid:
  11447. description: 提货商品ID
  11448. type: string
  11449. pickupgoodsname:
  11450. description: 提货商品名称
  11451. type: string
  11452. pickupgoodsstatus:
  11453. description: 状态 - 1:正常 2:停用 3:注销
  11454. type: integer
  11455. pickupgoodsunitid:
  11456. description: 单位ID
  11457. type: integer
  11458. pickupratio:
  11459. description: 提货系数
  11460. type: number
  11461. preparedays:
  11462. description: 备货期(天)
  11463. type: integer
  11464. remark:
  11465. description: 备注
  11466. type: string
  11467. updatetime:
  11468. description: 更新时间
  11469. type: string
  11470. type: object
  11471. models.QhjRSTriggerLog:
  11472. properties:
  11473. accountid:
  11474. description: 用户资金账户
  11475. type: integer
  11476. accountname:
  11477. description: 账号名称(ACCOUNTID对应的名称)
  11478. type: string
  11479. currencyid:
  11480. description: 币种id
  11481. type: integer
  11482. currencyname:
  11483. description: 币种名称
  11484. type: string
  11485. decimalplace:
  11486. description: 商品报价小数位
  11487. type: integer
  11488. enumdicname:
  11489. description: 单位名称
  11490. type: string
  11491. goodscode:
  11492. description: 定投商品代码
  11493. type: string
  11494. goodsid:
  11495. description: 定投商品ID
  11496. type: integer
  11497. goodsname:
  11498. description: 定投商品名称
  11499. type: string
  11500. goodunitid:
  11501. description: 定投商品单位id
  11502. type: integer
  11503. logid:
  11504. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  11505. type: string
  11506. logincode:
  11507. description: 账号(登录代码)
  11508. type: string
  11509. qtydecimalplace:
  11510. description: 成交量小数位
  11511. type: integer
  11512. regularlycycle:
  11513. description: 定投频率 - 1:每周 2:每月
  11514. type: integer
  11515. regularlycyclevalue:
  11516. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  11517. type: string
  11518. regularlymode:
  11519. description: 定投方式 - 1:按数量 2:按金额
  11520. type: integer
  11521. regularlymodevalue:
  11522. description: 定投方式值 - 数量或金额
  11523. type: number
  11524. regularlystrategyid:
  11525. description: 定投策略ID
  11526. type: integer
  11527. retcode:
  11528. description: 错误码
  11529. type: string
  11530. tradeid:
  11531. description: 成交单ID
  11532. type: string
  11533. triggeramount:
  11534. description: 触发金额
  11535. type: number
  11536. triggerqty:
  11537. description: 触发数量
  11538. type: number
  11539. triggerstatus:
  11540. description: 触发状态 - 1:成功 2:失败
  11541. type: integer
  11542. triggertime:
  11543. description: 触发时间
  11544. type: string
  11545. triggertradedate:
  11546. description: 触发交易日
  11547. type: string
  11548. userid:
  11549. description: 所属用户ID
  11550. type: integer
  11551. userinfotype:
  11552. description: 用户类型 1-个人 2-企业
  11553. type: integer
  11554. username:
  11555. description: 用户名称(userid对应的名称)
  11556. type: string
  11557. type: object
  11558. models.QhjRStrategy:
  11559. properties:
  11560. accountid:
  11561. description: 用户资金账户
  11562. type: integer
  11563. accountname:
  11564. description: 账号名称(ACCOUNTID对应的名称)
  11565. type: string
  11566. currencyid:
  11567. description: 币种id
  11568. type: integer
  11569. currencyname:
  11570. description: 币种名称
  11571. type: string
  11572. decimalplace:
  11573. description: 商品报价小数位
  11574. type: integer
  11575. enumdicname:
  11576. description: 单位名称
  11577. type: string
  11578. goodscode:
  11579. description: 定投商品代码
  11580. type: string
  11581. goodsid:
  11582. description: 定投商品ID
  11583. type: integer
  11584. goodsname:
  11585. description: 定投商品名称
  11586. type: string
  11587. goodunitid:
  11588. description: 定投商品单位id
  11589. type: integer
  11590. lasteffecttradedate:
  11591. description: 最新生效交易日
  11592. type: string
  11593. laststoptradedate:
  11594. description: 最新暂停交易日
  11595. type: string
  11596. lasttriggertradedate:
  11597. description: 最新触发交易日
  11598. type: string
  11599. logincode:
  11600. description: 账号(登录代码)
  11601. type: string
  11602. nexttriggeramount:
  11603. description: 下次触发金额
  11604. type: number
  11605. nexttriggerdate:
  11606. description: 下次触发日期
  11607. type: string
  11608. nexttriggerqty:
  11609. description: 下次触发数量 [按小数位放大值]
  11610. type: number
  11611. qtydecimalplace:
  11612. description: 成交量小数位
  11613. type: integer
  11614. regularlycycle:
  11615. description: 定投频率 - 1:每周 2:每月
  11616. type: integer
  11617. regularlycyclevalue:
  11618. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  11619. type: string
  11620. regularlymode:
  11621. description: 定投方式 - 1:按数量 2:按金额
  11622. type: integer
  11623. regularlymodevalue:
  11624. description: 定投方式值 - 数量或金额
  11625. type: number
  11626. regularlystrategyid:
  11627. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  11628. type: integer
  11629. regularlystrategystatus:
  11630. description: 策略状态 - 1:正常 2:暂停 3:终止
  11631. type: integer
  11632. remark:
  11633. description: 备注
  11634. type: string
  11635. triggersuccesstimes:
  11636. description: 累计定投成功次数
  11637. type: string
  11638. triggertotalamount:
  11639. description: 累计定投金额(成功)
  11640. type: number
  11641. triggertotalqty:
  11642. description: 累计定投数量(成功) [按小数位放大值]
  11643. type: number
  11644. triggertotaltimes:
  11645. description: 累计定投总次数
  11646. type: string
  11647. updatesrc:
  11648. description: 更新来源 - 1:管理端 2:终端
  11649. type: integer
  11650. updatetime:
  11651. description: 更新时间
  11652. type: string
  11653. updatorid:
  11654. description: 更新人
  11655. type: string
  11656. userid:
  11657. description: 所属用户ID
  11658. type: integer
  11659. userinfotype:
  11660. description: 用户类型 1-个人 2-企业
  11661. type: integer
  11662. username:
  11663. description: 用户名称(userid对应的名称)
  11664. type: string
  11665. type: object
  11666. models.QhjReckonPriceLog:
  11667. properties:
  11668. decimalplace:
  11669. description: 商品报价小数位
  11670. type: integer
  11671. goodscode:
  11672. description: 商品代码
  11673. type: string
  11674. goodsid:
  11675. description: 商品ID
  11676. type: integer
  11677. goodsname:
  11678. description: 商品名称
  11679. type: string
  11680. lastreckonprice:
  11681. description: 上日结算价
  11682. type: number
  11683. nextdnlimitprice:
  11684. description: 下个交易日跌停价
  11685. type: number
  11686. nexttrade:
  11687. description: 下个交易日
  11688. type: string
  11689. nextuplimitprice:
  11690. description: 下个交易日涨停价
  11691. type: number
  11692. reckonprice:
  11693. description: 今日结算价(定投价)
  11694. type: number
  11695. reckontime:
  11696. description: 结算时间
  11697. type: string
  11698. totalholderqty:
  11699. description: 总持仓数
  11700. type: integer
  11701. totalstock:
  11702. description: 总库存
  11703. type: integer
  11704. tradedate:
  11705. description: 交易日
  11706. type: string
  11707. updowncount:
  11708. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  11709. type: integer
  11710. updownflag:
  11711. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  11712. type: integer
  11713. updownrate:
  11714. description: 今日涨跌幅
  11715. type: number
  11716. updownrate_2d:
  11717. description: 连续两日涨跌幅
  11718. type: number
  11719. updownrate_3d:
  11720. description: 连续三日涨跌幅
  11721. type: number
  11722. type: object
  11723. models.QhjScoreLog:
  11724. properties:
  11725. accountid:
  11726. description: 账户ID
  11727. type: integer
  11728. createtime:
  11729. description: 创建时间(时间)
  11730. type: string
  11731. goodsid:
  11732. description: 商品ID
  11733. type: integer
  11734. hasuploaded:
  11735. description: 是否已同步(千海金) 0:未同步 1;已同步
  11736. type: integer
  11737. logid:
  11738. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11739. type: string
  11740. marketid:
  11741. description: 市场ID
  11742. type: integer
  11743. relatedamount:
  11744. description: 关联金额
  11745. type: number
  11746. relatedorderid:
  11747. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  11748. type: string
  11749. scoreconfigvalue1:
  11750. description: 积分配置1
  11751. type: integer
  11752. scoreconfigvalue2:
  11753. description: 积分配置1
  11754. type: integer
  11755. scoretype:
  11756. description: 积分类型 - 1:提货积分
  11757. type: integer
  11758. scorevalue:
  11759. description: 积分
  11760. type: number
  11761. tradedate:
  11762. description: 交易日(yyyyMMdd)
  11763. type: string
  11764. uploadedtime:
  11765. description: 同步时间
  11766. type: string
  11767. userid:
  11768. description: 用户ID
  11769. type: integer
  11770. type: object
  11771. models.QhjSiteColumnDetail:
  11772. properties:
  11773. author:
  11774. description: 作者
  11775. type: string
  11776. brief:
  11777. description: 简介
  11778. type: string
  11779. columnid:
  11780. description: 所属栏目
  11781. type: integer
  11782. context:
  11783. description: 内容
  11784. type: string
  11785. coverimage:
  11786. description: 封面图片
  11787. type: string
  11788. creaedate:
  11789. description: 创建时间
  11790. type: string
  11791. creatorid:
  11792. description: 创建人
  11793. type: integer
  11794. hits:
  11795. description: 点击数
  11796. type: integer
  11797. id:
  11798. description: ID(SEQ_SITE_COLUMNDETAIL)
  11799. type: integer
  11800. isshow:
  11801. description: 是否展示 - 0:不展示 1:展示
  11802. type: integer
  11803. istop:
  11804. description: 是否置顶 - 0:不置 1:置顶
  11805. type: integer
  11806. modifierid:
  11807. description: 操作人
  11808. type: integer
  11809. publishdate:
  11810. description: 发布日期
  11811. type: string
  11812. status:
  11813. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  11814. type: integer
  11815. title:
  11816. description: 标题
  11817. type: string
  11818. updatedate:
  11819. description: 修改时间
  11820. type: string
  11821. userid:
  11822. description: 用户ID(默认为0, 核心为为机构用户ID)
  11823. type: integer
  11824. username:
  11825. description: 用户名称
  11826. type: string
  11827. type: object
  11828. models.QhjTeamOrder:
  11829. properties:
  11830. accountid:
  11831. description: 账户ID[报价币种]
  11832. type: integer
  11833. accountname:
  11834. description: 账户名称
  11835. type: string
  11836. agreeunit:
  11837. description: 合约乘数
  11838. type: number
  11839. buyorsell:
  11840. description: 方向 - 0:买 1:卖
  11841. type: integer
  11842. decimalplace:
  11843. description: 报价小数位
  11844. type: integer
  11845. enumdicname:
  11846. description: 单位名称
  11847. type: string
  11848. goodscode:
  11849. description: 商品代码(内部)
  11850. type: string
  11851. goodsid:
  11852. description: 商品ID
  11853. type: integer
  11854. goodsname:
  11855. description: 商品名称
  11856. type: string
  11857. goodunitid:
  11858. description: 报价单位ID
  11859. type: integer
  11860. marketid:
  11861. description: 市场ID
  11862. type: integer
  11863. marketname:
  11864. description: 市场名称
  11865. type: string
  11866. qtydecimalplace:
  11867. description: 成交量小数位
  11868. type: integer
  11869. refereeuserid:
  11870. description: 推荐人ID
  11871. type: integer
  11872. tradeamount:
  11873. description: 成交金额[账户币种,用于所有权]
  11874. type: number
  11875. tradedate:
  11876. description: 交易日(yyyyMMdd)
  11877. type: string
  11878. trademode:
  11879. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11880. 21:竞拍-大宗式 22:受托竞价
  11881. type: integer
  11882. tradeprice:
  11883. description: 成交价格
  11884. type: number
  11885. tradeqty:
  11886. description: 成交数量
  11887. type: number
  11888. tradetime:
  11889. description: 成交时间
  11890. type: string
  11891. userid:
  11892. description: 用户ID
  11893. type: integer
  11894. type: object
  11895. models.QhjTradeGoodsPickup:
  11896. properties:
  11897. accountid:
  11898. description: 账户ID
  11899. type: integer
  11900. address:
  11901. description: 提货人详细地址
  11902. type: string
  11903. amount:
  11904. description: 提货金额
  11905. type: number
  11906. artradedate:
  11907. description: 自动收货交易日(yyyyMMdd)
  11908. type: string
  11909. auditer:
  11910. description: 审核人
  11911. type: integer
  11912. auditsrc:
  11913. description: 更新来源 - 1:管理端 2:终端
  11914. type: integer
  11915. audittime:
  11916. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  11917. type: string
  11918. audittradedate:
  11919. description: 审核交易日(yyyyMMdd)
  11920. type: string
  11921. cardnum:
  11922. description: 提货人证件号码
  11923. type: string
  11924. cardtypeid:
  11925. description: 提货人证件类型
  11926. type: integer
  11927. checkremark:
  11928. description: 审核备注
  11929. type: string
  11930. cityid:
  11931. description: 市
  11932. type: integer
  11933. cityname:
  11934. description: 城市名称
  11935. type: string
  11936. confirmtime:
  11937. description: 取货时间 或 收货时间
  11938. type: string
  11939. countryid:
  11940. description: 国家
  11941. type: integer
  11942. countryname:
  11943. description: 国家名称
  11944. type: string
  11945. decimalplace:
  11946. description: 商品报价小数位
  11947. type: integer
  11948. districtid:
  11949. description: 地区
  11950. type: integer
  11951. districtname:
  11952. description: 地区名称
  11953. type: string
  11954. enumdicname:
  11955. description: 单位名称(提货商品)
  11956. type: string
  11957. expresscompany:
  11958. description: 物流公司
  11959. type: string
  11960. expressnum:
  11961. description: 物流单号
  11962. type: string
  11963. goodsagreeunit:
  11964. description: 交易商品乘数
  11965. type: number
  11966. goodscode:
  11967. description: 商品代码
  11968. type: string
  11969. goodsid:
  11970. description: 商品ID
  11971. type: integer
  11972. goodsname:
  11973. description: 商品名称
  11974. type: string
  11975. goodsqty:
  11976. description: 交易商品手数(69模式按成交量小数位放大取整)
  11977. type: number
  11978. handlestatus:
  11979. description: 处理状态
  11980. type: integer
  11981. logincode:
  11982. description: 账号(登录代码, 有可能为空)
  11983. type: string
  11984. marketid:
  11985. description: 市场ID
  11986. type: integer
  11987. phonenum:
  11988. description: 提货人联系方式
  11989. type: string
  11990. pickupgoodsagreeunit:
  11991. description: 提货商品合约乘数
  11992. type: number
  11993. pickupgoodsid:
  11994. description: 提货商品ID
  11995. type: string
  11996. pickupgoodsname:
  11997. description: 提货商品名称
  11998. type: string
  11999. pickupgoodsqty:
  12000. description: 提货商品手数(数量)
  12001. type: number
  12002. pickupgoodsunitid:
  12003. description: 单位ID(提货商品)
  12004. type: integer
  12005. pickupratio:
  12006. description: 提货系数
  12007. type: number
  12008. preparedays:
  12009. description: 备货期(天)-提货单明细表
  12010. type: integer
  12011. provinceid:
  12012. description: 省
  12013. type: integer
  12014. provincename:
  12015. description: 省名称
  12016. type: string
  12017. qty:
  12018. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  12019. type: number
  12020. qtydecimalplace:
  12021. description: 商品数量小数位
  12022. type: integer
  12023. recivername:
  12024. description: 提货人姓名
  12025. type: string
  12026. reqtime:
  12027. description: 提货申请时间
  12028. type: string
  12029. storeuserid:
  12030. description: 门店用户ID (千海金)
  12031. type: integer
  12032. storeusername:
  12033. description: 门店用户名称
  12034. type: string
  12035. takemode:
  12036. description: 提货方式 - 2:自提 3:配送(邮寄)
  12037. type: integer
  12038. takeorderid:
  12039. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  12040. type: string
  12041. takeorderstatus:
  12042. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  12043. 7:已拒绝 8:已撤销
  12044. type: integer
  12045. takeremark:
  12046. description: 提货备注
  12047. type: string
  12048. tradedate:
  12049. description: 交易日(yyyyMMdd)
  12050. type: string
  12051. updatetime:
  12052. description: 更新时间
  12053. type: string
  12054. userid:
  12055. description: 用户ID
  12056. type: integer
  12057. userinfotype:
  12058. description: 客户类型 1-个人 2-企业
  12059. type: integer
  12060. username:
  12061. description: 用户名称
  12062. type: string
  12063. type: object
  12064. models.QhjUserNodeCfgAndStatus:
  12065. properties:
  12066. agreementcontent:
  12067. description: 协议内容
  12068. type: string
  12069. agreementid:
  12070. description: 协议ID
  12071. type: integer
  12072. agreementname:
  12073. description: 协议名称
  12074. type: string
  12075. agreementno:
  12076. description: 协议编号
  12077. type: string
  12078. agreementtype:
  12079. description: 协议类型 - 1:注册 2:登录 3:交易
  12080. type: integer
  12081. agreementversion:
  12082. description: 协议版本号
  12083. type: integer
  12084. configid:
  12085. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  12086. type: integer
  12087. createtime:
  12088. description: 创建时间
  12089. type: string
  12090. goodsid:
  12091. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12092. type: integer
  12093. nodetype:
  12094. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12095. type: integer
  12096. signtimestamp:
  12097. description: 签约状态时间戳(最近一次)
  12098. type: string
  12099. tradedate:
  12100. description: 签约交易日(yyyyMMdd)
  12101. type: string
  12102. userid:
  12103. description: 客户ID
  12104. type: integer
  12105. type: object
  12106. models.Qhjgoodsex:
  12107. properties:
  12108. canfinance:
  12109. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  12110. type: integer
  12111. canregularlybuy:
  12112. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  12113. type: integer
  12114. defaulttradeuserid:
  12115. description: 默认交易用户ID
  12116. type: integer
  12117. deliverygoodsid:
  12118. description: 现货品种ID
  12119. type: integer
  12120. goodsid:
  12121. description: 商品ID(自增ID SEQ_GOODS)
  12122. type: integer
  12123. minamount:
  12124. description: 最小购买金额
  12125. type: number
  12126. regularlybuyminamount:
  12127. description: 定投最小金额
  12128. type: number
  12129. regularlybuyminqty:
  12130. description: 定投最小数量
  12131. type: number
  12132. spotgoodsbrandid:
  12133. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  12134. type: integer
  12135. visibilityforenterprise:
  12136. description: 企业客户是否可见 - 0:不可见 1:可见
  12137. type: integer
  12138. visibilityforpersonal:
  12139. description: 个人客户是否可见 - 0:不可见 1:可见
  12140. type: integer
  12141. wrstandardid:
  12142. description: 现货商品ID
  12143. type: integer
  12144. type: object
  12145. models.QueryErrorInfosRsp:
  12146. properties:
  12147. description:
  12148. description: 异常描述
  12149. type: string
  12150. errorcode:
  12151. description: 异常代码
  12152. type: string
  12153. errorid:
  12154. description: 异常ID
  12155. type: integer
  12156. modulecode:
  12157. description: 所属模块
  12158. type: string
  12159. operatecode:
  12160. description: 所属操作
  12161. type: string
  12162. rownumber:
  12163. description: 行号
  12164. type: string
  12165. required:
  12166. - errorid
  12167. type: object
  12168. models.QueryHedgeOrderDetailRsp:
  12169. properties:
  12170. accountid:
  12171. description: 账户ID
  12172. type: integer
  12173. buyorsell:
  12174. description: 买卖 - 0:买 1:卖
  12175. type: integer
  12176. cancellogincode:
  12177. description: 撤单人
  12178. type: string
  12179. channelbuildtype:
  12180. description: 开平标志 - 0:无 1:建仓 2:平仓
  12181. type: integer
  12182. channelinnerorderstatus:
  12183. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  12184. 9:全部成交
  12185. type: integer
  12186. channeloperatetype:
  12187. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  12188. type: integer
  12189. closetype:
  12190. description: 平仓方式 - 0:无 1:平今 2:平昨
  12191. type: integer
  12192. curexchangerate:
  12193. description: 当前汇率
  12194. type: number
  12195. exchangefullname:
  12196. description: 外部交易所全称
  12197. type: string
  12198. goodscode:
  12199. description: 商品代码(内部)
  12200. type: string
  12201. goodsid:
  12202. description: 商品ID
  12203. type: integer
  12204. goodsname:
  12205. description: 商品名称
  12206. type: string
  12207. marketid:
  12208. description: 市场ID
  12209. type: integer
  12210. openfreezemargin:
  12211. description: 冻结保证金(冻结交易金额)
  12212. type: number
  12213. orderid:
  12214. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12215. type: string
  12216. orderlogincode:
  12217. description: 委托人
  12218. type: string
  12219. orderprice:
  12220. description: 委托价格(账户)
  12221. type: number
  12222. orderqty:
  12223. description: 委托数量
  12224. type: integer
  12225. ordertime:
  12226. description: 委托时间
  12227. type: string
  12228. pricemode:
  12229. description: '取价方式 - 1:市价 2: 限价'
  12230. type: integer
  12231. tradedate:
  12232. description: 交易日(yyyyMMdd)
  12233. type: string
  12234. tradeqty:
  12235. description: 成交数量
  12236. type: integer
  12237. type: object
  12238. models.QueryHedgeTradeDetailRsp:
  12239. properties:
  12240. accountid:
  12241. description: 账号ID
  12242. type: integer
  12243. buyorsell:
  12244. description: 方向 - 0:买 1:卖
  12245. type: integer
  12246. channelbuildtype:
  12247. description: 委托单据类型 0:无 1:建仓 2:平仓
  12248. type: integer
  12249. closecharge:
  12250. description: 平仓手续费(账户)
  12251. type: number
  12252. closecharge2:
  12253. description: 平仓手续费(商品)
  12254. type: number
  12255. closepl:
  12256. description: 平仓盈亏(账户)
  12257. type: number
  12258. closepl2:
  12259. description: 平仓盈亏(商品)
  12260. type: number
  12261. closepl3:
  12262. description: 平仓盈亏(账户)(逐笔)
  12263. type: number
  12264. closepl4:
  12265. description: 平仓盈亏(商品)(逐笔)
  12266. type: number
  12267. closetype:
  12268. description: 平仓方式 - 0:无 1:平今 2:平昨
  12269. type: integer
  12270. curexchangerate:
  12271. description: 当前汇率
  12272. type: number
  12273. exchangefullname:
  12274. description: 外部交易所全称
  12275. type: string
  12276. goodscode:
  12277. description: 商品代码(内部)
  12278. type: string
  12279. goodsid:
  12280. description: 商品ID
  12281. type: integer
  12282. goodsname:
  12283. description: 商品名称
  12284. type: string
  12285. marketid:
  12286. description: 市场ID
  12287. type: integer
  12288. opencharge:
  12289. description: 建仓手续费(账户)
  12290. type: number
  12291. opencharge2:
  12292. description: 建仓手续费(商品)
  12293. type: number
  12294. orderid:
  12295. description: 委托单号
  12296. type: string
  12297. orderlogincode:
  12298. description: 委托人
  12299. type: string
  12300. tradeamount:
  12301. description: 成交金额(账户)
  12302. type: number
  12303. tradedate:
  12304. description: 交易日(yyyyMMdd)
  12305. type: string
  12306. tradeid:
  12307. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12308. type: string
  12309. tradeprice:
  12310. description: 成交价格
  12311. type: number
  12312. tradeqty:
  12313. description: 成交数量
  12314. type: integer
  12315. tradetime:
  12316. description: 成交时间
  12317. type: string
  12318. tradetype:
  12319. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  12320. type: integer
  12321. type: object
  12322. models.QuotePrimaryMenu:
  12323. properties:
  12324. Index:
  12325. description: 序号
  12326. type: integer
  12327. Key:
  12328. description: 键名
  12329. type: string
  12330. Name:
  12331. description: 菜单名称
  12332. type: string
  12333. SubMenus:
  12334. description: 子菜单
  12335. items:
  12336. $ref: '#/definitions/models.QuoteSecondaryMenu'
  12337. type: array
  12338. SubTitleType:
  12339. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  12340. type: integer
  12341. TradeModes:
  12342. description: 包含市场交易类型
  12343. type: string
  12344. type: object
  12345. models.QuoteSecondaryMenu:
  12346. properties:
  12347. ExExchangeCode:
  12348. description: 外部交易所代码
  12349. type: string
  12350. ExExchangeID:
  12351. description: 外部交易所ID
  12352. type: integer
  12353. GoodsGroupIDs:
  12354. description: 商品组ID列表
  12355. items:
  12356. type: integer
  12357. type: array
  12358. Index:
  12359. description: 序号
  12360. type: integer
  12361. MarketID:
  12362. description: 市场ID
  12363. type: integer
  12364. MenuTitle:
  12365. description: 菜单标题(市场名称或外部交易所名称)
  12366. type: string
  12367. TradeMode:
  12368. description: 交易模式
  12369. type: integer
  12370. type: object
  12371. models.RoleMenu:
  12372. properties:
  12373. hasright:
  12374. description: 是否有权限 0-没有权限 1-有权限
  12375. type: integer
  12376. iconame:
  12377. description: 菜单图标
  12378. type: string
  12379. menutype:
  12380. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  12381. type: integer
  12382. parentcode:
  12383. description: 上级资源代码
  12384. type: string
  12385. remark:
  12386. description: 菜单备注
  12387. type: string
  12388. resourcecode:
  12389. description: 菜单代码
  12390. type: string
  12391. resourcelevel:
  12392. description: 级别
  12393. type: integer
  12394. resourcename:
  12395. description: 菜单名称
  12396. type: string
  12397. roleid:
  12398. description: 角色id
  12399. type: integer
  12400. sort:
  12401. description: 排序
  12402. type: integer
  12403. subMenu:
  12404. description: 子级菜单(结构同上层一样, swag解析不出来)
  12405. items:
  12406. $ref: '#/definitions/models.RoleMenu'
  12407. type: array
  12408. url:
  12409. description: URL
  12410. type: string
  12411. userid:
  12412. description: 用户id
  12413. type: integer
  12414. type: object
  12415. models.SearchGoods:
  12416. properties:
  12417. goodscode:
  12418. description: 商品代码(内部)
  12419. type: string
  12420. goodsid:
  12421. description: 商品ID(自增ID SEQ_GOODS)
  12422. type: integer
  12423. goodsname:
  12424. description: 商品名称
  12425. type: string
  12426. marketid:
  12427. description: 所属市场ID
  12428. type: integer
  12429. marketname:
  12430. description: 市场名称
  12431. type: string
  12432. trademode:
  12433. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12434. 21:竞拍-大宗式 22:受托竞价
  12435. type: integer
  12436. required:
  12437. - goodscode
  12438. - goodsid
  12439. - goodsname
  12440. - marketid
  12441. - trademode
  12442. type: object
  12443. models.Systemparam:
  12444. properties:
  12445. loginid:
  12446. description: 更新用户账号,登录账号
  12447. type: string
  12448. modifyflag:
  12449. description: 修改标志0 不允许修改 1 允许修改
  12450. type: integer
  12451. paramcode:
  12452. description: 参数代码
  12453. type: string
  12454. paramname:
  12455. description: 参数名
  12456. type: string
  12457. paramtype:
  12458. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  12459. type: integer
  12460. paramvalue:
  12461. description: 参数值
  12462. type: string
  12463. paramvalue2:
  12464. description: 参数值(CLOB)
  12465. type: string
  12466. regexpress:
  12467. description: 正则表达式
  12468. type: string
  12469. remark:
  12470. description: 备注
  12471. type: string
  12472. serverip:
  12473. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  12474. type: string
  12475. showflag:
  12476. description: 是否显示0 不显示 1 显示
  12477. type: integer
  12478. updatetime:
  12479. description: 更新时间
  12480. type: string
  12481. userid:
  12482. description: 更新用户ID
  12483. type: integer
  12484. required:
  12485. - paramcode
  12486. type: object
  12487. models.Szdz3convertconfig:
  12488. properties:
  12489. canin:
  12490. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  12491. type: integer
  12492. canout:
  12493. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  12494. type: integer
  12495. converttype:
  12496. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  12497. 6:交易转花生米(不设置)
  12498. type: integer
  12499. createtime:
  12500. description: 创建时间
  12501. type: string
  12502. creatorid:
  12503. description: 创建人
  12504. type: integer
  12505. daymaxvalue:
  12506. description: 当日最大转入限制
  12507. type: number
  12508. freezedays:
  12509. description: 冻结天数 [5:花生米转交易]
  12510. type: integer
  12511. innergoodsid:
  12512. description: 内部商品ID[交易]
  12513. type: integer
  12514. inratio:
  12515. description: 目标值
  12516. type: integer
  12517. modifierid:
  12518. description: 修改人
  12519. type: integer
  12520. modifytime:
  12521. description: 修改时间
  12522. type: string
  12523. outergoodscode:
  12524. description: 外部商品代码[JD\PD]
  12525. type: string
  12526. outratio:
  12527. description: 源值
  12528. type: integer
  12529. pddecimalplace:
  12530. description: PD小数位
  12531. type: integer
  12532. timemaxvalue:
  12533. description: 单次最大转入限制
  12534. type: number
  12535. timeminvalue:
  12536. description: 单次最小转入限制
  12537. type: number
  12538. required:
  12539. - converttype
  12540. - innergoodsid
  12541. - outergoodscode
  12542. type: object
  12543. models.Szdz3searchwhitelist:
  12544. properties:
  12545. createtime:
  12546. description: 创建时间
  12547. type: string
  12548. creatorid:
  12549. description: 创建人
  12550. type: integer
  12551. modifierid:
  12552. description: 修改人
  12553. type: integer
  12554. modifytime:
  12555. description: 修改时间
  12556. type: string
  12557. userid:
  12558. description: 用户ID
  12559. type: integer
  12560. required:
  12561. - userid
  12562. type: object
  12563. models.TBGoods:
  12564. properties:
  12565. agreeunit:
  12566. description: 合约乘数
  12567. type: number
  12568. enumdicname:
  12569. description: 单位名称
  12570. type: string
  12571. goodscode:
  12572. description: 商品代码(内部)
  12573. type: string
  12574. goodsid:
  12575. description: 商品ID(自增ID SEQ_GOODS)
  12576. type: integer
  12577. goodsname:
  12578. description: 商品名称
  12579. type: string
  12580. type: object
  12581. models.TBGoodsGroup:
  12582. properties:
  12583. convertratio:
  12584. description: 折算系数
  12585. type: number
  12586. enumdicname:
  12587. description: 单位名称
  12588. type: string
  12589. exexchangecode:
  12590. description: 交易所代码
  12591. type: string
  12592. exexchangename:
  12593. description: 交易所名称
  12594. type: string
  12595. gdlst:
  12596. description: 商品列表
  12597. items:
  12598. $ref: '#/definitions/models.TBGoods'
  12599. type: array
  12600. goodsgroupid:
  12601. description: 商品组ID(自增ID)
  12602. type: integer
  12603. goodsgroupname:
  12604. description: 商品组名称
  12605. type: string
  12606. goodunitid:
  12607. description: 报价单位ID
  12608. type: integer
  12609. type: object
  12610. models.TBMiddleGoods:
  12611. properties:
  12612. areauserid:
  12613. description: 机构用户ID
  12614. type: integer
  12615. enumdicname:
  12616. description: 单位名称
  12617. type: string
  12618. gplst:
  12619. description: 期货品种列表
  12620. items:
  12621. $ref: '#/definitions/models.TBGoodsGroup'
  12622. type: array
  12623. middlegoodscode:
  12624. description: 套保品种代码
  12625. type: string
  12626. middlegoodsid:
  12627. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  12628. type: integer
  12629. middlegoodsname:
  12630. description: 套保品种名称
  12631. type: string
  12632. needarbitrageratio:
  12633. description: 套利比率
  12634. type: number
  12635. needhedgeratio:
  12636. description: 套保比率
  12637. type: number
  12638. wdlst:
  12639. description: 商品信息列表(现货品类)
  12640. items:
  12641. $ref: '#/definitions/models.TBWrstandard'
  12642. type: array
  12643. type: object
  12644. models.TBWrstandard:
  12645. properties:
  12646. convertratio:
  12647. description: 折算系数
  12648. type: number
  12649. deliverygoodsname:
  12650. description: 品种名称
  12651. type: string
  12652. enumdicname:
  12653. description: 单位名称
  12654. type: string
  12655. vatrate:
  12656. description: 增值税率
  12657. type: number
  12658. wrstandardcode:
  12659. description: 现货商品代码
  12660. type: string
  12661. wrstandardid:
  12662. description: 现货商品ID(SEQ_WRSTANDARD)
  12663. type: integer
  12664. wrstandardname:
  12665. description: 现货商品名称
  12666. type: string
  12667. type: object
  12668. models.Taaccount:
  12669. properties:
  12670. accountflag:
  12671. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  12672. type: integer
  12673. accountid:
  12674. description: 资金账户ID
  12675. type: integer
  12676. accountname:
  12677. description: 账户名称
  12678. type: string
  12679. balance:
  12680. description: 期初余额
  12681. type: number
  12682. capitalbalance:
  12683. description: 本金余额[外部子账户实际出入金余额]
  12684. type: number
  12685. changeflag:
  12686. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  12687. type: integer
  12688. changetime:
  12689. description: 账户状态变更时间
  12690. type: string
  12691. closepl:
  12692. description: 今日平仓盈亏
  12693. type: number
  12694. creditdecrease:
  12695. description: 今日授信减少
  12696. type: number
  12697. creditincrease:
  12698. description: 今日授信增加
  12699. type: number
  12700. curamount:
  12701. description: 总市值(从持仓中统计)
  12702. type: number
  12703. currencyid:
  12704. description: 货币ID
  12705. type: integer
  12706. currentbalance:
  12707. description: 期末余额
  12708. type: number
  12709. freezecharge:
  12710. description: 手续费冻结
  12711. type: number
  12712. freezemargin:
  12713. description: 冻结保证金
  12714. type: number
  12715. fromaccountid:
  12716. description: 所属上级账户
  12717. type: integer
  12718. inamount:
  12719. description: 今日入金金额(包括三方入金)
  12720. type: number
  12721. ismain:
  12722. description: 是否母账号 0:不是母账户 1:是母账户
  12723. type: integer
  12724. ismarketaccount:
  12725. description: 是否机构接单账号 0:不是 1:是
  12726. type: integer
  12727. isreckonaccount:
  12728. description: 是否机构分润账号 0:不是 1:是
  12729. type: integer
  12730. mortgagecredit:
  12731. description: 授信金额
  12732. type: number
  12733. orifreezecharge:
  12734. description: 期初手续费冻结
  12735. type: number
  12736. orifreezemargin:
  12737. description: 期初冻结保证金
  12738. type: number
  12739. orimortgagecredit:
  12740. description: 期初授信金额
  12741. type: number
  12742. oriothercredit:
  12743. description: 期初其它授信金额
  12744. type: number
  12745. oriotherfreezemargin:
  12746. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  12747. type: number
  12748. orioutamountfreeze:
  12749. description: 期初出金冻结
  12750. type: number
  12751. oriusedmargin:
  12752. description: 期初占用保证金
  12753. type: number
  12754. othercredit:
  12755. description: 其它授信金额
  12756. type: number
  12757. othercreditdecrease:
  12758. description: 今日其它授信减少
  12759. type: number
  12760. othercreditincrease:
  12761. description: 今日其它授信增加
  12762. type: number
  12763. otherfreezemargin:
  12764. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  12765. type: number
  12766. otherincome:
  12767. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  12768. type: number
  12769. otherpay:
  12770. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  12771. type: number
  12772. outamount:
  12773. description: 今日出金金额(包括三方出金)
  12774. type: number
  12775. outamountfreeze:
  12776. description: 出金冻结
  12777. type: number
  12778. outthreshold:
  12779. description: 出金阈值
  12780. type: number
  12781. parentaccountid:
  12782. description: 所属根账号
  12783. type: integer
  12784. paycharge:
  12785. description: 今日手续费支出
  12786. type: number
  12787. relatedaccountstatus:
  12788. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  12789. type: integer
  12790. relateduserid:
  12791. description: 关联用户
  12792. type: integer
  12793. remainamount:
  12794. description: 融资额(从融资合同中统计)
  12795. type: number
  12796. serivcegroup:
  12797. description: 服务分组
  12798. type: integer
  12799. signstatus:
  12800. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  12801. type: integer
  12802. sublevelpath:
  12803. description: 账号层级路径(逗号分隔,首尾加逗号)
  12804. type: string
  12805. taaccounttype:
  12806. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  12807. type: integer
  12808. thirdinamount:
  12809. description: 今日三方入金
  12810. type: number
  12811. thirdoutamount:
  12812. description: 今日三方出金
  12813. type: number
  12814. tradestatus:
  12815. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  12816. type: integer
  12817. tradestatuschangetime:
  12818. description: 激活时间
  12819. type: string
  12820. transferamount:
  12821. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  12822. type: number
  12823. usedmargin:
  12824. description: 占用保证金
  12825. type: number
  12826. userid:
  12827. description: 用户ID
  12828. type: integer
  12829. required:
  12830. - accountid
  12831. - userid
  12832. type: object
  12833. models.Tablecolumnconfig:
  12834. properties:
  12835. aligntype:
  12836. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  12837. type: integer
  12838. autoid:
  12839. description: AutoID
  12840. type: integer
  12841. columnfield:
  12842. description: 列字段
  12843. type: string
  12844. columntitle:
  12845. description: 列Title
  12846. type: string
  12847. columnwidth:
  12848. description: 列宽
  12849. type: string
  12850. formatterstring:
  12851. description: 格式化字符
  12852. type: string
  12853. formattertype:
  12854. description: 格式化类型
  12855. type: string
  12856. groupname:
  12857. description: 表头分组名称
  12858. type: string
  12859. isshow:
  12860. description: 是否显示 - 0:不显示 1:显示
  12861. type: integer
  12862. needsummary:
  12863. description: 是否需要汇总 - 0:不需要 1:需要
  12864. type: integer
  12865. orderindex:
  12866. description: 顺序
  12867. type: integer
  12868. remark:
  12869. description: 备注
  12870. type: string
  12871. summarytype:
  12872. description: 汇总类型 - 1:加总 2:最后一个
  12873. type: integer
  12874. tablekey:
  12875. description: 列表Key
  12876. type: string
  12877. required:
  12878. - autoid
  12879. type: object
  12880. models.TjmdQuoteGoods:
  12881. properties:
  12882. buyqty:
  12883. description: 买量(暂不做, 无值, 保留字段)
  12884. type: number
  12885. goodscode:
  12886. description: 合约代码
  12887. type: string
  12888. goodsgroupid:
  12889. description: 商品组ID(自增ID)
  12890. type: integer
  12891. goodsgroupname:
  12892. description: 商品组名称
  12893. type: string
  12894. goodsid:
  12895. description: 合约id
  12896. type: integer
  12897. goodsname:
  12898. description: 合约名称
  12899. type: string
  12900. refgoodscode:
  12901. description: 标的合约代码
  12902. type: string
  12903. refgoodsid:
  12904. description: 标的合约id
  12905. type: integer
  12906. refgoodsname:
  12907. description: 标的合约名称
  12908. type: string
  12909. sellqty:
  12910. description: 卖量(暂不做, 无值, 保留字段)
  12911. type: number
  12912. type: object
  12913. models.TjmdTodayAccountMargin:
  12914. properties:
  12915. accountid:
  12916. description: 账号ID
  12917. type: integer
  12918. goodsid:
  12919. description: 商品ID
  12920. type: integer
  12921. infoc:
  12922. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  12923. description: 配置参数
  12924. type: object
  12925. marketid:
  12926. description: 市场ID
  12927. type: integer
  12928. type: object
  12929. models.TjmdTradeOrderDetail:
  12930. properties:
  12931. buyorsell:
  12932. description: 买卖方向 0-买 1-卖
  12933. type: integer
  12934. goodsid:
  12935. description: 商品id
  12936. type: integer
  12937. marketmaxsub:
  12938. description: 市价最大偏移范围 [浮动价 - 点差]
  12939. type: number
  12940. orderid:
  12941. description: 委托单号
  12942. type: string
  12943. orderprice:
  12944. description: 委托价格
  12945. type: number
  12946. orderqty:
  12947. description: 委托数量
  12948. type: integer
  12949. pricemode:
  12950. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  12951. type: integer
  12952. userid:
  12953. description: 用户id
  12954. type: integer
  12955. username:
  12956. description: 用户名称(已脱敏)
  12957. type: string
  12958. type: object
  12959. models.TjmdTransferApply:
  12960. properties:
  12961. applyid:
  12962. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  12963. type: integer
  12964. applystatus:
  12965. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  12966. type: integer
  12967. applytime:
  12968. description: 申请时间(时间)
  12969. type: string
  12970. auditremark:
  12971. description: 审核备注(拒绝原因?)
  12972. type: string
  12973. buyorsell:
  12974. description: 买卖 - 0:买 1:卖
  12975. type: integer
  12976. goodscode:
  12977. description: 商品代码
  12978. type: string
  12979. goodsid:
  12980. description: 商品ID
  12981. type: integer
  12982. goodsname:
  12983. description: 商品名称
  12984. type: string
  12985. marketid:
  12986. description: 市场ID
  12987. type: integer
  12988. qty:
  12989. description: 转让数量(数量)
  12990. type: number
  12991. tradeid:
  12992. description: 成交单号(关联持仓)
  12993. type: string
  12994. transferamount:
  12995. description: 转让总金额(金额)
  12996. type: number
  12997. transferprice:
  12998. description: 转让价格(协议价格)
  12999. type: number
  13000. type: object
  13001. models.TradeHolderDetail:
  13002. properties:
  13003. accountid:
  13004. description: 账号ID
  13005. type: integer
  13006. agreeunit:
  13007. description: 合约乘数
  13008. type: number
  13009. buyorsell:
  13010. description: 方向 - 0:买 1:卖
  13011. type: integer
  13012. currencyid:
  13013. description: 商品币种id
  13014. type: integer
  13015. currencyname:
  13016. description: 币种名称
  13017. type: string
  13018. decimalplace:
  13019. description: 商品价格小数位
  13020. type: integer
  13021. enumdicname:
  13022. description: 商品单位名称
  13023. type: string
  13024. expirecycle:
  13025. description: 行权周期(天) - 1:滚动行权时填写
  13026. type: integer
  13027. expiredate:
  13028. description: 行权日(yyyyMMdd) - 到期日
  13029. type: string
  13030. expiretype:
  13031. description: 行权日类型 - 1:滚动行权 2:固定日行权
  13032. type: integer
  13033. freezeqty:
  13034. description: 冻结数量
  13035. type: number
  13036. goodscode:
  13037. description: 商品代码
  13038. type: string
  13039. goodsid:
  13040. description: 商品ID
  13041. type: integer
  13042. goodsname:
  13043. description: 商品名称
  13044. type: string
  13045. goodunitid:
  13046. description: 商品单位id
  13047. type: integer
  13048. holderamount:
  13049. description: 持仓金额
  13050. type: number
  13051. holdercredit:
  13052. description: 持仓授信金额
  13053. type: number
  13054. holderdays:
  13055. description: 剩余冻结天数
  13056. type: integer
  13057. holderprice:
  13058. description: 持仓价格
  13059. type: number
  13060. holderqty:
  13061. description: 持仓数量
  13062. type: number
  13063. isconfirmexercise:
  13064. description: 是否确认行权- 0:否 1:是
  13065. type: integer
  13066. ispreexercise:
  13067. description: 是否预申报- 0:否 1:是 2:不可行权
  13068. type: integer
  13069. marketid:
  13070. description: 市场id
  13071. type: integer
  13072. marketname:
  13073. description: 市场名称
  13074. type: string
  13075. openprice:
  13076. description: 建仓价格
  13077. type: number
  13078. openqty:
  13079. description: 建仓数量
  13080. type: number
  13081. optiontype:
  13082. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  13083. type: integer
  13084. preexerciseprice:
  13085. description: 预申报价格
  13086. type: number
  13087. premium:
  13088. description: 权利金
  13089. type: number
  13090. qtydecimalplace:
  13091. description: 商品成交量小数位
  13092. type: integer
  13093. refgoodscode:
  13094. description: 标的合约代码
  13095. type: string
  13096. refgoodsid:
  13097. description: 标的合约id
  13098. type: integer
  13099. releaseamount:
  13100. description: 释放持仓金额
  13101. type: number
  13102. releaseholdercredit:
  13103. description: 释放持仓授信金额
  13104. type: number
  13105. taname:
  13106. description: 资金账号名称
  13107. type: string
  13108. tradeamount:
  13109. description: 成交金额
  13110. type: number
  13111. tradedate:
  13112. description: 交易日(yyyyMMdd)
  13113. type: string
  13114. tradeid:
  13115. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13116. type: string
  13117. trademode:
  13118. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  13119. 21:竞拍-大宗式 22:受托竞价 46:掉期
  13120. type: integer
  13121. tradeproperty:
  13122. description: 交易属性
  13123. type: integer
  13124. tradetime:
  13125. description: 交易时间
  13126. type: string
  13127. userid:
  13128. description: 用户id
  13129. type: integer
  13130. username:
  13131. description: 用户名称
  13132. type: string
  13133. type: object
  13134. models.UserCollectConfig:
  13135. properties:
  13136. accountstatus:
  13137. description: 账户状态 - 1:正常 2:停用 3:注销
  13138. type: integer
  13139. collectaccountname:
  13140. description: 收款人账户名称
  13141. type: string
  13142. collectaccountno:
  13143. description: 收款人账户
  13144. type: string
  13145. collectbankname:
  13146. description: 收款人开户行
  13147. type: string
  13148. collectbranchbankname:
  13149. description: 收款人开户支行
  13150. type: string
  13151. collectconfigid:
  13152. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  13153. type: string
  13154. remark:
  13155. description: 备注
  13156. type: string
  13157. userid:
  13158. description: 收款人用户ID
  13159. type: integer
  13160. type: object
  13161. models.UserReceiveInfo:
  13162. properties:
  13163. address:
  13164. description: 提货人详细地址
  13165. type: string
  13166. autoid:
  13167. description: AutoID
  13168. type: integer
  13169. cardnum:
  13170. description: 证件号码(加密存储)
  13171. type: string
  13172. cardtypeid:
  13173. description: 证件类型
  13174. type: integer
  13175. cityid:
  13176. description: 市
  13177. type: integer
  13178. cityname:
  13179. description: 城市名称
  13180. type: string
  13181. countryid:
  13182. description: 国家
  13183. type: integer
  13184. countryname:
  13185. description: 国家名称
  13186. type: string
  13187. districtid:
  13188. description: 地区
  13189. type: integer
  13190. districtname:
  13191. description: 地区名称
  13192. type: string
  13193. hasencrypt:
  13194. description: 数据是否已加密 - 0:未加密 1:已加密
  13195. type: integer
  13196. isdefault:
  13197. description: 是否默认地址 - 0:否 1:是
  13198. type: integer
  13199. phonenum:
  13200. description: 提货人联系方式(加密存储)
  13201. type: string
  13202. provinceid:
  13203. description: 省
  13204. type: integer
  13205. provincename:
  13206. description: 省名称
  13207. type: string
  13208. receivername:
  13209. description: 提货人姓名
  13210. type: string
  13211. takeremark:
  13212. description: 提货备注
  13213. type: string
  13214. userid:
  13215. description: 用户ID
  13216. type: integer
  13217. type: object
  13218. models.Useraccount:
  13219. properties:
  13220. accountname:
  13221. description: 账户名称(机构名称)
  13222. type: string
  13223. accountstatus:
  13224. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  13225. type: integer
  13226. applysrc:
  13227. description: 申请来源 - 1:管理端 2:终端
  13228. type: integer
  13229. auditremark:
  13230. description: 审核备注
  13231. type: string
  13232. auditsrc:
  13233. description: 审核来源 - 1:管理端 2:终端
  13234. type: integer
  13235. audittime:
  13236. description: 审核时间
  13237. type: string
  13238. audituserid:
  13239. description: 审核人
  13240. type: integer
  13241. broker:
  13242. description: 所属经纪人ID
  13243. type: integer
  13244. canceltime:
  13245. description: 销户时间
  13246. type: string
  13247. canceluserid:
  13248. description: 销户人
  13249. type: integer
  13250. canrecommend:
  13251. description: 是否可推荐 - 0:不可 1;可
  13252. type: integer
  13253. createtime:
  13254. description: 创建时间
  13255. type: string
  13256. creatorid:
  13257. description: 创建人
  13258. type: integer
  13259. hasauth:
  13260. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  13261. type: integer
  13262. isanonymous:
  13263. description: 是否匿名下单 - 0:否 1:是
  13264. type: integer
  13265. maxinvestornum:
  13266. description: 最大用户数(经纪会员下投资者个数)
  13267. type: integer
  13268. memberuserid:
  13269. description: 所属会员ID
  13270. type: integer
  13271. modifierid:
  13272. description: 修改人
  13273. type: integer
  13274. modifyremark:
  13275. description: 变更备注
  13276. type: string
  13277. modifystatus:
  13278. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  13279. type: integer
  13280. modifytime:
  13281. description: 修改时间
  13282. type: string
  13283. parenttopuser:
  13284. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  13285. type: string
  13286. parentuserid:
  13287. description: 所属机构ID
  13288. type: integer
  13289. reckonaccountid:
  13290. description: 默认结算资金账号ID(机构分润使用) 作废
  13291. type: integer
  13292. refercount:
  13293. description: 推荐总人数
  13294. type: integer
  13295. refereeuserid:
  13296. description: 推荐人ID
  13297. type: integer
  13298. refernum:
  13299. description: 推荐码
  13300. type: string
  13301. rootuserid:
  13302. description: 根用户ID
  13303. type: integer
  13304. subaccountlevel:
  13305. description: 子账户层数
  13306. type: integer
  13307. subarealevelpath:
  13308. description: 子机构层级路径(逗号分隔,首尾加逗号)
  13309. type: string
  13310. userid:
  13311. description: 用户ID
  13312. type: integer
  13313. usertype:
  13314. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  13315. type: integer
  13316. required:
  13317. - userid
  13318. type: object
  13319. models.Userfavoritegoods:
  13320. properties:
  13321. goodsid:
  13322. description: 商品ID
  13323. type: integer
  13324. required:
  13325. - goodsid
  13326. type: object
  13327. models.Userinfo:
  13328. properties:
  13329. address:
  13330. description: 地址
  13331. type: string
  13332. attachment1:
  13333. description: 附件1
  13334. type: string
  13335. attachment2:
  13336. description: 附件2
  13337. type: string
  13338. bankaccount:
  13339. description: 银行帐号 (加密存储)
  13340. type: string
  13341. bankaccountname:
  13342. description: 收款人名称
  13343. type: string
  13344. bankcardfrontphotourl:
  13345. description: 银行卡正面照地址
  13346. type: string
  13347. bankid:
  13348. description: 银行编码
  13349. type: string
  13350. bankname:
  13351. description: 银行名称
  13352. type: string
  13353. biznature:
  13354. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  13355. type: integer
  13356. bizscope:
  13357. description: 企业经营范围(企业)
  13358. type: string
  13359. cardbackphotourl:
  13360. description: 证件背面图片地址
  13361. type: string
  13362. cardfrontphotourl:
  13363. description: 证件正面图片地址
  13364. type: string
  13365. cardnum:
  13366. description: 证件号码(加密存储)
  13367. type: string
  13368. cardtypeid:
  13369. description: 证件类型ID
  13370. type: integer
  13371. cityid:
  13372. description: 市
  13373. type: integer
  13374. company:
  13375. description: 公司(个人)
  13376. type: string
  13377. contactname:
  13378. description: 联系人
  13379. type: string
  13380. countryid:
  13381. description: 国家
  13382. type: integer
  13383. createtime:
  13384. description: 创建时间
  13385. type: string
  13386. creatorid:
  13387. description: 创建人
  13388. type: integer
  13389. customername:
  13390. description: 客户名称(企业名称)
  13391. type: string
  13392. districtid:
  13393. description: 地区
  13394. type: integer
  13395. email:
  13396. description: 邮件(加密存储)
  13397. type: string
  13398. fax:
  13399. description: 传真(加密存储)
  13400. type: string
  13401. halfbodyphotourl:
  13402. description: 半身照地址
  13403. type: string
  13404. hasencrypt:
  13405. description: 数据是否已加密 - 0:未加密 1:已加密
  13406. type: integer
  13407. headurl:
  13408. description: 头像地址
  13409. type: string
  13410. legalcardbackphotourl:
  13411. description: 法人身份证背面照地址
  13412. type: string
  13413. legalcardfrontphotourl:
  13414. description: 法人身份证正面照地址
  13415. type: string
  13416. legalpersonname:
  13417. description: 法人姓名(企业)
  13418. type: string
  13419. mobile:
  13420. description: 手机号码(加密存储)
  13421. type: string
  13422. mobile2:
  13423. description: 手机号码[明文-尚志]
  13424. type: string
  13425. modifierid:
  13426. description: 修改人
  13427. type: integer
  13428. modifiertime:
  13429. description: 修改时间
  13430. type: string
  13431. needinvoice:
  13432. description: 是否需要发票 - 0:不需要 1:需要
  13433. type: integer
  13434. nickname:
  13435. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  13436. type: string
  13437. openmode:
  13438. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  13439. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  13440. type: integer
  13441. otherurl:
  13442. description: 其它图片地址[使用分号分隔]
  13443. type: string
  13444. postalcode:
  13445. description: 邮政编码
  13446. type: string
  13447. provinceid:
  13448. description: 省
  13449. type: integer
  13450. qq:
  13451. description: QQ(加密存储
  13452. type: string
  13453. remark:
  13454. description: 备注
  13455. type: string
  13456. sex:
  13457. description: '用户性别 0: 女 1: 男'
  13458. type: integer
  13459. signpdfurl:
  13460. description: 签约pdf文件
  13461. type: string
  13462. telphone:
  13463. description: 联系电话(加密存储)
  13464. type: string
  13465. userid:
  13466. description: 用户ID
  13467. type: integer
  13468. userinfotype:
  13469. description: 用户信息类型 - 1:个人 2:企业
  13470. type: integer
  13471. userstatus:
  13472. description: 用户状态 - 1:正常 2:注销
  13473. type: integer
  13474. usertype:
  13475. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  13476. type: integer
  13477. wechat:
  13478. description: 微信(加密存储)
  13479. type: string
  13480. wskhinfo:
  13481. description: 开户申请信息(JSON)
  13482. type: string
  13483. required:
  13484. - userid
  13485. type: object
  13486. models.WRSConverTDetail:
  13487. properties:
  13488. convertratio:
  13489. description: 套保系数
  13490. type: number
  13491. deliverygoodscode:
  13492. description: 现货商品代码
  13493. type: string
  13494. deliverygoodsid:
  13495. description: 现货品种ID
  13496. type: integer
  13497. deliverygoodsname:
  13498. description: 现货商品名称
  13499. type: string
  13500. enumdicname:
  13501. description: 单位名称
  13502. type: string
  13503. goodsunitid:
  13504. description: 套保品种单位id
  13505. type: integer
  13506. middlegoodscode:
  13507. description: 套保品种代码
  13508. type: string
  13509. middlegoodsid:
  13510. description: 套保品种ID
  13511. type: integer
  13512. middlegoodsname:
  13513. description: 套保品种名称
  13514. type: string
  13515. modifytime:
  13516. description: 修改时间
  13517. type: string
  13518. wrstandardid:
  13519. description: 品类ID
  13520. type: integer
  13521. type: object
  13522. models.WRStandardInfo:
  13523. properties:
  13524. areauserid:
  13525. description: 所属机构
  13526. type: integer
  13527. convertfactor:
  13528. description: 标仓系数
  13529. type: number
  13530. createtime:
  13531. description: 创建时间
  13532. type: string
  13533. creatorid:
  13534. description: 创建人
  13535. type: integer
  13536. deliverygoodsid:
  13537. description: 品种ID
  13538. type: integer
  13539. deliverygoodsname:
  13540. description: 交割商品名称
  13541. type: string
  13542. factoryitemjson:
  13543. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  13544. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  13545. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  13546. 逗号分隔'
  13547. type: string
  13548. isvalid:
  13549. description: 是否有效 - 0:无效 1:有效
  13550. type: integer
  13551. minivalue:
  13552. description: 最小变动值
  13553. type: integer
  13554. minivaluedp:
  13555. description: 最小变动值小数位
  13556. type: integer
  13557. realminivalue:
  13558. description: 实际最小变动值
  13559. type: integer
  13560. realminivaluedp:
  13561. description: 实际最小变动值小数位
  13562. type: integer
  13563. remark:
  13564. description: 备注
  13565. type: string
  13566. unitid:
  13567. description: 单位ID
  13568. type: integer
  13569. unitname:
  13570. description: 单位
  13571. type: string
  13572. updatetime:
  13573. description: 更新时间
  13574. type: string
  13575. updatorid:
  13576. description: 更新人
  13577. type: integer
  13578. wrsstatus:
  13579. description: 状态 - 作废 - 0:未激活 1:正常
  13580. type: integer
  13581. wrstandardcode:
  13582. description: 现货品类代码
  13583. type: string
  13584. wrstandardid:
  13585. description: 现货品类ID(SEQ_WRSTANDARD)
  13586. type: integer
  13587. wrstandardname:
  13588. description: 现货品类名称
  13589. type: string
  13590. required:
  13591. - wrstandardid
  13592. type: object
  13593. models.WRTradeBargainApply:
  13594. properties:
  13595. accountid:
  13596. description: 摘牌资金账号
  13597. type: integer
  13598. applyprice:
  13599. description: 申请价格(议价价格)
  13600. type: string
  13601. applyqty:
  13602. description: 摘牌数量(议价数量)
  13603. type: number
  13604. applyremark:
  13605. description: 申请备注
  13606. type: string
  13607. applystatus:
  13608. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  13609. type: integer
  13610. applytime:
  13611. description: 申请时间(议价时间)
  13612. type: string
  13613. buyorsell:
  13614. description: 买卖(挂牌类型) - 0:买 1:卖
  13615. type: integer
  13616. confirmremark:
  13617. description: 确认备注
  13618. type: string
  13619. confirmtime:
  13620. description: 确认时间
  13621. type: string
  13622. confirmuserid:
  13623. description: 确认人
  13624. type: integer
  13625. deliverygoodscode:
  13626. description: 品种代码
  13627. type: string
  13628. deliverygoodsid:
  13629. description: 品种ID
  13630. type: integer
  13631. deliverygoodsname:
  13632. description: 品种名称
  13633. type: string
  13634. deliverymonth:
  13635. description: 交收月
  13636. type: string
  13637. enumdicname:
  13638. description: 单位名称
  13639. type: string
  13640. fixedprice:
  13641. description: 挂牌价格
  13642. type: number
  13643. handlestatus:
  13644. description: 处理状态
  13645. type: integer
  13646. marginvalue:
  13647. description: 履约保证金比例
  13648. type: number
  13649. marketid:
  13650. description: 市场ID
  13651. type: integer
  13652. matchaccountid:
  13653. description: 挂牌方资金账号
  13654. type: integer
  13655. matchuserid:
  13656. description: 挂牌方用户id
  13657. type: integer
  13658. matchusername:
  13659. description: 挂牌方用户名称(已脱敏)
  13660. type: string
  13661. minivalue:
  13662. description: 现货商品最小变动值
  13663. type: integer
  13664. optioncompare:
  13665. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  13666. type: string
  13667. orderqty:
  13668. description: 挂牌数量
  13669. type: integer
  13670. refprice:
  13671. description: 参考价格
  13672. type: string
  13673. retcode:
  13674. description: 委托返回代码
  13675. type: integer
  13676. templatename:
  13677. description: 履约方式(履约模板名称)
  13678. type: string
  13679. tradedate:
  13680. description: 交易日(yyyyMMdd)
  13681. type: string
  13682. userid:
  13683. description: 摘牌人用户ID(议价人ID)
  13684. type: integer
  13685. username:
  13686. description: 议价人名字(已脱敏)
  13687. type: string
  13688. validtime:
  13689. description: 有效期限
  13690. type: string
  13691. warehouseid:
  13692. description: 仓库ID
  13693. type: integer
  13694. warehousename:
  13695. description: 仓库名称
  13696. type: string
  13697. wrbargainid:
  13698. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  13699. type: string
  13700. wrfactortypeid:
  13701. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  13702. type: string
  13703. wrfactortypename:
  13704. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  13705. type: string
  13706. wrstandardcode:
  13707. description: 现货商品代码
  13708. type: string
  13709. wrstandardid:
  13710. description: 现货商品ID
  13711. type: integer
  13712. wrstandardname:
  13713. description: 商品名称
  13714. type: string
  13715. wrtradeorderid:
  13716. description: 关联委托单ID
  13717. type: string
  13718. wrtypename:
  13719. description: 商品
  13720. type: string
  13721. type: object
  13722. models.Warehouseinfo:
  13723. properties:
  13724. address:
  13725. description: 详细地址
  13726. type: string
  13727. areauserid:
  13728. description: 所属机构
  13729. type: integer
  13730. autoid:
  13731. description: 自增ID
  13732. type: integer
  13733. cityid:
  13734. description: 市
  13735. type: integer
  13736. contactname:
  13737. description: 联系人
  13738. type: string
  13739. contactnum:
  13740. description: 联系电话
  13741. type: string
  13742. countryid:
  13743. description: 国家
  13744. type: integer
  13745. createtime:
  13746. description: 创建时间
  13747. type: string
  13748. districtid:
  13749. description: 区
  13750. type: integer
  13751. hasvideo:
  13752. description: 是否有视频 - 0:无 1:有
  13753. type: integer
  13754. provinceid:
  13755. description: 省
  13756. type: integer
  13757. remark:
  13758. description: 审核备注
  13759. type: string
  13760. videourl:
  13761. description: 视频地址
  13762. type: string
  13763. warehousecode:
  13764. description: 仓库代码
  13765. type: string
  13766. warehousename:
  13767. description: 仓库名称
  13768. type: string
  13769. warehousestatus:
  13770. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  13771. type: integer
  13772. warehousetype:
  13773. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  13774. type: integer
  13775. required:
  13776. - autoid
  13777. - warehousecode
  13778. type: object
  13779. models.WrAverageTradePrice:
  13780. properties:
  13781. averageprice:
  13782. description: 成交均价
  13783. type: number
  13784. tradedate:
  13785. description: 交易日yyyymm
  13786. type: string
  13787. type: object
  13788. models.WrBsGoodsInfo:
  13789. properties:
  13790. buyorsell:
  13791. description: 买卖方向 0-买 1-卖
  13792. type: integer
  13793. goodsid:
  13794. description: 交易合约ID
  13795. type: integer
  13796. lstitem:
  13797. description: 商品信息项
  13798. items:
  13799. $ref: '#/definitions/models.WrTypeItem'
  13800. type: array
  13801. lststep:
  13802. description: 履约规则
  13803. items:
  13804. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  13805. type: array
  13806. type: object
  13807. models.WrBuybackDetail:
  13808. properties:
  13809. buybackamount:
  13810. description: 回购金额
  13811. type: number
  13812. buybackqty:
  13813. description: 回购数量
  13814. type: number
  13815. buybackreleasemargin:
  13816. description: 回购释放保证金
  13817. type: number
  13818. buybacktime:
  13819. description: 回购时间
  13820. type: string
  13821. errordesc:
  13822. description: 错误描述
  13823. type: string
  13824. handlestatus:
  13825. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  13826. type: integer
  13827. relatedwrid:
  13828. description: 关联仓单ID
  13829. type: integer
  13830. scfcontractid:
  13831. description: SCF合同ID
  13832. type: string
  13833. scfwrbuybackid:
  13834. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  13835. type: integer
  13836. tradedate:
  13837. description: 交易日(yyyyMMdd)
  13838. type: string
  13839. type: object
  13840. models.WrDeliveryAvalidHoldLB:
  13841. properties:
  13842. accountid:
  13843. description: 资金账号
  13844. type: integer
  13845. avalidqty:
  13846. description: 数量(可点选数量)
  13847. type: number
  13848. deliverygoodsid:
  13849. description: 品种id
  13850. type: integer
  13851. enumdicname:
  13852. description: 单位名称
  13853. type: string
  13854. goodsid:
  13855. description: x合约商品id
  13856. type: integer
  13857. ladingbillid:
  13858. description: 提单id
  13859. type: string
  13860. pgoodscode:
  13861. description: p商品代码(点价合约)
  13862. type: string
  13863. pgoodsid:
  13864. description: p商品id(点价合约)
  13865. type: integer
  13866. pgoodsname:
  13867. description: p商品名称(点价合约)
  13868. type: string
  13869. pricemove:
  13870. description: 升贴水
  13871. type: number
  13872. subnum:
  13873. description: 提单子id
  13874. type: integer
  13875. userid:
  13876. description: 用户id
  13877. type: integer
  13878. username:
  13879. description: 仓单持有人
  13880. type: string
  13881. warehousecode:
  13882. description: 仓库代码
  13883. type: string
  13884. warehouseid:
  13885. description: 仓库id
  13886. type: integer
  13887. warehousename:
  13888. description: 仓库名称
  13889. type: string
  13890. wrfactortypeid:
  13891. description: 仓单要素id
  13892. type: string
  13893. wrstandardcode:
  13894. description: 品代码
  13895. type: string
  13896. wrstandardid:
  13897. description: 品类d
  13898. type: integer
  13899. wrstandardname:
  13900. description: 品类名称
  13901. type: string
  13902. wrtypename:
  13903. description: 商品
  13904. type: string
  13905. xgoodscode:
  13906. description: x合约代码
  13907. type: string
  13908. xgoodsname:
  13909. description: x合约名称
  13910. type: string
  13911. type: object
  13912. models.WrDeliveryDetail:
  13913. properties:
  13914. accountid:
  13915. description: 账号ID
  13916. type: integer
  13917. averageprice:
  13918. description: 交割均价 = 交割金额 / 交割数量
  13919. type: number
  13920. buyorsell:
  13921. description: 方向 - 0:买 1:卖
  13922. type: integer
  13923. deliveryamount:
  13924. description: 货款金额(X总货款+P总货款)
  13925. type: number
  13926. deliveryid:
  13927. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  13928. type: string
  13929. deliveryorderid:
  13930. description: 申报单号
  13931. type: string
  13932. deliverypricemove:
  13933. description: 升贴水(升贴水总额)
  13934. type: number
  13935. deliveryqty:
  13936. description: 交收数量(点选数量)
  13937. type: number
  13938. deliverystatus:
  13939. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  13940. type: integer
  13941. deliverytime:
  13942. description: 交割时间
  13943. type: string
  13944. deliverytotalamount:
  13945. description: 交收金额
  13946. type: number
  13947. enumdicname:
  13948. description: 单位名称
  13949. type: string
  13950. matchaccountid:
  13951. description: 对手账号ID
  13952. type: integer
  13953. matchusername:
  13954. description: 对手方名称(仓单持有人)
  13955. type: string
  13956. p1goodsremainamount:
  13957. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  13958. type: number
  13959. pdeliverycloseqty:
  13960. description: p合约平仓数量
  13961. type: number
  13962. pdeliveryprice:
  13963. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  13964. type: number
  13965. pgoodscode:
  13966. description: 商品代码
  13967. type: string
  13968. pgoodsid:
  13969. description: p点选合约id
  13970. type: integer
  13971. pgoodsname:
  13972. description: 商品名称
  13973. type: string
  13974. ppricemode:
  13975. description: 点价价格方式 - 1:商品价 2:固定值
  13976. type: integer
  13977. tradedate:
  13978. description: 交易日(yyyymmdd)
  13979. type: string
  13980. userid:
  13981. description: 用户id
  13982. type: integer
  13983. username:
  13984. description: 用户名称
  13985. type: string
  13986. warehousename:
  13987. description: 仓库名称
  13988. type: string
  13989. wrfactortypeid:
  13990. description: 仓单要素类型ID
  13991. type: string
  13992. wrtypename:
  13993. description: 商品
  13994. type: string
  13995. xdeliverycloseqty:
  13996. description: 合约数量
  13997. type: number
  13998. xgoodsamount:
  13999. description: 合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)
  14000. type: number
  14001. xgoodscode:
  14002. description: 商品代码
  14003. type: string
  14004. xgoodsid:
  14005. description: x交易合约ID
  14006. type: integer
  14007. xgoodsname:
  14008. description: 商品名称
  14009. type: string
  14010. type: object
  14011. models.WrFAProductDetail:
  14012. properties:
  14013. accountid:
  14014. description: 资金账号
  14015. type: integer
  14016. areauserid:
  14017. description: 金融机构ID
  14018. type: integer
  14019. financingdays:
  14020. description: 天数(天)
  14021. type: integer
  14022. interestminlen:
  14023. description: 最小起息天数
  14024. type: integer
  14025. interestrate:
  14026. description: 利率
  14027. type: number
  14028. interestratemode:
  14029. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  14030. type: integer
  14031. interestsettlemode:
  14032. description: 结息方式 - 1:按日结息 3:按月结息
  14033. type: integer
  14034. interestsettlevalue:
  14035. description: 结息方式值
  14036. type: integer
  14037. isautoloan:
  14038. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  14039. type: integer
  14040. loantag:
  14041. description: '放款标识: "放款快" 或者为空'
  14042. type: string
  14043. marginratio:
  14044. description: 保证金比率质押率 - [仓单质押]
  14045. type: number
  14046. productdetailid:
  14047. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  14048. type: integer
  14049. productid:
  14050. description: 金融产品ID
  14051. type: integer
  14052. productname:
  14053. description: 产品名称
  14054. type: string
  14055. updatetime:
  14056. description: 更新时间
  14057. type: string
  14058. username:
  14059. description: 融出方
  14060. type: string
  14061. type: object
  14062. models.WrFactorTypeInfo:
  14063. properties:
  14064. deliverygoodscode:
  14065. description: 品种代码
  14066. type: string
  14067. deliverygoodsname:
  14068. description: 品种名称
  14069. type: string
  14070. dgfactoryitemid:
  14071. description: 选择项id
  14072. type: integer
  14073. dgfactoryitemtypeid:
  14074. description: 要素选择项ID (1-仓库 2-品牌)
  14075. type: integer
  14076. dgfactoryitemvalue:
  14077. description: 要素项值
  14078. type: string
  14079. itemtypename:
  14080. description: 要素项名称
  14081. type: string
  14082. optioncompare:
  14083. description: 选择比较串
  14084. type: string
  14085. warehouseid:
  14086. description: 仓库id
  14087. type: integer
  14088. wrfactortypeid:
  14089. description: 仓单要素ID
  14090. type: string
  14091. wrfactortypename:
  14092. description: 要素名称
  14093. type: string
  14094. wrfactortypename2:
  14095. description: 要素名称(不含仓库)
  14096. type: string
  14097. wrstandardcode:
  14098. description: 品类代码
  14099. type: string
  14100. wrstandardid:
  14101. description: 品类id
  14102. type: integer
  14103. wrstandardname:
  14104. description: 品类名称
  14105. type: string
  14106. type: object
  14107. models.WrFilterItem:
  14108. properties:
  14109. itemcode:
  14110. description: 代码
  14111. type: string
  14112. itemid:
  14113. description: 项id
  14114. type: integer
  14115. itemname:
  14116. description: 名称
  14117. type: string
  14118. itemtype:
  14119. description: 类型 1-品种 2-品类(商品) 3-仓库
  14120. type: integer
  14121. type: object
  14122. models.WrFinanceBuyApply:
  14123. properties:
  14124. applydate:
  14125. description: 申请时间
  14126. type: string
  14127. applystatus:
  14128. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  14129. type: integer
  14130. applyuserid:
  14131. description: 申请人
  14132. type: integer
  14133. auditdate:
  14134. description: 审核时间
  14135. type: string
  14136. auditremark:
  14137. description: 审核备注
  14138. type: string
  14139. audituserid:
  14140. description: 审核人
  14141. type: integer
  14142. buyaccountid:
  14143. description: 买方资金账号
  14144. type: integer
  14145. buyorsell:
  14146. description: 买卖 - 0:买 1:卖
  14147. type: integer
  14148. buyuserid:
  14149. description: 买方用户ID
  14150. type: integer
  14151. buyusername:
  14152. description: 买方名称
  14153. type: string
  14154. buywrtradeorderid:
  14155. description: 融资方买委托单ID
  14156. type: string
  14157. deliverygoodscode:
  14158. description: 品种代码
  14159. type: string
  14160. deliverygoodsid:
  14161. description: 品种ID
  14162. type: integer
  14163. deliverygoodsname:
  14164. description: 品种名称
  14165. type: string
  14166. deliverymonth:
  14167. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  14168. type: string
  14169. enumdicname:
  14170. description: 单位名称
  14171. type: string
  14172. financeaccountid:
  14173. description: 融资方资金帐户ID
  14174. type: integer
  14175. financeapplyid:
  14176. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  14177. type: string
  14178. financeareauserid:
  14179. description: 融资方用户ID
  14180. type: string
  14181. financename:
  14182. description: 融出方名称
  14183. type: string
  14184. financetype:
  14185. description: 融资类型 1-融资回购
  14186. type: integer
  14187. financingdays:
  14188. description: 天数(天)
  14189. type: integer
  14190. freezebuymargin:
  14191. description: 冻结融资保证金(买方)
  14192. type: number
  14193. handleremark:
  14194. description: 处理备注
  14195. type: string
  14196. handlestatus:
  14197. description: 处理状态
  14198. type: integer
  14199. interestminlen:
  14200. description: 最小起息天数
  14201. type: integer
  14202. interestrate:
  14203. description: 利率
  14204. type: number
  14205. interestratemode:
  14206. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  14207. type: integer
  14208. interestsettlemode:
  14209. description: 结息方式 - 1:按日结息 3:按月结息
  14210. type: integer
  14211. interestsettlevalue:
  14212. description: 结息方式值
  14213. type: integer
  14214. isautoloan:
  14215. description: 是否自动放款 - 0:手动 1:自动
  14216. type: integer
  14217. marginratio:
  14218. description: 保证金比率质押率 - [仓单质押]
  14219. type: number
  14220. marketid:
  14221. description: 市场ID
  14222. type: integer
  14223. minivalue:
  14224. description: 现货商品最小变动值
  14225. type: integer
  14226. optioncompare:
  14227. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14228. type: string
  14229. orderqty:
  14230. description: 委托数量(商品数量)
  14231. type: number
  14232. productdetailid:
  14233. description: 产品组合ID
  14234. type: integer
  14235. productid:
  14236. description: 金融产品ID
  14237. type: integer
  14238. productname:
  14239. description: 产品名称
  14240. type: string
  14241. remark:
  14242. description: 备注
  14243. type: string
  14244. scfcontractid:
  14245. description: 仓单回购合同ID
  14246. type: string
  14247. sellaccountid:
  14248. description: 卖方资金账号
  14249. type: integer
  14250. selluserid:
  14251. description: 卖方用户ID
  14252. type: integer
  14253. sellwrtradeorderid:
  14254. description: 卖方委托单ID
  14255. type: string
  14256. tradeamount:
  14257. description: 成交金额(借款金额)
  14258. type: number
  14259. tradedate:
  14260. description: 交易日(yyyyMMdd)
  14261. type: string
  14262. tradeprice:
  14263. description: 成交价格
  14264. type: number
  14265. warehouseid:
  14266. description: 仓库ID
  14267. type: integer
  14268. warehousename:
  14269. description: 仓库名称
  14270. type: string
  14271. wrfactortypeid:
  14272. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14273. type: string
  14274. wrfactortypename:
  14275. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14276. type: string
  14277. wrpricetype:
  14278. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  14279. type: integer
  14280. wrstandardcode:
  14281. description: 现货商品代码
  14282. type: string
  14283. wrstandardid:
  14284. description: 现货商品ID
  14285. type: integer
  14286. wrstandardname:
  14287. description: 商品名称
  14288. type: string
  14289. wrtypename:
  14290. description: 商品
  14291. type: string
  14292. type: object
  14293. models.WrFriendApply:
  14294. properties:
  14295. applicantid:
  14296. description: 申请人
  14297. type: integer
  14298. applyname:
  14299. description: 申请人名称
  14300. type: string
  14301. applysrc:
  14302. description: 申请来源 - 1:管理端 2:终端
  14303. type: integer
  14304. applystatus:
  14305. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  14306. type: integer
  14307. applytime:
  14308. description: 申请时间
  14309. type: string
  14310. auditname:
  14311. description: 审核人名称
  14312. type: string
  14313. auditorid:
  14314. description: 审核人
  14315. type: integer
  14316. auditremark:
  14317. description: 审核备注
  14318. type: string
  14319. auditsrc:
  14320. description: 审核来源 - 1:管理端 2:终端
  14321. type: integer
  14322. audittime:
  14323. description: 审核时间
  14324. type: string
  14325. friendapplyid:
  14326. description: 申请ID(SEQ_FRIENDAPPLY)
  14327. type: string
  14328. friendname:
  14329. description: 好友名字(已脱敏)
  14330. type: string
  14331. frienduserid:
  14332. description: 好友用户ID
  14333. type: string
  14334. remark:
  14335. description: 备注
  14336. type: string
  14337. userid:
  14338. description: 申请人用户ID
  14339. type: integer
  14340. type: object
  14341. models.WrFtDeliveryGoods:
  14342. properties:
  14343. deliverygoodscode:
  14344. description: 品种代码
  14345. type: string
  14346. deliverygoodsid:
  14347. description: 品种ID
  14348. type: integer
  14349. deliverygoodsname:
  14350. description: 品种名称
  14351. type: string
  14352. wdlst:
  14353. description: 商品列表
  14354. items:
  14355. $ref: '#/definitions/models.WrFtWrstandard'
  14356. type: array
  14357. type: object
  14358. models.WrFtWrstandard:
  14359. properties:
  14360. enumdicname:
  14361. description: 单位名称
  14362. type: string
  14363. minivalue:
  14364. description: 最小变动值
  14365. type: integer
  14366. wrstandardcode:
  14367. description: 现货商品代码
  14368. type: string
  14369. wrstandardid:
  14370. description: 现货商品ID
  14371. type: integer
  14372. wrstandardname:
  14373. description: 商品名称
  14374. type: string
  14375. type: object
  14376. models.WrGoodsInfo:
  14377. properties:
  14378. haswr:
  14379. description: 0:仓单预售 1:仓单贸易
  14380. type: integer
  14381. lstitem:
  14382. description: 商品信息项
  14383. items:
  14384. $ref: '#/definitions/models.WrTypeItem'
  14385. type: array
  14386. lststep:
  14387. description: 履约规则
  14388. items:
  14389. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  14390. type: array
  14391. marketid:
  14392. description: 市场id
  14393. type: integer
  14394. type: object
  14395. models.WrGoodsPerformanceStep:
  14396. properties:
  14397. autoid:
  14398. description: AutoID
  14399. type: integer
  14400. isauto:
  14401. description: 是否自动 - 0:不自动 1:自动
  14402. type: integer
  14403. remark:
  14404. description: 备注
  14405. type: string
  14406. stepdate:
  14407. description: 天数信息(T+N)
  14408. type: string
  14409. stepdays:
  14410. description: 距离上一步天数
  14411. type: integer
  14412. stepindex:
  14413. description: 步骤序号
  14414. type: integer
  14415. stepinfo:
  14416. description: 步骤信息(步骤名称+步骤值)
  14417. type: string
  14418. steptypeid:
  14419. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  14420. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  14421. type: integer
  14422. steptypename:
  14423. description: 步骤名称
  14424. type: string
  14425. stepvalue:
  14426. description: 步骤值
  14427. type: number
  14428. templateid:
  14429. description: 履约计划模板ID
  14430. type: integer
  14431. type: object
  14432. models.WrHoldLB:
  14433. properties:
  14434. accountid:
  14435. description: 持有人帐户ID
  14436. type: integer
  14437. createtime:
  14438. description: 创建时间(过户时间)
  14439. type: string
  14440. deliverygoodscode:
  14441. description: 品种代码
  14442. type: string
  14443. deliverygoodsid:
  14444. description: 品种ID
  14445. type: integer
  14446. deliverygoodsname:
  14447. description: 品种名称
  14448. type: string
  14449. enableqty:
  14450. description: 可用数量
  14451. type: number
  14452. enumdicname:
  14453. description: 单位名称
  14454. type: string
  14455. freezerqty:
  14456. description: 冻结数量
  14457. type: number
  14458. ladingbillid:
  14459. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  14460. type: string
  14461. minivalue:
  14462. description: 现货商品最小变动值
  14463. type: integer
  14464. optioncompare:
  14465. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14466. type: string
  14467. parentsubnum:
  14468. description: 拆分父子单号
  14469. type: integer
  14470. pledgeqty:
  14471. description: 质押数量
  14472. type: number
  14473. qty:
  14474. description: 数量
  14475. type: number
  14476. subnum:
  14477. description: 提单子单号
  14478. type: integer
  14479. tradedate:
  14480. description: 交易日(yyyyMMdd)
  14481. type: string
  14482. userid:
  14483. description: 持有人ID
  14484. type: integer
  14485. warehouseid:
  14486. description: 仓库ID
  14487. type: integer
  14488. warehousename:
  14489. description: 仓库名称
  14490. type: string
  14491. wrfactortypeid:
  14492. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14493. type: string
  14494. wrfactortypename:
  14495. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14496. type: string
  14497. wrholdeno:
  14498. description: 仓单编号
  14499. type: string
  14500. wrid:
  14501. description: 仓单变更ID
  14502. type: string
  14503. wrstandardcode:
  14504. description: 现货商品代码
  14505. type: string
  14506. wrstandardid:
  14507. description: 现货商品ID
  14508. type: integer
  14509. wrstandardname:
  14510. description: 商品名称
  14511. type: string
  14512. wrtypename:
  14513. description: 商品
  14514. type: string
  14515. type: object
  14516. models.WrMarketTradeConfig:
  14517. properties:
  14518. basisdownratio:
  14519. description: 浮动价基差下限比例(仓单贸易)
  14520. type: number
  14521. basisupratio:
  14522. description: 浮动价基差上限比例(仓单贸易)
  14523. type: number
  14524. buychargealgorithm:
  14525. description: 买方手续费收取方式 1:比率 2:固定
  14526. type: integer
  14527. buychargealgorithm2:
  14528. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  14529. type: integer
  14530. buychargealgorithmvalue:
  14531. description: 买方手续费设置值(交易所部分)
  14532. type: number
  14533. buychargealgorithmvalue2:
  14534. description: 买方手续费设置值(会员部分)
  14535. type: number
  14536. buychargealgorithmvalue3:
  14537. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  14538. type: number
  14539. buychargealgorithmvalue4:
  14540. description: 回购买方手续费设置值(会员部分) --77:现货商城
  14541. type: number
  14542. buyfirstmarginalgorithm:
  14543. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  14544. type: integer
  14545. buyfirstmarginvalue:
  14546. description: 买方出价保证金设置值 - [竞拍]
  14547. type: number
  14548. buymarginalgorithm:
  14549. description: 买方保证金方式 - 1:比率 2:固定
  14550. type: integer
  14551. buymarginvalue:
  14552. description: 买方保证金设置值
  14553. type: number
  14554. buyreleaseratio:
  14555. description: 买方释放比率[2:分步履约]
  14556. type: number
  14557. executemode:
  14558. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  14559. type: integer
  14560. executeside:
  14561. description: 执行方[2:分步履约] - 1:买方 2:卖方
  14562. type: integer
  14563. failedchargealgorithm:
  14564. description: 流拍手续费收取方式 1:比率 2:固定
  14565. type: integer
  14566. failedchargevalue:
  14567. description: 流拍手续费设置值
  14568. type: number
  14569. failedchargevalue2:
  14570. description: 流拍卖方手续费设置值
  14571. type: number
  14572. holddays:
  14573. description: 合同期限[2:分步履约]
  14574. type: integer
  14575. marketid:
  14576. description: 市场ID-仓单贸易、竞拍、预售
  14577. type: integer
  14578. minqty:
  14579. description: 最小执行量[2:分步履约]
  14580. type: number
  14581. modifierid:
  14582. description: 修改人
  14583. type: integer
  14584. performancetempid:
  14585. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  14586. 立即执行(-1)
  14587. type: integer
  14588. performancetempid2:
  14589. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  14590. 立即执行
  14591. type: integer
  14592. performanceway:
  14593. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  14594. type: integer
  14595. sellchargealgorithm:
  14596. description: 卖方手续费收取方式 1:比率 2:固定
  14597. type: integer
  14598. sellchargealgorithm2:
  14599. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  14600. type: integer
  14601. sellchargealgorithmvalue:
  14602. description: 卖方手续费设置值(交易所部分)
  14603. type: number
  14604. sellchargealgorithmvalue2:
  14605. description: 卖方手续费设置值(会员部分)
  14606. type: number
  14607. sellchargealgorithmvalue3:
  14608. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  14609. type: number
  14610. sellchargealgorithmvalue4:
  14611. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  14612. type: number
  14613. sellmarginalgorithm:
  14614. description: 卖方保证金方式 - 1:比率 2:固定
  14615. type: integer
  14616. sellmarginvalue:
  14617. description: 卖方保证金设置值
  14618. type: number
  14619. sellmarginvalue2:
  14620. description: 卖方保证金设置值(无仓单)
  14621. type: number
  14622. sellreleaseratio:
  14623. description: 卖方释放比率[2:分步履约]
  14624. type: number
  14625. updatetime:
  14626. description: 更新时间
  14627. type: string
  14628. type: object
  14629. models.WrOrderDetail:
  14630. properties:
  14631. accountid:
  14632. description: 交易账号(资金账号)
  14633. type: integer
  14634. allfriendsflag:
  14635. description: 是否全好友可见 - 0:否 1:是
  14636. type: integer
  14637. amount:
  14638. description: 挂牌金额 = 委托数量 * 固定价或升贴水
  14639. type: number
  14640. buyorsell:
  14641. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  14642. type: integer
  14643. canbargain:
  14644. description: 是否可议价 - 0:不可 1:可
  14645. type: integer
  14646. cancelqty:
  14647. description: 撤销数量
  14648. type: number
  14649. canpart:
  14650. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  14651. type: integer
  14652. delistminqty:
  14653. description: 起摘数量
  14654. type: integer
  14655. deliverygoodscode:
  14656. description: 品种代码
  14657. type: string
  14658. deliverygoodsid:
  14659. description: 品种ID
  14660. type: integer
  14661. deliverygoodsname:
  14662. description: 品种名称
  14663. type: string
  14664. deliverymonth:
  14665. description: 交收月
  14666. type: string
  14667. enumdicname:
  14668. description: 单位名称
  14669. type: string
  14670. fixedprice:
  14671. description: 固定价格 - [挂牌]
  14672. type: number
  14673. freezemargin:
  14674. description: 冻结保证金(保证金)
  14675. type: number
  14676. futupricemove:
  14677. description: 期货升贴水
  14678. type: number
  14679. futushow:
  14680. description: 期货合约/升贴水
  14681. type: string
  14682. goodscode:
  14683. description: 期货合约
  14684. type: string
  14685. goodsid:
  14686. description: 期货商品id
  14687. type: integer
  14688. goodsname:
  14689. description: 商品名称
  14690. type: string
  14691. haswr:
  14692. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  14693. type: integer
  14694. isspecified:
  14695. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  14696. type: integer
  14697. ladingbillid:
  14698. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  14699. type: string
  14700. marginvalue:
  14701. description: 保证金设置值(履约保证金)
  14702. type: number
  14703. marketid:
  14704. description: 市场ID
  14705. type: integer
  14706. matchusername:
  14707. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  14708. type: string
  14709. minivalue:
  14710. description: 现货商品最小变动值
  14711. type: integer
  14712. optioncompare:
  14713. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14714. type: string
  14715. orderqty:
  14716. description: 委托数量
  14717. type: number
  14718. ordertime:
  14719. description: 委托时间(挂牌时间)
  14720. type: string
  14721. performancetemplateid:
  14722. description: 履约模板id
  14723. type: integer
  14724. pricemove:
  14725. description: 升贴水(浮动价时填写) - [挂牌]
  14726. type: number
  14727. taname:
  14728. description: 交易用户名称(资金账号名称)
  14729. type: string
  14730. tradedate:
  14731. description: 交易日(yyyyMMdd)
  14732. type: string
  14733. tradeprice:
  14734. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  14735. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  14736. type: number
  14737. tradeqty:
  14738. description: 成交数量
  14739. type: number
  14740. userid:
  14741. description: 用户ID
  14742. type: integer
  14743. validtime:
  14744. description: 挂牌有效期
  14745. type: string
  14746. warehouseid:
  14747. description: 仓库ID
  14748. type: integer
  14749. warehousename:
  14750. description: 仓库名称
  14751. type: string
  14752. wrfactortypeid:
  14753. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14754. type: string
  14755. wrfactortypename:
  14756. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14757. type: string
  14758. wrpricetype:
  14759. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  14760. type: integer
  14761. wrstandardcode:
  14762. description: 现货商品代码
  14763. type: string
  14764. wrstandardid:
  14765. description: 现货商品ID
  14766. type: integer
  14767. wrstandardname:
  14768. description: 商品名称
  14769. type: string
  14770. wrtradeorderid:
  14771. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  14772. type: string
  14773. wrtradeorderstatus:
  14774. 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:撤单解冻贷款失败
  14775. type: integer
  14776. wrtradetype:
  14777. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  14778. type: integer
  14779. wrtypename:
  14780. description: 商品
  14781. type: string
  14782. type: object
  14783. models.WrOrderQuote:
  14784. properties:
  14785. buyprice:
  14786. description: 买价
  14787. type: number
  14788. buypricemove:
  14789. description: 买升贴水(基差)
  14790. type: number
  14791. buyqty:
  14792. description: 买量
  14793. type: number
  14794. deliverygoodscode:
  14795. description: 品种代码
  14796. type: string
  14797. deliverygoodsid:
  14798. description: 品种id
  14799. type: integer
  14800. deliverygoodsname:
  14801. description: 品种名称
  14802. type: string
  14803. deliverymonth:
  14804. description: 交收月
  14805. type: string
  14806. enumdicname:
  14807. description: 单位名称
  14808. type: string
  14809. goodscode:
  14810. description: 商品合约(浮动价列表才有)
  14811. type: string
  14812. goodsid:
  14813. description: 商品id(浮动价列表才有)
  14814. type: integer
  14815. minivalue:
  14816. description: 现货商品最小变动值
  14817. type: integer
  14818. sellprice:
  14819. description: 卖价
  14820. type: number
  14821. sellpricemove:
  14822. description: 卖升贴水(基差)
  14823. type: number
  14824. sellqty:
  14825. description: 卖量
  14826. type: number
  14827. warehousecode:
  14828. description: 仓库代码
  14829. type: string
  14830. warehouseid:
  14831. description: 仓库id
  14832. type: integer
  14833. warehousename:
  14834. description: 仓库名称
  14835. type: string
  14836. wrfactortypeid:
  14837. description: 仓单要素id
  14838. type: string
  14839. wrfactortypename:
  14840. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14841. type: string
  14842. wrgoodsname:
  14843. description: 商品(商品名称+仓库要素名称 拼接)
  14844. type: string
  14845. wrstandardcode:
  14846. description: 商品代码
  14847. type: string
  14848. wrstandardid:
  14849. description: 商品id
  14850. type: integer
  14851. wrstandardname:
  14852. description: 商品名称
  14853. type: string
  14854. type: object
  14855. models.WrOrderQuoteDetail:
  14856. properties:
  14857. buyorsell:
  14858. description: 买卖 - 0:买 1:卖
  14859. type: integer
  14860. delistminqty:
  14861. description: 起摘数量
  14862. type: number
  14863. deliverymonth:
  14864. description: 交收月
  14865. type: string
  14866. enumdicname:
  14867. description: 单位名称
  14868. type: string
  14869. fixedprice:
  14870. description: 买(卖)价
  14871. type: number
  14872. minivalue:
  14873. description: 现货商品最小变动值
  14874. type: integer
  14875. orderqty:
  14876. description: 买(卖)量(=委托量-成交量)
  14877. type: number
  14878. ordertime:
  14879. description: 委托时间
  14880. type: string
  14881. pricemove:
  14882. description: 买(卖)升贴水- 基差
  14883. type: number
  14884. userid:
  14885. description: 购买方(销售方)用户ID
  14886. type: integer
  14887. username:
  14888. description: 购买方(销售方)
  14889. type: string
  14890. wrtradeorderid:
  14891. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  14892. type: string
  14893. type: object
  14894. models.WrOutInApply:
  14895. properties:
  14896. applyid:
  14897. description: 申请单id
  14898. type: string
  14899. applystatus:
  14900. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败
  14901. 8:已撤销
  14902. type: integer
  14903. applytime:
  14904. description: 申请时间
  14905. type: string
  14906. applytype:
  14907. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  14908. type: integer
  14909. deliverygoodscode:
  14910. description: 品种代码
  14911. type: string
  14912. deliverygoodsid:
  14913. description: 品种ID
  14914. type: integer
  14915. deliverygoodsname:
  14916. description: 品种名称
  14917. type: string
  14918. enumdicname:
  14919. description: 单位名称
  14920. type: string
  14921. expresscompany:
  14922. description: 物流公司
  14923. type: string
  14924. expressnum:
  14925. description: 物流单号
  14926. type: string
  14927. minivalue:
  14928. description: 现货商品最小变动值
  14929. type: integer
  14930. optioncompare:
  14931. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14932. type: string
  14933. qty:
  14934. description: 数量
  14935. type: integer
  14936. userid:
  14937. description: 用户id
  14938. type: integer
  14939. warehouseid:
  14940. description: 仓库ID
  14941. type: integer
  14942. warehousename:
  14943. description: 仓库名称
  14944. type: string
  14945. wrfactortypeid:
  14946. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14947. type: string
  14948. wrfactortypename:
  14949. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14950. type: string
  14951. wrstandardcode:
  14952. description: 现货商品代码
  14953. type: string
  14954. wrstandardid:
  14955. description: 现货商品ID
  14956. type: integer
  14957. wrstandardname:
  14958. description: 商品名称
  14959. type: string
  14960. wrtypename:
  14961. description: 商品
  14962. type: string
  14963. type: object
  14964. models.WrPerformancePlan:
  14965. properties:
  14966. activatemonth:
  14967. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  14968. type: string
  14969. amount:
  14970. description: 履约金额(总金额)
  14971. type: number
  14972. buyaccountid:
  14973. description: 买方账号
  14974. type: integer
  14975. buyerfreezeamount:
  14976. description: 履约冻结(买履约)
  14977. type: number
  14978. buyerfreezeamountremain:
  14979. description: 履约冻结剩余(买履约)
  14980. type: number
  14981. buyorsell:
  14982. description: 买卖方向 0-买 1-卖
  14983. type: integer
  14984. buypaidamount:
  14985. description: 买方已冻/已扣金额 (已付金额)
  14986. type: number
  14987. buyusername:
  14988. description: 买方名字
  14989. type: string
  14990. contractid:
  14991. description: 合同ID
  14992. type: integer
  14993. createtime:
  14994. description: 创建时间
  14995. type: string
  14996. creatorid:
  14997. description: 创建人
  14998. type: integer
  14999. curstepdeadline:
  15000. description: 当前步骤到期时间
  15001. type: string
  15002. curstepid:
  15003. description: 当前步骤ID
  15004. type: string
  15005. curstepname:
  15006. description: 当前步骤名称
  15007. type: string
  15008. deliverygoodscode:
  15009. description: 品种代码
  15010. type: string
  15011. deliverygoodsid:
  15012. description: 品种ID
  15013. type: integer
  15014. deliverygoodsname:
  15015. description: 品种名称
  15016. type: string
  15017. enumdicname:
  15018. description: 单位名称
  15019. type: string
  15020. expressfee:
  15021. description: 运费
  15022. type: number
  15023. expressfeeconfirmed:
  15024. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  15025. type: integer
  15026. hasovershort:
  15027. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  15028. type: integer
  15029. haswr:
  15030. description: 类型 0-仓单预售 1-仓单贸易
  15031. type: integer
  15032. marketid:
  15033. description: 市场ID
  15034. type: integer
  15035. middleaccountid:
  15036. description: 中间商资金账号ID
  15037. type: integer
  15038. middleuserid:
  15039. description: 中间商用户ID
  15040. type: integer
  15041. minivalue:
  15042. description: 现货商品最小变动值
  15043. type: integer
  15044. optioncompare:
  15045. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15046. type: string
  15047. overshortamount:
  15048. description: 溢短金额
  15049. type: number
  15050. overshortqty:
  15051. description: 溢短数量
  15052. type: number
  15053. paymenttype:
  15054. description: 付款方式 - 1:冻结 2:扣款
  15055. type: integer
  15056. performanceplanid:
  15057. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  15058. type: string
  15059. performancestatus:
  15060. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  15061. 9:超时待处理 10:超时关闭
  15062. type: integer
  15063. performancetype:
  15064. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  15065. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  15066. type: integer
  15067. qty:
  15068. description: 履约数量
  15069. type: number
  15070. relatedorderid:
  15071. description: 关联单号(履约类型的关联单号)
  15072. type: string
  15073. remark:
  15074. description: 备注
  15075. type: string
  15076. sellaccountid:
  15077. description: 卖方账号
  15078. type: integer
  15079. sellerfreezeamount:
  15080. description: 履约冻结(卖履约)
  15081. type: number
  15082. sellerfreezeamountremain:
  15083. description: 履约冻结剩余(卖履约)
  15084. type: number
  15085. sellreceivedamount:
  15086. description: 卖方已收金额
  15087. type: number
  15088. sellusername:
  15089. description: 卖方名字
  15090. type: string
  15091. shipremark:
  15092. description: 发货备注[物流单号]
  15093. type: string
  15094. starttime:
  15095. description: 开始时间
  15096. type: string
  15097. steptypeid:
  15098. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  15099. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  15100. type: integer
  15101. typename:
  15102. description: 履约类型 名称
  15103. type: string
  15104. unpaidamount:
  15105. description: 剩余款(待支付金额)
  15106. type: number
  15107. userid:
  15108. description: 用户id
  15109. type: integer
  15110. warehouseid:
  15111. description: 仓库ID
  15112. type: integer
  15113. warehousename:
  15114. description: 仓库名称
  15115. type: string
  15116. wrfactortypeid:
  15117. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15118. type: string
  15119. wrfactortypename:
  15120. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15121. type: string
  15122. wrstandardcode:
  15123. description: 现货商品代码
  15124. type: string
  15125. wrstandardid:
  15126. description: 现货商品ID
  15127. type: integer
  15128. wrstandardname:
  15129. description: 商品名称
  15130. type: string
  15131. wrtransferuserid:
  15132. description: 仓单受让用户
  15133. type: integer
  15134. wrtypename:
  15135. description: 商品
  15136. type: string
  15137. required:
  15138. - userid
  15139. type: object
  15140. models.WrPerformancePlanStep:
  15141. properties:
  15142. delaydays:
  15143. description: 延期申请天数
  15144. type: integer
  15145. deliverygoodscode:
  15146. description: 品种代码
  15147. type: string
  15148. deliverygoodsid:
  15149. description: 品种ID
  15150. type: integer
  15151. deliverygoodsname:
  15152. description: 品种名称
  15153. type: string
  15154. endtime:
  15155. description: 结束日期
  15156. type: string
  15157. enumdicname:
  15158. description: 单位名称
  15159. type: string
  15160. executeside:
  15161. description: 步骤执行方 - 1:买方 2:卖方
  15162. type: integer
  15163. handlestatus:
  15164. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败
  15165. 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求
  15166. 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  15167. type: integer
  15168. isauto:
  15169. description: 是否自动 - 0:不自动 1:自动
  15170. type: integer
  15171. islastreceivestep:
  15172. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  15173. type: integer
  15174. minivalue:
  15175. description: 现货商品最小变动值
  15176. type: integer
  15177. optioncompare:
  15178. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15179. type: string
  15180. overdays:
  15181. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  15182. type: integer
  15183. performancestepid:
  15184. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  15185. type: string
  15186. planid:
  15187. description: 所属履约计划ID
  15188. type: string
  15189. realamount:
  15190. description: 实际完成金额
  15191. type: number
  15192. relatedorderid:
  15193. description: 关联单号
  15194. type: string
  15195. remaindays:
  15196. description: 剩余天数
  15197. type: integer
  15198. remark:
  15199. description: 错误备注
  15200. type: string
  15201. starttime:
  15202. description: 开始日期
  15203. type: string
  15204. stepamount:
  15205. description: 步骤金额
  15206. type: number
  15207. stepdays:
  15208. description: 距离上一步天数(分钟)
  15209. type: integer
  15210. stepindex:
  15211. description: 步骤序号
  15212. type: integer
  15213. steplanchtype:
  15214. description: 步骤启动类型 - 1:系统自动 2:手动
  15215. type: integer
  15216. stepremark:
  15217. description: 步骤备注
  15218. type: string
  15219. stepstatus:
  15220. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  15221. type: integer
  15222. steptypeid:
  15223. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  15224. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  15225. type: integer
  15226. steptypename:
  15227. description: 步骤名称
  15228. type: string
  15229. stepvalue:
  15230. description: 步骤值
  15231. type: number
  15232. warehouseid:
  15233. description: 仓库ID
  15234. type: integer
  15235. warehousename:
  15236. description: 仓库名称
  15237. type: string
  15238. wrfactortypeid:
  15239. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15240. type: string
  15241. wrfactortypename:
  15242. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15243. type: string
  15244. wrstandardcode:
  15245. description: 现货商品代码
  15246. type: string
  15247. wrstandardid:
  15248. description: 现货商品ID
  15249. type: integer
  15250. wrstandardname:
  15251. description: 商品名称
  15252. type: string
  15253. wrtypename:
  15254. description: 商品
  15255. type: string
  15256. type: object
  15257. models.WrPerformanceStepType:
  15258. properties:
  15259. canauto:
  15260. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  15261. type: integer
  15262. steptypeid:
  15263. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  15264. type: integer
  15265. steptypename:
  15266. description: 步骤类型名称
  15267. type: string
  15268. type: object
  15269. models.WrPerformanceTemplateEx:
  15270. properties:
  15271. autoid:
  15272. description: AutoID 模板id
  15273. type: integer
  15274. createtime:
  15275. description: 创建时间
  15276. type: string
  15277. creatorid:
  15278. description: 创建人
  15279. type: integer
  15280. lstStep:
  15281. description: 步骤信息列表
  15282. items:
  15283. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  15284. type: array
  15285. paymenttype:
  15286. description: 支付方式 - 1:冻结 2:扣款
  15287. type: integer
  15288. takemode:
  15289. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  15290. type: integer
  15291. templatename:
  15292. description: 模板名称
  15293. type: string
  15294. templatetype:
  15295. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  15296. (无仓单) 5:挂牌期权 6:竞拍-降价式
  15297. type: integer
  15298. userid:
  15299. description: 所属用户
  15300. type: integer
  15301. type: object
  15302. models.WrPosition:
  15303. properties:
  15304. accountid:
  15305. description: 帐户ID
  15306. type: integer
  15307. buyexcuteqty:
  15308. description: 采购履约中数量
  15309. type: number
  15310. creditcurqty:
  15311. description: 授信当前数量(预售仓单:预售当前量)
  15312. type: number
  15313. creditenableqty:
  15314. description: '授信可用数量(预售仓单: 可用数量)'
  15315. type: number
  15316. creditfreezeqty:
  15317. description: '授信冻结数量(预售仓单: 当前数量)'
  15318. type: number
  15319. credittotalqty:
  15320. description: 授信总数量(预售仓单:预售总量)
  15321. type: number
  15322. credittradeqty:
  15323. description: 授信成交数量(预售仓单:成交总量)
  15324. type: number
  15325. deliverygoodscode:
  15326. description: 品种代码
  15327. type: string
  15328. deliverygoodsid:
  15329. description: 品种ID
  15330. type: integer
  15331. deliverygoodsname:
  15332. description: 品种名称
  15333. type: string
  15334. enalbeqty:
  15335. description: 可用数量
  15336. type: number
  15337. enumdicname:
  15338. description: 单位名称
  15339. type: string
  15340. freezeqty:
  15341. description: 总冻结数量
  15342. type: number
  15343. haswr:
  15344. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  15345. type: integer
  15346. minivalue:
  15347. description: 现货商品最小变动值
  15348. type: integer
  15349. modifytime:
  15350. description: 修改时间(过户时间)
  15351. type: string
  15352. optioncompare:
  15353. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15354. type: string
  15355. pledgeqty:
  15356. description: 质押数量
  15357. type: number
  15358. querytype:
  15359. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  15360. type: integer
  15361. sellexcuteqty:
  15362. description: 销售履约中数量
  15363. type: number
  15364. totalqty:
  15365. description: 总数量(库存数量)
  15366. type: number
  15367. warehouseid:
  15368. description: 仓库ID
  15369. type: integer
  15370. warehousename:
  15371. description: 仓库名称
  15372. type: string
  15373. wrfactortypeid:
  15374. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15375. type: string
  15376. wrfactortypename:
  15377. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15378. type: string
  15379. wrpositionid:
  15380. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  15381. type: string
  15382. wrpositionno:
  15383. description: 仓单编号
  15384. type: string
  15385. wrstandardcode:
  15386. description: 现货商品代码
  15387. type: string
  15388. wrstandardid:
  15389. description: 现货商品ID
  15390. type: integer
  15391. wrstandardname:
  15392. description: 商品名称
  15393. type: string
  15394. wrtypename:
  15395. description: 商品
  15396. type: string
  15397. wruserid:
  15398. description: 持有人ID
  15399. type: integer
  15400. type: object
  15401. models.WrQuoteOrderMyq:
  15402. properties:
  15403. buyorsell:
  15404. description: 买卖 - 0:买 1:卖
  15405. type: integer
  15406. canbargain:
  15407. description: 是否可议价 - 0:不可 1:可
  15408. type: integer
  15409. canpart:
  15410. description: 是否允许部份摘牌 - 0:不允许 1:允许
  15411. type: integer
  15412. delistminqty:
  15413. description: 起摘数量
  15414. type: number
  15415. deliverygoodscode:
  15416. description: 品种代码
  15417. type: string
  15418. deliverygoodsid:
  15419. description: 品种ID
  15420. type: integer
  15421. deliverygoodsname:
  15422. description: 品种名称
  15423. type: string
  15424. deliverymonth:
  15425. description: 交收月
  15426. type: string
  15427. enumdicname:
  15428. description: 单位名称
  15429. type: string
  15430. fixedprice:
  15431. description: 买(卖)价
  15432. type: number
  15433. goodscode:
  15434. description: 商品合约代码
  15435. type: string
  15436. marginflag:
  15437. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  15438. type: integer
  15439. marginvalue:
  15440. description: 保证金设置值
  15441. type: number
  15442. minivalue:
  15443. description: 现货商品最小变动值
  15444. type: integer
  15445. orderqty:
  15446. description: 买(卖)量(=委托量-成交量)
  15447. type: number
  15448. ordertime:
  15449. description: 委托时间
  15450. type: string
  15451. performancetemplateid:
  15452. description: 履约模板id
  15453. type: integer
  15454. pricemove:
  15455. description: 买(卖)升贴水- 基差
  15456. type: number
  15457. templatename:
  15458. description: 履约模板名称
  15459. type: string
  15460. userid:
  15461. description: 购买方(销售方)用户ID
  15462. type: integer
  15463. username:
  15464. description: 购买方(销售方)
  15465. type: string
  15466. validtime:
  15467. description: 有效期限
  15468. type: string
  15469. validtype:
  15470. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  15471. type: integer
  15472. warehousename:
  15473. description: 仓库名称
  15474. type: string
  15475. wrfactortypeid:
  15476. description: 仓单要素id
  15477. type: string
  15478. wrstandardcode:
  15479. description: 现货商品代码
  15480. type: string
  15481. wrstandardid:
  15482. description: 现货商品ID
  15483. type: integer
  15484. wrstandardname:
  15485. description: 商品名称
  15486. type: string
  15487. wrtradeorderid:
  15488. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15489. type: string
  15490. wrtypename:
  15491. description: 商品
  15492. type: string
  15493. type: object
  15494. models.WrScfContract:
  15495. properties:
  15496. borroweruserid:
  15497. description: 借款用户ID
  15498. type: integer
  15499. buybackwrpositionqty:
  15500. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  15501. type: number
  15502. closeinterest:
  15503. description: 已结利息 -> 已结费用
  15504. type: number
  15505. currisklevel:
  15506. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  15507. type: integer
  15508. deadline:
  15509. description: 截止日期(yyyyMMdd) -> 借款到期时间
  15510. type: string
  15511. deliverygoodscode:
  15512. description: 品种代码
  15513. type: string
  15514. deliverygoodsid:
  15515. description: 品种ID
  15516. type: integer
  15517. deliverygoodsname:
  15518. description: 品种名称
  15519. type: string
  15520. enumdicname:
  15521. description: 单位名称
  15522. type: string
  15523. financingdays:
  15524. description: 天数(天)
  15525. type: integer
  15526. initmargin:
  15527. description: 保证金 - [仓单回购]
  15528. type: number
  15529. interestamount:
  15530. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  15531. type: number
  15532. interestdebt:
  15533. description: 利息欠款(记录负数) -> 费用欠款
  15534. type: number
  15535. interestminlen:
  15536. description: 最小起息天数
  15537. type: integer
  15538. interestrate:
  15539. description: 利率
  15540. type: number
  15541. interestratemode:
  15542. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  15543. type: integer
  15544. interestsettlemode:
  15545. description: 结息方式 - 1:按日结息 3:按月结息
  15546. type: integer
  15547. interestsettlevalue:
  15548. description: 结息方式值
  15549. type: integer
  15550. isautoloan:
  15551. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  15552. type: integer
  15553. lastcloseinterestday:
  15554. description: 最近结息日(yyyyMMdd)
  15555. type: string
  15556. lenderamount:
  15557. description: 贷款金额 -> 借款金额
  15558. type: number
  15559. lenderuserid:
  15560. description: 贷款方用户ID -> 融出方用户ID
  15561. type: integer
  15562. lenderusername:
  15563. description: 融出方
  15564. type: string
  15565. marginratio:
  15566. description: 保证金比率质押率 - [仓单质押]
  15567. type: number
  15568. marketid:
  15569. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  15570. type: integer
  15571. minivalue:
  15572. description: 现货商品最小变动值
  15573. type: integer
  15574. optioncompare:
  15575. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15576. type: string
  15577. pricemove:
  15578. description: 估值升贴水值
  15579. type: number
  15580. productdetailid:
  15581. description: 产品组合ID
  15582. type: integer
  15583. productid:
  15584. description: 金融产品ID
  15585. type: integer
  15586. productname:
  15587. description: 产品名称
  15588. type: string
  15589. remainamount:
  15590. description: 合同剩余金额 -> 剩余金额
  15591. type: number
  15592. remainwrpositionqty:
  15593. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  15594. type: number
  15595. remark:
  15596. description: 备注
  15597. type: string
  15598. scfcontractid:
  15599. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  15600. type: string
  15601. scfcontractstatus:
  15602. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  15603. 9:违约结束 10:已注销 11:已关闭 99:未提交
  15604. type: integer
  15605. scfcontracttype:
  15606. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  15607. type: integer
  15608. startinterestday:
  15609. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  15610. type: string
  15611. totalinterest:
  15612. description: 已计利息 -> 已计费用
  15613. type: number
  15614. unpaidinterest:
  15615. description: 未结费用
  15616. type: number
  15617. updatetime:
  15618. description: 更新时间
  15619. type: string
  15620. warehouseid:
  15621. description: 仓库ID
  15622. type: integer
  15623. warehousename:
  15624. description: 仓库名称
  15625. type: string
  15626. wrfactortypeid:
  15627. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15628. type: string
  15629. wrfactortypename:
  15630. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15631. type: string
  15632. wrqty:
  15633. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  15634. type: number
  15635. wrstandardcode:
  15636. description: 现货商品代码
  15637. type: string
  15638. wrstandardid:
  15639. description: 现货商品ID
  15640. type: integer
  15641. wrstandardname:
  15642. description: 商品名称
  15643. type: string
  15644. wrtypename:
  15645. description: 商品
  15646. type: string
  15647. type: object
  15648. models.WrScfContractInterest:
  15649. properties:
  15650. closeinterest:
  15651. description: 已结利息
  15652. type: number
  15653. closeintereststatus:
  15654. description: 结息状态 - 1:未结 2:已结
  15655. type: integer
  15656. closetime:
  15657. description: 结息时间
  15658. type: string
  15659. closetradedate:
  15660. description: 结息交易日
  15661. type: string
  15662. creatorid:
  15663. description: 操作人ID
  15664. type: integer
  15665. dayrate:
  15666. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  15667. type: number
  15668. interest:
  15669. description: 利息
  15670. type: number
  15671. interestamount:
  15672. description: 计息金额
  15673. type: number
  15674. interestday:
  15675. description: 计息日(yyyyMMdd)
  15676. type: string
  15677. scfcontractid:
  15678. description: SCF合同ID
  15679. type: string
  15680. scfcontractinterestid:
  15681. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  15682. type: integer
  15683. updatetime:
  15684. description: 更新时间
  15685. type: string
  15686. type: object
  15687. models.WrSpecialMatchOrder:
  15688. properties:
  15689. amount:
  15690. description: 金额 = 数量 * 价格
  15691. type: number
  15692. buyorsell:
  15693. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  15694. type: integer
  15695. cancelqty:
  15696. description: 撤销数量
  15697. type: number
  15698. deliverygoodscode:
  15699. description: 品种代码
  15700. type: string
  15701. deliverygoodsid:
  15702. description: 品种ID
  15703. type: integer
  15704. deliverygoodsname:
  15705. description: 品种名称
  15706. type: string
  15707. enumdicname:
  15708. description: 单位名称
  15709. type: string
  15710. fixedprice:
  15711. description: 固定价格(价格)
  15712. type: number
  15713. haswr:
  15714. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  15715. type: integer
  15716. marketid:
  15717. description: 市场ID
  15718. type: integer
  15719. matchuserid:
  15720. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  15721. type: integer
  15722. matchusername:
  15723. description: 指定方
  15724. type: string
  15725. minivalue:
  15726. description: 现货商品最小变动值
  15727. type: integer
  15728. optioncompare:
  15729. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15730. type: string
  15731. orderqty:
  15732. description: 委托数量
  15733. type: number
  15734. ordertime:
  15735. description: 委托时间
  15736. type: string
  15737. pricemove:
  15738. description: 升贴水(浮动价时填写) - [挂牌]
  15739. type: number
  15740. tradedate:
  15741. description: 交易日(yyyyMMdd)
  15742. type: string
  15743. tradeprice:
  15744. description: 成交价格
  15745. type: number
  15746. tradeqty:
  15747. description: 成交数量
  15748. type: number
  15749. userid:
  15750. description: 用户ID
  15751. type: integer
  15752. username:
  15753. description: 发起方
  15754. type: string
  15755. warehouseid:
  15756. description: 仓库ID
  15757. type: integer
  15758. warehousename:
  15759. description: 仓库名称
  15760. type: string
  15761. wrfactortypeid:
  15762. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15763. type: string
  15764. wrfactortypename:
  15765. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15766. type: string
  15767. wrpricetype:
  15768. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  15769. type: integer
  15770. wrstandardcode:
  15771. description: 现货商品代码
  15772. type: string
  15773. wrstandardid:
  15774. description: 现货商品ID
  15775. type: integer
  15776. wrstandardname:
  15777. description: 商品名称
  15778. type: string
  15779. wrtradeorderid:
  15780. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15781. type: string
  15782. wrtradeorderstatus:
  15783. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  15784. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  15785. type: integer
  15786. wrtradetype:
  15787. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  15788. type: integer
  15789. wrtypename:
  15790. description: 商品
  15791. type: string
  15792. type: object
  15793. models.WrStandardFactoryItem:
  15794. properties:
  15795. dgfactoryitemid:
  15796. description: 选择项id
  15797. type: integer
  15798. dgfactoryitemvalue:
  15799. description: 要素项值
  15800. type: string
  15801. warehouseid:
  15802. description: 仓库id
  15803. type: integer
  15804. type: object
  15805. models.WrStandardFactoryItemEx:
  15806. properties:
  15807. dgfactoryitemtypeid:
  15808. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  15809. type: integer
  15810. itemlst:
  15811. description: 要素项列表
  15812. items:
  15813. $ref: '#/definitions/models.WrStandardFactoryItem'
  15814. type: array
  15815. itemtypename:
  15816. description: 要素项类型名称
  15817. type: string
  15818. wrstandardid:
  15819. description: 品类
  15820. type: integer
  15821. type: object
  15822. models.WrTradeDetail:
  15823. properties:
  15824. accountid:
  15825. description: 资金账号
  15826. type: integer
  15827. buyorsell:
  15828. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  15829. type: integer
  15830. chargevalue:
  15831. description: 手续费
  15832. type: number
  15833. deliverygoodscode:
  15834. description: 品种代码
  15835. type: string
  15836. deliverygoodsid:
  15837. description: 品种ID
  15838. type: integer
  15839. deliverygoodsname:
  15840. description: 品种名称
  15841. type: string
  15842. deliverymonth:
  15843. description: 交收月
  15844. type: string
  15845. enumdicname:
  15846. description: 单位名称
  15847. type: string
  15848. haswr:
  15849. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  15850. type: integer
  15851. marketid:
  15852. description: 市场ID
  15853. type: integer
  15854. matchaccountid:
  15855. description: 对手账号
  15856. type: integer
  15857. matchusername:
  15858. description: 对手方
  15859. type: string
  15860. minivalue:
  15861. description: 现货商品最小变动值
  15862. type: integer
  15863. optioncompare:
  15864. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15865. type: string
  15866. tradedate:
  15867. description: 交易日(yyyyMMdd)
  15868. type: string
  15869. tradeprice:
  15870. description: 成交价格
  15871. type: number
  15872. tradeqty:
  15873. description: 成交数量
  15874. type: number
  15875. tradetime:
  15876. description: 成交时间
  15877. type: string
  15878. userid:
  15879. description: 用户ID
  15880. type: integer
  15881. warehouseid:
  15882. description: 仓库ID
  15883. type: integer
  15884. warehousename:
  15885. description: 仓库名称
  15886. type: string
  15887. wrfactortypeid:
  15888. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15889. type: string
  15890. wrfactortypename:
  15891. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15892. type: string
  15893. wrstandardcode:
  15894. description: 现货商品代码
  15895. type: string
  15896. wrstandardid:
  15897. description: 现货商品ID
  15898. type: integer
  15899. wrstandardname:
  15900. description: 商品名称
  15901. type: string
  15902. wrtradedetailid:
  15903. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  15904. type: string
  15905. wrtradetype:
  15906. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  15907. type: integer
  15908. wrtypename:
  15909. description: 商品
  15910. type: string
  15911. type: object
  15912. models.WrTradeOrderDetail:
  15913. properties:
  15914. buyorsell:
  15915. description: 买卖方向 0-买 1-卖
  15916. type: integer
  15917. goodsid:
  15918. description: 商品id
  15919. type: integer
  15920. orderid:
  15921. description: 委托单号
  15922. type: string
  15923. orderprice:
  15924. description: 委托价格
  15925. type: number
  15926. orderqty:
  15927. description: 委托数量
  15928. type: integer
  15929. userid:
  15930. description: 用户id
  15931. type: integer
  15932. username:
  15933. description: 用户名称(已脱敏)
  15934. type: string
  15935. type: object
  15936. models.WrTypeItem:
  15937. properties:
  15938. name:
  15939. description: 名称
  15940. type: string
  15941. value:
  15942. description: 值
  15943. type: string
  15944. type: object
  15945. models.WrUserFriend:
  15946. properties:
  15947. friendname:
  15948. description: 朋友名称(已脱敏)
  15949. type: string
  15950. frienduserid:
  15951. description: 朋友id
  15952. type: integer
  15953. isfriend:
  15954. description: 是否好友 0-不是 1-是
  15955. type: integer
  15956. userid:
  15957. description: 用户id
  15958. type: integer
  15959. type: object
  15960. models.XHBRAND:
  15961. properties:
  15962. brandid:
  15963. description: 品牌id
  15964. type: integer
  15965. brandname:
  15966. description: 品牌名称
  15967. type: string
  15968. type: object
  15969. models.XHDeliveryGoods:
  15970. properties:
  15971. areauserid:
  15972. description: 所属机构
  15973. type: integer
  15974. bdlst:
  15975. description: 品牌列表
  15976. items:
  15977. $ref: '#/definitions/models.XHBRAND'
  15978. type: array
  15979. deliverygoodscode:
  15980. description: 现货品种代码
  15981. type: string
  15982. deliverygoodsid:
  15983. description: 现货品种ID(SEQ_DELIVERYGOODS)
  15984. type: integer
  15985. deliverygoodsname:
  15986. description: 现货品种名称
  15987. type: string
  15988. dgstatus:
  15989. description: 品种状态 - 作废 - 0:未激活 1:正常
  15990. type: integer
  15991. isvalid:
  15992. description: 是否有效 - 0:无效 1:有效
  15993. type: integer
  15994. remark:
  15995. description: 备注
  15996. type: string
  15997. wdlst:
  15998. description: 品类(现货商品)列表
  15999. items:
  16000. $ref: '#/definitions/models.XHWrstandard'
  16001. type: array
  16002. type: object
  16003. models.XHMiddleGoods:
  16004. properties:
  16005. convertratio:
  16006. description: 拆算系数
  16007. type: number
  16008. enumdicname:
  16009. description: 单位名称
  16010. type: string
  16011. middlegoodscode:
  16012. description: 套保品种代码
  16013. type: string
  16014. middlegoodsid:
  16015. description: 套保品种id
  16016. type: integer
  16017. middlegoodsname:
  16018. description: 套保品种名称
  16019. type: string
  16020. type: object
  16021. models.XHWrstandard:
  16022. properties:
  16023. deliverygoodsid:
  16024. description: 品种ID
  16025. type: integer
  16026. enumdicname:
  16027. description: 单位名称
  16028. type: string
  16029. mglst:
  16030. description: 套保品列表
  16031. items:
  16032. $ref: '#/definitions/models.XHMiddleGoods'
  16033. type: array
  16034. vatrate:
  16035. description: 增值税率
  16036. type: number
  16037. wrstandardcode:
  16038. description: 现货商品代码
  16039. type: string
  16040. wrstandardid:
  16041. description: 现货商品ID(SEQ_WRSTANDARD)
  16042. type: integer
  16043. wrstandardname:
  16044. description: 现货商品名称
  16045. type: string
  16046. type: object
  16047. order.QueryHisTradeDetailRsp:
  16048. properties:
  16049. accountid:
  16050. description: 账户ID[报价币种]
  16051. type: integer
  16052. advanceratio:
  16053. description: 首付比率
  16054. type: number
  16055. buildtype:
  16056. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  16057. type: integer
  16058. buyorsell:
  16059. description: 方向 - 0:买 1:卖
  16060. type: integer
  16061. charge:
  16062. description: 手续费
  16063. type: number
  16064. closecharge:
  16065. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  16066. type: number
  16067. closeexchagechargevalue:
  16068. description: 平仓交易所手续费设置值
  16069. type: number
  16070. closefeealgorithm:
  16071. description: 平仓手续费收取方式 1:比率 2:固定
  16072. type: integer
  16073. closememberchargevalue:
  16074. description: 平仓会员手续费设置值
  16075. type: number
  16076. closepl:
  16077. description: 平仓盈亏
  16078. type: number
  16079. closepl2:
  16080. description: 平仓盈亏[逐笔]
  16081. type: number
  16082. closeqty:
  16083. description: 平仓数量(先建后平操作 需要记录)
  16084. type: number
  16085. creditamount:
  16086. description: 授信金额
  16087. type: number
  16088. decimalplace:
  16089. description: 商品报价小数位
  16090. type: integer
  16091. enumdicname:
  16092. description: 单位名称
  16093. type: string
  16094. gcaccountid:
  16095. description: 账户ID[合约币种]
  16096. type: integer
  16097. goodscode:
  16098. description: 商品代码
  16099. type: string
  16100. goodsid:
  16101. description: 商品ID
  16102. type: integer
  16103. goodsname:
  16104. description: 商品名称
  16105. type: string
  16106. goodunitid:
  16107. description: 商品单位id
  16108. type: integer
  16109. histradedate:
  16110. description: 历史交易日
  16111. type: string
  16112. intclosepl:
  16113. description: 整型盈亏(用于交易结算试算平衡-收益权)
  16114. type: integer
  16115. isconfirmexercise:
  16116. description: 是否确认行权- 0:否 1:是
  16117. type: integer
  16118. ismain:
  16119. description: 是否主单 - 0:不是 1:是
  16120. type: integer
  16121. ispreexercise:
  16122. description: 是否预申报- 0:否 1:是
  16123. type: integer
  16124. isreckoned:
  16125. description: 是否结算 - 0:未结算 1:已结算
  16126. type: integer
  16127. isvaliddata:
  16128. description: 是否有效 - 0:无效 1:有效
  16129. type: integer
  16130. listingselecttype:
  16131. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  16132. type: integer
  16133. marketid:
  16134. description: 市场ID
  16135. type: integer
  16136. marketname:
  16137. description: 市场名称
  16138. type: string
  16139. matchaccountid:
  16140. description: 对手账号id
  16141. type: integer
  16142. memberuserid:
  16143. description: 会员id 个人投资者 需要填写
  16144. type: integer
  16145. opencharge:
  16146. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  16147. type: number
  16148. openexchagechargevalue:
  16149. description: 建仓交易所手续费设置值
  16150. type: number
  16151. openfeealgorithm:
  16152. description: 建仓手续费收取方式 1:比率 2:固定
  16153. type: integer
  16154. openmemberchargevalue:
  16155. description: 建仓会员手续费设置值
  16156. type: number
  16157. openqty:
  16158. description: 开仓数量(先建后平操作 需要记录)
  16159. type: number
  16160. optiontype:
  16161. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  16162. type: integer
  16163. orderid:
  16164. description: 委托单号
  16165. type: string
  16166. payamount:
  16167. description: 支付金额(付款金额)
  16168. type: number
  16169. performanceplanid:
  16170. description: 履约计划ID[期权]
  16171. type: integer
  16172. performancestatus:
  16173. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  16174. type: integer
  16175. preexerciseprice:
  16176. description: 预申报价格
  16177. type: number
  16178. premium:
  16179. description: 权利金 - [持仓单的权利金]
  16180. type: number
  16181. qtydecimalplace:
  16182. description: 商品报价小数位
  16183. type: integer
  16184. recvamount:
  16185. description: 到账金额 = 成交金额 - 手续费
  16186. type: number
  16187. relatedouttradeid:
  16188. description: 关联外部成交单ID
  16189. type: integer
  16190. status:
  16191. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  16192. type: integer
  16193. totalamount:
  16194. description: 订单总额 = 成交金额 + 手续费
  16195. type: number
  16196. tradeamount:
  16197. description: 成交金额[账户币种,用于所有权]
  16198. type: number
  16199. tradedate:
  16200. description: 交易日(yyyyMMdd)
  16201. type: string
  16202. tradeid:
  16203. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  16204. type: string
  16205. trademode:
  16206. description: 交易模式
  16207. type: integer
  16208. tradeprice:
  16209. description: 成交价格
  16210. type: number
  16211. tradeproperty:
  16212. description: 交易属性
  16213. type: integer
  16214. tradeqty:
  16215. description: 成交数量
  16216. type: number
  16217. tradetime:
  16218. description: 成交时间
  16219. type: string
  16220. tradetype:
  16221. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  16222. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  16223. type: integer
  16224. required:
  16225. - accountid
  16226. - buyorsell
  16227. - goodsid
  16228. - histradedate
  16229. - marketid
  16230. - memberuserid
  16231. - orderid
  16232. - tradeamount
  16233. - tradedate
  16234. - tradeid
  16235. - tradeprice
  16236. - tradeqty
  16237. - tradetime
  16238. type: object
  16239. order.QueryHisTradeOrderDetailRsp:
  16240. properties:
  16241. accountid:
  16242. description: 账户ID[报价币种]
  16243. type: integer
  16244. buildtype:
  16245. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  16246. type: integer
  16247. buyorsell:
  16248. description: 买卖 - 0:买 1:卖
  16249. type: integer
  16250. cancelorderid:
  16251. description: 撤单单号(撤单时填写)
  16252. type: string
  16253. cancelqty:
  16254. description: 撤单数量
  16255. type: number
  16256. clientordertime:
  16257. description: 客户端委托时间
  16258. type: string
  16259. clientticket:
  16260. description: 客户端流水号
  16261. type: string
  16262. clienttype:
  16263. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  16264. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  16265. type: integer
  16266. closeexchagechargevalue:
  16267. description: 平仓交易所手续费设置值
  16268. type: number
  16269. closefeealgorithm:
  16270. description: 平仓手续费收取方式 1:比率 2:固定
  16271. type: integer
  16272. closefreezecharge:
  16273. description: 平仓冻结手续费(先建后平操作,需要记录)
  16274. type: number
  16275. closememberchargevalue:
  16276. description: 平仓会员手续费设置值
  16277. type: number
  16278. closeqty:
  16279. description: 平仓数量(先建后平操作 需要记录)
  16280. type: number
  16281. closetradeqty:
  16282. description: 平仓成交数量(先建后平操作,需要记录)
  16283. type: number
  16284. closeunfreezecharge:
  16285. description: 平仓解冻手续费(先建后平操作,需要记录)
  16286. type: number
  16287. decimalplace:
  16288. description: 商品报价小数位
  16289. type: integer
  16290. delistingtype:
  16291. description: 摘牌类型 - 1:价格最优 2:点选成交
  16292. type: integer
  16293. enumdicname:
  16294. description: 单位名称
  16295. type: string
  16296. freezecharge:
  16297. description: 冻结手续费
  16298. type: number
  16299. freezemargin:
  16300. description: 冻结保证金(冻结交易金额)
  16301. type: number
  16302. gcaccountid:
  16303. description: 账户ID[合约币种]
  16304. type: integer
  16305. goodscode:
  16306. description: 商品代码
  16307. type: string
  16308. goodsid:
  16309. description: 商品ID
  16310. type: integer
  16311. goodsname:
  16312. description: 商品名称
  16313. type: string
  16314. goodunitid:
  16315. description: 商品单位id
  16316. type: integer
  16317. histradedate:
  16318. description: 历史交易日
  16319. type: string
  16320. isconfirmexercise:
  16321. description: 是否确认行权- 0:否 1:是
  16322. type: integer
  16323. ispreexercise:
  16324. description: 是否预申报- 0:否 1:是
  16325. type: integer
  16326. isvaliddata:
  16327. description: 是否有效 - 0:无效 1:有效
  16328. type: integer
  16329. listingselecttype:
  16330. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  16331. type: integer
  16332. marginalgorithm:
  16333. description: 保证金收取方式 1:比率 2:固定
  16334. type: integer
  16335. marginvalue:
  16336. description: 即市保证金设置值
  16337. type: number
  16338. marketid:
  16339. description: 市场ID
  16340. type: integer
  16341. marketmaxsub:
  16342. description: 市价最大偏移范围
  16343. type: number
  16344. marketname:
  16345. description: 市场名称
  16346. type: string
  16347. memberuserid:
  16348. description: 所属会员UserID
  16349. type: integer
  16350. openexchagechargevalue:
  16351. description: 建仓交易所手续费设置值
  16352. type: number
  16353. openfeealgorithm:
  16354. description: 建仓手续费收取方式 1:比率 2:固定
  16355. type: integer
  16356. openfreezecharge:
  16357. description: 开仓冻结手续费(先建后平操作,需要记录)
  16358. type: number
  16359. openmemberchargevalue:
  16360. description: 建仓会员手续费设置值
  16361. type: number
  16362. openqty:
  16363. description: 开仓数量(先建后平操作,需要记录)
  16364. type: number
  16365. opentradeqty:
  16366. description: 开仓成交数量(先建后平操作,需要记录)
  16367. type: number
  16368. openunfreezecharge:
  16369. description: 开仓解冻手续费(先建后平操作,需要记录)
  16370. type: number
  16371. operatetype:
  16372. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  16373. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  16374. 15:管理端协议转让
  16375. type: integer
  16376. operatorid:
  16377. description: 登录账号(LoginID)
  16378. type: integer
  16379. optiontype:
  16380. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  16381. type: integer
  16382. orderid:
  16383. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  16384. type: string
  16385. orderprice:
  16386. description: 委托价格
  16387. type: number
  16388. orderqty:
  16389. description: 委托数量
  16390. type: number
  16391. ordersrc:
  16392. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  16393. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  16394. type: integer
  16395. orderstatus:
  16396. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  16397. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  16398. 16:成交失败违约(荷兰式竞拍专用)
  16399. type: integer
  16400. ordertime:
  16401. description: 委托时间
  16402. type: string
  16403. preexerciseprice:
  16404. description: 预申报价格
  16405. type: number
  16406. premium:
  16407. description: 权利金
  16408. type: number
  16409. preorderid:
  16410. description: 关联预埋单号(止盈止损单时填写)
  16411. type: string
  16412. pricemode:
  16413. description: '取价方式 - 1:市价 2: 限价'
  16414. type: integer
  16415. qtydecimalplace:
  16416. description: 成交量小数位
  16417. type: integer
  16418. quoteid:
  16419. description: 报价单ID
  16420. type: integer
  16421. relatedid:
  16422. description: 关联单号(交割单)
  16423. type: string
  16424. retcode:
  16425. description: 错误代码
  16426. type: integer
  16427. sessionid:
  16428. description: 会话ID
  16429. type: integer
  16430. tradedate:
  16431. description: 交易日(yyyyMMdd)
  16432. type: string
  16433. trademode:
  16434. description: 交易模式
  16435. type: integer
  16436. tradeproperty:
  16437. description: 交易属性
  16438. type: integer
  16439. tradeqty:
  16440. description: 成交数量
  16441. type: number
  16442. unfreezecharge:
  16443. description: 解冻手续费
  16444. type: number
  16445. unfreezemargin:
  16446. description: 解冻保证金
  16447. type: number
  16448. updatetime:
  16449. description: 更新时间
  16450. type: string
  16451. uuid:
  16452. description: 发起端唯一id
  16453. type: string
  16454. validtime:
  16455. description: 有效期限
  16456. type: string
  16457. validtype:
  16458. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  16459. type: integer
  16460. volumetype:
  16461. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  16462. type: integer
  16463. required:
  16464. - accountid
  16465. - buildtype
  16466. - buyorsell
  16467. - goodsid
  16468. - histradedate
  16469. - marketid
  16470. - memberuserid
  16471. - operatetype
  16472. - orderid
  16473. - orderqty
  16474. - ordertime
  16475. - pricemode
  16476. - tradedate
  16477. - validtype
  16478. type: object
  16479. order.QueryTradeDetailRsp:
  16480. properties:
  16481. accountid:
  16482. description: 账户ID[报价币种]
  16483. type: integer
  16484. advanceratio:
  16485. description: 首付比率
  16486. type: number
  16487. buildtype:
  16488. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  16489. type: integer
  16490. buyorsell:
  16491. description: 方向 - 0:买 1:卖
  16492. type: integer
  16493. charge:
  16494. description: 手续费
  16495. type: number
  16496. closecharge:
  16497. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  16498. type: number
  16499. closeexchagechargevalue:
  16500. description: 平仓交易所手续费设置值
  16501. type: number
  16502. closefeealgorithm:
  16503. description: 平仓手续费收取方式 1:比率 2:固定
  16504. type: integer
  16505. closememberchargevalue:
  16506. description: 平仓会员手续费设置值
  16507. type: number
  16508. closepl:
  16509. description: 平仓盈亏
  16510. type: number
  16511. closepl2:
  16512. description: 平仓盈亏[逐笔]
  16513. type: number
  16514. closeqty:
  16515. description: 平仓数量(先建后平操作 需要记录)
  16516. type: number
  16517. creditamount:
  16518. description: 授信金额
  16519. type: number
  16520. decimalplace:
  16521. description: 商品报价小数位
  16522. type: integer
  16523. enumdicname:
  16524. description: 单位名称
  16525. type: string
  16526. gcaccountid:
  16527. description: 账户ID[合约币种]
  16528. type: integer
  16529. goodscode:
  16530. description: 商品代码
  16531. type: string
  16532. goodsid:
  16533. description: 商品ID
  16534. type: integer
  16535. goodsname:
  16536. description: 商品名称
  16537. type: string
  16538. goodunitid:
  16539. description: 商品单位id
  16540. type: integer
  16541. intclosepl:
  16542. description: 整型盈亏(用于交易结算试算平衡-收益权)
  16543. type: integer
  16544. isconfirmexercise:
  16545. description: 是否确认行权- 0:否 1:是
  16546. type: integer
  16547. ismain:
  16548. description: 是否主单 - 0:不是 1:是
  16549. type: integer
  16550. ispreexercise:
  16551. description: 是否预申报- 0:否 1:是
  16552. type: integer
  16553. isreckoned:
  16554. description: 是否结算 - 0:未结算 1:已结算
  16555. type: integer
  16556. listingselecttype:
  16557. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  16558. type: integer
  16559. marketid:
  16560. description: 市场ID
  16561. type: integer
  16562. marketname:
  16563. description: 市场名称
  16564. type: string
  16565. matchaccountid:
  16566. description: 对手账号id
  16567. type: integer
  16568. memberuserid:
  16569. description: 会员id 个人投资者 需要填写
  16570. type: integer
  16571. opencharge:
  16572. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  16573. type: number
  16574. openexchagechargevalue:
  16575. description: 建仓交易所手续费设置值
  16576. type: number
  16577. openfeealgorithm:
  16578. description: 建仓手续费收取方式 1:比率 2:固定
  16579. type: integer
  16580. openmemberchargevalue:
  16581. description: 建仓会员手续费设置值
  16582. type: number
  16583. openqty:
  16584. description: 开仓数量(先建后平操作 需要记录)
  16585. type: number
  16586. optiontype:
  16587. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  16588. type: integer
  16589. orderid:
  16590. description: 委托单号
  16591. type: string
  16592. payamount:
  16593. description: 支付金额(付款金额)
  16594. type: number
  16595. performanceplanid:
  16596. description: 履约计划ID[期权]
  16597. type: integer
  16598. performancestatus:
  16599. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  16600. type: integer
  16601. preexerciseprice:
  16602. description: 预申报价格
  16603. type: number
  16604. premium:
  16605. description: 权利金 - [持仓单的权利金]
  16606. type: number
  16607. qtydecimalplace:
  16608. description: 商品报价小数位
  16609. type: integer
  16610. recvamount:
  16611. description: 到账金额 = 成交金额 - 手续费
  16612. type: number
  16613. relatedouttradeid:
  16614. description: 关联外部成交单ID
  16615. type: integer
  16616. status:
  16617. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  16618. type: integer
  16619. totalamount:
  16620. description: 订单总额 = 成交金额 + 手续费
  16621. type: number
  16622. tradeamount:
  16623. description: 成交金额[账户币种,用于所有权]
  16624. type: number
  16625. tradedate:
  16626. description: 交易日(yyyyMMdd)
  16627. type: string
  16628. tradeid:
  16629. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  16630. type: string
  16631. trademode:
  16632. description: 交易模式
  16633. type: integer
  16634. tradeprice:
  16635. description: 成交价格
  16636. type: number
  16637. tradeproperty:
  16638. description: 交易属性
  16639. type: integer
  16640. tradeqty:
  16641. description: 成交数量
  16642. type: number
  16643. tradetime:
  16644. description: 成交时间
  16645. type: string
  16646. tradetype:
  16647. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  16648. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  16649. type: integer
  16650. required:
  16651. - accountid
  16652. - buyorsell
  16653. - goodsid
  16654. - marketid
  16655. - memberuserid
  16656. - orderid
  16657. - tradeamount
  16658. - tradedate
  16659. - tradeid
  16660. - tradeprice
  16661. - tradeqty
  16662. - tradetime
  16663. type: object
  16664. order.QueryTradeOrderDetailRsp:
  16665. properties:
  16666. accountid:
  16667. description: 账户ID[报价币种]
  16668. type: integer
  16669. buildtype:
  16670. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  16671. type: integer
  16672. buyorsell:
  16673. description: 买卖 - 0:买 1:卖
  16674. type: integer
  16675. cancelorderid:
  16676. description: 撤单单号(撤单时填写)
  16677. type: string
  16678. cancelqty:
  16679. description: 撤单数量
  16680. type: number
  16681. clienttype:
  16682. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  16683. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  16684. type: integer
  16685. closefreezecharge:
  16686. description: 平仓冻结手续费(先建后平操作,需要记录)
  16687. type: number
  16688. closeqty:
  16689. description: 平仓数量(先建后平操作 需要记录)
  16690. type: number
  16691. closetradeqty:
  16692. description: 平仓成交数量(先建后平操作,需要记录)
  16693. type: number
  16694. closeunfreezecharge:
  16695. description: 平仓解冻手续费(先建后平操作,需要记录)
  16696. type: number
  16697. decimalplace:
  16698. description: 商品报价小数位
  16699. type: integer
  16700. delistingtype:
  16701. description: 摘牌类型 - 1:价格最优 2:点选成交
  16702. type: integer
  16703. enableqty:
  16704. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  16705. type: number
  16706. enumdicname:
  16707. description: 单位名称
  16708. type: string
  16709. freezecharge:
  16710. description: 冻结手续费
  16711. type: number
  16712. freezemargin:
  16713. description: 冻结保证金(冻结交易金额)
  16714. type: number
  16715. goodscode:
  16716. description: 商品代码
  16717. type: string
  16718. goodsid:
  16719. description: 商品ID
  16720. type: integer
  16721. goodsname:
  16722. description: 商品名称
  16723. type: string
  16724. goodunitid:
  16725. description: 商品单位id
  16726. type: integer
  16727. listingselecttype:
  16728. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  16729. type: integer
  16730. marketid:
  16731. description: 市场ID
  16732. type: integer
  16733. marketname:
  16734. description: 市场名称
  16735. type: string
  16736. openfreezecharge:
  16737. description: 开仓冻结手续费(先建后平操作,需要记录)
  16738. type: number
  16739. openqty:
  16740. description: 开仓数量(先建后平操作,需要记录)
  16741. type: number
  16742. opentradeqty:
  16743. description: 开仓成交数量(先建后平操作,需要记录)
  16744. type: number
  16745. openunfreezecharge:
  16746. description: 开仓解冻手续费(先建后平操作,需要记录)
  16747. type: number
  16748. operatetype:
  16749. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  16750. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  16751. 15:管理端协议转让
  16752. type: integer
  16753. operatorid:
  16754. description: 登录账号(LoginID)
  16755. type: integer
  16756. orderid:
  16757. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  16758. type: string
  16759. orderprice:
  16760. description: 委托价格
  16761. type: number
  16762. orderqty:
  16763. description: 委托数量
  16764. type: number
  16765. ordersrc:
  16766. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  16767. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  16768. type: integer
  16769. orderstatus:
  16770. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  16771. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  16772. 16:成交失败违约(荷兰式竞拍专用)
  16773. type: integer
  16774. ordertime:
  16775. description: 委托时间
  16776. type: string
  16777. preorderid:
  16778. description: 关联预埋单号(止盈止损单时填写)
  16779. type: string
  16780. pricemode:
  16781. description: '取价方式 - 1:市价 2: 限价'
  16782. type: integer
  16783. qtydecimalplace:
  16784. description: 商品报价小数位
  16785. type: integer
  16786. relatedid:
  16787. description: 关联单号(交割单)
  16788. type: string
  16789. tradedate:
  16790. description: 交易日(yyyyMMdd)
  16791. type: string
  16792. trademode:
  16793. description: 交易模式
  16794. type: integer
  16795. tradeqty:
  16796. description: 成交数量
  16797. type: number
  16798. unfreezecharge:
  16799. description: 解冻手续费
  16800. type: number
  16801. unfreezemargin:
  16802. description: 解冻保证金
  16803. type: number
  16804. validtime:
  16805. description: 有效期限
  16806. type: string
  16807. validtype:
  16808. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  16809. type: integer
  16810. volumetype:
  16811. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  16812. type: integer
  16813. required:
  16814. - accountid
  16815. - buildtype
  16816. - buyorsell
  16817. - goodsid
  16818. - marketid
  16819. - operatetype
  16820. - orderqty
  16821. - ordertime
  16822. - pricemode
  16823. - tradedate
  16824. - validtype
  16825. type: object
  16826. order.QueryTradePositionRsp:
  16827. properties:
  16828. accountid:
  16829. description: 资金账户
  16830. type: integer
  16831. agreeunit:
  16832. description: 合约单位
  16833. type: number
  16834. averageprice:
  16835. description: 持仓均价
  16836. type: number
  16837. buyorsell:
  16838. description: 方向 - 0:买 1:卖
  16839. type: integer
  16840. closetotalqty:
  16841. description: 平仓总数量
  16842. type: number
  16843. curholderamount:
  16844. description: 当前持仓总金额[商品币种]
  16845. type: number
  16846. curpositionqty:
  16847. description: 当前持仓总数量
  16848. type: number
  16849. currencyid:
  16850. description: 报价货币ID
  16851. type: integer
  16852. curtdposition:
  16853. description: 期末今日头寸
  16854. type: number
  16855. decimalplace:
  16856. description: 报价小数位
  16857. type: integer
  16858. enableqty:
  16859. description: 可用量
  16860. type: number
  16861. fretdposition:
  16862. description: 冻结今日头寸
  16863. type: number
  16864. frozenqty:
  16865. description: 持仓冻结数量
  16866. type: number
  16867. goodscode:
  16868. description: 商品代码
  16869. type: string
  16870. goodsid:
  16871. description: 商品Id
  16872. type: integer
  16873. goodsname:
  16874. description: 商品名称
  16875. type: string
  16876. goodunit:
  16877. description: 报价单位
  16878. type: string
  16879. goodunitid:
  16880. description: 报价单位ID
  16881. type: integer
  16882. holderamount:
  16883. description: 期初持仓总金额[商品币种]
  16884. type: number
  16885. lastprice:
  16886. description: 最新价
  16887. type: number
  16888. marketamount:
  16889. description: 市值
  16890. type: number
  16891. marketid:
  16892. description: 所属市场ID
  16893. type: integer
  16894. openreqqty:
  16895. description: 开仓申请数量(用于比较最大持仓数量)
  16896. type: number
  16897. opentotalqty:
  16898. description: 开仓总数量
  16899. type: number
  16900. otherfrozenqty:
  16901. description: 持仓其他冻结数量(交割冻结)
  16902. type: number
  16903. positionpl:
  16904. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  16905. * 合约单位
  16906. type: number
  16907. positionplrate:
  16908. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  16909. type: number
  16910. positionqty:
  16911. description: 期初持仓数量
  16912. type: number
  16913. qtydecimalplace:
  16914. description: 成交量小数位
  16915. type: integer
  16916. tnqty:
  16917. description: T+N冻结总量
  16918. type: number
  16919. tnusedqty:
  16920. description: T+N使用量(可以使用T+N的冻结数量)
  16921. type: number
  16922. trademode:
  16923. description: 交易模式
  16924. type: integer
  16925. usedmargin:
  16926. description: 占用保证金[商品币种]
  16927. type: number
  16928. required:
  16929. - goodsid
  16930. type: object
  16931. pb.GoodsMarginCfgStruct:
  16932. properties:
  16933. CustomerTypeID:
  16934. description: 投资者客户类型
  16935. type: integer
  16936. GoodsID:
  16937. description: 商品ID
  16938. type: integer
  16939. IsDefault:
  16940. description: 是否默认标志位
  16941. type: integer
  16942. LockMarginValue:
  16943. description: 锁仓保证金
  16944. type: number
  16945. MarginAlgorithm:
  16946. description: 保证金计算方式
  16947. type: integer
  16948. MarketMarginValue:
  16949. description: 即市保证金值
  16950. type: number
  16951. RealMarginAlgorithm:
  16952. description: 实付保证金计算方式
  16953. type: integer
  16954. RealMarginValue:
  16955. description: 实付比例
  16956. type: number
  16957. ReckonMarginValue:
  16958. description: 结算保证金值
  16959. type: number
  16960. type: object
  16961. quote.HistoryData:
  16962. properties:
  16963. c:
  16964. description: 收盘价
  16965. type: number
  16966. f:
  16967. description: 是否补充数据
  16968. type: boolean
  16969. h:
  16970. description: 最高价
  16971. type: number
  16972. hv:
  16973. description: 持仓量
  16974. type: integer
  16975. l:
  16976. description: 最低价
  16977. type: number
  16978. o:
  16979. description: 开盘价
  16980. type: number
  16981. s:
  16982. description: 结算价,日线周期(包括)以上才有
  16983. type: number
  16984. ts:
  16985. description: 时间
  16986. type: string
  16987. tt:
  16988. description: 总金额
  16989. type: number
  16990. tv:
  16991. description: 总量
  16992. type: integer
  16993. type: object
  16994. quote.HistoryTikData:
  16995. properties:
  16996. AV:
  16997. description: 卖量
  16998. type: integer
  16999. Ask:
  17000. description: 卖价
  17001. type: number
  17002. BV:
  17003. description: 买量
  17004. type: integer
  17005. Bid:
  17006. description: 买价
  17007. type: number
  17008. HI:
  17009. description: 单笔持仓
  17010. type: integer
  17011. HV:
  17012. description: 持仓量
  17013. type: integer
  17014. PE:
  17015. description: 现价
  17016. type: number
  17017. TDR:
  17018. description: 交易方向,0:买 1:卖
  17019. type: integer
  17020. TK:
  17021. description: 交易类型
  17022. type: integer
  17023. TS:
  17024. description: 行情时间文本
  17025. type: string
  17026. TT:
  17027. description: 现金额
  17028. type: number
  17029. Vol:
  17030. description: 现量
  17031. type: integer
  17032. type: object
  17033. quote.QueryQuoteDayRsp:
  17034. properties:
  17035. ask:
  17036. description: 卖1
  17037. type: number
  17038. ask2:
  17039. description: 卖2
  17040. type: number
  17041. ask3:
  17042. description: 卖3
  17043. type: number
  17044. ask4:
  17045. description: 卖4
  17046. type: number
  17047. ask5:
  17048. description: 卖5
  17049. type: number
  17050. ask6:
  17051. description: 卖6
  17052. type: number
  17053. ask7:
  17054. description: 卖7
  17055. type: number
  17056. ask8:
  17057. description: 卖8
  17058. type: number
  17059. ask9:
  17060. description: 卖9
  17061. type: number
  17062. ask10:
  17063. description: 卖10
  17064. type: number
  17065. askorderid:
  17066. description: 卖单号1
  17067. type: integer
  17068. askorderid2:
  17069. description: 卖单号2
  17070. type: integer
  17071. askorderid3:
  17072. description: 卖单号3
  17073. type: integer
  17074. askorderid4:
  17075. description: 卖单号4
  17076. type: integer
  17077. askorderid5:
  17078. description: 卖单号5
  17079. type: integer
  17080. askordervolume:
  17081. description: 卖单量1
  17082. type: integer
  17083. askordervolume2:
  17084. description: 卖单量2
  17085. type: integer
  17086. askordervolume3:
  17087. description: 卖单量3
  17088. type: integer
  17089. askordervolume4:
  17090. description: 卖单量4
  17091. type: integer
  17092. askordervolume5:
  17093. description: 卖单量5
  17094. type: integer
  17095. askordervolume6:
  17096. description: 卖单量6
  17097. type: integer
  17098. askordervolume7:
  17099. description: 卖单量7
  17100. type: integer
  17101. askordervolume8:
  17102. description: 卖单量8
  17103. type: integer
  17104. askordervolume9:
  17105. description: 卖单量9
  17106. type: integer
  17107. askordervolume10:
  17108. description: 卖单量10
  17109. type: integer
  17110. askqueueinfo:
  17111. description: 大利市卖港股用
  17112. type: string
  17113. askvolume:
  17114. description: 卖量1
  17115. type: integer
  17116. askvolume2:
  17117. description: 卖量2
  17118. type: integer
  17119. askvolume3:
  17120. description: 卖量3
  17121. type: integer
  17122. askvolume4:
  17123. description: 卖量4
  17124. type: integer
  17125. askvolume5:
  17126. description: 卖量5
  17127. type: integer
  17128. askvolume6:
  17129. description: 卖量6
  17130. type: integer
  17131. askvolume7:
  17132. description: 卖量7
  17133. type: integer
  17134. askvolume8:
  17135. description: 卖量8
  17136. type: integer
  17137. askvolume9:
  17138. description: 卖量9
  17139. type: integer
  17140. askvolume10:
  17141. description: 卖量10
  17142. type: integer
  17143. averageprice:
  17144. description: 均价
  17145. type: number
  17146. bid:
  17147. description: 买1
  17148. type: number
  17149. bid2:
  17150. description: 买2
  17151. type: number
  17152. bid3:
  17153. description: 买3
  17154. type: number
  17155. bid4:
  17156. description: 买4
  17157. type: number
  17158. bid5:
  17159. description: 买5
  17160. type: number
  17161. bid6:
  17162. description: 买6
  17163. type: number
  17164. bid7:
  17165. description: 买7
  17166. type: number
  17167. bid8:
  17168. description: 买8
  17169. type: number
  17170. bid9:
  17171. description: 买9
  17172. type: number
  17173. bid10:
  17174. description: 买10
  17175. type: number
  17176. bidorderid:
  17177. description: 买单号1
  17178. type: integer
  17179. bidorderid2:
  17180. description: 买单号2
  17181. type: integer
  17182. bidorderid3:
  17183. description: 买单号3
  17184. type: integer
  17185. bidorderid4:
  17186. description: 买单号4
  17187. type: integer
  17188. bidorderid5:
  17189. description: 买单号5
  17190. type: integer
  17191. bidordervolume:
  17192. description: 买单量1
  17193. type: integer
  17194. bidordervolume2:
  17195. description: 买单量2
  17196. type: integer
  17197. bidordervolume3:
  17198. description: 买单量3
  17199. type: integer
  17200. bidordervolume4:
  17201. description: 买单量4
  17202. type: integer
  17203. bidordervolume5:
  17204. description: 买单量5
  17205. type: integer
  17206. bidordervolume6:
  17207. description: 买单量6
  17208. type: integer
  17209. bidordervolume7:
  17210. description: 买单量7
  17211. type: integer
  17212. bidordervolume8:
  17213. description: 买单量8
  17214. type: integer
  17215. bidordervolume9:
  17216. description: 买单量9
  17217. type: integer
  17218. bidordervolume10:
  17219. description: 买单量10
  17220. type: integer
  17221. bidqueueinfo:
  17222. description: 大利市买港股用
  17223. type: string
  17224. bidvolume:
  17225. description: 买量1
  17226. type: integer
  17227. bidvolume2:
  17228. description: 买量2
  17229. type: integer
  17230. bidvolume3:
  17231. description: 买量3
  17232. type: integer
  17233. bidvolume4:
  17234. description: 买量4
  17235. type: integer
  17236. bidvolume5:
  17237. description: 买量5
  17238. type: integer
  17239. bidvolume6:
  17240. description: 买量6
  17241. type: integer
  17242. bidvolume7:
  17243. description: 买量7
  17244. type: integer
  17245. bidvolume8:
  17246. description: 买量8
  17247. type: integer
  17248. bidvolume9:
  17249. description: 买量9
  17250. type: integer
  17251. bidvolume10:
  17252. description: 买量10
  17253. type: integer
  17254. calloptionpremiums:
  17255. description: 认购期权1
  17256. type: integer
  17257. calloptionpremiums2:
  17258. description: 认购期权2
  17259. type: integer
  17260. calloptionpremiums3:
  17261. description: 认购期权3
  17262. type: integer
  17263. calloptionpremiums4:
  17264. description: 认购期权4
  17265. type: integer
  17266. calloptionpremiums5:
  17267. description: 认购期权5
  17268. type: integer
  17269. cleartime:
  17270. description: 清盘时间
  17271. type: integer
  17272. exchangecode:
  17273. description: 交易所代码
  17274. type: integer
  17275. exchangedate:
  17276. description: 交易日
  17277. type: integer
  17278. goodscode:
  17279. description: 商品代码
  17280. type: string
  17281. grepmarketprice:
  17282. description: 暗盘价 港股专用
  17283. type: number
  17284. highest:
  17285. description: 最高价
  17286. type: number
  17287. holdincrement:
  17288. description: 单笔持仓
  17289. type: integer
  17290. holdvolume:
  17291. description: 持仓
  17292. type: integer
  17293. iep:
  17294. description: 平衡价 港股专用
  17295. type: number
  17296. iev:
  17297. description: 平衡量 港股专用
  17298. type: number
  17299. inventory:
  17300. description: 库存
  17301. type: integer
  17302. iscleared:
  17303. description: 是否清盘标志
  17304. type: integer
  17305. issettled:
  17306. description: 是否结算标志
  17307. type: integer
  17308. last:
  17309. description: 最新价
  17310. type: number
  17311. lastlot:
  17312. description: 最新成交手数
  17313. type: integer
  17314. lasttime:
  17315. description: 行情时间(只有现价变化行情时间才变化)
  17316. type: string
  17317. lastturnover:
  17318. description: 最新成交金额
  17319. type: number
  17320. lastvolume:
  17321. description: 最新成交量
  17322. type: integer
  17323. limitdown:
  17324. description: 跌停价
  17325. type: number
  17326. limitup:
  17327. description: 涨停价
  17328. type: number
  17329. lowest:
  17330. description: 最低价
  17331. type: number
  17332. nontotalholdervolume:
  17333. description: 非交易持仓量
  17334. type: integer
  17335. nontotallot:
  17336. description: 非交易总手数
  17337. type: integer
  17338. nontotalturnover:
  17339. description: 非交易总金额
  17340. type: integer
  17341. nontotalvolume:
  17342. description: 非交易总量
  17343. type: integer
  17344. opened:
  17345. description: 开盘价
  17346. type: number
  17347. opentime:
  17348. description: 开盘时间
  17349. type: string
  17350. orderid:
  17351. description: 序号
  17352. type: integer
  17353. preclose:
  17354. description: 昨收
  17355. type: number
  17356. preholdvolume:
  17357. description: 昨持仓
  17358. type: integer
  17359. presettle:
  17360. description: 昨结价
  17361. type: number
  17362. publictradetype:
  17363. description: 公共交易标志类型 港股专用
  17364. type: string
  17365. putoptionpremiums:
  17366. description: 认沽期权1
  17367. type: integer
  17368. putoptionpremiums2:
  17369. description: 认沽期权2
  17370. type: integer
  17371. putoptionpremiums3:
  17372. description: 认沽期权3
  17373. type: integer
  17374. putoptionpremiums4:
  17375. description: 认沽期权4
  17376. type: integer
  17377. putoptionpremiums5:
  17378. description: 认沽期权5
  17379. type: integer
  17380. settle:
  17381. description: 结算价
  17382. type: number
  17383. strikeprice:
  17384. description: 发行价
  17385. type: number
  17386. totalaskvolume:
  17387. description: 内盘
  17388. type: integer
  17389. totalbidvolume:
  17390. description: 外盘
  17391. type: integer
  17392. totallot:
  17393. description: 总手数
  17394. type: integer
  17395. totalturnover:
  17396. description: 总金额
  17397. type: number
  17398. totalvolume:
  17399. description: 总量
  17400. type: integer
  17401. utclasttime:
  17402. description: utc的行情时间
  17403. type: string
  17404. type: object
  17405. quote.QueryTSDataRsp:
  17406. properties:
  17407. Count:
  17408. description: 交易日应有数据个数
  17409. type: integer
  17410. decimalPlace:
  17411. description: 小数位
  17412. type: integer
  17413. endTime:
  17414. description: 结束时间
  17415. type: string
  17416. goodsCode:
  17417. description: 商品代码
  17418. type: string
  17419. historyDatas:
  17420. description: 历史数据
  17421. items:
  17422. $ref: '#/definitions/quote.HistoryData'
  17423. type: array
  17424. outGoodsCode:
  17425. description: 外部商品代码
  17426. type: string
  17427. preSettle:
  17428. description: 昨结价
  17429. type: number
  17430. runSteps:
  17431. description: 交易日开休市计划
  17432. items:
  17433. $ref: '#/definitions/quote.TSDataRunStep'
  17434. type: array
  17435. startTime:
  17436. description: 开始时间
  17437. type: string
  17438. tradeDate:
  17439. description: 交易日
  17440. type: string
  17441. type: object
  17442. quote.TSDataRunStep:
  17443. properties:
  17444. end:
  17445. description: 真实结束时间
  17446. type: string
  17447. endflag:
  17448. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  17449. type: integer
  17450. endtime:
  17451. description: 结束时间(HH:mm)
  17452. type: string
  17453. endweekday:
  17454. description: 结束周几
  17455. type: integer
  17456. groupid:
  17457. description: 分组ID
  17458. type: integer
  17459. runstep:
  17460. description: 运行阶段 - 2:连续交易
  17461. type: integer
  17462. sectionid:
  17463. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  17464. 结束时间=结算时间 结束周几=结算周几
  17465. type: integer
  17466. start:
  17467. description: 真实开始时间
  17468. type: string
  17469. startflag:
  17470. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  17471. type: integer
  17472. starttime:
  17473. description: 起始时间(HH:mm)
  17474. type: string
  17475. startweekday:
  17476. description: 起始周几
  17477. type: integer
  17478. tradeweekday:
  17479. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  17480. type: integer
  17481. type: object
  17482. szdz.QueryConvertLogRsp:
  17483. properties:
  17484. accountid:
  17485. description: 资金账户ID
  17486. type: integer
  17487. clientticket:
  17488. description: 客户端流水号
  17489. type: string
  17490. converttype:
  17491. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  17492. type: integer
  17493. createtime:
  17494. description: 记账时间
  17495. type: string
  17496. daymaxvalue:
  17497. description: 配置当日最大转入限制
  17498. type: number
  17499. daymaxvalue2:
  17500. description: 配置当日最大转入限制(转入)
  17501. type: number
  17502. goodscode:
  17503. description: 商品代码
  17504. type: string
  17505. goodsname:
  17506. description: 商品名称
  17507. type: string
  17508. handlestatus:
  17509. description: 处理状态
  17510. type: integer
  17511. innergoodsid:
  17512. description: 内部商品ID
  17513. type: integer
  17514. inratio:
  17515. description: 配置转入比值
  17516. type: integer
  17517. invalue:
  17518. description: 目标值
  17519. type: number
  17520. logid:
  17521. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17522. type: integer
  17523. mobile:
  17524. description: 手机号码(加密存储)
  17525. type: string
  17526. outergoodscode:
  17527. description: 外部商品代码[JD\PD]
  17528. type: string
  17529. outratio:
  17530. description: 配置转出比值
  17531. type: integer
  17532. outvalue:
  17533. description: 源值
  17534. type: number
  17535. pddecimalplace:
  17536. description: PD小数位
  17537. type: integer
  17538. qty:
  17539. description: 数量
  17540. type: string
  17541. remark:
  17542. description: 备注
  17543. type: string
  17544. sessionid:
  17545. description: 会话ID
  17546. type: integer
  17547. timemaxvalue:
  17548. description: 配置单次最大转入限制
  17549. type: number
  17550. timemaxvalue2:
  17551. description: 配置单次最大转入限制(转入)
  17552. type: number
  17553. timeminvalue:
  17554. description: 配置单次最小数量限制
  17555. type: number
  17556. timeminvalue2:
  17557. description: 配置单次最小数量限制(转入)
  17558. type: number
  17559. tradedate:
  17560. description: 交易日(yyyyMMdd)
  17561. type: string
  17562. userid:
  17563. description: 用户ID
  17564. type: integer
  17565. required:
  17566. - logid
  17567. type: object
  17568. szdz.QueryGoodsPickupRsp:
  17569. properties:
  17570. accountid:
  17571. description: 账户ID
  17572. type: integer
  17573. address:
  17574. description: 提货人详细地址
  17575. type: string
  17576. auditer:
  17577. description: 审核人
  17578. type: integer
  17579. audittime:
  17580. description: 审核时间
  17581. type: string
  17582. cardnum:
  17583. description: 提货人证件号码
  17584. type: string
  17585. cardtypeid:
  17586. description: 提货人证件类型
  17587. type: integer
  17588. checkremark:
  17589. description: 审核备注
  17590. type: string
  17591. goodscode:
  17592. description: 商品代码
  17593. type: string
  17594. goodsid:
  17595. description: 商品ID
  17596. type: integer
  17597. goodsname:
  17598. description: 商品名称
  17599. type: string
  17600. handlestatus:
  17601. description: 处理状态
  17602. type: integer
  17603. marketid:
  17604. description: 市场ID
  17605. type: integer
  17606. phonenum:
  17607. description: 提货人联系方式
  17608. type: string
  17609. qty:
  17610. description: 提货数量
  17611. type: number
  17612. recivername:
  17613. description: 提货人姓名
  17614. type: string
  17615. reqtime:
  17616. description: 更新时间
  17617. type: string
  17618. takemode:
  17619. description: 提货方式 - 2:自提 3:配送
  17620. type: integer
  17621. takeorderid:
  17622. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  17623. type: string
  17624. takeorderstatus:
  17625. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  17626. type: integer
  17627. takeremark:
  17628. description: 提货备注
  17629. type: string
  17630. tradedate:
  17631. description: 交易日(yyyyMMdd)
  17632. type: string
  17633. userid:
  17634. description: 用户ID
  17635. type: integer
  17636. required:
  17637. - takeorderid
  17638. type: object
  17639. szdz.QueryRecieptOrderRsp:
  17640. properties:
  17641. accountName:
  17642. description: 所属账号名称(已脱敏)
  17643. type: string
  17644. accountid:
  17645. description: 资金账号
  17646. type: integer
  17647. buyorsell:
  17648. description: 方向 - 0:买 1:卖
  17649. type: integer
  17650. enableqty:
  17651. description: 可摘数量
  17652. type: integer
  17653. goodscode:
  17654. description: 商品代码
  17655. type: string
  17656. goodsid:
  17657. description: 商品ID
  17658. type: integer
  17659. goodsname:
  17660. description: 商品名称
  17661. type: string
  17662. orderid:
  17663. description: 委托单号
  17664. type: string
  17665. orderprice:
  17666. description: 委托价格
  17667. type: number
  17668. ordertime:
  17669. description: 委托时间
  17670. type: string
  17671. tradedate:
  17672. description: 交易日(yyyyMMdd)
  17673. type: string
  17674. required:
  17675. - ordertime
  17676. type: object
  17677. szdz.QuerySZDZTradePositionRsp:
  17678. properties:
  17679. accountid:
  17680. description: 账号Id
  17681. type: integer
  17682. agreeunit:
  17683. description: 合约单位
  17684. type: number
  17685. averageprice:
  17686. description: 持仓均价
  17687. type: number
  17688. buyorsell:
  17689. description: 方向 - 0:买 1:卖
  17690. type: integer
  17691. closetotalqty:
  17692. description: 平仓总数量
  17693. type: integer
  17694. curholderamount:
  17695. description: 当前持仓总金额
  17696. type: number
  17697. curpositionqty:
  17698. description: 当前持仓总数量
  17699. type: integer
  17700. currencyid:
  17701. description: 报价货币ID
  17702. type: integer
  17703. curtdposition:
  17704. description: 期末今日头寸
  17705. type: integer
  17706. decimalplace:
  17707. description: 报价小数位
  17708. type: integer
  17709. enableqty:
  17710. description: 可用量
  17711. type: integer
  17712. fretdposition:
  17713. description: 冻结今日头寸
  17714. type: integer
  17715. frozenqty:
  17716. description: 持仓冻结数量
  17717. type: integer
  17718. goodscode:
  17719. description: 商品代码(内部)
  17720. type: string
  17721. goodsid:
  17722. description: 商品Id
  17723. type: integer
  17724. goodsname:
  17725. description: 商品名称
  17726. type: string
  17727. goodunit:
  17728. description: 报价单位
  17729. type: string
  17730. goodunitid:
  17731. description: 报价单位ID
  17732. type: integer
  17733. holderamount:
  17734. description: 期初持仓总金额
  17735. type: number
  17736. marketid:
  17737. description: 市场ID
  17738. type: integer
  17739. openreqqty:
  17740. description: 开仓申请数量
  17741. type: integer
  17742. opentotalqty:
  17743. description: 开仓总数量
  17744. type: integer
  17745. otherfrozenqty:
  17746. description: 持仓其他冻结数量(交割冻结)
  17747. type: integer
  17748. positionqty:
  17749. description: 期初持仓数量
  17750. type: integer
  17751. szdz3freezqty:
  17752. description: 尚志大宗转换冻结总数量
  17753. type: integer
  17754. tnqty:
  17755. description: T+N冻结总量
  17756. type: integer
  17757. tnusedqty:
  17758. description: T+N使用量
  17759. type: integer
  17760. trademode:
  17761. description: 交易模式
  17762. type: integer
  17763. usedmargin:
  17764. description: 占用保证金
  17765. type: number
  17766. type: object
  17767. taaccount.QueryAmountLogRsp:
  17768. properties:
  17769. OPERATETYPENAME:
  17770. description: 资金操作类型名称
  17771. type: string
  17772. accountid:
  17773. description: 资金账户ID
  17774. type: integer
  17775. agoodscode:
  17776. description: 竞拍商品代码
  17777. type: string
  17778. agoodsname:
  17779. description: 竞拍商品名称
  17780. type: string
  17781. amount:
  17782. description: 资金金额
  17783. type: number
  17784. amountadjusttype:
  17785. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  17786. type: integer
  17787. autoid:
  17788. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  17789. type: integer
  17790. balance:
  17791. description: 期初余额
  17792. type: number
  17793. businesscode:
  17794. description: 业务编号
  17795. type: integer
  17796. createtime:
  17797. description: 发生时间
  17798. type: string
  17799. currencyid:
  17800. description: 币种ID
  17801. type: integer
  17802. currentbalance:
  17803. description: 期末余额(变动后金额)
  17804. type: number
  17805. dgoodscode:
  17806. description: 交割商品代码
  17807. type: string
  17808. dgoodsname:
  17809. description: 交割商品名称
  17810. type: string
  17811. goodscode:
  17812. description: 商品代码
  17813. type: string
  17814. goodsid:
  17815. description: 商品ID
  17816. type: integer
  17817. goodsname:
  17818. description: 商品名称
  17819. type: string
  17820. marketid:
  17821. description: 市场ID
  17822. type: integer
  17823. marketname:
  17824. description: 市场名称
  17825. type: string
  17826. moneyticket:
  17827. description: 资金流水号:银行端流水号
  17828. type: integer
  17829. operatetype:
  17830. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  17831. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  17832. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  17833. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  17834. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  17835. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  17836. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  17837. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  17838. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  17839. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  17840. type: integer
  17841. relationorderid:
  17842. description: 关联单号
  17843. type: string
  17844. remark:
  17845. description: 备注
  17846. type: string
  17847. trademode:
  17848. description: 交易模式
  17849. type: integer
  17850. required:
  17851. - accountid
  17852. - amount
  17853. - amountadjusttype
  17854. - autoid
  17855. - balance
  17856. - createtime
  17857. - currentbalance
  17858. - operatetype
  17859. type: object
  17860. taaccount.QueryHisAmountLogRsp:
  17861. properties:
  17862. OPERATETYPENAME:
  17863. description: 资金操作类型名称
  17864. type: string
  17865. accountid:
  17866. description: 资金账户ID
  17867. type: integer
  17868. agoodscode:
  17869. description: 竞拍商品代码
  17870. type: string
  17871. agoodsname:
  17872. description: 竞拍商品名称
  17873. type: string
  17874. amount:
  17875. description: 资金金额
  17876. type: number
  17877. amountadjusttype:
  17878. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  17879. type: integer
  17880. autoid:
  17881. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  17882. type: integer
  17883. balance:
  17884. description: 期初余额
  17885. type: number
  17886. businesscode:
  17887. description: 业务编号
  17888. type: integer
  17889. createtime:
  17890. description: 发生时间
  17891. type: string
  17892. currencyid:
  17893. description: 币种ID
  17894. type: integer
  17895. currentbalance:
  17896. description: 期末余额(变动后金额)
  17897. type: number
  17898. dgoodscode:
  17899. description: 交割商品代码
  17900. type: string
  17901. dgoodsname:
  17902. description: 交割商品名称
  17903. type: string
  17904. goodscode:
  17905. description: 商品代码
  17906. type: string
  17907. goodsid:
  17908. description: 商品ID
  17909. type: integer
  17910. goodsname:
  17911. description: 商品名称
  17912. type: string
  17913. histradedate:
  17914. description: 历史交易日
  17915. type: string
  17916. isvaliddata:
  17917. description: 是否有效 - 0:无效 1:有效
  17918. type: integer
  17919. marketid:
  17920. description: 市场ID
  17921. type: integer
  17922. marketname:
  17923. description: 市场名称
  17924. type: string
  17925. moneyticket:
  17926. description: 资金流水号:银行端流水号
  17927. type: integer
  17928. operatetype:
  17929. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  17930. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  17931. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  17932. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  17933. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  17934. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  17935. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  17936. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  17937. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  17938. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  17939. type: integer
  17940. relationorderid:
  17941. description: 关联单号
  17942. type: string
  17943. remark:
  17944. description: 备注
  17945. type: string
  17946. trademode:
  17947. description: 交易模式
  17948. type: integer
  17949. required:
  17950. - accountid
  17951. - amount
  17952. - amountadjusttype
  17953. - autoid
  17954. - balance
  17955. - createtime
  17956. - currentbalance
  17957. - histradedate
  17958. - operatetype
  17959. type: object
  17960. trade.QueryRecieptOrderRsp:
  17961. properties:
  17962. accountName:
  17963. description: 所属账号名称(已脱敏)
  17964. type: string
  17965. accountid:
  17966. description: 资金账号
  17967. type: integer
  17968. buyorsell:
  17969. description: 方向 - 0:买 1:卖
  17970. type: integer
  17971. enableqty:
  17972. description: 可摘数量
  17973. type: integer
  17974. goodscode:
  17975. description: 商品代码
  17976. type: string
  17977. goodsid:
  17978. description: 商品ID
  17979. type: integer
  17980. goodsname:
  17981. description: 商品名称
  17982. type: string
  17983. orderid:
  17984. description: 委托单号
  17985. type: string
  17986. orderprice:
  17987. description: 委托价格
  17988. type: number
  17989. ordertime:
  17990. description: 委托时间
  17991. type: string
  17992. tradedate:
  17993. description: 交易日(yyyyMMdd)
  17994. type: string
  17995. required:
  17996. - ordertime
  17997. type: object
  17998. user.LoginQueryRsp:
  17999. properties:
  18000. areaRoles:
  18001. description: 所属角色信息
  18002. items:
  18003. $ref: '#/definitions/models.Arearole'
  18004. type: array
  18005. externalExchanges:
  18006. description: 外部交易所
  18007. items:
  18008. $ref: '#/definitions/models.Externalexchange'
  18009. type: array
  18010. goodsgroups:
  18011. description: 商品组
  18012. items:
  18013. $ref: '#/definitions/models.Goodsgroup'
  18014. type: array
  18015. loginAccount:
  18016. $ref: '#/definitions/models.Loginaccount'
  18017. description: 登录账号
  18018. type: object
  18019. markets:
  18020. description: 市场
  18021. items:
  18022. $ref: '#/definitions/models.Market'
  18023. type: array
  18024. systemParams:
  18025. description: 系统参数
  18026. items:
  18027. $ref: '#/definitions/models.Systemparam'
  18028. type: array
  18029. userAccount:
  18030. $ref: '#/definitions/models.Useraccount'
  18031. description: 用户账号
  18032. type: object
  18033. userInfo:
  18034. $ref: '#/definitions/models.Userinfo'
  18035. description: 用户信息
  18036. type: object
  18037. username:
  18038. description: 用户姓名
  18039. type: string
  18040. type: object
  18041. info:
  18042. contact: {}
  18043. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  18044. license: {}
  18045. termsOfService: http://www.muchinfo.cn
  18046. title: MTP2.0 查询服务 API
  18047. version: "1.0"
  18048. paths:
  18049. /CPTrade/QueryCPTradeMyBidInfos:
  18050. get:
  18051. parameters:
  18052. - description: 资金账户
  18053. in: query
  18054. name: accountid
  18055. required: true
  18056. type: integer
  18057. - description: 预售市场ID
  18058. in: query
  18059. name: marketid
  18060. type: integer
  18061. - description: 预售商品ID
  18062. in: query
  18063. name: goodsid
  18064. type: integer
  18065. produces:
  18066. - application/json
  18067. responses:
  18068. "200":
  18069. description: OK
  18070. schema:
  18071. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  18072. "500":
  18073. description: Internal Server Error
  18074. schema:
  18075. $ref: '#/definitions/app.Response'
  18076. security:
  18077. - ApiKeyAuth: []
  18078. summary: 查询产能预售我的出价信息
  18079. tags:
  18080. - 产能预售
  18081. /CPTrade/QueryCPTradeOrderDetail:
  18082. get:
  18083. parameters:
  18084. - description: 预售商品ID
  18085. in: query
  18086. name: goodsid
  18087. type: integer
  18088. - description: 预售市场ID
  18089. in: query
  18090. name: marketid
  18091. type: integer
  18092. - description: 预售商品ID列表 - 格式:1,2,3
  18093. in: query
  18094. name: goodsids
  18095. type: string
  18096. produces:
  18097. - application/json
  18098. responses:
  18099. "200":
  18100. description: OK
  18101. schema:
  18102. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  18103. "500":
  18104. description: Internal Server Error
  18105. schema:
  18106. $ref: '#/definitions/app.Response'
  18107. security:
  18108. - ApiKeyAuth: []
  18109. summary: 查询产能预售委托单信息
  18110. tags:
  18111. - 产能预售
  18112. /CPTrade/QueryMyCPTradeGoods:
  18113. get:
  18114. parameters:
  18115. - description: 资金账户
  18116. in: query
  18117. name: accountid
  18118. required: true
  18119. type: integer
  18120. produces:
  18121. - application/json
  18122. responses:
  18123. "200":
  18124. description: OK
  18125. schema:
  18126. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  18127. "500":
  18128. description: Internal Server Error
  18129. schema:
  18130. $ref: '#/definitions/app.Response'
  18131. security:
  18132. - ApiKeyAuth: []
  18133. summary: 查询我的预售信息
  18134. tags:
  18135. - 产能预售
  18136. /CPTrade/QueryPositionCancel:
  18137. get:
  18138. parameters:
  18139. - description: 账户ID
  18140. in: query
  18141. name: userid
  18142. required: true
  18143. type: integer
  18144. - description: 注销ID
  18145. in: query
  18146. name: cancelid
  18147. type: integer
  18148. - description: 资金账户ID
  18149. in: query
  18150. name: accountid
  18151. type: integer
  18152. produces:
  18153. - application/json
  18154. responses:
  18155. "200":
  18156. description: OK
  18157. schema:
  18158. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  18159. "500":
  18160. description: Internal Server Error
  18161. schema:
  18162. $ref: '#/definitions/app.Response'
  18163. security:
  18164. - ApiKeyAuth: []
  18165. summary: 查询远期订单注销申请信息
  18166. tags:
  18167. - 产能预售
  18168. /CPTrade/QueryPreasleApply:
  18169. get:
  18170. parameters:
  18171. - description: 账户ID
  18172. in: query
  18173. name: userid
  18174. required: true
  18175. type: integer
  18176. - description: 申请ID
  18177. in: query
  18178. name: applyid
  18179. type: integer
  18180. - description: 资金账户ID
  18181. in: query
  18182. name: accountid
  18183. type: integer
  18184. produces:
  18185. - application/json
  18186. responses:
  18187. "200":
  18188. description: OK
  18189. schema:
  18190. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  18191. "500":
  18192. description: Internal Server Error
  18193. schema:
  18194. $ref: '#/definitions/app.Response'
  18195. security:
  18196. - ApiKeyAuth: []
  18197. summary: 查询产能预售申请信息
  18198. tags:
  18199. - 产能预售
  18200. /CPTrade/QueryPresaleGoodsEx:
  18201. get:
  18202. parameters:
  18203. - description: 预售商品ID
  18204. in: query
  18205. name: goodsid
  18206. type: integer
  18207. - description: 预售市场ID
  18208. in: query
  18209. name: marketid
  18210. type: integer
  18211. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  18212. in: query
  18213. name: presalemode
  18214. type: integer
  18215. - description: 预售商品ID列表 - 格式:1,2,3
  18216. in: query
  18217. name: goodsids
  18218. type: string
  18219. - description: 预售商品代码
  18220. in: query
  18221. name: goodscode
  18222. type: string
  18223. produces:
  18224. - application/json
  18225. responses:
  18226. "200":
  18227. description: OK
  18228. schema:
  18229. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  18230. "500":
  18231. description: Internal Server Error
  18232. schema:
  18233. $ref: '#/definitions/app.Response'
  18234. security:
  18235. - ApiKeyAuth: []
  18236. summary: 查询产能预售商品扩展信息
  18237. tags:
  18238. - 产能预售
  18239. /CPTrade/QueryUserGoodsData:
  18240. get:
  18241. parameters:
  18242. - description: 资金账户ID
  18243. in: query
  18244. name: accountid
  18245. required: true
  18246. type: integer
  18247. produces:
  18248. - application/json
  18249. responses:
  18250. "200":
  18251. description: OK
  18252. schema:
  18253. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  18254. "500":
  18255. description: Internal Server Error
  18256. schema:
  18257. $ref: '#/definitions/app.Response'
  18258. security:
  18259. - ApiKeyAuth: []
  18260. summary: 查询远期订单信息
  18261. tags:
  18262. - 产能预售
  18263. /Common/GetAllEnums:
  18264. get:
  18265. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  18266. parameters:
  18267. - description: 起始自增ID
  18268. in: query
  18269. name: autoid
  18270. type: integer
  18271. produces:
  18272. - application/json
  18273. responses:
  18274. "200":
  18275. description: OK
  18276. schema:
  18277. $ref: '#/definitions/models.Enumdicitem'
  18278. "500":
  18279. description: Internal Server Error
  18280. schema:
  18281. $ref: '#/definitions/app.Response'
  18282. summary: 获取所有枚举信息
  18283. tags:
  18284. - 通用服务
  18285. /Common/GetClientMenus:
  18286. get:
  18287. parameters:
  18288. - description: 登录账号
  18289. in: query
  18290. name: loginID
  18291. required: true
  18292. type: integer
  18293. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  18294. in: query
  18295. name: clientType
  18296. type: integer
  18297. - description: 分支名称,ermcp:风管云平台 pingan:平安期货,不传默认返回风管云平台
  18298. in: query
  18299. name: name
  18300. type: string
  18301. produces:
  18302. - application/json
  18303. responses:
  18304. "200":
  18305. description: OK
  18306. schema:
  18307. items:
  18308. $ref: '#/definitions/common.ClientMenu'
  18309. type: array
  18310. "500":
  18311. description: Internal Server Error
  18312. schema:
  18313. $ref: '#/definitions/app.Response'
  18314. security:
  18315. - ApiKeyAuth: []
  18316. summary: 获取交易端菜单
  18317. tags:
  18318. - 通用服务
  18319. /Common/GetDivisions:
  18320. get:
  18321. produces:
  18322. - application/json
  18323. responses:
  18324. "200":
  18325. description: OK
  18326. schema:
  18327. $ref: '#/definitions/models.Division'
  18328. "500":
  18329. description: Internal Server Error
  18330. schema:
  18331. $ref: '#/definitions/app.Response'
  18332. summary: 查询区域信息
  18333. tags:
  18334. - 通用服务
  18335. /Common/GetServerTime:
  18336. get:
  18337. produces:
  18338. - application/json
  18339. responses:
  18340. "200":
  18341. description: OK
  18342. schema:
  18343. $ref: '#/definitions/app.Response'
  18344. "500":
  18345. description: Internal Server Error
  18346. schema:
  18347. $ref: '#/definitions/app.Response'
  18348. summary: 获取服务器时间
  18349. tags:
  18350. - 通用服务
  18351. /Common/NoticeReaded:
  18352. post:
  18353. parameters:
  18354. - description: 登录账号
  18355. in: query
  18356. name: loginID
  18357. required: true
  18358. type: integer
  18359. - description: 通知公告ID
  18360. in: query
  18361. name: noticeID
  18362. required: true
  18363. type: integer
  18364. produces:
  18365. - application/json
  18366. responses:
  18367. "200":
  18368. description: OK
  18369. schema:
  18370. $ref: '#/definitions/app.Response'
  18371. "500":
  18372. description: Internal Server Error
  18373. schema:
  18374. $ref: '#/definitions/app.Response'
  18375. security:
  18376. - ApiKeyAuth: []
  18377. summary: 通知公告设置已读请求
  18378. tags:
  18379. - 通用服务
  18380. /Common/QueryErrorInfos:
  18381. get:
  18382. description: 如果传入rowNumber,则返回此rowNumber后的数据
  18383. parameters:
  18384. - description: 起始行号前索引
  18385. in: query
  18386. name: rowNumber
  18387. type: string
  18388. produces:
  18389. - application/json
  18390. responses:
  18391. "200":
  18392. description: OK
  18393. schema:
  18394. $ref: '#/definitions/models.QueryErrorInfosRsp'
  18395. "500":
  18396. description: Internal Server Error
  18397. schema:
  18398. $ref: '#/definitions/app.Response'
  18399. summary: 获取数据库错误信息
  18400. tags:
  18401. - 通用服务
  18402. /Common/QueryImageConfigs:
  18403. get:
  18404. parameters:
  18405. - description: 用户id
  18406. in: query
  18407. name: userId
  18408. type: integer
  18409. - description: 类型 - 1:App首页轮播 2:我的
  18410. in: query
  18411. name: imageType
  18412. type: integer
  18413. produces:
  18414. - application/json
  18415. responses:
  18416. "200":
  18417. description: OK
  18418. schema:
  18419. $ref: '#/definitions/common.QueryImageConfigsRsp'
  18420. "500":
  18421. description: Internal Server Error
  18422. schema:
  18423. $ref: '#/definitions/app.Response'
  18424. summary: 查询轮播图配置信息
  18425. tags:
  18426. - 通用服务
  18427. /Common/QueryNotice:
  18428. get:
  18429. parameters:
  18430. - description: 页码
  18431. in: query
  18432. name: page
  18433. type: integer
  18434. - description: 每页条数
  18435. in: query
  18436. name: pagesize
  18437. type: integer
  18438. - description: 登录账号
  18439. in: query
  18440. name: loginID
  18441. required: true
  18442. type: integer
  18443. - description: 消息类型 - 1:公告通知 2:系统消息
  18444. in: query
  18445. name: msgType
  18446. type: integer
  18447. - description: 是否只获取未读信息
  18448. in: query
  18449. name: onlyUnRead
  18450. type: boolean
  18451. - description: 自增ID,传入后会返回这个ID后面的记录
  18452. in: query
  18453. name: lastID
  18454. type: integer
  18455. produces:
  18456. - application/json
  18457. responses:
  18458. "200":
  18459. description: OK
  18460. schema:
  18461. $ref: '#/definitions/common.QueryNoticeRsp'
  18462. "500":
  18463. description: Internal Server Error
  18464. schema:
  18465. $ref: '#/definitions/app.Response'
  18466. security:
  18467. - ApiKeyAuth: []
  18468. summary: 通知公告系统消息查询
  18469. tags:
  18470. - 通用服务
  18471. /Common/QueryProvincesAndCities:
  18472. get:
  18473. parameters:
  18474. - description: 省ID
  18475. in: query
  18476. name: provinceID
  18477. type: integer
  18478. produces:
  18479. - application/json
  18480. responses:
  18481. "200":
  18482. description: OK
  18483. schema:
  18484. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  18485. "500":
  18486. description: Internal Server Error
  18487. schema:
  18488. $ref: '#/definitions/app.Response'
  18489. summary: 查询省市信息(不包括区)
  18490. tags:
  18491. - 通用服务
  18492. /Common/QueryTableDefine:
  18493. get:
  18494. parameters:
  18495. - description: 表key
  18496. in: query
  18497. name: tableKey
  18498. type: string
  18499. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  18500. in: query
  18501. name: tableType
  18502. type: integer
  18503. produces:
  18504. - application/json
  18505. responses:
  18506. "200":
  18507. description: OK
  18508. schema:
  18509. $ref: '#/definitions/common.QueryTableDefineRsp'
  18510. "500":
  18511. description: Internal Server Error
  18512. schema:
  18513. $ref: '#/definitions/app.Response'
  18514. summary: 查询交易端列表头信息
  18515. tags:
  18516. - 通用服务
  18517. /Common/QueryTraderMenu:
  18518. get:
  18519. parameters:
  18520. - description: 登录账号
  18521. in: query
  18522. name: loginid
  18523. required: true
  18524. type: integer
  18525. produces:
  18526. - application/json
  18527. responses:
  18528. "200":
  18529. description: OK
  18530. schema:
  18531. $ref: '#/definitions/common.QueryTraderMenuRsp'
  18532. "500":
  18533. description: Internal Server Error
  18534. schema:
  18535. $ref: '#/definitions/app.Response'
  18536. summary: 查询交易端菜单
  18537. tags:
  18538. - 通用服务
  18539. /Delivery/QueryDeliveryRelation:
  18540. get:
  18541. parameters:
  18542. - description: 商品ID
  18543. in: query
  18544. name: goodsid
  18545. type: integer
  18546. - description: 品种ID
  18547. in: query
  18548. name: deliverygoodsid
  18549. type: integer
  18550. - description: 市场ID
  18551. in: query
  18552. name: marketid
  18553. type: integer
  18554. produces:
  18555. - application/json
  18556. responses:
  18557. "200":
  18558. description: OK
  18559. schema:
  18560. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  18561. "500":
  18562. description: Internal Server Error
  18563. schema:
  18564. $ref: '#/definitions/app.Response'
  18565. security:
  18566. - ApiKeyAuth: []
  18567. summary: 查询商品交割关系表
  18568. tags:
  18569. - 交割服务
  18570. /Ermcp/GetErmcpGoods:
  18571. get:
  18572. parameters:
  18573. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  18574. in: query
  18575. name: lastUpdateTime
  18576. type: string
  18577. produces:
  18578. - application/json
  18579. responses:
  18580. "200":
  18581. description: OK
  18582. schema:
  18583. $ref: '#/definitions/models.ErmcpGoods'
  18584. "500":
  18585. description: Internal Server Error
  18586. schema:
  18587. $ref: '#/definitions/app.Response'
  18588. security:
  18589. - ApiKeyAuth: []
  18590. summary: 查询企业风管期货商品信息
  18591. tags:
  18592. - 企业风险管理(app)
  18593. /Ermcp/GetErmcpGoodsSortByPosition:
  18594. get:
  18595. parameters:
  18596. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  18597. in: query
  18598. name: sortIndex
  18599. type: string
  18600. produces:
  18601. - application/json
  18602. responses:
  18603. "200":
  18604. description: OK
  18605. schema:
  18606. $ref: '#/definitions/models.Goodssortbypreposition'
  18607. "500":
  18608. description: Internal Server Error
  18609. schema:
  18610. $ref: '#/definitions/app.Response'
  18611. security:
  18612. - ApiKeyAuth: []
  18613. summary: 查询企业风管期货主力、次主力商品信息
  18614. tags:
  18615. - 企业风险管理(app)
  18616. /Ermcp/GetErmcpOutAccountStatus:
  18617. get:
  18618. parameters:
  18619. - description: 登录账号
  18620. in: query
  18621. name: loginID
  18622. required: true
  18623. type: integer
  18624. produces:
  18625. - application/json
  18626. responses:
  18627. "200":
  18628. description: OK
  18629. schema:
  18630. $ref: '#/definitions/models.Hedgemarketopenlog'
  18631. "500":
  18632. description: Internal Server Error
  18633. schema:
  18634. $ref: '#/definitions/app.Response'
  18635. security:
  18636. - ApiKeyAuth: []
  18637. summary: 获取目标登录账号当前对冲账号在线状态
  18638. tags:
  18639. - 企业风险管理(app)
  18640. /Ermcp/GetErmcpRoleFuncMenuLists:
  18641. get:
  18642. parameters:
  18643. - description: 登录账号
  18644. in: query
  18645. name: loginID
  18646. required: true
  18647. type: integer
  18648. produces:
  18649. - application/json
  18650. responses:
  18651. "200":
  18652. description: OK
  18653. schema:
  18654. $ref: '#/definitions/models.Funcmenulist'
  18655. "500":
  18656. description: Internal Server Error
  18657. schema:
  18658. $ref: '#/definitions/app.Response'
  18659. security:
  18660. - ApiKeyAuth: []
  18661. summary: 获取企业风管终端权限
  18662. tags:
  18663. - 企业风险管理(app)
  18664. /Ermcp/QueryAccMgrBizGroupSet:
  18665. get:
  18666. parameters:
  18667. - description: 用户ID
  18668. in: query
  18669. name: userid
  18670. required: true
  18671. type: integer
  18672. - description: 现货商品id
  18673. in: query
  18674. name: deliverygoodsid
  18675. type: integer
  18676. produces:
  18677. - application/json
  18678. responses:
  18679. "200":
  18680. description: OK
  18681. schema:
  18682. items:
  18683. $ref: '#/definitions/models.ErmcpBizGroupEx'
  18684. type: array
  18685. "500":
  18686. description: Internal Server Error
  18687. schema:
  18688. $ref: '#/definitions/app.Response'
  18689. security:
  18690. - ApiKeyAuth: []
  18691. summary: 查询业务类型分组(账户管理/账户设置)
  18692. tags:
  18693. - 企业风险管理(app)
  18694. /Ermcp/QueryAccMgrLoginUser:
  18695. get:
  18696. parameters:
  18697. - description: 用户ID
  18698. in: query
  18699. name: userid
  18700. required: true
  18701. type: integer
  18702. - description: 用户类型 2-机构 7-企业成员
  18703. in: query
  18704. name: usertype
  18705. type: integer
  18706. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  18707. in: query
  18708. name: querytype
  18709. required: true
  18710. type: integer
  18711. produces:
  18712. - application/json
  18713. responses:
  18714. "200":
  18715. description: OK
  18716. schema:
  18717. items:
  18718. $ref: '#/definitions/models.ErmcpLoginUserEx'
  18719. type: array
  18720. "500":
  18721. description: Internal Server Error
  18722. schema:
  18723. $ref: '#/definitions/app.Response'
  18724. security:
  18725. - ApiKeyAuth: []
  18726. summary: 查询账户管理登录账号(账户管理/登录账号)
  18727. tags:
  18728. - 企业风险管理(app)
  18729. /Ermcp/QueryAccMgrMainAccountInfo:
  18730. get:
  18731. parameters:
  18732. - description: 用户ID
  18733. in: query
  18734. name: userid
  18735. type: integer
  18736. - description: 主账号id
  18737. in: query
  18738. name: accountid
  18739. type: integer
  18740. produces:
  18741. - application/json
  18742. responses:
  18743. "200":
  18744. description: OK
  18745. schema:
  18746. items:
  18747. $ref: '#/definitions/models.MainAccountInfo'
  18748. type: array
  18749. "500":
  18750. description: Internal Server Error
  18751. schema:
  18752. $ref: '#/definitions/app.Response'
  18753. security:
  18754. - ApiKeyAuth: []
  18755. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  18756. tags:
  18757. - 企业风险管理(app)
  18758. /Ermcp/QueryAccMgrRole:
  18759. get:
  18760. parameters:
  18761. - description: 用户ID
  18762. in: query
  18763. name: userid
  18764. required: true
  18765. type: integer
  18766. produces:
  18767. - application/json
  18768. responses:
  18769. "200":
  18770. description: OK
  18771. schema:
  18772. items:
  18773. $ref: '#/definitions/models.ErmcpRole'
  18774. type: array
  18775. "500":
  18776. description: Internal Server Error
  18777. schema:
  18778. $ref: '#/definitions/app.Response'
  18779. security:
  18780. - ApiKeyAuth: []
  18781. summary: 查询账户管理角色设置(账户管理/角色设置)
  18782. tags:
  18783. - 企业风险管理(app)
  18784. /Ermcp/QueryAccMgrRoleMenu:
  18785. get:
  18786. parameters:
  18787. - description: 用户ID
  18788. in: query
  18789. name: userid
  18790. required: true
  18791. type: integer
  18792. - description: 角色id(可多个,逗号隔开)
  18793. in: query
  18794. name: roleid
  18795. type: string
  18796. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  18797. in: query
  18798. name: menutype
  18799. type: integer
  18800. produces:
  18801. - application/json
  18802. responses:
  18803. "200":
  18804. description: OK
  18805. schema:
  18806. items:
  18807. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  18808. type: array
  18809. "500":
  18810. description: Internal Server Error
  18811. schema:
  18812. $ref: '#/definitions/app.Response'
  18813. security:
  18814. - ApiKeyAuth: []
  18815. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  18816. tags:
  18817. - 企业风险管理(app)
  18818. /Ermcp/QueryAccMgrTaAccountInfo:
  18819. get:
  18820. parameters:
  18821. - description: 用户ID
  18822. in: query
  18823. name: userid
  18824. required: true
  18825. type: integer
  18826. - description: 账号id
  18827. in: query
  18828. name: accountid
  18829. type: integer
  18830. produces:
  18831. - application/json
  18832. responses:
  18833. "200":
  18834. description: OK
  18835. schema:
  18836. items:
  18837. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  18838. type: array
  18839. "500":
  18840. description: Internal Server Error
  18841. schema:
  18842. $ref: '#/definitions/app.Response'
  18843. security:
  18844. - ApiKeyAuth: []
  18845. summary: 查询账户管理授信(账户管理/账户设置/授信)
  18846. tags:
  18847. - 企业风险管理(app)
  18848. /Ermcp/QueryAccMgrTaaccount:
  18849. get:
  18850. parameters:
  18851. - description: 用户ID
  18852. in: query
  18853. name: userid
  18854. required: true
  18855. type: integer
  18856. produces:
  18857. - application/json
  18858. responses:
  18859. "200":
  18860. description: OK
  18861. schema:
  18862. items:
  18863. $ref: '#/definitions/models.ErmcpTaAccountEx'
  18864. type: array
  18865. "500":
  18866. description: Internal Server Error
  18867. schema:
  18868. $ref: '#/definitions/app.Response'
  18869. security:
  18870. - ApiKeyAuth: []
  18871. summary: 查询账户管理期货账号(账户管理/期货账号)
  18872. tags:
  18873. - 企业风险管理(app)
  18874. /Ermcp/QueryAvaildGoodsGroup:
  18875. get:
  18876. parameters:
  18877. - description: 所属机构ID
  18878. in: query
  18879. name: userid
  18880. required: true
  18881. type: integer
  18882. produces:
  18883. - application/json
  18884. responses:
  18885. "200":
  18886. description: OK
  18887. schema:
  18888. items:
  18889. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  18890. type: array
  18891. "500":
  18892. description: Internal Server Error
  18893. schema:
  18894. $ref: '#/definitions/app.Response'
  18895. security:
  18896. - ApiKeyAuth: []
  18897. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  18898. tags:
  18899. - 企业风险管理(app)
  18900. /Ermcp/QueryBusinessDj:
  18901. get:
  18902. parameters:
  18903. - description: 用户ID
  18904. in: query
  18905. name: UserId
  18906. required: true
  18907. type: integer
  18908. - description: 用户类型 2-机构 7-企业成员
  18909. in: query
  18910. name: usertype
  18911. type: integer
  18912. - description: 现货合同ID, 不填则查所有
  18913. in: query
  18914. name: relatedid
  18915. type: string
  18916. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  18917. in: query
  18918. name: applystatus
  18919. type: string
  18920. produces:
  18921. - application/json
  18922. responses:
  18923. "200":
  18924. description: OK
  18925. schema:
  18926. items:
  18927. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  18928. type: array
  18929. "500":
  18930. description: Internal Server Error
  18931. schema:
  18932. $ref: '#/definitions/app.Response'
  18933. security:
  18934. - ApiKeyAuth: []
  18935. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  18936. tags:
  18937. - 企业风险管理(app)
  18938. /Ermcp/QueryBusinessFp:
  18939. get:
  18940. parameters:
  18941. - description: 用户ID
  18942. in: query
  18943. name: UserId
  18944. required: true
  18945. type: integer
  18946. - description: 用户类型 2-机构 7-企业成员
  18947. in: query
  18948. name: usertype
  18949. type: integer
  18950. - description: 现货合同ID, 不填则查所有
  18951. in: query
  18952. name: relatedid
  18953. type: string
  18954. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  18955. in: query
  18956. name: applystatus
  18957. type: string
  18958. produces:
  18959. - application/json
  18960. responses:
  18961. "200":
  18962. description: OK
  18963. schema:
  18964. items:
  18965. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  18966. type: array
  18967. "500":
  18968. description: Internal Server Error
  18969. schema:
  18970. $ref: '#/definitions/app.Response'
  18971. security:
  18972. - ApiKeyAuth: []
  18973. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  18974. tags:
  18975. - 企业风险管理(app)
  18976. /Ermcp/QueryBusinessJs:
  18977. get:
  18978. parameters:
  18979. - description: 用户ID
  18980. in: query
  18981. name: UserId
  18982. required: true
  18983. type: integer
  18984. - description: 用户类型 2-机构 7-企业成员
  18985. in: query
  18986. name: usertype
  18987. type: integer
  18988. - description: 现货合同ID, 不填则查所有
  18989. in: query
  18990. name: relatedid
  18991. type: string
  18992. - description: 操作申请id
  18993. in: query
  18994. name: operateapplyid
  18995. type: string
  18996. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  18997. in: query
  18998. name: applystatus
  18999. type: string
  19000. produces:
  19001. - application/json
  19002. responses:
  19003. "200":
  19004. description: OK
  19005. schema:
  19006. items:
  19007. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  19008. type: array
  19009. "500":
  19010. description: Internal Server Error
  19011. schema:
  19012. $ref: '#/definitions/app.Response'
  19013. security:
  19014. - ApiKeyAuth: []
  19015. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  19016. tags:
  19017. - 企业风险管理(app)
  19018. /Ermcp/QueryBusinessJsEx:
  19019. get:
  19020. parameters:
  19021. - description: 用户ID
  19022. in: query
  19023. name: UserId
  19024. required: true
  19025. type: integer
  19026. - description: 用户类型 2-机构 7-企业成员
  19027. in: query
  19028. name: usertype
  19029. type: integer
  19030. - description: 现货合同ID, 不填则查所有
  19031. in: query
  19032. name: relatedid
  19033. type: string
  19034. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19035. in: query
  19036. name: applystatus
  19037. type: string
  19038. produces:
  19039. - application/json
  19040. responses:
  19041. "200":
  19042. description: OK
  19043. schema:
  19044. items:
  19045. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  19046. type: array
  19047. "500":
  19048. description: Internal Server Error
  19049. schema:
  19050. $ref: '#/definitions/app.Response'
  19051. security:
  19052. - ApiKeyAuth: []
  19053. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  19054. tags:
  19055. - 企业风险管理(app)
  19056. /Ermcp/QueryBusinessKx:
  19057. get:
  19058. parameters:
  19059. - description: 用户ID
  19060. in: query
  19061. name: UserId
  19062. required: true
  19063. type: integer
  19064. - description: 用户类型 2-机构 7-企业成员
  19065. in: query
  19066. name: usertype
  19067. type: integer
  19068. - description: 现货合同ID, 不填则查所有
  19069. in: query
  19070. name: relatedid
  19071. type: string
  19072. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19073. in: query
  19074. name: applystatus
  19075. type: string
  19076. produces:
  19077. - application/json
  19078. responses:
  19079. "200":
  19080. description: OK
  19081. schema:
  19082. items:
  19083. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  19084. type: array
  19085. "500":
  19086. description: Internal Server Error
  19087. schema:
  19088. $ref: '#/definitions/app.Response'
  19089. security:
  19090. - ApiKeyAuth: []
  19091. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  19092. tags:
  19093. - 企业风险管理(app)
  19094. /Ermcp/QueryChangeLog:
  19095. get:
  19096. parameters:
  19097. - description: 合同ID
  19098. in: query
  19099. name: RelatedId
  19100. required: true
  19101. type: string
  19102. produces:
  19103. - application/json
  19104. responses:
  19105. "200":
  19106. description: OK
  19107. schema:
  19108. items:
  19109. $ref: '#/definitions/ermcp.QryOPLogRsp'
  19110. type: array
  19111. "500":
  19112. description: Internal Server Error
  19113. schema:
  19114. $ref: '#/definitions/app.Response'
  19115. security:
  19116. - ApiKeyAuth: []
  19117. summary: 查询变更记录
  19118. tags:
  19119. - 企业风险管理(app)
  19120. /Ermcp/QueryErmcpHisOrderDetails:
  19121. get:
  19122. parameters:
  19123. - description: 资金账户ID
  19124. in: query
  19125. name: accountID
  19126. required: true
  19127. type: integer
  19128. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  19129. in: query
  19130. name: startDate
  19131. type: string
  19132. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  19133. in: query
  19134. name: endDate
  19135. type: string
  19136. produces:
  19137. - application/json
  19138. responses:
  19139. "200":
  19140. description: OK
  19141. schema:
  19142. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  19143. "500":
  19144. description: Internal Server Error
  19145. schema:
  19146. $ref: '#/definitions/app.Response'
  19147. security:
  19148. - ApiKeyAuth: []
  19149. summary: 获取企业风管期货历史委托单信息
  19150. tags:
  19151. - 企业风险管理(app)
  19152. /Ermcp/QueryErmcpHisTradeDetails:
  19153. get:
  19154. parameters:
  19155. - description: 资金账户ID
  19156. in: query
  19157. name: accountID
  19158. required: true
  19159. type: integer
  19160. - description: 商品ID
  19161. in: query
  19162. name: goodsID
  19163. type: integer
  19164. - description: 买卖方向,0:买 1:卖
  19165. in: query
  19166. name: buyOrSell
  19167. type: integer
  19168. - description: 关联委托单号
  19169. in: query
  19170. name: orderID
  19171. type: integer
  19172. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  19173. in: query
  19174. name: startDate
  19175. type: string
  19176. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  19177. in: query
  19178. name: endDate
  19179. type: string
  19180. produces:
  19181. - application/json
  19182. responses:
  19183. "200":
  19184. description: OK
  19185. schema:
  19186. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  19187. "500":
  19188. description: Internal Server Error
  19189. schema:
  19190. $ref: '#/definitions/app.Response'
  19191. security:
  19192. - ApiKeyAuth: []
  19193. summary: 获取企业风管期货历史成交单信息
  19194. tags:
  19195. - 企业风险管理(app)
  19196. /Ermcp/QueryErmcpInnerHolderDetails:
  19197. get:
  19198. parameters:
  19199. - description: 资金账户ID
  19200. in: query
  19201. name: accountID
  19202. required: true
  19203. type: integer
  19204. - description: 商品ID
  19205. in: query
  19206. name: goodsID
  19207. type: integer
  19208. - description: 买卖方向,0:买 1:卖
  19209. in: query
  19210. name: buyOrSell
  19211. type: integer
  19212. produces:
  19213. - application/json
  19214. responses:
  19215. "200":
  19216. description: OK
  19217. schema:
  19218. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  19219. "500":
  19220. description: Internal Server Error
  19221. schema:
  19222. $ref: '#/definitions/app.Response'
  19223. security:
  19224. - ApiKeyAuth: []
  19225. summary: 获取企业风管期货内部持仓单信息
  19226. tags:
  19227. - 企业风险管理(app)
  19228. /Ermcp/QueryErmcpOrderDetails:
  19229. get:
  19230. parameters:
  19231. - description: 资金账户ID
  19232. in: query
  19233. name: accountID
  19234. required: true
  19235. type: integer
  19236. produces:
  19237. - application/json
  19238. responses:
  19239. "200":
  19240. description: OK
  19241. schema:
  19242. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  19243. "500":
  19244. description: Internal Server Error
  19245. schema:
  19246. $ref: '#/definitions/app.Response'
  19247. security:
  19248. - ApiKeyAuth: []
  19249. summary: 获取企业风管期货委托单信息
  19250. tags:
  19251. - 企业风险管理(app)
  19252. /Ermcp/QueryErmcpTradeDetails:
  19253. get:
  19254. parameters:
  19255. - description: 资金账户ID
  19256. in: query
  19257. name: accountID
  19258. required: true
  19259. type: integer
  19260. - description: 商品ID
  19261. in: query
  19262. name: goodsID
  19263. type: integer
  19264. - description: 买卖方向,0:买 1:卖
  19265. in: query
  19266. name: buyOrSell
  19267. type: integer
  19268. - description: 关联委托单号
  19269. in: query
  19270. name: orderID
  19271. type: integer
  19272. produces:
  19273. - application/json
  19274. responses:
  19275. "200":
  19276. description: OK
  19277. schema:
  19278. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  19279. "500":
  19280. description: Internal Server Error
  19281. schema:
  19282. $ref: '#/definitions/app.Response'
  19283. security:
  19284. - ApiKeyAuth: []
  19285. summary: 获取企业风管期货成交单信息
  19286. tags:
  19287. - 企业风险管理(app)
  19288. /Ermcp/QueryErmcpTradePosition:
  19289. get:
  19290. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  19291. parameters:
  19292. - description: 资金账户ID
  19293. in: query
  19294. name: accountID
  19295. required: true
  19296. type: integer
  19297. - description: 所属市场ID
  19298. in: query
  19299. name: marketID
  19300. type: integer
  19301. produces:
  19302. - application/json
  19303. responses:
  19304. "200":
  19305. description: OK
  19306. schema:
  19307. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  19308. "500":
  19309. description: Internal Server Error
  19310. schema:
  19311. $ref: '#/definitions/app.Response'
  19312. security:
  19313. - ApiKeyAuth: []
  19314. summary: 获取企业风管期货持仓头寸信息
  19315. tags:
  19316. - 企业风险管理(app)
  19317. /Ermcp/QueryExposureDetail:
  19318. get:
  19319. parameters:
  19320. - description: 所属机构ID
  19321. in: query
  19322. name: areaUserId
  19323. required: true
  19324. type: integer
  19325. - description: 套保商品
  19326. in: query
  19327. name: middleGoodsId
  19328. required: true
  19329. type: integer
  19330. produces:
  19331. - application/json
  19332. responses:
  19333. "200":
  19334. description: OK
  19335. schema:
  19336. items:
  19337. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  19338. type: array
  19339. "500":
  19340. description: Internal Server Error
  19341. schema:
  19342. $ref: '#/definitions/app.Response'
  19343. security:
  19344. - ApiKeyAuth: []
  19345. summary: 查询敞口现货明细
  19346. tags:
  19347. - 企业风险管理(app)
  19348. /Ermcp/QueryExposureGoods:
  19349. get:
  19350. parameters:
  19351. - description: 套保商品id
  19352. in: query
  19353. name: middlegoodsid
  19354. required: true
  19355. type: integer
  19356. produces:
  19357. - application/json
  19358. responses:
  19359. "200":
  19360. description: OK
  19361. schema:
  19362. items:
  19363. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  19364. type: array
  19365. "500":
  19366. description: Internal Server Error
  19367. schema:
  19368. $ref: '#/definitions/app.Response'
  19369. security:
  19370. - ApiKeyAuth: []
  19371. summary: 查询敞口主力合约
  19372. tags:
  19373. - 企业风险管理(app)
  19374. /Ermcp/QueryExposureHedgePosition:
  19375. get:
  19376. parameters:
  19377. - description: 用户id
  19378. in: query
  19379. name: userid
  19380. required: true
  19381. type: integer
  19382. produces:
  19383. - application/json
  19384. responses:
  19385. "200":
  19386. description: OK
  19387. schema:
  19388. items:
  19389. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  19390. type: array
  19391. "500":
  19392. description: Internal Server Error
  19393. schema:
  19394. $ref: '#/definitions/app.Response'
  19395. security:
  19396. - ApiKeyAuth: []
  19397. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  19398. tags:
  19399. - 企业风险管理(app)
  19400. /Ermcp/QueryExposureHedgePositionDetail:
  19401. get:
  19402. parameters:
  19403. - description: 所属机构ID
  19404. in: query
  19405. name: userid
  19406. required: true
  19407. type: integer
  19408. - description: 商品id
  19409. in: query
  19410. name: goodsId
  19411. required: true
  19412. type: integer
  19413. produces:
  19414. - application/json
  19415. responses:
  19416. "200":
  19417. description: OK
  19418. schema:
  19419. items:
  19420. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  19421. type: array
  19422. "500":
  19423. description: Internal Server Error
  19424. schema:
  19425. $ref: '#/definitions/app.Response'
  19426. security:
  19427. - ApiKeyAuth: []
  19428. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  19429. tags:
  19430. - 企业风险管理(app)
  19431. /Ermcp/QueryExposureSpot:
  19432. get:
  19433. parameters:
  19434. - description: 所属机构ID
  19435. in: query
  19436. name: areaUserId
  19437. required: true
  19438. type: integer
  19439. produces:
  19440. - application/json
  19441. responses:
  19442. "200":
  19443. description: OK
  19444. schema:
  19445. items:
  19446. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  19447. type: array
  19448. "500":
  19449. description: Internal Server Error
  19450. schema:
  19451. $ref: '#/definitions/app.Response'
  19452. security:
  19453. - ApiKeyAuth: []
  19454. summary: 查询敞口现货头寸(敞口/现货头寸)
  19455. tags:
  19456. - 企业风险管理(app)
  19457. /Ermcp/QueryExposureSpotDetail:
  19458. get:
  19459. parameters:
  19460. - description: 所属机构ID
  19461. in: query
  19462. name: areaUserId
  19463. required: true
  19464. type: integer
  19465. - description: 现货品种ID
  19466. in: query
  19467. name: wrstandardId
  19468. required: true
  19469. type: integer
  19470. produces:
  19471. - application/json
  19472. responses:
  19473. "200":
  19474. description: OK
  19475. schema:
  19476. items:
  19477. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  19478. type: array
  19479. "500":
  19480. description: Internal Server Error
  19481. schema:
  19482. $ref: '#/definitions/app.Response'
  19483. security:
  19484. - ApiKeyAuth: []
  19485. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  19486. tags:
  19487. - 企业风险管理(app)
  19488. /Ermcp/QueryFuturesCompany:
  19489. get:
  19490. produces:
  19491. - application/json
  19492. responses:
  19493. "200":
  19494. description: OK
  19495. schema:
  19496. items:
  19497. $ref: '#/definitions/models.ErmcpFuturesCompany'
  19498. type: array
  19499. "500":
  19500. description: Internal Server Error
  19501. schema:
  19502. $ref: '#/definitions/app.Response'
  19503. security:
  19504. - ApiKeyAuth: []
  19505. summary: 查询期货公司
  19506. tags:
  19507. - 企业风险管理(app)
  19508. /Ermcp/QueryGGConvertConfig:
  19509. get:
  19510. parameters:
  19511. - description: 品种id(不填则查所有)
  19512. in: query
  19513. name: goodsgroupid
  19514. type: integer
  19515. produces:
  19516. - application/json
  19517. responses:
  19518. "200":
  19519. description: OK
  19520. schema:
  19521. items:
  19522. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  19523. type: array
  19524. "500":
  19525. description: Internal Server Error
  19526. schema:
  19527. $ref: '#/definitions/app.Response'
  19528. security:
  19529. - ApiKeyAuth: []
  19530. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  19531. tags:
  19532. - 企业风险管理(app)
  19533. /Ermcp/QueryGoodsBrand:
  19534. get:
  19535. parameters:
  19536. - description: 用户ID
  19537. in: query
  19538. name: userid
  19539. required: true
  19540. type: integer
  19541. - description: 现货商品ID
  19542. in: query
  19543. name: wrstandardid
  19544. type: integer
  19545. produces:
  19546. - application/json
  19547. responses:
  19548. "200":
  19549. description: OK
  19550. schema:
  19551. items:
  19552. $ref: '#/definitions/models.ErmcpGoodsBrand'
  19553. type: array
  19554. "500":
  19555. description: Internal Server Error
  19556. schema:
  19557. $ref: '#/definitions/app.Response'
  19558. security:
  19559. - ApiKeyAuth: []
  19560. summary: 查询商品品牌
  19561. tags:
  19562. - 企业风险管理(app)
  19563. /Ermcp/QueryGoodsModel:
  19564. get:
  19565. parameters:
  19566. - description: 用户ID
  19567. in: query
  19568. name: userid
  19569. required: true
  19570. type: integer
  19571. produces:
  19572. - application/json
  19573. responses:
  19574. "200":
  19575. description: OK
  19576. schema:
  19577. items:
  19578. $ref: '#/definitions/models.ErmcpGoodsModel'
  19579. type: array
  19580. "500":
  19581. description: Internal Server Error
  19582. schema:
  19583. $ref: '#/definitions/app.Response'
  19584. security:
  19585. - ApiKeyAuth: []
  19586. summary: 查询商品型号
  19587. tags:
  19588. - 企业风险管理(app)
  19589. /Ermcp/QueryHisExposure:
  19590. get:
  19591. parameters:
  19592. - description: 用户id
  19593. in: query
  19594. name: userid
  19595. required: true
  19596. type: integer
  19597. - description: 每个品种记录数
  19598. in: query
  19599. name: lastNum
  19600. required: true
  19601. type: integer
  19602. produces:
  19603. - application/json
  19604. responses:
  19605. "200":
  19606. description: OK
  19607. schema:
  19608. items:
  19609. $ref: '#/definitions/ermcp.HisExposureRsp'
  19610. type: array
  19611. "500":
  19612. description: Internal Server Error
  19613. schema:
  19614. $ref: '#/definitions/app.Response'
  19615. security:
  19616. - ApiKeyAuth: []
  19617. summary: 查询历史敞口(菜单:敞口/历史敞口)
  19618. tags:
  19619. - 企业风险管理(app)
  19620. /Ermcp/QueryMiddleGoods:
  19621. get:
  19622. parameters:
  19623. - description: 所属机构ID
  19624. in: query
  19625. name: userid
  19626. required: true
  19627. type: integer
  19628. - description: 状态 0-停用 1-正常
  19629. in: query
  19630. name: status
  19631. required: true
  19632. type: integer
  19633. produces:
  19634. - application/json
  19635. responses:
  19636. "200":
  19637. description: OK
  19638. schema:
  19639. items:
  19640. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  19641. type: array
  19642. "500":
  19643. description: Internal Server Error
  19644. schema:
  19645. $ref: '#/definitions/app.Response'
  19646. security:
  19647. - ApiKeyAuth: []
  19648. summary: 查询套保品种(菜单:套保品种)
  19649. tags:
  19650. - 企业风险管理(app)
  19651. /Ermcp/QueryMiddleGoodsChangeLog:
  19652. get:
  19653. parameters:
  19654. - description: 所属机构ID
  19655. in: query
  19656. name: userid
  19657. required: true
  19658. type: integer
  19659. - description: 套保品种id
  19660. in: query
  19661. name: middlegoodsid
  19662. required: true
  19663. type: integer
  19664. produces:
  19665. - application/json
  19666. responses:
  19667. "200":
  19668. description: OK
  19669. schema:
  19670. items:
  19671. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  19672. type: array
  19673. "500":
  19674. description: Internal Server Error
  19675. schema:
  19676. $ref: '#/definitions/app.Response'
  19677. security:
  19678. - ApiKeyAuth: []
  19679. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  19680. tags:
  19681. - 企业风险管理(app)
  19682. /Ermcp/QueryMiddleGoodsDetail:
  19683. get:
  19684. parameters:
  19685. - description: 所属机构ID
  19686. in: query
  19687. name: userid
  19688. required: true
  19689. type: integer
  19690. - description: 套保品种id
  19691. in: query
  19692. name: middlegoodsid
  19693. type: integer
  19694. produces:
  19695. - application/json
  19696. responses:
  19697. "200":
  19698. description: OK
  19699. schema:
  19700. items:
  19701. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  19702. type: array
  19703. "500":
  19704. description: Internal Server Error
  19705. schema:
  19706. $ref: '#/definitions/app.Response'
  19707. security:
  19708. - ApiKeyAuth: []
  19709. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  19710. tags:
  19711. - 企业风险管理(app)
  19712. /Ermcp/QueryPendingAuditInfo:
  19713. get:
  19714. parameters:
  19715. - description: 用户ID
  19716. in: query
  19717. name: UserId
  19718. required: true
  19719. type: integer
  19720. produces:
  19721. - application/json
  19722. responses:
  19723. "200":
  19724. description: OK
  19725. schema:
  19726. items:
  19727. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  19728. type: array
  19729. "500":
  19730. description: Internal Server Error
  19731. schema:
  19732. $ref: '#/definitions/app.Response'
  19733. security:
  19734. - ApiKeyAuth: []
  19735. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  19736. tags:
  19737. - 企业风险管理(app)
  19738. /Ermcp/QueryRealtimeExposure:
  19739. get:
  19740. parameters:
  19741. - description: 所属机构ID
  19742. in: query
  19743. name: userid
  19744. required: true
  19745. type: integer
  19746. produces:
  19747. - application/json
  19748. responses:
  19749. "200":
  19750. description: OK
  19751. schema:
  19752. items:
  19753. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  19754. type: array
  19755. "500":
  19756. description: Internal Server Error
  19757. schema:
  19758. $ref: '#/definitions/app.Response'
  19759. security:
  19760. - ApiKeyAuth: []
  19761. summary: 查询实时敞口
  19762. tags:
  19763. - 企业风险管理(app)
  19764. /Ermcp/QueryRealtimeExposurePosition:
  19765. get:
  19766. parameters:
  19767. - description: 用户id
  19768. in: query
  19769. name: userid
  19770. required: true
  19771. type: integer
  19772. - description: 套保商品ID
  19773. in: query
  19774. name: middleGoodsId
  19775. required: true
  19776. type: integer
  19777. produces:
  19778. - application/json
  19779. responses:
  19780. "200":
  19781. description: OK
  19782. schema:
  19783. items:
  19784. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  19785. type: array
  19786. "500":
  19787. description: Internal Server Error
  19788. schema:
  19789. $ref: '#/definitions/app.Response'
  19790. security:
  19791. - ApiKeyAuth: []
  19792. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  19793. tags:
  19794. - 企业风险管理(app)
  19795. /Ermcp/QueryRoleMenu:
  19796. get:
  19797. parameters:
  19798. - description: 登录ID
  19799. in: query
  19800. name: loginid
  19801. required: true
  19802. type: integer
  19803. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  19804. in: query
  19805. name: menutype
  19806. type: integer
  19807. produces:
  19808. - application/json
  19809. responses:
  19810. "200":
  19811. description: OK
  19812. schema:
  19813. items:
  19814. $ref: '#/definitions/models.RoleMenu'
  19815. type: array
  19816. "500":
  19817. description: Internal Server Error
  19818. schema:
  19819. $ref: '#/definitions/app.Response'
  19820. security:
  19821. - ApiKeyAuth: []
  19822. summary: 查询角色菜单和权限
  19823. tags:
  19824. - 企业风险管理(app)
  19825. /Ermcp/QueryTradeConfigTMP:
  19826. get:
  19827. parameters:
  19828. - description: 所属机构id
  19829. in: query
  19830. name: areauserid
  19831. type: integer
  19832. produces:
  19833. - application/json
  19834. responses:
  19835. "200":
  19836. description: OK
  19837. schema:
  19838. items:
  19839. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  19840. type: array
  19841. "500":
  19842. description: Internal Server Error
  19843. schema:
  19844. $ref: '#/definitions/app.Response'
  19845. security:
  19846. - ApiKeyAuth: []
  19847. summary: 查询交易模板配置
  19848. tags:
  19849. - 企业风险管理(app)
  19850. /Ermcp/QueryUserInfo:
  19851. get:
  19852. parameters:
  19853. - description: 所属机构用户ID
  19854. in: query
  19855. name: MemberUserID
  19856. required: true
  19857. type: integer
  19858. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  19859. in: query
  19860. name: queryType
  19861. required: true
  19862. type: integer
  19863. produces:
  19864. - application/json
  19865. responses:
  19866. "200":
  19867. description: OK
  19868. schema:
  19869. items:
  19870. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  19871. type: array
  19872. "500":
  19873. description: Internal Server Error
  19874. schema:
  19875. $ref: '#/definitions/app.Response'
  19876. security:
  19877. - ApiKeyAuth: []
  19878. summary: 查询客户资料
  19879. tags:
  19880. - 企业风险管理(app)
  19881. /Ermcp/QueryWarehouseInfo:
  19882. get:
  19883. parameters:
  19884. - description: 用户ID
  19885. in: query
  19886. name: userid
  19887. required: true
  19888. type: integer
  19889. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  19890. in: query
  19891. name: status
  19892. type: string
  19893. produces:
  19894. - application/json
  19895. responses:
  19896. "200":
  19897. description: OK
  19898. schema:
  19899. items:
  19900. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  19901. type: array
  19902. "500":
  19903. description: Internal Server Error
  19904. schema:
  19905. $ref: '#/definitions/app.Response'
  19906. security:
  19907. - ApiKeyAuth: []
  19908. summary: 查询仓库信息
  19909. tags:
  19910. - 企业风险管理(app)
  19911. /Ermcp3/QryAreaExpourseContractDetail:
  19912. get:
  19913. parameters:
  19914. - description: 用户ID
  19915. in: query
  19916. name: userid
  19917. required: true
  19918. type: integer
  19919. - description: 套保商品id
  19920. in: query
  19921. name: middlegoodsid
  19922. required: true
  19923. type: integer
  19924. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19925. in: query
  19926. name: cycletype
  19927. required: true
  19928. type: integer
  19929. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19930. 全(0)【原值】
  19931. in: query
  19932. name: cycletime
  19933. required: true
  19934. type: string
  19935. produces:
  19936. - application/json
  19937. responses:
  19938. "200":
  19939. description: OK
  19940. schema:
  19941. items:
  19942. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  19943. type: array
  19944. "500":
  19945. description: Internal Server Error
  19946. schema:
  19947. $ref: '#/definitions/app.Response'
  19948. security:
  19949. - ApiKeyAuth: []
  19950. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  19951. tags:
  19952. - 企业风险管理v3(app)
  19953. /Ermcp3/QryAreaExpourseFutuDetail:
  19954. get:
  19955. parameters:
  19956. - description: 用户ID
  19957. in: query
  19958. name: userid
  19959. required: true
  19960. type: integer
  19961. - description: 套保商品id
  19962. in: query
  19963. name: middlegoodsid
  19964. required: true
  19965. type: integer
  19966. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19967. in: query
  19968. name: cycletype
  19969. required: true
  19970. type: integer
  19971. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19972. 全(0)【原值】
  19973. in: query
  19974. name: cycletime
  19975. required: true
  19976. type: string
  19977. produces:
  19978. - application/json
  19979. responses:
  19980. "200":
  19981. description: OK
  19982. schema:
  19983. items:
  19984. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  19985. type: array
  19986. "500":
  19987. description: Internal Server Error
  19988. schema:
  19989. $ref: '#/definitions/app.Response'
  19990. security:
  19991. - ApiKeyAuth: []
  19992. summary: 查询敞口期货明细(敞口报表/期货明细)
  19993. tags:
  19994. - 企业风险管理v3(app)
  19995. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  19996. get:
  19997. parameters:
  19998. - description: 用户ID
  19999. in: query
  20000. name: userid
  20001. required: true
  20002. type: integer
  20003. - description: 套保商品id
  20004. in: query
  20005. name: middlegoodsid
  20006. required: true
  20007. type: integer
  20008. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20009. in: query
  20010. name: cycletype
  20011. required: true
  20012. type: integer
  20013. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  20014. 全(0)【原值】
  20015. in: query
  20016. name: cycletime
  20017. required: true
  20018. type: string
  20019. produces:
  20020. - application/json
  20021. responses:
  20022. "200":
  20023. description: OK
  20024. schema:
  20025. items:
  20026. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  20027. type: array
  20028. "500":
  20029. description: Internal Server Error
  20030. schema:
  20031. $ref: '#/definitions/app.Response'
  20032. security:
  20033. - ApiKeyAuth: []
  20034. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  20035. tags:
  20036. - 企业风险管理v3(app)
  20037. /Ermcp3/QryAreaExpourseParamChLogDetail:
  20038. get:
  20039. parameters:
  20040. - description: 用户ID
  20041. in: query
  20042. name: userid
  20043. required: true
  20044. type: integer
  20045. - description: 套保商品id
  20046. in: query
  20047. name: middlegoodsid
  20048. required: true
  20049. type: integer
  20050. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20051. in: query
  20052. name: cycletype
  20053. required: true
  20054. type: integer
  20055. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  20056. 全(0)【原值】
  20057. in: query
  20058. name: cycletime
  20059. required: true
  20060. type: string
  20061. produces:
  20062. - application/json
  20063. responses:
  20064. "200":
  20065. description: OK
  20066. schema:
  20067. items:
  20068. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  20069. type: array
  20070. "500":
  20071. description: Internal Server Error
  20072. schema:
  20073. $ref: '#/definitions/app.Response'
  20074. security:
  20075. - ApiKeyAuth: []
  20076. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  20077. tags:
  20078. - 企业风险管理v3(app)
  20079. /Ermcp3/QryAreaExpourseReport:
  20080. get:
  20081. parameters:
  20082. - description: 用户ID
  20083. in: query
  20084. name: userid
  20085. required: true
  20086. type: integer
  20087. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  20088. in: query
  20089. name: querytype
  20090. required: true
  20091. type: integer
  20092. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20093. in: query
  20094. name: cycletype
  20095. required: true
  20096. type: integer
  20097. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  20098. 全(0)【原值】
  20099. in: query
  20100. name: cycletime
  20101. required: true
  20102. type: string
  20103. produces:
  20104. - application/json
  20105. responses:
  20106. "200":
  20107. description: OK
  20108. schema:
  20109. items:
  20110. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  20111. type: array
  20112. "500":
  20113. description: Internal Server Error
  20114. schema:
  20115. $ref: '#/definitions/app.Response'
  20116. security:
  20117. - ApiKeyAuth: []
  20118. summary: 查询敞口报表
  20119. tags:
  20120. - 企业风险管理v3(app)
  20121. /Ermcp3/QryAreaSpotplReport:
  20122. get:
  20123. parameters:
  20124. - description: 用户ID
  20125. in: query
  20126. name: userid
  20127. required: true
  20128. type: integer
  20129. - description: 查询类型 1-报表 2-报表明细
  20130. in: query
  20131. name: querytype
  20132. required: true
  20133. type: integer
  20134. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20135. in: query
  20136. name: cycletype
  20137. required: true
  20138. type: integer
  20139. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  20140. 全(0)【原值】
  20141. in: query
  20142. name: cycletime
  20143. required: true
  20144. type: string
  20145. - description: 现货品种id(明细必填)
  20146. in: query
  20147. name: deliverygoodsid
  20148. type: integer
  20149. - description: 币种id(明细必填)
  20150. in: query
  20151. name: currencyid
  20152. type: integer
  20153. produces:
  20154. - application/json
  20155. responses:
  20156. "200":
  20157. description: OK
  20158. schema:
  20159. items:
  20160. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  20161. type: array
  20162. "500":
  20163. description: Internal Server Error
  20164. schema:
  20165. $ref: '#/definitions/app.Response'
  20166. security:
  20167. - ApiKeyAuth: []
  20168. summary: 查询现货报表
  20169. tags:
  20170. - 企业风险管理v3(app)
  20171. /Ermcp3/QryAreaStockReport:
  20172. get:
  20173. parameters:
  20174. - description: 用户ID
  20175. in: query
  20176. name: userid
  20177. required: true
  20178. type: integer
  20179. - description: 查询类型 1-报表 2-报表明细
  20180. in: query
  20181. name: querytype
  20182. required: true
  20183. type: integer
  20184. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20185. in: query
  20186. name: cycletype
  20187. required: true
  20188. type: integer
  20189. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  20190. 全(0)【原值】
  20191. in: query
  20192. name: cycletime
  20193. required: true
  20194. type: string
  20195. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  20196. in: query
  20197. name: sumfields
  20198. type: string
  20199. - description: 品种ID
  20200. in: query
  20201. name: deliverygoodsid
  20202. type: integer
  20203. - description: 品类ID
  20204. in: query
  20205. name: wrstandardid
  20206. type: integer
  20207. - description: 品牌ID
  20208. in: query
  20209. name: spotgoodsbrandid
  20210. type: integer
  20211. - description: 仓库ID
  20212. in: query
  20213. name: warehouseinfoid
  20214. type: integer
  20215. produces:
  20216. - application/json
  20217. responses:
  20218. "200":
  20219. description: OK
  20220. schema:
  20221. items:
  20222. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  20223. type: array
  20224. "500":
  20225. description: Internal Server Error
  20226. schema:
  20227. $ref: '#/definitions/app.Response'
  20228. security:
  20229. - ApiKeyAuth: []
  20230. summary: 查询库存报表
  20231. tags:
  20232. - 企业风险管理v3(app)
  20233. /Ermcp3/QryAreaSumPL:
  20234. get:
  20235. parameters:
  20236. - description: 用户ID
  20237. in: query
  20238. name: userid
  20239. required: true
  20240. type: integer
  20241. - description: 查询类型 1-报表 2-报表明细
  20242. in: query
  20243. name: querytype
  20244. required: true
  20245. type: integer
  20246. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20247. in: query
  20248. name: cycletype
  20249. required: true
  20250. type: integer
  20251. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  20252. 全(0)【原值】
  20253. in: query
  20254. name: cycletime
  20255. required: true
  20256. type: string
  20257. - description: 币种id(明细必填)
  20258. in: query
  20259. name: currencyid
  20260. type: integer
  20261. produces:
  20262. - application/json
  20263. responses:
  20264. "200":
  20265. description: OK
  20266. schema:
  20267. items:
  20268. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  20269. type: array
  20270. "500":
  20271. description: Internal Server Error
  20272. schema:
  20273. $ref: '#/definitions/app.Response'
  20274. security:
  20275. - ApiKeyAuth: []
  20276. summary: 查询汇总损益表
  20277. tags:
  20278. - 企业风险管理v3(app)
  20279. /Ermcp3/QryFinanceReport:
  20280. get:
  20281. parameters:
  20282. - description: 用户ID
  20283. in: query
  20284. name: userid
  20285. required: true
  20286. type: integer
  20287. - description: 查询类型 1-报表 2-报表明细
  20288. in: query
  20289. name: querytype
  20290. required: true
  20291. type: integer
  20292. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20293. in: query
  20294. name: cycletype
  20295. required: true
  20296. type: integer
  20297. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  20298. 全(0)【原值】
  20299. in: query
  20300. name: cycletime
  20301. required: true
  20302. type: string
  20303. - description: 币种id(报表明细必填)
  20304. in: query
  20305. name: currencyid
  20306. type: integer
  20307. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  20308. in: query
  20309. name: sumfields
  20310. type: string
  20311. produces:
  20312. - application/json
  20313. responses:
  20314. "200":
  20315. description: OK
  20316. schema:
  20317. items:
  20318. $ref: '#/definitions/models.Ermcp3FinanceReport'
  20319. type: array
  20320. "500":
  20321. description: Internal Server Error
  20322. schema:
  20323. $ref: '#/definitions/app.Response'
  20324. security:
  20325. - ApiKeyAuth: []
  20326. summary: 查询财务报表
  20327. tags:
  20328. - 企业风险管理v3(app)
  20329. /Ermcp3/QryTaFutureDataReport:
  20330. get:
  20331. parameters:
  20332. - description: 用户ID
  20333. in: query
  20334. name: userid
  20335. required: true
  20336. type: integer
  20337. - description: 查询类型 1-报表 2-报表明细
  20338. in: query
  20339. name: querytype
  20340. required: true
  20341. type: integer
  20342. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20343. in: query
  20344. name: cycletype
  20345. required: true
  20346. type: integer
  20347. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  20348. 全(0)【原值】
  20349. in: query
  20350. name: cycletime
  20351. required: true
  20352. type: string
  20353. - description: 币种id(查明细必填)
  20354. in: query
  20355. name: currencyid
  20356. type: integer
  20357. - description: 品种id(查明细必填)
  20358. in: query
  20359. name: goodsgroupid
  20360. type: integer
  20361. - description: 商品id(查明细必填)
  20362. in: query
  20363. name: goodsid
  20364. type: integer
  20365. - description: 买卖方向(查明细必填)
  20366. in: query
  20367. name: buyorsell
  20368. type: integer
  20369. produces:
  20370. - application/json
  20371. responses:
  20372. "200":
  20373. description: OK
  20374. schema:
  20375. items:
  20376. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  20377. type: array
  20378. "500":
  20379. description: Internal Server Error
  20380. schema:
  20381. $ref: '#/definitions/app.Response'
  20382. security:
  20383. - ApiKeyAuth: []
  20384. summary: 查询期货报表
  20385. tags:
  20386. - 企业风险管理v3(app)
  20387. /Ermcp3/QueryAreaStock:
  20388. get:
  20389. parameters:
  20390. - description: 用户ID
  20391. in: query
  20392. name: userid
  20393. required: true
  20394. type: integer
  20395. produces:
  20396. - application/json
  20397. responses:
  20398. "200":
  20399. description: OK
  20400. schema:
  20401. items:
  20402. $ref: '#/definitions/models.Ermcp3AreaStock'
  20403. type: array
  20404. "500":
  20405. description: Internal Server Error
  20406. schema:
  20407. $ref: '#/definitions/app.Response'
  20408. security:
  20409. - ApiKeyAuth: []
  20410. summary: 查询机构库存(库存管理/当前库存)
  20411. tags:
  20412. - 企业风险管理v3(app)
  20413. /Ermcp3/QueryAreaStockApply:
  20414. get:
  20415. parameters:
  20416. - description: 用户ID
  20417. in: query
  20418. name: userid
  20419. required: true
  20420. type: integer
  20421. - description: 用户类型 2-机构 7-企业成员
  20422. in: query
  20423. name: usertype
  20424. type: integer
  20425. - description: 现货商品ID
  20426. in: query
  20427. name: deliverygoodsid
  20428. type: integer
  20429. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  20430. in: query
  20431. name: inouttype
  20432. type: string
  20433. - description: 合同ID
  20434. in: query
  20435. name: spotcontractid
  20436. type: integer
  20437. - description: 品类ID
  20438. in: query
  20439. name: wrstandardid
  20440. type: integer
  20441. - description: 品牌ID
  20442. in: query
  20443. name: spotgoodsbrandid
  20444. type: integer
  20445. - description: 仓库ID
  20446. in: query
  20447. name: warehouseinfoid
  20448. type: integer
  20449. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20450. in: query
  20451. name: applystatus
  20452. type: string
  20453. produces:
  20454. - application/json
  20455. responses:
  20456. "200":
  20457. description: OK
  20458. schema:
  20459. items:
  20460. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  20461. type: array
  20462. "500":
  20463. description: Internal Server Error
  20464. schema:
  20465. $ref: '#/definitions/app.Response'
  20466. security:
  20467. - ApiKeyAuth: []
  20468. summary: 查询库存申请(出入库记录|库存审核)
  20469. tags:
  20470. - 企业风险管理v3(app)
  20471. /Ermcp3/QueryAreaStockApplySum:
  20472. get:
  20473. parameters:
  20474. - description: 合同ID
  20475. in: query
  20476. name: spotcontractid
  20477. required: true
  20478. type: integer
  20479. produces:
  20480. - application/json
  20481. responses:
  20482. "200":
  20483. description: OK
  20484. schema:
  20485. items:
  20486. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  20487. type: array
  20488. "500":
  20489. description: Internal Server Error
  20490. schema:
  20491. $ref: '#/definitions/app.Response'
  20492. security:
  20493. - ApiKeyAuth: []
  20494. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  20495. tags:
  20496. - 企业风险管理v3(app)
  20497. /Ermcp3/QueryDGFactoryItem:
  20498. get:
  20499. parameters:
  20500. - description: 用户id
  20501. in: query
  20502. name: userid
  20503. type: integer
  20504. - description: 用户类型 2-机构 7-企业成员
  20505. in: query
  20506. name: usertype
  20507. type: integer
  20508. - description: 选择项ID(SEQ_DGFACTORYITEM)
  20509. in: query
  20510. name: dgfactoryitemid
  20511. type: integer
  20512. - description: 现货品种ID
  20513. in: query
  20514. name: deliverygoodsid
  20515. type: integer
  20516. - description: 要素项类型
  20517. in: query
  20518. name: dgfactoryitemtypeid
  20519. type: integer
  20520. - description: 顺序
  20521. in: query
  20522. name: orderindex
  20523. type: integer
  20524. produces:
  20525. - application/json
  20526. responses:
  20527. "200":
  20528. description: OK
  20529. schema:
  20530. items:
  20531. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  20532. type: array
  20533. "500":
  20534. description: Internal Server Error
  20535. schema:
  20536. $ref: '#/definitions/app.Response'
  20537. security:
  20538. - ApiKeyAuth: []
  20539. summary: 查询品种要素定义项
  20540. tags:
  20541. - 企业风险管理v3(app)
  20542. /Ermcp3/QueryDeliveryGoods:
  20543. get:
  20544. parameters:
  20545. - description: 用户id
  20546. in: query
  20547. name: userid
  20548. required: true
  20549. type: integer
  20550. - description: 用户类型 2-机构 7-企业成员
  20551. in: query
  20552. name: usertype
  20553. type: integer
  20554. - description: 排除已配置的业务类型商品 1-套保 2-套利
  20555. in: query
  20556. name: excludecfg
  20557. type: integer
  20558. produces:
  20559. - application/json
  20560. responses:
  20561. "200":
  20562. description: OK
  20563. schema:
  20564. items:
  20565. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  20566. type: array
  20567. "500":
  20568. description: Internal Server Error
  20569. schema:
  20570. $ref: '#/definitions/app.Response'
  20571. security:
  20572. - ApiKeyAuth: []
  20573. summary: 查询现货商品
  20574. tags:
  20575. - 企业风险管理v3(app)
  20576. /Ermcp3/QueryDeliveryGoodsDetail:
  20577. get:
  20578. parameters:
  20579. - description: 用户id
  20580. in: query
  20581. name: userid
  20582. required: true
  20583. type: integer
  20584. - description: 用户类型 2-机构 7-企业成员
  20585. in: query
  20586. name: usertype
  20587. type: integer
  20588. - description: 现货商品id
  20589. in: query
  20590. name: deliverygoodsid
  20591. type: integer
  20592. produces:
  20593. - application/json
  20594. responses:
  20595. "200":
  20596. description: OK
  20597. schema:
  20598. items:
  20599. $ref: '#/definitions/models.XHDeliveryGoods'
  20600. type: array
  20601. "500":
  20602. description: Internal Server Error
  20603. schema:
  20604. $ref: '#/definitions/app.Response'
  20605. security:
  20606. - ApiKeyAuth: []
  20607. summary: 查询现货商品详情
  20608. tags:
  20609. - 企业风险管理v3(app)
  20610. /Ermcp3/QueryExposureDetail:
  20611. get:
  20612. parameters:
  20613. - description: 用户id
  20614. in: query
  20615. name: userid
  20616. required: true
  20617. type: integer
  20618. - description: 用户类型 2-机构 7-企业成员
  20619. in: query
  20620. name: usertype
  20621. type: integer
  20622. - description: 套保商品
  20623. in: query
  20624. name: middlegoodsid
  20625. required: true
  20626. type: integer
  20627. produces:
  20628. - application/json
  20629. responses:
  20630. "200":
  20631. description: OK
  20632. schema:
  20633. items:
  20634. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  20635. type: array
  20636. "500":
  20637. description: Internal Server Error
  20638. schema:
  20639. $ref: '#/definitions/app.Response'
  20640. security:
  20641. - ApiKeyAuth: []
  20642. summary: 查询敞口现货明细
  20643. tags:
  20644. - 企业风险管理v3(app)
  20645. /Ermcp3/QueryExposureSpot:
  20646. get:
  20647. parameters:
  20648. - description: 用户id
  20649. in: query
  20650. name: userid
  20651. required: true
  20652. type: integer
  20653. - description: 用户类型 2-机构 7-企业成员
  20654. in: query
  20655. name: usertype
  20656. type: integer
  20657. produces:
  20658. - application/json
  20659. responses:
  20660. "200":
  20661. description: OK
  20662. schema:
  20663. items:
  20664. $ref: '#/definitions/models.Ermcp3AreaSpot'
  20665. type: array
  20666. "500":
  20667. description: Internal Server Error
  20668. schema:
  20669. $ref: '#/definitions/app.Response'
  20670. security:
  20671. - ApiKeyAuth: []
  20672. summary: 查询敞口现货头寸(敞口/现货头寸)
  20673. tags:
  20674. - 企业风险管理v3(app)
  20675. /Ermcp3/QueryExposureSpotDetail:
  20676. get:
  20677. parameters:
  20678. - description: 用户id
  20679. in: query
  20680. name: userid
  20681. required: true
  20682. type: integer
  20683. - description: 用户类型 2-机构 7-企业成员
  20684. in: query
  20685. name: usertype
  20686. type: integer
  20687. - description: 现货品种ID
  20688. in: query
  20689. name: deliverygoodsid
  20690. required: true
  20691. type: integer
  20692. produces:
  20693. - application/json
  20694. responses:
  20695. "200":
  20696. description: OK
  20697. schema:
  20698. items:
  20699. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  20700. type: array
  20701. "500":
  20702. description: Internal Server Error
  20703. schema:
  20704. $ref: '#/definitions/app.Response'
  20705. security:
  20706. - ApiKeyAuth: []
  20707. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  20708. tags:
  20709. - 企业风险管理v3(app)
  20710. /Ermcp3/QueryGoodsGroup:
  20711. get:
  20712. parameters:
  20713. - description: 用户id
  20714. in: query
  20715. name: userid
  20716. required: true
  20717. type: integer
  20718. - description: 用户类型 2-机构 7-企业成员
  20719. in: query
  20720. name: usertype
  20721. type: integer
  20722. - description: 排除套保品中已关联的商品组 1-排除
  20723. in: query
  20724. name: excludecfg
  20725. type: integer
  20726. produces:
  20727. - application/json
  20728. responses:
  20729. "200":
  20730. description: OK
  20731. schema:
  20732. items:
  20733. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  20734. type: array
  20735. "500":
  20736. description: Internal Server Error
  20737. schema:
  20738. $ref: '#/definitions/app.Response'
  20739. security:
  20740. - ApiKeyAuth: []
  20741. summary: 查询期货商品组
  20742. tags:
  20743. - 企业风险管理v3(app)
  20744. /Ermcp3/QueryGoodsWrstandard:
  20745. get:
  20746. parameters:
  20747. - description: 用户id
  20748. in: query
  20749. name: userid
  20750. required: true
  20751. type: integer
  20752. - description: 用户类型 2-机构 7-企业成员
  20753. in: query
  20754. name: usertype
  20755. type: integer
  20756. - description: 现货商品id
  20757. in: query
  20758. name: deliverygoodsid
  20759. type: integer
  20760. produces:
  20761. - application/json
  20762. responses:
  20763. "200":
  20764. description: OK
  20765. schema:
  20766. items:
  20767. $ref: '#/definitions/models.Ermcp3Wrstandard'
  20768. type: array
  20769. "500":
  20770. description: Internal Server Error
  20771. schema:
  20772. $ref: '#/definitions/app.Response'
  20773. security:
  20774. - ApiKeyAuth: []
  20775. summary: 查询商品品类
  20776. tags:
  20777. - 企业风险管理v3(app)
  20778. /Ermcp3/QueryGoodsbrand:
  20779. get:
  20780. parameters:
  20781. - description: 用户id
  20782. in: query
  20783. name: userid
  20784. required: true
  20785. type: integer
  20786. - description: 用户类型 2-机构 7-企业成员
  20787. in: query
  20788. name: usertype
  20789. type: integer
  20790. produces:
  20791. - application/json
  20792. responses:
  20793. "200":
  20794. description: OK
  20795. schema:
  20796. items:
  20797. $ref: '#/definitions/models.Ermcp3Brand'
  20798. type: array
  20799. "500":
  20800. description: Internal Server Error
  20801. schema:
  20802. $ref: '#/definitions/app.Response'
  20803. security:
  20804. - ApiKeyAuth: []
  20805. summary: 查询商品品牌
  20806. tags:
  20807. - 企业风险管理v3(app)
  20808. /Ermcp3/QueryHedgePlan:
  20809. get:
  20810. parameters:
  20811. - description: 用户ID
  20812. in: query
  20813. name: userid
  20814. required: true
  20815. type: integer
  20816. - description: 用户类型 2-机构 7-企业成员
  20817. in: query
  20818. name: usertype
  20819. type: integer
  20820. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  20821. in: query
  20822. name: hedgeplanstatus
  20823. required: true
  20824. type: string
  20825. produces:
  20826. - application/json
  20827. responses:
  20828. "200":
  20829. description: OK
  20830. schema:
  20831. items:
  20832. $ref: '#/definitions/models.Ermcp3HedgePlan'
  20833. type: array
  20834. "500":
  20835. description: Internal Server Error
  20836. schema:
  20837. $ref: '#/definitions/app.Response'
  20838. security:
  20839. - ApiKeyAuth: []
  20840. summary: 查询套保计划
  20841. tags:
  20842. - 企业风险管理v3(app)
  20843. /Ermcp3/QueryMiddleGoodsDetail:
  20844. get:
  20845. parameters:
  20846. - description: 用户id
  20847. in: query
  20848. name: userid
  20849. required: true
  20850. type: integer
  20851. - description: 用户类型 2-机构 7-企业成员
  20852. in: query
  20853. name: usertype
  20854. type: integer
  20855. - description: 套保品种id
  20856. in: query
  20857. name: middlegoodsid
  20858. type: integer
  20859. produces:
  20860. - application/json
  20861. responses:
  20862. "200":
  20863. description: OK
  20864. schema:
  20865. items:
  20866. $ref: '#/definitions/models.TBMiddleGoods'
  20867. type: array
  20868. "500":
  20869. description: Internal Server Error
  20870. schema:
  20871. $ref: '#/definitions/app.Response'
  20872. security:
  20873. - ApiKeyAuth: []
  20874. summary: 查询套保品种详情(套保品种/商品详情)
  20875. tags:
  20876. - 企业风险管理v3(app)
  20877. /Ermcp3/QueryPaAreaAuditCfg:
  20878. get:
  20879. parameters:
  20880. - description: 用户id
  20881. in: query
  20882. name: userid
  20883. required: true
  20884. type: integer
  20885. produces:
  20886. - application/json
  20887. responses:
  20888. "200":
  20889. description: OK
  20890. schema:
  20891. items:
  20892. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  20893. type: array
  20894. "500":
  20895. description: Internal Server Error
  20896. schema:
  20897. $ref: '#/definitions/app.Response'
  20898. security:
  20899. - ApiKeyAuth: []
  20900. summary: 查询审核设置
  20901. tags:
  20902. - 企业风险管理v3(app)
  20903. /Ermcp3/QueryPaAreaSubject:
  20904. get:
  20905. parameters:
  20906. - description: 用户id
  20907. in: query
  20908. name: userid
  20909. required: true
  20910. type: integer
  20911. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  20912. in: query
  20913. name: subjectid
  20914. type: integer
  20915. - description: 主体类型 - 1:交易主体 2:业务部门
  20916. in: query
  20917. name: subjecttype
  20918. type: integer
  20919. - description: '主体状态 - 1:正常 2: 停用'
  20920. in: query
  20921. name: subjectstatus
  20922. type: integer
  20923. produces:
  20924. - application/json
  20925. responses:
  20926. "200":
  20927. description: OK
  20928. schema:
  20929. items:
  20930. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  20931. type: array
  20932. "500":
  20933. description: Internal Server Error
  20934. schema:
  20935. $ref: '#/definitions/app.Response'
  20936. security:
  20937. - ApiKeyAuth: []
  20938. summary: 查询交易主体
  20939. tags:
  20940. - 企业风险管理v3(app)
  20941. /Ermcp3/QueryRootUserAccount:
  20942. get:
  20943. parameters:
  20944. - description: 用户ID
  20945. in: query
  20946. name: userid
  20947. required: true
  20948. type: integer
  20949. produces:
  20950. - application/json
  20951. responses:
  20952. "200":
  20953. description: OK
  20954. schema:
  20955. items:
  20956. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  20957. type: array
  20958. "500":
  20959. description: Internal Server Error
  20960. schema:
  20961. $ref: '#/definitions/app.Response'
  20962. security:
  20963. - ApiKeyAuth: []
  20964. summary: 查询顶级用户信息
  20965. tags:
  20966. - 企业风险管理v3(app)
  20967. /Ermcp3/QuerySpotContract:
  20968. get:
  20969. parameters:
  20970. - description: 用户id
  20971. in: query
  20972. name: userid
  20973. required: true
  20974. type: integer
  20975. - description: 用户类型 2-机构 7-企业成员
  20976. in: query
  20977. name: usertype
  20978. type: integer
  20979. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  20980. in: query
  20981. name: querytype
  20982. required: true
  20983. type: integer
  20984. - description: 合同ID(SpotContractId)
  20985. in: query
  20986. name: contractid
  20987. type: string
  20988. produces:
  20989. - application/json
  20990. responses:
  20991. "200":
  20992. description: OK
  20993. schema:
  20994. items:
  20995. $ref: '#/definitions/models.Ermcp3Contract'
  20996. type: array
  20997. "500":
  20998. description: Internal Server Error
  20999. schema:
  21000. $ref: '#/definitions/app.Response'
  21001. security:
  21002. - ApiKeyAuth: []
  21003. summary: 查询现货合同
  21004. tags:
  21005. - 企业风险管理v3(app)
  21006. /Ermcp3/QuerySpotContractBS:
  21007. get:
  21008. parameters:
  21009. - description: 用户id
  21010. in: query
  21011. name: userid
  21012. required: true
  21013. type: integer
  21014. - description: 用户类型 2-机构 7-企业成员
  21015. in: query
  21016. name: usertype
  21017. type: integer
  21018. - description: 合同类型 1-采购, -1-销售
  21019. in: query
  21020. name: contracttype
  21021. required: true
  21022. type: integer
  21023. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  21024. in: query
  21025. name: querytype
  21026. required: true
  21027. type: integer
  21028. - description: 合同ID(SpotContractId)
  21029. in: query
  21030. name: contractid
  21031. type: string
  21032. produces:
  21033. - application/json
  21034. responses:
  21035. "200":
  21036. description: OK
  21037. schema:
  21038. items:
  21039. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  21040. type: array
  21041. "500":
  21042. description: Internal Server Error
  21043. schema:
  21044. $ref: '#/definitions/app.Response'
  21045. security:
  21046. - ApiKeyAuth: []
  21047. summary: 查询合同(采购/销售)
  21048. tags:
  21049. - 企业风险管理v3(app)
  21050. /Ermcp3/QuerySpotGoodsPrice:
  21051. get:
  21052. parameters:
  21053. - description: 用户ID
  21054. in: query
  21055. name: userid
  21056. required: true
  21057. type: integer
  21058. produces:
  21059. - application/json
  21060. responses:
  21061. "200":
  21062. description: OK
  21063. schema:
  21064. items:
  21065. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  21066. type: array
  21067. "500":
  21068. description: Internal Server Error
  21069. schema:
  21070. $ref: '#/definitions/app.Response'
  21071. security:
  21072. - ApiKeyAuth: []
  21073. summary: 查询现货市价(现货市价)
  21074. tags:
  21075. - 企业风险管理v3(app)
  21076. /Ermcp3/QuerySpotGoodsPriceLog:
  21077. get:
  21078. parameters:
  21079. - description: 用户ID
  21080. in: query
  21081. name: userid
  21082. required: true
  21083. type: integer
  21084. - description: 现货商品ID
  21085. in: query
  21086. name: deliverygoodsid
  21087. required: true
  21088. type: integer
  21089. - description: 品牌ID
  21090. in: query
  21091. name: brandid
  21092. type: integer
  21093. - description: 品类ID
  21094. in: query
  21095. name: wrstandardid
  21096. type: integer
  21097. produces:
  21098. - application/json
  21099. responses:
  21100. "200":
  21101. description: OK
  21102. schema:
  21103. items:
  21104. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  21105. type: array
  21106. "500":
  21107. description: Internal Server Error
  21108. schema:
  21109. $ref: '#/definitions/app.Response'
  21110. security:
  21111. - ApiKeyAuth: []
  21112. summary: 查询现货市价详情(现货市价/详情)
  21113. tags:
  21114. - 企业风险管理v3(app)
  21115. /Erms2/QueryArbitrageStrategy:
  21116. get:
  21117. parameters:
  21118. - description: 账户ID
  21119. in: query
  21120. name: userid
  21121. required: true
  21122. type: integer
  21123. - description: 商品组ID(品种ID)
  21124. in: query
  21125. name: goodsgroupid
  21126. type: string
  21127. produces:
  21128. - application/json
  21129. responses:
  21130. "200":
  21131. description: OK
  21132. schema:
  21133. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  21134. "500":
  21135. description: Internal Server Error
  21136. schema:
  21137. $ref: '#/definitions/app.Response'
  21138. security:
  21139. - ApiKeyAuth: []
  21140. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  21141. tags:
  21142. - 风险管理
  21143. /Erms2/QueryInnerTradeDetail:
  21144. get:
  21145. parameters:
  21146. - description: 资金账户
  21147. in: query
  21148. name: accountid
  21149. required: true
  21150. type: integer
  21151. produces:
  21152. - application/json
  21153. responses:
  21154. "200":
  21155. description: OK
  21156. schema:
  21157. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  21158. "500":
  21159. description: Internal Server Error
  21160. schema:
  21161. $ref: '#/definitions/app.Response'
  21162. security:
  21163. - ApiKeyAuth: []
  21164. summary: 查询内部成交单信息
  21165. tags:
  21166. - 风险管理
  21167. /Erms2/QuerySpotContract:
  21168. get:
  21169. parameters:
  21170. - description: 策略申请ID
  21171. in: query
  21172. name: asapplyid
  21173. required: true
  21174. type: integer
  21175. - description: 现货合同ID
  21176. in: query
  21177. name: spotcontractid
  21178. type: integer
  21179. produces:
  21180. - application/json
  21181. responses:
  21182. "200":
  21183. description: OK
  21184. schema:
  21185. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  21186. "500":
  21187. description: Internal Server Error
  21188. schema:
  21189. $ref: '#/definitions/app.Response'
  21190. security:
  21191. - ApiKeyAuth: []
  21192. summary: 查询现货合同表信息(指定策略ID、未结束的)
  21193. tags:
  21194. - 风险管理
  21195. /Erms3/AddErms2ASApply:
  21196. post:
  21197. parameters:
  21198. - description: 申请参数
  21199. in: body
  21200. name: jsonBody
  21201. required: true
  21202. schema:
  21203. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  21204. produces:
  21205. - application/json
  21206. responses:
  21207. "200":
  21208. description: OK
  21209. schema:
  21210. $ref: '#/definitions/app.Response'
  21211. "500":
  21212. description: Internal Server Error
  21213. schema:
  21214. $ref: '#/definitions/app.Response'
  21215. security:
  21216. - ApiKeyAuth: []
  21217. summary: 新增期现套利业务申请
  21218. tags:
  21219. - 风险管理v3
  21220. /Erms3/AddErms2SpotTradeApply:
  21221. post:
  21222. parameters:
  21223. - description: 申请参数
  21224. in: body
  21225. name: jsonBody
  21226. required: true
  21227. schema:
  21228. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  21229. produces:
  21230. - application/json
  21231. responses:
  21232. "200":
  21233. description: OK
  21234. schema:
  21235. $ref: '#/definitions/app.Response'
  21236. "500":
  21237. description: Internal Server Error
  21238. schema:
  21239. $ref: '#/definitions/app.Response'
  21240. security:
  21241. - ApiKeyAuth: []
  21242. summary: 新增现货贸易业务申请
  21243. tags:
  21244. - 风险管理v3
  21245. /Erms3/AddSpotContractApply:
  21246. post:
  21247. parameters:
  21248. - description: 申请参数
  21249. in: body
  21250. name: jsonBody
  21251. required: true
  21252. schema:
  21253. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  21254. produces:
  21255. - application/json
  21256. responses:
  21257. "200":
  21258. description: OK
  21259. schema:
  21260. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  21261. "500":
  21262. description: Internal Server Error
  21263. schema:
  21264. $ref: '#/definitions/app.Response'
  21265. security:
  21266. - ApiKeyAuth: []
  21267. summary: 新增现货合同申请
  21268. tags:
  21269. - 风险管理v3
  21270. /Erms3/AddUserInfoApply:
  21271. post:
  21272. parameters:
  21273. - description: 用户信息
  21274. in: body
  21275. name: jsonBody
  21276. required: true
  21277. schema:
  21278. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  21279. produces:
  21280. - application/json
  21281. responses:
  21282. "200":
  21283. description: OK
  21284. schema:
  21285. $ref: '#/definitions/app.Response'
  21286. "500":
  21287. description: Internal Server Error
  21288. schema:
  21289. $ref: '#/definitions/app.Response'
  21290. security:
  21291. - ApiKeyAuth: []
  21292. summary: 新增客户申请
  21293. tags:
  21294. - 风险管理v3
  21295. /Erms3/DeleteUserInfoApply:
  21296. get:
  21297. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  21298. parameters:
  21299. - description: 用户ID
  21300. in: query
  21301. name: userID
  21302. required: true
  21303. type: integer
  21304. produces:
  21305. - application/json
  21306. responses:
  21307. "200":
  21308. description: OK
  21309. schema:
  21310. $ref: '#/definitions/app.Response'
  21311. "500":
  21312. description: Internal Server Error
  21313. schema:
  21314. $ref: '#/definitions/app.Response'
  21315. security:
  21316. - ApiKeyAuth: []
  21317. summary: 删除客户申请
  21318. tags:
  21319. - 风险管理v3
  21320. /Erms3/ModifyUserInfoApply:
  21321. post:
  21322. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  21323. int, "userstate": 2 }'
  21324. parameters:
  21325. - description: 用户信息
  21326. in: body
  21327. name: jsonBody
  21328. required: true
  21329. schema:
  21330. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  21331. produces:
  21332. - application/json
  21333. responses:
  21334. "200":
  21335. description: OK
  21336. schema:
  21337. $ref: '#/definitions/app.Response'
  21338. "500":
  21339. description: Internal Server Error
  21340. schema:
  21341. $ref: '#/definitions/app.Response'
  21342. security:
  21343. - ApiKeyAuth: []
  21344. summary: 修改客户申请
  21345. tags:
  21346. - 风险管理v3
  21347. /Erms3/QueryBusinessInfo:
  21348. get:
  21349. parameters:
  21350. - description: 资金账号ID列表,用逗号分隔
  21351. in: query
  21352. name: accountids
  21353. required: true
  21354. type: string
  21355. - description: 状态,0为未结束 1为已结束
  21356. in: query
  21357. name: status
  21358. required: true
  21359. type: integer
  21360. produces:
  21361. - application/json
  21362. responses:
  21363. "200":
  21364. description: OK
  21365. schema:
  21366. items:
  21367. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  21368. type: array
  21369. "500":
  21370. description: Internal Server Error
  21371. schema:
  21372. $ref: '#/definitions/app.Response'
  21373. security:
  21374. - ApiKeyAuth: []
  21375. summary: 查询业务表单数据
  21376. tags:
  21377. - 风险管理v3
  21378. /Erms3/QueryPendingAuditContract:
  21379. get:
  21380. parameters:
  21381. - description: 资金账号ID列表,逗号隔开
  21382. in: query
  21383. name: accountids
  21384. required: true
  21385. type: string
  21386. - description: 合同类型 1-采购 -1-销售
  21387. in: query
  21388. name: contracttype
  21389. required: true
  21390. type: integer
  21391. - description: 合同模式 1-普通 2-回购
  21392. in: query
  21393. name: contractmode
  21394. required: true
  21395. type: integer
  21396. produces:
  21397. - application/json
  21398. responses:
  21399. "200":
  21400. description: OK
  21401. schema:
  21402. items:
  21403. $ref: '#/definitions/erms3.QryAuditContractRsp'
  21404. type: array
  21405. "500":
  21406. description: Internal Server Error
  21407. schema:
  21408. $ref: '#/definitions/app.Response'
  21409. security:
  21410. - ApiKeyAuth: []
  21411. summary: 查询待审核合同
  21412. tags:
  21413. - 风险管理v3
  21414. /Erms3/QueryPendingBusiness:
  21415. get:
  21416. parameters:
  21417. - description: 资金账号ID列表,逗号隔开
  21418. in: query
  21419. name: accountids
  21420. required: true
  21421. type: string
  21422. produces:
  21423. - application/json
  21424. responses:
  21425. "200":
  21426. description: OK
  21427. schema:
  21428. items:
  21429. $ref: '#/definitions/erms3.QryPendingBizRsp'
  21430. type: array
  21431. "500":
  21432. description: Internal Server Error
  21433. schema:
  21434. $ref: '#/definitions/app.Response'
  21435. security:
  21436. - ApiKeyAuth: []
  21437. summary: 查询待审核基差贸易业务
  21438. tags:
  21439. - 风险管理v3
  21440. /Erms3/QuerySpotContractAppleForm:
  21441. get:
  21442. parameters:
  21443. - description: 登录账号
  21444. in: query
  21445. name: loginID
  21446. required: true
  21447. type: integer
  21448. produces:
  21449. - application/json
  21450. responses:
  21451. "200":
  21452. description: OK
  21453. schema:
  21454. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  21455. "500":
  21456. description: Internal Server Error
  21457. schema:
  21458. $ref: '#/definitions/app.Response'
  21459. security:
  21460. - ApiKeyAuth: []
  21461. summary: 查询合同申请表单数据
  21462. tags:
  21463. - 风险管理v3
  21464. /Erms3/QuerySpotContractDetail:
  21465. get:
  21466. parameters:
  21467. - description: 资金账号ID列表,用逗号分隔
  21468. in: query
  21469. name: accountids
  21470. required: true
  21471. type: string
  21472. - description: 合同类型,1为采购合同 -1为销售合同
  21473. in: query
  21474. name: contracttype
  21475. required: true
  21476. type: integer
  21477. - description: 合同模式,1为普通合同 2为回购销售合同
  21478. in: query
  21479. name: contractmode
  21480. required: true
  21481. type: integer
  21482. - description: 状态,0为履约中 1为已完成
  21483. in: query
  21484. name: status
  21485. required: true
  21486. type: integer
  21487. produces:
  21488. - application/json
  21489. responses:
  21490. "200":
  21491. description: OK
  21492. schema:
  21493. items:
  21494. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  21495. type: array
  21496. "500":
  21497. description: Internal Server Error
  21498. schema:
  21499. $ref: '#/definitions/app.Response'
  21500. security:
  21501. - ApiKeyAuth: []
  21502. summary: 查询合同详细信息
  21503. tags:
  21504. - 风险管理v3
  21505. /Erms3/QueryUserInfoApplies:
  21506. get:
  21507. parameters:
  21508. - description: 页码
  21509. in: query
  21510. name: page
  21511. type: integer
  21512. - description: 每页条数
  21513. in: query
  21514. name: pagesize
  21515. type: integer
  21516. - description: 客户名称,支持模糊查询
  21517. in: query
  21518. name: userName
  21519. type: string
  21520. produces:
  21521. - application/json
  21522. responses:
  21523. "200":
  21524. description: OK
  21525. schema:
  21526. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  21527. "500":
  21528. description: Internal Server Error
  21529. schema:
  21530. $ref: '#/definitions/app.Response'
  21531. security:
  21532. - ApiKeyAuth: []
  21533. summary: 客户申请信息查询
  21534. tags:
  21535. - 风险管理v3
  21536. /Erms3/QueryUserInfos:
  21537. get:
  21538. parameters:
  21539. - description: 页码
  21540. in: query
  21541. name: page
  21542. type: integer
  21543. - description: 每页条数
  21544. in: query
  21545. name: pagesize
  21546. type: integer
  21547. - description: 客户名称,支持模糊查询
  21548. in: query
  21549. name: userName
  21550. type: string
  21551. produces:
  21552. - application/json
  21553. responses:
  21554. "200":
  21555. description: OK
  21556. schema:
  21557. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  21558. "500":
  21559. description: Internal Server Error
  21560. schema:
  21561. $ref: '#/definitions/app.Response'
  21562. security:
  21563. - ApiKeyAuth: []
  21564. summary: 客户信息查询
  21565. tags:
  21566. - 风险管理v3
  21567. /HSBY/GetHsbyMyCount:
  21568. get:
  21569. description: 说明: 不包括已完成的数量。
  21570. parameters:
  21571. - description: 资金账户列表,格式:1,2,3
  21572. in: query
  21573. name: accountIDs
  21574. required: true
  21575. type: string
  21576. produces:
  21577. - application/json
  21578. responses:
  21579. "200":
  21580. description: OK
  21581. schema:
  21582. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  21583. "500":
  21584. description: Internal Server Error
  21585. schema:
  21586. $ref: '#/definitions/app.Response'
  21587. security:
  21588. - ApiKeyAuth: []
  21589. summary: 获取我的订单与包裹数量
  21590. tags:
  21591. - 定制【海商报业】
  21592. /HSBY/QueryClientFixedADConfigs:
  21593. get:
  21594. produces:
  21595. - application/json
  21596. responses:
  21597. "200":
  21598. description: OK
  21599. schema:
  21600. $ref: '#/definitions/models.Clientfixedadconfig'
  21601. "500":
  21602. description: Internal Server Error
  21603. schema:
  21604. $ref: '#/definitions/app.Response'
  21605. security:
  21606. - ApiKeyAuth: []
  21607. summary: 获取终端固定广告配置
  21608. tags:
  21609. - 定制【海商报业】
  21610. /HSBY/QueryHsbyBuyMyTradeDetail:
  21611. get:
  21612. parameters:
  21613. - description: 页码
  21614. in: query
  21615. name: page
  21616. type: integer
  21617. - description: 每页条数
  21618. in: query
  21619. name: pagesize
  21620. type: integer
  21621. - description: 资金账户列表,格式:1,2,3
  21622. in: query
  21623. name: accountIDs
  21624. required: true
  21625. type: string
  21626. produces:
  21627. - application/json
  21628. responses:
  21629. "200":
  21630. description: OK
  21631. schema:
  21632. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  21633. "500":
  21634. description: Internal Server Error
  21635. schema:
  21636. $ref: '#/definitions/app.Response'
  21637. security:
  21638. - ApiKeyAuth: []
  21639. summary: 查询"我的订单 - 已完成"单据信息
  21640. tags:
  21641. - 定制【海商报业】
  21642. /HSBY/QueryHsbyGoodsOrderDetails:
  21643. get:
  21644. description: 说明:查询结果已按委托价格和委托时间排序
  21645. parameters:
  21646. - description: 商品ID
  21647. in: query
  21648. name: goodsID
  21649. required: true
  21650. type: integer
  21651. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  21652. in: query
  21653. name: accountIDs
  21654. type: string
  21655. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  21656. in: query
  21657. name: buyOrSell
  21658. type: integer
  21659. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  21660. in: query
  21661. name: price
  21662. type: number
  21663. - description: 档位,不传则默认为3档
  21664. in: query
  21665. name: speed
  21666. type: integer
  21667. produces:
  21668. - application/json
  21669. responses:
  21670. "200":
  21671. description: OK
  21672. schema:
  21673. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  21674. "500":
  21675. description: Internal Server Error
  21676. schema:
  21677. $ref: '#/definitions/app.Response'
  21678. security:
  21679. - ApiKeyAuth: []
  21680. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  21681. tags:
  21682. - 定制【海商报业】
  21683. /HSBY/QueryHsbyListingGoodsDetail:
  21684. get:
  21685. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  21686. parameters:
  21687. - description: 商品ID
  21688. in: query
  21689. name: goodsID
  21690. required: true
  21691. type: integer
  21692. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  21693. in: query
  21694. name: accountID
  21695. type: integer
  21696. produces:
  21697. - application/json
  21698. responses:
  21699. "200":
  21700. description: OK
  21701. schema:
  21702. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  21703. "500":
  21704. description: Internal Server Error
  21705. schema:
  21706. $ref: '#/definitions/app.Response'
  21707. security:
  21708. - ApiKeyAuth: []
  21709. summary: 查询二级市场(挂牌点选)商品信息详情
  21710. tags:
  21711. - 定制【海商报业】
  21712. /HSBY/QueryHsbyMarketGoodsDetail:
  21713. get:
  21714. parameters:
  21715. - description: 委托单号
  21716. in: query
  21717. name: orderID
  21718. required: true
  21719. type: integer
  21720. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  21721. in: query
  21722. name: accountID
  21723. type: integer
  21724. produces:
  21725. - application/json
  21726. responses:
  21727. "200":
  21728. description: OK
  21729. schema:
  21730. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  21731. "500":
  21732. description: Internal Server Error
  21733. schema:
  21734. $ref: '#/definitions/app.Response'
  21735. security:
  21736. - ApiKeyAuth: []
  21737. summary: 查询三级市场(商城)商品信息详情
  21738. tags:
  21739. - 定制【海商报业】
  21740. /HSBY/QueryHsbyMarketGoodses:
  21741. get:
  21742. parameters:
  21743. - description: 页码
  21744. in: query
  21745. name: page
  21746. type: integer
  21747. - description: 每页条数
  21748. in: query
  21749. name: pagesize
  21750. type: integer
  21751. - description: 市场ID列表,格式:1,2,3
  21752. in: query
  21753. name: marketIDs
  21754. required: true
  21755. type: string
  21756. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  21757. in: query
  21758. name: accountID
  21759. required: true
  21760. type: integer
  21761. - description: 类别ID
  21762. in: query
  21763. name: categoryID
  21764. type: integer
  21765. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  21766. in: query
  21767. name: goodsIDs
  21768. type: string
  21769. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  21770. in: query
  21771. name: couponTypeID
  21772. type: integer
  21773. produces:
  21774. - application/json
  21775. responses:
  21776. "200":
  21777. description: OK
  21778. schema:
  21779. $ref: '#/definitions/models.HsbyMarketGoods'
  21780. "500":
  21781. description: Internal Server Error
  21782. schema:
  21783. $ref: '#/definitions/app.Response'
  21784. security:
  21785. - ApiKeyAuth: []
  21786. summary: 查询特卖商品列表(三级商城)
  21787. tags:
  21788. - 定制【海商报业】
  21789. /HSBY/QueryHsbyMarkets:
  21790. get:
  21791. produces:
  21792. - application/json
  21793. responses:
  21794. "200":
  21795. description: OK
  21796. schema:
  21797. $ref: '#/definitions/models.HsbyMarketInfo'
  21798. "500":
  21799. description: Internal Server Error
  21800. schema:
  21801. $ref: '#/definitions/app.Response'
  21802. security:
  21803. - ApiKeyAuth: []
  21804. summary: 查询海商报业相关市场信息
  21805. tags:
  21806. - 定制【海商报业】
  21807. /HSBY/QueryHsbyMyBuyOrderDetails:
  21808. get:
  21809. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  21810. parameters:
  21811. - description: 资金账户列表,格式:1,2,3
  21812. in: query
  21813. name: accountIDs
  21814. required: true
  21815. type: string
  21816. produces:
  21817. - application/json
  21818. responses:
  21819. "200":
  21820. description: OK
  21821. schema:
  21822. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  21823. "500":
  21824. description: Internal Server Error
  21825. schema:
  21826. $ref: '#/definitions/app.Response'
  21827. security:
  21828. - ApiKeyAuth: []
  21829. summary: 查询“我的订单”信息
  21830. tags:
  21831. - 定制【海商报业】
  21832. /HSBY/QueryHsbyMyGoods:
  21833. get:
  21834. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  21835. parameters:
  21836. - description: 资金账户列表,格式:1,2,3
  21837. in: query
  21838. name: accountIDs
  21839. required: true
  21840. type: string
  21841. produces:
  21842. - application/json
  21843. responses:
  21844. "200":
  21845. description: OK
  21846. schema:
  21847. $ref: '#/definitions/models.HsbyMyGoods'
  21848. "500":
  21849. description: Internal Server Error
  21850. schema:
  21851. $ref: '#/definitions/app.Response'
  21852. security:
  21853. - ApiKeyAuth: []
  21854. summary: 查询“我的商品”信息
  21855. tags:
  21856. - 定制【海商报业】
  21857. /HSBY/QueryHsbyMyPackages:
  21858. get:
  21859. parameters:
  21860. - description: 资金账户列表,格式:1,2,3
  21861. in: query
  21862. name: accountIDs
  21863. required: true
  21864. type: string
  21865. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  21866. in: query
  21867. name: takeOrderStatus
  21868. type: integer
  21869. produces:
  21870. - application/json
  21871. responses:
  21872. "200":
  21873. description: OK
  21874. schema:
  21875. $ref: '#/definitions/models.HsbyMyPackage'
  21876. "500":
  21877. description: Internal Server Error
  21878. schema:
  21879. $ref: '#/definitions/app.Response'
  21880. security:
  21881. - ApiKeyAuth: []
  21882. summary: 查询我的包裹信息
  21883. tags:
  21884. - 定制【海商报业】
  21885. /HSBY/QueryHsbyPreGoodsDetail:
  21886. get:
  21887. parameters:
  21888. - description: 商品ID
  21889. in: query
  21890. name: goodsID
  21891. required: true
  21892. type: integer
  21893. - description: 资金账户,主要用于获取预售商品购买上限
  21894. in: query
  21895. name: accountID
  21896. type: integer
  21897. produces:
  21898. - application/json
  21899. responses:
  21900. "200":
  21901. description: OK
  21902. schema:
  21903. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  21904. "500":
  21905. description: Internal Server Error
  21906. schema:
  21907. $ref: '#/definitions/app.Response'
  21908. security:
  21909. - ApiKeyAuth: []
  21910. summary: 查询一级市场(预售)商品信息详情
  21911. tags:
  21912. - 定制【海商报业】
  21913. /HSBY/QueryHsbyPreGoodses:
  21914. get:
  21915. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  21916. parameters:
  21917. - description: 页码
  21918. in: query
  21919. name: page
  21920. type: integer
  21921. - description: 每页条数
  21922. in: query
  21923. name: pagesize
  21924. type: integer
  21925. - description: 市场ID列表,格式:1,2,3
  21926. in: query
  21927. name: marketIDs
  21928. required: true
  21929. type: string
  21930. - description: 目的地(省)ID
  21931. in: query
  21932. name: descProvinceID
  21933. type: integer
  21934. - description: 目的地(市)ID
  21935. in: query
  21936. name: descCityID
  21937. type: integer
  21938. produces:
  21939. - application/json
  21940. responses:
  21941. "200":
  21942. description: OK
  21943. schema:
  21944. $ref: '#/definitions/models.HsbyPreGoods'
  21945. "500":
  21946. description: Internal Server Error
  21947. schema:
  21948. $ref: '#/definitions/app.Response'
  21949. security:
  21950. - ApiKeyAuth: []
  21951. summary: 查询新品上市商品列表(一级市场预售)
  21952. tags:
  21953. - 定制【海商报业】
  21954. /HSBY/QueryHsbySellMyDetails:
  21955. get:
  21956. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  21957. parameters:
  21958. - description: 页码
  21959. in: query
  21960. name: page
  21961. type: integer
  21962. - description: 每页条数
  21963. in: query
  21964. name: pagesize
  21965. type: integer
  21966. - description: 资金账户列表,格式:1,2,3
  21967. in: query
  21968. name: accountIDs
  21969. required: true
  21970. type: string
  21971. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  21972. in: query
  21973. name: orderType
  21974. type: integer
  21975. produces:
  21976. - application/json
  21977. responses:
  21978. "200":
  21979. description: OK
  21980. schema:
  21981. $ref: '#/definitions/models.HsbySellMyDetail'
  21982. "500":
  21983. description: Internal Server Error
  21984. schema:
  21985. $ref: '#/definitions/app.Response'
  21986. security:
  21987. - ApiKeyAuth: []
  21988. summary: 查询"我的闲置"单据信息
  21989. tags:
  21990. - 定制【海商报业】
  21991. /HSBY/QueryHsbyTopGoodses:
  21992. get:
  21993. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  21994. parameters:
  21995. - description: 页码
  21996. in: query
  21997. name: page
  21998. type: integer
  21999. - description: 每页条数
  22000. in: query
  22001. name: pagesize
  22002. type: integer
  22003. - description: 市场ID列表,格式:1,2,3
  22004. in: query
  22005. name: marketIDs
  22006. required: true
  22007. type: string
  22008. - description: 目的地(省)ID
  22009. in: query
  22010. name: descProvinceID
  22011. type: integer
  22012. - description: 目的地(市)ID
  22013. in: query
  22014. name: descCityID
  22015. type: integer
  22016. produces:
  22017. - application/json
  22018. responses:
  22019. "200":
  22020. description: OK
  22021. schema:
  22022. $ref: '#/definitions/models.HsbyTopGoods'
  22023. "500":
  22024. description: Internal Server Error
  22025. schema:
  22026. $ref: '#/definitions/app.Response'
  22027. security:
  22028. - ApiKeyAuth: []
  22029. summary: 查询热卖商品列表(二级市场挂牌点选)
  22030. tags:
  22031. - 定制【海商报业】
  22032. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  22033. get:
  22034. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  22035. parameters:
  22036. - description: 商品ID
  22037. in: query
  22038. name: goodsID
  22039. required: true
  22040. type: integer
  22041. produces:
  22042. - application/json
  22043. responses:
  22044. "200":
  22045. description: OK
  22046. schema:
  22047. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  22048. "500":
  22049. description: Internal Server Error
  22050. schema:
  22051. $ref: '#/definitions/app.Response'
  22052. security:
  22053. - ApiKeyAuth: []
  22054. summary: 查询游客三级市场(商城)商品信息详情
  22055. tags:
  22056. - 定制【海商报业】
  22057. /HSBY/QueryHsbyVisitorMarketGoodses:
  22058. get:
  22059. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  22060. parameters:
  22061. - description: 页码
  22062. in: query
  22063. name: page
  22064. type: integer
  22065. - description: 每页条数
  22066. in: query
  22067. name: pagesize
  22068. type: integer
  22069. - description: 市场ID列表,格式:1,2,3
  22070. in: query
  22071. name: marketIDs
  22072. required: true
  22073. type: string
  22074. - description: 类别ID
  22075. in: query
  22076. name: categoryID
  22077. type: integer
  22078. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  22079. in: query
  22080. name: goodsIDs
  22081. type: string
  22082. produces:
  22083. - application/json
  22084. responses:
  22085. "200":
  22086. description: OK
  22087. schema:
  22088. $ref: '#/definitions/models.HsbyMarketGoods'
  22089. "500":
  22090. description: Internal Server Error
  22091. schema:
  22092. $ref: '#/definitions/app.Response'
  22093. security:
  22094. - ApiKeyAuth: []
  22095. summary: 查询游客特卖商品列表(三级商城)
  22096. tags:
  22097. - 定制【海商报业】
  22098. /HSBY/QueryMyCollectionOrders:
  22099. get:
  22100. parameters:
  22101. - description: 页码
  22102. in: query
  22103. name: page
  22104. type: integer
  22105. - description: 每页条数
  22106. in: query
  22107. name: pagesize
  22108. type: integer
  22109. - description: 资金账户,格式:1,2,3
  22110. in: query
  22111. name: accountIDs
  22112. required: true
  22113. type: string
  22114. produces:
  22115. - application/json
  22116. responses:
  22117. "200":
  22118. description: OK
  22119. schema:
  22120. $ref: '#/definitions/models.HsbySellCollectionOrder'
  22121. "500":
  22122. description: Internal Server Error
  22123. schema:
  22124. $ref: '#/definitions/app.Response'
  22125. security:
  22126. - ApiKeyAuth: []
  22127. summary: 我的闲置中收款信息查询
  22128. tags:
  22129. - 定制【海商报业】
  22130. /HSBY/QueryMyCouponHolds:
  22131. get:
  22132. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  22133. parameters:
  22134. - description: 资金账户列表,格式:1,2,3
  22135. in: query
  22136. name: accountIDs
  22137. required: true
  22138. type: string
  22139. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  22140. in: query
  22141. name: holdStatus
  22142. type: string
  22143. produces:
  22144. - application/json
  22145. responses:
  22146. "200":
  22147. description: OK
  22148. schema:
  22149. $ref: '#/definitions/models.MyCouponHold'
  22150. "500":
  22151. description: Internal Server Error
  22152. schema:
  22153. $ref: '#/definitions/app.Response'
  22154. security:
  22155. - ApiKeyAuth: []
  22156. summary: 我的优惠卷持仓查询
  22157. tags:
  22158. - 定制【海商报业】
  22159. /HSBY/QueryMyCoupons:
  22160. get:
  22161. parameters:
  22162. - description: 资金账户列表,格式:1,2,3
  22163. in: query
  22164. name: accountIDs
  22165. required: true
  22166. type: string
  22167. - description: 商品ID, 一般与sellUserID配套传入
  22168. in: query
  22169. name: goodsID
  22170. type: integer
  22171. - description: 卖方UserID
  22172. in: query
  22173. name: sellUserID
  22174. type: integer
  22175. produces:
  22176. - application/json
  22177. responses:
  22178. "200":
  22179. description: OK
  22180. schema:
  22181. $ref: '#/definitions/models.MyCoupon'
  22182. "500":
  22183. description: Internal Server Error
  22184. schema:
  22185. $ref: '#/definitions/app.Response'
  22186. security:
  22187. - ApiKeyAuth: []
  22188. summary: 我的优惠卷查询
  22189. tags:
  22190. - 定制【海商报业】
  22191. /HSBY/QueryMyPayOrders:
  22192. get:
  22193. parameters:
  22194. - description: 页码
  22195. in: query
  22196. name: page
  22197. type: integer
  22198. - description: 每页条数
  22199. in: query
  22200. name: pagesize
  22201. type: integer
  22202. - description: 资金账户列表,格式:1,2,3
  22203. in: query
  22204. name: accountIDs
  22205. required: true
  22206. type: string
  22207. - description: 买方委托单号
  22208. in: query
  22209. name: buyOrderID
  22210. type: integer
  22211. - description: 卖方委托单号
  22212. in: query
  22213. name: sellOrderID
  22214. type: integer
  22215. produces:
  22216. - application/json
  22217. responses:
  22218. "200":
  22219. description: OK
  22220. schema:
  22221. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  22222. "500":
  22223. description: Internal Server Error
  22224. schema:
  22225. $ref: '#/definitions/app.Response'
  22226. security:
  22227. - ApiKeyAuth: []
  22228. summary: 获取我的订单中待付款信息
  22229. tags:
  22230. - 定制【海商报业】
  22231. /HSBY/QueryMyUsedCoupon:
  22232. get:
  22233. parameters:
  22234. - description: 资金账户列表,格式:1,2,3
  22235. in: query
  22236. name: accountIDs
  22237. required: true
  22238. type: string
  22239. produces:
  22240. - application/json
  22241. responses:
  22242. "200":
  22243. description: OK
  22244. schema:
  22245. $ref: '#/definitions/models.MyUsedCoupon'
  22246. "500":
  22247. description: Internal Server Error
  22248. schema:
  22249. $ref: '#/definitions/app.Response'
  22250. security:
  22251. - ApiKeyAuth: []
  22252. summary: 已使用优惠卷查询
  22253. tags:
  22254. - 定制【海商报业】
  22255. /HSBY/QueryProvincesAndCities:
  22256. get:
  22257. description: 查询结果只包括二级市场商品已关连的省市信息。
  22258. parameters:
  22259. - description: 省ID
  22260. in: query
  22261. name: provinceID
  22262. type: integer
  22263. produces:
  22264. - application/json
  22265. responses:
  22266. "200":
  22267. description: OK
  22268. schema:
  22269. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  22270. "500":
  22271. description: Internal Server Error
  22272. schema:
  22273. $ref: '#/definitions/app.Response'
  22274. security:
  22275. - ApiKeyAuth: []
  22276. summary: 查询省市信息(不包括区)
  22277. tags:
  22278. - 定制【海商报业】
  22279. /HSBY/SetHsbyMyPackagesStatus:
  22280. post:
  22281. parameters:
  22282. - description: 提货单号
  22283. in: query
  22284. name: takeOrderID
  22285. required: true
  22286. type: string
  22287. - description: 资金账号
  22288. in: query
  22289. name: accountID
  22290. required: true
  22291. type: integer
  22292. produces:
  22293. - application/json
  22294. responses:
  22295. "200":
  22296. description: OK
  22297. schema:
  22298. $ref: '#/definitions/app.Response'
  22299. "500":
  22300. description: Internal Server Error
  22301. schema:
  22302. $ref: '#/definitions/app.Response'
  22303. security:
  22304. - ApiKeyAuth: []
  22305. summary: 设置我的包裹已收货状态
  22306. tags:
  22307. - 定制【海商报业】
  22308. /Market/GetAllExExchanges:
  22309. get:
  22310. produces:
  22311. - application/json
  22312. responses:
  22313. "200":
  22314. description: OK
  22315. schema:
  22316. $ref: '#/definitions/models.Goods'
  22317. "500":
  22318. description: Internal Server Error
  22319. schema:
  22320. $ref: '#/definitions/app.Response'
  22321. security:
  22322. - ApiKeyAuth: []
  22323. summary: 获取所有外部交易所信息
  22324. tags:
  22325. - 通用市场
  22326. /Market/QueryGoodsesByLoginID:
  22327. get:
  22328. parameters:
  22329. - description: 登录账号
  22330. in: query
  22331. name: loginID
  22332. required: true
  22333. type: integer
  22334. - description: 市场ID列表,格式:1,2,3
  22335. in: query
  22336. name: marketIDs
  22337. type: string
  22338. produces:
  22339. - application/json
  22340. responses:
  22341. "200":
  22342. description: OK
  22343. schema:
  22344. $ref: '#/definitions/models.Goods'
  22345. "500":
  22346. description: Internal Server Error
  22347. schema:
  22348. $ref: '#/definitions/app.Response'
  22349. security:
  22350. - ApiKeyAuth: []
  22351. summary: 获取登录账号有权限的商品信息
  22352. tags:
  22353. - 通用市场
  22354. /Market/QueryMarketRun:
  22355. get:
  22356. parameters:
  22357. - description: 市场ID,不传返回所有
  22358. in: query
  22359. name: marketID
  22360. type: integer
  22361. produces:
  22362. - application/json
  22363. responses:
  22364. "200":
  22365. description: OK
  22366. schema:
  22367. $ref: '#/definitions/models.Marketrun'
  22368. "500":
  22369. description: Internal Server Error
  22370. schema:
  22371. $ref: '#/definitions/app.Response'
  22372. security:
  22373. - ApiKeyAuth: []
  22374. summary: 查询市场运行信息
  22375. tags:
  22376. - 通用市场
  22377. /Market/QueryMarketsByLoginID:
  22378. get:
  22379. parameters:
  22380. - description: 登录账号
  22381. in: query
  22382. name: loginID
  22383. required: true
  22384. type: integer
  22385. produces:
  22386. - application/json
  22387. responses:
  22388. "200":
  22389. description: OK
  22390. schema:
  22391. $ref: '#/definitions/models.Market'
  22392. "500":
  22393. description: Internal Server Error
  22394. schema:
  22395. $ref: '#/definitions/app.Response'
  22396. security:
  22397. - ApiKeyAuth: []
  22398. summary: 获取登录账号有权限的市场信息
  22399. tags:
  22400. - 通用市场
  22401. /Order/QueryHisTradeDetail:
  22402. get:
  22403. parameters:
  22404. - description: 资金账户 - 格式:1,2,3
  22405. in: query
  22406. name: accountID
  22407. required: true
  22408. type: string
  22409. - description: 成交单号
  22410. in: query
  22411. name: tradeID
  22412. type: integer
  22413. - description: 委托单号
  22414. in: query
  22415. name: orderID
  22416. type: integer
  22417. - description: 商品ID
  22418. in: query
  22419. name: goodsID
  22420. type: integer
  22421. - description: 交易模式 - 格式:1,2,3
  22422. in: query
  22423. name: tradeMode
  22424. type: string
  22425. - description: 委托单据类型
  22426. in: query
  22427. name: buildType
  22428. type: integer
  22429. - description: 成交类别 - 格式:1,2,3
  22430. in: query
  22431. name: tradeType
  22432. type: string
  22433. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  22434. in: query
  22435. name: startDate
  22436. type: string
  22437. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  22438. in: query
  22439. name: endDate
  22440. type: string
  22441. produces:
  22442. - application/json
  22443. responses:
  22444. "200":
  22445. description: OK
  22446. schema:
  22447. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  22448. "500":
  22449. description: Internal Server Error
  22450. schema:
  22451. $ref: '#/definitions/app.Response'
  22452. security:
  22453. - ApiKeyAuth: []
  22454. summary: 历史成交单查询(合约市场)
  22455. tags:
  22456. - 通用单据
  22457. /Order/QueryHisTradeOrderDetail:
  22458. get:
  22459. parameters:
  22460. - description: 资金账户 - 格式:1,2,3
  22461. in: query
  22462. name: accountID
  22463. required: true
  22464. type: string
  22465. - description: 交易模式 - 格式:1,2,3
  22466. in: query
  22467. name: tradeMode
  22468. type: string
  22469. - description: 委托状态 - 格式:1,2,3
  22470. in: query
  22471. name: orderStatus
  22472. type: string
  22473. - description: 委托单号
  22474. in: query
  22475. name: orderID
  22476. type: integer
  22477. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  22478. in: query
  22479. name: startDate
  22480. type: string
  22481. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  22482. in: query
  22483. name: endDate
  22484. type: string
  22485. produces:
  22486. - application/json
  22487. responses:
  22488. "200":
  22489. description: OK
  22490. schema:
  22491. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  22492. "500":
  22493. description: Internal Server Error
  22494. schema:
  22495. $ref: '#/definitions/app.Response'
  22496. security:
  22497. - ApiKeyAuth: []
  22498. summary: 历史委托单查询请求(合约市场)
  22499. tags:
  22500. - 通用单据
  22501. /Order/QueryTradeDetail:
  22502. get:
  22503. parameters:
  22504. - description: 资金账户 - 格式:1,2,3
  22505. in: query
  22506. name: accountID
  22507. required: true
  22508. type: string
  22509. - description: 成交单号
  22510. in: query
  22511. name: tradeID
  22512. type: integer
  22513. - description: 委托单号
  22514. in: query
  22515. name: orderID
  22516. type: integer
  22517. - description: 交易模式 - 格式:1,2,3
  22518. in: query
  22519. name: tradeMode
  22520. type: string
  22521. - description: 委托单据类型
  22522. in: query
  22523. name: buildType
  22524. type: integer
  22525. - description: 成交类别 - 格式:1,2,3
  22526. in: query
  22527. name: tradeType
  22528. type: string
  22529. - description: 商品ID
  22530. in: query
  22531. name: goodsID
  22532. type: integer
  22533. produces:
  22534. - application/json
  22535. responses:
  22536. "200":
  22537. description: OK
  22538. schema:
  22539. $ref: '#/definitions/order.QueryTradeDetailRsp'
  22540. "500":
  22541. description: Internal Server Error
  22542. schema:
  22543. $ref: '#/definitions/app.Response'
  22544. security:
  22545. - ApiKeyAuth: []
  22546. summary: 成交单查询(合约市场)
  22547. tags:
  22548. - 通用单据
  22549. /Order/QueryTradeHolderDetail:
  22550. get:
  22551. parameters:
  22552. - description: 用户id
  22553. in: query
  22554. name: userid
  22555. type: integer
  22556. - description: 资金账号, 格式 1,2,3
  22557. in: query
  22558. name: accids
  22559. type: string
  22560. - description: 交易模式, 格式 1,2,3
  22561. in: query
  22562. name: trademodes
  22563. type: string
  22564. - description: 市场id, 格式 1,2,3
  22565. in: query
  22566. name: marketids
  22567. type: string
  22568. - description: 商品id
  22569. in: query
  22570. name: goodsid
  22571. type: integer
  22572. - description: 买卖方向 0-买 1-卖
  22573. in: query
  22574. name: buyorsell
  22575. type: integer
  22576. produces:
  22577. - application/json
  22578. responses:
  22579. "200":
  22580. description: OK
  22581. schema:
  22582. items:
  22583. $ref: '#/definitions/models.TradeHolderDetail'
  22584. type: array
  22585. "500":
  22586. description: Internal Server Error
  22587. schema:
  22588. $ref: '#/definitions/app.Response'
  22589. security:
  22590. - ApiKeyAuth: []
  22591. summary: 查询持仓明细
  22592. tags:
  22593. - 通用单据
  22594. /Order/QueryTradeOrderDetail:
  22595. get:
  22596. parameters:
  22597. - description: 资金账户 - 格式:1,2,3
  22598. in: query
  22599. name: accountID
  22600. required: true
  22601. type: string
  22602. - description: 交易模式 - 格式:1,2,3
  22603. in: query
  22604. name: tradeMode
  22605. type: string
  22606. - description: 委托状态 - 格式:1,2,3
  22607. in: query
  22608. name: orderStatus
  22609. type: string
  22610. - description: 委托单号
  22611. in: query
  22612. name: orderID
  22613. type: integer
  22614. produces:
  22615. - application/json
  22616. responses:
  22617. "200":
  22618. description: OK
  22619. schema:
  22620. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  22621. "500":
  22622. description: Internal Server Error
  22623. schema:
  22624. $ref: '#/definitions/app.Response'
  22625. security:
  22626. - ApiKeyAuth: []
  22627. summary: 委托单查询请求(合约市场)
  22628. tags:
  22629. - 通用单据
  22630. /Order/QueryTradePosition:
  22631. get:
  22632. parameters:
  22633. - description: 资金账户 - 格式:1,2,3
  22634. in: query
  22635. name: accountID
  22636. required: true
  22637. type: string
  22638. - description: 交易模式 - 格式:1,2,3
  22639. in: query
  22640. name: tradeMode
  22641. type: string
  22642. produces:
  22643. - application/json
  22644. responses:
  22645. "200":
  22646. description: OK
  22647. schema:
  22648. $ref: '#/definitions/order.QueryTradePositionRsp'
  22649. "500":
  22650. description: Internal Server Error
  22651. schema:
  22652. $ref: '#/definitions/app.Response'
  22653. security:
  22654. - ApiKeyAuth: []
  22655. summary: 持仓汇总查询(合约市场)
  22656. tags:
  22657. - 通用单据
  22658. /Qhj/QueryAccountInOutApply:
  22659. get:
  22660. parameters:
  22661. - description: 用户ID
  22662. in: query
  22663. name: userid
  22664. required: true
  22665. type: integer
  22666. - description: 申请起始日期(格式yyyymmdd)
  22667. in: query
  22668. name: begindate
  22669. type: string
  22670. - description: 申请截止日期(格式yyyymmdd)
  22671. in: query
  22672. name: enddate
  22673. type: string
  22674. - description: 模糊搜索名称
  22675. in: query
  22676. name: likename
  22677. type: string
  22678. produces:
  22679. - application/json
  22680. responses:
  22681. "200":
  22682. description: OK
  22683. schema:
  22684. items:
  22685. $ref: '#/definitions/models.QhjAccountOutInApply'
  22686. type: array
  22687. "500":
  22688. description: Internal Server Error
  22689. schema:
  22690. $ref: '#/definitions/app.Response'
  22691. security:
  22692. - ApiKeyAuth: []
  22693. summary: 查询充值提现
  22694. tags:
  22695. - 大连千海金
  22696. /Qhj/QueryAreaFinanceConfig:
  22697. get:
  22698. parameters:
  22699. - description: 机构用户ID 其他做市关系,都设置为 1
  22700. in: query
  22701. name: userid
  22702. type: integer
  22703. produces:
  22704. - application/json
  22705. responses:
  22706. "200":
  22707. description: OK
  22708. schema:
  22709. items:
  22710. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  22711. type: array
  22712. "500":
  22713. description: Internal Server Error
  22714. schema:
  22715. $ref: '#/definitions/app.Response'
  22716. security:
  22717. - ApiKeyAuth: []
  22718. summary: 查询企业配置表
  22719. tags:
  22720. - 大连千海金
  22721. /Qhj/QueryBankAccountSign:
  22722. get:
  22723. parameters:
  22724. - description: 用户ID
  22725. in: query
  22726. name: userid
  22727. required: true
  22728. type: integer
  22729. produces:
  22730. - application/json
  22731. responses:
  22732. "200":
  22733. description: OK
  22734. schema:
  22735. items:
  22736. $ref: '#/definitions/models.QhjBankAccountSign'
  22737. type: array
  22738. "500":
  22739. description: Internal Server Error
  22740. schema:
  22741. $ref: '#/definitions/app.Response'
  22742. security:
  22743. - ApiKeyAuth: []
  22744. summary: 查询签约银行信息(提现账户管理)
  22745. tags:
  22746. - 大连千海金
  22747. /Qhj/QueryBankInfo:
  22748. get:
  22749. produces:
  22750. - application/json
  22751. responses:
  22752. "200":
  22753. description: OK
  22754. schema:
  22755. items:
  22756. $ref: '#/definitions/models.QhjBankInfo'
  22757. type: array
  22758. "500":
  22759. description: Internal Server Error
  22760. schema:
  22761. $ref: '#/definitions/app.Response'
  22762. security:
  22763. - ApiKeyAuth: []
  22764. summary: 查询开户行
  22765. tags:
  22766. - 大连千海金
  22767. /Qhj/QueryBrokerApply:
  22768. get:
  22769. parameters:
  22770. - description: 所属机构ID
  22771. in: query
  22772. name: userid
  22773. type: integer
  22774. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22775. in: query
  22776. name: filterstatus
  22777. type: string
  22778. produces:
  22779. - application/json
  22780. responses:
  22781. "200":
  22782. description: OK
  22783. schema:
  22784. items:
  22785. $ref: '#/definitions/models.QhjBrokerApply'
  22786. type: array
  22787. "500":
  22788. description: Internal Server Error
  22789. schema:
  22790. $ref: '#/definitions/app.Response'
  22791. security:
  22792. - ApiKeyAuth: []
  22793. summary: 查询经纪人申请
  22794. tags:
  22795. - 大连千海金
  22796. /Qhj/QueryBrokerApplyEx:
  22797. get:
  22798. parameters:
  22799. - description: 所属机构ID
  22800. in: query
  22801. name: userid
  22802. type: integer
  22803. produces:
  22804. - application/json
  22805. responses:
  22806. "200":
  22807. description: OK
  22808. schema:
  22809. items:
  22810. $ref: '#/definitions/models.QhjBrokerApplyEx'
  22811. type: array
  22812. "500":
  22813. description: Internal Server Error
  22814. schema:
  22815. $ref: '#/definitions/app.Response'
  22816. security:
  22817. - ApiKeyAuth: []
  22818. summary: 查询经纪人信息和申请记录
  22819. tags:
  22820. - 大连千海金
  22821. /Qhj/QueryBrokerRewardLog:
  22822. get:
  22823. parameters:
  22824. - description: 用户ID
  22825. in: query
  22826. name: userid
  22827. required: true
  22828. type: integer
  22829. - description: 开始交易日(yyyymmdd)
  22830. in: query
  22831. name: begindate
  22832. type: string
  22833. - description: 结束交易日(yyyymmdd)
  22834. in: query
  22835. name: enddate
  22836. type: string
  22837. produces:
  22838. - application/json
  22839. responses:
  22840. "200":
  22841. description: OK
  22842. schema:
  22843. items:
  22844. $ref: '#/definitions/models.QhjBrokerRewardLog'
  22845. type: array
  22846. "500":
  22847. description: Internal Server Error
  22848. schema:
  22849. $ref: '#/definitions/app.Response'
  22850. security:
  22851. - ApiKeyAuth: []
  22852. summary: 查询奖励流水(我的奖励)
  22853. tags:
  22854. - 大连千海金
  22855. /Qhj/QueryContract:
  22856. get:
  22857. parameters:
  22858. - description: 用户ID
  22859. in: query
  22860. name: userid
  22861. type: integer
  22862. - description: scf合同id
  22863. in: query
  22864. name: scfcontractid
  22865. type: integer
  22866. produces:
  22867. - application/json
  22868. responses:
  22869. "200":
  22870. description: OK
  22871. schema:
  22872. items:
  22873. $ref: '#/definitions/models.QhjContract'
  22874. type: array
  22875. "500":
  22876. description: Internal Server Error
  22877. schema:
  22878. $ref: '#/definitions/app.Response'
  22879. security:
  22880. - ApiKeyAuth: []
  22881. summary: 查询融资明细(合同)
  22882. tags:
  22883. - 大连千海金
  22884. /Qhj/QueryContractLog:
  22885. get:
  22886. parameters:
  22887. - description: scf合同id
  22888. in: query
  22889. name: scfcontractid
  22890. required: true
  22891. type: integer
  22892. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  22893. in: query
  22894. name: amounttype
  22895. type: string
  22896. produces:
  22897. - application/json
  22898. responses:
  22899. "200":
  22900. description: OK
  22901. schema:
  22902. items:
  22903. $ref: '#/definitions/models.QhjContractLog'
  22904. type: array
  22905. "500":
  22906. description: Internal Server Error
  22907. schema:
  22908. $ref: '#/definitions/app.Response'
  22909. security:
  22910. - ApiKeyAuth: []
  22911. summary: 查询融资明细流水(融资明细详情页中的流水)
  22912. tags:
  22913. - 大连千海金
  22914. /Qhj/QueryCusBankSignBank:
  22915. get:
  22916. produces:
  22917. - application/json
  22918. responses:
  22919. "200":
  22920. description: OK
  22921. schema:
  22922. items:
  22923. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  22924. type: array
  22925. "500":
  22926. description: Internal Server Error
  22927. schema:
  22928. $ref: '#/definitions/app.Response'
  22929. security:
  22930. - ApiKeyAuth: []
  22931. summary: 查询托管银行
  22932. tags:
  22933. - 大连千海金
  22934. /Qhj/QueryCustomerInfo:
  22935. get:
  22936. parameters:
  22937. - description: 用户ID
  22938. in: query
  22939. name: userid
  22940. required: true
  22941. type: integer
  22942. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  22943. in: query
  22944. name: querytype
  22945. required: true
  22946. type: integer
  22947. - description: 客户类型 1-个人 2-企业
  22948. in: query
  22949. name: userinfotype
  22950. type: integer
  22951. - description: 客户名称(模糊匹配)
  22952. in: query
  22953. name: customername
  22954. type: string
  22955. - description: 昵称(模糊匹配)
  22956. in: query
  22957. name: nickname
  22958. type: string
  22959. - description: 是否包含子级 1-包含
  22960. in: query
  22961. name: includesub
  22962. type: integer
  22963. produces:
  22964. - application/json
  22965. responses:
  22966. "200":
  22967. description: OK
  22968. schema:
  22969. items:
  22970. $ref: '#/definitions/models.QhjCustomer'
  22971. type: array
  22972. "500":
  22973. description: Internal Server Error
  22974. schema:
  22975. $ref: '#/definitions/app.Response'
  22976. security:
  22977. - ApiKeyAuth: []
  22978. summary: 查询客户资料
  22979. tags:
  22980. - 大连千海金
  22981. /Qhj/QueryGoodsEx:
  22982. get:
  22983. parameters:
  22984. - description: 商品id
  22985. in: query
  22986. name: goodsid
  22987. type: integer
  22988. produces:
  22989. - application/json
  22990. responses:
  22991. "200":
  22992. description: OK
  22993. schema:
  22994. items:
  22995. $ref: '#/definitions/models.Qhjgoodsex'
  22996. type: array
  22997. "500":
  22998. description: Internal Server Error
  22999. schema:
  23000. $ref: '#/definitions/app.Response'
  23001. security:
  23002. - ApiKeyAuth: []
  23003. summary: 交易商品扩展表
  23004. tags:
  23005. - 大连千海金
  23006. /Qhj/QueryMyTeam:
  23007. get:
  23008. parameters:
  23009. - description: 用户ID
  23010. in: query
  23011. name: userid
  23012. required: true
  23013. type: integer
  23014. produces:
  23015. - application/json
  23016. responses:
  23017. "200":
  23018. description: OK
  23019. schema:
  23020. items:
  23021. $ref: '#/definitions/models.QhjMyTeamEx'
  23022. type: array
  23023. "500":
  23024. description: Internal Server Error
  23025. schema:
  23026. $ref: '#/definitions/app.Response'
  23027. security:
  23028. - ApiKeyAuth: []
  23029. summary: 查询我的团队
  23030. tags:
  23031. - 大连千海金
  23032. /Qhj/QueryMyTeamOrder:
  23033. get:
  23034. parameters:
  23035. - description: 页码
  23036. in: query
  23037. name: page
  23038. type: integer
  23039. - description: 每页条数
  23040. in: query
  23041. name: pagesize
  23042. type: integer
  23043. - description: 用户ID
  23044. in: query
  23045. name: userid
  23046. required: true
  23047. type: integer
  23048. - description: 交易模式
  23049. in: query
  23050. name: trademode
  23051. type: integer
  23052. - description: 名称(模糊搜索账户)
  23053. in: query
  23054. name: filtername
  23055. type: string
  23056. produces:
  23057. - application/json
  23058. responses:
  23059. "200":
  23060. description: OK
  23061. schema:
  23062. items:
  23063. $ref: '#/definitions/models.QhjTeamOrder'
  23064. type: array
  23065. "500":
  23066. description: Internal Server Error
  23067. schema:
  23068. $ref: '#/definitions/app.Response'
  23069. security:
  23070. - ApiKeyAuth: []
  23071. summary: 查询团队订单(我的团队/团队订单)
  23072. tags:
  23073. - 大连千海金
  23074. /Qhj/QueryParentAreaList:
  23075. get:
  23076. parameters:
  23077. - description: 用户ID
  23078. in: query
  23079. name: userid
  23080. required: true
  23081. type: integer
  23082. produces:
  23083. - application/json
  23084. responses:
  23085. "200":
  23086. description: OK
  23087. schema:
  23088. items:
  23089. $ref: '#/definitions/models.QhjParentAreaList'
  23090. type: array
  23091. "500":
  23092. description: Internal Server Error
  23093. schema:
  23094. $ref: '#/definitions/app.Response'
  23095. security:
  23096. - ApiKeyAuth: []
  23097. summary: 查询所属机构列表
  23098. tags:
  23099. - 大连千海金
  23100. /Qhj/QueryPayOrder:
  23101. get:
  23102. parameters:
  23103. - description: 资金账号id
  23104. in: query
  23105. name: accountid
  23106. required: true
  23107. type: integer
  23108. - description: 成交单号
  23109. in: query
  23110. name: tradeid
  23111. type: integer
  23112. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  23113. in: query
  23114. name: payflag
  23115. type: string
  23116. produces:
  23117. - application/json
  23118. responses:
  23119. "200":
  23120. description: OK
  23121. schema:
  23122. items:
  23123. $ref: '#/definitions/models.QhjPayOrder'
  23124. type: array
  23125. "500":
  23126. description: Internal Server Error
  23127. schema:
  23128. $ref: '#/definitions/app.Response'
  23129. security:
  23130. - ApiKeyAuth: []
  23131. summary: 查询待付款单据
  23132. tags:
  23133. - 大连千海金
  23134. /Qhj/QueryPickArea:
  23135. get:
  23136. parameters:
  23137. - description: 用户ID
  23138. in: query
  23139. name: userid
  23140. type: integer
  23141. produces:
  23142. - application/json
  23143. responses:
  23144. "200":
  23145. description: OK
  23146. schema:
  23147. items:
  23148. $ref: '#/definitions/models.QhjPickArea'
  23149. type: array
  23150. "500":
  23151. description: Internal Server Error
  23152. schema:
  23153. $ref: '#/definitions/app.Response'
  23154. security:
  23155. - ApiKeyAuth: []
  23156. summary: 查询提货门店
  23157. tags:
  23158. - 大连千海金
  23159. /Qhj/QueryPickGoods:
  23160. get:
  23161. parameters:
  23162. - description: 交易商品id
  23163. in: query
  23164. name: goodsid
  23165. required: true
  23166. type: integer
  23167. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  23168. in: query
  23169. name: status
  23170. type: string
  23171. produces:
  23172. - application/json
  23173. responses:
  23174. "200":
  23175. description: OK
  23176. schema:
  23177. items:
  23178. $ref: '#/definitions/models.QhjPickGoods'
  23179. type: array
  23180. "500":
  23181. description: Internal Server Error
  23182. schema:
  23183. $ref: '#/definitions/app.Response'
  23184. security:
  23185. - ApiKeyAuth: []
  23186. summary: 查询提货商品
  23187. tags:
  23188. - 大连千海金
  23189. /Qhj/QueryRSTriggerLog:
  23190. get:
  23191. parameters:
  23192. - description: 用户ID
  23193. in: query
  23194. name: userid
  23195. type: integer
  23196. - description: 定投策略id
  23197. in: query
  23198. name: regularlystrategyid
  23199. type: integer
  23200. - description: 商品id
  23201. in: query
  23202. name: goodsid
  23203. type: integer
  23204. - description: 开始交易日(yyyymmdd)
  23205. in: query
  23206. name: begindate
  23207. type: string
  23208. - description: 结束交易日(yyyymmdd)
  23209. in: query
  23210. name: enddate
  23211. type: string
  23212. - description: 名称(模糊搜索账户)
  23213. in: query
  23214. name: filtername
  23215. type: string
  23216. produces:
  23217. - application/json
  23218. responses:
  23219. "200":
  23220. description: OK
  23221. schema:
  23222. items:
  23223. $ref: '#/definitions/models.QhjRSTriggerLog'
  23224. type: array
  23225. "500":
  23226. description: Internal Server Error
  23227. schema:
  23228. $ref: '#/definitions/app.Response'
  23229. security:
  23230. - ApiKeyAuth: []
  23231. summary: 查询定投记录(定投管理/详情/定投记录)
  23232. tags:
  23233. - 大连千海金
  23234. /Qhj/QueryRStrategy:
  23235. get:
  23236. parameters:
  23237. - description: 用户ID
  23238. in: query
  23239. name: userid
  23240. type: integer
  23241. - description: 商品id
  23242. in: query
  23243. name: goodsid
  23244. type: integer
  23245. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  23246. in: query
  23247. name: status
  23248. type: string
  23249. - description: 名称(模糊搜索账户)
  23250. in: query
  23251. name: filtername
  23252. type: string
  23253. produces:
  23254. - application/json
  23255. responses:
  23256. "200":
  23257. description: OK
  23258. schema:
  23259. items:
  23260. $ref: '#/definitions/models.QhjRStrategy'
  23261. type: array
  23262. "500":
  23263. description: Internal Server Error
  23264. schema:
  23265. $ref: '#/definitions/app.Response'
  23266. security:
  23267. - ApiKeyAuth: []
  23268. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  23269. tags:
  23270. - 大连千海金
  23271. /Qhj/QueryReckonPriceLog:
  23272. get:
  23273. parameters:
  23274. - description: 商品ID
  23275. in: query
  23276. name: goodsid
  23277. type: integer
  23278. - description: 交易日 格式(yyyymmdd)
  23279. in: query
  23280. name: tradedate
  23281. type: string
  23282. produces:
  23283. - application/json
  23284. responses:
  23285. "200":
  23286. description: OK
  23287. schema:
  23288. items:
  23289. $ref: '#/definitions/models.QhjReckonPriceLog'
  23290. type: array
  23291. "500":
  23292. description: Internal Server Error
  23293. schema:
  23294. $ref: '#/definitions/app.Response'
  23295. security:
  23296. - ApiKeyAuth: []
  23297. summary: 查询定投价(结算价)
  23298. tags:
  23299. - 大连千海金
  23300. /Qhj/QueryScoreLog:
  23301. get:
  23302. parameters:
  23303. - description: 用户ID
  23304. in: query
  23305. name: userid
  23306. required: true
  23307. type: integer
  23308. - description: 开始交易日(yyyymmdd)
  23309. in: query
  23310. name: begindate
  23311. type: string
  23312. - description: 结束交易日(yyyymmdd)
  23313. in: query
  23314. name: enddate
  23315. type: string
  23316. - description: 最近多少条
  23317. in: query
  23318. name: lastnum
  23319. type: integer
  23320. produces:
  23321. - application/json
  23322. responses:
  23323. "200":
  23324. description: OK
  23325. schema:
  23326. items:
  23327. $ref: '#/definitions/models.QhjScoreLog'
  23328. type: array
  23329. "500":
  23330. description: Internal Server Error
  23331. schema:
  23332. $ref: '#/definitions/app.Response'
  23333. security:
  23334. - ApiKeyAuth: []
  23335. summary: 查询积分流水(我的积分)
  23336. tags:
  23337. - 大连千海金
  23338. /Qhj/QuerySiteColumnDetail:
  23339. get:
  23340. parameters:
  23341. - description: 用户ID
  23342. in: query
  23343. name: userid
  23344. required: true
  23345. type: integer
  23346. produces:
  23347. - application/json
  23348. responses:
  23349. "200":
  23350. description: OK
  23351. schema:
  23352. items:
  23353. $ref: '#/definitions/models.QhjSiteColumnDetail'
  23354. type: array
  23355. "500":
  23356. description: Internal Server Error
  23357. schema:
  23358. $ref: '#/definitions/app.Response'
  23359. security:
  23360. - ApiKeyAuth: []
  23361. summary: 查询资讯
  23362. tags:
  23363. - 大连千海金
  23364. /Qhj/QueryTradeGoodsPickup:
  23365. get:
  23366. parameters:
  23367. - description: 用户ID
  23368. in: query
  23369. name: userid
  23370. required: true
  23371. type: integer
  23372. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  23373. 7:已拒绝 8:已撤销
  23374. in: query
  23375. name: takeorderstatus
  23376. type: integer
  23377. produces:
  23378. - application/json
  23379. responses:
  23380. "200":
  23381. description: OK
  23382. schema:
  23383. items:
  23384. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  23385. type: array
  23386. "500":
  23387. description: Internal Server Error
  23388. schema:
  23389. $ref: '#/definitions/app.Response'
  23390. security:
  23391. - ApiKeyAuth: []
  23392. summary: 查询提货
  23393. tags:
  23394. - 大连千海金
  23395. /Qhj/QueryUserCollectConfig:
  23396. get:
  23397. parameters:
  23398. - description: 用户ID
  23399. in: query
  23400. name: userid
  23401. required: true
  23402. type: integer
  23403. produces:
  23404. - application/json
  23405. responses:
  23406. "200":
  23407. description: OK
  23408. schema:
  23409. items:
  23410. $ref: '#/definitions/models.UserCollectConfig'
  23411. type: array
  23412. "500":
  23413. description: Internal Server Error
  23414. schema:
  23415. $ref: '#/definitions/app.Response'
  23416. security:
  23417. - ApiKeyAuth: []
  23418. summary: 查询提现账户设置
  23419. tags:
  23420. - 大连千海金
  23421. /Qhj/QueryUserReceiveInfo:
  23422. get:
  23423. parameters:
  23424. - description: 用户ID
  23425. in: query
  23426. name: userid
  23427. required: true
  23428. type: integer
  23429. produces:
  23430. - application/json
  23431. responses:
  23432. "200":
  23433. description: OK
  23434. schema:
  23435. items:
  23436. $ref: '#/definitions/models.UserReceiveInfo'
  23437. type: array
  23438. "500":
  23439. description: Internal Server Error
  23440. schema:
  23441. $ref: '#/definitions/app.Response'
  23442. security:
  23443. - ApiKeyAuth: []
  23444. summary: 查询收货地址信息
  23445. tags:
  23446. - 大连千海金
  23447. /QhjMgr/QueryAccountInOutApply:
  23448. get:
  23449. parameters:
  23450. - description: 查询类型 1-提现(出金) 2-充值(出金)
  23451. in: query
  23452. name: querytype
  23453. required: true
  23454. type: integer
  23455. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  23456. in: query
  23457. name: applystatus
  23458. type: integer
  23459. - description: 申请起始日期(格式yyyymmdd)
  23460. in: query
  23461. name: begindate
  23462. type: string
  23463. - description: 申请截止日期(格式yyyymmdd)
  23464. in: query
  23465. name: enddate
  23466. type: string
  23467. - description: 模糊搜索名称
  23468. in: query
  23469. name: likename
  23470. type: string
  23471. produces:
  23472. - application/json
  23473. responses:
  23474. "200":
  23475. description: OK
  23476. schema:
  23477. items:
  23478. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  23479. type: array
  23480. "500":
  23481. description: Internal Server Error
  23482. schema:
  23483. $ref: '#/definitions/app.Response'
  23484. security:
  23485. - ApiKeyAuth: []
  23486. summary: 查询充值提现
  23487. tags:
  23488. - 大连千海金(PCWeb)
  23489. /QhjMgr/QueryBrokerApply:
  23490. get:
  23491. parameters:
  23492. - description: 所属机构ID
  23493. in: query
  23494. name: userid
  23495. type: integer
  23496. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  23497. in: query
  23498. name: filterstatus
  23499. type: string
  23500. - description: 名称(模糊匹配)
  23501. in: query
  23502. name: filtername
  23503. type: string
  23504. - description: 是否包含子级 1-包含
  23505. in: query
  23506. name: includesub
  23507. type: integer
  23508. produces:
  23509. - application/json
  23510. responses:
  23511. "200":
  23512. description: OK
  23513. schema:
  23514. items:
  23515. $ref: '#/definitions/models.QhjMgrBrokerApply'
  23516. type: array
  23517. "500":
  23518. description: Internal Server Error
  23519. schema:
  23520. $ref: '#/definitions/app.Response'
  23521. security:
  23522. - ApiKeyAuth: []
  23523. summary: 查询经纪人申请
  23524. tags:
  23525. - 大连千海金(PCWeb)
  23526. /QhjMgr/QueryBrokerRewardReport:
  23527. get:
  23528. parameters:
  23529. - description: 所属机构ID
  23530. in: query
  23531. name: userid
  23532. required: true
  23533. type: integer
  23534. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23535. in: query
  23536. name: cycletype
  23537. required: true
  23538. type: integer
  23539. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  23540. in: query
  23541. name: cycletime
  23542. required: true
  23543. type: string
  23544. - description: 名称(模糊匹配)
  23545. in: query
  23546. name: filtername
  23547. type: string
  23548. - description: 是否包含子级 1-包含
  23549. in: query
  23550. name: includesub
  23551. type: integer
  23552. produces:
  23553. - application/json
  23554. responses:
  23555. "200":
  23556. description: OK
  23557. schema:
  23558. items:
  23559. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  23560. type: array
  23561. "500":
  23562. description: Internal Server Error
  23563. schema:
  23564. $ref: '#/definitions/app.Response'
  23565. security:
  23566. - ApiKeyAuth: []
  23567. summary: 查询经纪人奖励报表(废弃)
  23568. tags:
  23569. - 大连千海金(PCWeb)
  23570. /QhjMgr/QueryContract:
  23571. get:
  23572. parameters:
  23573. - description: 用户ID
  23574. in: query
  23575. name: userid
  23576. type: integer
  23577. - description: 商品id
  23578. in: query
  23579. name: goodsid
  23580. type: integer
  23581. - description: 名称(模糊搜索账户)
  23582. in: query
  23583. name: filtername
  23584. type: string
  23585. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  23586. in: query
  23587. name: risklevel
  23588. type: string
  23589. - description: 开始交易日(yyyymmdd)
  23590. in: query
  23591. name: begindate
  23592. type: string
  23593. - description: 结束交易日(yyyymmdd)
  23594. in: query
  23595. name: enddate
  23596. type: string
  23597. produces:
  23598. - application/json
  23599. responses:
  23600. "200":
  23601. description: OK
  23602. schema:
  23603. items:
  23604. $ref: '#/definitions/models.QhjMgrContract'
  23605. type: array
  23606. "500":
  23607. description: Internal Server Error
  23608. schema:
  23609. $ref: '#/definitions/app.Response'
  23610. security:
  23611. - ApiKeyAuth: []
  23612. summary: 查询融资信息(合同)
  23613. tags:
  23614. - 大连千海金(PCWeb)
  23615. /QhjMgr/QueryCustomerInfo:
  23616. get:
  23617. parameters:
  23618. - description: 用户ID
  23619. in: query
  23620. name: userid
  23621. required: true
  23622. type: integer
  23623. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  23624. in: query
  23625. name: querytype
  23626. required: true
  23627. type: integer
  23628. - description: 客户类型 1-个人 2-企业
  23629. in: query
  23630. name: userinfotype
  23631. type: integer
  23632. - description: 客户名称(模糊匹配)
  23633. in: query
  23634. name: customername
  23635. type: string
  23636. - description: 昵称(模糊匹配)
  23637. in: query
  23638. name: nickname
  23639. type: string
  23640. - description: 所属客户经理(模糊匹配)
  23641. in: query
  23642. name: brokername
  23643. type: string
  23644. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd,
  23645. 如0503 -5月3日)
  23646. in: query
  23647. name: birthday
  23648. type: string
  23649. - description: 是否包含子级 1-包含
  23650. in: query
  23651. name: includesub
  23652. type: integer
  23653. produces:
  23654. - application/json
  23655. responses:
  23656. "200":
  23657. description: OK
  23658. schema:
  23659. items:
  23660. $ref: '#/definitions/models.QhjMgrCustomer'
  23661. type: array
  23662. "500":
  23663. description: Internal Server Error
  23664. schema:
  23665. $ref: '#/definitions/app.Response'
  23666. security:
  23667. - ApiKeyAuth: []
  23668. summary: 查询客户资料
  23669. tags:
  23670. - 大连千海金(PCWeb)
  23671. /QhjMgr/QueryPickGoods:
  23672. get:
  23673. parameters:
  23674. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  23675. in: query
  23676. name: status
  23677. type: string
  23678. produces:
  23679. - application/json
  23680. responses:
  23681. "200":
  23682. description: OK
  23683. schema:
  23684. items:
  23685. $ref: '#/definitions/models.QhjMgrPickGoods'
  23686. type: array
  23687. "500":
  23688. description: Internal Server Error
  23689. schema:
  23690. $ref: '#/definitions/app.Response'
  23691. security:
  23692. - ApiKeyAuth: []
  23693. summary: 查询提货商品
  23694. tags:
  23695. - 大连千海金(PCWeb)
  23696. /QhjMgr/QuerySubArea:
  23697. get:
  23698. parameters:
  23699. - description: 用户ID
  23700. in: query
  23701. name: userid
  23702. required: true
  23703. type: integer
  23704. produces:
  23705. - application/json
  23706. responses:
  23707. "200":
  23708. description: OK
  23709. schema:
  23710. items:
  23711. $ref: '#/definitions/models.QhjMgrSubArea'
  23712. type: array
  23713. "500":
  23714. description: Internal Server Error
  23715. schema:
  23716. $ref: '#/definitions/app.Response'
  23717. security:
  23718. - ApiKeyAuth: []
  23719. summary: 查询子机构列表
  23720. tags:
  23721. - 大连千海金(PCWeb)
  23722. /QhjMgr/QueryTradeDetail:
  23723. get:
  23724. parameters:
  23725. - description: 用户ID
  23726. in: query
  23727. name: userid
  23728. required: true
  23729. type: integer
  23730. - description: 用户类型 1-个人 2-企业
  23731. in: query
  23732. name: userinfotype
  23733. type: integer
  23734. - description: 交易模式
  23735. in: query
  23736. name: trademode
  23737. type: integer
  23738. - description: 商品id
  23739. in: query
  23740. name: goodsid
  23741. type: integer
  23742. - description: 名称(模糊搜索账户)
  23743. in: query
  23744. name: filtername
  23745. type: string
  23746. - description: 开始交易日(yyyymmdd)
  23747. in: query
  23748. name: begindate
  23749. type: string
  23750. - description: 结束交易日(yyyymmdd)
  23751. in: query
  23752. name: enddate
  23753. type: string
  23754. - description: 是否包含子级 1-包含
  23755. in: query
  23756. name: includesub
  23757. type: integer
  23758. produces:
  23759. - application/json
  23760. responses:
  23761. "200":
  23762. description: OK
  23763. schema:
  23764. items:
  23765. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  23766. type: array
  23767. "500":
  23768. description: Internal Server Error
  23769. schema:
  23770. $ref: '#/definitions/app.Response'
  23771. security:
  23772. - ApiKeyAuth: []
  23773. summary: 查询成交明细
  23774. tags:
  23775. - 大连千海金(PCWeb)
  23776. /QhjMgr/QueryTradeOrderDetail:
  23777. get:
  23778. parameters:
  23779. - description: 用户ID
  23780. in: query
  23781. name: userid
  23782. required: true
  23783. type: integer
  23784. - description: 用户类型 1-个人 2-企业
  23785. in: query
  23786. name: userinfotype
  23787. type: integer
  23788. - description: 交易模式
  23789. in: query
  23790. name: trademode
  23791. type: integer
  23792. - description: 商品id
  23793. in: query
  23794. name: goodsid
  23795. type: integer
  23796. - description: 名称(模糊搜索账户)
  23797. in: query
  23798. name: filtername
  23799. type: string
  23800. - description: 开始交易日(yyyymmdd)
  23801. in: query
  23802. name: begindate
  23803. type: string
  23804. - description: 结束交易日(yyyymmdd)
  23805. in: query
  23806. name: enddate
  23807. type: string
  23808. - description: 是否包含子级 1-包含
  23809. in: query
  23810. name: includesub
  23811. type: integer
  23812. produces:
  23813. - application/json
  23814. responses:
  23815. "200":
  23816. description: OK
  23817. schema:
  23818. items:
  23819. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  23820. type: array
  23821. "500":
  23822. description: Internal Server Error
  23823. schema:
  23824. $ref: '#/definitions/app.Response'
  23825. security:
  23826. - ApiKeyAuth: []
  23827. summary: 查询委托明细
  23828. tags:
  23829. - 大连千海金(PCWeb)
  23830. /QhjMgr/QueryTradePayOrder:
  23831. get:
  23832. parameters:
  23833. - description: 用户ID
  23834. in: query
  23835. name: userid
  23836. required: true
  23837. type: integer
  23838. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  23839. in: query
  23840. name: payflag
  23841. type: string
  23842. - description: 用户类型 1-个人 2-企业
  23843. in: query
  23844. name: userinfotype
  23845. type: integer
  23846. - description: 交易模式
  23847. in: query
  23848. name: trademode
  23849. type: integer
  23850. - description: 商品id
  23851. in: query
  23852. name: goodsid
  23853. type: integer
  23854. - description: 名称(模糊搜索账户)
  23855. in: query
  23856. name: filtername
  23857. type: string
  23858. - description: 开始交易日(yyyymmdd)
  23859. in: query
  23860. name: begindate
  23861. type: string
  23862. - description: 结束交易日(yyyymmdd)
  23863. in: query
  23864. name: enddate
  23865. type: string
  23866. - description: 是否包含子级 1-包含
  23867. in: query
  23868. name: includesub
  23869. type: integer
  23870. produces:
  23871. - application/json
  23872. responses:
  23873. "200":
  23874. description: OK
  23875. schema:
  23876. items:
  23877. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  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. - 大连千海金(PCWeb)
  23888. /QhjMgr/QueryTradePosition:
  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: userinfotype
  23899. type: integer
  23900. - description: 交易模式
  23901. in: query
  23902. name: trademode
  23903. type: integer
  23904. - description: 商品id
  23905. in: query
  23906. name: goodsid
  23907. type: integer
  23908. - description: 名称(模糊搜索账户)
  23909. in: query
  23910. name: filtername
  23911. type: string
  23912. - description: 是否包含子级 1-包含
  23913. in: query
  23914. name: includesub
  23915. type: integer
  23916. produces:
  23917. - application/json
  23918. responses:
  23919. "200":
  23920. description: OK
  23921. schema:
  23922. items:
  23923. $ref: '#/definitions/models.QhjMgrPositionRsp'
  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. - 大连千海金(PCWeb)
  23934. /QhjSys/QueryAgreementChangeLog:
  23935. get:
  23936. parameters:
  23937. - description: 协议ID
  23938. in: query
  23939. name: agreementid
  23940. type: integer
  23941. - description: 协议版本号
  23942. in: query
  23943. name: agreementversion
  23944. type: integer
  23945. - description: 协议类型 - 1:注册 2:登录 3:交易
  23946. in: query
  23947. name: agreementtype
  23948. type: integer
  23949. - description: 协议编号(模糊匹配)
  23950. in: query
  23951. name: agreementno
  23952. type: string
  23953. - description: 协议名称(模糊匹配)
  23954. in: query
  23955. name: agreementname
  23956. type: string
  23957. produces:
  23958. - application/json
  23959. responses:
  23960. "200":
  23961. description: OK
  23962. schema:
  23963. items:
  23964. $ref: '#/definitions/models.QhjAgreementChangeLog'
  23965. type: array
  23966. "500":
  23967. description: Internal Server Error
  23968. schema:
  23969. $ref: '#/definitions/app.Response'
  23970. security:
  23971. - ApiKeyAuth: []
  23972. summary: 查询协议配置变更流水
  23973. tags:
  23974. - 大连千海金(协议和签约信息)
  23975. /QhjSys/QueryAgreementConfig:
  23976. get:
  23977. parameters:
  23978. - description: 协议ID
  23979. in: query
  23980. name: agreementid
  23981. type: integer
  23982. - description: 协议版本号
  23983. in: query
  23984. name: agreementversion
  23985. type: integer
  23986. - description: 协议类型 - 1:注册 2:登录 3:交易
  23987. in: query
  23988. name: agreementtype
  23989. type: integer
  23990. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  23991. in: query
  23992. name: isvalid
  23993. type: integer
  23994. - description: 协议编号(模糊匹配)
  23995. in: query
  23996. name: agreementno
  23997. type: string
  23998. - description: 协议名称(模糊匹配)
  23999. in: query
  24000. name: agreementname
  24001. type: string
  24002. produces:
  24003. - application/json
  24004. responses:
  24005. "200":
  24006. description: OK
  24007. schema:
  24008. items:
  24009. $ref: '#/definitions/models.QhjAgreementConfig'
  24010. type: array
  24011. "500":
  24012. description: Internal Server Error
  24013. schema:
  24014. $ref: '#/definitions/app.Response'
  24015. security:
  24016. - ApiKeyAuth: []
  24017. summary: 查询协议配置
  24018. tags:
  24019. - 大连千海金(协议和签约信息)
  24020. /QhjSys/QueryCustomerSignStatus:
  24021. get:
  24022. parameters:
  24023. - description: 客户ID
  24024. in: query
  24025. name: userid
  24026. type: integer
  24027. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  24028. in: query
  24029. name: nodetype
  24030. type: integer
  24031. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  24032. in: query
  24033. name: goodsid
  24034. type: integer
  24035. - description: 创建交易日(yyyyMMdd)
  24036. in: query
  24037. name: tradedate
  24038. type: string
  24039. - description: 用户名称(模糊匹配)
  24040. in: query
  24041. name: username
  24042. type: string
  24043. produces:
  24044. - application/json
  24045. responses:
  24046. "200":
  24047. description: OK
  24048. schema:
  24049. items:
  24050. $ref: '#/definitions/models.QhjCustomerSignStatus'
  24051. type: array
  24052. "500":
  24053. description: Internal Server Error
  24054. schema:
  24055. $ref: '#/definitions/app.Response'
  24056. security:
  24057. - ApiKeyAuth: []
  24058. summary: 查询客户协议签约状态
  24059. tags:
  24060. - 大连千海金(协议和签约信息)
  24061. /QhjSys/QueryNodeAgreementConfig:
  24062. get:
  24063. parameters:
  24064. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  24065. in: query
  24066. name: configid
  24067. type: integer
  24068. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  24069. in: query
  24070. name: nodetype
  24071. type: integer
  24072. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  24073. in: query
  24074. name: goodsid
  24075. type: integer
  24076. - description: 协议ID
  24077. in: query
  24078. name: agreementid
  24079. type: integer
  24080. - description: 协议类型 - 1:注册 2:登录 3:交易
  24081. in: query
  24082. name: agreementtype
  24083. type: integer
  24084. - description: 协议版本号
  24085. in: query
  24086. name: agreementversion
  24087. type: integer
  24088. - description: 协议编号(模糊匹配)
  24089. in: query
  24090. name: agreementno
  24091. type: string
  24092. - description: 协议名称(模糊匹配)
  24093. in: query
  24094. name: agreementname
  24095. type: string
  24096. produces:
  24097. - application/json
  24098. responses:
  24099. "200":
  24100. description: OK
  24101. schema:
  24102. items:
  24103. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  24104. type: array
  24105. "500":
  24106. description: Internal Server Error
  24107. schema:
  24108. $ref: '#/definitions/app.Response'
  24109. security:
  24110. - ApiKeyAuth: []
  24111. summary: 查询协议节点配置
  24112. tags:
  24113. - 大连千海金(协议和签约信息)
  24114. /QhjSys/QueryQhjCustomerSignLog:
  24115. get:
  24116. parameters:
  24117. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  24118. in: query
  24119. name: logid
  24120. type: integer
  24121. - description: 客户ID
  24122. in: query
  24123. name: userid
  24124. type: integer
  24125. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  24126. in: query
  24127. name: nodetype
  24128. type: integer
  24129. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  24130. in: query
  24131. name: goodsid
  24132. type: integer
  24133. - description: 协议ID
  24134. in: query
  24135. name: agreementid
  24136. type: integer
  24137. - description: 用户名称(模糊匹配)
  24138. in: query
  24139. name: username
  24140. type: string
  24141. - description: 协议编号(模糊匹配)
  24142. in: query
  24143. name: agreementno
  24144. type: string
  24145. - description: 协议名称(模糊匹配)
  24146. in: query
  24147. name: agreementname
  24148. type: string
  24149. produces:
  24150. - application/json
  24151. responses:
  24152. "200":
  24153. description: OK
  24154. schema:
  24155. items:
  24156. $ref: '#/definitions/models.QhjCustomerSignLog'
  24157. type: array
  24158. "500":
  24159. description: Internal Server Error
  24160. schema:
  24161. $ref: '#/definitions/app.Response'
  24162. security:
  24163. - ApiKeyAuth: []
  24164. summary: 查询客户协议签约流水
  24165. tags:
  24166. - 大连千海金(协议和签约信息)
  24167. /QhjSys/QueryUserNodeCfgAndStatus:
  24168. get:
  24169. parameters:
  24170. - description: 客户ID
  24171. in: query
  24172. name: userid
  24173. type: integer
  24174. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  24175. in: query
  24176. name: configid
  24177. type: integer
  24178. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  24179. in: query
  24180. name: nodetype
  24181. type: string
  24182. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  24183. in: query
  24184. name: goodsid
  24185. type: integer
  24186. - description: 协议ID
  24187. in: query
  24188. name: agreementid
  24189. type: integer
  24190. - description: 协议类型 - 1:注册 2:登录 3:交易
  24191. in: query
  24192. name: agreementtype
  24193. type: integer
  24194. - description: 协议版本号
  24195. in: query
  24196. name: agreementversion
  24197. type: integer
  24198. - description: 协议编号(模糊匹配)
  24199. in: query
  24200. name: agreementno
  24201. type: string
  24202. - description: 协议名称(模糊匹配)
  24203. in: query
  24204. name: agreementname
  24205. type: string
  24206. produces:
  24207. - application/json
  24208. responses:
  24209. "200":
  24210. description: OK
  24211. schema:
  24212. items:
  24213. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  24214. type: array
  24215. "500":
  24216. description: Internal Server Error
  24217. schema:
  24218. $ref: '#/definitions/app.Response'
  24219. security:
  24220. - ApiKeyAuth: []
  24221. summary: 查询用户协议节点配置和状态
  24222. tags:
  24223. - 大连千海金(协议和签约信息)
  24224. /Quote/QueryHistoryDatas:
  24225. get:
  24226. parameters:
  24227. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  24228. 日线'
  24229. in: query
  24230. name: cycleType
  24231. required: true
  24232. type: integer
  24233. - description: 商品代码
  24234. in: query
  24235. name: goodsCode
  24236. required: true
  24237. type: string
  24238. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  24239. in: query
  24240. name: startTime
  24241. type: string
  24242. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  24243. in: query
  24244. name: endTime
  24245. type: string
  24246. - description: 条数
  24247. in: query
  24248. name: count
  24249. type: integer
  24250. - description: 是否按时间顺序排序(默认为时间倒序排序)
  24251. in: query
  24252. name: isAsc
  24253. type: boolean
  24254. produces:
  24255. - application/json
  24256. responses:
  24257. "200":
  24258. description: OK
  24259. schema:
  24260. $ref: '#/definitions/quote.HistoryData'
  24261. "500":
  24262. description: Internal Server Error
  24263. schema:
  24264. $ref: '#/definitions/app.Response'
  24265. security:
  24266. - ApiKeyAuth: []
  24267. summary: 查询行情历史数据
  24268. tags:
  24269. - 行情服务
  24270. /Quote/QueryHistoryTikDatas:
  24271. get:
  24272. parameters:
  24273. - description: 商品代码
  24274. in: query
  24275. name: goodsCode
  24276. required: true
  24277. type: string
  24278. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  24279. in: query
  24280. name: startTime
  24281. type: string
  24282. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  24283. in: query
  24284. name: endTime
  24285. type: string
  24286. - description: 条数
  24287. in: query
  24288. name: count
  24289. type: integer
  24290. - description: 是否按时间顺序排序(默认为时间倒序排序)
  24291. in: query
  24292. name: isAsc
  24293. type: boolean
  24294. produces:
  24295. - application/json
  24296. responses:
  24297. "200":
  24298. description: OK
  24299. schema:
  24300. $ref: '#/definitions/quote.HistoryTikData'
  24301. "500":
  24302. description: Internal Server Error
  24303. schema:
  24304. $ref: '#/definitions/app.Response'
  24305. security:
  24306. - ApiKeyAuth: []
  24307. summary: 查询行情Tik数据
  24308. tags:
  24309. - 行情服务
  24310. /Quote/QueryQuoteDay:
  24311. get:
  24312. parameters:
  24313. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  24314. in: query
  24315. name: goodsCodes
  24316. required: true
  24317. type: string
  24318. produces:
  24319. - application/json
  24320. responses:
  24321. "200":
  24322. description: OK
  24323. schema:
  24324. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  24325. "500":
  24326. description: Internal Server Error
  24327. schema:
  24328. $ref: '#/definitions/app.Response'
  24329. security:
  24330. - ApiKeyAuth: []
  24331. summary: 获取商品盘面信息
  24332. tags:
  24333. - 行情服务
  24334. /Quote/QueryTSData:
  24335. get:
  24336. parameters:
  24337. - description: 商品代码
  24338. in: query
  24339. name: goodsCode
  24340. required: true
  24341. type: string
  24342. produces:
  24343. - application/json
  24344. responses:
  24345. "200":
  24346. description: OK
  24347. schema:
  24348. $ref: '#/definitions/quote.QueryTSDataRsp'
  24349. "500":
  24350. description: Internal Server Error
  24351. schema:
  24352. $ref: '#/definitions/app.Response'
  24353. security:
  24354. - ApiKeyAuth: []
  24355. summary: 分时图数据查询
  24356. tags:
  24357. - 行情服务
  24358. /SZDZ/QueryConvertConfig:
  24359. get:
  24360. parameters:
  24361. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  24362. 6:交易转花生米(不设置)
  24363. in: query
  24364. name: convertType
  24365. type: integer
  24366. - description: 外部商品代码[JD\PD]
  24367. in: query
  24368. name: outerGoodsCode
  24369. type: string
  24370. - description: 内部商品ID列表[交易],格式:1,2,3
  24371. in: query
  24372. name: innerGoodsIDs
  24373. type: string
  24374. produces:
  24375. - application/json
  24376. responses:
  24377. "200":
  24378. description: OK
  24379. schema:
  24380. $ref: '#/definitions/models.Szdz3convertconfig'
  24381. "500":
  24382. description: Internal Server Error
  24383. schema:
  24384. $ref: '#/definitions/app.Response'
  24385. security:
  24386. - ApiKeyAuth: []
  24387. summary: 查询交易系统转换设置
  24388. tags:
  24389. - 定制【尚志大宗】
  24390. /SZDZ/QueryConvertLog:
  24391. get:
  24392. parameters:
  24393. - description: 资金账户 - 格式:1,2,3
  24394. in: query
  24395. name: accountID
  24396. required: true
  24397. type: string
  24398. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  24399. in: query
  24400. name: startDate
  24401. type: string
  24402. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  24403. in: query
  24404. name: endDate
  24405. type: string
  24406. produces:
  24407. - application/json
  24408. responses:
  24409. "200":
  24410. description: OK
  24411. schema:
  24412. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  24413. "500":
  24414. description: Internal Server Error
  24415. schema:
  24416. $ref: '#/definitions/app.Response'
  24417. security:
  24418. - ApiKeyAuth: []
  24419. summary: 交易系统转换流水查询
  24420. tags:
  24421. - 定制【尚志大宗】
  24422. /SZDZ/QueryGoodsPickup:
  24423. get:
  24424. parameters:
  24425. - description: 资金账户 - 格式:1,2,3
  24426. in: query
  24427. name: accountID
  24428. required: true
  24429. type: string
  24430. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  24431. in: query
  24432. name: takeOrderStatus
  24433. type: integer
  24434. produces:
  24435. - application/json
  24436. responses:
  24437. "200":
  24438. description: OK
  24439. schema:
  24440. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  24441. "500":
  24442. description: Internal Server Error
  24443. schema:
  24444. $ref: '#/definitions/app.Response'
  24445. security:
  24446. - ApiKeyAuth: []
  24447. summary: 商品提货单查询
  24448. tags:
  24449. - 定制【尚志大宗】
  24450. /SZDZ/QueryRecieptOrder:
  24451. get:
  24452. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  24453. parameters:
  24454. - description: 页码
  24455. in: query
  24456. name: page
  24457. type: integer
  24458. - description: 每页条数
  24459. in: query
  24460. name: pagesize
  24461. type: integer
  24462. - description: 商品ID
  24463. in: query
  24464. name: goodsID
  24465. required: true
  24466. type: integer
  24467. - description: 所属账户名称
  24468. in: query
  24469. name: accountName
  24470. type: string
  24471. - description: 市场ID
  24472. in: query
  24473. name: marketID
  24474. type: integer
  24475. - description: 方向 - 0:买 1:卖
  24476. in: query
  24477. name: buyorsell
  24478. required: true
  24479. type: integer
  24480. produces:
  24481. - application/json
  24482. responses:
  24483. "200":
  24484. description: OK
  24485. schema:
  24486. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  24487. "500":
  24488. description: Internal Server Error
  24489. schema:
  24490. $ref: '#/definitions/app.Response'
  24491. security:
  24492. - ApiKeyAuth: []
  24493. summary: 点选挂牌委托单据查询(摘牌大厅)
  24494. tags:
  24495. - 定制【尚志大宗】
  24496. /SZDZ/QuerySZDZTradePosition:
  24497. get:
  24498. parameters:
  24499. - description: 资金账户
  24500. in: query
  24501. name: accountID
  24502. required: true
  24503. type: integer
  24504. produces:
  24505. - application/json
  24506. responses:
  24507. "200":
  24508. description: OK
  24509. schema:
  24510. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  24511. "500":
  24512. description: Internal Server Error
  24513. schema:
  24514. $ref: '#/definitions/app.Response'
  24515. security:
  24516. - ApiKeyAuth: []
  24517. summary: 持仓汇总查询(尚志大宗)
  24518. tags:
  24519. - 定制【尚志大宗】
  24520. /SZDZ/SearchWhite:
  24521. get:
  24522. parameters:
  24523. - description: 用户ID
  24524. in: query
  24525. name: userID
  24526. required: true
  24527. type: integer
  24528. produces:
  24529. - application/json
  24530. responses:
  24531. "200":
  24532. description: OK
  24533. schema:
  24534. $ref: '#/definitions/models.Szdz3searchwhitelist'
  24535. "500":
  24536. description: Internal Server Error
  24537. schema:
  24538. $ref: '#/definitions/app.Response'
  24539. security:
  24540. - ApiKeyAuth: []
  24541. summary: 搜索白名单
  24542. tags:
  24543. - 定制【尚志大宗】
  24544. /Search/SearchGoodses:
  24545. get:
  24546. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  24547. parameters:
  24548. - description: 检索内容
  24549. in: query
  24550. name: content
  24551. required: true
  24552. type: string
  24553. - description: 交易模式,格式:1,2,3
  24554. in: query
  24555. name: tradeModes
  24556. type: string
  24557. produces:
  24558. - application/json
  24559. responses:
  24560. "200":
  24561. description: OK
  24562. schema:
  24563. $ref: '#/definitions/models.SearchGoods'
  24564. "500":
  24565. description: Internal Server Error
  24566. schema:
  24567. $ref: '#/definitions/app.Response'
  24568. summary: 检索商品信息
  24569. tags:
  24570. - 检索服务
  24571. /TaAccount/GetTaAccounts:
  24572. get:
  24573. parameters:
  24574. - description: 登录账户
  24575. in: query
  24576. name: loginID
  24577. required: true
  24578. type: integer
  24579. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  24580. in: query
  24581. name: taAccountType
  24582. type: integer
  24583. produces:
  24584. - application/json
  24585. responses:
  24586. "200":
  24587. description: OK
  24588. schema:
  24589. $ref: '#/definitions/models.Taaccount'
  24590. "500":
  24591. description: Internal Server Error
  24592. schema:
  24593. $ref: '#/definitions/app.Response'
  24594. security:
  24595. - ApiKeyAuth: []
  24596. summary: 获取资金账户信息
  24597. tags:
  24598. - 资金账户
  24599. /TaAccount/QueryAmountLog:
  24600. get:
  24601. parameters:
  24602. - description: 页码
  24603. in: query
  24604. name: page
  24605. type: integer
  24606. - description: 每页条数
  24607. in: query
  24608. name: pagesize
  24609. type: integer
  24610. - description: 资金账户 - 格式:1,2,3
  24611. in: query
  24612. name: accountID
  24613. required: true
  24614. type: string
  24615. - description: 资金操作类型 - 格式:1,2,3
  24616. in: query
  24617. name: OperateType
  24618. type: string
  24619. produces:
  24620. - application/json
  24621. responses:
  24622. "200":
  24623. description: OK
  24624. schema:
  24625. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  24626. "500":
  24627. description: Internal Server Error
  24628. schema:
  24629. $ref: '#/definitions/app.Response'
  24630. security:
  24631. - ApiKeyAuth: []
  24632. summary: 资金流水查询(当前)
  24633. tags:
  24634. - 资金账户
  24635. /TaAccount/QueryHisAmountLog:
  24636. get:
  24637. parameters:
  24638. - description: 页码
  24639. in: query
  24640. name: page
  24641. type: integer
  24642. - description: 每页条数
  24643. in: query
  24644. name: pagesize
  24645. type: integer
  24646. - description: 资金账户 - 格式:1,2,3
  24647. in: query
  24648. name: accountID
  24649. required: true
  24650. type: string
  24651. - description: 资金操作类型 - 格式:1,2,3
  24652. in: query
  24653. name: OperateType
  24654. type: string
  24655. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  24656. in: query
  24657. name: startDate
  24658. type: string
  24659. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  24660. in: query
  24661. name: endDate
  24662. type: string
  24663. produces:
  24664. - application/json
  24665. responses:
  24666. "200":
  24667. description: OK
  24668. schema:
  24669. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  24670. "500":
  24671. description: Internal Server Error
  24672. schema:
  24673. $ref: '#/definitions/app.Response'
  24674. security:
  24675. - ApiKeyAuth: []
  24676. summary: 资金流水查询(历史)
  24677. tags:
  24678. - 资金账户
  24679. /Tjmd/QueryQuoteGoodsList:
  24680. get:
  24681. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  24682. parameters:
  24683. - description: 用户类型
  24684. in: query
  24685. name: usertype
  24686. required: true
  24687. type: integer
  24688. - description: 市场id, 格式 1,2,3
  24689. in: query
  24690. name: marketids
  24691. type: string
  24692. - description: 商品组id
  24693. in: query
  24694. name: goodsgroupid
  24695. type: integer
  24696. - description: 商品id
  24697. in: query
  24698. name: goodsid
  24699. type: integer
  24700. produces:
  24701. - application/json
  24702. responses:
  24703. "200":
  24704. description: OK
  24705. schema:
  24706. items:
  24707. $ref: '#/definitions/models.TjmdQuoteGoods'
  24708. type: array
  24709. "500":
  24710. description: Internal Server Error
  24711. schema:
  24712. $ref: '#/definitions/app.Response'
  24713. security:
  24714. - ApiKeyAuth: []
  24715. summary: 查询掉期报价列表
  24716. tags:
  24717. - 天津麦顿
  24718. /Tjmd/QueryTjmdTodayAccountMargin:
  24719. get:
  24720. parameters:
  24721. - description: 市场id
  24722. in: query
  24723. name: marketid
  24724. type: string
  24725. - description: 商品id
  24726. in: query
  24727. name: goodsid
  24728. type: string
  24729. - description: 资金账号
  24730. in: query
  24731. name: accountid
  24732. type: string
  24733. produces:
  24734. - application/json
  24735. responses:
  24736. "200":
  24737. description: OK
  24738. schema:
  24739. items:
  24740. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  24741. type: array
  24742. "500":
  24743. description: Internal Server Error
  24744. schema:
  24745. $ref: '#/definitions/app.Response'
  24746. security:
  24747. - ApiKeyAuth: []
  24748. summary: 查询今日账户保证金配置
  24749. tags:
  24750. - 天津麦顿
  24751. /Tjmd/QueryTjmdTradeOrderDetail:
  24752. get:
  24753. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  24754. parameters:
  24755. - description: 页码
  24756. in: query
  24757. name: page
  24758. type: integer
  24759. - description: 每页条数
  24760. in: query
  24761. name: pagesize
  24762. type: integer
  24763. - description: 用户类型
  24764. in: query
  24765. name: usertype
  24766. required: true
  24767. type: integer
  24768. - description: 市场id, 格式 1,2,3
  24769. in: query
  24770. name: marketids
  24771. type: string
  24772. - description: 商品id
  24773. in: query
  24774. name: goodsid
  24775. required: true
  24776. type: integer
  24777. - description: 买卖方向 0-买 1-卖
  24778. in: query
  24779. name: buyorsell
  24780. required: true
  24781. type: integer
  24782. produces:
  24783. - application/json
  24784. responses:
  24785. "200":
  24786. description: OK
  24787. schema:
  24788. items:
  24789. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  24790. type: array
  24791. "500":
  24792. description: Internal Server Error
  24793. schema:
  24794. $ref: '#/definitions/app.Response'
  24795. security:
  24796. - ApiKeyAuth: []
  24797. summary: 查询掉期买卖大厅
  24798. tags:
  24799. - 天津麦顿
  24800. /Tjmd/QueryTjmdTransferApply:
  24801. get:
  24802. parameters:
  24803. - description: 类型 1-我的申请 2-对方申请
  24804. in: query
  24805. name: applytype
  24806. required: true
  24807. type: integer
  24808. - description: 市场id, 格式 1,2,3
  24809. in: query
  24810. name: marketids
  24811. type: string
  24812. - description: 资金账号, 格式 25000000001,25000000003
  24813. in: query
  24814. name: accountids
  24815. type: string
  24816. produces:
  24817. - application/json
  24818. responses:
  24819. "200":
  24820. description: OK
  24821. schema:
  24822. items:
  24823. $ref: '#/definitions/models.TjmdTransferApply'
  24824. type: array
  24825. "500":
  24826. description: Internal Server Error
  24827. schema:
  24828. $ref: '#/definitions/app.Response'
  24829. security:
  24830. - ApiKeyAuth: []
  24831. summary: 查询掉期协议单
  24832. tags:
  24833. - 天津麦顿
  24834. /Trade/QueryRecieptOrder:
  24835. get:
  24836. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  24837. parameters:
  24838. - description: 页码
  24839. in: query
  24840. name: page
  24841. type: integer
  24842. - description: 每页条数
  24843. in: query
  24844. name: pagesize
  24845. type: integer
  24846. - description: 商品ID
  24847. in: query
  24848. name: goodsID
  24849. required: true
  24850. type: integer
  24851. - description: 所属账户名称
  24852. in: query
  24853. name: accountName
  24854. type: string
  24855. - description: 市场ID
  24856. in: query
  24857. name: marketID
  24858. type: integer
  24859. - description: 方向 - 0:买 1:卖
  24860. in: query
  24861. name: buyorsell
  24862. required: true
  24863. type: integer
  24864. produces:
  24865. - application/json
  24866. responses:
  24867. "200":
  24868. description: OK
  24869. schema:
  24870. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  24871. "500":
  24872. description: Internal Server Error
  24873. schema:
  24874. $ref: '#/definitions/app.Response'
  24875. security:
  24876. - ApiKeyAuth: []
  24877. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  24878. tags:
  24879. - 通用交易
  24880. /User/AddMessageBoard:
  24881. post:
  24882. parameters:
  24883. - description: 用户ID
  24884. in: query
  24885. name: userID
  24886. required: true
  24887. type: integer
  24888. - description: 留言信息
  24889. in: query
  24890. name: message
  24891. required: true
  24892. type: string
  24893. - description: 联系电话
  24894. in: query
  24895. name: contactNum
  24896. required: true
  24897. type: string
  24898. produces:
  24899. - application/json
  24900. responses:
  24901. "200":
  24902. description: OK
  24903. schema:
  24904. $ref: '#/definitions/app.Response'
  24905. "500":
  24906. description: Internal Server Error
  24907. schema:
  24908. $ref: '#/definitions/app.Response'
  24909. security:
  24910. - ApiKeyAuth: []
  24911. summary: 添加用户留言板信息
  24912. tags:
  24913. - 用户信息
  24914. /User/AddUserFavoriteGoods:
  24915. post:
  24916. parameters:
  24917. - description: 用户ID
  24918. in: query
  24919. name: userID
  24920. required: true
  24921. type: integer
  24922. - description: 商品ID
  24923. in: query
  24924. name: goodsID
  24925. required: true
  24926. type: integer
  24927. produces:
  24928. - application/json
  24929. responses:
  24930. "200":
  24931. description: OK
  24932. schema:
  24933. $ref: '#/definitions/app.Response'
  24934. "500":
  24935. description: Internal Server Error
  24936. schema:
  24937. $ref: '#/definitions/app.Response'
  24938. security:
  24939. - ApiKeyAuth: []
  24940. summary: 添加用户商品收藏信息
  24941. tags:
  24942. - 用户信息
  24943. /User/GetLoginID:
  24944. get:
  24945. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  24946. parameters:
  24947. - description: 登录代码
  24948. in: query
  24949. name: username
  24950. required: true
  24951. type: string
  24952. produces:
  24953. - application/json
  24954. responses:
  24955. "200":
  24956. description: OK
  24957. schema:
  24958. $ref: '#/definitions/app.Response'
  24959. "500":
  24960. description: Internal Server Error
  24961. schema:
  24962. $ref: '#/definitions/app.Response'
  24963. summary: 获取登录ID
  24964. tags:
  24965. - 用户信息
  24966. /User/GetUserAccount:
  24967. get:
  24968. parameters:
  24969. - description: 用户ID
  24970. in: query
  24971. name: userID
  24972. required: true
  24973. type: integer
  24974. produces:
  24975. - application/json
  24976. responses:
  24977. "200":
  24978. description: OK
  24979. schema:
  24980. $ref: '#/definitions/models.Useraccount'
  24981. "500":
  24982. description: Internal Server Error
  24983. schema:
  24984. $ref: '#/definitions/app.Response'
  24985. security:
  24986. - ApiKeyAuth: []
  24987. summary: 获取用户账号信息
  24988. tags:
  24989. - 用户信息
  24990. /User/GetUserAuthStatus:
  24991. get:
  24992. parameters:
  24993. - description: 用户ID
  24994. in: query
  24995. name: userID
  24996. required: true
  24997. type: integer
  24998. produces:
  24999. - application/json
  25000. responses:
  25001. "200":
  25002. description: OK
  25003. schema:
  25004. $ref: '#/definitions/app.Response'
  25005. "500":
  25006. description: Internal Server Error
  25007. schema:
  25008. $ref: '#/definitions/app.Response'
  25009. security:
  25010. - ApiKeyAuth: []
  25011. summary: 获取用户实名认证状态
  25012. tags:
  25013. - 用户信息
  25014. /User/LoginQuery:
  25015. get:
  25016. parameters:
  25017. - description: 登录账号
  25018. in: query
  25019. name: loginID
  25020. required: true
  25021. type: integer
  25022. produces:
  25023. - application/json
  25024. responses:
  25025. "200":
  25026. description: OK
  25027. schema:
  25028. $ref: '#/definitions/user.LoginQueryRsp'
  25029. "500":
  25030. description: Internal Server Error
  25031. schema:
  25032. $ref: '#/definitions/app.Response'
  25033. security:
  25034. - ApiKeyAuth: []
  25035. summary: 账户登录后信息查询
  25036. tags:
  25037. - 用户信息
  25038. /User/QueryMessageBoard:
  25039. get:
  25040. parameters:
  25041. - description: 用户ID
  25042. in: query
  25043. name: userID
  25044. required: true
  25045. type: integer
  25046. produces:
  25047. - application/json
  25048. responses:
  25049. "200":
  25050. description: OK
  25051. schema:
  25052. $ref: '#/definitions/models.Messageboard'
  25053. "500":
  25054. description: Internal Server Error
  25055. schema:
  25056. $ref: '#/definitions/app.Response'
  25057. security:
  25058. - ApiKeyAuth: []
  25059. summary: 获取用户留言板信息
  25060. tags:
  25061. - 用户信息
  25062. /User/QueryUserFavoriteGoodses:
  25063. get:
  25064. parameters:
  25065. - description: 用户ID
  25066. in: query
  25067. name: userID
  25068. required: true
  25069. type: integer
  25070. produces:
  25071. - application/json
  25072. responses:
  25073. "200":
  25074. description: OK
  25075. schema:
  25076. $ref: '#/definitions/models.Userfavoritegoods'
  25077. "500":
  25078. description: Internal Server Error
  25079. schema:
  25080. $ref: '#/definitions/app.Response'
  25081. security:
  25082. - ApiKeyAuth: []
  25083. summary: 获取用户商品收藏信息
  25084. tags:
  25085. - 用户信息
  25086. /User/QueryUserInfo:
  25087. get:
  25088. parameters:
  25089. - description: 用户ID
  25090. in: query
  25091. name: userID
  25092. required: true
  25093. type: integer
  25094. - description: 是否解密
  25095. in: query
  25096. name: isDecrypt
  25097. type: boolean
  25098. produces:
  25099. - application/json
  25100. responses:
  25101. "200":
  25102. description: OK
  25103. schema:
  25104. $ref: '#/definitions/models.Userinfo'
  25105. "500":
  25106. description: Internal Server Error
  25107. schema:
  25108. $ref: '#/definitions/app.Response'
  25109. security:
  25110. - ApiKeyAuth: []
  25111. summary: 获取用户信息
  25112. tags:
  25113. - 用户信息
  25114. /User/QueryUserReferNum:
  25115. get:
  25116. parameters:
  25117. - description: 用户ID
  25118. in: query
  25119. name: userID
  25120. required: true
  25121. type: integer
  25122. produces:
  25123. - application/json
  25124. responses:
  25125. "200":
  25126. description: OK
  25127. schema:
  25128. $ref: '#/definitions/app.Response'
  25129. "500":
  25130. description: Internal Server Error
  25131. schema:
  25132. $ref: '#/definitions/app.Response'
  25133. summary: 获取用户邀请码
  25134. tags:
  25135. - 用户信息
  25136. /User/RemoveUserFavoriteGoods:
  25137. post:
  25138. parameters:
  25139. - description: 用户ID
  25140. in: query
  25141. name: userID
  25142. required: true
  25143. type: integer
  25144. - description: 商品ID
  25145. in: query
  25146. name: goodsID
  25147. required: true
  25148. type: integer
  25149. produces:
  25150. - application/json
  25151. responses:
  25152. "200":
  25153. description: OK
  25154. schema:
  25155. $ref: '#/definitions/app.Response'
  25156. "500":
  25157. description: Internal Server Error
  25158. schema:
  25159. $ref: '#/definitions/app.Response'
  25160. security:
  25161. - ApiKeyAuth: []
  25162. summary: 移除用户商品收藏信息
  25163. tags:
  25164. - 用户信息
  25165. /User/UpdateUserAccountStatus:
  25166. post:
  25167. parameters:
  25168. - description: 用户ID
  25169. in: query
  25170. name: userID
  25171. required: true
  25172. type: integer
  25173. - description: 账户状态 - 4:正常 6:注销(停用)
  25174. in: query
  25175. name: accountStatus
  25176. required: true
  25177. type: integer
  25178. produces:
  25179. - application/json
  25180. responses:
  25181. "200":
  25182. description: OK
  25183. schema:
  25184. $ref: '#/definitions/app.Response'
  25185. "500":
  25186. description: Internal Server Error
  25187. schema:
  25188. $ref: '#/definitions/app.Response'
  25189. security:
  25190. - ApiKeyAuth: []
  25191. summary: 更新用户状态
  25192. tags:
  25193. - 用户信息
  25194. /WRTrade/GetAllDeliveryGoods:
  25195. get:
  25196. produces:
  25197. - application/json
  25198. - application/json
  25199. responses:
  25200. "200":
  25201. description: OK
  25202. schema:
  25203. $ref: '#/definitions/app.Response'
  25204. "500":
  25205. description: Internal Server Error
  25206. schema:
  25207. $ref: '#/definitions/app.Response'
  25208. security:
  25209. - ApiKeyAuth: []
  25210. - ApiKeyAuth: []
  25211. summary: 获取带仓单分类的种类信息
  25212. tags:
  25213. - 仓单贸易
  25214. - 仓单贸易
  25215. /WrTrade2/QueryFaProductDetail:
  25216. get:
  25217. description: 页面 买卖大厅 -> 选择融资方案
  25218. parameters:
  25219. - description: 仓单要素id
  25220. in: query
  25221. name: wrfactortypeid
  25222. required: true
  25223. type: integer
  25224. produces:
  25225. - application/json
  25226. responses:
  25227. "200":
  25228. description: OK
  25229. schema:
  25230. items:
  25231. $ref: '#/definitions/models.WrFAProductDetail'
  25232. type: array
  25233. "500":
  25234. description: Internal Server Error
  25235. schema:
  25236. $ref: '#/definitions/app.Response'
  25237. security:
  25238. - ApiKeyAuth: []
  25239. summary: 查询融资产品列表
  25240. tags:
  25241. - 仓单贸易v2
  25242. /WrTrade2/QueryFilterItem:
  25243. get:
  25244. parameters:
  25245. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  25246. in: query
  25247. name: itype
  25248. required: true
  25249. type: string
  25250. produces:
  25251. - application/json
  25252. responses:
  25253. "200":
  25254. description: OK
  25255. schema:
  25256. items:
  25257. $ref: '#/definitions/models.WrFilterItem'
  25258. type: array
  25259. "500":
  25260. description: Internal Server Error
  25261. schema:
  25262. $ref: '#/definitions/app.Response'
  25263. security:
  25264. - ApiKeyAuth: []
  25265. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  25266. tags:
  25267. - 仓单贸易v2
  25268. /WrTrade2/QueryFtDeliveryGoods:
  25269. get:
  25270. produces:
  25271. - application/json
  25272. responses:
  25273. "200":
  25274. description: OK
  25275. schema:
  25276. items:
  25277. $ref: '#/definitions/models.WrFtDeliveryGoods'
  25278. type: array
  25279. "500":
  25280. description: Internal Server Error
  25281. schema:
  25282. $ref: '#/definitions/app.Response'
  25283. security:
  25284. - ApiKeyAuth: []
  25285. summary: 查询品种品类筛选框列表
  25286. tags:
  25287. - 仓单贸易v2
  25288. /WrTrade2/QueryHoldLB:
  25289. get:
  25290. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  25291. parameters:
  25292. - description: 资金账号
  25293. in: query
  25294. name: accountid
  25295. required: true
  25296. type: integer
  25297. - description: 仓库id
  25298. in: query
  25299. name: warehouseid
  25300. type: integer
  25301. - description: 品种id
  25302. in: query
  25303. name: deliverygoodsid
  25304. type: integer
  25305. - description: 品类id
  25306. in: query
  25307. name: wrstandardid
  25308. type: integer
  25309. - description: 仓单要素id
  25310. in: query
  25311. name: wrfactortypeid
  25312. type: integer
  25313. produces:
  25314. - application/json
  25315. responses:
  25316. "200":
  25317. description: OK
  25318. schema:
  25319. items:
  25320. $ref: '#/definitions/models.WrHoldLB'
  25321. type: array
  25322. "500":
  25323. description: Internal Server Error
  25324. schema:
  25325. $ref: '#/definitions/app.Response'
  25326. security:
  25327. - ApiKeyAuth: []
  25328. summary: 查询仓单持有记录
  25329. tags:
  25330. - 仓单贸易v2
  25331. /WrTrade2/QueryOrderQuote:
  25332. get:
  25333. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  25334. 唯一确定1条记录
  25335. parameters:
  25336. - description: 页码
  25337. in: query
  25338. name: page
  25339. type: integer
  25340. - description: 每页条数
  25341. in: query
  25342. name: pagesize
  25343. type: integer
  25344. - description: 仓单贸易市场id
  25345. in: query
  25346. name: marketid
  25347. type: integer
  25348. - description: 价格方式 - 1:固定价 2-浮动价
  25349. in: query
  25350. name: wrpricetype
  25351. required: true
  25352. type: integer
  25353. - description: 0:仓单预售 1:仓单贸易
  25354. in: query
  25355. name: haswr
  25356. required: true
  25357. type: integer
  25358. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  25359. in: query
  25360. name: dgitemname
  25361. type: string
  25362. - description: 仓库id(筛选条件)
  25363. in: query
  25364. name: warehouseid
  25365. type: integer
  25366. - description: 品种id
  25367. in: query
  25368. name: deliverygoodsid
  25369. type: integer
  25370. - description: 品类id
  25371. in: query
  25372. name: wrstandardid
  25373. type: integer
  25374. - description: 仓单要素id
  25375. in: query
  25376. name: wrfactortypeid
  25377. type: integer
  25378. - description: 交收月(yyyy-mm) 仓单预售填写
  25379. in: query
  25380. name: deliverymonth
  25381. type: string
  25382. produces:
  25383. - application/json
  25384. responses:
  25385. "200":
  25386. description: OK
  25387. schema:
  25388. items:
  25389. $ref: '#/definitions/models.WrOrderQuote'
  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. - 仓单贸易v2
  25400. /WrTrade2/QueryOrderQuoteDetail:
  25401. get:
  25402. parameters:
  25403. - description: 页码
  25404. in: query
  25405. name: page
  25406. type: integer
  25407. - description: 每页条数
  25408. in: query
  25409. name: pagesize
  25410. type: integer
  25411. - description: 仓单贸易市场id
  25412. in: query
  25413. name: marketid
  25414. type: integer
  25415. - description: 价格方式 - 1:固定价 2-浮动价
  25416. in: query
  25417. name: wrpricetype
  25418. required: true
  25419. type: integer
  25420. - description: 0:仓单预售 1:仓单贸易
  25421. in: query
  25422. name: haswr
  25423. required: true
  25424. type: integer
  25425. - description: 仓单要素id
  25426. in: query
  25427. name: wrfactortypeid
  25428. required: true
  25429. type: integer
  25430. - description: 期货商品id(浮动价方式时填)
  25431. in: query
  25432. name: goodsid
  25433. type: integer
  25434. - description: 买卖方向 0-买 1-卖
  25435. in: query
  25436. name: buyorsell
  25437. required: true
  25438. type: integer
  25439. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  25440. in: query
  25441. name: deliverymonth
  25442. type: string
  25443. produces:
  25444. - application/json
  25445. responses:
  25446. "200":
  25447. description: OK
  25448. schema:
  25449. items:
  25450. $ref: '#/definitions/models.WrOrderQuoteDetail'
  25451. type: array
  25452. "500":
  25453. description: Internal Server Error
  25454. schema:
  25455. $ref: '#/definitions/app.Response'
  25456. security:
  25457. - ApiKeyAuth: []
  25458. summary: 查询买卖大厅
  25459. tags:
  25460. - 仓单贸易v2
  25461. /WrTrade2/QueryOrderQuoteMyq:
  25462. get:
  25463. parameters:
  25464. - description: 页码
  25465. in: query
  25466. name: page
  25467. type: integer
  25468. - description: 每页条数
  25469. in: query
  25470. name: pagesize
  25471. type: integer
  25472. - description: 用户id
  25473. in: query
  25474. name: userid
  25475. required: true
  25476. type: integer
  25477. - description: 仓单贸易市场id
  25478. in: query
  25479. name: marketid
  25480. type: integer
  25481. - description: 0:仓单预售 1:仓单贸易
  25482. in: query
  25483. name: haswr
  25484. required: true
  25485. type: integer
  25486. - description: 买卖方向 0-买 1-卖
  25487. in: query
  25488. name: buyorsell
  25489. required: true
  25490. type: integer
  25491. - description: 品种id
  25492. in: query
  25493. name: deliverygoodsid
  25494. type: integer
  25495. - description: 品类id
  25496. in: query
  25497. name: wrstandardid
  25498. type: integer
  25499. - description: 交收月(yyyy-mm) 仓单预售填写
  25500. in: query
  25501. name: deliverymonth
  25502. type: string
  25503. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  25504. in: query
  25505. name: dgitemname
  25506. type: string
  25507. produces:
  25508. - application/json
  25509. responses:
  25510. "200":
  25511. description: OK
  25512. schema:
  25513. items:
  25514. $ref: '#/definitions/models.WrQuoteOrderMyq'
  25515. type: array
  25516. "500":
  25517. description: Internal Server Error
  25518. schema:
  25519. $ref: '#/definitions/app.Response'
  25520. security:
  25521. - ApiKeyAuth: []
  25522. summary: 查询贸易圈挂牌大厅
  25523. tags:
  25524. - 仓单贸易v2
  25525. /WrTrade2/QueryPerformancePlan:
  25526. get:
  25527. parameters:
  25528. - description: 用户id
  25529. in: query
  25530. name: userid
  25531. required: true
  25532. type: integer
  25533. - description: 买卖方向 0-买 1-卖
  25534. in: query
  25535. name: buyorsell
  25536. required: true
  25537. type: integer
  25538. produces:
  25539. - application/json
  25540. responses:
  25541. "200":
  25542. description: OK
  25543. schema:
  25544. items:
  25545. $ref: '#/definitions/models.WrPerformancePlan'
  25546. type: array
  25547. "500":
  25548. description: Internal Server Error
  25549. schema:
  25550. $ref: '#/definitions/app.Response'
  25551. security:
  25552. - ApiKeyAuth: []
  25553. summary: 查询履约信息
  25554. tags:
  25555. - 仓单贸易v2
  25556. /WrTrade2/QueryPermancePlanTmp:
  25557. get:
  25558. description: 返回指定用户的模板和公共模板(用户id为空)
  25559. parameters:
  25560. - description: 用户id
  25561. in: query
  25562. name: userid
  25563. type: integer
  25564. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  25565. (无仓单) 5:挂牌期权 6:竞拍-降价式
  25566. in: query
  25567. name: tmptype
  25568. type: string
  25569. - description: 是否包含公共模板(用户id为空的) 1-包含
  25570. in: query
  25571. name: includepub
  25572. type: integer
  25573. produces:
  25574. - application/json
  25575. responses:
  25576. "200":
  25577. description: OK
  25578. schema:
  25579. items:
  25580. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  25581. type: array
  25582. "500":
  25583. description: Internal Server Error
  25584. schema:
  25585. $ref: '#/definitions/app.Response'
  25586. security:
  25587. - ApiKeyAuth: []
  25588. summary: 查询履约模板
  25589. tags:
  25590. - 仓单贸易v2
  25591. /WrTrade2/QueryWrAverageTradePrice:
  25592. get:
  25593. parameters:
  25594. - description: 页码
  25595. in: query
  25596. name: page
  25597. type: integer
  25598. - description: 每页条数
  25599. in: query
  25600. name: pagesize
  25601. type: integer
  25602. - description: 0:仓单预售 1:仓单贸易
  25603. in: query
  25604. name: haswr
  25605. required: true
  25606. type: integer
  25607. - description: 仓单要素id
  25608. in: query
  25609. name: wrfactortypeid
  25610. required: true
  25611. type: integer
  25612. produces:
  25613. - application/json
  25614. responses:
  25615. "200":
  25616. description: OK
  25617. schema:
  25618. items:
  25619. $ref: '#/definitions/models.WrAverageTradePrice'
  25620. type: array
  25621. "500":
  25622. description: Internal Server Error
  25623. schema:
  25624. $ref: '#/definitions/app.Response'
  25625. security:
  25626. - ApiKeyAuth: []
  25627. summary: 查询成交价(历史走势)
  25628. tags:
  25629. - 仓单贸易v2
  25630. /WrTrade2/QueryWrBsGoodsInfo:
  25631. get:
  25632. description: 合约交易/买卖大厅/详情
  25633. parameters:
  25634. - description: 商品id
  25635. in: query
  25636. name: goodsid
  25637. required: true
  25638. type: integer
  25639. produces:
  25640. - application/json
  25641. responses:
  25642. "200":
  25643. description: OK
  25644. schema:
  25645. items:
  25646. $ref: '#/definitions/models.WrBsGoodsInfo'
  25647. type: array
  25648. "500":
  25649. description: Internal Server Error
  25650. schema:
  25651. $ref: '#/definitions/app.Response'
  25652. security:
  25653. - ApiKeyAuth: []
  25654. summary: 查询合约交易买卖大厅详情
  25655. tags:
  25656. - 仓单贸易v2
  25657. /WrTrade2/QueryWrBuybackDetail:
  25658. get:
  25659. parameters:
  25660. - description: 融资合同id
  25661. in: query
  25662. name: scfcontractid
  25663. type: integer
  25664. produces:
  25665. - application/json
  25666. responses:
  25667. "200":
  25668. description: OK
  25669. schema:
  25670. items:
  25671. $ref: '#/definitions/models.WrBuybackDetail'
  25672. type: array
  25673. "500":
  25674. description: Internal Server Error
  25675. schema:
  25676. $ref: '#/definitions/app.Response'
  25677. security:
  25678. - ApiKeyAuth: []
  25679. summary: 查询仓单回购明细
  25680. tags:
  25681. - 仓单贸易v2
  25682. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  25683. get:
  25684. parameters:
  25685. - description: 资金账号
  25686. in: query
  25687. name: accountid
  25688. required: true
  25689. type: integer
  25690. - description: 商品id
  25691. in: query
  25692. name: goodsid
  25693. required: true
  25694. type: integer
  25695. produces:
  25696. - application/json
  25697. responses:
  25698. "200":
  25699. description: OK
  25700. schema:
  25701. items:
  25702. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  25703. type: array
  25704. "500":
  25705. description: Internal Server Error
  25706. schema:
  25707. $ref: '#/definitions/app.Response'
  25708. security:
  25709. - ApiKeyAuth: []
  25710. summary: 查询合约交收可点选仓单
  25711. tags:
  25712. - 仓单贸易v2
  25713. /WrTrade2/QueryWrDeliveryDetail:
  25714. get:
  25715. parameters:
  25716. - description: 用户id
  25717. in: query
  25718. name: userid
  25719. required: true
  25720. type: integer
  25721. - description: 资金账号id
  25722. in: query
  25723. name: accountid
  25724. type: integer
  25725. produces:
  25726. - application/json
  25727. responses:
  25728. "200":
  25729. description: OK
  25730. schema:
  25731. items:
  25732. $ref: '#/definitions/models.WrDeliveryDetail'
  25733. type: array
  25734. "500":
  25735. description: Internal Server Error
  25736. schema:
  25737. $ref: '#/definitions/app.Response'
  25738. security:
  25739. - ApiKeyAuth: []
  25740. summary: 查询交收
  25741. tags:
  25742. - 仓单贸易v2
  25743. /WrTrade2/QueryWrFactorTypeInfo:
  25744. get:
  25745. parameters:
  25746. - description: 仓单要素id
  25747. in: query
  25748. name: wrfactortypeid
  25749. required: true
  25750. type: integer
  25751. produces:
  25752. - application/json
  25753. responses:
  25754. "200":
  25755. description: OK
  25756. schema:
  25757. items:
  25758. $ref: '#/definitions/models.WrFactorTypeInfo'
  25759. type: array
  25760. "500":
  25761. description: Internal Server Error
  25762. schema:
  25763. $ref: '#/definitions/app.Response'
  25764. security:
  25765. - ApiKeyAuth: []
  25766. summary: 查询仓单要素详细信息
  25767. tags:
  25768. - 仓单贸易v2
  25769. /WrTrade2/QueryWrFactorTypeInfoEx:
  25770. get:
  25771. parameters:
  25772. - description: 仓单要素id
  25773. in: query
  25774. name: wrfactortypeid
  25775. required: true
  25776. type: integer
  25777. produces:
  25778. - application/json
  25779. responses:
  25780. "200":
  25781. description: OK
  25782. schema:
  25783. items:
  25784. $ref: '#/definitions/models.WrTypeItem'
  25785. type: array
  25786. "500":
  25787. description: Internal Server Error
  25788. schema:
  25789. $ref: '#/definitions/app.Response'
  25790. security:
  25791. - ApiKeyAuth: []
  25792. summary: 查询仓单要素详细信息列表项
  25793. tags:
  25794. - 仓单贸易v2
  25795. /WrTrade2/QueryWrFinanceBuyApply:
  25796. get:
  25797. description: 页面 融资信息+ / 申请单
  25798. parameters:
  25799. - description: 用户id
  25800. in: query
  25801. name: userid
  25802. required: true
  25803. type: integer
  25804. produces:
  25805. - application/json
  25806. responses:
  25807. "200":
  25808. description: OK
  25809. schema:
  25810. items:
  25811. $ref: '#/definitions/models.WrFinanceBuyApply'
  25812. type: array
  25813. "500":
  25814. description: Internal Server Error
  25815. schema:
  25816. $ref: '#/definitions/app.Response'
  25817. security:
  25818. - ApiKeyAuth: []
  25819. summary: 查询融资购买申请
  25820. tags:
  25821. - 仓单贸易v2
  25822. /WrTrade2/QueryWrFriendApply:
  25823. get:
  25824. parameters:
  25825. - description: 用户id
  25826. in: query
  25827. name: userid
  25828. required: true
  25829. type: integer
  25830. produces:
  25831. - application/json
  25832. responses:
  25833. "200":
  25834. description: OK
  25835. schema:
  25836. items:
  25837. $ref: '#/definitions/models.WrFriendApply'
  25838. type: array
  25839. "500":
  25840. description: Internal Server Error
  25841. schema:
  25842. $ref: '#/definitions/app.Response'
  25843. security:
  25844. - ApiKeyAuth: []
  25845. summary: 查询好友申请记录
  25846. tags:
  25847. - 仓单贸易v2
  25848. /WrTrade2/QueryWrGoodsInfo:
  25849. get:
  25850. parameters:
  25851. - description: 仓单贸易市场id
  25852. in: query
  25853. name: marketid
  25854. type: integer
  25855. - description: 0:仓单预售 1:仓单贸易
  25856. in: query
  25857. name: haswr
  25858. required: true
  25859. type: integer
  25860. - description: 仓单要素id
  25861. in: query
  25862. name: wrfactortypeid
  25863. required: true
  25864. type: integer
  25865. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  25866. in: query
  25867. name: tmplateid
  25868. type: integer
  25869. produces:
  25870. - application/json
  25871. responses:
  25872. "200":
  25873. description: OK
  25874. schema:
  25875. items:
  25876. $ref: '#/definitions/models.WrGoodsInfo'
  25877. type: array
  25878. "500":
  25879. description: Internal Server Error
  25880. schema:
  25881. $ref: '#/definitions/app.Response'
  25882. security:
  25883. - ApiKeyAuth: []
  25884. summary: 查询仓单商品信息
  25885. tags:
  25886. - 仓单贸易v2
  25887. /WrTrade2/QueryWrMarketTradeConfig:
  25888. get:
  25889. parameters:
  25890. - description: 市场id
  25891. in: query
  25892. name: marketid
  25893. type: integer
  25894. produces:
  25895. - application/json
  25896. responses:
  25897. "200":
  25898. description: OK
  25899. schema:
  25900. items:
  25901. $ref: '#/definitions/models.WrMarketTradeConfig'
  25902. type: array
  25903. "500":
  25904. description: Internal Server Error
  25905. schema:
  25906. $ref: '#/definitions/app.Response'
  25907. security:
  25908. - ApiKeyAuth: []
  25909. summary: 查询市场交易参数配置
  25910. tags:
  25911. - 仓单贸易v2
  25912. /WrTrade2/QueryWrOrderDetail:
  25913. get:
  25914. description: 页面 现货仓单 | 预售仓单 -> 挂单
  25915. parameters:
  25916. - description: 页码
  25917. in: query
  25918. name: page
  25919. type: integer
  25920. - description: 每页条数
  25921. in: query
  25922. name: pagesize
  25923. type: integer
  25924. - description: 用户id
  25925. in: query
  25926. name: userid
  25927. required: true
  25928. type: integer
  25929. - description: 仓单贸易市场id
  25930. in: query
  25931. name: marketid
  25932. type: integer
  25933. - description: 0:仓单预售 1:仓单贸易
  25934. in: query
  25935. name: haswr
  25936. required: true
  25937. type: integer
  25938. produces:
  25939. - application/json
  25940. responses:
  25941. "200":
  25942. description: OK
  25943. schema:
  25944. items:
  25945. $ref: '#/definitions/models.WrOrderDetail'
  25946. type: array
  25947. "500":
  25948. description: Internal Server Error
  25949. schema:
  25950. $ref: '#/definitions/app.Response'
  25951. security:
  25952. - ApiKeyAuth: []
  25953. summary: 查询仓单委托单(挂单)
  25954. tags:
  25955. - 仓单贸易v2
  25956. /WrTrade2/QueryWrOutInApply:
  25957. get:
  25958. parameters:
  25959. - description: 用户id
  25960. in: query
  25961. name: userid
  25962. required: true
  25963. type: integer
  25964. produces:
  25965. - application/json
  25966. responses:
  25967. "200":
  25968. description: OK
  25969. schema:
  25970. items:
  25971. $ref: '#/definitions/models.WrOutInApply'
  25972. type: array
  25973. "500":
  25974. description: Internal Server Error
  25975. schema:
  25976. $ref: '#/definitions/app.Response'
  25977. security:
  25978. - ApiKeyAuth: []
  25979. summary: 查询提货申请
  25980. tags:
  25981. - 仓单贸易v2
  25982. /WrTrade2/QueryWrPerformancePlanStep:
  25983. get:
  25984. parameters:
  25985. - description: 履约计划id(performanceplanid)
  25986. in: query
  25987. name: planid
  25988. required: true
  25989. type: integer
  25990. - description: 当前步骤id
  25991. in: query
  25992. name: curstepid
  25993. type: integer
  25994. produces:
  25995. - application/json
  25996. responses:
  25997. "200":
  25998. description: OK
  25999. schema:
  26000. items:
  26001. $ref: '#/definitions/models.WrPerformancePlanStep'
  26002. type: array
  26003. "500":
  26004. description: Internal Server Error
  26005. schema:
  26006. $ref: '#/definitions/app.Response'
  26007. security:
  26008. - ApiKeyAuth: []
  26009. summary: 查询履约信息详情
  26010. tags:
  26011. - 仓单贸易v2
  26012. /WrTrade2/QueryWrPerformanceStepType:
  26013. get:
  26014. produces:
  26015. - application/json
  26016. responses:
  26017. "200":
  26018. description: OK
  26019. schema:
  26020. items:
  26021. $ref: '#/definitions/models.WrPerformanceStepType'
  26022. type: array
  26023. "500":
  26024. description: Internal Server Error
  26025. schema:
  26026. $ref: '#/definitions/app.Response'
  26027. security:
  26028. - ApiKeyAuth: []
  26029. summary: 查询履约步骤枚举
  26030. tags:
  26031. - 仓单贸易v2
  26032. /WrTrade2/QueryWrPosition:
  26033. get:
  26034. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  26035. parameters:
  26036. - description: 用户id
  26037. in: query
  26038. name: userid
  26039. required: true
  26040. type: integer
  26041. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  26042. in: query
  26043. name: querytype
  26044. required: true
  26045. type: integer
  26046. - description: 0:仓单预售 1:仓单贸易
  26047. in: query
  26048. name: haswr
  26049. required: true
  26050. type: integer
  26051. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  26052. in: query
  26053. name: dgitemname
  26054. type: string
  26055. - description: 仓库id(筛选条件)
  26056. in: query
  26057. name: warehouseid
  26058. type: integer
  26059. - description: 品种id
  26060. in: query
  26061. name: deliverygoodsid
  26062. type: integer
  26063. - description: 品类id
  26064. in: query
  26065. name: wrstandardid
  26066. type: integer
  26067. produces:
  26068. - application/json
  26069. responses:
  26070. "200":
  26071. description: OK
  26072. schema:
  26073. items:
  26074. $ref: '#/definitions/models.WrPosition'
  26075. type: array
  26076. "500":
  26077. description: Internal Server Error
  26078. schema:
  26079. $ref: '#/definitions/app.Response'
  26080. security:
  26081. - ApiKeyAuth: []
  26082. summary: 查询现货(预售)仓单持仓
  26083. tags:
  26084. - 仓单贸易v2
  26085. /WrTrade2/QueryWrScfContract:
  26086. get:
  26087. parameters:
  26088. - description: 用户id
  26089. in: query
  26090. name: userid
  26091. required: true
  26092. type: integer
  26093. - description: 融资合同id
  26094. in: query
  26095. name: scfcontractid
  26096. type: integer
  26097. produces:
  26098. - application/json
  26099. responses:
  26100. "200":
  26101. description: OK
  26102. schema:
  26103. items:
  26104. $ref: '#/definitions/models.WrScfContract'
  26105. type: array
  26106. "500":
  26107. description: Internal Server Error
  26108. schema:
  26109. $ref: '#/definitions/app.Response'
  26110. security:
  26111. - ApiKeyAuth: []
  26112. summary: 查询仓单贸易融资合同
  26113. tags:
  26114. - 仓单贸易v2
  26115. /WrTrade2/QueryWrScfContractInterest:
  26116. get:
  26117. parameters:
  26118. - description: 融资合同id
  26119. in: query
  26120. name: scfcontractid
  26121. type: integer
  26122. produces:
  26123. - application/json
  26124. responses:
  26125. "200":
  26126. description: OK
  26127. schema:
  26128. items:
  26129. $ref: '#/definitions/models.WrScfContractInterest'
  26130. type: array
  26131. "500":
  26132. description: Internal Server Error
  26133. schema:
  26134. $ref: '#/definitions/app.Response'
  26135. security:
  26136. - ApiKeyAuth: []
  26137. summary: 查询融资合同费用明细
  26138. tags:
  26139. - 仓单贸易v2
  26140. /WrTrade2/QueryWrSpecialMatchOrder:
  26141. get:
  26142. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  26143. parameters:
  26144. - description: 页码
  26145. in: query
  26146. name: page
  26147. type: integer
  26148. - description: 每页条数
  26149. in: query
  26150. name: pagesize
  26151. type: integer
  26152. - description: 用户id
  26153. in: query
  26154. name: userid
  26155. required: true
  26156. type: integer
  26157. - description: 仓单贸易市场id
  26158. in: query
  26159. name: marketid
  26160. type: integer
  26161. - description: 0:仓单预售 1:仓单贸易
  26162. in: query
  26163. name: haswr
  26164. required: true
  26165. type: integer
  26166. produces:
  26167. - application/json
  26168. responses:
  26169. "200":
  26170. description: OK
  26171. schema:
  26172. items:
  26173. $ref: '#/definitions/models.WrSpecialMatchOrder'
  26174. type: array
  26175. "500":
  26176. description: Internal Server Error
  26177. schema:
  26178. $ref: '#/definitions/app.Response'
  26179. security:
  26180. - ApiKeyAuth: []
  26181. summary: 查询指定成交
  26182. tags:
  26183. - 仓单贸易v2
  26184. /WrTrade2/QueryWrStandardFactoryItem:
  26185. get:
  26186. parameters:
  26187. - description: 品类id
  26188. in: query
  26189. name: wrstandardid
  26190. required: true
  26191. type: integer
  26192. produces:
  26193. - application/json
  26194. responses:
  26195. "200":
  26196. description: OK
  26197. schema:
  26198. items:
  26199. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  26200. type: array
  26201. "500":
  26202. description: Internal Server Error
  26203. schema:
  26204. $ref: '#/definitions/app.Response'
  26205. security:
  26206. - ApiKeyAuth: []
  26207. summary: 查询品类要素定义项
  26208. tags:
  26209. - 仓单贸易v2
  26210. /WrTrade2/QueryWrTradeBargainApply:
  26211. get:
  26212. description: 1.页面 挂单/议价单, 只需传单号就行 2.页面 议价, 查的是作为摘牌方发起的议价单, 参数 userid=登录userid
  26213. 3. 页面 议价/议价单, 和2类似, 但要指定单号 参数 userid, wrtradeorderid
  26214. parameters:
  26215. - description: 议价人id(摘牌方)
  26216. in: query
  26217. name: userid
  26218. type: integer
  26219. - description: 关联委托单id
  26220. in: query
  26221. name: wrtradeorderid
  26222. type: integer
  26223. - description: 0:仓单预售 1:仓单贸易
  26224. in: query
  26225. name: haswr
  26226. required: true
  26227. type: integer
  26228. produces:
  26229. - application/json
  26230. responses:
  26231. "200":
  26232. description: OK
  26233. schema:
  26234. items:
  26235. $ref: '#/definitions/models.WRTradeBargainApply'
  26236. type: array
  26237. "500":
  26238. description: Internal Server Error
  26239. schema:
  26240. $ref: '#/definitions/app.Response'
  26241. security:
  26242. - ApiKeyAuth: []
  26243. summary: 查询议价单
  26244. tags:
  26245. - 仓单贸易v2
  26246. /WrTrade2/QueryWrTradeDetail:
  26247. get:
  26248. parameters:
  26249. - description: 页码
  26250. in: query
  26251. name: page
  26252. type: integer
  26253. - description: 每页条数
  26254. in: query
  26255. name: pagesize
  26256. type: integer
  26257. - description: 用户id
  26258. in: query
  26259. name: userid
  26260. required: true
  26261. type: integer
  26262. - description: 仓单贸易市场id
  26263. in: query
  26264. name: marketid
  26265. type: integer
  26266. - description: 0:仓单预售 1:仓单贸易
  26267. in: query
  26268. name: haswr
  26269. required: true
  26270. type: integer
  26271. produces:
  26272. - application/json
  26273. responses:
  26274. "200":
  26275. description: OK
  26276. schema:
  26277. items:
  26278. $ref: '#/definitions/models.WrTradeDetail'
  26279. type: array
  26280. "500":
  26281. description: Internal Server Error
  26282. schema:
  26283. $ref: '#/definitions/app.Response'
  26284. security:
  26285. - ApiKeyAuth: []
  26286. summary: 查询仓单成交明细
  26287. tags:
  26288. - 仓单贸易v2
  26289. /WrTrade2/QueryWrTradeOrderDetail:
  26290. get:
  26291. parameters:
  26292. - description: 页码
  26293. in: query
  26294. name: page
  26295. type: integer
  26296. - description: 每页条数
  26297. in: query
  26298. name: pagesize
  26299. type: integer
  26300. - description: 商品id
  26301. in: query
  26302. name: goodsid
  26303. required: true
  26304. type: integer
  26305. - description: 买卖方向 0-买 1-卖
  26306. in: query
  26307. name: buyorsell
  26308. required: true
  26309. type: integer
  26310. produces:
  26311. - application/json
  26312. responses:
  26313. "200":
  26314. description: OK
  26315. schema:
  26316. items:
  26317. $ref: '#/definitions/models.WrTradeOrderDetail'
  26318. type: array
  26319. "500":
  26320. description: Internal Server Error
  26321. schema:
  26322. $ref: '#/definitions/app.Response'
  26323. security:
  26324. - ApiKeyAuth: []
  26325. summary: 查询合约交易买卖大厅
  26326. tags:
  26327. - 仓单贸易v2
  26328. /WrTrade2/QueryWrUserFriend:
  26329. get:
  26330. parameters:
  26331. - description: 用户id
  26332. in: query
  26333. name: userid
  26334. required: true
  26335. type: integer
  26336. - description: 新朋友userid, 如果填写了此项则查找新朋友
  26337. in: query
  26338. name: newuserid
  26339. type: integer
  26340. produces:
  26341. - application/json
  26342. responses:
  26343. "200":
  26344. description: OK
  26345. schema:
  26346. items:
  26347. $ref: '#/definitions/models.WrUserFriend'
  26348. type: array
  26349. "500":
  26350. description: Internal Server Error
  26351. schema:
  26352. $ref: '#/definitions/app.Response'
  26353. security:
  26354. - ApiKeyAuth: []
  26355. summary: 查询我的朋友
  26356. tags:
  26357. - 仓单贸易v2
  26358. securityDefinitions:
  26359. ApiKeyAuth:
  26360. in: header
  26361. name: Authorization
  26362. type: apiKey
  26363. swagger: "2.0"