swagger.yaml 769 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750
  1. basePath: /api
  2. definitions:
  3. app.Response:
  4. properties:
  5. code:
  6. type: integer
  7. data:
  8. type: object
  9. msg:
  10. type: string
  11. page:
  12. description: 页码
  13. type: integer
  14. pagesize:
  15. description: 每页条数
  16. type: integer
  17. total:
  18. description: 总条数
  19. type: integer
  20. type: object
  21. common.ClientMenu:
  22. properties:
  23. children:
  24. description: 子菜单列表
  25. items:
  26. $ref: '#/definitions/common.ClientMenu'
  27. type: array
  28. code:
  29. description: ID
  30. type: string
  31. isshow:
  32. description: 是否显示
  33. type: boolean
  34. remark:
  35. description: 备注
  36. type: string
  37. rulekey:
  38. description: 对应权限主键,对应FUNCMENULIST表RESOURCECODE
  39. type: string
  40. sort:
  41. description: 排序
  42. type: integer
  43. title:
  44. description: 标题
  45. type: string
  46. type:
  47. description: 类型,1:菜单 2:按钮
  48. type: integer
  49. url:
  50. description: URL
  51. type: string
  52. type: object
  53. common.PCWebMenu:
  54. properties:
  55. auth:
  56. description: 页面权限列表
  57. items:
  58. $ref: '#/definitions/common.PCWebMenuAuth'
  59. type: array
  60. children:
  61. description: 子菜单列表
  62. items:
  63. $ref: '#/definitions/common.PCWebMenu'
  64. type: array
  65. code:
  66. description: ID,新版本中权限KEY也是这个字段
  67. type: string
  68. component:
  69. description: 路由组件
  70. type: string
  71. isshow:
  72. description: 是否显示
  73. type: boolean
  74. path:
  75. description: 路由路径
  76. type: string
  77. remark:
  78. description: 备注
  79. type: string
  80. rulekey:
  81. description: 权限主键,非空表示需要判断控制,非空值不可重复
  82. type: string
  83. sort:
  84. description: 排序
  85. type: integer
  86. title:
  87. description: 标题
  88. type: string
  89. url:
  90. description: URL
  91. type: string
  92. type: object
  93. common.PCWebMenuAuth:
  94. properties:
  95. code:
  96. description: ID,新版本中权限KEY也是这个字段
  97. type: string
  98. isshow:
  99. description: 是否显示
  100. type: boolean
  101. label:
  102. description: 标题
  103. type: string
  104. remark:
  105. description: 备注
  106. type: string
  107. rulekey:
  108. description: 权限主键,非空表示需要判断控制,非空值不可重复
  109. type: string
  110. type: object
  111. common.QueryImageConfigsRsp:
  112. properties:
  113. areauserid:
  114. description: 所属机构ID
  115. type: integer
  116. configid:
  117. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  118. type: integer
  119. createdate:
  120. description: 创建时间
  121. type: string
  122. creatorid:
  123. description: 创建人
  124. type: integer
  125. imagepath:
  126. description: 图片
  127. type: string
  128. imagetype:
  129. description: 类型 - 1:首页轮播(移动) 2:我的(移动)
  130. type: integer
  131. isshow:
  132. description: 是否展示 - 0:不展示 1:展示
  133. type: integer
  134. marketid:
  135. description: 市场ID
  136. type: integer
  137. modifierid:
  138. description: 操作人
  139. type: integer
  140. sort:
  141. description: 排序
  142. type: integer
  143. title:
  144. description: 标题
  145. type: string
  146. trademode:
  147. description: 交易模式
  148. type: integer
  149. updatedate:
  150. description: 修改时间
  151. type: string
  152. url:
  153. description: 链接(地址或商品ID)
  154. type: string
  155. urltype:
  156. description: 链接类型 - 1:直接地址 2:商品ID
  157. type: integer
  158. required:
  159. - configid
  160. type: object
  161. common.QueryNoticeRsp:
  162. properties:
  163. auditoruserid:
  164. description: 审核人
  165. type: integer
  166. auditremark:
  167. description: 审核备注
  168. type: string
  169. audittime:
  170. description: 审核日期
  171. type: string
  172. autoid:
  173. description: 自增ID
  174. type: integer
  175. content:
  176. description: 内容
  177. type: string
  178. createtime:
  179. description: 创建时间
  180. type: string
  181. creatorid:
  182. description: 建仓人
  183. type: integer
  184. endtime:
  185. description: 结束时间
  186. type: string
  187. istop:
  188. description: 是否置顶 - 0:不置顶 1:置顶
  189. type: integer
  190. msgiconurl:
  191. description: 消息图标Url
  192. type: string
  193. msgtype:
  194. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  195. type: integer
  196. publisher:
  197. description: 消息发布者
  198. type: string
  199. readed:
  200. description: 是否已读
  201. type: boolean
  202. scheduletime:
  203. description: 计划发送时间
  204. type: string
  205. sendtype:
  206. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  207. type: integer
  208. sentstatus:
  209. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  210. type: integer
  211. title:
  212. description: 标题
  213. type: string
  214. userid:
  215. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  216. type: integer
  217. required:
  218. - autoid
  219. type: object
  220. common.QueryProvincesAndCitiesRsp:
  221. properties:
  222. cities:
  223. description: 市
  224. items:
  225. $ref: '#/definitions/models.Division'
  226. type: array
  227. province:
  228. $ref: '#/definitions/models.Division'
  229. description: 省
  230. type: object
  231. common.QueryTableDefineRsp:
  232. properties:
  233. columns:
  234. description: 列头信息数组
  235. items:
  236. $ref: '#/definitions/models.Tablecolumnconfig'
  237. type: array
  238. remark:
  239. description: Remark
  240. type: string
  241. tabelmenu:
  242. description: 列表菜单
  243. type: string
  244. tablekey:
  245. description: 列表Key
  246. type: string
  247. tablename:
  248. description: 列表名称
  249. type: string
  250. tabletype:
  251. description: 列表类型 - 1:管理端 2:终端
  252. type: integer
  253. required:
  254. - tablekey
  255. type: object
  256. common.QueryTraderMenuRsp:
  257. properties:
  258. OperationMenu:
  259. description: 功能菜单
  260. items:
  261. $ref: '#/definitions/models.OperationPrimaryMenu'
  262. type: array
  263. QuoteMenu:
  264. description: 报价牌分类菜单
  265. items:
  266. $ref: '#/definitions/models.QuotePrimaryMenu'
  267. type: array
  268. type: object
  269. cptrade.Cptradepositioncancel:
  270. properties:
  271. accountid:
  272. description: 申请人账户ID
  273. type: integer
  274. applystatus:
  275. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  276. type: integer
  277. applytime:
  278. description: 申请时间
  279. type: string
  280. cancelid:
  281. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  282. type: integer
  283. cancelqty:
  284. description: 注销数量
  285. type: integer
  286. createtime:
  287. description: 创建时间
  288. type: string
  289. creatorid:
  290. description: 创建人ID
  291. type: integer
  292. creatorname:
  293. description: 创建人
  294. type: string
  295. goodscode:
  296. description: 订单商品代码
  297. type: string
  298. goodsid:
  299. description: 商品ID
  300. type: integer
  301. goodsname:
  302. description: 订单商品名称
  303. type: string
  304. goodunit:
  305. description: 报价单位
  306. type: string
  307. handlestatus:
  308. description: 处理状态
  309. type: integer
  310. marketid:
  311. description: 市场ID
  312. type: integer
  313. marketname:
  314. description: 市场名称
  315. type: string
  316. tradedate:
  317. description: 交易日(yyyyMMdd)
  318. type: string
  319. userid:
  320. description: 申请人ID
  321. type: integer
  322. required:
  323. - cancelid
  324. type: object
  325. cptrade.Cptradepresaleapply:
  326. properties:
  327. accountid:
  328. description: 申请人账户ID
  329. type: integer
  330. applyid:
  331. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  332. type: integer
  333. applyremark:
  334. description: 申请备注
  335. type: string
  336. applystatus:
  337. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  338. type: integer
  339. applytime:
  340. description: 申请时间
  341. type: string
  342. attachmenturl:
  343. description: 附件地址
  344. type: string
  345. endtime:
  346. description: 预售结束时间
  347. type: string
  348. goodscode:
  349. description: 商品代码
  350. type: string
  351. goodsid:
  352. description: 商品ID
  353. type: integer
  354. goodsname:
  355. description: 商品名称
  356. type: string
  357. goodunit:
  358. description: 报价单位
  359. type: string
  360. handlestatus:
  361. description: 处理状态
  362. type: integer
  363. marketid:
  364. description: 预售市场ID
  365. type: integer
  366. marketname:
  367. description: 预售市场名称
  368. type: string
  369. presaleqty:
  370. description: 预售数量
  371. type: integer
  372. relatedgoodscode:
  373. description: 关联交易合约代码
  374. type: string
  375. relatedgoodsid:
  376. description: 关联交易合约ID
  377. type: integer
  378. relatedgoodsname:
  379. description: 关联交易合约名称
  380. type: string
  381. starttime:
  382. description: 预售开始时间
  383. type: string
  384. tradedate:
  385. description: 交易日(yyyyMMdd)
  386. type: string
  387. trademode:
  388. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  389. type: integer
  390. userid:
  391. description: 申请人ID
  392. type: integer
  393. required:
  394. - applyid
  395. type: object
  396. cptrade.Cptradeusergoodsdata:
  397. properties:
  398. EnabledQty:
  399. description: 可用量
  400. type: integer
  401. GoodsCode:
  402. description: 订单商品代码
  403. type: string
  404. GoodsName:
  405. description: 订单商品名称
  406. type: string
  407. WRStandardCode:
  408. description: 仓单标准代码
  409. type: string
  410. WRStandardName:
  411. description: 仓单标准名称
  412. type: string
  413. accountid:
  414. description: 账户ID
  415. type: integer
  416. cancelqty:
  417. description: 注销量
  418. type: integer
  419. curpresaleqty:
  420. description: 当前预售量
  421. type: integer
  422. deliveryqty:
  423. description: 交割量
  424. type: integer
  425. freezeamount:
  426. description: 冻结金额
  427. type: number
  428. goodsid:
  429. description: 商品ID
  430. type: integer
  431. goodunit:
  432. description: 报价单位
  433. type: string
  434. hasspotfreeze:
  435. description: 是否有现货冻结 - 0:否 1:有
  436. type: integer
  437. inqty:
  438. description: 转入量(总数量)
  439. type: integer
  440. marketid:
  441. description: 市场ID
  442. type: integer
  443. presaledamount:
  444. description: 已预售总金额
  445. type: integer
  446. presaledqty:
  447. description: 已预售量
  448. type: integer
  449. userid:
  450. description: 用户ID
  451. type: integer
  452. wrstandardid:
  453. description: 仓单标准ID
  454. type: integer
  455. required:
  456. - accountid
  457. - goodsid
  458. type: object
  459. cptrade.QueryCPTradeMyBidRsp:
  460. properties:
  461. accountid:
  462. description: 账户ID[报价币种]
  463. type: integer
  464. goodsid:
  465. description: 商品ID
  466. type: integer
  467. goodunit:
  468. description: 报价单位
  469. type: string
  470. marketid:
  471. description: 市场ID
  472. type: integer
  473. orderid:
  474. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  475. type: integer
  476. orderprice:
  477. description: 委托价格
  478. type: number
  479. orderqty:
  480. description: 委托数量
  481. type: integer
  482. ordertime:
  483. description: 委托时间
  484. type: string
  485. ordertotalprice:
  486. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  487. type: number
  488. ordertotalweight:
  489. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  490. type: integer
  491. totaltotalprice:
  492. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  493. type: number
  494. tradeprice:
  495. description: 成交价格
  496. type: number
  497. tradeqty:
  498. description: 成交数量
  499. type: integer
  500. required:
  501. - accountid
  502. - goodsid
  503. - marketid
  504. - orderid
  505. - orderqty
  506. - ordertime
  507. - tradeprice
  508. - tradeqty
  509. type: object
  510. cptrade.QueryCPTradeOrderDetailRsq:
  511. properties:
  512. accountid:
  513. description: 账户ID[报价币种]
  514. type: integer
  515. buildtype:
  516. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  517. type: integer
  518. buyorsell:
  519. description: 买卖 - 0:买 1:卖
  520. type: integer
  521. cancelorderid:
  522. description: 撤单单号(撤单时填写)
  523. type: integer
  524. cancelqty:
  525. description: 撤单数量
  526. type: integer
  527. clientordertime:
  528. description: 客户端委托时间
  529. type: string
  530. clientticket:
  531. description: 客户端流水号
  532. type: string
  533. clienttype:
  534. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  535. type: integer
  536. closeexchagechargevalue:
  537. description: 平仓交易所手续费设置值
  538. type: number
  539. closefeealgorithm:
  540. description: 平仓手续费收取方式 1:比率 2:固定
  541. type: integer
  542. closefreezecharge:
  543. description: 平仓冻结手续费(先建后平操作,需要记录)
  544. type: number
  545. closememberchargevalue:
  546. description: 平仓会员手续费设置值
  547. type: number
  548. closeqty:
  549. description: 平仓数量(先建后平操作 需要记录)
  550. type: integer
  551. closetradeqty:
  552. description: 平仓成交数量(先建后平操作,需要记录)
  553. type: integer
  554. closeunfreezecharge:
  555. description: 平仓解冻手续费(先建后平操作,需要记录)
  556. type: number
  557. delistingtype:
  558. description: 摘牌类型 - 1:价格最优 2:点选成交
  559. type: integer
  560. freezecharge:
  561. description: 冻结手续费
  562. type: number
  563. freezemargin:
  564. description: 冻结保证金(冻结交易金额)
  565. type: number
  566. gcaccountid:
  567. description: 账户ID[合约币种]
  568. type: integer
  569. goodsid:
  570. description: 商品ID
  571. type: integer
  572. isconfirmexercise:
  573. description: 是否确认行权- 0:否 1:是
  574. type: integer
  575. ispreexercise:
  576. description: 是否预申报- 0:否 1:是
  577. type: integer
  578. listingselecttype:
  579. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  580. type: integer
  581. marginalgorithm:
  582. description: 保证金收取方式 1:比率 2:固定
  583. type: integer
  584. marginvalue:
  585. description: 即市保证金设置值
  586. type: number
  587. marketid:
  588. description: 市场ID
  589. type: integer
  590. marketmaxsub:
  591. description: 市价最大偏移范围
  592. type: number
  593. memberuserid:
  594. description: 所属会员UserID
  595. type: integer
  596. openexchagechargevalue:
  597. description: 建仓交易所手续费设置值
  598. type: number
  599. openfeealgorithm:
  600. description: 建仓手续费收取方式 1:比率 2:固定
  601. type: integer
  602. openfreezecharge:
  603. description: 开仓冻结手续费(先建后平操作,需要记录)
  604. type: number
  605. openmemberchargevalue:
  606. description: 建仓会员手续费设置值
  607. type: number
  608. openqty:
  609. description: 开仓数量(先建后平操作,需要记录)
  610. type: integer
  611. opentradeqty:
  612. description: 开仓成交数量(先建后平操作,需要记录)
  613. type: integer
  614. openunfreezecharge:
  615. description: 开仓解冻手续费(先建后平操作,需要记录)
  616. type: number
  617. operatetype:
  618. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让
  619. type: integer
  620. operatorid:
  621. description: 登录账号(LoginID)
  622. type: integer
  623. optiontype:
  624. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  625. type: integer
  626. orderprice:
  627. description: 委托价格
  628. type: number
  629. orderqty:
  630. description: 委托数量
  631. type: integer
  632. ordersrc:
  633. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  634. type: integer
  635. orderstatus:
  636. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  637. type: integer
  638. ordertime:
  639. description: 委托时间
  640. type: string
  641. preexerciseprice:
  642. description: 预申报价格
  643. type: number
  644. premium:
  645. description: 权利金
  646. type: number
  647. preorderid:
  648. description: 关联预埋单号(止盈止损单时填写)
  649. type: integer
  650. pricemode:
  651. description: '取价方式 - 1:市价 2: 限价'
  652. type: integer
  653. quoteid:
  654. description: 报价单ID
  655. type: integer
  656. relatedid:
  657. description: 关联单号(交割单)
  658. type: integer
  659. retcode:
  660. description: 错误代码
  661. type: integer
  662. sessionid:
  663. description: 会话ID
  664. type: integer
  665. strorderid:
  666. description: 委托单号
  667. type: string
  668. tradedate:
  669. description: 交易日(yyyyMMdd)
  670. type: string
  671. tradeproperty:
  672. description: 交易属性
  673. type: integer
  674. tradeqty:
  675. description: 成交数量
  676. type: integer
  677. unfreezecharge:
  678. description: 解冻手续费
  679. type: number
  680. unfreezemargin:
  681. description: 解冻保证金
  682. type: number
  683. updatetime:
  684. description: 更新时间
  685. type: string
  686. uuid:
  687. description: 发起端唯一id
  688. type: string
  689. validtime:
  690. description: 有效期限
  691. type: string
  692. validtype:
  693. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  694. type: integer
  695. volumetype:
  696. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  697. type: integer
  698. required:
  699. - accountid
  700. - buildtype
  701. - buyorsell
  702. - goodsid
  703. - marketid
  704. - memberuserid
  705. - operatetype
  706. - orderqty
  707. - ordertime
  708. - pricemode
  709. - strorderid
  710. - tradedate
  711. - validtype
  712. type: object
  713. cptrade.QueryMyCPTradeGoodsRsp:
  714. properties:
  715. accountid:
  716. description: 卖方账户ID
  717. type: integer
  718. agreeunit:
  719. description: 合约单位
  720. type: number
  721. applyid:
  722. description: 关联申请ID
  723. type: integer
  724. attachmenturl:
  725. description: 附件地址
  726. type: string
  727. createtime:
  728. description: 创建时间
  729. type: string
  730. currencyid:
  731. description: 报价货币ID
  732. type: integer
  733. decimalplace:
  734. description: 报价小数位
  735. type: integer
  736. endtime:
  737. description: 预售结束时间
  738. type: string
  739. floorprice:
  740. description: 底价[大宗式竞拍]
  741. type: number
  742. goodscode:
  743. description: 商品代码(预售)
  744. type: string
  745. goodsdetail:
  746. description: 详情[大宗]
  747. type: string
  748. goodsid:
  749. description: 商品ID(自增ID SEQ_GOODS)
  750. type: integer
  751. goodsname:
  752. description: 商品名称(预售)
  753. type: string
  754. goodunit:
  755. description: 报价单位
  756. type: string
  757. goodunitid:
  758. description: 报价单位ID
  759. type: integer
  760. marketid:
  761. description: 所属市场ID
  762. type: integer
  763. marketname:
  764. description: 预售市场名称
  765. type: string
  766. presaledamount:
  767. description: 已预售总金额(预售结束时更新)
  768. type: number
  769. presaledqty:
  770. description: 已预售量(预售结束时更新)
  771. type: integer
  772. presalemode:
  773. description: 预售模式 - 1:一口价 2:大宗式竞拍
  774. type: integer
  775. presaleqty:
  776. description: 预售数量
  777. type: integer
  778. refprice:
  779. description: 参考价格[一口价]
  780. type: number
  781. relatedgoodscode:
  782. description: 商品代码(订单)
  783. type: string
  784. relatedgoodsid:
  785. description: 关联交易合约ID
  786. type: integer
  787. relatedgoodsname:
  788. description: 商品名称(订单)
  789. type: string
  790. relatedmarketid:
  791. description: 关联交易合约市场ID
  792. type: integer
  793. sellstatus:
  794. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  795. type: integer
  796. startprice:
  797. description: 起拍价[大宗式竞拍]
  798. type: number
  799. starttime:
  800. description: 预售开始时间
  801. type: string
  802. tradedate:
  803. description: 交易日(yyyyMMdd)
  804. type: string
  805. tradeprice:
  806. description: 成交价[大宗]
  807. type: number
  808. userid:
  809. description: 卖方用户ID
  810. type: integer
  811. required:
  812. - goodscode
  813. - goodsid
  814. - goodsname
  815. - marketid
  816. - relatedgoodscode
  817. - relatedgoodsname
  818. type: object
  819. cptrade.QueryPresaleGoodsExRsp:
  820. properties:
  821. attachmenturl:
  822. description: 附件地址
  823. type: string
  824. createtime:
  825. description: 创建时间
  826. type: string
  827. endtime:
  828. description: 预售结束时间
  829. type: string
  830. floorprice:
  831. description: 底价[大宗式竞拍]
  832. type: number
  833. goodsdetail:
  834. description: 详情[大宗]
  835. type: string
  836. goodsid:
  837. description: 商品ID(预售)
  838. type: integer
  839. goodunit:
  840. description: 报价单位
  841. type: string
  842. marketid:
  843. description: 预售市场ID - 根据预售模式选择市场
  844. type: integer
  845. presaledamount:
  846. description: 已预售总金额(预售结束时更新)
  847. type: number
  848. presaledqty:
  849. description: 已预售量(预售结束时更新)
  850. type: integer
  851. presalemode:
  852. description: 预售模式 - 1:一口价 2:大宗式竞拍
  853. type: integer
  854. presaleqty:
  855. description: 预售数量
  856. type: integer
  857. refprice:
  858. description: 参考价格[一口价]
  859. type: number
  860. relatedgoodsid:
  861. description: 关联交易合约ID
  862. type: integer
  863. relatedmarketid:
  864. description: 关联交易合约市场ID
  865. type: integer
  866. sellstatus:
  867. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  868. type: integer
  869. startprice:
  870. description: 起拍价[大宗式竞拍]
  871. type: number
  872. starttime:
  873. description: 预售开始时间
  874. type: string
  875. tradedate:
  876. description: 交易日(yyyyMMdd)
  877. type: string
  878. tradeprice:
  879. description: 成交价[大宗]
  880. type: number
  881. required:
  882. - goodsid
  883. type: object
  884. delivery.QueryDeliveryRelationRsp:
  885. properties:
  886. begindate:
  887. description: 起始日期(yyyyMMdd)
  888. type: string
  889. buytemplateid:
  890. description: 买履约计划模板ID
  891. type: integer
  892. deliverygoodscode:
  893. description: 品种代码
  894. type: string
  895. deliverygoodsid:
  896. description: 交割商品
  897. type: integer
  898. deliverygoodsname:
  899. description: 品种名称
  900. type: string
  901. deliverymode:
  902. description: 交割方式 - 1:点选式 2:申报式
  903. type: integer
  904. deliverypricerule:
  905. description: 交割价规则- 1:行情价 2:建仓价
  906. type: integer
  907. deliverytype:
  908. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  909. type: integer
  910. enddate:
  911. description: 结束日期(yyyyMMdd)
  912. type: string
  913. enumdicname:
  914. description: 品类单位名称
  915. type: string
  916. goodscode:
  917. description: 商品代码
  918. type: string
  919. goodsid:
  920. description: 交易合约ID
  921. type: integer
  922. goodsname:
  923. description: 商品名称
  924. type: string
  925. marketid:
  926. description: 市场ID
  927. type: integer
  928. mindeliveryqty:
  929. description: 最小交割系数(K)
  930. type: integer
  931. p2deliveryprice:
  932. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  933. type: number
  934. p2deliveryratio:
  935. description: P2合约系数(p)
  936. type: integer
  937. p2goodsid:
  938. description: P2合约ID
  939. type: integer
  940. p2pricemode:
  941. description: P2合约价格方式 - 1:商品价 2:固定值
  942. type: integer
  943. pdeliveryprice:
  944. description: P合约价格(商品价时填写0,固定值时填写固定值)
  945. type: number
  946. pdeliveryratio:
  947. description: P合约系数(n)
  948. type: integer
  949. pgoodscode:
  950. description: p合约代码
  951. type: string
  952. pgoodsid:
  953. description: P合约ID
  954. type: integer
  955. ppricemode:
  956. description: P合约价格方式 - 1:商品价 2:固定值
  957. type: integer
  958. rratio:
  959. description: 兑换系数(R)
  960. type: integer
  961. rratio1:
  962. description: 兑换系数(交易合约)(R1)
  963. type: integer
  964. rratio2:
  965. description: 兑换系数(仓单标准)(R2)
  966. type: integer
  967. selltemplateid:
  968. description: 卖履约计划模板ID
  969. type: integer
  970. wrstandardid:
  971. description: 仓单标准ID
  972. type: integer
  973. xdeliveryratio:
  974. description: 交易合约系数(m)
  975. type: integer
  976. required:
  977. - begindate
  978. - enddate
  979. - goodsid
  980. - mindeliveryqty
  981. - xdeliveryratio
  982. type: object
  983. ermcp.ExposureDetailRsp:
  984. properties:
  985. areauserid:
  986. description: 机构ID
  987. type: integer
  988. changeQty:
  989. description: 套保变动量
  990. type: number
  991. contracttype:
  992. description: 现货合同类型 - 1:采购 -1:销售
  993. type: integer
  994. convertfactor:
  995. description: 标仓系数
  996. type: number
  997. convertratio:
  998. description: 套保系数
  999. type: number
  1000. createtime:
  1001. description: 时间
  1002. type: string
  1003. enumdicname:
  1004. description: 现货商品单位名称
  1005. type: string
  1006. logtype:
  1007. description: 类型 - 1:套保计划 2:现货合同
  1008. type: integer
  1009. middlegoodsId:
  1010. description: 套保商品id
  1011. type: integer
  1012. middlegoodscode:
  1013. description: 套保商品代码
  1014. type: string
  1015. middlegoodsname:
  1016. description: 套保商品名称
  1017. type: string
  1018. qty:
  1019. description: 数量
  1020. type: number
  1021. relateNo:
  1022. description: 现货合同/套保计划编号
  1023. type: string
  1024. wrstandardcode:
  1025. description: 现货商品代码
  1026. type: string
  1027. wrstandardid:
  1028. description: 现货商品ID
  1029. type: integer
  1030. wrstandardname:
  1031. description: 现货商品名称
  1032. type: string
  1033. type: object
  1034. ermcp.ExposureHedgePosDetailRsp:
  1035. properties:
  1036. buyorsell:
  1037. description: 买卖方向 0-买 1-卖
  1038. type: integer
  1039. channelbuildtype:
  1040. description: 开平方向 1-建仓 2-平仓
  1041. type: integer
  1042. goodscode:
  1043. description: 商品代码
  1044. type: string
  1045. goodsname:
  1046. description: 商品名称
  1047. type: string
  1048. hedgegoodsid:
  1049. description: 商品id
  1050. type: integer
  1051. tradeqty:
  1052. description: 数量(成交数量)
  1053. type: integer
  1054. tradetime:
  1055. description: 时间(成交时间)
  1056. type: string
  1057. type: object
  1058. ermcp.ExposureHedgePositionRsp:
  1059. properties:
  1060. accountid:
  1061. description: 资金账号[外部母账户]
  1062. type: integer
  1063. curbuyposition:
  1064. description: 期末买头寸
  1065. type: integer
  1066. cursellposition:
  1067. description: 期末卖头寸
  1068. type: integer
  1069. curtdbuyposition:
  1070. description: 期末今日买头寸
  1071. type: integer
  1072. curtdsellposition:
  1073. description: 期末今日卖头寸
  1074. type: integer
  1075. curydbuyposition:
  1076. description: 期末上日买头寸
  1077. type: integer
  1078. curydsellposition:
  1079. description: 期末上日卖头寸
  1080. type: integer
  1081. decreaseqty:
  1082. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  1083. type: integer
  1084. fretdbuyposition:
  1085. description: 冻结今日买头寸
  1086. type: integer
  1087. fretdsellposition:
  1088. description: 冻结今日卖头寸
  1089. type: integer
  1090. freydbuyposition:
  1091. description: 冻结上日买头寸
  1092. type: integer
  1093. freydsellposition:
  1094. description: 冻结上日卖头寸
  1095. type: integer
  1096. goodscode:
  1097. description: 商品代码
  1098. type: string
  1099. goodsid:
  1100. description: 商品id
  1101. type: integer
  1102. goodsname:
  1103. description: 商品名称
  1104. type: string
  1105. hedgeaccountcode:
  1106. description: 对冲账号
  1107. type: string
  1108. hedgegoodsid:
  1109. description: 对冲合约ID
  1110. type: integer
  1111. increaseqty:
  1112. description: 增加数量 = 期末买头寸 - 期初买头寸
  1113. type: integer
  1114. marketid:
  1115. description: 市场ID
  1116. type: integer
  1117. relateduserid:
  1118. description: 关联用户id
  1119. type: integer
  1120. totalcurqty:
  1121. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  1122. type: integer
  1123. totalydqty:
  1124. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  1125. type: integer
  1126. tradedate:
  1127. description: 交易日(yyyyMMdd)
  1128. type: string
  1129. ydbuyposition:
  1130. description: 期初买头寸
  1131. type: integer
  1132. ydsellposition:
  1133. description: 期初卖头寸
  1134. type: integer
  1135. type: object
  1136. ermcp.ExposureSpotDetailRsp:
  1137. properties:
  1138. contracttype:
  1139. description: 合同类型 1-采购 -1-销售
  1140. type: integer
  1141. createtime:
  1142. description: 创建时间
  1143. type: string
  1144. enumdicname:
  1145. description: 现货商品单位名称
  1146. type: string
  1147. logtype:
  1148. description: 记录类型 1-套保 2-现货合同
  1149. type: integer
  1150. qty:
  1151. description: 数量
  1152. type: number
  1153. recordname:
  1154. description: 类型名称
  1155. type: string
  1156. relatedid:
  1157. description: 套保计划ID/现货合同ID
  1158. type: string
  1159. relatedno:
  1160. description: 编号
  1161. type: string
  1162. strtime:
  1163. description: 时间
  1164. type: string
  1165. wrstandardcode:
  1166. description: 现货商品代码
  1167. type: string
  1168. wrstandardname:
  1169. description: 现货商品名称
  1170. type: string
  1171. type: object
  1172. ermcp.ExposureSpotRsp:
  1173. properties:
  1174. areauserid:
  1175. description: 所属机构
  1176. type: integer
  1177. decreaseqty:
  1178. description: 减少数量=-(销售已定价数量+采购计划数量)
  1179. type: number
  1180. increaseqty:
  1181. description: 增加数量=销售计划数量+采购已定价数量
  1182. type: number
  1183. oritoalspotqty:
  1184. description: 昨日数量
  1185. type: number
  1186. totalspotqty:
  1187. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  1188. type: number
  1189. updatetime:
  1190. description: 更新时间
  1191. type: string
  1192. wrstandardcode:
  1193. description: 现货品种代码
  1194. type: string
  1195. wrstandardid:
  1196. description: 现货商品ID
  1197. type: integer
  1198. wrstandardname:
  1199. description: 现货品种
  1200. type: string
  1201. type: object
  1202. ermcp.HisExposureRsp:
  1203. properties:
  1204. data:
  1205. description: 历史敞口
  1206. items:
  1207. $ref: '#/definitions/models.ErmcpHisExposure'
  1208. type: array
  1209. enumdicname:
  1210. description: 单位名称
  1211. type: string
  1212. middlegoodscode:
  1213. description: 套保品种代码
  1214. type: string
  1215. middlegoodsid:
  1216. description: 套保品种ID
  1217. type: integer
  1218. middlegoodsname:
  1219. description: 套保品种名称
  1220. type: string
  1221. type: object
  1222. ermcp.PendingAuditCntRsp:
  1223. properties:
  1224. areastockqty:
  1225. description: '待审核数量: 库存申请'
  1226. type: integer
  1227. businessdjqty:
  1228. description: '待审核数量: 点价'
  1229. type: integer
  1230. businessfpqty:
  1231. description: '待审核数量: 发票'
  1232. type: integer
  1233. businessjsqty:
  1234. description: '待审核数量: 结算'
  1235. type: integer
  1236. businesskxqty:
  1237. description: '待审核数量: 款项'
  1238. type: integer
  1239. hedgeplanqty:
  1240. description: '待审核数量: 套保计划'
  1241. type: integer
  1242. spotcontractqty:
  1243. description: '待审核数量: 现货合同'
  1244. type: integer
  1245. userqty:
  1246. description: '待审核数量: 用户'
  1247. type: integer
  1248. type: object
  1249. ermcp.QryAvalidGPRsp:
  1250. properties:
  1251. goodsgroupid:
  1252. description: 期货品种id
  1253. type: integer
  1254. goodsgroupname:
  1255. description: 期货品种名称
  1256. type: string
  1257. goodunitid:
  1258. description: 品种单位id
  1259. type: integer
  1260. goodunitname:
  1261. description: 品种单位名称
  1262. type: string
  1263. outergroupcode:
  1264. description: 期货品种代码
  1265. type: string
  1266. type: object
  1267. ermcp.QryBusinessDjRsp:
  1268. properties:
  1269. amount:
  1270. description: 点价金额=(点价价格+升贴水)*点价数量
  1271. type: number
  1272. applyid:
  1273. description: 申请人
  1274. type: string
  1275. applyname:
  1276. description: 申请人名称
  1277. type: string
  1278. applystatus:
  1279. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1280. type: integer
  1281. applytime:
  1282. description: 申请时间
  1283. type: string
  1284. attachurl:
  1285. description: 附件
  1286. type: string
  1287. auditid:
  1288. description: 审核人ID
  1289. type: string
  1290. auditname:
  1291. description: 审核人名称
  1292. type: string
  1293. audittime:
  1294. description: 审核时间
  1295. type: string
  1296. buyusername:
  1297. description: 采购方名称
  1298. type: string
  1299. contractno:
  1300. description: 合同编号
  1301. type: string
  1302. contractstatus:
  1303. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1304. type: integer
  1305. contracttype:
  1306. description: 现货合同类型 - 1:采购 -1:销售
  1307. type: integer
  1308. deliverygoodscode:
  1309. description: 现货品种代码
  1310. type: string
  1311. deliverygoodsid:
  1312. description: 现货商品ID
  1313. type: integer
  1314. deliverygoodsname:
  1315. description: 现货品种名称
  1316. type: string
  1317. enumdicname:
  1318. description: 单位名称
  1319. type: string
  1320. goodscode:
  1321. description: 点价合约
  1322. type: string
  1323. goodsname:
  1324. description: 商品名称
  1325. type: string
  1326. operateapplyid:
  1327. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1328. type: string
  1329. operateapplytype:
  1330. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1331. type: integer
  1332. pricedPrice:
  1333. description: 点价价格(非必填)
  1334. type: number
  1335. pricedQty:
  1336. description: 点价数量(非必填)
  1337. type: number
  1338. pricemove:
  1339. description: 升贴水
  1340. type: number
  1341. pricetype:
  1342. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1343. type: integer
  1344. relatedid:
  1345. description: 现货合同ID
  1346. type: string
  1347. sellusername:
  1348. description: 销售方名字
  1349. type: string
  1350. userid:
  1351. description: 用户ID
  1352. type: integer
  1353. wrstandardcode:
  1354. description: 品类代码
  1355. type: string
  1356. wrstandardid:
  1357. description: 品类id
  1358. type: integer
  1359. wrstandardname:
  1360. description: 品类名称
  1361. type: string
  1362. type: object
  1363. ermcp.QryBussinessFpRsp:
  1364. properties:
  1365. applyid:
  1366. description: 申请人
  1367. type: string
  1368. applyname:
  1369. description: 申请人名称
  1370. type: string
  1371. applystatus:
  1372. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1373. type: integer
  1374. applytime:
  1375. description: 申请时间
  1376. type: string
  1377. attachurl:
  1378. description: 附件
  1379. type: string
  1380. auditid:
  1381. description: 审核人ID
  1382. type: string
  1383. auditname:
  1384. description: 审核人名称
  1385. type: string
  1386. audittime:
  1387. description: 审核时间
  1388. type: string
  1389. buyusername:
  1390. description: 采购方名称
  1391. type: string
  1392. contractno:
  1393. description: 合同编号
  1394. type: string
  1395. contractstatus:
  1396. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1397. type: integer
  1398. contracttype:
  1399. description: 现货合同类型 - 1:采购 -1:销售
  1400. type: integer
  1401. deliverygoodscode:
  1402. description: 现货品种代码
  1403. type: string
  1404. deliverygoodsid:
  1405. description: 现货商品ID
  1406. type: integer
  1407. deliverygoodsname:
  1408. description: 现货品种名称
  1409. type: string
  1410. enumdicname:
  1411. description: 单位名称
  1412. type: string
  1413. goodscode:
  1414. description: 点价合约
  1415. type: string
  1416. goodsname:
  1417. description: 商品名称
  1418. type: string
  1419. invoiceAmount:
  1420. description: 已开收票金额(销售为开票,采购为收票)
  1421. type: number
  1422. operateapplyid:
  1423. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1424. type: string
  1425. operateapplytype:
  1426. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1427. type: integer
  1428. pricemove:
  1429. description: 升贴水
  1430. type: number
  1431. pricetype:
  1432. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1433. type: integer
  1434. relatedid:
  1435. description: 现货合同ID
  1436. type: string
  1437. sellusername:
  1438. description: 销售方名字
  1439. type: string
  1440. userid:
  1441. description: 用户ID
  1442. type: integer
  1443. wrstandardcode:
  1444. description: 品类代码
  1445. type: string
  1446. wrstandardid:
  1447. description: 品类id
  1448. type: integer
  1449. wrstandardname:
  1450. description: 品类名称
  1451. type: string
  1452. type: object
  1453. ermcp.QryBussinessJsExRsp:
  1454. properties:
  1455. applyid:
  1456. description: 申请人
  1457. type: string
  1458. applyname:
  1459. description: 申请人名称
  1460. type: string
  1461. applystatus:
  1462. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1463. type: integer
  1464. applytime:
  1465. description: 申请时间
  1466. type: string
  1467. attachurl:
  1468. description: 附件
  1469. type: string
  1470. auditid:
  1471. description: 审核人ID
  1472. type: string
  1473. auditname:
  1474. description: 审核人名称
  1475. type: string
  1476. audittime:
  1477. description: 审核时间
  1478. type: string
  1479. buyusername:
  1480. description: 采购方名称
  1481. type: string
  1482. contractno:
  1483. description: 合同编号
  1484. type: string
  1485. contractstatus:
  1486. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1487. type: integer
  1488. contracttype:
  1489. description: 现货合同类型 - 1:采购 -1:销售
  1490. type: integer
  1491. deliverygoodscode:
  1492. description: 现货品种代码
  1493. type: string
  1494. deliverygoodsid:
  1495. description: 现货商品ID
  1496. type: integer
  1497. deliverygoodsname:
  1498. description: 现货品种名称
  1499. type: string
  1500. enumdicname:
  1501. description: 单位名称
  1502. type: string
  1503. goodscode:
  1504. description: 点价合约
  1505. type: string
  1506. goodsname:
  1507. description: 商品名称
  1508. type: string
  1509. operateapplyid:
  1510. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1511. type: string
  1512. operateapplytype:
  1513. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1514. type: integer
  1515. pricemove:
  1516. description: 升贴水
  1517. type: number
  1518. pricetype:
  1519. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1520. type: integer
  1521. reckontype:
  1522. description: 结算类型
  1523. type: string
  1524. reckonvalue:
  1525. description: 值
  1526. type: number
  1527. relatedid:
  1528. description: 现货合同ID
  1529. type: string
  1530. sellusername:
  1531. description: 销售方名字
  1532. type: string
  1533. userid:
  1534. description: 用户ID
  1535. type: integer
  1536. wrstandardcode:
  1537. description: 品类代码
  1538. type: string
  1539. wrstandardid:
  1540. description: 品类id
  1541. type: integer
  1542. wrstandardname:
  1543. description: 品类名称
  1544. type: string
  1545. type: object
  1546. ermcp.QryBussinessJsRsp:
  1547. properties:
  1548. addmargin:
  1549. description: 追加保证金(非必填)
  1550. type: number
  1551. applyid:
  1552. description: 申请人
  1553. type: string
  1554. applyname:
  1555. description: 申请人名称
  1556. type: string
  1557. applystatus:
  1558. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1559. type: integer
  1560. applytime:
  1561. description: 申请时间
  1562. type: string
  1563. attachurl:
  1564. description: 附件
  1565. type: string
  1566. auditid:
  1567. description: 审核人ID
  1568. type: string
  1569. auditname:
  1570. description: 审核人名称
  1571. type: string
  1572. audittime:
  1573. description: 审核时间
  1574. type: string
  1575. buyusername:
  1576. description: 采购方名称
  1577. type: string
  1578. contractno:
  1579. description: 合同编号
  1580. type: string
  1581. contractstatus:
  1582. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1583. type: integer
  1584. contracttype:
  1585. description: 现货合同类型 - 1:采购 -1:销售
  1586. type: integer
  1587. decmargin:
  1588. description: 减少保证金(非必填)
  1589. type: number
  1590. deliverygoodscode:
  1591. description: 现货品种代码
  1592. type: string
  1593. deliverygoodsid:
  1594. description: 现货商品ID
  1595. type: integer
  1596. deliverygoodsname:
  1597. description: 现货品种名称
  1598. type: string
  1599. enumdicname:
  1600. description: 单位名称
  1601. type: string
  1602. goodscode:
  1603. description: 点价合约
  1604. type: string
  1605. goodsname:
  1606. description: 商品名称
  1607. type: string
  1608. operateapplyid:
  1609. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1610. type: string
  1611. operateapplytype:
  1612. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1613. type: integer
  1614. pricemove:
  1615. description: 升贴水
  1616. type: number
  1617. pricetype:
  1618. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1619. type: integer
  1620. reckonadjustamount:
  1621. description: 结算调整金额(非必填)
  1622. type: number
  1623. reckonosamount:
  1624. description: 结算溢短金额(非必填)
  1625. type: number
  1626. reckonotheramount:
  1627. description: 结算其他费用(非必填)
  1628. type: number
  1629. reckonrealqty:
  1630. description: 结算实际数量(非必填)
  1631. type: number
  1632. relatedid:
  1633. description: 现货合同ID
  1634. type: string
  1635. sellusername:
  1636. description: 销售方名字
  1637. type: string
  1638. userid:
  1639. description: 用户ID
  1640. type: integer
  1641. wrstandardcode:
  1642. description: 品类代码
  1643. type: string
  1644. wrstandardid:
  1645. description: 品类id
  1646. type: integer
  1647. wrstandardname:
  1648. description: 品类名称
  1649. type: string
  1650. type: object
  1651. ermcp.QryBussinessKxRsp:
  1652. properties:
  1653. applyid:
  1654. description: 申请人
  1655. type: string
  1656. applyname:
  1657. description: 申请人名称
  1658. type: string
  1659. applystatus:
  1660. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1661. type: integer
  1662. applytime:
  1663. description: 申请时间
  1664. type: string
  1665. attachurl:
  1666. description: 附件
  1667. type: string
  1668. auditid:
  1669. description: 审核人ID
  1670. type: string
  1671. auditname:
  1672. description: 审核人名称
  1673. type: string
  1674. audittime:
  1675. description: 审核时间
  1676. type: string
  1677. buyusername:
  1678. description: 采购方名称
  1679. type: string
  1680. contractno:
  1681. description: 合同编号
  1682. type: string
  1683. contractstatus:
  1684. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1685. type: integer
  1686. contracttype:
  1687. description: 现货合同类型 - 1:采购 -1:销售
  1688. type: integer
  1689. deductamount:
  1690. description: 退款(非必填)
  1691. type: number
  1692. deliverygoodscode:
  1693. description: 现货品种代码
  1694. type: string
  1695. deliverygoodsid:
  1696. description: 现货商品ID
  1697. type: integer
  1698. deliverygoodsname:
  1699. description: 现货品种名称
  1700. type: string
  1701. enumdicname:
  1702. description: 单位名称
  1703. type: string
  1704. goodscode:
  1705. description: 点价合约
  1706. type: string
  1707. goodsname:
  1708. description: 商品名称
  1709. type: string
  1710. kxtype:
  1711. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1712. type: integer
  1713. operateapplyid:
  1714. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1715. type: string
  1716. operateapplytype:
  1717. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1718. type: integer
  1719. payamount:
  1720. description: 收付款(非必填)
  1721. type: number
  1722. pricemove:
  1723. description: 升贴水
  1724. type: number
  1725. pricetype:
  1726. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1727. type: integer
  1728. relatedid:
  1729. description: 现货合同ID
  1730. type: string
  1731. sellusername:
  1732. description: 销售方名字
  1733. type: string
  1734. userid:
  1735. description: 用户ID
  1736. type: integer
  1737. wrstandardcode:
  1738. description: 品类代码
  1739. type: string
  1740. wrstandardid:
  1741. description: 品类id
  1742. type: integer
  1743. wrstandardname:
  1744. description: 品类名称
  1745. type: string
  1746. type: object
  1747. ermcp.QryGGCovertCfgRsp:
  1748. properties:
  1749. convertratio:
  1750. description: 折算系数
  1751. type: number
  1752. destgoodsgroupid:
  1753. description: 目标品种ID
  1754. type: integer
  1755. dstcode:
  1756. description: 目录品种代码
  1757. type: string
  1758. dstexchangecode:
  1759. description: 目标期货交易所
  1760. type: string
  1761. dstname:
  1762. description: 目标品种名称
  1763. type: string
  1764. dstunitid:
  1765. description: 目标品种单位ID
  1766. type: integer
  1767. dstunitidname:
  1768. description: 目标品种单位名称
  1769. type: string
  1770. modifytime:
  1771. description: 修改时间
  1772. type: string
  1773. srccode:
  1774. description: 源品种代码
  1775. type: string
  1776. srcexchangecode:
  1777. description: 源期货交易所
  1778. type: string
  1779. srcgoodsgroupid:
  1780. description: 源品种ID
  1781. type: integer
  1782. srcname:
  1783. description: 源品种名称
  1784. type: string
  1785. srcunitid:
  1786. description: 源品种单位ID
  1787. type: integer
  1788. srcunitidname:
  1789. description: 源品种单位名称
  1790. type: string
  1791. type: object
  1792. ermcp.QryMGChangeLogRsp:
  1793. properties:
  1794. aftervalue:
  1795. description: 变更后
  1796. type: number
  1797. applyid:
  1798. description: 操作人
  1799. type: integer
  1800. applyname:
  1801. description: 操作人名称
  1802. type: string
  1803. applysrc:
  1804. description: 操作来源 - 1:管理端 2:终端
  1805. type: integer
  1806. beforevalue:
  1807. description: 变更前
  1808. type: number
  1809. changelogtype:
  1810. description: 变更流水类型 - 1:套保比率变更
  1811. type: integer
  1812. handlestatus:
  1813. description: 处理状态
  1814. type: integer
  1815. logdatetime:
  1816. description: 流水日期
  1817. type: string
  1818. logid:
  1819. description: 流水ID
  1820. type: integer
  1821. logremark:
  1822. description: 流水备注
  1823. type: string
  1824. middlegoodsid:
  1825. description: 套保品种ID
  1826. type: integer
  1827. tradedate:
  1828. description: 交易日(yyyyMMdd)
  1829. type: string
  1830. updatetime:
  1831. description: 更新时间
  1832. type: string
  1833. type: object
  1834. ermcp.QryMiddleGoodsDetailRsp:
  1835. properties:
  1836. cvList:
  1837. description: 期货品种折算列表
  1838. items:
  1839. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1840. type: array
  1841. mg:
  1842. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1843. description: 套保品种基本信息
  1844. wrcList:
  1845. description: 现货品种列表(现货商品折算配置)
  1846. items:
  1847. $ref: '#/definitions/models.WRSConverTDetail'
  1848. type: array
  1849. type: object
  1850. ermcp.QryMiddleGoodsRsp:
  1851. properties:
  1852. areauserid:
  1853. description: 机构用户ID
  1854. type: integer
  1855. createtime:
  1856. description: 修改时间
  1857. type: string
  1858. enumdicname:
  1859. description: 单位名称
  1860. type: string
  1861. evaluateratio:
  1862. description: 估价系数
  1863. type: number
  1864. goodsgroupid:
  1865. description: 关联期货品种ID
  1866. type: integer
  1867. goodsunitid:
  1868. description: 单位ID
  1869. type: integer
  1870. isvalid:
  1871. description: 状态 0-无效(停用) 1-有效(正常)
  1872. type: integer
  1873. middlegoodscode:
  1874. description: 套保品种代码
  1875. type: string
  1876. middlegoodsid:
  1877. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  1878. type: integer
  1879. middlegoodsname:
  1880. description: 套保品种名称
  1881. type: string
  1882. modifytime:
  1883. description: 修改时间
  1884. type: string
  1885. needarbitrageratio:
  1886. description: 套利比例
  1887. type: number
  1888. needhedgeratio:
  1889. description: 套保比率
  1890. type: number
  1891. qtydecimalplace:
  1892. description: 数量小数位
  1893. type: integer
  1894. relatedgoodsid:
  1895. description: 关联交易商品ID
  1896. type: integer
  1897. relatedgoodstype:
  1898. description: 关联商品类型 - 1:期货合约 2:现货品种
  1899. type: integer
  1900. remark:
  1901. description: 备注
  1902. type: string
  1903. type: object
  1904. ermcp.QryOPLogRsp:
  1905. properties:
  1906. aftervalue:
  1907. description: 变更后
  1908. type: number
  1909. applyid:
  1910. description: 操作人ID
  1911. type: string
  1912. applyname:
  1913. description: 操作人名称
  1914. type: string
  1915. beforevalue:
  1916. description: 变更前
  1917. type: number
  1918. biztype:
  1919. description: 业务类型 - 1:套保计划 2:现货合同
  1920. type: integer
  1921. contracttype:
  1922. description: 现货合同类型 - 1:采购 -1:销售
  1923. type: integer
  1924. logvalue:
  1925. description: 数值
  1926. type: number
  1927. operatelogtype:
  1928. description: 操作流水类型
  1929. type: integer
  1930. operatelogtypedesc:
  1931. description: 操作流水类型名称
  1932. type: string
  1933. relatedid:
  1934. description: 现货合同ID\套保计划
  1935. type: string
  1936. updatetime:
  1937. description: 更新时间
  1938. type: string
  1939. type: object
  1940. ermcp.QryUserInfoRsp:
  1941. properties:
  1942. address:
  1943. description: 通讯地址
  1944. type: string
  1945. attachment1:
  1946. description: 附件1
  1947. type: string
  1948. audittime:
  1949. description: 审核时间
  1950. type: string
  1951. cardbackphotourl:
  1952. description: 证件反面图片地址
  1953. type: string
  1954. cardfrontphotourl:
  1955. description: 证件正面图片地址
  1956. type: string
  1957. cardnum:
  1958. description: 证件号码
  1959. type: string
  1960. cardtype:
  1961. description: 证件类型
  1962. type: integer
  1963. cardtypename:
  1964. description: 证件类型名称
  1965. type: string
  1966. cityid:
  1967. description: 市
  1968. type: integer
  1969. contactname:
  1970. description: 联系人
  1971. type: string
  1972. countryid:
  1973. description: 国家
  1974. type: integer
  1975. createtime:
  1976. description: 创建时间
  1977. type: string
  1978. customername:
  1979. description: 企业名称
  1980. type: string
  1981. districtid:
  1982. description: 区域
  1983. type: integer
  1984. email:
  1985. description: 邮件
  1986. type: string
  1987. legalpersonname:
  1988. description: 法人姓名(企业)
  1989. type: string
  1990. memberuserid:
  1991. description: 所属机构ID
  1992. type: integer
  1993. mobile:
  1994. description: 手机号码
  1995. type: string
  1996. modifytime:
  1997. description: 修改时间
  1998. type: string
  1999. nickname:
  2000. description: 昵称
  2001. type: string
  2002. provinceid:
  2003. description: 省
  2004. type: integer
  2005. remark:
  2006. description: 备注
  2007. type: string
  2008. status:
  2009. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  2010. type: integer
  2011. statusdesc:
  2012. description: 账户状态中文描述
  2013. type: string
  2014. taxpayernum:
  2015. description: 纳税人识别号
  2016. type: string
  2017. telphone:
  2018. description: 联系电话
  2019. type: string
  2020. userid:
  2021. description: 用户ID
  2022. type: integer
  2023. userinfotype:
  2024. description: 客户类型
  2025. type: string
  2026. type: object
  2027. ermcp.QryWarehouseRsp:
  2028. properties:
  2029. address:
  2030. description: 详细地址
  2031. type: string
  2032. areauserid:
  2033. description: 所属机构
  2034. type: integer
  2035. autoid:
  2036. description: 自增ID(仓库ID)
  2037. type: integer
  2038. cityid:
  2039. description: 市
  2040. type: integer
  2041. contactname:
  2042. description: 联系人
  2043. type: string
  2044. contactnum:
  2045. description: 联系电话
  2046. type: string
  2047. countryid:
  2048. description: 国家
  2049. type: integer
  2050. createtime:
  2051. description: 创建时间
  2052. type: string
  2053. districtid:
  2054. description: 区
  2055. type: integer
  2056. hasvideo:
  2057. description: 是否有视频 - 0:无 1:有
  2058. type: integer
  2059. provinceid:
  2060. description: 省
  2061. type: integer
  2062. remark:
  2063. description: 审核备注
  2064. type: string
  2065. videourl:
  2066. description: 视频地址
  2067. type: string
  2068. warehousecode:
  2069. description: 仓库代码
  2070. type: string
  2071. warehousename:
  2072. description: 仓库名称
  2073. type: string
  2074. warehousestatus:
  2075. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  2076. type: integer
  2077. warehousetype:
  2078. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  2079. type: integer
  2080. type: object
  2081. ermcp.QueryErmcpTradePositionRsp:
  2082. properties:
  2083. agreeunit:
  2084. description: 合约单位
  2085. type: number
  2086. buyorsell:
  2087. description: 方向 - 0:买 1:卖
  2088. type: integer
  2089. curpositionqty:
  2090. description: 持仓(总仓数量, 期末头寸)
  2091. type: integer
  2092. curtdposition:
  2093. description: 今仓数量(期末今日头寸)
  2094. type: integer
  2095. curtdpositionenabled:
  2096. description: 今仓可用
  2097. type: integer
  2098. decimalplace:
  2099. description: 报价小数位
  2100. type: integer
  2101. enableqty:
  2102. description: 可用(总仓可用)
  2103. type: integer
  2104. exexchangename:
  2105. description: 外部交易所名称
  2106. type: string
  2107. goodscode:
  2108. description: 商品代码(内部)
  2109. type: string
  2110. goodsid:
  2111. description: 商品ID(自增ID SEQ_GOODS)
  2112. type: integer
  2113. goodsname:
  2114. description: 商品名称
  2115. type: string
  2116. last:
  2117. description: 现价
  2118. type: number
  2119. marketid:
  2120. description: 所属市场ID
  2121. type: integer
  2122. openaverageprice:
  2123. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  2124. type: number
  2125. opencost:
  2126. description: 开仓成本
  2127. type: number
  2128. openpl:
  2129. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2130. type: number
  2131. outgoodscode:
  2132. description: 商品代码(外部)
  2133. type: string
  2134. positionaverageprice:
  2135. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  2136. type: number
  2137. positioncost:
  2138. description: 持仓成本
  2139. type: number
  2140. positionpl:
  2141. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2142. type: number
  2143. positionplrate:
  2144. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  2145. type: number
  2146. usedmargin:
  2147. description: 占用保证金
  2148. type: number
  2149. type: object
  2150. ermcp.RealtimeExposurePositionRsp:
  2151. properties:
  2152. agreeunit:
  2153. description: 合约单位
  2154. type: string
  2155. areauserid:
  2156. description: 所属机构id
  2157. type: integer
  2158. convertratio:
  2159. description: 期货品种系数(折算系数)
  2160. type: number
  2161. curqty:
  2162. description: 当前持仓
  2163. type: integer
  2164. diffhedgeqty:
  2165. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  2166. type: number
  2167. diffqty:
  2168. description: 持仓变动量=当前持仓-昨日持仓
  2169. type: integer
  2170. goodscode:
  2171. description: 商品代码
  2172. type: string
  2173. goodsid:
  2174. description: 商品id
  2175. type: integer
  2176. goodsname:
  2177. description: 商品名称
  2178. type: string
  2179. middlegoodsid:
  2180. description: 套保商品id
  2181. type: integer
  2182. ydqty:
  2183. description: 昨日持仓
  2184. type: integer
  2185. type: object
  2186. ermcp.RealtimeExposureRsp:
  2187. properties:
  2188. AreaUserID:
  2189. description: 所属机构
  2190. type: integer
  2191. BuyFutureQty:
  2192. description: 买入期货数量
  2193. type: number
  2194. BuyPlanQty:
  2195. description: 采购计划数量
  2196. type: number
  2197. BuyPricedQty:
  2198. description: 采购合同已定价数量
  2199. type: number
  2200. MiddleGoodsCode:
  2201. description: 套保品种代码
  2202. type: string
  2203. MiddleGoodsHedgeRatio:
  2204. description: 套保比例
  2205. type: number
  2206. MiddleGoodsID:
  2207. description: 套保品种
  2208. type: integer
  2209. MiddleGoodsName:
  2210. description: 套保品种名称
  2211. type: string
  2212. NeedHedgeExposoure:
  2213. description: 应套保敞口(套保敞口)
  2214. type: number
  2215. NeedHedgeRatio:
  2216. description: 应套保敞口比例
  2217. type: number
  2218. OriBuyFutureQty:
  2219. description: 期初买入期货数量
  2220. type: number
  2221. OriBuyPlanQty:
  2222. description: 期初采购计划数量
  2223. type: number
  2224. OriBuyPricedQty:
  2225. description: 期初采购合同已定价数量
  2226. type: number
  2227. OriSellFutureQty:
  2228. description: 期初卖出期货数量
  2229. type: number
  2230. OriSellPlanQty:
  2231. description: 期初销售计划数量
  2232. type: number
  2233. OriSellPricedQty:
  2234. description: 期初销售合同已定价数量
  2235. type: number
  2236. SellFutureQty:
  2237. description: 卖出期货数量
  2238. type: number
  2239. SellPlanQty:
  2240. description: 销售计划数量
  2241. type: number
  2242. SellPricedQty:
  2243. description: 销售合同已定价数量
  2244. type: number
  2245. TotalExposure:
  2246. description: 总敞口 平安:净敞口
  2247. type: number
  2248. TotalFutureQty:
  2249. description: 期货总量 平安:保值净持仓量
  2250. type: number
  2251. TotalHedgeRatio:
  2252. description: 敞口比例
  2253. type: number
  2254. TotalNeedHedgeQty:
  2255. description: 应套保总量(现货应套保总量)
  2256. type: number
  2257. TotalSpotQty:
  2258. description: 现货总量 平安:采销定价净值
  2259. type: number
  2260. arbitrageqty:
  2261. description: 套利量
  2262. type: number
  2263. diffArbitrageQty:
  2264. description: 套利变动量
  2265. type: number
  2266. diffExposoureQty:
  2267. description: 变动量(套保敞口)
  2268. type: number
  2269. diffFutuQty:
  2270. description: 变动量(期货总量) 平安:保值净持仓量今日变动
  2271. type: number
  2272. diffHedgeQty:
  2273. description: 套保变动量
  2274. type: number
  2275. diffQty:
  2276. description: 变动量(总敞口) 平安:净敞口今日变动
  2277. type: number
  2278. diffSpotHedgeQty:
  2279. description: 变动量(现货应套保总量) 平安:应套保量今日变动
  2280. type: number
  2281. diffSpotQty:
  2282. description: 变动量(现货总量) = 现货数量 - 期初现货数量 平安:采销定价净值今日变动
  2283. type: number
  2284. enumdicname:
  2285. description: 单位名称
  2286. type: string
  2287. hedgeqty:
  2288. description: 套保量
  2289. type: number
  2290. needarbitrageqty:
  2291. description: 应套利量
  2292. type: number
  2293. needarbitrageratio:
  2294. description: 套利比例
  2295. type: number
  2296. needhedgeqty:
  2297. description: 应套保量
  2298. type: number
  2299. oriTotalFutuQty:
  2300. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  2301. type: number
  2302. oriTotalSpotQty:
  2303. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  2304. type: number
  2305. oriarbitrageqty:
  2306. description: 期初套利量
  2307. type: number
  2308. orihedgeqty:
  2309. description: 期初套保量
  2310. type: number
  2311. orineedhedgeexposoure:
  2312. description: 期初套保敞口
  2313. type: number
  2314. oritotalexposure:
  2315. description: 期初总敞口
  2316. type: number
  2317. oritotalfutureqty:
  2318. description: 期初期货总量
  2319. type: number
  2320. oritotalneedhedgeqty:
  2321. description: 期初现货应套保量
  2322. type: number
  2323. type: object
  2324. erms2.QueryArbitrageStrategyRsp:
  2325. properties:
  2326. applybasis:
  2327. description: 申请基差
  2328. type: number
  2329. asapplyid:
  2330. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  2331. type: string
  2332. asname:
  2333. description: 策略名称
  2334. type: string
  2335. asno:
  2336. description: 策略编号
  2337. type: string
  2338. basischangepl:
  2339. description: 基差变动损益[结算更新]
  2340. type: number
  2341. biztype:
  2342. description: 业务类型 - 1:正向套利 -1:反向套利
  2343. type: integer
  2344. closetradedate:
  2345. description: 完结交易日(yyyyMMdd)
  2346. type: string
  2347. curbasis:
  2348. description: 当前基差[结算更新]
  2349. type: number
  2350. deliverygoodsid:
  2351. description: 现货品种ID
  2352. type: integer
  2353. futureavgprice:
  2354. description: 期货建仓均价
  2355. type: number
  2356. futurecloseamount:
  2357. description: 期货平仓金额
  2358. type: number
  2359. futurecloseqty:
  2360. description: 期货平仓数量
  2361. type: number
  2362. futureopenamount:
  2363. description: 期货开仓金额
  2364. type: number
  2365. futureopenqty:
  2366. description: 期货开仓数量
  2367. type: number
  2368. futurepl:
  2369. description: 期货总盈亏[结算更新]
  2370. type: number
  2371. futureqty:
  2372. description: 期货持仓数量
  2373. type: number
  2374. futurequote:
  2375. description: 期货额度
  2376. type: number
  2377. goodsgroupid:
  2378. description: 期货品种ID
  2379. type: integer
  2380. marketid:
  2381. description: 市场ID
  2382. type: integer
  2383. netexposure:
  2384. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  2385. type: number
  2386. netexposurepl:
  2387. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  2388. type: number
  2389. netexposurerate:
  2390. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  2391. type: number
  2392. openbasis:
  2393. description: 建仓基差
  2394. type: number
  2395. pricedspotqty:
  2396. description: 已定价现货数量
  2397. type: number
  2398. pricedspotqtynotax:
  2399. description: 已定价现货不含税数量
  2400. type: number
  2401. remark:
  2402. description: 备注
  2403. type: string
  2404. spotavgprice:
  2405. description: 现货均价
  2406. type: number
  2407. spotbuyamount:
  2408. description: 现货采购金额
  2409. type: number
  2410. spotbuyqty:
  2411. description: 现货采购数量
  2412. type: number
  2413. spotpl:
  2414. description: 现货总盈亏[结算更新]
  2415. type: number
  2416. spotquota:
  2417. description: 现货额度
  2418. type: number
  2419. spotsellamount:
  2420. description: 现货销售金额
  2421. type: number
  2422. spotsellqty:
  2423. description: 现货销售数量
  2424. type: number
  2425. spotusedquota:
  2426. description: 现货占用资金
  2427. type: number
  2428. strategystatus:
  2429. description: 策略状态 - 0:未结束 1:已结束
  2430. type: integer
  2431. totalpl:
  2432. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  2433. type: number
  2434. tradedate:
  2435. description: 交易日(yyyyMMdd)
  2436. type: string
  2437. updatetime:
  2438. description: 更新时间
  2439. type: string
  2440. usedquota:
  2441. description: 已占用资金
  2442. type: number
  2443. userid:
  2444. description: 所属机构
  2445. type: integer
  2446. required:
  2447. - asapplyid
  2448. type: object
  2449. erms2.QueryInnerTradeDetailRsp:
  2450. properties:
  2451. accountid:
  2452. description: 账号ID
  2453. type: integer
  2454. agreeunit:
  2455. description: 合约单位
  2456. type: number
  2457. asapplyid:
  2458. description: 策略申请ID
  2459. type: integer
  2460. asname:
  2461. description: 策略名称
  2462. type: string
  2463. asno:
  2464. description: 策略编号
  2465. type: string
  2466. buyorsell:
  2467. description: 方向 - 0:买 1:卖
  2468. type: integer
  2469. channelbuildtype:
  2470. description: 委托单据类型 0:无 1:建仓 2:平仓
  2471. type: integer
  2472. closetype:
  2473. description: 平仓方式 - 0:无 1:平今 2:平昨
  2474. type: integer
  2475. decimalplace:
  2476. description: 报价小数位
  2477. type: integer
  2478. detailtype:
  2479. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  2480. type: integer
  2481. exexchangecode:
  2482. description: 外部交易所代码
  2483. type: string
  2484. exexchangename:
  2485. description: 外部交易所名称
  2486. type: string
  2487. goodscode:
  2488. description: 商品代码(合约)
  2489. type: string
  2490. goodsgroupid:
  2491. description: 商品组ID(品种ID)
  2492. type: integer
  2493. goodsgroupname:
  2494. description: 商品组名称(品种)
  2495. type: string
  2496. goodsid:
  2497. description: 商品ID
  2498. type: integer
  2499. goodsname:
  2500. description: 商品名称(合约)
  2501. type: string
  2502. goodunit:
  2503. description: 报价单位
  2504. type: string
  2505. marketid:
  2506. description: 市场ID
  2507. type: integer
  2508. orderid:
  2509. description: 委托单号
  2510. type: string
  2511. outgoodscode:
  2512. description: 商品代码(外部)
  2513. type: string
  2514. relatedouttradeid:
  2515. description: 关联外部成交单ID
  2516. type: string
  2517. remark:
  2518. description: 备注
  2519. type: string
  2520. spotcontractid:
  2521. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  2522. type: integer
  2523. spotcontractno:
  2524. description: 现货合同编号
  2525. type: string
  2526. tradeid:
  2527. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2528. type: string
  2529. tradeprice:
  2530. description: 成交价格
  2531. type: number
  2532. tradeqty:
  2533. description: 成交数量
  2534. type: integer
  2535. tradetime:
  2536. description: 成交时间
  2537. type: string
  2538. updatetime:
  2539. description: 更新时间
  2540. type: string
  2541. required:
  2542. - asapplyid
  2543. - buyorsell
  2544. - goodscode
  2545. - goodsgroupid
  2546. - goodsgroupname
  2547. - goodsname
  2548. - tradeid
  2549. type: object
  2550. erms2.QuerySpotContractRsp:
  2551. properties:
  2552. accountid:
  2553. description: 资金账户ID
  2554. type: integer
  2555. areauserid:
  2556. description: 所属机构
  2557. type: integer
  2558. closedate:
  2559. description: 终止日期
  2560. type: string
  2561. closeremark:
  2562. description: 结束备注
  2563. type: string
  2564. closetradedate:
  2565. description: 完结交易日(yyyyMMdd)
  2566. type: string
  2567. closetype:
  2568. description: 终止类型 - 1:违约 2:提前终止
  2569. type: integer
  2570. contractamount:
  2571. description: 合同金额
  2572. type: number
  2573. contractattachment:
  2574. description: 合同附件
  2575. type: string
  2576. contractno:
  2577. description: 现货合同编号
  2578. type: string
  2579. contractqty:
  2580. description: 合同数量(数值) (用于计算)
  2581. type: number
  2582. contractqtychar:
  2583. description: 合同数量\已订价数量 (用于显示)
  2584. type: string
  2585. contractstatus:
  2586. description: 合同状态 - 0:未结束 1:已结束
  2587. type: integer
  2588. contracttype:
  2589. description: 现货合同类型 - 1:采购合同 -1:销售合同
  2590. type: integer
  2591. customeraccountid:
  2592. description: 客户资金账户ID
  2593. type: integer
  2594. customeruserid:
  2595. description: 客户ID
  2596. type: integer
  2597. deliverygoodsdesc:
  2598. description: 品种说明
  2599. type: string
  2600. deliverygoodsid:
  2601. description: 现货品种ID
  2602. type: integer
  2603. handlestatus:
  2604. description: 处理状态
  2605. type: integer
  2606. invoiceatt:
  2607. description: 发票附件
  2608. type: string
  2609. invoicedatetime:
  2610. description: 开收票更新时间
  2611. type: string
  2612. invoiceopentime:
  2613. description: 开票时间
  2614. type: string
  2615. invoiceremark:
  2616. description: 发票备注
  2617. type: string
  2618. invoicestatus:
  2619. description: 开收票状态 - 0:未开票 1:已开票
  2620. type: integer
  2621. lastdate:
  2622. description: 交货时间
  2623. type: string
  2624. marketid:
  2625. description: 市场ID
  2626. type: integer
  2627. paydatetime:
  2628. description: 收付款更新时间
  2629. type: string
  2630. payremark:
  2631. description: 收付款备注
  2632. type: string
  2633. paystatus:
  2634. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  2635. type: integer
  2636. positionqty:
  2637. description: 头寸数量 - 合同数量去小数部分
  2638. type: integer
  2639. producttype:
  2640. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2641. type: integer
  2642. relatedqty:
  2643. description: 已关联数量
  2644. type: number
  2645. relatedstatus:
  2646. description: 关联完结状态 - 0:未结束 1:已结束
  2647. type: integer
  2648. remark:
  2649. description: 备注
  2650. type: string
  2651. signdate:
  2652. description: 签订日期
  2653. type: string
  2654. spotcontractid:
  2655. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  2656. type: string
  2657. spotdatetime:
  2658. description: 收发货更新时间
  2659. type: string
  2660. spotprice:
  2661. description: 价格
  2662. type: number
  2663. spotremark:
  2664. description: 收发货备注
  2665. type: string
  2666. spotstatus:
  2667. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  2668. type: integer
  2669. tradedate:
  2670. description: 交易日(yyyyMMdd)
  2671. type: string
  2672. userid:
  2673. description: 业务员用户ID
  2674. type: integer
  2675. warehouseid:
  2676. description: 仓库ID
  2677. type: integer
  2678. wrfactortypeid:
  2679. description: 仓单要素类型ID
  2680. type: integer
  2681. wrstandardid:
  2682. description: 仓单标准ID(SEQ_WRSTANDARD)
  2683. type: integer
  2684. required:
  2685. - spotcontractid
  2686. type: object
  2687. erms3.AddErms2ASApplyReq:
  2688. properties:
  2689. applybasis:
  2690. description: 申请基差
  2691. type: number
  2692. applystatus:
  2693. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2694. type: integer
  2695. asapplyid:
  2696. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  2697. type: integer
  2698. asname:
  2699. description: 策略名称
  2700. type: string
  2701. asno:
  2702. description: 策略编号
  2703. type: string
  2704. auditid:
  2705. description: 审核人
  2706. type: integer
  2707. auditremark:
  2708. description: 审核备注
  2709. type: string
  2710. audittime:
  2711. description: 审核时间
  2712. type: string
  2713. biztype:
  2714. description: 业务类型 - 1:正向套利 2:反向套利
  2715. type: integer
  2716. createtime:
  2717. description: 创建时间
  2718. type: string
  2719. creatorid:
  2720. description: 创建人
  2721. type: integer
  2722. deliverygoodsid:
  2723. description: 现货品种ID
  2724. type: integer
  2725. futurequote:
  2726. description: 期货额度
  2727. type: number
  2728. goodsgroupid:
  2729. description: 期货品种ID
  2730. type: integer
  2731. marketid:
  2732. description: 市场ID
  2733. type: integer
  2734. remark:
  2735. description: 备注
  2736. type: string
  2737. spotquota:
  2738. description: 现货额度
  2739. type: number
  2740. tradedate:
  2741. description: 交易日(yyyyMMdd)
  2742. type: string
  2743. userid:
  2744. description: 所属机构
  2745. type: integer
  2746. required:
  2747. - asapplyid
  2748. type: object
  2749. erms3.AddErms2SpotTradeApplyReq:
  2750. properties:
  2751. applyjsondetail:
  2752. description: 申请明细(JSON)
  2753. type: string
  2754. applystatus:
  2755. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2756. type: integer
  2757. areauserid:
  2758. description: 所属机构
  2759. type: integer
  2760. auditid:
  2761. description: 审核人
  2762. type: integer
  2763. auditremark:
  2764. description: 审核备注
  2765. type: string
  2766. audittime:
  2767. description: 审核时间
  2768. type: string
  2769. createtime:
  2770. description: 创建时间
  2771. type: string
  2772. creatorid:
  2773. description: 创建人
  2774. type: integer
  2775. deliverygoodsid:
  2776. description: 现货品种ID
  2777. type: integer
  2778. futureaccountid:
  2779. description: 期货资金账户
  2780. type: integer
  2781. goodsgroupid:
  2782. description: 期货品种
  2783. type: integer
  2784. marketid:
  2785. description: 市场ID
  2786. type: integer
  2787. remark:
  2788. description: 备注
  2789. type: string
  2790. spotaccountid:
  2791. description: 现货资金账户
  2792. type: integer
  2793. spottradeid:
  2794. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  2795. type: integer
  2796. spottradename:
  2797. description: 业务名称
  2798. type: string
  2799. spottradeno:
  2800. description: 业务编号
  2801. type: string
  2802. tradedate:
  2803. description: 交易日(yyyyMMdd)
  2804. type: string
  2805. wrstandardid:
  2806. description: 仓单标准ID
  2807. type: integer
  2808. required:
  2809. - spottradeid
  2810. type: object
  2811. erms3.AddSpotContractApplyReq:
  2812. properties:
  2813. accountid:
  2814. description: 资金账户ID
  2815. type: integer
  2816. areauserid:
  2817. description: 所属机构
  2818. type: integer
  2819. contractattachment:
  2820. description: 合同附件
  2821. type: string
  2822. contractno:
  2823. description: 现货合同编号
  2824. type: string
  2825. contracttype:
  2826. description: 现货合同类型 - 1:采购 -1:销售
  2827. type: integer
  2828. creatorid:
  2829. description: 申请人
  2830. type: integer
  2831. customeraccountid:
  2832. description: 客户资金账户ID
  2833. type: integer
  2834. customeruserid:
  2835. description: 客户ID
  2836. type: integer
  2837. details:
  2838. description: 明细
  2839. items:
  2840. $ref: '#/definitions/erms3.SoptContractDetail'
  2841. type: array
  2842. orimargin:
  2843. description: 初始保证金
  2844. type: number
  2845. remark:
  2846. description: 备注
  2847. type: string
  2848. signdate:
  2849. description: 签订日期
  2850. type: string
  2851. required:
  2852. - accountid
  2853. - areauserid
  2854. - contractno
  2855. - contracttype
  2856. - customeraccountid
  2857. - customeruserid
  2858. - details
  2859. - orimargin
  2860. - signdate
  2861. type: object
  2862. erms3.AddSpotContractApplyRsp:
  2863. properties:
  2864. contractno:
  2865. description: 现货合同编号
  2866. type: string
  2867. spotcontractid:
  2868. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2869. type: integer
  2870. required:
  2871. - contractno
  2872. type: object
  2873. erms3.AddUserInfoApplyReq:
  2874. properties:
  2875. accountid:
  2876. description: 交易系统帐号Id (加密存储)
  2877. type: integer
  2878. areacode:
  2879. description: 机构代码
  2880. type: string
  2881. areaid:
  2882. description: 机构Id
  2883. type: integer
  2884. attachment1:
  2885. description: 附件1
  2886. type: string
  2887. attachment2:
  2888. description: 附件2
  2889. type: string
  2890. attachment3:
  2891. description: 附件3
  2892. type: string
  2893. attachment4:
  2894. description: 附件4
  2895. type: string
  2896. attachment5:
  2897. description: 附件5
  2898. type: string
  2899. auditedby:
  2900. description: 审核人
  2901. type: string
  2902. auditime:
  2903. description: 审核时间
  2904. type: string
  2905. auditsrc:
  2906. description: 审核来源 - 1:管理端 2:终端
  2907. type: integer
  2908. bankaccount:
  2909. description: 银行帐号 (加密存储)
  2910. type: string
  2911. bankaccountname:
  2912. description: 收款人名称
  2913. type: string
  2914. bankcardbackphotourl:
  2915. description: 银行卡背面照地址
  2916. type: string
  2917. bankcardfrontphotourl:
  2918. description: 银行卡正面照地址
  2919. type: string
  2920. bankid:
  2921. description: 银行编码
  2922. type: string
  2923. bankname:
  2924. description: 银行名称
  2925. type: string
  2926. bankpictureurl:
  2927. description: 银行卡正面地址
  2928. type: string
  2929. biznature:
  2930. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2931. type: integer
  2932. bizscope:
  2933. description: 企业经营范围(企业)
  2934. type: string
  2935. biztype:
  2936. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2937. type: integer
  2938. brokerid:
  2939. description: 经纪人ID(加密存储)
  2940. type: string
  2941. cardaddress:
  2942. description: 证件地址 (加密存储)
  2943. type: string
  2944. cardbackphotourl:
  2945. description: 背面证件照地址
  2946. type: string
  2947. cardfrontphotourl:
  2948. description: 正面证件照地址
  2949. type: string
  2950. cardnum:
  2951. description: 证件号码 (加密存储)
  2952. type: string
  2953. cardtype:
  2954. description: 证件类型
  2955. type: integer
  2956. cityid:
  2957. description: 市
  2958. type: integer
  2959. company:
  2960. description: 公司(个人)
  2961. type: string
  2962. contactcardbackphotourl:
  2963. description: 联系人证件背面图片地址
  2964. type: string
  2965. contactcardfrontphotourl:
  2966. description: 联系人证件正面图片地址
  2967. type: string
  2968. contactname:
  2969. description: 联系人
  2970. type: string
  2971. countryid:
  2972. description: 国家
  2973. type: integer
  2974. createtime:
  2975. description: 开户申请时间
  2976. type: string
  2977. cusbankid:
  2978. description: 签约类型
  2979. type: string
  2980. cusbankname:
  2981. description: 签约类型名称
  2982. type: string
  2983. customername:
  2984. description: 客户名称(企业名称)
  2985. type: string
  2986. districtid:
  2987. description: 地区
  2988. type: integer
  2989. email:
  2990. description: Email地址(加密存储)
  2991. type: string
  2992. halfbodyphotourl:
  2993. description: 半身照地址
  2994. type: string
  2995. headurl:
  2996. description: 头像地址
  2997. type: string
  2998. ipaddress:
  2999. description: IP地址
  3000. type: string
  3001. isvalidate:
  3002. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3003. type: string
  3004. legalcardbackphotourl:
  3005. description: 法人身份证背面照地址
  3006. type: string
  3007. legalcardfrontphotourl:
  3008. description: 法人身份证正面照地址
  3009. type: string
  3010. legalpersonname:
  3011. description: 法人姓名(企业)
  3012. type: string
  3013. logincode:
  3014. description: 登录帐号 (加密存储)
  3015. type: string
  3016. memberareaid:
  3017. description: 所属会员ID
  3018. type: integer
  3019. mobile2:
  3020. description: 手机号码[明文-尚志]
  3021. type: string
  3022. mobilephone:
  3023. description: 手机号码 (加密存储)
  3024. type: string
  3025. modifiedby:
  3026. description: 修改人帐号
  3027. type: integer
  3028. modifiedtime:
  3029. description: 修改时间
  3030. type: string
  3031. nickname:
  3032. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3033. type: string
  3034. openmode:
  3035. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3036. type: integer
  3037. otherurl:
  3038. description: 其它图片地址[使用分号分隔]
  3039. type: string
  3040. postalcode:
  3041. description: 邮政编码
  3042. type: string
  3043. provinceid:
  3044. description: 省
  3045. type: integer
  3046. proxystatementurl:
  3047. description: 授权委托书
  3048. type: string
  3049. qq:
  3050. description: QQ(加密存储
  3051. type: string
  3052. referral:
  3053. description: 推荐人编码
  3054. type: string
  3055. remark:
  3056. description: 备注
  3057. type: string
  3058. removebeforestatus:
  3059. description: REMOVEBEFORESTATUS
  3060. type: integer
  3061. sex:
  3062. description: 性别 - 0:女 1:男
  3063. type: integer
  3064. signedstatus:
  3065. description: 账户一号签签约状态
  3066. type: integer
  3067. signpdfurl:
  3068. description: 签约pdf文件
  3069. type: string
  3070. subbranch:
  3071. description: 开户支行
  3072. type: string
  3073. taxpayernum:
  3074. description: 纳税人识别号
  3075. type: string
  3076. telphone:
  3077. description: 联系电话(加密存储)
  3078. type: string
  3079. userid:
  3080. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3081. type: integer
  3082. userinfotype:
  3083. description: 用户信息类型 - 1:个人 2:企业
  3084. type: integer
  3085. username:
  3086. description: 用户姓名
  3087. type: string
  3088. userstate:
  3089. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3090. type: integer
  3091. usertype:
  3092. description: 用户类型 - 1:投资者 2:机构
  3093. type: integer
  3094. videourl:
  3095. description: 视频地址
  3096. type: string
  3097. wechat:
  3098. description: 微信号 (加密存储)
  3099. type: string
  3100. required:
  3101. - userid
  3102. type: object
  3103. erms3.CustomerInfo:
  3104. properties:
  3105. accountids:
  3106. description: 资金账户ID列表
  3107. items:
  3108. type: integer
  3109. type: array
  3110. customername:
  3111. description: 名称(企业名称)
  3112. type: string
  3113. mobile:
  3114. description: 手机号码
  3115. type: string
  3116. userid:
  3117. description: 用户ID
  3118. type: integer
  3119. required:
  3120. - userid
  3121. type: object
  3122. erms3.ModifyUserInfoApplyReq:
  3123. properties:
  3124. accountid:
  3125. description: 交易系统帐号Id (加密存储)
  3126. type: integer
  3127. areacode:
  3128. description: 机构代码
  3129. type: string
  3130. areaid:
  3131. description: 机构Id
  3132. type: integer
  3133. attachment1:
  3134. description: 附件1
  3135. type: string
  3136. attachment2:
  3137. description: 附件2
  3138. type: string
  3139. attachment3:
  3140. description: 附件3
  3141. type: string
  3142. attachment4:
  3143. description: 附件4
  3144. type: string
  3145. attachment5:
  3146. description: 附件5
  3147. type: string
  3148. auditedby:
  3149. description: 审核人
  3150. type: string
  3151. auditime:
  3152. description: 审核时间
  3153. type: string
  3154. auditsrc:
  3155. description: 审核来源 - 1:管理端 2:终端
  3156. type: integer
  3157. bankaccount:
  3158. description: 银行帐号 (加密存储)
  3159. type: string
  3160. bankaccountname:
  3161. description: 收款人名称
  3162. type: string
  3163. bankcardbackphotourl:
  3164. description: 银行卡背面照地址
  3165. type: string
  3166. bankcardfrontphotourl:
  3167. description: 银行卡正面照地址
  3168. type: string
  3169. bankid:
  3170. description: 银行编码
  3171. type: string
  3172. bankname:
  3173. description: 银行名称
  3174. type: string
  3175. bankpictureurl:
  3176. description: 银行卡正面地址
  3177. type: string
  3178. biznature:
  3179. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3180. type: integer
  3181. bizscope:
  3182. description: 企业经营范围(企业)
  3183. type: string
  3184. biztype:
  3185. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  3186. type: integer
  3187. brokerid:
  3188. description: 经纪人ID(加密存储)
  3189. type: string
  3190. cardaddress:
  3191. description: 证件地址 (加密存储)
  3192. type: string
  3193. cardbackphotourl:
  3194. description: 背面证件照地址
  3195. type: string
  3196. cardfrontphotourl:
  3197. description: 正面证件照地址
  3198. type: string
  3199. cardnum:
  3200. description: 证件号码 (加密存储)
  3201. type: string
  3202. cardtype:
  3203. description: 证件类型
  3204. type: integer
  3205. cityid:
  3206. description: 市
  3207. type: integer
  3208. company:
  3209. description: 公司(个人)
  3210. type: string
  3211. contactcardbackphotourl:
  3212. description: 联系人证件背面图片地址
  3213. type: string
  3214. contactcardfrontphotourl:
  3215. description: 联系人证件正面图片地址
  3216. type: string
  3217. contactname:
  3218. description: 联系人
  3219. type: string
  3220. countryid:
  3221. description: 国家
  3222. type: integer
  3223. createtime:
  3224. description: 开户申请时间
  3225. type: string
  3226. cusbankid:
  3227. description: 签约类型
  3228. type: string
  3229. cusbankname:
  3230. description: 签约类型名称
  3231. type: string
  3232. customername:
  3233. description: 客户名称(企业名称)
  3234. type: string
  3235. districtid:
  3236. description: 地区
  3237. type: integer
  3238. email:
  3239. description: Email地址(加密存储)
  3240. type: string
  3241. halfbodyphotourl:
  3242. description: 半身照地址
  3243. type: string
  3244. headurl:
  3245. description: 头像地址
  3246. type: string
  3247. ipaddress:
  3248. description: IP地址
  3249. type: string
  3250. isvalidate:
  3251. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3252. type: string
  3253. legalcardbackphotourl:
  3254. description: 法人身份证背面照地址
  3255. type: string
  3256. legalcardfrontphotourl:
  3257. description: 法人身份证正面照地址
  3258. type: string
  3259. legalpersonname:
  3260. description: 法人姓名(企业)
  3261. type: string
  3262. logincode:
  3263. description: 登录帐号 (加密存储)
  3264. type: string
  3265. memberareaid:
  3266. description: 所属会员ID
  3267. type: integer
  3268. mobile2:
  3269. description: 手机号码[明文-尚志]
  3270. type: string
  3271. mobilephone:
  3272. description: 手机号码 (加密存储)
  3273. type: string
  3274. modifiedby:
  3275. description: 修改人帐号
  3276. type: integer
  3277. modifiedtime:
  3278. description: 修改时间
  3279. type: string
  3280. nickname:
  3281. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3282. type: string
  3283. openmode:
  3284. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3285. type: integer
  3286. otherurl:
  3287. description: 其它图片地址[使用分号分隔]
  3288. type: string
  3289. postalcode:
  3290. description: 邮政编码
  3291. type: string
  3292. provinceid:
  3293. description: 省
  3294. type: integer
  3295. proxystatementurl:
  3296. description: 授权委托书
  3297. type: string
  3298. qq:
  3299. description: QQ(加密存储
  3300. type: string
  3301. referral:
  3302. description: 推荐人编码
  3303. type: string
  3304. remark:
  3305. description: 备注
  3306. type: string
  3307. removebeforestatus:
  3308. description: REMOVEBEFORESTATUS
  3309. type: integer
  3310. sex:
  3311. description: 性别 - 0:女 1:男
  3312. type: integer
  3313. signedstatus:
  3314. description: 账户一号签签约状态
  3315. type: integer
  3316. signpdfurl:
  3317. description: 签约pdf文件
  3318. type: string
  3319. subbranch:
  3320. description: 开户支行
  3321. type: string
  3322. taxpayernum:
  3323. description: 纳税人识别号
  3324. type: string
  3325. telphone:
  3326. description: 联系电话(加密存储)
  3327. type: string
  3328. userid:
  3329. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3330. type: integer
  3331. userinfotype:
  3332. description: 用户信息类型 - 1:个人 2:企业
  3333. type: integer
  3334. username:
  3335. description: 用户姓名
  3336. type: string
  3337. userstate:
  3338. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3339. type: integer
  3340. usertype:
  3341. description: 用户类型 - 1:投资者 2:机构
  3342. type: integer
  3343. videourl:
  3344. description: 视频地址
  3345. type: string
  3346. wechat:
  3347. description: 微信号 (加密存储)
  3348. type: string
  3349. required:
  3350. - userid
  3351. type: object
  3352. erms3.QryAuditContractRsp:
  3353. properties:
  3354. accountid:
  3355. description: 交易员ID
  3356. type: string
  3357. applystatus:
  3358. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3359. type: integer
  3360. curdeliveryqty:
  3361. description: 未交收量
  3362. type: integer
  3363. customername:
  3364. description: 采购方ID
  3365. type: string
  3366. deliverygoodsid:
  3367. description: 品种ID
  3368. type: string
  3369. deliveryqty:
  3370. description: 交收量
  3371. type: integer
  3372. enumdicname:
  3373. description: 单位名称
  3374. type: string
  3375. matchaccountid:
  3376. description: 业务员ID
  3377. type: string
  3378. matchcustomername:
  3379. description: 销售方ID
  3380. type: string
  3381. pricedqty:
  3382. description: 定价量
  3383. type: number
  3384. signdate:
  3385. description: 签订日期
  3386. type: string
  3387. spotcontractid:
  3388. description: 合同ID
  3389. type: string
  3390. totaldqty:
  3391. description: 合同量
  3392. type: number
  3393. unpricedqty:
  3394. description: 未定价量
  3395. type: number
  3396. wrstandardname:
  3397. description: 商品名称
  3398. type: string
  3399. required:
  3400. - matchcustomername
  3401. - spotcontractid
  3402. type: object
  3403. erms3.QryPendingBizRsp:
  3404. properties:
  3405. accountid:
  3406. description: 现货账户
  3407. type: string
  3408. areaname:
  3409. description: 所属部门
  3410. type: string
  3411. bizid:
  3412. description: 业务ID
  3413. type: string
  3414. bizname:
  3415. description: 业务名称
  3416. type: string
  3417. status:
  3418. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3419. type: integer
  3420. type:
  3421. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  3422. type: integer
  3423. type: object
  3424. erms3.QueryBusinessInfoRsp:
  3425. properties:
  3426. businessid:
  3427. description: 业务ID.
  3428. type: integer
  3429. buyamount:
  3430. description: 采购额.
  3431. type: number
  3432. buyqty:
  3433. description: 采购量.
  3434. type: string
  3435. futurepl:
  3436. description: 期货盈亏.
  3437. type: number
  3438. futureqty:
  3439. description: 期货敞口.
  3440. type: string
  3441. goodsid:
  3442. description: 商品名称/商品代码.
  3443. type: string
  3444. hedgingqty:
  3445. description: 套保量.
  3446. type: string
  3447. sellamount:
  3448. description: 销售额.
  3449. type: number
  3450. sellqty:
  3451. description: 销售量.
  3452. type: string
  3453. spotmarketvalue:
  3454. description: 现货市值.
  3455. type: number
  3456. spotpl:
  3457. description: 浮动权益.
  3458. type: number
  3459. spotqty:
  3460. description: 现货量.
  3461. type: string
  3462. statu:
  3463. description: 状态,0-未结束 1-已结束.
  3464. type: integer
  3465. totalpl:
  3466. description: 总盈亏.
  3467. type: number
  3468. totalqty:
  3469. description: 总敞口.
  3470. type: string
  3471. type:
  3472. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  3473. type: integer
  3474. type: object
  3475. erms3.QuerySpotContractAppleFormRsp:
  3476. properties:
  3477. goodses:
  3478. description: 合约列表
  3479. items:
  3480. $ref: '#/definitions/models.GoodsIDAndName'
  3481. type: array
  3482. oppositeusers:
  3483. description: 对方账号列表
  3484. items:
  3485. $ref: '#/definitions/erms3.CustomerInfo'
  3486. type: array
  3487. ouruser:
  3488. $ref: '#/definitions/erms3.CustomerInfo'
  3489. description: 我方账号
  3490. warehouseinfos:
  3491. description: 仓库信息列表
  3492. items:
  3493. $ref: '#/definitions/models.Warehouseinfo'
  3494. type: array
  3495. wrstandards:
  3496. description: 仓单标准列表
  3497. items:
  3498. $ref: '#/definitions/models.WRStandardInfo'
  3499. type: array
  3500. type: object
  3501. erms3.QuerySpotContractInfoRsp:
  3502. properties:
  3503. accountid:
  3504. description: 表示交易员ID.
  3505. type: integer
  3506. curdeliveryqty:
  3507. description: 表示未交收量.
  3508. type: number
  3509. customername:
  3510. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  3511. type: string
  3512. deliverygoodsid:
  3513. description: 表示品种ID.
  3514. type: string
  3515. deliveryqty:
  3516. description: 表示交收量.
  3517. type: number
  3518. matchaccountid:
  3519. description: 表示业务员ID.
  3520. type: integer
  3521. matchcustomername:
  3522. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  3523. type: string
  3524. priceqty:
  3525. description: 表示定价量.
  3526. type: number
  3527. relatedbizid:
  3528. description: 表示业务ID.
  3529. type: string
  3530. signdate:
  3531. description: 表示签订日期.
  3532. type: string
  3533. spotcontractid:
  3534. description: 合同ID
  3535. type: string
  3536. status:
  3537. description: 表示状态,0-履约中 1-已完成.
  3538. type: integer
  3539. totalqty:
  3540. description: 表示合同量.
  3541. type: number
  3542. unpricedqty:
  3543. description: 表示未定价量.
  3544. type: number
  3545. wrstandardname:
  3546. description: 表示商品ID.
  3547. type: string
  3548. type: object
  3549. erms3.QueryUserInfoAppliesRsp:
  3550. properties:
  3551. biznature:
  3552. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3553. type: integer
  3554. contactname:
  3555. description: 联系人
  3556. type: string
  3557. createtime:
  3558. description: 开户申请时间
  3559. type: string
  3560. userid:
  3561. description: 用户ID(自增ID)
  3562. type: integer
  3563. userinfotype:
  3564. description: 用户信息类型 - 1:个人 2:企业
  3565. type: integer
  3566. username:
  3567. description: 用户姓名
  3568. type: string
  3569. userstate:
  3570. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3571. type: integer
  3572. required:
  3573. - userid
  3574. type: object
  3575. erms3.QueryUserInfosRsp:
  3576. properties:
  3577. biznature:
  3578. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3579. type: integer
  3580. contactname:
  3581. description: 联系人
  3582. type: string
  3583. customername:
  3584. description: 客户名称(企业名称)
  3585. type: string
  3586. userid:
  3587. description: 用户ID
  3588. type: integer
  3589. userinfotype:
  3590. description: 用户信息类型 - 1:个人 2:企业
  3591. type: integer
  3592. userstatus:
  3593. description: 用户状态 - 1:正常 2:注销
  3594. type: integer
  3595. required:
  3596. - userid
  3597. type: object
  3598. erms3.SoptContractDetail:
  3599. properties:
  3600. deliverygoodsdesc:
  3601. description: 现货品种说明
  3602. type: string
  3603. deliverygoodsid:
  3604. description: 现货品种ID
  3605. type: integer
  3606. deliverygoodsname:
  3607. description: 现货品种名称
  3608. type: string
  3609. pointdesc:
  3610. description: 点价描述
  3611. type: string
  3612. producttype:
  3613. description: 产品类型 1:标准仓单 2:等标 3:非标
  3614. type: integer
  3615. producttypename:
  3616. description: 产品类型名称
  3617. type: string
  3618. spotPointOrderVoList:
  3619. description: 点价列表
  3620. items:
  3621. $ref: '#/definitions/erms3.SpotPointOrder'
  3622. type: array
  3623. spotPriceOrderList:
  3624. description: 定价列表
  3625. items:
  3626. $ref: '#/definitions/erms3.SpotPriceOrder'
  3627. type: array
  3628. unitname:
  3629. description: 单位名称
  3630. type: string
  3631. warehouseid:
  3632. description: 仓库ID
  3633. type: integer
  3634. warehousename:
  3635. description: 仓库名称
  3636. type: string
  3637. wrstandardid:
  3638. description: 交易标的ID
  3639. type: integer
  3640. wrstandardname:
  3641. description: 交易标的名称
  3642. type: string
  3643. required:
  3644. - deliverygoodsid
  3645. - producttype
  3646. - unitname
  3647. - warehouseid
  3648. - wrstandardid
  3649. - wrstandardname
  3650. type: object
  3651. erms3.SpotPointOrder:
  3652. properties:
  3653. basic:
  3654. description: 基差
  3655. type: number
  3656. deliveryenddate:
  3657. description: 交收结束日期
  3658. type: string
  3659. deliverystartdate:
  3660. description: 交收开始日期
  3661. type: string
  3662. enddate:
  3663. description: 点价结束日期
  3664. type: string
  3665. goodsid:
  3666. description: 商品ID
  3667. type: integer
  3668. goodsname:
  3669. description: 商品名称
  3670. type: string
  3671. qty:
  3672. description: 数量
  3673. type: number
  3674. startdate:
  3675. description: 点价开始日期
  3676. type: string
  3677. required:
  3678. - basic
  3679. - goodsid
  3680. - qty
  3681. type: object
  3682. erms3.SpotPriceOrder:
  3683. properties:
  3684. amount:
  3685. description: 金额
  3686. type: number
  3687. deliveryenddate:
  3688. description: 交收结束日期
  3689. type: string
  3690. deliverystartdate:
  3691. description: 交收开始日期
  3692. type: string
  3693. price:
  3694. description: 价格
  3695. type: number
  3696. qty:
  3697. description: 数量
  3698. type: number
  3699. required:
  3700. - amount
  3701. - price
  3702. - qty
  3703. type: object
  3704. hsby.GetHsbyMyCountRsp:
  3705. properties:
  3706. myCouponCount:
  3707. description: 我的优惠卷数量
  3708. type: integer
  3709. myOrderDetailListingCount:
  3710. description: 我的订单求购中数量
  3711. type: integer
  3712. myOrderDetailPreCount:
  3713. description: 我的订单抢购中数量
  3714. type: integer
  3715. myPackageUnReceiveCount:
  3716. description: 我的包裹待收货数量
  3717. type: integer
  3718. myPackageUnSendCount:
  3719. description: 我的包裹待发货数量
  3720. type: integer
  3721. myPayOrderCount:
  3722. description: 我的订单待付款数量
  3723. type: integer
  3724. type: object
  3725. hsby.QueryProvincesAndCitiesRsp:
  3726. properties:
  3727. cities:
  3728. description: 市
  3729. items:
  3730. $ref: '#/definitions/models.Division'
  3731. type: array
  3732. province:
  3733. $ref: '#/definitions/models.Division'
  3734. description: 省
  3735. type: object
  3736. models.Arearole:
  3737. properties:
  3738. createtime:
  3739. description: 创建时间
  3740. type: string
  3741. creatorid:
  3742. description: 创建人ID
  3743. type: integer
  3744. fromuserid:
  3745. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  3746. type: integer
  3747. isreturnscore:
  3748. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  3749. type: integer
  3750. modifierid:
  3751. description: 修改人ID
  3752. type: integer
  3753. modifytime:
  3754. description: 修改时间
  3755. type: string
  3756. orgtype:
  3757. description: 组织机构类型 1:机构\分支节点 2:交易员\叶子节点 3:部门\分支节点
  3758. type: integer
  3759. outuserid:
  3760. description: 外部账户[场外期权做市商]
  3761. type: string
  3762. parentuserid:
  3763. description: 上级组织机构(组织机构)
  3764. type: integer
  3765. roletype:
  3766. description: 角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员 25:客户 98:代理 99:门店
  3767. type: integer
  3768. rootuserid:
  3769. description: 顶级组织机构用户ID(组织机构)
  3770. type: integer
  3771. shoppassword:
  3772. description: 商城店铺登陆密码(商城店铺角色使用)
  3773. type: string
  3774. sublevelpath:
  3775. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  3776. type: string
  3777. suborgtype:
  3778. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  3779. type: integer
  3780. tradeaccountid:
  3781. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  3782. type: integer
  3783. transurl:
  3784. description: 物流地址(物流机构)
  3785. type: string
  3786. userid:
  3787. description: 机构用户ID其他做市关系,都设置为 1
  3788. type: integer
  3789. required:
  3790. - roletype
  3791. - userid
  3792. type: object
  3793. models.Clientfixedadconfig:
  3794. properties:
  3795. adsort:
  3796. description: 排序
  3797. type: integer
  3798. adtype:
  3799. description: 广告位类型 - 1:新品抢购(HSBY)
  3800. type: integer
  3801. areauserid:
  3802. description: 所属机构ID
  3803. type: integer
  3804. createdate:
  3805. description: 创建时间
  3806. type: string
  3807. creatorid:
  3808. description: 创建人
  3809. type: integer
  3810. imagepath:
  3811. description: 图片
  3812. type: string
  3813. isshow:
  3814. description: 是否展示 - 0:不展示 1:展示
  3815. type: integer
  3816. modifierid:
  3817. description: 操作人
  3818. type: integer
  3819. recsize:
  3820. description: 推荐尺寸
  3821. type: string
  3822. title:
  3823. description: 标题
  3824. type: string
  3825. updatedate:
  3826. description: 更新时间
  3827. type: string
  3828. urlcontent:
  3829. description: 链接(地址或商品ID)
  3830. type: string
  3831. urltype:
  3832. description: 链接类型 - 1:直接地址 2:商品ID
  3833. type: integer
  3834. required:
  3835. - adsort
  3836. - adtype
  3837. type: object
  3838. models.Division:
  3839. properties:
  3840. autoid:
  3841. description: 自增ID
  3842. type: integer
  3843. divisioncode:
  3844. description: 行政代码
  3845. type: string
  3846. divisionlevel:
  3847. description: 行政级别
  3848. type: string
  3849. divisionname:
  3850. description: 行政名称
  3851. type: string
  3852. modifierid:
  3853. description: 修改人
  3854. type: integer
  3855. modifytime:
  3856. description: 修改时间
  3857. type: string
  3858. parentcode:
  3859. description: 上级行政代码
  3860. type: string
  3861. pathname:
  3862. description: 路径名称
  3863. type: string
  3864. postcode:
  3865. description: 邮政编码
  3866. type: string
  3867. separablename:
  3868. description: 可拆分的全称
  3869. type: string
  3870. shortcode:
  3871. description: 地区简码
  3872. type: string
  3873. required:
  3874. - autoid
  3875. - divisioncode
  3876. type: object
  3877. models.Enumdicitem:
  3878. properties:
  3879. autoid:
  3880. description: 自增ID
  3881. type: integer
  3882. bankmappedvalue:
  3883. description: 银行服务对应值
  3884. type: string
  3885. enumdiccode:
  3886. description: 所属枚举代码
  3887. type: string
  3888. enumdicid:
  3889. description: 所属枚举ID
  3890. type: integer
  3891. enumdicname:
  3892. description: 枚举项名称
  3893. type: string
  3894. enumitemname:
  3895. description: 枚举项值
  3896. type: integer
  3897. enumitemstatus:
  3898. description: 枚举项状态 - 1.启用 2.不启用
  3899. type: integer
  3900. enumitemvalue:
  3901. description: 通用值 - [币种通用简写]
  3902. type: string
  3903. param1:
  3904. description: 参数1[币种:币种小数位]
  3905. type: string
  3906. param2:
  3907. description: 参数1[币种:币种显示单位]
  3908. type: string
  3909. remark:
  3910. description: 备注
  3911. type: string
  3912. required:
  3913. - autoid
  3914. - enumdiccode
  3915. - enumdicid
  3916. - enumitemname
  3917. type: object
  3918. models.Ermcp3AreaSpot:
  3919. properties:
  3920. areauserid:
  3921. description: 所属机构
  3922. type: integer
  3923. convertratio:
  3924. description: 套保系数
  3925. type: number
  3926. decreaseqty:
  3927. description: 减少数量=-(销售已定价数量+采购计划数量)
  3928. type: number
  3929. enumdicname:
  3930. description: 单位名称
  3931. type: string
  3932. increaseqty:
  3933. description: 增加数量=销售计划数量+采购已定价数量
  3934. type: number
  3935. oritoalspotqty:
  3936. description: 昨日数量
  3937. type: number
  3938. totalspotqty:
  3939. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  3940. type: number
  3941. unitid:
  3942. description: 现货商品单位id
  3943. type: integer
  3944. updatetime:
  3945. description: 更新时间
  3946. type: string
  3947. wrstandardcode:
  3948. description: 现货商品代码
  3949. type: string
  3950. wrstandardid:
  3951. description: 现货商品ID(SEQ_WRSTANDARD)
  3952. type: integer
  3953. wrstandardname:
  3954. description: 现货商品名称
  3955. type: string
  3956. type: object
  3957. models.Ermcp3AreaSpotDetail:
  3958. properties:
  3959. contracttype:
  3960. description: 合同类型 1-采购 -1-销售
  3961. type: integer
  3962. createtime:
  3963. description: 创建时间
  3964. type: string
  3965. enumdicname:
  3966. description: 现货商品单位名称
  3967. type: string
  3968. logtype:
  3969. description: 记录类型 1-套保 2-现货合同
  3970. type: integer
  3971. qty:
  3972. description: 数量
  3973. type: number
  3974. recordname:
  3975. description: 类型名称
  3976. type: string
  3977. relatedid:
  3978. description: 套保计划ID/现货合同ID
  3979. type: string
  3980. relatedno:
  3981. description: 编号
  3982. type: string
  3983. strtime:
  3984. description: 时间
  3985. type: string
  3986. wrstandardcode:
  3987. description: 现货商品代码
  3988. type: string
  3989. wrstandardid:
  3990. description: 现货商品ID(SEQ_WRSTANDARD)
  3991. type: integer
  3992. wrstandardname:
  3993. description: 现货商品名称
  3994. type: string
  3995. type: object
  3996. models.Ermcp3AreaSpotPLReport:
  3997. properties:
  3998. accountid:
  3999. description: 期货账户ID (作废, 默认为0)
  4000. type: integer
  4001. accountname:
  4002. description: 机构名称
  4003. type: string
  4004. actualpl:
  4005. description: 现货损益
  4006. type: number
  4007. areauserid:
  4008. description: 所属机构\交易用户ID
  4009. type: integer
  4010. begindate:
  4011. description: 开始交易日
  4012. type: string
  4013. biztype:
  4014. description: 业务类型 - 1:套保 2:套利
  4015. type: integer
  4016. brandname:
  4017. description: 品牌名称
  4018. type: string
  4019. curamount:
  4020. description: 期末额
  4021. type: number
  4022. curaverageprice:
  4023. description: 期末均价
  4024. type: number
  4025. curbuyamount:
  4026. description: 期末采购总额
  4027. type: number
  4028. curbuyqty:
  4029. description: 期末采购总量
  4030. type: number
  4031. curmarketvalue:
  4032. description: 参考市值(期末市值)
  4033. type: number
  4034. curqty:
  4035. description: 期末量
  4036. type: number
  4037. currencyid:
  4038. description: 结算币种ID【原值】
  4039. type: integer
  4040. currencyname:
  4041. description: 币种名称
  4042. type: string
  4043. cursellamount:
  4044. description: 期末销售总额
  4045. type: number
  4046. cursellqty:
  4047. description: 期末销售总量
  4048. type: number
  4049. curspotprice:
  4050. description: 参考市价(最新价)
  4051. type: number
  4052. cycletime:
  4053. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4054. type: string
  4055. cycletype:
  4056. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4057. type: integer
  4058. deliverygoodscode:
  4059. description: 现货商品代码
  4060. type: string
  4061. deliverygoodsid:
  4062. description: 现货品种ID
  4063. type: integer
  4064. deliverygoodsname:
  4065. description: 现货商品名称
  4066. type: string
  4067. enddate:
  4068. description: 结束交易日
  4069. type: string
  4070. enumdicname:
  4071. description: 现货商品单位名称
  4072. type: string
  4073. floatpl:
  4074. description: 浮动损益
  4075. type: number
  4076. goodsunitid:
  4077. description: 现货商品单位id
  4078. type: integer
  4079. oriamount:
  4080. description: 期初额
  4081. type: number
  4082. oriaverageprice:
  4083. description: 期初均价
  4084. type: number
  4085. oribuyamount:
  4086. description: 期初采购总额
  4087. type: number
  4088. oribuyqty:
  4089. description: 期初采购总量
  4090. type: number
  4091. oriqty:
  4092. description: 期初量
  4093. type: number
  4094. orisellamount:
  4095. description: 期初销售总额
  4096. type: number
  4097. orisellqty:
  4098. description: 期初销售总量
  4099. type: number
  4100. reckondate:
  4101. description: 日照时期(yyyyMMdd)
  4102. type: string
  4103. spotgoodsbrandid:
  4104. description: 现货品牌ID
  4105. type: integer
  4106. todaybuyamount:
  4107. description: 今日采购额(今采购额)
  4108. type: number
  4109. todaybuyaverageprice:
  4110. description: 今日采购均价
  4111. type: number
  4112. todaybuyqty:
  4113. description: 今日采购量(今采购量)
  4114. type: number
  4115. todayinqty:
  4116. description: 今日入库量(今入库量)
  4117. type: number
  4118. todayoutqty:
  4119. description: 今日出库量(今出库量)
  4120. type: number
  4121. todaysellamount:
  4122. description: 今日销售额(今销售额)
  4123. type: number
  4124. todaysellaverageprice:
  4125. description: 今日销售均价
  4126. type: number
  4127. todaysellqty:
  4128. description: 今日销售量(今销售量)
  4129. type: number
  4130. unitid:
  4131. description: 品类单位id
  4132. type: integer
  4133. unitidname:
  4134. description: 品类单位名称
  4135. type: string
  4136. updatetime:
  4137. description: 更新时间
  4138. type: string
  4139. wrfactortypeid:
  4140. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4141. type: integer
  4142. wrstandardcode:
  4143. description: 品类代码
  4144. type: string
  4145. wrstandardid:
  4146. description: 现货品类ID
  4147. type: integer
  4148. wrstandardname:
  4149. description: 品类名称
  4150. type: string
  4151. type: object
  4152. models.Ermcp3AreaStock:
  4153. properties:
  4154. brandname:
  4155. description: 品牌名称
  4156. type: string
  4157. curstock:
  4158. description: 期末库存量(今日量)
  4159. type: number
  4160. deliverygoodscode:
  4161. description: 现货品种代码
  4162. type: string
  4163. deliverygoodsid:
  4164. description: 现货品种id
  4165. type: integer
  4166. deliverygoodsname:
  4167. description: 现货品种名称
  4168. type: string
  4169. enumdicname:
  4170. description: 单位名称
  4171. type: string
  4172. goodsunitid:
  4173. description: 现货商品单位id
  4174. type: integer
  4175. oristock:
  4176. description: 期初库存量(昨日量)
  4177. type: number
  4178. spotgoodsbrandid:
  4179. description: 现货品牌ID
  4180. type: integer
  4181. todaybuyinqty:
  4182. description: 今日采购入库量
  4183. type: number
  4184. todayproduceinqty:
  4185. description: 今日生产入库量
  4186. type: number
  4187. todayproduceoutqty:
  4188. description: 今日生产出库量
  4189. type: number
  4190. todayselloutqty:
  4191. description: 今日销售出库量
  4192. type: number
  4193. unitid:
  4194. description: 单位id
  4195. type: integer
  4196. updatetime:
  4197. description: 更新时间
  4198. type: string
  4199. userid:
  4200. description: 机构ID
  4201. type: integer
  4202. username:
  4203. description: 机构名称
  4204. type: string
  4205. warehousecode:
  4206. description: 仓库代码
  4207. type: string
  4208. warehouseinfoid:
  4209. description: 仓库ID
  4210. type: string
  4211. warehousename:
  4212. description: 仓库名称
  4213. type: string
  4214. warehousetype:
  4215. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4216. type: integer
  4217. wrstandardcode:
  4218. description: 品类代码
  4219. type: string
  4220. wrstandardid:
  4221. description: 品类ID
  4222. type: string
  4223. wrstandardname:
  4224. description: 品类名称
  4225. type: string
  4226. required:
  4227. - userid
  4228. type: object
  4229. models.Ermcp3AreaStockApply:
  4230. properties:
  4231. applyid:
  4232. description: 申请人
  4233. type: integer
  4234. applyname:
  4235. description: 申请人名称
  4236. type: string
  4237. applyremark:
  4238. description: 申请备注
  4239. type: string
  4240. applysrc:
  4241. description: 申请来源 - 1:管理端 2:终端
  4242. type: integer
  4243. applystatus:
  4244. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  4245. type: integer
  4246. applytime:
  4247. description: 申请时间
  4248. type: string
  4249. auditid:
  4250. description: 审核人
  4251. type: integer
  4252. auditname:
  4253. description: 审核人名称
  4254. type: string
  4255. auditremark:
  4256. description: 审核备注
  4257. type: string
  4258. auditsrc:
  4259. description: 审核来源 - 1:管理端 2:终端
  4260. type: integer
  4261. audittime:
  4262. description: 审核时间
  4263. type: string
  4264. audittradedate:
  4265. description: 审核交易日(yyyyMMdd)
  4266. type: string
  4267. brandname:
  4268. description: 品牌名称
  4269. type: string
  4270. buynickname:
  4271. description: 采购方昵称
  4272. type: string
  4273. buyuserid:
  4274. description: 采购方userid
  4275. type: integer
  4276. buyusername:
  4277. description: 采购方名称
  4278. type: string
  4279. contractno:
  4280. description: 合同编号
  4281. type: string
  4282. contractqty:
  4283. description: 合同量
  4284. type: number
  4285. contracttype:
  4286. description: 现货合同类型 - 1:采购 -1:销售
  4287. type: integer
  4288. deliverygoodscode:
  4289. description: 现货品种代码
  4290. type: string
  4291. deliverygoodsid:
  4292. description: 现货品种id
  4293. type: integer
  4294. deliverygoodsname:
  4295. description: 现货品种名称
  4296. type: string
  4297. detailjson:
  4298. description: 明细数据
  4299. type: string
  4300. enumdicname:
  4301. description: 现货商品单位名称
  4302. type: string
  4303. inoutapplyid:
  4304. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  4305. type: string
  4306. inouttype:
  4307. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  4308. type: integer
  4309. pricetype:
  4310. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4311. type: integer
  4312. qty:
  4313. description: 数量
  4314. type: number
  4315. sellnickname:
  4316. description: 销售方昵称
  4317. type: string
  4318. selluserid:
  4319. description: 销售方userid
  4320. type: integer
  4321. sellusername:
  4322. description: 销售方名称
  4323. type: string
  4324. spotcontractid:
  4325. description: 关联现货合同ID
  4326. type: string
  4327. spotgoodsbrandid:
  4328. description: 现货品牌ID
  4329. type: integer
  4330. unitid:
  4331. description: 单位id
  4332. type: integer
  4333. userid:
  4334. description: 机构ID
  4335. type: integer
  4336. warehousecode:
  4337. description: 仓库代码
  4338. type: string
  4339. warehouseinfoid:
  4340. description: 现货仓库ID
  4341. type: string
  4342. warehousename:
  4343. description: 仓库名称
  4344. type: string
  4345. warehousetype:
  4346. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4347. type: integer
  4348. wrstandardcode:
  4349. description: 品类代码
  4350. type: string
  4351. wrstandardid:
  4352. description: 品类ID
  4353. type: integer
  4354. wrstandardname:
  4355. description: 品类名称
  4356. type: string
  4357. type: object
  4358. models.Ermcp3AreaStockApplySum:
  4359. properties:
  4360. brandname:
  4361. description: 品牌名称
  4362. type: string
  4363. inouttype:
  4364. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  4365. type: integer
  4366. spotcontractid:
  4367. description: 关联现货合同ID
  4368. type: string
  4369. spotgoodsbrandid:
  4370. description: 品牌id
  4371. type: integer
  4372. totalqty:
  4373. description: 总数量
  4374. type: number
  4375. wrstandardid:
  4376. description: 品类id
  4377. type: integer
  4378. wrstandardname:
  4379. description: 品类名称
  4380. type: string
  4381. type: object
  4382. models.Ermcp3AreaStockReportEx:
  4383. properties:
  4384. begindate:
  4385. description: 开始交易日
  4386. type: string
  4387. brandname:
  4388. description: 品牌名称
  4389. type: string
  4390. curstock:
  4391. description: 期末库存量
  4392. type: number
  4393. cycletime:
  4394. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4395. type: string
  4396. cycletype:
  4397. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4398. type: integer
  4399. deliverygoodscode:
  4400. description: 现货品种代码
  4401. type: string
  4402. deliverygoodsid:
  4403. description: 现货品种id
  4404. type: integer
  4405. deliverygoodsname:
  4406. description: 现货品种名称
  4407. type: string
  4408. diffqty:
  4409. description: 库存变化量 = 期末 - 期初
  4410. type: number
  4411. enddate:
  4412. description: 结束交易日
  4413. type: string
  4414. enumdicname:
  4415. description: 单位名称
  4416. type: string
  4417. goodsunitid:
  4418. description: 现货单位id
  4419. type: integer
  4420. oristock:
  4421. description: 期初库存量
  4422. type: number
  4423. reckondate:
  4424. description: 日照时期(yyyyMMdd)
  4425. type: string
  4426. spotgoodsbrandid:
  4427. description: 现货品牌ID
  4428. type: integer
  4429. todaybuyinqty:
  4430. description: 今采购入库量
  4431. type: number
  4432. todayproduceinqty:
  4433. description: 今内部入库量
  4434. type: number
  4435. todayproduceoutqty:
  4436. description: 今内部出库量
  4437. type: number
  4438. todayselloutqty:
  4439. description: 今销售出库量
  4440. type: number
  4441. unbuyinqty:
  4442. description: 采购未入库量(数据库未找到相关字段?)
  4443. type: number
  4444. unitid:
  4445. description: 品类单位id
  4446. type: integer
  4447. unselloutqty:
  4448. description: 销售未出库量(数据库未找到相关字段?)
  4449. type: number
  4450. updatetime:
  4451. description: 更新时间
  4452. type: string
  4453. userid:
  4454. description: 机构ID
  4455. type: integer
  4456. username:
  4457. description: 机构名称
  4458. type: string
  4459. warehousecode:
  4460. description: 仓库代码
  4461. type: string
  4462. warehouseinfoid:
  4463. description: 仓库ID
  4464. type: string
  4465. warehousename:
  4466. description: 仓库名称
  4467. type: string
  4468. warehousetype:
  4469. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4470. type: integer
  4471. wrstandardcode:
  4472. description: 品类代码
  4473. type: string
  4474. wrstandardid:
  4475. description: 品类ID
  4476. type: integer
  4477. wrstandardname:
  4478. description: 品类名称
  4479. type: string
  4480. type: object
  4481. models.Ermcp3ArealSumPL:
  4482. properties:
  4483. accountname:
  4484. description: 机构名称
  4485. type: string
  4486. areauserid:
  4487. description: 所属机构\交易用户ID
  4488. type: integer
  4489. begindate:
  4490. description: 开始交易日
  4491. type: string
  4492. currencyid:
  4493. description: 结算币种ID
  4494. type: integer
  4495. currencyname:
  4496. description: 币种名称
  4497. type: string
  4498. cycletime:
  4499. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4500. type: string
  4501. cycletype:
  4502. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4503. type: integer
  4504. enddate:
  4505. description: 结束交易日
  4506. type: string
  4507. enumdicname:
  4508. description: 单位名称(套保品种)
  4509. type: string
  4510. futureactualpl:
  4511. description: 期货损益
  4512. type: number
  4513. futurefloatpl:
  4514. description: 期货浮动损益
  4515. type: number
  4516. futurespotratio:
  4517. description: 期现比例 = 期货头寸总量 / 现货头寸总量
  4518. type: number
  4519. goodsunitid:
  4520. description: 套保品种单位id
  4521. type: integer
  4522. hedgeexposurepl:
  4523. description: 套保敞口损益
  4524. type: number
  4525. middlegoodscode:
  4526. description: 套保品种代码
  4527. type: string
  4528. middlegoodsid:
  4529. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  4530. type: integer
  4531. middlegoodsname:
  4532. description: 套保品种名称
  4533. type: string
  4534. reckondate:
  4535. description: 日照时期(yyyyMMdd)
  4536. type: string
  4537. spotactualpl:
  4538. description: 现货损益
  4539. type: number
  4540. spotfloatpl:
  4541. description: 现货浮动损益
  4542. type: number
  4543. sumactualpl:
  4544. description: 实际损益 = (ActualPL + FutureActualPL)
  4545. type: number
  4546. sumpl:
  4547. description: 总敞口损益 | 汇总损益
  4548. type: number
  4549. totalfutureqty:
  4550. description: 期货头寸总量
  4551. type: number
  4552. totalneedhedgeqty:
  4553. description: 应套保总量
  4554. type: number
  4555. totalspotqty:
  4556. description: 现货头寸总量
  4557. type: number
  4558. updatetime:
  4559. description: 更新时间
  4560. type: string
  4561. type: object
  4562. models.Ermcp3Brand:
  4563. properties:
  4564. areauserid:
  4565. description: 用户id
  4566. type: integer
  4567. brandid:
  4568. description: 品牌id
  4569. type: integer
  4570. brandname:
  4571. description: 品牌名称
  4572. type: string
  4573. deliverygoodsid:
  4574. description: 品种ID
  4575. type: integer
  4576. isvalid:
  4577. description: 是否有效
  4578. type: integer
  4579. type: object
  4580. models.Ermcp3Contract:
  4581. properties:
  4582. accountid:
  4583. description: 期货账户id
  4584. type: string
  4585. amount:
  4586. description: 金额 [1:一口价、3:暂定价]
  4587. type: number
  4588. attachment:
  4589. description: 附件
  4590. type: string
  4591. auditremark:
  4592. description: 审核意见
  4593. type: string
  4594. audittime:
  4595. description: 审核时间
  4596. type: string
  4597. biztype:
  4598. description: 业务类型 1-套保 2-套利
  4599. type: integer
  4600. brandname:
  4601. description: 品牌名称
  4602. type: string
  4603. buynickname:
  4604. description: 销售方昵称
  4605. type: string
  4606. buyuserid:
  4607. description: 采购方ID
  4608. type: integer
  4609. buyusername:
  4610. description: 采购方名称
  4611. type: string
  4612. contracctstatus:
  4613. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4614. type: integer
  4615. contractmargin:
  4616. description: 合同保证金
  4617. type: number
  4618. contractno:
  4619. description: 现货合同编号
  4620. type: string
  4621. contracttype:
  4622. description: 现货合同类型 - 1:采购 -1:销售
  4623. type: integer
  4624. convertfactor:
  4625. description: 标仓系数(品类)
  4626. type: number
  4627. createtime:
  4628. description: 创建时间
  4629. type: string
  4630. currencyid:
  4631. description: 币种id
  4632. type: integer
  4633. currencyname:
  4634. description: 币种名称
  4635. type: string
  4636. deliveryenddate:
  4637. description: 交收期(结束)
  4638. type: string
  4639. deliverygoodscode:
  4640. description: 现货品种代码
  4641. type: string
  4642. deliverygoodsid:
  4643. description: 现货品种ID
  4644. type: integer
  4645. deliverygoodsname:
  4646. description: 现货品种名称
  4647. type: string
  4648. deliverystartdate:
  4649. description: 交收期(开始)
  4650. type: string
  4651. enddate:
  4652. description: 点价结束日期 [2:点价 3:暂定价]
  4653. type: string
  4654. enumdicname:
  4655. description: 单位名称
  4656. type: string
  4657. goodscode:
  4658. description: 点价合约代码
  4659. type: string
  4660. goodsid:
  4661. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  4662. type: integer
  4663. goodsname:
  4664. description: 点价商品名称
  4665. type: string
  4666. margin:
  4667. description: 当前保证金
  4668. type: number
  4669. meruserid:
  4670. description: 跟单员id
  4671. type: integer
  4672. meruserlogincode:
  4673. description: 跟单员登录代码
  4674. type: string
  4675. merusername:
  4676. description: 跟单员名称
  4677. type: string
  4678. price:
  4679. description: 价格\暂定价 [1:一口价、3:暂定价]
  4680. type: number
  4681. pricemove:
  4682. description: 升贴水 [2:点价 3:暂定价]
  4683. type: number
  4684. pricetype:
  4685. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4686. type: integer
  4687. producttype:
  4688. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4689. type: integer
  4690. qty:
  4691. description: 数量
  4692. type: number
  4693. remark:
  4694. description: 备注
  4695. type: string
  4696. saleuserid:
  4697. description: 业务员id
  4698. type: integer
  4699. saleuserlogincode:
  4700. description: 业务员登录代码
  4701. type: string
  4702. saleusername:
  4703. description: 业务员名称
  4704. type: string
  4705. sellnickname:
  4706. description: 采购方昵称
  4707. type: string
  4708. selluserid:
  4709. description: 销售方ID
  4710. type: integer
  4711. sellusername:
  4712. description: 销售方名称
  4713. type: string
  4714. spotcontractid:
  4715. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  4716. type: string
  4717. spotgoodsbrandid:
  4718. description: 现货品牌ID(DGFactoryItem表的ID)
  4719. type: integer
  4720. spotgoodsdesc:
  4721. description: 商品型号
  4722. type: string
  4723. startdate:
  4724. description: 点价开始日期 [2:点价 3:暂定价]
  4725. type: string
  4726. subjectid:
  4727. description: 交易主体ID
  4728. type: string
  4729. subjectname:
  4730. description: 交易主体名称
  4731. type: string
  4732. tradeuserid:
  4733. description: 交易员id
  4734. type: integer
  4735. tradeuserlogincode:
  4736. description: 交易员登录代码
  4737. type: string
  4738. tradeusername:
  4739. description: 交易员名称
  4740. type: string
  4741. unitid:
  4742. description: 单位id(取品类上的单位id)
  4743. type: integer
  4744. updatetime:
  4745. description: 更新时间
  4746. type: string
  4747. userid:
  4748. description: 所属机构ID
  4749. type: integer
  4750. vatrate:
  4751. description: 增值税率
  4752. type: number
  4753. wrstandardcode:
  4754. description: 品类代码
  4755. type: string
  4756. wrstandardid:
  4757. description: 品类ID
  4758. type: integer
  4759. wrstandardname:
  4760. description: 品类名称
  4761. type: string
  4762. type: object
  4763. models.Ermcp3ExposureContractDetail:
  4764. properties:
  4765. biztype:
  4766. description: 业务类型 1-套保 2-套利
  4767. type: integer
  4768. brandname:
  4769. description: 品牌名称
  4770. type: string
  4771. buyuserid:
  4772. description: 采购方id
  4773. type: integer
  4774. buyusername:
  4775. description: 采购方名称
  4776. type: string
  4777. contractno:
  4778. description: 合同编号
  4779. type: string
  4780. contracttype:
  4781. description: 现货合同类型 - 1:采购 -1:销售
  4782. type: integer
  4783. convertfactor:
  4784. description: 标仓系数
  4785. type: number
  4786. convertratio:
  4787. description: 折算系数(套保品种)
  4788. type: number
  4789. curqty:
  4790. description: 今定价量
  4791. type: number
  4792. deliverygoodscode:
  4793. description: 现货商品代码
  4794. type: string
  4795. deliverygoodsid:
  4796. description: 现货商品id
  4797. type: integer
  4798. deliverygoodsname:
  4799. description: 现货商品名称
  4800. type: string
  4801. diffhedgeqty:
  4802. description: 套保变动量
  4803. type: number
  4804. diffneedhedgeqty:
  4805. description: 应套保变动量
  4806. type: number
  4807. diffqty:
  4808. description: 套保品种今变动量
  4809. type: number
  4810. enumdicname:
  4811. description: 单位名称
  4812. type: string
  4813. mgunitname:
  4814. description: 套保品种单位名称
  4815. type: string
  4816. middlegoodscode:
  4817. description: 套保品种代码
  4818. type: string
  4819. middlegoodsid:
  4820. description: 套保品种id
  4821. type: integer
  4822. middlegoodsname:
  4823. description: 套保品种名称
  4824. type: string
  4825. needarbitrageratio:
  4826. description: 应套利比例
  4827. type: number
  4828. needhedgeratio:
  4829. description: 应套保比例
  4830. type: number
  4831. pricedqty:
  4832. description: 已定价量
  4833. type: number
  4834. qty:
  4835. description: 合同量
  4836. type: number
  4837. selluserid:
  4838. description: 销售方id
  4839. type: integer
  4840. sellusername:
  4841. description: 销售方名称
  4842. type: string
  4843. spotcontractid:
  4844. description: 合同id
  4845. type: string
  4846. todaypricedqty:
  4847. description: 今定价量
  4848. type: number
  4849. tradedate:
  4850. description: 交易日
  4851. type: string
  4852. unitid:
  4853. description: 品类单位id
  4854. type: integer
  4855. userid:
  4856. description: 机构id
  4857. type: integer
  4858. username:
  4859. description: 交易用户
  4860. type: string
  4861. wrstandardcode:
  4862. description: 品类代码
  4863. type: string
  4864. wrstandardid:
  4865. description: 品类id
  4866. type: integer
  4867. wrstandardname:
  4868. description: 品类名称
  4869. type: string
  4870. type: object
  4871. models.Ermcp3ExposureDetail:
  4872. properties:
  4873. areauserid:
  4874. description: 机构ID
  4875. type: integer
  4876. changeQty:
  4877. description: 套保变动量
  4878. type: number
  4879. contracttype:
  4880. description: 现货合同类型 - 1:采购 -1:销售
  4881. type: integer
  4882. convertfactor:
  4883. description: 标仓系数
  4884. type: number
  4885. convertratio:
  4886. description: 折算系数
  4887. type: number
  4888. createtime:
  4889. description: 时间
  4890. type: string
  4891. enumdicname:
  4892. description: 现货商品单位名称
  4893. type: string
  4894. logtype:
  4895. description: 类型 - 1:套保计划 2:现货合同
  4896. type: integer
  4897. mgunitid:
  4898. description: 套保品种单位id
  4899. type: integer
  4900. mgunitidname:
  4901. description: 套保品种单位名称
  4902. type: string
  4903. middlegoodsId:
  4904. description: 套保商品id
  4905. type: integer
  4906. middlegoodscode:
  4907. description: 套保商品代码
  4908. type: string
  4909. middlegoodsname:
  4910. description: 套保商品名称
  4911. type: string
  4912. qty:
  4913. description: 数量
  4914. type: number
  4915. relateNo:
  4916. description: 现货合同/套保计划编号
  4917. type: string
  4918. unitid:
  4919. description: 现货商品单位id
  4920. type: integer
  4921. wrstandardcode:
  4922. description: 现货商品代码
  4923. type: string
  4924. wrstandardid:
  4925. description: 现货商品ID(SEQ_WRSTANDARD)
  4926. type: integer
  4927. wrstandardname:
  4928. description: 现货商品名称
  4929. type: string
  4930. type: object
  4931. models.Ermcp3ExposureFutuDetail:
  4932. properties:
  4933. accountid:
  4934. description: 交易账户id
  4935. type: integer
  4936. accountname:
  4937. description: 交易账户
  4938. type: string
  4939. begindate:
  4940. description: 开始交易日
  4941. type: string
  4942. buyorsell:
  4943. description: 方向 0-买 1-卖
  4944. type: integer
  4945. diffmgqty:
  4946. description: 套保品种今变化量
  4947. type: number
  4948. diffneedqty:
  4949. description: 应套保总量变化量
  4950. type: number
  4951. difftradeqty:
  4952. description: 交易品种今变化量
  4953. type: number
  4954. enddate:
  4955. description: 结束交易日
  4956. type: string
  4957. enumdicname:
  4958. description: 单位名称
  4959. type: string
  4960. goodscode:
  4961. description: 商品代码
  4962. type: string
  4963. goodsid:
  4964. description: 商品id
  4965. type: integer
  4966. goodsname:
  4967. description: 商品名称
  4968. type: string
  4969. holdqty:
  4970. description: 期末持仓量
  4971. type: number
  4972. middlegoodscode:
  4973. description: 套保商品代码
  4974. type: string
  4975. middlegoodsid:
  4976. description: 套保商品id
  4977. type: integer
  4978. middlegoodsname:
  4979. description: 套保商品名称
  4980. type: string
  4981. oriholdqty:
  4982. description: 期初持仓量
  4983. type: number
  4984. todaycloseqty:
  4985. description: 今平仓量
  4986. type: number
  4987. todayopenqty:
  4988. description: 今开仓量
  4989. type: number
  4990. tradedate:
  4991. description: 交易日
  4992. type: string
  4993. type: object
  4994. models.Ermcp3ExposureHedgeplanDetail:
  4995. properties:
  4996. biztype:
  4997. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  4998. type: integer
  4999. changqty:
  5000. description: 应套保总量变化量
  5001. type: number
  5002. contracttype:
  5003. description: 计划类型 - 1:采购 -1:销售
  5004. type: integer
  5005. convertratio:
  5006. description: 折算系数(套保品种)
  5007. type: number
  5008. deliverygoodscode:
  5009. description: 现货商品代码
  5010. type: string
  5011. deliverygoodsid:
  5012. description: 现货商品id
  5013. type: integer
  5014. deliverygoodsname:
  5015. description: 现货商吕名称
  5016. type: string
  5017. dgunitid:
  5018. description: 现货商品单位id
  5019. type: integer
  5020. dgunitidname:
  5021. description: 单位名称(现货商品)
  5022. type: string
  5023. diffqty:
  5024. description: 套保品种今变动量
  5025. type: number
  5026. enumdicname:
  5027. description: 单位名称(品类)
  5028. type: string
  5029. hedgeplanid:
  5030. description: 套保计划id
  5031. type: string
  5032. hedgeplanno:
  5033. description: 套保计划名称
  5034. type: string
  5035. hedgeplanstatus:
  5036. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5037. type: integer
  5038. mgunitidname:
  5039. description: 单位名称(套保商品)
  5040. type: string
  5041. middlegoodscode:
  5042. description: 套保品种代码
  5043. type: string
  5044. middlegoodsid:
  5045. description: 套保品种id
  5046. type: integer
  5047. middlegoodsname:
  5048. description: 套保品种名称
  5049. type: string
  5050. needarbitrageratio:
  5051. description: 应套利比例
  5052. type: number
  5053. needhedgeratio:
  5054. description: 应套保比例
  5055. type: number
  5056. pricedqty:
  5057. description: 已定价量
  5058. type: number
  5059. qty:
  5060. description: 合同量
  5061. type: number
  5062. tradedate:
  5063. description: 交易日(登记日)
  5064. type: string
  5065. unitid:
  5066. description: 品类单位id
  5067. type: integer
  5068. userid:
  5069. description: 机构id
  5070. type: integer
  5071. wrstandardcode:
  5072. description: 品类代码
  5073. type: string
  5074. wrstandardid:
  5075. description: 品类id
  5076. type: integer
  5077. wrstandardname:
  5078. description: 品类名称
  5079. type: string
  5080. type: object
  5081. models.Ermcp3ExposureParamChLog:
  5082. properties:
  5083. accountid:
  5084. description: 期货账户ID (作废, 默认为0)
  5085. type: integer
  5086. aftervalue:
  5087. description: 应套保\套利量变更后(调整后应套保总量)
  5088. type: number
  5089. areauserid:
  5090. description: 所属机构\交易用户ID
  5091. type: integer
  5092. beforevalue:
  5093. description: 应套保\套利量变更前(调整前应套保总量)
  5094. type: number
  5095. begindate:
  5096. description: 开始交易日
  5097. type: string
  5098. changelogtype:
  5099. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  5100. type: integer
  5101. curvalue:
  5102. description: 当前套保\套利量(套保总量|套利总量)
  5103. type: number
  5104. diffvalue:
  5105. description: 应套保总量变化量
  5106. type: number
  5107. enddate:
  5108. description: 结束交易日
  5109. type: string
  5110. logdatetime:
  5111. description: 流水日期
  5112. type: string
  5113. logid:
  5114. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  5115. type: string
  5116. middlegoodscode:
  5117. description: 套保品种代码
  5118. type: string
  5119. middlegoodsid:
  5120. description: 套保品种
  5121. type: integer
  5122. middlegoodsname:
  5123. description: 套保品种名称
  5124. type: string
  5125. paramaftervalue:
  5126. description: 参数变更后(调整后参数值)
  5127. type: number
  5128. parambeforevalue:
  5129. description: 参数变更前(调整前参数值)
  5130. type: number
  5131. tradedate:
  5132. description: 交易日(yyyyMMdd)
  5133. type: string
  5134. type: object
  5135. models.Ermcp3ExpourseReport:
  5136. properties:
  5137. accountid:
  5138. description: 期货账户ID (作废, 默认为0)
  5139. type: integer
  5140. accountname:
  5141. description: 机构名称
  5142. type: string
  5143. arbitrageqty:
  5144. description: 套利量
  5145. type: number
  5146. areauserid:
  5147. description: 所属机构\交易用户ID
  5148. type: integer
  5149. begindate:
  5150. description: 开始交易日
  5151. type: string
  5152. buyfutureqty:
  5153. description: 买入期货数量
  5154. type: number
  5155. buyplanqty:
  5156. description: 采购计划数量
  5157. type: number
  5158. buypricedqty:
  5159. description: 采购合同已定价数量
  5160. type: number
  5161. cycletime:
  5162. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5163. type: string
  5164. cycletype:
  5165. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5166. type: integer
  5167. diffexposure:
  5168. description: 变动量(套保敞口)
  5169. type: number
  5170. difffutuqty:
  5171. description: 变动量(期货)
  5172. type: number
  5173. diffhedgeqty:
  5174. description: 变动量(现货应套保总量)
  5175. type: number
  5176. diffmgqtya:
  5177. description: 套保变动量
  5178. type: number
  5179. diffmgqtyb:
  5180. description: 套利变动量
  5181. type: number
  5182. diffqty:
  5183. description: 变动量(总敞口)
  5184. type: number
  5185. diffspotqty:
  5186. description: 变动量(现货)
  5187. type: number
  5188. enddate:
  5189. description: 结束交易日
  5190. type: string
  5191. enumdicname:
  5192. description: 单位名称
  5193. type: string
  5194. hedgeqty:
  5195. description: 套保量
  5196. type: number
  5197. mgneedhedgeratio:
  5198. description: 套保比例(套保品的)
  5199. type: number
  5200. middlegoodsid:
  5201. description: 套保品种ID
  5202. type: integer
  5203. middlegoodsname:
  5204. description: 套保商品名称
  5205. type: string
  5206. middlgoodscode:
  5207. description: 套保商品代码
  5208. type: string
  5209. needarbitrageqty:
  5210. description: 应套利量
  5211. type: number
  5212. needarbitrageratio:
  5213. description: 套利比例(套保品的)
  5214. type: number
  5215. needhedgeexposoure:
  5216. description: 应套保敞口(套保敞口)
  5217. type: number
  5218. needhedgeqty:
  5219. description: 应套保量
  5220. type: number
  5221. needhedgeratio:
  5222. description: 应套保敞口比例
  5223. type: number
  5224. oriarbitrageqty:
  5225. description: 期初套利量
  5226. type: number
  5227. oribuyfutureqty:
  5228. description: 期初买入期货数量
  5229. type: number
  5230. oribuyplanqty:
  5231. description: 期初采购计划数量
  5232. type: number
  5233. oribuypricedqty:
  5234. description: 期初采购合同已定价数量
  5235. type: number
  5236. orihedgeqty:
  5237. description: 期初套保量
  5238. type: number
  5239. orineedarbitrageqty:
  5240. description: 期初应套利量
  5241. type: number
  5242. orineedhedgeexposoure:
  5243. description: 期初应套保敞口
  5244. type: number
  5245. orineedhedgeqty:
  5246. description: 期初应套保量
  5247. type: number
  5248. orisellfutureqty:
  5249. description: 期初卖出期货数量
  5250. type: number
  5251. orisellplanqty:
  5252. description: 期初销售计划数量
  5253. type: number
  5254. orisellpricedqty:
  5255. description: 期初销售合同已定价数量
  5256. type: number
  5257. oritotalexposure:
  5258. description: 期初实时总敞口
  5259. type: number
  5260. oritotalfutureqty:
  5261. description: 期初期货头寸总量
  5262. type: number
  5263. oritotalneedhedgeqty:
  5264. description: 期初应套保总量
  5265. type: number
  5266. oritotalspotqty:
  5267. description: 期初现货头寸总量
  5268. type: number
  5269. reckondate:
  5270. description: 日照时期(yyyyMMdd)
  5271. type: string
  5272. sellfutureqty:
  5273. description: 卖出期货数量
  5274. type: number
  5275. sellplanqty:
  5276. description: 销售计划数量
  5277. type: number
  5278. sellpricedqty:
  5279. description: 销售合同已定价数量
  5280. type: number
  5281. totalexposure:
  5282. description: 实时总敞口(总敞口)
  5283. type: number
  5284. totalfutureqty:
  5285. description: 期货头寸总量(期货总量)
  5286. type: number
  5287. totalhedgeratio:
  5288. description: 敞口比例
  5289. type: number
  5290. totalneedhedgeqty:
  5291. description: 应套保总量(现货应套保总量)
  5292. type: number
  5293. totalspotqty:
  5294. description: 现货头寸总量
  5295. type: number
  5296. unitid:
  5297. description: 单位id
  5298. type: integer
  5299. updatetime:
  5300. description: 更新时间
  5301. type: string
  5302. type: object
  5303. models.Ermcp3FinanceReport:
  5304. properties:
  5305. accountname:
  5306. description: 机构名称
  5307. type: string
  5308. areauserid:
  5309. description: 所属机构\交易用户ID
  5310. type: integer
  5311. begindate:
  5312. description: 开始交易日
  5313. type: string
  5314. biztype:
  5315. description: 业务类型 - 1:套保 2:套利
  5316. type: integer
  5317. brandname:
  5318. description: 品牌名称
  5319. type: string
  5320. buypreinvoicedamount:
  5321. description: 采购预收票额(预收票额)
  5322. type: number
  5323. buyprepaidamount:
  5324. description: 采购预付款额(预付货款额)
  5325. type: number
  5326. buytodayinvoiceamount:
  5327. description: 采购今收票额(今收票额)
  5328. type: number
  5329. buytodayrefundamount:
  5330. description: 采购今收退款额(今收退款额)
  5331. type: number
  5332. buytodaysettleamount:
  5333. description: 采购今付款额(今付货款额)
  5334. type: number
  5335. buyuninvoicedamount:
  5336. description: 采购应收票额(应收票额)
  5337. type: number
  5338. buyunpaidamount:
  5339. description: 采购应付款额(应付货款额)
  5340. type: number
  5341. currencyid:
  5342. description: 结算币种ID
  5343. type: integer
  5344. currencyname:
  5345. description: 币种名称
  5346. type: string
  5347. cycletime:
  5348. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5349. type: string
  5350. cycletype:
  5351. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5352. type: integer
  5353. deliverygoodscode:
  5354. description: 现货品种代码
  5355. type: string
  5356. deliverygoodsid:
  5357. description: 现货品种ID
  5358. type: integer
  5359. deliverygoodsname:
  5360. description: 现货品种名称
  5361. type: string
  5362. enddate:
  5363. description: 结束交易日
  5364. type: string
  5365. reckondate:
  5366. description: 日照时期(yyyyMMdd)
  5367. type: string
  5368. sellpreinvoicedamount:
  5369. description: 销售预开票额(预开票额)
  5370. type: number
  5371. sellprepaidamount:
  5372. description: 销售预收款额(预收货款额)
  5373. type: number
  5374. selltodayinvoiceamount:
  5375. description: 销售今开票额(今开票额)
  5376. type: number
  5377. selltodayrefundamount:
  5378. description: 销售今付退款额(今付退款额)
  5379. type: number
  5380. selltodaysettleamount:
  5381. description: 销售今收款额(今收货款额)
  5382. type: number
  5383. selluninvoicedamount:
  5384. description: 销售应开票额(应开票额)
  5385. type: number
  5386. sellunpaidamount:
  5387. description: 销售应收款额(应收货款额)
  5388. type: number
  5389. spotgoodsbrandid:
  5390. description: 现货品牌ID
  5391. type: integer
  5392. todaypaysum:
  5393. description: 今付款合计
  5394. type: number
  5395. todayreceivesum:
  5396. description: 今收款合计
  5397. type: number
  5398. updatetime:
  5399. description: 更新时间
  5400. type: string
  5401. wrfactortypeid:
  5402. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  5403. type: integer
  5404. wrstandardcode:
  5405. description: 品类代码
  5406. type: string
  5407. wrstandardid:
  5408. description: 现货商品ID
  5409. type: integer
  5410. wrstandardname:
  5411. description: 品类名称
  5412. type: string
  5413. type: object
  5414. models.Ermcp3GoodsGroup:
  5415. properties:
  5416. agreeunit:
  5417. description: 合约单位
  5418. type: number
  5419. areauserid:
  5420. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  5421. type: integer
  5422. canshort:
  5423. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  5424. type: integer
  5425. closepricemode:
  5426. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  5427. type: integer
  5428. createtime:
  5429. description: 创建时间
  5430. type: string
  5431. creatorid:
  5432. description: 创建人
  5433. type: integer
  5434. currencyid:
  5435. description: 报价货币ID
  5436. type: integer
  5437. decimalplace:
  5438. description: 报价小数位
  5439. type: integer
  5440. enumdicname:
  5441. description: 单位名称
  5442. type: string
  5443. exchangefullname:
  5444. description: 交易所全称
  5445. type: string
  5446. excludecfg:
  5447. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  5448. type: integer
  5449. exexchangecode:
  5450. description: 交易所代码
  5451. type: string
  5452. exexchangeid:
  5453. description: 外部交易所ID[通道交易]
  5454. type: integer
  5455. exexchangename:
  5456. description: 交易所名称
  5457. type: string
  5458. goodsgroupid:
  5459. description: 商品组ID(自增ID)
  5460. type: integer
  5461. goodsgroupname:
  5462. description: 商品组名称
  5463. type: string
  5464. goodsgroupstatus:
  5465. description: 商品组状态 - 1:正常 2:注销
  5466. type: integer
  5467. goodunitid:
  5468. description: 报价单位ID
  5469. type: integer
  5470. groupcategroyid:
  5471. description: 品种分类ID
  5472. type: integer
  5473. innerdealmode:
  5474. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  5475. type: integer
  5476. marketid:
  5477. description: 所属市场ID
  5478. type: integer
  5479. modifierid:
  5480. description: 修改人
  5481. type: integer
  5482. modifytime:
  5483. description: 修改时间
  5484. type: string
  5485. outerdealmode:
  5486. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  5487. type: integer
  5488. outergroupcode:
  5489. description: 外部商品组代码[通道交易]
  5490. type: string
  5491. quoteminunit:
  5492. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5493. type: integer
  5494. quotesourcegroupid:
  5495. description: 所属行情源分组ID[参考行情市场用\通道交易]
  5496. type: integer
  5497. syncgoodsqty:
  5498. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  5499. type: integer
  5500. required:
  5501. - areauserid
  5502. type: object
  5503. models.Ermcp3HedgePlan:
  5504. properties:
  5505. accountid:
  5506. description: 资金账号
  5507. type: integer
  5508. areauserid:
  5509. description: 用户ID
  5510. type: integer
  5511. auditid:
  5512. description: 审核id
  5513. type: integer
  5514. auditname:
  5515. description: 审核人名称
  5516. type: string
  5517. auditremark:
  5518. description: 审核备注
  5519. type: string
  5520. auditsrc:
  5521. description: 审核来源 1-管理端 2-终端
  5522. type: integer
  5523. audittime:
  5524. description: 审核时间
  5525. type: string
  5526. contracttype:
  5527. description: 计划类型 - 1:采购 -1:销售
  5528. type: integer
  5529. convertfactor:
  5530. description: 标仓系数
  5531. type: number
  5532. createtime:
  5533. description: 创建时间
  5534. type: string
  5535. currencyid:
  5536. description: 币种id
  5537. type: integer
  5538. currencyname:
  5539. description: 币种名称
  5540. type: string
  5541. deliverygoodscode:
  5542. description: 现货品种代码
  5543. type: string
  5544. deliverygoodsid:
  5545. description: 现货品种ID
  5546. type: integer
  5547. deliverygoodsname:
  5548. description: 现货品种名称
  5549. type: string
  5550. enumdicname:
  5551. description: 单位名称(现货商品)
  5552. type: string
  5553. hedgeplanid:
  5554. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  5555. type: string
  5556. hedgeplanno:
  5557. description: 套保计划编号(名称)
  5558. type: string
  5559. hedgeplanstatus:
  5560. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5561. type: integer
  5562. planqty:
  5563. description: 计划数量
  5564. type: number
  5565. plantime:
  5566. description: 计划时间
  5567. type: string
  5568. producttype:
  5569. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5570. type: integer
  5571. remark:
  5572. description: 备注
  5573. type: string
  5574. spotgoodsdesc:
  5575. description: 商品型号
  5576. type: string
  5577. taaccountname:
  5578. description: 资金账号名称
  5579. type: string
  5580. tradeuserid:
  5581. description: 交易用户id
  5582. type: integer
  5583. tradeusername:
  5584. description: 交易用户名称
  5585. type: string
  5586. unitid:
  5587. description: 单位id(现货商品)
  5588. type: integer
  5589. updatetime:
  5590. description: 更新时间
  5591. type: string
  5592. vatrate:
  5593. description: 增值税率
  5594. type: number
  5595. wrstandardcode:
  5596. description: 品类代码
  5597. type: string
  5598. wrstandardid:
  5599. description: 品类id
  5600. type: integer
  5601. wrstandardname:
  5602. description: 品类名称
  5603. type: string
  5604. wrunitid:
  5605. description: 品类单位id
  5606. type: integer
  5607. wrunitidame:
  5608. description: 品类单位名称
  5609. type: string
  5610. type: object
  5611. models.Ermcp3InnerTradeLink:
  5612. properties:
  5613. accountid:
  5614. description: 期货账号代码 | 资金账号ID
  5615. type: integer
  5616. buyorsell:
  5617. description: 方向 - 0:买 1:卖
  5618. type: integer
  5619. channelbuildtype:
  5620. description: 委托单据类型 0:无 1:建仓 2:平仓
  5621. type: integer
  5622. currencyid:
  5623. description: 币种id
  5624. type: integer
  5625. currencyname:
  5626. description: 结算币种 名称
  5627. type: string
  5628. goodscode:
  5629. description: 商品代码
  5630. type: string
  5631. goodsid:
  5632. description: 商品ID
  5633. type: integer
  5634. goodsname:
  5635. description: 商品名称
  5636. type: string
  5637. outtradeid:
  5638. description: 外部成交单号
  5639. type: string
  5640. taname:
  5641. description: 期货账户名称
  5642. type: string
  5643. tradeid:
  5644. description: 期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5645. type: string
  5646. tradeprice:
  5647. description: 成交价格
  5648. type: number
  5649. tradeqty:
  5650. description: 期货成交数量
  5651. type: integer
  5652. tradetime:
  5653. description: 关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间
  5654. type: string
  5655. username:
  5656. description: 用户名称
  5657. type: string
  5658. type: object
  5659. models.Ermcp3OutTradeLink:
  5660. properties:
  5661. buyorsell:
  5662. description: 买卖方向 - 0:买 1:卖
  5663. type: integer
  5664. channelbuildtype:
  5665. description: 开平标志- 0:无 1:建仓 2:平仓
  5666. type: integer
  5667. currencyname:
  5668. description: 币种名称
  5669. type: string
  5670. exexchangecode:
  5671. description: 交易所代码
  5672. type: string
  5673. exexchangename:
  5674. description: 交易所名称
  5675. type: string
  5676. goodscode:
  5677. description: 合约代码
  5678. type: string
  5679. goodsid:
  5680. description: 合约id
  5681. type: integer
  5682. goodsname:
  5683. description: 合约名称
  5684. type: string
  5685. hasinnerorder:
  5686. description: 是否有内部单关联 - 0:无 1:有
  5687. type: integer
  5688. hedgeaccountcode:
  5689. description: 外部账号 | 对冲账号
  5690. type: string
  5691. outtradeid:
  5692. description: 外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5693. type: string
  5694. tradeprice:
  5695. description: 成交价格
  5696. type: number
  5697. tradeqty:
  5698. description: 成交数量
  5699. type: integer
  5700. tradetime:
  5701. description: 成交时间
  5702. type: string
  5703. type: object
  5704. models.Ermcp3PaAreaAuditCfg:
  5705. properties:
  5706. areauserid:
  5707. description: 用户ID
  5708. type: integer
  5709. buyinauditflag:
  5710. description: 采购入库是否需要审核 - 0:不需审核 1:需要审核
  5711. type: integer
  5712. costratioauditflag:
  5713. description: 现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核
  5714. type: integer
  5715. customerauditflag:
  5716. description: 客户资料是否需要审核 - 0:不需审核 1:需要审核
  5717. type: integer
  5718. deliveryauditflag:
  5719. description: 交收是否需要审核 - 0:不需审核 1:需要审核
  5720. type: integer
  5721. invoiceauditflag:
  5722. description: 发票是否需要审核 - 0:不需审核 1:需要审核
  5723. type: integer
  5724. mgneedhedgeratioauditflag:
  5725. description: 套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核
  5726. type: integer
  5727. moneyauditflag:
  5728. description: 款项是否需要审核 - 0:不需审核 1:需要审核
  5729. type: integer
  5730. operatorid:
  5731. description: 操作人
  5732. type: integer
  5733. operatorsrc:
  5734. description: 操作来源 - 1:管理端 2:终端
  5735. type: integer
  5736. pointpriceauditflag:
  5737. description: 点价是否需要审核 - 0:不需审核 1:需要审核
  5738. type: integer
  5739. produceinauditflag:
  5740. description: 生产入库是否需要审核 - 0:不需审核 1:需要审核
  5741. type: integer
  5742. produceoutauditflag:
  5743. description: 生产出库是否需要审核 - 0:不需审核 1:需要审核
  5744. type: integer
  5745. selloutauditflag:
  5746. description: 销售出库是否需要审核 - 0:不需审核 1:需要审核
  5747. type: integer
  5748. sgconvertratioauditflag:
  5749. description: 现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核
  5750. type: integer
  5751. sgvtaratioauditflag:
  5752. description: 现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核
  5753. type: integer
  5754. spotcontractauditflag:
  5755. description: 现货合同是否需要审核 - 0:不需审核 1:需要审核
  5756. type: integer
  5757. updatetime:
  5758. description: 更新时间
  5759. type: string
  5760. type: object
  5761. models.Ermcp3PaAreaSubject:
  5762. properties:
  5763. areauserid:
  5764. description: 所属机构
  5765. type: integer
  5766. canmodify:
  5767. description: 是否可修改 - 0:否 1:是
  5768. type: integer
  5769. createtime:
  5770. description: 创建时间
  5771. type: string
  5772. creatorid:
  5773. description: 创建人ID
  5774. type: string
  5775. creatorsrc:
  5776. description: 创建人来源 - 1:管理端 2:终端 3:交易
  5777. type: integer
  5778. modifierid:
  5779. description: 修改人
  5780. type: string
  5781. modifiersrc:
  5782. description: 修改人来源 - 1:管理端 2:终端
  5783. type: integer
  5784. modifytime:
  5785. description: 修改时间
  5786. type: string
  5787. parentsubjectid:
  5788. description: 上级主体ID
  5789. type: string
  5790. remark:
  5791. description: 备注
  5792. type: string
  5793. subjectid:
  5794. description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  5795. type: integer
  5796. subjectname:
  5797. description: 主体名称
  5798. type: string
  5799. subjectstatus:
  5800. description: '主体状态 - 1:正常 2: 停用'
  5801. type: integer
  5802. subjecttype:
  5803. description: 主体类型 - 1:交易主体 2:业务部门
  5804. type: integer
  5805. type: object
  5806. models.Ermcp3PaTradeLink:
  5807. properties:
  5808. accountid:
  5809. description: 期货账户代码 | 账号ID
  5810. type: integer
  5811. agreeunit:
  5812. description: 合约乘数
  5813. type: number
  5814. buyorsell:
  5815. description: 方向 - 0:买 1:卖
  5816. type: integer
  5817. channelbuildtype:
  5818. description: 委托单据类型 0:无 1:建仓 2:平仓
  5819. type: integer
  5820. charge:
  5821. description: 手续费
  5822. type: number
  5823. closepl:
  5824. description: 平仓盈亏
  5825. type: number
  5826. closetype:
  5827. description: 平仓方式 - 0:无 1:平今 2:平昨
  5828. type: integer
  5829. convertratio:
  5830. description: 折算系数
  5831. type: number
  5832. enumdicname:
  5833. description: 单位名称
  5834. type: string
  5835. executeprice:
  5836. description: 执行价 [期权]
  5837. type: integer
  5838. goodscode:
  5839. description: 合约代码
  5840. type: string
  5841. goodsgroupid:
  5842. description: 对冲品种ID[期货合约商品组ID]
  5843. type: integer
  5844. goodsid:
  5845. description: 商品ID
  5846. type: integer
  5847. goodsname:
  5848. description: 合约名称
  5849. type: string
  5850. goodunitid:
  5851. description: 单位id
  5852. type: integer
  5853. hedgeflag:
  5854. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  5855. type: integer
  5856. marketid:
  5857. description: 市场ID
  5858. type: integer
  5859. middlegoodsid:
  5860. description: 套保品种ID
  5861. type: integer
  5862. middlegoodsqty:
  5863. description: 套保品种数量 = TradeQty * AgreeUnit * ConvertRatio
  5864. type: number
  5865. optioncode:
  5866. description: 期权代码 [期权]
  5867. type: string
  5868. ordertype:
  5869. description: 单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单
  5870. type: integer
  5871. ordertypename:
  5872. description: 订单类型
  5873. type: string
  5874. parentaccountid:
  5875. description: 所属母账户
  5876. type: integer
  5877. premium:
  5878. description: 权利金 [期权]
  5879. type: number
  5880. relatedlot:
  5881. description: 已关联数量(已关联数量手) | db:关联手数
  5882. type: number
  5883. relatedouttradeid:
  5884. description: 关联外部成交单ID
  5885. type: string
  5886. relatedqty:
  5887. description: 关联数量
  5888. type: number
  5889. spotcontractid:
  5890. description: 现货合同ID [4:套期保值\10\11]
  5891. type: string
  5892. taname:
  5893. description: 期货账户名称
  5894. type: string
  5895. tradeamount:
  5896. description: 成交金额(账户)
  5897. type: number
  5898. tradedate:
  5899. description: 交易日(yyyyMMdd)
  5900. type: string
  5901. tradeid:
  5902. description: 期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5903. type: string
  5904. tradelot:
  5905. description: 成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数
  5906. type: integer
  5907. tradeprice:
  5908. description: 成交价格
  5909. type: number
  5910. tradetime:
  5911. description: 时间 | db:成交时间
  5912. type: string
  5913. tradetype:
  5914. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  5915. type: integer
  5916. userid:
  5917. description: 所属机构 - 所属母账户的UserID
  5918. type: string
  5919. username:
  5920. description: 用户名称
  5921. type: string
  5922. type: object
  5923. models.Ermcp3ParamChangeApp:
  5924. properties:
  5925. aftervalue:
  5926. description: 变更后
  5927. type: number
  5928. applicationid:
  5929. description: 申请ID(619+Unix秒时间戳(10位)+xxxxxx)
  5930. type: string
  5931. applyid:
  5932. description: 申请人
  5933. type: string
  5934. applyname:
  5935. description: 申请人名称(代码)
  5936. type: string
  5937. applyremark:
  5938. description: 申请备注
  5939. type: string
  5940. applysrc:
  5941. description: 申请来源 - 1:管理端 2:终端
  5942. type: integer
  5943. applystatus:
  5944. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  5945. type: integer
  5946. applytime:
  5947. description: 申请时间
  5948. type: string
  5949. areauserid:
  5950. description: 所属机构用户ID
  5951. type: integer
  5952. auditid:
  5953. description: 审核人
  5954. type: string
  5955. auditname:
  5956. description: 审核人名称(代码)
  5957. type: string
  5958. auditremark:
  5959. description: 审核备注
  5960. type: string
  5961. auditsrc:
  5962. description: 审核来源 - 1:管理端 2:终端
  5963. type: integer
  5964. audittime:
  5965. description: 审核时间
  5966. type: string
  5967. audittradedate:
  5968. description: 审核交易日(yyyyMMdd)
  5969. type: string
  5970. beforevalue:
  5971. description: 变更前
  5972. type: number
  5973. deliverygoodscode:
  5974. description: 品种代码
  5975. type: string
  5976. deliverygoodsid:
  5977. description: 品种id
  5978. type: integer
  5979. deliverygoodsname:
  5980. description: 品种名称
  5981. type: string
  5982. middlegoodscode:
  5983. description: 套保品种代码
  5984. type: string
  5985. middlegoodsid:
  5986. description: 套保品种ID [ParamChangeType = 2,3,4]
  5987. type: integer
  5988. middlegoodsname:
  5989. description: 套保品种名称
  5990. type: string
  5991. operatetype:
  5992. description: 操作类型 - 1:新增 2:修改
  5993. type: integer
  5994. paramchangetype:
  5995. description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  5996. type: integer
  5997. wrstandardcode:
  5998. description: 现货商品代码
  5999. type: string
  6000. wrstandardid:
  6001. description: 现货商品ID [ParamChangeType = 1,2,3]
  6002. type: integer
  6003. wrstandardname:
  6004. description: 现货商品名称
  6005. type: string
  6006. type: object
  6007. models.Ermcp3RootUserAccount:
  6008. properties:
  6009. accountname:
  6010. description: 账户名称(机构名称)
  6011. type: string
  6012. accountstatus:
  6013. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6014. type: integer
  6015. applysrc:
  6016. description: 申请来源 - 1:管理端 2:终端
  6017. type: integer
  6018. auditremark:
  6019. description: 审核备注
  6020. type: string
  6021. auditsrc:
  6022. description: 审核来源 - 1:管理端 2:终端
  6023. type: integer
  6024. audittime:
  6025. description: 审核时间
  6026. type: string
  6027. audituserid:
  6028. description: 审核人
  6029. type: integer
  6030. broker:
  6031. description: 所属经纪人ID
  6032. type: integer
  6033. canceltime:
  6034. description: 销户时间
  6035. type: string
  6036. canceluserid:
  6037. description: 销户人
  6038. type: integer
  6039. canrecommend:
  6040. description: 是否可推荐 - 0:不可 1;可
  6041. type: integer
  6042. createtime:
  6043. description: 创建时间
  6044. type: string
  6045. creatorid:
  6046. description: 创建人
  6047. type: integer
  6048. hasauth:
  6049. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  6050. type: integer
  6051. isanonymous:
  6052. description: 是否匿名下单 - 0:否 1:是
  6053. type: integer
  6054. maxinvestornum:
  6055. description: 最大用户数(经纪会员下投资者个数)
  6056. type: integer
  6057. memberuserid:
  6058. description: 所属会员ID
  6059. type: integer
  6060. modifierid:
  6061. description: 修改人
  6062. type: integer
  6063. modifyremark:
  6064. description: 变更备注
  6065. type: string
  6066. modifystatus:
  6067. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  6068. type: integer
  6069. modifytime:
  6070. description: 修改时间
  6071. type: string
  6072. parenttopuser:
  6073. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  6074. type: string
  6075. parentuserid:
  6076. description: 所属机构ID
  6077. type: integer
  6078. reckonaccountid:
  6079. description: 默认结算资金账号ID(机构分润使用) 作废
  6080. type: integer
  6081. refercount:
  6082. description: 推荐总人数
  6083. type: integer
  6084. refereeuserid:
  6085. description: 推荐人ID
  6086. type: integer
  6087. refernum:
  6088. description: 推荐码
  6089. type: string
  6090. rootuserid:
  6091. description: 根用户ID
  6092. type: integer
  6093. subaccountlevel:
  6094. description: 子账户层数
  6095. type: integer
  6096. subarealevelpath:
  6097. description: 子机构层级路径(逗号分隔,首尾加逗号)
  6098. type: string
  6099. userid:
  6100. description: 用户ID
  6101. type: integer
  6102. usertype:
  6103. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6104. type: integer
  6105. type: object
  6106. models.Ermcp3SCMiddleGoods:
  6107. properties:
  6108. biztype:
  6109. description: 业务类型 1:套保 2:套利
  6110. type: integer
  6111. contractno:
  6112. description: 合同编号
  6113. type: string
  6114. contracttype:
  6115. description: 合同类型 1:采购 -1:销售
  6116. type: integer
  6117. customername:
  6118. description: 对手手名称
  6119. type: string
  6120. customeruserid:
  6121. description: 对手id
  6122. type: integer
  6123. deliverygoodscode:
  6124. description: 现货品种代码
  6125. type: string
  6126. deliverygoodsid:
  6127. description: 现货品种ID
  6128. type: integer
  6129. deliverygoodsname:
  6130. description: 现货品种名称
  6131. type: string
  6132. enumdicname:
  6133. description: 现货单位名称
  6134. type: string
  6135. middlegoodsid:
  6136. description: 套保品种ID
  6137. type: integer
  6138. middlegoodspricedqty3:
  6139. description: 应套保数量 = MiddleGoodsPricedQty2 * 套保比率
  6140. type: number
  6141. needhedgeratio:
  6142. description: 套保比例
  6143. type: number
  6144. pricedqty:
  6145. description: 已定价量
  6146. type: number
  6147. relatedmiddlegoodsqty:
  6148. description: 已关联量(套保品种)(期货)
  6149. type: number
  6150. spotcontractid:
  6151. description: 合同编号
  6152. type: string
  6153. unitid:
  6154. description: 现货单位id
  6155. type: integer
  6156. userid:
  6157. description: 用户id
  6158. type: integer
  6159. vatrate:
  6160. description: 增值税率
  6161. type: number
  6162. wrstandardcode:
  6163. description: 现货商品代码
  6164. type: string
  6165. wrstandardid:
  6166. description: 现货商品id
  6167. type: integer
  6168. wrstandardname:
  6169. description: 现货商品名称
  6170. type: string
  6171. type: object
  6172. models.Ermcp3SCMiddleGoodsReport:
  6173. properties:
  6174. begindate:
  6175. description: 开始交易日
  6176. type: string
  6177. contractno:
  6178. description: 合同编号
  6179. type: string
  6180. contracttype:
  6181. description: 合同类型 1:采购 -1:销售
  6182. type: integer
  6183. convertratio:
  6184. description: 折算系数
  6185. type: number
  6186. cycletime:
  6187. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6188. type: string
  6189. cycletype:
  6190. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6191. type: integer
  6192. deliverygoodscode:
  6193. description: 品种代码
  6194. type: string
  6195. deliverygoodsid:
  6196. description: 现货品种ID
  6197. type: integer
  6198. deliverygoodsname:
  6199. description: 品种名称
  6200. type: string
  6201. diffprice:
  6202. description: 现期价格差 = 今日点价登记均价(基价) - 今日期货成交均价
  6203. type: number
  6204. diffqty:
  6205. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  6206. type: number
  6207. enddate:
  6208. description: 结束交易日
  6209. type: string
  6210. hedgeplanqty:
  6211. description: 套保计划量 = TodayPricedQty * 折算系数 * (1/(1+增值税率)) * 套保比例
  6212. type: number
  6213. matchname:
  6214. description: 交易对手方(个人:用户名称 企业:简称)
  6215. type: string
  6216. middlegoodscode:
  6217. description: 套保品种代码
  6218. type: string
  6219. middlegoodsid:
  6220. description: 套保品种ID
  6221. type: integer
  6222. middlegoodsname:
  6223. description: 套保品种名称
  6224. type: string
  6225. middlegoodspricedqty:
  6226. description: 已定价量(套保品种 - 税前) = PricedQty * 折算系数
  6227. type: number
  6228. middlegoodspricedqty2:
  6229. description: 已定价量(套保品种- 税后) = MiddleGoodsPricedQty * (1/(1+增值税率))
  6230. type: number
  6231. middlegoodspricedqty3:
  6232. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  6233. type: number
  6234. needhedgeratio:
  6235. description: 套保系数
  6236. type: number
  6237. pricedamount:
  6238. description: 已定价额(现货)
  6239. type: number
  6240. pricedamount2:
  6241. description: 已定价额(现货-基价额)
  6242. type: number
  6243. pricedqty:
  6244. description: 已定价量(现货)
  6245. type: number
  6246. reckondate:
  6247. description: 日照时期(yyyyMMdd)
  6248. type: string
  6249. relatedmiddlegoodsamount:
  6250. description: 已关联额(期货)
  6251. type: number
  6252. relatedmiddlegoodsqty:
  6253. description: 已关联量(套保品种)(期货)
  6254. type: number
  6255. spotcontractid:
  6256. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  6257. type: string
  6258. todayavgfutuprice:
  6259. description: 今日期货成交均价 = TodayRelatedMiddleGoodsAmount /TodayRelatedMiddleGoodsQty
  6260. type: number
  6261. todayavgprice:
  6262. description: 今日定价均价 = TodayPricedAmount / TodayPricedQty
  6263. type: number
  6264. todayavgprice2:
  6265. description: 今日点价登记均价(基价) = TodayPricedAmount2 / TodayPricedQty
  6266. type: number
  6267. todaypricedamount:
  6268. description: 今日定价额(现货)
  6269. type: number
  6270. todaypricedamount2:
  6271. description: 今日定价额(现货-基价额)
  6272. type: number
  6273. todaypricedqty:
  6274. description: 今日定价量(现货)
  6275. type: number
  6276. todayrelatedmiddlegoodsamount:
  6277. description: 今日关联额(期货)
  6278. type: number
  6279. todayrelatedmiddlegoodsqty:
  6280. description: 今日关联量(期货)
  6281. type: number
  6282. updatetime:
  6283. description: 更新时间
  6284. type: string
  6285. userid:
  6286. description: 合同所属用户id
  6287. type: integer
  6288. vatrate:
  6289. description: 增值税率
  6290. type: number
  6291. wrstandardcode:
  6292. description: 商品(品类) 代码
  6293. type: string
  6294. wrstandardid:
  6295. description: 现货商品ID
  6296. type: integer
  6297. wrstandardname:
  6298. description: 商品(品类) 名称
  6299. type: string
  6300. type: object
  6301. models.Ermcp3SellBuyContract:
  6302. properties:
  6303. accountid:
  6304. description: 期货账户id
  6305. type: string
  6306. accountname:
  6307. description: 账户名称
  6308. type: string
  6309. attachment:
  6310. description: 附件
  6311. type: string
  6312. audittime:
  6313. description: 审核时间
  6314. type: string
  6315. biztype:
  6316. description: 业务类型 1-套保 2-套利
  6317. type: integer
  6318. brandname:
  6319. description: 品牌名称
  6320. type: string
  6321. contracctstatus:
  6322. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6323. type: integer
  6324. contractmargin:
  6325. description: 合同保证金
  6326. type: number
  6327. contractno:
  6328. description: 合同编号
  6329. type: string
  6330. contracttype:
  6331. description: 合同类型 1-采购, -1-销售
  6332. type: integer
  6333. convertfactor:
  6334. description: 标仓系数(品类)
  6335. type: number
  6336. createtime:
  6337. description: 创建时间
  6338. type: string
  6339. currencyid:
  6340. description: 币种id
  6341. type: integer
  6342. currencyname:
  6343. description: 币种名称
  6344. type: string
  6345. daikaiamount:
  6346. description: 应收(开)票额
  6347. type: number
  6348. deliveryenddate:
  6349. description: 交割结束日
  6350. type: string
  6351. deliverygoodscode:
  6352. description: 现货品种代码
  6353. type: string
  6354. deliverygoodsid:
  6355. description: 现货商品ID
  6356. type: integer
  6357. deliverygoodsname:
  6358. description: 现货品种名称
  6359. type: string
  6360. deliverystartdate:
  6361. description: 交割开始日
  6362. type: string
  6363. enddate:
  6364. description: 点价结束日
  6365. type: string
  6366. enumdicname:
  6367. description: 单位名称
  6368. type: string
  6369. goodscode:
  6370. description: 点价商品代码
  6371. type: string
  6372. goodsid:
  6373. description: 点价商品ID
  6374. type: integer
  6375. goodsname:
  6376. description: 点价商品名称
  6377. type: string
  6378. invoiceamount:
  6379. description: 已开票额
  6380. type: number
  6381. loanamount:
  6382. description: 贷款总额=已定价额+调整金额
  6383. type: number
  6384. margin:
  6385. description: 保证金
  6386. type: number
  6387. meruserid:
  6388. description: 跟单员id
  6389. type: integer
  6390. meruserlogincode:
  6391. description: 跟单员登录代码
  6392. type: string
  6393. merusername:
  6394. description: 跟单员名称
  6395. type: string
  6396. nickname:
  6397. description: 账户昵称
  6398. type: string
  6399. payamount:
  6400. description: 已收付额(收款或付款)
  6401. type: number
  6402. preinvoiceamount:
  6403. description: 预收(开)票额
  6404. type: number
  6405. prepayamount:
  6406. description: 预收付额
  6407. type: number
  6408. price:
  6409. description: 价格
  6410. type: number
  6411. pricedamount:
  6412. description: 已定价额
  6413. type: number
  6414. pricedavg:
  6415. description: 已点均价
  6416. type: number
  6417. pricedqty:
  6418. description: 已定价量
  6419. type: number
  6420. pricemove:
  6421. description: 升贴水
  6422. type: number
  6423. pricetype:
  6424. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  6425. type: integer
  6426. producttype:
  6427. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6428. type: integer
  6429. qty:
  6430. description: 合同量
  6431. type: number
  6432. reckonadjustamount:
  6433. description: 调整金额
  6434. type: number
  6435. reckonedamount:
  6436. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  6437. type: number
  6438. reckonotheramount:
  6439. description: 其它费用
  6440. type: number
  6441. reckonrealqty:
  6442. description: 已确定量
  6443. type: number
  6444. remark:
  6445. description: 备注
  6446. type: string
  6447. saleuserid:
  6448. description: 业务员id
  6449. type: integer
  6450. saleuserlogincode:
  6451. description: 业务员登录代码
  6452. type: string
  6453. saleusername:
  6454. description: 业务员名称
  6455. type: string
  6456. spotcontractid:
  6457. description: 合同ID
  6458. type: string
  6459. spotgoodsbrandid:
  6460. description: 现货品牌ID(DGFactoryItem表的ID)
  6461. type: integer
  6462. spotgoodsdesc:
  6463. description: 商品型号(商品规格)
  6464. type: string
  6465. startdate:
  6466. description: 点价开始日
  6467. type: string
  6468. subjectid:
  6469. description: 交易主体ID
  6470. type: string
  6471. subjectname:
  6472. description: 交易主体名称
  6473. type: string
  6474. totalamount:
  6475. description: 合计总额
  6476. type: number
  6477. tradeuserid:
  6478. description: 交易员id
  6479. type: integer
  6480. tradeuserlogincode:
  6481. description: 交易员登录代码
  6482. type: string
  6483. tradeusername:
  6484. description: 交易员名称
  6485. type: string
  6486. unpayamount:
  6487. description: 应收付款额(应支付或应收款)
  6488. type: number
  6489. unpricedqty:
  6490. description: 未定价量
  6491. type: number
  6492. unsureqty:
  6493. description: 未确定量
  6494. type: number
  6495. userid:
  6496. description: 机构ID
  6497. type: integer
  6498. vatrate:
  6499. description: 增值税率
  6500. type: number
  6501. wrstandardcode:
  6502. description: 品类代码
  6503. type: string
  6504. wrstandardid:
  6505. description: 品类ID
  6506. type: integer
  6507. wrstandardname:
  6508. description: 品类名称
  6509. type: string
  6510. type: object
  6511. models.Ermcp3SpotGoodsPrice:
  6512. properties:
  6513. areauserid:
  6514. description: 所属机构id
  6515. type: integer
  6516. brandname:
  6517. description: 品牌名称
  6518. type: string
  6519. currencyid:
  6520. description: 报价货币ID
  6521. type: integer
  6522. currencyname:
  6523. description: 币种名称
  6524. type: string
  6525. deliverygoodscode:
  6526. description: 现货商品代码
  6527. type: string
  6528. deliverygoodsid:
  6529. description: 现货商品id
  6530. type: integer
  6531. deliverygoodsname:
  6532. description: 现货商品名称
  6533. type: string
  6534. enumdicname:
  6535. description: 现货商品单位名称
  6536. type: string
  6537. gbenumdicname:
  6538. description: 品类单位名称
  6539. type: string
  6540. gmunitid:
  6541. description: 品类单位id
  6542. type: integer
  6543. isvalid:
  6544. description: 是否有效 - 0:无效 1:有效
  6545. type: integer
  6546. operateid:
  6547. description: 最后操作人
  6548. type: integer
  6549. operatesrc:
  6550. description: 最后操作来源 - 1:管理端 2:终端
  6551. type: integer
  6552. operatetime:
  6553. description: 最后操作时间
  6554. type: string
  6555. operatorname:
  6556. description: 操作人名称
  6557. type: string
  6558. spotgoodsbrandid:
  6559. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6560. type: integer
  6561. spotgoodsprice:
  6562. description: 现货价格
  6563. type: number
  6564. tradedate:
  6565. description: 交易日(yyyyMMdd)
  6566. type: string
  6567. unitid:
  6568. description: 现货商品单位id
  6569. type: integer
  6570. wrstandardcode:
  6571. description: 品类代码
  6572. type: string
  6573. wrstandardid:
  6574. description: 现货品类ID(通用则为0)
  6575. type: integer
  6576. wrstandardname:
  6577. description: 品类名称
  6578. type: string
  6579. type: object
  6580. models.Ermcp3SpotGoodsPriceLog:
  6581. properties:
  6582. areauserid:
  6583. description: 所属机构id
  6584. type: integer
  6585. brandname:
  6586. description: 品牌名称
  6587. type: string
  6588. currencyid:
  6589. description: 报价货币ID
  6590. type: integer
  6591. deliverygoodscode:
  6592. description: 现货商品代码
  6593. type: string
  6594. deliverygoodsid:
  6595. description: 现货商品id
  6596. type: integer
  6597. deliverygoodsname:
  6598. description: 现货商品名称
  6599. type: string
  6600. enumdicname:
  6601. description: 现货商品单位名称
  6602. type: string
  6603. gbenumdicname:
  6604. description: 品类单位名称
  6605. type: string
  6606. gmunitid:
  6607. description: 品类单位id
  6608. type: integer
  6609. logid:
  6610. description: 日志id
  6611. type: integer
  6612. operateid:
  6613. description: 最后操作人
  6614. type: integer
  6615. operatesrc:
  6616. description: 最后操作来源 - 1:管理端 2:终端
  6617. type: integer
  6618. operatetime:
  6619. description: 最后操作时间
  6620. type: string
  6621. operatorname:
  6622. description: 操作人名称
  6623. type: string
  6624. spotgoodsbrandid:
  6625. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6626. type: integer
  6627. spotgoodsprice:
  6628. description: 现货价格
  6629. type: number
  6630. tradedate:
  6631. description: 交易日(yyyyMMdd)
  6632. type: string
  6633. unitid:
  6634. description: 现货商品单位id
  6635. type: integer
  6636. wrstandardcode:
  6637. description: 品类代码
  6638. type: string
  6639. wrstandardid:
  6640. description: 现货品类ID(通用则为0)
  6641. type: integer
  6642. wrstandardname:
  6643. description: 品类名称
  6644. type: string
  6645. type: object
  6646. models.Ermcp3SubTaaccount:
  6647. properties:
  6648. accountid:
  6649. description: 资金账户ID
  6650. type: integer
  6651. parentaccountcode:
  6652. description: 所属根账号代码(母账号代码)
  6653. type: string
  6654. parentaccountid:
  6655. description: 所属根账号(母账号)
  6656. type: integer
  6657. taname:
  6658. description: 资金账号名称
  6659. type: string
  6660. tradestatus:
  6661. description: 交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)
  6662. type: integer
  6663. username:
  6664. description: 交易用户
  6665. type: string
  6666. type: object
  6667. models.Ermcp3TaFutuReDataReport:
  6668. properties:
  6669. accountid:
  6670. description: 交易账户
  6671. type: integer
  6672. accountname:
  6673. description: 交易账号名称
  6674. type: string
  6675. agreeunit:
  6676. description: 商品合约单位
  6677. type: number
  6678. begindate:
  6679. description: 开始交易日
  6680. type: string
  6681. buyorsell:
  6682. description: 持仓方向
  6683. type: integer
  6684. charge:
  6685. description: 手续费
  6686. type: number
  6687. closeavgprice:
  6688. description: 平仓均价
  6689. type: number
  6690. closepl:
  6691. description: 平仓损益
  6692. type: number
  6693. currencyid:
  6694. description: 结算币种ID
  6695. type: integer
  6696. currencyname:
  6697. description: 币种名称
  6698. type: string
  6699. cycletime:
  6700. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6701. type: string
  6702. cycletype:
  6703. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6704. type: integer
  6705. enddate:
  6706. description: 结束交易日
  6707. type: string
  6708. enumdicname:
  6709. description: 单位名称
  6710. type: string
  6711. floatpl:
  6712. description: 浮动损益
  6713. type: number
  6714. goodscode:
  6715. description: 交易合约代码
  6716. type: string
  6717. goodsgroupid:
  6718. description: 交易品种
  6719. type: integer
  6720. goodsgroupname:
  6721. description: 交易品种名称
  6722. type: string
  6723. goodsgroupspotqty:
  6724. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  6725. type: number
  6726. goodsid:
  6727. description: 交易合约
  6728. type: integer
  6729. goodsname:
  6730. description: 交易合约名称
  6731. type: string
  6732. goodunitid:
  6733. description: 交易合约单位id
  6734. type: integer
  6735. holdamount:
  6736. description: 期末持仓额
  6737. type: number
  6738. holdqty:
  6739. description: 期末持仓量
  6740. type: number
  6741. lastholdamount:
  6742. description: 当前持仓额
  6743. type: number
  6744. lastprice:
  6745. description: 最新价
  6746. type: number
  6747. middlegoodsid:
  6748. description: 套保品种id
  6749. type: integer
  6750. middlegoodsname:
  6751. description: 套保商品名称
  6752. type: string
  6753. middlegoodsqty:
  6754. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  6755. type: number
  6756. middlgoodscode:
  6757. description: 套保商品代码
  6758. type: string
  6759. openamount:
  6760. description: 期末开仓额
  6761. type: number
  6762. openavgprice:
  6763. description: 开仓均价
  6764. type: number
  6765. oriholdamount:
  6766. description: 期初持仓额
  6767. type: number
  6768. oriholdqty:
  6769. description: 期初持仓量
  6770. type: number
  6771. oriopenamount:
  6772. description: 期初开仓额
  6773. type: number
  6774. outergroupcode:
  6775. description: 交易品种代码
  6776. type: string
  6777. qtydecimalplace:
  6778. description: 成交量小数位
  6779. type: integer
  6780. reckondate:
  6781. description: 日照时期(yyyyMMdd)
  6782. type: string
  6783. reckonholdamount:
  6784. description: 结算持仓额
  6785. type: number
  6786. reckonpl:
  6787. description: 结算损益
  6788. type: number
  6789. reckonpl2:
  6790. description: 结算逐笔盈亏
  6791. type: number
  6792. reckonprice:
  6793. description: 结算价
  6794. type: number
  6795. relateduserid:
  6796. description: 账户关联用户ID
  6797. type: integer
  6798. todaycloseamount:
  6799. description: 今平仓额
  6800. type: number
  6801. todaycloseqty:
  6802. description: 今平仓量
  6803. type: number
  6804. todaygoodsgroupspotqty:
  6805. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  6806. type: number
  6807. todaymiddlegoodsqty:
  6808. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  6809. type: number
  6810. todayopenamount:
  6811. description: 今开仓额
  6812. type: number
  6813. todayopenqty:
  6814. description: 今开仓量
  6815. type: number
  6816. userid:
  6817. description: 账户所属用户ID
  6818. type: integer
  6819. type: object
  6820. models.Ermcp3TradeLinkDetail:
  6821. properties:
  6822. accountid:
  6823. description: 资金账号
  6824. type: integer
  6825. agreeunit:
  6826. description: 合约乘数
  6827. type: number
  6828. areauserid:
  6829. description: 所属机构
  6830. type: string
  6831. bizsubjectid:
  6832. description: 归属业务部门ID - SubjectID
  6833. type: string
  6834. buyorsell:
  6835. description: 方向 - 0:买 1:卖
  6836. type: integer
  6837. channelbuildtype:
  6838. description: 委托单据类型 0:无 1:建仓 2:平仓
  6839. type: integer
  6840. contractno:
  6841. description: 现货编号 (合同编号)
  6842. type: string
  6843. convertratio:
  6844. description: 折算系数
  6845. type: number
  6846. createtime:
  6847. description: 关联时间 | 创建时间
  6848. type: string
  6849. creatorid:
  6850. description: 创建人ID
  6851. type: string
  6852. creatorsrc:
  6853. description: 创建人来源 - 1:管理端 2:终端 3:交易
  6854. type: integer
  6855. enumdicname:
  6856. description: 单位名称
  6857. type: string
  6858. goodscode:
  6859. description: 合约代码
  6860. type: string
  6861. goodsgroupid:
  6862. description: 对冲品种ID[期货合约商品组ID]
  6863. type: integer
  6864. goodsid:
  6865. description: 商品ID
  6866. type: integer
  6867. goodsname:
  6868. description: 合约名称
  6869. type: string
  6870. hedgeflag:
  6871. description: 业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  6872. type: integer
  6873. linkdetailid:
  6874. description: 关联ID(614+Unix秒时间戳(10位)+xxxxxx)
  6875. type: string
  6876. linkstatus:
  6877. description: 关联状态 - 1:成功 2:失败
  6878. type: integer
  6879. middlegoodsid:
  6880. description: 套保品种ID
  6881. type: integer
  6882. relatedlot:
  6883. description: 关联手数
  6884. type: number
  6885. relatedmode:
  6886. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  6887. type: integer
  6888. relatedqty:
  6889. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  6890. type: number
  6891. retcode:
  6892. description: 返回码
  6893. type: integer
  6894. saleuserid:
  6895. description: 业务员ID
  6896. type: string
  6897. spotcontractid:
  6898. description: 现货合同\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]
  6899. type: string
  6900. taname:
  6901. description: 期货账户
  6902. type: string
  6903. tradedate:
  6904. description: 关联交易日(yyyyMMdd)
  6905. type: string
  6906. tradeid:
  6907. description: 期货订单号 | 内部成交单ID
  6908. type: string
  6909. tradelot:
  6910. description: 成交数量 | 成交手数
  6911. type: integer
  6912. tradeprice:
  6913. description: 成交价格
  6914. type: number
  6915. tradetime:
  6916. description: 期货成交时间
  6917. type: string
  6918. tradetradedate:
  6919. description: 成交交易日(yyyyMMdd)
  6920. type: string
  6921. username:
  6922. description: 用户名称
  6923. type: string
  6924. type: object
  6925. models.Ermcp3Wrstandard:
  6926. properties:
  6927. areauserid:
  6928. description: 所属机构
  6929. type: integer
  6930. cantrade:
  6931. description: 是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)
  6932. type: integer
  6933. convertfactor:
  6934. description: 标仓系数
  6935. type: number
  6936. createtime:
  6937. description: 创建时间
  6938. type: string
  6939. creatorid:
  6940. description: 创建人
  6941. type: integer
  6942. deliverygoodsid:
  6943. description: 现货品种ID
  6944. type: integer
  6945. enumdicname:
  6946. description: 品类单位名称
  6947. type: string
  6948. isvalid:
  6949. description: 是否有效 0-无效(停用) 1-有效(正常)
  6950. type: integer
  6951. minivalue:
  6952. description: 最小变动值
  6953. type: integer
  6954. minivaluedp:
  6955. description: 最小变动值小数位
  6956. type: integer
  6957. realminivalue:
  6958. description: 实际最小变动值
  6959. type: integer
  6960. realminivaluedp:
  6961. description: 实际最小变动值小数位
  6962. type: integer
  6963. remark:
  6964. description: 备注
  6965. type: string
  6966. unitid:
  6967. description: 品类单位ID
  6968. type: integer
  6969. updatetime:
  6970. description: 更新时间
  6971. type: string
  6972. wrstandardcode:
  6973. description: 品类代码
  6974. type: string
  6975. wrstandardid:
  6976. description: 品类ID(SEQ_WRSTANDARD)
  6977. type: integer
  6978. wrstandardname:
  6979. description: 品类名称
  6980. type: string
  6981. type: object
  6982. models.ErmcpBizGroupEx:
  6983. properties:
  6984. acclist:
  6985. description: 账号列表
  6986. items:
  6987. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  6988. type: array
  6989. bizgroupid:
  6990. description: 业务分组id
  6991. type: integer
  6992. biztype:
  6993. description: 业务类型 1-套保 2-套利
  6994. type: integer
  6995. wrlist:
  6996. description: 现货商品表
  6997. items:
  6998. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  6999. type: array
  7000. type: object
  7001. models.ErmcpBizGroupSpotGoods:
  7002. properties:
  7003. areauserid:
  7004. description: 所属机构id
  7005. type: integer
  7006. bizgroupid:
  7007. description: 分组id
  7008. type: integer
  7009. biztype:
  7010. description: 业务类型 1-套保 2-套利
  7011. type: integer
  7012. deliverygoodscode:
  7013. description: 现货商品代码
  7014. type: string
  7015. deliverygoodsid:
  7016. description: 现货商品id
  7017. type: integer
  7018. deliverygoodsname:
  7019. description: 现货商品名称
  7020. type: string
  7021. unitid:
  7022. description: 现货商品单位id
  7023. type: integer
  7024. type: object
  7025. models.ErmcpBizGroupTaAccount:
  7026. properties:
  7027. accountid:
  7028. description: 账号id
  7029. type: integer
  7030. accountname:
  7031. description: 账号名称
  7032. type: string
  7033. areauserid:
  7034. description: 所属机构id
  7035. type: integer
  7036. bizgroupid:
  7037. description: 业务分组id
  7038. type: integer
  7039. ismain:
  7040. description: 是否主账号 1-是 0-否
  7041. type: integer
  7042. type: object
  7043. models.ErmcpDGFactoryItem:
  7044. properties:
  7045. areauserid:
  7046. description: 用户id
  7047. type: integer
  7048. deliverygoodsid:
  7049. description: 现货品种ID
  7050. type: integer
  7051. dgfactoryitemid:
  7052. description: 选择项ID(SEQ_DGFACTORYITEM)
  7053. type: integer
  7054. dgfactoryitemtypeid:
  7055. description: 要素项类型
  7056. type: integer
  7057. dgfactoryitemvalue:
  7058. description: 要素项值(类型为仓库时填写仓库名称)
  7059. type: string
  7060. isvalid:
  7061. description: 是否有效 - 0:无效 1:有效
  7062. type: integer
  7063. orderindex:
  7064. description: 顺序
  7065. type: integer
  7066. warehouseid:
  7067. description: 仓库ID(类型为仓库时填写)
  7068. type: integer
  7069. type: object
  7070. models.ErmcpDeliveryGoods:
  7071. properties:
  7072. agreeunit:
  7073. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  7074. type: integer
  7075. areauserid:
  7076. description: 所属机构
  7077. type: integer
  7078. auditflag:
  7079. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  7080. type: integer
  7081. categoryid:
  7082. description: 类别ID(SEQ_WRCATEGORY)
  7083. type: integer
  7084. deliverygoodscode:
  7085. description: 现货品种代码
  7086. type: string
  7087. deliverygoodsid:
  7088. description: 现货品种ID(SEQ_DELIVERYGOODS)
  7089. type: integer
  7090. deliverygoodsname:
  7091. description: 现货品种名称
  7092. type: string
  7093. deliverygoodstype:
  7094. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  7095. type: integer
  7096. dgstatus:
  7097. description: 品种状态 - 作废 - 0:未激活 1:正常
  7098. type: integer
  7099. enumdicname:
  7100. description: 现货品种单位名称
  7101. type: string
  7102. goodsunitid:
  7103. description: 现货品种单位ID
  7104. type: integer
  7105. isvalid:
  7106. description: 是否有效 - 0:无效 1:有效
  7107. type: integer
  7108. qtydecimalplace:
  7109. description: 成交量小数位
  7110. type: integer
  7111. remark:
  7112. description: 备注
  7113. type: string
  7114. standardqty:
  7115. description: 标准数量(库位数量) [标准品特有]
  7116. type: integer
  7117. standardqtyrange:
  7118. description: 标准数量偏差范围 [标准品特有]
  7119. type: integer
  7120. type: object
  7121. models.ErmcpFuturesCompany:
  7122. properties:
  7123. brokerid:
  7124. description: 经纪公司代码
  7125. type: string
  7126. channeladdress:
  7127. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  7128. type: string
  7129. channelid:
  7130. description: 对冲渠道ID
  7131. type: string
  7132. createtime:
  7133. description: 创建时间
  7134. type: string
  7135. creatorid:
  7136. description: 创建人
  7137. type: string
  7138. fcid:
  7139. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  7140. type: integer
  7141. fcname:
  7142. description: 期货公司名称
  7143. type: string
  7144. isvalid:
  7145. description: 是否有效 - 0:无效 1:有效
  7146. type: integer
  7147. mhpaddress:
  7148. description: MHP服务地址(IP:Port)
  7149. type: string
  7150. riskrulegroupid:
  7151. description: 风控规则组ID
  7152. type: string
  7153. tradefeetmpid:
  7154. description: 手续费模板ID[TradeConfigTmpType为2]
  7155. type: string
  7156. trademargintmpid:
  7157. description: 保证金模板ID [TradeConfigTmpType为1]
  7158. type: string
  7159. traderatetmpid:
  7160. description: 汇率模板ID[TradeConfigTmpType为3]
  7161. type: string
  7162. updatetime:
  7163. description: 更新时间
  7164. type: string
  7165. updatorid:
  7166. description: 更新人
  7167. type: string
  7168. type: object
  7169. models.ErmcpGGConvertCfg:
  7170. properties:
  7171. convertratio:
  7172. description: 折算系数
  7173. type: number
  7174. destgoodsgroupid:
  7175. description: 目标品种ID
  7176. type: integer
  7177. dstcode:
  7178. description: 目录品种代码
  7179. type: string
  7180. dstexchangecode:
  7181. description: 目标期货交易所
  7182. type: string
  7183. dstname:
  7184. description: 目标品种名称
  7185. type: string
  7186. dstunitid:
  7187. description: 目标品种单位ID
  7188. type: integer
  7189. dstunitidname:
  7190. description: 目标品种单位名称
  7191. type: string
  7192. modifytime:
  7193. description: 修改时间
  7194. type: string
  7195. srccode:
  7196. description: 源品种代码
  7197. type: string
  7198. srcexchangecode:
  7199. description: 源期货交易所
  7200. type: string
  7201. srcgoodsgroupid:
  7202. description: 源品种ID
  7203. type: integer
  7204. srcname:
  7205. description: 源品种名称
  7206. type: string
  7207. srcunitid:
  7208. description: 源品种单位ID
  7209. type: integer
  7210. srcunitidname:
  7211. description: 源品种单位名称
  7212. type: string
  7213. type: object
  7214. models.ErmcpGoods:
  7215. properties:
  7216. agreeunit:
  7217. description: 合约单位
  7218. type: number
  7219. areauserid:
  7220. description: 所属机构
  7221. type: integer
  7222. auditaccountid:
  7223. description: 审核操作员账号
  7224. type: integer
  7225. audittime:
  7226. description: 审核时间
  7227. type: string
  7228. cancelaccountid:
  7229. description: 注销操作员账号
  7230. type: integer
  7231. canceltime:
  7232. description: 注销时间
  7233. type: string
  7234. closepricemode:
  7235. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7236. type: integer
  7237. closepriceparam:
  7238. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  7239. type: number
  7240. createtime:
  7241. description: 创建时间
  7242. type: string
  7243. creatorid:
  7244. description: 创建人
  7245. type: integer
  7246. currencyid:
  7247. description: 报价货币ID
  7248. type: integer
  7249. cutmode:
  7250. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  7251. type: integer
  7252. decimalplace:
  7253. description: 报价小数位
  7254. type: integer
  7255. delistingdate:
  7256. description: 商品退市时间(状态:退市) -- 已作废
  7257. type: string
  7258. delistingmode:
  7259. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  7260. type: integer
  7261. deliveryflag:
  7262. description: 交割标志 - 0:不可交割 1:可交割
  7263. type: integer
  7264. enumdicname:
  7265. description: 单位名称
  7266. type: string
  7267. forceclosemode:
  7268. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  7269. type: integer
  7270. forceclosevalue:
  7271. description: 定期强平参数 [收益权]
  7272. type: integer
  7273. goodscode:
  7274. description: 商品代码(内部)
  7275. type: string
  7276. goodscurrencyid:
  7277. description: 合约货币ID
  7278. type: integer
  7279. goodsgroupid:
  7280. description: 所属商品组ID
  7281. type: integer
  7282. goodsid:
  7283. description: 商品ID(自增ID SEQ_GOODS)
  7284. type: integer
  7285. goodsname:
  7286. description: 商品名称
  7287. type: string
  7288. goodsquotetype:
  7289. description: '合约报价类型: 1-直接报价 2-间接报价'
  7290. type: integer
  7291. goodsstatus:
  7292. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7293. type: integer
  7294. goodstradetype:
  7295. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  7296. type: integer
  7297. goodunitid:
  7298. description: 报价单位ID
  7299. type: integer
  7300. hasquoter:
  7301. description: 是否有报价商 - 0:无报价商 1:有报价商
  7302. type: integer
  7303. hqprotecttime:
  7304. description: 行情保护时间(秒)
  7305. type: integer
  7306. innerdealmode:
  7307. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7308. type: integer
  7309. isbuylimited:
  7310. description: 是否限制建仓量 - 0:不限制 1:限制
  7311. type: integer
  7312. isvisible:
  7313. description: 游客是否可见 - 0:不可见 1:可见
  7314. type: integer
  7315. lasttradedate:
  7316. description: 最后交易日期(状态:待退市)
  7317. type: string
  7318. listingdate:
  7319. description: 交易开始日期
  7320. type: string
  7321. marketid:
  7322. description: 所属市场ID
  7323. type: integer
  7324. modifierid:
  7325. description: 修改人
  7326. type: integer
  7327. modifystatus:
  7328. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  7329. type: integer
  7330. modifytime:
  7331. description: 修改时间
  7332. type: string
  7333. outerdealmode:
  7334. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7335. type: integer
  7336. outgoodscode:
  7337. description: 商品代码(外部)
  7338. type: string
  7339. pictureurl:
  7340. description: 商品图片
  7341. type: string
  7342. qtydecimalplace:
  7343. description: 成交量小数位
  7344. type: integer
  7345. quotegear:
  7346. description: 行情档位(1-10)
  7347. type: integer
  7348. quoteminunit:
  7349. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7350. type: integer
  7351. quoteshowtype:
  7352. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  7353. type: integer
  7354. quoteshowtypeinterval:
  7355. description: 行情报价间隔时间(秒)(成交价时为0)
  7356. type: integer
  7357. relatedgoodsid:
  7358. description: 关联参考商品ID
  7359. type: integer
  7360. remark:
  7361. description: 备注
  7362. type: string
  7363. trademode:
  7364. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  7365. type: integer
  7366. required:
  7367. - goodscode
  7368. - goodsid
  7369. - goodsname
  7370. - marketid
  7371. type: object
  7372. models.ErmcpGoodsBrand:
  7373. properties:
  7374. areauserid:
  7375. description: 所属机构
  7376. type: integer
  7377. brandid:
  7378. description: BrandID(SEQ_SPOTGOODSBRAND)
  7379. type: integer
  7380. brandname:
  7381. description: 品牌名称
  7382. type: string
  7383. createtime:
  7384. description: 创建时间
  7385. type: string
  7386. creatorid:
  7387. description: 创建人
  7388. type: integer
  7389. creatorsrc:
  7390. description: 创建人来源 - 1:管理端 2:终端
  7391. type: integer
  7392. deliverygoodsid:
  7393. description: 现货品种ID
  7394. type: integer
  7395. isvalid:
  7396. description: 是否有效 - 0:无效 1:有效
  7397. type: integer
  7398. updatetime:
  7399. description: 更新时间
  7400. type: string
  7401. updatorid:
  7402. description: 更新人
  7403. type: integer
  7404. updatorsrc:
  7405. description: 更新人来源 - 1:管理端 2:终端
  7406. type: integer
  7407. wrstandardid:
  7408. description: 现货商品ID
  7409. type: integer
  7410. type: object
  7411. models.ErmcpGoodsModel:
  7412. properties:
  7413. areauserid:
  7414. description: 所属机构
  7415. type: integer
  7416. convertfactor:
  7417. description: 标仓系数
  7418. type: number
  7419. createtime:
  7420. description: 创建时间
  7421. type: string
  7422. creatorid:
  7423. description: 创建人
  7424. type: integer
  7425. creatorsrc:
  7426. description: 创建人来源 - 1:管理端 2:终端
  7427. type: integer
  7428. deliverygoodsid:
  7429. description: 现货品种ID
  7430. type: integer
  7431. isvalid:
  7432. description: 是否有效 - 0:无效 1:有效
  7433. type: integer
  7434. modelid:
  7435. description: ModelID(SEQ_SPOTGOODSMODEL)
  7436. type: integer
  7437. modelname:
  7438. description: 型号名称
  7439. type: string
  7440. updatetime:
  7441. description: 更新时间
  7442. type: string
  7443. updatorid:
  7444. description: 更新人
  7445. type: integer
  7446. updatorsrc:
  7447. description: 更新人来源 - 1:管理端 2:终端
  7448. type: integer
  7449. wrstandardid:
  7450. description: 现货商品ID
  7451. type: integer
  7452. type: object
  7453. models.ErmcpHisExposure:
  7454. properties:
  7455. needhedgeexposoure:
  7456. description: 应套保敞口
  7457. type: number
  7458. reckondate:
  7459. description: 日照时期(yyyyMMdd)
  7460. type: string
  7461. totalexposure:
  7462. description: 总敞口
  7463. type: number
  7464. type: object
  7465. models.ErmcpLoginTaAccount:
  7466. properties:
  7467. accountid:
  7468. description: 账号id
  7469. type: integer
  7470. accountname:
  7471. description: 账号名称
  7472. type: string
  7473. type: object
  7474. models.ErmcpLoginUser:
  7475. properties:
  7476. acclist:
  7477. description: 关联资金账号
  7478. items:
  7479. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  7480. type: array
  7481. accountname:
  7482. description: 用户名称
  7483. type: string
  7484. clientroleid:
  7485. description: 角色id(usertype=2)
  7486. type: integer
  7487. createtime:
  7488. description: 创建时间
  7489. type: string
  7490. logincode:
  7491. description: 登录代码
  7492. type: string
  7493. loginid:
  7494. description: 登录id(LOGINID)
  7495. type: integer
  7496. loginname:
  7497. description: 登录名称(loginaccount表中的accountname字段)
  7498. type: string
  7499. loginstatus:
  7500. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  7501. type: integer
  7502. memberuserid:
  7503. description: 所属会员id
  7504. type: integer
  7505. mobile:
  7506. description: 手机号
  7507. type: string
  7508. modifytime:
  7509. description: 修改时间
  7510. type: string
  7511. password:
  7512. description: 密码(不可解密)
  7513. type: string
  7514. rolename:
  7515. description: 角色名称
  7516. type: string
  7517. rolestatus:
  7518. description: 角色状态 1-启用 2-停用
  7519. type: integer
  7520. roletype:
  7521. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  7522. type: string
  7523. userid:
  7524. description: 用户id
  7525. type: integer
  7526. usertype:
  7527. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  7528. type: integer
  7529. type: object
  7530. models.ErmcpLoginUserEx:
  7531. properties:
  7532. accountstatus:
  7533. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  7534. type: integer
  7535. mobile:
  7536. description: 手机号
  7537. type: string
  7538. querytype:
  7539. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  7540. type: integer
  7541. roleid:
  7542. description: 角色id(交易账户->用户id)
  7543. type: integer
  7544. rolename:
  7545. description: 角色名称(交易账户->用户名称)
  7546. type: string
  7547. userlist:
  7548. description: 用户列表
  7549. items:
  7550. $ref: '#/definitions/models.ErmcpLoginUser'
  7551. type: array
  7552. usertype:
  7553. description: 用户类型 2-机构 7-企业成员(云平台)
  7554. type: integer
  7555. type: object
  7556. models.ErmcpMiddleGoodsModel:
  7557. properties:
  7558. areauserid:
  7559. description: 机构用户ID
  7560. type: integer
  7561. createtime:
  7562. description: 修改时间
  7563. type: string
  7564. enumdicname:
  7565. description: 单位名称
  7566. type: string
  7567. evaluateratio:
  7568. description: 估价系数
  7569. type: number
  7570. goodsgroupid:
  7571. description: 关联期货品种ID
  7572. type: integer
  7573. goodsunitid:
  7574. description: 单位ID
  7575. type: integer
  7576. isvalid:
  7577. description: 状态 0-无效(停用) 1-有效(正常)
  7578. type: integer
  7579. middlegoodscode:
  7580. description: 套保品种代码
  7581. type: string
  7582. middlegoodsid:
  7583. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  7584. type: integer
  7585. middlegoodsname:
  7586. description: 套保品种名称
  7587. type: string
  7588. modifytime:
  7589. description: 修改时间
  7590. type: string
  7591. needarbitrageratio:
  7592. description: 套利比例
  7593. type: number
  7594. needhedgeratio:
  7595. description: 套保比率
  7596. type: number
  7597. qtydecimalplace:
  7598. description: 数量小数位
  7599. type: integer
  7600. relatedgoodsid:
  7601. description: 关联交易商品ID
  7602. type: integer
  7603. relatedgoodstype:
  7604. description: 关联商品类型 - 1:期货合约 2:现货品种
  7605. type: integer
  7606. remark:
  7607. description: 备注
  7608. type: string
  7609. type: object
  7610. models.ErmcpMiddlegoodsRelateGoods:
  7611. properties:
  7612. agreeunit:
  7613. description: 合约乘数
  7614. type: number
  7615. convertratio:
  7616. description: 折算系数
  7617. type: number
  7618. enumdicname:
  7619. description: 单位名称(交易商品)
  7620. type: string
  7621. goodscode:
  7622. description: 交易商品代码
  7623. type: string
  7624. goodsgroupid:
  7625. description: 交易品种id
  7626. type: integer
  7627. goodsid:
  7628. description: 商品Id
  7629. type: integer
  7630. goodsname:
  7631. description: 交易商品名称
  7632. type: string
  7633. goodunitid:
  7634. description: 交易商品单位id
  7635. type: integer
  7636. middlegoodsid:
  7637. description: 套保商品id
  7638. type: integer
  7639. middlegoodsname:
  7640. description: 套保商品名称
  7641. type: string
  7642. middlegoodsswcode:
  7643. description: 套保商品代码
  7644. type: string
  7645. needarbitrageratio:
  7646. description: 应套利比例
  7647. type: number
  7648. needhedgeratio:
  7649. description: 应套保比例
  7650. type: number
  7651. type: object
  7652. models.ErmcpRole:
  7653. properties:
  7654. areauserid:
  7655. description: 所属机构
  7656. type: integer
  7657. autoid:
  7658. description: 角色ID(自增ID)
  7659. type: integer
  7660. modifierid:
  7661. description: 修改人(创建人)
  7662. type: integer
  7663. modifiername:
  7664. description: 修改人名称
  7665. type: string
  7666. modifytime:
  7667. description: 修改时间(创建时间)
  7668. type: string
  7669. rolename:
  7670. description: 角色名称
  7671. type: string
  7672. rolestatus:
  7673. description: 角色状态 - 1:启用 2:停用
  7674. type: integer
  7675. roletype:
  7676. description: 角色类型 - 1- 管理端 2- 交易端
  7677. type: integer
  7678. type: object
  7679. models.ErmcpRoleMenu:
  7680. properties:
  7681. iconame:
  7682. description: 菜单图标
  7683. type: string
  7684. ishadrole:
  7685. description: 是否有权限
  7686. type: boolean
  7687. menutype:
  7688. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  7689. type: integer
  7690. parentcode:
  7691. description: 上级资源代码
  7692. type: string
  7693. remark:
  7694. description: 菜单备注
  7695. type: string
  7696. resourcecode:
  7697. description: 菜单代码
  7698. type: string
  7699. resourcelevel:
  7700. description: 级别
  7701. type: integer
  7702. resourcename:
  7703. description: 菜单名称
  7704. type: string
  7705. roleid:
  7706. description: 角色id
  7707. type: integer
  7708. sort:
  7709. description: 排序
  7710. type: integer
  7711. url:
  7712. description: URL
  7713. type: string
  7714. userid:
  7715. description: 用户id
  7716. type: integer
  7717. type: object
  7718. models.ErmcpRoleMenuEx:
  7719. properties:
  7720. menu:
  7721. $ref: '#/definitions/models.ErmcpRoleMenu'
  7722. description: 父级菜单
  7723. subMenu:
  7724. description: 子级菜单
  7725. items:
  7726. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  7727. type: array
  7728. type: object
  7729. models.ErmcpTaAccount:
  7730. properties:
  7731. accountid:
  7732. description: 账户id
  7733. type: integer
  7734. accountname:
  7735. description: 账户名称
  7736. type: string
  7737. currencyid:
  7738. description: 币种id
  7739. type: integer
  7740. hedgeaccountcode:
  7741. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  7742. type: string
  7743. ismain:
  7744. description: 是否主账户 0-否 1-是
  7745. type: integer
  7746. parentaccountid:
  7747. description: 父账户id
  7748. type: integer
  7749. relateduserid:
  7750. description: 关联userid
  7751. type: integer
  7752. tradefeetmpid:
  7753. description: 手续费模板id
  7754. type: integer
  7755. tradefeetmpname:
  7756. description: 手续费模板名称
  7757. type: string
  7758. trademargintmpid:
  7759. description: 保证金模板id
  7760. type: integer
  7761. trademargintmpname:
  7762. description: 保证金模板名称
  7763. type: string
  7764. traderatetmpid:
  7765. description: 汇率模板id
  7766. type: integer
  7767. traderatetmpname:
  7768. description: 汇率模板名称
  7769. type: string
  7770. tradestatus:
  7771. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7772. type: integer
  7773. userid:
  7774. description: 用户id
  7775. type: integer
  7776. type: object
  7777. models.ErmcpTaAccountEx:
  7778. properties:
  7779. mainAcc:
  7780. $ref: '#/definitions/models.ErmcpTaAccountM'
  7781. description: 主账号
  7782. subacclist:
  7783. description: 子账号列表
  7784. items:
  7785. $ref: '#/definitions/models.ErmcpTaAccount'
  7786. type: array
  7787. type: object
  7788. models.ErmcpTaAccountInfo:
  7789. properties:
  7790. accountid:
  7791. description: 资金账户ID
  7792. type: integer
  7793. accountname:
  7794. description: 账户名称
  7795. type: string
  7796. balance:
  7797. description: 期初余额
  7798. type: number
  7799. capitalbalance:
  7800. description: 本金余额[外部子账户实际出入金余额]
  7801. type: number
  7802. closepl:
  7803. description: 今日平仓盈亏
  7804. type: number
  7805. creditdecrease:
  7806. description: 今日授信减少
  7807. type: number
  7808. creditincrease:
  7809. description: 今日授信增加
  7810. type: number
  7811. curdebt:
  7812. description: 期末欠款
  7813. type: number
  7814. currencyid:
  7815. description: 货币ID
  7816. type: integer
  7817. currentbalance:
  7818. description: 期末余额
  7819. type: number
  7820. freezecharge:
  7821. description: 手续费冻结
  7822. type: number
  7823. freezemargin:
  7824. description: 冻结保证金
  7825. type: number
  7826. fromaccountid:
  7827. description: 所属上级账户
  7828. type: integer
  7829. inamount:
  7830. description: 今日入金金额(包括三方入金)
  7831. type: number
  7832. ismain:
  7833. description: 是否母账号 0:不是母账户 1:是母账户
  7834. type: integer
  7835. mortgagecredit:
  7836. description: 授信金额
  7837. type: number
  7838. oridebt:
  7839. description: 期初欠款
  7840. type: number
  7841. orifreezecharge:
  7842. description: 期初手续费冻结
  7843. type: number
  7844. orifreezemargin:
  7845. description: 期初冻结保证金
  7846. type: number
  7847. orimortgagecredit:
  7848. description: 期初授信金额
  7849. type: number
  7850. oriothercredit:
  7851. description: 期初其它授信金额
  7852. type: number
  7853. oriotherfreezemargin:
  7854. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  7855. type: number
  7856. orioutamountfreeze:
  7857. description: 期初出金冻结
  7858. type: number
  7859. oriusedmargin:
  7860. description: 期初占用保证金
  7861. type: number
  7862. othercredit:
  7863. description: 其它授信金额
  7864. type: number
  7865. othercreditdecrease:
  7866. description: 今日其它授信减少
  7867. type: number
  7868. othercreditincrease:
  7869. description: 今日其它授信增加
  7870. type: number
  7871. otherfreezemargin:
  7872. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  7873. type: number
  7874. outamount:
  7875. description: 今日出金金额(包括三方出金)
  7876. type: number
  7877. outamountfreeze:
  7878. description: 出金冻结
  7879. type: number
  7880. outthreshold:
  7881. description: 出金阈值
  7882. type: number
  7883. parentaccountid:
  7884. description: 所属根账号
  7885. type: integer
  7886. paycharge:
  7887. description: 今日手续费支出
  7888. type: number
  7889. relateduserid:
  7890. description: 关联用户
  7891. type: integer
  7892. signstatus:
  7893. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  7894. type: integer
  7895. sublevelpath:
  7896. description: 账号层级路径(逗号分隔,首尾加逗号)
  7897. type: string
  7898. taaccounttype:
  7899. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  7900. type: integer
  7901. thirdinamount:
  7902. description: 今日三方入金
  7903. type: number
  7904. thirdoutamount:
  7905. description: 今日三方出金
  7906. type: number
  7907. tradestatus:
  7908. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7909. type: integer
  7910. transferamount:
  7911. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  7912. type: number
  7913. usedmargin:
  7914. description: 占用保证金
  7915. type: number
  7916. userid:
  7917. description: 用户ID
  7918. type: integer
  7919. type: object
  7920. models.ErmcpTaAccountM:
  7921. properties:
  7922. accountid:
  7923. description: 账户id
  7924. type: integer
  7925. accountname:
  7926. description: 账户名称
  7927. type: string
  7928. currencyid:
  7929. description: 币种id
  7930. type: integer
  7931. fcid:
  7932. description: 期货公司id
  7933. type: integer
  7934. fcname:
  7935. description: 期货公司代码
  7936. type: string
  7937. hedgeaccountcode:
  7938. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  7939. type: string
  7940. ismain:
  7941. description: 是否主账户 0-否 1-是
  7942. type: integer
  7943. parentaccountid:
  7944. description: 父账户id
  7945. type: integer
  7946. relateduserid:
  7947. description: 关联userid
  7948. type: integer
  7949. tradefeetmpid:
  7950. description: 手续费模板id
  7951. type: integer
  7952. tradefeetmpname:
  7953. description: 手续费模板名称
  7954. type: string
  7955. trademargintmpid:
  7956. description: 保证金模板id
  7957. type: integer
  7958. trademargintmpname:
  7959. description: 保证金模板名称
  7960. type: string
  7961. traderatetmpid:
  7962. description: 汇率模板id
  7963. type: integer
  7964. traderatetmpname:
  7965. description: 汇率模板名称
  7966. type: string
  7967. tradestatus:
  7968. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7969. type: integer
  7970. userid:
  7971. description: 用户id
  7972. type: integer
  7973. type: object
  7974. models.ErmcpTradeConfigTMP:
  7975. properties:
  7976. areauserid:
  7977. description: 所属机构
  7978. type: integer
  7979. basiccurrencyid:
  7980. description: 基本币种ID[汇率] - 目标币种
  7981. type: integer
  7982. mainaccountid:
  7983. description: 主账户ID
  7984. type: integer
  7985. modifierid:
  7986. description: 修改人
  7987. type: integer
  7988. remark:
  7989. description: 备注
  7990. type: string
  7991. tradeconfigtmpid:
  7992. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  7993. type: integer
  7994. tradeconfigtmpname:
  7995. description: 交易配置模板名称
  7996. type: string
  7997. tradeconfigtmptype:
  7998. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  7999. type: integer
  8000. updatetime:
  8001. description: 更新时间
  8002. type: string
  8003. type: object
  8004. models.Externalexchange:
  8005. properties:
  8006. autoid:
  8007. description: AutoID - SEQ_EXTERNALEXCHANGE
  8008. type: integer
  8009. exchangefullname:
  8010. description: 外部交易所全称
  8011. type: string
  8012. exexchangecode:
  8013. description: 外部交易所代码
  8014. type: string
  8015. exexchangename:
  8016. description: 外部交易所名称(简称)
  8017. type: string
  8018. ismarketprice:
  8019. description: 是否支持市价 - 0:不支持 1:支持
  8020. type: integer
  8021. quotegear:
  8022. description: 行情档位(1-10)
  8023. type: integer
  8024. showbrokerflag:
  8025. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  8026. type: integer
  8027. updatetime:
  8028. description: 更新时间
  8029. type: string
  8030. required:
  8031. - autoid
  8032. type: object
  8033. models.Funcmenulist:
  8034. properties:
  8035. iconame:
  8036. description: 菜单图标
  8037. type: string
  8038. menutype:
  8039. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  8040. type: integer
  8041. parentcode:
  8042. description: 上级资源代码
  8043. type: string
  8044. remark:
  8045. description: 备注
  8046. type: string
  8047. resourcecode:
  8048. description: 资源代码
  8049. type: string
  8050. resourcelevel:
  8051. description: 级别 1-一级 2-二级 3-三级 4-四级
  8052. type: integer
  8053. resourcename:
  8054. description: 资源名
  8055. type: string
  8056. sort:
  8057. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  8058. type: integer
  8059. url:
  8060. description: URL
  8061. type: string
  8062. required:
  8063. - resourcecode
  8064. type: object
  8065. models.Goods:
  8066. properties:
  8067. agreeunit:
  8068. description: 合约单位
  8069. type: number
  8070. areauserid:
  8071. description: 所属机构
  8072. type: integer
  8073. auditaccountid:
  8074. description: 审核操作员账号
  8075. type: integer
  8076. audittime:
  8077. description: 审核时间
  8078. type: string
  8079. cancelaccountid:
  8080. description: 注销操作员账号
  8081. type: integer
  8082. canceltime:
  8083. description: 注销时间
  8084. type: string
  8085. closepricemode:
  8086. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8087. type: integer
  8088. closepriceparam:
  8089. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  8090. type: number
  8091. createtime:
  8092. description: 创建时间
  8093. type: string
  8094. creatorid:
  8095. description: 创建人
  8096. type: integer
  8097. currencyid:
  8098. description: 报价货币ID
  8099. type: integer
  8100. cutmode:
  8101. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  8102. type: integer
  8103. decimalplace:
  8104. description: 报价小数位
  8105. type: integer
  8106. delistingdate:
  8107. description: 商品退市时间(状态:退市) -- 已作废
  8108. type: string
  8109. delistingmode:
  8110. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  8111. type: integer
  8112. deliveryflag:
  8113. description: 交割标志 - 0:不可交割 1:可交割
  8114. type: integer
  8115. forceclosemode:
  8116. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  8117. type: integer
  8118. forceclosevalue:
  8119. description: 定期强平参数 [收益权]
  8120. type: integer
  8121. goodscode:
  8122. description: 商品代码(内部)
  8123. type: string
  8124. goodscurrencyid:
  8125. description: 合约货币ID
  8126. type: integer
  8127. goodsgroupid:
  8128. description: 所属商品组ID
  8129. type: integer
  8130. goodsid:
  8131. description: 商品ID(自增ID SEQ_GOODS)
  8132. type: integer
  8133. goodsname:
  8134. description: 商品名称
  8135. type: string
  8136. goodsquotetype:
  8137. description: '合约报价类型: 1-直接报价 2-间接报价'
  8138. type: integer
  8139. goodsstatus:
  8140. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8141. type: integer
  8142. goodstradetype:
  8143. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  8144. type: integer
  8145. goodunitid:
  8146. description: 报价单位ID
  8147. type: integer
  8148. hasquoter:
  8149. description: 是否有报价商 - 0:无报价商 1:有报价商
  8150. type: integer
  8151. hqprotecttime:
  8152. description: 行情保护时间(秒)
  8153. type: integer
  8154. innerdealmode:
  8155. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8156. type: integer
  8157. isbuylimited:
  8158. description: 是否限制建仓量 - 0:不限制 1:限制
  8159. type: integer
  8160. isvisible:
  8161. description: 游客是否可见 - 0:不可见 1:可见
  8162. type: integer
  8163. lasttradedate:
  8164. description: 最后交易日期(状态:待退市)
  8165. type: string
  8166. listingdate:
  8167. description: 交易开始日期
  8168. type: string
  8169. marketid:
  8170. description: 所属市场ID
  8171. type: integer
  8172. modifierid:
  8173. description: 修改人
  8174. type: integer
  8175. modifystatus:
  8176. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  8177. type: integer
  8178. modifytime:
  8179. description: 修改时间
  8180. type: string
  8181. outerdealmode:
  8182. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8183. type: integer
  8184. outgoodscode:
  8185. description: 商品代码(外部)
  8186. type: string
  8187. pictureurl:
  8188. description: 商品图片
  8189. type: string
  8190. qtydecimalplace:
  8191. description: 成交量小数位
  8192. type: integer
  8193. quotegear:
  8194. description: 行情档位(1-10)
  8195. type: integer
  8196. quoteminunit:
  8197. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8198. type: integer
  8199. quoteshowtype:
  8200. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  8201. type: integer
  8202. quoteshowtypeinterval:
  8203. description: 行情报价间隔时间(秒)(成交价时为0)
  8204. type: integer
  8205. remark:
  8206. description: 备注
  8207. type: string
  8208. required:
  8209. - goodscode
  8210. - goodsid
  8211. - goodsname
  8212. - marketid
  8213. type: object
  8214. models.GoodsIDAndName:
  8215. properties:
  8216. goodscode:
  8217. description: 商品代码(内部)
  8218. type: string
  8219. goodsid:
  8220. description: 商品ID(自增ID SEQ_GOODS)
  8221. type: integer
  8222. goodsname:
  8223. description: 商品名称
  8224. type: string
  8225. marketid:
  8226. description: 所属市场ID
  8227. type: integer
  8228. required:
  8229. - goodscode
  8230. - goodsid
  8231. - goodsname
  8232. - marketid
  8233. type: object
  8234. models.Goodsgroup:
  8235. properties:
  8236. agreeunit:
  8237. description: 合约单位
  8238. type: number
  8239. canshort:
  8240. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  8241. type: integer
  8242. closepricemode:
  8243. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8244. type: integer
  8245. closepriceparam:
  8246. description: 强平最新价浮动比例 - 方式为2时使用
  8247. type: number
  8248. createtime:
  8249. description: 创建时间
  8250. type: string
  8251. creatorid:
  8252. description: 创建人
  8253. type: integer
  8254. currencyid:
  8255. description: 报价货币ID
  8256. type: integer
  8257. decimalplace:
  8258. description: 报价小数位
  8259. type: integer
  8260. exercisetype:
  8261. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  8262. type: integer
  8263. exexchangeid:
  8264. description: 外部交易所ID[通道交易]
  8265. type: integer
  8266. goodsgroupid:
  8267. description: 商品组ID(自增ID)
  8268. type: integer
  8269. goodsgroupname:
  8270. description: 商品组名称
  8271. type: string
  8272. goodsgroupstatus:
  8273. description: 商品组状态 - 1:正常 2:注销
  8274. type: integer
  8275. goodunitid:
  8276. description: 报价单位ID
  8277. type: integer
  8278. innerdealmode:
  8279. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8280. type: integer
  8281. isbuylimited:
  8282. description: 是否限制建仓量 - 0:不限制 1:限制
  8283. type: integer
  8284. marketid:
  8285. description: 所属市场ID
  8286. type: integer
  8287. modifierid:
  8288. description: 修改人
  8289. type: integer
  8290. modifytime:
  8291. description: 修改时间
  8292. type: string
  8293. outerdealmode:
  8294. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8295. type: integer
  8296. outergroupcode:
  8297. description: 外部商品组代码[通道交易]
  8298. type: string
  8299. premiumdecimalplace:
  8300. description: 权利金小数位[场外期权]
  8301. type: integer
  8302. premiumspreadalgorithm:
  8303. description: 权利金点差方式[场外期权] 1:比率 2:固定
  8304. type: integer
  8305. premiumspreadvalue:
  8306. description: 权利金点差值[场外期权]
  8307. type: number
  8308. qtydecimalplace:
  8309. description: 成交量小数位
  8310. type: integer
  8311. quotegear:
  8312. description: 行情档位(1-10)
  8313. type: integer
  8314. quoteminunit:
  8315. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8316. type: integer
  8317. quoterid:
  8318. description: 报价商ID[场外期权]
  8319. type: integer
  8320. quotesourcegroupid:
  8321. description: 所属行情源分组ID[参考行情市场用\通道交易]
  8322. type: integer
  8323. syncgoodsqty:
  8324. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  8325. type: integer
  8326. required:
  8327. - goodsgroupid
  8328. - goodsgroupname
  8329. - goodsgroupstatus
  8330. - marketid
  8331. type: object
  8332. models.Goodssortbypreposition:
  8333. properties:
  8334. goodscode:
  8335. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  8336. type: string
  8337. goodsgroupcode:
  8338. description: 品种代码
  8339. type: string
  8340. prepositionqty:
  8341. description: 昨持仓量
  8342. type: integer
  8343. sortindex:
  8344. description: 排序
  8345. type: integer
  8346. tradedate:
  8347. description: 交易日
  8348. type: string
  8349. updatetime:
  8350. description: 更新时间
  8351. type: string
  8352. required:
  8353. - goodscode
  8354. - tradedate
  8355. type: object
  8356. models.Hedgeinnerholderdetail:
  8357. properties:
  8358. accountid:
  8359. description: 账号ID
  8360. type: integer
  8361. buyorsell:
  8362. description: 方向 - 0:买 1:卖
  8363. type: integer
  8364. freezeqty:
  8365. description: 冻结数量 - 按单平使用
  8366. type: integer
  8367. goodsid:
  8368. description: 商品ID
  8369. type: integer
  8370. holderamount:
  8371. description: 持仓金额 [商品币种]
  8372. type: number
  8373. holderdays:
  8374. description: 剩余冻结天数
  8375. type: integer
  8376. holderprice:
  8377. description: 持仓价格
  8378. type: number
  8379. holderqty:
  8380. description: 持仓数量
  8381. type: integer
  8382. marketid:
  8383. description: 市场ID
  8384. type: integer
  8385. openprice:
  8386. description: 建仓价格
  8387. type: number
  8388. openqty:
  8389. description: 建仓数量
  8390. type: integer
  8391. parentaccountid:
  8392. description: 所属母账户
  8393. type: integer
  8394. releaseamount:
  8395. description: 释放持仓金额[商品币种]
  8396. type: number
  8397. tradeamount:
  8398. description: 成交金额[账户]
  8399. type: number
  8400. tradedate:
  8401. description: 交易日(yyyyMMdd)
  8402. type: string
  8403. tradeid:
  8404. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8405. type: string
  8406. tradetime:
  8407. description: 交易时间
  8408. type: string
  8409. required:
  8410. - buyorsell
  8411. - tradeid
  8412. type: object
  8413. models.Hedgemarketopenlog:
  8414. properties:
  8415. accountid:
  8416. description: 资金账号[外部母账户]
  8417. type: integer
  8418. fcname:
  8419. description: 期货公司名称
  8420. type: string
  8421. handlestatus:
  8422. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  8423. type: integer
  8424. marketid:
  8425. description: 市场ID
  8426. type: integer
  8427. status:
  8428. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  8429. type: integer
  8430. tradedate:
  8431. description: 交易日(yyyyMMdd)
  8432. type: string
  8433. updatetime:
  8434. description: 更新时间
  8435. type: string
  8436. required:
  8437. - accountid
  8438. type: object
  8439. models.HsbyBuyMyPayOrder:
  8440. properties:
  8441. agreeunit:
  8442. description: 合约单位
  8443. type: number
  8444. buyaccountid:
  8445. description: 买方账号ID[报价币种]
  8446. type: integer
  8447. buyorderid:
  8448. description: 买方委托单号
  8449. type: string
  8450. createtime:
  8451. description: 创建时间
  8452. type: string
  8453. currencysign:
  8454. description: 货币符号
  8455. type: string
  8456. decimalplace:
  8457. description: 报价小数位
  8458. type: integer
  8459. goodscode:
  8460. description: 商品代码(内部)
  8461. type: string
  8462. goodsid:
  8463. description: 商品ID
  8464. type: integer
  8465. goodsname:
  8466. description: 商品名称
  8467. type: string
  8468. marketid:
  8469. description: 市场ID
  8470. type: integer
  8471. offamount:
  8472. description: 优惠金额
  8473. type: number
  8474. originalamount:
  8475. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  8476. type: number
  8477. payamount:
  8478. description: 支付金额 = TradeAmount + TradeCharge
  8479. type: number
  8480. payflag:
  8481. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  8482. type: integer
  8483. paylimitedtime:
  8484. description: 支付期限
  8485. type: string
  8486. paytime:
  8487. description: 付款时间
  8488. type: string
  8489. picurls1:
  8490. description: 预售商品介绍图片[多张用逗号分隔]
  8491. type: string
  8492. picurls2:
  8493. description: 挂牌商品介绍图片[多张用逗号分隔]
  8494. type: string
  8495. sellaccountid:
  8496. description: 卖方账号ID[报价币种]
  8497. type: integer
  8498. sellorderid:
  8499. description: 卖方委托单号
  8500. type: string
  8501. tradeamount:
  8502. description: 成交金额
  8503. type: number
  8504. tradecharge:
  8505. description: 成交手续费(买方)
  8506. type: number
  8507. tradedate:
  8508. description: 交易日(yyyyMMdd)
  8509. type: string
  8510. tradeid:
  8511. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8512. type: string
  8513. trademode:
  8514. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8515. type: integer
  8516. tradeprice:
  8517. description: 成交价格
  8518. type: number
  8519. tradeqty:
  8520. description: 成交数量
  8521. type: integer
  8522. vendorname1:
  8523. description: 预售商品供应商名称
  8524. type: string
  8525. vendorname2:
  8526. description: 挂牌商品供应商名称
  8527. type: string
  8528. required:
  8529. - goodscode
  8530. - goodsname
  8531. - tradeid
  8532. - trademode
  8533. type: object
  8534. models.HsbyBuyMyTradeDetail:
  8535. properties:
  8536. accountid:
  8537. description: 账户ID[报价币种]
  8538. type: integer
  8539. agreeunit:
  8540. description: 合约单位
  8541. type: number
  8542. amount:
  8543. description: 金额 = 价格 * 数量 * 合约单位
  8544. type: number
  8545. buyorsell:
  8546. description: 买卖 - 0:买 1:卖
  8547. type: integer
  8548. currencysign:
  8549. description: 货币符号
  8550. type: string
  8551. decimalplace:
  8552. description: 报价小数位
  8553. type: integer
  8554. goodscode:
  8555. description: 商品代码(内部)
  8556. type: string
  8557. goodsid:
  8558. description: 商品ID
  8559. type: integer
  8560. goodsname:
  8561. description: 商品名称
  8562. type: string
  8563. marketid:
  8564. description: 市场ID
  8565. type: integer
  8566. orderamount:
  8567. description: 委托金额
  8568. type: number
  8569. orderid:
  8570. description: 单号(成交单号)
  8571. type: string
  8572. picurls1:
  8573. description: 预售商品介绍图片[多张用逗号分隔]
  8574. type: string
  8575. picurls2:
  8576. description: 挂牌商品介绍图片[多张用逗号分隔]
  8577. type: string
  8578. price:
  8579. description: 价格
  8580. type: number
  8581. qty:
  8582. description: 数量
  8583. type: integer
  8584. time:
  8585. description: 时间
  8586. type: string
  8587. trademode:
  8588. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8589. type: integer
  8590. vendorname1:
  8591. description: 预售商品供应商名称
  8592. type: string
  8593. vendorname2:
  8594. description: 挂牌商品供应商名称
  8595. type: string
  8596. required:
  8597. - accountid
  8598. - buyorsell
  8599. - goodscode
  8600. - goodsid
  8601. - goodsname
  8602. - marketid
  8603. - orderid
  8604. - qty
  8605. - time
  8606. - trademode
  8607. type: object
  8608. models.HsbyGoodsOrderDetail:
  8609. properties:
  8610. buyorsell:
  8611. description: 买卖 - 0:买 1:卖
  8612. type: integer
  8613. currencysign:
  8614. description: 货币符号
  8615. type: string
  8616. customername:
  8617. description: 客户名称(企业名称),已脱敏
  8618. type: string
  8619. enableqty:
  8620. description: 可用数量
  8621. type: integer
  8622. goodunit:
  8623. description: 报价单位
  8624. type: string
  8625. orderid:
  8626. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8627. type: string
  8628. orderprice:
  8629. description: 委托价格
  8630. type: number
  8631. ordertime:
  8632. description: 委托时间
  8633. type: string
  8634. required:
  8635. - buyorsell
  8636. - orderid
  8637. - ordertime
  8638. type: object
  8639. models.HsbyListingGoodsDetail:
  8640. properties:
  8641. agreeunit:
  8642. description: 合约单位
  8643. type: number
  8644. buymaxqty:
  8645. description: 购买上限 [71] - 0为不限
  8646. type: integer
  8647. currency:
  8648. description: 货币
  8649. type: string
  8650. currencysign:
  8651. description: 货币符号
  8652. type: string
  8653. decimalplace:
  8654. description: 报价小数位
  8655. type: integer
  8656. desccityid:
  8657. description: 目的地(市)ID
  8658. type: integer
  8659. descprovinceid:
  8660. description: 目的地(省)ID
  8661. type: integer
  8662. goodscode:
  8663. description: 商品代码(内部)
  8664. type: string
  8665. goodsdesc:
  8666. description: 商品详情
  8667. type: string
  8668. goodsid:
  8669. description: 商品ID(自增ID SEQ_GOODS)
  8670. type: integer
  8671. goodsname:
  8672. description: 商品名称
  8673. type: string
  8674. goodsprice:
  8675. description: 商品价格
  8676. type: number
  8677. hotindex:
  8678. description: 景点热度
  8679. type: integer
  8680. last:
  8681. description: 现价
  8682. type: number
  8683. limitdown:
  8684. description: 跌停价
  8685. type: number
  8686. limitup:
  8687. description: 涨停价
  8688. type: number
  8689. lotsize:
  8690. description: 手数最小变动单位
  8691. type: integer
  8692. marketid:
  8693. description: 所属市场ID
  8694. type: integer
  8695. picurls:
  8696. description: 介绍图片[多张用逗号分隔]
  8697. type: string
  8698. quoteminunit:
  8699. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8700. type: integer
  8701. stepvalue:
  8702. description: 价格最小变动单位
  8703. type: number
  8704. trademode:
  8705. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8706. type: integer
  8707. vendorattr:
  8708. description: 供应商附件(多张,逗号分隔)
  8709. type: string
  8710. vendorname:
  8711. description: 供应商名称
  8712. type: string
  8713. vendorphone:
  8714. description: 供应商客服电话
  8715. type: string
  8716. videourls:
  8717. description: 介绍视频[多张用逗号分隔]
  8718. type: string
  8719. required:
  8720. - goodscode
  8721. - goodsid
  8722. - goodsname
  8723. - marketid
  8724. - trademode
  8725. type: object
  8726. models.HsbyMarketGoods:
  8727. properties:
  8728. accountid:
  8729. description: 账户ID[报价币种]
  8730. type: integer
  8731. agreeunit:
  8732. description: 合约单位
  8733. type: number
  8734. buyorsell:
  8735. description: 买卖 - 0:买 1:卖
  8736. type: integer
  8737. categoryid:
  8738. description: 类别ID(WRCATEGORY)
  8739. type: integer
  8740. currency:
  8741. description: 货币
  8742. type: string
  8743. currencysign:
  8744. description: 货币符号
  8745. type: string
  8746. customername:
  8747. description: 卖家名称
  8748. type: string
  8749. decimalplace:
  8750. description: 报价小数位
  8751. type: integer
  8752. goodscode:
  8753. description: 商品代码(内部)
  8754. type: string
  8755. goodsid:
  8756. description: 商品ID
  8757. type: integer
  8758. goodsname:
  8759. description: 商品名称
  8760. type: string
  8761. goodsprice:
  8762. description: 商品价格
  8763. type: number
  8764. hascoupon:
  8765. description: 是否可用优惠卷
  8766. type: boolean
  8767. hotindex:
  8768. description: 景点热度
  8769. type: integer
  8770. marketid:
  8771. description: 市场ID
  8772. type: integer
  8773. orderid:
  8774. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8775. type: string
  8776. orderprice:
  8777. description: 委托价格
  8778. type: number
  8779. orderstatus:
  8780. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  8781. type: integer
  8782. picurls:
  8783. description: 介绍图片[多张用逗号分隔]
  8784. type: string
  8785. quoteminunit:
  8786. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8787. type: integer
  8788. sellUserID:
  8789. description: 卖方UserID
  8790. type: integer
  8791. trademode:
  8792. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8793. type: integer
  8794. videourls:
  8795. description: 介绍视频[多张用逗号分隔]
  8796. type: string
  8797. required:
  8798. - accountid
  8799. - buyorsell
  8800. - goodscode
  8801. - goodsid
  8802. - goodsname
  8803. - marketid
  8804. - orderid
  8805. - trademode
  8806. type: object
  8807. models.HsbyMarketGoodsDetail:
  8808. properties:
  8809. accountid:
  8810. description: 账户ID[报价币种]
  8811. type: integer
  8812. agreeunit:
  8813. description: 合约单位
  8814. type: number
  8815. buymaxqty:
  8816. description: 购买上限 [71] - 0为不限
  8817. type: integer
  8818. buyorsell:
  8819. description: 买卖 - 0:买 1:卖
  8820. type: integer
  8821. cancelqty:
  8822. description: 撤单数量
  8823. type: integer
  8824. categoryid:
  8825. description: 类别ID(WRCATEGORY)
  8826. type: integer
  8827. currency:
  8828. description: 货币
  8829. type: string
  8830. currencysign:
  8831. description: 货币符号
  8832. type: string
  8833. customername:
  8834. description: 卖家名称
  8835. type: string
  8836. decimalplace:
  8837. description: 报价小数位
  8838. type: integer
  8839. goodscode:
  8840. description: 商品代码(内部)
  8841. type: string
  8842. goodsdesc:
  8843. description: 商品详情
  8844. type: string
  8845. goodsid:
  8846. description: 商品ID
  8847. type: integer
  8848. goodsname:
  8849. description: 商品名称
  8850. type: string
  8851. goodsprice:
  8852. description: 商品价格
  8853. type: number
  8854. hotindex:
  8855. description: 景点热度
  8856. type: integer
  8857. lotsize:
  8858. description: 手数最小变动单位
  8859. type: integer
  8860. marketid:
  8861. description: 市场ID
  8862. type: integer
  8863. orderid:
  8864. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8865. type: string
  8866. orderprice:
  8867. description: 委托价格
  8868. type: number
  8869. orderqty:
  8870. description: 委托数量
  8871. type: integer
  8872. orderstatus:
  8873. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  8874. type: integer
  8875. picurls:
  8876. description: 介绍图片[多张用逗号分隔]
  8877. type: string
  8878. quoteminunit:
  8879. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8880. type: integer
  8881. sellUserID:
  8882. description: 卖方UserID
  8883. type: integer
  8884. trademode:
  8885. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8886. type: integer
  8887. tradeqty:
  8888. description: 成交数量
  8889. type: integer
  8890. vendorattr:
  8891. description: 供应商附件(多张,逗号分隔)
  8892. type: string
  8893. vendorname:
  8894. description: 供应商名称
  8895. type: string
  8896. vendorphone:
  8897. description: 供应商客服电话
  8898. type: string
  8899. videourls:
  8900. description: 介绍视频[多张用逗号分隔]
  8901. type: string
  8902. required:
  8903. - accountid
  8904. - buyorsell
  8905. - goodscode
  8906. - goodsid
  8907. - goodsname
  8908. - marketid
  8909. - orderid
  8910. - orderqty
  8911. - trademode
  8912. type: object
  8913. models.HsbyMarketInfo:
  8914. properties:
  8915. marketid:
  8916. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8917. type: integer
  8918. marketname:
  8919. description: 市场名称
  8920. type: string
  8921. marketstatus:
  8922. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8923. type: integer
  8924. trademode:
  8925. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8926. type: integer
  8927. required:
  8928. - marketid
  8929. - marketstatus
  8930. - trademode
  8931. type: object
  8932. models.HsbyMyGoods:
  8933. properties:
  8934. accountid:
  8935. description: 账号Id
  8936. type: integer
  8937. agreeunit:
  8938. description: 合约单位
  8939. type: number
  8940. buyaverageprice:
  8941. description: 持仓均价
  8942. type: number
  8943. buycurholderamount:
  8944. description: 买当前持仓总金额[商品币种]
  8945. type: number
  8946. buycurpositionqty:
  8947. description: 买当前持仓总数量
  8948. type: integer
  8949. buymaxqty:
  8950. description: 购买上限 [71] - 0为不限
  8951. type: integer
  8952. currencysign:
  8953. description: 货币符号
  8954. type: string
  8955. decimalplace:
  8956. description: 报价小数位
  8957. type: integer
  8958. enableqty:
  8959. description: 可用数量
  8960. type: integer
  8961. goodscode:
  8962. description: 商品代码(内部)
  8963. type: string
  8964. goodsid:
  8965. description: 商品Id
  8966. type: integer
  8967. goodsname:
  8968. description: 商品名称
  8969. type: string
  8970. goodsprice:
  8971. description: 商品价格
  8972. type: number
  8973. goodsstatus:
  8974. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8975. type: integer
  8976. last:
  8977. description: 现价(仅使用于挂牌点选)
  8978. type: number
  8979. limitdown:
  8980. description: 跌停价(仅使用于挂牌点选)
  8981. type: number
  8982. limitup:
  8983. description: 涨停价(仅使用于挂牌点选)
  8984. type: number
  8985. lotsize:
  8986. description: 手数最小变动单位
  8987. type: integer
  8988. marketid:
  8989. description: 所属市场ID
  8990. type: integer
  8991. picurls:
  8992. description: 介绍图片[多张用逗号分隔]
  8993. type: string
  8994. quoteminunit:
  8995. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8996. type: integer
  8997. stepvalue:
  8998. description: 价格最小变动单位
  8999. type: number
  9000. trademode:
  9001. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9002. type: integer
  9003. required:
  9004. - accountid
  9005. - goodscode
  9006. - goodsid
  9007. - goodsname
  9008. - marketid
  9009. - trademode
  9010. type: object
  9011. models.HsbyMyPackage:
  9012. properties:
  9013. accountid:
  9014. description: 账户ID
  9015. type: integer
  9016. address:
  9017. description: 提货人详细地址
  9018. type: string
  9019. agreeunit:
  9020. description: 合约单位
  9021. type: number
  9022. amount:
  9023. description: 提货金额
  9024. type: number
  9025. auditer:
  9026. description: 审核人
  9027. type: integer
  9028. audittime:
  9029. description: 审核时间
  9030. type: string
  9031. averageprice:
  9032. description: 均价
  9033. type: number
  9034. cardnum:
  9035. description: 提货人证件号码
  9036. type: string
  9037. cardtypeid:
  9038. description: 提货人证件类型
  9039. type: integer
  9040. checkremark:
  9041. description: 审核备注
  9042. type: string
  9043. currencysign:
  9044. description: 货币符号
  9045. type: string
  9046. decimalplace:
  9047. description: 报价小数位
  9048. type: integer
  9049. goodscode:
  9050. description: 商品代码(内部)
  9051. type: string
  9052. goodsid:
  9053. description: 商品ID
  9054. type: integer
  9055. goodsname:
  9056. description: 商品名称
  9057. type: string
  9058. handlestatus:
  9059. description: 处理状态
  9060. type: integer
  9061. marketid:
  9062. description: 市场ID
  9063. type: integer
  9064. phonenum:
  9065. description: 提货人联系方式
  9066. type: string
  9067. picurls:
  9068. description: 介绍图片[多张用逗号分隔]
  9069. type: string
  9070. qty:
  9071. description: 提货数量
  9072. type: number
  9073. recivername:
  9074. description: 提货人姓名
  9075. type: string
  9076. reqtime:
  9077. description: 更新时间
  9078. type: string
  9079. takemode:
  9080. description: 提货方式 - 2:自提 3:配送
  9081. type: integer
  9082. takeorderid:
  9083. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  9084. type: string
  9085. takeorderstatus:
  9086. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  9087. type: integer
  9088. takeremark:
  9089. description: 提货备注
  9090. type: string
  9091. tradedate:
  9092. description: 交易日(yyyyMMdd)
  9093. type: string
  9094. trademode:
  9095. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9096. type: integer
  9097. userid:
  9098. description: 用户ID
  9099. type: integer
  9100. vendorname:
  9101. description: 供应商名称
  9102. type: string
  9103. required:
  9104. - goodscode
  9105. - goodsname
  9106. - takeorderid
  9107. - trademode
  9108. type: object
  9109. models.HsbyPreGoods:
  9110. properties:
  9111. agreeunit:
  9112. description: 合约单位
  9113. type: number
  9114. currency:
  9115. description: 货币
  9116. type: string
  9117. currencysign:
  9118. description: 货币符号
  9119. type: string
  9120. decimalplace:
  9121. description: 报价小数位
  9122. type: integer
  9123. desccityid:
  9124. description: 目的地(市)
  9125. type: integer
  9126. descprovinceid:
  9127. description: 目的地(省)
  9128. type: integer
  9129. enableqty:
  9130. description: 剩余数量
  9131. type: integer
  9132. goodscode:
  9133. description: 商品代码(内部)
  9134. type: string
  9135. goodsid:
  9136. description: 商品ID(自增ID SEQ_GOODS)
  9137. type: integer
  9138. goodsname:
  9139. description: 商品名称
  9140. type: string
  9141. goodsstatus:
  9142. description: 商品状态- 2:未上市 3:上市
  9143. type: integer
  9144. lasttradedate:
  9145. description: 最后交易日期(状态:待退市)
  9146. type: string
  9147. listingdate:
  9148. description: 交易开始日期
  9149. type: string
  9150. marketid:
  9151. description: 所属市场ID
  9152. type: integer
  9153. picurls:
  9154. description: 介绍图片[多张用逗号分隔]
  9155. type: string
  9156. presaledqty:
  9157. description: 已预售量(预售结束时更新)
  9158. type: integer
  9159. presaleqty:
  9160. description: 预售数量
  9161. type: integer
  9162. quoteminunit:
  9163. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9164. type: integer
  9165. refprice:
  9166. description: 参考价格[一口价]
  9167. type: number
  9168. relatedgoodsid:
  9169. description: 关联交易合约ID
  9170. type: integer
  9171. trademode:
  9172. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9173. type: integer
  9174. videourls:
  9175. description: 介绍视频[多张用逗号分隔]
  9176. type: string
  9177. required:
  9178. - goodscode
  9179. - goodsid
  9180. - goodsname
  9181. - marketid
  9182. - trademode
  9183. type: object
  9184. models.HsbyPreGoodsDetail:
  9185. properties:
  9186. agreeunit:
  9187. description: 合约单位
  9188. type: number
  9189. buymaxqty:
  9190. description: 购买上限 [71] - 0为不限
  9191. type: integer
  9192. currency:
  9193. description: 货币
  9194. type: string
  9195. currencysign:
  9196. description: 货币符号
  9197. type: string
  9198. customername:
  9199. description: 发行单位
  9200. type: string
  9201. decimalplace:
  9202. description: 报价小数位
  9203. type: integer
  9204. desccityid:
  9205. description: 目的地(市)ID
  9206. type: integer
  9207. descprovinceid:
  9208. description: 目的地(省)ID
  9209. type: integer
  9210. enableqty:
  9211. description: 剩余数量
  9212. type: integer
  9213. goodscode:
  9214. description: 商品代码(内部)
  9215. type: string
  9216. goodsdesc:
  9217. description: 商品详情
  9218. type: string
  9219. goodsid:
  9220. description: 商品ID(自增ID SEQ_GOODS)
  9221. type: integer
  9222. goodsname:
  9223. description: 商品名称
  9224. type: string
  9225. goodsstatus:
  9226. description: 商品状态- 2:未上市 3:上市
  9227. type: integer
  9228. goodunit:
  9229. description: 报价单位
  9230. type: string
  9231. lasttradedate:
  9232. description: 最后交易日期(状态:待退市)
  9233. type: string
  9234. listingdate:
  9235. description: 交易开始日期
  9236. type: string
  9237. lotsize:
  9238. description: 手数最小变动单位
  9239. type: integer
  9240. marketid:
  9241. description: 所属市场ID
  9242. type: integer
  9243. picurls:
  9244. description: 介绍图片[多张用逗号分隔]
  9245. type: string
  9246. presaledqty:
  9247. description: 已预售量(预售结束时更新)
  9248. type: integer
  9249. presaleqty:
  9250. description: 预售数量
  9251. type: integer
  9252. quoteminunit:
  9253. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9254. type: integer
  9255. refprice:
  9256. description: 参考价格[一口价]
  9257. type: number
  9258. relatedgoodsid:
  9259. description: 关联交易合约ID
  9260. type: integer
  9261. stepvalue:
  9262. description: 价格最小变动单位
  9263. type: number
  9264. trademode:
  9265. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9266. type: integer
  9267. vendorattr:
  9268. description: 供应商附件(多张,逗号分隔)
  9269. type: string
  9270. vendorname:
  9271. description: 供应商名称
  9272. type: string
  9273. vendorphone:
  9274. description: 供应商客服电话
  9275. type: string
  9276. videourls:
  9277. description: 介绍视频[多张用逗号分隔]
  9278. type: string
  9279. required:
  9280. - goodscode
  9281. - goodsid
  9282. - goodsname
  9283. - marketid
  9284. - trademode
  9285. type: object
  9286. models.HsbySellCollectionOrder:
  9287. properties:
  9288. agreeunit:
  9289. description: 合约单位
  9290. type: number
  9291. buyaccountid:
  9292. description: 买方账号ID[报价币种]
  9293. type: integer
  9294. buyorderid:
  9295. description: 买方委托单号
  9296. type: string
  9297. createtime:
  9298. description: 创建时间
  9299. type: string
  9300. currencysign:
  9301. description: 货币符号
  9302. type: string
  9303. decimalplace:
  9304. description: 报价小数位
  9305. type: integer
  9306. goodscode:
  9307. description: 商品代码(内部)
  9308. type: string
  9309. goodsid:
  9310. description: 商品ID
  9311. type: integer
  9312. goodsname:
  9313. description: 商品名称
  9314. type: string
  9315. marketid:
  9316. description: 市场ID
  9317. type: integer
  9318. offamount:
  9319. description: 优惠金额
  9320. type: number
  9321. payamount:
  9322. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  9323. type: number
  9324. payflag:
  9325. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  9326. type: integer
  9327. paylimitedtime:
  9328. description: 支付期限
  9329. type: string
  9330. paytime:
  9331. description: 付款时间
  9332. type: string
  9333. picurls:
  9334. description: 商品介绍图片[多张用逗号分隔]
  9335. type: string
  9336. sellaccountid:
  9337. description: 卖方账号ID[报价币种]
  9338. type: integer
  9339. sellorderid:
  9340. description: 卖方委托单号
  9341. type: string
  9342. tradeamount:
  9343. description: 成交金额
  9344. type: number
  9345. tradecharge:
  9346. description: 成交手续费(买方)
  9347. type: number
  9348. tradedate:
  9349. description: 交易日(yyyyMMdd)
  9350. type: string
  9351. tradeid:
  9352. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9353. type: string
  9354. trademode:
  9355. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9356. type: integer
  9357. tradeprice:
  9358. description: 成交价格
  9359. type: number
  9360. tradeqty:
  9361. description: 成交数量
  9362. type: integer
  9363. required:
  9364. - goodscode
  9365. - goodsname
  9366. - tradeid
  9367. - trademode
  9368. type: object
  9369. models.HsbySellMyDetail:
  9370. properties:
  9371. accountid:
  9372. description: 账户ID[报价币种]
  9373. type: integer
  9374. agreeunit:
  9375. description: 合约单位
  9376. type: number
  9377. buyorsell:
  9378. description: 买卖 - 0:买 1:卖
  9379. type: integer
  9380. currencysign:
  9381. description: 货币符号
  9382. type: string
  9383. decimalplace:
  9384. description: 报价小数位
  9385. type: integer
  9386. goodscode:
  9387. description: 商品代码(内部)
  9388. type: string
  9389. goodsid:
  9390. description: 商品ID
  9391. type: integer
  9392. goodsname:
  9393. description: 商品名称
  9394. type: string
  9395. marketid:
  9396. description: 市场ID
  9397. type: integer
  9398. orderid:
  9399. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  9400. type: string
  9401. ordertype:
  9402. description: 单据类型:0 - 发布中, 1 - 已完成
  9403. type: integer
  9404. picurls:
  9405. description: 介绍图片[多张用逗号分隔]
  9406. type: string
  9407. price:
  9408. description: 价格
  9409. type: number
  9410. qty:
  9411. description: 数量
  9412. type: integer
  9413. time:
  9414. description: 时间
  9415. type: string
  9416. trademode:
  9417. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9418. type: integer
  9419. vendorname:
  9420. description: 供应商名称
  9421. type: string
  9422. required:
  9423. - accountid
  9424. - buyorsell
  9425. - goodscode
  9426. - goodsid
  9427. - goodsname
  9428. - marketid
  9429. - orderid
  9430. - time
  9431. - trademode
  9432. type: object
  9433. models.HsbyTopGoods:
  9434. properties:
  9435. agreeunit:
  9436. description: 合约单位
  9437. type: number
  9438. currency:
  9439. description: 货币
  9440. type: string
  9441. currencysign:
  9442. description: 货币符号
  9443. type: string
  9444. decimalplace:
  9445. description: 报价小数位
  9446. type: integer
  9447. desccityid:
  9448. description: 目的地(市)
  9449. type: integer
  9450. descprovinceid:
  9451. description: 目的地(省)
  9452. type: integer
  9453. goodscode:
  9454. description: 商品代码(内部)
  9455. type: string
  9456. goodsid:
  9457. description: 商品ID(自增ID SEQ_GOODS)
  9458. type: integer
  9459. goodsname:
  9460. description: 商品名称
  9461. type: string
  9462. hotindex:
  9463. description: 景点热度
  9464. type: integer
  9465. last:
  9466. description: 现价
  9467. type: number
  9468. marketid:
  9469. description: 所属市场ID
  9470. type: integer
  9471. picurls:
  9472. description: 介绍图片[多张用逗号分隔]
  9473. type: string
  9474. quoteminunit:
  9475. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9476. type: integer
  9477. trademode:
  9478. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9479. type: integer
  9480. videourls:
  9481. description: 介绍视频[多张用逗号分隔]
  9482. type: string
  9483. required:
  9484. - goodscode
  9485. - goodsid
  9486. - goodsname
  9487. - marketid
  9488. - trademode
  9489. type: object
  9490. models.HybsMyBuyOrderDetail:
  9491. properties:
  9492. accountid:
  9493. description: 账户ID[报价币种]
  9494. type: integer
  9495. agreeunit:
  9496. description: 合约单位
  9497. type: number
  9498. buyorsell:
  9499. description: 买卖 - 0:买 1:卖
  9500. type: integer
  9501. cancelqty:
  9502. description: 撤单数量
  9503. type: integer
  9504. currencysign:
  9505. description: 货币符号
  9506. type: string
  9507. decimalplace:
  9508. description: 报价小数位
  9509. type: integer
  9510. goodscode:
  9511. description: 商品代码(内部)
  9512. type: string
  9513. goodsid:
  9514. description: 商品ID
  9515. type: integer
  9516. goodsname:
  9517. description: 商品名称
  9518. type: string
  9519. listingselecttype:
  9520. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  9521. type: integer
  9522. marketid:
  9523. description: 市场ID
  9524. type: integer
  9525. mybuystatus:
  9526. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  9527. type: integer
  9528. orderamount:
  9529. description: 委托金额
  9530. type: number
  9531. orderid:
  9532. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9533. type: string
  9534. orderprice:
  9535. description: 委托价格
  9536. type: number
  9537. orderqty:
  9538. description: 委托数量
  9539. type: integer
  9540. orderstatus:
  9541. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  9542. type: integer
  9543. ordertime:
  9544. description: 委托时间
  9545. type: string
  9546. picurls1:
  9547. description: 预售商品介绍图片[多张用逗号分隔]
  9548. type: string
  9549. picurls2:
  9550. description: 挂牌商品介绍图片[多张用逗号分隔]
  9551. type: string
  9552. trademode:
  9553. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9554. type: integer
  9555. tradeqty:
  9556. description: 成交数量
  9557. type: integer
  9558. vendorname1:
  9559. description: 预售商品供应商名称
  9560. type: string
  9561. vendorname2:
  9562. description: 挂牌商品供应商名称
  9563. type: string
  9564. required:
  9565. - accountid
  9566. - buyorsell
  9567. - goodscode
  9568. - goodsid
  9569. - goodsname
  9570. - marketid
  9571. - orderid
  9572. - orderqty
  9573. - ordertime
  9574. - trademode
  9575. type: object
  9576. models.Loginaccount:
  9577. properties:
  9578. accountname:
  9579. description: 账户名称
  9580. type: string
  9581. canoutin:
  9582. description: 是否可出入金 - 0:不可 1:可
  9583. type: integer
  9584. clientroleid:
  9585. description: 终端角色ID
  9586. type: integer
  9587. haslogined:
  9588. description: 是否已登录 - 0:未登录 1:已登录
  9589. type: integer
  9590. hasupdatedpwd:
  9591. description: 是否已更改密码 - 0:未修改 1:已修改
  9592. type: integer
  9593. lastloginip:
  9594. description: 最新登录地址
  9595. type: string
  9596. lastloginmode:
  9597. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  9598. type: integer
  9599. lastloginremark:
  9600. description: 最新登录描述
  9601. type: string
  9602. lastlogintime:
  9603. description: 最新登录时间
  9604. type: string
  9605. logincode:
  9606. description: 登录代码
  9607. type: string
  9608. loginfailnum:
  9609. description: 连续登录失败次数(登录成功时清零)
  9610. type: integer
  9611. loginid:
  9612. description: 登陆账号
  9613. type: integer
  9614. loginport:
  9615. description: 最新登录端口
  9616. type: integer
  9617. loginstatus:
  9618. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  9619. type: integer
  9620. loginusertype:
  9621. description: 登录账号类型 - 1:投资者 2:机构交易员
  9622. type: integer
  9623. mobile:
  9624. description: 手机号码(加密存储)
  9625. type: string
  9626. modifierid:
  9627. description: 修改人
  9628. type: integer
  9629. modifysrc:
  9630. description: 审核来源 - 1:管理端 2:终端
  9631. type: integer
  9632. modifytime:
  9633. description: 修改时间
  9634. type: string
  9635. password:
  9636. description: 登陆密码
  9637. type: string
  9638. pwdwrongcount:
  9639. description: 密码错误次数
  9640. type: integer
  9641. relateduserid:
  9642. description: 关联用户ID(机构)
  9643. type: integer
  9644. taaccountrighttype:
  9645. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  9646. type: integer
  9647. unfreezetime:
  9648. description: 账户解冻时间
  9649. type: string
  9650. userid:
  9651. description: 用户ID
  9652. type: integer
  9653. required:
  9654. - loginid
  9655. type: object
  9656. models.MainAccountInfo:
  9657. properties:
  9658. accountid:
  9659. description: 账号id
  9660. type: integer
  9661. accountname:
  9662. description: 账号名称(taaccount表中的名称)
  9663. type: string
  9664. appid:
  9665. description: AppID
  9666. type: string
  9667. authcode:
  9668. description: 授权码
  9669. type: string
  9670. brokerid:
  9671. description: 经纪商id
  9672. type: string
  9673. fcid:
  9674. description: 期货公司id
  9675. type: integer
  9676. fcname:
  9677. description: 期货公司代码
  9678. type: string
  9679. hedgeaccountcode:
  9680. description: 外部账号代码(主账号登录代码)
  9681. type: string
  9682. hedgeaccountpwd:
  9683. description: 密码
  9684. type: string
  9685. ismain:
  9686. description: 是否主账号
  9687. type: integer
  9688. relateduserid:
  9689. description: 关联用户id
  9690. type: integer
  9691. userid:
  9692. description: 关联用户id
  9693. type: integer
  9694. type: object
  9695. models.Market:
  9696. properties:
  9697. auctionwrtype:
  9698. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  9699. type: integer
  9700. canacceptquote:
  9701. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  9702. type: integer
  9703. cangoodsexercise:
  9704. description: '[期权]是否可现货行权- 0:否 1:是'
  9705. type: integer
  9706. cangoodsexercisetype:
  9707. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  9708. type: integer
  9709. canmanualquotestrike:
  9710. description: 是否可手动报行权价- 0:否 1:是 [期权]
  9711. type: integer
  9712. canmutistage:
  9713. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  9714. type: integer
  9715. canpreexercise:
  9716. description: '[期权]是否可预申报- 0:否 1:是'
  9717. type: integer
  9718. clearinterval:
  9719. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  9720. type: integer
  9721. contracttmp:
  9722. description: 合同模板[荷兰式][竞价式][仓单贸易]
  9723. type: string
  9724. exchareaid:
  9725. description: 所属交易所,可以没有
  9726. type: integer
  9727. goodstype:
  9728. description: 商品类型 - 1:交易商品 2:仓单商品
  9729. type: integer
  9730. hasrebate:
  9731. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  9732. type: integer
  9733. hastradecredit:
  9734. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  9735. type: integer
  9736. haswr:
  9737. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  9738. type: integer
  9739. isdeductmargin:
  9740. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  9741. type: integer
  9742. isrecordsource:
  9743. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  9744. type: integer
  9745. isreleasemargin:
  9746. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  9747. type: integer
  9748. marginformula:
  9749. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9750. type: integer
  9751. marginformula2:
  9752. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9753. type: integer
  9754. marketid:
  9755. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  9756. type: integer
  9757. marketname:
  9758. description: 市场名称
  9759. type: string
  9760. marketserviceid:
  9761. description: 市场服务ID
  9762. type: integer
  9763. marketstatus:
  9764. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  9765. type: integer
  9766. markettype:
  9767. description: 市场类型- 1:非交易服务 2:交易服务
  9768. type: integer
  9769. matchermode:
  9770. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  9771. type: integer
  9772. openmethod:
  9773. description: 开盘模式 - 0 自动 1手动
  9774. type: integer
  9775. otcuserid:
  9776. description: 场外期权做市商[场外期权]
  9777. type: integer
  9778. outersynctime:
  9779. description: 外部同步时间点(h24:mi:ss)[场外期权]
  9780. type: string
  9781. pendingflag:
  9782. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  9783. type: integer
  9784. pendingtime:
  9785. description: 待开市时间[通道交易-对冲](HH:mm)
  9786. type: string
  9787. performancetempid:
  9788. description: 履约计划模板ID - 作废
  9789. type: integer
  9790. premiumquotemode:
  9791. description: 权利金报价方式 - 1:自动 2:手动
  9792. type: integer
  9793. rebateratio:
  9794. description: 返利比率[竞价式]
  9795. type: number
  9796. reckonorder:
  9797. description: 结算顺序
  9798. type: integer
  9799. reckonpricealgorithm:
  9800. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价'
  9801. type: integer
  9802. reckonpriceparam:
  9803. description: 结算价参数
  9804. type: integer
  9805. reckontime:
  9806. description: 结算时间[通道交易-对冲](HH:mm)
  9807. type: string
  9808. roleprioritytype:
  9809. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  9810. type: integer
  9811. selllistingauditflag:
  9812. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  9813. type: integer
  9814. trademarkettype:
  9815. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  9816. type: integer
  9817. trademode:
  9818. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9819. type: integer
  9820. tradeproperty:
  9821. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权
  9822. type: integer
  9823. tradetype:
  9824. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  9825. type: integer
  9826. required:
  9827. - marketid
  9828. - marketstatus
  9829. - openmethod
  9830. - reckonpricealgorithm
  9831. - trademode
  9832. - tradeproperty
  9833. type: object
  9834. models.Marketrun:
  9835. properties:
  9836. afternexttradedate:
  9837. description: 下下交易日
  9838. type: string
  9839. clearquoteflag:
  9840. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  9841. type: integer
  9842. lastreckondate:
  9843. description: 最新交易日(结算成功)
  9844. type: string
  9845. machinedate:
  9846. description: 机器时间
  9847. type: string
  9848. manualflag:
  9849. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  9850. type: integer
  9851. marketid:
  9852. description: 市场ID
  9853. type: integer
  9854. nexttradedate:
  9855. description: 下一交易日
  9856. type: string
  9857. pretradedate:
  9858. description: 上一交易日
  9859. type: string
  9860. reckonflag:
  9861. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  9862. type: integer
  9863. runstatus:
  9864. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内) 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始 62.今日免清算
  9865. type: integer
  9866. sectionid:
  9867. description: 时间段号[多时段时用]
  9868. type: integer
  9869. tradedate:
  9870. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  9871. type: string
  9872. tradedate2:
  9873. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  9874. type: string
  9875. updatetime:
  9876. description: 更新时间
  9877. type: string
  9878. required:
  9879. - marketid
  9880. - nexttradedate
  9881. - reckonflag
  9882. - runstatus
  9883. - tradedate
  9884. - tradedate2
  9885. type: object
  9886. models.Messageboard:
  9887. properties:
  9888. contactnum:
  9889. description: 联系电话
  9890. type: string
  9891. createtime:
  9892. description: 创建时间
  9893. type: string
  9894. message:
  9895. description: 留言信息
  9896. type: string
  9897. messageboardid:
  9898. description: 留言簿ID(SEQ_MessageBoard)
  9899. type: integer
  9900. userid:
  9901. description: 用户ID
  9902. type: integer
  9903. required:
  9904. - messageboardid
  9905. type: object
  9906. models.MyCoupon:
  9907. properties:
  9908. accountid:
  9909. description: 资金账户ID
  9910. type: integer
  9911. areauserid:
  9912. description: 所属机构
  9913. type: integer
  9914. conditionvalue:
  9915. description: 条件阈值(可为0)
  9916. type: number
  9917. couponcategroy:
  9918. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  9919. type: integer
  9920. couponname:
  9921. description: 优惠券名称
  9922. type: string
  9923. coupontypeid:
  9924. description: 优惠券类型ID
  9925. type: string
  9926. couponvalue:
  9927. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9928. type: number
  9929. curfreezeqty:
  9930. description: 期末冻结数量
  9931. type: integer
  9932. curqty:
  9933. description: 期末数量
  9934. type: integer
  9935. isgeneral:
  9936. description: 是否通用券 - 0:否 1:是
  9937. type: integer
  9938. isunusable:
  9939. description: 是否不可用
  9940. type: boolean
  9941. limitedflag:
  9942. description: 是否指定商品 - 0:不限 1:限制
  9943. type: integer
  9944. limitedgoodsids:
  9945. description: 指定商品IDs[逗号分隔,前后加逗号]
  9946. type: string
  9947. orifreezeqty:
  9948. description: 期初冻结数量
  9949. type: integer
  9950. oriqty:
  9951. description: 期初数量
  9952. type: integer
  9953. reasontype:
  9954. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  9955. type: integer
  9956. todaydecrease:
  9957. description: 今日减少
  9958. type: integer
  9959. todayincrease:
  9960. description: 今日增加
  9961. type: integer
  9962. userid:
  9963. description: 用户ID
  9964. type: integer
  9965. userscope:
  9966. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  9967. type: string
  9968. required:
  9969. - accountid
  9970. - coupontypeid
  9971. type: object
  9972. models.MyCouponHold:
  9973. properties:
  9974. accountid:
  9975. description: 资金账户ID
  9976. type: integer
  9977. conditionvalue:
  9978. description: 条件阈值(可为0)
  9979. type: number
  9980. couponcategroy:
  9981. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  9982. type: integer
  9983. couponholdid:
  9984. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  9985. type: string
  9986. couponname:
  9987. description: 优惠券名称
  9988. type: string
  9989. coupontypeid:
  9990. description: 优惠券类型ID - SEQ_COUPONTYPE
  9991. type: string
  9992. couponvalue:
  9993. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9994. type: number
  9995. createtime:
  9996. description: 创建时间
  9997. type: string
  9998. enddate:
  9999. description: 结束日期
  10000. type: string
  10001. giveapplyid:
  10002. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  10003. type: integer
  10004. holdstatus:
  10005. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  10006. type: integer
  10007. isgeneral:
  10008. description: 是否通用券 - 0:否 1:是
  10009. type: integer
  10010. limitedflag:
  10011. description: 是否指定商品 - 0:不限 1:限制
  10012. type: integer
  10013. limitedgoodsids:
  10014. description: 指定商品IDs[逗号分隔]
  10015. type: string
  10016. qty:
  10017. description: 数量(按1平铺)
  10018. type: integer
  10019. startdate:
  10020. description: 开始日期
  10021. type: string
  10022. userid:
  10023. description: 用户ID
  10024. type: integer
  10025. userscope:
  10026. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  10027. type: string
  10028. required:
  10029. - couponholdid
  10030. type: object
  10031. models.MyUsedCoupon:
  10032. properties:
  10033. accountid:
  10034. description: 资金账户ID(买方)
  10035. type: integer
  10036. conditionvalue:
  10037. description: 条件阈值(可为0)
  10038. type: number
  10039. couponcategroy:
  10040. description: 种类 - 1:现金券 2:折扣券
  10041. type: integer
  10042. couponname:
  10043. description: 优惠券名称
  10044. type: string
  10045. coupontypeid:
  10046. description: 优惠券类型ID(买方)
  10047. type: string
  10048. couponvalue:
  10049. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  10050. type: number
  10051. createtime:
  10052. description: 创建时间
  10053. type: string
  10054. goodsid:
  10055. description: 商品ID
  10056. type: integer
  10057. handlestatus:
  10058. description: 处理状态
  10059. type: integer
  10060. marketid:
  10061. description: 市场ID
  10062. type: integer
  10063. offamount:
  10064. description: 优惠金额
  10065. type: number
  10066. orderid:
  10067. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10068. type: string
  10069. sellaccountid:
  10070. description: 资金账户ID(卖方)
  10071. type: integer
  10072. tradeamount:
  10073. description: 成交金额
  10074. type: number
  10075. tradeid:
  10076. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10077. type: string
  10078. usedqty:
  10079. description: 使用数量
  10080. type: integer
  10081. required:
  10082. - coupontypeid
  10083. - orderid
  10084. type: object
  10085. models.OperationPrimaryMenu:
  10086. properties:
  10087. Children:
  10088. description: 二级功能菜单
  10089. items:
  10090. $ref: '#/definitions/models.OperationSecondaryMenu'
  10091. type: array
  10092. Key:
  10093. description: 菜单KEY
  10094. type: string
  10095. Label:
  10096. description: 菜单标题
  10097. type: string
  10098. type: object
  10099. models.OperationSecondaryMenu:
  10100. properties:
  10101. Key:
  10102. description: 菜单KEY
  10103. type: string
  10104. Label:
  10105. description: 菜单标题
  10106. type: string
  10107. TabList:
  10108. description: 三级功能菜单
  10109. items:
  10110. $ref: '#/definitions/models.OperationTabMenu'
  10111. type: array
  10112. type: object
  10113. models.OperationTabMenu:
  10114. properties:
  10115. Key:
  10116. description: 菜单KEY
  10117. type: string
  10118. Label:
  10119. description: 菜单标题
  10120. type: string
  10121. type: object
  10122. models.QhjAccountOutInApply:
  10123. properties:
  10124. accountcode:
  10125. description: 资金账号
  10126. type: string
  10127. accountname:
  10128. description: 用户名称(名称)
  10129. type: string
  10130. accountpwd:
  10131. description: 资金密码
  10132. type: string
  10133. accountticket:
  10134. description: 最新账户服务流水号
  10135. type: string
  10136. amount:
  10137. description: 金额
  10138. type: number
  10139. applyremark:
  10140. description: 申请备注
  10141. type: string
  10142. applystatus:
  10143. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败; 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22: 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  10144. type: integer
  10145. auditid:
  10146. description: 审核人
  10147. type: integer
  10148. audittime:
  10149. description: 审核时间
  10150. type: string
  10151. bank_apply_ticket:
  10152. description: 银行申请流水
  10153. type: string
  10154. bankaccountname:
  10155. description: 银行账户名
  10156. type: string
  10157. bankaccountno:
  10158. description: 银行卡号
  10159. type: string
  10160. bankid:
  10161. description: 银行编号
  10162. type: string
  10163. bankticket:
  10164. description: 银行流水
  10165. type: string
  10166. branchbankid:
  10167. description: 银行支行号
  10168. type: string
  10169. branchbankname:
  10170. description: 银行支行名称
  10171. type: string
  10172. capamountout:
  10173. description: 出金(劣后本金) - 外部子账户
  10174. type: number
  10175. certificatephotourl:
  10176. description: 凭证地址
  10177. type: string
  10178. charge:
  10179. description: 手续费
  10180. type: number
  10181. checkerrorflag:
  10182. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  10183. type: integer
  10184. currency:
  10185. description: 币种
  10186. type: string
  10187. cusbankid:
  10188. description: 托管银行编号
  10189. type: string
  10190. exchticket:
  10191. description: 银行服务流水号
  10192. type: string
  10193. executetype:
  10194. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金'
  10195. type: integer
  10196. extendinfo:
  10197. description: 扩展信息
  10198. type: string
  10199. extoperateid:
  10200. description: 交易服务流水号
  10201. type: integer
  10202. infamount:
  10203. description: 劣后金额(自有)
  10204. type: number
  10205. logincode:
  10206. description: 登录账号(账号)
  10207. type: string
  10208. netaddr:
  10209. description: 调转网址
  10210. type: string
  10211. priamount:
  10212. description: 优先金额(授信)
  10213. type: number
  10214. reauditid:
  10215. description: 复审人
  10216. type: integer
  10217. reauditremark:
  10218. description: 复审备注
  10219. type: string
  10220. reaudittime:
  10221. description: 复审时间
  10222. type: string
  10223. relatedorderid:
  10224. description: 三方关联ID
  10225. type: string
  10226. remark:
  10227. description: 备注
  10228. type: string
  10229. remark2:
  10230. description: 备注(失败原因)
  10231. type: string
  10232. soucreamount:
  10233. description: 原始出入金金额
  10234. type: number
  10235. soucrecurrencyid:
  10236. description: 原始出入金币种
  10237. type: integer
  10238. tradedate:
  10239. description: 交易日(yyyyMMdd)
  10240. type: string
  10241. updatetime:
  10242. description: 更新时间(申请时间)
  10243. type: string
  10244. userid:
  10245. description: 用户id
  10246. type: integer
  10247. userinfotype:
  10248. description: 账户类型 1-个人 2-企业
  10249. type: integer
  10250. type: object
  10251. models.QhjAgreementChangeLog:
  10252. properties:
  10253. agreementcontent:
  10254. description: 协议内容
  10255. type: string
  10256. agreementfrequency:
  10257. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  10258. type: integer
  10259. agreementid:
  10260. description: 协议ID
  10261. type: integer
  10262. agreementname:
  10263. description: 协议名称
  10264. type: string
  10265. agreementno:
  10266. description: 协议编号
  10267. type: string
  10268. agreementtype:
  10269. description: 协议类型 - 1:注册 2:登录 3:交易
  10270. type: integer
  10271. agreementversion:
  10272. description: 协议版本号
  10273. type: integer
  10274. logid:
  10275. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  10276. type: integer
  10277. reviserid:
  10278. description: 修改人
  10279. type: integer
  10280. revisersrc:
  10281. description: 修改来源 - 1:管理端 2:终端
  10282. type: integer
  10283. updatetime:
  10284. description: 更新时间
  10285. type: string
  10286. type: object
  10287. models.QhjAgreementConfig:
  10288. properties:
  10289. agreementcontent:
  10290. description: 协议内容
  10291. type: string
  10292. agreementfrequency:
  10293. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  10294. type: integer
  10295. agreementid:
  10296. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  10297. type: integer
  10298. agreementname:
  10299. description: 协议名称
  10300. type: string
  10301. agreementno:
  10302. description: 协议编号
  10303. type: string
  10304. agreementtype:
  10305. description: 协议类型 - 1:注册 2:登录 3:交易
  10306. type: integer
  10307. agreementversion:
  10308. description: 协议版本号(从1开始每次修改加1)
  10309. type: integer
  10310. createtime:
  10311. description: 创建时间
  10312. type: string
  10313. creatorid:
  10314. description: 创建人
  10315. type: integer
  10316. creatorsrc:
  10317. description: 创建来源 - 1:管理端 2:终端
  10318. type: integer
  10319. isvalid:
  10320. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  10321. type: integer
  10322. reviserid:
  10323. description: 修改人
  10324. type: integer
  10325. revisersrc:
  10326. description: 修改来源 - 1:管理端 2:终端
  10327. type: integer
  10328. updatetime:
  10329. description: 更新时间
  10330. type: string
  10331. type: object
  10332. models.QhjAreaFinanceConfig:
  10333. properties:
  10334. additionalratio:
  10335. description: 追加款比例
  10336. type: number
  10337. advanceratio:
  10338. description: 预付款比例
  10339. type: number
  10340. alarmratio:
  10341. description: 告警比例
  10342. type: number
  10343. consumptiondirectreward:
  10344. description: 消费直推奖励值
  10345. type: number
  10346. consumptionenabled:
  10347. description: 是否启用消费奖励 - 0:不启用 1:启用
  10348. type: integer
  10349. consumptionindirectreward:
  10350. description: 消费间推奖励值
  10351. type: number
  10352. consumptionmodel:
  10353. description: 消费奖励方式 - 1:比率 2:固定
  10354. type: integer
  10355. customerservicenum:
  10356. description: 客服电话
  10357. type: string
  10358. dayinterestrate:
  10359. description: 日利率
  10360. type: number
  10361. disableconsumptiontips:
  10362. description: 关闭消费奖励提示
  10363. type: string
  10364. modifierid:
  10365. description: 修改人ID
  10366. type: integer
  10367. modifysrc:
  10368. description: 审核来源 - 1:管理端 2:终端
  10369. type: integer
  10370. modifytime:
  10371. description: 修改时间
  10372. type: string
  10373. promotionvalue:
  10374. description: 推广奖励值(固定)
  10375. type: number
  10376. scoreconfigvalue1:
  10377. description: 提货积分配置1
  10378. type: integer
  10379. scoreconfigvalue2:
  10380. description: 提货积分配置2
  10381. type: integer
  10382. userid:
  10383. description: 机构用户ID其他做市关系,都设置为 1
  10384. type: integer
  10385. username:
  10386. description: 用户名称
  10387. type: string
  10388. type: object
  10389. models.QhjBankAccountSign:
  10390. properties:
  10391. accountcode:
  10392. description: 资金账号
  10393. type: string
  10394. accountname:
  10395. description: 资金账号对应的账号名(UserName)
  10396. type: string
  10397. accountname2:
  10398. description: 资金账号对应的账号名(UserName) - 密文
  10399. type: string
  10400. accounttype:
  10401. description: 账户类型(UserType)
  10402. type: integer
  10403. applicationtime:
  10404. description: 最后一次更新的时间
  10405. type: string
  10406. applyexchticket:
  10407. description: 申请流水
  10408. type: string
  10409. auditid:
  10410. description: 审核人
  10411. type: integer
  10412. audittime:
  10413. description: 审核时间
  10414. type: string
  10415. bankaccountname:
  10416. description: 签约银行卡账号名
  10417. type: string
  10418. bankaccountname2:
  10419. description: 签约银行卡账号名 - 密文
  10420. type: string
  10421. bankaccountno:
  10422. description: 银行卡号
  10423. type: string
  10424. bankaccountno2:
  10425. description: 银行卡号 - 密文
  10426. type: string
  10427. bankaccounttype:
  10428. description: 银行账户类型 - 1-对私; 2-对公
  10429. type: integer
  10430. bankcardtype:
  10431. description: 银行卡类型
  10432. type: integer
  10433. bankchildaccount:
  10434. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  10435. type: string
  10436. bankcity:
  10437. description: 开户行城市
  10438. type: string
  10439. bankid:
  10440. description: 签约银行ID
  10441. type: string
  10442. bankname:
  10443. description: 签约银行名称
  10444. type: string
  10445. bankprovince:
  10446. description: 开户行省份
  10447. type: string
  10448. branchbankid:
  10449. description: 签约银行支行号
  10450. type: string
  10451. branchbankname:
  10452. description: 签约银行支行名称
  10453. type: string
  10454. cardno:
  10455. description: 证件号码
  10456. type: string
  10457. cardno2:
  10458. description: 证件号码 - 密文
  10459. type: string
  10460. cardtype:
  10461. description: 证件类型
  10462. type: string
  10463. currency:
  10464. description: 币种
  10465. type: string
  10466. cusbankid:
  10467. description: 托管银行编号
  10468. type: string
  10469. direct:
  10470. description: 方向(可以判断那方先发起的签约)
  10471. type: integer
  10472. exchticket:
  10473. description: 最后一次签约成功的流水号
  10474. type: string
  10475. extendinfo:
  10476. description: 扩展信息(JSON字符串)
  10477. type: string
  10478. mobilephone:
  10479. description: 手机号
  10480. type: string
  10481. mobilephone2:
  10482. description: 手机号 - 密文
  10483. type: string
  10484. netaddr:
  10485. description: 调转网址
  10486. type: string
  10487. relateduserid:
  10488. description: 关联使用者userid
  10489. type: integer
  10490. signstatus:
  10491. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核
  10492. type: integer
  10493. updatetime:
  10494. description: 更新时间(签解约更新时间)
  10495. type: string
  10496. type: object
  10497. models.QhjBankInfo:
  10498. properties:
  10499. bankid:
  10500. description: 银行ID
  10501. type: string
  10502. bankname:
  10503. description: 银行名称
  10504. type: string
  10505. clearbankno:
  10506. description: 清算系统银行编号
  10507. type: string
  10508. orderindex:
  10509. description: 排序顺序
  10510. type: integer
  10511. status:
  10512. description: 状态 - 0:正常 1:注销
  10513. type: integer
  10514. type: object
  10515. models.QhjBrokerApply:
  10516. properties:
  10517. applicantid:
  10518. description: 申请人
  10519. type: integer
  10520. applysrc:
  10521. description: 申请来源 - 1:管理端 2:终端
  10522. type: integer
  10523. applystatus:
  10524. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  10525. type: integer
  10526. applytime:
  10527. description: 申请时间
  10528. type: string
  10529. auditorid:
  10530. description: 审核人
  10531. type: integer
  10532. auditremark:
  10533. description: 审核备注
  10534. type: string
  10535. auditsrc:
  10536. description: 审核来源 - 1:管理端 2:终端
  10537. type: integer
  10538. audittime:
  10539. description: 审核时间
  10540. type: string
  10541. audittradedate:
  10542. description: 审核交易日(yyyyMMdd)
  10543. type: string
  10544. brokerapplyid:
  10545. description: 申请ID(SEQ_BROKERAPPLY)
  10546. type: integer
  10547. cardbackphotourl:
  10548. description: 证件背面图片地址
  10549. type: string
  10550. cardfrontphotourl:
  10551. description: 证件正面图片地址
  10552. type: string
  10553. cardnum:
  10554. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  10555. type: string
  10556. customername:
  10557. description: 姓名
  10558. type: string
  10559. logincode:
  10560. description: 登录代码
  10561. type: string
  10562. mobile:
  10563. description: 手机号码
  10564. type: string
  10565. parentuserid:
  10566. description: 所属机构id
  10567. type: integer
  10568. parentusername:
  10569. description: 所属机构名称
  10570. type: string
  10571. refereeuserid:
  10572. description: 推荐人id(经纪人)
  10573. type: integer
  10574. refernum:
  10575. description: 推荐码
  10576. type: string
  10577. remark:
  10578. description: 备注
  10579. type: string
  10580. subarealevelpath:
  10581. description: 层级路径
  10582. type: string
  10583. tradedate:
  10584. description: 交易日(yyyyMMdd)
  10585. type: string
  10586. userid:
  10587. description: 申请人用户ID
  10588. type: integer
  10589. userinfotype:
  10590. description: 用户类型 1-个人 2-企业
  10591. type: integer
  10592. username:
  10593. description: 用户名称
  10594. type: string
  10595. type: object
  10596. models.QhjBrokerApplyEx:
  10597. properties:
  10598. applylist:
  10599. description: 经纪人申请记录(只返回最新一条)
  10600. items:
  10601. $ref: '#/definitions/models.QhjBrokerApply'
  10602. type: array
  10603. canrecommend:
  10604. description: 是否经纪人 0-不是 1-是
  10605. type: integer
  10606. refernum:
  10607. description: 推荐码
  10608. type: string
  10609. userid:
  10610. description: 用户id
  10611. type: integer
  10612. userinfotype:
  10613. description: 用户类型 1-个人 2-企业
  10614. type: integer
  10615. type: object
  10616. models.QhjBrokerRewardLog:
  10617. properties:
  10618. accountid:
  10619. description: 资金账号ID
  10620. type: integer
  10621. createtime:
  10622. description: 创建时间(时间)
  10623. type: string
  10624. handlestatus:
  10625. description: 处理状态
  10626. type: integer
  10627. logid:
  10628. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10629. type: string
  10630. marketid:
  10631. description: 市场ID
  10632. type: integer
  10633. mmaccountid:
  10634. description: 做市商资金账号ID
  10635. type: string
  10636. mmuserid:
  10637. description: 做市商用户ID
  10638. type: string
  10639. rewardamount:
  10640. description: 奖励金额
  10641. type: number
  10642. rewardmodel:
  10643. description: 消费奖励方式 - 1:比率 2:固定
  10644. type: integer
  10645. rewardtype:
  10646. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  10647. type: integer
  10648. rewardvalue:
  10649. description: 配置奖励值
  10650. type: number
  10651. srcamount:
  10652. description: 成交金额 [消费奖励] (金额)
  10653. type: number
  10654. srcgoodsid:
  10655. description: 来源商品ID [消费奖励]
  10656. type: string
  10657. srctime:
  10658. description: 来源时间 (成交时间) [消费奖励]
  10659. type: string
  10660. srctradeid:
  10661. description: 来源成交单ID [消费奖励] - 排除提货成交
  10662. type: string
  10663. srcuserid:
  10664. description: 来源用户ID(推广账户)
  10665. type: string
  10666. srcusername:
  10667. description: 推广账户名称
  10668. type: string
  10669. tradedate:
  10670. description: 交易日(yyyyMMdd)
  10671. type: string
  10672. userid:
  10673. description: 经纪人用户ID
  10674. type: integer
  10675. type: object
  10676. models.QhjContract:
  10677. properties:
  10678. contractconfirmtime:
  10679. description: 合同确认时间(时间)
  10680. type: string
  10681. currisklevel:
  10682. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  10683. type: integer
  10684. decimalplace:
  10685. description: 商品报价小数位
  10686. type: integer
  10687. enumdicname:
  10688. description: 单位名称
  10689. type: string
  10690. goodscode:
  10691. description: 商品代码
  10692. type: string
  10693. goodsid:
  10694. description: 商品ID [5:融资单]
  10695. type: integer
  10696. goodsname:
  10697. description: 商品名称
  10698. type: string
  10699. goodunitid:
  10700. description: 商品单位id
  10701. type: integer
  10702. initmargin:
  10703. description: 初始保证金(首付款)
  10704. type: number
  10705. lenderamount:
  10706. description: 贷款金额(总额|订单总额)
  10707. type: number
  10708. marginratio:
  10709. description: 保证金比率(首付比例)
  10710. type: number
  10711. payamount:
  10712. description: 已付(已付货款)
  10713. type: number
  10714. reckonrecovermargin:
  10715. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  10716. type: number
  10717. recoveredmargin:
  10718. description: 已追缴保证金
  10719. type: number
  10720. remainamount:
  10721. description: 合同剩余金额(融资额)
  10722. type: number
  10723. scfcontractid:
  10724. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10725. type: string
  10726. scfcontractstatus:
  10727. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交
  10728. type: integer
  10729. scfcontracttype:
  10730. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  10731. type: integer
  10732. totalinterest:
  10733. description: 已计总利息(利息)
  10734. type: number
  10735. tradeprice:
  10736. description: 成交价格(成本价格)
  10737. type: number
  10738. userid:
  10739. description: 用户ID
  10740. type: integer
  10741. username:
  10742. description: 用户名称
  10743. type: string
  10744. wrqty:
  10745. description: 仓单数量(数量)
  10746. type: number
  10747. type: object
  10748. models.QhjContractLog:
  10749. properties:
  10750. amount:
  10751. description: 支付金额
  10752. type: number
  10753. amounttype:
  10754. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  10755. type: integer
  10756. logid:
  10757. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10758. type: string
  10759. remainamount:
  10760. description: 剩余货款
  10761. type: number
  10762. scfcontractid:
  10763. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10764. type: integer
  10765. updatetime:
  10766. description: 更新时间
  10767. type: string
  10768. type: object
  10769. models.QhjCusBankSignBankEx:
  10770. properties:
  10771. banklst:
  10772. description: 银行列表
  10773. items:
  10774. $ref: '#/definitions/models.QhjBankInfo'
  10775. type: array
  10776. canallot:
  10777. description: 是否支持跨行调拨 - 0:不支持 1:支持
  10778. type: integer
  10779. canallotquery:
  10780. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  10781. type: integer
  10782. canbindcard:
  10783. description: 是否可绑卡与解卡 - 0:不可 1:可以
  10784. type: integer
  10785. caninamount:
  10786. description: 是否可入金 - 0:不可 1:可以
  10787. type: integer
  10788. caninamount2:
  10789. description: 是否可入金(网银端) - 0:不可 1:可以
  10790. type: integer
  10791. canmodifybankcard:
  10792. description: 是否可修改银行卡号 - 0:不可 1:可以
  10793. type: integer
  10794. canmodifyphone:
  10795. description: 是否可修改手机号 - 0:不可 1:可以
  10796. type: integer
  10797. canmodifysigninfo:
  10798. description: 是否可修改签约信息 - 0:不可 1:可以
  10799. type: integer
  10800. canoutamount:
  10801. description: 是否可出金 - 0:不可 1:可以
  10802. type: integer
  10803. canoutamount2:
  10804. description: 是否可出金(网银端) - 0:不可 1:可以
  10805. type: integer
  10806. canrelease:
  10807. description: 是否可解约 - 0:不可 1:可以
  10808. type: integer
  10809. canrelease2:
  10810. description: 是否可解约(网银端) - 0:不可 1:可以
  10811. type: integer
  10812. cansign:
  10813. description: 是否可签约 - 0:不可 1:可以
  10814. type: integer
  10815. cansign2:
  10816. description: 是否可签约(网银端) - 0:不可 1:可以
  10817. type: integer
  10818. currency:
  10819. description: 币种
  10820. type: string
  10821. cusbankid:
  10822. description: 托管银行编号(对应清算中心TRAN_NO)
  10823. type: string
  10824. cusbankname:
  10825. description: 银行业务名称
  10826. type: string
  10827. cusbankshortname:
  10828. description: 银行业务简称
  10829. type: string
  10830. exchbankid:
  10831. description: 交易所开户银行ID
  10832. type: string
  10833. exchpaybankaccname:
  10834. description: 交易所支出结算账户户名
  10835. type: string
  10836. exchpaybankaccno:
  10837. description: 交易所支出结算账户
  10838. type: string
  10839. isneedcheck:
  10840. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  10841. type: integer
  10842. isneedclear:
  10843. description: 是否需要清算 - 0:不需要 1:需要
  10844. type: integer
  10845. lastcheckstatus:
  10846. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  10847. type: integer
  10848. lastchecktime:
  10849. description: 最后对账时间
  10850. type: string
  10851. lastclearstatus:
  10852. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  10853. type: integer
  10854. lastcleartime:
  10855. description: 最后清算时间
  10856. type: string
  10857. lastsignintime:
  10858. description: 最后签到时间
  10859. type: string
  10860. lastsignouttime:
  10861. description: 最后签退时间
  10862. type: string
  10863. riskinfo:
  10864. description: 签约风险提示书
  10865. type: string
  10866. signstatus:
  10867. description: 当前签到/签退状态 - 1:签到 2:签退
  10868. type: integer
  10869. tradedate:
  10870. description: 交易日(yyyyMMdd)
  10871. type: string
  10872. updatetime:
  10873. description: 当前签到/签退更新时间
  10874. type: string
  10875. type: object
  10876. models.QhjCustomer:
  10877. properties:
  10878. address:
  10879. description: 通讯地址
  10880. type: string
  10881. attachment1:
  10882. description: 附件1
  10883. type: string
  10884. audittime:
  10885. description: 审核时间
  10886. type: string
  10887. cardbackphotourl:
  10888. description: 证件反面图片地址
  10889. type: string
  10890. cardfrontphotourl:
  10891. description: 证件正面图片地址
  10892. type: string
  10893. cardnum:
  10894. description: 证件号码
  10895. type: string
  10896. cardtype:
  10897. description: 证件类型
  10898. type: integer
  10899. cardtypename:
  10900. description: 证件类型名称
  10901. type: string
  10902. cityid:
  10903. description: 市
  10904. type: integer
  10905. cityname:
  10906. description: 城市名称
  10907. type: string
  10908. contactname:
  10909. description: 联系人
  10910. type: string
  10911. countryid:
  10912. description: 国家
  10913. type: integer
  10914. countryname:
  10915. description: 国家名称
  10916. type: string
  10917. createtime:
  10918. description: 创建时间
  10919. type: string
  10920. customername:
  10921. description: 客户名称
  10922. type: string
  10923. districtid:
  10924. description: 区域
  10925. type: integer
  10926. districtname:
  10927. description: 地区名称
  10928. type: string
  10929. email:
  10930. description: 邮件
  10931. type: string
  10932. legalpersonname:
  10933. description: 法人姓名(企业)
  10934. type: string
  10935. logincode:
  10936. description: 登录账号(代码)
  10937. type: string
  10938. memberuserid:
  10939. description: 所属机构ID(所属会员)
  10940. type: integer
  10941. memberusername:
  10942. description: 所属会员名称
  10943. type: string
  10944. mobile:
  10945. description: 手机号码
  10946. type: string
  10947. modifytime:
  10948. description: 修改时间
  10949. type: string
  10950. nickname:
  10951. description: 昵称
  10952. type: string
  10953. parentuserid:
  10954. description: 上级机构(所属机构)
  10955. type: integer
  10956. parentusername:
  10957. description: 所属机构名称
  10958. type: string
  10959. provinceid:
  10960. description: 省
  10961. type: integer
  10962. provincename:
  10963. description: 省名称
  10964. type: string
  10965. proxystatementurl:
  10966. description: 授权委托书
  10967. type: string
  10968. remark:
  10969. description: 备注
  10970. type: string
  10971. status:
  10972. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  10973. type: integer
  10974. statusdesc:
  10975. description: 账户状态中文描述
  10976. type: string
  10977. taxpayernum:
  10978. description: 纳税人识别号
  10979. type: string
  10980. telphone:
  10981. description: 联系电话
  10982. type: string
  10983. userid:
  10984. description: 用户ID
  10985. type: integer
  10986. userinfotype:
  10987. description: 客户类型 1-个人 2-企业
  10988. type: integer
  10989. username:
  10990. description: 用户名称
  10991. type: string
  10992. type: object
  10993. models.QhjCustomerSignLog:
  10994. properties:
  10995. agreementcontent:
  10996. description: 协议内容
  10997. type: string
  10998. agreementid:
  10999. description: 协议ID
  11000. type: integer
  11001. agreementname:
  11002. description: 协议名称
  11003. type: string
  11004. agreementno:
  11005. description: 协议编号
  11006. type: string
  11007. agreementtype:
  11008. description: 协议类型 - 1:注册 2:登录 3:交易
  11009. type: integer
  11010. agreementversion:
  11011. description: 协议版本号
  11012. type: integer
  11013. createtime:
  11014. description: 创建时间
  11015. type: string
  11016. goodscode:
  11017. description: 商品代码
  11018. type: string
  11019. goodsid:
  11020. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11021. type: integer
  11022. goodsname:
  11023. description: 商品名称
  11024. type: string
  11025. logid:
  11026. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  11027. type: integer
  11028. nodetype:
  11029. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  11030. type: integer
  11031. signadressurl:
  11032. description: 签约文件地址
  11033. type: string
  11034. signtimestamp:
  11035. description: 签约状态时间戳
  11036. type: string
  11037. userid:
  11038. description: 客户ID
  11039. type: integer
  11040. username:
  11041. description: 客户名称
  11042. type: string
  11043. type: object
  11044. models.QhjCustomerSignStatus:
  11045. properties:
  11046. createtime:
  11047. description: 创建时间
  11048. type: string
  11049. goodscode:
  11050. description: 商品代码
  11051. type: string
  11052. goodsid:
  11053. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11054. type: integer
  11055. goodsname:
  11056. description: 商品名称
  11057. type: string
  11058. nodetype:
  11059. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  11060. type: integer
  11061. signtimestamp:
  11062. description: 签约状态时间戳
  11063. type: string
  11064. tradedate:
  11065. description: 创建交易日(yyyyMMdd)
  11066. type: string
  11067. updatetime:
  11068. description: 更新时间
  11069. type: string
  11070. userid:
  11071. description: 客户ID
  11072. type: integer
  11073. username:
  11074. description: 客户名称
  11075. type: string
  11076. type: object
  11077. models.QhjMgrAccountOutInApply:
  11078. properties:
  11079. accountcode:
  11080. description: 资金账号
  11081. type: string
  11082. accountname:
  11083. description: 用户名称(名称)
  11084. type: string
  11085. accountpwd:
  11086. description: 资金密码
  11087. type: string
  11088. accountticket:
  11089. description: 最新账户服务流水号
  11090. type: string
  11091. amount:
  11092. description: 金额
  11093. type: number
  11094. applyremark:
  11095. description: 申请备注
  11096. type: string
  11097. applystatus:
  11098. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败; 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22: 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  11099. type: integer
  11100. auditid:
  11101. description: 审核人
  11102. type: integer
  11103. audittime:
  11104. description: 审核时间
  11105. type: string
  11106. bank_apply_ticket:
  11107. description: 银行申请流水
  11108. type: string
  11109. bankaccountname:
  11110. description: 银行账户名
  11111. type: string
  11112. bankaccountno:
  11113. description: 银行卡号
  11114. type: string
  11115. bankid:
  11116. description: 银行编号
  11117. type: string
  11118. bankname:
  11119. description: 银行名称
  11120. type: string
  11121. bankticket:
  11122. description: 银行流水
  11123. type: string
  11124. branchbankid:
  11125. description: 银行支行号
  11126. type: string
  11127. branchbankname:
  11128. description: 银行支行名称
  11129. type: string
  11130. capamountout:
  11131. description: 出金(劣后本金) - 外部子账户
  11132. type: number
  11133. certificatephotourl:
  11134. description: 凭证地址
  11135. type: string
  11136. charge:
  11137. description: 手续费
  11138. type: number
  11139. checkerrorflag:
  11140. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  11141. type: integer
  11142. currency:
  11143. description: 币种
  11144. type: string
  11145. cusbankid:
  11146. description: 托管银行编号
  11147. type: string
  11148. exchticket:
  11149. description: 银行服务流水号
  11150. type: string
  11151. executetype:
  11152. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金'
  11153. type: integer
  11154. extendinfo:
  11155. description: 扩展信息
  11156. type: string
  11157. extoperateid:
  11158. description: 交易服务流水号
  11159. type: integer
  11160. infamount:
  11161. description: 劣后金额(自有)
  11162. type: number
  11163. logincode:
  11164. description: 登录账号(账号)
  11165. type: string
  11166. netaddr:
  11167. description: 调转网址
  11168. type: string
  11169. priamount:
  11170. description: 优先金额(授信)
  11171. type: number
  11172. reauditid:
  11173. description: 复审人
  11174. type: integer
  11175. reauditremark:
  11176. description: 复审备注
  11177. type: string
  11178. reaudittime:
  11179. description: 复审时间
  11180. type: string
  11181. relatedorderid:
  11182. description: 三方关联ID
  11183. type: string
  11184. remark:
  11185. description: 备注
  11186. type: string
  11187. remark2:
  11188. description: 备注(失败原因)
  11189. type: string
  11190. soucreamount:
  11191. description: 原始出入金金额
  11192. type: number
  11193. soucrecurrencyid:
  11194. description: 原始出入金币种
  11195. type: integer
  11196. tradedate:
  11197. description: 交易日(yyyyMMdd)
  11198. type: string
  11199. updatetime:
  11200. description: 更新时间(申请时间)
  11201. type: string
  11202. userid:
  11203. description: 用户id
  11204. type: integer
  11205. userinfotype:
  11206. description: 账户类型 1-个人 2-企业
  11207. type: integer
  11208. type: object
  11209. models.QhjMgrBrokerApply:
  11210. properties:
  11211. applicantid:
  11212. description: 申请人
  11213. type: integer
  11214. applysrc:
  11215. description: 申请来源 - 1:管理端 2:终端
  11216. type: integer
  11217. applystatus:
  11218. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  11219. type: integer
  11220. applytime:
  11221. description: 申请时间
  11222. type: string
  11223. auditorid:
  11224. description: 审核人
  11225. type: integer
  11226. auditremark:
  11227. description: 审核备注
  11228. type: string
  11229. auditsrc:
  11230. description: 审核来源 - 1:管理端 2:终端
  11231. type: integer
  11232. audittime:
  11233. description: 审核时间
  11234. type: string
  11235. audittradedate:
  11236. description: 审核交易日(yyyyMMdd)
  11237. type: string
  11238. brokerapplyid:
  11239. description: 申请ID(SEQ_BROKERAPPLY)
  11240. type: integer
  11241. cardbackphotourl:
  11242. description: 证件背面图片地址
  11243. type: string
  11244. cardfrontphotourl:
  11245. description: 证件正面图片地址
  11246. type: string
  11247. cardnum:
  11248. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  11249. type: string
  11250. customername:
  11251. description: 姓名
  11252. type: string
  11253. filterstatus:
  11254. description: 筛选条件
  11255. type: string
  11256. logincode:
  11257. description: 登录代码
  11258. type: string
  11259. mobile:
  11260. description: 手机号码
  11261. type: string
  11262. parentuserid:
  11263. description: 所属机构id
  11264. type: integer
  11265. parentusername:
  11266. description: 所属机构名称
  11267. type: string
  11268. refereeuserid:
  11269. description: 推荐人id(经纪人)
  11270. type: integer
  11271. refernum:
  11272. description: 推荐码
  11273. type: string
  11274. remark:
  11275. description: 备注
  11276. type: string
  11277. subarealevelpath:
  11278. description: 层级路径
  11279. type: string
  11280. tradedate:
  11281. description: 交易日(yyyyMMdd)
  11282. type: string
  11283. userid:
  11284. description: 申请人用户ID
  11285. type: integer
  11286. userinfotype:
  11287. description: 用户类型 1-个人 2-企业
  11288. type: integer
  11289. username:
  11290. description: 用户名称
  11291. type: string
  11292. type: object
  11293. models.QhjMgrBrokerRewardReport:
  11294. properties:
  11295. createtime:
  11296. description: 创建时间(注册时间)
  11297. type: string
  11298. cycletime:
  11299. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  11300. type: string
  11301. cycletype:
  11302. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  11303. type: integer
  11304. directtotalnum:
  11305. description: 直推总人数【期末】
  11306. type: integer
  11307. indirecttotalnum:
  11308. description: 间推总人数【期末】
  11309. type: integer
  11310. mobile:
  11311. description: 电话号码
  11312. type: string
  11313. refereeuserid:
  11314. description: 推荐人id(经纪人id)
  11315. type: integer
  11316. refereeusername:
  11317. description: 推荐人名称(经纪人) 上级经纪人名称
  11318. type: string
  11319. refernum:
  11320. description: 推荐码
  11321. type: string
  11322. subarealevelpath:
  11323. description: 用户层级路径
  11324. type: string
  11325. todayrewardamount:
  11326. description: 奖励总金额【汇总】
  11327. type: number
  11328. updatetime:
  11329. description: 更新时间
  11330. type: string
  11331. userid:
  11332. description: 经纪人用户ID
  11333. type: integer
  11334. userinfotype:
  11335. description: 用户类型 1-个人 2-企业
  11336. type: integer
  11337. username:
  11338. description: 用户名称
  11339. type: string
  11340. type: object
  11341. models.QhjMgrContract:
  11342. properties:
  11343. contractconfirmtime:
  11344. description: 合同确认时间(时间)
  11345. type: string
  11346. currisklevel:
  11347. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  11348. type: integer
  11349. decimalplace:
  11350. description: 商品报价小数位
  11351. type: integer
  11352. enumdicname:
  11353. description: 单位名称
  11354. type: string
  11355. goodscode:
  11356. description: 商品代码
  11357. type: string
  11358. goodsid:
  11359. description: 商品ID [5:融资单]
  11360. type: integer
  11361. goodsname:
  11362. description: 商品名称
  11363. type: string
  11364. goodunitid:
  11365. description: 商品单位id
  11366. type: integer
  11367. initmargin:
  11368. description: 初始保证金(首付款)
  11369. type: number
  11370. lenderamount:
  11371. description: 贷款金额(总额|订单总额)
  11372. type: number
  11373. logincode:
  11374. description: 账号(登录代码)
  11375. type: string
  11376. marginratio:
  11377. description: 保证金比率(首付比例)
  11378. type: number
  11379. mobile:
  11380. description: 电话号码(用户资料里的电话)
  11381. type: string
  11382. payamount:
  11383. description: 已付(已付货款)
  11384. type: number
  11385. reckonrecovermargin:
  11386. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  11387. type: number
  11388. recoveredmargin:
  11389. description: 已追缴保证金
  11390. type: number
  11391. remainamount:
  11392. description: 合同剩余金额(融资额)
  11393. type: number
  11394. scfcontractid:
  11395. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  11396. type: string
  11397. scfcontractstatus:
  11398. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交
  11399. type: integer
  11400. scfcontracttype:
  11401. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  11402. type: integer
  11403. totalinterest:
  11404. description: 已计总利息(利息)
  11405. type: number
  11406. tradedate:
  11407. description: 交易日
  11408. type: string
  11409. tradeprice:
  11410. description: 成交价格(成本价格)
  11411. type: number
  11412. userid:
  11413. description: 用户ID
  11414. type: integer
  11415. userinfotype:
  11416. description: 用户类型 1-个人 2-企业
  11417. type: integer
  11418. username:
  11419. description: 用户名称
  11420. type: string
  11421. wrqty:
  11422. description: 仓单数量(数量)
  11423. type: number
  11424. type: object
  11425. models.QhjMgrCustomer:
  11426. properties:
  11427. address:
  11428. description: 通讯地址
  11429. type: string
  11430. attachment1:
  11431. description: 附件1
  11432. type: string
  11433. audittime:
  11434. description: 审核时间
  11435. type: string
  11436. birthday:
  11437. description: 生日
  11438. type: string
  11439. brokerid:
  11440. description: 所属客户经理id
  11441. type: integer
  11442. brokername:
  11443. description: 所属客户经理名称
  11444. type: string
  11445. cardbackphotourl:
  11446. description: 证件反面图片地址
  11447. type: string
  11448. cardfrontphotourl:
  11449. description: 证件正面图片地址
  11450. type: string
  11451. cardnum:
  11452. description: 证件号码
  11453. type: string
  11454. cardtype:
  11455. description: 证件类型
  11456. type: integer
  11457. cardtypename:
  11458. description: 证件类型名称
  11459. type: string
  11460. cityid:
  11461. description: 市
  11462. type: integer
  11463. cityname:
  11464. description: 城市名称
  11465. type: string
  11466. contactname:
  11467. description: 联系人
  11468. type: string
  11469. countryid:
  11470. description: 国家
  11471. type: integer
  11472. countryname:
  11473. description: 国家名称
  11474. type: string
  11475. createtime:
  11476. description: 创建时间
  11477. type: string
  11478. customername:
  11479. description: 客户名称
  11480. type: string
  11481. districtid:
  11482. description: 区域
  11483. type: integer
  11484. districtname:
  11485. description: 地区名称
  11486. type: string
  11487. email:
  11488. description: 邮件
  11489. type: string
  11490. legalpersonname:
  11491. description: 法人姓名(企业)
  11492. type: string
  11493. logincode:
  11494. description: 登录账号(代码)
  11495. type: string
  11496. memberuserid:
  11497. description: 所属机构ID(所属会员)
  11498. type: integer
  11499. memberusername:
  11500. description: 所属会员名称
  11501. type: string
  11502. mobile:
  11503. description: 手机号码
  11504. type: string
  11505. modifytime:
  11506. description: 修改时间
  11507. type: string
  11508. nickname:
  11509. description: 昵称
  11510. type: string
  11511. parentuserid:
  11512. description: 上级机构(所属机构)
  11513. type: integer
  11514. parentusername:
  11515. description: 所属机构名称
  11516. type: string
  11517. provinceid:
  11518. description: 省
  11519. type: integer
  11520. provincename:
  11521. description: 省名称
  11522. type: string
  11523. proxystatementurl:
  11524. description: 授权委托书
  11525. type: string
  11526. querytype:
  11527. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  11528. type: integer
  11529. remark:
  11530. description: 备注
  11531. type: string
  11532. sex:
  11533. description: 性别 0-女 1-男
  11534. type: integer
  11535. status:
  11536. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  11537. type: integer
  11538. statusdesc:
  11539. description: 账户状态中文描述
  11540. type: string
  11541. taxpayernum:
  11542. description: 纳税人识别号
  11543. type: string
  11544. telphone:
  11545. description: 联系电话
  11546. type: string
  11547. userid:
  11548. description: 用户ID
  11549. type: integer
  11550. userinfotype:
  11551. description: 客户类型 1-个人 2-企业
  11552. type: integer
  11553. username:
  11554. description: 用户名称
  11555. type: string
  11556. type: object
  11557. models.QhjMgrPickGoods:
  11558. properties:
  11559. enumdicname:
  11560. description: 单位名称(提货商品)
  11561. type: string
  11562. goodsid:
  11563. description: 商品id
  11564. type: integer
  11565. imageaddress:
  11566. description: 图片
  11567. type: string
  11568. modifierid:
  11569. description: 修改人
  11570. type: integer
  11571. modifiername:
  11572. description: 修改人名称
  11573. type: string
  11574. modifysrc:
  11575. description: 修改来源 - 1:管理端 2:终端
  11576. type: integer
  11577. pickupgoodsagreeunit:
  11578. description: 合约乘数
  11579. type: number
  11580. pickupgoodsdesc:
  11581. description: 描述
  11582. type: string
  11583. pickupgoodsid:
  11584. description: 提货商品ID
  11585. type: string
  11586. pickupgoodsname:
  11587. description: 提货商品名称
  11588. type: string
  11589. pickupgoodsstatus:
  11590. description: 状态 - 1:正常 2:停用 3:注销
  11591. type: integer
  11592. pickupgoodsunitid:
  11593. description: 单位ID
  11594. type: integer
  11595. pickupratio:
  11596. description: 提货系数
  11597. type: number
  11598. preparedays:
  11599. description: 备货期(天)
  11600. type: integer
  11601. remark:
  11602. description: 备注
  11603. type: string
  11604. updatetime:
  11605. description: 更新时间
  11606. type: string
  11607. type: object
  11608. models.QhjMgrPositionRsp:
  11609. properties:
  11610. accountid:
  11611. description: 账号Id
  11612. type: integer
  11613. accountname:
  11614. description: 用户名称
  11615. type: string
  11616. agreeunit:
  11617. description: 合约乘数
  11618. type: number
  11619. averageprice:
  11620. description: 均价
  11621. type: number
  11622. avialqty:
  11623. description: 可用数量
  11624. type: number
  11625. decimalplace:
  11626. description: 报价小数位
  11627. type: integer
  11628. enumdicname:
  11629. description: 单位名称(商品)
  11630. type: string
  11631. frozenqty:
  11632. description: 冻结数量
  11633. type: number
  11634. goodscode:
  11635. description: 商品代码(内部)
  11636. type: string
  11637. goodsid:
  11638. description: 商品Id
  11639. type: integer
  11640. goodsname:
  11641. description: 商品名称
  11642. type: string
  11643. goodunitid:
  11644. description: 报价单位ID
  11645. type: integer
  11646. holderamount:
  11647. description: 金额
  11648. type: number
  11649. holderqty:
  11650. description: 持有数量
  11651. type: number
  11652. holdertype:
  11653. description: 持仓类别 - 1:单边持仓 2:双边持仓
  11654. type: integer
  11655. logincode:
  11656. description: 登录代码(账户)
  11657. type: string
  11658. marketid:
  11659. description: 市场id
  11660. type: integer
  11661. qtydecimalplace:
  11662. description: 成交量小数位
  11663. type: integer
  11664. trademode:
  11665. description: 交易模式
  11666. type: integer
  11667. userid:
  11668. description: 用户id
  11669. type: integer
  11670. userinfotype:
  11671. description: 账户类型 1-个人 2-企业
  11672. type: integer
  11673. type: object
  11674. models.QhjMgrSubArea:
  11675. properties:
  11676. accountname:
  11677. description: 账户名称(机构名称)
  11678. type: string
  11679. memberuserid:
  11680. description: 所属会员ID
  11681. type: integer
  11682. parenttopuser:
  11683. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  11684. type: string
  11685. parentuserid:
  11686. description: 所属机构ID
  11687. type: integer
  11688. rootuserid:
  11689. description: 根用户ID
  11690. type: string
  11691. subaccountlevel:
  11692. description: 子账户层数
  11693. type: integer
  11694. subarealevelpath:
  11695. description: 子机构层级路径(逗号分隔,首尾加逗号)
  11696. type: string
  11697. userid:
  11698. description: 用户ID
  11699. type: integer
  11700. usertype:
  11701. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  11702. type: integer
  11703. type: object
  11704. models.QhjMgrTradeDetailRsp:
  11705. properties:
  11706. accountid:
  11707. description: 资金账号
  11708. type: integer
  11709. accountname:
  11710. description: 用户名称
  11711. type: string
  11712. agreeunit:
  11713. description: 合约乘数
  11714. type: number
  11715. buyorsell:
  11716. description: 成交类型(方向) 0:买 1:卖
  11717. type: integer
  11718. decimalplace:
  11719. description: 报价小数位
  11720. type: integer
  11721. enumdicname:
  11722. description: 单位名称(商品)
  11723. type: string
  11724. goodscode:
  11725. description: 商品代码(内部)
  11726. type: string
  11727. goodsid:
  11728. description: 商品id
  11729. type: integer
  11730. goodsname:
  11731. description: 商品名称
  11732. type: string
  11733. goodunitid:
  11734. description: 报价单位ID
  11735. type: integer
  11736. logincode:
  11737. description: 登录代码(账户)
  11738. type: string
  11739. marketid:
  11740. description: 市场id
  11741. type: integer
  11742. orderid:
  11743. description: 关联委托单号
  11744. type: string
  11745. qtydecimalplace:
  11746. description: 成交量小数位
  11747. type: integer
  11748. tradeamount:
  11749. description: 金额
  11750. type: number
  11751. tradedate:
  11752. description: 交易日
  11753. type: string
  11754. tradeid:
  11755. description: 成交单号
  11756. type: string
  11757. trademode:
  11758. description: 交易模式
  11759. type: integer
  11760. tradeprice:
  11761. description: 价格
  11762. type: number
  11763. tradeqty:
  11764. description: 数量
  11765. type: number
  11766. tradetime:
  11767. description: 成交时间
  11768. type: string
  11769. userid:
  11770. description: 用户id
  11771. type: integer
  11772. userinfotype:
  11773. description: 账户类型 1-个人 2-企业
  11774. type: integer
  11775. type: object
  11776. models.QhjMgrTradeOrderDetailRsp:
  11777. properties:
  11778. accountid:
  11779. description: 资金账号
  11780. type: integer
  11781. accountname:
  11782. description: 用户名称
  11783. type: string
  11784. agreeunit:
  11785. description: 合约乘数
  11786. type: number
  11787. amount:
  11788. description: 金额
  11789. type: number
  11790. decimalplace:
  11791. description: 报价小数位
  11792. type: integer
  11793. enumdicname:
  11794. description: 单位名称(商品)
  11795. type: string
  11796. goodscode:
  11797. description: 商品代码(内部)
  11798. type: string
  11799. goodsid:
  11800. description: 商品id
  11801. type: integer
  11802. goodsname:
  11803. description: 商品名称
  11804. type: string
  11805. goodunitid:
  11806. description: 报价单位ID
  11807. type: integer
  11808. logincode:
  11809. description: 登录代码(账户)
  11810. type: string
  11811. marketid:
  11812. description: 市场id
  11813. type: integer
  11814. orderid:
  11815. description: 关联委托单号
  11816. type: string
  11817. orderprice:
  11818. description: 价格
  11819. type: number
  11820. orderqty:
  11821. description: 数量
  11822. type: number
  11823. orderstatus:
  11824. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  11825. type: integer
  11826. ordertime:
  11827. description: 委托时间
  11828. type: string
  11829. qtydecimalplace:
  11830. description: 成交量小数位
  11831. type: integer
  11832. tradedate:
  11833. description: 交易日
  11834. type: string
  11835. trademode:
  11836. description: 交易模式
  11837. type: integer
  11838. userid:
  11839. description: 用户id
  11840. type: integer
  11841. userinfotype:
  11842. description: 账户类型 1-个人 2-企业
  11843. type: integer
  11844. type: object
  11845. models.QhjMgrTradePayOrder:
  11846. properties:
  11847. accountname:
  11848. description: 用户名称
  11849. type: string
  11850. advanceratio:
  11851. description: 首付比率
  11852. type: number
  11853. agreeunit:
  11854. description: 合约乘数
  11855. type: number
  11856. buyaccountid:
  11857. description: 买方账号ID[报价币种]
  11858. type: integer
  11859. buyorderid:
  11860. description: 买方委托单号(关联单号)
  11861. type: string
  11862. createtime:
  11863. description: 创建时间
  11864. type: string
  11865. decimalplace:
  11866. description: 报价小数位
  11867. type: integer
  11868. enumdicname:
  11869. description: 单位名称(商品)
  11870. type: string
  11871. goodscode:
  11872. description: 商品代码(内部)
  11873. type: string
  11874. goodsid:
  11875. description: 商品ID
  11876. type: integer
  11877. goodsname:
  11878. description: 商品名称
  11879. type: string
  11880. goodunitid:
  11881. description: 报价单位ID
  11882. type: integer
  11883. logincode:
  11884. description: 登录代码(账户)
  11885. type: string
  11886. marketid:
  11887. description: 市场id
  11888. type: integer
  11889. offamount:
  11890. description: 优惠金额
  11891. type: number
  11892. operatetype:
  11893. description: 买委托操作类型 - 1:正常下单 16:融资买入
  11894. type: integer
  11895. payamount:
  11896. description: 支付金额(金额)
  11897. type: number
  11898. payflag:
  11899. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  11900. type: integer
  11901. paylimitedtime:
  11902. description: 支付期限
  11903. type: string
  11904. paytime:
  11905. description: 付款时间
  11906. type: string
  11907. qtydecimalplace:
  11908. description: 成交量小数位
  11909. type: integer
  11910. sellaccountid:
  11911. description: 卖方账号ID[报价币种]
  11912. type: integer
  11913. sellorderid:
  11914. description: 卖方委托单号
  11915. type: string
  11916. tradeamount:
  11917. description: 成交金额(优惠后金额)
  11918. type: number
  11919. tradecharge:
  11920. description: 成交手续费(买方)
  11921. type: number
  11922. tradedate:
  11923. description: 交易日(yyyyMMdd)
  11924. type: string
  11925. tradeid:
  11926. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11927. type: string
  11928. trademode:
  11929. description: 交易模式
  11930. type: integer
  11931. tradeprice:
  11932. description: 成交价格(价格)
  11933. type: number
  11934. tradeqty:
  11935. description: 成交数量(数量)
  11936. type: number
  11937. tradetime:
  11938. description: 成交时间
  11939. type: string
  11940. userid:
  11941. description: 用户id
  11942. type: integer
  11943. userinfotype:
  11944. description: 账户类型 1-个人 2-企业
  11945. type: integer
  11946. type: object
  11947. models.QhjMyTeamEx:
  11948. properties:
  11949. accountname:
  11950. description: 用户名称
  11951. type: string
  11952. accountstatus:
  11953. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  11954. type: integer
  11955. createtime:
  11956. description: 创建时间
  11957. type: string
  11958. mobile:
  11959. description: 手机号码
  11960. type: string
  11961. refereeuserid:
  11962. description: 推荐人id
  11963. type: integer
  11964. refernum:
  11965. description: 推荐码
  11966. type: string
  11967. subList:
  11968. items:
  11969. $ref: '#/definitions/models.QhjMyTeamEx'
  11970. type: array
  11971. userid:
  11972. description: 用户id
  11973. type: integer
  11974. userinfotype:
  11975. description: 用户类型 1-个人 2-企业
  11976. type: integer
  11977. type: object
  11978. models.QhjNodeAgreementConfig:
  11979. properties:
  11980. agreementcontent:
  11981. description: 协议内容
  11982. type: string
  11983. agreementid:
  11984. description: 协议ID
  11985. type: integer
  11986. agreementname:
  11987. description: 协议名称
  11988. type: string
  11989. agreementno:
  11990. description: 协议编号
  11991. type: string
  11992. agreementtype:
  11993. description: 协议类型 - 1:注册 2:登录 3:交易
  11994. type: integer
  11995. agreementversion:
  11996. description: 协议版本号
  11997. type: integer
  11998. configid:
  11999. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  12000. type: integer
  12001. createtime:
  12002. description: 创建时间
  12003. type: string
  12004. goodsid:
  12005. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12006. type: integer
  12007. nodetype:
  12008. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12009. type: integer
  12010. type: object
  12011. models.QhjParentAreaList:
  12012. properties:
  12013. accountname:
  12014. description: 账户名称(机构名称)
  12015. type: string
  12016. userid:
  12017. description: 用户ID
  12018. type: integer
  12019. usertype:
  12020. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  12021. type: integer
  12022. type: object
  12023. models.QhjPayOrder:
  12024. properties:
  12025. advanceratio:
  12026. description: 首付比率
  12027. type: number
  12028. buyaccountid:
  12029. description: 买方账号ID[报价币种]
  12030. type: integer
  12031. buyorderid:
  12032. description: 买方委托单号
  12033. type: string
  12034. createtime:
  12035. description: 创建时间
  12036. type: string
  12037. decimalplace:
  12038. description: 商品报价小数位
  12039. type: integer
  12040. enumdicname:
  12041. description: 单位名称
  12042. type: string
  12043. goodscode:
  12044. description: 商品代码
  12045. type: string
  12046. goodsid:
  12047. description: 商品ID
  12048. type: integer
  12049. goodsname:
  12050. description: 商品名称
  12051. type: string
  12052. goodunitid:
  12053. description: 商品单位id
  12054. type: integer
  12055. marketid:
  12056. description: 市场ID
  12057. type: integer
  12058. offamount:
  12059. description: 优惠金额
  12060. type: number
  12061. operatetype:
  12062. description: 买委托操作类型 - 1:正常下单 16:融资买入
  12063. type: integer
  12064. payamount:
  12065. description: 支付金额
  12066. type: number
  12067. payflag:
  12068. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  12069. type: integer
  12070. paylimitedtime:
  12071. description: 支付期限
  12072. type: string
  12073. paytime:
  12074. description: 付款时间
  12075. type: string
  12076. qtydecimalplace:
  12077. description: 成交量小数位
  12078. type: integer
  12079. sellaccountid:
  12080. description: 卖方账号ID[报价币种]
  12081. type: integer
  12082. sellorderid:
  12083. description: 卖方委托单号
  12084. type: string
  12085. tradeamount:
  12086. description: 成交金额(优惠后金额)
  12087. type: number
  12088. tradecharge:
  12089. description: 成交手续费(买方)
  12090. type: number
  12091. tradedate:
  12092. description: 交易日(yyyyMMdd)
  12093. type: string
  12094. tradeid:
  12095. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12096. type: string
  12097. tradeprice:
  12098. description: 成交价格
  12099. type: number
  12100. tradeqty:
  12101. description: 成交数量
  12102. type: number
  12103. type: object
  12104. models.QhjPickArea:
  12105. properties:
  12106. address:
  12107. description: 详细地址
  12108. type: string
  12109. cityid:
  12110. description: 市
  12111. type: integer
  12112. cityname:
  12113. description: 城市名称
  12114. type: string
  12115. countryid:
  12116. description: 国家
  12117. type: integer
  12118. countryname:
  12119. description: 国家名称
  12120. type: string
  12121. districtid:
  12122. description: 地区
  12123. type: integer
  12124. districtname:
  12125. description: 地区名称
  12126. type: string
  12127. fromuserid:
  12128. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  12129. type: integer
  12130. fromusername:
  12131. description: 所属机构名称
  12132. type: string
  12133. provinceid:
  12134. description: 省
  12135. type: integer
  12136. provincename:
  12137. description: 省名称
  12138. type: string
  12139. suborgtype:
  12140. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  12141. type: integer
  12142. userid:
  12143. description: 机构用户ID 其他做市关系,都设置为 1
  12144. type: integer
  12145. username:
  12146. description: 机构用户名称(门店门称)
  12147. type: string
  12148. type: object
  12149. models.QhjPickGoods:
  12150. properties:
  12151. enumdicname:
  12152. description: 单位名称(提货商品)
  12153. type: string
  12154. goodsid:
  12155. description: 商品id
  12156. type: integer
  12157. imageaddress:
  12158. description: 图片
  12159. type: string
  12160. modifierid:
  12161. description: 修改人
  12162. type: integer
  12163. modifiername:
  12164. description: 修改人名称
  12165. type: string
  12166. modifysrc:
  12167. description: 修改来源 - 1:管理端 2:终端
  12168. type: integer
  12169. pickupgoodsagreeunit:
  12170. description: 合约乘数
  12171. type: number
  12172. pickupgoodsdesc:
  12173. description: 描述
  12174. type: string
  12175. pickupgoodsid:
  12176. description: 提货商品ID
  12177. type: string
  12178. pickupgoodsname:
  12179. description: 提货商品名称
  12180. type: string
  12181. pickupgoodsstatus:
  12182. description: 状态 - 1:正常 2:停用 3:注销
  12183. type: integer
  12184. pickupgoodsunitid:
  12185. description: 单位ID
  12186. type: integer
  12187. pickupratio:
  12188. description: 提货系数
  12189. type: number
  12190. preparedays:
  12191. description: 备货期(天)
  12192. type: integer
  12193. remark:
  12194. description: 备注
  12195. type: string
  12196. updatetime:
  12197. description: 更新时间
  12198. type: string
  12199. type: object
  12200. models.QhjRSTriggerLog:
  12201. properties:
  12202. accountid:
  12203. description: 用户资金账户
  12204. type: integer
  12205. accountname:
  12206. description: 账号名称(ACCOUNTID对应的名称)
  12207. type: string
  12208. currencyid:
  12209. description: 币种id
  12210. type: integer
  12211. currencyname:
  12212. description: 币种名称
  12213. type: string
  12214. decimalplace:
  12215. description: 商品报价小数位
  12216. type: integer
  12217. enumdicname:
  12218. description: 单位名称
  12219. type: string
  12220. goodscode:
  12221. description: 定投商品代码
  12222. type: string
  12223. goodsid:
  12224. description: 定投商品ID
  12225. type: integer
  12226. goodsname:
  12227. description: 定投商品名称
  12228. type: string
  12229. goodunitid:
  12230. description: 定投商品单位id
  12231. type: integer
  12232. logid:
  12233. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  12234. type: string
  12235. logincode:
  12236. description: 账号(登录代码)
  12237. type: string
  12238. qtydecimalplace:
  12239. description: 成交量小数位
  12240. type: integer
  12241. regularlycycle:
  12242. description: 定投频率 - 1:每周 2:每月
  12243. type: integer
  12244. regularlycyclevalue:
  12245. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  12246. type: string
  12247. regularlymode:
  12248. description: 定投方式 - 1:按数量 2:按金额
  12249. type: integer
  12250. regularlymodevalue:
  12251. description: 定投方式值 - 数量或金额
  12252. type: number
  12253. regularlystrategyid:
  12254. description: 定投策略ID
  12255. type: integer
  12256. retcode:
  12257. description: 错误码
  12258. type: string
  12259. tradeid:
  12260. description: 成交单ID
  12261. type: string
  12262. triggeramount:
  12263. description: 触发金额
  12264. type: number
  12265. triggerqty:
  12266. description: 触发数量
  12267. type: number
  12268. triggerstatus:
  12269. description: 触发状态 - 1:成功 2:失败
  12270. type: integer
  12271. triggertime:
  12272. description: 触发时间
  12273. type: string
  12274. triggertradedate:
  12275. description: 触发交易日
  12276. type: string
  12277. userid:
  12278. description: 所属用户ID
  12279. type: integer
  12280. userinfotype:
  12281. description: 用户类型 1-个人 2-企业
  12282. type: integer
  12283. username:
  12284. description: 用户名称(userid对应的名称)
  12285. type: string
  12286. type: object
  12287. models.QhjRStrategy:
  12288. properties:
  12289. accountid:
  12290. description: 用户资金账户
  12291. type: integer
  12292. accountname:
  12293. description: 账号名称(ACCOUNTID对应的名称)
  12294. type: string
  12295. currencyid:
  12296. description: 币种id
  12297. type: integer
  12298. currencyname:
  12299. description: 币种名称
  12300. type: string
  12301. decimalplace:
  12302. description: 商品报价小数位
  12303. type: integer
  12304. enumdicname:
  12305. description: 单位名称
  12306. type: string
  12307. goodscode:
  12308. description: 定投商品代码
  12309. type: string
  12310. goodsid:
  12311. description: 定投商品ID
  12312. type: integer
  12313. goodsname:
  12314. description: 定投商品名称
  12315. type: string
  12316. goodunitid:
  12317. description: 定投商品单位id
  12318. type: integer
  12319. lasteffecttradedate:
  12320. description: 最新生效交易日
  12321. type: string
  12322. laststoptradedate:
  12323. description: 最新暂停交易日
  12324. type: string
  12325. lasttriggertradedate:
  12326. description: 最新触发交易日
  12327. type: string
  12328. logincode:
  12329. description: 账号(登录代码)
  12330. type: string
  12331. nexttriggeramount:
  12332. description: 下次触发金额
  12333. type: number
  12334. nexttriggerdate:
  12335. description: 下次触发日期
  12336. type: string
  12337. nexttriggerqty:
  12338. description: 下次触发数量 [按小数位放大值]
  12339. type: number
  12340. qtydecimalplace:
  12341. description: 成交量小数位
  12342. type: integer
  12343. regularlycycle:
  12344. description: 定投频率 - 1:每周 2:每月
  12345. type: integer
  12346. regularlycyclevalue:
  12347. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  12348. type: string
  12349. regularlymode:
  12350. description: 定投方式 - 1:按数量 2:按金额
  12351. type: integer
  12352. regularlymodevalue:
  12353. description: 定投方式值 - 数量或金额
  12354. type: number
  12355. regularlystrategyid:
  12356. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  12357. type: integer
  12358. regularlystrategystatus:
  12359. description: 策略状态 - 1:正常 2:暂停 3:终止
  12360. type: integer
  12361. remark:
  12362. description: 备注
  12363. type: string
  12364. triggersuccesstimes:
  12365. description: 累计定投成功次数
  12366. type: string
  12367. triggertotalamount:
  12368. description: 累计定投金额(成功)
  12369. type: number
  12370. triggertotalqty:
  12371. description: 累计定投数量(成功) [按小数位放大值]
  12372. type: number
  12373. triggertotaltimes:
  12374. description: 累计定投总次数
  12375. type: string
  12376. updatesrc:
  12377. description: 更新来源 - 1:管理端 2:终端
  12378. type: integer
  12379. updatetime:
  12380. description: 更新时间
  12381. type: string
  12382. updatorid:
  12383. description: 更新人
  12384. type: string
  12385. userid:
  12386. description: 所属用户ID
  12387. type: integer
  12388. userinfotype:
  12389. description: 用户类型 1-个人 2-企业
  12390. type: integer
  12391. username:
  12392. description: 用户名称(userid对应的名称)
  12393. type: string
  12394. type: object
  12395. models.QhjReckonPriceLog:
  12396. properties:
  12397. decimalplace:
  12398. description: 商品报价小数位
  12399. type: integer
  12400. goodscode:
  12401. description: 商品代码
  12402. type: string
  12403. goodsid:
  12404. description: 商品ID
  12405. type: integer
  12406. goodsname:
  12407. description: 商品名称
  12408. type: string
  12409. lastreckonprice:
  12410. description: 上日结算价
  12411. type: number
  12412. nextdnlimitprice:
  12413. description: 下个交易日跌停价
  12414. type: number
  12415. nexttrade:
  12416. description: 下个交易日
  12417. type: string
  12418. nextuplimitprice:
  12419. description: 下个交易日涨停价
  12420. type: number
  12421. reckonprice:
  12422. description: 今日结算价(定投价)
  12423. type: number
  12424. reckontime:
  12425. description: 结算时间
  12426. type: string
  12427. totalholderqty:
  12428. description: 总持仓数
  12429. type: integer
  12430. totalstock:
  12431. description: 总库存
  12432. type: integer
  12433. tradedate:
  12434. description: 交易日
  12435. type: string
  12436. updowncount:
  12437. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  12438. type: integer
  12439. updownflag:
  12440. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  12441. type: integer
  12442. updownrate:
  12443. description: 今日涨跌幅
  12444. type: number
  12445. updownrate_2d:
  12446. description: 连续两日涨跌幅
  12447. type: number
  12448. updownrate_3d:
  12449. description: 连续三日涨跌幅
  12450. type: number
  12451. type: object
  12452. models.QhjScoreLog:
  12453. properties:
  12454. accountid:
  12455. description: 账户ID
  12456. type: integer
  12457. createtime:
  12458. description: 创建时间(时间)
  12459. type: string
  12460. goodsid:
  12461. description: 商品ID
  12462. type: integer
  12463. hasuploaded:
  12464. description: 是否已同步(千海金) 0:未同步 1;已同步
  12465. type: integer
  12466. logid:
  12467. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12468. type: string
  12469. marketid:
  12470. description: 市场ID
  12471. type: integer
  12472. relatedamount:
  12473. description: 关联金额
  12474. type: number
  12475. relatedorderid:
  12476. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  12477. type: string
  12478. scoreconfigvalue1:
  12479. description: 积分配置1
  12480. type: integer
  12481. scoreconfigvalue2:
  12482. description: 积分配置1
  12483. type: integer
  12484. scoretype:
  12485. description: 积分类型 - 1:提货积分
  12486. type: integer
  12487. scorevalue:
  12488. description: 积分
  12489. type: number
  12490. tradedate:
  12491. description: 交易日(yyyyMMdd)
  12492. type: string
  12493. uploadedtime:
  12494. description: 同步时间
  12495. type: string
  12496. userid:
  12497. description: 用户ID
  12498. type: integer
  12499. type: object
  12500. models.QhjSiteColumnDetail:
  12501. properties:
  12502. author:
  12503. description: 作者
  12504. type: string
  12505. brief:
  12506. description: 简介
  12507. type: string
  12508. columnid:
  12509. description: 所属栏目
  12510. type: integer
  12511. context:
  12512. description: 内容
  12513. type: string
  12514. coverimage:
  12515. description: 封面图片
  12516. type: string
  12517. creaedate:
  12518. description: 创建时间
  12519. type: string
  12520. creatorid:
  12521. description: 创建人
  12522. type: integer
  12523. hits:
  12524. description: 点击数
  12525. type: integer
  12526. id:
  12527. description: ID(SEQ_SITE_COLUMNDETAIL)
  12528. type: integer
  12529. isshow:
  12530. description: 是否展示 - 0:不展示 1:展示
  12531. type: integer
  12532. istop:
  12533. description: 是否置顶 - 0:不置 1:置顶
  12534. type: integer
  12535. modifierid:
  12536. description: 操作人
  12537. type: integer
  12538. publishdate:
  12539. description: 发布日期
  12540. type: string
  12541. status:
  12542. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  12543. type: integer
  12544. title:
  12545. description: 标题
  12546. type: string
  12547. updatedate:
  12548. description: 修改时间
  12549. type: string
  12550. userid:
  12551. description: 用户ID(默认为0, 核心为为机构用户ID)
  12552. type: integer
  12553. username:
  12554. description: 用户名称
  12555. type: string
  12556. type: object
  12557. models.QhjTeamOrder:
  12558. properties:
  12559. accountid:
  12560. description: 账户ID[报价币种]
  12561. type: integer
  12562. accountname:
  12563. description: 账户名称
  12564. type: string
  12565. agreeunit:
  12566. description: 合约乘数
  12567. type: number
  12568. buyorsell:
  12569. description: 方向 - 0:买 1:卖
  12570. type: integer
  12571. decimalplace:
  12572. description: 报价小数位
  12573. type: integer
  12574. enumdicname:
  12575. description: 单位名称
  12576. type: string
  12577. goodscode:
  12578. description: 商品代码(内部)
  12579. type: string
  12580. goodsid:
  12581. description: 商品ID
  12582. type: integer
  12583. goodsname:
  12584. description: 商品名称
  12585. type: string
  12586. goodunitid:
  12587. description: 报价单位ID
  12588. type: integer
  12589. marketid:
  12590. description: 市场ID
  12591. type: integer
  12592. marketname:
  12593. description: 市场名称
  12594. type: string
  12595. qtydecimalplace:
  12596. description: 成交量小数位
  12597. type: integer
  12598. refereeuserid:
  12599. description: 推荐人ID
  12600. type: integer
  12601. tradeamount:
  12602. description: 成交金额[账户币种,用于所有权]
  12603. type: number
  12604. tradedate:
  12605. description: 交易日(yyyyMMdd)
  12606. type: string
  12607. trademode:
  12608. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  12609. type: integer
  12610. tradeprice:
  12611. description: 成交价格
  12612. type: number
  12613. tradeqty:
  12614. description: 成交数量
  12615. type: number
  12616. tradetime:
  12617. description: 成交时间
  12618. type: string
  12619. userid:
  12620. description: 用户ID
  12621. type: integer
  12622. type: object
  12623. models.QhjTradeGoodsPickup:
  12624. properties:
  12625. accountid:
  12626. description: 账户ID
  12627. type: integer
  12628. address:
  12629. description: 提货人详细地址
  12630. type: string
  12631. amount:
  12632. description: 提货金额
  12633. type: number
  12634. artradedate:
  12635. description: 自动收货交易日(yyyyMMdd)
  12636. type: string
  12637. auditer:
  12638. description: 审核人
  12639. type: integer
  12640. auditsrc:
  12641. description: 更新来源 - 1:管理端 2:终端
  12642. type: integer
  12643. audittime:
  12644. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  12645. type: string
  12646. audittradedate:
  12647. description: 审核交易日(yyyyMMdd)
  12648. type: string
  12649. cardnum:
  12650. description: 提货人证件号码
  12651. type: string
  12652. cardtypeid:
  12653. description: 提货人证件类型
  12654. type: integer
  12655. checkremark:
  12656. description: 审核备注
  12657. type: string
  12658. cityid:
  12659. description: 市
  12660. type: integer
  12661. cityname:
  12662. description: 城市名称
  12663. type: string
  12664. confirmtime:
  12665. description: 取货时间 或 收货时间
  12666. type: string
  12667. countryid:
  12668. description: 国家
  12669. type: integer
  12670. countryname:
  12671. description: 国家名称
  12672. type: string
  12673. decimalplace:
  12674. description: 商品报价小数位
  12675. type: integer
  12676. districtid:
  12677. description: 地区
  12678. type: integer
  12679. districtname:
  12680. description: 地区名称
  12681. type: string
  12682. enumdicname:
  12683. description: 单位名称(提货商品)
  12684. type: string
  12685. expresscompany:
  12686. description: 物流公司
  12687. type: string
  12688. expressnum:
  12689. description: 物流单号
  12690. type: string
  12691. goodsagreeunit:
  12692. description: 交易商品乘数
  12693. type: number
  12694. goodscode:
  12695. description: 商品代码
  12696. type: string
  12697. goodsid:
  12698. description: 商品ID
  12699. type: integer
  12700. goodsname:
  12701. description: 商品名称
  12702. type: string
  12703. goodsqty:
  12704. description: 交易商品手数(69模式按成交量小数位放大取整)
  12705. type: number
  12706. handlestatus:
  12707. description: 处理状态
  12708. type: integer
  12709. logincode:
  12710. description: 账号(登录代码, 有可能为空)
  12711. type: string
  12712. marketid:
  12713. description: 市场ID
  12714. type: integer
  12715. phonenum:
  12716. description: 提货人联系方式
  12717. type: string
  12718. pickupgoodsagreeunit:
  12719. description: 提货商品合约乘数
  12720. type: number
  12721. pickupgoodsid:
  12722. description: 提货商品ID
  12723. type: string
  12724. pickupgoodsname:
  12725. description: 提货商品名称
  12726. type: string
  12727. pickupgoodsqty:
  12728. description: 提货商品手数(数量)
  12729. type: number
  12730. pickupgoodsunitid:
  12731. description: 单位ID(提货商品)
  12732. type: integer
  12733. pickupratio:
  12734. description: 提货系数
  12735. type: number
  12736. preparedays:
  12737. description: 备货期(天)-提货单明细表
  12738. type: integer
  12739. provinceid:
  12740. description: 省
  12741. type: integer
  12742. provincename:
  12743. description: 省名称
  12744. type: string
  12745. qty:
  12746. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  12747. type: number
  12748. qtydecimalplace:
  12749. description: 商品数量小数位
  12750. type: integer
  12751. recivername:
  12752. description: 提货人姓名
  12753. type: string
  12754. reqtime:
  12755. description: 提货申请时间
  12756. type: string
  12757. storeuserid:
  12758. description: 门店用户ID (千海金)
  12759. type: integer
  12760. storeusername:
  12761. description: 门店用户名称
  12762. type: string
  12763. takemode:
  12764. description: 提货方式 - 2:自提 3:配送(邮寄)
  12765. type: integer
  12766. takeorderid:
  12767. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  12768. type: string
  12769. takeorderstatus:
  12770. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销
  12771. type: integer
  12772. takeremark:
  12773. description: 提货备注
  12774. type: string
  12775. tradedate:
  12776. description: 交易日(yyyyMMdd)
  12777. type: string
  12778. updatetime:
  12779. description: 更新时间
  12780. type: string
  12781. userid:
  12782. description: 用户ID
  12783. type: integer
  12784. userinfotype:
  12785. description: 客户类型 1-个人 2-企业
  12786. type: integer
  12787. username:
  12788. description: 用户名称
  12789. type: string
  12790. type: object
  12791. models.QhjUserNodeCfgAndStatus:
  12792. properties:
  12793. agreementcontent:
  12794. description: 协议内容
  12795. type: string
  12796. agreementid:
  12797. description: 协议ID
  12798. type: integer
  12799. agreementname:
  12800. description: 协议名称
  12801. type: string
  12802. agreementno:
  12803. description: 协议编号
  12804. type: string
  12805. agreementtype:
  12806. description: 协议类型 - 1:注册 2:登录 3:交易
  12807. type: integer
  12808. agreementversion:
  12809. description: 协议版本号
  12810. type: integer
  12811. configid:
  12812. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  12813. type: integer
  12814. createtime:
  12815. description: 创建时间
  12816. type: string
  12817. goodsid:
  12818. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12819. type: integer
  12820. nodetype:
  12821. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12822. type: integer
  12823. signtimestamp:
  12824. description: 签约状态时间戳(最近一次)
  12825. type: string
  12826. tradedate:
  12827. description: 签约交易日(yyyyMMdd)
  12828. type: string
  12829. userid:
  12830. description: 客户ID
  12831. type: integer
  12832. type: object
  12833. models.Qhjgoodsex:
  12834. properties:
  12835. canfinance:
  12836. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  12837. type: integer
  12838. canregularlybuy:
  12839. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  12840. type: integer
  12841. defaulttradeuserid:
  12842. description: 默认交易用户ID
  12843. type: integer
  12844. deliverygoodsid:
  12845. description: 现货品种ID
  12846. type: integer
  12847. goodsid:
  12848. description: 商品ID(自增ID SEQ_GOODS)
  12849. type: integer
  12850. minamount:
  12851. description: 最小购买金额
  12852. type: number
  12853. regularlybuyminamount:
  12854. description: 定投最小金额
  12855. type: number
  12856. regularlybuyminqty:
  12857. description: 定投最小数量
  12858. type: number
  12859. spotgoodsbrandid:
  12860. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  12861. type: integer
  12862. visibilityforenterprise:
  12863. description: 企业客户是否可见 - 0:不可见 1:可见
  12864. type: integer
  12865. visibilityforpersonal:
  12866. description: 个人客户是否可见 - 0:不可见 1:可见
  12867. type: integer
  12868. wrstandardid:
  12869. description: 现货商品ID
  12870. type: integer
  12871. type: object
  12872. models.QueryErrorInfosRsp:
  12873. properties:
  12874. description:
  12875. description: 异常描述
  12876. type: string
  12877. errorcode:
  12878. description: 异常代码
  12879. type: string
  12880. errorid:
  12881. description: 异常ID
  12882. type: integer
  12883. modulecode:
  12884. description: 所属模块
  12885. type: string
  12886. operatecode:
  12887. description: 所属操作
  12888. type: string
  12889. rownumber:
  12890. description: 行号
  12891. type: string
  12892. required:
  12893. - errorid
  12894. type: object
  12895. models.QueryHedgeOrderDetailRsp:
  12896. properties:
  12897. accountid:
  12898. description: 账户ID
  12899. type: integer
  12900. buyorsell:
  12901. description: 买卖 - 0:买 1:卖
  12902. type: integer
  12903. cancellogincode:
  12904. description: 撤单人
  12905. type: string
  12906. channelbuildtype:
  12907. description: 开平标志 - 0:无 1:建仓 2:平仓
  12908. type: integer
  12909. channelinnerorderstatus:
  12910. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交
  12911. type: integer
  12912. channeloperatetype:
  12913. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  12914. type: integer
  12915. closetype:
  12916. description: 平仓方式 - 0:无 1:平今 2:平昨
  12917. type: integer
  12918. curexchangerate:
  12919. description: 当前汇率
  12920. type: number
  12921. exchangefullname:
  12922. description: 外部交易所全称
  12923. type: string
  12924. goodscode:
  12925. description: 商品代码(内部)
  12926. type: string
  12927. goodsid:
  12928. description: 商品ID
  12929. type: integer
  12930. goodsname:
  12931. description: 商品名称
  12932. type: string
  12933. marketid:
  12934. description: 市场ID
  12935. type: integer
  12936. openfreezemargin:
  12937. description: 冻结保证金(冻结交易金额)
  12938. type: number
  12939. orderid:
  12940. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12941. type: string
  12942. orderlogincode:
  12943. description: 委托人
  12944. type: string
  12945. orderprice:
  12946. description: 委托价格(账户)
  12947. type: number
  12948. orderqty:
  12949. description: 委托数量
  12950. type: integer
  12951. ordertime:
  12952. description: 委托时间
  12953. type: string
  12954. pricemode:
  12955. description: '取价方式 - 1:市价 2: 限价'
  12956. type: integer
  12957. tradedate:
  12958. description: 交易日(yyyyMMdd)
  12959. type: string
  12960. tradeqty:
  12961. description: 成交数量
  12962. type: integer
  12963. type: object
  12964. models.QueryHedgeTradeDetailRsp:
  12965. properties:
  12966. accountid:
  12967. description: 账号ID
  12968. type: integer
  12969. buyorsell:
  12970. description: 方向 - 0:买 1:卖
  12971. type: integer
  12972. channelbuildtype:
  12973. description: 委托单据类型 0:无 1:建仓 2:平仓
  12974. type: integer
  12975. closecharge:
  12976. description: 平仓手续费(账户)
  12977. type: number
  12978. closecharge2:
  12979. description: 平仓手续费(商品)
  12980. type: number
  12981. closepl:
  12982. description: 平仓盈亏(账户)
  12983. type: number
  12984. closepl2:
  12985. description: 平仓盈亏(商品)
  12986. type: number
  12987. closepl3:
  12988. description: 平仓盈亏(账户)(逐笔)
  12989. type: number
  12990. closepl4:
  12991. description: 平仓盈亏(商品)(逐笔)
  12992. type: number
  12993. closetype:
  12994. description: 平仓方式 - 0:无 1:平今 2:平昨
  12995. type: integer
  12996. curexchangerate:
  12997. description: 当前汇率
  12998. type: number
  12999. exchangefullname:
  13000. description: 外部交易所全称
  13001. type: string
  13002. goodscode:
  13003. description: 商品代码(内部)
  13004. type: string
  13005. goodsid:
  13006. description: 商品ID
  13007. type: integer
  13008. goodsname:
  13009. description: 商品名称
  13010. type: string
  13011. marketid:
  13012. description: 市场ID
  13013. type: integer
  13014. opencharge:
  13015. description: 建仓手续费(账户)
  13016. type: number
  13017. opencharge2:
  13018. description: 建仓手续费(商品)
  13019. type: number
  13020. orderid:
  13021. description: 委托单号
  13022. type: string
  13023. orderlogincode:
  13024. description: 委托人
  13025. type: string
  13026. tradeamount:
  13027. description: 成交金额(账户)
  13028. type: number
  13029. tradedate:
  13030. description: 交易日(yyyyMMdd)
  13031. type: string
  13032. tradeid:
  13033. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13034. type: string
  13035. tradeprice:
  13036. description: 成交价格
  13037. type: number
  13038. tradeqty:
  13039. description: 成交数量
  13040. type: integer
  13041. tradetime:
  13042. description: 成交时间
  13043. type: string
  13044. tradetype:
  13045. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  13046. type: integer
  13047. type: object
  13048. models.QuotePrimaryMenu:
  13049. properties:
  13050. Index:
  13051. description: 序号
  13052. type: integer
  13053. Key:
  13054. description: 键名
  13055. type: string
  13056. Name:
  13057. description: 菜单名称
  13058. type: string
  13059. SubMenus:
  13060. description: 子菜单
  13061. items:
  13062. $ref: '#/definitions/models.QuoteSecondaryMenu'
  13063. type: array
  13064. SubTitleType:
  13065. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  13066. type: integer
  13067. TradeModes:
  13068. description: 包含市场交易类型
  13069. type: string
  13070. type: object
  13071. models.QuoteSecondaryMenu:
  13072. properties:
  13073. ExExchangeCode:
  13074. description: 外部交易所代码
  13075. type: string
  13076. ExExchangeID:
  13077. description: 外部交易所ID
  13078. type: integer
  13079. GoodsGroupIDs:
  13080. description: 商品组ID列表
  13081. items:
  13082. type: integer
  13083. type: array
  13084. Index:
  13085. description: 序号
  13086. type: integer
  13087. MarketID:
  13088. description: 市场ID
  13089. type: integer
  13090. MenuTitle:
  13091. description: 菜单标题(市场名称或外部交易所名称)
  13092. type: string
  13093. TradeMode:
  13094. description: 交易模式
  13095. type: integer
  13096. type: object
  13097. models.RoleMenu:
  13098. properties:
  13099. hasright:
  13100. description: 是否有权限 0-没有权限 1-有权限
  13101. type: integer
  13102. iconame:
  13103. description: 菜单图标
  13104. type: string
  13105. menutype:
  13106. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  13107. type: integer
  13108. parentcode:
  13109. description: 上级资源代码
  13110. type: string
  13111. remark:
  13112. description: 菜单备注
  13113. type: string
  13114. resourcecode:
  13115. description: 菜单代码
  13116. type: string
  13117. resourcelevel:
  13118. description: 级别
  13119. type: integer
  13120. resourcename:
  13121. description: 菜单名称
  13122. type: string
  13123. roleid:
  13124. description: 角色id
  13125. type: integer
  13126. sort:
  13127. description: 排序
  13128. type: integer
  13129. subMenu:
  13130. description: 子级菜单(结构同上层一样, swag解析不出来)
  13131. items:
  13132. $ref: '#/definitions/models.RoleMenu'
  13133. type: array
  13134. url:
  13135. description: URL
  13136. type: string
  13137. userid:
  13138. description: 用户id
  13139. type: integer
  13140. type: object
  13141. models.SearchGoods:
  13142. properties:
  13143. goodscode:
  13144. description: 商品代码(内部)
  13145. type: string
  13146. goodsid:
  13147. description: 商品ID(自增ID SEQ_GOODS)
  13148. type: integer
  13149. goodsname:
  13150. description: 商品名称
  13151. type: string
  13152. marketid:
  13153. description: 所属市场ID
  13154. type: integer
  13155. marketname:
  13156. description: 市场名称
  13157. type: string
  13158. trademode:
  13159. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  13160. type: integer
  13161. required:
  13162. - goodscode
  13163. - goodsid
  13164. - goodsname
  13165. - marketid
  13166. - trademode
  13167. type: object
  13168. models.Systemparam:
  13169. properties:
  13170. loginid:
  13171. description: 更新用户账号,登录账号
  13172. type: string
  13173. modifyflag:
  13174. description: 修改标志0 不允许修改 1 允许修改
  13175. type: integer
  13176. paramcode:
  13177. description: 参数代码
  13178. type: string
  13179. paramname:
  13180. description: 参数名
  13181. type: string
  13182. paramtype:
  13183. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  13184. type: integer
  13185. paramvalue:
  13186. description: 参数值
  13187. type: string
  13188. paramvalue2:
  13189. description: 参数值(CLOB)
  13190. type: string
  13191. regexpress:
  13192. description: 正则表达式
  13193. type: string
  13194. remark:
  13195. description: 备注
  13196. type: string
  13197. serverip:
  13198. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  13199. type: string
  13200. showflag:
  13201. description: 是否显示0 不显示 1 显示
  13202. type: integer
  13203. updatetime:
  13204. description: 更新时间
  13205. type: string
  13206. userid:
  13207. description: 更新用户ID
  13208. type: integer
  13209. required:
  13210. - paramcode
  13211. type: object
  13212. models.Szdz3convertconfig:
  13213. properties:
  13214. canin:
  13215. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  13216. type: integer
  13217. canout:
  13218. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  13219. type: integer
  13220. converttype:
  13221. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)
  13222. type: integer
  13223. createtime:
  13224. description: 创建时间
  13225. type: string
  13226. creatorid:
  13227. description: 创建人
  13228. type: integer
  13229. daymaxvalue:
  13230. description: 当日最大转入限制
  13231. type: number
  13232. freezedays:
  13233. description: 冻结天数 [5:花生米转交易]
  13234. type: integer
  13235. innergoodsid:
  13236. description: 内部商品ID[交易]
  13237. type: integer
  13238. inratio:
  13239. description: 目标值
  13240. type: integer
  13241. modifierid:
  13242. description: 修改人
  13243. type: integer
  13244. modifytime:
  13245. description: 修改时间
  13246. type: string
  13247. outergoodscode:
  13248. description: 外部商品代码[JD\PD]
  13249. type: string
  13250. outratio:
  13251. description: 源值
  13252. type: integer
  13253. pddecimalplace:
  13254. description: PD小数位
  13255. type: integer
  13256. timemaxvalue:
  13257. description: 单次最大转入限制
  13258. type: number
  13259. timeminvalue:
  13260. description: 单次最小转入限制
  13261. type: number
  13262. required:
  13263. - converttype
  13264. - innergoodsid
  13265. - outergoodscode
  13266. type: object
  13267. models.Szdz3searchwhitelist:
  13268. properties:
  13269. createtime:
  13270. description: 创建时间
  13271. type: string
  13272. creatorid:
  13273. description: 创建人
  13274. type: integer
  13275. modifierid:
  13276. description: 修改人
  13277. type: integer
  13278. modifytime:
  13279. description: 修改时间
  13280. type: string
  13281. userid:
  13282. description: 用户ID
  13283. type: integer
  13284. required:
  13285. - userid
  13286. type: object
  13287. models.TBGoods:
  13288. properties:
  13289. agreeunit:
  13290. description: 合约乘数
  13291. type: number
  13292. enumdicname:
  13293. description: 单位名称
  13294. type: string
  13295. goodscode:
  13296. description: 商品代码(内部)
  13297. type: string
  13298. goodsid:
  13299. description: 商品ID(自增ID SEQ_GOODS)
  13300. type: integer
  13301. goodsname:
  13302. description: 商品名称
  13303. type: string
  13304. type: object
  13305. models.TBGoodsGroup:
  13306. properties:
  13307. convertratio:
  13308. description: 折算系数
  13309. type: number
  13310. enumdicname:
  13311. description: 单位名称
  13312. type: string
  13313. exexchangecode:
  13314. description: 交易所代码
  13315. type: string
  13316. exexchangename:
  13317. description: 交易所名称
  13318. type: string
  13319. gdlst:
  13320. description: 商品列表
  13321. items:
  13322. $ref: '#/definitions/models.TBGoods'
  13323. type: array
  13324. goodsgroupid:
  13325. description: 商品组ID(自增ID)
  13326. type: integer
  13327. goodsgroupname:
  13328. description: 商品组名称
  13329. type: string
  13330. goodunitid:
  13331. description: 报价单位ID
  13332. type: integer
  13333. type: object
  13334. models.TBMiddleGoods:
  13335. properties:
  13336. areauserid:
  13337. description: 机构用户ID
  13338. type: integer
  13339. enumdicname:
  13340. description: 单位名称
  13341. type: string
  13342. goodsunitid:
  13343. description: 套保品种单位id
  13344. type: integer
  13345. gplst:
  13346. description: 期货品种列表
  13347. items:
  13348. $ref: '#/definitions/models.TBGoodsGroup'
  13349. type: array
  13350. middlegoodscode:
  13351. description: 套保品种代码
  13352. type: string
  13353. middlegoodsid:
  13354. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  13355. type: integer
  13356. middlegoodsname:
  13357. description: 套保品种名称
  13358. type: string
  13359. needarbitrageratio:
  13360. description: 套利比率
  13361. type: number
  13362. needhedgeratio:
  13363. description: 套保比率
  13364. type: number
  13365. wdlst:
  13366. description: 商品信息列表(现货品类)
  13367. items:
  13368. $ref: '#/definitions/models.TBWrstandard'
  13369. type: array
  13370. type: object
  13371. models.TBWrstandard:
  13372. properties:
  13373. convertratio:
  13374. description: 折算系数
  13375. type: number
  13376. deliverygoodsname:
  13377. description: 品种名称
  13378. type: string
  13379. enumdicname:
  13380. description: 单位名称
  13381. type: string
  13382. vatrate:
  13383. description: 增值税率
  13384. type: number
  13385. wrstandardcode:
  13386. description: 现货商品代码
  13387. type: string
  13388. wrstandardid:
  13389. description: 现货商品ID(SEQ_WRSTANDARD)
  13390. type: integer
  13391. wrstandardname:
  13392. description: 现货商品名称
  13393. type: string
  13394. type: object
  13395. models.Taaccount:
  13396. properties:
  13397. accountflag:
  13398. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  13399. type: integer
  13400. accountid:
  13401. description: 资金账户ID
  13402. type: integer
  13403. accountname:
  13404. description: 账户名称
  13405. type: string
  13406. balance:
  13407. description: 期初余额
  13408. type: number
  13409. capitalbalance:
  13410. description: 本金余额[外部子账户实际出入金余额]
  13411. type: number
  13412. changeflag:
  13413. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  13414. type: integer
  13415. changetime:
  13416. description: 账户状态变更时间
  13417. type: string
  13418. closepl:
  13419. description: 今日平仓盈亏
  13420. type: number
  13421. creditdecrease:
  13422. description: 今日授信减少
  13423. type: number
  13424. creditincrease:
  13425. description: 今日授信增加
  13426. type: number
  13427. curamount:
  13428. description: 总市值(从持仓中统计)
  13429. type: number
  13430. currencyid:
  13431. description: 货币ID
  13432. type: integer
  13433. currentbalance:
  13434. description: 期末余额
  13435. type: number
  13436. freezecharge:
  13437. description: 手续费冻结
  13438. type: number
  13439. freezemargin:
  13440. description: 冻结保证金
  13441. type: number
  13442. fromaccountid:
  13443. description: 所属上级账户
  13444. type: integer
  13445. inamount:
  13446. description: 今日入金金额(包括三方入金)
  13447. type: number
  13448. ismain:
  13449. description: 是否母账号 0:不是母账户 1:是母账户
  13450. type: integer
  13451. ismarketaccount:
  13452. description: 是否机构接单账号 0:不是 1:是
  13453. type: integer
  13454. isreckonaccount:
  13455. description: 是否机构分润账号 0:不是 1:是
  13456. type: integer
  13457. mortgagecredit:
  13458. description: 授信金额
  13459. type: number
  13460. orifreezecharge:
  13461. description: 期初手续费冻结
  13462. type: number
  13463. orifreezemargin:
  13464. description: 期初冻结保证金
  13465. type: number
  13466. orimortgagecredit:
  13467. description: 期初授信金额
  13468. type: number
  13469. oriothercredit:
  13470. description: 期初其它授信金额
  13471. type: number
  13472. oriotherfreezemargin:
  13473. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  13474. type: number
  13475. orioutamountfreeze:
  13476. description: 期初出金冻结
  13477. type: number
  13478. oriusedmargin:
  13479. description: 期初占用保证金
  13480. type: number
  13481. othercredit:
  13482. description: 其它授信金额
  13483. type: number
  13484. othercreditdecrease:
  13485. description: 今日其它授信减少
  13486. type: number
  13487. othercreditincrease:
  13488. description: 今日其它授信增加
  13489. type: number
  13490. otherfreezemargin:
  13491. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  13492. type: number
  13493. otherincome:
  13494. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  13495. type: number
  13496. otherpay:
  13497. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  13498. type: number
  13499. outamount:
  13500. description: 今日出金金额(包括三方出金)
  13501. type: number
  13502. outamountfreeze:
  13503. description: 出金冻结
  13504. type: number
  13505. outthreshold:
  13506. description: 出金阈值
  13507. type: number
  13508. parentaccountid:
  13509. description: 所属根账号
  13510. type: integer
  13511. paycharge:
  13512. description: 今日手续费支出
  13513. type: number
  13514. relatedaccountstatus:
  13515. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  13516. type: integer
  13517. relateduserid:
  13518. description: 关联用户
  13519. type: integer
  13520. remainamount:
  13521. description: 融资额(从融资合同中统计)
  13522. type: number
  13523. serivcegroup:
  13524. description: 服务分组
  13525. type: integer
  13526. signstatus:
  13527. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  13528. type: integer
  13529. sublevelpath:
  13530. description: 账号层级路径(逗号分隔,首尾加逗号)
  13531. type: string
  13532. taaccounttype:
  13533. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  13534. type: integer
  13535. thirdinamount:
  13536. description: 今日三方入金
  13537. type: number
  13538. thirdoutamount:
  13539. description: 今日三方出金
  13540. type: number
  13541. tradestatus:
  13542. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  13543. type: integer
  13544. tradestatuschangetime:
  13545. description: 激活时间
  13546. type: string
  13547. transferamount:
  13548. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  13549. type: number
  13550. usedmargin:
  13551. description: 占用保证金
  13552. type: number
  13553. userid:
  13554. description: 用户ID
  13555. type: integer
  13556. required:
  13557. - accountid
  13558. - userid
  13559. type: object
  13560. models.Tablecolumnconfig:
  13561. properties:
  13562. aligntype:
  13563. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  13564. type: integer
  13565. autoid:
  13566. description: AutoID
  13567. type: integer
  13568. columnfield:
  13569. description: 列字段
  13570. type: string
  13571. columntitle:
  13572. description: 列Title
  13573. type: string
  13574. columnwidth:
  13575. description: 列宽
  13576. type: string
  13577. formatterstring:
  13578. description: 格式化字符
  13579. type: string
  13580. formattertype:
  13581. description: 格式化类型
  13582. type: string
  13583. groupname:
  13584. description: 表头分组名称
  13585. type: string
  13586. isshow:
  13587. description: 是否显示 - 0:不显示 1:显示
  13588. type: integer
  13589. needsummary:
  13590. description: 是否需要汇总 - 0:不需要 1:需要
  13591. type: integer
  13592. orderindex:
  13593. description: 顺序
  13594. type: integer
  13595. remark:
  13596. description: 备注
  13597. type: string
  13598. summarytype:
  13599. description: 汇总类型 - 1:加总 2:最后一个
  13600. type: integer
  13601. tablekey:
  13602. description: 列表Key
  13603. type: string
  13604. required:
  13605. - autoid
  13606. type: object
  13607. models.TjmdQuoteGoods:
  13608. properties:
  13609. buyqty:
  13610. description: 买量(暂不做, 无值, 保留字段)
  13611. type: number
  13612. goodscode:
  13613. description: 合约代码
  13614. type: string
  13615. goodsgroupid:
  13616. description: 商品组ID(自增ID)
  13617. type: integer
  13618. goodsgroupname:
  13619. description: 商品组名称
  13620. type: string
  13621. goodsid:
  13622. description: 合约id
  13623. type: integer
  13624. goodsname:
  13625. description: 合约名称
  13626. type: string
  13627. refgoodscode:
  13628. description: 标的合约代码
  13629. type: string
  13630. refgoodsid:
  13631. description: 标的合约id
  13632. type: integer
  13633. refgoodsname:
  13634. description: 标的合约名称
  13635. type: string
  13636. sellqty:
  13637. description: 卖量(暂不做, 无值, 保留字段)
  13638. type: number
  13639. type: object
  13640. models.TjmdTodayAccountMargin:
  13641. properties:
  13642. accountid:
  13643. description: 账号ID
  13644. type: integer
  13645. goodsid:
  13646. description: 商品ID
  13647. type: integer
  13648. infoc:
  13649. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  13650. description: 配置参数
  13651. marketid:
  13652. description: 市场ID
  13653. type: integer
  13654. type: object
  13655. models.TjmdTradeOrderDetail:
  13656. properties:
  13657. buyorsell:
  13658. description: 买卖方向 0-买 1-卖
  13659. type: integer
  13660. goodsid:
  13661. description: 商品id
  13662. type: integer
  13663. marketmaxsub:
  13664. description: 市价最大偏移范围 [浮动价 - 点差]
  13665. type: number
  13666. orderid:
  13667. description: 委托单号
  13668. type: string
  13669. orderprice:
  13670. description: 委托价格
  13671. type: number
  13672. orderqty:
  13673. description: 委托数量
  13674. type: integer
  13675. pricemode:
  13676. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  13677. type: integer
  13678. userid:
  13679. description: 用户id
  13680. type: integer
  13681. username:
  13682. description: 用户名称(已脱敏)
  13683. type: string
  13684. type: object
  13685. models.TjmdTransferApply:
  13686. properties:
  13687. applyid:
  13688. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  13689. type: integer
  13690. applystatus:
  13691. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  13692. type: integer
  13693. applytime:
  13694. description: 申请时间(时间)
  13695. type: string
  13696. auditremark:
  13697. description: 审核备注(拒绝原因?)
  13698. type: string
  13699. buyorsell:
  13700. description: 买卖 - 0:买 1:卖
  13701. type: integer
  13702. goodscode:
  13703. description: 商品代码
  13704. type: string
  13705. goodsid:
  13706. description: 商品ID
  13707. type: integer
  13708. goodsname:
  13709. description: 商品名称
  13710. type: string
  13711. marketid:
  13712. description: 市场ID
  13713. type: integer
  13714. qty:
  13715. description: 转让数量(数量)
  13716. type: number
  13717. tradeid:
  13718. description: 成交单号(关联持仓)
  13719. type: string
  13720. transferamount:
  13721. description: 转让总金额(金额)
  13722. type: number
  13723. transferprice:
  13724. description: 转让价格(协议价格)
  13725. type: number
  13726. type: object
  13727. models.TradeHolderDetail:
  13728. properties:
  13729. accountid:
  13730. description: 账号ID
  13731. type: integer
  13732. agreeunit:
  13733. description: 合约乘数
  13734. type: number
  13735. buyorsell:
  13736. description: 方向 - 0:买 1:卖
  13737. type: integer
  13738. currencyid:
  13739. description: 商品币种id
  13740. type: integer
  13741. currencyname:
  13742. description: 币种名称
  13743. type: string
  13744. decimalplace:
  13745. description: 商品价格小数位
  13746. type: integer
  13747. enumdicname:
  13748. description: 商品单位名称
  13749. type: string
  13750. expirecycle:
  13751. description: 行权周期(天) - 1:滚动行权时填写
  13752. type: integer
  13753. expiredate:
  13754. description: 行权日(yyyyMMdd) - 到期日
  13755. type: string
  13756. expiretype:
  13757. description: 行权日类型 - 1:滚动行权 2:固定日行权
  13758. type: integer
  13759. freezeqty:
  13760. description: 冻结数量
  13761. type: number
  13762. goodscode:
  13763. description: 商品代码
  13764. type: string
  13765. goodsid:
  13766. description: 商品ID
  13767. type: integer
  13768. goodsname:
  13769. description: 商品名称
  13770. type: string
  13771. goodunitid:
  13772. description: 商品单位id
  13773. type: integer
  13774. holderamount:
  13775. description: 持仓金额
  13776. type: number
  13777. holdercredit:
  13778. description: 持仓授信金额
  13779. type: number
  13780. holderdays:
  13781. description: 剩余冻结天数
  13782. type: integer
  13783. holderprice:
  13784. description: 持仓价格
  13785. type: number
  13786. holderqty:
  13787. description: 持仓数量
  13788. type: number
  13789. isconfirmexercise:
  13790. description: 是否确认行权- 0:否 1:是
  13791. type: integer
  13792. ispreexercise:
  13793. description: 是否预申报- 0:否 1:是 2:不可行权
  13794. type: integer
  13795. marketid:
  13796. description: 市场id
  13797. type: integer
  13798. marketname:
  13799. description: 市场名称
  13800. type: string
  13801. openprice:
  13802. description: 建仓价格
  13803. type: number
  13804. openqty:
  13805. description: 建仓数量
  13806. type: number
  13807. optiontype:
  13808. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  13809. type: integer
  13810. preexerciseprice:
  13811. description: 预申报价格
  13812. type: number
  13813. premium:
  13814. description: 权利金
  13815. type: number
  13816. qtydecimalplace:
  13817. description: 商品成交量小数位
  13818. type: integer
  13819. refgoodscode:
  13820. description: 标的合约代码
  13821. type: string
  13822. refgoodsid:
  13823. description: 标的合约id
  13824. type: integer
  13825. releaseamount:
  13826. description: 释放持仓金额
  13827. type: number
  13828. releaseholdercredit:
  13829. description: 释放持仓授信金额
  13830. type: number
  13831. taname:
  13832. description: 资金账号名称
  13833. type: string
  13834. tradeamount:
  13835. description: 成交金额
  13836. type: number
  13837. tradedate:
  13838. description: 交易日(yyyyMMdd)
  13839. type: string
  13840. tradeid:
  13841. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13842. type: string
  13843. trademode:
  13844. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价 46:掉期
  13845. type: integer
  13846. tradeproperty:
  13847. description: 交易属性
  13848. type: integer
  13849. tradetime:
  13850. description: 交易时间
  13851. type: string
  13852. userid:
  13853. description: 用户id
  13854. type: integer
  13855. username:
  13856. description: 用户名称
  13857. type: string
  13858. type: object
  13859. models.UserCollectConfig:
  13860. properties:
  13861. accountstatus:
  13862. description: 账户状态 - 1:正常 2:停用 3:注销
  13863. type: integer
  13864. collectaccountname:
  13865. description: 收款人账户名称
  13866. type: string
  13867. collectaccountno:
  13868. description: 收款人账户
  13869. type: string
  13870. collectbankname:
  13871. description: 收款人开户行
  13872. type: string
  13873. collectbranchbankname:
  13874. description: 收款人开户支行
  13875. type: string
  13876. collectconfigid:
  13877. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  13878. type: string
  13879. remark:
  13880. description: 备注
  13881. type: string
  13882. userid:
  13883. description: 收款人用户ID
  13884. type: integer
  13885. type: object
  13886. models.UserReceiveInfo:
  13887. properties:
  13888. address:
  13889. description: 提货人详细地址
  13890. type: string
  13891. autoid:
  13892. description: AutoID
  13893. type: integer
  13894. cardnum:
  13895. description: 证件号码(加密存储)
  13896. type: string
  13897. cardtypeid:
  13898. description: 证件类型
  13899. type: integer
  13900. cityid:
  13901. description: 市
  13902. type: integer
  13903. cityname:
  13904. description: 城市名称
  13905. type: string
  13906. countryid:
  13907. description: 国家
  13908. type: integer
  13909. countryname:
  13910. description: 国家名称
  13911. type: string
  13912. districtid:
  13913. description: 地区
  13914. type: integer
  13915. districtname:
  13916. description: 地区名称
  13917. type: string
  13918. hasencrypt:
  13919. description: 数据是否已加密 - 0:未加密 1:已加密
  13920. type: integer
  13921. isdefault:
  13922. description: 是否默认地址 - 0:否 1:是
  13923. type: integer
  13924. phonenum:
  13925. description: 提货人联系方式(加密存储)
  13926. type: string
  13927. provinceid:
  13928. description: 省
  13929. type: integer
  13930. provincename:
  13931. description: 省名称
  13932. type: string
  13933. receivername:
  13934. description: 提货人姓名
  13935. type: string
  13936. takeremark:
  13937. description: 提货备注
  13938. type: string
  13939. userid:
  13940. description: 用户ID
  13941. type: integer
  13942. type: object
  13943. models.Useraccount:
  13944. properties:
  13945. accountname:
  13946. description: 账户名称(机构名称)
  13947. type: string
  13948. accountstatus:
  13949. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  13950. type: integer
  13951. applysrc:
  13952. description: 申请来源 - 1:管理端 2:终端
  13953. type: integer
  13954. auditremark:
  13955. description: 审核备注
  13956. type: string
  13957. auditsrc:
  13958. description: 审核来源 - 1:管理端 2:终端
  13959. type: integer
  13960. audittime:
  13961. description: 审核时间
  13962. type: string
  13963. audituserid:
  13964. description: 审核人
  13965. type: integer
  13966. broker:
  13967. description: 所属经纪人ID
  13968. type: integer
  13969. canceltime:
  13970. description: 销户时间
  13971. type: string
  13972. canceluserid:
  13973. description: 销户人
  13974. type: integer
  13975. canrecommend:
  13976. description: 是否可推荐 - 0:不可 1;可
  13977. type: integer
  13978. createtime:
  13979. description: 创建时间
  13980. type: string
  13981. creatorid:
  13982. description: 创建人
  13983. type: integer
  13984. hasauth:
  13985. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  13986. type: integer
  13987. isanonymous:
  13988. description: 是否匿名下单 - 0:否 1:是
  13989. type: integer
  13990. maxinvestornum:
  13991. description: 最大用户数(经纪会员下投资者个数)
  13992. type: integer
  13993. memberuserid:
  13994. description: 所属会员ID
  13995. type: integer
  13996. modifierid:
  13997. description: 修改人
  13998. type: integer
  13999. modifyremark:
  14000. description: 变更备注
  14001. type: string
  14002. modifystatus:
  14003. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  14004. type: integer
  14005. modifytime:
  14006. description: 修改时间
  14007. type: string
  14008. parenttopuser:
  14009. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  14010. type: string
  14011. parentuserid:
  14012. description: 所属机构ID
  14013. type: integer
  14014. reckonaccountid:
  14015. description: 默认结算资金账号ID(机构分润使用) 作废
  14016. type: integer
  14017. refercount:
  14018. description: 推荐总人数
  14019. type: integer
  14020. refereeuserid:
  14021. description: 推荐人ID
  14022. type: integer
  14023. refernum:
  14024. description: 推荐码
  14025. type: string
  14026. rootuserid:
  14027. description: 根用户ID
  14028. type: integer
  14029. subaccountlevel:
  14030. description: 子账户层数
  14031. type: integer
  14032. subarealevelpath:
  14033. description: 子机构层级路径(逗号分隔,首尾加逗号)
  14034. type: string
  14035. userid:
  14036. description: 用户ID
  14037. type: integer
  14038. usertype:
  14039. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  14040. type: integer
  14041. required:
  14042. - userid
  14043. type: object
  14044. models.Userfavoritegoods:
  14045. properties:
  14046. goodsid:
  14047. description: 商品ID
  14048. type: integer
  14049. required:
  14050. - goodsid
  14051. type: object
  14052. models.Userinfo:
  14053. properties:
  14054. address:
  14055. description: 地址
  14056. type: string
  14057. attachment1:
  14058. description: 附件1
  14059. type: string
  14060. attachment2:
  14061. description: 附件2
  14062. type: string
  14063. bankaccount:
  14064. description: 银行帐号 (加密存储)
  14065. type: string
  14066. bankaccountname:
  14067. description: 收款人名称
  14068. type: string
  14069. bankcardfrontphotourl:
  14070. description: 银行卡正面照地址
  14071. type: string
  14072. bankid:
  14073. description: 银行编码
  14074. type: string
  14075. bankname:
  14076. description: 银行名称
  14077. type: string
  14078. biznature:
  14079. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  14080. type: integer
  14081. bizscope:
  14082. description: 企业经营范围(企业)
  14083. type: string
  14084. cardbackphotourl:
  14085. description: 证件背面图片地址
  14086. type: string
  14087. cardfrontphotourl:
  14088. description: 证件正面图片地址
  14089. type: string
  14090. cardnum:
  14091. description: 证件号码(加密存储)
  14092. type: string
  14093. cardtypeid:
  14094. description: 证件类型ID
  14095. type: integer
  14096. cityid:
  14097. description: 市
  14098. type: integer
  14099. company:
  14100. description: 公司(个人)
  14101. type: string
  14102. contactname:
  14103. description: 联系人
  14104. type: string
  14105. countryid:
  14106. description: 国家
  14107. type: integer
  14108. createtime:
  14109. description: 创建时间
  14110. type: string
  14111. creatorid:
  14112. description: 创建人
  14113. type: integer
  14114. customername:
  14115. description: 客户名称(企业名称)
  14116. type: string
  14117. districtid:
  14118. description: 地区
  14119. type: integer
  14120. email:
  14121. description: 邮件(加密存储)
  14122. type: string
  14123. fax:
  14124. description: 传真(加密存储)
  14125. type: string
  14126. halfbodyphotourl:
  14127. description: 半身照地址
  14128. type: string
  14129. hasencrypt:
  14130. description: 数据是否已加密 - 0:未加密 1:已加密
  14131. type: integer
  14132. headurl:
  14133. description: 头像地址
  14134. type: string
  14135. legalcardbackphotourl:
  14136. description: 法人身份证背面照地址
  14137. type: string
  14138. legalcardfrontphotourl:
  14139. description: 法人身份证正面照地址
  14140. type: string
  14141. legalpersonname:
  14142. description: 法人姓名(企业)
  14143. type: string
  14144. mobile:
  14145. description: 手机号码(加密存储)
  14146. type: string
  14147. mobile2:
  14148. description: 手机号码[明文-尚志]
  14149. type: string
  14150. modifierid:
  14151. description: 修改人
  14152. type: integer
  14153. modifiertime:
  14154. description: 修改时间
  14155. type: string
  14156. needinvoice:
  14157. description: 是否需要发票 - 0:不需要 1:需要
  14158. type: integer
  14159. nickname:
  14160. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  14161. type: string
  14162. openmode:
  14163. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  14164. type: integer
  14165. otherurl:
  14166. description: 其它图片地址[使用分号分隔]
  14167. type: string
  14168. postalcode:
  14169. description: 邮政编码
  14170. type: string
  14171. provinceid:
  14172. description: 省
  14173. type: integer
  14174. qq:
  14175. description: QQ(加密存储
  14176. type: string
  14177. remark:
  14178. description: 备注
  14179. type: string
  14180. sex:
  14181. description: '用户性别 0: 女 1: 男'
  14182. type: integer
  14183. signpdfurl:
  14184. description: 签约pdf文件
  14185. type: string
  14186. telphone:
  14187. description: 联系电话(加密存储)
  14188. type: string
  14189. userid:
  14190. description: 用户ID
  14191. type: integer
  14192. userinfotype:
  14193. description: 用户信息类型 - 1:个人 2:企业
  14194. type: integer
  14195. userstatus:
  14196. description: 用户状态 - 1:正常 2:注销
  14197. type: integer
  14198. usertype:
  14199. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  14200. type: integer
  14201. wechat:
  14202. description: 微信(加密存储)
  14203. type: string
  14204. wskhinfo:
  14205. description: 开户申请信息(JSON)
  14206. type: string
  14207. required:
  14208. - userid
  14209. type: object
  14210. models.WRSConverTDetail:
  14211. properties:
  14212. convertratio:
  14213. description: 套保系数
  14214. type: number
  14215. deliverygoodscode:
  14216. description: 现货商品代码
  14217. type: string
  14218. deliverygoodsid:
  14219. description: 现货品种ID
  14220. type: integer
  14221. deliverygoodsname:
  14222. description: 现货商品名称
  14223. type: string
  14224. enumdicname:
  14225. description: 单位名称
  14226. type: string
  14227. goodsunitid:
  14228. description: 套保品种单位id
  14229. type: integer
  14230. middlegoodscode:
  14231. description: 套保品种代码
  14232. type: string
  14233. middlegoodsid:
  14234. description: 套保品种ID
  14235. type: integer
  14236. middlegoodsname:
  14237. description: 套保品种名称
  14238. type: string
  14239. modifytime:
  14240. description: 修改时间
  14241. type: string
  14242. wrstandardid:
  14243. description: 品类ID
  14244. type: integer
  14245. type: object
  14246. models.WRStandardInfo:
  14247. properties:
  14248. areauserid:
  14249. description: 所属机构
  14250. type: integer
  14251. convertfactor:
  14252. description: 标仓系数
  14253. type: number
  14254. createtime:
  14255. description: 创建时间
  14256. type: string
  14257. creatorid:
  14258. description: 创建人
  14259. type: integer
  14260. deliverygoodsid:
  14261. description: 品种ID
  14262. type: integer
  14263. deliverygoodsname:
  14264. description: 交割商品名称
  14265. type: string
  14266. factoryitemjson:
  14267. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID, 逗号分隔'
  14268. type: string
  14269. isvalid:
  14270. description: 是否有效 - 0:无效 1:有效
  14271. type: integer
  14272. minivalue:
  14273. description: 最小变动值
  14274. type: integer
  14275. minivaluedp:
  14276. description: 最小变动值小数位
  14277. type: integer
  14278. realminivalue:
  14279. description: 实际最小变动值
  14280. type: integer
  14281. realminivaluedp:
  14282. description: 实际最小变动值小数位
  14283. type: integer
  14284. remark:
  14285. description: 备注
  14286. type: string
  14287. unitid:
  14288. description: 单位ID
  14289. type: integer
  14290. unitname:
  14291. description: 单位
  14292. type: string
  14293. updatetime:
  14294. description: 更新时间
  14295. type: string
  14296. updatorid:
  14297. description: 更新人
  14298. type: integer
  14299. wrsstatus:
  14300. description: 状态 - 作废 - 0:未激活 1:正常
  14301. type: integer
  14302. wrstandardcode:
  14303. description: 现货品类代码
  14304. type: string
  14305. wrstandardid:
  14306. description: 现货品类ID(SEQ_WRSTANDARD)
  14307. type: integer
  14308. wrstandardname:
  14309. description: 现货品类名称
  14310. type: string
  14311. required:
  14312. - wrstandardid
  14313. type: object
  14314. models.WRTradeBargainApply:
  14315. properties:
  14316. accountid:
  14317. description: 摘牌资金账号
  14318. type: integer
  14319. applyprice:
  14320. description: 申请价格(议价价格)
  14321. type: string
  14322. applyqty:
  14323. description: 摘牌数量(议价数量)
  14324. type: number
  14325. applyremark:
  14326. description: 申请备注
  14327. type: string
  14328. applystatus:
  14329. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  14330. type: integer
  14331. applytime:
  14332. description: 申请时间(议价时间)
  14333. type: string
  14334. buyorsell:
  14335. description: 买卖(挂牌类型) - 0:买 1:卖
  14336. type: integer
  14337. confirmremark:
  14338. description: 确认备注
  14339. type: string
  14340. confirmtime:
  14341. description: 确认时间
  14342. type: string
  14343. confirmuserid:
  14344. description: 确认人
  14345. type: integer
  14346. deliverygoodscode:
  14347. description: 品种代码
  14348. type: string
  14349. deliverygoodsid:
  14350. description: 品种ID
  14351. type: integer
  14352. deliverygoodsname:
  14353. description: 品种名称
  14354. type: string
  14355. deliverymonth:
  14356. description: 交收月
  14357. type: string
  14358. enumdicname:
  14359. description: 单位名称
  14360. type: string
  14361. fixedprice:
  14362. description: 挂牌价格
  14363. type: number
  14364. handlestatus:
  14365. description: 处理状态
  14366. type: integer
  14367. marginvalue:
  14368. description: 履约保证金比例
  14369. type: number
  14370. marketid:
  14371. description: 市场ID
  14372. type: integer
  14373. matchaccountid:
  14374. description: 挂牌方资金账号
  14375. type: integer
  14376. matchuserid:
  14377. description: 挂牌方用户id
  14378. type: integer
  14379. matchusername:
  14380. description: 挂牌方用户名称(已脱敏)
  14381. type: string
  14382. minivalue:
  14383. description: 现货商品最小变动值
  14384. type: integer
  14385. optioncompare:
  14386. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14387. type: string
  14388. orderqty:
  14389. description: 挂牌数量
  14390. type: integer
  14391. refprice:
  14392. description: 参考价格
  14393. type: string
  14394. retcode:
  14395. description: 委托返回代码
  14396. type: integer
  14397. templatename:
  14398. description: 履约方式(履约模板名称)
  14399. type: string
  14400. tradedate:
  14401. description: 交易日(yyyyMMdd)
  14402. type: string
  14403. userid:
  14404. description: 摘牌人用户ID(议价人ID)
  14405. type: integer
  14406. username:
  14407. description: 议价人名字(已脱敏)
  14408. type: string
  14409. validtime:
  14410. description: 有效期限
  14411. type: string
  14412. warehouseid:
  14413. description: 仓库ID
  14414. type: integer
  14415. warehousename:
  14416. description: 仓库名称
  14417. type: string
  14418. wrbargainid:
  14419. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  14420. type: string
  14421. wrfactortypeid:
  14422. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14423. type: string
  14424. wrfactortypename:
  14425. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14426. type: string
  14427. wrstandardcode:
  14428. description: 现货商品代码
  14429. type: string
  14430. wrstandardid:
  14431. description: 现货商品ID
  14432. type: integer
  14433. wrstandardname:
  14434. description: 商品名称
  14435. type: string
  14436. wrtradeorderid:
  14437. description: 关联委托单ID
  14438. type: string
  14439. wrtypename:
  14440. description: 商品
  14441. type: string
  14442. type: object
  14443. models.Warehouseinfo:
  14444. properties:
  14445. address:
  14446. description: 详细地址
  14447. type: string
  14448. areauserid:
  14449. description: 所属机构
  14450. type: integer
  14451. autoid:
  14452. description: 自增ID
  14453. type: integer
  14454. cityid:
  14455. description: 市
  14456. type: integer
  14457. contactname:
  14458. description: 联系人
  14459. type: string
  14460. contactnum:
  14461. description: 联系电话
  14462. type: string
  14463. countryid:
  14464. description: 国家
  14465. type: integer
  14466. createtime:
  14467. description: 创建时间
  14468. type: string
  14469. districtid:
  14470. description: 区
  14471. type: integer
  14472. hasvideo:
  14473. description: 是否有视频 - 0:无 1:有
  14474. type: integer
  14475. provinceid:
  14476. description: 省
  14477. type: integer
  14478. remark:
  14479. description: 审核备注
  14480. type: string
  14481. videourl:
  14482. description: 视频地址
  14483. type: string
  14484. warehousecode:
  14485. description: 仓库代码
  14486. type: string
  14487. warehousename:
  14488. description: 仓库名称
  14489. type: string
  14490. warehousestatus:
  14491. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  14492. type: integer
  14493. warehousetype:
  14494. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  14495. type: integer
  14496. required:
  14497. - autoid
  14498. - warehousecode
  14499. type: object
  14500. models.WrAverageTradePrice:
  14501. properties:
  14502. averageprice:
  14503. description: 成交均价
  14504. type: number
  14505. tradedate:
  14506. description: 交易日yyyymm
  14507. type: string
  14508. type: object
  14509. models.WrBsGoodsInfo:
  14510. properties:
  14511. buyorsell:
  14512. description: 买卖方向 0-买 1-卖
  14513. type: integer
  14514. goodsid:
  14515. description: 交易合约ID
  14516. type: integer
  14517. lstitem:
  14518. description: 商品信息项
  14519. items:
  14520. $ref: '#/definitions/models.WrTypeItem'
  14521. type: array
  14522. lststep:
  14523. description: 履约规则
  14524. items:
  14525. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  14526. type: array
  14527. type: object
  14528. models.WrBuybackDetail:
  14529. properties:
  14530. buybackamount:
  14531. description: 回购金额
  14532. type: number
  14533. buybackqty:
  14534. description: 回购数量
  14535. type: number
  14536. buybackreleasemargin:
  14537. description: 回购释放保证金
  14538. type: number
  14539. buybacktime:
  14540. description: 回购时间
  14541. type: string
  14542. errordesc:
  14543. description: 错误描述
  14544. type: string
  14545. handlestatus:
  14546. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  14547. type: integer
  14548. relatedwrid:
  14549. description: 关联仓单ID
  14550. type: integer
  14551. scfcontractid:
  14552. description: SCF合同ID
  14553. type: string
  14554. scfwrbuybackid:
  14555. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  14556. type: integer
  14557. tradedate:
  14558. description: 交易日(yyyyMMdd)
  14559. type: string
  14560. type: object
  14561. models.WrDeliveryAvalidHoldLB:
  14562. properties:
  14563. accountid:
  14564. description: 资金账号
  14565. type: integer
  14566. avalidqty:
  14567. description: 数量(可点选数量)
  14568. type: number
  14569. deliverygoodsid:
  14570. description: 品种id
  14571. type: integer
  14572. enumdicname:
  14573. description: 单位名称
  14574. type: string
  14575. goodsid:
  14576. description: x合约商品id
  14577. type: integer
  14578. ladingbillid:
  14579. description: 提单id
  14580. type: string
  14581. pgoodscode:
  14582. description: p商品代码(点价合约)
  14583. type: string
  14584. pgoodsid:
  14585. description: p商品id(点价合约)
  14586. type: integer
  14587. pgoodsname:
  14588. description: p商品名称(点价合约)
  14589. type: string
  14590. pricemove:
  14591. description: 升贴水
  14592. type: number
  14593. subnum:
  14594. description: 提单子id
  14595. type: integer
  14596. userid:
  14597. description: 用户id
  14598. type: integer
  14599. username:
  14600. description: 仓单持有人
  14601. type: string
  14602. warehousecode:
  14603. description: 仓库代码
  14604. type: string
  14605. warehouseid:
  14606. description: 仓库id
  14607. type: integer
  14608. warehousename:
  14609. description: 仓库名称
  14610. type: string
  14611. wrfactortypeid:
  14612. description: 仓单要素id
  14613. type: string
  14614. wrstandardcode:
  14615. description: 品代码
  14616. type: string
  14617. wrstandardid:
  14618. description: 品类d
  14619. type: integer
  14620. wrstandardname:
  14621. description: 品类名称
  14622. type: string
  14623. wrtypename:
  14624. description: 商品
  14625. type: string
  14626. xgoodscode:
  14627. description: x合约代码
  14628. type: string
  14629. xgoodsname:
  14630. description: x合约名称
  14631. type: string
  14632. type: object
  14633. models.WrDeliveryDetail:
  14634. properties:
  14635. accountid:
  14636. description: 账号ID
  14637. type: integer
  14638. averageprice:
  14639. description: 交割均价 = 交割金额 / 交割数量
  14640. type: number
  14641. buyorsell:
  14642. description: 方向 - 0:买 1:卖
  14643. type: integer
  14644. deliveryamount:
  14645. description: 货款金额(X总货款+P总货款)
  14646. type: number
  14647. deliveryid:
  14648. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  14649. type: string
  14650. deliveryorderid:
  14651. description: 申报单号
  14652. type: string
  14653. deliverypricemove:
  14654. description: 升贴水(升贴水总额)
  14655. type: number
  14656. deliveryqty:
  14657. description: 交收数量(点选数量)
  14658. type: number
  14659. deliverystatus:
  14660. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  14661. type: integer
  14662. deliverytime:
  14663. description: 交割时间
  14664. type: string
  14665. deliverytotalamount:
  14666. description: 交收金额
  14667. type: number
  14668. enumdicname:
  14669. description: 单位名称
  14670. type: string
  14671. matchaccountid:
  14672. description: 对手账号ID
  14673. type: integer
  14674. matchusername:
  14675. description: 对手方名称(仓单持有人)
  14676. type: string
  14677. p1goodsremainamount:
  14678. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  14679. type: number
  14680. pdeliverycloseqty:
  14681. description: p合约平仓数量
  14682. type: number
  14683. pdeliveryprice:
  14684. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  14685. type: number
  14686. pgoodscode:
  14687. description: 商品代码
  14688. type: string
  14689. pgoodsid:
  14690. description: p点选合约id
  14691. type: integer
  14692. pgoodsname:
  14693. description: 商品名称
  14694. type: string
  14695. ppricemode:
  14696. description: 点价价格方式 - 1:商品价 2:固定值
  14697. type: integer
  14698. tradedate:
  14699. description: 交易日(yyyymmdd)
  14700. type: string
  14701. userid:
  14702. description: 用户id
  14703. type: integer
  14704. username:
  14705. description: 用户名称
  14706. type: string
  14707. warehousename:
  14708. description: 仓库名称
  14709. type: string
  14710. wrfactortypeid:
  14711. description: 仓单要素类型ID
  14712. type: string
  14713. wrtypename:
  14714. description: 商品
  14715. type: string
  14716. xdeliverycloseqty:
  14717. description: 合约数量
  14718. type: number
  14719. xgoodsamount:
  14720. description: 合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)
  14721. type: number
  14722. xgoodscode:
  14723. description: 商品代码
  14724. type: string
  14725. xgoodsid:
  14726. description: x交易合约ID
  14727. type: integer
  14728. xgoodsname:
  14729. description: 商品名称
  14730. type: string
  14731. type: object
  14732. models.WrDeliveryGoodsSection:
  14733. properties:
  14734. dglst:
  14735. description: 板块商品列表
  14736. items:
  14737. $ref: '#/definitions/models.WrDeliveryGoodsSectionConfig'
  14738. type: array
  14739. imagepath:
  14740. description: 图片地址
  14741. type: string
  14742. orderindex:
  14743. description: 排序
  14744. type: integer
  14745. sectionid:
  14746. description: 版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType = 1的版块1 - 云融指数
  14747. type: integer
  14748. sectionname:
  14749. description: 版块名称
  14750. type: string
  14751. sectiontype:
  14752. description: 版块类型 - 1:指数版块 2:普通版块
  14753. type: integer
  14754. type: object
  14755. models.WrDeliveryGoodsSectionConfig:
  14756. properties:
  14757. deliverygoodscode:
  14758. description: 现货商品代码
  14759. type: string
  14760. deliverygoodsid:
  14761. description: 现货品种ID(SEQ_DELIVERYGOODS)
  14762. type: integer
  14763. deliverygoodsname:
  14764. description: 现货商品名称
  14765. type: string
  14766. orderindex:
  14767. description: 排序
  14768. type: integer
  14769. type: object
  14770. models.WrFAProductDetail:
  14771. properties:
  14772. accountid:
  14773. description: 资金账号
  14774. type: integer
  14775. areauserid:
  14776. description: 金融机构ID
  14777. type: integer
  14778. financingdays:
  14779. description: 天数(天)
  14780. type: integer
  14781. interestminlen:
  14782. description: 最小起息天数
  14783. type: integer
  14784. interestrate:
  14785. description: 利率
  14786. type: number
  14787. interestratemode:
  14788. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  14789. type: integer
  14790. interestsettlemode:
  14791. description: 结息方式 - 1:按日结息 3:按月结息
  14792. type: integer
  14793. interestsettlevalue:
  14794. description: 结息方式值
  14795. type: integer
  14796. isautoloan:
  14797. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  14798. type: integer
  14799. loantag:
  14800. description: '放款标识: "放款快" 或者为空'
  14801. type: string
  14802. marginratio:
  14803. description: 保证金比率质押率 - [仓单质押]
  14804. type: number
  14805. productdetailid:
  14806. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  14807. type: integer
  14808. productid:
  14809. description: 金融产品ID
  14810. type: integer
  14811. productname:
  14812. description: 产品名称
  14813. type: string
  14814. updatetime:
  14815. description: 更新时间
  14816. type: string
  14817. username:
  14818. description: 融出方
  14819. type: string
  14820. type: object
  14821. models.WrFactorTypeInfo:
  14822. properties:
  14823. deliverygoodscode:
  14824. description: 品种代码
  14825. type: string
  14826. deliverygoodsname:
  14827. description: 品种名称
  14828. type: string
  14829. dgfactoryitemid:
  14830. description: 选择项id
  14831. type: integer
  14832. dgfactoryitemtypeid:
  14833. description: 要素选择项ID (1-仓库 2-品牌)
  14834. type: integer
  14835. dgfactoryitemvalue:
  14836. description: 要素项值
  14837. type: string
  14838. itemtypename:
  14839. description: 要素项名称
  14840. type: string
  14841. optioncompare:
  14842. description: 选择比较串
  14843. type: string
  14844. warehouseid:
  14845. description: 仓库id
  14846. type: integer
  14847. wrfactortypeid:
  14848. description: 仓单要素ID
  14849. type: string
  14850. wrfactortypename:
  14851. description: 要素名称
  14852. type: string
  14853. wrfactortypename2:
  14854. description: 要素名称(不含仓库)
  14855. type: string
  14856. wrstandardcode:
  14857. description: 品类代码
  14858. type: string
  14859. wrstandardid:
  14860. description: 品类id
  14861. type: integer
  14862. wrstandardname:
  14863. description: 品类名称
  14864. type: string
  14865. type: object
  14866. models.WrFilterItem:
  14867. properties:
  14868. itemcode:
  14869. description: 代码
  14870. type: string
  14871. itemid:
  14872. description: 项id
  14873. type: integer
  14874. itemname:
  14875. description: 名称
  14876. type: string
  14877. itemtype:
  14878. description: 类型 1-品种 2-品类(商品) 3-仓库
  14879. type: integer
  14880. type: object
  14881. models.WrFinanceBuyApply:
  14882. properties:
  14883. applydate:
  14884. description: 申请时间
  14885. type: string
  14886. applystatus:
  14887. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  14888. type: integer
  14889. applyuserid:
  14890. description: 申请人
  14891. type: integer
  14892. auditdate:
  14893. description: 审核时间
  14894. type: string
  14895. auditremark:
  14896. description: 审核备注
  14897. type: string
  14898. audituserid:
  14899. description: 审核人
  14900. type: integer
  14901. buyaccountid:
  14902. description: 买方资金账号
  14903. type: integer
  14904. buyorsell:
  14905. description: 买卖 - 0:买 1:卖
  14906. type: integer
  14907. buyuserid:
  14908. description: 买方用户ID
  14909. type: integer
  14910. buyusername:
  14911. description: 买方名称
  14912. type: string
  14913. buywrtradeorderid:
  14914. description: 融资方买委托单ID
  14915. type: string
  14916. deliverygoodscode:
  14917. description: 品种代码
  14918. type: string
  14919. deliverygoodsid:
  14920. description: 品种ID
  14921. type: integer
  14922. deliverygoodsname:
  14923. description: 品种名称
  14924. type: string
  14925. deliverymonth:
  14926. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  14927. type: string
  14928. enumdicname:
  14929. description: 单位名称
  14930. type: string
  14931. financeaccountid:
  14932. description: 融资方资金帐户ID
  14933. type: integer
  14934. financeapplyid:
  14935. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  14936. type: string
  14937. financeareauserid:
  14938. description: 融资方用户ID
  14939. type: string
  14940. financename:
  14941. description: 融出方名称
  14942. type: string
  14943. financetype:
  14944. description: 融资类型 1-融资回购
  14945. type: integer
  14946. financingdays:
  14947. description: 天数(天)
  14948. type: integer
  14949. freezebuymargin:
  14950. description: 冻结融资保证金(买方)
  14951. type: number
  14952. handleremark:
  14953. description: 处理备注
  14954. type: string
  14955. handlestatus:
  14956. description: 处理状态
  14957. type: integer
  14958. interestminlen:
  14959. description: 最小起息天数
  14960. type: integer
  14961. interestrate:
  14962. description: 利率
  14963. type: number
  14964. interestratemode:
  14965. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  14966. type: integer
  14967. interestsettlemode:
  14968. description: 结息方式 - 1:按日结息 3:按月结息
  14969. type: integer
  14970. interestsettlevalue:
  14971. description: 结息方式值
  14972. type: integer
  14973. isautoloan:
  14974. description: 是否自动放款 - 0:手动 1:自动
  14975. type: integer
  14976. marginratio:
  14977. description: 保证金比率质押率 - [仓单质押]
  14978. type: number
  14979. marketid:
  14980. description: 市场ID
  14981. type: integer
  14982. minivalue:
  14983. description: 现货商品最小变动值
  14984. type: integer
  14985. optioncompare:
  14986. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14987. type: string
  14988. orderqty:
  14989. description: 委托数量(商品数量)
  14990. type: number
  14991. productdetailid:
  14992. description: 产品组合ID
  14993. type: integer
  14994. productid:
  14995. description: 金融产品ID
  14996. type: integer
  14997. productname:
  14998. description: 产品名称
  14999. type: string
  15000. remark:
  15001. description: 备注
  15002. type: string
  15003. scfcontractid:
  15004. description: 仓单回购合同ID
  15005. type: string
  15006. sellaccountid:
  15007. description: 卖方资金账号
  15008. type: integer
  15009. selluserid:
  15010. description: 卖方用户ID
  15011. type: integer
  15012. sellwrtradeorderid:
  15013. description: 卖方委托单ID
  15014. type: string
  15015. tradeamount:
  15016. description: 成交金额(借款金额)
  15017. type: number
  15018. tradedate:
  15019. description: 交易日(yyyyMMdd)
  15020. type: string
  15021. tradeprice:
  15022. description: 成交价格
  15023. type: number
  15024. warehouseid:
  15025. description: 仓库ID
  15026. type: integer
  15027. warehousename:
  15028. description: 仓库名称
  15029. type: string
  15030. wrfactortypeid:
  15031. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15032. type: string
  15033. wrfactortypename:
  15034. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15035. type: string
  15036. wrpricetype:
  15037. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  15038. type: integer
  15039. wrstandardcode:
  15040. description: 现货商品代码
  15041. type: string
  15042. wrstandardid:
  15043. description: 现货商品ID
  15044. type: integer
  15045. wrstandardname:
  15046. description: 商品名称
  15047. type: string
  15048. wrtypename:
  15049. description: 商品
  15050. type: string
  15051. type: object
  15052. models.WrFriendApply:
  15053. properties:
  15054. applicantid:
  15055. description: 申请人
  15056. type: integer
  15057. applyname:
  15058. description: 申请人名称
  15059. type: string
  15060. applysrc:
  15061. description: 申请来源 - 1:管理端 2:终端
  15062. type: integer
  15063. applystatus:
  15064. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  15065. type: integer
  15066. applytime:
  15067. description: 申请时间
  15068. type: string
  15069. auditname:
  15070. description: 审核人名称
  15071. type: string
  15072. auditorid:
  15073. description: 审核人
  15074. type: integer
  15075. auditremark:
  15076. description: 审核备注
  15077. type: string
  15078. auditsrc:
  15079. description: 审核来源 - 1:管理端 2:终端
  15080. type: integer
  15081. audittime:
  15082. description: 审核时间
  15083. type: string
  15084. friendapplyid:
  15085. description: 申请ID(SEQ_FRIENDAPPLY)
  15086. type: string
  15087. friendname:
  15088. description: 好友名字(已脱敏)
  15089. type: string
  15090. frienduserid:
  15091. description: 好友用户ID
  15092. type: string
  15093. remark:
  15094. description: 备注
  15095. type: string
  15096. userid:
  15097. description: 申请人用户ID
  15098. type: integer
  15099. type: object
  15100. models.WrFtDeliveryGoods:
  15101. properties:
  15102. deliverygoodscode:
  15103. description: 品种代码
  15104. type: string
  15105. deliverygoodsid:
  15106. description: 品种ID
  15107. type: integer
  15108. deliverygoodsname:
  15109. description: 品种名称
  15110. type: string
  15111. wdlst:
  15112. description: 商品列表
  15113. items:
  15114. $ref: '#/definitions/models.WrFtWrstandard'
  15115. type: array
  15116. type: object
  15117. models.WrFtWrstandard:
  15118. properties:
  15119. enumdicname:
  15120. description: 单位名称
  15121. type: string
  15122. minivalue:
  15123. description: 最小变动值
  15124. type: integer
  15125. wrstandardcode:
  15126. description: 现货商品代码
  15127. type: string
  15128. wrstandardid:
  15129. description: 现货商品ID
  15130. type: integer
  15131. wrstandardname:
  15132. description: 商品名称
  15133. type: string
  15134. type: object
  15135. models.WrGoodsInfo:
  15136. properties:
  15137. haswr:
  15138. description: 0:仓单预售 1:仓单贸易
  15139. type: integer
  15140. lstitem:
  15141. description: 商品信息项
  15142. items:
  15143. $ref: '#/definitions/models.WrTypeItem'
  15144. type: array
  15145. lststep:
  15146. description: 履约规则
  15147. items:
  15148. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  15149. type: array
  15150. marketid:
  15151. description: 市场id
  15152. type: integer
  15153. type: object
  15154. models.WrGoodsPerformanceStep:
  15155. properties:
  15156. autoid:
  15157. description: AutoID
  15158. type: integer
  15159. isauto:
  15160. description: 是否自动 - 0:不自动 1:自动
  15161. type: integer
  15162. remark:
  15163. description: 备注
  15164. type: string
  15165. stepdate:
  15166. description: 天数信息(T+N)
  15167. type: string
  15168. stepdays:
  15169. description: 距离上一步天数
  15170. type: integer
  15171. stepindex:
  15172. description: 步骤序号
  15173. type: integer
  15174. stepinfo:
  15175. description: 步骤信息(步骤名称+步骤值)
  15176. type: string
  15177. steptypeid:
  15178. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  15179. type: integer
  15180. steptypename:
  15181. description: 步骤名称
  15182. type: string
  15183. stepvalue:
  15184. description: 步骤值
  15185. type: number
  15186. templateid:
  15187. description: 履约计划模板ID
  15188. type: integer
  15189. type: object
  15190. models.WrHoldLB:
  15191. properties:
  15192. accountid:
  15193. description: 持有人帐户ID
  15194. type: integer
  15195. createtime:
  15196. description: 创建时间(过户时间)
  15197. type: string
  15198. deliverygoodscode:
  15199. description: 品种代码
  15200. type: string
  15201. deliverygoodsid:
  15202. description: 品种ID
  15203. type: integer
  15204. deliverygoodsname:
  15205. description: 品种名称
  15206. type: string
  15207. enableqty:
  15208. description: 可用数量
  15209. type: number
  15210. enumdicname:
  15211. description: 单位名称
  15212. type: string
  15213. freezerqty:
  15214. description: 冻结数量
  15215. type: number
  15216. ladingbillid:
  15217. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  15218. type: string
  15219. minivalue:
  15220. description: 现货商品最小变动值
  15221. type: integer
  15222. optioncompare:
  15223. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15224. type: string
  15225. parentsubnum:
  15226. description: 拆分父子单号
  15227. type: integer
  15228. pledgeqty:
  15229. description: 质押数量
  15230. type: number
  15231. qty:
  15232. description: 数量
  15233. type: number
  15234. subnum:
  15235. description: 提单子单号
  15236. type: integer
  15237. tradedate:
  15238. description: 交易日(yyyyMMdd)
  15239. type: string
  15240. userid:
  15241. description: 持有人ID
  15242. type: integer
  15243. warehouseid:
  15244. description: 仓库ID
  15245. type: integer
  15246. warehousename:
  15247. description: 仓库名称
  15248. type: string
  15249. wrfactortypeid:
  15250. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15251. type: string
  15252. wrfactortypename:
  15253. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15254. type: string
  15255. wrholdeno:
  15256. description: 仓单编号
  15257. type: string
  15258. wrid:
  15259. description: 仓单变更ID
  15260. type: string
  15261. wrstandardcode:
  15262. description: 现货商品代码
  15263. type: string
  15264. wrstandardid:
  15265. description: 现货商品ID
  15266. type: integer
  15267. wrstandardname:
  15268. description: 商品名称
  15269. type: string
  15270. wrtypename:
  15271. description: 商品
  15272. type: string
  15273. type: object
  15274. models.WrMarketTradeConfig:
  15275. properties:
  15276. basisdownratio:
  15277. description: 浮动价基差下限比例(仓单贸易)
  15278. type: number
  15279. basisupratio:
  15280. description: 浮动价基差上限比例(仓单贸易)
  15281. type: number
  15282. buychargealgorithm:
  15283. description: 买方手续费收取方式 1:比率 2:固定
  15284. type: integer
  15285. buychargealgorithm2:
  15286. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  15287. type: integer
  15288. buychargealgorithmvalue:
  15289. description: 买方手续费设置值(交易所部分)
  15290. type: number
  15291. buychargealgorithmvalue2:
  15292. description: 买方手续费设置值(会员部分)
  15293. type: number
  15294. buychargealgorithmvalue3:
  15295. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  15296. type: number
  15297. buychargealgorithmvalue4:
  15298. description: 回购买方手续费设置值(会员部分) --77:现货商城
  15299. type: number
  15300. buyfirstmarginalgorithm:
  15301. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  15302. type: integer
  15303. buyfirstmarginvalue:
  15304. description: 买方出价保证金设置值 - [竞拍]
  15305. type: number
  15306. buymarginalgorithm:
  15307. description: 买方保证金方式 - 1:比率 2:固定
  15308. type: integer
  15309. buymarginvalue:
  15310. description: 买方保证金设置值
  15311. type: number
  15312. buyreleaseratio:
  15313. description: 买方释放比率[2:分步履约]
  15314. type: number
  15315. executemode:
  15316. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  15317. type: integer
  15318. executeside:
  15319. description: 执行方[2:分步履约] - 1:买方 2:卖方
  15320. type: integer
  15321. failedchargealgorithm:
  15322. description: 流拍手续费收取方式 1:比率 2:固定
  15323. type: integer
  15324. failedchargevalue:
  15325. description: 流拍手续费设置值
  15326. type: number
  15327. failedchargevalue2:
  15328. description: 流拍卖方手续费设置值
  15329. type: number
  15330. holddays:
  15331. description: 合同期限[2:分步履约]
  15332. type: integer
  15333. marketid:
  15334. description: 市场ID-仓单贸易、竞拍、预售
  15335. type: integer
  15336. minqty:
  15337. description: 最小执行量[2:分步履约]
  15338. type: number
  15339. modifierid:
  15340. description: 修改人
  15341. type: integer
  15342. performancetempid:
  15343. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)
  15344. type: integer
  15345. performancetempid2:
  15346. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行
  15347. type: integer
  15348. performanceway:
  15349. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  15350. type: integer
  15351. sellchargealgorithm:
  15352. description: 卖方手续费收取方式 1:比率 2:固定
  15353. type: integer
  15354. sellchargealgorithm2:
  15355. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  15356. type: integer
  15357. sellchargealgorithmvalue:
  15358. description: 卖方手续费设置值(交易所部分)
  15359. type: number
  15360. sellchargealgorithmvalue2:
  15361. description: 卖方手续费设置值(会员部分)
  15362. type: number
  15363. sellchargealgorithmvalue3:
  15364. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  15365. type: number
  15366. sellchargealgorithmvalue4:
  15367. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  15368. type: number
  15369. sellmarginalgorithm:
  15370. description: 卖方保证金方式 - 1:比率 2:固定
  15371. type: integer
  15372. sellmarginvalue:
  15373. description: 卖方保证金设置值
  15374. type: number
  15375. sellmarginvalue2:
  15376. description: 卖方保证金设置值(无仓单)
  15377. type: number
  15378. sellreleaseratio:
  15379. description: 卖方释放比率[2:分步履约]
  15380. type: number
  15381. updatetime:
  15382. description: 更新时间
  15383. type: string
  15384. type: object
  15385. models.WrOrderDetail:
  15386. properties:
  15387. accountid:
  15388. description: 交易账号(资金账号)
  15389. type: integer
  15390. allfriendsflag:
  15391. description: 是否全好友可见 - 0:否 1:是
  15392. type: integer
  15393. amount:
  15394. description: 挂牌金额 = 委托数量 * 固定价或升贴水
  15395. type: number
  15396. buyorsell:
  15397. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  15398. type: integer
  15399. canbargain:
  15400. description: 是否可议价 - 0:不可 1:可
  15401. type: integer
  15402. cancelqty:
  15403. description: 撤销数量
  15404. type: number
  15405. canpart:
  15406. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  15407. type: integer
  15408. delistminqty:
  15409. description: 起摘数量
  15410. type: integer
  15411. deliverygoodscode:
  15412. description: 品种代码
  15413. type: string
  15414. deliverygoodsid:
  15415. description: 品种ID
  15416. type: integer
  15417. deliverygoodsname:
  15418. description: 品种名称
  15419. type: string
  15420. deliverymonth:
  15421. description: 交收月
  15422. type: string
  15423. enumdicname:
  15424. description: 单位名称
  15425. type: string
  15426. fixedprice:
  15427. description: 固定价格 - [挂牌]
  15428. type: number
  15429. freezemargin:
  15430. description: 冻结保证金(保证金)
  15431. type: number
  15432. futupricemove:
  15433. description: 期货升贴水
  15434. type: number
  15435. futushow:
  15436. description: 期货合约/升贴水
  15437. type: string
  15438. goodscode:
  15439. description: 期货合约
  15440. type: string
  15441. goodsid:
  15442. description: 期货商品id
  15443. type: integer
  15444. goodsname:
  15445. description: 商品名称
  15446. type: string
  15447. haswr:
  15448. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  15449. type: integer
  15450. isspecified:
  15451. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  15452. type: integer
  15453. ladingbillid:
  15454. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  15455. type: string
  15456. marginvalue:
  15457. description: 保证金设置值(履约保证金)
  15458. type: number
  15459. marketid:
  15460. description: 市场ID
  15461. type: integer
  15462. matchusername:
  15463. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  15464. type: string
  15465. minivalue:
  15466. description: 现货商品最小变动值
  15467. type: integer
  15468. optioncompare:
  15469. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15470. type: string
  15471. orderqty:
  15472. description: 委托数量
  15473. type: number
  15474. ordertime:
  15475. description: 委托时间(挂牌时间)
  15476. type: string
  15477. performancetemplateid:
  15478. description: 履约模板id
  15479. type: integer
  15480. pricemove:
  15481. description: 升贴水(浮动价时填写) - [挂牌]
  15482. type: number
  15483. taname:
  15484. description: 交易用户名称(资金账号名称)
  15485. type: string
  15486. tradedate:
  15487. description: 交易日(yyyyMMdd)
  15488. type: string
  15489. tradeprice:
  15490. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  15491. type: number
  15492. tradeqty:
  15493. description: 成交数量
  15494. type: number
  15495. userid:
  15496. description: 用户ID
  15497. type: integer
  15498. validtime:
  15499. description: 挂牌有效期
  15500. type: string
  15501. warehouseid:
  15502. description: 仓库ID
  15503. type: integer
  15504. warehousename:
  15505. description: 仓库名称
  15506. type: string
  15507. wrfactortypeid:
  15508. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15509. type: string
  15510. wrfactortypename:
  15511. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15512. type: string
  15513. wrpricetype:
  15514. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  15515. type: integer
  15516. wrstandardcode:
  15517. description: 现货商品代码
  15518. type: string
  15519. wrstandardid:
  15520. description: 现货商品ID
  15521. type: integer
  15522. wrstandardname:
  15523. description: 商品名称
  15524. type: string
  15525. wrtradeorderid:
  15526. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15527. type: string
  15528. wrtradeorderstatus:
  15529. 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:撤单解冻贷款失败
  15530. type: integer
  15531. wrtradetype:
  15532. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  15533. type: integer
  15534. wrtypename:
  15535. description: 商品
  15536. type: string
  15537. type: object
  15538. models.WrOrderQuote:
  15539. properties:
  15540. buyprice:
  15541. description: 买价
  15542. type: number
  15543. buypricemove:
  15544. description: 买升贴水(基差)
  15545. type: number
  15546. buyqty:
  15547. description: 买量
  15548. type: number
  15549. deliverygoodscode:
  15550. description: 品种代码
  15551. type: string
  15552. deliverygoodsid:
  15553. description: 品种id
  15554. type: integer
  15555. deliverygoodsname:
  15556. description: 品种名称
  15557. type: string
  15558. deliverymonth:
  15559. description: 交收月
  15560. type: string
  15561. enumdicname:
  15562. description: 单位名称
  15563. type: string
  15564. goodscode:
  15565. description: 商品合约(浮动价列表才有)
  15566. type: string
  15567. goodsid:
  15568. description: 商品id(浮动价列表才有)
  15569. type: integer
  15570. minivalue:
  15571. description: 现货商品最小变动值
  15572. type: integer
  15573. sellprice:
  15574. description: 卖价
  15575. type: number
  15576. sellpricemove:
  15577. description: 卖升贴水(基差)
  15578. type: number
  15579. sellqty:
  15580. description: 卖量
  15581. type: number
  15582. warehousecode:
  15583. description: 仓库代码
  15584. type: string
  15585. warehouseid:
  15586. description: 仓库id
  15587. type: integer
  15588. warehousename:
  15589. description: 仓库名称
  15590. type: string
  15591. wrfactortypeid:
  15592. description: 仓单要素id
  15593. type: string
  15594. wrfactortypename:
  15595. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15596. type: string
  15597. wrgoodsname:
  15598. description: 商品(商品名称+仓库要素名称 拼接)
  15599. type: string
  15600. wrstandardcode:
  15601. description: 商品代码
  15602. type: string
  15603. wrstandardid:
  15604. description: 商品id
  15605. type: integer
  15606. wrstandardname:
  15607. description: 商品名称
  15608. type: string
  15609. type: object
  15610. models.WrOrderQuoteDetail:
  15611. properties:
  15612. buyorsell:
  15613. description: 买卖 - 0:买 1:卖
  15614. type: integer
  15615. delistminqty:
  15616. description: 起摘数量
  15617. type: number
  15618. deliverymonth:
  15619. description: 交收月
  15620. type: string
  15621. enumdicname:
  15622. description: 单位名称
  15623. type: string
  15624. fixedprice:
  15625. description: 买(卖)价
  15626. type: number
  15627. minivalue:
  15628. description: 现货商品最小变动值
  15629. type: integer
  15630. orderqty:
  15631. description: 买(卖)量(=委托量-成交量)
  15632. type: number
  15633. ordertime:
  15634. description: 委托时间
  15635. type: string
  15636. pricemove:
  15637. description: 买(卖)升贴水- 基差
  15638. type: number
  15639. userid:
  15640. description: 购买方(销售方)用户ID
  15641. type: integer
  15642. username:
  15643. description: 购买方(销售方)
  15644. type: string
  15645. wrtradeorderid:
  15646. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15647. type: string
  15648. type: object
  15649. models.WrOutInApply:
  15650. properties:
  15651. applyid:
  15652. description: 申请单id
  15653. type: string
  15654. applystatus:
  15655. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  15656. type: integer
  15657. applytime:
  15658. description: 申请时间
  15659. type: string
  15660. applytype:
  15661. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  15662. type: integer
  15663. deliverygoodscode:
  15664. description: 品种代码
  15665. type: string
  15666. deliverygoodsid:
  15667. description: 品种ID
  15668. type: integer
  15669. deliverygoodsname:
  15670. description: 品种名称
  15671. type: string
  15672. enumdicname:
  15673. description: 单位名称
  15674. type: string
  15675. expresscompany:
  15676. description: 物流公司
  15677. type: string
  15678. expressnum:
  15679. description: 物流单号
  15680. type: string
  15681. minivalue:
  15682. description: 现货商品最小变动值
  15683. type: integer
  15684. optioncompare:
  15685. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15686. type: string
  15687. qty:
  15688. description: 数量
  15689. type: integer
  15690. userid:
  15691. description: 用户id
  15692. type: integer
  15693. warehouseid:
  15694. description: 仓库ID
  15695. type: integer
  15696. warehousename:
  15697. description: 仓库名称
  15698. type: string
  15699. wrfactortypeid:
  15700. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15701. type: string
  15702. wrfactortypename:
  15703. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15704. type: string
  15705. wrstandardcode:
  15706. description: 现货商品代码
  15707. type: string
  15708. wrstandardid:
  15709. description: 现货商品ID
  15710. type: integer
  15711. wrstandardname:
  15712. description: 商品名称
  15713. type: string
  15714. wrtypename:
  15715. description: 商品
  15716. type: string
  15717. type: object
  15718. models.WrPerformancePlan:
  15719. properties:
  15720. activatemonth:
  15721. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  15722. type: string
  15723. amount:
  15724. description: 履约金额(总金额)
  15725. type: number
  15726. buyaccountid:
  15727. description: 买方账号
  15728. type: integer
  15729. buyerfreezeamount:
  15730. description: 履约冻结(买履约)
  15731. type: number
  15732. buyerfreezeamountremain:
  15733. description: 履约冻结剩余(买履约)
  15734. type: number
  15735. buyorsell:
  15736. description: 买卖方向 0-买 1-卖
  15737. type: integer
  15738. buypaidamount:
  15739. description: 买方已冻/已扣金额 (已付金额)
  15740. type: number
  15741. buyusername:
  15742. description: 买方名字
  15743. type: string
  15744. contractid:
  15745. description: 合同ID
  15746. type: integer
  15747. createtime:
  15748. description: 创建时间
  15749. type: string
  15750. creatorid:
  15751. description: 创建人
  15752. type: integer
  15753. curstepdeadline:
  15754. description: 当前步骤到期时间
  15755. type: string
  15756. curstepid:
  15757. description: 当前步骤ID
  15758. type: string
  15759. curstepname:
  15760. description: 当前步骤名称
  15761. type: string
  15762. deliverygoodscode:
  15763. description: 品种代码
  15764. type: string
  15765. deliverygoodsid:
  15766. description: 品种ID
  15767. type: integer
  15768. deliverygoodsname:
  15769. description: 品种名称
  15770. type: string
  15771. enumdicname:
  15772. description: 单位名称
  15773. type: string
  15774. expressfee:
  15775. description: 运费
  15776. type: number
  15777. expressfeeconfirmed:
  15778. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  15779. type: integer
  15780. hasovershort:
  15781. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  15782. type: integer
  15783. haswr:
  15784. description: 类型 0-仓单预售 1-仓单贸易
  15785. type: integer
  15786. marketid:
  15787. description: 市场ID
  15788. type: integer
  15789. middleaccountid:
  15790. description: 中间商资金账号ID
  15791. type: integer
  15792. middleuserid:
  15793. description: 中间商用户ID
  15794. type: integer
  15795. minivalue:
  15796. description: 现货商品最小变动值
  15797. type: integer
  15798. optioncompare:
  15799. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15800. type: string
  15801. overshortamount:
  15802. description: 溢短金额
  15803. type: number
  15804. overshortqty:
  15805. description: 溢短数量
  15806. type: number
  15807. paymenttype:
  15808. description: 付款方式 - 1:冻结 2:扣款
  15809. type: integer
  15810. performanceplanid:
  15811. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  15812. type: string
  15813. performancestatus:
  15814. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭
  15815. type: integer
  15816. performancetype:
  15817. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  15818. type: integer
  15819. qty:
  15820. description: 履约数量
  15821. type: number
  15822. relatedorderid:
  15823. description: 关联单号(履约类型的关联单号)
  15824. type: string
  15825. remark:
  15826. description: 备注
  15827. type: string
  15828. sellaccountid:
  15829. description: 卖方账号
  15830. type: integer
  15831. sellerfreezeamount:
  15832. description: 履约冻结(卖履约)
  15833. type: number
  15834. sellerfreezeamountremain:
  15835. description: 履约冻结剩余(卖履约)
  15836. type: number
  15837. sellreceivedamount:
  15838. description: 卖方已收金额
  15839. type: number
  15840. sellusername:
  15841. description: 卖方名字
  15842. type: string
  15843. shipremark:
  15844. description: 发货备注[物流单号]
  15845. type: string
  15846. starttime:
  15847. description: 开始时间
  15848. type: string
  15849. steptypeid:
  15850. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  15851. type: integer
  15852. typename:
  15853. description: 履约类型 名称
  15854. type: string
  15855. unpaidamount:
  15856. description: 剩余款(待支付金额)
  15857. type: number
  15858. userid:
  15859. description: 用户id
  15860. type: integer
  15861. warehouseid:
  15862. description: 仓库ID
  15863. type: integer
  15864. warehousename:
  15865. description: 仓库名称
  15866. type: string
  15867. wrfactortypeid:
  15868. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15869. type: string
  15870. wrfactortypename:
  15871. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15872. type: string
  15873. wrstandardcode:
  15874. description: 现货商品代码
  15875. type: string
  15876. wrstandardid:
  15877. description: 现货商品ID
  15878. type: integer
  15879. wrstandardname:
  15880. description: 商品名称
  15881. type: string
  15882. wrtransferuserid:
  15883. description: 仓单受让用户
  15884. type: integer
  15885. wrtypename:
  15886. description: 商品
  15887. type: string
  15888. required:
  15889. - userid
  15890. type: object
  15891. models.WrPerformancePlanStep:
  15892. properties:
  15893. delaydays:
  15894. description: 延期申请天数
  15895. type: integer
  15896. deliverygoodscode:
  15897. description: 品种代码
  15898. type: string
  15899. deliverygoodsid:
  15900. description: 品种ID
  15901. type: integer
  15902. deliverygoodsname:
  15903. description: 品种名称
  15904. type: string
  15905. endtime:
  15906. description: 结束日期
  15907. type: string
  15908. enumdicname:
  15909. description: 单位名称
  15910. type: string
  15911. executeside:
  15912. description: 步骤执行方 - 1:买方 2:卖方
  15913. type: integer
  15914. handlestatus:
  15915. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  15916. type: integer
  15917. isauto:
  15918. description: 是否自动 - 0:不自动 1:自动
  15919. type: integer
  15920. islastreceivestep:
  15921. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  15922. type: integer
  15923. minivalue:
  15924. description: 现货商品最小变动值
  15925. type: integer
  15926. optioncompare:
  15927. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15928. type: string
  15929. overdays:
  15930. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  15931. type: integer
  15932. performancestepid:
  15933. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  15934. type: string
  15935. planid:
  15936. description: 所属履约计划ID
  15937. type: string
  15938. realamount:
  15939. description: 实际完成金额
  15940. type: number
  15941. relatedorderid:
  15942. description: 关联单号
  15943. type: string
  15944. remaindays:
  15945. description: 剩余天数
  15946. type: integer
  15947. remark:
  15948. description: 错误备注
  15949. type: string
  15950. starttime:
  15951. description: 开始日期
  15952. type: string
  15953. stepamount:
  15954. description: 步骤金额
  15955. type: number
  15956. stepdays:
  15957. description: 距离上一步天数(分钟)
  15958. type: integer
  15959. stepindex:
  15960. description: 步骤序号
  15961. type: integer
  15962. steplanchtype:
  15963. description: 步骤启动类型 - 1:系统自动 2:手动
  15964. type: integer
  15965. stepremark:
  15966. description: 步骤备注
  15967. type: string
  15968. stepstatus:
  15969. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  15970. type: integer
  15971. steptypeid:
  15972. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  15973. type: integer
  15974. steptypename:
  15975. description: 步骤名称
  15976. type: string
  15977. stepvalue:
  15978. description: 步骤值
  15979. type: number
  15980. warehouseid:
  15981. description: 仓库ID
  15982. type: integer
  15983. warehousename:
  15984. description: 仓库名称
  15985. type: string
  15986. wrfactortypeid:
  15987. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15988. type: string
  15989. wrfactortypename:
  15990. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15991. type: string
  15992. wrstandardcode:
  15993. description: 现货商品代码
  15994. type: string
  15995. wrstandardid:
  15996. description: 现货商品ID
  15997. type: integer
  15998. wrstandardname:
  15999. description: 商品名称
  16000. type: string
  16001. wrtypename:
  16002. description: 商品
  16003. type: string
  16004. type: object
  16005. models.WrPerformanceStepType:
  16006. properties:
  16007. canauto:
  16008. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  16009. type: integer
  16010. steptypeid:
  16011. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  16012. type: integer
  16013. steptypename:
  16014. description: 步骤类型名称
  16015. type: string
  16016. type: object
  16017. models.WrPerformanceTemplateEx:
  16018. properties:
  16019. autoid:
  16020. description: AutoID 模板id
  16021. type: integer
  16022. createtime:
  16023. description: 创建时间
  16024. type: string
  16025. creatorid:
  16026. description: 创建人
  16027. type: integer
  16028. lstStep:
  16029. description: 步骤信息列表
  16030. items:
  16031. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  16032. type: array
  16033. paymenttype:
  16034. description: 支付方式 - 1:冻结 2:扣款
  16035. type: integer
  16036. takemode:
  16037. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  16038. type: integer
  16039. templatename:
  16040. description: 模板名称
  16041. type: string
  16042. templatetype:
  16043. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  16044. type: integer
  16045. userid:
  16046. description: 所属用户
  16047. type: integer
  16048. type: object
  16049. models.WrPosition:
  16050. properties:
  16051. accountid:
  16052. description: 帐户ID
  16053. type: integer
  16054. buyexcuteqty:
  16055. description: 采购履约中数量
  16056. type: number
  16057. creditcurqty:
  16058. description: 授信当前数量(预售仓单:预售当前量)
  16059. type: number
  16060. creditenableqty:
  16061. description: '授信可用数量(预售仓单: 可用数量)'
  16062. type: number
  16063. creditfreezeqty:
  16064. description: '授信冻结数量(预售仓单: 当前数量)'
  16065. type: number
  16066. credittotalqty:
  16067. description: 授信总数量(预售仓单:预售总量)
  16068. type: number
  16069. credittradeqty:
  16070. description: 授信成交数量(预售仓单:成交总量)
  16071. type: number
  16072. deliverygoodscode:
  16073. description: 品种代码
  16074. type: string
  16075. deliverygoodsid:
  16076. description: 品种ID
  16077. type: integer
  16078. deliverygoodsname:
  16079. description: 品种名称
  16080. type: string
  16081. enalbeqty:
  16082. description: 可用数量
  16083. type: number
  16084. enumdicname:
  16085. description: 单位名称
  16086. type: string
  16087. freezeqty:
  16088. description: 总冻结数量
  16089. type: number
  16090. haswr:
  16091. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16092. type: integer
  16093. minivalue:
  16094. description: 现货商品最小变动值
  16095. type: integer
  16096. modifytime:
  16097. description: 修改时间(过户时间)
  16098. type: string
  16099. optioncompare:
  16100. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16101. type: string
  16102. pledgeqty:
  16103. description: 质押数量
  16104. type: number
  16105. querytype:
  16106. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  16107. type: integer
  16108. sellexcuteqty:
  16109. description: 销售履约中数量
  16110. type: number
  16111. totalqty:
  16112. description: 总数量(库存数量)
  16113. type: number
  16114. warehouseid:
  16115. description: 仓库ID
  16116. type: integer
  16117. warehousename:
  16118. description: 仓库名称
  16119. type: string
  16120. wrfactortypeid:
  16121. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16122. type: string
  16123. wrfactortypename:
  16124. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16125. type: string
  16126. wrpositionid:
  16127. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  16128. type: string
  16129. wrpositionno:
  16130. description: 仓单编号
  16131. type: string
  16132. wrstandardcode:
  16133. description: 现货商品代码
  16134. type: string
  16135. wrstandardid:
  16136. description: 现货商品ID
  16137. type: integer
  16138. wrstandardname:
  16139. description: 商品名称
  16140. type: string
  16141. wrtypename:
  16142. description: 商品
  16143. type: string
  16144. wruserid:
  16145. description: 持有人ID
  16146. type: integer
  16147. type: object
  16148. models.WrQuoteOrderMyq:
  16149. properties:
  16150. buyorsell:
  16151. description: 买卖 - 0:买 1:卖
  16152. type: integer
  16153. canbargain:
  16154. description: 是否可议价 - 0:不可 1:可
  16155. type: integer
  16156. canpart:
  16157. description: 是否允许部份摘牌 - 0:不允许 1:允许
  16158. type: integer
  16159. delistminqty:
  16160. description: 起摘数量
  16161. type: number
  16162. deliverygoodscode:
  16163. description: 品种代码
  16164. type: string
  16165. deliverygoodsid:
  16166. description: 品种ID
  16167. type: integer
  16168. deliverygoodsname:
  16169. description: 品种名称
  16170. type: string
  16171. deliverymonth:
  16172. description: 交收月
  16173. type: string
  16174. enumdicname:
  16175. description: 单位名称
  16176. type: string
  16177. fixedprice:
  16178. description: 买(卖)价
  16179. type: number
  16180. goodscode:
  16181. description: 商品合约代码
  16182. type: string
  16183. marginflag:
  16184. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  16185. type: integer
  16186. marginvalue:
  16187. description: 保证金设置值
  16188. type: number
  16189. minivalue:
  16190. description: 现货商品最小变动值
  16191. type: integer
  16192. orderqty:
  16193. description: 买(卖)量(=委托量-成交量)
  16194. type: number
  16195. ordertime:
  16196. description: 委托时间
  16197. type: string
  16198. performancetemplateid:
  16199. description: 履约模板id
  16200. type: integer
  16201. pricemove:
  16202. description: 买(卖)升贴水- 基差
  16203. type: number
  16204. templatename:
  16205. description: 履约模板名称
  16206. type: string
  16207. userid:
  16208. description: 购买方(销售方)用户ID
  16209. type: integer
  16210. username:
  16211. description: 购买方(销售方)
  16212. type: string
  16213. validtime:
  16214. description: 有效期限
  16215. type: string
  16216. validtype:
  16217. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  16218. type: integer
  16219. warehousename:
  16220. description: 仓库名称
  16221. type: string
  16222. wrfactortypeid:
  16223. description: 仓单要素id
  16224. type: string
  16225. wrstandardcode:
  16226. description: 现货商品代码
  16227. type: string
  16228. wrstandardid:
  16229. description: 现货商品ID
  16230. type: integer
  16231. wrstandardname:
  16232. description: 商品名称
  16233. type: string
  16234. wrtradeorderid:
  16235. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16236. type: string
  16237. wrtypename:
  16238. description: 商品
  16239. type: string
  16240. type: object
  16241. models.WrScfContract:
  16242. properties:
  16243. borroweruserid:
  16244. description: 借款用户ID
  16245. type: integer
  16246. buybackwrpositionqty:
  16247. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  16248. type: number
  16249. closeinterest:
  16250. description: 已结利息 -> 已结费用
  16251. type: number
  16252. currisklevel:
  16253. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  16254. type: integer
  16255. deadline:
  16256. description: 截止日期(yyyyMMdd) -> 借款到期时间
  16257. type: string
  16258. deliverygoodscode:
  16259. description: 品种代码
  16260. type: string
  16261. deliverygoodsid:
  16262. description: 品种ID
  16263. type: integer
  16264. deliverygoodsname:
  16265. description: 品种名称
  16266. type: string
  16267. enumdicname:
  16268. description: 单位名称
  16269. type: string
  16270. financingdays:
  16271. description: 天数(天)
  16272. type: integer
  16273. initmargin:
  16274. description: 保证金 - [仓单回购]
  16275. type: number
  16276. interestamount:
  16277. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  16278. type: number
  16279. interestdebt:
  16280. description: 利息欠款(记录负数) -> 费用欠款
  16281. type: number
  16282. interestminlen:
  16283. description: 最小起息天数
  16284. type: integer
  16285. interestrate:
  16286. description: 利率
  16287. type: number
  16288. interestratemode:
  16289. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  16290. type: integer
  16291. interestsettlemode:
  16292. description: 结息方式 - 1:按日结息 3:按月结息
  16293. type: integer
  16294. interestsettlevalue:
  16295. description: 结息方式值
  16296. type: integer
  16297. isautoloan:
  16298. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  16299. type: integer
  16300. lastcloseinterestday:
  16301. description: 最近结息日(yyyyMMdd)
  16302. type: string
  16303. lenderamount:
  16304. description: 贷款金额 -> 借款金额
  16305. type: number
  16306. lenderuserid:
  16307. description: 贷款方用户ID -> 融出方用户ID
  16308. type: integer
  16309. lenderusername:
  16310. description: 融出方
  16311. type: string
  16312. marginratio:
  16313. description: 保证金比率质押率 - [仓单质押]
  16314. type: number
  16315. marketid:
  16316. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  16317. type: integer
  16318. minivalue:
  16319. description: 现货商品最小变动值
  16320. type: integer
  16321. optioncompare:
  16322. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16323. type: string
  16324. pricemove:
  16325. description: 估值升贴水值
  16326. type: number
  16327. productdetailid:
  16328. description: 产品组合ID
  16329. type: integer
  16330. productid:
  16331. description: 金融产品ID
  16332. type: integer
  16333. productname:
  16334. description: 产品名称
  16335. type: string
  16336. remainamount:
  16337. description: 合同剩余金额 -> 剩余金额
  16338. type: number
  16339. remainwrpositionqty:
  16340. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  16341. type: number
  16342. remark:
  16343. description: 备注
  16344. type: string
  16345. scfcontractid:
  16346. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  16347. type: string
  16348. scfcontractstatus:
  16349. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交
  16350. type: integer
  16351. scfcontracttype:
  16352. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  16353. type: integer
  16354. startinterestday:
  16355. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  16356. type: string
  16357. totalinterest:
  16358. description: 已计利息 -> 已计费用
  16359. type: number
  16360. unpaidinterest:
  16361. description: 未结费用
  16362. type: number
  16363. updatetime:
  16364. description: 更新时间
  16365. type: string
  16366. warehouseid:
  16367. description: 仓库ID
  16368. type: integer
  16369. warehousename:
  16370. description: 仓库名称
  16371. type: string
  16372. wrfactortypeid:
  16373. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16374. type: string
  16375. wrfactortypename:
  16376. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16377. type: string
  16378. wrqty:
  16379. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  16380. type: number
  16381. wrstandardcode:
  16382. description: 现货商品代码
  16383. type: string
  16384. wrstandardid:
  16385. description: 现货商品ID
  16386. type: integer
  16387. wrstandardname:
  16388. description: 商品名称
  16389. type: string
  16390. wrtypename:
  16391. description: 商品
  16392. type: string
  16393. type: object
  16394. models.WrScfContractInterest:
  16395. properties:
  16396. closeinterest:
  16397. description: 已结利息
  16398. type: number
  16399. closeintereststatus:
  16400. description: 结息状态 - 1:未结 2:已结
  16401. type: integer
  16402. closetime:
  16403. description: 结息时间
  16404. type: string
  16405. closetradedate:
  16406. description: 结息交易日
  16407. type: string
  16408. creatorid:
  16409. description: 操作人ID
  16410. type: integer
  16411. dayrate:
  16412. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  16413. type: number
  16414. interest:
  16415. description: 利息
  16416. type: number
  16417. interestamount:
  16418. description: 计息金额
  16419. type: number
  16420. interestday:
  16421. description: 计息日(yyyyMMdd)
  16422. type: string
  16423. scfcontractid:
  16424. description: SCF合同ID
  16425. type: string
  16426. scfcontractinterestid:
  16427. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  16428. type: integer
  16429. updatetime:
  16430. description: 更新时间
  16431. type: string
  16432. type: object
  16433. models.WrSiteColumnDetail:
  16434. properties:
  16435. brief:
  16436. description: 简介
  16437. type: string
  16438. context:
  16439. description: 内容
  16440. type: string
  16441. coverimage:
  16442. description: 封面图片
  16443. type: string
  16444. creaedate:
  16445. description: 创建时间
  16446. type: string
  16447. id:
  16448. description: ID(SEQ_SITE_COLUMNDETAIL)
  16449. type: integer
  16450. istop:
  16451. description: 是否置顶 - 0:不置 1:置顶
  16452. type: integer
  16453. publishdate:
  16454. description: 发布日期
  16455. type: string
  16456. title:
  16457. description: 标题
  16458. type: string
  16459. updatedate:
  16460. description: 修改时间
  16461. type: string
  16462. type: object
  16463. models.WrSpecialMatchOrder:
  16464. properties:
  16465. amount:
  16466. description: 金额 = 数量 * 价格
  16467. type: number
  16468. buyorsell:
  16469. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  16470. type: integer
  16471. cancelqty:
  16472. description: 撤销数量
  16473. type: number
  16474. deliverygoodscode:
  16475. description: 品种代码
  16476. type: string
  16477. deliverygoodsid:
  16478. description: 品种ID
  16479. type: integer
  16480. deliverygoodsname:
  16481. description: 品种名称
  16482. type: string
  16483. enumdicname:
  16484. description: 单位名称
  16485. type: string
  16486. fixedprice:
  16487. description: 固定价格(价格)
  16488. type: number
  16489. haswr:
  16490. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16491. type: integer
  16492. marketid:
  16493. description: 市场ID
  16494. type: integer
  16495. matchuserid:
  16496. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  16497. type: integer
  16498. matchusername:
  16499. description: 指定方
  16500. type: string
  16501. minivalue:
  16502. description: 现货商品最小变动值
  16503. type: integer
  16504. optioncompare:
  16505. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16506. type: string
  16507. orderqty:
  16508. description: 委托数量
  16509. type: number
  16510. ordertime:
  16511. description: 委托时间
  16512. type: string
  16513. pricemove:
  16514. description: 升贴水(浮动价时填写) - [挂牌]
  16515. type: number
  16516. tradedate:
  16517. description: 交易日(yyyyMMdd)
  16518. type: string
  16519. tradeprice:
  16520. description: 成交价格
  16521. type: number
  16522. tradeqty:
  16523. description: 成交数量
  16524. type: number
  16525. userid:
  16526. description: 用户ID
  16527. type: integer
  16528. username:
  16529. description: 发起方
  16530. type: string
  16531. warehouseid:
  16532. description: 仓库ID
  16533. type: integer
  16534. warehousename:
  16535. description: 仓库名称
  16536. type: string
  16537. wrfactortypeid:
  16538. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16539. type: string
  16540. wrfactortypename:
  16541. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16542. type: string
  16543. wrpricetype:
  16544. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  16545. type: integer
  16546. wrstandardcode:
  16547. description: 现货商品代码
  16548. type: string
  16549. wrstandardid:
  16550. description: 现货商品ID
  16551. type: integer
  16552. wrstandardname:
  16553. description: 商品名称
  16554. type: string
  16555. wrtradeorderid:
  16556. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16557. type: string
  16558. wrtradeorderstatus:
  16559. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  16560. type: integer
  16561. wrtradetype:
  16562. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  16563. type: integer
  16564. wrtypename:
  16565. description: 商品
  16566. type: string
  16567. type: object
  16568. models.WrSpotGroupTradeSum:
  16569. properties:
  16570. deliverygoodscode:
  16571. description: 现货品种代码
  16572. type: string
  16573. deliverygoodsid:
  16574. description: 现货品种ID(SEQ_DELIVERYGOODS)
  16575. type: integer
  16576. deliverygoodsname:
  16577. description: 现货品种名称
  16578. type: string
  16579. lastavgprice:
  16580. description: 上上个交易日价格(前2天价格)
  16581. type: string
  16582. lastreckondate:
  16583. description: 上上个交易日(前2天交易日)
  16584. type: string
  16585. reckondate:
  16586. description: 上个交易日(前1天交易日)
  16587. type: string
  16588. todayavgprice:
  16589. description: 上个交易日价格(前1天价格)
  16590. type: string
  16591. updown:
  16592. description: 涨跌
  16593. type: string
  16594. updownratio:
  16595. description: 涨幅(已格式化, 直接显示即可)
  16596. type: string
  16597. type: object
  16598. models.WrSpotGroupTradeSumDetail:
  16599. properties:
  16600. deliverygoodsid:
  16601. description: 现货商品id
  16602. type: integer
  16603. price:
  16604. description: 价格
  16605. type: number
  16606. reckondate:
  16607. description: 日期(yyymmdd, 如:20211031)
  16608. type: string
  16609. type: object
  16610. models.WrSpotGroupTradeSumEx:
  16611. properties:
  16612. lst:
  16613. description: 指数列表
  16614. items:
  16615. $ref: '#/definitions/models.WrSpotGroupTradeSum'
  16616. type: array
  16617. prereckondate:
  16618. description: 上上个交易日(yyymmdd)
  16619. type: string
  16620. reckondate:
  16621. description: 上个交易日(yyyymmdd)
  16622. type: string
  16623. type: object
  16624. models.WrStandardFactoryItem:
  16625. properties:
  16626. dgfactoryitemid:
  16627. description: 选择项id
  16628. type: integer
  16629. dgfactoryitemvalue:
  16630. description: 要素项值
  16631. type: string
  16632. warehouseid:
  16633. description: 仓库id
  16634. type: integer
  16635. type: object
  16636. models.WrStandardFactoryItemEx:
  16637. properties:
  16638. dgfactoryitemtypeid:
  16639. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  16640. type: integer
  16641. itemlst:
  16642. description: 要素项列表
  16643. items:
  16644. $ref: '#/definitions/models.WrStandardFactoryItem'
  16645. type: array
  16646. itemtypename:
  16647. description: 要素项类型名称
  16648. type: string
  16649. wrstandardid:
  16650. description: 品类
  16651. type: integer
  16652. type: object
  16653. models.WrTradeDetail:
  16654. properties:
  16655. accountid:
  16656. description: 资金账号
  16657. type: integer
  16658. buyorsell:
  16659. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  16660. type: integer
  16661. chargevalue:
  16662. description: 手续费
  16663. type: number
  16664. deliverygoodscode:
  16665. description: 品种代码
  16666. type: string
  16667. deliverygoodsid:
  16668. description: 品种ID
  16669. type: integer
  16670. deliverygoodsname:
  16671. description: 品种名称
  16672. type: string
  16673. deliverymonth:
  16674. description: 交收月
  16675. type: string
  16676. enumdicname:
  16677. description: 单位名称
  16678. type: string
  16679. haswr:
  16680. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16681. type: integer
  16682. marketid:
  16683. description: 市场ID
  16684. type: integer
  16685. matchaccountid:
  16686. description: 对手账号
  16687. type: integer
  16688. matchusername:
  16689. description: 对手方
  16690. type: string
  16691. minivalue:
  16692. description: 现货商品最小变动值
  16693. type: integer
  16694. optioncompare:
  16695. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16696. type: string
  16697. tradedate:
  16698. description: 交易日(yyyyMMdd)
  16699. type: string
  16700. tradeprice:
  16701. description: 成交价格
  16702. type: number
  16703. tradeqty:
  16704. description: 成交数量
  16705. type: number
  16706. tradetime:
  16707. description: 成交时间
  16708. type: string
  16709. userid:
  16710. description: 用户ID
  16711. type: integer
  16712. warehouseid:
  16713. description: 仓库ID
  16714. type: integer
  16715. warehousename:
  16716. description: 仓库名称
  16717. type: string
  16718. wrfactortypeid:
  16719. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16720. type: string
  16721. wrfactortypename:
  16722. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16723. type: string
  16724. wrstandardcode:
  16725. description: 现货商品代码
  16726. type: string
  16727. wrstandardid:
  16728. description: 现货商品ID
  16729. type: integer
  16730. wrstandardname:
  16731. description: 商品名称
  16732. type: string
  16733. wrtradedetailid:
  16734. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  16735. type: string
  16736. wrtradetype:
  16737. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  16738. type: integer
  16739. wrtypename:
  16740. description: 商品
  16741. type: string
  16742. type: object
  16743. models.WrTradeOrderDetail:
  16744. properties:
  16745. buyorsell:
  16746. description: 买卖方向 0-买 1-卖
  16747. type: integer
  16748. goodsid:
  16749. description: 商品id
  16750. type: integer
  16751. orderid:
  16752. description: 委托单号
  16753. type: string
  16754. orderprice:
  16755. description: 委托价格
  16756. type: number
  16757. orderqty:
  16758. description: 委托数量
  16759. type: integer
  16760. userid:
  16761. description: 用户id
  16762. type: integer
  16763. username:
  16764. description: 用户名称(已脱敏)
  16765. type: string
  16766. type: object
  16767. models.WrTypeItem:
  16768. properties:
  16769. name:
  16770. description: 名称
  16771. type: string
  16772. value:
  16773. description: 值
  16774. type: string
  16775. type: object
  16776. models.WrUserFriend:
  16777. properties:
  16778. friendname:
  16779. description: 朋友名称(已脱敏)
  16780. type: string
  16781. frienduserid:
  16782. description: 朋友id
  16783. type: integer
  16784. isfriend:
  16785. description: 是否好友 0-不是 1-是
  16786. type: integer
  16787. userid:
  16788. description: 用户id
  16789. type: integer
  16790. type: object
  16791. models.WrUserReceiptInfo:
  16792. properties:
  16793. address:
  16794. description: 地址[发票类型:企业]
  16795. type: string
  16796. autoid:
  16797. description: AutoID
  16798. type: integer
  16799. contactinfo:
  16800. description: 联系方式
  16801. type: string
  16802. idnum:
  16803. description: 身份证号码[发票类型:个人]
  16804. type: string
  16805. isdefault:
  16806. description: 是否默认地址 - 0:否 1:是
  16807. type: integer
  16808. receiptaccount:
  16809. description: 发票帐号[发票类型:企业]
  16810. type: string
  16811. receiptbank:
  16812. description: 发票开户行[发票类型:企业]
  16813. type: string
  16814. receipttype:
  16815. description: 发票类型 - 1:个人 2:企业
  16816. type: integer
  16817. taxpayerid:
  16818. description: 纳税人识别号
  16819. type: string
  16820. userid:
  16821. description: 用户ID
  16822. type: integer
  16823. username:
  16824. description: 户名(个人姓名或企业名称)
  16825. type: string
  16826. type: object
  16827. models.XHBRAND:
  16828. properties:
  16829. brandid:
  16830. description: 品牌id
  16831. type: integer
  16832. brandname:
  16833. description: 品牌名称
  16834. type: string
  16835. isvalid:
  16836. description: 是否有效 0-无效 1-有效
  16837. type: integer
  16838. type: object
  16839. models.XHDeliveryGoods:
  16840. properties:
  16841. areauserid:
  16842. description: 所属机构
  16843. type: integer
  16844. bdlst:
  16845. description: 品牌列表
  16846. items:
  16847. $ref: '#/definitions/models.XHBRAND'
  16848. type: array
  16849. deliverygoodscode:
  16850. description: 现货品种代码
  16851. type: string
  16852. deliverygoodsid:
  16853. description: 现货品种ID(SEQ_DELIVERYGOODS)
  16854. type: integer
  16855. deliverygoodsname:
  16856. description: 现货品种名称
  16857. type: string
  16858. dgstatus:
  16859. description: 品种状态 - 作废 - 0:未激活 1:正常
  16860. type: integer
  16861. isvalid:
  16862. description: 是否有效 - 0:无效 1:有效
  16863. type: integer
  16864. remark:
  16865. description: 备注
  16866. type: string
  16867. unitid:
  16868. description: 单位id(目前看,数据库中是空值)
  16869. type: integer
  16870. wdlst:
  16871. description: 品类(现货商品)列表
  16872. items:
  16873. $ref: '#/definitions/models.XHWrstandard'
  16874. type: array
  16875. type: object
  16876. models.XHMiddleGoods:
  16877. properties:
  16878. convertratio:
  16879. description: 拆算系数
  16880. type: number
  16881. costratio:
  16882. description: 成本权重
  16883. type: number
  16884. deliverygoodsid:
  16885. description: 现货商品id
  16886. type: integer
  16887. enumdicname:
  16888. description: 单位名称
  16889. type: string
  16890. gplst:
  16891. description: 期货品种列表
  16892. items:
  16893. $ref: '#/definitions/models.TBGoodsGroup'
  16894. type: array
  16895. middlegoodscode:
  16896. description: 套保品种代码
  16897. type: string
  16898. middlegoodsid:
  16899. description: 套保品种id
  16900. type: integer
  16901. middlegoodsname:
  16902. description: 套保品种名称
  16903. type: string
  16904. unitid:
  16905. description: 单位id
  16906. type: integer
  16907. type: object
  16908. models.XHWrstandard:
  16909. properties:
  16910. deliverygoodsid:
  16911. description: 品种ID
  16912. type: integer
  16913. enumdicname:
  16914. description: 单位名称
  16915. type: string
  16916. mglst:
  16917. description: 套保品列表
  16918. items:
  16919. $ref: '#/definitions/models.XHMiddleGoods'
  16920. type: array
  16921. unitid:
  16922. description: 单位id
  16923. type: integer
  16924. vatrate:
  16925. description: 增值税率
  16926. type: number
  16927. wrstandardcode:
  16928. description: 现货商品代码
  16929. type: string
  16930. wrstandardid:
  16931. description: 现货商品ID(SEQ_WRSTANDARD)
  16932. type: integer
  16933. wrstandardname:
  16934. description: 现货商品名称
  16935. type: string
  16936. type: object
  16937. order.QueryHisTradeDetailRsp:
  16938. properties:
  16939. accountid:
  16940. description: 账户ID[报价币种]
  16941. type: integer
  16942. advanceratio:
  16943. description: 首付比率
  16944. type: number
  16945. buildtype:
  16946. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  16947. type: integer
  16948. buyorsell:
  16949. description: 方向 - 0:买 1:卖
  16950. type: integer
  16951. charge:
  16952. description: 手续费
  16953. type: number
  16954. closecharge:
  16955. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  16956. type: number
  16957. closeexchagechargevalue:
  16958. description: 平仓交易所手续费设置值
  16959. type: number
  16960. closefeealgorithm:
  16961. description: 平仓手续费收取方式 1:比率 2:固定
  16962. type: integer
  16963. closememberchargevalue:
  16964. description: 平仓会员手续费设置值
  16965. type: number
  16966. closepl:
  16967. description: 平仓盈亏
  16968. type: number
  16969. closepl2:
  16970. description: 平仓盈亏[逐笔]
  16971. type: number
  16972. closeqty:
  16973. description: 平仓数量(先建后平操作 需要记录)
  16974. type: number
  16975. creditamount:
  16976. description: 授信金额
  16977. type: number
  16978. decimalplace:
  16979. description: 商品报价小数位
  16980. type: integer
  16981. enumdicname:
  16982. description: 单位名称
  16983. type: string
  16984. gcaccountid:
  16985. description: 账户ID[合约币种]
  16986. type: integer
  16987. goodscode:
  16988. description: 商品代码
  16989. type: string
  16990. goodsid:
  16991. description: 商品ID
  16992. type: integer
  16993. goodsname:
  16994. description: 商品名称
  16995. type: string
  16996. goodunitid:
  16997. description: 商品单位id
  16998. type: integer
  16999. histradedate:
  17000. description: 历史交易日
  17001. type: string
  17002. intclosepl:
  17003. description: 整型盈亏(用于交易结算试算平衡-收益权)
  17004. type: integer
  17005. isconfirmexercise:
  17006. description: 是否确认行权- 0:否 1:是
  17007. type: integer
  17008. ismain:
  17009. description: 是否主单 - 0:不是 1:是
  17010. type: integer
  17011. ispreexercise:
  17012. description: 是否预申报- 0:否 1:是
  17013. type: integer
  17014. isreckoned:
  17015. description: 是否结算 - 0:未结算 1:已结算
  17016. type: integer
  17017. isvaliddata:
  17018. description: 是否有效 - 0:无效 1:有效
  17019. type: integer
  17020. listingselecttype:
  17021. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17022. type: integer
  17023. marketid:
  17024. description: 市场ID
  17025. type: integer
  17026. marketname:
  17027. description: 市场名称
  17028. type: string
  17029. matchaccountid:
  17030. description: 对手账号id
  17031. type: integer
  17032. memberuserid:
  17033. description: 会员id 个人投资者 需要填写
  17034. type: integer
  17035. opencharge:
  17036. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17037. type: number
  17038. openexchagechargevalue:
  17039. description: 建仓交易所手续费设置值
  17040. type: number
  17041. openfeealgorithm:
  17042. description: 建仓手续费收取方式 1:比率 2:固定
  17043. type: integer
  17044. openmemberchargevalue:
  17045. description: 建仓会员手续费设置值
  17046. type: number
  17047. openqty:
  17048. description: 开仓数量(先建后平操作 需要记录)
  17049. type: number
  17050. optiontype:
  17051. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17052. type: integer
  17053. orderid:
  17054. description: 委托单号
  17055. type: string
  17056. payamount:
  17057. description: 支付金额(付款金额)
  17058. type: number
  17059. performanceplanid:
  17060. description: 履约计划ID[期权]
  17061. type: integer
  17062. performancestatus:
  17063. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  17064. type: integer
  17065. preexerciseprice:
  17066. description: 预申报价格
  17067. type: number
  17068. premium:
  17069. description: 权利金 - [持仓单的权利金]
  17070. type: number
  17071. qtydecimalplace:
  17072. description: 商品报价小数位
  17073. type: integer
  17074. recvamount:
  17075. description: 到账金额 = 成交金额 - 手续费
  17076. type: number
  17077. relatedouttradeid:
  17078. description: 关联外部成交单ID
  17079. type: integer
  17080. status:
  17081. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  17082. type: integer
  17083. totalamount:
  17084. description: 订单总额 = 成交金额 + 手续费
  17085. type: number
  17086. tradeamount:
  17087. description: 成交金额[账户币种,用于所有权]
  17088. type: number
  17089. tradedate:
  17090. description: 交易日(yyyyMMdd)
  17091. type: string
  17092. tradeid:
  17093. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17094. type: string
  17095. trademode:
  17096. description: 交易模式
  17097. type: integer
  17098. tradeprice:
  17099. description: 成交价格
  17100. type: number
  17101. tradeproperty:
  17102. description: 交易属性
  17103. type: integer
  17104. tradeqty:
  17105. description: 成交数量
  17106. type: number
  17107. tradetime:
  17108. description: 成交时间
  17109. type: string
  17110. tradetype:
  17111. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  17112. type: integer
  17113. required:
  17114. - accountid
  17115. - buyorsell
  17116. - goodsid
  17117. - histradedate
  17118. - marketid
  17119. - memberuserid
  17120. - orderid
  17121. - tradeamount
  17122. - tradedate
  17123. - tradeid
  17124. - tradeprice
  17125. - tradeqty
  17126. - tradetime
  17127. type: object
  17128. order.QueryHisTradeOrderDetailRsp:
  17129. properties:
  17130. accountid:
  17131. description: 账户ID[报价币种]
  17132. type: integer
  17133. buildtype:
  17134. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  17135. type: integer
  17136. buyorsell:
  17137. description: 买卖 - 0:买 1:卖
  17138. type: integer
  17139. cancelorderid:
  17140. description: 撤单单号(撤单时填写)
  17141. type: string
  17142. cancelqty:
  17143. description: 撤单数量
  17144. type: number
  17145. clientordertime:
  17146. description: 客户端委托时间
  17147. type: string
  17148. clientticket:
  17149. description: 客户端流水号
  17150. type: string
  17151. clienttype:
  17152. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  17153. type: integer
  17154. closeexchagechargevalue:
  17155. description: 平仓交易所手续费设置值
  17156. type: number
  17157. closefeealgorithm:
  17158. description: 平仓手续费收取方式 1:比率 2:固定
  17159. type: integer
  17160. closefreezecharge:
  17161. description: 平仓冻结手续费(先建后平操作,需要记录)
  17162. type: number
  17163. closememberchargevalue:
  17164. description: 平仓会员手续费设置值
  17165. type: number
  17166. closeqty:
  17167. description: 平仓数量(先建后平操作 需要记录)
  17168. type: number
  17169. closetradeqty:
  17170. description: 平仓成交数量(先建后平操作,需要记录)
  17171. type: number
  17172. closeunfreezecharge:
  17173. description: 平仓解冻手续费(先建后平操作,需要记录)
  17174. type: number
  17175. decimalplace:
  17176. description: 商品报价小数位
  17177. type: integer
  17178. delistingtype:
  17179. description: 摘牌类型 - 1:价格最优 2:点选成交
  17180. type: integer
  17181. enumdicname:
  17182. description: 单位名称
  17183. type: string
  17184. freezecharge:
  17185. description: 冻结手续费
  17186. type: number
  17187. freezemargin:
  17188. description: 冻结保证金(冻结交易金额)
  17189. type: number
  17190. gcaccountid:
  17191. description: 账户ID[合约币种]
  17192. type: integer
  17193. goodscode:
  17194. description: 商品代码
  17195. type: string
  17196. goodsid:
  17197. description: 商品ID
  17198. type: integer
  17199. goodsname:
  17200. description: 商品名称
  17201. type: string
  17202. goodunitid:
  17203. description: 商品单位id
  17204. type: integer
  17205. histradedate:
  17206. description: 历史交易日
  17207. type: string
  17208. isconfirmexercise:
  17209. description: 是否确认行权- 0:否 1:是
  17210. type: integer
  17211. ispreexercise:
  17212. description: 是否预申报- 0:否 1:是
  17213. type: integer
  17214. isvaliddata:
  17215. description: 是否有效 - 0:无效 1:有效
  17216. type: integer
  17217. listingselecttype:
  17218. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17219. type: integer
  17220. marginalgorithm:
  17221. description: 保证金收取方式 1:比率 2:固定
  17222. type: integer
  17223. marginvalue:
  17224. description: 即市保证金设置值
  17225. type: number
  17226. marketid:
  17227. description: 市场ID
  17228. type: integer
  17229. marketmaxsub:
  17230. description: 市价最大偏移范围
  17231. type: number
  17232. marketname:
  17233. description: 市场名称
  17234. type: string
  17235. memberuserid:
  17236. description: 所属会员UserID
  17237. type: integer
  17238. openexchagechargevalue:
  17239. description: 建仓交易所手续费设置值
  17240. type: number
  17241. openfeealgorithm:
  17242. description: 建仓手续费收取方式 1:比率 2:固定
  17243. type: integer
  17244. openfreezecharge:
  17245. description: 开仓冻结手续费(先建后平操作,需要记录)
  17246. type: number
  17247. openmemberchargevalue:
  17248. description: 建仓会员手续费设置值
  17249. type: number
  17250. openqty:
  17251. description: 开仓数量(先建后平操作,需要记录)
  17252. type: number
  17253. opentradeqty:
  17254. description: 开仓成交数量(先建后平操作,需要记录)
  17255. type: number
  17256. openunfreezecharge:
  17257. description: 开仓解冻手续费(先建后平操作,需要记录)
  17258. type: number
  17259. operatetype:
  17260. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让
  17261. type: integer
  17262. operatorid:
  17263. description: 登录账号(LoginID)
  17264. type: integer
  17265. optiontype:
  17266. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17267. type: integer
  17268. orderid:
  17269. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17270. type: string
  17271. orderprice:
  17272. description: 委托价格
  17273. type: number
  17274. orderqty:
  17275. description: 委托数量
  17276. type: number
  17277. ordersrc:
  17278. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  17279. type: integer
  17280. orderstatus:
  17281. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  17282. type: integer
  17283. ordertime:
  17284. description: 委托时间
  17285. type: string
  17286. preexerciseprice:
  17287. description: 预申报价格
  17288. type: number
  17289. premium:
  17290. description: 权利金
  17291. type: number
  17292. preorderid:
  17293. description: 关联预埋单号(止盈止损单时填写)
  17294. type: string
  17295. pricemode:
  17296. description: '取价方式 - 1:市价 2: 限价'
  17297. type: integer
  17298. qtydecimalplace:
  17299. description: 成交量小数位
  17300. type: integer
  17301. quoteid:
  17302. description: 报价单ID
  17303. type: integer
  17304. relatedid:
  17305. description: 关联单号(交割单)
  17306. type: string
  17307. retcode:
  17308. description: 错误代码
  17309. type: integer
  17310. sessionid:
  17311. description: 会话ID
  17312. type: integer
  17313. tradedate:
  17314. description: 交易日(yyyyMMdd)
  17315. type: string
  17316. trademode:
  17317. description: 交易模式
  17318. type: integer
  17319. tradeproperty:
  17320. description: 交易属性
  17321. type: integer
  17322. tradeqty:
  17323. description: 成交数量
  17324. type: number
  17325. unfreezecharge:
  17326. description: 解冻手续费
  17327. type: number
  17328. unfreezemargin:
  17329. description: 解冻保证金
  17330. type: number
  17331. updatetime:
  17332. description: 更新时间
  17333. type: string
  17334. uuid:
  17335. description: 发起端唯一id
  17336. type: string
  17337. validtime:
  17338. description: 有效期限
  17339. type: string
  17340. validtype:
  17341. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  17342. type: integer
  17343. volumetype:
  17344. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  17345. type: integer
  17346. required:
  17347. - accountid
  17348. - buildtype
  17349. - buyorsell
  17350. - goodsid
  17351. - histradedate
  17352. - marketid
  17353. - memberuserid
  17354. - operatetype
  17355. - orderid
  17356. - orderqty
  17357. - ordertime
  17358. - pricemode
  17359. - tradedate
  17360. - validtype
  17361. type: object
  17362. order.QueryTradeDetailRsp:
  17363. properties:
  17364. accountid:
  17365. description: 账户ID[报价币种]
  17366. type: integer
  17367. advanceratio:
  17368. description: 首付比率
  17369. type: number
  17370. buildtype:
  17371. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  17372. type: integer
  17373. buyorsell:
  17374. description: 方向 - 0:买 1:卖
  17375. type: integer
  17376. charge:
  17377. description: 手续费
  17378. type: number
  17379. closecharge:
  17380. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17381. type: number
  17382. closeexchagechargevalue:
  17383. description: 平仓交易所手续费设置值
  17384. type: number
  17385. closefeealgorithm:
  17386. description: 平仓手续费收取方式 1:比率 2:固定
  17387. type: integer
  17388. closememberchargevalue:
  17389. description: 平仓会员手续费设置值
  17390. type: number
  17391. closepl:
  17392. description: 平仓盈亏
  17393. type: number
  17394. closepl2:
  17395. description: 平仓盈亏[逐笔]
  17396. type: number
  17397. closeqty:
  17398. description: 平仓数量(先建后平操作 需要记录)
  17399. type: number
  17400. creditamount:
  17401. description: 授信金额
  17402. type: number
  17403. decimalplace:
  17404. description: 商品报价小数位
  17405. type: integer
  17406. enumdicname:
  17407. description: 单位名称
  17408. type: string
  17409. gcaccountid:
  17410. description: 账户ID[合约币种]
  17411. type: integer
  17412. goodscode:
  17413. description: 商品代码
  17414. type: string
  17415. goodsid:
  17416. description: 商品ID
  17417. type: integer
  17418. goodsname:
  17419. description: 商品名称
  17420. type: string
  17421. goodunitid:
  17422. description: 商品单位id
  17423. type: integer
  17424. intclosepl:
  17425. description: 整型盈亏(用于交易结算试算平衡-收益权)
  17426. type: integer
  17427. isconfirmexercise:
  17428. description: 是否确认行权- 0:否 1:是
  17429. type: integer
  17430. ismain:
  17431. description: 是否主单 - 0:不是 1:是
  17432. type: integer
  17433. ispreexercise:
  17434. description: 是否预申报- 0:否 1:是
  17435. type: integer
  17436. isreckoned:
  17437. description: 是否结算 - 0:未结算 1:已结算
  17438. type: integer
  17439. listingselecttype:
  17440. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17441. type: integer
  17442. marketid:
  17443. description: 市场ID
  17444. type: integer
  17445. marketname:
  17446. description: 市场名称
  17447. type: string
  17448. matchaccountid:
  17449. description: 对手账号id
  17450. type: integer
  17451. memberuserid:
  17452. description: 会员id 个人投资者 需要填写
  17453. type: integer
  17454. opencharge:
  17455. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17456. type: number
  17457. openexchagechargevalue:
  17458. description: 建仓交易所手续费设置值
  17459. type: number
  17460. openfeealgorithm:
  17461. description: 建仓手续费收取方式 1:比率 2:固定
  17462. type: integer
  17463. openmemberchargevalue:
  17464. description: 建仓会员手续费设置值
  17465. type: number
  17466. openqty:
  17467. description: 开仓数量(先建后平操作 需要记录)
  17468. type: number
  17469. optiontype:
  17470. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17471. type: integer
  17472. orderid:
  17473. description: 委托单号
  17474. type: string
  17475. payamount:
  17476. description: 支付金额(付款金额)
  17477. type: number
  17478. performanceplanid:
  17479. description: 履约计划ID[期权]
  17480. type: integer
  17481. performancestatus:
  17482. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  17483. type: integer
  17484. preexerciseprice:
  17485. description: 预申报价格
  17486. type: number
  17487. premium:
  17488. description: 权利金 - [持仓单的权利金]
  17489. type: number
  17490. qtydecimalplace:
  17491. description: 商品报价小数位
  17492. type: integer
  17493. recvamount:
  17494. description: 到账金额 = 成交金额 - 手续费
  17495. type: number
  17496. relatedouttradeid:
  17497. description: 关联外部成交单ID
  17498. type: integer
  17499. status:
  17500. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  17501. type: integer
  17502. totalamount:
  17503. description: 订单总额 = 成交金额 + 手续费
  17504. type: number
  17505. tradeamount:
  17506. description: 成交金额[账户币种,用于所有权]
  17507. type: number
  17508. tradedate:
  17509. description: 交易日(yyyyMMdd)
  17510. type: string
  17511. tradeid:
  17512. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17513. type: string
  17514. trademode:
  17515. description: 交易模式
  17516. type: integer
  17517. tradeprice:
  17518. description: 成交价格
  17519. type: number
  17520. tradeproperty:
  17521. description: 交易属性
  17522. type: integer
  17523. tradeqty:
  17524. description: 成交数量
  17525. type: number
  17526. tradetime:
  17527. description: 成交时间
  17528. type: string
  17529. tradetype:
  17530. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  17531. type: integer
  17532. required:
  17533. - accountid
  17534. - buyorsell
  17535. - goodsid
  17536. - marketid
  17537. - memberuserid
  17538. - orderid
  17539. - tradeamount
  17540. - tradedate
  17541. - tradeid
  17542. - tradeprice
  17543. - tradeqty
  17544. - tradetime
  17545. type: object
  17546. order.QueryTradeOrderDetailRsp:
  17547. properties:
  17548. accountid:
  17549. description: 账户ID[报价币种]
  17550. type: integer
  17551. buildtype:
  17552. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  17553. type: integer
  17554. buyorsell:
  17555. description: 买卖 - 0:买 1:卖
  17556. type: integer
  17557. cancelorderid:
  17558. description: 撤单单号(撤单时填写)
  17559. type: string
  17560. cancelqty:
  17561. description: 撤单数量
  17562. type: number
  17563. clienttype:
  17564. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  17565. type: integer
  17566. closefreezecharge:
  17567. description: 平仓冻结手续费(先建后平操作,需要记录)
  17568. type: number
  17569. closeqty:
  17570. description: 平仓数量(先建后平操作 需要记录)
  17571. type: number
  17572. closetradeqty:
  17573. description: 平仓成交数量(先建后平操作,需要记录)
  17574. type: number
  17575. closeunfreezecharge:
  17576. description: 平仓解冻手续费(先建后平操作,需要记录)
  17577. type: number
  17578. decimalplace:
  17579. description: 商品报价小数位
  17580. type: integer
  17581. delistingtype:
  17582. description: 摘牌类型 - 1:价格最优 2:点选成交
  17583. type: integer
  17584. enableqty:
  17585. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  17586. type: number
  17587. enumdicname:
  17588. description: 单位名称
  17589. type: string
  17590. freezecharge:
  17591. description: 冻结手续费
  17592. type: number
  17593. freezemargin:
  17594. description: 冻结保证金(冻结交易金额)
  17595. type: number
  17596. goodscode:
  17597. description: 商品代码
  17598. type: string
  17599. goodsid:
  17600. description: 商品ID
  17601. type: integer
  17602. goodsname:
  17603. description: 商品名称
  17604. type: string
  17605. goodunitid:
  17606. description: 商品单位id
  17607. type: integer
  17608. listingselecttype:
  17609. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17610. type: integer
  17611. marketid:
  17612. description: 市场ID
  17613. type: integer
  17614. marketname:
  17615. description: 市场名称
  17616. type: string
  17617. openfreezecharge:
  17618. description: 开仓冻结手续费(先建后平操作,需要记录)
  17619. type: number
  17620. openqty:
  17621. description: 开仓数量(先建后平操作,需要记录)
  17622. type: number
  17623. opentradeqty:
  17624. description: 开仓成交数量(先建后平操作,需要记录)
  17625. type: number
  17626. openunfreezecharge:
  17627. description: 开仓解冻手续费(先建后平操作,需要记录)
  17628. type: number
  17629. operatetype:
  17630. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让
  17631. type: integer
  17632. operatorid:
  17633. description: 登录账号(LoginID)
  17634. type: integer
  17635. orderid:
  17636. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17637. type: string
  17638. orderprice:
  17639. description: 委托价格
  17640. type: number
  17641. orderqty:
  17642. description: 委托数量
  17643. type: number
  17644. ordersrc:
  17645. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  17646. type: integer
  17647. orderstatus:
  17648. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  17649. type: integer
  17650. ordertime:
  17651. description: 委托时间
  17652. type: string
  17653. preorderid:
  17654. description: 关联预埋单号(止盈止损单时填写)
  17655. type: string
  17656. pricemode:
  17657. description: '取价方式 - 1:市价 2: 限价'
  17658. type: integer
  17659. qtydecimalplace:
  17660. description: 商品报价小数位
  17661. type: integer
  17662. relatedid:
  17663. description: 关联单号(交割单)
  17664. type: string
  17665. tradedate:
  17666. description: 交易日(yyyyMMdd)
  17667. type: string
  17668. trademode:
  17669. description: 交易模式
  17670. type: integer
  17671. tradeqty:
  17672. description: 成交数量
  17673. type: number
  17674. unfreezecharge:
  17675. description: 解冻手续费
  17676. type: number
  17677. unfreezemargin:
  17678. description: 解冻保证金
  17679. type: number
  17680. validtime:
  17681. description: 有效期限
  17682. type: string
  17683. validtype:
  17684. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  17685. type: integer
  17686. volumetype:
  17687. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  17688. type: integer
  17689. required:
  17690. - accountid
  17691. - buildtype
  17692. - buyorsell
  17693. - goodsid
  17694. - marketid
  17695. - operatetype
  17696. - orderqty
  17697. - ordertime
  17698. - pricemode
  17699. - tradedate
  17700. - validtype
  17701. type: object
  17702. order.QueryTradePositionRsp:
  17703. properties:
  17704. accountid:
  17705. description: 资金账户
  17706. type: integer
  17707. agreeunit:
  17708. description: 合约单位
  17709. type: number
  17710. averageprice:
  17711. description: 持仓均价
  17712. type: number
  17713. buyorsell:
  17714. description: 方向 - 0:买 1:卖
  17715. type: integer
  17716. closetotalqty:
  17717. description: 平仓总数量
  17718. type: number
  17719. curholderamount:
  17720. description: 当前持仓总金额[商品币种]
  17721. type: number
  17722. curpositionqty:
  17723. description: 当前持仓总数量
  17724. type: number
  17725. currencyid:
  17726. description: 报价货币ID
  17727. type: integer
  17728. curtdposition:
  17729. description: 期末今日头寸
  17730. type: number
  17731. decimalplace:
  17732. description: 报价小数位
  17733. type: integer
  17734. enableqty:
  17735. description: 可用量
  17736. type: number
  17737. fretdposition:
  17738. description: 冻结今日头寸
  17739. type: number
  17740. frozenqty:
  17741. description: 持仓冻结数量
  17742. type: number
  17743. goodscode:
  17744. description: 商品代码
  17745. type: string
  17746. goodsid:
  17747. description: 商品Id
  17748. type: integer
  17749. goodsname:
  17750. description: 商品名称
  17751. type: string
  17752. goodunit:
  17753. description: 报价单位
  17754. type: string
  17755. goodunitid:
  17756. description: 报价单位ID
  17757. type: integer
  17758. holderamount:
  17759. description: 期初持仓总金额[商品币种]
  17760. type: number
  17761. lastprice:
  17762. description: 最新价
  17763. type: number
  17764. marketamount:
  17765. description: 市值
  17766. type: number
  17767. marketid:
  17768. description: 所属市场ID
  17769. type: integer
  17770. openreqqty:
  17771. description: 开仓申请数量(用于比较最大持仓数量)
  17772. type: number
  17773. opentotalqty:
  17774. description: 开仓总数量
  17775. type: number
  17776. otherfrozenqty:
  17777. description: 持仓其他冻结数量(交割冻结)
  17778. type: number
  17779. positionpl:
  17780. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  17781. type: number
  17782. positionplrate:
  17783. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  17784. type: number
  17785. positionqty:
  17786. description: 期初持仓数量
  17787. type: number
  17788. qtydecimalplace:
  17789. description: 成交量小数位
  17790. type: integer
  17791. refgoodscode:
  17792. description: 参考商品代码
  17793. type: string
  17794. refgoodsid:
  17795. description: 参考商品ID
  17796. type: integer
  17797. tnqty:
  17798. description: T+N冻结总量
  17799. type: number
  17800. tnusedqty:
  17801. description: T+N使用量(可以使用T+N的冻结数量)
  17802. type: number
  17803. trademode:
  17804. description: 交易模式
  17805. type: integer
  17806. tradeproperty:
  17807. description: 交易属性
  17808. type: integer
  17809. usedmargin:
  17810. description: 占用保证金[商品币种]
  17811. type: number
  17812. required:
  17813. - goodsid
  17814. type: object
  17815. pb.GoodsMarginCfgStruct:
  17816. properties:
  17817. CustomerTypeID:
  17818. description: 投资者客户类型
  17819. type: integer
  17820. GoodsID:
  17821. description: 商品ID
  17822. type: integer
  17823. IsDefault:
  17824. description: 是否默认标志位
  17825. type: integer
  17826. LockMarginValue:
  17827. description: 锁仓保证金
  17828. type: number
  17829. MarginAlgorithm:
  17830. description: 保证金计算方式
  17831. type: integer
  17832. MarketMarginValue:
  17833. description: 即市保证金值
  17834. type: number
  17835. RealMarginAlgorithm:
  17836. description: 实付保证金计算方式
  17837. type: integer
  17838. RealMarginValue:
  17839. description: 实付比例
  17840. type: number
  17841. ReckonMarginValue:
  17842. description: 结算保证金值
  17843. type: number
  17844. type: object
  17845. quote.HistoryData:
  17846. properties:
  17847. c:
  17848. description: 收盘价
  17849. type: number
  17850. f:
  17851. description: 是否补充数据
  17852. type: boolean
  17853. h:
  17854. description: 最高价
  17855. type: number
  17856. hv:
  17857. description: 持仓量
  17858. type: integer
  17859. l:
  17860. description: 最低价
  17861. type: number
  17862. o:
  17863. description: 开盘价
  17864. type: number
  17865. s:
  17866. description: 结算价,日线周期(包括)以上才有
  17867. type: number
  17868. ts:
  17869. description: 时间
  17870. type: string
  17871. tt:
  17872. description: 总金额
  17873. type: number
  17874. tv:
  17875. description: 总量(成交量)
  17876. type: integer
  17877. type: object
  17878. quote.HistoryTikData:
  17879. properties:
  17880. AV:
  17881. description: 卖量
  17882. type: integer
  17883. Ask:
  17884. description: 卖价
  17885. type: number
  17886. BV:
  17887. description: 买量
  17888. type: integer
  17889. Bid:
  17890. description: 买价
  17891. type: number
  17892. HI:
  17893. description: 单笔持仓
  17894. type: integer
  17895. HV:
  17896. description: 持仓量
  17897. type: integer
  17898. PE:
  17899. description: 现价
  17900. type: number
  17901. TDR:
  17902. description: 交易方向,0:买 1:卖
  17903. type: integer
  17904. TK:
  17905. description: 交易类型
  17906. type: integer
  17907. TS:
  17908. description: 行情时间文本
  17909. type: string
  17910. TT:
  17911. description: 现金额
  17912. type: number
  17913. Vol:
  17914. description: 现量
  17915. type: integer
  17916. type: object
  17917. quote.QueryQuoteDayRsp:
  17918. properties:
  17919. ask:
  17920. description: 卖1
  17921. type: number
  17922. ask2:
  17923. description: 卖2
  17924. type: number
  17925. ask3:
  17926. description: 卖3
  17927. type: number
  17928. ask4:
  17929. description: 卖4
  17930. type: number
  17931. ask5:
  17932. description: 卖5
  17933. type: number
  17934. ask6:
  17935. description: 卖6
  17936. type: number
  17937. ask7:
  17938. description: 卖7
  17939. type: number
  17940. ask8:
  17941. description: 卖8
  17942. type: number
  17943. ask9:
  17944. description: 卖9
  17945. type: number
  17946. ask10:
  17947. description: 卖10
  17948. type: number
  17949. askorderid:
  17950. description: 卖单号1
  17951. type: integer
  17952. askorderid2:
  17953. description: 卖单号2
  17954. type: integer
  17955. askorderid3:
  17956. description: 卖单号3
  17957. type: integer
  17958. askorderid4:
  17959. description: 卖单号4
  17960. type: integer
  17961. askorderid5:
  17962. description: 卖单号5
  17963. type: integer
  17964. askordervolume:
  17965. description: 卖单量1
  17966. type: integer
  17967. askordervolume2:
  17968. description: 卖单量2
  17969. type: integer
  17970. askordervolume3:
  17971. description: 卖单量3
  17972. type: integer
  17973. askordervolume4:
  17974. description: 卖单量4
  17975. type: integer
  17976. askordervolume5:
  17977. description: 卖单量5
  17978. type: integer
  17979. askordervolume6:
  17980. description: 卖单量6
  17981. type: integer
  17982. askordervolume7:
  17983. description: 卖单量7
  17984. type: integer
  17985. askordervolume8:
  17986. description: 卖单量8
  17987. type: integer
  17988. askordervolume9:
  17989. description: 卖单量9
  17990. type: integer
  17991. askordervolume10:
  17992. description: 卖单量10
  17993. type: integer
  17994. askqueueinfo:
  17995. description: 大利市卖港股用
  17996. type: string
  17997. askvolume:
  17998. description: 卖量1
  17999. type: integer
  18000. askvolume2:
  18001. description: 卖量2
  18002. type: integer
  18003. askvolume3:
  18004. description: 卖量3
  18005. type: integer
  18006. askvolume4:
  18007. description: 卖量4
  18008. type: integer
  18009. askvolume5:
  18010. description: 卖量5
  18011. type: integer
  18012. askvolume6:
  18013. description: 卖量6
  18014. type: integer
  18015. askvolume7:
  18016. description: 卖量7
  18017. type: integer
  18018. askvolume8:
  18019. description: 卖量8
  18020. type: integer
  18021. askvolume9:
  18022. description: 卖量9
  18023. type: integer
  18024. askvolume10:
  18025. description: 卖量10
  18026. type: integer
  18027. averageprice:
  18028. description: 均价
  18029. type: number
  18030. bid:
  18031. description: 买1
  18032. type: number
  18033. bid2:
  18034. description: 买2
  18035. type: number
  18036. bid3:
  18037. description: 买3
  18038. type: number
  18039. bid4:
  18040. description: 买4
  18041. type: number
  18042. bid5:
  18043. description: 买5
  18044. type: number
  18045. bid6:
  18046. description: 买6
  18047. type: number
  18048. bid7:
  18049. description: 买7
  18050. type: number
  18051. bid8:
  18052. description: 买8
  18053. type: number
  18054. bid9:
  18055. description: 买9
  18056. type: number
  18057. bid10:
  18058. description: 买10
  18059. type: number
  18060. bidorderid:
  18061. description: 买单号1
  18062. type: integer
  18063. bidorderid2:
  18064. description: 买单号2
  18065. type: integer
  18066. bidorderid3:
  18067. description: 买单号3
  18068. type: integer
  18069. bidorderid4:
  18070. description: 买单号4
  18071. type: integer
  18072. bidorderid5:
  18073. description: 买单号5
  18074. type: integer
  18075. bidordervolume:
  18076. description: 买单量1
  18077. type: integer
  18078. bidordervolume2:
  18079. description: 买单量2
  18080. type: integer
  18081. bidordervolume3:
  18082. description: 买单量3
  18083. type: integer
  18084. bidordervolume4:
  18085. description: 买单量4
  18086. type: integer
  18087. bidordervolume5:
  18088. description: 买单量5
  18089. type: integer
  18090. bidordervolume6:
  18091. description: 买单量6
  18092. type: integer
  18093. bidordervolume7:
  18094. description: 买单量7
  18095. type: integer
  18096. bidordervolume8:
  18097. description: 买单量8
  18098. type: integer
  18099. bidordervolume9:
  18100. description: 买单量9
  18101. type: integer
  18102. bidordervolume10:
  18103. description: 买单量10
  18104. type: integer
  18105. bidqueueinfo:
  18106. description: 大利市买港股用
  18107. type: string
  18108. bidvolume:
  18109. description: 买量1
  18110. type: integer
  18111. bidvolume2:
  18112. description: 买量2
  18113. type: integer
  18114. bidvolume3:
  18115. description: 买量3
  18116. type: integer
  18117. bidvolume4:
  18118. description: 买量4
  18119. type: integer
  18120. bidvolume5:
  18121. description: 买量5
  18122. type: integer
  18123. bidvolume6:
  18124. description: 买量6
  18125. type: integer
  18126. bidvolume7:
  18127. description: 买量7
  18128. type: integer
  18129. bidvolume8:
  18130. description: 买量8
  18131. type: integer
  18132. bidvolume9:
  18133. description: 买量9
  18134. type: integer
  18135. bidvolume10:
  18136. description: 买量10
  18137. type: integer
  18138. calloptionpremiums:
  18139. description: 认购期权1
  18140. type: integer
  18141. calloptionpremiums2:
  18142. description: 认购期权2
  18143. type: integer
  18144. calloptionpremiums3:
  18145. description: 认购期权3
  18146. type: integer
  18147. calloptionpremiums4:
  18148. description: 认购期权4
  18149. type: integer
  18150. calloptionpremiums5:
  18151. description: 认购期权5
  18152. type: integer
  18153. cleartime:
  18154. description: 清盘时间
  18155. type: integer
  18156. exchangecode:
  18157. description: 交易所代码
  18158. type: integer
  18159. exchangedate:
  18160. description: 交易日
  18161. type: integer
  18162. goodscode:
  18163. description: 商品代码
  18164. type: string
  18165. grepmarketprice:
  18166. description: 暗盘价 港股专用
  18167. type: number
  18168. highest:
  18169. description: 最高价
  18170. type: number
  18171. holdincrement:
  18172. description: 单笔持仓
  18173. type: integer
  18174. holdvolume:
  18175. description: 持仓
  18176. type: integer
  18177. iep:
  18178. description: 平衡价 港股专用
  18179. type: number
  18180. iev:
  18181. description: 平衡量 港股专用
  18182. type: number
  18183. inventory:
  18184. description: 库存
  18185. type: integer
  18186. iscleared:
  18187. description: 是否清盘标志
  18188. type: integer
  18189. issettled:
  18190. description: 是否结算标志
  18191. type: integer
  18192. last:
  18193. description: 最新价
  18194. type: number
  18195. lastlot:
  18196. description: 最新成交手数
  18197. type: integer
  18198. lasttime:
  18199. description: 行情时间(只有现价变化行情时间才变化)
  18200. type: string
  18201. lastturnover:
  18202. description: 最新成交金额
  18203. type: number
  18204. lastvolume:
  18205. description: 最新成交量
  18206. type: integer
  18207. limitdown:
  18208. description: 跌停价
  18209. type: number
  18210. limitup:
  18211. description: 涨停价
  18212. type: number
  18213. lowest:
  18214. description: 最低价
  18215. type: number
  18216. nontotalholdervolume:
  18217. description: 非交易持仓量
  18218. type: integer
  18219. nontotallot:
  18220. description: 非交易总手数
  18221. type: integer
  18222. nontotalturnover:
  18223. description: 非交易总金额
  18224. type: integer
  18225. nontotalvolume:
  18226. description: 非交易总量
  18227. type: integer
  18228. opened:
  18229. description: 开盘价
  18230. type: number
  18231. opentime:
  18232. description: 开盘时间
  18233. type: string
  18234. orderid:
  18235. description: 序号
  18236. type: integer
  18237. preclose:
  18238. description: 昨收
  18239. type: number
  18240. preholdvolume:
  18241. description: 昨持仓
  18242. type: integer
  18243. presettle:
  18244. description: 昨结价
  18245. type: number
  18246. publictradetype:
  18247. description: 公共交易标志类型 港股专用
  18248. type: string
  18249. putoptionpremiums:
  18250. description: 认沽期权1
  18251. type: integer
  18252. putoptionpremiums2:
  18253. description: 认沽期权2
  18254. type: integer
  18255. putoptionpremiums3:
  18256. description: 认沽期权3
  18257. type: integer
  18258. putoptionpremiums4:
  18259. description: 认沽期权4
  18260. type: integer
  18261. putoptionpremiums5:
  18262. description: 认沽期权5
  18263. type: integer
  18264. settle:
  18265. description: 结算价
  18266. type: number
  18267. strikeprice:
  18268. description: 发行价
  18269. type: number
  18270. totalaskvolume:
  18271. description: 内盘
  18272. type: integer
  18273. totalbidvolume:
  18274. description: 外盘
  18275. type: integer
  18276. totallot:
  18277. description: 总手数
  18278. type: integer
  18279. totalturnover:
  18280. description: 总金额
  18281. type: number
  18282. totalvolume:
  18283. description: 总量
  18284. type: integer
  18285. utclasttime:
  18286. description: utc的行情时间
  18287. type: string
  18288. type: object
  18289. quote.QueryTSDataRsp:
  18290. properties:
  18291. Count:
  18292. description: 交易日应有数据个数
  18293. type: integer
  18294. decimalPlace:
  18295. description: 小数位
  18296. type: integer
  18297. endTime:
  18298. description: 结束时间
  18299. type: string
  18300. goodsCode:
  18301. description: 商品代码
  18302. type: string
  18303. historyDatas:
  18304. description: 历史数据
  18305. items:
  18306. $ref: '#/definitions/quote.HistoryData'
  18307. type: array
  18308. outGoodsCode:
  18309. description: 外部商品代码
  18310. type: string
  18311. preSettle:
  18312. description: 昨结价
  18313. type: number
  18314. runSteps:
  18315. description: 交易日开休市计划
  18316. items:
  18317. $ref: '#/definitions/quote.TSDataRunStep'
  18318. type: array
  18319. startTime:
  18320. description: 开始时间
  18321. type: string
  18322. tradeDate:
  18323. description: 交易日
  18324. type: string
  18325. type: object
  18326. quote.TSDataRunStep:
  18327. properties:
  18328. end:
  18329. description: 真实结束时间
  18330. type: string
  18331. endflag:
  18332. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  18333. type: integer
  18334. endtime:
  18335. description: 结束时间(HH:mm)
  18336. type: string
  18337. endweekday:
  18338. description: 结束周几
  18339. type: integer
  18340. groupid:
  18341. description: 分组ID
  18342. type: integer
  18343. runstep:
  18344. description: 运行阶段 - 2:连续交易
  18345. type: integer
  18346. sectionid:
  18347. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几
  18348. type: integer
  18349. start:
  18350. description: 真实开始时间
  18351. type: string
  18352. startflag:
  18353. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  18354. type: integer
  18355. starttime:
  18356. description: 起始时间(HH:mm)
  18357. type: string
  18358. startweekday:
  18359. description: 起始周几
  18360. type: integer
  18361. tradeweekday:
  18362. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  18363. type: integer
  18364. type: object
  18365. szdz.QueryConvertLogRsp:
  18366. properties:
  18367. accountid:
  18368. description: 资金账户ID
  18369. type: integer
  18370. clientticket:
  18371. description: 客户端流水号
  18372. type: string
  18373. converttype:
  18374. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  18375. type: integer
  18376. createtime:
  18377. description: 记账时间
  18378. type: string
  18379. daymaxvalue:
  18380. description: 配置当日最大转入限制
  18381. type: number
  18382. daymaxvalue2:
  18383. description: 配置当日最大转入限制(转入)
  18384. type: number
  18385. goodscode:
  18386. description: 商品代码
  18387. type: string
  18388. goodsname:
  18389. description: 商品名称
  18390. type: string
  18391. handlestatus:
  18392. description: 处理状态
  18393. type: integer
  18394. innergoodsid:
  18395. description: 内部商品ID
  18396. type: integer
  18397. inratio:
  18398. description: 配置转入比值
  18399. type: integer
  18400. invalue:
  18401. description: 目标值
  18402. type: number
  18403. logid:
  18404. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18405. type: integer
  18406. mobile:
  18407. description: 手机号码(加密存储)
  18408. type: string
  18409. outergoodscode:
  18410. description: 外部商品代码[JD\PD]
  18411. type: string
  18412. outratio:
  18413. description: 配置转出比值
  18414. type: integer
  18415. outvalue:
  18416. description: 源值
  18417. type: number
  18418. pddecimalplace:
  18419. description: PD小数位
  18420. type: integer
  18421. qty:
  18422. description: 数量
  18423. type: string
  18424. remark:
  18425. description: 备注
  18426. type: string
  18427. sessionid:
  18428. description: 会话ID
  18429. type: integer
  18430. timemaxvalue:
  18431. description: 配置单次最大转入限制
  18432. type: number
  18433. timemaxvalue2:
  18434. description: 配置单次最大转入限制(转入)
  18435. type: number
  18436. timeminvalue:
  18437. description: 配置单次最小数量限制
  18438. type: number
  18439. timeminvalue2:
  18440. description: 配置单次最小数量限制(转入)
  18441. type: number
  18442. tradedate:
  18443. description: 交易日(yyyyMMdd)
  18444. type: string
  18445. userid:
  18446. description: 用户ID
  18447. type: integer
  18448. required:
  18449. - logid
  18450. type: object
  18451. szdz.QueryGoodsPickupRsp:
  18452. properties:
  18453. accountid:
  18454. description: 账户ID
  18455. type: integer
  18456. address:
  18457. description: 提货人详细地址
  18458. type: string
  18459. auditer:
  18460. description: 审核人
  18461. type: integer
  18462. audittime:
  18463. description: 审核时间
  18464. type: string
  18465. cardnum:
  18466. description: 提货人证件号码
  18467. type: string
  18468. cardtypeid:
  18469. description: 提货人证件类型
  18470. type: integer
  18471. checkremark:
  18472. description: 审核备注
  18473. type: string
  18474. goodscode:
  18475. description: 商品代码
  18476. type: string
  18477. goodsid:
  18478. description: 商品ID
  18479. type: integer
  18480. goodsname:
  18481. description: 商品名称
  18482. type: string
  18483. handlestatus:
  18484. description: 处理状态
  18485. type: integer
  18486. marketid:
  18487. description: 市场ID
  18488. type: integer
  18489. phonenum:
  18490. description: 提货人联系方式
  18491. type: string
  18492. qty:
  18493. description: 提货数量
  18494. type: number
  18495. recivername:
  18496. description: 提货人姓名
  18497. type: string
  18498. reqtime:
  18499. description: 更新时间
  18500. type: string
  18501. takemode:
  18502. description: 提货方式 - 2:自提 3:配送
  18503. type: integer
  18504. takeorderid:
  18505. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  18506. type: string
  18507. takeorderstatus:
  18508. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  18509. type: integer
  18510. takeremark:
  18511. description: 提货备注
  18512. type: string
  18513. tradedate:
  18514. description: 交易日(yyyyMMdd)
  18515. type: string
  18516. userid:
  18517. description: 用户ID
  18518. type: integer
  18519. required:
  18520. - takeorderid
  18521. type: object
  18522. szdz.QueryRecieptOrderRsp:
  18523. properties:
  18524. accountName:
  18525. description: 所属账号名称(已脱敏)
  18526. type: string
  18527. accountid:
  18528. description: 资金账号
  18529. type: integer
  18530. buyorsell:
  18531. description: 方向 - 0:买 1:卖
  18532. type: integer
  18533. enableqty:
  18534. description: 可摘数量
  18535. type: integer
  18536. goodscode:
  18537. description: 商品代码
  18538. type: string
  18539. goodsid:
  18540. description: 商品ID
  18541. type: integer
  18542. goodsname:
  18543. description: 商品名称
  18544. type: string
  18545. orderid:
  18546. description: 委托单号
  18547. type: string
  18548. orderprice:
  18549. description: 委托价格
  18550. type: number
  18551. ordertime:
  18552. description: 委托时间
  18553. type: string
  18554. tradedate:
  18555. description: 交易日(yyyyMMdd)
  18556. type: string
  18557. required:
  18558. - ordertime
  18559. type: object
  18560. szdz.QuerySZDZTradePositionRsp:
  18561. properties:
  18562. accountid:
  18563. description: 账号Id
  18564. type: integer
  18565. agreeunit:
  18566. description: 合约单位
  18567. type: number
  18568. averageprice:
  18569. description: 持仓均价
  18570. type: number
  18571. buyorsell:
  18572. description: 方向 - 0:买 1:卖
  18573. type: integer
  18574. closetotalqty:
  18575. description: 平仓总数量
  18576. type: integer
  18577. curholderamount:
  18578. description: 当前持仓总金额
  18579. type: number
  18580. curpositionqty:
  18581. description: 当前持仓总数量
  18582. type: integer
  18583. currencyid:
  18584. description: 报价货币ID
  18585. type: integer
  18586. curtdposition:
  18587. description: 期末今日头寸
  18588. type: integer
  18589. decimalplace:
  18590. description: 报价小数位
  18591. type: integer
  18592. enableqty:
  18593. description: 可用量
  18594. type: integer
  18595. fretdposition:
  18596. description: 冻结今日头寸
  18597. type: integer
  18598. frozenqty:
  18599. description: 持仓冻结数量
  18600. type: integer
  18601. goodscode:
  18602. description: 商品代码(内部)
  18603. type: string
  18604. goodsid:
  18605. description: 商品Id
  18606. type: integer
  18607. goodsname:
  18608. description: 商品名称
  18609. type: string
  18610. goodunit:
  18611. description: 报价单位
  18612. type: string
  18613. goodunitid:
  18614. description: 报价单位ID
  18615. type: integer
  18616. holderamount:
  18617. description: 期初持仓总金额
  18618. type: number
  18619. marketid:
  18620. description: 市场ID
  18621. type: integer
  18622. openreqqty:
  18623. description: 开仓申请数量
  18624. type: integer
  18625. opentotalqty:
  18626. description: 开仓总数量
  18627. type: integer
  18628. otherfrozenqty:
  18629. description: 持仓其他冻结数量(交割冻结)
  18630. type: integer
  18631. positionqty:
  18632. description: 期初持仓数量
  18633. type: integer
  18634. szdz3freezqty:
  18635. description: 尚志大宗转换冻结总数量
  18636. type: integer
  18637. tnqty:
  18638. description: T+N冻结总量
  18639. type: integer
  18640. tnusedqty:
  18641. description: T+N使用量
  18642. type: integer
  18643. trademode:
  18644. description: 交易模式
  18645. type: integer
  18646. usedmargin:
  18647. description: 占用保证金
  18648. type: number
  18649. type: object
  18650. taaccount.QueryAmountLogRsp:
  18651. properties:
  18652. OPERATETYPENAME:
  18653. description: 资金操作类型名称
  18654. type: string
  18655. accountid:
  18656. description: 资金账户ID
  18657. type: integer
  18658. agoodscode:
  18659. description: 竞拍商品代码
  18660. type: string
  18661. agoodsname:
  18662. description: 竞拍商品名称
  18663. type: string
  18664. amount:
  18665. description: 资金金额
  18666. type: number
  18667. amountadjusttype:
  18668. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  18669. type: integer
  18670. autoid:
  18671. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  18672. type: integer
  18673. balance:
  18674. description: 期初余额
  18675. type: number
  18676. businesscode:
  18677. description: 业务编号
  18678. type: integer
  18679. createtime:
  18680. description: 发生时间
  18681. type: string
  18682. currencyid:
  18683. description: 币种ID
  18684. type: integer
  18685. currentbalance:
  18686. description: 期末余额(变动后金额)
  18687. type: number
  18688. dgoodscode:
  18689. description: 交割商品代码
  18690. type: string
  18691. dgoodsname:
  18692. description: 交割商品名称
  18693. type: string
  18694. goodscode:
  18695. description: 商品代码
  18696. type: string
  18697. goodsid:
  18698. description: 商品ID
  18699. type: integer
  18700. goodsname:
  18701. description: 商品名称
  18702. type: string
  18703. marketid:
  18704. description: 市场ID
  18705. type: integer
  18706. marketname:
  18707. description: 市场名称
  18708. type: string
  18709. moneyticket:
  18710. description: 资金流水号:银行端流水号
  18711. type: integer
  18712. operatetype:
  18713. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费 1007:期权盈亏 1101:营销扣款 1102:营销收款
  18714. type: integer
  18715. relationorderid:
  18716. description: 关联单号
  18717. type: string
  18718. remark:
  18719. description: 备注
  18720. type: string
  18721. trademode:
  18722. description: 交易模式
  18723. type: integer
  18724. required:
  18725. - accountid
  18726. - amount
  18727. - amountadjusttype
  18728. - autoid
  18729. - balance
  18730. - createtime
  18731. - currentbalance
  18732. - operatetype
  18733. type: object
  18734. taaccount.QueryHisAmountLogRsp:
  18735. properties:
  18736. OPERATETYPENAME:
  18737. description: 资金操作类型名称
  18738. type: string
  18739. accountid:
  18740. description: 资金账户ID
  18741. type: integer
  18742. agoodscode:
  18743. description: 竞拍商品代码
  18744. type: string
  18745. agoodsname:
  18746. description: 竞拍商品名称
  18747. type: string
  18748. amount:
  18749. description: 资金金额
  18750. type: number
  18751. amountadjusttype:
  18752. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  18753. type: integer
  18754. autoid:
  18755. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  18756. type: integer
  18757. balance:
  18758. description: 期初余额
  18759. type: number
  18760. businesscode:
  18761. description: 业务编号
  18762. type: integer
  18763. createtime:
  18764. description: 发生时间
  18765. type: string
  18766. currencyid:
  18767. description: 币种ID
  18768. type: integer
  18769. currentbalance:
  18770. description: 期末余额(变动后金额)
  18771. type: number
  18772. dgoodscode:
  18773. description: 交割商品代码
  18774. type: string
  18775. dgoodsname:
  18776. description: 交割商品名称
  18777. type: string
  18778. goodscode:
  18779. description: 商品代码
  18780. type: string
  18781. goodsid:
  18782. description: 商品ID
  18783. type: integer
  18784. goodsname:
  18785. description: 商品名称
  18786. type: string
  18787. histradedate:
  18788. description: 历史交易日
  18789. type: string
  18790. isvaliddata:
  18791. description: 是否有效 - 0:无效 1:有效
  18792. type: integer
  18793. marketid:
  18794. description: 市场ID
  18795. type: integer
  18796. marketname:
  18797. description: 市场名称
  18798. type: string
  18799. moneyticket:
  18800. description: 资金流水号:银行端流水号
  18801. type: integer
  18802. operatetype:
  18803. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费 1007:期权盈亏 1101:营销扣款 1102:营销收款
  18804. type: integer
  18805. relationorderid:
  18806. description: 关联单号
  18807. type: string
  18808. remark:
  18809. description: 备注
  18810. type: string
  18811. trademode:
  18812. description: 交易模式
  18813. type: integer
  18814. required:
  18815. - accountid
  18816. - amount
  18817. - amountadjusttype
  18818. - autoid
  18819. - balance
  18820. - createtime
  18821. - currentbalance
  18822. - histradedate
  18823. - operatetype
  18824. type: object
  18825. trade.QueryRecieptOrderRsp:
  18826. properties:
  18827. accountName:
  18828. description: 所属账号名称(已脱敏)
  18829. type: string
  18830. accountid:
  18831. description: 资金账号
  18832. type: integer
  18833. buyorsell:
  18834. description: 方向 - 0:买 1:卖
  18835. type: integer
  18836. enableqty:
  18837. description: 可摘数量
  18838. type: integer
  18839. goodscode:
  18840. description: 商品代码
  18841. type: string
  18842. goodsid:
  18843. description: 商品ID
  18844. type: integer
  18845. goodsname:
  18846. description: 商品名称
  18847. type: string
  18848. orderid:
  18849. description: 委托单号
  18850. type: string
  18851. orderprice:
  18852. description: 委托价格
  18853. type: number
  18854. ordertime:
  18855. description: 委托时间
  18856. type: string
  18857. tradedate:
  18858. description: 交易日(yyyyMMdd)
  18859. type: string
  18860. required:
  18861. - ordertime
  18862. type: object
  18863. user.LoginQueryRsp:
  18864. properties:
  18865. areaRoles:
  18866. description: 所属角色信息
  18867. items:
  18868. $ref: '#/definitions/models.Arearole'
  18869. type: array
  18870. externalExchanges:
  18871. description: 外部交易所
  18872. items:
  18873. $ref: '#/definitions/models.Externalexchange'
  18874. type: array
  18875. goodsgroups:
  18876. description: 商品组
  18877. items:
  18878. $ref: '#/definitions/models.Goodsgroup'
  18879. type: array
  18880. loginAccount:
  18881. $ref: '#/definitions/models.Loginaccount'
  18882. description: 登录账号
  18883. markets:
  18884. description: 市场
  18885. items:
  18886. $ref: '#/definitions/models.Market'
  18887. type: array
  18888. systemParams:
  18889. description: 系统参数
  18890. items:
  18891. $ref: '#/definitions/models.Systemparam'
  18892. type: array
  18893. userAccount:
  18894. $ref: '#/definitions/models.Useraccount'
  18895. description: 用户账号
  18896. userInfo:
  18897. $ref: '#/definitions/models.Userinfo'
  18898. description: 用户信息
  18899. username:
  18900. description: 用户姓名
  18901. type: string
  18902. type: object
  18903. info:
  18904. contact: {}
  18905. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  18906. termsOfService: http://www.muchinfo.cn
  18907. title: MTP2.0 查询服务 API
  18908. version: "1.0"
  18909. paths:
  18910. /CPTrade/QueryCPTradeMyBidInfos:
  18911. get:
  18912. parameters:
  18913. - description: 资金账户
  18914. in: query
  18915. name: accountid
  18916. required: true
  18917. type: integer
  18918. - description: 预售市场ID
  18919. in: query
  18920. name: marketid
  18921. type: integer
  18922. - description: 预售商品ID
  18923. in: query
  18924. name: goodsid
  18925. type: integer
  18926. produces:
  18927. - application/json
  18928. responses:
  18929. "200":
  18930. description: OK
  18931. schema:
  18932. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  18933. "500":
  18934. description: Internal Server Error
  18935. schema:
  18936. $ref: '#/definitions/app.Response'
  18937. security:
  18938. - ApiKeyAuth: []
  18939. summary: 查询产能预售我的出价信息
  18940. tags:
  18941. - 产能预售
  18942. /CPTrade/QueryCPTradeOrderDetail:
  18943. get:
  18944. parameters:
  18945. - description: 预售商品ID
  18946. in: query
  18947. name: goodsid
  18948. type: integer
  18949. - description: 预售市场ID
  18950. in: query
  18951. name: marketid
  18952. type: integer
  18953. - description: 预售商品ID列表 - 格式:1,2,3
  18954. in: query
  18955. name: goodsids
  18956. type: string
  18957. produces:
  18958. - application/json
  18959. responses:
  18960. "200":
  18961. description: OK
  18962. schema:
  18963. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  18964. "500":
  18965. description: Internal Server Error
  18966. schema:
  18967. $ref: '#/definitions/app.Response'
  18968. security:
  18969. - ApiKeyAuth: []
  18970. summary: 查询产能预售委托单信息
  18971. tags:
  18972. - 产能预售
  18973. /CPTrade/QueryMyCPTradeGoods:
  18974. get:
  18975. parameters:
  18976. - description: 资金账户
  18977. in: query
  18978. name: accountid
  18979. required: true
  18980. type: integer
  18981. produces:
  18982. - application/json
  18983. responses:
  18984. "200":
  18985. description: OK
  18986. schema:
  18987. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  18988. "500":
  18989. description: Internal Server Error
  18990. schema:
  18991. $ref: '#/definitions/app.Response'
  18992. security:
  18993. - ApiKeyAuth: []
  18994. summary: 查询我的预售信息
  18995. tags:
  18996. - 产能预售
  18997. /CPTrade/QueryPositionCancel:
  18998. get:
  18999. parameters:
  19000. - description: 账户ID
  19001. in: query
  19002. name: userid
  19003. required: true
  19004. type: integer
  19005. - description: 注销ID
  19006. in: query
  19007. name: cancelid
  19008. type: integer
  19009. - description: 资金账户ID
  19010. in: query
  19011. name: accountid
  19012. type: integer
  19013. produces:
  19014. - application/json
  19015. responses:
  19016. "200":
  19017. description: OK
  19018. schema:
  19019. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  19020. "500":
  19021. description: Internal Server Error
  19022. schema:
  19023. $ref: '#/definitions/app.Response'
  19024. security:
  19025. - ApiKeyAuth: []
  19026. summary: 查询远期订单注销申请信息
  19027. tags:
  19028. - 产能预售
  19029. /CPTrade/QueryPreasleApply:
  19030. get:
  19031. parameters:
  19032. - description: 账户ID
  19033. in: query
  19034. name: userid
  19035. required: true
  19036. type: integer
  19037. - description: 申请ID
  19038. in: query
  19039. name: applyid
  19040. type: integer
  19041. - description: 资金账户ID
  19042. in: query
  19043. name: accountid
  19044. type: integer
  19045. produces:
  19046. - application/json
  19047. responses:
  19048. "200":
  19049. description: OK
  19050. schema:
  19051. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  19052. "500":
  19053. description: Internal Server Error
  19054. schema:
  19055. $ref: '#/definitions/app.Response'
  19056. security:
  19057. - ApiKeyAuth: []
  19058. summary: 查询产能预售申请信息
  19059. tags:
  19060. - 产能预售
  19061. /CPTrade/QueryPresaleGoodsEx:
  19062. get:
  19063. parameters:
  19064. - description: 预售商品ID
  19065. in: query
  19066. name: goodsid
  19067. type: integer
  19068. - description: 预售市场ID
  19069. in: query
  19070. name: marketid
  19071. type: integer
  19072. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  19073. in: query
  19074. name: presalemode
  19075. type: integer
  19076. - description: 预售商品ID列表 - 格式:1,2,3
  19077. in: query
  19078. name: goodsids
  19079. type: string
  19080. - description: 预售商品代码
  19081. in: query
  19082. name: goodscode
  19083. type: string
  19084. produces:
  19085. - application/json
  19086. responses:
  19087. "200":
  19088. description: OK
  19089. schema:
  19090. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  19091. "500":
  19092. description: Internal Server Error
  19093. schema:
  19094. $ref: '#/definitions/app.Response'
  19095. security:
  19096. - ApiKeyAuth: []
  19097. summary: 查询产能预售商品扩展信息
  19098. tags:
  19099. - 产能预售
  19100. /CPTrade/QueryUserGoodsData:
  19101. get:
  19102. parameters:
  19103. - description: 资金账户ID
  19104. in: query
  19105. name: accountid
  19106. required: true
  19107. type: integer
  19108. produces:
  19109. - application/json
  19110. responses:
  19111. "200":
  19112. description: OK
  19113. schema:
  19114. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  19115. "500":
  19116. description: Internal Server Error
  19117. schema:
  19118. $ref: '#/definitions/app.Response'
  19119. security:
  19120. - ApiKeyAuth: []
  19121. summary: 查询远期订单信息
  19122. tags:
  19123. - 产能预售
  19124. /Common/GetAllEnums:
  19125. get:
  19126. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  19127. parameters:
  19128. - description: 起始自增ID
  19129. in: query
  19130. name: autoid
  19131. type: integer
  19132. produces:
  19133. - application/json
  19134. responses:
  19135. "200":
  19136. description: OK
  19137. schema:
  19138. $ref: '#/definitions/models.Enumdicitem'
  19139. "500":
  19140. description: Internal Server Error
  19141. schema:
  19142. $ref: '#/definitions/app.Response'
  19143. summary: 获取所有枚举信息
  19144. tags:
  19145. - 通用服务
  19146. /Common/GetClientMenus:
  19147. get:
  19148. parameters:
  19149. - description: 登录账号
  19150. in: query
  19151. name: loginID
  19152. required: true
  19153. type: integer
  19154. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  19155. in: query
  19156. name: clientType
  19157. type: integer
  19158. - description: 分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台
  19159. in: query
  19160. name: name
  19161. type: string
  19162. produces:
  19163. - application/json
  19164. responses:
  19165. "200":
  19166. description: OK
  19167. schema:
  19168. items:
  19169. $ref: '#/definitions/common.ClientMenu'
  19170. type: array
  19171. "500":
  19172. description: Internal Server Error
  19173. schema:
  19174. $ref: '#/definitions/app.Response'
  19175. security:
  19176. - ApiKeyAuth: []
  19177. summary: 获取交易端菜单
  19178. tags:
  19179. - 通用服务
  19180. /Common/GetDivisions:
  19181. get:
  19182. produces:
  19183. - application/json
  19184. responses:
  19185. "200":
  19186. description: OK
  19187. schema:
  19188. $ref: '#/definitions/models.Division'
  19189. "500":
  19190. description: Internal Server Error
  19191. schema:
  19192. $ref: '#/definitions/app.Response'
  19193. summary: 查询区域信息
  19194. tags:
  19195. - 通用服务
  19196. /Common/GetPCWebMenus:
  19197. get:
  19198. parameters:
  19199. - description: 登录账号
  19200. in: query
  19201. name: loginID
  19202. required: true
  19203. type: integer
  19204. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  19205. in: query
  19206. name: name
  19207. type: string
  19208. produces:
  19209. - application/json
  19210. responses:
  19211. "200":
  19212. description: OK
  19213. schema:
  19214. items:
  19215. $ref: '#/definitions/common.PCWebMenu'
  19216. type: array
  19217. "500":
  19218. description: Internal Server Error
  19219. schema:
  19220. $ref: '#/definitions/app.Response'
  19221. security:
  19222. - ApiKeyAuth: []
  19223. summary: 获取PCWeb交易端菜单
  19224. tags:
  19225. - 通用服务
  19226. /Common/GetServerTime:
  19227. get:
  19228. produces:
  19229. - application/json
  19230. responses:
  19231. "200":
  19232. description: OK
  19233. schema:
  19234. $ref: '#/definitions/app.Response'
  19235. "500":
  19236. description: Internal Server Error
  19237. schema:
  19238. $ref: '#/definitions/app.Response'
  19239. summary: 获取服务器时间
  19240. tags:
  19241. - 通用服务
  19242. /Common/NoticeReaded:
  19243. post:
  19244. parameters:
  19245. - description: 登录账号
  19246. in: query
  19247. name: loginID
  19248. required: true
  19249. type: integer
  19250. - description: 通知公告ID
  19251. in: query
  19252. name: noticeID
  19253. required: true
  19254. type: integer
  19255. produces:
  19256. - application/json
  19257. responses:
  19258. "200":
  19259. description: OK
  19260. schema:
  19261. $ref: '#/definitions/app.Response'
  19262. "500":
  19263. description: Internal Server Error
  19264. schema:
  19265. $ref: '#/definitions/app.Response'
  19266. security:
  19267. - ApiKeyAuth: []
  19268. summary: 通知公告设置已读请求
  19269. tags:
  19270. - 通用服务
  19271. /Common/QueryErrorInfos:
  19272. get:
  19273. description: 如果传入rowNumber,则返回此rowNumber后的数据
  19274. parameters:
  19275. - description: 起始行号前索引
  19276. in: query
  19277. name: rowNumber
  19278. type: string
  19279. produces:
  19280. - application/json
  19281. responses:
  19282. "200":
  19283. description: OK
  19284. schema:
  19285. $ref: '#/definitions/models.QueryErrorInfosRsp'
  19286. "500":
  19287. description: Internal Server Error
  19288. schema:
  19289. $ref: '#/definitions/app.Response'
  19290. summary: 获取数据库错误信息
  19291. tags:
  19292. - 通用服务
  19293. /Common/QueryImageConfigs:
  19294. get:
  19295. parameters:
  19296. - description: 用户id
  19297. in: query
  19298. name: userId
  19299. type: integer
  19300. - description: 类型 - 1:App首页轮播 2:我的
  19301. in: query
  19302. name: imageType
  19303. type: integer
  19304. produces:
  19305. - application/json
  19306. responses:
  19307. "200":
  19308. description: OK
  19309. schema:
  19310. $ref: '#/definitions/common.QueryImageConfigsRsp'
  19311. "500":
  19312. description: Internal Server Error
  19313. schema:
  19314. $ref: '#/definitions/app.Response'
  19315. summary: 查询轮播图配置信息
  19316. tags:
  19317. - 通用服务
  19318. /Common/QueryNotice:
  19319. get:
  19320. parameters:
  19321. - description: 页码
  19322. in: query
  19323. name: page
  19324. type: integer
  19325. - description: 每页条数
  19326. in: query
  19327. name: pagesize
  19328. type: integer
  19329. - description: 登录账号
  19330. in: query
  19331. name: loginID
  19332. required: true
  19333. type: integer
  19334. - description: 消息类型 - 1:公告通知 2:系统消息
  19335. in: query
  19336. name: msgType
  19337. type: integer
  19338. - description: 是否只获取未读信息
  19339. in: query
  19340. name: onlyUnRead
  19341. type: boolean
  19342. - description: 自增ID,传入后会返回这个ID后面的记录
  19343. in: query
  19344. name: lastID
  19345. type: integer
  19346. produces:
  19347. - application/json
  19348. responses:
  19349. "200":
  19350. description: OK
  19351. schema:
  19352. $ref: '#/definitions/common.QueryNoticeRsp'
  19353. "500":
  19354. description: Internal Server Error
  19355. schema:
  19356. $ref: '#/definitions/app.Response'
  19357. security:
  19358. - ApiKeyAuth: []
  19359. summary: 通知公告系统消息查询
  19360. tags:
  19361. - 通用服务
  19362. /Common/QueryProvincesAndCities:
  19363. get:
  19364. parameters:
  19365. - description: 省ID
  19366. in: query
  19367. name: provinceID
  19368. type: integer
  19369. produces:
  19370. - application/json
  19371. responses:
  19372. "200":
  19373. description: OK
  19374. schema:
  19375. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  19376. "500":
  19377. description: Internal Server Error
  19378. schema:
  19379. $ref: '#/definitions/app.Response'
  19380. summary: 查询省市信息(不包括区)
  19381. tags:
  19382. - 通用服务
  19383. /Common/QueryTableDefine:
  19384. get:
  19385. parameters:
  19386. - description: 表key
  19387. in: query
  19388. name: tableKey
  19389. type: string
  19390. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  19391. in: query
  19392. name: tableType
  19393. type: integer
  19394. produces:
  19395. - application/json
  19396. responses:
  19397. "200":
  19398. description: OK
  19399. schema:
  19400. $ref: '#/definitions/common.QueryTableDefineRsp'
  19401. "500":
  19402. description: Internal Server Error
  19403. schema:
  19404. $ref: '#/definitions/app.Response'
  19405. summary: 查询交易端列表头信息
  19406. tags:
  19407. - 通用服务
  19408. /Common/QueryTraderMenu:
  19409. get:
  19410. parameters:
  19411. - description: 登录账号
  19412. in: query
  19413. name: loginid
  19414. required: true
  19415. type: integer
  19416. produces:
  19417. - application/json
  19418. responses:
  19419. "200":
  19420. description: OK
  19421. schema:
  19422. $ref: '#/definitions/common.QueryTraderMenuRsp'
  19423. "500":
  19424. description: Internal Server Error
  19425. schema:
  19426. $ref: '#/definitions/app.Response'
  19427. summary: 查询交易端菜单
  19428. tags:
  19429. - 通用服务
  19430. /Delivery/QueryDeliveryRelation:
  19431. get:
  19432. parameters:
  19433. - description: 商品ID
  19434. in: query
  19435. name: goodsid
  19436. type: integer
  19437. - description: 品种ID
  19438. in: query
  19439. name: deliverygoodsid
  19440. type: integer
  19441. - description: 市场ID
  19442. in: query
  19443. name: marketid
  19444. type: integer
  19445. produces:
  19446. - application/json
  19447. responses:
  19448. "200":
  19449. description: OK
  19450. schema:
  19451. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  19452. "500":
  19453. description: Internal Server Error
  19454. schema:
  19455. $ref: '#/definitions/app.Response'
  19456. security:
  19457. - ApiKeyAuth: []
  19458. summary: 查询商品交割关系表
  19459. tags:
  19460. - 交割服务
  19461. /Ermcp/GetErmcpGoods:
  19462. get:
  19463. parameters:
  19464. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  19465. in: query
  19466. name: lastUpdateTime
  19467. type: string
  19468. produces:
  19469. - application/json
  19470. responses:
  19471. "200":
  19472. description: OK
  19473. schema:
  19474. $ref: '#/definitions/models.ErmcpGoods'
  19475. "500":
  19476. description: Internal Server Error
  19477. schema:
  19478. $ref: '#/definitions/app.Response'
  19479. security:
  19480. - ApiKeyAuth: []
  19481. summary: 查询企业风管期货商品信息
  19482. tags:
  19483. - 企业风险管理(app)
  19484. /Ermcp/GetErmcpGoodsSortByPosition:
  19485. get:
  19486. parameters:
  19487. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  19488. in: query
  19489. name: sortIndex
  19490. type: string
  19491. produces:
  19492. - application/json
  19493. responses:
  19494. "200":
  19495. description: OK
  19496. schema:
  19497. $ref: '#/definitions/models.Goodssortbypreposition'
  19498. "500":
  19499. description: Internal Server Error
  19500. schema:
  19501. $ref: '#/definitions/app.Response'
  19502. security:
  19503. - ApiKeyAuth: []
  19504. summary: 查询企业风管期货主力、次主力商品信息
  19505. tags:
  19506. - 企业风险管理(app)
  19507. /Ermcp/GetErmcpOutAccountStatus:
  19508. get:
  19509. parameters:
  19510. - description: 登录账号
  19511. in: query
  19512. name: loginID
  19513. required: true
  19514. type: integer
  19515. produces:
  19516. - application/json
  19517. responses:
  19518. "200":
  19519. description: OK
  19520. schema:
  19521. $ref: '#/definitions/models.Hedgemarketopenlog'
  19522. "500":
  19523. description: Internal Server Error
  19524. schema:
  19525. $ref: '#/definitions/app.Response'
  19526. security:
  19527. - ApiKeyAuth: []
  19528. summary: 获取目标登录账号当前对冲账号在线状态
  19529. tags:
  19530. - 企业风险管理(app)
  19531. /Ermcp/GetErmcpRoleFuncMenuLists:
  19532. get:
  19533. parameters:
  19534. - description: 登录账号
  19535. in: query
  19536. name: loginID
  19537. required: true
  19538. type: integer
  19539. produces:
  19540. - application/json
  19541. responses:
  19542. "200":
  19543. description: OK
  19544. schema:
  19545. $ref: '#/definitions/models.Funcmenulist'
  19546. "500":
  19547. description: Internal Server Error
  19548. schema:
  19549. $ref: '#/definitions/app.Response'
  19550. security:
  19551. - ApiKeyAuth: []
  19552. summary: 获取企业风管终端权限
  19553. tags:
  19554. - 企业风险管理(app)
  19555. /Ermcp/QueryAccMgrBizGroupSet:
  19556. get:
  19557. parameters:
  19558. - description: 用户ID
  19559. in: query
  19560. name: userid
  19561. required: true
  19562. type: integer
  19563. - description: 现货商品id
  19564. in: query
  19565. name: deliverygoodsid
  19566. type: integer
  19567. produces:
  19568. - application/json
  19569. responses:
  19570. "200":
  19571. description: OK
  19572. schema:
  19573. items:
  19574. $ref: '#/definitions/models.ErmcpBizGroupEx'
  19575. type: array
  19576. "500":
  19577. description: Internal Server Error
  19578. schema:
  19579. $ref: '#/definitions/app.Response'
  19580. security:
  19581. - ApiKeyAuth: []
  19582. summary: 查询业务类型分组(账户管理/账户设置)
  19583. tags:
  19584. - 企业风险管理(app)
  19585. /Ermcp/QueryAccMgrLoginUser:
  19586. get:
  19587. parameters:
  19588. - description: 用户ID
  19589. in: query
  19590. name: userid
  19591. required: true
  19592. type: integer
  19593. - description: 用户类型 2-机构 7-企业成员
  19594. in: query
  19595. name: usertype
  19596. type: integer
  19597. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  19598. in: query
  19599. name: querytype
  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/models.ErmcpLoginUserEx'
  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/QueryAccMgrMainAccountInfo:
  19621. get:
  19622. parameters:
  19623. - description: 用户ID
  19624. in: query
  19625. name: userid
  19626. type: integer
  19627. - description: 主账号id
  19628. in: query
  19629. name: accountid
  19630. type: integer
  19631. produces:
  19632. - application/json
  19633. responses:
  19634. "200":
  19635. description: OK
  19636. schema:
  19637. items:
  19638. $ref: '#/definitions/models.MainAccountInfo'
  19639. type: array
  19640. "500":
  19641. description: Internal Server Error
  19642. schema:
  19643. $ref: '#/definitions/app.Response'
  19644. security:
  19645. - ApiKeyAuth: []
  19646. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  19647. tags:
  19648. - 企业风险管理(app)
  19649. /Ermcp/QueryAccMgrRole:
  19650. get:
  19651. parameters:
  19652. - description: 用户ID
  19653. in: query
  19654. name: userid
  19655. required: true
  19656. type: integer
  19657. produces:
  19658. - application/json
  19659. responses:
  19660. "200":
  19661. description: OK
  19662. schema:
  19663. items:
  19664. $ref: '#/definitions/models.ErmcpRole'
  19665. type: array
  19666. "500":
  19667. description: Internal Server Error
  19668. schema:
  19669. $ref: '#/definitions/app.Response'
  19670. security:
  19671. - ApiKeyAuth: []
  19672. summary: 查询账户管理角色设置(账户管理/角色设置)
  19673. tags:
  19674. - 企业风险管理(app)
  19675. /Ermcp/QueryAccMgrRoleMenu:
  19676. get:
  19677. parameters:
  19678. - description: 用户ID
  19679. in: query
  19680. name: userid
  19681. required: true
  19682. type: integer
  19683. - description: 角色id(可多个,逗号隔开)
  19684. in: query
  19685. name: roleid
  19686. type: string
  19687. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  19688. in: query
  19689. name: menutype
  19690. type: integer
  19691. produces:
  19692. - application/json
  19693. responses:
  19694. "200":
  19695. description: OK
  19696. schema:
  19697. items:
  19698. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  19699. type: array
  19700. "500":
  19701. description: Internal Server Error
  19702. schema:
  19703. $ref: '#/definitions/app.Response'
  19704. security:
  19705. - ApiKeyAuth: []
  19706. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  19707. tags:
  19708. - 企业风险管理(app)
  19709. /Ermcp/QueryAccMgrTaAccountInfo:
  19710. get:
  19711. parameters:
  19712. - description: 用户ID
  19713. in: query
  19714. name: userid
  19715. required: true
  19716. type: integer
  19717. - description: 账号id
  19718. in: query
  19719. name: accountid
  19720. type: integer
  19721. produces:
  19722. - application/json
  19723. responses:
  19724. "200":
  19725. description: OK
  19726. schema:
  19727. items:
  19728. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  19729. type: array
  19730. "500":
  19731. description: Internal Server Error
  19732. schema:
  19733. $ref: '#/definitions/app.Response'
  19734. security:
  19735. - ApiKeyAuth: []
  19736. summary: 查询账户管理授信(账户管理/账户设置/授信)
  19737. tags:
  19738. - 企业风险管理(app)
  19739. /Ermcp/QueryAccMgrTaaccount:
  19740. get:
  19741. parameters:
  19742. - description: 用户ID
  19743. in: query
  19744. name: userid
  19745. required: true
  19746. type: integer
  19747. produces:
  19748. - application/json
  19749. responses:
  19750. "200":
  19751. description: OK
  19752. schema:
  19753. items:
  19754. $ref: '#/definitions/models.ErmcpTaAccountEx'
  19755. type: array
  19756. "500":
  19757. description: Internal Server Error
  19758. schema:
  19759. $ref: '#/definitions/app.Response'
  19760. security:
  19761. - ApiKeyAuth: []
  19762. summary: 查询账户管理期货账号(账户管理/期货账号)
  19763. tags:
  19764. - 企业风险管理(app)
  19765. /Ermcp/QueryAvaildGoodsGroup:
  19766. get:
  19767. parameters:
  19768. - description: 所属机构ID
  19769. in: query
  19770. name: userid
  19771. required: true
  19772. type: integer
  19773. produces:
  19774. - application/json
  19775. responses:
  19776. "200":
  19777. description: OK
  19778. schema:
  19779. items:
  19780. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  19781. type: array
  19782. "500":
  19783. description: Internal Server Error
  19784. schema:
  19785. $ref: '#/definitions/app.Response'
  19786. security:
  19787. - ApiKeyAuth: []
  19788. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  19789. tags:
  19790. - 企业风险管理(app)
  19791. /Ermcp/QueryBusinessDj:
  19792. get:
  19793. parameters:
  19794. - description: 用户ID
  19795. in: query
  19796. name: UserId
  19797. required: true
  19798. type: integer
  19799. - description: 用户类型 2-机构 7-企业成员
  19800. in: query
  19801. name: usertype
  19802. type: integer
  19803. - description: 现货合同ID, 不填则查所有
  19804. in: query
  19805. name: relatedid
  19806. type: string
  19807. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19808. in: query
  19809. name: applystatus
  19810. type: string
  19811. produces:
  19812. - application/json
  19813. responses:
  19814. "200":
  19815. description: OK
  19816. schema:
  19817. items:
  19818. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  19819. type: array
  19820. "500":
  19821. description: Internal Server Error
  19822. schema:
  19823. $ref: '#/definitions/app.Response'
  19824. security:
  19825. - ApiKeyAuth: []
  19826. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  19827. tags:
  19828. - 企业风险管理(app)
  19829. /Ermcp/QueryBusinessFp:
  19830. get:
  19831. parameters:
  19832. - description: 用户ID
  19833. in: query
  19834. name: UserId
  19835. required: true
  19836. type: integer
  19837. - description: 用户类型 2-机构 7-企业成员
  19838. in: query
  19839. name: usertype
  19840. type: integer
  19841. - description: 现货合同ID, 不填则查所有
  19842. in: query
  19843. name: relatedid
  19844. type: string
  19845. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19846. in: query
  19847. name: applystatus
  19848. type: string
  19849. produces:
  19850. - application/json
  19851. responses:
  19852. "200":
  19853. description: OK
  19854. schema:
  19855. items:
  19856. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  19857. type: array
  19858. "500":
  19859. description: Internal Server Error
  19860. schema:
  19861. $ref: '#/definitions/app.Response'
  19862. security:
  19863. - ApiKeyAuth: []
  19864. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  19865. tags:
  19866. - 企业风险管理(app)
  19867. /Ermcp/QueryBusinessJs:
  19868. get:
  19869. parameters:
  19870. - description: 用户ID
  19871. in: query
  19872. name: UserId
  19873. required: true
  19874. type: integer
  19875. - description: 用户类型 2-机构 7-企业成员
  19876. in: query
  19877. name: usertype
  19878. type: integer
  19879. - description: 现货合同ID, 不填则查所有
  19880. in: query
  19881. name: relatedid
  19882. type: string
  19883. - description: 操作申请id
  19884. in: query
  19885. name: operateapplyid
  19886. type: string
  19887. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19888. in: query
  19889. name: applystatus
  19890. type: string
  19891. produces:
  19892. - application/json
  19893. responses:
  19894. "200":
  19895. description: OK
  19896. schema:
  19897. items:
  19898. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  19899. type: array
  19900. "500":
  19901. description: Internal Server Error
  19902. schema:
  19903. $ref: '#/definitions/app.Response'
  19904. security:
  19905. - ApiKeyAuth: []
  19906. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  19907. tags:
  19908. - 企业风险管理(app)
  19909. /Ermcp/QueryBusinessJsEx:
  19910. get:
  19911. parameters:
  19912. - description: 用户ID
  19913. in: query
  19914. name: UserId
  19915. required: true
  19916. type: integer
  19917. - description: 用户类型 2-机构 7-企业成员
  19918. in: query
  19919. name: usertype
  19920. type: integer
  19921. - description: 现货合同ID, 不填则查所有
  19922. in: query
  19923. name: relatedid
  19924. type: string
  19925. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19926. in: query
  19927. name: applystatus
  19928. type: string
  19929. produces:
  19930. - application/json
  19931. responses:
  19932. "200":
  19933. description: OK
  19934. schema:
  19935. items:
  19936. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  19937. type: array
  19938. "500":
  19939. description: Internal Server Error
  19940. schema:
  19941. $ref: '#/definitions/app.Response'
  19942. security:
  19943. - ApiKeyAuth: []
  19944. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  19945. tags:
  19946. - 企业风险管理(app)
  19947. /Ermcp/QueryBusinessKx:
  19948. get:
  19949. parameters:
  19950. - description: 用户ID
  19951. in: query
  19952. name: UserId
  19953. required: true
  19954. type: integer
  19955. - description: 用户类型 2-机构 7-企业成员
  19956. in: query
  19957. name: usertype
  19958. type: integer
  19959. - description: 现货合同ID, 不填则查所有
  19960. in: query
  19961. name: relatedid
  19962. type: string
  19963. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19964. in: query
  19965. name: applystatus
  19966. type: string
  19967. produces:
  19968. - application/json
  19969. responses:
  19970. "200":
  19971. description: OK
  19972. schema:
  19973. items:
  19974. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  19975. type: array
  19976. "500":
  19977. description: Internal Server Error
  19978. schema:
  19979. $ref: '#/definitions/app.Response'
  19980. security:
  19981. - ApiKeyAuth: []
  19982. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  19983. tags:
  19984. - 企业风险管理(app)
  19985. /Ermcp/QueryChangeLog:
  19986. get:
  19987. parameters:
  19988. - description: 合同ID
  19989. in: query
  19990. name: RelatedId
  19991. required: true
  19992. type: string
  19993. produces:
  19994. - application/json
  19995. responses:
  19996. "200":
  19997. description: OK
  19998. schema:
  19999. items:
  20000. $ref: '#/definitions/ermcp.QryOPLogRsp'
  20001. type: array
  20002. "500":
  20003. description: Internal Server Error
  20004. schema:
  20005. $ref: '#/definitions/app.Response'
  20006. security:
  20007. - ApiKeyAuth: []
  20008. summary: 查询变更记录
  20009. tags:
  20010. - 企业风险管理(app)
  20011. /Ermcp/QueryErmcpHisOrderDetails:
  20012. get:
  20013. parameters:
  20014. - description: 资金账户ID
  20015. in: query
  20016. name: accountID
  20017. required: true
  20018. type: integer
  20019. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  20020. in: query
  20021. name: startDate
  20022. type: string
  20023. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  20024. in: query
  20025. name: endDate
  20026. type: string
  20027. produces:
  20028. - application/json
  20029. responses:
  20030. "200":
  20031. description: OK
  20032. schema:
  20033. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  20034. "500":
  20035. description: Internal Server Error
  20036. schema:
  20037. $ref: '#/definitions/app.Response'
  20038. security:
  20039. - ApiKeyAuth: []
  20040. summary: 获取企业风管期货历史委托单信息
  20041. tags:
  20042. - 企业风险管理(app)
  20043. /Ermcp/QueryErmcpHisTradeDetails:
  20044. get:
  20045. parameters:
  20046. - description: 资金账户ID
  20047. in: query
  20048. name: accountID
  20049. required: true
  20050. type: integer
  20051. - description: 商品ID
  20052. in: query
  20053. name: goodsID
  20054. type: integer
  20055. - description: 买卖方向,0:买 1:卖
  20056. in: query
  20057. name: buyOrSell
  20058. type: integer
  20059. - description: 关联委托单号
  20060. in: query
  20061. name: orderID
  20062. type: integer
  20063. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  20064. in: query
  20065. name: startDate
  20066. type: string
  20067. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  20068. in: query
  20069. name: endDate
  20070. type: string
  20071. produces:
  20072. - application/json
  20073. responses:
  20074. "200":
  20075. description: OK
  20076. schema:
  20077. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  20078. "500":
  20079. description: Internal Server Error
  20080. schema:
  20081. $ref: '#/definitions/app.Response'
  20082. security:
  20083. - ApiKeyAuth: []
  20084. summary: 获取企业风管期货历史成交单信息
  20085. tags:
  20086. - 企业风险管理(app)
  20087. /Ermcp/QueryErmcpInnerHolderDetails:
  20088. get:
  20089. parameters:
  20090. - description: 资金账户ID
  20091. in: query
  20092. name: accountID
  20093. required: true
  20094. type: integer
  20095. - description: 商品ID
  20096. in: query
  20097. name: goodsID
  20098. type: integer
  20099. - description: 买卖方向,0:买 1:卖
  20100. in: query
  20101. name: buyOrSell
  20102. type: integer
  20103. produces:
  20104. - application/json
  20105. responses:
  20106. "200":
  20107. description: OK
  20108. schema:
  20109. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  20110. "500":
  20111. description: Internal Server Error
  20112. schema:
  20113. $ref: '#/definitions/app.Response'
  20114. security:
  20115. - ApiKeyAuth: []
  20116. summary: 获取企业风管期货内部持仓单信息
  20117. tags:
  20118. - 企业风险管理(app)
  20119. /Ermcp/QueryErmcpOrderDetails:
  20120. get:
  20121. parameters:
  20122. - description: 资金账户ID
  20123. in: query
  20124. name: accountID
  20125. required: true
  20126. type: integer
  20127. produces:
  20128. - application/json
  20129. responses:
  20130. "200":
  20131. description: OK
  20132. schema:
  20133. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  20134. "500":
  20135. description: Internal Server Error
  20136. schema:
  20137. $ref: '#/definitions/app.Response'
  20138. security:
  20139. - ApiKeyAuth: []
  20140. summary: 获取企业风管期货委托单信息
  20141. tags:
  20142. - 企业风险管理(app)
  20143. /Ermcp/QueryErmcpTradeDetails:
  20144. get:
  20145. parameters:
  20146. - description: 资金账户ID
  20147. in: query
  20148. name: accountID
  20149. required: true
  20150. type: integer
  20151. - description: 商品ID
  20152. in: query
  20153. name: goodsID
  20154. type: integer
  20155. - description: 买卖方向,0:买 1:卖
  20156. in: query
  20157. name: buyOrSell
  20158. type: integer
  20159. - description: 关联委托单号
  20160. in: query
  20161. name: orderID
  20162. type: integer
  20163. produces:
  20164. - application/json
  20165. responses:
  20166. "200":
  20167. description: OK
  20168. schema:
  20169. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  20170. "500":
  20171. description: Internal Server Error
  20172. schema:
  20173. $ref: '#/definitions/app.Response'
  20174. security:
  20175. - ApiKeyAuth: []
  20176. summary: 获取企业风管期货成交单信息
  20177. tags:
  20178. - 企业风险管理(app)
  20179. /Ermcp/QueryErmcpTradePosition:
  20180. get:
  20181. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  20182. parameters:
  20183. - description: 资金账户ID
  20184. in: query
  20185. name: accountID
  20186. required: true
  20187. type: integer
  20188. - description: 所属市场ID
  20189. in: query
  20190. name: marketID
  20191. type: integer
  20192. produces:
  20193. - application/json
  20194. responses:
  20195. "200":
  20196. description: OK
  20197. schema:
  20198. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  20199. "500":
  20200. description: Internal Server Error
  20201. schema:
  20202. $ref: '#/definitions/app.Response'
  20203. security:
  20204. - ApiKeyAuth: []
  20205. summary: 获取企业风管期货持仓头寸信息
  20206. tags:
  20207. - 企业风险管理(app)
  20208. /Ermcp/QueryExposureDetail:
  20209. get:
  20210. parameters:
  20211. - description: 所属机构ID
  20212. in: query
  20213. name: areaUserId
  20214. required: true
  20215. type: integer
  20216. - description: 套保商品
  20217. in: query
  20218. name: middleGoodsId
  20219. required: true
  20220. type: integer
  20221. produces:
  20222. - application/json
  20223. responses:
  20224. "200":
  20225. description: OK
  20226. schema:
  20227. items:
  20228. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  20229. type: array
  20230. "500":
  20231. description: Internal Server Error
  20232. schema:
  20233. $ref: '#/definitions/app.Response'
  20234. security:
  20235. - ApiKeyAuth: []
  20236. summary: 查询敞口现货明细
  20237. tags:
  20238. - 企业风险管理(app)
  20239. /Ermcp/QueryExposureGoods:
  20240. get:
  20241. parameters:
  20242. - description: 套保商品id
  20243. in: query
  20244. name: middlegoodsid
  20245. required: true
  20246. type: integer
  20247. produces:
  20248. - application/json
  20249. responses:
  20250. "200":
  20251. description: OK
  20252. schema:
  20253. items:
  20254. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  20255. type: array
  20256. "500":
  20257. description: Internal Server Error
  20258. schema:
  20259. $ref: '#/definitions/app.Response'
  20260. security:
  20261. - ApiKeyAuth: []
  20262. summary: 查询敞口主力合约
  20263. tags:
  20264. - 企业风险管理(app)
  20265. /Ermcp/QueryExposureHedgePosition:
  20266. get:
  20267. parameters:
  20268. - description: 用户id
  20269. in: query
  20270. name: userid
  20271. required: true
  20272. type: integer
  20273. produces:
  20274. - application/json
  20275. responses:
  20276. "200":
  20277. description: OK
  20278. schema:
  20279. items:
  20280. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  20281. type: array
  20282. "500":
  20283. description: Internal Server Error
  20284. schema:
  20285. $ref: '#/definitions/app.Response'
  20286. security:
  20287. - ApiKeyAuth: []
  20288. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  20289. tags:
  20290. - 企业风险管理(app)
  20291. /Ermcp/QueryExposureHedgePositionDetail:
  20292. get:
  20293. parameters:
  20294. - description: 所属机构ID
  20295. in: query
  20296. name: userid
  20297. required: true
  20298. type: integer
  20299. - description: 商品id
  20300. in: query
  20301. name: goodsId
  20302. required: true
  20303. type: integer
  20304. produces:
  20305. - application/json
  20306. responses:
  20307. "200":
  20308. description: OK
  20309. schema:
  20310. items:
  20311. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  20312. type: array
  20313. "500":
  20314. description: Internal Server Error
  20315. schema:
  20316. $ref: '#/definitions/app.Response'
  20317. security:
  20318. - ApiKeyAuth: []
  20319. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  20320. tags:
  20321. - 企业风险管理(app)
  20322. /Ermcp/QueryExposureSpot:
  20323. get:
  20324. parameters:
  20325. - description: 所属机构ID
  20326. in: query
  20327. name: areaUserId
  20328. required: true
  20329. type: integer
  20330. produces:
  20331. - application/json
  20332. responses:
  20333. "200":
  20334. description: OK
  20335. schema:
  20336. items:
  20337. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  20338. type: array
  20339. "500":
  20340. description: Internal Server Error
  20341. schema:
  20342. $ref: '#/definitions/app.Response'
  20343. security:
  20344. - ApiKeyAuth: []
  20345. summary: 查询敞口现货头寸(敞口/现货头寸)
  20346. tags:
  20347. - 企业风险管理(app)
  20348. /Ermcp/QueryExposureSpotDetail:
  20349. get:
  20350. parameters:
  20351. - description: 所属机构ID
  20352. in: query
  20353. name: areaUserId
  20354. required: true
  20355. type: integer
  20356. - description: 现货品种ID
  20357. in: query
  20358. name: wrstandardId
  20359. required: true
  20360. type: integer
  20361. produces:
  20362. - application/json
  20363. responses:
  20364. "200":
  20365. description: OK
  20366. schema:
  20367. items:
  20368. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  20369. type: array
  20370. "500":
  20371. description: Internal Server Error
  20372. schema:
  20373. $ref: '#/definitions/app.Response'
  20374. security:
  20375. - ApiKeyAuth: []
  20376. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  20377. tags:
  20378. - 企业风险管理(app)
  20379. /Ermcp/QueryFuturesCompany:
  20380. get:
  20381. produces:
  20382. - application/json
  20383. responses:
  20384. "200":
  20385. description: OK
  20386. schema:
  20387. items:
  20388. $ref: '#/definitions/models.ErmcpFuturesCompany'
  20389. type: array
  20390. "500":
  20391. description: Internal Server Error
  20392. schema:
  20393. $ref: '#/definitions/app.Response'
  20394. security:
  20395. - ApiKeyAuth: []
  20396. summary: 查询期货公司
  20397. tags:
  20398. - 企业风险管理(app)
  20399. /Ermcp/QueryGGConvertConfig:
  20400. get:
  20401. parameters:
  20402. - description: 品种id(不填则查所有)
  20403. in: query
  20404. name: goodsgroupid
  20405. type: integer
  20406. produces:
  20407. - application/json
  20408. responses:
  20409. "200":
  20410. description: OK
  20411. schema:
  20412. items:
  20413. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  20414. type: array
  20415. "500":
  20416. description: Internal Server Error
  20417. schema:
  20418. $ref: '#/definitions/app.Response'
  20419. security:
  20420. - ApiKeyAuth: []
  20421. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  20422. tags:
  20423. - 企业风险管理(app)
  20424. /Ermcp/QueryGoodsBrand:
  20425. get:
  20426. parameters:
  20427. - description: 用户ID
  20428. in: query
  20429. name: userid
  20430. required: true
  20431. type: integer
  20432. - description: 现货商品ID
  20433. in: query
  20434. name: wrstandardid
  20435. type: integer
  20436. produces:
  20437. - application/json
  20438. responses:
  20439. "200":
  20440. description: OK
  20441. schema:
  20442. items:
  20443. $ref: '#/definitions/models.ErmcpGoodsBrand'
  20444. type: array
  20445. "500":
  20446. description: Internal Server Error
  20447. schema:
  20448. $ref: '#/definitions/app.Response'
  20449. security:
  20450. - ApiKeyAuth: []
  20451. summary: 查询商品品牌
  20452. tags:
  20453. - 企业风险管理(app)
  20454. /Ermcp/QueryGoodsModel:
  20455. get:
  20456. parameters:
  20457. - description: 用户ID
  20458. in: query
  20459. name: userid
  20460. required: true
  20461. type: integer
  20462. produces:
  20463. - application/json
  20464. responses:
  20465. "200":
  20466. description: OK
  20467. schema:
  20468. items:
  20469. $ref: '#/definitions/models.ErmcpGoodsModel'
  20470. type: array
  20471. "500":
  20472. description: Internal Server Error
  20473. schema:
  20474. $ref: '#/definitions/app.Response'
  20475. security:
  20476. - ApiKeyAuth: []
  20477. summary: 查询商品型号
  20478. tags:
  20479. - 企业风险管理(app)
  20480. /Ermcp/QueryHisExposure:
  20481. get:
  20482. parameters:
  20483. - description: 用户id
  20484. in: query
  20485. name: userid
  20486. required: true
  20487. type: integer
  20488. - description: 每个品种记录数
  20489. in: query
  20490. name: lastNum
  20491. required: true
  20492. type: integer
  20493. produces:
  20494. - application/json
  20495. responses:
  20496. "200":
  20497. description: OK
  20498. schema:
  20499. items:
  20500. $ref: '#/definitions/ermcp.HisExposureRsp'
  20501. type: array
  20502. "500":
  20503. description: Internal Server Error
  20504. schema:
  20505. $ref: '#/definitions/app.Response'
  20506. security:
  20507. - ApiKeyAuth: []
  20508. summary: 查询历史敞口(菜单:敞口/历史敞口)
  20509. tags:
  20510. - 企业风险管理(app)
  20511. /Ermcp/QueryMiddleGoods:
  20512. get:
  20513. parameters:
  20514. - description: 所属机构ID
  20515. in: query
  20516. name: userid
  20517. required: true
  20518. type: integer
  20519. - description: 状态 0-停用 1-正常
  20520. in: query
  20521. name: status
  20522. required: true
  20523. type: integer
  20524. produces:
  20525. - application/json
  20526. responses:
  20527. "200":
  20528. description: OK
  20529. schema:
  20530. items:
  20531. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  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. - 企业风险管理(app)
  20542. /Ermcp/QueryMiddleGoodsChangeLog:
  20543. get:
  20544. parameters:
  20545. - description: 所属机构ID
  20546. in: query
  20547. name: userid
  20548. required: true
  20549. type: integer
  20550. - description: 套保品种id
  20551. in: query
  20552. name: middlegoodsid
  20553. required: true
  20554. type: integer
  20555. produces:
  20556. - application/json
  20557. responses:
  20558. "200":
  20559. description: OK
  20560. schema:
  20561. items:
  20562. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  20563. type: array
  20564. "500":
  20565. description: Internal Server Error
  20566. schema:
  20567. $ref: '#/definitions/app.Response'
  20568. security:
  20569. - ApiKeyAuth: []
  20570. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  20571. tags:
  20572. - 企业风险管理(app)
  20573. /Ermcp/QueryMiddleGoodsDetail:
  20574. get:
  20575. parameters:
  20576. - description: 所属机构ID
  20577. in: query
  20578. name: userid
  20579. required: true
  20580. type: integer
  20581. - description: 套保品种id
  20582. in: query
  20583. name: middlegoodsid
  20584. type: integer
  20585. produces:
  20586. - application/json
  20587. responses:
  20588. "200":
  20589. description: OK
  20590. schema:
  20591. items:
  20592. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  20593. type: array
  20594. "500":
  20595. description: Internal Server Error
  20596. schema:
  20597. $ref: '#/definitions/app.Response'
  20598. security:
  20599. - ApiKeyAuth: []
  20600. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  20601. tags:
  20602. - 企业风险管理(app)
  20603. /Ermcp/QueryPendingAuditInfo:
  20604. get:
  20605. parameters:
  20606. - description: 用户ID
  20607. in: query
  20608. name: UserId
  20609. required: true
  20610. type: integer
  20611. produces:
  20612. - application/json
  20613. responses:
  20614. "200":
  20615. description: OK
  20616. schema:
  20617. items:
  20618. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  20619. type: array
  20620. "500":
  20621. description: Internal Server Error
  20622. schema:
  20623. $ref: '#/definitions/app.Response'
  20624. security:
  20625. - ApiKeyAuth: []
  20626. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  20627. tags:
  20628. - 企业风险管理(app)
  20629. /Ermcp/QueryRealtimeExposure:
  20630. get:
  20631. parameters:
  20632. - description: 所属机构ID
  20633. in: query
  20634. name: userid
  20635. required: true
  20636. type: integer
  20637. produces:
  20638. - application/json
  20639. responses:
  20640. "200":
  20641. description: OK
  20642. schema:
  20643. items:
  20644. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  20645. type: array
  20646. "500":
  20647. description: Internal Server Error
  20648. schema:
  20649. $ref: '#/definitions/app.Response'
  20650. security:
  20651. - ApiKeyAuth: []
  20652. summary: 查询实时敞口
  20653. tags:
  20654. - 企业风险管理(app)
  20655. /Ermcp/QueryRealtimeExposurePosition:
  20656. get:
  20657. parameters:
  20658. - description: 用户id
  20659. in: query
  20660. name: userid
  20661. required: true
  20662. type: integer
  20663. - description: 套保商品ID
  20664. in: query
  20665. name: middleGoodsId
  20666. required: true
  20667. type: integer
  20668. produces:
  20669. - application/json
  20670. responses:
  20671. "200":
  20672. description: OK
  20673. schema:
  20674. items:
  20675. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  20676. type: array
  20677. "500":
  20678. description: Internal Server Error
  20679. schema:
  20680. $ref: '#/definitions/app.Response'
  20681. security:
  20682. - ApiKeyAuth: []
  20683. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  20684. tags:
  20685. - 企业风险管理(app)
  20686. /Ermcp/QueryRoleMenu:
  20687. get:
  20688. parameters:
  20689. - description: 登录ID
  20690. in: query
  20691. name: loginid
  20692. required: true
  20693. type: integer
  20694. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  20695. in: query
  20696. name: menutype
  20697. type: integer
  20698. produces:
  20699. - application/json
  20700. responses:
  20701. "200":
  20702. description: OK
  20703. schema:
  20704. items:
  20705. $ref: '#/definitions/models.RoleMenu'
  20706. type: array
  20707. "500":
  20708. description: Internal Server Error
  20709. schema:
  20710. $ref: '#/definitions/app.Response'
  20711. security:
  20712. - ApiKeyAuth: []
  20713. summary: 查询角色菜单和权限
  20714. tags:
  20715. - 企业风险管理(app)
  20716. /Ermcp/QueryTradeConfigTMP:
  20717. get:
  20718. parameters:
  20719. - description: 所属机构id
  20720. in: query
  20721. name: areauserid
  20722. type: integer
  20723. produces:
  20724. - application/json
  20725. responses:
  20726. "200":
  20727. description: OK
  20728. schema:
  20729. items:
  20730. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  20731. type: array
  20732. "500":
  20733. description: Internal Server Error
  20734. schema:
  20735. $ref: '#/definitions/app.Response'
  20736. security:
  20737. - ApiKeyAuth: []
  20738. summary: 查询交易模板配置
  20739. tags:
  20740. - 企业风险管理(app)
  20741. /Ermcp/QueryUserInfo:
  20742. get:
  20743. parameters:
  20744. - description: 所属机构用户ID
  20745. in: query
  20746. name: MemberUserID
  20747. required: true
  20748. type: integer
  20749. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  20750. in: query
  20751. name: queryType
  20752. required: true
  20753. type: integer
  20754. produces:
  20755. - application/json
  20756. responses:
  20757. "200":
  20758. description: OK
  20759. schema:
  20760. items:
  20761. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  20762. type: array
  20763. "500":
  20764. description: Internal Server Error
  20765. schema:
  20766. $ref: '#/definitions/app.Response'
  20767. security:
  20768. - ApiKeyAuth: []
  20769. summary: 查询客户资料
  20770. tags:
  20771. - 企业风险管理(app)
  20772. /Ermcp/QueryWarehouseInfo:
  20773. get:
  20774. parameters:
  20775. - description: 用户ID
  20776. in: query
  20777. name: userid
  20778. required: true
  20779. type: integer
  20780. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  20781. in: query
  20782. name: status
  20783. type: string
  20784. produces:
  20785. - application/json
  20786. responses:
  20787. "200":
  20788. description: OK
  20789. schema:
  20790. items:
  20791. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  20792. type: array
  20793. "500":
  20794. description: Internal Server Error
  20795. schema:
  20796. $ref: '#/definitions/app.Response'
  20797. security:
  20798. - ApiKeyAuth: []
  20799. summary: 查询仓库信息
  20800. tags:
  20801. - 企业风险管理(app)
  20802. /Ermcp3/QryAreaExpourseContractDetail:
  20803. get:
  20804. parameters:
  20805. - description: 用户ID
  20806. in: query
  20807. name: userid
  20808. required: true
  20809. type: integer
  20810. - description: 套保商品id
  20811. in: query
  20812. name: middlegoodsid
  20813. required: true
  20814. type: integer
  20815. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20816. in: query
  20817. name: cycletype
  20818. required: true
  20819. type: integer
  20820. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20821. in: query
  20822. name: cycletime
  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.Ermcp3ExposureContractDetail'
  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/QryAreaExpourseFutuDetail:
  20844. get:
  20845. parameters:
  20846. - description: 用户ID
  20847. in: query
  20848. name: userid
  20849. required: true
  20850. type: integer
  20851. - description: 套保商品id
  20852. in: query
  20853. name: middlegoodsid
  20854. required: true
  20855. type: integer
  20856. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20857. in: query
  20858. name: cycletype
  20859. required: true
  20860. type: integer
  20861. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20862. in: query
  20863. name: cycletime
  20864. required: true
  20865. type: string
  20866. produces:
  20867. - application/json
  20868. responses:
  20869. "200":
  20870. description: OK
  20871. schema:
  20872. items:
  20873. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  20874. type: array
  20875. "500":
  20876. description: Internal Server Error
  20877. schema:
  20878. $ref: '#/definitions/app.Response'
  20879. security:
  20880. - ApiKeyAuth: []
  20881. summary: 查询敞口期货明细(敞口报表/期货明细)
  20882. tags:
  20883. - 企业风险管理v3(app)
  20884. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  20885. get:
  20886. parameters:
  20887. - description: 用户ID
  20888. in: query
  20889. name: userid
  20890. required: true
  20891. type: integer
  20892. - description: 套保商品id
  20893. in: query
  20894. name: middlegoodsid
  20895. required: true
  20896. type: integer
  20897. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20898. in: query
  20899. name: cycletype
  20900. required: true
  20901. type: integer
  20902. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20903. in: query
  20904. name: cycletime
  20905. required: true
  20906. type: string
  20907. produces:
  20908. - application/json
  20909. responses:
  20910. "200":
  20911. description: OK
  20912. schema:
  20913. items:
  20914. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  20915. type: array
  20916. "500":
  20917. description: Internal Server Error
  20918. schema:
  20919. $ref: '#/definitions/app.Response'
  20920. security:
  20921. - ApiKeyAuth: []
  20922. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  20923. tags:
  20924. - 企业风险管理v3(app)
  20925. /Ermcp3/QryAreaExpourseParamChLogDetail:
  20926. get:
  20927. parameters:
  20928. - description: 用户ID
  20929. in: query
  20930. name: userid
  20931. required: true
  20932. type: integer
  20933. - description: 套保商品id
  20934. in: query
  20935. name: middlegoodsid
  20936. required: true
  20937. type: integer
  20938. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20939. in: query
  20940. name: cycletype
  20941. required: true
  20942. type: integer
  20943. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20944. in: query
  20945. name: cycletime
  20946. required: true
  20947. type: string
  20948. produces:
  20949. - application/json
  20950. responses:
  20951. "200":
  20952. description: OK
  20953. schema:
  20954. items:
  20955. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  20956. type: array
  20957. "500":
  20958. description: Internal Server Error
  20959. schema:
  20960. $ref: '#/definitions/app.Response'
  20961. security:
  20962. - ApiKeyAuth: []
  20963. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  20964. tags:
  20965. - 企业风险管理v3(app)
  20966. /Ermcp3/QryAreaExpourseReport:
  20967. get:
  20968. parameters:
  20969. - description: 用户ID
  20970. in: query
  20971. name: userid
  20972. required: true
  20973. type: integer
  20974. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  20975. in: query
  20976. name: querytype
  20977. required: true
  20978. type: integer
  20979. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20980. in: query
  20981. name: cycletype
  20982. required: true
  20983. type: integer
  20984. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20985. in: query
  20986. name: cycletime
  20987. required: true
  20988. type: string
  20989. produces:
  20990. - application/json
  20991. responses:
  20992. "200":
  20993. description: OK
  20994. schema:
  20995. items:
  20996. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  20997. type: array
  20998. "500":
  20999. description: Internal Server Error
  21000. schema:
  21001. $ref: '#/definitions/app.Response'
  21002. security:
  21003. - ApiKeyAuth: []
  21004. summary: 查询敞口报表
  21005. tags:
  21006. - 企业风险管理v3(app)
  21007. /Ermcp3/QryAreaSpotplReport:
  21008. get:
  21009. parameters:
  21010. - description: 用户ID
  21011. in: query
  21012. name: userid
  21013. required: true
  21014. type: integer
  21015. - description: 查询类型 1-报表 2-报表明细
  21016. in: query
  21017. name: querytype
  21018. required: true
  21019. type: integer
  21020. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21021. in: query
  21022. name: cycletype
  21023. required: true
  21024. type: integer
  21025. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21026. in: query
  21027. name: cycletime
  21028. required: true
  21029. type: string
  21030. - description: 现货品种id(明细必填)
  21031. in: query
  21032. name: deliverygoodsid
  21033. type: integer
  21034. - description: 币种id(明细必填)
  21035. in: query
  21036. name: currencyid
  21037. type: integer
  21038. produces:
  21039. - application/json
  21040. responses:
  21041. "200":
  21042. description: OK
  21043. schema:
  21044. items:
  21045. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  21046. type: array
  21047. "500":
  21048. description: Internal Server Error
  21049. schema:
  21050. $ref: '#/definitions/app.Response'
  21051. security:
  21052. - ApiKeyAuth: []
  21053. summary: 查询现货报表
  21054. tags:
  21055. - 企业风险管理v3(app)
  21056. /Ermcp3/QryAreaStockReport:
  21057. get:
  21058. parameters:
  21059. - description: 用户ID
  21060. in: query
  21061. name: userid
  21062. required: true
  21063. type: integer
  21064. - description: 查询类型 1-报表 2-报表明细
  21065. in: query
  21066. name: querytype
  21067. required: true
  21068. type: integer
  21069. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21070. in: query
  21071. name: cycletype
  21072. required: true
  21073. type: integer
  21074. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21075. in: query
  21076. name: cycletime
  21077. required: true
  21078. type: string
  21079. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  21080. in: query
  21081. name: sumfields
  21082. type: string
  21083. - description: 品种ID
  21084. in: query
  21085. name: deliverygoodsid
  21086. type: integer
  21087. - description: 品类ID
  21088. in: query
  21089. name: wrstandardid
  21090. type: integer
  21091. - description: 品牌ID
  21092. in: query
  21093. name: spotgoodsbrandid
  21094. type: integer
  21095. - description: 仓库ID
  21096. in: query
  21097. name: warehouseinfoid
  21098. type: integer
  21099. produces:
  21100. - application/json
  21101. responses:
  21102. "200":
  21103. description: OK
  21104. schema:
  21105. items:
  21106. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  21107. type: array
  21108. "500":
  21109. description: Internal Server Error
  21110. schema:
  21111. $ref: '#/definitions/app.Response'
  21112. security:
  21113. - ApiKeyAuth: []
  21114. summary: 查询库存报表
  21115. tags:
  21116. - 企业风险管理v3(app)
  21117. /Ermcp3/QryAreaSumPL:
  21118. get:
  21119. parameters:
  21120. - description: 用户ID
  21121. in: query
  21122. name: userid
  21123. required: true
  21124. type: integer
  21125. - description: 查询类型 1-报表 2-报表明细
  21126. in: query
  21127. name: querytype
  21128. required: true
  21129. type: integer
  21130. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21131. in: query
  21132. name: cycletype
  21133. required: true
  21134. type: integer
  21135. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21136. in: query
  21137. name: cycletime
  21138. required: true
  21139. type: string
  21140. - description: 币种id(明细必填)
  21141. in: query
  21142. name: currencyid
  21143. type: integer
  21144. produces:
  21145. - application/json
  21146. responses:
  21147. "200":
  21148. description: OK
  21149. schema:
  21150. items:
  21151. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  21152. type: array
  21153. "500":
  21154. description: Internal Server Error
  21155. schema:
  21156. $ref: '#/definitions/app.Response'
  21157. security:
  21158. - ApiKeyAuth: []
  21159. summary: 查询汇总损益表
  21160. tags:
  21161. - 企业风险管理v3(app)
  21162. /Ermcp3/QryFinanceReport:
  21163. get:
  21164. parameters:
  21165. - description: 用户ID
  21166. in: query
  21167. name: userid
  21168. required: true
  21169. type: integer
  21170. - description: 查询类型 1-报表 2-报表明细
  21171. in: query
  21172. name: querytype
  21173. required: true
  21174. type: integer
  21175. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21176. in: query
  21177. name: cycletype
  21178. required: true
  21179. type: integer
  21180. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21181. in: query
  21182. name: cycletime
  21183. required: true
  21184. type: string
  21185. - description: 币种id(报表明细必填)
  21186. in: query
  21187. name: currencyid
  21188. type: integer
  21189. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  21190. in: query
  21191. name: sumfields
  21192. type: string
  21193. produces:
  21194. - application/json
  21195. responses:
  21196. "200":
  21197. description: OK
  21198. schema:
  21199. items:
  21200. $ref: '#/definitions/models.Ermcp3FinanceReport'
  21201. type: array
  21202. "500":
  21203. description: Internal Server Error
  21204. schema:
  21205. $ref: '#/definitions/app.Response'
  21206. security:
  21207. - ApiKeyAuth: []
  21208. summary: 查询财务报表
  21209. tags:
  21210. - 企业风险管理v3(app)
  21211. /Ermcp3/QrySCMiddleGoodsReport:
  21212. get:
  21213. parameters:
  21214. - description: 用户ID
  21215. in: query
  21216. name: userid
  21217. required: true
  21218. type: integer
  21219. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21220. in: query
  21221. name: cycletype
  21222. required: true
  21223. type: integer
  21224. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21225. in: query
  21226. name: cycletime
  21227. required: true
  21228. type: string
  21229. - description: 合同id
  21230. in: query
  21231. name: spotcontractid
  21232. type: integer
  21233. - description: 套保品种id
  21234. in: query
  21235. name: middlegoodsid
  21236. type: integer
  21237. - description: 现货品种id
  21238. in: query
  21239. name: deliverygoodsid
  21240. type: integer
  21241. - description: 现货商品id
  21242. in: query
  21243. name: wrstandardid
  21244. type: integer
  21245. - description: 合同编号(模糊匹配)
  21246. in: query
  21247. name: contractno
  21248. type: string
  21249. produces:
  21250. - application/json
  21251. responses:
  21252. "200":
  21253. description: OK
  21254. schema:
  21255. items:
  21256. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  21257. type: array
  21258. "500":
  21259. description: Internal Server Error
  21260. schema:
  21261. $ref: '#/definitions/app.Response'
  21262. security:
  21263. - ApiKeyAuth: []
  21264. summary: 查询定价报表
  21265. tags:
  21266. - 企业风险管理v3(app)
  21267. /Ermcp3/QryTaFutureDataReport:
  21268. get:
  21269. parameters:
  21270. - description: 用户ID
  21271. in: query
  21272. name: userid
  21273. required: true
  21274. type: integer
  21275. - description: 查询类型 1-报表 2-报表明细
  21276. in: query
  21277. name: querytype
  21278. required: true
  21279. type: integer
  21280. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21281. in: query
  21282. name: cycletype
  21283. required: true
  21284. type: integer
  21285. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21286. in: query
  21287. name: cycletime
  21288. required: true
  21289. type: string
  21290. - description: 币种id(查明细必填)
  21291. in: query
  21292. name: currencyid
  21293. type: integer
  21294. - description: 品种id(查明细必填)
  21295. in: query
  21296. name: goodsgroupid
  21297. type: integer
  21298. - description: 商品id(查明细必填)
  21299. in: query
  21300. name: goodsid
  21301. type: integer
  21302. - description: 买卖方向(查明细必填)
  21303. in: query
  21304. name: buyorsell
  21305. type: integer
  21306. produces:
  21307. - application/json
  21308. responses:
  21309. "200":
  21310. description: OK
  21311. schema:
  21312. items:
  21313. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  21314. type: array
  21315. "500":
  21316. description: Internal Server Error
  21317. schema:
  21318. $ref: '#/definitions/app.Response'
  21319. security:
  21320. - ApiKeyAuth: []
  21321. summary: 查询期货报表
  21322. tags:
  21323. - 企业风险管理v3(app)
  21324. /Ermcp3/QueryAreaStock:
  21325. get:
  21326. parameters:
  21327. - description: 用户ID
  21328. in: query
  21329. name: userid
  21330. required: true
  21331. type: integer
  21332. produces:
  21333. - application/json
  21334. responses:
  21335. "200":
  21336. description: OK
  21337. schema:
  21338. items:
  21339. $ref: '#/definitions/models.Ermcp3AreaStock'
  21340. type: array
  21341. "500":
  21342. description: Internal Server Error
  21343. schema:
  21344. $ref: '#/definitions/app.Response'
  21345. security:
  21346. - ApiKeyAuth: []
  21347. summary: 查询机构库存(库存管理/当前库存)
  21348. tags:
  21349. - 企业风险管理v3(app)
  21350. /Ermcp3/QueryAreaStockApply:
  21351. get:
  21352. parameters:
  21353. - description: 用户ID
  21354. in: query
  21355. name: userid
  21356. required: true
  21357. type: integer
  21358. - description: 用户类型 2-机构 7-企业成员
  21359. in: query
  21360. name: usertype
  21361. type: integer
  21362. - description: 现货商品ID
  21363. in: query
  21364. name: deliverygoodsid
  21365. type: integer
  21366. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  21367. in: query
  21368. name: inouttype
  21369. type: string
  21370. - description: 合同ID
  21371. in: query
  21372. name: spotcontractid
  21373. type: integer
  21374. - description: 品类ID
  21375. in: query
  21376. name: wrstandardid
  21377. type: integer
  21378. - description: 品牌ID
  21379. in: query
  21380. name: spotgoodsbrandid
  21381. type: integer
  21382. - description: 仓库ID
  21383. in: query
  21384. name: warehouseinfoid
  21385. type: integer
  21386. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21387. in: query
  21388. name: applystatus
  21389. type: string
  21390. produces:
  21391. - application/json
  21392. responses:
  21393. "200":
  21394. description: OK
  21395. schema:
  21396. items:
  21397. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  21398. type: array
  21399. "500":
  21400. description: Internal Server Error
  21401. schema:
  21402. $ref: '#/definitions/app.Response'
  21403. security:
  21404. - ApiKeyAuth: []
  21405. summary: 查询库存申请(出入库记录|库存审核)
  21406. tags:
  21407. - 企业风险管理v3(app)
  21408. /Ermcp3/QueryAreaStockApplySum:
  21409. get:
  21410. parameters:
  21411. - description: 合同ID
  21412. in: query
  21413. name: spotcontractid
  21414. required: true
  21415. type: integer
  21416. produces:
  21417. - application/json
  21418. responses:
  21419. "200":
  21420. description: OK
  21421. schema:
  21422. items:
  21423. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  21424. type: array
  21425. "500":
  21426. description: Internal Server Error
  21427. schema:
  21428. $ref: '#/definitions/app.Response'
  21429. security:
  21430. - ApiKeyAuth: []
  21431. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  21432. tags:
  21433. - 企业风险管理v3(app)
  21434. /Ermcp3/QueryDGFactoryItem:
  21435. get:
  21436. parameters:
  21437. - description: 用户id
  21438. in: query
  21439. name: userid
  21440. type: integer
  21441. - description: 用户类型 2-机构 7-企业成员
  21442. in: query
  21443. name: usertype
  21444. type: integer
  21445. - description: 选择项ID(SEQ_DGFACTORYITEM)
  21446. in: query
  21447. name: dgfactoryitemid
  21448. type: integer
  21449. - description: 现货品种ID
  21450. in: query
  21451. name: deliverygoodsid
  21452. type: integer
  21453. - description: 要素项类型
  21454. in: query
  21455. name: dgfactoryitemtypeid
  21456. type: integer
  21457. - description: 顺序
  21458. in: query
  21459. name: orderindex
  21460. type: integer
  21461. produces:
  21462. - application/json
  21463. responses:
  21464. "200":
  21465. description: OK
  21466. schema:
  21467. items:
  21468. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  21469. type: array
  21470. "500":
  21471. description: Internal Server Error
  21472. schema:
  21473. $ref: '#/definitions/app.Response'
  21474. security:
  21475. - ApiKeyAuth: []
  21476. summary: 查询品种要素定义项
  21477. tags:
  21478. - 企业风险管理v3(app)
  21479. /Ermcp3/QueryDeliveryGoods:
  21480. get:
  21481. parameters:
  21482. - description: 用户id
  21483. in: query
  21484. name: userid
  21485. required: true
  21486. type: integer
  21487. - description: 用户类型 2-机构 7-企业成员
  21488. in: query
  21489. name: usertype
  21490. type: integer
  21491. - description: 排除已配置的业务类型商品 1-套保 2-套利
  21492. in: query
  21493. name: excludecfg
  21494. type: integer
  21495. produces:
  21496. - application/json
  21497. responses:
  21498. "200":
  21499. description: OK
  21500. schema:
  21501. items:
  21502. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  21503. type: array
  21504. "500":
  21505. description: Internal Server Error
  21506. schema:
  21507. $ref: '#/definitions/app.Response'
  21508. security:
  21509. - ApiKeyAuth: []
  21510. summary: 查询现货商品
  21511. tags:
  21512. - 企业风险管理v3(app)
  21513. /Ermcp3/QueryDeliveryGoodsDetail:
  21514. get:
  21515. parameters:
  21516. - description: 用户id
  21517. in: query
  21518. name: userid
  21519. required: true
  21520. type: integer
  21521. - description: 用户类型 2-机构 7-企业成员
  21522. in: query
  21523. name: usertype
  21524. type: integer
  21525. - description: 现货商品id
  21526. in: query
  21527. name: deliverygoodsid
  21528. type: integer
  21529. produces:
  21530. - application/json
  21531. responses:
  21532. "200":
  21533. description: OK
  21534. schema:
  21535. items:
  21536. $ref: '#/definitions/models.XHDeliveryGoods'
  21537. type: array
  21538. "500":
  21539. description: Internal Server Error
  21540. schema:
  21541. $ref: '#/definitions/app.Response'
  21542. security:
  21543. - ApiKeyAuth: []
  21544. summary: 查询现货商品详情
  21545. tags:
  21546. - 企业风险管理v3(app)
  21547. /Ermcp3/QueryExposureDetail:
  21548. get:
  21549. parameters:
  21550. - description: 用户id
  21551. in: query
  21552. name: userid
  21553. required: true
  21554. type: integer
  21555. - description: 用户类型 2-机构 7-企业成员
  21556. in: query
  21557. name: usertype
  21558. type: integer
  21559. - description: 套保商品
  21560. in: query
  21561. name: middlegoodsid
  21562. required: true
  21563. type: integer
  21564. produces:
  21565. - application/json
  21566. responses:
  21567. "200":
  21568. description: OK
  21569. schema:
  21570. items:
  21571. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  21572. type: array
  21573. "500":
  21574. description: Internal Server Error
  21575. schema:
  21576. $ref: '#/definitions/app.Response'
  21577. security:
  21578. - ApiKeyAuth: []
  21579. summary: 查询敞口现货明细
  21580. tags:
  21581. - 企业风险管理v3(app)
  21582. /Ermcp3/QueryExposureSpot:
  21583. get:
  21584. parameters:
  21585. - description: 用户id
  21586. in: query
  21587. name: userid
  21588. required: true
  21589. type: integer
  21590. - description: 用户类型 2-机构 7-企业成员
  21591. in: query
  21592. name: usertype
  21593. type: integer
  21594. produces:
  21595. - application/json
  21596. responses:
  21597. "200":
  21598. description: OK
  21599. schema:
  21600. items:
  21601. $ref: '#/definitions/models.Ermcp3AreaSpot'
  21602. type: array
  21603. "500":
  21604. description: Internal Server Error
  21605. schema:
  21606. $ref: '#/definitions/app.Response'
  21607. security:
  21608. - ApiKeyAuth: []
  21609. summary: 查询敞口现货头寸(敞口/现货头寸)
  21610. tags:
  21611. - 企业风险管理v3(app)
  21612. /Ermcp3/QueryExposureSpotDetail:
  21613. get:
  21614. parameters:
  21615. - description: 用户id
  21616. in: query
  21617. name: userid
  21618. required: true
  21619. type: integer
  21620. - description: 用户类型 2-机构 7-企业成员
  21621. in: query
  21622. name: usertype
  21623. type: integer
  21624. - description: 现货商品ID
  21625. in: query
  21626. name: wrstandardid
  21627. required: true
  21628. type: integer
  21629. produces:
  21630. - application/json
  21631. responses:
  21632. "200":
  21633. description: OK
  21634. schema:
  21635. items:
  21636. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  21637. type: array
  21638. "500":
  21639. description: Internal Server Error
  21640. schema:
  21641. $ref: '#/definitions/app.Response'
  21642. security:
  21643. - ApiKeyAuth: []
  21644. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  21645. tags:
  21646. - 企业风险管理v3(app)
  21647. /Ermcp3/QueryGoodsGroup:
  21648. get:
  21649. parameters:
  21650. - description: 用户id
  21651. in: query
  21652. name: userid
  21653. required: true
  21654. type: integer
  21655. - description: 用户类型 2-机构 7-企业成员
  21656. in: query
  21657. name: usertype
  21658. type: integer
  21659. - description: 排除套保品中已关联的商品组 1-排除
  21660. in: query
  21661. name: excludecfg
  21662. type: integer
  21663. produces:
  21664. - application/json
  21665. responses:
  21666. "200":
  21667. description: OK
  21668. schema:
  21669. items:
  21670. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  21671. type: array
  21672. "500":
  21673. description: Internal Server Error
  21674. schema:
  21675. $ref: '#/definitions/app.Response'
  21676. security:
  21677. - ApiKeyAuth: []
  21678. summary: 查询期货商品组
  21679. tags:
  21680. - 企业风险管理v3(app)
  21681. /Ermcp3/QueryGoodsWrstandard:
  21682. get:
  21683. parameters:
  21684. - description: 用户id
  21685. in: query
  21686. name: userid
  21687. required: true
  21688. type: integer
  21689. - description: 用户类型 2-机构 7-企业成员
  21690. in: query
  21691. name: usertype
  21692. type: integer
  21693. - description: 现货商品id
  21694. in: query
  21695. name: deliverygoodsid
  21696. type: integer
  21697. produces:
  21698. - application/json
  21699. responses:
  21700. "200":
  21701. description: OK
  21702. schema:
  21703. items:
  21704. $ref: '#/definitions/models.Ermcp3Wrstandard'
  21705. type: array
  21706. "500":
  21707. description: Internal Server Error
  21708. schema:
  21709. $ref: '#/definitions/app.Response'
  21710. security:
  21711. - ApiKeyAuth: []
  21712. summary: 查询商品品类
  21713. tags:
  21714. - 企业风险管理v3(app)
  21715. /Ermcp3/QueryGoodsbrand:
  21716. get:
  21717. parameters:
  21718. - description: 用户id
  21719. in: query
  21720. name: userid
  21721. required: true
  21722. type: integer
  21723. - description: 用户类型 2-机构 7-企业成员
  21724. in: query
  21725. name: usertype
  21726. type: integer
  21727. produces:
  21728. - application/json
  21729. responses:
  21730. "200":
  21731. description: OK
  21732. schema:
  21733. items:
  21734. $ref: '#/definitions/models.Ermcp3Brand'
  21735. type: array
  21736. "500":
  21737. description: Internal Server Error
  21738. schema:
  21739. $ref: '#/definitions/app.Response'
  21740. security:
  21741. - ApiKeyAuth: []
  21742. summary: 查询商品品牌
  21743. tags:
  21744. - 企业风险管理v3(app)
  21745. /Ermcp3/QueryHedgePlan:
  21746. get:
  21747. parameters:
  21748. - description: 用户ID
  21749. in: query
  21750. name: userid
  21751. required: true
  21752. type: integer
  21753. - description: 用户类型 2-机构 7-企业成员
  21754. in: query
  21755. name: usertype
  21756. type: integer
  21757. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  21758. in: query
  21759. name: hedgeplanstatus
  21760. required: true
  21761. type: string
  21762. produces:
  21763. - application/json
  21764. responses:
  21765. "200":
  21766. description: OK
  21767. schema:
  21768. items:
  21769. $ref: '#/definitions/models.Ermcp3HedgePlan'
  21770. type: array
  21771. "500":
  21772. description: Internal Server Error
  21773. schema:
  21774. $ref: '#/definitions/app.Response'
  21775. security:
  21776. - ApiKeyAuth: []
  21777. summary: 查询套保计划
  21778. tags:
  21779. - 企业风险管理v3(app)
  21780. /Ermcp3/QueryInnerTradeLink:
  21781. get:
  21782. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  21783. parameters:
  21784. - description: 外部成交单号
  21785. in: query
  21786. name: outtradeid
  21787. required: true
  21788. type: integer
  21789. produces:
  21790. - application/json
  21791. responses:
  21792. "200":
  21793. description: OK
  21794. schema:
  21795. items:
  21796. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  21797. type: array
  21798. "500":
  21799. description: Internal Server Error
  21800. schema:
  21801. $ref: '#/definitions/app.Response'
  21802. security:
  21803. - ApiKeyAuth: []
  21804. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  21805. tags:
  21806. - 企业风险管理v3(app)
  21807. /Ermcp3/QueryMiddleGoodsDetail:
  21808. get:
  21809. parameters:
  21810. - description: 用户id
  21811. in: query
  21812. name: userid
  21813. required: true
  21814. type: integer
  21815. - description: 用户类型 2-机构 7-企业成员
  21816. in: query
  21817. name: usertype
  21818. type: integer
  21819. - description: 套保品种id
  21820. in: query
  21821. name: middlegoodsid
  21822. type: integer
  21823. produces:
  21824. - application/json
  21825. responses:
  21826. "200":
  21827. description: OK
  21828. schema:
  21829. items:
  21830. $ref: '#/definitions/models.TBMiddleGoods'
  21831. type: array
  21832. "500":
  21833. description: Internal Server Error
  21834. schema:
  21835. $ref: '#/definitions/app.Response'
  21836. security:
  21837. - ApiKeyAuth: []
  21838. summary: 查询套保品种详情(套保品种/商品详情)
  21839. tags:
  21840. - 企业风险管理v3(app)
  21841. /Ermcp3/QueryOutTradeLink:
  21842. get:
  21843. description: 页面 app 现货->期现关联->外部成交单关联
  21844. parameters:
  21845. - description: 用户ID(填登录用户的userid)
  21846. in: query
  21847. name: userid
  21848. required: true
  21849. type: integer
  21850. - description: 外部订单号(模糊匹配)
  21851. in: query
  21852. name: outtradeid
  21853. type: string
  21854. - description: 合约名称/代码(模糊匹配)
  21855. in: query
  21856. name: goodsname
  21857. type: string
  21858. - description: 关联状态 0-未关联 1-已关联
  21859. in: query
  21860. name: hasinnerorder
  21861. type: integer
  21862. produces:
  21863. - application/json
  21864. responses:
  21865. "200":
  21866. description: OK
  21867. schema:
  21868. items:
  21869. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  21870. type: array
  21871. "500":
  21872. description: Internal Server Error
  21873. schema:
  21874. $ref: '#/definitions/app.Response'
  21875. security:
  21876. - ApiKeyAuth: []
  21877. summary: 查询外部成交单关联
  21878. tags:
  21879. - 企业风险管理v3(app)
  21880. /Ermcp3/QueryPaAreaAuditCfg:
  21881. get:
  21882. parameters:
  21883. - description: 用户id
  21884. in: query
  21885. name: userid
  21886. required: true
  21887. type: integer
  21888. produces:
  21889. - application/json
  21890. responses:
  21891. "200":
  21892. description: OK
  21893. schema:
  21894. items:
  21895. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  21896. type: array
  21897. "500":
  21898. description: Internal Server Error
  21899. schema:
  21900. $ref: '#/definitions/app.Response'
  21901. security:
  21902. - ApiKeyAuth: []
  21903. summary: 查询审核设置
  21904. tags:
  21905. - 企业风险管理v3(app)
  21906. /Ermcp3/QueryPaAreaSubject:
  21907. get:
  21908. parameters:
  21909. - description: 用户id
  21910. in: query
  21911. name: userid
  21912. required: true
  21913. type: integer
  21914. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  21915. in: query
  21916. name: subjectid
  21917. type: integer
  21918. - description: 主体类型 - 1:交易主体 2:业务部门
  21919. in: query
  21920. name: subjecttype
  21921. type: integer
  21922. - description: '主体状态 - 1:正常 2: 停用'
  21923. in: query
  21924. name: subjectstatus
  21925. type: integer
  21926. produces:
  21927. - application/json
  21928. responses:
  21929. "200":
  21930. description: OK
  21931. schema:
  21932. items:
  21933. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  21934. type: array
  21935. "500":
  21936. description: Internal Server Error
  21937. schema:
  21938. $ref: '#/definitions/app.Response'
  21939. security:
  21940. - ApiKeyAuth: []
  21941. summary: 查询交易主体
  21942. tags:
  21943. - 企业风险管理v3(app)
  21944. /Ermcp3/QueryPaTradeLink:
  21945. get:
  21946. description: 页面 app 现货->期现关联->期现单据关联
  21947. parameters:
  21948. - description: 用户ID
  21949. in: query
  21950. name: userid
  21951. required: true
  21952. type: integer
  21953. produces:
  21954. - application/json
  21955. responses:
  21956. "200":
  21957. description: OK
  21958. schema:
  21959. items:
  21960. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  21961. type: array
  21962. "500":
  21963. description: Internal Server Error
  21964. schema:
  21965. $ref: '#/definitions/app.Response'
  21966. security:
  21967. - ApiKeyAuth: []
  21968. summary: 查询期现单据关联
  21969. tags:
  21970. - 企业风险管理v3(app)
  21971. /Ermcp3/QueryPaTradeLinkDetail:
  21972. get:
  21973. description: 页面 app 现货->期现关联->关联记录
  21974. parameters:
  21975. - description: 用户ID(填登录用户的userid)
  21976. in: query
  21977. name: userid
  21978. required: true
  21979. type: integer
  21980. - description: 期货订单号(模糊匹配)
  21981. in: query
  21982. name: tradeid
  21983. type: string
  21984. - description: 现货编号(模糊匹配)
  21985. in: query
  21986. name: contractno
  21987. type: string
  21988. - description: 期货账户(模糊匹配)
  21989. in: query
  21990. name: taname
  21991. type: string
  21992. produces:
  21993. - application/json
  21994. responses:
  21995. "200":
  21996. description: OK
  21997. schema:
  21998. items:
  21999. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  22000. type: array
  22001. "500":
  22002. description: Internal Server Error
  22003. schema:
  22004. $ref: '#/definitions/app.Response'
  22005. security:
  22006. - ApiKeyAuth: []
  22007. summary: 查询期现关联记录
  22008. tags:
  22009. - 企业风险管理v3(app)
  22010. /Ermcp3/QueryParamChangeApp:
  22011. get:
  22012. description: |-
  22013. 原型页面:
  22014. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  22015. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  22016. parameters:
  22017. - description: 用户ID
  22018. in: query
  22019. name: userid
  22020. required: true
  22021. type: integer
  22022. - description: 现货品种id
  22023. in: query
  22024. name: deliverygoodsid
  22025. type: integer
  22026. - description: 现货商品id
  22027. in: query
  22028. name: wrstandardid
  22029. type: integer
  22030. - description: 套保商品id
  22031. in: query
  22032. name: middlegoodsid
  22033. type: integer
  22034. - description: 操作类型 1:新增 2:修改
  22035. in: query
  22036. name: operatetype
  22037. type: integer
  22038. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  22039. in: query
  22040. name: paramchangetype
  22041. type: integer
  22042. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22043. in: query
  22044. name: ftstatus
  22045. type: string
  22046. produces:
  22047. - application/json
  22048. responses:
  22049. "200":
  22050. description: OK
  22051. schema:
  22052. items:
  22053. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  22054. type: array
  22055. "500":
  22056. description: Internal Server Error
  22057. schema:
  22058. $ref: '#/definitions/app.Response'
  22059. security:
  22060. - ApiKeyAuth: []
  22061. summary: 查询现货商品参数变更申请(流水)
  22062. tags:
  22063. - 企业风险管理v3(app)
  22064. /Ermcp3/QueryRootUserAccount:
  22065. get:
  22066. parameters:
  22067. - description: 用户ID
  22068. in: query
  22069. name: userid
  22070. required: true
  22071. type: integer
  22072. produces:
  22073. - application/json
  22074. responses:
  22075. "200":
  22076. description: OK
  22077. schema:
  22078. items:
  22079. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  22080. type: array
  22081. "500":
  22082. description: Internal Server Error
  22083. schema:
  22084. $ref: '#/definitions/app.Response'
  22085. security:
  22086. - ApiKeyAuth: []
  22087. summary: 查询顶级用户信息
  22088. tags:
  22089. - 企业风险管理v3(app)
  22090. /Ermcp3/QuerySCMiddleGoods:
  22091. get:
  22092. description: |-
  22093. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  22094. 现货编号 即 合同编号
  22095. parameters:
  22096. - description: 用户ID(填登录用户的userid)
  22097. in: query
  22098. name: userid
  22099. required: true
  22100. type: integer
  22101. - description: 买卖方向 0-买 1-卖
  22102. in: query
  22103. name: buyorsell
  22104. required: true
  22105. type: integer
  22106. - description: 商品组id
  22107. in: query
  22108. name: goodsgroupid
  22109. required: true
  22110. type: integer
  22111. - description: 业务类型 1:套保 2:套利
  22112. in: query
  22113. name: biztype
  22114. type: integer
  22115. - description: 现货编号(模糊匹配)
  22116. in: query
  22117. name: contractno
  22118. type: string
  22119. - description: 对手方(模糊匹配)
  22120. in: query
  22121. name: customername
  22122. type: string
  22123. - description: 现货商品名称(模糊匹配)
  22124. in: query
  22125. name: wrstandardname
  22126. type: string
  22127. produces:
  22128. - application/json
  22129. responses:
  22130. "200":
  22131. description: OK
  22132. schema:
  22133. items:
  22134. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  22135. type: array
  22136. "500":
  22137. description: Internal Server Error
  22138. schema:
  22139. $ref: '#/definitions/app.Response'
  22140. security:
  22141. - ApiKeyAuth: []
  22142. summary: 查询现货订单
  22143. tags:
  22144. - 企业风险管理v3(app)
  22145. /Ermcp3/QuerySpotContract:
  22146. get:
  22147. parameters:
  22148. - description: 用户id(当指定contractid, userid可不填)
  22149. in: query
  22150. name: userid
  22151. required: true
  22152. type: integer
  22153. - description: 用户类型 2-机构 7-企业成员
  22154. in: query
  22155. name: usertype
  22156. type: integer
  22157. - description: 合同类型 1-采购, -1-销售
  22158. in: query
  22159. name: contracttype
  22160. type: integer
  22161. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  22162. in: query
  22163. name: querytype
  22164. type: integer
  22165. - description: 合同ID(SpotContractId)
  22166. in: query
  22167. name: contractid
  22168. type: string
  22169. - description: 合同编号(模糊匹配)
  22170. in: query
  22171. name: contractno
  22172. type: string
  22173. - description: 商品名称(模糊匹配)
  22174. in: query
  22175. name: wrstandardname
  22176. type: string
  22177. produces:
  22178. - application/json
  22179. responses:
  22180. "200":
  22181. description: OK
  22182. schema:
  22183. items:
  22184. $ref: '#/definitions/models.Ermcp3Contract'
  22185. type: array
  22186. "500":
  22187. description: Internal Server Error
  22188. schema:
  22189. $ref: '#/definitions/app.Response'
  22190. security:
  22191. - ApiKeyAuth: []
  22192. summary: 查询现货合同
  22193. tags:
  22194. - 企业风险管理v3(app)
  22195. /Ermcp3/QuerySpotContractBS:
  22196. get:
  22197. parameters:
  22198. - description: 用户id
  22199. in: query
  22200. name: userid
  22201. required: true
  22202. type: integer
  22203. - description: 用户类型 2-机构 7-企业成员
  22204. in: query
  22205. name: usertype
  22206. type: integer
  22207. - description: 合同类型 1-采购, -1-销售
  22208. in: query
  22209. name: contracttype
  22210. required: true
  22211. type: integer
  22212. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  22213. in: query
  22214. name: querytype
  22215. required: true
  22216. type: integer
  22217. - description: 合同ID(SpotContractId)
  22218. in: query
  22219. name: contractid
  22220. type: string
  22221. produces:
  22222. - application/json
  22223. responses:
  22224. "200":
  22225. description: OK
  22226. schema:
  22227. items:
  22228. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  22229. type: array
  22230. "500":
  22231. description: Internal Server Error
  22232. schema:
  22233. $ref: '#/definitions/app.Response'
  22234. security:
  22235. - ApiKeyAuth: []
  22236. summary: 查询合同(采购/销售)
  22237. tags:
  22238. - 企业风险管理v3(app)
  22239. /Ermcp3/QuerySpotGoodsPrice:
  22240. get:
  22241. parameters:
  22242. - description: 用户ID
  22243. in: query
  22244. name: userid
  22245. required: true
  22246. type: integer
  22247. produces:
  22248. - application/json
  22249. responses:
  22250. "200":
  22251. description: OK
  22252. schema:
  22253. items:
  22254. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  22255. type: array
  22256. "500":
  22257. description: Internal Server Error
  22258. schema:
  22259. $ref: '#/definitions/app.Response'
  22260. security:
  22261. - ApiKeyAuth: []
  22262. summary: 查询现货市价(现货市价)
  22263. tags:
  22264. - 企业风险管理v3(app)
  22265. /Ermcp3/QuerySpotGoodsPriceLog:
  22266. get:
  22267. parameters:
  22268. - description: 用户ID
  22269. in: query
  22270. name: userid
  22271. required: true
  22272. type: integer
  22273. - description: 现货商品ID
  22274. in: query
  22275. name: deliverygoodsid
  22276. required: true
  22277. type: integer
  22278. - description: 品牌ID
  22279. in: query
  22280. name: brandid
  22281. type: integer
  22282. - description: 品类ID
  22283. in: query
  22284. name: wrstandardid
  22285. type: integer
  22286. produces:
  22287. - application/json
  22288. responses:
  22289. "200":
  22290. description: OK
  22291. schema:
  22292. items:
  22293. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  22294. type: array
  22295. "500":
  22296. description: Internal Server Error
  22297. schema:
  22298. $ref: '#/definitions/app.Response'
  22299. security:
  22300. - ApiKeyAuth: []
  22301. summary: 查询现货市价详情(现货市价/详情)
  22302. tags:
  22303. - 企业风险管理v3(app)
  22304. /Ermcp3/QuerySubTaaccount:
  22305. get:
  22306. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  22307. parameters:
  22308. - description: 母账号id
  22309. in: query
  22310. name: parentaccountid
  22311. type: integer
  22312. - description: 母账号代码
  22313. in: query
  22314. name: parentaccountcode
  22315. type: string
  22316. produces:
  22317. - application/json
  22318. responses:
  22319. "200":
  22320. description: OK
  22321. schema:
  22322. items:
  22323. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  22324. type: array
  22325. "500":
  22326. description: Internal Server Error
  22327. schema:
  22328. $ref: '#/definitions/app.Response'
  22329. security:
  22330. - ApiKeyAuth: []
  22331. summary: 查询期货子账户
  22332. tags:
  22333. - 企业风险管理v3(app)
  22334. /Erms2/QueryArbitrageStrategy:
  22335. get:
  22336. parameters:
  22337. - description: 账户ID
  22338. in: query
  22339. name: userid
  22340. required: true
  22341. type: integer
  22342. - description: 商品组ID(品种ID)
  22343. in: query
  22344. name: goodsgroupid
  22345. type: string
  22346. produces:
  22347. - application/json
  22348. responses:
  22349. "200":
  22350. description: OK
  22351. schema:
  22352. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  22353. "500":
  22354. description: Internal Server Error
  22355. schema:
  22356. $ref: '#/definitions/app.Response'
  22357. security:
  22358. - ApiKeyAuth: []
  22359. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  22360. tags:
  22361. - 风险管理
  22362. /Erms2/QueryInnerTradeDetail:
  22363. get:
  22364. parameters:
  22365. - description: 资金账户
  22366. in: query
  22367. name: accountid
  22368. required: true
  22369. type: integer
  22370. produces:
  22371. - application/json
  22372. responses:
  22373. "200":
  22374. description: OK
  22375. schema:
  22376. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  22377. "500":
  22378. description: Internal Server Error
  22379. schema:
  22380. $ref: '#/definitions/app.Response'
  22381. security:
  22382. - ApiKeyAuth: []
  22383. summary: 查询内部成交单信息
  22384. tags:
  22385. - 风险管理
  22386. /Erms2/QuerySpotContract:
  22387. get:
  22388. parameters:
  22389. - description: 策略申请ID
  22390. in: query
  22391. name: asapplyid
  22392. required: true
  22393. type: integer
  22394. - description: 现货合同ID
  22395. in: query
  22396. name: spotcontractid
  22397. type: integer
  22398. produces:
  22399. - application/json
  22400. responses:
  22401. "200":
  22402. description: OK
  22403. schema:
  22404. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  22405. "500":
  22406. description: Internal Server Error
  22407. schema:
  22408. $ref: '#/definitions/app.Response'
  22409. security:
  22410. - ApiKeyAuth: []
  22411. summary: 查询现货合同表信息(指定策略ID、未结束的)
  22412. tags:
  22413. - 风险管理
  22414. /Erms3/AddErms2ASApply:
  22415. post:
  22416. parameters:
  22417. - description: 申请参数
  22418. in: body
  22419. name: jsonBody
  22420. required: true
  22421. schema:
  22422. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  22423. produces:
  22424. - application/json
  22425. responses:
  22426. "200":
  22427. description: OK
  22428. schema:
  22429. $ref: '#/definitions/app.Response'
  22430. "500":
  22431. description: Internal Server Error
  22432. schema:
  22433. $ref: '#/definitions/app.Response'
  22434. security:
  22435. - ApiKeyAuth: []
  22436. summary: 新增期现套利业务申请
  22437. tags:
  22438. - 风险管理v3
  22439. /Erms3/AddErms2SpotTradeApply:
  22440. post:
  22441. parameters:
  22442. - description: 申请参数
  22443. in: body
  22444. name: jsonBody
  22445. required: true
  22446. schema:
  22447. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  22448. produces:
  22449. - application/json
  22450. responses:
  22451. "200":
  22452. description: OK
  22453. schema:
  22454. $ref: '#/definitions/app.Response'
  22455. "500":
  22456. description: Internal Server Error
  22457. schema:
  22458. $ref: '#/definitions/app.Response'
  22459. security:
  22460. - ApiKeyAuth: []
  22461. summary: 新增现货贸易业务申请
  22462. tags:
  22463. - 风险管理v3
  22464. /Erms3/AddSpotContractApply:
  22465. post:
  22466. parameters:
  22467. - description: 申请参数
  22468. in: body
  22469. name: jsonBody
  22470. required: true
  22471. schema:
  22472. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  22473. produces:
  22474. - application/json
  22475. responses:
  22476. "200":
  22477. description: OK
  22478. schema:
  22479. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  22480. "500":
  22481. description: Internal Server Error
  22482. schema:
  22483. $ref: '#/definitions/app.Response'
  22484. security:
  22485. - ApiKeyAuth: []
  22486. summary: 新增现货合同申请
  22487. tags:
  22488. - 风险管理v3
  22489. /Erms3/AddUserInfoApply:
  22490. post:
  22491. parameters:
  22492. - description: 用户信息
  22493. in: body
  22494. name: jsonBody
  22495. required: true
  22496. schema:
  22497. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  22498. produces:
  22499. - application/json
  22500. responses:
  22501. "200":
  22502. description: OK
  22503. schema:
  22504. $ref: '#/definitions/app.Response'
  22505. "500":
  22506. description: Internal Server Error
  22507. schema:
  22508. $ref: '#/definitions/app.Response'
  22509. security:
  22510. - ApiKeyAuth: []
  22511. summary: 新增客户申请
  22512. tags:
  22513. - 风险管理v3
  22514. /Erms3/DeleteUserInfoApply:
  22515. get:
  22516. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  22517. parameters:
  22518. - description: 用户ID
  22519. in: query
  22520. name: userID
  22521. required: true
  22522. type: integer
  22523. produces:
  22524. - application/json
  22525. responses:
  22526. "200":
  22527. description: OK
  22528. schema:
  22529. $ref: '#/definitions/app.Response'
  22530. "500":
  22531. description: Internal Server Error
  22532. schema:
  22533. $ref: '#/definitions/app.Response'
  22534. security:
  22535. - ApiKeyAuth: []
  22536. summary: 删除客户申请
  22537. tags:
  22538. - 风险管理v3
  22539. /Erms3/ModifyUserInfoApply:
  22540. post:
  22541. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid": int, "userstate": 2 }'
  22542. parameters:
  22543. - description: 用户信息
  22544. in: body
  22545. name: jsonBody
  22546. required: true
  22547. schema:
  22548. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  22549. produces:
  22550. - application/json
  22551. responses:
  22552. "200":
  22553. description: OK
  22554. schema:
  22555. $ref: '#/definitions/app.Response'
  22556. "500":
  22557. description: Internal Server Error
  22558. schema:
  22559. $ref: '#/definitions/app.Response'
  22560. security:
  22561. - ApiKeyAuth: []
  22562. summary: 修改客户申请
  22563. tags:
  22564. - 风险管理v3
  22565. /Erms3/QueryBusinessInfo:
  22566. get:
  22567. parameters:
  22568. - description: 资金账号ID列表,用逗号分隔
  22569. in: query
  22570. name: accountids
  22571. required: true
  22572. type: string
  22573. - description: 状态,0为未结束 1为已结束
  22574. in: query
  22575. name: status
  22576. required: true
  22577. type: integer
  22578. produces:
  22579. - application/json
  22580. responses:
  22581. "200":
  22582. description: OK
  22583. schema:
  22584. items:
  22585. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  22586. type: array
  22587. "500":
  22588. description: Internal Server Error
  22589. schema:
  22590. $ref: '#/definitions/app.Response'
  22591. security:
  22592. - ApiKeyAuth: []
  22593. summary: 查询业务表单数据
  22594. tags:
  22595. - 风险管理v3
  22596. /Erms3/QueryPendingAuditContract:
  22597. get:
  22598. parameters:
  22599. - description: 资金账号ID列表,逗号隔开
  22600. in: query
  22601. name: accountids
  22602. required: true
  22603. type: string
  22604. - description: 合同类型 1-采购 -1-销售
  22605. in: query
  22606. name: contracttype
  22607. required: true
  22608. type: integer
  22609. - description: 合同模式 1-普通 2-回购
  22610. in: query
  22611. name: contractmode
  22612. required: true
  22613. type: integer
  22614. produces:
  22615. - application/json
  22616. responses:
  22617. "200":
  22618. description: OK
  22619. schema:
  22620. items:
  22621. $ref: '#/definitions/erms3.QryAuditContractRsp'
  22622. type: array
  22623. "500":
  22624. description: Internal Server Error
  22625. schema:
  22626. $ref: '#/definitions/app.Response'
  22627. security:
  22628. - ApiKeyAuth: []
  22629. summary: 查询待审核合同
  22630. tags:
  22631. - 风险管理v3
  22632. /Erms3/QueryPendingBusiness:
  22633. get:
  22634. parameters:
  22635. - description: 资金账号ID列表,逗号隔开
  22636. in: query
  22637. name: accountids
  22638. required: true
  22639. type: string
  22640. produces:
  22641. - application/json
  22642. responses:
  22643. "200":
  22644. description: OK
  22645. schema:
  22646. items:
  22647. $ref: '#/definitions/erms3.QryPendingBizRsp'
  22648. type: array
  22649. "500":
  22650. description: Internal Server Error
  22651. schema:
  22652. $ref: '#/definitions/app.Response'
  22653. security:
  22654. - ApiKeyAuth: []
  22655. summary: 查询待审核基差贸易业务
  22656. tags:
  22657. - 风险管理v3
  22658. /Erms3/QuerySpotContractAppleForm:
  22659. get:
  22660. parameters:
  22661. - description: 登录账号
  22662. in: query
  22663. name: loginID
  22664. required: true
  22665. type: integer
  22666. produces:
  22667. - application/json
  22668. responses:
  22669. "200":
  22670. description: OK
  22671. schema:
  22672. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  22673. "500":
  22674. description: Internal Server Error
  22675. schema:
  22676. $ref: '#/definitions/app.Response'
  22677. security:
  22678. - ApiKeyAuth: []
  22679. summary: 查询合同申请表单数据
  22680. tags:
  22681. - 风险管理v3
  22682. /Erms3/QuerySpotContractDetail:
  22683. get:
  22684. parameters:
  22685. - description: 资金账号ID列表,用逗号分隔
  22686. in: query
  22687. name: accountids
  22688. required: true
  22689. type: string
  22690. - description: 合同类型,1为采购合同 -1为销售合同
  22691. in: query
  22692. name: contracttype
  22693. required: true
  22694. type: integer
  22695. - description: 合同模式,1为普通合同 2为回购销售合同
  22696. in: query
  22697. name: contractmode
  22698. required: true
  22699. type: integer
  22700. - description: 状态,0为履约中 1为已完成
  22701. in: query
  22702. name: status
  22703. required: true
  22704. type: integer
  22705. produces:
  22706. - application/json
  22707. responses:
  22708. "200":
  22709. description: OK
  22710. schema:
  22711. items:
  22712. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  22713. type: array
  22714. "500":
  22715. description: Internal Server Error
  22716. schema:
  22717. $ref: '#/definitions/app.Response'
  22718. security:
  22719. - ApiKeyAuth: []
  22720. summary: 查询合同详细信息
  22721. tags:
  22722. - 风险管理v3
  22723. /Erms3/QueryUserInfoApplies:
  22724. get:
  22725. parameters:
  22726. - description: 页码
  22727. in: query
  22728. name: page
  22729. type: integer
  22730. - description: 每页条数
  22731. in: query
  22732. name: pagesize
  22733. type: integer
  22734. - description: 客户名称,支持模糊查询
  22735. in: query
  22736. name: userName
  22737. type: string
  22738. produces:
  22739. - application/json
  22740. responses:
  22741. "200":
  22742. description: OK
  22743. schema:
  22744. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  22745. "500":
  22746. description: Internal Server Error
  22747. schema:
  22748. $ref: '#/definitions/app.Response'
  22749. security:
  22750. - ApiKeyAuth: []
  22751. summary: 客户申请信息查询
  22752. tags:
  22753. - 风险管理v3
  22754. /Erms3/QueryUserInfos:
  22755. get:
  22756. parameters:
  22757. - description: 页码
  22758. in: query
  22759. name: page
  22760. type: integer
  22761. - description: 每页条数
  22762. in: query
  22763. name: pagesize
  22764. type: integer
  22765. - description: 客户名称,支持模糊查询
  22766. in: query
  22767. name: userName
  22768. type: string
  22769. produces:
  22770. - application/json
  22771. responses:
  22772. "200":
  22773. description: OK
  22774. schema:
  22775. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  22776. "500":
  22777. description: Internal Server Error
  22778. schema:
  22779. $ref: '#/definitions/app.Response'
  22780. security:
  22781. - ApiKeyAuth: []
  22782. summary: 客户信息查询
  22783. tags:
  22784. - 风险管理v3
  22785. /HSBY/GetHsbyMyCount:
  22786. get:
  22787. description: 说明: 不包括已完成的数量。
  22788. parameters:
  22789. - description: 资金账户列表,格式:1,2,3
  22790. in: query
  22791. name: accountIDs
  22792. required: true
  22793. type: string
  22794. produces:
  22795. - application/json
  22796. responses:
  22797. "200":
  22798. description: OK
  22799. schema:
  22800. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  22801. "500":
  22802. description: Internal Server Error
  22803. schema:
  22804. $ref: '#/definitions/app.Response'
  22805. security:
  22806. - ApiKeyAuth: []
  22807. summary: 获取我的订单与包裹数量
  22808. tags:
  22809. - 定制【海商报业】
  22810. /HSBY/QueryClientFixedADConfigs:
  22811. get:
  22812. produces:
  22813. - application/json
  22814. responses:
  22815. "200":
  22816. description: OK
  22817. schema:
  22818. $ref: '#/definitions/models.Clientfixedadconfig'
  22819. "500":
  22820. description: Internal Server Error
  22821. schema:
  22822. $ref: '#/definitions/app.Response'
  22823. security:
  22824. - ApiKeyAuth: []
  22825. summary: 获取终端固定广告配置
  22826. tags:
  22827. - 定制【海商报业】
  22828. /HSBY/QueryHsbyBuyMyTradeDetail:
  22829. get:
  22830. parameters:
  22831. - description: 页码
  22832. in: query
  22833. name: page
  22834. type: integer
  22835. - description: 每页条数
  22836. in: query
  22837. name: pagesize
  22838. type: integer
  22839. - description: 资金账户列表,格式:1,2,3
  22840. in: query
  22841. name: accountIDs
  22842. required: true
  22843. type: string
  22844. produces:
  22845. - application/json
  22846. responses:
  22847. "200":
  22848. description: OK
  22849. schema:
  22850. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  22851. "500":
  22852. description: Internal Server Error
  22853. schema:
  22854. $ref: '#/definitions/app.Response'
  22855. security:
  22856. - ApiKeyAuth: []
  22857. summary: 查询"我的订单 - 已完成"单据信息
  22858. tags:
  22859. - 定制【海商报业】
  22860. /HSBY/QueryHsbyGoodsOrderDetails:
  22861. get:
  22862. description: 说明:查询结果已按委托价格和委托时间排序
  22863. parameters:
  22864. - description: 商品ID
  22865. in: query
  22866. name: goodsID
  22867. required: true
  22868. type: integer
  22869. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  22870. in: query
  22871. name: accountIDs
  22872. type: string
  22873. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  22874. in: query
  22875. name: buyOrSell
  22876. type: integer
  22877. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  22878. in: query
  22879. name: price
  22880. type: number
  22881. - description: 档位,不传则默认为3档
  22882. in: query
  22883. name: speed
  22884. type: integer
  22885. produces:
  22886. - application/json
  22887. responses:
  22888. "200":
  22889. description: OK
  22890. schema:
  22891. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  22892. "500":
  22893. description: Internal Server Error
  22894. schema:
  22895. $ref: '#/definitions/app.Response'
  22896. security:
  22897. - ApiKeyAuth: []
  22898. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  22899. tags:
  22900. - 定制【海商报业】
  22901. /HSBY/QueryHsbyListingGoodsDetail:
  22902. get:
  22903. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  22904. parameters:
  22905. - description: 商品ID
  22906. in: query
  22907. name: goodsID
  22908. required: true
  22909. type: integer
  22910. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  22911. in: query
  22912. name: accountID
  22913. type: integer
  22914. produces:
  22915. - application/json
  22916. responses:
  22917. "200":
  22918. description: OK
  22919. schema:
  22920. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  22921. "500":
  22922. description: Internal Server Error
  22923. schema:
  22924. $ref: '#/definitions/app.Response'
  22925. security:
  22926. - ApiKeyAuth: []
  22927. summary: 查询二级市场(挂牌点选)商品信息详情
  22928. tags:
  22929. - 定制【海商报业】
  22930. /HSBY/QueryHsbyMarketGoodsDetail:
  22931. get:
  22932. parameters:
  22933. - description: 委托单号
  22934. in: query
  22935. name: orderID
  22936. required: true
  22937. type: integer
  22938. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  22939. in: query
  22940. name: accountID
  22941. type: integer
  22942. produces:
  22943. - application/json
  22944. responses:
  22945. "200":
  22946. description: OK
  22947. schema:
  22948. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  22949. "500":
  22950. description: Internal Server Error
  22951. schema:
  22952. $ref: '#/definitions/app.Response'
  22953. security:
  22954. - ApiKeyAuth: []
  22955. summary: 查询三级市场(商城)商品信息详情
  22956. tags:
  22957. - 定制【海商报业】
  22958. /HSBY/QueryHsbyMarketGoodses:
  22959. get:
  22960. parameters:
  22961. - description: 页码
  22962. in: query
  22963. name: page
  22964. type: integer
  22965. - description: 每页条数
  22966. in: query
  22967. name: pagesize
  22968. type: integer
  22969. - description: 市场ID列表,格式:1,2,3
  22970. in: query
  22971. name: marketIDs
  22972. required: true
  22973. type: string
  22974. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  22975. in: query
  22976. name: accountID
  22977. required: true
  22978. type: integer
  22979. - description: 类别ID
  22980. in: query
  22981. name: categoryID
  22982. type: integer
  22983. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  22984. in: query
  22985. name: goodsIDs
  22986. type: string
  22987. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  22988. in: query
  22989. name: couponTypeID
  22990. type: integer
  22991. produces:
  22992. - application/json
  22993. responses:
  22994. "200":
  22995. description: OK
  22996. schema:
  22997. $ref: '#/definitions/models.HsbyMarketGoods'
  22998. "500":
  22999. description: Internal Server Error
  23000. schema:
  23001. $ref: '#/definitions/app.Response'
  23002. security:
  23003. - ApiKeyAuth: []
  23004. summary: 查询特卖商品列表(三级商城)
  23005. tags:
  23006. - 定制【海商报业】
  23007. /HSBY/QueryHsbyMarkets:
  23008. get:
  23009. produces:
  23010. - application/json
  23011. responses:
  23012. "200":
  23013. description: OK
  23014. schema:
  23015. $ref: '#/definitions/models.HsbyMarketInfo'
  23016. "500":
  23017. description: Internal Server Error
  23018. schema:
  23019. $ref: '#/definitions/app.Response'
  23020. security:
  23021. - ApiKeyAuth: []
  23022. summary: 查询海商报业相关市场信息
  23023. tags:
  23024. - 定制【海商报业】
  23025. /HSBY/QueryHsbyMyBuyOrderDetails:
  23026. get:
  23027. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  23028. parameters:
  23029. - description: 资金账户列表,格式:1,2,3
  23030. in: query
  23031. name: accountIDs
  23032. required: true
  23033. type: string
  23034. produces:
  23035. - application/json
  23036. responses:
  23037. "200":
  23038. description: OK
  23039. schema:
  23040. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  23041. "500":
  23042. description: Internal Server Error
  23043. schema:
  23044. $ref: '#/definitions/app.Response'
  23045. security:
  23046. - ApiKeyAuth: []
  23047. summary: 查询“我的订单”信息
  23048. tags:
  23049. - 定制【海商报业】
  23050. /HSBY/QueryHsbyMyGoods:
  23051. get:
  23052. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  23053. parameters:
  23054. - description: 资金账户列表,格式:1,2,3
  23055. in: query
  23056. name: accountIDs
  23057. required: true
  23058. type: string
  23059. produces:
  23060. - application/json
  23061. responses:
  23062. "200":
  23063. description: OK
  23064. schema:
  23065. $ref: '#/definitions/models.HsbyMyGoods'
  23066. "500":
  23067. description: Internal Server Error
  23068. schema:
  23069. $ref: '#/definitions/app.Response'
  23070. security:
  23071. - ApiKeyAuth: []
  23072. summary: 查询“我的商品”信息
  23073. tags:
  23074. - 定制【海商报业】
  23075. /HSBY/QueryHsbyMyPackages:
  23076. get:
  23077. parameters:
  23078. - description: 资金账户列表,格式:1,2,3
  23079. in: query
  23080. name: accountIDs
  23081. required: true
  23082. type: string
  23083. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  23084. in: query
  23085. name: takeOrderStatus
  23086. type: integer
  23087. produces:
  23088. - application/json
  23089. responses:
  23090. "200":
  23091. description: OK
  23092. schema:
  23093. $ref: '#/definitions/models.HsbyMyPackage'
  23094. "500":
  23095. description: Internal Server Error
  23096. schema:
  23097. $ref: '#/definitions/app.Response'
  23098. security:
  23099. - ApiKeyAuth: []
  23100. summary: 查询我的包裹信息
  23101. tags:
  23102. - 定制【海商报业】
  23103. /HSBY/QueryHsbyPreGoodsDetail:
  23104. get:
  23105. parameters:
  23106. - description: 商品ID
  23107. in: query
  23108. name: goodsID
  23109. required: true
  23110. type: integer
  23111. - description: 资金账户,主要用于获取预售商品购买上限
  23112. in: query
  23113. name: accountID
  23114. type: integer
  23115. produces:
  23116. - application/json
  23117. responses:
  23118. "200":
  23119. description: OK
  23120. schema:
  23121. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  23122. "500":
  23123. description: Internal Server Error
  23124. schema:
  23125. $ref: '#/definitions/app.Response'
  23126. security:
  23127. - ApiKeyAuth: []
  23128. summary: 查询一级市场(预售)商品信息详情
  23129. tags:
  23130. - 定制【海商报业】
  23131. /HSBY/QueryHsbyPreGoodses:
  23132. get:
  23133. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  23134. parameters:
  23135. - description: 页码
  23136. in: query
  23137. name: page
  23138. type: integer
  23139. - description: 每页条数
  23140. in: query
  23141. name: pagesize
  23142. type: integer
  23143. - description: 市场ID列表,格式:1,2,3
  23144. in: query
  23145. name: marketIDs
  23146. required: true
  23147. type: string
  23148. - description: 目的地(省)ID
  23149. in: query
  23150. name: descProvinceID
  23151. type: integer
  23152. - description: 目的地(市)ID
  23153. in: query
  23154. name: descCityID
  23155. type: integer
  23156. produces:
  23157. - application/json
  23158. responses:
  23159. "200":
  23160. description: OK
  23161. schema:
  23162. $ref: '#/definitions/models.HsbyPreGoods'
  23163. "500":
  23164. description: Internal Server Error
  23165. schema:
  23166. $ref: '#/definitions/app.Response'
  23167. security:
  23168. - ApiKeyAuth: []
  23169. summary: 查询新品上市商品列表(一级市场预售)
  23170. tags:
  23171. - 定制【海商报业】
  23172. /HSBY/QueryHsbySellMyDetails:
  23173. get:
  23174. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  23175. parameters:
  23176. - description: 页码
  23177. in: query
  23178. name: page
  23179. type: integer
  23180. - description: 每页条数
  23181. in: query
  23182. name: pagesize
  23183. type: integer
  23184. - description: 资金账户列表,格式:1,2,3
  23185. in: query
  23186. name: accountIDs
  23187. required: true
  23188. type: string
  23189. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  23190. in: query
  23191. name: orderType
  23192. type: integer
  23193. produces:
  23194. - application/json
  23195. responses:
  23196. "200":
  23197. description: OK
  23198. schema:
  23199. $ref: '#/definitions/models.HsbySellMyDetail'
  23200. "500":
  23201. description: Internal Server Error
  23202. schema:
  23203. $ref: '#/definitions/app.Response'
  23204. security:
  23205. - ApiKeyAuth: []
  23206. summary: 查询"我的闲置"单据信息
  23207. tags:
  23208. - 定制【海商报业】
  23209. /HSBY/QueryHsbyTopGoodses:
  23210. get:
  23211. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  23212. parameters:
  23213. - description: 页码
  23214. in: query
  23215. name: page
  23216. type: integer
  23217. - description: 每页条数
  23218. in: query
  23219. name: pagesize
  23220. type: integer
  23221. - description: 市场ID列表,格式:1,2,3
  23222. in: query
  23223. name: marketIDs
  23224. required: true
  23225. type: string
  23226. - description: 目的地(省)ID
  23227. in: query
  23228. name: descProvinceID
  23229. type: integer
  23230. - description: 目的地(市)ID
  23231. in: query
  23232. name: descCityID
  23233. type: integer
  23234. produces:
  23235. - application/json
  23236. responses:
  23237. "200":
  23238. description: OK
  23239. schema:
  23240. $ref: '#/definitions/models.HsbyTopGoods'
  23241. "500":
  23242. description: Internal Server Error
  23243. schema:
  23244. $ref: '#/definitions/app.Response'
  23245. security:
  23246. - ApiKeyAuth: []
  23247. summary: 查询热卖商品列表(二级市场挂牌点选)
  23248. tags:
  23249. - 定制【海商报业】
  23250. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  23251. get:
  23252. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  23253. parameters:
  23254. - description: 商品ID
  23255. in: query
  23256. name: goodsID
  23257. required: true
  23258. type: integer
  23259. produces:
  23260. - application/json
  23261. responses:
  23262. "200":
  23263. description: OK
  23264. schema:
  23265. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  23266. "500":
  23267. description: Internal Server Error
  23268. schema:
  23269. $ref: '#/definitions/app.Response'
  23270. security:
  23271. - ApiKeyAuth: []
  23272. summary: 查询游客三级市场(商城)商品信息详情
  23273. tags:
  23274. - 定制【海商报业】
  23275. /HSBY/QueryHsbyVisitorMarketGoodses:
  23276. get:
  23277. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  23278. parameters:
  23279. - description: 页码
  23280. in: query
  23281. name: page
  23282. type: integer
  23283. - description: 每页条数
  23284. in: query
  23285. name: pagesize
  23286. type: integer
  23287. - description: 市场ID列表,格式:1,2,3
  23288. in: query
  23289. name: marketIDs
  23290. required: true
  23291. type: string
  23292. - description: 类别ID
  23293. in: query
  23294. name: categoryID
  23295. type: integer
  23296. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  23297. in: query
  23298. name: goodsIDs
  23299. type: string
  23300. produces:
  23301. - application/json
  23302. responses:
  23303. "200":
  23304. description: OK
  23305. schema:
  23306. $ref: '#/definitions/models.HsbyMarketGoods'
  23307. "500":
  23308. description: Internal Server Error
  23309. schema:
  23310. $ref: '#/definitions/app.Response'
  23311. security:
  23312. - ApiKeyAuth: []
  23313. summary: 查询游客特卖商品列表(三级商城)
  23314. tags:
  23315. - 定制【海商报业】
  23316. /HSBY/QueryMyCollectionOrders:
  23317. get:
  23318. parameters:
  23319. - description: 页码
  23320. in: query
  23321. name: page
  23322. type: integer
  23323. - description: 每页条数
  23324. in: query
  23325. name: pagesize
  23326. type: integer
  23327. - description: 资金账户,格式:1,2,3
  23328. in: query
  23329. name: accountIDs
  23330. required: true
  23331. type: string
  23332. produces:
  23333. - application/json
  23334. responses:
  23335. "200":
  23336. description: OK
  23337. schema:
  23338. $ref: '#/definitions/models.HsbySellCollectionOrder'
  23339. "500":
  23340. description: Internal Server Error
  23341. schema:
  23342. $ref: '#/definitions/app.Response'
  23343. security:
  23344. - ApiKeyAuth: []
  23345. summary: 我的闲置中收款信息查询
  23346. tags:
  23347. - 定制【海商报业】
  23348. /HSBY/QueryMyCouponHolds:
  23349. get:
  23350. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  23351. parameters:
  23352. - description: 资金账户列表,格式:1,2,3
  23353. in: query
  23354. name: accountIDs
  23355. required: true
  23356. type: string
  23357. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  23358. in: query
  23359. name: holdStatus
  23360. type: string
  23361. produces:
  23362. - application/json
  23363. responses:
  23364. "200":
  23365. description: OK
  23366. schema:
  23367. $ref: '#/definitions/models.MyCouponHold'
  23368. "500":
  23369. description: Internal Server Error
  23370. schema:
  23371. $ref: '#/definitions/app.Response'
  23372. security:
  23373. - ApiKeyAuth: []
  23374. summary: 我的优惠卷持仓查询
  23375. tags:
  23376. - 定制【海商报业】
  23377. /HSBY/QueryMyCoupons:
  23378. get:
  23379. parameters:
  23380. - description: 资金账户列表,格式:1,2,3
  23381. in: query
  23382. name: accountIDs
  23383. required: true
  23384. type: string
  23385. - description: 商品ID, 一般与sellUserID配套传入
  23386. in: query
  23387. name: goodsID
  23388. type: integer
  23389. - description: 卖方UserID
  23390. in: query
  23391. name: sellUserID
  23392. type: integer
  23393. produces:
  23394. - application/json
  23395. responses:
  23396. "200":
  23397. description: OK
  23398. schema:
  23399. $ref: '#/definitions/models.MyCoupon'
  23400. "500":
  23401. description: Internal Server Error
  23402. schema:
  23403. $ref: '#/definitions/app.Response'
  23404. security:
  23405. - ApiKeyAuth: []
  23406. summary: 我的优惠卷查询
  23407. tags:
  23408. - 定制【海商报业】
  23409. /HSBY/QueryMyPayOrders:
  23410. get:
  23411. parameters:
  23412. - description: 页码
  23413. in: query
  23414. name: page
  23415. type: integer
  23416. - description: 每页条数
  23417. in: query
  23418. name: pagesize
  23419. type: integer
  23420. - description: 资金账户列表,格式:1,2,3
  23421. in: query
  23422. name: accountIDs
  23423. required: true
  23424. type: string
  23425. - description: 买方委托单号
  23426. in: query
  23427. name: buyOrderID
  23428. type: integer
  23429. - description: 卖方委托单号
  23430. in: query
  23431. name: sellOrderID
  23432. type: integer
  23433. produces:
  23434. - application/json
  23435. responses:
  23436. "200":
  23437. description: OK
  23438. schema:
  23439. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  23440. "500":
  23441. description: Internal Server Error
  23442. schema:
  23443. $ref: '#/definitions/app.Response'
  23444. security:
  23445. - ApiKeyAuth: []
  23446. summary: 获取我的订单中待付款信息
  23447. tags:
  23448. - 定制【海商报业】
  23449. /HSBY/QueryMyUsedCoupon:
  23450. get:
  23451. parameters:
  23452. - description: 资金账户列表,格式:1,2,3
  23453. in: query
  23454. name: accountIDs
  23455. required: true
  23456. type: string
  23457. produces:
  23458. - application/json
  23459. responses:
  23460. "200":
  23461. description: OK
  23462. schema:
  23463. $ref: '#/definitions/models.MyUsedCoupon'
  23464. "500":
  23465. description: Internal Server Error
  23466. schema:
  23467. $ref: '#/definitions/app.Response'
  23468. security:
  23469. - ApiKeyAuth: []
  23470. summary: 已使用优惠卷查询
  23471. tags:
  23472. - 定制【海商报业】
  23473. /HSBY/QueryProvincesAndCities:
  23474. get:
  23475. description: 查询结果只包括二级市场商品已关连的省市信息。
  23476. parameters:
  23477. - description: 省ID
  23478. in: query
  23479. name: provinceID
  23480. type: integer
  23481. produces:
  23482. - application/json
  23483. responses:
  23484. "200":
  23485. description: OK
  23486. schema:
  23487. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  23488. "500":
  23489. description: Internal Server Error
  23490. schema:
  23491. $ref: '#/definitions/app.Response'
  23492. security:
  23493. - ApiKeyAuth: []
  23494. summary: 查询省市信息(不包括区)
  23495. tags:
  23496. - 定制【海商报业】
  23497. /HSBY/SetHsbyMyPackagesStatus:
  23498. post:
  23499. parameters:
  23500. - description: 提货单号
  23501. in: query
  23502. name: takeOrderID
  23503. required: true
  23504. type: string
  23505. - description: 资金账号
  23506. in: query
  23507. name: accountID
  23508. required: true
  23509. type: integer
  23510. produces:
  23511. - application/json
  23512. responses:
  23513. "200":
  23514. description: OK
  23515. schema:
  23516. $ref: '#/definitions/app.Response'
  23517. "500":
  23518. description: Internal Server Error
  23519. schema:
  23520. $ref: '#/definitions/app.Response'
  23521. security:
  23522. - ApiKeyAuth: []
  23523. summary: 设置我的包裹已收货状态
  23524. tags:
  23525. - 定制【海商报业】
  23526. /Market/GetAllExExchanges:
  23527. get:
  23528. produces:
  23529. - application/json
  23530. responses:
  23531. "200":
  23532. description: OK
  23533. schema:
  23534. $ref: '#/definitions/models.Goods'
  23535. "500":
  23536. description: Internal Server Error
  23537. schema:
  23538. $ref: '#/definitions/app.Response'
  23539. security:
  23540. - ApiKeyAuth: []
  23541. summary: 获取所有外部交易所信息
  23542. tags:
  23543. - 通用市场
  23544. /Market/QueryGoodsesByLoginID:
  23545. get:
  23546. parameters:
  23547. - description: 登录账号
  23548. in: query
  23549. name: loginID
  23550. required: true
  23551. type: integer
  23552. - description: 市场ID列表,格式:1,2,3
  23553. in: query
  23554. name: marketIDs
  23555. type: string
  23556. produces:
  23557. - application/json
  23558. responses:
  23559. "200":
  23560. description: OK
  23561. schema:
  23562. $ref: '#/definitions/models.Goods'
  23563. "500":
  23564. description: Internal Server Error
  23565. schema:
  23566. $ref: '#/definitions/app.Response'
  23567. security:
  23568. - ApiKeyAuth: []
  23569. summary: 获取登录账号有权限的商品信息
  23570. tags:
  23571. - 通用市场
  23572. /Market/QueryMarketRun:
  23573. get:
  23574. parameters:
  23575. - description: 市场ID,不传返回所有
  23576. in: query
  23577. name: marketID
  23578. type: integer
  23579. produces:
  23580. - application/json
  23581. responses:
  23582. "200":
  23583. description: OK
  23584. schema:
  23585. $ref: '#/definitions/models.Marketrun'
  23586. "500":
  23587. description: Internal Server Error
  23588. schema:
  23589. $ref: '#/definitions/app.Response'
  23590. security:
  23591. - ApiKeyAuth: []
  23592. summary: 查询市场运行信息
  23593. tags:
  23594. - 通用市场
  23595. /Market/QueryMarketsByLoginID:
  23596. get:
  23597. parameters:
  23598. - description: 登录账号
  23599. in: query
  23600. name: loginID
  23601. required: true
  23602. type: integer
  23603. produces:
  23604. - application/json
  23605. responses:
  23606. "200":
  23607. description: OK
  23608. schema:
  23609. $ref: '#/definitions/models.Market'
  23610. "500":
  23611. description: Internal Server Error
  23612. schema:
  23613. $ref: '#/definitions/app.Response'
  23614. security:
  23615. - ApiKeyAuth: []
  23616. summary: 获取登录账号有权限的市场信息
  23617. tags:
  23618. - 通用市场
  23619. /Order/QueryHisTradeDetail:
  23620. get:
  23621. parameters:
  23622. - description: 资金账户 - 格式:1,2,3
  23623. in: query
  23624. name: accountID
  23625. required: true
  23626. type: string
  23627. - description: 成交单号
  23628. in: query
  23629. name: tradeID
  23630. type: integer
  23631. - description: 委托单号
  23632. in: query
  23633. name: orderID
  23634. type: integer
  23635. - description: 商品ID
  23636. in: query
  23637. name: goodsID
  23638. type: integer
  23639. - description: 交易模式 - 格式:1,2,3
  23640. in: query
  23641. name: tradeMode
  23642. type: string
  23643. - description: 委托单据类型
  23644. in: query
  23645. name: buildType
  23646. type: integer
  23647. - description: 成交类别 - 格式:1,2,3
  23648. in: query
  23649. name: tradeType
  23650. type: string
  23651. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  23652. in: query
  23653. name: startDate
  23654. type: string
  23655. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  23656. in: query
  23657. name: endDate
  23658. type: string
  23659. produces:
  23660. - application/json
  23661. responses:
  23662. "200":
  23663. description: OK
  23664. schema:
  23665. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  23666. "500":
  23667. description: Internal Server Error
  23668. schema:
  23669. $ref: '#/definitions/app.Response'
  23670. security:
  23671. - ApiKeyAuth: []
  23672. summary: 历史成交单查询(合约市场)
  23673. tags:
  23674. - 通用单据
  23675. /Order/QueryHisTradeOrderDetail:
  23676. get:
  23677. parameters:
  23678. - description: 资金账户 - 格式:1,2,3
  23679. in: query
  23680. name: accountID
  23681. required: true
  23682. type: string
  23683. - description: 交易模式 - 格式:1,2,3
  23684. in: query
  23685. name: tradeMode
  23686. type: string
  23687. - description: 委托状态 - 格式:1,2,3
  23688. in: query
  23689. name: orderStatus
  23690. type: string
  23691. - description: 委托单号
  23692. in: query
  23693. name: orderID
  23694. type: integer
  23695. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  23696. in: query
  23697. name: startDate
  23698. type: string
  23699. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  23700. in: query
  23701. name: endDate
  23702. type: string
  23703. produces:
  23704. - application/json
  23705. responses:
  23706. "200":
  23707. description: OK
  23708. schema:
  23709. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  23710. "500":
  23711. description: Internal Server Error
  23712. schema:
  23713. $ref: '#/definitions/app.Response'
  23714. security:
  23715. - ApiKeyAuth: []
  23716. summary: 历史委托单查询请求(合约市场)
  23717. tags:
  23718. - 通用单据
  23719. /Order/QueryTradeDetail:
  23720. get:
  23721. parameters:
  23722. - description: 资金账户 - 格式:1,2,3
  23723. in: query
  23724. name: accountID
  23725. required: true
  23726. type: string
  23727. - description: 成交单号
  23728. in: query
  23729. name: tradeID
  23730. type: integer
  23731. - description: 委托单号
  23732. in: query
  23733. name: orderID
  23734. type: integer
  23735. - description: 交易模式 - 格式:1,2,3
  23736. in: query
  23737. name: tradeMode
  23738. type: string
  23739. - description: 委托单据类型
  23740. in: query
  23741. name: buildType
  23742. type: integer
  23743. - description: 成交类别 - 格式:1,2,3
  23744. in: query
  23745. name: tradeType
  23746. type: string
  23747. - description: 商品ID
  23748. in: query
  23749. name: goodsID
  23750. type: integer
  23751. produces:
  23752. - application/json
  23753. responses:
  23754. "200":
  23755. description: OK
  23756. schema:
  23757. $ref: '#/definitions/order.QueryTradeDetailRsp'
  23758. "500":
  23759. description: Internal Server Error
  23760. schema:
  23761. $ref: '#/definitions/app.Response'
  23762. security:
  23763. - ApiKeyAuth: []
  23764. summary: 成交单查询(合约市场)
  23765. tags:
  23766. - 通用单据
  23767. /Order/QueryTradeHolderDetail:
  23768. get:
  23769. parameters:
  23770. - description: 用户id
  23771. in: query
  23772. name: userid
  23773. type: integer
  23774. - description: 资金账号, 格式 1,2,3
  23775. in: query
  23776. name: accids
  23777. type: string
  23778. - description: 交易模式, 格式 1,2,3
  23779. in: query
  23780. name: trademodes
  23781. type: string
  23782. - description: 市场id, 格式 1,2,3
  23783. in: query
  23784. name: marketids
  23785. type: string
  23786. - description: 商品id
  23787. in: query
  23788. name: goodsid
  23789. type: integer
  23790. - description: 买卖方向 0-买 1-卖
  23791. in: query
  23792. name: buyorsell
  23793. type: integer
  23794. produces:
  23795. - application/json
  23796. responses:
  23797. "200":
  23798. description: OK
  23799. schema:
  23800. items:
  23801. $ref: '#/definitions/models.TradeHolderDetail'
  23802. type: array
  23803. "500":
  23804. description: Internal Server Error
  23805. schema:
  23806. $ref: '#/definitions/app.Response'
  23807. security:
  23808. - ApiKeyAuth: []
  23809. summary: 查询持仓明细
  23810. tags:
  23811. - 通用单据
  23812. /Order/QueryTradeOrderDetail:
  23813. get:
  23814. parameters:
  23815. - description: 资金账户 - 格式:1,2,3
  23816. in: query
  23817. name: accountID
  23818. required: true
  23819. type: string
  23820. - description: 交易模式 - 格式:1,2,3
  23821. in: query
  23822. name: tradeMode
  23823. type: string
  23824. - description: 委托状态 - 格式:1,2,3
  23825. in: query
  23826. name: orderStatus
  23827. type: string
  23828. - description: 委托单号
  23829. in: query
  23830. name: orderID
  23831. type: integer
  23832. produces:
  23833. - application/json
  23834. responses:
  23835. "200":
  23836. description: OK
  23837. schema:
  23838. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  23839. "500":
  23840. description: Internal Server Error
  23841. schema:
  23842. $ref: '#/definitions/app.Response'
  23843. security:
  23844. - ApiKeyAuth: []
  23845. summary: 委托单查询请求(合约市场)
  23846. tags:
  23847. - 通用单据
  23848. /Order/QueryTradePosition:
  23849. get:
  23850. parameters:
  23851. - description: 资金账户 - 格式:1,2,3
  23852. in: query
  23853. name: accountID
  23854. required: true
  23855. type: string
  23856. - description: 交易模式 - 格式:1,2,3
  23857. in: query
  23858. name: tradeMode
  23859. type: string
  23860. produces:
  23861. - application/json
  23862. responses:
  23863. "200":
  23864. description: OK
  23865. schema:
  23866. $ref: '#/definitions/order.QueryTradePositionRsp'
  23867. "500":
  23868. description: Internal Server Error
  23869. schema:
  23870. $ref: '#/definitions/app.Response'
  23871. security:
  23872. - ApiKeyAuth: []
  23873. summary: 持仓汇总查询(合约市场)
  23874. tags:
  23875. - 通用单据
  23876. /Qhj/QueryAccountInOutApply:
  23877. get:
  23878. parameters:
  23879. - description: 用户ID
  23880. in: query
  23881. name: userid
  23882. required: true
  23883. type: integer
  23884. - description: 申请起始日期(格式yyyymmdd)
  23885. in: query
  23886. name: begindate
  23887. type: string
  23888. - description: 申请截止日期(格式yyyymmdd)
  23889. in: query
  23890. name: enddate
  23891. type: string
  23892. - description: 模糊搜索名称
  23893. in: query
  23894. name: likename
  23895. type: string
  23896. produces:
  23897. - application/json
  23898. responses:
  23899. "200":
  23900. description: OK
  23901. schema:
  23902. items:
  23903. $ref: '#/definitions/models.QhjAccountOutInApply'
  23904. type: array
  23905. "500":
  23906. description: Internal Server Error
  23907. schema:
  23908. $ref: '#/definitions/app.Response'
  23909. security:
  23910. - ApiKeyAuth: []
  23911. summary: 查询充值提现
  23912. tags:
  23913. - 大连千海金
  23914. /Qhj/QueryAreaFinanceConfig:
  23915. get:
  23916. parameters:
  23917. - description: 机构用户ID 其他做市关系,都设置为 1
  23918. in: query
  23919. name: userid
  23920. type: integer
  23921. produces:
  23922. - application/json
  23923. responses:
  23924. "200":
  23925. description: OK
  23926. schema:
  23927. items:
  23928. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  23929. type: array
  23930. "500":
  23931. description: Internal Server Error
  23932. schema:
  23933. $ref: '#/definitions/app.Response'
  23934. security:
  23935. - ApiKeyAuth: []
  23936. summary: 查询企业配置表
  23937. tags:
  23938. - 大连千海金
  23939. /Qhj/QueryBankAccountSign:
  23940. get:
  23941. parameters:
  23942. - description: 用户ID
  23943. in: query
  23944. name: userid
  23945. required: true
  23946. type: integer
  23947. produces:
  23948. - application/json
  23949. responses:
  23950. "200":
  23951. description: OK
  23952. schema:
  23953. items:
  23954. $ref: '#/definitions/models.QhjBankAccountSign'
  23955. type: array
  23956. "500":
  23957. description: Internal Server Error
  23958. schema:
  23959. $ref: '#/definitions/app.Response'
  23960. security:
  23961. - ApiKeyAuth: []
  23962. summary: 查询签约银行信息(提现账户管理)
  23963. tags:
  23964. - 大连千海金
  23965. /Qhj/QueryBankInfo:
  23966. get:
  23967. produces:
  23968. - application/json
  23969. responses:
  23970. "200":
  23971. description: OK
  23972. schema:
  23973. items:
  23974. $ref: '#/definitions/models.QhjBankInfo'
  23975. type: array
  23976. "500":
  23977. description: Internal Server Error
  23978. schema:
  23979. $ref: '#/definitions/app.Response'
  23980. security:
  23981. - ApiKeyAuth: []
  23982. summary: 查询开户行
  23983. tags:
  23984. - 大连千海金
  23985. /Qhj/QueryBrokerApply:
  23986. get:
  23987. parameters:
  23988. - description: 所属机构ID
  23989. in: query
  23990. name: userid
  23991. type: integer
  23992. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  23993. in: query
  23994. name: filterstatus
  23995. type: string
  23996. produces:
  23997. - application/json
  23998. responses:
  23999. "200":
  24000. description: OK
  24001. schema:
  24002. items:
  24003. $ref: '#/definitions/models.QhjBrokerApply'
  24004. type: array
  24005. "500":
  24006. description: Internal Server Error
  24007. schema:
  24008. $ref: '#/definitions/app.Response'
  24009. security:
  24010. - ApiKeyAuth: []
  24011. summary: 查询经纪人申请
  24012. tags:
  24013. - 大连千海金
  24014. /Qhj/QueryBrokerApplyEx:
  24015. get:
  24016. parameters:
  24017. - description: 所属机构ID
  24018. in: query
  24019. name: userid
  24020. type: integer
  24021. produces:
  24022. - application/json
  24023. responses:
  24024. "200":
  24025. description: OK
  24026. schema:
  24027. items:
  24028. $ref: '#/definitions/models.QhjBrokerApplyEx'
  24029. type: array
  24030. "500":
  24031. description: Internal Server Error
  24032. schema:
  24033. $ref: '#/definitions/app.Response'
  24034. security:
  24035. - ApiKeyAuth: []
  24036. summary: 查询经纪人信息和申请记录
  24037. tags:
  24038. - 大连千海金
  24039. /Qhj/QueryBrokerRewardLog:
  24040. get:
  24041. parameters:
  24042. - description: 用户ID
  24043. in: query
  24044. name: userid
  24045. required: true
  24046. type: integer
  24047. - description: 开始交易日(yyyymmdd)
  24048. in: query
  24049. name: begindate
  24050. type: string
  24051. - description: 结束交易日(yyyymmdd)
  24052. in: query
  24053. name: enddate
  24054. type: string
  24055. produces:
  24056. - application/json
  24057. responses:
  24058. "200":
  24059. description: OK
  24060. schema:
  24061. items:
  24062. $ref: '#/definitions/models.QhjBrokerRewardLog'
  24063. type: array
  24064. "500":
  24065. description: Internal Server Error
  24066. schema:
  24067. $ref: '#/definitions/app.Response'
  24068. security:
  24069. - ApiKeyAuth: []
  24070. summary: 查询奖励流水(我的奖励)
  24071. tags:
  24072. - 大连千海金
  24073. /Qhj/QueryContract:
  24074. get:
  24075. parameters:
  24076. - description: 用户ID
  24077. in: query
  24078. name: userid
  24079. type: integer
  24080. - description: scf合同id
  24081. in: query
  24082. name: scfcontractid
  24083. type: integer
  24084. produces:
  24085. - application/json
  24086. responses:
  24087. "200":
  24088. description: OK
  24089. schema:
  24090. items:
  24091. $ref: '#/definitions/models.QhjContract'
  24092. type: array
  24093. "500":
  24094. description: Internal Server Error
  24095. schema:
  24096. $ref: '#/definitions/app.Response'
  24097. security:
  24098. - ApiKeyAuth: []
  24099. summary: 查询融资明细(合同)
  24100. tags:
  24101. - 大连千海金
  24102. /Qhj/QueryContractLog:
  24103. get:
  24104. parameters:
  24105. - description: scf合同id
  24106. in: query
  24107. name: scfcontractid
  24108. required: true
  24109. type: integer
  24110. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  24111. in: query
  24112. name: amounttype
  24113. type: string
  24114. produces:
  24115. - application/json
  24116. responses:
  24117. "200":
  24118. description: OK
  24119. schema:
  24120. items:
  24121. $ref: '#/definitions/models.QhjContractLog'
  24122. type: array
  24123. "500":
  24124. description: Internal Server Error
  24125. schema:
  24126. $ref: '#/definitions/app.Response'
  24127. security:
  24128. - ApiKeyAuth: []
  24129. summary: 查询融资明细流水(融资明细详情页中的流水)
  24130. tags:
  24131. - 大连千海金
  24132. /Qhj/QueryCusBankSignBank:
  24133. get:
  24134. produces:
  24135. - application/json
  24136. responses:
  24137. "200":
  24138. description: OK
  24139. schema:
  24140. items:
  24141. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  24142. type: array
  24143. "500":
  24144. description: Internal Server Error
  24145. schema:
  24146. $ref: '#/definitions/app.Response'
  24147. security:
  24148. - ApiKeyAuth: []
  24149. summary: 查询托管银行
  24150. tags:
  24151. - 大连千海金
  24152. /Qhj/QueryCustomerInfo:
  24153. get:
  24154. parameters:
  24155. - description: 用户ID
  24156. in: query
  24157. name: userid
  24158. required: true
  24159. type: integer
  24160. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  24161. in: query
  24162. name: querytype
  24163. required: true
  24164. type: integer
  24165. - description: 客户类型 1-个人 2-企业
  24166. in: query
  24167. name: userinfotype
  24168. type: integer
  24169. - description: 客户名称(模糊匹配)
  24170. in: query
  24171. name: customername
  24172. type: string
  24173. - description: 昵称(模糊匹配)
  24174. in: query
  24175. name: nickname
  24176. type: string
  24177. - description: 是否包含子级 1-包含
  24178. in: query
  24179. name: includesub
  24180. type: integer
  24181. produces:
  24182. - application/json
  24183. responses:
  24184. "200":
  24185. description: OK
  24186. schema:
  24187. items:
  24188. $ref: '#/definitions/models.QhjCustomer'
  24189. type: array
  24190. "500":
  24191. description: Internal Server Error
  24192. schema:
  24193. $ref: '#/definitions/app.Response'
  24194. security:
  24195. - ApiKeyAuth: []
  24196. summary: 查询客户资料
  24197. tags:
  24198. - 大连千海金
  24199. /Qhj/QueryGoodsEx:
  24200. get:
  24201. parameters:
  24202. - description: 商品id
  24203. in: query
  24204. name: goodsid
  24205. type: integer
  24206. produces:
  24207. - application/json
  24208. responses:
  24209. "200":
  24210. description: OK
  24211. schema:
  24212. items:
  24213. $ref: '#/definitions/models.Qhjgoodsex'
  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. /Qhj/QueryMyTeam:
  24225. get:
  24226. parameters:
  24227. - description: 用户ID
  24228. in: query
  24229. name: userid
  24230. required: true
  24231. type: integer
  24232. produces:
  24233. - application/json
  24234. responses:
  24235. "200":
  24236. description: OK
  24237. schema:
  24238. items:
  24239. $ref: '#/definitions/models.QhjMyTeamEx'
  24240. type: array
  24241. "500":
  24242. description: Internal Server Error
  24243. schema:
  24244. $ref: '#/definitions/app.Response'
  24245. security:
  24246. - ApiKeyAuth: []
  24247. summary: 查询我的团队
  24248. tags:
  24249. - 大连千海金
  24250. /Qhj/QueryMyTeamOrder:
  24251. get:
  24252. parameters:
  24253. - description: 页码
  24254. in: query
  24255. name: page
  24256. type: integer
  24257. - description: 每页条数
  24258. in: query
  24259. name: pagesize
  24260. type: integer
  24261. - description: 用户ID
  24262. in: query
  24263. name: userid
  24264. required: true
  24265. type: integer
  24266. - description: 交易模式
  24267. in: query
  24268. name: trademode
  24269. type: integer
  24270. - description: 名称(模糊搜索账户)
  24271. in: query
  24272. name: filtername
  24273. type: string
  24274. produces:
  24275. - application/json
  24276. responses:
  24277. "200":
  24278. description: OK
  24279. schema:
  24280. items:
  24281. $ref: '#/definitions/models.QhjTeamOrder'
  24282. type: array
  24283. "500":
  24284. description: Internal Server Error
  24285. schema:
  24286. $ref: '#/definitions/app.Response'
  24287. security:
  24288. - ApiKeyAuth: []
  24289. summary: 查询团队订单(我的团队/团队订单)
  24290. tags:
  24291. - 大连千海金
  24292. /Qhj/QueryParentAreaList:
  24293. get:
  24294. parameters:
  24295. - description: 用户ID
  24296. in: query
  24297. name: userid
  24298. required: true
  24299. type: integer
  24300. produces:
  24301. - application/json
  24302. responses:
  24303. "200":
  24304. description: OK
  24305. schema:
  24306. items:
  24307. $ref: '#/definitions/models.QhjParentAreaList'
  24308. type: array
  24309. "500":
  24310. description: Internal Server Error
  24311. schema:
  24312. $ref: '#/definitions/app.Response'
  24313. security:
  24314. - ApiKeyAuth: []
  24315. summary: 查询所属机构列表
  24316. tags:
  24317. - 大连千海金
  24318. /Qhj/QueryPayOrder:
  24319. get:
  24320. parameters:
  24321. - description: 资金账号id
  24322. in: query
  24323. name: accountid
  24324. required: true
  24325. type: integer
  24326. - description: 成交单号
  24327. in: query
  24328. name: tradeid
  24329. type: integer
  24330. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  24331. in: query
  24332. name: payflag
  24333. type: string
  24334. produces:
  24335. - application/json
  24336. responses:
  24337. "200":
  24338. description: OK
  24339. schema:
  24340. items:
  24341. $ref: '#/definitions/models.QhjPayOrder'
  24342. type: array
  24343. "500":
  24344. description: Internal Server Error
  24345. schema:
  24346. $ref: '#/definitions/app.Response'
  24347. security:
  24348. - ApiKeyAuth: []
  24349. summary: 查询待付款单据
  24350. tags:
  24351. - 大连千海金
  24352. /Qhj/QueryPickArea:
  24353. get:
  24354. parameters:
  24355. - description: 用户ID
  24356. in: query
  24357. name: userid
  24358. type: integer
  24359. produces:
  24360. - application/json
  24361. responses:
  24362. "200":
  24363. description: OK
  24364. schema:
  24365. items:
  24366. $ref: '#/definitions/models.QhjPickArea'
  24367. type: array
  24368. "500":
  24369. description: Internal Server Error
  24370. schema:
  24371. $ref: '#/definitions/app.Response'
  24372. security:
  24373. - ApiKeyAuth: []
  24374. summary: 查询提货门店
  24375. tags:
  24376. - 大连千海金
  24377. /Qhj/QueryPickGoods:
  24378. get:
  24379. parameters:
  24380. - description: 交易商品id
  24381. in: query
  24382. name: goodsid
  24383. required: true
  24384. type: integer
  24385. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  24386. in: query
  24387. name: status
  24388. type: string
  24389. produces:
  24390. - application/json
  24391. responses:
  24392. "200":
  24393. description: OK
  24394. schema:
  24395. items:
  24396. $ref: '#/definitions/models.QhjPickGoods'
  24397. type: array
  24398. "500":
  24399. description: Internal Server Error
  24400. schema:
  24401. $ref: '#/definitions/app.Response'
  24402. security:
  24403. - ApiKeyAuth: []
  24404. summary: 查询提货商品
  24405. tags:
  24406. - 大连千海金
  24407. /Qhj/QueryRSTriggerLog:
  24408. get:
  24409. parameters:
  24410. - description: 用户ID
  24411. in: query
  24412. name: userid
  24413. type: integer
  24414. - description: 定投策略id
  24415. in: query
  24416. name: regularlystrategyid
  24417. type: integer
  24418. - description: 商品id
  24419. in: query
  24420. name: goodsid
  24421. type: integer
  24422. - description: 开始交易日(yyyymmdd)
  24423. in: query
  24424. name: begindate
  24425. type: string
  24426. - description: 结束交易日(yyyymmdd)
  24427. in: query
  24428. name: enddate
  24429. type: string
  24430. - description: 名称(模糊搜索账户)
  24431. in: query
  24432. name: filtername
  24433. type: string
  24434. produces:
  24435. - application/json
  24436. responses:
  24437. "200":
  24438. description: OK
  24439. schema:
  24440. items:
  24441. $ref: '#/definitions/models.QhjRSTriggerLog'
  24442. type: array
  24443. "500":
  24444. description: Internal Server Error
  24445. schema:
  24446. $ref: '#/definitions/app.Response'
  24447. security:
  24448. - ApiKeyAuth: []
  24449. summary: 查询定投记录(定投管理/详情/定投记录)
  24450. tags:
  24451. - 大连千海金
  24452. /Qhj/QueryRStrategy:
  24453. get:
  24454. parameters:
  24455. - description: 用户ID
  24456. in: query
  24457. name: userid
  24458. type: integer
  24459. - description: 商品id
  24460. in: query
  24461. name: goodsid
  24462. type: integer
  24463. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  24464. in: query
  24465. name: status
  24466. type: string
  24467. - description: 名称(模糊搜索账户)
  24468. in: query
  24469. name: filtername
  24470. type: string
  24471. produces:
  24472. - application/json
  24473. responses:
  24474. "200":
  24475. description: OK
  24476. schema:
  24477. items:
  24478. $ref: '#/definitions/models.QhjRStrategy'
  24479. type: array
  24480. "500":
  24481. description: Internal Server Error
  24482. schema:
  24483. $ref: '#/definitions/app.Response'
  24484. security:
  24485. - ApiKeyAuth: []
  24486. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  24487. tags:
  24488. - 大连千海金
  24489. /Qhj/QueryReckonPriceLog:
  24490. get:
  24491. parameters:
  24492. - description: 商品ID
  24493. in: query
  24494. name: goodsid
  24495. type: integer
  24496. - description: 交易日 格式(yyyymmdd)
  24497. in: query
  24498. name: tradedate
  24499. type: string
  24500. produces:
  24501. - application/json
  24502. responses:
  24503. "200":
  24504. description: OK
  24505. schema:
  24506. items:
  24507. $ref: '#/definitions/models.QhjReckonPriceLog'
  24508. type: array
  24509. "500":
  24510. description: Internal Server Error
  24511. schema:
  24512. $ref: '#/definitions/app.Response'
  24513. security:
  24514. - ApiKeyAuth: []
  24515. summary: 查询定投价(结算价)
  24516. tags:
  24517. - 大连千海金
  24518. /Qhj/QueryScoreLog:
  24519. get:
  24520. parameters:
  24521. - description: 用户ID
  24522. in: query
  24523. name: userid
  24524. required: true
  24525. type: integer
  24526. - description: 开始交易日(yyyymmdd)
  24527. in: query
  24528. name: begindate
  24529. type: string
  24530. - description: 结束交易日(yyyymmdd)
  24531. in: query
  24532. name: enddate
  24533. type: string
  24534. - description: 最近多少条
  24535. in: query
  24536. name: lastnum
  24537. type: integer
  24538. produces:
  24539. - application/json
  24540. responses:
  24541. "200":
  24542. description: OK
  24543. schema:
  24544. items:
  24545. $ref: '#/definitions/models.QhjScoreLog'
  24546. type: array
  24547. "500":
  24548. description: Internal Server Error
  24549. schema:
  24550. $ref: '#/definitions/app.Response'
  24551. security:
  24552. - ApiKeyAuth: []
  24553. summary: 查询积分流水(我的积分)
  24554. tags:
  24555. - 大连千海金
  24556. /Qhj/QuerySiteColumnDetail:
  24557. get:
  24558. parameters:
  24559. - description: 用户ID
  24560. in: query
  24561. name: userid
  24562. required: true
  24563. type: integer
  24564. produces:
  24565. - application/json
  24566. responses:
  24567. "200":
  24568. description: OK
  24569. schema:
  24570. items:
  24571. $ref: '#/definitions/models.QhjSiteColumnDetail'
  24572. type: array
  24573. "500":
  24574. description: Internal Server Error
  24575. schema:
  24576. $ref: '#/definitions/app.Response'
  24577. security:
  24578. - ApiKeyAuth: []
  24579. summary: 查询资讯
  24580. tags:
  24581. - 大连千海金
  24582. /Qhj/QueryTradeGoodsPickup:
  24583. get:
  24584. parameters:
  24585. - description: 用户ID
  24586. in: query
  24587. name: userid
  24588. required: true
  24589. type: integer
  24590. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销
  24591. in: query
  24592. name: takeorderstatus
  24593. type: integer
  24594. produces:
  24595. - application/json
  24596. responses:
  24597. "200":
  24598. description: OK
  24599. schema:
  24600. items:
  24601. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  24602. type: array
  24603. "500":
  24604. description: Internal Server Error
  24605. schema:
  24606. $ref: '#/definitions/app.Response'
  24607. security:
  24608. - ApiKeyAuth: []
  24609. summary: 查询提货
  24610. tags:
  24611. - 大连千海金
  24612. /Qhj/QueryUserCollectConfig:
  24613. get:
  24614. parameters:
  24615. - description: 用户ID
  24616. in: query
  24617. name: userid
  24618. required: true
  24619. type: integer
  24620. produces:
  24621. - application/json
  24622. responses:
  24623. "200":
  24624. description: OK
  24625. schema:
  24626. items:
  24627. $ref: '#/definitions/models.UserCollectConfig'
  24628. type: array
  24629. "500":
  24630. description: Internal Server Error
  24631. schema:
  24632. $ref: '#/definitions/app.Response'
  24633. security:
  24634. - ApiKeyAuth: []
  24635. summary: 查询提现账户设置
  24636. tags:
  24637. - 大连千海金
  24638. /Qhj/QueryUserReceiveInfo:
  24639. get:
  24640. parameters:
  24641. - description: 用户ID
  24642. in: query
  24643. name: userid
  24644. required: true
  24645. type: integer
  24646. produces:
  24647. - application/json
  24648. responses:
  24649. "200":
  24650. description: OK
  24651. schema:
  24652. items:
  24653. $ref: '#/definitions/models.UserReceiveInfo'
  24654. type: array
  24655. "500":
  24656. description: Internal Server Error
  24657. schema:
  24658. $ref: '#/definitions/app.Response'
  24659. security:
  24660. - ApiKeyAuth: []
  24661. summary: 查询收货地址信息
  24662. tags:
  24663. - 大连千海金
  24664. /QhjMgr/QueryAccountInOutApply:
  24665. get:
  24666. parameters:
  24667. - description: 查询类型 1-提现(出金) 2-充值(出金)
  24668. in: query
  24669. name: querytype
  24670. required: true
  24671. type: integer
  24672. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  24673. in: query
  24674. name: applystatus
  24675. type: integer
  24676. - description: 申请起始日期(格式yyyymmdd)
  24677. in: query
  24678. name: begindate
  24679. type: string
  24680. - description: 申请截止日期(格式yyyymmdd)
  24681. in: query
  24682. name: enddate
  24683. type: string
  24684. - description: 模糊搜索名称
  24685. in: query
  24686. name: likename
  24687. type: string
  24688. produces:
  24689. - application/json
  24690. responses:
  24691. "200":
  24692. description: OK
  24693. schema:
  24694. items:
  24695. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  24696. type: array
  24697. "500":
  24698. description: Internal Server Error
  24699. schema:
  24700. $ref: '#/definitions/app.Response'
  24701. security:
  24702. - ApiKeyAuth: []
  24703. summary: 查询充值提现
  24704. tags:
  24705. - 大连千海金(PCWeb)
  24706. /QhjMgr/QueryBrokerApply:
  24707. get:
  24708. parameters:
  24709. - description: 所属机构ID
  24710. in: query
  24711. name: userid
  24712. type: integer
  24713. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24714. in: query
  24715. name: filterstatus
  24716. type: string
  24717. - description: 名称(模糊匹配)
  24718. in: query
  24719. name: filtername
  24720. type: string
  24721. - description: 是否包含子级 1-包含
  24722. in: query
  24723. name: includesub
  24724. type: integer
  24725. produces:
  24726. - application/json
  24727. responses:
  24728. "200":
  24729. description: OK
  24730. schema:
  24731. items:
  24732. $ref: '#/definitions/models.QhjMgrBrokerApply'
  24733. type: array
  24734. "500":
  24735. description: Internal Server Error
  24736. schema:
  24737. $ref: '#/definitions/app.Response'
  24738. security:
  24739. - ApiKeyAuth: []
  24740. summary: 查询经纪人申请
  24741. tags:
  24742. - 大连千海金(PCWeb)
  24743. /QhjMgr/QueryBrokerRewardReport:
  24744. get:
  24745. parameters:
  24746. - description: 所属机构ID
  24747. in: query
  24748. name: userid
  24749. required: true
  24750. type: integer
  24751. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24752. in: query
  24753. name: cycletype
  24754. required: true
  24755. type: integer
  24756. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  24757. in: query
  24758. name: cycletime
  24759. required: true
  24760. type: string
  24761. - description: 名称(模糊匹配)
  24762. in: query
  24763. name: filtername
  24764. type: string
  24765. - description: 是否包含子级 1-包含
  24766. in: query
  24767. name: includesub
  24768. type: integer
  24769. produces:
  24770. - application/json
  24771. responses:
  24772. "200":
  24773. description: OK
  24774. schema:
  24775. items:
  24776. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  24777. type: array
  24778. "500":
  24779. description: Internal Server Error
  24780. schema:
  24781. $ref: '#/definitions/app.Response'
  24782. security:
  24783. - ApiKeyAuth: []
  24784. summary: 查询经纪人奖励报表(废弃)
  24785. tags:
  24786. - 大连千海金(PCWeb)
  24787. /QhjMgr/QueryContract:
  24788. get:
  24789. parameters:
  24790. - description: 用户ID
  24791. in: query
  24792. name: userid
  24793. type: integer
  24794. - description: 商品id
  24795. in: query
  24796. name: goodsid
  24797. type: integer
  24798. - description: 名称(模糊搜索账户)
  24799. in: query
  24800. name: filtername
  24801. type: string
  24802. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  24803. in: query
  24804. name: risklevel
  24805. type: string
  24806. - description: 开始交易日(yyyymmdd)
  24807. in: query
  24808. name: begindate
  24809. type: string
  24810. - description: 结束交易日(yyyymmdd)
  24811. in: query
  24812. name: enddate
  24813. type: string
  24814. produces:
  24815. - application/json
  24816. responses:
  24817. "200":
  24818. description: OK
  24819. schema:
  24820. items:
  24821. $ref: '#/definitions/models.QhjMgrContract'
  24822. type: array
  24823. "500":
  24824. description: Internal Server Error
  24825. schema:
  24826. $ref: '#/definitions/app.Response'
  24827. security:
  24828. - ApiKeyAuth: []
  24829. summary: 查询融资信息(合同)
  24830. tags:
  24831. - 大连千海金(PCWeb)
  24832. /QhjMgr/QueryCustomerInfo:
  24833. get:
  24834. parameters:
  24835. - description: 用户ID
  24836. in: query
  24837. name: userid
  24838. required: true
  24839. type: integer
  24840. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  24841. in: query
  24842. name: querytype
  24843. required: true
  24844. type: integer
  24845. - description: 客户类型 1-个人 2-企业
  24846. in: query
  24847. name: userinfotype
  24848. type: integer
  24849. - description: 客户名称(模糊匹配)
  24850. in: query
  24851. name: customername
  24852. type: string
  24853. - description: 昵称(模糊匹配)
  24854. in: query
  24855. name: nickname
  24856. type: string
  24857. - description: 所属客户经理(模糊匹配)
  24858. in: query
  24859. name: brokername
  24860. type: string
  24861. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd, 如0503 -5月3日)
  24862. in: query
  24863. name: birthday
  24864. type: string
  24865. - description: 是否包含子级 1-包含
  24866. in: query
  24867. name: includesub
  24868. type: integer
  24869. produces:
  24870. - application/json
  24871. responses:
  24872. "200":
  24873. description: OK
  24874. schema:
  24875. items:
  24876. $ref: '#/definitions/models.QhjMgrCustomer'
  24877. type: array
  24878. "500":
  24879. description: Internal Server Error
  24880. schema:
  24881. $ref: '#/definitions/app.Response'
  24882. security:
  24883. - ApiKeyAuth: []
  24884. summary: 查询客户资料
  24885. tags:
  24886. - 大连千海金(PCWeb)
  24887. /QhjMgr/QueryPickGoods:
  24888. get:
  24889. parameters:
  24890. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  24891. in: query
  24892. name: status
  24893. type: string
  24894. produces:
  24895. - application/json
  24896. responses:
  24897. "200":
  24898. description: OK
  24899. schema:
  24900. items:
  24901. $ref: '#/definitions/models.QhjMgrPickGoods'
  24902. type: array
  24903. "500":
  24904. description: Internal Server Error
  24905. schema:
  24906. $ref: '#/definitions/app.Response'
  24907. security:
  24908. - ApiKeyAuth: []
  24909. summary: 查询提货商品
  24910. tags:
  24911. - 大连千海金(PCWeb)
  24912. /QhjMgr/QuerySubArea:
  24913. get:
  24914. parameters:
  24915. - description: 用户ID
  24916. in: query
  24917. name: userid
  24918. required: true
  24919. type: integer
  24920. produces:
  24921. - application/json
  24922. responses:
  24923. "200":
  24924. description: OK
  24925. schema:
  24926. items:
  24927. $ref: '#/definitions/models.QhjMgrSubArea'
  24928. type: array
  24929. "500":
  24930. description: Internal Server Error
  24931. schema:
  24932. $ref: '#/definitions/app.Response'
  24933. security:
  24934. - ApiKeyAuth: []
  24935. summary: 查询子机构列表
  24936. tags:
  24937. - 大连千海金(PCWeb)
  24938. /QhjMgr/QueryTradeDetail:
  24939. get:
  24940. parameters:
  24941. - description: 用户ID
  24942. in: query
  24943. name: userid
  24944. required: true
  24945. type: integer
  24946. - description: 用户类型 1-个人 2-企业
  24947. in: query
  24948. name: userinfotype
  24949. type: integer
  24950. - description: 交易模式
  24951. in: query
  24952. name: trademode
  24953. type: integer
  24954. - description: 商品id
  24955. in: query
  24956. name: goodsid
  24957. type: integer
  24958. - description: 名称(模糊搜索账户)
  24959. in: query
  24960. name: filtername
  24961. type: string
  24962. - description: 开始交易日(yyyymmdd)
  24963. in: query
  24964. name: begindate
  24965. type: string
  24966. - description: 结束交易日(yyyymmdd)
  24967. in: query
  24968. name: enddate
  24969. type: string
  24970. - description: 是否包含子级 1-包含
  24971. in: query
  24972. name: includesub
  24973. type: integer
  24974. produces:
  24975. - application/json
  24976. responses:
  24977. "200":
  24978. description: OK
  24979. schema:
  24980. items:
  24981. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  24982. type: array
  24983. "500":
  24984. description: Internal Server Error
  24985. schema:
  24986. $ref: '#/definitions/app.Response'
  24987. security:
  24988. - ApiKeyAuth: []
  24989. summary: 查询成交明细
  24990. tags:
  24991. - 大连千海金(PCWeb)
  24992. /QhjMgr/QueryTradeOrderDetail:
  24993. get:
  24994. parameters:
  24995. - description: 用户ID
  24996. in: query
  24997. name: userid
  24998. required: true
  24999. type: integer
  25000. - description: 用户类型 1-个人 2-企业
  25001. in: query
  25002. name: userinfotype
  25003. type: integer
  25004. - description: 交易模式
  25005. in: query
  25006. name: trademode
  25007. type: integer
  25008. - description: 商品id
  25009. in: query
  25010. name: goodsid
  25011. type: integer
  25012. - description: 名称(模糊搜索账户)
  25013. in: query
  25014. name: filtername
  25015. type: string
  25016. - description: 开始交易日(yyyymmdd)
  25017. in: query
  25018. name: begindate
  25019. type: string
  25020. - description: 结束交易日(yyyymmdd)
  25021. in: query
  25022. name: enddate
  25023. type: string
  25024. - description: 是否包含子级 1-包含
  25025. in: query
  25026. name: includesub
  25027. type: integer
  25028. produces:
  25029. - application/json
  25030. responses:
  25031. "200":
  25032. description: OK
  25033. schema:
  25034. items:
  25035. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  25036. type: array
  25037. "500":
  25038. description: Internal Server Error
  25039. schema:
  25040. $ref: '#/definitions/app.Response'
  25041. security:
  25042. - ApiKeyAuth: []
  25043. summary: 查询委托明细
  25044. tags:
  25045. - 大连千海金(PCWeb)
  25046. /QhjMgr/QueryTradePayOrder:
  25047. get:
  25048. parameters:
  25049. - description: 用户ID
  25050. in: query
  25051. name: userid
  25052. required: true
  25053. type: integer
  25054. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  25055. in: query
  25056. name: payflag
  25057. type: string
  25058. - description: 用户类型 1-个人 2-企业
  25059. in: query
  25060. name: userinfotype
  25061. type: integer
  25062. - description: 交易模式
  25063. in: query
  25064. name: trademode
  25065. type: integer
  25066. - description: 商品id
  25067. in: query
  25068. name: goodsid
  25069. type: integer
  25070. - description: 名称(模糊搜索账户)
  25071. in: query
  25072. name: filtername
  25073. type: string
  25074. - description: 开始交易日(yyyymmdd)
  25075. in: query
  25076. name: begindate
  25077. type: string
  25078. - description: 结束交易日(yyyymmdd)
  25079. in: query
  25080. name: enddate
  25081. type: string
  25082. - description: 是否包含子级 1-包含
  25083. in: query
  25084. name: includesub
  25085. type: integer
  25086. produces:
  25087. - application/json
  25088. responses:
  25089. "200":
  25090. description: OK
  25091. schema:
  25092. items:
  25093. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  25094. type: array
  25095. "500":
  25096. description: Internal Server Error
  25097. schema:
  25098. $ref: '#/definitions/app.Response'
  25099. security:
  25100. - ApiKeyAuth: []
  25101. summary: 查询待付款单
  25102. tags:
  25103. - 大连千海金(PCWeb)
  25104. /QhjMgr/QueryTradePosition:
  25105. get:
  25106. parameters:
  25107. - description: 用户ID
  25108. in: query
  25109. name: userid
  25110. required: true
  25111. type: integer
  25112. - description: 用户类型 1-个人 2-企业
  25113. in: query
  25114. name: userinfotype
  25115. type: integer
  25116. - description: 交易模式
  25117. in: query
  25118. name: trademode
  25119. type: integer
  25120. - description: 商品id
  25121. in: query
  25122. name: goodsid
  25123. type: integer
  25124. - description: 名称(模糊搜索账户)
  25125. in: query
  25126. name: filtername
  25127. type: string
  25128. - description: 是否包含子级 1-包含
  25129. in: query
  25130. name: includesub
  25131. type: integer
  25132. produces:
  25133. - application/json
  25134. responses:
  25135. "200":
  25136. description: OK
  25137. schema:
  25138. items:
  25139. $ref: '#/definitions/models.QhjMgrPositionRsp'
  25140. type: array
  25141. "500":
  25142. description: Internal Server Error
  25143. schema:
  25144. $ref: '#/definitions/app.Response'
  25145. security:
  25146. - ApiKeyAuth: []
  25147. summary: 查询持仓汇总
  25148. tags:
  25149. - 大连千海金(PCWeb)
  25150. /QhjSys/QueryAgreementChangeLog:
  25151. get:
  25152. parameters:
  25153. - description: 协议ID
  25154. in: query
  25155. name: agreementid
  25156. type: integer
  25157. - description: 协议版本号
  25158. in: query
  25159. name: agreementversion
  25160. type: integer
  25161. - description: 协议类型 - 1:注册 2:登录 3:交易
  25162. in: query
  25163. name: agreementtype
  25164. type: integer
  25165. - description: 协议编号(模糊匹配)
  25166. in: query
  25167. name: agreementno
  25168. type: string
  25169. - description: 协议名称(模糊匹配)
  25170. in: query
  25171. name: agreementname
  25172. type: string
  25173. produces:
  25174. - application/json
  25175. responses:
  25176. "200":
  25177. description: OK
  25178. schema:
  25179. items:
  25180. $ref: '#/definitions/models.QhjAgreementChangeLog'
  25181. type: array
  25182. "500":
  25183. description: Internal Server Error
  25184. schema:
  25185. $ref: '#/definitions/app.Response'
  25186. security:
  25187. - ApiKeyAuth: []
  25188. summary: 查询协议配置变更流水
  25189. tags:
  25190. - 大连千海金(协议和签约信息)
  25191. /QhjSys/QueryAgreementConfig:
  25192. get:
  25193. parameters:
  25194. - description: 协议ID
  25195. in: query
  25196. name: agreementid
  25197. type: integer
  25198. - description: 协议版本号
  25199. in: query
  25200. name: agreementversion
  25201. type: integer
  25202. - description: 协议类型 - 1:注册 2:登录 3:交易
  25203. in: query
  25204. name: agreementtype
  25205. type: integer
  25206. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  25207. in: query
  25208. name: isvalid
  25209. type: integer
  25210. - description: 协议编号(模糊匹配)
  25211. in: query
  25212. name: agreementno
  25213. type: string
  25214. - description: 协议名称(模糊匹配)
  25215. in: query
  25216. name: agreementname
  25217. type: string
  25218. produces:
  25219. - application/json
  25220. responses:
  25221. "200":
  25222. description: OK
  25223. schema:
  25224. items:
  25225. $ref: '#/definitions/models.QhjAgreementConfig'
  25226. type: array
  25227. "500":
  25228. description: Internal Server Error
  25229. schema:
  25230. $ref: '#/definitions/app.Response'
  25231. security:
  25232. - ApiKeyAuth: []
  25233. summary: 查询协议配置
  25234. tags:
  25235. - 大连千海金(协议和签约信息)
  25236. /QhjSys/QueryCustomerSignStatus:
  25237. get:
  25238. parameters:
  25239. - description: 客户ID
  25240. in: query
  25241. name: userid
  25242. type: integer
  25243. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  25244. in: query
  25245. name: nodetype
  25246. type: integer
  25247. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25248. in: query
  25249. name: goodsid
  25250. type: integer
  25251. - description: 创建交易日(yyyyMMdd)
  25252. in: query
  25253. name: tradedate
  25254. type: string
  25255. - description: 用户名称(模糊匹配)
  25256. in: query
  25257. name: username
  25258. type: string
  25259. produces:
  25260. - application/json
  25261. responses:
  25262. "200":
  25263. description: OK
  25264. schema:
  25265. items:
  25266. $ref: '#/definitions/models.QhjCustomerSignStatus'
  25267. type: array
  25268. "500":
  25269. description: Internal Server Error
  25270. schema:
  25271. $ref: '#/definitions/app.Response'
  25272. security:
  25273. - ApiKeyAuth: []
  25274. summary: 查询客户协议签约状态
  25275. tags:
  25276. - 大连千海金(协议和签约信息)
  25277. /QhjSys/QueryNodeAgreementConfig:
  25278. get:
  25279. parameters:
  25280. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  25281. in: query
  25282. name: configid
  25283. type: integer
  25284. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  25285. in: query
  25286. name: nodetype
  25287. type: integer
  25288. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25289. in: query
  25290. name: goodsid
  25291. type: integer
  25292. - description: 协议ID
  25293. in: query
  25294. name: agreementid
  25295. type: integer
  25296. - description: 协议类型 - 1:注册 2:登录 3:交易
  25297. in: query
  25298. name: agreementtype
  25299. type: integer
  25300. - description: 协议版本号
  25301. in: query
  25302. name: agreementversion
  25303. type: integer
  25304. - description: 协议编号(模糊匹配)
  25305. in: query
  25306. name: agreementno
  25307. type: string
  25308. - description: 协议名称(模糊匹配)
  25309. in: query
  25310. name: agreementname
  25311. type: string
  25312. produces:
  25313. - application/json
  25314. responses:
  25315. "200":
  25316. description: OK
  25317. schema:
  25318. items:
  25319. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  25320. type: array
  25321. "500":
  25322. description: Internal Server Error
  25323. schema:
  25324. $ref: '#/definitions/app.Response'
  25325. security:
  25326. - ApiKeyAuth: []
  25327. summary: 查询协议节点配置
  25328. tags:
  25329. - 大连千海金(协议和签约信息)
  25330. /QhjSys/QueryQhjCustomerSignLog:
  25331. get:
  25332. parameters:
  25333. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  25334. in: query
  25335. name: logid
  25336. type: integer
  25337. - description: 客户ID
  25338. in: query
  25339. name: userid
  25340. type: integer
  25341. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  25342. in: query
  25343. name: nodetype
  25344. type: integer
  25345. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25346. in: query
  25347. name: goodsid
  25348. type: integer
  25349. - description: 协议ID
  25350. in: query
  25351. name: agreementid
  25352. type: integer
  25353. - description: 用户名称(模糊匹配)
  25354. in: query
  25355. name: username
  25356. type: string
  25357. - description: 协议编号(模糊匹配)
  25358. in: query
  25359. name: agreementno
  25360. type: string
  25361. - description: 协议名称(模糊匹配)
  25362. in: query
  25363. name: agreementname
  25364. type: string
  25365. produces:
  25366. - application/json
  25367. responses:
  25368. "200":
  25369. description: OK
  25370. schema:
  25371. items:
  25372. $ref: '#/definitions/models.QhjCustomerSignLog'
  25373. type: array
  25374. "500":
  25375. description: Internal Server Error
  25376. schema:
  25377. $ref: '#/definitions/app.Response'
  25378. security:
  25379. - ApiKeyAuth: []
  25380. summary: 查询客户协议签约流水
  25381. tags:
  25382. - 大连千海金(协议和签约信息)
  25383. /QhjSys/QueryUserNodeCfgAndStatus:
  25384. get:
  25385. parameters:
  25386. - description: 客户ID
  25387. in: query
  25388. name: userid
  25389. type: integer
  25390. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  25391. in: query
  25392. name: configid
  25393. type: integer
  25394. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  25395. in: query
  25396. name: nodetype
  25397. type: string
  25398. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25399. in: query
  25400. name: goodsid
  25401. type: integer
  25402. - description: 协议ID
  25403. in: query
  25404. name: agreementid
  25405. type: integer
  25406. - description: 协议类型 - 1:注册 2:登录 3:交易
  25407. in: query
  25408. name: agreementtype
  25409. type: integer
  25410. - description: 协议版本号
  25411. in: query
  25412. name: agreementversion
  25413. type: integer
  25414. - description: 协议编号(模糊匹配)
  25415. in: query
  25416. name: agreementno
  25417. type: string
  25418. - description: 协议名称(模糊匹配)
  25419. in: query
  25420. name: agreementname
  25421. type: string
  25422. produces:
  25423. - application/json
  25424. responses:
  25425. "200":
  25426. description: OK
  25427. schema:
  25428. items:
  25429. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  25430. type: array
  25431. "500":
  25432. description: Internal Server Error
  25433. schema:
  25434. $ref: '#/definitions/app.Response'
  25435. security:
  25436. - ApiKeyAuth: []
  25437. summary: 查询用户协议节点配置和状态
  25438. tags:
  25439. - 大连千海金(协议和签约信息)
  25440. /Quote/QueryHistoryDatas:
  25441. get:
  25442. parameters:
  25443. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线'
  25444. in: query
  25445. name: cycleType
  25446. required: true
  25447. type: integer
  25448. - description: 商品代码
  25449. in: query
  25450. name: goodsCode
  25451. required: true
  25452. type: string
  25453. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  25454. in: query
  25455. name: startTime
  25456. type: string
  25457. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  25458. in: query
  25459. name: endTime
  25460. type: string
  25461. - description: 条数
  25462. in: query
  25463. name: count
  25464. type: integer
  25465. - description: 是否按时间顺序排序(默认为时间倒序排序)
  25466. in: query
  25467. name: isAsc
  25468. type: boolean
  25469. produces:
  25470. - application/json
  25471. responses:
  25472. "200":
  25473. description: OK
  25474. schema:
  25475. $ref: '#/definitions/quote.HistoryData'
  25476. "500":
  25477. description: Internal Server Error
  25478. schema:
  25479. $ref: '#/definitions/app.Response'
  25480. security:
  25481. - ApiKeyAuth: []
  25482. summary: 查询行情历史数据
  25483. tags:
  25484. - 行情服务
  25485. /Quote/QueryHistoryTikDatas:
  25486. get:
  25487. parameters:
  25488. - description: 商品代码
  25489. in: query
  25490. name: goodsCode
  25491. required: true
  25492. type: string
  25493. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  25494. in: query
  25495. name: startTime
  25496. type: string
  25497. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  25498. in: query
  25499. name: endTime
  25500. type: string
  25501. - description: 条数
  25502. in: query
  25503. name: count
  25504. type: integer
  25505. - description: 是否按时间顺序排序(默认为时间倒序排序)
  25506. in: query
  25507. name: isAsc
  25508. type: boolean
  25509. produces:
  25510. - application/json
  25511. responses:
  25512. "200":
  25513. description: OK
  25514. schema:
  25515. $ref: '#/definitions/quote.HistoryTikData'
  25516. "500":
  25517. description: Internal Server Error
  25518. schema:
  25519. $ref: '#/definitions/app.Response'
  25520. security:
  25521. - ApiKeyAuth: []
  25522. summary: 查询行情Tik数据
  25523. tags:
  25524. - 行情服务
  25525. /Quote/QueryQuoteDay:
  25526. get:
  25527. parameters:
  25528. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  25529. in: query
  25530. name: goodsCodes
  25531. required: true
  25532. type: string
  25533. produces:
  25534. - application/json
  25535. responses:
  25536. "200":
  25537. description: OK
  25538. schema:
  25539. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  25540. "500":
  25541. description: Internal Server Error
  25542. schema:
  25543. $ref: '#/definitions/app.Response'
  25544. security:
  25545. - ApiKeyAuth: []
  25546. summary: 获取商品盘面信息
  25547. tags:
  25548. - 行情服务
  25549. /Quote/QueryTSData:
  25550. get:
  25551. parameters:
  25552. - description: 商品代码
  25553. in: query
  25554. name: goodsCode
  25555. required: true
  25556. type: string
  25557. produces:
  25558. - application/json
  25559. responses:
  25560. "200":
  25561. description: OK
  25562. schema:
  25563. $ref: '#/definitions/quote.QueryTSDataRsp'
  25564. "500":
  25565. description: Internal Server Error
  25566. schema:
  25567. $ref: '#/definitions/app.Response'
  25568. security:
  25569. - ApiKeyAuth: []
  25570. summary: 分时图数据查询
  25571. tags:
  25572. - 行情服务
  25573. /SZDZ/QueryConvertConfig:
  25574. get:
  25575. parameters:
  25576. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)
  25577. in: query
  25578. name: convertType
  25579. type: integer
  25580. - description: 外部商品代码[JD\PD]
  25581. in: query
  25582. name: outerGoodsCode
  25583. type: string
  25584. - description: 内部商品ID列表[交易],格式:1,2,3
  25585. in: query
  25586. name: innerGoodsIDs
  25587. type: string
  25588. produces:
  25589. - application/json
  25590. responses:
  25591. "200":
  25592. description: OK
  25593. schema:
  25594. $ref: '#/definitions/models.Szdz3convertconfig'
  25595. "500":
  25596. description: Internal Server Error
  25597. schema:
  25598. $ref: '#/definitions/app.Response'
  25599. security:
  25600. - ApiKeyAuth: []
  25601. summary: 查询交易系统转换设置
  25602. tags:
  25603. - 定制【尚志大宗】
  25604. /SZDZ/QueryConvertLog:
  25605. get:
  25606. parameters:
  25607. - description: 资金账户 - 格式:1,2,3
  25608. in: query
  25609. name: accountID
  25610. required: true
  25611. type: string
  25612. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  25613. in: query
  25614. name: startDate
  25615. type: string
  25616. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  25617. in: query
  25618. name: endDate
  25619. type: string
  25620. produces:
  25621. - application/json
  25622. responses:
  25623. "200":
  25624. description: OK
  25625. schema:
  25626. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  25627. "500":
  25628. description: Internal Server Error
  25629. schema:
  25630. $ref: '#/definitions/app.Response'
  25631. security:
  25632. - ApiKeyAuth: []
  25633. summary: 交易系统转换流水查询
  25634. tags:
  25635. - 定制【尚志大宗】
  25636. /SZDZ/QueryGoodsPickup:
  25637. get:
  25638. parameters:
  25639. - description: 资金账户 - 格式:1,2,3
  25640. in: query
  25641. name: accountID
  25642. required: true
  25643. type: string
  25644. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  25645. in: query
  25646. name: takeOrderStatus
  25647. type: integer
  25648. produces:
  25649. - application/json
  25650. responses:
  25651. "200":
  25652. description: OK
  25653. schema:
  25654. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  25655. "500":
  25656. description: Internal Server Error
  25657. schema:
  25658. $ref: '#/definitions/app.Response'
  25659. security:
  25660. - ApiKeyAuth: []
  25661. summary: 商品提货单查询
  25662. tags:
  25663. - 定制【尚志大宗】
  25664. /SZDZ/QueryRecieptOrder:
  25665. get:
  25666. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  25667. parameters:
  25668. - description: 页码
  25669. in: query
  25670. name: page
  25671. type: integer
  25672. - description: 每页条数
  25673. in: query
  25674. name: pagesize
  25675. type: integer
  25676. - description: 商品ID
  25677. in: query
  25678. name: goodsID
  25679. required: true
  25680. type: integer
  25681. - description: 所属账户名称
  25682. in: query
  25683. name: accountName
  25684. type: string
  25685. - description: 市场ID
  25686. in: query
  25687. name: marketID
  25688. type: integer
  25689. - description: 方向 - 0:买 1:卖
  25690. in: query
  25691. name: buyorsell
  25692. required: true
  25693. type: integer
  25694. produces:
  25695. - application/json
  25696. responses:
  25697. "200":
  25698. description: OK
  25699. schema:
  25700. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  25701. "500":
  25702. description: Internal Server Error
  25703. schema:
  25704. $ref: '#/definitions/app.Response'
  25705. security:
  25706. - ApiKeyAuth: []
  25707. summary: 点选挂牌委托单据查询(摘牌大厅)
  25708. tags:
  25709. - 定制【尚志大宗】
  25710. /SZDZ/QuerySZDZTradePosition:
  25711. get:
  25712. parameters:
  25713. - description: 资金账户
  25714. in: query
  25715. name: accountID
  25716. required: true
  25717. type: integer
  25718. produces:
  25719. - application/json
  25720. responses:
  25721. "200":
  25722. description: OK
  25723. schema:
  25724. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  25725. "500":
  25726. description: Internal Server Error
  25727. schema:
  25728. $ref: '#/definitions/app.Response'
  25729. security:
  25730. - ApiKeyAuth: []
  25731. summary: 持仓汇总查询(尚志大宗)
  25732. tags:
  25733. - 定制【尚志大宗】
  25734. /SZDZ/SearchWhite:
  25735. get:
  25736. parameters:
  25737. - description: 用户ID
  25738. in: query
  25739. name: userID
  25740. required: true
  25741. type: integer
  25742. produces:
  25743. - application/json
  25744. responses:
  25745. "200":
  25746. description: OK
  25747. schema:
  25748. $ref: '#/definitions/models.Szdz3searchwhitelist'
  25749. "500":
  25750. description: Internal Server Error
  25751. schema:
  25752. $ref: '#/definitions/app.Response'
  25753. security:
  25754. - ApiKeyAuth: []
  25755. summary: 搜索白名单
  25756. tags:
  25757. - 定制【尚志大宗】
  25758. /Search/SearchGoodses:
  25759. get:
  25760. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  25761. parameters:
  25762. - description: 检索内容
  25763. in: query
  25764. name: content
  25765. required: true
  25766. type: string
  25767. - description: 交易模式,格式:1,2,3
  25768. in: query
  25769. name: tradeModes
  25770. type: string
  25771. produces:
  25772. - application/json
  25773. responses:
  25774. "200":
  25775. description: OK
  25776. schema:
  25777. $ref: '#/definitions/models.SearchGoods'
  25778. "500":
  25779. description: Internal Server Error
  25780. schema:
  25781. $ref: '#/definitions/app.Response'
  25782. summary: 检索商品信息
  25783. tags:
  25784. - 检索服务
  25785. /TaAccount/GetTaAccounts:
  25786. get:
  25787. parameters:
  25788. - description: 登录账户
  25789. in: query
  25790. name: loginID
  25791. required: true
  25792. type: integer
  25793. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  25794. in: query
  25795. name: taAccountType
  25796. type: integer
  25797. produces:
  25798. - application/json
  25799. responses:
  25800. "200":
  25801. description: OK
  25802. schema:
  25803. $ref: '#/definitions/models.Taaccount'
  25804. "500":
  25805. description: Internal Server Error
  25806. schema:
  25807. $ref: '#/definitions/app.Response'
  25808. security:
  25809. - ApiKeyAuth: []
  25810. summary: 获取资金账户信息
  25811. tags:
  25812. - 资金账户
  25813. /TaAccount/QueryAmountLog:
  25814. get:
  25815. parameters:
  25816. - description: 页码
  25817. in: query
  25818. name: page
  25819. type: integer
  25820. - description: 每页条数
  25821. in: query
  25822. name: pagesize
  25823. type: integer
  25824. - description: 资金账户 - 格式:1,2,3
  25825. in: query
  25826. name: accountID
  25827. required: true
  25828. type: string
  25829. - description: 资金操作类型 - 格式:1,2,3
  25830. in: query
  25831. name: OperateType
  25832. type: string
  25833. produces:
  25834. - application/json
  25835. responses:
  25836. "200":
  25837. description: OK
  25838. schema:
  25839. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  25840. "500":
  25841. description: Internal Server Error
  25842. schema:
  25843. $ref: '#/definitions/app.Response'
  25844. security:
  25845. - ApiKeyAuth: []
  25846. summary: 资金流水查询(当前)
  25847. tags:
  25848. - 资金账户
  25849. /TaAccount/QueryHisAmountLog:
  25850. get:
  25851. parameters:
  25852. - description: 页码
  25853. in: query
  25854. name: page
  25855. type: integer
  25856. - description: 每页条数
  25857. in: query
  25858. name: pagesize
  25859. type: integer
  25860. - description: 资金账户 - 格式:1,2,3
  25861. in: query
  25862. name: accountID
  25863. required: true
  25864. type: string
  25865. - description: 资金操作类型 - 格式:1,2,3
  25866. in: query
  25867. name: OperateType
  25868. type: string
  25869. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  25870. in: query
  25871. name: startDate
  25872. type: string
  25873. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  25874. in: query
  25875. name: endDate
  25876. type: string
  25877. produces:
  25878. - application/json
  25879. responses:
  25880. "200":
  25881. description: OK
  25882. schema:
  25883. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  25884. "500":
  25885. description: Internal Server Error
  25886. schema:
  25887. $ref: '#/definitions/app.Response'
  25888. security:
  25889. - ApiKeyAuth: []
  25890. summary: 资金流水查询(历史)
  25891. tags:
  25892. - 资金账户
  25893. /Tjmd/QueryQuoteGoodsList:
  25894. get:
  25895. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  25896. parameters:
  25897. - description: 用户类型
  25898. in: query
  25899. name: usertype
  25900. required: true
  25901. type: integer
  25902. - description: 市场id, 格式 1,2,3
  25903. in: query
  25904. name: marketids
  25905. type: string
  25906. - description: 商品组id
  25907. in: query
  25908. name: goodsgroupid
  25909. type: integer
  25910. - description: 商品id
  25911. in: query
  25912. name: goodsid
  25913. type: integer
  25914. produces:
  25915. - application/json
  25916. responses:
  25917. "200":
  25918. description: OK
  25919. schema:
  25920. items:
  25921. $ref: '#/definitions/models.TjmdQuoteGoods'
  25922. type: array
  25923. "500":
  25924. description: Internal Server Error
  25925. schema:
  25926. $ref: '#/definitions/app.Response'
  25927. security:
  25928. - ApiKeyAuth: []
  25929. summary: 查询掉期报价列表
  25930. tags:
  25931. - 天津麦顿
  25932. /Tjmd/QueryTjmdTodayAccountMargin:
  25933. get:
  25934. parameters:
  25935. - description: 市场id
  25936. in: query
  25937. name: marketid
  25938. type: string
  25939. - description: 商品id
  25940. in: query
  25941. name: goodsid
  25942. type: string
  25943. - description: 资金账号
  25944. in: query
  25945. name: accountid
  25946. type: string
  25947. produces:
  25948. - application/json
  25949. responses:
  25950. "200":
  25951. description: OK
  25952. schema:
  25953. items:
  25954. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  25955. type: array
  25956. "500":
  25957. description: Internal Server Error
  25958. schema:
  25959. $ref: '#/definitions/app.Response'
  25960. security:
  25961. - ApiKeyAuth: []
  25962. summary: 查询今日账户保证金配置
  25963. tags:
  25964. - 天津麦顿
  25965. /Tjmd/QueryTjmdTradeOrderDetail:
  25966. get:
  25967. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  25968. parameters:
  25969. - description: 页码
  25970. in: query
  25971. name: page
  25972. type: integer
  25973. - description: 每页条数
  25974. in: query
  25975. name: pagesize
  25976. type: integer
  25977. - description: 用户id
  25978. in: query
  25979. name: userid
  25980. required: true
  25981. type: integer
  25982. - description: 用户类型
  25983. in: query
  25984. name: usertype
  25985. required: true
  25986. type: integer
  25987. - description: 市场id, 格式 1,2,3
  25988. in: query
  25989. name: marketids
  25990. type: string
  25991. - description: 商品id
  25992. in: query
  25993. name: goodsid
  25994. required: true
  25995. type: integer
  25996. - description: 买卖方向 0-买 1-卖
  25997. in: query
  25998. name: buyorsell
  25999. required: true
  26000. type: integer
  26001. produces:
  26002. - application/json
  26003. responses:
  26004. "200":
  26005. description: OK
  26006. schema:
  26007. items:
  26008. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  26009. type: array
  26010. "500":
  26011. description: Internal Server Error
  26012. schema:
  26013. $ref: '#/definitions/app.Response'
  26014. security:
  26015. - ApiKeyAuth: []
  26016. summary: 查询掉期买卖大厅
  26017. tags:
  26018. - 天津麦顿
  26019. /Tjmd/QueryTjmdTransferApply:
  26020. get:
  26021. parameters:
  26022. - description: 类型 1-我的申请 2-对方申请
  26023. in: query
  26024. name: applytype
  26025. required: true
  26026. type: integer
  26027. - description: 市场id, 格式 1,2,3
  26028. in: query
  26029. name: marketids
  26030. type: string
  26031. - description: 资金账号, 格式 25000000001,25000000003
  26032. in: query
  26033. name: accountids
  26034. type: string
  26035. produces:
  26036. - application/json
  26037. responses:
  26038. "200":
  26039. description: OK
  26040. schema:
  26041. items:
  26042. $ref: '#/definitions/models.TjmdTransferApply'
  26043. type: array
  26044. "500":
  26045. description: Internal Server Error
  26046. schema:
  26047. $ref: '#/definitions/app.Response'
  26048. security:
  26049. - ApiKeyAuth: []
  26050. summary: 查询掉期协议单
  26051. tags:
  26052. - 天津麦顿
  26053. /Trade/QueryRecieptOrder:
  26054. get:
  26055. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  26056. parameters:
  26057. - description: 页码
  26058. in: query
  26059. name: page
  26060. type: integer
  26061. - description: 每页条数
  26062. in: query
  26063. name: pagesize
  26064. type: integer
  26065. - description: 商品ID
  26066. in: query
  26067. name: goodsID
  26068. required: true
  26069. type: integer
  26070. - description: 所属账户名称
  26071. in: query
  26072. name: accountName
  26073. type: string
  26074. - description: 市场ID
  26075. in: query
  26076. name: marketID
  26077. type: integer
  26078. - description: 方向 - 0:买 1:卖
  26079. in: query
  26080. name: buyorsell
  26081. required: true
  26082. type: integer
  26083. produces:
  26084. - application/json
  26085. responses:
  26086. "200":
  26087. description: OK
  26088. schema:
  26089. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  26090. "500":
  26091. description: Internal Server Error
  26092. schema:
  26093. $ref: '#/definitions/app.Response'
  26094. security:
  26095. - ApiKeyAuth: []
  26096. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  26097. tags:
  26098. - 通用交易
  26099. /User/AddMessageBoard:
  26100. post:
  26101. parameters:
  26102. - description: 用户ID
  26103. in: query
  26104. name: userID
  26105. required: true
  26106. type: integer
  26107. - description: 留言信息
  26108. in: query
  26109. name: message
  26110. required: true
  26111. type: string
  26112. - description: 联系电话
  26113. in: query
  26114. name: contactNum
  26115. required: true
  26116. type: string
  26117. produces:
  26118. - application/json
  26119. responses:
  26120. "200":
  26121. description: OK
  26122. schema:
  26123. $ref: '#/definitions/app.Response'
  26124. "500":
  26125. description: Internal Server Error
  26126. schema:
  26127. $ref: '#/definitions/app.Response'
  26128. security:
  26129. - ApiKeyAuth: []
  26130. summary: 添加用户留言板信息
  26131. tags:
  26132. - 用户信息
  26133. /User/AddUserFavoriteGoods:
  26134. post:
  26135. parameters:
  26136. - description: 用户ID
  26137. in: query
  26138. name: userID
  26139. required: true
  26140. type: integer
  26141. - description: 商品ID
  26142. in: query
  26143. name: goodsID
  26144. required: true
  26145. type: integer
  26146. produces:
  26147. - application/json
  26148. responses:
  26149. "200":
  26150. description: OK
  26151. schema:
  26152. $ref: '#/definitions/app.Response'
  26153. "500":
  26154. description: Internal Server Error
  26155. schema:
  26156. $ref: '#/definitions/app.Response'
  26157. security:
  26158. - ApiKeyAuth: []
  26159. summary: 添加用户商品收藏信息
  26160. tags:
  26161. - 用户信息
  26162. /User/GetLoginID:
  26163. get:
  26164. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  26165. parameters:
  26166. - description: 登录代码
  26167. in: query
  26168. name: username
  26169. required: true
  26170. type: string
  26171. produces:
  26172. - application/json
  26173. responses:
  26174. "200":
  26175. description: OK
  26176. schema:
  26177. $ref: '#/definitions/app.Response'
  26178. "500":
  26179. description: Internal Server Error
  26180. schema:
  26181. $ref: '#/definitions/app.Response'
  26182. summary: 获取登录ID
  26183. tags:
  26184. - 用户信息
  26185. /User/GetUserAccount:
  26186. get:
  26187. parameters:
  26188. - description: 用户ID
  26189. in: query
  26190. name: userID
  26191. required: true
  26192. type: integer
  26193. produces:
  26194. - application/json
  26195. responses:
  26196. "200":
  26197. description: OK
  26198. schema:
  26199. $ref: '#/definitions/models.Useraccount'
  26200. "500":
  26201. description: Internal Server Error
  26202. schema:
  26203. $ref: '#/definitions/app.Response'
  26204. security:
  26205. - ApiKeyAuth: []
  26206. summary: 获取用户账号信息
  26207. tags:
  26208. - 用户信息
  26209. /User/GetUserAuthStatus:
  26210. get:
  26211. parameters:
  26212. - description: 用户ID
  26213. in: query
  26214. name: userID
  26215. required: true
  26216. type: integer
  26217. produces:
  26218. - application/json
  26219. responses:
  26220. "200":
  26221. description: OK
  26222. schema:
  26223. $ref: '#/definitions/app.Response'
  26224. "500":
  26225. description: Internal Server Error
  26226. schema:
  26227. $ref: '#/definitions/app.Response'
  26228. security:
  26229. - ApiKeyAuth: []
  26230. summary: 获取用户实名认证状态
  26231. tags:
  26232. - 用户信息
  26233. /User/LoginQuery:
  26234. get:
  26235. parameters:
  26236. - description: 登录账号
  26237. in: query
  26238. name: loginID
  26239. required: true
  26240. type: integer
  26241. produces:
  26242. - application/json
  26243. responses:
  26244. "200":
  26245. description: OK
  26246. schema:
  26247. $ref: '#/definitions/user.LoginQueryRsp'
  26248. "500":
  26249. description: Internal Server Error
  26250. schema:
  26251. $ref: '#/definitions/app.Response'
  26252. security:
  26253. - ApiKeyAuth: []
  26254. summary: 账户登录后信息查询
  26255. tags:
  26256. - 用户信息
  26257. /User/QueryMessageBoard:
  26258. get:
  26259. parameters:
  26260. - description: 用户ID
  26261. in: query
  26262. name: userID
  26263. required: true
  26264. type: integer
  26265. produces:
  26266. - application/json
  26267. responses:
  26268. "200":
  26269. description: OK
  26270. schema:
  26271. $ref: '#/definitions/models.Messageboard'
  26272. "500":
  26273. description: Internal Server Error
  26274. schema:
  26275. $ref: '#/definitions/app.Response'
  26276. security:
  26277. - ApiKeyAuth: []
  26278. summary: 获取用户留言板信息
  26279. tags:
  26280. - 用户信息
  26281. /User/QueryUserFavoriteGoodses:
  26282. get:
  26283. parameters:
  26284. - description: 用户ID
  26285. in: query
  26286. name: userID
  26287. required: true
  26288. type: integer
  26289. produces:
  26290. - application/json
  26291. responses:
  26292. "200":
  26293. description: OK
  26294. schema:
  26295. $ref: '#/definitions/models.Userfavoritegoods'
  26296. "500":
  26297. description: Internal Server Error
  26298. schema:
  26299. $ref: '#/definitions/app.Response'
  26300. security:
  26301. - ApiKeyAuth: []
  26302. summary: 获取用户商品收藏信息
  26303. tags:
  26304. - 用户信息
  26305. /User/QueryUserInfo:
  26306. get:
  26307. parameters:
  26308. - description: 用户ID
  26309. in: query
  26310. name: userID
  26311. required: true
  26312. type: integer
  26313. - description: 是否解密
  26314. in: query
  26315. name: isDecrypt
  26316. type: boolean
  26317. produces:
  26318. - application/json
  26319. responses:
  26320. "200":
  26321. description: OK
  26322. schema:
  26323. $ref: '#/definitions/models.Userinfo'
  26324. "500":
  26325. description: Internal Server Error
  26326. schema:
  26327. $ref: '#/definitions/app.Response'
  26328. security:
  26329. - ApiKeyAuth: []
  26330. summary: 获取用户信息
  26331. tags:
  26332. - 用户信息
  26333. /User/QueryUserReferNum:
  26334. get:
  26335. parameters:
  26336. - description: 用户ID
  26337. in: query
  26338. name: userID
  26339. required: true
  26340. type: integer
  26341. produces:
  26342. - application/json
  26343. responses:
  26344. "200":
  26345. description: OK
  26346. schema:
  26347. $ref: '#/definitions/app.Response'
  26348. "500":
  26349. description: Internal Server Error
  26350. schema:
  26351. $ref: '#/definitions/app.Response'
  26352. summary: 获取用户邀请码
  26353. tags:
  26354. - 用户信息
  26355. /User/RemoveUserFavoriteGoods:
  26356. post:
  26357. parameters:
  26358. - description: 用户ID
  26359. in: query
  26360. name: userID
  26361. required: true
  26362. type: integer
  26363. - description: 商品ID
  26364. in: query
  26365. name: goodsID
  26366. required: true
  26367. type: integer
  26368. produces:
  26369. - application/json
  26370. responses:
  26371. "200":
  26372. description: OK
  26373. schema:
  26374. $ref: '#/definitions/app.Response'
  26375. "500":
  26376. description: Internal Server Error
  26377. schema:
  26378. $ref: '#/definitions/app.Response'
  26379. security:
  26380. - ApiKeyAuth: []
  26381. summary: 移除用户商品收藏信息
  26382. tags:
  26383. - 用户信息
  26384. /User/UpdateUserAccountStatus:
  26385. post:
  26386. parameters:
  26387. - description: 用户ID
  26388. in: query
  26389. name: userID
  26390. required: true
  26391. type: integer
  26392. - description: 账户状态 - 4:正常 6:注销(停用)
  26393. in: query
  26394. name: accountStatus
  26395. required: true
  26396. type: integer
  26397. produces:
  26398. - application/json
  26399. responses:
  26400. "200":
  26401. description: OK
  26402. schema:
  26403. $ref: '#/definitions/app.Response'
  26404. "500":
  26405. description: Internal Server Error
  26406. schema:
  26407. $ref: '#/definitions/app.Response'
  26408. security:
  26409. - ApiKeyAuth: []
  26410. summary: 更新用户状态
  26411. tags:
  26412. - 用户信息
  26413. /WRTrade/GetAllDeliveryGoods:
  26414. get:
  26415. produces:
  26416. - application/json
  26417. - application/json
  26418. responses:
  26419. "200":
  26420. description: OK
  26421. schema:
  26422. $ref: '#/definitions/app.Response'
  26423. "500":
  26424. description: Internal Server Error
  26425. schema:
  26426. $ref: '#/definitions/app.Response'
  26427. security:
  26428. - ApiKeyAuth: []
  26429. - ApiKeyAuth: []
  26430. summary: 获取带仓单分类的种类信息
  26431. tags:
  26432. - 仓单贸易
  26433. - 仓单贸易
  26434. /WrTrade2/QueryDeliveryGoodsSection:
  26435. get:
  26436. produces:
  26437. - application/json
  26438. responses:
  26439. "200":
  26440. description: OK
  26441. schema:
  26442. items:
  26443. $ref: '#/definitions/models.WrDeliveryGoodsSection'
  26444. type: array
  26445. "500":
  26446. description: Internal Server Error
  26447. schema:
  26448. $ref: '#/definitions/app.Response'
  26449. security:
  26450. - ApiKeyAuth: []
  26451. summary: 查询板块(分类)
  26452. tags:
  26453. - 仓单贸易v2
  26454. /WrTrade2/QueryFaProductDetail:
  26455. get:
  26456. description: 页面 买卖大厅 -> 选择融资方案
  26457. parameters:
  26458. - description: 仓单要素id
  26459. in: query
  26460. name: wrfactortypeid
  26461. required: true
  26462. type: integer
  26463. produces:
  26464. - application/json
  26465. responses:
  26466. "200":
  26467. description: OK
  26468. schema:
  26469. items:
  26470. $ref: '#/definitions/models.WrFAProductDetail'
  26471. type: array
  26472. "500":
  26473. description: Internal Server Error
  26474. schema:
  26475. $ref: '#/definitions/app.Response'
  26476. security:
  26477. - ApiKeyAuth: []
  26478. summary: 查询融资产品列表
  26479. tags:
  26480. - 仓单贸易v2
  26481. /WrTrade2/QueryFilterItem:
  26482. get:
  26483. parameters:
  26484. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  26485. in: query
  26486. name: itype
  26487. required: true
  26488. type: string
  26489. produces:
  26490. - application/json
  26491. responses:
  26492. "200":
  26493. description: OK
  26494. schema:
  26495. items:
  26496. $ref: '#/definitions/models.WrFilterItem'
  26497. type: array
  26498. "500":
  26499. description: Internal Server Error
  26500. schema:
  26501. $ref: '#/definitions/app.Response'
  26502. security:
  26503. - ApiKeyAuth: []
  26504. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  26505. tags:
  26506. - 仓单贸易v2
  26507. /WrTrade2/QueryFtDeliveryGoods:
  26508. get:
  26509. produces:
  26510. - application/json
  26511. responses:
  26512. "200":
  26513. description: OK
  26514. schema:
  26515. items:
  26516. $ref: '#/definitions/models.WrFtDeliveryGoods'
  26517. type: array
  26518. "500":
  26519. description: Internal Server Error
  26520. schema:
  26521. $ref: '#/definitions/app.Response'
  26522. security:
  26523. - ApiKeyAuth: []
  26524. summary: 查询品种品类筛选框列表
  26525. tags:
  26526. - 仓单贸易v2
  26527. /WrTrade2/QueryHoldLB:
  26528. get:
  26529. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  26530. parameters:
  26531. - description: 资金账号
  26532. in: query
  26533. name: accountid
  26534. required: true
  26535. type: integer
  26536. - description: 仓库id
  26537. in: query
  26538. name: warehouseid
  26539. type: integer
  26540. - description: 品种id
  26541. in: query
  26542. name: deliverygoodsid
  26543. type: integer
  26544. - description: 品类id
  26545. in: query
  26546. name: wrstandardid
  26547. type: integer
  26548. - description: 仓单要素id
  26549. in: query
  26550. name: wrfactortypeid
  26551. type: integer
  26552. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  26553. in: query
  26554. name: dgitemname
  26555. type: string
  26556. produces:
  26557. - application/json
  26558. responses:
  26559. "200":
  26560. description: OK
  26561. schema:
  26562. items:
  26563. $ref: '#/definitions/models.WrHoldLB'
  26564. type: array
  26565. "500":
  26566. description: Internal Server Error
  26567. schema:
  26568. $ref: '#/definitions/app.Response'
  26569. security:
  26570. - ApiKeyAuth: []
  26571. summary: 查询仓单持有记录
  26572. tags:
  26573. - 仓单贸易v2
  26574. /WrTrade2/QueryOrderQuote:
  26575. get:
  26576. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth 唯一确定1条记录
  26577. parameters:
  26578. - description: 页码
  26579. in: query
  26580. name: page
  26581. type: integer
  26582. - description: 每页条数
  26583. in: query
  26584. name: pagesize
  26585. type: integer
  26586. - description: 仓单贸易市场id
  26587. in: query
  26588. name: marketid
  26589. type: integer
  26590. - description: 价格方式 - 1:固定价 2-浮动价
  26591. in: query
  26592. name: wrpricetype
  26593. required: true
  26594. type: integer
  26595. - description: 0:仓单预售 1:仓单贸易
  26596. in: query
  26597. name: haswr
  26598. required: true
  26599. type: integer
  26600. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  26601. in: query
  26602. name: dgitemname
  26603. type: string
  26604. - description: 仓库id(筛选条件)
  26605. in: query
  26606. name: warehouseid
  26607. type: integer
  26608. - description: 品种id
  26609. in: query
  26610. name: deliverygoodsid
  26611. type: integer
  26612. - description: 品类id
  26613. in: query
  26614. name: wrstandardid
  26615. type: integer
  26616. - description: 仓单要素id
  26617. in: query
  26618. name: wrfactortypeid
  26619. type: integer
  26620. - description: 交收月(yyyy-mm) 仓单预售填写
  26621. in: query
  26622. name: deliverymonth
  26623. type: string
  26624. produces:
  26625. - application/json
  26626. responses:
  26627. "200":
  26628. description: OK
  26629. schema:
  26630. items:
  26631. $ref: '#/definitions/models.WrOrderQuote'
  26632. type: array
  26633. "500":
  26634. description: Internal Server Error
  26635. schema:
  26636. $ref: '#/definitions/app.Response'
  26637. security:
  26638. - ApiKeyAuth: []
  26639. summary: 查询大厅行情列表
  26640. tags:
  26641. - 仓单贸易v2
  26642. /WrTrade2/QueryOrderQuoteDetail:
  26643. get:
  26644. parameters:
  26645. - description: 页码
  26646. in: query
  26647. name: page
  26648. type: integer
  26649. - description: 每页条数
  26650. in: query
  26651. name: pagesize
  26652. type: integer
  26653. - description: 仓单贸易市场id
  26654. in: query
  26655. name: marketid
  26656. type: integer
  26657. - description: 价格方式 - 1:固定价 2-浮动价
  26658. in: query
  26659. name: wrpricetype
  26660. required: true
  26661. type: integer
  26662. - description: 0:仓单预售 1:仓单贸易
  26663. in: query
  26664. name: haswr
  26665. required: true
  26666. type: integer
  26667. - description: 仓单要素id
  26668. in: query
  26669. name: wrfactortypeid
  26670. required: true
  26671. type: integer
  26672. - description: 期货商品id(浮动价方式时填)
  26673. in: query
  26674. name: goodsid
  26675. type: integer
  26676. - description: 买卖方向 0-买 1-卖
  26677. in: query
  26678. name: buyorsell
  26679. required: true
  26680. type: integer
  26681. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  26682. in: query
  26683. name: deliverymonth
  26684. type: string
  26685. produces:
  26686. - application/json
  26687. responses:
  26688. "200":
  26689. description: OK
  26690. schema:
  26691. items:
  26692. $ref: '#/definitions/models.WrOrderQuoteDetail'
  26693. type: array
  26694. "500":
  26695. description: Internal Server Error
  26696. schema:
  26697. $ref: '#/definitions/app.Response'
  26698. security:
  26699. - ApiKeyAuth: []
  26700. summary: 查询买卖大厅
  26701. tags:
  26702. - 仓单贸易v2
  26703. /WrTrade2/QueryOrderQuoteMyq:
  26704. get:
  26705. parameters:
  26706. - description: 页码
  26707. in: query
  26708. name: page
  26709. type: integer
  26710. - description: 每页条数
  26711. in: query
  26712. name: pagesize
  26713. type: integer
  26714. - description: 用户id
  26715. in: query
  26716. name: userid
  26717. required: true
  26718. type: integer
  26719. - description: 仓单贸易市场id
  26720. in: query
  26721. name: marketid
  26722. type: integer
  26723. - description: 0:仓单预售 1:仓单贸易
  26724. in: query
  26725. name: haswr
  26726. required: true
  26727. type: integer
  26728. - description: 买卖方向 0-买 1-卖
  26729. in: query
  26730. name: buyorsell
  26731. required: true
  26732. type: integer
  26733. - description: 品种id
  26734. in: query
  26735. name: deliverygoodsid
  26736. type: integer
  26737. - description: 品类id
  26738. in: query
  26739. name: wrstandardid
  26740. type: integer
  26741. - description: 交收月(yyyy-mm) 仓单预售填写
  26742. in: query
  26743. name: deliverymonth
  26744. type: string
  26745. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  26746. in: query
  26747. name: dgitemname
  26748. type: string
  26749. produces:
  26750. - application/json
  26751. responses:
  26752. "200":
  26753. description: OK
  26754. schema:
  26755. items:
  26756. $ref: '#/definitions/models.WrQuoteOrderMyq'
  26757. type: array
  26758. "500":
  26759. description: Internal Server Error
  26760. schema:
  26761. $ref: '#/definitions/app.Response'
  26762. security:
  26763. - ApiKeyAuth: []
  26764. summary: 查询贸易圈挂牌大厅
  26765. tags:
  26766. - 仓单贸易v2
  26767. /WrTrade2/QueryPerformancePlan:
  26768. get:
  26769. parameters:
  26770. - description: 用户id
  26771. in: query
  26772. name: userid
  26773. required: true
  26774. type: integer
  26775. - description: 买卖方向 0-买 1-卖
  26776. in: query
  26777. name: buyorsell
  26778. required: true
  26779. type: integer
  26780. produces:
  26781. - application/json
  26782. responses:
  26783. "200":
  26784. description: OK
  26785. schema:
  26786. items:
  26787. $ref: '#/definitions/models.WrPerformancePlan'
  26788. type: array
  26789. "500":
  26790. description: Internal Server Error
  26791. schema:
  26792. $ref: '#/definitions/app.Response'
  26793. security:
  26794. - ApiKeyAuth: []
  26795. summary: 查询履约信息
  26796. tags:
  26797. - 仓单贸易v2
  26798. /WrTrade2/QueryPermancePlanTmp:
  26799. get:
  26800. description: 返回指定用户的模板和公共模板(用户id为空)
  26801. parameters:
  26802. - description: 用户id
  26803. in: query
  26804. name: userid
  26805. type: integer
  26806. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  26807. in: query
  26808. name: tmptype
  26809. type: string
  26810. - description: 是否包含公共模板(用户id为空的) 1-包含
  26811. in: query
  26812. name: includepub
  26813. type: integer
  26814. produces:
  26815. - application/json
  26816. responses:
  26817. "200":
  26818. description: OK
  26819. schema:
  26820. items:
  26821. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  26822. type: array
  26823. "500":
  26824. description: Internal Server Error
  26825. schema:
  26826. $ref: '#/definitions/app.Response'
  26827. security:
  26828. - ApiKeyAuth: []
  26829. summary: 查询履约模板
  26830. tags:
  26831. - 仓单贸易v2
  26832. /WrTrade2/QuerySiteColumnDetail:
  26833. get:
  26834. parameters:
  26835. - description: 页码
  26836. in: query
  26837. name: page
  26838. type: integer
  26839. - description: 每页条数
  26840. in: query
  26841. name: pagesize
  26842. type: integer
  26843. produces:
  26844. - application/json
  26845. responses:
  26846. "200":
  26847. description: OK
  26848. schema:
  26849. items:
  26850. $ref: '#/definitions/models.WrSiteColumnDetail'
  26851. type: array
  26852. "500":
  26853. description: Internal Server Error
  26854. schema:
  26855. $ref: '#/definitions/app.Response'
  26856. security:
  26857. - ApiKeyAuth: []
  26858. summary: 查询资讯
  26859. tags:
  26860. - 仓单贸易v2
  26861. /WrTrade2/QuerySpotGroupTradeSum:
  26862. get:
  26863. produces:
  26864. - application/json
  26865. responses:
  26866. "200":
  26867. description: OK
  26868. schema:
  26869. items:
  26870. $ref: '#/definitions/models.WrSpotGroupTradeSumEx'
  26871. type: array
  26872. "500":
  26873. description: Internal Server Error
  26874. schema:
  26875. $ref: '#/definitions/app.Response'
  26876. security:
  26877. - ApiKeyAuth: []
  26878. summary: 查询指数
  26879. tags:
  26880. - 仓单贸易v2
  26881. /WrTrade2/QuerySpotGroupTradeSumDetail:
  26882. get:
  26883. description: 查询的结果将会按日期 从小到大 排序
  26884. parameters:
  26885. - description: 现货商品id
  26886. in: query
  26887. name: deliverygoodsid
  26888. required: true
  26889. type: integer
  26890. - description: 查询最新多少条记录(如不填写此项, 默认查30条)
  26891. in: query
  26892. name: lastnum
  26893. type: integer
  26894. produces:
  26895. - application/json
  26896. responses:
  26897. "200":
  26898. description: OK
  26899. schema:
  26900. items:
  26901. $ref: '#/definitions/models.WrSpotGroupTradeSumDetail'
  26902. type: array
  26903. "500":
  26904. description: Internal Server Error
  26905. schema:
  26906. $ref: '#/definitions/app.Response'
  26907. security:
  26908. - ApiKeyAuth: []
  26909. summary: 查询指数详细(价格走势图)
  26910. tags:
  26911. - 仓单贸易v2
  26912. /WrTrade2/QueryWrAverageTradePrice:
  26913. get:
  26914. parameters:
  26915. - description: 页码
  26916. in: query
  26917. name: page
  26918. type: integer
  26919. - description: 每页条数
  26920. in: query
  26921. name: pagesize
  26922. type: integer
  26923. - description: 0:仓单预售 1:仓单贸易
  26924. in: query
  26925. name: haswr
  26926. required: true
  26927. type: integer
  26928. - description: 仓单要素id
  26929. in: query
  26930. name: wrfactortypeid
  26931. required: true
  26932. type: integer
  26933. produces:
  26934. - application/json
  26935. responses:
  26936. "200":
  26937. description: OK
  26938. schema:
  26939. items:
  26940. $ref: '#/definitions/models.WrAverageTradePrice'
  26941. type: array
  26942. "500":
  26943. description: Internal Server Error
  26944. schema:
  26945. $ref: '#/definitions/app.Response'
  26946. security:
  26947. - ApiKeyAuth: []
  26948. summary: 查询成交价(历史走势)
  26949. tags:
  26950. - 仓单贸易v2
  26951. /WrTrade2/QueryWrBsGoodsInfo:
  26952. get:
  26953. description: 合约交易/买卖大厅/详情
  26954. parameters:
  26955. - description: 商品id
  26956. in: query
  26957. name: goodsid
  26958. required: true
  26959. type: integer
  26960. produces:
  26961. - application/json
  26962. responses:
  26963. "200":
  26964. description: OK
  26965. schema:
  26966. items:
  26967. $ref: '#/definitions/models.WrBsGoodsInfo'
  26968. type: array
  26969. "500":
  26970. description: Internal Server Error
  26971. schema:
  26972. $ref: '#/definitions/app.Response'
  26973. security:
  26974. - ApiKeyAuth: []
  26975. summary: 查询合约交易买卖大厅详情
  26976. tags:
  26977. - 仓单贸易v2
  26978. /WrTrade2/QueryWrBuybackDetail:
  26979. get:
  26980. parameters:
  26981. - description: 融资合同id
  26982. in: query
  26983. name: scfcontractid
  26984. type: integer
  26985. produces:
  26986. - application/json
  26987. responses:
  26988. "200":
  26989. description: OK
  26990. schema:
  26991. items:
  26992. $ref: '#/definitions/models.WrBuybackDetail'
  26993. type: array
  26994. "500":
  26995. description: Internal Server Error
  26996. schema:
  26997. $ref: '#/definitions/app.Response'
  26998. security:
  26999. - ApiKeyAuth: []
  27000. summary: 查询仓单回购明细
  27001. tags:
  27002. - 仓单贸易v2
  27003. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  27004. get:
  27005. parameters:
  27006. - description: 资金账号
  27007. in: query
  27008. name: accountid
  27009. required: true
  27010. type: integer
  27011. - description: 商品id
  27012. in: query
  27013. name: goodsid
  27014. required: true
  27015. type: integer
  27016. produces:
  27017. - application/json
  27018. responses:
  27019. "200":
  27020. description: OK
  27021. schema:
  27022. items:
  27023. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  27024. type: array
  27025. "500":
  27026. description: Internal Server Error
  27027. schema:
  27028. $ref: '#/definitions/app.Response'
  27029. security:
  27030. - ApiKeyAuth: []
  27031. summary: 查询合约交收可点选仓单
  27032. tags:
  27033. - 仓单贸易v2
  27034. /WrTrade2/QueryWrDeliveryDetail:
  27035. get:
  27036. parameters:
  27037. - description: 用户id
  27038. in: query
  27039. name: userid
  27040. required: true
  27041. type: integer
  27042. - description: 资金账号id
  27043. in: query
  27044. name: accountid
  27045. type: integer
  27046. produces:
  27047. - application/json
  27048. responses:
  27049. "200":
  27050. description: OK
  27051. schema:
  27052. items:
  27053. $ref: '#/definitions/models.WrDeliveryDetail'
  27054. type: array
  27055. "500":
  27056. description: Internal Server Error
  27057. schema:
  27058. $ref: '#/definitions/app.Response'
  27059. security:
  27060. - ApiKeyAuth: []
  27061. summary: 查询交收
  27062. tags:
  27063. - 仓单贸易v2
  27064. /WrTrade2/QueryWrFactorTypeInfo:
  27065. get:
  27066. parameters:
  27067. - description: 仓单要素id
  27068. in: query
  27069. name: wrfactortypeid
  27070. required: true
  27071. type: integer
  27072. produces:
  27073. - application/json
  27074. responses:
  27075. "200":
  27076. description: OK
  27077. schema:
  27078. items:
  27079. $ref: '#/definitions/models.WrFactorTypeInfo'
  27080. type: array
  27081. "500":
  27082. description: Internal Server Error
  27083. schema:
  27084. $ref: '#/definitions/app.Response'
  27085. security:
  27086. - ApiKeyAuth: []
  27087. summary: 查询仓单要素详细信息
  27088. tags:
  27089. - 仓单贸易v2
  27090. /WrTrade2/QueryWrFactorTypeInfoEx:
  27091. get:
  27092. parameters:
  27093. - description: 仓单要素id
  27094. in: query
  27095. name: wrfactortypeid
  27096. required: true
  27097. type: integer
  27098. produces:
  27099. - application/json
  27100. responses:
  27101. "200":
  27102. description: OK
  27103. schema:
  27104. items:
  27105. $ref: '#/definitions/models.WrTypeItem'
  27106. type: array
  27107. "500":
  27108. description: Internal Server Error
  27109. schema:
  27110. $ref: '#/definitions/app.Response'
  27111. security:
  27112. - ApiKeyAuth: []
  27113. summary: 查询仓单要素详细信息列表项
  27114. tags:
  27115. - 仓单贸易v2
  27116. /WrTrade2/QueryWrFinanceBuyApply:
  27117. get:
  27118. description: 页面 融资信息+ / 申请单
  27119. parameters:
  27120. - description: 用户id
  27121. in: query
  27122. name: userid
  27123. required: true
  27124. type: integer
  27125. produces:
  27126. - application/json
  27127. responses:
  27128. "200":
  27129. description: OK
  27130. schema:
  27131. items:
  27132. $ref: '#/definitions/models.WrFinanceBuyApply'
  27133. type: array
  27134. "500":
  27135. description: Internal Server Error
  27136. schema:
  27137. $ref: '#/definitions/app.Response'
  27138. security:
  27139. - ApiKeyAuth: []
  27140. summary: 查询融资购买申请
  27141. tags:
  27142. - 仓单贸易v2
  27143. /WrTrade2/QueryWrFriendApply:
  27144. get:
  27145. parameters:
  27146. - description: 用户id
  27147. in: query
  27148. name: userid
  27149. required: true
  27150. type: integer
  27151. produces:
  27152. - application/json
  27153. responses:
  27154. "200":
  27155. description: OK
  27156. schema:
  27157. items:
  27158. $ref: '#/definitions/models.WrFriendApply'
  27159. type: array
  27160. "500":
  27161. description: Internal Server Error
  27162. schema:
  27163. $ref: '#/definitions/app.Response'
  27164. security:
  27165. - ApiKeyAuth: []
  27166. summary: 查询好友申请记录
  27167. tags:
  27168. - 仓单贸易v2
  27169. /WrTrade2/QueryWrGoodsInfo:
  27170. get:
  27171. parameters:
  27172. - description: 仓单贸易市场id
  27173. in: query
  27174. name: marketid
  27175. type: integer
  27176. - description: 0:仓单预售 1:仓单贸易
  27177. in: query
  27178. name: haswr
  27179. required: true
  27180. type: integer
  27181. - description: 仓单要素id
  27182. in: query
  27183. name: wrfactortypeid
  27184. required: true
  27185. type: integer
  27186. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  27187. in: query
  27188. name: tmplateid
  27189. type: integer
  27190. produces:
  27191. - application/json
  27192. responses:
  27193. "200":
  27194. description: OK
  27195. schema:
  27196. items:
  27197. $ref: '#/definitions/models.WrGoodsInfo'
  27198. type: array
  27199. "500":
  27200. description: Internal Server Error
  27201. schema:
  27202. $ref: '#/definitions/app.Response'
  27203. security:
  27204. - ApiKeyAuth: []
  27205. summary: 查询仓单商品信息
  27206. tags:
  27207. - 仓单贸易v2
  27208. /WrTrade2/QueryWrMarketTradeConfig:
  27209. get:
  27210. parameters:
  27211. - description: 市场id
  27212. in: query
  27213. name: marketid
  27214. type: integer
  27215. produces:
  27216. - application/json
  27217. responses:
  27218. "200":
  27219. description: OK
  27220. schema:
  27221. items:
  27222. $ref: '#/definitions/models.WrMarketTradeConfig'
  27223. type: array
  27224. "500":
  27225. description: Internal Server Error
  27226. schema:
  27227. $ref: '#/definitions/app.Response'
  27228. security:
  27229. - ApiKeyAuth: []
  27230. summary: 查询市场交易参数配置
  27231. tags:
  27232. - 仓单贸易v2
  27233. /WrTrade2/QueryWrOrderDetail:
  27234. get:
  27235. description: 页面 现货仓单 | 预售仓单 -> 挂单
  27236. parameters:
  27237. - description: 页码
  27238. in: query
  27239. name: page
  27240. type: integer
  27241. - description: 每页条数
  27242. in: query
  27243. name: pagesize
  27244. type: integer
  27245. - description: 用户id
  27246. in: query
  27247. name: userid
  27248. required: true
  27249. type: integer
  27250. - description: 仓单贸易市场id
  27251. in: query
  27252. name: marketid
  27253. type: integer
  27254. - description: 0:仓单预售 1:仓单贸易
  27255. in: query
  27256. name: haswr
  27257. required: true
  27258. type: integer
  27259. produces:
  27260. - application/json
  27261. responses:
  27262. "200":
  27263. description: OK
  27264. schema:
  27265. items:
  27266. $ref: '#/definitions/models.WrOrderDetail'
  27267. type: array
  27268. "500":
  27269. description: Internal Server Error
  27270. schema:
  27271. $ref: '#/definitions/app.Response'
  27272. security:
  27273. - ApiKeyAuth: []
  27274. summary: 查询仓单委托单(挂单)
  27275. tags:
  27276. - 仓单贸易v2
  27277. /WrTrade2/QueryWrOutInApply:
  27278. get:
  27279. parameters:
  27280. - description: 用户id
  27281. in: query
  27282. name: userid
  27283. required: true
  27284. type: integer
  27285. produces:
  27286. - application/json
  27287. responses:
  27288. "200":
  27289. description: OK
  27290. schema:
  27291. items:
  27292. $ref: '#/definitions/models.WrOutInApply'
  27293. type: array
  27294. "500":
  27295. description: Internal Server Error
  27296. schema:
  27297. $ref: '#/definitions/app.Response'
  27298. security:
  27299. - ApiKeyAuth: []
  27300. summary: 查询提货申请
  27301. tags:
  27302. - 仓单贸易v2
  27303. /WrTrade2/QueryWrPerformancePlanStep:
  27304. get:
  27305. parameters:
  27306. - description: 履约计划id(performanceplanid)
  27307. in: query
  27308. name: planid
  27309. required: true
  27310. type: integer
  27311. - description: 当前步骤id
  27312. in: query
  27313. name: curstepid
  27314. type: integer
  27315. produces:
  27316. - application/json
  27317. responses:
  27318. "200":
  27319. description: OK
  27320. schema:
  27321. items:
  27322. $ref: '#/definitions/models.WrPerformancePlanStep'
  27323. type: array
  27324. "500":
  27325. description: Internal Server Error
  27326. schema:
  27327. $ref: '#/definitions/app.Response'
  27328. security:
  27329. - ApiKeyAuth: []
  27330. summary: 查询履约信息详情
  27331. tags:
  27332. - 仓单贸易v2
  27333. /WrTrade2/QueryWrPerformanceStepType:
  27334. get:
  27335. produces:
  27336. - application/json
  27337. responses:
  27338. "200":
  27339. description: OK
  27340. schema:
  27341. items:
  27342. $ref: '#/definitions/models.WrPerformanceStepType'
  27343. type: array
  27344. "500":
  27345. description: Internal Server Error
  27346. schema:
  27347. $ref: '#/definitions/app.Response'
  27348. security:
  27349. - ApiKeyAuth: []
  27350. summary: 查询履约步骤枚举
  27351. tags:
  27352. - 仓单贸易v2
  27353. /WrTrade2/QueryWrPosition:
  27354. get:
  27355. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  27356. parameters:
  27357. - description: 用户id
  27358. in: query
  27359. name: userid
  27360. required: true
  27361. type: integer
  27362. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  27363. in: query
  27364. name: querytype
  27365. required: true
  27366. type: integer
  27367. - description: 0:仓单预售 1:仓单贸易
  27368. in: query
  27369. name: haswr
  27370. required: true
  27371. type: integer
  27372. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  27373. in: query
  27374. name: dgitemname
  27375. type: string
  27376. - description: 仓库id(筛选条件)
  27377. in: query
  27378. name: warehouseid
  27379. type: integer
  27380. - description: 品种id
  27381. in: query
  27382. name: deliverygoodsid
  27383. type: integer
  27384. - description: 品类id
  27385. in: query
  27386. name: wrstandardid
  27387. type: integer
  27388. produces:
  27389. - application/json
  27390. responses:
  27391. "200":
  27392. description: OK
  27393. schema:
  27394. items:
  27395. $ref: '#/definitions/models.WrPosition'
  27396. type: array
  27397. "500":
  27398. description: Internal Server Error
  27399. schema:
  27400. $ref: '#/definitions/app.Response'
  27401. security:
  27402. - ApiKeyAuth: []
  27403. summary: 查询现货(预售)仓单持仓
  27404. tags:
  27405. - 仓单贸易v2
  27406. /WrTrade2/QueryWrScfContract:
  27407. get:
  27408. parameters:
  27409. - description: 用户id
  27410. in: query
  27411. name: userid
  27412. required: true
  27413. type: integer
  27414. - description: 融资合同id
  27415. in: query
  27416. name: scfcontractid
  27417. type: integer
  27418. produces:
  27419. - application/json
  27420. responses:
  27421. "200":
  27422. description: OK
  27423. schema:
  27424. items:
  27425. $ref: '#/definitions/models.WrScfContract'
  27426. type: array
  27427. "500":
  27428. description: Internal Server Error
  27429. schema:
  27430. $ref: '#/definitions/app.Response'
  27431. security:
  27432. - ApiKeyAuth: []
  27433. summary: 查询仓单贸易融资合同
  27434. tags:
  27435. - 仓单贸易v2
  27436. /WrTrade2/QueryWrScfContractInterest:
  27437. get:
  27438. parameters:
  27439. - description: 融资合同id
  27440. in: query
  27441. name: scfcontractid
  27442. type: integer
  27443. produces:
  27444. - application/json
  27445. responses:
  27446. "200":
  27447. description: OK
  27448. schema:
  27449. items:
  27450. $ref: '#/definitions/models.WrScfContractInterest'
  27451. type: array
  27452. "500":
  27453. description: Internal Server Error
  27454. schema:
  27455. $ref: '#/definitions/app.Response'
  27456. security:
  27457. - ApiKeyAuth: []
  27458. summary: 查询融资合同费用明细
  27459. tags:
  27460. - 仓单贸易v2
  27461. /WrTrade2/QueryWrSpecialMatchOrder:
  27462. get:
  27463. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  27464. parameters:
  27465. - description: 页码
  27466. in: query
  27467. name: page
  27468. type: integer
  27469. - description: 每页条数
  27470. in: query
  27471. name: pagesize
  27472. type: integer
  27473. - description: 用户id
  27474. in: query
  27475. name: userid
  27476. required: true
  27477. type: integer
  27478. - description: 仓单贸易市场id
  27479. in: query
  27480. name: marketid
  27481. type: integer
  27482. - description: 0:仓单预售 1:仓单贸易
  27483. in: query
  27484. name: haswr
  27485. required: true
  27486. type: integer
  27487. produces:
  27488. - application/json
  27489. responses:
  27490. "200":
  27491. description: OK
  27492. schema:
  27493. items:
  27494. $ref: '#/definitions/models.WrSpecialMatchOrder'
  27495. type: array
  27496. "500":
  27497. description: Internal Server Error
  27498. schema:
  27499. $ref: '#/definitions/app.Response'
  27500. security:
  27501. - ApiKeyAuth: []
  27502. summary: 查询指定成交
  27503. tags:
  27504. - 仓单贸易v2
  27505. /WrTrade2/QueryWrStandardFactoryItem:
  27506. get:
  27507. parameters:
  27508. - description: 品类id
  27509. in: query
  27510. name: wrstandardid
  27511. required: true
  27512. type: integer
  27513. produces:
  27514. - application/json
  27515. responses:
  27516. "200":
  27517. description: OK
  27518. schema:
  27519. items:
  27520. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  27521. type: array
  27522. "500":
  27523. description: Internal Server Error
  27524. schema:
  27525. $ref: '#/definitions/app.Response'
  27526. security:
  27527. - ApiKeyAuth: []
  27528. summary: 查询品类要素定义项
  27529. tags:
  27530. - 仓单贸易v2
  27531. /WrTrade2/QueryWrTradeBargainApply:
  27532. get:
  27533. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面 议价->对方议价 填写matchuserid=登录用户id
  27534. parameters:
  27535. - description: 议价人id(摘牌方)
  27536. in: query
  27537. name: userid
  27538. type: integer
  27539. - description: 挂牌方id(查对方议价时,填写此项)
  27540. in: query
  27541. name: matchuserid
  27542. type: integer
  27543. - description: 关联委托单id
  27544. in: query
  27545. name: wrtradeorderid
  27546. type: integer
  27547. - description: 0:仓单预售 1:仓单贸易
  27548. in: query
  27549. name: haswr
  27550. required: true
  27551. type: integer
  27552. produces:
  27553. - application/json
  27554. responses:
  27555. "200":
  27556. description: OK
  27557. schema:
  27558. items:
  27559. $ref: '#/definitions/models.WRTradeBargainApply'
  27560. type: array
  27561. "500":
  27562. description: Internal Server Error
  27563. schema:
  27564. $ref: '#/definitions/app.Response'
  27565. security:
  27566. - ApiKeyAuth: []
  27567. summary: 查询议价单
  27568. tags:
  27569. - 仓单贸易v2
  27570. /WrTrade2/QueryWrTradeDetail:
  27571. get:
  27572. parameters:
  27573. - description: 页码
  27574. in: query
  27575. name: page
  27576. type: integer
  27577. - description: 每页条数
  27578. in: query
  27579. name: pagesize
  27580. type: integer
  27581. - description: 用户id
  27582. in: query
  27583. name: userid
  27584. required: true
  27585. type: integer
  27586. - description: 仓单贸易市场id
  27587. in: query
  27588. name: marketid
  27589. type: integer
  27590. - description: 0:仓单预售 1:仓单贸易
  27591. in: query
  27592. name: haswr
  27593. required: true
  27594. type: integer
  27595. produces:
  27596. - application/json
  27597. responses:
  27598. "200":
  27599. description: OK
  27600. schema:
  27601. items:
  27602. $ref: '#/definitions/models.WrTradeDetail'
  27603. type: array
  27604. "500":
  27605. description: Internal Server Error
  27606. schema:
  27607. $ref: '#/definitions/app.Response'
  27608. security:
  27609. - ApiKeyAuth: []
  27610. summary: 查询仓单成交明细
  27611. tags:
  27612. - 仓单贸易v2
  27613. /WrTrade2/QueryWrTradeOrderDetail:
  27614. get:
  27615. parameters:
  27616. - description: 页码
  27617. in: query
  27618. name: page
  27619. type: integer
  27620. - description: 每页条数
  27621. in: query
  27622. name: pagesize
  27623. type: integer
  27624. - description: 商品id
  27625. in: query
  27626. name: goodsid
  27627. required: true
  27628. type: integer
  27629. - description: 买卖方向 0-买 1-卖
  27630. in: query
  27631. name: buyorsell
  27632. required: true
  27633. type: integer
  27634. produces:
  27635. - application/json
  27636. responses:
  27637. "200":
  27638. description: OK
  27639. schema:
  27640. items:
  27641. $ref: '#/definitions/models.WrTradeOrderDetail'
  27642. type: array
  27643. "500":
  27644. description: Internal Server Error
  27645. schema:
  27646. $ref: '#/definitions/app.Response'
  27647. security:
  27648. - ApiKeyAuth: []
  27649. summary: 查询合约交易买卖大厅
  27650. tags:
  27651. - 仓单贸易v2
  27652. /WrTrade2/QueryWrUserFriend:
  27653. get:
  27654. parameters:
  27655. - description: 用户id
  27656. in: query
  27657. name: userid
  27658. required: true
  27659. type: integer
  27660. - description: 新朋友userid, 如果填写了此项则查找新朋友
  27661. in: query
  27662. name: newuserid
  27663. type: integer
  27664. produces:
  27665. - application/json
  27666. responses:
  27667. "200":
  27668. description: OK
  27669. schema:
  27670. items:
  27671. $ref: '#/definitions/models.WrUserFriend'
  27672. type: array
  27673. "500":
  27674. description: Internal Server Error
  27675. schema:
  27676. $ref: '#/definitions/app.Response'
  27677. security:
  27678. - ApiKeyAuth: []
  27679. summary: 查询我的朋友
  27680. tags:
  27681. - 仓单贸易v2
  27682. /WrTrade2/QueryWrUserReceiptInfo:
  27683. get:
  27684. parameters:
  27685. - description: 用户id
  27686. in: query
  27687. name: userid
  27688. type: integer
  27689. - description: 发票类型 - 1:个人 2:企业
  27690. in: query
  27691. name: receipttype
  27692. type: integer
  27693. produces:
  27694. - application/json
  27695. responses:
  27696. "200":
  27697. description: OK
  27698. schema:
  27699. items:
  27700. $ref: '#/definitions/models.WrUserReceiptInfo'
  27701. type: array
  27702. "500":
  27703. description: Internal Server Error
  27704. schema:
  27705. $ref: '#/definitions/app.Response'
  27706. security:
  27707. - ApiKeyAuth: []
  27708. summary: 查询发票信息
  27709. tags:
  27710. - 仓单贸易v2
  27711. /ZJ/GetBankTip:
  27712. get:
  27713. produces:
  27714. - application/json
  27715. responses:
  27716. "200":
  27717. description: OK
  27718. schema:
  27719. type: string
  27720. "500":
  27721. description: Internal Server Error
  27722. schema:
  27723. $ref: '#/definitions/app.Response'
  27724. summary: 获取中江网银端出入金提示信息
  27725. tags:
  27726. - 中江
  27727. /ZJ/GetCusBankChannels:
  27728. get:
  27729. produces:
  27730. - application/json
  27731. responses:
  27732. "200":
  27733. description: OK
  27734. schema:
  27735. items:
  27736. type: string
  27737. type: array
  27738. "500":
  27739. description: Internal Server Error
  27740. schema:
  27741. $ref: '#/definitions/app.Response'
  27742. summary: 获取中江出入金渠道显示列表
  27743. tags:
  27744. - 中江
  27745. securityDefinitions:
  27746. ApiKeyAuth:
  27747. in: header
  27748. name: Authorization
  27749. type: apiKey
  27750. swagger: "2.0"