swagger.yaml 771 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788
  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. auditremark:
  1294. description: 审核备注
  1295. type: string
  1296. audittime:
  1297. description: 审核时间
  1298. type: string
  1299. buyusername:
  1300. description: 采购方名称
  1301. type: string
  1302. contractno:
  1303. description: 合同编号
  1304. type: string
  1305. contractstatus:
  1306. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1307. type: integer
  1308. contracttype:
  1309. description: 现货合同类型 - 1:采购 -1:销售
  1310. type: integer
  1311. deliverygoodscode:
  1312. description: 现货品种代码
  1313. type: string
  1314. deliverygoodsid:
  1315. description: 现货商品ID
  1316. type: integer
  1317. deliverygoodsname:
  1318. description: 现货品种名称
  1319. type: string
  1320. enumdicname:
  1321. description: 单位名称
  1322. type: string
  1323. goodscode:
  1324. description: 点价合约
  1325. type: string
  1326. goodsname:
  1327. description: 商品名称
  1328. type: string
  1329. operateapplyid:
  1330. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1331. type: string
  1332. operateapplytype:
  1333. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1334. type: integer
  1335. pricedPrice:
  1336. description: 点价价格(非必填)
  1337. type: number
  1338. pricedQty:
  1339. description: 点价数量(非必填)
  1340. type: number
  1341. pricemove:
  1342. description: 升贴水
  1343. type: number
  1344. pricetype:
  1345. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1346. type: integer
  1347. relatedid:
  1348. description: 现货合同ID
  1349. type: string
  1350. sellusername:
  1351. description: 销售方名字
  1352. type: string
  1353. userid:
  1354. description: 用户ID
  1355. type: integer
  1356. wrstandardcode:
  1357. description: 品类代码
  1358. type: string
  1359. wrstandardid:
  1360. description: 品类id
  1361. type: integer
  1362. wrstandardname:
  1363. description: 品类名称
  1364. type: string
  1365. type: object
  1366. ermcp.QryBussinessFpRsp:
  1367. properties:
  1368. applyid:
  1369. description: 申请人
  1370. type: string
  1371. applyname:
  1372. description: 申请人名称
  1373. type: string
  1374. applystatus:
  1375. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1376. type: integer
  1377. applytime:
  1378. description: 申请时间
  1379. type: string
  1380. attachurl:
  1381. description: 附件
  1382. type: string
  1383. auditid:
  1384. description: 审核人ID
  1385. type: string
  1386. auditname:
  1387. description: 审核人名称
  1388. type: string
  1389. auditremark:
  1390. description: 审核备注
  1391. type: string
  1392. audittime:
  1393. description: 审核时间
  1394. type: string
  1395. buyusername:
  1396. description: 采购方名称
  1397. type: string
  1398. contractno:
  1399. description: 合同编号
  1400. type: string
  1401. contractstatus:
  1402. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1403. type: integer
  1404. contracttype:
  1405. description: 现货合同类型 - 1:采购 -1:销售
  1406. type: integer
  1407. deliverygoodscode:
  1408. description: 现货品种代码
  1409. type: string
  1410. deliverygoodsid:
  1411. description: 现货商品ID
  1412. type: integer
  1413. deliverygoodsname:
  1414. description: 现货品种名称
  1415. type: string
  1416. enumdicname:
  1417. description: 单位名称
  1418. type: string
  1419. goodscode:
  1420. description: 点价合约
  1421. type: string
  1422. goodsname:
  1423. description: 商品名称
  1424. type: string
  1425. invoiceAmount:
  1426. description: 已开收票金额(销售为开票,采购为收票)
  1427. type: number
  1428. operateapplyid:
  1429. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1430. type: string
  1431. operateapplytype:
  1432. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1433. type: integer
  1434. pricemove:
  1435. description: 升贴水
  1436. type: number
  1437. pricetype:
  1438. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1439. type: integer
  1440. relatedid:
  1441. description: 现货合同ID
  1442. type: string
  1443. sellusername:
  1444. description: 销售方名字
  1445. type: string
  1446. userid:
  1447. description: 用户ID
  1448. type: integer
  1449. wrstandardcode:
  1450. description: 品类代码
  1451. type: string
  1452. wrstandardid:
  1453. description: 品类id
  1454. type: integer
  1455. wrstandardname:
  1456. description: 品类名称
  1457. type: string
  1458. type: object
  1459. ermcp.QryBussinessJsExRsp:
  1460. properties:
  1461. applyid:
  1462. description: 申请人
  1463. type: string
  1464. applyname:
  1465. description: 申请人名称
  1466. type: string
  1467. applystatus:
  1468. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1469. type: integer
  1470. applytime:
  1471. description: 申请时间
  1472. type: string
  1473. attachurl:
  1474. description: 附件
  1475. type: string
  1476. auditid:
  1477. description: 审核人ID
  1478. type: string
  1479. auditname:
  1480. description: 审核人名称
  1481. type: string
  1482. auditremark:
  1483. description: 审核备注
  1484. type: string
  1485. audittime:
  1486. description: 审核时间
  1487. type: string
  1488. buyusername:
  1489. description: 采购方名称
  1490. type: string
  1491. contractno:
  1492. description: 合同编号
  1493. type: string
  1494. contractstatus:
  1495. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1496. type: integer
  1497. contracttype:
  1498. description: 现货合同类型 - 1:采购 -1:销售
  1499. type: integer
  1500. deliverygoodscode:
  1501. description: 现货品种代码
  1502. type: string
  1503. deliverygoodsid:
  1504. description: 现货商品ID
  1505. type: integer
  1506. deliverygoodsname:
  1507. description: 现货品种名称
  1508. type: string
  1509. enumdicname:
  1510. description: 单位名称
  1511. type: string
  1512. goodscode:
  1513. description: 点价合约
  1514. type: string
  1515. goodsname:
  1516. description: 商品名称
  1517. type: string
  1518. operateapplyid:
  1519. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1520. type: string
  1521. operateapplytype:
  1522. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1523. type: integer
  1524. pricemove:
  1525. description: 升贴水
  1526. type: number
  1527. pricetype:
  1528. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1529. type: integer
  1530. reckontype:
  1531. description: 结算类型
  1532. type: string
  1533. reckonvalue:
  1534. description: 值
  1535. type: number
  1536. relatedid:
  1537. description: 现货合同ID
  1538. type: string
  1539. sellusername:
  1540. description: 销售方名字
  1541. type: string
  1542. userid:
  1543. description: 用户ID
  1544. type: integer
  1545. wrstandardcode:
  1546. description: 品类代码
  1547. type: string
  1548. wrstandardid:
  1549. description: 品类id
  1550. type: integer
  1551. wrstandardname:
  1552. description: 品类名称
  1553. type: string
  1554. type: object
  1555. ermcp.QryBussinessJsRsp:
  1556. properties:
  1557. addmargin:
  1558. description: 追加保证金(非必填)
  1559. type: number
  1560. applyid:
  1561. description: 申请人
  1562. type: string
  1563. applyname:
  1564. description: 申请人名称
  1565. type: string
  1566. applystatus:
  1567. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1568. type: integer
  1569. applytime:
  1570. description: 申请时间
  1571. type: string
  1572. attachurl:
  1573. description: 附件
  1574. type: string
  1575. auditid:
  1576. description: 审核人ID
  1577. type: string
  1578. auditname:
  1579. description: 审核人名称
  1580. type: string
  1581. auditremark:
  1582. description: 审核备注
  1583. type: string
  1584. audittime:
  1585. description: 审核时间
  1586. type: string
  1587. buyusername:
  1588. description: 采购方名称
  1589. type: string
  1590. contractno:
  1591. description: 合同编号
  1592. type: string
  1593. contractstatus:
  1594. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1595. type: integer
  1596. contracttype:
  1597. description: 现货合同类型 - 1:采购 -1:销售
  1598. type: integer
  1599. decmargin:
  1600. description: 减少保证金(非必填)
  1601. type: number
  1602. deliverygoodscode:
  1603. description: 现货品种代码
  1604. type: string
  1605. deliverygoodsid:
  1606. description: 现货商品ID
  1607. type: integer
  1608. deliverygoodsname:
  1609. description: 现货品种名称
  1610. type: string
  1611. enumdicname:
  1612. description: 单位名称
  1613. type: string
  1614. goodscode:
  1615. description: 点价合约
  1616. type: string
  1617. goodsname:
  1618. description: 商品名称
  1619. type: string
  1620. operateapplyid:
  1621. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1622. type: string
  1623. operateapplytype:
  1624. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1625. type: integer
  1626. pricemove:
  1627. description: 升贴水
  1628. type: number
  1629. pricetype:
  1630. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1631. type: integer
  1632. reckonadjustamount:
  1633. description: 结算调整金额(非必填)
  1634. type: number
  1635. reckonosamount:
  1636. description: 结算溢短金额(非必填)
  1637. type: number
  1638. reckonotheramount:
  1639. description: 结算其他费用(非必填)
  1640. type: number
  1641. reckonrealqty:
  1642. description: 结算实际数量(非必填)
  1643. type: number
  1644. relatedid:
  1645. description: 现货合同ID
  1646. type: string
  1647. sellusername:
  1648. description: 销售方名字
  1649. type: string
  1650. userid:
  1651. description: 用户ID
  1652. type: integer
  1653. wrstandardcode:
  1654. description: 品类代码
  1655. type: string
  1656. wrstandardid:
  1657. description: 品类id
  1658. type: integer
  1659. wrstandardname:
  1660. description: 品类名称
  1661. type: string
  1662. type: object
  1663. ermcp.QryBussinessKxRsp:
  1664. properties:
  1665. applyid:
  1666. description: 申请人
  1667. type: string
  1668. applyname:
  1669. description: 申请人名称
  1670. type: string
  1671. applystatus:
  1672. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1673. type: integer
  1674. applytime:
  1675. description: 申请时间
  1676. type: string
  1677. attachurl:
  1678. description: 附件
  1679. type: string
  1680. auditid:
  1681. description: 审核人ID
  1682. type: string
  1683. auditname:
  1684. description: 审核人名称
  1685. type: string
  1686. auditremark:
  1687. description: 审核备注
  1688. type: string
  1689. audittime:
  1690. description: 审核时间
  1691. type: string
  1692. buyusername:
  1693. description: 采购方名称
  1694. type: string
  1695. contractno:
  1696. description: 合同编号
  1697. type: string
  1698. contractstatus:
  1699. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1700. type: integer
  1701. contracttype:
  1702. description: 现货合同类型 - 1:采购 -1:销售
  1703. type: integer
  1704. deductamount:
  1705. description: 退款(非必填)
  1706. type: number
  1707. deliverygoodscode:
  1708. description: 现货品种代码
  1709. type: string
  1710. deliverygoodsid:
  1711. description: 现货商品ID
  1712. type: integer
  1713. deliverygoodsname:
  1714. description: 现货品种名称
  1715. type: string
  1716. enumdicname:
  1717. description: 单位名称
  1718. type: string
  1719. goodscode:
  1720. description: 点价合约
  1721. type: string
  1722. goodsname:
  1723. description: 商品名称
  1724. type: string
  1725. kxtype:
  1726. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1727. type: integer
  1728. operateapplyid:
  1729. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1730. type: string
  1731. operateapplytype:
  1732. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1733. type: integer
  1734. payamount:
  1735. description: 收付款(非必填)
  1736. type: number
  1737. pricemove:
  1738. description: 升贴水
  1739. type: number
  1740. pricetype:
  1741. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1742. type: integer
  1743. relatedid:
  1744. description: 现货合同ID
  1745. type: string
  1746. sellusername:
  1747. description: 销售方名字
  1748. type: string
  1749. userid:
  1750. description: 用户ID
  1751. type: integer
  1752. wrstandardcode:
  1753. description: 品类代码
  1754. type: string
  1755. wrstandardid:
  1756. description: 品类id
  1757. type: integer
  1758. wrstandardname:
  1759. description: 品类名称
  1760. type: string
  1761. type: object
  1762. ermcp.QryGGCovertCfgRsp:
  1763. properties:
  1764. convertratio:
  1765. description: 折算系数
  1766. type: number
  1767. destgoodsgroupid:
  1768. description: 目标品种ID
  1769. type: integer
  1770. dstcode:
  1771. description: 目录品种代码
  1772. type: string
  1773. dstexchangecode:
  1774. description: 目标期货交易所
  1775. type: string
  1776. dstname:
  1777. description: 目标品种名称
  1778. type: string
  1779. dstunitid:
  1780. description: 目标品种单位ID
  1781. type: integer
  1782. dstunitidname:
  1783. description: 目标品种单位名称
  1784. type: string
  1785. modifytime:
  1786. description: 修改时间
  1787. type: string
  1788. srccode:
  1789. description: 源品种代码
  1790. type: string
  1791. srcexchangecode:
  1792. description: 源期货交易所
  1793. type: string
  1794. srcgoodsgroupid:
  1795. description: 源品种ID
  1796. type: integer
  1797. srcname:
  1798. description: 源品种名称
  1799. type: string
  1800. srcunitid:
  1801. description: 源品种单位ID
  1802. type: integer
  1803. srcunitidname:
  1804. description: 源品种单位名称
  1805. type: string
  1806. type: object
  1807. ermcp.QryMGChangeLogRsp:
  1808. properties:
  1809. aftervalue:
  1810. description: 变更后
  1811. type: number
  1812. applyid:
  1813. description: 操作人
  1814. type: integer
  1815. applyname:
  1816. description: 操作人名称
  1817. type: string
  1818. applysrc:
  1819. description: 操作来源 - 1:管理端 2:终端
  1820. type: integer
  1821. beforevalue:
  1822. description: 变更前
  1823. type: number
  1824. changelogtype:
  1825. description: 变更流水类型 - 1:套保比率变更
  1826. type: integer
  1827. handlestatus:
  1828. description: 处理状态
  1829. type: integer
  1830. logdatetime:
  1831. description: 流水日期
  1832. type: string
  1833. logid:
  1834. description: 流水ID
  1835. type: integer
  1836. logremark:
  1837. description: 流水备注
  1838. type: string
  1839. middlegoodsid:
  1840. description: 套保品种ID
  1841. type: integer
  1842. tradedate:
  1843. description: 交易日(yyyyMMdd)
  1844. type: string
  1845. updatetime:
  1846. description: 更新时间
  1847. type: string
  1848. type: object
  1849. ermcp.QryMiddleGoodsDetailRsp:
  1850. properties:
  1851. cvList:
  1852. description: 期货品种折算列表
  1853. items:
  1854. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1855. type: array
  1856. mg:
  1857. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1858. description: 套保品种基本信息
  1859. wrcList:
  1860. description: 现货品种列表(现货商品折算配置)
  1861. items:
  1862. $ref: '#/definitions/models.WRSConverTDetail'
  1863. type: array
  1864. type: object
  1865. ermcp.QryMiddleGoodsRsp:
  1866. properties:
  1867. areauserid:
  1868. description: 机构用户ID
  1869. type: integer
  1870. createtime:
  1871. description: 修改时间
  1872. type: string
  1873. enumdicname:
  1874. description: 单位名称
  1875. type: string
  1876. evaluateratio:
  1877. description: 估价系数
  1878. type: number
  1879. goodsgroupid:
  1880. description: 关联期货品种ID
  1881. type: integer
  1882. goodsunitid:
  1883. description: 单位ID
  1884. type: integer
  1885. isvalid:
  1886. description: 状态 0-无效(停用) 1-有效(正常)
  1887. type: integer
  1888. middlegoodscode:
  1889. description: 套保品种代码
  1890. type: string
  1891. middlegoodsid:
  1892. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  1893. type: integer
  1894. middlegoodsname:
  1895. description: 套保品种名称
  1896. type: string
  1897. modifytime:
  1898. description: 修改时间
  1899. type: string
  1900. needarbitrageratio:
  1901. description: 套利比例
  1902. type: number
  1903. needhedgeratio:
  1904. description: 套保比率
  1905. type: number
  1906. qtydecimalplace:
  1907. description: 数量小数位
  1908. type: integer
  1909. relatedgoodsid:
  1910. description: 关联交易商品ID
  1911. type: integer
  1912. relatedgoodstype:
  1913. description: 关联商品类型 - 1:期货合约 2:现货品种
  1914. type: integer
  1915. remark:
  1916. description: 备注
  1917. type: string
  1918. type: object
  1919. ermcp.QryOPLogRsp:
  1920. properties:
  1921. aftervalue:
  1922. description: 变更后
  1923. type: number
  1924. applyid:
  1925. description: 操作人ID
  1926. type: string
  1927. applyname:
  1928. description: 操作人名称
  1929. type: string
  1930. beforevalue:
  1931. description: 变更前
  1932. type: number
  1933. biztype:
  1934. description: 业务类型 - 1:套保计划 2:现货合同
  1935. type: integer
  1936. contracttype:
  1937. description: 现货合同类型 - 1:采购 -1:销售
  1938. type: integer
  1939. logvalue:
  1940. description: 数值
  1941. type: number
  1942. operatelogtype:
  1943. description: 操作流水类型
  1944. type: integer
  1945. operatelogtypedesc:
  1946. description: 操作流水类型名称
  1947. type: string
  1948. relatedid:
  1949. description: 现货合同ID\套保计划
  1950. type: string
  1951. updatetime:
  1952. description: 更新时间
  1953. type: string
  1954. type: object
  1955. ermcp.QryUserInfoRsp:
  1956. properties:
  1957. address:
  1958. description: 通讯地址
  1959. type: string
  1960. attachment1:
  1961. description: 附件1
  1962. type: string
  1963. audittime:
  1964. description: 审核时间
  1965. type: string
  1966. cardbackphotourl:
  1967. description: 证件反面图片地址
  1968. type: string
  1969. cardfrontphotourl:
  1970. description: 证件正面图片地址
  1971. type: string
  1972. cardnum:
  1973. description: 证件号码
  1974. type: string
  1975. cardtype:
  1976. description: 证件类型
  1977. type: integer
  1978. cardtypename:
  1979. description: 证件类型名称
  1980. type: string
  1981. cityid:
  1982. description: 市
  1983. type: integer
  1984. contactname:
  1985. description: 联系人
  1986. type: string
  1987. countryid:
  1988. description: 国家
  1989. type: integer
  1990. createtime:
  1991. description: 创建时间
  1992. type: string
  1993. customername:
  1994. description: 企业名称
  1995. type: string
  1996. districtid:
  1997. description: 区域
  1998. type: integer
  1999. email:
  2000. description: 邮件
  2001. type: string
  2002. legalpersonname:
  2003. description: 法人姓名(企业)
  2004. type: string
  2005. memberuserid:
  2006. description: 所属机构ID
  2007. type: integer
  2008. mobile:
  2009. description: 手机号码
  2010. type: string
  2011. modifytime:
  2012. description: 修改时间
  2013. type: string
  2014. nickname:
  2015. description: 昵称
  2016. type: string
  2017. provinceid:
  2018. description: 省
  2019. type: integer
  2020. remark:
  2021. description: 备注
  2022. type: string
  2023. status:
  2024. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  2025. type: integer
  2026. statusdesc:
  2027. description: 账户状态中文描述
  2028. type: string
  2029. taxpayernum:
  2030. description: 纳税人识别号
  2031. type: string
  2032. telphone:
  2033. description: 联系电话
  2034. type: string
  2035. userid:
  2036. description: 用户ID
  2037. type: integer
  2038. userinfotype:
  2039. description: 客户类型
  2040. type: string
  2041. type: object
  2042. ermcp.QryWarehouseRsp:
  2043. properties:
  2044. address:
  2045. description: 详细地址
  2046. type: string
  2047. areauserid:
  2048. description: 所属机构
  2049. type: integer
  2050. autoid:
  2051. description: 自增ID(仓库ID)
  2052. type: integer
  2053. cityid:
  2054. description: 市
  2055. type: integer
  2056. contactname:
  2057. description: 联系人
  2058. type: string
  2059. contactnum:
  2060. description: 联系电话
  2061. type: string
  2062. countryid:
  2063. description: 国家
  2064. type: integer
  2065. createtime:
  2066. description: 创建时间
  2067. type: string
  2068. districtid:
  2069. description: 区
  2070. type: integer
  2071. hasvideo:
  2072. description: 是否有视频 - 0:无 1:有
  2073. type: integer
  2074. provinceid:
  2075. description: 省
  2076. type: integer
  2077. remark:
  2078. description: 审核备注
  2079. type: string
  2080. videourl:
  2081. description: 视频地址
  2082. type: string
  2083. warehousecode:
  2084. description: 仓库代码
  2085. type: string
  2086. warehousename:
  2087. description: 仓库名称
  2088. type: string
  2089. warehousestatus:
  2090. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  2091. type: integer
  2092. warehousetype:
  2093. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  2094. type: integer
  2095. type: object
  2096. ermcp.QueryErmcpTradePositionRsp:
  2097. properties:
  2098. agreeunit:
  2099. description: 合约单位
  2100. type: number
  2101. buyorsell:
  2102. description: 方向 - 0:买 1:卖
  2103. type: integer
  2104. curpositionqty:
  2105. description: 持仓(总仓数量, 期末头寸)
  2106. type: integer
  2107. curtdposition:
  2108. description: 今仓数量(期末今日头寸)
  2109. type: integer
  2110. curtdpositionenabled:
  2111. description: 今仓可用
  2112. type: integer
  2113. decimalplace:
  2114. description: 报价小数位
  2115. type: integer
  2116. enableqty:
  2117. description: 可用(总仓可用)
  2118. type: integer
  2119. exexchangename:
  2120. description: 外部交易所名称
  2121. type: string
  2122. goodscode:
  2123. description: 商品代码(内部)
  2124. type: string
  2125. goodsid:
  2126. description: 商品ID(自增ID SEQ_GOODS)
  2127. type: integer
  2128. goodsname:
  2129. description: 商品名称
  2130. type: string
  2131. last:
  2132. description: 现价
  2133. type: number
  2134. marketid:
  2135. description: 所属市场ID
  2136. type: integer
  2137. openaverageprice:
  2138. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  2139. type: number
  2140. opencost:
  2141. description: 开仓成本
  2142. type: number
  2143. openpl:
  2144. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2145. type: number
  2146. outgoodscode:
  2147. description: 商品代码(外部)
  2148. type: string
  2149. positionaverageprice:
  2150. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  2151. type: number
  2152. positioncost:
  2153. description: 持仓成本
  2154. type: number
  2155. positionpl:
  2156. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2157. type: number
  2158. positionplrate:
  2159. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  2160. type: number
  2161. usedmargin:
  2162. description: 占用保证金
  2163. type: number
  2164. type: object
  2165. ermcp.RealtimeExposurePositionRsp:
  2166. properties:
  2167. agreeunit:
  2168. description: 合约单位
  2169. type: string
  2170. areauserid:
  2171. description: 所属机构id
  2172. type: integer
  2173. convertratio:
  2174. description: 期货品种系数(折算系数)
  2175. type: number
  2176. curqty:
  2177. description: 当前持仓
  2178. type: integer
  2179. diffhedgeqty:
  2180. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  2181. type: number
  2182. diffqty:
  2183. description: 持仓变动量=当前持仓-昨日持仓
  2184. type: integer
  2185. goodscode:
  2186. description: 商品代码
  2187. type: string
  2188. goodsid:
  2189. description: 商品id
  2190. type: integer
  2191. goodsname:
  2192. description: 商品名称
  2193. type: string
  2194. middlegoodsid:
  2195. description: 套保商品id
  2196. type: integer
  2197. ydqty:
  2198. description: 昨日持仓
  2199. type: integer
  2200. type: object
  2201. ermcp.RealtimeExposureRsp:
  2202. properties:
  2203. AreaUserID:
  2204. description: 所属机构
  2205. type: integer
  2206. BuyFutureQty:
  2207. description: 买入期货数量
  2208. type: number
  2209. BuyPlanQty:
  2210. description: 采购计划数量
  2211. type: number
  2212. BuyPricedQty:
  2213. description: 采购合同已定价数量
  2214. type: number
  2215. MiddleGoodsCode:
  2216. description: 套保品种代码
  2217. type: string
  2218. MiddleGoodsHedgeRatio:
  2219. description: 套保比例
  2220. type: number
  2221. MiddleGoodsID:
  2222. description: 套保品种
  2223. type: integer
  2224. MiddleGoodsName:
  2225. description: 套保品种名称
  2226. type: string
  2227. NeedHedgeExposoure:
  2228. description: 应套保敞口(套保敞口)
  2229. type: number
  2230. NeedHedgeRatio:
  2231. description: 应套保敞口比例
  2232. type: number
  2233. OriBuyFutureQty:
  2234. description: 期初买入期货数量
  2235. type: number
  2236. OriBuyPlanQty:
  2237. description: 期初采购计划数量
  2238. type: number
  2239. OriBuyPricedQty:
  2240. description: 期初采购合同已定价数量
  2241. type: number
  2242. OriSellFutureQty:
  2243. description: 期初卖出期货数量
  2244. type: number
  2245. OriSellPlanQty:
  2246. description: 期初销售计划数量
  2247. type: number
  2248. OriSellPricedQty:
  2249. description: 期初销售合同已定价数量
  2250. type: number
  2251. SellFutureQty:
  2252. description: 卖出期货数量
  2253. type: number
  2254. SellPlanQty:
  2255. description: 销售计划数量
  2256. type: number
  2257. SellPricedQty:
  2258. description: 销售合同已定价数量
  2259. type: number
  2260. TotalExposure:
  2261. description: 总敞口 平安:净敞口
  2262. type: number
  2263. TotalFutureQty:
  2264. description: 期货总量 平安:保值净持仓量
  2265. type: number
  2266. TotalHedgeRatio:
  2267. description: 敞口比例
  2268. type: number
  2269. TotalNeedHedgeQty:
  2270. description: 应套保总量(现货应套保总量)
  2271. type: number
  2272. TotalSpotQty:
  2273. description: 现货总量 平安:采销定价净值
  2274. type: number
  2275. arbitrageqty:
  2276. description: 套利量
  2277. type: number
  2278. diffArbitrageQty:
  2279. description: 套利变动量
  2280. type: number
  2281. diffExposoureQty:
  2282. description: 变动量(套保敞口)
  2283. type: number
  2284. diffFutuQty:
  2285. description: 变动量(期货总量) 平安:保值净持仓量今日变动
  2286. type: number
  2287. diffHedgeQty:
  2288. description: 套保变动量
  2289. type: number
  2290. diffQty:
  2291. description: 变动量(总敞口) 平安:净敞口今日变动
  2292. type: number
  2293. diffSpotHedgeQty:
  2294. description: 变动量(现货应套保总量) 平安:应套保量今日变动
  2295. type: number
  2296. diffSpotQty:
  2297. description: 变动量(现货总量) = 现货数量 - 期初现货数量 平安:采销定价净值今日变动
  2298. type: number
  2299. enumdicname:
  2300. description: 单位名称
  2301. type: string
  2302. hedgeqty:
  2303. description: 套保量
  2304. type: number
  2305. needarbitrageqty:
  2306. description: 应套利量
  2307. type: number
  2308. needarbitrageratio:
  2309. description: 套利比例
  2310. type: number
  2311. needhedgeqty:
  2312. description: 应套保量
  2313. type: number
  2314. oriTotalFutuQty:
  2315. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  2316. type: number
  2317. oriTotalSpotQty:
  2318. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  2319. type: number
  2320. oriarbitrageqty:
  2321. description: 期初套利量
  2322. type: number
  2323. orihedgeqty:
  2324. description: 期初套保量
  2325. type: number
  2326. orineedhedgeexposoure:
  2327. description: 期初套保敞口
  2328. type: number
  2329. oritotalexposure:
  2330. description: 期初总敞口
  2331. type: number
  2332. oritotalfutureqty:
  2333. description: 期初期货总量
  2334. type: number
  2335. oritotalneedhedgeqty:
  2336. description: 期初现货应套保量
  2337. type: number
  2338. type: object
  2339. erms2.QueryArbitrageStrategyRsp:
  2340. properties:
  2341. applybasis:
  2342. description: 申请基差
  2343. type: number
  2344. asapplyid:
  2345. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  2346. type: string
  2347. asname:
  2348. description: 策略名称
  2349. type: string
  2350. asno:
  2351. description: 策略编号
  2352. type: string
  2353. basischangepl:
  2354. description: 基差变动损益[结算更新]
  2355. type: number
  2356. biztype:
  2357. description: 业务类型 - 1:正向套利 -1:反向套利
  2358. type: integer
  2359. closetradedate:
  2360. description: 完结交易日(yyyyMMdd)
  2361. type: string
  2362. curbasis:
  2363. description: 当前基差[结算更新]
  2364. type: number
  2365. deliverygoodsid:
  2366. description: 现货品种ID
  2367. type: integer
  2368. futureavgprice:
  2369. description: 期货建仓均价
  2370. type: number
  2371. futurecloseamount:
  2372. description: 期货平仓金额
  2373. type: number
  2374. futurecloseqty:
  2375. description: 期货平仓数量
  2376. type: number
  2377. futureopenamount:
  2378. description: 期货开仓金额
  2379. type: number
  2380. futureopenqty:
  2381. description: 期货开仓数量
  2382. type: number
  2383. futurepl:
  2384. description: 期货总盈亏[结算更新]
  2385. type: number
  2386. futureqty:
  2387. description: 期货持仓数量
  2388. type: number
  2389. futurequote:
  2390. description: 期货额度
  2391. type: number
  2392. goodsgroupid:
  2393. description: 期货品种ID
  2394. type: integer
  2395. marketid:
  2396. description: 市场ID
  2397. type: integer
  2398. netexposure:
  2399. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  2400. type: number
  2401. netexposurepl:
  2402. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  2403. type: number
  2404. netexposurerate:
  2405. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  2406. type: number
  2407. openbasis:
  2408. description: 建仓基差
  2409. type: number
  2410. pricedspotqty:
  2411. description: 已定价现货数量
  2412. type: number
  2413. pricedspotqtynotax:
  2414. description: 已定价现货不含税数量
  2415. type: number
  2416. remark:
  2417. description: 备注
  2418. type: string
  2419. spotavgprice:
  2420. description: 现货均价
  2421. type: number
  2422. spotbuyamount:
  2423. description: 现货采购金额
  2424. type: number
  2425. spotbuyqty:
  2426. description: 现货采购数量
  2427. type: number
  2428. spotpl:
  2429. description: 现货总盈亏[结算更新]
  2430. type: number
  2431. spotquota:
  2432. description: 现货额度
  2433. type: number
  2434. spotsellamount:
  2435. description: 现货销售金额
  2436. type: number
  2437. spotsellqty:
  2438. description: 现货销售数量
  2439. type: number
  2440. spotusedquota:
  2441. description: 现货占用资金
  2442. type: number
  2443. strategystatus:
  2444. description: 策略状态 - 0:未结束 1:已结束
  2445. type: integer
  2446. totalpl:
  2447. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  2448. type: number
  2449. tradedate:
  2450. description: 交易日(yyyyMMdd)
  2451. type: string
  2452. updatetime:
  2453. description: 更新时间
  2454. type: string
  2455. usedquota:
  2456. description: 已占用资金
  2457. type: number
  2458. userid:
  2459. description: 所属机构
  2460. type: integer
  2461. required:
  2462. - asapplyid
  2463. type: object
  2464. erms2.QueryInnerTradeDetailRsp:
  2465. properties:
  2466. accountid:
  2467. description: 账号ID
  2468. type: integer
  2469. agreeunit:
  2470. description: 合约单位
  2471. type: number
  2472. asapplyid:
  2473. description: 策略申请ID
  2474. type: integer
  2475. asname:
  2476. description: 策略名称
  2477. type: string
  2478. asno:
  2479. description: 策略编号
  2480. type: string
  2481. buyorsell:
  2482. description: 方向 - 0:买 1:卖
  2483. type: integer
  2484. channelbuildtype:
  2485. description: 委托单据类型 0:无 1:建仓 2:平仓
  2486. type: integer
  2487. closetype:
  2488. description: 平仓方式 - 0:无 1:平今 2:平昨
  2489. type: integer
  2490. decimalplace:
  2491. description: 报价小数位
  2492. type: integer
  2493. detailtype:
  2494. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  2495. type: integer
  2496. exexchangecode:
  2497. description: 外部交易所代码
  2498. type: string
  2499. exexchangename:
  2500. description: 外部交易所名称
  2501. type: string
  2502. goodscode:
  2503. description: 商品代码(合约)
  2504. type: string
  2505. goodsgroupid:
  2506. description: 商品组ID(品种ID)
  2507. type: integer
  2508. goodsgroupname:
  2509. description: 商品组名称(品种)
  2510. type: string
  2511. goodsid:
  2512. description: 商品ID
  2513. type: integer
  2514. goodsname:
  2515. description: 商品名称(合约)
  2516. type: string
  2517. goodunit:
  2518. description: 报价单位
  2519. type: string
  2520. marketid:
  2521. description: 市场ID
  2522. type: integer
  2523. orderid:
  2524. description: 委托单号
  2525. type: string
  2526. outgoodscode:
  2527. description: 商品代码(外部)
  2528. type: string
  2529. relatedouttradeid:
  2530. description: 关联外部成交单ID
  2531. type: string
  2532. remark:
  2533. description: 备注
  2534. type: string
  2535. spotcontractid:
  2536. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  2537. type: integer
  2538. spotcontractno:
  2539. description: 现货合同编号
  2540. type: string
  2541. tradeid:
  2542. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2543. type: string
  2544. tradeprice:
  2545. description: 成交价格
  2546. type: number
  2547. tradeqty:
  2548. description: 成交数量
  2549. type: integer
  2550. tradetime:
  2551. description: 成交时间
  2552. type: string
  2553. updatetime:
  2554. description: 更新时间
  2555. type: string
  2556. required:
  2557. - asapplyid
  2558. - buyorsell
  2559. - goodscode
  2560. - goodsgroupid
  2561. - goodsgroupname
  2562. - goodsname
  2563. - tradeid
  2564. type: object
  2565. erms2.QuerySpotContractRsp:
  2566. properties:
  2567. accountid:
  2568. description: 资金账户ID
  2569. type: integer
  2570. areauserid:
  2571. description: 所属机构
  2572. type: integer
  2573. closedate:
  2574. description: 终止日期
  2575. type: string
  2576. closeremark:
  2577. description: 结束备注
  2578. type: string
  2579. closetradedate:
  2580. description: 完结交易日(yyyyMMdd)
  2581. type: string
  2582. closetype:
  2583. description: 终止类型 - 1:违约 2:提前终止
  2584. type: integer
  2585. contractamount:
  2586. description: 合同金额
  2587. type: number
  2588. contractattachment:
  2589. description: 合同附件
  2590. type: string
  2591. contractno:
  2592. description: 现货合同编号
  2593. type: string
  2594. contractqty:
  2595. description: 合同数量(数值) (用于计算)
  2596. type: number
  2597. contractqtychar:
  2598. description: 合同数量\已订价数量 (用于显示)
  2599. type: string
  2600. contractstatus:
  2601. description: 合同状态 - 0:未结束 1:已结束
  2602. type: integer
  2603. contracttype:
  2604. description: 现货合同类型 - 1:采购合同 -1:销售合同
  2605. type: integer
  2606. customeraccountid:
  2607. description: 客户资金账户ID
  2608. type: integer
  2609. customeruserid:
  2610. description: 客户ID
  2611. type: integer
  2612. deliverygoodsdesc:
  2613. description: 品种说明
  2614. type: string
  2615. deliverygoodsid:
  2616. description: 现货品种ID
  2617. type: integer
  2618. handlestatus:
  2619. description: 处理状态
  2620. type: integer
  2621. invoiceatt:
  2622. description: 发票附件
  2623. type: string
  2624. invoicedatetime:
  2625. description: 开收票更新时间
  2626. type: string
  2627. invoiceopentime:
  2628. description: 开票时间
  2629. type: string
  2630. invoiceremark:
  2631. description: 发票备注
  2632. type: string
  2633. invoicestatus:
  2634. description: 开收票状态 - 0:未开票 1:已开票
  2635. type: integer
  2636. lastdate:
  2637. description: 交货时间
  2638. type: string
  2639. marketid:
  2640. description: 市场ID
  2641. type: integer
  2642. paydatetime:
  2643. description: 收付款更新时间
  2644. type: string
  2645. payremark:
  2646. description: 收付款备注
  2647. type: string
  2648. paystatus:
  2649. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  2650. type: integer
  2651. positionqty:
  2652. description: 头寸数量 - 合同数量去小数部分
  2653. type: integer
  2654. producttype:
  2655. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2656. type: integer
  2657. relatedqty:
  2658. description: 已关联数量
  2659. type: number
  2660. relatedstatus:
  2661. description: 关联完结状态 - 0:未结束 1:已结束
  2662. type: integer
  2663. remark:
  2664. description: 备注
  2665. type: string
  2666. signdate:
  2667. description: 签订日期
  2668. type: string
  2669. spotcontractid:
  2670. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  2671. type: string
  2672. spotdatetime:
  2673. description: 收发货更新时间
  2674. type: string
  2675. spotprice:
  2676. description: 价格
  2677. type: number
  2678. spotremark:
  2679. description: 收发货备注
  2680. type: string
  2681. spotstatus:
  2682. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  2683. type: integer
  2684. tradedate:
  2685. description: 交易日(yyyyMMdd)
  2686. type: string
  2687. userid:
  2688. description: 业务员用户ID
  2689. type: integer
  2690. warehouseid:
  2691. description: 仓库ID
  2692. type: integer
  2693. wrfactortypeid:
  2694. description: 仓单要素类型ID
  2695. type: integer
  2696. wrstandardid:
  2697. description: 仓单标准ID(SEQ_WRSTANDARD)
  2698. type: integer
  2699. required:
  2700. - spotcontractid
  2701. type: object
  2702. erms3.AddErms2ASApplyReq:
  2703. properties:
  2704. applybasis:
  2705. description: 申请基差
  2706. type: number
  2707. applystatus:
  2708. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2709. type: integer
  2710. asapplyid:
  2711. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  2712. type: integer
  2713. asname:
  2714. description: 策略名称
  2715. type: string
  2716. asno:
  2717. description: 策略编号
  2718. type: string
  2719. auditid:
  2720. description: 审核人
  2721. type: integer
  2722. auditremark:
  2723. description: 审核备注
  2724. type: string
  2725. audittime:
  2726. description: 审核时间
  2727. type: string
  2728. biztype:
  2729. description: 业务类型 - 1:正向套利 2:反向套利
  2730. type: integer
  2731. createtime:
  2732. description: 创建时间
  2733. type: string
  2734. creatorid:
  2735. description: 创建人
  2736. type: integer
  2737. deliverygoodsid:
  2738. description: 现货品种ID
  2739. type: integer
  2740. futurequote:
  2741. description: 期货额度
  2742. type: number
  2743. goodsgroupid:
  2744. description: 期货品种ID
  2745. type: integer
  2746. marketid:
  2747. description: 市场ID
  2748. type: integer
  2749. remark:
  2750. description: 备注
  2751. type: string
  2752. spotquota:
  2753. description: 现货额度
  2754. type: number
  2755. tradedate:
  2756. description: 交易日(yyyyMMdd)
  2757. type: string
  2758. userid:
  2759. description: 所属机构
  2760. type: integer
  2761. required:
  2762. - asapplyid
  2763. type: object
  2764. erms3.AddErms2SpotTradeApplyReq:
  2765. properties:
  2766. applyjsondetail:
  2767. description: 申请明细(JSON)
  2768. type: string
  2769. applystatus:
  2770. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2771. type: integer
  2772. areauserid:
  2773. description: 所属机构
  2774. type: integer
  2775. auditid:
  2776. description: 审核人
  2777. type: integer
  2778. auditremark:
  2779. description: 审核备注
  2780. type: string
  2781. audittime:
  2782. description: 审核时间
  2783. type: string
  2784. createtime:
  2785. description: 创建时间
  2786. type: string
  2787. creatorid:
  2788. description: 创建人
  2789. type: integer
  2790. deliverygoodsid:
  2791. description: 现货品种ID
  2792. type: integer
  2793. futureaccountid:
  2794. description: 期货资金账户
  2795. type: integer
  2796. goodsgroupid:
  2797. description: 期货品种
  2798. type: integer
  2799. marketid:
  2800. description: 市场ID
  2801. type: integer
  2802. remark:
  2803. description: 备注
  2804. type: string
  2805. spotaccountid:
  2806. description: 现货资金账户
  2807. type: integer
  2808. spottradeid:
  2809. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  2810. type: integer
  2811. spottradename:
  2812. description: 业务名称
  2813. type: string
  2814. spottradeno:
  2815. description: 业务编号
  2816. type: string
  2817. tradedate:
  2818. description: 交易日(yyyyMMdd)
  2819. type: string
  2820. wrstandardid:
  2821. description: 仓单标准ID
  2822. type: integer
  2823. required:
  2824. - spottradeid
  2825. type: object
  2826. erms3.AddSpotContractApplyReq:
  2827. properties:
  2828. accountid:
  2829. description: 资金账户ID
  2830. type: integer
  2831. areauserid:
  2832. description: 所属机构
  2833. type: integer
  2834. contractattachment:
  2835. description: 合同附件
  2836. type: string
  2837. contractno:
  2838. description: 现货合同编号
  2839. type: string
  2840. contracttype:
  2841. description: 现货合同类型 - 1:采购 -1:销售
  2842. type: integer
  2843. creatorid:
  2844. description: 申请人
  2845. type: integer
  2846. customeraccountid:
  2847. description: 客户资金账户ID
  2848. type: integer
  2849. customeruserid:
  2850. description: 客户ID
  2851. type: integer
  2852. details:
  2853. description: 明细
  2854. items:
  2855. $ref: '#/definitions/erms3.SoptContractDetail'
  2856. type: array
  2857. orimargin:
  2858. description: 初始保证金
  2859. type: number
  2860. remark:
  2861. description: 备注
  2862. type: string
  2863. signdate:
  2864. description: 签订日期
  2865. type: string
  2866. required:
  2867. - accountid
  2868. - areauserid
  2869. - contractno
  2870. - contracttype
  2871. - customeraccountid
  2872. - customeruserid
  2873. - details
  2874. - orimargin
  2875. - signdate
  2876. type: object
  2877. erms3.AddSpotContractApplyRsp:
  2878. properties:
  2879. contractno:
  2880. description: 现货合同编号
  2881. type: string
  2882. spotcontractid:
  2883. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2884. type: integer
  2885. required:
  2886. - contractno
  2887. type: object
  2888. erms3.AddUserInfoApplyReq:
  2889. properties:
  2890. accountid:
  2891. description: 交易系统帐号Id (加密存储)
  2892. type: integer
  2893. areacode:
  2894. description: 机构代码
  2895. type: string
  2896. areaid:
  2897. description: 机构Id
  2898. type: integer
  2899. attachment1:
  2900. description: 附件1
  2901. type: string
  2902. attachment2:
  2903. description: 附件2
  2904. type: string
  2905. attachment3:
  2906. description: 附件3
  2907. type: string
  2908. attachment4:
  2909. description: 附件4
  2910. type: string
  2911. attachment5:
  2912. description: 附件5
  2913. type: string
  2914. auditedby:
  2915. description: 审核人
  2916. type: string
  2917. auditime:
  2918. description: 审核时间
  2919. type: string
  2920. auditsrc:
  2921. description: 审核来源 - 1:管理端 2:终端
  2922. type: integer
  2923. bankaccount:
  2924. description: 银行帐号 (加密存储)
  2925. type: string
  2926. bankaccountname:
  2927. description: 收款人名称
  2928. type: string
  2929. bankcardbackphotourl:
  2930. description: 银行卡背面照地址
  2931. type: string
  2932. bankcardfrontphotourl:
  2933. description: 银行卡正面照地址
  2934. type: string
  2935. bankid:
  2936. description: 银行编码
  2937. type: string
  2938. bankname:
  2939. description: 银行名称
  2940. type: string
  2941. bankpictureurl:
  2942. description: 银行卡正面地址
  2943. type: string
  2944. biznature:
  2945. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2946. type: integer
  2947. bizscope:
  2948. description: 企业经营范围(企业)
  2949. type: string
  2950. biztype:
  2951. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2952. type: integer
  2953. brokerid:
  2954. description: 经纪人ID(加密存储)
  2955. type: string
  2956. cardaddress:
  2957. description: 证件地址 (加密存储)
  2958. type: string
  2959. cardbackphotourl:
  2960. description: 背面证件照地址
  2961. type: string
  2962. cardfrontphotourl:
  2963. description: 正面证件照地址
  2964. type: string
  2965. cardnum:
  2966. description: 证件号码 (加密存储)
  2967. type: string
  2968. cardtype:
  2969. description: 证件类型
  2970. type: integer
  2971. cityid:
  2972. description: 市
  2973. type: integer
  2974. company:
  2975. description: 公司(个人)
  2976. type: string
  2977. contactcardbackphotourl:
  2978. description: 联系人证件背面图片地址
  2979. type: string
  2980. contactcardfrontphotourl:
  2981. description: 联系人证件正面图片地址
  2982. type: string
  2983. contactname:
  2984. description: 联系人
  2985. type: string
  2986. countryid:
  2987. description: 国家
  2988. type: integer
  2989. createtime:
  2990. description: 开户申请时间
  2991. type: string
  2992. cusbankid:
  2993. description: 签约类型
  2994. type: string
  2995. cusbankname:
  2996. description: 签约类型名称
  2997. type: string
  2998. customername:
  2999. description: 客户名称(企业名称)
  3000. type: string
  3001. districtid:
  3002. description: 地区
  3003. type: integer
  3004. email:
  3005. description: Email地址(加密存储)
  3006. type: string
  3007. halfbodyphotourl:
  3008. description: 半身照地址
  3009. type: string
  3010. headurl:
  3011. description: 头像地址
  3012. type: string
  3013. ipaddress:
  3014. description: IP地址
  3015. type: string
  3016. isvalidate:
  3017. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3018. type: string
  3019. legalcardbackphotourl:
  3020. description: 法人身份证背面照地址
  3021. type: string
  3022. legalcardfrontphotourl:
  3023. description: 法人身份证正面照地址
  3024. type: string
  3025. legalpersonname:
  3026. description: 法人姓名(企业)
  3027. type: string
  3028. logincode:
  3029. description: 登录帐号 (加密存储)
  3030. type: string
  3031. memberareaid:
  3032. description: 所属会员ID
  3033. type: integer
  3034. mobile2:
  3035. description: 手机号码[明文-尚志]
  3036. type: string
  3037. mobilephone:
  3038. description: 手机号码 (加密存储)
  3039. type: string
  3040. modifiedby:
  3041. description: 修改人帐号
  3042. type: integer
  3043. modifiedtime:
  3044. description: 修改时间
  3045. type: string
  3046. nickname:
  3047. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3048. type: string
  3049. openmode:
  3050. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3051. type: integer
  3052. otherurl:
  3053. description: 其它图片地址[使用分号分隔]
  3054. type: string
  3055. postalcode:
  3056. description: 邮政编码
  3057. type: string
  3058. provinceid:
  3059. description: 省
  3060. type: integer
  3061. proxystatementurl:
  3062. description: 授权委托书
  3063. type: string
  3064. qq:
  3065. description: QQ(加密存储
  3066. type: string
  3067. referral:
  3068. description: 推荐人编码
  3069. type: string
  3070. remark:
  3071. description: 备注
  3072. type: string
  3073. removebeforestatus:
  3074. description: REMOVEBEFORESTATUS
  3075. type: integer
  3076. sex:
  3077. description: 性别 - 0:女 1:男
  3078. type: integer
  3079. signedstatus:
  3080. description: 账户一号签签约状态
  3081. type: integer
  3082. signpdfurl:
  3083. description: 签约pdf文件
  3084. type: string
  3085. subbranch:
  3086. description: 开户支行
  3087. type: string
  3088. taxpayernum:
  3089. description: 纳税人识别号
  3090. type: string
  3091. telphone:
  3092. description: 联系电话(加密存储)
  3093. type: string
  3094. userid:
  3095. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3096. type: integer
  3097. userinfotype:
  3098. description: 用户信息类型 - 1:个人 2:企业
  3099. type: integer
  3100. username:
  3101. description: 用户姓名
  3102. type: string
  3103. userstate:
  3104. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3105. type: integer
  3106. usertype:
  3107. description: 用户类型 - 1:投资者 2:机构
  3108. type: integer
  3109. videourl:
  3110. description: 视频地址
  3111. type: string
  3112. wechat:
  3113. description: 微信号 (加密存储)
  3114. type: string
  3115. required:
  3116. - userid
  3117. type: object
  3118. erms3.CustomerInfo:
  3119. properties:
  3120. accountids:
  3121. description: 资金账户ID列表
  3122. items:
  3123. type: integer
  3124. type: array
  3125. customername:
  3126. description: 名称(企业名称)
  3127. type: string
  3128. mobile:
  3129. description: 手机号码
  3130. type: string
  3131. userid:
  3132. description: 用户ID
  3133. type: integer
  3134. required:
  3135. - userid
  3136. type: object
  3137. erms3.ModifyUserInfoApplyReq:
  3138. properties:
  3139. accountid:
  3140. description: 交易系统帐号Id (加密存储)
  3141. type: integer
  3142. areacode:
  3143. description: 机构代码
  3144. type: string
  3145. areaid:
  3146. description: 机构Id
  3147. type: integer
  3148. attachment1:
  3149. description: 附件1
  3150. type: string
  3151. attachment2:
  3152. description: 附件2
  3153. type: string
  3154. attachment3:
  3155. description: 附件3
  3156. type: string
  3157. attachment4:
  3158. description: 附件4
  3159. type: string
  3160. attachment5:
  3161. description: 附件5
  3162. type: string
  3163. auditedby:
  3164. description: 审核人
  3165. type: string
  3166. auditime:
  3167. description: 审核时间
  3168. type: string
  3169. auditsrc:
  3170. description: 审核来源 - 1:管理端 2:终端
  3171. type: integer
  3172. bankaccount:
  3173. description: 银行帐号 (加密存储)
  3174. type: string
  3175. bankaccountname:
  3176. description: 收款人名称
  3177. type: string
  3178. bankcardbackphotourl:
  3179. description: 银行卡背面照地址
  3180. type: string
  3181. bankcardfrontphotourl:
  3182. description: 银行卡正面照地址
  3183. type: string
  3184. bankid:
  3185. description: 银行编码
  3186. type: string
  3187. bankname:
  3188. description: 银行名称
  3189. type: string
  3190. bankpictureurl:
  3191. description: 银行卡正面地址
  3192. type: string
  3193. biznature:
  3194. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3195. type: integer
  3196. bizscope:
  3197. description: 企业经营范围(企业)
  3198. type: string
  3199. biztype:
  3200. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  3201. type: integer
  3202. brokerid:
  3203. description: 经纪人ID(加密存储)
  3204. type: string
  3205. cardaddress:
  3206. description: 证件地址 (加密存储)
  3207. type: string
  3208. cardbackphotourl:
  3209. description: 背面证件照地址
  3210. type: string
  3211. cardfrontphotourl:
  3212. description: 正面证件照地址
  3213. type: string
  3214. cardnum:
  3215. description: 证件号码 (加密存储)
  3216. type: string
  3217. cardtype:
  3218. description: 证件类型
  3219. type: integer
  3220. cityid:
  3221. description: 市
  3222. type: integer
  3223. company:
  3224. description: 公司(个人)
  3225. type: string
  3226. contactcardbackphotourl:
  3227. description: 联系人证件背面图片地址
  3228. type: string
  3229. contactcardfrontphotourl:
  3230. description: 联系人证件正面图片地址
  3231. type: string
  3232. contactname:
  3233. description: 联系人
  3234. type: string
  3235. countryid:
  3236. description: 国家
  3237. type: integer
  3238. createtime:
  3239. description: 开户申请时间
  3240. type: string
  3241. cusbankid:
  3242. description: 签约类型
  3243. type: string
  3244. cusbankname:
  3245. description: 签约类型名称
  3246. type: string
  3247. customername:
  3248. description: 客户名称(企业名称)
  3249. type: string
  3250. districtid:
  3251. description: 地区
  3252. type: integer
  3253. email:
  3254. description: Email地址(加密存储)
  3255. type: string
  3256. halfbodyphotourl:
  3257. description: 半身照地址
  3258. type: string
  3259. headurl:
  3260. description: 头像地址
  3261. type: string
  3262. ipaddress:
  3263. description: IP地址
  3264. type: string
  3265. isvalidate:
  3266. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3267. type: string
  3268. legalcardbackphotourl:
  3269. description: 法人身份证背面照地址
  3270. type: string
  3271. legalcardfrontphotourl:
  3272. description: 法人身份证正面照地址
  3273. type: string
  3274. legalpersonname:
  3275. description: 法人姓名(企业)
  3276. type: string
  3277. logincode:
  3278. description: 登录帐号 (加密存储)
  3279. type: string
  3280. memberareaid:
  3281. description: 所属会员ID
  3282. type: integer
  3283. mobile2:
  3284. description: 手机号码[明文-尚志]
  3285. type: string
  3286. mobilephone:
  3287. description: 手机号码 (加密存储)
  3288. type: string
  3289. modifiedby:
  3290. description: 修改人帐号
  3291. type: integer
  3292. modifiedtime:
  3293. description: 修改时间
  3294. type: string
  3295. nickname:
  3296. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3297. type: string
  3298. openmode:
  3299. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3300. type: integer
  3301. otherurl:
  3302. description: 其它图片地址[使用分号分隔]
  3303. type: string
  3304. postalcode:
  3305. description: 邮政编码
  3306. type: string
  3307. provinceid:
  3308. description: 省
  3309. type: integer
  3310. proxystatementurl:
  3311. description: 授权委托书
  3312. type: string
  3313. qq:
  3314. description: QQ(加密存储
  3315. type: string
  3316. referral:
  3317. description: 推荐人编码
  3318. type: string
  3319. remark:
  3320. description: 备注
  3321. type: string
  3322. removebeforestatus:
  3323. description: REMOVEBEFORESTATUS
  3324. type: integer
  3325. sex:
  3326. description: 性别 - 0:女 1:男
  3327. type: integer
  3328. signedstatus:
  3329. description: 账户一号签签约状态
  3330. type: integer
  3331. signpdfurl:
  3332. description: 签约pdf文件
  3333. type: string
  3334. subbranch:
  3335. description: 开户支行
  3336. type: string
  3337. taxpayernum:
  3338. description: 纳税人识别号
  3339. type: string
  3340. telphone:
  3341. description: 联系电话(加密存储)
  3342. type: string
  3343. userid:
  3344. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3345. type: integer
  3346. userinfotype:
  3347. description: 用户信息类型 - 1:个人 2:企业
  3348. type: integer
  3349. username:
  3350. description: 用户姓名
  3351. type: string
  3352. userstate:
  3353. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3354. type: integer
  3355. usertype:
  3356. description: 用户类型 - 1:投资者 2:机构
  3357. type: integer
  3358. videourl:
  3359. description: 视频地址
  3360. type: string
  3361. wechat:
  3362. description: 微信号 (加密存储)
  3363. type: string
  3364. required:
  3365. - userid
  3366. type: object
  3367. erms3.QryAuditContractRsp:
  3368. properties:
  3369. accountid:
  3370. description: 交易员ID
  3371. type: string
  3372. applystatus:
  3373. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3374. type: integer
  3375. curdeliveryqty:
  3376. description: 未交收量
  3377. type: integer
  3378. customername:
  3379. description: 采购方ID
  3380. type: string
  3381. deliverygoodsid:
  3382. description: 品种ID
  3383. type: string
  3384. deliveryqty:
  3385. description: 交收量
  3386. type: integer
  3387. enumdicname:
  3388. description: 单位名称
  3389. type: string
  3390. matchaccountid:
  3391. description: 业务员ID
  3392. type: string
  3393. matchcustomername:
  3394. description: 销售方ID
  3395. type: string
  3396. pricedqty:
  3397. description: 定价量
  3398. type: number
  3399. signdate:
  3400. description: 签订日期
  3401. type: string
  3402. spotcontractid:
  3403. description: 合同ID
  3404. type: string
  3405. totaldqty:
  3406. description: 合同量
  3407. type: number
  3408. unpricedqty:
  3409. description: 未定价量
  3410. type: number
  3411. wrstandardname:
  3412. description: 商品名称
  3413. type: string
  3414. required:
  3415. - matchcustomername
  3416. - spotcontractid
  3417. type: object
  3418. erms3.QryPendingBizRsp:
  3419. properties:
  3420. accountid:
  3421. description: 现货账户
  3422. type: string
  3423. areaname:
  3424. description: 所属部门
  3425. type: string
  3426. bizid:
  3427. description: 业务ID
  3428. type: string
  3429. bizname:
  3430. description: 业务名称
  3431. type: string
  3432. status:
  3433. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3434. type: integer
  3435. type:
  3436. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  3437. type: integer
  3438. type: object
  3439. erms3.QueryBusinessInfoRsp:
  3440. properties:
  3441. businessid:
  3442. description: 业务ID.
  3443. type: integer
  3444. buyamount:
  3445. description: 采购额.
  3446. type: number
  3447. buyqty:
  3448. description: 采购量.
  3449. type: string
  3450. futurepl:
  3451. description: 期货盈亏.
  3452. type: number
  3453. futureqty:
  3454. description: 期货敞口.
  3455. type: string
  3456. goodsid:
  3457. description: 商品名称/商品代码.
  3458. type: string
  3459. hedgingqty:
  3460. description: 套保量.
  3461. type: string
  3462. sellamount:
  3463. description: 销售额.
  3464. type: number
  3465. sellqty:
  3466. description: 销售量.
  3467. type: string
  3468. spotmarketvalue:
  3469. description: 现货市值.
  3470. type: number
  3471. spotpl:
  3472. description: 浮动权益.
  3473. type: number
  3474. spotqty:
  3475. description: 现货量.
  3476. type: string
  3477. statu:
  3478. description: 状态,0-未结束 1-已结束.
  3479. type: integer
  3480. totalpl:
  3481. description: 总盈亏.
  3482. type: number
  3483. totalqty:
  3484. description: 总敞口.
  3485. type: string
  3486. type:
  3487. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  3488. type: integer
  3489. type: object
  3490. erms3.QuerySpotContractAppleFormRsp:
  3491. properties:
  3492. goodses:
  3493. description: 合约列表
  3494. items:
  3495. $ref: '#/definitions/models.GoodsIDAndName'
  3496. type: array
  3497. oppositeusers:
  3498. description: 对方账号列表
  3499. items:
  3500. $ref: '#/definitions/erms3.CustomerInfo'
  3501. type: array
  3502. ouruser:
  3503. $ref: '#/definitions/erms3.CustomerInfo'
  3504. description: 我方账号
  3505. warehouseinfos:
  3506. description: 仓库信息列表
  3507. items:
  3508. $ref: '#/definitions/models.Warehouseinfo'
  3509. type: array
  3510. wrstandards:
  3511. description: 仓单标准列表
  3512. items:
  3513. $ref: '#/definitions/models.WRStandardInfo'
  3514. type: array
  3515. type: object
  3516. erms3.QuerySpotContractInfoRsp:
  3517. properties:
  3518. accountid:
  3519. description: 表示交易员ID.
  3520. type: integer
  3521. curdeliveryqty:
  3522. description: 表示未交收量.
  3523. type: number
  3524. customername:
  3525. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  3526. type: string
  3527. deliverygoodsid:
  3528. description: 表示品种ID.
  3529. type: string
  3530. deliveryqty:
  3531. description: 表示交收量.
  3532. type: number
  3533. matchaccountid:
  3534. description: 表示业务员ID.
  3535. type: integer
  3536. matchcustomername:
  3537. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  3538. type: string
  3539. priceqty:
  3540. description: 表示定价量.
  3541. type: number
  3542. relatedbizid:
  3543. description: 表示业务ID.
  3544. type: string
  3545. signdate:
  3546. description: 表示签订日期.
  3547. type: string
  3548. spotcontractid:
  3549. description: 合同ID
  3550. type: string
  3551. status:
  3552. description: 表示状态,0-履约中 1-已完成.
  3553. type: integer
  3554. totalqty:
  3555. description: 表示合同量.
  3556. type: number
  3557. unpricedqty:
  3558. description: 表示未定价量.
  3559. type: number
  3560. wrstandardname:
  3561. description: 表示商品ID.
  3562. type: string
  3563. type: object
  3564. erms3.QueryUserInfoAppliesRsp:
  3565. properties:
  3566. biznature:
  3567. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3568. type: integer
  3569. contactname:
  3570. description: 联系人
  3571. type: string
  3572. createtime:
  3573. description: 开户申请时间
  3574. type: string
  3575. userid:
  3576. description: 用户ID(自增ID)
  3577. type: integer
  3578. userinfotype:
  3579. description: 用户信息类型 - 1:个人 2:企业
  3580. type: integer
  3581. username:
  3582. description: 用户姓名
  3583. type: string
  3584. userstate:
  3585. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3586. type: integer
  3587. required:
  3588. - userid
  3589. type: object
  3590. erms3.QueryUserInfosRsp:
  3591. properties:
  3592. biznature:
  3593. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3594. type: integer
  3595. contactname:
  3596. description: 联系人
  3597. type: string
  3598. customername:
  3599. description: 客户名称(企业名称)
  3600. type: string
  3601. userid:
  3602. description: 用户ID
  3603. type: integer
  3604. userinfotype:
  3605. description: 用户信息类型 - 1:个人 2:企业
  3606. type: integer
  3607. userstatus:
  3608. description: 用户状态 - 1:正常 2:注销
  3609. type: integer
  3610. required:
  3611. - userid
  3612. type: object
  3613. erms3.SoptContractDetail:
  3614. properties:
  3615. deliverygoodsdesc:
  3616. description: 现货品种说明
  3617. type: string
  3618. deliverygoodsid:
  3619. description: 现货品种ID
  3620. type: integer
  3621. deliverygoodsname:
  3622. description: 现货品种名称
  3623. type: string
  3624. pointdesc:
  3625. description: 点价描述
  3626. type: string
  3627. producttype:
  3628. description: 产品类型 1:标准仓单 2:等标 3:非标
  3629. type: integer
  3630. producttypename:
  3631. description: 产品类型名称
  3632. type: string
  3633. spotPointOrderVoList:
  3634. description: 点价列表
  3635. items:
  3636. $ref: '#/definitions/erms3.SpotPointOrder'
  3637. type: array
  3638. spotPriceOrderList:
  3639. description: 定价列表
  3640. items:
  3641. $ref: '#/definitions/erms3.SpotPriceOrder'
  3642. type: array
  3643. unitname:
  3644. description: 单位名称
  3645. type: string
  3646. warehouseid:
  3647. description: 仓库ID
  3648. type: integer
  3649. warehousename:
  3650. description: 仓库名称
  3651. type: string
  3652. wrstandardid:
  3653. description: 交易标的ID
  3654. type: integer
  3655. wrstandardname:
  3656. description: 交易标的名称
  3657. type: string
  3658. required:
  3659. - deliverygoodsid
  3660. - producttype
  3661. - unitname
  3662. - warehouseid
  3663. - wrstandardid
  3664. - wrstandardname
  3665. type: object
  3666. erms3.SpotPointOrder:
  3667. properties:
  3668. basic:
  3669. description: 基差
  3670. type: number
  3671. deliveryenddate:
  3672. description: 交收结束日期
  3673. type: string
  3674. deliverystartdate:
  3675. description: 交收开始日期
  3676. type: string
  3677. enddate:
  3678. description: 点价结束日期
  3679. type: string
  3680. goodsid:
  3681. description: 商品ID
  3682. type: integer
  3683. goodsname:
  3684. description: 商品名称
  3685. type: string
  3686. qty:
  3687. description: 数量
  3688. type: number
  3689. startdate:
  3690. description: 点价开始日期
  3691. type: string
  3692. required:
  3693. - basic
  3694. - goodsid
  3695. - qty
  3696. type: object
  3697. erms3.SpotPriceOrder:
  3698. properties:
  3699. amount:
  3700. description: 金额
  3701. type: number
  3702. deliveryenddate:
  3703. description: 交收结束日期
  3704. type: string
  3705. deliverystartdate:
  3706. description: 交收开始日期
  3707. type: string
  3708. price:
  3709. description: 价格
  3710. type: number
  3711. qty:
  3712. description: 数量
  3713. type: number
  3714. required:
  3715. - amount
  3716. - price
  3717. - qty
  3718. type: object
  3719. hsby.GetHsbyMyCountRsp:
  3720. properties:
  3721. myCouponCount:
  3722. description: 我的优惠卷数量
  3723. type: integer
  3724. myOrderDetailListingCount:
  3725. description: 我的订单求购中数量
  3726. type: integer
  3727. myOrderDetailPreCount:
  3728. description: 我的订单抢购中数量
  3729. type: integer
  3730. myPackageUnReceiveCount:
  3731. description: 我的包裹待收货数量
  3732. type: integer
  3733. myPackageUnSendCount:
  3734. description: 我的包裹待发货数量
  3735. type: integer
  3736. myPayOrderCount:
  3737. description: 我的订单待付款数量
  3738. type: integer
  3739. type: object
  3740. hsby.QueryProvincesAndCitiesRsp:
  3741. properties:
  3742. cities:
  3743. description: 市
  3744. items:
  3745. $ref: '#/definitions/models.Division'
  3746. type: array
  3747. province:
  3748. $ref: '#/definitions/models.Division'
  3749. description: 省
  3750. type: object
  3751. models.Arearole:
  3752. properties:
  3753. createtime:
  3754. description: 创建时间
  3755. type: string
  3756. creatorid:
  3757. description: 创建人ID
  3758. type: integer
  3759. fromuserid:
  3760. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  3761. type: integer
  3762. isreturnscore:
  3763. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  3764. type: integer
  3765. modifierid:
  3766. description: 修改人ID
  3767. type: integer
  3768. modifytime:
  3769. description: 修改时间
  3770. type: string
  3771. orgtype:
  3772. description: 组织机构类型 1:机构\分支节点 2:交易员\叶子节点 3:部门\分支节点
  3773. type: integer
  3774. outuserid:
  3775. description: 外部账户[场外期权做市商]
  3776. type: string
  3777. parentuserid:
  3778. description: 上级组织机构(组织机构)
  3779. type: integer
  3780. roletype:
  3781. 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:门店
  3782. type: integer
  3783. rootuserid:
  3784. description: 顶级组织机构用户ID(组织机构)
  3785. type: integer
  3786. shoppassword:
  3787. description: 商城店铺登陆密码(商城店铺角色使用)
  3788. type: string
  3789. sublevelpath:
  3790. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  3791. type: string
  3792. suborgtype:
  3793. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  3794. type: integer
  3795. tradeaccountid:
  3796. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  3797. type: integer
  3798. transurl:
  3799. description: 物流地址(物流机构)
  3800. type: string
  3801. userid:
  3802. description: 机构用户ID其他做市关系,都设置为 1
  3803. type: integer
  3804. required:
  3805. - roletype
  3806. - userid
  3807. type: object
  3808. models.Clientfixedadconfig:
  3809. properties:
  3810. adsort:
  3811. description: 排序
  3812. type: integer
  3813. adtype:
  3814. description: 广告位类型 - 1:新品抢购(HSBY)
  3815. type: integer
  3816. areauserid:
  3817. description: 所属机构ID
  3818. type: integer
  3819. createdate:
  3820. description: 创建时间
  3821. type: string
  3822. creatorid:
  3823. description: 创建人
  3824. type: integer
  3825. imagepath:
  3826. description: 图片
  3827. type: string
  3828. isshow:
  3829. description: 是否展示 - 0:不展示 1:展示
  3830. type: integer
  3831. modifierid:
  3832. description: 操作人
  3833. type: integer
  3834. recsize:
  3835. description: 推荐尺寸
  3836. type: string
  3837. title:
  3838. description: 标题
  3839. type: string
  3840. updatedate:
  3841. description: 更新时间
  3842. type: string
  3843. urlcontent:
  3844. description: 链接(地址或商品ID)
  3845. type: string
  3846. urltype:
  3847. description: 链接类型 - 1:直接地址 2:商品ID
  3848. type: integer
  3849. required:
  3850. - adsort
  3851. - adtype
  3852. type: object
  3853. models.Division:
  3854. properties:
  3855. autoid:
  3856. description: 自增ID
  3857. type: integer
  3858. divisioncode:
  3859. description: 行政代码
  3860. type: string
  3861. divisionlevel:
  3862. description: 行政级别
  3863. type: string
  3864. divisionname:
  3865. description: 行政名称
  3866. type: string
  3867. modifierid:
  3868. description: 修改人
  3869. type: integer
  3870. modifytime:
  3871. description: 修改时间
  3872. type: string
  3873. parentcode:
  3874. description: 上级行政代码
  3875. type: string
  3876. pathname:
  3877. description: 路径名称
  3878. type: string
  3879. postcode:
  3880. description: 邮政编码
  3881. type: string
  3882. separablename:
  3883. description: 可拆分的全称
  3884. type: string
  3885. shortcode:
  3886. description: 地区简码
  3887. type: string
  3888. required:
  3889. - autoid
  3890. - divisioncode
  3891. type: object
  3892. models.Enumdicitem:
  3893. properties:
  3894. autoid:
  3895. description: 自增ID
  3896. type: integer
  3897. bankmappedvalue:
  3898. description: 银行服务对应值
  3899. type: string
  3900. enumdiccode:
  3901. description: 所属枚举代码
  3902. type: string
  3903. enumdicid:
  3904. description: 所属枚举ID
  3905. type: integer
  3906. enumdicname:
  3907. description: 枚举项名称
  3908. type: string
  3909. enumitemname:
  3910. description: 枚举项值
  3911. type: integer
  3912. enumitemstatus:
  3913. description: 枚举项状态 - 1.启用 2.不启用
  3914. type: integer
  3915. enumitemvalue:
  3916. description: 通用值 - [币种通用简写]
  3917. type: string
  3918. param1:
  3919. description: 参数1[币种:币种小数位]
  3920. type: string
  3921. param2:
  3922. description: 参数1[币种:币种显示单位]
  3923. type: string
  3924. remark:
  3925. description: 备注
  3926. type: string
  3927. required:
  3928. - autoid
  3929. - enumdiccode
  3930. - enumdicid
  3931. - enumitemname
  3932. type: object
  3933. models.Ermcp3AreaSpot:
  3934. properties:
  3935. areauserid:
  3936. description: 所属机构
  3937. type: integer
  3938. convertratio:
  3939. description: 套保系数
  3940. type: number
  3941. decreaseqty:
  3942. description: 减少数量=-(销售已定价数量+采购计划数量)
  3943. type: number
  3944. enumdicname:
  3945. description: 单位名称
  3946. type: string
  3947. increaseqty:
  3948. description: 增加数量=销售计划数量+采购已定价数量
  3949. type: number
  3950. oritoalspotqty:
  3951. description: 昨日数量
  3952. type: number
  3953. totalspotqty:
  3954. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  3955. type: number
  3956. unitid:
  3957. description: 现货商品单位id
  3958. type: integer
  3959. updatetime:
  3960. description: 更新时间
  3961. type: string
  3962. wrstandardcode:
  3963. description: 现货商品代码
  3964. type: string
  3965. wrstandardid:
  3966. description: 现货商品ID(SEQ_WRSTANDARD)
  3967. type: integer
  3968. wrstandardname:
  3969. description: 现货商品名称
  3970. type: string
  3971. type: object
  3972. models.Ermcp3AreaSpotDetail:
  3973. properties:
  3974. contracttype:
  3975. description: 合同类型 1-采购 -1-销售
  3976. type: integer
  3977. createtime:
  3978. description: 创建时间
  3979. type: string
  3980. enumdicname:
  3981. description: 现货商品单位名称
  3982. type: string
  3983. logtype:
  3984. description: 记录类型 1-套保 2-现货合同
  3985. type: integer
  3986. qty:
  3987. description: 数量
  3988. type: number
  3989. recordname:
  3990. description: 类型名称
  3991. type: string
  3992. relatedid:
  3993. description: 套保计划ID/现货合同ID
  3994. type: string
  3995. relatedno:
  3996. description: 编号
  3997. type: string
  3998. strtime:
  3999. description: 时间
  4000. type: string
  4001. wrstandardcode:
  4002. description: 现货商品代码
  4003. type: string
  4004. wrstandardid:
  4005. description: 现货商品ID(SEQ_WRSTANDARD)
  4006. type: integer
  4007. wrstandardname:
  4008. description: 现货商品名称
  4009. type: string
  4010. type: object
  4011. models.Ermcp3AreaSpotPLReport:
  4012. properties:
  4013. accountid:
  4014. description: 期货账户ID (作废, 默认为0)
  4015. type: integer
  4016. accountname:
  4017. description: 机构名称
  4018. type: string
  4019. actualpl:
  4020. description: 现货损益
  4021. type: number
  4022. areauserid:
  4023. description: 所属机构\交易用户ID
  4024. type: integer
  4025. begindate:
  4026. description: 开始交易日
  4027. type: string
  4028. biztype:
  4029. description: 业务类型 - 1:套保 2:套利
  4030. type: integer
  4031. brandname:
  4032. description: 品牌名称
  4033. type: string
  4034. curamount:
  4035. description: 期末额
  4036. type: number
  4037. curaverageprice:
  4038. description: 期末均价
  4039. type: number
  4040. curbuyamount:
  4041. description: 期末采购总额
  4042. type: number
  4043. curbuyqty:
  4044. description: 期末采购总量
  4045. type: number
  4046. curmarketvalue:
  4047. description: 参考市值(期末市值)
  4048. type: number
  4049. curqty:
  4050. description: 期末量
  4051. type: number
  4052. currencyid:
  4053. description: 结算币种ID【原值】
  4054. type: integer
  4055. currencyname:
  4056. description: 币种名称
  4057. type: string
  4058. cursellamount:
  4059. description: 期末销售总额
  4060. type: number
  4061. cursellqty:
  4062. description: 期末销售总量
  4063. type: number
  4064. curspotprice:
  4065. description: 参考市价(最新价)
  4066. type: number
  4067. cycletime:
  4068. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4069. type: string
  4070. cycletype:
  4071. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4072. type: integer
  4073. deliverygoodscode:
  4074. description: 现货商品代码
  4075. type: string
  4076. deliverygoodsid:
  4077. description: 现货品种ID
  4078. type: integer
  4079. deliverygoodsname:
  4080. description: 现货商品名称
  4081. type: string
  4082. enddate:
  4083. description: 结束交易日
  4084. type: string
  4085. enumdicname:
  4086. description: 现货商品单位名称
  4087. type: string
  4088. floatpl:
  4089. description: 浮动损益
  4090. type: number
  4091. goodsunitid:
  4092. description: 现货商品单位id
  4093. type: integer
  4094. oriamount:
  4095. description: 期初额
  4096. type: number
  4097. oriaverageprice:
  4098. description: 期初均价
  4099. type: number
  4100. oribuyamount:
  4101. description: 期初采购总额
  4102. type: number
  4103. oribuyqty:
  4104. description: 期初采购总量
  4105. type: number
  4106. oriqty:
  4107. description: 期初量
  4108. type: number
  4109. orisellamount:
  4110. description: 期初销售总额
  4111. type: number
  4112. orisellqty:
  4113. description: 期初销售总量
  4114. type: number
  4115. reckondate:
  4116. description: 日照时期(yyyyMMdd)
  4117. type: string
  4118. spotgoodsbrandid:
  4119. description: 现货品牌ID
  4120. type: integer
  4121. todaybuyamount:
  4122. description: 今日采购额(今采购额)
  4123. type: number
  4124. todaybuyaverageprice:
  4125. description: 今日采购均价
  4126. type: number
  4127. todaybuyqty:
  4128. description: 今日采购量(今采购量)
  4129. type: number
  4130. todayinqty:
  4131. description: 今日入库量(今入库量)
  4132. type: number
  4133. todayoutqty:
  4134. description: 今日出库量(今出库量)
  4135. type: number
  4136. todaysellamount:
  4137. description: 今日销售额(今销售额)
  4138. type: number
  4139. todaysellaverageprice:
  4140. description: 今日销售均价
  4141. type: number
  4142. todaysellqty:
  4143. description: 今日销售量(今销售量)
  4144. type: number
  4145. unitid:
  4146. description: 品类单位id
  4147. type: integer
  4148. unitidname:
  4149. description: 品类单位名称
  4150. type: string
  4151. updatetime:
  4152. description: 更新时间
  4153. type: string
  4154. wrfactortypeid:
  4155. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4156. type: integer
  4157. wrstandardcode:
  4158. description: 品类代码
  4159. type: string
  4160. wrstandardid:
  4161. description: 现货品类ID
  4162. type: integer
  4163. wrstandardname:
  4164. description: 品类名称
  4165. type: string
  4166. type: object
  4167. models.Ermcp3AreaStock:
  4168. properties:
  4169. brandname:
  4170. description: 品牌名称
  4171. type: string
  4172. curstock:
  4173. description: 期末库存量(今日量)
  4174. type: number
  4175. deliverygoodscode:
  4176. description: 现货品种代码
  4177. type: string
  4178. deliverygoodsid:
  4179. description: 现货品种id
  4180. type: integer
  4181. deliverygoodsname:
  4182. description: 现货品种名称
  4183. type: string
  4184. enumdicname:
  4185. description: 单位名称
  4186. type: string
  4187. goodsunitid:
  4188. description: 现货商品单位id
  4189. type: integer
  4190. oristock:
  4191. description: 期初库存量(昨日量)
  4192. type: number
  4193. spotgoodsbrandid:
  4194. description: 现货品牌ID
  4195. type: integer
  4196. todaybuyinqty:
  4197. description: 今日采购入库量
  4198. type: number
  4199. todayproduceinqty:
  4200. description: 今日生产入库量
  4201. type: number
  4202. todayproduceoutqty:
  4203. description: 今日生产出库量
  4204. type: number
  4205. todayselloutqty:
  4206. description: 今日销售出库量
  4207. type: number
  4208. unitid:
  4209. description: 单位id
  4210. type: integer
  4211. updatetime:
  4212. description: 更新时间
  4213. type: string
  4214. userid:
  4215. description: 机构ID
  4216. type: integer
  4217. username:
  4218. description: 机构名称
  4219. type: string
  4220. warehousecode:
  4221. description: 仓库代码
  4222. type: string
  4223. warehouseinfoid:
  4224. description: 仓库ID
  4225. type: string
  4226. warehousename:
  4227. description: 仓库名称
  4228. type: string
  4229. warehousetype:
  4230. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4231. type: integer
  4232. wrstandardcode:
  4233. description: 品类代码
  4234. type: string
  4235. wrstandardid:
  4236. description: 品类ID
  4237. type: string
  4238. wrstandardname:
  4239. description: 品类名称
  4240. type: string
  4241. required:
  4242. - userid
  4243. type: object
  4244. models.Ermcp3AreaStockApply:
  4245. properties:
  4246. applyid:
  4247. description: 申请人
  4248. type: integer
  4249. applyname:
  4250. description: 申请人名称
  4251. type: string
  4252. applyremark:
  4253. description: 申请备注
  4254. type: string
  4255. applysrc:
  4256. description: 申请来源 - 1:管理端 2:终端
  4257. type: integer
  4258. applystatus:
  4259. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  4260. type: integer
  4261. applytime:
  4262. description: 申请时间
  4263. type: string
  4264. auditid:
  4265. description: 审核人
  4266. type: integer
  4267. auditname:
  4268. description: 审核人名称
  4269. type: string
  4270. auditremark:
  4271. description: 审核备注
  4272. type: string
  4273. auditsrc:
  4274. description: 审核来源 - 1:管理端 2:终端
  4275. type: integer
  4276. audittime:
  4277. description: 审核时间
  4278. type: string
  4279. audittradedate:
  4280. description: 审核交易日(yyyyMMdd)
  4281. type: string
  4282. brandname:
  4283. description: 品牌名称
  4284. type: string
  4285. buynickname:
  4286. description: 采购方昵称
  4287. type: string
  4288. buyuserid:
  4289. description: 采购方userid
  4290. type: integer
  4291. buyusername:
  4292. description: 采购方名称
  4293. type: string
  4294. contractno:
  4295. description: 合同编号
  4296. type: string
  4297. contractqty:
  4298. description: 合同量
  4299. type: number
  4300. contracttype:
  4301. description: 现货合同类型 - 1:采购 -1:销售
  4302. type: integer
  4303. deliverygoodscode:
  4304. description: 现货品种代码
  4305. type: string
  4306. deliverygoodsid:
  4307. description: 现货品种id
  4308. type: integer
  4309. deliverygoodsname:
  4310. description: 现货品种名称
  4311. type: string
  4312. detailjson:
  4313. description: 明细数据
  4314. type: string
  4315. enumdicname:
  4316. description: 现货商品单位名称
  4317. type: string
  4318. inoutapplyid:
  4319. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  4320. type: string
  4321. inouttype:
  4322. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  4323. type: integer
  4324. pricetype:
  4325. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4326. type: integer
  4327. qty:
  4328. description: 数量
  4329. type: number
  4330. sellnickname:
  4331. description: 销售方昵称
  4332. type: string
  4333. selluserid:
  4334. description: 销售方userid
  4335. type: integer
  4336. sellusername:
  4337. description: 销售方名称
  4338. type: string
  4339. spotcontractid:
  4340. description: 关联现货合同ID
  4341. type: string
  4342. spotgoodsbrandid:
  4343. description: 现货品牌ID
  4344. type: integer
  4345. unitid:
  4346. description: 单位id
  4347. type: integer
  4348. userid:
  4349. description: 机构ID
  4350. type: integer
  4351. warehousecode:
  4352. description: 仓库代码
  4353. type: string
  4354. warehouseinfoid:
  4355. description: 现货仓库ID
  4356. type: string
  4357. warehousename:
  4358. description: 仓库名称
  4359. type: string
  4360. warehousetype:
  4361. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4362. type: integer
  4363. wrstandardcode:
  4364. description: 品类代码
  4365. type: string
  4366. wrstandardid:
  4367. description: 品类ID
  4368. type: integer
  4369. wrstandardname:
  4370. description: 品类名称
  4371. type: string
  4372. type: object
  4373. models.Ermcp3AreaStockApplySum:
  4374. properties:
  4375. brandname:
  4376. description: 品牌名称
  4377. type: string
  4378. inouttype:
  4379. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  4380. type: integer
  4381. spotcontractid:
  4382. description: 关联现货合同ID
  4383. type: string
  4384. spotgoodsbrandid:
  4385. description: 品牌id
  4386. type: integer
  4387. totalqty:
  4388. description: 总数量
  4389. type: number
  4390. wrstandardid:
  4391. description: 品类id
  4392. type: integer
  4393. wrstandardname:
  4394. description: 品类名称
  4395. type: string
  4396. type: object
  4397. models.Ermcp3AreaStockReportEx:
  4398. properties:
  4399. begindate:
  4400. description: 开始交易日
  4401. type: string
  4402. brandname:
  4403. description: 品牌名称
  4404. type: string
  4405. curstock:
  4406. description: 期末库存量
  4407. type: number
  4408. cycletime:
  4409. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4410. type: string
  4411. cycletype:
  4412. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4413. type: integer
  4414. deliverygoodscode:
  4415. description: 现货品种代码
  4416. type: string
  4417. deliverygoodsid:
  4418. description: 现货品种id
  4419. type: integer
  4420. deliverygoodsname:
  4421. description: 现货品种名称
  4422. type: string
  4423. diffqty:
  4424. description: 库存变化量 = 期末 - 期初
  4425. type: number
  4426. enddate:
  4427. description: 结束交易日
  4428. type: string
  4429. enumdicname:
  4430. description: 单位名称
  4431. type: string
  4432. goodsunitid:
  4433. description: 现货单位id
  4434. type: integer
  4435. oristock:
  4436. description: 期初库存量
  4437. type: number
  4438. reckondate:
  4439. description: 日照时期(yyyyMMdd)
  4440. type: string
  4441. spotgoodsbrandid:
  4442. description: 现货品牌ID
  4443. type: integer
  4444. todaybuyinqty:
  4445. description: 今采购入库量
  4446. type: number
  4447. todayproduceinqty:
  4448. description: 今内部入库量
  4449. type: number
  4450. todayproduceoutqty:
  4451. description: 今内部出库量
  4452. type: number
  4453. todayselloutqty:
  4454. description: 今销售出库量
  4455. type: number
  4456. unbuyinqty:
  4457. description: 采购未入库量(数据库未找到相关字段?)
  4458. type: number
  4459. unitid:
  4460. description: 品类单位id
  4461. type: integer
  4462. unselloutqty:
  4463. description: 销售未出库量(数据库未找到相关字段?)
  4464. type: number
  4465. updatetime:
  4466. description: 更新时间
  4467. type: string
  4468. userid:
  4469. description: 机构ID
  4470. type: integer
  4471. username:
  4472. description: 机构名称
  4473. type: string
  4474. warehousecode:
  4475. description: 仓库代码
  4476. type: string
  4477. warehouseinfoid:
  4478. description: 仓库ID
  4479. type: string
  4480. warehousename:
  4481. description: 仓库名称
  4482. type: string
  4483. warehousetype:
  4484. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4485. type: integer
  4486. wrstandardcode:
  4487. description: 品类代码
  4488. type: string
  4489. wrstandardid:
  4490. description: 品类ID
  4491. type: integer
  4492. wrstandardname:
  4493. description: 品类名称
  4494. type: string
  4495. type: object
  4496. models.Ermcp3ArealSumPL:
  4497. properties:
  4498. accountname:
  4499. description: 机构名称
  4500. type: string
  4501. areauserid:
  4502. description: 所属机构\交易用户ID
  4503. type: integer
  4504. begindate:
  4505. description: 开始交易日
  4506. type: string
  4507. currencyid:
  4508. description: 结算币种ID
  4509. type: integer
  4510. currencyname:
  4511. description: 币种名称
  4512. type: string
  4513. cycletime:
  4514. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4515. type: string
  4516. cycletype:
  4517. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4518. type: integer
  4519. enddate:
  4520. description: 结束交易日
  4521. type: string
  4522. enumdicname:
  4523. description: 单位名称(套保品种)
  4524. type: string
  4525. futureactualpl:
  4526. description: 期货损益
  4527. type: number
  4528. futurefloatpl:
  4529. description: 期货浮动损益
  4530. type: number
  4531. futurespotratio:
  4532. description: 期现比例 = 期货头寸总量 / 现货头寸总量
  4533. type: number
  4534. goodsunitid:
  4535. description: 套保品种单位id
  4536. type: integer
  4537. hedgeexposurepl:
  4538. description: 套保敞口损益
  4539. type: number
  4540. middlegoodscode:
  4541. description: 套保品种代码
  4542. type: string
  4543. middlegoodsid:
  4544. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  4545. type: integer
  4546. middlegoodsname:
  4547. description: 套保品种名称
  4548. type: string
  4549. reckondate:
  4550. description: 日照时期(yyyyMMdd)
  4551. type: string
  4552. spotactualpl:
  4553. description: 现货损益
  4554. type: number
  4555. spotfloatpl:
  4556. description: 现货浮动损益
  4557. type: number
  4558. sumactualpl:
  4559. description: 实际损益 = (ActualPL + FutureActualPL)
  4560. type: number
  4561. sumpl:
  4562. description: 总敞口损益 | 汇总损益
  4563. type: number
  4564. totalfutureqty:
  4565. description: 期货头寸总量
  4566. type: number
  4567. totalneedhedgeqty:
  4568. description: 应套保总量
  4569. type: number
  4570. totalspotqty:
  4571. description: 现货头寸总量
  4572. type: number
  4573. updatetime:
  4574. description: 更新时间
  4575. type: string
  4576. type: object
  4577. models.Ermcp3Brand:
  4578. properties:
  4579. areauserid:
  4580. description: 用户id
  4581. type: integer
  4582. brandid:
  4583. description: 品牌id
  4584. type: integer
  4585. brandname:
  4586. description: 品牌名称
  4587. type: string
  4588. deliverygoodsid:
  4589. description: 品种ID
  4590. type: integer
  4591. isvalid:
  4592. description: 是否有效
  4593. type: integer
  4594. type: object
  4595. models.Ermcp3Contract:
  4596. properties:
  4597. accountid:
  4598. description: 期货账户id
  4599. type: string
  4600. amount:
  4601. description: 金额 [1:一口价、3:暂定价]
  4602. type: number
  4603. attachment:
  4604. description: 附件
  4605. type: string
  4606. auditremark:
  4607. description: 审核意见
  4608. type: string
  4609. audittime:
  4610. description: 审核时间
  4611. type: string
  4612. biztype:
  4613. description: 业务类型 1-套保 2-套利
  4614. type: integer
  4615. brandname:
  4616. description: 品牌名称
  4617. type: string
  4618. buynickname:
  4619. description: 销售方昵称
  4620. type: string
  4621. buyuserid:
  4622. description: 采购方ID
  4623. type: integer
  4624. buyusername:
  4625. description: 采购方名称
  4626. type: string
  4627. contracctstatus:
  4628. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4629. type: integer
  4630. contractmargin:
  4631. description: 合同保证金
  4632. type: number
  4633. contractno:
  4634. description: 现货合同编号
  4635. type: string
  4636. contracttype:
  4637. description: 现货合同类型 - 1:采购 -1:销售
  4638. type: integer
  4639. convertfactor:
  4640. description: 标仓系数(品类)
  4641. type: number
  4642. createtime:
  4643. description: 创建时间
  4644. type: string
  4645. currencyid:
  4646. description: 币种id
  4647. type: integer
  4648. currencyname:
  4649. description: 币种名称
  4650. type: string
  4651. deliveryenddate:
  4652. description: 交收期(结束)
  4653. type: string
  4654. deliverygoodscode:
  4655. description: 现货品种代码
  4656. type: string
  4657. deliverygoodsid:
  4658. description: 现货品种ID
  4659. type: integer
  4660. deliverygoodsname:
  4661. description: 现货品种名称
  4662. type: string
  4663. deliverystartdate:
  4664. description: 交收期(开始)
  4665. type: string
  4666. enddate:
  4667. description: 点价结束日期 [2:点价 3:暂定价]
  4668. type: string
  4669. enumdicname:
  4670. description: 单位名称
  4671. type: string
  4672. goodscode:
  4673. description: 点价合约代码
  4674. type: string
  4675. goodsid:
  4676. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  4677. type: integer
  4678. goodsname:
  4679. description: 点价商品名称
  4680. type: string
  4681. margin:
  4682. description: 当前保证金
  4683. type: number
  4684. meruserid:
  4685. description: 跟单员id
  4686. type: integer
  4687. meruserlogincode:
  4688. description: 跟单员登录代码
  4689. type: string
  4690. merusername:
  4691. description: 跟单员名称
  4692. type: string
  4693. price:
  4694. description: 价格\暂定价 [1:一口价、3:暂定价]
  4695. type: number
  4696. pricemove:
  4697. description: 升贴水 [2:点价 3:暂定价]
  4698. type: number
  4699. pricetype:
  4700. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4701. type: integer
  4702. producttype:
  4703. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4704. type: integer
  4705. qty:
  4706. description: 数量
  4707. type: number
  4708. remark:
  4709. description: 备注
  4710. type: string
  4711. saleuserid:
  4712. description: 业务员id
  4713. type: integer
  4714. saleuserlogincode:
  4715. description: 业务员登录代码
  4716. type: string
  4717. saleusername:
  4718. description: 业务员名称
  4719. type: string
  4720. sellnickname:
  4721. description: 采购方昵称
  4722. type: string
  4723. selluserid:
  4724. description: 销售方ID
  4725. type: integer
  4726. sellusername:
  4727. description: 销售方名称
  4728. type: string
  4729. spotcontractid:
  4730. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  4731. type: string
  4732. spotgoodsbrandid:
  4733. description: 现货品牌ID(DGFactoryItem表的ID)
  4734. type: integer
  4735. spotgoodsdesc:
  4736. description: 商品型号
  4737. type: string
  4738. startdate:
  4739. description: 点价开始日期 [2:点价 3:暂定价]
  4740. type: string
  4741. subjectid:
  4742. description: 交易主体ID
  4743. type: string
  4744. subjectname:
  4745. description: 交易主体名称
  4746. type: string
  4747. tradeuserid:
  4748. description: 交易员id
  4749. type: integer
  4750. tradeuserlogincode:
  4751. description: 交易员登录代码
  4752. type: string
  4753. tradeusername:
  4754. description: 交易员名称
  4755. type: string
  4756. unitid:
  4757. description: 单位id(取品类上的单位id)
  4758. type: integer
  4759. updatetime:
  4760. description: 更新时间
  4761. type: string
  4762. userid:
  4763. description: 所属机构ID
  4764. type: integer
  4765. vatrate:
  4766. description: 增值税率
  4767. type: number
  4768. wrstandardcode:
  4769. description: 品类代码
  4770. type: string
  4771. wrstandardid:
  4772. description: 品类ID
  4773. type: integer
  4774. wrstandardname:
  4775. description: 品类名称
  4776. type: string
  4777. type: object
  4778. models.Ermcp3ExposureContractDetail:
  4779. properties:
  4780. biztype:
  4781. description: 业务类型 1-套保 2-套利
  4782. type: integer
  4783. brandname:
  4784. description: 品牌名称
  4785. type: string
  4786. buyuserid:
  4787. description: 采购方id
  4788. type: integer
  4789. buyusername:
  4790. description: 采购方名称
  4791. type: string
  4792. contractno:
  4793. description: 合同编号
  4794. type: string
  4795. contracttype:
  4796. description: 现货合同类型 - 1:采购 -1:销售
  4797. type: integer
  4798. convertfactor:
  4799. description: 标仓系数
  4800. type: number
  4801. convertratio:
  4802. description: 折算系数(套保品种)
  4803. type: number
  4804. curqty:
  4805. description: 今定价量
  4806. type: number
  4807. deliverygoodscode:
  4808. description: 现货商品代码
  4809. type: string
  4810. deliverygoodsid:
  4811. description: 现货商品id
  4812. type: integer
  4813. deliverygoodsname:
  4814. description: 现货商品名称
  4815. type: string
  4816. diffhedgeqty:
  4817. description: 套保变动量
  4818. type: number
  4819. diffneedhedgeqty:
  4820. description: 应套保变动量
  4821. type: number
  4822. diffqty:
  4823. description: 套保品种今变动量
  4824. type: number
  4825. enumdicname:
  4826. description: 单位名称
  4827. type: string
  4828. mgunitname:
  4829. description: 套保品种单位名称
  4830. type: string
  4831. middlegoodscode:
  4832. description: 套保品种代码
  4833. type: string
  4834. middlegoodsid:
  4835. description: 套保品种id
  4836. type: integer
  4837. middlegoodsname:
  4838. description: 套保品种名称
  4839. type: string
  4840. needarbitrageratio:
  4841. description: 应套利比例
  4842. type: number
  4843. needhedgeratio:
  4844. description: 应套保比例
  4845. type: number
  4846. pricedqty:
  4847. description: 已定价量
  4848. type: number
  4849. qty:
  4850. description: 合同量
  4851. type: number
  4852. selluserid:
  4853. description: 销售方id
  4854. type: integer
  4855. sellusername:
  4856. description: 销售方名称
  4857. type: string
  4858. spotcontractid:
  4859. description: 合同id
  4860. type: string
  4861. todaypricedqty:
  4862. description: 今定价量
  4863. type: number
  4864. tradedate:
  4865. description: 交易日
  4866. type: string
  4867. unitid:
  4868. description: 品类单位id
  4869. type: integer
  4870. userid:
  4871. description: 机构id
  4872. type: integer
  4873. username:
  4874. description: 交易用户
  4875. type: string
  4876. wrstandardcode:
  4877. description: 品类代码
  4878. type: string
  4879. wrstandardid:
  4880. description: 品类id
  4881. type: integer
  4882. wrstandardname:
  4883. description: 品类名称
  4884. type: string
  4885. type: object
  4886. models.Ermcp3ExposureDetail:
  4887. properties:
  4888. areauserid:
  4889. description: 机构ID
  4890. type: integer
  4891. changeQty:
  4892. description: 套保变动量
  4893. type: number
  4894. contracttype:
  4895. description: 现货合同类型 - 1:采购 -1:销售
  4896. type: integer
  4897. convertfactor:
  4898. description: 标仓系数
  4899. type: number
  4900. convertratio:
  4901. description: 折算系数
  4902. type: number
  4903. createtime:
  4904. description: 时间
  4905. type: string
  4906. enumdicname:
  4907. description: 现货商品单位名称
  4908. type: string
  4909. logtype:
  4910. description: 类型 - 1:套保计划 2:现货合同
  4911. type: integer
  4912. mgunitid:
  4913. description: 套保品种单位id
  4914. type: integer
  4915. mgunitidname:
  4916. description: 套保品种单位名称
  4917. type: string
  4918. middlegoodsId:
  4919. description: 套保商品id
  4920. type: integer
  4921. middlegoodscode:
  4922. description: 套保商品代码
  4923. type: string
  4924. middlegoodsname:
  4925. description: 套保商品名称
  4926. type: string
  4927. qty:
  4928. description: 数量
  4929. type: number
  4930. relateNo:
  4931. description: 现货合同/套保计划编号
  4932. type: string
  4933. unitid:
  4934. description: 现货商品单位id
  4935. type: integer
  4936. wrstandardcode:
  4937. description: 现货商品代码
  4938. type: string
  4939. wrstandardid:
  4940. description: 现货商品ID(SEQ_WRSTANDARD)
  4941. type: integer
  4942. wrstandardname:
  4943. description: 现货商品名称
  4944. type: string
  4945. type: object
  4946. models.Ermcp3ExposureFutuDetail:
  4947. properties:
  4948. accountid:
  4949. description: 交易账户id
  4950. type: integer
  4951. accountname:
  4952. description: 交易账户
  4953. type: string
  4954. begindate:
  4955. description: 开始交易日
  4956. type: string
  4957. buyorsell:
  4958. description: 方向 0-买 1-卖
  4959. type: integer
  4960. diffmgqty:
  4961. description: 套保品种今变化量
  4962. type: number
  4963. diffneedqty:
  4964. description: 应套保总量变化量
  4965. type: number
  4966. difftradeqty:
  4967. description: 交易品种今变化量
  4968. type: number
  4969. enddate:
  4970. description: 结束交易日
  4971. type: string
  4972. enumdicname:
  4973. description: 单位名称
  4974. type: string
  4975. goodscode:
  4976. description: 商品代码
  4977. type: string
  4978. goodsid:
  4979. description: 商品id
  4980. type: integer
  4981. goodsname:
  4982. description: 商品名称
  4983. type: string
  4984. holdqty:
  4985. description: 期末持仓量
  4986. type: number
  4987. middlegoodscode:
  4988. description: 套保商品代码
  4989. type: string
  4990. middlegoodsid:
  4991. description: 套保商品id
  4992. type: integer
  4993. middlegoodsname:
  4994. description: 套保商品名称
  4995. type: string
  4996. oriholdqty:
  4997. description: 期初持仓量
  4998. type: number
  4999. todaycloseqty:
  5000. description: 今平仓量
  5001. type: number
  5002. todayopenqty:
  5003. description: 今开仓量
  5004. type: number
  5005. tradedate:
  5006. description: 交易日
  5007. type: string
  5008. type: object
  5009. models.Ermcp3ExposureHedgeplanDetail:
  5010. properties:
  5011. biztype:
  5012. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  5013. type: integer
  5014. changqty:
  5015. description: 应套保总量变化量
  5016. type: number
  5017. contracttype:
  5018. description: 计划类型 - 1:采购 -1:销售
  5019. type: integer
  5020. convertratio:
  5021. description: 折算系数(套保品种)
  5022. type: number
  5023. deliverygoodscode:
  5024. description: 现货商品代码
  5025. type: string
  5026. deliverygoodsid:
  5027. description: 现货商品id
  5028. type: integer
  5029. deliverygoodsname:
  5030. description: 现货商吕名称
  5031. type: string
  5032. dgunitid:
  5033. description: 现货商品单位id
  5034. type: integer
  5035. dgunitidname:
  5036. description: 单位名称(现货商品)
  5037. type: string
  5038. diffqty:
  5039. description: 套保品种今变动量
  5040. type: number
  5041. enumdicname:
  5042. description: 单位名称(品类)
  5043. type: string
  5044. hedgeplanid:
  5045. description: 套保计划id
  5046. type: string
  5047. hedgeplanno:
  5048. description: 套保计划名称
  5049. type: string
  5050. hedgeplanstatus:
  5051. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5052. type: integer
  5053. mgunitidname:
  5054. description: 单位名称(套保商品)
  5055. type: string
  5056. middlegoodscode:
  5057. description: 套保品种代码
  5058. type: string
  5059. middlegoodsid:
  5060. description: 套保品种id
  5061. type: integer
  5062. middlegoodsname:
  5063. description: 套保品种名称
  5064. type: string
  5065. needarbitrageratio:
  5066. description: 应套利比例
  5067. type: number
  5068. needhedgeratio:
  5069. description: 应套保比例
  5070. type: number
  5071. pricedqty:
  5072. description: 已定价量
  5073. type: number
  5074. qty:
  5075. description: 合同量
  5076. type: number
  5077. tradedate:
  5078. description: 交易日(登记日)
  5079. type: string
  5080. unitid:
  5081. description: 品类单位id
  5082. type: integer
  5083. userid:
  5084. description: 机构id
  5085. type: integer
  5086. wrstandardcode:
  5087. description: 品类代码
  5088. type: string
  5089. wrstandardid:
  5090. description: 品类id
  5091. type: integer
  5092. wrstandardname:
  5093. description: 品类名称
  5094. type: string
  5095. type: object
  5096. models.Ermcp3ExposureParamChLog:
  5097. properties:
  5098. accountid:
  5099. description: 期货账户ID (作废, 默认为0)
  5100. type: integer
  5101. aftervalue:
  5102. description: 应套保\套利量变更后(调整后应套保总量)
  5103. type: number
  5104. areauserid:
  5105. description: 所属机构\交易用户ID
  5106. type: integer
  5107. beforevalue:
  5108. description: 应套保\套利量变更前(调整前应套保总量)
  5109. type: number
  5110. begindate:
  5111. description: 开始交易日
  5112. type: string
  5113. changelogtype:
  5114. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  5115. type: integer
  5116. curvalue:
  5117. description: 当前套保\套利量(套保总量|套利总量)
  5118. type: number
  5119. diffvalue:
  5120. description: 应套保总量变化量
  5121. type: number
  5122. enddate:
  5123. description: 结束交易日
  5124. type: string
  5125. logdatetime:
  5126. description: 流水日期
  5127. type: string
  5128. logid:
  5129. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  5130. type: string
  5131. middlegoodscode:
  5132. description: 套保品种代码
  5133. type: string
  5134. middlegoodsid:
  5135. description: 套保品种
  5136. type: integer
  5137. middlegoodsname:
  5138. description: 套保品种名称
  5139. type: string
  5140. paramaftervalue:
  5141. description: 参数变更后(调整后参数值)
  5142. type: number
  5143. parambeforevalue:
  5144. description: 参数变更前(调整前参数值)
  5145. type: number
  5146. tradedate:
  5147. description: 交易日(yyyyMMdd)
  5148. type: string
  5149. type: object
  5150. models.Ermcp3ExpourseReport:
  5151. properties:
  5152. accountid:
  5153. description: 期货账户ID (作废, 默认为0)
  5154. type: integer
  5155. accountname:
  5156. description: 机构名称
  5157. type: string
  5158. arbitrageqty:
  5159. description: 套利量
  5160. type: number
  5161. areauserid:
  5162. description: 所属机构\交易用户ID
  5163. type: integer
  5164. begindate:
  5165. description: 开始交易日
  5166. type: string
  5167. buyfutureqty:
  5168. description: 买入期货数量
  5169. type: number
  5170. buyplanqty:
  5171. description: 采购计划数量
  5172. type: number
  5173. buypricedqty:
  5174. description: 采购合同已定价数量
  5175. type: number
  5176. cycletime:
  5177. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5178. type: string
  5179. cycletype:
  5180. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5181. type: integer
  5182. diffexposure:
  5183. description: 变动量(套保敞口)
  5184. type: number
  5185. difffutuqty:
  5186. description: 变动量(期货)
  5187. type: number
  5188. diffhedgeqty:
  5189. description: 变动量(现货应套保总量)
  5190. type: number
  5191. diffmgqtya:
  5192. description: 套保变动量
  5193. type: number
  5194. diffmgqtyb:
  5195. description: 套利变动量
  5196. type: number
  5197. diffqty:
  5198. description: 变动量(总敞口)
  5199. type: number
  5200. diffspotqty:
  5201. description: 变动量(现货)
  5202. type: number
  5203. enddate:
  5204. description: 结束交易日
  5205. type: string
  5206. enumdicname:
  5207. description: 单位名称
  5208. type: string
  5209. hedgeqty:
  5210. description: 套保量
  5211. type: number
  5212. mgneedhedgeratio:
  5213. description: 套保比例(套保品的)
  5214. type: number
  5215. middlegoodsid:
  5216. description: 套保品种ID
  5217. type: integer
  5218. middlegoodsname:
  5219. description: 套保商品名称
  5220. type: string
  5221. middlgoodscode:
  5222. description: 套保商品代码
  5223. type: string
  5224. needarbitrageqty:
  5225. description: 应套利量
  5226. type: number
  5227. needarbitrageratio:
  5228. description: 套利比例(套保品的)
  5229. type: number
  5230. needhedgeexposoure:
  5231. description: 应套保敞口(套保敞口)
  5232. type: number
  5233. needhedgeqty:
  5234. description: 应套保量
  5235. type: number
  5236. needhedgeratio:
  5237. description: 应套保敞口比例
  5238. type: number
  5239. oriarbitrageqty:
  5240. description: 期初套利量
  5241. type: number
  5242. oribuyfutureqty:
  5243. description: 期初买入期货数量
  5244. type: number
  5245. oribuyplanqty:
  5246. description: 期初采购计划数量
  5247. type: number
  5248. oribuypricedqty:
  5249. description: 期初采购合同已定价数量
  5250. type: number
  5251. orihedgeqty:
  5252. description: 期初套保量
  5253. type: number
  5254. orineedarbitrageqty:
  5255. description: 期初应套利量
  5256. type: number
  5257. orineedhedgeexposoure:
  5258. description: 期初应套保敞口
  5259. type: number
  5260. orineedhedgeqty:
  5261. description: 期初应套保量
  5262. type: number
  5263. orisellfutureqty:
  5264. description: 期初卖出期货数量
  5265. type: number
  5266. orisellplanqty:
  5267. description: 期初销售计划数量
  5268. type: number
  5269. orisellpricedqty:
  5270. description: 期初销售合同已定价数量
  5271. type: number
  5272. oritotalexposure:
  5273. description: 期初实时总敞口
  5274. type: number
  5275. oritotalfutureqty:
  5276. description: 期初期货头寸总量
  5277. type: number
  5278. oritotalneedhedgeqty:
  5279. description: 期初应套保总量
  5280. type: number
  5281. oritotalspotqty:
  5282. description: 期初现货头寸总量
  5283. type: number
  5284. reckondate:
  5285. description: 日照时期(yyyyMMdd)
  5286. type: string
  5287. sellfutureqty:
  5288. description: 卖出期货数量
  5289. type: number
  5290. sellplanqty:
  5291. description: 销售计划数量
  5292. type: number
  5293. sellpricedqty:
  5294. description: 销售合同已定价数量
  5295. type: number
  5296. totalexposure:
  5297. description: 实时总敞口(总敞口)
  5298. type: number
  5299. totalfutureqty:
  5300. description: 期货头寸总量(期货总量)
  5301. type: number
  5302. totalhedgeratio:
  5303. description: 敞口比例
  5304. type: number
  5305. totalneedhedgeqty:
  5306. description: 应套保总量(现货应套保总量)
  5307. type: number
  5308. totalspotqty:
  5309. description: 现货头寸总量
  5310. type: number
  5311. unitid:
  5312. description: 单位id
  5313. type: integer
  5314. updatetime:
  5315. description: 更新时间
  5316. type: string
  5317. type: object
  5318. models.Ermcp3FinanceReport:
  5319. properties:
  5320. accountname:
  5321. description: 机构名称
  5322. type: string
  5323. areauserid:
  5324. description: 所属机构\交易用户ID
  5325. type: integer
  5326. begindate:
  5327. description: 开始交易日
  5328. type: string
  5329. biztype:
  5330. description: 业务类型 - 1:套保 2:套利
  5331. type: integer
  5332. brandname:
  5333. description: 品牌名称
  5334. type: string
  5335. buypreinvoicedamount:
  5336. description: 采购预收票额(预收票额)
  5337. type: number
  5338. buyprepaidamount:
  5339. description: 采购预付款额(预付货款额)
  5340. type: number
  5341. buytodayinvoiceamount:
  5342. description: 采购今收票额(今收票额)
  5343. type: number
  5344. buytodayrefundamount:
  5345. description: 采购今收退款额(今收退款额)
  5346. type: number
  5347. buytodaysettleamount:
  5348. description: 采购今付款额(今付货款额)
  5349. type: number
  5350. buyuninvoicedamount:
  5351. description: 采购应收票额(应收票额)
  5352. type: number
  5353. buyunpaidamount:
  5354. description: 采购应付款额(应付货款额)
  5355. type: number
  5356. currencyid:
  5357. description: 结算币种ID
  5358. type: integer
  5359. currencyname:
  5360. description: 币种名称
  5361. type: string
  5362. cycletime:
  5363. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5364. type: string
  5365. cycletype:
  5366. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5367. type: integer
  5368. deliverygoodscode:
  5369. description: 现货品种代码
  5370. type: string
  5371. deliverygoodsid:
  5372. description: 现货品种ID
  5373. type: integer
  5374. deliverygoodsname:
  5375. description: 现货品种名称
  5376. type: string
  5377. enddate:
  5378. description: 结束交易日
  5379. type: string
  5380. reckondate:
  5381. description: 日照时期(yyyyMMdd)
  5382. type: string
  5383. sellpreinvoicedamount:
  5384. description: 销售预开票额(预开票额)
  5385. type: number
  5386. sellprepaidamount:
  5387. description: 销售预收款额(预收货款额)
  5388. type: number
  5389. selltodayinvoiceamount:
  5390. description: 销售今开票额(今开票额)
  5391. type: number
  5392. selltodayrefundamount:
  5393. description: 销售今付退款额(今付退款额)
  5394. type: number
  5395. selltodaysettleamount:
  5396. description: 销售今收款额(今收货款额)
  5397. type: number
  5398. selluninvoicedamount:
  5399. description: 销售应开票额(应开票额)
  5400. type: number
  5401. sellunpaidamount:
  5402. description: 销售应收款额(应收货款额)
  5403. type: number
  5404. spotgoodsbrandid:
  5405. description: 现货品牌ID
  5406. type: integer
  5407. todaypaysum:
  5408. description: 今付款合计
  5409. type: number
  5410. todayreceivesum:
  5411. description: 今收款合计
  5412. type: number
  5413. updatetime:
  5414. description: 更新时间
  5415. type: string
  5416. wrfactortypeid:
  5417. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  5418. type: integer
  5419. wrstandardcode:
  5420. description: 品类代码
  5421. type: string
  5422. wrstandardid:
  5423. description: 现货商品ID
  5424. type: integer
  5425. wrstandardname:
  5426. description: 品类名称
  5427. type: string
  5428. type: object
  5429. models.Ermcp3GoodsGroup:
  5430. properties:
  5431. agreeunit:
  5432. description: 合约单位
  5433. type: number
  5434. areauserid:
  5435. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  5436. type: integer
  5437. canshort:
  5438. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  5439. type: integer
  5440. closepricemode:
  5441. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  5442. type: integer
  5443. createtime:
  5444. description: 创建时间
  5445. type: string
  5446. creatorid:
  5447. description: 创建人
  5448. type: integer
  5449. currencyid:
  5450. description: 报价货币ID
  5451. type: integer
  5452. decimalplace:
  5453. description: 报价小数位
  5454. type: integer
  5455. enumdicname:
  5456. description: 单位名称
  5457. type: string
  5458. exchangefullname:
  5459. description: 交易所全称
  5460. type: string
  5461. excludecfg:
  5462. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  5463. type: integer
  5464. exexchangecode:
  5465. description: 交易所代码
  5466. type: string
  5467. exexchangeid:
  5468. description: 外部交易所ID[通道交易]
  5469. type: integer
  5470. exexchangename:
  5471. description: 交易所名称
  5472. type: string
  5473. goodsgroupid:
  5474. description: 商品组ID(自增ID)
  5475. type: integer
  5476. goodsgroupname:
  5477. description: 商品组名称
  5478. type: string
  5479. goodsgroupstatus:
  5480. description: 商品组状态 - 1:正常 2:注销
  5481. type: integer
  5482. goodunitid:
  5483. description: 报价单位ID
  5484. type: integer
  5485. groupcategroyid:
  5486. description: 品种分类ID
  5487. type: integer
  5488. innerdealmode:
  5489. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  5490. type: integer
  5491. marketid:
  5492. description: 所属市场ID
  5493. type: integer
  5494. modifierid:
  5495. description: 修改人
  5496. type: integer
  5497. modifytime:
  5498. description: 修改时间
  5499. type: string
  5500. outerdealmode:
  5501. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  5502. type: integer
  5503. outergroupcode:
  5504. description: 外部商品组代码[通道交易]
  5505. type: string
  5506. quoteminunit:
  5507. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5508. type: integer
  5509. quotesourcegroupid:
  5510. description: 所属行情源分组ID[参考行情市场用\通道交易]
  5511. type: integer
  5512. syncgoodsqty:
  5513. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  5514. type: integer
  5515. required:
  5516. - areauserid
  5517. type: object
  5518. models.Ermcp3HedgePlan:
  5519. properties:
  5520. accountid:
  5521. description: 资金账号
  5522. type: integer
  5523. areauserid:
  5524. description: 用户ID
  5525. type: integer
  5526. auditid:
  5527. description: 审核id
  5528. type: integer
  5529. auditname:
  5530. description: 审核人名称
  5531. type: string
  5532. auditremark:
  5533. description: 审核备注
  5534. type: string
  5535. auditsrc:
  5536. description: 审核来源 1-管理端 2-终端
  5537. type: integer
  5538. audittime:
  5539. description: 审核时间
  5540. type: string
  5541. contracttype:
  5542. description: 计划类型 - 1:采购 -1:销售
  5543. type: integer
  5544. convertfactor:
  5545. description: 标仓系数
  5546. type: number
  5547. createtime:
  5548. description: 创建时间
  5549. type: string
  5550. currencyid:
  5551. description: 币种id
  5552. type: integer
  5553. currencyname:
  5554. description: 币种名称
  5555. type: string
  5556. deliverygoodscode:
  5557. description: 现货品种代码
  5558. type: string
  5559. deliverygoodsid:
  5560. description: 现货品种ID
  5561. type: integer
  5562. deliverygoodsname:
  5563. description: 现货品种名称
  5564. type: string
  5565. enumdicname:
  5566. description: 单位名称(现货商品)
  5567. type: string
  5568. hedgeplanid:
  5569. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  5570. type: string
  5571. hedgeplanno:
  5572. description: 套保计划编号(名称)
  5573. type: string
  5574. hedgeplanstatus:
  5575. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5576. type: integer
  5577. planqty:
  5578. description: 计划数量
  5579. type: number
  5580. plantime:
  5581. description: 计划时间
  5582. type: string
  5583. producttype:
  5584. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5585. type: integer
  5586. remark:
  5587. description: 备注
  5588. type: string
  5589. spotgoodsdesc:
  5590. description: 商品型号
  5591. type: string
  5592. taaccountname:
  5593. description: 资金账号名称
  5594. type: string
  5595. tradeuserid:
  5596. description: 交易用户id
  5597. type: integer
  5598. tradeusername:
  5599. description: 交易用户名称
  5600. type: string
  5601. unitid:
  5602. description: 单位id(现货商品)
  5603. type: integer
  5604. updatetime:
  5605. description: 更新时间
  5606. type: string
  5607. vatrate:
  5608. description: 增值税率
  5609. type: number
  5610. wrstandardcode:
  5611. description: 品类代码
  5612. type: string
  5613. wrstandardid:
  5614. description: 品类id
  5615. type: integer
  5616. wrstandardname:
  5617. description: 品类名称
  5618. type: string
  5619. wrunitid:
  5620. description: 品类单位id
  5621. type: integer
  5622. wrunitidame:
  5623. description: 品类单位名称
  5624. type: string
  5625. type: object
  5626. models.Ermcp3InnerTradeLink:
  5627. properties:
  5628. accountid:
  5629. description: 期货账号代码 | 资金账号ID
  5630. type: integer
  5631. buyorsell:
  5632. description: 方向 - 0:买 1:卖
  5633. type: integer
  5634. channelbuildtype:
  5635. description: 委托单据类型 0:无 1:建仓 2:平仓
  5636. type: integer
  5637. currencyid:
  5638. description: 币种id
  5639. type: integer
  5640. currencyname:
  5641. description: 结算币种 名称
  5642. type: string
  5643. goodscode:
  5644. description: 商品代码
  5645. type: string
  5646. goodsid:
  5647. description: 商品ID
  5648. type: integer
  5649. goodsname:
  5650. description: 商品名称
  5651. type: string
  5652. outtradeid:
  5653. description: 外部成交单号
  5654. type: string
  5655. taname:
  5656. description: 期货账户名称
  5657. type: string
  5658. tradeid:
  5659. description: 期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5660. type: string
  5661. tradeprice:
  5662. description: 成交价格
  5663. type: number
  5664. tradeqty:
  5665. description: 期货成交数量
  5666. type: integer
  5667. tradetime:
  5668. description: 关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间
  5669. type: string
  5670. username:
  5671. description: 用户名称
  5672. type: string
  5673. type: object
  5674. models.Ermcp3OutTradeLink:
  5675. properties:
  5676. buyorsell:
  5677. description: 买卖方向 - 0:买 1:卖
  5678. type: integer
  5679. channelbuildtype:
  5680. description: 开平标志- 0:无 1:建仓 2:平仓
  5681. type: integer
  5682. currencyname:
  5683. description: 币种名称
  5684. type: string
  5685. exexchangecode:
  5686. description: 交易所代码
  5687. type: string
  5688. exexchangename:
  5689. description: 交易所名称
  5690. type: string
  5691. goodscode:
  5692. description: 合约代码
  5693. type: string
  5694. goodsid:
  5695. description: 合约id
  5696. type: integer
  5697. goodsname:
  5698. description: 合约名称
  5699. type: string
  5700. hasinnerorder:
  5701. description: 是否有内部单关联 - 0:无 1:有
  5702. type: integer
  5703. hedgeaccountcode:
  5704. description: 外部账号 | 对冲账号
  5705. type: string
  5706. outtradeid:
  5707. description: 外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5708. type: string
  5709. tradeprice:
  5710. description: 成交价格
  5711. type: number
  5712. tradeqty:
  5713. description: 成交数量
  5714. type: integer
  5715. tradetime:
  5716. description: 成交时间
  5717. type: string
  5718. type: object
  5719. models.Ermcp3PaAreaAuditCfg:
  5720. properties:
  5721. areauserid:
  5722. description: 用户ID
  5723. type: integer
  5724. buyinauditflag:
  5725. description: 采购入库是否需要审核 - 0:不需审核 1:需要审核
  5726. type: integer
  5727. costratioauditflag:
  5728. description: 现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核
  5729. type: integer
  5730. customerauditflag:
  5731. description: 客户资料是否需要审核 - 0:不需审核 1:需要审核
  5732. type: integer
  5733. deliveryauditflag:
  5734. description: 交收是否需要审核 - 0:不需审核 1:需要审核
  5735. type: integer
  5736. invoiceauditflag:
  5737. description: 发票是否需要审核 - 0:不需审核 1:需要审核
  5738. type: integer
  5739. mgneedhedgeratioauditflag:
  5740. description: 套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核
  5741. type: integer
  5742. moneyauditflag:
  5743. description: 款项是否需要审核 - 0:不需审核 1:需要审核
  5744. type: integer
  5745. operatorid:
  5746. description: 操作人
  5747. type: integer
  5748. operatorsrc:
  5749. description: 操作来源 - 1:管理端 2:终端
  5750. type: integer
  5751. pointpriceauditflag:
  5752. description: 点价是否需要审核 - 0:不需审核 1:需要审核
  5753. type: integer
  5754. produceinauditflag:
  5755. description: 生产入库是否需要审核 - 0:不需审核 1:需要审核
  5756. type: integer
  5757. produceoutauditflag:
  5758. description: 生产出库是否需要审核 - 0:不需审核 1:需要审核
  5759. type: integer
  5760. selloutauditflag:
  5761. description: 销售出库是否需要审核 - 0:不需审核 1:需要审核
  5762. type: integer
  5763. sgconvertratioauditflag:
  5764. description: 现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核
  5765. type: integer
  5766. sgvtaratioauditflag:
  5767. description: 现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核
  5768. type: integer
  5769. spotcontractauditflag:
  5770. description: 现货合同是否需要审核 - 0:不需审核 1:需要审核
  5771. type: integer
  5772. updatetime:
  5773. description: 更新时间
  5774. type: string
  5775. type: object
  5776. models.Ermcp3PaAreaSubject:
  5777. properties:
  5778. areauserid:
  5779. description: 所属机构
  5780. type: integer
  5781. canmodify:
  5782. description: 是否可修改 - 0:否 1:是
  5783. type: integer
  5784. createtime:
  5785. description: 创建时间
  5786. type: string
  5787. creatorid:
  5788. description: 创建人ID
  5789. type: string
  5790. creatorsrc:
  5791. description: 创建人来源 - 1:管理端 2:终端 3:交易
  5792. type: integer
  5793. modifierid:
  5794. description: 修改人
  5795. type: string
  5796. modifiersrc:
  5797. description: 修改人来源 - 1:管理端 2:终端
  5798. type: integer
  5799. modifytime:
  5800. description: 修改时间
  5801. type: string
  5802. parentsubjectid:
  5803. description: 上级主体ID
  5804. type: string
  5805. remark:
  5806. description: 备注
  5807. type: string
  5808. subjectid:
  5809. description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  5810. type: integer
  5811. subjectname:
  5812. description: 主体名称
  5813. type: string
  5814. subjectstatus:
  5815. description: '主体状态 - 1:正常 2: 停用'
  5816. type: integer
  5817. subjecttype:
  5818. description: 主体类型 - 1:交易主体 2:业务部门
  5819. type: integer
  5820. type: object
  5821. models.Ermcp3PaTradeLink:
  5822. properties:
  5823. accountid:
  5824. description: 期货账户代码 | 账号ID
  5825. type: integer
  5826. agreeunit:
  5827. description: 合约乘数
  5828. type: number
  5829. buyorsell:
  5830. description: 方向 - 0:买 1:卖
  5831. type: integer
  5832. channelbuildtype:
  5833. description: 委托单据类型 0:无 1:建仓 2:平仓
  5834. type: integer
  5835. charge:
  5836. description: 手续费
  5837. type: number
  5838. closepl:
  5839. description: 平仓盈亏
  5840. type: number
  5841. closetype:
  5842. description: 平仓方式 - 0:无 1:平今 2:平昨
  5843. type: integer
  5844. convertratio:
  5845. description: 折算系数
  5846. type: number
  5847. enumdicname:
  5848. description: 单位名称
  5849. type: string
  5850. executeprice:
  5851. description: 执行价 [期权]
  5852. type: integer
  5853. goodscode:
  5854. description: 合约代码
  5855. type: string
  5856. goodsgroupid:
  5857. description: 对冲品种ID[期货合约商品组ID]
  5858. type: integer
  5859. goodsid:
  5860. description: 商品ID
  5861. type: integer
  5862. goodsname:
  5863. description: 合约名称
  5864. type: string
  5865. goodunitid:
  5866. description: 单位id
  5867. type: integer
  5868. hedgeflag:
  5869. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  5870. type: integer
  5871. marketid:
  5872. description: 市场ID
  5873. type: integer
  5874. middlegoodsid:
  5875. description: 套保品种ID
  5876. type: integer
  5877. middlegoodsqty:
  5878. description: 套保品种数量 = TradeQty * AgreeUnit * ConvertRatio
  5879. type: number
  5880. optioncode:
  5881. description: 期权代码 [期权]
  5882. type: string
  5883. ordertype:
  5884. description: 单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单
  5885. type: integer
  5886. ordertypename:
  5887. description: 订单类型
  5888. type: string
  5889. parentaccountid:
  5890. description: 所属母账户
  5891. type: integer
  5892. premium:
  5893. description: 权利金 [期权]
  5894. type: number
  5895. relatedlot:
  5896. description: 已关联数量(已关联数量手) | db:关联手数
  5897. type: number
  5898. relatedouttradeid:
  5899. description: 关联外部成交单ID
  5900. type: string
  5901. relatedqty:
  5902. description: 关联数量
  5903. type: number
  5904. spotcontractid:
  5905. description: 现货合同ID [4:套期保值\10\11]
  5906. type: string
  5907. taname:
  5908. description: 期货账户名称
  5909. type: string
  5910. tradeamount:
  5911. description: 成交金额(账户)
  5912. type: number
  5913. tradedate:
  5914. description: 交易日(yyyyMMdd)
  5915. type: string
  5916. tradeid:
  5917. description: 期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5918. type: string
  5919. tradelot:
  5920. description: 成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数
  5921. type: integer
  5922. tradeprice:
  5923. description: 成交价格
  5924. type: number
  5925. tradetime:
  5926. description: 时间 | db:成交时间
  5927. type: string
  5928. tradetype:
  5929. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  5930. type: integer
  5931. userid:
  5932. description: 所属机构 - 所属母账户的UserID
  5933. type: string
  5934. username:
  5935. description: 用户名称
  5936. type: string
  5937. type: object
  5938. models.Ermcp3ParamChangeApp:
  5939. properties:
  5940. aftervalue:
  5941. description: 变更后
  5942. type: number
  5943. applicationid:
  5944. description: 申请ID(619+Unix秒时间戳(10位)+xxxxxx)
  5945. type: string
  5946. applyid:
  5947. description: 申请人
  5948. type: string
  5949. applyname:
  5950. description: 申请人名称(代码)
  5951. type: string
  5952. applyremark:
  5953. description: 申请备注
  5954. type: string
  5955. applysrc:
  5956. description: 申请来源 - 1:管理端 2:终端
  5957. type: integer
  5958. applystatus:
  5959. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  5960. type: integer
  5961. applytime:
  5962. description: 申请时间
  5963. type: string
  5964. areauserid:
  5965. description: 所属机构用户ID
  5966. type: integer
  5967. auditid:
  5968. description: 审核人
  5969. type: string
  5970. auditname:
  5971. description: 审核人名称(代码)
  5972. type: string
  5973. auditremark:
  5974. description: 审核备注
  5975. type: string
  5976. auditsrc:
  5977. description: 审核来源 - 1:管理端 2:终端
  5978. type: integer
  5979. audittime:
  5980. description: 审核时间
  5981. type: string
  5982. audittradedate:
  5983. description: 审核交易日(yyyyMMdd)
  5984. type: string
  5985. beforevalue:
  5986. description: 变更前
  5987. type: number
  5988. deliverygoodscode:
  5989. description: 品种代码
  5990. type: string
  5991. deliverygoodsid:
  5992. description: 品种id
  5993. type: integer
  5994. deliverygoodsname:
  5995. description: 品种名称
  5996. type: string
  5997. middlegoodscode:
  5998. description: 套保品种代码
  5999. type: string
  6000. middlegoodsid:
  6001. description: 套保品种ID [ParamChangeType = 2,3,4]
  6002. type: integer
  6003. middlegoodsname:
  6004. description: 套保品种名称
  6005. type: string
  6006. operatetype:
  6007. description: 操作类型 - 1:新增 2:修改
  6008. type: integer
  6009. paramchangetype:
  6010. description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  6011. type: integer
  6012. wrstandardcode:
  6013. description: 现货商品代码
  6014. type: string
  6015. wrstandardid:
  6016. description: 现货商品ID [ParamChangeType = 1,2,3]
  6017. type: integer
  6018. wrstandardname:
  6019. description: 现货商品名称
  6020. type: string
  6021. type: object
  6022. models.Ermcp3RootUserAccount:
  6023. properties:
  6024. accountname:
  6025. description: 账户名称(机构名称)
  6026. type: string
  6027. accountstatus:
  6028. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6029. type: integer
  6030. applysrc:
  6031. description: 申请来源 - 1:管理端 2:终端
  6032. type: integer
  6033. auditremark:
  6034. description: 审核备注
  6035. type: string
  6036. auditsrc:
  6037. description: 审核来源 - 1:管理端 2:终端
  6038. type: integer
  6039. audittime:
  6040. description: 审核时间
  6041. type: string
  6042. audituserid:
  6043. description: 审核人
  6044. type: integer
  6045. broker:
  6046. description: 所属经纪人ID
  6047. type: integer
  6048. canceltime:
  6049. description: 销户时间
  6050. type: string
  6051. canceluserid:
  6052. description: 销户人
  6053. type: integer
  6054. canrecommend:
  6055. description: 是否可推荐 - 0:不可 1;可
  6056. type: integer
  6057. createtime:
  6058. description: 创建时间
  6059. type: string
  6060. creatorid:
  6061. description: 创建人
  6062. type: integer
  6063. hasauth:
  6064. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  6065. type: integer
  6066. isanonymous:
  6067. description: 是否匿名下单 - 0:否 1:是
  6068. type: integer
  6069. maxinvestornum:
  6070. description: 最大用户数(经纪会员下投资者个数)
  6071. type: integer
  6072. memberuserid:
  6073. description: 所属会员ID
  6074. type: integer
  6075. modifierid:
  6076. description: 修改人
  6077. type: integer
  6078. modifyremark:
  6079. description: 变更备注
  6080. type: string
  6081. modifystatus:
  6082. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  6083. type: integer
  6084. modifytime:
  6085. description: 修改时间
  6086. type: string
  6087. parenttopuser:
  6088. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  6089. type: string
  6090. parentuserid:
  6091. description: 所属机构ID
  6092. type: integer
  6093. reckonaccountid:
  6094. description: 默认结算资金账号ID(机构分润使用) 作废
  6095. type: integer
  6096. refercount:
  6097. description: 推荐总人数
  6098. type: integer
  6099. refereeuserid:
  6100. description: 推荐人ID
  6101. type: integer
  6102. refernum:
  6103. description: 推荐码
  6104. type: string
  6105. rootuserid:
  6106. description: 根用户ID
  6107. type: integer
  6108. subaccountlevel:
  6109. description: 子账户层数
  6110. type: integer
  6111. subarealevelpath:
  6112. description: 子机构层级路径(逗号分隔,首尾加逗号)
  6113. type: string
  6114. userid:
  6115. description: 用户ID
  6116. type: integer
  6117. usertype:
  6118. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6119. type: integer
  6120. type: object
  6121. models.Ermcp3SCMiddleGoods:
  6122. properties:
  6123. biztype:
  6124. description: 业务类型 1:套保 2:套利
  6125. type: integer
  6126. contractno:
  6127. description: 合同编号
  6128. type: string
  6129. contracttype:
  6130. description: 合同类型 1:采购 -1:销售
  6131. type: integer
  6132. customername:
  6133. description: 对手手名称
  6134. type: string
  6135. customeruserid:
  6136. description: 对手id
  6137. type: integer
  6138. deliverygoodscode:
  6139. description: 现货品种代码
  6140. type: string
  6141. deliverygoodsid:
  6142. description: 现货品种ID
  6143. type: integer
  6144. deliverygoodsname:
  6145. description: 现货品种名称
  6146. type: string
  6147. enumdicname:
  6148. description: 现货单位名称
  6149. type: string
  6150. middlegoodsid:
  6151. description: 套保品种ID
  6152. type: integer
  6153. middlegoodspricedqty3:
  6154. description: 应套保数量 = MiddleGoodsPricedQty2 * 套保比率
  6155. type: number
  6156. needhedgeratio:
  6157. description: 套保比例
  6158. type: number
  6159. pricedqty:
  6160. description: 已定价量
  6161. type: number
  6162. relatedmiddlegoodsqty:
  6163. description: 已关联量(套保品种)(期货)
  6164. type: number
  6165. spotcontractid:
  6166. description: 合同编号
  6167. type: string
  6168. unitid:
  6169. description: 现货单位id
  6170. type: integer
  6171. userid:
  6172. description: 用户id
  6173. type: integer
  6174. vatrate:
  6175. description: 增值税率
  6176. type: number
  6177. wrstandardcode:
  6178. description: 现货商品代码
  6179. type: string
  6180. wrstandardid:
  6181. description: 现货商品id
  6182. type: integer
  6183. wrstandardname:
  6184. description: 现货商品名称
  6185. type: string
  6186. type: object
  6187. models.Ermcp3SCMiddleGoodsReport:
  6188. properties:
  6189. begindate:
  6190. description: 开始交易日
  6191. type: string
  6192. contractno:
  6193. description: 合同编号
  6194. type: string
  6195. contracttype:
  6196. description: 合同类型 1:采购 -1:销售
  6197. type: integer
  6198. convertratio:
  6199. description: 折算系数
  6200. type: number
  6201. cycletime:
  6202. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6203. type: string
  6204. cycletype:
  6205. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6206. type: integer
  6207. deliverygoodscode:
  6208. description: 品种代码
  6209. type: string
  6210. deliverygoodsid:
  6211. description: 现货品种ID
  6212. type: integer
  6213. deliverygoodsname:
  6214. description: 品种名称
  6215. type: string
  6216. diffprice:
  6217. description: 现期价格差 = 今日点价登记均价(基价) - 今日期货成交均价
  6218. type: number
  6219. diffqty:
  6220. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  6221. type: number
  6222. enddate:
  6223. description: 结束交易日
  6224. type: string
  6225. hedgeplanqty:
  6226. description: 套保计划量 = TodayPricedQty * 折算系数 * (1/(1+增值税率)) * 套保比例
  6227. type: number
  6228. matchname:
  6229. description: 交易对手方(个人:用户名称 企业:简称)
  6230. type: string
  6231. middlegoodscode:
  6232. description: 套保品种代码
  6233. type: string
  6234. middlegoodsid:
  6235. description: 套保品种ID
  6236. type: integer
  6237. middlegoodsname:
  6238. description: 套保品种名称
  6239. type: string
  6240. middlegoodspricedqty:
  6241. description: 已定价量(套保品种 - 税前) = PricedQty * 折算系数
  6242. type: number
  6243. middlegoodspricedqty2:
  6244. description: 已定价量(套保品种- 税后) = MiddleGoodsPricedQty * (1/(1+增值税率))
  6245. type: number
  6246. middlegoodspricedqty3:
  6247. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  6248. type: number
  6249. needhedgeratio:
  6250. description: 套保系数
  6251. type: number
  6252. pricedamount:
  6253. description: 已定价额(现货)
  6254. type: number
  6255. pricedamount2:
  6256. description: 已定价额(现货-基价额)
  6257. type: number
  6258. pricedqty:
  6259. description: 已定价量(现货)
  6260. type: number
  6261. reckondate:
  6262. description: 日照时期(yyyyMMdd)
  6263. type: string
  6264. relatedmiddlegoodsamount:
  6265. description: 已关联额(期货)
  6266. type: number
  6267. relatedmiddlegoodsqty:
  6268. description: 已关联量(套保品种)(期货)
  6269. type: number
  6270. spotcontractid:
  6271. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  6272. type: string
  6273. todayavgfutuprice:
  6274. description: 今日期货成交均价 = TodayRelatedMiddleGoodsAmount /todayrelatedfutureqty
  6275. type: number
  6276. todayavgprice:
  6277. description: 今日定价均价 = TodayPricedAmount / TodayPricedQty
  6278. type: number
  6279. todayavgprice2:
  6280. description: 今日点价登记均价(基价) = TodayPricedAmount2 / TodayPricedQty
  6281. type: number
  6282. todaypricedamount:
  6283. description: 今日定价额(现货)
  6284. type: number
  6285. todaypricedamount2:
  6286. description: 今日定价额(现货-基价额)
  6287. type: number
  6288. todaypricedqty:
  6289. description: 今日定价量(现货)
  6290. type: number
  6291. todayrelatedfutureqty:
  6292. description: 今日关联量(期货)
  6293. type: number
  6294. todayrelatedmiddlegoodsamount:
  6295. description: 今日关联额(期货)
  6296. type: number
  6297. todayrelatedmiddlegoodsqty:
  6298. description: 今日关联量(套保品-期货)
  6299. type: number
  6300. updatetime:
  6301. description: 更新时间
  6302. type: string
  6303. userid:
  6304. description: 合同所属用户id
  6305. type: integer
  6306. vatrate:
  6307. description: 增值税率
  6308. type: number
  6309. wrstandardcode:
  6310. description: 商品(品类) 代码
  6311. type: string
  6312. wrstandardid:
  6313. description: 现货商品ID
  6314. type: integer
  6315. wrstandardname:
  6316. description: 商品(品类) 名称
  6317. type: string
  6318. type: object
  6319. models.Ermcp3SellBuyContract:
  6320. properties:
  6321. accountid:
  6322. description: 期货账户id
  6323. type: string
  6324. accountname:
  6325. description: 账户名称
  6326. type: string
  6327. attachment:
  6328. description: 附件
  6329. type: string
  6330. audittime:
  6331. description: 审核时间
  6332. type: string
  6333. biztype:
  6334. description: 业务类型 1-套保 2-套利
  6335. type: integer
  6336. brandname:
  6337. description: 品牌名称
  6338. type: string
  6339. contracctstatus:
  6340. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6341. type: integer
  6342. contractmargin:
  6343. description: 合同保证金
  6344. type: number
  6345. contractno:
  6346. description: 合同编号
  6347. type: string
  6348. contracttype:
  6349. description: 合同类型 1-采购, -1-销售
  6350. type: integer
  6351. convertfactor:
  6352. description: 标仓系数(品类)
  6353. type: number
  6354. createtime:
  6355. description: 创建时间
  6356. type: string
  6357. currencyid:
  6358. description: 币种id
  6359. type: integer
  6360. currencyname:
  6361. description: 币种名称
  6362. type: string
  6363. daikaiamount:
  6364. description: 应收(开)票额
  6365. type: number
  6366. deliveryenddate:
  6367. description: 交割结束日
  6368. type: string
  6369. deliverygoodscode:
  6370. description: 现货品种代码
  6371. type: string
  6372. deliverygoodsid:
  6373. description: 现货商品ID
  6374. type: integer
  6375. deliverygoodsname:
  6376. description: 现货品种名称
  6377. type: string
  6378. deliverystartdate:
  6379. description: 交割开始日
  6380. type: string
  6381. enddate:
  6382. description: 点价结束日
  6383. type: string
  6384. enumdicname:
  6385. description: 单位名称
  6386. type: string
  6387. goodscode:
  6388. description: 点价商品代码
  6389. type: string
  6390. goodsid:
  6391. description: 点价商品ID
  6392. type: integer
  6393. goodsname:
  6394. description: 点价商品名称
  6395. type: string
  6396. invoiceamount:
  6397. description: 已开票额
  6398. type: number
  6399. loanamount:
  6400. description: 贷款总额=已定价额+调整金额
  6401. type: number
  6402. margin:
  6403. description: 保证金
  6404. type: number
  6405. meruserid:
  6406. description: 跟单员id
  6407. type: integer
  6408. meruserlogincode:
  6409. description: 跟单员登录代码
  6410. type: string
  6411. merusername:
  6412. description: 跟单员名称
  6413. type: string
  6414. nickname:
  6415. description: 账户昵称
  6416. type: string
  6417. payamount:
  6418. description: 已收付额(收款或付款)
  6419. type: number
  6420. preinvoiceamount:
  6421. description: 预收(开)票额
  6422. type: number
  6423. prepayamount:
  6424. description: 预收付额
  6425. type: number
  6426. price:
  6427. description: 价格
  6428. type: number
  6429. pricedamount:
  6430. description: 已定价额
  6431. type: number
  6432. pricedavg:
  6433. description: 已点均价
  6434. type: number
  6435. pricedqty:
  6436. description: 已定价量
  6437. type: number
  6438. pricemove:
  6439. description: 升贴水
  6440. type: number
  6441. pricetype:
  6442. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  6443. type: integer
  6444. producttype:
  6445. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6446. type: integer
  6447. qty:
  6448. description: 合同量
  6449. type: number
  6450. reckonadjustamount:
  6451. description: 调整金额
  6452. type: number
  6453. reckonedamount:
  6454. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  6455. type: number
  6456. reckonotheramount:
  6457. description: 其它费用
  6458. type: number
  6459. reckonrealqty:
  6460. description: 已确定量
  6461. type: number
  6462. remark:
  6463. description: 备注
  6464. type: string
  6465. saleuserid:
  6466. description: 业务员id
  6467. type: integer
  6468. saleuserlogincode:
  6469. description: 业务员登录代码
  6470. type: string
  6471. saleusername:
  6472. description: 业务员名称
  6473. type: string
  6474. spotcontractid:
  6475. description: 合同ID
  6476. type: string
  6477. spotgoodsbrandid:
  6478. description: 现货品牌ID(DGFactoryItem表的ID)
  6479. type: integer
  6480. spotgoodsdesc:
  6481. description: 商品型号(商品规格)
  6482. type: string
  6483. startdate:
  6484. description: 点价开始日
  6485. type: string
  6486. subjectid:
  6487. description: 交易主体ID
  6488. type: string
  6489. subjectname:
  6490. description: 交易主体名称
  6491. type: string
  6492. totalamount:
  6493. description: 合计总额
  6494. type: number
  6495. tradeuserid:
  6496. description: 交易员id
  6497. type: integer
  6498. tradeuserlogincode:
  6499. description: 交易员登录代码
  6500. type: string
  6501. tradeusername:
  6502. description: 交易员名称
  6503. type: string
  6504. unpayamount:
  6505. description: 应收付款额(应支付或应收款)
  6506. type: number
  6507. unpricedqty:
  6508. description: 未定价量
  6509. type: number
  6510. unsureqty:
  6511. description: 未确定量
  6512. type: number
  6513. userid:
  6514. description: 机构ID
  6515. type: integer
  6516. vatrate:
  6517. description: 增值税率
  6518. type: number
  6519. wrstandardcode:
  6520. description: 品类代码
  6521. type: string
  6522. wrstandardid:
  6523. description: 品类ID
  6524. type: integer
  6525. wrstandardname:
  6526. description: 品类名称
  6527. type: string
  6528. type: object
  6529. models.Ermcp3SpotGoodsPrice:
  6530. properties:
  6531. areauserid:
  6532. description: 所属机构id
  6533. type: integer
  6534. brandname:
  6535. description: 品牌名称
  6536. type: string
  6537. currencyid:
  6538. description: 报价货币ID
  6539. type: integer
  6540. currencyname:
  6541. description: 币种名称
  6542. type: string
  6543. deliverygoodscode:
  6544. description: 现货商品代码
  6545. type: string
  6546. deliverygoodsid:
  6547. description: 现货商品id
  6548. type: integer
  6549. deliverygoodsname:
  6550. description: 现货商品名称
  6551. type: string
  6552. enumdicname:
  6553. description: 现货商品单位名称
  6554. type: string
  6555. gbenumdicname:
  6556. description: 品类单位名称
  6557. type: string
  6558. gmunitid:
  6559. description: 品类单位id
  6560. type: integer
  6561. isvalid:
  6562. description: 是否有效 - 0:无效 1:有效
  6563. type: integer
  6564. operateid:
  6565. description: 最后操作人
  6566. type: integer
  6567. operatesrc:
  6568. description: 最后操作来源 - 1:管理端 2:终端
  6569. type: integer
  6570. operatetime:
  6571. description: 最后操作时间
  6572. type: string
  6573. operatorname:
  6574. description: 操作人名称
  6575. type: string
  6576. spotgoodsbrandid:
  6577. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6578. type: integer
  6579. spotgoodsprice:
  6580. description: 现货价格
  6581. type: number
  6582. tradedate:
  6583. description: 交易日(yyyyMMdd)
  6584. type: string
  6585. unitid:
  6586. description: 现货商品单位id
  6587. type: integer
  6588. wrstandardcode:
  6589. description: 品类代码
  6590. type: string
  6591. wrstandardid:
  6592. description: 现货品类ID(通用则为0)
  6593. type: integer
  6594. wrstandardname:
  6595. description: 品类名称
  6596. type: string
  6597. type: object
  6598. models.Ermcp3SpotGoodsPriceLog:
  6599. properties:
  6600. areauserid:
  6601. description: 所属机构id
  6602. type: integer
  6603. brandname:
  6604. description: 品牌名称
  6605. type: string
  6606. currencyid:
  6607. description: 报价货币ID
  6608. type: integer
  6609. deliverygoodscode:
  6610. description: 现货商品代码
  6611. type: string
  6612. deliverygoodsid:
  6613. description: 现货商品id
  6614. type: integer
  6615. deliverygoodsname:
  6616. description: 现货商品名称
  6617. type: string
  6618. enumdicname:
  6619. description: 现货商品单位名称
  6620. type: string
  6621. gbenumdicname:
  6622. description: 品类单位名称
  6623. type: string
  6624. gmunitid:
  6625. description: 品类单位id
  6626. type: integer
  6627. logid:
  6628. description: 日志id
  6629. type: integer
  6630. operateid:
  6631. description: 最后操作人
  6632. type: integer
  6633. operatesrc:
  6634. description: 最后操作来源 - 1:管理端 2:终端
  6635. type: integer
  6636. operatetime:
  6637. description: 最后操作时间
  6638. type: string
  6639. operatorname:
  6640. description: 操作人名称
  6641. type: string
  6642. spotgoodsbrandid:
  6643. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6644. type: integer
  6645. spotgoodsprice:
  6646. description: 现货价格
  6647. type: number
  6648. tradedate:
  6649. description: 交易日(yyyyMMdd)
  6650. type: string
  6651. unitid:
  6652. description: 现货商品单位id
  6653. type: integer
  6654. wrstandardcode:
  6655. description: 品类代码
  6656. type: string
  6657. wrstandardid:
  6658. description: 现货品类ID(通用则为0)
  6659. type: integer
  6660. wrstandardname:
  6661. description: 品类名称
  6662. type: string
  6663. type: object
  6664. models.Ermcp3SubTaaccount:
  6665. properties:
  6666. accountid:
  6667. description: 资金账户ID
  6668. type: integer
  6669. parentaccountcode:
  6670. description: 所属根账号代码(母账号代码)
  6671. type: string
  6672. parentaccountid:
  6673. description: 所属根账号(母账号)
  6674. type: integer
  6675. taname:
  6676. description: 资金账号名称
  6677. type: string
  6678. tradestatus:
  6679. description: 交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)
  6680. type: integer
  6681. username:
  6682. description: 交易用户
  6683. type: string
  6684. type: object
  6685. models.Ermcp3TaFutuReDataReport:
  6686. properties:
  6687. accountid:
  6688. description: 交易账户
  6689. type: integer
  6690. accountname:
  6691. description: 交易账号名称
  6692. type: string
  6693. agreeunit:
  6694. description: 商品合约单位
  6695. type: number
  6696. begindate:
  6697. description: 开始交易日
  6698. type: string
  6699. buyorsell:
  6700. description: 持仓方向
  6701. type: integer
  6702. charge:
  6703. description: 手续费
  6704. type: number
  6705. closeavgprice:
  6706. description: 平仓均价
  6707. type: number
  6708. closepl:
  6709. description: 平仓损益
  6710. type: number
  6711. currencyid:
  6712. description: 结算币种ID
  6713. type: integer
  6714. currencyname:
  6715. description: 币种名称
  6716. type: string
  6717. cycletime:
  6718. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6719. type: string
  6720. cycletype:
  6721. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6722. type: integer
  6723. enddate:
  6724. description: 结束交易日
  6725. type: string
  6726. enumdicname:
  6727. description: 单位名称
  6728. type: string
  6729. floatpl:
  6730. description: 浮动损益
  6731. type: number
  6732. goodscode:
  6733. description: 交易合约代码
  6734. type: string
  6735. goodsgroupid:
  6736. description: 交易品种
  6737. type: integer
  6738. goodsgroupname:
  6739. description: 交易品种名称
  6740. type: string
  6741. goodsgroupspotqty:
  6742. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  6743. type: number
  6744. goodsid:
  6745. description: 交易合约
  6746. type: integer
  6747. goodsname:
  6748. description: 交易合约名称
  6749. type: string
  6750. goodunitid:
  6751. description: 交易合约单位id
  6752. type: integer
  6753. holdamount:
  6754. description: 期末持仓额
  6755. type: number
  6756. holdqty:
  6757. description: 期末持仓量
  6758. type: number
  6759. lastholdamount:
  6760. description: 当前持仓额
  6761. type: number
  6762. lastprice:
  6763. description: 最新价
  6764. type: number
  6765. middlegoodsid:
  6766. description: 套保品种id
  6767. type: integer
  6768. middlegoodsname:
  6769. description: 套保商品名称
  6770. type: string
  6771. middlegoodsqty:
  6772. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  6773. type: number
  6774. middlgoodscode:
  6775. description: 套保商品代码
  6776. type: string
  6777. openamount:
  6778. description: 期末开仓额
  6779. type: number
  6780. openavgprice:
  6781. description: 开仓均价
  6782. type: number
  6783. oriholdamount:
  6784. description: 期初持仓额
  6785. type: number
  6786. oriholdqty:
  6787. description: 期初持仓量
  6788. type: number
  6789. oriopenamount:
  6790. description: 期初开仓额
  6791. type: number
  6792. outergroupcode:
  6793. description: 交易品种代码
  6794. type: string
  6795. qtydecimalplace:
  6796. description: 成交量小数位
  6797. type: integer
  6798. reckondate:
  6799. description: 日照时期(yyyyMMdd)
  6800. type: string
  6801. reckonholdamount:
  6802. description: 结算持仓额
  6803. type: number
  6804. reckonpl:
  6805. description: 结算损益
  6806. type: number
  6807. reckonpl2:
  6808. description: 结算逐笔盈亏
  6809. type: number
  6810. reckonprice:
  6811. description: 结算价
  6812. type: number
  6813. relateduserid:
  6814. description: 账户关联用户ID
  6815. type: integer
  6816. todaycloseamount:
  6817. description: 今平仓额
  6818. type: number
  6819. todaycloseqty:
  6820. description: 今平仓量
  6821. type: number
  6822. todaygoodsgroupspotqty:
  6823. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  6824. type: number
  6825. todaymiddlegoodsqty:
  6826. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  6827. type: number
  6828. todayopenamount:
  6829. description: 今开仓额
  6830. type: number
  6831. todayopenqty:
  6832. description: 今开仓量
  6833. type: number
  6834. userid:
  6835. description: 账户所属用户ID
  6836. type: integer
  6837. type: object
  6838. models.Ermcp3TradeLinkDetail:
  6839. properties:
  6840. accountid:
  6841. description: 资金账号
  6842. type: integer
  6843. agreeunit:
  6844. description: 合约乘数
  6845. type: number
  6846. areauserid:
  6847. description: 所属机构
  6848. type: string
  6849. bizsubjectid:
  6850. description: 归属业务部门ID - SubjectID
  6851. type: string
  6852. buyorsell:
  6853. description: 方向 - 0:买 1:卖
  6854. type: integer
  6855. channelbuildtype:
  6856. description: 委托单据类型 0:无 1:建仓 2:平仓
  6857. type: integer
  6858. contractno:
  6859. description: 现货编号 (合同编号)
  6860. type: string
  6861. convertratio:
  6862. description: 折算系数
  6863. type: number
  6864. createtime:
  6865. description: 关联时间 | 创建时间
  6866. type: string
  6867. creatorid:
  6868. description: 创建人ID
  6869. type: string
  6870. creatorsrc:
  6871. description: 创建人来源 - 1:管理端 2:终端 3:交易
  6872. type: integer
  6873. enumdicname:
  6874. description: 单位名称
  6875. type: string
  6876. goodscode:
  6877. description: 合约代码
  6878. type: string
  6879. goodsgroupid:
  6880. description: 对冲品种ID[期货合约商品组ID]
  6881. type: integer
  6882. goodsid:
  6883. description: 商品ID
  6884. type: integer
  6885. goodsname:
  6886. description: 合约名称
  6887. type: string
  6888. hedgeflag:
  6889. description: 业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  6890. type: integer
  6891. linkdetailid:
  6892. description: 关联ID(614+Unix秒时间戳(10位)+xxxxxx)
  6893. type: string
  6894. linkstatus:
  6895. description: 关联状态 - 1:成功 2:失败 3:解绑
  6896. type: integer
  6897. middlegoodscode:
  6898. description: 套保品种代码
  6899. type: string
  6900. middlegoodsid:
  6901. description: 套保品种ID
  6902. type: integer
  6903. middlegoodsname:
  6904. description: 套保品种名称
  6905. type: string
  6906. relatedlot:
  6907. description: 关联手数
  6908. type: number
  6909. relatedmode:
  6910. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  6911. type: integer
  6912. relatedqty:
  6913. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  6914. type: number
  6915. retcode:
  6916. description: 返回码
  6917. type: integer
  6918. saleuserid:
  6919. description: 业务员ID
  6920. type: string
  6921. spotcontractid:
  6922. description: 现货合同\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]
  6923. type: string
  6924. taname:
  6925. description: 期货账户
  6926. type: string
  6927. tradedate:
  6928. description: 关联交易日(yyyyMMdd)
  6929. type: string
  6930. tradeid:
  6931. description: 期货订单号 | 内部成交单ID
  6932. type: string
  6933. tradelot:
  6934. description: 成交数量 | 成交手数
  6935. type: integer
  6936. tradeprice:
  6937. description: 成交价格
  6938. type: number
  6939. tradetime:
  6940. description: 期货成交时间
  6941. type: string
  6942. tradetradedate:
  6943. description: 成交交易日(yyyyMMdd)
  6944. type: string
  6945. username:
  6946. description: 用户名称
  6947. type: string
  6948. type: object
  6949. models.Ermcp3Wrstandard:
  6950. properties:
  6951. areauserid:
  6952. description: 所属机构
  6953. type: integer
  6954. cantrade:
  6955. description: 是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)
  6956. type: integer
  6957. convertfactor:
  6958. description: 标仓系数
  6959. type: number
  6960. createtime:
  6961. description: 创建时间
  6962. type: string
  6963. creatorid:
  6964. description: 创建人
  6965. type: integer
  6966. deliverygoodsid:
  6967. description: 现货品种ID
  6968. type: integer
  6969. enumdicname:
  6970. description: 品类单位名称
  6971. type: string
  6972. isvalid:
  6973. description: 是否有效 0-无效(停用) 1-有效(正常)
  6974. type: integer
  6975. minivalue:
  6976. description: 最小变动值
  6977. type: integer
  6978. minivaluedp:
  6979. description: 最小变动值小数位
  6980. type: integer
  6981. realminivalue:
  6982. description: 实际最小变动值
  6983. type: integer
  6984. realminivaluedp:
  6985. description: 实际最小变动值小数位
  6986. type: integer
  6987. remark:
  6988. description: 备注
  6989. type: string
  6990. unitid:
  6991. description: 品类单位ID
  6992. type: integer
  6993. updatetime:
  6994. description: 更新时间
  6995. type: string
  6996. wrstandardcode:
  6997. description: 品类代码
  6998. type: string
  6999. wrstandardid:
  7000. description: 品类ID(SEQ_WRSTANDARD)
  7001. type: integer
  7002. wrstandardname:
  7003. description: 品类名称
  7004. type: string
  7005. type: object
  7006. models.ErmcpBizGroupEx:
  7007. properties:
  7008. acclist:
  7009. description: 账号列表
  7010. items:
  7011. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  7012. type: array
  7013. bizgroupid:
  7014. description: 业务分组id
  7015. type: integer
  7016. biztype:
  7017. description: 业务类型 1-套保 2-套利
  7018. type: integer
  7019. wrlist:
  7020. description: 现货商品表
  7021. items:
  7022. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  7023. type: array
  7024. type: object
  7025. models.ErmcpBizGroupSpotGoods:
  7026. properties:
  7027. areauserid:
  7028. description: 所属机构id
  7029. type: integer
  7030. bizgroupid:
  7031. description: 分组id
  7032. type: integer
  7033. biztype:
  7034. description: 业务类型 1-套保 2-套利
  7035. type: integer
  7036. deliverygoodscode:
  7037. description: 现货商品代码
  7038. type: string
  7039. deliverygoodsid:
  7040. description: 现货商品id
  7041. type: integer
  7042. deliverygoodsname:
  7043. description: 现货商品名称
  7044. type: string
  7045. unitid:
  7046. description: 现货商品单位id
  7047. type: integer
  7048. type: object
  7049. models.ErmcpBizGroupTaAccount:
  7050. properties:
  7051. accountid:
  7052. description: 账号id
  7053. type: integer
  7054. accountname:
  7055. description: 账号名称
  7056. type: string
  7057. areauserid:
  7058. description: 所属机构id
  7059. type: integer
  7060. bizgroupid:
  7061. description: 业务分组id
  7062. type: integer
  7063. ismain:
  7064. description: 是否主账号 1-是 0-否
  7065. type: integer
  7066. type: object
  7067. models.ErmcpDGFactoryItem:
  7068. properties:
  7069. areauserid:
  7070. description: 用户id
  7071. type: integer
  7072. deliverygoodsid:
  7073. description: 现货品种ID
  7074. type: integer
  7075. dgfactoryitemid:
  7076. description: 选择项ID(SEQ_DGFACTORYITEM)
  7077. type: integer
  7078. dgfactoryitemtypeid:
  7079. description: 要素项类型
  7080. type: integer
  7081. dgfactoryitemvalue:
  7082. description: 要素项值(类型为仓库时填写仓库名称)
  7083. type: string
  7084. isvalid:
  7085. description: 是否有效 - 0:无效 1:有效
  7086. type: integer
  7087. orderindex:
  7088. description: 顺序
  7089. type: integer
  7090. warehouseid:
  7091. description: 仓库ID(类型为仓库时填写)
  7092. type: integer
  7093. type: object
  7094. models.ErmcpDeliveryGoods:
  7095. properties:
  7096. agreeunit:
  7097. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  7098. type: integer
  7099. areauserid:
  7100. description: 所属机构
  7101. type: integer
  7102. auditflag:
  7103. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  7104. type: integer
  7105. categoryid:
  7106. description: 类别ID(SEQ_WRCATEGORY)
  7107. type: integer
  7108. deliverygoodscode:
  7109. description: 现货品种代码
  7110. type: string
  7111. deliverygoodsid:
  7112. description: 现货品种ID(SEQ_DELIVERYGOODS)
  7113. type: integer
  7114. deliverygoodsname:
  7115. description: 现货品种名称
  7116. type: string
  7117. deliverygoodstype:
  7118. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  7119. type: integer
  7120. dgstatus:
  7121. description: 品种状态 - 作废 - 0:未激活 1:正常
  7122. type: integer
  7123. enumdicname:
  7124. description: 现货品种单位名称
  7125. type: string
  7126. goodsunitid:
  7127. description: 现货品种单位ID
  7128. type: integer
  7129. isvalid:
  7130. description: 是否有效 - 0:无效 1:有效
  7131. type: integer
  7132. qtydecimalplace:
  7133. description: 成交量小数位
  7134. type: integer
  7135. remark:
  7136. description: 备注
  7137. type: string
  7138. standardqty:
  7139. description: 标准数量(库位数量) [标准品特有]
  7140. type: integer
  7141. standardqtyrange:
  7142. description: 标准数量偏差范围 [标准品特有]
  7143. type: integer
  7144. type: object
  7145. models.ErmcpFuturesCompany:
  7146. properties:
  7147. brokerid:
  7148. description: 经纪公司代码
  7149. type: string
  7150. channeladdress:
  7151. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  7152. type: string
  7153. channelid:
  7154. description: 对冲渠道ID
  7155. type: string
  7156. createtime:
  7157. description: 创建时间
  7158. type: string
  7159. creatorid:
  7160. description: 创建人
  7161. type: string
  7162. fcid:
  7163. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  7164. type: integer
  7165. fcname:
  7166. description: 期货公司名称
  7167. type: string
  7168. isvalid:
  7169. description: 是否有效 - 0:无效 1:有效
  7170. type: integer
  7171. mhpaddress:
  7172. description: MHP服务地址(IP:Port)
  7173. type: string
  7174. riskrulegroupid:
  7175. description: 风控规则组ID
  7176. type: string
  7177. tradefeetmpid:
  7178. description: 手续费模板ID[TradeConfigTmpType为2]
  7179. type: string
  7180. trademargintmpid:
  7181. description: 保证金模板ID [TradeConfigTmpType为1]
  7182. type: string
  7183. traderatetmpid:
  7184. description: 汇率模板ID[TradeConfigTmpType为3]
  7185. type: string
  7186. updatetime:
  7187. description: 更新时间
  7188. type: string
  7189. updatorid:
  7190. description: 更新人
  7191. type: string
  7192. type: object
  7193. models.ErmcpGGConvertCfg:
  7194. properties:
  7195. convertratio:
  7196. description: 折算系数
  7197. type: number
  7198. destgoodsgroupid:
  7199. description: 目标品种ID
  7200. type: integer
  7201. dstcode:
  7202. description: 目录品种代码
  7203. type: string
  7204. dstexchangecode:
  7205. description: 目标期货交易所
  7206. type: string
  7207. dstname:
  7208. description: 目标品种名称
  7209. type: string
  7210. dstunitid:
  7211. description: 目标品种单位ID
  7212. type: integer
  7213. dstunitidname:
  7214. description: 目标品种单位名称
  7215. type: string
  7216. modifytime:
  7217. description: 修改时间
  7218. type: string
  7219. srccode:
  7220. description: 源品种代码
  7221. type: string
  7222. srcexchangecode:
  7223. description: 源期货交易所
  7224. type: string
  7225. srcgoodsgroupid:
  7226. description: 源品种ID
  7227. type: integer
  7228. srcname:
  7229. description: 源品种名称
  7230. type: string
  7231. srcunitid:
  7232. description: 源品种单位ID
  7233. type: integer
  7234. srcunitidname:
  7235. description: 源品种单位名称
  7236. type: string
  7237. type: object
  7238. models.ErmcpGoods:
  7239. properties:
  7240. agreeunit:
  7241. description: 合约单位
  7242. type: number
  7243. areauserid:
  7244. description: 所属机构
  7245. type: integer
  7246. auditaccountid:
  7247. description: 审核操作员账号
  7248. type: integer
  7249. audittime:
  7250. description: 审核时间
  7251. type: string
  7252. cancelaccountid:
  7253. description: 注销操作员账号
  7254. type: integer
  7255. canceltime:
  7256. description: 注销时间
  7257. type: string
  7258. closepricemode:
  7259. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7260. type: integer
  7261. closepriceparam:
  7262. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  7263. type: number
  7264. createtime:
  7265. description: 创建时间
  7266. type: string
  7267. creatorid:
  7268. description: 创建人
  7269. type: integer
  7270. currencyid:
  7271. description: 报价货币ID
  7272. type: integer
  7273. cutmode:
  7274. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  7275. type: integer
  7276. decimalplace:
  7277. description: 报价小数位
  7278. type: integer
  7279. delistingdate:
  7280. description: 商品退市时间(状态:退市) -- 已作废
  7281. type: string
  7282. delistingmode:
  7283. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  7284. type: integer
  7285. deliveryflag:
  7286. description: 交割标志 - 0:不可交割 1:可交割
  7287. type: integer
  7288. enumdicname:
  7289. description: 单位名称
  7290. type: string
  7291. forceclosemode:
  7292. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  7293. type: integer
  7294. forceclosevalue:
  7295. description: 定期强平参数 [收益权]
  7296. type: integer
  7297. goodscode:
  7298. description: 商品代码(内部)
  7299. type: string
  7300. goodscurrencyid:
  7301. description: 合约货币ID
  7302. type: integer
  7303. goodsgroupid:
  7304. description: 所属商品组ID
  7305. type: integer
  7306. goodsid:
  7307. description: 商品ID(自增ID SEQ_GOODS)
  7308. type: integer
  7309. goodsname:
  7310. description: 商品名称
  7311. type: string
  7312. goodsquotetype:
  7313. description: '合约报价类型: 1-直接报价 2-间接报价'
  7314. type: integer
  7315. goodsstatus:
  7316. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7317. type: integer
  7318. goodstradetype:
  7319. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  7320. type: integer
  7321. goodunitid:
  7322. description: 报价单位ID
  7323. type: integer
  7324. hasquoter:
  7325. description: 是否有报价商 - 0:无报价商 1:有报价商
  7326. type: integer
  7327. hqprotecttime:
  7328. description: 行情保护时间(秒)
  7329. type: integer
  7330. innerdealmode:
  7331. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7332. type: integer
  7333. isbuylimited:
  7334. description: 是否限制建仓量 - 0:不限制 1:限制
  7335. type: integer
  7336. isvisible:
  7337. description: 游客是否可见 - 0:不可见 1:可见
  7338. type: integer
  7339. lasttradedate:
  7340. description: 最后交易日期(状态:待退市)
  7341. type: string
  7342. listingdate:
  7343. description: 交易开始日期
  7344. type: string
  7345. marketid:
  7346. description: 所属市场ID
  7347. type: integer
  7348. modifierid:
  7349. description: 修改人
  7350. type: integer
  7351. modifystatus:
  7352. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  7353. type: integer
  7354. modifytime:
  7355. description: 修改时间
  7356. type: string
  7357. outerdealmode:
  7358. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7359. type: integer
  7360. outgoodscode:
  7361. description: 商品代码(外部)
  7362. type: string
  7363. pictureurl:
  7364. description: 商品图片
  7365. type: string
  7366. qtydecimalplace:
  7367. description: 成交量小数位
  7368. type: integer
  7369. quotegear:
  7370. description: 行情档位(1-10)
  7371. type: integer
  7372. quoteminunit:
  7373. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7374. type: integer
  7375. quoteshowtype:
  7376. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  7377. type: integer
  7378. quoteshowtypeinterval:
  7379. description: 行情报价间隔时间(秒)(成交价时为0)
  7380. type: integer
  7381. relatedgoodsid:
  7382. description: 关联参考商品ID
  7383. type: integer
  7384. remark:
  7385. description: 备注
  7386. type: string
  7387. trademode:
  7388. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  7389. type: integer
  7390. required:
  7391. - goodscode
  7392. - goodsid
  7393. - goodsname
  7394. - marketid
  7395. type: object
  7396. models.ErmcpGoodsBrand:
  7397. properties:
  7398. areauserid:
  7399. description: 所属机构
  7400. type: integer
  7401. brandid:
  7402. description: BrandID(SEQ_SPOTGOODSBRAND)
  7403. type: integer
  7404. brandname:
  7405. description: 品牌名称
  7406. type: string
  7407. createtime:
  7408. description: 创建时间
  7409. type: string
  7410. creatorid:
  7411. description: 创建人
  7412. type: integer
  7413. creatorsrc:
  7414. description: 创建人来源 - 1:管理端 2:终端
  7415. type: integer
  7416. deliverygoodsid:
  7417. description: 现货品种ID
  7418. type: integer
  7419. isvalid:
  7420. description: 是否有效 - 0:无效 1:有效
  7421. type: integer
  7422. updatetime:
  7423. description: 更新时间
  7424. type: string
  7425. updatorid:
  7426. description: 更新人
  7427. type: integer
  7428. updatorsrc:
  7429. description: 更新人来源 - 1:管理端 2:终端
  7430. type: integer
  7431. wrstandardid:
  7432. description: 现货商品ID
  7433. type: integer
  7434. type: object
  7435. models.ErmcpGoodsModel:
  7436. properties:
  7437. areauserid:
  7438. description: 所属机构
  7439. type: integer
  7440. convertfactor:
  7441. description: 标仓系数
  7442. type: number
  7443. createtime:
  7444. description: 创建时间
  7445. type: string
  7446. creatorid:
  7447. description: 创建人
  7448. type: integer
  7449. creatorsrc:
  7450. description: 创建人来源 - 1:管理端 2:终端
  7451. type: integer
  7452. deliverygoodsid:
  7453. description: 现货品种ID
  7454. type: integer
  7455. isvalid:
  7456. description: 是否有效 - 0:无效 1:有效
  7457. type: integer
  7458. modelid:
  7459. description: ModelID(SEQ_SPOTGOODSMODEL)
  7460. type: integer
  7461. modelname:
  7462. description: 型号名称
  7463. type: string
  7464. updatetime:
  7465. description: 更新时间
  7466. type: string
  7467. updatorid:
  7468. description: 更新人
  7469. type: integer
  7470. updatorsrc:
  7471. description: 更新人来源 - 1:管理端 2:终端
  7472. type: integer
  7473. wrstandardid:
  7474. description: 现货商品ID
  7475. type: integer
  7476. type: object
  7477. models.ErmcpHisExposure:
  7478. properties:
  7479. needhedgeexposoure:
  7480. description: 应套保敞口
  7481. type: number
  7482. reckondate:
  7483. description: 日照时期(yyyyMMdd)
  7484. type: string
  7485. totalexposure:
  7486. description: 总敞口
  7487. type: number
  7488. type: object
  7489. models.ErmcpLoginTaAccount:
  7490. properties:
  7491. accountid:
  7492. description: 账号id
  7493. type: integer
  7494. accountname:
  7495. description: 账号名称
  7496. type: string
  7497. type: object
  7498. models.ErmcpLoginUser:
  7499. properties:
  7500. acclist:
  7501. description: 关联资金账号
  7502. items:
  7503. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  7504. type: array
  7505. accountname:
  7506. description: 用户名称
  7507. type: string
  7508. clientroleid:
  7509. description: 角色id(usertype=2)
  7510. type: integer
  7511. createtime:
  7512. description: 创建时间
  7513. type: string
  7514. logincode:
  7515. description: 登录代码
  7516. type: string
  7517. loginid:
  7518. description: 登录id(LOGINID)
  7519. type: integer
  7520. loginname:
  7521. description: 登录名称(loginaccount表中的accountname字段)
  7522. type: string
  7523. loginstatus:
  7524. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  7525. type: integer
  7526. memberuserid:
  7527. description: 所属会员id
  7528. type: integer
  7529. mobile:
  7530. description: 手机号
  7531. type: string
  7532. modifytime:
  7533. description: 修改时间
  7534. type: string
  7535. password:
  7536. description: 密码(不可解密)
  7537. type: string
  7538. rolename:
  7539. description: 角色名称
  7540. type: string
  7541. rolestatus:
  7542. description: 角色状态 1-启用 2-停用
  7543. type: integer
  7544. roletype:
  7545. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  7546. type: string
  7547. userid:
  7548. description: 用户id
  7549. type: integer
  7550. usertype:
  7551. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  7552. type: integer
  7553. type: object
  7554. models.ErmcpLoginUserEx:
  7555. properties:
  7556. accountstatus:
  7557. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  7558. type: integer
  7559. mobile:
  7560. description: 手机号
  7561. type: string
  7562. querytype:
  7563. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  7564. type: integer
  7565. roleid:
  7566. description: 角色id(交易账户->用户id)
  7567. type: integer
  7568. rolename:
  7569. description: 角色名称(交易账户->用户名称)
  7570. type: string
  7571. userlist:
  7572. description: 用户列表
  7573. items:
  7574. $ref: '#/definitions/models.ErmcpLoginUser'
  7575. type: array
  7576. usertype:
  7577. description: 用户类型 2-机构 7-企业成员(云平台)
  7578. type: integer
  7579. type: object
  7580. models.ErmcpMiddleGoodsModel:
  7581. properties:
  7582. areauserid:
  7583. description: 机构用户ID
  7584. type: integer
  7585. createtime:
  7586. description: 修改时间
  7587. type: string
  7588. enumdicname:
  7589. description: 单位名称
  7590. type: string
  7591. evaluateratio:
  7592. description: 估价系数
  7593. type: number
  7594. goodsgroupid:
  7595. description: 关联期货品种ID
  7596. type: integer
  7597. goodsunitid:
  7598. description: 单位ID
  7599. type: integer
  7600. isvalid:
  7601. description: 状态 0-无效(停用) 1-有效(正常)
  7602. type: integer
  7603. middlegoodscode:
  7604. description: 套保品种代码
  7605. type: string
  7606. middlegoodsid:
  7607. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  7608. type: integer
  7609. middlegoodsname:
  7610. description: 套保品种名称
  7611. type: string
  7612. modifytime:
  7613. description: 修改时间
  7614. type: string
  7615. needarbitrageratio:
  7616. description: 套利比例
  7617. type: number
  7618. needhedgeratio:
  7619. description: 套保比率
  7620. type: number
  7621. qtydecimalplace:
  7622. description: 数量小数位
  7623. type: integer
  7624. relatedgoodsid:
  7625. description: 关联交易商品ID
  7626. type: integer
  7627. relatedgoodstype:
  7628. description: 关联商品类型 - 1:期货合约 2:现货品种
  7629. type: integer
  7630. remark:
  7631. description: 备注
  7632. type: string
  7633. type: object
  7634. models.ErmcpMiddlegoodsRelateGoods:
  7635. properties:
  7636. agreeunit:
  7637. description: 合约乘数
  7638. type: number
  7639. convertratio:
  7640. description: 折算系数
  7641. type: number
  7642. enumdicname:
  7643. description: 单位名称(交易商品)
  7644. type: string
  7645. goodscode:
  7646. description: 交易商品代码
  7647. type: string
  7648. goodsgroupid:
  7649. description: 交易品种id
  7650. type: integer
  7651. goodsid:
  7652. description: 商品Id
  7653. type: integer
  7654. goodsname:
  7655. description: 交易商品名称
  7656. type: string
  7657. goodunitid:
  7658. description: 交易商品单位id
  7659. type: integer
  7660. middlegoodsid:
  7661. description: 套保商品id
  7662. type: integer
  7663. middlegoodsname:
  7664. description: 套保商品名称
  7665. type: string
  7666. middlegoodsswcode:
  7667. description: 套保商品代码
  7668. type: string
  7669. needarbitrageratio:
  7670. description: 应套利比例
  7671. type: number
  7672. needhedgeratio:
  7673. description: 应套保比例
  7674. type: number
  7675. type: object
  7676. models.ErmcpRole:
  7677. properties:
  7678. areauserid:
  7679. description: 所属机构
  7680. type: integer
  7681. autoid:
  7682. description: 角色ID(自增ID)
  7683. type: integer
  7684. modifierid:
  7685. description: 修改人(创建人)
  7686. type: integer
  7687. modifiername:
  7688. description: 修改人名称
  7689. type: string
  7690. modifytime:
  7691. description: 修改时间(创建时间)
  7692. type: string
  7693. rolename:
  7694. description: 角色名称
  7695. type: string
  7696. rolestatus:
  7697. description: 角色状态 - 1:启用 2:停用
  7698. type: integer
  7699. roletype:
  7700. description: 角色类型 - 1- 管理端 2- 交易端
  7701. type: integer
  7702. type: object
  7703. models.ErmcpRoleMenu:
  7704. properties:
  7705. iconame:
  7706. description: 菜单图标
  7707. type: string
  7708. ishadrole:
  7709. description: 是否有权限
  7710. type: boolean
  7711. menutype:
  7712. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  7713. type: integer
  7714. parentcode:
  7715. description: 上级资源代码
  7716. type: string
  7717. remark:
  7718. description: 菜单备注
  7719. type: string
  7720. resourcecode:
  7721. description: 菜单代码
  7722. type: string
  7723. resourcelevel:
  7724. description: 级别
  7725. type: integer
  7726. resourcename:
  7727. description: 菜单名称
  7728. type: string
  7729. roleid:
  7730. description: 角色id
  7731. type: integer
  7732. sort:
  7733. description: 排序
  7734. type: integer
  7735. url:
  7736. description: URL
  7737. type: string
  7738. userid:
  7739. description: 用户id
  7740. type: integer
  7741. type: object
  7742. models.ErmcpRoleMenuEx:
  7743. properties:
  7744. menu:
  7745. $ref: '#/definitions/models.ErmcpRoleMenu'
  7746. description: 父级菜单
  7747. subMenu:
  7748. description: 子级菜单
  7749. items:
  7750. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  7751. type: array
  7752. type: object
  7753. models.ErmcpTaAccount:
  7754. properties:
  7755. accountid:
  7756. description: 账户id
  7757. type: integer
  7758. accountname:
  7759. description: 账户名称
  7760. type: string
  7761. currencyid:
  7762. description: 币种id
  7763. type: integer
  7764. hedgeaccountcode:
  7765. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  7766. type: string
  7767. ismain:
  7768. description: 是否主账户 0-否 1-是
  7769. type: integer
  7770. parentaccountid:
  7771. description: 父账户id
  7772. type: integer
  7773. relateduserid:
  7774. description: 关联userid
  7775. type: integer
  7776. tradefeetmpid:
  7777. description: 手续费模板id
  7778. type: integer
  7779. tradefeetmpname:
  7780. description: 手续费模板名称
  7781. type: string
  7782. trademargintmpid:
  7783. description: 保证金模板id
  7784. type: integer
  7785. trademargintmpname:
  7786. description: 保证金模板名称
  7787. type: string
  7788. traderatetmpid:
  7789. description: 汇率模板id
  7790. type: integer
  7791. traderatetmpname:
  7792. description: 汇率模板名称
  7793. type: string
  7794. tradestatus:
  7795. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7796. type: integer
  7797. userid:
  7798. description: 用户id
  7799. type: integer
  7800. type: object
  7801. models.ErmcpTaAccountEx:
  7802. properties:
  7803. mainAcc:
  7804. $ref: '#/definitions/models.ErmcpTaAccountM'
  7805. description: 主账号
  7806. subacclist:
  7807. description: 子账号列表
  7808. items:
  7809. $ref: '#/definitions/models.ErmcpTaAccount'
  7810. type: array
  7811. type: object
  7812. models.ErmcpTaAccountInfo:
  7813. properties:
  7814. accountid:
  7815. description: 资金账户ID
  7816. type: integer
  7817. accountname:
  7818. description: 账户名称
  7819. type: string
  7820. balance:
  7821. description: 期初余额
  7822. type: number
  7823. capitalbalance:
  7824. description: 本金余额[外部子账户实际出入金余额]
  7825. type: number
  7826. closepl:
  7827. description: 今日平仓盈亏
  7828. type: number
  7829. creditdecrease:
  7830. description: 今日授信减少
  7831. type: number
  7832. creditincrease:
  7833. description: 今日授信增加
  7834. type: number
  7835. curdebt:
  7836. description: 期末欠款
  7837. type: number
  7838. currencyid:
  7839. description: 货币ID
  7840. type: integer
  7841. currentbalance:
  7842. description: 期末余额
  7843. type: number
  7844. freezecharge:
  7845. description: 手续费冻结
  7846. type: number
  7847. freezemargin:
  7848. description: 冻结保证金
  7849. type: number
  7850. fromaccountid:
  7851. description: 所属上级账户
  7852. type: integer
  7853. inamount:
  7854. description: 今日入金金额(包括三方入金)
  7855. type: number
  7856. ismain:
  7857. description: 是否母账号 0:不是母账户 1:是母账户
  7858. type: integer
  7859. mortgagecredit:
  7860. description: 授信金额
  7861. type: number
  7862. oridebt:
  7863. description: 期初欠款
  7864. type: number
  7865. orifreezecharge:
  7866. description: 期初手续费冻结
  7867. type: number
  7868. orifreezemargin:
  7869. description: 期初冻结保证金
  7870. type: number
  7871. orimortgagecredit:
  7872. description: 期初授信金额
  7873. type: number
  7874. oriothercredit:
  7875. description: 期初其它授信金额
  7876. type: number
  7877. oriotherfreezemargin:
  7878. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  7879. type: number
  7880. orioutamountfreeze:
  7881. description: 期初出金冻结
  7882. type: number
  7883. oriusedmargin:
  7884. description: 期初占用保证金
  7885. type: number
  7886. othercredit:
  7887. description: 其它授信金额
  7888. type: number
  7889. othercreditdecrease:
  7890. description: 今日其它授信减少
  7891. type: number
  7892. othercreditincrease:
  7893. description: 今日其它授信增加
  7894. type: number
  7895. otherfreezemargin:
  7896. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  7897. type: number
  7898. outamount:
  7899. description: 今日出金金额(包括三方出金)
  7900. type: number
  7901. outamountfreeze:
  7902. description: 出金冻结
  7903. type: number
  7904. outthreshold:
  7905. description: 出金阈值
  7906. type: number
  7907. parentaccountid:
  7908. description: 所属根账号
  7909. type: integer
  7910. paycharge:
  7911. description: 今日手续费支出
  7912. type: number
  7913. relateduserid:
  7914. description: 关联用户
  7915. type: integer
  7916. signstatus:
  7917. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  7918. type: integer
  7919. sublevelpath:
  7920. description: 账号层级路径(逗号分隔,首尾加逗号)
  7921. type: string
  7922. taaccounttype:
  7923. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  7924. type: integer
  7925. thirdinamount:
  7926. description: 今日三方入金
  7927. type: number
  7928. thirdoutamount:
  7929. description: 今日三方出金
  7930. type: number
  7931. tradestatus:
  7932. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7933. type: integer
  7934. transferamount:
  7935. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  7936. type: number
  7937. usedmargin:
  7938. description: 占用保证金
  7939. type: number
  7940. userid:
  7941. description: 用户ID
  7942. type: integer
  7943. type: object
  7944. models.ErmcpTaAccountM:
  7945. properties:
  7946. accountid:
  7947. description: 账户id
  7948. type: integer
  7949. accountname:
  7950. description: 账户名称
  7951. type: string
  7952. currencyid:
  7953. description: 币种id
  7954. type: integer
  7955. fcid:
  7956. description: 期货公司id
  7957. type: integer
  7958. fcname:
  7959. description: 期货公司代码
  7960. type: string
  7961. hedgeaccountcode:
  7962. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  7963. type: string
  7964. ismain:
  7965. description: 是否主账户 0-否 1-是
  7966. type: integer
  7967. parentaccountid:
  7968. description: 父账户id
  7969. type: integer
  7970. relateduserid:
  7971. description: 关联userid
  7972. type: integer
  7973. tradefeetmpid:
  7974. description: 手续费模板id
  7975. type: integer
  7976. tradefeetmpname:
  7977. description: 手续费模板名称
  7978. type: string
  7979. trademargintmpid:
  7980. description: 保证金模板id
  7981. type: integer
  7982. trademargintmpname:
  7983. description: 保证金模板名称
  7984. type: string
  7985. traderatetmpid:
  7986. description: 汇率模板id
  7987. type: integer
  7988. traderatetmpname:
  7989. description: 汇率模板名称
  7990. type: string
  7991. tradestatus:
  7992. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7993. type: integer
  7994. userid:
  7995. description: 用户id
  7996. type: integer
  7997. type: object
  7998. models.ErmcpTradeConfigTMP:
  7999. properties:
  8000. areauserid:
  8001. description: 所属机构
  8002. type: integer
  8003. basiccurrencyid:
  8004. description: 基本币种ID[汇率] - 目标币种
  8005. type: integer
  8006. mainaccountid:
  8007. description: 主账户ID
  8008. type: integer
  8009. modifierid:
  8010. description: 修改人
  8011. type: integer
  8012. remark:
  8013. description: 备注
  8014. type: string
  8015. tradeconfigtmpid:
  8016. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  8017. type: integer
  8018. tradeconfigtmpname:
  8019. description: 交易配置模板名称
  8020. type: string
  8021. tradeconfigtmptype:
  8022. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  8023. type: integer
  8024. updatetime:
  8025. description: 更新时间
  8026. type: string
  8027. type: object
  8028. models.Externalexchange:
  8029. properties:
  8030. autoid:
  8031. description: AutoID - SEQ_EXTERNALEXCHANGE
  8032. type: integer
  8033. exchangefullname:
  8034. description: 外部交易所全称
  8035. type: string
  8036. exexchangecode:
  8037. description: 外部交易所代码
  8038. type: string
  8039. exexchangename:
  8040. description: 外部交易所名称(简称)
  8041. type: string
  8042. ismarketprice:
  8043. description: 是否支持市价 - 0:不支持 1:支持
  8044. type: integer
  8045. quotegear:
  8046. description: 行情档位(1-10)
  8047. type: integer
  8048. showbrokerflag:
  8049. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  8050. type: integer
  8051. updatetime:
  8052. description: 更新时间
  8053. type: string
  8054. required:
  8055. - autoid
  8056. type: object
  8057. models.Funcmenulist:
  8058. properties:
  8059. iconame:
  8060. description: 菜单图标
  8061. type: string
  8062. menutype:
  8063. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  8064. type: integer
  8065. parentcode:
  8066. description: 上级资源代码
  8067. type: string
  8068. remark:
  8069. description: 备注
  8070. type: string
  8071. resourcecode:
  8072. description: 资源代码
  8073. type: string
  8074. resourcelevel:
  8075. description: 级别 1-一级 2-二级 3-三级 4-四级
  8076. type: integer
  8077. resourcename:
  8078. description: 资源名
  8079. type: string
  8080. sort:
  8081. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  8082. type: integer
  8083. url:
  8084. description: URL
  8085. type: string
  8086. required:
  8087. - resourcecode
  8088. type: object
  8089. models.Goods:
  8090. properties:
  8091. agreeunit:
  8092. description: 合约单位
  8093. type: number
  8094. areauserid:
  8095. description: 所属机构
  8096. type: integer
  8097. auditaccountid:
  8098. description: 审核操作员账号
  8099. type: integer
  8100. audittime:
  8101. description: 审核时间
  8102. type: string
  8103. cancelaccountid:
  8104. description: 注销操作员账号
  8105. type: integer
  8106. canceltime:
  8107. description: 注销时间
  8108. type: string
  8109. closepricemode:
  8110. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8111. type: integer
  8112. closepriceparam:
  8113. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  8114. type: number
  8115. createtime:
  8116. description: 创建时间
  8117. type: string
  8118. creatorid:
  8119. description: 创建人
  8120. type: integer
  8121. currencyid:
  8122. description: 报价货币ID
  8123. type: integer
  8124. cutmode:
  8125. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  8126. type: integer
  8127. decimalplace:
  8128. description: 报价小数位
  8129. type: integer
  8130. delistingdate:
  8131. description: 商品退市时间(状态:退市) -- 已作废
  8132. type: string
  8133. delistingmode:
  8134. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  8135. type: integer
  8136. deliveryflag:
  8137. description: 交割标志 - 0:不可交割 1:可交割
  8138. type: integer
  8139. forceclosemode:
  8140. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  8141. type: integer
  8142. forceclosevalue:
  8143. description: 定期强平参数 [收益权]
  8144. type: integer
  8145. goodscode:
  8146. description: 商品代码(内部)
  8147. type: string
  8148. goodscurrencyid:
  8149. description: 合约货币ID
  8150. type: integer
  8151. goodsgroupid:
  8152. description: 所属商品组ID
  8153. type: integer
  8154. goodsid:
  8155. description: 商品ID(自增ID SEQ_GOODS)
  8156. type: integer
  8157. goodsname:
  8158. description: 商品名称
  8159. type: string
  8160. goodsquotetype:
  8161. description: '合约报价类型: 1-直接报价 2-间接报价'
  8162. type: integer
  8163. goodsstatus:
  8164. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8165. type: integer
  8166. goodstradetype:
  8167. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  8168. type: integer
  8169. goodunitid:
  8170. description: 报价单位ID
  8171. type: integer
  8172. hasquoter:
  8173. description: 是否有报价商 - 0:无报价商 1:有报价商
  8174. type: integer
  8175. hqprotecttime:
  8176. description: 行情保护时间(秒)
  8177. type: integer
  8178. innerdealmode:
  8179. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8180. type: integer
  8181. isbuylimited:
  8182. description: 是否限制建仓量 - 0:不限制 1:限制
  8183. type: integer
  8184. isvisible:
  8185. description: 游客是否可见 - 0:不可见 1:可见
  8186. type: integer
  8187. lasttradedate:
  8188. description: 最后交易日期(状态:待退市)
  8189. type: string
  8190. listingdate:
  8191. description: 交易开始日期
  8192. type: string
  8193. marketid:
  8194. description: 所属市场ID
  8195. type: integer
  8196. modifierid:
  8197. description: 修改人
  8198. type: integer
  8199. modifystatus:
  8200. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  8201. type: integer
  8202. modifytime:
  8203. description: 修改时间
  8204. type: string
  8205. outerdealmode:
  8206. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8207. type: integer
  8208. outgoodscode:
  8209. description: 商品代码(外部)
  8210. type: string
  8211. pictureurl:
  8212. description: 商品图片
  8213. type: string
  8214. qtydecimalplace:
  8215. description: 成交量小数位
  8216. type: integer
  8217. quotegear:
  8218. description: 行情档位(1-10)
  8219. type: integer
  8220. quoteminunit:
  8221. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8222. type: integer
  8223. quoteshowtype:
  8224. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  8225. type: integer
  8226. quoteshowtypeinterval:
  8227. description: 行情报价间隔时间(秒)(成交价时为0)
  8228. type: integer
  8229. remark:
  8230. description: 备注
  8231. type: string
  8232. required:
  8233. - goodscode
  8234. - goodsid
  8235. - goodsname
  8236. - marketid
  8237. type: object
  8238. models.GoodsIDAndName:
  8239. properties:
  8240. goodscode:
  8241. description: 商品代码(内部)
  8242. type: string
  8243. goodsid:
  8244. description: 商品ID(自增ID SEQ_GOODS)
  8245. type: integer
  8246. goodsname:
  8247. description: 商品名称
  8248. type: string
  8249. marketid:
  8250. description: 所属市场ID
  8251. type: integer
  8252. required:
  8253. - goodscode
  8254. - goodsid
  8255. - goodsname
  8256. - marketid
  8257. type: object
  8258. models.Goodsgroup:
  8259. properties:
  8260. agreeunit:
  8261. description: 合约单位
  8262. type: number
  8263. canshort:
  8264. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  8265. type: integer
  8266. closepricemode:
  8267. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8268. type: integer
  8269. closepriceparam:
  8270. description: 强平最新价浮动比例 - 方式为2时使用
  8271. type: number
  8272. createtime:
  8273. description: 创建时间
  8274. type: string
  8275. creatorid:
  8276. description: 创建人
  8277. type: integer
  8278. currencyid:
  8279. description: 报价货币ID
  8280. type: integer
  8281. decimalplace:
  8282. description: 报价小数位
  8283. type: integer
  8284. exercisetype:
  8285. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  8286. type: integer
  8287. exexchangeid:
  8288. description: 外部交易所ID[通道交易]
  8289. type: integer
  8290. goodsgroupid:
  8291. description: 商品组ID(自增ID)
  8292. type: integer
  8293. goodsgroupname:
  8294. description: 商品组名称
  8295. type: string
  8296. goodsgroupstatus:
  8297. description: 商品组状态 - 1:正常 2:注销
  8298. type: integer
  8299. goodunitid:
  8300. description: 报价单位ID
  8301. type: integer
  8302. innerdealmode:
  8303. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8304. type: integer
  8305. isbuylimited:
  8306. description: 是否限制建仓量 - 0:不限制 1:限制
  8307. type: integer
  8308. marketid:
  8309. description: 所属市场ID
  8310. type: integer
  8311. modifierid:
  8312. description: 修改人
  8313. type: integer
  8314. modifytime:
  8315. description: 修改时间
  8316. type: string
  8317. outerdealmode:
  8318. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8319. type: integer
  8320. outergroupcode:
  8321. description: 外部商品组代码[通道交易]
  8322. type: string
  8323. premiumdecimalplace:
  8324. description: 权利金小数位[场外期权]
  8325. type: integer
  8326. premiumspreadalgorithm:
  8327. description: 权利金点差方式[场外期权] 1:比率 2:固定
  8328. type: integer
  8329. premiumspreadvalue:
  8330. description: 权利金点差值[场外期权]
  8331. type: number
  8332. qtydecimalplace:
  8333. description: 成交量小数位
  8334. type: integer
  8335. quotegear:
  8336. description: 行情档位(1-10)
  8337. type: integer
  8338. quoteminunit:
  8339. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8340. type: integer
  8341. quoterid:
  8342. description: 报价商ID[场外期权]
  8343. type: integer
  8344. quotesourcegroupid:
  8345. description: 所属行情源分组ID[参考行情市场用\通道交易]
  8346. type: integer
  8347. syncgoodsqty:
  8348. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  8349. type: integer
  8350. required:
  8351. - goodsgroupid
  8352. - goodsgroupname
  8353. - goodsgroupstatus
  8354. - marketid
  8355. type: object
  8356. models.Goodssortbypreposition:
  8357. properties:
  8358. goodscode:
  8359. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  8360. type: string
  8361. goodsgroupcode:
  8362. description: 品种代码
  8363. type: string
  8364. prepositionqty:
  8365. description: 昨持仓量
  8366. type: integer
  8367. sortindex:
  8368. description: 排序
  8369. type: integer
  8370. tradedate:
  8371. description: 交易日
  8372. type: string
  8373. updatetime:
  8374. description: 更新时间
  8375. type: string
  8376. required:
  8377. - goodscode
  8378. - tradedate
  8379. type: object
  8380. models.Hedgeinnerholderdetail:
  8381. properties:
  8382. accountid:
  8383. description: 账号ID
  8384. type: integer
  8385. buyorsell:
  8386. description: 方向 - 0:买 1:卖
  8387. type: integer
  8388. freezeqty:
  8389. description: 冻结数量 - 按单平使用
  8390. type: integer
  8391. goodsid:
  8392. description: 商品ID
  8393. type: integer
  8394. holderamount:
  8395. description: 持仓金额 [商品币种]
  8396. type: number
  8397. holderdays:
  8398. description: 剩余冻结天数
  8399. type: integer
  8400. holderprice:
  8401. description: 持仓价格
  8402. type: number
  8403. holderqty:
  8404. description: 持仓数量
  8405. type: integer
  8406. marketid:
  8407. description: 市场ID
  8408. type: integer
  8409. openprice:
  8410. description: 建仓价格
  8411. type: number
  8412. openqty:
  8413. description: 建仓数量
  8414. type: integer
  8415. parentaccountid:
  8416. description: 所属母账户
  8417. type: integer
  8418. releaseamount:
  8419. description: 释放持仓金额[商品币种]
  8420. type: number
  8421. tradeamount:
  8422. description: 成交金额[账户]
  8423. type: number
  8424. tradedate:
  8425. description: 交易日(yyyyMMdd)
  8426. type: string
  8427. tradeid:
  8428. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8429. type: string
  8430. tradetime:
  8431. description: 交易时间
  8432. type: string
  8433. required:
  8434. - buyorsell
  8435. - tradeid
  8436. type: object
  8437. models.Hedgemarketopenlog:
  8438. properties:
  8439. accountid:
  8440. description: 资金账号[外部母账户]
  8441. type: integer
  8442. fcname:
  8443. description: 期货公司名称
  8444. type: string
  8445. handlestatus:
  8446. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  8447. type: integer
  8448. marketid:
  8449. description: 市场ID
  8450. type: integer
  8451. status:
  8452. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  8453. type: integer
  8454. tradedate:
  8455. description: 交易日(yyyyMMdd)
  8456. type: string
  8457. updatetime:
  8458. description: 更新时间
  8459. type: string
  8460. required:
  8461. - accountid
  8462. type: object
  8463. models.HsbyBuyMyPayOrder:
  8464. properties:
  8465. agreeunit:
  8466. description: 合约单位
  8467. type: number
  8468. buyaccountid:
  8469. description: 买方账号ID[报价币种]
  8470. type: integer
  8471. buyorderid:
  8472. description: 买方委托单号
  8473. type: string
  8474. createtime:
  8475. description: 创建时间
  8476. type: string
  8477. currencysign:
  8478. description: 货币符号
  8479. type: string
  8480. decimalplace:
  8481. description: 报价小数位
  8482. type: integer
  8483. goodscode:
  8484. description: 商品代码(内部)
  8485. type: string
  8486. goodsid:
  8487. description: 商品ID
  8488. type: integer
  8489. goodsname:
  8490. description: 商品名称
  8491. type: string
  8492. marketid:
  8493. description: 市场ID
  8494. type: integer
  8495. offamount:
  8496. description: 优惠金额
  8497. type: number
  8498. originalamount:
  8499. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  8500. type: number
  8501. payamount:
  8502. description: 支付金额 = TradeAmount + TradeCharge
  8503. type: number
  8504. payflag:
  8505. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  8506. type: integer
  8507. paylimitedtime:
  8508. description: 支付期限
  8509. type: string
  8510. paytime:
  8511. description: 付款时间
  8512. type: string
  8513. picurls1:
  8514. description: 预售商品介绍图片[多张用逗号分隔]
  8515. type: string
  8516. picurls2:
  8517. description: 挂牌商品介绍图片[多张用逗号分隔]
  8518. type: string
  8519. sellaccountid:
  8520. description: 卖方账号ID[报价币种]
  8521. type: integer
  8522. sellorderid:
  8523. description: 卖方委托单号
  8524. type: string
  8525. tradeamount:
  8526. description: 成交金额
  8527. type: number
  8528. tradecharge:
  8529. description: 成交手续费(买方)
  8530. type: number
  8531. tradedate:
  8532. description: 交易日(yyyyMMdd)
  8533. type: string
  8534. tradeid:
  8535. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8536. type: string
  8537. trademode:
  8538. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8539. type: integer
  8540. tradeprice:
  8541. description: 成交价格
  8542. type: number
  8543. tradeqty:
  8544. description: 成交数量
  8545. type: integer
  8546. vendorname1:
  8547. description: 预售商品供应商名称
  8548. type: string
  8549. vendorname2:
  8550. description: 挂牌商品供应商名称
  8551. type: string
  8552. required:
  8553. - goodscode
  8554. - goodsname
  8555. - tradeid
  8556. - trademode
  8557. type: object
  8558. models.HsbyBuyMyTradeDetail:
  8559. properties:
  8560. accountid:
  8561. description: 账户ID[报价币种]
  8562. type: integer
  8563. agreeunit:
  8564. description: 合约单位
  8565. type: number
  8566. amount:
  8567. description: 金额 = 价格 * 数量 * 合约单位
  8568. type: number
  8569. buyorsell:
  8570. description: 买卖 - 0:买 1:卖
  8571. type: integer
  8572. currencysign:
  8573. description: 货币符号
  8574. type: string
  8575. decimalplace:
  8576. description: 报价小数位
  8577. type: integer
  8578. goodscode:
  8579. description: 商品代码(内部)
  8580. type: string
  8581. goodsid:
  8582. description: 商品ID
  8583. type: integer
  8584. goodsname:
  8585. description: 商品名称
  8586. type: string
  8587. marketid:
  8588. description: 市场ID
  8589. type: integer
  8590. orderamount:
  8591. description: 委托金额
  8592. type: number
  8593. orderid:
  8594. description: 单号(成交单号)
  8595. type: string
  8596. picurls1:
  8597. description: 预售商品介绍图片[多张用逗号分隔]
  8598. type: string
  8599. picurls2:
  8600. description: 挂牌商品介绍图片[多张用逗号分隔]
  8601. type: string
  8602. price:
  8603. description: 价格
  8604. type: number
  8605. qty:
  8606. description: 数量
  8607. type: integer
  8608. time:
  8609. description: 时间
  8610. type: string
  8611. trademode:
  8612. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8613. type: integer
  8614. vendorname1:
  8615. description: 预售商品供应商名称
  8616. type: string
  8617. vendorname2:
  8618. description: 挂牌商品供应商名称
  8619. type: string
  8620. required:
  8621. - accountid
  8622. - buyorsell
  8623. - goodscode
  8624. - goodsid
  8625. - goodsname
  8626. - marketid
  8627. - orderid
  8628. - qty
  8629. - time
  8630. - trademode
  8631. type: object
  8632. models.HsbyGoodsOrderDetail:
  8633. properties:
  8634. buyorsell:
  8635. description: 买卖 - 0:买 1:卖
  8636. type: integer
  8637. currencysign:
  8638. description: 货币符号
  8639. type: string
  8640. customername:
  8641. description: 客户名称(企业名称),已脱敏
  8642. type: string
  8643. enableqty:
  8644. description: 可用数量
  8645. type: integer
  8646. goodunit:
  8647. description: 报价单位
  8648. type: string
  8649. orderid:
  8650. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8651. type: string
  8652. orderprice:
  8653. description: 委托价格
  8654. type: number
  8655. ordertime:
  8656. description: 委托时间
  8657. type: string
  8658. required:
  8659. - buyorsell
  8660. - orderid
  8661. - ordertime
  8662. type: object
  8663. models.HsbyListingGoodsDetail:
  8664. properties:
  8665. agreeunit:
  8666. description: 合约单位
  8667. type: number
  8668. buymaxqty:
  8669. description: 购买上限 [71] - 0为不限
  8670. type: integer
  8671. currency:
  8672. description: 货币
  8673. type: string
  8674. currencysign:
  8675. description: 货币符号
  8676. type: string
  8677. decimalplace:
  8678. description: 报价小数位
  8679. type: integer
  8680. desccityid:
  8681. description: 目的地(市)ID
  8682. type: integer
  8683. descprovinceid:
  8684. description: 目的地(省)ID
  8685. type: integer
  8686. goodscode:
  8687. description: 商品代码(内部)
  8688. type: string
  8689. goodsdesc:
  8690. description: 商品详情
  8691. type: string
  8692. goodsid:
  8693. description: 商品ID(自增ID SEQ_GOODS)
  8694. type: integer
  8695. goodsname:
  8696. description: 商品名称
  8697. type: string
  8698. goodsprice:
  8699. description: 商品价格
  8700. type: number
  8701. hotindex:
  8702. description: 景点热度
  8703. type: integer
  8704. last:
  8705. description: 现价
  8706. type: number
  8707. limitdown:
  8708. description: 跌停价
  8709. type: number
  8710. limitup:
  8711. description: 涨停价
  8712. type: number
  8713. lotsize:
  8714. description: 手数最小变动单位
  8715. type: integer
  8716. marketid:
  8717. description: 所属市场ID
  8718. type: integer
  8719. picurls:
  8720. description: 介绍图片[多张用逗号分隔]
  8721. type: string
  8722. quoteminunit:
  8723. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8724. type: integer
  8725. stepvalue:
  8726. description: 价格最小变动单位
  8727. type: number
  8728. trademode:
  8729. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8730. type: integer
  8731. vendorattr:
  8732. description: 供应商附件(多张,逗号分隔)
  8733. type: string
  8734. vendorname:
  8735. description: 供应商名称
  8736. type: string
  8737. vendorphone:
  8738. description: 供应商客服电话
  8739. type: string
  8740. videourls:
  8741. description: 介绍视频[多张用逗号分隔]
  8742. type: string
  8743. required:
  8744. - goodscode
  8745. - goodsid
  8746. - goodsname
  8747. - marketid
  8748. - trademode
  8749. type: object
  8750. models.HsbyMarketGoods:
  8751. properties:
  8752. accountid:
  8753. description: 账户ID[报价币种]
  8754. type: integer
  8755. agreeunit:
  8756. description: 合约单位
  8757. type: number
  8758. buyorsell:
  8759. description: 买卖 - 0:买 1:卖
  8760. type: integer
  8761. categoryid:
  8762. description: 类别ID(WRCATEGORY)
  8763. type: integer
  8764. currency:
  8765. description: 货币
  8766. type: string
  8767. currencysign:
  8768. description: 货币符号
  8769. type: string
  8770. customername:
  8771. description: 卖家名称
  8772. type: string
  8773. decimalplace:
  8774. description: 报价小数位
  8775. type: integer
  8776. goodscode:
  8777. description: 商品代码(内部)
  8778. type: string
  8779. goodsid:
  8780. description: 商品ID
  8781. type: integer
  8782. goodsname:
  8783. description: 商品名称
  8784. type: string
  8785. goodsprice:
  8786. description: 商品价格
  8787. type: number
  8788. hascoupon:
  8789. description: 是否可用优惠卷
  8790. type: boolean
  8791. hotindex:
  8792. description: 景点热度
  8793. type: integer
  8794. marketid:
  8795. description: 市场ID
  8796. type: integer
  8797. orderid:
  8798. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8799. type: string
  8800. orderprice:
  8801. description: 委托价格
  8802. type: number
  8803. orderstatus:
  8804. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  8805. type: integer
  8806. picurls:
  8807. description: 介绍图片[多张用逗号分隔]
  8808. type: string
  8809. quoteminunit:
  8810. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8811. type: integer
  8812. sellUserID:
  8813. description: 卖方UserID
  8814. type: integer
  8815. trademode:
  8816. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8817. type: integer
  8818. videourls:
  8819. description: 介绍视频[多张用逗号分隔]
  8820. type: string
  8821. required:
  8822. - accountid
  8823. - buyorsell
  8824. - goodscode
  8825. - goodsid
  8826. - goodsname
  8827. - marketid
  8828. - orderid
  8829. - trademode
  8830. type: object
  8831. models.HsbyMarketGoodsDetail:
  8832. properties:
  8833. accountid:
  8834. description: 账户ID[报价币种]
  8835. type: integer
  8836. agreeunit:
  8837. description: 合约单位
  8838. type: number
  8839. buymaxqty:
  8840. description: 购买上限 [71] - 0为不限
  8841. type: integer
  8842. buyorsell:
  8843. description: 买卖 - 0:买 1:卖
  8844. type: integer
  8845. cancelqty:
  8846. description: 撤单数量
  8847. type: integer
  8848. categoryid:
  8849. description: 类别ID(WRCATEGORY)
  8850. type: integer
  8851. currency:
  8852. description: 货币
  8853. type: string
  8854. currencysign:
  8855. description: 货币符号
  8856. type: string
  8857. customername:
  8858. description: 卖家名称
  8859. type: string
  8860. decimalplace:
  8861. description: 报价小数位
  8862. type: integer
  8863. goodscode:
  8864. description: 商品代码(内部)
  8865. type: string
  8866. goodsdesc:
  8867. description: 商品详情
  8868. type: string
  8869. goodsid:
  8870. description: 商品ID
  8871. type: integer
  8872. goodsname:
  8873. description: 商品名称
  8874. type: string
  8875. goodsprice:
  8876. description: 商品价格
  8877. type: number
  8878. hotindex:
  8879. description: 景点热度
  8880. type: integer
  8881. lotsize:
  8882. description: 手数最小变动单位
  8883. type: integer
  8884. marketid:
  8885. description: 市场ID
  8886. type: integer
  8887. orderid:
  8888. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8889. type: string
  8890. orderprice:
  8891. description: 委托价格
  8892. type: number
  8893. orderqty:
  8894. description: 委托数量
  8895. type: integer
  8896. orderstatus:
  8897. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  8898. type: integer
  8899. picurls:
  8900. description: 介绍图片[多张用逗号分隔]
  8901. type: string
  8902. quoteminunit:
  8903. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8904. type: integer
  8905. sellUserID:
  8906. description: 卖方UserID
  8907. type: integer
  8908. trademode:
  8909. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8910. type: integer
  8911. tradeqty:
  8912. description: 成交数量
  8913. type: integer
  8914. vendorattr:
  8915. description: 供应商附件(多张,逗号分隔)
  8916. type: string
  8917. vendorname:
  8918. description: 供应商名称
  8919. type: string
  8920. vendorphone:
  8921. description: 供应商客服电话
  8922. type: string
  8923. videourls:
  8924. description: 介绍视频[多张用逗号分隔]
  8925. type: string
  8926. required:
  8927. - accountid
  8928. - buyorsell
  8929. - goodscode
  8930. - goodsid
  8931. - goodsname
  8932. - marketid
  8933. - orderid
  8934. - orderqty
  8935. - trademode
  8936. type: object
  8937. models.HsbyMarketInfo:
  8938. properties:
  8939. marketid:
  8940. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8941. type: integer
  8942. marketname:
  8943. description: 市场名称
  8944. type: string
  8945. marketstatus:
  8946. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8947. type: integer
  8948. trademode:
  8949. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8950. type: integer
  8951. required:
  8952. - marketid
  8953. - marketstatus
  8954. - trademode
  8955. type: object
  8956. models.HsbyMyGoods:
  8957. properties:
  8958. accountid:
  8959. description: 账号Id
  8960. type: integer
  8961. agreeunit:
  8962. description: 合约单位
  8963. type: number
  8964. buyaverageprice:
  8965. description: 持仓均价
  8966. type: number
  8967. buycurholderamount:
  8968. description: 买当前持仓总金额[商品币种]
  8969. type: number
  8970. buycurpositionqty:
  8971. description: 买当前持仓总数量
  8972. type: integer
  8973. buymaxqty:
  8974. description: 购买上限 [71] - 0为不限
  8975. type: integer
  8976. currencysign:
  8977. description: 货币符号
  8978. type: string
  8979. decimalplace:
  8980. description: 报价小数位
  8981. type: integer
  8982. enableqty:
  8983. description: 可用数量
  8984. type: integer
  8985. goodscode:
  8986. description: 商品代码(内部)
  8987. type: string
  8988. goodsid:
  8989. description: 商品Id
  8990. type: integer
  8991. goodsname:
  8992. description: 商品名称
  8993. type: string
  8994. goodsprice:
  8995. description: 商品价格
  8996. type: number
  8997. goodsstatus:
  8998. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8999. type: integer
  9000. last:
  9001. description: 现价(仅使用于挂牌点选)
  9002. type: number
  9003. limitdown:
  9004. description: 跌停价(仅使用于挂牌点选)
  9005. type: number
  9006. limitup:
  9007. description: 涨停价(仅使用于挂牌点选)
  9008. type: number
  9009. lotsize:
  9010. description: 手数最小变动单位
  9011. type: integer
  9012. marketid:
  9013. description: 所属市场ID
  9014. type: integer
  9015. picurls:
  9016. description: 介绍图片[多张用逗号分隔]
  9017. type: string
  9018. quoteminunit:
  9019. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9020. type: integer
  9021. stepvalue:
  9022. description: 价格最小变动单位
  9023. type: number
  9024. trademode:
  9025. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9026. type: integer
  9027. required:
  9028. - accountid
  9029. - goodscode
  9030. - goodsid
  9031. - goodsname
  9032. - marketid
  9033. - trademode
  9034. type: object
  9035. models.HsbyMyPackage:
  9036. properties:
  9037. accountid:
  9038. description: 账户ID
  9039. type: integer
  9040. address:
  9041. description: 提货人详细地址
  9042. type: string
  9043. agreeunit:
  9044. description: 合约单位
  9045. type: number
  9046. amount:
  9047. description: 提货金额
  9048. type: number
  9049. auditer:
  9050. description: 审核人
  9051. type: integer
  9052. audittime:
  9053. description: 审核时间
  9054. type: string
  9055. averageprice:
  9056. description: 均价
  9057. type: number
  9058. cardnum:
  9059. description: 提货人证件号码
  9060. type: string
  9061. cardtypeid:
  9062. description: 提货人证件类型
  9063. type: integer
  9064. checkremark:
  9065. description: 审核备注
  9066. type: string
  9067. currencysign:
  9068. description: 货币符号
  9069. type: string
  9070. decimalplace:
  9071. description: 报价小数位
  9072. type: integer
  9073. goodscode:
  9074. description: 商品代码(内部)
  9075. type: string
  9076. goodsid:
  9077. description: 商品ID
  9078. type: integer
  9079. goodsname:
  9080. description: 商品名称
  9081. type: string
  9082. handlestatus:
  9083. description: 处理状态
  9084. type: integer
  9085. marketid:
  9086. description: 市场ID
  9087. type: integer
  9088. phonenum:
  9089. description: 提货人联系方式
  9090. type: string
  9091. picurls:
  9092. description: 介绍图片[多张用逗号分隔]
  9093. type: string
  9094. qty:
  9095. description: 提货数量
  9096. type: number
  9097. recivername:
  9098. description: 提货人姓名
  9099. type: string
  9100. reqtime:
  9101. description: 更新时间
  9102. type: string
  9103. takemode:
  9104. description: 提货方式 - 2:自提 3:配送
  9105. type: integer
  9106. takeorderid:
  9107. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  9108. type: string
  9109. takeorderstatus:
  9110. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  9111. type: integer
  9112. takeremark:
  9113. description: 提货备注
  9114. type: string
  9115. tradedate:
  9116. description: 交易日(yyyyMMdd)
  9117. type: string
  9118. trademode:
  9119. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9120. type: integer
  9121. userid:
  9122. description: 用户ID
  9123. type: integer
  9124. vendorname:
  9125. description: 供应商名称
  9126. type: string
  9127. required:
  9128. - goodscode
  9129. - goodsname
  9130. - takeorderid
  9131. - trademode
  9132. type: object
  9133. models.HsbyPreGoods:
  9134. properties:
  9135. agreeunit:
  9136. description: 合约单位
  9137. type: number
  9138. currency:
  9139. description: 货币
  9140. type: string
  9141. currencysign:
  9142. description: 货币符号
  9143. type: string
  9144. decimalplace:
  9145. description: 报价小数位
  9146. type: integer
  9147. desccityid:
  9148. description: 目的地(市)
  9149. type: integer
  9150. descprovinceid:
  9151. description: 目的地(省)
  9152. type: integer
  9153. enableqty:
  9154. description: 剩余数量
  9155. type: integer
  9156. goodscode:
  9157. description: 商品代码(内部)
  9158. type: string
  9159. goodsid:
  9160. description: 商品ID(自增ID SEQ_GOODS)
  9161. type: integer
  9162. goodsname:
  9163. description: 商品名称
  9164. type: string
  9165. goodsstatus:
  9166. description: 商品状态- 2:未上市 3:上市
  9167. type: integer
  9168. lasttradedate:
  9169. description: 最后交易日期(状态:待退市)
  9170. type: string
  9171. listingdate:
  9172. description: 交易开始日期
  9173. type: string
  9174. marketid:
  9175. description: 所属市场ID
  9176. type: integer
  9177. picurls:
  9178. description: 介绍图片[多张用逗号分隔]
  9179. type: string
  9180. presaledqty:
  9181. description: 已预售量(预售结束时更新)
  9182. type: integer
  9183. presaleqty:
  9184. description: 预售数量
  9185. type: integer
  9186. quoteminunit:
  9187. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9188. type: integer
  9189. refprice:
  9190. description: 参考价格[一口价]
  9191. type: number
  9192. relatedgoodsid:
  9193. description: 关联交易合约ID
  9194. type: integer
  9195. trademode:
  9196. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9197. type: integer
  9198. videourls:
  9199. description: 介绍视频[多张用逗号分隔]
  9200. type: string
  9201. required:
  9202. - goodscode
  9203. - goodsid
  9204. - goodsname
  9205. - marketid
  9206. - trademode
  9207. type: object
  9208. models.HsbyPreGoodsDetail:
  9209. properties:
  9210. agreeunit:
  9211. description: 合约单位
  9212. type: number
  9213. buymaxqty:
  9214. description: 购买上限 [71] - 0为不限
  9215. type: integer
  9216. currency:
  9217. description: 货币
  9218. type: string
  9219. currencysign:
  9220. description: 货币符号
  9221. type: string
  9222. customername:
  9223. description: 发行单位
  9224. type: string
  9225. decimalplace:
  9226. description: 报价小数位
  9227. type: integer
  9228. desccityid:
  9229. description: 目的地(市)ID
  9230. type: integer
  9231. descprovinceid:
  9232. description: 目的地(省)ID
  9233. type: integer
  9234. enableqty:
  9235. description: 剩余数量
  9236. type: integer
  9237. goodscode:
  9238. description: 商品代码(内部)
  9239. type: string
  9240. goodsdesc:
  9241. description: 商品详情
  9242. type: string
  9243. goodsid:
  9244. description: 商品ID(自增ID SEQ_GOODS)
  9245. type: integer
  9246. goodsname:
  9247. description: 商品名称
  9248. type: string
  9249. goodsstatus:
  9250. description: 商品状态- 2:未上市 3:上市
  9251. type: integer
  9252. goodunit:
  9253. description: 报价单位
  9254. type: string
  9255. lasttradedate:
  9256. description: 最后交易日期(状态:待退市)
  9257. type: string
  9258. listingdate:
  9259. description: 交易开始日期
  9260. type: string
  9261. lotsize:
  9262. description: 手数最小变动单位
  9263. type: integer
  9264. marketid:
  9265. description: 所属市场ID
  9266. type: integer
  9267. picurls:
  9268. description: 介绍图片[多张用逗号分隔]
  9269. type: string
  9270. presaledqty:
  9271. description: 已预售量(预售结束时更新)
  9272. type: integer
  9273. presaleqty:
  9274. description: 预售数量
  9275. type: integer
  9276. quoteminunit:
  9277. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9278. type: integer
  9279. refprice:
  9280. description: 参考价格[一口价]
  9281. type: number
  9282. relatedgoodsid:
  9283. description: 关联交易合约ID
  9284. type: integer
  9285. stepvalue:
  9286. description: 价格最小变动单位
  9287. type: number
  9288. trademode:
  9289. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9290. type: integer
  9291. vendorattr:
  9292. description: 供应商附件(多张,逗号分隔)
  9293. type: string
  9294. vendorname:
  9295. description: 供应商名称
  9296. type: string
  9297. vendorphone:
  9298. description: 供应商客服电话
  9299. type: string
  9300. videourls:
  9301. description: 介绍视频[多张用逗号分隔]
  9302. type: string
  9303. required:
  9304. - goodscode
  9305. - goodsid
  9306. - goodsname
  9307. - marketid
  9308. - trademode
  9309. type: object
  9310. models.HsbySellCollectionOrder:
  9311. properties:
  9312. agreeunit:
  9313. description: 合约单位
  9314. type: number
  9315. buyaccountid:
  9316. description: 买方账号ID[报价币种]
  9317. type: integer
  9318. buyorderid:
  9319. description: 买方委托单号
  9320. type: string
  9321. createtime:
  9322. description: 创建时间
  9323. type: string
  9324. currencysign:
  9325. description: 货币符号
  9326. type: string
  9327. decimalplace:
  9328. description: 报价小数位
  9329. type: integer
  9330. goodscode:
  9331. description: 商品代码(内部)
  9332. type: string
  9333. goodsid:
  9334. description: 商品ID
  9335. type: integer
  9336. goodsname:
  9337. description: 商品名称
  9338. type: string
  9339. marketid:
  9340. description: 市场ID
  9341. type: integer
  9342. offamount:
  9343. description: 优惠金额
  9344. type: number
  9345. payamount:
  9346. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  9347. type: number
  9348. payflag:
  9349. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  9350. type: integer
  9351. paylimitedtime:
  9352. description: 支付期限
  9353. type: string
  9354. paytime:
  9355. description: 付款时间
  9356. type: string
  9357. picurls:
  9358. description: 商品介绍图片[多张用逗号分隔]
  9359. type: string
  9360. sellaccountid:
  9361. description: 卖方账号ID[报价币种]
  9362. type: integer
  9363. sellorderid:
  9364. description: 卖方委托单号
  9365. type: string
  9366. tradeamount:
  9367. description: 成交金额
  9368. type: number
  9369. tradecharge:
  9370. description: 成交手续费(买方)
  9371. type: number
  9372. tradedate:
  9373. description: 交易日(yyyyMMdd)
  9374. type: string
  9375. tradeid:
  9376. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9377. type: string
  9378. trademode:
  9379. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9380. type: integer
  9381. tradeprice:
  9382. description: 成交价格
  9383. type: number
  9384. tradeqty:
  9385. description: 成交数量
  9386. type: integer
  9387. required:
  9388. - goodscode
  9389. - goodsname
  9390. - tradeid
  9391. - trademode
  9392. type: object
  9393. models.HsbySellMyDetail:
  9394. properties:
  9395. accountid:
  9396. description: 账户ID[报价币种]
  9397. type: integer
  9398. agreeunit:
  9399. description: 合约单位
  9400. type: number
  9401. buyorsell:
  9402. description: 买卖 - 0:买 1:卖
  9403. type: integer
  9404. currencysign:
  9405. description: 货币符号
  9406. type: string
  9407. decimalplace:
  9408. description: 报价小数位
  9409. type: integer
  9410. goodscode:
  9411. description: 商品代码(内部)
  9412. type: string
  9413. goodsid:
  9414. description: 商品ID
  9415. type: integer
  9416. goodsname:
  9417. description: 商品名称
  9418. type: string
  9419. marketid:
  9420. description: 市场ID
  9421. type: integer
  9422. orderid:
  9423. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  9424. type: string
  9425. ordertype:
  9426. description: 单据类型:0 - 发布中, 1 - 已完成
  9427. type: integer
  9428. picurls:
  9429. description: 介绍图片[多张用逗号分隔]
  9430. type: string
  9431. price:
  9432. description: 价格
  9433. type: number
  9434. qty:
  9435. description: 数量
  9436. type: integer
  9437. time:
  9438. description: 时间
  9439. type: string
  9440. trademode:
  9441. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9442. type: integer
  9443. vendorname:
  9444. description: 供应商名称
  9445. type: string
  9446. required:
  9447. - accountid
  9448. - buyorsell
  9449. - goodscode
  9450. - goodsid
  9451. - goodsname
  9452. - marketid
  9453. - orderid
  9454. - time
  9455. - trademode
  9456. type: object
  9457. models.HsbyTopGoods:
  9458. properties:
  9459. agreeunit:
  9460. description: 合约单位
  9461. type: number
  9462. currency:
  9463. description: 货币
  9464. type: string
  9465. currencysign:
  9466. description: 货币符号
  9467. type: string
  9468. decimalplace:
  9469. description: 报价小数位
  9470. type: integer
  9471. desccityid:
  9472. description: 目的地(市)
  9473. type: integer
  9474. descprovinceid:
  9475. description: 目的地(省)
  9476. type: integer
  9477. goodscode:
  9478. description: 商品代码(内部)
  9479. type: string
  9480. goodsid:
  9481. description: 商品ID(自增ID SEQ_GOODS)
  9482. type: integer
  9483. goodsname:
  9484. description: 商品名称
  9485. type: string
  9486. hotindex:
  9487. description: 景点热度
  9488. type: integer
  9489. last:
  9490. description: 现价
  9491. type: number
  9492. marketid:
  9493. description: 所属市场ID
  9494. type: integer
  9495. picurls:
  9496. description: 介绍图片[多张用逗号分隔]
  9497. type: string
  9498. quoteminunit:
  9499. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9500. type: integer
  9501. trademode:
  9502. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9503. type: integer
  9504. videourls:
  9505. description: 介绍视频[多张用逗号分隔]
  9506. type: string
  9507. required:
  9508. - goodscode
  9509. - goodsid
  9510. - goodsname
  9511. - marketid
  9512. - trademode
  9513. type: object
  9514. models.HybsMyBuyOrderDetail:
  9515. properties:
  9516. accountid:
  9517. description: 账户ID[报价币种]
  9518. type: integer
  9519. agreeunit:
  9520. description: 合约单位
  9521. type: number
  9522. buyorsell:
  9523. description: 买卖 - 0:买 1:卖
  9524. type: integer
  9525. cancelqty:
  9526. description: 撤单数量
  9527. type: integer
  9528. currencysign:
  9529. description: 货币符号
  9530. type: string
  9531. decimalplace:
  9532. description: 报价小数位
  9533. type: integer
  9534. goodscode:
  9535. description: 商品代码(内部)
  9536. type: string
  9537. goodsid:
  9538. description: 商品ID
  9539. type: integer
  9540. goodsname:
  9541. description: 商品名称
  9542. type: string
  9543. listingselecttype:
  9544. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  9545. type: integer
  9546. marketid:
  9547. description: 市场ID
  9548. type: integer
  9549. mybuystatus:
  9550. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  9551. type: integer
  9552. orderamount:
  9553. description: 委托金额
  9554. type: number
  9555. orderid:
  9556. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9557. type: string
  9558. orderprice:
  9559. description: 委托价格
  9560. type: number
  9561. orderqty:
  9562. description: 委托数量
  9563. type: integer
  9564. orderstatus:
  9565. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  9566. type: integer
  9567. ordertime:
  9568. description: 委托时间
  9569. type: string
  9570. picurls1:
  9571. description: 预售商品介绍图片[多张用逗号分隔]
  9572. type: string
  9573. picurls2:
  9574. description: 挂牌商品介绍图片[多张用逗号分隔]
  9575. type: string
  9576. trademode:
  9577. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9578. type: integer
  9579. tradeqty:
  9580. description: 成交数量
  9581. type: integer
  9582. vendorname1:
  9583. description: 预售商品供应商名称
  9584. type: string
  9585. vendorname2:
  9586. description: 挂牌商品供应商名称
  9587. type: string
  9588. required:
  9589. - accountid
  9590. - buyorsell
  9591. - goodscode
  9592. - goodsid
  9593. - goodsname
  9594. - marketid
  9595. - orderid
  9596. - orderqty
  9597. - ordertime
  9598. - trademode
  9599. type: object
  9600. models.Loginaccount:
  9601. properties:
  9602. accountname:
  9603. description: 账户名称
  9604. type: string
  9605. canoutin:
  9606. description: 是否可出入金 - 0:不可 1:可
  9607. type: integer
  9608. clientroleid:
  9609. description: 终端角色ID
  9610. type: integer
  9611. haslogined:
  9612. description: 是否已登录 - 0:未登录 1:已登录
  9613. type: integer
  9614. hasupdatedpwd:
  9615. description: 是否已更改密码 - 0:未修改 1:已修改
  9616. type: integer
  9617. lastloginip:
  9618. description: 最新登录地址
  9619. type: string
  9620. lastloginmode:
  9621. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  9622. type: integer
  9623. lastloginremark:
  9624. description: 最新登录描述
  9625. type: string
  9626. lastlogintime:
  9627. description: 最新登录时间
  9628. type: string
  9629. logincode:
  9630. description: 登录代码
  9631. type: string
  9632. loginfailnum:
  9633. description: 连续登录失败次数(登录成功时清零)
  9634. type: integer
  9635. loginid:
  9636. description: 登陆账号
  9637. type: integer
  9638. loginport:
  9639. description: 最新登录端口
  9640. type: integer
  9641. loginstatus:
  9642. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  9643. type: integer
  9644. loginusertype:
  9645. description: 登录账号类型 - 1:投资者 2:机构交易员
  9646. type: integer
  9647. mobile:
  9648. description: 手机号码(加密存储)
  9649. type: string
  9650. modifierid:
  9651. description: 修改人
  9652. type: integer
  9653. modifysrc:
  9654. description: 审核来源 - 1:管理端 2:终端
  9655. type: integer
  9656. modifytime:
  9657. description: 修改时间
  9658. type: string
  9659. password:
  9660. description: 登陆密码
  9661. type: string
  9662. pwdwrongcount:
  9663. description: 密码错误次数
  9664. type: integer
  9665. relateduserid:
  9666. description: 关联用户ID(机构)
  9667. type: integer
  9668. taaccountrighttype:
  9669. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  9670. type: integer
  9671. unfreezetime:
  9672. description: 账户解冻时间
  9673. type: string
  9674. userid:
  9675. description: 用户ID
  9676. type: integer
  9677. required:
  9678. - loginid
  9679. type: object
  9680. models.MainAccountInfo:
  9681. properties:
  9682. accountid:
  9683. description: 账号id
  9684. type: integer
  9685. accountname:
  9686. description: 账号名称(taaccount表中的名称)
  9687. type: string
  9688. appid:
  9689. description: AppID
  9690. type: string
  9691. authcode:
  9692. description: 授权码
  9693. type: string
  9694. brokerid:
  9695. description: 经纪商id
  9696. type: string
  9697. fcid:
  9698. description: 期货公司id
  9699. type: integer
  9700. fcname:
  9701. description: 期货公司代码
  9702. type: string
  9703. hedgeaccountcode:
  9704. description: 外部账号代码(主账号登录代码)
  9705. type: string
  9706. hedgeaccountpwd:
  9707. description: 密码
  9708. type: string
  9709. ismain:
  9710. description: 是否主账号
  9711. type: integer
  9712. relateduserid:
  9713. description: 关联用户id
  9714. type: integer
  9715. userid:
  9716. description: 关联用户id
  9717. type: integer
  9718. type: object
  9719. models.Market:
  9720. properties:
  9721. auctionwrtype:
  9722. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  9723. type: integer
  9724. canacceptquote:
  9725. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  9726. type: integer
  9727. cangoodsexercise:
  9728. description: '[期权]是否可现货行权- 0:否 1:是'
  9729. type: integer
  9730. cangoodsexercisetype:
  9731. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  9732. type: integer
  9733. canmanualquotestrike:
  9734. description: 是否可手动报行权价- 0:否 1:是 [期权]
  9735. type: integer
  9736. canmutistage:
  9737. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  9738. type: integer
  9739. canpreexercise:
  9740. description: '[期权]是否可预申报- 0:否 1:是'
  9741. type: integer
  9742. clearinterval:
  9743. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  9744. type: integer
  9745. contracttmp:
  9746. description: 合同模板[荷兰式][竞价式][仓单贸易]
  9747. type: string
  9748. exchareaid:
  9749. description: 所属交易所,可以没有
  9750. type: integer
  9751. goodstype:
  9752. description: 商品类型 - 1:交易商品 2:仓单商品
  9753. type: integer
  9754. hasrebate:
  9755. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  9756. type: integer
  9757. hastradecredit:
  9758. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  9759. type: integer
  9760. haswr:
  9761. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  9762. type: integer
  9763. isdeductmargin:
  9764. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  9765. type: integer
  9766. isrecordsource:
  9767. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  9768. type: integer
  9769. isreleasemargin:
  9770. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  9771. type: integer
  9772. marginformula:
  9773. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9774. type: integer
  9775. marginformula2:
  9776. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9777. type: integer
  9778. marketid:
  9779. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  9780. type: integer
  9781. marketname:
  9782. description: 市场名称
  9783. type: string
  9784. marketserviceid:
  9785. description: 市场服务ID
  9786. type: integer
  9787. marketstatus:
  9788. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  9789. type: integer
  9790. markettype:
  9791. description: 市场类型- 1:非交易服务 2:交易服务
  9792. type: integer
  9793. matchermode:
  9794. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  9795. type: integer
  9796. openmethod:
  9797. description: 开盘模式 - 0 自动 1手动
  9798. type: integer
  9799. otcuserid:
  9800. description: 场外期权做市商[场外期权]
  9801. type: integer
  9802. outersynctime:
  9803. description: 外部同步时间点(h24:mi:ss)[场外期权]
  9804. type: string
  9805. pendingflag:
  9806. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  9807. type: integer
  9808. pendingtime:
  9809. description: 待开市时间[通道交易-对冲](HH:mm)
  9810. type: string
  9811. performancetempid:
  9812. description: 履约计划模板ID - 作废
  9813. type: integer
  9814. premiumquotemode:
  9815. description: 权利金报价方式 - 1:自动 2:手动
  9816. type: integer
  9817. rebateratio:
  9818. description: 返利比率[竞价式]
  9819. type: number
  9820. reckonorder:
  9821. description: 结算顺序
  9822. type: integer
  9823. reckonpricealgorithm:
  9824. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价'
  9825. type: integer
  9826. reckonpriceparam:
  9827. description: 结算价参数
  9828. type: integer
  9829. reckontime:
  9830. description: 结算时间[通道交易-对冲](HH:mm)
  9831. type: string
  9832. roleprioritytype:
  9833. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  9834. type: integer
  9835. selllistingauditflag:
  9836. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  9837. type: integer
  9838. trademarkettype:
  9839. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  9840. type: integer
  9841. trademode:
  9842. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9843. type: integer
  9844. tradeproperty:
  9845. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权
  9846. type: integer
  9847. tradetype:
  9848. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  9849. type: integer
  9850. required:
  9851. - marketid
  9852. - marketstatus
  9853. - openmethod
  9854. - reckonpricealgorithm
  9855. - trademode
  9856. - tradeproperty
  9857. type: object
  9858. models.Marketrun:
  9859. properties:
  9860. afternexttradedate:
  9861. description: 下下交易日
  9862. type: string
  9863. clearquoteflag:
  9864. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  9865. type: integer
  9866. lastreckondate:
  9867. description: 最新交易日(结算成功)
  9868. type: string
  9869. machinedate:
  9870. description: 机器时间
  9871. type: string
  9872. manualflag:
  9873. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  9874. type: integer
  9875. marketid:
  9876. description: 市场ID
  9877. type: integer
  9878. nexttradedate:
  9879. description: 下一交易日
  9880. type: string
  9881. pretradedate:
  9882. description: 上一交易日
  9883. type: string
  9884. reckonflag:
  9885. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  9886. type: integer
  9887. runstatus:
  9888. 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.今日免清算
  9889. type: integer
  9890. sectionid:
  9891. description: 时间段号[多时段时用]
  9892. type: integer
  9893. tradedate:
  9894. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  9895. type: string
  9896. tradedate2:
  9897. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  9898. type: string
  9899. updatetime:
  9900. description: 更新时间
  9901. type: string
  9902. required:
  9903. - marketid
  9904. - nexttradedate
  9905. - reckonflag
  9906. - runstatus
  9907. - tradedate
  9908. - tradedate2
  9909. type: object
  9910. models.Messageboard:
  9911. properties:
  9912. contactnum:
  9913. description: 联系电话
  9914. type: string
  9915. createtime:
  9916. description: 创建时间
  9917. type: string
  9918. message:
  9919. description: 留言信息
  9920. type: string
  9921. messageboardid:
  9922. description: 留言簿ID(SEQ_MessageBoard)
  9923. type: integer
  9924. userid:
  9925. description: 用户ID
  9926. type: integer
  9927. required:
  9928. - messageboardid
  9929. type: object
  9930. models.MyCoupon:
  9931. properties:
  9932. accountid:
  9933. description: 资金账户ID
  9934. type: integer
  9935. areauserid:
  9936. description: 所属机构
  9937. type: integer
  9938. conditionvalue:
  9939. description: 条件阈值(可为0)
  9940. type: number
  9941. couponcategroy:
  9942. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  9943. type: integer
  9944. couponname:
  9945. description: 优惠券名称
  9946. type: string
  9947. coupontypeid:
  9948. description: 优惠券类型ID
  9949. type: string
  9950. couponvalue:
  9951. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9952. type: number
  9953. curfreezeqty:
  9954. description: 期末冻结数量
  9955. type: integer
  9956. curqty:
  9957. description: 期末数量
  9958. type: integer
  9959. isgeneral:
  9960. description: 是否通用券 - 0:否 1:是
  9961. type: integer
  9962. isunusable:
  9963. description: 是否不可用
  9964. type: boolean
  9965. limitedflag:
  9966. description: 是否指定商品 - 0:不限 1:限制
  9967. type: integer
  9968. limitedgoodsids:
  9969. description: 指定商品IDs[逗号分隔,前后加逗号]
  9970. type: string
  9971. orifreezeqty:
  9972. description: 期初冻结数量
  9973. type: integer
  9974. oriqty:
  9975. description: 期初数量
  9976. type: integer
  9977. reasontype:
  9978. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  9979. type: integer
  9980. todaydecrease:
  9981. description: 今日减少
  9982. type: integer
  9983. todayincrease:
  9984. description: 今日增加
  9985. type: integer
  9986. userid:
  9987. description: 用户ID
  9988. type: integer
  9989. userscope:
  9990. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  9991. type: string
  9992. required:
  9993. - accountid
  9994. - coupontypeid
  9995. type: object
  9996. models.MyCouponHold:
  9997. properties:
  9998. accountid:
  9999. description: 资金账户ID
  10000. type: integer
  10001. conditionvalue:
  10002. description: 条件阈值(可为0)
  10003. type: number
  10004. couponcategroy:
  10005. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  10006. type: integer
  10007. couponholdid:
  10008. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  10009. type: string
  10010. couponname:
  10011. description: 优惠券名称
  10012. type: string
  10013. coupontypeid:
  10014. description: 优惠券类型ID - SEQ_COUPONTYPE
  10015. type: string
  10016. couponvalue:
  10017. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  10018. type: number
  10019. createtime:
  10020. description: 创建时间
  10021. type: string
  10022. enddate:
  10023. description: 结束日期
  10024. type: string
  10025. giveapplyid:
  10026. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  10027. type: integer
  10028. holdstatus:
  10029. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  10030. type: integer
  10031. isgeneral:
  10032. description: 是否通用券 - 0:否 1:是
  10033. type: integer
  10034. limitedflag:
  10035. description: 是否指定商品 - 0:不限 1:限制
  10036. type: integer
  10037. limitedgoodsids:
  10038. description: 指定商品IDs[逗号分隔]
  10039. type: string
  10040. qty:
  10041. description: 数量(按1平铺)
  10042. type: integer
  10043. startdate:
  10044. description: 开始日期
  10045. type: string
  10046. userid:
  10047. description: 用户ID
  10048. type: integer
  10049. userscope:
  10050. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  10051. type: string
  10052. required:
  10053. - couponholdid
  10054. type: object
  10055. models.MyUsedCoupon:
  10056. properties:
  10057. accountid:
  10058. description: 资金账户ID(买方)
  10059. type: integer
  10060. conditionvalue:
  10061. description: 条件阈值(可为0)
  10062. type: number
  10063. couponcategroy:
  10064. description: 种类 - 1:现金券 2:折扣券
  10065. type: integer
  10066. couponname:
  10067. description: 优惠券名称
  10068. type: string
  10069. coupontypeid:
  10070. description: 优惠券类型ID(买方)
  10071. type: string
  10072. couponvalue:
  10073. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  10074. type: number
  10075. createtime:
  10076. description: 创建时间
  10077. type: string
  10078. goodsid:
  10079. description: 商品ID
  10080. type: integer
  10081. handlestatus:
  10082. description: 处理状态
  10083. type: integer
  10084. marketid:
  10085. description: 市场ID
  10086. type: integer
  10087. offamount:
  10088. description: 优惠金额
  10089. type: number
  10090. orderid:
  10091. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10092. type: string
  10093. sellaccountid:
  10094. description: 资金账户ID(卖方)
  10095. type: integer
  10096. tradeamount:
  10097. description: 成交金额
  10098. type: number
  10099. tradeid:
  10100. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10101. type: string
  10102. usedqty:
  10103. description: 使用数量
  10104. type: integer
  10105. required:
  10106. - coupontypeid
  10107. - orderid
  10108. type: object
  10109. models.OperationPrimaryMenu:
  10110. properties:
  10111. Children:
  10112. description: 二级功能菜单
  10113. items:
  10114. $ref: '#/definitions/models.OperationSecondaryMenu'
  10115. type: array
  10116. Key:
  10117. description: 菜单KEY
  10118. type: string
  10119. Label:
  10120. description: 菜单标题
  10121. type: string
  10122. type: object
  10123. models.OperationSecondaryMenu:
  10124. properties:
  10125. Key:
  10126. description: 菜单KEY
  10127. type: string
  10128. Label:
  10129. description: 菜单标题
  10130. type: string
  10131. TabList:
  10132. description: 三级功能菜单
  10133. items:
  10134. $ref: '#/definitions/models.OperationTabMenu'
  10135. type: array
  10136. type: object
  10137. models.OperationTabMenu:
  10138. properties:
  10139. Key:
  10140. description: 菜单KEY
  10141. type: string
  10142. Label:
  10143. description: 菜单标题
  10144. type: string
  10145. type: object
  10146. models.QhjAccountOutInApply:
  10147. properties:
  10148. accountcode:
  10149. description: 资金账号
  10150. type: string
  10151. accountname:
  10152. description: 用户名称(名称)
  10153. type: string
  10154. accountpwd:
  10155. description: 资金密码
  10156. type: string
  10157. accountticket:
  10158. description: 最新账户服务流水号
  10159. type: string
  10160. amount:
  10161. description: 金额
  10162. type: number
  10163. applyremark:
  10164. description: 申请备注
  10165. type: string
  10166. applystatus:
  10167. 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: 复审通过,账户冻结金额检查中;'
  10168. type: integer
  10169. auditid:
  10170. description: 审核人
  10171. type: integer
  10172. audittime:
  10173. description: 审核时间
  10174. type: string
  10175. bank_apply_ticket:
  10176. description: 银行申请流水
  10177. type: string
  10178. bankaccountname:
  10179. description: 银行账户名
  10180. type: string
  10181. bankaccountno:
  10182. description: 银行卡号
  10183. type: string
  10184. bankid:
  10185. description: 银行编号
  10186. type: string
  10187. bankticket:
  10188. description: 银行流水
  10189. type: string
  10190. branchbankid:
  10191. description: 银行支行号
  10192. type: string
  10193. branchbankname:
  10194. description: 银行支行名称
  10195. type: string
  10196. capamountout:
  10197. description: 出金(劣后本金) - 外部子账户
  10198. type: number
  10199. certificatephotourl:
  10200. description: 凭证地址
  10201. type: string
  10202. charge:
  10203. description: 手续费
  10204. type: number
  10205. checkerrorflag:
  10206. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  10207. type: integer
  10208. currency:
  10209. description: 币种
  10210. type: string
  10211. cusbankid:
  10212. description: 托管银行编号
  10213. type: string
  10214. exchticket:
  10215. description: 银行服务流水号
  10216. type: string
  10217. executetype:
  10218. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金'
  10219. type: integer
  10220. extendinfo:
  10221. description: 扩展信息
  10222. type: string
  10223. extoperateid:
  10224. description: 交易服务流水号
  10225. type: integer
  10226. infamount:
  10227. description: 劣后金额(自有)
  10228. type: number
  10229. logincode:
  10230. description: 登录账号(账号)
  10231. type: string
  10232. netaddr:
  10233. description: 调转网址
  10234. type: string
  10235. priamount:
  10236. description: 优先金额(授信)
  10237. type: number
  10238. reauditid:
  10239. description: 复审人
  10240. type: integer
  10241. reauditremark:
  10242. description: 复审备注
  10243. type: string
  10244. reaudittime:
  10245. description: 复审时间
  10246. type: string
  10247. relatedorderid:
  10248. description: 三方关联ID
  10249. type: string
  10250. remark:
  10251. description: 备注
  10252. type: string
  10253. remark2:
  10254. description: 备注(失败原因)
  10255. type: string
  10256. soucreamount:
  10257. description: 原始出入金金额
  10258. type: number
  10259. soucrecurrencyid:
  10260. description: 原始出入金币种
  10261. type: integer
  10262. tradedate:
  10263. description: 交易日(yyyyMMdd)
  10264. type: string
  10265. updatetime:
  10266. description: 更新时间(申请时间)
  10267. type: string
  10268. userid:
  10269. description: 用户id
  10270. type: integer
  10271. userinfotype:
  10272. description: 账户类型 1-个人 2-企业
  10273. type: integer
  10274. type: object
  10275. models.QhjAgreementChangeLog:
  10276. properties:
  10277. agreementcontent:
  10278. description: 协议内容
  10279. type: string
  10280. agreementfrequency:
  10281. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  10282. type: integer
  10283. agreementid:
  10284. description: 协议ID
  10285. type: integer
  10286. agreementname:
  10287. description: 协议名称
  10288. type: string
  10289. agreementno:
  10290. description: 协议编号
  10291. type: string
  10292. agreementtype:
  10293. description: 协议类型 - 1:注册 2:登录 3:交易
  10294. type: integer
  10295. agreementversion:
  10296. description: 协议版本号
  10297. type: integer
  10298. logid:
  10299. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  10300. type: integer
  10301. reviserid:
  10302. description: 修改人
  10303. type: integer
  10304. revisersrc:
  10305. description: 修改来源 - 1:管理端 2:终端
  10306. type: integer
  10307. updatetime:
  10308. description: 更新时间
  10309. type: string
  10310. type: object
  10311. models.QhjAgreementConfig:
  10312. properties:
  10313. agreementcontent:
  10314. description: 协议内容
  10315. type: string
  10316. agreementfrequency:
  10317. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  10318. type: integer
  10319. agreementid:
  10320. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  10321. type: integer
  10322. agreementname:
  10323. description: 协议名称
  10324. type: string
  10325. agreementno:
  10326. description: 协议编号
  10327. type: string
  10328. agreementtype:
  10329. description: 协议类型 - 1:注册 2:登录 3:交易
  10330. type: integer
  10331. agreementversion:
  10332. description: 协议版本号(从1开始每次修改加1)
  10333. type: integer
  10334. createtime:
  10335. description: 创建时间
  10336. type: string
  10337. creatorid:
  10338. description: 创建人
  10339. type: integer
  10340. creatorsrc:
  10341. description: 创建来源 - 1:管理端 2:终端
  10342. type: integer
  10343. isvalid:
  10344. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  10345. type: integer
  10346. reviserid:
  10347. description: 修改人
  10348. type: integer
  10349. revisersrc:
  10350. description: 修改来源 - 1:管理端 2:终端
  10351. type: integer
  10352. updatetime:
  10353. description: 更新时间
  10354. type: string
  10355. type: object
  10356. models.QhjAreaFinanceConfig:
  10357. properties:
  10358. additionalratio:
  10359. description: 追加款比例
  10360. type: number
  10361. advanceratio:
  10362. description: 预付款比例
  10363. type: number
  10364. alarmratio:
  10365. description: 告警比例
  10366. type: number
  10367. consumptiondirectreward:
  10368. description: 消费直推奖励值
  10369. type: number
  10370. consumptionenabled:
  10371. description: 是否启用消费奖励 - 0:不启用 1:启用
  10372. type: integer
  10373. consumptionindirectreward:
  10374. description: 消费间推奖励值
  10375. type: number
  10376. consumptionmodel:
  10377. description: 消费奖励方式 - 1:比率 2:固定
  10378. type: integer
  10379. customerservicenum:
  10380. description: 客服电话
  10381. type: string
  10382. dayinterestrate:
  10383. description: 日利率
  10384. type: number
  10385. disableconsumptiontips:
  10386. description: 关闭消费奖励提示
  10387. type: string
  10388. modifierid:
  10389. description: 修改人ID
  10390. type: integer
  10391. modifysrc:
  10392. description: 审核来源 - 1:管理端 2:终端
  10393. type: integer
  10394. modifytime:
  10395. description: 修改时间
  10396. type: string
  10397. promotionvalue:
  10398. description: 推广奖励值(固定)
  10399. type: number
  10400. scoreconfigvalue1:
  10401. description: 提货积分配置1
  10402. type: integer
  10403. scoreconfigvalue2:
  10404. description: 提货积分配置2
  10405. type: integer
  10406. userid:
  10407. description: 机构用户ID其他做市关系,都设置为 1
  10408. type: integer
  10409. username:
  10410. description: 用户名称
  10411. type: string
  10412. type: object
  10413. models.QhjBankAccountSign:
  10414. properties:
  10415. accountcode:
  10416. description: 资金账号
  10417. type: string
  10418. accountname:
  10419. description: 资金账号对应的账号名(UserName)
  10420. type: string
  10421. accountname2:
  10422. description: 资金账号对应的账号名(UserName) - 密文
  10423. type: string
  10424. accounttype:
  10425. description: 账户类型(UserType)
  10426. type: integer
  10427. applicationtime:
  10428. description: 最后一次更新的时间
  10429. type: string
  10430. applyexchticket:
  10431. description: 申请流水
  10432. type: string
  10433. auditid:
  10434. description: 审核人
  10435. type: integer
  10436. audittime:
  10437. description: 审核时间
  10438. type: string
  10439. bankaccountname:
  10440. description: 签约银行卡账号名
  10441. type: string
  10442. bankaccountname2:
  10443. description: 签约银行卡账号名 - 密文
  10444. type: string
  10445. bankaccountno:
  10446. description: 银行卡号
  10447. type: string
  10448. bankaccountno2:
  10449. description: 银行卡号 - 密文
  10450. type: string
  10451. bankaccounttype:
  10452. description: 银行账户类型 - 1-对私; 2-对公
  10453. type: integer
  10454. bankcardtype:
  10455. description: 银行卡类型
  10456. type: integer
  10457. bankchildaccount:
  10458. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  10459. type: string
  10460. bankcity:
  10461. description: 开户行城市
  10462. type: string
  10463. bankid:
  10464. description: 签约银行ID
  10465. type: string
  10466. bankname:
  10467. description: 签约银行名称
  10468. type: string
  10469. bankprovince:
  10470. description: 开户行省份
  10471. type: string
  10472. branchbankid:
  10473. description: 签约银行支行号
  10474. type: string
  10475. branchbankname:
  10476. description: 签约银行支行名称
  10477. type: string
  10478. cardno:
  10479. description: 证件号码
  10480. type: string
  10481. cardno2:
  10482. description: 证件号码 - 密文
  10483. type: string
  10484. cardtype:
  10485. description: 证件类型
  10486. type: string
  10487. currency:
  10488. description: 币种
  10489. type: string
  10490. cusbankid:
  10491. description: 托管银行编号
  10492. type: string
  10493. direct:
  10494. description: 方向(可以判断那方先发起的签约)
  10495. type: integer
  10496. exchticket:
  10497. description: 最后一次签约成功的流水号
  10498. type: string
  10499. extendinfo:
  10500. description: 扩展信息(JSON字符串)
  10501. type: string
  10502. mobilephone:
  10503. description: 手机号
  10504. type: string
  10505. mobilephone2:
  10506. description: 手机号 - 密文
  10507. type: string
  10508. netaddr:
  10509. description: 调转网址
  10510. type: string
  10511. relateduserid:
  10512. description: 关联使用者userid
  10513. type: integer
  10514. signstatus:
  10515. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核
  10516. type: integer
  10517. updatetime:
  10518. description: 更新时间(签解约更新时间)
  10519. type: string
  10520. type: object
  10521. models.QhjBankInfo:
  10522. properties:
  10523. bankid:
  10524. description: 银行ID
  10525. type: string
  10526. bankname:
  10527. description: 银行名称
  10528. type: string
  10529. clearbankno:
  10530. description: 清算系统银行编号
  10531. type: string
  10532. orderindex:
  10533. description: 排序顺序
  10534. type: integer
  10535. status:
  10536. description: 状态 - 0:正常 1:注销
  10537. type: integer
  10538. type: object
  10539. models.QhjBrokerApply:
  10540. properties:
  10541. applicantid:
  10542. description: 申请人
  10543. type: integer
  10544. applysrc:
  10545. description: 申请来源 - 1:管理端 2:终端
  10546. type: integer
  10547. applystatus:
  10548. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  10549. type: integer
  10550. applytime:
  10551. description: 申请时间
  10552. type: string
  10553. auditorid:
  10554. description: 审核人
  10555. type: integer
  10556. auditremark:
  10557. description: 审核备注
  10558. type: string
  10559. auditsrc:
  10560. description: 审核来源 - 1:管理端 2:终端
  10561. type: integer
  10562. audittime:
  10563. description: 审核时间
  10564. type: string
  10565. audittradedate:
  10566. description: 审核交易日(yyyyMMdd)
  10567. type: string
  10568. brokerapplyid:
  10569. description: 申请ID(SEQ_BROKERAPPLY)
  10570. type: integer
  10571. cardbackphotourl:
  10572. description: 证件背面图片地址
  10573. type: string
  10574. cardfrontphotourl:
  10575. description: 证件正面图片地址
  10576. type: string
  10577. cardnum:
  10578. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  10579. type: string
  10580. customername:
  10581. description: 姓名
  10582. type: string
  10583. logincode:
  10584. description: 登录代码
  10585. type: string
  10586. mobile:
  10587. description: 手机号码
  10588. type: string
  10589. parentuserid:
  10590. description: 所属机构id
  10591. type: integer
  10592. parentusername:
  10593. description: 所属机构名称
  10594. type: string
  10595. refereeuserid:
  10596. description: 推荐人id(经纪人)
  10597. type: integer
  10598. refernum:
  10599. description: 推荐码
  10600. type: string
  10601. remark:
  10602. description: 备注
  10603. type: string
  10604. subarealevelpath:
  10605. description: 层级路径
  10606. type: string
  10607. tradedate:
  10608. description: 交易日(yyyyMMdd)
  10609. type: string
  10610. userid:
  10611. description: 申请人用户ID
  10612. type: integer
  10613. userinfotype:
  10614. description: 用户类型 1-个人 2-企业
  10615. type: integer
  10616. username:
  10617. description: 用户名称
  10618. type: string
  10619. type: object
  10620. models.QhjBrokerApplyEx:
  10621. properties:
  10622. applylist:
  10623. description: 经纪人申请记录(只返回最新一条)
  10624. items:
  10625. $ref: '#/definitions/models.QhjBrokerApply'
  10626. type: array
  10627. canrecommend:
  10628. description: 是否经纪人 0-不是 1-是
  10629. type: integer
  10630. refernum:
  10631. description: 推荐码
  10632. type: string
  10633. userid:
  10634. description: 用户id
  10635. type: integer
  10636. userinfotype:
  10637. description: 用户类型 1-个人 2-企业
  10638. type: integer
  10639. type: object
  10640. models.QhjBrokerRewardLog:
  10641. properties:
  10642. accountid:
  10643. description: 资金账号ID
  10644. type: integer
  10645. createtime:
  10646. description: 创建时间(时间)
  10647. type: string
  10648. handlestatus:
  10649. description: 处理状态
  10650. type: integer
  10651. logid:
  10652. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10653. type: string
  10654. marketid:
  10655. description: 市场ID
  10656. type: integer
  10657. mmaccountid:
  10658. description: 做市商资金账号ID
  10659. type: string
  10660. mmuserid:
  10661. description: 做市商用户ID
  10662. type: string
  10663. rewardamount:
  10664. description: 奖励金额
  10665. type: number
  10666. rewardmodel:
  10667. description: 消费奖励方式 - 1:比率 2:固定
  10668. type: integer
  10669. rewardtype:
  10670. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  10671. type: integer
  10672. rewardvalue:
  10673. description: 配置奖励值
  10674. type: number
  10675. srcamount:
  10676. description: 成交金额 [消费奖励] (金额)
  10677. type: number
  10678. srcgoodsid:
  10679. description: 来源商品ID [消费奖励]
  10680. type: string
  10681. srctime:
  10682. description: 来源时间 (成交时间) [消费奖励]
  10683. type: string
  10684. srctradeid:
  10685. description: 来源成交单ID [消费奖励] - 排除提货成交
  10686. type: string
  10687. srcuserid:
  10688. description: 来源用户ID(推广账户)
  10689. type: string
  10690. srcusername:
  10691. description: 推广账户名称
  10692. type: string
  10693. tradedate:
  10694. description: 交易日(yyyyMMdd)
  10695. type: string
  10696. userid:
  10697. description: 经纪人用户ID
  10698. type: integer
  10699. type: object
  10700. models.QhjContract:
  10701. properties:
  10702. contractconfirmtime:
  10703. description: 合同确认时间(时间)
  10704. type: string
  10705. currisklevel:
  10706. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  10707. type: integer
  10708. decimalplace:
  10709. description: 商品报价小数位
  10710. type: integer
  10711. enumdicname:
  10712. description: 单位名称
  10713. type: string
  10714. goodscode:
  10715. description: 商品代码
  10716. type: string
  10717. goodsid:
  10718. description: 商品ID [5:融资单]
  10719. type: integer
  10720. goodsname:
  10721. description: 商品名称
  10722. type: string
  10723. goodunitid:
  10724. description: 商品单位id
  10725. type: integer
  10726. initmargin:
  10727. description: 初始保证金(首付款)
  10728. type: number
  10729. lenderamount:
  10730. description: 贷款金额(总额|订单总额)
  10731. type: number
  10732. marginratio:
  10733. description: 保证金比率(首付比例)
  10734. type: number
  10735. payamount:
  10736. description: 已付(已付货款)
  10737. type: number
  10738. reckonrecovermargin:
  10739. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  10740. type: number
  10741. recoveredmargin:
  10742. description: 已追缴保证金
  10743. type: number
  10744. remainamount:
  10745. description: 合同剩余金额(融资额)
  10746. type: number
  10747. scfcontractid:
  10748. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10749. type: string
  10750. scfcontractstatus:
  10751. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交
  10752. type: integer
  10753. scfcontracttype:
  10754. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  10755. type: integer
  10756. totalinterest:
  10757. description: 已计总利息(利息)
  10758. type: number
  10759. tradeprice:
  10760. description: 成交价格(成本价格)
  10761. type: number
  10762. userid:
  10763. description: 用户ID
  10764. type: integer
  10765. username:
  10766. description: 用户名称
  10767. type: string
  10768. wrqty:
  10769. description: 仓单数量(数量)
  10770. type: number
  10771. type: object
  10772. models.QhjContractLog:
  10773. properties:
  10774. amount:
  10775. description: 支付金额
  10776. type: number
  10777. amounttype:
  10778. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  10779. type: integer
  10780. logid:
  10781. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10782. type: string
  10783. remainamount:
  10784. description: 剩余货款
  10785. type: number
  10786. scfcontractid:
  10787. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10788. type: integer
  10789. updatetime:
  10790. description: 更新时间
  10791. type: string
  10792. type: object
  10793. models.QhjCusBankSignBankEx:
  10794. properties:
  10795. banklst:
  10796. description: 银行列表
  10797. items:
  10798. $ref: '#/definitions/models.QhjBankInfo'
  10799. type: array
  10800. canallot:
  10801. description: 是否支持跨行调拨 - 0:不支持 1:支持
  10802. type: integer
  10803. canallotquery:
  10804. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  10805. type: integer
  10806. canbindcard:
  10807. description: 是否可绑卡与解卡 - 0:不可 1:可以
  10808. type: integer
  10809. caninamount:
  10810. description: 是否可入金 - 0:不可 1:可以
  10811. type: integer
  10812. caninamount2:
  10813. description: 是否可入金(网银端) - 0:不可 1:可以
  10814. type: integer
  10815. canmodifybankcard:
  10816. description: 是否可修改银行卡号 - 0:不可 1:可以
  10817. type: integer
  10818. canmodifyphone:
  10819. description: 是否可修改手机号 - 0:不可 1:可以
  10820. type: integer
  10821. canmodifysigninfo:
  10822. description: 是否可修改签约信息 - 0:不可 1:可以
  10823. type: integer
  10824. canoutamount:
  10825. description: 是否可出金 - 0:不可 1:可以
  10826. type: integer
  10827. canoutamount2:
  10828. description: 是否可出金(网银端) - 0:不可 1:可以
  10829. type: integer
  10830. canrelease:
  10831. description: 是否可解约 - 0:不可 1:可以
  10832. type: integer
  10833. canrelease2:
  10834. description: 是否可解约(网银端) - 0:不可 1:可以
  10835. type: integer
  10836. cansign:
  10837. description: 是否可签约 - 0:不可 1:可以
  10838. type: integer
  10839. cansign2:
  10840. description: 是否可签约(网银端) - 0:不可 1:可以
  10841. type: integer
  10842. currency:
  10843. description: 币种
  10844. type: string
  10845. cusbankid:
  10846. description: 托管银行编号(对应清算中心TRAN_NO)
  10847. type: string
  10848. cusbankname:
  10849. description: 银行业务名称
  10850. type: string
  10851. cusbankshortname:
  10852. description: 银行业务简称
  10853. type: string
  10854. exchbankid:
  10855. description: 交易所开户银行ID
  10856. type: string
  10857. exchpaybankaccname:
  10858. description: 交易所支出结算账户户名
  10859. type: string
  10860. exchpaybankaccno:
  10861. description: 交易所支出结算账户
  10862. type: string
  10863. isneedcheck:
  10864. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  10865. type: integer
  10866. isneedclear:
  10867. description: 是否需要清算 - 0:不需要 1:需要
  10868. type: integer
  10869. lastcheckstatus:
  10870. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  10871. type: integer
  10872. lastchecktime:
  10873. description: 最后对账时间
  10874. type: string
  10875. lastclearstatus:
  10876. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  10877. type: integer
  10878. lastcleartime:
  10879. description: 最后清算时间
  10880. type: string
  10881. lastsignintime:
  10882. description: 最后签到时间
  10883. type: string
  10884. lastsignouttime:
  10885. description: 最后签退时间
  10886. type: string
  10887. riskinfo:
  10888. description: 签约风险提示书
  10889. type: string
  10890. signstatus:
  10891. description: 当前签到/签退状态 - 1:签到 2:签退
  10892. type: integer
  10893. tradedate:
  10894. description: 交易日(yyyyMMdd)
  10895. type: string
  10896. updatetime:
  10897. description: 当前签到/签退更新时间
  10898. type: string
  10899. type: object
  10900. models.QhjCustomer:
  10901. properties:
  10902. address:
  10903. description: 通讯地址
  10904. type: string
  10905. attachment1:
  10906. description: 附件1
  10907. type: string
  10908. attachment2:
  10909. description: 附件2
  10910. type: string
  10911. audittime:
  10912. description: 审核时间
  10913. type: string
  10914. cardbackphotourl:
  10915. description: 证件反面图片地址
  10916. type: string
  10917. cardfrontphotourl:
  10918. description: 证件正面图片地址
  10919. type: string
  10920. cardnum:
  10921. description: 证件号码
  10922. type: string
  10923. cardtype:
  10924. description: 证件类型
  10925. type: integer
  10926. cardtypename:
  10927. description: 证件类型名称
  10928. type: string
  10929. cityid:
  10930. description: 市
  10931. type: integer
  10932. cityname:
  10933. description: 城市名称
  10934. type: string
  10935. contactname:
  10936. description: 联系人
  10937. type: string
  10938. countryid:
  10939. description: 国家
  10940. type: integer
  10941. countryname:
  10942. description: 国家名称
  10943. type: string
  10944. createtime:
  10945. description: 创建时间
  10946. type: string
  10947. customername:
  10948. description: 客户名称
  10949. type: string
  10950. districtid:
  10951. description: 区域
  10952. type: integer
  10953. districtname:
  10954. description: 地区名称
  10955. type: string
  10956. email:
  10957. description: 邮件
  10958. type: string
  10959. legalpersonname:
  10960. description: 法人姓名(企业)
  10961. type: string
  10962. logincode:
  10963. description: 登录账号(代码)
  10964. type: string
  10965. memberuserid:
  10966. description: 所属机构ID(所属会员)
  10967. type: integer
  10968. memberusername:
  10969. description: 所属会员名称
  10970. type: string
  10971. mobile:
  10972. description: 手机号码
  10973. type: string
  10974. modifytime:
  10975. description: 修改时间
  10976. type: string
  10977. nickname:
  10978. description: 昵称
  10979. type: string
  10980. parentuserid:
  10981. description: 上级机构(所属机构)
  10982. type: integer
  10983. parentusername:
  10984. description: 所属机构名称
  10985. type: string
  10986. provinceid:
  10987. description: 省
  10988. type: integer
  10989. provincename:
  10990. description: 省名称
  10991. type: string
  10992. proxystatementurl:
  10993. description: 授权委托书
  10994. type: string
  10995. remark:
  10996. description: 备注
  10997. type: string
  10998. status:
  10999. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  11000. type: integer
  11001. statusdesc:
  11002. description: 账户状态中文描述
  11003. type: string
  11004. taxpayernum:
  11005. description: 纳税人识别号
  11006. type: string
  11007. telphone:
  11008. description: 联系电话
  11009. type: string
  11010. userid:
  11011. description: 用户ID
  11012. type: integer
  11013. userinfotype:
  11014. description: 客户类型 1-个人 2-企业
  11015. type: integer
  11016. username:
  11017. description: 用户名称
  11018. type: string
  11019. type: object
  11020. models.QhjCustomerSignLog:
  11021. properties:
  11022. agreementcontent:
  11023. description: 协议内容
  11024. type: string
  11025. agreementid:
  11026. description: 协议ID
  11027. type: integer
  11028. agreementname:
  11029. description: 协议名称
  11030. type: string
  11031. agreementno:
  11032. description: 协议编号
  11033. type: string
  11034. agreementtype:
  11035. description: 协议类型 - 1:注册 2:登录 3:交易
  11036. type: integer
  11037. agreementversion:
  11038. description: 协议版本号
  11039. type: integer
  11040. createtime:
  11041. description: 创建时间
  11042. type: string
  11043. goodscode:
  11044. description: 商品代码
  11045. type: string
  11046. goodsid:
  11047. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11048. type: integer
  11049. goodsname:
  11050. description: 商品名称
  11051. type: string
  11052. logid:
  11053. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  11054. type: integer
  11055. nodetype:
  11056. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  11057. type: integer
  11058. signadressurl:
  11059. description: 签约文件地址
  11060. type: string
  11061. signtimestamp:
  11062. description: 签约状态时间戳
  11063. type: string
  11064. userid:
  11065. description: 客户ID
  11066. type: integer
  11067. username:
  11068. description: 客户名称
  11069. type: string
  11070. type: object
  11071. models.QhjCustomerSignStatus:
  11072. properties:
  11073. createtime:
  11074. description: 创建时间
  11075. type: string
  11076. goodscode:
  11077. description: 商品代码
  11078. type: string
  11079. goodsid:
  11080. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11081. type: integer
  11082. goodsname:
  11083. description: 商品名称
  11084. type: string
  11085. nodetype:
  11086. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  11087. type: integer
  11088. signtimestamp:
  11089. description: 签约状态时间戳
  11090. type: string
  11091. tradedate:
  11092. description: 创建交易日(yyyyMMdd)
  11093. type: string
  11094. updatetime:
  11095. description: 更新时间
  11096. type: string
  11097. userid:
  11098. description: 客户ID
  11099. type: integer
  11100. username:
  11101. description: 客户名称
  11102. type: string
  11103. type: object
  11104. models.QhjMgrAccountOutInApply:
  11105. properties:
  11106. accountcode:
  11107. description: 资金账号
  11108. type: string
  11109. accountname:
  11110. description: 用户名称(名称)
  11111. type: string
  11112. accountpwd:
  11113. description: 资金密码
  11114. type: string
  11115. accountticket:
  11116. description: 最新账户服务流水号
  11117. type: string
  11118. amount:
  11119. description: 金额
  11120. type: number
  11121. applyremark:
  11122. description: 申请备注
  11123. type: string
  11124. applystatus:
  11125. 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: 复审通过,账户冻结金额检查中;'
  11126. type: integer
  11127. auditid:
  11128. description: 审核人
  11129. type: integer
  11130. audittime:
  11131. description: 审核时间
  11132. type: string
  11133. bank_apply_ticket:
  11134. description: 银行申请流水
  11135. type: string
  11136. bankaccountname:
  11137. description: 银行账户名
  11138. type: string
  11139. bankaccountno:
  11140. description: 银行卡号
  11141. type: string
  11142. bankid:
  11143. description: 银行编号
  11144. type: string
  11145. bankname:
  11146. description: 银行名称
  11147. type: string
  11148. bankticket:
  11149. description: 银行流水
  11150. type: string
  11151. branchbankid:
  11152. description: 银行支行号
  11153. type: string
  11154. branchbankname:
  11155. description: 银行支行名称
  11156. type: string
  11157. capamountout:
  11158. description: 出金(劣后本金) - 外部子账户
  11159. type: number
  11160. certificatephotourl:
  11161. description: 凭证地址
  11162. type: string
  11163. charge:
  11164. description: 手续费
  11165. type: number
  11166. checkerrorflag:
  11167. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  11168. type: integer
  11169. currency:
  11170. description: 币种
  11171. type: string
  11172. cusbankid:
  11173. description: 托管银行编号
  11174. type: string
  11175. exchticket:
  11176. description: 银行服务流水号
  11177. type: string
  11178. executetype:
  11179. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金'
  11180. type: integer
  11181. extendinfo:
  11182. description: 扩展信息
  11183. type: string
  11184. extoperateid:
  11185. description: 交易服务流水号
  11186. type: integer
  11187. infamount:
  11188. description: 劣后金额(自有)
  11189. type: number
  11190. logincode:
  11191. description: 登录账号(账号)
  11192. type: string
  11193. netaddr:
  11194. description: 调转网址
  11195. type: string
  11196. priamount:
  11197. description: 优先金额(授信)
  11198. type: number
  11199. reauditid:
  11200. description: 复审人
  11201. type: integer
  11202. reauditremark:
  11203. description: 复审备注
  11204. type: string
  11205. reaudittime:
  11206. description: 复审时间
  11207. type: string
  11208. relatedorderid:
  11209. description: 三方关联ID
  11210. type: string
  11211. remark:
  11212. description: 备注
  11213. type: string
  11214. remark2:
  11215. description: 备注(失败原因)
  11216. type: string
  11217. soucreamount:
  11218. description: 原始出入金金额
  11219. type: number
  11220. soucrecurrencyid:
  11221. description: 原始出入金币种
  11222. type: integer
  11223. tradedate:
  11224. description: 交易日(yyyyMMdd)
  11225. type: string
  11226. updatetime:
  11227. description: 更新时间(申请时间)
  11228. type: string
  11229. userid:
  11230. description: 用户id
  11231. type: integer
  11232. userinfotype:
  11233. description: 账户类型 1-个人 2-企业
  11234. type: integer
  11235. type: object
  11236. models.QhjMgrBrokerApply:
  11237. properties:
  11238. applicantid:
  11239. description: 申请人
  11240. type: integer
  11241. applysrc:
  11242. description: 申请来源 - 1:管理端 2:终端
  11243. type: integer
  11244. applystatus:
  11245. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  11246. type: integer
  11247. applytime:
  11248. description: 申请时间
  11249. type: string
  11250. auditorid:
  11251. description: 审核人
  11252. type: integer
  11253. auditremark:
  11254. description: 审核备注
  11255. type: string
  11256. auditsrc:
  11257. description: 审核来源 - 1:管理端 2:终端
  11258. type: integer
  11259. audittime:
  11260. description: 审核时间
  11261. type: string
  11262. audittradedate:
  11263. description: 审核交易日(yyyyMMdd)
  11264. type: string
  11265. brokerapplyid:
  11266. description: 申请ID(SEQ_BROKERAPPLY)
  11267. type: integer
  11268. cardbackphotourl:
  11269. description: 证件背面图片地址
  11270. type: string
  11271. cardfrontphotourl:
  11272. description: 证件正面图片地址
  11273. type: string
  11274. cardnum:
  11275. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  11276. type: string
  11277. customername:
  11278. description: 姓名
  11279. type: string
  11280. filterstatus:
  11281. description: 筛选条件
  11282. type: string
  11283. logincode:
  11284. description: 登录代码
  11285. type: string
  11286. mobile:
  11287. description: 手机号码
  11288. type: string
  11289. parentuserid:
  11290. description: 所属机构id
  11291. type: integer
  11292. parentusername:
  11293. description: 所属机构名称
  11294. type: string
  11295. refereeuserid:
  11296. description: 推荐人id(经纪人)
  11297. type: integer
  11298. refernum:
  11299. description: 推荐码
  11300. type: string
  11301. remark:
  11302. description: 备注
  11303. type: string
  11304. subarealevelpath:
  11305. description: 层级路径
  11306. type: string
  11307. tradedate:
  11308. description: 交易日(yyyyMMdd)
  11309. type: string
  11310. userid:
  11311. description: 申请人用户ID
  11312. type: integer
  11313. userinfotype:
  11314. description: 用户类型 1-个人 2-企业
  11315. type: integer
  11316. username:
  11317. description: 用户名称
  11318. type: string
  11319. type: object
  11320. models.QhjMgrBrokerRewardReport:
  11321. properties:
  11322. createtime:
  11323. description: 创建时间(注册时间)
  11324. type: string
  11325. cycletime:
  11326. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  11327. type: string
  11328. cycletype:
  11329. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  11330. type: integer
  11331. directtotalnum:
  11332. description: 直推总人数【期末】
  11333. type: integer
  11334. indirecttotalnum:
  11335. description: 间推总人数【期末】
  11336. type: integer
  11337. mobile:
  11338. description: 电话号码
  11339. type: string
  11340. refereeuserid:
  11341. description: 推荐人id(经纪人id)
  11342. type: integer
  11343. refereeusername:
  11344. description: 推荐人名称(经纪人) 上级经纪人名称
  11345. type: string
  11346. refernum:
  11347. description: 推荐码
  11348. type: string
  11349. subarealevelpath:
  11350. description: 用户层级路径
  11351. type: string
  11352. todayrewardamount:
  11353. description: 奖励总金额【汇总】
  11354. type: number
  11355. updatetime:
  11356. description: 更新时间
  11357. type: string
  11358. userid:
  11359. description: 经纪人用户ID
  11360. type: integer
  11361. userinfotype:
  11362. description: 用户类型 1-个人 2-企业
  11363. type: integer
  11364. username:
  11365. description: 用户名称
  11366. type: string
  11367. type: object
  11368. models.QhjMgrContract:
  11369. properties:
  11370. contractconfirmtime:
  11371. description: 合同确认时间(时间)
  11372. type: string
  11373. currisklevel:
  11374. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  11375. type: integer
  11376. decimalplace:
  11377. description: 商品报价小数位
  11378. type: integer
  11379. enumdicname:
  11380. description: 单位名称
  11381. type: string
  11382. goodscode:
  11383. description: 商品代码
  11384. type: string
  11385. goodsid:
  11386. description: 商品ID [5:融资单]
  11387. type: integer
  11388. goodsname:
  11389. description: 商品名称
  11390. type: string
  11391. goodunitid:
  11392. description: 商品单位id
  11393. type: integer
  11394. initmargin:
  11395. description: 初始保证金(首付款)
  11396. type: number
  11397. lenderamount:
  11398. description: 贷款金额(总额|订单总额)
  11399. type: number
  11400. logincode:
  11401. description: 账号(登录代码)
  11402. type: string
  11403. marginratio:
  11404. description: 保证金比率(首付比例)
  11405. type: number
  11406. mobile:
  11407. description: 电话号码(用户资料里的电话)
  11408. type: string
  11409. payamount:
  11410. description: 已付(已付货款)
  11411. type: number
  11412. reckonrecovermargin:
  11413. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  11414. type: number
  11415. recoveredmargin:
  11416. description: 已追缴保证金
  11417. type: number
  11418. remainamount:
  11419. description: 合同剩余金额(融资额)
  11420. type: number
  11421. scfcontractid:
  11422. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  11423. type: string
  11424. scfcontractstatus:
  11425. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交
  11426. type: integer
  11427. scfcontracttype:
  11428. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  11429. type: integer
  11430. totalinterest:
  11431. description: 已计总利息(利息)
  11432. type: number
  11433. tradedate:
  11434. description: 交易日
  11435. type: string
  11436. tradeprice:
  11437. description: 成交价格(成本价格)
  11438. type: number
  11439. userid:
  11440. description: 用户ID
  11441. type: integer
  11442. userinfotype:
  11443. description: 用户类型 1-个人 2-企业
  11444. type: integer
  11445. username:
  11446. description: 用户名称
  11447. type: string
  11448. wrqty:
  11449. description: 仓单数量(数量)
  11450. type: number
  11451. type: object
  11452. models.QhjMgrCustomer:
  11453. properties:
  11454. address:
  11455. description: 通讯地址
  11456. type: string
  11457. attachment1:
  11458. description: 附件1
  11459. type: string
  11460. audittime:
  11461. description: 审核时间
  11462. type: string
  11463. birthday:
  11464. description: 生日
  11465. type: string
  11466. brokerid:
  11467. description: 所属客户经理id
  11468. type: integer
  11469. brokername:
  11470. description: 所属客户经理名称
  11471. type: string
  11472. cardbackphotourl:
  11473. description: 证件反面图片地址
  11474. type: string
  11475. cardfrontphotourl:
  11476. description: 证件正面图片地址
  11477. type: string
  11478. cardnum:
  11479. description: 证件号码
  11480. type: string
  11481. cardtype:
  11482. description: 证件类型
  11483. type: integer
  11484. cardtypename:
  11485. description: 证件类型名称
  11486. type: string
  11487. cityid:
  11488. description: 市
  11489. type: integer
  11490. cityname:
  11491. description: 城市名称
  11492. type: string
  11493. contactname:
  11494. description: 联系人
  11495. type: string
  11496. countryid:
  11497. description: 国家
  11498. type: integer
  11499. countryname:
  11500. description: 国家名称
  11501. type: string
  11502. createtime:
  11503. description: 创建时间
  11504. type: string
  11505. customername:
  11506. description: 客户名称
  11507. type: string
  11508. districtid:
  11509. description: 区域
  11510. type: integer
  11511. districtname:
  11512. description: 地区名称
  11513. type: string
  11514. email:
  11515. description: 邮件
  11516. type: string
  11517. legalpersonname:
  11518. description: 法人姓名(企业)
  11519. type: string
  11520. logincode:
  11521. description: 登录账号(代码)
  11522. type: string
  11523. memberuserid:
  11524. description: 所属机构ID(所属会员)
  11525. type: integer
  11526. memberusername:
  11527. description: 所属会员名称
  11528. type: string
  11529. mobile:
  11530. description: 手机号码
  11531. type: string
  11532. modifytime:
  11533. description: 修改时间
  11534. type: string
  11535. nickname:
  11536. description: 昵称
  11537. type: string
  11538. parentuserid:
  11539. description: 上级机构(所属机构)
  11540. type: integer
  11541. parentusername:
  11542. description: 所属机构名称
  11543. type: string
  11544. provinceid:
  11545. description: 省
  11546. type: integer
  11547. provincename:
  11548. description: 省名称
  11549. type: string
  11550. proxystatementurl:
  11551. description: 授权委托书
  11552. type: string
  11553. querytype:
  11554. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  11555. type: integer
  11556. remark:
  11557. description: 备注
  11558. type: string
  11559. sex:
  11560. description: 性别 0-女 1-男
  11561. type: integer
  11562. status:
  11563. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  11564. type: integer
  11565. statusdesc:
  11566. description: 账户状态中文描述
  11567. type: string
  11568. taxpayernum:
  11569. description: 纳税人识别号
  11570. type: string
  11571. telphone:
  11572. description: 联系电话
  11573. type: string
  11574. userid:
  11575. description: 用户ID
  11576. type: integer
  11577. userinfotype:
  11578. description: 客户类型 1-个人 2-企业
  11579. type: integer
  11580. username:
  11581. description: 用户名称
  11582. type: string
  11583. type: object
  11584. models.QhjMgrPickGoods:
  11585. properties:
  11586. enumdicname:
  11587. description: 单位名称(提货商品)
  11588. type: string
  11589. goodsid:
  11590. description: 商品id
  11591. type: integer
  11592. imageaddress:
  11593. description: 图片
  11594. type: string
  11595. modifierid:
  11596. description: 修改人
  11597. type: integer
  11598. modifiername:
  11599. description: 修改人名称
  11600. type: string
  11601. modifysrc:
  11602. description: 修改来源 - 1:管理端 2:终端
  11603. type: integer
  11604. pickupgoodsagreeunit:
  11605. description: 合约乘数
  11606. type: number
  11607. pickupgoodsdesc:
  11608. description: 描述
  11609. type: string
  11610. pickupgoodsid:
  11611. description: 提货商品ID
  11612. type: string
  11613. pickupgoodsname:
  11614. description: 提货商品名称
  11615. type: string
  11616. pickupgoodsstatus:
  11617. description: 状态 - 1:正常 2:停用 3:注销
  11618. type: integer
  11619. pickupgoodsunitid:
  11620. description: 单位ID
  11621. type: integer
  11622. pickupratio:
  11623. description: 提货系数
  11624. type: number
  11625. preparedays:
  11626. description: 备货期(天)
  11627. type: integer
  11628. remark:
  11629. description: 备注
  11630. type: string
  11631. updatetime:
  11632. description: 更新时间
  11633. type: string
  11634. type: object
  11635. models.QhjMgrPositionRsp:
  11636. properties:
  11637. accountid:
  11638. description: 账号Id
  11639. type: integer
  11640. accountname:
  11641. description: 用户名称
  11642. type: string
  11643. agreeunit:
  11644. description: 合约乘数
  11645. type: number
  11646. averageprice:
  11647. description: 均价
  11648. type: number
  11649. avialqty:
  11650. description: 可用数量
  11651. type: number
  11652. decimalplace:
  11653. description: 报价小数位
  11654. type: integer
  11655. enumdicname:
  11656. description: 单位名称(商品)
  11657. type: string
  11658. frozenqty:
  11659. description: 冻结数量
  11660. type: number
  11661. goodscode:
  11662. description: 商品代码(内部)
  11663. type: string
  11664. goodsid:
  11665. description: 商品Id
  11666. type: integer
  11667. goodsname:
  11668. description: 商品名称
  11669. type: string
  11670. goodunitid:
  11671. description: 报价单位ID
  11672. type: integer
  11673. holderamount:
  11674. description: 金额
  11675. type: number
  11676. holderqty:
  11677. description: 持有数量
  11678. type: number
  11679. holdertype:
  11680. description: 持仓类别 - 1:单边持仓 2:双边持仓
  11681. type: integer
  11682. logincode:
  11683. description: 登录代码(账户)
  11684. type: string
  11685. marketid:
  11686. description: 市场id
  11687. type: integer
  11688. qtydecimalplace:
  11689. description: 成交量小数位
  11690. type: integer
  11691. trademode:
  11692. description: 交易模式
  11693. type: integer
  11694. userid:
  11695. description: 用户id
  11696. type: integer
  11697. userinfotype:
  11698. description: 账户类型 1-个人 2-企业
  11699. type: integer
  11700. type: object
  11701. models.QhjMgrSubArea:
  11702. properties:
  11703. accountname:
  11704. description: 账户名称(机构名称)
  11705. type: string
  11706. memberuserid:
  11707. description: 所属会员ID
  11708. type: integer
  11709. parenttopuser:
  11710. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  11711. type: string
  11712. parentuserid:
  11713. description: 所属机构ID
  11714. type: integer
  11715. rootuserid:
  11716. description: 根用户ID
  11717. type: string
  11718. subaccountlevel:
  11719. description: 子账户层数
  11720. type: integer
  11721. subarealevelpath:
  11722. description: 子机构层级路径(逗号分隔,首尾加逗号)
  11723. type: string
  11724. userid:
  11725. description: 用户ID
  11726. type: integer
  11727. usertype:
  11728. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  11729. type: integer
  11730. type: object
  11731. models.QhjMgrTradeDetailRsp:
  11732. properties:
  11733. accountid:
  11734. description: 资金账号
  11735. type: integer
  11736. accountname:
  11737. description: 用户名称
  11738. type: string
  11739. agreeunit:
  11740. description: 合约乘数
  11741. type: number
  11742. buyorsell:
  11743. description: 成交类型(方向) 0:买 1:卖
  11744. type: integer
  11745. decimalplace:
  11746. description: 报价小数位
  11747. type: integer
  11748. enumdicname:
  11749. description: 单位名称(商品)
  11750. type: string
  11751. goodscode:
  11752. description: 商品代码(内部)
  11753. type: string
  11754. goodsid:
  11755. description: 商品id
  11756. type: integer
  11757. goodsname:
  11758. description: 商品名称
  11759. type: string
  11760. goodunitid:
  11761. description: 报价单位ID
  11762. type: integer
  11763. logincode:
  11764. description: 登录代码(账户)
  11765. type: string
  11766. marketid:
  11767. description: 市场id
  11768. type: integer
  11769. orderid:
  11770. description: 关联委托单号
  11771. type: string
  11772. qtydecimalplace:
  11773. description: 成交量小数位
  11774. type: integer
  11775. tradeamount:
  11776. description: 金额
  11777. type: number
  11778. tradedate:
  11779. description: 交易日
  11780. type: string
  11781. tradeid:
  11782. description: 成交单号
  11783. type: string
  11784. trademode:
  11785. description: 交易模式
  11786. type: integer
  11787. tradeprice:
  11788. description: 价格
  11789. type: number
  11790. tradeqty:
  11791. description: 数量
  11792. type: number
  11793. tradetime:
  11794. description: 成交时间
  11795. type: string
  11796. userid:
  11797. description: 用户id
  11798. type: integer
  11799. userinfotype:
  11800. description: 账户类型 1-个人 2-企业
  11801. type: integer
  11802. type: object
  11803. models.QhjMgrTradeOrderDetailRsp:
  11804. properties:
  11805. accountid:
  11806. description: 资金账号
  11807. type: integer
  11808. accountname:
  11809. description: 用户名称
  11810. type: string
  11811. agreeunit:
  11812. description: 合约乘数
  11813. type: number
  11814. amount:
  11815. description: 金额
  11816. type: number
  11817. decimalplace:
  11818. description: 报价小数位
  11819. type: integer
  11820. enumdicname:
  11821. description: 单位名称(商品)
  11822. type: string
  11823. goodscode:
  11824. description: 商品代码(内部)
  11825. type: string
  11826. goodsid:
  11827. description: 商品id
  11828. type: integer
  11829. goodsname:
  11830. description: 商品名称
  11831. type: string
  11832. goodunitid:
  11833. description: 报价单位ID
  11834. type: integer
  11835. logincode:
  11836. description: 登录代码(账户)
  11837. type: string
  11838. marketid:
  11839. description: 市场id
  11840. type: integer
  11841. orderid:
  11842. description: 关联委托单号
  11843. type: string
  11844. orderprice:
  11845. description: 价格
  11846. type: number
  11847. orderqty:
  11848. description: 数量
  11849. type: number
  11850. orderstatus:
  11851. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  11852. type: integer
  11853. ordertime:
  11854. description: 委托时间
  11855. type: string
  11856. qtydecimalplace:
  11857. description: 成交量小数位
  11858. type: integer
  11859. tradedate:
  11860. description: 交易日
  11861. type: string
  11862. trademode:
  11863. description: 交易模式
  11864. type: integer
  11865. userid:
  11866. description: 用户id
  11867. type: integer
  11868. userinfotype:
  11869. description: 账户类型 1-个人 2-企业
  11870. type: integer
  11871. type: object
  11872. models.QhjMgrTradePayOrder:
  11873. properties:
  11874. accountname:
  11875. description: 用户名称
  11876. type: string
  11877. advanceratio:
  11878. description: 首付比率
  11879. type: number
  11880. agreeunit:
  11881. description: 合约乘数
  11882. type: number
  11883. buyaccountid:
  11884. description: 买方账号ID[报价币种]
  11885. type: integer
  11886. buyorderid:
  11887. description: 买方委托单号(关联单号)
  11888. type: string
  11889. createtime:
  11890. description: 创建时间
  11891. type: string
  11892. decimalplace:
  11893. description: 报价小数位
  11894. type: integer
  11895. enumdicname:
  11896. description: 单位名称(商品)
  11897. type: string
  11898. goodscode:
  11899. description: 商品代码(内部)
  11900. type: string
  11901. goodsid:
  11902. description: 商品ID
  11903. type: integer
  11904. goodsname:
  11905. description: 商品名称
  11906. type: string
  11907. goodunitid:
  11908. description: 报价单位ID
  11909. type: integer
  11910. logincode:
  11911. description: 登录代码(账户)
  11912. type: string
  11913. marketid:
  11914. description: 市场id
  11915. type: integer
  11916. offamount:
  11917. description: 优惠金额
  11918. type: number
  11919. operatetype:
  11920. description: 买委托操作类型 - 1:正常下单 16:融资买入
  11921. type: integer
  11922. payamount:
  11923. description: 支付金额(金额)
  11924. type: number
  11925. payflag:
  11926. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  11927. type: integer
  11928. paylimitedtime:
  11929. description: 支付期限
  11930. type: string
  11931. paytime:
  11932. description: 付款时间
  11933. type: string
  11934. qtydecimalplace:
  11935. description: 成交量小数位
  11936. type: integer
  11937. sellaccountid:
  11938. description: 卖方账号ID[报价币种]
  11939. type: integer
  11940. sellorderid:
  11941. description: 卖方委托单号
  11942. type: string
  11943. tradeamount:
  11944. description: 成交金额(优惠后金额)
  11945. type: number
  11946. tradecharge:
  11947. description: 成交手续费(买方)
  11948. type: number
  11949. tradedate:
  11950. description: 交易日(yyyyMMdd)
  11951. type: string
  11952. tradeid:
  11953. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11954. type: string
  11955. trademode:
  11956. description: 交易模式
  11957. type: integer
  11958. tradeprice:
  11959. description: 成交价格(价格)
  11960. type: number
  11961. tradeqty:
  11962. description: 成交数量(数量)
  11963. type: number
  11964. tradetime:
  11965. description: 成交时间
  11966. type: string
  11967. userid:
  11968. description: 用户id
  11969. type: integer
  11970. userinfotype:
  11971. description: 账户类型 1-个人 2-企业
  11972. type: integer
  11973. type: object
  11974. models.QhjMyTeamEx:
  11975. properties:
  11976. accountname:
  11977. description: 用户名称
  11978. type: string
  11979. accountstatus:
  11980. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  11981. type: integer
  11982. createtime:
  11983. description: 创建时间
  11984. type: string
  11985. mobile:
  11986. description: 手机号码
  11987. type: string
  11988. refereeuserid:
  11989. description: 推荐人id
  11990. type: integer
  11991. refernum:
  11992. description: 推荐码
  11993. type: string
  11994. subList:
  11995. items:
  11996. $ref: '#/definitions/models.QhjMyTeamEx'
  11997. type: array
  11998. userid:
  11999. description: 用户id
  12000. type: integer
  12001. userinfotype:
  12002. description: 用户类型 1-个人 2-企业
  12003. type: integer
  12004. type: object
  12005. models.QhjNodeAgreementConfig:
  12006. properties:
  12007. agreementcontent:
  12008. description: 协议内容
  12009. type: string
  12010. agreementid:
  12011. description: 协议ID
  12012. type: integer
  12013. agreementname:
  12014. description: 协议名称
  12015. type: string
  12016. agreementno:
  12017. description: 协议编号
  12018. type: string
  12019. agreementtype:
  12020. description: 协议类型 - 1:注册 2:登录 3:交易
  12021. type: integer
  12022. agreementversion:
  12023. description: 协议版本号
  12024. type: integer
  12025. configid:
  12026. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  12027. type: integer
  12028. createtime:
  12029. description: 创建时间
  12030. type: string
  12031. goodsid:
  12032. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12033. type: integer
  12034. nodetype:
  12035. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12036. type: integer
  12037. type: object
  12038. models.QhjParentAreaList:
  12039. properties:
  12040. accountname:
  12041. description: 账户名称(机构名称)
  12042. type: string
  12043. userid:
  12044. description: 用户ID
  12045. type: integer
  12046. usertype:
  12047. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  12048. type: integer
  12049. type: object
  12050. models.QhjPayOrder:
  12051. properties:
  12052. advanceratio:
  12053. description: 首付比率
  12054. type: number
  12055. buyaccountid:
  12056. description: 买方账号ID[报价币种]
  12057. type: integer
  12058. buyorderid:
  12059. description: 买方委托单号
  12060. type: string
  12061. createtime:
  12062. description: 创建时间
  12063. type: string
  12064. decimalplace:
  12065. description: 商品报价小数位
  12066. type: integer
  12067. enumdicname:
  12068. description: 单位名称
  12069. type: string
  12070. goodscode:
  12071. description: 商品代码
  12072. type: string
  12073. goodsid:
  12074. description: 商品ID
  12075. type: integer
  12076. goodsname:
  12077. description: 商品名称
  12078. type: string
  12079. goodunitid:
  12080. description: 商品单位id
  12081. type: integer
  12082. marketid:
  12083. description: 市场ID
  12084. type: integer
  12085. offamount:
  12086. description: 优惠金额
  12087. type: number
  12088. operatetype:
  12089. description: 买委托操作类型 - 1:正常下单 16:融资买入
  12090. type: integer
  12091. payamount:
  12092. description: 支付金额
  12093. type: number
  12094. payflag:
  12095. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  12096. type: integer
  12097. paylimitedtime:
  12098. description: 支付期限
  12099. type: string
  12100. paytime:
  12101. description: 付款时间
  12102. type: string
  12103. qtydecimalplace:
  12104. description: 成交量小数位
  12105. type: integer
  12106. sellaccountid:
  12107. description: 卖方账号ID[报价币种]
  12108. type: integer
  12109. sellorderid:
  12110. description: 卖方委托单号
  12111. type: string
  12112. tradeamount:
  12113. description: 成交金额(优惠后金额)
  12114. type: number
  12115. tradecharge:
  12116. description: 成交手续费(买方)
  12117. type: number
  12118. tradedate:
  12119. description: 交易日(yyyyMMdd)
  12120. type: string
  12121. tradeid:
  12122. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12123. type: string
  12124. tradeprice:
  12125. description: 成交价格
  12126. type: number
  12127. tradeqty:
  12128. description: 成交数量
  12129. type: number
  12130. type: object
  12131. models.QhjPickArea:
  12132. properties:
  12133. address:
  12134. description: 详细地址
  12135. type: string
  12136. cityid:
  12137. description: 市
  12138. type: integer
  12139. cityname:
  12140. description: 城市名称
  12141. type: string
  12142. countryid:
  12143. description: 国家
  12144. type: integer
  12145. countryname:
  12146. description: 国家名称
  12147. type: string
  12148. districtid:
  12149. description: 地区
  12150. type: integer
  12151. districtname:
  12152. description: 地区名称
  12153. type: string
  12154. fromuserid:
  12155. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  12156. type: integer
  12157. fromusername:
  12158. description: 所属机构名称
  12159. type: string
  12160. provinceid:
  12161. description: 省
  12162. type: integer
  12163. provincename:
  12164. description: 省名称
  12165. type: string
  12166. suborgtype:
  12167. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  12168. type: integer
  12169. userid:
  12170. description: 机构用户ID 其他做市关系,都设置为 1
  12171. type: integer
  12172. username:
  12173. description: 机构用户名称(门店门称)
  12174. type: string
  12175. type: object
  12176. models.QhjPickGoods:
  12177. properties:
  12178. enumdicname:
  12179. description: 单位名称(提货商品)
  12180. type: string
  12181. goodsid:
  12182. description: 商品id
  12183. type: integer
  12184. imageaddress:
  12185. description: 图片
  12186. type: string
  12187. modifierid:
  12188. description: 修改人
  12189. type: integer
  12190. modifiername:
  12191. description: 修改人名称
  12192. type: string
  12193. modifysrc:
  12194. description: 修改来源 - 1:管理端 2:终端
  12195. type: integer
  12196. pickupgoodsagreeunit:
  12197. description: 合约乘数
  12198. type: number
  12199. pickupgoodsdesc:
  12200. description: 描述
  12201. type: string
  12202. pickupgoodsid:
  12203. description: 提货商品ID
  12204. type: string
  12205. pickupgoodsname:
  12206. description: 提货商品名称
  12207. type: string
  12208. pickupgoodsstatus:
  12209. description: 状态 - 1:正常 2:停用 3:注销
  12210. type: integer
  12211. pickupgoodsunitid:
  12212. description: 单位ID
  12213. type: integer
  12214. pickupratio:
  12215. description: 提货系数
  12216. type: number
  12217. preparedays:
  12218. description: 备货期(天)
  12219. type: integer
  12220. remark:
  12221. description: 备注
  12222. type: string
  12223. updatetime:
  12224. description: 更新时间
  12225. type: string
  12226. type: object
  12227. models.QhjRSTriggerLog:
  12228. properties:
  12229. accountid:
  12230. description: 用户资金账户
  12231. type: integer
  12232. accountname:
  12233. description: 账号名称(ACCOUNTID对应的名称)
  12234. type: string
  12235. currencyid:
  12236. description: 币种id
  12237. type: integer
  12238. currencyname:
  12239. description: 币种名称
  12240. type: string
  12241. decimalplace:
  12242. description: 商品报价小数位
  12243. type: integer
  12244. enumdicname:
  12245. description: 单位名称
  12246. type: string
  12247. goodscode:
  12248. description: 定投商品代码
  12249. type: string
  12250. goodsid:
  12251. description: 定投商品ID
  12252. type: integer
  12253. goodsname:
  12254. description: 定投商品名称
  12255. type: string
  12256. goodunitid:
  12257. description: 定投商品单位id
  12258. type: integer
  12259. logid:
  12260. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  12261. type: string
  12262. logincode:
  12263. description: 账号(登录代码)
  12264. type: string
  12265. qtydecimalplace:
  12266. description: 成交量小数位
  12267. type: integer
  12268. regularlycycle:
  12269. description: 定投频率 - 1:每周 2:每月
  12270. type: integer
  12271. regularlycyclevalue:
  12272. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  12273. type: string
  12274. regularlymode:
  12275. description: 定投方式 - 1:按数量 2:按金额
  12276. type: integer
  12277. regularlymodevalue:
  12278. description: 定投方式值 - 数量或金额
  12279. type: number
  12280. regularlystrategyid:
  12281. description: 定投策略ID
  12282. type: integer
  12283. retcode:
  12284. description: 错误码
  12285. type: string
  12286. tradeid:
  12287. description: 成交单ID
  12288. type: string
  12289. triggeramount:
  12290. description: 触发金额
  12291. type: number
  12292. triggerqty:
  12293. description: 触发数量
  12294. type: number
  12295. triggerstatus:
  12296. description: 触发状态 - 1:成功 2:失败
  12297. type: integer
  12298. triggertime:
  12299. description: 触发时间
  12300. type: string
  12301. triggertradedate:
  12302. description: 触发交易日
  12303. type: string
  12304. userid:
  12305. description: 所属用户ID
  12306. type: integer
  12307. userinfotype:
  12308. description: 用户类型 1-个人 2-企业
  12309. type: integer
  12310. username:
  12311. description: 用户名称(userid对应的名称)
  12312. type: string
  12313. type: object
  12314. models.QhjRStrategy:
  12315. properties:
  12316. accountid:
  12317. description: 用户资金账户
  12318. type: integer
  12319. accountname:
  12320. description: 账号名称(ACCOUNTID对应的名称)
  12321. type: string
  12322. currencyid:
  12323. description: 币种id
  12324. type: integer
  12325. currencyname:
  12326. description: 币种名称
  12327. type: string
  12328. decimalplace:
  12329. description: 商品报价小数位
  12330. type: integer
  12331. enumdicname:
  12332. description: 单位名称
  12333. type: string
  12334. goodscode:
  12335. description: 定投商品代码
  12336. type: string
  12337. goodsid:
  12338. description: 定投商品ID
  12339. type: integer
  12340. goodsname:
  12341. description: 定投商品名称
  12342. type: string
  12343. goodunitid:
  12344. description: 定投商品单位id
  12345. type: integer
  12346. lasteffecttradedate:
  12347. description: 最新生效交易日
  12348. type: string
  12349. laststoptradedate:
  12350. description: 最新暂停交易日
  12351. type: string
  12352. lasttriggertradedate:
  12353. description: 最新触发交易日
  12354. type: string
  12355. logincode:
  12356. description: 账号(登录代码)
  12357. type: string
  12358. nexttriggeramount:
  12359. description: 下次触发金额
  12360. type: number
  12361. nexttriggerdate:
  12362. description: 下次触发日期
  12363. type: string
  12364. nexttriggerqty:
  12365. description: 下次触发数量 [按小数位放大值]
  12366. type: number
  12367. qtydecimalplace:
  12368. description: 成交量小数位
  12369. type: integer
  12370. regularlycycle:
  12371. description: 定投频率 - 1:每周 2:每月
  12372. type: integer
  12373. regularlycyclevalue:
  12374. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  12375. type: string
  12376. regularlymode:
  12377. description: 定投方式 - 1:按数量 2:按金额
  12378. type: integer
  12379. regularlymodevalue:
  12380. description: 定投方式值 - 数量或金额
  12381. type: number
  12382. regularlystrategyid:
  12383. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  12384. type: integer
  12385. regularlystrategystatus:
  12386. description: 策略状态 - 1:正常 2:暂停 3:终止
  12387. type: integer
  12388. remark:
  12389. description: 备注
  12390. type: string
  12391. triggersuccesstimes:
  12392. description: 累计定投成功次数
  12393. type: string
  12394. triggertotalamount:
  12395. description: 累计定投金额(成功)
  12396. type: number
  12397. triggertotalqty:
  12398. description: 累计定投数量(成功) [按小数位放大值]
  12399. type: number
  12400. triggertotaltimes:
  12401. description: 累计定投总次数
  12402. type: string
  12403. updatesrc:
  12404. description: 更新来源 - 1:管理端 2:终端
  12405. type: integer
  12406. updatetime:
  12407. description: 更新时间
  12408. type: string
  12409. updatorid:
  12410. description: 更新人
  12411. type: string
  12412. userid:
  12413. description: 所属用户ID
  12414. type: integer
  12415. userinfotype:
  12416. description: 用户类型 1-个人 2-企业
  12417. type: integer
  12418. username:
  12419. description: 用户名称(userid对应的名称)
  12420. type: string
  12421. type: object
  12422. models.QhjReckonPriceLog:
  12423. properties:
  12424. decimalplace:
  12425. description: 商品报价小数位
  12426. type: integer
  12427. goodscode:
  12428. description: 商品代码
  12429. type: string
  12430. goodsid:
  12431. description: 商品ID
  12432. type: integer
  12433. goodsname:
  12434. description: 商品名称
  12435. type: string
  12436. lastreckonprice:
  12437. description: 上日结算价
  12438. type: number
  12439. nextdnlimitprice:
  12440. description: 下个交易日跌停价
  12441. type: number
  12442. nexttrade:
  12443. description: 下个交易日
  12444. type: string
  12445. nextuplimitprice:
  12446. description: 下个交易日涨停价
  12447. type: number
  12448. reckonprice:
  12449. description: 今日结算价(定投价)
  12450. type: number
  12451. reckontime:
  12452. description: 结算时间
  12453. type: string
  12454. totalholderqty:
  12455. description: 总持仓数
  12456. type: integer
  12457. totalstock:
  12458. description: 总库存
  12459. type: integer
  12460. tradedate:
  12461. description: 交易日
  12462. type: string
  12463. updowncount:
  12464. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  12465. type: integer
  12466. updownflag:
  12467. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  12468. type: integer
  12469. updownrate:
  12470. description: 今日涨跌幅
  12471. type: number
  12472. updownrate_2d:
  12473. description: 连续两日涨跌幅
  12474. type: number
  12475. updownrate_3d:
  12476. description: 连续三日涨跌幅
  12477. type: number
  12478. type: object
  12479. models.QhjScoreLog:
  12480. properties:
  12481. accountid:
  12482. description: 账户ID
  12483. type: integer
  12484. createtime:
  12485. description: 创建时间(时间)
  12486. type: string
  12487. goodsid:
  12488. description: 商品ID
  12489. type: integer
  12490. hasuploaded:
  12491. description: 是否已同步(千海金) 0:未同步 1;已同步
  12492. type: integer
  12493. logid:
  12494. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12495. type: string
  12496. marketid:
  12497. description: 市场ID
  12498. type: integer
  12499. relatedamount:
  12500. description: 关联金额
  12501. type: number
  12502. relatedorderid:
  12503. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  12504. type: string
  12505. scoreconfigvalue1:
  12506. description: 积分配置1
  12507. type: integer
  12508. scoreconfigvalue2:
  12509. description: 积分配置1
  12510. type: integer
  12511. scoretype:
  12512. description: 积分类型 - 1:提货积分
  12513. type: integer
  12514. scorevalue:
  12515. description: 积分
  12516. type: number
  12517. tradedate:
  12518. description: 交易日(yyyyMMdd)
  12519. type: string
  12520. uploadedtime:
  12521. description: 同步时间
  12522. type: string
  12523. userid:
  12524. description: 用户ID
  12525. type: integer
  12526. type: object
  12527. models.QhjSiteColumnDetail:
  12528. properties:
  12529. author:
  12530. description: 作者
  12531. type: string
  12532. brief:
  12533. description: 简介
  12534. type: string
  12535. columnid:
  12536. description: 所属栏目
  12537. type: integer
  12538. context:
  12539. description: 内容
  12540. type: string
  12541. coverimage:
  12542. description: 封面图片
  12543. type: string
  12544. creaedate:
  12545. description: 创建时间
  12546. type: string
  12547. creatorid:
  12548. description: 创建人
  12549. type: integer
  12550. hits:
  12551. description: 点击数
  12552. type: integer
  12553. id:
  12554. description: ID(SEQ_SITE_COLUMNDETAIL)
  12555. type: integer
  12556. isshow:
  12557. description: 是否展示 - 0:不展示 1:展示
  12558. type: integer
  12559. istop:
  12560. description: 是否置顶 - 0:不置 1:置顶
  12561. type: integer
  12562. modifierid:
  12563. description: 操作人
  12564. type: integer
  12565. publishdate:
  12566. description: 发布日期
  12567. type: string
  12568. status:
  12569. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  12570. type: integer
  12571. title:
  12572. description: 标题
  12573. type: string
  12574. updatedate:
  12575. description: 修改时间
  12576. type: string
  12577. userid:
  12578. description: 用户ID(默认为0, 核心为为机构用户ID)
  12579. type: integer
  12580. username:
  12581. description: 用户名称
  12582. type: string
  12583. type: object
  12584. models.QhjTeamOrder:
  12585. properties:
  12586. accountid:
  12587. description: 账户ID[报价币种]
  12588. type: integer
  12589. accountname:
  12590. description: 账户名称
  12591. type: string
  12592. agreeunit:
  12593. description: 合约乘数
  12594. type: number
  12595. buyorsell:
  12596. description: 方向 - 0:买 1:卖
  12597. type: integer
  12598. decimalplace:
  12599. description: 报价小数位
  12600. type: integer
  12601. enumdicname:
  12602. description: 单位名称
  12603. type: string
  12604. goodscode:
  12605. description: 商品代码(内部)
  12606. type: string
  12607. goodsid:
  12608. description: 商品ID
  12609. type: integer
  12610. goodsname:
  12611. description: 商品名称
  12612. type: string
  12613. goodunitid:
  12614. description: 报价单位ID
  12615. type: integer
  12616. marketid:
  12617. description: 市场ID
  12618. type: integer
  12619. marketname:
  12620. description: 市场名称
  12621. type: string
  12622. qtydecimalplace:
  12623. description: 成交量小数位
  12624. type: integer
  12625. refereeuserid:
  12626. description: 推荐人ID
  12627. type: integer
  12628. tradeamount:
  12629. description: 成交金额[账户币种,用于所有权]
  12630. type: number
  12631. tradedate:
  12632. description: 交易日(yyyyMMdd)
  12633. type: string
  12634. trademode:
  12635. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  12636. type: integer
  12637. tradeprice:
  12638. description: 成交价格
  12639. type: number
  12640. tradeqty:
  12641. description: 成交数量
  12642. type: number
  12643. tradetime:
  12644. description: 成交时间
  12645. type: string
  12646. userid:
  12647. description: 用户ID
  12648. type: integer
  12649. type: object
  12650. models.QhjTradeGoodsPickup:
  12651. properties:
  12652. accountid:
  12653. description: 账户ID
  12654. type: integer
  12655. address:
  12656. description: 提货人详细地址
  12657. type: string
  12658. amount:
  12659. description: 提货金额
  12660. type: number
  12661. artradedate:
  12662. description: 自动收货交易日(yyyyMMdd)
  12663. type: string
  12664. auditer:
  12665. description: 审核人
  12666. type: integer
  12667. auditsrc:
  12668. description: 更新来源 - 1:管理端 2:终端
  12669. type: integer
  12670. audittime:
  12671. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  12672. type: string
  12673. audittradedate:
  12674. description: 审核交易日(yyyyMMdd)
  12675. type: string
  12676. cardnum:
  12677. description: 提货人证件号码
  12678. type: string
  12679. cardtypeid:
  12680. description: 提货人证件类型
  12681. type: integer
  12682. checkremark:
  12683. description: 审核备注
  12684. type: string
  12685. cityid:
  12686. description: 市
  12687. type: integer
  12688. cityname:
  12689. description: 城市名称
  12690. type: string
  12691. confirmtime:
  12692. description: 取货时间 或 收货时间
  12693. type: string
  12694. countryid:
  12695. description: 国家
  12696. type: integer
  12697. countryname:
  12698. description: 国家名称
  12699. type: string
  12700. decimalplace:
  12701. description: 商品报价小数位
  12702. type: integer
  12703. districtid:
  12704. description: 地区
  12705. type: integer
  12706. districtname:
  12707. description: 地区名称
  12708. type: string
  12709. enumdicname:
  12710. description: 单位名称(提货商品)
  12711. type: string
  12712. expresscompany:
  12713. description: 物流公司
  12714. type: string
  12715. expressnum:
  12716. description: 物流单号
  12717. type: string
  12718. goodsagreeunit:
  12719. description: 交易商品乘数
  12720. type: number
  12721. goodscode:
  12722. description: 商品代码
  12723. type: string
  12724. goodsid:
  12725. description: 商品ID
  12726. type: integer
  12727. goodsname:
  12728. description: 商品名称
  12729. type: string
  12730. goodsqty:
  12731. description: 交易商品手数(69模式按成交量小数位放大取整)
  12732. type: number
  12733. handlestatus:
  12734. description: 处理状态
  12735. type: integer
  12736. logincode:
  12737. description: 账号(登录代码, 有可能为空)
  12738. type: string
  12739. marketid:
  12740. description: 市场ID
  12741. type: integer
  12742. phonenum:
  12743. description: 提货人联系方式
  12744. type: string
  12745. pickupgoodsagreeunit:
  12746. description: 提货商品合约乘数
  12747. type: number
  12748. pickupgoodsid:
  12749. description: 提货商品ID
  12750. type: string
  12751. pickupgoodsname:
  12752. description: 提货商品名称
  12753. type: string
  12754. pickupgoodsqty:
  12755. description: 提货商品手数(数量)
  12756. type: number
  12757. pickupgoodsunitid:
  12758. description: 单位ID(提货商品)
  12759. type: integer
  12760. pickupratio:
  12761. description: 提货系数
  12762. type: number
  12763. preparedays:
  12764. description: 备货期(天)-提货单明细表
  12765. type: integer
  12766. provinceid:
  12767. description: 省
  12768. type: integer
  12769. provincename:
  12770. description: 省名称
  12771. type: string
  12772. qty:
  12773. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  12774. type: number
  12775. qtydecimalplace:
  12776. description: 商品数量小数位
  12777. type: integer
  12778. recivername:
  12779. description: 提货人姓名
  12780. type: string
  12781. reqtime:
  12782. description: 提货申请时间
  12783. type: string
  12784. storeuserid:
  12785. description: 门店用户ID (千海金)
  12786. type: integer
  12787. storeusername:
  12788. description: 门店用户名称
  12789. type: string
  12790. takemode:
  12791. description: 提货方式 - 2:自提 3:配送(邮寄)
  12792. type: integer
  12793. takeorderid:
  12794. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  12795. type: string
  12796. takeorderstatus:
  12797. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销
  12798. type: integer
  12799. takeremark:
  12800. description: 提货备注
  12801. type: string
  12802. tradedate:
  12803. description: 交易日(yyyyMMdd)
  12804. type: string
  12805. updatetime:
  12806. description: 更新时间
  12807. type: string
  12808. userid:
  12809. description: 用户ID
  12810. type: integer
  12811. userinfotype:
  12812. description: 客户类型 1-个人 2-企业
  12813. type: integer
  12814. username:
  12815. description: 用户名称
  12816. type: string
  12817. type: object
  12818. models.QhjUserNodeCfgAndStatus:
  12819. properties:
  12820. agreementcontent:
  12821. description: 协议内容
  12822. type: string
  12823. agreementid:
  12824. description: 协议ID
  12825. type: integer
  12826. agreementname:
  12827. description: 协议名称
  12828. type: string
  12829. agreementno:
  12830. description: 协议编号
  12831. type: string
  12832. agreementtype:
  12833. description: 协议类型 - 1:注册 2:登录 3:交易
  12834. type: integer
  12835. agreementversion:
  12836. description: 协议版本号
  12837. type: integer
  12838. configid:
  12839. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  12840. type: integer
  12841. createtime:
  12842. description: 创建时间
  12843. type: string
  12844. goodsid:
  12845. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12846. type: integer
  12847. nodetype:
  12848. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12849. type: integer
  12850. signtimestamp:
  12851. description: 签约状态时间戳(最近一次)
  12852. type: string
  12853. tradedate:
  12854. description: 签约交易日(yyyyMMdd)
  12855. type: string
  12856. userid:
  12857. description: 客户ID
  12858. type: integer
  12859. type: object
  12860. models.Qhjgoodsex:
  12861. properties:
  12862. canfinance:
  12863. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  12864. type: integer
  12865. canregularlybuy:
  12866. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  12867. type: integer
  12868. defaulttradeuserid:
  12869. description: 默认交易用户ID
  12870. type: integer
  12871. deliverygoodsid:
  12872. description: 现货品种ID
  12873. type: integer
  12874. goodsid:
  12875. description: 商品ID(自增ID SEQ_GOODS)
  12876. type: integer
  12877. minamount:
  12878. description: 最小购买金额
  12879. type: number
  12880. regularlybuyminamount:
  12881. description: 定投最小金额
  12882. type: number
  12883. regularlybuyminqty:
  12884. description: 定投最小数量
  12885. type: number
  12886. spotgoodsbrandid:
  12887. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  12888. type: integer
  12889. visibilityforenterprise:
  12890. description: 企业客户是否可见 - 0:不可见 1:可见
  12891. type: integer
  12892. visibilityforpersonal:
  12893. description: 个人客户是否可见 - 0:不可见 1:可见
  12894. type: integer
  12895. wrstandardid:
  12896. description: 现货商品ID
  12897. type: integer
  12898. type: object
  12899. models.QueryErrorInfosRsp:
  12900. properties:
  12901. description:
  12902. description: 异常描述
  12903. type: string
  12904. errorcode:
  12905. description: 异常代码
  12906. type: string
  12907. errorid:
  12908. description: 异常ID
  12909. type: integer
  12910. modulecode:
  12911. description: 所属模块
  12912. type: string
  12913. operatecode:
  12914. description: 所属操作
  12915. type: string
  12916. rownumber:
  12917. description: 行号
  12918. type: string
  12919. required:
  12920. - errorid
  12921. type: object
  12922. models.QueryHedgeOrderDetailRsp:
  12923. properties:
  12924. accountid:
  12925. description: 账户ID
  12926. type: integer
  12927. buyorsell:
  12928. description: 买卖 - 0:买 1:卖
  12929. type: integer
  12930. cancellogincode:
  12931. description: 撤单人
  12932. type: string
  12933. channelbuildtype:
  12934. description: 开平标志 - 0:无 1:建仓 2:平仓
  12935. type: integer
  12936. channelinnerorderstatus:
  12937. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交
  12938. type: integer
  12939. channeloperatetype:
  12940. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  12941. type: integer
  12942. closetype:
  12943. description: 平仓方式 - 0:无 1:平今 2:平昨
  12944. type: integer
  12945. curexchangerate:
  12946. description: 当前汇率
  12947. type: number
  12948. exchangefullname:
  12949. description: 外部交易所全称
  12950. type: string
  12951. goodscode:
  12952. description: 商品代码(内部)
  12953. type: string
  12954. goodsid:
  12955. description: 商品ID
  12956. type: integer
  12957. goodsname:
  12958. description: 商品名称
  12959. type: string
  12960. marketid:
  12961. description: 市场ID
  12962. type: integer
  12963. openfreezemargin:
  12964. description: 冻结保证金(冻结交易金额)
  12965. type: number
  12966. orderid:
  12967. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12968. type: string
  12969. orderlogincode:
  12970. description: 委托人
  12971. type: string
  12972. orderprice:
  12973. description: 委托价格(账户)
  12974. type: number
  12975. orderqty:
  12976. description: 委托数量
  12977. type: integer
  12978. ordertime:
  12979. description: 委托时间
  12980. type: string
  12981. pricemode:
  12982. description: '取价方式 - 1:市价 2: 限价'
  12983. type: integer
  12984. tradedate:
  12985. description: 交易日(yyyyMMdd)
  12986. type: string
  12987. tradeqty:
  12988. description: 成交数量
  12989. type: integer
  12990. type: object
  12991. models.QueryHedgeTradeDetailRsp:
  12992. properties:
  12993. accountid:
  12994. description: 账号ID
  12995. type: integer
  12996. buyorsell:
  12997. description: 方向 - 0:买 1:卖
  12998. type: integer
  12999. channelbuildtype:
  13000. description: 委托单据类型 0:无 1:建仓 2:平仓
  13001. type: integer
  13002. closecharge:
  13003. description: 平仓手续费(账户)
  13004. type: number
  13005. closecharge2:
  13006. description: 平仓手续费(商品)
  13007. type: number
  13008. closepl:
  13009. description: 平仓盈亏(账户)
  13010. type: number
  13011. closepl2:
  13012. description: 平仓盈亏(商品)
  13013. type: number
  13014. closepl3:
  13015. description: 平仓盈亏(账户)(逐笔)
  13016. type: number
  13017. closepl4:
  13018. description: 平仓盈亏(商品)(逐笔)
  13019. type: number
  13020. closetype:
  13021. description: 平仓方式 - 0:无 1:平今 2:平昨
  13022. type: integer
  13023. curexchangerate:
  13024. description: 当前汇率
  13025. type: number
  13026. exchangefullname:
  13027. description: 外部交易所全称
  13028. type: string
  13029. goodscode:
  13030. description: 商品代码(内部)
  13031. type: string
  13032. goodsid:
  13033. description: 商品ID
  13034. type: integer
  13035. goodsname:
  13036. description: 商品名称
  13037. type: string
  13038. marketid:
  13039. description: 市场ID
  13040. type: integer
  13041. opencharge:
  13042. description: 建仓手续费(账户)
  13043. type: number
  13044. opencharge2:
  13045. description: 建仓手续费(商品)
  13046. type: number
  13047. orderid:
  13048. description: 委托单号
  13049. type: string
  13050. orderlogincode:
  13051. description: 委托人
  13052. type: string
  13053. tradeamount:
  13054. description: 成交金额(账户)
  13055. type: number
  13056. tradedate:
  13057. description: 交易日(yyyyMMdd)
  13058. type: string
  13059. tradeid:
  13060. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13061. type: string
  13062. tradeprice:
  13063. description: 成交价格
  13064. type: number
  13065. tradeqty:
  13066. description: 成交数量
  13067. type: integer
  13068. tradetime:
  13069. description: 成交时间
  13070. type: string
  13071. tradetype:
  13072. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  13073. type: integer
  13074. type: object
  13075. models.QuotePrimaryMenu:
  13076. properties:
  13077. Index:
  13078. description: 序号
  13079. type: integer
  13080. Key:
  13081. description: 键名
  13082. type: string
  13083. Name:
  13084. description: 菜单名称
  13085. type: string
  13086. SubMenus:
  13087. description: 子菜单
  13088. items:
  13089. $ref: '#/definitions/models.QuoteSecondaryMenu'
  13090. type: array
  13091. SubTitleType:
  13092. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  13093. type: integer
  13094. TradeModes:
  13095. description: 包含市场交易类型
  13096. type: string
  13097. type: object
  13098. models.QuoteSecondaryMenu:
  13099. properties:
  13100. ExExchangeCode:
  13101. description: 外部交易所代码
  13102. type: string
  13103. ExExchangeID:
  13104. description: 外部交易所ID
  13105. type: integer
  13106. GoodsGroupIDs:
  13107. description: 商品组ID列表
  13108. items:
  13109. type: integer
  13110. type: array
  13111. Index:
  13112. description: 序号
  13113. type: integer
  13114. MarketID:
  13115. description: 市场ID
  13116. type: integer
  13117. MenuTitle:
  13118. description: 菜单标题(市场名称或外部交易所名称)
  13119. type: string
  13120. TradeMode:
  13121. description: 交易模式
  13122. type: integer
  13123. type: object
  13124. models.RoleMenu:
  13125. properties:
  13126. hasright:
  13127. description: 是否有权限 0-没有权限 1-有权限
  13128. type: integer
  13129. iconame:
  13130. description: 菜单图标
  13131. type: string
  13132. menutype:
  13133. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  13134. type: integer
  13135. parentcode:
  13136. description: 上级资源代码
  13137. type: string
  13138. remark:
  13139. description: 菜单备注
  13140. type: string
  13141. resourcecode:
  13142. description: 菜单代码
  13143. type: string
  13144. resourcelevel:
  13145. description: 级别
  13146. type: integer
  13147. resourcename:
  13148. description: 菜单名称
  13149. type: string
  13150. roleid:
  13151. description: 角色id
  13152. type: integer
  13153. sort:
  13154. description: 排序
  13155. type: integer
  13156. subMenu:
  13157. description: 子级菜单(结构同上层一样, swag解析不出来)
  13158. items:
  13159. $ref: '#/definitions/models.RoleMenu'
  13160. type: array
  13161. url:
  13162. description: URL
  13163. type: string
  13164. userid:
  13165. description: 用户id
  13166. type: integer
  13167. type: object
  13168. models.SearchGoods:
  13169. properties:
  13170. goodscode:
  13171. description: 商品代码(内部)
  13172. type: string
  13173. goodsid:
  13174. description: 商品ID(自增ID SEQ_GOODS)
  13175. type: integer
  13176. goodsname:
  13177. description: 商品名称
  13178. type: string
  13179. marketid:
  13180. description: 所属市场ID
  13181. type: integer
  13182. marketname:
  13183. description: 市场名称
  13184. type: string
  13185. trademode:
  13186. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  13187. type: integer
  13188. required:
  13189. - goodscode
  13190. - goodsid
  13191. - goodsname
  13192. - marketid
  13193. - trademode
  13194. type: object
  13195. models.Systemparam:
  13196. properties:
  13197. loginid:
  13198. description: 更新用户账号,登录账号
  13199. type: string
  13200. modifyflag:
  13201. description: 修改标志0 不允许修改 1 允许修改
  13202. type: integer
  13203. paramcode:
  13204. description: 参数代码
  13205. type: string
  13206. paramname:
  13207. description: 参数名
  13208. type: string
  13209. paramtype:
  13210. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  13211. type: integer
  13212. paramvalue:
  13213. description: 参数值
  13214. type: string
  13215. paramvalue2:
  13216. description: 参数值(CLOB)
  13217. type: string
  13218. regexpress:
  13219. description: 正则表达式
  13220. type: string
  13221. remark:
  13222. description: 备注
  13223. type: string
  13224. serverip:
  13225. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  13226. type: string
  13227. showflag:
  13228. description: 是否显示0 不显示 1 显示
  13229. type: integer
  13230. updatetime:
  13231. description: 更新时间
  13232. type: string
  13233. userid:
  13234. description: 更新用户ID
  13235. type: integer
  13236. required:
  13237. - paramcode
  13238. type: object
  13239. models.Szdz3convertconfig:
  13240. properties:
  13241. canin:
  13242. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  13243. type: integer
  13244. canout:
  13245. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  13246. type: integer
  13247. converttype:
  13248. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)
  13249. type: integer
  13250. createtime:
  13251. description: 创建时间
  13252. type: string
  13253. creatorid:
  13254. description: 创建人
  13255. type: integer
  13256. daymaxvalue:
  13257. description: 当日最大转入限制
  13258. type: number
  13259. freezedays:
  13260. description: 冻结天数 [5:花生米转交易]
  13261. type: integer
  13262. innergoodsid:
  13263. description: 内部商品ID[交易]
  13264. type: integer
  13265. inratio:
  13266. description: 目标值
  13267. type: integer
  13268. modifierid:
  13269. description: 修改人
  13270. type: integer
  13271. modifytime:
  13272. description: 修改时间
  13273. type: string
  13274. outergoodscode:
  13275. description: 外部商品代码[JD\PD]
  13276. type: string
  13277. outratio:
  13278. description: 源值
  13279. type: integer
  13280. pddecimalplace:
  13281. description: PD小数位
  13282. type: integer
  13283. timemaxvalue:
  13284. description: 单次最大转入限制
  13285. type: number
  13286. timeminvalue:
  13287. description: 单次最小转入限制
  13288. type: number
  13289. required:
  13290. - converttype
  13291. - innergoodsid
  13292. - outergoodscode
  13293. type: object
  13294. models.Szdz3searchwhitelist:
  13295. properties:
  13296. createtime:
  13297. description: 创建时间
  13298. type: string
  13299. creatorid:
  13300. description: 创建人
  13301. type: integer
  13302. modifierid:
  13303. description: 修改人
  13304. type: integer
  13305. modifytime:
  13306. description: 修改时间
  13307. type: string
  13308. userid:
  13309. description: 用户ID
  13310. type: integer
  13311. required:
  13312. - userid
  13313. type: object
  13314. models.TBGoods:
  13315. properties:
  13316. agreeunit:
  13317. description: 合约乘数
  13318. type: number
  13319. enumdicname:
  13320. description: 单位名称
  13321. type: string
  13322. goodscode:
  13323. description: 商品代码(内部)
  13324. type: string
  13325. goodsid:
  13326. description: 商品ID(自增ID SEQ_GOODS)
  13327. type: integer
  13328. goodsname:
  13329. description: 商品名称
  13330. type: string
  13331. type: object
  13332. models.TBGoodsGroup:
  13333. properties:
  13334. convertratio:
  13335. description: 折算系数
  13336. type: number
  13337. enumdicname:
  13338. description: 单位名称
  13339. type: string
  13340. exexchangecode:
  13341. description: 交易所代码
  13342. type: string
  13343. exexchangename:
  13344. description: 交易所名称
  13345. type: string
  13346. gdlst:
  13347. description: 商品列表
  13348. items:
  13349. $ref: '#/definitions/models.TBGoods'
  13350. type: array
  13351. goodsgroupid:
  13352. description: 商品组ID(自增ID)
  13353. type: integer
  13354. goodsgroupname:
  13355. description: 商品组名称
  13356. type: string
  13357. goodunitid:
  13358. description: 报价单位ID
  13359. type: integer
  13360. type: object
  13361. models.TBMiddleGoods:
  13362. properties:
  13363. areauserid:
  13364. description: 机构用户ID
  13365. type: integer
  13366. enumdicname:
  13367. description: 单位名称
  13368. type: string
  13369. goodsunitid:
  13370. description: 套保品种单位id
  13371. type: integer
  13372. gplst:
  13373. description: 期货品种列表
  13374. items:
  13375. $ref: '#/definitions/models.TBGoodsGroup'
  13376. type: array
  13377. middlegoodscode:
  13378. description: 套保品种代码
  13379. type: string
  13380. middlegoodsid:
  13381. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  13382. type: integer
  13383. middlegoodsname:
  13384. description: 套保品种名称
  13385. type: string
  13386. needarbitrageratio:
  13387. description: 套利比率
  13388. type: number
  13389. needhedgeratio:
  13390. description: 套保比率
  13391. type: number
  13392. wdlst:
  13393. description: 商品信息列表(现货品类)
  13394. items:
  13395. $ref: '#/definitions/models.TBWrstandard'
  13396. type: array
  13397. type: object
  13398. models.TBWrstandard:
  13399. properties:
  13400. convertratio:
  13401. description: 折算系数
  13402. type: number
  13403. deliverygoodsname:
  13404. description: 品种名称
  13405. type: string
  13406. enumdicname:
  13407. description: 单位名称
  13408. type: string
  13409. vatrate:
  13410. description: 增值税率
  13411. type: number
  13412. wrstandardcode:
  13413. description: 现货商品代码
  13414. type: string
  13415. wrstandardid:
  13416. description: 现货商品ID(SEQ_WRSTANDARD)
  13417. type: integer
  13418. wrstandardname:
  13419. description: 现货商品名称
  13420. type: string
  13421. type: object
  13422. models.Taaccount:
  13423. properties:
  13424. accountflag:
  13425. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  13426. type: integer
  13427. accountid:
  13428. description: 资金账户ID
  13429. type: integer
  13430. accountname:
  13431. description: 账户名称
  13432. type: string
  13433. balance:
  13434. description: 期初余额
  13435. type: number
  13436. capitalbalance:
  13437. description: 本金余额[外部子账户实际出入金余额]
  13438. type: number
  13439. changeflag:
  13440. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  13441. type: integer
  13442. changetime:
  13443. description: 账户状态变更时间
  13444. type: string
  13445. closepl:
  13446. description: 今日平仓盈亏
  13447. type: number
  13448. creditdecrease:
  13449. description: 今日授信减少
  13450. type: number
  13451. creditincrease:
  13452. description: 今日授信增加
  13453. type: number
  13454. curamount:
  13455. description: 总市值(从持仓中统计)
  13456. type: number
  13457. currencyid:
  13458. description: 货币ID
  13459. type: integer
  13460. currentbalance:
  13461. description: 期末余额
  13462. type: number
  13463. freezecharge:
  13464. description: 手续费冻结
  13465. type: number
  13466. freezemargin:
  13467. description: 冻结保证金
  13468. type: number
  13469. fromaccountid:
  13470. description: 所属上级账户
  13471. type: integer
  13472. inamount:
  13473. description: 今日入金金额(包括三方入金)
  13474. type: number
  13475. ismain:
  13476. description: 是否母账号 0:不是母账户 1:是母账户
  13477. type: integer
  13478. ismarketaccount:
  13479. description: 是否机构接单账号 0:不是 1:是
  13480. type: integer
  13481. isreckonaccount:
  13482. description: 是否机构分润账号 0:不是 1:是
  13483. type: integer
  13484. mortgagecredit:
  13485. description: 授信金额
  13486. type: number
  13487. orifreezecharge:
  13488. description: 期初手续费冻结
  13489. type: number
  13490. orifreezemargin:
  13491. description: 期初冻结保证金
  13492. type: number
  13493. orimortgagecredit:
  13494. description: 期初授信金额
  13495. type: number
  13496. oriothercredit:
  13497. description: 期初其它授信金额
  13498. type: number
  13499. oriotherfreezemargin:
  13500. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  13501. type: number
  13502. orioutamountfreeze:
  13503. description: 期初出金冻结
  13504. type: number
  13505. oriusedmargin:
  13506. description: 期初占用保证金
  13507. type: number
  13508. othercredit:
  13509. description: 其它授信金额
  13510. type: number
  13511. othercreditdecrease:
  13512. description: 今日其它授信减少
  13513. type: number
  13514. othercreditincrease:
  13515. description: 今日其它授信增加
  13516. type: number
  13517. otherfreezemargin:
  13518. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  13519. type: number
  13520. otherincome:
  13521. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  13522. type: number
  13523. otherpay:
  13524. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  13525. type: number
  13526. outamount:
  13527. description: 今日出金金额(包括三方出金)
  13528. type: number
  13529. outamountfreeze:
  13530. description: 出金冻结
  13531. type: number
  13532. outthreshold:
  13533. description: 出金阈值
  13534. type: number
  13535. parentaccountid:
  13536. description: 所属根账号
  13537. type: integer
  13538. paycharge:
  13539. description: 今日手续费支出
  13540. type: number
  13541. relatedaccountstatus:
  13542. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  13543. type: integer
  13544. relateduserid:
  13545. description: 关联用户
  13546. type: integer
  13547. remainamount:
  13548. description: 融资额(从融资合同中统计)
  13549. type: number
  13550. serivcegroup:
  13551. description: 服务分组
  13552. type: integer
  13553. signstatus:
  13554. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  13555. type: integer
  13556. sublevelpath:
  13557. description: 账号层级路径(逗号分隔,首尾加逗号)
  13558. type: string
  13559. taaccounttype:
  13560. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  13561. type: integer
  13562. thirdinamount:
  13563. description: 今日三方入金
  13564. type: number
  13565. thirdoutamount:
  13566. description: 今日三方出金
  13567. type: number
  13568. tradestatus:
  13569. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  13570. type: integer
  13571. tradestatuschangetime:
  13572. description: 激活时间
  13573. type: string
  13574. transferamount:
  13575. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  13576. type: number
  13577. usedmargin:
  13578. description: 占用保证金
  13579. type: number
  13580. userid:
  13581. description: 用户ID
  13582. type: integer
  13583. required:
  13584. - accountid
  13585. - userid
  13586. type: object
  13587. models.Tablecolumnconfig:
  13588. properties:
  13589. aligntype:
  13590. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  13591. type: integer
  13592. autoid:
  13593. description: AutoID
  13594. type: integer
  13595. columnfield:
  13596. description: 列字段
  13597. type: string
  13598. columntitle:
  13599. description: 列Title
  13600. type: string
  13601. columnwidth:
  13602. description: 列宽
  13603. type: string
  13604. formatterstring:
  13605. description: 格式化字符
  13606. type: string
  13607. formattertype:
  13608. description: 格式化类型
  13609. type: string
  13610. groupname:
  13611. description: 表头分组名称
  13612. type: string
  13613. isshow:
  13614. description: 是否显示 - 0:不显示 1:显示
  13615. type: integer
  13616. needsummary:
  13617. description: 是否需要汇总 - 0:不需要 1:需要
  13618. type: integer
  13619. orderindex:
  13620. description: 顺序
  13621. type: integer
  13622. remark:
  13623. description: 备注
  13624. type: string
  13625. summarytype:
  13626. description: 汇总类型 - 1:加总 2:最后一个
  13627. type: integer
  13628. tablekey:
  13629. description: 列表Key
  13630. type: string
  13631. required:
  13632. - autoid
  13633. type: object
  13634. models.TjmdQuoteGoods:
  13635. properties:
  13636. buyqty:
  13637. description: 买量(暂不做, 无值, 保留字段)
  13638. type: number
  13639. goodscode:
  13640. description: 合约代码
  13641. type: string
  13642. goodsgroupid:
  13643. description: 商品组ID(自增ID)
  13644. type: integer
  13645. goodsgroupname:
  13646. description: 商品组名称
  13647. type: string
  13648. goodsid:
  13649. description: 合约id
  13650. type: integer
  13651. goodsname:
  13652. description: 合约名称
  13653. type: string
  13654. refgoodscode:
  13655. description: 标的合约代码
  13656. type: string
  13657. refgoodsid:
  13658. description: 标的合约id
  13659. type: integer
  13660. refgoodsname:
  13661. description: 标的合约名称
  13662. type: string
  13663. sellqty:
  13664. description: 卖量(暂不做, 无值, 保留字段)
  13665. type: number
  13666. type: object
  13667. models.TjmdTodayAccountMargin:
  13668. properties:
  13669. accountid:
  13670. description: 账号ID
  13671. type: integer
  13672. goodsid:
  13673. description: 商品ID
  13674. type: integer
  13675. infoc:
  13676. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  13677. description: 配置参数
  13678. marketid:
  13679. description: 市场ID
  13680. type: integer
  13681. type: object
  13682. models.TjmdTradeOrderDetail:
  13683. properties:
  13684. buyorsell:
  13685. description: 买卖方向 0-买 1-卖
  13686. type: integer
  13687. goodsid:
  13688. description: 商品id
  13689. type: integer
  13690. marketmaxsub:
  13691. description: 市价最大偏移范围 [浮动价 - 点差]
  13692. type: number
  13693. orderid:
  13694. description: 委托单号
  13695. type: string
  13696. orderprice:
  13697. description: 委托价格
  13698. type: number
  13699. orderqty:
  13700. description: 委托数量
  13701. type: integer
  13702. pricemode:
  13703. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  13704. type: integer
  13705. userid:
  13706. description: 用户id
  13707. type: integer
  13708. username:
  13709. description: 用户名称(已脱敏)
  13710. type: string
  13711. type: object
  13712. models.TjmdTransferApply:
  13713. properties:
  13714. applyid:
  13715. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  13716. type: integer
  13717. applystatus:
  13718. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  13719. type: integer
  13720. applytime:
  13721. description: 申请时间(时间)
  13722. type: string
  13723. auditremark:
  13724. description: 审核备注(拒绝原因?)
  13725. type: string
  13726. buyorsell:
  13727. description: 买卖 - 0:买 1:卖
  13728. type: integer
  13729. goodscode:
  13730. description: 商品代码
  13731. type: string
  13732. goodsid:
  13733. description: 商品ID
  13734. type: integer
  13735. goodsname:
  13736. description: 商品名称
  13737. type: string
  13738. marketid:
  13739. description: 市场ID
  13740. type: integer
  13741. qty:
  13742. description: 转让数量(数量)
  13743. type: number
  13744. tradeid:
  13745. description: 成交单号(关联持仓)
  13746. type: string
  13747. transferamount:
  13748. description: 转让总金额(金额)
  13749. type: number
  13750. transferprice:
  13751. description: 转让价格(协议价格)
  13752. type: number
  13753. type: object
  13754. models.TradeHolderDetail:
  13755. properties:
  13756. accountid:
  13757. description: 账号ID
  13758. type: integer
  13759. agreeunit:
  13760. description: 合约乘数
  13761. type: number
  13762. buyorsell:
  13763. description: 方向 - 0:买 1:卖
  13764. type: integer
  13765. currencyid:
  13766. description: 商品币种id
  13767. type: integer
  13768. currencyname:
  13769. description: 币种名称
  13770. type: string
  13771. decimalplace:
  13772. description: 商品价格小数位
  13773. type: integer
  13774. enumdicname:
  13775. description: 商品单位名称
  13776. type: string
  13777. expirecycle:
  13778. description: 行权周期(天) - 1:滚动行权时填写
  13779. type: integer
  13780. expiredate:
  13781. description: 行权日(yyyyMMdd) - 到期日
  13782. type: string
  13783. expiretype:
  13784. description: 行权日类型 - 1:滚动行权 2:固定日行权
  13785. type: integer
  13786. freezeqty:
  13787. description: 冻结数量
  13788. type: number
  13789. goodscode:
  13790. description: 商品代码
  13791. type: string
  13792. goodsid:
  13793. description: 商品ID
  13794. type: integer
  13795. goodsname:
  13796. description: 商品名称
  13797. type: string
  13798. goodunitid:
  13799. description: 商品单位id
  13800. type: integer
  13801. holderamount:
  13802. description: 持仓金额
  13803. type: number
  13804. holdercredit:
  13805. description: 持仓授信金额
  13806. type: number
  13807. holderdays:
  13808. description: 剩余冻结天数
  13809. type: integer
  13810. holderprice:
  13811. description: 持仓价格
  13812. type: number
  13813. holderqty:
  13814. description: 持仓数量
  13815. type: number
  13816. isconfirmexercise:
  13817. description: 是否确认行权- 0:否 1:是
  13818. type: integer
  13819. ispreexercise:
  13820. description: 是否预申报- 0:否 1:是 2:不可行权
  13821. type: integer
  13822. marketid:
  13823. description: 市场id
  13824. type: integer
  13825. marketname:
  13826. description: 市场名称
  13827. type: string
  13828. openprice:
  13829. description: 建仓价格
  13830. type: number
  13831. openqty:
  13832. description: 建仓数量
  13833. type: number
  13834. optiontype:
  13835. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  13836. type: integer
  13837. preexerciseprice:
  13838. description: 预申报价格
  13839. type: number
  13840. premium:
  13841. description: 权利金
  13842. type: number
  13843. qtydecimalplace:
  13844. description: 商品成交量小数位
  13845. type: integer
  13846. refgoodscode:
  13847. description: 标的合约代码
  13848. type: string
  13849. refgoodsid:
  13850. description: 标的合约id
  13851. type: integer
  13852. releaseamount:
  13853. description: 释放持仓金额
  13854. type: number
  13855. releaseholdercredit:
  13856. description: 释放持仓授信金额
  13857. type: number
  13858. taname:
  13859. description: 资金账号名称
  13860. type: string
  13861. tradeamount:
  13862. description: 成交金额
  13863. type: number
  13864. tradedate:
  13865. description: 交易日(yyyyMMdd)
  13866. type: string
  13867. tradeid:
  13868. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13869. type: string
  13870. trademode:
  13871. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价 46:掉期
  13872. type: integer
  13873. tradeproperty:
  13874. description: 交易属性
  13875. type: integer
  13876. tradetime:
  13877. description: 交易时间
  13878. type: string
  13879. userid:
  13880. description: 用户id
  13881. type: integer
  13882. username:
  13883. description: 用户名称
  13884. type: string
  13885. type: object
  13886. models.UserCollectConfig:
  13887. properties:
  13888. accountstatus:
  13889. description: 账户状态 - 1:正常 2:停用 3:注销
  13890. type: integer
  13891. collectaccountname:
  13892. description: 收款人账户名称
  13893. type: string
  13894. collectaccountno:
  13895. description: 收款人账户
  13896. type: string
  13897. collectbankname:
  13898. description: 收款人开户行
  13899. type: string
  13900. collectbranchbankname:
  13901. description: 收款人开户支行
  13902. type: string
  13903. collectconfigid:
  13904. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  13905. type: string
  13906. remark:
  13907. description: 备注
  13908. type: string
  13909. userid:
  13910. description: 收款人用户ID
  13911. type: integer
  13912. type: object
  13913. models.UserReceiveInfo:
  13914. properties:
  13915. address:
  13916. description: 提货人详细地址
  13917. type: string
  13918. autoid:
  13919. description: AutoID
  13920. type: integer
  13921. cardnum:
  13922. description: 证件号码(加密存储)
  13923. type: string
  13924. cardtypeid:
  13925. description: 证件类型
  13926. type: integer
  13927. cityid:
  13928. description: 市
  13929. type: integer
  13930. cityname:
  13931. description: 城市名称
  13932. type: string
  13933. countryid:
  13934. description: 国家
  13935. type: integer
  13936. countryname:
  13937. description: 国家名称
  13938. type: string
  13939. districtid:
  13940. description: 地区
  13941. type: integer
  13942. districtname:
  13943. description: 地区名称
  13944. type: string
  13945. hasencrypt:
  13946. description: 数据是否已加密 - 0:未加密 1:已加密
  13947. type: integer
  13948. isdefault:
  13949. description: 是否默认地址 - 0:否 1:是
  13950. type: integer
  13951. phonenum:
  13952. description: 提货人联系方式(加密存储)
  13953. type: string
  13954. provinceid:
  13955. description: 省
  13956. type: integer
  13957. provincename:
  13958. description: 省名称
  13959. type: string
  13960. receivername:
  13961. description: 提货人姓名
  13962. type: string
  13963. takeremark:
  13964. description: 提货备注
  13965. type: string
  13966. userid:
  13967. description: 用户ID
  13968. type: integer
  13969. type: object
  13970. models.Useraccount:
  13971. properties:
  13972. accountname:
  13973. description: 账户名称(机构名称)
  13974. type: string
  13975. accountstatus:
  13976. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  13977. type: integer
  13978. applysrc:
  13979. description: 申请来源 - 1:管理端 2:终端
  13980. type: integer
  13981. auditremark:
  13982. description: 审核备注
  13983. type: string
  13984. auditsrc:
  13985. description: 审核来源 - 1:管理端 2:终端
  13986. type: integer
  13987. audittime:
  13988. description: 审核时间
  13989. type: string
  13990. audituserid:
  13991. description: 审核人
  13992. type: integer
  13993. broker:
  13994. description: 所属经纪人ID
  13995. type: integer
  13996. canceltime:
  13997. description: 销户时间
  13998. type: string
  13999. canceluserid:
  14000. description: 销户人
  14001. type: integer
  14002. canrecommend:
  14003. description: 是否可推荐 - 0:不可 1;可
  14004. type: integer
  14005. createtime:
  14006. description: 创建时间
  14007. type: string
  14008. creatorid:
  14009. description: 创建人
  14010. type: integer
  14011. hasauth:
  14012. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  14013. type: integer
  14014. isanonymous:
  14015. description: 是否匿名下单 - 0:否 1:是
  14016. type: integer
  14017. maxinvestornum:
  14018. description: 最大用户数(经纪会员下投资者个数)
  14019. type: integer
  14020. memberuserid:
  14021. description: 所属会员ID
  14022. type: integer
  14023. modifierid:
  14024. description: 修改人
  14025. type: integer
  14026. modifyremark:
  14027. description: 变更备注
  14028. type: string
  14029. modifystatus:
  14030. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  14031. type: integer
  14032. modifytime:
  14033. description: 修改时间
  14034. type: string
  14035. parenttopuser:
  14036. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  14037. type: string
  14038. parentuserid:
  14039. description: 所属机构ID
  14040. type: integer
  14041. reckonaccountid:
  14042. description: 默认结算资金账号ID(机构分润使用) 作废
  14043. type: integer
  14044. refercount:
  14045. description: 推荐总人数
  14046. type: integer
  14047. refereeuserid:
  14048. description: 推荐人ID
  14049. type: integer
  14050. refernum:
  14051. description: 推荐码
  14052. type: string
  14053. rootuserid:
  14054. description: 根用户ID
  14055. type: integer
  14056. subaccountlevel:
  14057. description: 子账户层数
  14058. type: integer
  14059. subarealevelpath:
  14060. description: 子机构层级路径(逗号分隔,首尾加逗号)
  14061. type: string
  14062. userid:
  14063. description: 用户ID
  14064. type: integer
  14065. usertype:
  14066. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  14067. type: integer
  14068. required:
  14069. - userid
  14070. type: object
  14071. models.Userfavoritegoods:
  14072. properties:
  14073. goodsid:
  14074. description: 商品ID
  14075. type: integer
  14076. required:
  14077. - goodsid
  14078. type: object
  14079. models.Userinfo:
  14080. properties:
  14081. address:
  14082. description: 地址
  14083. type: string
  14084. attachment1:
  14085. description: 附件1
  14086. type: string
  14087. attachment2:
  14088. description: 附件2
  14089. type: string
  14090. bankaccount:
  14091. description: 银行帐号 (加密存储)
  14092. type: string
  14093. bankaccountname:
  14094. description: 收款人名称
  14095. type: string
  14096. bankcardfrontphotourl:
  14097. description: 银行卡正面照地址
  14098. type: string
  14099. bankid:
  14100. description: 银行编码
  14101. type: string
  14102. bankname:
  14103. description: 银行名称
  14104. type: string
  14105. biznature:
  14106. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  14107. type: integer
  14108. bizscope:
  14109. description: 企业经营范围(企业)
  14110. type: string
  14111. cardbackphotourl:
  14112. description: 证件背面图片地址
  14113. type: string
  14114. cardfrontphotourl:
  14115. description: 证件正面图片地址
  14116. type: string
  14117. cardnum:
  14118. description: 证件号码(加密存储)
  14119. type: string
  14120. cardtypeid:
  14121. description: 证件类型ID
  14122. type: integer
  14123. cityid:
  14124. description: 市
  14125. type: integer
  14126. company:
  14127. description: 公司(个人)
  14128. type: string
  14129. contactname:
  14130. description: 联系人
  14131. type: string
  14132. countryid:
  14133. description: 国家
  14134. type: integer
  14135. createtime:
  14136. description: 创建时间
  14137. type: string
  14138. creatorid:
  14139. description: 创建人
  14140. type: integer
  14141. customername:
  14142. description: 客户名称(企业名称)
  14143. type: string
  14144. districtid:
  14145. description: 地区
  14146. type: integer
  14147. email:
  14148. description: 邮件(加密存储)
  14149. type: string
  14150. fax:
  14151. description: 传真(加密存储)
  14152. type: string
  14153. halfbodyphotourl:
  14154. description: 半身照地址
  14155. type: string
  14156. hasencrypt:
  14157. description: 数据是否已加密 - 0:未加密 1:已加密
  14158. type: integer
  14159. headurl:
  14160. description: 头像地址
  14161. type: string
  14162. legalcardbackphotourl:
  14163. description: 法人身份证背面照地址
  14164. type: string
  14165. legalcardfrontphotourl:
  14166. description: 法人身份证正面照地址
  14167. type: string
  14168. legalpersonname:
  14169. description: 法人姓名(企业)
  14170. type: string
  14171. mobile:
  14172. description: 手机号码(加密存储)
  14173. type: string
  14174. mobile2:
  14175. description: 手机号码[明文-尚志]
  14176. type: string
  14177. modifierid:
  14178. description: 修改人
  14179. type: integer
  14180. modifiertime:
  14181. description: 修改时间
  14182. type: string
  14183. needinvoice:
  14184. description: 是否需要发票 - 0:不需要 1:需要
  14185. type: integer
  14186. nickname:
  14187. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  14188. type: string
  14189. openmode:
  14190. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  14191. type: integer
  14192. otherurl:
  14193. description: 其它图片地址[使用分号分隔]
  14194. type: string
  14195. postalcode:
  14196. description: 邮政编码
  14197. type: string
  14198. provinceid:
  14199. description: 省
  14200. type: integer
  14201. qq:
  14202. description: QQ(加密存储
  14203. type: string
  14204. remark:
  14205. description: 备注
  14206. type: string
  14207. sex:
  14208. description: '用户性别 0: 女 1: 男'
  14209. type: integer
  14210. signpdfurl:
  14211. description: 签约pdf文件
  14212. type: string
  14213. telphone:
  14214. description: 联系电话(加密存储)
  14215. type: string
  14216. userid:
  14217. description: 用户ID
  14218. type: integer
  14219. userinfotype:
  14220. description: 用户信息类型 - 1:个人 2:企业
  14221. type: integer
  14222. userstatus:
  14223. description: 用户状态 - 1:正常 2:注销
  14224. type: integer
  14225. usertype:
  14226. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  14227. type: integer
  14228. wechat:
  14229. description: 微信(加密存储)
  14230. type: string
  14231. wskhinfo:
  14232. description: 开户申请信息(JSON)
  14233. type: string
  14234. required:
  14235. - userid
  14236. type: object
  14237. models.WRSConverTDetail:
  14238. properties:
  14239. convertratio:
  14240. description: 套保系数
  14241. type: number
  14242. deliverygoodscode:
  14243. description: 现货商品代码
  14244. type: string
  14245. deliverygoodsid:
  14246. description: 现货品种ID
  14247. type: integer
  14248. deliverygoodsname:
  14249. description: 现货商品名称
  14250. type: string
  14251. enumdicname:
  14252. description: 单位名称
  14253. type: string
  14254. goodsunitid:
  14255. description: 套保品种单位id
  14256. type: integer
  14257. middlegoodscode:
  14258. description: 套保品种代码
  14259. type: string
  14260. middlegoodsid:
  14261. description: 套保品种ID
  14262. type: integer
  14263. middlegoodsname:
  14264. description: 套保品种名称
  14265. type: string
  14266. modifytime:
  14267. description: 修改时间
  14268. type: string
  14269. wrstandardid:
  14270. description: 品类ID
  14271. type: integer
  14272. type: object
  14273. models.WRStandardInfo:
  14274. properties:
  14275. areauserid:
  14276. description: 所属机构
  14277. type: integer
  14278. convertfactor:
  14279. description: 标仓系数
  14280. type: number
  14281. createtime:
  14282. description: 创建时间
  14283. type: string
  14284. creatorid:
  14285. description: 创建人
  14286. type: integer
  14287. deliverygoodsid:
  14288. description: 品种ID
  14289. type: integer
  14290. deliverygoodsname:
  14291. description: 交割商品名称
  14292. type: string
  14293. factoryitemjson:
  14294. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID, 逗号分隔'
  14295. type: string
  14296. isvalid:
  14297. description: 是否有效 - 0:无效 1:有效
  14298. type: integer
  14299. minivalue:
  14300. description: 最小变动值
  14301. type: integer
  14302. minivaluedp:
  14303. description: 最小变动值小数位
  14304. type: integer
  14305. realminivalue:
  14306. description: 实际最小变动值
  14307. type: integer
  14308. realminivaluedp:
  14309. description: 实际最小变动值小数位
  14310. type: integer
  14311. remark:
  14312. description: 备注
  14313. type: string
  14314. unitid:
  14315. description: 单位ID
  14316. type: integer
  14317. unitname:
  14318. description: 单位
  14319. type: string
  14320. updatetime:
  14321. description: 更新时间
  14322. type: string
  14323. updatorid:
  14324. description: 更新人
  14325. type: integer
  14326. wrsstatus:
  14327. description: 状态 - 作废 - 0:未激活 1:正常
  14328. type: integer
  14329. wrstandardcode:
  14330. description: 现货品类代码
  14331. type: string
  14332. wrstandardid:
  14333. description: 现货品类ID(SEQ_WRSTANDARD)
  14334. type: integer
  14335. wrstandardname:
  14336. description: 现货品类名称
  14337. type: string
  14338. required:
  14339. - wrstandardid
  14340. type: object
  14341. models.WRTradeBargainApply:
  14342. properties:
  14343. accountid:
  14344. description: 摘牌资金账号
  14345. type: integer
  14346. applyprice:
  14347. description: 申请价格(议价价格)
  14348. type: string
  14349. applyqty:
  14350. description: 摘牌数量(议价数量)
  14351. type: number
  14352. applyremark:
  14353. description: 申请备注
  14354. type: string
  14355. applystatus:
  14356. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  14357. type: integer
  14358. applytime:
  14359. description: 申请时间(议价时间)
  14360. type: string
  14361. buyorsell:
  14362. description: 买卖(挂牌类型) - 0:买 1:卖
  14363. type: integer
  14364. confirmremark:
  14365. description: 确认备注
  14366. type: string
  14367. confirmtime:
  14368. description: 确认时间
  14369. type: string
  14370. confirmuserid:
  14371. description: 确认人
  14372. type: integer
  14373. deliverygoodscode:
  14374. description: 品种代码
  14375. type: string
  14376. deliverygoodsid:
  14377. description: 品种ID
  14378. type: integer
  14379. deliverygoodsname:
  14380. description: 品种名称
  14381. type: string
  14382. deliverymonth:
  14383. description: 交收月
  14384. type: string
  14385. enumdicname:
  14386. description: 单位名称
  14387. type: string
  14388. fixedprice:
  14389. description: 挂牌价格
  14390. type: number
  14391. handlestatus:
  14392. description: 处理状态
  14393. type: integer
  14394. marginvalue:
  14395. description: 履约保证金比例
  14396. type: number
  14397. marketid:
  14398. description: 市场ID
  14399. type: integer
  14400. matchaccountid:
  14401. description: 挂牌方资金账号
  14402. type: integer
  14403. matchuserid:
  14404. description: 挂牌方用户id
  14405. type: integer
  14406. matchusername:
  14407. description: 挂牌方用户名称(已脱敏)
  14408. type: string
  14409. minivalue:
  14410. description: 现货商品最小变动值
  14411. type: integer
  14412. optioncompare:
  14413. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14414. type: string
  14415. orderqty:
  14416. description: 挂牌数量
  14417. type: integer
  14418. refprice:
  14419. description: 参考价格
  14420. type: string
  14421. retcode:
  14422. description: 委托返回代码
  14423. type: integer
  14424. templatename:
  14425. description: 履约方式(履约模板名称)
  14426. type: string
  14427. tradedate:
  14428. description: 交易日(yyyyMMdd)
  14429. type: string
  14430. userid:
  14431. description: 摘牌人用户ID(议价人ID)
  14432. type: integer
  14433. username:
  14434. description: 议价人名字(已脱敏)
  14435. type: string
  14436. validtime:
  14437. description: 有效期限
  14438. type: string
  14439. warehouseid:
  14440. description: 仓库ID
  14441. type: integer
  14442. warehousename:
  14443. description: 仓库名称
  14444. type: string
  14445. wrbargainid:
  14446. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  14447. type: string
  14448. wrfactortypeid:
  14449. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14450. type: string
  14451. wrfactortypename:
  14452. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14453. type: string
  14454. wrstandardcode:
  14455. description: 现货商品代码
  14456. type: string
  14457. wrstandardid:
  14458. description: 现货商品ID
  14459. type: integer
  14460. wrstandardname:
  14461. description: 商品名称
  14462. type: string
  14463. wrtradeorderid:
  14464. description: 关联委托单ID
  14465. type: string
  14466. wrtypename:
  14467. description: 商品
  14468. type: string
  14469. type: object
  14470. models.Warehouseinfo:
  14471. properties:
  14472. address:
  14473. description: 详细地址
  14474. type: string
  14475. areauserid:
  14476. description: 所属机构
  14477. type: integer
  14478. autoid:
  14479. description: 自增ID
  14480. type: integer
  14481. cityid:
  14482. description: 市
  14483. type: integer
  14484. contactname:
  14485. description: 联系人
  14486. type: string
  14487. contactnum:
  14488. description: 联系电话
  14489. type: string
  14490. countryid:
  14491. description: 国家
  14492. type: integer
  14493. createtime:
  14494. description: 创建时间
  14495. type: string
  14496. districtid:
  14497. description: 区
  14498. type: integer
  14499. hasvideo:
  14500. description: 是否有视频 - 0:无 1:有
  14501. type: integer
  14502. provinceid:
  14503. description: 省
  14504. type: integer
  14505. remark:
  14506. description: 审核备注
  14507. type: string
  14508. videourl:
  14509. description: 视频地址
  14510. type: string
  14511. warehousecode:
  14512. description: 仓库代码
  14513. type: string
  14514. warehousename:
  14515. description: 仓库名称
  14516. type: string
  14517. warehousestatus:
  14518. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  14519. type: integer
  14520. warehousetype:
  14521. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  14522. type: integer
  14523. required:
  14524. - autoid
  14525. - warehousecode
  14526. type: object
  14527. models.WrAverageTradePrice:
  14528. properties:
  14529. averageprice:
  14530. description: 成交均价
  14531. type: number
  14532. tradedate:
  14533. description: 交易日yyyymm
  14534. type: string
  14535. type: object
  14536. models.WrBsGoodsInfo:
  14537. properties:
  14538. buyorsell:
  14539. description: 买卖方向 0-买 1-卖
  14540. type: integer
  14541. goodsid:
  14542. description: 交易合约ID
  14543. type: integer
  14544. lstitem:
  14545. description: 商品信息项
  14546. items:
  14547. $ref: '#/definitions/models.WrTypeItem'
  14548. type: array
  14549. lststep:
  14550. description: 履约规则
  14551. items:
  14552. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  14553. type: array
  14554. type: object
  14555. models.WrBuybackDetail:
  14556. properties:
  14557. buybackamount:
  14558. description: 回购金额
  14559. type: number
  14560. buybackqty:
  14561. description: 回购数量
  14562. type: number
  14563. buybackreleasemargin:
  14564. description: 回购释放保证金
  14565. type: number
  14566. buybacktime:
  14567. description: 回购时间
  14568. type: string
  14569. errordesc:
  14570. description: 错误描述
  14571. type: string
  14572. handlestatus:
  14573. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  14574. type: integer
  14575. relatedwrid:
  14576. description: 关联仓单ID
  14577. type: integer
  14578. scfcontractid:
  14579. description: SCF合同ID
  14580. type: string
  14581. scfwrbuybackid:
  14582. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  14583. type: integer
  14584. tradedate:
  14585. description: 交易日(yyyyMMdd)
  14586. type: string
  14587. type: object
  14588. models.WrDeliveryAvalidHoldLB:
  14589. properties:
  14590. accountid:
  14591. description: 资金账号
  14592. type: integer
  14593. avalidqty:
  14594. description: 数量(可点选数量)
  14595. type: number
  14596. deliverygoodsid:
  14597. description: 品种id
  14598. type: integer
  14599. enumdicname:
  14600. description: 单位名称
  14601. type: string
  14602. goodsid:
  14603. description: x合约商品id
  14604. type: integer
  14605. ladingbillid:
  14606. description: 提单id
  14607. type: string
  14608. pgoodscode:
  14609. description: p商品代码(点价合约)
  14610. type: string
  14611. pgoodsid:
  14612. description: p商品id(点价合约)
  14613. type: integer
  14614. pgoodsname:
  14615. description: p商品名称(点价合约)
  14616. type: string
  14617. pricemove:
  14618. description: 升贴水
  14619. type: number
  14620. subnum:
  14621. description: 提单子id
  14622. type: integer
  14623. userid:
  14624. description: 用户id
  14625. type: integer
  14626. username:
  14627. description: 仓单持有人
  14628. type: string
  14629. warehousecode:
  14630. description: 仓库代码
  14631. type: string
  14632. warehouseid:
  14633. description: 仓库id
  14634. type: integer
  14635. warehousename:
  14636. description: 仓库名称
  14637. type: string
  14638. wrfactortypeid:
  14639. description: 仓单要素id
  14640. type: string
  14641. wrstandardcode:
  14642. description: 品代码
  14643. type: string
  14644. wrstandardid:
  14645. description: 品类d
  14646. type: integer
  14647. wrstandardname:
  14648. description: 品类名称
  14649. type: string
  14650. wrtypename:
  14651. description: 商品
  14652. type: string
  14653. xgoodscode:
  14654. description: x合约代码
  14655. type: string
  14656. xgoodsname:
  14657. description: x合约名称
  14658. type: string
  14659. type: object
  14660. models.WrDeliveryDetail:
  14661. properties:
  14662. accountid:
  14663. description: 账号ID
  14664. type: integer
  14665. averageprice:
  14666. description: 交割均价 = 交割金额 / 交割数量
  14667. type: number
  14668. buyorsell:
  14669. description: 方向 - 0:买 1:卖
  14670. type: integer
  14671. deliveryamount:
  14672. description: 货款金额(X总货款+P总货款)
  14673. type: number
  14674. deliveryid:
  14675. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  14676. type: string
  14677. deliveryorderid:
  14678. description: 申报单号
  14679. type: string
  14680. deliverypricemove:
  14681. description: 升贴水(升贴水总额)
  14682. type: number
  14683. deliveryqty:
  14684. description: 交收数量(点选数量)
  14685. type: number
  14686. deliverystatus:
  14687. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  14688. type: integer
  14689. deliverytime:
  14690. description: 交割时间
  14691. type: string
  14692. deliverytotalamount:
  14693. description: 交收金额
  14694. type: number
  14695. enumdicname:
  14696. description: 单位名称
  14697. type: string
  14698. matchaccountid:
  14699. description: 对手账号ID
  14700. type: integer
  14701. matchusername:
  14702. description: 对手方名称(仓单持有人)
  14703. type: string
  14704. p1goodsremainamount:
  14705. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  14706. type: number
  14707. pdeliverycloseqty:
  14708. description: p合约平仓数量
  14709. type: number
  14710. pdeliveryprice:
  14711. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  14712. type: number
  14713. pgoodscode:
  14714. description: 商品代码
  14715. type: string
  14716. pgoodsid:
  14717. description: p点选合约id
  14718. type: integer
  14719. pgoodsname:
  14720. description: 商品名称
  14721. type: string
  14722. ppricemode:
  14723. description: 点价价格方式 - 1:商品价 2:固定值
  14724. type: integer
  14725. tradedate:
  14726. description: 交易日(yyyymmdd)
  14727. type: string
  14728. userid:
  14729. description: 用户id
  14730. type: integer
  14731. username:
  14732. description: 用户名称
  14733. type: string
  14734. warehousename:
  14735. description: 仓库名称
  14736. type: string
  14737. wrfactortypeid:
  14738. description: 仓单要素类型ID
  14739. type: string
  14740. wrtypename:
  14741. description: 商品
  14742. type: string
  14743. xdeliverycloseqty:
  14744. description: 合约数量
  14745. type: number
  14746. xgoodsamount:
  14747. description: 合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)
  14748. type: number
  14749. xgoodscode:
  14750. description: 商品代码
  14751. type: string
  14752. xgoodsid:
  14753. description: x交易合约ID
  14754. type: integer
  14755. xgoodsname:
  14756. description: 商品名称
  14757. type: string
  14758. type: object
  14759. models.WrDeliveryGoodsSection:
  14760. properties:
  14761. dglst:
  14762. description: 板块商品列表
  14763. items:
  14764. $ref: '#/definitions/models.WrDeliveryGoodsSectionConfig'
  14765. type: array
  14766. imagepath:
  14767. description: 图片地址
  14768. type: string
  14769. orderindex:
  14770. description: 排序
  14771. type: integer
  14772. sectionid:
  14773. description: 版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType = 1的版块1 - 云融指数
  14774. type: integer
  14775. sectionname:
  14776. description: 版块名称
  14777. type: string
  14778. sectiontype:
  14779. description: 版块类型 - 1:指数版块 2:普通版块
  14780. type: integer
  14781. type: object
  14782. models.WrDeliveryGoodsSectionConfig:
  14783. properties:
  14784. deliverygoodscode:
  14785. description: 现货商品代码
  14786. type: string
  14787. deliverygoodsid:
  14788. description: 现货品种ID(SEQ_DELIVERYGOODS)
  14789. type: integer
  14790. deliverygoodsname:
  14791. description: 现货商品名称
  14792. type: string
  14793. orderindex:
  14794. description: 排序
  14795. type: integer
  14796. type: object
  14797. models.WrFAProductDetail:
  14798. properties:
  14799. accountid:
  14800. description: 资金账号
  14801. type: integer
  14802. areauserid:
  14803. description: 金融机构ID
  14804. type: integer
  14805. financingdays:
  14806. description: 天数(天)
  14807. type: integer
  14808. interestminlen:
  14809. description: 最小起息天数
  14810. type: integer
  14811. interestrate:
  14812. description: 利率
  14813. type: number
  14814. interestratemode:
  14815. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  14816. type: integer
  14817. interestsettlemode:
  14818. description: 结息方式 - 1:按日结息 3:按月结息
  14819. type: integer
  14820. interestsettlevalue:
  14821. description: 结息方式值
  14822. type: integer
  14823. isautoloan:
  14824. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  14825. type: integer
  14826. loantag:
  14827. description: '放款标识: "放款快" 或者为空'
  14828. type: string
  14829. marginratio:
  14830. description: 保证金比率质押率 - [仓单质押]
  14831. type: number
  14832. productdetailid:
  14833. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  14834. type: integer
  14835. productid:
  14836. description: 金融产品ID
  14837. type: integer
  14838. productname:
  14839. description: 产品名称
  14840. type: string
  14841. updatetime:
  14842. description: 更新时间
  14843. type: string
  14844. username:
  14845. description: 融出方
  14846. type: string
  14847. type: object
  14848. models.WrFactorTypeInfo:
  14849. properties:
  14850. deliverygoodscode:
  14851. description: 品种代码
  14852. type: string
  14853. deliverygoodsname:
  14854. description: 品种名称
  14855. type: string
  14856. dgfactoryitemid:
  14857. description: 选择项id
  14858. type: integer
  14859. dgfactoryitemtypeid:
  14860. description: 要素选择项ID (1-仓库 2-品牌)
  14861. type: integer
  14862. dgfactoryitemvalue:
  14863. description: 要素项值
  14864. type: string
  14865. itemtypename:
  14866. description: 要素项名称
  14867. type: string
  14868. optioncompare:
  14869. description: 选择比较串
  14870. type: string
  14871. warehouseid:
  14872. description: 仓库id
  14873. type: integer
  14874. wrfactortypeid:
  14875. description: 仓单要素ID
  14876. type: string
  14877. wrfactortypename:
  14878. description: 要素名称
  14879. type: string
  14880. wrfactortypename2:
  14881. description: 要素名称(不含仓库)
  14882. type: string
  14883. wrstandardcode:
  14884. description: 品类代码
  14885. type: string
  14886. wrstandardid:
  14887. description: 品类id
  14888. type: integer
  14889. wrstandardname:
  14890. description: 品类名称
  14891. type: string
  14892. type: object
  14893. models.WrFilterItem:
  14894. properties:
  14895. itemcode:
  14896. description: 代码
  14897. type: string
  14898. itemid:
  14899. description: 项id
  14900. type: integer
  14901. itemname:
  14902. description: 名称
  14903. type: string
  14904. itemtype:
  14905. description: 类型 1-品种 2-品类(商品) 3-仓库
  14906. type: integer
  14907. type: object
  14908. models.WrFinanceBuyApply:
  14909. properties:
  14910. applydate:
  14911. description: 申请时间
  14912. type: string
  14913. applystatus:
  14914. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  14915. type: integer
  14916. applyuserid:
  14917. description: 申请人
  14918. type: integer
  14919. auditdate:
  14920. description: 审核时间
  14921. type: string
  14922. auditremark:
  14923. description: 审核备注
  14924. type: string
  14925. audituserid:
  14926. description: 审核人
  14927. type: integer
  14928. buyaccountid:
  14929. description: 买方资金账号
  14930. type: integer
  14931. buyorsell:
  14932. description: 买卖 - 0:买 1:卖
  14933. type: integer
  14934. buyuserid:
  14935. description: 买方用户ID
  14936. type: integer
  14937. buyusername:
  14938. description: 买方名称
  14939. type: string
  14940. buywrtradeorderid:
  14941. description: 融资方买委托单ID
  14942. type: string
  14943. deliverygoodscode:
  14944. description: 品种代码
  14945. type: string
  14946. deliverygoodsid:
  14947. description: 品种ID
  14948. type: integer
  14949. deliverygoodsname:
  14950. description: 品种名称
  14951. type: string
  14952. deliverymonth:
  14953. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  14954. type: string
  14955. enumdicname:
  14956. description: 单位名称
  14957. type: string
  14958. financeaccountid:
  14959. description: 融资方资金帐户ID
  14960. type: integer
  14961. financeapplyid:
  14962. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  14963. type: string
  14964. financeareauserid:
  14965. description: 融资方用户ID
  14966. type: string
  14967. financename:
  14968. description: 融出方名称
  14969. type: string
  14970. financetype:
  14971. description: 融资类型 1-融资回购
  14972. type: integer
  14973. financingdays:
  14974. description: 天数(天)
  14975. type: integer
  14976. freezebuymargin:
  14977. description: 冻结融资保证金(买方)
  14978. type: number
  14979. handleremark:
  14980. description: 处理备注
  14981. type: string
  14982. handlestatus:
  14983. description: 处理状态
  14984. type: integer
  14985. interestminlen:
  14986. description: 最小起息天数
  14987. type: integer
  14988. interestrate:
  14989. description: 利率
  14990. type: number
  14991. interestratemode:
  14992. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  14993. type: integer
  14994. interestsettlemode:
  14995. description: 结息方式 - 1:按日结息 3:按月结息
  14996. type: integer
  14997. interestsettlevalue:
  14998. description: 结息方式值
  14999. type: integer
  15000. isautoloan:
  15001. description: 是否自动放款 - 0:手动 1:自动
  15002. type: integer
  15003. marginratio:
  15004. description: 保证金比率质押率 - [仓单质押]
  15005. type: number
  15006. marketid:
  15007. description: 市场ID
  15008. type: integer
  15009. minivalue:
  15010. description: 现货商品最小变动值
  15011. type: integer
  15012. optioncompare:
  15013. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15014. type: string
  15015. orderqty:
  15016. description: 委托数量(商品数量)
  15017. type: number
  15018. productdetailid:
  15019. description: 产品组合ID
  15020. type: integer
  15021. productid:
  15022. description: 金融产品ID
  15023. type: integer
  15024. productname:
  15025. description: 产品名称
  15026. type: string
  15027. remark:
  15028. description: 备注
  15029. type: string
  15030. scfcontractid:
  15031. description: 仓单回购合同ID
  15032. type: string
  15033. sellaccountid:
  15034. description: 卖方资金账号
  15035. type: integer
  15036. selluserid:
  15037. description: 卖方用户ID
  15038. type: integer
  15039. sellwrtradeorderid:
  15040. description: 卖方委托单ID
  15041. type: string
  15042. tradeamount:
  15043. description: 成交金额(借款金额)
  15044. type: number
  15045. tradedate:
  15046. description: 交易日(yyyyMMdd)
  15047. type: string
  15048. tradeprice:
  15049. description: 成交价格
  15050. type: number
  15051. warehouseid:
  15052. description: 仓库ID
  15053. type: integer
  15054. warehousename:
  15055. description: 仓库名称
  15056. type: string
  15057. wrfactortypeid:
  15058. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15059. type: string
  15060. wrfactortypename:
  15061. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15062. type: string
  15063. wrpricetype:
  15064. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  15065. type: integer
  15066. wrstandardcode:
  15067. description: 现货商品代码
  15068. type: string
  15069. wrstandardid:
  15070. description: 现货商品ID
  15071. type: integer
  15072. wrstandardname:
  15073. description: 商品名称
  15074. type: string
  15075. wrtypename:
  15076. description: 商品
  15077. type: string
  15078. type: object
  15079. models.WrFriendApply:
  15080. properties:
  15081. applicantid:
  15082. description: 申请人
  15083. type: integer
  15084. applyname:
  15085. description: 申请人名称
  15086. type: string
  15087. applysrc:
  15088. description: 申请来源 - 1:管理端 2:终端
  15089. type: integer
  15090. applystatus:
  15091. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  15092. type: integer
  15093. applytime:
  15094. description: 申请时间
  15095. type: string
  15096. auditname:
  15097. description: 审核人名称
  15098. type: string
  15099. auditorid:
  15100. description: 审核人
  15101. type: integer
  15102. auditremark:
  15103. description: 审核备注
  15104. type: string
  15105. auditsrc:
  15106. description: 审核来源 - 1:管理端 2:终端
  15107. type: integer
  15108. audittime:
  15109. description: 审核时间
  15110. type: string
  15111. friendapplyid:
  15112. description: 申请ID(SEQ_FRIENDAPPLY)
  15113. type: string
  15114. friendname:
  15115. description: 好友名字(已脱敏)
  15116. type: string
  15117. frienduserid:
  15118. description: 好友用户ID
  15119. type: string
  15120. remark:
  15121. description: 备注
  15122. type: string
  15123. userid:
  15124. description: 申请人用户ID
  15125. type: integer
  15126. type: object
  15127. models.WrFtDeliveryGoods:
  15128. properties:
  15129. deliverygoodscode:
  15130. description: 品种代码
  15131. type: string
  15132. deliverygoodsid:
  15133. description: 品种ID
  15134. type: integer
  15135. deliverygoodsname:
  15136. description: 品种名称
  15137. type: string
  15138. wdlst:
  15139. description: 商品列表
  15140. items:
  15141. $ref: '#/definitions/models.WrFtWrstandard'
  15142. type: array
  15143. type: object
  15144. models.WrFtWrstandard:
  15145. properties:
  15146. enumdicname:
  15147. description: 单位名称
  15148. type: string
  15149. minivalue:
  15150. description: 最小变动值
  15151. type: integer
  15152. wrstandardcode:
  15153. description: 现货商品代码
  15154. type: string
  15155. wrstandardid:
  15156. description: 现货商品ID
  15157. type: integer
  15158. wrstandardname:
  15159. description: 商品名称
  15160. type: string
  15161. type: object
  15162. models.WrGoodsInfo:
  15163. properties:
  15164. haswr:
  15165. description: 0:仓单预售 1:仓单贸易
  15166. type: integer
  15167. lstitem:
  15168. description: 商品信息项
  15169. items:
  15170. $ref: '#/definitions/models.WrTypeItem'
  15171. type: array
  15172. lststep:
  15173. description: 履约规则
  15174. items:
  15175. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  15176. type: array
  15177. marketid:
  15178. description: 市场id
  15179. type: integer
  15180. type: object
  15181. models.WrGoodsPerformanceStep:
  15182. properties:
  15183. autoid:
  15184. description: AutoID
  15185. type: integer
  15186. isauto:
  15187. description: 是否自动 - 0:不自动 1:自动
  15188. type: integer
  15189. remark:
  15190. description: 备注
  15191. type: string
  15192. stepdate:
  15193. description: 天数信息(T+N)
  15194. type: string
  15195. stepdays:
  15196. description: 距离上一步天数
  15197. type: integer
  15198. stepindex:
  15199. description: 步骤序号
  15200. type: integer
  15201. stepinfo:
  15202. description: 步骤信息(步骤名称+步骤值)
  15203. type: string
  15204. steptypeid:
  15205. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  15206. type: integer
  15207. steptypename:
  15208. description: 步骤名称
  15209. type: string
  15210. stepvalue:
  15211. description: 步骤值
  15212. type: number
  15213. templateid:
  15214. description: 履约计划模板ID
  15215. type: integer
  15216. type: object
  15217. models.WrHoldLB:
  15218. properties:
  15219. accountid:
  15220. description: 持有人帐户ID
  15221. type: integer
  15222. createtime:
  15223. description: 创建时间(过户时间)
  15224. type: string
  15225. deliverygoodscode:
  15226. description: 品种代码
  15227. type: string
  15228. deliverygoodsid:
  15229. description: 品种ID
  15230. type: integer
  15231. deliverygoodsname:
  15232. description: 品种名称
  15233. type: string
  15234. enableqty:
  15235. description: 可用数量
  15236. type: number
  15237. enumdicname:
  15238. description: 单位名称
  15239. type: string
  15240. freezerqty:
  15241. description: 冻结数量
  15242. type: number
  15243. ladingbillid:
  15244. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  15245. type: string
  15246. minivalue:
  15247. description: 现货商品最小变动值
  15248. type: integer
  15249. optioncompare:
  15250. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15251. type: string
  15252. parentsubnum:
  15253. description: 拆分父子单号
  15254. type: integer
  15255. pledgeqty:
  15256. description: 质押数量
  15257. type: number
  15258. qty:
  15259. description: 数量
  15260. type: number
  15261. subnum:
  15262. description: 提单子单号
  15263. type: integer
  15264. tradedate:
  15265. description: 交易日(yyyyMMdd)
  15266. type: string
  15267. userid:
  15268. description: 持有人ID
  15269. type: integer
  15270. warehouseid:
  15271. description: 仓库ID
  15272. type: integer
  15273. warehousename:
  15274. description: 仓库名称
  15275. type: string
  15276. wrfactortypeid:
  15277. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15278. type: string
  15279. wrfactortypename:
  15280. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15281. type: string
  15282. wrholdeno:
  15283. description: 仓单编号
  15284. type: string
  15285. wrid:
  15286. description: 仓单变更ID
  15287. type: string
  15288. wrstandardcode:
  15289. description: 现货商品代码
  15290. type: string
  15291. wrstandardid:
  15292. description: 现货商品ID
  15293. type: integer
  15294. wrstandardname:
  15295. description: 商品名称
  15296. type: string
  15297. wrtypename:
  15298. description: 商品
  15299. type: string
  15300. type: object
  15301. models.WrMarketTradeConfig:
  15302. properties:
  15303. basisdownratio:
  15304. description: 浮动价基差下限比例(仓单贸易)
  15305. type: number
  15306. basisupratio:
  15307. description: 浮动价基差上限比例(仓单贸易)
  15308. type: number
  15309. buychargealgorithm:
  15310. description: 买方手续费收取方式 1:比率 2:固定
  15311. type: integer
  15312. buychargealgorithm2:
  15313. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  15314. type: integer
  15315. buychargealgorithmvalue:
  15316. description: 买方手续费设置值(交易所部分)
  15317. type: number
  15318. buychargealgorithmvalue2:
  15319. description: 买方手续费设置值(会员部分)
  15320. type: number
  15321. buychargealgorithmvalue3:
  15322. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  15323. type: number
  15324. buychargealgorithmvalue4:
  15325. description: 回购买方手续费设置值(会员部分) --77:现货商城
  15326. type: number
  15327. buyfirstmarginalgorithm:
  15328. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  15329. type: integer
  15330. buyfirstmarginvalue:
  15331. description: 买方出价保证金设置值 - [竞拍]
  15332. type: number
  15333. buymarginalgorithm:
  15334. description: 买方保证金方式 - 1:比率 2:固定
  15335. type: integer
  15336. buymarginvalue:
  15337. description: 买方保证金设置值
  15338. type: number
  15339. buyreleaseratio:
  15340. description: 买方释放比率[2:分步履约]
  15341. type: number
  15342. executemode:
  15343. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  15344. type: integer
  15345. executeside:
  15346. description: 执行方[2:分步履约] - 1:买方 2:卖方
  15347. type: integer
  15348. failedchargealgorithm:
  15349. description: 流拍手续费收取方式 1:比率 2:固定
  15350. type: integer
  15351. failedchargevalue:
  15352. description: 流拍手续费设置值
  15353. type: number
  15354. failedchargevalue2:
  15355. description: 流拍卖方手续费设置值
  15356. type: number
  15357. holddays:
  15358. description: 合同期限[2:分步履约]
  15359. type: integer
  15360. marketid:
  15361. description: 市场ID-仓单贸易、竞拍、预售
  15362. type: integer
  15363. minqty:
  15364. description: 最小执行量[2:分步履约]
  15365. type: number
  15366. modifierid:
  15367. description: 修改人
  15368. type: integer
  15369. performancetempid:
  15370. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)
  15371. type: integer
  15372. performancetempid2:
  15373. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行
  15374. type: integer
  15375. performanceway:
  15376. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  15377. type: integer
  15378. sellchargealgorithm:
  15379. description: 卖方手续费收取方式 1:比率 2:固定
  15380. type: integer
  15381. sellchargealgorithm2:
  15382. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  15383. type: integer
  15384. sellchargealgorithmvalue:
  15385. description: 卖方手续费设置值(交易所部分)
  15386. type: number
  15387. sellchargealgorithmvalue2:
  15388. description: 卖方手续费设置值(会员部分)
  15389. type: number
  15390. sellchargealgorithmvalue3:
  15391. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  15392. type: number
  15393. sellchargealgorithmvalue4:
  15394. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  15395. type: number
  15396. sellmarginalgorithm:
  15397. description: 卖方保证金方式 - 1:比率 2:固定
  15398. type: integer
  15399. sellmarginvalue:
  15400. description: 卖方保证金设置值
  15401. type: number
  15402. sellmarginvalue2:
  15403. description: 卖方保证金设置值(无仓单)
  15404. type: number
  15405. sellreleaseratio:
  15406. description: 卖方释放比率[2:分步履约]
  15407. type: number
  15408. updatetime:
  15409. description: 更新时间
  15410. type: string
  15411. type: object
  15412. models.WrOrderDetail:
  15413. properties:
  15414. accountid:
  15415. description: 交易账号(资金账号)
  15416. type: integer
  15417. allfriendsflag:
  15418. description: 是否全好友可见 - 0:否 1:是
  15419. type: integer
  15420. amount:
  15421. description: 挂牌金额 = 委托数量 * 固定价或升贴水
  15422. type: number
  15423. buyorsell:
  15424. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  15425. type: integer
  15426. canbargain:
  15427. description: 是否可议价 - 0:不可 1:可
  15428. type: integer
  15429. cancelqty:
  15430. description: 撤销数量
  15431. type: number
  15432. canpart:
  15433. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  15434. type: integer
  15435. delistminqty:
  15436. description: 起摘数量
  15437. type: integer
  15438. deliverygoodscode:
  15439. description: 品种代码
  15440. type: string
  15441. deliverygoodsid:
  15442. description: 品种ID
  15443. type: integer
  15444. deliverygoodsname:
  15445. description: 品种名称
  15446. type: string
  15447. deliverymonth:
  15448. description: 交收月
  15449. type: string
  15450. enumdicname:
  15451. description: 单位名称
  15452. type: string
  15453. fixedprice:
  15454. description: 固定价格 - [挂牌]
  15455. type: number
  15456. freezemargin:
  15457. description: 冻结保证金(保证金)
  15458. type: number
  15459. futupricemove:
  15460. description: 期货升贴水
  15461. type: number
  15462. futushow:
  15463. description: 期货合约/升贴水
  15464. type: string
  15465. goodscode:
  15466. description: 期货合约
  15467. type: string
  15468. goodsid:
  15469. description: 期货商品id
  15470. type: integer
  15471. goodsname:
  15472. description: 商品名称
  15473. type: string
  15474. haswr:
  15475. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  15476. type: integer
  15477. isspecified:
  15478. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  15479. type: integer
  15480. ladingbillid:
  15481. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  15482. type: string
  15483. marginvalue:
  15484. description: 保证金设置值(履约保证金)
  15485. type: number
  15486. marketid:
  15487. description: 市场ID
  15488. type: integer
  15489. matchusername:
  15490. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  15491. type: string
  15492. minivalue:
  15493. description: 现货商品最小变动值
  15494. type: integer
  15495. optioncompare:
  15496. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15497. type: string
  15498. orderqty:
  15499. description: 委托数量
  15500. type: number
  15501. ordertime:
  15502. description: 委托时间(挂牌时间)
  15503. type: string
  15504. performancetemplateid:
  15505. description: 履约模板id
  15506. type: integer
  15507. pricemove:
  15508. description: 升贴水(浮动价时填写) - [挂牌]
  15509. type: number
  15510. taname:
  15511. description: 交易用户名称(资金账号名称)
  15512. type: string
  15513. tradedate:
  15514. description: 交易日(yyyyMMdd)
  15515. type: string
  15516. tradeprice:
  15517. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  15518. type: number
  15519. tradeqty:
  15520. description: 成交数量
  15521. type: number
  15522. userid:
  15523. description: 用户ID
  15524. type: integer
  15525. validtime:
  15526. description: 挂牌有效期
  15527. type: string
  15528. warehouseid:
  15529. description: 仓库ID
  15530. type: integer
  15531. warehousename:
  15532. description: 仓库名称
  15533. type: string
  15534. wrfactortypeid:
  15535. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15536. type: string
  15537. wrfactortypename:
  15538. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15539. type: string
  15540. wrpricetype:
  15541. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  15542. type: integer
  15543. wrstandardcode:
  15544. description: 现货商品代码
  15545. type: string
  15546. wrstandardid:
  15547. description: 现货商品ID
  15548. type: integer
  15549. wrstandardname:
  15550. description: 商品名称
  15551. type: string
  15552. wrtradeorderid:
  15553. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15554. type: string
  15555. wrtradeorderstatus:
  15556. 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:撤单解冻贷款失败
  15557. type: integer
  15558. wrtradetype:
  15559. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  15560. type: integer
  15561. wrtypename:
  15562. description: 商品
  15563. type: string
  15564. type: object
  15565. models.WrOrderQuote:
  15566. properties:
  15567. buyprice:
  15568. description: 买价
  15569. type: number
  15570. buypricemove:
  15571. description: 买升贴水(基差)
  15572. type: number
  15573. buyqty:
  15574. description: 买量
  15575. type: number
  15576. deliverygoodscode:
  15577. description: 品种代码
  15578. type: string
  15579. deliverygoodsid:
  15580. description: 品种id
  15581. type: integer
  15582. deliverygoodsname:
  15583. description: 品种名称
  15584. type: string
  15585. deliverymonth:
  15586. description: 交收月
  15587. type: string
  15588. enumdicname:
  15589. description: 单位名称
  15590. type: string
  15591. goodscode:
  15592. description: 商品合约(浮动价列表才有)
  15593. type: string
  15594. goodsid:
  15595. description: 商品id(浮动价列表才有)
  15596. type: integer
  15597. minivalue:
  15598. description: 现货商品最小变动值
  15599. type: integer
  15600. sellprice:
  15601. description: 卖价
  15602. type: number
  15603. sellpricemove:
  15604. description: 卖升贴水(基差)
  15605. type: number
  15606. sellqty:
  15607. description: 卖量
  15608. type: number
  15609. warehousecode:
  15610. description: 仓库代码
  15611. type: string
  15612. warehouseid:
  15613. description: 仓库id
  15614. type: integer
  15615. warehousename:
  15616. description: 仓库名称
  15617. type: string
  15618. wrfactortypeid:
  15619. description: 仓单要素id
  15620. type: string
  15621. wrfactortypename:
  15622. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15623. type: string
  15624. wrgoodsname:
  15625. description: 商品(商品名称+仓库要素名称 拼接)
  15626. type: string
  15627. wrstandardcode:
  15628. description: 商品代码
  15629. type: string
  15630. wrstandardid:
  15631. description: 商品id
  15632. type: integer
  15633. wrstandardname:
  15634. description: 商品名称
  15635. type: string
  15636. type: object
  15637. models.WrOrderQuoteDetail:
  15638. properties:
  15639. buyorsell:
  15640. description: 买卖 - 0:买 1:卖
  15641. type: integer
  15642. delistminqty:
  15643. description: 起摘数量
  15644. type: number
  15645. deliverymonth:
  15646. description: 交收月
  15647. type: string
  15648. enumdicname:
  15649. description: 单位名称
  15650. type: string
  15651. fixedprice:
  15652. description: 买(卖)价
  15653. type: number
  15654. minivalue:
  15655. description: 现货商品最小变动值
  15656. type: integer
  15657. orderqty:
  15658. description: 买(卖)量(=委托量-成交量)
  15659. type: number
  15660. ordertime:
  15661. description: 委托时间
  15662. type: string
  15663. pricemove:
  15664. description: 买(卖)升贴水- 基差
  15665. type: number
  15666. userid:
  15667. description: 购买方(销售方)用户ID
  15668. type: integer
  15669. username:
  15670. description: 购买方(销售方)
  15671. type: string
  15672. wrtradeorderid:
  15673. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15674. type: string
  15675. type: object
  15676. models.WrOutInApply:
  15677. properties:
  15678. applyid:
  15679. description: 申请单id
  15680. type: string
  15681. applystatus:
  15682. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  15683. type: integer
  15684. applytime:
  15685. description: 申请时间
  15686. type: string
  15687. applytype:
  15688. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  15689. type: integer
  15690. deliverygoodscode:
  15691. description: 品种代码
  15692. type: string
  15693. deliverygoodsid:
  15694. description: 品种ID
  15695. type: integer
  15696. deliverygoodsname:
  15697. description: 品种名称
  15698. type: string
  15699. enumdicname:
  15700. description: 单位名称
  15701. type: string
  15702. expresscompany:
  15703. description: 物流公司
  15704. type: string
  15705. expressnum:
  15706. description: 物流单号
  15707. type: string
  15708. minivalue:
  15709. description: 现货商品最小变动值
  15710. type: integer
  15711. optioncompare:
  15712. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15713. type: string
  15714. qty:
  15715. description: 数量
  15716. type: integer
  15717. userid:
  15718. description: 用户id
  15719. type: integer
  15720. warehouseid:
  15721. description: 仓库ID
  15722. type: integer
  15723. warehousename:
  15724. description: 仓库名称
  15725. type: string
  15726. wrfactortypeid:
  15727. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15728. type: string
  15729. wrfactortypename:
  15730. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15731. type: string
  15732. wrstandardcode:
  15733. description: 现货商品代码
  15734. type: string
  15735. wrstandardid:
  15736. description: 现货商品ID
  15737. type: integer
  15738. wrstandardname:
  15739. description: 商品名称
  15740. type: string
  15741. wrtypename:
  15742. description: 商品
  15743. type: string
  15744. type: object
  15745. models.WrPerformancePlan:
  15746. properties:
  15747. activatemonth:
  15748. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  15749. type: string
  15750. amount:
  15751. description: 履约金额(总金额)
  15752. type: number
  15753. buyaccountid:
  15754. description: 买方账号
  15755. type: integer
  15756. buyerfreezeamount:
  15757. description: 履约冻结(买履约)
  15758. type: number
  15759. buyerfreezeamountremain:
  15760. description: 履约冻结剩余(买履约)
  15761. type: number
  15762. buyorsell:
  15763. description: 买卖方向 0-买 1-卖
  15764. type: integer
  15765. buypaidamount:
  15766. description: 买方已冻/已扣金额 (已付金额)
  15767. type: number
  15768. buyusername:
  15769. description: 买方名字
  15770. type: string
  15771. contractid:
  15772. description: 合同ID
  15773. type: integer
  15774. createtime:
  15775. description: 创建时间
  15776. type: string
  15777. creatorid:
  15778. description: 创建人
  15779. type: integer
  15780. curstepdeadline:
  15781. description: 当前步骤到期时间
  15782. type: string
  15783. curstepid:
  15784. description: 当前步骤ID
  15785. type: string
  15786. curstepname:
  15787. description: 当前步骤名称
  15788. type: string
  15789. deliverygoodscode:
  15790. description: 品种代码
  15791. type: string
  15792. deliverygoodsid:
  15793. description: 品种ID
  15794. type: integer
  15795. deliverygoodsname:
  15796. description: 品种名称
  15797. type: string
  15798. enumdicname:
  15799. description: 单位名称
  15800. type: string
  15801. expressfee:
  15802. description: 运费
  15803. type: number
  15804. expressfeeconfirmed:
  15805. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  15806. type: integer
  15807. hasovershort:
  15808. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  15809. type: integer
  15810. haswr:
  15811. description: 类型 0-仓单预售 1-仓单贸易
  15812. type: integer
  15813. marketid:
  15814. description: 市场ID
  15815. type: integer
  15816. middleaccountid:
  15817. description: 中间商资金账号ID
  15818. type: integer
  15819. middleuserid:
  15820. description: 中间商用户ID
  15821. type: integer
  15822. minivalue:
  15823. description: 现货商品最小变动值
  15824. type: integer
  15825. optioncompare:
  15826. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15827. type: string
  15828. overshortamount:
  15829. description: 溢短金额
  15830. type: number
  15831. overshortqty:
  15832. description: 溢短数量
  15833. type: number
  15834. paymenttype:
  15835. description: 付款方式 - 1:冻结 2:扣款
  15836. type: integer
  15837. performanceplanid:
  15838. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  15839. type: string
  15840. performancestatus:
  15841. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭
  15842. type: integer
  15843. performancetype:
  15844. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  15845. type: integer
  15846. qty:
  15847. description: 履约数量
  15848. type: number
  15849. relatedorderid:
  15850. description: 关联单号(履约类型的关联单号)
  15851. type: string
  15852. remark:
  15853. description: 备注
  15854. type: string
  15855. sellaccountid:
  15856. description: 卖方账号
  15857. type: integer
  15858. sellerfreezeamount:
  15859. description: 履约冻结(卖履约)
  15860. type: number
  15861. sellerfreezeamountremain:
  15862. description: 履约冻结剩余(卖履约)
  15863. type: number
  15864. sellreceivedamount:
  15865. description: 卖方已收金额
  15866. type: number
  15867. sellusername:
  15868. description: 卖方名字
  15869. type: string
  15870. shipremark:
  15871. description: 发货备注[物流单号]
  15872. type: string
  15873. starttime:
  15874. description: 开始时间
  15875. type: string
  15876. steptypeid:
  15877. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  15878. type: integer
  15879. typename:
  15880. description: 履约类型 名称
  15881. type: string
  15882. unpaidamount:
  15883. description: 剩余款(待支付金额)
  15884. type: number
  15885. userid:
  15886. description: 用户id
  15887. type: integer
  15888. warehouseid:
  15889. description: 仓库ID
  15890. type: integer
  15891. warehousename:
  15892. description: 仓库名称
  15893. type: string
  15894. wrfactortypeid:
  15895. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15896. type: string
  15897. wrfactortypename:
  15898. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15899. type: string
  15900. wrstandardcode:
  15901. description: 现货商品代码
  15902. type: string
  15903. wrstandardid:
  15904. description: 现货商品ID
  15905. type: integer
  15906. wrstandardname:
  15907. description: 商品名称
  15908. type: string
  15909. wrtransferuserid:
  15910. description: 仓单受让用户
  15911. type: integer
  15912. wrtypename:
  15913. description: 商品
  15914. type: string
  15915. required:
  15916. - userid
  15917. type: object
  15918. models.WrPerformancePlanStep:
  15919. properties:
  15920. delaydays:
  15921. description: 延期申请天数
  15922. type: integer
  15923. deliverygoodscode:
  15924. description: 品种代码
  15925. type: string
  15926. deliverygoodsid:
  15927. description: 品种ID
  15928. type: integer
  15929. deliverygoodsname:
  15930. description: 品种名称
  15931. type: string
  15932. endtime:
  15933. description: 结束日期
  15934. type: string
  15935. enumdicname:
  15936. description: 单位名称
  15937. type: string
  15938. executeside:
  15939. description: 步骤执行方 - 1:买方 2:卖方
  15940. type: integer
  15941. handlestatus:
  15942. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  15943. type: integer
  15944. isauto:
  15945. description: 是否自动 - 0:不自动 1:自动
  15946. type: integer
  15947. islastreceivestep:
  15948. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  15949. type: integer
  15950. minivalue:
  15951. description: 现货商品最小变动值
  15952. type: integer
  15953. optioncompare:
  15954. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15955. type: string
  15956. overdays:
  15957. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  15958. type: integer
  15959. performancestepid:
  15960. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  15961. type: string
  15962. planid:
  15963. description: 所属履约计划ID
  15964. type: string
  15965. realamount:
  15966. description: 实际完成金额
  15967. type: number
  15968. relatedorderid:
  15969. description: 关联单号
  15970. type: string
  15971. remaindays:
  15972. description: 剩余天数
  15973. type: integer
  15974. remark:
  15975. description: 错误备注
  15976. type: string
  15977. starttime:
  15978. description: 开始日期
  15979. type: string
  15980. stepamount:
  15981. description: 步骤金额
  15982. type: number
  15983. stepdays:
  15984. description: 距离上一步天数(分钟)
  15985. type: integer
  15986. stepindex:
  15987. description: 步骤序号
  15988. type: integer
  15989. steplanchtype:
  15990. description: 步骤启动类型 - 1:系统自动 2:手动
  15991. type: integer
  15992. stepremark:
  15993. description: 步骤备注
  15994. type: string
  15995. stepstatus:
  15996. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  15997. type: integer
  15998. steptypeid:
  15999. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  16000. type: integer
  16001. steptypename:
  16002. description: 步骤名称
  16003. type: string
  16004. stepvalue:
  16005. description: 步骤值
  16006. type: number
  16007. warehouseid:
  16008. description: 仓库ID
  16009. type: integer
  16010. warehousename:
  16011. description: 仓库名称
  16012. type: string
  16013. wrfactortypeid:
  16014. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16015. type: string
  16016. wrfactortypename:
  16017. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16018. type: string
  16019. wrstandardcode:
  16020. description: 现货商品代码
  16021. type: string
  16022. wrstandardid:
  16023. description: 现货商品ID
  16024. type: integer
  16025. wrstandardname:
  16026. description: 商品名称
  16027. type: string
  16028. wrtypename:
  16029. description: 商品
  16030. type: string
  16031. type: object
  16032. models.WrPerformanceStepType:
  16033. properties:
  16034. canauto:
  16035. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  16036. type: integer
  16037. steptypeid:
  16038. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  16039. type: integer
  16040. steptypename:
  16041. description: 步骤类型名称
  16042. type: string
  16043. type: object
  16044. models.WrPerformanceTemplateEx:
  16045. properties:
  16046. autoid:
  16047. description: AutoID 模板id
  16048. type: integer
  16049. createtime:
  16050. description: 创建时间
  16051. type: string
  16052. creatorid:
  16053. description: 创建人
  16054. type: integer
  16055. lstStep:
  16056. description: 步骤信息列表
  16057. items:
  16058. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  16059. type: array
  16060. paymenttype:
  16061. description: 支付方式 - 1:冻结 2:扣款
  16062. type: integer
  16063. takemode:
  16064. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  16065. type: integer
  16066. templatename:
  16067. description: 模板名称
  16068. type: string
  16069. templatetype:
  16070. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  16071. type: integer
  16072. userid:
  16073. description: 所属用户
  16074. type: integer
  16075. type: object
  16076. models.WrPosition:
  16077. properties:
  16078. accountid:
  16079. description: 帐户ID
  16080. type: integer
  16081. buyexcuteqty:
  16082. description: 采购履约中数量
  16083. type: number
  16084. creditcurqty:
  16085. description: 授信当前数量(预售仓单:预售当前量)
  16086. type: number
  16087. creditenableqty:
  16088. description: '授信可用数量(预售仓单: 可用数量)'
  16089. type: number
  16090. creditfreezeqty:
  16091. description: '授信冻结数量(预售仓单: 当前数量)'
  16092. type: number
  16093. credittotalqty:
  16094. description: 授信总数量(预售仓单:预售总量)
  16095. type: number
  16096. credittradeqty:
  16097. description: 授信成交数量(预售仓单:成交总量)
  16098. type: number
  16099. deliverygoodscode:
  16100. description: 品种代码
  16101. type: string
  16102. deliverygoodsid:
  16103. description: 品种ID
  16104. type: integer
  16105. deliverygoodsname:
  16106. description: 品种名称
  16107. type: string
  16108. enalbeqty:
  16109. description: 可用数量
  16110. type: number
  16111. enumdicname:
  16112. description: 单位名称
  16113. type: string
  16114. freezeqty:
  16115. description: 总冻结数量
  16116. type: number
  16117. haswr:
  16118. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16119. type: integer
  16120. minivalue:
  16121. description: 现货商品最小变动值
  16122. type: integer
  16123. modifytime:
  16124. description: 修改时间(过户时间)
  16125. type: string
  16126. optioncompare:
  16127. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16128. type: string
  16129. pledgeqty:
  16130. description: 质押数量
  16131. type: number
  16132. querytype:
  16133. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  16134. type: integer
  16135. sellexcuteqty:
  16136. description: 销售履约中数量
  16137. type: number
  16138. totalqty:
  16139. description: 总数量(库存数量)
  16140. type: number
  16141. warehouseid:
  16142. description: 仓库ID
  16143. type: integer
  16144. warehousename:
  16145. description: 仓库名称
  16146. type: string
  16147. wrfactortypeid:
  16148. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16149. type: string
  16150. wrfactortypename:
  16151. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16152. type: string
  16153. wrpositionid:
  16154. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  16155. type: string
  16156. wrpositionno:
  16157. description: 仓单编号
  16158. type: string
  16159. wrstandardcode:
  16160. description: 现货商品代码
  16161. type: string
  16162. wrstandardid:
  16163. description: 现货商品ID
  16164. type: integer
  16165. wrstandardname:
  16166. description: 商品名称
  16167. type: string
  16168. wrtypename:
  16169. description: 商品
  16170. type: string
  16171. wruserid:
  16172. description: 持有人ID
  16173. type: integer
  16174. type: object
  16175. models.WrQuoteOrderMyq:
  16176. properties:
  16177. buyorsell:
  16178. description: 买卖 - 0:买 1:卖
  16179. type: integer
  16180. canbargain:
  16181. description: 是否可议价 - 0:不可 1:可
  16182. type: integer
  16183. canpart:
  16184. description: 是否允许部份摘牌 - 0:不允许 1:允许
  16185. type: integer
  16186. delistminqty:
  16187. description: 起摘数量
  16188. type: number
  16189. deliverygoodscode:
  16190. description: 品种代码
  16191. type: string
  16192. deliverygoodsid:
  16193. description: 品种ID
  16194. type: integer
  16195. deliverygoodsname:
  16196. description: 品种名称
  16197. type: string
  16198. deliverymonth:
  16199. description: 交收月
  16200. type: string
  16201. enumdicname:
  16202. description: 单位名称
  16203. type: string
  16204. fixedprice:
  16205. description: 买(卖)价
  16206. type: number
  16207. goodscode:
  16208. description: 商品合约代码
  16209. type: string
  16210. marginflag:
  16211. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  16212. type: integer
  16213. marginvalue:
  16214. description: 保证金设置值
  16215. type: number
  16216. minivalue:
  16217. description: 现货商品最小变动值
  16218. type: integer
  16219. orderqty:
  16220. description: 买(卖)量(=委托量-成交量)
  16221. type: number
  16222. ordertime:
  16223. description: 委托时间
  16224. type: string
  16225. performancetemplateid:
  16226. description: 履约模板id
  16227. type: integer
  16228. pricemove:
  16229. description: 买(卖)升贴水- 基差
  16230. type: number
  16231. templatename:
  16232. description: 履约模板名称
  16233. type: string
  16234. userid:
  16235. description: 购买方(销售方)用户ID
  16236. type: integer
  16237. username:
  16238. description: 购买方(销售方)
  16239. type: string
  16240. validtime:
  16241. description: 有效期限
  16242. type: string
  16243. validtype:
  16244. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  16245. type: integer
  16246. warehousename:
  16247. description: 仓库名称
  16248. type: string
  16249. wrfactortypeid:
  16250. description: 仓单要素id
  16251. type: string
  16252. wrstandardcode:
  16253. description: 现货商品代码
  16254. type: string
  16255. wrstandardid:
  16256. description: 现货商品ID
  16257. type: integer
  16258. wrstandardname:
  16259. description: 商品名称
  16260. type: string
  16261. wrtradeorderid:
  16262. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16263. type: string
  16264. wrtypename:
  16265. description: 商品
  16266. type: string
  16267. type: object
  16268. models.WrScfContract:
  16269. properties:
  16270. borroweruserid:
  16271. description: 借款用户ID
  16272. type: integer
  16273. buybackwrpositionqty:
  16274. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  16275. type: number
  16276. closeinterest:
  16277. description: 已结利息 -> 已结费用
  16278. type: number
  16279. currisklevel:
  16280. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  16281. type: integer
  16282. deadline:
  16283. description: 截止日期(yyyyMMdd) -> 借款到期时间
  16284. type: string
  16285. deliverygoodscode:
  16286. description: 品种代码
  16287. type: string
  16288. deliverygoodsid:
  16289. description: 品种ID
  16290. type: integer
  16291. deliverygoodsname:
  16292. description: 品种名称
  16293. type: string
  16294. enumdicname:
  16295. description: 单位名称
  16296. type: string
  16297. financingdays:
  16298. description: 天数(天)
  16299. type: integer
  16300. initmargin:
  16301. description: 保证金 - [仓单回购]
  16302. type: number
  16303. interestamount:
  16304. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  16305. type: number
  16306. interestdebt:
  16307. description: 利息欠款(记录负数) -> 费用欠款
  16308. type: number
  16309. interestminlen:
  16310. description: 最小起息天数
  16311. type: integer
  16312. interestrate:
  16313. description: 利率
  16314. type: number
  16315. interestratemode:
  16316. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  16317. type: integer
  16318. interestsettlemode:
  16319. description: 结息方式 - 1:按日结息 3:按月结息
  16320. type: integer
  16321. interestsettlevalue:
  16322. description: 结息方式值
  16323. type: integer
  16324. isautoloan:
  16325. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  16326. type: integer
  16327. lastcloseinterestday:
  16328. description: 最近结息日(yyyyMMdd)
  16329. type: string
  16330. lenderamount:
  16331. description: 贷款金额 -> 借款金额
  16332. type: number
  16333. lenderuserid:
  16334. description: 贷款方用户ID -> 融出方用户ID
  16335. type: integer
  16336. lenderusername:
  16337. description: 融出方
  16338. type: string
  16339. marginratio:
  16340. description: 保证金比率质押率 - [仓单质押]
  16341. type: number
  16342. marketid:
  16343. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  16344. type: integer
  16345. minivalue:
  16346. description: 现货商品最小变动值
  16347. type: integer
  16348. optioncompare:
  16349. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16350. type: string
  16351. pricemove:
  16352. description: 估值升贴水值
  16353. type: number
  16354. productdetailid:
  16355. description: 产品组合ID
  16356. type: integer
  16357. productid:
  16358. description: 金融产品ID
  16359. type: integer
  16360. productname:
  16361. description: 产品名称
  16362. type: string
  16363. remainamount:
  16364. description: 合同剩余金额 -> 剩余金额
  16365. type: number
  16366. remainwrpositionqty:
  16367. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  16368. type: number
  16369. remark:
  16370. description: 备注
  16371. type: string
  16372. scfcontractid:
  16373. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  16374. type: string
  16375. scfcontractstatus:
  16376. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交
  16377. type: integer
  16378. scfcontracttype:
  16379. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  16380. type: integer
  16381. startinterestday:
  16382. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  16383. type: string
  16384. totalinterest:
  16385. description: 已计利息 -> 已计费用
  16386. type: number
  16387. unpaidinterest:
  16388. description: 未结费用
  16389. type: number
  16390. updatetime:
  16391. description: 更新时间
  16392. type: string
  16393. warehouseid:
  16394. description: 仓库ID
  16395. type: integer
  16396. warehousename:
  16397. description: 仓库名称
  16398. type: string
  16399. wrfactortypeid:
  16400. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16401. type: string
  16402. wrfactortypename:
  16403. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16404. type: string
  16405. wrqty:
  16406. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  16407. type: number
  16408. wrstandardcode:
  16409. description: 现货商品代码
  16410. type: string
  16411. wrstandardid:
  16412. description: 现货商品ID
  16413. type: integer
  16414. wrstandardname:
  16415. description: 商品名称
  16416. type: string
  16417. wrtypename:
  16418. description: 商品
  16419. type: string
  16420. type: object
  16421. models.WrScfContractInterest:
  16422. properties:
  16423. closeinterest:
  16424. description: 已结利息
  16425. type: number
  16426. closeintereststatus:
  16427. description: 结息状态 - 1:未结 2:已结
  16428. type: integer
  16429. closetime:
  16430. description: 结息时间
  16431. type: string
  16432. closetradedate:
  16433. description: 结息交易日
  16434. type: string
  16435. creatorid:
  16436. description: 操作人ID
  16437. type: integer
  16438. dayrate:
  16439. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  16440. type: number
  16441. interest:
  16442. description: 利息
  16443. type: number
  16444. interestamount:
  16445. description: 计息金额
  16446. type: number
  16447. interestday:
  16448. description: 计息日(yyyyMMdd)
  16449. type: string
  16450. scfcontractid:
  16451. description: SCF合同ID
  16452. type: string
  16453. scfcontractinterestid:
  16454. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  16455. type: integer
  16456. updatetime:
  16457. description: 更新时间
  16458. type: string
  16459. type: object
  16460. models.WrSiteColumnDetail:
  16461. properties:
  16462. brief:
  16463. description: 简介
  16464. type: string
  16465. context:
  16466. description: 内容
  16467. type: string
  16468. coverimage:
  16469. description: 封面图片
  16470. type: string
  16471. creaedate:
  16472. description: 创建时间
  16473. type: string
  16474. id:
  16475. description: ID(SEQ_SITE_COLUMNDETAIL)
  16476. type: integer
  16477. istop:
  16478. description: 是否置顶 - 0:不置 1:置顶
  16479. type: integer
  16480. publishdate:
  16481. description: 发布日期
  16482. type: string
  16483. title:
  16484. description: 标题
  16485. type: string
  16486. updatedate:
  16487. description: 修改时间
  16488. type: string
  16489. type: object
  16490. models.WrSpecialMatchOrder:
  16491. properties:
  16492. amount:
  16493. description: 金额 = 数量 * 价格
  16494. type: number
  16495. buyorsell:
  16496. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  16497. type: integer
  16498. cancelqty:
  16499. description: 撤销数量
  16500. type: number
  16501. deliverygoodscode:
  16502. description: 品种代码
  16503. type: string
  16504. deliverygoodsid:
  16505. description: 品种ID
  16506. type: integer
  16507. deliverygoodsname:
  16508. description: 品种名称
  16509. type: string
  16510. enumdicname:
  16511. description: 单位名称
  16512. type: string
  16513. fixedprice:
  16514. description: 固定价格(价格)
  16515. type: number
  16516. haswr:
  16517. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16518. type: integer
  16519. isspecified:
  16520. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  16521. type: integer
  16522. marketid:
  16523. description: 市场ID
  16524. type: integer
  16525. matchuserid:
  16526. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  16527. type: integer
  16528. matchusername:
  16529. description: 指定方
  16530. type: string
  16531. minivalue:
  16532. description: 现货商品最小变动值
  16533. type: integer
  16534. optioncompare:
  16535. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16536. type: string
  16537. orderqty:
  16538. description: 委托数量
  16539. type: number
  16540. ordertime:
  16541. description: 委托时间
  16542. type: string
  16543. pricemove:
  16544. description: 升贴水(浮动价时填写) - [挂牌]
  16545. type: number
  16546. tradedate:
  16547. description: 交易日(yyyyMMdd)
  16548. type: string
  16549. tradeprice:
  16550. description: 成交价格
  16551. type: number
  16552. tradeqty:
  16553. description: 成交数量
  16554. type: number
  16555. userid:
  16556. description: 用户ID
  16557. type: integer
  16558. username:
  16559. description: 发起方
  16560. type: string
  16561. warehouseid:
  16562. description: 仓库ID
  16563. type: integer
  16564. warehousename:
  16565. description: 仓库名称
  16566. type: string
  16567. wrfactortypeid:
  16568. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16569. type: string
  16570. wrfactortypename:
  16571. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16572. type: string
  16573. wrpricetype:
  16574. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  16575. type: integer
  16576. wrstandardcode:
  16577. description: 现货商品代码
  16578. type: string
  16579. wrstandardid:
  16580. description: 现货商品ID
  16581. type: integer
  16582. wrstandardname:
  16583. description: 商品名称
  16584. type: string
  16585. wrtradeorderid:
  16586. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16587. type: string
  16588. wrtradeorderstatus:
  16589. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  16590. type: integer
  16591. wrtradetype:
  16592. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  16593. type: integer
  16594. wrtypename:
  16595. description: 商品
  16596. type: string
  16597. type: object
  16598. models.WrSpotGroupTradeSum:
  16599. properties:
  16600. deliverygoodscode:
  16601. description: 现货品种代码
  16602. type: string
  16603. deliverygoodsid:
  16604. description: 现货品种ID(SEQ_DELIVERYGOODS)
  16605. type: integer
  16606. deliverygoodsname:
  16607. description: 现货品种名称
  16608. type: string
  16609. lastavgprice:
  16610. description: 上上个交易日价格(前2天价格)
  16611. type: string
  16612. lastreckondate:
  16613. description: 上上个交易日(前2天交易日)
  16614. type: string
  16615. reckondate:
  16616. description: 上个交易日(前1天交易日)
  16617. type: string
  16618. todayavgprice:
  16619. description: 上个交易日价格(前1天价格)
  16620. type: string
  16621. updown:
  16622. description: 涨跌
  16623. type: string
  16624. updownratio:
  16625. description: 涨幅(已格式化, 直接显示即可)
  16626. type: string
  16627. type: object
  16628. models.WrSpotGroupTradeSumDetail:
  16629. properties:
  16630. deliverygoodsid:
  16631. description: 现货商品id
  16632. type: integer
  16633. price:
  16634. description: 价格
  16635. type: number
  16636. reckondate:
  16637. description: 日期(yyymmdd, 如:20211031)
  16638. type: string
  16639. type: object
  16640. models.WrSpotGroupTradeSumEx:
  16641. properties:
  16642. lst:
  16643. description: 指数列表
  16644. items:
  16645. $ref: '#/definitions/models.WrSpotGroupTradeSum'
  16646. type: array
  16647. prereckondate:
  16648. description: 上上个交易日(yyymmdd)
  16649. type: string
  16650. reckondate:
  16651. description: 上个交易日(yyyymmdd)
  16652. type: string
  16653. type: object
  16654. models.WrStandardFactoryItem:
  16655. properties:
  16656. dgfactoryitemid:
  16657. description: 选择项id
  16658. type: integer
  16659. dgfactoryitemvalue:
  16660. description: 要素项值
  16661. type: string
  16662. warehouseid:
  16663. description: 仓库id
  16664. type: integer
  16665. type: object
  16666. models.WrStandardFactoryItemEx:
  16667. properties:
  16668. dgfactoryitemtypeid:
  16669. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  16670. type: integer
  16671. itemlst:
  16672. description: 要素项列表
  16673. items:
  16674. $ref: '#/definitions/models.WrStandardFactoryItem'
  16675. type: array
  16676. itemtypename:
  16677. description: 要素项类型名称
  16678. type: string
  16679. wrstandardid:
  16680. description: 品类
  16681. type: integer
  16682. type: object
  16683. models.WrTradeDetail:
  16684. properties:
  16685. accountid:
  16686. description: 资金账号
  16687. type: integer
  16688. buyorsell:
  16689. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  16690. type: integer
  16691. chargevalue:
  16692. description: 手续费
  16693. type: number
  16694. deliverygoodscode:
  16695. description: 品种代码
  16696. type: string
  16697. deliverygoodsid:
  16698. description: 品种ID
  16699. type: integer
  16700. deliverygoodsname:
  16701. description: 品种名称
  16702. type: string
  16703. deliverymonth:
  16704. description: 交收月
  16705. type: string
  16706. enumdicname:
  16707. description: 单位名称
  16708. type: string
  16709. haswr:
  16710. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16711. type: integer
  16712. marketid:
  16713. description: 市场ID
  16714. type: integer
  16715. matchaccountid:
  16716. description: 对手账号
  16717. type: integer
  16718. matchusername:
  16719. description: 对手方
  16720. type: string
  16721. minivalue:
  16722. description: 现货商品最小变动值
  16723. type: integer
  16724. optioncompare:
  16725. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16726. type: string
  16727. tradedate:
  16728. description: 交易日(yyyyMMdd)
  16729. type: string
  16730. tradeprice:
  16731. description: 成交价格
  16732. type: number
  16733. tradeqty:
  16734. description: 成交数量
  16735. type: number
  16736. tradetime:
  16737. description: 成交时间
  16738. type: string
  16739. userid:
  16740. description: 用户ID
  16741. type: integer
  16742. warehouseid:
  16743. description: 仓库ID
  16744. type: integer
  16745. warehousename:
  16746. description: 仓库名称
  16747. type: string
  16748. wrfactortypeid:
  16749. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16750. type: string
  16751. wrfactortypename:
  16752. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16753. type: string
  16754. wrstandardcode:
  16755. description: 现货商品代码
  16756. type: string
  16757. wrstandardid:
  16758. description: 现货商品ID
  16759. type: integer
  16760. wrstandardname:
  16761. description: 商品名称
  16762. type: string
  16763. wrtradedetailid:
  16764. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  16765. type: string
  16766. wrtradetype:
  16767. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  16768. type: integer
  16769. wrtypename:
  16770. description: 商品
  16771. type: string
  16772. type: object
  16773. models.WrTradeOrderDetail:
  16774. properties:
  16775. buyorsell:
  16776. description: 买卖方向 0-买 1-卖
  16777. type: integer
  16778. goodsid:
  16779. description: 商品id
  16780. type: integer
  16781. orderid:
  16782. description: 委托单号
  16783. type: string
  16784. orderprice:
  16785. description: 委托价格
  16786. type: number
  16787. orderqty:
  16788. description: 委托数量
  16789. type: integer
  16790. userid:
  16791. description: 用户id
  16792. type: integer
  16793. username:
  16794. description: 用户名称(已脱敏)
  16795. type: string
  16796. type: object
  16797. models.WrTypeItem:
  16798. properties:
  16799. name:
  16800. description: 名称
  16801. type: string
  16802. value:
  16803. description: 值
  16804. type: string
  16805. type: object
  16806. models.WrUserFriend:
  16807. properties:
  16808. friendname:
  16809. description: 朋友名称(已脱敏)
  16810. type: string
  16811. frienduserid:
  16812. description: 朋友id
  16813. type: integer
  16814. isfriend:
  16815. description: 是否好友 0-不是 1-是
  16816. type: integer
  16817. userid:
  16818. description: 用户id
  16819. type: integer
  16820. type: object
  16821. models.WrUserReceiptInfo:
  16822. properties:
  16823. address:
  16824. description: 地址[发票类型:企业]
  16825. type: string
  16826. autoid:
  16827. description: AutoID
  16828. type: integer
  16829. contactinfo:
  16830. description: 联系方式
  16831. type: string
  16832. idnum:
  16833. description: 身份证号码[发票类型:个人]
  16834. type: string
  16835. isdefault:
  16836. description: 是否默认地址 - 0:否 1:是
  16837. type: integer
  16838. receiptaccount:
  16839. description: 发票帐号[发票类型:企业]
  16840. type: string
  16841. receiptbank:
  16842. description: 发票开户行[发票类型:企业]
  16843. type: string
  16844. receipttype:
  16845. description: 发票类型 - 1:个人 2:企业
  16846. type: integer
  16847. taxpayerid:
  16848. description: 纳税人识别号
  16849. type: string
  16850. userid:
  16851. description: 用户ID
  16852. type: integer
  16853. username:
  16854. description: 户名(个人姓名或企业名称)
  16855. type: string
  16856. type: object
  16857. models.XHBRAND:
  16858. properties:
  16859. brandid:
  16860. description: 品牌id
  16861. type: integer
  16862. brandname:
  16863. description: 品牌名称
  16864. type: string
  16865. isvalid:
  16866. description: 是否有效 0-无效 1-有效
  16867. type: integer
  16868. type: object
  16869. models.XHDeliveryGoods:
  16870. properties:
  16871. areauserid:
  16872. description: 所属机构
  16873. type: integer
  16874. bdlst:
  16875. description: 品牌列表
  16876. items:
  16877. $ref: '#/definitions/models.XHBRAND'
  16878. type: array
  16879. deliverygoodscode:
  16880. description: 现货品种代码
  16881. type: string
  16882. deliverygoodsid:
  16883. description: 现货品种ID(SEQ_DELIVERYGOODS)
  16884. type: integer
  16885. deliverygoodsname:
  16886. description: 现货品种名称
  16887. type: string
  16888. dgstatus:
  16889. description: 品种状态 - 作废 - 0:未激活 1:正常
  16890. type: integer
  16891. isvalid:
  16892. description: 是否有效 - 0:无效 1:有效
  16893. type: integer
  16894. remark:
  16895. description: 备注
  16896. type: string
  16897. unitid:
  16898. description: 单位id(目前看,数据库中是空值)
  16899. type: integer
  16900. wdlst:
  16901. description: 品类(现货商品)列表
  16902. items:
  16903. $ref: '#/definitions/models.XHWrstandard'
  16904. type: array
  16905. type: object
  16906. models.XHMiddleGoods:
  16907. properties:
  16908. convertratio:
  16909. description: 拆算系数
  16910. type: number
  16911. costratio:
  16912. description: 成本权重
  16913. type: number
  16914. deliverygoodsid:
  16915. description: 现货商品id
  16916. type: integer
  16917. enumdicname:
  16918. description: 单位名称
  16919. type: string
  16920. gplst:
  16921. description: 期货品种列表
  16922. items:
  16923. $ref: '#/definitions/models.TBGoodsGroup'
  16924. type: array
  16925. middlegoodscode:
  16926. description: 套保品种代码
  16927. type: string
  16928. middlegoodsid:
  16929. description: 套保品种id
  16930. type: integer
  16931. middlegoodsname:
  16932. description: 套保品种名称
  16933. type: string
  16934. unitid:
  16935. description: 单位id
  16936. type: integer
  16937. type: object
  16938. models.XHWrstandard:
  16939. properties:
  16940. deliverygoodsid:
  16941. description: 品种ID
  16942. type: integer
  16943. enumdicname:
  16944. description: 单位名称
  16945. type: string
  16946. mglst:
  16947. description: 套保品列表
  16948. items:
  16949. $ref: '#/definitions/models.XHMiddleGoods'
  16950. type: array
  16951. unitid:
  16952. description: 单位id
  16953. type: integer
  16954. vatrate:
  16955. description: 增值税率
  16956. type: number
  16957. wrstandardcode:
  16958. description: 现货商品代码
  16959. type: string
  16960. wrstandardid:
  16961. description: 现货商品ID(SEQ_WRSTANDARD)
  16962. type: integer
  16963. wrstandardname:
  16964. description: 现货商品名称
  16965. type: string
  16966. type: object
  16967. order.QueryHisTradeDetailRsp:
  16968. properties:
  16969. accountid:
  16970. description: 账户ID[报价币种]
  16971. type: integer
  16972. advanceratio:
  16973. description: 首付比率
  16974. type: number
  16975. buildtype:
  16976. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  16977. type: integer
  16978. buyorsell:
  16979. description: 方向 - 0:买 1:卖
  16980. type: integer
  16981. charge:
  16982. description: 手续费
  16983. type: number
  16984. closecharge:
  16985. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  16986. type: number
  16987. closeexchagechargevalue:
  16988. description: 平仓交易所手续费设置值
  16989. type: number
  16990. closefeealgorithm:
  16991. description: 平仓手续费收取方式 1:比率 2:固定
  16992. type: integer
  16993. closememberchargevalue:
  16994. description: 平仓会员手续费设置值
  16995. type: number
  16996. closepl:
  16997. description: 平仓盈亏
  16998. type: number
  16999. closepl2:
  17000. description: 平仓盈亏[逐笔]
  17001. type: number
  17002. closeqty:
  17003. description: 平仓数量(先建后平操作 需要记录)
  17004. type: number
  17005. creditamount:
  17006. description: 授信金额
  17007. type: number
  17008. decimalplace:
  17009. description: 商品报价小数位
  17010. type: integer
  17011. enumdicname:
  17012. description: 单位名称
  17013. type: string
  17014. gcaccountid:
  17015. description: 账户ID[合约币种]
  17016. type: integer
  17017. goodscode:
  17018. description: 商品代码
  17019. type: string
  17020. goodsid:
  17021. description: 商品ID
  17022. type: integer
  17023. goodsname:
  17024. description: 商品名称
  17025. type: string
  17026. goodunitid:
  17027. description: 商品单位id
  17028. type: integer
  17029. histradedate:
  17030. description: 历史交易日
  17031. type: string
  17032. intclosepl:
  17033. description: 整型盈亏(用于交易结算试算平衡-收益权)
  17034. type: integer
  17035. isconfirmexercise:
  17036. description: 是否确认行权- 0:否 1:是
  17037. type: integer
  17038. ismain:
  17039. description: 是否主单 - 0:不是 1:是
  17040. type: integer
  17041. ispreexercise:
  17042. description: 是否预申报- 0:否 1:是
  17043. type: integer
  17044. isreckoned:
  17045. description: 是否结算 - 0:未结算 1:已结算
  17046. type: integer
  17047. isvaliddata:
  17048. description: 是否有效 - 0:无效 1:有效
  17049. type: integer
  17050. listingselecttype:
  17051. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17052. type: integer
  17053. marketid:
  17054. description: 市场ID
  17055. type: integer
  17056. marketname:
  17057. description: 市场名称
  17058. type: string
  17059. matchaccountid:
  17060. description: 对手账号id
  17061. type: integer
  17062. memberuserid:
  17063. description: 会员id 个人投资者 需要填写
  17064. type: integer
  17065. opencharge:
  17066. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17067. type: number
  17068. openexchagechargevalue:
  17069. description: 建仓交易所手续费设置值
  17070. type: number
  17071. openfeealgorithm:
  17072. description: 建仓手续费收取方式 1:比率 2:固定
  17073. type: integer
  17074. openmemberchargevalue:
  17075. description: 建仓会员手续费设置值
  17076. type: number
  17077. openqty:
  17078. description: 开仓数量(先建后平操作 需要记录)
  17079. type: number
  17080. optiontype:
  17081. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17082. type: integer
  17083. orderid:
  17084. description: 委托单号
  17085. type: string
  17086. payamount:
  17087. description: 支付金额(付款金额)
  17088. type: number
  17089. performanceplanid:
  17090. description: 履约计划ID[期权]
  17091. type: integer
  17092. performancestatus:
  17093. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  17094. type: integer
  17095. preexerciseprice:
  17096. description: 预申报价格
  17097. type: number
  17098. premium:
  17099. description: 权利金 - [持仓单的权利金]
  17100. type: number
  17101. qtydecimalplace:
  17102. description: 商品报价小数位
  17103. type: integer
  17104. recvamount:
  17105. description: 到账金额 = 成交金额 - 手续费
  17106. type: number
  17107. relatedouttradeid:
  17108. description: 关联外部成交单ID
  17109. type: integer
  17110. status:
  17111. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  17112. type: integer
  17113. totalamount:
  17114. description: 订单总额 = 成交金额 + 手续费
  17115. type: number
  17116. tradeamount:
  17117. description: 成交金额[账户币种,用于所有权]
  17118. type: number
  17119. tradedate:
  17120. description: 交易日(yyyyMMdd)
  17121. type: string
  17122. tradeid:
  17123. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17124. type: string
  17125. trademode:
  17126. description: 交易模式
  17127. type: integer
  17128. tradeprice:
  17129. description: 成交价格
  17130. type: number
  17131. tradeproperty:
  17132. description: 交易属性
  17133. type: integer
  17134. tradeqty:
  17135. description: 成交数量
  17136. type: number
  17137. tradetime:
  17138. description: 成交时间
  17139. type: string
  17140. tradetype:
  17141. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  17142. type: integer
  17143. required:
  17144. - accountid
  17145. - buyorsell
  17146. - goodsid
  17147. - histradedate
  17148. - marketid
  17149. - memberuserid
  17150. - orderid
  17151. - tradeamount
  17152. - tradedate
  17153. - tradeid
  17154. - tradeprice
  17155. - tradeqty
  17156. - tradetime
  17157. type: object
  17158. order.QueryHisTradeOrderDetailRsp:
  17159. properties:
  17160. accountid:
  17161. description: 账户ID[报价币种]
  17162. type: integer
  17163. buildtype:
  17164. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  17165. type: integer
  17166. buyorsell:
  17167. description: 买卖 - 0:买 1:卖
  17168. type: integer
  17169. cancelorderid:
  17170. description: 撤单单号(撤单时填写)
  17171. type: string
  17172. cancelqty:
  17173. description: 撤单数量
  17174. type: number
  17175. clientordertime:
  17176. description: 客户端委托时间
  17177. type: string
  17178. clientticket:
  17179. description: 客户端流水号
  17180. type: string
  17181. clienttype:
  17182. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  17183. type: integer
  17184. closeexchagechargevalue:
  17185. description: 平仓交易所手续费设置值
  17186. type: number
  17187. closefeealgorithm:
  17188. description: 平仓手续费收取方式 1:比率 2:固定
  17189. type: integer
  17190. closefreezecharge:
  17191. description: 平仓冻结手续费(先建后平操作,需要记录)
  17192. type: number
  17193. closememberchargevalue:
  17194. description: 平仓会员手续费设置值
  17195. type: number
  17196. closeqty:
  17197. description: 平仓数量(先建后平操作 需要记录)
  17198. type: number
  17199. closetradeqty:
  17200. description: 平仓成交数量(先建后平操作,需要记录)
  17201. type: number
  17202. closeunfreezecharge:
  17203. description: 平仓解冻手续费(先建后平操作,需要记录)
  17204. type: number
  17205. decimalplace:
  17206. description: 商品报价小数位
  17207. type: integer
  17208. delistingtype:
  17209. description: 摘牌类型 - 1:价格最优 2:点选成交
  17210. type: integer
  17211. enumdicname:
  17212. description: 单位名称
  17213. type: string
  17214. freezecharge:
  17215. description: 冻结手续费
  17216. type: number
  17217. freezemargin:
  17218. description: 冻结保证金(冻结交易金额)
  17219. type: number
  17220. gcaccountid:
  17221. description: 账户ID[合约币种]
  17222. type: integer
  17223. goodscode:
  17224. description: 商品代码
  17225. type: string
  17226. goodsid:
  17227. description: 商品ID
  17228. type: integer
  17229. goodsname:
  17230. description: 商品名称
  17231. type: string
  17232. goodunitid:
  17233. description: 商品单位id
  17234. type: integer
  17235. histradedate:
  17236. description: 历史交易日
  17237. type: string
  17238. isconfirmexercise:
  17239. description: 是否确认行权- 0:否 1:是
  17240. type: integer
  17241. ispreexercise:
  17242. description: 是否预申报- 0:否 1:是
  17243. type: integer
  17244. isvaliddata:
  17245. description: 是否有效 - 0:无效 1:有效
  17246. type: integer
  17247. listingselecttype:
  17248. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17249. type: integer
  17250. marginalgorithm:
  17251. description: 保证金收取方式 1:比率 2:固定
  17252. type: integer
  17253. marginvalue:
  17254. description: 即市保证金设置值
  17255. type: number
  17256. marketid:
  17257. description: 市场ID
  17258. type: integer
  17259. marketmaxsub:
  17260. description: 市价最大偏移范围
  17261. type: number
  17262. marketname:
  17263. description: 市场名称
  17264. type: string
  17265. memberuserid:
  17266. description: 所属会员UserID
  17267. type: integer
  17268. openexchagechargevalue:
  17269. description: 建仓交易所手续费设置值
  17270. type: number
  17271. openfeealgorithm:
  17272. description: 建仓手续费收取方式 1:比率 2:固定
  17273. type: integer
  17274. openfreezecharge:
  17275. description: 开仓冻结手续费(先建后平操作,需要记录)
  17276. type: number
  17277. openmemberchargevalue:
  17278. description: 建仓会员手续费设置值
  17279. type: number
  17280. openqty:
  17281. description: 开仓数量(先建后平操作,需要记录)
  17282. type: number
  17283. opentradeqty:
  17284. description: 开仓成交数量(先建后平操作,需要记录)
  17285. type: number
  17286. openunfreezecharge:
  17287. description: 开仓解冻手续费(先建后平操作,需要记录)
  17288. type: number
  17289. operatetype:
  17290. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让
  17291. type: integer
  17292. operatorid:
  17293. description: 登录账号(LoginID)
  17294. type: integer
  17295. optiontype:
  17296. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17297. type: integer
  17298. orderid:
  17299. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17300. type: string
  17301. orderprice:
  17302. description: 委托价格
  17303. type: number
  17304. orderqty:
  17305. description: 委托数量
  17306. type: number
  17307. ordersrc:
  17308. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  17309. type: integer
  17310. orderstatus:
  17311. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  17312. type: integer
  17313. ordertime:
  17314. description: 委托时间
  17315. type: string
  17316. preexerciseprice:
  17317. description: 预申报价格
  17318. type: number
  17319. premium:
  17320. description: 权利金
  17321. type: number
  17322. preorderid:
  17323. description: 关联预埋单号(止盈止损单时填写)
  17324. type: string
  17325. pricemode:
  17326. description: '取价方式 - 1:市价 2: 限价'
  17327. type: integer
  17328. qtydecimalplace:
  17329. description: 成交量小数位
  17330. type: integer
  17331. quoteid:
  17332. description: 报价单ID
  17333. type: integer
  17334. relatedid:
  17335. description: 关联单号(交割单)
  17336. type: string
  17337. retcode:
  17338. description: 错误代码
  17339. type: integer
  17340. sessionid:
  17341. description: 会话ID
  17342. type: integer
  17343. tradedate:
  17344. description: 交易日(yyyyMMdd)
  17345. type: string
  17346. trademode:
  17347. description: 交易模式
  17348. type: integer
  17349. tradeproperty:
  17350. description: 交易属性
  17351. type: integer
  17352. tradeqty:
  17353. description: 成交数量
  17354. type: number
  17355. unfreezecharge:
  17356. description: 解冻手续费
  17357. type: number
  17358. unfreezemargin:
  17359. description: 解冻保证金
  17360. type: number
  17361. updatetime:
  17362. description: 更新时间
  17363. type: string
  17364. uuid:
  17365. description: 发起端唯一id
  17366. type: string
  17367. validtime:
  17368. description: 有效期限
  17369. type: string
  17370. validtype:
  17371. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  17372. type: integer
  17373. volumetype:
  17374. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  17375. type: integer
  17376. required:
  17377. - accountid
  17378. - buildtype
  17379. - buyorsell
  17380. - goodsid
  17381. - histradedate
  17382. - marketid
  17383. - memberuserid
  17384. - operatetype
  17385. - orderid
  17386. - orderqty
  17387. - ordertime
  17388. - pricemode
  17389. - tradedate
  17390. - validtype
  17391. type: object
  17392. order.QueryTradeDetailRsp:
  17393. properties:
  17394. accountid:
  17395. description: 账户ID[报价币种]
  17396. type: integer
  17397. advanceratio:
  17398. description: 首付比率
  17399. type: number
  17400. buildtype:
  17401. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  17402. type: integer
  17403. buyorsell:
  17404. description: 方向 - 0:买 1:卖
  17405. type: integer
  17406. charge:
  17407. description: 手续费
  17408. type: number
  17409. closecharge:
  17410. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17411. type: number
  17412. closeexchagechargevalue:
  17413. description: 平仓交易所手续费设置值
  17414. type: number
  17415. closefeealgorithm:
  17416. description: 平仓手续费收取方式 1:比率 2:固定
  17417. type: integer
  17418. closememberchargevalue:
  17419. description: 平仓会员手续费设置值
  17420. type: number
  17421. closepl:
  17422. description: 平仓盈亏
  17423. type: number
  17424. closepl2:
  17425. description: 平仓盈亏[逐笔]
  17426. type: number
  17427. closeqty:
  17428. description: 平仓数量(先建后平操作 需要记录)
  17429. type: number
  17430. creditamount:
  17431. description: 授信金额
  17432. type: number
  17433. decimalplace:
  17434. description: 商品报价小数位
  17435. type: integer
  17436. enumdicname:
  17437. description: 单位名称
  17438. type: string
  17439. gcaccountid:
  17440. description: 账户ID[合约币种]
  17441. type: integer
  17442. goodscode:
  17443. description: 商品代码
  17444. type: string
  17445. goodsid:
  17446. description: 商品ID
  17447. type: integer
  17448. goodsname:
  17449. description: 商品名称
  17450. type: string
  17451. goodunitid:
  17452. description: 商品单位id
  17453. type: integer
  17454. intclosepl:
  17455. description: 整型盈亏(用于交易结算试算平衡-收益权)
  17456. type: integer
  17457. isconfirmexercise:
  17458. description: 是否确认行权- 0:否 1:是
  17459. type: integer
  17460. ismain:
  17461. description: 是否主单 - 0:不是 1:是
  17462. type: integer
  17463. ispreexercise:
  17464. description: 是否预申报- 0:否 1:是
  17465. type: integer
  17466. isreckoned:
  17467. description: 是否结算 - 0:未结算 1:已结算
  17468. type: integer
  17469. listingselecttype:
  17470. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17471. type: integer
  17472. marketid:
  17473. description: 市场ID
  17474. type: integer
  17475. marketname:
  17476. description: 市场名称
  17477. type: string
  17478. matchaccountid:
  17479. description: 对手账号id
  17480. type: integer
  17481. memberuserid:
  17482. description: 会员id 个人投资者 需要填写
  17483. type: integer
  17484. opencharge:
  17485. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17486. type: number
  17487. openexchagechargevalue:
  17488. description: 建仓交易所手续费设置值
  17489. type: number
  17490. openfeealgorithm:
  17491. description: 建仓手续费收取方式 1:比率 2:固定
  17492. type: integer
  17493. openmemberchargevalue:
  17494. description: 建仓会员手续费设置值
  17495. type: number
  17496. openqty:
  17497. description: 开仓数量(先建后平操作 需要记录)
  17498. type: number
  17499. optiontype:
  17500. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17501. type: integer
  17502. orderid:
  17503. description: 委托单号
  17504. type: string
  17505. payamount:
  17506. description: 支付金额(付款金额)
  17507. type: number
  17508. performanceplanid:
  17509. description: 履约计划ID[期权]
  17510. type: integer
  17511. performancestatus:
  17512. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  17513. type: integer
  17514. preexerciseprice:
  17515. description: 预申报价格
  17516. type: number
  17517. premium:
  17518. description: 权利金 - [持仓单的权利金]
  17519. type: number
  17520. qtydecimalplace:
  17521. description: 商品报价小数位
  17522. type: integer
  17523. recvamount:
  17524. description: 到账金额 = 成交金额 - 手续费
  17525. type: number
  17526. relatedouttradeid:
  17527. description: 关联外部成交单ID
  17528. type: integer
  17529. status:
  17530. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  17531. type: integer
  17532. totalamount:
  17533. description: 订单总额 = 成交金额 + 手续费
  17534. type: number
  17535. tradeamount:
  17536. description: 成交金额[账户币种,用于所有权]
  17537. type: number
  17538. tradedate:
  17539. description: 交易日(yyyyMMdd)
  17540. type: string
  17541. tradeid:
  17542. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17543. type: string
  17544. trademode:
  17545. description: 交易模式
  17546. type: integer
  17547. tradeprice:
  17548. description: 成交价格
  17549. type: number
  17550. tradeproperty:
  17551. description: 交易属性
  17552. type: integer
  17553. tradeqty:
  17554. description: 成交数量
  17555. type: number
  17556. tradetime:
  17557. description: 成交时间
  17558. type: string
  17559. tradetype:
  17560. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  17561. type: integer
  17562. required:
  17563. - accountid
  17564. - buyorsell
  17565. - goodsid
  17566. - marketid
  17567. - memberuserid
  17568. - orderid
  17569. - tradeamount
  17570. - tradedate
  17571. - tradeid
  17572. - tradeprice
  17573. - tradeqty
  17574. - tradetime
  17575. type: object
  17576. order.QueryTradeOrderDetailRsp:
  17577. properties:
  17578. accountid:
  17579. description: 账户ID[报价币种]
  17580. type: integer
  17581. buildtype:
  17582. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  17583. type: integer
  17584. buyorsell:
  17585. description: 买卖 - 0:买 1:卖
  17586. type: integer
  17587. cancelorderid:
  17588. description: 撤单单号(撤单时填写)
  17589. type: string
  17590. cancelqty:
  17591. description: 撤单数量
  17592. type: number
  17593. clienttype:
  17594. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  17595. type: integer
  17596. closefreezecharge:
  17597. description: 平仓冻结手续费(先建后平操作,需要记录)
  17598. type: number
  17599. closeqty:
  17600. description: 平仓数量(先建后平操作 需要记录)
  17601. type: number
  17602. closetradeqty:
  17603. description: 平仓成交数量(先建后平操作,需要记录)
  17604. type: number
  17605. closeunfreezecharge:
  17606. description: 平仓解冻手续费(先建后平操作,需要记录)
  17607. type: number
  17608. decimalplace:
  17609. description: 商品报价小数位
  17610. type: integer
  17611. delistingtype:
  17612. description: 摘牌类型 - 1:价格最优 2:点选成交
  17613. type: integer
  17614. enableqty:
  17615. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  17616. type: number
  17617. enumdicname:
  17618. description: 单位名称
  17619. type: string
  17620. freezecharge:
  17621. description: 冻结手续费
  17622. type: number
  17623. freezemargin:
  17624. description: 冻结保证金(冻结交易金额)
  17625. type: number
  17626. goodscode:
  17627. description: 商品代码
  17628. type: string
  17629. goodsid:
  17630. description: 商品ID
  17631. type: integer
  17632. goodsname:
  17633. description: 商品名称
  17634. type: string
  17635. goodunitid:
  17636. description: 商品单位id
  17637. type: integer
  17638. listingselecttype:
  17639. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17640. type: integer
  17641. marketid:
  17642. description: 市场ID
  17643. type: integer
  17644. marketname:
  17645. description: 市场名称
  17646. type: string
  17647. openfreezecharge:
  17648. description: 开仓冻结手续费(先建后平操作,需要记录)
  17649. type: number
  17650. openqty:
  17651. description: 开仓数量(先建后平操作,需要记录)
  17652. type: number
  17653. opentradeqty:
  17654. description: 开仓成交数量(先建后平操作,需要记录)
  17655. type: number
  17656. openunfreezecharge:
  17657. description: 开仓解冻手续费(先建后平操作,需要记录)
  17658. type: number
  17659. operatetype:
  17660. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让
  17661. type: integer
  17662. operatorid:
  17663. description: 登录账号(LoginID)
  17664. type: integer
  17665. orderid:
  17666. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17667. type: string
  17668. orderprice:
  17669. description: 委托价格
  17670. type: number
  17671. orderqty:
  17672. description: 委托数量
  17673. type: number
  17674. ordersrc:
  17675. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  17676. type: integer
  17677. orderstatus:
  17678. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  17679. type: integer
  17680. ordertime:
  17681. description: 委托时间
  17682. type: string
  17683. preorderid:
  17684. description: 关联预埋单号(止盈止损单时填写)
  17685. type: string
  17686. pricemode:
  17687. description: '取价方式 - 1:市价 2: 限价'
  17688. type: integer
  17689. qtydecimalplace:
  17690. description: 商品报价小数位
  17691. type: integer
  17692. relatedid:
  17693. description: 关联单号(交割单)
  17694. type: string
  17695. tradedate:
  17696. description: 交易日(yyyyMMdd)
  17697. type: string
  17698. trademode:
  17699. description: 交易模式
  17700. type: integer
  17701. tradeqty:
  17702. description: 成交数量
  17703. type: number
  17704. unfreezecharge:
  17705. description: 解冻手续费
  17706. type: number
  17707. unfreezemargin:
  17708. description: 解冻保证金
  17709. type: number
  17710. validtime:
  17711. description: 有效期限
  17712. type: string
  17713. validtype:
  17714. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  17715. type: integer
  17716. volumetype:
  17717. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  17718. type: integer
  17719. required:
  17720. - accountid
  17721. - buildtype
  17722. - buyorsell
  17723. - goodsid
  17724. - marketid
  17725. - operatetype
  17726. - orderqty
  17727. - ordertime
  17728. - pricemode
  17729. - tradedate
  17730. - validtype
  17731. type: object
  17732. order.QueryTradePositionRsp:
  17733. properties:
  17734. accountid:
  17735. description: 资金账户
  17736. type: integer
  17737. agreeunit:
  17738. description: 合约单位
  17739. type: number
  17740. averageprice:
  17741. description: 持仓均价
  17742. type: number
  17743. buyorsell:
  17744. description: 方向 - 0:买 1:卖
  17745. type: integer
  17746. closetotalqty:
  17747. description: 平仓总数量
  17748. type: number
  17749. curholderamount:
  17750. description: 当前持仓总金额[商品币种]
  17751. type: number
  17752. curpositionqty:
  17753. description: 当前持仓总数量
  17754. type: number
  17755. currencyid:
  17756. description: 报价货币ID
  17757. type: integer
  17758. curtdposition:
  17759. description: 期末今日头寸
  17760. type: number
  17761. decimalplace:
  17762. description: 报价小数位
  17763. type: integer
  17764. enableqty:
  17765. description: 可用量
  17766. type: number
  17767. fretdposition:
  17768. description: 冻结今日头寸
  17769. type: number
  17770. frozenqty:
  17771. description: 持仓冻结数量
  17772. type: number
  17773. goodscode:
  17774. description: 商品代码
  17775. type: string
  17776. goodsid:
  17777. description: 商品Id
  17778. type: integer
  17779. goodsname:
  17780. description: 商品名称
  17781. type: string
  17782. goodunit:
  17783. description: 报价单位
  17784. type: string
  17785. goodunitid:
  17786. description: 报价单位ID
  17787. type: integer
  17788. holderamount:
  17789. description: 期初持仓总金额[商品币种]
  17790. type: number
  17791. lastprice:
  17792. description: 最新价
  17793. type: number
  17794. marketamount:
  17795. description: 市值
  17796. type: number
  17797. marketid:
  17798. description: 所属市场ID
  17799. type: integer
  17800. openreqqty:
  17801. description: 开仓申请数量(用于比较最大持仓数量)
  17802. type: number
  17803. opentotalqty:
  17804. description: 开仓总数量
  17805. type: number
  17806. otherfrozenqty:
  17807. description: 持仓其他冻结数量(交割冻结)
  17808. type: number
  17809. positionpl:
  17810. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  17811. type: number
  17812. positionplrate:
  17813. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  17814. type: number
  17815. positionqty:
  17816. description: 期初持仓数量
  17817. type: number
  17818. qtydecimalplace:
  17819. description: 成交量小数位
  17820. type: integer
  17821. refgoodscode:
  17822. description: 参考商品代码
  17823. type: string
  17824. refgoodsid:
  17825. description: 参考商品ID
  17826. type: integer
  17827. tnqty:
  17828. description: T+N冻结总量
  17829. type: number
  17830. tnusedqty:
  17831. description: T+N使用量(可以使用T+N的冻结数量)
  17832. type: number
  17833. trademode:
  17834. description: 交易模式
  17835. type: integer
  17836. tradeproperty:
  17837. description: 交易属性
  17838. type: integer
  17839. usedmargin:
  17840. description: 占用保证金[商品币种]
  17841. type: number
  17842. required:
  17843. - goodsid
  17844. type: object
  17845. pb.GoodsMarginCfgStruct:
  17846. properties:
  17847. CustomerTypeID:
  17848. description: 投资者客户类型
  17849. type: integer
  17850. GoodsID:
  17851. description: 商品ID
  17852. type: integer
  17853. IsDefault:
  17854. description: 是否默认标志位
  17855. type: integer
  17856. LockMarginValue:
  17857. description: 锁仓保证金
  17858. type: number
  17859. MarginAlgorithm:
  17860. description: 保证金计算方式
  17861. type: integer
  17862. MarketMarginValue:
  17863. description: 即市保证金值
  17864. type: number
  17865. RealMarginAlgorithm:
  17866. description: 实付保证金计算方式
  17867. type: integer
  17868. RealMarginValue:
  17869. description: 实付比例
  17870. type: number
  17871. ReckonMarginValue:
  17872. description: 结算保证金值
  17873. type: number
  17874. type: object
  17875. quote.HistoryData:
  17876. properties:
  17877. c:
  17878. description: 收盘价
  17879. type: number
  17880. f:
  17881. description: 是否补充数据
  17882. type: boolean
  17883. h:
  17884. description: 最高价
  17885. type: number
  17886. hv:
  17887. description: 持仓量
  17888. type: integer
  17889. l:
  17890. description: 最低价
  17891. type: number
  17892. o:
  17893. description: 开盘价
  17894. type: number
  17895. s:
  17896. description: 结算价,日线周期(包括)以上才有
  17897. type: number
  17898. ts:
  17899. description: 时间
  17900. type: string
  17901. tt:
  17902. description: 总金额
  17903. type: number
  17904. tv:
  17905. description: 总量(成交量)
  17906. type: integer
  17907. type: object
  17908. quote.HistoryTikData:
  17909. properties:
  17910. AV:
  17911. description: 卖量
  17912. type: integer
  17913. Ask:
  17914. description: 卖价
  17915. type: number
  17916. BV:
  17917. description: 买量
  17918. type: integer
  17919. Bid:
  17920. description: 买价
  17921. type: number
  17922. HI:
  17923. description: 单笔持仓
  17924. type: integer
  17925. HV:
  17926. description: 持仓量
  17927. type: integer
  17928. PE:
  17929. description: 现价
  17930. type: number
  17931. TDR:
  17932. description: 交易方向,0:买 1:卖
  17933. type: integer
  17934. TK:
  17935. description: 交易类型
  17936. type: integer
  17937. TS:
  17938. description: 行情时间文本
  17939. type: string
  17940. TT:
  17941. description: 现金额
  17942. type: number
  17943. Vol:
  17944. description: 现量
  17945. type: integer
  17946. type: object
  17947. quote.QueryQuoteDayRsp:
  17948. properties:
  17949. ask:
  17950. description: 卖1
  17951. type: number
  17952. ask2:
  17953. description: 卖2
  17954. type: number
  17955. ask3:
  17956. description: 卖3
  17957. type: number
  17958. ask4:
  17959. description: 卖4
  17960. type: number
  17961. ask5:
  17962. description: 卖5
  17963. type: number
  17964. ask6:
  17965. description: 卖6
  17966. type: number
  17967. ask7:
  17968. description: 卖7
  17969. type: number
  17970. ask8:
  17971. description: 卖8
  17972. type: number
  17973. ask9:
  17974. description: 卖9
  17975. type: number
  17976. ask10:
  17977. description: 卖10
  17978. type: number
  17979. askorderid:
  17980. description: 卖单号1
  17981. type: integer
  17982. askorderid2:
  17983. description: 卖单号2
  17984. type: integer
  17985. askorderid3:
  17986. description: 卖单号3
  17987. type: integer
  17988. askorderid4:
  17989. description: 卖单号4
  17990. type: integer
  17991. askorderid5:
  17992. description: 卖单号5
  17993. type: integer
  17994. askordervolume:
  17995. description: 卖单量1
  17996. type: integer
  17997. askordervolume2:
  17998. description: 卖单量2
  17999. type: integer
  18000. askordervolume3:
  18001. description: 卖单量3
  18002. type: integer
  18003. askordervolume4:
  18004. description: 卖单量4
  18005. type: integer
  18006. askordervolume5:
  18007. description: 卖单量5
  18008. type: integer
  18009. askordervolume6:
  18010. description: 卖单量6
  18011. type: integer
  18012. askordervolume7:
  18013. description: 卖单量7
  18014. type: integer
  18015. askordervolume8:
  18016. description: 卖单量8
  18017. type: integer
  18018. askordervolume9:
  18019. description: 卖单量9
  18020. type: integer
  18021. askordervolume10:
  18022. description: 卖单量10
  18023. type: integer
  18024. askqueueinfo:
  18025. description: 大利市卖港股用
  18026. type: string
  18027. askvolume:
  18028. description: 卖量1
  18029. type: integer
  18030. askvolume2:
  18031. description: 卖量2
  18032. type: integer
  18033. askvolume3:
  18034. description: 卖量3
  18035. type: integer
  18036. askvolume4:
  18037. description: 卖量4
  18038. type: integer
  18039. askvolume5:
  18040. description: 卖量5
  18041. type: integer
  18042. askvolume6:
  18043. description: 卖量6
  18044. type: integer
  18045. askvolume7:
  18046. description: 卖量7
  18047. type: integer
  18048. askvolume8:
  18049. description: 卖量8
  18050. type: integer
  18051. askvolume9:
  18052. description: 卖量9
  18053. type: integer
  18054. askvolume10:
  18055. description: 卖量10
  18056. type: integer
  18057. averageprice:
  18058. description: 均价
  18059. type: number
  18060. bid:
  18061. description: 买1
  18062. type: number
  18063. bid2:
  18064. description: 买2
  18065. type: number
  18066. bid3:
  18067. description: 买3
  18068. type: number
  18069. bid4:
  18070. description: 买4
  18071. type: number
  18072. bid5:
  18073. description: 买5
  18074. type: number
  18075. bid6:
  18076. description: 买6
  18077. type: number
  18078. bid7:
  18079. description: 买7
  18080. type: number
  18081. bid8:
  18082. description: 买8
  18083. type: number
  18084. bid9:
  18085. description: 买9
  18086. type: number
  18087. bid10:
  18088. description: 买10
  18089. type: number
  18090. bidorderid:
  18091. description: 买单号1
  18092. type: integer
  18093. bidorderid2:
  18094. description: 买单号2
  18095. type: integer
  18096. bidorderid3:
  18097. description: 买单号3
  18098. type: integer
  18099. bidorderid4:
  18100. description: 买单号4
  18101. type: integer
  18102. bidorderid5:
  18103. description: 买单号5
  18104. type: integer
  18105. bidordervolume:
  18106. description: 买单量1
  18107. type: integer
  18108. bidordervolume2:
  18109. description: 买单量2
  18110. type: integer
  18111. bidordervolume3:
  18112. description: 买单量3
  18113. type: integer
  18114. bidordervolume4:
  18115. description: 买单量4
  18116. type: integer
  18117. bidordervolume5:
  18118. description: 买单量5
  18119. type: integer
  18120. bidordervolume6:
  18121. description: 买单量6
  18122. type: integer
  18123. bidordervolume7:
  18124. description: 买单量7
  18125. type: integer
  18126. bidordervolume8:
  18127. description: 买单量8
  18128. type: integer
  18129. bidordervolume9:
  18130. description: 买单量9
  18131. type: integer
  18132. bidordervolume10:
  18133. description: 买单量10
  18134. type: integer
  18135. bidqueueinfo:
  18136. description: 大利市买港股用
  18137. type: string
  18138. bidvolume:
  18139. description: 买量1
  18140. type: integer
  18141. bidvolume2:
  18142. description: 买量2
  18143. type: integer
  18144. bidvolume3:
  18145. description: 买量3
  18146. type: integer
  18147. bidvolume4:
  18148. description: 买量4
  18149. type: integer
  18150. bidvolume5:
  18151. description: 买量5
  18152. type: integer
  18153. bidvolume6:
  18154. description: 买量6
  18155. type: integer
  18156. bidvolume7:
  18157. description: 买量7
  18158. type: integer
  18159. bidvolume8:
  18160. description: 买量8
  18161. type: integer
  18162. bidvolume9:
  18163. description: 买量9
  18164. type: integer
  18165. bidvolume10:
  18166. description: 买量10
  18167. type: integer
  18168. calloptionpremiums:
  18169. description: 认购期权1
  18170. type: integer
  18171. calloptionpremiums2:
  18172. description: 认购期权2
  18173. type: integer
  18174. calloptionpremiums3:
  18175. description: 认购期权3
  18176. type: integer
  18177. calloptionpremiums4:
  18178. description: 认购期权4
  18179. type: integer
  18180. calloptionpremiums5:
  18181. description: 认购期权5
  18182. type: integer
  18183. cleartime:
  18184. description: 清盘时间
  18185. type: integer
  18186. exchangecode:
  18187. description: 交易所代码
  18188. type: integer
  18189. exchangedate:
  18190. description: 交易日
  18191. type: integer
  18192. goodscode:
  18193. description: 商品代码
  18194. type: string
  18195. grepmarketprice:
  18196. description: 暗盘价 港股专用
  18197. type: number
  18198. highest:
  18199. description: 最高价
  18200. type: number
  18201. holdincrement:
  18202. description: 单笔持仓
  18203. type: integer
  18204. holdvolume:
  18205. description: 持仓
  18206. type: integer
  18207. iep:
  18208. description: 平衡价 港股专用
  18209. type: number
  18210. iev:
  18211. description: 平衡量 港股专用
  18212. type: number
  18213. inventory:
  18214. description: 库存
  18215. type: integer
  18216. iscleared:
  18217. description: 是否清盘标志
  18218. type: integer
  18219. issettled:
  18220. description: 是否结算标志
  18221. type: integer
  18222. last:
  18223. description: 最新价
  18224. type: number
  18225. lastlot:
  18226. description: 最新成交手数
  18227. type: integer
  18228. lasttime:
  18229. description: 行情时间(只有现价变化行情时间才变化)
  18230. type: string
  18231. lastturnover:
  18232. description: 最新成交金额
  18233. type: number
  18234. lastvolume:
  18235. description: 最新成交量
  18236. type: integer
  18237. limitdown:
  18238. description: 跌停价
  18239. type: number
  18240. limitup:
  18241. description: 涨停价
  18242. type: number
  18243. lowest:
  18244. description: 最低价
  18245. type: number
  18246. nontotalholdervolume:
  18247. description: 非交易持仓量
  18248. type: integer
  18249. nontotallot:
  18250. description: 非交易总手数
  18251. type: integer
  18252. nontotalturnover:
  18253. description: 非交易总金额
  18254. type: integer
  18255. nontotalvolume:
  18256. description: 非交易总量
  18257. type: integer
  18258. opened:
  18259. description: 开盘价
  18260. type: number
  18261. opentime:
  18262. description: 开盘时间
  18263. type: string
  18264. orderid:
  18265. description: 序号
  18266. type: integer
  18267. preclose:
  18268. description: 昨收
  18269. type: number
  18270. preholdvolume:
  18271. description: 昨持仓
  18272. type: integer
  18273. presettle:
  18274. description: 昨结价
  18275. type: number
  18276. publictradetype:
  18277. description: 公共交易标志类型 港股专用
  18278. type: string
  18279. putoptionpremiums:
  18280. description: 认沽期权1
  18281. type: integer
  18282. putoptionpremiums2:
  18283. description: 认沽期权2
  18284. type: integer
  18285. putoptionpremiums3:
  18286. description: 认沽期权3
  18287. type: integer
  18288. putoptionpremiums4:
  18289. description: 认沽期权4
  18290. type: integer
  18291. putoptionpremiums5:
  18292. description: 认沽期权5
  18293. type: integer
  18294. settle:
  18295. description: 结算价
  18296. type: number
  18297. strikeprice:
  18298. description: 发行价
  18299. type: number
  18300. totalaskvolume:
  18301. description: 内盘
  18302. type: integer
  18303. totalbidvolume:
  18304. description: 外盘
  18305. type: integer
  18306. totallot:
  18307. description: 总手数
  18308. type: integer
  18309. totalturnover:
  18310. description: 总金额
  18311. type: number
  18312. totalvolume:
  18313. description: 总量
  18314. type: integer
  18315. utclasttime:
  18316. description: utc的行情时间
  18317. type: string
  18318. type: object
  18319. quote.QueryTSDataRsp:
  18320. properties:
  18321. Count:
  18322. description: 交易日应有数据个数
  18323. type: integer
  18324. decimalPlace:
  18325. description: 小数位
  18326. type: integer
  18327. endTime:
  18328. description: 结束时间
  18329. type: string
  18330. goodsCode:
  18331. description: 商品代码
  18332. type: string
  18333. historyDatas:
  18334. description: 历史数据
  18335. items:
  18336. $ref: '#/definitions/quote.HistoryData'
  18337. type: array
  18338. outGoodsCode:
  18339. description: 外部商品代码
  18340. type: string
  18341. preSettle:
  18342. description: 昨结价
  18343. type: number
  18344. runSteps:
  18345. description: 交易日开休市计划
  18346. items:
  18347. $ref: '#/definitions/quote.TSDataRunStep'
  18348. type: array
  18349. startTime:
  18350. description: 开始时间
  18351. type: string
  18352. tradeDate:
  18353. description: 交易日
  18354. type: string
  18355. type: object
  18356. quote.TSDataRunStep:
  18357. properties:
  18358. end:
  18359. description: 真实结束时间
  18360. type: string
  18361. endflag:
  18362. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  18363. type: integer
  18364. endtime:
  18365. description: 结束时间(HH:mm)
  18366. type: string
  18367. endweekday:
  18368. description: 结束周几
  18369. type: integer
  18370. groupid:
  18371. description: 分组ID
  18372. type: integer
  18373. runstep:
  18374. description: 运行阶段 - 2:连续交易
  18375. type: integer
  18376. sectionid:
  18377. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几
  18378. type: integer
  18379. start:
  18380. description: 真实开始时间
  18381. type: string
  18382. startflag:
  18383. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  18384. type: integer
  18385. starttime:
  18386. description: 起始时间(HH:mm)
  18387. type: string
  18388. startweekday:
  18389. description: 起始周几
  18390. type: integer
  18391. tradeweekday:
  18392. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  18393. type: integer
  18394. type: object
  18395. szdz.QueryConvertLogRsp:
  18396. properties:
  18397. accountid:
  18398. description: 资金账户ID
  18399. type: integer
  18400. clientticket:
  18401. description: 客户端流水号
  18402. type: string
  18403. converttype:
  18404. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  18405. type: integer
  18406. createtime:
  18407. description: 记账时间
  18408. type: string
  18409. daymaxvalue:
  18410. description: 配置当日最大转入限制
  18411. type: number
  18412. daymaxvalue2:
  18413. description: 配置当日最大转入限制(转入)
  18414. type: number
  18415. goodscode:
  18416. description: 商品代码
  18417. type: string
  18418. goodsname:
  18419. description: 商品名称
  18420. type: string
  18421. handlestatus:
  18422. description: 处理状态
  18423. type: integer
  18424. innergoodsid:
  18425. description: 内部商品ID
  18426. type: integer
  18427. inratio:
  18428. description: 配置转入比值
  18429. type: integer
  18430. invalue:
  18431. description: 目标值
  18432. type: number
  18433. logid:
  18434. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18435. type: integer
  18436. mobile:
  18437. description: 手机号码(加密存储)
  18438. type: string
  18439. outergoodscode:
  18440. description: 外部商品代码[JD\PD]
  18441. type: string
  18442. outratio:
  18443. description: 配置转出比值
  18444. type: integer
  18445. outvalue:
  18446. description: 源值
  18447. type: number
  18448. pddecimalplace:
  18449. description: PD小数位
  18450. type: integer
  18451. qty:
  18452. description: 数量
  18453. type: string
  18454. remark:
  18455. description: 备注
  18456. type: string
  18457. sessionid:
  18458. description: 会话ID
  18459. type: integer
  18460. timemaxvalue:
  18461. description: 配置单次最大转入限制
  18462. type: number
  18463. timemaxvalue2:
  18464. description: 配置单次最大转入限制(转入)
  18465. type: number
  18466. timeminvalue:
  18467. description: 配置单次最小数量限制
  18468. type: number
  18469. timeminvalue2:
  18470. description: 配置单次最小数量限制(转入)
  18471. type: number
  18472. tradedate:
  18473. description: 交易日(yyyyMMdd)
  18474. type: string
  18475. userid:
  18476. description: 用户ID
  18477. type: integer
  18478. required:
  18479. - logid
  18480. type: object
  18481. szdz.QueryGoodsPickupRsp:
  18482. properties:
  18483. accountid:
  18484. description: 账户ID
  18485. type: integer
  18486. address:
  18487. description: 提货人详细地址
  18488. type: string
  18489. auditer:
  18490. description: 审核人
  18491. type: integer
  18492. audittime:
  18493. description: 审核时间
  18494. type: string
  18495. cardnum:
  18496. description: 提货人证件号码
  18497. type: string
  18498. cardtypeid:
  18499. description: 提货人证件类型
  18500. type: integer
  18501. checkremark:
  18502. description: 审核备注
  18503. type: string
  18504. goodscode:
  18505. description: 商品代码
  18506. type: string
  18507. goodsid:
  18508. description: 商品ID
  18509. type: integer
  18510. goodsname:
  18511. description: 商品名称
  18512. type: string
  18513. handlestatus:
  18514. description: 处理状态
  18515. type: integer
  18516. marketid:
  18517. description: 市场ID
  18518. type: integer
  18519. phonenum:
  18520. description: 提货人联系方式
  18521. type: string
  18522. qty:
  18523. description: 提货数量
  18524. type: number
  18525. recivername:
  18526. description: 提货人姓名
  18527. type: string
  18528. reqtime:
  18529. description: 更新时间
  18530. type: string
  18531. takemode:
  18532. description: 提货方式 - 2:自提 3:配送
  18533. type: integer
  18534. takeorderid:
  18535. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  18536. type: string
  18537. takeorderstatus:
  18538. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  18539. type: integer
  18540. takeremark:
  18541. description: 提货备注
  18542. type: string
  18543. tradedate:
  18544. description: 交易日(yyyyMMdd)
  18545. type: string
  18546. userid:
  18547. description: 用户ID
  18548. type: integer
  18549. required:
  18550. - takeorderid
  18551. type: object
  18552. szdz.QueryRecieptOrderRsp:
  18553. properties:
  18554. accountName:
  18555. description: 所属账号名称(已脱敏)
  18556. type: string
  18557. accountid:
  18558. description: 资金账号
  18559. type: integer
  18560. buyorsell:
  18561. description: 方向 - 0:买 1:卖
  18562. type: integer
  18563. enableqty:
  18564. description: 可摘数量
  18565. type: integer
  18566. goodscode:
  18567. description: 商品代码
  18568. type: string
  18569. goodsid:
  18570. description: 商品ID
  18571. type: integer
  18572. goodsname:
  18573. description: 商品名称
  18574. type: string
  18575. orderid:
  18576. description: 委托单号
  18577. type: string
  18578. orderprice:
  18579. description: 委托价格
  18580. type: number
  18581. ordertime:
  18582. description: 委托时间
  18583. type: string
  18584. tradedate:
  18585. description: 交易日(yyyyMMdd)
  18586. type: string
  18587. required:
  18588. - ordertime
  18589. type: object
  18590. szdz.QuerySZDZTradePositionRsp:
  18591. properties:
  18592. accountid:
  18593. description: 账号Id
  18594. type: integer
  18595. agreeunit:
  18596. description: 合约单位
  18597. type: number
  18598. averageprice:
  18599. description: 持仓均价
  18600. type: number
  18601. buyorsell:
  18602. description: 方向 - 0:买 1:卖
  18603. type: integer
  18604. closetotalqty:
  18605. description: 平仓总数量
  18606. type: integer
  18607. curholderamount:
  18608. description: 当前持仓总金额
  18609. type: number
  18610. curpositionqty:
  18611. description: 当前持仓总数量
  18612. type: integer
  18613. currencyid:
  18614. description: 报价货币ID
  18615. type: integer
  18616. curtdposition:
  18617. description: 期末今日头寸
  18618. type: integer
  18619. decimalplace:
  18620. description: 报价小数位
  18621. type: integer
  18622. enableqty:
  18623. description: 可用量
  18624. type: integer
  18625. fretdposition:
  18626. description: 冻结今日头寸
  18627. type: integer
  18628. frozenqty:
  18629. description: 持仓冻结数量
  18630. type: integer
  18631. goodscode:
  18632. description: 商品代码(内部)
  18633. type: string
  18634. goodsid:
  18635. description: 商品Id
  18636. type: integer
  18637. goodsname:
  18638. description: 商品名称
  18639. type: string
  18640. goodunit:
  18641. description: 报价单位
  18642. type: string
  18643. goodunitid:
  18644. description: 报价单位ID
  18645. type: integer
  18646. holderamount:
  18647. description: 期初持仓总金额
  18648. type: number
  18649. marketid:
  18650. description: 市场ID
  18651. type: integer
  18652. openreqqty:
  18653. description: 开仓申请数量
  18654. type: integer
  18655. opentotalqty:
  18656. description: 开仓总数量
  18657. type: integer
  18658. otherfrozenqty:
  18659. description: 持仓其他冻结数量(交割冻结)
  18660. type: integer
  18661. positionqty:
  18662. description: 期初持仓数量
  18663. type: integer
  18664. szdz3freezqty:
  18665. description: 尚志大宗转换冻结总数量
  18666. type: integer
  18667. tnqty:
  18668. description: T+N冻结总量
  18669. type: integer
  18670. tnusedqty:
  18671. description: T+N使用量
  18672. type: integer
  18673. trademode:
  18674. description: 交易模式
  18675. type: integer
  18676. usedmargin:
  18677. description: 占用保证金
  18678. type: number
  18679. type: object
  18680. taaccount.QueryAmountLogRsp:
  18681. properties:
  18682. OPERATETYPENAME:
  18683. description: 资金操作类型名称
  18684. type: string
  18685. accountid:
  18686. description: 资金账户ID
  18687. type: integer
  18688. agoodscode:
  18689. description: 竞拍商品代码
  18690. type: string
  18691. agoodsname:
  18692. description: 竞拍商品名称
  18693. type: string
  18694. amount:
  18695. description: 资金金额
  18696. type: number
  18697. amountadjusttype:
  18698. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  18699. type: integer
  18700. autoid:
  18701. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  18702. type: integer
  18703. balance:
  18704. description: 期初余额
  18705. type: number
  18706. businesscode:
  18707. description: 业务编号
  18708. type: integer
  18709. createtime:
  18710. description: 发生时间
  18711. type: string
  18712. currencyid:
  18713. description: 币种ID
  18714. type: integer
  18715. currentbalance:
  18716. description: 期末余额(变动后金额)
  18717. type: number
  18718. dgoodscode:
  18719. description: 交割商品代码
  18720. type: string
  18721. dgoodsname:
  18722. description: 交割商品名称
  18723. type: string
  18724. goodscode:
  18725. description: 商品代码
  18726. type: string
  18727. goodsid:
  18728. description: 商品ID
  18729. type: integer
  18730. goodsname:
  18731. description: 商品名称
  18732. type: string
  18733. marketid:
  18734. description: 市场ID
  18735. type: integer
  18736. marketname:
  18737. description: 市场名称
  18738. type: string
  18739. moneyticket:
  18740. description: 资金流水号:银行端流水号
  18741. type: integer
  18742. operatetype:
  18743. 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:营销收款
  18744. type: integer
  18745. relationorderid:
  18746. description: 关联单号
  18747. type: string
  18748. remark:
  18749. description: 备注
  18750. type: string
  18751. trademode:
  18752. description: 交易模式
  18753. type: integer
  18754. required:
  18755. - accountid
  18756. - amount
  18757. - amountadjusttype
  18758. - autoid
  18759. - balance
  18760. - createtime
  18761. - currentbalance
  18762. - operatetype
  18763. type: object
  18764. taaccount.QueryHisAmountLogRsp:
  18765. properties:
  18766. OPERATETYPENAME:
  18767. description: 资金操作类型名称
  18768. type: string
  18769. accountid:
  18770. description: 资金账户ID
  18771. type: integer
  18772. agoodscode:
  18773. description: 竞拍商品代码
  18774. type: string
  18775. agoodsname:
  18776. description: 竞拍商品名称
  18777. type: string
  18778. amount:
  18779. description: 资金金额
  18780. type: number
  18781. amountadjusttype:
  18782. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  18783. type: integer
  18784. autoid:
  18785. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  18786. type: integer
  18787. balance:
  18788. description: 期初余额
  18789. type: number
  18790. businesscode:
  18791. description: 业务编号
  18792. type: integer
  18793. createtime:
  18794. description: 发生时间
  18795. type: string
  18796. currencyid:
  18797. description: 币种ID
  18798. type: integer
  18799. currentbalance:
  18800. description: 期末余额(变动后金额)
  18801. type: number
  18802. dgoodscode:
  18803. description: 交割商品代码
  18804. type: string
  18805. dgoodsname:
  18806. description: 交割商品名称
  18807. type: string
  18808. goodscode:
  18809. description: 商品代码
  18810. type: string
  18811. goodsid:
  18812. description: 商品ID
  18813. type: integer
  18814. goodsname:
  18815. description: 商品名称
  18816. type: string
  18817. histradedate:
  18818. description: 历史交易日
  18819. type: string
  18820. isvaliddata:
  18821. description: 是否有效 - 0:无效 1:有效
  18822. type: integer
  18823. marketid:
  18824. description: 市场ID
  18825. type: integer
  18826. marketname:
  18827. description: 市场名称
  18828. type: string
  18829. moneyticket:
  18830. description: 资金流水号:银行端流水号
  18831. type: integer
  18832. operatetype:
  18833. 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:营销收款
  18834. type: integer
  18835. relationorderid:
  18836. description: 关联单号
  18837. type: string
  18838. remark:
  18839. description: 备注
  18840. type: string
  18841. trademode:
  18842. description: 交易模式
  18843. type: integer
  18844. required:
  18845. - accountid
  18846. - amount
  18847. - amountadjusttype
  18848. - autoid
  18849. - balance
  18850. - createtime
  18851. - currentbalance
  18852. - histradedate
  18853. - operatetype
  18854. type: object
  18855. trade.QueryRecieptOrderRsp:
  18856. properties:
  18857. accountName:
  18858. description: 所属账号名称(已脱敏)
  18859. type: string
  18860. accountid:
  18861. description: 资金账号
  18862. type: integer
  18863. buyorsell:
  18864. description: 方向 - 0:买 1:卖
  18865. type: integer
  18866. enableqty:
  18867. description: 可摘数量
  18868. type: integer
  18869. goodscode:
  18870. description: 商品代码
  18871. type: string
  18872. goodsid:
  18873. description: 商品ID
  18874. type: integer
  18875. goodsname:
  18876. description: 商品名称
  18877. type: string
  18878. orderid:
  18879. description: 委托单号
  18880. type: string
  18881. orderprice:
  18882. description: 委托价格
  18883. type: number
  18884. ordertime:
  18885. description: 委托时间
  18886. type: string
  18887. tradedate:
  18888. description: 交易日(yyyyMMdd)
  18889. type: string
  18890. required:
  18891. - ordertime
  18892. type: object
  18893. user.LoginQueryRsp:
  18894. properties:
  18895. areaRoles:
  18896. description: 所属角色信息
  18897. items:
  18898. $ref: '#/definitions/models.Arearole'
  18899. type: array
  18900. externalExchanges:
  18901. description: 外部交易所
  18902. items:
  18903. $ref: '#/definitions/models.Externalexchange'
  18904. type: array
  18905. goodsgroups:
  18906. description: 商品组
  18907. items:
  18908. $ref: '#/definitions/models.Goodsgroup'
  18909. type: array
  18910. loginAccount:
  18911. $ref: '#/definitions/models.Loginaccount'
  18912. description: 登录账号
  18913. markets:
  18914. description: 市场
  18915. items:
  18916. $ref: '#/definitions/models.Market'
  18917. type: array
  18918. systemParams:
  18919. description: 系统参数
  18920. items:
  18921. $ref: '#/definitions/models.Systemparam'
  18922. type: array
  18923. userAccount:
  18924. $ref: '#/definitions/models.Useraccount'
  18925. description: 用户账号
  18926. userInfo:
  18927. $ref: '#/definitions/models.Userinfo'
  18928. description: 用户信息
  18929. username:
  18930. description: 用户姓名
  18931. type: string
  18932. type: object
  18933. info:
  18934. contact: {}
  18935. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  18936. termsOfService: http://www.muchinfo.cn
  18937. title: MTP2.0 查询服务 API
  18938. version: "1.0"
  18939. paths:
  18940. /CPTrade/QueryCPTradeMyBidInfos:
  18941. get:
  18942. parameters:
  18943. - description: 资金账户
  18944. in: query
  18945. name: accountid
  18946. required: true
  18947. type: integer
  18948. - description: 预售市场ID
  18949. in: query
  18950. name: marketid
  18951. type: integer
  18952. - description: 预售商品ID
  18953. in: query
  18954. name: goodsid
  18955. type: integer
  18956. produces:
  18957. - application/json
  18958. responses:
  18959. "200":
  18960. description: OK
  18961. schema:
  18962. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  18963. "500":
  18964. description: Internal Server Error
  18965. schema:
  18966. $ref: '#/definitions/app.Response'
  18967. security:
  18968. - ApiKeyAuth: []
  18969. summary: 查询产能预售我的出价信息
  18970. tags:
  18971. - 产能预售
  18972. /CPTrade/QueryCPTradeOrderDetail:
  18973. get:
  18974. parameters:
  18975. - description: 预售商品ID
  18976. in: query
  18977. name: goodsid
  18978. type: integer
  18979. - description: 预售市场ID
  18980. in: query
  18981. name: marketid
  18982. type: integer
  18983. - description: 预售商品ID列表 - 格式:1,2,3
  18984. in: query
  18985. name: goodsids
  18986. type: string
  18987. produces:
  18988. - application/json
  18989. responses:
  18990. "200":
  18991. description: OK
  18992. schema:
  18993. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  18994. "500":
  18995. description: Internal Server Error
  18996. schema:
  18997. $ref: '#/definitions/app.Response'
  18998. security:
  18999. - ApiKeyAuth: []
  19000. summary: 查询产能预售委托单信息
  19001. tags:
  19002. - 产能预售
  19003. /CPTrade/QueryMyCPTradeGoods:
  19004. get:
  19005. parameters:
  19006. - description: 资金账户
  19007. in: query
  19008. name: accountid
  19009. required: true
  19010. type: integer
  19011. produces:
  19012. - application/json
  19013. responses:
  19014. "200":
  19015. description: OK
  19016. schema:
  19017. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  19018. "500":
  19019. description: Internal Server Error
  19020. schema:
  19021. $ref: '#/definitions/app.Response'
  19022. security:
  19023. - ApiKeyAuth: []
  19024. summary: 查询我的预售信息
  19025. tags:
  19026. - 产能预售
  19027. /CPTrade/QueryPositionCancel:
  19028. get:
  19029. parameters:
  19030. - description: 账户ID
  19031. in: query
  19032. name: userid
  19033. required: true
  19034. type: integer
  19035. - description: 注销ID
  19036. in: query
  19037. name: cancelid
  19038. type: integer
  19039. - description: 资金账户ID
  19040. in: query
  19041. name: accountid
  19042. type: integer
  19043. produces:
  19044. - application/json
  19045. responses:
  19046. "200":
  19047. description: OK
  19048. schema:
  19049. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  19050. "500":
  19051. description: Internal Server Error
  19052. schema:
  19053. $ref: '#/definitions/app.Response'
  19054. security:
  19055. - ApiKeyAuth: []
  19056. summary: 查询远期订单注销申请信息
  19057. tags:
  19058. - 产能预售
  19059. /CPTrade/QueryPreasleApply:
  19060. get:
  19061. parameters:
  19062. - description: 账户ID
  19063. in: query
  19064. name: userid
  19065. required: true
  19066. type: integer
  19067. - description: 申请ID
  19068. in: query
  19069. name: applyid
  19070. type: integer
  19071. - description: 资金账户ID
  19072. in: query
  19073. name: accountid
  19074. type: integer
  19075. produces:
  19076. - application/json
  19077. responses:
  19078. "200":
  19079. description: OK
  19080. schema:
  19081. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  19082. "500":
  19083. description: Internal Server Error
  19084. schema:
  19085. $ref: '#/definitions/app.Response'
  19086. security:
  19087. - ApiKeyAuth: []
  19088. summary: 查询产能预售申请信息
  19089. tags:
  19090. - 产能预售
  19091. /CPTrade/QueryPresaleGoodsEx:
  19092. get:
  19093. parameters:
  19094. - description: 预售商品ID
  19095. in: query
  19096. name: goodsid
  19097. type: integer
  19098. - description: 预售市场ID
  19099. in: query
  19100. name: marketid
  19101. type: integer
  19102. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  19103. in: query
  19104. name: presalemode
  19105. type: integer
  19106. - description: 预售商品ID列表 - 格式:1,2,3
  19107. in: query
  19108. name: goodsids
  19109. type: string
  19110. - description: 预售商品代码
  19111. in: query
  19112. name: goodscode
  19113. type: string
  19114. produces:
  19115. - application/json
  19116. responses:
  19117. "200":
  19118. description: OK
  19119. schema:
  19120. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  19121. "500":
  19122. description: Internal Server Error
  19123. schema:
  19124. $ref: '#/definitions/app.Response'
  19125. security:
  19126. - ApiKeyAuth: []
  19127. summary: 查询产能预售商品扩展信息
  19128. tags:
  19129. - 产能预售
  19130. /CPTrade/QueryUserGoodsData:
  19131. get:
  19132. parameters:
  19133. - description: 资金账户ID
  19134. in: query
  19135. name: accountid
  19136. required: true
  19137. type: integer
  19138. produces:
  19139. - application/json
  19140. responses:
  19141. "200":
  19142. description: OK
  19143. schema:
  19144. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  19145. "500":
  19146. description: Internal Server Error
  19147. schema:
  19148. $ref: '#/definitions/app.Response'
  19149. security:
  19150. - ApiKeyAuth: []
  19151. summary: 查询远期订单信息
  19152. tags:
  19153. - 产能预售
  19154. /Common/GetAllEnums:
  19155. get:
  19156. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  19157. parameters:
  19158. - description: 起始自增ID
  19159. in: query
  19160. name: autoid
  19161. type: integer
  19162. produces:
  19163. - application/json
  19164. responses:
  19165. "200":
  19166. description: OK
  19167. schema:
  19168. $ref: '#/definitions/models.Enumdicitem'
  19169. "500":
  19170. description: Internal Server Error
  19171. schema:
  19172. $ref: '#/definitions/app.Response'
  19173. summary: 获取所有枚举信息
  19174. tags:
  19175. - 通用服务
  19176. /Common/GetClientMenus:
  19177. get:
  19178. parameters:
  19179. - description: 登录账号
  19180. in: query
  19181. name: loginID
  19182. required: true
  19183. type: integer
  19184. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  19185. in: query
  19186. name: clientType
  19187. type: integer
  19188. - description: 分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台
  19189. in: query
  19190. name: name
  19191. type: string
  19192. produces:
  19193. - application/json
  19194. responses:
  19195. "200":
  19196. description: OK
  19197. schema:
  19198. items:
  19199. $ref: '#/definitions/common.ClientMenu'
  19200. type: array
  19201. "500":
  19202. description: Internal Server Error
  19203. schema:
  19204. $ref: '#/definitions/app.Response'
  19205. security:
  19206. - ApiKeyAuth: []
  19207. summary: 获取交易端菜单
  19208. tags:
  19209. - 通用服务
  19210. /Common/GetDivisions:
  19211. get:
  19212. produces:
  19213. - application/json
  19214. responses:
  19215. "200":
  19216. description: OK
  19217. schema:
  19218. $ref: '#/definitions/models.Division'
  19219. "500":
  19220. description: Internal Server Error
  19221. schema:
  19222. $ref: '#/definitions/app.Response'
  19223. summary: 查询区域信息
  19224. tags:
  19225. - 通用服务
  19226. /Common/GetPCWebMenus:
  19227. get:
  19228. parameters:
  19229. - description: 登录账号
  19230. in: query
  19231. name: loginID
  19232. required: true
  19233. type: integer
  19234. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  19235. in: query
  19236. name: name
  19237. type: string
  19238. produces:
  19239. - application/json
  19240. responses:
  19241. "200":
  19242. description: OK
  19243. schema:
  19244. items:
  19245. $ref: '#/definitions/common.PCWebMenu'
  19246. type: array
  19247. "500":
  19248. description: Internal Server Error
  19249. schema:
  19250. $ref: '#/definitions/app.Response'
  19251. security:
  19252. - ApiKeyAuth: []
  19253. summary: 获取PCWeb交易端菜单
  19254. tags:
  19255. - 通用服务
  19256. /Common/GetServerTime:
  19257. get:
  19258. produces:
  19259. - application/json
  19260. responses:
  19261. "200":
  19262. description: OK
  19263. schema:
  19264. $ref: '#/definitions/app.Response'
  19265. "500":
  19266. description: Internal Server Error
  19267. schema:
  19268. $ref: '#/definitions/app.Response'
  19269. summary: 获取服务器时间
  19270. tags:
  19271. - 通用服务
  19272. /Common/NoticeReaded:
  19273. post:
  19274. parameters:
  19275. - description: 登录账号
  19276. in: query
  19277. name: loginID
  19278. required: true
  19279. type: integer
  19280. - description: 通知公告ID
  19281. in: query
  19282. name: noticeID
  19283. required: true
  19284. type: integer
  19285. produces:
  19286. - application/json
  19287. responses:
  19288. "200":
  19289. description: OK
  19290. schema:
  19291. $ref: '#/definitions/app.Response'
  19292. "500":
  19293. description: Internal Server Error
  19294. schema:
  19295. $ref: '#/definitions/app.Response'
  19296. security:
  19297. - ApiKeyAuth: []
  19298. summary: 通知公告设置已读请求
  19299. tags:
  19300. - 通用服务
  19301. /Common/QueryErrorInfos:
  19302. get:
  19303. description: 如果传入rowNumber,则返回此rowNumber后的数据
  19304. parameters:
  19305. - description: 起始行号前索引
  19306. in: query
  19307. name: rowNumber
  19308. type: string
  19309. produces:
  19310. - application/json
  19311. responses:
  19312. "200":
  19313. description: OK
  19314. schema:
  19315. $ref: '#/definitions/models.QueryErrorInfosRsp'
  19316. "500":
  19317. description: Internal Server Error
  19318. schema:
  19319. $ref: '#/definitions/app.Response'
  19320. summary: 获取数据库错误信息
  19321. tags:
  19322. - 通用服务
  19323. /Common/QueryImageConfigs:
  19324. get:
  19325. parameters:
  19326. - description: 用户id
  19327. in: query
  19328. name: userId
  19329. type: integer
  19330. - description: 类型 - 1:App首页轮播 2:我的
  19331. in: query
  19332. name: imageType
  19333. type: integer
  19334. produces:
  19335. - application/json
  19336. responses:
  19337. "200":
  19338. description: OK
  19339. schema:
  19340. $ref: '#/definitions/common.QueryImageConfigsRsp'
  19341. "500":
  19342. description: Internal Server Error
  19343. schema:
  19344. $ref: '#/definitions/app.Response'
  19345. summary: 查询轮播图配置信息
  19346. tags:
  19347. - 通用服务
  19348. /Common/QueryNotice:
  19349. get:
  19350. parameters:
  19351. - description: 页码
  19352. in: query
  19353. name: page
  19354. type: integer
  19355. - description: 每页条数
  19356. in: query
  19357. name: pagesize
  19358. type: integer
  19359. - description: 登录账号
  19360. in: query
  19361. name: loginID
  19362. required: true
  19363. type: integer
  19364. - description: 消息类型 - 1:公告通知 2:系统消息
  19365. in: query
  19366. name: msgType
  19367. type: integer
  19368. - description: 是否只获取未读信息
  19369. in: query
  19370. name: onlyUnRead
  19371. type: boolean
  19372. - description: 自增ID,传入后会返回这个ID后面的记录
  19373. in: query
  19374. name: lastID
  19375. type: integer
  19376. produces:
  19377. - application/json
  19378. responses:
  19379. "200":
  19380. description: OK
  19381. schema:
  19382. $ref: '#/definitions/common.QueryNoticeRsp'
  19383. "500":
  19384. description: Internal Server Error
  19385. schema:
  19386. $ref: '#/definitions/app.Response'
  19387. security:
  19388. - ApiKeyAuth: []
  19389. summary: 通知公告系统消息查询
  19390. tags:
  19391. - 通用服务
  19392. /Common/QueryProvincesAndCities:
  19393. get:
  19394. parameters:
  19395. - description: 省ID
  19396. in: query
  19397. name: provinceID
  19398. type: integer
  19399. produces:
  19400. - application/json
  19401. responses:
  19402. "200":
  19403. description: OK
  19404. schema:
  19405. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  19406. "500":
  19407. description: Internal Server Error
  19408. schema:
  19409. $ref: '#/definitions/app.Response'
  19410. summary: 查询省市信息(不包括区)
  19411. tags:
  19412. - 通用服务
  19413. /Common/QueryTableDefine:
  19414. get:
  19415. parameters:
  19416. - description: 表key
  19417. in: query
  19418. name: tableKey
  19419. type: string
  19420. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  19421. in: query
  19422. name: tableType
  19423. type: integer
  19424. produces:
  19425. - application/json
  19426. responses:
  19427. "200":
  19428. description: OK
  19429. schema:
  19430. $ref: '#/definitions/common.QueryTableDefineRsp'
  19431. "500":
  19432. description: Internal Server Error
  19433. schema:
  19434. $ref: '#/definitions/app.Response'
  19435. summary: 查询交易端列表头信息
  19436. tags:
  19437. - 通用服务
  19438. /Common/QueryTraderMenu:
  19439. get:
  19440. parameters:
  19441. - description: 登录账号
  19442. in: query
  19443. name: loginid
  19444. required: true
  19445. type: integer
  19446. produces:
  19447. - application/json
  19448. responses:
  19449. "200":
  19450. description: OK
  19451. schema:
  19452. $ref: '#/definitions/common.QueryTraderMenuRsp'
  19453. "500":
  19454. description: Internal Server Error
  19455. schema:
  19456. $ref: '#/definitions/app.Response'
  19457. summary: 查询交易端菜单
  19458. tags:
  19459. - 通用服务
  19460. /Delivery/QueryDeliveryRelation:
  19461. get:
  19462. parameters:
  19463. - description: 商品ID
  19464. in: query
  19465. name: goodsid
  19466. type: integer
  19467. - description: 品种ID
  19468. in: query
  19469. name: deliverygoodsid
  19470. type: integer
  19471. - description: 市场ID
  19472. in: query
  19473. name: marketid
  19474. type: integer
  19475. produces:
  19476. - application/json
  19477. responses:
  19478. "200":
  19479. description: OK
  19480. schema:
  19481. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  19482. "500":
  19483. description: Internal Server Error
  19484. schema:
  19485. $ref: '#/definitions/app.Response'
  19486. security:
  19487. - ApiKeyAuth: []
  19488. summary: 查询商品交割关系表
  19489. tags:
  19490. - 交割服务
  19491. /Ermcp/GetErmcpGoods:
  19492. get:
  19493. parameters:
  19494. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  19495. in: query
  19496. name: lastUpdateTime
  19497. type: string
  19498. produces:
  19499. - application/json
  19500. responses:
  19501. "200":
  19502. description: OK
  19503. schema:
  19504. $ref: '#/definitions/models.ErmcpGoods'
  19505. "500":
  19506. description: Internal Server Error
  19507. schema:
  19508. $ref: '#/definitions/app.Response'
  19509. security:
  19510. - ApiKeyAuth: []
  19511. summary: 查询企业风管期货商品信息
  19512. tags:
  19513. - 企业风险管理(app)
  19514. /Ermcp/GetErmcpGoodsSortByPosition:
  19515. get:
  19516. parameters:
  19517. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  19518. in: query
  19519. name: sortIndex
  19520. type: string
  19521. produces:
  19522. - application/json
  19523. responses:
  19524. "200":
  19525. description: OK
  19526. schema:
  19527. $ref: '#/definitions/models.Goodssortbypreposition'
  19528. "500":
  19529. description: Internal Server Error
  19530. schema:
  19531. $ref: '#/definitions/app.Response'
  19532. security:
  19533. - ApiKeyAuth: []
  19534. summary: 查询企业风管期货主力、次主力商品信息
  19535. tags:
  19536. - 企业风险管理(app)
  19537. /Ermcp/GetErmcpOutAccountStatus:
  19538. get:
  19539. parameters:
  19540. - description: 登录账号
  19541. in: query
  19542. name: loginID
  19543. required: true
  19544. type: integer
  19545. produces:
  19546. - application/json
  19547. responses:
  19548. "200":
  19549. description: OK
  19550. schema:
  19551. $ref: '#/definitions/models.Hedgemarketopenlog'
  19552. "500":
  19553. description: Internal Server Error
  19554. schema:
  19555. $ref: '#/definitions/app.Response'
  19556. security:
  19557. - ApiKeyAuth: []
  19558. summary: 获取目标登录账号当前对冲账号在线状态
  19559. tags:
  19560. - 企业风险管理(app)
  19561. /Ermcp/GetErmcpRoleFuncMenuLists:
  19562. get:
  19563. parameters:
  19564. - description: 登录账号
  19565. in: query
  19566. name: loginID
  19567. required: true
  19568. type: integer
  19569. produces:
  19570. - application/json
  19571. responses:
  19572. "200":
  19573. description: OK
  19574. schema:
  19575. $ref: '#/definitions/models.Funcmenulist'
  19576. "500":
  19577. description: Internal Server Error
  19578. schema:
  19579. $ref: '#/definitions/app.Response'
  19580. security:
  19581. - ApiKeyAuth: []
  19582. summary: 获取企业风管终端权限
  19583. tags:
  19584. - 企业风险管理(app)
  19585. /Ermcp/QueryAccMgrBizGroupSet:
  19586. get:
  19587. parameters:
  19588. - description: 用户ID
  19589. in: query
  19590. name: userid
  19591. required: true
  19592. type: integer
  19593. - description: 现货商品id
  19594. in: query
  19595. name: deliverygoodsid
  19596. type: integer
  19597. produces:
  19598. - application/json
  19599. responses:
  19600. "200":
  19601. description: OK
  19602. schema:
  19603. items:
  19604. $ref: '#/definitions/models.ErmcpBizGroupEx'
  19605. type: array
  19606. "500":
  19607. description: Internal Server Error
  19608. schema:
  19609. $ref: '#/definitions/app.Response'
  19610. security:
  19611. - ApiKeyAuth: []
  19612. summary: 查询业务类型分组(账户管理/账户设置)
  19613. tags:
  19614. - 企业风险管理(app)
  19615. /Ermcp/QueryAccMgrLoginUser:
  19616. get:
  19617. parameters:
  19618. - description: 用户ID
  19619. in: query
  19620. name: userid
  19621. required: true
  19622. type: integer
  19623. - description: 用户类型 2-机构 7-企业成员
  19624. in: query
  19625. name: usertype
  19626. type: integer
  19627. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  19628. in: query
  19629. name: querytype
  19630. required: true
  19631. type: integer
  19632. produces:
  19633. - application/json
  19634. responses:
  19635. "200":
  19636. description: OK
  19637. schema:
  19638. items:
  19639. $ref: '#/definitions/models.ErmcpLoginUserEx'
  19640. type: array
  19641. "500":
  19642. description: Internal Server Error
  19643. schema:
  19644. $ref: '#/definitions/app.Response'
  19645. security:
  19646. - ApiKeyAuth: []
  19647. summary: 查询账户管理登录账号(账户管理/登录账号)
  19648. tags:
  19649. - 企业风险管理(app)
  19650. /Ermcp/QueryAccMgrMainAccountInfo:
  19651. get:
  19652. parameters:
  19653. - description: 用户ID
  19654. in: query
  19655. name: userid
  19656. type: integer
  19657. - description: 主账号id
  19658. in: query
  19659. name: accountid
  19660. type: integer
  19661. produces:
  19662. - application/json
  19663. responses:
  19664. "200":
  19665. description: OK
  19666. schema:
  19667. items:
  19668. $ref: '#/definitions/models.MainAccountInfo'
  19669. type: array
  19670. "500":
  19671. description: Internal Server Error
  19672. schema:
  19673. $ref: '#/definitions/app.Response'
  19674. security:
  19675. - ApiKeyAuth: []
  19676. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  19677. tags:
  19678. - 企业风险管理(app)
  19679. /Ermcp/QueryAccMgrRole:
  19680. get:
  19681. parameters:
  19682. - description: 用户ID
  19683. in: query
  19684. name: userid
  19685. required: true
  19686. type: integer
  19687. produces:
  19688. - application/json
  19689. responses:
  19690. "200":
  19691. description: OK
  19692. schema:
  19693. items:
  19694. $ref: '#/definitions/models.ErmcpRole'
  19695. type: array
  19696. "500":
  19697. description: Internal Server Error
  19698. schema:
  19699. $ref: '#/definitions/app.Response'
  19700. security:
  19701. - ApiKeyAuth: []
  19702. summary: 查询账户管理角色设置(账户管理/角色设置)
  19703. tags:
  19704. - 企业风险管理(app)
  19705. /Ermcp/QueryAccMgrRoleMenu:
  19706. get:
  19707. parameters:
  19708. - description: 用户ID
  19709. in: query
  19710. name: userid
  19711. required: true
  19712. type: integer
  19713. - description: 角色id(可多个,逗号隔开)
  19714. in: query
  19715. name: roleid
  19716. type: string
  19717. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  19718. in: query
  19719. name: menutype
  19720. type: integer
  19721. produces:
  19722. - application/json
  19723. responses:
  19724. "200":
  19725. description: OK
  19726. schema:
  19727. items:
  19728. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  19729. type: array
  19730. "500":
  19731. description: Internal Server Error
  19732. schema:
  19733. $ref: '#/definitions/app.Response'
  19734. security:
  19735. - ApiKeyAuth: []
  19736. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  19737. tags:
  19738. - 企业风险管理(app)
  19739. /Ermcp/QueryAccMgrTaAccountInfo:
  19740. get:
  19741. parameters:
  19742. - description: 用户ID
  19743. in: query
  19744. name: userid
  19745. required: true
  19746. type: integer
  19747. - description: 账号id
  19748. in: query
  19749. name: accountid
  19750. type: integer
  19751. produces:
  19752. - application/json
  19753. responses:
  19754. "200":
  19755. description: OK
  19756. schema:
  19757. items:
  19758. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  19759. type: array
  19760. "500":
  19761. description: Internal Server Error
  19762. schema:
  19763. $ref: '#/definitions/app.Response'
  19764. security:
  19765. - ApiKeyAuth: []
  19766. summary: 查询账户管理授信(账户管理/账户设置/授信)
  19767. tags:
  19768. - 企业风险管理(app)
  19769. /Ermcp/QueryAccMgrTaaccount:
  19770. get:
  19771. parameters:
  19772. - description: 用户ID
  19773. in: query
  19774. name: userid
  19775. required: true
  19776. type: integer
  19777. produces:
  19778. - application/json
  19779. responses:
  19780. "200":
  19781. description: OK
  19782. schema:
  19783. items:
  19784. $ref: '#/definitions/models.ErmcpTaAccountEx'
  19785. type: array
  19786. "500":
  19787. description: Internal Server Error
  19788. schema:
  19789. $ref: '#/definitions/app.Response'
  19790. security:
  19791. - ApiKeyAuth: []
  19792. summary: 查询账户管理期货账号(账户管理/期货账号)
  19793. tags:
  19794. - 企业风险管理(app)
  19795. /Ermcp/QueryAvaildGoodsGroup:
  19796. get:
  19797. parameters:
  19798. - description: 所属机构ID
  19799. in: query
  19800. name: userid
  19801. required: true
  19802. type: integer
  19803. produces:
  19804. - application/json
  19805. responses:
  19806. "200":
  19807. description: OK
  19808. schema:
  19809. items:
  19810. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  19811. type: array
  19812. "500":
  19813. description: Internal Server Error
  19814. schema:
  19815. $ref: '#/definitions/app.Response'
  19816. security:
  19817. - ApiKeyAuth: []
  19818. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  19819. tags:
  19820. - 企业风险管理(app)
  19821. /Ermcp/QueryBusinessDj:
  19822. get:
  19823. parameters:
  19824. - description: 用户ID
  19825. in: query
  19826. name: UserId
  19827. required: true
  19828. type: integer
  19829. - description: 用户类型 2-机构 7-企业成员
  19830. in: query
  19831. name: usertype
  19832. type: integer
  19833. - description: 现货合同ID, 不填则查所有
  19834. in: query
  19835. name: relatedid
  19836. type: string
  19837. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19838. in: query
  19839. name: applystatus
  19840. type: string
  19841. produces:
  19842. - application/json
  19843. responses:
  19844. "200":
  19845. description: OK
  19846. schema:
  19847. items:
  19848. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  19849. type: array
  19850. "500":
  19851. description: Internal Server Error
  19852. schema:
  19853. $ref: '#/definitions/app.Response'
  19854. security:
  19855. - ApiKeyAuth: []
  19856. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  19857. tags:
  19858. - 企业风险管理(app)
  19859. /Ermcp/QueryBusinessFp:
  19860. get:
  19861. parameters:
  19862. - description: 用户ID
  19863. in: query
  19864. name: UserId
  19865. required: true
  19866. type: integer
  19867. - description: 用户类型 2-机构 7-企业成员
  19868. in: query
  19869. name: usertype
  19870. type: integer
  19871. - description: 现货合同ID, 不填则查所有
  19872. in: query
  19873. name: relatedid
  19874. type: string
  19875. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19876. in: query
  19877. name: applystatus
  19878. type: string
  19879. produces:
  19880. - application/json
  19881. responses:
  19882. "200":
  19883. description: OK
  19884. schema:
  19885. items:
  19886. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  19887. type: array
  19888. "500":
  19889. description: Internal Server Error
  19890. schema:
  19891. $ref: '#/definitions/app.Response'
  19892. security:
  19893. - ApiKeyAuth: []
  19894. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  19895. tags:
  19896. - 企业风险管理(app)
  19897. /Ermcp/QueryBusinessJs:
  19898. get:
  19899. parameters:
  19900. - description: 用户ID
  19901. in: query
  19902. name: UserId
  19903. required: true
  19904. type: integer
  19905. - description: 用户类型 2-机构 7-企业成员
  19906. in: query
  19907. name: usertype
  19908. type: integer
  19909. - description: 现货合同ID, 不填则查所有
  19910. in: query
  19911. name: relatedid
  19912. type: string
  19913. - description: 操作申请id
  19914. in: query
  19915. name: operateapplyid
  19916. type: string
  19917. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19918. in: query
  19919. name: applystatus
  19920. type: string
  19921. produces:
  19922. - application/json
  19923. responses:
  19924. "200":
  19925. description: OK
  19926. schema:
  19927. items:
  19928. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  19929. type: array
  19930. "500":
  19931. description: Internal Server Error
  19932. schema:
  19933. $ref: '#/definitions/app.Response'
  19934. security:
  19935. - ApiKeyAuth: []
  19936. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  19937. tags:
  19938. - 企业风险管理(app)
  19939. /Ermcp/QueryBusinessJsEx:
  19940. get:
  19941. parameters:
  19942. - description: 用户ID
  19943. in: query
  19944. name: UserId
  19945. required: true
  19946. type: integer
  19947. - description: 用户类型 2-机构 7-企业成员
  19948. in: query
  19949. name: usertype
  19950. type: integer
  19951. - description: 现货合同ID, 不填则查所有
  19952. in: query
  19953. name: relatedid
  19954. type: string
  19955. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19956. in: query
  19957. name: applystatus
  19958. type: string
  19959. produces:
  19960. - application/json
  19961. responses:
  19962. "200":
  19963. description: OK
  19964. schema:
  19965. items:
  19966. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  19967. type: array
  19968. "500":
  19969. description: Internal Server Error
  19970. schema:
  19971. $ref: '#/definitions/app.Response'
  19972. security:
  19973. - ApiKeyAuth: []
  19974. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  19975. tags:
  19976. - 企业风险管理(app)
  19977. /Ermcp/QueryBusinessKx:
  19978. get:
  19979. parameters:
  19980. - description: 用户ID
  19981. in: query
  19982. name: UserId
  19983. required: true
  19984. type: integer
  19985. - description: 用户类型 2-机构 7-企业成员
  19986. in: query
  19987. name: usertype
  19988. type: integer
  19989. - description: 现货合同ID, 不填则查所有
  19990. in: query
  19991. name: relatedid
  19992. type: string
  19993. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19994. in: query
  19995. name: applystatus
  19996. type: string
  19997. produces:
  19998. - application/json
  19999. responses:
  20000. "200":
  20001. description: OK
  20002. schema:
  20003. items:
  20004. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  20005. type: array
  20006. "500":
  20007. description: Internal Server Error
  20008. schema:
  20009. $ref: '#/definitions/app.Response'
  20010. security:
  20011. - ApiKeyAuth: []
  20012. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  20013. tags:
  20014. - 企业风险管理(app)
  20015. /Ermcp/QueryChangeLog:
  20016. get:
  20017. parameters:
  20018. - description: 合同ID
  20019. in: query
  20020. name: RelatedId
  20021. required: true
  20022. type: string
  20023. produces:
  20024. - application/json
  20025. responses:
  20026. "200":
  20027. description: OK
  20028. schema:
  20029. items:
  20030. $ref: '#/definitions/ermcp.QryOPLogRsp'
  20031. type: array
  20032. "500":
  20033. description: Internal Server Error
  20034. schema:
  20035. $ref: '#/definitions/app.Response'
  20036. security:
  20037. - ApiKeyAuth: []
  20038. summary: 查询变更记录
  20039. tags:
  20040. - 企业风险管理(app)
  20041. /Ermcp/QueryErmcpHisOrderDetails:
  20042. get:
  20043. parameters:
  20044. - description: 资金账户ID
  20045. in: query
  20046. name: accountID
  20047. required: true
  20048. type: integer
  20049. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  20050. in: query
  20051. name: startDate
  20052. type: string
  20053. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  20054. in: query
  20055. name: endDate
  20056. type: string
  20057. produces:
  20058. - application/json
  20059. responses:
  20060. "200":
  20061. description: OK
  20062. schema:
  20063. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  20064. "500":
  20065. description: Internal Server Error
  20066. schema:
  20067. $ref: '#/definitions/app.Response'
  20068. security:
  20069. - ApiKeyAuth: []
  20070. summary: 获取企业风管期货历史委托单信息
  20071. tags:
  20072. - 企业风险管理(app)
  20073. /Ermcp/QueryErmcpHisTradeDetails:
  20074. get:
  20075. parameters:
  20076. - description: 资金账户ID
  20077. in: query
  20078. name: accountID
  20079. required: true
  20080. type: integer
  20081. - description: 商品ID
  20082. in: query
  20083. name: goodsID
  20084. type: integer
  20085. - description: 买卖方向,0:买 1:卖
  20086. in: query
  20087. name: buyOrSell
  20088. type: integer
  20089. - description: 关联委托单号
  20090. in: query
  20091. name: orderID
  20092. type: integer
  20093. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  20094. in: query
  20095. name: startDate
  20096. type: string
  20097. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  20098. in: query
  20099. name: endDate
  20100. type: string
  20101. produces:
  20102. - application/json
  20103. responses:
  20104. "200":
  20105. description: OK
  20106. schema:
  20107. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  20108. "500":
  20109. description: Internal Server Error
  20110. schema:
  20111. $ref: '#/definitions/app.Response'
  20112. security:
  20113. - ApiKeyAuth: []
  20114. summary: 获取企业风管期货历史成交单信息
  20115. tags:
  20116. - 企业风险管理(app)
  20117. /Ermcp/QueryErmcpInnerHolderDetails:
  20118. get:
  20119. parameters:
  20120. - description: 资金账户ID
  20121. in: query
  20122. name: accountID
  20123. required: true
  20124. type: integer
  20125. - description: 商品ID
  20126. in: query
  20127. name: goodsID
  20128. type: integer
  20129. - description: 买卖方向,0:买 1:卖
  20130. in: query
  20131. name: buyOrSell
  20132. type: integer
  20133. produces:
  20134. - application/json
  20135. responses:
  20136. "200":
  20137. description: OK
  20138. schema:
  20139. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  20140. "500":
  20141. description: Internal Server Error
  20142. schema:
  20143. $ref: '#/definitions/app.Response'
  20144. security:
  20145. - ApiKeyAuth: []
  20146. summary: 获取企业风管期货内部持仓单信息
  20147. tags:
  20148. - 企业风险管理(app)
  20149. /Ermcp/QueryErmcpOrderDetails:
  20150. get:
  20151. parameters:
  20152. - description: 资金账户ID
  20153. in: query
  20154. name: accountID
  20155. required: true
  20156. type: integer
  20157. produces:
  20158. - application/json
  20159. responses:
  20160. "200":
  20161. description: OK
  20162. schema:
  20163. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  20164. "500":
  20165. description: Internal Server Error
  20166. schema:
  20167. $ref: '#/definitions/app.Response'
  20168. security:
  20169. - ApiKeyAuth: []
  20170. summary: 获取企业风管期货委托单信息
  20171. tags:
  20172. - 企业风险管理(app)
  20173. /Ermcp/QueryErmcpTradeDetails:
  20174. get:
  20175. parameters:
  20176. - description: 资金账户ID
  20177. in: query
  20178. name: accountID
  20179. required: true
  20180. type: integer
  20181. - description: 商品ID
  20182. in: query
  20183. name: goodsID
  20184. type: integer
  20185. - description: 买卖方向,0:买 1:卖
  20186. in: query
  20187. name: buyOrSell
  20188. type: integer
  20189. - description: 关联委托单号
  20190. in: query
  20191. name: orderID
  20192. type: integer
  20193. produces:
  20194. - application/json
  20195. responses:
  20196. "200":
  20197. description: OK
  20198. schema:
  20199. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  20200. "500":
  20201. description: Internal Server Error
  20202. schema:
  20203. $ref: '#/definitions/app.Response'
  20204. security:
  20205. - ApiKeyAuth: []
  20206. summary: 获取企业风管期货成交单信息
  20207. tags:
  20208. - 企业风险管理(app)
  20209. /Ermcp/QueryErmcpTradePosition:
  20210. get:
  20211. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  20212. parameters:
  20213. - description: 资金账户ID
  20214. in: query
  20215. name: accountID
  20216. required: true
  20217. type: integer
  20218. - description: 所属市场ID
  20219. in: query
  20220. name: marketID
  20221. type: integer
  20222. produces:
  20223. - application/json
  20224. responses:
  20225. "200":
  20226. description: OK
  20227. schema:
  20228. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  20229. "500":
  20230. description: Internal Server Error
  20231. schema:
  20232. $ref: '#/definitions/app.Response'
  20233. security:
  20234. - ApiKeyAuth: []
  20235. summary: 获取企业风管期货持仓头寸信息
  20236. tags:
  20237. - 企业风险管理(app)
  20238. /Ermcp/QueryExposureDetail:
  20239. get:
  20240. parameters:
  20241. - description: 所属机构ID
  20242. in: query
  20243. name: areaUserId
  20244. required: true
  20245. type: integer
  20246. - description: 套保商品
  20247. in: query
  20248. name: middleGoodsId
  20249. required: true
  20250. type: integer
  20251. produces:
  20252. - application/json
  20253. responses:
  20254. "200":
  20255. description: OK
  20256. schema:
  20257. items:
  20258. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  20259. type: array
  20260. "500":
  20261. description: Internal Server Error
  20262. schema:
  20263. $ref: '#/definitions/app.Response'
  20264. security:
  20265. - ApiKeyAuth: []
  20266. summary: 查询敞口现货明细
  20267. tags:
  20268. - 企业风险管理(app)
  20269. /Ermcp/QueryExposureGoods:
  20270. get:
  20271. parameters:
  20272. - description: 套保商品id
  20273. in: query
  20274. name: middlegoodsid
  20275. required: true
  20276. type: integer
  20277. produces:
  20278. - application/json
  20279. responses:
  20280. "200":
  20281. description: OK
  20282. schema:
  20283. items:
  20284. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  20285. type: array
  20286. "500":
  20287. description: Internal Server Error
  20288. schema:
  20289. $ref: '#/definitions/app.Response'
  20290. security:
  20291. - ApiKeyAuth: []
  20292. summary: 查询敞口主力合约
  20293. tags:
  20294. - 企业风险管理(app)
  20295. /Ermcp/QueryExposureHedgePosition:
  20296. get:
  20297. parameters:
  20298. - description: 用户id
  20299. in: query
  20300. name: userid
  20301. required: true
  20302. type: integer
  20303. produces:
  20304. - application/json
  20305. responses:
  20306. "200":
  20307. description: OK
  20308. schema:
  20309. items:
  20310. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  20311. type: array
  20312. "500":
  20313. description: Internal Server Error
  20314. schema:
  20315. $ref: '#/definitions/app.Response'
  20316. security:
  20317. - ApiKeyAuth: []
  20318. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  20319. tags:
  20320. - 企业风险管理(app)
  20321. /Ermcp/QueryExposureHedgePositionDetail:
  20322. get:
  20323. parameters:
  20324. - description: 所属机构ID
  20325. in: query
  20326. name: userid
  20327. required: true
  20328. type: integer
  20329. - description: 商品id
  20330. in: query
  20331. name: goodsId
  20332. required: true
  20333. type: integer
  20334. produces:
  20335. - application/json
  20336. responses:
  20337. "200":
  20338. description: OK
  20339. schema:
  20340. items:
  20341. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  20342. type: array
  20343. "500":
  20344. description: Internal Server Error
  20345. schema:
  20346. $ref: '#/definitions/app.Response'
  20347. security:
  20348. - ApiKeyAuth: []
  20349. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  20350. tags:
  20351. - 企业风险管理(app)
  20352. /Ermcp/QueryExposureSpot:
  20353. get:
  20354. parameters:
  20355. - description: 所属机构ID
  20356. in: query
  20357. name: areaUserId
  20358. required: true
  20359. type: integer
  20360. produces:
  20361. - application/json
  20362. responses:
  20363. "200":
  20364. description: OK
  20365. schema:
  20366. items:
  20367. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  20368. type: array
  20369. "500":
  20370. description: Internal Server Error
  20371. schema:
  20372. $ref: '#/definitions/app.Response'
  20373. security:
  20374. - ApiKeyAuth: []
  20375. summary: 查询敞口现货头寸(敞口/现货头寸)
  20376. tags:
  20377. - 企业风险管理(app)
  20378. /Ermcp/QueryExposureSpotDetail:
  20379. get:
  20380. parameters:
  20381. - description: 所属机构ID
  20382. in: query
  20383. name: areaUserId
  20384. required: true
  20385. type: integer
  20386. - description: 现货品种ID
  20387. in: query
  20388. name: wrstandardId
  20389. required: true
  20390. type: integer
  20391. produces:
  20392. - application/json
  20393. responses:
  20394. "200":
  20395. description: OK
  20396. schema:
  20397. items:
  20398. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  20399. type: array
  20400. "500":
  20401. description: Internal Server Error
  20402. schema:
  20403. $ref: '#/definitions/app.Response'
  20404. security:
  20405. - ApiKeyAuth: []
  20406. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  20407. tags:
  20408. - 企业风险管理(app)
  20409. /Ermcp/QueryFuturesCompany:
  20410. get:
  20411. produces:
  20412. - application/json
  20413. responses:
  20414. "200":
  20415. description: OK
  20416. schema:
  20417. items:
  20418. $ref: '#/definitions/models.ErmcpFuturesCompany'
  20419. type: array
  20420. "500":
  20421. description: Internal Server Error
  20422. schema:
  20423. $ref: '#/definitions/app.Response'
  20424. security:
  20425. - ApiKeyAuth: []
  20426. summary: 查询期货公司
  20427. tags:
  20428. - 企业风险管理(app)
  20429. /Ermcp/QueryGGConvertConfig:
  20430. get:
  20431. parameters:
  20432. - description: 品种id(不填则查所有)
  20433. in: query
  20434. name: goodsgroupid
  20435. type: integer
  20436. produces:
  20437. - application/json
  20438. responses:
  20439. "200":
  20440. description: OK
  20441. schema:
  20442. items:
  20443. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  20444. type: array
  20445. "500":
  20446. description: Internal Server Error
  20447. schema:
  20448. $ref: '#/definitions/app.Response'
  20449. security:
  20450. - ApiKeyAuth: []
  20451. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  20452. tags:
  20453. - 企业风险管理(app)
  20454. /Ermcp/QueryGoodsBrand:
  20455. get:
  20456. parameters:
  20457. - description: 用户ID
  20458. in: query
  20459. name: userid
  20460. required: true
  20461. type: integer
  20462. - description: 现货商品ID
  20463. in: query
  20464. name: wrstandardid
  20465. type: integer
  20466. produces:
  20467. - application/json
  20468. responses:
  20469. "200":
  20470. description: OK
  20471. schema:
  20472. items:
  20473. $ref: '#/definitions/models.ErmcpGoodsBrand'
  20474. type: array
  20475. "500":
  20476. description: Internal Server Error
  20477. schema:
  20478. $ref: '#/definitions/app.Response'
  20479. security:
  20480. - ApiKeyAuth: []
  20481. summary: 查询商品品牌
  20482. tags:
  20483. - 企业风险管理(app)
  20484. /Ermcp/QueryGoodsModel:
  20485. get:
  20486. parameters:
  20487. - description: 用户ID
  20488. in: query
  20489. name: userid
  20490. required: true
  20491. type: integer
  20492. produces:
  20493. - application/json
  20494. responses:
  20495. "200":
  20496. description: OK
  20497. schema:
  20498. items:
  20499. $ref: '#/definitions/models.ErmcpGoodsModel'
  20500. type: array
  20501. "500":
  20502. description: Internal Server Error
  20503. schema:
  20504. $ref: '#/definitions/app.Response'
  20505. security:
  20506. - ApiKeyAuth: []
  20507. summary: 查询商品型号
  20508. tags:
  20509. - 企业风险管理(app)
  20510. /Ermcp/QueryHisExposure:
  20511. get:
  20512. parameters:
  20513. - description: 用户id
  20514. in: query
  20515. name: userid
  20516. required: true
  20517. type: integer
  20518. - description: 每个品种记录数
  20519. in: query
  20520. name: lastNum
  20521. required: true
  20522. type: integer
  20523. produces:
  20524. - application/json
  20525. responses:
  20526. "200":
  20527. description: OK
  20528. schema:
  20529. items:
  20530. $ref: '#/definitions/ermcp.HisExposureRsp'
  20531. type: array
  20532. "500":
  20533. description: Internal Server Error
  20534. schema:
  20535. $ref: '#/definitions/app.Response'
  20536. security:
  20537. - ApiKeyAuth: []
  20538. summary: 查询历史敞口(菜单:敞口/历史敞口)
  20539. tags:
  20540. - 企业风险管理(app)
  20541. /Ermcp/QueryMiddleGoods:
  20542. get:
  20543. parameters:
  20544. - description: 所属机构ID
  20545. in: query
  20546. name: userid
  20547. required: true
  20548. type: integer
  20549. - description: 状态 0-停用 1-正常
  20550. in: query
  20551. name: status
  20552. required: true
  20553. type: integer
  20554. produces:
  20555. - application/json
  20556. responses:
  20557. "200":
  20558. description: OK
  20559. schema:
  20560. items:
  20561. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  20562. type: array
  20563. "500":
  20564. description: Internal Server Error
  20565. schema:
  20566. $ref: '#/definitions/app.Response'
  20567. security:
  20568. - ApiKeyAuth: []
  20569. summary: 查询套保品种(菜单:套保品种)
  20570. tags:
  20571. - 企业风险管理(app)
  20572. /Ermcp/QueryMiddleGoodsChangeLog:
  20573. get:
  20574. parameters:
  20575. - description: 所属机构ID
  20576. in: query
  20577. name: userid
  20578. required: true
  20579. type: integer
  20580. - description: 套保品种id
  20581. in: query
  20582. name: middlegoodsid
  20583. required: true
  20584. type: integer
  20585. produces:
  20586. - application/json
  20587. responses:
  20588. "200":
  20589. description: OK
  20590. schema:
  20591. items:
  20592. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  20593. type: array
  20594. "500":
  20595. description: Internal Server Error
  20596. schema:
  20597. $ref: '#/definitions/app.Response'
  20598. security:
  20599. - ApiKeyAuth: []
  20600. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  20601. tags:
  20602. - 企业风险管理(app)
  20603. /Ermcp/QueryMiddleGoodsDetail:
  20604. get:
  20605. parameters:
  20606. - description: 所属机构ID
  20607. in: query
  20608. name: userid
  20609. required: true
  20610. type: integer
  20611. - description: 套保品种id
  20612. in: query
  20613. name: middlegoodsid
  20614. type: integer
  20615. produces:
  20616. - application/json
  20617. responses:
  20618. "200":
  20619. description: OK
  20620. schema:
  20621. items:
  20622. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  20623. type: array
  20624. "500":
  20625. description: Internal Server Error
  20626. schema:
  20627. $ref: '#/definitions/app.Response'
  20628. security:
  20629. - ApiKeyAuth: []
  20630. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  20631. tags:
  20632. - 企业风险管理(app)
  20633. /Ermcp/QueryPendingAuditInfo:
  20634. get:
  20635. parameters:
  20636. - description: 用户ID
  20637. in: query
  20638. name: UserId
  20639. required: true
  20640. type: integer
  20641. produces:
  20642. - application/json
  20643. responses:
  20644. "200":
  20645. description: OK
  20646. schema:
  20647. items:
  20648. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  20649. type: array
  20650. "500":
  20651. description: Internal Server Error
  20652. schema:
  20653. $ref: '#/definitions/app.Response'
  20654. security:
  20655. - ApiKeyAuth: []
  20656. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  20657. tags:
  20658. - 企业风险管理(app)
  20659. /Ermcp/QueryRealtimeExposure:
  20660. get:
  20661. parameters:
  20662. - description: 所属机构ID
  20663. in: query
  20664. name: userid
  20665. required: true
  20666. type: integer
  20667. produces:
  20668. - application/json
  20669. responses:
  20670. "200":
  20671. description: OK
  20672. schema:
  20673. items:
  20674. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  20675. type: array
  20676. "500":
  20677. description: Internal Server Error
  20678. schema:
  20679. $ref: '#/definitions/app.Response'
  20680. security:
  20681. - ApiKeyAuth: []
  20682. summary: 查询实时敞口
  20683. tags:
  20684. - 企业风险管理(app)
  20685. /Ermcp/QueryRealtimeExposurePosition:
  20686. get:
  20687. parameters:
  20688. - description: 用户id
  20689. in: query
  20690. name: userid
  20691. required: true
  20692. type: integer
  20693. - description: 套保商品ID
  20694. in: query
  20695. name: middleGoodsId
  20696. required: true
  20697. type: integer
  20698. produces:
  20699. - application/json
  20700. responses:
  20701. "200":
  20702. description: OK
  20703. schema:
  20704. items:
  20705. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  20706. type: array
  20707. "500":
  20708. description: Internal Server Error
  20709. schema:
  20710. $ref: '#/definitions/app.Response'
  20711. security:
  20712. - ApiKeyAuth: []
  20713. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  20714. tags:
  20715. - 企业风险管理(app)
  20716. /Ermcp/QueryRoleMenu:
  20717. get:
  20718. parameters:
  20719. - description: 登录ID
  20720. in: query
  20721. name: loginid
  20722. required: true
  20723. type: integer
  20724. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  20725. in: query
  20726. name: menutype
  20727. type: integer
  20728. produces:
  20729. - application/json
  20730. responses:
  20731. "200":
  20732. description: OK
  20733. schema:
  20734. items:
  20735. $ref: '#/definitions/models.RoleMenu'
  20736. type: array
  20737. "500":
  20738. description: Internal Server Error
  20739. schema:
  20740. $ref: '#/definitions/app.Response'
  20741. security:
  20742. - ApiKeyAuth: []
  20743. summary: 查询角色菜单和权限
  20744. tags:
  20745. - 企业风险管理(app)
  20746. /Ermcp/QueryTradeConfigTMP:
  20747. get:
  20748. parameters:
  20749. - description: 所属机构id
  20750. in: query
  20751. name: areauserid
  20752. type: integer
  20753. produces:
  20754. - application/json
  20755. responses:
  20756. "200":
  20757. description: OK
  20758. schema:
  20759. items:
  20760. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  20761. type: array
  20762. "500":
  20763. description: Internal Server Error
  20764. schema:
  20765. $ref: '#/definitions/app.Response'
  20766. security:
  20767. - ApiKeyAuth: []
  20768. summary: 查询交易模板配置
  20769. tags:
  20770. - 企业风险管理(app)
  20771. /Ermcp/QueryUserInfo:
  20772. get:
  20773. parameters:
  20774. - description: 所属机构用户ID
  20775. in: query
  20776. name: MemberUserID
  20777. required: true
  20778. type: integer
  20779. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  20780. in: query
  20781. name: queryType
  20782. required: true
  20783. type: integer
  20784. produces:
  20785. - application/json
  20786. responses:
  20787. "200":
  20788. description: OK
  20789. schema:
  20790. items:
  20791. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  20792. type: array
  20793. "500":
  20794. description: Internal Server Error
  20795. schema:
  20796. $ref: '#/definitions/app.Response'
  20797. security:
  20798. - ApiKeyAuth: []
  20799. summary: 查询客户资料
  20800. tags:
  20801. - 企业风险管理(app)
  20802. /Ermcp/QueryWarehouseInfo:
  20803. get:
  20804. parameters:
  20805. - description: 用户ID
  20806. in: query
  20807. name: userid
  20808. required: true
  20809. type: integer
  20810. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  20811. in: query
  20812. name: status
  20813. type: string
  20814. produces:
  20815. - application/json
  20816. responses:
  20817. "200":
  20818. description: OK
  20819. schema:
  20820. items:
  20821. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  20822. type: array
  20823. "500":
  20824. description: Internal Server Error
  20825. schema:
  20826. $ref: '#/definitions/app.Response'
  20827. security:
  20828. - ApiKeyAuth: []
  20829. summary: 查询仓库信息
  20830. tags:
  20831. - 企业风险管理(app)
  20832. /Ermcp3/QryAreaExpourseContractDetail:
  20833. get:
  20834. parameters:
  20835. - description: 用户ID
  20836. in: query
  20837. name: userid
  20838. required: true
  20839. type: integer
  20840. - description: 套保商品id
  20841. in: query
  20842. name: middlegoodsid
  20843. required: true
  20844. type: integer
  20845. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20846. in: query
  20847. name: cycletype
  20848. required: true
  20849. type: integer
  20850. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20851. in: query
  20852. name: cycletime
  20853. required: true
  20854. type: string
  20855. produces:
  20856. - application/json
  20857. responses:
  20858. "200":
  20859. description: OK
  20860. schema:
  20861. items:
  20862. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  20863. type: array
  20864. "500":
  20865. description: Internal Server Error
  20866. schema:
  20867. $ref: '#/definitions/app.Response'
  20868. security:
  20869. - ApiKeyAuth: []
  20870. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  20871. tags:
  20872. - 企业风险管理v3(app)
  20873. /Ermcp3/QryAreaExpourseFutuDetail:
  20874. get:
  20875. parameters:
  20876. - description: 用户ID
  20877. in: query
  20878. name: userid
  20879. required: true
  20880. type: integer
  20881. - description: 套保商品id
  20882. in: query
  20883. name: middlegoodsid
  20884. required: true
  20885. type: integer
  20886. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20887. in: query
  20888. name: cycletype
  20889. required: true
  20890. type: integer
  20891. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20892. in: query
  20893. name: cycletime
  20894. required: true
  20895. type: string
  20896. produces:
  20897. - application/json
  20898. responses:
  20899. "200":
  20900. description: OK
  20901. schema:
  20902. items:
  20903. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  20904. type: array
  20905. "500":
  20906. description: Internal Server Error
  20907. schema:
  20908. $ref: '#/definitions/app.Response'
  20909. security:
  20910. - ApiKeyAuth: []
  20911. summary: 查询敞口期货明细(敞口报表/期货明细)
  20912. tags:
  20913. - 企业风险管理v3(app)
  20914. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  20915. get:
  20916. parameters:
  20917. - description: 用户ID
  20918. in: query
  20919. name: userid
  20920. required: true
  20921. type: integer
  20922. - description: 套保商品id
  20923. in: query
  20924. name: middlegoodsid
  20925. required: true
  20926. type: integer
  20927. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20928. in: query
  20929. name: cycletype
  20930. required: true
  20931. type: integer
  20932. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20933. in: query
  20934. name: cycletime
  20935. required: true
  20936. type: string
  20937. produces:
  20938. - application/json
  20939. responses:
  20940. "200":
  20941. description: OK
  20942. schema:
  20943. items:
  20944. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  20945. type: array
  20946. "500":
  20947. description: Internal Server Error
  20948. schema:
  20949. $ref: '#/definitions/app.Response'
  20950. security:
  20951. - ApiKeyAuth: []
  20952. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  20953. tags:
  20954. - 企业风险管理v3(app)
  20955. /Ermcp3/QryAreaExpourseParamChLogDetail:
  20956. get:
  20957. parameters:
  20958. - description: 用户ID
  20959. in: query
  20960. name: userid
  20961. required: true
  20962. type: integer
  20963. - description: 套保商品id
  20964. in: query
  20965. name: middlegoodsid
  20966. required: true
  20967. type: integer
  20968. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20969. in: query
  20970. name: cycletype
  20971. required: true
  20972. type: integer
  20973. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20974. in: query
  20975. name: cycletime
  20976. required: true
  20977. type: string
  20978. produces:
  20979. - application/json
  20980. responses:
  20981. "200":
  20982. description: OK
  20983. schema:
  20984. items:
  20985. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  20986. type: array
  20987. "500":
  20988. description: Internal Server Error
  20989. schema:
  20990. $ref: '#/definitions/app.Response'
  20991. security:
  20992. - ApiKeyAuth: []
  20993. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  20994. tags:
  20995. - 企业风险管理v3(app)
  20996. /Ermcp3/QryAreaExpourseReport:
  20997. get:
  20998. parameters:
  20999. - description: 用户ID
  21000. in: query
  21001. name: userid
  21002. required: true
  21003. type: integer
  21004. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  21005. in: query
  21006. name: querytype
  21007. required: true
  21008. type: integer
  21009. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21010. in: query
  21011. name: cycletype
  21012. required: true
  21013. type: integer
  21014. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21015. in: query
  21016. name: cycletime
  21017. required: true
  21018. type: string
  21019. produces:
  21020. - application/json
  21021. responses:
  21022. "200":
  21023. description: OK
  21024. schema:
  21025. items:
  21026. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  21027. type: array
  21028. "500":
  21029. description: Internal Server Error
  21030. schema:
  21031. $ref: '#/definitions/app.Response'
  21032. security:
  21033. - ApiKeyAuth: []
  21034. summary: 查询敞口报表
  21035. tags:
  21036. - 企业风险管理v3(app)
  21037. /Ermcp3/QryAreaSpotplReport:
  21038. get:
  21039. parameters:
  21040. - description: 用户ID
  21041. in: query
  21042. name: userid
  21043. required: true
  21044. type: integer
  21045. - description: 查询类型 1-报表 2-报表明细
  21046. in: query
  21047. name: querytype
  21048. required: true
  21049. type: integer
  21050. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21051. in: query
  21052. name: cycletype
  21053. required: true
  21054. type: integer
  21055. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21056. in: query
  21057. name: cycletime
  21058. required: true
  21059. type: string
  21060. - description: 现货品种id(明细必填)
  21061. in: query
  21062. name: deliverygoodsid
  21063. type: integer
  21064. - description: 币种id(明细必填)
  21065. in: query
  21066. name: currencyid
  21067. type: integer
  21068. produces:
  21069. - application/json
  21070. responses:
  21071. "200":
  21072. description: OK
  21073. schema:
  21074. items:
  21075. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  21076. type: array
  21077. "500":
  21078. description: Internal Server Error
  21079. schema:
  21080. $ref: '#/definitions/app.Response'
  21081. security:
  21082. - ApiKeyAuth: []
  21083. summary: 查询现货报表
  21084. tags:
  21085. - 企业风险管理v3(app)
  21086. /Ermcp3/QryAreaStockReport:
  21087. get:
  21088. parameters:
  21089. - description: 用户ID
  21090. in: query
  21091. name: userid
  21092. required: true
  21093. type: integer
  21094. - description: 查询类型 1-报表 2-报表明细
  21095. in: query
  21096. name: querytype
  21097. required: true
  21098. type: integer
  21099. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21100. in: query
  21101. name: cycletype
  21102. required: true
  21103. type: integer
  21104. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21105. in: query
  21106. name: cycletime
  21107. required: true
  21108. type: string
  21109. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  21110. in: query
  21111. name: sumfields
  21112. type: string
  21113. - description: 品种ID
  21114. in: query
  21115. name: deliverygoodsid
  21116. type: integer
  21117. - description: 品类ID
  21118. in: query
  21119. name: wrstandardid
  21120. type: integer
  21121. - description: 品牌ID
  21122. in: query
  21123. name: spotgoodsbrandid
  21124. type: integer
  21125. - description: 仓库ID
  21126. in: query
  21127. name: warehouseinfoid
  21128. type: integer
  21129. produces:
  21130. - application/json
  21131. responses:
  21132. "200":
  21133. description: OK
  21134. schema:
  21135. items:
  21136. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  21137. type: array
  21138. "500":
  21139. description: Internal Server Error
  21140. schema:
  21141. $ref: '#/definitions/app.Response'
  21142. security:
  21143. - ApiKeyAuth: []
  21144. summary: 查询库存报表
  21145. tags:
  21146. - 企业风险管理v3(app)
  21147. /Ermcp3/QryAreaSumPL:
  21148. get:
  21149. parameters:
  21150. - description: 用户ID
  21151. in: query
  21152. name: userid
  21153. required: true
  21154. type: integer
  21155. - description: 查询类型 1-报表 2-报表明细
  21156. in: query
  21157. name: querytype
  21158. required: true
  21159. type: integer
  21160. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21161. in: query
  21162. name: cycletype
  21163. required: true
  21164. type: integer
  21165. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21166. in: query
  21167. name: cycletime
  21168. required: true
  21169. type: string
  21170. - description: 币种id(明细必填)
  21171. in: query
  21172. name: currencyid
  21173. type: integer
  21174. produces:
  21175. - application/json
  21176. responses:
  21177. "200":
  21178. description: OK
  21179. schema:
  21180. items:
  21181. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  21182. type: array
  21183. "500":
  21184. description: Internal Server Error
  21185. schema:
  21186. $ref: '#/definitions/app.Response'
  21187. security:
  21188. - ApiKeyAuth: []
  21189. summary: 查询汇总损益表
  21190. tags:
  21191. - 企业风险管理v3(app)
  21192. /Ermcp3/QryFinanceReport:
  21193. get:
  21194. parameters:
  21195. - description: 用户ID
  21196. in: query
  21197. name: userid
  21198. required: true
  21199. type: integer
  21200. - description: 查询类型 1-报表 2-报表明细
  21201. in: query
  21202. name: querytype
  21203. required: true
  21204. type: integer
  21205. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21206. in: query
  21207. name: cycletype
  21208. required: true
  21209. type: integer
  21210. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21211. in: query
  21212. name: cycletime
  21213. required: true
  21214. type: string
  21215. - description: 币种id(报表明细必填)
  21216. in: query
  21217. name: currencyid
  21218. type: integer
  21219. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  21220. in: query
  21221. name: sumfields
  21222. type: string
  21223. produces:
  21224. - application/json
  21225. responses:
  21226. "200":
  21227. description: OK
  21228. schema:
  21229. items:
  21230. $ref: '#/definitions/models.Ermcp3FinanceReport'
  21231. type: array
  21232. "500":
  21233. description: Internal Server Error
  21234. schema:
  21235. $ref: '#/definitions/app.Response'
  21236. security:
  21237. - ApiKeyAuth: []
  21238. summary: 查询财务报表
  21239. tags:
  21240. - 企业风险管理v3(app)
  21241. /Ermcp3/QrySCMiddleGoodsReport:
  21242. get:
  21243. parameters:
  21244. - description: 用户ID
  21245. in: query
  21246. name: userid
  21247. required: true
  21248. type: integer
  21249. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21250. in: query
  21251. name: cycletype
  21252. required: true
  21253. type: integer
  21254. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21255. in: query
  21256. name: cycletime
  21257. required: true
  21258. type: string
  21259. - description: 合同id
  21260. in: query
  21261. name: spotcontractid
  21262. type: integer
  21263. - description: 套保品种id
  21264. in: query
  21265. name: middlegoodsid
  21266. type: integer
  21267. - description: 现货品种id
  21268. in: query
  21269. name: deliverygoodsid
  21270. type: integer
  21271. - description: 现货商品id
  21272. in: query
  21273. name: wrstandardid
  21274. type: integer
  21275. - description: 合同编号(模糊匹配)
  21276. in: query
  21277. name: contractno
  21278. type: string
  21279. produces:
  21280. - application/json
  21281. responses:
  21282. "200":
  21283. description: OK
  21284. schema:
  21285. items:
  21286. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  21287. type: array
  21288. "500":
  21289. description: Internal Server Error
  21290. schema:
  21291. $ref: '#/definitions/app.Response'
  21292. security:
  21293. - ApiKeyAuth: []
  21294. summary: 查询定价报表
  21295. tags:
  21296. - 企业风险管理v3(app)
  21297. /Ermcp3/QryTaFutureDataReport:
  21298. get:
  21299. parameters:
  21300. - description: 用户ID
  21301. in: query
  21302. name: userid
  21303. required: true
  21304. type: integer
  21305. - description: 查询类型 1-报表 2-报表明细
  21306. in: query
  21307. name: querytype
  21308. required: true
  21309. type: integer
  21310. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21311. in: query
  21312. name: cycletype
  21313. required: true
  21314. type: integer
  21315. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21316. in: query
  21317. name: cycletime
  21318. required: true
  21319. type: string
  21320. - description: 币种id(查明细必填)
  21321. in: query
  21322. name: currencyid
  21323. type: integer
  21324. - description: 品种id(查明细必填)
  21325. in: query
  21326. name: goodsgroupid
  21327. type: integer
  21328. - description: 商品id(查明细必填)
  21329. in: query
  21330. name: goodsid
  21331. type: integer
  21332. - description: 买卖方向(查明细必填)
  21333. in: query
  21334. name: buyorsell
  21335. type: integer
  21336. produces:
  21337. - application/json
  21338. responses:
  21339. "200":
  21340. description: OK
  21341. schema:
  21342. items:
  21343. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  21344. type: array
  21345. "500":
  21346. description: Internal Server Error
  21347. schema:
  21348. $ref: '#/definitions/app.Response'
  21349. security:
  21350. - ApiKeyAuth: []
  21351. summary: 查询期货报表
  21352. tags:
  21353. - 企业风险管理v3(app)
  21354. /Ermcp3/QueryAreaStock:
  21355. get:
  21356. parameters:
  21357. - description: 用户ID
  21358. in: query
  21359. name: userid
  21360. required: true
  21361. type: integer
  21362. produces:
  21363. - application/json
  21364. responses:
  21365. "200":
  21366. description: OK
  21367. schema:
  21368. items:
  21369. $ref: '#/definitions/models.Ermcp3AreaStock'
  21370. type: array
  21371. "500":
  21372. description: Internal Server Error
  21373. schema:
  21374. $ref: '#/definitions/app.Response'
  21375. security:
  21376. - ApiKeyAuth: []
  21377. summary: 查询机构库存(库存管理/当前库存)
  21378. tags:
  21379. - 企业风险管理v3(app)
  21380. /Ermcp3/QueryAreaStockApply:
  21381. get:
  21382. parameters:
  21383. - description: 用户ID
  21384. in: query
  21385. name: userid
  21386. required: true
  21387. type: integer
  21388. - description: 用户类型 2-机构 7-企业成员
  21389. in: query
  21390. name: usertype
  21391. type: integer
  21392. - description: 现货商品ID
  21393. in: query
  21394. name: deliverygoodsid
  21395. type: integer
  21396. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  21397. in: query
  21398. name: inouttype
  21399. type: string
  21400. - description: 合同ID
  21401. in: query
  21402. name: spotcontractid
  21403. type: integer
  21404. - description: 品类ID
  21405. in: query
  21406. name: wrstandardid
  21407. type: integer
  21408. - description: 品牌ID
  21409. in: query
  21410. name: spotgoodsbrandid
  21411. type: integer
  21412. - description: 仓库ID
  21413. in: query
  21414. name: warehouseinfoid
  21415. type: integer
  21416. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21417. in: query
  21418. name: applystatus
  21419. type: string
  21420. produces:
  21421. - application/json
  21422. responses:
  21423. "200":
  21424. description: OK
  21425. schema:
  21426. items:
  21427. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  21428. type: array
  21429. "500":
  21430. description: Internal Server Error
  21431. schema:
  21432. $ref: '#/definitions/app.Response'
  21433. security:
  21434. - ApiKeyAuth: []
  21435. summary: 查询库存申请(出入库记录|库存审核)
  21436. tags:
  21437. - 企业风险管理v3(app)
  21438. /Ermcp3/QueryAreaStockApplySum:
  21439. get:
  21440. parameters:
  21441. - description: 合同ID
  21442. in: query
  21443. name: spotcontractid
  21444. required: true
  21445. type: integer
  21446. produces:
  21447. - application/json
  21448. responses:
  21449. "200":
  21450. description: OK
  21451. schema:
  21452. items:
  21453. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  21454. type: array
  21455. "500":
  21456. description: Internal Server Error
  21457. schema:
  21458. $ref: '#/definitions/app.Response'
  21459. security:
  21460. - ApiKeyAuth: []
  21461. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  21462. tags:
  21463. - 企业风险管理v3(app)
  21464. /Ermcp3/QueryDGFactoryItem:
  21465. get:
  21466. parameters:
  21467. - description: 用户id
  21468. in: query
  21469. name: userid
  21470. type: integer
  21471. - description: 用户类型 2-机构 7-企业成员
  21472. in: query
  21473. name: usertype
  21474. type: integer
  21475. - description: 选择项ID(SEQ_DGFACTORYITEM)
  21476. in: query
  21477. name: dgfactoryitemid
  21478. type: integer
  21479. - description: 现货品种ID
  21480. in: query
  21481. name: deliverygoodsid
  21482. type: integer
  21483. - description: 要素项类型
  21484. in: query
  21485. name: dgfactoryitemtypeid
  21486. type: integer
  21487. - description: 顺序
  21488. in: query
  21489. name: orderindex
  21490. type: integer
  21491. produces:
  21492. - application/json
  21493. responses:
  21494. "200":
  21495. description: OK
  21496. schema:
  21497. items:
  21498. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  21499. type: array
  21500. "500":
  21501. description: Internal Server Error
  21502. schema:
  21503. $ref: '#/definitions/app.Response'
  21504. security:
  21505. - ApiKeyAuth: []
  21506. summary: 查询品种要素定义项
  21507. tags:
  21508. - 企业风险管理v3(app)
  21509. /Ermcp3/QueryDeliveryGoods:
  21510. get:
  21511. parameters:
  21512. - description: 用户id
  21513. in: query
  21514. name: userid
  21515. required: true
  21516. type: integer
  21517. - description: 用户类型 2-机构 7-企业成员
  21518. in: query
  21519. name: usertype
  21520. type: integer
  21521. - description: 排除已配置的业务类型商品 1-套保 2-套利
  21522. in: query
  21523. name: excludecfg
  21524. type: integer
  21525. produces:
  21526. - application/json
  21527. responses:
  21528. "200":
  21529. description: OK
  21530. schema:
  21531. items:
  21532. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  21533. type: array
  21534. "500":
  21535. description: Internal Server Error
  21536. schema:
  21537. $ref: '#/definitions/app.Response'
  21538. security:
  21539. - ApiKeyAuth: []
  21540. summary: 查询现货商品
  21541. tags:
  21542. - 企业风险管理v3(app)
  21543. /Ermcp3/QueryDeliveryGoodsDetail:
  21544. get:
  21545. parameters:
  21546. - description: 用户id
  21547. in: query
  21548. name: userid
  21549. required: true
  21550. type: integer
  21551. - description: 用户类型 2-机构 7-企业成员
  21552. in: query
  21553. name: usertype
  21554. type: integer
  21555. - description: 现货商品id
  21556. in: query
  21557. name: deliverygoodsid
  21558. type: integer
  21559. produces:
  21560. - application/json
  21561. responses:
  21562. "200":
  21563. description: OK
  21564. schema:
  21565. items:
  21566. $ref: '#/definitions/models.XHDeliveryGoods'
  21567. type: array
  21568. "500":
  21569. description: Internal Server Error
  21570. schema:
  21571. $ref: '#/definitions/app.Response'
  21572. security:
  21573. - ApiKeyAuth: []
  21574. summary: 查询现货商品详情
  21575. tags:
  21576. - 企业风险管理v3(app)
  21577. /Ermcp3/QueryExposureDetail:
  21578. get:
  21579. parameters:
  21580. - description: 用户id
  21581. in: query
  21582. name: userid
  21583. required: true
  21584. type: integer
  21585. - description: 用户类型 2-机构 7-企业成员
  21586. in: query
  21587. name: usertype
  21588. type: integer
  21589. - description: 套保商品
  21590. in: query
  21591. name: middlegoodsid
  21592. required: true
  21593. type: integer
  21594. produces:
  21595. - application/json
  21596. responses:
  21597. "200":
  21598. description: OK
  21599. schema:
  21600. items:
  21601. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  21602. type: array
  21603. "500":
  21604. description: Internal Server Error
  21605. schema:
  21606. $ref: '#/definitions/app.Response'
  21607. security:
  21608. - ApiKeyAuth: []
  21609. summary: 查询敞口现货明细
  21610. tags:
  21611. - 企业风险管理v3(app)
  21612. /Ermcp3/QueryExposureSpot:
  21613. get:
  21614. parameters:
  21615. - description: 用户id
  21616. in: query
  21617. name: userid
  21618. required: true
  21619. type: integer
  21620. - description: 用户类型 2-机构 7-企业成员
  21621. in: query
  21622. name: usertype
  21623. type: integer
  21624. produces:
  21625. - application/json
  21626. responses:
  21627. "200":
  21628. description: OK
  21629. schema:
  21630. items:
  21631. $ref: '#/definitions/models.Ermcp3AreaSpot'
  21632. type: array
  21633. "500":
  21634. description: Internal Server Error
  21635. schema:
  21636. $ref: '#/definitions/app.Response'
  21637. security:
  21638. - ApiKeyAuth: []
  21639. summary: 查询敞口现货头寸(敞口/现货头寸)
  21640. tags:
  21641. - 企业风险管理v3(app)
  21642. /Ermcp3/QueryExposureSpotDetail:
  21643. get:
  21644. parameters:
  21645. - description: 用户id
  21646. in: query
  21647. name: userid
  21648. required: true
  21649. type: integer
  21650. - description: 用户类型 2-机构 7-企业成员
  21651. in: query
  21652. name: usertype
  21653. type: integer
  21654. - description: 现货商品ID
  21655. in: query
  21656. name: wrstandardid
  21657. required: true
  21658. type: integer
  21659. produces:
  21660. - application/json
  21661. responses:
  21662. "200":
  21663. description: OK
  21664. schema:
  21665. items:
  21666. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  21667. type: array
  21668. "500":
  21669. description: Internal Server Error
  21670. schema:
  21671. $ref: '#/definitions/app.Response'
  21672. security:
  21673. - ApiKeyAuth: []
  21674. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  21675. tags:
  21676. - 企业风险管理v3(app)
  21677. /Ermcp3/QueryGoodsGroup:
  21678. get:
  21679. parameters:
  21680. - description: 用户id
  21681. in: query
  21682. name: userid
  21683. required: true
  21684. type: integer
  21685. - description: 用户类型 2-机构 7-企业成员
  21686. in: query
  21687. name: usertype
  21688. type: integer
  21689. - description: 排除套保品中已关联的商品组 1-排除
  21690. in: query
  21691. name: excludecfg
  21692. type: integer
  21693. produces:
  21694. - application/json
  21695. responses:
  21696. "200":
  21697. description: OK
  21698. schema:
  21699. items:
  21700. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  21701. type: array
  21702. "500":
  21703. description: Internal Server Error
  21704. schema:
  21705. $ref: '#/definitions/app.Response'
  21706. security:
  21707. - ApiKeyAuth: []
  21708. summary: 查询期货商品组
  21709. tags:
  21710. - 企业风险管理v3(app)
  21711. /Ermcp3/QueryGoodsWrstandard:
  21712. get:
  21713. parameters:
  21714. - description: 用户id
  21715. in: query
  21716. name: userid
  21717. required: true
  21718. type: integer
  21719. - description: 用户类型 2-机构 7-企业成员
  21720. in: query
  21721. name: usertype
  21722. type: integer
  21723. - description: 现货商品id
  21724. in: query
  21725. name: deliverygoodsid
  21726. type: integer
  21727. produces:
  21728. - application/json
  21729. responses:
  21730. "200":
  21731. description: OK
  21732. schema:
  21733. items:
  21734. $ref: '#/definitions/models.Ermcp3Wrstandard'
  21735. type: array
  21736. "500":
  21737. description: Internal Server Error
  21738. schema:
  21739. $ref: '#/definitions/app.Response'
  21740. security:
  21741. - ApiKeyAuth: []
  21742. summary: 查询商品品类
  21743. tags:
  21744. - 企业风险管理v3(app)
  21745. /Ermcp3/QueryGoodsbrand:
  21746. get:
  21747. parameters:
  21748. - description: 用户id
  21749. in: query
  21750. name: userid
  21751. required: true
  21752. type: integer
  21753. - description: 用户类型 2-机构 7-企业成员
  21754. in: query
  21755. name: usertype
  21756. type: integer
  21757. produces:
  21758. - application/json
  21759. responses:
  21760. "200":
  21761. description: OK
  21762. schema:
  21763. items:
  21764. $ref: '#/definitions/models.Ermcp3Brand'
  21765. type: array
  21766. "500":
  21767. description: Internal Server Error
  21768. schema:
  21769. $ref: '#/definitions/app.Response'
  21770. security:
  21771. - ApiKeyAuth: []
  21772. summary: 查询商品品牌
  21773. tags:
  21774. - 企业风险管理v3(app)
  21775. /Ermcp3/QueryHedgePlan:
  21776. get:
  21777. parameters:
  21778. - description: 用户ID
  21779. in: query
  21780. name: userid
  21781. required: true
  21782. type: integer
  21783. - description: 用户类型 2-机构 7-企业成员
  21784. in: query
  21785. name: usertype
  21786. type: integer
  21787. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  21788. in: query
  21789. name: hedgeplanstatus
  21790. required: true
  21791. type: string
  21792. produces:
  21793. - application/json
  21794. responses:
  21795. "200":
  21796. description: OK
  21797. schema:
  21798. items:
  21799. $ref: '#/definitions/models.Ermcp3HedgePlan'
  21800. type: array
  21801. "500":
  21802. description: Internal Server Error
  21803. schema:
  21804. $ref: '#/definitions/app.Response'
  21805. security:
  21806. - ApiKeyAuth: []
  21807. summary: 查询套保计划
  21808. tags:
  21809. - 企业风险管理v3(app)
  21810. /Ermcp3/QueryInnerTradeLink:
  21811. get:
  21812. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  21813. parameters:
  21814. - description: 外部成交单号
  21815. in: query
  21816. name: outtradeid
  21817. required: true
  21818. type: integer
  21819. produces:
  21820. - application/json
  21821. responses:
  21822. "200":
  21823. description: OK
  21824. schema:
  21825. items:
  21826. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  21827. type: array
  21828. "500":
  21829. description: Internal Server Error
  21830. schema:
  21831. $ref: '#/definitions/app.Response'
  21832. security:
  21833. - ApiKeyAuth: []
  21834. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  21835. tags:
  21836. - 企业风险管理v3(app)
  21837. /Ermcp3/QueryMiddleGoodsDetail:
  21838. get:
  21839. parameters:
  21840. - description: 用户id
  21841. in: query
  21842. name: userid
  21843. required: true
  21844. type: integer
  21845. - description: 用户类型 2-机构 7-企业成员
  21846. in: query
  21847. name: usertype
  21848. type: integer
  21849. - description: 套保品种id
  21850. in: query
  21851. name: middlegoodsid
  21852. type: integer
  21853. produces:
  21854. - application/json
  21855. responses:
  21856. "200":
  21857. description: OK
  21858. schema:
  21859. items:
  21860. $ref: '#/definitions/models.TBMiddleGoods'
  21861. type: array
  21862. "500":
  21863. description: Internal Server Error
  21864. schema:
  21865. $ref: '#/definitions/app.Response'
  21866. security:
  21867. - ApiKeyAuth: []
  21868. summary: 查询套保品种详情(套保品种/商品详情)
  21869. tags:
  21870. - 企业风险管理v3(app)
  21871. /Ermcp3/QueryOutTradeLink:
  21872. get:
  21873. description: 页面 app 现货->期现关联->外部成交单关联
  21874. parameters:
  21875. - description: 用户ID(填登录用户的userid)
  21876. in: query
  21877. name: userid
  21878. required: true
  21879. type: integer
  21880. - description: 外部订单号(模糊匹配)
  21881. in: query
  21882. name: outtradeid
  21883. type: string
  21884. - description: 合约名称/代码(模糊匹配)
  21885. in: query
  21886. name: goodsname
  21887. type: string
  21888. - description: 关联状态 0-未关联 1-已关联
  21889. in: query
  21890. name: hasinnerorder
  21891. type: integer
  21892. produces:
  21893. - application/json
  21894. responses:
  21895. "200":
  21896. description: OK
  21897. schema:
  21898. items:
  21899. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  21900. type: array
  21901. "500":
  21902. description: Internal Server Error
  21903. schema:
  21904. $ref: '#/definitions/app.Response'
  21905. security:
  21906. - ApiKeyAuth: []
  21907. summary: 查询外部成交单关联
  21908. tags:
  21909. - 企业风险管理v3(app)
  21910. /Ermcp3/QueryPaAreaAuditCfg:
  21911. get:
  21912. parameters:
  21913. - description: 用户id
  21914. in: query
  21915. name: userid
  21916. required: true
  21917. type: integer
  21918. produces:
  21919. - application/json
  21920. responses:
  21921. "200":
  21922. description: OK
  21923. schema:
  21924. items:
  21925. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  21926. type: array
  21927. "500":
  21928. description: Internal Server Error
  21929. schema:
  21930. $ref: '#/definitions/app.Response'
  21931. security:
  21932. - ApiKeyAuth: []
  21933. summary: 查询审核设置
  21934. tags:
  21935. - 企业风险管理v3(app)
  21936. /Ermcp3/QueryPaAreaSubject:
  21937. get:
  21938. parameters:
  21939. - description: 用户id
  21940. in: query
  21941. name: userid
  21942. required: true
  21943. type: integer
  21944. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  21945. in: query
  21946. name: subjectid
  21947. type: integer
  21948. - description: 主体类型 - 1:交易主体 2:业务部门
  21949. in: query
  21950. name: subjecttype
  21951. type: integer
  21952. - description: '主体状态 - 1:正常 2: 停用'
  21953. in: query
  21954. name: subjectstatus
  21955. type: integer
  21956. produces:
  21957. - application/json
  21958. responses:
  21959. "200":
  21960. description: OK
  21961. schema:
  21962. items:
  21963. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  21964. type: array
  21965. "500":
  21966. description: Internal Server Error
  21967. schema:
  21968. $ref: '#/definitions/app.Response'
  21969. security:
  21970. - ApiKeyAuth: []
  21971. summary: 查询交易主体
  21972. tags:
  21973. - 企业风险管理v3(app)
  21974. /Ermcp3/QueryPaTradeLink:
  21975. get:
  21976. description: 页面 app 现货->期现关联->期现单据关联
  21977. parameters:
  21978. - description: 用户ID
  21979. in: query
  21980. name: userid
  21981. required: true
  21982. type: integer
  21983. produces:
  21984. - application/json
  21985. responses:
  21986. "200":
  21987. description: OK
  21988. schema:
  21989. items:
  21990. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  21991. type: array
  21992. "500":
  21993. description: Internal Server Error
  21994. schema:
  21995. $ref: '#/definitions/app.Response'
  21996. security:
  21997. - ApiKeyAuth: []
  21998. summary: 查询期现单据关联
  21999. tags:
  22000. - 企业风险管理v3(app)
  22001. /Ermcp3/QueryPaTradeLinkDetail:
  22002. get:
  22003. description: 页面 app 现货->期现关联->关联记录
  22004. parameters:
  22005. - description: 用户ID(填登录用户的userid)
  22006. in: query
  22007. name: userid
  22008. required: true
  22009. type: integer
  22010. - description: 关联状态 1:成功 2:失败 3:解绑
  22011. in: query
  22012. name: linkstatus
  22013. type: integer
  22014. - description: 期货订单号(模糊匹配)
  22015. in: query
  22016. name: tradeid
  22017. type: string
  22018. - description: 现货编号(模糊匹配)
  22019. in: query
  22020. name: contractno
  22021. type: string
  22022. - description: 期货账户(模糊匹配)
  22023. in: query
  22024. name: taname
  22025. type: string
  22026. produces:
  22027. - application/json
  22028. responses:
  22029. "200":
  22030. description: OK
  22031. schema:
  22032. items:
  22033. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  22034. type: array
  22035. "500":
  22036. description: Internal Server Error
  22037. schema:
  22038. $ref: '#/definitions/app.Response'
  22039. security:
  22040. - ApiKeyAuth: []
  22041. summary: 查询期现关联记录
  22042. tags:
  22043. - 企业风险管理v3(app)
  22044. /Ermcp3/QueryParamChangeApp:
  22045. get:
  22046. description: |-
  22047. 原型页面:
  22048. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  22049. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  22050. parameters:
  22051. - description: 用户ID
  22052. in: query
  22053. name: userid
  22054. required: true
  22055. type: integer
  22056. - description: 现货品种id
  22057. in: query
  22058. name: deliverygoodsid
  22059. type: integer
  22060. - description: 现货商品id
  22061. in: query
  22062. name: wrstandardid
  22063. type: integer
  22064. - description: 套保商品id
  22065. in: query
  22066. name: middlegoodsid
  22067. type: integer
  22068. - description: 操作类型 1:新增 2:修改
  22069. in: query
  22070. name: operatetype
  22071. type: integer
  22072. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  22073. in: query
  22074. name: paramchangetype
  22075. type: integer
  22076. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22077. in: query
  22078. name: ftstatus
  22079. type: string
  22080. produces:
  22081. - application/json
  22082. responses:
  22083. "200":
  22084. description: OK
  22085. schema:
  22086. items:
  22087. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  22088. type: array
  22089. "500":
  22090. description: Internal Server Error
  22091. schema:
  22092. $ref: '#/definitions/app.Response'
  22093. security:
  22094. - ApiKeyAuth: []
  22095. summary: 查询现货商品参数变更申请(流水)
  22096. tags:
  22097. - 企业风险管理v3(app)
  22098. /Ermcp3/QueryRootUserAccount:
  22099. get:
  22100. parameters:
  22101. - description: 用户ID
  22102. in: query
  22103. name: userid
  22104. required: true
  22105. type: integer
  22106. produces:
  22107. - application/json
  22108. responses:
  22109. "200":
  22110. description: OK
  22111. schema:
  22112. items:
  22113. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  22114. type: array
  22115. "500":
  22116. description: Internal Server Error
  22117. schema:
  22118. $ref: '#/definitions/app.Response'
  22119. security:
  22120. - ApiKeyAuth: []
  22121. summary: 查询顶级用户信息
  22122. tags:
  22123. - 企业风险管理v3(app)
  22124. /Ermcp3/QuerySCMiddleGoods:
  22125. get:
  22126. description: |-
  22127. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  22128. 现货编号 即 合同编号
  22129. parameters:
  22130. - description: 用户ID(填登录用户的userid)
  22131. in: query
  22132. name: userid
  22133. required: true
  22134. type: integer
  22135. - description: 买卖方向 0-买 1-卖
  22136. in: query
  22137. name: buyorsell
  22138. required: true
  22139. type: integer
  22140. - description: 商品组id
  22141. in: query
  22142. name: goodsgroupid
  22143. required: true
  22144. type: integer
  22145. - description: 业务类型 1:套保 2:套利
  22146. in: query
  22147. name: biztype
  22148. type: integer
  22149. - description: 现货编号(模糊匹配)
  22150. in: query
  22151. name: contractno
  22152. type: string
  22153. - description: 对手方(模糊匹配)
  22154. in: query
  22155. name: customername
  22156. type: string
  22157. - description: 现货商品名称(模糊匹配)
  22158. in: query
  22159. name: wrstandardname
  22160. type: string
  22161. produces:
  22162. - application/json
  22163. responses:
  22164. "200":
  22165. description: OK
  22166. schema:
  22167. items:
  22168. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  22169. type: array
  22170. "500":
  22171. description: Internal Server Error
  22172. schema:
  22173. $ref: '#/definitions/app.Response'
  22174. security:
  22175. - ApiKeyAuth: []
  22176. summary: 查询现货订单
  22177. tags:
  22178. - 企业风险管理v3(app)
  22179. /Ermcp3/QuerySpotContract:
  22180. get:
  22181. parameters:
  22182. - description: 用户id(当指定contractid, userid可不填)
  22183. in: query
  22184. name: userid
  22185. required: true
  22186. type: integer
  22187. - description: 用户类型 2-机构 7-企业成员
  22188. in: query
  22189. name: usertype
  22190. type: integer
  22191. - description: 合同类型 1-采购, -1-销售
  22192. in: query
  22193. name: contracttype
  22194. type: integer
  22195. - description: 查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成
  22196. in: query
  22197. name: querytype
  22198. type: string
  22199. - description: 合同ID(SpotContractId)
  22200. in: query
  22201. name: contractid
  22202. type: string
  22203. - description: 合同编号(模糊匹配)
  22204. in: query
  22205. name: contractno
  22206. type: string
  22207. - description: 商品名称(模糊匹配)
  22208. in: query
  22209. name: wrstandardname
  22210. type: string
  22211. produces:
  22212. - application/json
  22213. responses:
  22214. "200":
  22215. description: OK
  22216. schema:
  22217. items:
  22218. $ref: '#/definitions/models.Ermcp3Contract'
  22219. type: array
  22220. "500":
  22221. description: Internal Server Error
  22222. schema:
  22223. $ref: '#/definitions/app.Response'
  22224. security:
  22225. - ApiKeyAuth: []
  22226. summary: 查询现货合同
  22227. tags:
  22228. - 企业风险管理v3(app)
  22229. /Ermcp3/QuerySpotContractBS:
  22230. get:
  22231. parameters:
  22232. - description: 用户id
  22233. in: query
  22234. name: userid
  22235. required: true
  22236. type: integer
  22237. - description: 用户类型 2-机构 7-企业成员
  22238. in: query
  22239. name: usertype
  22240. type: integer
  22241. - description: 合同类型 1-采购, -1-销售
  22242. in: query
  22243. name: contracttype
  22244. required: true
  22245. type: integer
  22246. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  22247. in: query
  22248. name: querytype
  22249. required: true
  22250. type: integer
  22251. - description: 合同ID(SpotContractId)
  22252. in: query
  22253. name: contractid
  22254. type: string
  22255. produces:
  22256. - application/json
  22257. responses:
  22258. "200":
  22259. description: OK
  22260. schema:
  22261. items:
  22262. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  22263. type: array
  22264. "500":
  22265. description: Internal Server Error
  22266. schema:
  22267. $ref: '#/definitions/app.Response'
  22268. security:
  22269. - ApiKeyAuth: []
  22270. summary: 查询合同(采购/销售)
  22271. tags:
  22272. - 企业风险管理v3(app)
  22273. /Ermcp3/QuerySpotGoodsPrice:
  22274. get:
  22275. parameters:
  22276. - description: 用户ID
  22277. in: query
  22278. name: userid
  22279. required: true
  22280. type: integer
  22281. produces:
  22282. - application/json
  22283. responses:
  22284. "200":
  22285. description: OK
  22286. schema:
  22287. items:
  22288. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  22289. type: array
  22290. "500":
  22291. description: Internal Server Error
  22292. schema:
  22293. $ref: '#/definitions/app.Response'
  22294. security:
  22295. - ApiKeyAuth: []
  22296. summary: 查询现货市价(现货市价)
  22297. tags:
  22298. - 企业风险管理v3(app)
  22299. /Ermcp3/QuerySpotGoodsPriceLog:
  22300. get:
  22301. parameters:
  22302. - description: 用户ID
  22303. in: query
  22304. name: userid
  22305. required: true
  22306. type: integer
  22307. - description: 现货商品ID
  22308. in: query
  22309. name: deliverygoodsid
  22310. required: true
  22311. type: integer
  22312. - description: 品牌ID
  22313. in: query
  22314. name: brandid
  22315. type: integer
  22316. - description: 品类ID
  22317. in: query
  22318. name: wrstandardid
  22319. type: integer
  22320. produces:
  22321. - application/json
  22322. responses:
  22323. "200":
  22324. description: OK
  22325. schema:
  22326. items:
  22327. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  22328. type: array
  22329. "500":
  22330. description: Internal Server Error
  22331. schema:
  22332. $ref: '#/definitions/app.Response'
  22333. security:
  22334. - ApiKeyAuth: []
  22335. summary: 查询现货市价详情(现货市价/详情)
  22336. tags:
  22337. - 企业风险管理v3(app)
  22338. /Ermcp3/QuerySubTaaccount:
  22339. get:
  22340. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  22341. parameters:
  22342. - description: 母账号id
  22343. in: query
  22344. name: parentaccountid
  22345. type: integer
  22346. - description: 母账号代码
  22347. in: query
  22348. name: parentaccountcode
  22349. type: string
  22350. produces:
  22351. - application/json
  22352. responses:
  22353. "200":
  22354. description: OK
  22355. schema:
  22356. items:
  22357. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  22358. type: array
  22359. "500":
  22360. description: Internal Server Error
  22361. schema:
  22362. $ref: '#/definitions/app.Response'
  22363. security:
  22364. - ApiKeyAuth: []
  22365. summary: 查询期货子账户
  22366. tags:
  22367. - 企业风险管理v3(app)
  22368. /Erms2/QueryArbitrageStrategy:
  22369. get:
  22370. parameters:
  22371. - description: 账户ID
  22372. in: query
  22373. name: userid
  22374. required: true
  22375. type: integer
  22376. - description: 商品组ID(品种ID)
  22377. in: query
  22378. name: goodsgroupid
  22379. type: string
  22380. produces:
  22381. - application/json
  22382. responses:
  22383. "200":
  22384. description: OK
  22385. schema:
  22386. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  22387. "500":
  22388. description: Internal Server Error
  22389. schema:
  22390. $ref: '#/definitions/app.Response'
  22391. security:
  22392. - ApiKeyAuth: []
  22393. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  22394. tags:
  22395. - 风险管理
  22396. /Erms2/QueryInnerTradeDetail:
  22397. get:
  22398. parameters:
  22399. - description: 资金账户
  22400. in: query
  22401. name: accountid
  22402. required: true
  22403. type: integer
  22404. produces:
  22405. - application/json
  22406. responses:
  22407. "200":
  22408. description: OK
  22409. schema:
  22410. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  22411. "500":
  22412. description: Internal Server Error
  22413. schema:
  22414. $ref: '#/definitions/app.Response'
  22415. security:
  22416. - ApiKeyAuth: []
  22417. summary: 查询内部成交单信息
  22418. tags:
  22419. - 风险管理
  22420. /Erms2/QuerySpotContract:
  22421. get:
  22422. parameters:
  22423. - description: 策略申请ID
  22424. in: query
  22425. name: asapplyid
  22426. required: true
  22427. type: integer
  22428. - description: 现货合同ID
  22429. in: query
  22430. name: spotcontractid
  22431. type: integer
  22432. produces:
  22433. - application/json
  22434. responses:
  22435. "200":
  22436. description: OK
  22437. schema:
  22438. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  22439. "500":
  22440. description: Internal Server Error
  22441. schema:
  22442. $ref: '#/definitions/app.Response'
  22443. security:
  22444. - ApiKeyAuth: []
  22445. summary: 查询现货合同表信息(指定策略ID、未结束的)
  22446. tags:
  22447. - 风险管理
  22448. /Erms3/AddErms2ASApply:
  22449. post:
  22450. parameters:
  22451. - description: 申请参数
  22452. in: body
  22453. name: jsonBody
  22454. required: true
  22455. schema:
  22456. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  22457. produces:
  22458. - application/json
  22459. responses:
  22460. "200":
  22461. description: OK
  22462. schema:
  22463. $ref: '#/definitions/app.Response'
  22464. "500":
  22465. description: Internal Server Error
  22466. schema:
  22467. $ref: '#/definitions/app.Response'
  22468. security:
  22469. - ApiKeyAuth: []
  22470. summary: 新增期现套利业务申请
  22471. tags:
  22472. - 风险管理v3
  22473. /Erms3/AddErms2SpotTradeApply:
  22474. post:
  22475. parameters:
  22476. - description: 申请参数
  22477. in: body
  22478. name: jsonBody
  22479. required: true
  22480. schema:
  22481. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  22482. produces:
  22483. - application/json
  22484. responses:
  22485. "200":
  22486. description: OK
  22487. schema:
  22488. $ref: '#/definitions/app.Response'
  22489. "500":
  22490. description: Internal Server Error
  22491. schema:
  22492. $ref: '#/definitions/app.Response'
  22493. security:
  22494. - ApiKeyAuth: []
  22495. summary: 新增现货贸易业务申请
  22496. tags:
  22497. - 风险管理v3
  22498. /Erms3/AddSpotContractApply:
  22499. post:
  22500. parameters:
  22501. - description: 申请参数
  22502. in: body
  22503. name: jsonBody
  22504. required: true
  22505. schema:
  22506. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  22507. produces:
  22508. - application/json
  22509. responses:
  22510. "200":
  22511. description: OK
  22512. schema:
  22513. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  22514. "500":
  22515. description: Internal Server Error
  22516. schema:
  22517. $ref: '#/definitions/app.Response'
  22518. security:
  22519. - ApiKeyAuth: []
  22520. summary: 新增现货合同申请
  22521. tags:
  22522. - 风险管理v3
  22523. /Erms3/AddUserInfoApply:
  22524. post:
  22525. parameters:
  22526. - description: 用户信息
  22527. in: body
  22528. name: jsonBody
  22529. required: true
  22530. schema:
  22531. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  22532. produces:
  22533. - application/json
  22534. responses:
  22535. "200":
  22536. description: OK
  22537. schema:
  22538. $ref: '#/definitions/app.Response'
  22539. "500":
  22540. description: Internal Server Error
  22541. schema:
  22542. $ref: '#/definitions/app.Response'
  22543. security:
  22544. - ApiKeyAuth: []
  22545. summary: 新增客户申请
  22546. tags:
  22547. - 风险管理v3
  22548. /Erms3/DeleteUserInfoApply:
  22549. get:
  22550. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  22551. parameters:
  22552. - description: 用户ID
  22553. in: query
  22554. name: userID
  22555. required: true
  22556. type: integer
  22557. produces:
  22558. - application/json
  22559. responses:
  22560. "200":
  22561. description: OK
  22562. schema:
  22563. $ref: '#/definitions/app.Response'
  22564. "500":
  22565. description: Internal Server Error
  22566. schema:
  22567. $ref: '#/definitions/app.Response'
  22568. security:
  22569. - ApiKeyAuth: []
  22570. summary: 删除客户申请
  22571. tags:
  22572. - 风险管理v3
  22573. /Erms3/ModifyUserInfoApply:
  22574. post:
  22575. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid": int, "userstate": 2 }'
  22576. parameters:
  22577. - description: 用户信息
  22578. in: body
  22579. name: jsonBody
  22580. required: true
  22581. schema:
  22582. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  22583. produces:
  22584. - application/json
  22585. responses:
  22586. "200":
  22587. description: OK
  22588. schema:
  22589. $ref: '#/definitions/app.Response'
  22590. "500":
  22591. description: Internal Server Error
  22592. schema:
  22593. $ref: '#/definitions/app.Response'
  22594. security:
  22595. - ApiKeyAuth: []
  22596. summary: 修改客户申请
  22597. tags:
  22598. - 风险管理v3
  22599. /Erms3/QueryBusinessInfo:
  22600. get:
  22601. parameters:
  22602. - description: 资金账号ID列表,用逗号分隔
  22603. in: query
  22604. name: accountids
  22605. required: true
  22606. type: string
  22607. - description: 状态,0为未结束 1为已结束
  22608. in: query
  22609. name: status
  22610. required: true
  22611. type: integer
  22612. produces:
  22613. - application/json
  22614. responses:
  22615. "200":
  22616. description: OK
  22617. schema:
  22618. items:
  22619. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  22620. type: array
  22621. "500":
  22622. description: Internal Server Error
  22623. schema:
  22624. $ref: '#/definitions/app.Response'
  22625. security:
  22626. - ApiKeyAuth: []
  22627. summary: 查询业务表单数据
  22628. tags:
  22629. - 风险管理v3
  22630. /Erms3/QueryPendingAuditContract:
  22631. get:
  22632. parameters:
  22633. - description: 资金账号ID列表,逗号隔开
  22634. in: query
  22635. name: accountids
  22636. required: true
  22637. type: string
  22638. - description: 合同类型 1-采购 -1-销售
  22639. in: query
  22640. name: contracttype
  22641. required: true
  22642. type: integer
  22643. - description: 合同模式 1-普通 2-回购
  22644. in: query
  22645. name: contractmode
  22646. required: true
  22647. type: integer
  22648. produces:
  22649. - application/json
  22650. responses:
  22651. "200":
  22652. description: OK
  22653. schema:
  22654. items:
  22655. $ref: '#/definitions/erms3.QryAuditContractRsp'
  22656. type: array
  22657. "500":
  22658. description: Internal Server Error
  22659. schema:
  22660. $ref: '#/definitions/app.Response'
  22661. security:
  22662. - ApiKeyAuth: []
  22663. summary: 查询待审核合同
  22664. tags:
  22665. - 风险管理v3
  22666. /Erms3/QueryPendingBusiness:
  22667. get:
  22668. parameters:
  22669. - description: 资金账号ID列表,逗号隔开
  22670. in: query
  22671. name: accountids
  22672. required: true
  22673. type: string
  22674. produces:
  22675. - application/json
  22676. responses:
  22677. "200":
  22678. description: OK
  22679. schema:
  22680. items:
  22681. $ref: '#/definitions/erms3.QryPendingBizRsp'
  22682. type: array
  22683. "500":
  22684. description: Internal Server Error
  22685. schema:
  22686. $ref: '#/definitions/app.Response'
  22687. security:
  22688. - ApiKeyAuth: []
  22689. summary: 查询待审核基差贸易业务
  22690. tags:
  22691. - 风险管理v3
  22692. /Erms3/QuerySpotContractAppleForm:
  22693. get:
  22694. parameters:
  22695. - description: 登录账号
  22696. in: query
  22697. name: loginID
  22698. required: true
  22699. type: integer
  22700. produces:
  22701. - application/json
  22702. responses:
  22703. "200":
  22704. description: OK
  22705. schema:
  22706. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  22707. "500":
  22708. description: Internal Server Error
  22709. schema:
  22710. $ref: '#/definitions/app.Response'
  22711. security:
  22712. - ApiKeyAuth: []
  22713. summary: 查询合同申请表单数据
  22714. tags:
  22715. - 风险管理v3
  22716. /Erms3/QuerySpotContractDetail:
  22717. get:
  22718. parameters:
  22719. - description: 资金账号ID列表,用逗号分隔
  22720. in: query
  22721. name: accountids
  22722. required: true
  22723. type: string
  22724. - description: 合同类型,1为采购合同 -1为销售合同
  22725. in: query
  22726. name: contracttype
  22727. required: true
  22728. type: integer
  22729. - description: 合同模式,1为普通合同 2为回购销售合同
  22730. in: query
  22731. name: contractmode
  22732. required: true
  22733. type: integer
  22734. - description: 状态,0为履约中 1为已完成
  22735. in: query
  22736. name: status
  22737. required: true
  22738. type: integer
  22739. produces:
  22740. - application/json
  22741. responses:
  22742. "200":
  22743. description: OK
  22744. schema:
  22745. items:
  22746. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  22747. type: array
  22748. "500":
  22749. description: Internal Server Error
  22750. schema:
  22751. $ref: '#/definitions/app.Response'
  22752. security:
  22753. - ApiKeyAuth: []
  22754. summary: 查询合同详细信息
  22755. tags:
  22756. - 风险管理v3
  22757. /Erms3/QueryUserInfoApplies:
  22758. get:
  22759. parameters:
  22760. - description: 页码
  22761. in: query
  22762. name: page
  22763. type: integer
  22764. - description: 每页条数
  22765. in: query
  22766. name: pagesize
  22767. type: integer
  22768. - description: 客户名称,支持模糊查询
  22769. in: query
  22770. name: userName
  22771. type: string
  22772. produces:
  22773. - application/json
  22774. responses:
  22775. "200":
  22776. description: OK
  22777. schema:
  22778. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  22779. "500":
  22780. description: Internal Server Error
  22781. schema:
  22782. $ref: '#/definitions/app.Response'
  22783. security:
  22784. - ApiKeyAuth: []
  22785. summary: 客户申请信息查询
  22786. tags:
  22787. - 风险管理v3
  22788. /Erms3/QueryUserInfos:
  22789. get:
  22790. parameters:
  22791. - description: 页码
  22792. in: query
  22793. name: page
  22794. type: integer
  22795. - description: 每页条数
  22796. in: query
  22797. name: pagesize
  22798. type: integer
  22799. - description: 客户名称,支持模糊查询
  22800. in: query
  22801. name: userName
  22802. type: string
  22803. produces:
  22804. - application/json
  22805. responses:
  22806. "200":
  22807. description: OK
  22808. schema:
  22809. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  22810. "500":
  22811. description: Internal Server Error
  22812. schema:
  22813. $ref: '#/definitions/app.Response'
  22814. security:
  22815. - ApiKeyAuth: []
  22816. summary: 客户信息查询
  22817. tags:
  22818. - 风险管理v3
  22819. /HSBY/GetHsbyMyCount:
  22820. get:
  22821. description: 说明: 不包括已完成的数量。
  22822. parameters:
  22823. - description: 资金账户列表,格式:1,2,3
  22824. in: query
  22825. name: accountIDs
  22826. required: true
  22827. type: string
  22828. produces:
  22829. - application/json
  22830. responses:
  22831. "200":
  22832. description: OK
  22833. schema:
  22834. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  22835. "500":
  22836. description: Internal Server Error
  22837. schema:
  22838. $ref: '#/definitions/app.Response'
  22839. security:
  22840. - ApiKeyAuth: []
  22841. summary: 获取我的订单与包裹数量
  22842. tags:
  22843. - 定制【海商报业】
  22844. /HSBY/QueryClientFixedADConfigs:
  22845. get:
  22846. produces:
  22847. - application/json
  22848. responses:
  22849. "200":
  22850. description: OK
  22851. schema:
  22852. $ref: '#/definitions/models.Clientfixedadconfig'
  22853. "500":
  22854. description: Internal Server Error
  22855. schema:
  22856. $ref: '#/definitions/app.Response'
  22857. security:
  22858. - ApiKeyAuth: []
  22859. summary: 获取终端固定广告配置
  22860. tags:
  22861. - 定制【海商报业】
  22862. /HSBY/QueryHsbyBuyMyTradeDetail:
  22863. get:
  22864. parameters:
  22865. - description: 页码
  22866. in: query
  22867. name: page
  22868. type: integer
  22869. - description: 每页条数
  22870. in: query
  22871. name: pagesize
  22872. type: integer
  22873. - description: 资金账户列表,格式:1,2,3
  22874. in: query
  22875. name: accountIDs
  22876. required: true
  22877. type: string
  22878. produces:
  22879. - application/json
  22880. responses:
  22881. "200":
  22882. description: OK
  22883. schema:
  22884. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  22885. "500":
  22886. description: Internal Server Error
  22887. schema:
  22888. $ref: '#/definitions/app.Response'
  22889. security:
  22890. - ApiKeyAuth: []
  22891. summary: 查询"我的订单 - 已完成"单据信息
  22892. tags:
  22893. - 定制【海商报业】
  22894. /HSBY/QueryHsbyGoodsOrderDetails:
  22895. get:
  22896. description: 说明:查询结果已按委托价格和委托时间排序
  22897. parameters:
  22898. - description: 商品ID
  22899. in: query
  22900. name: goodsID
  22901. required: true
  22902. type: integer
  22903. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  22904. in: query
  22905. name: accountIDs
  22906. type: string
  22907. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  22908. in: query
  22909. name: buyOrSell
  22910. type: integer
  22911. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  22912. in: query
  22913. name: price
  22914. type: number
  22915. - description: 档位,不传则默认为3档
  22916. in: query
  22917. name: speed
  22918. type: integer
  22919. produces:
  22920. - application/json
  22921. responses:
  22922. "200":
  22923. description: OK
  22924. schema:
  22925. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  22926. "500":
  22927. description: Internal Server Error
  22928. schema:
  22929. $ref: '#/definitions/app.Response'
  22930. security:
  22931. - ApiKeyAuth: []
  22932. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  22933. tags:
  22934. - 定制【海商报业】
  22935. /HSBY/QueryHsbyListingGoodsDetail:
  22936. get:
  22937. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  22938. parameters:
  22939. - description: 商品ID
  22940. in: query
  22941. name: goodsID
  22942. required: true
  22943. type: integer
  22944. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  22945. in: query
  22946. name: accountID
  22947. type: integer
  22948. produces:
  22949. - application/json
  22950. responses:
  22951. "200":
  22952. description: OK
  22953. schema:
  22954. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  22955. "500":
  22956. description: Internal Server Error
  22957. schema:
  22958. $ref: '#/definitions/app.Response'
  22959. security:
  22960. - ApiKeyAuth: []
  22961. summary: 查询二级市场(挂牌点选)商品信息详情
  22962. tags:
  22963. - 定制【海商报业】
  22964. /HSBY/QueryHsbyMarketGoodsDetail:
  22965. get:
  22966. parameters:
  22967. - description: 委托单号
  22968. in: query
  22969. name: orderID
  22970. required: true
  22971. type: integer
  22972. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  22973. in: query
  22974. name: accountID
  22975. type: integer
  22976. produces:
  22977. - application/json
  22978. responses:
  22979. "200":
  22980. description: OK
  22981. schema:
  22982. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  22983. "500":
  22984. description: Internal Server Error
  22985. schema:
  22986. $ref: '#/definitions/app.Response'
  22987. security:
  22988. - ApiKeyAuth: []
  22989. summary: 查询三级市场(商城)商品信息详情
  22990. tags:
  22991. - 定制【海商报业】
  22992. /HSBY/QueryHsbyMarketGoodses:
  22993. get:
  22994. parameters:
  22995. - description: 页码
  22996. in: query
  22997. name: page
  22998. type: integer
  22999. - description: 每页条数
  23000. in: query
  23001. name: pagesize
  23002. type: integer
  23003. - description: 市场ID列表,格式:1,2,3
  23004. in: query
  23005. name: marketIDs
  23006. required: true
  23007. type: string
  23008. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  23009. in: query
  23010. name: accountID
  23011. required: true
  23012. type: integer
  23013. - description: 类别ID
  23014. in: query
  23015. name: categoryID
  23016. type: integer
  23017. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  23018. in: query
  23019. name: goodsIDs
  23020. type: string
  23021. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  23022. in: query
  23023. name: couponTypeID
  23024. type: integer
  23025. produces:
  23026. - application/json
  23027. responses:
  23028. "200":
  23029. description: OK
  23030. schema:
  23031. $ref: '#/definitions/models.HsbyMarketGoods'
  23032. "500":
  23033. description: Internal Server Error
  23034. schema:
  23035. $ref: '#/definitions/app.Response'
  23036. security:
  23037. - ApiKeyAuth: []
  23038. summary: 查询特卖商品列表(三级商城)
  23039. tags:
  23040. - 定制【海商报业】
  23041. /HSBY/QueryHsbyMarkets:
  23042. get:
  23043. produces:
  23044. - application/json
  23045. responses:
  23046. "200":
  23047. description: OK
  23048. schema:
  23049. $ref: '#/definitions/models.HsbyMarketInfo'
  23050. "500":
  23051. description: Internal Server Error
  23052. schema:
  23053. $ref: '#/definitions/app.Response'
  23054. security:
  23055. - ApiKeyAuth: []
  23056. summary: 查询海商报业相关市场信息
  23057. tags:
  23058. - 定制【海商报业】
  23059. /HSBY/QueryHsbyMyBuyOrderDetails:
  23060. get:
  23061. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  23062. parameters:
  23063. - description: 资金账户列表,格式:1,2,3
  23064. in: query
  23065. name: accountIDs
  23066. required: true
  23067. type: string
  23068. produces:
  23069. - application/json
  23070. responses:
  23071. "200":
  23072. description: OK
  23073. schema:
  23074. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  23075. "500":
  23076. description: Internal Server Error
  23077. schema:
  23078. $ref: '#/definitions/app.Response'
  23079. security:
  23080. - ApiKeyAuth: []
  23081. summary: 查询“我的订单”信息
  23082. tags:
  23083. - 定制【海商报业】
  23084. /HSBY/QueryHsbyMyGoods:
  23085. get:
  23086. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  23087. parameters:
  23088. - description: 资金账户列表,格式:1,2,3
  23089. in: query
  23090. name: accountIDs
  23091. required: true
  23092. type: string
  23093. produces:
  23094. - application/json
  23095. responses:
  23096. "200":
  23097. description: OK
  23098. schema:
  23099. $ref: '#/definitions/models.HsbyMyGoods'
  23100. "500":
  23101. description: Internal Server Error
  23102. schema:
  23103. $ref: '#/definitions/app.Response'
  23104. security:
  23105. - ApiKeyAuth: []
  23106. summary: 查询“我的商品”信息
  23107. tags:
  23108. - 定制【海商报业】
  23109. /HSBY/QueryHsbyMyPackages:
  23110. get:
  23111. parameters:
  23112. - description: 资金账户列表,格式:1,2,3
  23113. in: query
  23114. name: accountIDs
  23115. required: true
  23116. type: string
  23117. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  23118. in: query
  23119. name: takeOrderStatus
  23120. type: integer
  23121. produces:
  23122. - application/json
  23123. responses:
  23124. "200":
  23125. description: OK
  23126. schema:
  23127. $ref: '#/definitions/models.HsbyMyPackage'
  23128. "500":
  23129. description: Internal Server Error
  23130. schema:
  23131. $ref: '#/definitions/app.Response'
  23132. security:
  23133. - ApiKeyAuth: []
  23134. summary: 查询我的包裹信息
  23135. tags:
  23136. - 定制【海商报业】
  23137. /HSBY/QueryHsbyPreGoodsDetail:
  23138. get:
  23139. parameters:
  23140. - description: 商品ID
  23141. in: query
  23142. name: goodsID
  23143. required: true
  23144. type: integer
  23145. - description: 资金账户,主要用于获取预售商品购买上限
  23146. in: query
  23147. name: accountID
  23148. type: integer
  23149. produces:
  23150. - application/json
  23151. responses:
  23152. "200":
  23153. description: OK
  23154. schema:
  23155. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  23156. "500":
  23157. description: Internal Server Error
  23158. schema:
  23159. $ref: '#/definitions/app.Response'
  23160. security:
  23161. - ApiKeyAuth: []
  23162. summary: 查询一级市场(预售)商品信息详情
  23163. tags:
  23164. - 定制【海商报业】
  23165. /HSBY/QueryHsbyPreGoodses:
  23166. get:
  23167. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  23168. parameters:
  23169. - description: 页码
  23170. in: query
  23171. name: page
  23172. type: integer
  23173. - description: 每页条数
  23174. in: query
  23175. name: pagesize
  23176. type: integer
  23177. - description: 市场ID列表,格式:1,2,3
  23178. in: query
  23179. name: marketIDs
  23180. required: true
  23181. type: string
  23182. - description: 目的地(省)ID
  23183. in: query
  23184. name: descProvinceID
  23185. type: integer
  23186. - description: 目的地(市)ID
  23187. in: query
  23188. name: descCityID
  23189. type: integer
  23190. produces:
  23191. - application/json
  23192. responses:
  23193. "200":
  23194. description: OK
  23195. schema:
  23196. $ref: '#/definitions/models.HsbyPreGoods'
  23197. "500":
  23198. description: Internal Server Error
  23199. schema:
  23200. $ref: '#/definitions/app.Response'
  23201. security:
  23202. - ApiKeyAuth: []
  23203. summary: 查询新品上市商品列表(一级市场预售)
  23204. tags:
  23205. - 定制【海商报业】
  23206. /HSBY/QueryHsbySellMyDetails:
  23207. get:
  23208. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  23209. parameters:
  23210. - description: 页码
  23211. in: query
  23212. name: page
  23213. type: integer
  23214. - description: 每页条数
  23215. in: query
  23216. name: pagesize
  23217. type: integer
  23218. - description: 资金账户列表,格式:1,2,3
  23219. in: query
  23220. name: accountIDs
  23221. required: true
  23222. type: string
  23223. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  23224. in: query
  23225. name: orderType
  23226. type: integer
  23227. produces:
  23228. - application/json
  23229. responses:
  23230. "200":
  23231. description: OK
  23232. schema:
  23233. $ref: '#/definitions/models.HsbySellMyDetail'
  23234. "500":
  23235. description: Internal Server Error
  23236. schema:
  23237. $ref: '#/definitions/app.Response'
  23238. security:
  23239. - ApiKeyAuth: []
  23240. summary: 查询"我的闲置"单据信息
  23241. tags:
  23242. - 定制【海商报业】
  23243. /HSBY/QueryHsbyTopGoodses:
  23244. get:
  23245. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  23246. parameters:
  23247. - description: 页码
  23248. in: query
  23249. name: page
  23250. type: integer
  23251. - description: 每页条数
  23252. in: query
  23253. name: pagesize
  23254. type: integer
  23255. - description: 市场ID列表,格式:1,2,3
  23256. in: query
  23257. name: marketIDs
  23258. required: true
  23259. type: string
  23260. - description: 目的地(省)ID
  23261. in: query
  23262. name: descProvinceID
  23263. type: integer
  23264. - description: 目的地(市)ID
  23265. in: query
  23266. name: descCityID
  23267. type: integer
  23268. produces:
  23269. - application/json
  23270. responses:
  23271. "200":
  23272. description: OK
  23273. schema:
  23274. $ref: '#/definitions/models.HsbyTopGoods'
  23275. "500":
  23276. description: Internal Server Error
  23277. schema:
  23278. $ref: '#/definitions/app.Response'
  23279. security:
  23280. - ApiKeyAuth: []
  23281. summary: 查询热卖商品列表(二级市场挂牌点选)
  23282. tags:
  23283. - 定制【海商报业】
  23284. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  23285. get:
  23286. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  23287. parameters:
  23288. - description: 商品ID
  23289. in: query
  23290. name: goodsID
  23291. required: true
  23292. type: integer
  23293. produces:
  23294. - application/json
  23295. responses:
  23296. "200":
  23297. description: OK
  23298. schema:
  23299. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  23300. "500":
  23301. description: Internal Server Error
  23302. schema:
  23303. $ref: '#/definitions/app.Response'
  23304. security:
  23305. - ApiKeyAuth: []
  23306. summary: 查询游客三级市场(商城)商品信息详情
  23307. tags:
  23308. - 定制【海商报业】
  23309. /HSBY/QueryHsbyVisitorMarketGoodses:
  23310. get:
  23311. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  23312. parameters:
  23313. - description: 页码
  23314. in: query
  23315. name: page
  23316. type: integer
  23317. - description: 每页条数
  23318. in: query
  23319. name: pagesize
  23320. type: integer
  23321. - description: 市场ID列表,格式:1,2,3
  23322. in: query
  23323. name: marketIDs
  23324. required: true
  23325. type: string
  23326. - description: 类别ID
  23327. in: query
  23328. name: categoryID
  23329. type: integer
  23330. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  23331. in: query
  23332. name: goodsIDs
  23333. type: string
  23334. produces:
  23335. - application/json
  23336. responses:
  23337. "200":
  23338. description: OK
  23339. schema:
  23340. $ref: '#/definitions/models.HsbyMarketGoods'
  23341. "500":
  23342. description: Internal Server Error
  23343. schema:
  23344. $ref: '#/definitions/app.Response'
  23345. security:
  23346. - ApiKeyAuth: []
  23347. summary: 查询游客特卖商品列表(三级商城)
  23348. tags:
  23349. - 定制【海商报业】
  23350. /HSBY/QueryMyCollectionOrders:
  23351. get:
  23352. parameters:
  23353. - description: 页码
  23354. in: query
  23355. name: page
  23356. type: integer
  23357. - description: 每页条数
  23358. in: query
  23359. name: pagesize
  23360. type: integer
  23361. - description: 资金账户,格式:1,2,3
  23362. in: query
  23363. name: accountIDs
  23364. required: true
  23365. type: string
  23366. produces:
  23367. - application/json
  23368. responses:
  23369. "200":
  23370. description: OK
  23371. schema:
  23372. $ref: '#/definitions/models.HsbySellCollectionOrder'
  23373. "500":
  23374. description: Internal Server Error
  23375. schema:
  23376. $ref: '#/definitions/app.Response'
  23377. security:
  23378. - ApiKeyAuth: []
  23379. summary: 我的闲置中收款信息查询
  23380. tags:
  23381. - 定制【海商报业】
  23382. /HSBY/QueryMyCouponHolds:
  23383. get:
  23384. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  23385. parameters:
  23386. - description: 资金账户列表,格式:1,2,3
  23387. in: query
  23388. name: accountIDs
  23389. required: true
  23390. type: string
  23391. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  23392. in: query
  23393. name: holdStatus
  23394. type: string
  23395. produces:
  23396. - application/json
  23397. responses:
  23398. "200":
  23399. description: OK
  23400. schema:
  23401. $ref: '#/definitions/models.MyCouponHold'
  23402. "500":
  23403. description: Internal Server Error
  23404. schema:
  23405. $ref: '#/definitions/app.Response'
  23406. security:
  23407. - ApiKeyAuth: []
  23408. summary: 我的优惠卷持仓查询
  23409. tags:
  23410. - 定制【海商报业】
  23411. /HSBY/QueryMyCoupons:
  23412. get:
  23413. parameters:
  23414. - description: 资金账户列表,格式:1,2,3
  23415. in: query
  23416. name: accountIDs
  23417. required: true
  23418. type: string
  23419. - description: 商品ID, 一般与sellUserID配套传入
  23420. in: query
  23421. name: goodsID
  23422. type: integer
  23423. - description: 卖方UserID
  23424. in: query
  23425. name: sellUserID
  23426. type: integer
  23427. produces:
  23428. - application/json
  23429. responses:
  23430. "200":
  23431. description: OK
  23432. schema:
  23433. $ref: '#/definitions/models.MyCoupon'
  23434. "500":
  23435. description: Internal Server Error
  23436. schema:
  23437. $ref: '#/definitions/app.Response'
  23438. security:
  23439. - ApiKeyAuth: []
  23440. summary: 我的优惠卷查询
  23441. tags:
  23442. - 定制【海商报业】
  23443. /HSBY/QueryMyPayOrders:
  23444. get:
  23445. parameters:
  23446. - description: 页码
  23447. in: query
  23448. name: page
  23449. type: integer
  23450. - description: 每页条数
  23451. in: query
  23452. name: pagesize
  23453. type: integer
  23454. - description: 资金账户列表,格式:1,2,3
  23455. in: query
  23456. name: accountIDs
  23457. required: true
  23458. type: string
  23459. - description: 买方委托单号
  23460. in: query
  23461. name: buyOrderID
  23462. type: integer
  23463. - description: 卖方委托单号
  23464. in: query
  23465. name: sellOrderID
  23466. type: integer
  23467. produces:
  23468. - application/json
  23469. responses:
  23470. "200":
  23471. description: OK
  23472. schema:
  23473. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  23474. "500":
  23475. description: Internal Server Error
  23476. schema:
  23477. $ref: '#/definitions/app.Response'
  23478. security:
  23479. - ApiKeyAuth: []
  23480. summary: 获取我的订单中待付款信息
  23481. tags:
  23482. - 定制【海商报业】
  23483. /HSBY/QueryMyUsedCoupon:
  23484. get:
  23485. parameters:
  23486. - description: 资金账户列表,格式:1,2,3
  23487. in: query
  23488. name: accountIDs
  23489. required: true
  23490. type: string
  23491. produces:
  23492. - application/json
  23493. responses:
  23494. "200":
  23495. description: OK
  23496. schema:
  23497. $ref: '#/definitions/models.MyUsedCoupon'
  23498. "500":
  23499. description: Internal Server Error
  23500. schema:
  23501. $ref: '#/definitions/app.Response'
  23502. security:
  23503. - ApiKeyAuth: []
  23504. summary: 已使用优惠卷查询
  23505. tags:
  23506. - 定制【海商报业】
  23507. /HSBY/QueryProvincesAndCities:
  23508. get:
  23509. description: 查询结果只包括二级市场商品已关连的省市信息。
  23510. parameters:
  23511. - description: 省ID
  23512. in: query
  23513. name: provinceID
  23514. type: integer
  23515. produces:
  23516. - application/json
  23517. responses:
  23518. "200":
  23519. description: OK
  23520. schema:
  23521. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  23522. "500":
  23523. description: Internal Server Error
  23524. schema:
  23525. $ref: '#/definitions/app.Response'
  23526. security:
  23527. - ApiKeyAuth: []
  23528. summary: 查询省市信息(不包括区)
  23529. tags:
  23530. - 定制【海商报业】
  23531. /HSBY/SetHsbyMyPackagesStatus:
  23532. post:
  23533. parameters:
  23534. - description: 提货单号
  23535. in: query
  23536. name: takeOrderID
  23537. required: true
  23538. type: string
  23539. - description: 资金账号
  23540. in: query
  23541. name: accountID
  23542. required: true
  23543. type: integer
  23544. produces:
  23545. - application/json
  23546. responses:
  23547. "200":
  23548. description: OK
  23549. schema:
  23550. $ref: '#/definitions/app.Response'
  23551. "500":
  23552. description: Internal Server Error
  23553. schema:
  23554. $ref: '#/definitions/app.Response'
  23555. security:
  23556. - ApiKeyAuth: []
  23557. summary: 设置我的包裹已收货状态
  23558. tags:
  23559. - 定制【海商报业】
  23560. /Market/GetAllExExchanges:
  23561. get:
  23562. produces:
  23563. - application/json
  23564. responses:
  23565. "200":
  23566. description: OK
  23567. schema:
  23568. $ref: '#/definitions/models.Goods'
  23569. "500":
  23570. description: Internal Server Error
  23571. schema:
  23572. $ref: '#/definitions/app.Response'
  23573. security:
  23574. - ApiKeyAuth: []
  23575. summary: 获取所有外部交易所信息
  23576. tags:
  23577. - 通用市场
  23578. /Market/QueryGoodsesByLoginID:
  23579. get:
  23580. parameters:
  23581. - description: 登录账号
  23582. in: query
  23583. name: loginID
  23584. required: true
  23585. type: integer
  23586. - description: 市场ID列表,格式:1,2,3
  23587. in: query
  23588. name: marketIDs
  23589. type: string
  23590. produces:
  23591. - application/json
  23592. responses:
  23593. "200":
  23594. description: OK
  23595. schema:
  23596. $ref: '#/definitions/models.Goods'
  23597. "500":
  23598. description: Internal Server Error
  23599. schema:
  23600. $ref: '#/definitions/app.Response'
  23601. security:
  23602. - ApiKeyAuth: []
  23603. summary: 获取登录账号有权限的商品信息
  23604. tags:
  23605. - 通用市场
  23606. /Market/QueryMarketRun:
  23607. get:
  23608. parameters:
  23609. - description: 市场ID,不传返回所有
  23610. in: query
  23611. name: marketID
  23612. type: integer
  23613. produces:
  23614. - application/json
  23615. responses:
  23616. "200":
  23617. description: OK
  23618. schema:
  23619. $ref: '#/definitions/models.Marketrun'
  23620. "500":
  23621. description: Internal Server Error
  23622. schema:
  23623. $ref: '#/definitions/app.Response'
  23624. security:
  23625. - ApiKeyAuth: []
  23626. summary: 查询市场运行信息
  23627. tags:
  23628. - 通用市场
  23629. /Market/QueryMarketsByLoginID:
  23630. get:
  23631. parameters:
  23632. - description: 登录账号
  23633. in: query
  23634. name: loginID
  23635. required: true
  23636. type: integer
  23637. produces:
  23638. - application/json
  23639. responses:
  23640. "200":
  23641. description: OK
  23642. schema:
  23643. $ref: '#/definitions/models.Market'
  23644. "500":
  23645. description: Internal Server Error
  23646. schema:
  23647. $ref: '#/definitions/app.Response'
  23648. security:
  23649. - ApiKeyAuth: []
  23650. summary: 获取登录账号有权限的市场信息
  23651. tags:
  23652. - 通用市场
  23653. /Order/QueryHisTradeDetail:
  23654. get:
  23655. parameters:
  23656. - description: 资金账户 - 格式:1,2,3
  23657. in: query
  23658. name: accountID
  23659. required: true
  23660. type: string
  23661. - description: 成交单号
  23662. in: query
  23663. name: tradeID
  23664. type: integer
  23665. - description: 委托单号
  23666. in: query
  23667. name: orderID
  23668. type: integer
  23669. - description: 商品ID
  23670. in: query
  23671. name: goodsID
  23672. type: integer
  23673. - description: 交易模式 - 格式:1,2,3
  23674. in: query
  23675. name: tradeMode
  23676. type: string
  23677. - description: 委托单据类型
  23678. in: query
  23679. name: buildType
  23680. type: integer
  23681. - description: 成交类别 - 格式:1,2,3
  23682. in: query
  23683. name: tradeType
  23684. type: string
  23685. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  23686. in: query
  23687. name: startDate
  23688. type: string
  23689. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  23690. in: query
  23691. name: endDate
  23692. type: string
  23693. produces:
  23694. - application/json
  23695. responses:
  23696. "200":
  23697. description: OK
  23698. schema:
  23699. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  23700. "500":
  23701. description: Internal Server Error
  23702. schema:
  23703. $ref: '#/definitions/app.Response'
  23704. security:
  23705. - ApiKeyAuth: []
  23706. summary: 历史成交单查询(合约市场)
  23707. tags:
  23708. - 通用单据
  23709. /Order/QueryHisTradeOrderDetail:
  23710. get:
  23711. parameters:
  23712. - description: 资金账户 - 格式:1,2,3
  23713. in: query
  23714. name: accountID
  23715. required: true
  23716. type: string
  23717. - description: 交易模式 - 格式:1,2,3
  23718. in: query
  23719. name: tradeMode
  23720. type: string
  23721. - description: 委托状态 - 格式:1,2,3
  23722. in: query
  23723. name: orderStatus
  23724. type: string
  23725. - description: 委托单号
  23726. in: query
  23727. name: orderID
  23728. type: integer
  23729. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  23730. in: query
  23731. name: startDate
  23732. type: string
  23733. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  23734. in: query
  23735. name: endDate
  23736. type: string
  23737. produces:
  23738. - application/json
  23739. responses:
  23740. "200":
  23741. description: OK
  23742. schema:
  23743. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  23744. "500":
  23745. description: Internal Server Error
  23746. schema:
  23747. $ref: '#/definitions/app.Response'
  23748. security:
  23749. - ApiKeyAuth: []
  23750. summary: 历史委托单查询请求(合约市场)
  23751. tags:
  23752. - 通用单据
  23753. /Order/QueryTradeDetail:
  23754. get:
  23755. parameters:
  23756. - description: 资金账户 - 格式:1,2,3
  23757. in: query
  23758. name: accountID
  23759. required: true
  23760. type: string
  23761. - description: 成交单号
  23762. in: query
  23763. name: tradeID
  23764. type: integer
  23765. - description: 委托单号
  23766. in: query
  23767. name: orderID
  23768. type: integer
  23769. - description: 交易模式 - 格式:1,2,3
  23770. in: query
  23771. name: tradeMode
  23772. type: string
  23773. - description: 委托单据类型
  23774. in: query
  23775. name: buildType
  23776. type: integer
  23777. - description: 成交类别 - 格式:1,2,3
  23778. in: query
  23779. name: tradeType
  23780. type: string
  23781. - description: 商品ID
  23782. in: query
  23783. name: goodsID
  23784. type: integer
  23785. produces:
  23786. - application/json
  23787. responses:
  23788. "200":
  23789. description: OK
  23790. schema:
  23791. $ref: '#/definitions/order.QueryTradeDetailRsp'
  23792. "500":
  23793. description: Internal Server Error
  23794. schema:
  23795. $ref: '#/definitions/app.Response'
  23796. security:
  23797. - ApiKeyAuth: []
  23798. summary: 成交单查询(合约市场)
  23799. tags:
  23800. - 通用单据
  23801. /Order/QueryTradeHolderDetail:
  23802. get:
  23803. parameters:
  23804. - description: 用户id
  23805. in: query
  23806. name: userid
  23807. type: integer
  23808. - description: 资金账号, 格式 1,2,3
  23809. in: query
  23810. name: accids
  23811. type: string
  23812. - description: 交易模式, 格式 1,2,3
  23813. in: query
  23814. name: trademodes
  23815. type: string
  23816. - description: 市场id, 格式 1,2,3
  23817. in: query
  23818. name: marketids
  23819. type: string
  23820. - description: 商品id
  23821. in: query
  23822. name: goodsid
  23823. type: integer
  23824. - description: 买卖方向 0-买 1-卖
  23825. in: query
  23826. name: buyorsell
  23827. type: integer
  23828. produces:
  23829. - application/json
  23830. responses:
  23831. "200":
  23832. description: OK
  23833. schema:
  23834. items:
  23835. $ref: '#/definitions/models.TradeHolderDetail'
  23836. type: array
  23837. "500":
  23838. description: Internal Server Error
  23839. schema:
  23840. $ref: '#/definitions/app.Response'
  23841. security:
  23842. - ApiKeyAuth: []
  23843. summary: 查询持仓明细
  23844. tags:
  23845. - 通用单据
  23846. /Order/QueryTradeOrderDetail:
  23847. get:
  23848. parameters:
  23849. - description: 资金账户 - 格式:1,2,3
  23850. in: query
  23851. name: accountID
  23852. required: true
  23853. type: string
  23854. - description: 交易模式 - 格式:1,2,3
  23855. in: query
  23856. name: tradeMode
  23857. type: string
  23858. - description: 委托状态 - 格式:1,2,3
  23859. in: query
  23860. name: orderStatus
  23861. type: string
  23862. - description: 委托单号
  23863. in: query
  23864. name: orderID
  23865. type: integer
  23866. produces:
  23867. - application/json
  23868. responses:
  23869. "200":
  23870. description: OK
  23871. schema:
  23872. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  23873. "500":
  23874. description: Internal Server Error
  23875. schema:
  23876. $ref: '#/definitions/app.Response'
  23877. security:
  23878. - ApiKeyAuth: []
  23879. summary: 委托单查询请求(合约市场)
  23880. tags:
  23881. - 通用单据
  23882. /Order/QueryTradePosition:
  23883. get:
  23884. parameters:
  23885. - description: 资金账户 - 格式:1,2,3
  23886. in: query
  23887. name: accountID
  23888. required: true
  23889. type: string
  23890. - description: 交易模式 - 格式:1,2,3
  23891. in: query
  23892. name: tradeMode
  23893. type: string
  23894. produces:
  23895. - application/json
  23896. responses:
  23897. "200":
  23898. description: OK
  23899. schema:
  23900. $ref: '#/definitions/order.QueryTradePositionRsp'
  23901. "500":
  23902. description: Internal Server Error
  23903. schema:
  23904. $ref: '#/definitions/app.Response'
  23905. security:
  23906. - ApiKeyAuth: []
  23907. summary: 持仓汇总查询(合约市场)
  23908. tags:
  23909. - 通用单据
  23910. /Qhj/QueryAccountInOutApply:
  23911. get:
  23912. parameters:
  23913. - description: 用户ID
  23914. in: query
  23915. name: userid
  23916. required: true
  23917. type: integer
  23918. - description: 申请起始日期(格式yyyymmdd)
  23919. in: query
  23920. name: begindate
  23921. type: string
  23922. - description: 申请截止日期(格式yyyymmdd)
  23923. in: query
  23924. name: enddate
  23925. type: string
  23926. - description: 模糊搜索名称
  23927. in: query
  23928. name: likename
  23929. type: string
  23930. produces:
  23931. - application/json
  23932. responses:
  23933. "200":
  23934. description: OK
  23935. schema:
  23936. items:
  23937. $ref: '#/definitions/models.QhjAccountOutInApply'
  23938. type: array
  23939. "500":
  23940. description: Internal Server Error
  23941. schema:
  23942. $ref: '#/definitions/app.Response'
  23943. security:
  23944. - ApiKeyAuth: []
  23945. summary: 查询充值提现
  23946. tags:
  23947. - 大连千海金
  23948. /Qhj/QueryAreaFinanceConfig:
  23949. get:
  23950. parameters:
  23951. - description: 机构用户ID 其他做市关系,都设置为 1
  23952. in: query
  23953. name: userid
  23954. type: integer
  23955. produces:
  23956. - application/json
  23957. responses:
  23958. "200":
  23959. description: OK
  23960. schema:
  23961. items:
  23962. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  23963. type: array
  23964. "500":
  23965. description: Internal Server Error
  23966. schema:
  23967. $ref: '#/definitions/app.Response'
  23968. security:
  23969. - ApiKeyAuth: []
  23970. summary: 查询企业配置表
  23971. tags:
  23972. - 大连千海金
  23973. /Qhj/QueryBankAccountSign:
  23974. get:
  23975. parameters:
  23976. - description: 用户ID
  23977. in: query
  23978. name: userid
  23979. required: true
  23980. type: integer
  23981. produces:
  23982. - application/json
  23983. responses:
  23984. "200":
  23985. description: OK
  23986. schema:
  23987. items:
  23988. $ref: '#/definitions/models.QhjBankAccountSign'
  23989. type: array
  23990. "500":
  23991. description: Internal Server Error
  23992. schema:
  23993. $ref: '#/definitions/app.Response'
  23994. security:
  23995. - ApiKeyAuth: []
  23996. summary: 查询签约银行信息(提现账户管理)
  23997. tags:
  23998. - 大连千海金
  23999. /Qhj/QueryBankInfo:
  24000. get:
  24001. produces:
  24002. - application/json
  24003. responses:
  24004. "200":
  24005. description: OK
  24006. schema:
  24007. items:
  24008. $ref: '#/definitions/models.QhjBankInfo'
  24009. type: array
  24010. "500":
  24011. description: Internal Server Error
  24012. schema:
  24013. $ref: '#/definitions/app.Response'
  24014. security:
  24015. - ApiKeyAuth: []
  24016. summary: 查询开户行
  24017. tags:
  24018. - 大连千海金
  24019. /Qhj/QueryBrokerApply:
  24020. get:
  24021. parameters:
  24022. - description: 所属机构ID
  24023. in: query
  24024. name: userid
  24025. type: integer
  24026. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24027. in: query
  24028. name: filterstatus
  24029. type: string
  24030. produces:
  24031. - application/json
  24032. responses:
  24033. "200":
  24034. description: OK
  24035. schema:
  24036. items:
  24037. $ref: '#/definitions/models.QhjBrokerApply'
  24038. type: array
  24039. "500":
  24040. description: Internal Server Error
  24041. schema:
  24042. $ref: '#/definitions/app.Response'
  24043. security:
  24044. - ApiKeyAuth: []
  24045. summary: 查询经纪人申请
  24046. tags:
  24047. - 大连千海金
  24048. /Qhj/QueryBrokerApplyEx:
  24049. get:
  24050. parameters:
  24051. - description: 所属机构ID
  24052. in: query
  24053. name: userid
  24054. type: integer
  24055. produces:
  24056. - application/json
  24057. responses:
  24058. "200":
  24059. description: OK
  24060. schema:
  24061. items:
  24062. $ref: '#/definitions/models.QhjBrokerApplyEx'
  24063. type: array
  24064. "500":
  24065. description: Internal Server Error
  24066. schema:
  24067. $ref: '#/definitions/app.Response'
  24068. security:
  24069. - ApiKeyAuth: []
  24070. summary: 查询经纪人信息和申请记录
  24071. tags:
  24072. - 大连千海金
  24073. /Qhj/QueryBrokerRewardLog:
  24074. get:
  24075. parameters:
  24076. - description: 用户ID
  24077. in: query
  24078. name: userid
  24079. required: true
  24080. type: integer
  24081. - description: 开始交易日(yyyymmdd)
  24082. in: query
  24083. name: begindate
  24084. type: string
  24085. - description: 结束交易日(yyyymmdd)
  24086. in: query
  24087. name: enddate
  24088. type: string
  24089. produces:
  24090. - application/json
  24091. responses:
  24092. "200":
  24093. description: OK
  24094. schema:
  24095. items:
  24096. $ref: '#/definitions/models.QhjBrokerRewardLog'
  24097. type: array
  24098. "500":
  24099. description: Internal Server Error
  24100. schema:
  24101. $ref: '#/definitions/app.Response'
  24102. security:
  24103. - ApiKeyAuth: []
  24104. summary: 查询奖励流水(我的奖励)
  24105. tags:
  24106. - 大连千海金
  24107. /Qhj/QueryContract:
  24108. get:
  24109. parameters:
  24110. - description: 用户ID
  24111. in: query
  24112. name: userid
  24113. type: integer
  24114. - description: scf合同id
  24115. in: query
  24116. name: scfcontractid
  24117. type: integer
  24118. produces:
  24119. - application/json
  24120. responses:
  24121. "200":
  24122. description: OK
  24123. schema:
  24124. items:
  24125. $ref: '#/definitions/models.QhjContract'
  24126. type: array
  24127. "500":
  24128. description: Internal Server Error
  24129. schema:
  24130. $ref: '#/definitions/app.Response'
  24131. security:
  24132. - ApiKeyAuth: []
  24133. summary: 查询融资明细(合同)
  24134. tags:
  24135. - 大连千海金
  24136. /Qhj/QueryContractLog:
  24137. get:
  24138. parameters:
  24139. - description: scf合同id
  24140. in: query
  24141. name: scfcontractid
  24142. required: true
  24143. type: integer
  24144. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  24145. in: query
  24146. name: amounttype
  24147. type: string
  24148. produces:
  24149. - application/json
  24150. responses:
  24151. "200":
  24152. description: OK
  24153. schema:
  24154. items:
  24155. $ref: '#/definitions/models.QhjContractLog'
  24156. type: array
  24157. "500":
  24158. description: Internal Server Error
  24159. schema:
  24160. $ref: '#/definitions/app.Response'
  24161. security:
  24162. - ApiKeyAuth: []
  24163. summary: 查询融资明细流水(融资明细详情页中的流水)
  24164. tags:
  24165. - 大连千海金
  24166. /Qhj/QueryCusBankSignBank:
  24167. get:
  24168. produces:
  24169. - application/json
  24170. responses:
  24171. "200":
  24172. description: OK
  24173. schema:
  24174. items:
  24175. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  24176. type: array
  24177. "500":
  24178. description: Internal Server Error
  24179. schema:
  24180. $ref: '#/definitions/app.Response'
  24181. security:
  24182. - ApiKeyAuth: []
  24183. summary: 查询托管银行
  24184. tags:
  24185. - 大连千海金
  24186. /Qhj/QueryCustomerInfo:
  24187. get:
  24188. parameters:
  24189. - description: 用户ID
  24190. in: query
  24191. name: userid
  24192. required: true
  24193. type: integer
  24194. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  24195. in: query
  24196. name: querytype
  24197. required: true
  24198. type: integer
  24199. - description: 客户类型 1-个人 2-企业
  24200. in: query
  24201. name: userinfotype
  24202. type: integer
  24203. - description: 客户名称(模糊匹配)
  24204. in: query
  24205. name: customername
  24206. type: string
  24207. - description: 昵称(模糊匹配)
  24208. in: query
  24209. name: nickname
  24210. type: string
  24211. - description: 是否包含子级 1-包含
  24212. in: query
  24213. name: includesub
  24214. type: integer
  24215. produces:
  24216. - application/json
  24217. responses:
  24218. "200":
  24219. description: OK
  24220. schema:
  24221. items:
  24222. $ref: '#/definitions/models.QhjCustomer'
  24223. type: array
  24224. "500":
  24225. description: Internal Server Error
  24226. schema:
  24227. $ref: '#/definitions/app.Response'
  24228. security:
  24229. - ApiKeyAuth: []
  24230. summary: 查询客户资料
  24231. tags:
  24232. - 大连千海金
  24233. /Qhj/QueryGoodsEx:
  24234. get:
  24235. parameters:
  24236. - description: 商品id
  24237. in: query
  24238. name: goodsid
  24239. type: integer
  24240. produces:
  24241. - application/json
  24242. responses:
  24243. "200":
  24244. description: OK
  24245. schema:
  24246. items:
  24247. $ref: '#/definitions/models.Qhjgoodsex'
  24248. type: array
  24249. "500":
  24250. description: Internal Server Error
  24251. schema:
  24252. $ref: '#/definitions/app.Response'
  24253. security:
  24254. - ApiKeyAuth: []
  24255. summary: 交易商品扩展表
  24256. tags:
  24257. - 大连千海金
  24258. /Qhj/QueryMyTeam:
  24259. get:
  24260. parameters:
  24261. - description: 用户ID
  24262. in: query
  24263. name: userid
  24264. required: true
  24265. type: integer
  24266. produces:
  24267. - application/json
  24268. responses:
  24269. "200":
  24270. description: OK
  24271. schema:
  24272. items:
  24273. $ref: '#/definitions/models.QhjMyTeamEx'
  24274. type: array
  24275. "500":
  24276. description: Internal Server Error
  24277. schema:
  24278. $ref: '#/definitions/app.Response'
  24279. security:
  24280. - ApiKeyAuth: []
  24281. summary: 查询我的团队
  24282. tags:
  24283. - 大连千海金
  24284. /Qhj/QueryMyTeamOrder:
  24285. get:
  24286. parameters:
  24287. - description: 页码
  24288. in: query
  24289. name: page
  24290. type: integer
  24291. - description: 每页条数
  24292. in: query
  24293. name: pagesize
  24294. type: integer
  24295. - description: 用户ID
  24296. in: query
  24297. name: userid
  24298. required: true
  24299. type: integer
  24300. - description: 交易模式
  24301. in: query
  24302. name: trademode
  24303. type: integer
  24304. - description: 名称(模糊搜索账户)
  24305. in: query
  24306. name: filtername
  24307. type: string
  24308. produces:
  24309. - application/json
  24310. responses:
  24311. "200":
  24312. description: OK
  24313. schema:
  24314. items:
  24315. $ref: '#/definitions/models.QhjTeamOrder'
  24316. type: array
  24317. "500":
  24318. description: Internal Server Error
  24319. schema:
  24320. $ref: '#/definitions/app.Response'
  24321. security:
  24322. - ApiKeyAuth: []
  24323. summary: 查询团队订单(我的团队/团队订单)
  24324. tags:
  24325. - 大连千海金
  24326. /Qhj/QueryParentAreaList:
  24327. get:
  24328. parameters:
  24329. - description: 用户ID
  24330. in: query
  24331. name: userid
  24332. required: true
  24333. type: integer
  24334. produces:
  24335. - application/json
  24336. responses:
  24337. "200":
  24338. description: OK
  24339. schema:
  24340. items:
  24341. $ref: '#/definitions/models.QhjParentAreaList'
  24342. type: array
  24343. "500":
  24344. description: Internal Server Error
  24345. schema:
  24346. $ref: '#/definitions/app.Response'
  24347. security:
  24348. - ApiKeyAuth: []
  24349. summary: 查询所属机构列表
  24350. tags:
  24351. - 大连千海金
  24352. /Qhj/QueryPayOrder:
  24353. get:
  24354. parameters:
  24355. - description: 资金账号id
  24356. in: query
  24357. name: accountid
  24358. required: true
  24359. type: integer
  24360. - description: 成交单号
  24361. in: query
  24362. name: tradeid
  24363. type: integer
  24364. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  24365. in: query
  24366. name: payflag
  24367. type: string
  24368. produces:
  24369. - application/json
  24370. responses:
  24371. "200":
  24372. description: OK
  24373. schema:
  24374. items:
  24375. $ref: '#/definitions/models.QhjPayOrder'
  24376. type: array
  24377. "500":
  24378. description: Internal Server Error
  24379. schema:
  24380. $ref: '#/definitions/app.Response'
  24381. security:
  24382. - ApiKeyAuth: []
  24383. summary: 查询待付款单据
  24384. tags:
  24385. - 大连千海金
  24386. /Qhj/QueryPickArea:
  24387. get:
  24388. parameters:
  24389. - description: 用户ID
  24390. in: query
  24391. name: userid
  24392. type: integer
  24393. produces:
  24394. - application/json
  24395. responses:
  24396. "200":
  24397. description: OK
  24398. schema:
  24399. items:
  24400. $ref: '#/definitions/models.QhjPickArea'
  24401. type: array
  24402. "500":
  24403. description: Internal Server Error
  24404. schema:
  24405. $ref: '#/definitions/app.Response'
  24406. security:
  24407. - ApiKeyAuth: []
  24408. summary: 查询提货门店
  24409. tags:
  24410. - 大连千海金
  24411. /Qhj/QueryPickGoods:
  24412. get:
  24413. parameters:
  24414. - description: 交易商品id
  24415. in: query
  24416. name: goodsid
  24417. required: true
  24418. type: integer
  24419. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  24420. in: query
  24421. name: status
  24422. type: string
  24423. produces:
  24424. - application/json
  24425. responses:
  24426. "200":
  24427. description: OK
  24428. schema:
  24429. items:
  24430. $ref: '#/definitions/models.QhjPickGoods'
  24431. type: array
  24432. "500":
  24433. description: Internal Server Error
  24434. schema:
  24435. $ref: '#/definitions/app.Response'
  24436. security:
  24437. - ApiKeyAuth: []
  24438. summary: 查询提货商品
  24439. tags:
  24440. - 大连千海金
  24441. /Qhj/QueryRSTriggerLog:
  24442. get:
  24443. parameters:
  24444. - description: 用户ID
  24445. in: query
  24446. name: userid
  24447. type: integer
  24448. - description: 定投策略id
  24449. in: query
  24450. name: regularlystrategyid
  24451. type: integer
  24452. - description: 商品id
  24453. in: query
  24454. name: goodsid
  24455. type: integer
  24456. - description: 开始交易日(yyyymmdd)
  24457. in: query
  24458. name: begindate
  24459. type: string
  24460. - description: 结束交易日(yyyymmdd)
  24461. in: query
  24462. name: enddate
  24463. type: string
  24464. - description: 名称(模糊搜索账户)
  24465. in: query
  24466. name: filtername
  24467. type: string
  24468. produces:
  24469. - application/json
  24470. responses:
  24471. "200":
  24472. description: OK
  24473. schema:
  24474. items:
  24475. $ref: '#/definitions/models.QhjRSTriggerLog'
  24476. type: array
  24477. "500":
  24478. description: Internal Server Error
  24479. schema:
  24480. $ref: '#/definitions/app.Response'
  24481. security:
  24482. - ApiKeyAuth: []
  24483. summary: 查询定投记录(定投管理/详情/定投记录)
  24484. tags:
  24485. - 大连千海金
  24486. /Qhj/QueryRStrategy:
  24487. get:
  24488. parameters:
  24489. - description: 用户ID
  24490. in: query
  24491. name: userid
  24492. type: integer
  24493. - description: 商品id
  24494. in: query
  24495. name: goodsid
  24496. type: integer
  24497. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  24498. in: query
  24499. name: status
  24500. type: string
  24501. - description: 名称(模糊搜索账户)
  24502. in: query
  24503. name: filtername
  24504. type: string
  24505. produces:
  24506. - application/json
  24507. responses:
  24508. "200":
  24509. description: OK
  24510. schema:
  24511. items:
  24512. $ref: '#/definitions/models.QhjRStrategy'
  24513. type: array
  24514. "500":
  24515. description: Internal Server Error
  24516. schema:
  24517. $ref: '#/definitions/app.Response'
  24518. security:
  24519. - ApiKeyAuth: []
  24520. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  24521. tags:
  24522. - 大连千海金
  24523. /Qhj/QueryReckonPriceLog:
  24524. get:
  24525. parameters:
  24526. - description: 商品ID
  24527. in: query
  24528. name: goodsid
  24529. type: integer
  24530. - description: 交易日 格式(yyyymmdd)
  24531. in: query
  24532. name: tradedate
  24533. type: string
  24534. produces:
  24535. - application/json
  24536. responses:
  24537. "200":
  24538. description: OK
  24539. schema:
  24540. items:
  24541. $ref: '#/definitions/models.QhjReckonPriceLog'
  24542. type: array
  24543. "500":
  24544. description: Internal Server Error
  24545. schema:
  24546. $ref: '#/definitions/app.Response'
  24547. security:
  24548. - ApiKeyAuth: []
  24549. summary: 查询定投价(结算价)
  24550. tags:
  24551. - 大连千海金
  24552. /Qhj/QueryScoreLog:
  24553. get:
  24554. parameters:
  24555. - description: 用户ID
  24556. in: query
  24557. name: userid
  24558. required: true
  24559. type: integer
  24560. - description: 开始交易日(yyyymmdd)
  24561. in: query
  24562. name: begindate
  24563. type: string
  24564. - description: 结束交易日(yyyymmdd)
  24565. in: query
  24566. name: enddate
  24567. type: string
  24568. - description: 最近多少条
  24569. in: query
  24570. name: lastnum
  24571. type: integer
  24572. produces:
  24573. - application/json
  24574. responses:
  24575. "200":
  24576. description: OK
  24577. schema:
  24578. items:
  24579. $ref: '#/definitions/models.QhjScoreLog'
  24580. type: array
  24581. "500":
  24582. description: Internal Server Error
  24583. schema:
  24584. $ref: '#/definitions/app.Response'
  24585. security:
  24586. - ApiKeyAuth: []
  24587. summary: 查询积分流水(我的积分)
  24588. tags:
  24589. - 大连千海金
  24590. /Qhj/QuerySiteColumnDetail:
  24591. get:
  24592. parameters:
  24593. - description: 用户ID
  24594. in: query
  24595. name: userid
  24596. required: true
  24597. type: integer
  24598. produces:
  24599. - application/json
  24600. responses:
  24601. "200":
  24602. description: OK
  24603. schema:
  24604. items:
  24605. $ref: '#/definitions/models.QhjSiteColumnDetail'
  24606. type: array
  24607. "500":
  24608. description: Internal Server Error
  24609. schema:
  24610. $ref: '#/definitions/app.Response'
  24611. security:
  24612. - ApiKeyAuth: []
  24613. summary: 查询资讯
  24614. tags:
  24615. - 大连千海金
  24616. /Qhj/QueryTradeGoodsPickup:
  24617. get:
  24618. parameters:
  24619. - description: 用户ID
  24620. in: query
  24621. name: userid
  24622. required: true
  24623. type: integer
  24624. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销
  24625. in: query
  24626. name: takeorderstatus
  24627. type: integer
  24628. produces:
  24629. - application/json
  24630. responses:
  24631. "200":
  24632. description: OK
  24633. schema:
  24634. items:
  24635. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  24636. type: array
  24637. "500":
  24638. description: Internal Server Error
  24639. schema:
  24640. $ref: '#/definitions/app.Response'
  24641. security:
  24642. - ApiKeyAuth: []
  24643. summary: 查询提货
  24644. tags:
  24645. - 大连千海金
  24646. /Qhj/QueryUserCollectConfig:
  24647. get:
  24648. parameters:
  24649. - description: 用户ID
  24650. in: query
  24651. name: userid
  24652. required: true
  24653. type: integer
  24654. produces:
  24655. - application/json
  24656. responses:
  24657. "200":
  24658. description: OK
  24659. schema:
  24660. items:
  24661. $ref: '#/definitions/models.UserCollectConfig'
  24662. type: array
  24663. "500":
  24664. description: Internal Server Error
  24665. schema:
  24666. $ref: '#/definitions/app.Response'
  24667. security:
  24668. - ApiKeyAuth: []
  24669. summary: 查询提现账户设置
  24670. tags:
  24671. - 大连千海金
  24672. /Qhj/QueryUserReceiveInfo:
  24673. get:
  24674. parameters:
  24675. - description: 用户ID
  24676. in: query
  24677. name: userid
  24678. required: true
  24679. type: integer
  24680. produces:
  24681. - application/json
  24682. responses:
  24683. "200":
  24684. description: OK
  24685. schema:
  24686. items:
  24687. $ref: '#/definitions/models.UserReceiveInfo'
  24688. type: array
  24689. "500":
  24690. description: Internal Server Error
  24691. schema:
  24692. $ref: '#/definitions/app.Response'
  24693. security:
  24694. - ApiKeyAuth: []
  24695. summary: 查询收货地址信息
  24696. tags:
  24697. - 大连千海金
  24698. /QhjMgr/QueryAccountInOutApply:
  24699. get:
  24700. parameters:
  24701. - description: 查询类型 1-提现(出金) 2-充值(出金)
  24702. in: query
  24703. name: querytype
  24704. required: true
  24705. type: integer
  24706. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  24707. in: query
  24708. name: applystatus
  24709. type: integer
  24710. - description: 申请起始日期(格式yyyymmdd)
  24711. in: query
  24712. name: begindate
  24713. type: string
  24714. - description: 申请截止日期(格式yyyymmdd)
  24715. in: query
  24716. name: enddate
  24717. type: string
  24718. - description: 模糊搜索名称
  24719. in: query
  24720. name: likename
  24721. type: string
  24722. produces:
  24723. - application/json
  24724. responses:
  24725. "200":
  24726. description: OK
  24727. schema:
  24728. items:
  24729. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  24730. type: array
  24731. "500":
  24732. description: Internal Server Error
  24733. schema:
  24734. $ref: '#/definitions/app.Response'
  24735. security:
  24736. - ApiKeyAuth: []
  24737. summary: 查询充值提现
  24738. tags:
  24739. - 大连千海金(PCWeb)
  24740. /QhjMgr/QueryBrokerApply:
  24741. get:
  24742. parameters:
  24743. - description: 所属机构ID
  24744. in: query
  24745. name: userid
  24746. type: integer
  24747. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24748. in: query
  24749. name: filterstatus
  24750. type: string
  24751. - description: 名称(模糊匹配)
  24752. in: query
  24753. name: filtername
  24754. type: string
  24755. - description: 是否包含子级 1-包含
  24756. in: query
  24757. name: includesub
  24758. type: integer
  24759. produces:
  24760. - application/json
  24761. responses:
  24762. "200":
  24763. description: OK
  24764. schema:
  24765. items:
  24766. $ref: '#/definitions/models.QhjMgrBrokerApply'
  24767. type: array
  24768. "500":
  24769. description: Internal Server Error
  24770. schema:
  24771. $ref: '#/definitions/app.Response'
  24772. security:
  24773. - ApiKeyAuth: []
  24774. summary: 查询经纪人申请
  24775. tags:
  24776. - 大连千海金(PCWeb)
  24777. /QhjMgr/QueryBrokerRewardReport:
  24778. get:
  24779. parameters:
  24780. - description: 所属机构ID
  24781. in: query
  24782. name: userid
  24783. required: true
  24784. type: integer
  24785. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24786. in: query
  24787. name: cycletype
  24788. required: true
  24789. type: integer
  24790. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  24791. in: query
  24792. name: cycletime
  24793. required: true
  24794. type: string
  24795. - description: 名称(模糊匹配)
  24796. in: query
  24797. name: filtername
  24798. type: string
  24799. - description: 是否包含子级 1-包含
  24800. in: query
  24801. name: includesub
  24802. type: integer
  24803. produces:
  24804. - application/json
  24805. responses:
  24806. "200":
  24807. description: OK
  24808. schema:
  24809. items:
  24810. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  24811. type: array
  24812. "500":
  24813. description: Internal Server Error
  24814. schema:
  24815. $ref: '#/definitions/app.Response'
  24816. security:
  24817. - ApiKeyAuth: []
  24818. summary: 查询经纪人奖励报表(废弃)
  24819. tags:
  24820. - 大连千海金(PCWeb)
  24821. /QhjMgr/QueryContract:
  24822. get:
  24823. parameters:
  24824. - description: 用户ID
  24825. in: query
  24826. name: userid
  24827. type: integer
  24828. - description: 商品id
  24829. in: query
  24830. name: goodsid
  24831. type: integer
  24832. - description: 名称(模糊搜索账户)
  24833. in: query
  24834. name: filtername
  24835. type: string
  24836. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  24837. in: query
  24838. name: risklevel
  24839. type: string
  24840. - description: 开始交易日(yyyymmdd)
  24841. in: query
  24842. name: begindate
  24843. type: string
  24844. - description: 结束交易日(yyyymmdd)
  24845. in: query
  24846. name: enddate
  24847. type: string
  24848. produces:
  24849. - application/json
  24850. responses:
  24851. "200":
  24852. description: OK
  24853. schema:
  24854. items:
  24855. $ref: '#/definitions/models.QhjMgrContract'
  24856. type: array
  24857. "500":
  24858. description: Internal Server Error
  24859. schema:
  24860. $ref: '#/definitions/app.Response'
  24861. security:
  24862. - ApiKeyAuth: []
  24863. summary: 查询融资信息(合同)
  24864. tags:
  24865. - 大连千海金(PCWeb)
  24866. /QhjMgr/QueryCustomerInfo:
  24867. get:
  24868. parameters:
  24869. - description: 用户ID
  24870. in: query
  24871. name: userid
  24872. required: true
  24873. type: integer
  24874. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  24875. in: query
  24876. name: querytype
  24877. required: true
  24878. type: integer
  24879. - description: 客户类型 1-个人 2-企业
  24880. in: query
  24881. name: userinfotype
  24882. type: integer
  24883. - description: 客户名称(模糊匹配)
  24884. in: query
  24885. name: customername
  24886. type: string
  24887. - description: 昵称(模糊匹配)
  24888. in: query
  24889. name: nickname
  24890. type: string
  24891. - description: 所属客户经理(模糊匹配)
  24892. in: query
  24893. name: brokername
  24894. type: string
  24895. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd, 如0503 -5月3日)
  24896. in: query
  24897. name: birthday
  24898. type: string
  24899. - description: 是否包含子级 1-包含
  24900. in: query
  24901. name: includesub
  24902. type: integer
  24903. produces:
  24904. - application/json
  24905. responses:
  24906. "200":
  24907. description: OK
  24908. schema:
  24909. items:
  24910. $ref: '#/definitions/models.QhjMgrCustomer'
  24911. type: array
  24912. "500":
  24913. description: Internal Server Error
  24914. schema:
  24915. $ref: '#/definitions/app.Response'
  24916. security:
  24917. - ApiKeyAuth: []
  24918. summary: 查询客户资料
  24919. tags:
  24920. - 大连千海金(PCWeb)
  24921. /QhjMgr/QueryPickGoods:
  24922. get:
  24923. parameters:
  24924. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  24925. in: query
  24926. name: status
  24927. type: string
  24928. produces:
  24929. - application/json
  24930. responses:
  24931. "200":
  24932. description: OK
  24933. schema:
  24934. items:
  24935. $ref: '#/definitions/models.QhjMgrPickGoods'
  24936. type: array
  24937. "500":
  24938. description: Internal Server Error
  24939. schema:
  24940. $ref: '#/definitions/app.Response'
  24941. security:
  24942. - ApiKeyAuth: []
  24943. summary: 查询提货商品
  24944. tags:
  24945. - 大连千海金(PCWeb)
  24946. /QhjMgr/QuerySubArea:
  24947. get:
  24948. parameters:
  24949. - description: 用户ID
  24950. in: query
  24951. name: userid
  24952. required: true
  24953. type: integer
  24954. produces:
  24955. - application/json
  24956. responses:
  24957. "200":
  24958. description: OK
  24959. schema:
  24960. items:
  24961. $ref: '#/definitions/models.QhjMgrSubArea'
  24962. type: array
  24963. "500":
  24964. description: Internal Server Error
  24965. schema:
  24966. $ref: '#/definitions/app.Response'
  24967. security:
  24968. - ApiKeyAuth: []
  24969. summary: 查询子机构列表
  24970. tags:
  24971. - 大连千海金(PCWeb)
  24972. /QhjMgr/QueryTradeDetail:
  24973. get:
  24974. parameters:
  24975. - description: 用户ID
  24976. in: query
  24977. name: userid
  24978. required: true
  24979. type: integer
  24980. - description: 用户类型 1-个人 2-企业
  24981. in: query
  24982. name: userinfotype
  24983. type: integer
  24984. - description: 交易模式
  24985. in: query
  24986. name: trademode
  24987. type: integer
  24988. - description: 商品id
  24989. in: query
  24990. name: goodsid
  24991. type: integer
  24992. - description: 名称(模糊搜索账户)
  24993. in: query
  24994. name: filtername
  24995. type: string
  24996. - description: 开始交易日(yyyymmdd)
  24997. in: query
  24998. name: begindate
  24999. type: string
  25000. - description: 结束交易日(yyyymmdd)
  25001. in: query
  25002. name: enddate
  25003. type: string
  25004. - description: 是否包含子级 1-包含
  25005. in: query
  25006. name: includesub
  25007. type: integer
  25008. produces:
  25009. - application/json
  25010. responses:
  25011. "200":
  25012. description: OK
  25013. schema:
  25014. items:
  25015. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  25016. type: array
  25017. "500":
  25018. description: Internal Server Error
  25019. schema:
  25020. $ref: '#/definitions/app.Response'
  25021. security:
  25022. - ApiKeyAuth: []
  25023. summary: 查询成交明细
  25024. tags:
  25025. - 大连千海金(PCWeb)
  25026. /QhjMgr/QueryTradeOrderDetail:
  25027. get:
  25028. parameters:
  25029. - description: 用户ID
  25030. in: query
  25031. name: userid
  25032. required: true
  25033. type: integer
  25034. - description: 用户类型 1-个人 2-企业
  25035. in: query
  25036. name: userinfotype
  25037. type: integer
  25038. - description: 交易模式
  25039. in: query
  25040. name: trademode
  25041. type: integer
  25042. - description: 商品id
  25043. in: query
  25044. name: goodsid
  25045. type: integer
  25046. - description: 名称(模糊搜索账户)
  25047. in: query
  25048. name: filtername
  25049. type: string
  25050. - description: 开始交易日(yyyymmdd)
  25051. in: query
  25052. name: begindate
  25053. type: string
  25054. - description: 结束交易日(yyyymmdd)
  25055. in: query
  25056. name: enddate
  25057. type: string
  25058. - description: 是否包含子级 1-包含
  25059. in: query
  25060. name: includesub
  25061. type: integer
  25062. produces:
  25063. - application/json
  25064. responses:
  25065. "200":
  25066. description: OK
  25067. schema:
  25068. items:
  25069. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  25070. type: array
  25071. "500":
  25072. description: Internal Server Error
  25073. schema:
  25074. $ref: '#/definitions/app.Response'
  25075. security:
  25076. - ApiKeyAuth: []
  25077. summary: 查询委托明细
  25078. tags:
  25079. - 大连千海金(PCWeb)
  25080. /QhjMgr/QueryTradePayOrder:
  25081. get:
  25082. parameters:
  25083. - description: 用户ID
  25084. in: query
  25085. name: userid
  25086. required: true
  25087. type: integer
  25088. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  25089. in: query
  25090. name: payflag
  25091. type: string
  25092. - description: 用户类型 1-个人 2-企业
  25093. in: query
  25094. name: userinfotype
  25095. type: integer
  25096. - description: 交易模式
  25097. in: query
  25098. name: trademode
  25099. type: integer
  25100. - description: 商品id
  25101. in: query
  25102. name: goodsid
  25103. type: integer
  25104. - description: 名称(模糊搜索账户)
  25105. in: query
  25106. name: filtername
  25107. type: string
  25108. - description: 开始交易日(yyyymmdd)
  25109. in: query
  25110. name: begindate
  25111. type: string
  25112. - description: 结束交易日(yyyymmdd)
  25113. in: query
  25114. name: enddate
  25115. type: string
  25116. - description: 是否包含子级 1-包含
  25117. in: query
  25118. name: includesub
  25119. type: integer
  25120. produces:
  25121. - application/json
  25122. responses:
  25123. "200":
  25124. description: OK
  25125. schema:
  25126. items:
  25127. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  25128. type: array
  25129. "500":
  25130. description: Internal Server Error
  25131. schema:
  25132. $ref: '#/definitions/app.Response'
  25133. security:
  25134. - ApiKeyAuth: []
  25135. summary: 查询待付款单
  25136. tags:
  25137. - 大连千海金(PCWeb)
  25138. /QhjMgr/QueryTradePosition:
  25139. get:
  25140. parameters:
  25141. - description: 用户ID
  25142. in: query
  25143. name: userid
  25144. required: true
  25145. type: integer
  25146. - description: 用户类型 1-个人 2-企业
  25147. in: query
  25148. name: userinfotype
  25149. type: integer
  25150. - description: 交易模式
  25151. in: query
  25152. name: trademode
  25153. type: integer
  25154. - description: 商品id
  25155. in: query
  25156. name: goodsid
  25157. type: integer
  25158. - description: 名称(模糊搜索账户)
  25159. in: query
  25160. name: filtername
  25161. type: string
  25162. - description: 是否包含子级 1-包含
  25163. in: query
  25164. name: includesub
  25165. type: integer
  25166. produces:
  25167. - application/json
  25168. responses:
  25169. "200":
  25170. description: OK
  25171. schema:
  25172. items:
  25173. $ref: '#/definitions/models.QhjMgrPositionRsp'
  25174. type: array
  25175. "500":
  25176. description: Internal Server Error
  25177. schema:
  25178. $ref: '#/definitions/app.Response'
  25179. security:
  25180. - ApiKeyAuth: []
  25181. summary: 查询持仓汇总
  25182. tags:
  25183. - 大连千海金(PCWeb)
  25184. /QhjSys/QueryAgreementChangeLog:
  25185. get:
  25186. parameters:
  25187. - description: 协议ID
  25188. in: query
  25189. name: agreementid
  25190. type: integer
  25191. - description: 协议版本号
  25192. in: query
  25193. name: agreementversion
  25194. type: integer
  25195. - description: 协议类型 - 1:注册 2:登录 3:交易
  25196. in: query
  25197. name: agreementtype
  25198. type: integer
  25199. - description: 协议编号(模糊匹配)
  25200. in: query
  25201. name: agreementno
  25202. type: string
  25203. - description: 协议名称(模糊匹配)
  25204. in: query
  25205. name: agreementname
  25206. type: string
  25207. produces:
  25208. - application/json
  25209. responses:
  25210. "200":
  25211. description: OK
  25212. schema:
  25213. items:
  25214. $ref: '#/definitions/models.QhjAgreementChangeLog'
  25215. type: array
  25216. "500":
  25217. description: Internal Server Error
  25218. schema:
  25219. $ref: '#/definitions/app.Response'
  25220. security:
  25221. - ApiKeyAuth: []
  25222. summary: 查询协议配置变更流水
  25223. tags:
  25224. - 大连千海金(协议和签约信息)
  25225. /QhjSys/QueryAgreementConfig:
  25226. get:
  25227. parameters:
  25228. - description: 协议ID
  25229. in: query
  25230. name: agreementid
  25231. type: integer
  25232. - description: 协议版本号
  25233. in: query
  25234. name: agreementversion
  25235. type: integer
  25236. - description: 协议类型 - 1:注册 2:登录 3:交易
  25237. in: query
  25238. name: agreementtype
  25239. type: integer
  25240. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  25241. in: query
  25242. name: isvalid
  25243. type: integer
  25244. - description: 协议编号(模糊匹配)
  25245. in: query
  25246. name: agreementno
  25247. type: string
  25248. - description: 协议名称(模糊匹配)
  25249. in: query
  25250. name: agreementname
  25251. type: string
  25252. produces:
  25253. - application/json
  25254. responses:
  25255. "200":
  25256. description: OK
  25257. schema:
  25258. items:
  25259. $ref: '#/definitions/models.QhjAgreementConfig'
  25260. type: array
  25261. "500":
  25262. description: Internal Server Error
  25263. schema:
  25264. $ref: '#/definitions/app.Response'
  25265. security:
  25266. - ApiKeyAuth: []
  25267. summary: 查询协议配置
  25268. tags:
  25269. - 大连千海金(协议和签约信息)
  25270. /QhjSys/QueryCustomerSignStatus:
  25271. get:
  25272. parameters:
  25273. - description: 客户ID
  25274. in: query
  25275. name: userid
  25276. type: integer
  25277. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  25278. in: query
  25279. name: nodetype
  25280. type: integer
  25281. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25282. in: query
  25283. name: goodsid
  25284. type: integer
  25285. - description: 创建交易日(yyyyMMdd)
  25286. in: query
  25287. name: tradedate
  25288. type: string
  25289. - description: 用户名称(模糊匹配)
  25290. in: query
  25291. name: username
  25292. type: string
  25293. produces:
  25294. - application/json
  25295. responses:
  25296. "200":
  25297. description: OK
  25298. schema:
  25299. items:
  25300. $ref: '#/definitions/models.QhjCustomerSignStatus'
  25301. type: array
  25302. "500":
  25303. description: Internal Server Error
  25304. schema:
  25305. $ref: '#/definitions/app.Response'
  25306. security:
  25307. - ApiKeyAuth: []
  25308. summary: 查询客户协议签约状态
  25309. tags:
  25310. - 大连千海金(协议和签约信息)
  25311. /QhjSys/QueryNodeAgreementConfig:
  25312. get:
  25313. parameters:
  25314. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  25315. in: query
  25316. name: configid
  25317. type: integer
  25318. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  25319. in: query
  25320. name: nodetype
  25321. type: integer
  25322. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25323. in: query
  25324. name: goodsid
  25325. type: integer
  25326. - description: 协议ID
  25327. in: query
  25328. name: agreementid
  25329. type: integer
  25330. - description: 协议类型 - 1:注册 2:登录 3:交易
  25331. in: query
  25332. name: agreementtype
  25333. type: integer
  25334. - description: 协议版本号
  25335. in: query
  25336. name: agreementversion
  25337. type: integer
  25338. - description: 协议编号(模糊匹配)
  25339. in: query
  25340. name: agreementno
  25341. type: string
  25342. - description: 协议名称(模糊匹配)
  25343. in: query
  25344. name: agreementname
  25345. type: string
  25346. produces:
  25347. - application/json
  25348. responses:
  25349. "200":
  25350. description: OK
  25351. schema:
  25352. items:
  25353. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  25354. type: array
  25355. "500":
  25356. description: Internal Server Error
  25357. schema:
  25358. $ref: '#/definitions/app.Response'
  25359. security:
  25360. - ApiKeyAuth: []
  25361. summary: 查询协议节点配置
  25362. tags:
  25363. - 大连千海金(协议和签约信息)
  25364. /QhjSys/QueryQhjCustomerSignLog:
  25365. get:
  25366. parameters:
  25367. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  25368. in: query
  25369. name: logid
  25370. type: integer
  25371. - description: 客户ID
  25372. in: query
  25373. name: userid
  25374. type: integer
  25375. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  25376. in: query
  25377. name: nodetype
  25378. type: integer
  25379. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25380. in: query
  25381. name: goodsid
  25382. type: integer
  25383. - description: 协议ID
  25384. in: query
  25385. name: agreementid
  25386. type: integer
  25387. - description: 用户名称(模糊匹配)
  25388. in: query
  25389. name: username
  25390. type: string
  25391. - description: 协议编号(模糊匹配)
  25392. in: query
  25393. name: agreementno
  25394. type: string
  25395. - description: 协议名称(模糊匹配)
  25396. in: query
  25397. name: agreementname
  25398. type: string
  25399. produces:
  25400. - application/json
  25401. responses:
  25402. "200":
  25403. description: OK
  25404. schema:
  25405. items:
  25406. $ref: '#/definitions/models.QhjCustomerSignLog'
  25407. type: array
  25408. "500":
  25409. description: Internal Server Error
  25410. schema:
  25411. $ref: '#/definitions/app.Response'
  25412. security:
  25413. - ApiKeyAuth: []
  25414. summary: 查询客户协议签约流水
  25415. tags:
  25416. - 大连千海金(协议和签约信息)
  25417. /QhjSys/QueryUserNodeCfgAndStatus:
  25418. get:
  25419. parameters:
  25420. - description: 客户ID
  25421. in: query
  25422. name: userid
  25423. type: integer
  25424. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  25425. in: query
  25426. name: configid
  25427. type: integer
  25428. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  25429. in: query
  25430. name: nodetype
  25431. type: string
  25432. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25433. in: query
  25434. name: goodsid
  25435. type: integer
  25436. - description: 协议ID
  25437. in: query
  25438. name: agreementid
  25439. type: integer
  25440. - description: 协议类型 - 1:注册 2:登录 3:交易
  25441. in: query
  25442. name: agreementtype
  25443. type: integer
  25444. - description: 协议版本号
  25445. in: query
  25446. name: agreementversion
  25447. type: integer
  25448. - description: 协议编号(模糊匹配)
  25449. in: query
  25450. name: agreementno
  25451. type: string
  25452. - description: 协议名称(模糊匹配)
  25453. in: query
  25454. name: agreementname
  25455. type: string
  25456. produces:
  25457. - application/json
  25458. responses:
  25459. "200":
  25460. description: OK
  25461. schema:
  25462. items:
  25463. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  25464. type: array
  25465. "500":
  25466. description: Internal Server Error
  25467. schema:
  25468. $ref: '#/definitions/app.Response'
  25469. security:
  25470. - ApiKeyAuth: []
  25471. summary: 查询用户协议节点配置和状态
  25472. tags:
  25473. - 大连千海金(协议和签约信息)
  25474. /Quote/QueryHistoryDatas:
  25475. get:
  25476. parameters:
  25477. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线'
  25478. in: query
  25479. name: cycleType
  25480. required: true
  25481. type: integer
  25482. - description: 商品代码
  25483. in: query
  25484. name: goodsCode
  25485. required: true
  25486. type: string
  25487. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  25488. in: query
  25489. name: startTime
  25490. type: string
  25491. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  25492. in: query
  25493. name: endTime
  25494. type: string
  25495. - description: 条数
  25496. in: query
  25497. name: count
  25498. type: integer
  25499. - description: 是否按时间顺序排序(默认为时间倒序排序)
  25500. in: query
  25501. name: isAsc
  25502. type: boolean
  25503. produces:
  25504. - application/json
  25505. responses:
  25506. "200":
  25507. description: OK
  25508. schema:
  25509. $ref: '#/definitions/quote.HistoryData'
  25510. "500":
  25511. description: Internal Server Error
  25512. schema:
  25513. $ref: '#/definitions/app.Response'
  25514. security:
  25515. - ApiKeyAuth: []
  25516. summary: 查询行情历史数据
  25517. tags:
  25518. - 行情服务
  25519. /Quote/QueryHistoryTikDatas:
  25520. get:
  25521. parameters:
  25522. - description: 商品代码
  25523. in: query
  25524. name: goodsCode
  25525. required: true
  25526. type: string
  25527. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  25528. in: query
  25529. name: startTime
  25530. type: string
  25531. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  25532. in: query
  25533. name: endTime
  25534. type: string
  25535. - description: 条数
  25536. in: query
  25537. name: count
  25538. type: integer
  25539. - description: 是否按时间顺序排序(默认为时间倒序排序)
  25540. in: query
  25541. name: isAsc
  25542. type: boolean
  25543. produces:
  25544. - application/json
  25545. responses:
  25546. "200":
  25547. description: OK
  25548. schema:
  25549. $ref: '#/definitions/quote.HistoryTikData'
  25550. "500":
  25551. description: Internal Server Error
  25552. schema:
  25553. $ref: '#/definitions/app.Response'
  25554. security:
  25555. - ApiKeyAuth: []
  25556. summary: 查询行情Tik数据
  25557. tags:
  25558. - 行情服务
  25559. /Quote/QueryQuoteDay:
  25560. get:
  25561. parameters:
  25562. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  25563. in: query
  25564. name: goodsCodes
  25565. required: true
  25566. type: string
  25567. produces:
  25568. - application/json
  25569. responses:
  25570. "200":
  25571. description: OK
  25572. schema:
  25573. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  25574. "500":
  25575. description: Internal Server Error
  25576. schema:
  25577. $ref: '#/definitions/app.Response'
  25578. security:
  25579. - ApiKeyAuth: []
  25580. summary: 获取商品盘面信息
  25581. tags:
  25582. - 行情服务
  25583. /Quote/QueryTSData:
  25584. get:
  25585. parameters:
  25586. - description: 商品代码
  25587. in: query
  25588. name: goodsCode
  25589. required: true
  25590. type: string
  25591. produces:
  25592. - application/json
  25593. responses:
  25594. "200":
  25595. description: OK
  25596. schema:
  25597. $ref: '#/definitions/quote.QueryTSDataRsp'
  25598. "500":
  25599. description: Internal Server Error
  25600. schema:
  25601. $ref: '#/definitions/app.Response'
  25602. security:
  25603. - ApiKeyAuth: []
  25604. summary: 分时图数据查询
  25605. tags:
  25606. - 行情服务
  25607. /SZDZ/QueryConvertConfig:
  25608. get:
  25609. parameters:
  25610. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)
  25611. in: query
  25612. name: convertType
  25613. type: integer
  25614. - description: 外部商品代码[JD\PD]
  25615. in: query
  25616. name: outerGoodsCode
  25617. type: string
  25618. - description: 内部商品ID列表[交易],格式:1,2,3
  25619. in: query
  25620. name: innerGoodsIDs
  25621. type: string
  25622. produces:
  25623. - application/json
  25624. responses:
  25625. "200":
  25626. description: OK
  25627. schema:
  25628. $ref: '#/definitions/models.Szdz3convertconfig'
  25629. "500":
  25630. description: Internal Server Error
  25631. schema:
  25632. $ref: '#/definitions/app.Response'
  25633. security:
  25634. - ApiKeyAuth: []
  25635. summary: 查询交易系统转换设置
  25636. tags:
  25637. - 定制【尚志大宗】
  25638. /SZDZ/QueryConvertLog:
  25639. get:
  25640. parameters:
  25641. - description: 资金账户 - 格式:1,2,3
  25642. in: query
  25643. name: accountID
  25644. required: true
  25645. type: string
  25646. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  25647. in: query
  25648. name: startDate
  25649. type: string
  25650. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  25651. in: query
  25652. name: endDate
  25653. type: string
  25654. produces:
  25655. - application/json
  25656. responses:
  25657. "200":
  25658. description: OK
  25659. schema:
  25660. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  25661. "500":
  25662. description: Internal Server Error
  25663. schema:
  25664. $ref: '#/definitions/app.Response'
  25665. security:
  25666. - ApiKeyAuth: []
  25667. summary: 交易系统转换流水查询
  25668. tags:
  25669. - 定制【尚志大宗】
  25670. /SZDZ/QueryGoodsPickup:
  25671. get:
  25672. parameters:
  25673. - description: 资金账户 - 格式:1,2,3
  25674. in: query
  25675. name: accountID
  25676. required: true
  25677. type: string
  25678. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  25679. in: query
  25680. name: takeOrderStatus
  25681. type: integer
  25682. produces:
  25683. - application/json
  25684. responses:
  25685. "200":
  25686. description: OK
  25687. schema:
  25688. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  25689. "500":
  25690. description: Internal Server Error
  25691. schema:
  25692. $ref: '#/definitions/app.Response'
  25693. security:
  25694. - ApiKeyAuth: []
  25695. summary: 商品提货单查询
  25696. tags:
  25697. - 定制【尚志大宗】
  25698. /SZDZ/QueryRecieptOrder:
  25699. get:
  25700. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  25701. parameters:
  25702. - description: 页码
  25703. in: query
  25704. name: page
  25705. type: integer
  25706. - description: 每页条数
  25707. in: query
  25708. name: pagesize
  25709. type: integer
  25710. - description: 商品ID
  25711. in: query
  25712. name: goodsID
  25713. required: true
  25714. type: integer
  25715. - description: 所属账户名称
  25716. in: query
  25717. name: accountName
  25718. type: string
  25719. - description: 市场ID
  25720. in: query
  25721. name: marketID
  25722. type: integer
  25723. - description: 方向 - 0:买 1:卖
  25724. in: query
  25725. name: buyorsell
  25726. required: true
  25727. type: integer
  25728. produces:
  25729. - application/json
  25730. responses:
  25731. "200":
  25732. description: OK
  25733. schema:
  25734. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  25735. "500":
  25736. description: Internal Server Error
  25737. schema:
  25738. $ref: '#/definitions/app.Response'
  25739. security:
  25740. - ApiKeyAuth: []
  25741. summary: 点选挂牌委托单据查询(摘牌大厅)
  25742. tags:
  25743. - 定制【尚志大宗】
  25744. /SZDZ/QuerySZDZTradePosition:
  25745. get:
  25746. parameters:
  25747. - description: 资金账户
  25748. in: query
  25749. name: accountID
  25750. required: true
  25751. type: integer
  25752. produces:
  25753. - application/json
  25754. responses:
  25755. "200":
  25756. description: OK
  25757. schema:
  25758. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  25759. "500":
  25760. description: Internal Server Error
  25761. schema:
  25762. $ref: '#/definitions/app.Response'
  25763. security:
  25764. - ApiKeyAuth: []
  25765. summary: 持仓汇总查询(尚志大宗)
  25766. tags:
  25767. - 定制【尚志大宗】
  25768. /SZDZ/SearchWhite:
  25769. get:
  25770. parameters:
  25771. - description: 用户ID
  25772. in: query
  25773. name: userID
  25774. required: true
  25775. type: integer
  25776. produces:
  25777. - application/json
  25778. responses:
  25779. "200":
  25780. description: OK
  25781. schema:
  25782. $ref: '#/definitions/models.Szdz3searchwhitelist'
  25783. "500":
  25784. description: Internal Server Error
  25785. schema:
  25786. $ref: '#/definitions/app.Response'
  25787. security:
  25788. - ApiKeyAuth: []
  25789. summary: 搜索白名单
  25790. tags:
  25791. - 定制【尚志大宗】
  25792. /Search/SearchGoodses:
  25793. get:
  25794. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  25795. parameters:
  25796. - description: 检索内容
  25797. in: query
  25798. name: content
  25799. required: true
  25800. type: string
  25801. - description: 交易模式,格式:1,2,3
  25802. in: query
  25803. name: tradeModes
  25804. type: string
  25805. produces:
  25806. - application/json
  25807. responses:
  25808. "200":
  25809. description: OK
  25810. schema:
  25811. $ref: '#/definitions/models.SearchGoods'
  25812. "500":
  25813. description: Internal Server Error
  25814. schema:
  25815. $ref: '#/definitions/app.Response'
  25816. summary: 检索商品信息
  25817. tags:
  25818. - 检索服务
  25819. /TaAccount/GetTaAccounts:
  25820. get:
  25821. parameters:
  25822. - description: 登录账户
  25823. in: query
  25824. name: loginID
  25825. required: true
  25826. type: integer
  25827. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  25828. in: query
  25829. name: taAccountType
  25830. type: integer
  25831. produces:
  25832. - application/json
  25833. responses:
  25834. "200":
  25835. description: OK
  25836. schema:
  25837. $ref: '#/definitions/models.Taaccount'
  25838. "500":
  25839. description: Internal Server Error
  25840. schema:
  25841. $ref: '#/definitions/app.Response'
  25842. security:
  25843. - ApiKeyAuth: []
  25844. summary: 获取资金账户信息
  25845. tags:
  25846. - 资金账户
  25847. /TaAccount/QueryAmountLog:
  25848. get:
  25849. parameters:
  25850. - description: 页码
  25851. in: query
  25852. name: page
  25853. type: integer
  25854. - description: 每页条数
  25855. in: query
  25856. name: pagesize
  25857. type: integer
  25858. - description: 资金账户 - 格式:1,2,3
  25859. in: query
  25860. name: accountID
  25861. required: true
  25862. type: string
  25863. - description: 资金操作类型 - 格式:1,2,3
  25864. in: query
  25865. name: OperateType
  25866. type: string
  25867. produces:
  25868. - application/json
  25869. responses:
  25870. "200":
  25871. description: OK
  25872. schema:
  25873. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  25874. "500":
  25875. description: Internal Server Error
  25876. schema:
  25877. $ref: '#/definitions/app.Response'
  25878. security:
  25879. - ApiKeyAuth: []
  25880. summary: 资金流水查询(当前)
  25881. tags:
  25882. - 资金账户
  25883. /TaAccount/QueryHisAmountLog:
  25884. get:
  25885. parameters:
  25886. - description: 页码
  25887. in: query
  25888. name: page
  25889. type: integer
  25890. - description: 每页条数
  25891. in: query
  25892. name: pagesize
  25893. type: integer
  25894. - description: 资金账户 - 格式:1,2,3
  25895. in: query
  25896. name: accountID
  25897. required: true
  25898. type: string
  25899. - description: 资金操作类型 - 格式:1,2,3
  25900. in: query
  25901. name: OperateType
  25902. type: string
  25903. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  25904. in: query
  25905. name: startDate
  25906. type: string
  25907. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  25908. in: query
  25909. name: endDate
  25910. type: string
  25911. produces:
  25912. - application/json
  25913. responses:
  25914. "200":
  25915. description: OK
  25916. schema:
  25917. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  25918. "500":
  25919. description: Internal Server Error
  25920. schema:
  25921. $ref: '#/definitions/app.Response'
  25922. security:
  25923. - ApiKeyAuth: []
  25924. summary: 资金流水查询(历史)
  25925. tags:
  25926. - 资金账户
  25927. /Tjmd/QueryQuoteGoodsList:
  25928. get:
  25929. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  25930. parameters:
  25931. - description: 用户类型
  25932. in: query
  25933. name: usertype
  25934. required: true
  25935. type: integer
  25936. - description: 市场id, 格式 1,2,3
  25937. in: query
  25938. name: marketids
  25939. type: string
  25940. - description: 商品组id
  25941. in: query
  25942. name: goodsgroupid
  25943. type: integer
  25944. - description: 商品id
  25945. in: query
  25946. name: goodsid
  25947. type: integer
  25948. produces:
  25949. - application/json
  25950. responses:
  25951. "200":
  25952. description: OK
  25953. schema:
  25954. items:
  25955. $ref: '#/definitions/models.TjmdQuoteGoods'
  25956. type: array
  25957. "500":
  25958. description: Internal Server Error
  25959. schema:
  25960. $ref: '#/definitions/app.Response'
  25961. security:
  25962. - ApiKeyAuth: []
  25963. summary: 查询掉期报价列表
  25964. tags:
  25965. - 天津麦顿
  25966. /Tjmd/QueryTjmdTodayAccountMargin:
  25967. get:
  25968. parameters:
  25969. - description: 市场id
  25970. in: query
  25971. name: marketid
  25972. type: string
  25973. - description: 商品id
  25974. in: query
  25975. name: goodsid
  25976. type: string
  25977. - description: 资金账号
  25978. in: query
  25979. name: accountid
  25980. type: string
  25981. produces:
  25982. - application/json
  25983. responses:
  25984. "200":
  25985. description: OK
  25986. schema:
  25987. items:
  25988. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  25989. type: array
  25990. "500":
  25991. description: Internal Server Error
  25992. schema:
  25993. $ref: '#/definitions/app.Response'
  25994. security:
  25995. - ApiKeyAuth: []
  25996. summary: 查询今日账户保证金配置
  25997. tags:
  25998. - 天津麦顿
  25999. /Tjmd/QueryTjmdTradeOrderDetail:
  26000. get:
  26001. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  26002. parameters:
  26003. - description: 页码
  26004. in: query
  26005. name: page
  26006. type: integer
  26007. - description: 每页条数
  26008. in: query
  26009. name: pagesize
  26010. type: integer
  26011. - description: 用户id
  26012. in: query
  26013. name: userid
  26014. required: true
  26015. type: integer
  26016. - description: 用户类型
  26017. in: query
  26018. name: usertype
  26019. required: true
  26020. type: integer
  26021. - description: 市场id, 格式 1,2,3
  26022. in: query
  26023. name: marketids
  26024. type: string
  26025. - description: 商品id
  26026. in: query
  26027. name: goodsid
  26028. required: true
  26029. type: integer
  26030. - description: 买卖方向 0-买 1-卖
  26031. in: query
  26032. name: buyorsell
  26033. required: true
  26034. type: integer
  26035. produces:
  26036. - application/json
  26037. responses:
  26038. "200":
  26039. description: OK
  26040. schema:
  26041. items:
  26042. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  26043. type: array
  26044. "500":
  26045. description: Internal Server Error
  26046. schema:
  26047. $ref: '#/definitions/app.Response'
  26048. security:
  26049. - ApiKeyAuth: []
  26050. summary: 查询掉期买卖大厅
  26051. tags:
  26052. - 天津麦顿
  26053. /Tjmd/QueryTjmdTransferApply:
  26054. get:
  26055. parameters:
  26056. - description: 类型 1-我的申请 2-对方申请
  26057. in: query
  26058. name: applytype
  26059. required: true
  26060. type: integer
  26061. - description: 市场id, 格式 1,2,3
  26062. in: query
  26063. name: marketids
  26064. type: string
  26065. - description: 资金账号, 格式 25000000001,25000000003
  26066. in: query
  26067. name: accountids
  26068. type: string
  26069. produces:
  26070. - application/json
  26071. responses:
  26072. "200":
  26073. description: OK
  26074. schema:
  26075. items:
  26076. $ref: '#/definitions/models.TjmdTransferApply'
  26077. type: array
  26078. "500":
  26079. description: Internal Server Error
  26080. schema:
  26081. $ref: '#/definitions/app.Response'
  26082. security:
  26083. - ApiKeyAuth: []
  26084. summary: 查询掉期协议单
  26085. tags:
  26086. - 天津麦顿
  26087. /Trade/QueryRecieptOrder:
  26088. get:
  26089. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  26090. parameters:
  26091. - description: 页码
  26092. in: query
  26093. name: page
  26094. type: integer
  26095. - description: 每页条数
  26096. in: query
  26097. name: pagesize
  26098. type: integer
  26099. - description: 商品ID
  26100. in: query
  26101. name: goodsID
  26102. required: true
  26103. type: integer
  26104. - description: 所属账户名称
  26105. in: query
  26106. name: accountName
  26107. type: string
  26108. - description: 市场ID
  26109. in: query
  26110. name: marketID
  26111. type: integer
  26112. - description: 方向 - 0:买 1:卖
  26113. in: query
  26114. name: buyorsell
  26115. required: true
  26116. type: integer
  26117. produces:
  26118. - application/json
  26119. responses:
  26120. "200":
  26121. description: OK
  26122. schema:
  26123. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  26124. "500":
  26125. description: Internal Server Error
  26126. schema:
  26127. $ref: '#/definitions/app.Response'
  26128. security:
  26129. - ApiKeyAuth: []
  26130. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  26131. tags:
  26132. - 通用交易
  26133. /User/AddMessageBoard:
  26134. post:
  26135. parameters:
  26136. - description: 用户ID
  26137. in: query
  26138. name: userID
  26139. required: true
  26140. type: integer
  26141. - description: 留言信息
  26142. in: query
  26143. name: message
  26144. required: true
  26145. type: string
  26146. - description: 联系电话
  26147. in: query
  26148. name: contactNum
  26149. required: true
  26150. type: string
  26151. produces:
  26152. - application/json
  26153. responses:
  26154. "200":
  26155. description: OK
  26156. schema:
  26157. $ref: '#/definitions/app.Response'
  26158. "500":
  26159. description: Internal Server Error
  26160. schema:
  26161. $ref: '#/definitions/app.Response'
  26162. security:
  26163. - ApiKeyAuth: []
  26164. summary: 添加用户留言板信息
  26165. tags:
  26166. - 用户信息
  26167. /User/AddUserFavoriteGoods:
  26168. post:
  26169. parameters:
  26170. - description: 用户ID
  26171. in: query
  26172. name: userID
  26173. required: true
  26174. type: integer
  26175. - description: 商品ID
  26176. in: query
  26177. name: goodsID
  26178. required: true
  26179. type: integer
  26180. produces:
  26181. - application/json
  26182. responses:
  26183. "200":
  26184. description: OK
  26185. schema:
  26186. $ref: '#/definitions/app.Response'
  26187. "500":
  26188. description: Internal Server Error
  26189. schema:
  26190. $ref: '#/definitions/app.Response'
  26191. security:
  26192. - ApiKeyAuth: []
  26193. summary: 添加用户商品收藏信息
  26194. tags:
  26195. - 用户信息
  26196. /User/GetLoginID:
  26197. get:
  26198. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  26199. parameters:
  26200. - description: 登录代码
  26201. in: query
  26202. name: username
  26203. required: true
  26204. type: string
  26205. produces:
  26206. - application/json
  26207. responses:
  26208. "200":
  26209. description: OK
  26210. schema:
  26211. $ref: '#/definitions/app.Response'
  26212. "500":
  26213. description: Internal Server Error
  26214. schema:
  26215. $ref: '#/definitions/app.Response'
  26216. summary: 获取登录ID
  26217. tags:
  26218. - 用户信息
  26219. /User/GetUserAccount:
  26220. get:
  26221. parameters:
  26222. - description: 用户ID
  26223. in: query
  26224. name: userID
  26225. required: true
  26226. type: integer
  26227. produces:
  26228. - application/json
  26229. responses:
  26230. "200":
  26231. description: OK
  26232. schema:
  26233. $ref: '#/definitions/models.Useraccount'
  26234. "500":
  26235. description: Internal Server Error
  26236. schema:
  26237. $ref: '#/definitions/app.Response'
  26238. security:
  26239. - ApiKeyAuth: []
  26240. summary: 获取用户账号信息
  26241. tags:
  26242. - 用户信息
  26243. /User/GetUserAuthStatus:
  26244. get:
  26245. parameters:
  26246. - description: 用户ID
  26247. in: query
  26248. name: userID
  26249. required: true
  26250. type: integer
  26251. produces:
  26252. - application/json
  26253. responses:
  26254. "200":
  26255. description: OK
  26256. schema:
  26257. $ref: '#/definitions/app.Response'
  26258. "500":
  26259. description: Internal Server Error
  26260. schema:
  26261. $ref: '#/definitions/app.Response'
  26262. security:
  26263. - ApiKeyAuth: []
  26264. summary: 获取用户实名认证状态
  26265. tags:
  26266. - 用户信息
  26267. /User/LoginQuery:
  26268. get:
  26269. parameters:
  26270. - description: 登录账号
  26271. in: query
  26272. name: loginID
  26273. required: true
  26274. type: integer
  26275. produces:
  26276. - application/json
  26277. responses:
  26278. "200":
  26279. description: OK
  26280. schema:
  26281. $ref: '#/definitions/user.LoginQueryRsp'
  26282. "500":
  26283. description: Internal Server Error
  26284. schema:
  26285. $ref: '#/definitions/app.Response'
  26286. security:
  26287. - ApiKeyAuth: []
  26288. summary: 账户登录后信息查询
  26289. tags:
  26290. - 用户信息
  26291. /User/QueryMessageBoard:
  26292. get:
  26293. parameters:
  26294. - description: 用户ID
  26295. in: query
  26296. name: userID
  26297. required: true
  26298. type: integer
  26299. produces:
  26300. - application/json
  26301. responses:
  26302. "200":
  26303. description: OK
  26304. schema:
  26305. $ref: '#/definitions/models.Messageboard'
  26306. "500":
  26307. description: Internal Server Error
  26308. schema:
  26309. $ref: '#/definitions/app.Response'
  26310. security:
  26311. - ApiKeyAuth: []
  26312. summary: 获取用户留言板信息
  26313. tags:
  26314. - 用户信息
  26315. /User/QueryUserFavoriteGoodses:
  26316. get:
  26317. parameters:
  26318. - description: 用户ID
  26319. in: query
  26320. name: userID
  26321. required: true
  26322. type: integer
  26323. produces:
  26324. - application/json
  26325. responses:
  26326. "200":
  26327. description: OK
  26328. schema:
  26329. $ref: '#/definitions/models.Userfavoritegoods'
  26330. "500":
  26331. description: Internal Server Error
  26332. schema:
  26333. $ref: '#/definitions/app.Response'
  26334. security:
  26335. - ApiKeyAuth: []
  26336. summary: 获取用户商品收藏信息
  26337. tags:
  26338. - 用户信息
  26339. /User/QueryUserInfo:
  26340. get:
  26341. parameters:
  26342. - description: 用户ID
  26343. in: query
  26344. name: userID
  26345. required: true
  26346. type: integer
  26347. - description: 是否解密
  26348. in: query
  26349. name: isDecrypt
  26350. type: boolean
  26351. produces:
  26352. - application/json
  26353. responses:
  26354. "200":
  26355. description: OK
  26356. schema:
  26357. $ref: '#/definitions/models.Userinfo'
  26358. "500":
  26359. description: Internal Server Error
  26360. schema:
  26361. $ref: '#/definitions/app.Response'
  26362. security:
  26363. - ApiKeyAuth: []
  26364. summary: 获取用户信息
  26365. tags:
  26366. - 用户信息
  26367. /User/QueryUserReferNum:
  26368. get:
  26369. parameters:
  26370. - description: 用户ID
  26371. in: query
  26372. name: userID
  26373. required: true
  26374. type: integer
  26375. produces:
  26376. - application/json
  26377. responses:
  26378. "200":
  26379. description: OK
  26380. schema:
  26381. $ref: '#/definitions/app.Response'
  26382. "500":
  26383. description: Internal Server Error
  26384. schema:
  26385. $ref: '#/definitions/app.Response'
  26386. summary: 获取用户邀请码
  26387. tags:
  26388. - 用户信息
  26389. /User/RemoveUserFavoriteGoods:
  26390. post:
  26391. parameters:
  26392. - description: 用户ID
  26393. in: query
  26394. name: userID
  26395. required: true
  26396. type: integer
  26397. - description: 商品ID
  26398. in: query
  26399. name: goodsID
  26400. required: true
  26401. type: integer
  26402. produces:
  26403. - application/json
  26404. responses:
  26405. "200":
  26406. description: OK
  26407. schema:
  26408. $ref: '#/definitions/app.Response'
  26409. "500":
  26410. description: Internal Server Error
  26411. schema:
  26412. $ref: '#/definitions/app.Response'
  26413. security:
  26414. - ApiKeyAuth: []
  26415. summary: 移除用户商品收藏信息
  26416. tags:
  26417. - 用户信息
  26418. /User/UpdateUserAccountStatus:
  26419. post:
  26420. parameters:
  26421. - description: 用户ID
  26422. in: query
  26423. name: userID
  26424. required: true
  26425. type: integer
  26426. - description: 账户状态 - 4:正常 6:注销(停用)
  26427. in: query
  26428. name: accountStatus
  26429. required: true
  26430. type: integer
  26431. produces:
  26432. - application/json
  26433. responses:
  26434. "200":
  26435. description: OK
  26436. schema:
  26437. $ref: '#/definitions/app.Response'
  26438. "500":
  26439. description: Internal Server Error
  26440. schema:
  26441. $ref: '#/definitions/app.Response'
  26442. security:
  26443. - ApiKeyAuth: []
  26444. summary: 更新用户状态
  26445. tags:
  26446. - 用户信息
  26447. /WRTrade/GetAllDeliveryGoods:
  26448. get:
  26449. produces:
  26450. - application/json
  26451. - application/json
  26452. responses:
  26453. "200":
  26454. description: OK
  26455. schema:
  26456. $ref: '#/definitions/app.Response'
  26457. "500":
  26458. description: Internal Server Error
  26459. schema:
  26460. $ref: '#/definitions/app.Response'
  26461. security:
  26462. - ApiKeyAuth: []
  26463. - ApiKeyAuth: []
  26464. summary: 获取带仓单分类的种类信息
  26465. tags:
  26466. - 仓单贸易
  26467. - 仓单贸易
  26468. /WrTrade2/QueryDeliveryGoodsSection:
  26469. get:
  26470. produces:
  26471. - application/json
  26472. responses:
  26473. "200":
  26474. description: OK
  26475. schema:
  26476. items:
  26477. $ref: '#/definitions/models.WrDeliveryGoodsSection'
  26478. type: array
  26479. "500":
  26480. description: Internal Server Error
  26481. schema:
  26482. $ref: '#/definitions/app.Response'
  26483. security:
  26484. - ApiKeyAuth: []
  26485. summary: 查询板块(分类)
  26486. tags:
  26487. - 仓单贸易v2
  26488. /WrTrade2/QueryFaProductDetail:
  26489. get:
  26490. description: 页面 买卖大厅 -> 选择融资方案
  26491. parameters:
  26492. - description: 仓单要素id
  26493. in: query
  26494. name: wrfactortypeid
  26495. required: true
  26496. type: integer
  26497. produces:
  26498. - application/json
  26499. responses:
  26500. "200":
  26501. description: OK
  26502. schema:
  26503. items:
  26504. $ref: '#/definitions/models.WrFAProductDetail'
  26505. type: array
  26506. "500":
  26507. description: Internal Server Error
  26508. schema:
  26509. $ref: '#/definitions/app.Response'
  26510. security:
  26511. - ApiKeyAuth: []
  26512. summary: 查询融资产品列表
  26513. tags:
  26514. - 仓单贸易v2
  26515. /WrTrade2/QueryFilterItem:
  26516. get:
  26517. parameters:
  26518. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  26519. in: query
  26520. name: itype
  26521. required: true
  26522. type: string
  26523. produces:
  26524. - application/json
  26525. responses:
  26526. "200":
  26527. description: OK
  26528. schema:
  26529. items:
  26530. $ref: '#/definitions/models.WrFilterItem'
  26531. type: array
  26532. "500":
  26533. description: Internal Server Error
  26534. schema:
  26535. $ref: '#/definitions/app.Response'
  26536. security:
  26537. - ApiKeyAuth: []
  26538. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  26539. tags:
  26540. - 仓单贸易v2
  26541. /WrTrade2/QueryFtDeliveryGoods:
  26542. get:
  26543. produces:
  26544. - application/json
  26545. responses:
  26546. "200":
  26547. description: OK
  26548. schema:
  26549. items:
  26550. $ref: '#/definitions/models.WrFtDeliveryGoods'
  26551. type: array
  26552. "500":
  26553. description: Internal Server Error
  26554. schema:
  26555. $ref: '#/definitions/app.Response'
  26556. security:
  26557. - ApiKeyAuth: []
  26558. summary: 查询品种品类筛选框列表
  26559. tags:
  26560. - 仓单贸易v2
  26561. /WrTrade2/QueryHoldLB:
  26562. get:
  26563. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  26564. parameters:
  26565. - description: 资金账号
  26566. in: query
  26567. name: accountid
  26568. required: true
  26569. type: integer
  26570. - description: 仓库id
  26571. in: query
  26572. name: warehouseid
  26573. type: integer
  26574. - description: 品种id
  26575. in: query
  26576. name: deliverygoodsid
  26577. type: integer
  26578. - description: 品类id
  26579. in: query
  26580. name: wrstandardid
  26581. type: integer
  26582. - description: 仓单要素id
  26583. in: query
  26584. name: wrfactortypeid
  26585. type: integer
  26586. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  26587. in: query
  26588. name: dgitemname
  26589. type: string
  26590. produces:
  26591. - application/json
  26592. responses:
  26593. "200":
  26594. description: OK
  26595. schema:
  26596. items:
  26597. $ref: '#/definitions/models.WrHoldLB'
  26598. type: array
  26599. "500":
  26600. description: Internal Server Error
  26601. schema:
  26602. $ref: '#/definitions/app.Response'
  26603. security:
  26604. - ApiKeyAuth: []
  26605. summary: 查询仓单持有记录
  26606. tags:
  26607. - 仓单贸易v2
  26608. /WrTrade2/QueryOrderQuote:
  26609. get:
  26610. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth 唯一确定1条记录
  26611. parameters:
  26612. - description: 页码
  26613. in: query
  26614. name: page
  26615. type: integer
  26616. - description: 每页条数
  26617. in: query
  26618. name: pagesize
  26619. type: integer
  26620. - description: 仓单贸易市场id
  26621. in: query
  26622. name: marketid
  26623. type: integer
  26624. - description: 价格方式 - 1:固定价 2-浮动价
  26625. in: query
  26626. name: wrpricetype
  26627. required: true
  26628. type: integer
  26629. - description: 0:仓单预售 1:仓单贸易
  26630. in: query
  26631. name: haswr
  26632. required: true
  26633. type: integer
  26634. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  26635. in: query
  26636. name: dgitemname
  26637. type: string
  26638. - description: 仓库id(筛选条件)
  26639. in: query
  26640. name: warehouseid
  26641. type: integer
  26642. - description: 品种id
  26643. in: query
  26644. name: deliverygoodsid
  26645. type: integer
  26646. - description: 品类id
  26647. in: query
  26648. name: wrstandardid
  26649. type: integer
  26650. - description: 仓单要素id
  26651. in: query
  26652. name: wrfactortypeid
  26653. type: integer
  26654. - description: 交收月(yyyy-mm) 仓单预售填写
  26655. in: query
  26656. name: deliverymonth
  26657. type: string
  26658. produces:
  26659. - application/json
  26660. responses:
  26661. "200":
  26662. description: OK
  26663. schema:
  26664. items:
  26665. $ref: '#/definitions/models.WrOrderQuote'
  26666. type: array
  26667. "500":
  26668. description: Internal Server Error
  26669. schema:
  26670. $ref: '#/definitions/app.Response'
  26671. security:
  26672. - ApiKeyAuth: []
  26673. summary: 查询大厅行情列表
  26674. tags:
  26675. - 仓单贸易v2
  26676. /WrTrade2/QueryOrderQuoteDetail:
  26677. get:
  26678. parameters:
  26679. - description: 页码
  26680. in: query
  26681. name: page
  26682. type: integer
  26683. - description: 每页条数
  26684. in: query
  26685. name: pagesize
  26686. type: integer
  26687. - description: 仓单贸易市场id
  26688. in: query
  26689. name: marketid
  26690. type: integer
  26691. - description: 价格方式 - 1:固定价 2-浮动价
  26692. in: query
  26693. name: wrpricetype
  26694. required: true
  26695. type: integer
  26696. - description: 0:仓单预售 1:仓单贸易
  26697. in: query
  26698. name: haswr
  26699. required: true
  26700. type: integer
  26701. - description: 仓单要素id
  26702. in: query
  26703. name: wrfactortypeid
  26704. required: true
  26705. type: integer
  26706. - description: 期货商品id(浮动价方式时填)
  26707. in: query
  26708. name: goodsid
  26709. type: integer
  26710. - description: 买卖方向 0-买 1-卖
  26711. in: query
  26712. name: buyorsell
  26713. required: true
  26714. type: integer
  26715. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  26716. in: query
  26717. name: deliverymonth
  26718. type: string
  26719. produces:
  26720. - application/json
  26721. responses:
  26722. "200":
  26723. description: OK
  26724. schema:
  26725. items:
  26726. $ref: '#/definitions/models.WrOrderQuoteDetail'
  26727. type: array
  26728. "500":
  26729. description: Internal Server Error
  26730. schema:
  26731. $ref: '#/definitions/app.Response'
  26732. security:
  26733. - ApiKeyAuth: []
  26734. summary: 查询买卖大厅
  26735. tags:
  26736. - 仓单贸易v2
  26737. /WrTrade2/QueryOrderQuoteMyq:
  26738. get:
  26739. parameters:
  26740. - description: 页码
  26741. in: query
  26742. name: page
  26743. type: integer
  26744. - description: 每页条数
  26745. in: query
  26746. name: pagesize
  26747. type: integer
  26748. - description: 用户id
  26749. in: query
  26750. name: userid
  26751. required: true
  26752. type: integer
  26753. - description: 仓单贸易市场id
  26754. in: query
  26755. name: marketid
  26756. type: integer
  26757. - description: 0:仓单预售 1:仓单贸易
  26758. in: query
  26759. name: haswr
  26760. required: true
  26761. type: integer
  26762. - description: 买卖方向 0-买 1-卖
  26763. in: query
  26764. name: buyorsell
  26765. required: true
  26766. type: integer
  26767. - description: 品种id
  26768. in: query
  26769. name: deliverygoodsid
  26770. type: integer
  26771. - description: 品类id
  26772. in: query
  26773. name: wrstandardid
  26774. type: integer
  26775. - description: 交收月(yyyy-mm) 仓单预售填写
  26776. in: query
  26777. name: deliverymonth
  26778. type: string
  26779. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  26780. in: query
  26781. name: dgitemname
  26782. type: string
  26783. produces:
  26784. - application/json
  26785. responses:
  26786. "200":
  26787. description: OK
  26788. schema:
  26789. items:
  26790. $ref: '#/definitions/models.WrQuoteOrderMyq'
  26791. type: array
  26792. "500":
  26793. description: Internal Server Error
  26794. schema:
  26795. $ref: '#/definitions/app.Response'
  26796. security:
  26797. - ApiKeyAuth: []
  26798. summary: 查询贸易圈挂牌大厅
  26799. tags:
  26800. - 仓单贸易v2
  26801. /WrTrade2/QueryPerformancePlan:
  26802. get:
  26803. parameters:
  26804. - description: 用户id
  26805. in: query
  26806. name: userid
  26807. required: true
  26808. type: integer
  26809. - description: 买卖方向 0-买 1-卖
  26810. in: query
  26811. name: buyorsell
  26812. required: true
  26813. type: integer
  26814. produces:
  26815. - application/json
  26816. responses:
  26817. "200":
  26818. description: OK
  26819. schema:
  26820. items:
  26821. $ref: '#/definitions/models.WrPerformancePlan'
  26822. type: array
  26823. "500":
  26824. description: Internal Server Error
  26825. schema:
  26826. $ref: '#/definitions/app.Response'
  26827. security:
  26828. - ApiKeyAuth: []
  26829. summary: 查询履约信息
  26830. tags:
  26831. - 仓单贸易v2
  26832. /WrTrade2/QueryPermancePlanTmp:
  26833. get:
  26834. description: 返回指定用户的模板和公共模板(用户id为空)
  26835. parameters:
  26836. - description: 用户id
  26837. in: query
  26838. name: userid
  26839. type: integer
  26840. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  26841. in: query
  26842. name: tmptype
  26843. type: string
  26844. - description: 是否包含公共模板(用户id为空的) 1-包含
  26845. in: query
  26846. name: includepub
  26847. type: integer
  26848. produces:
  26849. - application/json
  26850. responses:
  26851. "200":
  26852. description: OK
  26853. schema:
  26854. items:
  26855. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  26856. type: array
  26857. "500":
  26858. description: Internal Server Error
  26859. schema:
  26860. $ref: '#/definitions/app.Response'
  26861. security:
  26862. - ApiKeyAuth: []
  26863. summary: 查询履约模板
  26864. tags:
  26865. - 仓单贸易v2
  26866. /WrTrade2/QuerySiteColumnDetail:
  26867. get:
  26868. parameters:
  26869. - description: 页码
  26870. in: query
  26871. name: page
  26872. type: integer
  26873. - description: 每页条数
  26874. in: query
  26875. name: pagesize
  26876. type: integer
  26877. produces:
  26878. - application/json
  26879. responses:
  26880. "200":
  26881. description: OK
  26882. schema:
  26883. items:
  26884. $ref: '#/definitions/models.WrSiteColumnDetail'
  26885. type: array
  26886. "500":
  26887. description: Internal Server Error
  26888. schema:
  26889. $ref: '#/definitions/app.Response'
  26890. security:
  26891. - ApiKeyAuth: []
  26892. summary: 查询资讯
  26893. tags:
  26894. - 仓单贸易v2
  26895. /WrTrade2/QuerySpotGroupTradeSum:
  26896. get:
  26897. produces:
  26898. - application/json
  26899. responses:
  26900. "200":
  26901. description: OK
  26902. schema:
  26903. items:
  26904. $ref: '#/definitions/models.WrSpotGroupTradeSumEx'
  26905. type: array
  26906. "500":
  26907. description: Internal Server Error
  26908. schema:
  26909. $ref: '#/definitions/app.Response'
  26910. security:
  26911. - ApiKeyAuth: []
  26912. summary: 查询指数
  26913. tags:
  26914. - 仓单贸易v2
  26915. /WrTrade2/QuerySpotGroupTradeSumDetail:
  26916. get:
  26917. description: 查询的结果将会按日期 从小到大 排序
  26918. parameters:
  26919. - description: 现货商品id
  26920. in: query
  26921. name: deliverygoodsid
  26922. required: true
  26923. type: integer
  26924. - description: 查询最新多少条记录(如不填写此项, 默认查30条)
  26925. in: query
  26926. name: lastnum
  26927. type: integer
  26928. produces:
  26929. - application/json
  26930. responses:
  26931. "200":
  26932. description: OK
  26933. schema:
  26934. items:
  26935. $ref: '#/definitions/models.WrSpotGroupTradeSumDetail'
  26936. type: array
  26937. "500":
  26938. description: Internal Server Error
  26939. schema:
  26940. $ref: '#/definitions/app.Response'
  26941. security:
  26942. - ApiKeyAuth: []
  26943. summary: 查询指数详细(价格走势图)
  26944. tags:
  26945. - 仓单贸易v2
  26946. /WrTrade2/QueryWrAverageTradePrice:
  26947. get:
  26948. parameters:
  26949. - description: 页码
  26950. in: query
  26951. name: page
  26952. type: integer
  26953. - description: 每页条数
  26954. in: query
  26955. name: pagesize
  26956. type: integer
  26957. - description: 0:仓单预售 1:仓单贸易
  26958. in: query
  26959. name: haswr
  26960. required: true
  26961. type: integer
  26962. - description: 仓单要素id
  26963. in: query
  26964. name: wrfactortypeid
  26965. required: true
  26966. type: integer
  26967. produces:
  26968. - application/json
  26969. responses:
  26970. "200":
  26971. description: OK
  26972. schema:
  26973. items:
  26974. $ref: '#/definitions/models.WrAverageTradePrice'
  26975. type: array
  26976. "500":
  26977. description: Internal Server Error
  26978. schema:
  26979. $ref: '#/definitions/app.Response'
  26980. security:
  26981. - ApiKeyAuth: []
  26982. summary: 查询成交价(历史走势)
  26983. tags:
  26984. - 仓单贸易v2
  26985. /WrTrade2/QueryWrBsGoodsInfo:
  26986. get:
  26987. description: 合约交易/买卖大厅/详情
  26988. parameters:
  26989. - description: 商品id
  26990. in: query
  26991. name: goodsid
  26992. required: true
  26993. type: integer
  26994. produces:
  26995. - application/json
  26996. responses:
  26997. "200":
  26998. description: OK
  26999. schema:
  27000. items:
  27001. $ref: '#/definitions/models.WrBsGoodsInfo'
  27002. type: array
  27003. "500":
  27004. description: Internal Server Error
  27005. schema:
  27006. $ref: '#/definitions/app.Response'
  27007. security:
  27008. - ApiKeyAuth: []
  27009. summary: 查询合约交易买卖大厅详情
  27010. tags:
  27011. - 仓单贸易v2
  27012. /WrTrade2/QueryWrBuybackDetail:
  27013. get:
  27014. parameters:
  27015. - description: 融资合同id
  27016. in: query
  27017. name: scfcontractid
  27018. type: integer
  27019. produces:
  27020. - application/json
  27021. responses:
  27022. "200":
  27023. description: OK
  27024. schema:
  27025. items:
  27026. $ref: '#/definitions/models.WrBuybackDetail'
  27027. type: array
  27028. "500":
  27029. description: Internal Server Error
  27030. schema:
  27031. $ref: '#/definitions/app.Response'
  27032. security:
  27033. - ApiKeyAuth: []
  27034. summary: 查询仓单回购明细
  27035. tags:
  27036. - 仓单贸易v2
  27037. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  27038. get:
  27039. parameters:
  27040. - description: 资金账号
  27041. in: query
  27042. name: accountid
  27043. required: true
  27044. type: integer
  27045. - description: 商品id
  27046. in: query
  27047. name: goodsid
  27048. required: true
  27049. type: integer
  27050. produces:
  27051. - application/json
  27052. responses:
  27053. "200":
  27054. description: OK
  27055. schema:
  27056. items:
  27057. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  27058. type: array
  27059. "500":
  27060. description: Internal Server Error
  27061. schema:
  27062. $ref: '#/definitions/app.Response'
  27063. security:
  27064. - ApiKeyAuth: []
  27065. summary: 查询合约交收可点选仓单
  27066. tags:
  27067. - 仓单贸易v2
  27068. /WrTrade2/QueryWrDeliveryDetail:
  27069. get:
  27070. parameters:
  27071. - description: 用户id
  27072. in: query
  27073. name: userid
  27074. required: true
  27075. type: integer
  27076. - description: 资金账号id
  27077. in: query
  27078. name: accountid
  27079. type: integer
  27080. produces:
  27081. - application/json
  27082. responses:
  27083. "200":
  27084. description: OK
  27085. schema:
  27086. items:
  27087. $ref: '#/definitions/models.WrDeliveryDetail'
  27088. type: array
  27089. "500":
  27090. description: Internal Server Error
  27091. schema:
  27092. $ref: '#/definitions/app.Response'
  27093. security:
  27094. - ApiKeyAuth: []
  27095. summary: 查询交收
  27096. tags:
  27097. - 仓单贸易v2
  27098. /WrTrade2/QueryWrFactorTypeInfo:
  27099. get:
  27100. parameters:
  27101. - description: 仓单要素id
  27102. in: query
  27103. name: wrfactortypeid
  27104. required: true
  27105. type: integer
  27106. produces:
  27107. - application/json
  27108. responses:
  27109. "200":
  27110. description: OK
  27111. schema:
  27112. items:
  27113. $ref: '#/definitions/models.WrFactorTypeInfo'
  27114. type: array
  27115. "500":
  27116. description: Internal Server Error
  27117. schema:
  27118. $ref: '#/definitions/app.Response'
  27119. security:
  27120. - ApiKeyAuth: []
  27121. summary: 查询仓单要素详细信息
  27122. tags:
  27123. - 仓单贸易v2
  27124. /WrTrade2/QueryWrFactorTypeInfoEx:
  27125. get:
  27126. parameters:
  27127. - description: 仓单要素id
  27128. in: query
  27129. name: wrfactortypeid
  27130. required: true
  27131. type: integer
  27132. produces:
  27133. - application/json
  27134. responses:
  27135. "200":
  27136. description: OK
  27137. schema:
  27138. items:
  27139. $ref: '#/definitions/models.WrTypeItem'
  27140. type: array
  27141. "500":
  27142. description: Internal Server Error
  27143. schema:
  27144. $ref: '#/definitions/app.Response'
  27145. security:
  27146. - ApiKeyAuth: []
  27147. summary: 查询仓单要素详细信息列表项
  27148. tags:
  27149. - 仓单贸易v2
  27150. /WrTrade2/QueryWrFinanceBuyApply:
  27151. get:
  27152. description: 页面 融资信息+ / 申请单
  27153. parameters:
  27154. - description: 用户id
  27155. in: query
  27156. name: userid
  27157. required: true
  27158. type: integer
  27159. produces:
  27160. - application/json
  27161. responses:
  27162. "200":
  27163. description: OK
  27164. schema:
  27165. items:
  27166. $ref: '#/definitions/models.WrFinanceBuyApply'
  27167. type: array
  27168. "500":
  27169. description: Internal Server Error
  27170. schema:
  27171. $ref: '#/definitions/app.Response'
  27172. security:
  27173. - ApiKeyAuth: []
  27174. summary: 查询融资购买申请
  27175. tags:
  27176. - 仓单贸易v2
  27177. /WrTrade2/QueryWrFriendApply:
  27178. get:
  27179. parameters:
  27180. - description: 用户id
  27181. in: query
  27182. name: userid
  27183. required: true
  27184. type: integer
  27185. produces:
  27186. - application/json
  27187. responses:
  27188. "200":
  27189. description: OK
  27190. schema:
  27191. items:
  27192. $ref: '#/definitions/models.WrFriendApply'
  27193. type: array
  27194. "500":
  27195. description: Internal Server Error
  27196. schema:
  27197. $ref: '#/definitions/app.Response'
  27198. security:
  27199. - ApiKeyAuth: []
  27200. summary: 查询好友申请记录
  27201. tags:
  27202. - 仓单贸易v2
  27203. /WrTrade2/QueryWrGoodsInfo:
  27204. get:
  27205. parameters:
  27206. - description: 仓单贸易市场id
  27207. in: query
  27208. name: marketid
  27209. type: integer
  27210. - description: 0:仓单预售 1:仓单贸易
  27211. in: query
  27212. name: haswr
  27213. required: true
  27214. type: integer
  27215. - description: 仓单要素id
  27216. in: query
  27217. name: wrfactortypeid
  27218. required: true
  27219. type: integer
  27220. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  27221. in: query
  27222. name: tmplateid
  27223. type: integer
  27224. produces:
  27225. - application/json
  27226. responses:
  27227. "200":
  27228. description: OK
  27229. schema:
  27230. items:
  27231. $ref: '#/definitions/models.WrGoodsInfo'
  27232. type: array
  27233. "500":
  27234. description: Internal Server Error
  27235. schema:
  27236. $ref: '#/definitions/app.Response'
  27237. security:
  27238. - ApiKeyAuth: []
  27239. summary: 查询仓单商品信息
  27240. tags:
  27241. - 仓单贸易v2
  27242. /WrTrade2/QueryWrMarketTradeConfig:
  27243. get:
  27244. parameters:
  27245. - description: 市场id
  27246. in: query
  27247. name: marketid
  27248. type: integer
  27249. produces:
  27250. - application/json
  27251. responses:
  27252. "200":
  27253. description: OK
  27254. schema:
  27255. items:
  27256. $ref: '#/definitions/models.WrMarketTradeConfig'
  27257. type: array
  27258. "500":
  27259. description: Internal Server Error
  27260. schema:
  27261. $ref: '#/definitions/app.Response'
  27262. security:
  27263. - ApiKeyAuth: []
  27264. summary: 查询市场交易参数配置
  27265. tags:
  27266. - 仓单贸易v2
  27267. /WrTrade2/QueryWrOrderDetail:
  27268. get:
  27269. description: 页面 现货仓单 | 预售仓单 -> 挂单
  27270. parameters:
  27271. - description: 页码
  27272. in: query
  27273. name: page
  27274. type: integer
  27275. - description: 每页条数
  27276. in: query
  27277. name: pagesize
  27278. type: integer
  27279. - description: 用户id
  27280. in: query
  27281. name: userid
  27282. required: true
  27283. type: integer
  27284. - description: 仓单贸易市场id
  27285. in: query
  27286. name: marketid
  27287. type: integer
  27288. - description: 0:仓单预售 1:仓单贸易
  27289. in: query
  27290. name: haswr
  27291. required: true
  27292. type: integer
  27293. produces:
  27294. - application/json
  27295. responses:
  27296. "200":
  27297. description: OK
  27298. schema:
  27299. items:
  27300. $ref: '#/definitions/models.WrOrderDetail'
  27301. type: array
  27302. "500":
  27303. description: Internal Server Error
  27304. schema:
  27305. $ref: '#/definitions/app.Response'
  27306. security:
  27307. - ApiKeyAuth: []
  27308. summary: 查询仓单委托单(挂单)
  27309. tags:
  27310. - 仓单贸易v2
  27311. /WrTrade2/QueryWrOutInApply:
  27312. get:
  27313. parameters:
  27314. - description: 用户id
  27315. in: query
  27316. name: userid
  27317. required: true
  27318. type: integer
  27319. produces:
  27320. - application/json
  27321. responses:
  27322. "200":
  27323. description: OK
  27324. schema:
  27325. items:
  27326. $ref: '#/definitions/models.WrOutInApply'
  27327. type: array
  27328. "500":
  27329. description: Internal Server Error
  27330. schema:
  27331. $ref: '#/definitions/app.Response'
  27332. security:
  27333. - ApiKeyAuth: []
  27334. summary: 查询提货申请
  27335. tags:
  27336. - 仓单贸易v2
  27337. /WrTrade2/QueryWrPerformancePlanStep:
  27338. get:
  27339. parameters:
  27340. - description: 履约计划id(performanceplanid)
  27341. in: query
  27342. name: planid
  27343. required: true
  27344. type: integer
  27345. - description: 当前步骤id
  27346. in: query
  27347. name: curstepid
  27348. type: integer
  27349. produces:
  27350. - application/json
  27351. responses:
  27352. "200":
  27353. description: OK
  27354. schema:
  27355. items:
  27356. $ref: '#/definitions/models.WrPerformancePlanStep'
  27357. type: array
  27358. "500":
  27359. description: Internal Server Error
  27360. schema:
  27361. $ref: '#/definitions/app.Response'
  27362. security:
  27363. - ApiKeyAuth: []
  27364. summary: 查询履约信息详情
  27365. tags:
  27366. - 仓单贸易v2
  27367. /WrTrade2/QueryWrPerformanceStepType:
  27368. get:
  27369. produces:
  27370. - application/json
  27371. responses:
  27372. "200":
  27373. description: OK
  27374. schema:
  27375. items:
  27376. $ref: '#/definitions/models.WrPerformanceStepType'
  27377. type: array
  27378. "500":
  27379. description: Internal Server Error
  27380. schema:
  27381. $ref: '#/definitions/app.Response'
  27382. security:
  27383. - ApiKeyAuth: []
  27384. summary: 查询履约步骤枚举
  27385. tags:
  27386. - 仓单贸易v2
  27387. /WrTrade2/QueryWrPosition:
  27388. get:
  27389. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  27390. parameters:
  27391. - description: 用户id
  27392. in: query
  27393. name: userid
  27394. required: true
  27395. type: integer
  27396. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  27397. in: query
  27398. name: querytype
  27399. required: true
  27400. type: integer
  27401. - description: 0:仓单预售 1:仓单贸易
  27402. in: query
  27403. name: haswr
  27404. required: true
  27405. type: integer
  27406. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  27407. in: query
  27408. name: dgitemname
  27409. type: string
  27410. - description: 仓库id(筛选条件)
  27411. in: query
  27412. name: warehouseid
  27413. type: integer
  27414. - description: 品种id
  27415. in: query
  27416. name: deliverygoodsid
  27417. type: integer
  27418. - description: 品类id
  27419. in: query
  27420. name: wrstandardid
  27421. type: integer
  27422. produces:
  27423. - application/json
  27424. responses:
  27425. "200":
  27426. description: OK
  27427. schema:
  27428. items:
  27429. $ref: '#/definitions/models.WrPosition'
  27430. type: array
  27431. "500":
  27432. description: Internal Server Error
  27433. schema:
  27434. $ref: '#/definitions/app.Response'
  27435. security:
  27436. - ApiKeyAuth: []
  27437. summary: 查询现货(预售)仓单持仓
  27438. tags:
  27439. - 仓单贸易v2
  27440. /WrTrade2/QueryWrScfContract:
  27441. get:
  27442. parameters:
  27443. - description: 用户id
  27444. in: query
  27445. name: userid
  27446. required: true
  27447. type: integer
  27448. - description: 融资合同id
  27449. in: query
  27450. name: scfcontractid
  27451. type: integer
  27452. produces:
  27453. - application/json
  27454. responses:
  27455. "200":
  27456. description: OK
  27457. schema:
  27458. items:
  27459. $ref: '#/definitions/models.WrScfContract'
  27460. type: array
  27461. "500":
  27462. description: Internal Server Error
  27463. schema:
  27464. $ref: '#/definitions/app.Response'
  27465. security:
  27466. - ApiKeyAuth: []
  27467. summary: 查询仓单贸易融资合同
  27468. tags:
  27469. - 仓单贸易v2
  27470. /WrTrade2/QueryWrScfContractInterest:
  27471. get:
  27472. parameters:
  27473. - description: 融资合同id
  27474. in: query
  27475. name: scfcontractid
  27476. type: integer
  27477. produces:
  27478. - application/json
  27479. responses:
  27480. "200":
  27481. description: OK
  27482. schema:
  27483. items:
  27484. $ref: '#/definitions/models.WrScfContractInterest'
  27485. type: array
  27486. "500":
  27487. description: Internal Server Error
  27488. schema:
  27489. $ref: '#/definitions/app.Response'
  27490. security:
  27491. - ApiKeyAuth: []
  27492. summary: 查询融资合同费用明细
  27493. tags:
  27494. - 仓单贸易v2
  27495. /WrTrade2/QueryWrSpecialMatchOrder:
  27496. get:
  27497. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  27498. parameters:
  27499. - description: 页码
  27500. in: query
  27501. name: page
  27502. type: integer
  27503. - description: 每页条数
  27504. in: query
  27505. name: pagesize
  27506. type: integer
  27507. - description: 用户id
  27508. in: query
  27509. name: userid
  27510. required: true
  27511. type: integer
  27512. - description: 仓单贸易市场id
  27513. in: query
  27514. name: marketid
  27515. type: integer
  27516. - description: 0:仓单预售 1:仓单贸易
  27517. in: query
  27518. name: haswr
  27519. required: true
  27520. type: integer
  27521. - description: 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  27522. in: query
  27523. name: isspecified
  27524. type: integer
  27525. produces:
  27526. - application/json
  27527. responses:
  27528. "200":
  27529. description: OK
  27530. schema:
  27531. items:
  27532. $ref: '#/definitions/models.WrSpecialMatchOrder'
  27533. type: array
  27534. "500":
  27535. description: Internal Server Error
  27536. schema:
  27537. $ref: '#/definitions/app.Response'
  27538. security:
  27539. - ApiKeyAuth: []
  27540. summary: 查询指定成交
  27541. tags:
  27542. - 仓单贸易v2
  27543. /WrTrade2/QueryWrStandardFactoryItem:
  27544. get:
  27545. parameters:
  27546. - description: 品类id
  27547. in: query
  27548. name: wrstandardid
  27549. required: true
  27550. type: integer
  27551. produces:
  27552. - application/json
  27553. responses:
  27554. "200":
  27555. description: OK
  27556. schema:
  27557. items:
  27558. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  27559. type: array
  27560. "500":
  27561. description: Internal Server Error
  27562. schema:
  27563. $ref: '#/definitions/app.Response'
  27564. security:
  27565. - ApiKeyAuth: []
  27566. summary: 查询品类要素定义项
  27567. tags:
  27568. - 仓单贸易v2
  27569. /WrTrade2/QueryWrTradeBargainApply:
  27570. get:
  27571. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面 议价->对方议价 填写matchuserid=登录用户id
  27572. parameters:
  27573. - description: 议价人id(摘牌方)
  27574. in: query
  27575. name: userid
  27576. type: integer
  27577. - description: 挂牌方id(查对方议价时,填写此项)
  27578. in: query
  27579. name: matchuserid
  27580. type: integer
  27581. - description: 关联委托单id
  27582. in: query
  27583. name: wrtradeorderid
  27584. type: integer
  27585. - description: 0:仓单预售 1:仓单贸易
  27586. in: query
  27587. name: haswr
  27588. required: true
  27589. type: integer
  27590. produces:
  27591. - application/json
  27592. responses:
  27593. "200":
  27594. description: OK
  27595. schema:
  27596. items:
  27597. $ref: '#/definitions/models.WRTradeBargainApply'
  27598. type: array
  27599. "500":
  27600. description: Internal Server Error
  27601. schema:
  27602. $ref: '#/definitions/app.Response'
  27603. security:
  27604. - ApiKeyAuth: []
  27605. summary: 查询议价单
  27606. tags:
  27607. - 仓单贸易v2
  27608. /WrTrade2/QueryWrTradeDetail:
  27609. get:
  27610. parameters:
  27611. - description: 页码
  27612. in: query
  27613. name: page
  27614. type: integer
  27615. - description: 每页条数
  27616. in: query
  27617. name: pagesize
  27618. type: integer
  27619. - description: 用户id
  27620. in: query
  27621. name: userid
  27622. required: true
  27623. type: integer
  27624. - description: 仓单贸易市场id
  27625. in: query
  27626. name: marketid
  27627. type: integer
  27628. - description: 0:仓单预售 1:仓单贸易
  27629. in: query
  27630. name: haswr
  27631. required: true
  27632. type: integer
  27633. produces:
  27634. - application/json
  27635. responses:
  27636. "200":
  27637. description: OK
  27638. schema:
  27639. items:
  27640. $ref: '#/definitions/models.WrTradeDetail'
  27641. type: array
  27642. "500":
  27643. description: Internal Server Error
  27644. schema:
  27645. $ref: '#/definitions/app.Response'
  27646. security:
  27647. - ApiKeyAuth: []
  27648. summary: 查询仓单成交明细
  27649. tags:
  27650. - 仓单贸易v2
  27651. /WrTrade2/QueryWrTradeOrderDetail:
  27652. get:
  27653. parameters:
  27654. - description: 页码
  27655. in: query
  27656. name: page
  27657. type: integer
  27658. - description: 每页条数
  27659. in: query
  27660. name: pagesize
  27661. type: integer
  27662. - description: 商品id
  27663. in: query
  27664. name: goodsid
  27665. required: true
  27666. type: integer
  27667. - description: 买卖方向 0-买 1-卖
  27668. in: query
  27669. name: buyorsell
  27670. required: true
  27671. type: integer
  27672. produces:
  27673. - application/json
  27674. responses:
  27675. "200":
  27676. description: OK
  27677. schema:
  27678. items:
  27679. $ref: '#/definitions/models.WrTradeOrderDetail'
  27680. type: array
  27681. "500":
  27682. description: Internal Server Error
  27683. schema:
  27684. $ref: '#/definitions/app.Response'
  27685. security:
  27686. - ApiKeyAuth: []
  27687. summary: 查询合约交易买卖大厅
  27688. tags:
  27689. - 仓单贸易v2
  27690. /WrTrade2/QueryWrUserFriend:
  27691. get:
  27692. parameters:
  27693. - description: 用户id
  27694. in: query
  27695. name: userid
  27696. required: true
  27697. type: integer
  27698. - description: 新朋友userid, 如果填写了此项则查找新朋友
  27699. in: query
  27700. name: newuserid
  27701. type: integer
  27702. produces:
  27703. - application/json
  27704. responses:
  27705. "200":
  27706. description: OK
  27707. schema:
  27708. items:
  27709. $ref: '#/definitions/models.WrUserFriend'
  27710. type: array
  27711. "500":
  27712. description: Internal Server Error
  27713. schema:
  27714. $ref: '#/definitions/app.Response'
  27715. security:
  27716. - ApiKeyAuth: []
  27717. summary: 查询我的朋友
  27718. tags:
  27719. - 仓单贸易v2
  27720. /WrTrade2/QueryWrUserReceiptInfo:
  27721. get:
  27722. parameters:
  27723. - description: 用户id
  27724. in: query
  27725. name: userid
  27726. type: integer
  27727. - description: 发票类型 - 1:个人 2:企业
  27728. in: query
  27729. name: receipttype
  27730. type: integer
  27731. produces:
  27732. - application/json
  27733. responses:
  27734. "200":
  27735. description: OK
  27736. schema:
  27737. items:
  27738. $ref: '#/definitions/models.WrUserReceiptInfo'
  27739. type: array
  27740. "500":
  27741. description: Internal Server Error
  27742. schema:
  27743. $ref: '#/definitions/app.Response'
  27744. security:
  27745. - ApiKeyAuth: []
  27746. summary: 查询发票信息
  27747. tags:
  27748. - 仓单贸易v2
  27749. /ZJ/GetBankTip:
  27750. get:
  27751. produces:
  27752. - application/json
  27753. responses:
  27754. "200":
  27755. description: OK
  27756. schema:
  27757. type: string
  27758. "500":
  27759. description: Internal Server Error
  27760. schema:
  27761. $ref: '#/definitions/app.Response'
  27762. summary: 获取中江网银端出入金提示信息
  27763. tags:
  27764. - 中江
  27765. /ZJ/GetCusBankChannels:
  27766. get:
  27767. produces:
  27768. - application/json
  27769. responses:
  27770. "200":
  27771. description: OK
  27772. schema:
  27773. items:
  27774. type: string
  27775. type: array
  27776. "500":
  27777. description: Internal Server Error
  27778. schema:
  27779. $ref: '#/definitions/app.Response'
  27780. summary: 获取中江出入金渠道显示列表
  27781. tags:
  27782. - 中江
  27783. securityDefinitions:
  27784. ApiKeyAuth:
  27785. in: header
  27786. name: Authorization
  27787. type: apiKey
  27788. swagger: "2.0"