swagger.yaml 770 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763
  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. middlegoodscode:
  6880. description: 套保品种代码
  6881. type: string
  6882. middlegoodsid:
  6883. description: 套保品种ID
  6884. type: integer
  6885. middlegoodsname:
  6886. description: 套保品种名称
  6887. type: string
  6888. relatedlot:
  6889. description: 关联手数
  6890. type: number
  6891. relatedmode:
  6892. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  6893. type: integer
  6894. relatedqty:
  6895. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  6896. type: number
  6897. retcode:
  6898. description: 返回码
  6899. type: integer
  6900. saleuserid:
  6901. description: 业务员ID
  6902. type: string
  6903. spotcontractid:
  6904. description: 现货合同\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]
  6905. type: string
  6906. taname:
  6907. description: 期货账户
  6908. type: string
  6909. tradedate:
  6910. description: 关联交易日(yyyyMMdd)
  6911. type: string
  6912. tradeid:
  6913. description: 期货订单号 | 内部成交单ID
  6914. type: string
  6915. tradelot:
  6916. description: 成交数量 | 成交手数
  6917. type: integer
  6918. tradeprice:
  6919. description: 成交价格
  6920. type: number
  6921. tradetime:
  6922. description: 期货成交时间
  6923. type: string
  6924. tradetradedate:
  6925. description: 成交交易日(yyyyMMdd)
  6926. type: string
  6927. username:
  6928. description: 用户名称
  6929. type: string
  6930. type: object
  6931. models.Ermcp3Wrstandard:
  6932. properties:
  6933. areauserid:
  6934. description: 所属机构
  6935. type: integer
  6936. cantrade:
  6937. description: 是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)
  6938. type: integer
  6939. convertfactor:
  6940. description: 标仓系数
  6941. type: number
  6942. createtime:
  6943. description: 创建时间
  6944. type: string
  6945. creatorid:
  6946. description: 创建人
  6947. type: integer
  6948. deliverygoodsid:
  6949. description: 现货品种ID
  6950. type: integer
  6951. enumdicname:
  6952. description: 品类单位名称
  6953. type: string
  6954. isvalid:
  6955. description: 是否有效 0-无效(停用) 1-有效(正常)
  6956. type: integer
  6957. minivalue:
  6958. description: 最小变动值
  6959. type: integer
  6960. minivaluedp:
  6961. description: 最小变动值小数位
  6962. type: integer
  6963. realminivalue:
  6964. description: 实际最小变动值
  6965. type: integer
  6966. realminivaluedp:
  6967. description: 实际最小变动值小数位
  6968. type: integer
  6969. remark:
  6970. description: 备注
  6971. type: string
  6972. unitid:
  6973. description: 品类单位ID
  6974. type: integer
  6975. updatetime:
  6976. description: 更新时间
  6977. type: string
  6978. wrstandardcode:
  6979. description: 品类代码
  6980. type: string
  6981. wrstandardid:
  6982. description: 品类ID(SEQ_WRSTANDARD)
  6983. type: integer
  6984. wrstandardname:
  6985. description: 品类名称
  6986. type: string
  6987. type: object
  6988. models.ErmcpBizGroupEx:
  6989. properties:
  6990. acclist:
  6991. description: 账号列表
  6992. items:
  6993. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  6994. type: array
  6995. bizgroupid:
  6996. description: 业务分组id
  6997. type: integer
  6998. biztype:
  6999. description: 业务类型 1-套保 2-套利
  7000. type: integer
  7001. wrlist:
  7002. description: 现货商品表
  7003. items:
  7004. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  7005. type: array
  7006. type: object
  7007. models.ErmcpBizGroupSpotGoods:
  7008. properties:
  7009. areauserid:
  7010. description: 所属机构id
  7011. type: integer
  7012. bizgroupid:
  7013. description: 分组id
  7014. type: integer
  7015. biztype:
  7016. description: 业务类型 1-套保 2-套利
  7017. type: integer
  7018. deliverygoodscode:
  7019. description: 现货商品代码
  7020. type: string
  7021. deliverygoodsid:
  7022. description: 现货商品id
  7023. type: integer
  7024. deliverygoodsname:
  7025. description: 现货商品名称
  7026. type: string
  7027. unitid:
  7028. description: 现货商品单位id
  7029. type: integer
  7030. type: object
  7031. models.ErmcpBizGroupTaAccount:
  7032. properties:
  7033. accountid:
  7034. description: 账号id
  7035. type: integer
  7036. accountname:
  7037. description: 账号名称
  7038. type: string
  7039. areauserid:
  7040. description: 所属机构id
  7041. type: integer
  7042. bizgroupid:
  7043. description: 业务分组id
  7044. type: integer
  7045. ismain:
  7046. description: 是否主账号 1-是 0-否
  7047. type: integer
  7048. type: object
  7049. models.ErmcpDGFactoryItem:
  7050. properties:
  7051. areauserid:
  7052. description: 用户id
  7053. type: integer
  7054. deliverygoodsid:
  7055. description: 现货品种ID
  7056. type: integer
  7057. dgfactoryitemid:
  7058. description: 选择项ID(SEQ_DGFACTORYITEM)
  7059. type: integer
  7060. dgfactoryitemtypeid:
  7061. description: 要素项类型
  7062. type: integer
  7063. dgfactoryitemvalue:
  7064. description: 要素项值(类型为仓库时填写仓库名称)
  7065. type: string
  7066. isvalid:
  7067. description: 是否有效 - 0:无效 1:有效
  7068. type: integer
  7069. orderindex:
  7070. description: 顺序
  7071. type: integer
  7072. warehouseid:
  7073. description: 仓库ID(类型为仓库时填写)
  7074. type: integer
  7075. type: object
  7076. models.ErmcpDeliveryGoods:
  7077. properties:
  7078. agreeunit:
  7079. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  7080. type: integer
  7081. areauserid:
  7082. description: 所属机构
  7083. type: integer
  7084. auditflag:
  7085. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  7086. type: integer
  7087. categoryid:
  7088. description: 类别ID(SEQ_WRCATEGORY)
  7089. type: integer
  7090. deliverygoodscode:
  7091. description: 现货品种代码
  7092. type: string
  7093. deliverygoodsid:
  7094. description: 现货品种ID(SEQ_DELIVERYGOODS)
  7095. type: integer
  7096. deliverygoodsname:
  7097. description: 现货品种名称
  7098. type: string
  7099. deliverygoodstype:
  7100. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  7101. type: integer
  7102. dgstatus:
  7103. description: 品种状态 - 作废 - 0:未激活 1:正常
  7104. type: integer
  7105. enumdicname:
  7106. description: 现货品种单位名称
  7107. type: string
  7108. goodsunitid:
  7109. description: 现货品种单位ID
  7110. type: integer
  7111. isvalid:
  7112. description: 是否有效 - 0:无效 1:有效
  7113. type: integer
  7114. qtydecimalplace:
  7115. description: 成交量小数位
  7116. type: integer
  7117. remark:
  7118. description: 备注
  7119. type: string
  7120. standardqty:
  7121. description: 标准数量(库位数量) [标准品特有]
  7122. type: integer
  7123. standardqtyrange:
  7124. description: 标准数量偏差范围 [标准品特有]
  7125. type: integer
  7126. type: object
  7127. models.ErmcpFuturesCompany:
  7128. properties:
  7129. brokerid:
  7130. description: 经纪公司代码
  7131. type: string
  7132. channeladdress:
  7133. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  7134. type: string
  7135. channelid:
  7136. description: 对冲渠道ID
  7137. type: string
  7138. createtime:
  7139. description: 创建时间
  7140. type: string
  7141. creatorid:
  7142. description: 创建人
  7143. type: string
  7144. fcid:
  7145. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  7146. type: integer
  7147. fcname:
  7148. description: 期货公司名称
  7149. type: string
  7150. isvalid:
  7151. description: 是否有效 - 0:无效 1:有效
  7152. type: integer
  7153. mhpaddress:
  7154. description: MHP服务地址(IP:Port)
  7155. type: string
  7156. riskrulegroupid:
  7157. description: 风控规则组ID
  7158. type: string
  7159. tradefeetmpid:
  7160. description: 手续费模板ID[TradeConfigTmpType为2]
  7161. type: string
  7162. trademargintmpid:
  7163. description: 保证金模板ID [TradeConfigTmpType为1]
  7164. type: string
  7165. traderatetmpid:
  7166. description: 汇率模板ID[TradeConfigTmpType为3]
  7167. type: string
  7168. updatetime:
  7169. description: 更新时间
  7170. type: string
  7171. updatorid:
  7172. description: 更新人
  7173. type: string
  7174. type: object
  7175. models.ErmcpGGConvertCfg:
  7176. properties:
  7177. convertratio:
  7178. description: 折算系数
  7179. type: number
  7180. destgoodsgroupid:
  7181. description: 目标品种ID
  7182. type: integer
  7183. dstcode:
  7184. description: 目录品种代码
  7185. type: string
  7186. dstexchangecode:
  7187. description: 目标期货交易所
  7188. type: string
  7189. dstname:
  7190. description: 目标品种名称
  7191. type: string
  7192. dstunitid:
  7193. description: 目标品种单位ID
  7194. type: integer
  7195. dstunitidname:
  7196. description: 目标品种单位名称
  7197. type: string
  7198. modifytime:
  7199. description: 修改时间
  7200. type: string
  7201. srccode:
  7202. description: 源品种代码
  7203. type: string
  7204. srcexchangecode:
  7205. description: 源期货交易所
  7206. type: string
  7207. srcgoodsgroupid:
  7208. description: 源品种ID
  7209. type: integer
  7210. srcname:
  7211. description: 源品种名称
  7212. type: string
  7213. srcunitid:
  7214. description: 源品种单位ID
  7215. type: integer
  7216. srcunitidname:
  7217. description: 源品种单位名称
  7218. type: string
  7219. type: object
  7220. models.ErmcpGoods:
  7221. properties:
  7222. agreeunit:
  7223. description: 合约单位
  7224. type: number
  7225. areauserid:
  7226. description: 所属机构
  7227. type: integer
  7228. auditaccountid:
  7229. description: 审核操作员账号
  7230. type: integer
  7231. audittime:
  7232. description: 审核时间
  7233. type: string
  7234. cancelaccountid:
  7235. description: 注销操作员账号
  7236. type: integer
  7237. canceltime:
  7238. description: 注销时间
  7239. type: string
  7240. closepricemode:
  7241. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7242. type: integer
  7243. closepriceparam:
  7244. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  7245. type: number
  7246. createtime:
  7247. description: 创建时间
  7248. type: string
  7249. creatorid:
  7250. description: 创建人
  7251. type: integer
  7252. currencyid:
  7253. description: 报价货币ID
  7254. type: integer
  7255. cutmode:
  7256. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  7257. type: integer
  7258. decimalplace:
  7259. description: 报价小数位
  7260. type: integer
  7261. delistingdate:
  7262. description: 商品退市时间(状态:退市) -- 已作废
  7263. type: string
  7264. delistingmode:
  7265. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  7266. type: integer
  7267. deliveryflag:
  7268. description: 交割标志 - 0:不可交割 1:可交割
  7269. type: integer
  7270. enumdicname:
  7271. description: 单位名称
  7272. type: string
  7273. forceclosemode:
  7274. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  7275. type: integer
  7276. forceclosevalue:
  7277. description: 定期强平参数 [收益权]
  7278. type: integer
  7279. goodscode:
  7280. description: 商品代码(内部)
  7281. type: string
  7282. goodscurrencyid:
  7283. description: 合约货币ID
  7284. type: integer
  7285. goodsgroupid:
  7286. description: 所属商品组ID
  7287. type: integer
  7288. goodsid:
  7289. description: 商品ID(自增ID SEQ_GOODS)
  7290. type: integer
  7291. goodsname:
  7292. description: 商品名称
  7293. type: string
  7294. goodsquotetype:
  7295. description: '合约报价类型: 1-直接报价 2-间接报价'
  7296. type: integer
  7297. goodsstatus:
  7298. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7299. type: integer
  7300. goodstradetype:
  7301. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  7302. type: integer
  7303. goodunitid:
  7304. description: 报价单位ID
  7305. type: integer
  7306. hasquoter:
  7307. description: 是否有报价商 - 0:无报价商 1:有报价商
  7308. type: integer
  7309. hqprotecttime:
  7310. description: 行情保护时间(秒)
  7311. type: integer
  7312. innerdealmode:
  7313. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7314. type: integer
  7315. isbuylimited:
  7316. description: 是否限制建仓量 - 0:不限制 1:限制
  7317. type: integer
  7318. isvisible:
  7319. description: 游客是否可见 - 0:不可见 1:可见
  7320. type: integer
  7321. lasttradedate:
  7322. description: 最后交易日期(状态:待退市)
  7323. type: string
  7324. listingdate:
  7325. description: 交易开始日期
  7326. type: string
  7327. marketid:
  7328. description: 所属市场ID
  7329. type: integer
  7330. modifierid:
  7331. description: 修改人
  7332. type: integer
  7333. modifystatus:
  7334. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  7335. type: integer
  7336. modifytime:
  7337. description: 修改时间
  7338. type: string
  7339. outerdealmode:
  7340. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7341. type: integer
  7342. outgoodscode:
  7343. description: 商品代码(外部)
  7344. type: string
  7345. pictureurl:
  7346. description: 商品图片
  7347. type: string
  7348. qtydecimalplace:
  7349. description: 成交量小数位
  7350. type: integer
  7351. quotegear:
  7352. description: 行情档位(1-10)
  7353. type: integer
  7354. quoteminunit:
  7355. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7356. type: integer
  7357. quoteshowtype:
  7358. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  7359. type: integer
  7360. quoteshowtypeinterval:
  7361. description: 行情报价间隔时间(秒)(成交价时为0)
  7362. type: integer
  7363. relatedgoodsid:
  7364. description: 关联参考商品ID
  7365. type: integer
  7366. remark:
  7367. description: 备注
  7368. type: string
  7369. trademode:
  7370. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  7371. type: integer
  7372. required:
  7373. - goodscode
  7374. - goodsid
  7375. - goodsname
  7376. - marketid
  7377. type: object
  7378. models.ErmcpGoodsBrand:
  7379. properties:
  7380. areauserid:
  7381. description: 所属机构
  7382. type: integer
  7383. brandid:
  7384. description: BrandID(SEQ_SPOTGOODSBRAND)
  7385. type: integer
  7386. brandname:
  7387. description: 品牌名称
  7388. type: string
  7389. createtime:
  7390. description: 创建时间
  7391. type: string
  7392. creatorid:
  7393. description: 创建人
  7394. type: integer
  7395. creatorsrc:
  7396. description: 创建人来源 - 1:管理端 2:终端
  7397. type: integer
  7398. deliverygoodsid:
  7399. description: 现货品种ID
  7400. type: integer
  7401. isvalid:
  7402. description: 是否有效 - 0:无效 1:有效
  7403. type: integer
  7404. updatetime:
  7405. description: 更新时间
  7406. type: string
  7407. updatorid:
  7408. description: 更新人
  7409. type: integer
  7410. updatorsrc:
  7411. description: 更新人来源 - 1:管理端 2:终端
  7412. type: integer
  7413. wrstandardid:
  7414. description: 现货商品ID
  7415. type: integer
  7416. type: object
  7417. models.ErmcpGoodsModel:
  7418. properties:
  7419. areauserid:
  7420. description: 所属机构
  7421. type: integer
  7422. convertfactor:
  7423. description: 标仓系数
  7424. type: number
  7425. createtime:
  7426. description: 创建时间
  7427. type: string
  7428. creatorid:
  7429. description: 创建人
  7430. type: integer
  7431. creatorsrc:
  7432. description: 创建人来源 - 1:管理端 2:终端
  7433. type: integer
  7434. deliverygoodsid:
  7435. description: 现货品种ID
  7436. type: integer
  7437. isvalid:
  7438. description: 是否有效 - 0:无效 1:有效
  7439. type: integer
  7440. modelid:
  7441. description: ModelID(SEQ_SPOTGOODSMODEL)
  7442. type: integer
  7443. modelname:
  7444. description: 型号名称
  7445. type: string
  7446. updatetime:
  7447. description: 更新时间
  7448. type: string
  7449. updatorid:
  7450. description: 更新人
  7451. type: integer
  7452. updatorsrc:
  7453. description: 更新人来源 - 1:管理端 2:终端
  7454. type: integer
  7455. wrstandardid:
  7456. description: 现货商品ID
  7457. type: integer
  7458. type: object
  7459. models.ErmcpHisExposure:
  7460. properties:
  7461. needhedgeexposoure:
  7462. description: 应套保敞口
  7463. type: number
  7464. reckondate:
  7465. description: 日照时期(yyyyMMdd)
  7466. type: string
  7467. totalexposure:
  7468. description: 总敞口
  7469. type: number
  7470. type: object
  7471. models.ErmcpLoginTaAccount:
  7472. properties:
  7473. accountid:
  7474. description: 账号id
  7475. type: integer
  7476. accountname:
  7477. description: 账号名称
  7478. type: string
  7479. type: object
  7480. models.ErmcpLoginUser:
  7481. properties:
  7482. acclist:
  7483. description: 关联资金账号
  7484. items:
  7485. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  7486. type: array
  7487. accountname:
  7488. description: 用户名称
  7489. type: string
  7490. clientroleid:
  7491. description: 角色id(usertype=2)
  7492. type: integer
  7493. createtime:
  7494. description: 创建时间
  7495. type: string
  7496. logincode:
  7497. description: 登录代码
  7498. type: string
  7499. loginid:
  7500. description: 登录id(LOGINID)
  7501. type: integer
  7502. loginname:
  7503. description: 登录名称(loginaccount表中的accountname字段)
  7504. type: string
  7505. loginstatus:
  7506. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  7507. type: integer
  7508. memberuserid:
  7509. description: 所属会员id
  7510. type: integer
  7511. mobile:
  7512. description: 手机号
  7513. type: string
  7514. modifytime:
  7515. description: 修改时间
  7516. type: string
  7517. password:
  7518. description: 密码(不可解密)
  7519. type: string
  7520. rolename:
  7521. description: 角色名称
  7522. type: string
  7523. rolestatus:
  7524. description: 角色状态 1-启用 2-停用
  7525. type: integer
  7526. roletype:
  7527. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  7528. type: string
  7529. userid:
  7530. description: 用户id
  7531. type: integer
  7532. usertype:
  7533. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  7534. type: integer
  7535. type: object
  7536. models.ErmcpLoginUserEx:
  7537. properties:
  7538. accountstatus:
  7539. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  7540. type: integer
  7541. mobile:
  7542. description: 手机号
  7543. type: string
  7544. querytype:
  7545. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  7546. type: integer
  7547. roleid:
  7548. description: 角色id(交易账户->用户id)
  7549. type: integer
  7550. rolename:
  7551. description: 角色名称(交易账户->用户名称)
  7552. type: string
  7553. userlist:
  7554. description: 用户列表
  7555. items:
  7556. $ref: '#/definitions/models.ErmcpLoginUser'
  7557. type: array
  7558. usertype:
  7559. description: 用户类型 2-机构 7-企业成员(云平台)
  7560. type: integer
  7561. type: object
  7562. models.ErmcpMiddleGoodsModel:
  7563. properties:
  7564. areauserid:
  7565. description: 机构用户ID
  7566. type: integer
  7567. createtime:
  7568. description: 修改时间
  7569. type: string
  7570. enumdicname:
  7571. description: 单位名称
  7572. type: string
  7573. evaluateratio:
  7574. description: 估价系数
  7575. type: number
  7576. goodsgroupid:
  7577. description: 关联期货品种ID
  7578. type: integer
  7579. goodsunitid:
  7580. description: 单位ID
  7581. type: integer
  7582. isvalid:
  7583. description: 状态 0-无效(停用) 1-有效(正常)
  7584. type: integer
  7585. middlegoodscode:
  7586. description: 套保品种代码
  7587. type: string
  7588. middlegoodsid:
  7589. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  7590. type: integer
  7591. middlegoodsname:
  7592. description: 套保品种名称
  7593. type: string
  7594. modifytime:
  7595. description: 修改时间
  7596. type: string
  7597. needarbitrageratio:
  7598. description: 套利比例
  7599. type: number
  7600. needhedgeratio:
  7601. description: 套保比率
  7602. type: number
  7603. qtydecimalplace:
  7604. description: 数量小数位
  7605. type: integer
  7606. relatedgoodsid:
  7607. description: 关联交易商品ID
  7608. type: integer
  7609. relatedgoodstype:
  7610. description: 关联商品类型 - 1:期货合约 2:现货品种
  7611. type: integer
  7612. remark:
  7613. description: 备注
  7614. type: string
  7615. type: object
  7616. models.ErmcpMiddlegoodsRelateGoods:
  7617. properties:
  7618. agreeunit:
  7619. description: 合约乘数
  7620. type: number
  7621. convertratio:
  7622. description: 折算系数
  7623. type: number
  7624. enumdicname:
  7625. description: 单位名称(交易商品)
  7626. type: string
  7627. goodscode:
  7628. description: 交易商品代码
  7629. type: string
  7630. goodsgroupid:
  7631. description: 交易品种id
  7632. type: integer
  7633. goodsid:
  7634. description: 商品Id
  7635. type: integer
  7636. goodsname:
  7637. description: 交易商品名称
  7638. type: string
  7639. goodunitid:
  7640. description: 交易商品单位id
  7641. type: integer
  7642. middlegoodsid:
  7643. description: 套保商品id
  7644. type: integer
  7645. middlegoodsname:
  7646. description: 套保商品名称
  7647. type: string
  7648. middlegoodsswcode:
  7649. description: 套保商品代码
  7650. type: string
  7651. needarbitrageratio:
  7652. description: 应套利比例
  7653. type: number
  7654. needhedgeratio:
  7655. description: 应套保比例
  7656. type: number
  7657. type: object
  7658. models.ErmcpRole:
  7659. properties:
  7660. areauserid:
  7661. description: 所属机构
  7662. type: integer
  7663. autoid:
  7664. description: 角色ID(自增ID)
  7665. type: integer
  7666. modifierid:
  7667. description: 修改人(创建人)
  7668. type: integer
  7669. modifiername:
  7670. description: 修改人名称
  7671. type: string
  7672. modifytime:
  7673. description: 修改时间(创建时间)
  7674. type: string
  7675. rolename:
  7676. description: 角色名称
  7677. type: string
  7678. rolestatus:
  7679. description: 角色状态 - 1:启用 2:停用
  7680. type: integer
  7681. roletype:
  7682. description: 角色类型 - 1- 管理端 2- 交易端
  7683. type: integer
  7684. type: object
  7685. models.ErmcpRoleMenu:
  7686. properties:
  7687. iconame:
  7688. description: 菜单图标
  7689. type: string
  7690. ishadrole:
  7691. description: 是否有权限
  7692. type: boolean
  7693. menutype:
  7694. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  7695. type: integer
  7696. parentcode:
  7697. description: 上级资源代码
  7698. type: string
  7699. remark:
  7700. description: 菜单备注
  7701. type: string
  7702. resourcecode:
  7703. description: 菜单代码
  7704. type: string
  7705. resourcelevel:
  7706. description: 级别
  7707. type: integer
  7708. resourcename:
  7709. description: 菜单名称
  7710. type: string
  7711. roleid:
  7712. description: 角色id
  7713. type: integer
  7714. sort:
  7715. description: 排序
  7716. type: integer
  7717. url:
  7718. description: URL
  7719. type: string
  7720. userid:
  7721. description: 用户id
  7722. type: integer
  7723. type: object
  7724. models.ErmcpRoleMenuEx:
  7725. properties:
  7726. menu:
  7727. $ref: '#/definitions/models.ErmcpRoleMenu'
  7728. description: 父级菜单
  7729. subMenu:
  7730. description: 子级菜单
  7731. items:
  7732. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  7733. type: array
  7734. type: object
  7735. models.ErmcpTaAccount:
  7736. properties:
  7737. accountid:
  7738. description: 账户id
  7739. type: integer
  7740. accountname:
  7741. description: 账户名称
  7742. type: string
  7743. currencyid:
  7744. description: 币种id
  7745. type: integer
  7746. hedgeaccountcode:
  7747. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  7748. type: string
  7749. ismain:
  7750. description: 是否主账户 0-否 1-是
  7751. type: integer
  7752. parentaccountid:
  7753. description: 父账户id
  7754. type: integer
  7755. relateduserid:
  7756. description: 关联userid
  7757. type: integer
  7758. tradefeetmpid:
  7759. description: 手续费模板id
  7760. type: integer
  7761. tradefeetmpname:
  7762. description: 手续费模板名称
  7763. type: string
  7764. trademargintmpid:
  7765. description: 保证金模板id
  7766. type: integer
  7767. trademargintmpname:
  7768. description: 保证金模板名称
  7769. type: string
  7770. traderatetmpid:
  7771. description: 汇率模板id
  7772. type: integer
  7773. traderatetmpname:
  7774. description: 汇率模板名称
  7775. type: string
  7776. tradestatus:
  7777. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7778. type: integer
  7779. userid:
  7780. description: 用户id
  7781. type: integer
  7782. type: object
  7783. models.ErmcpTaAccountEx:
  7784. properties:
  7785. mainAcc:
  7786. $ref: '#/definitions/models.ErmcpTaAccountM'
  7787. description: 主账号
  7788. subacclist:
  7789. description: 子账号列表
  7790. items:
  7791. $ref: '#/definitions/models.ErmcpTaAccount'
  7792. type: array
  7793. type: object
  7794. models.ErmcpTaAccountInfo:
  7795. properties:
  7796. accountid:
  7797. description: 资金账户ID
  7798. type: integer
  7799. accountname:
  7800. description: 账户名称
  7801. type: string
  7802. balance:
  7803. description: 期初余额
  7804. type: number
  7805. capitalbalance:
  7806. description: 本金余额[外部子账户实际出入金余额]
  7807. type: number
  7808. closepl:
  7809. description: 今日平仓盈亏
  7810. type: number
  7811. creditdecrease:
  7812. description: 今日授信减少
  7813. type: number
  7814. creditincrease:
  7815. description: 今日授信增加
  7816. type: number
  7817. curdebt:
  7818. description: 期末欠款
  7819. type: number
  7820. currencyid:
  7821. description: 货币ID
  7822. type: integer
  7823. currentbalance:
  7824. description: 期末余额
  7825. type: number
  7826. freezecharge:
  7827. description: 手续费冻结
  7828. type: number
  7829. freezemargin:
  7830. description: 冻结保证金
  7831. type: number
  7832. fromaccountid:
  7833. description: 所属上级账户
  7834. type: integer
  7835. inamount:
  7836. description: 今日入金金额(包括三方入金)
  7837. type: number
  7838. ismain:
  7839. description: 是否母账号 0:不是母账户 1:是母账户
  7840. type: integer
  7841. mortgagecredit:
  7842. description: 授信金额
  7843. type: number
  7844. oridebt:
  7845. description: 期初欠款
  7846. type: number
  7847. orifreezecharge:
  7848. description: 期初手续费冻结
  7849. type: number
  7850. orifreezemargin:
  7851. description: 期初冻结保证金
  7852. type: number
  7853. orimortgagecredit:
  7854. description: 期初授信金额
  7855. type: number
  7856. oriothercredit:
  7857. description: 期初其它授信金额
  7858. type: number
  7859. oriotherfreezemargin:
  7860. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  7861. type: number
  7862. orioutamountfreeze:
  7863. description: 期初出金冻结
  7864. type: number
  7865. oriusedmargin:
  7866. description: 期初占用保证金
  7867. type: number
  7868. othercredit:
  7869. description: 其它授信金额
  7870. type: number
  7871. othercreditdecrease:
  7872. description: 今日其它授信减少
  7873. type: number
  7874. othercreditincrease:
  7875. description: 今日其它授信增加
  7876. type: number
  7877. otherfreezemargin:
  7878. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  7879. type: number
  7880. outamount:
  7881. description: 今日出金金额(包括三方出金)
  7882. type: number
  7883. outamountfreeze:
  7884. description: 出金冻结
  7885. type: number
  7886. outthreshold:
  7887. description: 出金阈值
  7888. type: number
  7889. parentaccountid:
  7890. description: 所属根账号
  7891. type: integer
  7892. paycharge:
  7893. description: 今日手续费支出
  7894. type: number
  7895. relateduserid:
  7896. description: 关联用户
  7897. type: integer
  7898. signstatus:
  7899. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  7900. type: integer
  7901. sublevelpath:
  7902. description: 账号层级路径(逗号分隔,首尾加逗号)
  7903. type: string
  7904. taaccounttype:
  7905. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  7906. type: integer
  7907. thirdinamount:
  7908. description: 今日三方入金
  7909. type: number
  7910. thirdoutamount:
  7911. description: 今日三方出金
  7912. type: number
  7913. tradestatus:
  7914. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7915. type: integer
  7916. transferamount:
  7917. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  7918. type: number
  7919. usedmargin:
  7920. description: 占用保证金
  7921. type: number
  7922. userid:
  7923. description: 用户ID
  7924. type: integer
  7925. type: object
  7926. models.ErmcpTaAccountM:
  7927. properties:
  7928. accountid:
  7929. description: 账户id
  7930. type: integer
  7931. accountname:
  7932. description: 账户名称
  7933. type: string
  7934. currencyid:
  7935. description: 币种id
  7936. type: integer
  7937. fcid:
  7938. description: 期货公司id
  7939. type: integer
  7940. fcname:
  7941. description: 期货公司代码
  7942. type: string
  7943. hedgeaccountcode:
  7944. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  7945. type: string
  7946. ismain:
  7947. description: 是否主账户 0-否 1-是
  7948. type: integer
  7949. parentaccountid:
  7950. description: 父账户id
  7951. type: integer
  7952. relateduserid:
  7953. description: 关联userid
  7954. type: integer
  7955. tradefeetmpid:
  7956. description: 手续费模板id
  7957. type: integer
  7958. tradefeetmpname:
  7959. description: 手续费模板名称
  7960. type: string
  7961. trademargintmpid:
  7962. description: 保证金模板id
  7963. type: integer
  7964. trademargintmpname:
  7965. description: 保证金模板名称
  7966. type: string
  7967. traderatetmpid:
  7968. description: 汇率模板id
  7969. type: integer
  7970. traderatetmpname:
  7971. description: 汇率模板名称
  7972. type: string
  7973. tradestatus:
  7974. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7975. type: integer
  7976. userid:
  7977. description: 用户id
  7978. type: integer
  7979. type: object
  7980. models.ErmcpTradeConfigTMP:
  7981. properties:
  7982. areauserid:
  7983. description: 所属机构
  7984. type: integer
  7985. basiccurrencyid:
  7986. description: 基本币种ID[汇率] - 目标币种
  7987. type: integer
  7988. mainaccountid:
  7989. description: 主账户ID
  7990. type: integer
  7991. modifierid:
  7992. description: 修改人
  7993. type: integer
  7994. remark:
  7995. description: 备注
  7996. type: string
  7997. tradeconfigtmpid:
  7998. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  7999. type: integer
  8000. tradeconfigtmpname:
  8001. description: 交易配置模板名称
  8002. type: string
  8003. tradeconfigtmptype:
  8004. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  8005. type: integer
  8006. updatetime:
  8007. description: 更新时间
  8008. type: string
  8009. type: object
  8010. models.Externalexchange:
  8011. properties:
  8012. autoid:
  8013. description: AutoID - SEQ_EXTERNALEXCHANGE
  8014. type: integer
  8015. exchangefullname:
  8016. description: 外部交易所全称
  8017. type: string
  8018. exexchangecode:
  8019. description: 外部交易所代码
  8020. type: string
  8021. exexchangename:
  8022. description: 外部交易所名称(简称)
  8023. type: string
  8024. ismarketprice:
  8025. description: 是否支持市价 - 0:不支持 1:支持
  8026. type: integer
  8027. quotegear:
  8028. description: 行情档位(1-10)
  8029. type: integer
  8030. showbrokerflag:
  8031. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  8032. type: integer
  8033. updatetime:
  8034. description: 更新时间
  8035. type: string
  8036. required:
  8037. - autoid
  8038. type: object
  8039. models.Funcmenulist:
  8040. properties:
  8041. iconame:
  8042. description: 菜单图标
  8043. type: string
  8044. menutype:
  8045. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  8046. type: integer
  8047. parentcode:
  8048. description: 上级资源代码
  8049. type: string
  8050. remark:
  8051. description: 备注
  8052. type: string
  8053. resourcecode:
  8054. description: 资源代码
  8055. type: string
  8056. resourcelevel:
  8057. description: 级别 1-一级 2-二级 3-三级 4-四级
  8058. type: integer
  8059. resourcename:
  8060. description: 资源名
  8061. type: string
  8062. sort:
  8063. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  8064. type: integer
  8065. url:
  8066. description: URL
  8067. type: string
  8068. required:
  8069. - resourcecode
  8070. type: object
  8071. models.Goods:
  8072. properties:
  8073. agreeunit:
  8074. description: 合约单位
  8075. type: number
  8076. areauserid:
  8077. description: 所属机构
  8078. type: integer
  8079. auditaccountid:
  8080. description: 审核操作员账号
  8081. type: integer
  8082. audittime:
  8083. description: 审核时间
  8084. type: string
  8085. cancelaccountid:
  8086. description: 注销操作员账号
  8087. type: integer
  8088. canceltime:
  8089. description: 注销时间
  8090. type: string
  8091. closepricemode:
  8092. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8093. type: integer
  8094. closepriceparam:
  8095. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  8096. type: number
  8097. createtime:
  8098. description: 创建时间
  8099. type: string
  8100. creatorid:
  8101. description: 创建人
  8102. type: integer
  8103. currencyid:
  8104. description: 报价货币ID
  8105. type: integer
  8106. cutmode:
  8107. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  8108. type: integer
  8109. decimalplace:
  8110. description: 报价小数位
  8111. type: integer
  8112. delistingdate:
  8113. description: 商品退市时间(状态:退市) -- 已作废
  8114. type: string
  8115. delistingmode:
  8116. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  8117. type: integer
  8118. deliveryflag:
  8119. description: 交割标志 - 0:不可交割 1:可交割
  8120. type: integer
  8121. forceclosemode:
  8122. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  8123. type: integer
  8124. forceclosevalue:
  8125. description: 定期强平参数 [收益权]
  8126. type: integer
  8127. goodscode:
  8128. description: 商品代码(内部)
  8129. type: string
  8130. goodscurrencyid:
  8131. description: 合约货币ID
  8132. type: integer
  8133. goodsgroupid:
  8134. description: 所属商品组ID
  8135. type: integer
  8136. goodsid:
  8137. description: 商品ID(自增ID SEQ_GOODS)
  8138. type: integer
  8139. goodsname:
  8140. description: 商品名称
  8141. type: string
  8142. goodsquotetype:
  8143. description: '合约报价类型: 1-直接报价 2-间接报价'
  8144. type: integer
  8145. goodsstatus:
  8146. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8147. type: integer
  8148. goodstradetype:
  8149. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  8150. type: integer
  8151. goodunitid:
  8152. description: 报价单位ID
  8153. type: integer
  8154. hasquoter:
  8155. description: 是否有报价商 - 0:无报价商 1:有报价商
  8156. type: integer
  8157. hqprotecttime:
  8158. description: 行情保护时间(秒)
  8159. type: integer
  8160. innerdealmode:
  8161. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8162. type: integer
  8163. isbuylimited:
  8164. description: 是否限制建仓量 - 0:不限制 1:限制
  8165. type: integer
  8166. isvisible:
  8167. description: 游客是否可见 - 0:不可见 1:可见
  8168. type: integer
  8169. lasttradedate:
  8170. description: 最后交易日期(状态:待退市)
  8171. type: string
  8172. listingdate:
  8173. description: 交易开始日期
  8174. type: string
  8175. marketid:
  8176. description: 所属市场ID
  8177. type: integer
  8178. modifierid:
  8179. description: 修改人
  8180. type: integer
  8181. modifystatus:
  8182. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  8183. type: integer
  8184. modifytime:
  8185. description: 修改时间
  8186. type: string
  8187. outerdealmode:
  8188. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8189. type: integer
  8190. outgoodscode:
  8191. description: 商品代码(外部)
  8192. type: string
  8193. pictureurl:
  8194. description: 商品图片
  8195. type: string
  8196. qtydecimalplace:
  8197. description: 成交量小数位
  8198. type: integer
  8199. quotegear:
  8200. description: 行情档位(1-10)
  8201. type: integer
  8202. quoteminunit:
  8203. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8204. type: integer
  8205. quoteshowtype:
  8206. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  8207. type: integer
  8208. quoteshowtypeinterval:
  8209. description: 行情报价间隔时间(秒)(成交价时为0)
  8210. type: integer
  8211. remark:
  8212. description: 备注
  8213. type: string
  8214. required:
  8215. - goodscode
  8216. - goodsid
  8217. - goodsname
  8218. - marketid
  8219. type: object
  8220. models.GoodsIDAndName:
  8221. properties:
  8222. goodscode:
  8223. description: 商品代码(内部)
  8224. type: string
  8225. goodsid:
  8226. description: 商品ID(自增ID SEQ_GOODS)
  8227. type: integer
  8228. goodsname:
  8229. description: 商品名称
  8230. type: string
  8231. marketid:
  8232. description: 所属市场ID
  8233. type: integer
  8234. required:
  8235. - goodscode
  8236. - goodsid
  8237. - goodsname
  8238. - marketid
  8239. type: object
  8240. models.Goodsgroup:
  8241. properties:
  8242. agreeunit:
  8243. description: 合约单位
  8244. type: number
  8245. canshort:
  8246. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  8247. type: integer
  8248. closepricemode:
  8249. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8250. type: integer
  8251. closepriceparam:
  8252. description: 强平最新价浮动比例 - 方式为2时使用
  8253. type: number
  8254. createtime:
  8255. description: 创建时间
  8256. type: string
  8257. creatorid:
  8258. description: 创建人
  8259. type: integer
  8260. currencyid:
  8261. description: 报价货币ID
  8262. type: integer
  8263. decimalplace:
  8264. description: 报价小数位
  8265. type: integer
  8266. exercisetype:
  8267. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  8268. type: integer
  8269. exexchangeid:
  8270. description: 外部交易所ID[通道交易]
  8271. type: integer
  8272. goodsgroupid:
  8273. description: 商品组ID(自增ID)
  8274. type: integer
  8275. goodsgroupname:
  8276. description: 商品组名称
  8277. type: string
  8278. goodsgroupstatus:
  8279. description: 商品组状态 - 1:正常 2:注销
  8280. type: integer
  8281. goodunitid:
  8282. description: 报价单位ID
  8283. type: integer
  8284. innerdealmode:
  8285. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8286. type: integer
  8287. isbuylimited:
  8288. description: 是否限制建仓量 - 0:不限制 1:限制
  8289. type: integer
  8290. marketid:
  8291. description: 所属市场ID
  8292. type: integer
  8293. modifierid:
  8294. description: 修改人
  8295. type: integer
  8296. modifytime:
  8297. description: 修改时间
  8298. type: string
  8299. outerdealmode:
  8300. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8301. type: integer
  8302. outergroupcode:
  8303. description: 外部商品组代码[通道交易]
  8304. type: string
  8305. premiumdecimalplace:
  8306. description: 权利金小数位[场外期权]
  8307. type: integer
  8308. premiumspreadalgorithm:
  8309. description: 权利金点差方式[场外期权] 1:比率 2:固定
  8310. type: integer
  8311. premiumspreadvalue:
  8312. description: 权利金点差值[场外期权]
  8313. type: number
  8314. qtydecimalplace:
  8315. description: 成交量小数位
  8316. type: integer
  8317. quotegear:
  8318. description: 行情档位(1-10)
  8319. type: integer
  8320. quoteminunit:
  8321. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8322. type: integer
  8323. quoterid:
  8324. description: 报价商ID[场外期权]
  8325. type: integer
  8326. quotesourcegroupid:
  8327. description: 所属行情源分组ID[参考行情市场用\通道交易]
  8328. type: integer
  8329. syncgoodsqty:
  8330. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  8331. type: integer
  8332. required:
  8333. - goodsgroupid
  8334. - goodsgroupname
  8335. - goodsgroupstatus
  8336. - marketid
  8337. type: object
  8338. models.Goodssortbypreposition:
  8339. properties:
  8340. goodscode:
  8341. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  8342. type: string
  8343. goodsgroupcode:
  8344. description: 品种代码
  8345. type: string
  8346. prepositionqty:
  8347. description: 昨持仓量
  8348. type: integer
  8349. sortindex:
  8350. description: 排序
  8351. type: integer
  8352. tradedate:
  8353. description: 交易日
  8354. type: string
  8355. updatetime:
  8356. description: 更新时间
  8357. type: string
  8358. required:
  8359. - goodscode
  8360. - tradedate
  8361. type: object
  8362. models.Hedgeinnerholderdetail:
  8363. properties:
  8364. accountid:
  8365. description: 账号ID
  8366. type: integer
  8367. buyorsell:
  8368. description: 方向 - 0:买 1:卖
  8369. type: integer
  8370. freezeqty:
  8371. description: 冻结数量 - 按单平使用
  8372. type: integer
  8373. goodsid:
  8374. description: 商品ID
  8375. type: integer
  8376. holderamount:
  8377. description: 持仓金额 [商品币种]
  8378. type: number
  8379. holderdays:
  8380. description: 剩余冻结天数
  8381. type: integer
  8382. holderprice:
  8383. description: 持仓价格
  8384. type: number
  8385. holderqty:
  8386. description: 持仓数量
  8387. type: integer
  8388. marketid:
  8389. description: 市场ID
  8390. type: integer
  8391. openprice:
  8392. description: 建仓价格
  8393. type: number
  8394. openqty:
  8395. description: 建仓数量
  8396. type: integer
  8397. parentaccountid:
  8398. description: 所属母账户
  8399. type: integer
  8400. releaseamount:
  8401. description: 释放持仓金额[商品币种]
  8402. type: number
  8403. tradeamount:
  8404. description: 成交金额[账户]
  8405. type: number
  8406. tradedate:
  8407. description: 交易日(yyyyMMdd)
  8408. type: string
  8409. tradeid:
  8410. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8411. type: string
  8412. tradetime:
  8413. description: 交易时间
  8414. type: string
  8415. required:
  8416. - buyorsell
  8417. - tradeid
  8418. type: object
  8419. models.Hedgemarketopenlog:
  8420. properties:
  8421. accountid:
  8422. description: 资金账号[外部母账户]
  8423. type: integer
  8424. fcname:
  8425. description: 期货公司名称
  8426. type: string
  8427. handlestatus:
  8428. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  8429. type: integer
  8430. marketid:
  8431. description: 市场ID
  8432. type: integer
  8433. status:
  8434. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  8435. type: integer
  8436. tradedate:
  8437. description: 交易日(yyyyMMdd)
  8438. type: string
  8439. updatetime:
  8440. description: 更新时间
  8441. type: string
  8442. required:
  8443. - accountid
  8444. type: object
  8445. models.HsbyBuyMyPayOrder:
  8446. properties:
  8447. agreeunit:
  8448. description: 合约单位
  8449. type: number
  8450. buyaccountid:
  8451. description: 买方账号ID[报价币种]
  8452. type: integer
  8453. buyorderid:
  8454. description: 买方委托单号
  8455. type: string
  8456. createtime:
  8457. description: 创建时间
  8458. type: string
  8459. currencysign:
  8460. description: 货币符号
  8461. type: string
  8462. decimalplace:
  8463. description: 报价小数位
  8464. type: integer
  8465. goodscode:
  8466. description: 商品代码(内部)
  8467. type: string
  8468. goodsid:
  8469. description: 商品ID
  8470. type: integer
  8471. goodsname:
  8472. description: 商品名称
  8473. type: string
  8474. marketid:
  8475. description: 市场ID
  8476. type: integer
  8477. offamount:
  8478. description: 优惠金额
  8479. type: number
  8480. originalamount:
  8481. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  8482. type: number
  8483. payamount:
  8484. description: 支付金额 = TradeAmount + TradeCharge
  8485. type: number
  8486. payflag:
  8487. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  8488. type: integer
  8489. paylimitedtime:
  8490. description: 支付期限
  8491. type: string
  8492. paytime:
  8493. description: 付款时间
  8494. type: string
  8495. picurls1:
  8496. description: 预售商品介绍图片[多张用逗号分隔]
  8497. type: string
  8498. picurls2:
  8499. description: 挂牌商品介绍图片[多张用逗号分隔]
  8500. type: string
  8501. sellaccountid:
  8502. description: 卖方账号ID[报价币种]
  8503. type: integer
  8504. sellorderid:
  8505. description: 卖方委托单号
  8506. type: string
  8507. tradeamount:
  8508. description: 成交金额
  8509. type: number
  8510. tradecharge:
  8511. description: 成交手续费(买方)
  8512. type: number
  8513. tradedate:
  8514. description: 交易日(yyyyMMdd)
  8515. type: string
  8516. tradeid:
  8517. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8518. type: string
  8519. trademode:
  8520. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8521. type: integer
  8522. tradeprice:
  8523. description: 成交价格
  8524. type: number
  8525. tradeqty:
  8526. description: 成交数量
  8527. type: integer
  8528. vendorname1:
  8529. description: 预售商品供应商名称
  8530. type: string
  8531. vendorname2:
  8532. description: 挂牌商品供应商名称
  8533. type: string
  8534. required:
  8535. - goodscode
  8536. - goodsname
  8537. - tradeid
  8538. - trademode
  8539. type: object
  8540. models.HsbyBuyMyTradeDetail:
  8541. properties:
  8542. accountid:
  8543. description: 账户ID[报价币种]
  8544. type: integer
  8545. agreeunit:
  8546. description: 合约单位
  8547. type: number
  8548. amount:
  8549. description: 金额 = 价格 * 数量 * 合约单位
  8550. type: number
  8551. buyorsell:
  8552. description: 买卖 - 0:买 1:卖
  8553. type: integer
  8554. currencysign:
  8555. description: 货币符号
  8556. type: string
  8557. decimalplace:
  8558. description: 报价小数位
  8559. type: integer
  8560. goodscode:
  8561. description: 商品代码(内部)
  8562. type: string
  8563. goodsid:
  8564. description: 商品ID
  8565. type: integer
  8566. goodsname:
  8567. description: 商品名称
  8568. type: string
  8569. marketid:
  8570. description: 市场ID
  8571. type: integer
  8572. orderamount:
  8573. description: 委托金额
  8574. type: number
  8575. orderid:
  8576. description: 单号(成交单号)
  8577. type: string
  8578. picurls1:
  8579. description: 预售商品介绍图片[多张用逗号分隔]
  8580. type: string
  8581. picurls2:
  8582. description: 挂牌商品介绍图片[多张用逗号分隔]
  8583. type: string
  8584. price:
  8585. description: 价格
  8586. type: number
  8587. qty:
  8588. description: 数量
  8589. type: integer
  8590. time:
  8591. description: 时间
  8592. type: string
  8593. trademode:
  8594. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8595. type: integer
  8596. vendorname1:
  8597. description: 预售商品供应商名称
  8598. type: string
  8599. vendorname2:
  8600. description: 挂牌商品供应商名称
  8601. type: string
  8602. required:
  8603. - accountid
  8604. - buyorsell
  8605. - goodscode
  8606. - goodsid
  8607. - goodsname
  8608. - marketid
  8609. - orderid
  8610. - qty
  8611. - time
  8612. - trademode
  8613. type: object
  8614. models.HsbyGoodsOrderDetail:
  8615. properties:
  8616. buyorsell:
  8617. description: 买卖 - 0:买 1:卖
  8618. type: integer
  8619. currencysign:
  8620. description: 货币符号
  8621. type: string
  8622. customername:
  8623. description: 客户名称(企业名称),已脱敏
  8624. type: string
  8625. enableqty:
  8626. description: 可用数量
  8627. type: integer
  8628. goodunit:
  8629. description: 报价单位
  8630. type: string
  8631. orderid:
  8632. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8633. type: string
  8634. orderprice:
  8635. description: 委托价格
  8636. type: number
  8637. ordertime:
  8638. description: 委托时间
  8639. type: string
  8640. required:
  8641. - buyorsell
  8642. - orderid
  8643. - ordertime
  8644. type: object
  8645. models.HsbyListingGoodsDetail:
  8646. properties:
  8647. agreeunit:
  8648. description: 合约单位
  8649. type: number
  8650. buymaxqty:
  8651. description: 购买上限 [71] - 0为不限
  8652. type: integer
  8653. currency:
  8654. description: 货币
  8655. type: string
  8656. currencysign:
  8657. description: 货币符号
  8658. type: string
  8659. decimalplace:
  8660. description: 报价小数位
  8661. type: integer
  8662. desccityid:
  8663. description: 目的地(市)ID
  8664. type: integer
  8665. descprovinceid:
  8666. description: 目的地(省)ID
  8667. type: integer
  8668. goodscode:
  8669. description: 商品代码(内部)
  8670. type: string
  8671. goodsdesc:
  8672. description: 商品详情
  8673. type: string
  8674. goodsid:
  8675. description: 商品ID(自增ID SEQ_GOODS)
  8676. type: integer
  8677. goodsname:
  8678. description: 商品名称
  8679. type: string
  8680. goodsprice:
  8681. description: 商品价格
  8682. type: number
  8683. hotindex:
  8684. description: 景点热度
  8685. type: integer
  8686. last:
  8687. description: 现价
  8688. type: number
  8689. limitdown:
  8690. description: 跌停价
  8691. type: number
  8692. limitup:
  8693. description: 涨停价
  8694. type: number
  8695. lotsize:
  8696. description: 手数最小变动单位
  8697. type: integer
  8698. marketid:
  8699. description: 所属市场ID
  8700. type: integer
  8701. picurls:
  8702. description: 介绍图片[多张用逗号分隔]
  8703. type: string
  8704. quoteminunit:
  8705. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8706. type: integer
  8707. stepvalue:
  8708. description: 价格最小变动单位
  8709. type: number
  8710. trademode:
  8711. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8712. type: integer
  8713. vendorattr:
  8714. description: 供应商附件(多张,逗号分隔)
  8715. type: string
  8716. vendorname:
  8717. description: 供应商名称
  8718. type: string
  8719. vendorphone:
  8720. description: 供应商客服电话
  8721. type: string
  8722. videourls:
  8723. description: 介绍视频[多张用逗号分隔]
  8724. type: string
  8725. required:
  8726. - goodscode
  8727. - goodsid
  8728. - goodsname
  8729. - marketid
  8730. - trademode
  8731. type: object
  8732. models.HsbyMarketGoods:
  8733. properties:
  8734. accountid:
  8735. description: 账户ID[报价币种]
  8736. type: integer
  8737. agreeunit:
  8738. description: 合约单位
  8739. type: number
  8740. buyorsell:
  8741. description: 买卖 - 0:买 1:卖
  8742. type: integer
  8743. categoryid:
  8744. description: 类别ID(WRCATEGORY)
  8745. type: integer
  8746. currency:
  8747. description: 货币
  8748. type: string
  8749. currencysign:
  8750. description: 货币符号
  8751. type: string
  8752. customername:
  8753. description: 卖家名称
  8754. type: string
  8755. decimalplace:
  8756. description: 报价小数位
  8757. type: integer
  8758. goodscode:
  8759. description: 商品代码(内部)
  8760. type: string
  8761. goodsid:
  8762. description: 商品ID
  8763. type: integer
  8764. goodsname:
  8765. description: 商品名称
  8766. type: string
  8767. goodsprice:
  8768. description: 商品价格
  8769. type: number
  8770. hascoupon:
  8771. description: 是否可用优惠卷
  8772. type: boolean
  8773. hotindex:
  8774. description: 景点热度
  8775. type: integer
  8776. marketid:
  8777. description: 市场ID
  8778. type: integer
  8779. orderid:
  8780. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8781. type: string
  8782. orderprice:
  8783. description: 委托价格
  8784. type: number
  8785. orderstatus:
  8786. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  8787. type: integer
  8788. picurls:
  8789. description: 介绍图片[多张用逗号分隔]
  8790. type: string
  8791. quoteminunit:
  8792. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8793. type: integer
  8794. sellUserID:
  8795. description: 卖方UserID
  8796. type: integer
  8797. trademode:
  8798. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8799. type: integer
  8800. videourls:
  8801. description: 介绍视频[多张用逗号分隔]
  8802. type: string
  8803. required:
  8804. - accountid
  8805. - buyorsell
  8806. - goodscode
  8807. - goodsid
  8808. - goodsname
  8809. - marketid
  8810. - orderid
  8811. - trademode
  8812. type: object
  8813. models.HsbyMarketGoodsDetail:
  8814. properties:
  8815. accountid:
  8816. description: 账户ID[报价币种]
  8817. type: integer
  8818. agreeunit:
  8819. description: 合约单位
  8820. type: number
  8821. buymaxqty:
  8822. description: 购买上限 [71] - 0为不限
  8823. type: integer
  8824. buyorsell:
  8825. description: 买卖 - 0:买 1:卖
  8826. type: integer
  8827. cancelqty:
  8828. description: 撤单数量
  8829. type: integer
  8830. categoryid:
  8831. description: 类别ID(WRCATEGORY)
  8832. type: integer
  8833. currency:
  8834. description: 货币
  8835. type: string
  8836. currencysign:
  8837. description: 货币符号
  8838. type: string
  8839. customername:
  8840. description: 卖家名称
  8841. type: string
  8842. decimalplace:
  8843. description: 报价小数位
  8844. type: integer
  8845. goodscode:
  8846. description: 商品代码(内部)
  8847. type: string
  8848. goodsdesc:
  8849. description: 商品详情
  8850. type: string
  8851. goodsid:
  8852. description: 商品ID
  8853. type: integer
  8854. goodsname:
  8855. description: 商品名称
  8856. type: string
  8857. goodsprice:
  8858. description: 商品价格
  8859. type: number
  8860. hotindex:
  8861. description: 景点热度
  8862. type: integer
  8863. lotsize:
  8864. description: 手数最小变动单位
  8865. type: integer
  8866. marketid:
  8867. description: 市场ID
  8868. type: integer
  8869. orderid:
  8870. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8871. type: string
  8872. orderprice:
  8873. description: 委托价格
  8874. type: number
  8875. orderqty:
  8876. description: 委托数量
  8877. type: integer
  8878. orderstatus:
  8879. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  8880. type: integer
  8881. picurls:
  8882. description: 介绍图片[多张用逗号分隔]
  8883. type: string
  8884. quoteminunit:
  8885. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8886. type: integer
  8887. sellUserID:
  8888. description: 卖方UserID
  8889. type: integer
  8890. trademode:
  8891. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8892. type: integer
  8893. tradeqty:
  8894. description: 成交数量
  8895. type: integer
  8896. vendorattr:
  8897. description: 供应商附件(多张,逗号分隔)
  8898. type: string
  8899. vendorname:
  8900. description: 供应商名称
  8901. type: string
  8902. vendorphone:
  8903. description: 供应商客服电话
  8904. type: string
  8905. videourls:
  8906. description: 介绍视频[多张用逗号分隔]
  8907. type: string
  8908. required:
  8909. - accountid
  8910. - buyorsell
  8911. - goodscode
  8912. - goodsid
  8913. - goodsname
  8914. - marketid
  8915. - orderid
  8916. - orderqty
  8917. - trademode
  8918. type: object
  8919. models.HsbyMarketInfo:
  8920. properties:
  8921. marketid:
  8922. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8923. type: integer
  8924. marketname:
  8925. description: 市场名称
  8926. type: string
  8927. marketstatus:
  8928. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8929. type: integer
  8930. trademode:
  8931. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8932. type: integer
  8933. required:
  8934. - marketid
  8935. - marketstatus
  8936. - trademode
  8937. type: object
  8938. models.HsbyMyGoods:
  8939. properties:
  8940. accountid:
  8941. description: 账号Id
  8942. type: integer
  8943. agreeunit:
  8944. description: 合约单位
  8945. type: number
  8946. buyaverageprice:
  8947. description: 持仓均价
  8948. type: number
  8949. buycurholderamount:
  8950. description: 买当前持仓总金额[商品币种]
  8951. type: number
  8952. buycurpositionqty:
  8953. description: 买当前持仓总数量
  8954. type: integer
  8955. buymaxqty:
  8956. description: 购买上限 [71] - 0为不限
  8957. type: integer
  8958. currencysign:
  8959. description: 货币符号
  8960. type: string
  8961. decimalplace:
  8962. description: 报价小数位
  8963. type: integer
  8964. enableqty:
  8965. description: 可用数量
  8966. type: integer
  8967. goodscode:
  8968. description: 商品代码(内部)
  8969. type: string
  8970. goodsid:
  8971. description: 商品Id
  8972. type: integer
  8973. goodsname:
  8974. description: 商品名称
  8975. type: string
  8976. goodsprice:
  8977. description: 商品价格
  8978. type: number
  8979. goodsstatus:
  8980. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8981. type: integer
  8982. last:
  8983. description: 现价(仅使用于挂牌点选)
  8984. type: number
  8985. limitdown:
  8986. description: 跌停价(仅使用于挂牌点选)
  8987. type: number
  8988. limitup:
  8989. description: 涨停价(仅使用于挂牌点选)
  8990. type: number
  8991. lotsize:
  8992. description: 手数最小变动单位
  8993. type: integer
  8994. marketid:
  8995. description: 所属市场ID
  8996. type: integer
  8997. picurls:
  8998. description: 介绍图片[多张用逗号分隔]
  8999. type: string
  9000. quoteminunit:
  9001. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9002. type: integer
  9003. stepvalue:
  9004. description: 价格最小变动单位
  9005. type: number
  9006. trademode:
  9007. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9008. type: integer
  9009. required:
  9010. - accountid
  9011. - goodscode
  9012. - goodsid
  9013. - goodsname
  9014. - marketid
  9015. - trademode
  9016. type: object
  9017. models.HsbyMyPackage:
  9018. properties:
  9019. accountid:
  9020. description: 账户ID
  9021. type: integer
  9022. address:
  9023. description: 提货人详细地址
  9024. type: string
  9025. agreeunit:
  9026. description: 合约单位
  9027. type: number
  9028. amount:
  9029. description: 提货金额
  9030. type: number
  9031. auditer:
  9032. description: 审核人
  9033. type: integer
  9034. audittime:
  9035. description: 审核时间
  9036. type: string
  9037. averageprice:
  9038. description: 均价
  9039. type: number
  9040. cardnum:
  9041. description: 提货人证件号码
  9042. type: string
  9043. cardtypeid:
  9044. description: 提货人证件类型
  9045. type: integer
  9046. checkremark:
  9047. description: 审核备注
  9048. type: string
  9049. currencysign:
  9050. description: 货币符号
  9051. type: string
  9052. decimalplace:
  9053. description: 报价小数位
  9054. type: integer
  9055. goodscode:
  9056. description: 商品代码(内部)
  9057. type: string
  9058. goodsid:
  9059. description: 商品ID
  9060. type: integer
  9061. goodsname:
  9062. description: 商品名称
  9063. type: string
  9064. handlestatus:
  9065. description: 处理状态
  9066. type: integer
  9067. marketid:
  9068. description: 市场ID
  9069. type: integer
  9070. phonenum:
  9071. description: 提货人联系方式
  9072. type: string
  9073. picurls:
  9074. description: 介绍图片[多张用逗号分隔]
  9075. type: string
  9076. qty:
  9077. description: 提货数量
  9078. type: number
  9079. recivername:
  9080. description: 提货人姓名
  9081. type: string
  9082. reqtime:
  9083. description: 更新时间
  9084. type: string
  9085. takemode:
  9086. description: 提货方式 - 2:自提 3:配送
  9087. type: integer
  9088. takeorderid:
  9089. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  9090. type: string
  9091. takeorderstatus:
  9092. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  9093. type: integer
  9094. takeremark:
  9095. description: 提货备注
  9096. type: string
  9097. tradedate:
  9098. description: 交易日(yyyyMMdd)
  9099. type: string
  9100. trademode:
  9101. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9102. type: integer
  9103. userid:
  9104. description: 用户ID
  9105. type: integer
  9106. vendorname:
  9107. description: 供应商名称
  9108. type: string
  9109. required:
  9110. - goodscode
  9111. - goodsname
  9112. - takeorderid
  9113. - trademode
  9114. type: object
  9115. models.HsbyPreGoods:
  9116. properties:
  9117. agreeunit:
  9118. description: 合约单位
  9119. type: number
  9120. currency:
  9121. description: 货币
  9122. type: string
  9123. currencysign:
  9124. description: 货币符号
  9125. type: string
  9126. decimalplace:
  9127. description: 报价小数位
  9128. type: integer
  9129. desccityid:
  9130. description: 目的地(市)
  9131. type: integer
  9132. descprovinceid:
  9133. description: 目的地(省)
  9134. type: integer
  9135. enableqty:
  9136. description: 剩余数量
  9137. type: integer
  9138. goodscode:
  9139. description: 商品代码(内部)
  9140. type: string
  9141. goodsid:
  9142. description: 商品ID(自增ID SEQ_GOODS)
  9143. type: integer
  9144. goodsname:
  9145. description: 商品名称
  9146. type: string
  9147. goodsstatus:
  9148. description: 商品状态- 2:未上市 3:上市
  9149. type: integer
  9150. lasttradedate:
  9151. description: 最后交易日期(状态:待退市)
  9152. type: string
  9153. listingdate:
  9154. description: 交易开始日期
  9155. type: string
  9156. marketid:
  9157. description: 所属市场ID
  9158. type: integer
  9159. picurls:
  9160. description: 介绍图片[多张用逗号分隔]
  9161. type: string
  9162. presaledqty:
  9163. description: 已预售量(预售结束时更新)
  9164. type: integer
  9165. presaleqty:
  9166. description: 预售数量
  9167. type: integer
  9168. quoteminunit:
  9169. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9170. type: integer
  9171. refprice:
  9172. description: 参考价格[一口价]
  9173. type: number
  9174. relatedgoodsid:
  9175. description: 关联交易合约ID
  9176. type: integer
  9177. trademode:
  9178. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9179. type: integer
  9180. videourls:
  9181. description: 介绍视频[多张用逗号分隔]
  9182. type: string
  9183. required:
  9184. - goodscode
  9185. - goodsid
  9186. - goodsname
  9187. - marketid
  9188. - trademode
  9189. type: object
  9190. models.HsbyPreGoodsDetail:
  9191. properties:
  9192. agreeunit:
  9193. description: 合约单位
  9194. type: number
  9195. buymaxqty:
  9196. description: 购买上限 [71] - 0为不限
  9197. type: integer
  9198. currency:
  9199. description: 货币
  9200. type: string
  9201. currencysign:
  9202. description: 货币符号
  9203. type: string
  9204. customername:
  9205. description: 发行单位
  9206. type: string
  9207. decimalplace:
  9208. description: 报价小数位
  9209. type: integer
  9210. desccityid:
  9211. description: 目的地(市)ID
  9212. type: integer
  9213. descprovinceid:
  9214. description: 目的地(省)ID
  9215. type: integer
  9216. enableqty:
  9217. description: 剩余数量
  9218. type: integer
  9219. goodscode:
  9220. description: 商品代码(内部)
  9221. type: string
  9222. goodsdesc:
  9223. description: 商品详情
  9224. type: string
  9225. goodsid:
  9226. description: 商品ID(自增ID SEQ_GOODS)
  9227. type: integer
  9228. goodsname:
  9229. description: 商品名称
  9230. type: string
  9231. goodsstatus:
  9232. description: 商品状态- 2:未上市 3:上市
  9233. type: integer
  9234. goodunit:
  9235. description: 报价单位
  9236. type: string
  9237. lasttradedate:
  9238. description: 最后交易日期(状态:待退市)
  9239. type: string
  9240. listingdate:
  9241. description: 交易开始日期
  9242. type: string
  9243. lotsize:
  9244. description: 手数最小变动单位
  9245. type: integer
  9246. marketid:
  9247. description: 所属市场ID
  9248. type: integer
  9249. picurls:
  9250. description: 介绍图片[多张用逗号分隔]
  9251. type: string
  9252. presaledqty:
  9253. description: 已预售量(预售结束时更新)
  9254. type: integer
  9255. presaleqty:
  9256. description: 预售数量
  9257. type: integer
  9258. quoteminunit:
  9259. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9260. type: integer
  9261. refprice:
  9262. description: 参考价格[一口价]
  9263. type: number
  9264. relatedgoodsid:
  9265. description: 关联交易合约ID
  9266. type: integer
  9267. stepvalue:
  9268. description: 价格最小变动单位
  9269. type: number
  9270. trademode:
  9271. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9272. type: integer
  9273. vendorattr:
  9274. description: 供应商附件(多张,逗号分隔)
  9275. type: string
  9276. vendorname:
  9277. description: 供应商名称
  9278. type: string
  9279. vendorphone:
  9280. description: 供应商客服电话
  9281. type: string
  9282. videourls:
  9283. description: 介绍视频[多张用逗号分隔]
  9284. type: string
  9285. required:
  9286. - goodscode
  9287. - goodsid
  9288. - goodsname
  9289. - marketid
  9290. - trademode
  9291. type: object
  9292. models.HsbySellCollectionOrder:
  9293. properties:
  9294. agreeunit:
  9295. description: 合约单位
  9296. type: number
  9297. buyaccountid:
  9298. description: 买方账号ID[报价币种]
  9299. type: integer
  9300. buyorderid:
  9301. description: 买方委托单号
  9302. type: string
  9303. createtime:
  9304. description: 创建时间
  9305. type: string
  9306. currencysign:
  9307. description: 货币符号
  9308. type: string
  9309. decimalplace:
  9310. description: 报价小数位
  9311. type: integer
  9312. goodscode:
  9313. description: 商品代码(内部)
  9314. type: string
  9315. goodsid:
  9316. description: 商品ID
  9317. type: integer
  9318. goodsname:
  9319. description: 商品名称
  9320. type: string
  9321. marketid:
  9322. description: 市场ID
  9323. type: integer
  9324. offamount:
  9325. description: 优惠金额
  9326. type: number
  9327. payamount:
  9328. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  9329. type: number
  9330. payflag:
  9331. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  9332. type: integer
  9333. paylimitedtime:
  9334. description: 支付期限
  9335. type: string
  9336. paytime:
  9337. description: 付款时间
  9338. type: string
  9339. picurls:
  9340. description: 商品介绍图片[多张用逗号分隔]
  9341. type: string
  9342. sellaccountid:
  9343. description: 卖方账号ID[报价币种]
  9344. type: integer
  9345. sellorderid:
  9346. description: 卖方委托单号
  9347. type: string
  9348. tradeamount:
  9349. description: 成交金额
  9350. type: number
  9351. tradecharge:
  9352. description: 成交手续费(买方)
  9353. type: number
  9354. tradedate:
  9355. description: 交易日(yyyyMMdd)
  9356. type: string
  9357. tradeid:
  9358. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9359. type: string
  9360. trademode:
  9361. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9362. type: integer
  9363. tradeprice:
  9364. description: 成交价格
  9365. type: number
  9366. tradeqty:
  9367. description: 成交数量
  9368. type: integer
  9369. required:
  9370. - goodscode
  9371. - goodsname
  9372. - tradeid
  9373. - trademode
  9374. type: object
  9375. models.HsbySellMyDetail:
  9376. properties:
  9377. accountid:
  9378. description: 账户ID[报价币种]
  9379. type: integer
  9380. agreeunit:
  9381. description: 合约单位
  9382. type: number
  9383. buyorsell:
  9384. description: 买卖 - 0:买 1:卖
  9385. type: integer
  9386. currencysign:
  9387. description: 货币符号
  9388. type: string
  9389. decimalplace:
  9390. description: 报价小数位
  9391. type: integer
  9392. goodscode:
  9393. description: 商品代码(内部)
  9394. type: string
  9395. goodsid:
  9396. description: 商品ID
  9397. type: integer
  9398. goodsname:
  9399. description: 商品名称
  9400. type: string
  9401. marketid:
  9402. description: 市场ID
  9403. type: integer
  9404. orderid:
  9405. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  9406. type: string
  9407. ordertype:
  9408. description: 单据类型:0 - 发布中, 1 - 已完成
  9409. type: integer
  9410. picurls:
  9411. description: 介绍图片[多张用逗号分隔]
  9412. type: string
  9413. price:
  9414. description: 价格
  9415. type: number
  9416. qty:
  9417. description: 数量
  9418. type: integer
  9419. time:
  9420. description: 时间
  9421. type: string
  9422. trademode:
  9423. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9424. type: integer
  9425. vendorname:
  9426. description: 供应商名称
  9427. type: string
  9428. required:
  9429. - accountid
  9430. - buyorsell
  9431. - goodscode
  9432. - goodsid
  9433. - goodsname
  9434. - marketid
  9435. - orderid
  9436. - time
  9437. - trademode
  9438. type: object
  9439. models.HsbyTopGoods:
  9440. properties:
  9441. agreeunit:
  9442. description: 合约单位
  9443. type: number
  9444. currency:
  9445. description: 货币
  9446. type: string
  9447. currencysign:
  9448. description: 货币符号
  9449. type: string
  9450. decimalplace:
  9451. description: 报价小数位
  9452. type: integer
  9453. desccityid:
  9454. description: 目的地(市)
  9455. type: integer
  9456. descprovinceid:
  9457. description: 目的地(省)
  9458. type: integer
  9459. goodscode:
  9460. description: 商品代码(内部)
  9461. type: string
  9462. goodsid:
  9463. description: 商品ID(自增ID SEQ_GOODS)
  9464. type: integer
  9465. goodsname:
  9466. description: 商品名称
  9467. type: string
  9468. hotindex:
  9469. description: 景点热度
  9470. type: integer
  9471. last:
  9472. description: 现价
  9473. type: number
  9474. marketid:
  9475. description: 所属市场ID
  9476. type: integer
  9477. picurls:
  9478. description: 介绍图片[多张用逗号分隔]
  9479. type: string
  9480. quoteminunit:
  9481. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9482. type: integer
  9483. trademode:
  9484. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9485. type: integer
  9486. videourls:
  9487. description: 介绍视频[多张用逗号分隔]
  9488. type: string
  9489. required:
  9490. - goodscode
  9491. - goodsid
  9492. - goodsname
  9493. - marketid
  9494. - trademode
  9495. type: object
  9496. models.HybsMyBuyOrderDetail:
  9497. properties:
  9498. accountid:
  9499. description: 账户ID[报价币种]
  9500. type: integer
  9501. agreeunit:
  9502. description: 合约单位
  9503. type: number
  9504. buyorsell:
  9505. description: 买卖 - 0:买 1:卖
  9506. type: integer
  9507. cancelqty:
  9508. description: 撤单数量
  9509. type: integer
  9510. currencysign:
  9511. description: 货币符号
  9512. type: string
  9513. decimalplace:
  9514. description: 报价小数位
  9515. type: integer
  9516. goodscode:
  9517. description: 商品代码(内部)
  9518. type: string
  9519. goodsid:
  9520. description: 商品ID
  9521. type: integer
  9522. goodsname:
  9523. description: 商品名称
  9524. type: string
  9525. listingselecttype:
  9526. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  9527. type: integer
  9528. marketid:
  9529. description: 市场ID
  9530. type: integer
  9531. mybuystatus:
  9532. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  9533. type: integer
  9534. orderamount:
  9535. description: 委托金额
  9536. type: number
  9537. orderid:
  9538. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9539. type: string
  9540. orderprice:
  9541. description: 委托价格
  9542. type: number
  9543. orderqty:
  9544. description: 委托数量
  9545. type: integer
  9546. orderstatus:
  9547. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  9548. type: integer
  9549. ordertime:
  9550. description: 委托时间
  9551. type: string
  9552. picurls1:
  9553. description: 预售商品介绍图片[多张用逗号分隔]
  9554. type: string
  9555. picurls2:
  9556. description: 挂牌商品介绍图片[多张用逗号分隔]
  9557. type: string
  9558. trademode:
  9559. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9560. type: integer
  9561. tradeqty:
  9562. description: 成交数量
  9563. type: integer
  9564. vendorname1:
  9565. description: 预售商品供应商名称
  9566. type: string
  9567. vendorname2:
  9568. description: 挂牌商品供应商名称
  9569. type: string
  9570. required:
  9571. - accountid
  9572. - buyorsell
  9573. - goodscode
  9574. - goodsid
  9575. - goodsname
  9576. - marketid
  9577. - orderid
  9578. - orderqty
  9579. - ordertime
  9580. - trademode
  9581. type: object
  9582. models.Loginaccount:
  9583. properties:
  9584. accountname:
  9585. description: 账户名称
  9586. type: string
  9587. canoutin:
  9588. description: 是否可出入金 - 0:不可 1:可
  9589. type: integer
  9590. clientroleid:
  9591. description: 终端角色ID
  9592. type: integer
  9593. haslogined:
  9594. description: 是否已登录 - 0:未登录 1:已登录
  9595. type: integer
  9596. hasupdatedpwd:
  9597. description: 是否已更改密码 - 0:未修改 1:已修改
  9598. type: integer
  9599. lastloginip:
  9600. description: 最新登录地址
  9601. type: string
  9602. lastloginmode:
  9603. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  9604. type: integer
  9605. lastloginremark:
  9606. description: 最新登录描述
  9607. type: string
  9608. lastlogintime:
  9609. description: 最新登录时间
  9610. type: string
  9611. logincode:
  9612. description: 登录代码
  9613. type: string
  9614. loginfailnum:
  9615. description: 连续登录失败次数(登录成功时清零)
  9616. type: integer
  9617. loginid:
  9618. description: 登陆账号
  9619. type: integer
  9620. loginport:
  9621. description: 最新登录端口
  9622. type: integer
  9623. loginstatus:
  9624. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  9625. type: integer
  9626. loginusertype:
  9627. description: 登录账号类型 - 1:投资者 2:机构交易员
  9628. type: integer
  9629. mobile:
  9630. description: 手机号码(加密存储)
  9631. type: string
  9632. modifierid:
  9633. description: 修改人
  9634. type: integer
  9635. modifysrc:
  9636. description: 审核来源 - 1:管理端 2:终端
  9637. type: integer
  9638. modifytime:
  9639. description: 修改时间
  9640. type: string
  9641. password:
  9642. description: 登陆密码
  9643. type: string
  9644. pwdwrongcount:
  9645. description: 密码错误次数
  9646. type: integer
  9647. relateduserid:
  9648. description: 关联用户ID(机构)
  9649. type: integer
  9650. taaccountrighttype:
  9651. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  9652. type: integer
  9653. unfreezetime:
  9654. description: 账户解冻时间
  9655. type: string
  9656. userid:
  9657. description: 用户ID
  9658. type: integer
  9659. required:
  9660. - loginid
  9661. type: object
  9662. models.MainAccountInfo:
  9663. properties:
  9664. accountid:
  9665. description: 账号id
  9666. type: integer
  9667. accountname:
  9668. description: 账号名称(taaccount表中的名称)
  9669. type: string
  9670. appid:
  9671. description: AppID
  9672. type: string
  9673. authcode:
  9674. description: 授权码
  9675. type: string
  9676. brokerid:
  9677. description: 经纪商id
  9678. type: string
  9679. fcid:
  9680. description: 期货公司id
  9681. type: integer
  9682. fcname:
  9683. description: 期货公司代码
  9684. type: string
  9685. hedgeaccountcode:
  9686. description: 外部账号代码(主账号登录代码)
  9687. type: string
  9688. hedgeaccountpwd:
  9689. description: 密码
  9690. type: string
  9691. ismain:
  9692. description: 是否主账号
  9693. type: integer
  9694. relateduserid:
  9695. description: 关联用户id
  9696. type: integer
  9697. userid:
  9698. description: 关联用户id
  9699. type: integer
  9700. type: object
  9701. models.Market:
  9702. properties:
  9703. auctionwrtype:
  9704. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  9705. type: integer
  9706. canacceptquote:
  9707. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  9708. type: integer
  9709. cangoodsexercise:
  9710. description: '[期权]是否可现货行权- 0:否 1:是'
  9711. type: integer
  9712. cangoodsexercisetype:
  9713. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  9714. type: integer
  9715. canmanualquotestrike:
  9716. description: 是否可手动报行权价- 0:否 1:是 [期权]
  9717. type: integer
  9718. canmutistage:
  9719. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  9720. type: integer
  9721. canpreexercise:
  9722. description: '[期权]是否可预申报- 0:否 1:是'
  9723. type: integer
  9724. clearinterval:
  9725. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  9726. type: integer
  9727. contracttmp:
  9728. description: 合同模板[荷兰式][竞价式][仓单贸易]
  9729. type: string
  9730. exchareaid:
  9731. description: 所属交易所,可以没有
  9732. type: integer
  9733. goodstype:
  9734. description: 商品类型 - 1:交易商品 2:仓单商品
  9735. type: integer
  9736. hasrebate:
  9737. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  9738. type: integer
  9739. hastradecredit:
  9740. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  9741. type: integer
  9742. haswr:
  9743. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  9744. type: integer
  9745. isdeductmargin:
  9746. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  9747. type: integer
  9748. isrecordsource:
  9749. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  9750. type: integer
  9751. isreleasemargin:
  9752. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  9753. type: integer
  9754. marginformula:
  9755. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9756. type: integer
  9757. marginformula2:
  9758. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9759. type: integer
  9760. marketid:
  9761. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  9762. type: integer
  9763. marketname:
  9764. description: 市场名称
  9765. type: string
  9766. marketserviceid:
  9767. description: 市场服务ID
  9768. type: integer
  9769. marketstatus:
  9770. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  9771. type: integer
  9772. markettype:
  9773. description: 市场类型- 1:非交易服务 2:交易服务
  9774. type: integer
  9775. matchermode:
  9776. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  9777. type: integer
  9778. openmethod:
  9779. description: 开盘模式 - 0 自动 1手动
  9780. type: integer
  9781. otcuserid:
  9782. description: 场外期权做市商[场外期权]
  9783. type: integer
  9784. outersynctime:
  9785. description: 外部同步时间点(h24:mi:ss)[场外期权]
  9786. type: string
  9787. pendingflag:
  9788. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  9789. type: integer
  9790. pendingtime:
  9791. description: 待开市时间[通道交易-对冲](HH:mm)
  9792. type: string
  9793. performancetempid:
  9794. description: 履约计划模板ID - 作废
  9795. type: integer
  9796. premiumquotemode:
  9797. description: 权利金报价方式 - 1:自动 2:手动
  9798. type: integer
  9799. rebateratio:
  9800. description: 返利比率[竞价式]
  9801. type: number
  9802. reckonorder:
  9803. description: 结算顺序
  9804. type: integer
  9805. reckonpricealgorithm:
  9806. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价'
  9807. type: integer
  9808. reckonpriceparam:
  9809. description: 结算价参数
  9810. type: integer
  9811. reckontime:
  9812. description: 结算时间[通道交易-对冲](HH:mm)
  9813. type: string
  9814. roleprioritytype:
  9815. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  9816. type: integer
  9817. selllistingauditflag:
  9818. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  9819. type: integer
  9820. trademarkettype:
  9821. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  9822. type: integer
  9823. trademode:
  9824. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9825. type: integer
  9826. tradeproperty:
  9827. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权
  9828. type: integer
  9829. tradetype:
  9830. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  9831. type: integer
  9832. required:
  9833. - marketid
  9834. - marketstatus
  9835. - openmethod
  9836. - reckonpricealgorithm
  9837. - trademode
  9838. - tradeproperty
  9839. type: object
  9840. models.Marketrun:
  9841. properties:
  9842. afternexttradedate:
  9843. description: 下下交易日
  9844. type: string
  9845. clearquoteflag:
  9846. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  9847. type: integer
  9848. lastreckondate:
  9849. description: 最新交易日(结算成功)
  9850. type: string
  9851. machinedate:
  9852. description: 机器时间
  9853. type: string
  9854. manualflag:
  9855. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  9856. type: integer
  9857. marketid:
  9858. description: 市场ID
  9859. type: integer
  9860. nexttradedate:
  9861. description: 下一交易日
  9862. type: string
  9863. pretradedate:
  9864. description: 上一交易日
  9865. type: string
  9866. reckonflag:
  9867. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  9868. type: integer
  9869. runstatus:
  9870. 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.今日免清算
  9871. type: integer
  9872. sectionid:
  9873. description: 时间段号[多时段时用]
  9874. type: integer
  9875. tradedate:
  9876. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  9877. type: string
  9878. tradedate2:
  9879. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  9880. type: string
  9881. updatetime:
  9882. description: 更新时间
  9883. type: string
  9884. required:
  9885. - marketid
  9886. - nexttradedate
  9887. - reckonflag
  9888. - runstatus
  9889. - tradedate
  9890. - tradedate2
  9891. type: object
  9892. models.Messageboard:
  9893. properties:
  9894. contactnum:
  9895. description: 联系电话
  9896. type: string
  9897. createtime:
  9898. description: 创建时间
  9899. type: string
  9900. message:
  9901. description: 留言信息
  9902. type: string
  9903. messageboardid:
  9904. description: 留言簿ID(SEQ_MessageBoard)
  9905. type: integer
  9906. userid:
  9907. description: 用户ID
  9908. type: integer
  9909. required:
  9910. - messageboardid
  9911. type: object
  9912. models.MyCoupon:
  9913. properties:
  9914. accountid:
  9915. description: 资金账户ID
  9916. type: integer
  9917. areauserid:
  9918. description: 所属机构
  9919. type: integer
  9920. conditionvalue:
  9921. description: 条件阈值(可为0)
  9922. type: number
  9923. couponcategroy:
  9924. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  9925. type: integer
  9926. couponname:
  9927. description: 优惠券名称
  9928. type: string
  9929. coupontypeid:
  9930. description: 优惠券类型ID
  9931. type: string
  9932. couponvalue:
  9933. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9934. type: number
  9935. curfreezeqty:
  9936. description: 期末冻结数量
  9937. type: integer
  9938. curqty:
  9939. description: 期末数量
  9940. type: integer
  9941. isgeneral:
  9942. description: 是否通用券 - 0:否 1:是
  9943. type: integer
  9944. isunusable:
  9945. description: 是否不可用
  9946. type: boolean
  9947. limitedflag:
  9948. description: 是否指定商品 - 0:不限 1:限制
  9949. type: integer
  9950. limitedgoodsids:
  9951. description: 指定商品IDs[逗号分隔,前后加逗号]
  9952. type: string
  9953. orifreezeqty:
  9954. description: 期初冻结数量
  9955. type: integer
  9956. oriqty:
  9957. description: 期初数量
  9958. type: integer
  9959. reasontype:
  9960. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  9961. type: integer
  9962. todaydecrease:
  9963. description: 今日减少
  9964. type: integer
  9965. todayincrease:
  9966. description: 今日增加
  9967. type: integer
  9968. userid:
  9969. description: 用户ID
  9970. type: integer
  9971. userscope:
  9972. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  9973. type: string
  9974. required:
  9975. - accountid
  9976. - coupontypeid
  9977. type: object
  9978. models.MyCouponHold:
  9979. properties:
  9980. accountid:
  9981. description: 资金账户ID
  9982. type: integer
  9983. conditionvalue:
  9984. description: 条件阈值(可为0)
  9985. type: number
  9986. couponcategroy:
  9987. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  9988. type: integer
  9989. couponholdid:
  9990. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  9991. type: string
  9992. couponname:
  9993. description: 优惠券名称
  9994. type: string
  9995. coupontypeid:
  9996. description: 优惠券类型ID - SEQ_COUPONTYPE
  9997. type: string
  9998. couponvalue:
  9999. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  10000. type: number
  10001. createtime:
  10002. description: 创建时间
  10003. type: string
  10004. enddate:
  10005. description: 结束日期
  10006. type: string
  10007. giveapplyid:
  10008. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  10009. type: integer
  10010. holdstatus:
  10011. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  10012. type: integer
  10013. isgeneral:
  10014. description: 是否通用券 - 0:否 1:是
  10015. type: integer
  10016. limitedflag:
  10017. description: 是否指定商品 - 0:不限 1:限制
  10018. type: integer
  10019. limitedgoodsids:
  10020. description: 指定商品IDs[逗号分隔]
  10021. type: string
  10022. qty:
  10023. description: 数量(按1平铺)
  10024. type: integer
  10025. startdate:
  10026. description: 开始日期
  10027. type: string
  10028. userid:
  10029. description: 用户ID
  10030. type: integer
  10031. userscope:
  10032. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  10033. type: string
  10034. required:
  10035. - couponholdid
  10036. type: object
  10037. models.MyUsedCoupon:
  10038. properties:
  10039. accountid:
  10040. description: 资金账户ID(买方)
  10041. type: integer
  10042. conditionvalue:
  10043. description: 条件阈值(可为0)
  10044. type: number
  10045. couponcategroy:
  10046. description: 种类 - 1:现金券 2:折扣券
  10047. type: integer
  10048. couponname:
  10049. description: 优惠券名称
  10050. type: string
  10051. coupontypeid:
  10052. description: 优惠券类型ID(买方)
  10053. type: string
  10054. couponvalue:
  10055. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  10056. type: number
  10057. createtime:
  10058. description: 创建时间
  10059. type: string
  10060. goodsid:
  10061. description: 商品ID
  10062. type: integer
  10063. handlestatus:
  10064. description: 处理状态
  10065. type: integer
  10066. marketid:
  10067. description: 市场ID
  10068. type: integer
  10069. offamount:
  10070. description: 优惠金额
  10071. type: number
  10072. orderid:
  10073. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10074. type: string
  10075. sellaccountid:
  10076. description: 资金账户ID(卖方)
  10077. type: integer
  10078. tradeamount:
  10079. description: 成交金额
  10080. type: number
  10081. tradeid:
  10082. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10083. type: string
  10084. usedqty:
  10085. description: 使用数量
  10086. type: integer
  10087. required:
  10088. - coupontypeid
  10089. - orderid
  10090. type: object
  10091. models.OperationPrimaryMenu:
  10092. properties:
  10093. Children:
  10094. description: 二级功能菜单
  10095. items:
  10096. $ref: '#/definitions/models.OperationSecondaryMenu'
  10097. type: array
  10098. Key:
  10099. description: 菜单KEY
  10100. type: string
  10101. Label:
  10102. description: 菜单标题
  10103. type: string
  10104. type: object
  10105. models.OperationSecondaryMenu:
  10106. properties:
  10107. Key:
  10108. description: 菜单KEY
  10109. type: string
  10110. Label:
  10111. description: 菜单标题
  10112. type: string
  10113. TabList:
  10114. description: 三级功能菜单
  10115. items:
  10116. $ref: '#/definitions/models.OperationTabMenu'
  10117. type: array
  10118. type: object
  10119. models.OperationTabMenu:
  10120. properties:
  10121. Key:
  10122. description: 菜单KEY
  10123. type: string
  10124. Label:
  10125. description: 菜单标题
  10126. type: string
  10127. type: object
  10128. models.QhjAccountOutInApply:
  10129. properties:
  10130. accountcode:
  10131. description: 资金账号
  10132. type: string
  10133. accountname:
  10134. description: 用户名称(名称)
  10135. type: string
  10136. accountpwd:
  10137. description: 资金密码
  10138. type: string
  10139. accountticket:
  10140. description: 最新账户服务流水号
  10141. type: string
  10142. amount:
  10143. description: 金额
  10144. type: number
  10145. applyremark:
  10146. description: 申请备注
  10147. type: string
  10148. applystatus:
  10149. 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: 复审通过,账户冻结金额检查中;'
  10150. type: integer
  10151. auditid:
  10152. description: 审核人
  10153. type: integer
  10154. audittime:
  10155. description: 审核时间
  10156. type: string
  10157. bank_apply_ticket:
  10158. description: 银行申请流水
  10159. type: string
  10160. bankaccountname:
  10161. description: 银行账户名
  10162. type: string
  10163. bankaccountno:
  10164. description: 银行卡号
  10165. type: string
  10166. bankid:
  10167. description: 银行编号
  10168. type: string
  10169. bankticket:
  10170. description: 银行流水
  10171. type: string
  10172. branchbankid:
  10173. description: 银行支行号
  10174. type: string
  10175. branchbankname:
  10176. description: 银行支行名称
  10177. type: string
  10178. capamountout:
  10179. description: 出金(劣后本金) - 外部子账户
  10180. type: number
  10181. certificatephotourl:
  10182. description: 凭证地址
  10183. type: string
  10184. charge:
  10185. description: 手续费
  10186. type: number
  10187. checkerrorflag:
  10188. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  10189. type: integer
  10190. currency:
  10191. description: 币种
  10192. type: string
  10193. cusbankid:
  10194. description: 托管银行编号
  10195. type: string
  10196. exchticket:
  10197. description: 银行服务流水号
  10198. type: string
  10199. executetype:
  10200. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金'
  10201. type: integer
  10202. extendinfo:
  10203. description: 扩展信息
  10204. type: string
  10205. extoperateid:
  10206. description: 交易服务流水号
  10207. type: integer
  10208. infamount:
  10209. description: 劣后金额(自有)
  10210. type: number
  10211. logincode:
  10212. description: 登录账号(账号)
  10213. type: string
  10214. netaddr:
  10215. description: 调转网址
  10216. type: string
  10217. priamount:
  10218. description: 优先金额(授信)
  10219. type: number
  10220. reauditid:
  10221. description: 复审人
  10222. type: integer
  10223. reauditremark:
  10224. description: 复审备注
  10225. type: string
  10226. reaudittime:
  10227. description: 复审时间
  10228. type: string
  10229. relatedorderid:
  10230. description: 三方关联ID
  10231. type: string
  10232. remark:
  10233. description: 备注
  10234. type: string
  10235. remark2:
  10236. description: 备注(失败原因)
  10237. type: string
  10238. soucreamount:
  10239. description: 原始出入金金额
  10240. type: number
  10241. soucrecurrencyid:
  10242. description: 原始出入金币种
  10243. type: integer
  10244. tradedate:
  10245. description: 交易日(yyyyMMdd)
  10246. type: string
  10247. updatetime:
  10248. description: 更新时间(申请时间)
  10249. type: string
  10250. userid:
  10251. description: 用户id
  10252. type: integer
  10253. userinfotype:
  10254. description: 账户类型 1-个人 2-企业
  10255. type: integer
  10256. type: object
  10257. models.QhjAgreementChangeLog:
  10258. properties:
  10259. agreementcontent:
  10260. description: 协议内容
  10261. type: string
  10262. agreementfrequency:
  10263. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  10264. type: integer
  10265. agreementid:
  10266. description: 协议ID
  10267. type: integer
  10268. agreementname:
  10269. description: 协议名称
  10270. type: string
  10271. agreementno:
  10272. description: 协议编号
  10273. type: string
  10274. agreementtype:
  10275. description: 协议类型 - 1:注册 2:登录 3:交易
  10276. type: integer
  10277. agreementversion:
  10278. description: 协议版本号
  10279. type: integer
  10280. logid:
  10281. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  10282. type: integer
  10283. reviserid:
  10284. description: 修改人
  10285. type: integer
  10286. revisersrc:
  10287. description: 修改来源 - 1:管理端 2:终端
  10288. type: integer
  10289. updatetime:
  10290. description: 更新时间
  10291. type: string
  10292. type: object
  10293. models.QhjAgreementConfig:
  10294. properties:
  10295. agreementcontent:
  10296. description: 协议内容
  10297. type: string
  10298. agreementfrequency:
  10299. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  10300. type: integer
  10301. agreementid:
  10302. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  10303. type: integer
  10304. agreementname:
  10305. description: 协议名称
  10306. type: string
  10307. agreementno:
  10308. description: 协议编号
  10309. type: string
  10310. agreementtype:
  10311. description: 协议类型 - 1:注册 2:登录 3:交易
  10312. type: integer
  10313. agreementversion:
  10314. description: 协议版本号(从1开始每次修改加1)
  10315. type: integer
  10316. createtime:
  10317. description: 创建时间
  10318. type: string
  10319. creatorid:
  10320. description: 创建人
  10321. type: integer
  10322. creatorsrc:
  10323. description: 创建来源 - 1:管理端 2:终端
  10324. type: integer
  10325. isvalid:
  10326. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  10327. type: integer
  10328. reviserid:
  10329. description: 修改人
  10330. type: integer
  10331. revisersrc:
  10332. description: 修改来源 - 1:管理端 2:终端
  10333. type: integer
  10334. updatetime:
  10335. description: 更新时间
  10336. type: string
  10337. type: object
  10338. models.QhjAreaFinanceConfig:
  10339. properties:
  10340. additionalratio:
  10341. description: 追加款比例
  10342. type: number
  10343. advanceratio:
  10344. description: 预付款比例
  10345. type: number
  10346. alarmratio:
  10347. description: 告警比例
  10348. type: number
  10349. consumptiondirectreward:
  10350. description: 消费直推奖励值
  10351. type: number
  10352. consumptionenabled:
  10353. description: 是否启用消费奖励 - 0:不启用 1:启用
  10354. type: integer
  10355. consumptionindirectreward:
  10356. description: 消费间推奖励值
  10357. type: number
  10358. consumptionmodel:
  10359. description: 消费奖励方式 - 1:比率 2:固定
  10360. type: integer
  10361. customerservicenum:
  10362. description: 客服电话
  10363. type: string
  10364. dayinterestrate:
  10365. description: 日利率
  10366. type: number
  10367. disableconsumptiontips:
  10368. description: 关闭消费奖励提示
  10369. type: string
  10370. modifierid:
  10371. description: 修改人ID
  10372. type: integer
  10373. modifysrc:
  10374. description: 审核来源 - 1:管理端 2:终端
  10375. type: integer
  10376. modifytime:
  10377. description: 修改时间
  10378. type: string
  10379. promotionvalue:
  10380. description: 推广奖励值(固定)
  10381. type: number
  10382. scoreconfigvalue1:
  10383. description: 提货积分配置1
  10384. type: integer
  10385. scoreconfigvalue2:
  10386. description: 提货积分配置2
  10387. type: integer
  10388. userid:
  10389. description: 机构用户ID其他做市关系,都设置为 1
  10390. type: integer
  10391. username:
  10392. description: 用户名称
  10393. type: string
  10394. type: object
  10395. models.QhjBankAccountSign:
  10396. properties:
  10397. accountcode:
  10398. description: 资金账号
  10399. type: string
  10400. accountname:
  10401. description: 资金账号对应的账号名(UserName)
  10402. type: string
  10403. accountname2:
  10404. description: 资金账号对应的账号名(UserName) - 密文
  10405. type: string
  10406. accounttype:
  10407. description: 账户类型(UserType)
  10408. type: integer
  10409. applicationtime:
  10410. description: 最后一次更新的时间
  10411. type: string
  10412. applyexchticket:
  10413. description: 申请流水
  10414. type: string
  10415. auditid:
  10416. description: 审核人
  10417. type: integer
  10418. audittime:
  10419. description: 审核时间
  10420. type: string
  10421. bankaccountname:
  10422. description: 签约银行卡账号名
  10423. type: string
  10424. bankaccountname2:
  10425. description: 签约银行卡账号名 - 密文
  10426. type: string
  10427. bankaccountno:
  10428. description: 银行卡号
  10429. type: string
  10430. bankaccountno2:
  10431. description: 银行卡号 - 密文
  10432. type: string
  10433. bankaccounttype:
  10434. description: 银行账户类型 - 1-对私; 2-对公
  10435. type: integer
  10436. bankcardtype:
  10437. description: 银行卡类型
  10438. type: integer
  10439. bankchildaccount:
  10440. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  10441. type: string
  10442. bankcity:
  10443. description: 开户行城市
  10444. type: string
  10445. bankid:
  10446. description: 签约银行ID
  10447. type: string
  10448. bankname:
  10449. description: 签约银行名称
  10450. type: string
  10451. bankprovince:
  10452. description: 开户行省份
  10453. type: string
  10454. branchbankid:
  10455. description: 签约银行支行号
  10456. type: string
  10457. branchbankname:
  10458. description: 签约银行支行名称
  10459. type: string
  10460. cardno:
  10461. description: 证件号码
  10462. type: string
  10463. cardno2:
  10464. description: 证件号码 - 密文
  10465. type: string
  10466. cardtype:
  10467. description: 证件类型
  10468. type: string
  10469. currency:
  10470. description: 币种
  10471. type: string
  10472. cusbankid:
  10473. description: 托管银行编号
  10474. type: string
  10475. direct:
  10476. description: 方向(可以判断那方先发起的签约)
  10477. type: integer
  10478. exchticket:
  10479. description: 最后一次签约成功的流水号
  10480. type: string
  10481. extendinfo:
  10482. description: 扩展信息(JSON字符串)
  10483. type: string
  10484. mobilephone:
  10485. description: 手机号
  10486. type: string
  10487. mobilephone2:
  10488. description: 手机号 - 密文
  10489. type: string
  10490. netaddr:
  10491. description: 调转网址
  10492. type: string
  10493. relateduserid:
  10494. description: 关联使用者userid
  10495. type: integer
  10496. signstatus:
  10497. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核
  10498. type: integer
  10499. updatetime:
  10500. description: 更新时间(签解约更新时间)
  10501. type: string
  10502. type: object
  10503. models.QhjBankInfo:
  10504. properties:
  10505. bankid:
  10506. description: 银行ID
  10507. type: string
  10508. bankname:
  10509. description: 银行名称
  10510. type: string
  10511. clearbankno:
  10512. description: 清算系统银行编号
  10513. type: string
  10514. orderindex:
  10515. description: 排序顺序
  10516. type: integer
  10517. status:
  10518. description: 状态 - 0:正常 1:注销
  10519. type: integer
  10520. type: object
  10521. models.QhjBrokerApply:
  10522. properties:
  10523. applicantid:
  10524. description: 申请人
  10525. type: integer
  10526. applysrc:
  10527. description: 申请来源 - 1:管理端 2:终端
  10528. type: integer
  10529. applystatus:
  10530. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  10531. type: integer
  10532. applytime:
  10533. description: 申请时间
  10534. type: string
  10535. auditorid:
  10536. description: 审核人
  10537. type: integer
  10538. auditremark:
  10539. description: 审核备注
  10540. type: string
  10541. auditsrc:
  10542. description: 审核来源 - 1:管理端 2:终端
  10543. type: integer
  10544. audittime:
  10545. description: 审核时间
  10546. type: string
  10547. audittradedate:
  10548. description: 审核交易日(yyyyMMdd)
  10549. type: string
  10550. brokerapplyid:
  10551. description: 申请ID(SEQ_BROKERAPPLY)
  10552. type: integer
  10553. cardbackphotourl:
  10554. description: 证件背面图片地址
  10555. type: string
  10556. cardfrontphotourl:
  10557. description: 证件正面图片地址
  10558. type: string
  10559. cardnum:
  10560. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  10561. type: string
  10562. customername:
  10563. description: 姓名
  10564. type: string
  10565. logincode:
  10566. description: 登录代码
  10567. type: string
  10568. mobile:
  10569. description: 手机号码
  10570. type: string
  10571. parentuserid:
  10572. description: 所属机构id
  10573. type: integer
  10574. parentusername:
  10575. description: 所属机构名称
  10576. type: string
  10577. refereeuserid:
  10578. description: 推荐人id(经纪人)
  10579. type: integer
  10580. refernum:
  10581. description: 推荐码
  10582. type: string
  10583. remark:
  10584. description: 备注
  10585. type: string
  10586. subarealevelpath:
  10587. description: 层级路径
  10588. type: string
  10589. tradedate:
  10590. description: 交易日(yyyyMMdd)
  10591. type: string
  10592. userid:
  10593. description: 申请人用户ID
  10594. type: integer
  10595. userinfotype:
  10596. description: 用户类型 1-个人 2-企业
  10597. type: integer
  10598. username:
  10599. description: 用户名称
  10600. type: string
  10601. type: object
  10602. models.QhjBrokerApplyEx:
  10603. properties:
  10604. applylist:
  10605. description: 经纪人申请记录(只返回最新一条)
  10606. items:
  10607. $ref: '#/definitions/models.QhjBrokerApply'
  10608. type: array
  10609. canrecommend:
  10610. description: 是否经纪人 0-不是 1-是
  10611. type: integer
  10612. refernum:
  10613. description: 推荐码
  10614. type: string
  10615. userid:
  10616. description: 用户id
  10617. type: integer
  10618. userinfotype:
  10619. description: 用户类型 1-个人 2-企业
  10620. type: integer
  10621. type: object
  10622. models.QhjBrokerRewardLog:
  10623. properties:
  10624. accountid:
  10625. description: 资金账号ID
  10626. type: integer
  10627. createtime:
  10628. description: 创建时间(时间)
  10629. type: string
  10630. handlestatus:
  10631. description: 处理状态
  10632. type: integer
  10633. logid:
  10634. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10635. type: string
  10636. marketid:
  10637. description: 市场ID
  10638. type: integer
  10639. mmaccountid:
  10640. description: 做市商资金账号ID
  10641. type: string
  10642. mmuserid:
  10643. description: 做市商用户ID
  10644. type: string
  10645. rewardamount:
  10646. description: 奖励金额
  10647. type: number
  10648. rewardmodel:
  10649. description: 消费奖励方式 - 1:比率 2:固定
  10650. type: integer
  10651. rewardtype:
  10652. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  10653. type: integer
  10654. rewardvalue:
  10655. description: 配置奖励值
  10656. type: number
  10657. srcamount:
  10658. description: 成交金额 [消费奖励] (金额)
  10659. type: number
  10660. srcgoodsid:
  10661. description: 来源商品ID [消费奖励]
  10662. type: string
  10663. srctime:
  10664. description: 来源时间 (成交时间) [消费奖励]
  10665. type: string
  10666. srctradeid:
  10667. description: 来源成交单ID [消费奖励] - 排除提货成交
  10668. type: string
  10669. srcuserid:
  10670. description: 来源用户ID(推广账户)
  10671. type: string
  10672. srcusername:
  10673. description: 推广账户名称
  10674. type: string
  10675. tradedate:
  10676. description: 交易日(yyyyMMdd)
  10677. type: string
  10678. userid:
  10679. description: 经纪人用户ID
  10680. type: integer
  10681. type: object
  10682. models.QhjContract:
  10683. properties:
  10684. contractconfirmtime:
  10685. description: 合同确认时间(时间)
  10686. type: string
  10687. currisklevel:
  10688. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  10689. type: integer
  10690. decimalplace:
  10691. description: 商品报价小数位
  10692. type: integer
  10693. enumdicname:
  10694. description: 单位名称
  10695. type: string
  10696. goodscode:
  10697. description: 商品代码
  10698. type: string
  10699. goodsid:
  10700. description: 商品ID [5:融资单]
  10701. type: integer
  10702. goodsname:
  10703. description: 商品名称
  10704. type: string
  10705. goodunitid:
  10706. description: 商品单位id
  10707. type: integer
  10708. initmargin:
  10709. description: 初始保证金(首付款)
  10710. type: number
  10711. lenderamount:
  10712. description: 贷款金额(总额|订单总额)
  10713. type: number
  10714. marginratio:
  10715. description: 保证金比率(首付比例)
  10716. type: number
  10717. payamount:
  10718. description: 已付(已付货款)
  10719. type: number
  10720. reckonrecovermargin:
  10721. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  10722. type: number
  10723. recoveredmargin:
  10724. description: 已追缴保证金
  10725. type: number
  10726. remainamount:
  10727. description: 合同剩余金额(融资额)
  10728. type: number
  10729. scfcontractid:
  10730. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10731. type: string
  10732. scfcontractstatus:
  10733. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交
  10734. type: integer
  10735. scfcontracttype:
  10736. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  10737. type: integer
  10738. totalinterest:
  10739. description: 已计总利息(利息)
  10740. type: number
  10741. tradeprice:
  10742. description: 成交价格(成本价格)
  10743. type: number
  10744. userid:
  10745. description: 用户ID
  10746. type: integer
  10747. username:
  10748. description: 用户名称
  10749. type: string
  10750. wrqty:
  10751. description: 仓单数量(数量)
  10752. type: number
  10753. type: object
  10754. models.QhjContractLog:
  10755. properties:
  10756. amount:
  10757. description: 支付金额
  10758. type: number
  10759. amounttype:
  10760. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  10761. type: integer
  10762. logid:
  10763. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10764. type: string
  10765. remainamount:
  10766. description: 剩余货款
  10767. type: number
  10768. scfcontractid:
  10769. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10770. type: integer
  10771. updatetime:
  10772. description: 更新时间
  10773. type: string
  10774. type: object
  10775. models.QhjCusBankSignBankEx:
  10776. properties:
  10777. banklst:
  10778. description: 银行列表
  10779. items:
  10780. $ref: '#/definitions/models.QhjBankInfo'
  10781. type: array
  10782. canallot:
  10783. description: 是否支持跨行调拨 - 0:不支持 1:支持
  10784. type: integer
  10785. canallotquery:
  10786. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  10787. type: integer
  10788. canbindcard:
  10789. description: 是否可绑卡与解卡 - 0:不可 1:可以
  10790. type: integer
  10791. caninamount:
  10792. description: 是否可入金 - 0:不可 1:可以
  10793. type: integer
  10794. caninamount2:
  10795. description: 是否可入金(网银端) - 0:不可 1:可以
  10796. type: integer
  10797. canmodifybankcard:
  10798. description: 是否可修改银行卡号 - 0:不可 1:可以
  10799. type: integer
  10800. canmodifyphone:
  10801. description: 是否可修改手机号 - 0:不可 1:可以
  10802. type: integer
  10803. canmodifysigninfo:
  10804. description: 是否可修改签约信息 - 0:不可 1:可以
  10805. type: integer
  10806. canoutamount:
  10807. description: 是否可出金 - 0:不可 1:可以
  10808. type: integer
  10809. canoutamount2:
  10810. description: 是否可出金(网银端) - 0:不可 1:可以
  10811. type: integer
  10812. canrelease:
  10813. description: 是否可解约 - 0:不可 1:可以
  10814. type: integer
  10815. canrelease2:
  10816. description: 是否可解约(网银端) - 0:不可 1:可以
  10817. type: integer
  10818. cansign:
  10819. description: 是否可签约 - 0:不可 1:可以
  10820. type: integer
  10821. cansign2:
  10822. description: 是否可签约(网银端) - 0:不可 1:可以
  10823. type: integer
  10824. currency:
  10825. description: 币种
  10826. type: string
  10827. cusbankid:
  10828. description: 托管银行编号(对应清算中心TRAN_NO)
  10829. type: string
  10830. cusbankname:
  10831. description: 银行业务名称
  10832. type: string
  10833. cusbankshortname:
  10834. description: 银行业务简称
  10835. type: string
  10836. exchbankid:
  10837. description: 交易所开户银行ID
  10838. type: string
  10839. exchpaybankaccname:
  10840. description: 交易所支出结算账户户名
  10841. type: string
  10842. exchpaybankaccno:
  10843. description: 交易所支出结算账户
  10844. type: string
  10845. isneedcheck:
  10846. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  10847. type: integer
  10848. isneedclear:
  10849. description: 是否需要清算 - 0:不需要 1:需要
  10850. type: integer
  10851. lastcheckstatus:
  10852. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  10853. type: integer
  10854. lastchecktime:
  10855. description: 最后对账时间
  10856. type: string
  10857. lastclearstatus:
  10858. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  10859. type: integer
  10860. lastcleartime:
  10861. description: 最后清算时间
  10862. type: string
  10863. lastsignintime:
  10864. description: 最后签到时间
  10865. type: string
  10866. lastsignouttime:
  10867. description: 最后签退时间
  10868. type: string
  10869. riskinfo:
  10870. description: 签约风险提示书
  10871. type: string
  10872. signstatus:
  10873. description: 当前签到/签退状态 - 1:签到 2:签退
  10874. type: integer
  10875. tradedate:
  10876. description: 交易日(yyyyMMdd)
  10877. type: string
  10878. updatetime:
  10879. description: 当前签到/签退更新时间
  10880. type: string
  10881. type: object
  10882. models.QhjCustomer:
  10883. properties:
  10884. address:
  10885. description: 通讯地址
  10886. type: string
  10887. attachment1:
  10888. description: 附件1
  10889. type: string
  10890. attachment2:
  10891. description: 附件2
  10892. type: string
  10893. audittime:
  10894. description: 审核时间
  10895. type: string
  10896. cardbackphotourl:
  10897. description: 证件反面图片地址
  10898. type: string
  10899. cardfrontphotourl:
  10900. description: 证件正面图片地址
  10901. type: string
  10902. cardnum:
  10903. description: 证件号码
  10904. type: string
  10905. cardtype:
  10906. description: 证件类型
  10907. type: integer
  10908. cardtypename:
  10909. description: 证件类型名称
  10910. type: string
  10911. cityid:
  10912. description: 市
  10913. type: integer
  10914. cityname:
  10915. description: 城市名称
  10916. type: string
  10917. contactname:
  10918. description: 联系人
  10919. type: string
  10920. countryid:
  10921. description: 国家
  10922. type: integer
  10923. countryname:
  10924. description: 国家名称
  10925. type: string
  10926. createtime:
  10927. description: 创建时间
  10928. type: string
  10929. customername:
  10930. description: 客户名称
  10931. type: string
  10932. districtid:
  10933. description: 区域
  10934. type: integer
  10935. districtname:
  10936. description: 地区名称
  10937. type: string
  10938. email:
  10939. description: 邮件
  10940. type: string
  10941. legalpersonname:
  10942. description: 法人姓名(企业)
  10943. type: string
  10944. logincode:
  10945. description: 登录账号(代码)
  10946. type: string
  10947. memberuserid:
  10948. description: 所属机构ID(所属会员)
  10949. type: integer
  10950. memberusername:
  10951. description: 所属会员名称
  10952. type: string
  10953. mobile:
  10954. description: 手机号码
  10955. type: string
  10956. modifytime:
  10957. description: 修改时间
  10958. type: string
  10959. nickname:
  10960. description: 昵称
  10961. type: string
  10962. parentuserid:
  10963. description: 上级机构(所属机构)
  10964. type: integer
  10965. parentusername:
  10966. description: 所属机构名称
  10967. type: string
  10968. provinceid:
  10969. description: 省
  10970. type: integer
  10971. provincename:
  10972. description: 省名称
  10973. type: string
  10974. proxystatementurl:
  10975. description: 授权委托书
  10976. type: string
  10977. remark:
  10978. description: 备注
  10979. type: string
  10980. status:
  10981. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  10982. type: integer
  10983. statusdesc:
  10984. description: 账户状态中文描述
  10985. type: string
  10986. taxpayernum:
  10987. description: 纳税人识别号
  10988. type: string
  10989. telphone:
  10990. description: 联系电话
  10991. type: string
  10992. userid:
  10993. description: 用户ID
  10994. type: integer
  10995. userinfotype:
  10996. description: 客户类型 1-个人 2-企业
  10997. type: integer
  10998. username:
  10999. description: 用户名称
  11000. type: string
  11001. type: object
  11002. models.QhjCustomerSignLog:
  11003. properties:
  11004. agreementcontent:
  11005. description: 协议内容
  11006. type: string
  11007. agreementid:
  11008. description: 协议ID
  11009. type: integer
  11010. agreementname:
  11011. description: 协议名称
  11012. type: string
  11013. agreementno:
  11014. description: 协议编号
  11015. type: string
  11016. agreementtype:
  11017. description: 协议类型 - 1:注册 2:登录 3:交易
  11018. type: integer
  11019. agreementversion:
  11020. description: 协议版本号
  11021. type: integer
  11022. createtime:
  11023. description: 创建时间
  11024. type: string
  11025. goodscode:
  11026. description: 商品代码
  11027. type: string
  11028. goodsid:
  11029. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11030. type: integer
  11031. goodsname:
  11032. description: 商品名称
  11033. type: string
  11034. logid:
  11035. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  11036. type: integer
  11037. nodetype:
  11038. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  11039. type: integer
  11040. signadressurl:
  11041. description: 签约文件地址
  11042. type: string
  11043. signtimestamp:
  11044. description: 签约状态时间戳
  11045. type: string
  11046. userid:
  11047. description: 客户ID
  11048. type: integer
  11049. username:
  11050. description: 客户名称
  11051. type: string
  11052. type: object
  11053. models.QhjCustomerSignStatus:
  11054. properties:
  11055. createtime:
  11056. description: 创建时间
  11057. type: string
  11058. goodscode:
  11059. description: 商品代码
  11060. type: string
  11061. goodsid:
  11062. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11063. type: integer
  11064. goodsname:
  11065. description: 商品名称
  11066. type: string
  11067. nodetype:
  11068. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  11069. type: integer
  11070. signtimestamp:
  11071. description: 签约状态时间戳
  11072. type: string
  11073. tradedate:
  11074. description: 创建交易日(yyyyMMdd)
  11075. type: string
  11076. updatetime:
  11077. description: 更新时间
  11078. type: string
  11079. userid:
  11080. description: 客户ID
  11081. type: integer
  11082. username:
  11083. description: 客户名称
  11084. type: string
  11085. type: object
  11086. models.QhjMgrAccountOutInApply:
  11087. properties:
  11088. accountcode:
  11089. description: 资金账号
  11090. type: string
  11091. accountname:
  11092. description: 用户名称(名称)
  11093. type: string
  11094. accountpwd:
  11095. description: 资金密码
  11096. type: string
  11097. accountticket:
  11098. description: 最新账户服务流水号
  11099. type: string
  11100. amount:
  11101. description: 金额
  11102. type: number
  11103. applyremark:
  11104. description: 申请备注
  11105. type: string
  11106. applystatus:
  11107. 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: 复审通过,账户冻结金额检查中;'
  11108. type: integer
  11109. auditid:
  11110. description: 审核人
  11111. type: integer
  11112. audittime:
  11113. description: 审核时间
  11114. type: string
  11115. bank_apply_ticket:
  11116. description: 银行申请流水
  11117. type: string
  11118. bankaccountname:
  11119. description: 银行账户名
  11120. type: string
  11121. bankaccountno:
  11122. description: 银行卡号
  11123. type: string
  11124. bankid:
  11125. description: 银行编号
  11126. type: string
  11127. bankname:
  11128. description: 银行名称
  11129. type: string
  11130. bankticket:
  11131. description: 银行流水
  11132. type: string
  11133. branchbankid:
  11134. description: 银行支行号
  11135. type: string
  11136. branchbankname:
  11137. description: 银行支行名称
  11138. type: string
  11139. capamountout:
  11140. description: 出金(劣后本金) - 外部子账户
  11141. type: number
  11142. certificatephotourl:
  11143. description: 凭证地址
  11144. type: string
  11145. charge:
  11146. description: 手续费
  11147. type: number
  11148. checkerrorflag:
  11149. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  11150. type: integer
  11151. currency:
  11152. description: 币种
  11153. type: string
  11154. cusbankid:
  11155. description: 托管银行编号
  11156. type: string
  11157. exchticket:
  11158. description: 银行服务流水号
  11159. type: string
  11160. executetype:
  11161. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金'
  11162. type: integer
  11163. extendinfo:
  11164. description: 扩展信息
  11165. type: string
  11166. extoperateid:
  11167. description: 交易服务流水号
  11168. type: integer
  11169. infamount:
  11170. description: 劣后金额(自有)
  11171. type: number
  11172. logincode:
  11173. description: 登录账号(账号)
  11174. type: string
  11175. netaddr:
  11176. description: 调转网址
  11177. type: string
  11178. priamount:
  11179. description: 优先金额(授信)
  11180. type: number
  11181. reauditid:
  11182. description: 复审人
  11183. type: integer
  11184. reauditremark:
  11185. description: 复审备注
  11186. type: string
  11187. reaudittime:
  11188. description: 复审时间
  11189. type: string
  11190. relatedorderid:
  11191. description: 三方关联ID
  11192. type: string
  11193. remark:
  11194. description: 备注
  11195. type: string
  11196. remark2:
  11197. description: 备注(失败原因)
  11198. type: string
  11199. soucreamount:
  11200. description: 原始出入金金额
  11201. type: number
  11202. soucrecurrencyid:
  11203. description: 原始出入金币种
  11204. type: integer
  11205. tradedate:
  11206. description: 交易日(yyyyMMdd)
  11207. type: string
  11208. updatetime:
  11209. description: 更新时间(申请时间)
  11210. type: string
  11211. userid:
  11212. description: 用户id
  11213. type: integer
  11214. userinfotype:
  11215. description: 账户类型 1-个人 2-企业
  11216. type: integer
  11217. type: object
  11218. models.QhjMgrBrokerApply:
  11219. properties:
  11220. applicantid:
  11221. description: 申请人
  11222. type: integer
  11223. applysrc:
  11224. description: 申请来源 - 1:管理端 2:终端
  11225. type: integer
  11226. applystatus:
  11227. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  11228. type: integer
  11229. applytime:
  11230. description: 申请时间
  11231. type: string
  11232. auditorid:
  11233. description: 审核人
  11234. type: integer
  11235. auditremark:
  11236. description: 审核备注
  11237. type: string
  11238. auditsrc:
  11239. description: 审核来源 - 1:管理端 2:终端
  11240. type: integer
  11241. audittime:
  11242. description: 审核时间
  11243. type: string
  11244. audittradedate:
  11245. description: 审核交易日(yyyyMMdd)
  11246. type: string
  11247. brokerapplyid:
  11248. description: 申请ID(SEQ_BROKERAPPLY)
  11249. type: integer
  11250. cardbackphotourl:
  11251. description: 证件背面图片地址
  11252. type: string
  11253. cardfrontphotourl:
  11254. description: 证件正面图片地址
  11255. type: string
  11256. cardnum:
  11257. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  11258. type: string
  11259. customername:
  11260. description: 姓名
  11261. type: string
  11262. filterstatus:
  11263. description: 筛选条件
  11264. type: string
  11265. logincode:
  11266. description: 登录代码
  11267. type: string
  11268. mobile:
  11269. description: 手机号码
  11270. type: string
  11271. parentuserid:
  11272. description: 所属机构id
  11273. type: integer
  11274. parentusername:
  11275. description: 所属机构名称
  11276. type: string
  11277. refereeuserid:
  11278. description: 推荐人id(经纪人)
  11279. type: integer
  11280. refernum:
  11281. description: 推荐码
  11282. type: string
  11283. remark:
  11284. description: 备注
  11285. type: string
  11286. subarealevelpath:
  11287. description: 层级路径
  11288. type: string
  11289. tradedate:
  11290. description: 交易日(yyyyMMdd)
  11291. type: string
  11292. userid:
  11293. description: 申请人用户ID
  11294. type: integer
  11295. userinfotype:
  11296. description: 用户类型 1-个人 2-企业
  11297. type: integer
  11298. username:
  11299. description: 用户名称
  11300. type: string
  11301. type: object
  11302. models.QhjMgrBrokerRewardReport:
  11303. properties:
  11304. createtime:
  11305. description: 创建时间(注册时间)
  11306. type: string
  11307. cycletime:
  11308. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  11309. type: string
  11310. cycletype:
  11311. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  11312. type: integer
  11313. directtotalnum:
  11314. description: 直推总人数【期末】
  11315. type: integer
  11316. indirecttotalnum:
  11317. description: 间推总人数【期末】
  11318. type: integer
  11319. mobile:
  11320. description: 电话号码
  11321. type: string
  11322. refereeuserid:
  11323. description: 推荐人id(经纪人id)
  11324. type: integer
  11325. refereeusername:
  11326. description: 推荐人名称(经纪人) 上级经纪人名称
  11327. type: string
  11328. refernum:
  11329. description: 推荐码
  11330. type: string
  11331. subarealevelpath:
  11332. description: 用户层级路径
  11333. type: string
  11334. todayrewardamount:
  11335. description: 奖励总金额【汇总】
  11336. type: number
  11337. updatetime:
  11338. description: 更新时间
  11339. type: string
  11340. userid:
  11341. description: 经纪人用户ID
  11342. type: integer
  11343. userinfotype:
  11344. description: 用户类型 1-个人 2-企业
  11345. type: integer
  11346. username:
  11347. description: 用户名称
  11348. type: string
  11349. type: object
  11350. models.QhjMgrContract:
  11351. properties:
  11352. contractconfirmtime:
  11353. description: 合同确认时间(时间)
  11354. type: string
  11355. currisklevel:
  11356. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  11357. type: integer
  11358. decimalplace:
  11359. description: 商品报价小数位
  11360. type: integer
  11361. enumdicname:
  11362. description: 单位名称
  11363. type: string
  11364. goodscode:
  11365. description: 商品代码
  11366. type: string
  11367. goodsid:
  11368. description: 商品ID [5:融资单]
  11369. type: integer
  11370. goodsname:
  11371. description: 商品名称
  11372. type: string
  11373. goodunitid:
  11374. description: 商品单位id
  11375. type: integer
  11376. initmargin:
  11377. description: 初始保证金(首付款)
  11378. type: number
  11379. lenderamount:
  11380. description: 贷款金额(总额|订单总额)
  11381. type: number
  11382. logincode:
  11383. description: 账号(登录代码)
  11384. type: string
  11385. marginratio:
  11386. description: 保证金比率(首付比例)
  11387. type: number
  11388. mobile:
  11389. description: 电话号码(用户资料里的电话)
  11390. type: string
  11391. payamount:
  11392. description: 已付(已付货款)
  11393. type: number
  11394. reckonrecovermargin:
  11395. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  11396. type: number
  11397. recoveredmargin:
  11398. description: 已追缴保证金
  11399. type: number
  11400. remainamount:
  11401. description: 合同剩余金额(融资额)
  11402. type: number
  11403. scfcontractid:
  11404. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  11405. type: string
  11406. scfcontractstatus:
  11407. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交
  11408. type: integer
  11409. scfcontracttype:
  11410. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  11411. type: integer
  11412. totalinterest:
  11413. description: 已计总利息(利息)
  11414. type: number
  11415. tradedate:
  11416. description: 交易日
  11417. type: string
  11418. tradeprice:
  11419. description: 成交价格(成本价格)
  11420. type: number
  11421. userid:
  11422. description: 用户ID
  11423. type: integer
  11424. userinfotype:
  11425. description: 用户类型 1-个人 2-企业
  11426. type: integer
  11427. username:
  11428. description: 用户名称
  11429. type: string
  11430. wrqty:
  11431. description: 仓单数量(数量)
  11432. type: number
  11433. type: object
  11434. models.QhjMgrCustomer:
  11435. properties:
  11436. address:
  11437. description: 通讯地址
  11438. type: string
  11439. attachment1:
  11440. description: 附件1
  11441. type: string
  11442. audittime:
  11443. description: 审核时间
  11444. type: string
  11445. birthday:
  11446. description: 生日
  11447. type: string
  11448. brokerid:
  11449. description: 所属客户经理id
  11450. type: integer
  11451. brokername:
  11452. description: 所属客户经理名称
  11453. type: string
  11454. cardbackphotourl:
  11455. description: 证件反面图片地址
  11456. type: string
  11457. cardfrontphotourl:
  11458. description: 证件正面图片地址
  11459. type: string
  11460. cardnum:
  11461. description: 证件号码
  11462. type: string
  11463. cardtype:
  11464. description: 证件类型
  11465. type: integer
  11466. cardtypename:
  11467. description: 证件类型名称
  11468. type: string
  11469. cityid:
  11470. description: 市
  11471. type: integer
  11472. cityname:
  11473. description: 城市名称
  11474. type: string
  11475. contactname:
  11476. description: 联系人
  11477. type: string
  11478. countryid:
  11479. description: 国家
  11480. type: integer
  11481. countryname:
  11482. description: 国家名称
  11483. type: string
  11484. createtime:
  11485. description: 创建时间
  11486. type: string
  11487. customername:
  11488. description: 客户名称
  11489. type: string
  11490. districtid:
  11491. description: 区域
  11492. type: integer
  11493. districtname:
  11494. description: 地区名称
  11495. type: string
  11496. email:
  11497. description: 邮件
  11498. type: string
  11499. legalpersonname:
  11500. description: 法人姓名(企业)
  11501. type: string
  11502. logincode:
  11503. description: 登录账号(代码)
  11504. type: string
  11505. memberuserid:
  11506. description: 所属机构ID(所属会员)
  11507. type: integer
  11508. memberusername:
  11509. description: 所属会员名称
  11510. type: string
  11511. mobile:
  11512. description: 手机号码
  11513. type: string
  11514. modifytime:
  11515. description: 修改时间
  11516. type: string
  11517. nickname:
  11518. description: 昵称
  11519. type: string
  11520. parentuserid:
  11521. description: 上级机构(所属机构)
  11522. type: integer
  11523. parentusername:
  11524. description: 所属机构名称
  11525. type: string
  11526. provinceid:
  11527. description: 省
  11528. type: integer
  11529. provincename:
  11530. description: 省名称
  11531. type: string
  11532. proxystatementurl:
  11533. description: 授权委托书
  11534. type: string
  11535. querytype:
  11536. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  11537. type: integer
  11538. remark:
  11539. description: 备注
  11540. type: string
  11541. sex:
  11542. description: 性别 0-女 1-男
  11543. type: integer
  11544. status:
  11545. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  11546. type: integer
  11547. statusdesc:
  11548. description: 账户状态中文描述
  11549. type: string
  11550. taxpayernum:
  11551. description: 纳税人识别号
  11552. type: string
  11553. telphone:
  11554. description: 联系电话
  11555. type: string
  11556. userid:
  11557. description: 用户ID
  11558. type: integer
  11559. userinfotype:
  11560. description: 客户类型 1-个人 2-企业
  11561. type: integer
  11562. username:
  11563. description: 用户名称
  11564. type: string
  11565. type: object
  11566. models.QhjMgrPickGoods:
  11567. properties:
  11568. enumdicname:
  11569. description: 单位名称(提货商品)
  11570. type: string
  11571. goodsid:
  11572. description: 商品id
  11573. type: integer
  11574. imageaddress:
  11575. description: 图片
  11576. type: string
  11577. modifierid:
  11578. description: 修改人
  11579. type: integer
  11580. modifiername:
  11581. description: 修改人名称
  11582. type: string
  11583. modifysrc:
  11584. description: 修改来源 - 1:管理端 2:终端
  11585. type: integer
  11586. pickupgoodsagreeunit:
  11587. description: 合约乘数
  11588. type: number
  11589. pickupgoodsdesc:
  11590. description: 描述
  11591. type: string
  11592. pickupgoodsid:
  11593. description: 提货商品ID
  11594. type: string
  11595. pickupgoodsname:
  11596. description: 提货商品名称
  11597. type: string
  11598. pickupgoodsstatus:
  11599. description: 状态 - 1:正常 2:停用 3:注销
  11600. type: integer
  11601. pickupgoodsunitid:
  11602. description: 单位ID
  11603. type: integer
  11604. pickupratio:
  11605. description: 提货系数
  11606. type: number
  11607. preparedays:
  11608. description: 备货期(天)
  11609. type: integer
  11610. remark:
  11611. description: 备注
  11612. type: string
  11613. updatetime:
  11614. description: 更新时间
  11615. type: string
  11616. type: object
  11617. models.QhjMgrPositionRsp:
  11618. properties:
  11619. accountid:
  11620. description: 账号Id
  11621. type: integer
  11622. accountname:
  11623. description: 用户名称
  11624. type: string
  11625. agreeunit:
  11626. description: 合约乘数
  11627. type: number
  11628. averageprice:
  11629. description: 均价
  11630. type: number
  11631. avialqty:
  11632. description: 可用数量
  11633. type: number
  11634. decimalplace:
  11635. description: 报价小数位
  11636. type: integer
  11637. enumdicname:
  11638. description: 单位名称(商品)
  11639. type: string
  11640. frozenqty:
  11641. description: 冻结数量
  11642. type: number
  11643. goodscode:
  11644. description: 商品代码(内部)
  11645. type: string
  11646. goodsid:
  11647. description: 商品Id
  11648. type: integer
  11649. goodsname:
  11650. description: 商品名称
  11651. type: string
  11652. goodunitid:
  11653. description: 报价单位ID
  11654. type: integer
  11655. holderamount:
  11656. description: 金额
  11657. type: number
  11658. holderqty:
  11659. description: 持有数量
  11660. type: number
  11661. holdertype:
  11662. description: 持仓类别 - 1:单边持仓 2:双边持仓
  11663. type: integer
  11664. logincode:
  11665. description: 登录代码(账户)
  11666. type: string
  11667. marketid:
  11668. description: 市场id
  11669. type: integer
  11670. qtydecimalplace:
  11671. description: 成交量小数位
  11672. type: integer
  11673. trademode:
  11674. description: 交易模式
  11675. type: integer
  11676. userid:
  11677. description: 用户id
  11678. type: integer
  11679. userinfotype:
  11680. description: 账户类型 1-个人 2-企业
  11681. type: integer
  11682. type: object
  11683. models.QhjMgrSubArea:
  11684. properties:
  11685. accountname:
  11686. description: 账户名称(机构名称)
  11687. type: string
  11688. memberuserid:
  11689. description: 所属会员ID
  11690. type: integer
  11691. parenttopuser:
  11692. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  11693. type: string
  11694. parentuserid:
  11695. description: 所属机构ID
  11696. type: integer
  11697. rootuserid:
  11698. description: 根用户ID
  11699. type: string
  11700. subaccountlevel:
  11701. description: 子账户层数
  11702. type: integer
  11703. subarealevelpath:
  11704. description: 子机构层级路径(逗号分隔,首尾加逗号)
  11705. type: string
  11706. userid:
  11707. description: 用户ID
  11708. type: integer
  11709. usertype:
  11710. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  11711. type: integer
  11712. type: object
  11713. models.QhjMgrTradeDetailRsp:
  11714. properties:
  11715. accountid:
  11716. description: 资金账号
  11717. type: integer
  11718. accountname:
  11719. description: 用户名称
  11720. type: string
  11721. agreeunit:
  11722. description: 合约乘数
  11723. type: number
  11724. buyorsell:
  11725. description: 成交类型(方向) 0:买 1:卖
  11726. type: integer
  11727. decimalplace:
  11728. description: 报价小数位
  11729. type: integer
  11730. enumdicname:
  11731. description: 单位名称(商品)
  11732. type: string
  11733. goodscode:
  11734. description: 商品代码(内部)
  11735. type: string
  11736. goodsid:
  11737. description: 商品id
  11738. type: integer
  11739. goodsname:
  11740. description: 商品名称
  11741. type: string
  11742. goodunitid:
  11743. description: 报价单位ID
  11744. type: integer
  11745. logincode:
  11746. description: 登录代码(账户)
  11747. type: string
  11748. marketid:
  11749. description: 市场id
  11750. type: integer
  11751. orderid:
  11752. description: 关联委托单号
  11753. type: string
  11754. qtydecimalplace:
  11755. description: 成交量小数位
  11756. type: integer
  11757. tradeamount:
  11758. description: 金额
  11759. type: number
  11760. tradedate:
  11761. description: 交易日
  11762. type: string
  11763. tradeid:
  11764. description: 成交单号
  11765. type: string
  11766. trademode:
  11767. description: 交易模式
  11768. type: integer
  11769. tradeprice:
  11770. description: 价格
  11771. type: number
  11772. tradeqty:
  11773. description: 数量
  11774. type: number
  11775. tradetime:
  11776. description: 成交时间
  11777. type: string
  11778. userid:
  11779. description: 用户id
  11780. type: integer
  11781. userinfotype:
  11782. description: 账户类型 1-个人 2-企业
  11783. type: integer
  11784. type: object
  11785. models.QhjMgrTradeOrderDetailRsp:
  11786. properties:
  11787. accountid:
  11788. description: 资金账号
  11789. type: integer
  11790. accountname:
  11791. description: 用户名称
  11792. type: string
  11793. agreeunit:
  11794. description: 合约乘数
  11795. type: number
  11796. amount:
  11797. description: 金额
  11798. type: number
  11799. decimalplace:
  11800. description: 报价小数位
  11801. type: integer
  11802. enumdicname:
  11803. description: 单位名称(商品)
  11804. type: string
  11805. goodscode:
  11806. description: 商品代码(内部)
  11807. type: string
  11808. goodsid:
  11809. description: 商品id
  11810. type: integer
  11811. goodsname:
  11812. description: 商品名称
  11813. type: string
  11814. goodunitid:
  11815. description: 报价单位ID
  11816. type: integer
  11817. logincode:
  11818. description: 登录代码(账户)
  11819. type: string
  11820. marketid:
  11821. description: 市场id
  11822. type: integer
  11823. orderid:
  11824. description: 关联委托单号
  11825. type: string
  11826. orderprice:
  11827. description: 价格
  11828. type: number
  11829. orderqty:
  11830. description: 数量
  11831. type: number
  11832. orderstatus:
  11833. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  11834. type: integer
  11835. ordertime:
  11836. description: 委托时间
  11837. type: string
  11838. qtydecimalplace:
  11839. description: 成交量小数位
  11840. type: integer
  11841. tradedate:
  11842. description: 交易日
  11843. type: string
  11844. trademode:
  11845. description: 交易模式
  11846. type: integer
  11847. userid:
  11848. description: 用户id
  11849. type: integer
  11850. userinfotype:
  11851. description: 账户类型 1-个人 2-企业
  11852. type: integer
  11853. type: object
  11854. models.QhjMgrTradePayOrder:
  11855. properties:
  11856. accountname:
  11857. description: 用户名称
  11858. type: string
  11859. advanceratio:
  11860. description: 首付比率
  11861. type: number
  11862. agreeunit:
  11863. description: 合约乘数
  11864. type: number
  11865. buyaccountid:
  11866. description: 买方账号ID[报价币种]
  11867. type: integer
  11868. buyorderid:
  11869. description: 买方委托单号(关联单号)
  11870. type: string
  11871. createtime:
  11872. description: 创建时间
  11873. type: string
  11874. decimalplace:
  11875. description: 报价小数位
  11876. type: integer
  11877. enumdicname:
  11878. description: 单位名称(商品)
  11879. type: string
  11880. goodscode:
  11881. description: 商品代码(内部)
  11882. type: string
  11883. goodsid:
  11884. description: 商品ID
  11885. type: integer
  11886. goodsname:
  11887. description: 商品名称
  11888. type: string
  11889. goodunitid:
  11890. description: 报价单位ID
  11891. type: integer
  11892. logincode:
  11893. description: 登录代码(账户)
  11894. type: string
  11895. marketid:
  11896. description: 市场id
  11897. type: integer
  11898. offamount:
  11899. description: 优惠金额
  11900. type: number
  11901. operatetype:
  11902. description: 买委托操作类型 - 1:正常下单 16:融资买入
  11903. type: integer
  11904. payamount:
  11905. description: 支付金额(金额)
  11906. type: number
  11907. payflag:
  11908. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  11909. type: integer
  11910. paylimitedtime:
  11911. description: 支付期限
  11912. type: string
  11913. paytime:
  11914. description: 付款时间
  11915. type: string
  11916. qtydecimalplace:
  11917. description: 成交量小数位
  11918. type: integer
  11919. sellaccountid:
  11920. description: 卖方账号ID[报价币种]
  11921. type: integer
  11922. sellorderid:
  11923. description: 卖方委托单号
  11924. type: string
  11925. tradeamount:
  11926. description: 成交金额(优惠后金额)
  11927. type: number
  11928. tradecharge:
  11929. description: 成交手续费(买方)
  11930. type: number
  11931. tradedate:
  11932. description: 交易日(yyyyMMdd)
  11933. type: string
  11934. tradeid:
  11935. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11936. type: string
  11937. trademode:
  11938. description: 交易模式
  11939. type: integer
  11940. tradeprice:
  11941. description: 成交价格(价格)
  11942. type: number
  11943. tradeqty:
  11944. description: 成交数量(数量)
  11945. type: number
  11946. tradetime:
  11947. description: 成交时间
  11948. type: string
  11949. userid:
  11950. description: 用户id
  11951. type: integer
  11952. userinfotype:
  11953. description: 账户类型 1-个人 2-企业
  11954. type: integer
  11955. type: object
  11956. models.QhjMyTeamEx:
  11957. properties:
  11958. accountname:
  11959. description: 用户名称
  11960. type: string
  11961. accountstatus:
  11962. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  11963. type: integer
  11964. createtime:
  11965. description: 创建时间
  11966. type: string
  11967. mobile:
  11968. description: 手机号码
  11969. type: string
  11970. refereeuserid:
  11971. description: 推荐人id
  11972. type: integer
  11973. refernum:
  11974. description: 推荐码
  11975. type: string
  11976. subList:
  11977. items:
  11978. $ref: '#/definitions/models.QhjMyTeamEx'
  11979. type: array
  11980. userid:
  11981. description: 用户id
  11982. type: integer
  11983. userinfotype:
  11984. description: 用户类型 1-个人 2-企业
  11985. type: integer
  11986. type: object
  11987. models.QhjNodeAgreementConfig:
  11988. properties:
  11989. agreementcontent:
  11990. description: 协议内容
  11991. type: string
  11992. agreementid:
  11993. description: 协议ID
  11994. type: integer
  11995. agreementname:
  11996. description: 协议名称
  11997. type: string
  11998. agreementno:
  11999. description: 协议编号
  12000. type: string
  12001. agreementtype:
  12002. description: 协议类型 - 1:注册 2:登录 3:交易
  12003. type: integer
  12004. agreementversion:
  12005. description: 协议版本号
  12006. type: integer
  12007. configid:
  12008. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  12009. type: integer
  12010. createtime:
  12011. description: 创建时间
  12012. type: string
  12013. goodsid:
  12014. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12015. type: integer
  12016. nodetype:
  12017. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12018. type: integer
  12019. type: object
  12020. models.QhjParentAreaList:
  12021. properties:
  12022. accountname:
  12023. description: 账户名称(机构名称)
  12024. type: string
  12025. userid:
  12026. description: 用户ID
  12027. type: integer
  12028. usertype:
  12029. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  12030. type: integer
  12031. type: object
  12032. models.QhjPayOrder:
  12033. properties:
  12034. advanceratio:
  12035. description: 首付比率
  12036. type: number
  12037. buyaccountid:
  12038. description: 买方账号ID[报价币种]
  12039. type: integer
  12040. buyorderid:
  12041. description: 买方委托单号
  12042. type: string
  12043. createtime:
  12044. description: 创建时间
  12045. type: string
  12046. decimalplace:
  12047. description: 商品报价小数位
  12048. type: integer
  12049. enumdicname:
  12050. description: 单位名称
  12051. type: string
  12052. goodscode:
  12053. description: 商品代码
  12054. type: string
  12055. goodsid:
  12056. description: 商品ID
  12057. type: integer
  12058. goodsname:
  12059. description: 商品名称
  12060. type: string
  12061. goodunitid:
  12062. description: 商品单位id
  12063. type: integer
  12064. marketid:
  12065. description: 市场ID
  12066. type: integer
  12067. offamount:
  12068. description: 优惠金额
  12069. type: number
  12070. operatetype:
  12071. description: 买委托操作类型 - 1:正常下单 16:融资买入
  12072. type: integer
  12073. payamount:
  12074. description: 支付金额
  12075. type: number
  12076. payflag:
  12077. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  12078. type: integer
  12079. paylimitedtime:
  12080. description: 支付期限
  12081. type: string
  12082. paytime:
  12083. description: 付款时间
  12084. type: string
  12085. qtydecimalplace:
  12086. description: 成交量小数位
  12087. type: integer
  12088. sellaccountid:
  12089. description: 卖方账号ID[报价币种]
  12090. type: integer
  12091. sellorderid:
  12092. description: 卖方委托单号
  12093. type: string
  12094. tradeamount:
  12095. description: 成交金额(优惠后金额)
  12096. type: number
  12097. tradecharge:
  12098. description: 成交手续费(买方)
  12099. type: number
  12100. tradedate:
  12101. description: 交易日(yyyyMMdd)
  12102. type: string
  12103. tradeid:
  12104. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12105. type: string
  12106. tradeprice:
  12107. description: 成交价格
  12108. type: number
  12109. tradeqty:
  12110. description: 成交数量
  12111. type: number
  12112. type: object
  12113. models.QhjPickArea:
  12114. properties:
  12115. address:
  12116. description: 详细地址
  12117. type: string
  12118. cityid:
  12119. description: 市
  12120. type: integer
  12121. cityname:
  12122. description: 城市名称
  12123. type: string
  12124. countryid:
  12125. description: 国家
  12126. type: integer
  12127. countryname:
  12128. description: 国家名称
  12129. type: string
  12130. districtid:
  12131. description: 地区
  12132. type: integer
  12133. districtname:
  12134. description: 地区名称
  12135. type: string
  12136. fromuserid:
  12137. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  12138. type: integer
  12139. fromusername:
  12140. description: 所属机构名称
  12141. type: string
  12142. provinceid:
  12143. description: 省
  12144. type: integer
  12145. provincename:
  12146. description: 省名称
  12147. type: string
  12148. suborgtype:
  12149. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  12150. type: integer
  12151. userid:
  12152. description: 机构用户ID 其他做市关系,都设置为 1
  12153. type: integer
  12154. username:
  12155. description: 机构用户名称(门店门称)
  12156. type: string
  12157. type: object
  12158. models.QhjPickGoods:
  12159. properties:
  12160. enumdicname:
  12161. description: 单位名称(提货商品)
  12162. type: string
  12163. goodsid:
  12164. description: 商品id
  12165. type: integer
  12166. imageaddress:
  12167. description: 图片
  12168. type: string
  12169. modifierid:
  12170. description: 修改人
  12171. type: integer
  12172. modifiername:
  12173. description: 修改人名称
  12174. type: string
  12175. modifysrc:
  12176. description: 修改来源 - 1:管理端 2:终端
  12177. type: integer
  12178. pickupgoodsagreeunit:
  12179. description: 合约乘数
  12180. type: number
  12181. pickupgoodsdesc:
  12182. description: 描述
  12183. type: string
  12184. pickupgoodsid:
  12185. description: 提货商品ID
  12186. type: string
  12187. pickupgoodsname:
  12188. description: 提货商品名称
  12189. type: string
  12190. pickupgoodsstatus:
  12191. description: 状态 - 1:正常 2:停用 3:注销
  12192. type: integer
  12193. pickupgoodsunitid:
  12194. description: 单位ID
  12195. type: integer
  12196. pickupratio:
  12197. description: 提货系数
  12198. type: number
  12199. preparedays:
  12200. description: 备货期(天)
  12201. type: integer
  12202. remark:
  12203. description: 备注
  12204. type: string
  12205. updatetime:
  12206. description: 更新时间
  12207. type: string
  12208. type: object
  12209. models.QhjRSTriggerLog:
  12210. properties:
  12211. accountid:
  12212. description: 用户资金账户
  12213. type: integer
  12214. accountname:
  12215. description: 账号名称(ACCOUNTID对应的名称)
  12216. type: string
  12217. currencyid:
  12218. description: 币种id
  12219. type: integer
  12220. currencyname:
  12221. description: 币种名称
  12222. type: string
  12223. decimalplace:
  12224. description: 商品报价小数位
  12225. type: integer
  12226. enumdicname:
  12227. description: 单位名称
  12228. type: string
  12229. goodscode:
  12230. description: 定投商品代码
  12231. type: string
  12232. goodsid:
  12233. description: 定投商品ID
  12234. type: integer
  12235. goodsname:
  12236. description: 定投商品名称
  12237. type: string
  12238. goodunitid:
  12239. description: 定投商品单位id
  12240. type: integer
  12241. logid:
  12242. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  12243. type: string
  12244. logincode:
  12245. description: 账号(登录代码)
  12246. type: string
  12247. qtydecimalplace:
  12248. description: 成交量小数位
  12249. type: integer
  12250. regularlycycle:
  12251. description: 定投频率 - 1:每周 2:每月
  12252. type: integer
  12253. regularlycyclevalue:
  12254. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  12255. type: string
  12256. regularlymode:
  12257. description: 定投方式 - 1:按数量 2:按金额
  12258. type: integer
  12259. regularlymodevalue:
  12260. description: 定投方式值 - 数量或金额
  12261. type: number
  12262. regularlystrategyid:
  12263. description: 定投策略ID
  12264. type: integer
  12265. retcode:
  12266. description: 错误码
  12267. type: string
  12268. tradeid:
  12269. description: 成交单ID
  12270. type: string
  12271. triggeramount:
  12272. description: 触发金额
  12273. type: number
  12274. triggerqty:
  12275. description: 触发数量
  12276. type: number
  12277. triggerstatus:
  12278. description: 触发状态 - 1:成功 2:失败
  12279. type: integer
  12280. triggertime:
  12281. description: 触发时间
  12282. type: string
  12283. triggertradedate:
  12284. description: 触发交易日
  12285. type: string
  12286. userid:
  12287. description: 所属用户ID
  12288. type: integer
  12289. userinfotype:
  12290. description: 用户类型 1-个人 2-企业
  12291. type: integer
  12292. username:
  12293. description: 用户名称(userid对应的名称)
  12294. type: string
  12295. type: object
  12296. models.QhjRStrategy:
  12297. properties:
  12298. accountid:
  12299. description: 用户资金账户
  12300. type: integer
  12301. accountname:
  12302. description: 账号名称(ACCOUNTID对应的名称)
  12303. type: string
  12304. currencyid:
  12305. description: 币种id
  12306. type: integer
  12307. currencyname:
  12308. description: 币种名称
  12309. type: string
  12310. decimalplace:
  12311. description: 商品报价小数位
  12312. type: integer
  12313. enumdicname:
  12314. description: 单位名称
  12315. type: string
  12316. goodscode:
  12317. description: 定投商品代码
  12318. type: string
  12319. goodsid:
  12320. description: 定投商品ID
  12321. type: integer
  12322. goodsname:
  12323. description: 定投商品名称
  12324. type: string
  12325. goodunitid:
  12326. description: 定投商品单位id
  12327. type: integer
  12328. lasteffecttradedate:
  12329. description: 最新生效交易日
  12330. type: string
  12331. laststoptradedate:
  12332. description: 最新暂停交易日
  12333. type: string
  12334. lasttriggertradedate:
  12335. description: 最新触发交易日
  12336. type: string
  12337. logincode:
  12338. description: 账号(登录代码)
  12339. type: string
  12340. nexttriggeramount:
  12341. description: 下次触发金额
  12342. type: number
  12343. nexttriggerdate:
  12344. description: 下次触发日期
  12345. type: string
  12346. nexttriggerqty:
  12347. description: 下次触发数量 [按小数位放大值]
  12348. type: number
  12349. qtydecimalplace:
  12350. description: 成交量小数位
  12351. type: integer
  12352. regularlycycle:
  12353. description: 定投频率 - 1:每周 2:每月
  12354. type: integer
  12355. regularlycyclevalue:
  12356. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  12357. type: string
  12358. regularlymode:
  12359. description: 定投方式 - 1:按数量 2:按金额
  12360. type: integer
  12361. regularlymodevalue:
  12362. description: 定投方式值 - 数量或金额
  12363. type: number
  12364. regularlystrategyid:
  12365. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  12366. type: integer
  12367. regularlystrategystatus:
  12368. description: 策略状态 - 1:正常 2:暂停 3:终止
  12369. type: integer
  12370. remark:
  12371. description: 备注
  12372. type: string
  12373. triggersuccesstimes:
  12374. description: 累计定投成功次数
  12375. type: string
  12376. triggertotalamount:
  12377. description: 累计定投金额(成功)
  12378. type: number
  12379. triggertotalqty:
  12380. description: 累计定投数量(成功) [按小数位放大值]
  12381. type: number
  12382. triggertotaltimes:
  12383. description: 累计定投总次数
  12384. type: string
  12385. updatesrc:
  12386. description: 更新来源 - 1:管理端 2:终端
  12387. type: integer
  12388. updatetime:
  12389. description: 更新时间
  12390. type: string
  12391. updatorid:
  12392. description: 更新人
  12393. type: string
  12394. userid:
  12395. description: 所属用户ID
  12396. type: integer
  12397. userinfotype:
  12398. description: 用户类型 1-个人 2-企业
  12399. type: integer
  12400. username:
  12401. description: 用户名称(userid对应的名称)
  12402. type: string
  12403. type: object
  12404. models.QhjReckonPriceLog:
  12405. properties:
  12406. decimalplace:
  12407. description: 商品报价小数位
  12408. type: integer
  12409. goodscode:
  12410. description: 商品代码
  12411. type: string
  12412. goodsid:
  12413. description: 商品ID
  12414. type: integer
  12415. goodsname:
  12416. description: 商品名称
  12417. type: string
  12418. lastreckonprice:
  12419. description: 上日结算价
  12420. type: number
  12421. nextdnlimitprice:
  12422. description: 下个交易日跌停价
  12423. type: number
  12424. nexttrade:
  12425. description: 下个交易日
  12426. type: string
  12427. nextuplimitprice:
  12428. description: 下个交易日涨停价
  12429. type: number
  12430. reckonprice:
  12431. description: 今日结算价(定投价)
  12432. type: number
  12433. reckontime:
  12434. description: 结算时间
  12435. type: string
  12436. totalholderqty:
  12437. description: 总持仓数
  12438. type: integer
  12439. totalstock:
  12440. description: 总库存
  12441. type: integer
  12442. tradedate:
  12443. description: 交易日
  12444. type: string
  12445. updowncount:
  12446. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  12447. type: integer
  12448. updownflag:
  12449. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  12450. type: integer
  12451. updownrate:
  12452. description: 今日涨跌幅
  12453. type: number
  12454. updownrate_2d:
  12455. description: 连续两日涨跌幅
  12456. type: number
  12457. updownrate_3d:
  12458. description: 连续三日涨跌幅
  12459. type: number
  12460. type: object
  12461. models.QhjScoreLog:
  12462. properties:
  12463. accountid:
  12464. description: 账户ID
  12465. type: integer
  12466. createtime:
  12467. description: 创建时间(时间)
  12468. type: string
  12469. goodsid:
  12470. description: 商品ID
  12471. type: integer
  12472. hasuploaded:
  12473. description: 是否已同步(千海金) 0:未同步 1;已同步
  12474. type: integer
  12475. logid:
  12476. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12477. type: string
  12478. marketid:
  12479. description: 市场ID
  12480. type: integer
  12481. relatedamount:
  12482. description: 关联金额
  12483. type: number
  12484. relatedorderid:
  12485. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  12486. type: string
  12487. scoreconfigvalue1:
  12488. description: 积分配置1
  12489. type: integer
  12490. scoreconfigvalue2:
  12491. description: 积分配置1
  12492. type: integer
  12493. scoretype:
  12494. description: 积分类型 - 1:提货积分
  12495. type: integer
  12496. scorevalue:
  12497. description: 积分
  12498. type: number
  12499. tradedate:
  12500. description: 交易日(yyyyMMdd)
  12501. type: string
  12502. uploadedtime:
  12503. description: 同步时间
  12504. type: string
  12505. userid:
  12506. description: 用户ID
  12507. type: integer
  12508. type: object
  12509. models.QhjSiteColumnDetail:
  12510. properties:
  12511. author:
  12512. description: 作者
  12513. type: string
  12514. brief:
  12515. description: 简介
  12516. type: string
  12517. columnid:
  12518. description: 所属栏目
  12519. type: integer
  12520. context:
  12521. description: 内容
  12522. type: string
  12523. coverimage:
  12524. description: 封面图片
  12525. type: string
  12526. creaedate:
  12527. description: 创建时间
  12528. type: string
  12529. creatorid:
  12530. description: 创建人
  12531. type: integer
  12532. hits:
  12533. description: 点击数
  12534. type: integer
  12535. id:
  12536. description: ID(SEQ_SITE_COLUMNDETAIL)
  12537. type: integer
  12538. isshow:
  12539. description: 是否展示 - 0:不展示 1:展示
  12540. type: integer
  12541. istop:
  12542. description: 是否置顶 - 0:不置 1:置顶
  12543. type: integer
  12544. modifierid:
  12545. description: 操作人
  12546. type: integer
  12547. publishdate:
  12548. description: 发布日期
  12549. type: string
  12550. status:
  12551. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  12552. type: integer
  12553. title:
  12554. description: 标题
  12555. type: string
  12556. updatedate:
  12557. description: 修改时间
  12558. type: string
  12559. userid:
  12560. description: 用户ID(默认为0, 核心为为机构用户ID)
  12561. type: integer
  12562. username:
  12563. description: 用户名称
  12564. type: string
  12565. type: object
  12566. models.QhjTeamOrder:
  12567. properties:
  12568. accountid:
  12569. description: 账户ID[报价币种]
  12570. type: integer
  12571. accountname:
  12572. description: 账户名称
  12573. type: string
  12574. agreeunit:
  12575. description: 合约乘数
  12576. type: number
  12577. buyorsell:
  12578. description: 方向 - 0:买 1:卖
  12579. type: integer
  12580. decimalplace:
  12581. description: 报价小数位
  12582. type: integer
  12583. enumdicname:
  12584. description: 单位名称
  12585. type: string
  12586. goodscode:
  12587. description: 商品代码(内部)
  12588. type: string
  12589. goodsid:
  12590. description: 商品ID
  12591. type: integer
  12592. goodsname:
  12593. description: 商品名称
  12594. type: string
  12595. goodunitid:
  12596. description: 报价单位ID
  12597. type: integer
  12598. marketid:
  12599. description: 市场ID
  12600. type: integer
  12601. marketname:
  12602. description: 市场名称
  12603. type: string
  12604. qtydecimalplace:
  12605. description: 成交量小数位
  12606. type: integer
  12607. refereeuserid:
  12608. description: 推荐人ID
  12609. type: integer
  12610. tradeamount:
  12611. description: 成交金额[账户币种,用于所有权]
  12612. type: number
  12613. tradedate:
  12614. description: 交易日(yyyyMMdd)
  12615. type: string
  12616. trademode:
  12617. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  12618. type: integer
  12619. tradeprice:
  12620. description: 成交价格
  12621. type: number
  12622. tradeqty:
  12623. description: 成交数量
  12624. type: number
  12625. tradetime:
  12626. description: 成交时间
  12627. type: string
  12628. userid:
  12629. description: 用户ID
  12630. type: integer
  12631. type: object
  12632. models.QhjTradeGoodsPickup:
  12633. properties:
  12634. accountid:
  12635. description: 账户ID
  12636. type: integer
  12637. address:
  12638. description: 提货人详细地址
  12639. type: string
  12640. amount:
  12641. description: 提货金额
  12642. type: number
  12643. artradedate:
  12644. description: 自动收货交易日(yyyyMMdd)
  12645. type: string
  12646. auditer:
  12647. description: 审核人
  12648. type: integer
  12649. auditsrc:
  12650. description: 更新来源 - 1:管理端 2:终端
  12651. type: integer
  12652. audittime:
  12653. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  12654. type: string
  12655. audittradedate:
  12656. description: 审核交易日(yyyyMMdd)
  12657. type: string
  12658. cardnum:
  12659. description: 提货人证件号码
  12660. type: string
  12661. cardtypeid:
  12662. description: 提货人证件类型
  12663. type: integer
  12664. checkremark:
  12665. description: 审核备注
  12666. type: string
  12667. cityid:
  12668. description: 市
  12669. type: integer
  12670. cityname:
  12671. description: 城市名称
  12672. type: string
  12673. confirmtime:
  12674. description: 取货时间 或 收货时间
  12675. type: string
  12676. countryid:
  12677. description: 国家
  12678. type: integer
  12679. countryname:
  12680. description: 国家名称
  12681. type: string
  12682. decimalplace:
  12683. description: 商品报价小数位
  12684. type: integer
  12685. districtid:
  12686. description: 地区
  12687. type: integer
  12688. districtname:
  12689. description: 地区名称
  12690. type: string
  12691. enumdicname:
  12692. description: 单位名称(提货商品)
  12693. type: string
  12694. expresscompany:
  12695. description: 物流公司
  12696. type: string
  12697. expressnum:
  12698. description: 物流单号
  12699. type: string
  12700. goodsagreeunit:
  12701. description: 交易商品乘数
  12702. type: number
  12703. goodscode:
  12704. description: 商品代码
  12705. type: string
  12706. goodsid:
  12707. description: 商品ID
  12708. type: integer
  12709. goodsname:
  12710. description: 商品名称
  12711. type: string
  12712. goodsqty:
  12713. description: 交易商品手数(69模式按成交量小数位放大取整)
  12714. type: number
  12715. handlestatus:
  12716. description: 处理状态
  12717. type: integer
  12718. logincode:
  12719. description: 账号(登录代码, 有可能为空)
  12720. type: string
  12721. marketid:
  12722. description: 市场ID
  12723. type: integer
  12724. phonenum:
  12725. description: 提货人联系方式
  12726. type: string
  12727. pickupgoodsagreeunit:
  12728. description: 提货商品合约乘数
  12729. type: number
  12730. pickupgoodsid:
  12731. description: 提货商品ID
  12732. type: string
  12733. pickupgoodsname:
  12734. description: 提货商品名称
  12735. type: string
  12736. pickupgoodsqty:
  12737. description: 提货商品手数(数量)
  12738. type: number
  12739. pickupgoodsunitid:
  12740. description: 单位ID(提货商品)
  12741. type: integer
  12742. pickupratio:
  12743. description: 提货系数
  12744. type: number
  12745. preparedays:
  12746. description: 备货期(天)-提货单明细表
  12747. type: integer
  12748. provinceid:
  12749. description: 省
  12750. type: integer
  12751. provincename:
  12752. description: 省名称
  12753. type: string
  12754. qty:
  12755. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  12756. type: number
  12757. qtydecimalplace:
  12758. description: 商品数量小数位
  12759. type: integer
  12760. recivername:
  12761. description: 提货人姓名
  12762. type: string
  12763. reqtime:
  12764. description: 提货申请时间
  12765. type: string
  12766. storeuserid:
  12767. description: 门店用户ID (千海金)
  12768. type: integer
  12769. storeusername:
  12770. description: 门店用户名称
  12771. type: string
  12772. takemode:
  12773. description: 提货方式 - 2:自提 3:配送(邮寄)
  12774. type: integer
  12775. takeorderid:
  12776. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  12777. type: string
  12778. takeorderstatus:
  12779. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销
  12780. type: integer
  12781. takeremark:
  12782. description: 提货备注
  12783. type: string
  12784. tradedate:
  12785. description: 交易日(yyyyMMdd)
  12786. type: string
  12787. updatetime:
  12788. description: 更新时间
  12789. type: string
  12790. userid:
  12791. description: 用户ID
  12792. type: integer
  12793. userinfotype:
  12794. description: 客户类型 1-个人 2-企业
  12795. type: integer
  12796. username:
  12797. description: 用户名称
  12798. type: string
  12799. type: object
  12800. models.QhjUserNodeCfgAndStatus:
  12801. properties:
  12802. agreementcontent:
  12803. description: 协议内容
  12804. type: string
  12805. agreementid:
  12806. description: 协议ID
  12807. type: integer
  12808. agreementname:
  12809. description: 协议名称
  12810. type: string
  12811. agreementno:
  12812. description: 协议编号
  12813. type: string
  12814. agreementtype:
  12815. description: 协议类型 - 1:注册 2:登录 3:交易
  12816. type: integer
  12817. agreementversion:
  12818. description: 协议版本号
  12819. type: integer
  12820. configid:
  12821. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  12822. type: integer
  12823. createtime:
  12824. description: 创建时间
  12825. type: string
  12826. goodsid:
  12827. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12828. type: integer
  12829. nodetype:
  12830. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12831. type: integer
  12832. signtimestamp:
  12833. description: 签约状态时间戳(最近一次)
  12834. type: string
  12835. tradedate:
  12836. description: 签约交易日(yyyyMMdd)
  12837. type: string
  12838. userid:
  12839. description: 客户ID
  12840. type: integer
  12841. type: object
  12842. models.Qhjgoodsex:
  12843. properties:
  12844. canfinance:
  12845. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  12846. type: integer
  12847. canregularlybuy:
  12848. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  12849. type: integer
  12850. defaulttradeuserid:
  12851. description: 默认交易用户ID
  12852. type: integer
  12853. deliverygoodsid:
  12854. description: 现货品种ID
  12855. type: integer
  12856. goodsid:
  12857. description: 商品ID(自增ID SEQ_GOODS)
  12858. type: integer
  12859. minamount:
  12860. description: 最小购买金额
  12861. type: number
  12862. regularlybuyminamount:
  12863. description: 定投最小金额
  12864. type: number
  12865. regularlybuyminqty:
  12866. description: 定投最小数量
  12867. type: number
  12868. spotgoodsbrandid:
  12869. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  12870. type: integer
  12871. visibilityforenterprise:
  12872. description: 企业客户是否可见 - 0:不可见 1:可见
  12873. type: integer
  12874. visibilityforpersonal:
  12875. description: 个人客户是否可见 - 0:不可见 1:可见
  12876. type: integer
  12877. wrstandardid:
  12878. description: 现货商品ID
  12879. type: integer
  12880. type: object
  12881. models.QueryErrorInfosRsp:
  12882. properties:
  12883. description:
  12884. description: 异常描述
  12885. type: string
  12886. errorcode:
  12887. description: 异常代码
  12888. type: string
  12889. errorid:
  12890. description: 异常ID
  12891. type: integer
  12892. modulecode:
  12893. description: 所属模块
  12894. type: string
  12895. operatecode:
  12896. description: 所属操作
  12897. type: string
  12898. rownumber:
  12899. description: 行号
  12900. type: string
  12901. required:
  12902. - errorid
  12903. type: object
  12904. models.QueryHedgeOrderDetailRsp:
  12905. properties:
  12906. accountid:
  12907. description: 账户ID
  12908. type: integer
  12909. buyorsell:
  12910. description: 买卖 - 0:买 1:卖
  12911. type: integer
  12912. cancellogincode:
  12913. description: 撤单人
  12914. type: string
  12915. channelbuildtype:
  12916. description: 开平标志 - 0:无 1:建仓 2:平仓
  12917. type: integer
  12918. channelinnerorderstatus:
  12919. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交
  12920. type: integer
  12921. channeloperatetype:
  12922. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  12923. type: integer
  12924. closetype:
  12925. description: 平仓方式 - 0:无 1:平今 2:平昨
  12926. type: integer
  12927. curexchangerate:
  12928. description: 当前汇率
  12929. type: number
  12930. exchangefullname:
  12931. description: 外部交易所全称
  12932. type: string
  12933. goodscode:
  12934. description: 商品代码(内部)
  12935. type: string
  12936. goodsid:
  12937. description: 商品ID
  12938. type: integer
  12939. goodsname:
  12940. description: 商品名称
  12941. type: string
  12942. marketid:
  12943. description: 市场ID
  12944. type: integer
  12945. openfreezemargin:
  12946. description: 冻结保证金(冻结交易金额)
  12947. type: number
  12948. orderid:
  12949. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12950. type: string
  12951. orderlogincode:
  12952. description: 委托人
  12953. type: string
  12954. orderprice:
  12955. description: 委托价格(账户)
  12956. type: number
  12957. orderqty:
  12958. description: 委托数量
  12959. type: integer
  12960. ordertime:
  12961. description: 委托时间
  12962. type: string
  12963. pricemode:
  12964. description: '取价方式 - 1:市价 2: 限价'
  12965. type: integer
  12966. tradedate:
  12967. description: 交易日(yyyyMMdd)
  12968. type: string
  12969. tradeqty:
  12970. description: 成交数量
  12971. type: integer
  12972. type: object
  12973. models.QueryHedgeTradeDetailRsp:
  12974. properties:
  12975. accountid:
  12976. description: 账号ID
  12977. type: integer
  12978. buyorsell:
  12979. description: 方向 - 0:买 1:卖
  12980. type: integer
  12981. channelbuildtype:
  12982. description: 委托单据类型 0:无 1:建仓 2:平仓
  12983. type: integer
  12984. closecharge:
  12985. description: 平仓手续费(账户)
  12986. type: number
  12987. closecharge2:
  12988. description: 平仓手续费(商品)
  12989. type: number
  12990. closepl:
  12991. description: 平仓盈亏(账户)
  12992. type: number
  12993. closepl2:
  12994. description: 平仓盈亏(商品)
  12995. type: number
  12996. closepl3:
  12997. description: 平仓盈亏(账户)(逐笔)
  12998. type: number
  12999. closepl4:
  13000. description: 平仓盈亏(商品)(逐笔)
  13001. type: number
  13002. closetype:
  13003. description: 平仓方式 - 0:无 1:平今 2:平昨
  13004. type: integer
  13005. curexchangerate:
  13006. description: 当前汇率
  13007. type: number
  13008. exchangefullname:
  13009. description: 外部交易所全称
  13010. type: string
  13011. goodscode:
  13012. description: 商品代码(内部)
  13013. type: string
  13014. goodsid:
  13015. description: 商品ID
  13016. type: integer
  13017. goodsname:
  13018. description: 商品名称
  13019. type: string
  13020. marketid:
  13021. description: 市场ID
  13022. type: integer
  13023. opencharge:
  13024. description: 建仓手续费(账户)
  13025. type: number
  13026. opencharge2:
  13027. description: 建仓手续费(商品)
  13028. type: number
  13029. orderid:
  13030. description: 委托单号
  13031. type: string
  13032. orderlogincode:
  13033. description: 委托人
  13034. type: string
  13035. tradeamount:
  13036. description: 成交金额(账户)
  13037. type: number
  13038. tradedate:
  13039. description: 交易日(yyyyMMdd)
  13040. type: string
  13041. tradeid:
  13042. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13043. type: string
  13044. tradeprice:
  13045. description: 成交价格
  13046. type: number
  13047. tradeqty:
  13048. description: 成交数量
  13049. type: integer
  13050. tradetime:
  13051. description: 成交时间
  13052. type: string
  13053. tradetype:
  13054. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  13055. type: integer
  13056. type: object
  13057. models.QuotePrimaryMenu:
  13058. properties:
  13059. Index:
  13060. description: 序号
  13061. type: integer
  13062. Key:
  13063. description: 键名
  13064. type: string
  13065. Name:
  13066. description: 菜单名称
  13067. type: string
  13068. SubMenus:
  13069. description: 子菜单
  13070. items:
  13071. $ref: '#/definitions/models.QuoteSecondaryMenu'
  13072. type: array
  13073. SubTitleType:
  13074. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  13075. type: integer
  13076. TradeModes:
  13077. description: 包含市场交易类型
  13078. type: string
  13079. type: object
  13080. models.QuoteSecondaryMenu:
  13081. properties:
  13082. ExExchangeCode:
  13083. description: 外部交易所代码
  13084. type: string
  13085. ExExchangeID:
  13086. description: 外部交易所ID
  13087. type: integer
  13088. GoodsGroupIDs:
  13089. description: 商品组ID列表
  13090. items:
  13091. type: integer
  13092. type: array
  13093. Index:
  13094. description: 序号
  13095. type: integer
  13096. MarketID:
  13097. description: 市场ID
  13098. type: integer
  13099. MenuTitle:
  13100. description: 菜单标题(市场名称或外部交易所名称)
  13101. type: string
  13102. TradeMode:
  13103. description: 交易模式
  13104. type: integer
  13105. type: object
  13106. models.RoleMenu:
  13107. properties:
  13108. hasright:
  13109. description: 是否有权限 0-没有权限 1-有权限
  13110. type: integer
  13111. iconame:
  13112. description: 菜单图标
  13113. type: string
  13114. menutype:
  13115. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  13116. type: integer
  13117. parentcode:
  13118. description: 上级资源代码
  13119. type: string
  13120. remark:
  13121. description: 菜单备注
  13122. type: string
  13123. resourcecode:
  13124. description: 菜单代码
  13125. type: string
  13126. resourcelevel:
  13127. description: 级别
  13128. type: integer
  13129. resourcename:
  13130. description: 菜单名称
  13131. type: string
  13132. roleid:
  13133. description: 角色id
  13134. type: integer
  13135. sort:
  13136. description: 排序
  13137. type: integer
  13138. subMenu:
  13139. description: 子级菜单(结构同上层一样, swag解析不出来)
  13140. items:
  13141. $ref: '#/definitions/models.RoleMenu'
  13142. type: array
  13143. url:
  13144. description: URL
  13145. type: string
  13146. userid:
  13147. description: 用户id
  13148. type: integer
  13149. type: object
  13150. models.SearchGoods:
  13151. properties:
  13152. goodscode:
  13153. description: 商品代码(内部)
  13154. type: string
  13155. goodsid:
  13156. description: 商品ID(自增ID SEQ_GOODS)
  13157. type: integer
  13158. goodsname:
  13159. description: 商品名称
  13160. type: string
  13161. marketid:
  13162. description: 所属市场ID
  13163. type: integer
  13164. marketname:
  13165. description: 市场名称
  13166. type: string
  13167. trademode:
  13168. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  13169. type: integer
  13170. required:
  13171. - goodscode
  13172. - goodsid
  13173. - goodsname
  13174. - marketid
  13175. - trademode
  13176. type: object
  13177. models.Systemparam:
  13178. properties:
  13179. loginid:
  13180. description: 更新用户账号,登录账号
  13181. type: string
  13182. modifyflag:
  13183. description: 修改标志0 不允许修改 1 允许修改
  13184. type: integer
  13185. paramcode:
  13186. description: 参数代码
  13187. type: string
  13188. paramname:
  13189. description: 参数名
  13190. type: string
  13191. paramtype:
  13192. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  13193. type: integer
  13194. paramvalue:
  13195. description: 参数值
  13196. type: string
  13197. paramvalue2:
  13198. description: 参数值(CLOB)
  13199. type: string
  13200. regexpress:
  13201. description: 正则表达式
  13202. type: string
  13203. remark:
  13204. description: 备注
  13205. type: string
  13206. serverip:
  13207. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  13208. type: string
  13209. showflag:
  13210. description: 是否显示0 不显示 1 显示
  13211. type: integer
  13212. updatetime:
  13213. description: 更新时间
  13214. type: string
  13215. userid:
  13216. description: 更新用户ID
  13217. type: integer
  13218. required:
  13219. - paramcode
  13220. type: object
  13221. models.Szdz3convertconfig:
  13222. properties:
  13223. canin:
  13224. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  13225. type: integer
  13226. canout:
  13227. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  13228. type: integer
  13229. converttype:
  13230. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)
  13231. type: integer
  13232. createtime:
  13233. description: 创建时间
  13234. type: string
  13235. creatorid:
  13236. description: 创建人
  13237. type: integer
  13238. daymaxvalue:
  13239. description: 当日最大转入限制
  13240. type: number
  13241. freezedays:
  13242. description: 冻结天数 [5:花生米转交易]
  13243. type: integer
  13244. innergoodsid:
  13245. description: 内部商品ID[交易]
  13246. type: integer
  13247. inratio:
  13248. description: 目标值
  13249. type: integer
  13250. modifierid:
  13251. description: 修改人
  13252. type: integer
  13253. modifytime:
  13254. description: 修改时间
  13255. type: string
  13256. outergoodscode:
  13257. description: 外部商品代码[JD\PD]
  13258. type: string
  13259. outratio:
  13260. description: 源值
  13261. type: integer
  13262. pddecimalplace:
  13263. description: PD小数位
  13264. type: integer
  13265. timemaxvalue:
  13266. description: 单次最大转入限制
  13267. type: number
  13268. timeminvalue:
  13269. description: 单次最小转入限制
  13270. type: number
  13271. required:
  13272. - converttype
  13273. - innergoodsid
  13274. - outergoodscode
  13275. type: object
  13276. models.Szdz3searchwhitelist:
  13277. properties:
  13278. createtime:
  13279. description: 创建时间
  13280. type: string
  13281. creatorid:
  13282. description: 创建人
  13283. type: integer
  13284. modifierid:
  13285. description: 修改人
  13286. type: integer
  13287. modifytime:
  13288. description: 修改时间
  13289. type: string
  13290. userid:
  13291. description: 用户ID
  13292. type: integer
  13293. required:
  13294. - userid
  13295. type: object
  13296. models.TBGoods:
  13297. properties:
  13298. agreeunit:
  13299. description: 合约乘数
  13300. type: number
  13301. enumdicname:
  13302. description: 单位名称
  13303. type: string
  13304. goodscode:
  13305. description: 商品代码(内部)
  13306. type: string
  13307. goodsid:
  13308. description: 商品ID(自增ID SEQ_GOODS)
  13309. type: integer
  13310. goodsname:
  13311. description: 商品名称
  13312. type: string
  13313. type: object
  13314. models.TBGoodsGroup:
  13315. properties:
  13316. convertratio:
  13317. description: 折算系数
  13318. type: number
  13319. enumdicname:
  13320. description: 单位名称
  13321. type: string
  13322. exexchangecode:
  13323. description: 交易所代码
  13324. type: string
  13325. exexchangename:
  13326. description: 交易所名称
  13327. type: string
  13328. gdlst:
  13329. description: 商品列表
  13330. items:
  13331. $ref: '#/definitions/models.TBGoods'
  13332. type: array
  13333. goodsgroupid:
  13334. description: 商品组ID(自增ID)
  13335. type: integer
  13336. goodsgroupname:
  13337. description: 商品组名称
  13338. type: string
  13339. goodunitid:
  13340. description: 报价单位ID
  13341. type: integer
  13342. type: object
  13343. models.TBMiddleGoods:
  13344. properties:
  13345. areauserid:
  13346. description: 机构用户ID
  13347. type: integer
  13348. enumdicname:
  13349. description: 单位名称
  13350. type: string
  13351. goodsunitid:
  13352. description: 套保品种单位id
  13353. type: integer
  13354. gplst:
  13355. description: 期货品种列表
  13356. items:
  13357. $ref: '#/definitions/models.TBGoodsGroup'
  13358. type: array
  13359. middlegoodscode:
  13360. description: 套保品种代码
  13361. type: string
  13362. middlegoodsid:
  13363. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  13364. type: integer
  13365. middlegoodsname:
  13366. description: 套保品种名称
  13367. type: string
  13368. needarbitrageratio:
  13369. description: 套利比率
  13370. type: number
  13371. needhedgeratio:
  13372. description: 套保比率
  13373. type: number
  13374. wdlst:
  13375. description: 商品信息列表(现货品类)
  13376. items:
  13377. $ref: '#/definitions/models.TBWrstandard'
  13378. type: array
  13379. type: object
  13380. models.TBWrstandard:
  13381. properties:
  13382. convertratio:
  13383. description: 折算系数
  13384. type: number
  13385. deliverygoodsname:
  13386. description: 品种名称
  13387. type: string
  13388. enumdicname:
  13389. description: 单位名称
  13390. type: string
  13391. vatrate:
  13392. description: 增值税率
  13393. type: number
  13394. wrstandardcode:
  13395. description: 现货商品代码
  13396. type: string
  13397. wrstandardid:
  13398. description: 现货商品ID(SEQ_WRSTANDARD)
  13399. type: integer
  13400. wrstandardname:
  13401. description: 现货商品名称
  13402. type: string
  13403. type: object
  13404. models.Taaccount:
  13405. properties:
  13406. accountflag:
  13407. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  13408. type: integer
  13409. accountid:
  13410. description: 资金账户ID
  13411. type: integer
  13412. accountname:
  13413. description: 账户名称
  13414. type: string
  13415. balance:
  13416. description: 期初余额
  13417. type: number
  13418. capitalbalance:
  13419. description: 本金余额[外部子账户实际出入金余额]
  13420. type: number
  13421. changeflag:
  13422. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  13423. type: integer
  13424. changetime:
  13425. description: 账户状态变更时间
  13426. type: string
  13427. closepl:
  13428. description: 今日平仓盈亏
  13429. type: number
  13430. creditdecrease:
  13431. description: 今日授信减少
  13432. type: number
  13433. creditincrease:
  13434. description: 今日授信增加
  13435. type: number
  13436. curamount:
  13437. description: 总市值(从持仓中统计)
  13438. type: number
  13439. currencyid:
  13440. description: 货币ID
  13441. type: integer
  13442. currentbalance:
  13443. description: 期末余额
  13444. type: number
  13445. freezecharge:
  13446. description: 手续费冻结
  13447. type: number
  13448. freezemargin:
  13449. description: 冻结保证金
  13450. type: number
  13451. fromaccountid:
  13452. description: 所属上级账户
  13453. type: integer
  13454. inamount:
  13455. description: 今日入金金额(包括三方入金)
  13456. type: number
  13457. ismain:
  13458. description: 是否母账号 0:不是母账户 1:是母账户
  13459. type: integer
  13460. ismarketaccount:
  13461. description: 是否机构接单账号 0:不是 1:是
  13462. type: integer
  13463. isreckonaccount:
  13464. description: 是否机构分润账号 0:不是 1:是
  13465. type: integer
  13466. mortgagecredit:
  13467. description: 授信金额
  13468. type: number
  13469. orifreezecharge:
  13470. description: 期初手续费冻结
  13471. type: number
  13472. orifreezemargin:
  13473. description: 期初冻结保证金
  13474. type: number
  13475. orimortgagecredit:
  13476. description: 期初授信金额
  13477. type: number
  13478. oriothercredit:
  13479. description: 期初其它授信金额
  13480. type: number
  13481. oriotherfreezemargin:
  13482. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  13483. type: number
  13484. orioutamountfreeze:
  13485. description: 期初出金冻结
  13486. type: number
  13487. oriusedmargin:
  13488. description: 期初占用保证金
  13489. type: number
  13490. othercredit:
  13491. description: 其它授信金额
  13492. type: number
  13493. othercreditdecrease:
  13494. description: 今日其它授信减少
  13495. type: number
  13496. othercreditincrease:
  13497. description: 今日其它授信增加
  13498. type: number
  13499. otherfreezemargin:
  13500. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  13501. type: number
  13502. otherincome:
  13503. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  13504. type: number
  13505. otherpay:
  13506. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  13507. type: number
  13508. outamount:
  13509. description: 今日出金金额(包括三方出金)
  13510. type: number
  13511. outamountfreeze:
  13512. description: 出金冻结
  13513. type: number
  13514. outthreshold:
  13515. description: 出金阈值
  13516. type: number
  13517. parentaccountid:
  13518. description: 所属根账号
  13519. type: integer
  13520. paycharge:
  13521. description: 今日手续费支出
  13522. type: number
  13523. relatedaccountstatus:
  13524. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  13525. type: integer
  13526. relateduserid:
  13527. description: 关联用户
  13528. type: integer
  13529. remainamount:
  13530. description: 融资额(从融资合同中统计)
  13531. type: number
  13532. serivcegroup:
  13533. description: 服务分组
  13534. type: integer
  13535. signstatus:
  13536. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  13537. type: integer
  13538. sublevelpath:
  13539. description: 账号层级路径(逗号分隔,首尾加逗号)
  13540. type: string
  13541. taaccounttype:
  13542. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  13543. type: integer
  13544. thirdinamount:
  13545. description: 今日三方入金
  13546. type: number
  13547. thirdoutamount:
  13548. description: 今日三方出金
  13549. type: number
  13550. tradestatus:
  13551. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  13552. type: integer
  13553. tradestatuschangetime:
  13554. description: 激活时间
  13555. type: string
  13556. transferamount:
  13557. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  13558. type: number
  13559. usedmargin:
  13560. description: 占用保证金
  13561. type: number
  13562. userid:
  13563. description: 用户ID
  13564. type: integer
  13565. required:
  13566. - accountid
  13567. - userid
  13568. type: object
  13569. models.Tablecolumnconfig:
  13570. properties:
  13571. aligntype:
  13572. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  13573. type: integer
  13574. autoid:
  13575. description: AutoID
  13576. type: integer
  13577. columnfield:
  13578. description: 列字段
  13579. type: string
  13580. columntitle:
  13581. description: 列Title
  13582. type: string
  13583. columnwidth:
  13584. description: 列宽
  13585. type: string
  13586. formatterstring:
  13587. description: 格式化字符
  13588. type: string
  13589. formattertype:
  13590. description: 格式化类型
  13591. type: string
  13592. groupname:
  13593. description: 表头分组名称
  13594. type: string
  13595. isshow:
  13596. description: 是否显示 - 0:不显示 1:显示
  13597. type: integer
  13598. needsummary:
  13599. description: 是否需要汇总 - 0:不需要 1:需要
  13600. type: integer
  13601. orderindex:
  13602. description: 顺序
  13603. type: integer
  13604. remark:
  13605. description: 备注
  13606. type: string
  13607. summarytype:
  13608. description: 汇总类型 - 1:加总 2:最后一个
  13609. type: integer
  13610. tablekey:
  13611. description: 列表Key
  13612. type: string
  13613. required:
  13614. - autoid
  13615. type: object
  13616. models.TjmdQuoteGoods:
  13617. properties:
  13618. buyqty:
  13619. description: 买量(暂不做, 无值, 保留字段)
  13620. type: number
  13621. goodscode:
  13622. description: 合约代码
  13623. type: string
  13624. goodsgroupid:
  13625. description: 商品组ID(自增ID)
  13626. type: integer
  13627. goodsgroupname:
  13628. description: 商品组名称
  13629. type: string
  13630. goodsid:
  13631. description: 合约id
  13632. type: integer
  13633. goodsname:
  13634. description: 合约名称
  13635. type: string
  13636. refgoodscode:
  13637. description: 标的合约代码
  13638. type: string
  13639. refgoodsid:
  13640. description: 标的合约id
  13641. type: integer
  13642. refgoodsname:
  13643. description: 标的合约名称
  13644. type: string
  13645. sellqty:
  13646. description: 卖量(暂不做, 无值, 保留字段)
  13647. type: number
  13648. type: object
  13649. models.TjmdTodayAccountMargin:
  13650. properties:
  13651. accountid:
  13652. description: 账号ID
  13653. type: integer
  13654. goodsid:
  13655. description: 商品ID
  13656. type: integer
  13657. infoc:
  13658. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  13659. description: 配置参数
  13660. marketid:
  13661. description: 市场ID
  13662. type: integer
  13663. type: object
  13664. models.TjmdTradeOrderDetail:
  13665. properties:
  13666. buyorsell:
  13667. description: 买卖方向 0-买 1-卖
  13668. type: integer
  13669. goodsid:
  13670. description: 商品id
  13671. type: integer
  13672. marketmaxsub:
  13673. description: 市价最大偏移范围 [浮动价 - 点差]
  13674. type: number
  13675. orderid:
  13676. description: 委托单号
  13677. type: string
  13678. orderprice:
  13679. description: 委托价格
  13680. type: number
  13681. orderqty:
  13682. description: 委托数量
  13683. type: integer
  13684. pricemode:
  13685. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  13686. type: integer
  13687. userid:
  13688. description: 用户id
  13689. type: integer
  13690. username:
  13691. description: 用户名称(已脱敏)
  13692. type: string
  13693. type: object
  13694. models.TjmdTransferApply:
  13695. properties:
  13696. applyid:
  13697. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  13698. type: integer
  13699. applystatus:
  13700. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  13701. type: integer
  13702. applytime:
  13703. description: 申请时间(时间)
  13704. type: string
  13705. auditremark:
  13706. description: 审核备注(拒绝原因?)
  13707. type: string
  13708. buyorsell:
  13709. description: 买卖 - 0:买 1:卖
  13710. type: integer
  13711. goodscode:
  13712. description: 商品代码
  13713. type: string
  13714. goodsid:
  13715. description: 商品ID
  13716. type: integer
  13717. goodsname:
  13718. description: 商品名称
  13719. type: string
  13720. marketid:
  13721. description: 市场ID
  13722. type: integer
  13723. qty:
  13724. description: 转让数量(数量)
  13725. type: number
  13726. tradeid:
  13727. description: 成交单号(关联持仓)
  13728. type: string
  13729. transferamount:
  13730. description: 转让总金额(金额)
  13731. type: number
  13732. transferprice:
  13733. description: 转让价格(协议价格)
  13734. type: number
  13735. type: object
  13736. models.TradeHolderDetail:
  13737. properties:
  13738. accountid:
  13739. description: 账号ID
  13740. type: integer
  13741. agreeunit:
  13742. description: 合约乘数
  13743. type: number
  13744. buyorsell:
  13745. description: 方向 - 0:买 1:卖
  13746. type: integer
  13747. currencyid:
  13748. description: 商品币种id
  13749. type: integer
  13750. currencyname:
  13751. description: 币种名称
  13752. type: string
  13753. decimalplace:
  13754. description: 商品价格小数位
  13755. type: integer
  13756. enumdicname:
  13757. description: 商品单位名称
  13758. type: string
  13759. expirecycle:
  13760. description: 行权周期(天) - 1:滚动行权时填写
  13761. type: integer
  13762. expiredate:
  13763. description: 行权日(yyyyMMdd) - 到期日
  13764. type: string
  13765. expiretype:
  13766. description: 行权日类型 - 1:滚动行权 2:固定日行权
  13767. type: integer
  13768. freezeqty:
  13769. description: 冻结数量
  13770. type: number
  13771. goodscode:
  13772. description: 商品代码
  13773. type: string
  13774. goodsid:
  13775. description: 商品ID
  13776. type: integer
  13777. goodsname:
  13778. description: 商品名称
  13779. type: string
  13780. goodunitid:
  13781. description: 商品单位id
  13782. type: integer
  13783. holderamount:
  13784. description: 持仓金额
  13785. type: number
  13786. holdercredit:
  13787. description: 持仓授信金额
  13788. type: number
  13789. holderdays:
  13790. description: 剩余冻结天数
  13791. type: integer
  13792. holderprice:
  13793. description: 持仓价格
  13794. type: number
  13795. holderqty:
  13796. description: 持仓数量
  13797. type: number
  13798. isconfirmexercise:
  13799. description: 是否确认行权- 0:否 1:是
  13800. type: integer
  13801. ispreexercise:
  13802. description: 是否预申报- 0:否 1:是 2:不可行权
  13803. type: integer
  13804. marketid:
  13805. description: 市场id
  13806. type: integer
  13807. marketname:
  13808. description: 市场名称
  13809. type: string
  13810. openprice:
  13811. description: 建仓价格
  13812. type: number
  13813. openqty:
  13814. description: 建仓数量
  13815. type: number
  13816. optiontype:
  13817. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  13818. type: integer
  13819. preexerciseprice:
  13820. description: 预申报价格
  13821. type: number
  13822. premium:
  13823. description: 权利金
  13824. type: number
  13825. qtydecimalplace:
  13826. description: 商品成交量小数位
  13827. type: integer
  13828. refgoodscode:
  13829. description: 标的合约代码
  13830. type: string
  13831. refgoodsid:
  13832. description: 标的合约id
  13833. type: integer
  13834. releaseamount:
  13835. description: 释放持仓金额
  13836. type: number
  13837. releaseholdercredit:
  13838. description: 释放持仓授信金额
  13839. type: number
  13840. taname:
  13841. description: 资金账号名称
  13842. type: string
  13843. tradeamount:
  13844. description: 成交金额
  13845. type: number
  13846. tradedate:
  13847. description: 交易日(yyyyMMdd)
  13848. type: string
  13849. tradeid:
  13850. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13851. type: string
  13852. trademode:
  13853. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价 46:掉期
  13854. type: integer
  13855. tradeproperty:
  13856. description: 交易属性
  13857. type: integer
  13858. tradetime:
  13859. description: 交易时间
  13860. type: string
  13861. userid:
  13862. description: 用户id
  13863. type: integer
  13864. username:
  13865. description: 用户名称
  13866. type: string
  13867. type: object
  13868. models.UserCollectConfig:
  13869. properties:
  13870. accountstatus:
  13871. description: 账户状态 - 1:正常 2:停用 3:注销
  13872. type: integer
  13873. collectaccountname:
  13874. description: 收款人账户名称
  13875. type: string
  13876. collectaccountno:
  13877. description: 收款人账户
  13878. type: string
  13879. collectbankname:
  13880. description: 收款人开户行
  13881. type: string
  13882. collectbranchbankname:
  13883. description: 收款人开户支行
  13884. type: string
  13885. collectconfigid:
  13886. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  13887. type: string
  13888. remark:
  13889. description: 备注
  13890. type: string
  13891. userid:
  13892. description: 收款人用户ID
  13893. type: integer
  13894. type: object
  13895. models.UserReceiveInfo:
  13896. properties:
  13897. address:
  13898. description: 提货人详细地址
  13899. type: string
  13900. autoid:
  13901. description: AutoID
  13902. type: integer
  13903. cardnum:
  13904. description: 证件号码(加密存储)
  13905. type: string
  13906. cardtypeid:
  13907. description: 证件类型
  13908. type: integer
  13909. cityid:
  13910. description: 市
  13911. type: integer
  13912. cityname:
  13913. description: 城市名称
  13914. type: string
  13915. countryid:
  13916. description: 国家
  13917. type: integer
  13918. countryname:
  13919. description: 国家名称
  13920. type: string
  13921. districtid:
  13922. description: 地区
  13923. type: integer
  13924. districtname:
  13925. description: 地区名称
  13926. type: string
  13927. hasencrypt:
  13928. description: 数据是否已加密 - 0:未加密 1:已加密
  13929. type: integer
  13930. isdefault:
  13931. description: 是否默认地址 - 0:否 1:是
  13932. type: integer
  13933. phonenum:
  13934. description: 提货人联系方式(加密存储)
  13935. type: string
  13936. provinceid:
  13937. description: 省
  13938. type: integer
  13939. provincename:
  13940. description: 省名称
  13941. type: string
  13942. receivername:
  13943. description: 提货人姓名
  13944. type: string
  13945. takeremark:
  13946. description: 提货备注
  13947. type: string
  13948. userid:
  13949. description: 用户ID
  13950. type: integer
  13951. type: object
  13952. models.Useraccount:
  13953. properties:
  13954. accountname:
  13955. description: 账户名称(机构名称)
  13956. type: string
  13957. accountstatus:
  13958. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  13959. type: integer
  13960. applysrc:
  13961. description: 申请来源 - 1:管理端 2:终端
  13962. type: integer
  13963. auditremark:
  13964. description: 审核备注
  13965. type: string
  13966. auditsrc:
  13967. description: 审核来源 - 1:管理端 2:终端
  13968. type: integer
  13969. audittime:
  13970. description: 审核时间
  13971. type: string
  13972. audituserid:
  13973. description: 审核人
  13974. type: integer
  13975. broker:
  13976. description: 所属经纪人ID
  13977. type: integer
  13978. canceltime:
  13979. description: 销户时间
  13980. type: string
  13981. canceluserid:
  13982. description: 销户人
  13983. type: integer
  13984. canrecommend:
  13985. description: 是否可推荐 - 0:不可 1;可
  13986. type: integer
  13987. createtime:
  13988. description: 创建时间
  13989. type: string
  13990. creatorid:
  13991. description: 创建人
  13992. type: integer
  13993. hasauth:
  13994. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  13995. type: integer
  13996. isanonymous:
  13997. description: 是否匿名下单 - 0:否 1:是
  13998. type: integer
  13999. maxinvestornum:
  14000. description: 最大用户数(经纪会员下投资者个数)
  14001. type: integer
  14002. memberuserid:
  14003. description: 所属会员ID
  14004. type: integer
  14005. modifierid:
  14006. description: 修改人
  14007. type: integer
  14008. modifyremark:
  14009. description: 变更备注
  14010. type: string
  14011. modifystatus:
  14012. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  14013. type: integer
  14014. modifytime:
  14015. description: 修改时间
  14016. type: string
  14017. parenttopuser:
  14018. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  14019. type: string
  14020. parentuserid:
  14021. description: 所属机构ID
  14022. type: integer
  14023. reckonaccountid:
  14024. description: 默认结算资金账号ID(机构分润使用) 作废
  14025. type: integer
  14026. refercount:
  14027. description: 推荐总人数
  14028. type: integer
  14029. refereeuserid:
  14030. description: 推荐人ID
  14031. type: integer
  14032. refernum:
  14033. description: 推荐码
  14034. type: string
  14035. rootuserid:
  14036. description: 根用户ID
  14037. type: integer
  14038. subaccountlevel:
  14039. description: 子账户层数
  14040. type: integer
  14041. subarealevelpath:
  14042. description: 子机构层级路径(逗号分隔,首尾加逗号)
  14043. type: string
  14044. userid:
  14045. description: 用户ID
  14046. type: integer
  14047. usertype:
  14048. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  14049. type: integer
  14050. required:
  14051. - userid
  14052. type: object
  14053. models.Userfavoritegoods:
  14054. properties:
  14055. goodsid:
  14056. description: 商品ID
  14057. type: integer
  14058. required:
  14059. - goodsid
  14060. type: object
  14061. models.Userinfo:
  14062. properties:
  14063. address:
  14064. description: 地址
  14065. type: string
  14066. attachment1:
  14067. description: 附件1
  14068. type: string
  14069. attachment2:
  14070. description: 附件2
  14071. type: string
  14072. bankaccount:
  14073. description: 银行帐号 (加密存储)
  14074. type: string
  14075. bankaccountname:
  14076. description: 收款人名称
  14077. type: string
  14078. bankcardfrontphotourl:
  14079. description: 银行卡正面照地址
  14080. type: string
  14081. bankid:
  14082. description: 银行编码
  14083. type: string
  14084. bankname:
  14085. description: 银行名称
  14086. type: string
  14087. biznature:
  14088. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  14089. type: integer
  14090. bizscope:
  14091. description: 企业经营范围(企业)
  14092. type: string
  14093. cardbackphotourl:
  14094. description: 证件背面图片地址
  14095. type: string
  14096. cardfrontphotourl:
  14097. description: 证件正面图片地址
  14098. type: string
  14099. cardnum:
  14100. description: 证件号码(加密存储)
  14101. type: string
  14102. cardtypeid:
  14103. description: 证件类型ID
  14104. type: integer
  14105. cityid:
  14106. description: 市
  14107. type: integer
  14108. company:
  14109. description: 公司(个人)
  14110. type: string
  14111. contactname:
  14112. description: 联系人
  14113. type: string
  14114. countryid:
  14115. description: 国家
  14116. type: integer
  14117. createtime:
  14118. description: 创建时间
  14119. type: string
  14120. creatorid:
  14121. description: 创建人
  14122. type: integer
  14123. customername:
  14124. description: 客户名称(企业名称)
  14125. type: string
  14126. districtid:
  14127. description: 地区
  14128. type: integer
  14129. email:
  14130. description: 邮件(加密存储)
  14131. type: string
  14132. fax:
  14133. description: 传真(加密存储)
  14134. type: string
  14135. halfbodyphotourl:
  14136. description: 半身照地址
  14137. type: string
  14138. hasencrypt:
  14139. description: 数据是否已加密 - 0:未加密 1:已加密
  14140. type: integer
  14141. headurl:
  14142. description: 头像地址
  14143. type: string
  14144. legalcardbackphotourl:
  14145. description: 法人身份证背面照地址
  14146. type: string
  14147. legalcardfrontphotourl:
  14148. description: 法人身份证正面照地址
  14149. type: string
  14150. legalpersonname:
  14151. description: 法人姓名(企业)
  14152. type: string
  14153. mobile:
  14154. description: 手机号码(加密存储)
  14155. type: string
  14156. mobile2:
  14157. description: 手机号码[明文-尚志]
  14158. type: string
  14159. modifierid:
  14160. description: 修改人
  14161. type: integer
  14162. modifiertime:
  14163. description: 修改时间
  14164. type: string
  14165. needinvoice:
  14166. description: 是否需要发票 - 0:不需要 1:需要
  14167. type: integer
  14168. nickname:
  14169. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  14170. type: string
  14171. openmode:
  14172. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  14173. type: integer
  14174. otherurl:
  14175. description: 其它图片地址[使用分号分隔]
  14176. type: string
  14177. postalcode:
  14178. description: 邮政编码
  14179. type: string
  14180. provinceid:
  14181. description: 省
  14182. type: integer
  14183. qq:
  14184. description: QQ(加密存储
  14185. type: string
  14186. remark:
  14187. description: 备注
  14188. type: string
  14189. sex:
  14190. description: '用户性别 0: 女 1: 男'
  14191. type: integer
  14192. signpdfurl:
  14193. description: 签约pdf文件
  14194. type: string
  14195. telphone:
  14196. description: 联系电话(加密存储)
  14197. type: string
  14198. userid:
  14199. description: 用户ID
  14200. type: integer
  14201. userinfotype:
  14202. description: 用户信息类型 - 1:个人 2:企业
  14203. type: integer
  14204. userstatus:
  14205. description: 用户状态 - 1:正常 2:注销
  14206. type: integer
  14207. usertype:
  14208. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  14209. type: integer
  14210. wechat:
  14211. description: 微信(加密存储)
  14212. type: string
  14213. wskhinfo:
  14214. description: 开户申请信息(JSON)
  14215. type: string
  14216. required:
  14217. - userid
  14218. type: object
  14219. models.WRSConverTDetail:
  14220. properties:
  14221. convertratio:
  14222. description: 套保系数
  14223. type: number
  14224. deliverygoodscode:
  14225. description: 现货商品代码
  14226. type: string
  14227. deliverygoodsid:
  14228. description: 现货品种ID
  14229. type: integer
  14230. deliverygoodsname:
  14231. description: 现货商品名称
  14232. type: string
  14233. enumdicname:
  14234. description: 单位名称
  14235. type: string
  14236. goodsunitid:
  14237. description: 套保品种单位id
  14238. type: integer
  14239. middlegoodscode:
  14240. description: 套保品种代码
  14241. type: string
  14242. middlegoodsid:
  14243. description: 套保品种ID
  14244. type: integer
  14245. middlegoodsname:
  14246. description: 套保品种名称
  14247. type: string
  14248. modifytime:
  14249. description: 修改时间
  14250. type: string
  14251. wrstandardid:
  14252. description: 品类ID
  14253. type: integer
  14254. type: object
  14255. models.WRStandardInfo:
  14256. properties:
  14257. areauserid:
  14258. description: 所属机构
  14259. type: integer
  14260. convertfactor:
  14261. description: 标仓系数
  14262. type: number
  14263. createtime:
  14264. description: 创建时间
  14265. type: string
  14266. creatorid:
  14267. description: 创建人
  14268. type: integer
  14269. deliverygoodsid:
  14270. description: 品种ID
  14271. type: integer
  14272. deliverygoodsname:
  14273. description: 交割商品名称
  14274. type: string
  14275. factoryitemjson:
  14276. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID, 逗号分隔'
  14277. type: string
  14278. isvalid:
  14279. description: 是否有效 - 0:无效 1:有效
  14280. type: integer
  14281. minivalue:
  14282. description: 最小变动值
  14283. type: integer
  14284. minivaluedp:
  14285. description: 最小变动值小数位
  14286. type: integer
  14287. realminivalue:
  14288. description: 实际最小变动值
  14289. type: integer
  14290. realminivaluedp:
  14291. description: 实际最小变动值小数位
  14292. type: integer
  14293. remark:
  14294. description: 备注
  14295. type: string
  14296. unitid:
  14297. description: 单位ID
  14298. type: integer
  14299. unitname:
  14300. description: 单位
  14301. type: string
  14302. updatetime:
  14303. description: 更新时间
  14304. type: string
  14305. updatorid:
  14306. description: 更新人
  14307. type: integer
  14308. wrsstatus:
  14309. description: 状态 - 作废 - 0:未激活 1:正常
  14310. type: integer
  14311. wrstandardcode:
  14312. description: 现货品类代码
  14313. type: string
  14314. wrstandardid:
  14315. description: 现货品类ID(SEQ_WRSTANDARD)
  14316. type: integer
  14317. wrstandardname:
  14318. description: 现货品类名称
  14319. type: string
  14320. required:
  14321. - wrstandardid
  14322. type: object
  14323. models.WRTradeBargainApply:
  14324. properties:
  14325. accountid:
  14326. description: 摘牌资金账号
  14327. type: integer
  14328. applyprice:
  14329. description: 申请价格(议价价格)
  14330. type: string
  14331. applyqty:
  14332. description: 摘牌数量(议价数量)
  14333. type: number
  14334. applyremark:
  14335. description: 申请备注
  14336. type: string
  14337. applystatus:
  14338. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  14339. type: integer
  14340. applytime:
  14341. description: 申请时间(议价时间)
  14342. type: string
  14343. buyorsell:
  14344. description: 买卖(挂牌类型) - 0:买 1:卖
  14345. type: integer
  14346. confirmremark:
  14347. description: 确认备注
  14348. type: string
  14349. confirmtime:
  14350. description: 确认时间
  14351. type: string
  14352. confirmuserid:
  14353. description: 确认人
  14354. type: integer
  14355. deliverygoodscode:
  14356. description: 品种代码
  14357. type: string
  14358. deliverygoodsid:
  14359. description: 品种ID
  14360. type: integer
  14361. deliverygoodsname:
  14362. description: 品种名称
  14363. type: string
  14364. deliverymonth:
  14365. description: 交收月
  14366. type: string
  14367. enumdicname:
  14368. description: 单位名称
  14369. type: string
  14370. fixedprice:
  14371. description: 挂牌价格
  14372. type: number
  14373. handlestatus:
  14374. description: 处理状态
  14375. type: integer
  14376. marginvalue:
  14377. description: 履约保证金比例
  14378. type: number
  14379. marketid:
  14380. description: 市场ID
  14381. type: integer
  14382. matchaccountid:
  14383. description: 挂牌方资金账号
  14384. type: integer
  14385. matchuserid:
  14386. description: 挂牌方用户id
  14387. type: integer
  14388. matchusername:
  14389. description: 挂牌方用户名称(已脱敏)
  14390. type: string
  14391. minivalue:
  14392. description: 现货商品最小变动值
  14393. type: integer
  14394. optioncompare:
  14395. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14396. type: string
  14397. orderqty:
  14398. description: 挂牌数量
  14399. type: integer
  14400. refprice:
  14401. description: 参考价格
  14402. type: string
  14403. retcode:
  14404. description: 委托返回代码
  14405. type: integer
  14406. templatename:
  14407. description: 履约方式(履约模板名称)
  14408. type: string
  14409. tradedate:
  14410. description: 交易日(yyyyMMdd)
  14411. type: string
  14412. userid:
  14413. description: 摘牌人用户ID(议价人ID)
  14414. type: integer
  14415. username:
  14416. description: 议价人名字(已脱敏)
  14417. type: string
  14418. validtime:
  14419. description: 有效期限
  14420. type: string
  14421. warehouseid:
  14422. description: 仓库ID
  14423. type: integer
  14424. warehousename:
  14425. description: 仓库名称
  14426. type: string
  14427. wrbargainid:
  14428. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  14429. type: string
  14430. wrfactortypeid:
  14431. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14432. type: string
  14433. wrfactortypename:
  14434. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14435. type: string
  14436. wrstandardcode:
  14437. description: 现货商品代码
  14438. type: string
  14439. wrstandardid:
  14440. description: 现货商品ID
  14441. type: integer
  14442. wrstandardname:
  14443. description: 商品名称
  14444. type: string
  14445. wrtradeorderid:
  14446. description: 关联委托单ID
  14447. type: string
  14448. wrtypename:
  14449. description: 商品
  14450. type: string
  14451. type: object
  14452. models.Warehouseinfo:
  14453. properties:
  14454. address:
  14455. description: 详细地址
  14456. type: string
  14457. areauserid:
  14458. description: 所属机构
  14459. type: integer
  14460. autoid:
  14461. description: 自增ID
  14462. type: integer
  14463. cityid:
  14464. description: 市
  14465. type: integer
  14466. contactname:
  14467. description: 联系人
  14468. type: string
  14469. contactnum:
  14470. description: 联系电话
  14471. type: string
  14472. countryid:
  14473. description: 国家
  14474. type: integer
  14475. createtime:
  14476. description: 创建时间
  14477. type: string
  14478. districtid:
  14479. description: 区
  14480. type: integer
  14481. hasvideo:
  14482. description: 是否有视频 - 0:无 1:有
  14483. type: integer
  14484. provinceid:
  14485. description: 省
  14486. type: integer
  14487. remark:
  14488. description: 审核备注
  14489. type: string
  14490. videourl:
  14491. description: 视频地址
  14492. type: string
  14493. warehousecode:
  14494. description: 仓库代码
  14495. type: string
  14496. warehousename:
  14497. description: 仓库名称
  14498. type: string
  14499. warehousestatus:
  14500. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  14501. type: integer
  14502. warehousetype:
  14503. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  14504. type: integer
  14505. required:
  14506. - autoid
  14507. - warehousecode
  14508. type: object
  14509. models.WrAverageTradePrice:
  14510. properties:
  14511. averageprice:
  14512. description: 成交均价
  14513. type: number
  14514. tradedate:
  14515. description: 交易日yyyymm
  14516. type: string
  14517. type: object
  14518. models.WrBsGoodsInfo:
  14519. properties:
  14520. buyorsell:
  14521. description: 买卖方向 0-买 1-卖
  14522. type: integer
  14523. goodsid:
  14524. description: 交易合约ID
  14525. type: integer
  14526. lstitem:
  14527. description: 商品信息项
  14528. items:
  14529. $ref: '#/definitions/models.WrTypeItem'
  14530. type: array
  14531. lststep:
  14532. description: 履约规则
  14533. items:
  14534. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  14535. type: array
  14536. type: object
  14537. models.WrBuybackDetail:
  14538. properties:
  14539. buybackamount:
  14540. description: 回购金额
  14541. type: number
  14542. buybackqty:
  14543. description: 回购数量
  14544. type: number
  14545. buybackreleasemargin:
  14546. description: 回购释放保证金
  14547. type: number
  14548. buybacktime:
  14549. description: 回购时间
  14550. type: string
  14551. errordesc:
  14552. description: 错误描述
  14553. type: string
  14554. handlestatus:
  14555. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  14556. type: integer
  14557. relatedwrid:
  14558. description: 关联仓单ID
  14559. type: integer
  14560. scfcontractid:
  14561. description: SCF合同ID
  14562. type: string
  14563. scfwrbuybackid:
  14564. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  14565. type: integer
  14566. tradedate:
  14567. description: 交易日(yyyyMMdd)
  14568. type: string
  14569. type: object
  14570. models.WrDeliveryAvalidHoldLB:
  14571. properties:
  14572. accountid:
  14573. description: 资金账号
  14574. type: integer
  14575. avalidqty:
  14576. description: 数量(可点选数量)
  14577. type: number
  14578. deliverygoodsid:
  14579. description: 品种id
  14580. type: integer
  14581. enumdicname:
  14582. description: 单位名称
  14583. type: string
  14584. goodsid:
  14585. description: x合约商品id
  14586. type: integer
  14587. ladingbillid:
  14588. description: 提单id
  14589. type: string
  14590. pgoodscode:
  14591. description: p商品代码(点价合约)
  14592. type: string
  14593. pgoodsid:
  14594. description: p商品id(点价合约)
  14595. type: integer
  14596. pgoodsname:
  14597. description: p商品名称(点价合约)
  14598. type: string
  14599. pricemove:
  14600. description: 升贴水
  14601. type: number
  14602. subnum:
  14603. description: 提单子id
  14604. type: integer
  14605. userid:
  14606. description: 用户id
  14607. type: integer
  14608. username:
  14609. description: 仓单持有人
  14610. type: string
  14611. warehousecode:
  14612. description: 仓库代码
  14613. type: string
  14614. warehouseid:
  14615. description: 仓库id
  14616. type: integer
  14617. warehousename:
  14618. description: 仓库名称
  14619. type: string
  14620. wrfactortypeid:
  14621. description: 仓单要素id
  14622. type: string
  14623. wrstandardcode:
  14624. description: 品代码
  14625. type: string
  14626. wrstandardid:
  14627. description: 品类d
  14628. type: integer
  14629. wrstandardname:
  14630. description: 品类名称
  14631. type: string
  14632. wrtypename:
  14633. description: 商品
  14634. type: string
  14635. xgoodscode:
  14636. description: x合约代码
  14637. type: string
  14638. xgoodsname:
  14639. description: x合约名称
  14640. type: string
  14641. type: object
  14642. models.WrDeliveryDetail:
  14643. properties:
  14644. accountid:
  14645. description: 账号ID
  14646. type: integer
  14647. averageprice:
  14648. description: 交割均价 = 交割金额 / 交割数量
  14649. type: number
  14650. buyorsell:
  14651. description: 方向 - 0:买 1:卖
  14652. type: integer
  14653. deliveryamount:
  14654. description: 货款金额(X总货款+P总货款)
  14655. type: number
  14656. deliveryid:
  14657. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  14658. type: string
  14659. deliveryorderid:
  14660. description: 申报单号
  14661. type: string
  14662. deliverypricemove:
  14663. description: 升贴水(升贴水总额)
  14664. type: number
  14665. deliveryqty:
  14666. description: 交收数量(点选数量)
  14667. type: number
  14668. deliverystatus:
  14669. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  14670. type: integer
  14671. deliverytime:
  14672. description: 交割时间
  14673. type: string
  14674. deliverytotalamount:
  14675. description: 交收金额
  14676. type: number
  14677. enumdicname:
  14678. description: 单位名称
  14679. type: string
  14680. matchaccountid:
  14681. description: 对手账号ID
  14682. type: integer
  14683. matchusername:
  14684. description: 对手方名称(仓单持有人)
  14685. type: string
  14686. p1goodsremainamount:
  14687. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  14688. type: number
  14689. pdeliverycloseqty:
  14690. description: p合约平仓数量
  14691. type: number
  14692. pdeliveryprice:
  14693. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  14694. type: number
  14695. pgoodscode:
  14696. description: 商品代码
  14697. type: string
  14698. pgoodsid:
  14699. description: p点选合约id
  14700. type: integer
  14701. pgoodsname:
  14702. description: 商品名称
  14703. type: string
  14704. ppricemode:
  14705. description: 点价价格方式 - 1:商品价 2:固定值
  14706. type: integer
  14707. tradedate:
  14708. description: 交易日(yyyymmdd)
  14709. type: string
  14710. userid:
  14711. description: 用户id
  14712. type: integer
  14713. username:
  14714. description: 用户名称
  14715. type: string
  14716. warehousename:
  14717. description: 仓库名称
  14718. type: string
  14719. wrfactortypeid:
  14720. description: 仓单要素类型ID
  14721. type: string
  14722. wrtypename:
  14723. description: 商品
  14724. type: string
  14725. xdeliverycloseqty:
  14726. description: 合约数量
  14727. type: number
  14728. xgoodsamount:
  14729. description: 合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)
  14730. type: number
  14731. xgoodscode:
  14732. description: 商品代码
  14733. type: string
  14734. xgoodsid:
  14735. description: x交易合约ID
  14736. type: integer
  14737. xgoodsname:
  14738. description: 商品名称
  14739. type: string
  14740. type: object
  14741. models.WrDeliveryGoodsSection:
  14742. properties:
  14743. dglst:
  14744. description: 板块商品列表
  14745. items:
  14746. $ref: '#/definitions/models.WrDeliveryGoodsSectionConfig'
  14747. type: array
  14748. imagepath:
  14749. description: 图片地址
  14750. type: string
  14751. orderindex:
  14752. description: 排序
  14753. type: integer
  14754. sectionid:
  14755. description: 版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType = 1的版块1 - 云融指数
  14756. type: integer
  14757. sectionname:
  14758. description: 版块名称
  14759. type: string
  14760. sectiontype:
  14761. description: 版块类型 - 1:指数版块 2:普通版块
  14762. type: integer
  14763. type: object
  14764. models.WrDeliveryGoodsSectionConfig:
  14765. properties:
  14766. deliverygoodscode:
  14767. description: 现货商品代码
  14768. type: string
  14769. deliverygoodsid:
  14770. description: 现货品种ID(SEQ_DELIVERYGOODS)
  14771. type: integer
  14772. deliverygoodsname:
  14773. description: 现货商品名称
  14774. type: string
  14775. orderindex:
  14776. description: 排序
  14777. type: integer
  14778. type: object
  14779. models.WrFAProductDetail:
  14780. properties:
  14781. accountid:
  14782. description: 资金账号
  14783. type: integer
  14784. areauserid:
  14785. description: 金融机构ID
  14786. type: integer
  14787. financingdays:
  14788. description: 天数(天)
  14789. type: integer
  14790. interestminlen:
  14791. description: 最小起息天数
  14792. type: integer
  14793. interestrate:
  14794. description: 利率
  14795. type: number
  14796. interestratemode:
  14797. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  14798. type: integer
  14799. interestsettlemode:
  14800. description: 结息方式 - 1:按日结息 3:按月结息
  14801. type: integer
  14802. interestsettlevalue:
  14803. description: 结息方式值
  14804. type: integer
  14805. isautoloan:
  14806. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  14807. type: integer
  14808. loantag:
  14809. description: '放款标识: "放款快" 或者为空'
  14810. type: string
  14811. marginratio:
  14812. description: 保证金比率质押率 - [仓单质押]
  14813. type: number
  14814. productdetailid:
  14815. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  14816. type: integer
  14817. productid:
  14818. description: 金融产品ID
  14819. type: integer
  14820. productname:
  14821. description: 产品名称
  14822. type: string
  14823. updatetime:
  14824. description: 更新时间
  14825. type: string
  14826. username:
  14827. description: 融出方
  14828. type: string
  14829. type: object
  14830. models.WrFactorTypeInfo:
  14831. properties:
  14832. deliverygoodscode:
  14833. description: 品种代码
  14834. type: string
  14835. deliverygoodsname:
  14836. description: 品种名称
  14837. type: string
  14838. dgfactoryitemid:
  14839. description: 选择项id
  14840. type: integer
  14841. dgfactoryitemtypeid:
  14842. description: 要素选择项ID (1-仓库 2-品牌)
  14843. type: integer
  14844. dgfactoryitemvalue:
  14845. description: 要素项值
  14846. type: string
  14847. itemtypename:
  14848. description: 要素项名称
  14849. type: string
  14850. optioncompare:
  14851. description: 选择比较串
  14852. type: string
  14853. warehouseid:
  14854. description: 仓库id
  14855. type: integer
  14856. wrfactortypeid:
  14857. description: 仓单要素ID
  14858. type: string
  14859. wrfactortypename:
  14860. description: 要素名称
  14861. type: string
  14862. wrfactortypename2:
  14863. description: 要素名称(不含仓库)
  14864. type: string
  14865. wrstandardcode:
  14866. description: 品类代码
  14867. type: string
  14868. wrstandardid:
  14869. description: 品类id
  14870. type: integer
  14871. wrstandardname:
  14872. description: 品类名称
  14873. type: string
  14874. type: object
  14875. models.WrFilterItem:
  14876. properties:
  14877. itemcode:
  14878. description: 代码
  14879. type: string
  14880. itemid:
  14881. description: 项id
  14882. type: integer
  14883. itemname:
  14884. description: 名称
  14885. type: string
  14886. itemtype:
  14887. description: 类型 1-品种 2-品类(商品) 3-仓库
  14888. type: integer
  14889. type: object
  14890. models.WrFinanceBuyApply:
  14891. properties:
  14892. applydate:
  14893. description: 申请时间
  14894. type: string
  14895. applystatus:
  14896. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  14897. type: integer
  14898. applyuserid:
  14899. description: 申请人
  14900. type: integer
  14901. auditdate:
  14902. description: 审核时间
  14903. type: string
  14904. auditremark:
  14905. description: 审核备注
  14906. type: string
  14907. audituserid:
  14908. description: 审核人
  14909. type: integer
  14910. buyaccountid:
  14911. description: 买方资金账号
  14912. type: integer
  14913. buyorsell:
  14914. description: 买卖 - 0:买 1:卖
  14915. type: integer
  14916. buyuserid:
  14917. description: 买方用户ID
  14918. type: integer
  14919. buyusername:
  14920. description: 买方名称
  14921. type: string
  14922. buywrtradeorderid:
  14923. description: 融资方买委托单ID
  14924. type: string
  14925. deliverygoodscode:
  14926. description: 品种代码
  14927. type: string
  14928. deliverygoodsid:
  14929. description: 品种ID
  14930. type: integer
  14931. deliverygoodsname:
  14932. description: 品种名称
  14933. type: string
  14934. deliverymonth:
  14935. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  14936. type: string
  14937. enumdicname:
  14938. description: 单位名称
  14939. type: string
  14940. financeaccountid:
  14941. description: 融资方资金帐户ID
  14942. type: integer
  14943. financeapplyid:
  14944. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  14945. type: string
  14946. financeareauserid:
  14947. description: 融资方用户ID
  14948. type: string
  14949. financename:
  14950. description: 融出方名称
  14951. type: string
  14952. financetype:
  14953. description: 融资类型 1-融资回购
  14954. type: integer
  14955. financingdays:
  14956. description: 天数(天)
  14957. type: integer
  14958. freezebuymargin:
  14959. description: 冻结融资保证金(买方)
  14960. type: number
  14961. handleremark:
  14962. description: 处理备注
  14963. type: string
  14964. handlestatus:
  14965. description: 处理状态
  14966. type: integer
  14967. interestminlen:
  14968. description: 最小起息天数
  14969. type: integer
  14970. interestrate:
  14971. description: 利率
  14972. type: number
  14973. interestratemode:
  14974. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  14975. type: integer
  14976. interestsettlemode:
  14977. description: 结息方式 - 1:按日结息 3:按月结息
  14978. type: integer
  14979. interestsettlevalue:
  14980. description: 结息方式值
  14981. type: integer
  14982. isautoloan:
  14983. description: 是否自动放款 - 0:手动 1:自动
  14984. type: integer
  14985. marginratio:
  14986. description: 保证金比率质押率 - [仓单质押]
  14987. type: number
  14988. marketid:
  14989. description: 市场ID
  14990. type: integer
  14991. minivalue:
  14992. description: 现货商品最小变动值
  14993. type: integer
  14994. optioncompare:
  14995. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14996. type: string
  14997. orderqty:
  14998. description: 委托数量(商品数量)
  14999. type: number
  15000. productdetailid:
  15001. description: 产品组合ID
  15002. type: integer
  15003. productid:
  15004. description: 金融产品ID
  15005. type: integer
  15006. productname:
  15007. description: 产品名称
  15008. type: string
  15009. remark:
  15010. description: 备注
  15011. type: string
  15012. scfcontractid:
  15013. description: 仓单回购合同ID
  15014. type: string
  15015. sellaccountid:
  15016. description: 卖方资金账号
  15017. type: integer
  15018. selluserid:
  15019. description: 卖方用户ID
  15020. type: integer
  15021. sellwrtradeorderid:
  15022. description: 卖方委托单ID
  15023. type: string
  15024. tradeamount:
  15025. description: 成交金额(借款金额)
  15026. type: number
  15027. tradedate:
  15028. description: 交易日(yyyyMMdd)
  15029. type: string
  15030. tradeprice:
  15031. description: 成交价格
  15032. type: number
  15033. warehouseid:
  15034. description: 仓库ID
  15035. type: integer
  15036. warehousename:
  15037. description: 仓库名称
  15038. type: string
  15039. wrfactortypeid:
  15040. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15041. type: string
  15042. wrfactortypename:
  15043. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15044. type: string
  15045. wrpricetype:
  15046. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  15047. type: integer
  15048. wrstandardcode:
  15049. description: 现货商品代码
  15050. type: string
  15051. wrstandardid:
  15052. description: 现货商品ID
  15053. type: integer
  15054. wrstandardname:
  15055. description: 商品名称
  15056. type: string
  15057. wrtypename:
  15058. description: 商品
  15059. type: string
  15060. type: object
  15061. models.WrFriendApply:
  15062. properties:
  15063. applicantid:
  15064. description: 申请人
  15065. type: integer
  15066. applyname:
  15067. description: 申请人名称
  15068. type: string
  15069. applysrc:
  15070. description: 申请来源 - 1:管理端 2:终端
  15071. type: integer
  15072. applystatus:
  15073. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  15074. type: integer
  15075. applytime:
  15076. description: 申请时间
  15077. type: string
  15078. auditname:
  15079. description: 审核人名称
  15080. type: string
  15081. auditorid:
  15082. description: 审核人
  15083. type: integer
  15084. auditremark:
  15085. description: 审核备注
  15086. type: string
  15087. auditsrc:
  15088. description: 审核来源 - 1:管理端 2:终端
  15089. type: integer
  15090. audittime:
  15091. description: 审核时间
  15092. type: string
  15093. friendapplyid:
  15094. description: 申请ID(SEQ_FRIENDAPPLY)
  15095. type: string
  15096. friendname:
  15097. description: 好友名字(已脱敏)
  15098. type: string
  15099. frienduserid:
  15100. description: 好友用户ID
  15101. type: string
  15102. remark:
  15103. description: 备注
  15104. type: string
  15105. userid:
  15106. description: 申请人用户ID
  15107. type: integer
  15108. type: object
  15109. models.WrFtDeliveryGoods:
  15110. properties:
  15111. deliverygoodscode:
  15112. description: 品种代码
  15113. type: string
  15114. deliverygoodsid:
  15115. description: 品种ID
  15116. type: integer
  15117. deliverygoodsname:
  15118. description: 品种名称
  15119. type: string
  15120. wdlst:
  15121. description: 商品列表
  15122. items:
  15123. $ref: '#/definitions/models.WrFtWrstandard'
  15124. type: array
  15125. type: object
  15126. models.WrFtWrstandard:
  15127. properties:
  15128. enumdicname:
  15129. description: 单位名称
  15130. type: string
  15131. minivalue:
  15132. description: 最小变动值
  15133. type: integer
  15134. wrstandardcode:
  15135. description: 现货商品代码
  15136. type: string
  15137. wrstandardid:
  15138. description: 现货商品ID
  15139. type: integer
  15140. wrstandardname:
  15141. description: 商品名称
  15142. type: string
  15143. type: object
  15144. models.WrGoodsInfo:
  15145. properties:
  15146. haswr:
  15147. description: 0:仓单预售 1:仓单贸易
  15148. type: integer
  15149. lstitem:
  15150. description: 商品信息项
  15151. items:
  15152. $ref: '#/definitions/models.WrTypeItem'
  15153. type: array
  15154. lststep:
  15155. description: 履约规则
  15156. items:
  15157. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  15158. type: array
  15159. marketid:
  15160. description: 市场id
  15161. type: integer
  15162. type: object
  15163. models.WrGoodsPerformanceStep:
  15164. properties:
  15165. autoid:
  15166. description: AutoID
  15167. type: integer
  15168. isauto:
  15169. description: 是否自动 - 0:不自动 1:自动
  15170. type: integer
  15171. remark:
  15172. description: 备注
  15173. type: string
  15174. stepdate:
  15175. description: 天数信息(T+N)
  15176. type: string
  15177. stepdays:
  15178. description: 距离上一步天数
  15179. type: integer
  15180. stepindex:
  15181. description: 步骤序号
  15182. type: integer
  15183. stepinfo:
  15184. description: 步骤信息(步骤名称+步骤值)
  15185. type: string
  15186. steptypeid:
  15187. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  15188. type: integer
  15189. steptypename:
  15190. description: 步骤名称
  15191. type: string
  15192. stepvalue:
  15193. description: 步骤值
  15194. type: number
  15195. templateid:
  15196. description: 履约计划模板ID
  15197. type: integer
  15198. type: object
  15199. models.WrHoldLB:
  15200. properties:
  15201. accountid:
  15202. description: 持有人帐户ID
  15203. type: integer
  15204. createtime:
  15205. description: 创建时间(过户时间)
  15206. type: string
  15207. deliverygoodscode:
  15208. description: 品种代码
  15209. type: string
  15210. deliverygoodsid:
  15211. description: 品种ID
  15212. type: integer
  15213. deliverygoodsname:
  15214. description: 品种名称
  15215. type: string
  15216. enableqty:
  15217. description: 可用数量
  15218. type: number
  15219. enumdicname:
  15220. description: 单位名称
  15221. type: string
  15222. freezerqty:
  15223. description: 冻结数量
  15224. type: number
  15225. ladingbillid:
  15226. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  15227. type: string
  15228. minivalue:
  15229. description: 现货商品最小变动值
  15230. type: integer
  15231. optioncompare:
  15232. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15233. type: string
  15234. parentsubnum:
  15235. description: 拆分父子单号
  15236. type: integer
  15237. pledgeqty:
  15238. description: 质押数量
  15239. type: number
  15240. qty:
  15241. description: 数量
  15242. type: number
  15243. subnum:
  15244. description: 提单子单号
  15245. type: integer
  15246. tradedate:
  15247. description: 交易日(yyyyMMdd)
  15248. type: string
  15249. userid:
  15250. description: 持有人ID
  15251. type: integer
  15252. warehouseid:
  15253. description: 仓库ID
  15254. type: integer
  15255. warehousename:
  15256. description: 仓库名称
  15257. type: string
  15258. wrfactortypeid:
  15259. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15260. type: string
  15261. wrfactortypename:
  15262. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15263. type: string
  15264. wrholdeno:
  15265. description: 仓单编号
  15266. type: string
  15267. wrid:
  15268. description: 仓单变更ID
  15269. type: string
  15270. wrstandardcode:
  15271. description: 现货商品代码
  15272. type: string
  15273. wrstandardid:
  15274. description: 现货商品ID
  15275. type: integer
  15276. wrstandardname:
  15277. description: 商品名称
  15278. type: string
  15279. wrtypename:
  15280. description: 商品
  15281. type: string
  15282. type: object
  15283. models.WrMarketTradeConfig:
  15284. properties:
  15285. basisdownratio:
  15286. description: 浮动价基差下限比例(仓单贸易)
  15287. type: number
  15288. basisupratio:
  15289. description: 浮动价基差上限比例(仓单贸易)
  15290. type: number
  15291. buychargealgorithm:
  15292. description: 买方手续费收取方式 1:比率 2:固定
  15293. type: integer
  15294. buychargealgorithm2:
  15295. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  15296. type: integer
  15297. buychargealgorithmvalue:
  15298. description: 买方手续费设置值(交易所部分)
  15299. type: number
  15300. buychargealgorithmvalue2:
  15301. description: 买方手续费设置值(会员部分)
  15302. type: number
  15303. buychargealgorithmvalue3:
  15304. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  15305. type: number
  15306. buychargealgorithmvalue4:
  15307. description: 回购买方手续费设置值(会员部分) --77:现货商城
  15308. type: number
  15309. buyfirstmarginalgorithm:
  15310. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  15311. type: integer
  15312. buyfirstmarginvalue:
  15313. description: 买方出价保证金设置值 - [竞拍]
  15314. type: number
  15315. buymarginalgorithm:
  15316. description: 买方保证金方式 - 1:比率 2:固定
  15317. type: integer
  15318. buymarginvalue:
  15319. description: 买方保证金设置值
  15320. type: number
  15321. buyreleaseratio:
  15322. description: 买方释放比率[2:分步履约]
  15323. type: number
  15324. executemode:
  15325. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  15326. type: integer
  15327. executeside:
  15328. description: 执行方[2:分步履约] - 1:买方 2:卖方
  15329. type: integer
  15330. failedchargealgorithm:
  15331. description: 流拍手续费收取方式 1:比率 2:固定
  15332. type: integer
  15333. failedchargevalue:
  15334. description: 流拍手续费设置值
  15335. type: number
  15336. failedchargevalue2:
  15337. description: 流拍卖方手续费设置值
  15338. type: number
  15339. holddays:
  15340. description: 合同期限[2:分步履约]
  15341. type: integer
  15342. marketid:
  15343. description: 市场ID-仓单贸易、竞拍、预售
  15344. type: integer
  15345. minqty:
  15346. description: 最小执行量[2:分步履约]
  15347. type: number
  15348. modifierid:
  15349. description: 修改人
  15350. type: integer
  15351. performancetempid:
  15352. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)
  15353. type: integer
  15354. performancetempid2:
  15355. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行
  15356. type: integer
  15357. performanceway:
  15358. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  15359. type: integer
  15360. sellchargealgorithm:
  15361. description: 卖方手续费收取方式 1:比率 2:固定
  15362. type: integer
  15363. sellchargealgorithm2:
  15364. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  15365. type: integer
  15366. sellchargealgorithmvalue:
  15367. description: 卖方手续费设置值(交易所部分)
  15368. type: number
  15369. sellchargealgorithmvalue2:
  15370. description: 卖方手续费设置值(会员部分)
  15371. type: number
  15372. sellchargealgorithmvalue3:
  15373. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  15374. type: number
  15375. sellchargealgorithmvalue4:
  15376. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  15377. type: number
  15378. sellmarginalgorithm:
  15379. description: 卖方保证金方式 - 1:比率 2:固定
  15380. type: integer
  15381. sellmarginvalue:
  15382. description: 卖方保证金设置值
  15383. type: number
  15384. sellmarginvalue2:
  15385. description: 卖方保证金设置值(无仓单)
  15386. type: number
  15387. sellreleaseratio:
  15388. description: 卖方释放比率[2:分步履约]
  15389. type: number
  15390. updatetime:
  15391. description: 更新时间
  15392. type: string
  15393. type: object
  15394. models.WrOrderDetail:
  15395. properties:
  15396. accountid:
  15397. description: 交易账号(资金账号)
  15398. type: integer
  15399. allfriendsflag:
  15400. description: 是否全好友可见 - 0:否 1:是
  15401. type: integer
  15402. amount:
  15403. description: 挂牌金额 = 委托数量 * 固定价或升贴水
  15404. type: number
  15405. buyorsell:
  15406. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  15407. type: integer
  15408. canbargain:
  15409. description: 是否可议价 - 0:不可 1:可
  15410. type: integer
  15411. cancelqty:
  15412. description: 撤销数量
  15413. type: number
  15414. canpart:
  15415. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  15416. type: integer
  15417. delistminqty:
  15418. description: 起摘数量
  15419. type: integer
  15420. deliverygoodscode:
  15421. description: 品种代码
  15422. type: string
  15423. deliverygoodsid:
  15424. description: 品种ID
  15425. type: integer
  15426. deliverygoodsname:
  15427. description: 品种名称
  15428. type: string
  15429. deliverymonth:
  15430. description: 交收月
  15431. type: string
  15432. enumdicname:
  15433. description: 单位名称
  15434. type: string
  15435. fixedprice:
  15436. description: 固定价格 - [挂牌]
  15437. type: number
  15438. freezemargin:
  15439. description: 冻结保证金(保证金)
  15440. type: number
  15441. futupricemove:
  15442. description: 期货升贴水
  15443. type: number
  15444. futushow:
  15445. description: 期货合约/升贴水
  15446. type: string
  15447. goodscode:
  15448. description: 期货合约
  15449. type: string
  15450. goodsid:
  15451. description: 期货商品id
  15452. type: integer
  15453. goodsname:
  15454. description: 商品名称
  15455. type: string
  15456. haswr:
  15457. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  15458. type: integer
  15459. isspecified:
  15460. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  15461. type: integer
  15462. ladingbillid:
  15463. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  15464. type: string
  15465. marginvalue:
  15466. description: 保证金设置值(履约保证金)
  15467. type: number
  15468. marketid:
  15469. description: 市场ID
  15470. type: integer
  15471. matchusername:
  15472. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  15473. type: string
  15474. minivalue:
  15475. description: 现货商品最小变动值
  15476. type: integer
  15477. optioncompare:
  15478. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15479. type: string
  15480. orderqty:
  15481. description: 委托数量
  15482. type: number
  15483. ordertime:
  15484. description: 委托时间(挂牌时间)
  15485. type: string
  15486. performancetemplateid:
  15487. description: 履约模板id
  15488. type: integer
  15489. pricemove:
  15490. description: 升贴水(浮动价时填写) - [挂牌]
  15491. type: number
  15492. taname:
  15493. description: 交易用户名称(资金账号名称)
  15494. type: string
  15495. tradedate:
  15496. description: 交易日(yyyyMMdd)
  15497. type: string
  15498. tradeprice:
  15499. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  15500. type: number
  15501. tradeqty:
  15502. description: 成交数量
  15503. type: number
  15504. userid:
  15505. description: 用户ID
  15506. type: integer
  15507. validtime:
  15508. description: 挂牌有效期
  15509. type: string
  15510. warehouseid:
  15511. description: 仓库ID
  15512. type: integer
  15513. warehousename:
  15514. description: 仓库名称
  15515. type: string
  15516. wrfactortypeid:
  15517. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15518. type: string
  15519. wrfactortypename:
  15520. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15521. type: string
  15522. wrpricetype:
  15523. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  15524. type: integer
  15525. wrstandardcode:
  15526. description: 现货商品代码
  15527. type: string
  15528. wrstandardid:
  15529. description: 现货商品ID
  15530. type: integer
  15531. wrstandardname:
  15532. description: 商品名称
  15533. type: string
  15534. wrtradeorderid:
  15535. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15536. type: string
  15537. wrtradeorderstatus:
  15538. 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:撤单解冻贷款失败
  15539. type: integer
  15540. wrtradetype:
  15541. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  15542. type: integer
  15543. wrtypename:
  15544. description: 商品
  15545. type: string
  15546. type: object
  15547. models.WrOrderQuote:
  15548. properties:
  15549. buyprice:
  15550. description: 买价
  15551. type: number
  15552. buypricemove:
  15553. description: 买升贴水(基差)
  15554. type: number
  15555. buyqty:
  15556. description: 买量
  15557. type: number
  15558. deliverygoodscode:
  15559. description: 品种代码
  15560. type: string
  15561. deliverygoodsid:
  15562. description: 品种id
  15563. type: integer
  15564. deliverygoodsname:
  15565. description: 品种名称
  15566. type: string
  15567. deliverymonth:
  15568. description: 交收月
  15569. type: string
  15570. enumdicname:
  15571. description: 单位名称
  15572. type: string
  15573. goodscode:
  15574. description: 商品合约(浮动价列表才有)
  15575. type: string
  15576. goodsid:
  15577. description: 商品id(浮动价列表才有)
  15578. type: integer
  15579. minivalue:
  15580. description: 现货商品最小变动值
  15581. type: integer
  15582. sellprice:
  15583. description: 卖价
  15584. type: number
  15585. sellpricemove:
  15586. description: 卖升贴水(基差)
  15587. type: number
  15588. sellqty:
  15589. description: 卖量
  15590. type: number
  15591. warehousecode:
  15592. description: 仓库代码
  15593. type: string
  15594. warehouseid:
  15595. description: 仓库id
  15596. type: integer
  15597. warehousename:
  15598. description: 仓库名称
  15599. type: string
  15600. wrfactortypeid:
  15601. description: 仓单要素id
  15602. type: string
  15603. wrfactortypename:
  15604. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15605. type: string
  15606. wrgoodsname:
  15607. description: 商品(商品名称+仓库要素名称 拼接)
  15608. type: string
  15609. wrstandardcode:
  15610. description: 商品代码
  15611. type: string
  15612. wrstandardid:
  15613. description: 商品id
  15614. type: integer
  15615. wrstandardname:
  15616. description: 商品名称
  15617. type: string
  15618. type: object
  15619. models.WrOrderQuoteDetail:
  15620. properties:
  15621. buyorsell:
  15622. description: 买卖 - 0:买 1:卖
  15623. type: integer
  15624. delistminqty:
  15625. description: 起摘数量
  15626. type: number
  15627. deliverymonth:
  15628. description: 交收月
  15629. type: string
  15630. enumdicname:
  15631. description: 单位名称
  15632. type: string
  15633. fixedprice:
  15634. description: 买(卖)价
  15635. type: number
  15636. minivalue:
  15637. description: 现货商品最小变动值
  15638. type: integer
  15639. orderqty:
  15640. description: 买(卖)量(=委托量-成交量)
  15641. type: number
  15642. ordertime:
  15643. description: 委托时间
  15644. type: string
  15645. pricemove:
  15646. description: 买(卖)升贴水- 基差
  15647. type: number
  15648. userid:
  15649. description: 购买方(销售方)用户ID
  15650. type: integer
  15651. username:
  15652. description: 购买方(销售方)
  15653. type: string
  15654. wrtradeorderid:
  15655. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15656. type: string
  15657. type: object
  15658. models.WrOutInApply:
  15659. properties:
  15660. applyid:
  15661. description: 申请单id
  15662. type: string
  15663. applystatus:
  15664. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  15665. type: integer
  15666. applytime:
  15667. description: 申请时间
  15668. type: string
  15669. applytype:
  15670. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  15671. type: integer
  15672. deliverygoodscode:
  15673. description: 品种代码
  15674. type: string
  15675. deliverygoodsid:
  15676. description: 品种ID
  15677. type: integer
  15678. deliverygoodsname:
  15679. description: 品种名称
  15680. type: string
  15681. enumdicname:
  15682. description: 单位名称
  15683. type: string
  15684. expresscompany:
  15685. description: 物流公司
  15686. type: string
  15687. expressnum:
  15688. description: 物流单号
  15689. type: string
  15690. minivalue:
  15691. description: 现货商品最小变动值
  15692. type: integer
  15693. optioncompare:
  15694. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15695. type: string
  15696. qty:
  15697. description: 数量
  15698. type: integer
  15699. userid:
  15700. description: 用户id
  15701. type: integer
  15702. warehouseid:
  15703. description: 仓库ID
  15704. type: integer
  15705. warehousename:
  15706. description: 仓库名称
  15707. type: string
  15708. wrfactortypeid:
  15709. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15710. type: string
  15711. wrfactortypename:
  15712. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15713. type: string
  15714. wrstandardcode:
  15715. description: 现货商品代码
  15716. type: string
  15717. wrstandardid:
  15718. description: 现货商品ID
  15719. type: integer
  15720. wrstandardname:
  15721. description: 商品名称
  15722. type: string
  15723. wrtypename:
  15724. description: 商品
  15725. type: string
  15726. type: object
  15727. models.WrPerformancePlan:
  15728. properties:
  15729. activatemonth:
  15730. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  15731. type: string
  15732. amount:
  15733. description: 履约金额(总金额)
  15734. type: number
  15735. buyaccountid:
  15736. description: 买方账号
  15737. type: integer
  15738. buyerfreezeamount:
  15739. description: 履约冻结(买履约)
  15740. type: number
  15741. buyerfreezeamountremain:
  15742. description: 履约冻结剩余(买履约)
  15743. type: number
  15744. buyorsell:
  15745. description: 买卖方向 0-买 1-卖
  15746. type: integer
  15747. buypaidamount:
  15748. description: 买方已冻/已扣金额 (已付金额)
  15749. type: number
  15750. buyusername:
  15751. description: 买方名字
  15752. type: string
  15753. contractid:
  15754. description: 合同ID
  15755. type: integer
  15756. createtime:
  15757. description: 创建时间
  15758. type: string
  15759. creatorid:
  15760. description: 创建人
  15761. type: integer
  15762. curstepdeadline:
  15763. description: 当前步骤到期时间
  15764. type: string
  15765. curstepid:
  15766. description: 当前步骤ID
  15767. type: string
  15768. curstepname:
  15769. description: 当前步骤名称
  15770. type: string
  15771. deliverygoodscode:
  15772. description: 品种代码
  15773. type: string
  15774. deliverygoodsid:
  15775. description: 品种ID
  15776. type: integer
  15777. deliverygoodsname:
  15778. description: 品种名称
  15779. type: string
  15780. enumdicname:
  15781. description: 单位名称
  15782. type: string
  15783. expressfee:
  15784. description: 运费
  15785. type: number
  15786. expressfeeconfirmed:
  15787. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  15788. type: integer
  15789. hasovershort:
  15790. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  15791. type: integer
  15792. haswr:
  15793. description: 类型 0-仓单预售 1-仓单贸易
  15794. type: integer
  15795. marketid:
  15796. description: 市场ID
  15797. type: integer
  15798. middleaccountid:
  15799. description: 中间商资金账号ID
  15800. type: integer
  15801. middleuserid:
  15802. description: 中间商用户ID
  15803. type: integer
  15804. minivalue:
  15805. description: 现货商品最小变动值
  15806. type: integer
  15807. optioncompare:
  15808. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15809. type: string
  15810. overshortamount:
  15811. description: 溢短金额
  15812. type: number
  15813. overshortqty:
  15814. description: 溢短数量
  15815. type: number
  15816. paymenttype:
  15817. description: 付款方式 - 1:冻结 2:扣款
  15818. type: integer
  15819. performanceplanid:
  15820. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  15821. type: string
  15822. performancestatus:
  15823. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭
  15824. type: integer
  15825. performancetype:
  15826. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  15827. type: integer
  15828. qty:
  15829. description: 履约数量
  15830. type: number
  15831. relatedorderid:
  15832. description: 关联单号(履约类型的关联单号)
  15833. type: string
  15834. remark:
  15835. description: 备注
  15836. type: string
  15837. sellaccountid:
  15838. description: 卖方账号
  15839. type: integer
  15840. sellerfreezeamount:
  15841. description: 履约冻结(卖履约)
  15842. type: number
  15843. sellerfreezeamountremain:
  15844. description: 履约冻结剩余(卖履约)
  15845. type: number
  15846. sellreceivedamount:
  15847. description: 卖方已收金额
  15848. type: number
  15849. sellusername:
  15850. description: 卖方名字
  15851. type: string
  15852. shipremark:
  15853. description: 发货备注[物流单号]
  15854. type: string
  15855. starttime:
  15856. description: 开始时间
  15857. type: string
  15858. steptypeid:
  15859. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  15860. type: integer
  15861. typename:
  15862. description: 履约类型 名称
  15863. type: string
  15864. unpaidamount:
  15865. description: 剩余款(待支付金额)
  15866. type: number
  15867. userid:
  15868. description: 用户id
  15869. type: integer
  15870. warehouseid:
  15871. description: 仓库ID
  15872. type: integer
  15873. warehousename:
  15874. description: 仓库名称
  15875. type: string
  15876. wrfactortypeid:
  15877. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15878. type: string
  15879. wrfactortypename:
  15880. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15881. type: string
  15882. wrstandardcode:
  15883. description: 现货商品代码
  15884. type: string
  15885. wrstandardid:
  15886. description: 现货商品ID
  15887. type: integer
  15888. wrstandardname:
  15889. description: 商品名称
  15890. type: string
  15891. wrtransferuserid:
  15892. description: 仓单受让用户
  15893. type: integer
  15894. wrtypename:
  15895. description: 商品
  15896. type: string
  15897. required:
  15898. - userid
  15899. type: object
  15900. models.WrPerformancePlanStep:
  15901. properties:
  15902. delaydays:
  15903. description: 延期申请天数
  15904. type: integer
  15905. deliverygoodscode:
  15906. description: 品种代码
  15907. type: string
  15908. deliverygoodsid:
  15909. description: 品种ID
  15910. type: integer
  15911. deliverygoodsname:
  15912. description: 品种名称
  15913. type: string
  15914. endtime:
  15915. description: 结束日期
  15916. type: string
  15917. enumdicname:
  15918. description: 单位名称
  15919. type: string
  15920. executeside:
  15921. description: 步骤执行方 - 1:买方 2:卖方
  15922. type: integer
  15923. handlestatus:
  15924. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  15925. type: integer
  15926. isauto:
  15927. description: 是否自动 - 0:不自动 1:自动
  15928. type: integer
  15929. islastreceivestep:
  15930. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  15931. type: integer
  15932. minivalue:
  15933. description: 现货商品最小变动值
  15934. type: integer
  15935. optioncompare:
  15936. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15937. type: string
  15938. overdays:
  15939. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  15940. type: integer
  15941. performancestepid:
  15942. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  15943. type: string
  15944. planid:
  15945. description: 所属履约计划ID
  15946. type: string
  15947. realamount:
  15948. description: 实际完成金额
  15949. type: number
  15950. relatedorderid:
  15951. description: 关联单号
  15952. type: string
  15953. remaindays:
  15954. description: 剩余天数
  15955. type: integer
  15956. remark:
  15957. description: 错误备注
  15958. type: string
  15959. starttime:
  15960. description: 开始日期
  15961. type: string
  15962. stepamount:
  15963. description: 步骤金额
  15964. type: number
  15965. stepdays:
  15966. description: 距离上一步天数(分钟)
  15967. type: integer
  15968. stepindex:
  15969. description: 步骤序号
  15970. type: integer
  15971. steplanchtype:
  15972. description: 步骤启动类型 - 1:系统自动 2:手动
  15973. type: integer
  15974. stepremark:
  15975. description: 步骤备注
  15976. type: string
  15977. stepstatus:
  15978. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  15979. type: integer
  15980. steptypeid:
  15981. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  15982. type: integer
  15983. steptypename:
  15984. description: 步骤名称
  15985. type: string
  15986. stepvalue:
  15987. description: 步骤值
  15988. type: number
  15989. warehouseid:
  15990. description: 仓库ID
  15991. type: integer
  15992. warehousename:
  15993. description: 仓库名称
  15994. type: string
  15995. wrfactortypeid:
  15996. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15997. type: string
  15998. wrfactortypename:
  15999. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16000. type: string
  16001. wrstandardcode:
  16002. description: 现货商品代码
  16003. type: string
  16004. wrstandardid:
  16005. description: 现货商品ID
  16006. type: integer
  16007. wrstandardname:
  16008. description: 商品名称
  16009. type: string
  16010. wrtypename:
  16011. description: 商品
  16012. type: string
  16013. type: object
  16014. models.WrPerformanceStepType:
  16015. properties:
  16016. canauto:
  16017. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  16018. type: integer
  16019. steptypeid:
  16020. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  16021. type: integer
  16022. steptypename:
  16023. description: 步骤类型名称
  16024. type: string
  16025. type: object
  16026. models.WrPerformanceTemplateEx:
  16027. properties:
  16028. autoid:
  16029. description: AutoID 模板id
  16030. type: integer
  16031. createtime:
  16032. description: 创建时间
  16033. type: string
  16034. creatorid:
  16035. description: 创建人
  16036. type: integer
  16037. lstStep:
  16038. description: 步骤信息列表
  16039. items:
  16040. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  16041. type: array
  16042. paymenttype:
  16043. description: 支付方式 - 1:冻结 2:扣款
  16044. type: integer
  16045. takemode:
  16046. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  16047. type: integer
  16048. templatename:
  16049. description: 模板名称
  16050. type: string
  16051. templatetype:
  16052. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  16053. type: integer
  16054. userid:
  16055. description: 所属用户
  16056. type: integer
  16057. type: object
  16058. models.WrPosition:
  16059. properties:
  16060. accountid:
  16061. description: 帐户ID
  16062. type: integer
  16063. buyexcuteqty:
  16064. description: 采购履约中数量
  16065. type: number
  16066. creditcurqty:
  16067. description: 授信当前数量(预售仓单:预售当前量)
  16068. type: number
  16069. creditenableqty:
  16070. description: '授信可用数量(预售仓单: 可用数量)'
  16071. type: number
  16072. creditfreezeqty:
  16073. description: '授信冻结数量(预售仓单: 当前数量)'
  16074. type: number
  16075. credittotalqty:
  16076. description: 授信总数量(预售仓单:预售总量)
  16077. type: number
  16078. credittradeqty:
  16079. description: 授信成交数量(预售仓单:成交总量)
  16080. type: number
  16081. deliverygoodscode:
  16082. description: 品种代码
  16083. type: string
  16084. deliverygoodsid:
  16085. description: 品种ID
  16086. type: integer
  16087. deliverygoodsname:
  16088. description: 品种名称
  16089. type: string
  16090. enalbeqty:
  16091. description: 可用数量
  16092. type: number
  16093. enumdicname:
  16094. description: 单位名称
  16095. type: string
  16096. freezeqty:
  16097. description: 总冻结数量
  16098. type: number
  16099. haswr:
  16100. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16101. type: integer
  16102. minivalue:
  16103. description: 现货商品最小变动值
  16104. type: integer
  16105. modifytime:
  16106. description: 修改时间(过户时间)
  16107. type: string
  16108. optioncompare:
  16109. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16110. type: string
  16111. pledgeqty:
  16112. description: 质押数量
  16113. type: number
  16114. querytype:
  16115. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  16116. type: integer
  16117. sellexcuteqty:
  16118. description: 销售履约中数量
  16119. type: number
  16120. totalqty:
  16121. description: 总数量(库存数量)
  16122. type: number
  16123. warehouseid:
  16124. description: 仓库ID
  16125. type: integer
  16126. warehousename:
  16127. description: 仓库名称
  16128. type: string
  16129. wrfactortypeid:
  16130. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16131. type: string
  16132. wrfactortypename:
  16133. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16134. type: string
  16135. wrpositionid:
  16136. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  16137. type: string
  16138. wrpositionno:
  16139. description: 仓单编号
  16140. type: string
  16141. wrstandardcode:
  16142. description: 现货商品代码
  16143. type: string
  16144. wrstandardid:
  16145. description: 现货商品ID
  16146. type: integer
  16147. wrstandardname:
  16148. description: 商品名称
  16149. type: string
  16150. wrtypename:
  16151. description: 商品
  16152. type: string
  16153. wruserid:
  16154. description: 持有人ID
  16155. type: integer
  16156. type: object
  16157. models.WrQuoteOrderMyq:
  16158. properties:
  16159. buyorsell:
  16160. description: 买卖 - 0:买 1:卖
  16161. type: integer
  16162. canbargain:
  16163. description: 是否可议价 - 0:不可 1:可
  16164. type: integer
  16165. canpart:
  16166. description: 是否允许部份摘牌 - 0:不允许 1:允许
  16167. type: integer
  16168. delistminqty:
  16169. description: 起摘数量
  16170. type: number
  16171. deliverygoodscode:
  16172. description: 品种代码
  16173. type: string
  16174. deliverygoodsid:
  16175. description: 品种ID
  16176. type: integer
  16177. deliverygoodsname:
  16178. description: 品种名称
  16179. type: string
  16180. deliverymonth:
  16181. description: 交收月
  16182. type: string
  16183. enumdicname:
  16184. description: 单位名称
  16185. type: string
  16186. fixedprice:
  16187. description: 买(卖)价
  16188. type: number
  16189. goodscode:
  16190. description: 商品合约代码
  16191. type: string
  16192. marginflag:
  16193. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  16194. type: integer
  16195. marginvalue:
  16196. description: 保证金设置值
  16197. type: number
  16198. minivalue:
  16199. description: 现货商品最小变动值
  16200. type: integer
  16201. orderqty:
  16202. description: 买(卖)量(=委托量-成交量)
  16203. type: number
  16204. ordertime:
  16205. description: 委托时间
  16206. type: string
  16207. performancetemplateid:
  16208. description: 履约模板id
  16209. type: integer
  16210. pricemove:
  16211. description: 买(卖)升贴水- 基差
  16212. type: number
  16213. templatename:
  16214. description: 履约模板名称
  16215. type: string
  16216. userid:
  16217. description: 购买方(销售方)用户ID
  16218. type: integer
  16219. username:
  16220. description: 购买方(销售方)
  16221. type: string
  16222. validtime:
  16223. description: 有效期限
  16224. type: string
  16225. validtype:
  16226. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  16227. type: integer
  16228. warehousename:
  16229. description: 仓库名称
  16230. type: string
  16231. wrfactortypeid:
  16232. description: 仓单要素id
  16233. type: string
  16234. wrstandardcode:
  16235. description: 现货商品代码
  16236. type: string
  16237. wrstandardid:
  16238. description: 现货商品ID
  16239. type: integer
  16240. wrstandardname:
  16241. description: 商品名称
  16242. type: string
  16243. wrtradeorderid:
  16244. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16245. type: string
  16246. wrtypename:
  16247. description: 商品
  16248. type: string
  16249. type: object
  16250. models.WrScfContract:
  16251. properties:
  16252. borroweruserid:
  16253. description: 借款用户ID
  16254. type: integer
  16255. buybackwrpositionqty:
  16256. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  16257. type: number
  16258. closeinterest:
  16259. description: 已结利息 -> 已结费用
  16260. type: number
  16261. currisklevel:
  16262. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  16263. type: integer
  16264. deadline:
  16265. description: 截止日期(yyyyMMdd) -> 借款到期时间
  16266. type: string
  16267. deliverygoodscode:
  16268. description: 品种代码
  16269. type: string
  16270. deliverygoodsid:
  16271. description: 品种ID
  16272. type: integer
  16273. deliverygoodsname:
  16274. description: 品种名称
  16275. type: string
  16276. enumdicname:
  16277. description: 单位名称
  16278. type: string
  16279. financingdays:
  16280. description: 天数(天)
  16281. type: integer
  16282. initmargin:
  16283. description: 保证金 - [仓单回购]
  16284. type: number
  16285. interestamount:
  16286. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  16287. type: number
  16288. interestdebt:
  16289. description: 利息欠款(记录负数) -> 费用欠款
  16290. type: number
  16291. interestminlen:
  16292. description: 最小起息天数
  16293. type: integer
  16294. interestrate:
  16295. description: 利率
  16296. type: number
  16297. interestratemode:
  16298. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  16299. type: integer
  16300. interestsettlemode:
  16301. description: 结息方式 - 1:按日结息 3:按月结息
  16302. type: integer
  16303. interestsettlevalue:
  16304. description: 结息方式值
  16305. type: integer
  16306. isautoloan:
  16307. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  16308. type: integer
  16309. lastcloseinterestday:
  16310. description: 最近结息日(yyyyMMdd)
  16311. type: string
  16312. lenderamount:
  16313. description: 贷款金额 -> 借款金额
  16314. type: number
  16315. lenderuserid:
  16316. description: 贷款方用户ID -> 融出方用户ID
  16317. type: integer
  16318. lenderusername:
  16319. description: 融出方
  16320. type: string
  16321. marginratio:
  16322. description: 保证金比率质押率 - [仓单质押]
  16323. type: number
  16324. marketid:
  16325. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  16326. type: integer
  16327. minivalue:
  16328. description: 现货商品最小变动值
  16329. type: integer
  16330. optioncompare:
  16331. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16332. type: string
  16333. pricemove:
  16334. description: 估值升贴水值
  16335. type: number
  16336. productdetailid:
  16337. description: 产品组合ID
  16338. type: integer
  16339. productid:
  16340. description: 金融产品ID
  16341. type: integer
  16342. productname:
  16343. description: 产品名称
  16344. type: string
  16345. remainamount:
  16346. description: 合同剩余金额 -> 剩余金额
  16347. type: number
  16348. remainwrpositionqty:
  16349. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  16350. type: number
  16351. remark:
  16352. description: 备注
  16353. type: string
  16354. scfcontractid:
  16355. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  16356. type: string
  16357. scfcontractstatus:
  16358. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交
  16359. type: integer
  16360. scfcontracttype:
  16361. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  16362. type: integer
  16363. startinterestday:
  16364. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  16365. type: string
  16366. totalinterest:
  16367. description: 已计利息 -> 已计费用
  16368. type: number
  16369. unpaidinterest:
  16370. description: 未结费用
  16371. type: number
  16372. updatetime:
  16373. description: 更新时间
  16374. type: string
  16375. warehouseid:
  16376. description: 仓库ID
  16377. type: integer
  16378. warehousename:
  16379. description: 仓库名称
  16380. type: string
  16381. wrfactortypeid:
  16382. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16383. type: string
  16384. wrfactortypename:
  16385. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16386. type: string
  16387. wrqty:
  16388. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  16389. type: number
  16390. wrstandardcode:
  16391. description: 现货商品代码
  16392. type: string
  16393. wrstandardid:
  16394. description: 现货商品ID
  16395. type: integer
  16396. wrstandardname:
  16397. description: 商品名称
  16398. type: string
  16399. wrtypename:
  16400. description: 商品
  16401. type: string
  16402. type: object
  16403. models.WrScfContractInterest:
  16404. properties:
  16405. closeinterest:
  16406. description: 已结利息
  16407. type: number
  16408. closeintereststatus:
  16409. description: 结息状态 - 1:未结 2:已结
  16410. type: integer
  16411. closetime:
  16412. description: 结息时间
  16413. type: string
  16414. closetradedate:
  16415. description: 结息交易日
  16416. type: string
  16417. creatorid:
  16418. description: 操作人ID
  16419. type: integer
  16420. dayrate:
  16421. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  16422. type: number
  16423. interest:
  16424. description: 利息
  16425. type: number
  16426. interestamount:
  16427. description: 计息金额
  16428. type: number
  16429. interestday:
  16430. description: 计息日(yyyyMMdd)
  16431. type: string
  16432. scfcontractid:
  16433. description: SCF合同ID
  16434. type: string
  16435. scfcontractinterestid:
  16436. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  16437. type: integer
  16438. updatetime:
  16439. description: 更新时间
  16440. type: string
  16441. type: object
  16442. models.WrSiteColumnDetail:
  16443. properties:
  16444. brief:
  16445. description: 简介
  16446. type: string
  16447. context:
  16448. description: 内容
  16449. type: string
  16450. coverimage:
  16451. description: 封面图片
  16452. type: string
  16453. creaedate:
  16454. description: 创建时间
  16455. type: string
  16456. id:
  16457. description: ID(SEQ_SITE_COLUMNDETAIL)
  16458. type: integer
  16459. istop:
  16460. description: 是否置顶 - 0:不置 1:置顶
  16461. type: integer
  16462. publishdate:
  16463. description: 发布日期
  16464. type: string
  16465. title:
  16466. description: 标题
  16467. type: string
  16468. updatedate:
  16469. description: 修改时间
  16470. type: string
  16471. type: object
  16472. models.WrSpecialMatchOrder:
  16473. properties:
  16474. amount:
  16475. description: 金额 = 数量 * 价格
  16476. type: number
  16477. buyorsell:
  16478. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  16479. type: integer
  16480. cancelqty:
  16481. description: 撤销数量
  16482. type: number
  16483. deliverygoodscode:
  16484. description: 品种代码
  16485. type: string
  16486. deliverygoodsid:
  16487. description: 品种ID
  16488. type: integer
  16489. deliverygoodsname:
  16490. description: 品种名称
  16491. type: string
  16492. enumdicname:
  16493. description: 单位名称
  16494. type: string
  16495. fixedprice:
  16496. description: 固定价格(价格)
  16497. type: number
  16498. haswr:
  16499. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16500. type: integer
  16501. marketid:
  16502. description: 市场ID
  16503. type: integer
  16504. matchuserid:
  16505. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  16506. type: integer
  16507. matchusername:
  16508. description: 指定方
  16509. type: string
  16510. minivalue:
  16511. description: 现货商品最小变动值
  16512. type: integer
  16513. optioncompare:
  16514. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16515. type: string
  16516. orderqty:
  16517. description: 委托数量
  16518. type: number
  16519. ordertime:
  16520. description: 委托时间
  16521. type: string
  16522. pricemove:
  16523. description: 升贴水(浮动价时填写) - [挂牌]
  16524. type: number
  16525. tradedate:
  16526. description: 交易日(yyyyMMdd)
  16527. type: string
  16528. tradeprice:
  16529. description: 成交价格
  16530. type: number
  16531. tradeqty:
  16532. description: 成交数量
  16533. type: number
  16534. userid:
  16535. description: 用户ID
  16536. type: integer
  16537. username:
  16538. description: 发起方
  16539. type: string
  16540. warehouseid:
  16541. description: 仓库ID
  16542. type: integer
  16543. warehousename:
  16544. description: 仓库名称
  16545. type: string
  16546. wrfactortypeid:
  16547. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16548. type: string
  16549. wrfactortypename:
  16550. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16551. type: string
  16552. wrpricetype:
  16553. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  16554. type: integer
  16555. wrstandardcode:
  16556. description: 现货商品代码
  16557. type: string
  16558. wrstandardid:
  16559. description: 现货商品ID
  16560. type: integer
  16561. wrstandardname:
  16562. description: 商品名称
  16563. type: string
  16564. wrtradeorderid:
  16565. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16566. type: string
  16567. wrtradeorderstatus:
  16568. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  16569. type: integer
  16570. wrtradetype:
  16571. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  16572. type: integer
  16573. wrtypename:
  16574. description: 商品
  16575. type: string
  16576. type: object
  16577. models.WrSpotGroupTradeSum:
  16578. properties:
  16579. deliverygoodscode:
  16580. description: 现货品种代码
  16581. type: string
  16582. deliverygoodsid:
  16583. description: 现货品种ID(SEQ_DELIVERYGOODS)
  16584. type: integer
  16585. deliverygoodsname:
  16586. description: 现货品种名称
  16587. type: string
  16588. lastavgprice:
  16589. description: 上上个交易日价格(前2天价格)
  16590. type: string
  16591. lastreckondate:
  16592. description: 上上个交易日(前2天交易日)
  16593. type: string
  16594. reckondate:
  16595. description: 上个交易日(前1天交易日)
  16596. type: string
  16597. todayavgprice:
  16598. description: 上个交易日价格(前1天价格)
  16599. type: string
  16600. updown:
  16601. description: 涨跌
  16602. type: string
  16603. updownratio:
  16604. description: 涨幅(已格式化, 直接显示即可)
  16605. type: string
  16606. type: object
  16607. models.WrSpotGroupTradeSumDetail:
  16608. properties:
  16609. deliverygoodsid:
  16610. description: 现货商品id
  16611. type: integer
  16612. price:
  16613. description: 价格
  16614. type: number
  16615. reckondate:
  16616. description: 日期(yyymmdd, 如:20211031)
  16617. type: string
  16618. type: object
  16619. models.WrSpotGroupTradeSumEx:
  16620. properties:
  16621. lst:
  16622. description: 指数列表
  16623. items:
  16624. $ref: '#/definitions/models.WrSpotGroupTradeSum'
  16625. type: array
  16626. prereckondate:
  16627. description: 上上个交易日(yyymmdd)
  16628. type: string
  16629. reckondate:
  16630. description: 上个交易日(yyyymmdd)
  16631. type: string
  16632. type: object
  16633. models.WrStandardFactoryItem:
  16634. properties:
  16635. dgfactoryitemid:
  16636. description: 选择项id
  16637. type: integer
  16638. dgfactoryitemvalue:
  16639. description: 要素项值
  16640. type: string
  16641. warehouseid:
  16642. description: 仓库id
  16643. type: integer
  16644. type: object
  16645. models.WrStandardFactoryItemEx:
  16646. properties:
  16647. dgfactoryitemtypeid:
  16648. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  16649. type: integer
  16650. itemlst:
  16651. description: 要素项列表
  16652. items:
  16653. $ref: '#/definitions/models.WrStandardFactoryItem'
  16654. type: array
  16655. itemtypename:
  16656. description: 要素项类型名称
  16657. type: string
  16658. wrstandardid:
  16659. description: 品类
  16660. type: integer
  16661. type: object
  16662. models.WrTradeDetail:
  16663. properties:
  16664. accountid:
  16665. description: 资金账号
  16666. type: integer
  16667. buyorsell:
  16668. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  16669. type: integer
  16670. chargevalue:
  16671. description: 手续费
  16672. type: number
  16673. deliverygoodscode:
  16674. description: 品种代码
  16675. type: string
  16676. deliverygoodsid:
  16677. description: 品种ID
  16678. type: integer
  16679. deliverygoodsname:
  16680. description: 品种名称
  16681. type: string
  16682. deliverymonth:
  16683. description: 交收月
  16684. type: string
  16685. enumdicname:
  16686. description: 单位名称
  16687. type: string
  16688. haswr:
  16689. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16690. type: integer
  16691. marketid:
  16692. description: 市场ID
  16693. type: integer
  16694. matchaccountid:
  16695. description: 对手账号
  16696. type: integer
  16697. matchusername:
  16698. description: 对手方
  16699. type: string
  16700. minivalue:
  16701. description: 现货商品最小变动值
  16702. type: integer
  16703. optioncompare:
  16704. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16705. type: string
  16706. tradedate:
  16707. description: 交易日(yyyyMMdd)
  16708. type: string
  16709. tradeprice:
  16710. description: 成交价格
  16711. type: number
  16712. tradeqty:
  16713. description: 成交数量
  16714. type: number
  16715. tradetime:
  16716. description: 成交时间
  16717. type: string
  16718. userid:
  16719. description: 用户ID
  16720. type: integer
  16721. warehouseid:
  16722. description: 仓库ID
  16723. type: integer
  16724. warehousename:
  16725. description: 仓库名称
  16726. type: string
  16727. wrfactortypeid:
  16728. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16729. type: string
  16730. wrfactortypename:
  16731. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16732. type: string
  16733. wrstandardcode:
  16734. description: 现货商品代码
  16735. type: string
  16736. wrstandardid:
  16737. description: 现货商品ID
  16738. type: integer
  16739. wrstandardname:
  16740. description: 商品名称
  16741. type: string
  16742. wrtradedetailid:
  16743. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  16744. type: string
  16745. wrtradetype:
  16746. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  16747. type: integer
  16748. wrtypename:
  16749. description: 商品
  16750. type: string
  16751. type: object
  16752. models.WrTradeOrderDetail:
  16753. properties:
  16754. buyorsell:
  16755. description: 买卖方向 0-买 1-卖
  16756. type: integer
  16757. goodsid:
  16758. description: 商品id
  16759. type: integer
  16760. orderid:
  16761. description: 委托单号
  16762. type: string
  16763. orderprice:
  16764. description: 委托价格
  16765. type: number
  16766. orderqty:
  16767. description: 委托数量
  16768. type: integer
  16769. userid:
  16770. description: 用户id
  16771. type: integer
  16772. username:
  16773. description: 用户名称(已脱敏)
  16774. type: string
  16775. type: object
  16776. models.WrTypeItem:
  16777. properties:
  16778. name:
  16779. description: 名称
  16780. type: string
  16781. value:
  16782. description: 值
  16783. type: string
  16784. type: object
  16785. models.WrUserFriend:
  16786. properties:
  16787. friendname:
  16788. description: 朋友名称(已脱敏)
  16789. type: string
  16790. frienduserid:
  16791. description: 朋友id
  16792. type: integer
  16793. isfriend:
  16794. description: 是否好友 0-不是 1-是
  16795. type: integer
  16796. userid:
  16797. description: 用户id
  16798. type: integer
  16799. type: object
  16800. models.WrUserReceiptInfo:
  16801. properties:
  16802. address:
  16803. description: 地址[发票类型:企业]
  16804. type: string
  16805. autoid:
  16806. description: AutoID
  16807. type: integer
  16808. contactinfo:
  16809. description: 联系方式
  16810. type: string
  16811. idnum:
  16812. description: 身份证号码[发票类型:个人]
  16813. type: string
  16814. isdefault:
  16815. description: 是否默认地址 - 0:否 1:是
  16816. type: integer
  16817. receiptaccount:
  16818. description: 发票帐号[发票类型:企业]
  16819. type: string
  16820. receiptbank:
  16821. description: 发票开户行[发票类型:企业]
  16822. type: string
  16823. receipttype:
  16824. description: 发票类型 - 1:个人 2:企业
  16825. type: integer
  16826. taxpayerid:
  16827. description: 纳税人识别号
  16828. type: string
  16829. userid:
  16830. description: 用户ID
  16831. type: integer
  16832. username:
  16833. description: 户名(个人姓名或企业名称)
  16834. type: string
  16835. type: object
  16836. models.XHBRAND:
  16837. properties:
  16838. brandid:
  16839. description: 品牌id
  16840. type: integer
  16841. brandname:
  16842. description: 品牌名称
  16843. type: string
  16844. isvalid:
  16845. description: 是否有效 0-无效 1-有效
  16846. type: integer
  16847. type: object
  16848. models.XHDeliveryGoods:
  16849. properties:
  16850. areauserid:
  16851. description: 所属机构
  16852. type: integer
  16853. bdlst:
  16854. description: 品牌列表
  16855. items:
  16856. $ref: '#/definitions/models.XHBRAND'
  16857. type: array
  16858. deliverygoodscode:
  16859. description: 现货品种代码
  16860. type: string
  16861. deliverygoodsid:
  16862. description: 现货品种ID(SEQ_DELIVERYGOODS)
  16863. type: integer
  16864. deliverygoodsname:
  16865. description: 现货品种名称
  16866. type: string
  16867. dgstatus:
  16868. description: 品种状态 - 作废 - 0:未激活 1:正常
  16869. type: integer
  16870. isvalid:
  16871. description: 是否有效 - 0:无效 1:有效
  16872. type: integer
  16873. remark:
  16874. description: 备注
  16875. type: string
  16876. unitid:
  16877. description: 单位id(目前看,数据库中是空值)
  16878. type: integer
  16879. wdlst:
  16880. description: 品类(现货商品)列表
  16881. items:
  16882. $ref: '#/definitions/models.XHWrstandard'
  16883. type: array
  16884. type: object
  16885. models.XHMiddleGoods:
  16886. properties:
  16887. convertratio:
  16888. description: 拆算系数
  16889. type: number
  16890. costratio:
  16891. description: 成本权重
  16892. type: number
  16893. deliverygoodsid:
  16894. description: 现货商品id
  16895. type: integer
  16896. enumdicname:
  16897. description: 单位名称
  16898. type: string
  16899. gplst:
  16900. description: 期货品种列表
  16901. items:
  16902. $ref: '#/definitions/models.TBGoodsGroup'
  16903. type: array
  16904. middlegoodscode:
  16905. description: 套保品种代码
  16906. type: string
  16907. middlegoodsid:
  16908. description: 套保品种id
  16909. type: integer
  16910. middlegoodsname:
  16911. description: 套保品种名称
  16912. type: string
  16913. unitid:
  16914. description: 单位id
  16915. type: integer
  16916. type: object
  16917. models.XHWrstandard:
  16918. properties:
  16919. deliverygoodsid:
  16920. description: 品种ID
  16921. type: integer
  16922. enumdicname:
  16923. description: 单位名称
  16924. type: string
  16925. mglst:
  16926. description: 套保品列表
  16927. items:
  16928. $ref: '#/definitions/models.XHMiddleGoods'
  16929. type: array
  16930. unitid:
  16931. description: 单位id
  16932. type: integer
  16933. vatrate:
  16934. description: 增值税率
  16935. type: number
  16936. wrstandardcode:
  16937. description: 现货商品代码
  16938. type: string
  16939. wrstandardid:
  16940. description: 现货商品ID(SEQ_WRSTANDARD)
  16941. type: integer
  16942. wrstandardname:
  16943. description: 现货商品名称
  16944. type: string
  16945. type: object
  16946. order.QueryHisTradeDetailRsp:
  16947. properties:
  16948. accountid:
  16949. description: 账户ID[报价币种]
  16950. type: integer
  16951. advanceratio:
  16952. description: 首付比率
  16953. type: number
  16954. buildtype:
  16955. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  16956. type: integer
  16957. buyorsell:
  16958. description: 方向 - 0:买 1:卖
  16959. type: integer
  16960. charge:
  16961. description: 手续费
  16962. type: number
  16963. closecharge:
  16964. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  16965. type: number
  16966. closeexchagechargevalue:
  16967. description: 平仓交易所手续费设置值
  16968. type: number
  16969. closefeealgorithm:
  16970. description: 平仓手续费收取方式 1:比率 2:固定
  16971. type: integer
  16972. closememberchargevalue:
  16973. description: 平仓会员手续费设置值
  16974. type: number
  16975. closepl:
  16976. description: 平仓盈亏
  16977. type: number
  16978. closepl2:
  16979. description: 平仓盈亏[逐笔]
  16980. type: number
  16981. closeqty:
  16982. description: 平仓数量(先建后平操作 需要记录)
  16983. type: number
  16984. creditamount:
  16985. description: 授信金额
  16986. type: number
  16987. decimalplace:
  16988. description: 商品报价小数位
  16989. type: integer
  16990. enumdicname:
  16991. description: 单位名称
  16992. type: string
  16993. gcaccountid:
  16994. description: 账户ID[合约币种]
  16995. type: integer
  16996. goodscode:
  16997. description: 商品代码
  16998. type: string
  16999. goodsid:
  17000. description: 商品ID
  17001. type: integer
  17002. goodsname:
  17003. description: 商品名称
  17004. type: string
  17005. goodunitid:
  17006. description: 商品单位id
  17007. type: integer
  17008. histradedate:
  17009. description: 历史交易日
  17010. type: string
  17011. intclosepl:
  17012. description: 整型盈亏(用于交易结算试算平衡-收益权)
  17013. type: integer
  17014. isconfirmexercise:
  17015. description: 是否确认行权- 0:否 1:是
  17016. type: integer
  17017. ismain:
  17018. description: 是否主单 - 0:不是 1:是
  17019. type: integer
  17020. ispreexercise:
  17021. description: 是否预申报- 0:否 1:是
  17022. type: integer
  17023. isreckoned:
  17024. description: 是否结算 - 0:未结算 1:已结算
  17025. type: integer
  17026. isvaliddata:
  17027. description: 是否有效 - 0:无效 1:有效
  17028. type: integer
  17029. listingselecttype:
  17030. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17031. type: integer
  17032. marketid:
  17033. description: 市场ID
  17034. type: integer
  17035. marketname:
  17036. description: 市场名称
  17037. type: string
  17038. matchaccountid:
  17039. description: 对手账号id
  17040. type: integer
  17041. memberuserid:
  17042. description: 会员id 个人投资者 需要填写
  17043. type: integer
  17044. opencharge:
  17045. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17046. type: number
  17047. openexchagechargevalue:
  17048. description: 建仓交易所手续费设置值
  17049. type: number
  17050. openfeealgorithm:
  17051. description: 建仓手续费收取方式 1:比率 2:固定
  17052. type: integer
  17053. openmemberchargevalue:
  17054. description: 建仓会员手续费设置值
  17055. type: number
  17056. openqty:
  17057. description: 开仓数量(先建后平操作 需要记录)
  17058. type: number
  17059. optiontype:
  17060. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17061. type: integer
  17062. orderid:
  17063. description: 委托单号
  17064. type: string
  17065. payamount:
  17066. description: 支付金额(付款金额)
  17067. type: number
  17068. performanceplanid:
  17069. description: 履约计划ID[期权]
  17070. type: integer
  17071. performancestatus:
  17072. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  17073. type: integer
  17074. preexerciseprice:
  17075. description: 预申报价格
  17076. type: number
  17077. premium:
  17078. description: 权利金 - [持仓单的权利金]
  17079. type: number
  17080. qtydecimalplace:
  17081. description: 商品报价小数位
  17082. type: integer
  17083. recvamount:
  17084. description: 到账金额 = 成交金额 - 手续费
  17085. type: number
  17086. relatedouttradeid:
  17087. description: 关联外部成交单ID
  17088. type: integer
  17089. status:
  17090. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  17091. type: integer
  17092. totalamount:
  17093. description: 订单总额 = 成交金额 + 手续费
  17094. type: number
  17095. tradeamount:
  17096. description: 成交金额[账户币种,用于所有权]
  17097. type: number
  17098. tradedate:
  17099. description: 交易日(yyyyMMdd)
  17100. type: string
  17101. tradeid:
  17102. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17103. type: string
  17104. trademode:
  17105. description: 交易模式
  17106. type: integer
  17107. tradeprice:
  17108. description: 成交价格
  17109. type: number
  17110. tradeproperty:
  17111. description: 交易属性
  17112. type: integer
  17113. tradeqty:
  17114. description: 成交数量
  17115. type: number
  17116. tradetime:
  17117. description: 成交时间
  17118. type: string
  17119. tradetype:
  17120. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  17121. type: integer
  17122. required:
  17123. - accountid
  17124. - buyorsell
  17125. - goodsid
  17126. - histradedate
  17127. - marketid
  17128. - memberuserid
  17129. - orderid
  17130. - tradeamount
  17131. - tradedate
  17132. - tradeid
  17133. - tradeprice
  17134. - tradeqty
  17135. - tradetime
  17136. type: object
  17137. order.QueryHisTradeOrderDetailRsp:
  17138. properties:
  17139. accountid:
  17140. description: 账户ID[报价币种]
  17141. type: integer
  17142. buildtype:
  17143. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  17144. type: integer
  17145. buyorsell:
  17146. description: 买卖 - 0:买 1:卖
  17147. type: integer
  17148. cancelorderid:
  17149. description: 撤单单号(撤单时填写)
  17150. type: string
  17151. cancelqty:
  17152. description: 撤单数量
  17153. type: number
  17154. clientordertime:
  17155. description: 客户端委托时间
  17156. type: string
  17157. clientticket:
  17158. description: 客户端流水号
  17159. type: string
  17160. clienttype:
  17161. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  17162. type: integer
  17163. closeexchagechargevalue:
  17164. description: 平仓交易所手续费设置值
  17165. type: number
  17166. closefeealgorithm:
  17167. description: 平仓手续费收取方式 1:比率 2:固定
  17168. type: integer
  17169. closefreezecharge:
  17170. description: 平仓冻结手续费(先建后平操作,需要记录)
  17171. type: number
  17172. closememberchargevalue:
  17173. description: 平仓会员手续费设置值
  17174. type: number
  17175. closeqty:
  17176. description: 平仓数量(先建后平操作 需要记录)
  17177. type: number
  17178. closetradeqty:
  17179. description: 平仓成交数量(先建后平操作,需要记录)
  17180. type: number
  17181. closeunfreezecharge:
  17182. description: 平仓解冻手续费(先建后平操作,需要记录)
  17183. type: number
  17184. decimalplace:
  17185. description: 商品报价小数位
  17186. type: integer
  17187. delistingtype:
  17188. description: 摘牌类型 - 1:价格最优 2:点选成交
  17189. type: integer
  17190. enumdicname:
  17191. description: 单位名称
  17192. type: string
  17193. freezecharge:
  17194. description: 冻结手续费
  17195. type: number
  17196. freezemargin:
  17197. description: 冻结保证金(冻结交易金额)
  17198. type: number
  17199. gcaccountid:
  17200. description: 账户ID[合约币种]
  17201. type: integer
  17202. goodscode:
  17203. description: 商品代码
  17204. type: string
  17205. goodsid:
  17206. description: 商品ID
  17207. type: integer
  17208. goodsname:
  17209. description: 商品名称
  17210. type: string
  17211. goodunitid:
  17212. description: 商品单位id
  17213. type: integer
  17214. histradedate:
  17215. description: 历史交易日
  17216. type: string
  17217. isconfirmexercise:
  17218. description: 是否确认行权- 0:否 1:是
  17219. type: integer
  17220. ispreexercise:
  17221. description: 是否预申报- 0:否 1:是
  17222. type: integer
  17223. isvaliddata:
  17224. description: 是否有效 - 0:无效 1:有效
  17225. type: integer
  17226. listingselecttype:
  17227. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17228. type: integer
  17229. marginalgorithm:
  17230. description: 保证金收取方式 1:比率 2:固定
  17231. type: integer
  17232. marginvalue:
  17233. description: 即市保证金设置值
  17234. type: number
  17235. marketid:
  17236. description: 市场ID
  17237. type: integer
  17238. marketmaxsub:
  17239. description: 市价最大偏移范围
  17240. type: number
  17241. marketname:
  17242. description: 市场名称
  17243. type: string
  17244. memberuserid:
  17245. description: 所属会员UserID
  17246. type: integer
  17247. openexchagechargevalue:
  17248. description: 建仓交易所手续费设置值
  17249. type: number
  17250. openfeealgorithm:
  17251. description: 建仓手续费收取方式 1:比率 2:固定
  17252. type: integer
  17253. openfreezecharge:
  17254. description: 开仓冻结手续费(先建后平操作,需要记录)
  17255. type: number
  17256. openmemberchargevalue:
  17257. description: 建仓会员手续费设置值
  17258. type: number
  17259. openqty:
  17260. description: 开仓数量(先建后平操作,需要记录)
  17261. type: number
  17262. opentradeqty:
  17263. description: 开仓成交数量(先建后平操作,需要记录)
  17264. type: number
  17265. openunfreezecharge:
  17266. description: 开仓解冻手续费(先建后平操作,需要记录)
  17267. type: number
  17268. operatetype:
  17269. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让
  17270. type: integer
  17271. operatorid:
  17272. description: 登录账号(LoginID)
  17273. type: integer
  17274. optiontype:
  17275. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17276. type: integer
  17277. orderid:
  17278. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17279. type: string
  17280. orderprice:
  17281. description: 委托价格
  17282. type: number
  17283. orderqty:
  17284. description: 委托数量
  17285. type: number
  17286. ordersrc:
  17287. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  17288. type: integer
  17289. orderstatus:
  17290. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  17291. type: integer
  17292. ordertime:
  17293. description: 委托时间
  17294. type: string
  17295. preexerciseprice:
  17296. description: 预申报价格
  17297. type: number
  17298. premium:
  17299. description: 权利金
  17300. type: number
  17301. preorderid:
  17302. description: 关联预埋单号(止盈止损单时填写)
  17303. type: string
  17304. pricemode:
  17305. description: '取价方式 - 1:市价 2: 限价'
  17306. type: integer
  17307. qtydecimalplace:
  17308. description: 成交量小数位
  17309. type: integer
  17310. quoteid:
  17311. description: 报价单ID
  17312. type: integer
  17313. relatedid:
  17314. description: 关联单号(交割单)
  17315. type: string
  17316. retcode:
  17317. description: 错误代码
  17318. type: integer
  17319. sessionid:
  17320. description: 会话ID
  17321. type: integer
  17322. tradedate:
  17323. description: 交易日(yyyyMMdd)
  17324. type: string
  17325. trademode:
  17326. description: 交易模式
  17327. type: integer
  17328. tradeproperty:
  17329. description: 交易属性
  17330. type: integer
  17331. tradeqty:
  17332. description: 成交数量
  17333. type: number
  17334. unfreezecharge:
  17335. description: 解冻手续费
  17336. type: number
  17337. unfreezemargin:
  17338. description: 解冻保证金
  17339. type: number
  17340. updatetime:
  17341. description: 更新时间
  17342. type: string
  17343. uuid:
  17344. description: 发起端唯一id
  17345. type: string
  17346. validtime:
  17347. description: 有效期限
  17348. type: string
  17349. validtype:
  17350. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  17351. type: integer
  17352. volumetype:
  17353. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  17354. type: integer
  17355. required:
  17356. - accountid
  17357. - buildtype
  17358. - buyorsell
  17359. - goodsid
  17360. - histradedate
  17361. - marketid
  17362. - memberuserid
  17363. - operatetype
  17364. - orderid
  17365. - orderqty
  17366. - ordertime
  17367. - pricemode
  17368. - tradedate
  17369. - validtype
  17370. type: object
  17371. order.QueryTradeDetailRsp:
  17372. properties:
  17373. accountid:
  17374. description: 账户ID[报价币种]
  17375. type: integer
  17376. advanceratio:
  17377. description: 首付比率
  17378. type: number
  17379. buildtype:
  17380. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  17381. type: integer
  17382. buyorsell:
  17383. description: 方向 - 0:买 1:卖
  17384. type: integer
  17385. charge:
  17386. description: 手续费
  17387. type: number
  17388. closecharge:
  17389. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17390. type: number
  17391. closeexchagechargevalue:
  17392. description: 平仓交易所手续费设置值
  17393. type: number
  17394. closefeealgorithm:
  17395. description: 平仓手续费收取方式 1:比率 2:固定
  17396. type: integer
  17397. closememberchargevalue:
  17398. description: 平仓会员手续费设置值
  17399. type: number
  17400. closepl:
  17401. description: 平仓盈亏
  17402. type: number
  17403. closepl2:
  17404. description: 平仓盈亏[逐笔]
  17405. type: number
  17406. closeqty:
  17407. description: 平仓数量(先建后平操作 需要记录)
  17408. type: number
  17409. creditamount:
  17410. description: 授信金额
  17411. type: number
  17412. decimalplace:
  17413. description: 商品报价小数位
  17414. type: integer
  17415. enumdicname:
  17416. description: 单位名称
  17417. type: string
  17418. gcaccountid:
  17419. description: 账户ID[合约币种]
  17420. type: integer
  17421. goodscode:
  17422. description: 商品代码
  17423. type: string
  17424. goodsid:
  17425. description: 商品ID
  17426. type: integer
  17427. goodsname:
  17428. description: 商品名称
  17429. type: string
  17430. goodunitid:
  17431. description: 商品单位id
  17432. type: integer
  17433. intclosepl:
  17434. description: 整型盈亏(用于交易结算试算平衡-收益权)
  17435. type: integer
  17436. isconfirmexercise:
  17437. description: 是否确认行权- 0:否 1:是
  17438. type: integer
  17439. ismain:
  17440. description: 是否主单 - 0:不是 1:是
  17441. type: integer
  17442. ispreexercise:
  17443. description: 是否预申报- 0:否 1:是
  17444. type: integer
  17445. isreckoned:
  17446. description: 是否结算 - 0:未结算 1:已结算
  17447. type: integer
  17448. listingselecttype:
  17449. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17450. type: integer
  17451. marketid:
  17452. description: 市场ID
  17453. type: integer
  17454. marketname:
  17455. description: 市场名称
  17456. type: string
  17457. matchaccountid:
  17458. description: 对手账号id
  17459. type: integer
  17460. memberuserid:
  17461. description: 会员id 个人投资者 需要填写
  17462. type: integer
  17463. opencharge:
  17464. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17465. type: number
  17466. openexchagechargevalue:
  17467. description: 建仓交易所手续费设置值
  17468. type: number
  17469. openfeealgorithm:
  17470. description: 建仓手续费收取方式 1:比率 2:固定
  17471. type: integer
  17472. openmemberchargevalue:
  17473. description: 建仓会员手续费设置值
  17474. type: number
  17475. openqty:
  17476. description: 开仓数量(先建后平操作 需要记录)
  17477. type: number
  17478. optiontype:
  17479. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17480. type: integer
  17481. orderid:
  17482. description: 委托单号
  17483. type: string
  17484. payamount:
  17485. description: 支付金额(付款金额)
  17486. type: number
  17487. performanceplanid:
  17488. description: 履约计划ID[期权]
  17489. type: integer
  17490. performancestatus:
  17491. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  17492. type: integer
  17493. preexerciseprice:
  17494. description: 预申报价格
  17495. type: number
  17496. premium:
  17497. description: 权利金 - [持仓单的权利金]
  17498. type: number
  17499. qtydecimalplace:
  17500. description: 商品报价小数位
  17501. type: integer
  17502. recvamount:
  17503. description: 到账金额 = 成交金额 - 手续费
  17504. type: number
  17505. relatedouttradeid:
  17506. description: 关联外部成交单ID
  17507. type: integer
  17508. status:
  17509. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  17510. type: integer
  17511. totalamount:
  17512. description: 订单总额 = 成交金额 + 手续费
  17513. type: number
  17514. tradeamount:
  17515. description: 成交金额[账户币种,用于所有权]
  17516. type: number
  17517. tradedate:
  17518. description: 交易日(yyyyMMdd)
  17519. type: string
  17520. tradeid:
  17521. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17522. type: string
  17523. trademode:
  17524. description: 交易模式
  17525. type: integer
  17526. tradeprice:
  17527. description: 成交价格
  17528. type: number
  17529. tradeproperty:
  17530. description: 交易属性
  17531. type: integer
  17532. tradeqty:
  17533. description: 成交数量
  17534. type: number
  17535. tradetime:
  17536. description: 成交时间
  17537. type: string
  17538. tradetype:
  17539. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  17540. type: integer
  17541. required:
  17542. - accountid
  17543. - buyorsell
  17544. - goodsid
  17545. - marketid
  17546. - memberuserid
  17547. - orderid
  17548. - tradeamount
  17549. - tradedate
  17550. - tradeid
  17551. - tradeprice
  17552. - tradeqty
  17553. - tradetime
  17554. type: object
  17555. order.QueryTradeOrderDetailRsp:
  17556. properties:
  17557. accountid:
  17558. description: 账户ID[报价币种]
  17559. type: integer
  17560. buildtype:
  17561. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  17562. type: integer
  17563. buyorsell:
  17564. description: 买卖 - 0:买 1:卖
  17565. type: integer
  17566. cancelorderid:
  17567. description: 撤单单号(撤单时填写)
  17568. type: string
  17569. cancelqty:
  17570. description: 撤单数量
  17571. type: number
  17572. clienttype:
  17573. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  17574. type: integer
  17575. closefreezecharge:
  17576. description: 平仓冻结手续费(先建后平操作,需要记录)
  17577. type: number
  17578. closeqty:
  17579. description: 平仓数量(先建后平操作 需要记录)
  17580. type: number
  17581. closetradeqty:
  17582. description: 平仓成交数量(先建后平操作,需要记录)
  17583. type: number
  17584. closeunfreezecharge:
  17585. description: 平仓解冻手续费(先建后平操作,需要记录)
  17586. type: number
  17587. decimalplace:
  17588. description: 商品报价小数位
  17589. type: integer
  17590. delistingtype:
  17591. description: 摘牌类型 - 1:价格最优 2:点选成交
  17592. type: integer
  17593. enableqty:
  17594. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  17595. type: number
  17596. enumdicname:
  17597. description: 单位名称
  17598. type: string
  17599. freezecharge:
  17600. description: 冻结手续费
  17601. type: number
  17602. freezemargin:
  17603. description: 冻结保证金(冻结交易金额)
  17604. type: number
  17605. goodscode:
  17606. description: 商品代码
  17607. type: string
  17608. goodsid:
  17609. description: 商品ID
  17610. type: integer
  17611. goodsname:
  17612. description: 商品名称
  17613. type: string
  17614. goodunitid:
  17615. description: 商品单位id
  17616. type: integer
  17617. listingselecttype:
  17618. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17619. type: integer
  17620. marketid:
  17621. description: 市场ID
  17622. type: integer
  17623. marketname:
  17624. description: 市场名称
  17625. type: string
  17626. openfreezecharge:
  17627. description: 开仓冻结手续费(先建后平操作,需要记录)
  17628. type: number
  17629. openqty:
  17630. description: 开仓数量(先建后平操作,需要记录)
  17631. type: number
  17632. opentradeqty:
  17633. description: 开仓成交数量(先建后平操作,需要记录)
  17634. type: number
  17635. openunfreezecharge:
  17636. description: 开仓解冻手续费(先建后平操作,需要记录)
  17637. type: number
  17638. operatetype:
  17639. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让
  17640. type: integer
  17641. operatorid:
  17642. description: 登录账号(LoginID)
  17643. type: integer
  17644. orderid:
  17645. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17646. type: string
  17647. orderprice:
  17648. description: 委托价格
  17649. type: number
  17650. orderqty:
  17651. description: 委托数量
  17652. type: number
  17653. ordersrc:
  17654. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  17655. type: integer
  17656. orderstatus:
  17657. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  17658. type: integer
  17659. ordertime:
  17660. description: 委托时间
  17661. type: string
  17662. preorderid:
  17663. description: 关联预埋单号(止盈止损单时填写)
  17664. type: string
  17665. pricemode:
  17666. description: '取价方式 - 1:市价 2: 限价'
  17667. type: integer
  17668. qtydecimalplace:
  17669. description: 商品报价小数位
  17670. type: integer
  17671. relatedid:
  17672. description: 关联单号(交割单)
  17673. type: string
  17674. tradedate:
  17675. description: 交易日(yyyyMMdd)
  17676. type: string
  17677. trademode:
  17678. description: 交易模式
  17679. type: integer
  17680. tradeqty:
  17681. description: 成交数量
  17682. type: number
  17683. unfreezecharge:
  17684. description: 解冻手续费
  17685. type: number
  17686. unfreezemargin:
  17687. description: 解冻保证金
  17688. type: number
  17689. validtime:
  17690. description: 有效期限
  17691. type: string
  17692. validtype:
  17693. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  17694. type: integer
  17695. volumetype:
  17696. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  17697. type: integer
  17698. required:
  17699. - accountid
  17700. - buildtype
  17701. - buyorsell
  17702. - goodsid
  17703. - marketid
  17704. - operatetype
  17705. - orderqty
  17706. - ordertime
  17707. - pricemode
  17708. - tradedate
  17709. - validtype
  17710. type: object
  17711. order.QueryTradePositionRsp:
  17712. properties:
  17713. accountid:
  17714. description: 资金账户
  17715. type: integer
  17716. agreeunit:
  17717. description: 合约单位
  17718. type: number
  17719. averageprice:
  17720. description: 持仓均价
  17721. type: number
  17722. buyorsell:
  17723. description: 方向 - 0:买 1:卖
  17724. type: integer
  17725. closetotalqty:
  17726. description: 平仓总数量
  17727. type: number
  17728. curholderamount:
  17729. description: 当前持仓总金额[商品币种]
  17730. type: number
  17731. curpositionqty:
  17732. description: 当前持仓总数量
  17733. type: number
  17734. currencyid:
  17735. description: 报价货币ID
  17736. type: integer
  17737. curtdposition:
  17738. description: 期末今日头寸
  17739. type: number
  17740. decimalplace:
  17741. description: 报价小数位
  17742. type: integer
  17743. enableqty:
  17744. description: 可用量
  17745. type: number
  17746. fretdposition:
  17747. description: 冻结今日头寸
  17748. type: number
  17749. frozenqty:
  17750. description: 持仓冻结数量
  17751. type: number
  17752. goodscode:
  17753. description: 商品代码
  17754. type: string
  17755. goodsid:
  17756. description: 商品Id
  17757. type: integer
  17758. goodsname:
  17759. description: 商品名称
  17760. type: string
  17761. goodunit:
  17762. description: 报价单位
  17763. type: string
  17764. goodunitid:
  17765. description: 报价单位ID
  17766. type: integer
  17767. holderamount:
  17768. description: 期初持仓总金额[商品币种]
  17769. type: number
  17770. lastprice:
  17771. description: 最新价
  17772. type: number
  17773. marketamount:
  17774. description: 市值
  17775. type: number
  17776. marketid:
  17777. description: 所属市场ID
  17778. type: integer
  17779. openreqqty:
  17780. description: 开仓申请数量(用于比较最大持仓数量)
  17781. type: number
  17782. opentotalqty:
  17783. description: 开仓总数量
  17784. type: number
  17785. otherfrozenqty:
  17786. description: 持仓其他冻结数量(交割冻结)
  17787. type: number
  17788. positionpl:
  17789. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  17790. type: number
  17791. positionplrate:
  17792. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  17793. type: number
  17794. positionqty:
  17795. description: 期初持仓数量
  17796. type: number
  17797. qtydecimalplace:
  17798. description: 成交量小数位
  17799. type: integer
  17800. refgoodscode:
  17801. description: 参考商品代码
  17802. type: string
  17803. refgoodsid:
  17804. description: 参考商品ID
  17805. type: integer
  17806. tnqty:
  17807. description: T+N冻结总量
  17808. type: number
  17809. tnusedqty:
  17810. description: T+N使用量(可以使用T+N的冻结数量)
  17811. type: number
  17812. trademode:
  17813. description: 交易模式
  17814. type: integer
  17815. tradeproperty:
  17816. description: 交易属性
  17817. type: integer
  17818. usedmargin:
  17819. description: 占用保证金[商品币种]
  17820. type: number
  17821. required:
  17822. - goodsid
  17823. type: object
  17824. pb.GoodsMarginCfgStruct:
  17825. properties:
  17826. CustomerTypeID:
  17827. description: 投资者客户类型
  17828. type: integer
  17829. GoodsID:
  17830. description: 商品ID
  17831. type: integer
  17832. IsDefault:
  17833. description: 是否默认标志位
  17834. type: integer
  17835. LockMarginValue:
  17836. description: 锁仓保证金
  17837. type: number
  17838. MarginAlgorithm:
  17839. description: 保证金计算方式
  17840. type: integer
  17841. MarketMarginValue:
  17842. description: 即市保证金值
  17843. type: number
  17844. RealMarginAlgorithm:
  17845. description: 实付保证金计算方式
  17846. type: integer
  17847. RealMarginValue:
  17848. description: 实付比例
  17849. type: number
  17850. ReckonMarginValue:
  17851. description: 结算保证金值
  17852. type: number
  17853. type: object
  17854. quote.HistoryData:
  17855. properties:
  17856. c:
  17857. description: 收盘价
  17858. type: number
  17859. f:
  17860. description: 是否补充数据
  17861. type: boolean
  17862. h:
  17863. description: 最高价
  17864. type: number
  17865. hv:
  17866. description: 持仓量
  17867. type: integer
  17868. l:
  17869. description: 最低价
  17870. type: number
  17871. o:
  17872. description: 开盘价
  17873. type: number
  17874. s:
  17875. description: 结算价,日线周期(包括)以上才有
  17876. type: number
  17877. ts:
  17878. description: 时间
  17879. type: string
  17880. tt:
  17881. description: 总金额
  17882. type: number
  17883. tv:
  17884. description: 总量(成交量)
  17885. type: integer
  17886. type: object
  17887. quote.HistoryTikData:
  17888. properties:
  17889. AV:
  17890. description: 卖量
  17891. type: integer
  17892. Ask:
  17893. description: 卖价
  17894. type: number
  17895. BV:
  17896. description: 买量
  17897. type: integer
  17898. Bid:
  17899. description: 买价
  17900. type: number
  17901. HI:
  17902. description: 单笔持仓
  17903. type: integer
  17904. HV:
  17905. description: 持仓量
  17906. type: integer
  17907. PE:
  17908. description: 现价
  17909. type: number
  17910. TDR:
  17911. description: 交易方向,0:买 1:卖
  17912. type: integer
  17913. TK:
  17914. description: 交易类型
  17915. type: integer
  17916. TS:
  17917. description: 行情时间文本
  17918. type: string
  17919. TT:
  17920. description: 现金额
  17921. type: number
  17922. Vol:
  17923. description: 现量
  17924. type: integer
  17925. type: object
  17926. quote.QueryQuoteDayRsp:
  17927. properties:
  17928. ask:
  17929. description: 卖1
  17930. type: number
  17931. ask2:
  17932. description: 卖2
  17933. type: number
  17934. ask3:
  17935. description: 卖3
  17936. type: number
  17937. ask4:
  17938. description: 卖4
  17939. type: number
  17940. ask5:
  17941. description: 卖5
  17942. type: number
  17943. ask6:
  17944. description: 卖6
  17945. type: number
  17946. ask7:
  17947. description: 卖7
  17948. type: number
  17949. ask8:
  17950. description: 卖8
  17951. type: number
  17952. ask9:
  17953. description: 卖9
  17954. type: number
  17955. ask10:
  17956. description: 卖10
  17957. type: number
  17958. askorderid:
  17959. description: 卖单号1
  17960. type: integer
  17961. askorderid2:
  17962. description: 卖单号2
  17963. type: integer
  17964. askorderid3:
  17965. description: 卖单号3
  17966. type: integer
  17967. askorderid4:
  17968. description: 卖单号4
  17969. type: integer
  17970. askorderid5:
  17971. description: 卖单号5
  17972. type: integer
  17973. askordervolume:
  17974. description: 卖单量1
  17975. type: integer
  17976. askordervolume2:
  17977. description: 卖单量2
  17978. type: integer
  17979. askordervolume3:
  17980. description: 卖单量3
  17981. type: integer
  17982. askordervolume4:
  17983. description: 卖单量4
  17984. type: integer
  17985. askordervolume5:
  17986. description: 卖单量5
  17987. type: integer
  17988. askordervolume6:
  17989. description: 卖单量6
  17990. type: integer
  17991. askordervolume7:
  17992. description: 卖单量7
  17993. type: integer
  17994. askordervolume8:
  17995. description: 卖单量8
  17996. type: integer
  17997. askordervolume9:
  17998. description: 卖单量9
  17999. type: integer
  18000. askordervolume10:
  18001. description: 卖单量10
  18002. type: integer
  18003. askqueueinfo:
  18004. description: 大利市卖港股用
  18005. type: string
  18006. askvolume:
  18007. description: 卖量1
  18008. type: integer
  18009. askvolume2:
  18010. description: 卖量2
  18011. type: integer
  18012. askvolume3:
  18013. description: 卖量3
  18014. type: integer
  18015. askvolume4:
  18016. description: 卖量4
  18017. type: integer
  18018. askvolume5:
  18019. description: 卖量5
  18020. type: integer
  18021. askvolume6:
  18022. description: 卖量6
  18023. type: integer
  18024. askvolume7:
  18025. description: 卖量7
  18026. type: integer
  18027. askvolume8:
  18028. description: 卖量8
  18029. type: integer
  18030. askvolume9:
  18031. description: 卖量9
  18032. type: integer
  18033. askvolume10:
  18034. description: 卖量10
  18035. type: integer
  18036. averageprice:
  18037. description: 均价
  18038. type: number
  18039. bid:
  18040. description: 买1
  18041. type: number
  18042. bid2:
  18043. description: 买2
  18044. type: number
  18045. bid3:
  18046. description: 买3
  18047. type: number
  18048. bid4:
  18049. description: 买4
  18050. type: number
  18051. bid5:
  18052. description: 买5
  18053. type: number
  18054. bid6:
  18055. description: 买6
  18056. type: number
  18057. bid7:
  18058. description: 买7
  18059. type: number
  18060. bid8:
  18061. description: 买8
  18062. type: number
  18063. bid9:
  18064. description: 买9
  18065. type: number
  18066. bid10:
  18067. description: 买10
  18068. type: number
  18069. bidorderid:
  18070. description: 买单号1
  18071. type: integer
  18072. bidorderid2:
  18073. description: 买单号2
  18074. type: integer
  18075. bidorderid3:
  18076. description: 买单号3
  18077. type: integer
  18078. bidorderid4:
  18079. description: 买单号4
  18080. type: integer
  18081. bidorderid5:
  18082. description: 买单号5
  18083. type: integer
  18084. bidordervolume:
  18085. description: 买单量1
  18086. type: integer
  18087. bidordervolume2:
  18088. description: 买单量2
  18089. type: integer
  18090. bidordervolume3:
  18091. description: 买单量3
  18092. type: integer
  18093. bidordervolume4:
  18094. description: 买单量4
  18095. type: integer
  18096. bidordervolume5:
  18097. description: 买单量5
  18098. type: integer
  18099. bidordervolume6:
  18100. description: 买单量6
  18101. type: integer
  18102. bidordervolume7:
  18103. description: 买单量7
  18104. type: integer
  18105. bidordervolume8:
  18106. description: 买单量8
  18107. type: integer
  18108. bidordervolume9:
  18109. description: 买单量9
  18110. type: integer
  18111. bidordervolume10:
  18112. description: 买单量10
  18113. type: integer
  18114. bidqueueinfo:
  18115. description: 大利市买港股用
  18116. type: string
  18117. bidvolume:
  18118. description: 买量1
  18119. type: integer
  18120. bidvolume2:
  18121. description: 买量2
  18122. type: integer
  18123. bidvolume3:
  18124. description: 买量3
  18125. type: integer
  18126. bidvolume4:
  18127. description: 买量4
  18128. type: integer
  18129. bidvolume5:
  18130. description: 买量5
  18131. type: integer
  18132. bidvolume6:
  18133. description: 买量6
  18134. type: integer
  18135. bidvolume7:
  18136. description: 买量7
  18137. type: integer
  18138. bidvolume8:
  18139. description: 买量8
  18140. type: integer
  18141. bidvolume9:
  18142. description: 买量9
  18143. type: integer
  18144. bidvolume10:
  18145. description: 买量10
  18146. type: integer
  18147. calloptionpremiums:
  18148. description: 认购期权1
  18149. type: integer
  18150. calloptionpremiums2:
  18151. description: 认购期权2
  18152. type: integer
  18153. calloptionpremiums3:
  18154. description: 认购期权3
  18155. type: integer
  18156. calloptionpremiums4:
  18157. description: 认购期权4
  18158. type: integer
  18159. calloptionpremiums5:
  18160. description: 认购期权5
  18161. type: integer
  18162. cleartime:
  18163. description: 清盘时间
  18164. type: integer
  18165. exchangecode:
  18166. description: 交易所代码
  18167. type: integer
  18168. exchangedate:
  18169. description: 交易日
  18170. type: integer
  18171. goodscode:
  18172. description: 商品代码
  18173. type: string
  18174. grepmarketprice:
  18175. description: 暗盘价 港股专用
  18176. type: number
  18177. highest:
  18178. description: 最高价
  18179. type: number
  18180. holdincrement:
  18181. description: 单笔持仓
  18182. type: integer
  18183. holdvolume:
  18184. description: 持仓
  18185. type: integer
  18186. iep:
  18187. description: 平衡价 港股专用
  18188. type: number
  18189. iev:
  18190. description: 平衡量 港股专用
  18191. type: number
  18192. inventory:
  18193. description: 库存
  18194. type: integer
  18195. iscleared:
  18196. description: 是否清盘标志
  18197. type: integer
  18198. issettled:
  18199. description: 是否结算标志
  18200. type: integer
  18201. last:
  18202. description: 最新价
  18203. type: number
  18204. lastlot:
  18205. description: 最新成交手数
  18206. type: integer
  18207. lasttime:
  18208. description: 行情时间(只有现价变化行情时间才变化)
  18209. type: string
  18210. lastturnover:
  18211. description: 最新成交金额
  18212. type: number
  18213. lastvolume:
  18214. description: 最新成交量
  18215. type: integer
  18216. limitdown:
  18217. description: 跌停价
  18218. type: number
  18219. limitup:
  18220. description: 涨停价
  18221. type: number
  18222. lowest:
  18223. description: 最低价
  18224. type: number
  18225. nontotalholdervolume:
  18226. description: 非交易持仓量
  18227. type: integer
  18228. nontotallot:
  18229. description: 非交易总手数
  18230. type: integer
  18231. nontotalturnover:
  18232. description: 非交易总金额
  18233. type: integer
  18234. nontotalvolume:
  18235. description: 非交易总量
  18236. type: integer
  18237. opened:
  18238. description: 开盘价
  18239. type: number
  18240. opentime:
  18241. description: 开盘时间
  18242. type: string
  18243. orderid:
  18244. description: 序号
  18245. type: integer
  18246. preclose:
  18247. description: 昨收
  18248. type: number
  18249. preholdvolume:
  18250. description: 昨持仓
  18251. type: integer
  18252. presettle:
  18253. description: 昨结价
  18254. type: number
  18255. publictradetype:
  18256. description: 公共交易标志类型 港股专用
  18257. type: string
  18258. putoptionpremiums:
  18259. description: 认沽期权1
  18260. type: integer
  18261. putoptionpremiums2:
  18262. description: 认沽期权2
  18263. type: integer
  18264. putoptionpremiums3:
  18265. description: 认沽期权3
  18266. type: integer
  18267. putoptionpremiums4:
  18268. description: 认沽期权4
  18269. type: integer
  18270. putoptionpremiums5:
  18271. description: 认沽期权5
  18272. type: integer
  18273. settle:
  18274. description: 结算价
  18275. type: number
  18276. strikeprice:
  18277. description: 发行价
  18278. type: number
  18279. totalaskvolume:
  18280. description: 内盘
  18281. type: integer
  18282. totalbidvolume:
  18283. description: 外盘
  18284. type: integer
  18285. totallot:
  18286. description: 总手数
  18287. type: integer
  18288. totalturnover:
  18289. description: 总金额
  18290. type: number
  18291. totalvolume:
  18292. description: 总量
  18293. type: integer
  18294. utclasttime:
  18295. description: utc的行情时间
  18296. type: string
  18297. type: object
  18298. quote.QueryTSDataRsp:
  18299. properties:
  18300. Count:
  18301. description: 交易日应有数据个数
  18302. type: integer
  18303. decimalPlace:
  18304. description: 小数位
  18305. type: integer
  18306. endTime:
  18307. description: 结束时间
  18308. type: string
  18309. goodsCode:
  18310. description: 商品代码
  18311. type: string
  18312. historyDatas:
  18313. description: 历史数据
  18314. items:
  18315. $ref: '#/definitions/quote.HistoryData'
  18316. type: array
  18317. outGoodsCode:
  18318. description: 外部商品代码
  18319. type: string
  18320. preSettle:
  18321. description: 昨结价
  18322. type: number
  18323. runSteps:
  18324. description: 交易日开休市计划
  18325. items:
  18326. $ref: '#/definitions/quote.TSDataRunStep'
  18327. type: array
  18328. startTime:
  18329. description: 开始时间
  18330. type: string
  18331. tradeDate:
  18332. description: 交易日
  18333. type: string
  18334. type: object
  18335. quote.TSDataRunStep:
  18336. properties:
  18337. end:
  18338. description: 真实结束时间
  18339. type: string
  18340. endflag:
  18341. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  18342. type: integer
  18343. endtime:
  18344. description: 结束时间(HH:mm)
  18345. type: string
  18346. endweekday:
  18347. description: 结束周几
  18348. type: integer
  18349. groupid:
  18350. description: 分组ID
  18351. type: integer
  18352. runstep:
  18353. description: 运行阶段 - 2:连续交易
  18354. type: integer
  18355. sectionid:
  18356. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几
  18357. type: integer
  18358. start:
  18359. description: 真实开始时间
  18360. type: string
  18361. startflag:
  18362. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  18363. type: integer
  18364. starttime:
  18365. description: 起始时间(HH:mm)
  18366. type: string
  18367. startweekday:
  18368. description: 起始周几
  18369. type: integer
  18370. tradeweekday:
  18371. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  18372. type: integer
  18373. type: object
  18374. szdz.QueryConvertLogRsp:
  18375. properties:
  18376. accountid:
  18377. description: 资金账户ID
  18378. type: integer
  18379. clientticket:
  18380. description: 客户端流水号
  18381. type: string
  18382. converttype:
  18383. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  18384. type: integer
  18385. createtime:
  18386. description: 记账时间
  18387. type: string
  18388. daymaxvalue:
  18389. description: 配置当日最大转入限制
  18390. type: number
  18391. daymaxvalue2:
  18392. description: 配置当日最大转入限制(转入)
  18393. type: number
  18394. goodscode:
  18395. description: 商品代码
  18396. type: string
  18397. goodsname:
  18398. description: 商品名称
  18399. type: string
  18400. handlestatus:
  18401. description: 处理状态
  18402. type: integer
  18403. innergoodsid:
  18404. description: 内部商品ID
  18405. type: integer
  18406. inratio:
  18407. description: 配置转入比值
  18408. type: integer
  18409. invalue:
  18410. description: 目标值
  18411. type: number
  18412. logid:
  18413. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18414. type: integer
  18415. mobile:
  18416. description: 手机号码(加密存储)
  18417. type: string
  18418. outergoodscode:
  18419. description: 外部商品代码[JD\PD]
  18420. type: string
  18421. outratio:
  18422. description: 配置转出比值
  18423. type: integer
  18424. outvalue:
  18425. description: 源值
  18426. type: number
  18427. pddecimalplace:
  18428. description: PD小数位
  18429. type: integer
  18430. qty:
  18431. description: 数量
  18432. type: string
  18433. remark:
  18434. description: 备注
  18435. type: string
  18436. sessionid:
  18437. description: 会话ID
  18438. type: integer
  18439. timemaxvalue:
  18440. description: 配置单次最大转入限制
  18441. type: number
  18442. timemaxvalue2:
  18443. description: 配置单次最大转入限制(转入)
  18444. type: number
  18445. timeminvalue:
  18446. description: 配置单次最小数量限制
  18447. type: number
  18448. timeminvalue2:
  18449. description: 配置单次最小数量限制(转入)
  18450. type: number
  18451. tradedate:
  18452. description: 交易日(yyyyMMdd)
  18453. type: string
  18454. userid:
  18455. description: 用户ID
  18456. type: integer
  18457. required:
  18458. - logid
  18459. type: object
  18460. szdz.QueryGoodsPickupRsp:
  18461. properties:
  18462. accountid:
  18463. description: 账户ID
  18464. type: integer
  18465. address:
  18466. description: 提货人详细地址
  18467. type: string
  18468. auditer:
  18469. description: 审核人
  18470. type: integer
  18471. audittime:
  18472. description: 审核时间
  18473. type: string
  18474. cardnum:
  18475. description: 提货人证件号码
  18476. type: string
  18477. cardtypeid:
  18478. description: 提货人证件类型
  18479. type: integer
  18480. checkremark:
  18481. description: 审核备注
  18482. type: string
  18483. goodscode:
  18484. description: 商品代码
  18485. type: string
  18486. goodsid:
  18487. description: 商品ID
  18488. type: integer
  18489. goodsname:
  18490. description: 商品名称
  18491. type: string
  18492. handlestatus:
  18493. description: 处理状态
  18494. type: integer
  18495. marketid:
  18496. description: 市场ID
  18497. type: integer
  18498. phonenum:
  18499. description: 提货人联系方式
  18500. type: string
  18501. qty:
  18502. description: 提货数量
  18503. type: number
  18504. recivername:
  18505. description: 提货人姓名
  18506. type: string
  18507. reqtime:
  18508. description: 更新时间
  18509. type: string
  18510. takemode:
  18511. description: 提货方式 - 2:自提 3:配送
  18512. type: integer
  18513. takeorderid:
  18514. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  18515. type: string
  18516. takeorderstatus:
  18517. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  18518. type: integer
  18519. takeremark:
  18520. description: 提货备注
  18521. type: string
  18522. tradedate:
  18523. description: 交易日(yyyyMMdd)
  18524. type: string
  18525. userid:
  18526. description: 用户ID
  18527. type: integer
  18528. required:
  18529. - takeorderid
  18530. type: object
  18531. szdz.QueryRecieptOrderRsp:
  18532. properties:
  18533. accountName:
  18534. description: 所属账号名称(已脱敏)
  18535. type: string
  18536. accountid:
  18537. description: 资金账号
  18538. type: integer
  18539. buyorsell:
  18540. description: 方向 - 0:买 1:卖
  18541. type: integer
  18542. enableqty:
  18543. description: 可摘数量
  18544. type: integer
  18545. goodscode:
  18546. description: 商品代码
  18547. type: string
  18548. goodsid:
  18549. description: 商品ID
  18550. type: integer
  18551. goodsname:
  18552. description: 商品名称
  18553. type: string
  18554. orderid:
  18555. description: 委托单号
  18556. type: string
  18557. orderprice:
  18558. description: 委托价格
  18559. type: number
  18560. ordertime:
  18561. description: 委托时间
  18562. type: string
  18563. tradedate:
  18564. description: 交易日(yyyyMMdd)
  18565. type: string
  18566. required:
  18567. - ordertime
  18568. type: object
  18569. szdz.QuerySZDZTradePositionRsp:
  18570. properties:
  18571. accountid:
  18572. description: 账号Id
  18573. type: integer
  18574. agreeunit:
  18575. description: 合约单位
  18576. type: number
  18577. averageprice:
  18578. description: 持仓均价
  18579. type: number
  18580. buyorsell:
  18581. description: 方向 - 0:买 1:卖
  18582. type: integer
  18583. closetotalqty:
  18584. description: 平仓总数量
  18585. type: integer
  18586. curholderamount:
  18587. description: 当前持仓总金额
  18588. type: number
  18589. curpositionqty:
  18590. description: 当前持仓总数量
  18591. type: integer
  18592. currencyid:
  18593. description: 报价货币ID
  18594. type: integer
  18595. curtdposition:
  18596. description: 期末今日头寸
  18597. type: integer
  18598. decimalplace:
  18599. description: 报价小数位
  18600. type: integer
  18601. enableqty:
  18602. description: 可用量
  18603. type: integer
  18604. fretdposition:
  18605. description: 冻结今日头寸
  18606. type: integer
  18607. frozenqty:
  18608. description: 持仓冻结数量
  18609. type: integer
  18610. goodscode:
  18611. description: 商品代码(内部)
  18612. type: string
  18613. goodsid:
  18614. description: 商品Id
  18615. type: integer
  18616. goodsname:
  18617. description: 商品名称
  18618. type: string
  18619. goodunit:
  18620. description: 报价单位
  18621. type: string
  18622. goodunitid:
  18623. description: 报价单位ID
  18624. type: integer
  18625. holderamount:
  18626. description: 期初持仓总金额
  18627. type: number
  18628. marketid:
  18629. description: 市场ID
  18630. type: integer
  18631. openreqqty:
  18632. description: 开仓申请数量
  18633. type: integer
  18634. opentotalqty:
  18635. description: 开仓总数量
  18636. type: integer
  18637. otherfrozenqty:
  18638. description: 持仓其他冻结数量(交割冻结)
  18639. type: integer
  18640. positionqty:
  18641. description: 期初持仓数量
  18642. type: integer
  18643. szdz3freezqty:
  18644. description: 尚志大宗转换冻结总数量
  18645. type: integer
  18646. tnqty:
  18647. description: T+N冻结总量
  18648. type: integer
  18649. tnusedqty:
  18650. description: T+N使用量
  18651. type: integer
  18652. trademode:
  18653. description: 交易模式
  18654. type: integer
  18655. usedmargin:
  18656. description: 占用保证金
  18657. type: number
  18658. type: object
  18659. taaccount.QueryAmountLogRsp:
  18660. properties:
  18661. OPERATETYPENAME:
  18662. description: 资金操作类型名称
  18663. type: string
  18664. accountid:
  18665. description: 资金账户ID
  18666. type: integer
  18667. agoodscode:
  18668. description: 竞拍商品代码
  18669. type: string
  18670. agoodsname:
  18671. description: 竞拍商品名称
  18672. type: string
  18673. amount:
  18674. description: 资金金额
  18675. type: number
  18676. amountadjusttype:
  18677. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  18678. type: integer
  18679. autoid:
  18680. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  18681. type: integer
  18682. balance:
  18683. description: 期初余额
  18684. type: number
  18685. businesscode:
  18686. description: 业务编号
  18687. type: integer
  18688. createtime:
  18689. description: 发生时间
  18690. type: string
  18691. currencyid:
  18692. description: 币种ID
  18693. type: integer
  18694. currentbalance:
  18695. description: 期末余额(变动后金额)
  18696. type: number
  18697. dgoodscode:
  18698. description: 交割商品代码
  18699. type: string
  18700. dgoodsname:
  18701. description: 交割商品名称
  18702. type: string
  18703. goodscode:
  18704. description: 商品代码
  18705. type: string
  18706. goodsid:
  18707. description: 商品ID
  18708. type: integer
  18709. goodsname:
  18710. description: 商品名称
  18711. type: string
  18712. marketid:
  18713. description: 市场ID
  18714. type: integer
  18715. marketname:
  18716. description: 市场名称
  18717. type: string
  18718. moneyticket:
  18719. description: 资金流水号:银行端流水号
  18720. type: integer
  18721. operatetype:
  18722. 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:营销收款
  18723. type: integer
  18724. relationorderid:
  18725. description: 关联单号
  18726. type: string
  18727. remark:
  18728. description: 备注
  18729. type: string
  18730. trademode:
  18731. description: 交易模式
  18732. type: integer
  18733. required:
  18734. - accountid
  18735. - amount
  18736. - amountadjusttype
  18737. - autoid
  18738. - balance
  18739. - createtime
  18740. - currentbalance
  18741. - operatetype
  18742. type: object
  18743. taaccount.QueryHisAmountLogRsp:
  18744. properties:
  18745. OPERATETYPENAME:
  18746. description: 资金操作类型名称
  18747. type: string
  18748. accountid:
  18749. description: 资金账户ID
  18750. type: integer
  18751. agoodscode:
  18752. description: 竞拍商品代码
  18753. type: string
  18754. agoodsname:
  18755. description: 竞拍商品名称
  18756. type: string
  18757. amount:
  18758. description: 资金金额
  18759. type: number
  18760. amountadjusttype:
  18761. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  18762. type: integer
  18763. autoid:
  18764. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  18765. type: integer
  18766. balance:
  18767. description: 期初余额
  18768. type: number
  18769. businesscode:
  18770. description: 业务编号
  18771. type: integer
  18772. createtime:
  18773. description: 发生时间
  18774. type: string
  18775. currencyid:
  18776. description: 币种ID
  18777. type: integer
  18778. currentbalance:
  18779. description: 期末余额(变动后金额)
  18780. type: number
  18781. dgoodscode:
  18782. description: 交割商品代码
  18783. type: string
  18784. dgoodsname:
  18785. description: 交割商品名称
  18786. type: string
  18787. goodscode:
  18788. description: 商品代码
  18789. type: string
  18790. goodsid:
  18791. description: 商品ID
  18792. type: integer
  18793. goodsname:
  18794. description: 商品名称
  18795. type: string
  18796. histradedate:
  18797. description: 历史交易日
  18798. type: string
  18799. isvaliddata:
  18800. description: 是否有效 - 0:无效 1:有效
  18801. type: integer
  18802. marketid:
  18803. description: 市场ID
  18804. type: integer
  18805. marketname:
  18806. description: 市场名称
  18807. type: string
  18808. moneyticket:
  18809. description: 资金流水号:银行端流水号
  18810. type: integer
  18811. operatetype:
  18812. 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:营销收款
  18813. type: integer
  18814. relationorderid:
  18815. description: 关联单号
  18816. type: string
  18817. remark:
  18818. description: 备注
  18819. type: string
  18820. trademode:
  18821. description: 交易模式
  18822. type: integer
  18823. required:
  18824. - accountid
  18825. - amount
  18826. - amountadjusttype
  18827. - autoid
  18828. - balance
  18829. - createtime
  18830. - currentbalance
  18831. - histradedate
  18832. - operatetype
  18833. type: object
  18834. trade.QueryRecieptOrderRsp:
  18835. properties:
  18836. accountName:
  18837. description: 所属账号名称(已脱敏)
  18838. type: string
  18839. accountid:
  18840. description: 资金账号
  18841. type: integer
  18842. buyorsell:
  18843. description: 方向 - 0:买 1:卖
  18844. type: integer
  18845. enableqty:
  18846. description: 可摘数量
  18847. type: integer
  18848. goodscode:
  18849. description: 商品代码
  18850. type: string
  18851. goodsid:
  18852. description: 商品ID
  18853. type: integer
  18854. goodsname:
  18855. description: 商品名称
  18856. type: string
  18857. orderid:
  18858. description: 委托单号
  18859. type: string
  18860. orderprice:
  18861. description: 委托价格
  18862. type: number
  18863. ordertime:
  18864. description: 委托时间
  18865. type: string
  18866. tradedate:
  18867. description: 交易日(yyyyMMdd)
  18868. type: string
  18869. required:
  18870. - ordertime
  18871. type: object
  18872. user.LoginQueryRsp:
  18873. properties:
  18874. areaRoles:
  18875. description: 所属角色信息
  18876. items:
  18877. $ref: '#/definitions/models.Arearole'
  18878. type: array
  18879. externalExchanges:
  18880. description: 外部交易所
  18881. items:
  18882. $ref: '#/definitions/models.Externalexchange'
  18883. type: array
  18884. goodsgroups:
  18885. description: 商品组
  18886. items:
  18887. $ref: '#/definitions/models.Goodsgroup'
  18888. type: array
  18889. loginAccount:
  18890. $ref: '#/definitions/models.Loginaccount'
  18891. description: 登录账号
  18892. markets:
  18893. description: 市场
  18894. items:
  18895. $ref: '#/definitions/models.Market'
  18896. type: array
  18897. systemParams:
  18898. description: 系统参数
  18899. items:
  18900. $ref: '#/definitions/models.Systemparam'
  18901. type: array
  18902. userAccount:
  18903. $ref: '#/definitions/models.Useraccount'
  18904. description: 用户账号
  18905. userInfo:
  18906. $ref: '#/definitions/models.Userinfo'
  18907. description: 用户信息
  18908. username:
  18909. description: 用户姓名
  18910. type: string
  18911. type: object
  18912. info:
  18913. contact: {}
  18914. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  18915. termsOfService: http://www.muchinfo.cn
  18916. title: MTP2.0 查询服务 API
  18917. version: "1.0"
  18918. paths:
  18919. /CPTrade/QueryCPTradeMyBidInfos:
  18920. get:
  18921. parameters:
  18922. - description: 资金账户
  18923. in: query
  18924. name: accountid
  18925. required: true
  18926. type: integer
  18927. - description: 预售市场ID
  18928. in: query
  18929. name: marketid
  18930. type: integer
  18931. - description: 预售商品ID
  18932. in: query
  18933. name: goodsid
  18934. type: integer
  18935. produces:
  18936. - application/json
  18937. responses:
  18938. "200":
  18939. description: OK
  18940. schema:
  18941. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  18942. "500":
  18943. description: Internal Server Error
  18944. schema:
  18945. $ref: '#/definitions/app.Response'
  18946. security:
  18947. - ApiKeyAuth: []
  18948. summary: 查询产能预售我的出价信息
  18949. tags:
  18950. - 产能预售
  18951. /CPTrade/QueryCPTradeOrderDetail:
  18952. get:
  18953. parameters:
  18954. - description: 预售商品ID
  18955. in: query
  18956. name: goodsid
  18957. type: integer
  18958. - description: 预售市场ID
  18959. in: query
  18960. name: marketid
  18961. type: integer
  18962. - description: 预售商品ID列表 - 格式:1,2,3
  18963. in: query
  18964. name: goodsids
  18965. type: string
  18966. produces:
  18967. - application/json
  18968. responses:
  18969. "200":
  18970. description: OK
  18971. schema:
  18972. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  18973. "500":
  18974. description: Internal Server Error
  18975. schema:
  18976. $ref: '#/definitions/app.Response'
  18977. security:
  18978. - ApiKeyAuth: []
  18979. summary: 查询产能预售委托单信息
  18980. tags:
  18981. - 产能预售
  18982. /CPTrade/QueryMyCPTradeGoods:
  18983. get:
  18984. parameters:
  18985. - description: 资金账户
  18986. in: query
  18987. name: accountid
  18988. required: true
  18989. type: integer
  18990. produces:
  18991. - application/json
  18992. responses:
  18993. "200":
  18994. description: OK
  18995. schema:
  18996. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  18997. "500":
  18998. description: Internal Server Error
  18999. schema:
  19000. $ref: '#/definitions/app.Response'
  19001. security:
  19002. - ApiKeyAuth: []
  19003. summary: 查询我的预售信息
  19004. tags:
  19005. - 产能预售
  19006. /CPTrade/QueryPositionCancel:
  19007. get:
  19008. parameters:
  19009. - description: 账户ID
  19010. in: query
  19011. name: userid
  19012. required: true
  19013. type: integer
  19014. - description: 注销ID
  19015. in: query
  19016. name: cancelid
  19017. type: integer
  19018. - description: 资金账户ID
  19019. in: query
  19020. name: accountid
  19021. type: integer
  19022. produces:
  19023. - application/json
  19024. responses:
  19025. "200":
  19026. description: OK
  19027. schema:
  19028. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  19029. "500":
  19030. description: Internal Server Error
  19031. schema:
  19032. $ref: '#/definitions/app.Response'
  19033. security:
  19034. - ApiKeyAuth: []
  19035. summary: 查询远期订单注销申请信息
  19036. tags:
  19037. - 产能预售
  19038. /CPTrade/QueryPreasleApply:
  19039. get:
  19040. parameters:
  19041. - description: 账户ID
  19042. in: query
  19043. name: userid
  19044. required: true
  19045. type: integer
  19046. - description: 申请ID
  19047. in: query
  19048. name: applyid
  19049. type: integer
  19050. - description: 资金账户ID
  19051. in: query
  19052. name: accountid
  19053. type: integer
  19054. produces:
  19055. - application/json
  19056. responses:
  19057. "200":
  19058. description: OK
  19059. schema:
  19060. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  19061. "500":
  19062. description: Internal Server Error
  19063. schema:
  19064. $ref: '#/definitions/app.Response'
  19065. security:
  19066. - ApiKeyAuth: []
  19067. summary: 查询产能预售申请信息
  19068. tags:
  19069. - 产能预售
  19070. /CPTrade/QueryPresaleGoodsEx:
  19071. get:
  19072. parameters:
  19073. - description: 预售商品ID
  19074. in: query
  19075. name: goodsid
  19076. type: integer
  19077. - description: 预售市场ID
  19078. in: query
  19079. name: marketid
  19080. type: integer
  19081. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  19082. in: query
  19083. name: presalemode
  19084. type: integer
  19085. - description: 预售商品ID列表 - 格式:1,2,3
  19086. in: query
  19087. name: goodsids
  19088. type: string
  19089. - description: 预售商品代码
  19090. in: query
  19091. name: goodscode
  19092. type: string
  19093. produces:
  19094. - application/json
  19095. responses:
  19096. "200":
  19097. description: OK
  19098. schema:
  19099. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  19100. "500":
  19101. description: Internal Server Error
  19102. schema:
  19103. $ref: '#/definitions/app.Response'
  19104. security:
  19105. - ApiKeyAuth: []
  19106. summary: 查询产能预售商品扩展信息
  19107. tags:
  19108. - 产能预售
  19109. /CPTrade/QueryUserGoodsData:
  19110. get:
  19111. parameters:
  19112. - description: 资金账户ID
  19113. in: query
  19114. name: accountid
  19115. required: true
  19116. type: integer
  19117. produces:
  19118. - application/json
  19119. responses:
  19120. "200":
  19121. description: OK
  19122. schema:
  19123. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  19124. "500":
  19125. description: Internal Server Error
  19126. schema:
  19127. $ref: '#/definitions/app.Response'
  19128. security:
  19129. - ApiKeyAuth: []
  19130. summary: 查询远期订单信息
  19131. tags:
  19132. - 产能预售
  19133. /Common/GetAllEnums:
  19134. get:
  19135. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  19136. parameters:
  19137. - description: 起始自增ID
  19138. in: query
  19139. name: autoid
  19140. type: integer
  19141. produces:
  19142. - application/json
  19143. responses:
  19144. "200":
  19145. description: OK
  19146. schema:
  19147. $ref: '#/definitions/models.Enumdicitem'
  19148. "500":
  19149. description: Internal Server Error
  19150. schema:
  19151. $ref: '#/definitions/app.Response'
  19152. summary: 获取所有枚举信息
  19153. tags:
  19154. - 通用服务
  19155. /Common/GetClientMenus:
  19156. get:
  19157. parameters:
  19158. - description: 登录账号
  19159. in: query
  19160. name: loginID
  19161. required: true
  19162. type: integer
  19163. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  19164. in: query
  19165. name: clientType
  19166. type: integer
  19167. - description: 分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台
  19168. in: query
  19169. name: name
  19170. type: string
  19171. produces:
  19172. - application/json
  19173. responses:
  19174. "200":
  19175. description: OK
  19176. schema:
  19177. items:
  19178. $ref: '#/definitions/common.ClientMenu'
  19179. type: array
  19180. "500":
  19181. description: Internal Server Error
  19182. schema:
  19183. $ref: '#/definitions/app.Response'
  19184. security:
  19185. - ApiKeyAuth: []
  19186. summary: 获取交易端菜单
  19187. tags:
  19188. - 通用服务
  19189. /Common/GetDivisions:
  19190. get:
  19191. produces:
  19192. - application/json
  19193. responses:
  19194. "200":
  19195. description: OK
  19196. schema:
  19197. $ref: '#/definitions/models.Division'
  19198. "500":
  19199. description: Internal Server Error
  19200. schema:
  19201. $ref: '#/definitions/app.Response'
  19202. summary: 查询区域信息
  19203. tags:
  19204. - 通用服务
  19205. /Common/GetPCWebMenus:
  19206. get:
  19207. parameters:
  19208. - description: 登录账号
  19209. in: query
  19210. name: loginID
  19211. required: true
  19212. type: integer
  19213. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  19214. in: query
  19215. name: name
  19216. type: string
  19217. produces:
  19218. - application/json
  19219. responses:
  19220. "200":
  19221. description: OK
  19222. schema:
  19223. items:
  19224. $ref: '#/definitions/common.PCWebMenu'
  19225. type: array
  19226. "500":
  19227. description: Internal Server Error
  19228. schema:
  19229. $ref: '#/definitions/app.Response'
  19230. security:
  19231. - ApiKeyAuth: []
  19232. summary: 获取PCWeb交易端菜单
  19233. tags:
  19234. - 通用服务
  19235. /Common/GetServerTime:
  19236. get:
  19237. produces:
  19238. - application/json
  19239. responses:
  19240. "200":
  19241. description: OK
  19242. schema:
  19243. $ref: '#/definitions/app.Response'
  19244. "500":
  19245. description: Internal Server Error
  19246. schema:
  19247. $ref: '#/definitions/app.Response'
  19248. summary: 获取服务器时间
  19249. tags:
  19250. - 通用服务
  19251. /Common/NoticeReaded:
  19252. post:
  19253. parameters:
  19254. - description: 登录账号
  19255. in: query
  19256. name: loginID
  19257. required: true
  19258. type: integer
  19259. - description: 通知公告ID
  19260. in: query
  19261. name: noticeID
  19262. required: true
  19263. type: integer
  19264. produces:
  19265. - application/json
  19266. responses:
  19267. "200":
  19268. description: OK
  19269. schema:
  19270. $ref: '#/definitions/app.Response'
  19271. "500":
  19272. description: Internal Server Error
  19273. schema:
  19274. $ref: '#/definitions/app.Response'
  19275. security:
  19276. - ApiKeyAuth: []
  19277. summary: 通知公告设置已读请求
  19278. tags:
  19279. - 通用服务
  19280. /Common/QueryErrorInfos:
  19281. get:
  19282. description: 如果传入rowNumber,则返回此rowNumber后的数据
  19283. parameters:
  19284. - description: 起始行号前索引
  19285. in: query
  19286. name: rowNumber
  19287. type: string
  19288. produces:
  19289. - application/json
  19290. responses:
  19291. "200":
  19292. description: OK
  19293. schema:
  19294. $ref: '#/definitions/models.QueryErrorInfosRsp'
  19295. "500":
  19296. description: Internal Server Error
  19297. schema:
  19298. $ref: '#/definitions/app.Response'
  19299. summary: 获取数据库错误信息
  19300. tags:
  19301. - 通用服务
  19302. /Common/QueryImageConfigs:
  19303. get:
  19304. parameters:
  19305. - description: 用户id
  19306. in: query
  19307. name: userId
  19308. type: integer
  19309. - description: 类型 - 1:App首页轮播 2:我的
  19310. in: query
  19311. name: imageType
  19312. type: integer
  19313. produces:
  19314. - application/json
  19315. responses:
  19316. "200":
  19317. description: OK
  19318. schema:
  19319. $ref: '#/definitions/common.QueryImageConfigsRsp'
  19320. "500":
  19321. description: Internal Server Error
  19322. schema:
  19323. $ref: '#/definitions/app.Response'
  19324. summary: 查询轮播图配置信息
  19325. tags:
  19326. - 通用服务
  19327. /Common/QueryNotice:
  19328. get:
  19329. parameters:
  19330. - description: 页码
  19331. in: query
  19332. name: page
  19333. type: integer
  19334. - description: 每页条数
  19335. in: query
  19336. name: pagesize
  19337. type: integer
  19338. - description: 登录账号
  19339. in: query
  19340. name: loginID
  19341. required: true
  19342. type: integer
  19343. - description: 消息类型 - 1:公告通知 2:系统消息
  19344. in: query
  19345. name: msgType
  19346. type: integer
  19347. - description: 是否只获取未读信息
  19348. in: query
  19349. name: onlyUnRead
  19350. type: boolean
  19351. - description: 自增ID,传入后会返回这个ID后面的记录
  19352. in: query
  19353. name: lastID
  19354. type: integer
  19355. produces:
  19356. - application/json
  19357. responses:
  19358. "200":
  19359. description: OK
  19360. schema:
  19361. $ref: '#/definitions/common.QueryNoticeRsp'
  19362. "500":
  19363. description: Internal Server Error
  19364. schema:
  19365. $ref: '#/definitions/app.Response'
  19366. security:
  19367. - ApiKeyAuth: []
  19368. summary: 通知公告系统消息查询
  19369. tags:
  19370. - 通用服务
  19371. /Common/QueryProvincesAndCities:
  19372. get:
  19373. parameters:
  19374. - description: 省ID
  19375. in: query
  19376. name: provinceID
  19377. type: integer
  19378. produces:
  19379. - application/json
  19380. responses:
  19381. "200":
  19382. description: OK
  19383. schema:
  19384. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  19385. "500":
  19386. description: Internal Server Error
  19387. schema:
  19388. $ref: '#/definitions/app.Response'
  19389. summary: 查询省市信息(不包括区)
  19390. tags:
  19391. - 通用服务
  19392. /Common/QueryTableDefine:
  19393. get:
  19394. parameters:
  19395. - description: 表key
  19396. in: query
  19397. name: tableKey
  19398. type: string
  19399. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  19400. in: query
  19401. name: tableType
  19402. type: integer
  19403. produces:
  19404. - application/json
  19405. responses:
  19406. "200":
  19407. description: OK
  19408. schema:
  19409. $ref: '#/definitions/common.QueryTableDefineRsp'
  19410. "500":
  19411. description: Internal Server Error
  19412. schema:
  19413. $ref: '#/definitions/app.Response'
  19414. summary: 查询交易端列表头信息
  19415. tags:
  19416. - 通用服务
  19417. /Common/QueryTraderMenu:
  19418. get:
  19419. parameters:
  19420. - description: 登录账号
  19421. in: query
  19422. name: loginid
  19423. required: true
  19424. type: integer
  19425. produces:
  19426. - application/json
  19427. responses:
  19428. "200":
  19429. description: OK
  19430. schema:
  19431. $ref: '#/definitions/common.QueryTraderMenuRsp'
  19432. "500":
  19433. description: Internal Server Error
  19434. schema:
  19435. $ref: '#/definitions/app.Response'
  19436. summary: 查询交易端菜单
  19437. tags:
  19438. - 通用服务
  19439. /Delivery/QueryDeliveryRelation:
  19440. get:
  19441. parameters:
  19442. - description: 商品ID
  19443. in: query
  19444. name: goodsid
  19445. type: integer
  19446. - description: 品种ID
  19447. in: query
  19448. name: deliverygoodsid
  19449. type: integer
  19450. - description: 市场ID
  19451. in: query
  19452. name: marketid
  19453. type: integer
  19454. produces:
  19455. - application/json
  19456. responses:
  19457. "200":
  19458. description: OK
  19459. schema:
  19460. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  19461. "500":
  19462. description: Internal Server Error
  19463. schema:
  19464. $ref: '#/definitions/app.Response'
  19465. security:
  19466. - ApiKeyAuth: []
  19467. summary: 查询商品交割关系表
  19468. tags:
  19469. - 交割服务
  19470. /Ermcp/GetErmcpGoods:
  19471. get:
  19472. parameters:
  19473. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  19474. in: query
  19475. name: lastUpdateTime
  19476. type: string
  19477. produces:
  19478. - application/json
  19479. responses:
  19480. "200":
  19481. description: OK
  19482. schema:
  19483. $ref: '#/definitions/models.ErmcpGoods'
  19484. "500":
  19485. description: Internal Server Error
  19486. schema:
  19487. $ref: '#/definitions/app.Response'
  19488. security:
  19489. - ApiKeyAuth: []
  19490. summary: 查询企业风管期货商品信息
  19491. tags:
  19492. - 企业风险管理(app)
  19493. /Ermcp/GetErmcpGoodsSortByPosition:
  19494. get:
  19495. parameters:
  19496. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  19497. in: query
  19498. name: sortIndex
  19499. type: string
  19500. produces:
  19501. - application/json
  19502. responses:
  19503. "200":
  19504. description: OK
  19505. schema:
  19506. $ref: '#/definitions/models.Goodssortbypreposition'
  19507. "500":
  19508. description: Internal Server Error
  19509. schema:
  19510. $ref: '#/definitions/app.Response'
  19511. security:
  19512. - ApiKeyAuth: []
  19513. summary: 查询企业风管期货主力、次主力商品信息
  19514. tags:
  19515. - 企业风险管理(app)
  19516. /Ermcp/GetErmcpOutAccountStatus:
  19517. get:
  19518. parameters:
  19519. - description: 登录账号
  19520. in: query
  19521. name: loginID
  19522. required: true
  19523. type: integer
  19524. produces:
  19525. - application/json
  19526. responses:
  19527. "200":
  19528. description: OK
  19529. schema:
  19530. $ref: '#/definitions/models.Hedgemarketopenlog'
  19531. "500":
  19532. description: Internal Server Error
  19533. schema:
  19534. $ref: '#/definitions/app.Response'
  19535. security:
  19536. - ApiKeyAuth: []
  19537. summary: 获取目标登录账号当前对冲账号在线状态
  19538. tags:
  19539. - 企业风险管理(app)
  19540. /Ermcp/GetErmcpRoleFuncMenuLists:
  19541. get:
  19542. parameters:
  19543. - description: 登录账号
  19544. in: query
  19545. name: loginID
  19546. required: true
  19547. type: integer
  19548. produces:
  19549. - application/json
  19550. responses:
  19551. "200":
  19552. description: OK
  19553. schema:
  19554. $ref: '#/definitions/models.Funcmenulist'
  19555. "500":
  19556. description: Internal Server Error
  19557. schema:
  19558. $ref: '#/definitions/app.Response'
  19559. security:
  19560. - ApiKeyAuth: []
  19561. summary: 获取企业风管终端权限
  19562. tags:
  19563. - 企业风险管理(app)
  19564. /Ermcp/QueryAccMgrBizGroupSet:
  19565. get:
  19566. parameters:
  19567. - description: 用户ID
  19568. in: query
  19569. name: userid
  19570. required: true
  19571. type: integer
  19572. - description: 现货商品id
  19573. in: query
  19574. name: deliverygoodsid
  19575. type: integer
  19576. produces:
  19577. - application/json
  19578. responses:
  19579. "200":
  19580. description: OK
  19581. schema:
  19582. items:
  19583. $ref: '#/definitions/models.ErmcpBizGroupEx'
  19584. type: array
  19585. "500":
  19586. description: Internal Server Error
  19587. schema:
  19588. $ref: '#/definitions/app.Response'
  19589. security:
  19590. - ApiKeyAuth: []
  19591. summary: 查询业务类型分组(账户管理/账户设置)
  19592. tags:
  19593. - 企业风险管理(app)
  19594. /Ermcp/QueryAccMgrLoginUser:
  19595. get:
  19596. parameters:
  19597. - description: 用户ID
  19598. in: query
  19599. name: userid
  19600. required: true
  19601. type: integer
  19602. - description: 用户类型 2-机构 7-企业成员
  19603. in: query
  19604. name: usertype
  19605. type: integer
  19606. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  19607. in: query
  19608. name: querytype
  19609. required: true
  19610. type: integer
  19611. produces:
  19612. - application/json
  19613. responses:
  19614. "200":
  19615. description: OK
  19616. schema:
  19617. items:
  19618. $ref: '#/definitions/models.ErmcpLoginUserEx'
  19619. type: array
  19620. "500":
  19621. description: Internal Server Error
  19622. schema:
  19623. $ref: '#/definitions/app.Response'
  19624. security:
  19625. - ApiKeyAuth: []
  19626. summary: 查询账户管理登录账号(账户管理/登录账号)
  19627. tags:
  19628. - 企业风险管理(app)
  19629. /Ermcp/QueryAccMgrMainAccountInfo:
  19630. get:
  19631. parameters:
  19632. - description: 用户ID
  19633. in: query
  19634. name: userid
  19635. type: integer
  19636. - description: 主账号id
  19637. in: query
  19638. name: accountid
  19639. type: integer
  19640. produces:
  19641. - application/json
  19642. responses:
  19643. "200":
  19644. description: OK
  19645. schema:
  19646. items:
  19647. $ref: '#/definitions/models.MainAccountInfo'
  19648. type: array
  19649. "500":
  19650. description: Internal Server Error
  19651. schema:
  19652. $ref: '#/definitions/app.Response'
  19653. security:
  19654. - ApiKeyAuth: []
  19655. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  19656. tags:
  19657. - 企业风险管理(app)
  19658. /Ermcp/QueryAccMgrRole:
  19659. get:
  19660. parameters:
  19661. - description: 用户ID
  19662. in: query
  19663. name: userid
  19664. required: true
  19665. type: integer
  19666. produces:
  19667. - application/json
  19668. responses:
  19669. "200":
  19670. description: OK
  19671. schema:
  19672. items:
  19673. $ref: '#/definitions/models.ErmcpRole'
  19674. type: array
  19675. "500":
  19676. description: Internal Server Error
  19677. schema:
  19678. $ref: '#/definitions/app.Response'
  19679. security:
  19680. - ApiKeyAuth: []
  19681. summary: 查询账户管理角色设置(账户管理/角色设置)
  19682. tags:
  19683. - 企业风险管理(app)
  19684. /Ermcp/QueryAccMgrRoleMenu:
  19685. get:
  19686. parameters:
  19687. - description: 用户ID
  19688. in: query
  19689. name: userid
  19690. required: true
  19691. type: integer
  19692. - description: 角色id(可多个,逗号隔开)
  19693. in: query
  19694. name: roleid
  19695. type: string
  19696. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  19697. in: query
  19698. name: menutype
  19699. type: integer
  19700. produces:
  19701. - application/json
  19702. responses:
  19703. "200":
  19704. description: OK
  19705. schema:
  19706. items:
  19707. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  19708. type: array
  19709. "500":
  19710. description: Internal Server Error
  19711. schema:
  19712. $ref: '#/definitions/app.Response'
  19713. security:
  19714. - ApiKeyAuth: []
  19715. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  19716. tags:
  19717. - 企业风险管理(app)
  19718. /Ermcp/QueryAccMgrTaAccountInfo:
  19719. get:
  19720. parameters:
  19721. - description: 用户ID
  19722. in: query
  19723. name: userid
  19724. required: true
  19725. type: integer
  19726. - description: 账号id
  19727. in: query
  19728. name: accountid
  19729. type: integer
  19730. produces:
  19731. - application/json
  19732. responses:
  19733. "200":
  19734. description: OK
  19735. schema:
  19736. items:
  19737. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  19738. type: array
  19739. "500":
  19740. description: Internal Server Error
  19741. schema:
  19742. $ref: '#/definitions/app.Response'
  19743. security:
  19744. - ApiKeyAuth: []
  19745. summary: 查询账户管理授信(账户管理/账户设置/授信)
  19746. tags:
  19747. - 企业风险管理(app)
  19748. /Ermcp/QueryAccMgrTaaccount:
  19749. get:
  19750. parameters:
  19751. - description: 用户ID
  19752. in: query
  19753. name: userid
  19754. required: true
  19755. type: integer
  19756. produces:
  19757. - application/json
  19758. responses:
  19759. "200":
  19760. description: OK
  19761. schema:
  19762. items:
  19763. $ref: '#/definitions/models.ErmcpTaAccountEx'
  19764. type: array
  19765. "500":
  19766. description: Internal Server Error
  19767. schema:
  19768. $ref: '#/definitions/app.Response'
  19769. security:
  19770. - ApiKeyAuth: []
  19771. summary: 查询账户管理期货账号(账户管理/期货账号)
  19772. tags:
  19773. - 企业风险管理(app)
  19774. /Ermcp/QueryAvaildGoodsGroup:
  19775. get:
  19776. parameters:
  19777. - description: 所属机构ID
  19778. in: query
  19779. name: userid
  19780. required: true
  19781. type: integer
  19782. produces:
  19783. - application/json
  19784. responses:
  19785. "200":
  19786. description: OK
  19787. schema:
  19788. items:
  19789. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  19790. type: array
  19791. "500":
  19792. description: Internal Server Error
  19793. schema:
  19794. $ref: '#/definitions/app.Response'
  19795. security:
  19796. - ApiKeyAuth: []
  19797. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  19798. tags:
  19799. - 企业风险管理(app)
  19800. /Ermcp/QueryBusinessDj:
  19801. get:
  19802. parameters:
  19803. - description: 用户ID
  19804. in: query
  19805. name: UserId
  19806. required: true
  19807. type: integer
  19808. - description: 用户类型 2-机构 7-企业成员
  19809. in: query
  19810. name: usertype
  19811. type: integer
  19812. - description: 现货合同ID, 不填则查所有
  19813. in: query
  19814. name: relatedid
  19815. type: string
  19816. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19817. in: query
  19818. name: applystatus
  19819. type: string
  19820. produces:
  19821. - application/json
  19822. responses:
  19823. "200":
  19824. description: OK
  19825. schema:
  19826. items:
  19827. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  19828. type: array
  19829. "500":
  19830. description: Internal Server Error
  19831. schema:
  19832. $ref: '#/definitions/app.Response'
  19833. security:
  19834. - ApiKeyAuth: []
  19835. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  19836. tags:
  19837. - 企业风险管理(app)
  19838. /Ermcp/QueryBusinessFp:
  19839. get:
  19840. parameters:
  19841. - description: 用户ID
  19842. in: query
  19843. name: UserId
  19844. required: true
  19845. type: integer
  19846. - description: 用户类型 2-机构 7-企业成员
  19847. in: query
  19848. name: usertype
  19849. type: integer
  19850. - description: 现货合同ID, 不填则查所有
  19851. in: query
  19852. name: relatedid
  19853. type: string
  19854. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19855. in: query
  19856. name: applystatus
  19857. type: string
  19858. produces:
  19859. - application/json
  19860. responses:
  19861. "200":
  19862. description: OK
  19863. schema:
  19864. items:
  19865. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  19866. type: array
  19867. "500":
  19868. description: Internal Server Error
  19869. schema:
  19870. $ref: '#/definitions/app.Response'
  19871. security:
  19872. - ApiKeyAuth: []
  19873. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  19874. tags:
  19875. - 企业风险管理(app)
  19876. /Ermcp/QueryBusinessJs:
  19877. get:
  19878. parameters:
  19879. - description: 用户ID
  19880. in: query
  19881. name: UserId
  19882. required: true
  19883. type: integer
  19884. - description: 用户类型 2-机构 7-企业成员
  19885. in: query
  19886. name: usertype
  19887. type: integer
  19888. - description: 现货合同ID, 不填则查所有
  19889. in: query
  19890. name: relatedid
  19891. type: string
  19892. - description: 操作申请id
  19893. in: query
  19894. name: operateapplyid
  19895. type: string
  19896. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19897. in: query
  19898. name: applystatus
  19899. type: string
  19900. produces:
  19901. - application/json
  19902. responses:
  19903. "200":
  19904. description: OK
  19905. schema:
  19906. items:
  19907. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  19908. type: array
  19909. "500":
  19910. description: Internal Server Error
  19911. schema:
  19912. $ref: '#/definitions/app.Response'
  19913. security:
  19914. - ApiKeyAuth: []
  19915. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  19916. tags:
  19917. - 企业风险管理(app)
  19918. /Ermcp/QueryBusinessJsEx:
  19919. get:
  19920. parameters:
  19921. - description: 用户ID
  19922. in: query
  19923. name: UserId
  19924. required: true
  19925. type: integer
  19926. - description: 用户类型 2-机构 7-企业成员
  19927. in: query
  19928. name: usertype
  19929. type: integer
  19930. - description: 现货合同ID, 不填则查所有
  19931. in: query
  19932. name: relatedid
  19933. type: string
  19934. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19935. in: query
  19936. name: applystatus
  19937. type: string
  19938. produces:
  19939. - application/json
  19940. responses:
  19941. "200":
  19942. description: OK
  19943. schema:
  19944. items:
  19945. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  19946. type: array
  19947. "500":
  19948. description: Internal Server Error
  19949. schema:
  19950. $ref: '#/definitions/app.Response'
  19951. security:
  19952. - ApiKeyAuth: []
  19953. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  19954. tags:
  19955. - 企业风险管理(app)
  19956. /Ermcp/QueryBusinessKx:
  19957. get:
  19958. parameters:
  19959. - description: 用户ID
  19960. in: query
  19961. name: UserId
  19962. required: true
  19963. type: integer
  19964. - description: 用户类型 2-机构 7-企业成员
  19965. in: query
  19966. name: usertype
  19967. type: integer
  19968. - description: 现货合同ID, 不填则查所有
  19969. in: query
  19970. name: relatedid
  19971. type: string
  19972. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19973. in: query
  19974. name: applystatus
  19975. type: string
  19976. produces:
  19977. - application/json
  19978. responses:
  19979. "200":
  19980. description: OK
  19981. schema:
  19982. items:
  19983. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  19984. type: array
  19985. "500":
  19986. description: Internal Server Error
  19987. schema:
  19988. $ref: '#/definitions/app.Response'
  19989. security:
  19990. - ApiKeyAuth: []
  19991. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  19992. tags:
  19993. - 企业风险管理(app)
  19994. /Ermcp/QueryChangeLog:
  19995. get:
  19996. parameters:
  19997. - description: 合同ID
  19998. in: query
  19999. name: RelatedId
  20000. required: true
  20001. type: string
  20002. produces:
  20003. - application/json
  20004. responses:
  20005. "200":
  20006. description: OK
  20007. schema:
  20008. items:
  20009. $ref: '#/definitions/ermcp.QryOPLogRsp'
  20010. type: array
  20011. "500":
  20012. description: Internal Server Error
  20013. schema:
  20014. $ref: '#/definitions/app.Response'
  20015. security:
  20016. - ApiKeyAuth: []
  20017. summary: 查询变更记录
  20018. tags:
  20019. - 企业风险管理(app)
  20020. /Ermcp/QueryErmcpHisOrderDetails:
  20021. get:
  20022. parameters:
  20023. - description: 资金账户ID
  20024. in: query
  20025. name: accountID
  20026. required: true
  20027. type: integer
  20028. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  20029. in: query
  20030. name: startDate
  20031. type: string
  20032. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  20033. in: query
  20034. name: endDate
  20035. type: string
  20036. produces:
  20037. - application/json
  20038. responses:
  20039. "200":
  20040. description: OK
  20041. schema:
  20042. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  20043. "500":
  20044. description: Internal Server Error
  20045. schema:
  20046. $ref: '#/definitions/app.Response'
  20047. security:
  20048. - ApiKeyAuth: []
  20049. summary: 获取企业风管期货历史委托单信息
  20050. tags:
  20051. - 企业风险管理(app)
  20052. /Ermcp/QueryErmcpHisTradeDetails:
  20053. get:
  20054. parameters:
  20055. - description: 资金账户ID
  20056. in: query
  20057. name: accountID
  20058. required: true
  20059. type: integer
  20060. - description: 商品ID
  20061. in: query
  20062. name: goodsID
  20063. type: integer
  20064. - description: 买卖方向,0:买 1:卖
  20065. in: query
  20066. name: buyOrSell
  20067. type: integer
  20068. - description: 关联委托单号
  20069. in: query
  20070. name: orderID
  20071. type: integer
  20072. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  20073. in: query
  20074. name: startDate
  20075. type: string
  20076. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  20077. in: query
  20078. name: endDate
  20079. type: string
  20080. produces:
  20081. - application/json
  20082. responses:
  20083. "200":
  20084. description: OK
  20085. schema:
  20086. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  20087. "500":
  20088. description: Internal Server Error
  20089. schema:
  20090. $ref: '#/definitions/app.Response'
  20091. security:
  20092. - ApiKeyAuth: []
  20093. summary: 获取企业风管期货历史成交单信息
  20094. tags:
  20095. - 企业风险管理(app)
  20096. /Ermcp/QueryErmcpInnerHolderDetails:
  20097. get:
  20098. parameters:
  20099. - description: 资金账户ID
  20100. in: query
  20101. name: accountID
  20102. required: true
  20103. type: integer
  20104. - description: 商品ID
  20105. in: query
  20106. name: goodsID
  20107. type: integer
  20108. - description: 买卖方向,0:买 1:卖
  20109. in: query
  20110. name: buyOrSell
  20111. type: integer
  20112. produces:
  20113. - application/json
  20114. responses:
  20115. "200":
  20116. description: OK
  20117. schema:
  20118. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  20119. "500":
  20120. description: Internal Server Error
  20121. schema:
  20122. $ref: '#/definitions/app.Response'
  20123. security:
  20124. - ApiKeyAuth: []
  20125. summary: 获取企业风管期货内部持仓单信息
  20126. tags:
  20127. - 企业风险管理(app)
  20128. /Ermcp/QueryErmcpOrderDetails:
  20129. get:
  20130. parameters:
  20131. - description: 资金账户ID
  20132. in: query
  20133. name: accountID
  20134. required: true
  20135. type: integer
  20136. produces:
  20137. - application/json
  20138. responses:
  20139. "200":
  20140. description: OK
  20141. schema:
  20142. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  20143. "500":
  20144. description: Internal Server Error
  20145. schema:
  20146. $ref: '#/definitions/app.Response'
  20147. security:
  20148. - ApiKeyAuth: []
  20149. summary: 获取企业风管期货委托单信息
  20150. tags:
  20151. - 企业风险管理(app)
  20152. /Ermcp/QueryErmcpTradeDetails:
  20153. get:
  20154. parameters:
  20155. - description: 资金账户ID
  20156. in: query
  20157. name: accountID
  20158. required: true
  20159. type: integer
  20160. - description: 商品ID
  20161. in: query
  20162. name: goodsID
  20163. type: integer
  20164. - description: 买卖方向,0:买 1:卖
  20165. in: query
  20166. name: buyOrSell
  20167. type: integer
  20168. - description: 关联委托单号
  20169. in: query
  20170. name: orderID
  20171. type: integer
  20172. produces:
  20173. - application/json
  20174. responses:
  20175. "200":
  20176. description: OK
  20177. schema:
  20178. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  20179. "500":
  20180. description: Internal Server Error
  20181. schema:
  20182. $ref: '#/definitions/app.Response'
  20183. security:
  20184. - ApiKeyAuth: []
  20185. summary: 获取企业风管期货成交单信息
  20186. tags:
  20187. - 企业风险管理(app)
  20188. /Ermcp/QueryErmcpTradePosition:
  20189. get:
  20190. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  20191. parameters:
  20192. - description: 资金账户ID
  20193. in: query
  20194. name: accountID
  20195. required: true
  20196. type: integer
  20197. - description: 所属市场ID
  20198. in: query
  20199. name: marketID
  20200. type: integer
  20201. produces:
  20202. - application/json
  20203. responses:
  20204. "200":
  20205. description: OK
  20206. schema:
  20207. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  20208. "500":
  20209. description: Internal Server Error
  20210. schema:
  20211. $ref: '#/definitions/app.Response'
  20212. security:
  20213. - ApiKeyAuth: []
  20214. summary: 获取企业风管期货持仓头寸信息
  20215. tags:
  20216. - 企业风险管理(app)
  20217. /Ermcp/QueryExposureDetail:
  20218. get:
  20219. parameters:
  20220. - description: 所属机构ID
  20221. in: query
  20222. name: areaUserId
  20223. required: true
  20224. type: integer
  20225. - description: 套保商品
  20226. in: query
  20227. name: middleGoodsId
  20228. required: true
  20229. type: integer
  20230. produces:
  20231. - application/json
  20232. responses:
  20233. "200":
  20234. description: OK
  20235. schema:
  20236. items:
  20237. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  20238. type: array
  20239. "500":
  20240. description: Internal Server Error
  20241. schema:
  20242. $ref: '#/definitions/app.Response'
  20243. security:
  20244. - ApiKeyAuth: []
  20245. summary: 查询敞口现货明细
  20246. tags:
  20247. - 企业风险管理(app)
  20248. /Ermcp/QueryExposureGoods:
  20249. get:
  20250. parameters:
  20251. - description: 套保商品id
  20252. in: query
  20253. name: middlegoodsid
  20254. required: true
  20255. type: integer
  20256. produces:
  20257. - application/json
  20258. responses:
  20259. "200":
  20260. description: OK
  20261. schema:
  20262. items:
  20263. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  20264. type: array
  20265. "500":
  20266. description: Internal Server Error
  20267. schema:
  20268. $ref: '#/definitions/app.Response'
  20269. security:
  20270. - ApiKeyAuth: []
  20271. summary: 查询敞口主力合约
  20272. tags:
  20273. - 企业风险管理(app)
  20274. /Ermcp/QueryExposureHedgePosition:
  20275. get:
  20276. parameters:
  20277. - description: 用户id
  20278. in: query
  20279. name: userid
  20280. required: true
  20281. type: integer
  20282. produces:
  20283. - application/json
  20284. responses:
  20285. "200":
  20286. description: OK
  20287. schema:
  20288. items:
  20289. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  20290. type: array
  20291. "500":
  20292. description: Internal Server Error
  20293. schema:
  20294. $ref: '#/definitions/app.Response'
  20295. security:
  20296. - ApiKeyAuth: []
  20297. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  20298. tags:
  20299. - 企业风险管理(app)
  20300. /Ermcp/QueryExposureHedgePositionDetail:
  20301. get:
  20302. parameters:
  20303. - description: 所属机构ID
  20304. in: query
  20305. name: userid
  20306. required: true
  20307. type: integer
  20308. - description: 商品id
  20309. in: query
  20310. name: goodsId
  20311. required: true
  20312. type: integer
  20313. produces:
  20314. - application/json
  20315. responses:
  20316. "200":
  20317. description: OK
  20318. schema:
  20319. items:
  20320. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  20321. type: array
  20322. "500":
  20323. description: Internal Server Error
  20324. schema:
  20325. $ref: '#/definitions/app.Response'
  20326. security:
  20327. - ApiKeyAuth: []
  20328. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  20329. tags:
  20330. - 企业风险管理(app)
  20331. /Ermcp/QueryExposureSpot:
  20332. get:
  20333. parameters:
  20334. - description: 所属机构ID
  20335. in: query
  20336. name: areaUserId
  20337. required: true
  20338. type: integer
  20339. produces:
  20340. - application/json
  20341. responses:
  20342. "200":
  20343. description: OK
  20344. schema:
  20345. items:
  20346. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  20347. type: array
  20348. "500":
  20349. description: Internal Server Error
  20350. schema:
  20351. $ref: '#/definitions/app.Response'
  20352. security:
  20353. - ApiKeyAuth: []
  20354. summary: 查询敞口现货头寸(敞口/现货头寸)
  20355. tags:
  20356. - 企业风险管理(app)
  20357. /Ermcp/QueryExposureSpotDetail:
  20358. get:
  20359. parameters:
  20360. - description: 所属机构ID
  20361. in: query
  20362. name: areaUserId
  20363. required: true
  20364. type: integer
  20365. - description: 现货品种ID
  20366. in: query
  20367. name: wrstandardId
  20368. required: true
  20369. type: integer
  20370. produces:
  20371. - application/json
  20372. responses:
  20373. "200":
  20374. description: OK
  20375. schema:
  20376. items:
  20377. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  20378. type: array
  20379. "500":
  20380. description: Internal Server Error
  20381. schema:
  20382. $ref: '#/definitions/app.Response'
  20383. security:
  20384. - ApiKeyAuth: []
  20385. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  20386. tags:
  20387. - 企业风险管理(app)
  20388. /Ermcp/QueryFuturesCompany:
  20389. get:
  20390. produces:
  20391. - application/json
  20392. responses:
  20393. "200":
  20394. description: OK
  20395. schema:
  20396. items:
  20397. $ref: '#/definitions/models.ErmcpFuturesCompany'
  20398. type: array
  20399. "500":
  20400. description: Internal Server Error
  20401. schema:
  20402. $ref: '#/definitions/app.Response'
  20403. security:
  20404. - ApiKeyAuth: []
  20405. summary: 查询期货公司
  20406. tags:
  20407. - 企业风险管理(app)
  20408. /Ermcp/QueryGGConvertConfig:
  20409. get:
  20410. parameters:
  20411. - description: 品种id(不填则查所有)
  20412. in: query
  20413. name: goodsgroupid
  20414. type: integer
  20415. produces:
  20416. - application/json
  20417. responses:
  20418. "200":
  20419. description: OK
  20420. schema:
  20421. items:
  20422. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  20423. type: array
  20424. "500":
  20425. description: Internal Server Error
  20426. schema:
  20427. $ref: '#/definitions/app.Response'
  20428. security:
  20429. - ApiKeyAuth: []
  20430. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  20431. tags:
  20432. - 企业风险管理(app)
  20433. /Ermcp/QueryGoodsBrand:
  20434. get:
  20435. parameters:
  20436. - description: 用户ID
  20437. in: query
  20438. name: userid
  20439. required: true
  20440. type: integer
  20441. - description: 现货商品ID
  20442. in: query
  20443. name: wrstandardid
  20444. type: integer
  20445. produces:
  20446. - application/json
  20447. responses:
  20448. "200":
  20449. description: OK
  20450. schema:
  20451. items:
  20452. $ref: '#/definitions/models.ErmcpGoodsBrand'
  20453. type: array
  20454. "500":
  20455. description: Internal Server Error
  20456. schema:
  20457. $ref: '#/definitions/app.Response'
  20458. security:
  20459. - ApiKeyAuth: []
  20460. summary: 查询商品品牌
  20461. tags:
  20462. - 企业风险管理(app)
  20463. /Ermcp/QueryGoodsModel:
  20464. get:
  20465. parameters:
  20466. - description: 用户ID
  20467. in: query
  20468. name: userid
  20469. required: true
  20470. type: integer
  20471. produces:
  20472. - application/json
  20473. responses:
  20474. "200":
  20475. description: OK
  20476. schema:
  20477. items:
  20478. $ref: '#/definitions/models.ErmcpGoodsModel'
  20479. type: array
  20480. "500":
  20481. description: Internal Server Error
  20482. schema:
  20483. $ref: '#/definitions/app.Response'
  20484. security:
  20485. - ApiKeyAuth: []
  20486. summary: 查询商品型号
  20487. tags:
  20488. - 企业风险管理(app)
  20489. /Ermcp/QueryHisExposure:
  20490. get:
  20491. parameters:
  20492. - description: 用户id
  20493. in: query
  20494. name: userid
  20495. required: true
  20496. type: integer
  20497. - description: 每个品种记录数
  20498. in: query
  20499. name: lastNum
  20500. required: true
  20501. type: integer
  20502. produces:
  20503. - application/json
  20504. responses:
  20505. "200":
  20506. description: OK
  20507. schema:
  20508. items:
  20509. $ref: '#/definitions/ermcp.HisExposureRsp'
  20510. type: array
  20511. "500":
  20512. description: Internal Server Error
  20513. schema:
  20514. $ref: '#/definitions/app.Response'
  20515. security:
  20516. - ApiKeyAuth: []
  20517. summary: 查询历史敞口(菜单:敞口/历史敞口)
  20518. tags:
  20519. - 企业风险管理(app)
  20520. /Ermcp/QueryMiddleGoods:
  20521. get:
  20522. parameters:
  20523. - description: 所属机构ID
  20524. in: query
  20525. name: userid
  20526. required: true
  20527. type: integer
  20528. - description: 状态 0-停用 1-正常
  20529. in: query
  20530. name: status
  20531. required: true
  20532. type: integer
  20533. produces:
  20534. - application/json
  20535. responses:
  20536. "200":
  20537. description: OK
  20538. schema:
  20539. items:
  20540. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  20541. type: array
  20542. "500":
  20543. description: Internal Server Error
  20544. schema:
  20545. $ref: '#/definitions/app.Response'
  20546. security:
  20547. - ApiKeyAuth: []
  20548. summary: 查询套保品种(菜单:套保品种)
  20549. tags:
  20550. - 企业风险管理(app)
  20551. /Ermcp/QueryMiddleGoodsChangeLog:
  20552. get:
  20553. parameters:
  20554. - description: 所属机构ID
  20555. in: query
  20556. name: userid
  20557. required: true
  20558. type: integer
  20559. - description: 套保品种id
  20560. in: query
  20561. name: middlegoodsid
  20562. required: true
  20563. type: integer
  20564. produces:
  20565. - application/json
  20566. responses:
  20567. "200":
  20568. description: OK
  20569. schema:
  20570. items:
  20571. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  20572. type: array
  20573. "500":
  20574. description: Internal Server Error
  20575. schema:
  20576. $ref: '#/definitions/app.Response'
  20577. security:
  20578. - ApiKeyAuth: []
  20579. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  20580. tags:
  20581. - 企业风险管理(app)
  20582. /Ermcp/QueryMiddleGoodsDetail:
  20583. get:
  20584. parameters:
  20585. - description: 所属机构ID
  20586. in: query
  20587. name: userid
  20588. required: true
  20589. type: integer
  20590. - description: 套保品种id
  20591. in: query
  20592. name: middlegoodsid
  20593. type: integer
  20594. produces:
  20595. - application/json
  20596. responses:
  20597. "200":
  20598. description: OK
  20599. schema:
  20600. items:
  20601. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  20602. type: array
  20603. "500":
  20604. description: Internal Server Error
  20605. schema:
  20606. $ref: '#/definitions/app.Response'
  20607. security:
  20608. - ApiKeyAuth: []
  20609. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  20610. tags:
  20611. - 企业风险管理(app)
  20612. /Ermcp/QueryPendingAuditInfo:
  20613. get:
  20614. parameters:
  20615. - description: 用户ID
  20616. in: query
  20617. name: UserId
  20618. required: true
  20619. type: integer
  20620. produces:
  20621. - application/json
  20622. responses:
  20623. "200":
  20624. description: OK
  20625. schema:
  20626. items:
  20627. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  20628. type: array
  20629. "500":
  20630. description: Internal Server Error
  20631. schema:
  20632. $ref: '#/definitions/app.Response'
  20633. security:
  20634. - ApiKeyAuth: []
  20635. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  20636. tags:
  20637. - 企业风险管理(app)
  20638. /Ermcp/QueryRealtimeExposure:
  20639. get:
  20640. parameters:
  20641. - description: 所属机构ID
  20642. in: query
  20643. name: userid
  20644. required: true
  20645. type: integer
  20646. produces:
  20647. - application/json
  20648. responses:
  20649. "200":
  20650. description: OK
  20651. schema:
  20652. items:
  20653. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  20654. type: array
  20655. "500":
  20656. description: Internal Server Error
  20657. schema:
  20658. $ref: '#/definitions/app.Response'
  20659. security:
  20660. - ApiKeyAuth: []
  20661. summary: 查询实时敞口
  20662. tags:
  20663. - 企业风险管理(app)
  20664. /Ermcp/QueryRealtimeExposurePosition:
  20665. get:
  20666. parameters:
  20667. - description: 用户id
  20668. in: query
  20669. name: userid
  20670. required: true
  20671. type: integer
  20672. - description: 套保商品ID
  20673. in: query
  20674. name: middleGoodsId
  20675. required: true
  20676. type: integer
  20677. produces:
  20678. - application/json
  20679. responses:
  20680. "200":
  20681. description: OK
  20682. schema:
  20683. items:
  20684. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  20685. type: array
  20686. "500":
  20687. description: Internal Server Error
  20688. schema:
  20689. $ref: '#/definitions/app.Response'
  20690. security:
  20691. - ApiKeyAuth: []
  20692. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  20693. tags:
  20694. - 企业风险管理(app)
  20695. /Ermcp/QueryRoleMenu:
  20696. get:
  20697. parameters:
  20698. - description: 登录ID
  20699. in: query
  20700. name: loginid
  20701. required: true
  20702. type: integer
  20703. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  20704. in: query
  20705. name: menutype
  20706. type: integer
  20707. produces:
  20708. - application/json
  20709. responses:
  20710. "200":
  20711. description: OK
  20712. schema:
  20713. items:
  20714. $ref: '#/definitions/models.RoleMenu'
  20715. type: array
  20716. "500":
  20717. description: Internal Server Error
  20718. schema:
  20719. $ref: '#/definitions/app.Response'
  20720. security:
  20721. - ApiKeyAuth: []
  20722. summary: 查询角色菜单和权限
  20723. tags:
  20724. - 企业风险管理(app)
  20725. /Ermcp/QueryTradeConfigTMP:
  20726. get:
  20727. parameters:
  20728. - description: 所属机构id
  20729. in: query
  20730. name: areauserid
  20731. type: integer
  20732. produces:
  20733. - application/json
  20734. responses:
  20735. "200":
  20736. description: OK
  20737. schema:
  20738. items:
  20739. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  20740. type: array
  20741. "500":
  20742. description: Internal Server Error
  20743. schema:
  20744. $ref: '#/definitions/app.Response'
  20745. security:
  20746. - ApiKeyAuth: []
  20747. summary: 查询交易模板配置
  20748. tags:
  20749. - 企业风险管理(app)
  20750. /Ermcp/QueryUserInfo:
  20751. get:
  20752. parameters:
  20753. - description: 所属机构用户ID
  20754. in: query
  20755. name: MemberUserID
  20756. required: true
  20757. type: integer
  20758. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  20759. in: query
  20760. name: queryType
  20761. required: true
  20762. type: integer
  20763. produces:
  20764. - application/json
  20765. responses:
  20766. "200":
  20767. description: OK
  20768. schema:
  20769. items:
  20770. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  20771. type: array
  20772. "500":
  20773. description: Internal Server Error
  20774. schema:
  20775. $ref: '#/definitions/app.Response'
  20776. security:
  20777. - ApiKeyAuth: []
  20778. summary: 查询客户资料
  20779. tags:
  20780. - 企业风险管理(app)
  20781. /Ermcp/QueryWarehouseInfo:
  20782. get:
  20783. parameters:
  20784. - description: 用户ID
  20785. in: query
  20786. name: userid
  20787. required: true
  20788. type: integer
  20789. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  20790. in: query
  20791. name: status
  20792. type: string
  20793. produces:
  20794. - application/json
  20795. responses:
  20796. "200":
  20797. description: OK
  20798. schema:
  20799. items:
  20800. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  20801. type: array
  20802. "500":
  20803. description: Internal Server Error
  20804. schema:
  20805. $ref: '#/definitions/app.Response'
  20806. security:
  20807. - ApiKeyAuth: []
  20808. summary: 查询仓库信息
  20809. tags:
  20810. - 企业风险管理(app)
  20811. /Ermcp3/QryAreaExpourseContractDetail:
  20812. get:
  20813. parameters:
  20814. - description: 用户ID
  20815. in: query
  20816. name: userid
  20817. required: true
  20818. type: integer
  20819. - description: 套保商品id
  20820. in: query
  20821. name: middlegoodsid
  20822. required: true
  20823. type: integer
  20824. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20825. in: query
  20826. name: cycletype
  20827. required: true
  20828. type: integer
  20829. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20830. in: query
  20831. name: cycletime
  20832. required: true
  20833. type: string
  20834. produces:
  20835. - application/json
  20836. responses:
  20837. "200":
  20838. description: OK
  20839. schema:
  20840. items:
  20841. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  20842. type: array
  20843. "500":
  20844. description: Internal Server Error
  20845. schema:
  20846. $ref: '#/definitions/app.Response'
  20847. security:
  20848. - ApiKeyAuth: []
  20849. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  20850. tags:
  20851. - 企业风险管理v3(app)
  20852. /Ermcp3/QryAreaExpourseFutuDetail:
  20853. get:
  20854. parameters:
  20855. - description: 用户ID
  20856. in: query
  20857. name: userid
  20858. required: true
  20859. type: integer
  20860. - description: 套保商品id
  20861. in: query
  20862. name: middlegoodsid
  20863. required: true
  20864. type: integer
  20865. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20866. in: query
  20867. name: cycletype
  20868. required: true
  20869. type: integer
  20870. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20871. in: query
  20872. name: cycletime
  20873. required: true
  20874. type: string
  20875. produces:
  20876. - application/json
  20877. responses:
  20878. "200":
  20879. description: OK
  20880. schema:
  20881. items:
  20882. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  20883. type: array
  20884. "500":
  20885. description: Internal Server Error
  20886. schema:
  20887. $ref: '#/definitions/app.Response'
  20888. security:
  20889. - ApiKeyAuth: []
  20890. summary: 查询敞口期货明细(敞口报表/期货明细)
  20891. tags:
  20892. - 企业风险管理v3(app)
  20893. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  20894. get:
  20895. parameters:
  20896. - description: 用户ID
  20897. in: query
  20898. name: userid
  20899. required: true
  20900. type: integer
  20901. - description: 套保商品id
  20902. in: query
  20903. name: middlegoodsid
  20904. required: true
  20905. type: integer
  20906. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20907. in: query
  20908. name: cycletype
  20909. required: true
  20910. type: integer
  20911. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20912. in: query
  20913. name: cycletime
  20914. required: true
  20915. type: string
  20916. produces:
  20917. - application/json
  20918. responses:
  20919. "200":
  20920. description: OK
  20921. schema:
  20922. items:
  20923. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  20924. type: array
  20925. "500":
  20926. description: Internal Server Error
  20927. schema:
  20928. $ref: '#/definitions/app.Response'
  20929. security:
  20930. - ApiKeyAuth: []
  20931. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  20932. tags:
  20933. - 企业风险管理v3(app)
  20934. /Ermcp3/QryAreaExpourseParamChLogDetail:
  20935. get:
  20936. parameters:
  20937. - description: 用户ID
  20938. in: query
  20939. name: userid
  20940. required: true
  20941. type: integer
  20942. - description: 套保商品id
  20943. in: query
  20944. name: middlegoodsid
  20945. required: true
  20946. type: integer
  20947. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20948. in: query
  20949. name: cycletype
  20950. required: true
  20951. type: integer
  20952. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20953. in: query
  20954. name: cycletime
  20955. required: true
  20956. type: string
  20957. produces:
  20958. - application/json
  20959. responses:
  20960. "200":
  20961. description: OK
  20962. schema:
  20963. items:
  20964. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  20965. type: array
  20966. "500":
  20967. description: Internal Server Error
  20968. schema:
  20969. $ref: '#/definitions/app.Response'
  20970. security:
  20971. - ApiKeyAuth: []
  20972. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  20973. tags:
  20974. - 企业风险管理v3(app)
  20975. /Ermcp3/QryAreaExpourseReport:
  20976. get:
  20977. parameters:
  20978. - description: 用户ID
  20979. in: query
  20980. name: userid
  20981. required: true
  20982. type: integer
  20983. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  20984. in: query
  20985. name: querytype
  20986. required: true
  20987. type: integer
  20988. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20989. in: query
  20990. name: cycletype
  20991. required: true
  20992. type: integer
  20993. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20994. in: query
  20995. name: cycletime
  20996. required: true
  20997. type: string
  20998. produces:
  20999. - application/json
  21000. responses:
  21001. "200":
  21002. description: OK
  21003. schema:
  21004. items:
  21005. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  21006. type: array
  21007. "500":
  21008. description: Internal Server Error
  21009. schema:
  21010. $ref: '#/definitions/app.Response'
  21011. security:
  21012. - ApiKeyAuth: []
  21013. summary: 查询敞口报表
  21014. tags:
  21015. - 企业风险管理v3(app)
  21016. /Ermcp3/QryAreaSpotplReport:
  21017. get:
  21018. parameters:
  21019. - description: 用户ID
  21020. in: query
  21021. name: userid
  21022. required: true
  21023. type: integer
  21024. - description: 查询类型 1-报表 2-报表明细
  21025. in: query
  21026. name: querytype
  21027. required: true
  21028. type: integer
  21029. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21030. in: query
  21031. name: cycletype
  21032. required: true
  21033. type: integer
  21034. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21035. in: query
  21036. name: cycletime
  21037. required: true
  21038. type: string
  21039. - description: 现货品种id(明细必填)
  21040. in: query
  21041. name: deliverygoodsid
  21042. type: integer
  21043. - description: 币种id(明细必填)
  21044. in: query
  21045. name: currencyid
  21046. type: integer
  21047. produces:
  21048. - application/json
  21049. responses:
  21050. "200":
  21051. description: OK
  21052. schema:
  21053. items:
  21054. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  21055. type: array
  21056. "500":
  21057. description: Internal Server Error
  21058. schema:
  21059. $ref: '#/definitions/app.Response'
  21060. security:
  21061. - ApiKeyAuth: []
  21062. summary: 查询现货报表
  21063. tags:
  21064. - 企业风险管理v3(app)
  21065. /Ermcp3/QryAreaStockReport:
  21066. get:
  21067. parameters:
  21068. - description: 用户ID
  21069. in: query
  21070. name: userid
  21071. required: true
  21072. type: integer
  21073. - description: 查询类型 1-报表 2-报表明细
  21074. in: query
  21075. name: querytype
  21076. required: true
  21077. type: integer
  21078. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21079. in: query
  21080. name: cycletype
  21081. required: true
  21082. type: integer
  21083. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21084. in: query
  21085. name: cycletime
  21086. required: true
  21087. type: string
  21088. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  21089. in: query
  21090. name: sumfields
  21091. type: string
  21092. - description: 品种ID
  21093. in: query
  21094. name: deliverygoodsid
  21095. type: integer
  21096. - description: 品类ID
  21097. in: query
  21098. name: wrstandardid
  21099. type: integer
  21100. - description: 品牌ID
  21101. in: query
  21102. name: spotgoodsbrandid
  21103. type: integer
  21104. - description: 仓库ID
  21105. in: query
  21106. name: warehouseinfoid
  21107. type: integer
  21108. produces:
  21109. - application/json
  21110. responses:
  21111. "200":
  21112. description: OK
  21113. schema:
  21114. items:
  21115. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  21116. type: array
  21117. "500":
  21118. description: Internal Server Error
  21119. schema:
  21120. $ref: '#/definitions/app.Response'
  21121. security:
  21122. - ApiKeyAuth: []
  21123. summary: 查询库存报表
  21124. tags:
  21125. - 企业风险管理v3(app)
  21126. /Ermcp3/QryAreaSumPL:
  21127. get:
  21128. parameters:
  21129. - description: 用户ID
  21130. in: query
  21131. name: userid
  21132. required: true
  21133. type: integer
  21134. - description: 查询类型 1-报表 2-报表明细
  21135. in: query
  21136. name: querytype
  21137. required: true
  21138. type: integer
  21139. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21140. in: query
  21141. name: cycletype
  21142. required: true
  21143. type: integer
  21144. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21145. in: query
  21146. name: cycletime
  21147. required: true
  21148. type: string
  21149. - description: 币种id(明细必填)
  21150. in: query
  21151. name: currencyid
  21152. type: integer
  21153. produces:
  21154. - application/json
  21155. responses:
  21156. "200":
  21157. description: OK
  21158. schema:
  21159. items:
  21160. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  21161. type: array
  21162. "500":
  21163. description: Internal Server Error
  21164. schema:
  21165. $ref: '#/definitions/app.Response'
  21166. security:
  21167. - ApiKeyAuth: []
  21168. summary: 查询汇总损益表
  21169. tags:
  21170. - 企业风险管理v3(app)
  21171. /Ermcp3/QryFinanceReport:
  21172. get:
  21173. parameters:
  21174. - description: 用户ID
  21175. in: query
  21176. name: userid
  21177. required: true
  21178. type: integer
  21179. - description: 查询类型 1-报表 2-报表明细
  21180. in: query
  21181. name: querytype
  21182. required: true
  21183. type: integer
  21184. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21185. in: query
  21186. name: cycletype
  21187. required: true
  21188. type: integer
  21189. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21190. in: query
  21191. name: cycletime
  21192. required: true
  21193. type: string
  21194. - description: 币种id(报表明细必填)
  21195. in: query
  21196. name: currencyid
  21197. type: integer
  21198. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  21199. in: query
  21200. name: sumfields
  21201. type: string
  21202. produces:
  21203. - application/json
  21204. responses:
  21205. "200":
  21206. description: OK
  21207. schema:
  21208. items:
  21209. $ref: '#/definitions/models.Ermcp3FinanceReport'
  21210. type: array
  21211. "500":
  21212. description: Internal Server Error
  21213. schema:
  21214. $ref: '#/definitions/app.Response'
  21215. security:
  21216. - ApiKeyAuth: []
  21217. summary: 查询财务报表
  21218. tags:
  21219. - 企业风险管理v3(app)
  21220. /Ermcp3/QrySCMiddleGoodsReport:
  21221. get:
  21222. parameters:
  21223. - description: 用户ID
  21224. in: query
  21225. name: userid
  21226. required: true
  21227. type: integer
  21228. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21229. in: query
  21230. name: cycletype
  21231. required: true
  21232. type: integer
  21233. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21234. in: query
  21235. name: cycletime
  21236. required: true
  21237. type: string
  21238. - description: 合同id
  21239. in: query
  21240. name: spotcontractid
  21241. type: integer
  21242. - description: 套保品种id
  21243. in: query
  21244. name: middlegoodsid
  21245. type: integer
  21246. - description: 现货品种id
  21247. in: query
  21248. name: deliverygoodsid
  21249. type: integer
  21250. - description: 现货商品id
  21251. in: query
  21252. name: wrstandardid
  21253. type: integer
  21254. - description: 合同编号(模糊匹配)
  21255. in: query
  21256. name: contractno
  21257. type: string
  21258. produces:
  21259. - application/json
  21260. responses:
  21261. "200":
  21262. description: OK
  21263. schema:
  21264. items:
  21265. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  21266. type: array
  21267. "500":
  21268. description: Internal Server Error
  21269. schema:
  21270. $ref: '#/definitions/app.Response'
  21271. security:
  21272. - ApiKeyAuth: []
  21273. summary: 查询定价报表
  21274. tags:
  21275. - 企业风险管理v3(app)
  21276. /Ermcp3/QryTaFutureDataReport:
  21277. get:
  21278. parameters:
  21279. - description: 用户ID
  21280. in: query
  21281. name: userid
  21282. required: true
  21283. type: integer
  21284. - description: 查询类型 1-报表 2-报表明细
  21285. in: query
  21286. name: querytype
  21287. required: true
  21288. type: integer
  21289. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21290. in: query
  21291. name: cycletype
  21292. required: true
  21293. type: integer
  21294. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21295. in: query
  21296. name: cycletime
  21297. required: true
  21298. type: string
  21299. - description: 币种id(查明细必填)
  21300. in: query
  21301. name: currencyid
  21302. type: integer
  21303. - description: 品种id(查明细必填)
  21304. in: query
  21305. name: goodsgroupid
  21306. type: integer
  21307. - description: 商品id(查明细必填)
  21308. in: query
  21309. name: goodsid
  21310. type: integer
  21311. - description: 买卖方向(查明细必填)
  21312. in: query
  21313. name: buyorsell
  21314. type: integer
  21315. produces:
  21316. - application/json
  21317. responses:
  21318. "200":
  21319. description: OK
  21320. schema:
  21321. items:
  21322. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  21323. type: array
  21324. "500":
  21325. description: Internal Server Error
  21326. schema:
  21327. $ref: '#/definitions/app.Response'
  21328. security:
  21329. - ApiKeyAuth: []
  21330. summary: 查询期货报表
  21331. tags:
  21332. - 企业风险管理v3(app)
  21333. /Ermcp3/QueryAreaStock:
  21334. get:
  21335. parameters:
  21336. - description: 用户ID
  21337. in: query
  21338. name: userid
  21339. required: true
  21340. type: integer
  21341. produces:
  21342. - application/json
  21343. responses:
  21344. "200":
  21345. description: OK
  21346. schema:
  21347. items:
  21348. $ref: '#/definitions/models.Ermcp3AreaStock'
  21349. type: array
  21350. "500":
  21351. description: Internal Server Error
  21352. schema:
  21353. $ref: '#/definitions/app.Response'
  21354. security:
  21355. - ApiKeyAuth: []
  21356. summary: 查询机构库存(库存管理/当前库存)
  21357. tags:
  21358. - 企业风险管理v3(app)
  21359. /Ermcp3/QueryAreaStockApply:
  21360. get:
  21361. parameters:
  21362. - description: 用户ID
  21363. in: query
  21364. name: userid
  21365. required: true
  21366. type: integer
  21367. - description: 用户类型 2-机构 7-企业成员
  21368. in: query
  21369. name: usertype
  21370. type: integer
  21371. - description: 现货商品ID
  21372. in: query
  21373. name: deliverygoodsid
  21374. type: integer
  21375. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  21376. in: query
  21377. name: inouttype
  21378. type: string
  21379. - description: 合同ID
  21380. in: query
  21381. name: spotcontractid
  21382. type: integer
  21383. - description: 品类ID
  21384. in: query
  21385. name: wrstandardid
  21386. type: integer
  21387. - description: 品牌ID
  21388. in: query
  21389. name: spotgoodsbrandid
  21390. type: integer
  21391. - description: 仓库ID
  21392. in: query
  21393. name: warehouseinfoid
  21394. type: integer
  21395. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21396. in: query
  21397. name: applystatus
  21398. type: string
  21399. produces:
  21400. - application/json
  21401. responses:
  21402. "200":
  21403. description: OK
  21404. schema:
  21405. items:
  21406. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  21407. type: array
  21408. "500":
  21409. description: Internal Server Error
  21410. schema:
  21411. $ref: '#/definitions/app.Response'
  21412. security:
  21413. - ApiKeyAuth: []
  21414. summary: 查询库存申请(出入库记录|库存审核)
  21415. tags:
  21416. - 企业风险管理v3(app)
  21417. /Ermcp3/QueryAreaStockApplySum:
  21418. get:
  21419. parameters:
  21420. - description: 合同ID
  21421. in: query
  21422. name: spotcontractid
  21423. required: true
  21424. type: integer
  21425. produces:
  21426. - application/json
  21427. responses:
  21428. "200":
  21429. description: OK
  21430. schema:
  21431. items:
  21432. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  21433. type: array
  21434. "500":
  21435. description: Internal Server Error
  21436. schema:
  21437. $ref: '#/definitions/app.Response'
  21438. security:
  21439. - ApiKeyAuth: []
  21440. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  21441. tags:
  21442. - 企业风险管理v3(app)
  21443. /Ermcp3/QueryDGFactoryItem:
  21444. get:
  21445. parameters:
  21446. - description: 用户id
  21447. in: query
  21448. name: userid
  21449. type: integer
  21450. - description: 用户类型 2-机构 7-企业成员
  21451. in: query
  21452. name: usertype
  21453. type: integer
  21454. - description: 选择项ID(SEQ_DGFACTORYITEM)
  21455. in: query
  21456. name: dgfactoryitemid
  21457. type: integer
  21458. - description: 现货品种ID
  21459. in: query
  21460. name: deliverygoodsid
  21461. type: integer
  21462. - description: 要素项类型
  21463. in: query
  21464. name: dgfactoryitemtypeid
  21465. type: integer
  21466. - description: 顺序
  21467. in: query
  21468. name: orderindex
  21469. type: integer
  21470. produces:
  21471. - application/json
  21472. responses:
  21473. "200":
  21474. description: OK
  21475. schema:
  21476. items:
  21477. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  21478. type: array
  21479. "500":
  21480. description: Internal Server Error
  21481. schema:
  21482. $ref: '#/definitions/app.Response'
  21483. security:
  21484. - ApiKeyAuth: []
  21485. summary: 查询品种要素定义项
  21486. tags:
  21487. - 企业风险管理v3(app)
  21488. /Ermcp3/QueryDeliveryGoods:
  21489. get:
  21490. parameters:
  21491. - description: 用户id
  21492. in: query
  21493. name: userid
  21494. required: true
  21495. type: integer
  21496. - description: 用户类型 2-机构 7-企业成员
  21497. in: query
  21498. name: usertype
  21499. type: integer
  21500. - description: 排除已配置的业务类型商品 1-套保 2-套利
  21501. in: query
  21502. name: excludecfg
  21503. type: integer
  21504. produces:
  21505. - application/json
  21506. responses:
  21507. "200":
  21508. description: OK
  21509. schema:
  21510. items:
  21511. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  21512. type: array
  21513. "500":
  21514. description: Internal Server Error
  21515. schema:
  21516. $ref: '#/definitions/app.Response'
  21517. security:
  21518. - ApiKeyAuth: []
  21519. summary: 查询现货商品
  21520. tags:
  21521. - 企业风险管理v3(app)
  21522. /Ermcp3/QueryDeliveryGoodsDetail:
  21523. get:
  21524. parameters:
  21525. - description: 用户id
  21526. in: query
  21527. name: userid
  21528. required: true
  21529. type: integer
  21530. - description: 用户类型 2-机构 7-企业成员
  21531. in: query
  21532. name: usertype
  21533. type: integer
  21534. - description: 现货商品id
  21535. in: query
  21536. name: deliverygoodsid
  21537. type: integer
  21538. produces:
  21539. - application/json
  21540. responses:
  21541. "200":
  21542. description: OK
  21543. schema:
  21544. items:
  21545. $ref: '#/definitions/models.XHDeliveryGoods'
  21546. type: array
  21547. "500":
  21548. description: Internal Server Error
  21549. schema:
  21550. $ref: '#/definitions/app.Response'
  21551. security:
  21552. - ApiKeyAuth: []
  21553. summary: 查询现货商品详情
  21554. tags:
  21555. - 企业风险管理v3(app)
  21556. /Ermcp3/QueryExposureDetail:
  21557. get:
  21558. parameters:
  21559. - description: 用户id
  21560. in: query
  21561. name: userid
  21562. required: true
  21563. type: integer
  21564. - description: 用户类型 2-机构 7-企业成员
  21565. in: query
  21566. name: usertype
  21567. type: integer
  21568. - description: 套保商品
  21569. in: query
  21570. name: middlegoodsid
  21571. required: true
  21572. type: integer
  21573. produces:
  21574. - application/json
  21575. responses:
  21576. "200":
  21577. description: OK
  21578. schema:
  21579. items:
  21580. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  21581. type: array
  21582. "500":
  21583. description: Internal Server Error
  21584. schema:
  21585. $ref: '#/definitions/app.Response'
  21586. security:
  21587. - ApiKeyAuth: []
  21588. summary: 查询敞口现货明细
  21589. tags:
  21590. - 企业风险管理v3(app)
  21591. /Ermcp3/QueryExposureSpot:
  21592. get:
  21593. parameters:
  21594. - description: 用户id
  21595. in: query
  21596. name: userid
  21597. required: true
  21598. type: integer
  21599. - description: 用户类型 2-机构 7-企业成员
  21600. in: query
  21601. name: usertype
  21602. type: integer
  21603. produces:
  21604. - application/json
  21605. responses:
  21606. "200":
  21607. description: OK
  21608. schema:
  21609. items:
  21610. $ref: '#/definitions/models.Ermcp3AreaSpot'
  21611. type: array
  21612. "500":
  21613. description: Internal Server Error
  21614. schema:
  21615. $ref: '#/definitions/app.Response'
  21616. security:
  21617. - ApiKeyAuth: []
  21618. summary: 查询敞口现货头寸(敞口/现货头寸)
  21619. tags:
  21620. - 企业风险管理v3(app)
  21621. /Ermcp3/QueryExposureSpotDetail:
  21622. get:
  21623. parameters:
  21624. - description: 用户id
  21625. in: query
  21626. name: userid
  21627. required: true
  21628. type: integer
  21629. - description: 用户类型 2-机构 7-企业成员
  21630. in: query
  21631. name: usertype
  21632. type: integer
  21633. - description: 现货商品ID
  21634. in: query
  21635. name: wrstandardid
  21636. required: true
  21637. type: integer
  21638. produces:
  21639. - application/json
  21640. responses:
  21641. "200":
  21642. description: OK
  21643. schema:
  21644. items:
  21645. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  21646. type: array
  21647. "500":
  21648. description: Internal Server Error
  21649. schema:
  21650. $ref: '#/definitions/app.Response'
  21651. security:
  21652. - ApiKeyAuth: []
  21653. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  21654. tags:
  21655. - 企业风险管理v3(app)
  21656. /Ermcp3/QueryGoodsGroup:
  21657. get:
  21658. parameters:
  21659. - description: 用户id
  21660. in: query
  21661. name: userid
  21662. required: true
  21663. type: integer
  21664. - description: 用户类型 2-机构 7-企业成员
  21665. in: query
  21666. name: usertype
  21667. type: integer
  21668. - description: 排除套保品中已关联的商品组 1-排除
  21669. in: query
  21670. name: excludecfg
  21671. type: integer
  21672. produces:
  21673. - application/json
  21674. responses:
  21675. "200":
  21676. description: OK
  21677. schema:
  21678. items:
  21679. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  21680. type: array
  21681. "500":
  21682. description: Internal Server Error
  21683. schema:
  21684. $ref: '#/definitions/app.Response'
  21685. security:
  21686. - ApiKeyAuth: []
  21687. summary: 查询期货商品组
  21688. tags:
  21689. - 企业风险管理v3(app)
  21690. /Ermcp3/QueryGoodsWrstandard:
  21691. get:
  21692. parameters:
  21693. - description: 用户id
  21694. in: query
  21695. name: userid
  21696. required: true
  21697. type: integer
  21698. - description: 用户类型 2-机构 7-企业成员
  21699. in: query
  21700. name: usertype
  21701. type: integer
  21702. - description: 现货商品id
  21703. in: query
  21704. name: deliverygoodsid
  21705. type: integer
  21706. produces:
  21707. - application/json
  21708. responses:
  21709. "200":
  21710. description: OK
  21711. schema:
  21712. items:
  21713. $ref: '#/definitions/models.Ermcp3Wrstandard'
  21714. type: array
  21715. "500":
  21716. description: Internal Server Error
  21717. schema:
  21718. $ref: '#/definitions/app.Response'
  21719. security:
  21720. - ApiKeyAuth: []
  21721. summary: 查询商品品类
  21722. tags:
  21723. - 企业风险管理v3(app)
  21724. /Ermcp3/QueryGoodsbrand:
  21725. get:
  21726. parameters:
  21727. - description: 用户id
  21728. in: query
  21729. name: userid
  21730. required: true
  21731. type: integer
  21732. - description: 用户类型 2-机构 7-企业成员
  21733. in: query
  21734. name: usertype
  21735. type: integer
  21736. produces:
  21737. - application/json
  21738. responses:
  21739. "200":
  21740. description: OK
  21741. schema:
  21742. items:
  21743. $ref: '#/definitions/models.Ermcp3Brand'
  21744. type: array
  21745. "500":
  21746. description: Internal Server Error
  21747. schema:
  21748. $ref: '#/definitions/app.Response'
  21749. security:
  21750. - ApiKeyAuth: []
  21751. summary: 查询商品品牌
  21752. tags:
  21753. - 企业风险管理v3(app)
  21754. /Ermcp3/QueryHedgePlan:
  21755. get:
  21756. parameters:
  21757. - description: 用户ID
  21758. in: query
  21759. name: userid
  21760. required: true
  21761. type: integer
  21762. - description: 用户类型 2-机构 7-企业成员
  21763. in: query
  21764. name: usertype
  21765. type: integer
  21766. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  21767. in: query
  21768. name: hedgeplanstatus
  21769. required: true
  21770. type: string
  21771. produces:
  21772. - application/json
  21773. responses:
  21774. "200":
  21775. description: OK
  21776. schema:
  21777. items:
  21778. $ref: '#/definitions/models.Ermcp3HedgePlan'
  21779. type: array
  21780. "500":
  21781. description: Internal Server Error
  21782. schema:
  21783. $ref: '#/definitions/app.Response'
  21784. security:
  21785. - ApiKeyAuth: []
  21786. summary: 查询套保计划
  21787. tags:
  21788. - 企业风险管理v3(app)
  21789. /Ermcp3/QueryInnerTradeLink:
  21790. get:
  21791. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  21792. parameters:
  21793. - description: 外部成交单号
  21794. in: query
  21795. name: outtradeid
  21796. required: true
  21797. type: integer
  21798. produces:
  21799. - application/json
  21800. responses:
  21801. "200":
  21802. description: OK
  21803. schema:
  21804. items:
  21805. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  21806. type: array
  21807. "500":
  21808. description: Internal Server Error
  21809. schema:
  21810. $ref: '#/definitions/app.Response'
  21811. security:
  21812. - ApiKeyAuth: []
  21813. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  21814. tags:
  21815. - 企业风险管理v3(app)
  21816. /Ermcp3/QueryMiddleGoodsDetail:
  21817. get:
  21818. parameters:
  21819. - description: 用户id
  21820. in: query
  21821. name: userid
  21822. required: true
  21823. type: integer
  21824. - description: 用户类型 2-机构 7-企业成员
  21825. in: query
  21826. name: usertype
  21827. type: integer
  21828. - description: 套保品种id
  21829. in: query
  21830. name: middlegoodsid
  21831. type: integer
  21832. produces:
  21833. - application/json
  21834. responses:
  21835. "200":
  21836. description: OK
  21837. schema:
  21838. items:
  21839. $ref: '#/definitions/models.TBMiddleGoods'
  21840. type: array
  21841. "500":
  21842. description: Internal Server Error
  21843. schema:
  21844. $ref: '#/definitions/app.Response'
  21845. security:
  21846. - ApiKeyAuth: []
  21847. summary: 查询套保品种详情(套保品种/商品详情)
  21848. tags:
  21849. - 企业风险管理v3(app)
  21850. /Ermcp3/QueryOutTradeLink:
  21851. get:
  21852. description: 页面 app 现货->期现关联->外部成交单关联
  21853. parameters:
  21854. - description: 用户ID(填登录用户的userid)
  21855. in: query
  21856. name: userid
  21857. required: true
  21858. type: integer
  21859. - description: 外部订单号(模糊匹配)
  21860. in: query
  21861. name: outtradeid
  21862. type: string
  21863. - description: 合约名称/代码(模糊匹配)
  21864. in: query
  21865. name: goodsname
  21866. type: string
  21867. - description: 关联状态 0-未关联 1-已关联
  21868. in: query
  21869. name: hasinnerorder
  21870. type: integer
  21871. produces:
  21872. - application/json
  21873. responses:
  21874. "200":
  21875. description: OK
  21876. schema:
  21877. items:
  21878. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  21879. type: array
  21880. "500":
  21881. description: Internal Server Error
  21882. schema:
  21883. $ref: '#/definitions/app.Response'
  21884. security:
  21885. - ApiKeyAuth: []
  21886. summary: 查询外部成交单关联
  21887. tags:
  21888. - 企业风险管理v3(app)
  21889. /Ermcp3/QueryPaAreaAuditCfg:
  21890. get:
  21891. parameters:
  21892. - description: 用户id
  21893. in: query
  21894. name: userid
  21895. required: true
  21896. type: integer
  21897. produces:
  21898. - application/json
  21899. responses:
  21900. "200":
  21901. description: OK
  21902. schema:
  21903. items:
  21904. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  21905. type: array
  21906. "500":
  21907. description: Internal Server Error
  21908. schema:
  21909. $ref: '#/definitions/app.Response'
  21910. security:
  21911. - ApiKeyAuth: []
  21912. summary: 查询审核设置
  21913. tags:
  21914. - 企业风险管理v3(app)
  21915. /Ermcp3/QueryPaAreaSubject:
  21916. get:
  21917. parameters:
  21918. - description: 用户id
  21919. in: query
  21920. name: userid
  21921. required: true
  21922. type: integer
  21923. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  21924. in: query
  21925. name: subjectid
  21926. type: integer
  21927. - description: 主体类型 - 1:交易主体 2:业务部门
  21928. in: query
  21929. name: subjecttype
  21930. type: integer
  21931. - description: '主体状态 - 1:正常 2: 停用'
  21932. in: query
  21933. name: subjectstatus
  21934. type: integer
  21935. produces:
  21936. - application/json
  21937. responses:
  21938. "200":
  21939. description: OK
  21940. schema:
  21941. items:
  21942. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  21943. type: array
  21944. "500":
  21945. description: Internal Server Error
  21946. schema:
  21947. $ref: '#/definitions/app.Response'
  21948. security:
  21949. - ApiKeyAuth: []
  21950. summary: 查询交易主体
  21951. tags:
  21952. - 企业风险管理v3(app)
  21953. /Ermcp3/QueryPaTradeLink:
  21954. get:
  21955. description: 页面 app 现货->期现关联->期现单据关联
  21956. parameters:
  21957. - description: 用户ID
  21958. in: query
  21959. name: userid
  21960. required: true
  21961. type: integer
  21962. produces:
  21963. - application/json
  21964. responses:
  21965. "200":
  21966. description: OK
  21967. schema:
  21968. items:
  21969. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  21970. type: array
  21971. "500":
  21972. description: Internal Server Error
  21973. schema:
  21974. $ref: '#/definitions/app.Response'
  21975. security:
  21976. - ApiKeyAuth: []
  21977. summary: 查询期现单据关联
  21978. tags:
  21979. - 企业风险管理v3(app)
  21980. /Ermcp3/QueryPaTradeLinkDetail:
  21981. get:
  21982. description: 页面 app 现货->期现关联->关联记录
  21983. parameters:
  21984. - description: 用户ID(填登录用户的userid)
  21985. in: query
  21986. name: userid
  21987. required: true
  21988. type: integer
  21989. - description: 关联状态 1:成功 2:失败
  21990. in: query
  21991. name: linkstatus
  21992. type: integer
  21993. - description: 期货订单号(模糊匹配)
  21994. in: query
  21995. name: tradeid
  21996. type: string
  21997. - description: 现货编号(模糊匹配)
  21998. in: query
  21999. name: contractno
  22000. type: string
  22001. - description: 期货账户(模糊匹配)
  22002. in: query
  22003. name: taname
  22004. type: string
  22005. produces:
  22006. - application/json
  22007. responses:
  22008. "200":
  22009. description: OK
  22010. schema:
  22011. items:
  22012. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  22013. type: array
  22014. "500":
  22015. description: Internal Server Error
  22016. schema:
  22017. $ref: '#/definitions/app.Response'
  22018. security:
  22019. - ApiKeyAuth: []
  22020. summary: 查询期现关联记录
  22021. tags:
  22022. - 企业风险管理v3(app)
  22023. /Ermcp3/QueryParamChangeApp:
  22024. get:
  22025. description: |-
  22026. 原型页面:
  22027. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  22028. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  22029. parameters:
  22030. - description: 用户ID
  22031. in: query
  22032. name: userid
  22033. required: true
  22034. type: integer
  22035. - description: 现货品种id
  22036. in: query
  22037. name: deliverygoodsid
  22038. type: integer
  22039. - description: 现货商品id
  22040. in: query
  22041. name: wrstandardid
  22042. type: integer
  22043. - description: 套保商品id
  22044. in: query
  22045. name: middlegoodsid
  22046. type: integer
  22047. - description: 操作类型 1:新增 2:修改
  22048. in: query
  22049. name: operatetype
  22050. type: integer
  22051. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  22052. in: query
  22053. name: paramchangetype
  22054. type: integer
  22055. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22056. in: query
  22057. name: ftstatus
  22058. type: string
  22059. produces:
  22060. - application/json
  22061. responses:
  22062. "200":
  22063. description: OK
  22064. schema:
  22065. items:
  22066. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  22067. type: array
  22068. "500":
  22069. description: Internal Server Error
  22070. schema:
  22071. $ref: '#/definitions/app.Response'
  22072. security:
  22073. - ApiKeyAuth: []
  22074. summary: 查询现货商品参数变更申请(流水)
  22075. tags:
  22076. - 企业风险管理v3(app)
  22077. /Ermcp3/QueryRootUserAccount:
  22078. get:
  22079. parameters:
  22080. - description: 用户ID
  22081. in: query
  22082. name: userid
  22083. required: true
  22084. type: integer
  22085. produces:
  22086. - application/json
  22087. responses:
  22088. "200":
  22089. description: OK
  22090. schema:
  22091. items:
  22092. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  22093. type: array
  22094. "500":
  22095. description: Internal Server Error
  22096. schema:
  22097. $ref: '#/definitions/app.Response'
  22098. security:
  22099. - ApiKeyAuth: []
  22100. summary: 查询顶级用户信息
  22101. tags:
  22102. - 企业风险管理v3(app)
  22103. /Ermcp3/QuerySCMiddleGoods:
  22104. get:
  22105. description: |-
  22106. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  22107. 现货编号 即 合同编号
  22108. parameters:
  22109. - description: 用户ID(填登录用户的userid)
  22110. in: query
  22111. name: userid
  22112. required: true
  22113. type: integer
  22114. - description: 买卖方向 0-买 1-卖
  22115. in: query
  22116. name: buyorsell
  22117. required: true
  22118. type: integer
  22119. - description: 商品组id
  22120. in: query
  22121. name: goodsgroupid
  22122. required: true
  22123. type: integer
  22124. - description: 业务类型 1:套保 2:套利
  22125. in: query
  22126. name: biztype
  22127. type: integer
  22128. - description: 现货编号(模糊匹配)
  22129. in: query
  22130. name: contractno
  22131. type: string
  22132. - description: 对手方(模糊匹配)
  22133. in: query
  22134. name: customername
  22135. type: string
  22136. - description: 现货商品名称(模糊匹配)
  22137. in: query
  22138. name: wrstandardname
  22139. type: string
  22140. produces:
  22141. - application/json
  22142. responses:
  22143. "200":
  22144. description: OK
  22145. schema:
  22146. items:
  22147. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  22148. type: array
  22149. "500":
  22150. description: Internal Server Error
  22151. schema:
  22152. $ref: '#/definitions/app.Response'
  22153. security:
  22154. - ApiKeyAuth: []
  22155. summary: 查询现货订单
  22156. tags:
  22157. - 企业风险管理v3(app)
  22158. /Ermcp3/QuerySpotContract:
  22159. get:
  22160. parameters:
  22161. - description: 用户id(当指定contractid, userid可不填)
  22162. in: query
  22163. name: userid
  22164. required: true
  22165. type: integer
  22166. - description: 用户类型 2-机构 7-企业成员
  22167. in: query
  22168. name: usertype
  22169. type: integer
  22170. - description: 合同类型 1-采购, -1-销售
  22171. in: query
  22172. name: contracttype
  22173. type: integer
  22174. - description: 查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成
  22175. in: query
  22176. name: querytype
  22177. type: string
  22178. - description: 合同ID(SpotContractId)
  22179. in: query
  22180. name: contractid
  22181. type: string
  22182. - description: 合同编号(模糊匹配)
  22183. in: query
  22184. name: contractno
  22185. type: string
  22186. - description: 商品名称(模糊匹配)
  22187. in: query
  22188. name: wrstandardname
  22189. type: string
  22190. produces:
  22191. - application/json
  22192. responses:
  22193. "200":
  22194. description: OK
  22195. schema:
  22196. items:
  22197. $ref: '#/definitions/models.Ermcp3Contract'
  22198. type: array
  22199. "500":
  22200. description: Internal Server Error
  22201. schema:
  22202. $ref: '#/definitions/app.Response'
  22203. security:
  22204. - ApiKeyAuth: []
  22205. summary: 查询现货合同
  22206. tags:
  22207. - 企业风险管理v3(app)
  22208. /Ermcp3/QuerySpotContractBS:
  22209. get:
  22210. parameters:
  22211. - description: 用户id
  22212. in: query
  22213. name: userid
  22214. required: true
  22215. type: integer
  22216. - description: 用户类型 2-机构 7-企业成员
  22217. in: query
  22218. name: usertype
  22219. type: integer
  22220. - description: 合同类型 1-采购, -1-销售
  22221. in: query
  22222. name: contracttype
  22223. required: true
  22224. type: integer
  22225. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  22226. in: query
  22227. name: querytype
  22228. required: true
  22229. type: integer
  22230. - description: 合同ID(SpotContractId)
  22231. in: query
  22232. name: contractid
  22233. type: string
  22234. produces:
  22235. - application/json
  22236. responses:
  22237. "200":
  22238. description: OK
  22239. schema:
  22240. items:
  22241. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  22242. type: array
  22243. "500":
  22244. description: Internal Server Error
  22245. schema:
  22246. $ref: '#/definitions/app.Response'
  22247. security:
  22248. - ApiKeyAuth: []
  22249. summary: 查询合同(采购/销售)
  22250. tags:
  22251. - 企业风险管理v3(app)
  22252. /Ermcp3/QuerySpotGoodsPrice:
  22253. get:
  22254. parameters:
  22255. - description: 用户ID
  22256. in: query
  22257. name: userid
  22258. required: true
  22259. type: integer
  22260. produces:
  22261. - application/json
  22262. responses:
  22263. "200":
  22264. description: OK
  22265. schema:
  22266. items:
  22267. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  22268. type: array
  22269. "500":
  22270. description: Internal Server Error
  22271. schema:
  22272. $ref: '#/definitions/app.Response'
  22273. security:
  22274. - ApiKeyAuth: []
  22275. summary: 查询现货市价(现货市价)
  22276. tags:
  22277. - 企业风险管理v3(app)
  22278. /Ermcp3/QuerySpotGoodsPriceLog:
  22279. get:
  22280. parameters:
  22281. - description: 用户ID
  22282. in: query
  22283. name: userid
  22284. required: true
  22285. type: integer
  22286. - description: 现货商品ID
  22287. in: query
  22288. name: deliverygoodsid
  22289. required: true
  22290. type: integer
  22291. - description: 品牌ID
  22292. in: query
  22293. name: brandid
  22294. type: integer
  22295. - description: 品类ID
  22296. in: query
  22297. name: wrstandardid
  22298. type: integer
  22299. produces:
  22300. - application/json
  22301. responses:
  22302. "200":
  22303. description: OK
  22304. schema:
  22305. items:
  22306. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  22307. type: array
  22308. "500":
  22309. description: Internal Server Error
  22310. schema:
  22311. $ref: '#/definitions/app.Response'
  22312. security:
  22313. - ApiKeyAuth: []
  22314. summary: 查询现货市价详情(现货市价/详情)
  22315. tags:
  22316. - 企业风险管理v3(app)
  22317. /Ermcp3/QuerySubTaaccount:
  22318. get:
  22319. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  22320. parameters:
  22321. - description: 母账号id
  22322. in: query
  22323. name: parentaccountid
  22324. type: integer
  22325. - description: 母账号代码
  22326. in: query
  22327. name: parentaccountcode
  22328. type: string
  22329. produces:
  22330. - application/json
  22331. responses:
  22332. "200":
  22333. description: OK
  22334. schema:
  22335. items:
  22336. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  22337. type: array
  22338. "500":
  22339. description: Internal Server Error
  22340. schema:
  22341. $ref: '#/definitions/app.Response'
  22342. security:
  22343. - ApiKeyAuth: []
  22344. summary: 查询期货子账户
  22345. tags:
  22346. - 企业风险管理v3(app)
  22347. /Erms2/QueryArbitrageStrategy:
  22348. get:
  22349. parameters:
  22350. - description: 账户ID
  22351. in: query
  22352. name: userid
  22353. required: true
  22354. type: integer
  22355. - description: 商品组ID(品种ID)
  22356. in: query
  22357. name: goodsgroupid
  22358. type: string
  22359. produces:
  22360. - application/json
  22361. responses:
  22362. "200":
  22363. description: OK
  22364. schema:
  22365. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  22366. "500":
  22367. description: Internal Server Error
  22368. schema:
  22369. $ref: '#/definitions/app.Response'
  22370. security:
  22371. - ApiKeyAuth: []
  22372. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  22373. tags:
  22374. - 风险管理
  22375. /Erms2/QueryInnerTradeDetail:
  22376. get:
  22377. parameters:
  22378. - description: 资金账户
  22379. in: query
  22380. name: accountid
  22381. required: true
  22382. type: integer
  22383. produces:
  22384. - application/json
  22385. responses:
  22386. "200":
  22387. description: OK
  22388. schema:
  22389. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  22390. "500":
  22391. description: Internal Server Error
  22392. schema:
  22393. $ref: '#/definitions/app.Response'
  22394. security:
  22395. - ApiKeyAuth: []
  22396. summary: 查询内部成交单信息
  22397. tags:
  22398. - 风险管理
  22399. /Erms2/QuerySpotContract:
  22400. get:
  22401. parameters:
  22402. - description: 策略申请ID
  22403. in: query
  22404. name: asapplyid
  22405. required: true
  22406. type: integer
  22407. - description: 现货合同ID
  22408. in: query
  22409. name: spotcontractid
  22410. type: integer
  22411. produces:
  22412. - application/json
  22413. responses:
  22414. "200":
  22415. description: OK
  22416. schema:
  22417. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  22418. "500":
  22419. description: Internal Server Error
  22420. schema:
  22421. $ref: '#/definitions/app.Response'
  22422. security:
  22423. - ApiKeyAuth: []
  22424. summary: 查询现货合同表信息(指定策略ID、未结束的)
  22425. tags:
  22426. - 风险管理
  22427. /Erms3/AddErms2ASApply:
  22428. post:
  22429. parameters:
  22430. - description: 申请参数
  22431. in: body
  22432. name: jsonBody
  22433. required: true
  22434. schema:
  22435. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  22436. produces:
  22437. - application/json
  22438. responses:
  22439. "200":
  22440. description: OK
  22441. schema:
  22442. $ref: '#/definitions/app.Response'
  22443. "500":
  22444. description: Internal Server Error
  22445. schema:
  22446. $ref: '#/definitions/app.Response'
  22447. security:
  22448. - ApiKeyAuth: []
  22449. summary: 新增期现套利业务申请
  22450. tags:
  22451. - 风险管理v3
  22452. /Erms3/AddErms2SpotTradeApply:
  22453. post:
  22454. parameters:
  22455. - description: 申请参数
  22456. in: body
  22457. name: jsonBody
  22458. required: true
  22459. schema:
  22460. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  22461. produces:
  22462. - application/json
  22463. responses:
  22464. "200":
  22465. description: OK
  22466. schema:
  22467. $ref: '#/definitions/app.Response'
  22468. "500":
  22469. description: Internal Server Error
  22470. schema:
  22471. $ref: '#/definitions/app.Response'
  22472. security:
  22473. - ApiKeyAuth: []
  22474. summary: 新增现货贸易业务申请
  22475. tags:
  22476. - 风险管理v3
  22477. /Erms3/AddSpotContractApply:
  22478. post:
  22479. parameters:
  22480. - description: 申请参数
  22481. in: body
  22482. name: jsonBody
  22483. required: true
  22484. schema:
  22485. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  22486. produces:
  22487. - application/json
  22488. responses:
  22489. "200":
  22490. description: OK
  22491. schema:
  22492. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  22493. "500":
  22494. description: Internal Server Error
  22495. schema:
  22496. $ref: '#/definitions/app.Response'
  22497. security:
  22498. - ApiKeyAuth: []
  22499. summary: 新增现货合同申请
  22500. tags:
  22501. - 风险管理v3
  22502. /Erms3/AddUserInfoApply:
  22503. post:
  22504. parameters:
  22505. - description: 用户信息
  22506. in: body
  22507. name: jsonBody
  22508. required: true
  22509. schema:
  22510. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  22511. produces:
  22512. - application/json
  22513. responses:
  22514. "200":
  22515. description: OK
  22516. schema:
  22517. $ref: '#/definitions/app.Response'
  22518. "500":
  22519. description: Internal Server Error
  22520. schema:
  22521. $ref: '#/definitions/app.Response'
  22522. security:
  22523. - ApiKeyAuth: []
  22524. summary: 新增客户申请
  22525. tags:
  22526. - 风险管理v3
  22527. /Erms3/DeleteUserInfoApply:
  22528. get:
  22529. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  22530. parameters:
  22531. - description: 用户ID
  22532. in: query
  22533. name: userID
  22534. required: true
  22535. type: integer
  22536. produces:
  22537. - application/json
  22538. responses:
  22539. "200":
  22540. description: OK
  22541. schema:
  22542. $ref: '#/definitions/app.Response'
  22543. "500":
  22544. description: Internal Server Error
  22545. schema:
  22546. $ref: '#/definitions/app.Response'
  22547. security:
  22548. - ApiKeyAuth: []
  22549. summary: 删除客户申请
  22550. tags:
  22551. - 风险管理v3
  22552. /Erms3/ModifyUserInfoApply:
  22553. post:
  22554. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid": int, "userstate": 2 }'
  22555. parameters:
  22556. - description: 用户信息
  22557. in: body
  22558. name: jsonBody
  22559. required: true
  22560. schema:
  22561. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  22562. produces:
  22563. - application/json
  22564. responses:
  22565. "200":
  22566. description: OK
  22567. schema:
  22568. $ref: '#/definitions/app.Response'
  22569. "500":
  22570. description: Internal Server Error
  22571. schema:
  22572. $ref: '#/definitions/app.Response'
  22573. security:
  22574. - ApiKeyAuth: []
  22575. summary: 修改客户申请
  22576. tags:
  22577. - 风险管理v3
  22578. /Erms3/QueryBusinessInfo:
  22579. get:
  22580. parameters:
  22581. - description: 资金账号ID列表,用逗号分隔
  22582. in: query
  22583. name: accountids
  22584. required: true
  22585. type: string
  22586. - description: 状态,0为未结束 1为已结束
  22587. in: query
  22588. name: status
  22589. required: true
  22590. type: integer
  22591. produces:
  22592. - application/json
  22593. responses:
  22594. "200":
  22595. description: OK
  22596. schema:
  22597. items:
  22598. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  22599. type: array
  22600. "500":
  22601. description: Internal Server Error
  22602. schema:
  22603. $ref: '#/definitions/app.Response'
  22604. security:
  22605. - ApiKeyAuth: []
  22606. summary: 查询业务表单数据
  22607. tags:
  22608. - 风险管理v3
  22609. /Erms3/QueryPendingAuditContract:
  22610. get:
  22611. parameters:
  22612. - description: 资金账号ID列表,逗号隔开
  22613. in: query
  22614. name: accountids
  22615. required: true
  22616. type: string
  22617. - description: 合同类型 1-采购 -1-销售
  22618. in: query
  22619. name: contracttype
  22620. required: true
  22621. type: integer
  22622. - description: 合同模式 1-普通 2-回购
  22623. in: query
  22624. name: contractmode
  22625. required: true
  22626. type: integer
  22627. produces:
  22628. - application/json
  22629. responses:
  22630. "200":
  22631. description: OK
  22632. schema:
  22633. items:
  22634. $ref: '#/definitions/erms3.QryAuditContractRsp'
  22635. type: array
  22636. "500":
  22637. description: Internal Server Error
  22638. schema:
  22639. $ref: '#/definitions/app.Response'
  22640. security:
  22641. - ApiKeyAuth: []
  22642. summary: 查询待审核合同
  22643. tags:
  22644. - 风险管理v3
  22645. /Erms3/QueryPendingBusiness:
  22646. get:
  22647. parameters:
  22648. - description: 资金账号ID列表,逗号隔开
  22649. in: query
  22650. name: accountids
  22651. required: true
  22652. type: string
  22653. produces:
  22654. - application/json
  22655. responses:
  22656. "200":
  22657. description: OK
  22658. schema:
  22659. items:
  22660. $ref: '#/definitions/erms3.QryPendingBizRsp'
  22661. type: array
  22662. "500":
  22663. description: Internal Server Error
  22664. schema:
  22665. $ref: '#/definitions/app.Response'
  22666. security:
  22667. - ApiKeyAuth: []
  22668. summary: 查询待审核基差贸易业务
  22669. tags:
  22670. - 风险管理v3
  22671. /Erms3/QuerySpotContractAppleForm:
  22672. get:
  22673. parameters:
  22674. - description: 登录账号
  22675. in: query
  22676. name: loginID
  22677. required: true
  22678. type: integer
  22679. produces:
  22680. - application/json
  22681. responses:
  22682. "200":
  22683. description: OK
  22684. schema:
  22685. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  22686. "500":
  22687. description: Internal Server Error
  22688. schema:
  22689. $ref: '#/definitions/app.Response'
  22690. security:
  22691. - ApiKeyAuth: []
  22692. summary: 查询合同申请表单数据
  22693. tags:
  22694. - 风险管理v3
  22695. /Erms3/QuerySpotContractDetail:
  22696. get:
  22697. parameters:
  22698. - description: 资金账号ID列表,用逗号分隔
  22699. in: query
  22700. name: accountids
  22701. required: true
  22702. type: string
  22703. - description: 合同类型,1为采购合同 -1为销售合同
  22704. in: query
  22705. name: contracttype
  22706. required: true
  22707. type: integer
  22708. - description: 合同模式,1为普通合同 2为回购销售合同
  22709. in: query
  22710. name: contractmode
  22711. required: true
  22712. type: integer
  22713. - description: 状态,0为履约中 1为已完成
  22714. in: query
  22715. name: status
  22716. required: true
  22717. type: integer
  22718. produces:
  22719. - application/json
  22720. responses:
  22721. "200":
  22722. description: OK
  22723. schema:
  22724. items:
  22725. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  22726. type: array
  22727. "500":
  22728. description: Internal Server Error
  22729. schema:
  22730. $ref: '#/definitions/app.Response'
  22731. security:
  22732. - ApiKeyAuth: []
  22733. summary: 查询合同详细信息
  22734. tags:
  22735. - 风险管理v3
  22736. /Erms3/QueryUserInfoApplies:
  22737. get:
  22738. parameters:
  22739. - description: 页码
  22740. in: query
  22741. name: page
  22742. type: integer
  22743. - description: 每页条数
  22744. in: query
  22745. name: pagesize
  22746. type: integer
  22747. - description: 客户名称,支持模糊查询
  22748. in: query
  22749. name: userName
  22750. type: string
  22751. produces:
  22752. - application/json
  22753. responses:
  22754. "200":
  22755. description: OK
  22756. schema:
  22757. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  22758. "500":
  22759. description: Internal Server Error
  22760. schema:
  22761. $ref: '#/definitions/app.Response'
  22762. security:
  22763. - ApiKeyAuth: []
  22764. summary: 客户申请信息查询
  22765. tags:
  22766. - 风险管理v3
  22767. /Erms3/QueryUserInfos:
  22768. get:
  22769. parameters:
  22770. - description: 页码
  22771. in: query
  22772. name: page
  22773. type: integer
  22774. - description: 每页条数
  22775. in: query
  22776. name: pagesize
  22777. type: integer
  22778. - description: 客户名称,支持模糊查询
  22779. in: query
  22780. name: userName
  22781. type: string
  22782. produces:
  22783. - application/json
  22784. responses:
  22785. "200":
  22786. description: OK
  22787. schema:
  22788. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  22789. "500":
  22790. description: Internal Server Error
  22791. schema:
  22792. $ref: '#/definitions/app.Response'
  22793. security:
  22794. - ApiKeyAuth: []
  22795. summary: 客户信息查询
  22796. tags:
  22797. - 风险管理v3
  22798. /HSBY/GetHsbyMyCount:
  22799. get:
  22800. description: 说明: 不包括已完成的数量。
  22801. parameters:
  22802. - description: 资金账户列表,格式:1,2,3
  22803. in: query
  22804. name: accountIDs
  22805. required: true
  22806. type: string
  22807. produces:
  22808. - application/json
  22809. responses:
  22810. "200":
  22811. description: OK
  22812. schema:
  22813. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  22814. "500":
  22815. description: Internal Server Error
  22816. schema:
  22817. $ref: '#/definitions/app.Response'
  22818. security:
  22819. - ApiKeyAuth: []
  22820. summary: 获取我的订单与包裹数量
  22821. tags:
  22822. - 定制【海商报业】
  22823. /HSBY/QueryClientFixedADConfigs:
  22824. get:
  22825. produces:
  22826. - application/json
  22827. responses:
  22828. "200":
  22829. description: OK
  22830. schema:
  22831. $ref: '#/definitions/models.Clientfixedadconfig'
  22832. "500":
  22833. description: Internal Server Error
  22834. schema:
  22835. $ref: '#/definitions/app.Response'
  22836. security:
  22837. - ApiKeyAuth: []
  22838. summary: 获取终端固定广告配置
  22839. tags:
  22840. - 定制【海商报业】
  22841. /HSBY/QueryHsbyBuyMyTradeDetail:
  22842. get:
  22843. parameters:
  22844. - description: 页码
  22845. in: query
  22846. name: page
  22847. type: integer
  22848. - description: 每页条数
  22849. in: query
  22850. name: pagesize
  22851. type: integer
  22852. - description: 资金账户列表,格式:1,2,3
  22853. in: query
  22854. name: accountIDs
  22855. required: true
  22856. type: string
  22857. produces:
  22858. - application/json
  22859. responses:
  22860. "200":
  22861. description: OK
  22862. schema:
  22863. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  22864. "500":
  22865. description: Internal Server Error
  22866. schema:
  22867. $ref: '#/definitions/app.Response'
  22868. security:
  22869. - ApiKeyAuth: []
  22870. summary: 查询"我的订单 - 已完成"单据信息
  22871. tags:
  22872. - 定制【海商报业】
  22873. /HSBY/QueryHsbyGoodsOrderDetails:
  22874. get:
  22875. description: 说明:查询结果已按委托价格和委托时间排序
  22876. parameters:
  22877. - description: 商品ID
  22878. in: query
  22879. name: goodsID
  22880. required: true
  22881. type: integer
  22882. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  22883. in: query
  22884. name: accountIDs
  22885. type: string
  22886. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  22887. in: query
  22888. name: buyOrSell
  22889. type: integer
  22890. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  22891. in: query
  22892. name: price
  22893. type: number
  22894. - description: 档位,不传则默认为3档
  22895. in: query
  22896. name: speed
  22897. type: integer
  22898. produces:
  22899. - application/json
  22900. responses:
  22901. "200":
  22902. description: OK
  22903. schema:
  22904. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  22905. "500":
  22906. description: Internal Server Error
  22907. schema:
  22908. $ref: '#/definitions/app.Response'
  22909. security:
  22910. - ApiKeyAuth: []
  22911. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  22912. tags:
  22913. - 定制【海商报业】
  22914. /HSBY/QueryHsbyListingGoodsDetail:
  22915. get:
  22916. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  22917. parameters:
  22918. - description: 商品ID
  22919. in: query
  22920. name: goodsID
  22921. required: true
  22922. type: integer
  22923. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  22924. in: query
  22925. name: accountID
  22926. type: integer
  22927. produces:
  22928. - application/json
  22929. responses:
  22930. "200":
  22931. description: OK
  22932. schema:
  22933. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  22934. "500":
  22935. description: Internal Server Error
  22936. schema:
  22937. $ref: '#/definitions/app.Response'
  22938. security:
  22939. - ApiKeyAuth: []
  22940. summary: 查询二级市场(挂牌点选)商品信息详情
  22941. tags:
  22942. - 定制【海商报业】
  22943. /HSBY/QueryHsbyMarketGoodsDetail:
  22944. get:
  22945. parameters:
  22946. - description: 委托单号
  22947. in: query
  22948. name: orderID
  22949. required: true
  22950. type: integer
  22951. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  22952. in: query
  22953. name: accountID
  22954. type: integer
  22955. produces:
  22956. - application/json
  22957. responses:
  22958. "200":
  22959. description: OK
  22960. schema:
  22961. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  22962. "500":
  22963. description: Internal Server Error
  22964. schema:
  22965. $ref: '#/definitions/app.Response'
  22966. security:
  22967. - ApiKeyAuth: []
  22968. summary: 查询三级市场(商城)商品信息详情
  22969. tags:
  22970. - 定制【海商报业】
  22971. /HSBY/QueryHsbyMarketGoodses:
  22972. get:
  22973. parameters:
  22974. - description: 页码
  22975. in: query
  22976. name: page
  22977. type: integer
  22978. - description: 每页条数
  22979. in: query
  22980. name: pagesize
  22981. type: integer
  22982. - description: 市场ID列表,格式:1,2,3
  22983. in: query
  22984. name: marketIDs
  22985. required: true
  22986. type: string
  22987. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  22988. in: query
  22989. name: accountID
  22990. required: true
  22991. type: integer
  22992. - description: 类别ID
  22993. in: query
  22994. name: categoryID
  22995. type: integer
  22996. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  22997. in: query
  22998. name: goodsIDs
  22999. type: string
  23000. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  23001. in: query
  23002. name: couponTypeID
  23003. type: integer
  23004. produces:
  23005. - application/json
  23006. responses:
  23007. "200":
  23008. description: OK
  23009. schema:
  23010. $ref: '#/definitions/models.HsbyMarketGoods'
  23011. "500":
  23012. description: Internal Server Error
  23013. schema:
  23014. $ref: '#/definitions/app.Response'
  23015. security:
  23016. - ApiKeyAuth: []
  23017. summary: 查询特卖商品列表(三级商城)
  23018. tags:
  23019. - 定制【海商报业】
  23020. /HSBY/QueryHsbyMarkets:
  23021. get:
  23022. produces:
  23023. - application/json
  23024. responses:
  23025. "200":
  23026. description: OK
  23027. schema:
  23028. $ref: '#/definitions/models.HsbyMarketInfo'
  23029. "500":
  23030. description: Internal Server Error
  23031. schema:
  23032. $ref: '#/definitions/app.Response'
  23033. security:
  23034. - ApiKeyAuth: []
  23035. summary: 查询海商报业相关市场信息
  23036. tags:
  23037. - 定制【海商报业】
  23038. /HSBY/QueryHsbyMyBuyOrderDetails:
  23039. get:
  23040. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  23041. parameters:
  23042. - description: 资金账户列表,格式:1,2,3
  23043. in: query
  23044. name: accountIDs
  23045. required: true
  23046. type: string
  23047. produces:
  23048. - application/json
  23049. responses:
  23050. "200":
  23051. description: OK
  23052. schema:
  23053. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  23054. "500":
  23055. description: Internal Server Error
  23056. schema:
  23057. $ref: '#/definitions/app.Response'
  23058. security:
  23059. - ApiKeyAuth: []
  23060. summary: 查询“我的订单”信息
  23061. tags:
  23062. - 定制【海商报业】
  23063. /HSBY/QueryHsbyMyGoods:
  23064. get:
  23065. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  23066. parameters:
  23067. - description: 资金账户列表,格式:1,2,3
  23068. in: query
  23069. name: accountIDs
  23070. required: true
  23071. type: string
  23072. produces:
  23073. - application/json
  23074. responses:
  23075. "200":
  23076. description: OK
  23077. schema:
  23078. $ref: '#/definitions/models.HsbyMyGoods'
  23079. "500":
  23080. description: Internal Server Error
  23081. schema:
  23082. $ref: '#/definitions/app.Response'
  23083. security:
  23084. - ApiKeyAuth: []
  23085. summary: 查询“我的商品”信息
  23086. tags:
  23087. - 定制【海商报业】
  23088. /HSBY/QueryHsbyMyPackages:
  23089. get:
  23090. parameters:
  23091. - description: 资金账户列表,格式:1,2,3
  23092. in: query
  23093. name: accountIDs
  23094. required: true
  23095. type: string
  23096. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  23097. in: query
  23098. name: takeOrderStatus
  23099. type: integer
  23100. produces:
  23101. - application/json
  23102. responses:
  23103. "200":
  23104. description: OK
  23105. schema:
  23106. $ref: '#/definitions/models.HsbyMyPackage'
  23107. "500":
  23108. description: Internal Server Error
  23109. schema:
  23110. $ref: '#/definitions/app.Response'
  23111. security:
  23112. - ApiKeyAuth: []
  23113. summary: 查询我的包裹信息
  23114. tags:
  23115. - 定制【海商报业】
  23116. /HSBY/QueryHsbyPreGoodsDetail:
  23117. get:
  23118. parameters:
  23119. - description: 商品ID
  23120. in: query
  23121. name: goodsID
  23122. required: true
  23123. type: integer
  23124. - description: 资金账户,主要用于获取预售商品购买上限
  23125. in: query
  23126. name: accountID
  23127. type: integer
  23128. produces:
  23129. - application/json
  23130. responses:
  23131. "200":
  23132. description: OK
  23133. schema:
  23134. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  23135. "500":
  23136. description: Internal Server Error
  23137. schema:
  23138. $ref: '#/definitions/app.Response'
  23139. security:
  23140. - ApiKeyAuth: []
  23141. summary: 查询一级市场(预售)商品信息详情
  23142. tags:
  23143. - 定制【海商报业】
  23144. /HSBY/QueryHsbyPreGoodses:
  23145. get:
  23146. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  23147. parameters:
  23148. - description: 页码
  23149. in: query
  23150. name: page
  23151. type: integer
  23152. - description: 每页条数
  23153. in: query
  23154. name: pagesize
  23155. type: integer
  23156. - description: 市场ID列表,格式:1,2,3
  23157. in: query
  23158. name: marketIDs
  23159. required: true
  23160. type: string
  23161. - description: 目的地(省)ID
  23162. in: query
  23163. name: descProvinceID
  23164. type: integer
  23165. - description: 目的地(市)ID
  23166. in: query
  23167. name: descCityID
  23168. type: integer
  23169. produces:
  23170. - application/json
  23171. responses:
  23172. "200":
  23173. description: OK
  23174. schema:
  23175. $ref: '#/definitions/models.HsbyPreGoods'
  23176. "500":
  23177. description: Internal Server Error
  23178. schema:
  23179. $ref: '#/definitions/app.Response'
  23180. security:
  23181. - ApiKeyAuth: []
  23182. summary: 查询新品上市商品列表(一级市场预售)
  23183. tags:
  23184. - 定制【海商报业】
  23185. /HSBY/QueryHsbySellMyDetails:
  23186. get:
  23187. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  23188. parameters:
  23189. - description: 页码
  23190. in: query
  23191. name: page
  23192. type: integer
  23193. - description: 每页条数
  23194. in: query
  23195. name: pagesize
  23196. type: integer
  23197. - description: 资金账户列表,格式:1,2,3
  23198. in: query
  23199. name: accountIDs
  23200. required: true
  23201. type: string
  23202. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  23203. in: query
  23204. name: orderType
  23205. type: integer
  23206. produces:
  23207. - application/json
  23208. responses:
  23209. "200":
  23210. description: OK
  23211. schema:
  23212. $ref: '#/definitions/models.HsbySellMyDetail'
  23213. "500":
  23214. description: Internal Server Error
  23215. schema:
  23216. $ref: '#/definitions/app.Response'
  23217. security:
  23218. - ApiKeyAuth: []
  23219. summary: 查询"我的闲置"单据信息
  23220. tags:
  23221. - 定制【海商报业】
  23222. /HSBY/QueryHsbyTopGoodses:
  23223. get:
  23224. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  23225. parameters:
  23226. - description: 页码
  23227. in: query
  23228. name: page
  23229. type: integer
  23230. - description: 每页条数
  23231. in: query
  23232. name: pagesize
  23233. type: integer
  23234. - description: 市场ID列表,格式:1,2,3
  23235. in: query
  23236. name: marketIDs
  23237. required: true
  23238. type: string
  23239. - description: 目的地(省)ID
  23240. in: query
  23241. name: descProvinceID
  23242. type: integer
  23243. - description: 目的地(市)ID
  23244. in: query
  23245. name: descCityID
  23246. type: integer
  23247. produces:
  23248. - application/json
  23249. responses:
  23250. "200":
  23251. description: OK
  23252. schema:
  23253. $ref: '#/definitions/models.HsbyTopGoods'
  23254. "500":
  23255. description: Internal Server Error
  23256. schema:
  23257. $ref: '#/definitions/app.Response'
  23258. security:
  23259. - ApiKeyAuth: []
  23260. summary: 查询热卖商品列表(二级市场挂牌点选)
  23261. tags:
  23262. - 定制【海商报业】
  23263. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  23264. get:
  23265. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  23266. parameters:
  23267. - description: 商品ID
  23268. in: query
  23269. name: goodsID
  23270. required: true
  23271. type: integer
  23272. produces:
  23273. - application/json
  23274. responses:
  23275. "200":
  23276. description: OK
  23277. schema:
  23278. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  23279. "500":
  23280. description: Internal Server Error
  23281. schema:
  23282. $ref: '#/definitions/app.Response'
  23283. security:
  23284. - ApiKeyAuth: []
  23285. summary: 查询游客三级市场(商城)商品信息详情
  23286. tags:
  23287. - 定制【海商报业】
  23288. /HSBY/QueryHsbyVisitorMarketGoodses:
  23289. get:
  23290. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  23291. parameters:
  23292. - description: 页码
  23293. in: query
  23294. name: page
  23295. type: integer
  23296. - description: 每页条数
  23297. in: query
  23298. name: pagesize
  23299. type: integer
  23300. - description: 市场ID列表,格式:1,2,3
  23301. in: query
  23302. name: marketIDs
  23303. required: true
  23304. type: string
  23305. - description: 类别ID
  23306. in: query
  23307. name: categoryID
  23308. type: integer
  23309. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  23310. in: query
  23311. name: goodsIDs
  23312. type: string
  23313. produces:
  23314. - application/json
  23315. responses:
  23316. "200":
  23317. description: OK
  23318. schema:
  23319. $ref: '#/definitions/models.HsbyMarketGoods'
  23320. "500":
  23321. description: Internal Server Error
  23322. schema:
  23323. $ref: '#/definitions/app.Response'
  23324. security:
  23325. - ApiKeyAuth: []
  23326. summary: 查询游客特卖商品列表(三级商城)
  23327. tags:
  23328. - 定制【海商报业】
  23329. /HSBY/QueryMyCollectionOrders:
  23330. get:
  23331. parameters:
  23332. - description: 页码
  23333. in: query
  23334. name: page
  23335. type: integer
  23336. - description: 每页条数
  23337. in: query
  23338. name: pagesize
  23339. type: integer
  23340. - description: 资金账户,格式:1,2,3
  23341. in: query
  23342. name: accountIDs
  23343. required: true
  23344. type: string
  23345. produces:
  23346. - application/json
  23347. responses:
  23348. "200":
  23349. description: OK
  23350. schema:
  23351. $ref: '#/definitions/models.HsbySellCollectionOrder'
  23352. "500":
  23353. description: Internal Server Error
  23354. schema:
  23355. $ref: '#/definitions/app.Response'
  23356. security:
  23357. - ApiKeyAuth: []
  23358. summary: 我的闲置中收款信息查询
  23359. tags:
  23360. - 定制【海商报业】
  23361. /HSBY/QueryMyCouponHolds:
  23362. get:
  23363. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  23364. parameters:
  23365. - description: 资金账户列表,格式:1,2,3
  23366. in: query
  23367. name: accountIDs
  23368. required: true
  23369. type: string
  23370. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  23371. in: query
  23372. name: holdStatus
  23373. type: string
  23374. produces:
  23375. - application/json
  23376. responses:
  23377. "200":
  23378. description: OK
  23379. schema:
  23380. $ref: '#/definitions/models.MyCouponHold'
  23381. "500":
  23382. description: Internal Server Error
  23383. schema:
  23384. $ref: '#/definitions/app.Response'
  23385. security:
  23386. - ApiKeyAuth: []
  23387. summary: 我的优惠卷持仓查询
  23388. tags:
  23389. - 定制【海商报业】
  23390. /HSBY/QueryMyCoupons:
  23391. get:
  23392. parameters:
  23393. - description: 资金账户列表,格式:1,2,3
  23394. in: query
  23395. name: accountIDs
  23396. required: true
  23397. type: string
  23398. - description: 商品ID, 一般与sellUserID配套传入
  23399. in: query
  23400. name: goodsID
  23401. type: integer
  23402. - description: 卖方UserID
  23403. in: query
  23404. name: sellUserID
  23405. type: integer
  23406. produces:
  23407. - application/json
  23408. responses:
  23409. "200":
  23410. description: OK
  23411. schema:
  23412. $ref: '#/definitions/models.MyCoupon'
  23413. "500":
  23414. description: Internal Server Error
  23415. schema:
  23416. $ref: '#/definitions/app.Response'
  23417. security:
  23418. - ApiKeyAuth: []
  23419. summary: 我的优惠卷查询
  23420. tags:
  23421. - 定制【海商报业】
  23422. /HSBY/QueryMyPayOrders:
  23423. get:
  23424. parameters:
  23425. - description: 页码
  23426. in: query
  23427. name: page
  23428. type: integer
  23429. - description: 每页条数
  23430. in: query
  23431. name: pagesize
  23432. type: integer
  23433. - description: 资金账户列表,格式:1,2,3
  23434. in: query
  23435. name: accountIDs
  23436. required: true
  23437. type: string
  23438. - description: 买方委托单号
  23439. in: query
  23440. name: buyOrderID
  23441. type: integer
  23442. - description: 卖方委托单号
  23443. in: query
  23444. name: sellOrderID
  23445. type: integer
  23446. produces:
  23447. - application/json
  23448. responses:
  23449. "200":
  23450. description: OK
  23451. schema:
  23452. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  23453. "500":
  23454. description: Internal Server Error
  23455. schema:
  23456. $ref: '#/definitions/app.Response'
  23457. security:
  23458. - ApiKeyAuth: []
  23459. summary: 获取我的订单中待付款信息
  23460. tags:
  23461. - 定制【海商报业】
  23462. /HSBY/QueryMyUsedCoupon:
  23463. get:
  23464. parameters:
  23465. - description: 资金账户列表,格式:1,2,3
  23466. in: query
  23467. name: accountIDs
  23468. required: true
  23469. type: string
  23470. produces:
  23471. - application/json
  23472. responses:
  23473. "200":
  23474. description: OK
  23475. schema:
  23476. $ref: '#/definitions/models.MyUsedCoupon'
  23477. "500":
  23478. description: Internal Server Error
  23479. schema:
  23480. $ref: '#/definitions/app.Response'
  23481. security:
  23482. - ApiKeyAuth: []
  23483. summary: 已使用优惠卷查询
  23484. tags:
  23485. - 定制【海商报业】
  23486. /HSBY/QueryProvincesAndCities:
  23487. get:
  23488. description: 查询结果只包括二级市场商品已关连的省市信息。
  23489. parameters:
  23490. - description: 省ID
  23491. in: query
  23492. name: provinceID
  23493. type: integer
  23494. produces:
  23495. - application/json
  23496. responses:
  23497. "200":
  23498. description: OK
  23499. schema:
  23500. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  23501. "500":
  23502. description: Internal Server Error
  23503. schema:
  23504. $ref: '#/definitions/app.Response'
  23505. security:
  23506. - ApiKeyAuth: []
  23507. summary: 查询省市信息(不包括区)
  23508. tags:
  23509. - 定制【海商报业】
  23510. /HSBY/SetHsbyMyPackagesStatus:
  23511. post:
  23512. parameters:
  23513. - description: 提货单号
  23514. in: query
  23515. name: takeOrderID
  23516. required: true
  23517. type: string
  23518. - description: 资金账号
  23519. in: query
  23520. name: accountID
  23521. required: true
  23522. type: integer
  23523. produces:
  23524. - application/json
  23525. responses:
  23526. "200":
  23527. description: OK
  23528. schema:
  23529. $ref: '#/definitions/app.Response'
  23530. "500":
  23531. description: Internal Server Error
  23532. schema:
  23533. $ref: '#/definitions/app.Response'
  23534. security:
  23535. - ApiKeyAuth: []
  23536. summary: 设置我的包裹已收货状态
  23537. tags:
  23538. - 定制【海商报业】
  23539. /Market/GetAllExExchanges:
  23540. get:
  23541. produces:
  23542. - application/json
  23543. responses:
  23544. "200":
  23545. description: OK
  23546. schema:
  23547. $ref: '#/definitions/models.Goods'
  23548. "500":
  23549. description: Internal Server Error
  23550. schema:
  23551. $ref: '#/definitions/app.Response'
  23552. security:
  23553. - ApiKeyAuth: []
  23554. summary: 获取所有外部交易所信息
  23555. tags:
  23556. - 通用市场
  23557. /Market/QueryGoodsesByLoginID:
  23558. get:
  23559. parameters:
  23560. - description: 登录账号
  23561. in: query
  23562. name: loginID
  23563. required: true
  23564. type: integer
  23565. - description: 市场ID列表,格式:1,2,3
  23566. in: query
  23567. name: marketIDs
  23568. type: string
  23569. produces:
  23570. - application/json
  23571. responses:
  23572. "200":
  23573. description: OK
  23574. schema:
  23575. $ref: '#/definitions/models.Goods'
  23576. "500":
  23577. description: Internal Server Error
  23578. schema:
  23579. $ref: '#/definitions/app.Response'
  23580. security:
  23581. - ApiKeyAuth: []
  23582. summary: 获取登录账号有权限的商品信息
  23583. tags:
  23584. - 通用市场
  23585. /Market/QueryMarketRun:
  23586. get:
  23587. parameters:
  23588. - description: 市场ID,不传返回所有
  23589. in: query
  23590. name: marketID
  23591. type: integer
  23592. produces:
  23593. - application/json
  23594. responses:
  23595. "200":
  23596. description: OK
  23597. schema:
  23598. $ref: '#/definitions/models.Marketrun'
  23599. "500":
  23600. description: Internal Server Error
  23601. schema:
  23602. $ref: '#/definitions/app.Response'
  23603. security:
  23604. - ApiKeyAuth: []
  23605. summary: 查询市场运行信息
  23606. tags:
  23607. - 通用市场
  23608. /Market/QueryMarketsByLoginID:
  23609. get:
  23610. parameters:
  23611. - description: 登录账号
  23612. in: query
  23613. name: loginID
  23614. required: true
  23615. type: integer
  23616. produces:
  23617. - application/json
  23618. responses:
  23619. "200":
  23620. description: OK
  23621. schema:
  23622. $ref: '#/definitions/models.Market'
  23623. "500":
  23624. description: Internal Server Error
  23625. schema:
  23626. $ref: '#/definitions/app.Response'
  23627. security:
  23628. - ApiKeyAuth: []
  23629. summary: 获取登录账号有权限的市场信息
  23630. tags:
  23631. - 通用市场
  23632. /Order/QueryHisTradeDetail:
  23633. get:
  23634. parameters:
  23635. - description: 资金账户 - 格式:1,2,3
  23636. in: query
  23637. name: accountID
  23638. required: true
  23639. type: string
  23640. - description: 成交单号
  23641. in: query
  23642. name: tradeID
  23643. type: integer
  23644. - description: 委托单号
  23645. in: query
  23646. name: orderID
  23647. type: integer
  23648. - description: 商品ID
  23649. in: query
  23650. name: goodsID
  23651. type: integer
  23652. - description: 交易模式 - 格式:1,2,3
  23653. in: query
  23654. name: tradeMode
  23655. type: string
  23656. - description: 委托单据类型
  23657. in: query
  23658. name: buildType
  23659. type: integer
  23660. - description: 成交类别 - 格式:1,2,3
  23661. in: query
  23662. name: tradeType
  23663. type: string
  23664. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  23665. in: query
  23666. name: startDate
  23667. type: string
  23668. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  23669. in: query
  23670. name: endDate
  23671. type: string
  23672. produces:
  23673. - application/json
  23674. responses:
  23675. "200":
  23676. description: OK
  23677. schema:
  23678. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  23679. "500":
  23680. description: Internal Server Error
  23681. schema:
  23682. $ref: '#/definitions/app.Response'
  23683. security:
  23684. - ApiKeyAuth: []
  23685. summary: 历史成交单查询(合约市场)
  23686. tags:
  23687. - 通用单据
  23688. /Order/QueryHisTradeOrderDetail:
  23689. get:
  23690. parameters:
  23691. - description: 资金账户 - 格式:1,2,3
  23692. in: query
  23693. name: accountID
  23694. required: true
  23695. type: string
  23696. - description: 交易模式 - 格式:1,2,3
  23697. in: query
  23698. name: tradeMode
  23699. type: string
  23700. - description: 委托状态 - 格式:1,2,3
  23701. in: query
  23702. name: orderStatus
  23703. type: string
  23704. - description: 委托单号
  23705. in: query
  23706. name: orderID
  23707. type: integer
  23708. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  23709. in: query
  23710. name: startDate
  23711. type: string
  23712. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  23713. in: query
  23714. name: endDate
  23715. type: string
  23716. produces:
  23717. - application/json
  23718. responses:
  23719. "200":
  23720. description: OK
  23721. schema:
  23722. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  23723. "500":
  23724. description: Internal Server Error
  23725. schema:
  23726. $ref: '#/definitions/app.Response'
  23727. security:
  23728. - ApiKeyAuth: []
  23729. summary: 历史委托单查询请求(合约市场)
  23730. tags:
  23731. - 通用单据
  23732. /Order/QueryTradeDetail:
  23733. get:
  23734. parameters:
  23735. - description: 资金账户 - 格式:1,2,3
  23736. in: query
  23737. name: accountID
  23738. required: true
  23739. type: string
  23740. - description: 成交单号
  23741. in: query
  23742. name: tradeID
  23743. type: integer
  23744. - description: 委托单号
  23745. in: query
  23746. name: orderID
  23747. type: integer
  23748. - description: 交易模式 - 格式:1,2,3
  23749. in: query
  23750. name: tradeMode
  23751. type: string
  23752. - description: 委托单据类型
  23753. in: query
  23754. name: buildType
  23755. type: integer
  23756. - description: 成交类别 - 格式:1,2,3
  23757. in: query
  23758. name: tradeType
  23759. type: string
  23760. - description: 商品ID
  23761. in: query
  23762. name: goodsID
  23763. type: integer
  23764. produces:
  23765. - application/json
  23766. responses:
  23767. "200":
  23768. description: OK
  23769. schema:
  23770. $ref: '#/definitions/order.QueryTradeDetailRsp'
  23771. "500":
  23772. description: Internal Server Error
  23773. schema:
  23774. $ref: '#/definitions/app.Response'
  23775. security:
  23776. - ApiKeyAuth: []
  23777. summary: 成交单查询(合约市场)
  23778. tags:
  23779. - 通用单据
  23780. /Order/QueryTradeHolderDetail:
  23781. get:
  23782. parameters:
  23783. - description: 用户id
  23784. in: query
  23785. name: userid
  23786. type: integer
  23787. - description: 资金账号, 格式 1,2,3
  23788. in: query
  23789. name: accids
  23790. type: string
  23791. - description: 交易模式, 格式 1,2,3
  23792. in: query
  23793. name: trademodes
  23794. type: string
  23795. - description: 市场id, 格式 1,2,3
  23796. in: query
  23797. name: marketids
  23798. type: string
  23799. - description: 商品id
  23800. in: query
  23801. name: goodsid
  23802. type: integer
  23803. - description: 买卖方向 0-买 1-卖
  23804. in: query
  23805. name: buyorsell
  23806. type: integer
  23807. produces:
  23808. - application/json
  23809. responses:
  23810. "200":
  23811. description: OK
  23812. schema:
  23813. items:
  23814. $ref: '#/definitions/models.TradeHolderDetail'
  23815. type: array
  23816. "500":
  23817. description: Internal Server Error
  23818. schema:
  23819. $ref: '#/definitions/app.Response'
  23820. security:
  23821. - ApiKeyAuth: []
  23822. summary: 查询持仓明细
  23823. tags:
  23824. - 通用单据
  23825. /Order/QueryTradeOrderDetail:
  23826. get:
  23827. parameters:
  23828. - description: 资金账户 - 格式:1,2,3
  23829. in: query
  23830. name: accountID
  23831. required: true
  23832. type: string
  23833. - description: 交易模式 - 格式:1,2,3
  23834. in: query
  23835. name: tradeMode
  23836. type: string
  23837. - description: 委托状态 - 格式:1,2,3
  23838. in: query
  23839. name: orderStatus
  23840. type: string
  23841. - description: 委托单号
  23842. in: query
  23843. name: orderID
  23844. type: integer
  23845. produces:
  23846. - application/json
  23847. responses:
  23848. "200":
  23849. description: OK
  23850. schema:
  23851. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  23852. "500":
  23853. description: Internal Server Error
  23854. schema:
  23855. $ref: '#/definitions/app.Response'
  23856. security:
  23857. - ApiKeyAuth: []
  23858. summary: 委托单查询请求(合约市场)
  23859. tags:
  23860. - 通用单据
  23861. /Order/QueryTradePosition:
  23862. get:
  23863. parameters:
  23864. - description: 资金账户 - 格式:1,2,3
  23865. in: query
  23866. name: accountID
  23867. required: true
  23868. type: string
  23869. - description: 交易模式 - 格式:1,2,3
  23870. in: query
  23871. name: tradeMode
  23872. type: string
  23873. produces:
  23874. - application/json
  23875. responses:
  23876. "200":
  23877. description: OK
  23878. schema:
  23879. $ref: '#/definitions/order.QueryTradePositionRsp'
  23880. "500":
  23881. description: Internal Server Error
  23882. schema:
  23883. $ref: '#/definitions/app.Response'
  23884. security:
  23885. - ApiKeyAuth: []
  23886. summary: 持仓汇总查询(合约市场)
  23887. tags:
  23888. - 通用单据
  23889. /Qhj/QueryAccountInOutApply:
  23890. get:
  23891. parameters:
  23892. - description: 用户ID
  23893. in: query
  23894. name: userid
  23895. required: true
  23896. type: integer
  23897. - description: 申请起始日期(格式yyyymmdd)
  23898. in: query
  23899. name: begindate
  23900. type: string
  23901. - description: 申请截止日期(格式yyyymmdd)
  23902. in: query
  23903. name: enddate
  23904. type: string
  23905. - description: 模糊搜索名称
  23906. in: query
  23907. name: likename
  23908. type: string
  23909. produces:
  23910. - application/json
  23911. responses:
  23912. "200":
  23913. description: OK
  23914. schema:
  23915. items:
  23916. $ref: '#/definitions/models.QhjAccountOutInApply'
  23917. type: array
  23918. "500":
  23919. description: Internal Server Error
  23920. schema:
  23921. $ref: '#/definitions/app.Response'
  23922. security:
  23923. - ApiKeyAuth: []
  23924. summary: 查询充值提现
  23925. tags:
  23926. - 大连千海金
  23927. /Qhj/QueryAreaFinanceConfig:
  23928. get:
  23929. parameters:
  23930. - description: 机构用户ID 其他做市关系,都设置为 1
  23931. in: query
  23932. name: userid
  23933. type: integer
  23934. produces:
  23935. - application/json
  23936. responses:
  23937. "200":
  23938. description: OK
  23939. schema:
  23940. items:
  23941. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  23942. type: array
  23943. "500":
  23944. description: Internal Server Error
  23945. schema:
  23946. $ref: '#/definitions/app.Response'
  23947. security:
  23948. - ApiKeyAuth: []
  23949. summary: 查询企业配置表
  23950. tags:
  23951. - 大连千海金
  23952. /Qhj/QueryBankAccountSign:
  23953. get:
  23954. parameters:
  23955. - description: 用户ID
  23956. in: query
  23957. name: userid
  23958. required: true
  23959. type: integer
  23960. produces:
  23961. - application/json
  23962. responses:
  23963. "200":
  23964. description: OK
  23965. schema:
  23966. items:
  23967. $ref: '#/definitions/models.QhjBankAccountSign'
  23968. type: array
  23969. "500":
  23970. description: Internal Server Error
  23971. schema:
  23972. $ref: '#/definitions/app.Response'
  23973. security:
  23974. - ApiKeyAuth: []
  23975. summary: 查询签约银行信息(提现账户管理)
  23976. tags:
  23977. - 大连千海金
  23978. /Qhj/QueryBankInfo:
  23979. get:
  23980. produces:
  23981. - application/json
  23982. responses:
  23983. "200":
  23984. description: OK
  23985. schema:
  23986. items:
  23987. $ref: '#/definitions/models.QhjBankInfo'
  23988. type: array
  23989. "500":
  23990. description: Internal Server Error
  23991. schema:
  23992. $ref: '#/definitions/app.Response'
  23993. security:
  23994. - ApiKeyAuth: []
  23995. summary: 查询开户行
  23996. tags:
  23997. - 大连千海金
  23998. /Qhj/QueryBrokerApply:
  23999. get:
  24000. parameters:
  24001. - description: 所属机构ID
  24002. in: query
  24003. name: userid
  24004. type: integer
  24005. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24006. in: query
  24007. name: filterstatus
  24008. type: string
  24009. produces:
  24010. - application/json
  24011. responses:
  24012. "200":
  24013. description: OK
  24014. schema:
  24015. items:
  24016. $ref: '#/definitions/models.QhjBrokerApply'
  24017. type: array
  24018. "500":
  24019. description: Internal Server Error
  24020. schema:
  24021. $ref: '#/definitions/app.Response'
  24022. security:
  24023. - ApiKeyAuth: []
  24024. summary: 查询经纪人申请
  24025. tags:
  24026. - 大连千海金
  24027. /Qhj/QueryBrokerApplyEx:
  24028. get:
  24029. parameters:
  24030. - description: 所属机构ID
  24031. in: query
  24032. name: userid
  24033. type: integer
  24034. produces:
  24035. - application/json
  24036. responses:
  24037. "200":
  24038. description: OK
  24039. schema:
  24040. items:
  24041. $ref: '#/definitions/models.QhjBrokerApplyEx'
  24042. type: array
  24043. "500":
  24044. description: Internal Server Error
  24045. schema:
  24046. $ref: '#/definitions/app.Response'
  24047. security:
  24048. - ApiKeyAuth: []
  24049. summary: 查询经纪人信息和申请记录
  24050. tags:
  24051. - 大连千海金
  24052. /Qhj/QueryBrokerRewardLog:
  24053. get:
  24054. parameters:
  24055. - description: 用户ID
  24056. in: query
  24057. name: userid
  24058. required: true
  24059. type: integer
  24060. - description: 开始交易日(yyyymmdd)
  24061. in: query
  24062. name: begindate
  24063. type: string
  24064. - description: 结束交易日(yyyymmdd)
  24065. in: query
  24066. name: enddate
  24067. type: string
  24068. produces:
  24069. - application/json
  24070. responses:
  24071. "200":
  24072. description: OK
  24073. schema:
  24074. items:
  24075. $ref: '#/definitions/models.QhjBrokerRewardLog'
  24076. type: array
  24077. "500":
  24078. description: Internal Server Error
  24079. schema:
  24080. $ref: '#/definitions/app.Response'
  24081. security:
  24082. - ApiKeyAuth: []
  24083. summary: 查询奖励流水(我的奖励)
  24084. tags:
  24085. - 大连千海金
  24086. /Qhj/QueryContract:
  24087. get:
  24088. parameters:
  24089. - description: 用户ID
  24090. in: query
  24091. name: userid
  24092. type: integer
  24093. - description: scf合同id
  24094. in: query
  24095. name: scfcontractid
  24096. type: integer
  24097. produces:
  24098. - application/json
  24099. responses:
  24100. "200":
  24101. description: OK
  24102. schema:
  24103. items:
  24104. $ref: '#/definitions/models.QhjContract'
  24105. type: array
  24106. "500":
  24107. description: Internal Server Error
  24108. schema:
  24109. $ref: '#/definitions/app.Response'
  24110. security:
  24111. - ApiKeyAuth: []
  24112. summary: 查询融资明细(合同)
  24113. tags:
  24114. - 大连千海金
  24115. /Qhj/QueryContractLog:
  24116. get:
  24117. parameters:
  24118. - description: scf合同id
  24119. in: query
  24120. name: scfcontractid
  24121. required: true
  24122. type: integer
  24123. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  24124. in: query
  24125. name: amounttype
  24126. type: string
  24127. produces:
  24128. - application/json
  24129. responses:
  24130. "200":
  24131. description: OK
  24132. schema:
  24133. items:
  24134. $ref: '#/definitions/models.QhjContractLog'
  24135. type: array
  24136. "500":
  24137. description: Internal Server Error
  24138. schema:
  24139. $ref: '#/definitions/app.Response'
  24140. security:
  24141. - ApiKeyAuth: []
  24142. summary: 查询融资明细流水(融资明细详情页中的流水)
  24143. tags:
  24144. - 大连千海金
  24145. /Qhj/QueryCusBankSignBank:
  24146. get:
  24147. produces:
  24148. - application/json
  24149. responses:
  24150. "200":
  24151. description: OK
  24152. schema:
  24153. items:
  24154. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  24155. type: array
  24156. "500":
  24157. description: Internal Server Error
  24158. schema:
  24159. $ref: '#/definitions/app.Response'
  24160. security:
  24161. - ApiKeyAuth: []
  24162. summary: 查询托管银行
  24163. tags:
  24164. - 大连千海金
  24165. /Qhj/QueryCustomerInfo:
  24166. get:
  24167. parameters:
  24168. - description: 用户ID
  24169. in: query
  24170. name: userid
  24171. required: true
  24172. type: integer
  24173. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  24174. in: query
  24175. name: querytype
  24176. required: true
  24177. type: integer
  24178. - description: 客户类型 1-个人 2-企业
  24179. in: query
  24180. name: userinfotype
  24181. type: integer
  24182. - description: 客户名称(模糊匹配)
  24183. in: query
  24184. name: customername
  24185. type: string
  24186. - description: 昵称(模糊匹配)
  24187. in: query
  24188. name: nickname
  24189. type: string
  24190. - description: 是否包含子级 1-包含
  24191. in: query
  24192. name: includesub
  24193. type: integer
  24194. produces:
  24195. - application/json
  24196. responses:
  24197. "200":
  24198. description: OK
  24199. schema:
  24200. items:
  24201. $ref: '#/definitions/models.QhjCustomer'
  24202. type: array
  24203. "500":
  24204. description: Internal Server Error
  24205. schema:
  24206. $ref: '#/definitions/app.Response'
  24207. security:
  24208. - ApiKeyAuth: []
  24209. summary: 查询客户资料
  24210. tags:
  24211. - 大连千海金
  24212. /Qhj/QueryGoodsEx:
  24213. get:
  24214. parameters:
  24215. - description: 商品id
  24216. in: query
  24217. name: goodsid
  24218. type: integer
  24219. produces:
  24220. - application/json
  24221. responses:
  24222. "200":
  24223. description: OK
  24224. schema:
  24225. items:
  24226. $ref: '#/definitions/models.Qhjgoodsex'
  24227. type: array
  24228. "500":
  24229. description: Internal Server Error
  24230. schema:
  24231. $ref: '#/definitions/app.Response'
  24232. security:
  24233. - ApiKeyAuth: []
  24234. summary: 交易商品扩展表
  24235. tags:
  24236. - 大连千海金
  24237. /Qhj/QueryMyTeam:
  24238. get:
  24239. parameters:
  24240. - description: 用户ID
  24241. in: query
  24242. name: userid
  24243. required: true
  24244. type: integer
  24245. produces:
  24246. - application/json
  24247. responses:
  24248. "200":
  24249. description: OK
  24250. schema:
  24251. items:
  24252. $ref: '#/definitions/models.QhjMyTeamEx'
  24253. type: array
  24254. "500":
  24255. description: Internal Server Error
  24256. schema:
  24257. $ref: '#/definitions/app.Response'
  24258. security:
  24259. - ApiKeyAuth: []
  24260. summary: 查询我的团队
  24261. tags:
  24262. - 大连千海金
  24263. /Qhj/QueryMyTeamOrder:
  24264. get:
  24265. parameters:
  24266. - description: 页码
  24267. in: query
  24268. name: page
  24269. type: integer
  24270. - description: 每页条数
  24271. in: query
  24272. name: pagesize
  24273. type: integer
  24274. - description: 用户ID
  24275. in: query
  24276. name: userid
  24277. required: true
  24278. type: integer
  24279. - description: 交易模式
  24280. in: query
  24281. name: trademode
  24282. type: integer
  24283. - description: 名称(模糊搜索账户)
  24284. in: query
  24285. name: filtername
  24286. type: string
  24287. produces:
  24288. - application/json
  24289. responses:
  24290. "200":
  24291. description: OK
  24292. schema:
  24293. items:
  24294. $ref: '#/definitions/models.QhjTeamOrder'
  24295. type: array
  24296. "500":
  24297. description: Internal Server Error
  24298. schema:
  24299. $ref: '#/definitions/app.Response'
  24300. security:
  24301. - ApiKeyAuth: []
  24302. summary: 查询团队订单(我的团队/团队订单)
  24303. tags:
  24304. - 大连千海金
  24305. /Qhj/QueryParentAreaList:
  24306. get:
  24307. parameters:
  24308. - description: 用户ID
  24309. in: query
  24310. name: userid
  24311. required: true
  24312. type: integer
  24313. produces:
  24314. - application/json
  24315. responses:
  24316. "200":
  24317. description: OK
  24318. schema:
  24319. items:
  24320. $ref: '#/definitions/models.QhjParentAreaList'
  24321. type: array
  24322. "500":
  24323. description: Internal Server Error
  24324. schema:
  24325. $ref: '#/definitions/app.Response'
  24326. security:
  24327. - ApiKeyAuth: []
  24328. summary: 查询所属机构列表
  24329. tags:
  24330. - 大连千海金
  24331. /Qhj/QueryPayOrder:
  24332. get:
  24333. parameters:
  24334. - description: 资金账号id
  24335. in: query
  24336. name: accountid
  24337. required: true
  24338. type: integer
  24339. - description: 成交单号
  24340. in: query
  24341. name: tradeid
  24342. type: integer
  24343. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  24344. in: query
  24345. name: payflag
  24346. type: string
  24347. produces:
  24348. - application/json
  24349. responses:
  24350. "200":
  24351. description: OK
  24352. schema:
  24353. items:
  24354. $ref: '#/definitions/models.QhjPayOrder'
  24355. type: array
  24356. "500":
  24357. description: Internal Server Error
  24358. schema:
  24359. $ref: '#/definitions/app.Response'
  24360. security:
  24361. - ApiKeyAuth: []
  24362. summary: 查询待付款单据
  24363. tags:
  24364. - 大连千海金
  24365. /Qhj/QueryPickArea:
  24366. get:
  24367. parameters:
  24368. - description: 用户ID
  24369. in: query
  24370. name: userid
  24371. type: integer
  24372. produces:
  24373. - application/json
  24374. responses:
  24375. "200":
  24376. description: OK
  24377. schema:
  24378. items:
  24379. $ref: '#/definitions/models.QhjPickArea'
  24380. type: array
  24381. "500":
  24382. description: Internal Server Error
  24383. schema:
  24384. $ref: '#/definitions/app.Response'
  24385. security:
  24386. - ApiKeyAuth: []
  24387. summary: 查询提货门店
  24388. tags:
  24389. - 大连千海金
  24390. /Qhj/QueryPickGoods:
  24391. get:
  24392. parameters:
  24393. - description: 交易商品id
  24394. in: query
  24395. name: goodsid
  24396. required: true
  24397. type: integer
  24398. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  24399. in: query
  24400. name: status
  24401. type: string
  24402. produces:
  24403. - application/json
  24404. responses:
  24405. "200":
  24406. description: OK
  24407. schema:
  24408. items:
  24409. $ref: '#/definitions/models.QhjPickGoods'
  24410. type: array
  24411. "500":
  24412. description: Internal Server Error
  24413. schema:
  24414. $ref: '#/definitions/app.Response'
  24415. security:
  24416. - ApiKeyAuth: []
  24417. summary: 查询提货商品
  24418. tags:
  24419. - 大连千海金
  24420. /Qhj/QueryRSTriggerLog:
  24421. get:
  24422. parameters:
  24423. - description: 用户ID
  24424. in: query
  24425. name: userid
  24426. type: integer
  24427. - description: 定投策略id
  24428. in: query
  24429. name: regularlystrategyid
  24430. type: integer
  24431. - description: 商品id
  24432. in: query
  24433. name: goodsid
  24434. type: integer
  24435. - description: 开始交易日(yyyymmdd)
  24436. in: query
  24437. name: begindate
  24438. type: string
  24439. - description: 结束交易日(yyyymmdd)
  24440. in: query
  24441. name: enddate
  24442. type: string
  24443. - description: 名称(模糊搜索账户)
  24444. in: query
  24445. name: filtername
  24446. type: string
  24447. produces:
  24448. - application/json
  24449. responses:
  24450. "200":
  24451. description: OK
  24452. schema:
  24453. items:
  24454. $ref: '#/definitions/models.QhjRSTriggerLog'
  24455. type: array
  24456. "500":
  24457. description: Internal Server Error
  24458. schema:
  24459. $ref: '#/definitions/app.Response'
  24460. security:
  24461. - ApiKeyAuth: []
  24462. summary: 查询定投记录(定投管理/详情/定投记录)
  24463. tags:
  24464. - 大连千海金
  24465. /Qhj/QueryRStrategy:
  24466. get:
  24467. parameters:
  24468. - description: 用户ID
  24469. in: query
  24470. name: userid
  24471. type: integer
  24472. - description: 商品id
  24473. in: query
  24474. name: goodsid
  24475. type: integer
  24476. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  24477. in: query
  24478. name: status
  24479. type: string
  24480. - description: 名称(模糊搜索账户)
  24481. in: query
  24482. name: filtername
  24483. type: string
  24484. produces:
  24485. - application/json
  24486. responses:
  24487. "200":
  24488. description: OK
  24489. schema:
  24490. items:
  24491. $ref: '#/definitions/models.QhjRStrategy'
  24492. type: array
  24493. "500":
  24494. description: Internal Server Error
  24495. schema:
  24496. $ref: '#/definitions/app.Response'
  24497. security:
  24498. - ApiKeyAuth: []
  24499. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  24500. tags:
  24501. - 大连千海金
  24502. /Qhj/QueryReckonPriceLog:
  24503. get:
  24504. parameters:
  24505. - description: 商品ID
  24506. in: query
  24507. name: goodsid
  24508. type: integer
  24509. - description: 交易日 格式(yyyymmdd)
  24510. in: query
  24511. name: tradedate
  24512. type: string
  24513. produces:
  24514. - application/json
  24515. responses:
  24516. "200":
  24517. description: OK
  24518. schema:
  24519. items:
  24520. $ref: '#/definitions/models.QhjReckonPriceLog'
  24521. type: array
  24522. "500":
  24523. description: Internal Server Error
  24524. schema:
  24525. $ref: '#/definitions/app.Response'
  24526. security:
  24527. - ApiKeyAuth: []
  24528. summary: 查询定投价(结算价)
  24529. tags:
  24530. - 大连千海金
  24531. /Qhj/QueryScoreLog:
  24532. get:
  24533. parameters:
  24534. - description: 用户ID
  24535. in: query
  24536. name: userid
  24537. required: true
  24538. type: integer
  24539. - description: 开始交易日(yyyymmdd)
  24540. in: query
  24541. name: begindate
  24542. type: string
  24543. - description: 结束交易日(yyyymmdd)
  24544. in: query
  24545. name: enddate
  24546. type: string
  24547. - description: 最近多少条
  24548. in: query
  24549. name: lastnum
  24550. type: integer
  24551. produces:
  24552. - application/json
  24553. responses:
  24554. "200":
  24555. description: OK
  24556. schema:
  24557. items:
  24558. $ref: '#/definitions/models.QhjScoreLog'
  24559. type: array
  24560. "500":
  24561. description: Internal Server Error
  24562. schema:
  24563. $ref: '#/definitions/app.Response'
  24564. security:
  24565. - ApiKeyAuth: []
  24566. summary: 查询积分流水(我的积分)
  24567. tags:
  24568. - 大连千海金
  24569. /Qhj/QuerySiteColumnDetail:
  24570. get:
  24571. parameters:
  24572. - description: 用户ID
  24573. in: query
  24574. name: userid
  24575. required: true
  24576. type: integer
  24577. produces:
  24578. - application/json
  24579. responses:
  24580. "200":
  24581. description: OK
  24582. schema:
  24583. items:
  24584. $ref: '#/definitions/models.QhjSiteColumnDetail'
  24585. type: array
  24586. "500":
  24587. description: Internal Server Error
  24588. schema:
  24589. $ref: '#/definitions/app.Response'
  24590. security:
  24591. - ApiKeyAuth: []
  24592. summary: 查询资讯
  24593. tags:
  24594. - 大连千海金
  24595. /Qhj/QueryTradeGoodsPickup:
  24596. get:
  24597. parameters:
  24598. - description: 用户ID
  24599. in: query
  24600. name: userid
  24601. required: true
  24602. type: integer
  24603. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销
  24604. in: query
  24605. name: takeorderstatus
  24606. type: integer
  24607. produces:
  24608. - application/json
  24609. responses:
  24610. "200":
  24611. description: OK
  24612. schema:
  24613. items:
  24614. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  24615. type: array
  24616. "500":
  24617. description: Internal Server Error
  24618. schema:
  24619. $ref: '#/definitions/app.Response'
  24620. security:
  24621. - ApiKeyAuth: []
  24622. summary: 查询提货
  24623. tags:
  24624. - 大连千海金
  24625. /Qhj/QueryUserCollectConfig:
  24626. get:
  24627. parameters:
  24628. - description: 用户ID
  24629. in: query
  24630. name: userid
  24631. required: true
  24632. type: integer
  24633. produces:
  24634. - application/json
  24635. responses:
  24636. "200":
  24637. description: OK
  24638. schema:
  24639. items:
  24640. $ref: '#/definitions/models.UserCollectConfig'
  24641. type: array
  24642. "500":
  24643. description: Internal Server Error
  24644. schema:
  24645. $ref: '#/definitions/app.Response'
  24646. security:
  24647. - ApiKeyAuth: []
  24648. summary: 查询提现账户设置
  24649. tags:
  24650. - 大连千海金
  24651. /Qhj/QueryUserReceiveInfo:
  24652. get:
  24653. parameters:
  24654. - description: 用户ID
  24655. in: query
  24656. name: userid
  24657. required: true
  24658. type: integer
  24659. produces:
  24660. - application/json
  24661. responses:
  24662. "200":
  24663. description: OK
  24664. schema:
  24665. items:
  24666. $ref: '#/definitions/models.UserReceiveInfo'
  24667. type: array
  24668. "500":
  24669. description: Internal Server Error
  24670. schema:
  24671. $ref: '#/definitions/app.Response'
  24672. security:
  24673. - ApiKeyAuth: []
  24674. summary: 查询收货地址信息
  24675. tags:
  24676. - 大连千海金
  24677. /QhjMgr/QueryAccountInOutApply:
  24678. get:
  24679. parameters:
  24680. - description: 查询类型 1-提现(出金) 2-充值(出金)
  24681. in: query
  24682. name: querytype
  24683. required: true
  24684. type: integer
  24685. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  24686. in: query
  24687. name: applystatus
  24688. type: integer
  24689. - description: 申请起始日期(格式yyyymmdd)
  24690. in: query
  24691. name: begindate
  24692. type: string
  24693. - description: 申请截止日期(格式yyyymmdd)
  24694. in: query
  24695. name: enddate
  24696. type: string
  24697. - description: 模糊搜索名称
  24698. in: query
  24699. name: likename
  24700. type: string
  24701. produces:
  24702. - application/json
  24703. responses:
  24704. "200":
  24705. description: OK
  24706. schema:
  24707. items:
  24708. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  24709. type: array
  24710. "500":
  24711. description: Internal Server Error
  24712. schema:
  24713. $ref: '#/definitions/app.Response'
  24714. security:
  24715. - ApiKeyAuth: []
  24716. summary: 查询充值提现
  24717. tags:
  24718. - 大连千海金(PCWeb)
  24719. /QhjMgr/QueryBrokerApply:
  24720. get:
  24721. parameters:
  24722. - description: 所属机构ID
  24723. in: query
  24724. name: userid
  24725. type: integer
  24726. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24727. in: query
  24728. name: filterstatus
  24729. type: string
  24730. - description: 名称(模糊匹配)
  24731. in: query
  24732. name: filtername
  24733. type: string
  24734. - description: 是否包含子级 1-包含
  24735. in: query
  24736. name: includesub
  24737. type: integer
  24738. produces:
  24739. - application/json
  24740. responses:
  24741. "200":
  24742. description: OK
  24743. schema:
  24744. items:
  24745. $ref: '#/definitions/models.QhjMgrBrokerApply'
  24746. type: array
  24747. "500":
  24748. description: Internal Server Error
  24749. schema:
  24750. $ref: '#/definitions/app.Response'
  24751. security:
  24752. - ApiKeyAuth: []
  24753. summary: 查询经纪人申请
  24754. tags:
  24755. - 大连千海金(PCWeb)
  24756. /QhjMgr/QueryBrokerRewardReport:
  24757. get:
  24758. parameters:
  24759. - description: 所属机构ID
  24760. in: query
  24761. name: userid
  24762. required: true
  24763. type: integer
  24764. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24765. in: query
  24766. name: cycletype
  24767. required: true
  24768. type: integer
  24769. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  24770. in: query
  24771. name: cycletime
  24772. required: true
  24773. type: string
  24774. - description: 名称(模糊匹配)
  24775. in: query
  24776. name: filtername
  24777. type: string
  24778. - description: 是否包含子级 1-包含
  24779. in: query
  24780. name: includesub
  24781. type: integer
  24782. produces:
  24783. - application/json
  24784. responses:
  24785. "200":
  24786. description: OK
  24787. schema:
  24788. items:
  24789. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  24790. type: array
  24791. "500":
  24792. description: Internal Server Error
  24793. schema:
  24794. $ref: '#/definitions/app.Response'
  24795. security:
  24796. - ApiKeyAuth: []
  24797. summary: 查询经纪人奖励报表(废弃)
  24798. tags:
  24799. - 大连千海金(PCWeb)
  24800. /QhjMgr/QueryContract:
  24801. get:
  24802. parameters:
  24803. - description: 用户ID
  24804. in: query
  24805. name: userid
  24806. type: integer
  24807. - description: 商品id
  24808. in: query
  24809. name: goodsid
  24810. type: integer
  24811. - description: 名称(模糊搜索账户)
  24812. in: query
  24813. name: filtername
  24814. type: string
  24815. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  24816. in: query
  24817. name: risklevel
  24818. type: string
  24819. - description: 开始交易日(yyyymmdd)
  24820. in: query
  24821. name: begindate
  24822. type: string
  24823. - description: 结束交易日(yyyymmdd)
  24824. in: query
  24825. name: enddate
  24826. type: string
  24827. produces:
  24828. - application/json
  24829. responses:
  24830. "200":
  24831. description: OK
  24832. schema:
  24833. items:
  24834. $ref: '#/definitions/models.QhjMgrContract'
  24835. type: array
  24836. "500":
  24837. description: Internal Server Error
  24838. schema:
  24839. $ref: '#/definitions/app.Response'
  24840. security:
  24841. - ApiKeyAuth: []
  24842. summary: 查询融资信息(合同)
  24843. tags:
  24844. - 大连千海金(PCWeb)
  24845. /QhjMgr/QueryCustomerInfo:
  24846. get:
  24847. parameters:
  24848. - description: 用户ID
  24849. in: query
  24850. name: userid
  24851. required: true
  24852. type: integer
  24853. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  24854. in: query
  24855. name: querytype
  24856. required: true
  24857. type: integer
  24858. - description: 客户类型 1-个人 2-企业
  24859. in: query
  24860. name: userinfotype
  24861. type: integer
  24862. - description: 客户名称(模糊匹配)
  24863. in: query
  24864. name: customername
  24865. type: string
  24866. - description: 昵称(模糊匹配)
  24867. in: query
  24868. name: nickname
  24869. type: string
  24870. - description: 所属客户经理(模糊匹配)
  24871. in: query
  24872. name: brokername
  24873. type: string
  24874. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd, 如0503 -5月3日)
  24875. in: query
  24876. name: birthday
  24877. type: string
  24878. - description: 是否包含子级 1-包含
  24879. in: query
  24880. name: includesub
  24881. type: integer
  24882. produces:
  24883. - application/json
  24884. responses:
  24885. "200":
  24886. description: OK
  24887. schema:
  24888. items:
  24889. $ref: '#/definitions/models.QhjMgrCustomer'
  24890. type: array
  24891. "500":
  24892. description: Internal Server Error
  24893. schema:
  24894. $ref: '#/definitions/app.Response'
  24895. security:
  24896. - ApiKeyAuth: []
  24897. summary: 查询客户资料
  24898. tags:
  24899. - 大连千海金(PCWeb)
  24900. /QhjMgr/QueryPickGoods:
  24901. get:
  24902. parameters:
  24903. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  24904. in: query
  24905. name: status
  24906. type: string
  24907. produces:
  24908. - application/json
  24909. responses:
  24910. "200":
  24911. description: OK
  24912. schema:
  24913. items:
  24914. $ref: '#/definitions/models.QhjMgrPickGoods'
  24915. type: array
  24916. "500":
  24917. description: Internal Server Error
  24918. schema:
  24919. $ref: '#/definitions/app.Response'
  24920. security:
  24921. - ApiKeyAuth: []
  24922. summary: 查询提货商品
  24923. tags:
  24924. - 大连千海金(PCWeb)
  24925. /QhjMgr/QuerySubArea:
  24926. get:
  24927. parameters:
  24928. - description: 用户ID
  24929. in: query
  24930. name: userid
  24931. required: true
  24932. type: integer
  24933. produces:
  24934. - application/json
  24935. responses:
  24936. "200":
  24937. description: OK
  24938. schema:
  24939. items:
  24940. $ref: '#/definitions/models.QhjMgrSubArea'
  24941. type: array
  24942. "500":
  24943. description: Internal Server Error
  24944. schema:
  24945. $ref: '#/definitions/app.Response'
  24946. security:
  24947. - ApiKeyAuth: []
  24948. summary: 查询子机构列表
  24949. tags:
  24950. - 大连千海金(PCWeb)
  24951. /QhjMgr/QueryTradeDetail:
  24952. get:
  24953. parameters:
  24954. - description: 用户ID
  24955. in: query
  24956. name: userid
  24957. required: true
  24958. type: integer
  24959. - description: 用户类型 1-个人 2-企业
  24960. in: query
  24961. name: userinfotype
  24962. type: integer
  24963. - description: 交易模式
  24964. in: query
  24965. name: trademode
  24966. type: integer
  24967. - description: 商品id
  24968. in: query
  24969. name: goodsid
  24970. type: integer
  24971. - description: 名称(模糊搜索账户)
  24972. in: query
  24973. name: filtername
  24974. type: string
  24975. - description: 开始交易日(yyyymmdd)
  24976. in: query
  24977. name: begindate
  24978. type: string
  24979. - description: 结束交易日(yyyymmdd)
  24980. in: query
  24981. name: enddate
  24982. type: string
  24983. - description: 是否包含子级 1-包含
  24984. in: query
  24985. name: includesub
  24986. type: integer
  24987. produces:
  24988. - application/json
  24989. responses:
  24990. "200":
  24991. description: OK
  24992. schema:
  24993. items:
  24994. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  24995. type: array
  24996. "500":
  24997. description: Internal Server Error
  24998. schema:
  24999. $ref: '#/definitions/app.Response'
  25000. security:
  25001. - ApiKeyAuth: []
  25002. summary: 查询成交明细
  25003. tags:
  25004. - 大连千海金(PCWeb)
  25005. /QhjMgr/QueryTradeOrderDetail:
  25006. get:
  25007. parameters:
  25008. - description: 用户ID
  25009. in: query
  25010. name: userid
  25011. required: true
  25012. type: integer
  25013. - description: 用户类型 1-个人 2-企业
  25014. in: query
  25015. name: userinfotype
  25016. type: integer
  25017. - description: 交易模式
  25018. in: query
  25019. name: trademode
  25020. type: integer
  25021. - description: 商品id
  25022. in: query
  25023. name: goodsid
  25024. type: integer
  25025. - description: 名称(模糊搜索账户)
  25026. in: query
  25027. name: filtername
  25028. type: string
  25029. - description: 开始交易日(yyyymmdd)
  25030. in: query
  25031. name: begindate
  25032. type: string
  25033. - description: 结束交易日(yyyymmdd)
  25034. in: query
  25035. name: enddate
  25036. type: string
  25037. - description: 是否包含子级 1-包含
  25038. in: query
  25039. name: includesub
  25040. type: integer
  25041. produces:
  25042. - application/json
  25043. responses:
  25044. "200":
  25045. description: OK
  25046. schema:
  25047. items:
  25048. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  25049. type: array
  25050. "500":
  25051. description: Internal Server Error
  25052. schema:
  25053. $ref: '#/definitions/app.Response'
  25054. security:
  25055. - ApiKeyAuth: []
  25056. summary: 查询委托明细
  25057. tags:
  25058. - 大连千海金(PCWeb)
  25059. /QhjMgr/QueryTradePayOrder:
  25060. get:
  25061. parameters:
  25062. - description: 用户ID
  25063. in: query
  25064. name: userid
  25065. required: true
  25066. type: integer
  25067. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  25068. in: query
  25069. name: payflag
  25070. type: string
  25071. - description: 用户类型 1-个人 2-企业
  25072. in: query
  25073. name: userinfotype
  25074. type: integer
  25075. - description: 交易模式
  25076. in: query
  25077. name: trademode
  25078. type: integer
  25079. - description: 商品id
  25080. in: query
  25081. name: goodsid
  25082. type: integer
  25083. - description: 名称(模糊搜索账户)
  25084. in: query
  25085. name: filtername
  25086. type: string
  25087. - description: 开始交易日(yyyymmdd)
  25088. in: query
  25089. name: begindate
  25090. type: string
  25091. - description: 结束交易日(yyyymmdd)
  25092. in: query
  25093. name: enddate
  25094. type: string
  25095. - description: 是否包含子级 1-包含
  25096. in: query
  25097. name: includesub
  25098. type: integer
  25099. produces:
  25100. - application/json
  25101. responses:
  25102. "200":
  25103. description: OK
  25104. schema:
  25105. items:
  25106. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  25107. type: array
  25108. "500":
  25109. description: Internal Server Error
  25110. schema:
  25111. $ref: '#/definitions/app.Response'
  25112. security:
  25113. - ApiKeyAuth: []
  25114. summary: 查询待付款单
  25115. tags:
  25116. - 大连千海金(PCWeb)
  25117. /QhjMgr/QueryTradePosition:
  25118. get:
  25119. parameters:
  25120. - description: 用户ID
  25121. in: query
  25122. name: userid
  25123. required: true
  25124. type: integer
  25125. - description: 用户类型 1-个人 2-企业
  25126. in: query
  25127. name: userinfotype
  25128. type: integer
  25129. - description: 交易模式
  25130. in: query
  25131. name: trademode
  25132. type: integer
  25133. - description: 商品id
  25134. in: query
  25135. name: goodsid
  25136. type: integer
  25137. - description: 名称(模糊搜索账户)
  25138. in: query
  25139. name: filtername
  25140. type: string
  25141. - description: 是否包含子级 1-包含
  25142. in: query
  25143. name: includesub
  25144. type: integer
  25145. produces:
  25146. - application/json
  25147. responses:
  25148. "200":
  25149. description: OK
  25150. schema:
  25151. items:
  25152. $ref: '#/definitions/models.QhjMgrPositionRsp'
  25153. type: array
  25154. "500":
  25155. description: Internal Server Error
  25156. schema:
  25157. $ref: '#/definitions/app.Response'
  25158. security:
  25159. - ApiKeyAuth: []
  25160. summary: 查询持仓汇总
  25161. tags:
  25162. - 大连千海金(PCWeb)
  25163. /QhjSys/QueryAgreementChangeLog:
  25164. get:
  25165. parameters:
  25166. - description: 协议ID
  25167. in: query
  25168. name: agreementid
  25169. type: integer
  25170. - description: 协议版本号
  25171. in: query
  25172. name: agreementversion
  25173. type: integer
  25174. - description: 协议类型 - 1:注册 2:登录 3:交易
  25175. in: query
  25176. name: agreementtype
  25177. type: integer
  25178. - description: 协议编号(模糊匹配)
  25179. in: query
  25180. name: agreementno
  25181. type: string
  25182. - description: 协议名称(模糊匹配)
  25183. in: query
  25184. name: agreementname
  25185. type: string
  25186. produces:
  25187. - application/json
  25188. responses:
  25189. "200":
  25190. description: OK
  25191. schema:
  25192. items:
  25193. $ref: '#/definitions/models.QhjAgreementChangeLog'
  25194. type: array
  25195. "500":
  25196. description: Internal Server Error
  25197. schema:
  25198. $ref: '#/definitions/app.Response'
  25199. security:
  25200. - ApiKeyAuth: []
  25201. summary: 查询协议配置变更流水
  25202. tags:
  25203. - 大连千海金(协议和签约信息)
  25204. /QhjSys/QueryAgreementConfig:
  25205. get:
  25206. parameters:
  25207. - description: 协议ID
  25208. in: query
  25209. name: agreementid
  25210. type: integer
  25211. - description: 协议版本号
  25212. in: query
  25213. name: agreementversion
  25214. type: integer
  25215. - description: 协议类型 - 1:注册 2:登录 3:交易
  25216. in: query
  25217. name: agreementtype
  25218. type: integer
  25219. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  25220. in: query
  25221. name: isvalid
  25222. type: integer
  25223. - description: 协议编号(模糊匹配)
  25224. in: query
  25225. name: agreementno
  25226. type: string
  25227. - description: 协议名称(模糊匹配)
  25228. in: query
  25229. name: agreementname
  25230. type: string
  25231. produces:
  25232. - application/json
  25233. responses:
  25234. "200":
  25235. description: OK
  25236. schema:
  25237. items:
  25238. $ref: '#/definitions/models.QhjAgreementConfig'
  25239. type: array
  25240. "500":
  25241. description: Internal Server Error
  25242. schema:
  25243. $ref: '#/definitions/app.Response'
  25244. security:
  25245. - ApiKeyAuth: []
  25246. summary: 查询协议配置
  25247. tags:
  25248. - 大连千海金(协议和签约信息)
  25249. /QhjSys/QueryCustomerSignStatus:
  25250. get:
  25251. parameters:
  25252. - description: 客户ID
  25253. in: query
  25254. name: userid
  25255. type: integer
  25256. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  25257. in: query
  25258. name: nodetype
  25259. type: integer
  25260. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25261. in: query
  25262. name: goodsid
  25263. type: integer
  25264. - description: 创建交易日(yyyyMMdd)
  25265. in: query
  25266. name: tradedate
  25267. type: string
  25268. - description: 用户名称(模糊匹配)
  25269. in: query
  25270. name: username
  25271. type: string
  25272. produces:
  25273. - application/json
  25274. responses:
  25275. "200":
  25276. description: OK
  25277. schema:
  25278. items:
  25279. $ref: '#/definitions/models.QhjCustomerSignStatus'
  25280. type: array
  25281. "500":
  25282. description: Internal Server Error
  25283. schema:
  25284. $ref: '#/definitions/app.Response'
  25285. security:
  25286. - ApiKeyAuth: []
  25287. summary: 查询客户协议签约状态
  25288. tags:
  25289. - 大连千海金(协议和签约信息)
  25290. /QhjSys/QueryNodeAgreementConfig:
  25291. get:
  25292. parameters:
  25293. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  25294. in: query
  25295. name: configid
  25296. type: integer
  25297. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  25298. in: query
  25299. name: nodetype
  25300. type: integer
  25301. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25302. in: query
  25303. name: goodsid
  25304. type: integer
  25305. - description: 协议ID
  25306. in: query
  25307. name: agreementid
  25308. type: integer
  25309. - description: 协议类型 - 1:注册 2:登录 3:交易
  25310. in: query
  25311. name: agreementtype
  25312. type: integer
  25313. - description: 协议版本号
  25314. in: query
  25315. name: agreementversion
  25316. type: integer
  25317. - description: 协议编号(模糊匹配)
  25318. in: query
  25319. name: agreementno
  25320. type: string
  25321. - description: 协议名称(模糊匹配)
  25322. in: query
  25323. name: agreementname
  25324. type: string
  25325. produces:
  25326. - application/json
  25327. responses:
  25328. "200":
  25329. description: OK
  25330. schema:
  25331. items:
  25332. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  25333. type: array
  25334. "500":
  25335. description: Internal Server Error
  25336. schema:
  25337. $ref: '#/definitions/app.Response'
  25338. security:
  25339. - ApiKeyAuth: []
  25340. summary: 查询协议节点配置
  25341. tags:
  25342. - 大连千海金(协议和签约信息)
  25343. /QhjSys/QueryQhjCustomerSignLog:
  25344. get:
  25345. parameters:
  25346. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  25347. in: query
  25348. name: logid
  25349. type: integer
  25350. - description: 客户ID
  25351. in: query
  25352. name: userid
  25353. type: integer
  25354. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  25355. in: query
  25356. name: nodetype
  25357. type: integer
  25358. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25359. in: query
  25360. name: goodsid
  25361. type: integer
  25362. - description: 协议ID
  25363. in: query
  25364. name: agreementid
  25365. type: integer
  25366. - description: 用户名称(模糊匹配)
  25367. in: query
  25368. name: username
  25369. type: string
  25370. - description: 协议编号(模糊匹配)
  25371. in: query
  25372. name: agreementno
  25373. type: string
  25374. - description: 协议名称(模糊匹配)
  25375. in: query
  25376. name: agreementname
  25377. type: string
  25378. produces:
  25379. - application/json
  25380. responses:
  25381. "200":
  25382. description: OK
  25383. schema:
  25384. items:
  25385. $ref: '#/definitions/models.QhjCustomerSignLog'
  25386. type: array
  25387. "500":
  25388. description: Internal Server Error
  25389. schema:
  25390. $ref: '#/definitions/app.Response'
  25391. security:
  25392. - ApiKeyAuth: []
  25393. summary: 查询客户协议签约流水
  25394. tags:
  25395. - 大连千海金(协议和签约信息)
  25396. /QhjSys/QueryUserNodeCfgAndStatus:
  25397. get:
  25398. parameters:
  25399. - description: 客户ID
  25400. in: query
  25401. name: userid
  25402. type: integer
  25403. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  25404. in: query
  25405. name: configid
  25406. type: integer
  25407. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  25408. in: query
  25409. name: nodetype
  25410. type: string
  25411. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25412. in: query
  25413. name: goodsid
  25414. type: integer
  25415. - description: 协议ID
  25416. in: query
  25417. name: agreementid
  25418. type: integer
  25419. - description: 协议类型 - 1:注册 2:登录 3:交易
  25420. in: query
  25421. name: agreementtype
  25422. type: integer
  25423. - description: 协议版本号
  25424. in: query
  25425. name: agreementversion
  25426. type: integer
  25427. - description: 协议编号(模糊匹配)
  25428. in: query
  25429. name: agreementno
  25430. type: string
  25431. - description: 协议名称(模糊匹配)
  25432. in: query
  25433. name: agreementname
  25434. type: string
  25435. produces:
  25436. - application/json
  25437. responses:
  25438. "200":
  25439. description: OK
  25440. schema:
  25441. items:
  25442. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  25443. type: array
  25444. "500":
  25445. description: Internal Server Error
  25446. schema:
  25447. $ref: '#/definitions/app.Response'
  25448. security:
  25449. - ApiKeyAuth: []
  25450. summary: 查询用户协议节点配置和状态
  25451. tags:
  25452. - 大连千海金(协议和签约信息)
  25453. /Quote/QueryHistoryDatas:
  25454. get:
  25455. parameters:
  25456. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线'
  25457. in: query
  25458. name: cycleType
  25459. required: true
  25460. type: integer
  25461. - description: 商品代码
  25462. in: query
  25463. name: goodsCode
  25464. required: true
  25465. type: string
  25466. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  25467. in: query
  25468. name: startTime
  25469. type: string
  25470. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  25471. in: query
  25472. name: endTime
  25473. type: string
  25474. - description: 条数
  25475. in: query
  25476. name: count
  25477. type: integer
  25478. - description: 是否按时间顺序排序(默认为时间倒序排序)
  25479. in: query
  25480. name: isAsc
  25481. type: boolean
  25482. produces:
  25483. - application/json
  25484. responses:
  25485. "200":
  25486. description: OK
  25487. schema:
  25488. $ref: '#/definitions/quote.HistoryData'
  25489. "500":
  25490. description: Internal Server Error
  25491. schema:
  25492. $ref: '#/definitions/app.Response'
  25493. security:
  25494. - ApiKeyAuth: []
  25495. summary: 查询行情历史数据
  25496. tags:
  25497. - 行情服务
  25498. /Quote/QueryHistoryTikDatas:
  25499. get:
  25500. parameters:
  25501. - description: 商品代码
  25502. in: query
  25503. name: goodsCode
  25504. required: true
  25505. type: string
  25506. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  25507. in: query
  25508. name: startTime
  25509. type: string
  25510. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  25511. in: query
  25512. name: endTime
  25513. type: string
  25514. - description: 条数
  25515. in: query
  25516. name: count
  25517. type: integer
  25518. - description: 是否按时间顺序排序(默认为时间倒序排序)
  25519. in: query
  25520. name: isAsc
  25521. type: boolean
  25522. produces:
  25523. - application/json
  25524. responses:
  25525. "200":
  25526. description: OK
  25527. schema:
  25528. $ref: '#/definitions/quote.HistoryTikData'
  25529. "500":
  25530. description: Internal Server Error
  25531. schema:
  25532. $ref: '#/definitions/app.Response'
  25533. security:
  25534. - ApiKeyAuth: []
  25535. summary: 查询行情Tik数据
  25536. tags:
  25537. - 行情服务
  25538. /Quote/QueryQuoteDay:
  25539. get:
  25540. parameters:
  25541. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  25542. in: query
  25543. name: goodsCodes
  25544. required: true
  25545. type: string
  25546. produces:
  25547. - application/json
  25548. responses:
  25549. "200":
  25550. description: OK
  25551. schema:
  25552. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  25553. "500":
  25554. description: Internal Server Error
  25555. schema:
  25556. $ref: '#/definitions/app.Response'
  25557. security:
  25558. - ApiKeyAuth: []
  25559. summary: 获取商品盘面信息
  25560. tags:
  25561. - 行情服务
  25562. /Quote/QueryTSData:
  25563. get:
  25564. parameters:
  25565. - description: 商品代码
  25566. in: query
  25567. name: goodsCode
  25568. required: true
  25569. type: string
  25570. produces:
  25571. - application/json
  25572. responses:
  25573. "200":
  25574. description: OK
  25575. schema:
  25576. $ref: '#/definitions/quote.QueryTSDataRsp'
  25577. "500":
  25578. description: Internal Server Error
  25579. schema:
  25580. $ref: '#/definitions/app.Response'
  25581. security:
  25582. - ApiKeyAuth: []
  25583. summary: 分时图数据查询
  25584. tags:
  25585. - 行情服务
  25586. /SZDZ/QueryConvertConfig:
  25587. get:
  25588. parameters:
  25589. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)
  25590. in: query
  25591. name: convertType
  25592. type: integer
  25593. - description: 外部商品代码[JD\PD]
  25594. in: query
  25595. name: outerGoodsCode
  25596. type: string
  25597. - description: 内部商品ID列表[交易],格式:1,2,3
  25598. in: query
  25599. name: innerGoodsIDs
  25600. type: string
  25601. produces:
  25602. - application/json
  25603. responses:
  25604. "200":
  25605. description: OK
  25606. schema:
  25607. $ref: '#/definitions/models.Szdz3convertconfig'
  25608. "500":
  25609. description: Internal Server Error
  25610. schema:
  25611. $ref: '#/definitions/app.Response'
  25612. security:
  25613. - ApiKeyAuth: []
  25614. summary: 查询交易系统转换设置
  25615. tags:
  25616. - 定制【尚志大宗】
  25617. /SZDZ/QueryConvertLog:
  25618. get:
  25619. parameters:
  25620. - description: 资金账户 - 格式:1,2,3
  25621. in: query
  25622. name: accountID
  25623. required: true
  25624. type: string
  25625. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  25626. in: query
  25627. name: startDate
  25628. type: string
  25629. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  25630. in: query
  25631. name: endDate
  25632. type: string
  25633. produces:
  25634. - application/json
  25635. responses:
  25636. "200":
  25637. description: OK
  25638. schema:
  25639. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  25640. "500":
  25641. description: Internal Server Error
  25642. schema:
  25643. $ref: '#/definitions/app.Response'
  25644. security:
  25645. - ApiKeyAuth: []
  25646. summary: 交易系统转换流水查询
  25647. tags:
  25648. - 定制【尚志大宗】
  25649. /SZDZ/QueryGoodsPickup:
  25650. get:
  25651. parameters:
  25652. - description: 资金账户 - 格式:1,2,3
  25653. in: query
  25654. name: accountID
  25655. required: true
  25656. type: string
  25657. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  25658. in: query
  25659. name: takeOrderStatus
  25660. type: integer
  25661. produces:
  25662. - application/json
  25663. responses:
  25664. "200":
  25665. description: OK
  25666. schema:
  25667. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  25668. "500":
  25669. description: Internal Server Error
  25670. schema:
  25671. $ref: '#/definitions/app.Response'
  25672. security:
  25673. - ApiKeyAuth: []
  25674. summary: 商品提货单查询
  25675. tags:
  25676. - 定制【尚志大宗】
  25677. /SZDZ/QueryRecieptOrder:
  25678. get:
  25679. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  25680. parameters:
  25681. - description: 页码
  25682. in: query
  25683. name: page
  25684. type: integer
  25685. - description: 每页条数
  25686. in: query
  25687. name: pagesize
  25688. type: integer
  25689. - description: 商品ID
  25690. in: query
  25691. name: goodsID
  25692. required: true
  25693. type: integer
  25694. - description: 所属账户名称
  25695. in: query
  25696. name: accountName
  25697. type: string
  25698. - description: 市场ID
  25699. in: query
  25700. name: marketID
  25701. type: integer
  25702. - description: 方向 - 0:买 1:卖
  25703. in: query
  25704. name: buyorsell
  25705. required: true
  25706. type: integer
  25707. produces:
  25708. - application/json
  25709. responses:
  25710. "200":
  25711. description: OK
  25712. schema:
  25713. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  25714. "500":
  25715. description: Internal Server Error
  25716. schema:
  25717. $ref: '#/definitions/app.Response'
  25718. security:
  25719. - ApiKeyAuth: []
  25720. summary: 点选挂牌委托单据查询(摘牌大厅)
  25721. tags:
  25722. - 定制【尚志大宗】
  25723. /SZDZ/QuerySZDZTradePosition:
  25724. get:
  25725. parameters:
  25726. - description: 资金账户
  25727. in: query
  25728. name: accountID
  25729. required: true
  25730. type: integer
  25731. produces:
  25732. - application/json
  25733. responses:
  25734. "200":
  25735. description: OK
  25736. schema:
  25737. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  25738. "500":
  25739. description: Internal Server Error
  25740. schema:
  25741. $ref: '#/definitions/app.Response'
  25742. security:
  25743. - ApiKeyAuth: []
  25744. summary: 持仓汇总查询(尚志大宗)
  25745. tags:
  25746. - 定制【尚志大宗】
  25747. /SZDZ/SearchWhite:
  25748. get:
  25749. parameters:
  25750. - description: 用户ID
  25751. in: query
  25752. name: userID
  25753. required: true
  25754. type: integer
  25755. produces:
  25756. - application/json
  25757. responses:
  25758. "200":
  25759. description: OK
  25760. schema:
  25761. $ref: '#/definitions/models.Szdz3searchwhitelist'
  25762. "500":
  25763. description: Internal Server Error
  25764. schema:
  25765. $ref: '#/definitions/app.Response'
  25766. security:
  25767. - ApiKeyAuth: []
  25768. summary: 搜索白名单
  25769. tags:
  25770. - 定制【尚志大宗】
  25771. /Search/SearchGoodses:
  25772. get:
  25773. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  25774. parameters:
  25775. - description: 检索内容
  25776. in: query
  25777. name: content
  25778. required: true
  25779. type: string
  25780. - description: 交易模式,格式:1,2,3
  25781. in: query
  25782. name: tradeModes
  25783. type: string
  25784. produces:
  25785. - application/json
  25786. responses:
  25787. "200":
  25788. description: OK
  25789. schema:
  25790. $ref: '#/definitions/models.SearchGoods'
  25791. "500":
  25792. description: Internal Server Error
  25793. schema:
  25794. $ref: '#/definitions/app.Response'
  25795. summary: 检索商品信息
  25796. tags:
  25797. - 检索服务
  25798. /TaAccount/GetTaAccounts:
  25799. get:
  25800. parameters:
  25801. - description: 登录账户
  25802. in: query
  25803. name: loginID
  25804. required: true
  25805. type: integer
  25806. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  25807. in: query
  25808. name: taAccountType
  25809. type: integer
  25810. produces:
  25811. - application/json
  25812. responses:
  25813. "200":
  25814. description: OK
  25815. schema:
  25816. $ref: '#/definitions/models.Taaccount'
  25817. "500":
  25818. description: Internal Server Error
  25819. schema:
  25820. $ref: '#/definitions/app.Response'
  25821. security:
  25822. - ApiKeyAuth: []
  25823. summary: 获取资金账户信息
  25824. tags:
  25825. - 资金账户
  25826. /TaAccount/QueryAmountLog:
  25827. get:
  25828. parameters:
  25829. - description: 页码
  25830. in: query
  25831. name: page
  25832. type: integer
  25833. - description: 每页条数
  25834. in: query
  25835. name: pagesize
  25836. type: integer
  25837. - description: 资金账户 - 格式:1,2,3
  25838. in: query
  25839. name: accountID
  25840. required: true
  25841. type: string
  25842. - description: 资金操作类型 - 格式:1,2,3
  25843. in: query
  25844. name: OperateType
  25845. type: string
  25846. produces:
  25847. - application/json
  25848. responses:
  25849. "200":
  25850. description: OK
  25851. schema:
  25852. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  25853. "500":
  25854. description: Internal Server Error
  25855. schema:
  25856. $ref: '#/definitions/app.Response'
  25857. security:
  25858. - ApiKeyAuth: []
  25859. summary: 资金流水查询(当前)
  25860. tags:
  25861. - 资金账户
  25862. /TaAccount/QueryHisAmountLog:
  25863. get:
  25864. parameters:
  25865. - description: 页码
  25866. in: query
  25867. name: page
  25868. type: integer
  25869. - description: 每页条数
  25870. in: query
  25871. name: pagesize
  25872. type: integer
  25873. - description: 资金账户 - 格式:1,2,3
  25874. in: query
  25875. name: accountID
  25876. required: true
  25877. type: string
  25878. - description: 资金操作类型 - 格式:1,2,3
  25879. in: query
  25880. name: OperateType
  25881. type: string
  25882. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  25883. in: query
  25884. name: startDate
  25885. type: string
  25886. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  25887. in: query
  25888. name: endDate
  25889. type: string
  25890. produces:
  25891. - application/json
  25892. responses:
  25893. "200":
  25894. description: OK
  25895. schema:
  25896. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  25897. "500":
  25898. description: Internal Server Error
  25899. schema:
  25900. $ref: '#/definitions/app.Response'
  25901. security:
  25902. - ApiKeyAuth: []
  25903. summary: 资金流水查询(历史)
  25904. tags:
  25905. - 资金账户
  25906. /Tjmd/QueryQuoteGoodsList:
  25907. get:
  25908. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  25909. parameters:
  25910. - description: 用户类型
  25911. in: query
  25912. name: usertype
  25913. required: true
  25914. type: integer
  25915. - description: 市场id, 格式 1,2,3
  25916. in: query
  25917. name: marketids
  25918. type: string
  25919. - description: 商品组id
  25920. in: query
  25921. name: goodsgroupid
  25922. type: integer
  25923. - description: 商品id
  25924. in: query
  25925. name: goodsid
  25926. type: integer
  25927. produces:
  25928. - application/json
  25929. responses:
  25930. "200":
  25931. description: OK
  25932. schema:
  25933. items:
  25934. $ref: '#/definitions/models.TjmdQuoteGoods'
  25935. type: array
  25936. "500":
  25937. description: Internal Server Error
  25938. schema:
  25939. $ref: '#/definitions/app.Response'
  25940. security:
  25941. - ApiKeyAuth: []
  25942. summary: 查询掉期报价列表
  25943. tags:
  25944. - 天津麦顿
  25945. /Tjmd/QueryTjmdTodayAccountMargin:
  25946. get:
  25947. parameters:
  25948. - description: 市场id
  25949. in: query
  25950. name: marketid
  25951. type: string
  25952. - description: 商品id
  25953. in: query
  25954. name: goodsid
  25955. type: string
  25956. - description: 资金账号
  25957. in: query
  25958. name: accountid
  25959. type: string
  25960. produces:
  25961. - application/json
  25962. responses:
  25963. "200":
  25964. description: OK
  25965. schema:
  25966. items:
  25967. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  25968. type: array
  25969. "500":
  25970. description: Internal Server Error
  25971. schema:
  25972. $ref: '#/definitions/app.Response'
  25973. security:
  25974. - ApiKeyAuth: []
  25975. summary: 查询今日账户保证金配置
  25976. tags:
  25977. - 天津麦顿
  25978. /Tjmd/QueryTjmdTradeOrderDetail:
  25979. get:
  25980. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  25981. parameters:
  25982. - description: 页码
  25983. in: query
  25984. name: page
  25985. type: integer
  25986. - description: 每页条数
  25987. in: query
  25988. name: pagesize
  25989. type: integer
  25990. - description: 用户id
  25991. in: query
  25992. name: userid
  25993. required: true
  25994. type: integer
  25995. - description: 用户类型
  25996. in: query
  25997. name: usertype
  25998. required: true
  25999. type: integer
  26000. - description: 市场id, 格式 1,2,3
  26001. in: query
  26002. name: marketids
  26003. type: string
  26004. - description: 商品id
  26005. in: query
  26006. name: goodsid
  26007. required: true
  26008. type: integer
  26009. - description: 买卖方向 0-买 1-卖
  26010. in: query
  26011. name: buyorsell
  26012. required: true
  26013. type: integer
  26014. produces:
  26015. - application/json
  26016. responses:
  26017. "200":
  26018. description: OK
  26019. schema:
  26020. items:
  26021. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  26022. type: array
  26023. "500":
  26024. description: Internal Server Error
  26025. schema:
  26026. $ref: '#/definitions/app.Response'
  26027. security:
  26028. - ApiKeyAuth: []
  26029. summary: 查询掉期买卖大厅
  26030. tags:
  26031. - 天津麦顿
  26032. /Tjmd/QueryTjmdTransferApply:
  26033. get:
  26034. parameters:
  26035. - description: 类型 1-我的申请 2-对方申请
  26036. in: query
  26037. name: applytype
  26038. required: true
  26039. type: integer
  26040. - description: 市场id, 格式 1,2,3
  26041. in: query
  26042. name: marketids
  26043. type: string
  26044. - description: 资金账号, 格式 25000000001,25000000003
  26045. in: query
  26046. name: accountids
  26047. type: string
  26048. produces:
  26049. - application/json
  26050. responses:
  26051. "200":
  26052. description: OK
  26053. schema:
  26054. items:
  26055. $ref: '#/definitions/models.TjmdTransferApply'
  26056. type: array
  26057. "500":
  26058. description: Internal Server Error
  26059. schema:
  26060. $ref: '#/definitions/app.Response'
  26061. security:
  26062. - ApiKeyAuth: []
  26063. summary: 查询掉期协议单
  26064. tags:
  26065. - 天津麦顿
  26066. /Trade/QueryRecieptOrder:
  26067. get:
  26068. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  26069. parameters:
  26070. - description: 页码
  26071. in: query
  26072. name: page
  26073. type: integer
  26074. - description: 每页条数
  26075. in: query
  26076. name: pagesize
  26077. type: integer
  26078. - description: 商品ID
  26079. in: query
  26080. name: goodsID
  26081. required: true
  26082. type: integer
  26083. - description: 所属账户名称
  26084. in: query
  26085. name: accountName
  26086. type: string
  26087. - description: 市场ID
  26088. in: query
  26089. name: marketID
  26090. type: integer
  26091. - description: 方向 - 0:买 1:卖
  26092. in: query
  26093. name: buyorsell
  26094. required: true
  26095. type: integer
  26096. produces:
  26097. - application/json
  26098. responses:
  26099. "200":
  26100. description: OK
  26101. schema:
  26102. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  26103. "500":
  26104. description: Internal Server Error
  26105. schema:
  26106. $ref: '#/definitions/app.Response'
  26107. security:
  26108. - ApiKeyAuth: []
  26109. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  26110. tags:
  26111. - 通用交易
  26112. /User/AddMessageBoard:
  26113. post:
  26114. parameters:
  26115. - description: 用户ID
  26116. in: query
  26117. name: userID
  26118. required: true
  26119. type: integer
  26120. - description: 留言信息
  26121. in: query
  26122. name: message
  26123. required: true
  26124. type: string
  26125. - description: 联系电话
  26126. in: query
  26127. name: contactNum
  26128. required: true
  26129. type: string
  26130. produces:
  26131. - application/json
  26132. responses:
  26133. "200":
  26134. description: OK
  26135. schema:
  26136. $ref: '#/definitions/app.Response'
  26137. "500":
  26138. description: Internal Server Error
  26139. schema:
  26140. $ref: '#/definitions/app.Response'
  26141. security:
  26142. - ApiKeyAuth: []
  26143. summary: 添加用户留言板信息
  26144. tags:
  26145. - 用户信息
  26146. /User/AddUserFavoriteGoods:
  26147. post:
  26148. parameters:
  26149. - description: 用户ID
  26150. in: query
  26151. name: userID
  26152. required: true
  26153. type: integer
  26154. - description: 商品ID
  26155. in: query
  26156. name: goodsID
  26157. required: true
  26158. type: integer
  26159. produces:
  26160. - application/json
  26161. responses:
  26162. "200":
  26163. description: OK
  26164. schema:
  26165. $ref: '#/definitions/app.Response'
  26166. "500":
  26167. description: Internal Server Error
  26168. schema:
  26169. $ref: '#/definitions/app.Response'
  26170. security:
  26171. - ApiKeyAuth: []
  26172. summary: 添加用户商品收藏信息
  26173. tags:
  26174. - 用户信息
  26175. /User/GetLoginID:
  26176. get:
  26177. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  26178. parameters:
  26179. - description: 登录代码
  26180. in: query
  26181. name: username
  26182. required: true
  26183. type: string
  26184. produces:
  26185. - application/json
  26186. responses:
  26187. "200":
  26188. description: OK
  26189. schema:
  26190. $ref: '#/definitions/app.Response'
  26191. "500":
  26192. description: Internal Server Error
  26193. schema:
  26194. $ref: '#/definitions/app.Response'
  26195. summary: 获取登录ID
  26196. tags:
  26197. - 用户信息
  26198. /User/GetUserAccount:
  26199. get:
  26200. parameters:
  26201. - description: 用户ID
  26202. in: query
  26203. name: userID
  26204. required: true
  26205. type: integer
  26206. produces:
  26207. - application/json
  26208. responses:
  26209. "200":
  26210. description: OK
  26211. schema:
  26212. $ref: '#/definitions/models.Useraccount'
  26213. "500":
  26214. description: Internal Server Error
  26215. schema:
  26216. $ref: '#/definitions/app.Response'
  26217. security:
  26218. - ApiKeyAuth: []
  26219. summary: 获取用户账号信息
  26220. tags:
  26221. - 用户信息
  26222. /User/GetUserAuthStatus:
  26223. get:
  26224. parameters:
  26225. - description: 用户ID
  26226. in: query
  26227. name: userID
  26228. required: true
  26229. type: integer
  26230. produces:
  26231. - application/json
  26232. responses:
  26233. "200":
  26234. description: OK
  26235. schema:
  26236. $ref: '#/definitions/app.Response'
  26237. "500":
  26238. description: Internal Server Error
  26239. schema:
  26240. $ref: '#/definitions/app.Response'
  26241. security:
  26242. - ApiKeyAuth: []
  26243. summary: 获取用户实名认证状态
  26244. tags:
  26245. - 用户信息
  26246. /User/LoginQuery:
  26247. get:
  26248. parameters:
  26249. - description: 登录账号
  26250. in: query
  26251. name: loginID
  26252. required: true
  26253. type: integer
  26254. produces:
  26255. - application/json
  26256. responses:
  26257. "200":
  26258. description: OK
  26259. schema:
  26260. $ref: '#/definitions/user.LoginQueryRsp'
  26261. "500":
  26262. description: Internal Server Error
  26263. schema:
  26264. $ref: '#/definitions/app.Response'
  26265. security:
  26266. - ApiKeyAuth: []
  26267. summary: 账户登录后信息查询
  26268. tags:
  26269. - 用户信息
  26270. /User/QueryMessageBoard:
  26271. get:
  26272. parameters:
  26273. - description: 用户ID
  26274. in: query
  26275. name: userID
  26276. required: true
  26277. type: integer
  26278. produces:
  26279. - application/json
  26280. responses:
  26281. "200":
  26282. description: OK
  26283. schema:
  26284. $ref: '#/definitions/models.Messageboard'
  26285. "500":
  26286. description: Internal Server Error
  26287. schema:
  26288. $ref: '#/definitions/app.Response'
  26289. security:
  26290. - ApiKeyAuth: []
  26291. summary: 获取用户留言板信息
  26292. tags:
  26293. - 用户信息
  26294. /User/QueryUserFavoriteGoodses:
  26295. get:
  26296. parameters:
  26297. - description: 用户ID
  26298. in: query
  26299. name: userID
  26300. required: true
  26301. type: integer
  26302. produces:
  26303. - application/json
  26304. responses:
  26305. "200":
  26306. description: OK
  26307. schema:
  26308. $ref: '#/definitions/models.Userfavoritegoods'
  26309. "500":
  26310. description: Internal Server Error
  26311. schema:
  26312. $ref: '#/definitions/app.Response'
  26313. security:
  26314. - ApiKeyAuth: []
  26315. summary: 获取用户商品收藏信息
  26316. tags:
  26317. - 用户信息
  26318. /User/QueryUserInfo:
  26319. get:
  26320. parameters:
  26321. - description: 用户ID
  26322. in: query
  26323. name: userID
  26324. required: true
  26325. type: integer
  26326. - description: 是否解密
  26327. in: query
  26328. name: isDecrypt
  26329. type: boolean
  26330. produces:
  26331. - application/json
  26332. responses:
  26333. "200":
  26334. description: OK
  26335. schema:
  26336. $ref: '#/definitions/models.Userinfo'
  26337. "500":
  26338. description: Internal Server Error
  26339. schema:
  26340. $ref: '#/definitions/app.Response'
  26341. security:
  26342. - ApiKeyAuth: []
  26343. summary: 获取用户信息
  26344. tags:
  26345. - 用户信息
  26346. /User/QueryUserReferNum:
  26347. get:
  26348. parameters:
  26349. - description: 用户ID
  26350. in: query
  26351. name: userID
  26352. required: true
  26353. type: integer
  26354. produces:
  26355. - application/json
  26356. responses:
  26357. "200":
  26358. description: OK
  26359. schema:
  26360. $ref: '#/definitions/app.Response'
  26361. "500":
  26362. description: Internal Server Error
  26363. schema:
  26364. $ref: '#/definitions/app.Response'
  26365. summary: 获取用户邀请码
  26366. tags:
  26367. - 用户信息
  26368. /User/RemoveUserFavoriteGoods:
  26369. post:
  26370. parameters:
  26371. - description: 用户ID
  26372. in: query
  26373. name: userID
  26374. required: true
  26375. type: integer
  26376. - description: 商品ID
  26377. in: query
  26378. name: goodsID
  26379. required: true
  26380. type: integer
  26381. produces:
  26382. - application/json
  26383. responses:
  26384. "200":
  26385. description: OK
  26386. schema:
  26387. $ref: '#/definitions/app.Response'
  26388. "500":
  26389. description: Internal Server Error
  26390. schema:
  26391. $ref: '#/definitions/app.Response'
  26392. security:
  26393. - ApiKeyAuth: []
  26394. summary: 移除用户商品收藏信息
  26395. tags:
  26396. - 用户信息
  26397. /User/UpdateUserAccountStatus:
  26398. post:
  26399. parameters:
  26400. - description: 用户ID
  26401. in: query
  26402. name: userID
  26403. required: true
  26404. type: integer
  26405. - description: 账户状态 - 4:正常 6:注销(停用)
  26406. in: query
  26407. name: accountStatus
  26408. required: true
  26409. type: integer
  26410. produces:
  26411. - application/json
  26412. responses:
  26413. "200":
  26414. description: OK
  26415. schema:
  26416. $ref: '#/definitions/app.Response'
  26417. "500":
  26418. description: Internal Server Error
  26419. schema:
  26420. $ref: '#/definitions/app.Response'
  26421. security:
  26422. - ApiKeyAuth: []
  26423. summary: 更新用户状态
  26424. tags:
  26425. - 用户信息
  26426. /WRTrade/GetAllDeliveryGoods:
  26427. get:
  26428. produces:
  26429. - application/json
  26430. - application/json
  26431. responses:
  26432. "200":
  26433. description: OK
  26434. schema:
  26435. $ref: '#/definitions/app.Response'
  26436. "500":
  26437. description: Internal Server Error
  26438. schema:
  26439. $ref: '#/definitions/app.Response'
  26440. security:
  26441. - ApiKeyAuth: []
  26442. - ApiKeyAuth: []
  26443. summary: 获取带仓单分类的种类信息
  26444. tags:
  26445. - 仓单贸易
  26446. - 仓单贸易
  26447. /WrTrade2/QueryDeliveryGoodsSection:
  26448. get:
  26449. produces:
  26450. - application/json
  26451. responses:
  26452. "200":
  26453. description: OK
  26454. schema:
  26455. items:
  26456. $ref: '#/definitions/models.WrDeliveryGoodsSection'
  26457. type: array
  26458. "500":
  26459. description: Internal Server Error
  26460. schema:
  26461. $ref: '#/definitions/app.Response'
  26462. security:
  26463. - ApiKeyAuth: []
  26464. summary: 查询板块(分类)
  26465. tags:
  26466. - 仓单贸易v2
  26467. /WrTrade2/QueryFaProductDetail:
  26468. get:
  26469. description: 页面 买卖大厅 -> 选择融资方案
  26470. parameters:
  26471. - description: 仓单要素id
  26472. in: query
  26473. name: wrfactortypeid
  26474. required: true
  26475. type: integer
  26476. produces:
  26477. - application/json
  26478. responses:
  26479. "200":
  26480. description: OK
  26481. schema:
  26482. items:
  26483. $ref: '#/definitions/models.WrFAProductDetail'
  26484. type: array
  26485. "500":
  26486. description: Internal Server Error
  26487. schema:
  26488. $ref: '#/definitions/app.Response'
  26489. security:
  26490. - ApiKeyAuth: []
  26491. summary: 查询融资产品列表
  26492. tags:
  26493. - 仓单贸易v2
  26494. /WrTrade2/QueryFilterItem:
  26495. get:
  26496. parameters:
  26497. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  26498. in: query
  26499. name: itype
  26500. required: true
  26501. type: string
  26502. produces:
  26503. - application/json
  26504. responses:
  26505. "200":
  26506. description: OK
  26507. schema:
  26508. items:
  26509. $ref: '#/definitions/models.WrFilterItem'
  26510. type: array
  26511. "500":
  26512. description: Internal Server Error
  26513. schema:
  26514. $ref: '#/definitions/app.Response'
  26515. security:
  26516. - ApiKeyAuth: []
  26517. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  26518. tags:
  26519. - 仓单贸易v2
  26520. /WrTrade2/QueryFtDeliveryGoods:
  26521. get:
  26522. produces:
  26523. - application/json
  26524. responses:
  26525. "200":
  26526. description: OK
  26527. schema:
  26528. items:
  26529. $ref: '#/definitions/models.WrFtDeliveryGoods'
  26530. type: array
  26531. "500":
  26532. description: Internal Server Error
  26533. schema:
  26534. $ref: '#/definitions/app.Response'
  26535. security:
  26536. - ApiKeyAuth: []
  26537. summary: 查询品种品类筛选框列表
  26538. tags:
  26539. - 仓单贸易v2
  26540. /WrTrade2/QueryHoldLB:
  26541. get:
  26542. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  26543. parameters:
  26544. - description: 资金账号
  26545. in: query
  26546. name: accountid
  26547. required: true
  26548. type: integer
  26549. - description: 仓库id
  26550. in: query
  26551. name: warehouseid
  26552. type: integer
  26553. - description: 品种id
  26554. in: query
  26555. name: deliverygoodsid
  26556. type: integer
  26557. - description: 品类id
  26558. in: query
  26559. name: wrstandardid
  26560. type: integer
  26561. - description: 仓单要素id
  26562. in: query
  26563. name: wrfactortypeid
  26564. type: integer
  26565. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  26566. in: query
  26567. name: dgitemname
  26568. type: string
  26569. produces:
  26570. - application/json
  26571. responses:
  26572. "200":
  26573. description: OK
  26574. schema:
  26575. items:
  26576. $ref: '#/definitions/models.WrHoldLB'
  26577. type: array
  26578. "500":
  26579. description: Internal Server Error
  26580. schema:
  26581. $ref: '#/definitions/app.Response'
  26582. security:
  26583. - ApiKeyAuth: []
  26584. summary: 查询仓单持有记录
  26585. tags:
  26586. - 仓单贸易v2
  26587. /WrTrade2/QueryOrderQuote:
  26588. get:
  26589. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth 唯一确定1条记录
  26590. parameters:
  26591. - description: 页码
  26592. in: query
  26593. name: page
  26594. type: integer
  26595. - description: 每页条数
  26596. in: query
  26597. name: pagesize
  26598. type: integer
  26599. - description: 仓单贸易市场id
  26600. in: query
  26601. name: marketid
  26602. type: integer
  26603. - description: 价格方式 - 1:固定价 2-浮动价
  26604. in: query
  26605. name: wrpricetype
  26606. required: true
  26607. type: integer
  26608. - description: 0:仓单预售 1:仓单贸易
  26609. in: query
  26610. name: haswr
  26611. required: true
  26612. type: integer
  26613. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  26614. in: query
  26615. name: dgitemname
  26616. type: string
  26617. - description: 仓库id(筛选条件)
  26618. in: query
  26619. name: warehouseid
  26620. type: integer
  26621. - description: 品种id
  26622. in: query
  26623. name: deliverygoodsid
  26624. type: integer
  26625. - description: 品类id
  26626. in: query
  26627. name: wrstandardid
  26628. type: integer
  26629. - description: 仓单要素id
  26630. in: query
  26631. name: wrfactortypeid
  26632. type: integer
  26633. - description: 交收月(yyyy-mm) 仓单预售填写
  26634. in: query
  26635. name: deliverymonth
  26636. type: string
  26637. produces:
  26638. - application/json
  26639. responses:
  26640. "200":
  26641. description: OK
  26642. schema:
  26643. items:
  26644. $ref: '#/definitions/models.WrOrderQuote'
  26645. type: array
  26646. "500":
  26647. description: Internal Server Error
  26648. schema:
  26649. $ref: '#/definitions/app.Response'
  26650. security:
  26651. - ApiKeyAuth: []
  26652. summary: 查询大厅行情列表
  26653. tags:
  26654. - 仓单贸易v2
  26655. /WrTrade2/QueryOrderQuoteDetail:
  26656. get:
  26657. parameters:
  26658. - description: 页码
  26659. in: query
  26660. name: page
  26661. type: integer
  26662. - description: 每页条数
  26663. in: query
  26664. name: pagesize
  26665. type: integer
  26666. - description: 仓单贸易市场id
  26667. in: query
  26668. name: marketid
  26669. type: integer
  26670. - description: 价格方式 - 1:固定价 2-浮动价
  26671. in: query
  26672. name: wrpricetype
  26673. required: true
  26674. type: integer
  26675. - description: 0:仓单预售 1:仓单贸易
  26676. in: query
  26677. name: haswr
  26678. required: true
  26679. type: integer
  26680. - description: 仓单要素id
  26681. in: query
  26682. name: wrfactortypeid
  26683. required: true
  26684. type: integer
  26685. - description: 期货商品id(浮动价方式时填)
  26686. in: query
  26687. name: goodsid
  26688. type: integer
  26689. - description: 买卖方向 0-买 1-卖
  26690. in: query
  26691. name: buyorsell
  26692. required: true
  26693. type: integer
  26694. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  26695. in: query
  26696. name: deliverymonth
  26697. type: string
  26698. produces:
  26699. - application/json
  26700. responses:
  26701. "200":
  26702. description: OK
  26703. schema:
  26704. items:
  26705. $ref: '#/definitions/models.WrOrderQuoteDetail'
  26706. type: array
  26707. "500":
  26708. description: Internal Server Error
  26709. schema:
  26710. $ref: '#/definitions/app.Response'
  26711. security:
  26712. - ApiKeyAuth: []
  26713. summary: 查询买卖大厅
  26714. tags:
  26715. - 仓单贸易v2
  26716. /WrTrade2/QueryOrderQuoteMyq:
  26717. get:
  26718. parameters:
  26719. - description: 页码
  26720. in: query
  26721. name: page
  26722. type: integer
  26723. - description: 每页条数
  26724. in: query
  26725. name: pagesize
  26726. type: integer
  26727. - description: 用户id
  26728. in: query
  26729. name: userid
  26730. required: true
  26731. type: integer
  26732. - description: 仓单贸易市场id
  26733. in: query
  26734. name: marketid
  26735. type: integer
  26736. - description: 0:仓单预售 1:仓单贸易
  26737. in: query
  26738. name: haswr
  26739. required: true
  26740. type: integer
  26741. - description: 买卖方向 0-买 1-卖
  26742. in: query
  26743. name: buyorsell
  26744. required: true
  26745. type: integer
  26746. - description: 品种id
  26747. in: query
  26748. name: deliverygoodsid
  26749. type: integer
  26750. - description: 品类id
  26751. in: query
  26752. name: wrstandardid
  26753. type: integer
  26754. - description: 交收月(yyyy-mm) 仓单预售填写
  26755. in: query
  26756. name: deliverymonth
  26757. type: string
  26758. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  26759. in: query
  26760. name: dgitemname
  26761. type: string
  26762. produces:
  26763. - application/json
  26764. responses:
  26765. "200":
  26766. description: OK
  26767. schema:
  26768. items:
  26769. $ref: '#/definitions/models.WrQuoteOrderMyq'
  26770. type: array
  26771. "500":
  26772. description: Internal Server Error
  26773. schema:
  26774. $ref: '#/definitions/app.Response'
  26775. security:
  26776. - ApiKeyAuth: []
  26777. summary: 查询贸易圈挂牌大厅
  26778. tags:
  26779. - 仓单贸易v2
  26780. /WrTrade2/QueryPerformancePlan:
  26781. get:
  26782. parameters:
  26783. - description: 用户id
  26784. in: query
  26785. name: userid
  26786. required: true
  26787. type: integer
  26788. - description: 买卖方向 0-买 1-卖
  26789. in: query
  26790. name: buyorsell
  26791. required: true
  26792. type: integer
  26793. produces:
  26794. - application/json
  26795. responses:
  26796. "200":
  26797. description: OK
  26798. schema:
  26799. items:
  26800. $ref: '#/definitions/models.WrPerformancePlan'
  26801. type: array
  26802. "500":
  26803. description: Internal Server Error
  26804. schema:
  26805. $ref: '#/definitions/app.Response'
  26806. security:
  26807. - ApiKeyAuth: []
  26808. summary: 查询履约信息
  26809. tags:
  26810. - 仓单贸易v2
  26811. /WrTrade2/QueryPermancePlanTmp:
  26812. get:
  26813. description: 返回指定用户的模板和公共模板(用户id为空)
  26814. parameters:
  26815. - description: 用户id
  26816. in: query
  26817. name: userid
  26818. type: integer
  26819. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  26820. in: query
  26821. name: tmptype
  26822. type: string
  26823. - description: 是否包含公共模板(用户id为空的) 1-包含
  26824. in: query
  26825. name: includepub
  26826. type: integer
  26827. produces:
  26828. - application/json
  26829. responses:
  26830. "200":
  26831. description: OK
  26832. schema:
  26833. items:
  26834. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  26835. type: array
  26836. "500":
  26837. description: Internal Server Error
  26838. schema:
  26839. $ref: '#/definitions/app.Response'
  26840. security:
  26841. - ApiKeyAuth: []
  26842. summary: 查询履约模板
  26843. tags:
  26844. - 仓单贸易v2
  26845. /WrTrade2/QuerySiteColumnDetail:
  26846. get:
  26847. parameters:
  26848. - description: 页码
  26849. in: query
  26850. name: page
  26851. type: integer
  26852. - description: 每页条数
  26853. in: query
  26854. name: pagesize
  26855. type: integer
  26856. produces:
  26857. - application/json
  26858. responses:
  26859. "200":
  26860. description: OK
  26861. schema:
  26862. items:
  26863. $ref: '#/definitions/models.WrSiteColumnDetail'
  26864. type: array
  26865. "500":
  26866. description: Internal Server Error
  26867. schema:
  26868. $ref: '#/definitions/app.Response'
  26869. security:
  26870. - ApiKeyAuth: []
  26871. summary: 查询资讯
  26872. tags:
  26873. - 仓单贸易v2
  26874. /WrTrade2/QuerySpotGroupTradeSum:
  26875. get:
  26876. produces:
  26877. - application/json
  26878. responses:
  26879. "200":
  26880. description: OK
  26881. schema:
  26882. items:
  26883. $ref: '#/definitions/models.WrSpotGroupTradeSumEx'
  26884. type: array
  26885. "500":
  26886. description: Internal Server Error
  26887. schema:
  26888. $ref: '#/definitions/app.Response'
  26889. security:
  26890. - ApiKeyAuth: []
  26891. summary: 查询指数
  26892. tags:
  26893. - 仓单贸易v2
  26894. /WrTrade2/QuerySpotGroupTradeSumDetail:
  26895. get:
  26896. description: 查询的结果将会按日期 从小到大 排序
  26897. parameters:
  26898. - description: 现货商品id
  26899. in: query
  26900. name: deliverygoodsid
  26901. required: true
  26902. type: integer
  26903. - description: 查询最新多少条记录(如不填写此项, 默认查30条)
  26904. in: query
  26905. name: lastnum
  26906. type: integer
  26907. produces:
  26908. - application/json
  26909. responses:
  26910. "200":
  26911. description: OK
  26912. schema:
  26913. items:
  26914. $ref: '#/definitions/models.WrSpotGroupTradeSumDetail'
  26915. type: array
  26916. "500":
  26917. description: Internal Server Error
  26918. schema:
  26919. $ref: '#/definitions/app.Response'
  26920. security:
  26921. - ApiKeyAuth: []
  26922. summary: 查询指数详细(价格走势图)
  26923. tags:
  26924. - 仓单贸易v2
  26925. /WrTrade2/QueryWrAverageTradePrice:
  26926. get:
  26927. parameters:
  26928. - description: 页码
  26929. in: query
  26930. name: page
  26931. type: integer
  26932. - description: 每页条数
  26933. in: query
  26934. name: pagesize
  26935. type: integer
  26936. - description: 0:仓单预售 1:仓单贸易
  26937. in: query
  26938. name: haswr
  26939. required: true
  26940. type: integer
  26941. - description: 仓单要素id
  26942. in: query
  26943. name: wrfactortypeid
  26944. required: true
  26945. type: integer
  26946. produces:
  26947. - application/json
  26948. responses:
  26949. "200":
  26950. description: OK
  26951. schema:
  26952. items:
  26953. $ref: '#/definitions/models.WrAverageTradePrice'
  26954. type: array
  26955. "500":
  26956. description: Internal Server Error
  26957. schema:
  26958. $ref: '#/definitions/app.Response'
  26959. security:
  26960. - ApiKeyAuth: []
  26961. summary: 查询成交价(历史走势)
  26962. tags:
  26963. - 仓单贸易v2
  26964. /WrTrade2/QueryWrBsGoodsInfo:
  26965. get:
  26966. description: 合约交易/买卖大厅/详情
  26967. parameters:
  26968. - description: 商品id
  26969. in: query
  26970. name: goodsid
  26971. required: true
  26972. type: integer
  26973. produces:
  26974. - application/json
  26975. responses:
  26976. "200":
  26977. description: OK
  26978. schema:
  26979. items:
  26980. $ref: '#/definitions/models.WrBsGoodsInfo'
  26981. type: array
  26982. "500":
  26983. description: Internal Server Error
  26984. schema:
  26985. $ref: '#/definitions/app.Response'
  26986. security:
  26987. - ApiKeyAuth: []
  26988. summary: 查询合约交易买卖大厅详情
  26989. tags:
  26990. - 仓单贸易v2
  26991. /WrTrade2/QueryWrBuybackDetail:
  26992. get:
  26993. parameters:
  26994. - description: 融资合同id
  26995. in: query
  26996. name: scfcontractid
  26997. type: integer
  26998. produces:
  26999. - application/json
  27000. responses:
  27001. "200":
  27002. description: OK
  27003. schema:
  27004. items:
  27005. $ref: '#/definitions/models.WrBuybackDetail'
  27006. type: array
  27007. "500":
  27008. description: Internal Server Error
  27009. schema:
  27010. $ref: '#/definitions/app.Response'
  27011. security:
  27012. - ApiKeyAuth: []
  27013. summary: 查询仓单回购明细
  27014. tags:
  27015. - 仓单贸易v2
  27016. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  27017. get:
  27018. parameters:
  27019. - description: 资金账号
  27020. in: query
  27021. name: accountid
  27022. required: true
  27023. type: integer
  27024. - description: 商品id
  27025. in: query
  27026. name: goodsid
  27027. required: true
  27028. type: integer
  27029. produces:
  27030. - application/json
  27031. responses:
  27032. "200":
  27033. description: OK
  27034. schema:
  27035. items:
  27036. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  27037. type: array
  27038. "500":
  27039. description: Internal Server Error
  27040. schema:
  27041. $ref: '#/definitions/app.Response'
  27042. security:
  27043. - ApiKeyAuth: []
  27044. summary: 查询合约交收可点选仓单
  27045. tags:
  27046. - 仓单贸易v2
  27047. /WrTrade2/QueryWrDeliveryDetail:
  27048. get:
  27049. parameters:
  27050. - description: 用户id
  27051. in: query
  27052. name: userid
  27053. required: true
  27054. type: integer
  27055. - description: 资金账号id
  27056. in: query
  27057. name: accountid
  27058. type: integer
  27059. produces:
  27060. - application/json
  27061. responses:
  27062. "200":
  27063. description: OK
  27064. schema:
  27065. items:
  27066. $ref: '#/definitions/models.WrDeliveryDetail'
  27067. type: array
  27068. "500":
  27069. description: Internal Server Error
  27070. schema:
  27071. $ref: '#/definitions/app.Response'
  27072. security:
  27073. - ApiKeyAuth: []
  27074. summary: 查询交收
  27075. tags:
  27076. - 仓单贸易v2
  27077. /WrTrade2/QueryWrFactorTypeInfo:
  27078. get:
  27079. parameters:
  27080. - description: 仓单要素id
  27081. in: query
  27082. name: wrfactortypeid
  27083. required: true
  27084. type: integer
  27085. produces:
  27086. - application/json
  27087. responses:
  27088. "200":
  27089. description: OK
  27090. schema:
  27091. items:
  27092. $ref: '#/definitions/models.WrFactorTypeInfo'
  27093. type: array
  27094. "500":
  27095. description: Internal Server Error
  27096. schema:
  27097. $ref: '#/definitions/app.Response'
  27098. security:
  27099. - ApiKeyAuth: []
  27100. summary: 查询仓单要素详细信息
  27101. tags:
  27102. - 仓单贸易v2
  27103. /WrTrade2/QueryWrFactorTypeInfoEx:
  27104. get:
  27105. parameters:
  27106. - description: 仓单要素id
  27107. in: query
  27108. name: wrfactortypeid
  27109. required: true
  27110. type: integer
  27111. produces:
  27112. - application/json
  27113. responses:
  27114. "200":
  27115. description: OK
  27116. schema:
  27117. items:
  27118. $ref: '#/definitions/models.WrTypeItem'
  27119. type: array
  27120. "500":
  27121. description: Internal Server Error
  27122. schema:
  27123. $ref: '#/definitions/app.Response'
  27124. security:
  27125. - ApiKeyAuth: []
  27126. summary: 查询仓单要素详细信息列表项
  27127. tags:
  27128. - 仓单贸易v2
  27129. /WrTrade2/QueryWrFinanceBuyApply:
  27130. get:
  27131. description: 页面 融资信息+ / 申请单
  27132. parameters:
  27133. - description: 用户id
  27134. in: query
  27135. name: userid
  27136. required: true
  27137. type: integer
  27138. produces:
  27139. - application/json
  27140. responses:
  27141. "200":
  27142. description: OK
  27143. schema:
  27144. items:
  27145. $ref: '#/definitions/models.WrFinanceBuyApply'
  27146. type: array
  27147. "500":
  27148. description: Internal Server Error
  27149. schema:
  27150. $ref: '#/definitions/app.Response'
  27151. security:
  27152. - ApiKeyAuth: []
  27153. summary: 查询融资购买申请
  27154. tags:
  27155. - 仓单贸易v2
  27156. /WrTrade2/QueryWrFriendApply:
  27157. get:
  27158. parameters:
  27159. - description: 用户id
  27160. in: query
  27161. name: userid
  27162. required: true
  27163. type: integer
  27164. produces:
  27165. - application/json
  27166. responses:
  27167. "200":
  27168. description: OK
  27169. schema:
  27170. items:
  27171. $ref: '#/definitions/models.WrFriendApply'
  27172. type: array
  27173. "500":
  27174. description: Internal Server Error
  27175. schema:
  27176. $ref: '#/definitions/app.Response'
  27177. security:
  27178. - ApiKeyAuth: []
  27179. summary: 查询好友申请记录
  27180. tags:
  27181. - 仓单贸易v2
  27182. /WrTrade2/QueryWrGoodsInfo:
  27183. get:
  27184. parameters:
  27185. - description: 仓单贸易市场id
  27186. in: query
  27187. name: marketid
  27188. type: integer
  27189. - description: 0:仓单预售 1:仓单贸易
  27190. in: query
  27191. name: haswr
  27192. required: true
  27193. type: integer
  27194. - description: 仓单要素id
  27195. in: query
  27196. name: wrfactortypeid
  27197. required: true
  27198. type: integer
  27199. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  27200. in: query
  27201. name: tmplateid
  27202. type: integer
  27203. produces:
  27204. - application/json
  27205. responses:
  27206. "200":
  27207. description: OK
  27208. schema:
  27209. items:
  27210. $ref: '#/definitions/models.WrGoodsInfo'
  27211. type: array
  27212. "500":
  27213. description: Internal Server Error
  27214. schema:
  27215. $ref: '#/definitions/app.Response'
  27216. security:
  27217. - ApiKeyAuth: []
  27218. summary: 查询仓单商品信息
  27219. tags:
  27220. - 仓单贸易v2
  27221. /WrTrade2/QueryWrMarketTradeConfig:
  27222. get:
  27223. parameters:
  27224. - description: 市场id
  27225. in: query
  27226. name: marketid
  27227. type: integer
  27228. produces:
  27229. - application/json
  27230. responses:
  27231. "200":
  27232. description: OK
  27233. schema:
  27234. items:
  27235. $ref: '#/definitions/models.WrMarketTradeConfig'
  27236. type: array
  27237. "500":
  27238. description: Internal Server Error
  27239. schema:
  27240. $ref: '#/definitions/app.Response'
  27241. security:
  27242. - ApiKeyAuth: []
  27243. summary: 查询市场交易参数配置
  27244. tags:
  27245. - 仓单贸易v2
  27246. /WrTrade2/QueryWrOrderDetail:
  27247. get:
  27248. description: 页面 现货仓单 | 预售仓单 -> 挂单
  27249. parameters:
  27250. - description: 页码
  27251. in: query
  27252. name: page
  27253. type: integer
  27254. - description: 每页条数
  27255. in: query
  27256. name: pagesize
  27257. type: integer
  27258. - description: 用户id
  27259. in: query
  27260. name: userid
  27261. required: true
  27262. type: integer
  27263. - description: 仓单贸易市场id
  27264. in: query
  27265. name: marketid
  27266. type: integer
  27267. - description: 0:仓单预售 1:仓单贸易
  27268. in: query
  27269. name: haswr
  27270. required: true
  27271. type: integer
  27272. produces:
  27273. - application/json
  27274. responses:
  27275. "200":
  27276. description: OK
  27277. schema:
  27278. items:
  27279. $ref: '#/definitions/models.WrOrderDetail'
  27280. type: array
  27281. "500":
  27282. description: Internal Server Error
  27283. schema:
  27284. $ref: '#/definitions/app.Response'
  27285. security:
  27286. - ApiKeyAuth: []
  27287. summary: 查询仓单委托单(挂单)
  27288. tags:
  27289. - 仓单贸易v2
  27290. /WrTrade2/QueryWrOutInApply:
  27291. get:
  27292. parameters:
  27293. - description: 用户id
  27294. in: query
  27295. name: userid
  27296. required: true
  27297. type: integer
  27298. produces:
  27299. - application/json
  27300. responses:
  27301. "200":
  27302. description: OK
  27303. schema:
  27304. items:
  27305. $ref: '#/definitions/models.WrOutInApply'
  27306. type: array
  27307. "500":
  27308. description: Internal Server Error
  27309. schema:
  27310. $ref: '#/definitions/app.Response'
  27311. security:
  27312. - ApiKeyAuth: []
  27313. summary: 查询提货申请
  27314. tags:
  27315. - 仓单贸易v2
  27316. /WrTrade2/QueryWrPerformancePlanStep:
  27317. get:
  27318. parameters:
  27319. - description: 履约计划id(performanceplanid)
  27320. in: query
  27321. name: planid
  27322. required: true
  27323. type: integer
  27324. - description: 当前步骤id
  27325. in: query
  27326. name: curstepid
  27327. type: integer
  27328. produces:
  27329. - application/json
  27330. responses:
  27331. "200":
  27332. description: OK
  27333. schema:
  27334. items:
  27335. $ref: '#/definitions/models.WrPerformancePlanStep'
  27336. type: array
  27337. "500":
  27338. description: Internal Server Error
  27339. schema:
  27340. $ref: '#/definitions/app.Response'
  27341. security:
  27342. - ApiKeyAuth: []
  27343. summary: 查询履约信息详情
  27344. tags:
  27345. - 仓单贸易v2
  27346. /WrTrade2/QueryWrPerformanceStepType:
  27347. get:
  27348. produces:
  27349. - application/json
  27350. responses:
  27351. "200":
  27352. description: OK
  27353. schema:
  27354. items:
  27355. $ref: '#/definitions/models.WrPerformanceStepType'
  27356. type: array
  27357. "500":
  27358. description: Internal Server Error
  27359. schema:
  27360. $ref: '#/definitions/app.Response'
  27361. security:
  27362. - ApiKeyAuth: []
  27363. summary: 查询履约步骤枚举
  27364. tags:
  27365. - 仓单贸易v2
  27366. /WrTrade2/QueryWrPosition:
  27367. get:
  27368. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  27369. parameters:
  27370. - description: 用户id
  27371. in: query
  27372. name: userid
  27373. required: true
  27374. type: integer
  27375. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  27376. in: query
  27377. name: querytype
  27378. required: true
  27379. type: integer
  27380. - description: 0:仓单预售 1:仓单贸易
  27381. in: query
  27382. name: haswr
  27383. required: true
  27384. type: integer
  27385. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  27386. in: query
  27387. name: dgitemname
  27388. type: string
  27389. - description: 仓库id(筛选条件)
  27390. in: query
  27391. name: warehouseid
  27392. type: integer
  27393. - description: 品种id
  27394. in: query
  27395. name: deliverygoodsid
  27396. type: integer
  27397. - description: 品类id
  27398. in: query
  27399. name: wrstandardid
  27400. type: integer
  27401. produces:
  27402. - application/json
  27403. responses:
  27404. "200":
  27405. description: OK
  27406. schema:
  27407. items:
  27408. $ref: '#/definitions/models.WrPosition'
  27409. type: array
  27410. "500":
  27411. description: Internal Server Error
  27412. schema:
  27413. $ref: '#/definitions/app.Response'
  27414. security:
  27415. - ApiKeyAuth: []
  27416. summary: 查询现货(预售)仓单持仓
  27417. tags:
  27418. - 仓单贸易v2
  27419. /WrTrade2/QueryWrScfContract:
  27420. get:
  27421. parameters:
  27422. - description: 用户id
  27423. in: query
  27424. name: userid
  27425. required: true
  27426. type: integer
  27427. - description: 融资合同id
  27428. in: query
  27429. name: scfcontractid
  27430. type: integer
  27431. produces:
  27432. - application/json
  27433. responses:
  27434. "200":
  27435. description: OK
  27436. schema:
  27437. items:
  27438. $ref: '#/definitions/models.WrScfContract'
  27439. type: array
  27440. "500":
  27441. description: Internal Server Error
  27442. schema:
  27443. $ref: '#/definitions/app.Response'
  27444. security:
  27445. - ApiKeyAuth: []
  27446. summary: 查询仓单贸易融资合同
  27447. tags:
  27448. - 仓单贸易v2
  27449. /WrTrade2/QueryWrScfContractInterest:
  27450. get:
  27451. parameters:
  27452. - description: 融资合同id
  27453. in: query
  27454. name: scfcontractid
  27455. type: integer
  27456. produces:
  27457. - application/json
  27458. responses:
  27459. "200":
  27460. description: OK
  27461. schema:
  27462. items:
  27463. $ref: '#/definitions/models.WrScfContractInterest'
  27464. type: array
  27465. "500":
  27466. description: Internal Server Error
  27467. schema:
  27468. $ref: '#/definitions/app.Response'
  27469. security:
  27470. - ApiKeyAuth: []
  27471. summary: 查询融资合同费用明细
  27472. tags:
  27473. - 仓单贸易v2
  27474. /WrTrade2/QueryWrSpecialMatchOrder:
  27475. get:
  27476. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  27477. parameters:
  27478. - description: 页码
  27479. in: query
  27480. name: page
  27481. type: integer
  27482. - description: 每页条数
  27483. in: query
  27484. name: pagesize
  27485. type: integer
  27486. - description: 用户id
  27487. in: query
  27488. name: userid
  27489. required: true
  27490. type: integer
  27491. - description: 仓单贸易市场id
  27492. in: query
  27493. name: marketid
  27494. type: integer
  27495. - description: 0:仓单预售 1:仓单贸易
  27496. in: query
  27497. name: haswr
  27498. required: true
  27499. type: integer
  27500. produces:
  27501. - application/json
  27502. responses:
  27503. "200":
  27504. description: OK
  27505. schema:
  27506. items:
  27507. $ref: '#/definitions/models.WrSpecialMatchOrder'
  27508. type: array
  27509. "500":
  27510. description: Internal Server Error
  27511. schema:
  27512. $ref: '#/definitions/app.Response'
  27513. security:
  27514. - ApiKeyAuth: []
  27515. summary: 查询指定成交
  27516. tags:
  27517. - 仓单贸易v2
  27518. /WrTrade2/QueryWrStandardFactoryItem:
  27519. get:
  27520. parameters:
  27521. - description: 品类id
  27522. in: query
  27523. name: wrstandardid
  27524. required: true
  27525. type: integer
  27526. produces:
  27527. - application/json
  27528. responses:
  27529. "200":
  27530. description: OK
  27531. schema:
  27532. items:
  27533. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  27534. type: array
  27535. "500":
  27536. description: Internal Server Error
  27537. schema:
  27538. $ref: '#/definitions/app.Response'
  27539. security:
  27540. - ApiKeyAuth: []
  27541. summary: 查询品类要素定义项
  27542. tags:
  27543. - 仓单贸易v2
  27544. /WrTrade2/QueryWrTradeBargainApply:
  27545. get:
  27546. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面 议价->对方议价 填写matchuserid=登录用户id
  27547. parameters:
  27548. - description: 议价人id(摘牌方)
  27549. in: query
  27550. name: userid
  27551. type: integer
  27552. - description: 挂牌方id(查对方议价时,填写此项)
  27553. in: query
  27554. name: matchuserid
  27555. type: integer
  27556. - description: 关联委托单id
  27557. in: query
  27558. name: wrtradeorderid
  27559. type: integer
  27560. - description: 0:仓单预售 1:仓单贸易
  27561. in: query
  27562. name: haswr
  27563. required: true
  27564. type: integer
  27565. produces:
  27566. - application/json
  27567. responses:
  27568. "200":
  27569. description: OK
  27570. schema:
  27571. items:
  27572. $ref: '#/definitions/models.WRTradeBargainApply'
  27573. type: array
  27574. "500":
  27575. description: Internal Server Error
  27576. schema:
  27577. $ref: '#/definitions/app.Response'
  27578. security:
  27579. - ApiKeyAuth: []
  27580. summary: 查询议价单
  27581. tags:
  27582. - 仓单贸易v2
  27583. /WrTrade2/QueryWrTradeDetail:
  27584. get:
  27585. parameters:
  27586. - description: 页码
  27587. in: query
  27588. name: page
  27589. type: integer
  27590. - description: 每页条数
  27591. in: query
  27592. name: pagesize
  27593. type: integer
  27594. - description: 用户id
  27595. in: query
  27596. name: userid
  27597. required: true
  27598. type: integer
  27599. - description: 仓单贸易市场id
  27600. in: query
  27601. name: marketid
  27602. type: integer
  27603. - description: 0:仓单预售 1:仓单贸易
  27604. in: query
  27605. name: haswr
  27606. required: true
  27607. type: integer
  27608. produces:
  27609. - application/json
  27610. responses:
  27611. "200":
  27612. description: OK
  27613. schema:
  27614. items:
  27615. $ref: '#/definitions/models.WrTradeDetail'
  27616. type: array
  27617. "500":
  27618. description: Internal Server Error
  27619. schema:
  27620. $ref: '#/definitions/app.Response'
  27621. security:
  27622. - ApiKeyAuth: []
  27623. summary: 查询仓单成交明细
  27624. tags:
  27625. - 仓单贸易v2
  27626. /WrTrade2/QueryWrTradeOrderDetail:
  27627. get:
  27628. parameters:
  27629. - description: 页码
  27630. in: query
  27631. name: page
  27632. type: integer
  27633. - description: 每页条数
  27634. in: query
  27635. name: pagesize
  27636. type: integer
  27637. - description: 商品id
  27638. in: query
  27639. name: goodsid
  27640. required: true
  27641. type: integer
  27642. - description: 买卖方向 0-买 1-卖
  27643. in: query
  27644. name: buyorsell
  27645. required: true
  27646. type: integer
  27647. produces:
  27648. - application/json
  27649. responses:
  27650. "200":
  27651. description: OK
  27652. schema:
  27653. items:
  27654. $ref: '#/definitions/models.WrTradeOrderDetail'
  27655. type: array
  27656. "500":
  27657. description: Internal Server Error
  27658. schema:
  27659. $ref: '#/definitions/app.Response'
  27660. security:
  27661. - ApiKeyAuth: []
  27662. summary: 查询合约交易买卖大厅
  27663. tags:
  27664. - 仓单贸易v2
  27665. /WrTrade2/QueryWrUserFriend:
  27666. get:
  27667. parameters:
  27668. - description: 用户id
  27669. in: query
  27670. name: userid
  27671. required: true
  27672. type: integer
  27673. - description: 新朋友userid, 如果填写了此项则查找新朋友
  27674. in: query
  27675. name: newuserid
  27676. type: integer
  27677. produces:
  27678. - application/json
  27679. responses:
  27680. "200":
  27681. description: OK
  27682. schema:
  27683. items:
  27684. $ref: '#/definitions/models.WrUserFriend'
  27685. type: array
  27686. "500":
  27687. description: Internal Server Error
  27688. schema:
  27689. $ref: '#/definitions/app.Response'
  27690. security:
  27691. - ApiKeyAuth: []
  27692. summary: 查询我的朋友
  27693. tags:
  27694. - 仓单贸易v2
  27695. /WrTrade2/QueryWrUserReceiptInfo:
  27696. get:
  27697. parameters:
  27698. - description: 用户id
  27699. in: query
  27700. name: userid
  27701. type: integer
  27702. - description: 发票类型 - 1:个人 2:企业
  27703. in: query
  27704. name: receipttype
  27705. type: integer
  27706. produces:
  27707. - application/json
  27708. responses:
  27709. "200":
  27710. description: OK
  27711. schema:
  27712. items:
  27713. $ref: '#/definitions/models.WrUserReceiptInfo'
  27714. type: array
  27715. "500":
  27716. description: Internal Server Error
  27717. schema:
  27718. $ref: '#/definitions/app.Response'
  27719. security:
  27720. - ApiKeyAuth: []
  27721. summary: 查询发票信息
  27722. tags:
  27723. - 仓单贸易v2
  27724. /ZJ/GetBankTip:
  27725. get:
  27726. produces:
  27727. - application/json
  27728. responses:
  27729. "200":
  27730. description: OK
  27731. schema:
  27732. type: string
  27733. "500":
  27734. description: Internal Server Error
  27735. schema:
  27736. $ref: '#/definitions/app.Response'
  27737. summary: 获取中江网银端出入金提示信息
  27738. tags:
  27739. - 中江
  27740. /ZJ/GetCusBankChannels:
  27741. get:
  27742. produces:
  27743. - application/json
  27744. responses:
  27745. "200":
  27746. description: OK
  27747. schema:
  27748. items:
  27749. type: string
  27750. type: array
  27751. "500":
  27752. description: Internal Server Error
  27753. schema:
  27754. $ref: '#/definitions/app.Response'
  27755. summary: 获取中江出入金渠道显示列表
  27756. tags:
  27757. - 中江
  27758. securityDefinitions:
  27759. ApiKeyAuth:
  27760. in: header
  27761. name: Authorization
  27762. type: apiKey
  27763. swagger: "2.0"