swagger.yaml 793 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117281182811928120281212812228123281242812528126281272812828129281302813128132281332813428135281362813728138281392814028141281422814328144281452814628147281482814928150281512815228153281542815528156281572815828159281602816128162281632816428165281662816728168281692817028171281722817328174281752817628177281782817928180281812818228183281842818528186281872818828189281902819128192281932819428195281962819728198281992820028201282022820328204282052820628207282082820928210282112821228213282142821528216282172821828219282202822128222282232822428225282262822728228282292823028231282322823328234282352823628237282382823928240282412824228243282442824528246282472824828249282502825128252282532825428255282562825728258282592826028261282622826328264282652826628267282682826928270282712827228273282742827528276282772827828279282802828128282282832828428285282862828728288282892829028291282922829328294282952829628297282982829928300283012830228303283042830528306283072830828309283102831128312283132831428315283162831728318283192832028321283222832328324283252832628327283282832928330283312833228333283342833528336283372833828339283402834128342283432834428345283462834728348283492835028351283522835328354283552835628357283582835928360283612836228363283642836528366283672836828369283702837128372283732837428375283762837728378283792838028381283822838328384283852838628387283882838928390283912839228393283942839528396283972839828399284002840128402284032840428405284062840728408284092841028411284122841328414284152841628417284182841928420284212842228423284242842528426284272842828429284302843128432284332843428435284362843728438284392844028441284422844328444284452844628447284482844928450284512845228453284542845528456284572845828459284602846128462284632846428465284662846728468284692847028471284722847328474284752847628477284782847928480284812848228483284842848528486284872848828489284902849128492284932849428495284962849728498284992850028501285022850328504285052850628507285082850928510285112851228513285142851528516285172851828519285202852128522285232852428525285262852728528285292853028531285322853328534285352853628537285382853928540285412854228543285442854528546285472854828549285502855128552285532855428555285562855728558
  1. basePath: /api
  2. definitions:
  3. app.Response:
  4. properties:
  5. code:
  6. type: integer
  7. data: {}
  8. msg:
  9. type: string
  10. page:
  11. description: 页码
  12. type: integer
  13. pagesize:
  14. description: 每页条数
  15. type: integer
  16. total:
  17. description: 总条数
  18. type: integer
  19. type: object
  20. common.ClientMenu:
  21. properties:
  22. children:
  23. description: 子菜单列表
  24. items:
  25. $ref: '#/definitions/common.ClientMenu'
  26. type: array
  27. code:
  28. description: ID
  29. type: string
  30. isshow:
  31. description: 是否显示
  32. type: boolean
  33. remark:
  34. description: 备注
  35. type: string
  36. rulekey:
  37. description: 对应权限主键,对应FUNCMENULIST表RESOURCECODE
  38. type: string
  39. sort:
  40. description: 排序
  41. type: integer
  42. title:
  43. description: 标题
  44. type: string
  45. type:
  46. description: 类型,1:菜单 2:按钮
  47. type: integer
  48. url:
  49. description: URL
  50. type: string
  51. type: object
  52. common.PCWebMenu:
  53. properties:
  54. auth:
  55. description: 页面权限列表
  56. items:
  57. $ref: '#/definitions/common.PCWebMenuAuth'
  58. type: array
  59. children:
  60. description: 子菜单列表
  61. items:
  62. $ref: '#/definitions/common.PCWebMenu'
  63. type: array
  64. code:
  65. description: ID,新版本中权限KEY也是这个字段
  66. type: string
  67. component:
  68. description: 路由组件
  69. type: string
  70. isshow:
  71. description: 是否显示
  72. type: boolean
  73. path:
  74. description: 路由路径
  75. type: string
  76. remark:
  77. description: 备注
  78. type: string
  79. rulekey:
  80. description: 权限主键,非空表示需要判断控制,非空值不可重复
  81. type: string
  82. sort:
  83. description: 排序
  84. type: integer
  85. title:
  86. description: 标题
  87. type: string
  88. url:
  89. description: URL
  90. type: string
  91. type: object
  92. common.PCWebMenuAuth:
  93. properties:
  94. code:
  95. description: ID,新版本中权限KEY也是这个字段
  96. type: string
  97. isshow:
  98. description: 是否显示
  99. type: boolean
  100. label:
  101. description: 标题
  102. type: string
  103. remark:
  104. description: 备注
  105. type: string
  106. rulekey:
  107. description: 权限主键,非空表示需要判断控制,非空值不可重复
  108. type: string
  109. type: object
  110. common.QueryImageConfigsRsp:
  111. properties:
  112. areauserid:
  113. description: 所属机构ID
  114. type: integer
  115. configid:
  116. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  117. type: integer
  118. createdate:
  119. description: 创建时间
  120. type: string
  121. creatorid:
  122. description: 创建人
  123. type: integer
  124. imagedetailpath:
  125. description: 详情图片 [UrlType = 3时 有且必填,其它类型不需要]
  126. type: string
  127. imagepath:
  128. description: 图片
  129. type: string
  130. imagetype:
  131. description: 类型 - 1:首页轮播(移动) 2:我的(移动)
  132. type: integer
  133. isshow:
  134. description: 是否展示 - 0:不展示 1:展示
  135. type: integer
  136. marketid:
  137. description: 市场ID
  138. type: integer
  139. modifierid:
  140. description: 操作人
  141. type: integer
  142. sort:
  143. description: 排序
  144. type: integer
  145. title:
  146. description: 标题
  147. type: string
  148. trademode:
  149. description: 交易模式
  150. type: integer
  151. updatedate:
  152. description: 修改时间
  153. type: string
  154. url:
  155. description: 链接(地址或商品ID)
  156. type: string
  157. urltype:
  158. description: 链接类型 - 1:直接地址 2:商品ID
  159. type: integer
  160. required:
  161. - configid
  162. type: object
  163. common.QueryNoticeRsp:
  164. properties:
  165. auditoruserid:
  166. description: 审核人
  167. type: integer
  168. auditremark:
  169. description: 审核备注
  170. type: string
  171. audittime:
  172. description: 审核日期
  173. type: string
  174. autoid:
  175. description: 自增ID
  176. type: integer
  177. content:
  178. description: 内容
  179. type: string
  180. createtime:
  181. description: 创建时间
  182. type: string
  183. creatorid:
  184. description: 建仓人
  185. type: integer
  186. endtime:
  187. description: 结束时间
  188. type: string
  189. istop:
  190. description: 是否置顶 - 0:不置顶 1:置顶
  191. type: integer
  192. msgiconurl:
  193. description: 消息图标Url
  194. type: string
  195. msgtype:
  196. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  197. type: integer
  198. publisher:
  199. description: 消息发布者
  200. type: string
  201. readed:
  202. description: 是否已读
  203. type: boolean
  204. scheduletime:
  205. description: 计划发送时间
  206. type: string
  207. sendtype:
  208. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  209. type: integer
  210. sentstatus:
  211. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  212. type: integer
  213. title:
  214. description: 标题
  215. type: string
  216. userid:
  217. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  218. type: integer
  219. required:
  220. - autoid
  221. type: object
  222. common.QueryProvincesAndCitiesRsp:
  223. properties:
  224. cities:
  225. description: 市
  226. items:
  227. $ref: '#/definitions/models.Division'
  228. type: array
  229. province:
  230. $ref: '#/definitions/models.Division'
  231. description: 省
  232. type: object
  233. common.QueryTableDefineRsp:
  234. properties:
  235. columns:
  236. description: 列头信息数组
  237. items:
  238. $ref: '#/definitions/models.Tablecolumnconfig'
  239. type: array
  240. remark:
  241. description: Remark
  242. type: string
  243. tabelmenu:
  244. description: 列表菜单
  245. type: string
  246. tablekey:
  247. description: 列表Key
  248. type: string
  249. tablename:
  250. description: 列表名称
  251. type: string
  252. tabletype:
  253. description: 列表类型 - 1:管理端 2:终端
  254. type: integer
  255. required:
  256. - tablekey
  257. type: object
  258. common.QueryTraderMenuRsp:
  259. properties:
  260. OperationMenu:
  261. description: 功能菜单
  262. items:
  263. $ref: '#/definitions/models.OperationPrimaryMenu'
  264. type: array
  265. QuoteMenu:
  266. description: 报价牌分类菜单
  267. items:
  268. $ref: '#/definitions/models.QuotePrimaryMenu'
  269. type: array
  270. type: object
  271. cptrade.Cptradepositioncancel:
  272. properties:
  273. accountid:
  274. description: 申请人账户ID
  275. type: integer
  276. applystatus:
  277. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  278. type: integer
  279. applytime:
  280. description: 申请时间
  281. type: string
  282. cancelid:
  283. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  284. type: integer
  285. cancelqty:
  286. description: 注销数量
  287. type: integer
  288. createtime:
  289. description: 创建时间
  290. type: string
  291. creatorid:
  292. description: 创建人ID
  293. type: integer
  294. creatorname:
  295. description: 创建人
  296. type: string
  297. goodscode:
  298. description: 订单商品代码
  299. type: string
  300. goodsid:
  301. description: 商品ID
  302. type: integer
  303. goodsname:
  304. description: 订单商品名称
  305. type: string
  306. goodunit:
  307. description: 报价单位
  308. type: string
  309. handlestatus:
  310. description: 处理状态
  311. type: integer
  312. marketid:
  313. description: 市场ID
  314. type: integer
  315. marketname:
  316. description: 市场名称
  317. type: string
  318. tradedate:
  319. description: 交易日(yyyyMMdd)
  320. type: string
  321. userid:
  322. description: 申请人ID
  323. type: integer
  324. required:
  325. - cancelid
  326. type: object
  327. cptrade.Cptradepresaleapply:
  328. properties:
  329. accountid:
  330. description: 申请人账户ID
  331. type: integer
  332. applyid:
  333. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  334. type: integer
  335. applyremark:
  336. description: 申请备注
  337. type: string
  338. applystatus:
  339. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  340. type: integer
  341. applytime:
  342. description: 申请时间
  343. type: string
  344. attachmenturl:
  345. description: 附件地址
  346. type: string
  347. endtime:
  348. description: 预售结束时间
  349. type: string
  350. goodscode:
  351. description: 商品代码
  352. type: string
  353. goodsid:
  354. description: 商品ID
  355. type: integer
  356. goodsname:
  357. description: 商品名称
  358. type: string
  359. goodunit:
  360. description: 报价单位
  361. type: string
  362. handlestatus:
  363. description: 处理状态
  364. type: integer
  365. marketid:
  366. description: 预售市场ID
  367. type: integer
  368. marketname:
  369. description: 预售市场名称
  370. type: string
  371. presaleqty:
  372. description: 预售数量
  373. type: integer
  374. relatedgoodscode:
  375. description: 关联交易合约代码
  376. type: string
  377. relatedgoodsid:
  378. description: 关联交易合约ID
  379. type: integer
  380. relatedgoodsname:
  381. description: 关联交易合约名称
  382. type: string
  383. starttime:
  384. description: 预售开始时间
  385. type: string
  386. tradedate:
  387. description: 交易日(yyyyMMdd)
  388. type: string
  389. trademode:
  390. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  391. type: integer
  392. userid:
  393. description: 申请人ID
  394. type: integer
  395. required:
  396. - applyid
  397. type: object
  398. cptrade.Cptradeusergoodsdata:
  399. properties:
  400. EnabledQty:
  401. description: 可用量
  402. type: integer
  403. GoodsCode:
  404. description: 订单商品代码
  405. type: string
  406. GoodsName:
  407. description: 订单商品名称
  408. type: string
  409. WRStandardCode:
  410. description: 仓单标准代码
  411. type: string
  412. WRStandardName:
  413. description: 仓单标准名称
  414. type: string
  415. accountid:
  416. description: 账户ID
  417. type: integer
  418. cancelqty:
  419. description: 注销量
  420. type: integer
  421. curpresaleqty:
  422. description: 当前预售量
  423. type: integer
  424. deliveryqty:
  425. description: 交割量
  426. type: integer
  427. freezeamount:
  428. description: 冻结金额
  429. type: number
  430. goodsid:
  431. description: 商品ID
  432. type: integer
  433. goodunit:
  434. description: 报价单位
  435. type: string
  436. hasspotfreeze:
  437. description: 是否有现货冻结 - 0:否 1:有
  438. type: integer
  439. inqty:
  440. description: 转入量(总数量)
  441. type: integer
  442. marketid:
  443. description: 市场ID
  444. type: integer
  445. presaledamount:
  446. description: 已预售总金额
  447. type: integer
  448. presaledqty:
  449. description: 已预售量
  450. type: integer
  451. userid:
  452. description: 用户ID
  453. type: integer
  454. wrstandardid:
  455. description: 仓单标准ID
  456. type: integer
  457. required:
  458. - accountid
  459. - goodsid
  460. type: object
  461. cptrade.QueryCPTradeMyBidRsp:
  462. properties:
  463. accountid:
  464. description: 账户ID[报价币种]
  465. type: integer
  466. goodsid:
  467. description: 商品ID
  468. type: integer
  469. goodunit:
  470. description: 报价单位
  471. type: string
  472. marketid:
  473. description: 市场ID
  474. type: integer
  475. orderid:
  476. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  477. type: integer
  478. orderprice:
  479. description: 委托价格
  480. type: number
  481. orderqty:
  482. description: 委托数量
  483. type: integer
  484. ordertime:
  485. description: 委托时间
  486. type: string
  487. ordertotalprice:
  488. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  489. type: number
  490. ordertotalweight:
  491. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  492. type: integer
  493. totaltotalprice:
  494. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  495. type: number
  496. tradeprice:
  497. description: 成交价格
  498. type: number
  499. tradeqty:
  500. description: 成交数量
  501. type: integer
  502. required:
  503. - accountid
  504. - goodsid
  505. - marketid
  506. - orderid
  507. - orderqty
  508. - ordertime
  509. - tradeprice
  510. - tradeqty
  511. type: object
  512. cptrade.QueryCPTradeOrderDetailRsq:
  513. properties:
  514. accountid:
  515. description: 账户ID[报价币种]
  516. type: integer
  517. buildtype:
  518. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  519. type: integer
  520. buyorsell:
  521. description: 买卖 - 0:买 1:卖
  522. type: integer
  523. cancelorderid:
  524. description: 撤单单号(撤单时填写)
  525. type: integer
  526. cancelqty:
  527. description: 撤单数量
  528. type: integer
  529. clientordertime:
  530. description: 客户端委托时间
  531. type: string
  532. clientticket:
  533. description: 客户端流水号
  534. type: string
  535. clienttype:
  536. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  537. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  538. type: integer
  539. closeexchagechargevalue:
  540. description: 平仓交易所手续费设置值
  541. type: number
  542. closefeealgorithm:
  543. description: 平仓手续费收取方式 1:比率 2:固定
  544. type: integer
  545. closefreezecharge:
  546. description: 平仓冻结手续费(先建后平操作,需要记录)
  547. type: number
  548. closememberchargevalue:
  549. description: 平仓会员手续费设置值
  550. type: number
  551. closeqty:
  552. description: 平仓数量(先建后平操作 需要记录)
  553. type: integer
  554. closetradeqty:
  555. description: 平仓成交数量(先建后平操作,需要记录)
  556. type: integer
  557. closeunfreezecharge:
  558. description: 平仓解冻手续费(先建后平操作,需要记录)
  559. type: number
  560. delistingtype:
  561. description: 摘牌类型 - 1:价格最优 2:点选成交
  562. type: integer
  563. freezecharge:
  564. description: 冻结手续费
  565. type: number
  566. freezemargin:
  567. description: 冻结保证金(冻结交易金额)
  568. type: number
  569. gcaccountid:
  570. description: 账户ID[合约币种]
  571. type: integer
  572. goodsid:
  573. description: 商品ID
  574. type: integer
  575. isconfirmexercise:
  576. description: 是否确认行权- 0:否 1:是
  577. type: integer
  578. ispreexercise:
  579. description: 是否预申报- 0:否 1:是
  580. type: integer
  581. listingselecttype:
  582. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  583. type: integer
  584. marginalgorithm:
  585. description: 保证金收取方式 1:比率 2:固定
  586. type: integer
  587. marginvalue:
  588. description: 即市保证金设置值
  589. type: number
  590. marketid:
  591. description: 市场ID
  592. type: integer
  593. marketmaxsub:
  594. description: 市价最大偏移范围
  595. type: number
  596. memberuserid:
  597. description: 所属会员UserID
  598. type: integer
  599. openexchagechargevalue:
  600. description: 建仓交易所手续费设置值
  601. type: number
  602. openfeealgorithm:
  603. description: 建仓手续费收取方式 1:比率 2:固定
  604. type: integer
  605. openfreezecharge:
  606. description: 开仓冻结手续费(先建后平操作,需要记录)
  607. type: number
  608. openmemberchargevalue:
  609. description: 建仓会员手续费设置值
  610. type: number
  611. openqty:
  612. description: 开仓数量(先建后平操作,需要记录)
  613. type: integer
  614. opentradeqty:
  615. description: 开仓成交数量(先建后平操作,需要记录)
  616. type: integer
  617. openunfreezecharge:
  618. description: 开仓解冻手续费(先建后平操作,需要记录)
  619. type: number
  620. operatetype:
  621. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  622. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  623. 15:管理端协议转让
  624. type: integer
  625. operatorid:
  626. description: 登录账号(LoginID)
  627. type: integer
  628. optiontype:
  629. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  630. type: integer
  631. orderprice:
  632. description: 委托价格
  633. type: number
  634. orderqty:
  635. description: 委托数量
  636. type: integer
  637. ordersrc:
  638. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  639. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  640. type: integer
  641. orderstatus:
  642. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  643. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  644. 16:成交失败违约(荷兰式竞拍专用)
  645. type: integer
  646. ordertime:
  647. description: 委托时间
  648. type: string
  649. preexerciseprice:
  650. description: 预申报价格
  651. type: number
  652. premium:
  653. description: 权利金
  654. type: number
  655. preorderid:
  656. description: 关联预埋单号(止盈止损单时填写)
  657. type: integer
  658. pricemode:
  659. description: '取价方式 - 1:市价 2: 限价'
  660. type: integer
  661. quoteid:
  662. description: 报价单ID
  663. type: integer
  664. relatedid:
  665. description: 关联单号(交割单)
  666. type: integer
  667. retcode:
  668. description: 错误代码
  669. type: integer
  670. sessionid:
  671. description: 会话ID
  672. type: integer
  673. strorderid:
  674. description: 委托单号
  675. type: string
  676. tradedate:
  677. description: 交易日(yyyyMMdd)
  678. type: string
  679. tradeproperty:
  680. description: 交易属性
  681. type: integer
  682. tradeqty:
  683. description: 成交数量
  684. type: integer
  685. unfreezecharge:
  686. description: 解冻手续费
  687. type: number
  688. unfreezemargin:
  689. description: 解冻保证金
  690. type: number
  691. updatetime:
  692. description: 更新时间
  693. type: string
  694. uuid:
  695. description: 发起端唯一id
  696. type: string
  697. validtime:
  698. description: 有效期限
  699. type: string
  700. validtype:
  701. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  702. type: integer
  703. volumetype:
  704. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  705. type: integer
  706. required:
  707. - accountid
  708. - buildtype
  709. - buyorsell
  710. - goodsid
  711. - marketid
  712. - memberuserid
  713. - operatetype
  714. - orderqty
  715. - ordertime
  716. - pricemode
  717. - strorderid
  718. - tradedate
  719. - validtype
  720. type: object
  721. cptrade.QueryMyCPTradeGoodsRsp:
  722. properties:
  723. accountid:
  724. description: 卖方账户ID
  725. type: integer
  726. agreeunit:
  727. description: 合约单位
  728. type: number
  729. applyid:
  730. description: 关联申请ID
  731. type: integer
  732. attachmenturl:
  733. description: 附件地址
  734. type: string
  735. createtime:
  736. description: 创建时间
  737. type: string
  738. currencyid:
  739. description: 报价货币ID
  740. type: integer
  741. decimalplace:
  742. description: 报价小数位
  743. type: integer
  744. endtime:
  745. description: 预售结束时间
  746. type: string
  747. floorprice:
  748. description: 底价[大宗式竞拍]
  749. type: number
  750. goodscode:
  751. description: 商品代码(预售)
  752. type: string
  753. goodsdetail:
  754. description: 详情[大宗]
  755. type: string
  756. goodsid:
  757. description: 商品ID(自增ID SEQ_GOODS)
  758. type: integer
  759. goodsname:
  760. description: 商品名称(预售)
  761. type: string
  762. goodunit:
  763. description: 报价单位
  764. type: string
  765. goodunitid:
  766. description: 报价单位ID
  767. type: integer
  768. marketid:
  769. description: 所属市场ID
  770. type: integer
  771. marketname:
  772. description: 预售市场名称
  773. type: string
  774. presaledamount:
  775. description: 已预售总金额(预售结束时更新)
  776. type: number
  777. presaledqty:
  778. description: 已预售量(预售结束时更新)
  779. type: integer
  780. presalemode:
  781. description: 预售模式 - 1:一口价 2:大宗式竞拍
  782. type: integer
  783. presaleqty:
  784. description: 预售数量
  785. type: integer
  786. refprice:
  787. description: 参考价格[一口价]
  788. type: number
  789. relatedgoodscode:
  790. description: 商品代码(订单)
  791. type: string
  792. relatedgoodsid:
  793. description: 关联交易合约ID
  794. type: integer
  795. relatedgoodsname:
  796. description: 商品名称(订单)
  797. type: string
  798. relatedmarketid:
  799. description: 关联交易合约市场ID
  800. type: integer
  801. sellstatus:
  802. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  803. type: integer
  804. startprice:
  805. description: 起拍价[大宗式竞拍]
  806. type: number
  807. starttime:
  808. description: 预售开始时间
  809. type: string
  810. tradedate:
  811. description: 交易日(yyyyMMdd)
  812. type: string
  813. tradeprice:
  814. description: 成交价[大宗]
  815. type: number
  816. userid:
  817. description: 卖方用户ID
  818. type: integer
  819. required:
  820. - goodscode
  821. - goodsid
  822. - goodsname
  823. - marketid
  824. - relatedgoodscode
  825. - relatedgoodsname
  826. type: object
  827. cptrade.QueryPresaleGoodsExRsp:
  828. properties:
  829. attachmenturl:
  830. description: 附件地址
  831. type: string
  832. createtime:
  833. description: 创建时间
  834. type: string
  835. endtime:
  836. description: 预售结束时间
  837. type: string
  838. floorprice:
  839. description: 底价[大宗式竞拍]
  840. type: number
  841. goodsdetail:
  842. description: 详情[大宗]
  843. type: string
  844. goodsid:
  845. description: 商品ID(预售)
  846. type: integer
  847. goodunit:
  848. description: 报价单位
  849. type: string
  850. marketid:
  851. description: 预售市场ID - 根据预售模式选择市场
  852. type: integer
  853. presaledamount:
  854. description: 已预售总金额(预售结束时更新)
  855. type: number
  856. presaledqty:
  857. description: 已预售量(预售结束时更新)
  858. type: integer
  859. presalemode:
  860. description: 预售模式 - 1:一口价 2:大宗式竞拍
  861. type: integer
  862. presaleqty:
  863. description: 预售数量
  864. type: integer
  865. refprice:
  866. description: 参考价格[一口价]
  867. type: number
  868. relatedgoodsid:
  869. description: 关联交易合约ID
  870. type: integer
  871. relatedmarketid:
  872. description: 关联交易合约市场ID
  873. type: integer
  874. sellstatus:
  875. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  876. type: integer
  877. startprice:
  878. description: 起拍价[大宗式竞拍]
  879. type: number
  880. starttime:
  881. description: 预售开始时间
  882. type: string
  883. tradedate:
  884. description: 交易日(yyyyMMdd)
  885. type: string
  886. tradeprice:
  887. description: 成交价[大宗]
  888. type: number
  889. required:
  890. - goodsid
  891. type: object
  892. delivery.QueryDeliveryRelationRsp:
  893. properties:
  894. begindate:
  895. description: 起始日期(yyyyMMdd)
  896. type: string
  897. buytemplateid:
  898. description: 买履约计划模板ID
  899. type: integer
  900. deliverygoodscode:
  901. description: 品种代码
  902. type: string
  903. deliverygoodsid:
  904. description: 交割商品
  905. type: integer
  906. deliverygoodsname:
  907. description: 品种名称
  908. type: string
  909. deliverymode:
  910. description: 交割方式 - 1:点选式 2:申报式
  911. type: integer
  912. deliverypricerule:
  913. description: 交割价规则- 1:行情价 2:建仓价
  914. type: integer
  915. deliverytype:
  916. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  917. type: integer
  918. enddate:
  919. description: 结束日期(yyyyMMdd)
  920. type: string
  921. enumdicname:
  922. description: 品类单位名称
  923. type: string
  924. goodscode:
  925. description: 商品代码
  926. type: string
  927. goodsid:
  928. description: 交易合约ID
  929. type: integer
  930. goodsname:
  931. description: 商品名称
  932. type: string
  933. marketid:
  934. description: 市场ID
  935. type: integer
  936. mindeliveryqty:
  937. description: 最小交割系数(K)
  938. type: integer
  939. p2deliveryprice:
  940. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  941. type: number
  942. p2deliveryratio:
  943. description: P2合约系数(p)
  944. type: integer
  945. p2goodsid:
  946. description: P2合约ID
  947. type: integer
  948. p2pricemode:
  949. description: P2合约价格方式 - 1:商品价 2:固定值
  950. type: integer
  951. pdeliveryprice:
  952. description: P合约价格(商品价时填写0,固定值时填写固定值)
  953. type: number
  954. pdeliveryratio:
  955. description: P合约系数(n)
  956. type: integer
  957. pgoodscode:
  958. description: p合约代码
  959. type: string
  960. pgoodsid:
  961. description: P合约ID
  962. type: integer
  963. ppricemode:
  964. description: P合约价格方式 - 1:商品价 2:固定值
  965. type: integer
  966. rratio:
  967. description: 兑换系数(R)
  968. type: integer
  969. rratio1:
  970. description: 兑换系数(交易合约)(R1)
  971. type: integer
  972. rratio2:
  973. description: 兑换系数(仓单标准)(R2)
  974. type: integer
  975. selltemplateid:
  976. description: 卖履约计划模板ID
  977. type: integer
  978. wrstandardid:
  979. description: 仓单标准ID
  980. type: integer
  981. xdeliveryratio:
  982. description: 交易合约系数(m)
  983. type: integer
  984. required:
  985. - begindate
  986. - enddate
  987. - goodsid
  988. - mindeliveryqty
  989. - xdeliveryratio
  990. type: object
  991. ermcp.ExposureDetailRsp:
  992. properties:
  993. areauserid:
  994. description: 机构ID
  995. type: integer
  996. changeQty:
  997. description: 套保变动量
  998. type: number
  999. contracttype:
  1000. description: 现货合同类型 - 1:采购 -1:销售
  1001. type: integer
  1002. convertfactor:
  1003. description: 标仓系数
  1004. type: number
  1005. convertratio:
  1006. description: 套保系数
  1007. type: number
  1008. createtime:
  1009. description: 时间
  1010. type: string
  1011. enumdicname:
  1012. description: 现货商品单位名称
  1013. type: string
  1014. logtype:
  1015. description: 类型 - 1:套保计划 2:现货合同
  1016. type: integer
  1017. middlegoodsId:
  1018. description: 套保商品id
  1019. type: integer
  1020. middlegoodscode:
  1021. description: 套保商品代码
  1022. type: string
  1023. middlegoodsname:
  1024. description: 套保商品名称
  1025. type: string
  1026. qty:
  1027. description: 数量
  1028. type: number
  1029. relateNo:
  1030. description: 现货合同/套保计划编号
  1031. type: string
  1032. wrstandardcode:
  1033. description: 现货商品代码
  1034. type: string
  1035. wrstandardid:
  1036. description: 现货商品ID
  1037. type: integer
  1038. wrstandardname:
  1039. description: 现货商品名称
  1040. type: string
  1041. type: object
  1042. ermcp.ExposureHedgePosDetailRsp:
  1043. properties:
  1044. buyorsell:
  1045. description: 买卖方向 0-买 1-卖
  1046. type: integer
  1047. channelbuildtype:
  1048. description: 开平方向 1-建仓 2-平仓
  1049. type: integer
  1050. goodscode:
  1051. description: 商品代码
  1052. type: string
  1053. goodsname:
  1054. description: 商品名称
  1055. type: string
  1056. hedgegoodsid:
  1057. description: 商品id
  1058. type: integer
  1059. tradeqty:
  1060. description: 数量(成交数量)
  1061. type: integer
  1062. tradetime:
  1063. description: 时间(成交时间)
  1064. type: string
  1065. type: object
  1066. ermcp.ExposureHedgePositionRsp:
  1067. properties:
  1068. accountid:
  1069. description: 资金账号[外部母账户]
  1070. type: integer
  1071. curbuyposition:
  1072. description: 期末买头寸
  1073. type: integer
  1074. cursellposition:
  1075. description: 期末卖头寸
  1076. type: integer
  1077. curtdbuyposition:
  1078. description: 期末今日买头寸
  1079. type: integer
  1080. curtdsellposition:
  1081. description: 期末今日卖头寸
  1082. type: integer
  1083. curydbuyposition:
  1084. description: 期末上日买头寸
  1085. type: integer
  1086. curydsellposition:
  1087. description: 期末上日卖头寸
  1088. type: integer
  1089. decreaseqty:
  1090. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  1091. type: integer
  1092. fretdbuyposition:
  1093. description: 冻结今日买头寸
  1094. type: integer
  1095. fretdsellposition:
  1096. description: 冻结今日卖头寸
  1097. type: integer
  1098. freydbuyposition:
  1099. description: 冻结上日买头寸
  1100. type: integer
  1101. freydsellposition:
  1102. description: 冻结上日卖头寸
  1103. type: integer
  1104. goodscode:
  1105. description: 商品代码
  1106. type: string
  1107. goodsid:
  1108. description: 商品id
  1109. type: integer
  1110. goodsname:
  1111. description: 商品名称
  1112. type: string
  1113. hedgeaccountcode:
  1114. description: 对冲账号
  1115. type: string
  1116. hedgegoodsid:
  1117. description: 对冲合约ID
  1118. type: integer
  1119. increaseqty:
  1120. description: 增加数量 = 期末买头寸 - 期初买头寸
  1121. type: integer
  1122. marketid:
  1123. description: 市场ID
  1124. type: integer
  1125. relateduserid:
  1126. description: 关联用户id
  1127. type: integer
  1128. totalcurqty:
  1129. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  1130. type: integer
  1131. totalydqty:
  1132. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  1133. type: integer
  1134. tradedate:
  1135. description: 交易日(yyyyMMdd)
  1136. type: string
  1137. ydbuyposition:
  1138. description: 期初买头寸
  1139. type: integer
  1140. ydsellposition:
  1141. description: 期初卖头寸
  1142. type: integer
  1143. type: object
  1144. ermcp.ExposureSpotDetailRsp:
  1145. properties:
  1146. contracttype:
  1147. description: 合同类型 1-采购 -1-销售
  1148. type: integer
  1149. createtime:
  1150. description: 创建时间
  1151. type: string
  1152. enumdicname:
  1153. description: 现货商品单位名称
  1154. type: string
  1155. logtype:
  1156. description: 记录类型 1-套保 2-现货合同
  1157. type: integer
  1158. qty:
  1159. description: 数量
  1160. type: number
  1161. recordname:
  1162. description: 类型名称
  1163. type: string
  1164. relatedid:
  1165. description: 套保计划ID/现货合同ID
  1166. type: string
  1167. relatedno:
  1168. description: 编号
  1169. type: string
  1170. strtime:
  1171. description: 时间
  1172. type: string
  1173. wrstandardcode:
  1174. description: 现货商品代码
  1175. type: string
  1176. wrstandardname:
  1177. description: 现货商品名称
  1178. type: string
  1179. type: object
  1180. ermcp.ExposureSpotRsp:
  1181. properties:
  1182. areauserid:
  1183. description: 所属机构
  1184. type: integer
  1185. decreaseqty:
  1186. description: 减少数量=-(销售已定价数量+采购计划数量)
  1187. type: number
  1188. increaseqty:
  1189. description: 增加数量=销售计划数量+采购已定价数量
  1190. type: number
  1191. oritoalspotqty:
  1192. description: 昨日数量
  1193. type: number
  1194. totalspotqty:
  1195. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  1196. type: number
  1197. updatetime:
  1198. description: 更新时间
  1199. type: string
  1200. wrstandardcode:
  1201. description: 现货品种代码
  1202. type: string
  1203. wrstandardid:
  1204. description: 现货商品ID
  1205. type: integer
  1206. wrstandardname:
  1207. description: 现货品种
  1208. type: string
  1209. type: object
  1210. ermcp.HisExposureRsp:
  1211. properties:
  1212. data:
  1213. description: 历史敞口
  1214. items:
  1215. $ref: '#/definitions/models.ErmcpHisExposure'
  1216. type: array
  1217. enumdicname:
  1218. description: 单位名称
  1219. type: string
  1220. middlegoodscode:
  1221. description: 套保品种代码
  1222. type: string
  1223. middlegoodsid:
  1224. description: 套保品种ID
  1225. type: integer
  1226. middlegoodsname:
  1227. description: 套保品种名称
  1228. type: string
  1229. type: object
  1230. ermcp.PendingAuditCntRsp:
  1231. properties:
  1232. areastockqty:
  1233. description: '待审核数量: 库存申请'
  1234. type: integer
  1235. businessdjqty:
  1236. description: '待审核数量: 点价'
  1237. type: integer
  1238. businessfpqty:
  1239. description: '待审核数量: 发票'
  1240. type: integer
  1241. businessjsqty:
  1242. description: '待审核数量: 结算'
  1243. type: integer
  1244. businesskxqty:
  1245. description: '待审核数量: 款项'
  1246. type: integer
  1247. hedgeplanqty:
  1248. description: '待审核数量: 套保计划'
  1249. type: integer
  1250. spotcontractqty:
  1251. description: '待审核数量: 现货合同'
  1252. type: integer
  1253. userqty:
  1254. description: '待审核数量: 用户'
  1255. type: integer
  1256. type: object
  1257. ermcp.QryAvalidGPRsp:
  1258. properties:
  1259. goodsgroupid:
  1260. description: 期货品种id
  1261. type: integer
  1262. goodsgroupname:
  1263. description: 期货品种名称
  1264. type: string
  1265. goodunitid:
  1266. description: 品种单位id
  1267. type: integer
  1268. goodunitname:
  1269. description: 品种单位名称
  1270. type: string
  1271. outergroupcode:
  1272. description: 期货品种代码
  1273. type: string
  1274. type: object
  1275. ermcp.QryBusinessDjRsp:
  1276. properties:
  1277. amount:
  1278. description: 点价金额=(点价价格+升贴水)*点价数量
  1279. type: number
  1280. applyid:
  1281. description: 申请人
  1282. type: string
  1283. applyname:
  1284. description: 申请人名称
  1285. type: string
  1286. applystatus:
  1287. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1288. type: integer
  1289. applytime:
  1290. description: 申请时间
  1291. type: string
  1292. attachurl:
  1293. description: 附件
  1294. type: string
  1295. auditid:
  1296. description: 审核人ID
  1297. type: string
  1298. auditname:
  1299. description: 审核人名称
  1300. type: string
  1301. auditremark:
  1302. description: 审核备注
  1303. type: string
  1304. audittime:
  1305. description: 审核时间
  1306. type: string
  1307. buyusername:
  1308. description: 采购方名称
  1309. type: string
  1310. contractno:
  1311. description: 合同编号
  1312. type: string
  1313. contractstatus:
  1314. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1315. type: integer
  1316. contracttype:
  1317. description: 现货合同类型 - 1:采购 -1:销售
  1318. type: integer
  1319. deliverygoodscode:
  1320. description: 现货品种代码
  1321. type: string
  1322. deliverygoodsid:
  1323. description: 现货商品ID
  1324. type: integer
  1325. deliverygoodsname:
  1326. description: 现货品种名称
  1327. type: string
  1328. enumdicname:
  1329. description: 单位名称
  1330. type: string
  1331. goodscode:
  1332. description: 点价合约
  1333. type: string
  1334. goodsname:
  1335. description: 商品名称
  1336. type: string
  1337. operateapplyid:
  1338. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1339. type: string
  1340. operateapplytype:
  1341. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1342. type: integer
  1343. pricedPrice:
  1344. description: 点价价格(非必填)
  1345. type: number
  1346. pricedQty:
  1347. description: 点价数量(非必填)
  1348. type: number
  1349. pricemove:
  1350. description: 升贴水
  1351. type: number
  1352. pricetype:
  1353. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1354. type: integer
  1355. relatedid:
  1356. description: 现货合同ID
  1357. type: string
  1358. sellusername:
  1359. description: 销售方名字
  1360. type: string
  1361. userid:
  1362. description: 用户ID
  1363. type: integer
  1364. wrstandardcode:
  1365. description: 品类代码
  1366. type: string
  1367. wrstandardid:
  1368. description: 品类id
  1369. type: integer
  1370. wrstandardname:
  1371. description: 品类名称
  1372. type: string
  1373. type: object
  1374. ermcp.QryBussinessFpRsp:
  1375. properties:
  1376. applyid:
  1377. description: 申请人
  1378. type: string
  1379. applyname:
  1380. description: 申请人名称
  1381. type: string
  1382. applystatus:
  1383. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1384. type: integer
  1385. applytime:
  1386. description: 申请时间
  1387. type: string
  1388. attachurl:
  1389. description: 附件
  1390. type: string
  1391. auditid:
  1392. description: 审核人ID
  1393. type: string
  1394. auditname:
  1395. description: 审核人名称
  1396. type: string
  1397. auditremark:
  1398. description: 审核备注
  1399. type: string
  1400. audittime:
  1401. description: 审核时间
  1402. type: string
  1403. buyusername:
  1404. description: 采购方名称
  1405. type: string
  1406. contractno:
  1407. description: 合同编号
  1408. type: string
  1409. contractstatus:
  1410. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1411. type: integer
  1412. contracttype:
  1413. description: 现货合同类型 - 1:采购 -1:销售
  1414. type: integer
  1415. deliverygoodscode:
  1416. description: 现货品种代码
  1417. type: string
  1418. deliverygoodsid:
  1419. description: 现货商品ID
  1420. type: integer
  1421. deliverygoodsname:
  1422. description: 现货品种名称
  1423. type: string
  1424. enumdicname:
  1425. description: 单位名称
  1426. type: string
  1427. goodscode:
  1428. description: 点价合约
  1429. type: string
  1430. goodsname:
  1431. description: 商品名称
  1432. type: string
  1433. invoiceamount:
  1434. description: 已开收票金额(销售为开票,采购为收票)
  1435. type: number
  1436. operateapplyid:
  1437. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1438. type: string
  1439. operateapplytype:
  1440. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1441. type: integer
  1442. pricemove:
  1443. description: 升贴水
  1444. type: number
  1445. pricetype:
  1446. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1447. type: integer
  1448. relatedid:
  1449. description: 现货合同ID
  1450. type: string
  1451. sellusername:
  1452. description: 销售方名字
  1453. type: string
  1454. userid:
  1455. description: 用户ID
  1456. type: integer
  1457. wrstandardcode:
  1458. description: 品类代码
  1459. type: string
  1460. wrstandardid:
  1461. description: 品类id
  1462. type: integer
  1463. wrstandardname:
  1464. description: 品类名称
  1465. type: string
  1466. type: object
  1467. ermcp.QryBussinessJsExRsp:
  1468. properties:
  1469. applyid:
  1470. description: 申请人
  1471. type: string
  1472. applyname:
  1473. description: 申请人名称
  1474. type: string
  1475. applystatus:
  1476. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1477. type: integer
  1478. applytime:
  1479. description: 申请时间
  1480. type: string
  1481. attachurl:
  1482. description: 附件
  1483. type: string
  1484. auditid:
  1485. description: 审核人ID
  1486. type: string
  1487. auditname:
  1488. description: 审核人名称
  1489. type: string
  1490. auditremark:
  1491. description: 审核备注
  1492. type: string
  1493. audittime:
  1494. description: 审核时间
  1495. type: string
  1496. buyusername:
  1497. description: 采购方名称
  1498. type: string
  1499. contractno:
  1500. description: 合同编号
  1501. type: string
  1502. contractstatus:
  1503. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1504. type: integer
  1505. contracttype:
  1506. description: 现货合同类型 - 1:采购 -1:销售
  1507. type: integer
  1508. deliverygoodscode:
  1509. description: 现货品种代码
  1510. type: string
  1511. deliverygoodsid:
  1512. description: 现货商品ID
  1513. type: integer
  1514. deliverygoodsname:
  1515. description: 现货品种名称
  1516. type: string
  1517. enumdicname:
  1518. description: 单位名称
  1519. type: string
  1520. goodscode:
  1521. description: 点价合约
  1522. type: string
  1523. goodsname:
  1524. description: 商品名称
  1525. type: string
  1526. operateapplyid:
  1527. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1528. type: string
  1529. operateapplytype:
  1530. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1531. type: integer
  1532. pricemove:
  1533. description: 升贴水
  1534. type: number
  1535. pricetype:
  1536. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1537. type: integer
  1538. reckontype:
  1539. description: 结算类型
  1540. type: string
  1541. reckonvalue:
  1542. description: 值
  1543. type: number
  1544. relatedid:
  1545. description: 现货合同ID
  1546. type: string
  1547. sellusername:
  1548. description: 销售方名字
  1549. type: string
  1550. userid:
  1551. description: 用户ID
  1552. type: integer
  1553. wrstandardcode:
  1554. description: 品类代码
  1555. type: string
  1556. wrstandardid:
  1557. description: 品类id
  1558. type: integer
  1559. wrstandardname:
  1560. description: 品类名称
  1561. type: string
  1562. type: object
  1563. ermcp.QryBussinessJsRsp:
  1564. properties:
  1565. addmargin:
  1566. description: 追加保证金(非必填)
  1567. type: number
  1568. applyid:
  1569. description: 申请人
  1570. type: string
  1571. applyname:
  1572. description: 申请人名称
  1573. type: string
  1574. applystatus:
  1575. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1576. type: integer
  1577. applytime:
  1578. description: 申请时间
  1579. type: string
  1580. attachurl:
  1581. description: 附件
  1582. type: string
  1583. auditid:
  1584. description: 审核人ID
  1585. type: string
  1586. auditname:
  1587. description: 审核人名称
  1588. type: string
  1589. auditremark:
  1590. description: 审核备注
  1591. type: string
  1592. audittime:
  1593. description: 审核时间
  1594. type: string
  1595. buyusername:
  1596. description: 采购方名称
  1597. type: string
  1598. contractno:
  1599. description: 合同编号
  1600. type: string
  1601. contractstatus:
  1602. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1603. type: integer
  1604. contracttype:
  1605. description: 现货合同类型 - 1:采购 -1:销售
  1606. type: integer
  1607. decmargin:
  1608. description: 减少保证金(非必填)
  1609. type: number
  1610. deliverygoodscode:
  1611. description: 现货品种代码
  1612. type: string
  1613. deliverygoodsid:
  1614. description: 现货商品ID
  1615. type: integer
  1616. deliverygoodsname:
  1617. description: 现货品种名称
  1618. type: string
  1619. enumdicname:
  1620. description: 单位名称
  1621. type: string
  1622. goodscode:
  1623. description: 点价合约
  1624. type: string
  1625. goodsname:
  1626. description: 商品名称
  1627. type: string
  1628. operateapplyid:
  1629. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1630. type: string
  1631. operateapplytype:
  1632. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1633. type: integer
  1634. pricemove:
  1635. description: 升贴水
  1636. type: number
  1637. pricetype:
  1638. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1639. type: integer
  1640. reckonadjustamount:
  1641. description: 结算调整金额(非必填)
  1642. type: number
  1643. reckonosamount:
  1644. description: 结算溢短金额(非必填)
  1645. type: number
  1646. reckonotheramount:
  1647. description: 结算其他费用(非必填)
  1648. type: number
  1649. reckonrealqty:
  1650. description: 结算实际数量(非必填)
  1651. type: number
  1652. relatedid:
  1653. description: 现货合同ID
  1654. type: string
  1655. sellusername:
  1656. description: 销售方名字
  1657. type: string
  1658. userid:
  1659. description: 用户ID
  1660. type: integer
  1661. wrstandardcode:
  1662. description: 品类代码
  1663. type: string
  1664. wrstandardid:
  1665. description: 品类id
  1666. type: integer
  1667. wrstandardname:
  1668. description: 品类名称
  1669. type: string
  1670. type: object
  1671. ermcp.QryBussinessKxRsp:
  1672. properties:
  1673. applyid:
  1674. description: 申请人
  1675. type: string
  1676. applyname:
  1677. description: 申请人名称
  1678. type: string
  1679. applystatus:
  1680. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1681. type: integer
  1682. applytime:
  1683. description: 申请时间
  1684. type: string
  1685. attachurl:
  1686. description: 附件
  1687. type: string
  1688. auditid:
  1689. description: 审核人ID
  1690. type: string
  1691. auditname:
  1692. description: 审核人名称
  1693. type: string
  1694. auditremark:
  1695. description: 审核备注
  1696. type: string
  1697. audittime:
  1698. description: 审核时间
  1699. type: string
  1700. buyusername:
  1701. description: 采购方名称
  1702. type: string
  1703. contractno:
  1704. description: 合同编号
  1705. type: string
  1706. contractstatus:
  1707. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1708. type: integer
  1709. contracttype:
  1710. description: 现货合同类型 - 1:采购 -1:销售
  1711. type: integer
  1712. deductamount:
  1713. description: 退款(非必填)
  1714. type: number
  1715. deliverygoodscode:
  1716. description: 现货品种代码
  1717. type: string
  1718. deliverygoodsid:
  1719. description: 现货商品ID
  1720. type: integer
  1721. deliverygoodsname:
  1722. description: 现货品种名称
  1723. type: string
  1724. enumdicname:
  1725. description: 单位名称
  1726. type: string
  1727. goodscode:
  1728. description: 点价合约
  1729. type: string
  1730. goodsname:
  1731. description: 商品名称
  1732. type: string
  1733. kxtype:
  1734. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1735. type: integer
  1736. operateapplyid:
  1737. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1738. type: string
  1739. operateapplytype:
  1740. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1741. type: integer
  1742. payamount:
  1743. description: 收付款(非必填)
  1744. type: number
  1745. pricemove:
  1746. description: 升贴水
  1747. type: number
  1748. pricetype:
  1749. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1750. type: integer
  1751. relatedid:
  1752. description: 现货合同ID
  1753. type: string
  1754. sellusername:
  1755. description: 销售方名字
  1756. type: string
  1757. userid:
  1758. description: 用户ID
  1759. type: integer
  1760. wrstandardcode:
  1761. description: 品类代码
  1762. type: string
  1763. wrstandardid:
  1764. description: 品类id
  1765. type: integer
  1766. wrstandardname:
  1767. description: 品类名称
  1768. type: string
  1769. type: object
  1770. ermcp.QryGGCovertCfgRsp:
  1771. properties:
  1772. convertratio:
  1773. description: 折算系数
  1774. type: number
  1775. destgoodsgroupid:
  1776. description: 目标品种ID
  1777. type: integer
  1778. dstcode:
  1779. description: 目录品种代码
  1780. type: string
  1781. dstexchangecode:
  1782. description: 目标期货交易所
  1783. type: string
  1784. dstname:
  1785. description: 目标品种名称
  1786. type: string
  1787. dstunitid:
  1788. description: 目标品种单位ID
  1789. type: integer
  1790. dstunitidname:
  1791. description: 目标品种单位名称
  1792. type: string
  1793. modifytime:
  1794. description: 修改时间
  1795. type: string
  1796. srccode:
  1797. description: 源品种代码
  1798. type: string
  1799. srcexchangecode:
  1800. description: 源期货交易所
  1801. type: string
  1802. srcgoodsgroupid:
  1803. description: 源品种ID
  1804. type: integer
  1805. srcname:
  1806. description: 源品种名称
  1807. type: string
  1808. srcunitid:
  1809. description: 源品种单位ID
  1810. type: integer
  1811. srcunitidname:
  1812. description: 源品种单位名称
  1813. type: string
  1814. type: object
  1815. ermcp.QryMGChangeLogRsp:
  1816. properties:
  1817. aftervalue:
  1818. description: 变更后
  1819. type: number
  1820. applyid:
  1821. description: 操作人
  1822. type: integer
  1823. applyname:
  1824. description: 操作人名称
  1825. type: string
  1826. applysrc:
  1827. description: 操作来源 - 1:管理端 2:终端
  1828. type: integer
  1829. beforevalue:
  1830. description: 变更前
  1831. type: number
  1832. changelogtype:
  1833. description: 变更流水类型 - 1:套保比率变更
  1834. type: integer
  1835. handlestatus:
  1836. description: 处理状态
  1837. type: integer
  1838. logdatetime:
  1839. description: 流水日期
  1840. type: string
  1841. logid:
  1842. description: 流水ID
  1843. type: integer
  1844. logremark:
  1845. description: 流水备注
  1846. type: string
  1847. middlegoodsid:
  1848. description: 套保品种ID
  1849. type: integer
  1850. tradedate:
  1851. description: 交易日(yyyyMMdd)
  1852. type: string
  1853. updatetime:
  1854. description: 更新时间
  1855. type: string
  1856. type: object
  1857. ermcp.QryMiddleGoodsDetailRsp:
  1858. properties:
  1859. cvList:
  1860. description: 期货品种折算列表
  1861. items:
  1862. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1863. type: array
  1864. mg:
  1865. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1866. description: 套保品种基本信息
  1867. wrcList:
  1868. description: 现货品种列表(现货商品折算配置)
  1869. items:
  1870. $ref: '#/definitions/models.WRSConverTDetail'
  1871. type: array
  1872. type: object
  1873. ermcp.QryMiddleGoodsRsp:
  1874. properties:
  1875. areauserid:
  1876. description: 机构用户ID
  1877. type: integer
  1878. createtime:
  1879. description: 修改时间
  1880. type: string
  1881. enumdicname:
  1882. description: 单位名称
  1883. type: string
  1884. evaluateratio:
  1885. description: 估价系数
  1886. type: number
  1887. goodsgroupid:
  1888. description: 关联期货品种ID
  1889. type: integer
  1890. goodsunitid:
  1891. description: 单位ID
  1892. type: integer
  1893. isvalid:
  1894. description: 状态 0-无效(停用) 1-有效(正常)
  1895. type: integer
  1896. middlegoodscode:
  1897. description: 套保品种代码
  1898. type: string
  1899. middlegoodsid:
  1900. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  1901. type: integer
  1902. middlegoodsname:
  1903. description: 套保品种名称
  1904. type: string
  1905. modifytime:
  1906. description: 修改时间
  1907. type: string
  1908. needarbitrageratio:
  1909. description: 套利比例
  1910. type: number
  1911. needhedgeratio:
  1912. description: 套保比率
  1913. type: number
  1914. qtydecimalplace:
  1915. description: 数量小数位
  1916. type: integer
  1917. relatedgoodsid:
  1918. description: 关联交易商品ID
  1919. type: integer
  1920. relatedgoodstype:
  1921. description: 关联商品类型 - 1:期货合约 2:现货品种
  1922. type: integer
  1923. remark:
  1924. description: 备注
  1925. type: string
  1926. type: object
  1927. ermcp.QryOPLogRsp:
  1928. properties:
  1929. aftervalue:
  1930. description: 变更后
  1931. type: number
  1932. applyid:
  1933. description: 操作人ID
  1934. type: string
  1935. applyname:
  1936. description: 操作人名称
  1937. type: string
  1938. beforevalue:
  1939. description: 变更前
  1940. type: number
  1941. biztype:
  1942. description: 业务类型 - 1:套保计划 2:现货合同
  1943. type: integer
  1944. contracttype:
  1945. description: 现货合同类型 - 1:采购 -1:销售
  1946. type: integer
  1947. logvalue:
  1948. description: 数值
  1949. type: number
  1950. operatelogtype:
  1951. description: 操作流水类型
  1952. type: integer
  1953. operatelogtypedesc:
  1954. description: 操作流水类型名称
  1955. type: string
  1956. relatedid:
  1957. description: 现货合同ID\套保计划
  1958. type: string
  1959. updatetime:
  1960. description: 更新时间
  1961. type: string
  1962. type: object
  1963. ermcp.QryUserInfoRsp:
  1964. properties:
  1965. address:
  1966. description: 通讯地址
  1967. type: string
  1968. attachment1:
  1969. description: 附件1
  1970. type: string
  1971. audittime:
  1972. description: 审核时间
  1973. type: string
  1974. cardbackphotourl:
  1975. description: 证件反面图片地址
  1976. type: string
  1977. cardfrontphotourl:
  1978. description: 证件正面图片地址
  1979. type: string
  1980. cardnum:
  1981. description: 证件号码
  1982. type: string
  1983. cardtype:
  1984. description: 证件类型
  1985. type: integer
  1986. cardtypename:
  1987. description: 证件类型名称
  1988. type: string
  1989. cityid:
  1990. description: 市
  1991. type: integer
  1992. contactname:
  1993. description: 联系人
  1994. type: string
  1995. countryid:
  1996. description: 国家
  1997. type: integer
  1998. createtime:
  1999. description: 创建时间
  2000. type: string
  2001. customername:
  2002. description: 企业名称
  2003. type: string
  2004. districtid:
  2005. description: 区域
  2006. type: integer
  2007. email:
  2008. description: 邮件
  2009. type: string
  2010. legalpersonname:
  2011. description: 法人姓名(企业)
  2012. type: string
  2013. memberuserid:
  2014. description: 所属机构ID
  2015. type: integer
  2016. mobile:
  2017. description: 手机号码
  2018. type: string
  2019. modifytime:
  2020. description: 修改时间
  2021. type: string
  2022. nickname:
  2023. description: 昵称
  2024. type: string
  2025. provinceid:
  2026. description: 省
  2027. type: integer
  2028. remark:
  2029. description: 备注
  2030. type: string
  2031. status:
  2032. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  2033. type: integer
  2034. statusdesc:
  2035. description: 账户状态中文描述
  2036. type: string
  2037. taxpayernum:
  2038. description: 纳税人识别号
  2039. type: string
  2040. telphone:
  2041. description: 联系电话
  2042. type: string
  2043. userid:
  2044. description: 用户ID
  2045. type: integer
  2046. userinfotype:
  2047. description: 客户类型
  2048. type: string
  2049. type: object
  2050. ermcp.QryWarehouseRsp:
  2051. properties:
  2052. address:
  2053. description: 详细地址
  2054. type: string
  2055. areauserid:
  2056. description: 所属机构
  2057. type: integer
  2058. autoid:
  2059. description: 自增ID(仓库ID)
  2060. type: integer
  2061. cityid:
  2062. description: 市
  2063. type: integer
  2064. contactname:
  2065. description: 联系人
  2066. type: string
  2067. contactnum:
  2068. description: 联系电话
  2069. type: string
  2070. countryid:
  2071. description: 国家
  2072. type: integer
  2073. createtime:
  2074. description: 创建时间
  2075. type: string
  2076. districtid:
  2077. description: 区
  2078. type: integer
  2079. hasvideo:
  2080. description: 是否有视频 - 0:无 1:有
  2081. type: integer
  2082. provinceid:
  2083. description: 省
  2084. type: integer
  2085. remark:
  2086. description: 审核备注
  2087. type: string
  2088. videourl:
  2089. description: 视频地址
  2090. type: string
  2091. warehousecode:
  2092. description: 仓库代码
  2093. type: string
  2094. warehousename:
  2095. description: 仓库名称
  2096. type: string
  2097. warehousestatus:
  2098. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  2099. type: integer
  2100. warehousetype:
  2101. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  2102. type: integer
  2103. type: object
  2104. ermcp.QueryErmcpTradePositionRsp:
  2105. properties:
  2106. agreeunit:
  2107. description: 合约单位
  2108. type: number
  2109. buyorsell:
  2110. description: 方向 - 0:买 1:卖
  2111. type: integer
  2112. curpositionqty:
  2113. description: 持仓(总仓数量, 期末头寸)
  2114. type: integer
  2115. curtdposition:
  2116. description: 今仓数量(期末今日头寸)
  2117. type: integer
  2118. curtdpositionenabled:
  2119. description: 今仓可用
  2120. type: integer
  2121. decimalplace:
  2122. description: 报价小数位
  2123. type: integer
  2124. enableqty:
  2125. description: 可用(总仓可用)
  2126. type: integer
  2127. exexchangename:
  2128. description: 外部交易所名称
  2129. type: string
  2130. exexehangecode:
  2131. description: 外部交易所代码
  2132. type: string
  2133. exexehangeid:
  2134. description: 外部交易所id
  2135. type: integer
  2136. goodscode:
  2137. description: 商品代码(内部)
  2138. type: string
  2139. goodsid:
  2140. description: 商品ID(自增ID SEQ_GOODS)
  2141. type: integer
  2142. goodsname:
  2143. description: 商品名称
  2144. type: string
  2145. last:
  2146. description: 现价
  2147. type: number
  2148. marketid:
  2149. description: 所属市场ID
  2150. type: integer
  2151. openaverageprice:
  2152. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  2153. type: number
  2154. opencost:
  2155. description: 开仓成本
  2156. type: number
  2157. openpl:
  2158. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  2159. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2160. type: number
  2161. outgoodscode:
  2162. description: 商品代码(外部)
  2163. type: string
  2164. positionaverageprice:
  2165. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  2166. type: number
  2167. positioncost:
  2168. description: 持仓成本
  2169. type: number
  2170. positionpl:
  2171. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  2172. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2173. type: number
  2174. positionplrate:
  2175. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  2176. type: number
  2177. usedmargin:
  2178. description: 占用保证金
  2179. type: number
  2180. type: object
  2181. ermcp.RealtimeExposurePositionRsp:
  2182. properties:
  2183. agreeunit:
  2184. description: 合约单位
  2185. type: string
  2186. areauserid:
  2187. description: 所属机构id
  2188. type: integer
  2189. convertratio:
  2190. description: 期货品种系数(折算系数)
  2191. type: number
  2192. curqty:
  2193. description: 当前持仓
  2194. type: integer
  2195. diffhedgeqty:
  2196. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  2197. type: number
  2198. diffqty:
  2199. description: 持仓变动量=当前持仓-昨日持仓
  2200. type: integer
  2201. goodscode:
  2202. description: 商品代码
  2203. type: string
  2204. goodsid:
  2205. description: 商品id
  2206. type: integer
  2207. goodsname:
  2208. description: 商品名称
  2209. type: string
  2210. middlegoodsid:
  2211. description: 套保商品id
  2212. type: integer
  2213. ydqty:
  2214. description: 昨日持仓
  2215. type: integer
  2216. type: object
  2217. ermcp.RealtimeExposureRsp:
  2218. properties:
  2219. AreaUserID:
  2220. description: 所属机构
  2221. type: integer
  2222. BuyFutureQty:
  2223. description: 买入期货数量
  2224. type: number
  2225. BuyPlanQty:
  2226. description: 采购计划数量
  2227. type: number
  2228. BuyPricedQty:
  2229. description: 采购合同已定价数量
  2230. type: number
  2231. MiddleGoodsCode:
  2232. description: 套保品种代码
  2233. type: string
  2234. MiddleGoodsHedgeRatio:
  2235. description: 套保比例
  2236. type: number
  2237. MiddleGoodsID:
  2238. description: 套保品种
  2239. type: integer
  2240. MiddleGoodsName:
  2241. description: 套保品种名称
  2242. type: string
  2243. NeedHedgeExposoure:
  2244. description: 应套保敞口(套保敞口)
  2245. type: number
  2246. NeedHedgeRatio:
  2247. description: 应套保敞口比例
  2248. type: number
  2249. OriBuyFutureQty:
  2250. description: 期初买入期货数量
  2251. type: number
  2252. OriBuyPlanQty:
  2253. description: 期初采购计划数量
  2254. type: number
  2255. OriBuyPricedQty:
  2256. description: 期初采购合同已定价数量
  2257. type: number
  2258. OriSellFutureQty:
  2259. description: 期初卖出期货数量
  2260. type: number
  2261. OriSellPlanQty:
  2262. description: 期初销售计划数量
  2263. type: number
  2264. OriSellPricedQty:
  2265. description: 期初销售合同已定价数量
  2266. type: number
  2267. OriTotalSpotQty:
  2268. description: 期初现货总量
  2269. type: number
  2270. SellFutureQty:
  2271. description: 卖出期货数量
  2272. type: number
  2273. SellPlanQty:
  2274. description: 销售计划数量
  2275. type: number
  2276. SellPricedQty:
  2277. description: 销售合同已定价数量
  2278. type: number
  2279. TotalExposure:
  2280. description: 总敞口 平安:净敞口
  2281. type: number
  2282. TotalFutureQty:
  2283. description: 期货总量 平安:保值净持仓量
  2284. type: number
  2285. TotalHedgeRatio:
  2286. description: 敞口比例
  2287. type: number
  2288. TotalNeedHedgeQty:
  2289. description: 应套保总量(现货应套保总量)
  2290. type: number
  2291. TotalSpotQty:
  2292. description: 现货总量 平安:采销定价净值
  2293. type: number
  2294. arbitrageqty:
  2295. description: 套利量
  2296. type: number
  2297. diffArbitrageQty:
  2298. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  2299. type: number
  2300. diffExposoureQty:
  2301. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  2302. type: number
  2303. diffFutuQty:
  2304. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  2305. type: number
  2306. diffHedgeQty:
  2307. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  2308. type: number
  2309. diffQty:
  2310. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  2311. type: number
  2312. diffSpotHedgeQty:
  2313. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  2314. type: number
  2315. diffSpotQty:
  2316. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  2317. type: number
  2318. enumdicname:
  2319. description: 单位名称
  2320. type: string
  2321. hedgeqty:
  2322. description: 套保量
  2323. type: number
  2324. needarbitrageqty:
  2325. description: 应套利量
  2326. type: number
  2327. needarbitrageratio:
  2328. description: 套利比例
  2329. type: number
  2330. needhedgeqty:
  2331. description: 应套保量
  2332. type: number
  2333. oriarbitrageqty:
  2334. description: 期初套利量
  2335. type: number
  2336. orihedgeqty:
  2337. description: 期初套保量
  2338. type: number
  2339. orineedhedgeexposoure:
  2340. description: 期初套保敞口
  2341. type: number
  2342. oritotalexposure:
  2343. description: 期初总敞口
  2344. type: number
  2345. oritotalfutureqty:
  2346. description: 期初期货总量
  2347. type: number
  2348. oritotalneedhedgeqty:
  2349. description: 期初现货应套保量
  2350. type: number
  2351. type: object
  2352. erms2.QueryArbitrageStrategyRsp:
  2353. properties:
  2354. applybasis:
  2355. description: 申请基差
  2356. type: number
  2357. asapplyid:
  2358. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  2359. type: string
  2360. asname:
  2361. description: 策略名称
  2362. type: string
  2363. asno:
  2364. description: 策略编号
  2365. type: string
  2366. basischangepl:
  2367. description: 基差变动损益[结算更新]
  2368. type: number
  2369. biztype:
  2370. description: 业务类型 - 1:正向套利 -1:反向套利
  2371. type: integer
  2372. closetradedate:
  2373. description: 完结交易日(yyyyMMdd)
  2374. type: string
  2375. curbasis:
  2376. description: 当前基差[结算更新]
  2377. type: number
  2378. deliverygoodsid:
  2379. description: 现货品种ID
  2380. type: integer
  2381. futureavgprice:
  2382. description: 期货建仓均价
  2383. type: number
  2384. futurecloseamount:
  2385. description: 期货平仓金额
  2386. type: number
  2387. futurecloseqty:
  2388. description: 期货平仓数量
  2389. type: number
  2390. futureopenamount:
  2391. description: 期货开仓金额
  2392. type: number
  2393. futureopenqty:
  2394. description: 期货开仓数量
  2395. type: number
  2396. futurepl:
  2397. description: 期货总盈亏[结算更新]
  2398. type: number
  2399. futureqty:
  2400. description: 期货持仓数量
  2401. type: number
  2402. futurequote:
  2403. description: 期货额度
  2404. type: number
  2405. goodsgroupid:
  2406. description: 期货品种ID
  2407. type: integer
  2408. marketid:
  2409. description: 市场ID
  2410. type: integer
  2411. netexposure:
  2412. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  2413. type: number
  2414. netexposurepl:
  2415. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  2416. type: number
  2417. netexposurerate:
  2418. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  2419. type: number
  2420. openbasis:
  2421. description: 建仓基差
  2422. type: number
  2423. pricedspotqty:
  2424. description: 已定价现货数量
  2425. type: number
  2426. pricedspotqtynotax:
  2427. description: 已定价现货不含税数量
  2428. type: number
  2429. remark:
  2430. description: 备注
  2431. type: string
  2432. spotavgprice:
  2433. description: 现货均价
  2434. type: number
  2435. spotbuyamount:
  2436. description: 现货采购金额
  2437. type: number
  2438. spotbuyqty:
  2439. description: 现货采购数量
  2440. type: number
  2441. spotpl:
  2442. description: 现货总盈亏[结算更新]
  2443. type: number
  2444. spotquota:
  2445. description: 现货额度
  2446. type: number
  2447. spotsellamount:
  2448. description: 现货销售金额
  2449. type: number
  2450. spotsellqty:
  2451. description: 现货销售数量
  2452. type: number
  2453. spotusedquota:
  2454. description: 现货占用资金
  2455. type: number
  2456. strategystatus:
  2457. description: 策略状态 - 0:未结束 1:已结束
  2458. type: integer
  2459. totalpl:
  2460. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  2461. type: number
  2462. tradedate:
  2463. description: 交易日(yyyyMMdd)
  2464. type: string
  2465. updatetime:
  2466. description: 更新时间
  2467. type: string
  2468. usedquota:
  2469. description: 已占用资金
  2470. type: number
  2471. userid:
  2472. description: 所属机构
  2473. type: integer
  2474. required:
  2475. - asapplyid
  2476. type: object
  2477. erms2.QueryInnerTradeDetailRsp:
  2478. properties:
  2479. accountid:
  2480. description: 账号ID
  2481. type: integer
  2482. agreeunit:
  2483. description: 合约单位
  2484. type: number
  2485. asapplyid:
  2486. description: 策略申请ID
  2487. type: integer
  2488. asname:
  2489. description: 策略名称
  2490. type: string
  2491. asno:
  2492. description: 策略编号
  2493. type: string
  2494. buyorsell:
  2495. description: 方向 - 0:买 1:卖
  2496. type: integer
  2497. channelbuildtype:
  2498. description: 委托单据类型 0:无 1:建仓 2:平仓
  2499. type: integer
  2500. closetype:
  2501. description: 平仓方式 - 0:无 1:平今 2:平昨
  2502. type: integer
  2503. decimalplace:
  2504. description: 报价小数位
  2505. type: integer
  2506. detailtype:
  2507. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  2508. type: integer
  2509. exexchangecode:
  2510. description: 外部交易所代码
  2511. type: string
  2512. exexchangename:
  2513. description: 外部交易所名称
  2514. type: string
  2515. goodscode:
  2516. description: 商品代码(合约)
  2517. type: string
  2518. goodsgroupid:
  2519. description: 商品组ID(品种ID)
  2520. type: integer
  2521. goodsgroupname:
  2522. description: 商品组名称(品种)
  2523. type: string
  2524. goodsid:
  2525. description: 商品ID
  2526. type: integer
  2527. goodsname:
  2528. description: 商品名称(合约)
  2529. type: string
  2530. goodunit:
  2531. description: 报价单位
  2532. type: string
  2533. marketid:
  2534. description: 市场ID
  2535. type: integer
  2536. orderid:
  2537. description: 委托单号
  2538. type: string
  2539. outgoodscode:
  2540. description: 商品代码(外部)
  2541. type: string
  2542. relatedouttradeid:
  2543. description: 关联外部成交单ID
  2544. type: string
  2545. remark:
  2546. description: 备注
  2547. type: string
  2548. spotcontractid:
  2549. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  2550. type: integer
  2551. spotcontractno:
  2552. description: 现货合同编号
  2553. type: string
  2554. tradeid:
  2555. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2556. type: string
  2557. tradeprice:
  2558. description: 成交价格
  2559. type: number
  2560. tradeqty:
  2561. description: 成交数量
  2562. type: integer
  2563. tradetime:
  2564. description: 成交时间
  2565. type: string
  2566. updatetime:
  2567. description: 更新时间
  2568. type: string
  2569. required:
  2570. - asapplyid
  2571. - buyorsell
  2572. - goodscode
  2573. - goodsgroupid
  2574. - goodsgroupname
  2575. - goodsname
  2576. - tradeid
  2577. type: object
  2578. erms2.QuerySpotContractRsp:
  2579. properties:
  2580. accountid:
  2581. description: 资金账户ID
  2582. type: integer
  2583. areauserid:
  2584. description: 所属机构
  2585. type: integer
  2586. closedate:
  2587. description: 终止日期
  2588. type: string
  2589. closeremark:
  2590. description: 结束备注
  2591. type: string
  2592. closetradedate:
  2593. description: 完结交易日(yyyyMMdd)
  2594. type: string
  2595. closetype:
  2596. description: 终止类型 - 1:违约 2:提前终止
  2597. type: integer
  2598. contractamount:
  2599. description: 合同金额
  2600. type: number
  2601. contractattachment:
  2602. description: 合同附件
  2603. type: string
  2604. contractno:
  2605. description: 现货合同编号
  2606. type: string
  2607. contractqty:
  2608. description: 合同数量(数值) (用于计算)
  2609. type: number
  2610. contractqtychar:
  2611. description: 合同数量\已订价数量 (用于显示)
  2612. type: string
  2613. contractstatus:
  2614. description: 合同状态 - 0:未结束 1:已结束
  2615. type: integer
  2616. contracttype:
  2617. description: 现货合同类型 - 1:采购合同 -1:销售合同
  2618. type: integer
  2619. customeraccountid:
  2620. description: 客户资金账户ID
  2621. type: integer
  2622. customeruserid:
  2623. description: 客户ID
  2624. type: integer
  2625. deliverygoodsdesc:
  2626. description: 品种说明
  2627. type: string
  2628. deliverygoodsid:
  2629. description: 现货品种ID
  2630. type: integer
  2631. handlestatus:
  2632. description: 处理状态
  2633. type: integer
  2634. invoiceatt:
  2635. description: 发票附件
  2636. type: string
  2637. invoicedatetime:
  2638. description: 开收票更新时间
  2639. type: string
  2640. invoiceopentime:
  2641. description: 开票时间
  2642. type: string
  2643. invoiceremark:
  2644. description: 发票备注
  2645. type: string
  2646. invoicestatus:
  2647. description: 开收票状态 - 0:未开票 1:已开票
  2648. type: integer
  2649. lastdate:
  2650. description: 交货时间
  2651. type: string
  2652. marketid:
  2653. description: 市场ID
  2654. type: integer
  2655. paydatetime:
  2656. description: 收付款更新时间
  2657. type: string
  2658. payremark:
  2659. description: 收付款备注
  2660. type: string
  2661. paystatus:
  2662. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  2663. type: integer
  2664. positionqty:
  2665. description: 头寸数量 - 合同数量去小数部分
  2666. type: integer
  2667. producttype:
  2668. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2669. type: integer
  2670. relatedqty:
  2671. description: 已关联数量
  2672. type: number
  2673. relatedstatus:
  2674. description: 关联完结状态 - 0:未结束 1:已结束
  2675. type: integer
  2676. remark:
  2677. description: 备注
  2678. type: string
  2679. signdate:
  2680. description: 签订日期
  2681. type: string
  2682. spotcontractid:
  2683. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  2684. type: string
  2685. spotdatetime:
  2686. description: 收发货更新时间
  2687. type: string
  2688. spotprice:
  2689. description: 价格
  2690. type: number
  2691. spotremark:
  2692. description: 收发货备注
  2693. type: string
  2694. spotstatus:
  2695. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  2696. type: integer
  2697. tradedate:
  2698. description: 交易日(yyyyMMdd)
  2699. type: string
  2700. userid:
  2701. description: 业务员用户ID
  2702. type: integer
  2703. warehouseid:
  2704. description: 仓库ID
  2705. type: integer
  2706. wrfactortypeid:
  2707. description: 仓单要素类型ID
  2708. type: integer
  2709. wrstandardid:
  2710. description: 仓单标准ID(SEQ_WRSTANDARD)
  2711. type: integer
  2712. required:
  2713. - spotcontractid
  2714. type: object
  2715. erms3.AddErms2ASApplyReq:
  2716. properties:
  2717. applybasis:
  2718. description: 申请基差
  2719. type: number
  2720. applystatus:
  2721. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2722. type: integer
  2723. asapplyid:
  2724. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  2725. type: integer
  2726. asname:
  2727. description: 策略名称
  2728. type: string
  2729. asno:
  2730. description: 策略编号
  2731. type: string
  2732. auditid:
  2733. description: 审核人
  2734. type: integer
  2735. auditremark:
  2736. description: 审核备注
  2737. type: string
  2738. audittime:
  2739. description: 审核时间
  2740. type: string
  2741. biztype:
  2742. description: 业务类型 - 1:正向套利 2:反向套利
  2743. type: integer
  2744. createtime:
  2745. description: 创建时间
  2746. type: string
  2747. creatorid:
  2748. description: 创建人
  2749. type: integer
  2750. deliverygoodsid:
  2751. description: 现货品种ID
  2752. type: integer
  2753. futurequote:
  2754. description: 期货额度
  2755. type: number
  2756. goodsgroupid:
  2757. description: 期货品种ID
  2758. type: integer
  2759. marketid:
  2760. description: 市场ID
  2761. type: integer
  2762. remark:
  2763. description: 备注
  2764. type: string
  2765. spotquota:
  2766. description: 现货额度
  2767. type: number
  2768. tradedate:
  2769. description: 交易日(yyyyMMdd)
  2770. type: string
  2771. userid:
  2772. description: 所属机构
  2773. type: integer
  2774. required:
  2775. - asapplyid
  2776. type: object
  2777. erms3.AddErms2SpotTradeApplyReq:
  2778. properties:
  2779. applyjsondetail:
  2780. description: 申请明细(JSON)
  2781. type: string
  2782. applystatus:
  2783. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2784. type: integer
  2785. areauserid:
  2786. description: 所属机构
  2787. type: integer
  2788. auditid:
  2789. description: 审核人
  2790. type: integer
  2791. auditremark:
  2792. description: 审核备注
  2793. type: string
  2794. audittime:
  2795. description: 审核时间
  2796. type: string
  2797. createtime:
  2798. description: 创建时间
  2799. type: string
  2800. creatorid:
  2801. description: 创建人
  2802. type: integer
  2803. deliverygoodsid:
  2804. description: 现货品种ID
  2805. type: integer
  2806. futureaccountid:
  2807. description: 期货资金账户
  2808. type: integer
  2809. goodsgroupid:
  2810. description: 期货品种
  2811. type: integer
  2812. marketid:
  2813. description: 市场ID
  2814. type: integer
  2815. remark:
  2816. description: 备注
  2817. type: string
  2818. spotaccountid:
  2819. description: 现货资金账户
  2820. type: integer
  2821. spottradeid:
  2822. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  2823. type: integer
  2824. spottradename:
  2825. description: 业务名称
  2826. type: string
  2827. spottradeno:
  2828. description: 业务编号
  2829. type: string
  2830. tradedate:
  2831. description: 交易日(yyyyMMdd)
  2832. type: string
  2833. wrstandardid:
  2834. description: 仓单标准ID
  2835. type: integer
  2836. required:
  2837. - spottradeid
  2838. type: object
  2839. erms3.AddSpotContractApplyReq:
  2840. properties:
  2841. accountid:
  2842. description: 资金账户ID
  2843. type: integer
  2844. areauserid:
  2845. description: 所属机构
  2846. type: integer
  2847. contractattachment:
  2848. description: 合同附件
  2849. type: string
  2850. contractno:
  2851. description: 现货合同编号
  2852. type: string
  2853. contracttype:
  2854. description: 现货合同类型 - 1:采购 -1:销售
  2855. type: integer
  2856. creatorid:
  2857. description: 申请人
  2858. type: integer
  2859. customeraccountid:
  2860. description: 客户资金账户ID
  2861. type: integer
  2862. customeruserid:
  2863. description: 客户ID
  2864. type: integer
  2865. details:
  2866. description: 明细
  2867. items:
  2868. $ref: '#/definitions/erms3.SoptContractDetail'
  2869. type: array
  2870. orimargin:
  2871. description: 初始保证金
  2872. type: number
  2873. remark:
  2874. description: 备注
  2875. type: string
  2876. signdate:
  2877. description: 签订日期
  2878. type: string
  2879. required:
  2880. - accountid
  2881. - areauserid
  2882. - contractno
  2883. - contracttype
  2884. - customeraccountid
  2885. - customeruserid
  2886. - details
  2887. - orimargin
  2888. - signdate
  2889. type: object
  2890. erms3.AddSpotContractApplyRsp:
  2891. properties:
  2892. contractno:
  2893. description: 现货合同编号
  2894. type: string
  2895. spotcontractid:
  2896. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2897. type: integer
  2898. required:
  2899. - contractno
  2900. type: object
  2901. erms3.AddUserInfoApplyReq:
  2902. properties:
  2903. accountid:
  2904. description: 交易系统帐号Id (加密存储)
  2905. type: integer
  2906. areacode:
  2907. description: 机构代码
  2908. type: string
  2909. areaid:
  2910. description: 机构Id
  2911. type: integer
  2912. attachment1:
  2913. description: 附件1
  2914. type: string
  2915. attachment2:
  2916. description: 附件2
  2917. type: string
  2918. attachment3:
  2919. description: 附件3
  2920. type: string
  2921. attachment4:
  2922. description: 附件4
  2923. type: string
  2924. attachment5:
  2925. description: 附件5
  2926. type: string
  2927. auditedby:
  2928. description: 审核人
  2929. type: string
  2930. auditime:
  2931. description: 审核时间
  2932. type: string
  2933. auditsrc:
  2934. description: 审核来源 - 1:管理端 2:终端
  2935. type: integer
  2936. bankaccount:
  2937. description: 银行帐号 (加密存储)
  2938. type: string
  2939. bankaccountname:
  2940. description: 收款人名称
  2941. type: string
  2942. bankcardbackphotourl:
  2943. description: 银行卡背面照地址
  2944. type: string
  2945. bankcardfrontphotourl:
  2946. description: 银行卡正面照地址
  2947. type: string
  2948. bankid:
  2949. description: 银行编码
  2950. type: string
  2951. bankname:
  2952. description: 银行名称
  2953. type: string
  2954. bankpictureurl:
  2955. description: 银行卡正面地址
  2956. type: string
  2957. biznature:
  2958. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2959. type: integer
  2960. bizscope:
  2961. description: 企业经营范围(企业)
  2962. type: string
  2963. biztype:
  2964. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2965. type: integer
  2966. brokerid:
  2967. description: 经纪人ID(加密存储)
  2968. type: string
  2969. cardaddress:
  2970. description: 证件地址 (加密存储)
  2971. type: string
  2972. cardbackphotourl:
  2973. description: 背面证件照地址
  2974. type: string
  2975. cardfrontphotourl:
  2976. description: 正面证件照地址
  2977. type: string
  2978. cardnum:
  2979. description: 证件号码 (加密存储)
  2980. type: string
  2981. cardtype:
  2982. description: 证件类型
  2983. type: integer
  2984. cityid:
  2985. description: 市
  2986. type: integer
  2987. company:
  2988. description: 公司(个人)
  2989. type: string
  2990. contactcardbackphotourl:
  2991. description: 联系人证件背面图片地址
  2992. type: string
  2993. contactcardfrontphotourl:
  2994. description: 联系人证件正面图片地址
  2995. type: string
  2996. contactname:
  2997. description: 联系人
  2998. type: string
  2999. countryid:
  3000. description: 国家
  3001. type: integer
  3002. createtime:
  3003. description: 开户申请时间
  3004. type: string
  3005. cusbankid:
  3006. description: 签约类型
  3007. type: string
  3008. cusbankname:
  3009. description: 签约类型名称
  3010. type: string
  3011. customername:
  3012. description: 客户名称(企业名称)
  3013. type: string
  3014. districtid:
  3015. description: 地区
  3016. type: integer
  3017. email:
  3018. description: Email地址(加密存储)
  3019. type: string
  3020. halfbodyphotourl:
  3021. description: 半身照地址
  3022. type: string
  3023. headurl:
  3024. description: 头像地址
  3025. type: string
  3026. ipaddress:
  3027. description: IP地址
  3028. type: string
  3029. isvalidate:
  3030. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3031. type: string
  3032. legalcardbackphotourl:
  3033. description: 法人身份证背面照地址
  3034. type: string
  3035. legalcardfrontphotourl:
  3036. description: 法人身份证正面照地址
  3037. type: string
  3038. legalpersonname:
  3039. description: 法人姓名(企业)
  3040. type: string
  3041. logincode:
  3042. description: 登录帐号 (加密存储)
  3043. type: string
  3044. memberareaid:
  3045. description: 所属会员ID
  3046. type: integer
  3047. mobile2:
  3048. description: 手机号码[明文-尚志]
  3049. type: string
  3050. mobilephone:
  3051. description: 手机号码 (加密存储)
  3052. type: string
  3053. modifiedby:
  3054. description: 修改人帐号
  3055. type: integer
  3056. modifiedtime:
  3057. description: 修改时间
  3058. type: string
  3059. nickname:
  3060. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3061. type: string
  3062. openmode:
  3063. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3064. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3065. type: integer
  3066. otherurl:
  3067. description: 其它图片地址[使用分号分隔]
  3068. type: string
  3069. postalcode:
  3070. description: 邮政编码
  3071. type: string
  3072. provinceid:
  3073. description: 省
  3074. type: integer
  3075. proxystatementurl:
  3076. description: 授权委托书
  3077. type: string
  3078. qq:
  3079. description: QQ(加密存储
  3080. type: string
  3081. referral:
  3082. description: 推荐人编码
  3083. type: string
  3084. remark:
  3085. description: 备注
  3086. type: string
  3087. removebeforestatus:
  3088. description: REMOVEBEFORESTATUS
  3089. type: integer
  3090. sex:
  3091. description: 性别 - 0:女 1:男
  3092. type: integer
  3093. signedstatus:
  3094. description: 账户一号签签约状态
  3095. type: integer
  3096. signpdfurl:
  3097. description: 签约pdf文件
  3098. type: string
  3099. subbranch:
  3100. description: 开户支行
  3101. type: string
  3102. taxpayernum:
  3103. description: 纳税人识别号
  3104. type: string
  3105. telphone:
  3106. description: 联系电话(加密存储)
  3107. type: string
  3108. userid:
  3109. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3110. type: integer
  3111. userinfotype:
  3112. description: 用户信息类型 - 1:个人 2:企业
  3113. type: integer
  3114. username:
  3115. description: 用户姓名
  3116. type: string
  3117. userstate:
  3118. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3119. type: integer
  3120. usertype:
  3121. description: 用户类型 - 1:投资者 2:机构
  3122. type: integer
  3123. videourl:
  3124. description: 视频地址
  3125. type: string
  3126. wechat:
  3127. description: 微信号 (加密存储)
  3128. type: string
  3129. required:
  3130. - userid
  3131. type: object
  3132. erms3.CustomerInfo:
  3133. properties:
  3134. accountids:
  3135. description: 资金账户ID列表
  3136. items:
  3137. type: integer
  3138. type: array
  3139. customername:
  3140. description: 名称(企业名称)
  3141. type: string
  3142. mobile:
  3143. description: 手机号码
  3144. type: string
  3145. userid:
  3146. description: 用户ID
  3147. type: integer
  3148. required:
  3149. - userid
  3150. type: object
  3151. erms3.ModifyUserInfoApplyReq:
  3152. properties:
  3153. accountid:
  3154. description: 交易系统帐号Id (加密存储)
  3155. type: integer
  3156. areacode:
  3157. description: 机构代码
  3158. type: string
  3159. areaid:
  3160. description: 机构Id
  3161. type: integer
  3162. attachment1:
  3163. description: 附件1
  3164. type: string
  3165. attachment2:
  3166. description: 附件2
  3167. type: string
  3168. attachment3:
  3169. description: 附件3
  3170. type: string
  3171. attachment4:
  3172. description: 附件4
  3173. type: string
  3174. attachment5:
  3175. description: 附件5
  3176. type: string
  3177. auditedby:
  3178. description: 审核人
  3179. type: string
  3180. auditime:
  3181. description: 审核时间
  3182. type: string
  3183. auditsrc:
  3184. description: 审核来源 - 1:管理端 2:终端
  3185. type: integer
  3186. bankaccount:
  3187. description: 银行帐号 (加密存储)
  3188. type: string
  3189. bankaccountname:
  3190. description: 收款人名称
  3191. type: string
  3192. bankcardbackphotourl:
  3193. description: 银行卡背面照地址
  3194. type: string
  3195. bankcardfrontphotourl:
  3196. description: 银行卡正面照地址
  3197. type: string
  3198. bankid:
  3199. description: 银行编码
  3200. type: string
  3201. bankname:
  3202. description: 银行名称
  3203. type: string
  3204. bankpictureurl:
  3205. description: 银行卡正面地址
  3206. type: string
  3207. biznature:
  3208. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3209. type: integer
  3210. bizscope:
  3211. description: 企业经营范围(企业)
  3212. type: string
  3213. biztype:
  3214. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  3215. type: integer
  3216. brokerid:
  3217. description: 经纪人ID(加密存储)
  3218. type: string
  3219. cardaddress:
  3220. description: 证件地址 (加密存储)
  3221. type: string
  3222. cardbackphotourl:
  3223. description: 背面证件照地址
  3224. type: string
  3225. cardfrontphotourl:
  3226. description: 正面证件照地址
  3227. type: string
  3228. cardnum:
  3229. description: 证件号码 (加密存储)
  3230. type: string
  3231. cardtype:
  3232. description: 证件类型
  3233. type: integer
  3234. cityid:
  3235. description: 市
  3236. type: integer
  3237. company:
  3238. description: 公司(个人)
  3239. type: string
  3240. contactcardbackphotourl:
  3241. description: 联系人证件背面图片地址
  3242. type: string
  3243. contactcardfrontphotourl:
  3244. description: 联系人证件正面图片地址
  3245. type: string
  3246. contactname:
  3247. description: 联系人
  3248. type: string
  3249. countryid:
  3250. description: 国家
  3251. type: integer
  3252. createtime:
  3253. description: 开户申请时间
  3254. type: string
  3255. cusbankid:
  3256. description: 签约类型
  3257. type: string
  3258. cusbankname:
  3259. description: 签约类型名称
  3260. type: string
  3261. customername:
  3262. description: 客户名称(企业名称)
  3263. type: string
  3264. districtid:
  3265. description: 地区
  3266. type: integer
  3267. email:
  3268. description: Email地址(加密存储)
  3269. type: string
  3270. halfbodyphotourl:
  3271. description: 半身照地址
  3272. type: string
  3273. headurl:
  3274. description: 头像地址
  3275. type: string
  3276. ipaddress:
  3277. description: IP地址
  3278. type: string
  3279. isvalidate:
  3280. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3281. type: string
  3282. legalcardbackphotourl:
  3283. description: 法人身份证背面照地址
  3284. type: string
  3285. legalcardfrontphotourl:
  3286. description: 法人身份证正面照地址
  3287. type: string
  3288. legalpersonname:
  3289. description: 法人姓名(企业)
  3290. type: string
  3291. logincode:
  3292. description: 登录帐号 (加密存储)
  3293. type: string
  3294. memberareaid:
  3295. description: 所属会员ID
  3296. type: integer
  3297. mobile2:
  3298. description: 手机号码[明文-尚志]
  3299. type: string
  3300. mobilephone:
  3301. description: 手机号码 (加密存储)
  3302. type: string
  3303. modifiedby:
  3304. description: 修改人帐号
  3305. type: integer
  3306. modifiedtime:
  3307. description: 修改时间
  3308. type: string
  3309. nickname:
  3310. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3311. type: string
  3312. openmode:
  3313. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3314. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3315. type: integer
  3316. otherurl:
  3317. description: 其它图片地址[使用分号分隔]
  3318. type: string
  3319. postalcode:
  3320. description: 邮政编码
  3321. type: string
  3322. provinceid:
  3323. description: 省
  3324. type: integer
  3325. proxystatementurl:
  3326. description: 授权委托书
  3327. type: string
  3328. qq:
  3329. description: QQ(加密存储
  3330. type: string
  3331. referral:
  3332. description: 推荐人编码
  3333. type: string
  3334. remark:
  3335. description: 备注
  3336. type: string
  3337. removebeforestatus:
  3338. description: REMOVEBEFORESTATUS
  3339. type: integer
  3340. sex:
  3341. description: 性别 - 0:女 1:男
  3342. type: integer
  3343. signedstatus:
  3344. description: 账户一号签签约状态
  3345. type: integer
  3346. signpdfurl:
  3347. description: 签约pdf文件
  3348. type: string
  3349. subbranch:
  3350. description: 开户支行
  3351. type: string
  3352. taxpayernum:
  3353. description: 纳税人识别号
  3354. type: string
  3355. telphone:
  3356. description: 联系电话(加密存储)
  3357. type: string
  3358. userid:
  3359. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3360. type: integer
  3361. userinfotype:
  3362. description: 用户信息类型 - 1:个人 2:企业
  3363. type: integer
  3364. username:
  3365. description: 用户姓名
  3366. type: string
  3367. userstate:
  3368. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3369. type: integer
  3370. usertype:
  3371. description: 用户类型 - 1:投资者 2:机构
  3372. type: integer
  3373. videourl:
  3374. description: 视频地址
  3375. type: string
  3376. wechat:
  3377. description: 微信号 (加密存储)
  3378. type: string
  3379. required:
  3380. - userid
  3381. type: object
  3382. erms3.QryAuditContractRsp:
  3383. properties:
  3384. accountid:
  3385. description: 交易员ID
  3386. type: string
  3387. applystatus:
  3388. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3389. type: integer
  3390. curdeliveryqty:
  3391. description: 未交收量
  3392. type: integer
  3393. customername:
  3394. description: 采购方ID
  3395. type: string
  3396. deliverygoodsid:
  3397. description: 品种ID
  3398. type: string
  3399. deliveryqty:
  3400. description: 交收量
  3401. type: integer
  3402. enumdicname:
  3403. description: 单位名称
  3404. type: string
  3405. matchaccountid:
  3406. description: 业务员ID
  3407. type: string
  3408. matchcustomername:
  3409. description: 销售方ID
  3410. type: string
  3411. pricedqty:
  3412. description: 定价量
  3413. type: number
  3414. signdate:
  3415. description: 签订日期
  3416. type: string
  3417. spotcontractid:
  3418. description: 合同ID
  3419. type: string
  3420. totaldqty:
  3421. description: 合同量
  3422. type: number
  3423. unpricedqty:
  3424. description: 未定价量
  3425. type: number
  3426. wrstandardname:
  3427. description: 商品名称
  3428. type: string
  3429. required:
  3430. - matchcustomername
  3431. - spotcontractid
  3432. type: object
  3433. erms3.QryPendingBizRsp:
  3434. properties:
  3435. accountid:
  3436. description: 现货账户
  3437. type: string
  3438. areaname:
  3439. description: 所属部门
  3440. type: string
  3441. bizid:
  3442. description: 业务ID
  3443. type: string
  3444. bizname:
  3445. description: 业务名称
  3446. type: string
  3447. status:
  3448. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3449. type: integer
  3450. type:
  3451. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  3452. type: integer
  3453. type: object
  3454. erms3.QueryBusinessInfoRsp:
  3455. properties:
  3456. businessid:
  3457. description: 业务ID.
  3458. type: integer
  3459. buyamount:
  3460. description: 采购额.
  3461. type: number
  3462. buyqty:
  3463. description: 采购量.
  3464. type: string
  3465. futurepl:
  3466. description: 期货盈亏.
  3467. type: number
  3468. futureqty:
  3469. description: 期货敞口.
  3470. type: string
  3471. goodsid:
  3472. description: 商品名称/商品代码.
  3473. type: string
  3474. hedgingqty:
  3475. description: 套保量.
  3476. type: string
  3477. sellamount:
  3478. description: 销售额.
  3479. type: number
  3480. sellqty:
  3481. description: 销售量.
  3482. type: string
  3483. spotmarketvalue:
  3484. description: 现货市值.
  3485. type: number
  3486. spotpl:
  3487. description: 浮动权益.
  3488. type: number
  3489. spotqty:
  3490. description: 现货量.
  3491. type: string
  3492. statu:
  3493. description: 状态,0-未结束 1-已结束.
  3494. type: integer
  3495. totalpl:
  3496. description: 总盈亏.
  3497. type: number
  3498. totalqty:
  3499. description: 总敞口.
  3500. type: string
  3501. type:
  3502. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  3503. type: integer
  3504. type: object
  3505. erms3.QuerySpotContractAppleFormRsp:
  3506. properties:
  3507. goodses:
  3508. description: 合约列表
  3509. items:
  3510. $ref: '#/definitions/models.GoodsIDAndName'
  3511. type: array
  3512. oppositeusers:
  3513. description: 对方账号列表
  3514. items:
  3515. $ref: '#/definitions/erms3.CustomerInfo'
  3516. type: array
  3517. ouruser:
  3518. $ref: '#/definitions/erms3.CustomerInfo'
  3519. description: 我方账号
  3520. warehouseinfos:
  3521. description: 仓库信息列表
  3522. items:
  3523. $ref: '#/definitions/models.Warehouseinfo'
  3524. type: array
  3525. wrstandards:
  3526. description: 仓单标准列表
  3527. items:
  3528. $ref: '#/definitions/models.WRStandardInfo'
  3529. type: array
  3530. type: object
  3531. erms3.QuerySpotContractInfoRsp:
  3532. properties:
  3533. accountid:
  3534. description: 表示交易员ID.
  3535. type: integer
  3536. curdeliveryqty:
  3537. description: 表示未交收量.
  3538. type: number
  3539. customername:
  3540. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  3541. type: string
  3542. deliverygoodsid:
  3543. description: 表示品种ID.
  3544. type: string
  3545. deliveryqty:
  3546. description: 表示交收量.
  3547. type: number
  3548. matchaccountid:
  3549. description: 表示业务员ID.
  3550. type: integer
  3551. matchcustomername:
  3552. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  3553. type: string
  3554. priceqty:
  3555. description: 表示定价量.
  3556. type: number
  3557. relatedbizid:
  3558. description: 表示业务ID.
  3559. type: string
  3560. signdate:
  3561. description: 表示签订日期.
  3562. type: string
  3563. spotcontractid:
  3564. description: 合同ID
  3565. type: string
  3566. status:
  3567. description: 表示状态,0-履约中 1-已完成.
  3568. type: integer
  3569. totalqty:
  3570. description: 表示合同量.
  3571. type: number
  3572. unpricedqty:
  3573. description: 表示未定价量.
  3574. type: number
  3575. wrstandardname:
  3576. description: 表示商品ID.
  3577. type: string
  3578. type: object
  3579. erms3.QueryUserInfoAppliesRsp:
  3580. properties:
  3581. biznature:
  3582. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3583. type: integer
  3584. contactname:
  3585. description: 联系人
  3586. type: string
  3587. createtime:
  3588. description: 开户申请时间
  3589. type: string
  3590. userid:
  3591. description: 用户ID(自增ID)
  3592. type: integer
  3593. userinfotype:
  3594. description: 用户信息类型 - 1:个人 2:企业
  3595. type: integer
  3596. username:
  3597. description: 用户姓名
  3598. type: string
  3599. userstate:
  3600. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3601. type: integer
  3602. required:
  3603. - userid
  3604. type: object
  3605. erms3.QueryUserInfosRsp:
  3606. properties:
  3607. biznature:
  3608. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3609. type: integer
  3610. contactname:
  3611. description: 联系人
  3612. type: string
  3613. customername:
  3614. description: 客户名称(企业名称)
  3615. type: string
  3616. userid:
  3617. description: 用户ID
  3618. type: integer
  3619. userinfotype:
  3620. description: 用户信息类型 - 1:个人 2:企业
  3621. type: integer
  3622. userstatus:
  3623. description: 用户状态 - 1:正常 2:注销
  3624. type: integer
  3625. required:
  3626. - userid
  3627. type: object
  3628. erms3.SoptContractDetail:
  3629. properties:
  3630. deliverygoodsdesc:
  3631. description: 现货品种说明
  3632. type: string
  3633. deliverygoodsid:
  3634. description: 现货品种ID
  3635. type: integer
  3636. deliverygoodsname:
  3637. description: 现货品种名称
  3638. type: string
  3639. pointdesc:
  3640. description: 点价描述
  3641. type: string
  3642. producttype:
  3643. description: 产品类型 1:标准仓单 2:等标 3:非标
  3644. type: integer
  3645. producttypename:
  3646. description: 产品类型名称
  3647. type: string
  3648. spotPointOrderVoList:
  3649. description: 点价列表
  3650. items:
  3651. $ref: '#/definitions/erms3.SpotPointOrder'
  3652. type: array
  3653. spotPriceOrderList:
  3654. description: 定价列表
  3655. items:
  3656. $ref: '#/definitions/erms3.SpotPriceOrder'
  3657. type: array
  3658. unitname:
  3659. description: 单位名称
  3660. type: string
  3661. warehouseid:
  3662. description: 仓库ID
  3663. type: integer
  3664. warehousename:
  3665. description: 仓库名称
  3666. type: string
  3667. wrstandardid:
  3668. description: 交易标的ID
  3669. type: integer
  3670. wrstandardname:
  3671. description: 交易标的名称
  3672. type: string
  3673. required:
  3674. - deliverygoodsid
  3675. - producttype
  3676. - unitname
  3677. - warehouseid
  3678. - wrstandardid
  3679. - wrstandardname
  3680. type: object
  3681. erms3.SpotPointOrder:
  3682. properties:
  3683. basic:
  3684. description: 基差
  3685. type: number
  3686. deliveryenddate:
  3687. description: 交收结束日期
  3688. type: string
  3689. deliverystartdate:
  3690. description: 交收开始日期
  3691. type: string
  3692. enddate:
  3693. description: 点价结束日期
  3694. type: string
  3695. goodsid:
  3696. description: 商品ID
  3697. type: integer
  3698. goodsname:
  3699. description: 商品名称
  3700. type: string
  3701. qty:
  3702. description: 数量
  3703. type: number
  3704. startdate:
  3705. description: 点价开始日期
  3706. type: string
  3707. required:
  3708. - basic
  3709. - goodsid
  3710. - qty
  3711. type: object
  3712. erms3.SpotPriceOrder:
  3713. properties:
  3714. amount:
  3715. description: 金额
  3716. type: number
  3717. deliveryenddate:
  3718. description: 交收结束日期
  3719. type: string
  3720. deliverystartdate:
  3721. description: 交收开始日期
  3722. type: string
  3723. price:
  3724. description: 价格
  3725. type: number
  3726. qty:
  3727. description: 数量
  3728. type: number
  3729. required:
  3730. - amount
  3731. - price
  3732. - qty
  3733. type: object
  3734. hsby.GetHsbyMyCountRsp:
  3735. properties:
  3736. myCouponCount:
  3737. description: 我的优惠卷数量
  3738. type: integer
  3739. myOrderDetailListingCount:
  3740. description: 我的订单求购中数量
  3741. type: integer
  3742. myOrderDetailPreCount:
  3743. description: 我的订单抢购中数量
  3744. type: integer
  3745. myPackageUnReceiveCount:
  3746. description: 我的包裹待收货数量
  3747. type: integer
  3748. myPackageUnSendCount:
  3749. description: 我的包裹待发货数量
  3750. type: integer
  3751. myPayOrderCount:
  3752. description: 我的订单待付款数量
  3753. type: integer
  3754. type: object
  3755. hsby.QueryProvincesAndCitiesRsp:
  3756. properties:
  3757. cities:
  3758. description: 市
  3759. items:
  3760. $ref: '#/definitions/models.Division'
  3761. type: array
  3762. province:
  3763. $ref: '#/definitions/models.Division'
  3764. description: 省
  3765. type: object
  3766. models.Arearole:
  3767. properties:
  3768. createtime:
  3769. description: 创建时间
  3770. type: string
  3771. creatorid:
  3772. description: 创建人ID
  3773. type: integer
  3774. fromuserid:
  3775. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  3776. type: integer
  3777. isreturnscore:
  3778. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  3779. type: integer
  3780. modifierid:
  3781. description: 修改人ID
  3782. type: integer
  3783. modifytime:
  3784. description: 修改时间
  3785. type: string
  3786. orgtype:
  3787. description: 组织机构类型 1:机构\分支节点 2:交易员\叶子节点 3:部门\分支节点
  3788. type: integer
  3789. outuserid:
  3790. description: 外部账户[场外期权做市商]
  3791. type: string
  3792. parentuserid:
  3793. description: 上级组织机构(组织机构)
  3794. type: integer
  3795. roletype:
  3796. description: 角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员
  3797. 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构
  3798. 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员 25:客户 98:代理 99:门店
  3799. type: integer
  3800. rootuserid:
  3801. description: 顶级组织机构用户ID(组织机构)
  3802. type: integer
  3803. shoppassword:
  3804. description: 商城店铺登陆密码(商城店铺角色使用)
  3805. type: string
  3806. sublevelpath:
  3807. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  3808. type: string
  3809. suborgtype:
  3810. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  3811. type: integer
  3812. tradeaccountid:
  3813. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  3814. type: integer
  3815. transurl:
  3816. description: 物流地址(物流机构)
  3817. type: string
  3818. userid:
  3819. description: 机构用户ID其他做市关系,都设置为 1
  3820. type: integer
  3821. required:
  3822. - roletype
  3823. - userid
  3824. type: object
  3825. models.Clientfixedadconfig:
  3826. properties:
  3827. adsort:
  3828. description: 排序
  3829. type: integer
  3830. adtype:
  3831. description: 广告位类型 - 1:新品抢购(HSBY)
  3832. type: integer
  3833. areauserid:
  3834. description: 所属机构ID
  3835. type: integer
  3836. createdate:
  3837. description: 创建时间
  3838. type: string
  3839. creatorid:
  3840. description: 创建人
  3841. type: integer
  3842. imagepath:
  3843. description: 图片
  3844. type: string
  3845. isshow:
  3846. description: 是否展示 - 0:不展示 1:展示
  3847. type: integer
  3848. modifierid:
  3849. description: 操作人
  3850. type: integer
  3851. recsize:
  3852. description: 推荐尺寸
  3853. type: string
  3854. title:
  3855. description: 标题
  3856. type: string
  3857. updatedate:
  3858. description: 更新时间
  3859. type: string
  3860. urlcontent:
  3861. description: 链接(地址或商品ID)
  3862. type: string
  3863. urltype:
  3864. description: 链接类型 - 1:直接地址 2:商品ID
  3865. type: integer
  3866. required:
  3867. - adsort
  3868. - adtype
  3869. type: object
  3870. models.Division:
  3871. properties:
  3872. autoid:
  3873. description: 自增ID
  3874. type: integer
  3875. divisioncode:
  3876. description: 行政代码
  3877. type: string
  3878. divisionlevel:
  3879. description: 行政级别
  3880. type: string
  3881. divisionname:
  3882. description: 行政名称
  3883. type: string
  3884. modifierid:
  3885. description: 修改人
  3886. type: integer
  3887. modifytime:
  3888. description: 修改时间
  3889. type: string
  3890. parentcode:
  3891. description: 上级行政代码
  3892. type: string
  3893. pathname:
  3894. description: 路径名称
  3895. type: string
  3896. postcode:
  3897. description: 邮政编码
  3898. type: string
  3899. separablename:
  3900. description: 可拆分的全称
  3901. type: string
  3902. shortcode:
  3903. description: 地区简码
  3904. type: string
  3905. required:
  3906. - autoid
  3907. - divisioncode
  3908. type: object
  3909. models.Enumdicitem:
  3910. properties:
  3911. autoid:
  3912. description: 自增ID
  3913. type: integer
  3914. bankmappedvalue:
  3915. description: 银行服务对应值
  3916. type: string
  3917. enumdiccode:
  3918. description: 所属枚举代码
  3919. type: string
  3920. enumdicid:
  3921. description: 所属枚举ID
  3922. type: integer
  3923. enumdicname:
  3924. description: 枚举项名称
  3925. type: string
  3926. enumitemname:
  3927. description: 枚举项值
  3928. type: integer
  3929. enumitemstatus:
  3930. description: 枚举项状态 - 1.启用 2.不启用
  3931. type: integer
  3932. enumitemvalue:
  3933. description: 通用值 - [币种通用简写]
  3934. type: string
  3935. param1:
  3936. description: 参数1[币种:币种小数位]
  3937. type: string
  3938. param2:
  3939. description: 参数1[币种:币种显示单位]
  3940. type: string
  3941. remark:
  3942. description: 备注
  3943. type: string
  3944. required:
  3945. - autoid
  3946. - enumdiccode
  3947. - enumdicid
  3948. - enumitemname
  3949. type: object
  3950. models.Ermcp3AreaSpot:
  3951. properties:
  3952. areauserid:
  3953. description: 所属机构
  3954. type: integer
  3955. convertratio:
  3956. description: 套保系数
  3957. type: number
  3958. decreaseqty:
  3959. description: 减少数量=-(销售已定价数量+采购计划数量)
  3960. type: number
  3961. enumdicname:
  3962. description: 单位名称
  3963. type: string
  3964. increaseqty:
  3965. description: 增加数量=销售计划数量+采购已定价数量
  3966. type: number
  3967. oritoalspotqty:
  3968. description: 昨日数量
  3969. type: number
  3970. totalspotqty:
  3971. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  3972. type: number
  3973. unitid:
  3974. description: 现货商品单位id
  3975. type: integer
  3976. updatetime:
  3977. description: 更新时间
  3978. type: string
  3979. wrstandardcode:
  3980. description: 现货商品代码
  3981. type: string
  3982. wrstandardid:
  3983. description: 现货商品ID(SEQ_WRSTANDARD)
  3984. type: integer
  3985. wrstandardname:
  3986. description: 现货商品名称
  3987. type: string
  3988. type: object
  3989. models.Ermcp3AreaSpotDetail:
  3990. properties:
  3991. contracttype:
  3992. description: 合同类型 1-采购 -1-销售
  3993. type: integer
  3994. createtime:
  3995. description: 创建时间
  3996. type: string
  3997. enumdicname:
  3998. description: 现货商品单位名称
  3999. type: string
  4000. logtype:
  4001. description: 记录类型 1-套保 2-现货合同
  4002. type: integer
  4003. qty:
  4004. description: 数量
  4005. type: number
  4006. recordname:
  4007. description: 类型名称
  4008. type: string
  4009. relatedid:
  4010. description: 套保计划ID/现货合同ID
  4011. type: string
  4012. relatedno:
  4013. description: 编号
  4014. type: string
  4015. strtime:
  4016. description: 时间
  4017. type: string
  4018. wrstandardcode:
  4019. description: 现货商品代码
  4020. type: string
  4021. wrstandardid:
  4022. description: 现货商品ID(SEQ_WRSTANDARD)
  4023. type: integer
  4024. wrstandardname:
  4025. description: 现货商品名称
  4026. type: string
  4027. type: object
  4028. models.Ermcp3AreaSpotPLReport:
  4029. properties:
  4030. accountid:
  4031. description: 期货账户ID (作废, 默认为0)
  4032. type: integer
  4033. accountname:
  4034. description: 机构名称
  4035. type: string
  4036. actualpl:
  4037. description: 现货损益
  4038. type: number
  4039. areauserid:
  4040. description: 所属机构\交易用户ID
  4041. type: integer
  4042. begindate:
  4043. description: 开始交易日
  4044. type: string
  4045. biztype:
  4046. description: 业务类型 - 1:套保 2:套利
  4047. type: integer
  4048. brandname:
  4049. description: 品牌名称
  4050. type: string
  4051. curamount:
  4052. description: 期末额
  4053. type: number
  4054. curaverageprice:
  4055. description: 期末均价
  4056. type: number
  4057. curbuyamount:
  4058. description: 期末采购总额
  4059. type: number
  4060. curbuyqty:
  4061. description: 期末采购总量
  4062. type: number
  4063. curmarketvalue:
  4064. description: 参考市值(期末市值)
  4065. type: number
  4066. curqty:
  4067. description: 期末量
  4068. type: number
  4069. currencyid:
  4070. description: 结算币种ID【原值】
  4071. type: integer
  4072. currencyname:
  4073. description: 币种名称
  4074. type: string
  4075. cursellamount:
  4076. description: 期末销售总额
  4077. type: number
  4078. cursellqty:
  4079. description: 期末销售总量
  4080. type: number
  4081. curspotprice:
  4082. description: 参考市价(最新价)
  4083. type: number
  4084. cycletime:
  4085. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4086. type: string
  4087. cycletype:
  4088. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4089. type: integer
  4090. deliverygoodscode:
  4091. description: 现货品种代码
  4092. type: string
  4093. deliverygoodsid:
  4094. description: 现货品种ID
  4095. type: integer
  4096. deliverygoodsname:
  4097. description: 现货品种名称
  4098. type: string
  4099. enddate:
  4100. description: 结束交易日
  4101. type: string
  4102. enumdicname:
  4103. description: 现货品种单位名称(作废)
  4104. type: string
  4105. floatpl:
  4106. description: 浮动损益
  4107. type: number
  4108. goodsunitid:
  4109. description: 现货品种单位id(作废)
  4110. type: integer
  4111. oriamount:
  4112. description: 期初额
  4113. type: number
  4114. oriaverageprice:
  4115. description: 期初均价
  4116. type: number
  4117. oribuyamount:
  4118. description: 期初采购总额
  4119. type: number
  4120. oribuyqty:
  4121. description: 期初采购总量
  4122. type: number
  4123. oriqty:
  4124. description: 期初量
  4125. type: number
  4126. orisellamount:
  4127. description: 期初销售总额
  4128. type: number
  4129. orisellqty:
  4130. description: 期初销售总量
  4131. type: number
  4132. reckondate:
  4133. description: 日照时期(yyyyMMdd)
  4134. type: string
  4135. spotgoodsbrandid:
  4136. description: 现货品牌ID
  4137. type: integer
  4138. todaybuyamount:
  4139. description: 今日采购额(今采购额)
  4140. type: number
  4141. todaybuyaverageprice:
  4142. description: 今日采购均价
  4143. type: number
  4144. todaybuyqty:
  4145. description: 今日采购量(今采购量)
  4146. type: number
  4147. todayinqty:
  4148. description: 今日入库量(今入库量)
  4149. type: number
  4150. todayoutqty:
  4151. description: 今日出库量(今出库量)
  4152. type: number
  4153. todaysellamount:
  4154. description: 今日销售额(今销售额)
  4155. type: number
  4156. todaysellaverageprice:
  4157. description: 今日销售均价
  4158. type: number
  4159. todaysellqty:
  4160. description: 今日销售量(今销售量)
  4161. type: number
  4162. unitid:
  4163. description: 品类单位id
  4164. type: integer
  4165. unitidname:
  4166. description: 品类单位名称
  4167. type: string
  4168. updatetime:
  4169. description: 更新时间
  4170. type: string
  4171. wrfactortypeid:
  4172. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4173. type: integer
  4174. wrstandardcode:
  4175. description: 现货商品(品类)代码
  4176. type: string
  4177. wrstandardid:
  4178. description: 现货品类ID
  4179. type: integer
  4180. wrstandardname:
  4181. description: 现货商品(品类)名称
  4182. type: string
  4183. type: object
  4184. models.Ermcp3AreaStock:
  4185. properties:
  4186. brandname:
  4187. description: 品牌名称
  4188. type: string
  4189. curstock:
  4190. description: 期末库存量(今日量)
  4191. type: number
  4192. deliverygoodscode:
  4193. description: 现货品种代码
  4194. type: string
  4195. deliverygoodsid:
  4196. description: 现货品种id
  4197. type: integer
  4198. deliverygoodsname:
  4199. description: 现货品种名称
  4200. type: string
  4201. enumdicname:
  4202. description: 单位名称
  4203. type: string
  4204. goodsunitid:
  4205. description: 现货商品单位id
  4206. type: integer
  4207. oristock:
  4208. description: 期初库存量(昨日量)
  4209. type: number
  4210. spotgoodsbrandid:
  4211. description: 现货品牌ID
  4212. type: integer
  4213. todaybuyinqty:
  4214. description: 今日采购入库量
  4215. type: number
  4216. todayproduceinqty:
  4217. description: 今日生产入库量
  4218. type: number
  4219. todayproduceoutqty:
  4220. description: 今日生产出库量
  4221. type: number
  4222. todayselloutqty:
  4223. description: 今日销售出库量
  4224. type: number
  4225. unitid:
  4226. description: 单位id
  4227. type: integer
  4228. updatetime:
  4229. description: 更新时间
  4230. type: string
  4231. userid:
  4232. description: 机构ID
  4233. type: integer
  4234. username:
  4235. description: 机构名称
  4236. type: string
  4237. warehousecode:
  4238. description: 仓库代码
  4239. type: string
  4240. warehouseinfoid:
  4241. description: 仓库ID
  4242. type: string
  4243. warehousename:
  4244. description: 仓库名称
  4245. type: string
  4246. warehousetype:
  4247. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4248. type: integer
  4249. wrstandardcode:
  4250. description: 品类代码
  4251. type: string
  4252. wrstandardid:
  4253. description: 品类ID
  4254. type: string
  4255. wrstandardname:
  4256. description: 品类名称
  4257. type: string
  4258. required:
  4259. - userid
  4260. type: object
  4261. models.Ermcp3AreaStockApply:
  4262. properties:
  4263. applyid:
  4264. description: 申请人
  4265. type: integer
  4266. applyname:
  4267. description: 申请人名称
  4268. type: string
  4269. applyremark:
  4270. description: 申请备注
  4271. type: string
  4272. applysrc:
  4273. description: 申请来源 - 1:管理端 2:终端
  4274. type: integer
  4275. applystatus:
  4276. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  4277. type: integer
  4278. applytime:
  4279. description: 申请时间
  4280. type: string
  4281. auditid:
  4282. description: 审核人
  4283. type: integer
  4284. auditname:
  4285. description: 审核人名称
  4286. type: string
  4287. auditremark:
  4288. description: 审核备注
  4289. type: string
  4290. auditsrc:
  4291. description: 审核来源 - 1:管理端 2:终端
  4292. type: integer
  4293. audittime:
  4294. description: 审核时间
  4295. type: string
  4296. audittradedate:
  4297. description: 审核交易日(yyyyMMdd)
  4298. type: string
  4299. brandname:
  4300. description: 品牌名称
  4301. type: string
  4302. buynickname:
  4303. description: 采购方昵称
  4304. type: string
  4305. buyuserid:
  4306. description: 采购方userid
  4307. type: integer
  4308. buyusername:
  4309. description: 采购方名称
  4310. type: string
  4311. contractno:
  4312. description: 合同编号
  4313. type: string
  4314. contractqty:
  4315. description: 合同量
  4316. type: number
  4317. contracttype:
  4318. description: 现货合同类型 - 1:采购 -1:销售
  4319. type: integer
  4320. deliverygoodscode:
  4321. description: 现货品种代码
  4322. type: string
  4323. deliverygoodsid:
  4324. description: 现货品种id
  4325. type: integer
  4326. deliverygoodsname:
  4327. description: 现货品种名称
  4328. type: string
  4329. detailjson:
  4330. description: 明细数据
  4331. type: string
  4332. enumdicname:
  4333. description: 现货商品单位名称
  4334. type: string
  4335. inoutapplyid:
  4336. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  4337. type: string
  4338. inouttype:
  4339. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  4340. type: integer
  4341. pricetype:
  4342. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4343. type: integer
  4344. qty:
  4345. description: 数量
  4346. type: number
  4347. sellnickname:
  4348. description: 销售方昵称
  4349. type: string
  4350. selluserid:
  4351. description: 销售方userid
  4352. type: integer
  4353. sellusername:
  4354. description: 销售方名称
  4355. type: string
  4356. spotcontractid:
  4357. description: 关联现货合同ID
  4358. type: string
  4359. spotgoodsbrandid:
  4360. description: 现货品牌ID
  4361. type: integer
  4362. unitid:
  4363. description: 单位id
  4364. type: integer
  4365. userid:
  4366. description: 机构ID
  4367. type: integer
  4368. warehousecode:
  4369. description: 仓库代码
  4370. type: string
  4371. warehouseinfoid:
  4372. description: 现货仓库ID
  4373. type: string
  4374. warehousename:
  4375. description: 仓库名称
  4376. type: string
  4377. warehousetype:
  4378. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4379. type: integer
  4380. wrstandardcode:
  4381. description: 品类代码
  4382. type: string
  4383. wrstandardid:
  4384. description: 品类ID
  4385. type: integer
  4386. wrstandardname:
  4387. description: 品类名称
  4388. type: string
  4389. type: object
  4390. models.Ermcp3AreaStockApplySum:
  4391. properties:
  4392. brandname:
  4393. description: 品牌名称
  4394. type: string
  4395. inouttype:
  4396. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  4397. type: integer
  4398. spotcontractid:
  4399. description: 关联现货合同ID
  4400. type: string
  4401. spotgoodsbrandid:
  4402. description: 品牌id
  4403. type: integer
  4404. totalqty:
  4405. description: 总数量
  4406. type: number
  4407. wrstandardid:
  4408. description: 品类id
  4409. type: integer
  4410. wrstandardname:
  4411. description: 品类名称
  4412. type: string
  4413. type: object
  4414. models.Ermcp3AreaStockReportEx:
  4415. properties:
  4416. begindate:
  4417. description: 开始交易日
  4418. type: string
  4419. brandname:
  4420. description: 品牌名称
  4421. type: string
  4422. curstock:
  4423. description: 期末库存量
  4424. type: number
  4425. cycletime:
  4426. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4427. type: string
  4428. cycletype:
  4429. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4430. type: integer
  4431. deliverygoodscode:
  4432. description: 现货品种代码
  4433. type: string
  4434. deliverygoodsid:
  4435. description: 现货品种id
  4436. type: integer
  4437. deliverygoodsname:
  4438. description: 现货品种名称
  4439. type: string
  4440. diffqty:
  4441. description: 库存变化量 = 期末 - 期初
  4442. type: number
  4443. enddate:
  4444. description: 结束交易日
  4445. type: string
  4446. enumdicname:
  4447. description: 单位名称
  4448. type: string
  4449. goodsunitid:
  4450. description: 现货单位id
  4451. type: integer
  4452. oristock:
  4453. description: 期初库存量
  4454. type: number
  4455. reckondate:
  4456. description: 日照时期(yyyyMMdd)
  4457. type: string
  4458. spotgoodsbrandid:
  4459. description: 现货品牌ID
  4460. type: integer
  4461. todaybuyinqty:
  4462. description: 今采购入库量
  4463. type: number
  4464. todayproduceinqty:
  4465. description: 今内部入库量
  4466. type: number
  4467. todayproduceoutqty:
  4468. description: 今内部出库量
  4469. type: number
  4470. todayselloutqty:
  4471. description: 今销售出库量
  4472. type: number
  4473. unbuyinqty:
  4474. description: 采购未入库量(数据库未找到相关字段?)
  4475. type: number
  4476. unitid:
  4477. description: 品类单位id
  4478. type: integer
  4479. unselloutqty:
  4480. description: 销售未出库量(数据库未找到相关字段?)
  4481. type: number
  4482. updatetime:
  4483. description: 更新时间
  4484. type: string
  4485. userid:
  4486. description: 机构ID
  4487. type: integer
  4488. username:
  4489. description: 机构名称
  4490. type: string
  4491. warehousecode:
  4492. description: 仓库代码
  4493. type: string
  4494. warehouseinfoid:
  4495. description: 仓库ID
  4496. type: string
  4497. warehousename:
  4498. description: 仓库名称
  4499. type: string
  4500. warehousetype:
  4501. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4502. type: integer
  4503. wrstandardcode:
  4504. description: 品类代码
  4505. type: string
  4506. wrstandardid:
  4507. description: 品类ID
  4508. type: integer
  4509. wrstandardname:
  4510. description: 品类名称
  4511. type: string
  4512. type: object
  4513. models.Ermcp3ArealSumPL:
  4514. properties:
  4515. accountname:
  4516. description: 机构名称
  4517. type: string
  4518. areauserid:
  4519. description: 所属机构\交易用户ID
  4520. type: integer
  4521. begindate:
  4522. description: 开始交易日
  4523. type: string
  4524. currencyid:
  4525. description: 结算币种ID
  4526. type: integer
  4527. currencyname:
  4528. description: 币种名称
  4529. type: string
  4530. cycletime:
  4531. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4532. type: string
  4533. cycletype:
  4534. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4535. type: integer
  4536. enddate:
  4537. description: 结束交易日
  4538. type: string
  4539. enumdicname:
  4540. description: 单位名称(套保品种)
  4541. type: string
  4542. futureactualpl:
  4543. description: 期货损益
  4544. type: number
  4545. futurefloatpl:
  4546. description: 期货浮动损益
  4547. type: number
  4548. futurespotratio:
  4549. description: 期现比例 = 期货头寸总量 / 现货头寸总量
  4550. type: number
  4551. goodsunitid:
  4552. description: 套保品种单位id
  4553. type: integer
  4554. hedgeexposurepl:
  4555. description: 套保敞口损益
  4556. type: number
  4557. middlegoodscode:
  4558. description: 套保品种代码
  4559. type: string
  4560. middlegoodsid:
  4561. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  4562. type: integer
  4563. middlegoodsname:
  4564. description: 套保品种名称
  4565. type: string
  4566. reckondate:
  4567. description: 日照时期(yyyyMMdd)
  4568. type: string
  4569. spotactualpl:
  4570. description: 现货损益
  4571. type: number
  4572. spotfloatpl:
  4573. description: 现货浮动损益
  4574. type: number
  4575. sumactualpl:
  4576. description: 实际损益 = (ActualPL + FutureActualPL)
  4577. type: number
  4578. sumpl:
  4579. description: 总敞口损益 | 汇总损益
  4580. type: number
  4581. totalfutureqty:
  4582. description: 期货头寸总量
  4583. type: number
  4584. totalneedhedgeqty:
  4585. description: 应套保总量
  4586. type: number
  4587. totalspotqty:
  4588. description: 现货头寸总量
  4589. type: number
  4590. updatetime:
  4591. description: 更新时间
  4592. type: string
  4593. type: object
  4594. models.Ermcp3Brand:
  4595. properties:
  4596. areauserid:
  4597. description: 用户id
  4598. type: integer
  4599. brandid:
  4600. description: 品牌id
  4601. type: integer
  4602. brandname:
  4603. description: 品牌名称
  4604. type: string
  4605. deliverygoodsid:
  4606. description: 品种ID
  4607. type: integer
  4608. isvalid:
  4609. description: 是否有效
  4610. type: integer
  4611. type: object
  4612. models.Ermcp3Contract:
  4613. properties:
  4614. accountid:
  4615. description: 期货账户id
  4616. type: string
  4617. amount:
  4618. description: 金额 [1:一口价、3:暂定价]
  4619. type: number
  4620. attachment:
  4621. description: 附件
  4622. type: string
  4623. auditremark:
  4624. description: 审核意见
  4625. type: string
  4626. audittime:
  4627. description: 审核时间
  4628. type: string
  4629. biztype:
  4630. description: 业务类型 1-套保 2-套利
  4631. type: integer
  4632. brandname:
  4633. description: 品牌名称
  4634. type: string
  4635. buynickname:
  4636. description: 销售方昵称
  4637. type: string
  4638. buyuserid:
  4639. description: 采购方ID
  4640. type: integer
  4641. buyusername:
  4642. description: 采购方名称
  4643. type: string
  4644. contracctstatus:
  4645. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4646. type: integer
  4647. contractmargin:
  4648. description: 合同保证金
  4649. type: number
  4650. contractno:
  4651. description: 现货合同编号
  4652. type: string
  4653. contracttype:
  4654. description: 现货合同类型 - 1:采购 -1:销售
  4655. type: integer
  4656. convertfactor:
  4657. description: 标仓系数(品类)
  4658. type: number
  4659. createtime:
  4660. description: 创建时间
  4661. type: string
  4662. currencyid:
  4663. description: 币种id
  4664. type: integer
  4665. currencyname:
  4666. description: 币种名称
  4667. type: string
  4668. deliveryenddate:
  4669. description: 交收期(结束)
  4670. type: string
  4671. deliverygoodscode:
  4672. description: 现货品种代码
  4673. type: string
  4674. deliverygoodsid:
  4675. description: 现货品种ID
  4676. type: integer
  4677. deliverygoodsname:
  4678. description: 现货品种名称
  4679. type: string
  4680. deliverystartdate:
  4681. description: 交收期(开始)
  4682. type: string
  4683. enddate:
  4684. description: 点价结束日期 [2:点价 3:暂定价]
  4685. type: string
  4686. enumdicname:
  4687. description: 单位名称
  4688. type: string
  4689. goodscode:
  4690. description: 点价合约代码
  4691. type: string
  4692. goodsid:
  4693. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  4694. type: integer
  4695. goodsname:
  4696. description: 点价商品名称
  4697. type: string
  4698. margin:
  4699. description: 当前保证金
  4700. type: number
  4701. meruserid:
  4702. description: 跟单员id
  4703. type: integer
  4704. meruserlogincode:
  4705. description: 跟单员登录代码
  4706. type: string
  4707. merusername:
  4708. description: 跟单员名称
  4709. type: string
  4710. pointdesc:
  4711. description: 点价备注
  4712. type: string
  4713. price:
  4714. description: 价格\暂定价 [1:一口价、3:暂定价]
  4715. type: number
  4716. pricemove:
  4717. description: 升贴水 [2:点价 3:暂定价]
  4718. type: number
  4719. pricetype:
  4720. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4721. type: integer
  4722. producttype:
  4723. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4724. type: integer
  4725. qty:
  4726. description: 数量
  4727. type: number
  4728. remark:
  4729. description: 备注
  4730. type: string
  4731. saleuserid:
  4732. description: 业务员id
  4733. type: integer
  4734. saleuserlogincode:
  4735. description: 业务员登录代码
  4736. type: string
  4737. saleusername:
  4738. description: 业务员名称
  4739. type: string
  4740. sellnickname:
  4741. description: 采购方昵称
  4742. type: string
  4743. selluserid:
  4744. description: 销售方ID
  4745. type: integer
  4746. sellusername:
  4747. description: 销售方名称
  4748. type: string
  4749. spotcontractid:
  4750. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  4751. type: string
  4752. spotgoodsbrandid:
  4753. description: 现货品牌ID(DGFactoryItem表的ID)
  4754. type: integer
  4755. spotgoodsdesc:
  4756. description: 商品型号
  4757. type: string
  4758. startdate:
  4759. description: 点价开始日期 [2:点价 3:暂定价]
  4760. type: string
  4761. subjectid:
  4762. description: 交易主体ID
  4763. type: integer
  4764. subjectname:
  4765. description: 交易主体名称
  4766. type: string
  4767. tradeuserid:
  4768. description: 交易员id
  4769. type: integer
  4770. tradeuserlogincode:
  4771. description: 交易员登录代码
  4772. type: string
  4773. tradeusername:
  4774. description: 交易员名称
  4775. type: string
  4776. unitid:
  4777. description: 单位id(取品类上的单位id)
  4778. type: integer
  4779. updatetime:
  4780. description: 更新时间
  4781. type: string
  4782. userid:
  4783. description: 所属机构ID
  4784. type: integer
  4785. vatrate:
  4786. description: 增值税率
  4787. type: number
  4788. wrstandardcode:
  4789. description: 品类代码
  4790. type: string
  4791. wrstandardid:
  4792. description: 品类ID
  4793. type: integer
  4794. wrstandardname:
  4795. description: 品类名称
  4796. type: string
  4797. type: object
  4798. models.Ermcp3ExposureContractDetail:
  4799. properties:
  4800. biztype:
  4801. description: 业务类型 1-套保 2-套利
  4802. type: integer
  4803. brandname:
  4804. description: 品牌名称
  4805. type: string
  4806. buyuserid:
  4807. description: 采购方id
  4808. type: integer
  4809. buyusername:
  4810. description: 采购方名称
  4811. type: string
  4812. contractno:
  4813. description: 合同编号
  4814. type: string
  4815. contracttype:
  4816. description: 现货合同类型 - 1:采购 -1:销售
  4817. type: integer
  4818. convertfactor:
  4819. description: 标仓系数
  4820. type: number
  4821. convertratio:
  4822. description: 折算系数(套保品种)
  4823. type: number
  4824. curqty:
  4825. description: 今定价量
  4826. type: number
  4827. deliverygoodscode:
  4828. description: 现货品种代码
  4829. type: string
  4830. deliverygoodsid:
  4831. description: 现货品种id
  4832. type: integer
  4833. deliverygoodsname:
  4834. description: 现货品种名称
  4835. type: string
  4836. diffhedgeqty:
  4837. description: 套保变动量
  4838. type: number
  4839. diffneedhedgeqty:
  4840. description: 应套保变动量
  4841. type: number
  4842. diffqty:
  4843. description: 套保品种今变动量
  4844. type: number
  4845. enumdicname:
  4846. description: 单位名称
  4847. type: string
  4848. mgunitname:
  4849. description: 套保品种单位名称
  4850. type: string
  4851. middlegoodscode:
  4852. description: 套保品种代码
  4853. type: string
  4854. middlegoodsid:
  4855. description: 套保品种id
  4856. type: integer
  4857. middlegoodsname:
  4858. description: 套保品种名称
  4859. type: string
  4860. needarbitrageratio:
  4861. description: 应套利比例
  4862. type: number
  4863. needhedgeratio:
  4864. description: 应套保比例
  4865. type: number
  4866. pricedqty:
  4867. description: 已定价量
  4868. type: number
  4869. qty:
  4870. description: 合同量
  4871. type: number
  4872. selluserid:
  4873. description: 销售方id
  4874. type: integer
  4875. sellusername:
  4876. description: 销售方名称
  4877. type: string
  4878. spotcontractid:
  4879. description: 合同id
  4880. type: string
  4881. todaypricedqty:
  4882. description: 今定价量
  4883. type: number
  4884. tradedate:
  4885. description: 交易日
  4886. type: string
  4887. unitid:
  4888. description: 品类单位id
  4889. type: integer
  4890. userid:
  4891. description: 机构id
  4892. type: integer
  4893. username:
  4894. description: 交易用户
  4895. type: string
  4896. wrstandardcode:
  4897. description: 现货商品代码
  4898. type: string
  4899. wrstandardid:
  4900. description: 现货商品id
  4901. type: integer
  4902. wrstandardname:
  4903. description: 现货商品名称
  4904. type: string
  4905. type: object
  4906. models.Ermcp3ExposureDetail:
  4907. properties:
  4908. areauserid:
  4909. description: 机构ID
  4910. type: integer
  4911. changeQty:
  4912. description: 套保变动量
  4913. type: number
  4914. contracttype:
  4915. description: 现货合同类型 - 1:采购 -1:销售
  4916. type: integer
  4917. convertfactor:
  4918. description: 标仓系数
  4919. type: number
  4920. convertratio:
  4921. description: 折算系数
  4922. type: number
  4923. createtime:
  4924. description: 时间
  4925. type: string
  4926. enumdicname:
  4927. description: 现货商品单位名称
  4928. type: string
  4929. logtype:
  4930. description: 类型 - 1:套保计划 2:现货合同
  4931. type: integer
  4932. mgunitid:
  4933. description: 套保品种单位id
  4934. type: integer
  4935. mgunitidname:
  4936. description: 套保品种单位名称
  4937. type: string
  4938. middlegoodsId:
  4939. description: 套保商品id
  4940. type: integer
  4941. middlegoodscode:
  4942. description: 套保商品代码
  4943. type: string
  4944. middlegoodsname:
  4945. description: 套保商品名称
  4946. type: string
  4947. qty:
  4948. description: 数量
  4949. type: number
  4950. relateNo:
  4951. description: 现货合同/套保计划编号
  4952. type: string
  4953. unitid:
  4954. description: 现货商品单位id
  4955. type: integer
  4956. wrstandardcode:
  4957. description: 现货商品代码
  4958. type: string
  4959. wrstandardid:
  4960. description: 现货商品ID(SEQ_WRSTANDARD)
  4961. type: integer
  4962. wrstandardname:
  4963. description: 现货商品名称
  4964. type: string
  4965. type: object
  4966. models.Ermcp3ExposureFutuDetail:
  4967. properties:
  4968. accountid:
  4969. description: 交易账户id
  4970. type: integer
  4971. accountname:
  4972. description: 交易账户
  4973. type: string
  4974. begindate:
  4975. description: 开始交易日
  4976. type: string
  4977. buyorsell:
  4978. description: 方向 0-买 1-卖
  4979. type: integer
  4980. diffmgqty:
  4981. description: 套保品种今变化量
  4982. type: number
  4983. diffneedqty:
  4984. description: 应套保总量变化量
  4985. type: number
  4986. difftradeqty:
  4987. description: 交易品种今变化量
  4988. type: number
  4989. enddate:
  4990. description: 结束交易日
  4991. type: string
  4992. enumdicname:
  4993. description: 单位名称
  4994. type: string
  4995. goodscode:
  4996. description: 商品代码
  4997. type: string
  4998. goodsid:
  4999. description: 商品id
  5000. type: integer
  5001. goodsname:
  5002. description: 商品名称
  5003. type: string
  5004. holdqty:
  5005. description: 期末持仓量
  5006. type: number
  5007. middlegoodscode:
  5008. description: 套保商品代码
  5009. type: string
  5010. middlegoodsid:
  5011. description: 套保商品id
  5012. type: integer
  5013. middlegoodsname:
  5014. description: 套保商品名称
  5015. type: string
  5016. oriholdqty:
  5017. description: 期初持仓量
  5018. type: number
  5019. todaycloseqty:
  5020. description: 今平仓量
  5021. type: number
  5022. todayopenqty:
  5023. description: 今开仓量
  5024. type: number
  5025. tradedate:
  5026. description: 交易日
  5027. type: string
  5028. username:
  5029. description: 用户名称(交易用户)
  5030. type: string
  5031. type: object
  5032. models.Ermcp3ExposureHedgeplanDetail:
  5033. properties:
  5034. biztype:
  5035. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  5036. type: integer
  5037. changqty:
  5038. description: 应套保总量变化量
  5039. type: number
  5040. contracttype:
  5041. description: 计划类型 - 1:采购 -1:销售
  5042. type: integer
  5043. convertratio:
  5044. description: 折算系数(套保品种)
  5045. type: number
  5046. deliverygoodscode:
  5047. description: 现货商品代码
  5048. type: string
  5049. deliverygoodsid:
  5050. description: 现货商品id
  5051. type: integer
  5052. deliverygoodsname:
  5053. description: 现货商吕名称
  5054. type: string
  5055. dgunitid:
  5056. description: 现货商品单位id
  5057. type: integer
  5058. dgunitidname:
  5059. description: 单位名称(现货商品)
  5060. type: string
  5061. diffqty:
  5062. description: 套保品种今变动量
  5063. type: number
  5064. enumdicname:
  5065. description: 单位名称(品类)
  5066. type: string
  5067. hedgeplanid:
  5068. description: 套保计划id
  5069. type: string
  5070. hedgeplanno:
  5071. description: 套保计划名称
  5072. type: string
  5073. hedgeplanstatus:
  5074. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5075. type: integer
  5076. mgunitidname:
  5077. description: 单位名称(套保商品)
  5078. type: string
  5079. middlegoodscode:
  5080. description: 套保品种代码
  5081. type: string
  5082. middlegoodsid:
  5083. description: 套保品种id
  5084. type: integer
  5085. middlegoodsname:
  5086. description: 套保品种名称
  5087. type: string
  5088. needarbitrageratio:
  5089. description: 应套利比例
  5090. type: number
  5091. needhedgeratio:
  5092. description: 应套保比例
  5093. type: number
  5094. pricedqty:
  5095. description: 已定价量
  5096. type: number
  5097. qty:
  5098. description: 合同量
  5099. type: number
  5100. tradedate:
  5101. description: 交易日(登记日)
  5102. type: string
  5103. unitid:
  5104. description: 品类单位id
  5105. type: integer
  5106. userid:
  5107. description: 机构id
  5108. type: integer
  5109. wrstandardcode:
  5110. description: 品类代码
  5111. type: string
  5112. wrstandardid:
  5113. description: 品类id
  5114. type: integer
  5115. wrstandardname:
  5116. description: 品类名称
  5117. type: string
  5118. type: object
  5119. models.Ermcp3ExposureParamChLog:
  5120. properties:
  5121. accountid:
  5122. description: 期货账户ID (作废, 默认为0)
  5123. type: integer
  5124. aftervalue:
  5125. description: 应套保\套利量变更后(调整后应套保总量)
  5126. type: number
  5127. areauserid:
  5128. description: 所属机构\交易用户ID
  5129. type: integer
  5130. beforevalue:
  5131. description: 应套保\套利量变更前(调整前应套保总量)
  5132. type: number
  5133. begindate:
  5134. description: 开始交易日
  5135. type: string
  5136. changelogtype:
  5137. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  5138. type: integer
  5139. curvalue:
  5140. description: 当前套保\套利量(套保总量|套利总量)
  5141. type: number
  5142. diffvalue:
  5143. description: 应套保总量变化量
  5144. type: number
  5145. enddate:
  5146. description: 结束交易日
  5147. type: string
  5148. logdatetime:
  5149. description: 流水日期
  5150. type: string
  5151. logid:
  5152. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  5153. type: string
  5154. middlegoodscode:
  5155. description: 套保品种代码
  5156. type: string
  5157. middlegoodsid:
  5158. description: 套保品种
  5159. type: integer
  5160. middlegoodsname:
  5161. description: 套保品种名称
  5162. type: string
  5163. paramaftervalue:
  5164. description: 参数变更后(调整后参数值)
  5165. type: number
  5166. parambeforevalue:
  5167. description: 参数变更前(调整前参数值)
  5168. type: number
  5169. tradedate:
  5170. description: 交易日(yyyyMMdd)
  5171. type: string
  5172. type: object
  5173. models.Ermcp3ExpourseReport:
  5174. properties:
  5175. accountid:
  5176. description: 期货账户ID (作废, 默认为0)
  5177. type: integer
  5178. accountname:
  5179. description: 机构名称
  5180. type: string
  5181. arbitrageqty:
  5182. description: 套利量
  5183. type: number
  5184. areauserid:
  5185. description: 所属机构\交易用户ID
  5186. type: integer
  5187. begindate:
  5188. description: 开始交易日
  5189. type: string
  5190. buyfutureqty:
  5191. description: 买入期货数量
  5192. type: number
  5193. buyplanqty:
  5194. description: 采购计划数量
  5195. type: number
  5196. buypricedqty:
  5197. description: 采购合同已定价数量
  5198. type: number
  5199. cycletime:
  5200. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5201. type: string
  5202. cycletype:
  5203. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5204. type: integer
  5205. diffexposure:
  5206. description: 变动量(套保敞口)
  5207. type: number
  5208. difffutuqty:
  5209. description: 变动量(期货)
  5210. type: number
  5211. diffhedgeqty:
  5212. description: 变动量(现货应套保总量)
  5213. type: number
  5214. diffmgqtya:
  5215. description: 套保变动量
  5216. type: number
  5217. diffmgqtyb:
  5218. description: 套利变动量
  5219. type: number
  5220. diffqty:
  5221. description: 变动量(总敞口)
  5222. type: number
  5223. diffspotqty:
  5224. description: 变动量(现货)
  5225. type: number
  5226. enddate:
  5227. description: 结束交易日
  5228. type: string
  5229. enumdicname:
  5230. description: 单位名称
  5231. type: string
  5232. hedgeqty:
  5233. description: 套保量
  5234. type: number
  5235. mgneedhedgeratio:
  5236. description: 套保比例(套保品的)
  5237. type: number
  5238. middlegoodsid:
  5239. description: 套保品种ID
  5240. type: integer
  5241. middlegoodsname:
  5242. description: 套保商品名称
  5243. type: string
  5244. middlgoodscode:
  5245. description: 套保商品代码
  5246. type: string
  5247. needarbitrageqty:
  5248. description: 应套利量
  5249. type: number
  5250. needarbitrageratio:
  5251. description: 套利比例(套保品的)
  5252. type: number
  5253. needhedgeexposoure:
  5254. description: 应套保敞口(套保敞口)
  5255. type: number
  5256. needhedgeqty:
  5257. description: 应套保量
  5258. type: number
  5259. needhedgeratio:
  5260. description: 应套保敞口比例
  5261. type: number
  5262. oriarbitrageqty:
  5263. description: 期初套利量
  5264. type: number
  5265. oribuyfutureqty:
  5266. description: 期初买入期货数量
  5267. type: number
  5268. oribuyplanqty:
  5269. description: 期初采购计划数量
  5270. type: number
  5271. oribuypricedqty:
  5272. description: 期初采购合同已定价数量
  5273. type: number
  5274. orihedgeqty:
  5275. description: 期初套保量
  5276. type: number
  5277. orineedarbitrageqty:
  5278. description: 期初应套利量
  5279. type: number
  5280. orineedhedgeexposoure:
  5281. description: 期初应套保敞口
  5282. type: number
  5283. orineedhedgeqty:
  5284. description: 期初应套保量
  5285. type: number
  5286. orisellfutureqty:
  5287. description: 期初卖出期货数量
  5288. type: number
  5289. orisellplanqty:
  5290. description: 期初销售计划数量
  5291. type: number
  5292. orisellpricedqty:
  5293. description: 期初销售合同已定价数量
  5294. type: number
  5295. oritotalexposure:
  5296. description: 期初实时总敞口
  5297. type: number
  5298. oritotalfutureqty:
  5299. description: 期初期货头寸总量
  5300. type: number
  5301. oritotalneedhedgeqty:
  5302. description: 期初应套保总量
  5303. type: number
  5304. oritotalspotqty:
  5305. description: 期初现货头寸总量
  5306. type: number
  5307. reckondate:
  5308. description: 日照时期(yyyyMMdd)
  5309. type: string
  5310. sellfutureqty:
  5311. description: 卖出期货数量
  5312. type: number
  5313. sellplanqty:
  5314. description: 销售计划数量
  5315. type: number
  5316. sellpricedqty:
  5317. description: 销售合同已定价数量
  5318. type: number
  5319. totalexposure:
  5320. description: 实时总敞口(总敞口)
  5321. type: number
  5322. totalfutureqty:
  5323. description: 期货头寸总量(期货总量)
  5324. type: number
  5325. totalhedgeratio:
  5326. description: 敞口比例
  5327. type: number
  5328. totalneedhedgeqty:
  5329. description: 应套保总量(现货应套保总量)
  5330. type: number
  5331. totalspotqty:
  5332. description: 现货头寸总量
  5333. type: number
  5334. unitid:
  5335. description: 单位id
  5336. type: integer
  5337. updatetime:
  5338. description: 更新时间
  5339. type: string
  5340. type: object
  5341. models.Ermcp3FinanceReport:
  5342. properties:
  5343. accountname:
  5344. description: 机构名称
  5345. type: string
  5346. areauserid:
  5347. description: 所属机构\交易用户ID
  5348. type: integer
  5349. begindate:
  5350. description: 开始交易日
  5351. type: string
  5352. biztype:
  5353. description: 业务类型 - 1:套保 2:套利
  5354. type: integer
  5355. brandname:
  5356. description: 品牌名称
  5357. type: string
  5358. buypreinvoicedamount:
  5359. description: 采购预收票额(预收票额)
  5360. type: number
  5361. buyprepaidamount:
  5362. description: 采购预付款额(预付货款额)
  5363. type: number
  5364. buytodayinvoiceamount:
  5365. description: 采购今收票额(今收票额)
  5366. type: number
  5367. buytodayrefundamount:
  5368. description: 采购今收退款额(今收退款额)
  5369. type: number
  5370. buytodaysettleamount:
  5371. description: 采购今付款额(今付货款额)
  5372. type: number
  5373. buyuninvoicedamount:
  5374. description: 采购应收票额(应收票额)
  5375. type: number
  5376. buyunpaidamount:
  5377. description: 采购应付款额(应付货款额)
  5378. type: number
  5379. currencyid:
  5380. description: 结算币种ID
  5381. type: integer
  5382. currencyname:
  5383. description: 币种名称
  5384. type: string
  5385. cycletime:
  5386. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5387. type: string
  5388. cycletype:
  5389. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5390. type: integer
  5391. deliverygoodscode:
  5392. description: 现货品种代码
  5393. type: string
  5394. deliverygoodsid:
  5395. description: 现货品种ID
  5396. type: integer
  5397. deliverygoodsname:
  5398. description: 现货品种名称
  5399. type: string
  5400. enddate:
  5401. description: 结束交易日
  5402. type: string
  5403. reckondate:
  5404. description: 日照时期(yyyyMMdd)
  5405. type: string
  5406. sellpreinvoicedamount:
  5407. description: 销售预开票额(预开票额)
  5408. type: number
  5409. sellprepaidamount:
  5410. description: 销售预收款额(预收货款额)
  5411. type: number
  5412. selltodayinvoiceamount:
  5413. description: 销售今开票额(今开票额)
  5414. type: number
  5415. selltodayrefundamount:
  5416. description: 销售今付退款额(今付退款额)
  5417. type: number
  5418. selltodaysettleamount:
  5419. description: 销售今收款额(今收货款额)
  5420. type: number
  5421. selluninvoicedamount:
  5422. description: 销售应开票额(应开票额)
  5423. type: number
  5424. sellunpaidamount:
  5425. description: 销售应收款额(应收货款额)
  5426. type: number
  5427. spotgoodsbrandid:
  5428. description: 现货品牌ID
  5429. type: integer
  5430. todaypaysum:
  5431. description: 今付款合计
  5432. type: number
  5433. todayreceivesum:
  5434. description: 今收款合计
  5435. type: number
  5436. updatetime:
  5437. description: 更新时间
  5438. type: string
  5439. wrfactortypeid:
  5440. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  5441. type: integer
  5442. wrstandardcode:
  5443. description: 品类代码
  5444. type: string
  5445. wrstandardid:
  5446. description: 现货商品ID
  5447. type: integer
  5448. wrstandardname:
  5449. description: 品类名称
  5450. type: string
  5451. type: object
  5452. models.Ermcp3GoodsGroup:
  5453. properties:
  5454. agreeunit:
  5455. description: 合约单位
  5456. type: number
  5457. areauserid:
  5458. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  5459. type: integer
  5460. canshort:
  5461. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  5462. type: integer
  5463. closepricemode:
  5464. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  5465. type: integer
  5466. createtime:
  5467. description: 创建时间
  5468. type: string
  5469. creatorid:
  5470. description: 创建人
  5471. type: integer
  5472. currencyid:
  5473. description: 报价货币ID
  5474. type: integer
  5475. decimalplace:
  5476. description: 报价小数位
  5477. type: integer
  5478. enumdicname:
  5479. description: 单位名称
  5480. type: string
  5481. exchangefullname:
  5482. description: 交易所全称
  5483. type: string
  5484. excludecfg:
  5485. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  5486. type: integer
  5487. exexchangecode:
  5488. description: 交易所代码
  5489. type: string
  5490. exexchangeid:
  5491. description: 外部交易所ID[通道交易]
  5492. type: integer
  5493. exexchangename:
  5494. description: 交易所名称
  5495. type: string
  5496. goodsgroupid:
  5497. description: 商品组ID(自增ID)
  5498. type: integer
  5499. goodsgroupname:
  5500. description: 商品组名称
  5501. type: string
  5502. goodsgroupstatus:
  5503. description: 商品组状态 - 1:正常 2:注销
  5504. type: integer
  5505. goodunitid:
  5506. description: 报价单位ID
  5507. type: integer
  5508. groupcategroyid:
  5509. description: 品种分类ID
  5510. type: integer
  5511. innerdealmode:
  5512. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  5513. type: integer
  5514. marketid:
  5515. description: 所属市场ID
  5516. type: integer
  5517. modifierid:
  5518. description: 修改人
  5519. type: integer
  5520. modifytime:
  5521. description: 修改时间
  5522. type: string
  5523. outerdealmode:
  5524. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  5525. type: integer
  5526. outergroupcode:
  5527. description: 外部商品组代码[通道交易]
  5528. type: string
  5529. quoteminunit:
  5530. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5531. type: integer
  5532. quotesourcegroupid:
  5533. description: 所属行情源分组ID[参考行情市场用\通道交易]
  5534. type: integer
  5535. syncgoodsqty:
  5536. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  5537. type: integer
  5538. required:
  5539. - areauserid
  5540. type: object
  5541. models.Ermcp3HedgePlan:
  5542. properties:
  5543. accountid:
  5544. description: 资金账号
  5545. type: integer
  5546. areauserid:
  5547. description: 用户ID
  5548. type: integer
  5549. auditid:
  5550. description: 审核id
  5551. type: integer
  5552. auditname:
  5553. description: 审核人名称
  5554. type: string
  5555. auditremark:
  5556. description: 审核备注
  5557. type: string
  5558. auditsrc:
  5559. description: 审核来源 1-管理端 2-终端
  5560. type: integer
  5561. audittime:
  5562. description: 审核时间
  5563. type: string
  5564. contracttype:
  5565. description: 计划类型 - 1:采购 -1:销售
  5566. type: integer
  5567. convertfactor:
  5568. description: 标仓系数
  5569. type: number
  5570. createtime:
  5571. description: 创建时间
  5572. type: string
  5573. currencyid:
  5574. description: 币种id
  5575. type: integer
  5576. currencyname:
  5577. description: 币种名称
  5578. type: string
  5579. deliverygoodscode:
  5580. description: 现货品种代码
  5581. type: string
  5582. deliverygoodsid:
  5583. description: 现货品种ID
  5584. type: integer
  5585. deliverygoodsname:
  5586. description: 现货品种名称
  5587. type: string
  5588. enumdicname:
  5589. description: 单位名称(现货商品)
  5590. type: string
  5591. hedgeplanid:
  5592. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  5593. type: string
  5594. hedgeplanno:
  5595. description: 套保计划编号(名称)
  5596. type: string
  5597. hedgeplanstatus:
  5598. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5599. type: integer
  5600. planqty:
  5601. description: 计划数量
  5602. type: number
  5603. plantime:
  5604. description: 计划时间
  5605. type: string
  5606. producttype:
  5607. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5608. type: integer
  5609. remark:
  5610. description: 备注
  5611. type: string
  5612. spotgoodsdesc:
  5613. description: 商品型号
  5614. type: string
  5615. taaccountname:
  5616. description: 资金账号名称
  5617. type: string
  5618. tradeuserid:
  5619. description: 交易用户id
  5620. type: integer
  5621. tradeusername:
  5622. description: 交易用户名称
  5623. type: string
  5624. unitid:
  5625. description: 单位id(现货商品)
  5626. type: integer
  5627. updatetime:
  5628. description: 更新时间
  5629. type: string
  5630. vatrate:
  5631. description: 增值税率
  5632. type: number
  5633. wrstandardcode:
  5634. description: 品类代码
  5635. type: string
  5636. wrstandardid:
  5637. description: 品类id
  5638. type: integer
  5639. wrstandardname:
  5640. description: 品类名称
  5641. type: string
  5642. wrunitid:
  5643. description: 品类单位id
  5644. type: integer
  5645. wrunitidame:
  5646. description: 品类单位名称
  5647. type: string
  5648. type: object
  5649. models.Ermcp3InnerTradeLink:
  5650. properties:
  5651. accountid:
  5652. description: 期货账号代码 | 资金账号ID
  5653. type: integer
  5654. buyorsell:
  5655. description: 方向 - 0:买 1:卖
  5656. type: integer
  5657. channelbuildtype:
  5658. description: 委托单据类型 0:无 1:建仓 2:平仓
  5659. type: integer
  5660. currencyid:
  5661. description: 币种id
  5662. type: integer
  5663. currencyname:
  5664. description: 结算币种 名称
  5665. type: string
  5666. goodscode:
  5667. description: 商品代码
  5668. type: string
  5669. goodsid:
  5670. description: 商品ID
  5671. type: integer
  5672. goodsname:
  5673. description: 商品名称
  5674. type: string
  5675. outtradeid:
  5676. description: 外部成交单号
  5677. type: string
  5678. taname:
  5679. description: 期货账户名称
  5680. type: string
  5681. tradeid:
  5682. description: 期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5683. type: string
  5684. tradeprice:
  5685. description: 成交价格
  5686. type: number
  5687. tradeqty:
  5688. description: 期货成交数量
  5689. type: integer
  5690. tradetime:
  5691. description: 关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间
  5692. type: string
  5693. username:
  5694. description: 用户名称
  5695. type: string
  5696. type: object
  5697. models.Ermcp3OutTradeLink:
  5698. properties:
  5699. buyorsell:
  5700. description: 买卖方向 - 0:买 1:卖
  5701. type: integer
  5702. channelbuildtype:
  5703. description: 开平标志- 0:无 1:建仓 2:平仓
  5704. type: integer
  5705. currencyname:
  5706. description: 币种名称
  5707. type: string
  5708. exexchangecode:
  5709. description: 交易所代码
  5710. type: string
  5711. exexchangename:
  5712. description: 交易所名称
  5713. type: string
  5714. goodscode:
  5715. description: 合约代码
  5716. type: string
  5717. goodsid:
  5718. description: 合约id
  5719. type: integer
  5720. goodsname:
  5721. description: 合约名称
  5722. type: string
  5723. hasinnerorder:
  5724. description: 是否有内部单关联 - 0:无 1:有
  5725. type: integer
  5726. hedgeaccountcode:
  5727. description: 外部账号 | 对冲账号
  5728. type: string
  5729. outtradeid:
  5730. description: 外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5731. type: string
  5732. tradeprice:
  5733. description: 成交价格
  5734. type: number
  5735. tradeqty:
  5736. description: 成交数量
  5737. type: integer
  5738. tradetime:
  5739. description: 成交时间
  5740. type: string
  5741. type: object
  5742. models.Ermcp3PaAreaAuditCfg:
  5743. properties:
  5744. areauserid:
  5745. description: 用户ID
  5746. type: integer
  5747. buyinauditflag:
  5748. description: 采购入库是否需要审核 - 0:不需审核 1:需要审核
  5749. type: integer
  5750. costratioauditflag:
  5751. description: 现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核
  5752. type: integer
  5753. customerauditflag:
  5754. description: 客户资料是否需要审核 - 0:不需审核 1:需要审核
  5755. type: integer
  5756. deliveryauditflag:
  5757. description: 交收是否需要审核 - 0:不需审核 1:需要审核
  5758. type: integer
  5759. invoiceauditflag:
  5760. description: 发票是否需要审核 - 0:不需审核 1:需要审核
  5761. type: integer
  5762. mgneedhedgeratioauditflag:
  5763. description: 套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核
  5764. type: integer
  5765. moneyauditflag:
  5766. description: 款项是否需要审核 - 0:不需审核 1:需要审核
  5767. type: integer
  5768. operatorid:
  5769. description: 操作人
  5770. type: integer
  5771. operatorsrc:
  5772. description: 操作来源 - 1:管理端 2:终端
  5773. type: integer
  5774. pointpriceauditflag:
  5775. description: 点价是否需要审核 - 0:不需审核 1:需要审核
  5776. type: integer
  5777. produceinauditflag:
  5778. description: 生产入库是否需要审核 - 0:不需审核 1:需要审核
  5779. type: integer
  5780. produceoutauditflag:
  5781. description: 生产出库是否需要审核 - 0:不需审核 1:需要审核
  5782. type: integer
  5783. selloutauditflag:
  5784. description: 销售出库是否需要审核 - 0:不需审核 1:需要审核
  5785. type: integer
  5786. sgconvertratioauditflag:
  5787. description: 现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核
  5788. type: integer
  5789. sgvtaratioauditflag:
  5790. description: 现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核
  5791. type: integer
  5792. spotcontractauditflag:
  5793. description: 现货合同是否需要审核 - 0:不需审核 1:需要审核
  5794. type: integer
  5795. updatetime:
  5796. description: 更新时间
  5797. type: string
  5798. type: object
  5799. models.Ermcp3PaAreaSubject:
  5800. properties:
  5801. areauserid:
  5802. description: 所属机构
  5803. type: integer
  5804. canmodify:
  5805. description: 是否可修改 - 0:否 1:是
  5806. type: integer
  5807. createtime:
  5808. description: 创建时间
  5809. type: string
  5810. creatorid:
  5811. description: 创建人ID
  5812. type: string
  5813. creatorsrc:
  5814. description: 创建人来源 - 1:管理端 2:终端 3:交易
  5815. type: integer
  5816. modifierid:
  5817. description: 修改人
  5818. type: string
  5819. modifiersrc:
  5820. description: 修改人来源 - 1:管理端 2:终端
  5821. type: integer
  5822. modifytime:
  5823. description: 修改时间
  5824. type: string
  5825. parentsubjectid:
  5826. description: 上级主体ID
  5827. type: string
  5828. remark:
  5829. description: 备注
  5830. type: string
  5831. subjectid:
  5832. description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  5833. type: integer
  5834. subjectname:
  5835. description: 主体名称
  5836. type: string
  5837. subjectstatus:
  5838. description: '主体状态 - 1:正常 2: 停用'
  5839. type: integer
  5840. subjecttype:
  5841. description: 主体类型 - 1:交易主体 2:业务部门
  5842. type: integer
  5843. type: object
  5844. models.Ermcp3PaTradeLink:
  5845. properties:
  5846. accountid:
  5847. description: 期货账户代码 | 账号ID
  5848. type: integer
  5849. agreeunit:
  5850. description: 合约乘数
  5851. type: number
  5852. buyorsell:
  5853. description: 方向 - 0:买 1:卖
  5854. type: integer
  5855. channelbuildtype:
  5856. description: 委托单据类型 0:无 1:建仓 2:平仓
  5857. type: integer
  5858. charge:
  5859. description: 手续费
  5860. type: number
  5861. closepl:
  5862. description: 平仓盈亏
  5863. type: number
  5864. closetype:
  5865. description: 平仓方式 - 0:无 1:平今 2:平昨
  5866. type: integer
  5867. convertratio:
  5868. description: 折算系数
  5869. type: number
  5870. enumdicname:
  5871. description: 单位名称
  5872. type: string
  5873. executeprice:
  5874. description: 执行价 [期权]
  5875. type: integer
  5876. goodscode:
  5877. description: 合约代码
  5878. type: string
  5879. goodsgroupid:
  5880. description: 对冲品种ID[期货合约商品组ID]
  5881. type: integer
  5882. goodsid:
  5883. description: 商品ID
  5884. type: integer
  5885. goodsname:
  5886. description: 合约名称
  5887. type: string
  5888. goodunitid:
  5889. description: 单位id
  5890. type: integer
  5891. hedgeflag:
  5892. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  5893. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  5894. type: integer
  5895. marketid:
  5896. description: 市场ID
  5897. type: integer
  5898. middlegoodsid:
  5899. description: 套保品种ID
  5900. type: integer
  5901. middlegoodsqty:
  5902. description: 套保品种数量 = TradeQty * AgreeUnit * ConvertRatio
  5903. type: number
  5904. optioncode:
  5905. description: 期权代码 [期权]
  5906. type: string
  5907. ordertype:
  5908. description: 单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单
  5909. type: integer
  5910. ordertypename:
  5911. description: 订单类型
  5912. type: string
  5913. parentaccountid:
  5914. description: 所属母账户
  5915. type: integer
  5916. premium:
  5917. description: 权利金 [期权]
  5918. type: number
  5919. relatedlot:
  5920. description: 已关联数量(已关联数量手) | db:关联手数
  5921. type: number
  5922. relatedouttradeid:
  5923. description: 关联外部成交单ID
  5924. type: string
  5925. relatedqty:
  5926. description: 关联数量
  5927. type: number
  5928. spotcontractid:
  5929. description: 现货合同ID [4:套期保值\10\11]
  5930. type: string
  5931. taname:
  5932. description: 期货账户名称
  5933. type: string
  5934. tradeamount:
  5935. description: 成交金额(账户)
  5936. type: number
  5937. tradedate:
  5938. description: 交易日(yyyyMMdd)
  5939. type: string
  5940. tradeid:
  5941. description: 期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5942. type: string
  5943. tradelot:
  5944. description: 成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数
  5945. type: integer
  5946. tradeprice:
  5947. description: 成交价格
  5948. type: number
  5949. tradetime:
  5950. description: 时间 | db:成交时间
  5951. type: string
  5952. tradetype:
  5953. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  5954. type: integer
  5955. userid:
  5956. description: 所属机构 - 所属母账户的UserID
  5957. type: string
  5958. username:
  5959. description: 用户名称
  5960. type: string
  5961. type: object
  5962. models.Ermcp3ParamChangeApp:
  5963. properties:
  5964. aftervalue:
  5965. description: 变更后
  5966. type: number
  5967. applicationid:
  5968. description: 申请ID(619+Unix秒时间戳(10位)+xxxxxx)
  5969. type: string
  5970. applyid:
  5971. description: 申请人
  5972. type: string
  5973. applyname:
  5974. description: 申请人名称(代码)
  5975. type: string
  5976. applyremark:
  5977. description: 申请备注
  5978. type: string
  5979. applysrc:
  5980. description: 申请来源 - 1:管理端 2:终端
  5981. type: integer
  5982. applystatus:
  5983. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  5984. type: integer
  5985. applytime:
  5986. description: 申请时间
  5987. type: string
  5988. areauserid:
  5989. description: 所属机构用户ID
  5990. type: integer
  5991. auditid:
  5992. description: 审核人
  5993. type: string
  5994. auditname:
  5995. description: 审核人名称(代码)
  5996. type: string
  5997. auditremark:
  5998. description: 审核备注
  5999. type: string
  6000. auditsrc:
  6001. description: 审核来源 - 1:管理端 2:终端
  6002. type: integer
  6003. audittime:
  6004. description: 审核时间
  6005. type: string
  6006. audittradedate:
  6007. description: 审核交易日(yyyyMMdd)
  6008. type: string
  6009. beforevalue:
  6010. description: 变更前
  6011. type: number
  6012. deliverygoodscode:
  6013. description: 品种代码
  6014. type: string
  6015. deliverygoodsid:
  6016. description: 品种id
  6017. type: integer
  6018. deliverygoodsname:
  6019. description: 品种名称
  6020. type: string
  6021. middlegoodscode:
  6022. description: 套保品种代码
  6023. type: string
  6024. middlegoodsid:
  6025. description: 套保品种ID [ParamChangeType = 2,3,4]
  6026. type: integer
  6027. middlegoodsname:
  6028. description: 套保品种名称
  6029. type: string
  6030. operatetype:
  6031. description: 操作类型 - 1:新增 2:修改
  6032. type: integer
  6033. paramchangetype:
  6034. description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  6035. type: integer
  6036. wrstandardcode:
  6037. description: 现货商品代码
  6038. type: string
  6039. wrstandardid:
  6040. description: 现货商品ID [ParamChangeType = 1,2,3]
  6041. type: integer
  6042. wrstandardname:
  6043. description: 现货商品名称
  6044. type: string
  6045. type: object
  6046. models.Ermcp3RootUserAccount:
  6047. properties:
  6048. accountname:
  6049. description: 账户名称(机构名称)
  6050. type: string
  6051. accountstatus:
  6052. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6053. type: integer
  6054. applysrc:
  6055. description: 申请来源 - 1:管理端 2:终端
  6056. type: integer
  6057. auditremark:
  6058. description: 审核备注
  6059. type: string
  6060. auditsrc:
  6061. description: 审核来源 - 1:管理端 2:终端
  6062. type: integer
  6063. audittime:
  6064. description: 审核时间
  6065. type: string
  6066. audituserid:
  6067. description: 审核人
  6068. type: integer
  6069. broker:
  6070. description: 所属经纪人ID
  6071. type: integer
  6072. canceltime:
  6073. description: 销户时间
  6074. type: string
  6075. canceluserid:
  6076. description: 销户人
  6077. type: integer
  6078. canrecommend:
  6079. description: 是否可推荐 - 0:不可 1;可
  6080. type: integer
  6081. createtime:
  6082. description: 创建时间
  6083. type: string
  6084. creatorid:
  6085. description: 创建人
  6086. type: integer
  6087. hasauth:
  6088. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  6089. type: integer
  6090. isanonymous:
  6091. description: 是否匿名下单 - 0:否 1:是
  6092. type: integer
  6093. maxinvestornum:
  6094. description: 最大用户数(经纪会员下投资者个数)
  6095. type: integer
  6096. memberuserid:
  6097. description: 所属会员ID
  6098. type: integer
  6099. modifierid:
  6100. description: 修改人
  6101. type: integer
  6102. modifyremark:
  6103. description: 变更备注
  6104. type: string
  6105. modifystatus:
  6106. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  6107. type: integer
  6108. modifytime:
  6109. description: 修改时间
  6110. type: string
  6111. nickname:
  6112. description: 昵称
  6113. type: string
  6114. parenttopuser:
  6115. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  6116. type: string
  6117. parentuserid:
  6118. description: 所属机构ID
  6119. type: integer
  6120. reckonaccountid:
  6121. description: 默认结算资金账号ID(机构分润使用) 作废
  6122. type: integer
  6123. refercount:
  6124. description: 推荐总人数
  6125. type: integer
  6126. refereeuserid:
  6127. description: 推荐人ID
  6128. type: integer
  6129. refernum:
  6130. description: 推荐码
  6131. type: string
  6132. rootuserid:
  6133. description: 根用户ID
  6134. type: integer
  6135. subaccountlevel:
  6136. description: 子账户层数
  6137. type: integer
  6138. subarealevelpath:
  6139. description: 子机构层级路径(逗号分隔,首尾加逗号)
  6140. type: string
  6141. userid:
  6142. description: 用户ID
  6143. type: integer
  6144. usertype:
  6145. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6146. type: integer
  6147. type: object
  6148. models.Ermcp3SCMiddleGoods:
  6149. properties:
  6150. biztype:
  6151. description: 业务类型 1:套保 2:套利
  6152. type: integer
  6153. contractno:
  6154. description: 合同编号
  6155. type: string
  6156. contracttype:
  6157. description: 合同类型 1:采购 -1:销售
  6158. type: integer
  6159. convertratio:
  6160. description: 折算系数
  6161. type: number
  6162. customername:
  6163. description: 对手手名称
  6164. type: string
  6165. customeruserid:
  6166. description: 对手id
  6167. type: integer
  6168. deliverygoodscode:
  6169. description: 现货品种代码
  6170. type: string
  6171. deliverygoodsid:
  6172. description: 现货品种ID
  6173. type: integer
  6174. deliverygoodsname:
  6175. description: 现货品种名称
  6176. type: string
  6177. enumdicname:
  6178. description: 现货单位名称
  6179. type: string
  6180. middlegoodsid:
  6181. description: 套保品种ID
  6182. type: integer
  6183. middlegoodspricedqty3:
  6184. description: 应套保数量 = MiddleGoodsPricedQty2 * 套保比率
  6185. type: number
  6186. needhedgeratio:
  6187. description: 套保比例
  6188. type: number
  6189. pricedqty:
  6190. description: 已定价量
  6191. type: number
  6192. relatedmiddlegoodsqty:
  6193. description: 已关联量(套保品种)(期货)
  6194. type: number
  6195. spotcontractid:
  6196. description: 合同编号
  6197. type: string
  6198. unitid:
  6199. description: 现货单位id
  6200. type: integer
  6201. userid:
  6202. description: 用户id
  6203. type: integer
  6204. vatrate:
  6205. description: 增值税率
  6206. type: number
  6207. wrstandardcode:
  6208. description: 现货商品代码
  6209. type: string
  6210. wrstandardid:
  6211. description: 现货商品id
  6212. type: integer
  6213. wrstandardname:
  6214. description: 现货商品名称
  6215. type: string
  6216. type: object
  6217. models.Ermcp3SCMiddleGoodsReport:
  6218. properties:
  6219. begindate:
  6220. description: 开始交易日
  6221. type: string
  6222. contractno:
  6223. description: 合同编号
  6224. type: string
  6225. contracttype:
  6226. description: 合同类型 1:采购 -1:销售
  6227. type: integer
  6228. convertratio:
  6229. description: 折算系数
  6230. type: number
  6231. cycletime:
  6232. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6233. type: string
  6234. cycletype:
  6235. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6236. type: integer
  6237. deliverygoodscode:
  6238. description: 品种代码
  6239. type: string
  6240. deliverygoodsid:
  6241. description: 现货品种ID
  6242. type: integer
  6243. deliverygoodsname:
  6244. description: 品种名称
  6245. type: string
  6246. diffprice:
  6247. description: 现期价格差 = 今日点价登记均价(基价) - 今日期货成交均价
  6248. type: number
  6249. diffqty:
  6250. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  6251. type: number
  6252. enddate:
  6253. description: 结束交易日
  6254. type: string
  6255. hedgeplanqty:
  6256. description: 套保计划量 = TodayPricedQty * 折算系数 * (1/(1+增值税率)) * 套保比例
  6257. type: number
  6258. matchname:
  6259. description: 交易对手方(个人:用户名称 企业:简称)
  6260. type: string
  6261. middlegoodscode:
  6262. description: 套保品种代码
  6263. type: string
  6264. middlegoodsid:
  6265. description: 套保品种ID
  6266. type: integer
  6267. middlegoodsname:
  6268. description: 套保品种名称
  6269. type: string
  6270. middlegoodspricedqty:
  6271. description: 已定价量(套保品种 - 税前) = PricedQty * 折算系数
  6272. type: number
  6273. middlegoodspricedqty2:
  6274. description: 已定价量(套保品种- 税后) = MiddleGoodsPricedQty * (1/(1+增值税率))
  6275. type: number
  6276. middlegoodspricedqty3:
  6277. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  6278. type: number
  6279. needhedgeratio:
  6280. description: 套保系数
  6281. type: number
  6282. pricedamount:
  6283. description: 已定价额(现货)
  6284. type: number
  6285. pricedamount2:
  6286. description: 已定价额(现货-基价额)
  6287. type: number
  6288. pricedqty:
  6289. description: 已定价量(现货)
  6290. type: number
  6291. reckondate:
  6292. description: 日照时期(yyyyMMdd)
  6293. type: string
  6294. relatedmiddlegoodsamount:
  6295. description: 已关联额(期货)
  6296. type: number
  6297. relatedmiddlegoodsqty:
  6298. description: 已关联量(套保品种)(期货)
  6299. type: number
  6300. spotcontractid:
  6301. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  6302. type: string
  6303. todayavgfutuprice:
  6304. description: 今日期货成交均价 = TodayRelatedMiddleGoodsAmount /todayrelatedfutureqty
  6305. type: number
  6306. todayavgprice:
  6307. description: 今日定价均价 = TodayPricedAmount / TodayPricedQty
  6308. type: number
  6309. todayavgprice2:
  6310. description: 今日点价登记均价(基价) = TodayPricedAmount2 / TodayPricedQty
  6311. type: number
  6312. todaypricedamount:
  6313. description: 今日定价额(现货)
  6314. type: number
  6315. todaypricedamount2:
  6316. description: 今日定价额(现货-基价额)
  6317. type: number
  6318. todaypricedqty:
  6319. description: 今日定价量(现货)
  6320. type: number
  6321. todayrelatedfutureqty:
  6322. description: 今日关联量(期货)
  6323. type: number
  6324. todayrelatedmiddlegoodsamount:
  6325. description: 今日关联额(期货)
  6326. type: number
  6327. todayrelatedmiddlegoodsqty:
  6328. description: 今日关联量(套保品-期货)
  6329. type: number
  6330. updatetime:
  6331. description: 更新时间
  6332. type: string
  6333. userid:
  6334. description: 合同所属用户id
  6335. type: integer
  6336. vatrate:
  6337. description: 增值税率
  6338. type: number
  6339. wrstandardcode:
  6340. description: 商品(品类) 代码
  6341. type: string
  6342. wrstandardid:
  6343. description: 现货商品ID
  6344. type: integer
  6345. wrstandardname:
  6346. description: 商品(品类) 名称
  6347. type: string
  6348. type: object
  6349. models.Ermcp3SellBuyContract:
  6350. properties:
  6351. accountid:
  6352. description: 期货账户id
  6353. type: string
  6354. accountname:
  6355. description: 账户名称
  6356. type: string
  6357. attachment:
  6358. description: 附件
  6359. type: string
  6360. audittime:
  6361. description: 审核时间
  6362. type: string
  6363. bizsubjectid:
  6364. description: 归属业务部门ID - SubjectID
  6365. type: integer
  6366. biztype:
  6367. description: 业务类型 1-套保 2-套利
  6368. type: integer
  6369. brandname:
  6370. description: 品牌名称
  6371. type: string
  6372. contracctstatus:
  6373. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6374. type: integer
  6375. contractmargin:
  6376. description: 合同保证金
  6377. type: number
  6378. contractno:
  6379. description: 合同编号
  6380. type: string
  6381. contracttype:
  6382. description: 合同类型 1-采购, -1-销售
  6383. type: integer
  6384. convertfactor:
  6385. description: 标仓系数(品类)
  6386. type: number
  6387. createtime:
  6388. description: 创建时间
  6389. type: string
  6390. currencyid:
  6391. description: 币种id
  6392. type: integer
  6393. currencyname:
  6394. description: 币种名称
  6395. type: string
  6396. daikaiamount:
  6397. description: 应收(开)票额
  6398. type: number
  6399. deliveryenddate:
  6400. description: 交割结束日
  6401. type: string
  6402. deliverygoodscode:
  6403. description: 现货品种代码
  6404. type: string
  6405. deliverygoodsid:
  6406. description: 现货商品ID
  6407. type: integer
  6408. deliverygoodsname:
  6409. description: 现货品种名称
  6410. type: string
  6411. deliverystartdate:
  6412. description: 交割开始日
  6413. type: string
  6414. enddate:
  6415. description: 点价结束日
  6416. type: string
  6417. enumdicname:
  6418. description: 单位名称
  6419. type: string
  6420. goodscode:
  6421. description: 点价商品代码
  6422. type: string
  6423. goodsgroupid:
  6424. description: 点价商品组id
  6425. type: integer
  6426. goodsid:
  6427. description: 点价商品ID
  6428. type: integer
  6429. goodsname:
  6430. description: 点价商品名称
  6431. type: string
  6432. invoiceamount:
  6433. description: 已开票额
  6434. type: number
  6435. loanamount:
  6436. description: 贷款总额=已定价额+调整金额
  6437. type: number
  6438. margin:
  6439. description: 保证金
  6440. type: number
  6441. meruserid:
  6442. description: 跟单员id
  6443. type: integer
  6444. meruserlogincode:
  6445. description: 跟单员登录代码
  6446. type: string
  6447. merusername:
  6448. description: 跟单员名称
  6449. type: string
  6450. nickname:
  6451. description: 账户昵称
  6452. type: string
  6453. orireckonrealqty:
  6454. description: 应交收量
  6455. type: number
  6456. payamount:
  6457. description: 已收付额(收款或付款)
  6458. type: number
  6459. preinvoiceamount:
  6460. description: 预收(开)票额
  6461. type: number
  6462. prepayamount:
  6463. description: 预收付额
  6464. type: number
  6465. price:
  6466. description: 价格
  6467. type: number
  6468. pricedamount:
  6469. description: 已定价额
  6470. type: number
  6471. pricedavg:
  6472. description: 已点均价
  6473. type: number
  6474. pricedqty:
  6475. description: 已定价量
  6476. type: number
  6477. pricemove:
  6478. description: 升贴水
  6479. type: number
  6480. pricetype:
  6481. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  6482. type: integer
  6483. producttype:
  6484. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6485. type: integer
  6486. qty:
  6487. description: 合同量
  6488. type: number
  6489. reckonadjustamount:
  6490. description: 调整金额
  6491. type: number
  6492. reckonedamount:
  6493. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  6494. type: number
  6495. reckonotheramount:
  6496. description: 其它费用
  6497. type: number
  6498. reckonrealqty:
  6499. description: 已交收量
  6500. type: number
  6501. remark:
  6502. description: 备注
  6503. type: string
  6504. saleuserid:
  6505. description: 业务员id
  6506. type: integer
  6507. saleuserlogincode:
  6508. description: 业务员登录代码
  6509. type: string
  6510. saleusername:
  6511. description: 业务员名称
  6512. type: string
  6513. spotcontractid:
  6514. description: 合同ID
  6515. type: string
  6516. spotgoodsbrandid:
  6517. description: 现货品牌ID(DGFactoryItem表的ID)
  6518. type: integer
  6519. spotgoodsdesc:
  6520. description: 商品型号(商品规格)
  6521. type: string
  6522. startdate:
  6523. description: 点价开始日
  6524. type: string
  6525. subjectid:
  6526. description: 交易主体ID
  6527. type: integer
  6528. subjectname:
  6529. description: 交易主体名称
  6530. type: string
  6531. totalamount:
  6532. description: 合计总额
  6533. type: number
  6534. tradeuserid:
  6535. description: 交易员id
  6536. type: integer
  6537. tradeuserlogincode:
  6538. description: 交易员登录代码
  6539. type: string
  6540. tradeusername:
  6541. description: 交易员名称
  6542. type: string
  6543. unpayamount:
  6544. description: 应收付款额(应支付或应收款)
  6545. type: number
  6546. unpricedqty:
  6547. description: 未定价量
  6548. type: number
  6549. unsureqty:
  6550. description: 未确定量
  6551. type: number
  6552. userid:
  6553. description: 机构ID
  6554. type: integer
  6555. vatrate:
  6556. description: 增值税率
  6557. type: number
  6558. wrstandardcode:
  6559. description: 品类代码
  6560. type: string
  6561. wrstandardid:
  6562. description: 品类ID
  6563. type: integer
  6564. wrstandardname:
  6565. description: 品类名称
  6566. type: string
  6567. type: object
  6568. models.Ermcp3SpotGoodsPrice:
  6569. properties:
  6570. areauserid:
  6571. description: 所属机构id
  6572. type: integer
  6573. brandname:
  6574. description: 品牌名称
  6575. type: string
  6576. currencyid:
  6577. description: 报价货币ID
  6578. type: integer
  6579. currencyname:
  6580. description: 币种名称
  6581. type: string
  6582. deliverygoodscode:
  6583. description: 现货商品代码
  6584. type: string
  6585. deliverygoodsid:
  6586. description: 现货商品id
  6587. type: integer
  6588. deliverygoodsname:
  6589. description: 现货商品名称
  6590. type: string
  6591. enumdicname:
  6592. description: 现货商品单位名称
  6593. type: string
  6594. gbenumdicname:
  6595. description: 品类单位名称
  6596. type: string
  6597. gmunitid:
  6598. description: 品类单位id
  6599. type: integer
  6600. isvalid:
  6601. description: 是否有效 - 0:无效 1:有效
  6602. type: integer
  6603. operateid:
  6604. description: 最后操作人
  6605. type: integer
  6606. operatesrc:
  6607. description: 最后操作来源 - 1:管理端 2:终端
  6608. type: integer
  6609. operatetime:
  6610. description: 最后操作时间
  6611. type: string
  6612. operatorname:
  6613. description: 操作人名称
  6614. type: string
  6615. spotgoodsbrandid:
  6616. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6617. type: integer
  6618. spotgoodsprice:
  6619. description: 现货价格
  6620. type: number
  6621. tradedate:
  6622. description: 交易日(yyyyMMdd)
  6623. type: string
  6624. unitid:
  6625. description: 现货商品单位id
  6626. type: integer
  6627. wrstandardcode:
  6628. description: 品类代码
  6629. type: string
  6630. wrstandardid:
  6631. description: 现货品类ID(通用则为0)
  6632. type: integer
  6633. wrstandardname:
  6634. description: 品类名称
  6635. type: string
  6636. type: object
  6637. models.Ermcp3SpotGoodsPriceLog:
  6638. properties:
  6639. areauserid:
  6640. description: 所属机构id
  6641. type: integer
  6642. brandname:
  6643. description: 品牌名称
  6644. type: string
  6645. currencyid:
  6646. description: 报价货币ID
  6647. type: integer
  6648. deliverygoodscode:
  6649. description: 现货商品代码
  6650. type: string
  6651. deliverygoodsid:
  6652. description: 现货商品id
  6653. type: integer
  6654. deliverygoodsname:
  6655. description: 现货商品名称
  6656. type: string
  6657. enumdicname:
  6658. description: 现货商品单位名称
  6659. type: string
  6660. gbenumdicname:
  6661. description: 品类单位名称
  6662. type: string
  6663. gmunitid:
  6664. description: 品类单位id
  6665. type: integer
  6666. logid:
  6667. description: 日志id
  6668. type: integer
  6669. operateid:
  6670. description: 最后操作人
  6671. type: integer
  6672. operatesrc:
  6673. description: 最后操作来源 - 1:管理端 2:终端
  6674. type: integer
  6675. operatetime:
  6676. description: 最后操作时间
  6677. type: string
  6678. operatorname:
  6679. description: 操作人名称
  6680. type: string
  6681. spotgoodsbrandid:
  6682. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6683. type: integer
  6684. spotgoodsprice:
  6685. description: 现货价格
  6686. type: number
  6687. tradedate:
  6688. description: 交易日(yyyyMMdd)
  6689. type: string
  6690. unitid:
  6691. description: 现货商品单位id
  6692. type: integer
  6693. wrstandardcode:
  6694. description: 品类代码
  6695. type: string
  6696. wrstandardid:
  6697. description: 现货品类ID(通用则为0)
  6698. type: integer
  6699. wrstandardname:
  6700. description: 品类名称
  6701. type: string
  6702. type: object
  6703. models.Ermcp3SubTaaccount:
  6704. properties:
  6705. accountid:
  6706. description: 资金账户ID
  6707. type: integer
  6708. parentaccountcode:
  6709. description: 所属根账号代码(母账号代码)
  6710. type: string
  6711. parentaccountid:
  6712. description: 所属根账号(母账号)
  6713. type: integer
  6714. taname:
  6715. description: 资金账号名称
  6716. type: string
  6717. tradestatus:
  6718. description: 交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)
  6719. type: integer
  6720. username:
  6721. description: 交易用户
  6722. type: string
  6723. type: object
  6724. models.Ermcp3TaFutuReDataReport:
  6725. properties:
  6726. accountid:
  6727. description: 交易账户
  6728. type: integer
  6729. accountname:
  6730. description: 交易账号名称
  6731. type: string
  6732. agreeunit:
  6733. description: 商品合约单位
  6734. type: number
  6735. begindate:
  6736. description: 开始交易日
  6737. type: string
  6738. buyorsell:
  6739. description: 持仓方向
  6740. type: integer
  6741. charge:
  6742. description: 手续费
  6743. type: number
  6744. closeavgprice:
  6745. description: 平仓均价
  6746. type: number
  6747. closepl:
  6748. description: 平仓损益
  6749. type: number
  6750. currencyid:
  6751. description: 结算币种ID
  6752. type: integer
  6753. currencyname:
  6754. description: 币种名称
  6755. type: string
  6756. cycletime:
  6757. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6758. type: string
  6759. cycletype:
  6760. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6761. type: integer
  6762. enddate:
  6763. description: 结束交易日
  6764. type: string
  6765. enumdicname:
  6766. description: 单位名称
  6767. type: string
  6768. floatpl:
  6769. description: 浮动损益
  6770. type: number
  6771. goodscode:
  6772. description: 交易合约代码
  6773. type: string
  6774. goodsgroupid:
  6775. description: 交易品种
  6776. type: integer
  6777. goodsgroupname:
  6778. description: 交易品种名称
  6779. type: string
  6780. goodsgroupspotqty:
  6781. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  6782. type: number
  6783. goodsid:
  6784. description: 交易合约
  6785. type: integer
  6786. goodsname:
  6787. description: 交易合约名称
  6788. type: string
  6789. goodunitid:
  6790. description: 交易合约单位id
  6791. type: integer
  6792. holdamount:
  6793. description: 期末持仓额
  6794. type: number
  6795. holdqty:
  6796. description: 期末持仓量
  6797. type: number
  6798. lastholdamount:
  6799. description: 当前持仓额
  6800. type: number
  6801. lastprice:
  6802. description: 最新价
  6803. type: number
  6804. middlegoodsid:
  6805. description: 套保品种id
  6806. type: integer
  6807. middlegoodsname:
  6808. description: 套保商品名称
  6809. type: string
  6810. middlegoodsqty:
  6811. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  6812. type: number
  6813. middlgoodscode:
  6814. description: 套保商品代码
  6815. type: string
  6816. openamount:
  6817. description: 期末开仓额
  6818. type: number
  6819. openavgprice:
  6820. description: 开仓均价
  6821. type: number
  6822. oriholdamount:
  6823. description: 期初持仓额
  6824. type: number
  6825. oriholdqty:
  6826. description: 期初持仓量
  6827. type: number
  6828. oriopenamount:
  6829. description: 期初开仓额
  6830. type: number
  6831. outergroupcode:
  6832. description: 交易品种代码
  6833. type: string
  6834. qtydecimalplace:
  6835. description: 成交量小数位
  6836. type: integer
  6837. reckondate:
  6838. description: 日照时期(yyyyMMdd)
  6839. type: string
  6840. reckonholdamount:
  6841. description: 结算持仓额
  6842. type: number
  6843. reckonpl:
  6844. description: 结算损益
  6845. type: number
  6846. reckonpl2:
  6847. description: 结算逐笔盈亏
  6848. type: number
  6849. reckonprice:
  6850. description: 结算价
  6851. type: number
  6852. relateduserid:
  6853. description: 账户关联用户ID
  6854. type: integer
  6855. todaycloseamount:
  6856. description: 今平仓额
  6857. type: number
  6858. todaycloseqty:
  6859. description: 今平仓量
  6860. type: number
  6861. todaygoodsgroupspotqty:
  6862. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  6863. type: number
  6864. todaymiddlegoodsqty:
  6865. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  6866. type: number
  6867. todayopenamount:
  6868. description: 今开仓额
  6869. type: number
  6870. todayopenqty:
  6871. description: 今开仓量
  6872. type: number
  6873. userid:
  6874. description: 账户所属用户ID
  6875. type: integer
  6876. type: object
  6877. models.Ermcp3TradeLinkDetail:
  6878. properties:
  6879. accountid:
  6880. description: 资金账号
  6881. type: integer
  6882. agreeunit:
  6883. description: 合约乘数
  6884. type: number
  6885. areauserid:
  6886. description: 所属机构
  6887. type: string
  6888. bizsubjectid:
  6889. description: 归属业务部门ID - SubjectID
  6890. type: string
  6891. buyorsell:
  6892. description: 方向 - 0:买 1:卖
  6893. type: integer
  6894. channelbuildtype:
  6895. description: 委托单据类型 0:无 1:建仓 2:平仓
  6896. type: integer
  6897. contractno:
  6898. description: 现货编号 (合同编号)
  6899. type: string
  6900. convertratio:
  6901. description: 折算系数
  6902. type: number
  6903. createtime:
  6904. description: 关联时间 | 创建时间
  6905. type: string
  6906. creatorid:
  6907. description: 创建人ID
  6908. type: string
  6909. creatorsrc:
  6910. description: 创建人来源 - 1:管理端 2:终端 3:交易
  6911. type: integer
  6912. enumdicname:
  6913. description: 单位名称
  6914. type: string
  6915. goodscode:
  6916. description: 合约代码
  6917. type: string
  6918. goodsgroupid:
  6919. description: 对冲品种ID[期货合约商品组ID]
  6920. type: integer
  6921. goodsid:
  6922. description: 商品ID
  6923. type: integer
  6924. goodsname:
  6925. description: 合约名称
  6926. type: string
  6927. hedgeflag:
  6928. description: 业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安)
  6929. 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  6930. type: integer
  6931. linkdetailid:
  6932. description: 关联ID(614+Unix秒时间戳(10位)+xxxxxx)
  6933. type: string
  6934. linkstatus:
  6935. description: 关联状态 - 1:成功 2:失败 3:解绑
  6936. type: integer
  6937. middlegoodscode:
  6938. description: 套保品种代码
  6939. type: string
  6940. middlegoodsid:
  6941. description: 套保品种ID
  6942. type: integer
  6943. middlegoodsname:
  6944. description: 套保品种名称
  6945. type: string
  6946. relatedlot:
  6947. description: 关联手数
  6948. type: number
  6949. relatedmode:
  6950. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  6951. type: integer
  6952. relatedqty:
  6953. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  6954. type: number
  6955. retcode:
  6956. description: 返回码
  6957. type: integer
  6958. saleuserid:
  6959. description: 业务员ID
  6960. type: string
  6961. spotcontractid:
  6962. description: 现货合同\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]
  6963. type: string
  6964. taname:
  6965. description: 期货账户
  6966. type: string
  6967. tradedate:
  6968. description: 关联交易日(yyyyMMdd)
  6969. type: string
  6970. tradeid:
  6971. description: 期货订单号 | 内部成交单ID
  6972. type: string
  6973. tradelot:
  6974. description: 成交数量 | 成交手数
  6975. type: integer
  6976. tradeprice:
  6977. description: 成交价格
  6978. type: number
  6979. tradetime:
  6980. description: 期货成交时间
  6981. type: string
  6982. tradetradedate:
  6983. description: 成交交易日(yyyyMMdd)
  6984. type: string
  6985. username:
  6986. description: 用户名称
  6987. type: string
  6988. type: object
  6989. models.Ermcp3Wrstandard:
  6990. properties:
  6991. areauserid:
  6992. description: 所属机构
  6993. type: integer
  6994. cantrade:
  6995. description: 是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)
  6996. type: integer
  6997. convertfactor:
  6998. description: 标仓系数
  6999. type: number
  7000. createtime:
  7001. description: 创建时间
  7002. type: string
  7003. creatorid:
  7004. description: 创建人
  7005. type: integer
  7006. deliverygoodsid:
  7007. description: 现货品种ID
  7008. type: integer
  7009. enumdicname:
  7010. description: 品类单位名称
  7011. type: string
  7012. isvalid:
  7013. description: 是否有效 0-无效(停用) 1-有效(正常)
  7014. type: integer
  7015. minivalue:
  7016. description: 最小变动值
  7017. type: integer
  7018. minivaluedp:
  7019. description: 最小变动值小数位
  7020. type: integer
  7021. realminivalue:
  7022. description: 实际最小变动值
  7023. type: integer
  7024. realminivaluedp:
  7025. description: 实际最小变动值小数位
  7026. type: integer
  7027. remark:
  7028. description: 备注
  7029. type: string
  7030. unitid:
  7031. description: 品类单位ID
  7032. type: integer
  7033. updatetime:
  7034. description: 更新时间
  7035. type: string
  7036. wrstandardcode:
  7037. description: 品类代码
  7038. type: string
  7039. wrstandardid:
  7040. description: 品类ID(SEQ_WRSTANDARD)
  7041. type: integer
  7042. wrstandardname:
  7043. description: 品类名称
  7044. type: string
  7045. type: object
  7046. models.ErmcpBizGroupEx:
  7047. properties:
  7048. acclist:
  7049. description: 账号列表
  7050. items:
  7051. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  7052. type: array
  7053. bizgroupid:
  7054. description: 业务分组id
  7055. type: integer
  7056. biztype:
  7057. description: 业务类型 1-套保 2-套利
  7058. type: integer
  7059. wrlist:
  7060. description: 现货商品表
  7061. items:
  7062. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  7063. type: array
  7064. type: object
  7065. models.ErmcpBizGroupSpotGoods:
  7066. properties:
  7067. areauserid:
  7068. description: 所属机构id
  7069. type: integer
  7070. bizgroupid:
  7071. description: 分组id
  7072. type: integer
  7073. biztype:
  7074. description: 业务类型 1-套保 2-套利
  7075. type: integer
  7076. deliverygoodscode:
  7077. description: 现货商品代码
  7078. type: string
  7079. deliverygoodsid:
  7080. description: 现货商品id
  7081. type: integer
  7082. deliverygoodsname:
  7083. description: 现货商品名称
  7084. type: string
  7085. unitid:
  7086. description: 现货商品单位id
  7087. type: integer
  7088. type: object
  7089. models.ErmcpBizGroupTaAccount:
  7090. properties:
  7091. accountid:
  7092. description: 账号id
  7093. type: integer
  7094. accountname:
  7095. description: 账号名称
  7096. type: string
  7097. areauserid:
  7098. description: 所属机构id
  7099. type: integer
  7100. bizgroupid:
  7101. description: 业务分组id
  7102. type: integer
  7103. ismain:
  7104. description: 是否主账号 1-是 0-否
  7105. type: integer
  7106. type: object
  7107. models.ErmcpDGFactoryItem:
  7108. properties:
  7109. areauserid:
  7110. description: 用户id
  7111. type: integer
  7112. deliverygoodsid:
  7113. description: 现货品种ID
  7114. type: integer
  7115. dgfactoryitemid:
  7116. description: 选择项ID(SEQ_DGFACTORYITEM)
  7117. type: integer
  7118. dgfactoryitemtypeid:
  7119. description: 要素项类型
  7120. type: integer
  7121. dgfactoryitemvalue:
  7122. description: 要素项值(类型为仓库时填写仓库名称)
  7123. type: string
  7124. isvalid:
  7125. description: 是否有效 - 0:无效 1:有效
  7126. type: integer
  7127. orderindex:
  7128. description: 顺序
  7129. type: integer
  7130. warehouseid:
  7131. description: 仓库ID(类型为仓库时填写)
  7132. type: integer
  7133. type: object
  7134. models.ErmcpDeliveryGoods:
  7135. properties:
  7136. agreeunit:
  7137. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  7138. type: integer
  7139. areauserid:
  7140. description: 所属机构
  7141. type: integer
  7142. auditflag:
  7143. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  7144. type: integer
  7145. categoryid:
  7146. description: 类别ID(SEQ_WRCATEGORY)
  7147. type: integer
  7148. deliverygoodscode:
  7149. description: 现货品种代码
  7150. type: string
  7151. deliverygoodsid:
  7152. description: 现货品种ID(SEQ_DELIVERYGOODS)
  7153. type: integer
  7154. deliverygoodsname:
  7155. description: 现货品种名称
  7156. type: string
  7157. deliverygoodstype:
  7158. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  7159. type: integer
  7160. dgstatus:
  7161. description: 品种状态 - 作废 - 0:未激活 1:正常
  7162. type: integer
  7163. enumdicname:
  7164. description: 现货品种单位名称
  7165. type: string
  7166. goodsunitid:
  7167. description: 现货品种单位ID
  7168. type: integer
  7169. isvalid:
  7170. description: 是否有效 - 0:无效 1:有效
  7171. type: integer
  7172. qtydecimalplace:
  7173. description: 成交量小数位
  7174. type: integer
  7175. remark:
  7176. description: 备注
  7177. type: string
  7178. standardqty:
  7179. description: 标准数量(库位数量) [标准品特有]
  7180. type: integer
  7181. standardqtyrange:
  7182. description: 标准数量偏差范围 [标准品特有]
  7183. type: integer
  7184. type: object
  7185. models.ErmcpFuturesCompany:
  7186. properties:
  7187. brokerid:
  7188. description: 经纪公司代码
  7189. type: string
  7190. channeladdress:
  7191. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  7192. type: string
  7193. channelid:
  7194. description: 对冲渠道ID
  7195. type: string
  7196. createtime:
  7197. description: 创建时间
  7198. type: string
  7199. creatorid:
  7200. description: 创建人
  7201. type: string
  7202. fcid:
  7203. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  7204. type: integer
  7205. fcname:
  7206. description: 期货公司名称
  7207. type: string
  7208. isvalid:
  7209. description: 是否有效 - 0:无效 1:有效
  7210. type: integer
  7211. mhpaddress:
  7212. description: MHP服务地址(IP:Port)
  7213. type: string
  7214. riskrulegroupid:
  7215. description: 风控规则组ID
  7216. type: string
  7217. tradefeetmpid:
  7218. description: 手续费模板ID[TradeConfigTmpType为2]
  7219. type: string
  7220. trademargintmpid:
  7221. description: 保证金模板ID [TradeConfigTmpType为1]
  7222. type: string
  7223. traderatetmpid:
  7224. description: 汇率模板ID[TradeConfigTmpType为3]
  7225. type: string
  7226. updatetime:
  7227. description: 更新时间
  7228. type: string
  7229. updatorid:
  7230. description: 更新人
  7231. type: string
  7232. type: object
  7233. models.ErmcpGGConvertCfg:
  7234. properties:
  7235. convertratio:
  7236. description: 折算系数
  7237. type: number
  7238. destgoodsgroupid:
  7239. description: 目标品种ID
  7240. type: integer
  7241. dstcode:
  7242. description: 目录品种代码
  7243. type: string
  7244. dstexchangecode:
  7245. description: 目标期货交易所
  7246. type: string
  7247. dstname:
  7248. description: 目标品种名称
  7249. type: string
  7250. dstunitid:
  7251. description: 目标品种单位ID
  7252. type: integer
  7253. dstunitidname:
  7254. description: 目标品种单位名称
  7255. type: string
  7256. modifytime:
  7257. description: 修改时间
  7258. type: string
  7259. srccode:
  7260. description: 源品种代码
  7261. type: string
  7262. srcexchangecode:
  7263. description: 源期货交易所
  7264. type: string
  7265. srcgoodsgroupid:
  7266. description: 源品种ID
  7267. type: integer
  7268. srcname:
  7269. description: 源品种名称
  7270. type: string
  7271. srcunitid:
  7272. description: 源品种单位ID
  7273. type: integer
  7274. srcunitidname:
  7275. description: 源品种单位名称
  7276. type: string
  7277. type: object
  7278. models.ErmcpGoods:
  7279. properties:
  7280. agreeunit:
  7281. description: 合约单位
  7282. type: number
  7283. areauserid:
  7284. description: 所属机构
  7285. type: integer
  7286. auditaccountid:
  7287. description: 审核操作员账号
  7288. type: integer
  7289. audittime:
  7290. description: 审核时间
  7291. type: string
  7292. cancelaccountid:
  7293. description: 注销操作员账号
  7294. type: integer
  7295. canceltime:
  7296. description: 注销时间
  7297. type: string
  7298. closepricemode:
  7299. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7300. type: integer
  7301. closepriceparam:
  7302. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  7303. type: number
  7304. createtime:
  7305. description: 创建时间
  7306. type: string
  7307. creatorid:
  7308. description: 创建人
  7309. type: integer
  7310. currencyid:
  7311. description: 报价货币ID
  7312. type: integer
  7313. cutmode:
  7314. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  7315. type: integer
  7316. decimalplace:
  7317. description: 报价小数位
  7318. type: integer
  7319. delistingdate:
  7320. description: 商品退市时间(状态:退市) -- 已作废
  7321. type: string
  7322. delistingmode:
  7323. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  7324. type: integer
  7325. deliveryflag:
  7326. description: 交割标志 - 0:不可交割 1:可交割
  7327. type: integer
  7328. enumdicname:
  7329. description: 单位名称
  7330. type: string
  7331. forceclosemode:
  7332. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  7333. type: integer
  7334. forceclosevalue:
  7335. description: 定期强平参数 [收益权]
  7336. type: integer
  7337. goodscode:
  7338. description: 商品代码(内部)
  7339. type: string
  7340. goodscurrencyid:
  7341. description: 合约货币ID
  7342. type: integer
  7343. goodsgroupid:
  7344. description: 所属商品组ID
  7345. type: integer
  7346. goodsid:
  7347. description: 商品ID(自增ID SEQ_GOODS)
  7348. type: integer
  7349. goodsname:
  7350. description: 商品名称
  7351. type: string
  7352. goodsquotetype:
  7353. description: '合约报价类型: 1-直接报价 2-间接报价'
  7354. type: integer
  7355. goodsstatus:
  7356. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7357. type: integer
  7358. goodstradetype:
  7359. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  7360. type: integer
  7361. goodunitid:
  7362. description: 报价单位ID
  7363. type: integer
  7364. hasquoter:
  7365. description: 是否有报价商 - 0:无报价商 1:有报价商
  7366. type: integer
  7367. hqprotecttime:
  7368. description: 行情保护时间(秒)
  7369. type: integer
  7370. innerdealmode:
  7371. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7372. type: integer
  7373. isbuylimited:
  7374. description: 是否限制建仓量 - 0:不限制 1:限制
  7375. type: integer
  7376. isvisible:
  7377. description: 游客是否可见 - 0:不可见 1:可见
  7378. type: integer
  7379. lasttradedate:
  7380. description: 最后交易日期(状态:待退市)
  7381. type: string
  7382. listingdate:
  7383. description: 交易开始日期
  7384. type: string
  7385. marketid:
  7386. description: 所属市场ID
  7387. type: integer
  7388. modifierid:
  7389. description: 修改人
  7390. type: integer
  7391. modifystatus:
  7392. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  7393. type: integer
  7394. modifytime:
  7395. description: 修改时间
  7396. type: string
  7397. outerdealmode:
  7398. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7399. type: integer
  7400. outgoodscode:
  7401. description: 商品代码(外部)
  7402. type: string
  7403. pictureurl:
  7404. description: 商品图片
  7405. type: string
  7406. qtydecimalplace:
  7407. description: 成交量小数位
  7408. type: integer
  7409. quotegear:
  7410. description: 行情档位(1-10)
  7411. type: integer
  7412. quoteminunit:
  7413. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7414. type: integer
  7415. quoteshowtype:
  7416. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  7417. type: integer
  7418. quoteshowtypeinterval:
  7419. description: 行情报价间隔时间(秒)(成交价时为0)
  7420. type: integer
  7421. relatedgoodsid:
  7422. description: 关联参考商品ID
  7423. type: integer
  7424. remark:
  7425. description: 备注
  7426. type: string
  7427. trademode:
  7428. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7429. 21:竞拍-大宗式 22:受托竞价
  7430. type: integer
  7431. required:
  7432. - goodscode
  7433. - goodsid
  7434. - goodsname
  7435. - marketid
  7436. type: object
  7437. models.ErmcpGoodsBrand:
  7438. properties:
  7439. areauserid:
  7440. description: 所属机构
  7441. type: integer
  7442. brandid:
  7443. description: BrandID(SEQ_SPOTGOODSBRAND)
  7444. type: integer
  7445. brandname:
  7446. description: 品牌名称
  7447. type: string
  7448. createtime:
  7449. description: 创建时间
  7450. type: string
  7451. creatorid:
  7452. description: 创建人
  7453. type: integer
  7454. creatorsrc:
  7455. description: 创建人来源 - 1:管理端 2:终端
  7456. type: integer
  7457. deliverygoodsid:
  7458. description: 现货品种ID
  7459. type: integer
  7460. isvalid:
  7461. description: 是否有效 - 0:无效 1:有效
  7462. type: integer
  7463. updatetime:
  7464. description: 更新时间
  7465. type: string
  7466. updatorid:
  7467. description: 更新人
  7468. type: integer
  7469. updatorsrc:
  7470. description: 更新人来源 - 1:管理端 2:终端
  7471. type: integer
  7472. wrstandardid:
  7473. description: 现货商品ID
  7474. type: integer
  7475. type: object
  7476. models.ErmcpGoodsModel:
  7477. properties:
  7478. areauserid:
  7479. description: 所属机构
  7480. type: integer
  7481. convertfactor:
  7482. description: 标仓系数
  7483. type: number
  7484. createtime:
  7485. description: 创建时间
  7486. type: string
  7487. creatorid:
  7488. description: 创建人
  7489. type: integer
  7490. creatorsrc:
  7491. description: 创建人来源 - 1:管理端 2:终端
  7492. type: integer
  7493. deliverygoodsid:
  7494. description: 现货品种ID
  7495. type: integer
  7496. isvalid:
  7497. description: 是否有效 - 0:无效 1:有效
  7498. type: integer
  7499. modelid:
  7500. description: ModelID(SEQ_SPOTGOODSMODEL)
  7501. type: integer
  7502. modelname:
  7503. description: 型号名称
  7504. type: string
  7505. updatetime:
  7506. description: 更新时间
  7507. type: string
  7508. updatorid:
  7509. description: 更新人
  7510. type: integer
  7511. updatorsrc:
  7512. description: 更新人来源 - 1:管理端 2:终端
  7513. type: integer
  7514. wrstandardid:
  7515. description: 现货商品ID
  7516. type: integer
  7517. type: object
  7518. models.ErmcpHisExposure:
  7519. properties:
  7520. needhedgeexposoure:
  7521. description: 应套保敞口
  7522. type: number
  7523. reckondate:
  7524. description: 日照时期(yyyyMMdd)
  7525. type: string
  7526. totalexposure:
  7527. description: 总敞口
  7528. type: number
  7529. type: object
  7530. models.ErmcpLoginTaAccount:
  7531. properties:
  7532. accountid:
  7533. description: 账号id
  7534. type: integer
  7535. accountname:
  7536. description: 账号名称
  7537. type: string
  7538. type: object
  7539. models.ErmcpLoginUser:
  7540. properties:
  7541. acclist:
  7542. description: 关联资金账号
  7543. items:
  7544. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  7545. type: array
  7546. accountname:
  7547. description: 用户名称
  7548. type: string
  7549. clientroleid:
  7550. description: 角色id(usertype=2)
  7551. type: integer
  7552. createtime:
  7553. description: 创建时间
  7554. type: string
  7555. logincode:
  7556. description: 登录代码
  7557. type: string
  7558. loginid:
  7559. description: 登录id(LOGINID)
  7560. type: integer
  7561. loginname:
  7562. description: 登录名称(loginaccount表中的accountname字段)
  7563. type: string
  7564. loginstatus:
  7565. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  7566. type: integer
  7567. memberuserid:
  7568. description: 所属会员id
  7569. type: integer
  7570. mobile:
  7571. description: 手机号
  7572. type: string
  7573. modifytime:
  7574. description: 修改时间
  7575. type: string
  7576. password:
  7577. description: 密码(不可解密)
  7578. type: string
  7579. rolename:
  7580. description: 角色名称
  7581. type: string
  7582. rolestatus:
  7583. description: 角色状态 1-启用 2-停用
  7584. type: integer
  7585. roletype:
  7586. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  7587. type: string
  7588. userid:
  7589. description: 用户id
  7590. type: integer
  7591. usertype:
  7592. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  7593. type: integer
  7594. type: object
  7595. models.ErmcpLoginUserEx:
  7596. properties:
  7597. accountstatus:
  7598. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  7599. type: integer
  7600. mobile:
  7601. description: 手机号
  7602. type: string
  7603. querytype:
  7604. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  7605. type: integer
  7606. roleid:
  7607. description: 角色id(交易账户->用户id)
  7608. type: integer
  7609. rolename:
  7610. description: 角色名称(交易账户->用户名称)
  7611. type: string
  7612. userlist:
  7613. description: 用户列表
  7614. items:
  7615. $ref: '#/definitions/models.ErmcpLoginUser'
  7616. type: array
  7617. usertype:
  7618. description: 用户类型 2-机构 7-企业成员(云平台)
  7619. type: integer
  7620. type: object
  7621. models.ErmcpMiddleGoodsModel:
  7622. properties:
  7623. areauserid:
  7624. description: 机构用户ID
  7625. type: integer
  7626. createtime:
  7627. description: 修改时间
  7628. type: string
  7629. enumdicname:
  7630. description: 单位名称
  7631. type: string
  7632. evaluateratio:
  7633. description: 估价系数
  7634. type: number
  7635. goodsgroupid:
  7636. description: 关联期货品种ID
  7637. type: integer
  7638. goodsunitid:
  7639. description: 单位ID
  7640. type: integer
  7641. isvalid:
  7642. description: 状态 0-无效(停用) 1-有效(正常)
  7643. type: integer
  7644. middlegoodscode:
  7645. description: 套保品种代码
  7646. type: string
  7647. middlegoodsid:
  7648. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  7649. type: integer
  7650. middlegoodsname:
  7651. description: 套保品种名称
  7652. type: string
  7653. modifytime:
  7654. description: 修改时间
  7655. type: string
  7656. needarbitrageratio:
  7657. description: 套利比例
  7658. type: number
  7659. needhedgeratio:
  7660. description: 套保比率
  7661. type: number
  7662. qtydecimalplace:
  7663. description: 数量小数位
  7664. type: integer
  7665. relatedgoodsid:
  7666. description: 关联交易商品ID
  7667. type: integer
  7668. relatedgoodstype:
  7669. description: 关联商品类型 - 1:期货合约 2:现货品种
  7670. type: integer
  7671. remark:
  7672. description: 备注
  7673. type: string
  7674. type: object
  7675. models.ErmcpMiddlegoodsRelateGoods:
  7676. properties:
  7677. agreeunit:
  7678. description: 合约乘数
  7679. type: number
  7680. convertratio:
  7681. description: 折算系数
  7682. type: number
  7683. enumdicname:
  7684. description: 单位名称(交易商品)
  7685. type: string
  7686. goodscode:
  7687. description: 交易商品代码
  7688. type: string
  7689. goodsgroupid:
  7690. description: 交易品种id
  7691. type: integer
  7692. goodsid:
  7693. description: 商品Id
  7694. type: integer
  7695. goodsname:
  7696. description: 交易商品名称
  7697. type: string
  7698. goodunitid:
  7699. description: 交易商品单位id
  7700. type: integer
  7701. middlegoodsid:
  7702. description: 套保商品id
  7703. type: integer
  7704. middlegoodsname:
  7705. description: 套保商品名称
  7706. type: string
  7707. middlegoodsswcode:
  7708. description: 套保商品代码
  7709. type: string
  7710. needarbitrageratio:
  7711. description: 应套利比例
  7712. type: number
  7713. needhedgeratio:
  7714. description: 应套保比例
  7715. type: number
  7716. type: object
  7717. models.ErmcpRole:
  7718. properties:
  7719. areauserid:
  7720. description: 所属机构
  7721. type: integer
  7722. autoid:
  7723. description: 角色ID(自增ID)
  7724. type: integer
  7725. modifierid:
  7726. description: 修改人(创建人)
  7727. type: integer
  7728. modifiername:
  7729. description: 修改人名称
  7730. type: string
  7731. modifytime:
  7732. description: 修改时间(创建时间)
  7733. type: string
  7734. rolename:
  7735. description: 角色名称
  7736. type: string
  7737. rolestatus:
  7738. description: 角色状态 - 1:启用 2:停用
  7739. type: integer
  7740. roletype:
  7741. description: 角色类型 - 1- 管理端 2- 交易端
  7742. type: integer
  7743. type: object
  7744. models.ErmcpRoleMenu:
  7745. properties:
  7746. iconame:
  7747. description: 菜单图标
  7748. type: string
  7749. ishadrole:
  7750. description: 是否有权限
  7751. type: boolean
  7752. menutype:
  7753. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)
  7754. type: integer
  7755. parentcode:
  7756. description: 上级资源代码
  7757. type: string
  7758. remark:
  7759. description: 菜单备注
  7760. type: string
  7761. resourcecode:
  7762. description: 菜单代码
  7763. type: string
  7764. resourcelevel:
  7765. description: 级别
  7766. type: integer
  7767. resourcename:
  7768. description: 菜单名称
  7769. type: string
  7770. roleid:
  7771. description: 角色id
  7772. type: integer
  7773. sort:
  7774. description: 排序
  7775. type: integer
  7776. url:
  7777. description: URL
  7778. type: string
  7779. userid:
  7780. description: 用户id
  7781. type: integer
  7782. type: object
  7783. models.ErmcpRoleMenuEx:
  7784. properties:
  7785. menu:
  7786. $ref: '#/definitions/models.ErmcpRoleMenu'
  7787. description: 父级菜单
  7788. subMenu:
  7789. description: 子级菜单
  7790. items:
  7791. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  7792. type: array
  7793. type: object
  7794. models.ErmcpTaAccount:
  7795. properties:
  7796. accountid:
  7797. description: 账户id
  7798. type: integer
  7799. accountname:
  7800. description: 账户名称
  7801. type: string
  7802. currencyid:
  7803. description: 币种id
  7804. type: integer
  7805. hedgeaccountcode:
  7806. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  7807. type: string
  7808. ismain:
  7809. description: 是否主账户 0-否 1-是
  7810. type: integer
  7811. parentaccountid:
  7812. description: 父账户id
  7813. type: integer
  7814. relateduserid:
  7815. description: 关联userid
  7816. type: integer
  7817. tradefeetmpid:
  7818. description: 手续费模板id
  7819. type: integer
  7820. tradefeetmpname:
  7821. description: 手续费模板名称
  7822. type: string
  7823. trademargintmpid:
  7824. description: 保证金模板id
  7825. type: integer
  7826. trademargintmpname:
  7827. description: 保证金模板名称
  7828. type: string
  7829. traderatetmpid:
  7830. description: 汇率模板id
  7831. type: integer
  7832. traderatetmpname:
  7833. description: 汇率模板名称
  7834. type: string
  7835. tradestatus:
  7836. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7837. type: integer
  7838. userid:
  7839. description: 用户id
  7840. type: integer
  7841. type: object
  7842. models.ErmcpTaAccountEx:
  7843. properties:
  7844. mainAcc:
  7845. $ref: '#/definitions/models.ErmcpTaAccountM'
  7846. description: 主账号
  7847. subacclist:
  7848. description: 子账号列表
  7849. items:
  7850. $ref: '#/definitions/models.ErmcpTaAccount'
  7851. type: array
  7852. type: object
  7853. models.ErmcpTaAccountInfo:
  7854. properties:
  7855. accountid:
  7856. description: 资金账户ID
  7857. type: integer
  7858. accountname:
  7859. description: 账户名称
  7860. type: string
  7861. balance:
  7862. description: 期初余额
  7863. type: number
  7864. capitalbalance:
  7865. description: 本金余额[外部子账户实际出入金余额]
  7866. type: number
  7867. closepl:
  7868. description: 今日平仓盈亏
  7869. type: number
  7870. creditdecrease:
  7871. description: 今日授信减少
  7872. type: number
  7873. creditincrease:
  7874. description: 今日授信增加
  7875. type: number
  7876. curdebt:
  7877. description: 期末欠款
  7878. type: number
  7879. currencyid:
  7880. description: 货币ID
  7881. type: integer
  7882. currentbalance:
  7883. description: 期末余额
  7884. type: number
  7885. freezecharge:
  7886. description: 手续费冻结
  7887. type: number
  7888. freezemargin:
  7889. description: 冻结保证金
  7890. type: number
  7891. fromaccountid:
  7892. description: 所属上级账户
  7893. type: integer
  7894. inamount:
  7895. description: 今日入金金额(包括三方入金)
  7896. type: number
  7897. ismain:
  7898. description: 是否母账号 0:不是母账户 1:是母账户
  7899. type: integer
  7900. mortgagecredit:
  7901. description: 授信金额
  7902. type: number
  7903. oridebt:
  7904. description: 期初欠款
  7905. type: number
  7906. orifreezecharge:
  7907. description: 期初手续费冻结
  7908. type: number
  7909. orifreezemargin:
  7910. description: 期初冻结保证金
  7911. type: number
  7912. orimortgagecredit:
  7913. description: 期初授信金额
  7914. type: number
  7915. oriothercredit:
  7916. description: 期初其它授信金额
  7917. type: number
  7918. oriotherfreezemargin:
  7919. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  7920. type: number
  7921. orioutamountfreeze:
  7922. description: 期初出金冻结
  7923. type: number
  7924. oriusedmargin:
  7925. description: 期初占用保证金
  7926. type: number
  7927. othercredit:
  7928. description: 其它授信金额
  7929. type: number
  7930. othercreditdecrease:
  7931. description: 今日其它授信减少
  7932. type: number
  7933. othercreditincrease:
  7934. description: 今日其它授信增加
  7935. type: number
  7936. otherfreezemargin:
  7937. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  7938. type: number
  7939. outamount:
  7940. description: 今日出金金额(包括三方出金)
  7941. type: number
  7942. outamountfreeze:
  7943. description: 出金冻结
  7944. type: number
  7945. outthreshold:
  7946. description: 出金阈值
  7947. type: number
  7948. parentaccountid:
  7949. description: 所属根账号
  7950. type: integer
  7951. paycharge:
  7952. description: 今日手续费支出
  7953. type: number
  7954. relateduserid:
  7955. description: 关联用户
  7956. type: integer
  7957. signstatus:
  7958. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  7959. type: integer
  7960. sublevelpath:
  7961. description: 账号层级路径(逗号分隔,首尾加逗号)
  7962. type: string
  7963. taaccounttype:
  7964. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  7965. type: integer
  7966. thirdinamount:
  7967. description: 今日三方入金
  7968. type: number
  7969. thirdoutamount:
  7970. description: 今日三方出金
  7971. type: number
  7972. tradestatus:
  7973. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7974. type: integer
  7975. transferamount:
  7976. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  7977. type: number
  7978. usedmargin:
  7979. description: 占用保证金
  7980. type: number
  7981. userid:
  7982. description: 用户ID
  7983. type: integer
  7984. type: object
  7985. models.ErmcpTaAccountM:
  7986. properties:
  7987. accountid:
  7988. description: 账户id
  7989. type: integer
  7990. accountname:
  7991. description: 账户名称
  7992. type: string
  7993. currencyid:
  7994. description: 币种id
  7995. type: integer
  7996. fcid:
  7997. description: 期货公司id
  7998. type: integer
  7999. fcname:
  8000. description: 期货公司代码
  8001. type: string
  8002. hedgeaccountcode:
  8003. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  8004. type: string
  8005. ismain:
  8006. description: 是否主账户 0-否 1-是
  8007. type: integer
  8008. parentaccountid:
  8009. description: 父账户id
  8010. type: integer
  8011. relateduserid:
  8012. description: 关联userid
  8013. type: integer
  8014. tradefeetmpid:
  8015. description: 手续费模板id
  8016. type: integer
  8017. tradefeetmpname:
  8018. description: 手续费模板名称
  8019. type: string
  8020. trademargintmpid:
  8021. description: 保证金模板id
  8022. type: integer
  8023. trademargintmpname:
  8024. description: 保证金模板名称
  8025. type: string
  8026. traderatetmpid:
  8027. description: 汇率模板id
  8028. type: integer
  8029. traderatetmpname:
  8030. description: 汇率模板名称
  8031. type: string
  8032. tradestatus:
  8033. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  8034. type: integer
  8035. userid:
  8036. description: 用户id
  8037. type: integer
  8038. type: object
  8039. models.ErmcpTradeConfigTMP:
  8040. properties:
  8041. areauserid:
  8042. description: 所属机构
  8043. type: integer
  8044. basiccurrencyid:
  8045. description: 基本币种ID[汇率] - 目标币种
  8046. type: integer
  8047. mainaccountid:
  8048. description: 主账户ID
  8049. type: integer
  8050. modifierid:
  8051. description: 修改人
  8052. type: integer
  8053. remark:
  8054. description: 备注
  8055. type: string
  8056. tradeconfigtmpid:
  8057. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  8058. type: integer
  8059. tradeconfigtmpname:
  8060. description: 交易配置模板名称
  8061. type: string
  8062. tradeconfigtmptype:
  8063. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  8064. type: integer
  8065. updatetime:
  8066. description: 更新时间
  8067. type: string
  8068. type: object
  8069. models.Externalexchange:
  8070. properties:
  8071. autoid:
  8072. description: AutoID - SEQ_EXTERNALEXCHANGE
  8073. type: integer
  8074. exchangefullname:
  8075. description: 外部交易所全称
  8076. type: string
  8077. exexchangecode:
  8078. description: 外部交易所代码
  8079. type: string
  8080. exexchangename:
  8081. description: 外部交易所名称(简称)
  8082. type: string
  8083. ismarketprice:
  8084. description: 是否支持市价 - 0:不支持 1:支持
  8085. type: integer
  8086. quotegear:
  8087. description: 行情档位(1-10)
  8088. type: integer
  8089. showbrokerflag:
  8090. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  8091. type: integer
  8092. updatetime:
  8093. description: 更新时间
  8094. type: string
  8095. required:
  8096. - autoid
  8097. type: object
  8098. models.Funcmenulist:
  8099. properties:
  8100. iconame:
  8101. description: 菜单图标
  8102. type: string
  8103. menutype:
  8104. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  8105. type: integer
  8106. parentcode:
  8107. description: 上级资源代码
  8108. type: string
  8109. remark:
  8110. description: 备注
  8111. type: string
  8112. resourcecode:
  8113. description: 资源代码
  8114. type: string
  8115. resourcelevel:
  8116. description: 级别 1-一级 2-二级 3-三级 4-四级
  8117. type: integer
  8118. resourcename:
  8119. description: 资源名
  8120. type: string
  8121. sort:
  8122. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  8123. type: integer
  8124. url:
  8125. description: URL
  8126. type: string
  8127. required:
  8128. - resourcecode
  8129. type: object
  8130. models.Goods:
  8131. properties:
  8132. agreeunit:
  8133. description: 合约单位
  8134. type: number
  8135. areauserid:
  8136. description: 所属机构
  8137. type: integer
  8138. auditaccountid:
  8139. description: 审核操作员账号
  8140. type: integer
  8141. audittime:
  8142. description: 审核时间
  8143. type: string
  8144. cancelaccountid:
  8145. description: 注销操作员账号
  8146. type: integer
  8147. canceltime:
  8148. description: 注销时间
  8149. type: string
  8150. closepricemode:
  8151. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8152. type: integer
  8153. closepriceparam:
  8154. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  8155. type: number
  8156. createtime:
  8157. description: 创建时间
  8158. type: string
  8159. creatorid:
  8160. description: 创建人
  8161. type: integer
  8162. currencyid:
  8163. description: 报价货币ID
  8164. type: integer
  8165. cutmode:
  8166. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  8167. type: integer
  8168. decimalplace:
  8169. description: 报价小数位
  8170. type: integer
  8171. delistingdate:
  8172. description: 商品退市时间(状态:退市) -- 已作废
  8173. type: string
  8174. delistingmode:
  8175. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  8176. type: integer
  8177. deliveryflag:
  8178. description: 交割标志 - 0:不可交割 1:可交割
  8179. type: integer
  8180. forceclosemode:
  8181. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  8182. type: integer
  8183. forceclosevalue:
  8184. description: 定期强平参数 [收益权]
  8185. type: integer
  8186. goodscode:
  8187. description: 商品代码(内部)
  8188. type: string
  8189. goodscurrencyid:
  8190. description: 合约货币ID
  8191. type: integer
  8192. goodsgroupid:
  8193. description: 所属商品组ID
  8194. type: integer
  8195. goodsid:
  8196. description: 商品ID(自增ID SEQ_GOODS)
  8197. type: integer
  8198. goodsname:
  8199. description: 商品名称
  8200. type: string
  8201. goodsquotetype:
  8202. description: '合约报价类型: 1-直接报价 2-间接报价'
  8203. type: integer
  8204. goodsstatus:
  8205. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8206. type: integer
  8207. goodstradetype:
  8208. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  8209. type: integer
  8210. goodunitid:
  8211. description: 报价单位ID
  8212. type: integer
  8213. hasquoter:
  8214. description: 是否有报价商 - 0:无报价商 1:有报价商
  8215. type: integer
  8216. hqprotecttime:
  8217. description: 行情保护时间(秒)
  8218. type: integer
  8219. innerdealmode:
  8220. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8221. type: integer
  8222. isbuylimited:
  8223. description: 是否限制建仓量 - 0:不限制 1:限制
  8224. type: integer
  8225. isvisible:
  8226. description: 游客是否可见 - 0:不可见 1:可见
  8227. type: integer
  8228. lasttradedate:
  8229. description: 最后交易日期(状态:待退市)
  8230. type: string
  8231. listingdate:
  8232. description: 交易开始日期
  8233. type: string
  8234. marketid:
  8235. description: 所属市场ID
  8236. type: integer
  8237. modifierid:
  8238. description: 修改人
  8239. type: integer
  8240. modifystatus:
  8241. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  8242. type: integer
  8243. modifytime:
  8244. description: 修改时间
  8245. type: string
  8246. outerdealmode:
  8247. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8248. type: integer
  8249. outgoodscode:
  8250. description: 商品代码(外部)
  8251. type: string
  8252. pictureurl:
  8253. description: 商品图片
  8254. type: string
  8255. qtydecimalplace:
  8256. description: 成交量小数位
  8257. type: integer
  8258. quotegear:
  8259. description: 行情档位(1-10)
  8260. type: integer
  8261. quoteminunit:
  8262. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8263. type: integer
  8264. quoteshowtype:
  8265. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  8266. type: integer
  8267. quoteshowtypeinterval:
  8268. description: 行情报价间隔时间(秒)(成交价时为0)
  8269. type: integer
  8270. remark:
  8271. description: 备注
  8272. type: string
  8273. required:
  8274. - goodscode
  8275. - goodsid
  8276. - goodsname
  8277. - marketid
  8278. type: object
  8279. models.GoodsIDAndName:
  8280. properties:
  8281. goodscode:
  8282. description: 商品代码(内部)
  8283. type: string
  8284. goodsid:
  8285. description: 商品ID(自增ID SEQ_GOODS)
  8286. type: integer
  8287. goodsname:
  8288. description: 商品名称
  8289. type: string
  8290. marketid:
  8291. description: 所属市场ID
  8292. type: integer
  8293. required:
  8294. - goodscode
  8295. - goodsid
  8296. - goodsname
  8297. - marketid
  8298. type: object
  8299. models.Goodsgroup:
  8300. properties:
  8301. agreeunit:
  8302. description: 合约单位
  8303. type: number
  8304. canshort:
  8305. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  8306. type: integer
  8307. closepricemode:
  8308. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8309. type: integer
  8310. closepriceparam:
  8311. description: 强平最新价浮动比例 - 方式为2时使用
  8312. type: number
  8313. createtime:
  8314. description: 创建时间
  8315. type: string
  8316. creatorid:
  8317. description: 创建人
  8318. type: integer
  8319. currencyid:
  8320. description: 报价货币ID
  8321. type: integer
  8322. decimalplace:
  8323. description: 报价小数位
  8324. type: integer
  8325. exercisetype:
  8326. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  8327. type: integer
  8328. exexchangeid:
  8329. description: 外部交易所ID[通道交易]
  8330. type: integer
  8331. goodsgroupid:
  8332. description: 商品组ID(自增ID)
  8333. type: integer
  8334. goodsgroupname:
  8335. description: 商品组名称
  8336. type: string
  8337. goodsgroupstatus:
  8338. description: 商品组状态 - 1:正常 2:注销
  8339. type: integer
  8340. goodunitid:
  8341. description: 报价单位ID
  8342. type: integer
  8343. innerdealmode:
  8344. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8345. type: integer
  8346. isbuylimited:
  8347. description: 是否限制建仓量 - 0:不限制 1:限制
  8348. type: integer
  8349. marketid:
  8350. description: 所属市场ID
  8351. type: integer
  8352. modifierid:
  8353. description: 修改人
  8354. type: integer
  8355. modifytime:
  8356. description: 修改时间
  8357. type: string
  8358. outerdealmode:
  8359. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8360. type: integer
  8361. outergroupcode:
  8362. description: 外部商品组代码[通道交易]
  8363. type: string
  8364. premiumdecimalplace:
  8365. description: 权利金小数位[场外期权]
  8366. type: integer
  8367. premiumspreadalgorithm:
  8368. description: 权利金点差方式[场外期权] 1:比率 2:固定
  8369. type: integer
  8370. premiumspreadvalue:
  8371. description: 权利金点差值[场外期权]
  8372. type: number
  8373. qtydecimalplace:
  8374. description: 成交量小数位
  8375. type: integer
  8376. quotegear:
  8377. description: 行情档位(1-10)
  8378. type: integer
  8379. quoteminunit:
  8380. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8381. type: integer
  8382. quoterid:
  8383. description: 报价商ID[场外期权]
  8384. type: integer
  8385. quotesourcegroupid:
  8386. description: 所属行情源分组ID[参考行情市场用\通道交易]
  8387. type: integer
  8388. syncgoodsqty:
  8389. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  8390. type: integer
  8391. required:
  8392. - goodsgroupid
  8393. - goodsgroupname
  8394. - goodsgroupstatus
  8395. - marketid
  8396. type: object
  8397. models.Goodssortbypreposition:
  8398. properties:
  8399. goodscode:
  8400. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  8401. type: string
  8402. goodsgroupcode:
  8403. description: 品种代码
  8404. type: string
  8405. prepositionqty:
  8406. description: 昨持仓量
  8407. type: integer
  8408. sortindex:
  8409. description: 排序
  8410. type: integer
  8411. tradedate:
  8412. description: 交易日
  8413. type: string
  8414. updatetime:
  8415. description: 更新时间
  8416. type: string
  8417. required:
  8418. - goodscode
  8419. - tradedate
  8420. type: object
  8421. models.Hedgeinnerholderdetail:
  8422. properties:
  8423. accountid:
  8424. description: 账号ID
  8425. type: integer
  8426. buyorsell:
  8427. description: 方向 - 0:买 1:卖
  8428. type: integer
  8429. freezeqty:
  8430. description: 冻结数量 - 按单平使用
  8431. type: integer
  8432. goodsid:
  8433. description: 商品ID
  8434. type: integer
  8435. holderamount:
  8436. description: 持仓金额 [商品币种]
  8437. type: number
  8438. holderdays:
  8439. description: 剩余冻结天数
  8440. type: integer
  8441. holderprice:
  8442. description: 持仓价格
  8443. type: number
  8444. holderqty:
  8445. description: 持仓数量
  8446. type: integer
  8447. marketid:
  8448. description: 市场ID
  8449. type: integer
  8450. openprice:
  8451. description: 建仓价格
  8452. type: number
  8453. openqty:
  8454. description: 建仓数量
  8455. type: integer
  8456. parentaccountid:
  8457. description: 所属母账户
  8458. type: integer
  8459. releaseamount:
  8460. description: 释放持仓金额[商品币种]
  8461. type: number
  8462. tradeamount:
  8463. description: 成交金额[账户]
  8464. type: number
  8465. tradedate:
  8466. description: 交易日(yyyyMMdd)
  8467. type: string
  8468. tradeid:
  8469. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8470. type: string
  8471. tradetime:
  8472. description: 交易时间
  8473. type: string
  8474. required:
  8475. - buyorsell
  8476. - tradeid
  8477. type: object
  8478. models.Hedgemarketopenlog:
  8479. properties:
  8480. accountid:
  8481. description: 资金账号[外部母账户]
  8482. type: integer
  8483. fcname:
  8484. description: 期货公司名称
  8485. type: string
  8486. handlestatus:
  8487. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  8488. type: integer
  8489. marketid:
  8490. description: 市场ID
  8491. type: integer
  8492. status:
  8493. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  8494. type: integer
  8495. tradedate:
  8496. description: 交易日(yyyyMMdd)
  8497. type: string
  8498. updatetime:
  8499. description: 更新时间
  8500. type: string
  8501. required:
  8502. - accountid
  8503. type: object
  8504. models.HsbyBuyMyPayOrder:
  8505. properties:
  8506. agreeunit:
  8507. description: 合约单位
  8508. type: number
  8509. buyaccountid:
  8510. description: 买方账号ID[报价币种]
  8511. type: integer
  8512. buyorderid:
  8513. description: 买方委托单号
  8514. type: string
  8515. createtime:
  8516. description: 创建时间
  8517. type: string
  8518. currencysign:
  8519. description: 货币符号
  8520. type: string
  8521. decimalplace:
  8522. description: 报价小数位
  8523. type: integer
  8524. goodscode:
  8525. description: 商品代码(内部)
  8526. type: string
  8527. goodsid:
  8528. description: 商品ID
  8529. type: integer
  8530. goodsname:
  8531. description: 商品名称
  8532. type: string
  8533. marketid:
  8534. description: 市场ID
  8535. type: integer
  8536. offamount:
  8537. description: 优惠金额
  8538. type: number
  8539. originalamount:
  8540. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  8541. type: number
  8542. payamount:
  8543. description: 支付金额 = TradeAmount + TradeCharge
  8544. type: number
  8545. payflag:
  8546. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  8547. type: integer
  8548. paylimitedtime:
  8549. description: 支付期限
  8550. type: string
  8551. paytime:
  8552. description: 付款时间
  8553. type: string
  8554. picurls1:
  8555. description: 预售商品介绍图片[多张用逗号分隔]
  8556. type: string
  8557. picurls2:
  8558. description: 挂牌商品介绍图片[多张用逗号分隔]
  8559. type: string
  8560. sellaccountid:
  8561. description: 卖方账号ID[报价币种]
  8562. type: integer
  8563. sellorderid:
  8564. description: 卖方委托单号
  8565. type: string
  8566. tradeamount:
  8567. description: 成交金额
  8568. type: number
  8569. tradecharge:
  8570. description: 成交手续费(买方)
  8571. type: number
  8572. tradedate:
  8573. description: 交易日(yyyyMMdd)
  8574. type: string
  8575. tradeid:
  8576. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8577. type: string
  8578. trademode:
  8579. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8580. 21:竞拍-大宗式 22:受托竞价
  8581. type: integer
  8582. tradeprice:
  8583. description: 成交价格
  8584. type: number
  8585. tradeqty:
  8586. description: 成交数量
  8587. type: integer
  8588. vendorname1:
  8589. description: 预售商品供应商名称
  8590. type: string
  8591. vendorname2:
  8592. description: 挂牌商品供应商名称
  8593. type: string
  8594. required:
  8595. - goodscode
  8596. - goodsname
  8597. - tradeid
  8598. - trademode
  8599. type: object
  8600. models.HsbyBuyMyTradeDetail:
  8601. properties:
  8602. accountid:
  8603. description: 账户ID[报价币种]
  8604. type: integer
  8605. agreeunit:
  8606. description: 合约单位
  8607. type: number
  8608. amount:
  8609. description: 金额 = 价格 * 数量 * 合约单位
  8610. type: number
  8611. buyorsell:
  8612. description: 买卖 - 0:买 1:卖
  8613. type: integer
  8614. currencysign:
  8615. description: 货币符号
  8616. type: string
  8617. decimalplace:
  8618. description: 报价小数位
  8619. type: integer
  8620. goodscode:
  8621. description: 商品代码(内部)
  8622. type: string
  8623. goodsid:
  8624. description: 商品ID
  8625. type: integer
  8626. goodsname:
  8627. description: 商品名称
  8628. type: string
  8629. marketid:
  8630. description: 市场ID
  8631. type: integer
  8632. orderamount:
  8633. description: 委托金额
  8634. type: number
  8635. orderid:
  8636. description: 单号(成交单号)
  8637. type: string
  8638. picurls1:
  8639. description: 预售商品介绍图片[多张用逗号分隔]
  8640. type: string
  8641. picurls2:
  8642. description: 挂牌商品介绍图片[多张用逗号分隔]
  8643. type: string
  8644. price:
  8645. description: 价格
  8646. type: number
  8647. qty:
  8648. description: 数量
  8649. type: integer
  8650. time:
  8651. description: 时间
  8652. type: string
  8653. trademode:
  8654. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8655. 21:竞拍-大宗式 22:受托竞价
  8656. type: integer
  8657. vendorname1:
  8658. description: 预售商品供应商名称
  8659. type: string
  8660. vendorname2:
  8661. description: 挂牌商品供应商名称
  8662. type: string
  8663. required:
  8664. - accountid
  8665. - buyorsell
  8666. - goodscode
  8667. - goodsid
  8668. - goodsname
  8669. - marketid
  8670. - orderid
  8671. - qty
  8672. - time
  8673. - trademode
  8674. type: object
  8675. models.HsbyGoodsOrderDetail:
  8676. properties:
  8677. buyorsell:
  8678. description: 买卖 - 0:买 1:卖
  8679. type: integer
  8680. currencysign:
  8681. description: 货币符号
  8682. type: string
  8683. customername:
  8684. description: 客户名称(企业名称),已脱敏
  8685. type: string
  8686. enableqty:
  8687. description: 可用数量
  8688. type: integer
  8689. goodunit:
  8690. description: 报价单位
  8691. type: string
  8692. orderid:
  8693. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8694. type: string
  8695. orderprice:
  8696. description: 委托价格
  8697. type: number
  8698. ordertime:
  8699. description: 委托时间
  8700. type: string
  8701. required:
  8702. - buyorsell
  8703. - orderid
  8704. - ordertime
  8705. type: object
  8706. models.HsbyListingGoodsDetail:
  8707. properties:
  8708. agreeunit:
  8709. description: 合约单位
  8710. type: number
  8711. buymaxqty:
  8712. description: 购买上限 [71] - 0为不限
  8713. type: integer
  8714. currency:
  8715. description: 货币
  8716. type: string
  8717. currencysign:
  8718. description: 货币符号
  8719. type: string
  8720. decimalplace:
  8721. description: 报价小数位
  8722. type: integer
  8723. desccityid:
  8724. description: 目的地(市)ID
  8725. type: integer
  8726. descprovinceid:
  8727. description: 目的地(省)ID
  8728. type: integer
  8729. goodscode:
  8730. description: 商品代码(内部)
  8731. type: string
  8732. goodsdesc:
  8733. description: 商品详情
  8734. type: string
  8735. goodsid:
  8736. description: 商品ID(自增ID SEQ_GOODS)
  8737. type: integer
  8738. goodsname:
  8739. description: 商品名称
  8740. type: string
  8741. goodsprice:
  8742. description: 商品价格
  8743. type: number
  8744. hotindex:
  8745. description: 景点热度
  8746. type: integer
  8747. last:
  8748. description: 现价
  8749. type: number
  8750. limitdown:
  8751. description: 跌停价
  8752. type: number
  8753. limitup:
  8754. description: 涨停价
  8755. type: number
  8756. lotsize:
  8757. description: 手数最小变动单位
  8758. type: integer
  8759. marketid:
  8760. description: 所属市场ID
  8761. type: integer
  8762. picurls:
  8763. description: 介绍图片[多张用逗号分隔]
  8764. type: string
  8765. quoteminunit:
  8766. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8767. type: integer
  8768. stepvalue:
  8769. description: 价格最小变动单位
  8770. type: number
  8771. trademode:
  8772. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8773. 21:竞拍-大宗式 22:受托竞价
  8774. type: integer
  8775. vendorattr:
  8776. description: 供应商附件(多张,逗号分隔)
  8777. type: string
  8778. vendorname:
  8779. description: 供应商名称
  8780. type: string
  8781. vendorphone:
  8782. description: 供应商客服电话
  8783. type: string
  8784. videourls:
  8785. description: 介绍视频[多张用逗号分隔]
  8786. type: string
  8787. required:
  8788. - goodscode
  8789. - goodsid
  8790. - goodsname
  8791. - marketid
  8792. - trademode
  8793. type: object
  8794. models.HsbyMarketGoods:
  8795. properties:
  8796. accountid:
  8797. description: 账户ID[报价币种]
  8798. type: integer
  8799. agreeunit:
  8800. description: 合约单位
  8801. type: number
  8802. buyorsell:
  8803. description: 买卖 - 0:买 1:卖
  8804. type: integer
  8805. categoryid:
  8806. description: 类别ID(WRCATEGORY)
  8807. type: integer
  8808. currency:
  8809. description: 货币
  8810. type: string
  8811. currencysign:
  8812. description: 货币符号
  8813. type: string
  8814. customername:
  8815. description: 卖家名称
  8816. type: string
  8817. decimalplace:
  8818. description: 报价小数位
  8819. type: integer
  8820. goodscode:
  8821. description: 商品代码(内部)
  8822. type: string
  8823. goodsid:
  8824. description: 商品ID
  8825. type: integer
  8826. goodsname:
  8827. description: 商品名称
  8828. type: string
  8829. goodsprice:
  8830. description: 商品价格
  8831. type: number
  8832. hascoupon:
  8833. description: 是否可用优惠卷
  8834. type: boolean
  8835. hotindex:
  8836. description: 景点热度
  8837. type: integer
  8838. marketid:
  8839. description: 市场ID
  8840. type: integer
  8841. orderid:
  8842. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8843. type: string
  8844. orderprice:
  8845. description: 委托价格
  8846. type: number
  8847. orderstatus:
  8848. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8849. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8850. 16:成交失败违约(荷兰式竞拍专用)
  8851. type: integer
  8852. picurls:
  8853. description: 介绍图片[多张用逗号分隔]
  8854. type: string
  8855. quoteminunit:
  8856. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8857. type: integer
  8858. sellUserID:
  8859. description: 卖方UserID
  8860. type: integer
  8861. trademode:
  8862. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8863. 21:竞拍-大宗式 22:受托竞价
  8864. type: integer
  8865. videourls:
  8866. description: 介绍视频[多张用逗号分隔]
  8867. type: string
  8868. required:
  8869. - accountid
  8870. - buyorsell
  8871. - goodscode
  8872. - goodsid
  8873. - goodsname
  8874. - marketid
  8875. - orderid
  8876. - trademode
  8877. type: object
  8878. models.HsbyMarketGoodsDetail:
  8879. properties:
  8880. accountid:
  8881. description: 账户ID[报价币种]
  8882. type: integer
  8883. agreeunit:
  8884. description: 合约单位
  8885. type: number
  8886. buymaxqty:
  8887. description: 购买上限 [71] - 0为不限
  8888. type: integer
  8889. buyorsell:
  8890. description: 买卖 - 0:买 1:卖
  8891. type: integer
  8892. cancelqty:
  8893. description: 撤单数量
  8894. type: integer
  8895. categoryid:
  8896. description: 类别ID(WRCATEGORY)
  8897. type: integer
  8898. currency:
  8899. description: 货币
  8900. type: string
  8901. currencysign:
  8902. description: 货币符号
  8903. type: string
  8904. customername:
  8905. description: 卖家名称
  8906. type: string
  8907. decimalplace:
  8908. description: 报价小数位
  8909. type: integer
  8910. goodscode:
  8911. description: 商品代码(内部)
  8912. type: string
  8913. goodsdesc:
  8914. description: 商品详情
  8915. type: string
  8916. goodsid:
  8917. description: 商品ID
  8918. type: integer
  8919. goodsname:
  8920. description: 商品名称
  8921. type: string
  8922. goodsprice:
  8923. description: 商品价格
  8924. type: number
  8925. hotindex:
  8926. description: 景点热度
  8927. type: integer
  8928. lotsize:
  8929. description: 手数最小变动单位
  8930. type: integer
  8931. marketid:
  8932. description: 市场ID
  8933. type: integer
  8934. orderid:
  8935. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8936. type: string
  8937. orderprice:
  8938. description: 委托价格
  8939. type: number
  8940. orderqty:
  8941. description: 委托数量
  8942. type: integer
  8943. orderstatus:
  8944. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8945. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8946. 16:成交失败违约(荷兰式竞拍专用)
  8947. type: integer
  8948. picurls:
  8949. description: 介绍图片[多张用逗号分隔]
  8950. type: string
  8951. quoteminunit:
  8952. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8953. type: integer
  8954. sellUserID:
  8955. description: 卖方UserID
  8956. type: integer
  8957. trademode:
  8958. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8959. 21:竞拍-大宗式 22:受托竞价
  8960. type: integer
  8961. tradeqty:
  8962. description: 成交数量
  8963. type: integer
  8964. vendorattr:
  8965. description: 供应商附件(多张,逗号分隔)
  8966. type: string
  8967. vendorname:
  8968. description: 供应商名称
  8969. type: string
  8970. vendorphone:
  8971. description: 供应商客服电话
  8972. type: string
  8973. videourls:
  8974. description: 介绍视频[多张用逗号分隔]
  8975. type: string
  8976. required:
  8977. - accountid
  8978. - buyorsell
  8979. - goodscode
  8980. - goodsid
  8981. - goodsname
  8982. - marketid
  8983. - orderid
  8984. - orderqty
  8985. - trademode
  8986. type: object
  8987. models.HsbyMarketInfo:
  8988. properties:
  8989. marketid:
  8990. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  8991. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8992. type: integer
  8993. marketname:
  8994. description: 市场名称
  8995. type: string
  8996. marketstatus:
  8997. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8998. type: integer
  8999. trademode:
  9000. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9001. 21:竞拍-大宗式 22:受托竞价
  9002. type: integer
  9003. required:
  9004. - marketid
  9005. - marketstatus
  9006. - trademode
  9007. type: object
  9008. models.HsbyMyGoods:
  9009. properties:
  9010. accountid:
  9011. description: 账号Id
  9012. type: integer
  9013. agreeunit:
  9014. description: 合约单位
  9015. type: number
  9016. buyaverageprice:
  9017. description: 持仓均价
  9018. type: number
  9019. buycurholderamount:
  9020. description: 买当前持仓总金额[商品币种]
  9021. type: number
  9022. buycurpositionqty:
  9023. description: 买当前持仓总数量
  9024. type: integer
  9025. buymaxqty:
  9026. description: 购买上限 [71] - 0为不限
  9027. type: integer
  9028. currencysign:
  9029. description: 货币符号
  9030. type: string
  9031. decimalplace:
  9032. description: 报价小数位
  9033. type: integer
  9034. enableqty:
  9035. description: 可用数量
  9036. type: integer
  9037. goodscode:
  9038. description: 商品代码(内部)
  9039. type: string
  9040. goodsid:
  9041. description: 商品Id
  9042. type: integer
  9043. goodsname:
  9044. description: 商品名称
  9045. type: string
  9046. goodsprice:
  9047. description: 商品价格
  9048. type: number
  9049. goodsstatus:
  9050. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  9051. type: integer
  9052. last:
  9053. description: 现价(仅使用于挂牌点选)
  9054. type: number
  9055. limitdown:
  9056. description: 跌停价(仅使用于挂牌点选)
  9057. type: number
  9058. limitup:
  9059. description: 涨停价(仅使用于挂牌点选)
  9060. type: number
  9061. lotsize:
  9062. description: 手数最小变动单位
  9063. type: integer
  9064. marketid:
  9065. description: 所属市场ID
  9066. type: integer
  9067. picurls:
  9068. description: 介绍图片[多张用逗号分隔]
  9069. type: string
  9070. quoteminunit:
  9071. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9072. type: integer
  9073. stepvalue:
  9074. description: 价格最小变动单位
  9075. type: number
  9076. trademode:
  9077. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9078. 21:竞拍-大宗式 22:受托竞价
  9079. type: integer
  9080. required:
  9081. - accountid
  9082. - goodscode
  9083. - goodsid
  9084. - goodsname
  9085. - marketid
  9086. - trademode
  9087. type: object
  9088. models.HsbyMyPackage:
  9089. properties:
  9090. accountid:
  9091. description: 账户ID
  9092. type: integer
  9093. address:
  9094. description: 提货人详细地址
  9095. type: string
  9096. agreeunit:
  9097. description: 合约单位
  9098. type: number
  9099. amount:
  9100. description: 提货金额
  9101. type: number
  9102. auditer:
  9103. description: 审核人
  9104. type: integer
  9105. audittime:
  9106. description: 审核时间
  9107. type: string
  9108. averageprice:
  9109. description: 均价
  9110. type: number
  9111. cardnum:
  9112. description: 提货人证件号码
  9113. type: string
  9114. cardtypeid:
  9115. description: 提货人证件类型
  9116. type: integer
  9117. checkremark:
  9118. description: 审核备注
  9119. type: string
  9120. currencysign:
  9121. description: 货币符号
  9122. type: string
  9123. decimalplace:
  9124. description: 报价小数位
  9125. type: integer
  9126. goodscode:
  9127. description: 商品代码(内部)
  9128. type: string
  9129. goodsid:
  9130. description: 商品ID
  9131. type: integer
  9132. goodsname:
  9133. description: 商品名称
  9134. type: string
  9135. handlestatus:
  9136. description: 处理状态
  9137. type: integer
  9138. marketid:
  9139. description: 市场ID
  9140. type: integer
  9141. phonenum:
  9142. description: 提货人联系方式
  9143. type: string
  9144. picurls:
  9145. description: 介绍图片[多张用逗号分隔]
  9146. type: string
  9147. qty:
  9148. description: 提货数量
  9149. type: number
  9150. recivername:
  9151. description: 提货人姓名
  9152. type: string
  9153. reqtime:
  9154. description: 更新时间
  9155. type: string
  9156. takemode:
  9157. description: 提货方式 - 2:自提 3:配送
  9158. type: integer
  9159. takeorderid:
  9160. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  9161. type: string
  9162. takeorderstatus:
  9163. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  9164. type: integer
  9165. takeremark:
  9166. description: 提货备注
  9167. type: string
  9168. tradedate:
  9169. description: 交易日(yyyyMMdd)
  9170. type: string
  9171. trademode:
  9172. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9173. 21:竞拍-大宗式 22:受托竞价
  9174. type: integer
  9175. userid:
  9176. description: 用户ID
  9177. type: integer
  9178. vendorname:
  9179. description: 供应商名称
  9180. type: string
  9181. required:
  9182. - goodscode
  9183. - goodsname
  9184. - takeorderid
  9185. - trademode
  9186. type: object
  9187. models.HsbyPreGoods:
  9188. properties:
  9189. agreeunit:
  9190. description: 合约单位
  9191. type: number
  9192. currency:
  9193. description: 货币
  9194. type: string
  9195. currencysign:
  9196. description: 货币符号
  9197. type: string
  9198. decimalplace:
  9199. description: 报价小数位
  9200. type: integer
  9201. desccityid:
  9202. description: 目的地(市)
  9203. type: integer
  9204. descprovinceid:
  9205. description: 目的地(省)
  9206. type: integer
  9207. enableqty:
  9208. description: 剩余数量
  9209. type: integer
  9210. goodscode:
  9211. description: 商品代码(内部)
  9212. type: string
  9213. goodsid:
  9214. description: 商品ID(自增ID SEQ_GOODS)
  9215. type: integer
  9216. goodsname:
  9217. description: 商品名称
  9218. type: string
  9219. goodsstatus:
  9220. description: 商品状态- 2:未上市 3:上市
  9221. type: integer
  9222. lasttradedate:
  9223. description: 最后交易日期(状态:待退市)
  9224. type: string
  9225. listingdate:
  9226. description: 交易开始日期
  9227. type: string
  9228. marketid:
  9229. description: 所属市场ID
  9230. type: integer
  9231. picurls:
  9232. description: 介绍图片[多张用逗号分隔]
  9233. type: string
  9234. presaledqty:
  9235. description: 已预售量(预售结束时更新)
  9236. type: integer
  9237. presaleqty:
  9238. description: 预售数量
  9239. type: integer
  9240. quoteminunit:
  9241. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9242. type: integer
  9243. refprice:
  9244. description: 参考价格[一口价]
  9245. type: number
  9246. relatedgoodsid:
  9247. description: 关联交易合约ID
  9248. type: integer
  9249. trademode:
  9250. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9251. 21:竞拍-大宗式 22:受托竞价
  9252. type: integer
  9253. videourls:
  9254. description: 介绍视频[多张用逗号分隔]
  9255. type: string
  9256. required:
  9257. - goodscode
  9258. - goodsid
  9259. - goodsname
  9260. - marketid
  9261. - trademode
  9262. type: object
  9263. models.HsbyPreGoodsDetail:
  9264. properties:
  9265. agreeunit:
  9266. description: 合约单位
  9267. type: number
  9268. buymaxqty:
  9269. description: 购买上限 [71] - 0为不限
  9270. type: integer
  9271. currency:
  9272. description: 货币
  9273. type: string
  9274. currencysign:
  9275. description: 货币符号
  9276. type: string
  9277. customername:
  9278. description: 发行单位
  9279. type: string
  9280. decimalplace:
  9281. description: 报价小数位
  9282. type: integer
  9283. desccityid:
  9284. description: 目的地(市)ID
  9285. type: integer
  9286. descprovinceid:
  9287. description: 目的地(省)ID
  9288. type: integer
  9289. enableqty:
  9290. description: 剩余数量
  9291. type: integer
  9292. goodscode:
  9293. description: 商品代码(内部)
  9294. type: string
  9295. goodsdesc:
  9296. description: 商品详情
  9297. type: string
  9298. goodsid:
  9299. description: 商品ID(自增ID SEQ_GOODS)
  9300. type: integer
  9301. goodsname:
  9302. description: 商品名称
  9303. type: string
  9304. goodsstatus:
  9305. description: 商品状态- 2:未上市 3:上市
  9306. type: integer
  9307. goodunit:
  9308. description: 报价单位
  9309. type: string
  9310. lasttradedate:
  9311. description: 最后交易日期(状态:待退市)
  9312. type: string
  9313. listingdate:
  9314. description: 交易开始日期
  9315. type: string
  9316. lotsize:
  9317. description: 手数最小变动单位
  9318. type: integer
  9319. marketid:
  9320. description: 所属市场ID
  9321. type: integer
  9322. picurls:
  9323. description: 介绍图片[多张用逗号分隔]
  9324. type: string
  9325. presaledqty:
  9326. description: 已预售量(预售结束时更新)
  9327. type: integer
  9328. presaleqty:
  9329. description: 预售数量
  9330. type: integer
  9331. quoteminunit:
  9332. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9333. type: integer
  9334. refprice:
  9335. description: 参考价格[一口价]
  9336. type: number
  9337. relatedgoodsid:
  9338. description: 关联交易合约ID
  9339. type: integer
  9340. stepvalue:
  9341. description: 价格最小变动单位
  9342. type: number
  9343. trademode:
  9344. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9345. 21:竞拍-大宗式 22:受托竞价
  9346. type: integer
  9347. vendorattr:
  9348. description: 供应商附件(多张,逗号分隔)
  9349. type: string
  9350. vendorname:
  9351. description: 供应商名称
  9352. type: string
  9353. vendorphone:
  9354. description: 供应商客服电话
  9355. type: string
  9356. videourls:
  9357. description: 介绍视频[多张用逗号分隔]
  9358. type: string
  9359. required:
  9360. - goodscode
  9361. - goodsid
  9362. - goodsname
  9363. - marketid
  9364. - trademode
  9365. type: object
  9366. models.HsbySellCollectionOrder:
  9367. properties:
  9368. agreeunit:
  9369. description: 合约单位
  9370. type: number
  9371. buyaccountid:
  9372. description: 买方账号ID[报价币种]
  9373. type: integer
  9374. buyorderid:
  9375. description: 买方委托单号
  9376. type: string
  9377. createtime:
  9378. description: 创建时间
  9379. type: string
  9380. currencysign:
  9381. description: 货币符号
  9382. type: string
  9383. decimalplace:
  9384. description: 报价小数位
  9385. type: integer
  9386. goodscode:
  9387. description: 商品代码(内部)
  9388. type: string
  9389. goodsid:
  9390. description: 商品ID
  9391. type: integer
  9392. goodsname:
  9393. description: 商品名称
  9394. type: string
  9395. marketid:
  9396. description: 市场ID
  9397. type: integer
  9398. offamount:
  9399. description: 优惠金额
  9400. type: number
  9401. payamount:
  9402. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  9403. type: number
  9404. payflag:
  9405. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  9406. type: integer
  9407. paylimitedtime:
  9408. description: 支付期限
  9409. type: string
  9410. paytime:
  9411. description: 付款时间
  9412. type: string
  9413. picurls:
  9414. description: 商品介绍图片[多张用逗号分隔]
  9415. type: string
  9416. sellaccountid:
  9417. description: 卖方账号ID[报价币种]
  9418. type: integer
  9419. sellorderid:
  9420. description: 卖方委托单号
  9421. type: string
  9422. tradeamount:
  9423. description: 成交金额
  9424. type: number
  9425. tradecharge:
  9426. description: 成交手续费(买方)
  9427. type: number
  9428. tradedate:
  9429. description: 交易日(yyyyMMdd)
  9430. type: string
  9431. tradeid:
  9432. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9433. type: string
  9434. trademode:
  9435. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9436. 21:竞拍-大宗式 22:受托竞价
  9437. type: integer
  9438. tradeprice:
  9439. description: 成交价格
  9440. type: number
  9441. tradeqty:
  9442. description: 成交数量
  9443. type: integer
  9444. required:
  9445. - goodscode
  9446. - goodsname
  9447. - tradeid
  9448. - trademode
  9449. type: object
  9450. models.HsbySellMyDetail:
  9451. properties:
  9452. accountid:
  9453. description: 账户ID[报价币种]
  9454. type: integer
  9455. agreeunit:
  9456. description: 合约单位
  9457. type: number
  9458. buyorsell:
  9459. description: 买卖 - 0:买 1:卖
  9460. type: integer
  9461. currencysign:
  9462. description: 货币符号
  9463. type: string
  9464. decimalplace:
  9465. description: 报价小数位
  9466. type: integer
  9467. goodscode:
  9468. description: 商品代码(内部)
  9469. type: string
  9470. goodsid:
  9471. description: 商品ID
  9472. type: integer
  9473. goodsname:
  9474. description: 商品名称
  9475. type: string
  9476. marketid:
  9477. description: 市场ID
  9478. type: integer
  9479. orderid:
  9480. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  9481. type: string
  9482. ordertype:
  9483. description: 单据类型:0 - 发布中, 1 - 已完成
  9484. type: integer
  9485. picurls:
  9486. description: 介绍图片[多张用逗号分隔]
  9487. type: string
  9488. price:
  9489. description: 价格
  9490. type: number
  9491. qty:
  9492. description: 数量
  9493. type: integer
  9494. time:
  9495. description: 时间
  9496. type: string
  9497. trademode:
  9498. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9499. 21:竞拍-大宗式 22:受托竞价
  9500. type: integer
  9501. vendorname:
  9502. description: 供应商名称
  9503. type: string
  9504. required:
  9505. - accountid
  9506. - buyorsell
  9507. - goodscode
  9508. - goodsid
  9509. - goodsname
  9510. - marketid
  9511. - orderid
  9512. - time
  9513. - trademode
  9514. type: object
  9515. models.HsbyTopGoods:
  9516. properties:
  9517. agreeunit:
  9518. description: 合约单位
  9519. type: number
  9520. currency:
  9521. description: 货币
  9522. type: string
  9523. currencysign:
  9524. description: 货币符号
  9525. type: string
  9526. decimalplace:
  9527. description: 报价小数位
  9528. type: integer
  9529. desccityid:
  9530. description: 目的地(市)
  9531. type: integer
  9532. descprovinceid:
  9533. description: 目的地(省)
  9534. type: integer
  9535. goodscode:
  9536. description: 商品代码(内部)
  9537. type: string
  9538. goodsid:
  9539. description: 商品ID(自增ID SEQ_GOODS)
  9540. type: integer
  9541. goodsname:
  9542. description: 商品名称
  9543. type: string
  9544. hotindex:
  9545. description: 景点热度
  9546. type: integer
  9547. last:
  9548. description: 现价
  9549. type: number
  9550. marketid:
  9551. description: 所属市场ID
  9552. type: integer
  9553. picurls:
  9554. description: 介绍图片[多张用逗号分隔]
  9555. type: string
  9556. quoteminunit:
  9557. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9558. type: integer
  9559. trademode:
  9560. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9561. 21:竞拍-大宗式 22:受托竞价
  9562. type: integer
  9563. videourls:
  9564. description: 介绍视频[多张用逗号分隔]
  9565. type: string
  9566. required:
  9567. - goodscode
  9568. - goodsid
  9569. - goodsname
  9570. - marketid
  9571. - trademode
  9572. type: object
  9573. models.HybsMyBuyOrderDetail:
  9574. properties:
  9575. accountid:
  9576. description: 账户ID[报价币种]
  9577. type: integer
  9578. agreeunit:
  9579. description: 合约单位
  9580. type: number
  9581. buyorsell:
  9582. description: 买卖 - 0:买 1:卖
  9583. type: integer
  9584. cancelqty:
  9585. description: 撤单数量
  9586. type: integer
  9587. currencysign:
  9588. description: 货币符号
  9589. type: string
  9590. decimalplace:
  9591. description: 报价小数位
  9592. type: integer
  9593. goodscode:
  9594. description: 商品代码(内部)
  9595. type: string
  9596. goodsid:
  9597. description: 商品ID
  9598. type: integer
  9599. goodsname:
  9600. description: 商品名称
  9601. type: string
  9602. listingselecttype:
  9603. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  9604. type: integer
  9605. marketid:
  9606. description: 市场ID
  9607. type: integer
  9608. mybuystatus:
  9609. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  9610. type: integer
  9611. orderamount:
  9612. description: 委托金额
  9613. type: number
  9614. orderid:
  9615. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9616. type: string
  9617. orderprice:
  9618. description: 委托价格
  9619. type: number
  9620. orderqty:
  9621. description: 委托数量
  9622. type: integer
  9623. orderstatus:
  9624. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  9625. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  9626. 16:成交失败违约(荷兰式竞拍专用)
  9627. type: integer
  9628. ordertime:
  9629. description: 委托时间
  9630. type: string
  9631. picurls1:
  9632. description: 预售商品介绍图片[多张用逗号分隔]
  9633. type: string
  9634. picurls2:
  9635. description: 挂牌商品介绍图片[多张用逗号分隔]
  9636. type: string
  9637. trademode:
  9638. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9639. 21:竞拍-大宗式 22:受托竞价
  9640. type: integer
  9641. tradeqty:
  9642. description: 成交数量
  9643. type: integer
  9644. vendorname1:
  9645. description: 预售商品供应商名称
  9646. type: string
  9647. vendorname2:
  9648. description: 挂牌商品供应商名称
  9649. type: string
  9650. required:
  9651. - accountid
  9652. - buyorsell
  9653. - goodscode
  9654. - goodsid
  9655. - goodsname
  9656. - marketid
  9657. - orderid
  9658. - orderqty
  9659. - ordertime
  9660. - trademode
  9661. type: object
  9662. models.Loginaccount:
  9663. properties:
  9664. accountname:
  9665. description: 账户名称
  9666. type: string
  9667. canoutin:
  9668. description: 是否可出入金 - 0:不可 1:可
  9669. type: integer
  9670. clientroleid:
  9671. description: 终端角色ID
  9672. type: integer
  9673. haslogined:
  9674. description: 是否已登录 - 0:未登录 1:已登录
  9675. type: integer
  9676. hasupdatedpwd:
  9677. description: 是否已更改密码 - 0:未修改 1:已修改
  9678. type: integer
  9679. lastloginip:
  9680. description: 最新登录地址
  9681. type: string
  9682. lastloginmode:
  9683. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  9684. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  9685. type: integer
  9686. lastloginremark:
  9687. description: 最新登录描述
  9688. type: string
  9689. lastlogintime:
  9690. description: 最新登录时间
  9691. type: string
  9692. logincode:
  9693. description: 登录代码
  9694. type: string
  9695. loginfailnum:
  9696. description: 连续登录失败次数(登录成功时清零)
  9697. type: integer
  9698. loginid:
  9699. description: 登陆账号
  9700. type: integer
  9701. loginport:
  9702. description: 最新登录端口
  9703. type: integer
  9704. loginstatus:
  9705. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  9706. type: integer
  9707. loginusertype:
  9708. description: 登录账号类型 - 1:投资者 2:机构交易员
  9709. type: integer
  9710. mobile:
  9711. description: 手机号码(加密存储)
  9712. type: string
  9713. modifierid:
  9714. description: 修改人
  9715. type: integer
  9716. modifysrc:
  9717. description: 审核来源 - 1:管理端 2:终端
  9718. type: integer
  9719. modifytime:
  9720. description: 修改时间
  9721. type: string
  9722. password:
  9723. description: 登陆密码
  9724. type: string
  9725. pwdwrongcount:
  9726. description: 密码错误次数
  9727. type: integer
  9728. relateduserid:
  9729. description: 关联用户ID(机构)
  9730. type: integer
  9731. taaccountrighttype:
  9732. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  9733. type: integer
  9734. unfreezetime:
  9735. description: 账户解冻时间
  9736. type: string
  9737. userid:
  9738. description: 用户ID
  9739. type: integer
  9740. required:
  9741. - loginid
  9742. type: object
  9743. models.MainAccountInfo:
  9744. properties:
  9745. accountid:
  9746. description: 账号id
  9747. type: integer
  9748. accountname:
  9749. description: 账号名称(taaccount表中的名称)
  9750. type: string
  9751. appid:
  9752. description: AppID
  9753. type: string
  9754. authcode:
  9755. description: 授权码
  9756. type: string
  9757. brokerid:
  9758. description: 经纪商id
  9759. type: string
  9760. fcid:
  9761. description: 期货公司id
  9762. type: integer
  9763. fcname:
  9764. description: 期货公司代码
  9765. type: string
  9766. hedgeaccountcode:
  9767. description: 外部账号代码(主账号登录代码)
  9768. type: string
  9769. hedgeaccountpwd:
  9770. description: 密码
  9771. type: string
  9772. ismain:
  9773. description: 是否主账号
  9774. type: integer
  9775. relateduserid:
  9776. description: 关联用户id
  9777. type: integer
  9778. userid:
  9779. description: 关联用户id
  9780. type: integer
  9781. type: object
  9782. models.Market:
  9783. properties:
  9784. auctionwrtype:
  9785. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  9786. type: integer
  9787. canacceptquote:
  9788. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  9789. type: integer
  9790. cangoodsexercise:
  9791. description: '[期权]是否可现货行权- 0:否 1:是'
  9792. type: integer
  9793. cangoodsexercisetype:
  9794. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  9795. type: integer
  9796. canmanualquotestrike:
  9797. description: 是否可手动报行权价- 0:否 1:是 [期权]
  9798. type: integer
  9799. canmutistage:
  9800. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  9801. type: integer
  9802. canpreexercise:
  9803. description: '[期权]是否可预申报- 0:否 1:是'
  9804. type: integer
  9805. clearinterval:
  9806. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  9807. type: integer
  9808. contracttmp:
  9809. description: 合同模板[荷兰式][竞价式][仓单贸易]
  9810. type: string
  9811. exchareaid:
  9812. description: 所属交易所,可以没有
  9813. type: integer
  9814. goodstype:
  9815. description: 商品类型 - 1:交易商品 2:仓单商品
  9816. type: integer
  9817. hasrebate:
  9818. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  9819. type: integer
  9820. hastradecredit:
  9821. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  9822. type: integer
  9823. haswr:
  9824. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  9825. type: integer
  9826. isdeductmargin:
  9827. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  9828. type: integer
  9829. isrecordsource:
  9830. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  9831. type: integer
  9832. isreleasemargin:
  9833. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  9834. type: integer
  9835. marginformula:
  9836. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9837. type: integer
  9838. marginformula2:
  9839. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9840. type: integer
  9841. marketid:
  9842. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  9843. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  9844. type: integer
  9845. marketname:
  9846. description: 市场名称
  9847. type: string
  9848. marketserviceid:
  9849. description: 市场服务ID
  9850. type: integer
  9851. marketstatus:
  9852. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  9853. type: integer
  9854. markettype:
  9855. description: 市场类型- 1:非交易服务 2:交易服务
  9856. type: integer
  9857. matchermode:
  9858. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  9859. type: integer
  9860. openmethod:
  9861. description: 开盘模式 - 0 自动 1手动
  9862. type: integer
  9863. otcuserid:
  9864. description: 场外期权做市商[场外期权]
  9865. type: integer
  9866. outersynctime:
  9867. description: 外部同步时间点(h24:mi:ss)[场外期权]
  9868. type: string
  9869. pendingflag:
  9870. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  9871. type: integer
  9872. pendingtime:
  9873. description: 待开市时间[通道交易-对冲](HH:mm)
  9874. type: string
  9875. performancetempid:
  9876. description: 履约计划模板ID - 作废
  9877. type: integer
  9878. premiumquotemode:
  9879. description: 权利金报价方式 - 1:自动 2:手动
  9880. type: integer
  9881. rebateratio:
  9882. description: 返利比率[竞价式]
  9883. type: number
  9884. reckonorder:
  9885. description: 结算顺序
  9886. type: integer
  9887. reckonpricealgorithm:
  9888. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  9889. 6.卖一价 7.买一卖一均价 8.外部结算价'
  9890. type: integer
  9891. reckonpriceparam:
  9892. description: 结算价参数
  9893. type: integer
  9894. reckontime:
  9895. description: 结算时间[通道交易-对冲](HH:mm)
  9896. type: string
  9897. roleprioritytype:
  9898. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  9899. type: integer
  9900. selllistingauditflag:
  9901. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  9902. type: integer
  9903. trademarkettype:
  9904. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  9905. type: integer
  9906. trademode:
  9907. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9908. 21:竞拍-大宗式 22:受托竞价
  9909. type: integer
  9910. tradeproperty:
  9911. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  9912. 8:场外期权
  9913. type: integer
  9914. tradetype:
  9915. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  9916. type: integer
  9917. required:
  9918. - marketid
  9919. - marketstatus
  9920. - openmethod
  9921. - reckonpricealgorithm
  9922. - trademode
  9923. - tradeproperty
  9924. type: object
  9925. models.Marketrun:
  9926. properties:
  9927. afternexttradedate:
  9928. description: 下下交易日
  9929. type: string
  9930. clearquoteflag:
  9931. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  9932. type: integer
  9933. lastreckondate:
  9934. description: 最新交易日(结算成功)
  9935. type: string
  9936. machinedate:
  9937. description: 机器时间
  9938. type: string
  9939. manualflag:
  9940. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  9941. type: integer
  9942. marketid:
  9943. description: 市场ID
  9944. type: integer
  9945. nexttradedate:
  9946. description: 下一交易日
  9947. type: string
  9948. pretradedate:
  9949. description: 上一交易日
  9950. type: string
  9951. reckonflag:
  9952. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  9953. type: integer
  9954. runstatus:
  9955. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  9956. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  9957. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  9958. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  9959. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  9960. 62.今日免清算
  9961. type: integer
  9962. sectionid:
  9963. description: 时间段号[多时段时用]
  9964. type: integer
  9965. tradedate:
  9966. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  9967. type: string
  9968. tradedate2:
  9969. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  9970. type: string
  9971. updatetime:
  9972. description: 更新时间
  9973. type: string
  9974. required:
  9975. - marketid
  9976. - nexttradedate
  9977. - reckonflag
  9978. - runstatus
  9979. - tradedate
  9980. - tradedate2
  9981. type: object
  9982. models.Messageboard:
  9983. properties:
  9984. contactnum:
  9985. description: 联系电话
  9986. type: string
  9987. createtime:
  9988. description: 创建时间
  9989. type: string
  9990. message:
  9991. description: 留言信息
  9992. type: string
  9993. messageboardid:
  9994. description: 留言簿ID(SEQ_MessageBoard)
  9995. type: integer
  9996. userid:
  9997. description: 用户ID
  9998. type: integer
  9999. required:
  10000. - messageboardid
  10001. type: object
  10002. models.MyCoupon:
  10003. properties:
  10004. accountid:
  10005. description: 资金账户ID
  10006. type: integer
  10007. areauserid:
  10008. description: 所属机构
  10009. type: integer
  10010. conditionvalue:
  10011. description: 条件阈值(可为0)
  10012. type: number
  10013. couponcategroy:
  10014. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  10015. type: integer
  10016. couponname:
  10017. description: 优惠券名称
  10018. type: string
  10019. coupontypeid:
  10020. description: 优惠券类型ID
  10021. type: string
  10022. couponvalue:
  10023. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  10024. type: number
  10025. curfreezeqty:
  10026. description: 期末冻结数量
  10027. type: integer
  10028. curqty:
  10029. description: 期末数量
  10030. type: integer
  10031. isgeneral:
  10032. description: 是否通用券 - 0:否 1:是
  10033. type: integer
  10034. isunusable:
  10035. description: 是否不可用
  10036. type: boolean
  10037. limitedflag:
  10038. description: 是否指定商品 - 0:不限 1:限制
  10039. type: integer
  10040. limitedgoodsids:
  10041. description: 指定商品IDs[逗号分隔,前后加逗号]
  10042. type: string
  10043. orifreezeqty:
  10044. description: 期初冻结数量
  10045. type: integer
  10046. oriqty:
  10047. description: 期初数量
  10048. type: integer
  10049. reasontype:
  10050. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  10051. type: integer
  10052. todaydecrease:
  10053. description: 今日减少
  10054. type: integer
  10055. todayincrease:
  10056. description: 今日增加
  10057. type: integer
  10058. userid:
  10059. description: 用户ID
  10060. type: integer
  10061. userscope:
  10062. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  10063. type: string
  10064. required:
  10065. - accountid
  10066. - coupontypeid
  10067. type: object
  10068. models.MyCouponHold:
  10069. properties:
  10070. accountid:
  10071. description: 资金账户ID
  10072. type: integer
  10073. conditionvalue:
  10074. description: 条件阈值(可为0)
  10075. type: number
  10076. couponcategroy:
  10077. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  10078. type: integer
  10079. couponholdid:
  10080. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  10081. type: string
  10082. couponname:
  10083. description: 优惠券名称
  10084. type: string
  10085. coupontypeid:
  10086. description: 优惠券类型ID - SEQ_COUPONTYPE
  10087. type: string
  10088. couponvalue:
  10089. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  10090. type: number
  10091. createtime:
  10092. description: 创建时间
  10093. type: string
  10094. enddate:
  10095. description: 结束日期
  10096. type: string
  10097. giveapplyid:
  10098. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  10099. type: integer
  10100. holdstatus:
  10101. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  10102. type: integer
  10103. isgeneral:
  10104. description: 是否通用券 - 0:否 1:是
  10105. type: integer
  10106. limitedflag:
  10107. description: 是否指定商品 - 0:不限 1:限制
  10108. type: integer
  10109. limitedgoodsids:
  10110. description: 指定商品IDs[逗号分隔]
  10111. type: string
  10112. qty:
  10113. description: 数量(按1平铺)
  10114. type: integer
  10115. startdate:
  10116. description: 开始日期
  10117. type: string
  10118. userid:
  10119. description: 用户ID
  10120. type: integer
  10121. userscope:
  10122. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  10123. type: string
  10124. required:
  10125. - couponholdid
  10126. type: object
  10127. models.MyUsedCoupon:
  10128. properties:
  10129. accountid:
  10130. description: 资金账户ID(买方)
  10131. type: integer
  10132. conditionvalue:
  10133. description: 条件阈值(可为0)
  10134. type: number
  10135. couponcategroy:
  10136. description: 种类 - 1:现金券 2:折扣券
  10137. type: integer
  10138. couponname:
  10139. description: 优惠券名称
  10140. type: string
  10141. coupontypeid:
  10142. description: 优惠券类型ID(买方)
  10143. type: string
  10144. couponvalue:
  10145. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  10146. type: number
  10147. createtime:
  10148. description: 创建时间
  10149. type: string
  10150. goodsid:
  10151. description: 商品ID
  10152. type: integer
  10153. handlestatus:
  10154. description: 处理状态
  10155. type: integer
  10156. marketid:
  10157. description: 市场ID
  10158. type: integer
  10159. offamount:
  10160. description: 优惠金额
  10161. type: number
  10162. orderid:
  10163. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10164. type: string
  10165. sellaccountid:
  10166. description: 资金账户ID(卖方)
  10167. type: integer
  10168. tradeamount:
  10169. description: 成交金额
  10170. type: number
  10171. tradeid:
  10172. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10173. type: string
  10174. usedqty:
  10175. description: 使用数量
  10176. type: integer
  10177. required:
  10178. - coupontypeid
  10179. - orderid
  10180. type: object
  10181. models.OperationPrimaryMenu:
  10182. properties:
  10183. Children:
  10184. description: 二级功能菜单
  10185. items:
  10186. $ref: '#/definitions/models.OperationSecondaryMenu'
  10187. type: array
  10188. Key:
  10189. description: 菜单KEY
  10190. type: string
  10191. Label:
  10192. description: 菜单标题
  10193. type: string
  10194. type: object
  10195. models.OperationSecondaryMenu:
  10196. properties:
  10197. Key:
  10198. description: 菜单KEY
  10199. type: string
  10200. Label:
  10201. description: 菜单标题
  10202. type: string
  10203. TabList:
  10204. description: 三级功能菜单
  10205. items:
  10206. $ref: '#/definitions/models.OperationTabMenu'
  10207. type: array
  10208. type: object
  10209. models.OperationTabMenu:
  10210. properties:
  10211. Key:
  10212. description: 菜单KEY
  10213. type: string
  10214. Label:
  10215. description: 菜单标题
  10216. type: string
  10217. type: object
  10218. models.QhjAccountOutInApply:
  10219. properties:
  10220. accountcode:
  10221. description: 资金账号
  10222. type: string
  10223. accountname:
  10224. description: 用户名称(名称)
  10225. type: string
  10226. accountpwd:
  10227. description: 资金密码
  10228. type: string
  10229. accountticket:
  10230. description: 最新账户服务流水号
  10231. type: string
  10232. amount:
  10233. description: 金额
  10234. type: number
  10235. applyremark:
  10236. description: 申请备注
  10237. type: string
  10238. applystatus:
  10239. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  10240. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  10241. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  10242. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  10243. type: integer
  10244. auditid:
  10245. description: 审核人
  10246. type: integer
  10247. audittime:
  10248. description: 审核时间
  10249. type: string
  10250. bank_apply_ticket:
  10251. description: 银行申请流水
  10252. type: string
  10253. bankaccountname:
  10254. description: 银行账户名
  10255. type: string
  10256. bankaccountno:
  10257. description: 银行卡号
  10258. type: string
  10259. bankid:
  10260. description: 银行编号
  10261. type: string
  10262. bankticket:
  10263. description: 银行流水
  10264. type: string
  10265. branchbankid:
  10266. description: 银行支行号
  10267. type: string
  10268. branchbankname:
  10269. description: 银行支行名称
  10270. type: string
  10271. capamountout:
  10272. description: 出金(劣后本金) - 外部子账户
  10273. type: number
  10274. certificatephotourl:
  10275. description: 凭证地址
  10276. type: string
  10277. charge:
  10278. description: 手续费
  10279. type: number
  10280. checkerrorflag:
  10281. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  10282. type: integer
  10283. currency:
  10284. description: 币种
  10285. type: string
  10286. cusbankid:
  10287. description: 托管银行编号
  10288. type: string
  10289. exchticket:
  10290. description: 银行服务流水号
  10291. type: string
  10292. executetype:
  10293. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  10294. 7:外部子账户:入金 8:外部子账户:出金'
  10295. type: integer
  10296. extendinfo:
  10297. description: 扩展信息
  10298. type: string
  10299. extoperateid:
  10300. description: 交易服务流水号
  10301. type: integer
  10302. infamount:
  10303. description: 劣后金额(自有)
  10304. type: number
  10305. logincode:
  10306. description: 登录账号(账号)
  10307. type: string
  10308. netaddr:
  10309. description: 调转网址
  10310. type: string
  10311. priamount:
  10312. description: 优先金额(授信)
  10313. type: number
  10314. reauditid:
  10315. description: 复审人
  10316. type: integer
  10317. reauditremark:
  10318. description: 复审备注
  10319. type: string
  10320. reaudittime:
  10321. description: 复审时间
  10322. type: string
  10323. relatedorderid:
  10324. description: 三方关联ID
  10325. type: string
  10326. remark:
  10327. description: 备注
  10328. type: string
  10329. remark2:
  10330. description: 备注(失败原因)
  10331. type: string
  10332. soucreamount:
  10333. description: 原始出入金金额
  10334. type: number
  10335. soucrecurrencyid:
  10336. description: 原始出入金币种
  10337. type: integer
  10338. tradedate:
  10339. description: 交易日(yyyyMMdd)
  10340. type: string
  10341. updatetime:
  10342. description: 更新时间(申请时间)
  10343. type: string
  10344. userid:
  10345. description: 用户id
  10346. type: integer
  10347. userinfotype:
  10348. description: 账户类型 1-个人 2-企业
  10349. type: integer
  10350. type: object
  10351. models.QhjAgreementChangeLog:
  10352. properties:
  10353. agreementcontent:
  10354. description: 协议内容
  10355. type: string
  10356. agreementfrequency:
  10357. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  10358. type: integer
  10359. agreementid:
  10360. description: 协议ID
  10361. type: integer
  10362. agreementname:
  10363. description: 协议名称
  10364. type: string
  10365. agreementno:
  10366. description: 协议编号
  10367. type: string
  10368. agreementtype:
  10369. description: 协议类型 - 1:注册 2:登录 3:交易
  10370. type: integer
  10371. agreementversion:
  10372. description: 协议版本号
  10373. type: integer
  10374. logid:
  10375. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  10376. type: integer
  10377. reviserid:
  10378. description: 修改人
  10379. type: integer
  10380. revisersrc:
  10381. description: 修改来源 - 1:管理端 2:终端
  10382. type: integer
  10383. updatetime:
  10384. description: 更新时间
  10385. type: string
  10386. type: object
  10387. models.QhjAgreementConfig:
  10388. properties:
  10389. agreementcontent:
  10390. description: 协议内容
  10391. type: string
  10392. agreementfrequency:
  10393. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  10394. type: integer
  10395. agreementid:
  10396. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  10397. type: integer
  10398. agreementname:
  10399. description: 协议名称
  10400. type: string
  10401. agreementno:
  10402. description: 协议编号
  10403. type: string
  10404. agreementtype:
  10405. description: 协议类型 - 1:注册 2:登录 3:交易
  10406. type: integer
  10407. agreementversion:
  10408. description: 协议版本号(从1开始每次修改加1)
  10409. type: integer
  10410. createtime:
  10411. description: 创建时间
  10412. type: string
  10413. creatorid:
  10414. description: 创建人
  10415. type: integer
  10416. creatorsrc:
  10417. description: 创建来源 - 1:管理端 2:终端
  10418. type: integer
  10419. isvalid:
  10420. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  10421. type: integer
  10422. reviserid:
  10423. description: 修改人
  10424. type: integer
  10425. revisersrc:
  10426. description: 修改来源 - 1:管理端 2:终端
  10427. type: integer
  10428. updatetime:
  10429. description: 更新时间
  10430. type: string
  10431. type: object
  10432. models.QhjAreaFinanceConfig:
  10433. properties:
  10434. additionalratio:
  10435. description: 追加款比例
  10436. type: number
  10437. advanceratio:
  10438. description: 预付款比例
  10439. type: number
  10440. alarmratio:
  10441. description: 告警比例
  10442. type: number
  10443. consumptiondirectreward:
  10444. description: 消费直推奖励值
  10445. type: number
  10446. consumptionenabled:
  10447. description: 是否启用消费奖励 - 0:不启用 1:启用
  10448. type: integer
  10449. consumptionindirectreward:
  10450. description: 消费间推奖励值
  10451. type: number
  10452. consumptionmodel:
  10453. description: 消费奖励方式 - 1:比率 2:固定
  10454. type: integer
  10455. customerservicenum:
  10456. description: 客服电话
  10457. type: string
  10458. dayinterestrate:
  10459. description: 日利率
  10460. type: number
  10461. disableconsumptiontips:
  10462. description: 关闭消费奖励提示
  10463. type: string
  10464. modifierid:
  10465. description: 修改人ID
  10466. type: integer
  10467. modifysrc:
  10468. description: 审核来源 - 1:管理端 2:终端
  10469. type: integer
  10470. modifytime:
  10471. description: 修改时间
  10472. type: string
  10473. promotionvalue:
  10474. description: 推广奖励值(固定)
  10475. type: number
  10476. scoreconfigvalue1:
  10477. description: 提货积分配置1
  10478. type: integer
  10479. scoreconfigvalue2:
  10480. description: 提货积分配置2
  10481. type: integer
  10482. userid:
  10483. description: 机构用户ID其他做市关系,都设置为 1
  10484. type: integer
  10485. username:
  10486. description: 用户名称
  10487. type: string
  10488. type: object
  10489. models.QhjBankAccountSign:
  10490. properties:
  10491. accountcode:
  10492. description: 资金账号
  10493. type: string
  10494. accountname:
  10495. description: 资金账号对应的账号名(UserName)
  10496. type: string
  10497. accountname2:
  10498. description: 资金账号对应的账号名(UserName) - 密文
  10499. type: string
  10500. accounttype:
  10501. description: 账户类型(UserType)
  10502. type: integer
  10503. applicationtime:
  10504. description: 最后一次更新的时间
  10505. type: string
  10506. applyexchticket:
  10507. description: 申请流水
  10508. type: string
  10509. auditid:
  10510. description: 审核人
  10511. type: integer
  10512. audittime:
  10513. description: 审核时间
  10514. type: string
  10515. bankaccountname:
  10516. description: 签约银行卡账号名
  10517. type: string
  10518. bankaccountname2:
  10519. description: 签约银行卡账号名 - 密文
  10520. type: string
  10521. bankaccountno:
  10522. description: 银行卡号
  10523. type: string
  10524. bankaccountno2:
  10525. description: 银行卡号 - 密文
  10526. type: string
  10527. bankaccounttype:
  10528. description: 银行账户类型 - 1-对私; 2-对公
  10529. type: integer
  10530. bankcardtype:
  10531. description: 银行卡类型
  10532. type: integer
  10533. bankchildaccount:
  10534. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  10535. type: string
  10536. bankcity:
  10537. description: 开户行城市
  10538. type: string
  10539. bankid:
  10540. description: 签约银行ID
  10541. type: string
  10542. bankname:
  10543. description: 签约银行名称
  10544. type: string
  10545. bankprovince:
  10546. description: 开户行省份
  10547. type: string
  10548. branchbankid:
  10549. description: 签约银行支行号
  10550. type: string
  10551. branchbankname:
  10552. description: 签约银行支行名称
  10553. type: string
  10554. cardno:
  10555. description: 证件号码
  10556. type: string
  10557. cardno2:
  10558. description: 证件号码 - 密文
  10559. type: string
  10560. cardtype:
  10561. description: 证件类型
  10562. type: string
  10563. currency:
  10564. description: 币种
  10565. type: string
  10566. cusbankid:
  10567. description: 托管银行编号
  10568. type: string
  10569. direct:
  10570. description: 方向(可以判断那方先发起的签约)
  10571. type: integer
  10572. exchticket:
  10573. description: 最后一次签约成功的流水号
  10574. type: string
  10575. extendinfo:
  10576. description: 扩展信息(JSON字符串)
  10577. type: string
  10578. mobilephone:
  10579. description: 手机号
  10580. type: string
  10581. mobilephone2:
  10582. description: 手机号 - 密文
  10583. type: string
  10584. netaddr:
  10585. description: 调转网址
  10586. type: string
  10587. relateduserid:
  10588. description: 关联使用者userid
  10589. type: integer
  10590. signstatus:
  10591. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  10592. 10:审核拒绝 11:换签待审核
  10593. type: integer
  10594. updatetime:
  10595. description: 更新时间(签解约更新时间)
  10596. type: string
  10597. type: object
  10598. models.QhjBankInfo:
  10599. properties:
  10600. bankid:
  10601. description: 银行ID
  10602. type: string
  10603. bankname:
  10604. description: 银行名称
  10605. type: string
  10606. clearbankno:
  10607. description: 清算系统银行编号
  10608. type: string
  10609. orderindex:
  10610. description: 排序顺序
  10611. type: integer
  10612. status:
  10613. description: 状态 - 0:正常 1:注销
  10614. type: integer
  10615. type: object
  10616. models.QhjBrokerApply:
  10617. properties:
  10618. applicantid:
  10619. description: 申请人
  10620. type: integer
  10621. applysrc:
  10622. description: 申请来源 - 1:管理端 2:终端
  10623. type: integer
  10624. applystatus:
  10625. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  10626. type: integer
  10627. applytime:
  10628. description: 申请时间
  10629. type: string
  10630. auditorid:
  10631. description: 审核人
  10632. type: integer
  10633. auditremark:
  10634. description: 审核备注
  10635. type: string
  10636. auditsrc:
  10637. description: 审核来源 - 1:管理端 2:终端
  10638. type: integer
  10639. audittime:
  10640. description: 审核时间
  10641. type: string
  10642. audittradedate:
  10643. description: 审核交易日(yyyyMMdd)
  10644. type: string
  10645. brokerapplyid:
  10646. description: 申请ID(SEQ_BROKERAPPLY)
  10647. type: integer
  10648. cardbackphotourl:
  10649. description: 证件背面图片地址
  10650. type: string
  10651. cardfrontphotourl:
  10652. description: 证件正面图片地址
  10653. type: string
  10654. cardnum:
  10655. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  10656. type: string
  10657. customername:
  10658. description: 姓名
  10659. type: string
  10660. logincode:
  10661. description: 登录代码
  10662. type: string
  10663. mobile:
  10664. description: 手机号码
  10665. type: string
  10666. parentuserid:
  10667. description: 所属机构id
  10668. type: integer
  10669. parentusername:
  10670. description: 所属机构名称
  10671. type: string
  10672. refereeuserid:
  10673. description: 推荐人id(经纪人)
  10674. type: integer
  10675. refernum:
  10676. description: 推荐码
  10677. type: string
  10678. remark:
  10679. description: 备注
  10680. type: string
  10681. subarealevelpath:
  10682. description: 层级路径
  10683. type: string
  10684. tradedate:
  10685. description: 交易日(yyyyMMdd)
  10686. type: string
  10687. userid:
  10688. description: 申请人用户ID
  10689. type: integer
  10690. userinfotype:
  10691. description: 用户类型 1-个人 2-企业
  10692. type: integer
  10693. username:
  10694. description: 用户名称
  10695. type: string
  10696. type: object
  10697. models.QhjBrokerApplyEx:
  10698. properties:
  10699. applylist:
  10700. description: 经纪人申请记录(只返回最新一条)
  10701. items:
  10702. $ref: '#/definitions/models.QhjBrokerApply'
  10703. type: array
  10704. canrecommend:
  10705. description: 是否经纪人 0-不是 1-是
  10706. type: integer
  10707. refernum:
  10708. description: 推荐码
  10709. type: string
  10710. userid:
  10711. description: 用户id
  10712. type: integer
  10713. userinfotype:
  10714. description: 用户类型 1-个人 2-企业
  10715. type: integer
  10716. type: object
  10717. models.QhjBrokerRewardLog:
  10718. properties:
  10719. accountid:
  10720. description: 资金账号ID
  10721. type: integer
  10722. createtime:
  10723. description: 创建时间(时间)
  10724. type: string
  10725. handlestatus:
  10726. description: 处理状态
  10727. type: integer
  10728. logid:
  10729. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10730. type: string
  10731. marketid:
  10732. description: 市场ID
  10733. type: integer
  10734. mmaccountid:
  10735. description: 做市商资金账号ID
  10736. type: string
  10737. mmuserid:
  10738. description: 做市商用户ID
  10739. type: string
  10740. rewardamount:
  10741. description: 奖励金额
  10742. type: number
  10743. rewardmodel:
  10744. description: 消费奖励方式 - 1:比率 2:固定
  10745. type: integer
  10746. rewardtype:
  10747. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  10748. type: integer
  10749. rewardvalue:
  10750. description: 配置奖励值
  10751. type: number
  10752. srcamount:
  10753. description: 成交金额 [消费奖励] (金额)
  10754. type: number
  10755. srcgoodsid:
  10756. description: 来源商品ID [消费奖励]
  10757. type: string
  10758. srctime:
  10759. description: 来源时间 (成交时间) [消费奖励]
  10760. type: string
  10761. srctradeid:
  10762. description: 来源成交单ID [消费奖励] - 排除提货成交
  10763. type: string
  10764. srcuserid:
  10765. description: 来源用户ID(推广账户)
  10766. type: string
  10767. srcusername:
  10768. description: 推广账户名称
  10769. type: string
  10770. tradedate:
  10771. description: 交易日(yyyyMMdd)
  10772. type: string
  10773. userid:
  10774. description: 经纪人用户ID
  10775. type: integer
  10776. type: object
  10777. models.QhjContract:
  10778. properties:
  10779. contractconfirmtime:
  10780. description: 合同确认时间(时间)
  10781. type: string
  10782. currisklevel:
  10783. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  10784. type: integer
  10785. decimalplace:
  10786. description: 商品报价小数位
  10787. type: integer
  10788. enumdicname:
  10789. description: 单位名称
  10790. type: string
  10791. goodscode:
  10792. description: 商品代码
  10793. type: string
  10794. goodsid:
  10795. description: 商品ID [5:融资单]
  10796. type: integer
  10797. goodsname:
  10798. description: 商品名称
  10799. type: string
  10800. goodunitid:
  10801. description: 商品单位id
  10802. type: integer
  10803. initmargin:
  10804. description: 初始保证金(首付款)
  10805. type: number
  10806. lenderamount:
  10807. description: 贷款金额(总额|订单总额)
  10808. type: number
  10809. marginratio:
  10810. description: 保证金比率(首付比例)
  10811. type: number
  10812. payamount:
  10813. description: 已付(已付货款)
  10814. type: number
  10815. reckonrecovermargin:
  10816. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  10817. type: number
  10818. recoveredmargin:
  10819. description: 已追缴保证金
  10820. type: number
  10821. remainamount:
  10822. description: 合同剩余金额(融资额)
  10823. type: number
  10824. scfcontractid:
  10825. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10826. type: string
  10827. scfcontractstatus:
  10828. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  10829. 9:违约结束 10:已注销 11:已关闭 99:未提交
  10830. type: integer
  10831. scfcontracttype:
  10832. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  10833. type: integer
  10834. totalinterest:
  10835. description: 已计总利息(利息)
  10836. type: number
  10837. tradeprice:
  10838. description: 成交价格(成本价格)
  10839. type: number
  10840. userid:
  10841. description: 用户ID
  10842. type: integer
  10843. username:
  10844. description: 用户名称
  10845. type: string
  10846. wrqty:
  10847. description: 仓单数量(数量)
  10848. type: number
  10849. type: object
  10850. models.QhjContractLog:
  10851. properties:
  10852. amount:
  10853. description: 支付金额
  10854. type: number
  10855. amounttype:
  10856. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  10857. type: integer
  10858. logid:
  10859. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10860. type: string
  10861. remainamount:
  10862. description: 剩余货款
  10863. type: number
  10864. scfcontractid:
  10865. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10866. type: integer
  10867. updatetime:
  10868. description: 更新时间
  10869. type: string
  10870. type: object
  10871. models.QhjCusBankSignBankEx:
  10872. properties:
  10873. banklst:
  10874. description: 银行列表
  10875. items:
  10876. $ref: '#/definitions/models.QhjBankInfo'
  10877. type: array
  10878. canallot:
  10879. description: 是否支持跨行调拨 - 0:不支持 1:支持
  10880. type: integer
  10881. canallotquery:
  10882. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  10883. type: integer
  10884. canbindcard:
  10885. description: 是否可绑卡与解卡 - 0:不可 1:可以
  10886. type: integer
  10887. caninamount:
  10888. description: 是否可入金 - 0:不可 1:可以
  10889. type: integer
  10890. caninamount2:
  10891. description: 是否可入金(网银端) - 0:不可 1:可以
  10892. type: integer
  10893. canmodifybankcard:
  10894. description: 是否可修改银行卡号 - 0:不可 1:可以
  10895. type: integer
  10896. canmodifyphone:
  10897. description: 是否可修改手机号 - 0:不可 1:可以
  10898. type: integer
  10899. canmodifysigninfo:
  10900. description: 是否可修改签约信息 - 0:不可 1:可以
  10901. type: integer
  10902. canoutamount:
  10903. description: 是否可出金 - 0:不可 1:可以
  10904. type: integer
  10905. canoutamount2:
  10906. description: 是否可出金(网银端) - 0:不可 1:可以
  10907. type: integer
  10908. canrelease:
  10909. description: 是否可解约 - 0:不可 1:可以
  10910. type: integer
  10911. canrelease2:
  10912. description: 是否可解约(网银端) - 0:不可 1:可以
  10913. type: integer
  10914. cansign:
  10915. description: 是否可签约 - 0:不可 1:可以
  10916. type: integer
  10917. cansign2:
  10918. description: 是否可签约(网银端) - 0:不可 1:可以
  10919. type: integer
  10920. currency:
  10921. description: 币种
  10922. type: string
  10923. cusbankid:
  10924. description: 托管银行编号(对应清算中心TRAN_NO)
  10925. type: string
  10926. cusbankname:
  10927. description: 银行业务名称
  10928. type: string
  10929. cusbankshortname:
  10930. description: 银行业务简称
  10931. type: string
  10932. exchbankid:
  10933. description: 交易所开户银行ID
  10934. type: string
  10935. exchpaybankaccname:
  10936. description: 交易所支出结算账户户名
  10937. type: string
  10938. exchpaybankaccno:
  10939. description: 交易所支出结算账户
  10940. type: string
  10941. isneedcheck:
  10942. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  10943. type: integer
  10944. isneedclear:
  10945. description: 是否需要清算 - 0:不需要 1:需要
  10946. type: integer
  10947. lastcheckstatus:
  10948. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  10949. type: integer
  10950. lastchecktime:
  10951. description: 最后对账时间
  10952. type: string
  10953. lastclearstatus:
  10954. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  10955. type: integer
  10956. lastcleartime:
  10957. description: 最后清算时间
  10958. type: string
  10959. lastsignintime:
  10960. description: 最后签到时间
  10961. type: string
  10962. lastsignouttime:
  10963. description: 最后签退时间
  10964. type: string
  10965. riskinfo:
  10966. description: 签约风险提示书
  10967. type: string
  10968. signstatus:
  10969. description: 当前签到/签退状态 - 1:签到 2:签退
  10970. type: integer
  10971. tradedate:
  10972. description: 交易日(yyyyMMdd)
  10973. type: string
  10974. updatetime:
  10975. description: 当前签到/签退更新时间
  10976. type: string
  10977. type: object
  10978. models.QhjCustomer:
  10979. properties:
  10980. address:
  10981. description: 通讯地址
  10982. type: string
  10983. attachment1:
  10984. description: 附件1
  10985. type: string
  10986. attachment2:
  10987. description: 附件2
  10988. type: string
  10989. audittime:
  10990. description: 审核时间
  10991. type: string
  10992. cardbackphotourl:
  10993. description: 证件反面图片地址
  10994. type: string
  10995. cardfrontphotourl:
  10996. description: 证件正面图片地址
  10997. type: string
  10998. cardnum:
  10999. description: 证件号码
  11000. type: string
  11001. cardtype:
  11002. description: 证件类型
  11003. type: integer
  11004. cardtypename:
  11005. description: 证件类型名称
  11006. type: string
  11007. cityid:
  11008. description: 市
  11009. type: integer
  11010. cityname:
  11011. description: 城市名称
  11012. type: string
  11013. contactname:
  11014. description: 联系人
  11015. type: string
  11016. countryid:
  11017. description: 国家
  11018. type: integer
  11019. countryname:
  11020. description: 国家名称
  11021. type: string
  11022. createtime:
  11023. description: 创建时间
  11024. type: string
  11025. customername:
  11026. description: 客户名称
  11027. type: string
  11028. districtid:
  11029. description: 区域
  11030. type: integer
  11031. districtname:
  11032. description: 地区名称
  11033. type: string
  11034. email:
  11035. description: 邮件
  11036. type: string
  11037. legalpersonname:
  11038. description: 法人姓名(企业)
  11039. type: string
  11040. logincode:
  11041. description: 登录账号(代码)
  11042. type: string
  11043. memberuserid:
  11044. description: 所属机构ID(所属会员)
  11045. type: integer
  11046. memberusername:
  11047. description: 所属会员名称
  11048. type: string
  11049. mobile:
  11050. description: 手机号码
  11051. type: string
  11052. modifytime:
  11053. description: 修改时间
  11054. type: string
  11055. nickname:
  11056. description: 昵称
  11057. type: string
  11058. parentuserid:
  11059. description: 上级机构(所属机构)
  11060. type: integer
  11061. parentusername:
  11062. description: 所属机构名称
  11063. type: string
  11064. provinceid:
  11065. description: 省
  11066. type: integer
  11067. provincename:
  11068. description: 省名称
  11069. type: string
  11070. proxystatementurl:
  11071. description: 授权委托书
  11072. type: string
  11073. remark:
  11074. description: 备注
  11075. type: string
  11076. status:
  11077. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  11078. type: integer
  11079. statusdesc:
  11080. description: 账户状态中文描述
  11081. type: string
  11082. taxpayernum:
  11083. description: 纳税人识别号
  11084. type: string
  11085. telphone:
  11086. description: 联系电话
  11087. type: string
  11088. userid:
  11089. description: 用户ID
  11090. type: integer
  11091. userinfotype:
  11092. description: 客户类型 1-个人 2-企业
  11093. type: integer
  11094. username:
  11095. description: 用户名称
  11096. type: string
  11097. type: object
  11098. models.QhjCustomerSignLog:
  11099. properties:
  11100. agreementcontent:
  11101. description: 协议内容
  11102. type: string
  11103. agreementid:
  11104. description: 协议ID
  11105. type: integer
  11106. agreementname:
  11107. description: 协议名称
  11108. type: string
  11109. agreementno:
  11110. description: 协议编号
  11111. type: string
  11112. agreementtype:
  11113. description: 协议类型 - 1:注册 2:登录 3:交易
  11114. type: integer
  11115. agreementversion:
  11116. description: 协议版本号
  11117. type: integer
  11118. createtime:
  11119. description: 创建时间
  11120. type: string
  11121. goodscode:
  11122. description: 商品代码
  11123. type: string
  11124. goodsid:
  11125. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11126. type: integer
  11127. goodsname:
  11128. description: 商品名称
  11129. type: string
  11130. logid:
  11131. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  11132. type: integer
  11133. nodetype:
  11134. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  11135. type: integer
  11136. signadressurl:
  11137. description: 签约文件地址
  11138. type: string
  11139. signtimestamp:
  11140. description: 签约状态时间戳
  11141. type: string
  11142. userid:
  11143. description: 客户ID
  11144. type: integer
  11145. username:
  11146. description: 客户名称
  11147. type: string
  11148. type: object
  11149. models.QhjCustomerSignStatus:
  11150. properties:
  11151. createtime:
  11152. description: 创建时间
  11153. type: string
  11154. goodscode:
  11155. description: 商品代码
  11156. type: string
  11157. goodsid:
  11158. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11159. type: integer
  11160. goodsname:
  11161. description: 商品名称
  11162. type: string
  11163. nodetype:
  11164. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  11165. type: integer
  11166. signtimestamp:
  11167. description: 签约状态时间戳
  11168. type: string
  11169. tradedate:
  11170. description: 创建交易日(yyyyMMdd)
  11171. type: string
  11172. updatetime:
  11173. description: 更新时间
  11174. type: string
  11175. userid:
  11176. description: 客户ID
  11177. type: integer
  11178. username:
  11179. description: 客户名称
  11180. type: string
  11181. type: object
  11182. models.QhjMgrAccountOutInApply:
  11183. properties:
  11184. accountcode:
  11185. description: 资金账号
  11186. type: string
  11187. accountname:
  11188. description: 用户名称(名称)
  11189. type: string
  11190. accountpwd:
  11191. description: 资金密码
  11192. type: string
  11193. accountticket:
  11194. description: 最新账户服务流水号
  11195. type: string
  11196. amount:
  11197. description: 金额
  11198. type: number
  11199. applyremark:
  11200. description: 申请备注
  11201. type: string
  11202. applystatus:
  11203. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  11204. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  11205. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  11206. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  11207. type: integer
  11208. auditid:
  11209. description: 审核人
  11210. type: integer
  11211. audittime:
  11212. description: 审核时间
  11213. type: string
  11214. bank_apply_ticket:
  11215. description: 银行申请流水
  11216. type: string
  11217. bankaccountname:
  11218. description: 银行账户名
  11219. type: string
  11220. bankaccountno:
  11221. description: 银行卡号
  11222. type: string
  11223. bankid:
  11224. description: 银行编号
  11225. type: string
  11226. bankname:
  11227. description: 银行名称
  11228. type: string
  11229. bankticket:
  11230. description: 银行流水
  11231. type: string
  11232. branchbankid:
  11233. description: 银行支行号
  11234. type: string
  11235. branchbankname:
  11236. description: 银行支行名称
  11237. type: string
  11238. capamountout:
  11239. description: 出金(劣后本金) - 外部子账户
  11240. type: number
  11241. certificatephotourl:
  11242. description: 凭证地址
  11243. type: string
  11244. charge:
  11245. description: 手续费
  11246. type: number
  11247. checkerrorflag:
  11248. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  11249. type: integer
  11250. currency:
  11251. description: 币种
  11252. type: string
  11253. cusbankid:
  11254. description: 托管银行编号
  11255. type: string
  11256. exchticket:
  11257. description: 银行服务流水号
  11258. type: string
  11259. executetype:
  11260. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  11261. 7:外部子账户:入金 8:外部子账户:出金'
  11262. type: integer
  11263. extendinfo:
  11264. description: 扩展信息
  11265. type: string
  11266. extoperateid:
  11267. description: 交易服务流水号
  11268. type: integer
  11269. infamount:
  11270. description: 劣后金额(自有)
  11271. type: number
  11272. logincode:
  11273. description: 登录账号(账号)
  11274. type: string
  11275. netaddr:
  11276. description: 调转网址
  11277. type: string
  11278. priamount:
  11279. description: 优先金额(授信)
  11280. type: number
  11281. reauditid:
  11282. description: 复审人
  11283. type: integer
  11284. reauditremark:
  11285. description: 复审备注
  11286. type: string
  11287. reaudittime:
  11288. description: 复审时间
  11289. type: string
  11290. relatedorderid:
  11291. description: 三方关联ID
  11292. type: string
  11293. remark:
  11294. description: 备注
  11295. type: string
  11296. remark2:
  11297. description: 备注(失败原因)
  11298. type: string
  11299. soucreamount:
  11300. description: 原始出入金金额
  11301. type: number
  11302. soucrecurrencyid:
  11303. description: 原始出入金币种
  11304. type: integer
  11305. tradedate:
  11306. description: 交易日(yyyyMMdd)
  11307. type: string
  11308. updatetime:
  11309. description: 更新时间(申请时间)
  11310. type: string
  11311. userid:
  11312. description: 用户id
  11313. type: integer
  11314. userinfotype:
  11315. description: 账户类型 1-个人 2-企业
  11316. type: integer
  11317. type: object
  11318. models.QhjMgrBrokerApply:
  11319. properties:
  11320. applicantid:
  11321. description: 申请人
  11322. type: integer
  11323. applysrc:
  11324. description: 申请来源 - 1:管理端 2:终端
  11325. type: integer
  11326. applystatus:
  11327. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  11328. type: integer
  11329. applytime:
  11330. description: 申请时间
  11331. type: string
  11332. auditorid:
  11333. description: 审核人
  11334. type: integer
  11335. auditremark:
  11336. description: 审核备注
  11337. type: string
  11338. auditsrc:
  11339. description: 审核来源 - 1:管理端 2:终端
  11340. type: integer
  11341. audittime:
  11342. description: 审核时间
  11343. type: string
  11344. audittradedate:
  11345. description: 审核交易日(yyyyMMdd)
  11346. type: string
  11347. brokerapplyid:
  11348. description: 申请ID(SEQ_BROKERAPPLY)
  11349. type: integer
  11350. cardbackphotourl:
  11351. description: 证件背面图片地址
  11352. type: string
  11353. cardfrontphotourl:
  11354. description: 证件正面图片地址
  11355. type: string
  11356. cardnum:
  11357. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  11358. type: string
  11359. customername:
  11360. description: 姓名
  11361. type: string
  11362. filterstatus:
  11363. description: 筛选条件
  11364. type: string
  11365. logincode:
  11366. description: 登录代码
  11367. type: string
  11368. mobile:
  11369. description: 手机号码
  11370. type: string
  11371. parentuserid:
  11372. description: 所属机构id
  11373. type: integer
  11374. parentusername:
  11375. description: 所属机构名称
  11376. type: string
  11377. refereeuserid:
  11378. description: 推荐人id(经纪人)
  11379. type: integer
  11380. refernum:
  11381. description: 推荐码
  11382. type: string
  11383. remark:
  11384. description: 备注
  11385. type: string
  11386. subarealevelpath:
  11387. description: 层级路径
  11388. type: string
  11389. tradedate:
  11390. description: 交易日(yyyyMMdd)
  11391. type: string
  11392. userid:
  11393. description: 申请人用户ID
  11394. type: integer
  11395. userinfotype:
  11396. description: 用户类型 1-个人 2-企业
  11397. type: integer
  11398. username:
  11399. description: 用户名称
  11400. type: string
  11401. type: object
  11402. models.QhjMgrBrokerRewardReport:
  11403. properties:
  11404. createtime:
  11405. description: 创建时间(注册时间)
  11406. type: string
  11407. cycletime:
  11408. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  11409. type: string
  11410. cycletype:
  11411. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  11412. type: integer
  11413. directtotalnum:
  11414. description: 直推总人数【期末】
  11415. type: integer
  11416. indirecttotalnum:
  11417. description: 间推总人数【期末】
  11418. type: integer
  11419. mobile:
  11420. description: 电话号码
  11421. type: string
  11422. refereeuserid:
  11423. description: 推荐人id(经纪人id)
  11424. type: integer
  11425. refereeusername:
  11426. description: 推荐人名称(经纪人) 上级经纪人名称
  11427. type: string
  11428. refernum:
  11429. description: 推荐码
  11430. type: string
  11431. subarealevelpath:
  11432. description: 用户层级路径
  11433. type: string
  11434. todayrewardamount:
  11435. description: 奖励总金额【汇总】
  11436. type: number
  11437. updatetime:
  11438. description: 更新时间
  11439. type: string
  11440. userid:
  11441. description: 经纪人用户ID
  11442. type: integer
  11443. userinfotype:
  11444. description: 用户类型 1-个人 2-企业
  11445. type: integer
  11446. username:
  11447. description: 用户名称
  11448. type: string
  11449. type: object
  11450. models.QhjMgrContract:
  11451. properties:
  11452. contractconfirmtime:
  11453. description: 合同确认时间(时间)
  11454. type: string
  11455. currisklevel:
  11456. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  11457. type: integer
  11458. decimalplace:
  11459. description: 商品报价小数位
  11460. type: integer
  11461. enumdicname:
  11462. description: 单位名称
  11463. type: string
  11464. goodscode:
  11465. description: 商品代码
  11466. type: string
  11467. goodsid:
  11468. description: 商品ID [5:融资单]
  11469. type: integer
  11470. goodsname:
  11471. description: 商品名称
  11472. type: string
  11473. goodunitid:
  11474. description: 商品单位id
  11475. type: integer
  11476. initmargin:
  11477. description: 初始保证金(首付款)
  11478. type: number
  11479. lenderamount:
  11480. description: 贷款金额(总额|订单总额)
  11481. type: number
  11482. logincode:
  11483. description: 账号(登录代码)
  11484. type: string
  11485. marginratio:
  11486. description: 保证金比率(首付比例)
  11487. type: number
  11488. mobile:
  11489. description: 电话号码(用户资料里的电话)
  11490. type: string
  11491. payamount:
  11492. description: 已付(已付货款)
  11493. type: number
  11494. reckonrecovermargin:
  11495. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  11496. type: number
  11497. recoveredmargin:
  11498. description: 已追缴保证金
  11499. type: number
  11500. remainamount:
  11501. description: 合同剩余金额(融资额)
  11502. type: number
  11503. scfcontractid:
  11504. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  11505. type: string
  11506. scfcontractstatus:
  11507. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  11508. 9:违约结束 10:已注销 11:已关闭 99:未提交
  11509. type: integer
  11510. scfcontracttype:
  11511. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  11512. type: integer
  11513. totalinterest:
  11514. description: 已计总利息(利息)
  11515. type: number
  11516. tradedate:
  11517. description: 交易日
  11518. type: string
  11519. tradeprice:
  11520. description: 成交价格(成本价格)
  11521. type: number
  11522. userid:
  11523. description: 用户ID
  11524. type: integer
  11525. userinfotype:
  11526. description: 用户类型 1-个人 2-企业
  11527. type: integer
  11528. username:
  11529. description: 用户名称
  11530. type: string
  11531. wrqty:
  11532. description: 仓单数量(数量)
  11533. type: number
  11534. type: object
  11535. models.QhjMgrCustomer:
  11536. properties:
  11537. address:
  11538. description: 通讯地址
  11539. type: string
  11540. attachment1:
  11541. description: 附件1
  11542. type: string
  11543. audittime:
  11544. description: 审核时间
  11545. type: string
  11546. birthday:
  11547. description: 生日
  11548. type: string
  11549. brokerid:
  11550. description: 所属客户经理id
  11551. type: integer
  11552. brokername:
  11553. description: 所属客户经理名称
  11554. type: string
  11555. cardbackphotourl:
  11556. description: 证件反面图片地址
  11557. type: string
  11558. cardfrontphotourl:
  11559. description: 证件正面图片地址
  11560. type: string
  11561. cardnum:
  11562. description: 证件号码
  11563. type: string
  11564. cardtype:
  11565. description: 证件类型
  11566. type: integer
  11567. cardtypename:
  11568. description: 证件类型名称
  11569. type: string
  11570. cityid:
  11571. description: 市
  11572. type: integer
  11573. cityname:
  11574. description: 城市名称
  11575. type: string
  11576. contactname:
  11577. description: 联系人
  11578. type: string
  11579. countryid:
  11580. description: 国家
  11581. type: integer
  11582. countryname:
  11583. description: 国家名称
  11584. type: string
  11585. createtime:
  11586. description: 创建时间
  11587. type: string
  11588. customername:
  11589. description: 客户名称
  11590. type: string
  11591. districtid:
  11592. description: 区域
  11593. type: integer
  11594. districtname:
  11595. description: 地区名称
  11596. type: string
  11597. email:
  11598. description: 邮件
  11599. type: string
  11600. legalpersonname:
  11601. description: 法人姓名(企业)
  11602. type: string
  11603. logincode:
  11604. description: 登录账号(代码)
  11605. type: string
  11606. memberuserid:
  11607. description: 所属机构ID(所属会员)
  11608. type: integer
  11609. memberusername:
  11610. description: 所属会员名称
  11611. type: string
  11612. mobile:
  11613. description: 手机号码
  11614. type: string
  11615. modifytime:
  11616. description: 修改时间
  11617. type: string
  11618. nickname:
  11619. description: 昵称
  11620. type: string
  11621. parentuserid:
  11622. description: 上级机构(所属机构)
  11623. type: integer
  11624. parentusername:
  11625. description: 所属机构名称
  11626. type: string
  11627. provinceid:
  11628. description: 省
  11629. type: integer
  11630. provincename:
  11631. description: 省名称
  11632. type: string
  11633. proxystatementurl:
  11634. description: 授权委托书
  11635. type: string
  11636. querytype:
  11637. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  11638. type: integer
  11639. remark:
  11640. description: 备注
  11641. type: string
  11642. sex:
  11643. description: 性别 0-女 1-男
  11644. type: integer
  11645. status:
  11646. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过
  11647. ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  11648. type: integer
  11649. statusdesc:
  11650. description: 账户状态中文描述
  11651. type: string
  11652. taxpayernum:
  11653. description: 纳税人识别号
  11654. type: string
  11655. telphone:
  11656. description: 联系电话
  11657. type: string
  11658. userid:
  11659. description: 用户ID
  11660. type: integer
  11661. userinfotype:
  11662. description: 客户类型 1-个人 2-企业
  11663. type: integer
  11664. username:
  11665. description: 用户名称
  11666. type: string
  11667. type: object
  11668. models.QhjMgrPickGoods:
  11669. properties:
  11670. enumdicname:
  11671. description: 单位名称(提货商品)
  11672. type: string
  11673. goodsid:
  11674. description: 商品id
  11675. type: integer
  11676. imageaddress:
  11677. description: 图片
  11678. type: string
  11679. modifierid:
  11680. description: 修改人
  11681. type: integer
  11682. modifiername:
  11683. description: 修改人名称
  11684. type: string
  11685. modifysrc:
  11686. description: 修改来源 - 1:管理端 2:终端
  11687. type: integer
  11688. pickupgoodsagreeunit:
  11689. description: 合约乘数
  11690. type: number
  11691. pickupgoodsdesc:
  11692. description: 描述
  11693. type: string
  11694. pickupgoodsid:
  11695. description: 提货商品ID
  11696. type: string
  11697. pickupgoodsname:
  11698. description: 提货商品名称
  11699. type: string
  11700. pickupgoodsstatus:
  11701. description: 状态 - 1:正常 2:停用 3:注销
  11702. type: integer
  11703. pickupgoodsunitid:
  11704. description: 单位ID
  11705. type: integer
  11706. pickupratio:
  11707. description: 提货系数
  11708. type: number
  11709. preparedays:
  11710. description: 备货期(天)
  11711. type: integer
  11712. remark:
  11713. description: 备注
  11714. type: string
  11715. updatetime:
  11716. description: 更新时间
  11717. type: string
  11718. type: object
  11719. models.QhjMgrPositionRsp:
  11720. properties:
  11721. accountid:
  11722. description: 账号Id
  11723. type: integer
  11724. accountname:
  11725. description: 用户名称
  11726. type: string
  11727. agreeunit:
  11728. description: 合约乘数
  11729. type: number
  11730. averageprice:
  11731. description: 均价
  11732. type: number
  11733. avialqty:
  11734. description: 可用数量
  11735. type: number
  11736. decimalplace:
  11737. description: 报价小数位
  11738. type: integer
  11739. enumdicname:
  11740. description: 单位名称(商品)
  11741. type: string
  11742. frozenqty:
  11743. description: 冻结数量
  11744. type: number
  11745. goodscode:
  11746. description: 商品代码(内部)
  11747. type: string
  11748. goodsid:
  11749. description: 商品Id
  11750. type: integer
  11751. goodsname:
  11752. description: 商品名称
  11753. type: string
  11754. goodunitid:
  11755. description: 报价单位ID
  11756. type: integer
  11757. holderamount:
  11758. description: 金额
  11759. type: number
  11760. holderqty:
  11761. description: 持有数量
  11762. type: number
  11763. holdertype:
  11764. description: 持仓类别 - 1:单边持仓 2:双边持仓
  11765. type: integer
  11766. logincode:
  11767. description: 登录代码(账户)
  11768. type: string
  11769. marketid:
  11770. description: 市场id
  11771. type: integer
  11772. qtydecimalplace:
  11773. description: 成交量小数位
  11774. type: integer
  11775. trademode:
  11776. description: 交易模式
  11777. type: integer
  11778. userid:
  11779. description: 用户id
  11780. type: integer
  11781. userinfotype:
  11782. description: 账户类型 1-个人 2-企业
  11783. type: integer
  11784. type: object
  11785. models.QhjMgrSubArea:
  11786. properties:
  11787. accountname:
  11788. description: 账户名称(机构名称)
  11789. type: string
  11790. memberuserid:
  11791. description: 所属会员ID
  11792. type: integer
  11793. parenttopuser:
  11794. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  11795. type: string
  11796. parentuserid:
  11797. description: 所属机构ID
  11798. type: integer
  11799. rootuserid:
  11800. description: 根用户ID
  11801. type: string
  11802. subaccountlevel:
  11803. description: 子账户层数
  11804. type: integer
  11805. subarealevelpath:
  11806. description: 子机构层级路径(逗号分隔,首尾加逗号)
  11807. type: string
  11808. userid:
  11809. description: 用户ID
  11810. type: integer
  11811. usertype:
  11812. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  11813. type: integer
  11814. type: object
  11815. models.QhjMgrTradeDetailRsp:
  11816. properties:
  11817. accountid:
  11818. description: 资金账号
  11819. type: integer
  11820. accountname:
  11821. description: 用户名称
  11822. type: string
  11823. agreeunit:
  11824. description: 合约乘数
  11825. type: number
  11826. buyorsell:
  11827. description: 成交类型(方向) 0:买 1:卖
  11828. type: integer
  11829. decimalplace:
  11830. description: 报价小数位
  11831. type: integer
  11832. enumdicname:
  11833. description: 单位名称(商品)
  11834. type: string
  11835. goodscode:
  11836. description: 商品代码(内部)
  11837. type: string
  11838. goodsid:
  11839. description: 商品id
  11840. type: integer
  11841. goodsname:
  11842. description: 商品名称
  11843. type: string
  11844. goodunitid:
  11845. description: 报价单位ID
  11846. type: integer
  11847. logincode:
  11848. description: 登录代码(账户)
  11849. type: string
  11850. marketid:
  11851. description: 市场id
  11852. type: integer
  11853. orderid:
  11854. description: 关联委托单号
  11855. type: string
  11856. qtydecimalplace:
  11857. description: 成交量小数位
  11858. type: integer
  11859. tradeamount:
  11860. description: 金额
  11861. type: number
  11862. tradedate:
  11863. description: 交易日
  11864. type: string
  11865. tradeid:
  11866. description: 成交单号
  11867. type: string
  11868. trademode:
  11869. description: 交易模式
  11870. type: integer
  11871. tradeprice:
  11872. description: 价格
  11873. type: number
  11874. tradeqty:
  11875. description: 数量
  11876. type: number
  11877. tradetime:
  11878. description: 成交时间
  11879. type: string
  11880. userid:
  11881. description: 用户id
  11882. type: integer
  11883. userinfotype:
  11884. description: 账户类型 1-个人 2-企业
  11885. type: integer
  11886. type: object
  11887. models.QhjMgrTradeOrderDetailRsp:
  11888. properties:
  11889. accountid:
  11890. description: 资金账号
  11891. type: integer
  11892. accountname:
  11893. description: 用户名称
  11894. type: string
  11895. agreeunit:
  11896. description: 合约乘数
  11897. type: number
  11898. amount:
  11899. description: 金额
  11900. type: number
  11901. decimalplace:
  11902. description: 报价小数位
  11903. type: integer
  11904. enumdicname:
  11905. description: 单位名称(商品)
  11906. type: string
  11907. goodscode:
  11908. description: 商品代码(内部)
  11909. type: string
  11910. goodsid:
  11911. description: 商品id
  11912. type: integer
  11913. goodsname:
  11914. description: 商品名称
  11915. type: string
  11916. goodunitid:
  11917. description: 报价单位ID
  11918. type: integer
  11919. logincode:
  11920. description: 登录代码(账户)
  11921. type: string
  11922. marketid:
  11923. description: 市场id
  11924. type: integer
  11925. orderid:
  11926. description: 关联委托单号
  11927. type: string
  11928. orderprice:
  11929. description: 价格
  11930. type: number
  11931. orderqty:
  11932. description: 数量
  11933. type: number
  11934. orderstatus:
  11935. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  11936. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  11937. 16:成交失败违约(荷兰式竞拍专用)
  11938. type: integer
  11939. ordertime:
  11940. description: 委托时间
  11941. type: string
  11942. qtydecimalplace:
  11943. description: 成交量小数位
  11944. type: integer
  11945. tradedate:
  11946. description: 交易日
  11947. type: string
  11948. trademode:
  11949. description: 交易模式
  11950. type: integer
  11951. userid:
  11952. description: 用户id
  11953. type: integer
  11954. userinfotype:
  11955. description: 账户类型 1-个人 2-企业
  11956. type: integer
  11957. type: object
  11958. models.QhjMgrTradePayOrder:
  11959. properties:
  11960. accountname:
  11961. description: 用户名称
  11962. type: string
  11963. advanceratio:
  11964. description: 首付比率
  11965. type: number
  11966. agreeunit:
  11967. description: 合约乘数
  11968. type: number
  11969. buyaccountid:
  11970. description: 买方账号ID[报价币种]
  11971. type: integer
  11972. buyorderid:
  11973. description: 买方委托单号(关联单号)
  11974. type: string
  11975. createtime:
  11976. description: 创建时间
  11977. type: string
  11978. decimalplace:
  11979. description: 报价小数位
  11980. type: integer
  11981. enumdicname:
  11982. description: 单位名称(商品)
  11983. type: string
  11984. goodscode:
  11985. description: 商品代码(内部)
  11986. type: string
  11987. goodsid:
  11988. description: 商品ID
  11989. type: integer
  11990. goodsname:
  11991. description: 商品名称
  11992. type: string
  11993. goodunitid:
  11994. description: 报价单位ID
  11995. type: integer
  11996. logincode:
  11997. description: 登录代码(账户)
  11998. type: string
  11999. marketid:
  12000. description: 市场id
  12001. type: integer
  12002. offamount:
  12003. description: 优惠金额
  12004. type: number
  12005. operatetype:
  12006. description: 买委托操作类型 - 1:正常下单 16:融资买入
  12007. type: integer
  12008. payamount:
  12009. description: 支付金额(金额)
  12010. type: number
  12011. payflag:
  12012. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  12013. type: integer
  12014. paylimitedtime:
  12015. description: 支付期限
  12016. type: string
  12017. paytime:
  12018. description: 付款时间
  12019. type: string
  12020. qtydecimalplace:
  12021. description: 成交量小数位
  12022. type: integer
  12023. sellaccountid:
  12024. description: 卖方账号ID[报价币种]
  12025. type: integer
  12026. sellorderid:
  12027. description: 卖方委托单号
  12028. type: string
  12029. tradeamount:
  12030. description: 成交金额(优惠后金额)
  12031. type: number
  12032. tradecharge:
  12033. description: 成交手续费(买方)
  12034. type: number
  12035. tradedate:
  12036. description: 交易日(yyyyMMdd)
  12037. type: string
  12038. tradeid:
  12039. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12040. type: string
  12041. trademode:
  12042. description: 交易模式
  12043. type: integer
  12044. tradeprice:
  12045. description: 成交价格(价格)
  12046. type: number
  12047. tradeqty:
  12048. description: 成交数量(数量)
  12049. type: number
  12050. tradetime:
  12051. description: 成交时间
  12052. type: string
  12053. userid:
  12054. description: 用户id
  12055. type: integer
  12056. userinfotype:
  12057. description: 账户类型 1-个人 2-企业
  12058. type: integer
  12059. type: object
  12060. models.QhjMyTeamEx:
  12061. properties:
  12062. accountname:
  12063. description: 用户名称
  12064. type: string
  12065. accountstatus:
  12066. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  12067. type: integer
  12068. createtime:
  12069. description: 创建时间
  12070. type: string
  12071. mobile:
  12072. description: 手机号码
  12073. type: string
  12074. refereeuserid:
  12075. description: 推荐人id
  12076. type: integer
  12077. refernum:
  12078. description: 推荐码
  12079. type: string
  12080. subList:
  12081. items:
  12082. $ref: '#/definitions/models.QhjMyTeamEx'
  12083. type: array
  12084. userid:
  12085. description: 用户id
  12086. type: integer
  12087. userinfotype:
  12088. description: 用户类型 1-个人 2-企业
  12089. type: integer
  12090. type: object
  12091. models.QhjNodeAgreementConfig:
  12092. properties:
  12093. agreementcontent:
  12094. description: 协议内容
  12095. type: string
  12096. agreementid:
  12097. description: 协议ID
  12098. type: integer
  12099. agreementname:
  12100. description: 协议名称
  12101. type: string
  12102. agreementno:
  12103. description: 协议编号
  12104. type: string
  12105. agreementtype:
  12106. description: 协议类型 - 1:注册 2:登录 3:交易
  12107. type: integer
  12108. agreementversion:
  12109. description: 协议版本号
  12110. type: integer
  12111. configid:
  12112. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  12113. type: integer
  12114. createtime:
  12115. description: 创建时间
  12116. type: string
  12117. goodsid:
  12118. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12119. type: integer
  12120. nodetype:
  12121. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12122. type: integer
  12123. type: object
  12124. models.QhjParentAreaList:
  12125. properties:
  12126. accountname:
  12127. description: 账户名称(机构名称)
  12128. type: string
  12129. userid:
  12130. description: 用户ID
  12131. type: integer
  12132. usertype:
  12133. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  12134. type: integer
  12135. type: object
  12136. models.QhjPayOrder:
  12137. properties:
  12138. advanceratio:
  12139. description: 首付比率
  12140. type: number
  12141. buyaccountid:
  12142. description: 买方账号ID[报价币种]
  12143. type: integer
  12144. buyorderid:
  12145. description: 买方委托单号
  12146. type: string
  12147. createtime:
  12148. description: 创建时间
  12149. type: string
  12150. decimalplace:
  12151. description: 商品报价小数位
  12152. type: integer
  12153. enumdicname:
  12154. description: 单位名称
  12155. type: string
  12156. goodscode:
  12157. description: 商品代码
  12158. type: string
  12159. goodsid:
  12160. description: 商品ID
  12161. type: integer
  12162. goodsname:
  12163. description: 商品名称
  12164. type: string
  12165. goodunitid:
  12166. description: 商品单位id
  12167. type: integer
  12168. marketid:
  12169. description: 市场ID
  12170. type: integer
  12171. offamount:
  12172. description: 优惠金额
  12173. type: number
  12174. operatetype:
  12175. description: 买委托操作类型 - 1:正常下单 16:融资买入
  12176. type: integer
  12177. payamount:
  12178. description: 支付金额
  12179. type: number
  12180. payflag:
  12181. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  12182. type: integer
  12183. paylimitedtime:
  12184. description: 支付期限
  12185. type: string
  12186. paytime:
  12187. description: 付款时间
  12188. type: string
  12189. qtydecimalplace:
  12190. description: 成交量小数位
  12191. type: integer
  12192. sellaccountid:
  12193. description: 卖方账号ID[报价币种]
  12194. type: integer
  12195. sellorderid:
  12196. description: 卖方委托单号
  12197. type: string
  12198. tradeamount:
  12199. description: 成交金额(优惠后金额)
  12200. type: number
  12201. tradecharge:
  12202. description: 成交手续费(买方)
  12203. type: number
  12204. tradedate:
  12205. description: 交易日(yyyyMMdd)
  12206. type: string
  12207. tradeid:
  12208. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12209. type: string
  12210. tradeprice:
  12211. description: 成交价格
  12212. type: number
  12213. tradeqty:
  12214. description: 成交数量
  12215. type: number
  12216. type: object
  12217. models.QhjPickArea:
  12218. properties:
  12219. address:
  12220. description: 详细地址
  12221. type: string
  12222. cityid:
  12223. description: 市
  12224. type: integer
  12225. cityname:
  12226. description: 城市名称
  12227. type: string
  12228. countryid:
  12229. description: 国家
  12230. type: integer
  12231. countryname:
  12232. description: 国家名称
  12233. type: string
  12234. districtid:
  12235. description: 地区
  12236. type: integer
  12237. districtname:
  12238. description: 地区名称
  12239. type: string
  12240. fromuserid:
  12241. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  12242. type: integer
  12243. fromusername:
  12244. description: 所属机构名称
  12245. type: string
  12246. provinceid:
  12247. description: 省
  12248. type: integer
  12249. provincename:
  12250. description: 省名称
  12251. type: string
  12252. suborgtype:
  12253. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  12254. type: integer
  12255. userid:
  12256. description: 机构用户ID 其他做市关系,都设置为 1
  12257. type: integer
  12258. username:
  12259. description: 机构用户名称(门店门称)
  12260. type: string
  12261. type: object
  12262. models.QhjPickGoods:
  12263. properties:
  12264. enumdicname:
  12265. description: 单位名称(提货商品)
  12266. type: string
  12267. goodsid:
  12268. description: 商品id
  12269. type: integer
  12270. imageaddress:
  12271. description: 图片
  12272. type: string
  12273. modifierid:
  12274. description: 修改人
  12275. type: integer
  12276. modifiername:
  12277. description: 修改人名称
  12278. type: string
  12279. modifysrc:
  12280. description: 修改来源 - 1:管理端 2:终端
  12281. type: integer
  12282. pickupgoodsagreeunit:
  12283. description: 合约乘数
  12284. type: number
  12285. pickupgoodsdesc:
  12286. description: 描述
  12287. type: string
  12288. pickupgoodsid:
  12289. description: 提货商品ID
  12290. type: string
  12291. pickupgoodsname:
  12292. description: 提货商品名称
  12293. type: string
  12294. pickupgoodsstatus:
  12295. description: 状态 - 1:正常 2:停用 3:注销
  12296. type: integer
  12297. pickupgoodsunitid:
  12298. description: 单位ID
  12299. type: integer
  12300. pickupratio:
  12301. description: 提货系数
  12302. type: number
  12303. preparedays:
  12304. description: 备货期(天)
  12305. type: integer
  12306. remark:
  12307. description: 备注
  12308. type: string
  12309. updatetime:
  12310. description: 更新时间
  12311. type: string
  12312. type: object
  12313. models.QhjRSTriggerLog:
  12314. properties:
  12315. accountid:
  12316. description: 用户资金账户
  12317. type: integer
  12318. accountname:
  12319. description: 账号名称(ACCOUNTID对应的名称)
  12320. type: string
  12321. currencyid:
  12322. description: 币种id
  12323. type: integer
  12324. currencyname:
  12325. description: 币种名称
  12326. type: string
  12327. decimalplace:
  12328. description: 商品报价小数位
  12329. type: integer
  12330. enumdicname:
  12331. description: 单位名称
  12332. type: string
  12333. goodscode:
  12334. description: 定投商品代码
  12335. type: string
  12336. goodsid:
  12337. description: 定投商品ID
  12338. type: integer
  12339. goodsname:
  12340. description: 定投商品名称
  12341. type: string
  12342. goodunitid:
  12343. description: 定投商品单位id
  12344. type: integer
  12345. logid:
  12346. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  12347. type: string
  12348. logincode:
  12349. description: 账号(登录代码)
  12350. type: string
  12351. qtydecimalplace:
  12352. description: 成交量小数位
  12353. type: integer
  12354. regularlycycle:
  12355. description: 定投频率 - 1:每周 2:每月
  12356. type: integer
  12357. regularlycyclevalue:
  12358. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  12359. type: string
  12360. regularlymode:
  12361. description: 定投方式 - 1:按数量 2:按金额
  12362. type: integer
  12363. regularlymodevalue:
  12364. description: 定投方式值 - 数量或金额
  12365. type: number
  12366. regularlystrategyid:
  12367. description: 定投策略ID
  12368. type: integer
  12369. retcode:
  12370. description: 错误码
  12371. type: string
  12372. tradeid:
  12373. description: 成交单ID
  12374. type: string
  12375. triggeramount:
  12376. description: 触发金额
  12377. type: number
  12378. triggerqty:
  12379. description: 触发数量
  12380. type: number
  12381. triggerstatus:
  12382. description: 触发状态 - 1:成功 2:失败
  12383. type: integer
  12384. triggertime:
  12385. description: 触发时间
  12386. type: string
  12387. triggertradedate:
  12388. description: 触发交易日
  12389. type: string
  12390. userid:
  12391. description: 所属用户ID
  12392. type: integer
  12393. userinfotype:
  12394. description: 用户类型 1-个人 2-企业
  12395. type: integer
  12396. username:
  12397. description: 用户名称(userid对应的名称)
  12398. type: string
  12399. type: object
  12400. models.QhjRStrategy:
  12401. properties:
  12402. accountid:
  12403. description: 用户资金账户
  12404. type: integer
  12405. accountname:
  12406. description: 账号名称(ACCOUNTID对应的名称)
  12407. type: string
  12408. currencyid:
  12409. description: 币种id
  12410. type: integer
  12411. currencyname:
  12412. description: 币种名称
  12413. type: string
  12414. decimalplace:
  12415. description: 商品报价小数位
  12416. type: integer
  12417. enumdicname:
  12418. description: 单位名称
  12419. type: string
  12420. goodscode:
  12421. description: 定投商品代码
  12422. type: string
  12423. goodsid:
  12424. description: 定投商品ID
  12425. type: integer
  12426. goodsname:
  12427. description: 定投商品名称
  12428. type: string
  12429. goodunitid:
  12430. description: 定投商品单位id
  12431. type: integer
  12432. lasteffecttradedate:
  12433. description: 最新生效交易日
  12434. type: string
  12435. laststoptradedate:
  12436. description: 最新暂停交易日
  12437. type: string
  12438. lasttriggertradedate:
  12439. description: 最新触发交易日
  12440. type: string
  12441. logincode:
  12442. description: 账号(登录代码)
  12443. type: string
  12444. nexttriggeramount:
  12445. description: 下次触发金额
  12446. type: number
  12447. nexttriggerdate:
  12448. description: 下次触发日期
  12449. type: string
  12450. nexttriggerqty:
  12451. description: 下次触发数量 [按小数位放大值]
  12452. type: number
  12453. qtydecimalplace:
  12454. description: 成交量小数位
  12455. type: integer
  12456. regularlycycle:
  12457. description: 定投频率 - 1:每周 2:每月
  12458. type: integer
  12459. regularlycyclevalue:
  12460. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  12461. type: string
  12462. regularlymode:
  12463. description: 定投方式 - 1:按数量 2:按金额
  12464. type: integer
  12465. regularlymodevalue:
  12466. description: 定投方式值 - 数量或金额
  12467. type: number
  12468. regularlystrategyid:
  12469. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  12470. type: integer
  12471. regularlystrategystatus:
  12472. description: 策略状态 - 1:正常 2:暂停 3:终止
  12473. type: integer
  12474. remark:
  12475. description: 备注
  12476. type: string
  12477. triggersuccesstimes:
  12478. description: 累计定投成功次数
  12479. type: string
  12480. triggertotalamount:
  12481. description: 累计定投金额(成功)
  12482. type: number
  12483. triggertotalqty:
  12484. description: 累计定投数量(成功) [按小数位放大值]
  12485. type: number
  12486. triggertotaltimes:
  12487. description: 累计定投总次数
  12488. type: string
  12489. updatesrc:
  12490. description: 更新来源 - 1:管理端 2:终端
  12491. type: integer
  12492. updatetime:
  12493. description: 更新时间
  12494. type: string
  12495. updatorid:
  12496. description: 更新人
  12497. type: string
  12498. userid:
  12499. description: 所属用户ID
  12500. type: integer
  12501. userinfotype:
  12502. description: 用户类型 1-个人 2-企业
  12503. type: integer
  12504. username:
  12505. description: 用户名称(userid对应的名称)
  12506. type: string
  12507. type: object
  12508. models.QhjReckonPriceLog:
  12509. properties:
  12510. decimalplace:
  12511. description: 商品报价小数位
  12512. type: integer
  12513. goodscode:
  12514. description: 商品代码
  12515. type: string
  12516. goodsid:
  12517. description: 商品ID
  12518. type: integer
  12519. goodsname:
  12520. description: 商品名称
  12521. type: string
  12522. lastreckonprice:
  12523. description: 上日结算价
  12524. type: number
  12525. nextdnlimitprice:
  12526. description: 下个交易日跌停价
  12527. type: number
  12528. nexttrade:
  12529. description: 下个交易日
  12530. type: string
  12531. nextuplimitprice:
  12532. description: 下个交易日涨停价
  12533. type: number
  12534. reckonprice:
  12535. description: 今日结算价(定投价)
  12536. type: number
  12537. reckontime:
  12538. description: 结算时间
  12539. type: string
  12540. totalholderqty:
  12541. description: 总持仓数
  12542. type: integer
  12543. totalstock:
  12544. description: 总库存
  12545. type: integer
  12546. tradedate:
  12547. description: 交易日
  12548. type: string
  12549. updowncount:
  12550. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  12551. type: integer
  12552. updownflag:
  12553. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  12554. type: integer
  12555. updownrate:
  12556. description: 今日涨跌幅
  12557. type: number
  12558. updownrate_2d:
  12559. description: 连续两日涨跌幅
  12560. type: number
  12561. updownrate_3d:
  12562. description: 连续三日涨跌幅
  12563. type: number
  12564. type: object
  12565. models.QhjScoreLog:
  12566. properties:
  12567. accountid:
  12568. description: 账户ID
  12569. type: integer
  12570. createtime:
  12571. description: 创建时间(时间)
  12572. type: string
  12573. goodsid:
  12574. description: 商品ID
  12575. type: integer
  12576. hasuploaded:
  12577. description: 是否已同步(千海金) 0:未同步 1;已同步
  12578. type: integer
  12579. logid:
  12580. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12581. type: string
  12582. marketid:
  12583. description: 市场ID
  12584. type: integer
  12585. relatedamount:
  12586. description: 关联金额
  12587. type: number
  12588. relatedorderid:
  12589. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  12590. type: string
  12591. scoreconfigvalue1:
  12592. description: 积分配置1
  12593. type: integer
  12594. scoreconfigvalue2:
  12595. description: 积分配置1
  12596. type: integer
  12597. scoretype:
  12598. description: 积分类型 - 1:提货积分
  12599. type: integer
  12600. scorevalue:
  12601. description: 积分
  12602. type: number
  12603. tradedate:
  12604. description: 交易日(yyyyMMdd)
  12605. type: string
  12606. uploadedtime:
  12607. description: 同步时间
  12608. type: string
  12609. userid:
  12610. description: 用户ID
  12611. type: integer
  12612. type: object
  12613. models.QhjSiteColumnDetail:
  12614. properties:
  12615. author:
  12616. description: 作者
  12617. type: string
  12618. brief:
  12619. description: 简介
  12620. type: string
  12621. columnid:
  12622. description: 所属栏目
  12623. type: integer
  12624. context:
  12625. description: 内容
  12626. type: string
  12627. coverimage:
  12628. description: 封面图片
  12629. type: string
  12630. creaedate:
  12631. description: 创建时间
  12632. type: string
  12633. creatorid:
  12634. description: 创建人
  12635. type: integer
  12636. hits:
  12637. description: 点击数
  12638. type: integer
  12639. id:
  12640. description: ID(SEQ_SITE_COLUMNDETAIL)
  12641. type: integer
  12642. isshow:
  12643. description: 是否展示 - 0:不展示 1:展示
  12644. type: integer
  12645. istop:
  12646. description: 是否置顶 - 0:不置 1:置顶
  12647. type: integer
  12648. modifierid:
  12649. description: 操作人
  12650. type: integer
  12651. publishdate:
  12652. description: 发布日期
  12653. type: string
  12654. status:
  12655. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  12656. type: integer
  12657. title:
  12658. description: 标题
  12659. type: string
  12660. updatedate:
  12661. description: 修改时间
  12662. type: string
  12663. userid:
  12664. description: 用户ID(默认为0, 核心为为机构用户ID)
  12665. type: integer
  12666. username:
  12667. description: 用户名称
  12668. type: string
  12669. type: object
  12670. models.QhjTeamOrder:
  12671. properties:
  12672. accountid:
  12673. description: 账户ID[报价币种]
  12674. type: integer
  12675. accountname:
  12676. description: 账户名称
  12677. type: string
  12678. agreeunit:
  12679. description: 合约乘数
  12680. type: number
  12681. buyorsell:
  12682. description: 方向 - 0:买 1:卖
  12683. type: integer
  12684. decimalplace:
  12685. description: 报价小数位
  12686. type: integer
  12687. enumdicname:
  12688. description: 单位名称
  12689. type: string
  12690. goodscode:
  12691. description: 商品代码(内部)
  12692. type: string
  12693. goodsid:
  12694. description: 商品ID
  12695. type: integer
  12696. goodsname:
  12697. description: 商品名称
  12698. type: string
  12699. goodunitid:
  12700. description: 报价单位ID
  12701. type: integer
  12702. marketid:
  12703. description: 市场ID
  12704. type: integer
  12705. marketname:
  12706. description: 市场名称
  12707. type: string
  12708. qtydecimalplace:
  12709. description: 成交量小数位
  12710. type: integer
  12711. refereeuserid:
  12712. description: 推荐人ID
  12713. type: integer
  12714. tradeamount:
  12715. description: 成交金额[账户币种,用于所有权]
  12716. type: number
  12717. tradedate:
  12718. description: 交易日(yyyyMMdd)
  12719. type: string
  12720. trademode:
  12721. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12722. 21:竞拍-大宗式 22:受托竞价
  12723. type: integer
  12724. tradeprice:
  12725. description: 成交价格
  12726. type: number
  12727. tradeqty:
  12728. description: 成交数量
  12729. type: number
  12730. tradetime:
  12731. description: 成交时间
  12732. type: string
  12733. userid:
  12734. description: 用户ID
  12735. type: integer
  12736. type: object
  12737. models.QhjTradeGoodsPickup:
  12738. properties:
  12739. accountid:
  12740. description: 账户ID
  12741. type: integer
  12742. address:
  12743. description: 提货人详细地址
  12744. type: string
  12745. amount:
  12746. description: 提货金额
  12747. type: number
  12748. artradedate:
  12749. description: 自动收货交易日(yyyyMMdd)
  12750. type: string
  12751. auditer:
  12752. description: 审核人
  12753. type: integer
  12754. auditsrc:
  12755. description: 更新来源 - 1:管理端 2:终端
  12756. type: integer
  12757. audittime:
  12758. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  12759. type: string
  12760. audittradedate:
  12761. description: 审核交易日(yyyyMMdd)
  12762. type: string
  12763. cardnum:
  12764. description: 提货人证件号码
  12765. type: string
  12766. cardtypeid:
  12767. description: 提货人证件类型
  12768. type: integer
  12769. checkremark:
  12770. description: 审核备注
  12771. type: string
  12772. cityid:
  12773. description: 市
  12774. type: integer
  12775. cityname:
  12776. description: 城市名称
  12777. type: string
  12778. confirmtime:
  12779. description: 取货时间 或 收货时间
  12780. type: string
  12781. countryid:
  12782. description: 国家
  12783. type: integer
  12784. countryname:
  12785. description: 国家名称
  12786. type: string
  12787. decimalplace:
  12788. description: 商品报价小数位
  12789. type: integer
  12790. districtid:
  12791. description: 地区
  12792. type: integer
  12793. districtname:
  12794. description: 地区名称
  12795. type: string
  12796. enumdicname:
  12797. description: 单位名称(提货商品)
  12798. type: string
  12799. expresscompany:
  12800. description: 物流公司
  12801. type: string
  12802. expressnum:
  12803. description: 物流单号
  12804. type: string
  12805. goodsagreeunit:
  12806. description: 交易商品乘数
  12807. type: number
  12808. goodscode:
  12809. description: 商品代码
  12810. type: string
  12811. goodsid:
  12812. description: 商品ID
  12813. type: integer
  12814. goodsname:
  12815. description: 商品名称
  12816. type: string
  12817. goodsqty:
  12818. description: 交易商品手数(69模式按成交量小数位放大取整)
  12819. type: number
  12820. handlestatus:
  12821. description: 处理状态
  12822. type: integer
  12823. logincode:
  12824. description: 账号(登录代码, 有可能为空)
  12825. type: string
  12826. marketid:
  12827. description: 市场ID
  12828. type: integer
  12829. phonenum:
  12830. description: 提货人联系方式
  12831. type: string
  12832. pickupgoodsagreeunit:
  12833. description: 提货商品合约乘数
  12834. type: number
  12835. pickupgoodsid:
  12836. description: 提货商品ID
  12837. type: string
  12838. pickupgoodsname:
  12839. description: 提货商品名称
  12840. type: string
  12841. pickupgoodsqty:
  12842. description: 提货商品手数(数量)
  12843. type: number
  12844. pickupgoodsunitid:
  12845. description: 单位ID(提货商品)
  12846. type: integer
  12847. pickupratio:
  12848. description: 提货系数
  12849. type: number
  12850. preparedays:
  12851. description: 备货期(天)-提货单明细表
  12852. type: integer
  12853. provinceid:
  12854. description: 省
  12855. type: integer
  12856. provincename:
  12857. description: 省名称
  12858. type: string
  12859. qty:
  12860. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  12861. type: number
  12862. qtydecimalplace:
  12863. description: 商品数量小数位
  12864. type: integer
  12865. recivername:
  12866. description: 提货人姓名
  12867. type: string
  12868. reqtime:
  12869. description: 提货申请时间
  12870. type: string
  12871. storeuserid:
  12872. description: 门店用户ID (千海金)
  12873. type: integer
  12874. storeusername:
  12875. description: 门店用户名称
  12876. type: string
  12877. takemode:
  12878. description: 提货方式 - 2:自提 3:配送(邮寄)
  12879. type: integer
  12880. takeorderid:
  12881. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  12882. type: string
  12883. takeorderstatus:
  12884. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  12885. 7:已拒绝 8:已撤销
  12886. type: integer
  12887. takeremark:
  12888. description: 提货备注
  12889. type: string
  12890. tradedate:
  12891. description: 交易日(yyyyMMdd)
  12892. type: string
  12893. updatetime:
  12894. description: 更新时间
  12895. type: string
  12896. userid:
  12897. description: 用户ID
  12898. type: integer
  12899. userinfotype:
  12900. description: 客户类型 1-个人 2-企业
  12901. type: integer
  12902. username:
  12903. description: 用户名称
  12904. type: string
  12905. type: object
  12906. models.QhjUserNodeCfgAndStatus:
  12907. properties:
  12908. agreementcontent:
  12909. description: 协议内容
  12910. type: string
  12911. agreementid:
  12912. description: 协议ID
  12913. type: integer
  12914. agreementname:
  12915. description: 协议名称
  12916. type: string
  12917. agreementno:
  12918. description: 协议编号
  12919. type: string
  12920. agreementtype:
  12921. description: 协议类型 - 1:注册 2:登录 3:交易
  12922. type: integer
  12923. agreementversion:
  12924. description: 协议版本号
  12925. type: integer
  12926. configid:
  12927. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  12928. type: integer
  12929. createtime:
  12930. description: 创建时间
  12931. type: string
  12932. goodsid:
  12933. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12934. type: integer
  12935. nodetype:
  12936. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12937. type: integer
  12938. signtimestamp:
  12939. description: 签约状态时间戳(最近一次)
  12940. type: string
  12941. tradedate:
  12942. description: 签约交易日(yyyyMMdd)
  12943. type: string
  12944. userid:
  12945. description: 客户ID
  12946. type: integer
  12947. type: object
  12948. models.Qhjgoodsex:
  12949. properties:
  12950. canfinance:
  12951. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  12952. type: integer
  12953. canregularlybuy:
  12954. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  12955. type: integer
  12956. defaulttradeuserid:
  12957. description: 默认交易用户ID
  12958. type: integer
  12959. deliverygoodsid:
  12960. description: 现货品种ID
  12961. type: integer
  12962. goodsid:
  12963. description: 商品ID(自增ID SEQ_GOODS)
  12964. type: integer
  12965. minamount:
  12966. description: 最小购买金额
  12967. type: number
  12968. regularlybuyminamount:
  12969. description: 定投最小金额
  12970. type: number
  12971. regularlybuyminqty:
  12972. description: 定投最小数量
  12973. type: number
  12974. spotgoodsbrandid:
  12975. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  12976. type: integer
  12977. visibilityforenterprise:
  12978. description: 企业客户是否可见 - 0:不可见 1:可见
  12979. type: integer
  12980. visibilityforpersonal:
  12981. description: 个人客户是否可见 - 0:不可见 1:可见
  12982. type: integer
  12983. wrstandardid:
  12984. description: 现货商品ID
  12985. type: integer
  12986. type: object
  12987. models.QueryErrorInfosRsp:
  12988. properties:
  12989. description:
  12990. description: 异常描述
  12991. type: string
  12992. errorcode:
  12993. description: 异常代码
  12994. type: string
  12995. errorid:
  12996. description: 异常ID
  12997. type: integer
  12998. modulecode:
  12999. description: 所属模块
  13000. type: string
  13001. operatecode:
  13002. description: 所属操作
  13003. type: string
  13004. rownumber:
  13005. description: 行号
  13006. type: string
  13007. required:
  13008. - errorid
  13009. type: object
  13010. models.QueryHedgeOrderDetailRsp:
  13011. properties:
  13012. accountid:
  13013. description: 账户ID
  13014. type: integer
  13015. buyorsell:
  13016. description: 买卖 - 0:买 1:卖
  13017. type: integer
  13018. cancellogincode:
  13019. description: 撤单人
  13020. type: string
  13021. channelbuildtype:
  13022. description: 开平标志 - 0:无 1:建仓 2:平仓
  13023. type: integer
  13024. channelinnerorderstatus:
  13025. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  13026. 9:全部成交
  13027. type: integer
  13028. channeloperatetype:
  13029. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  13030. type: integer
  13031. closetype:
  13032. description: 平仓方式 - 0:无 1:平今 2:平昨
  13033. type: integer
  13034. curexchangerate:
  13035. description: 当前汇率
  13036. type: number
  13037. decimalplace:
  13038. description: 商品报价小数位
  13039. type: integer
  13040. exchangefullname:
  13041. description: 外部交易所全称
  13042. type: string
  13043. goodscode:
  13044. description: 商品代码(内部)
  13045. type: string
  13046. goodsid:
  13047. description: 商品ID
  13048. type: integer
  13049. goodsname:
  13050. description: 商品名称
  13051. type: string
  13052. marketid:
  13053. description: 市场ID
  13054. type: integer
  13055. openfreezemargin:
  13056. description: 冻结保证金(冻结交易金额)
  13057. type: number
  13058. orderid:
  13059. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13060. type: string
  13061. orderlogincode:
  13062. description: 委托人
  13063. type: string
  13064. orderprice:
  13065. description: 委托价格(账户)
  13066. type: number
  13067. orderqty:
  13068. description: 委托数量
  13069. type: integer
  13070. ordertime:
  13071. description: 委托时间
  13072. type: string
  13073. pricemode:
  13074. description: '取价方式 - 1:市价 2: 限价'
  13075. type: integer
  13076. tradedate:
  13077. description: 交易日(yyyyMMdd)
  13078. type: string
  13079. tradeqty:
  13080. description: 成交数量
  13081. type: integer
  13082. type: object
  13083. models.QueryHedgeTradeDetailRsp:
  13084. properties:
  13085. accountid:
  13086. description: 账号ID
  13087. type: integer
  13088. buyorsell:
  13089. description: 方向 - 0:买 1:卖
  13090. type: integer
  13091. channelbuildtype:
  13092. description: 委托单据类型 0:无 1:建仓 2:平仓
  13093. type: integer
  13094. closecharge:
  13095. description: 平仓手续费(账户)
  13096. type: number
  13097. closecharge2:
  13098. description: 平仓手续费(商品)
  13099. type: number
  13100. closepl:
  13101. description: 平仓盈亏(账户)
  13102. type: number
  13103. closepl2:
  13104. description: 平仓盈亏(商品)
  13105. type: number
  13106. closepl3:
  13107. description: 平仓盈亏(账户)(逐笔)
  13108. type: number
  13109. closepl4:
  13110. description: 平仓盈亏(商品)(逐笔)
  13111. type: number
  13112. closetype:
  13113. description: 平仓方式 - 0:无 1:平今 2:平昨
  13114. type: integer
  13115. curexchangerate:
  13116. description: 当前汇率
  13117. type: number
  13118. decimalplace:
  13119. description: 商品报价小数位
  13120. type: integer
  13121. exchangefullname:
  13122. description: 外部交易所全称
  13123. type: string
  13124. goodscode:
  13125. description: 商品代码(内部)
  13126. type: string
  13127. goodsid:
  13128. description: 商品ID
  13129. type: integer
  13130. goodsname:
  13131. description: 商品名称
  13132. type: string
  13133. marketid:
  13134. description: 市场ID
  13135. type: integer
  13136. opencharge:
  13137. description: 建仓手续费(账户)
  13138. type: number
  13139. opencharge2:
  13140. description: 建仓手续费(商品)
  13141. type: number
  13142. orderid:
  13143. description: 委托单号
  13144. type: string
  13145. orderlogincode:
  13146. description: 委托人
  13147. type: string
  13148. tradeamount:
  13149. description: 成交金额(账户)
  13150. type: number
  13151. tradedate:
  13152. description: 交易日(yyyyMMdd)
  13153. type: string
  13154. tradeid:
  13155. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13156. type: string
  13157. tradeprice:
  13158. description: 成交价格
  13159. type: number
  13160. tradeqty:
  13161. description: 成交数量
  13162. type: integer
  13163. tradetime:
  13164. description: 成交时间
  13165. type: string
  13166. tradetype:
  13167. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  13168. type: integer
  13169. type: object
  13170. models.QuotePrimaryMenu:
  13171. properties:
  13172. Index:
  13173. description: 序号
  13174. type: integer
  13175. Key:
  13176. description: 键名
  13177. type: string
  13178. Name:
  13179. description: 菜单名称
  13180. type: string
  13181. SubMenus:
  13182. description: 子菜单
  13183. items:
  13184. $ref: '#/definitions/models.QuoteSecondaryMenu'
  13185. type: array
  13186. SubTitleType:
  13187. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  13188. type: integer
  13189. TradeModes:
  13190. description: 包含市场交易类型
  13191. type: string
  13192. type: object
  13193. models.QuoteSecondaryMenu:
  13194. properties:
  13195. ExExchangeCode:
  13196. description: 外部交易所代码
  13197. type: string
  13198. ExExchangeID:
  13199. description: 外部交易所ID
  13200. type: integer
  13201. GoodsGroupIDs:
  13202. description: 商品组ID列表
  13203. items:
  13204. type: integer
  13205. type: array
  13206. Index:
  13207. description: 序号
  13208. type: integer
  13209. MarketID:
  13210. description: 市场ID
  13211. type: integer
  13212. MenuTitle:
  13213. description: 菜单标题(市场名称或外部交易所名称)
  13214. type: string
  13215. TradeMode:
  13216. description: 交易模式
  13217. type: integer
  13218. type: object
  13219. models.RoleMenu:
  13220. properties:
  13221. hasright:
  13222. description: 是否有权限 0-没有权限 1-有权限
  13223. type: integer
  13224. iconame:
  13225. description: 菜单图标
  13226. type: string
  13227. menutype:
  13228. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  13229. type: integer
  13230. parentcode:
  13231. description: 上级资源代码
  13232. type: string
  13233. remark:
  13234. description: 菜单备注
  13235. type: string
  13236. resourcecode:
  13237. description: 菜单代码
  13238. type: string
  13239. resourcelevel:
  13240. description: 级别
  13241. type: integer
  13242. resourcename:
  13243. description: 菜单名称
  13244. type: string
  13245. roleid:
  13246. description: 角色id
  13247. type: integer
  13248. sort:
  13249. description: 排序
  13250. type: integer
  13251. subMenu:
  13252. description: 子级菜单(结构同上层一样, swag解析不出来)
  13253. items:
  13254. $ref: '#/definitions/models.RoleMenu'
  13255. type: array
  13256. url:
  13257. description: URL
  13258. type: string
  13259. userid:
  13260. description: 用户id
  13261. type: integer
  13262. type: object
  13263. models.SearchGoods:
  13264. properties:
  13265. goodscode:
  13266. description: 商品代码(内部)
  13267. type: string
  13268. goodsid:
  13269. description: 商品ID(自增ID SEQ_GOODS)
  13270. type: integer
  13271. goodsname:
  13272. description: 商品名称
  13273. type: string
  13274. marketid:
  13275. description: 所属市场ID
  13276. type: integer
  13277. marketname:
  13278. description: 市场名称
  13279. type: string
  13280. trademode:
  13281. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  13282. 21:竞拍-大宗式 22:受托竞价
  13283. type: integer
  13284. required:
  13285. - goodscode
  13286. - goodsid
  13287. - goodsname
  13288. - marketid
  13289. - trademode
  13290. type: object
  13291. models.Systemparam:
  13292. properties:
  13293. loginid:
  13294. description: 更新用户账号,登录账号
  13295. type: string
  13296. modifyflag:
  13297. description: 修改标志0 不允许修改 1 允许修改
  13298. type: integer
  13299. paramcode:
  13300. description: 参数代码
  13301. type: string
  13302. paramname:
  13303. description: 参数名
  13304. type: string
  13305. paramtype:
  13306. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  13307. type: integer
  13308. paramvalue:
  13309. description: 参数值
  13310. type: string
  13311. paramvalue2:
  13312. description: 参数值(CLOB)
  13313. type: string
  13314. regexpress:
  13315. description: 正则表达式
  13316. type: string
  13317. remark:
  13318. description: 备注
  13319. type: string
  13320. serverip:
  13321. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  13322. type: string
  13323. showflag:
  13324. description: 是否显示0 不显示 1 显示
  13325. type: integer
  13326. updatetime:
  13327. description: 更新时间
  13328. type: string
  13329. userid:
  13330. description: 更新用户ID
  13331. type: integer
  13332. required:
  13333. - paramcode
  13334. type: object
  13335. models.Szdz3convertconfig:
  13336. properties:
  13337. canin:
  13338. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  13339. type: integer
  13340. canout:
  13341. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  13342. type: integer
  13343. converttype:
  13344. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  13345. 6:交易转花生米(不设置)
  13346. type: integer
  13347. createtime:
  13348. description: 创建时间
  13349. type: string
  13350. creatorid:
  13351. description: 创建人
  13352. type: integer
  13353. daymaxvalue:
  13354. description: 当日最大转入限制
  13355. type: number
  13356. freezedays:
  13357. description: 冻结天数 [5:花生米转交易]
  13358. type: integer
  13359. innergoodsid:
  13360. description: 内部商品ID[交易]
  13361. type: integer
  13362. inratio:
  13363. description: 目标值
  13364. type: integer
  13365. modifierid:
  13366. description: 修改人
  13367. type: integer
  13368. modifytime:
  13369. description: 修改时间
  13370. type: string
  13371. outergoodscode:
  13372. description: 外部商品代码[JD\PD]
  13373. type: string
  13374. outratio:
  13375. description: 源值
  13376. type: integer
  13377. pddecimalplace:
  13378. description: PD小数位
  13379. type: integer
  13380. timemaxvalue:
  13381. description: 单次最大转入限制
  13382. type: number
  13383. timeminvalue:
  13384. description: 单次最小转入限制
  13385. type: number
  13386. required:
  13387. - converttype
  13388. - innergoodsid
  13389. - outergoodscode
  13390. type: object
  13391. models.Szdz3searchwhitelist:
  13392. properties:
  13393. createtime:
  13394. description: 创建时间
  13395. type: string
  13396. creatorid:
  13397. description: 创建人
  13398. type: integer
  13399. modifierid:
  13400. description: 修改人
  13401. type: integer
  13402. modifytime:
  13403. description: 修改时间
  13404. type: string
  13405. userid:
  13406. description: 用户ID
  13407. type: integer
  13408. required:
  13409. - userid
  13410. type: object
  13411. models.TBGoods:
  13412. properties:
  13413. agreeunit:
  13414. description: 合约乘数
  13415. type: number
  13416. enumdicname:
  13417. description: 单位名称
  13418. type: string
  13419. goodscode:
  13420. description: 商品代码(内部)
  13421. type: string
  13422. goodsid:
  13423. description: 商品ID(自增ID SEQ_GOODS)
  13424. type: integer
  13425. goodsname:
  13426. description: 商品名称
  13427. type: string
  13428. type: object
  13429. models.TBGoodsGroup:
  13430. properties:
  13431. GDLST:
  13432. description: 商品列表
  13433. items:
  13434. $ref: '#/definitions/models.TBGoods'
  13435. type: array
  13436. convertratio:
  13437. description: 折算系数
  13438. type: number
  13439. enumdicname:
  13440. description: 单位名称
  13441. type: string
  13442. exexchangecode:
  13443. description: 交易所代码
  13444. type: string
  13445. exexchangename:
  13446. description: 交易所名称
  13447. type: string
  13448. goodsgroupid:
  13449. description: 商品组ID(自增ID)
  13450. type: integer
  13451. goodsgroupname:
  13452. description: 商品组名称
  13453. type: string
  13454. goodunitid:
  13455. description: 报价单位ID
  13456. type: integer
  13457. type: object
  13458. models.TBMiddleGoods:
  13459. properties:
  13460. GPLST:
  13461. description: 期货品种列表
  13462. items:
  13463. $ref: '#/definitions/models.TBGoodsGroup'
  13464. type: array
  13465. WDLST:
  13466. description: 商品信息列表(现货品类)
  13467. items:
  13468. $ref: '#/definitions/models.TBWrstandard'
  13469. type: array
  13470. areauserid:
  13471. description: 机构用户ID
  13472. type: integer
  13473. enumdicname:
  13474. description: 单位名称
  13475. type: string
  13476. goodsunitid:
  13477. description: 套保品种单位id
  13478. type: integer
  13479. middlegoodscode:
  13480. description: 套保品种代码
  13481. type: string
  13482. middlegoodsid:
  13483. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  13484. type: integer
  13485. middlegoodsname:
  13486. description: 套保品种名称
  13487. type: string
  13488. needarbitrageratio:
  13489. description: 套利比率
  13490. type: number
  13491. needhedgeratio:
  13492. description: 套保比率
  13493. type: number
  13494. type: object
  13495. models.TBWrstandard:
  13496. properties:
  13497. convertratio:
  13498. description: 折算系数
  13499. type: number
  13500. deliverygoodsname:
  13501. description: 品种名称
  13502. type: string
  13503. enumdicname:
  13504. description: 单位名称
  13505. type: string
  13506. vatrate:
  13507. description: 增值税率
  13508. type: number
  13509. wrstandardcode:
  13510. description: 现货商品代码
  13511. type: string
  13512. wrstandardid:
  13513. description: 现货商品ID(SEQ_WRSTANDARD)
  13514. type: integer
  13515. wrstandardname:
  13516. description: 现货商品名称
  13517. type: string
  13518. type: object
  13519. models.Taaccount:
  13520. properties:
  13521. accountflag:
  13522. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  13523. type: integer
  13524. accountid:
  13525. description: 资金账户ID
  13526. type: integer
  13527. accountname:
  13528. description: 账户名称
  13529. type: string
  13530. balance:
  13531. description: 期初余额
  13532. type: number
  13533. capitalbalance:
  13534. description: 本金余额[外部子账户实际出入金余额]
  13535. type: number
  13536. changeflag:
  13537. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  13538. type: integer
  13539. changetime:
  13540. description: 账户状态变更时间
  13541. type: string
  13542. closepl:
  13543. description: 今日平仓盈亏
  13544. type: number
  13545. creditdecrease:
  13546. description: 今日授信减少
  13547. type: number
  13548. creditincrease:
  13549. description: 今日授信增加
  13550. type: number
  13551. curamount:
  13552. description: 总市值(从持仓中统计)
  13553. type: number
  13554. currencyid:
  13555. description: 货币ID
  13556. type: integer
  13557. currentbalance:
  13558. description: 期末余额
  13559. type: number
  13560. freezecharge:
  13561. description: 手续费冻结
  13562. type: number
  13563. freezemargin:
  13564. description: 冻结保证金
  13565. type: number
  13566. fromaccountid:
  13567. description: 所属上级账户
  13568. type: integer
  13569. inamount:
  13570. description: 今日入金金额(包括三方入金)
  13571. type: number
  13572. ismain:
  13573. description: 是否母账号 0:不是母账户 1:是母账户
  13574. type: integer
  13575. ismarketaccount:
  13576. description: 是否机构接单账号 0:不是 1:是
  13577. type: integer
  13578. isreckonaccount:
  13579. description: 是否机构分润账号 0:不是 1:是
  13580. type: integer
  13581. mortgagecredit:
  13582. description: 授信金额
  13583. type: number
  13584. orifreezecharge:
  13585. description: 期初手续费冻结
  13586. type: number
  13587. orifreezemargin:
  13588. description: 期初冻结保证金
  13589. type: number
  13590. orimortgagecredit:
  13591. description: 期初授信金额
  13592. type: number
  13593. oriothercredit:
  13594. description: 期初其它授信金额
  13595. type: number
  13596. oriotherfreezemargin:
  13597. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  13598. type: number
  13599. orioutamountfreeze:
  13600. description: 期初出金冻结
  13601. type: number
  13602. oriusedmargin:
  13603. description: 期初占用保证金
  13604. type: number
  13605. othercredit:
  13606. description: 其它授信金额
  13607. type: number
  13608. othercreditdecrease:
  13609. description: 今日其它授信减少
  13610. type: number
  13611. othercreditincrease:
  13612. description: 今日其它授信增加
  13613. type: number
  13614. otherfreezemargin:
  13615. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  13616. type: number
  13617. otherincome:
  13618. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  13619. type: number
  13620. otherpay:
  13621. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  13622. type: number
  13623. outamount:
  13624. description: 今日出金金额(包括三方出金)
  13625. type: number
  13626. outamountfreeze:
  13627. description: 出金冻结
  13628. type: number
  13629. outthreshold:
  13630. description: 出金阈值
  13631. type: number
  13632. parentaccountid:
  13633. description: 所属根账号
  13634. type: integer
  13635. paycharge:
  13636. description: 今日手续费支出
  13637. type: number
  13638. relatedaccountstatus:
  13639. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  13640. type: integer
  13641. relateduserid:
  13642. description: 关联用户
  13643. type: integer
  13644. remainamount:
  13645. description: 融资额(从融资合同中统计)
  13646. type: number
  13647. serivcegroup:
  13648. description: 服务分组
  13649. type: integer
  13650. signstatus:
  13651. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  13652. type: integer
  13653. sublevelpath:
  13654. description: 账号层级路径(逗号分隔,首尾加逗号)
  13655. type: string
  13656. taaccounttype:
  13657. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  13658. type: integer
  13659. thirdinamount:
  13660. description: 今日三方入金
  13661. type: number
  13662. thirdoutamount:
  13663. description: 今日三方出金
  13664. type: number
  13665. tradestatus:
  13666. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  13667. type: integer
  13668. tradestatuschangetime:
  13669. description: 激活时间
  13670. type: string
  13671. transferamount:
  13672. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  13673. type: number
  13674. usedmargin:
  13675. description: 占用保证金
  13676. type: number
  13677. userid:
  13678. description: 用户ID
  13679. type: integer
  13680. required:
  13681. - accountid
  13682. - userid
  13683. type: object
  13684. models.Tablecolumnconfig:
  13685. properties:
  13686. aligntype:
  13687. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  13688. type: integer
  13689. autoid:
  13690. description: AutoID
  13691. type: integer
  13692. columnfield:
  13693. description: 列字段
  13694. type: string
  13695. columntitle:
  13696. description: 列Title
  13697. type: string
  13698. columnwidth:
  13699. description: 列宽
  13700. type: string
  13701. formatterstring:
  13702. description: 格式化字符
  13703. type: string
  13704. formattertype:
  13705. description: 格式化类型
  13706. type: string
  13707. groupname:
  13708. description: 表头分组名称
  13709. type: string
  13710. isshow:
  13711. description: 是否显示 - 0:不显示 1:显示
  13712. type: integer
  13713. needsummary:
  13714. description: 是否需要汇总 - 0:不需要 1:需要
  13715. type: integer
  13716. orderindex:
  13717. description: 顺序
  13718. type: integer
  13719. remark:
  13720. description: 备注
  13721. type: string
  13722. summarytype:
  13723. description: 汇总类型 - 1:加总 2:最后一个
  13724. type: integer
  13725. tablekey:
  13726. description: 列表Key
  13727. type: string
  13728. required:
  13729. - autoid
  13730. type: object
  13731. models.TjmdMarketSection:
  13732. properties:
  13733. marketsectionid:
  13734. description: 市场版块ID(SEQ_MARKETSECTION)
  13735. type: integer
  13736. marketsectionname:
  13737. description: 市场版块名称
  13738. type: string
  13739. mlist:
  13740. description: 市场列表(板块下面有多少个市场)
  13741. items:
  13742. $ref: '#/definitions/models.TjmdMarketSectionConfig'
  13743. type: array
  13744. orderindex:
  13745. description: 排序
  13746. type: integer
  13747. pictureurl:
  13748. description: 图片url, 规格(90*90)
  13749. type: string
  13750. remark:
  13751. description: 备注
  13752. type: string
  13753. type: object
  13754. models.TjmdMarketSectionConfig:
  13755. properties:
  13756. auctionwrtype:
  13757. description: 仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可
  13758. type: integer
  13759. canacceptquote:
  13760. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  13761. type: integer
  13762. cangoodsexercise:
  13763. description: '[期权]是否可现货行权- 0:否 1:是'
  13764. type: integer
  13765. cangoodsexercisetype:
  13766. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  13767. type: integer
  13768. canmanualquotestrike:
  13769. description: 是否可手动报行权价- 0:否 1:是 [期权]
  13770. type: integer
  13771. canmutistage:
  13772. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  13773. type: integer
  13774. canpreexercise:
  13775. description: '[期权]是否可预申报- 0:否 1:是'
  13776. type: integer
  13777. clearinterval:
  13778. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  13779. type: integer
  13780. contracttmp:
  13781. description: 合同模板[荷兰式][竞价式][仓单贸易]
  13782. type: string
  13783. exchareaid:
  13784. description: 所属交易所,可以没有
  13785. type: integer
  13786. financemarketid:
  13787. description: 融资回购市场ID [仓单贸易]
  13788. type: integer
  13789. goodstype:
  13790. description: 商品类型 - 1:交易商品 2:仓单商品
  13791. type: integer
  13792. hasrebate:
  13793. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  13794. type: integer
  13795. hastradecredit:
  13796. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  13797. type: integer
  13798. haswr:
  13799. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  13800. type: integer
  13801. isdeductmargin:
  13802. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  13803. type: integer
  13804. isrecordsource:
  13805. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  13806. type: integer
  13807. isreleasemargin:
  13808. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  13809. type: integer
  13810. isupdatereckonprice:
  13811. description: 输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)
  13812. type: integer
  13813. listingmode:
  13814. description: 挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  13815. type: integer
  13816. marginformula:
  13817. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  13818. type: integer
  13819. marginformula2:
  13820. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  13821. type: integer
  13822. marketid:
  13823. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  13824. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  13825. type: integer
  13826. marketname:
  13827. description: 市场名称
  13828. type: string
  13829. marketsectionid:
  13830. description: 市场版块ID(SEQ_MARKETSECTION)
  13831. type: integer
  13832. marketserviceid:
  13833. description: 市场服务ID
  13834. type: integer
  13835. marketstatus:
  13836. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  13837. type: integer
  13838. markettype:
  13839. description: 市场类型- 1:非交易服务 2:交易服务
  13840. type: integer
  13841. matchermode:
  13842. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废
  13843. type: integer
  13844. nowrquotaflag:
  13845. description: 是否校验无仓单额度(仓单贸易) 0:否 1:是
  13846. type: integer
  13847. openmethod:
  13848. description: 开盘模式 - 0 自动 1手动
  13849. type: integer
  13850. orderindex:
  13851. description: 排序
  13852. type: integer
  13853. otcuserid:
  13854. description: 场外期权做市商[场外期权]
  13855. type: integer
  13856. outersynctime:
  13857. description: 外部同步时间点(h24:mi:ss)[场外期权]
  13858. type: string
  13859. paylaterflag:
  13860. description: 是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]
  13861. type: integer
  13862. pendingflag:
  13863. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  13864. type: integer
  13865. pendingtime:
  13866. description: 待开市时间[通道交易-对冲](HH:mm)
  13867. type: string
  13868. performancetempid:
  13869. description: 履约计划模板ID - 作废
  13870. type: integer
  13871. premiumquotemode:
  13872. description: 权利金报价方式 - 1:自动 2:手动
  13873. type: integer
  13874. rebateratio:
  13875. description: 返利比率[竞价式]
  13876. type: number
  13877. reckonorder:
  13878. description: 结算顺序
  13879. type: integer
  13880. reckonpricealgorithm:
  13881. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  13882. 6.卖一价 7.买一卖一均价 8.外部结算价'
  13883. type: integer
  13884. reckonpriceparam:
  13885. description: 结算价参数
  13886. type: integer
  13887. reckontime:
  13888. description: 结算时间[通道交易-对冲](HH:mm)
  13889. type: string
  13890. roleprioritytype:
  13891. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  13892. type: integer
  13893. selllistingauditflag:
  13894. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  13895. type: integer
  13896. trademarkettype:
  13897. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  13898. type: integer
  13899. trademode:
  13900. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  13901. 21:竞拍-大宗式 22:受托竞价
  13902. type: integer
  13903. tradeproperty:
  13904. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  13905. 8:场外期权
  13906. type: integer
  13907. tradetype:
  13908. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  13909. type: integer
  13910. updatereckonpriceinterval:
  13911. description: 输入结算价时长(分钟) [1:手工输入(自动)]
  13912. type: integer
  13913. type: object
  13914. models.TjmdQuoteGoods:
  13915. properties:
  13916. buyqty:
  13917. description: 买量(暂不做, 无值, 保留字段)
  13918. type: number
  13919. decimalplace:
  13920. description: 报价小数位
  13921. type: integer
  13922. goodscode:
  13923. description: 合约代码
  13924. type: string
  13925. goodsgroupid:
  13926. description: 商品组ID(自增ID)
  13927. type: integer
  13928. goodsgroupname:
  13929. description: 商品组名称
  13930. type: string
  13931. goodsid:
  13932. description: 合约id
  13933. type: integer
  13934. goodsname:
  13935. description: 合约名称
  13936. type: string
  13937. refgoodscode:
  13938. description: 标的合约代码
  13939. type: string
  13940. refgoodsid:
  13941. description: 标的合约id
  13942. type: integer
  13943. refgoodsname:
  13944. description: 标的合约名称
  13945. type: string
  13946. sellqty:
  13947. description: 卖量(暂不做, 无值, 保留字段)
  13948. type: number
  13949. type: object
  13950. models.TjmdTodayAccountMargin:
  13951. properties:
  13952. accountid:
  13953. description: 账号ID
  13954. type: integer
  13955. goodsid:
  13956. description: 商品ID
  13957. type: integer
  13958. infoc:
  13959. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  13960. description: 配置参数
  13961. marketid:
  13962. description: 市场ID
  13963. type: integer
  13964. type: object
  13965. models.TjmdTradeOrderDetail:
  13966. properties:
  13967. buyorsell:
  13968. description: 买卖方向 0-买 1-卖
  13969. type: integer
  13970. goodsid:
  13971. description: 商品id
  13972. type: integer
  13973. marketmaxsub:
  13974. description: 市价最大偏移范围 [浮动价 - 点差]
  13975. type: number
  13976. orderid:
  13977. description: 委托单号
  13978. type: string
  13979. orderprice:
  13980. description: 委托价格
  13981. type: number
  13982. orderqty:
  13983. description: 委托数量
  13984. type: integer
  13985. pricemode:
  13986. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  13987. type: integer
  13988. userid:
  13989. description: 用户id
  13990. type: integer
  13991. username:
  13992. description: 用户名称(已脱敏)
  13993. type: string
  13994. type: object
  13995. models.TjmdTransferApply:
  13996. properties:
  13997. applyid:
  13998. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  13999. type: integer
  14000. applystatus:
  14001. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  14002. type: integer
  14003. applytime:
  14004. description: 申请时间(时间)
  14005. type: string
  14006. auditremark:
  14007. description: 审核备注(拒绝原因?)
  14008. type: string
  14009. begindate:
  14010. description: 开始交易日(yyyymmdd)
  14011. type: string
  14012. buyorsell:
  14013. description: 买卖 - 0:买 1:卖
  14014. type: integer
  14015. enddate:
  14016. description: 结束交易日(yyyymmdd)
  14017. type: string
  14018. goodscode:
  14019. description: 商品代码
  14020. type: string
  14021. goodsid:
  14022. description: 商品ID
  14023. type: integer
  14024. goodsname:
  14025. description: 商品名称
  14026. type: string
  14027. marketid:
  14028. description: 市场ID
  14029. type: integer
  14030. qty:
  14031. description: 转让数量(数量)
  14032. type: number
  14033. tradeid:
  14034. description: 成交单号(关联持仓)
  14035. type: string
  14036. transferamount:
  14037. description: 转让总金额(金额)
  14038. type: number
  14039. transferprice:
  14040. description: 转让价格(协议价格)
  14041. type: number
  14042. type: object
  14043. models.TradeHolderDetail:
  14044. properties:
  14045. accountid:
  14046. description: 账号ID
  14047. type: integer
  14048. agreeunit:
  14049. description: 合约乘数
  14050. type: number
  14051. buyorsell:
  14052. description: 方向 - 0:买 1:卖
  14053. type: integer
  14054. currencyid:
  14055. description: 商品币种id
  14056. type: integer
  14057. currencyname:
  14058. description: 币种名称
  14059. type: string
  14060. decimalplace:
  14061. description: 商品价格小数位
  14062. type: integer
  14063. enumdicname:
  14064. description: 商品单位名称
  14065. type: string
  14066. expirecycle:
  14067. description: 行权周期(天) - 1:滚动行权时填写
  14068. type: integer
  14069. expiredate:
  14070. description: 行权日(yyyyMMdd) - 到期日
  14071. type: string
  14072. expiretype:
  14073. description: 行权日类型 - 1:滚动行权 2:固定日行权
  14074. type: integer
  14075. freezeqty:
  14076. description: 冻结数量
  14077. type: number
  14078. goodscode:
  14079. description: 商品代码
  14080. type: string
  14081. goodsid:
  14082. description: 商品ID
  14083. type: integer
  14084. goodsname:
  14085. description: 商品名称
  14086. type: string
  14087. goodunitid:
  14088. description: 商品单位id
  14089. type: integer
  14090. holderamount:
  14091. description: 持仓金额
  14092. type: number
  14093. holdercredit:
  14094. description: 持仓授信金额
  14095. type: number
  14096. holderdays:
  14097. description: 剩余冻结天数
  14098. type: integer
  14099. holderprice:
  14100. description: 持仓价格
  14101. type: number
  14102. holderqty:
  14103. description: 持仓数量
  14104. type: number
  14105. isconfirmexercise:
  14106. description: 是否确认行权- 0:否 1:是
  14107. type: integer
  14108. ispreexercise:
  14109. description: 是否预申报- 0:否 1:是 2:不可行权
  14110. type: integer
  14111. marketid:
  14112. description: 市场id
  14113. type: integer
  14114. marketname:
  14115. description: 市场名称
  14116. type: string
  14117. openprice:
  14118. description: 建仓价格
  14119. type: number
  14120. openqty:
  14121. description: 建仓数量
  14122. type: number
  14123. optiontype:
  14124. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  14125. type: integer
  14126. preexerciseprice:
  14127. description: 预申报价格
  14128. type: number
  14129. premium:
  14130. description: 权利金
  14131. type: number
  14132. qtydecimalplace:
  14133. description: 商品成交量小数位
  14134. type: integer
  14135. refgoodscode:
  14136. description: 标的合约代码
  14137. type: string
  14138. refgoodsid:
  14139. description: 标的合约id
  14140. type: integer
  14141. releaseamount:
  14142. description: 释放持仓金额
  14143. type: number
  14144. releaseholdercredit:
  14145. description: 释放持仓授信金额
  14146. type: number
  14147. taname:
  14148. description: 资金账号名称
  14149. type: string
  14150. tradeamount:
  14151. description: 成交金额
  14152. type: number
  14153. tradedate:
  14154. description: 交易日(yyyyMMdd)
  14155. type: string
  14156. tradeid:
  14157. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14158. type: string
  14159. trademode:
  14160. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  14161. 21:竞拍-大宗式 22:受托竞价 46:掉期
  14162. type: integer
  14163. tradeproperty:
  14164. description: 交易属性
  14165. type: integer
  14166. tradetime:
  14167. description: 交易时间
  14168. type: string
  14169. userid:
  14170. description: 用户id
  14171. type: integer
  14172. username:
  14173. description: 用户名称
  14174. type: string
  14175. type: object
  14176. models.UserCollectConfig:
  14177. properties:
  14178. accountstatus:
  14179. description: 账户状态 - 1:正常 2:停用 3:注销
  14180. type: integer
  14181. collectaccountname:
  14182. description: 收款人账户名称
  14183. type: string
  14184. collectaccountno:
  14185. description: 收款人账户
  14186. type: string
  14187. collectbankname:
  14188. description: 收款人开户行
  14189. type: string
  14190. collectbranchbankname:
  14191. description: 收款人开户支行
  14192. type: string
  14193. collectconfigid:
  14194. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  14195. type: string
  14196. remark:
  14197. description: 备注
  14198. type: string
  14199. userid:
  14200. description: 收款人用户ID
  14201. type: integer
  14202. type: object
  14203. models.UserReceiveInfo:
  14204. properties:
  14205. address:
  14206. description: 提货人详细地址
  14207. type: string
  14208. autoid:
  14209. description: AutoID
  14210. type: integer
  14211. cardnum:
  14212. description: 证件号码(加密存储)
  14213. type: string
  14214. cardtypeid:
  14215. description: 证件类型
  14216. type: integer
  14217. cityid:
  14218. description: 市
  14219. type: integer
  14220. cityname:
  14221. description: 城市名称
  14222. type: string
  14223. countryid:
  14224. description: 国家
  14225. type: integer
  14226. countryname:
  14227. description: 国家名称
  14228. type: string
  14229. districtid:
  14230. description: 地区
  14231. type: integer
  14232. districtname:
  14233. description: 地区名称
  14234. type: string
  14235. hasencrypt:
  14236. description: 数据是否已加密 - 0:未加密 1:已加密
  14237. type: integer
  14238. isdefault:
  14239. description: 是否默认地址 - 0:否 1:是
  14240. type: integer
  14241. phonenum:
  14242. description: 提货人联系方式(加密存储)
  14243. type: string
  14244. provinceid:
  14245. description: 省
  14246. type: integer
  14247. provincename:
  14248. description: 省名称
  14249. type: string
  14250. receivername:
  14251. description: 提货人姓名
  14252. type: string
  14253. takeremark:
  14254. description: 提货备注
  14255. type: string
  14256. userid:
  14257. description: 用户ID
  14258. type: integer
  14259. type: object
  14260. models.Useraccount:
  14261. properties:
  14262. accountname:
  14263. description: 账户名称(机构名称)
  14264. type: string
  14265. accountstatus:
  14266. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  14267. type: integer
  14268. applysrc:
  14269. description: 申请来源 - 1:管理端 2:终端
  14270. type: integer
  14271. auditremark:
  14272. description: 审核备注
  14273. type: string
  14274. auditsrc:
  14275. description: 审核来源 - 1:管理端 2:终端
  14276. type: integer
  14277. audittime:
  14278. description: 审核时间
  14279. type: string
  14280. audituserid:
  14281. description: 审核人
  14282. type: integer
  14283. broker:
  14284. description: 所属经纪人ID
  14285. type: integer
  14286. canceltime:
  14287. description: 销户时间
  14288. type: string
  14289. canceluserid:
  14290. description: 销户人
  14291. type: integer
  14292. canrecommend:
  14293. description: 是否可推荐 - 0:不可 1;可
  14294. type: integer
  14295. createtime:
  14296. description: 创建时间
  14297. type: string
  14298. creatorid:
  14299. description: 创建人
  14300. type: integer
  14301. hasauth:
  14302. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  14303. type: integer
  14304. isanonymous:
  14305. description: 是否匿名下单 - 0:否 1:是
  14306. type: integer
  14307. maxinvestornum:
  14308. description: 最大用户数(经纪会员下投资者个数)
  14309. type: integer
  14310. memberuserid:
  14311. description: 所属会员ID
  14312. type: integer
  14313. modifierid:
  14314. description: 修改人
  14315. type: integer
  14316. modifyremark:
  14317. description: 变更备注
  14318. type: string
  14319. modifystatus:
  14320. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  14321. type: integer
  14322. modifytime:
  14323. description: 修改时间
  14324. type: string
  14325. parenttopuser:
  14326. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  14327. type: string
  14328. parentuserid:
  14329. description: 所属机构ID
  14330. type: integer
  14331. reckonaccountid:
  14332. description: 默认结算资金账号ID(机构分润使用) 作废
  14333. type: integer
  14334. refercount:
  14335. description: 推荐总人数
  14336. type: integer
  14337. refereeuserid:
  14338. description: 推荐人ID
  14339. type: integer
  14340. refernum:
  14341. description: 推荐码
  14342. type: string
  14343. rootuserid:
  14344. description: 根用户ID
  14345. type: integer
  14346. subaccountlevel:
  14347. description: 子账户层数
  14348. type: integer
  14349. subarealevelpath:
  14350. description: 子机构层级路径(逗号分隔,首尾加逗号)
  14351. type: string
  14352. userid:
  14353. description: 用户ID
  14354. type: integer
  14355. usertype:
  14356. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  14357. type: integer
  14358. required:
  14359. - userid
  14360. type: object
  14361. models.Userfavoritegoods:
  14362. properties:
  14363. goodsid:
  14364. description: 商品ID
  14365. type: integer
  14366. required:
  14367. - goodsid
  14368. type: object
  14369. models.Userinfo:
  14370. properties:
  14371. address:
  14372. description: 地址
  14373. type: string
  14374. attachment1:
  14375. description: 附件1
  14376. type: string
  14377. attachment2:
  14378. description: 附件2
  14379. type: string
  14380. bankaccount:
  14381. description: 银行帐号 (加密存储)
  14382. type: string
  14383. bankaccountname:
  14384. description: 收款人名称
  14385. type: string
  14386. bankcardfrontphotourl:
  14387. description: 银行卡正面照地址
  14388. type: string
  14389. bankid:
  14390. description: 银行编码
  14391. type: string
  14392. bankname:
  14393. description: 银行名称
  14394. type: string
  14395. biznature:
  14396. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  14397. type: integer
  14398. bizscope:
  14399. description: 企业经营范围(企业)
  14400. type: string
  14401. cardbackphotourl:
  14402. description: 证件背面图片地址
  14403. type: string
  14404. cardfrontphotourl:
  14405. description: 证件正面图片地址
  14406. type: string
  14407. cardnum:
  14408. description: 证件号码(加密存储)
  14409. type: string
  14410. cardtypeid:
  14411. description: 证件类型ID
  14412. type: integer
  14413. cityid:
  14414. description: 市
  14415. type: integer
  14416. company:
  14417. description: 公司(个人)
  14418. type: string
  14419. contactname:
  14420. description: 联系人
  14421. type: string
  14422. countryid:
  14423. description: 国家
  14424. type: integer
  14425. createtime:
  14426. description: 创建时间
  14427. type: string
  14428. creatorid:
  14429. description: 创建人
  14430. type: integer
  14431. customername:
  14432. description: 客户名称(企业名称)
  14433. type: string
  14434. districtid:
  14435. description: 地区
  14436. type: integer
  14437. email:
  14438. description: 邮件(加密存储)
  14439. type: string
  14440. fax:
  14441. description: 传真(加密存储)
  14442. type: string
  14443. halfbodyphotourl:
  14444. description: 半身照地址
  14445. type: string
  14446. hasencrypt:
  14447. description: 数据是否已加密 - 0:未加密 1:已加密
  14448. type: integer
  14449. headurl:
  14450. description: 头像地址
  14451. type: string
  14452. legalcardbackphotourl:
  14453. description: 法人身份证背面照地址
  14454. type: string
  14455. legalcardfrontphotourl:
  14456. description: 法人身份证正面照地址
  14457. type: string
  14458. legalpersonname:
  14459. description: 法人姓名(企业)
  14460. type: string
  14461. mobile:
  14462. description: 手机号码(加密存储)
  14463. type: string
  14464. mobile2:
  14465. description: 手机号码[明文-尚志]
  14466. type: string
  14467. modifierid:
  14468. description: 修改人
  14469. type: integer
  14470. modifiertime:
  14471. description: 修改时间
  14472. type: string
  14473. needinvoice:
  14474. description: 是否需要发票 - 0:不需要 1:需要
  14475. type: integer
  14476. nickname:
  14477. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  14478. type: string
  14479. openmode:
  14480. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  14481. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  14482. type: integer
  14483. otherurl:
  14484. description: 其它图片地址[使用分号分隔]
  14485. type: string
  14486. postalcode:
  14487. description: 邮政编码
  14488. type: string
  14489. provinceid:
  14490. description: 省
  14491. type: integer
  14492. qq:
  14493. description: QQ(加密存储
  14494. type: string
  14495. remark:
  14496. description: 备注
  14497. type: string
  14498. sex:
  14499. description: '用户性别 0: 女 1: 男'
  14500. type: integer
  14501. signpdfurl:
  14502. description: 签约pdf文件
  14503. type: string
  14504. telphone:
  14505. description: 联系电话(加密存储)
  14506. type: string
  14507. userid:
  14508. description: 用户ID
  14509. type: integer
  14510. userinfotype:
  14511. description: 用户信息类型 - 1:个人 2:企业
  14512. type: integer
  14513. userstatus:
  14514. description: 用户状态 - 1:正常 2:注销
  14515. type: integer
  14516. usertype:
  14517. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  14518. type: integer
  14519. wechat:
  14520. description: 微信(加密存储)
  14521. type: string
  14522. wskhinfo:
  14523. description: 开户申请信息(JSON)
  14524. type: string
  14525. required:
  14526. - userid
  14527. type: object
  14528. models.WRSConverTDetail:
  14529. properties:
  14530. convertratio:
  14531. description: 套保系数
  14532. type: number
  14533. deliverygoodscode:
  14534. description: 现货商品代码
  14535. type: string
  14536. deliverygoodsid:
  14537. description: 现货品种ID
  14538. type: integer
  14539. deliverygoodsname:
  14540. description: 现货商品名称
  14541. type: string
  14542. enumdicname:
  14543. description: 单位名称
  14544. type: string
  14545. goodsunitid:
  14546. description: 套保品种单位id
  14547. type: integer
  14548. middlegoodscode:
  14549. description: 套保品种代码
  14550. type: string
  14551. middlegoodsid:
  14552. description: 套保品种ID
  14553. type: integer
  14554. middlegoodsname:
  14555. description: 套保品种名称
  14556. type: string
  14557. modifytime:
  14558. description: 修改时间
  14559. type: string
  14560. wrstandardid:
  14561. description: 品类ID
  14562. type: integer
  14563. type: object
  14564. models.WRStandardInfo:
  14565. properties:
  14566. areauserid:
  14567. description: 所属机构
  14568. type: integer
  14569. convertfactor:
  14570. description: 标仓系数
  14571. type: number
  14572. createtime:
  14573. description: 创建时间
  14574. type: string
  14575. creatorid:
  14576. description: 创建人
  14577. type: integer
  14578. deliverygoodsid:
  14579. description: 品种ID
  14580. type: integer
  14581. deliverygoodsname:
  14582. description: 交割商品名称
  14583. type: string
  14584. factoryitemjson:
  14585. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  14586. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  14587. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  14588. 逗号分隔'
  14589. type: string
  14590. isvalid:
  14591. description: 是否有效 - 0:无效 1:有效
  14592. type: integer
  14593. minivalue:
  14594. description: 最小变动值
  14595. type: integer
  14596. minivaluedp:
  14597. description: 最小变动值小数位
  14598. type: integer
  14599. realminivalue:
  14600. description: 实际最小变动值
  14601. type: integer
  14602. realminivaluedp:
  14603. description: 实际最小变动值小数位
  14604. type: integer
  14605. remark:
  14606. description: 备注
  14607. type: string
  14608. unitid:
  14609. description: 单位ID
  14610. type: integer
  14611. unitname:
  14612. description: 单位
  14613. type: string
  14614. updatetime:
  14615. description: 更新时间
  14616. type: string
  14617. updatorid:
  14618. description: 更新人
  14619. type: integer
  14620. wrsstatus:
  14621. description: 状态 - 作废 - 0:未激活 1:正常
  14622. type: integer
  14623. wrstandardcode:
  14624. description: 现货品类代码
  14625. type: string
  14626. wrstandardid:
  14627. description: 现货品类ID(SEQ_WRSTANDARD)
  14628. type: integer
  14629. wrstandardname:
  14630. description: 现货品类名称
  14631. type: string
  14632. required:
  14633. - wrstandardid
  14634. type: object
  14635. models.WRTradeBargainApply:
  14636. properties:
  14637. accountid:
  14638. description: 摘牌资金账号
  14639. type: integer
  14640. applyprice:
  14641. description: 申请价格(议价价格)
  14642. type: string
  14643. applyqty:
  14644. description: 摘牌数量(议价数量)
  14645. type: number
  14646. applyremark:
  14647. description: 申请备注
  14648. type: string
  14649. applystatus:
  14650. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  14651. type: integer
  14652. applytime:
  14653. description: 申请时间(议价时间)
  14654. type: string
  14655. begindate:
  14656. description: 开始交易日(yyyymmdd)
  14657. type: string
  14658. buyorsell:
  14659. description: 买卖(挂牌类型) - 0:买 1:卖
  14660. type: integer
  14661. confirmremark:
  14662. description: 确认备注
  14663. type: string
  14664. confirmtime:
  14665. description: 确认时间
  14666. type: string
  14667. confirmuserid:
  14668. description: 确认人
  14669. type: integer
  14670. deliverygoodscode:
  14671. description: 品种代码
  14672. type: string
  14673. deliverygoodsid:
  14674. description: 品种ID
  14675. type: integer
  14676. deliverygoodsname:
  14677. description: 品种名称
  14678. type: string
  14679. deliverymonth:
  14680. description: 交收月
  14681. type: string
  14682. enddate:
  14683. description: 结束交易日(yyyymmdd)
  14684. type: string
  14685. enumdicname:
  14686. description: 单位名称
  14687. type: string
  14688. fixedprice:
  14689. description: 挂牌价格
  14690. type: number
  14691. handlestatus:
  14692. description: 处理状态
  14693. type: integer
  14694. marginvalue:
  14695. description: 履约保证金比例
  14696. type: number
  14697. marketid:
  14698. description: 市场ID
  14699. type: integer
  14700. matchaccountid:
  14701. description: 挂牌方资金账号
  14702. type: integer
  14703. matchuserid:
  14704. description: 挂牌方用户id
  14705. type: integer
  14706. matchusername:
  14707. description: 挂牌方用户名称(已脱敏)
  14708. type: string
  14709. minivalue:
  14710. description: 现货商品最小变动值
  14711. type: integer
  14712. optioncompare:
  14713. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14714. type: string
  14715. orderqty:
  14716. description: 挂牌数量
  14717. type: integer
  14718. refprice:
  14719. description: 参考价格
  14720. type: string
  14721. retcode:
  14722. description: 委托返回代码
  14723. type: integer
  14724. templatename:
  14725. description: 履约方式(履约模板名称)
  14726. type: string
  14727. tradedate:
  14728. description: 交易日(yyyyMMdd)
  14729. type: string
  14730. userid:
  14731. description: 摘牌人用户ID(议价人ID)
  14732. type: integer
  14733. username:
  14734. description: 议价人名字(已脱敏)
  14735. type: string
  14736. validtime:
  14737. description: 有效期限
  14738. type: string
  14739. warehouseid:
  14740. description: 仓库ID
  14741. type: integer
  14742. warehousename:
  14743. description: 仓库名称
  14744. type: string
  14745. wrbargainid:
  14746. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  14747. type: string
  14748. wrfactortypeid:
  14749. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14750. type: string
  14751. wrfactortypename:
  14752. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14753. type: string
  14754. wrstandardcode:
  14755. description: 现货商品代码
  14756. type: string
  14757. wrstandardid:
  14758. description: 现货商品ID
  14759. type: integer
  14760. wrstandardname:
  14761. description: 商品名称
  14762. type: string
  14763. wrtradeorderid:
  14764. description: 关联委托单ID
  14765. type: string
  14766. wrtypename:
  14767. description: 商品
  14768. type: string
  14769. type: object
  14770. models.Warehouseinfo:
  14771. properties:
  14772. address:
  14773. description: 详细地址
  14774. type: string
  14775. areauserid:
  14776. description: 所属机构
  14777. type: integer
  14778. autoid:
  14779. description: 自增ID
  14780. type: integer
  14781. cityid:
  14782. description: 市
  14783. type: integer
  14784. contactname:
  14785. description: 联系人
  14786. type: string
  14787. contactnum:
  14788. description: 联系电话
  14789. type: string
  14790. countryid:
  14791. description: 国家
  14792. type: integer
  14793. createtime:
  14794. description: 创建时间
  14795. type: string
  14796. districtid:
  14797. description: 区
  14798. type: integer
  14799. hasvideo:
  14800. description: 是否有视频 - 0:无 1:有
  14801. type: integer
  14802. provinceid:
  14803. description: 省
  14804. type: integer
  14805. remark:
  14806. description: 审核备注
  14807. type: string
  14808. videourl:
  14809. description: 视频地址
  14810. type: string
  14811. warehousecode:
  14812. description: 仓库代码
  14813. type: string
  14814. warehousename:
  14815. description: 仓库名称
  14816. type: string
  14817. warehousestatus:
  14818. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  14819. type: integer
  14820. warehousetype:
  14821. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  14822. type: integer
  14823. required:
  14824. - autoid
  14825. - warehousecode
  14826. type: object
  14827. models.WrAverageTradePrice:
  14828. properties:
  14829. averageprice:
  14830. description: 成交均价
  14831. type: number
  14832. tradedate:
  14833. description: 交易日yyyymm
  14834. type: string
  14835. type: object
  14836. models.WrBsGoodsInfo:
  14837. properties:
  14838. buyorsell:
  14839. description: 买卖方向 0-买 1-卖
  14840. type: integer
  14841. goodsid:
  14842. description: 交易合约ID
  14843. type: integer
  14844. lstitem:
  14845. description: 商品信息项
  14846. items:
  14847. $ref: '#/definitions/models.WrTypeItem'
  14848. type: array
  14849. lststep:
  14850. description: 履约规则
  14851. items:
  14852. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  14853. type: array
  14854. type: object
  14855. models.WrBuybackDetail:
  14856. properties:
  14857. buybackamount:
  14858. description: 回购金额
  14859. type: number
  14860. buybackqty:
  14861. description: 回购数量
  14862. type: number
  14863. buybackreleasemargin:
  14864. description: 回购释放保证金
  14865. type: number
  14866. buybacktime:
  14867. description: 回购时间
  14868. type: string
  14869. errordesc:
  14870. description: 错误描述
  14871. type: string
  14872. handlestatus:
  14873. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  14874. type: integer
  14875. relatedwrid:
  14876. description: 关联仓单ID
  14877. type: integer
  14878. scfcontractid:
  14879. description: SCF合同ID
  14880. type: string
  14881. scfwrbuybackid:
  14882. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  14883. type: integer
  14884. tradedate:
  14885. description: 交易日(yyyyMMdd)
  14886. type: string
  14887. type: object
  14888. models.WrDeliveryAvalidHoldLB:
  14889. properties:
  14890. accountid:
  14891. description: 资金账号
  14892. type: integer
  14893. avalidqty:
  14894. description: 数量(可点选数量)
  14895. type: number
  14896. deliverygoodsid:
  14897. description: 品种id
  14898. type: integer
  14899. enumdicname:
  14900. description: 单位名称
  14901. type: string
  14902. goodsid:
  14903. description: x合约商品id
  14904. type: integer
  14905. ladingbillid:
  14906. description: 提单id
  14907. type: string
  14908. pgoodscode:
  14909. description: p商品代码(点价合约)
  14910. type: string
  14911. pgoodsid:
  14912. description: p商品id(点价合约)
  14913. type: integer
  14914. pgoodsname:
  14915. description: p商品名称(点价合约)
  14916. type: string
  14917. pricemove:
  14918. description: 升贴水
  14919. type: number
  14920. subnum:
  14921. description: 提单子id
  14922. type: integer
  14923. userid:
  14924. description: 用户id
  14925. type: integer
  14926. username:
  14927. description: 仓单持有人
  14928. type: string
  14929. warehousecode:
  14930. description: 仓库代码
  14931. type: string
  14932. warehouseid:
  14933. description: 仓库id
  14934. type: integer
  14935. warehousename:
  14936. description: 仓库名称
  14937. type: string
  14938. wrfactortypeid:
  14939. description: 仓单要素id
  14940. type: string
  14941. wrstandardcode:
  14942. description: 品代码
  14943. type: string
  14944. wrstandardid:
  14945. description: 品类d
  14946. type: integer
  14947. wrstandardname:
  14948. description: 品类名称
  14949. type: string
  14950. wrtypename:
  14951. description: 商品
  14952. type: string
  14953. xgoodscode:
  14954. description: x合约代码
  14955. type: string
  14956. xgoodsname:
  14957. description: x合约名称
  14958. type: string
  14959. type: object
  14960. models.WrDeliveryDetail:
  14961. properties:
  14962. accountid:
  14963. description: 账号ID
  14964. type: integer
  14965. averageprice:
  14966. description: 交割均价 = 交割金额 / 交割数量
  14967. type: number
  14968. begindate:
  14969. description: 开始交易日(yyyymmdd)
  14970. type: string
  14971. buyorsell:
  14972. description: 方向 - 0:买 1:卖
  14973. type: integer
  14974. deliveryamount:
  14975. description: 货款金额(X总货款+P总货款)
  14976. type: number
  14977. deliveryid:
  14978. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  14979. type: string
  14980. deliveryorderid:
  14981. description: 申报单号
  14982. type: string
  14983. deliverypricemove:
  14984. description: 升贴水(升贴水总额)
  14985. type: number
  14986. deliveryqty:
  14987. description: 交收数量(点选数量)
  14988. type: number
  14989. deliverystatus:
  14990. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  14991. type: integer
  14992. deliverytime:
  14993. description: 交割时间
  14994. type: string
  14995. deliverytotalamount:
  14996. description: 交收金额
  14997. type: number
  14998. enddate:
  14999. description: 结束交易日(yyyymmdd)
  15000. type: string
  15001. enumdicname:
  15002. description: 单位名称
  15003. type: string
  15004. matchaccountid:
  15005. description: 对手账号ID
  15006. type: integer
  15007. matchusername:
  15008. description: 对手方名称(仓单持有人)
  15009. type: string
  15010. p1goodsremainamount:
  15011. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  15012. type: number
  15013. pdeliverycloseqty:
  15014. description: p合约平仓数量
  15015. type: number
  15016. pdeliveryprice:
  15017. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  15018. type: number
  15019. pgoodscode:
  15020. description: 商品代码
  15021. type: string
  15022. pgoodsid:
  15023. description: p点选合约id
  15024. type: integer
  15025. pgoodsname:
  15026. description: 商品名称
  15027. type: string
  15028. ppricemode:
  15029. description: 点价价格方式 - 1:商品价 2:固定值
  15030. type: integer
  15031. tradedate:
  15032. description: 交易日(yyyymmdd)
  15033. type: string
  15034. userid:
  15035. description: 用户id
  15036. type: integer
  15037. username:
  15038. description: 用户名称
  15039. type: string
  15040. warehousename:
  15041. description: 仓库名称
  15042. type: string
  15043. wrfactortypeid:
  15044. description: 仓单要素类型ID
  15045. type: string
  15046. wrtypename:
  15047. description: 商品
  15048. type: string
  15049. xdeliverycloseqty:
  15050. description: 合约数量
  15051. type: number
  15052. xgoodsamount:
  15053. description: 合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)
  15054. type: number
  15055. xgoodscode:
  15056. description: 商品代码
  15057. type: string
  15058. xgoodsid:
  15059. description: x交易合约ID
  15060. type: integer
  15061. xgoodsname:
  15062. description: 商品名称
  15063. type: string
  15064. type: object
  15065. models.WrDeliveryGoodsSection:
  15066. properties:
  15067. dglst:
  15068. description: 板块商品列表
  15069. items:
  15070. $ref: '#/definitions/models.WrDeliveryGoodsSectionConfig'
  15071. type: array
  15072. imagepath:
  15073. description: 图片地址
  15074. type: string
  15075. orderindex:
  15076. description: 排序
  15077. type: integer
  15078. sectionid:
  15079. description: 版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType
  15080. = 1的版块1 - 云融指数
  15081. type: integer
  15082. sectionname:
  15083. description: 版块名称
  15084. type: string
  15085. sectiontype:
  15086. description: 版块类型 - 1:指数版块 2:普通版块
  15087. type: integer
  15088. type: object
  15089. models.WrDeliveryGoodsSectionConfig:
  15090. properties:
  15091. deliverygoodscode:
  15092. description: 现货商品代码
  15093. type: string
  15094. deliverygoodsid:
  15095. description: 现货品种ID(SEQ_DELIVERYGOODS)
  15096. type: integer
  15097. deliverygoodsname:
  15098. description: 现货商品名称
  15099. type: string
  15100. orderindex:
  15101. description: 排序
  15102. type: integer
  15103. type: object
  15104. models.WrFAProductDetail:
  15105. properties:
  15106. accountid:
  15107. description: 资金账号
  15108. type: integer
  15109. areauserid:
  15110. description: 金融机构ID
  15111. type: integer
  15112. financingdays:
  15113. description: 天数(天)
  15114. type: integer
  15115. interestminlen:
  15116. description: 最小起息天数
  15117. type: integer
  15118. interestrate:
  15119. description: 利率
  15120. type: number
  15121. interestratemode:
  15122. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  15123. type: integer
  15124. interestsettlemode:
  15125. description: 结息方式 - 1:按日结息 3:按月结息
  15126. type: integer
  15127. interestsettlevalue:
  15128. description: 结息方式值
  15129. type: integer
  15130. isautoloan:
  15131. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  15132. type: integer
  15133. loantag:
  15134. description: '放款标识: "放款快" 或者为空'
  15135. type: string
  15136. marginratio:
  15137. description: 保证金比率质押率 - [仓单质押]
  15138. type: number
  15139. productdetailid:
  15140. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  15141. type: integer
  15142. productid:
  15143. description: 金融产品ID
  15144. type: integer
  15145. productname:
  15146. description: 产品名称
  15147. type: string
  15148. updatetime:
  15149. description: 更新时间
  15150. type: string
  15151. username:
  15152. description: 融出方
  15153. type: string
  15154. type: object
  15155. models.WrFactorTypeInfo:
  15156. properties:
  15157. deliverygoodscode:
  15158. description: 品种代码
  15159. type: string
  15160. deliverygoodsname:
  15161. description: 品种名称
  15162. type: string
  15163. dgfactoryitemid:
  15164. description: 选择项id
  15165. type: integer
  15166. dgfactoryitemtypeid:
  15167. description: 要素选择项ID (1-仓库 2-品牌)
  15168. type: integer
  15169. dgfactoryitemvalue:
  15170. description: 要素项值
  15171. type: string
  15172. itemtypename:
  15173. description: 要素项名称
  15174. type: string
  15175. optioncompare:
  15176. description: 选择比较串
  15177. type: string
  15178. warehouseid:
  15179. description: 仓库id
  15180. type: integer
  15181. wrfactortypeid:
  15182. description: 仓单要素ID
  15183. type: string
  15184. wrfactortypename:
  15185. description: 要素名称
  15186. type: string
  15187. wrfactortypename2:
  15188. description: 要素名称(不含仓库)
  15189. type: string
  15190. wrstandardcode:
  15191. description: 品类代码
  15192. type: string
  15193. wrstandardid:
  15194. description: 品类id
  15195. type: integer
  15196. wrstandardname:
  15197. description: 品类名称
  15198. type: string
  15199. type: object
  15200. models.WrFilterItem:
  15201. properties:
  15202. itemcode:
  15203. description: 代码
  15204. type: string
  15205. itemid:
  15206. description: 项id
  15207. type: integer
  15208. itemname:
  15209. description: 名称
  15210. type: string
  15211. itemtype:
  15212. description: 类型 1-品种 2-品类(商品) 3-仓库
  15213. type: integer
  15214. type: object
  15215. models.WrFinanceBuyApply:
  15216. properties:
  15217. applydate:
  15218. description: 申请时间
  15219. type: string
  15220. applystatus:
  15221. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  15222. type: integer
  15223. applyuserid:
  15224. description: 申请人
  15225. type: integer
  15226. auditdate:
  15227. description: 审核时间
  15228. type: string
  15229. auditremark:
  15230. description: 审核备注
  15231. type: string
  15232. audituserid:
  15233. description: 审核人
  15234. type: integer
  15235. buyaccountid:
  15236. description: 买方资金账号
  15237. type: integer
  15238. buyorsell:
  15239. description: 买卖 - 0:买 1:卖
  15240. type: integer
  15241. buyuserid:
  15242. description: 买方用户ID
  15243. type: integer
  15244. buyusername:
  15245. description: 买方名称
  15246. type: string
  15247. buywrtradeorderid:
  15248. description: 融资方买委托单ID
  15249. type: string
  15250. deliverygoodscode:
  15251. description: 品种代码
  15252. type: string
  15253. deliverygoodsid:
  15254. description: 品种ID
  15255. type: integer
  15256. deliverygoodsname:
  15257. description: 品种名称
  15258. type: string
  15259. deliverymonth:
  15260. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  15261. type: string
  15262. enumdicname:
  15263. description: 单位名称
  15264. type: string
  15265. financeaccountid:
  15266. description: 融资方资金帐户ID
  15267. type: integer
  15268. financeapplyid:
  15269. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15270. type: string
  15271. financeareauserid:
  15272. description: 融资方用户ID
  15273. type: string
  15274. financename:
  15275. description: 融出方名称
  15276. type: string
  15277. financetype:
  15278. description: 融资类型 1-融资回购
  15279. type: integer
  15280. financingdays:
  15281. description: 天数(天)
  15282. type: integer
  15283. freezebuymargin:
  15284. description: 冻结融资保证金(买方)
  15285. type: number
  15286. handleremark:
  15287. description: 处理备注
  15288. type: string
  15289. handlestatus:
  15290. description: 处理状态
  15291. type: integer
  15292. interestminlen:
  15293. description: 最小起息天数
  15294. type: integer
  15295. interestrate:
  15296. description: 利率
  15297. type: number
  15298. interestratemode:
  15299. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  15300. type: integer
  15301. interestsettlemode:
  15302. description: 结息方式 - 1:按日结息 3:按月结息
  15303. type: integer
  15304. interestsettlevalue:
  15305. description: 结息方式值
  15306. type: integer
  15307. isautoloan:
  15308. description: 是否自动放款 - 0:手动 1:自动
  15309. type: integer
  15310. marginratio:
  15311. description: 保证金比率质押率 - [仓单质押]
  15312. type: number
  15313. marketid:
  15314. description: 市场ID
  15315. type: integer
  15316. minivalue:
  15317. description: 现货商品最小变动值
  15318. type: integer
  15319. optioncompare:
  15320. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15321. type: string
  15322. orderqty:
  15323. description: 委托数量(商品数量)
  15324. type: number
  15325. productdetailid:
  15326. description: 产品组合ID
  15327. type: integer
  15328. productid:
  15329. description: 金融产品ID
  15330. type: integer
  15331. productname:
  15332. description: 产品名称
  15333. type: string
  15334. remark:
  15335. description: 备注
  15336. type: string
  15337. scfcontractid:
  15338. description: 仓单回购合同ID
  15339. type: string
  15340. sellaccountid:
  15341. description: 卖方资金账号
  15342. type: integer
  15343. selluserid:
  15344. description: 卖方用户ID
  15345. type: integer
  15346. sellwrtradeorderid:
  15347. description: 卖方委托单ID
  15348. type: string
  15349. tradeamount:
  15350. description: 成交金额(借款金额)
  15351. type: number
  15352. tradedate:
  15353. description: 交易日(yyyyMMdd)
  15354. type: string
  15355. tradeprice:
  15356. description: 成交价格
  15357. type: number
  15358. warehouseid:
  15359. description: 仓库ID
  15360. type: integer
  15361. warehousename:
  15362. description: 仓库名称
  15363. type: string
  15364. wrfactortypeid:
  15365. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15366. type: string
  15367. wrfactortypename:
  15368. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15369. type: string
  15370. wrpricetype:
  15371. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  15372. type: integer
  15373. wrstandardcode:
  15374. description: 现货商品代码
  15375. type: string
  15376. wrstandardid:
  15377. description: 现货商品ID
  15378. type: integer
  15379. wrstandardname:
  15380. description: 商品名称
  15381. type: string
  15382. wrtypename:
  15383. description: 商品
  15384. type: string
  15385. type: object
  15386. models.WrFriendApply:
  15387. properties:
  15388. applicantid:
  15389. description: 申请人
  15390. type: integer
  15391. applyname:
  15392. description: 申请人名称
  15393. type: string
  15394. applysrc:
  15395. description: 申请来源 - 1:管理端 2:终端
  15396. type: integer
  15397. applystatus:
  15398. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  15399. type: integer
  15400. applytime:
  15401. description: 申请时间
  15402. type: string
  15403. auditname:
  15404. description: 审核人名称
  15405. type: string
  15406. auditorid:
  15407. description: 审核人
  15408. type: integer
  15409. auditremark:
  15410. description: 审核备注
  15411. type: string
  15412. auditsrc:
  15413. description: 审核来源 - 1:管理端 2:终端
  15414. type: integer
  15415. audittime:
  15416. description: 审核时间
  15417. type: string
  15418. friendapplyid:
  15419. description: 申请ID(SEQ_FRIENDAPPLY)
  15420. type: string
  15421. friendname:
  15422. description: 好友名字(已脱敏)
  15423. type: string
  15424. frienduserid:
  15425. description: 好友用户ID
  15426. type: string
  15427. remark:
  15428. description: 备注
  15429. type: string
  15430. userid:
  15431. description: 申请人用户ID
  15432. type: integer
  15433. type: object
  15434. models.WrFtDeliveryGoods:
  15435. properties:
  15436. deliverygoodscode:
  15437. description: 品种代码
  15438. type: string
  15439. deliverygoodsid:
  15440. description: 品种ID
  15441. type: integer
  15442. deliverygoodsname:
  15443. description: 品种名称
  15444. type: string
  15445. wdlst:
  15446. description: 商品列表
  15447. items:
  15448. $ref: '#/definitions/models.WrFtWrstandard'
  15449. type: array
  15450. type: object
  15451. models.WrFtWrstandard:
  15452. properties:
  15453. enumdicname:
  15454. description: 单位名称
  15455. type: string
  15456. minivalue:
  15457. description: 最小变动值
  15458. type: integer
  15459. wrstandardcode:
  15460. description: 现货商品代码
  15461. type: string
  15462. wrstandardid:
  15463. description: 现货商品ID
  15464. type: integer
  15465. wrstandardname:
  15466. description: 商品名称
  15467. type: string
  15468. type: object
  15469. models.WrGoodsInfo:
  15470. properties:
  15471. haswr:
  15472. description: 0:仓单预售 1:仓单贸易
  15473. type: integer
  15474. lstitem:
  15475. description: 商品信息项
  15476. items:
  15477. $ref: '#/definitions/models.WrTypeItem'
  15478. type: array
  15479. lststep:
  15480. description: 履约规则
  15481. items:
  15482. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  15483. type: array
  15484. marketid:
  15485. description: 市场id
  15486. type: integer
  15487. type: object
  15488. models.WrGoodsPerformanceStep:
  15489. properties:
  15490. autoid:
  15491. description: AutoID
  15492. type: integer
  15493. isauto:
  15494. description: 是否自动 - 0:不自动 1:自动
  15495. type: integer
  15496. remark:
  15497. description: 备注
  15498. type: string
  15499. stepdate:
  15500. description: 天数信息(T+N)
  15501. type: string
  15502. stepdays:
  15503. description: 距离上一步天数
  15504. type: integer
  15505. stepindex:
  15506. description: 步骤序号
  15507. type: integer
  15508. stepinfo:
  15509. description: 步骤信息(步骤名称+步骤值)
  15510. type: string
  15511. steptypeid:
  15512. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  15513. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  15514. type: integer
  15515. steptypename:
  15516. description: 步骤名称
  15517. type: string
  15518. stepvalue:
  15519. description: 步骤值
  15520. type: number
  15521. templateid:
  15522. description: 履约计划模板ID
  15523. type: integer
  15524. type: object
  15525. models.WrHoldLB:
  15526. properties:
  15527. accountid:
  15528. description: 持有人帐户ID
  15529. type: integer
  15530. createtime:
  15531. description: 创建时间(过户时间)
  15532. type: string
  15533. deliverygoodscode:
  15534. description: 品种代码
  15535. type: string
  15536. deliverygoodsid:
  15537. description: 品种ID
  15538. type: integer
  15539. deliverygoodsname:
  15540. description: 品种名称
  15541. type: string
  15542. enableqty:
  15543. description: 可用数量
  15544. type: number
  15545. enumdicname:
  15546. description: 单位名称
  15547. type: string
  15548. freezerqty:
  15549. description: 冻结数量
  15550. type: number
  15551. ladingbillid:
  15552. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  15553. type: string
  15554. minivalue:
  15555. description: 现货商品最小变动值
  15556. type: integer
  15557. optioncompare:
  15558. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15559. type: string
  15560. parentsubnum:
  15561. description: 拆分父子单号
  15562. type: integer
  15563. pledgeqty:
  15564. description: 质押数量
  15565. type: number
  15566. qty:
  15567. description: 数量
  15568. type: number
  15569. subnum:
  15570. description: 提单子单号
  15571. type: integer
  15572. tradedate:
  15573. description: 交易日(yyyyMMdd)
  15574. type: string
  15575. userid:
  15576. description: 持有人ID
  15577. type: integer
  15578. warehouseid:
  15579. description: 仓库ID
  15580. type: integer
  15581. warehousename:
  15582. description: 仓库名称
  15583. type: string
  15584. wrfactortypeid:
  15585. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15586. type: string
  15587. wrfactortypename:
  15588. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15589. type: string
  15590. wrholdeno:
  15591. description: 仓单编号
  15592. type: string
  15593. wrid:
  15594. description: 仓单变更ID
  15595. type: string
  15596. wrstandardcode:
  15597. description: 现货商品代码
  15598. type: string
  15599. wrstandardid:
  15600. description: 现货商品ID
  15601. type: integer
  15602. wrstandardname:
  15603. description: 商品名称
  15604. type: string
  15605. wrtypename:
  15606. description: 商品
  15607. type: string
  15608. type: object
  15609. models.WrMarketTradeConfig:
  15610. properties:
  15611. basisdownratio:
  15612. description: 浮动价基差下限比例(仓单贸易)
  15613. type: number
  15614. basisupratio:
  15615. description: 浮动价基差上限比例(仓单贸易)
  15616. type: number
  15617. buychargealgorithm:
  15618. description: 买方手续费收取方式 1:比率 2:固定
  15619. type: integer
  15620. buychargealgorithm2:
  15621. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  15622. type: integer
  15623. buychargealgorithmvalue:
  15624. description: 买方手续费设置值(交易所部分)
  15625. type: number
  15626. buychargealgorithmvalue2:
  15627. description: 买方手续费设置值(会员部分)
  15628. type: number
  15629. buychargealgorithmvalue3:
  15630. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  15631. type: number
  15632. buychargealgorithmvalue4:
  15633. description: 回购买方手续费设置值(会员部分) --77:现货商城
  15634. type: number
  15635. buyfirstmarginalgorithm:
  15636. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  15637. type: integer
  15638. buyfirstmarginvalue:
  15639. description: 买方出价保证金设置值 - [竞拍]
  15640. type: number
  15641. buymarginalgorithm:
  15642. description: 买方保证金方式 - 1:比率 2:固定
  15643. type: integer
  15644. buymarginvalue:
  15645. description: 买方保证金设置值
  15646. type: number
  15647. buyreleaseratio:
  15648. description: 买方释放比率[2:分步履约]
  15649. type: number
  15650. executemode:
  15651. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  15652. type: integer
  15653. executeside:
  15654. description: 执行方[2:分步履约] - 1:买方 2:卖方
  15655. type: integer
  15656. failedchargealgorithm:
  15657. description: 流拍手续费收取方式 1:比率 2:固定
  15658. type: integer
  15659. failedchargevalue:
  15660. description: 流拍手续费设置值
  15661. type: number
  15662. failedchargevalue2:
  15663. description: 流拍卖方手续费设置值
  15664. type: number
  15665. holddays:
  15666. description: 合同期限[2:分步履约]
  15667. type: integer
  15668. marketid:
  15669. description: 市场ID-仓单贸易、竞拍、预售
  15670. type: integer
  15671. minqty:
  15672. description: 最小执行量[2:分步履约]
  15673. type: number
  15674. modifierid:
  15675. description: 修改人
  15676. type: integer
  15677. performancetempid:
  15678. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  15679. 立即执行(-1)
  15680. type: integer
  15681. performancetempid2:
  15682. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  15683. 立即执行
  15684. type: integer
  15685. performancetempid2s:
  15686. description: 履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  15687. - 履约方式: 立即执行
  15688. type: string
  15689. performancetempids:
  15690. description: 履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  15691. - 履约方式: 立即执行(-1)
  15692. type: string
  15693. performanceway:
  15694. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  15695. type: integer
  15696. sellchargealgorithm:
  15697. description: 卖方手续费收取方式 1:比率 2:固定
  15698. type: integer
  15699. sellchargealgorithm2:
  15700. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  15701. type: integer
  15702. sellchargealgorithmvalue:
  15703. description: 卖方手续费设置值(交易所部分)
  15704. type: number
  15705. sellchargealgorithmvalue2:
  15706. description: 卖方手续费设置值(会员部分)
  15707. type: number
  15708. sellchargealgorithmvalue3:
  15709. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  15710. type: number
  15711. sellchargealgorithmvalue4:
  15712. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  15713. type: number
  15714. sellmarginalgorithm:
  15715. description: 卖方保证金方式 - 1:比率 2:固定
  15716. type: integer
  15717. sellmarginvalue:
  15718. description: 卖方保证金设置值
  15719. type: number
  15720. sellmarginvalue2:
  15721. description: 卖方保证金设置值(无仓单)
  15722. type: number
  15723. sellreleaseratio:
  15724. description: 卖方释放比率[2:分步履约]
  15725. type: number
  15726. updatetime:
  15727. description: 更新时间
  15728. type: string
  15729. type: object
  15730. models.WrOrderDetail:
  15731. properties:
  15732. accountid:
  15733. description: 交易账号(资金账号)
  15734. type: integer
  15735. allfriendsflag:
  15736. description: 是否全好友可见 - 0:否 1:是
  15737. type: integer
  15738. amount:
  15739. description: 挂牌金额 = 委托数量 * 固定价或升贴水
  15740. type: number
  15741. bannerpicurl:
  15742. description: Banner图
  15743. type: string
  15744. begindate:
  15745. description: 开始交易日(yyyymmdd)
  15746. type: string
  15747. buyorsell:
  15748. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  15749. type: integer
  15750. canbargain:
  15751. description: 是否可议价 - 0:不可 1:可
  15752. type: integer
  15753. cancelqty:
  15754. description: 撤销数量
  15755. type: number
  15756. canpart:
  15757. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  15758. type: integer
  15759. delistminqty:
  15760. description: 起摘数量
  15761. type: integer
  15762. deliverygoodscode:
  15763. description: 品种代码
  15764. type: string
  15765. deliverygoodsid:
  15766. description: 品种ID
  15767. type: integer
  15768. deliverygoodsname:
  15769. description: 品种名称
  15770. type: string
  15771. deliverymonth:
  15772. description: 交收月
  15773. type: string
  15774. enddate:
  15775. description: 结束交易日(yyyymmdd)
  15776. type: string
  15777. enumdicname:
  15778. description: 单位名称
  15779. type: string
  15780. fixedprice:
  15781. description: 固定价格 - [挂牌]
  15782. type: number
  15783. freezecharge:
  15784. description: 冻结手续费
  15785. type: number
  15786. freezemargin:
  15787. description: 冻结保证金(保证金)
  15788. type: number
  15789. futupricemove:
  15790. description: 期货升贴水
  15791. type: number
  15792. futushow:
  15793. description: 期货合约/升贴水
  15794. type: string
  15795. goodscode:
  15796. description: 期货合约
  15797. type: string
  15798. goodsid:
  15799. description: 期货商品id
  15800. type: integer
  15801. goodsname:
  15802. description: 商品名称
  15803. type: string
  15804. haswr:
  15805. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  15806. type: integer
  15807. isspecified:
  15808. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  15809. type: integer
  15810. ladingbillid:
  15811. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  15812. type: string
  15813. marginvalue:
  15814. description: 保证金设置值(履约保证金)
  15815. type: number
  15816. marketid:
  15817. description: 市场ID
  15818. type: integer
  15819. matchusername:
  15820. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  15821. type: string
  15822. minivalue:
  15823. description: 现货商品最小变动值
  15824. type: integer
  15825. optioncompare:
  15826. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15827. type: string
  15828. orderqty:
  15829. description: 委托数量
  15830. type: number
  15831. ordertime:
  15832. description: 委托时间(挂牌时间)
  15833. type: string
  15834. performancetemplateid:
  15835. description: 履约模板id
  15836. type: integer
  15837. pricemove:
  15838. description: 升贴水(浮动价时填写) - [挂牌]
  15839. type: number
  15840. taname:
  15841. description: 交易用户名称(资金账号名称)
  15842. type: string
  15843. tradedate:
  15844. description: 交易日(yyyyMMdd)
  15845. type: string
  15846. tradeprice:
  15847. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  15848. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  15849. type: number
  15850. tradeqty:
  15851. description: 成交数量
  15852. type: number
  15853. userid:
  15854. description: 用户ID
  15855. type: integer
  15856. validtime:
  15857. description: 挂牌有效期
  15858. type: string
  15859. validtype:
  15860. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  15861. type: integer
  15862. warehouseid:
  15863. description: 仓库ID
  15864. type: integer
  15865. warehousename:
  15866. description: 仓库名称
  15867. type: string
  15868. wrfactortypeid:
  15869. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15870. type: string
  15871. wrfactortypename:
  15872. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15873. type: string
  15874. wrpricetype:
  15875. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  15876. type: integer
  15877. wrstandardcode:
  15878. description: 现货商品代码
  15879. type: string
  15880. wrstandardid:
  15881. description: 现货商品ID
  15882. type: integer
  15883. wrstandardname:
  15884. description: 商品名称
  15885. type: string
  15886. wrtradeorderid:
  15887. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15888. type: string
  15889. wrtradeorderstatus:
  15890. 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:撤单解冻贷款失败
  15891. type: integer
  15892. wrtradetype:
  15893. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  15894. type: integer
  15895. wrtypename:
  15896. description: 商品
  15897. type: string
  15898. type: object
  15899. models.WrOrderQuote:
  15900. properties:
  15901. bannerpicurl:
  15902. description: Banner图
  15903. type: string
  15904. buyprice:
  15905. description: 买价
  15906. type: number
  15907. buypricemove:
  15908. description: 买升贴水(基差)
  15909. type: number
  15910. buyqty:
  15911. description: 买量
  15912. type: number
  15913. deliverygoodscode:
  15914. description: 品种代码
  15915. type: string
  15916. deliverygoodsid:
  15917. description: 品种id
  15918. type: integer
  15919. deliverygoodsname:
  15920. description: 品种名称
  15921. type: string
  15922. deliverymonth:
  15923. description: 交收月
  15924. type: string
  15925. enumdicname:
  15926. description: 单位名称
  15927. type: string
  15928. goodscode:
  15929. description: 商品合约(浮动价列表才有)
  15930. type: string
  15931. goodsid:
  15932. description: 商品id(浮动价列表才有)
  15933. type: integer
  15934. minivalue:
  15935. description: 现货商品最小变动值
  15936. type: integer
  15937. pictureurls:
  15938. description: 详情图片(逗号分隔)
  15939. type: string
  15940. sellprice:
  15941. description: 卖价
  15942. type: number
  15943. sellpricemove:
  15944. description: 卖升贴水(基差)
  15945. type: number
  15946. sellqty:
  15947. description: 卖量
  15948. type: number
  15949. warehousecode:
  15950. description: 仓库代码
  15951. type: string
  15952. warehouseid:
  15953. description: 仓库id
  15954. type: integer
  15955. warehousename:
  15956. description: 仓库名称
  15957. type: string
  15958. wrfactortypeid:
  15959. description: 仓单要素id
  15960. type: string
  15961. wrfactortypename:
  15962. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15963. type: string
  15964. wrgoodsname:
  15965. description: 商品(商品名称+仓库要素名称 拼接)
  15966. type: string
  15967. wrstandardcode:
  15968. description: 商品代码
  15969. type: string
  15970. wrstandardid:
  15971. description: 商品id
  15972. type: integer
  15973. wrstandardname:
  15974. description: 商品名称
  15975. type: string
  15976. type: object
  15977. models.WrOrderQuoteDetail:
  15978. properties:
  15979. buyorsell:
  15980. description: 买卖 - 0:买 1:卖
  15981. type: integer
  15982. delistminqty:
  15983. description: 起摘数量
  15984. type: number
  15985. deliverymonth:
  15986. description: 交收月
  15987. type: string
  15988. enumdicname:
  15989. description: 单位名称
  15990. type: string
  15991. fixedprice:
  15992. description: 买(卖)价
  15993. type: number
  15994. marketid:
  15995. description: 市场id
  15996. type: integer
  15997. minivalue:
  15998. description: 现货商品最小变动值
  15999. type: integer
  16000. orderqty:
  16001. description: 买(卖)量(=委托量-成交量)
  16002. type: number
  16003. ordertime:
  16004. description: 委托时间
  16005. type: string
  16006. pricemove:
  16007. description: 买(卖)升贴水- 基差
  16008. type: number
  16009. userid:
  16010. description: 购买方(销售方)用户ID
  16011. type: integer
  16012. username:
  16013. description: 购买方(销售方)
  16014. type: string
  16015. wrtradeorderid:
  16016. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16017. type: string
  16018. type: object
  16019. models.WrOutInApply:
  16020. properties:
  16021. applyid:
  16022. description: 申请单id
  16023. type: string
  16024. applystatus:
  16025. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败
  16026. 8:已撤销
  16027. type: integer
  16028. applytime:
  16029. description: 申请时间
  16030. type: string
  16031. applytype:
  16032. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  16033. type: integer
  16034. bannerpicurl:
  16035. description: Banner图
  16036. type: string
  16037. begindate:
  16038. description: 开始交易日(yyyymmdd)
  16039. type: string
  16040. deliverygoodscode:
  16041. description: 品种代码
  16042. type: string
  16043. deliverygoodsid:
  16044. description: 品种ID
  16045. type: integer
  16046. deliverygoodsname:
  16047. description: 品种名称
  16048. type: string
  16049. enddate:
  16050. description: 结束交易日(yyyymmdd)
  16051. type: string
  16052. enumdicname:
  16053. description: 单位名称
  16054. type: string
  16055. expresscompany:
  16056. description: 物流公司
  16057. type: string
  16058. expressnum:
  16059. description: 物流单号
  16060. type: string
  16061. minivalue:
  16062. description: 现货商品最小变动值
  16063. type: integer
  16064. optioncompare:
  16065. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16066. type: string
  16067. qty:
  16068. description: 数量
  16069. type: integer
  16070. userid:
  16071. description: 用户id
  16072. type: integer
  16073. warehouseid:
  16074. description: 仓库ID
  16075. type: integer
  16076. warehousename:
  16077. description: 仓库名称
  16078. type: string
  16079. wrfactortypeid:
  16080. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16081. type: string
  16082. wrfactortypename:
  16083. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16084. type: string
  16085. wrstandardcode:
  16086. description: 现货商品代码
  16087. type: string
  16088. wrstandardid:
  16089. description: 现货商品ID
  16090. type: integer
  16091. wrstandardname:
  16092. description: 商品名称
  16093. type: string
  16094. wrtypename:
  16095. description: 商品
  16096. type: string
  16097. type: object
  16098. models.WrPerformancePlan:
  16099. properties:
  16100. activatemonth:
  16101. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  16102. type: string
  16103. amount:
  16104. description: 履约金额(总金额)
  16105. type: number
  16106. begindate:
  16107. description: 开始交易日(yyyymmdd)
  16108. type: string
  16109. buyaccountid:
  16110. description: 买方账号
  16111. type: integer
  16112. buyerfreezeamount:
  16113. description: 履约冻结(买履约)
  16114. type: number
  16115. buyerfreezeamountremain:
  16116. description: 履约冻结剩余(买履约)
  16117. type: number
  16118. buyorsell:
  16119. description: 买卖方向 0-买 1-卖
  16120. type: integer
  16121. buypaidamount:
  16122. description: 买方已冻/已扣金额 (已付金额)
  16123. type: number
  16124. buyusername:
  16125. description: 买方名字
  16126. type: string
  16127. contractid:
  16128. description: 合同ID
  16129. type: integer
  16130. createtime:
  16131. description: 创建时间
  16132. type: string
  16133. creatorid:
  16134. description: 创建人
  16135. type: integer
  16136. curstepdeadline:
  16137. description: 当前步骤到期时间
  16138. type: string
  16139. curstepid:
  16140. description: 当前步骤ID
  16141. type: string
  16142. curstepname:
  16143. description: 当前步骤名称
  16144. type: string
  16145. deliverygoodscode:
  16146. description: 品种代码
  16147. type: string
  16148. deliverygoodsid:
  16149. description: 品种ID
  16150. type: integer
  16151. deliverygoodsname:
  16152. description: 品种名称
  16153. type: string
  16154. enddate:
  16155. description: 结束交易日(yyyymmdd)
  16156. type: string
  16157. enumdicname:
  16158. description: 单位名称
  16159. type: string
  16160. expressfee:
  16161. description: 运费
  16162. type: number
  16163. expressfeeconfirmed:
  16164. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  16165. type: integer
  16166. hasovershort:
  16167. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  16168. type: integer
  16169. haswr:
  16170. description: 类型 0-仓单预售 1-仓单贸易
  16171. type: integer
  16172. marketid:
  16173. description: 市场ID
  16174. type: integer
  16175. middleaccountid:
  16176. description: 中间商资金账号ID
  16177. type: integer
  16178. middleuserid:
  16179. description: 中间商用户ID
  16180. type: integer
  16181. minivalue:
  16182. description: 现货商品最小变动值
  16183. type: integer
  16184. optioncompare:
  16185. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16186. type: string
  16187. overshortamount:
  16188. description: 溢短金额
  16189. type: number
  16190. overshortqty:
  16191. description: 溢短数量
  16192. type: number
  16193. paymenttype:
  16194. description: 付款方式 - 1:冻结 2:扣款
  16195. type: integer
  16196. performanceplanid:
  16197. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  16198. type: string
  16199. performancestatus:
  16200. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  16201. 9:超时待处理 10:超时关闭
  16202. type: integer
  16203. performancetype:
  16204. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  16205. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  16206. type: integer
  16207. qty:
  16208. description: 履约数量
  16209. type: number
  16210. relatedorderid:
  16211. description: 关联单号(履约类型的关联单号)
  16212. type: string
  16213. remark:
  16214. description: 备注
  16215. type: string
  16216. sellaccountid:
  16217. description: 卖方账号
  16218. type: integer
  16219. sellerfreezeamount:
  16220. description: 履约冻结(卖履约)
  16221. type: number
  16222. sellerfreezeamountremain:
  16223. description: 履约冻结剩余(卖履约)
  16224. type: number
  16225. sellreceivedamount:
  16226. description: 卖方已收金额
  16227. type: number
  16228. sellusername:
  16229. description: 卖方名字
  16230. type: string
  16231. shipremark:
  16232. description: 发货备注[物流单号]
  16233. type: string
  16234. starttime:
  16235. description: 开始时间
  16236. type: string
  16237. steptypeid:
  16238. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  16239. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  16240. type: integer
  16241. typename:
  16242. description: 履约类型 名称
  16243. type: string
  16244. unpaidamount:
  16245. description: 剩余款(待支付金额)
  16246. type: number
  16247. userid:
  16248. description: 用户id
  16249. type: integer
  16250. warehouseid:
  16251. description: 仓库ID
  16252. type: integer
  16253. warehousename:
  16254. description: 仓库名称
  16255. type: string
  16256. wrfactortypeid:
  16257. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16258. type: string
  16259. wrfactortypename:
  16260. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16261. type: string
  16262. wrstandardcode:
  16263. description: 现货商品代码
  16264. type: string
  16265. wrstandardid:
  16266. description: 现货商品ID
  16267. type: integer
  16268. wrstandardname:
  16269. description: 商品名称
  16270. type: string
  16271. wrtransferuserid:
  16272. description: 仓单受让用户
  16273. type: integer
  16274. wrtypename:
  16275. description: 商品
  16276. type: string
  16277. required:
  16278. - userid
  16279. type: object
  16280. models.WrPerformancePlanStep:
  16281. properties:
  16282. delaydays:
  16283. description: 延期申请天数
  16284. type: integer
  16285. deliverygoodscode:
  16286. description: 品种代码
  16287. type: string
  16288. deliverygoodsid:
  16289. description: 品种ID
  16290. type: integer
  16291. deliverygoodsname:
  16292. description: 品种名称
  16293. type: string
  16294. endtime:
  16295. description: 结束日期
  16296. type: string
  16297. enumdicname:
  16298. description: 单位名称
  16299. type: string
  16300. executeside:
  16301. description: 步骤执行方 - 1:买方 2:卖方
  16302. type: integer
  16303. handlestatus:
  16304. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败
  16305. 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求
  16306. 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  16307. type: integer
  16308. isauto:
  16309. description: 是否自动 - 0:不自动 1:自动
  16310. type: integer
  16311. islastreceivestep:
  16312. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  16313. type: integer
  16314. minivalue:
  16315. description: 现货商品最小变动值
  16316. type: integer
  16317. optioncompare:
  16318. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16319. type: string
  16320. overdays:
  16321. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  16322. type: integer
  16323. performancestepid:
  16324. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  16325. type: string
  16326. planid:
  16327. description: 所属履约计划ID
  16328. type: string
  16329. realamount:
  16330. description: 实际完成金额
  16331. type: number
  16332. relatedorderid:
  16333. description: 关联单号
  16334. type: string
  16335. remaindays:
  16336. description: 剩余天数
  16337. type: integer
  16338. remark:
  16339. description: 错误备注
  16340. type: string
  16341. starttime:
  16342. description: 开始日期
  16343. type: string
  16344. stepamount:
  16345. description: 步骤金额
  16346. type: number
  16347. stepdays:
  16348. description: 距离上一步天数(分钟)
  16349. type: integer
  16350. stepindex:
  16351. description: 步骤序号
  16352. type: integer
  16353. steplanchtype:
  16354. description: 步骤启动类型 - 1:系统自动 2:手动
  16355. type: integer
  16356. stepremark:
  16357. description: 步骤备注
  16358. type: string
  16359. stepstatus:
  16360. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  16361. type: integer
  16362. steptypeid:
  16363. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  16364. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  16365. type: integer
  16366. steptypename:
  16367. description: 步骤名称
  16368. type: string
  16369. stepvalue:
  16370. description: 步骤值
  16371. type: number
  16372. warehouseid:
  16373. description: 仓库ID
  16374. type: integer
  16375. warehousename:
  16376. description: 仓库名称
  16377. type: string
  16378. wrfactortypeid:
  16379. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16380. type: string
  16381. wrfactortypename:
  16382. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16383. type: string
  16384. wrstandardcode:
  16385. description: 现货商品代码
  16386. type: string
  16387. wrstandardid:
  16388. description: 现货商品ID
  16389. type: integer
  16390. wrstandardname:
  16391. description: 商品名称
  16392. type: string
  16393. wrtypename:
  16394. description: 商品
  16395. type: string
  16396. type: object
  16397. models.WrPerformanceStepType:
  16398. properties:
  16399. canauto:
  16400. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  16401. type: integer
  16402. steptypeid:
  16403. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  16404. type: integer
  16405. steptypename:
  16406. description: 步骤类型名称
  16407. type: string
  16408. type: object
  16409. models.WrPerformanceTemplateEx:
  16410. properties:
  16411. autoid:
  16412. description: AutoID 模板id
  16413. type: integer
  16414. createtime:
  16415. description: 创建时间
  16416. type: string
  16417. creatorid:
  16418. description: 创建人
  16419. type: integer
  16420. lstStep:
  16421. description: 步骤信息列表
  16422. items:
  16423. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  16424. type: array
  16425. paymenttype:
  16426. description: 支付方式 - 1:冻结 2:扣款
  16427. type: integer
  16428. takemode:
  16429. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  16430. type: integer
  16431. templatename:
  16432. description: 模板名称
  16433. type: string
  16434. templatetype:
  16435. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  16436. (无仓单) 5:挂牌期权 6:竞拍-降价式
  16437. type: integer
  16438. userid:
  16439. description: 所属用户
  16440. type: integer
  16441. type: object
  16442. models.WrPosition:
  16443. properties:
  16444. accountid:
  16445. description: 帐户ID
  16446. type: integer
  16447. buyexcuteqty:
  16448. description: 采购履约中数量
  16449. type: number
  16450. creditcurqty:
  16451. description: 授信当前数量(预售仓单:预售当前量)
  16452. type: number
  16453. creditenableqty:
  16454. description: '授信可用数量(预售仓单: 可用数量)'
  16455. type: number
  16456. creditfreezeqty:
  16457. description: '授信冻结数量(预售仓单: 当前数量)'
  16458. type: number
  16459. credittotalqty:
  16460. description: 授信总数量(预售仓单:预售总量)
  16461. type: number
  16462. credittradeqty:
  16463. description: 授信成交数量(预售仓单:成交总量)
  16464. type: number
  16465. deliverygoodscode:
  16466. description: 品种代码
  16467. type: string
  16468. deliverygoodsid:
  16469. description: 品种ID
  16470. type: integer
  16471. deliverygoodsname:
  16472. description: 品种名称
  16473. type: string
  16474. enalbeqty:
  16475. description: 可用数量
  16476. type: number
  16477. enumdicname:
  16478. description: 单位名称
  16479. type: string
  16480. freezeqty:
  16481. description: 总冻结数量
  16482. type: number
  16483. haswr:
  16484. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16485. type: integer
  16486. minivalue:
  16487. description: 现货商品最小变动值
  16488. type: integer
  16489. modifytime:
  16490. description: 修改时间(过户时间)
  16491. type: string
  16492. optioncompare:
  16493. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16494. type: string
  16495. pledgeqty:
  16496. description: 质押数量
  16497. type: number
  16498. querytype:
  16499. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  16500. type: integer
  16501. sellexcuteqty:
  16502. description: 销售履约中数量
  16503. type: number
  16504. totalqty:
  16505. description: 总数量(库存数量)
  16506. type: number
  16507. warehouseid:
  16508. description: 仓库ID
  16509. type: integer
  16510. warehousename:
  16511. description: 仓库名称
  16512. type: string
  16513. wrfactortypeid:
  16514. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16515. type: string
  16516. wrfactortypename:
  16517. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16518. type: string
  16519. wrpositionid:
  16520. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  16521. type: string
  16522. wrpositionno:
  16523. description: 仓单编号
  16524. type: string
  16525. wrstandardcode:
  16526. description: 现货商品代码
  16527. type: string
  16528. wrstandardid:
  16529. description: 现货商品ID
  16530. type: integer
  16531. wrstandardname:
  16532. description: 商品名称
  16533. type: string
  16534. wrtypename:
  16535. description: 商品
  16536. type: string
  16537. wruserid:
  16538. description: 持有人ID
  16539. type: integer
  16540. type: object
  16541. models.WrPreSaleInfo:
  16542. properties:
  16543. bannerpicurl:
  16544. description: Banner图
  16545. type: string
  16546. baseqty:
  16547. description: 中签基数
  16548. type: number
  16549. createtime:
  16550. description: 创建时间
  16551. type: string
  16552. deliverygoodsid:
  16553. description: 现货品种ID
  16554. type: integer
  16555. enddate:
  16556. description: 预售结束日期
  16557. type: string
  16558. enumdicname:
  16559. description: 单位名称
  16560. type: string
  16561. lotteryflag:
  16562. description: 摇号标识 - 0:未摇号 1:已摇号
  16563. type: integer
  16564. lotteryqty:
  16565. description: 摇号总量
  16566. type: number
  16567. luckyqty:
  16568. description: 已中签量
  16569. type: number
  16570. marketid:
  16571. description: 市场ID
  16572. type: integer
  16573. maxbuyqty:
  16574. description: 单人最大申购量
  16575. type: number
  16576. maxluckyqty:
  16577. description: 单人最大中签量
  16578. type: number
  16579. pictureurls:
  16580. description: 详情图片(逗号分隔)
  16581. type: string
  16582. placeqty:
  16583. description: 已配售量
  16584. type: number
  16585. presaleapplyid:
  16586. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  16587. type: integer
  16588. presaleqty:
  16589. description: 预售总量
  16590. type: number
  16591. presalestatus:
  16592. description: 预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭
  16593. type: integer
  16594. sellaccountid:
  16595. description: 发行方资金账户ID
  16596. type: integer
  16597. selluserid:
  16598. description: 发行方用户ID
  16599. type: integer
  16600. sellwrtradeorderid:
  16601. description: 发行方卖委托单ID
  16602. type: string
  16603. startdate:
  16604. description: 预售开始日期
  16605. type: string
  16606. takestartdate:
  16607. description: 提货开始日期
  16608. type: string
  16609. thumurls:
  16610. description: 缩略图片(1:1)(逗号分隔)
  16611. type: string
  16612. tradedate:
  16613. description: 交易日
  16614. type: string
  16615. unitid:
  16616. description: 单位ID
  16617. type: integer
  16618. unitprice:
  16619. description: 商品单价
  16620. type: number
  16621. username:
  16622. description: 发行方用户名称
  16623. type: string
  16624. warehousecode:
  16625. description: 仓库代码(仓库简称)
  16626. type: string
  16627. warehouseid:
  16628. description: 仓库ID
  16629. type: integer
  16630. warehousename:
  16631. description: 仓库名称
  16632. type: string
  16633. wrfactortypeid:
  16634. description: 仓单要素类型ID - 根据现货商品\仓库生成
  16635. type: integer
  16636. wrstandardid:
  16637. description: 现货商品ID
  16638. type: integer
  16639. wrstandardname:
  16640. description: 现货商品名称
  16641. type: string
  16642. type: object
  16643. models.WrQuoteOrderMyq:
  16644. properties:
  16645. buyorsell:
  16646. description: 买卖 - 0:买 1:卖
  16647. type: integer
  16648. canbargain:
  16649. description: 是否可议价 - 0:不可 1:可
  16650. type: integer
  16651. canpart:
  16652. description: 是否允许部份摘牌 - 0:不允许 1:允许
  16653. type: integer
  16654. delistminqty:
  16655. description: 起摘数量
  16656. type: number
  16657. deliverygoodscode:
  16658. description: 品种代码
  16659. type: string
  16660. deliverygoodsid:
  16661. description: 品种ID
  16662. type: integer
  16663. deliverygoodsname:
  16664. description: 品种名称
  16665. type: string
  16666. deliverymonth:
  16667. description: 交收月
  16668. type: string
  16669. enumdicname:
  16670. description: 单位名称
  16671. type: string
  16672. fixedprice:
  16673. description: 买(卖)价
  16674. type: number
  16675. goodscode:
  16676. description: 商品合约代码
  16677. type: string
  16678. marginflag:
  16679. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  16680. type: integer
  16681. marginvalue:
  16682. description: 保证金设置值
  16683. type: number
  16684. minivalue:
  16685. description: 现货商品最小变动值
  16686. type: integer
  16687. orderqty:
  16688. description: 买(卖)量(=委托量-成交量)
  16689. type: number
  16690. ordertime:
  16691. description: 委托时间
  16692. type: string
  16693. performancetemplateid:
  16694. description: 履约模板id
  16695. type: integer
  16696. pricemove:
  16697. description: 买(卖)升贴水- 基差
  16698. type: number
  16699. templatename:
  16700. description: 履约模板名称
  16701. type: string
  16702. userid:
  16703. description: 购买方(销售方)用户ID
  16704. type: integer
  16705. username:
  16706. description: 购买方(销售方)
  16707. type: string
  16708. validtime:
  16709. description: 有效期限
  16710. type: string
  16711. validtype:
  16712. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  16713. type: integer
  16714. warehousename:
  16715. description: 仓库名称
  16716. type: string
  16717. wrfactortypeid:
  16718. description: 仓单要素id
  16719. type: string
  16720. wrstandardcode:
  16721. description: 现货商品代码
  16722. type: string
  16723. wrstandardid:
  16724. description: 现货商品ID
  16725. type: integer
  16726. wrstandardname:
  16727. description: 商品名称
  16728. type: string
  16729. wrtradeorderid:
  16730. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16731. type: string
  16732. wrtypename:
  16733. description: 商品
  16734. type: string
  16735. type: object
  16736. models.WrReckonSpotGoodsTradeSum:
  16737. properties:
  16738. begindate:
  16739. description: 开始日期(结果含开始日期) yyyymmdd
  16740. type: string
  16741. enddate:
  16742. description: 结束日期(结果含结束日期) yyyymmdd
  16743. type: string
  16744. marketid:
  16745. description: 市场ID
  16746. type: integer
  16747. price:
  16748. description: 价格 = 日成交金额 / 日成交数量
  16749. type: string
  16750. reckondate:
  16751. description: 日期 格式 yyyymmdd
  16752. type: string
  16753. tradeamount:
  16754. description: 日成交金额(当日单方向成交金额)
  16755. type: number
  16756. tradeqty:
  16757. description: 日成交数量(当日单方向成交数量)
  16758. type: number
  16759. wrstandardid:
  16760. description: 现货商品ID
  16761. type: integer
  16762. type: object
  16763. models.WrScfContract:
  16764. properties:
  16765. borroweruserid:
  16766. description: 借款用户ID
  16767. type: integer
  16768. buybackwrpositionqty:
  16769. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  16770. type: number
  16771. closeinterest:
  16772. description: 已结利息 -> 已结费用
  16773. type: number
  16774. currisklevel:
  16775. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  16776. type: integer
  16777. deadline:
  16778. description: 截止日期(yyyyMMdd) -> 借款到期时间
  16779. type: string
  16780. deliverygoodscode:
  16781. description: 品种代码
  16782. type: string
  16783. deliverygoodsid:
  16784. description: 品种ID
  16785. type: integer
  16786. deliverygoodsname:
  16787. description: 品种名称
  16788. type: string
  16789. enumdicname:
  16790. description: 单位名称
  16791. type: string
  16792. financingdays:
  16793. description: 天数(天)
  16794. type: integer
  16795. initmargin:
  16796. description: 保证金 - [仓单回购]
  16797. type: number
  16798. interestamount:
  16799. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  16800. type: number
  16801. interestdebt:
  16802. description: 利息欠款(记录负数) -> 费用欠款
  16803. type: number
  16804. interestminlen:
  16805. description: 最小起息天数
  16806. type: integer
  16807. interestrate:
  16808. description: 利率
  16809. type: number
  16810. interestratemode:
  16811. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  16812. type: integer
  16813. interestsettlemode:
  16814. description: 结息方式 - 1:按日结息 3:按月结息
  16815. type: integer
  16816. interestsettlevalue:
  16817. description: 结息方式值
  16818. type: integer
  16819. isautoloan:
  16820. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  16821. type: integer
  16822. lastcloseinterestday:
  16823. description: 最近结息日(yyyyMMdd)
  16824. type: string
  16825. lenderamount:
  16826. description: 贷款金额 -> 借款金额
  16827. type: number
  16828. lenderuserid:
  16829. description: 贷款方用户ID -> 融出方用户ID
  16830. type: integer
  16831. lenderusername:
  16832. description: 融出方
  16833. type: string
  16834. marginratio:
  16835. description: 保证金比率质押率 - [仓单质押]
  16836. type: number
  16837. marketid:
  16838. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  16839. type: integer
  16840. minivalue:
  16841. description: 现货商品最小变动值
  16842. type: integer
  16843. optioncompare:
  16844. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16845. type: string
  16846. pricemove:
  16847. description: 估值升贴水值
  16848. type: number
  16849. productdetailid:
  16850. description: 产品组合ID
  16851. type: integer
  16852. productid:
  16853. description: 金融产品ID
  16854. type: integer
  16855. productname:
  16856. description: 产品名称
  16857. type: string
  16858. remainamount:
  16859. description: 合同剩余金额 -> 剩余金额
  16860. type: number
  16861. remainwrpositionqty:
  16862. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  16863. type: number
  16864. remark:
  16865. description: 备注
  16866. type: string
  16867. scfcontractid:
  16868. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  16869. type: string
  16870. scfcontractstatus:
  16871. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  16872. 9:违约结束 10:已注销 11:已关闭 99:未提交
  16873. type: integer
  16874. scfcontracttype:
  16875. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  16876. type: integer
  16877. startinterestday:
  16878. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  16879. type: string
  16880. totalinterest:
  16881. description: 已计利息 -> 已计费用
  16882. type: number
  16883. unpaidinterest:
  16884. description: 未结费用
  16885. type: number
  16886. updatetime:
  16887. description: 更新时间
  16888. type: string
  16889. warehouseid:
  16890. description: 仓库ID
  16891. type: integer
  16892. warehousename:
  16893. description: 仓库名称
  16894. type: string
  16895. wrfactortypeid:
  16896. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16897. type: string
  16898. wrfactortypename:
  16899. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16900. type: string
  16901. wrqty:
  16902. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  16903. type: number
  16904. wrstandardcode:
  16905. description: 现货商品代码
  16906. type: string
  16907. wrstandardid:
  16908. description: 现货商品ID
  16909. type: integer
  16910. wrstandardname:
  16911. description: 商品名称
  16912. type: string
  16913. wrtypename:
  16914. description: 商品
  16915. type: string
  16916. type: object
  16917. models.WrScfContractInterest:
  16918. properties:
  16919. closeinterest:
  16920. description: 已结利息
  16921. type: number
  16922. closeintereststatus:
  16923. description: 结息状态 - 1:未结 2:已结
  16924. type: integer
  16925. closetime:
  16926. description: 结息时间
  16927. type: string
  16928. closetradedate:
  16929. description: 结息交易日
  16930. type: string
  16931. creatorid:
  16932. description: 操作人ID
  16933. type: integer
  16934. dayrate:
  16935. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  16936. type: number
  16937. interest:
  16938. description: 利息
  16939. type: number
  16940. interestamount:
  16941. description: 计息金额
  16942. type: number
  16943. interestday:
  16944. description: 计息日(yyyyMMdd)
  16945. type: string
  16946. scfcontractid:
  16947. description: SCF合同ID
  16948. type: string
  16949. scfcontractinterestid:
  16950. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  16951. type: integer
  16952. updatetime:
  16953. description: 更新时间
  16954. type: string
  16955. type: object
  16956. models.WrSiteColumnDetail:
  16957. properties:
  16958. brief:
  16959. description: 简介
  16960. type: string
  16961. context:
  16962. description: 内容
  16963. type: string
  16964. coverimage:
  16965. description: 封面图片
  16966. type: string
  16967. creaedate:
  16968. description: 创建时间
  16969. type: string
  16970. id:
  16971. description: ID(SEQ_SITE_COLUMNDETAIL)
  16972. type: integer
  16973. istop:
  16974. description: 是否置顶 - 0:不置 1:置顶
  16975. type: integer
  16976. publishdate:
  16977. description: 发布日期
  16978. type: string
  16979. title:
  16980. description: 标题
  16981. type: string
  16982. updatedate:
  16983. description: 修改时间
  16984. type: string
  16985. type: object
  16986. models.WrSpecialMatchOrder:
  16987. properties:
  16988. amount:
  16989. description: 金额 = 数量 * 价格
  16990. type: number
  16991. buyorsell:
  16992. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  16993. type: integer
  16994. cancelqty:
  16995. description: 撤销数量
  16996. type: number
  16997. deliverygoodscode:
  16998. description: 品种代码
  16999. type: string
  17000. deliverygoodsid:
  17001. description: 品种ID
  17002. type: integer
  17003. deliverygoodsname:
  17004. description: 品种名称
  17005. type: string
  17006. enumdicname:
  17007. description: 单位名称
  17008. type: string
  17009. fixedprice:
  17010. description: 固定价格(价格)
  17011. type: number
  17012. haswr:
  17013. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  17014. type: integer
  17015. isspecified:
  17016. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  17017. type: integer
  17018. marketid:
  17019. description: 市场ID
  17020. type: integer
  17021. matchuserid:
  17022. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  17023. type: integer
  17024. matchusername:
  17025. description: 指定方
  17026. type: string
  17027. minivalue:
  17028. description: 现货商品最小变动值
  17029. type: integer
  17030. optioncompare:
  17031. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17032. type: string
  17033. orderqty:
  17034. description: 委托数量
  17035. type: number
  17036. ordertime:
  17037. description: 委托时间
  17038. type: string
  17039. pricemove:
  17040. description: 升贴水(浮动价时填写) - [挂牌]
  17041. type: number
  17042. tradedate:
  17043. description: 交易日(yyyyMMdd)
  17044. type: string
  17045. tradeprice:
  17046. description: 成交价格
  17047. type: number
  17048. tradeqty:
  17049. description: 成交数量
  17050. type: number
  17051. userid:
  17052. description: 用户ID
  17053. type: integer
  17054. username:
  17055. description: 发起方
  17056. type: string
  17057. warehouseid:
  17058. description: 仓库ID
  17059. type: integer
  17060. warehousename:
  17061. description: 仓库名称
  17062. type: string
  17063. wrfactortypeid:
  17064. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17065. type: string
  17066. wrfactortypename:
  17067. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17068. type: string
  17069. wrpricetype:
  17070. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  17071. type: integer
  17072. wrstandardcode:
  17073. description: 现货商品代码
  17074. type: string
  17075. wrstandardid:
  17076. description: 现货商品ID
  17077. type: integer
  17078. wrstandardname:
  17079. description: 商品名称
  17080. type: string
  17081. wrtradeorderid:
  17082. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  17083. type: string
  17084. wrtradeorderstatus:
  17085. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  17086. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  17087. type: integer
  17088. wrtradetype:
  17089. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  17090. type: integer
  17091. wrtypename:
  17092. description: 商品
  17093. type: string
  17094. type: object
  17095. models.WrSpotGroupTradeSum:
  17096. properties:
  17097. deliverygoodscode:
  17098. description: 现货品种代码
  17099. type: string
  17100. deliverygoodsid:
  17101. description: 现货品种ID(SEQ_DELIVERYGOODS)
  17102. type: integer
  17103. deliverygoodsname:
  17104. description: 现货品种名称
  17105. type: string
  17106. lastavgprice:
  17107. description: 上上个交易日价格(前2天价格)
  17108. type: string
  17109. lastreckondate:
  17110. description: 上上个交易日(前2天交易日)
  17111. type: string
  17112. reckondate:
  17113. description: 上个交易日(前1天交易日)
  17114. type: string
  17115. todayavgprice:
  17116. description: 上个交易日价格(前1天价格)
  17117. type: string
  17118. updown:
  17119. description: 涨跌
  17120. type: string
  17121. updownratio:
  17122. description: 涨幅(已格式化, 直接显示即可)
  17123. type: string
  17124. type: object
  17125. models.WrSpotGroupTradeSumDetail:
  17126. properties:
  17127. deliverygoodsid:
  17128. description: 现货商品id
  17129. type: integer
  17130. price:
  17131. description: 价格
  17132. type: number
  17133. reckondate:
  17134. description: 日期(yyymmdd, 如:20211031)
  17135. type: string
  17136. type: object
  17137. models.WrSpotGroupTradeSumEx:
  17138. properties:
  17139. lst:
  17140. description: 指数列表
  17141. items:
  17142. $ref: '#/definitions/models.WrSpotGroupTradeSum'
  17143. type: array
  17144. prereckondate:
  17145. description: 上上个交易日(yyymmdd)
  17146. type: string
  17147. reckondate:
  17148. description: 上个交易日(yyyymmdd)
  17149. type: string
  17150. type: object
  17151. models.WrStandardFactoryItem:
  17152. properties:
  17153. dgfactoryitemid:
  17154. description: 选择项id
  17155. type: integer
  17156. dgfactoryitemvalue:
  17157. description: 要素项值
  17158. type: string
  17159. warehouseid:
  17160. description: 仓库id
  17161. type: integer
  17162. type: object
  17163. models.WrStandardFactoryItemEx:
  17164. properties:
  17165. dgfactoryitemtypeid:
  17166. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  17167. type: integer
  17168. itemlst:
  17169. description: 要素项列表
  17170. items:
  17171. $ref: '#/definitions/models.WrStandardFactoryItem'
  17172. type: array
  17173. itemtypename:
  17174. description: 要素项类型名称
  17175. type: string
  17176. wrstandardid:
  17177. description: 品类
  17178. type: integer
  17179. type: object
  17180. models.WrTradeDetail:
  17181. properties:
  17182. accountid:
  17183. description: 资金账号
  17184. type: integer
  17185. bannerpicurl:
  17186. description: Banner图
  17187. type: string
  17188. begindate:
  17189. description: 开始交易日(yyyymmdd)
  17190. type: string
  17191. buyorsell:
  17192. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  17193. type: integer
  17194. chargevalue:
  17195. description: 手续费
  17196. type: number
  17197. deliverygoodscode:
  17198. description: 品种代码
  17199. type: string
  17200. deliverygoodsid:
  17201. description: 品种ID
  17202. type: integer
  17203. deliverygoodsname:
  17204. description: 品种名称
  17205. type: string
  17206. deliverymonth:
  17207. description: 交收月
  17208. type: string
  17209. enddate:
  17210. description: 结束交易日(yyyymmdd)
  17211. type: string
  17212. enumdicname:
  17213. description: 单位名称
  17214. type: string
  17215. haswr:
  17216. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  17217. type: integer
  17218. marketid:
  17219. description: 市场ID
  17220. type: integer
  17221. matchaccountid:
  17222. description: 对手账号
  17223. type: integer
  17224. matchusername:
  17225. description: 对手方
  17226. type: string
  17227. minivalue:
  17228. description: 现货商品最小变动值
  17229. type: integer
  17230. optioncompare:
  17231. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17232. type: string
  17233. tradedate:
  17234. description: 交易日(yyyyMMdd)
  17235. type: string
  17236. tradeprice:
  17237. description: 成交价格
  17238. type: number
  17239. tradeqty:
  17240. description: 成交数量
  17241. type: number
  17242. tradetime:
  17243. description: 成交时间
  17244. type: string
  17245. userid:
  17246. description: 用户ID
  17247. type: integer
  17248. warehouseid:
  17249. description: 仓库ID
  17250. type: integer
  17251. warehousename:
  17252. description: 仓库名称
  17253. type: string
  17254. wrfactortypeid:
  17255. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17256. type: string
  17257. wrfactortypename:
  17258. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17259. type: string
  17260. wrstandardcode:
  17261. description: 现货商品代码
  17262. type: string
  17263. wrstandardid:
  17264. description: 现货商品ID
  17265. type: integer
  17266. wrstandardname:
  17267. description: 商品名称
  17268. type: string
  17269. wrtradedetailid:
  17270. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  17271. type: string
  17272. wrtradetype:
  17273. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  17274. type: integer
  17275. wrtypename:
  17276. description: 商品
  17277. type: string
  17278. type: object
  17279. models.WrTradeOrderDetail:
  17280. properties:
  17281. buyorsell:
  17282. description: 买卖方向 0-买 1-卖
  17283. type: integer
  17284. goodsid:
  17285. description: 商品id
  17286. type: integer
  17287. orderid:
  17288. description: 委托单号
  17289. type: string
  17290. orderprice:
  17291. description: 委托价格
  17292. type: number
  17293. orderqty:
  17294. description: 委托数量
  17295. type: integer
  17296. userid:
  17297. description: 用户id
  17298. type: integer
  17299. username:
  17300. description: 用户名称(已脱敏)
  17301. type: string
  17302. type: object
  17303. models.WrTypeItem:
  17304. properties:
  17305. name:
  17306. description: 名称
  17307. type: string
  17308. value:
  17309. description: 值
  17310. type: string
  17311. type: object
  17312. models.WrUserFriend:
  17313. properties:
  17314. friendname:
  17315. description: 朋友名称(已脱敏)
  17316. type: string
  17317. frienduserid:
  17318. description: 朋友id
  17319. type: integer
  17320. isfriend:
  17321. description: 是否好友 0-不是 1-是
  17322. type: integer
  17323. userid:
  17324. description: 用户id
  17325. type: integer
  17326. type: object
  17327. models.WrUserReceiptInfo:
  17328. properties:
  17329. address:
  17330. description: 地址[发票类型:企业]
  17331. type: string
  17332. autoid:
  17333. description: AutoID
  17334. type: integer
  17335. contactinfo:
  17336. description: 联系方式
  17337. type: string
  17338. idnum:
  17339. description: 身份证号码[发票类型:个人]
  17340. type: string
  17341. isdefault:
  17342. description: 是否默认地址 - 0:否 1:是
  17343. type: integer
  17344. receiptaccount:
  17345. description: 发票帐号[发票类型:企业]
  17346. type: string
  17347. receiptbank:
  17348. description: 发票开户行[发票类型:企业]
  17349. type: string
  17350. receipttype:
  17351. description: 发票类型 - 1:个人 2:企业
  17352. type: integer
  17353. taxpayerid:
  17354. description: 纳税人识别号
  17355. type: string
  17356. userid:
  17357. description: 用户ID
  17358. type: integer
  17359. username:
  17360. description: 户名(个人姓名或企业名称)
  17361. type: string
  17362. type: object
  17363. models.XHBRAND:
  17364. properties:
  17365. brandid:
  17366. description: 品牌id
  17367. type: integer
  17368. brandname:
  17369. description: 品牌名称
  17370. type: string
  17371. isvalid:
  17372. description: 是否有效 0-无效 1-有效
  17373. type: integer
  17374. type: object
  17375. models.XHDeliveryGoods:
  17376. properties:
  17377. areauserid:
  17378. description: 所属机构
  17379. type: integer
  17380. bdlst:
  17381. description: 品牌列表
  17382. items:
  17383. $ref: '#/definitions/models.XHBRAND'
  17384. type: array
  17385. deliverygoodscode:
  17386. description: 现货品种代码
  17387. type: string
  17388. deliverygoodsid:
  17389. description: 现货品种ID(SEQ_DELIVERYGOODS)
  17390. type: integer
  17391. deliverygoodsname:
  17392. description: 现货品种名称
  17393. type: string
  17394. dgstatus:
  17395. description: 品种状态 - 作废 - 0:未激活 1:正常
  17396. type: integer
  17397. filterSubEmpty:
  17398. description: 过滤下级为空的
  17399. type: integer
  17400. isvalid:
  17401. description: 是否有效 - 0:无效 1:有效
  17402. type: integer
  17403. remark:
  17404. description: 备注
  17405. type: string
  17406. unitid:
  17407. description: 单位id(目前看,数据库中是空值)
  17408. type: integer
  17409. wdlst:
  17410. description: 品类(现货商品)列表
  17411. items:
  17412. $ref: '#/definitions/models.XHWrstandard'
  17413. type: array
  17414. type: object
  17415. models.XHMiddleGoods:
  17416. properties:
  17417. GPLST:
  17418. description: 期货品种列表
  17419. items:
  17420. $ref: '#/definitions/models.TBGoodsGroup'
  17421. type: array
  17422. convertratio:
  17423. description: 拆算系数
  17424. type: number
  17425. costratio:
  17426. description: 成本权重
  17427. type: number
  17428. deliverygoodsid:
  17429. description: 现货商品id
  17430. type: integer
  17431. enumdicname:
  17432. description: 单位名称
  17433. type: string
  17434. middlegoodscode:
  17435. description: 套保品种代码
  17436. type: string
  17437. middlegoodsid:
  17438. description: 套保品种id
  17439. type: integer
  17440. middlegoodsname:
  17441. description: 套保品种名称
  17442. type: string
  17443. unitid:
  17444. description: 单位id
  17445. type: integer
  17446. type: object
  17447. models.XHWrstandard:
  17448. properties:
  17449. bannerpicurl:
  17450. description: banner图
  17451. type: string
  17452. deliverygoodsid:
  17453. description: 品种ID
  17454. type: integer
  17455. enumdicname:
  17456. description: 单位名称
  17457. type: string
  17458. mglst:
  17459. description: 套保品列表
  17460. items:
  17461. $ref: '#/definitions/models.XHMiddleGoods'
  17462. type: array
  17463. pictureurls:
  17464. description: 详情图片(逗号分隔)
  17465. type: string
  17466. thumurls:
  17467. description: 缩略图片(1:1)(逗号分隔)
  17468. type: string
  17469. unitid:
  17470. description: 单位id
  17471. type: integer
  17472. vatrate:
  17473. description: 增值税率
  17474. type: number
  17475. wrstandardcode:
  17476. description: 现货商品代码
  17477. type: string
  17478. wrstandardid:
  17479. description: 现货商品ID(SEQ_WRSTANDARD)
  17480. type: integer
  17481. wrstandardname:
  17482. description: 现货商品名称
  17483. type: string
  17484. type: object
  17485. order.QueryHisTradeDetailRsp:
  17486. properties:
  17487. accountid:
  17488. description: 账户ID[报价币种]
  17489. type: integer
  17490. advanceratio:
  17491. description: 首付比率
  17492. type: number
  17493. buildtype:
  17494. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  17495. type: integer
  17496. buyorsell:
  17497. description: 方向 - 0:买 1:卖
  17498. type: integer
  17499. charge:
  17500. description: 手续费
  17501. type: number
  17502. closecharge:
  17503. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17504. type: number
  17505. closeexchagechargevalue:
  17506. description: 平仓交易所手续费设置值
  17507. type: number
  17508. closefeealgorithm:
  17509. description: 平仓手续费收取方式 1:比率 2:固定
  17510. type: integer
  17511. closememberchargevalue:
  17512. description: 平仓会员手续费设置值
  17513. type: number
  17514. closepl:
  17515. description: 平仓盈亏
  17516. type: number
  17517. closepl2:
  17518. description: 平仓盈亏[逐笔]
  17519. type: number
  17520. closeqty:
  17521. description: 平仓数量(先建后平操作 需要记录)
  17522. type: number
  17523. creditamount:
  17524. description: 授信金额
  17525. type: number
  17526. decimalplace:
  17527. description: 商品报价小数位
  17528. type: integer
  17529. enumdicname:
  17530. description: 单位名称
  17531. type: string
  17532. gcaccountid:
  17533. description: 账户ID[合约币种]
  17534. type: integer
  17535. goodscode:
  17536. description: 商品代码
  17537. type: string
  17538. goodsid:
  17539. description: 商品ID
  17540. type: integer
  17541. goodsname:
  17542. description: 商品名称
  17543. type: string
  17544. goodunitid:
  17545. description: 商品单位id
  17546. type: integer
  17547. histradedate:
  17548. description: 历史交易日
  17549. type: string
  17550. intclosepl:
  17551. description: 整型盈亏(用于交易结算试算平衡-收益权)
  17552. type: integer
  17553. isconfirmexercise:
  17554. description: 是否确认行权- 0:否 1:是
  17555. type: integer
  17556. ismain:
  17557. description: 是否主单 - 0:不是 1:是
  17558. type: integer
  17559. ispreexercise:
  17560. description: 是否预申报- 0:否 1:是
  17561. type: integer
  17562. isreckoned:
  17563. description: 是否结算 - 0:未结算 1:已结算
  17564. type: integer
  17565. isvaliddata:
  17566. description: 是否有效 - 0:无效 1:有效
  17567. type: integer
  17568. listingselecttype:
  17569. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17570. type: integer
  17571. marketid:
  17572. description: 市场ID
  17573. type: integer
  17574. marketname:
  17575. description: 市场名称
  17576. type: string
  17577. matchaccountid:
  17578. description: 对手账号id
  17579. type: integer
  17580. memberuserid:
  17581. description: 会员id 个人投资者 需要填写
  17582. type: integer
  17583. opencharge:
  17584. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17585. type: number
  17586. openexchagechargevalue:
  17587. description: 建仓交易所手续费设置值
  17588. type: number
  17589. openfeealgorithm:
  17590. description: 建仓手续费收取方式 1:比率 2:固定
  17591. type: integer
  17592. openmemberchargevalue:
  17593. description: 建仓会员手续费设置值
  17594. type: number
  17595. openqty:
  17596. description: 开仓数量(先建后平操作 需要记录)
  17597. type: number
  17598. optiontype:
  17599. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17600. type: integer
  17601. orderid:
  17602. description: 委托单号
  17603. type: string
  17604. payamount:
  17605. description: 支付金额(付款金额)
  17606. type: number
  17607. performanceplanid:
  17608. description: 履约计划ID[期权]
  17609. type: integer
  17610. performancestatus:
  17611. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  17612. type: integer
  17613. preexerciseprice:
  17614. description: 预申报价格
  17615. type: number
  17616. premium:
  17617. description: 权利金 - [持仓单的权利金]
  17618. type: number
  17619. qtydecimalplace:
  17620. description: 商品报价小数位
  17621. type: integer
  17622. recvamount:
  17623. description: 到账金额 = 成交金额 - 手续费
  17624. type: number
  17625. relatedouttradeid:
  17626. description: 关联外部成交单ID
  17627. type: integer
  17628. status:
  17629. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  17630. type: integer
  17631. totalamount:
  17632. description: 订单总额 = 成交金额 + 手续费
  17633. type: number
  17634. tradeamount:
  17635. description: 成交金额[账户币种,用于所有权]
  17636. type: number
  17637. tradedate:
  17638. description: 交易日(yyyyMMdd)
  17639. type: string
  17640. tradeid:
  17641. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17642. type: string
  17643. trademode:
  17644. description: 交易模式
  17645. type: integer
  17646. tradeprice:
  17647. description: 成交价格
  17648. type: number
  17649. tradeproperty:
  17650. description: 交易属性
  17651. type: integer
  17652. tradeqty:
  17653. description: 成交数量
  17654. type: number
  17655. tradetime:
  17656. description: 成交时间
  17657. type: string
  17658. tradetype:
  17659. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  17660. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  17661. type: integer
  17662. required:
  17663. - accountid
  17664. - buyorsell
  17665. - goodsid
  17666. - histradedate
  17667. - marketid
  17668. - memberuserid
  17669. - orderid
  17670. - tradeamount
  17671. - tradedate
  17672. - tradeid
  17673. - tradeprice
  17674. - tradeqty
  17675. - tradetime
  17676. type: object
  17677. order.QueryHisTradeOrderDetailRsp:
  17678. properties:
  17679. accountid:
  17680. description: 账户ID[报价币种]
  17681. type: integer
  17682. buildtype:
  17683. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  17684. type: integer
  17685. buyorsell:
  17686. description: 买卖 - 0:买 1:卖
  17687. type: integer
  17688. cancelorderid:
  17689. description: 撤单单号(撤单时填写)
  17690. type: string
  17691. cancelqty:
  17692. description: 撤单数量
  17693. type: number
  17694. clientordertime:
  17695. description: 客户端委托时间
  17696. type: string
  17697. clientticket:
  17698. description: 客户端流水号
  17699. type: string
  17700. clienttype:
  17701. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  17702. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  17703. type: integer
  17704. closeexchagechargevalue:
  17705. description: 平仓交易所手续费设置值
  17706. type: number
  17707. closefeealgorithm:
  17708. description: 平仓手续费收取方式 1:比率 2:固定
  17709. type: integer
  17710. closefreezecharge:
  17711. description: 平仓冻结手续费(先建后平操作,需要记录)
  17712. type: number
  17713. closememberchargevalue:
  17714. description: 平仓会员手续费设置值
  17715. type: number
  17716. closeqty:
  17717. description: 平仓数量(先建后平操作 需要记录)
  17718. type: number
  17719. closetradeqty:
  17720. description: 平仓成交数量(先建后平操作,需要记录)
  17721. type: number
  17722. closeunfreezecharge:
  17723. description: 平仓解冻手续费(先建后平操作,需要记录)
  17724. type: number
  17725. decimalplace:
  17726. description: 商品报价小数位
  17727. type: integer
  17728. delistingtype:
  17729. description: 摘牌类型 - 1:价格最优 2:点选成交
  17730. type: integer
  17731. enumdicname:
  17732. description: 单位名称
  17733. type: string
  17734. freezecharge:
  17735. description: 冻结手续费
  17736. type: number
  17737. freezemargin:
  17738. description: 冻结保证金(冻结交易金额)
  17739. type: number
  17740. gcaccountid:
  17741. description: 账户ID[合约币种]
  17742. type: integer
  17743. goodscode:
  17744. description: 商品代码
  17745. type: string
  17746. goodsid:
  17747. description: 商品ID
  17748. type: integer
  17749. goodsname:
  17750. description: 商品名称
  17751. type: string
  17752. goodunitid:
  17753. description: 商品单位id
  17754. type: integer
  17755. histradedate:
  17756. description: 历史交易日
  17757. type: string
  17758. isconfirmexercise:
  17759. description: 是否确认行权- 0:否 1:是
  17760. type: integer
  17761. ispreexercise:
  17762. description: 是否预申报- 0:否 1:是
  17763. type: integer
  17764. isvaliddata:
  17765. description: 是否有效 - 0:无效 1:有效
  17766. type: integer
  17767. listingselecttype:
  17768. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17769. type: integer
  17770. marginalgorithm:
  17771. description: 保证金收取方式 1:比率 2:固定
  17772. type: integer
  17773. marginvalue:
  17774. description: 即市保证金设置值
  17775. type: number
  17776. marketid:
  17777. description: 市场ID
  17778. type: integer
  17779. marketmaxsub:
  17780. description: 市价最大偏移范围
  17781. type: number
  17782. marketname:
  17783. description: 市场名称
  17784. type: string
  17785. memberuserid:
  17786. description: 所属会员UserID
  17787. type: integer
  17788. openexchagechargevalue:
  17789. description: 建仓交易所手续费设置值
  17790. type: number
  17791. openfeealgorithm:
  17792. description: 建仓手续费收取方式 1:比率 2:固定
  17793. type: integer
  17794. openfreezecharge:
  17795. description: 开仓冻结手续费(先建后平操作,需要记录)
  17796. type: number
  17797. openmemberchargevalue:
  17798. description: 建仓会员手续费设置值
  17799. type: number
  17800. openqty:
  17801. description: 开仓数量(先建后平操作,需要记录)
  17802. type: number
  17803. opentradeqty:
  17804. description: 开仓成交数量(先建后平操作,需要记录)
  17805. type: number
  17806. openunfreezecharge:
  17807. description: 开仓解冻手续费(先建后平操作,需要记录)
  17808. type: number
  17809. operatetype:
  17810. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  17811. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  17812. 15:管理端协议转让
  17813. type: integer
  17814. operatorid:
  17815. description: 登录账号(LoginID)
  17816. type: integer
  17817. optiontype:
  17818. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17819. type: integer
  17820. orderid:
  17821. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17822. type: string
  17823. orderprice:
  17824. description: 委托价格
  17825. type: number
  17826. orderqty:
  17827. description: 委托数量
  17828. type: number
  17829. ordersrc:
  17830. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  17831. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  17832. type: integer
  17833. orderstatus:
  17834. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  17835. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  17836. 16:成交失败违约(荷兰式竞拍专用)
  17837. type: integer
  17838. ordertime:
  17839. description: 委托时间
  17840. type: string
  17841. preexerciseprice:
  17842. description: 预申报价格
  17843. type: number
  17844. premium:
  17845. description: 权利金
  17846. type: number
  17847. preorderid:
  17848. description: 关联预埋单号(止盈止损单时填写)
  17849. type: string
  17850. pricemode:
  17851. description: '取价方式 - 1:市价 2: 限价'
  17852. type: integer
  17853. qtydecimalplace:
  17854. description: 成交量小数位
  17855. type: integer
  17856. quoteid:
  17857. description: 报价单ID
  17858. type: integer
  17859. relatedid:
  17860. description: 关联单号(交割单)
  17861. type: string
  17862. retcode:
  17863. description: 错误代码
  17864. type: integer
  17865. sessionid:
  17866. description: 会话ID
  17867. type: integer
  17868. tradedate:
  17869. description: 交易日(yyyyMMdd)
  17870. type: string
  17871. trademode:
  17872. description: 交易模式
  17873. type: integer
  17874. tradeproperty:
  17875. description: 交易属性
  17876. type: integer
  17877. tradeqty:
  17878. description: 成交数量
  17879. type: number
  17880. unfreezecharge:
  17881. description: 解冻手续费
  17882. type: number
  17883. unfreezemargin:
  17884. description: 解冻保证金
  17885. type: number
  17886. updatetime:
  17887. description: 更新时间
  17888. type: string
  17889. uuid:
  17890. description: 发起端唯一id
  17891. type: string
  17892. validtime:
  17893. description: 有效期限
  17894. type: string
  17895. validtype:
  17896. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  17897. type: integer
  17898. volumetype:
  17899. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  17900. type: integer
  17901. required:
  17902. - accountid
  17903. - buildtype
  17904. - buyorsell
  17905. - goodsid
  17906. - histradedate
  17907. - marketid
  17908. - memberuserid
  17909. - operatetype
  17910. - orderid
  17911. - orderqty
  17912. - ordertime
  17913. - pricemode
  17914. - tradedate
  17915. - validtype
  17916. type: object
  17917. order.QueryTradeDetailRsp:
  17918. properties:
  17919. accountid:
  17920. description: 账户ID[报价币种]
  17921. type: integer
  17922. advanceratio:
  17923. description: 首付比率
  17924. type: number
  17925. buildtype:
  17926. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  17927. type: integer
  17928. buyorsell:
  17929. description: 方向 - 0:买 1:卖
  17930. type: integer
  17931. charge:
  17932. description: 手续费
  17933. type: number
  17934. closecharge:
  17935. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17936. type: number
  17937. closeexchagechargevalue:
  17938. description: 平仓交易所手续费设置值
  17939. type: number
  17940. closefeealgorithm:
  17941. description: 平仓手续费收取方式 1:比率 2:固定
  17942. type: integer
  17943. closememberchargevalue:
  17944. description: 平仓会员手续费设置值
  17945. type: number
  17946. closepl:
  17947. description: 平仓盈亏
  17948. type: number
  17949. closepl2:
  17950. description: 平仓盈亏[逐笔]
  17951. type: number
  17952. closeqty:
  17953. description: 平仓数量(先建后平操作 需要记录)
  17954. type: number
  17955. creditamount:
  17956. description: 授信金额
  17957. type: number
  17958. decimalplace:
  17959. description: 商品报价小数位
  17960. type: integer
  17961. enumdicname:
  17962. description: 单位名称
  17963. type: string
  17964. gcaccountid:
  17965. description: 账户ID[合约币种]
  17966. type: integer
  17967. goodscode:
  17968. description: 商品代码
  17969. type: string
  17970. goodsid:
  17971. description: 商品ID
  17972. type: integer
  17973. goodsname:
  17974. description: 商品名称
  17975. type: string
  17976. goodunitid:
  17977. description: 商品单位id
  17978. type: integer
  17979. intclosepl:
  17980. description: 整型盈亏(用于交易结算试算平衡-收益权)
  17981. type: integer
  17982. isconfirmexercise:
  17983. description: 是否确认行权- 0:否 1:是
  17984. type: integer
  17985. ismain:
  17986. description: 是否主单 - 0:不是 1:是
  17987. type: integer
  17988. ispreexercise:
  17989. description: 是否预申报- 0:否 1:是
  17990. type: integer
  17991. isreckoned:
  17992. description: 是否结算 - 0:未结算 1:已结算
  17993. type: integer
  17994. listingselecttype:
  17995. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17996. type: integer
  17997. marketid:
  17998. description: 市场ID
  17999. type: integer
  18000. marketname:
  18001. description: 市场名称
  18002. type: string
  18003. matchaccountid:
  18004. description: 对手账号id
  18005. type: integer
  18006. memberuserid:
  18007. description: 会员id 个人投资者 需要填写
  18008. type: integer
  18009. opencharge:
  18010. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  18011. type: number
  18012. openexchagechargevalue:
  18013. description: 建仓交易所手续费设置值
  18014. type: number
  18015. openfeealgorithm:
  18016. description: 建仓手续费收取方式 1:比率 2:固定
  18017. type: integer
  18018. openmemberchargevalue:
  18019. description: 建仓会员手续费设置值
  18020. type: number
  18021. openqty:
  18022. description: 开仓数量(先建后平操作 需要记录)
  18023. type: number
  18024. optiontype:
  18025. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  18026. type: integer
  18027. orderid:
  18028. description: 委托单号
  18029. type: string
  18030. payamount:
  18031. description: 支付金额(付款金额)
  18032. type: number
  18033. performanceplanid:
  18034. description: 履约计划ID[期权]
  18035. type: integer
  18036. performancestatus:
  18037. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  18038. type: integer
  18039. preexerciseprice:
  18040. description: 预申报价格
  18041. type: number
  18042. premium:
  18043. description: 权利金 - [持仓单的权利金]
  18044. type: number
  18045. qtydecimalplace:
  18046. description: 商品报价小数位
  18047. type: integer
  18048. recvamount:
  18049. description: 到账金额 = 成交金额 - 手续费
  18050. type: number
  18051. relatedouttradeid:
  18052. description: 关联外部成交单ID
  18053. type: integer
  18054. status:
  18055. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  18056. type: integer
  18057. totalamount:
  18058. description: 订单总额 = 成交金额 + 手续费
  18059. type: number
  18060. tradeamount:
  18061. description: 成交金额[账户币种,用于所有权]
  18062. type: number
  18063. tradedate:
  18064. description: 交易日(yyyyMMdd)
  18065. type: string
  18066. tradeid:
  18067. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18068. type: string
  18069. trademode:
  18070. description: 交易模式
  18071. type: integer
  18072. tradeprice:
  18073. description: 成交价格
  18074. type: number
  18075. tradeproperty:
  18076. description: 交易属性
  18077. type: integer
  18078. tradeqty:
  18079. description: 成交数量
  18080. type: number
  18081. tradetime:
  18082. description: 成交时间
  18083. type: string
  18084. tradetype:
  18085. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  18086. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  18087. type: integer
  18088. required:
  18089. - accountid
  18090. - buyorsell
  18091. - goodsid
  18092. - marketid
  18093. - memberuserid
  18094. - orderid
  18095. - tradeamount
  18096. - tradedate
  18097. - tradeid
  18098. - tradeprice
  18099. - tradeqty
  18100. - tradetime
  18101. type: object
  18102. order.QueryTradeOrderDetailRsp:
  18103. properties:
  18104. accountid:
  18105. description: 账户ID[报价币种]
  18106. type: integer
  18107. buildtype:
  18108. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  18109. type: integer
  18110. buyorsell:
  18111. description: 买卖 - 0:买 1:卖
  18112. type: integer
  18113. cancelorderid:
  18114. description: 撤单单号(撤单时填写)
  18115. type: string
  18116. cancelqty:
  18117. description: 撤单数量
  18118. type: number
  18119. clienttype:
  18120. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  18121. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  18122. type: integer
  18123. closefreezecharge:
  18124. description: 平仓冻结手续费(先建后平操作,需要记录)
  18125. type: number
  18126. closeqty:
  18127. description: 平仓数量(先建后平操作 需要记录)
  18128. type: number
  18129. closetradeqty:
  18130. description: 平仓成交数量(先建后平操作,需要记录)
  18131. type: number
  18132. closeunfreezecharge:
  18133. description: 平仓解冻手续费(先建后平操作,需要记录)
  18134. type: number
  18135. decimalplace:
  18136. description: 商品报价小数位
  18137. type: integer
  18138. delistingtype:
  18139. description: 摘牌类型 - 1:价格最优 2:点选成交
  18140. type: integer
  18141. enableqty:
  18142. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  18143. type: number
  18144. enumdicname:
  18145. description: 单位名称
  18146. type: string
  18147. freezecharge:
  18148. description: 冻结手续费
  18149. type: number
  18150. freezemargin:
  18151. description: 冻结保证金(冻结交易金额)
  18152. type: number
  18153. goodscode:
  18154. description: 商品代码
  18155. type: string
  18156. goodsid:
  18157. description: 商品ID
  18158. type: integer
  18159. goodsname:
  18160. description: 商品名称
  18161. type: string
  18162. goodunitid:
  18163. description: 商品单位id
  18164. type: integer
  18165. listingselecttype:
  18166. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  18167. type: integer
  18168. marketid:
  18169. description: 市场ID
  18170. type: integer
  18171. marketname:
  18172. description: 市场名称
  18173. type: string
  18174. openfreezecharge:
  18175. description: 开仓冻结手续费(先建后平操作,需要记录)
  18176. type: number
  18177. openqty:
  18178. description: 开仓数量(先建后平操作,需要记录)
  18179. type: number
  18180. opentradeqty:
  18181. description: 开仓成交数量(先建后平操作,需要记录)
  18182. type: number
  18183. openunfreezecharge:
  18184. description: 开仓解冻手续费(先建后平操作,需要记录)
  18185. type: number
  18186. operatetype:
  18187. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  18188. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  18189. 15:管理端协议转让
  18190. type: integer
  18191. operatorid:
  18192. description: 登录账号(LoginID)
  18193. type: integer
  18194. orderid:
  18195. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18196. type: string
  18197. orderprice:
  18198. description: 委托价格
  18199. type: number
  18200. orderqty:
  18201. description: 委托数量
  18202. type: number
  18203. ordersrc:
  18204. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  18205. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  18206. type: integer
  18207. orderstatus:
  18208. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  18209. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  18210. 16:成交失败违约(荷兰式竞拍专用)
  18211. type: integer
  18212. ordertime:
  18213. description: 委托时间
  18214. type: string
  18215. preorderid:
  18216. description: 关联预埋单号(止盈止损单时填写)
  18217. type: string
  18218. pricemode:
  18219. description: '取价方式 - 1:市价 2: 限价'
  18220. type: integer
  18221. qtydecimalplace:
  18222. description: 商品报价小数位
  18223. type: integer
  18224. relatedid:
  18225. description: 关联单号(交割单)
  18226. type: string
  18227. tradedate:
  18228. description: 交易日(yyyyMMdd)
  18229. type: string
  18230. trademode:
  18231. description: 交易模式
  18232. type: integer
  18233. tradeqty:
  18234. description: 成交数量
  18235. type: number
  18236. unfreezecharge:
  18237. description: 解冻手续费
  18238. type: number
  18239. unfreezemargin:
  18240. description: 解冻保证金
  18241. type: number
  18242. validtime:
  18243. description: 有效期限
  18244. type: string
  18245. validtype:
  18246. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  18247. type: integer
  18248. volumetype:
  18249. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  18250. type: integer
  18251. required:
  18252. - accountid
  18253. - buildtype
  18254. - buyorsell
  18255. - goodsid
  18256. - marketid
  18257. - operatetype
  18258. - orderqty
  18259. - ordertime
  18260. - pricemode
  18261. - tradedate
  18262. - validtype
  18263. type: object
  18264. order.QueryTradePositionRsp:
  18265. properties:
  18266. accountid:
  18267. description: 资金账户
  18268. type: integer
  18269. agreeunit:
  18270. description: 合约单位
  18271. type: number
  18272. averageprice:
  18273. description: 持仓均价
  18274. type: number
  18275. buyorsell:
  18276. description: 方向 - 0:买 1:卖
  18277. type: integer
  18278. closetotalqty:
  18279. description: 平仓总数量
  18280. type: number
  18281. curholderamount:
  18282. description: 当前持仓总金额[商品币种]
  18283. type: number
  18284. curpositionqty:
  18285. description: 当前持仓总数量
  18286. type: number
  18287. currencyid:
  18288. description: 报价货币ID
  18289. type: integer
  18290. curtdposition:
  18291. description: 期末今日头寸
  18292. type: number
  18293. decimalplace:
  18294. description: 报价小数位
  18295. type: integer
  18296. enableqty:
  18297. description: 可用量
  18298. type: number
  18299. fretdposition:
  18300. description: 冻结今日头寸
  18301. type: number
  18302. frozenqty:
  18303. description: 持仓冻结数量
  18304. type: number
  18305. goodscode:
  18306. description: 商品代码
  18307. type: string
  18308. goodsid:
  18309. description: 商品Id
  18310. type: integer
  18311. goodsname:
  18312. description: 商品名称
  18313. type: string
  18314. goodunit:
  18315. description: 报价单位
  18316. type: string
  18317. goodunitid:
  18318. description: 报价单位ID
  18319. type: integer
  18320. holderamount:
  18321. description: 期初持仓总金额[商品币种]
  18322. type: number
  18323. lastprice:
  18324. description: 最新价
  18325. type: number
  18326. marketamount:
  18327. description: 市值
  18328. type: number
  18329. marketid:
  18330. description: 所属市场ID
  18331. type: integer
  18332. openreqqty:
  18333. description: 开仓申请数量(用于比较最大持仓数量)
  18334. type: number
  18335. opentotalqty:
  18336. description: 开仓总数量
  18337. type: number
  18338. otherfrozenqty:
  18339. description: 持仓其他冻结数量(交割冻结)
  18340. type: number
  18341. positionpl:
  18342. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  18343. * 合约单位
  18344. type: number
  18345. positionplrate:
  18346. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  18347. type: number
  18348. positionqty:
  18349. description: 期初持仓数量
  18350. type: number
  18351. qtydecimalplace:
  18352. description: 成交量小数位
  18353. type: integer
  18354. refgoodscode:
  18355. description: 参考商品代码
  18356. type: string
  18357. refgoodsid:
  18358. description: 参考商品ID
  18359. type: integer
  18360. tnqty:
  18361. description: T+N冻结总量
  18362. type: number
  18363. tnusedqty:
  18364. description: T+N使用量(可以使用T+N的冻结数量)
  18365. type: number
  18366. trademode:
  18367. description: 交易模式
  18368. type: integer
  18369. tradeproperty:
  18370. description: 交易属性
  18371. type: integer
  18372. usedmargin:
  18373. description: 占用保证金[商品币种]
  18374. type: number
  18375. required:
  18376. - goodsid
  18377. type: object
  18378. pb.GoodsMarginCfgStruct:
  18379. properties:
  18380. CustomerTypeID:
  18381. description: 投资者客户类型
  18382. type: integer
  18383. GoodsID:
  18384. description: 商品ID
  18385. type: integer
  18386. IsDefault:
  18387. description: 是否默认标志位
  18388. type: integer
  18389. LockMarginValue:
  18390. description: 锁仓保证金
  18391. type: number
  18392. MarginAlgorithm:
  18393. description: 保证金计算方式
  18394. type: integer
  18395. MarketMarginValue:
  18396. description: 即市保证金值
  18397. type: number
  18398. RealMarginAlgorithm:
  18399. description: 实付保证金计算方式
  18400. type: integer
  18401. RealMarginValue:
  18402. description: 实付比例
  18403. type: number
  18404. ReckonMarginValue:
  18405. description: 结算保证金值
  18406. type: number
  18407. type: object
  18408. quote.HistoryData:
  18409. properties:
  18410. c:
  18411. description: 收盘价
  18412. type: number
  18413. f:
  18414. description: 是否补充数据
  18415. type: boolean
  18416. h:
  18417. description: 最高价
  18418. type: number
  18419. hv:
  18420. description: 持仓量
  18421. type: integer
  18422. l:
  18423. description: 最低价
  18424. type: number
  18425. o:
  18426. description: 开盘价
  18427. type: number
  18428. s:
  18429. description: 结算价,日线周期(包括)以上才有
  18430. type: number
  18431. ts:
  18432. description: 时间
  18433. type: string
  18434. tt:
  18435. description: 总金额
  18436. type: number
  18437. tv:
  18438. description: 总量(成交量)
  18439. type: integer
  18440. type: object
  18441. quote.HistoryTikData:
  18442. properties:
  18443. AV:
  18444. description: 卖量
  18445. type: integer
  18446. Ask:
  18447. description: 卖价
  18448. type: number
  18449. BV:
  18450. description: 买量
  18451. type: integer
  18452. Bid:
  18453. description: 买价
  18454. type: number
  18455. HI:
  18456. description: 单笔持仓
  18457. type: integer
  18458. HV:
  18459. description: 持仓量
  18460. type: integer
  18461. PE:
  18462. description: 现价
  18463. type: number
  18464. TDR:
  18465. description: 交易方向,0:买 1:卖
  18466. type: integer
  18467. TK:
  18468. description: 交易类型
  18469. type: integer
  18470. TS:
  18471. description: 行情时间文本
  18472. type: string
  18473. TT:
  18474. description: 现金额
  18475. type: number
  18476. Vol:
  18477. description: 现量
  18478. type: integer
  18479. type: object
  18480. quote.QueryQuoteDayRsp:
  18481. properties:
  18482. ask:
  18483. description: 卖1
  18484. type: number
  18485. ask2:
  18486. description: 卖2
  18487. type: number
  18488. ask3:
  18489. description: 卖3
  18490. type: number
  18491. ask4:
  18492. description: 卖4
  18493. type: number
  18494. ask5:
  18495. description: 卖5
  18496. type: number
  18497. ask6:
  18498. description: 卖6
  18499. type: number
  18500. ask7:
  18501. description: 卖7
  18502. type: number
  18503. ask8:
  18504. description: 卖8
  18505. type: number
  18506. ask9:
  18507. description: 卖9
  18508. type: number
  18509. ask10:
  18510. description: 卖10
  18511. type: number
  18512. askorderid:
  18513. description: 卖单号1
  18514. type: integer
  18515. askorderid2:
  18516. description: 卖单号2
  18517. type: integer
  18518. askorderid3:
  18519. description: 卖单号3
  18520. type: integer
  18521. askorderid4:
  18522. description: 卖单号4
  18523. type: integer
  18524. askorderid5:
  18525. description: 卖单号5
  18526. type: integer
  18527. askordervolume:
  18528. description: 卖单量1
  18529. type: integer
  18530. askordervolume2:
  18531. description: 卖单量2
  18532. type: integer
  18533. askordervolume3:
  18534. description: 卖单量3
  18535. type: integer
  18536. askordervolume4:
  18537. description: 卖单量4
  18538. type: integer
  18539. askordervolume5:
  18540. description: 卖单量5
  18541. type: integer
  18542. askordervolume6:
  18543. description: 卖单量6
  18544. type: integer
  18545. askordervolume7:
  18546. description: 卖单量7
  18547. type: integer
  18548. askordervolume8:
  18549. description: 卖单量8
  18550. type: integer
  18551. askordervolume9:
  18552. description: 卖单量9
  18553. type: integer
  18554. askordervolume10:
  18555. description: 卖单量10
  18556. type: integer
  18557. askqueueinfo:
  18558. description: 大利市卖港股用
  18559. type: string
  18560. askvolume:
  18561. description: 卖量1
  18562. type: integer
  18563. askvolume2:
  18564. description: 卖量2
  18565. type: integer
  18566. askvolume3:
  18567. description: 卖量3
  18568. type: integer
  18569. askvolume4:
  18570. description: 卖量4
  18571. type: integer
  18572. askvolume5:
  18573. description: 卖量5
  18574. type: integer
  18575. askvolume6:
  18576. description: 卖量6
  18577. type: integer
  18578. askvolume7:
  18579. description: 卖量7
  18580. type: integer
  18581. askvolume8:
  18582. description: 卖量8
  18583. type: integer
  18584. askvolume9:
  18585. description: 卖量9
  18586. type: integer
  18587. askvolume10:
  18588. description: 卖量10
  18589. type: integer
  18590. averageprice:
  18591. description: 均价
  18592. type: number
  18593. bid:
  18594. description: 买1
  18595. type: number
  18596. bid2:
  18597. description: 买2
  18598. type: number
  18599. bid3:
  18600. description: 买3
  18601. type: number
  18602. bid4:
  18603. description: 买4
  18604. type: number
  18605. bid5:
  18606. description: 买5
  18607. type: number
  18608. bid6:
  18609. description: 买6
  18610. type: number
  18611. bid7:
  18612. description: 买7
  18613. type: number
  18614. bid8:
  18615. description: 买8
  18616. type: number
  18617. bid9:
  18618. description: 买9
  18619. type: number
  18620. bid10:
  18621. description: 买10
  18622. type: number
  18623. bidorderid:
  18624. description: 买单号1
  18625. type: integer
  18626. bidorderid2:
  18627. description: 买单号2
  18628. type: integer
  18629. bidorderid3:
  18630. description: 买单号3
  18631. type: integer
  18632. bidorderid4:
  18633. description: 买单号4
  18634. type: integer
  18635. bidorderid5:
  18636. description: 买单号5
  18637. type: integer
  18638. bidordervolume:
  18639. description: 买单量1
  18640. type: integer
  18641. bidordervolume2:
  18642. description: 买单量2
  18643. type: integer
  18644. bidordervolume3:
  18645. description: 买单量3
  18646. type: integer
  18647. bidordervolume4:
  18648. description: 买单量4
  18649. type: integer
  18650. bidordervolume5:
  18651. description: 买单量5
  18652. type: integer
  18653. bidordervolume6:
  18654. description: 买单量6
  18655. type: integer
  18656. bidordervolume7:
  18657. description: 买单量7
  18658. type: integer
  18659. bidordervolume8:
  18660. description: 买单量8
  18661. type: integer
  18662. bidordervolume9:
  18663. description: 买单量9
  18664. type: integer
  18665. bidordervolume10:
  18666. description: 买单量10
  18667. type: integer
  18668. bidqueueinfo:
  18669. description: 大利市买港股用
  18670. type: string
  18671. bidvolume:
  18672. description: 买量1
  18673. type: integer
  18674. bidvolume2:
  18675. description: 买量2
  18676. type: integer
  18677. bidvolume3:
  18678. description: 买量3
  18679. type: integer
  18680. bidvolume4:
  18681. description: 买量4
  18682. type: integer
  18683. bidvolume5:
  18684. description: 买量5
  18685. type: integer
  18686. bidvolume6:
  18687. description: 买量6
  18688. type: integer
  18689. bidvolume7:
  18690. description: 买量7
  18691. type: integer
  18692. bidvolume8:
  18693. description: 买量8
  18694. type: integer
  18695. bidvolume9:
  18696. description: 买量9
  18697. type: integer
  18698. bidvolume10:
  18699. description: 买量10
  18700. type: integer
  18701. calloptionpremiums:
  18702. description: 认购期权1
  18703. type: integer
  18704. calloptionpremiums2:
  18705. description: 认购期权2
  18706. type: integer
  18707. calloptionpremiums3:
  18708. description: 认购期权3
  18709. type: integer
  18710. calloptionpremiums4:
  18711. description: 认购期权4
  18712. type: integer
  18713. calloptionpremiums5:
  18714. description: 认购期权5
  18715. type: integer
  18716. cleartime:
  18717. description: 清盘时间
  18718. type: integer
  18719. exchangecode:
  18720. description: 交易所代码
  18721. type: integer
  18722. exchangedate:
  18723. description: 交易日
  18724. type: integer
  18725. goodscode:
  18726. description: 商品代码
  18727. type: string
  18728. grepmarketprice:
  18729. description: 暗盘价 港股专用
  18730. type: number
  18731. highest:
  18732. description: 最高价
  18733. type: number
  18734. holdincrement:
  18735. description: 单笔持仓
  18736. type: integer
  18737. holdvolume:
  18738. description: 持仓
  18739. type: integer
  18740. iep:
  18741. description: 平衡价 港股专用
  18742. type: number
  18743. iev:
  18744. description: 平衡量 港股专用
  18745. type: number
  18746. inventory:
  18747. description: 库存
  18748. type: integer
  18749. iscleared:
  18750. description: 是否清盘标志
  18751. type: integer
  18752. issettled:
  18753. description: 是否结算标志
  18754. type: integer
  18755. last:
  18756. description: 最新价
  18757. type: number
  18758. lastlot:
  18759. description: 最新成交手数
  18760. type: integer
  18761. lasttime:
  18762. description: 行情时间(只有现价变化行情时间才变化)
  18763. type: string
  18764. lastturnover:
  18765. description: 最新成交金额
  18766. type: number
  18767. lastvolume:
  18768. description: 最新成交量
  18769. type: integer
  18770. limitdown:
  18771. description: 跌停价
  18772. type: number
  18773. limitup:
  18774. description: 涨停价
  18775. type: number
  18776. lowest:
  18777. description: 最低价
  18778. type: number
  18779. nontotalholdervolume:
  18780. description: 非交易持仓量
  18781. type: integer
  18782. nontotallot:
  18783. description: 非交易总手数
  18784. type: integer
  18785. nontotalturnover:
  18786. description: 非交易总金额
  18787. type: integer
  18788. nontotalvolume:
  18789. description: 非交易总量
  18790. type: integer
  18791. opened:
  18792. description: 开盘价
  18793. type: number
  18794. opentime:
  18795. description: 开盘时间
  18796. type: string
  18797. orderid:
  18798. description: 序号
  18799. type: integer
  18800. preclose:
  18801. description: 昨收
  18802. type: number
  18803. preholdvolume:
  18804. description: 昨持仓
  18805. type: integer
  18806. presettle:
  18807. description: 昨结价
  18808. type: number
  18809. publictradetype:
  18810. description: 公共交易标志类型 港股专用
  18811. type: string
  18812. putoptionpremiums:
  18813. description: 认沽期权1
  18814. type: integer
  18815. putoptionpremiums2:
  18816. description: 认沽期权2
  18817. type: integer
  18818. putoptionpremiums3:
  18819. description: 认沽期权3
  18820. type: integer
  18821. putoptionpremiums4:
  18822. description: 认沽期权4
  18823. type: integer
  18824. putoptionpremiums5:
  18825. description: 认沽期权5
  18826. type: integer
  18827. settle:
  18828. description: 结算价
  18829. type: number
  18830. strikeprice:
  18831. description: 发行价
  18832. type: number
  18833. totalaskvolume:
  18834. description: 内盘
  18835. type: integer
  18836. totalbidvolume:
  18837. description: 外盘
  18838. type: integer
  18839. totallot:
  18840. description: 总手数
  18841. type: integer
  18842. totalturnover:
  18843. description: 总金额
  18844. type: number
  18845. totalvolume:
  18846. description: 总量
  18847. type: integer
  18848. utclasttime:
  18849. description: utc的行情时间
  18850. type: string
  18851. type: object
  18852. quote.QueryTSDataRsp:
  18853. properties:
  18854. Count:
  18855. description: 交易日应有数据个数
  18856. type: integer
  18857. decimalPlace:
  18858. description: 小数位
  18859. type: integer
  18860. endTime:
  18861. description: 结束时间
  18862. type: string
  18863. goodsCode:
  18864. description: 商品代码
  18865. type: string
  18866. historyDatas:
  18867. description: 历史数据
  18868. items:
  18869. $ref: '#/definitions/quote.HistoryData'
  18870. type: array
  18871. outGoodsCode:
  18872. description: 外部商品代码
  18873. type: string
  18874. preSettle:
  18875. description: 昨结价
  18876. type: number
  18877. runSteps:
  18878. description: 交易日开休市计划
  18879. items:
  18880. $ref: '#/definitions/quote.TSDataRunStep'
  18881. type: array
  18882. startTime:
  18883. description: 开始时间
  18884. type: string
  18885. tradeDate:
  18886. description: 交易日
  18887. type: string
  18888. type: object
  18889. quote.TSDataRunStep:
  18890. properties:
  18891. end:
  18892. description: 真实结束时间
  18893. type: string
  18894. endflag:
  18895. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  18896. type: integer
  18897. endtime:
  18898. description: 结束时间(HH:mm)
  18899. type: string
  18900. endweekday:
  18901. description: 结束周几
  18902. type: integer
  18903. groupid:
  18904. description: 分组ID
  18905. type: integer
  18906. runstep:
  18907. description: 运行阶段 - 2:连续交易
  18908. type: integer
  18909. sectionid:
  18910. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  18911. 结束时间=结算时间 结束周几=结算周几
  18912. type: integer
  18913. start:
  18914. description: 真实开始时间
  18915. type: string
  18916. startflag:
  18917. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  18918. type: integer
  18919. starttime:
  18920. description: 起始时间(HH:mm)
  18921. type: string
  18922. startweekday:
  18923. description: 起始周几
  18924. type: integer
  18925. tradeweekday:
  18926. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  18927. type: integer
  18928. type: object
  18929. szdz.QueryConvertLogRsp:
  18930. properties:
  18931. accountid:
  18932. description: 资金账户ID
  18933. type: integer
  18934. clientticket:
  18935. description: 客户端流水号
  18936. type: string
  18937. converttype:
  18938. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  18939. type: integer
  18940. createtime:
  18941. description: 记账时间
  18942. type: string
  18943. daymaxvalue:
  18944. description: 配置当日最大转入限制
  18945. type: number
  18946. daymaxvalue2:
  18947. description: 配置当日最大转入限制(转入)
  18948. type: number
  18949. goodscode:
  18950. description: 商品代码
  18951. type: string
  18952. goodsname:
  18953. description: 商品名称
  18954. type: string
  18955. handlestatus:
  18956. description: 处理状态
  18957. type: integer
  18958. innergoodsid:
  18959. description: 内部商品ID
  18960. type: integer
  18961. inratio:
  18962. description: 配置转入比值
  18963. type: integer
  18964. invalue:
  18965. description: 目标值
  18966. type: number
  18967. logid:
  18968. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18969. type: integer
  18970. mobile:
  18971. description: 手机号码(加密存储)
  18972. type: string
  18973. outergoodscode:
  18974. description: 外部商品代码[JD\PD]
  18975. type: string
  18976. outratio:
  18977. description: 配置转出比值
  18978. type: integer
  18979. outvalue:
  18980. description: 源值
  18981. type: number
  18982. pddecimalplace:
  18983. description: PD小数位
  18984. type: integer
  18985. qty:
  18986. description: 数量
  18987. type: string
  18988. remark:
  18989. description: 备注
  18990. type: string
  18991. sessionid:
  18992. description: 会话ID
  18993. type: integer
  18994. timemaxvalue:
  18995. description: 配置单次最大转入限制
  18996. type: number
  18997. timemaxvalue2:
  18998. description: 配置单次最大转入限制(转入)
  18999. type: number
  19000. timeminvalue:
  19001. description: 配置单次最小数量限制
  19002. type: number
  19003. timeminvalue2:
  19004. description: 配置单次最小数量限制(转入)
  19005. type: number
  19006. tradedate:
  19007. description: 交易日(yyyyMMdd)
  19008. type: string
  19009. userid:
  19010. description: 用户ID
  19011. type: integer
  19012. required:
  19013. - logid
  19014. type: object
  19015. szdz.QueryGoodsPickupRsp:
  19016. properties:
  19017. accountid:
  19018. description: 账户ID
  19019. type: integer
  19020. address:
  19021. description: 提货人详细地址
  19022. type: string
  19023. auditer:
  19024. description: 审核人
  19025. type: integer
  19026. audittime:
  19027. description: 审核时间
  19028. type: string
  19029. cardnum:
  19030. description: 提货人证件号码
  19031. type: string
  19032. cardtypeid:
  19033. description: 提货人证件类型
  19034. type: integer
  19035. checkremark:
  19036. description: 审核备注
  19037. type: string
  19038. goodscode:
  19039. description: 商品代码
  19040. type: string
  19041. goodsid:
  19042. description: 商品ID
  19043. type: integer
  19044. goodsname:
  19045. description: 商品名称
  19046. type: string
  19047. handlestatus:
  19048. description: 处理状态
  19049. type: integer
  19050. marketid:
  19051. description: 市场ID
  19052. type: integer
  19053. phonenum:
  19054. description: 提货人联系方式
  19055. type: string
  19056. qty:
  19057. description: 提货数量
  19058. type: number
  19059. recivername:
  19060. description: 提货人姓名
  19061. type: string
  19062. reqtime:
  19063. description: 更新时间
  19064. type: string
  19065. takemode:
  19066. description: 提货方式 - 2:自提 3:配送
  19067. type: integer
  19068. takeorderid:
  19069. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  19070. type: string
  19071. takeorderstatus:
  19072. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  19073. type: integer
  19074. takeremark:
  19075. description: 提货备注
  19076. type: string
  19077. tradedate:
  19078. description: 交易日(yyyyMMdd)
  19079. type: string
  19080. userid:
  19081. description: 用户ID
  19082. type: integer
  19083. required:
  19084. - takeorderid
  19085. type: object
  19086. szdz.QueryRecieptOrderRsp:
  19087. properties:
  19088. accountName:
  19089. description: 所属账号名称(已脱敏)
  19090. type: string
  19091. accountid:
  19092. description: 资金账号
  19093. type: integer
  19094. buyorsell:
  19095. description: 方向 - 0:买 1:卖
  19096. type: integer
  19097. enableqty:
  19098. description: 可摘数量
  19099. type: integer
  19100. goodscode:
  19101. description: 商品代码
  19102. type: string
  19103. goodsid:
  19104. description: 商品ID
  19105. type: integer
  19106. goodsname:
  19107. description: 商品名称
  19108. type: string
  19109. orderid:
  19110. description: 委托单号
  19111. type: string
  19112. orderprice:
  19113. description: 委托价格
  19114. type: number
  19115. ordertime:
  19116. description: 委托时间
  19117. type: string
  19118. tradedate:
  19119. description: 交易日(yyyyMMdd)
  19120. type: string
  19121. required:
  19122. - ordertime
  19123. type: object
  19124. szdz.QuerySZDZTradePositionRsp:
  19125. properties:
  19126. accountid:
  19127. description: 账号Id
  19128. type: integer
  19129. agreeunit:
  19130. description: 合约单位
  19131. type: number
  19132. averageprice:
  19133. description: 持仓均价
  19134. type: number
  19135. buyorsell:
  19136. description: 方向 - 0:买 1:卖
  19137. type: integer
  19138. closetotalqty:
  19139. description: 平仓总数量
  19140. type: integer
  19141. curholderamount:
  19142. description: 当前持仓总金额
  19143. type: number
  19144. curpositionqty:
  19145. description: 当前持仓总数量
  19146. type: integer
  19147. currencyid:
  19148. description: 报价货币ID
  19149. type: integer
  19150. curtdposition:
  19151. description: 期末今日头寸
  19152. type: integer
  19153. decimalplace:
  19154. description: 报价小数位
  19155. type: integer
  19156. enableqty:
  19157. description: 可用量
  19158. type: integer
  19159. fretdposition:
  19160. description: 冻结今日头寸
  19161. type: integer
  19162. frozenqty:
  19163. description: 持仓冻结数量
  19164. type: integer
  19165. goodscode:
  19166. description: 商品代码(内部)
  19167. type: string
  19168. goodsid:
  19169. description: 商品Id
  19170. type: integer
  19171. goodsname:
  19172. description: 商品名称
  19173. type: string
  19174. goodunit:
  19175. description: 报价单位
  19176. type: string
  19177. goodunitid:
  19178. description: 报价单位ID
  19179. type: integer
  19180. holderamount:
  19181. description: 期初持仓总金额
  19182. type: number
  19183. marketid:
  19184. description: 市场ID
  19185. type: integer
  19186. openreqqty:
  19187. description: 开仓申请数量
  19188. type: integer
  19189. opentotalqty:
  19190. description: 开仓总数量
  19191. type: integer
  19192. otherfrozenqty:
  19193. description: 持仓其他冻结数量(交割冻结)
  19194. type: integer
  19195. positionqty:
  19196. description: 期初持仓数量
  19197. type: integer
  19198. szdz3freezqty:
  19199. description: 尚志大宗转换冻结总数量
  19200. type: integer
  19201. tnqty:
  19202. description: T+N冻结总量
  19203. type: integer
  19204. tnusedqty:
  19205. description: T+N使用量
  19206. type: integer
  19207. trademode:
  19208. description: 交易模式
  19209. type: integer
  19210. usedmargin:
  19211. description: 占用保证金
  19212. type: number
  19213. type: object
  19214. taaccount.QueryAmountLogRsp:
  19215. properties:
  19216. OPERATETYPENAME:
  19217. description: 资金操作类型名称
  19218. type: string
  19219. accountid:
  19220. description: 资金账户ID
  19221. type: integer
  19222. agoodscode:
  19223. description: 竞拍商品代码
  19224. type: string
  19225. agoodsname:
  19226. description: 竞拍商品名称
  19227. type: string
  19228. amount:
  19229. description: 资金金额
  19230. type: number
  19231. amountadjusttype:
  19232. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  19233. type: integer
  19234. autoid:
  19235. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  19236. type: integer
  19237. balance:
  19238. description: 期初余额
  19239. type: number
  19240. businesscode:
  19241. description: 业务编号
  19242. type: integer
  19243. createtime:
  19244. description: 发生时间
  19245. type: string
  19246. currencyid:
  19247. description: 币种ID
  19248. type: integer
  19249. currentbalance:
  19250. description: 期末余额(变动后金额)
  19251. type: number
  19252. dgoodscode:
  19253. description: 交割商品代码
  19254. type: string
  19255. dgoodsname:
  19256. description: 交割商品名称
  19257. type: string
  19258. goodscode:
  19259. description: 商品代码
  19260. type: string
  19261. goodsid:
  19262. description: 商品ID
  19263. type: integer
  19264. goodsname:
  19265. description: 商品名称
  19266. type: string
  19267. marketid:
  19268. description: 市场ID
  19269. type: integer
  19270. marketname:
  19271. description: 市场名称
  19272. type: string
  19273. moneyticket:
  19274. description: 资金流水号:银行端流水号
  19275. type: integer
  19276. operatetype:
  19277. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  19278. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  19279. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  19280. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  19281. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  19282. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  19283. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  19284. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  19285. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  19286. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  19287. type: integer
  19288. relationorderid:
  19289. description: 关联单号
  19290. type: string
  19291. remark:
  19292. description: 备注
  19293. type: string
  19294. trademode:
  19295. description: 交易模式
  19296. type: integer
  19297. required:
  19298. - accountid
  19299. - amount
  19300. - amountadjusttype
  19301. - autoid
  19302. - balance
  19303. - createtime
  19304. - currentbalance
  19305. - operatetype
  19306. type: object
  19307. taaccount.QueryHisAmountLogRsp:
  19308. properties:
  19309. OPERATETYPENAME:
  19310. description: 资金操作类型名称
  19311. type: string
  19312. accountid:
  19313. description: 资金账户ID
  19314. type: integer
  19315. agoodscode:
  19316. description: 竞拍商品代码
  19317. type: string
  19318. agoodsname:
  19319. description: 竞拍商品名称
  19320. type: string
  19321. amount:
  19322. description: 资金金额
  19323. type: number
  19324. amountadjusttype:
  19325. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  19326. type: integer
  19327. autoid:
  19328. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  19329. type: integer
  19330. balance:
  19331. description: 期初余额
  19332. type: number
  19333. businesscode:
  19334. description: 业务编号
  19335. type: integer
  19336. createtime:
  19337. description: 发生时间
  19338. type: string
  19339. currencyid:
  19340. description: 币种ID
  19341. type: integer
  19342. currentbalance:
  19343. description: 期末余额(变动后金额)
  19344. type: number
  19345. dgoodscode:
  19346. description: 交割商品代码
  19347. type: string
  19348. dgoodsname:
  19349. description: 交割商品名称
  19350. type: string
  19351. goodscode:
  19352. description: 商品代码
  19353. type: string
  19354. goodsid:
  19355. description: 商品ID
  19356. type: integer
  19357. goodsname:
  19358. description: 商品名称
  19359. type: string
  19360. histradedate:
  19361. description: 历史交易日
  19362. type: string
  19363. isvaliddata:
  19364. description: 是否有效 - 0:无效 1:有效
  19365. type: integer
  19366. marketid:
  19367. description: 市场ID
  19368. type: integer
  19369. marketname:
  19370. description: 市场名称
  19371. type: string
  19372. moneyticket:
  19373. description: 资金流水号:银行端流水号
  19374. type: integer
  19375. operatetype:
  19376. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  19377. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  19378. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  19379. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  19380. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  19381. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  19382. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  19383. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  19384. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  19385. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  19386. type: integer
  19387. relationorderid:
  19388. description: 关联单号
  19389. type: string
  19390. remark:
  19391. description: 备注
  19392. type: string
  19393. trademode:
  19394. description: 交易模式
  19395. type: integer
  19396. required:
  19397. - accountid
  19398. - amount
  19399. - amountadjusttype
  19400. - autoid
  19401. - balance
  19402. - createtime
  19403. - currentbalance
  19404. - histradedate
  19405. - operatetype
  19406. type: object
  19407. trade.QueryRecieptOrderRsp:
  19408. properties:
  19409. accountName:
  19410. description: 所属账号名称(已脱敏)
  19411. type: string
  19412. accountid:
  19413. description: 资金账号
  19414. type: integer
  19415. buyorsell:
  19416. description: 方向 - 0:买 1:卖
  19417. type: integer
  19418. enableqty:
  19419. description: 可摘数量
  19420. type: integer
  19421. goodscode:
  19422. description: 商品代码
  19423. type: string
  19424. goodsid:
  19425. description: 商品ID
  19426. type: integer
  19427. goodsname:
  19428. description: 商品名称
  19429. type: string
  19430. orderid:
  19431. description: 委托单号
  19432. type: string
  19433. orderprice:
  19434. description: 委托价格
  19435. type: number
  19436. ordertime:
  19437. description: 委托时间
  19438. type: string
  19439. tradedate:
  19440. description: 交易日(yyyyMMdd)
  19441. type: string
  19442. required:
  19443. - ordertime
  19444. type: object
  19445. user.LoginQueryRsp:
  19446. properties:
  19447. areaRoles:
  19448. description: 所属角色信息
  19449. items:
  19450. $ref: '#/definitions/models.Arearole'
  19451. type: array
  19452. externalExchanges:
  19453. description: 外部交易所
  19454. items:
  19455. $ref: '#/definitions/models.Externalexchange'
  19456. type: array
  19457. goodsgroups:
  19458. description: 商品组
  19459. items:
  19460. $ref: '#/definitions/models.Goodsgroup'
  19461. type: array
  19462. loginAccount:
  19463. $ref: '#/definitions/models.Loginaccount'
  19464. description: 登录账号
  19465. markets:
  19466. description: 市场
  19467. items:
  19468. $ref: '#/definitions/models.Market'
  19469. type: array
  19470. systemParams:
  19471. description: 系统参数
  19472. items:
  19473. $ref: '#/definitions/models.Systemparam'
  19474. type: array
  19475. userAccount:
  19476. $ref: '#/definitions/models.Useraccount'
  19477. description: 用户账号
  19478. userInfo:
  19479. $ref: '#/definitions/models.Userinfo'
  19480. description: 用户信息
  19481. username:
  19482. description: 用户姓名
  19483. type: string
  19484. type: object
  19485. info:
  19486. contact: {}
  19487. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  19488. termsOfService: http://www.muchinfo.cn
  19489. title: MTP2.0 查询服务 API
  19490. version: "1.0"
  19491. paths:
  19492. /CPTrade/QueryCPTradeMyBidInfos:
  19493. get:
  19494. parameters:
  19495. - description: 资金账户
  19496. in: query
  19497. name: accountid
  19498. required: true
  19499. type: integer
  19500. - description: 预售市场ID
  19501. in: query
  19502. name: marketid
  19503. type: integer
  19504. - description: 预售商品ID
  19505. in: query
  19506. name: goodsid
  19507. type: integer
  19508. produces:
  19509. - application/json
  19510. responses:
  19511. "200":
  19512. description: OK
  19513. schema:
  19514. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  19515. "500":
  19516. description: Internal Server Error
  19517. schema:
  19518. $ref: '#/definitions/app.Response'
  19519. security:
  19520. - ApiKeyAuth: []
  19521. summary: 查询产能预售我的出价信息
  19522. tags:
  19523. - 产能预售
  19524. /CPTrade/QueryCPTradeOrderDetail:
  19525. get:
  19526. parameters:
  19527. - description: 预售商品ID
  19528. in: query
  19529. name: goodsid
  19530. type: integer
  19531. - description: 预售市场ID
  19532. in: query
  19533. name: marketid
  19534. type: integer
  19535. - description: 预售商品ID列表 - 格式:1,2,3
  19536. in: query
  19537. name: goodsids
  19538. type: string
  19539. produces:
  19540. - application/json
  19541. responses:
  19542. "200":
  19543. description: OK
  19544. schema:
  19545. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  19546. "500":
  19547. description: Internal Server Error
  19548. schema:
  19549. $ref: '#/definitions/app.Response'
  19550. security:
  19551. - ApiKeyAuth: []
  19552. summary: 查询产能预售委托单信息
  19553. tags:
  19554. - 产能预售
  19555. /CPTrade/QueryMyCPTradeGoods:
  19556. get:
  19557. parameters:
  19558. - description: 资金账户
  19559. in: query
  19560. name: accountid
  19561. required: true
  19562. type: integer
  19563. produces:
  19564. - application/json
  19565. responses:
  19566. "200":
  19567. description: OK
  19568. schema:
  19569. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  19570. "500":
  19571. description: Internal Server Error
  19572. schema:
  19573. $ref: '#/definitions/app.Response'
  19574. security:
  19575. - ApiKeyAuth: []
  19576. summary: 查询我的预售信息
  19577. tags:
  19578. - 产能预售
  19579. /CPTrade/QueryPositionCancel:
  19580. get:
  19581. parameters:
  19582. - description: 账户ID
  19583. in: query
  19584. name: userid
  19585. required: true
  19586. type: integer
  19587. - description: 注销ID
  19588. in: query
  19589. name: cancelid
  19590. type: integer
  19591. - description: 资金账户ID
  19592. in: query
  19593. name: accountid
  19594. type: integer
  19595. produces:
  19596. - application/json
  19597. responses:
  19598. "200":
  19599. description: OK
  19600. schema:
  19601. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  19602. "500":
  19603. description: Internal Server Error
  19604. schema:
  19605. $ref: '#/definitions/app.Response'
  19606. security:
  19607. - ApiKeyAuth: []
  19608. summary: 查询远期订单注销申请信息
  19609. tags:
  19610. - 产能预售
  19611. /CPTrade/QueryPreasleApply:
  19612. get:
  19613. parameters:
  19614. - description: 账户ID
  19615. in: query
  19616. name: userid
  19617. required: true
  19618. type: integer
  19619. - description: 申请ID
  19620. in: query
  19621. name: applyid
  19622. type: integer
  19623. - description: 资金账户ID
  19624. in: query
  19625. name: accountid
  19626. type: integer
  19627. produces:
  19628. - application/json
  19629. responses:
  19630. "200":
  19631. description: OK
  19632. schema:
  19633. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  19634. "500":
  19635. description: Internal Server Error
  19636. schema:
  19637. $ref: '#/definitions/app.Response'
  19638. security:
  19639. - ApiKeyAuth: []
  19640. summary: 查询产能预售申请信息
  19641. tags:
  19642. - 产能预售
  19643. /CPTrade/QueryPresaleGoodsEx:
  19644. get:
  19645. parameters:
  19646. - description: 预售商品ID
  19647. in: query
  19648. name: goodsid
  19649. type: integer
  19650. - description: 预售市场ID
  19651. in: query
  19652. name: marketid
  19653. type: integer
  19654. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  19655. in: query
  19656. name: presalemode
  19657. type: integer
  19658. - description: 预售商品ID列表 - 格式:1,2,3
  19659. in: query
  19660. name: goodsids
  19661. type: string
  19662. - description: 预售商品代码
  19663. in: query
  19664. name: goodscode
  19665. type: string
  19666. produces:
  19667. - application/json
  19668. responses:
  19669. "200":
  19670. description: OK
  19671. schema:
  19672. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  19673. "500":
  19674. description: Internal Server Error
  19675. schema:
  19676. $ref: '#/definitions/app.Response'
  19677. security:
  19678. - ApiKeyAuth: []
  19679. summary: 查询产能预售商品扩展信息
  19680. tags:
  19681. - 产能预售
  19682. /CPTrade/QueryUserGoodsData:
  19683. get:
  19684. parameters:
  19685. - description: 资金账户ID
  19686. in: query
  19687. name: accountid
  19688. required: true
  19689. type: integer
  19690. produces:
  19691. - application/json
  19692. responses:
  19693. "200":
  19694. description: OK
  19695. schema:
  19696. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  19697. "500":
  19698. description: Internal Server Error
  19699. schema:
  19700. $ref: '#/definitions/app.Response'
  19701. security:
  19702. - ApiKeyAuth: []
  19703. summary: 查询远期订单信息
  19704. tags:
  19705. - 产能预售
  19706. /Common/GetAllEnums:
  19707. get:
  19708. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  19709. parameters:
  19710. - description: 起始自增ID
  19711. in: query
  19712. name: autoid
  19713. type: integer
  19714. produces:
  19715. - application/json
  19716. responses:
  19717. "200":
  19718. description: OK
  19719. schema:
  19720. $ref: '#/definitions/models.Enumdicitem'
  19721. "500":
  19722. description: Internal Server Error
  19723. schema:
  19724. $ref: '#/definitions/app.Response'
  19725. summary: 获取所有枚举信息
  19726. tags:
  19727. - 通用服务
  19728. /Common/GetClientMenus:
  19729. get:
  19730. parameters:
  19731. - description: 登录账号
  19732. in: query
  19733. name: loginID
  19734. required: true
  19735. type: integer
  19736. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  19737. in: query
  19738. name: clientType
  19739. type: integer
  19740. - description: 分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台
  19741. in: query
  19742. name: name
  19743. type: string
  19744. produces:
  19745. - application/json
  19746. responses:
  19747. "200":
  19748. description: OK
  19749. schema:
  19750. items:
  19751. $ref: '#/definitions/common.ClientMenu'
  19752. type: array
  19753. "500":
  19754. description: Internal Server Error
  19755. schema:
  19756. $ref: '#/definitions/app.Response'
  19757. security:
  19758. - ApiKeyAuth: []
  19759. summary: 获取交易端菜单
  19760. tags:
  19761. - 通用服务
  19762. /Common/GetDivisions:
  19763. get:
  19764. produces:
  19765. - application/json
  19766. responses:
  19767. "200":
  19768. description: OK
  19769. schema:
  19770. $ref: '#/definitions/models.Division'
  19771. "500":
  19772. description: Internal Server Error
  19773. schema:
  19774. $ref: '#/definitions/app.Response'
  19775. summary: 查询区域信息
  19776. tags:
  19777. - 通用服务
  19778. /Common/GetPCWebMenus:
  19779. get:
  19780. parameters:
  19781. - description: 登录账号
  19782. in: query
  19783. name: loginID
  19784. required: true
  19785. type: integer
  19786. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  19787. in: query
  19788. name: name
  19789. type: string
  19790. produces:
  19791. - application/json
  19792. responses:
  19793. "200":
  19794. description: OK
  19795. schema:
  19796. items:
  19797. $ref: '#/definitions/common.PCWebMenu'
  19798. type: array
  19799. "500":
  19800. description: Internal Server Error
  19801. schema:
  19802. $ref: '#/definitions/app.Response'
  19803. security:
  19804. - ApiKeyAuth: []
  19805. summary: 获取PCWeb交易端菜单
  19806. tags:
  19807. - 通用服务
  19808. /Common/GetServerTime:
  19809. get:
  19810. produces:
  19811. - application/json
  19812. responses:
  19813. "200":
  19814. description: OK
  19815. schema:
  19816. $ref: '#/definitions/app.Response'
  19817. "500":
  19818. description: Internal Server Error
  19819. schema:
  19820. $ref: '#/definitions/app.Response'
  19821. summary: 获取服务器时间
  19822. tags:
  19823. - 通用服务
  19824. /Common/NoticeReaded:
  19825. post:
  19826. parameters:
  19827. - description: 登录账号
  19828. in: query
  19829. name: loginID
  19830. required: true
  19831. type: integer
  19832. - description: 通知公告ID
  19833. in: query
  19834. name: noticeID
  19835. required: true
  19836. type: integer
  19837. produces:
  19838. - application/json
  19839. responses:
  19840. "200":
  19841. description: OK
  19842. schema:
  19843. $ref: '#/definitions/app.Response'
  19844. "500":
  19845. description: Internal Server Error
  19846. schema:
  19847. $ref: '#/definitions/app.Response'
  19848. security:
  19849. - ApiKeyAuth: []
  19850. summary: 通知公告设置已读请求
  19851. tags:
  19852. - 通用服务
  19853. /Common/QueryErrorInfos:
  19854. get:
  19855. description: 如果传入rowNumber,则返回此rowNumber后的数据
  19856. parameters:
  19857. - description: 起始行号前索引
  19858. in: query
  19859. name: rowNumber
  19860. type: string
  19861. produces:
  19862. - application/json
  19863. responses:
  19864. "200":
  19865. description: OK
  19866. schema:
  19867. $ref: '#/definitions/models.QueryErrorInfosRsp'
  19868. "500":
  19869. description: Internal Server Error
  19870. schema:
  19871. $ref: '#/definitions/app.Response'
  19872. summary: 获取数据库错误信息
  19873. tags:
  19874. - 通用服务
  19875. /Common/QueryImageConfigs:
  19876. get:
  19877. parameters:
  19878. - description: 用户id
  19879. in: query
  19880. name: userId
  19881. type: integer
  19882. - description: 类型 - 1:App首页轮播 2:我的 3:首页(PC) 4:首页推广(移动-新会)
  19883. in: query
  19884. name: imageType
  19885. type: integer
  19886. produces:
  19887. - application/json
  19888. responses:
  19889. "200":
  19890. description: OK
  19891. schema:
  19892. $ref: '#/definitions/common.QueryImageConfigsRsp'
  19893. "500":
  19894. description: Internal Server Error
  19895. schema:
  19896. $ref: '#/definitions/app.Response'
  19897. summary: 查询轮播图配置信息
  19898. tags:
  19899. - 通用服务
  19900. /Common/QueryNotice:
  19901. get:
  19902. parameters:
  19903. - description: 页码
  19904. in: query
  19905. name: page
  19906. type: integer
  19907. - description: 每页条数
  19908. in: query
  19909. name: pagesize
  19910. type: integer
  19911. - description: 登录账号
  19912. in: query
  19913. name: loginID
  19914. required: true
  19915. type: integer
  19916. - description: 消息类型 - 1:公告通知 2:系统消息
  19917. in: query
  19918. name: msgType
  19919. type: integer
  19920. - description: 是否只获取未读信息
  19921. in: query
  19922. name: onlyUnRead
  19923. type: boolean
  19924. - description: 自增ID,传入后会返回这个ID后面的记录
  19925. in: query
  19926. name: lastID
  19927. type: integer
  19928. produces:
  19929. - application/json
  19930. responses:
  19931. "200":
  19932. description: OK
  19933. schema:
  19934. $ref: '#/definitions/common.QueryNoticeRsp'
  19935. "500":
  19936. description: Internal Server Error
  19937. schema:
  19938. $ref: '#/definitions/app.Response'
  19939. security:
  19940. - ApiKeyAuth: []
  19941. summary: 通知公告系统消息查询
  19942. tags:
  19943. - 通用服务
  19944. /Common/QueryProvincesAndCities:
  19945. get:
  19946. parameters:
  19947. - description: 省ID
  19948. in: query
  19949. name: provinceID
  19950. type: integer
  19951. produces:
  19952. - application/json
  19953. responses:
  19954. "200":
  19955. description: OK
  19956. schema:
  19957. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  19958. "500":
  19959. description: Internal Server Error
  19960. schema:
  19961. $ref: '#/definitions/app.Response'
  19962. summary: 查询省市信息(不包括区)
  19963. tags:
  19964. - 通用服务
  19965. /Common/QueryTableDefine:
  19966. get:
  19967. parameters:
  19968. - description: 表key
  19969. in: query
  19970. name: tableKey
  19971. type: string
  19972. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  19973. in: query
  19974. name: tableType
  19975. type: integer
  19976. produces:
  19977. - application/json
  19978. responses:
  19979. "200":
  19980. description: OK
  19981. schema:
  19982. $ref: '#/definitions/common.QueryTableDefineRsp'
  19983. "500":
  19984. description: Internal Server Error
  19985. schema:
  19986. $ref: '#/definitions/app.Response'
  19987. summary: 查询交易端列表头信息
  19988. tags:
  19989. - 通用服务
  19990. /Common/QueryTraderMenu:
  19991. get:
  19992. parameters:
  19993. - description: 登录账号
  19994. in: query
  19995. name: loginid
  19996. required: true
  19997. type: integer
  19998. produces:
  19999. - application/json
  20000. responses:
  20001. "200":
  20002. description: OK
  20003. schema:
  20004. $ref: '#/definitions/common.QueryTraderMenuRsp'
  20005. "500":
  20006. description: Internal Server Error
  20007. schema:
  20008. $ref: '#/definitions/app.Response'
  20009. summary: 查询交易端菜单
  20010. tags:
  20011. - 通用服务
  20012. /Delivery/QueryDeliveryRelation:
  20013. get:
  20014. parameters:
  20015. - description: 商品ID
  20016. in: query
  20017. name: goodsid
  20018. type: integer
  20019. - description: 品种ID
  20020. in: query
  20021. name: deliverygoodsid
  20022. type: integer
  20023. - description: 市场ID
  20024. in: query
  20025. name: marketid
  20026. type: integer
  20027. produces:
  20028. - application/json
  20029. responses:
  20030. "200":
  20031. description: OK
  20032. schema:
  20033. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  20034. "500":
  20035. description: Internal Server Error
  20036. schema:
  20037. $ref: '#/definitions/app.Response'
  20038. security:
  20039. - ApiKeyAuth: []
  20040. summary: 查询商品交割关系表
  20041. tags:
  20042. - 交割服务
  20043. /Ermcp/GetErmcpGoods:
  20044. get:
  20045. parameters:
  20046. - description: 用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)
  20047. in: query
  20048. name: userid
  20049. type: integer
  20050. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  20051. in: query
  20052. name: lastUpdateTime
  20053. type: string
  20054. produces:
  20055. - application/json
  20056. responses:
  20057. "200":
  20058. description: OK
  20059. schema:
  20060. $ref: '#/definitions/models.ErmcpGoods'
  20061. "500":
  20062. description: Internal Server Error
  20063. schema:
  20064. $ref: '#/definitions/app.Response'
  20065. security:
  20066. - ApiKeyAuth: []
  20067. summary: 查询企业风管期货商品信息
  20068. tags:
  20069. - 企业风险管理(app)
  20070. /Ermcp/GetErmcpGoodsSortByPosition:
  20071. get:
  20072. parameters:
  20073. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  20074. in: query
  20075. name: sortIndex
  20076. type: string
  20077. produces:
  20078. - application/json
  20079. responses:
  20080. "200":
  20081. description: OK
  20082. schema:
  20083. $ref: '#/definitions/models.Goodssortbypreposition'
  20084. "500":
  20085. description: Internal Server Error
  20086. schema:
  20087. $ref: '#/definitions/app.Response'
  20088. security:
  20089. - ApiKeyAuth: []
  20090. summary: 查询企业风管期货主力、次主力商品信息
  20091. tags:
  20092. - 企业风险管理(app)
  20093. /Ermcp/GetErmcpOutAccountStatus:
  20094. get:
  20095. parameters:
  20096. - description: 登录账号
  20097. in: query
  20098. name: loginID
  20099. required: true
  20100. type: integer
  20101. produces:
  20102. - application/json
  20103. responses:
  20104. "200":
  20105. description: OK
  20106. schema:
  20107. $ref: '#/definitions/models.Hedgemarketopenlog'
  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/GetErmcpRoleFuncMenuLists:
  20118. get:
  20119. parameters:
  20120. - description: 登录账号
  20121. in: query
  20122. name: loginID
  20123. required: true
  20124. type: integer
  20125. produces:
  20126. - application/json
  20127. responses:
  20128. "200":
  20129. description: OK
  20130. schema:
  20131. $ref: '#/definitions/models.Funcmenulist'
  20132. "500":
  20133. description: Internal Server Error
  20134. schema:
  20135. $ref: '#/definitions/app.Response'
  20136. security:
  20137. - ApiKeyAuth: []
  20138. summary: 获取企业风管终端权限
  20139. tags:
  20140. - 企业风险管理(app)
  20141. /Ermcp/QueryAccMgrBizGroupSet:
  20142. get:
  20143. parameters:
  20144. - description: 用户ID
  20145. in: query
  20146. name: userid
  20147. required: true
  20148. type: integer
  20149. - description: 现货商品id
  20150. in: query
  20151. name: deliverygoodsid
  20152. type: integer
  20153. produces:
  20154. - application/json
  20155. responses:
  20156. "200":
  20157. description: OK
  20158. schema:
  20159. items:
  20160. $ref: '#/definitions/models.ErmcpBizGroupEx'
  20161. type: array
  20162. "500":
  20163. description: Internal Server Error
  20164. schema:
  20165. $ref: '#/definitions/app.Response'
  20166. security:
  20167. - ApiKeyAuth: []
  20168. summary: 查询业务类型分组(账户管理/账户设置)
  20169. tags:
  20170. - 企业风险管理(app)
  20171. /Ermcp/QueryAccMgrLoginUser:
  20172. get:
  20173. parameters:
  20174. - description: 用户ID
  20175. in: query
  20176. name: userid
  20177. required: true
  20178. type: integer
  20179. - description: 用户类型 2-机构 7-企业成员
  20180. in: query
  20181. name: usertype
  20182. type: integer
  20183. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  20184. in: query
  20185. name: querytype
  20186. required: true
  20187. type: integer
  20188. produces:
  20189. - application/json
  20190. responses:
  20191. "200":
  20192. description: OK
  20193. schema:
  20194. items:
  20195. $ref: '#/definitions/models.ErmcpLoginUserEx'
  20196. type: array
  20197. "500":
  20198. description: Internal Server Error
  20199. schema:
  20200. $ref: '#/definitions/app.Response'
  20201. security:
  20202. - ApiKeyAuth: []
  20203. summary: 查询账户管理登录账号(账户管理/登录账号)
  20204. tags:
  20205. - 企业风险管理(app)
  20206. /Ermcp/QueryAccMgrMainAccountInfo:
  20207. get:
  20208. parameters:
  20209. - description: 用户ID
  20210. in: query
  20211. name: userid
  20212. type: integer
  20213. - description: 主账号id
  20214. in: query
  20215. name: accountid
  20216. type: integer
  20217. produces:
  20218. - application/json
  20219. responses:
  20220. "200":
  20221. description: OK
  20222. schema:
  20223. items:
  20224. $ref: '#/definitions/models.MainAccountInfo'
  20225. type: array
  20226. "500":
  20227. description: Internal Server Error
  20228. schema:
  20229. $ref: '#/definitions/app.Response'
  20230. security:
  20231. - ApiKeyAuth: []
  20232. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  20233. tags:
  20234. - 企业风险管理(app)
  20235. /Ermcp/QueryAccMgrRole:
  20236. get:
  20237. parameters:
  20238. - description: 用户ID
  20239. in: query
  20240. name: userid
  20241. required: true
  20242. type: integer
  20243. produces:
  20244. - application/json
  20245. responses:
  20246. "200":
  20247. description: OK
  20248. schema:
  20249. items:
  20250. $ref: '#/definitions/models.ErmcpRole'
  20251. type: array
  20252. "500":
  20253. description: Internal Server Error
  20254. schema:
  20255. $ref: '#/definitions/app.Response'
  20256. security:
  20257. - ApiKeyAuth: []
  20258. summary: 查询账户管理角色设置(账户管理/角色设置)
  20259. tags:
  20260. - 企业风险管理(app)
  20261. /Ermcp/QueryAccMgrRoleMenu:
  20262. get:
  20263. parameters:
  20264. - description: 用户ID
  20265. in: query
  20266. name: userid
  20267. required: true
  20268. type: integer
  20269. - description: 角色id(可多个,逗号隔开)
  20270. in: query
  20271. name: roleid
  20272. type: string
  20273. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  20274. in: query
  20275. name: menutype
  20276. type: integer
  20277. produces:
  20278. - application/json
  20279. responses:
  20280. "200":
  20281. description: OK
  20282. schema:
  20283. items:
  20284. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  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/QueryAccMgrTaAccountInfo:
  20296. get:
  20297. parameters:
  20298. - description: 用户ID
  20299. in: query
  20300. name: userid
  20301. required: true
  20302. type: integer
  20303. - description: 账号id
  20304. in: query
  20305. name: accountid
  20306. type: integer
  20307. produces:
  20308. - application/json
  20309. responses:
  20310. "200":
  20311. description: OK
  20312. schema:
  20313. items:
  20314. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  20315. type: array
  20316. "500":
  20317. description: Internal Server Error
  20318. schema:
  20319. $ref: '#/definitions/app.Response'
  20320. security:
  20321. - ApiKeyAuth: []
  20322. summary: 查询账户管理授信(账户管理/账户设置/授信)
  20323. tags:
  20324. - 企业风险管理(app)
  20325. /Ermcp/QueryAccMgrTaaccount:
  20326. get:
  20327. parameters:
  20328. - description: 用户ID
  20329. in: query
  20330. name: userid
  20331. required: true
  20332. type: integer
  20333. produces:
  20334. - application/json
  20335. responses:
  20336. "200":
  20337. description: OK
  20338. schema:
  20339. items:
  20340. $ref: '#/definitions/models.ErmcpTaAccountEx'
  20341. type: array
  20342. "500":
  20343. description: Internal Server Error
  20344. schema:
  20345. $ref: '#/definitions/app.Response'
  20346. security:
  20347. - ApiKeyAuth: []
  20348. summary: 查询账户管理期货账号(账户管理/期货账号)
  20349. tags:
  20350. - 企业风险管理(app)
  20351. /Ermcp/QueryAvaildGoodsGroup:
  20352. get:
  20353. parameters:
  20354. - description: 所属机构ID
  20355. in: query
  20356. name: userid
  20357. required: true
  20358. type: integer
  20359. produces:
  20360. - application/json
  20361. responses:
  20362. "200":
  20363. description: OK
  20364. schema:
  20365. items:
  20366. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  20367. type: array
  20368. "500":
  20369. description: Internal Server Error
  20370. schema:
  20371. $ref: '#/definitions/app.Response'
  20372. security:
  20373. - ApiKeyAuth: []
  20374. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  20375. tags:
  20376. - 企业风险管理(app)
  20377. /Ermcp/QueryBusinessDj:
  20378. get:
  20379. parameters:
  20380. - description: 用户ID
  20381. in: query
  20382. name: UserId
  20383. required: true
  20384. type: integer
  20385. - description: 用户类型 2-机构 7-企业成员
  20386. in: query
  20387. name: usertype
  20388. type: integer
  20389. - description: 现货合同ID, 不填则查所有
  20390. in: query
  20391. name: relatedid
  20392. type: string
  20393. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20394. in: query
  20395. name: applystatus
  20396. type: string
  20397. produces:
  20398. - application/json
  20399. responses:
  20400. "200":
  20401. description: OK
  20402. schema:
  20403. items:
  20404. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  20405. type: array
  20406. "500":
  20407. description: Internal Server Error
  20408. schema:
  20409. $ref: '#/definitions/app.Response'
  20410. security:
  20411. - ApiKeyAuth: []
  20412. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  20413. tags:
  20414. - 企业风险管理(app)
  20415. /Ermcp/QueryBusinessFp:
  20416. get:
  20417. parameters:
  20418. - description: 用户ID
  20419. in: query
  20420. name: UserId
  20421. required: true
  20422. type: integer
  20423. - description: 用户类型 2-机构 7-企业成员
  20424. in: query
  20425. name: usertype
  20426. type: integer
  20427. - description: 现货合同ID, 不填则查所有
  20428. in: query
  20429. name: relatedid
  20430. type: string
  20431. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20432. in: query
  20433. name: applystatus
  20434. type: string
  20435. produces:
  20436. - application/json
  20437. responses:
  20438. "200":
  20439. description: OK
  20440. schema:
  20441. items:
  20442. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  20443. type: array
  20444. "500":
  20445. description: Internal Server Error
  20446. schema:
  20447. $ref: '#/definitions/app.Response'
  20448. security:
  20449. - ApiKeyAuth: []
  20450. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  20451. tags:
  20452. - 企业风险管理(app)
  20453. /Ermcp/QueryBusinessJs:
  20454. get:
  20455. parameters:
  20456. - description: 用户ID
  20457. in: query
  20458. name: UserId
  20459. required: true
  20460. type: integer
  20461. - description: 用户类型 2-机构 7-企业成员
  20462. in: query
  20463. name: usertype
  20464. type: integer
  20465. - description: 现货合同ID, 不填则查所有
  20466. in: query
  20467. name: relatedid
  20468. type: string
  20469. - description: 操作申请id
  20470. in: query
  20471. name: operateapplyid
  20472. type: string
  20473. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20474. in: query
  20475. name: applystatus
  20476. type: string
  20477. produces:
  20478. - application/json
  20479. responses:
  20480. "200":
  20481. description: OK
  20482. schema:
  20483. items:
  20484. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  20485. type: array
  20486. "500":
  20487. description: Internal Server Error
  20488. schema:
  20489. $ref: '#/definitions/app.Response'
  20490. security:
  20491. - ApiKeyAuth: []
  20492. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  20493. tags:
  20494. - 企业风险管理(app)
  20495. /Ermcp/QueryBusinessJsEx:
  20496. get:
  20497. parameters:
  20498. - description: 用户ID
  20499. in: query
  20500. name: UserId
  20501. required: true
  20502. type: integer
  20503. - description: 用户类型 2-机构 7-企业成员
  20504. in: query
  20505. name: usertype
  20506. type: integer
  20507. - description: 现货合同ID, 不填则查所有
  20508. in: query
  20509. name: relatedid
  20510. type: string
  20511. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20512. in: query
  20513. name: applystatus
  20514. type: string
  20515. produces:
  20516. - application/json
  20517. responses:
  20518. "200":
  20519. description: OK
  20520. schema:
  20521. items:
  20522. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  20523. type: array
  20524. "500":
  20525. description: Internal Server Error
  20526. schema:
  20527. $ref: '#/definitions/app.Response'
  20528. security:
  20529. - ApiKeyAuth: []
  20530. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  20531. tags:
  20532. - 企业风险管理(app)
  20533. /Ermcp/QueryBusinessKx:
  20534. get:
  20535. parameters:
  20536. - description: 用户ID
  20537. in: query
  20538. name: UserId
  20539. required: true
  20540. type: integer
  20541. - description: 用户类型 2-机构 7-企业成员
  20542. in: query
  20543. name: usertype
  20544. type: integer
  20545. - description: 现货合同ID, 不填则查所有
  20546. in: query
  20547. name: relatedid
  20548. type: string
  20549. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20550. in: query
  20551. name: applystatus
  20552. type: string
  20553. produces:
  20554. - application/json
  20555. responses:
  20556. "200":
  20557. description: OK
  20558. schema:
  20559. items:
  20560. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  20561. type: array
  20562. "500":
  20563. description: Internal Server Error
  20564. schema:
  20565. $ref: '#/definitions/app.Response'
  20566. security:
  20567. - ApiKeyAuth: []
  20568. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  20569. tags:
  20570. - 企业风险管理(app)
  20571. /Ermcp/QueryChangeLog:
  20572. get:
  20573. parameters:
  20574. - description: 合同ID
  20575. in: query
  20576. name: RelatedId
  20577. required: true
  20578. type: string
  20579. produces:
  20580. - application/json
  20581. responses:
  20582. "200":
  20583. description: OK
  20584. schema:
  20585. items:
  20586. $ref: '#/definitions/ermcp.QryOPLogRsp'
  20587. type: array
  20588. "500":
  20589. description: Internal Server Error
  20590. schema:
  20591. $ref: '#/definitions/app.Response'
  20592. security:
  20593. - ApiKeyAuth: []
  20594. summary: 查询变更记录
  20595. tags:
  20596. - 企业风险管理(app)
  20597. /Ermcp/QueryErmcpHisOrderDetails:
  20598. get:
  20599. parameters:
  20600. - description: 资金账户ID
  20601. in: query
  20602. name: accountID
  20603. required: true
  20604. type: integer
  20605. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  20606. in: query
  20607. name: startDate
  20608. type: string
  20609. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  20610. in: query
  20611. name: endDate
  20612. type: string
  20613. produces:
  20614. - application/json
  20615. responses:
  20616. "200":
  20617. description: OK
  20618. schema:
  20619. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  20620. "500":
  20621. description: Internal Server Error
  20622. schema:
  20623. $ref: '#/definitions/app.Response'
  20624. security:
  20625. - ApiKeyAuth: []
  20626. summary: 获取企业风管期货历史委托单信息
  20627. tags:
  20628. - 企业风险管理(app)
  20629. /Ermcp/QueryErmcpHisTradeDetails:
  20630. get:
  20631. parameters:
  20632. - description: 资金账户ID
  20633. in: query
  20634. name: accountID
  20635. required: true
  20636. type: integer
  20637. - description: 商品ID
  20638. in: query
  20639. name: goodsID
  20640. type: integer
  20641. - description: 买卖方向,0:买 1:卖
  20642. in: query
  20643. name: buyOrSell
  20644. type: integer
  20645. - description: 关联委托单号
  20646. in: query
  20647. name: orderID
  20648. type: integer
  20649. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  20650. in: query
  20651. name: startDate
  20652. type: string
  20653. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  20654. in: query
  20655. name: endDate
  20656. type: string
  20657. produces:
  20658. - application/json
  20659. responses:
  20660. "200":
  20661. description: OK
  20662. schema:
  20663. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  20664. "500":
  20665. description: Internal Server Error
  20666. schema:
  20667. $ref: '#/definitions/app.Response'
  20668. security:
  20669. - ApiKeyAuth: []
  20670. summary: 获取企业风管期货历史成交单信息
  20671. tags:
  20672. - 企业风险管理(app)
  20673. /Ermcp/QueryErmcpInnerHolderDetails:
  20674. get:
  20675. parameters:
  20676. - description: 资金账户ID
  20677. in: query
  20678. name: accountID
  20679. required: true
  20680. type: integer
  20681. - description: 商品ID
  20682. in: query
  20683. name: goodsID
  20684. type: integer
  20685. - description: 买卖方向,0:买 1:卖
  20686. in: query
  20687. name: buyOrSell
  20688. type: integer
  20689. produces:
  20690. - application/json
  20691. responses:
  20692. "200":
  20693. description: OK
  20694. schema:
  20695. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  20696. "500":
  20697. description: Internal Server Error
  20698. schema:
  20699. $ref: '#/definitions/app.Response'
  20700. security:
  20701. - ApiKeyAuth: []
  20702. summary: 获取企业风管期货内部持仓单信息
  20703. tags:
  20704. - 企业风险管理(app)
  20705. /Ermcp/QueryErmcpOrderDetails:
  20706. get:
  20707. parameters:
  20708. - description: 资金账户ID
  20709. in: query
  20710. name: accountID
  20711. required: true
  20712. type: integer
  20713. produces:
  20714. - application/json
  20715. responses:
  20716. "200":
  20717. description: OK
  20718. schema:
  20719. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  20720. "500":
  20721. description: Internal Server Error
  20722. schema:
  20723. $ref: '#/definitions/app.Response'
  20724. security:
  20725. - ApiKeyAuth: []
  20726. summary: 获取企业风管期货委托单信息
  20727. tags:
  20728. - 企业风险管理(app)
  20729. /Ermcp/QueryErmcpTradeDetails:
  20730. get:
  20731. parameters:
  20732. - description: 资金账户ID
  20733. in: query
  20734. name: accountID
  20735. required: true
  20736. type: integer
  20737. - description: 商品ID
  20738. in: query
  20739. name: goodsID
  20740. type: integer
  20741. - description: 买卖方向,0:买 1:卖
  20742. in: query
  20743. name: buyOrSell
  20744. type: integer
  20745. - description: 关联委托单号
  20746. in: query
  20747. name: orderID
  20748. type: integer
  20749. produces:
  20750. - application/json
  20751. responses:
  20752. "200":
  20753. description: OK
  20754. schema:
  20755. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  20756. "500":
  20757. description: Internal Server Error
  20758. schema:
  20759. $ref: '#/definitions/app.Response'
  20760. security:
  20761. - ApiKeyAuth: []
  20762. summary: 获取企业风管期货成交单信息
  20763. tags:
  20764. - 企业风险管理(app)
  20765. /Ermcp/QueryErmcpTradePosition:
  20766. get:
  20767. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  20768. parameters:
  20769. - description: 资金账户ID
  20770. in: query
  20771. name: accountID
  20772. required: true
  20773. type: integer
  20774. - description: 所属市场ID
  20775. in: query
  20776. name: marketID
  20777. type: integer
  20778. produces:
  20779. - application/json
  20780. responses:
  20781. "200":
  20782. description: OK
  20783. schema:
  20784. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  20785. "500":
  20786. description: Internal Server Error
  20787. schema:
  20788. $ref: '#/definitions/app.Response'
  20789. security:
  20790. - ApiKeyAuth: []
  20791. summary: 获取企业风管期货持仓头寸信息
  20792. tags:
  20793. - 企业风险管理(app)
  20794. /Ermcp/QueryExposureDetail:
  20795. get:
  20796. parameters:
  20797. - description: 所属机构ID
  20798. in: query
  20799. name: areaUserId
  20800. required: true
  20801. type: integer
  20802. - description: 套保商品
  20803. in: query
  20804. name: middleGoodsId
  20805. required: true
  20806. type: integer
  20807. produces:
  20808. - application/json
  20809. responses:
  20810. "200":
  20811. description: OK
  20812. schema:
  20813. items:
  20814. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  20815. type: array
  20816. "500":
  20817. description: Internal Server Error
  20818. schema:
  20819. $ref: '#/definitions/app.Response'
  20820. security:
  20821. - ApiKeyAuth: []
  20822. summary: 查询敞口现货明细
  20823. tags:
  20824. - 企业风险管理(app)
  20825. /Ermcp/QueryExposureGoods:
  20826. get:
  20827. parameters:
  20828. - description: 套保商品id
  20829. in: query
  20830. name: middlegoodsid
  20831. required: true
  20832. type: integer
  20833. produces:
  20834. - application/json
  20835. responses:
  20836. "200":
  20837. description: OK
  20838. schema:
  20839. items:
  20840. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  20841. type: array
  20842. "500":
  20843. description: Internal Server Error
  20844. schema:
  20845. $ref: '#/definitions/app.Response'
  20846. security:
  20847. - ApiKeyAuth: []
  20848. summary: 查询敞口主力合约
  20849. tags:
  20850. - 企业风险管理(app)
  20851. /Ermcp/QueryExposureHedgePosition:
  20852. get:
  20853. parameters:
  20854. - description: 用户id
  20855. in: query
  20856. name: userid
  20857. required: true
  20858. type: integer
  20859. produces:
  20860. - application/json
  20861. responses:
  20862. "200":
  20863. description: OK
  20864. schema:
  20865. items:
  20866. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  20867. type: array
  20868. "500":
  20869. description: Internal Server Error
  20870. schema:
  20871. $ref: '#/definitions/app.Response'
  20872. security:
  20873. - ApiKeyAuth: []
  20874. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  20875. tags:
  20876. - 企业风险管理(app)
  20877. /Ermcp/QueryExposureHedgePositionDetail:
  20878. get:
  20879. parameters:
  20880. - description: 所属机构ID
  20881. in: query
  20882. name: userid
  20883. required: true
  20884. type: integer
  20885. - description: 商品id
  20886. in: query
  20887. name: goodsId
  20888. required: true
  20889. type: integer
  20890. produces:
  20891. - application/json
  20892. responses:
  20893. "200":
  20894. description: OK
  20895. schema:
  20896. items:
  20897. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  20898. type: array
  20899. "500":
  20900. description: Internal Server Error
  20901. schema:
  20902. $ref: '#/definitions/app.Response'
  20903. security:
  20904. - ApiKeyAuth: []
  20905. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  20906. tags:
  20907. - 企业风险管理(app)
  20908. /Ermcp/QueryExposureSpot:
  20909. get:
  20910. parameters:
  20911. - description: 所属机构ID
  20912. in: query
  20913. name: areaUserId
  20914. required: true
  20915. type: integer
  20916. produces:
  20917. - application/json
  20918. responses:
  20919. "200":
  20920. description: OK
  20921. schema:
  20922. items:
  20923. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  20924. type: array
  20925. "500":
  20926. description: Internal Server Error
  20927. schema:
  20928. $ref: '#/definitions/app.Response'
  20929. security:
  20930. - ApiKeyAuth: []
  20931. summary: 查询敞口现货头寸(敞口/现货头寸)
  20932. tags:
  20933. - 企业风险管理(app)
  20934. /Ermcp/QueryExposureSpotDetail:
  20935. get:
  20936. parameters:
  20937. - description: 所属机构ID
  20938. in: query
  20939. name: areaUserId
  20940. required: true
  20941. type: integer
  20942. - description: 现货品种ID
  20943. in: query
  20944. name: wrstandardId
  20945. required: true
  20946. type: integer
  20947. produces:
  20948. - application/json
  20949. responses:
  20950. "200":
  20951. description: OK
  20952. schema:
  20953. items:
  20954. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  20955. type: array
  20956. "500":
  20957. description: Internal Server Error
  20958. schema:
  20959. $ref: '#/definitions/app.Response'
  20960. security:
  20961. - ApiKeyAuth: []
  20962. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  20963. tags:
  20964. - 企业风险管理(app)
  20965. /Ermcp/QueryFuturesCompany:
  20966. get:
  20967. produces:
  20968. - application/json
  20969. responses:
  20970. "200":
  20971. description: OK
  20972. schema:
  20973. items:
  20974. $ref: '#/definitions/models.ErmcpFuturesCompany'
  20975. type: array
  20976. "500":
  20977. description: Internal Server Error
  20978. schema:
  20979. $ref: '#/definitions/app.Response'
  20980. security:
  20981. - ApiKeyAuth: []
  20982. summary: 查询期货公司
  20983. tags:
  20984. - 企业风险管理(app)
  20985. /Ermcp/QueryGGConvertConfig:
  20986. get:
  20987. parameters:
  20988. - description: 品种id(不填则查所有)
  20989. in: query
  20990. name: goodsgroupid
  20991. type: integer
  20992. produces:
  20993. - application/json
  20994. responses:
  20995. "200":
  20996. description: OK
  20997. schema:
  20998. items:
  20999. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  21000. type: array
  21001. "500":
  21002. description: Internal Server Error
  21003. schema:
  21004. $ref: '#/definitions/app.Response'
  21005. security:
  21006. - ApiKeyAuth: []
  21007. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  21008. tags:
  21009. - 企业风险管理(app)
  21010. /Ermcp/QueryGoodsBrand:
  21011. get:
  21012. parameters:
  21013. - description: 用户ID
  21014. in: query
  21015. name: userid
  21016. required: true
  21017. type: integer
  21018. - description: 现货商品ID
  21019. in: query
  21020. name: wrstandardid
  21021. type: integer
  21022. produces:
  21023. - application/json
  21024. responses:
  21025. "200":
  21026. description: OK
  21027. schema:
  21028. items:
  21029. $ref: '#/definitions/models.ErmcpGoodsBrand'
  21030. type: array
  21031. "500":
  21032. description: Internal Server Error
  21033. schema:
  21034. $ref: '#/definitions/app.Response'
  21035. security:
  21036. - ApiKeyAuth: []
  21037. summary: 查询商品品牌
  21038. tags:
  21039. - 企业风险管理(app)
  21040. /Ermcp/QueryGoodsModel:
  21041. get:
  21042. parameters:
  21043. - description: 用户ID
  21044. in: query
  21045. name: userid
  21046. required: true
  21047. type: integer
  21048. produces:
  21049. - application/json
  21050. responses:
  21051. "200":
  21052. description: OK
  21053. schema:
  21054. items:
  21055. $ref: '#/definitions/models.ErmcpGoodsModel'
  21056. type: array
  21057. "500":
  21058. description: Internal Server Error
  21059. schema:
  21060. $ref: '#/definitions/app.Response'
  21061. security:
  21062. - ApiKeyAuth: []
  21063. summary: 查询商品型号
  21064. tags:
  21065. - 企业风险管理(app)
  21066. /Ermcp/QueryHisExposure:
  21067. get:
  21068. parameters:
  21069. - description: 用户id
  21070. in: query
  21071. name: userid
  21072. required: true
  21073. type: integer
  21074. - description: 每个品种记录数
  21075. in: query
  21076. name: lastNum
  21077. required: true
  21078. type: integer
  21079. produces:
  21080. - application/json
  21081. responses:
  21082. "200":
  21083. description: OK
  21084. schema:
  21085. items:
  21086. $ref: '#/definitions/ermcp.HisExposureRsp'
  21087. type: array
  21088. "500":
  21089. description: Internal Server Error
  21090. schema:
  21091. $ref: '#/definitions/app.Response'
  21092. security:
  21093. - ApiKeyAuth: []
  21094. summary: 查询历史敞口(菜单:敞口/历史敞口)
  21095. tags:
  21096. - 企业风险管理(app)
  21097. /Ermcp/QueryMiddleGoods:
  21098. get:
  21099. parameters:
  21100. - description: 所属机构ID
  21101. in: query
  21102. name: userid
  21103. required: true
  21104. type: integer
  21105. - description: 状态 0-停用 1-正常
  21106. in: query
  21107. name: status
  21108. required: true
  21109. type: integer
  21110. produces:
  21111. - application/json
  21112. responses:
  21113. "200":
  21114. description: OK
  21115. schema:
  21116. items:
  21117. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  21118. type: array
  21119. "500":
  21120. description: Internal Server Error
  21121. schema:
  21122. $ref: '#/definitions/app.Response'
  21123. security:
  21124. - ApiKeyAuth: []
  21125. summary: 查询套保品种(菜单:套保品种)
  21126. tags:
  21127. - 企业风险管理(app)
  21128. /Ermcp/QueryMiddleGoodsChangeLog:
  21129. get:
  21130. parameters:
  21131. - description: 所属机构ID
  21132. in: query
  21133. name: userid
  21134. required: true
  21135. type: integer
  21136. - description: 套保品种id
  21137. in: query
  21138. name: middlegoodsid
  21139. required: true
  21140. type: integer
  21141. produces:
  21142. - application/json
  21143. responses:
  21144. "200":
  21145. description: OK
  21146. schema:
  21147. items:
  21148. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  21149. type: array
  21150. "500":
  21151. description: Internal Server Error
  21152. schema:
  21153. $ref: '#/definitions/app.Response'
  21154. security:
  21155. - ApiKeyAuth: []
  21156. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  21157. tags:
  21158. - 企业风险管理(app)
  21159. /Ermcp/QueryMiddleGoodsDetail:
  21160. get:
  21161. parameters:
  21162. - description: 所属机构ID
  21163. in: query
  21164. name: userid
  21165. required: true
  21166. type: integer
  21167. - description: 套保品种id
  21168. in: query
  21169. name: middlegoodsid
  21170. type: integer
  21171. produces:
  21172. - application/json
  21173. responses:
  21174. "200":
  21175. description: OK
  21176. schema:
  21177. items:
  21178. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  21179. type: array
  21180. "500":
  21181. description: Internal Server Error
  21182. schema:
  21183. $ref: '#/definitions/app.Response'
  21184. security:
  21185. - ApiKeyAuth: []
  21186. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  21187. tags:
  21188. - 企业风险管理(app)
  21189. /Ermcp/QueryPendingAuditInfo:
  21190. get:
  21191. parameters:
  21192. - description: 用户ID
  21193. in: query
  21194. name: UserId
  21195. required: true
  21196. type: integer
  21197. produces:
  21198. - application/json
  21199. responses:
  21200. "200":
  21201. description: OK
  21202. schema:
  21203. items:
  21204. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  21205. type: array
  21206. "500":
  21207. description: Internal Server Error
  21208. schema:
  21209. $ref: '#/definitions/app.Response'
  21210. security:
  21211. - ApiKeyAuth: []
  21212. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  21213. tags:
  21214. - 企业风险管理(app)
  21215. /Ermcp/QueryRealtimeExposure:
  21216. get:
  21217. parameters:
  21218. - description: 所属机构ID
  21219. in: query
  21220. name: userid
  21221. required: true
  21222. type: integer
  21223. produces:
  21224. - application/json
  21225. responses:
  21226. "200":
  21227. description: OK
  21228. schema:
  21229. items:
  21230. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  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. - 企业风险管理(app)
  21241. /Ermcp/QueryRealtimeExposurePosition:
  21242. get:
  21243. parameters:
  21244. - description: 用户id
  21245. in: query
  21246. name: userid
  21247. required: true
  21248. type: integer
  21249. - description: 套保商品ID
  21250. in: query
  21251. name: middleGoodsId
  21252. required: true
  21253. type: integer
  21254. produces:
  21255. - application/json
  21256. responses:
  21257. "200":
  21258. description: OK
  21259. schema:
  21260. items:
  21261. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  21262. type: array
  21263. "500":
  21264. description: Internal Server Error
  21265. schema:
  21266. $ref: '#/definitions/app.Response'
  21267. security:
  21268. - ApiKeyAuth: []
  21269. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  21270. tags:
  21271. - 企业风险管理(app)
  21272. /Ermcp/QueryRoleMenu:
  21273. get:
  21274. parameters:
  21275. - description: 登录ID
  21276. in: query
  21277. name: loginid
  21278. required: true
  21279. type: integer
  21280. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  21281. in: query
  21282. name: menutype
  21283. type: integer
  21284. produces:
  21285. - application/json
  21286. responses:
  21287. "200":
  21288. description: OK
  21289. schema:
  21290. items:
  21291. $ref: '#/definitions/models.RoleMenu'
  21292. type: array
  21293. "500":
  21294. description: Internal Server Error
  21295. schema:
  21296. $ref: '#/definitions/app.Response'
  21297. security:
  21298. - ApiKeyAuth: []
  21299. summary: 查询角色菜单和权限
  21300. tags:
  21301. - 企业风险管理(app)
  21302. /Ermcp/QueryTradeConfigTMP:
  21303. get:
  21304. parameters:
  21305. - description: 所属机构id
  21306. in: query
  21307. name: areauserid
  21308. type: integer
  21309. produces:
  21310. - application/json
  21311. responses:
  21312. "200":
  21313. description: OK
  21314. schema:
  21315. items:
  21316. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  21317. type: array
  21318. "500":
  21319. description: Internal Server Error
  21320. schema:
  21321. $ref: '#/definitions/app.Response'
  21322. security:
  21323. - ApiKeyAuth: []
  21324. summary: 查询交易模板配置
  21325. tags:
  21326. - 企业风险管理(app)
  21327. /Ermcp/QueryUserInfo:
  21328. get:
  21329. parameters:
  21330. - description: 所属机构用户ID
  21331. in: query
  21332. name: MemberUserID
  21333. required: true
  21334. type: integer
  21335. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  21336. in: query
  21337. name: queryType
  21338. required: true
  21339. type: integer
  21340. produces:
  21341. - application/json
  21342. responses:
  21343. "200":
  21344. description: OK
  21345. schema:
  21346. items:
  21347. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  21348. type: array
  21349. "500":
  21350. description: Internal Server Error
  21351. schema:
  21352. $ref: '#/definitions/app.Response'
  21353. security:
  21354. - ApiKeyAuth: []
  21355. summary: 查询客户资料
  21356. tags:
  21357. - 企业风险管理(app)
  21358. /Ermcp/QueryWarehouseInfo:
  21359. get:
  21360. parameters:
  21361. - description: 用户ID
  21362. in: query
  21363. name: userid
  21364. required: true
  21365. type: integer
  21366. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  21367. in: query
  21368. name: status
  21369. type: string
  21370. produces:
  21371. - application/json
  21372. responses:
  21373. "200":
  21374. description: OK
  21375. schema:
  21376. items:
  21377. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  21378. type: array
  21379. "500":
  21380. description: Internal Server Error
  21381. schema:
  21382. $ref: '#/definitions/app.Response'
  21383. security:
  21384. - ApiKeyAuth: []
  21385. summary: 查询仓库信息
  21386. tags:
  21387. - 企业风险管理(app)
  21388. /Ermcp3/QryAreaExpourseContractDetail:
  21389. get:
  21390. parameters:
  21391. - description: 用户ID
  21392. in: query
  21393. name: userid
  21394. required: true
  21395. type: integer
  21396. - description: 套保商品id
  21397. in: query
  21398. name: middlegoodsid
  21399. required: true
  21400. type: integer
  21401. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21402. in: query
  21403. name: cycletype
  21404. required: true
  21405. type: integer
  21406. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21407. 全(0)【原值】
  21408. in: query
  21409. name: cycletime
  21410. required: true
  21411. type: string
  21412. produces:
  21413. - application/json
  21414. responses:
  21415. "200":
  21416. description: OK
  21417. schema:
  21418. items:
  21419. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  21420. type: array
  21421. "500":
  21422. description: Internal Server Error
  21423. schema:
  21424. $ref: '#/definitions/app.Response'
  21425. security:
  21426. - ApiKeyAuth: []
  21427. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  21428. tags:
  21429. - 企业风险管理v3(app)
  21430. /Ermcp3/QryAreaExpourseFutuDetail:
  21431. get:
  21432. parameters:
  21433. - description: 用户ID
  21434. in: query
  21435. name: userid
  21436. required: true
  21437. type: integer
  21438. - description: 套保商品id
  21439. in: query
  21440. name: middlegoodsid
  21441. required: true
  21442. type: integer
  21443. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21444. in: query
  21445. name: cycletype
  21446. required: true
  21447. type: integer
  21448. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21449. 全(0)【原值】
  21450. in: query
  21451. name: cycletime
  21452. required: true
  21453. type: string
  21454. produces:
  21455. - application/json
  21456. responses:
  21457. "200":
  21458. description: OK
  21459. schema:
  21460. items:
  21461. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  21462. type: array
  21463. "500":
  21464. description: Internal Server Error
  21465. schema:
  21466. $ref: '#/definitions/app.Response'
  21467. security:
  21468. - ApiKeyAuth: []
  21469. summary: 查询敞口期货明细(敞口报表/期货明细)
  21470. tags:
  21471. - 企业风险管理v3(app)
  21472. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  21473. get:
  21474. parameters:
  21475. - description: 用户ID
  21476. in: query
  21477. name: userid
  21478. required: true
  21479. type: integer
  21480. - description: 套保商品id
  21481. in: query
  21482. name: middlegoodsid
  21483. required: true
  21484. type: integer
  21485. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21486. in: query
  21487. name: cycletype
  21488. required: true
  21489. type: integer
  21490. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21491. 全(0)【原值】
  21492. in: query
  21493. name: cycletime
  21494. required: true
  21495. type: string
  21496. produces:
  21497. - application/json
  21498. responses:
  21499. "200":
  21500. description: OK
  21501. schema:
  21502. items:
  21503. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  21504. type: array
  21505. "500":
  21506. description: Internal Server Error
  21507. schema:
  21508. $ref: '#/definitions/app.Response'
  21509. security:
  21510. - ApiKeyAuth: []
  21511. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  21512. tags:
  21513. - 企业风险管理v3(app)
  21514. /Ermcp3/QryAreaExpourseParamChLogDetail:
  21515. get:
  21516. parameters:
  21517. - description: 用户ID
  21518. in: query
  21519. name: userid
  21520. required: true
  21521. type: integer
  21522. - description: 套保商品id
  21523. in: query
  21524. name: middlegoodsid
  21525. required: true
  21526. type: integer
  21527. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21528. in: query
  21529. name: cycletype
  21530. required: true
  21531. type: integer
  21532. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21533. 全(0)【原值】
  21534. in: query
  21535. name: cycletime
  21536. required: true
  21537. type: string
  21538. produces:
  21539. - application/json
  21540. responses:
  21541. "200":
  21542. description: OK
  21543. schema:
  21544. items:
  21545. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  21546. type: array
  21547. "500":
  21548. description: Internal Server Error
  21549. schema:
  21550. $ref: '#/definitions/app.Response'
  21551. security:
  21552. - ApiKeyAuth: []
  21553. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  21554. tags:
  21555. - 企业风险管理v3(app)
  21556. /Ermcp3/QryAreaExpourseReport:
  21557. get:
  21558. parameters:
  21559. - description: 用户ID
  21560. in: query
  21561. name: userid
  21562. required: true
  21563. type: integer
  21564. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  21565. in: query
  21566. name: querytype
  21567. required: true
  21568. type: integer
  21569. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21570. in: query
  21571. name: cycletype
  21572. required: true
  21573. type: integer
  21574. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21575. 全(0)【原值】
  21576. in: query
  21577. name: cycletime
  21578. required: true
  21579. type: string
  21580. produces:
  21581. - application/json
  21582. responses:
  21583. "200":
  21584. description: OK
  21585. schema:
  21586. items:
  21587. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  21588. type: array
  21589. "500":
  21590. description: Internal Server Error
  21591. schema:
  21592. $ref: '#/definitions/app.Response'
  21593. security:
  21594. - ApiKeyAuth: []
  21595. summary: 查询敞口报表
  21596. tags:
  21597. - 企业风险管理v3(app)
  21598. /Ermcp3/QryAreaSpotplReport:
  21599. get:
  21600. description: 目前pcweb的日/周/月报表与手机端的汇总维度不同, 所以增加了可选参数sumflag参数, pcweb请填1
  21601. parameters:
  21602. - description: 用户ID
  21603. in: query
  21604. name: userid
  21605. required: true
  21606. type: integer
  21607. - description: 查询类型 1-报表 2-报表明细
  21608. in: query
  21609. name: querytype
  21610. required: true
  21611. type: integer
  21612. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21613. in: query
  21614. name: cycletype
  21615. required: true
  21616. type: integer
  21617. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21618. 全(0)【原值】
  21619. in: query
  21620. name: cycletime
  21621. required: true
  21622. type: string
  21623. - description: 现货品种id(明细必填)
  21624. in: query
  21625. name: deliverygoodsid
  21626. type: integer
  21627. - description: 币种id(明细必填)
  21628. in: query
  21629. name: currencyid
  21630. type: integer
  21631. - description: 日/周/月报表汇总维度 1:品种+品类
  21632. in: query
  21633. name: sumflag
  21634. type: integer
  21635. produces:
  21636. - application/json
  21637. responses:
  21638. "200":
  21639. description: OK
  21640. schema:
  21641. items:
  21642. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  21643. type: array
  21644. "500":
  21645. description: Internal Server Error
  21646. schema:
  21647. $ref: '#/definitions/app.Response'
  21648. security:
  21649. - ApiKeyAuth: []
  21650. summary: 查询现货报表
  21651. tags:
  21652. - 企业风险管理v3(app)
  21653. /Ermcp3/QryAreaStockReport:
  21654. get:
  21655. parameters:
  21656. - description: 用户ID
  21657. in: query
  21658. name: userid
  21659. required: true
  21660. type: integer
  21661. - description: 查询类型 1-报表 2-报表明细
  21662. in: query
  21663. name: querytype
  21664. required: true
  21665. type: integer
  21666. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21667. in: query
  21668. name: cycletype
  21669. required: true
  21670. type: integer
  21671. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21672. 全(0)【原值】
  21673. in: query
  21674. name: cycletime
  21675. required: true
  21676. type: string
  21677. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  21678. in: query
  21679. name: sumfields
  21680. type: string
  21681. - description: 品种ID
  21682. in: query
  21683. name: deliverygoodsid
  21684. type: integer
  21685. - description: 品类ID
  21686. in: query
  21687. name: wrstandardid
  21688. type: integer
  21689. - description: 品牌ID
  21690. in: query
  21691. name: spotgoodsbrandid
  21692. type: integer
  21693. - description: 仓库ID
  21694. in: query
  21695. name: warehouseinfoid
  21696. type: integer
  21697. produces:
  21698. - application/json
  21699. responses:
  21700. "200":
  21701. description: OK
  21702. schema:
  21703. items:
  21704. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  21705. type: array
  21706. "500":
  21707. description: Internal Server Error
  21708. schema:
  21709. $ref: '#/definitions/app.Response'
  21710. security:
  21711. - ApiKeyAuth: []
  21712. summary: 查询库存报表
  21713. tags:
  21714. - 企业风险管理v3(app)
  21715. /Ermcp3/QryAreaSumPL:
  21716. get:
  21717. parameters:
  21718. - description: 用户ID
  21719. in: query
  21720. name: userid
  21721. required: true
  21722. type: integer
  21723. - description: 查询类型 1-报表 2-报表明细
  21724. in: query
  21725. name: querytype
  21726. required: true
  21727. type: integer
  21728. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21729. in: query
  21730. name: cycletype
  21731. required: true
  21732. type: integer
  21733. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21734. 全(0)【原值】
  21735. in: query
  21736. name: cycletime
  21737. required: true
  21738. type: string
  21739. - description: 币种id(明细必填)
  21740. in: query
  21741. name: currencyid
  21742. type: integer
  21743. produces:
  21744. - application/json
  21745. responses:
  21746. "200":
  21747. description: OK
  21748. schema:
  21749. items:
  21750. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  21751. type: array
  21752. "500":
  21753. description: Internal Server Error
  21754. schema:
  21755. $ref: '#/definitions/app.Response'
  21756. security:
  21757. - ApiKeyAuth: []
  21758. summary: 查询汇总损益表
  21759. tags:
  21760. - 企业风险管理v3(app)
  21761. /Ermcp3/QryFinanceReport:
  21762. get:
  21763. parameters:
  21764. - description: 用户ID
  21765. in: query
  21766. name: userid
  21767. required: true
  21768. type: integer
  21769. - description: 查询类型 1-报表 2-报表明细
  21770. in: query
  21771. name: querytype
  21772. required: true
  21773. type: integer
  21774. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21775. in: query
  21776. name: cycletype
  21777. required: true
  21778. type: integer
  21779. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21780. 全(0)【原值】
  21781. in: query
  21782. name: cycletime
  21783. required: true
  21784. type: string
  21785. - description: 币种id(报表明细必填)
  21786. in: query
  21787. name: currencyid
  21788. type: integer
  21789. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  21790. in: query
  21791. name: sumfields
  21792. type: string
  21793. produces:
  21794. - application/json
  21795. responses:
  21796. "200":
  21797. description: OK
  21798. schema:
  21799. items:
  21800. $ref: '#/definitions/models.Ermcp3FinanceReport'
  21801. type: array
  21802. "500":
  21803. description: Internal Server Error
  21804. schema:
  21805. $ref: '#/definitions/app.Response'
  21806. security:
  21807. - ApiKeyAuth: []
  21808. summary: 查询财务报表
  21809. tags:
  21810. - 企业风险管理v3(app)
  21811. /Ermcp3/QrySCMiddleGoodsReport:
  21812. get:
  21813. parameters:
  21814. - description: 用户ID
  21815. in: query
  21816. name: userid
  21817. required: true
  21818. type: integer
  21819. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21820. in: query
  21821. name: cycletype
  21822. required: true
  21823. type: integer
  21824. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21825. 全(0)【原值】
  21826. in: query
  21827. name: cycletime
  21828. required: true
  21829. type: string
  21830. - description: 合同id
  21831. in: query
  21832. name: spotcontractid
  21833. type: integer
  21834. - description: 套保品种id
  21835. in: query
  21836. name: middlegoodsid
  21837. type: integer
  21838. - description: 现货品种id
  21839. in: query
  21840. name: deliverygoodsid
  21841. type: integer
  21842. - description: 现货商品id
  21843. in: query
  21844. name: wrstandardid
  21845. type: integer
  21846. - description: 合同编号(模糊匹配)
  21847. in: query
  21848. name: contractno
  21849. type: string
  21850. produces:
  21851. - application/json
  21852. responses:
  21853. "200":
  21854. description: OK
  21855. schema:
  21856. items:
  21857. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  21858. type: array
  21859. "500":
  21860. description: Internal Server Error
  21861. schema:
  21862. $ref: '#/definitions/app.Response'
  21863. security:
  21864. - ApiKeyAuth: []
  21865. summary: 查询定价报表
  21866. tags:
  21867. - 企业风险管理v3(app)
  21868. /Ermcp3/QryTaFutureDataReport:
  21869. get:
  21870. parameters:
  21871. - description: 用户ID
  21872. in: query
  21873. name: userid
  21874. required: true
  21875. type: integer
  21876. - description: 查询类型 1-报表 2-报表明细
  21877. in: query
  21878. name: querytype
  21879. required: true
  21880. type: integer
  21881. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21882. in: query
  21883. name: cycletype
  21884. required: true
  21885. type: integer
  21886. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21887. 全(0)【原值】
  21888. in: query
  21889. name: cycletime
  21890. required: true
  21891. type: string
  21892. - description: 币种id(查明细必填)
  21893. in: query
  21894. name: currencyid
  21895. type: integer
  21896. - description: 品种id(查明细必填)
  21897. in: query
  21898. name: goodsgroupid
  21899. type: integer
  21900. - description: 商品id(查明细必填)
  21901. in: query
  21902. name: goodsid
  21903. type: integer
  21904. - description: 买卖方向(查明细必填)
  21905. in: query
  21906. name: buyorsell
  21907. type: integer
  21908. produces:
  21909. - application/json
  21910. responses:
  21911. "200":
  21912. description: OK
  21913. schema:
  21914. items:
  21915. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  21916. type: array
  21917. "500":
  21918. description: Internal Server Error
  21919. schema:
  21920. $ref: '#/definitions/app.Response'
  21921. security:
  21922. - ApiKeyAuth: []
  21923. summary: 查询期货报表
  21924. tags:
  21925. - 企业风险管理v3(app)
  21926. /Ermcp3/QueryAreaStock:
  21927. get:
  21928. parameters:
  21929. - description: 用户ID
  21930. in: query
  21931. name: userid
  21932. required: true
  21933. type: integer
  21934. produces:
  21935. - application/json
  21936. responses:
  21937. "200":
  21938. description: OK
  21939. schema:
  21940. items:
  21941. $ref: '#/definitions/models.Ermcp3AreaStock'
  21942. type: array
  21943. "500":
  21944. description: Internal Server Error
  21945. schema:
  21946. $ref: '#/definitions/app.Response'
  21947. security:
  21948. - ApiKeyAuth: []
  21949. summary: 查询机构库存(库存管理/当前库存)
  21950. tags:
  21951. - 企业风险管理v3(app)
  21952. /Ermcp3/QueryAreaStockApply:
  21953. get:
  21954. parameters:
  21955. - description: 用户ID
  21956. in: query
  21957. name: userid
  21958. required: true
  21959. type: integer
  21960. - description: 用户类型 2-机构 7-企业成员
  21961. in: query
  21962. name: usertype
  21963. type: integer
  21964. - description: 现货商品ID
  21965. in: query
  21966. name: deliverygoodsid
  21967. type: integer
  21968. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  21969. in: query
  21970. name: inouttype
  21971. type: string
  21972. - description: 合同ID
  21973. in: query
  21974. name: spotcontractid
  21975. type: integer
  21976. - description: 品类ID
  21977. in: query
  21978. name: wrstandardid
  21979. type: integer
  21980. - description: 品牌ID
  21981. in: query
  21982. name: spotgoodsbrandid
  21983. type: integer
  21984. - description: 仓库ID
  21985. in: query
  21986. name: warehouseinfoid
  21987. type: integer
  21988. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21989. in: query
  21990. name: applystatus
  21991. type: string
  21992. produces:
  21993. - application/json
  21994. responses:
  21995. "200":
  21996. description: OK
  21997. schema:
  21998. items:
  21999. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  22000. type: array
  22001. "500":
  22002. description: Internal Server Error
  22003. schema:
  22004. $ref: '#/definitions/app.Response'
  22005. security:
  22006. - ApiKeyAuth: []
  22007. summary: 查询库存申请(出入库记录|库存审核)
  22008. tags:
  22009. - 企业风险管理v3(app)
  22010. /Ermcp3/QueryAreaStockApplySum:
  22011. get:
  22012. parameters:
  22013. - description: 合同ID
  22014. in: query
  22015. name: spotcontractid
  22016. required: true
  22017. type: integer
  22018. produces:
  22019. - application/json
  22020. responses:
  22021. "200":
  22022. description: OK
  22023. schema:
  22024. items:
  22025. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  22026. type: array
  22027. "500":
  22028. description: Internal Server Error
  22029. schema:
  22030. $ref: '#/definitions/app.Response'
  22031. security:
  22032. - ApiKeyAuth: []
  22033. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  22034. tags:
  22035. - 企业风险管理v3(app)
  22036. /Ermcp3/QueryDGFactoryItem:
  22037. get:
  22038. parameters:
  22039. - description: 用户id
  22040. in: query
  22041. name: userid
  22042. type: integer
  22043. - description: 用户类型 2-机构 7-企业成员
  22044. in: query
  22045. name: usertype
  22046. type: integer
  22047. - description: 选择项ID(SEQ_DGFACTORYITEM)
  22048. in: query
  22049. name: dgfactoryitemid
  22050. type: integer
  22051. - description: 现货品种ID
  22052. in: query
  22053. name: deliverygoodsid
  22054. type: integer
  22055. - description: 要素项类型
  22056. in: query
  22057. name: dgfactoryitemtypeid
  22058. type: integer
  22059. - description: 顺序
  22060. in: query
  22061. name: orderindex
  22062. type: integer
  22063. produces:
  22064. - application/json
  22065. responses:
  22066. "200":
  22067. description: OK
  22068. schema:
  22069. items:
  22070. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  22071. type: array
  22072. "500":
  22073. description: Internal Server Error
  22074. schema:
  22075. $ref: '#/definitions/app.Response'
  22076. security:
  22077. - ApiKeyAuth: []
  22078. summary: 查询品种要素定义项
  22079. tags:
  22080. - 企业风险管理v3(app)
  22081. /Ermcp3/QueryDeliveryGoods:
  22082. get:
  22083. parameters:
  22084. - description: 用户id
  22085. in: query
  22086. name: userid
  22087. required: true
  22088. type: integer
  22089. - description: 用户类型 2-机构 7-企业成员
  22090. in: query
  22091. name: usertype
  22092. type: integer
  22093. - description: 排除已配置的业务类型商品 1-套保 2-套利
  22094. in: query
  22095. name: excludecfg
  22096. type: integer
  22097. produces:
  22098. - application/json
  22099. responses:
  22100. "200":
  22101. description: OK
  22102. schema:
  22103. items:
  22104. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  22105. type: array
  22106. "500":
  22107. description: Internal Server Error
  22108. schema:
  22109. $ref: '#/definitions/app.Response'
  22110. security:
  22111. - ApiKeyAuth: []
  22112. summary: 查询现货商品
  22113. tags:
  22114. - 企业风险管理v3(app)
  22115. /Ermcp3/QueryDeliveryGoodsDetail:
  22116. get:
  22117. parameters:
  22118. - description: 用户id
  22119. in: query
  22120. name: userid
  22121. required: true
  22122. type: integer
  22123. - description: 用户类型 2-机构 7-企业成员
  22124. in: query
  22125. name: usertype
  22126. type: integer
  22127. - description: 现货商品id
  22128. in: query
  22129. name: deliverygoodsid
  22130. type: integer
  22131. - description: 过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示
  22132. in: query
  22133. name: filtersubempty
  22134. type: integer
  22135. produces:
  22136. - application/json
  22137. responses:
  22138. "200":
  22139. description: OK
  22140. schema:
  22141. items:
  22142. $ref: '#/definitions/models.XHDeliveryGoods'
  22143. type: array
  22144. "500":
  22145. description: Internal Server Error
  22146. schema:
  22147. $ref: '#/definitions/app.Response'
  22148. security:
  22149. - ApiKeyAuth: []
  22150. summary: 查询现货商品详情
  22151. tags:
  22152. - 企业风险管理v3(app)
  22153. /Ermcp3/QueryExposureDetail:
  22154. get:
  22155. parameters:
  22156. - description: 用户id
  22157. in: query
  22158. name: userid
  22159. required: true
  22160. type: integer
  22161. - description: 用户类型 2-机构 7-企业成员
  22162. in: query
  22163. name: usertype
  22164. type: integer
  22165. - description: 套保商品
  22166. in: query
  22167. name: middlegoodsid
  22168. required: true
  22169. type: integer
  22170. produces:
  22171. - application/json
  22172. responses:
  22173. "200":
  22174. description: OK
  22175. schema:
  22176. items:
  22177. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  22178. type: array
  22179. "500":
  22180. description: Internal Server Error
  22181. schema:
  22182. $ref: '#/definitions/app.Response'
  22183. security:
  22184. - ApiKeyAuth: []
  22185. summary: 查询敞口现货明细
  22186. tags:
  22187. - 企业风险管理v3(app)
  22188. /Ermcp3/QueryExposureSpot:
  22189. get:
  22190. parameters:
  22191. - description: 用户id
  22192. in: query
  22193. name: userid
  22194. required: true
  22195. type: integer
  22196. - description: 用户类型 2-机构 7-企业成员
  22197. in: query
  22198. name: usertype
  22199. type: integer
  22200. produces:
  22201. - application/json
  22202. responses:
  22203. "200":
  22204. description: OK
  22205. schema:
  22206. items:
  22207. $ref: '#/definitions/models.Ermcp3AreaSpot'
  22208. type: array
  22209. "500":
  22210. description: Internal Server Error
  22211. schema:
  22212. $ref: '#/definitions/app.Response'
  22213. security:
  22214. - ApiKeyAuth: []
  22215. summary: 查询敞口现货头寸(敞口/现货头寸)
  22216. tags:
  22217. - 企业风险管理v3(app)
  22218. /Ermcp3/QueryExposureSpotDetail:
  22219. get:
  22220. parameters:
  22221. - description: 用户id
  22222. in: query
  22223. name: userid
  22224. required: true
  22225. type: integer
  22226. - description: 用户类型 2-机构 7-企业成员
  22227. in: query
  22228. name: usertype
  22229. type: integer
  22230. - description: 现货商品ID
  22231. in: query
  22232. name: wrstandardid
  22233. required: true
  22234. type: integer
  22235. produces:
  22236. - application/json
  22237. responses:
  22238. "200":
  22239. description: OK
  22240. schema:
  22241. items:
  22242. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  22243. type: array
  22244. "500":
  22245. description: Internal Server Error
  22246. schema:
  22247. $ref: '#/definitions/app.Response'
  22248. security:
  22249. - ApiKeyAuth: []
  22250. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  22251. tags:
  22252. - 企业风险管理v3(app)
  22253. /Ermcp3/QueryGoodsGroup:
  22254. get:
  22255. parameters:
  22256. - description: 用户id
  22257. in: query
  22258. name: userid
  22259. required: true
  22260. type: integer
  22261. - description: 用户类型 2-机构 7-企业成员
  22262. in: query
  22263. name: usertype
  22264. type: integer
  22265. - description: 排除套保品中已关联的商品组 1-排除
  22266. in: query
  22267. name: excludecfg
  22268. type: integer
  22269. produces:
  22270. - application/json
  22271. responses:
  22272. "200":
  22273. description: OK
  22274. schema:
  22275. items:
  22276. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  22277. type: array
  22278. "500":
  22279. description: Internal Server Error
  22280. schema:
  22281. $ref: '#/definitions/app.Response'
  22282. security:
  22283. - ApiKeyAuth: []
  22284. summary: 查询期货商品组
  22285. tags:
  22286. - 企业风险管理v3(app)
  22287. /Ermcp3/QueryGoodsWrstandard:
  22288. get:
  22289. parameters:
  22290. - description: 用户id
  22291. in: query
  22292. name: userid
  22293. required: true
  22294. type: integer
  22295. - description: 用户类型 2-机构 7-企业成员
  22296. in: query
  22297. name: usertype
  22298. type: integer
  22299. - description: 现货商品id
  22300. in: query
  22301. name: deliverygoodsid
  22302. type: integer
  22303. produces:
  22304. - application/json
  22305. responses:
  22306. "200":
  22307. description: OK
  22308. schema:
  22309. items:
  22310. $ref: '#/definitions/models.Ermcp3Wrstandard'
  22311. type: array
  22312. "500":
  22313. description: Internal Server Error
  22314. schema:
  22315. $ref: '#/definitions/app.Response'
  22316. security:
  22317. - ApiKeyAuth: []
  22318. summary: 查询商品品类
  22319. tags:
  22320. - 企业风险管理v3(app)
  22321. /Ermcp3/QueryGoodsbrand:
  22322. get:
  22323. parameters:
  22324. - description: 用户id
  22325. in: query
  22326. name: userid
  22327. required: true
  22328. type: integer
  22329. - description: 用户类型 2-机构 7-企业成员
  22330. in: query
  22331. name: usertype
  22332. type: integer
  22333. produces:
  22334. - application/json
  22335. responses:
  22336. "200":
  22337. description: OK
  22338. schema:
  22339. items:
  22340. $ref: '#/definitions/models.Ermcp3Brand'
  22341. type: array
  22342. "500":
  22343. description: Internal Server Error
  22344. schema:
  22345. $ref: '#/definitions/app.Response'
  22346. security:
  22347. - ApiKeyAuth: []
  22348. summary: 查询商品品牌
  22349. tags:
  22350. - 企业风险管理v3(app)
  22351. /Ermcp3/QueryHedgePlan:
  22352. get:
  22353. parameters:
  22354. - description: 用户ID
  22355. in: query
  22356. name: userid
  22357. required: true
  22358. type: integer
  22359. - description: 用户类型 2-机构 7-企业成员
  22360. in: query
  22361. name: usertype
  22362. type: integer
  22363. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  22364. in: query
  22365. name: hedgeplanstatus
  22366. required: true
  22367. type: string
  22368. produces:
  22369. - application/json
  22370. responses:
  22371. "200":
  22372. description: OK
  22373. schema:
  22374. items:
  22375. $ref: '#/definitions/models.Ermcp3HedgePlan'
  22376. type: array
  22377. "500":
  22378. description: Internal Server Error
  22379. schema:
  22380. $ref: '#/definitions/app.Response'
  22381. security:
  22382. - ApiKeyAuth: []
  22383. summary: 查询套保计划
  22384. tags:
  22385. - 企业风险管理v3(app)
  22386. /Ermcp3/QueryInnerTradeLink:
  22387. get:
  22388. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  22389. parameters:
  22390. - description: 外部成交单号
  22391. in: query
  22392. name: outtradeid
  22393. required: true
  22394. type: integer
  22395. produces:
  22396. - application/json
  22397. responses:
  22398. "200":
  22399. description: OK
  22400. schema:
  22401. items:
  22402. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  22403. type: array
  22404. "500":
  22405. description: Internal Server Error
  22406. schema:
  22407. $ref: '#/definitions/app.Response'
  22408. security:
  22409. - ApiKeyAuth: []
  22410. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  22411. tags:
  22412. - 企业风险管理v3(app)
  22413. /Ermcp3/QueryMiddleGoodsDetail:
  22414. get:
  22415. parameters:
  22416. - description: 用户id
  22417. in: query
  22418. name: userid
  22419. required: true
  22420. type: integer
  22421. - description: 用户类型 2-机构 7-企业成员
  22422. in: query
  22423. name: usertype
  22424. type: integer
  22425. - description: 套保品种id
  22426. in: query
  22427. name: middlegoodsid
  22428. type: integer
  22429. produces:
  22430. - application/json
  22431. responses:
  22432. "200":
  22433. description: OK
  22434. schema:
  22435. items:
  22436. $ref: '#/definitions/models.TBMiddleGoods'
  22437. type: array
  22438. "500":
  22439. description: Internal Server Error
  22440. schema:
  22441. $ref: '#/definitions/app.Response'
  22442. security:
  22443. - ApiKeyAuth: []
  22444. summary: 查询套保品种详情(套保品种/商品详情)
  22445. tags:
  22446. - 企业风险管理v3(app)
  22447. /Ermcp3/QueryOutTradeLink:
  22448. get:
  22449. description: 页面 app 现货->期现关联->外部成交单关联
  22450. parameters:
  22451. - description: 用户ID(填登录用户的userid)
  22452. in: query
  22453. name: userid
  22454. required: true
  22455. type: integer
  22456. - description: 外部订单号(模糊匹配)
  22457. in: query
  22458. name: outtradeid
  22459. type: string
  22460. - description: 合约名称/代码(模糊匹配)
  22461. in: query
  22462. name: goodsname
  22463. type: string
  22464. - description: 关联状态 0-未关联 1-已关联
  22465. in: query
  22466. name: hasinnerorder
  22467. type: integer
  22468. produces:
  22469. - application/json
  22470. responses:
  22471. "200":
  22472. description: OK
  22473. schema:
  22474. items:
  22475. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  22476. type: array
  22477. "500":
  22478. description: Internal Server Error
  22479. schema:
  22480. $ref: '#/definitions/app.Response'
  22481. security:
  22482. - ApiKeyAuth: []
  22483. summary: 查询外部成交单关联
  22484. tags:
  22485. - 企业风险管理v3(app)
  22486. /Ermcp3/QueryPaAreaAuditCfg:
  22487. get:
  22488. parameters:
  22489. - description: 用户id
  22490. in: query
  22491. name: userid
  22492. required: true
  22493. type: integer
  22494. produces:
  22495. - application/json
  22496. responses:
  22497. "200":
  22498. description: OK
  22499. schema:
  22500. items:
  22501. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  22502. type: array
  22503. "500":
  22504. description: Internal Server Error
  22505. schema:
  22506. $ref: '#/definitions/app.Response'
  22507. security:
  22508. - ApiKeyAuth: []
  22509. summary: 查询审核设置
  22510. tags:
  22511. - 企业风险管理v3(app)
  22512. /Ermcp3/QueryPaAreaSubject:
  22513. get:
  22514. parameters:
  22515. - description: 用户id
  22516. in: query
  22517. name: userid
  22518. required: true
  22519. type: integer
  22520. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  22521. in: query
  22522. name: subjectid
  22523. type: integer
  22524. - description: 主体类型 - 1:交易主体 2:业务部门
  22525. in: query
  22526. name: subjecttype
  22527. type: integer
  22528. - description: '主体状态 - 1:正常 2: 停用'
  22529. in: query
  22530. name: subjectstatus
  22531. type: integer
  22532. produces:
  22533. - application/json
  22534. responses:
  22535. "200":
  22536. description: OK
  22537. schema:
  22538. items:
  22539. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  22540. type: array
  22541. "500":
  22542. description: Internal Server Error
  22543. schema:
  22544. $ref: '#/definitions/app.Response'
  22545. security:
  22546. - ApiKeyAuth: []
  22547. summary: 查询交易主体
  22548. tags:
  22549. - 企业风险管理v3(app)
  22550. /Ermcp3/QueryPaTradeLink:
  22551. get:
  22552. description: 页面 app 现货->期现关联->期现单据关联
  22553. parameters:
  22554. - description: 用户ID
  22555. in: query
  22556. name: userid
  22557. required: true
  22558. type: integer
  22559. produces:
  22560. - application/json
  22561. responses:
  22562. "200":
  22563. description: OK
  22564. schema:
  22565. items:
  22566. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  22567. type: array
  22568. "500":
  22569. description: Internal Server Error
  22570. schema:
  22571. $ref: '#/definitions/app.Response'
  22572. security:
  22573. - ApiKeyAuth: []
  22574. summary: 查询期现单据关联
  22575. tags:
  22576. - 企业风险管理v3(app)
  22577. /Ermcp3/QueryPaTradeLinkDetail:
  22578. get:
  22579. description: 页面 app 现货->期现关联->关联记录
  22580. parameters:
  22581. - description: 用户ID(填登录用户的userid)
  22582. in: query
  22583. name: userid
  22584. required: true
  22585. type: integer
  22586. - description: 关联状态 1:成功 2:失败 3:解绑
  22587. in: query
  22588. name: linkstatus
  22589. type: integer
  22590. - description: 期货订单号(模糊匹配)
  22591. in: query
  22592. name: tradeid
  22593. type: string
  22594. - description: 现货编号(模糊匹配)
  22595. in: query
  22596. name: contractno
  22597. type: string
  22598. - description: 期货账户(模糊匹配)
  22599. in: query
  22600. name: taname
  22601. type: string
  22602. produces:
  22603. - application/json
  22604. responses:
  22605. "200":
  22606. description: OK
  22607. schema:
  22608. items:
  22609. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  22610. type: array
  22611. "500":
  22612. description: Internal Server Error
  22613. schema:
  22614. $ref: '#/definitions/app.Response'
  22615. security:
  22616. - ApiKeyAuth: []
  22617. summary: 查询期现关联记录
  22618. tags:
  22619. - 企业风险管理v3(app)
  22620. /Ermcp3/QueryParamChangeApp:
  22621. get:
  22622. description: |-
  22623. 原型页面:
  22624. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  22625. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  22626. parameters:
  22627. - description: 用户ID
  22628. in: query
  22629. name: userid
  22630. required: true
  22631. type: integer
  22632. - description: 现货品种id
  22633. in: query
  22634. name: deliverygoodsid
  22635. type: integer
  22636. - description: 现货商品id
  22637. in: query
  22638. name: wrstandardid
  22639. type: integer
  22640. - description: 套保商品id
  22641. in: query
  22642. name: middlegoodsid
  22643. type: integer
  22644. - description: 操作类型 1:新增 2:修改
  22645. in: query
  22646. name: operatetype
  22647. type: integer
  22648. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  22649. in: query
  22650. name: paramchangetype
  22651. type: integer
  22652. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22653. in: query
  22654. name: ftstatus
  22655. type: string
  22656. produces:
  22657. - application/json
  22658. responses:
  22659. "200":
  22660. description: OK
  22661. schema:
  22662. items:
  22663. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  22664. type: array
  22665. "500":
  22666. description: Internal Server Error
  22667. schema:
  22668. $ref: '#/definitions/app.Response'
  22669. security:
  22670. - ApiKeyAuth: []
  22671. summary: 查询现货商品参数变更申请(流水)
  22672. tags:
  22673. - 企业风险管理v3(app)
  22674. /Ermcp3/QueryRootUserAccount:
  22675. get:
  22676. parameters:
  22677. - description: 用户ID
  22678. in: query
  22679. name: userid
  22680. required: true
  22681. type: integer
  22682. produces:
  22683. - application/json
  22684. responses:
  22685. "200":
  22686. description: OK
  22687. schema:
  22688. items:
  22689. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  22690. type: array
  22691. "500":
  22692. description: Internal Server Error
  22693. schema:
  22694. $ref: '#/definitions/app.Response'
  22695. security:
  22696. - ApiKeyAuth: []
  22697. summary: 查询顶级用户信息
  22698. tags:
  22699. - 企业风险管理v3(app)
  22700. /Ermcp3/QuerySCMiddleGoods:
  22701. get:
  22702. description: |-
  22703. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  22704. 现货编号 即 合同编号
  22705. parameters:
  22706. - description: 用户ID(填登录用户的userid)
  22707. in: query
  22708. name: userid
  22709. required: true
  22710. type: integer
  22711. - description: 买卖方向 0-买 1-卖
  22712. in: query
  22713. name: buyorsell
  22714. required: true
  22715. type: integer
  22716. - description: 商品组id
  22717. in: query
  22718. name: goodsgroupid
  22719. required: true
  22720. type: integer
  22721. - description: 业务类型 1:套保 2:套利
  22722. in: query
  22723. name: biztype
  22724. type: integer
  22725. - description: 现货编号(模糊匹配)
  22726. in: query
  22727. name: contractno
  22728. type: string
  22729. - description: 对手方(模糊匹配)
  22730. in: query
  22731. name: customername
  22732. type: string
  22733. - description: 现货商品名称(模糊匹配)
  22734. in: query
  22735. name: wrstandardname
  22736. type: string
  22737. produces:
  22738. - application/json
  22739. responses:
  22740. "200":
  22741. description: OK
  22742. schema:
  22743. items:
  22744. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  22745. type: array
  22746. "500":
  22747. description: Internal Server Error
  22748. schema:
  22749. $ref: '#/definitions/app.Response'
  22750. security:
  22751. - ApiKeyAuth: []
  22752. summary: 查询现货订单
  22753. tags:
  22754. - 企业风险管理v3(app)
  22755. /Ermcp3/QuerySpotContract:
  22756. get:
  22757. parameters:
  22758. - description: 用户id(当指定contractid, userid可不填)
  22759. in: query
  22760. name: userid
  22761. required: true
  22762. type: integer
  22763. - description: 用户类型 2-机构 7-企业成员
  22764. in: query
  22765. name: usertype
  22766. type: integer
  22767. - description: 合同类型 1-采购, -1-销售
  22768. in: query
  22769. name: contracttype
  22770. type: integer
  22771. - description: 查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成
  22772. in: query
  22773. name: querytype
  22774. type: string
  22775. - description: 合同ID(SpotContractId)
  22776. in: query
  22777. name: contractid
  22778. type: string
  22779. - description: 合同编号(模糊匹配)
  22780. in: query
  22781. name: contractno
  22782. type: string
  22783. - description: 商品名称(模糊匹配)
  22784. in: query
  22785. name: wrstandardname
  22786. type: string
  22787. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  22788. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  22789. in: query
  22790. name: status
  22791. type: string
  22792. - description: 是否只查今日的合同 1-查今日合同
  22793. in: query
  22794. name: istoday
  22795. type: integer
  22796. produces:
  22797. - application/json
  22798. responses:
  22799. "200":
  22800. description: OK
  22801. schema:
  22802. items:
  22803. $ref: '#/definitions/models.Ermcp3Contract'
  22804. type: array
  22805. "500":
  22806. description: Internal Server Error
  22807. schema:
  22808. $ref: '#/definitions/app.Response'
  22809. security:
  22810. - ApiKeyAuth: []
  22811. summary: 查询现货合同
  22812. tags:
  22813. - 企业风险管理v3(app)
  22814. /Ermcp3/QuerySpotContractBS:
  22815. get:
  22816. parameters:
  22817. - description: 用户id
  22818. in: query
  22819. name: userid
  22820. required: true
  22821. type: integer
  22822. - description: 用户类型 2-机构 7-企业成员
  22823. in: query
  22824. name: usertype
  22825. type: integer
  22826. - description: 合同类型 1-采购, -1-销售
  22827. in: query
  22828. name: contracttype
  22829. required: true
  22830. type: integer
  22831. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  22832. in: query
  22833. name: querytype
  22834. type: integer
  22835. - description: 合同ID(SpotContractId)
  22836. in: query
  22837. name: contractid
  22838. type: string
  22839. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  22840. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  22841. in: query
  22842. name: status
  22843. type: string
  22844. - description: 是否只查今日的合同 1-查今日合同
  22845. in: query
  22846. name: istoday
  22847. type: integer
  22848. produces:
  22849. - application/json
  22850. responses:
  22851. "200":
  22852. description: OK
  22853. schema:
  22854. items:
  22855. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  22856. type: array
  22857. "500":
  22858. description: Internal Server Error
  22859. schema:
  22860. $ref: '#/definitions/app.Response'
  22861. security:
  22862. - ApiKeyAuth: []
  22863. summary: 查询合同(采购/销售)
  22864. tags:
  22865. - 企业风险管理v3(app)
  22866. /Ermcp3/QuerySpotGoodsPrice:
  22867. get:
  22868. parameters:
  22869. - description: 用户ID
  22870. in: query
  22871. name: userid
  22872. required: true
  22873. type: integer
  22874. produces:
  22875. - application/json
  22876. responses:
  22877. "200":
  22878. description: OK
  22879. schema:
  22880. items:
  22881. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  22882. type: array
  22883. "500":
  22884. description: Internal Server Error
  22885. schema:
  22886. $ref: '#/definitions/app.Response'
  22887. security:
  22888. - ApiKeyAuth: []
  22889. summary: 查询现货市价(现货市价)
  22890. tags:
  22891. - 企业风险管理v3(app)
  22892. /Ermcp3/QuerySpotGoodsPriceLog:
  22893. get:
  22894. parameters:
  22895. - description: 用户ID
  22896. in: query
  22897. name: userid
  22898. required: true
  22899. type: integer
  22900. - description: 现货商品ID
  22901. in: query
  22902. name: deliverygoodsid
  22903. required: true
  22904. type: integer
  22905. - description: 品牌ID
  22906. in: query
  22907. name: brandid
  22908. type: integer
  22909. - description: 品类ID
  22910. in: query
  22911. name: wrstandardid
  22912. type: integer
  22913. produces:
  22914. - application/json
  22915. responses:
  22916. "200":
  22917. description: OK
  22918. schema:
  22919. items:
  22920. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  22921. type: array
  22922. "500":
  22923. description: Internal Server Error
  22924. schema:
  22925. $ref: '#/definitions/app.Response'
  22926. security:
  22927. - ApiKeyAuth: []
  22928. summary: 查询现货市价详情(现货市价/详情)
  22929. tags:
  22930. - 企业风险管理v3(app)
  22931. /Ermcp3/QuerySubTaaccount:
  22932. get:
  22933. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  22934. parameters:
  22935. - description: 母账号id
  22936. in: query
  22937. name: parentaccountid
  22938. type: integer
  22939. - description: 母账号代码
  22940. in: query
  22941. name: parentaccountcode
  22942. type: string
  22943. produces:
  22944. - application/json
  22945. responses:
  22946. "200":
  22947. description: OK
  22948. schema:
  22949. items:
  22950. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  22951. type: array
  22952. "500":
  22953. description: Internal Server Error
  22954. schema:
  22955. $ref: '#/definitions/app.Response'
  22956. security:
  22957. - ApiKeyAuth: []
  22958. summary: 查询期货子账户
  22959. tags:
  22960. - 企业风险管理v3(app)
  22961. /Erms2/QueryArbitrageStrategy:
  22962. get:
  22963. parameters:
  22964. - description: 账户ID
  22965. in: query
  22966. name: userid
  22967. required: true
  22968. type: integer
  22969. - description: 商品组ID(品种ID)
  22970. in: query
  22971. name: goodsgroupid
  22972. type: string
  22973. produces:
  22974. - application/json
  22975. responses:
  22976. "200":
  22977. description: OK
  22978. schema:
  22979. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  22980. "500":
  22981. description: Internal Server Error
  22982. schema:
  22983. $ref: '#/definitions/app.Response'
  22984. security:
  22985. - ApiKeyAuth: []
  22986. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  22987. tags:
  22988. - 风险管理
  22989. /Erms2/QueryInnerTradeDetail:
  22990. get:
  22991. parameters:
  22992. - description: 资金账户
  22993. in: query
  22994. name: accountid
  22995. required: true
  22996. type: integer
  22997. produces:
  22998. - application/json
  22999. responses:
  23000. "200":
  23001. description: OK
  23002. schema:
  23003. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  23004. "500":
  23005. description: Internal Server Error
  23006. schema:
  23007. $ref: '#/definitions/app.Response'
  23008. security:
  23009. - ApiKeyAuth: []
  23010. summary: 查询内部成交单信息
  23011. tags:
  23012. - 风险管理
  23013. /Erms2/QuerySpotContract:
  23014. get:
  23015. parameters:
  23016. - description: 策略申请ID
  23017. in: query
  23018. name: asapplyid
  23019. required: true
  23020. type: integer
  23021. - description: 现货合同ID
  23022. in: query
  23023. name: spotcontractid
  23024. type: integer
  23025. produces:
  23026. - application/json
  23027. responses:
  23028. "200":
  23029. description: OK
  23030. schema:
  23031. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  23032. "500":
  23033. description: Internal Server Error
  23034. schema:
  23035. $ref: '#/definitions/app.Response'
  23036. security:
  23037. - ApiKeyAuth: []
  23038. summary: 查询现货合同表信息(指定策略ID、未结束的)
  23039. tags:
  23040. - 风险管理
  23041. /Erms3/AddErms2ASApply:
  23042. post:
  23043. parameters:
  23044. - description: 申请参数
  23045. in: body
  23046. name: jsonBody
  23047. required: true
  23048. schema:
  23049. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  23050. produces:
  23051. - application/json
  23052. responses:
  23053. "200":
  23054. description: OK
  23055. schema:
  23056. $ref: '#/definitions/app.Response'
  23057. "500":
  23058. description: Internal Server Error
  23059. schema:
  23060. $ref: '#/definitions/app.Response'
  23061. security:
  23062. - ApiKeyAuth: []
  23063. summary: 新增期现套利业务申请
  23064. tags:
  23065. - 风险管理v3
  23066. /Erms3/AddErms2SpotTradeApply:
  23067. post:
  23068. parameters:
  23069. - description: 申请参数
  23070. in: body
  23071. name: jsonBody
  23072. required: true
  23073. schema:
  23074. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  23075. produces:
  23076. - application/json
  23077. responses:
  23078. "200":
  23079. description: OK
  23080. schema:
  23081. $ref: '#/definitions/app.Response'
  23082. "500":
  23083. description: Internal Server Error
  23084. schema:
  23085. $ref: '#/definitions/app.Response'
  23086. security:
  23087. - ApiKeyAuth: []
  23088. summary: 新增现货贸易业务申请
  23089. tags:
  23090. - 风险管理v3
  23091. /Erms3/AddSpotContractApply:
  23092. post:
  23093. parameters:
  23094. - description: 申请参数
  23095. in: body
  23096. name: jsonBody
  23097. required: true
  23098. schema:
  23099. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  23100. produces:
  23101. - application/json
  23102. responses:
  23103. "200":
  23104. description: OK
  23105. schema:
  23106. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  23107. "500":
  23108. description: Internal Server Error
  23109. schema:
  23110. $ref: '#/definitions/app.Response'
  23111. security:
  23112. - ApiKeyAuth: []
  23113. summary: 新增现货合同申请
  23114. tags:
  23115. - 风险管理v3
  23116. /Erms3/AddUserInfoApply:
  23117. post:
  23118. parameters:
  23119. - description: 用户信息
  23120. in: body
  23121. name: jsonBody
  23122. required: true
  23123. schema:
  23124. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  23125. produces:
  23126. - application/json
  23127. responses:
  23128. "200":
  23129. description: OK
  23130. schema:
  23131. $ref: '#/definitions/app.Response'
  23132. "500":
  23133. description: Internal Server Error
  23134. schema:
  23135. $ref: '#/definitions/app.Response'
  23136. security:
  23137. - ApiKeyAuth: []
  23138. summary: 新增客户申请
  23139. tags:
  23140. - 风险管理v3
  23141. /Erms3/DeleteUserInfoApply:
  23142. get:
  23143. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  23144. parameters:
  23145. - description: 用户ID
  23146. in: query
  23147. name: userID
  23148. required: true
  23149. type: integer
  23150. produces:
  23151. - application/json
  23152. responses:
  23153. "200":
  23154. description: OK
  23155. schema:
  23156. $ref: '#/definitions/app.Response'
  23157. "500":
  23158. description: Internal Server Error
  23159. schema:
  23160. $ref: '#/definitions/app.Response'
  23161. security:
  23162. - ApiKeyAuth: []
  23163. summary: 删除客户申请
  23164. tags:
  23165. - 风险管理v3
  23166. /Erms3/ModifyUserInfoApply:
  23167. post:
  23168. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  23169. int, "userstate": 2 }'
  23170. parameters:
  23171. - description: 用户信息
  23172. in: body
  23173. name: jsonBody
  23174. required: true
  23175. schema:
  23176. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  23177. produces:
  23178. - application/json
  23179. responses:
  23180. "200":
  23181. description: OK
  23182. schema:
  23183. $ref: '#/definitions/app.Response'
  23184. "500":
  23185. description: Internal Server Error
  23186. schema:
  23187. $ref: '#/definitions/app.Response'
  23188. security:
  23189. - ApiKeyAuth: []
  23190. summary: 修改客户申请
  23191. tags:
  23192. - 风险管理v3
  23193. /Erms3/QueryBusinessInfo:
  23194. get:
  23195. parameters:
  23196. - description: 资金账号ID列表,用逗号分隔
  23197. in: query
  23198. name: accountids
  23199. required: true
  23200. type: string
  23201. - description: 状态,0为未结束 1为已结束
  23202. in: query
  23203. name: status
  23204. required: true
  23205. type: integer
  23206. produces:
  23207. - application/json
  23208. responses:
  23209. "200":
  23210. description: OK
  23211. schema:
  23212. items:
  23213. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  23214. type: array
  23215. "500":
  23216. description: Internal Server Error
  23217. schema:
  23218. $ref: '#/definitions/app.Response'
  23219. security:
  23220. - ApiKeyAuth: []
  23221. summary: 查询业务表单数据
  23222. tags:
  23223. - 风险管理v3
  23224. /Erms3/QueryPendingAuditContract:
  23225. get:
  23226. parameters:
  23227. - description: 资金账号ID列表,逗号隔开
  23228. in: query
  23229. name: accountids
  23230. required: true
  23231. type: string
  23232. - description: 合同类型 1-采购 -1-销售
  23233. in: query
  23234. name: contracttype
  23235. required: true
  23236. type: integer
  23237. - description: 合同模式 1-普通 2-回购
  23238. in: query
  23239. name: contractmode
  23240. required: true
  23241. type: integer
  23242. produces:
  23243. - application/json
  23244. responses:
  23245. "200":
  23246. description: OK
  23247. schema:
  23248. items:
  23249. $ref: '#/definitions/erms3.QryAuditContractRsp'
  23250. type: array
  23251. "500":
  23252. description: Internal Server Error
  23253. schema:
  23254. $ref: '#/definitions/app.Response'
  23255. security:
  23256. - ApiKeyAuth: []
  23257. summary: 查询待审核合同
  23258. tags:
  23259. - 风险管理v3
  23260. /Erms3/QueryPendingBusiness:
  23261. get:
  23262. parameters:
  23263. - description: 资金账号ID列表,逗号隔开
  23264. in: query
  23265. name: accountids
  23266. required: true
  23267. type: string
  23268. produces:
  23269. - application/json
  23270. responses:
  23271. "200":
  23272. description: OK
  23273. schema:
  23274. items:
  23275. $ref: '#/definitions/erms3.QryPendingBizRsp'
  23276. type: array
  23277. "500":
  23278. description: Internal Server Error
  23279. schema:
  23280. $ref: '#/definitions/app.Response'
  23281. security:
  23282. - ApiKeyAuth: []
  23283. summary: 查询待审核基差贸易业务
  23284. tags:
  23285. - 风险管理v3
  23286. /Erms3/QuerySpotContractAppleForm:
  23287. get:
  23288. parameters:
  23289. - description: 登录账号
  23290. in: query
  23291. name: loginID
  23292. required: true
  23293. type: integer
  23294. produces:
  23295. - application/json
  23296. responses:
  23297. "200":
  23298. description: OK
  23299. schema:
  23300. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  23301. "500":
  23302. description: Internal Server Error
  23303. schema:
  23304. $ref: '#/definitions/app.Response'
  23305. security:
  23306. - ApiKeyAuth: []
  23307. summary: 查询合同申请表单数据
  23308. tags:
  23309. - 风险管理v3
  23310. /Erms3/QuerySpotContractDetail:
  23311. get:
  23312. parameters:
  23313. - description: 资金账号ID列表,用逗号分隔
  23314. in: query
  23315. name: accountids
  23316. required: true
  23317. type: string
  23318. - description: 合同类型,1为采购合同 -1为销售合同
  23319. in: query
  23320. name: contracttype
  23321. required: true
  23322. type: integer
  23323. - description: 合同模式,1为普通合同 2为回购销售合同
  23324. in: query
  23325. name: contractmode
  23326. required: true
  23327. type: integer
  23328. - description: 状态,0为履约中 1为已完成
  23329. in: query
  23330. name: status
  23331. required: true
  23332. type: integer
  23333. produces:
  23334. - application/json
  23335. responses:
  23336. "200":
  23337. description: OK
  23338. schema:
  23339. items:
  23340. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  23341. type: array
  23342. "500":
  23343. description: Internal Server Error
  23344. schema:
  23345. $ref: '#/definitions/app.Response'
  23346. security:
  23347. - ApiKeyAuth: []
  23348. summary: 查询合同详细信息
  23349. tags:
  23350. - 风险管理v3
  23351. /Erms3/QueryUserInfoApplies:
  23352. get:
  23353. parameters:
  23354. - description: 页码
  23355. in: query
  23356. name: page
  23357. type: integer
  23358. - description: 每页条数
  23359. in: query
  23360. name: pagesize
  23361. type: integer
  23362. - description: 客户名称,支持模糊查询
  23363. in: query
  23364. name: userName
  23365. type: string
  23366. produces:
  23367. - application/json
  23368. responses:
  23369. "200":
  23370. description: OK
  23371. schema:
  23372. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  23373. "500":
  23374. description: Internal Server Error
  23375. schema:
  23376. $ref: '#/definitions/app.Response'
  23377. security:
  23378. - ApiKeyAuth: []
  23379. summary: 客户申请信息查询
  23380. tags:
  23381. - 风险管理v3
  23382. /Erms3/QueryUserInfos:
  23383. get:
  23384. parameters:
  23385. - description: 页码
  23386. in: query
  23387. name: page
  23388. type: integer
  23389. - description: 每页条数
  23390. in: query
  23391. name: pagesize
  23392. type: integer
  23393. - description: 客户名称,支持模糊查询
  23394. in: query
  23395. name: userName
  23396. type: string
  23397. produces:
  23398. - application/json
  23399. responses:
  23400. "200":
  23401. description: OK
  23402. schema:
  23403. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  23404. "500":
  23405. description: Internal Server Error
  23406. schema:
  23407. $ref: '#/definitions/app.Response'
  23408. security:
  23409. - ApiKeyAuth: []
  23410. summary: 客户信息查询
  23411. tags:
  23412. - 风险管理v3
  23413. /HSBY/GetHsbyMyCount:
  23414. get:
  23415. description: 说明: 不包括已完成的数量。
  23416. parameters:
  23417. - description: 资金账户列表,格式:1,2,3
  23418. in: query
  23419. name: accountIDs
  23420. required: true
  23421. type: string
  23422. produces:
  23423. - application/json
  23424. responses:
  23425. "200":
  23426. description: OK
  23427. schema:
  23428. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  23429. "500":
  23430. description: Internal Server Error
  23431. schema:
  23432. $ref: '#/definitions/app.Response'
  23433. security:
  23434. - ApiKeyAuth: []
  23435. summary: 获取我的订单与包裹数量
  23436. tags:
  23437. - 定制【海商报业】
  23438. /HSBY/QueryClientFixedADConfigs:
  23439. get:
  23440. produces:
  23441. - application/json
  23442. responses:
  23443. "200":
  23444. description: OK
  23445. schema:
  23446. $ref: '#/definitions/models.Clientfixedadconfig'
  23447. "500":
  23448. description: Internal Server Error
  23449. schema:
  23450. $ref: '#/definitions/app.Response'
  23451. security:
  23452. - ApiKeyAuth: []
  23453. summary: 获取终端固定广告配置
  23454. tags:
  23455. - 定制【海商报业】
  23456. /HSBY/QueryHsbyBuyMyTradeDetail:
  23457. get:
  23458. parameters:
  23459. - description: 页码
  23460. in: query
  23461. name: page
  23462. type: integer
  23463. - description: 每页条数
  23464. in: query
  23465. name: pagesize
  23466. type: integer
  23467. - description: 资金账户列表,格式:1,2,3
  23468. in: query
  23469. name: accountIDs
  23470. required: true
  23471. type: string
  23472. produces:
  23473. - application/json
  23474. responses:
  23475. "200":
  23476. description: OK
  23477. schema:
  23478. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  23479. "500":
  23480. description: Internal Server Error
  23481. schema:
  23482. $ref: '#/definitions/app.Response'
  23483. security:
  23484. - ApiKeyAuth: []
  23485. summary: 查询"我的订单 - 已完成"单据信息
  23486. tags:
  23487. - 定制【海商报业】
  23488. /HSBY/QueryHsbyGoodsOrderDetails:
  23489. get:
  23490. description: 说明:查询结果已按委托价格和委托时间排序
  23491. parameters:
  23492. - description: 商品ID
  23493. in: query
  23494. name: goodsID
  23495. required: true
  23496. type: integer
  23497. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  23498. in: query
  23499. name: accountIDs
  23500. type: string
  23501. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  23502. in: query
  23503. name: buyOrSell
  23504. type: integer
  23505. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  23506. in: query
  23507. name: price
  23508. type: number
  23509. - description: 档位,不传则默认为3档
  23510. in: query
  23511. name: speed
  23512. type: integer
  23513. produces:
  23514. - application/json
  23515. responses:
  23516. "200":
  23517. description: OK
  23518. schema:
  23519. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  23520. "500":
  23521. description: Internal Server Error
  23522. schema:
  23523. $ref: '#/definitions/app.Response'
  23524. security:
  23525. - ApiKeyAuth: []
  23526. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  23527. tags:
  23528. - 定制【海商报业】
  23529. /HSBY/QueryHsbyListingGoodsDetail:
  23530. get:
  23531. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  23532. parameters:
  23533. - description: 商品ID
  23534. in: query
  23535. name: goodsID
  23536. required: true
  23537. type: integer
  23538. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  23539. in: query
  23540. name: accountID
  23541. type: integer
  23542. produces:
  23543. - application/json
  23544. responses:
  23545. "200":
  23546. description: OK
  23547. schema:
  23548. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  23549. "500":
  23550. description: Internal Server Error
  23551. schema:
  23552. $ref: '#/definitions/app.Response'
  23553. security:
  23554. - ApiKeyAuth: []
  23555. summary: 查询二级市场(挂牌点选)商品信息详情
  23556. tags:
  23557. - 定制【海商报业】
  23558. /HSBY/QueryHsbyMarketGoodsDetail:
  23559. get:
  23560. parameters:
  23561. - description: 委托单号
  23562. in: query
  23563. name: orderID
  23564. required: true
  23565. type: integer
  23566. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  23567. in: query
  23568. name: accountID
  23569. type: integer
  23570. produces:
  23571. - application/json
  23572. responses:
  23573. "200":
  23574. description: OK
  23575. schema:
  23576. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  23577. "500":
  23578. description: Internal Server Error
  23579. schema:
  23580. $ref: '#/definitions/app.Response'
  23581. security:
  23582. - ApiKeyAuth: []
  23583. summary: 查询三级市场(商城)商品信息详情
  23584. tags:
  23585. - 定制【海商报业】
  23586. /HSBY/QueryHsbyMarketGoodses:
  23587. get:
  23588. parameters:
  23589. - description: 页码
  23590. in: query
  23591. name: page
  23592. type: integer
  23593. - description: 每页条数
  23594. in: query
  23595. name: pagesize
  23596. type: integer
  23597. - description: 市场ID列表,格式:1,2,3
  23598. in: query
  23599. name: marketIDs
  23600. required: true
  23601. type: string
  23602. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  23603. in: query
  23604. name: accountID
  23605. required: true
  23606. type: integer
  23607. - description: 类别ID
  23608. in: query
  23609. name: categoryID
  23610. type: integer
  23611. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  23612. in: query
  23613. name: goodsIDs
  23614. type: string
  23615. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  23616. in: query
  23617. name: couponTypeID
  23618. type: integer
  23619. produces:
  23620. - application/json
  23621. responses:
  23622. "200":
  23623. description: OK
  23624. schema:
  23625. $ref: '#/definitions/models.HsbyMarketGoods'
  23626. "500":
  23627. description: Internal Server Error
  23628. schema:
  23629. $ref: '#/definitions/app.Response'
  23630. security:
  23631. - ApiKeyAuth: []
  23632. summary: 查询特卖商品列表(三级商城)
  23633. tags:
  23634. - 定制【海商报业】
  23635. /HSBY/QueryHsbyMarkets:
  23636. get:
  23637. produces:
  23638. - application/json
  23639. responses:
  23640. "200":
  23641. description: OK
  23642. schema:
  23643. $ref: '#/definitions/models.HsbyMarketInfo'
  23644. "500":
  23645. description: Internal Server Error
  23646. schema:
  23647. $ref: '#/definitions/app.Response'
  23648. security:
  23649. - ApiKeyAuth: []
  23650. summary: 查询海商报业相关市场信息
  23651. tags:
  23652. - 定制【海商报业】
  23653. /HSBY/QueryHsbyMyBuyOrderDetails:
  23654. get:
  23655. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  23656. parameters:
  23657. - description: 资金账户列表,格式:1,2,3
  23658. in: query
  23659. name: accountIDs
  23660. required: true
  23661. type: string
  23662. produces:
  23663. - application/json
  23664. responses:
  23665. "200":
  23666. description: OK
  23667. schema:
  23668. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  23669. "500":
  23670. description: Internal Server Error
  23671. schema:
  23672. $ref: '#/definitions/app.Response'
  23673. security:
  23674. - ApiKeyAuth: []
  23675. summary: 查询“我的订单”信息
  23676. tags:
  23677. - 定制【海商报业】
  23678. /HSBY/QueryHsbyMyGoods:
  23679. get:
  23680. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  23681. parameters:
  23682. - description: 资金账户列表,格式:1,2,3
  23683. in: query
  23684. name: accountIDs
  23685. required: true
  23686. type: string
  23687. produces:
  23688. - application/json
  23689. responses:
  23690. "200":
  23691. description: OK
  23692. schema:
  23693. $ref: '#/definitions/models.HsbyMyGoods'
  23694. "500":
  23695. description: Internal Server Error
  23696. schema:
  23697. $ref: '#/definitions/app.Response'
  23698. security:
  23699. - ApiKeyAuth: []
  23700. summary: 查询“我的商品”信息
  23701. tags:
  23702. - 定制【海商报业】
  23703. /HSBY/QueryHsbyMyPackages:
  23704. get:
  23705. parameters:
  23706. - description: 资金账户列表,格式:1,2,3
  23707. in: query
  23708. name: accountIDs
  23709. required: true
  23710. type: string
  23711. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  23712. in: query
  23713. name: takeOrderStatus
  23714. type: integer
  23715. produces:
  23716. - application/json
  23717. responses:
  23718. "200":
  23719. description: OK
  23720. schema:
  23721. $ref: '#/definitions/models.HsbyMyPackage'
  23722. "500":
  23723. description: Internal Server Error
  23724. schema:
  23725. $ref: '#/definitions/app.Response'
  23726. security:
  23727. - ApiKeyAuth: []
  23728. summary: 查询我的包裹信息
  23729. tags:
  23730. - 定制【海商报业】
  23731. /HSBY/QueryHsbyPreGoodsDetail:
  23732. get:
  23733. parameters:
  23734. - description: 商品ID
  23735. in: query
  23736. name: goodsID
  23737. required: true
  23738. type: integer
  23739. - description: 资金账户,主要用于获取预售商品购买上限
  23740. in: query
  23741. name: accountID
  23742. type: integer
  23743. produces:
  23744. - application/json
  23745. responses:
  23746. "200":
  23747. description: OK
  23748. schema:
  23749. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  23750. "500":
  23751. description: Internal Server Error
  23752. schema:
  23753. $ref: '#/definitions/app.Response'
  23754. security:
  23755. - ApiKeyAuth: []
  23756. summary: 查询一级市场(预售)商品信息详情
  23757. tags:
  23758. - 定制【海商报业】
  23759. /HSBY/QueryHsbyPreGoodses:
  23760. get:
  23761. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  23762. parameters:
  23763. - description: 页码
  23764. in: query
  23765. name: page
  23766. type: integer
  23767. - description: 每页条数
  23768. in: query
  23769. name: pagesize
  23770. type: integer
  23771. - description: 市场ID列表,格式:1,2,3
  23772. in: query
  23773. name: marketIDs
  23774. required: true
  23775. type: string
  23776. - description: 目的地(省)ID
  23777. in: query
  23778. name: descProvinceID
  23779. type: integer
  23780. - description: 目的地(市)ID
  23781. in: query
  23782. name: descCityID
  23783. type: integer
  23784. produces:
  23785. - application/json
  23786. responses:
  23787. "200":
  23788. description: OK
  23789. schema:
  23790. $ref: '#/definitions/models.HsbyPreGoods'
  23791. "500":
  23792. description: Internal Server Error
  23793. schema:
  23794. $ref: '#/definitions/app.Response'
  23795. security:
  23796. - ApiKeyAuth: []
  23797. summary: 查询新品上市商品列表(一级市场预售)
  23798. tags:
  23799. - 定制【海商报业】
  23800. /HSBY/QueryHsbySellMyDetails:
  23801. get:
  23802. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  23803. parameters:
  23804. - description: 页码
  23805. in: query
  23806. name: page
  23807. type: integer
  23808. - description: 每页条数
  23809. in: query
  23810. name: pagesize
  23811. type: integer
  23812. - description: 资金账户列表,格式:1,2,3
  23813. in: query
  23814. name: accountIDs
  23815. required: true
  23816. type: string
  23817. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  23818. in: query
  23819. name: orderType
  23820. type: integer
  23821. produces:
  23822. - application/json
  23823. responses:
  23824. "200":
  23825. description: OK
  23826. schema:
  23827. $ref: '#/definitions/models.HsbySellMyDetail'
  23828. "500":
  23829. description: Internal Server Error
  23830. schema:
  23831. $ref: '#/definitions/app.Response'
  23832. security:
  23833. - ApiKeyAuth: []
  23834. summary: 查询"我的闲置"单据信息
  23835. tags:
  23836. - 定制【海商报业】
  23837. /HSBY/QueryHsbyTopGoodses:
  23838. get:
  23839. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  23840. parameters:
  23841. - description: 页码
  23842. in: query
  23843. name: page
  23844. type: integer
  23845. - description: 每页条数
  23846. in: query
  23847. name: pagesize
  23848. type: integer
  23849. - description: 市场ID列表,格式:1,2,3
  23850. in: query
  23851. name: marketIDs
  23852. required: true
  23853. type: string
  23854. - description: 目的地(省)ID
  23855. in: query
  23856. name: descProvinceID
  23857. type: integer
  23858. - description: 目的地(市)ID
  23859. in: query
  23860. name: descCityID
  23861. type: integer
  23862. produces:
  23863. - application/json
  23864. responses:
  23865. "200":
  23866. description: OK
  23867. schema:
  23868. $ref: '#/definitions/models.HsbyTopGoods'
  23869. "500":
  23870. description: Internal Server Error
  23871. schema:
  23872. $ref: '#/definitions/app.Response'
  23873. security:
  23874. - ApiKeyAuth: []
  23875. summary: 查询热卖商品列表(二级市场挂牌点选)
  23876. tags:
  23877. - 定制【海商报业】
  23878. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  23879. get:
  23880. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  23881. parameters:
  23882. - description: 商品ID
  23883. in: query
  23884. name: goodsID
  23885. required: true
  23886. type: integer
  23887. produces:
  23888. - application/json
  23889. responses:
  23890. "200":
  23891. description: OK
  23892. schema:
  23893. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  23894. "500":
  23895. description: Internal Server Error
  23896. schema:
  23897. $ref: '#/definitions/app.Response'
  23898. security:
  23899. - ApiKeyAuth: []
  23900. summary: 查询游客三级市场(商城)商品信息详情
  23901. tags:
  23902. - 定制【海商报业】
  23903. /HSBY/QueryHsbyVisitorMarketGoodses:
  23904. get:
  23905. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  23906. parameters:
  23907. - description: 页码
  23908. in: query
  23909. name: page
  23910. type: integer
  23911. - description: 每页条数
  23912. in: query
  23913. name: pagesize
  23914. type: integer
  23915. - description: 市场ID列表,格式:1,2,3
  23916. in: query
  23917. name: marketIDs
  23918. required: true
  23919. type: string
  23920. - description: 类别ID
  23921. in: query
  23922. name: categoryID
  23923. type: integer
  23924. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  23925. in: query
  23926. name: goodsIDs
  23927. type: string
  23928. produces:
  23929. - application/json
  23930. responses:
  23931. "200":
  23932. description: OK
  23933. schema:
  23934. $ref: '#/definitions/models.HsbyMarketGoods'
  23935. "500":
  23936. description: Internal Server Error
  23937. schema:
  23938. $ref: '#/definitions/app.Response'
  23939. security:
  23940. - ApiKeyAuth: []
  23941. summary: 查询游客特卖商品列表(三级商城)
  23942. tags:
  23943. - 定制【海商报业】
  23944. /HSBY/QueryMyCollectionOrders:
  23945. get:
  23946. parameters:
  23947. - description: 页码
  23948. in: query
  23949. name: page
  23950. type: integer
  23951. - description: 每页条数
  23952. in: query
  23953. name: pagesize
  23954. type: integer
  23955. - description: 资金账户,格式:1,2,3
  23956. in: query
  23957. name: accountIDs
  23958. required: true
  23959. type: string
  23960. produces:
  23961. - application/json
  23962. responses:
  23963. "200":
  23964. description: OK
  23965. schema:
  23966. $ref: '#/definitions/models.HsbySellCollectionOrder'
  23967. "500":
  23968. description: Internal Server Error
  23969. schema:
  23970. $ref: '#/definitions/app.Response'
  23971. security:
  23972. - ApiKeyAuth: []
  23973. summary: 我的闲置中收款信息查询
  23974. tags:
  23975. - 定制【海商报业】
  23976. /HSBY/QueryMyCouponHolds:
  23977. get:
  23978. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  23979. parameters:
  23980. - description: 资金账户列表,格式:1,2,3
  23981. in: query
  23982. name: accountIDs
  23983. required: true
  23984. type: string
  23985. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  23986. in: query
  23987. name: holdStatus
  23988. type: string
  23989. produces:
  23990. - application/json
  23991. responses:
  23992. "200":
  23993. description: OK
  23994. schema:
  23995. $ref: '#/definitions/models.MyCouponHold'
  23996. "500":
  23997. description: Internal Server Error
  23998. schema:
  23999. $ref: '#/definitions/app.Response'
  24000. security:
  24001. - ApiKeyAuth: []
  24002. summary: 我的优惠卷持仓查询
  24003. tags:
  24004. - 定制【海商报业】
  24005. /HSBY/QueryMyCoupons:
  24006. get:
  24007. parameters:
  24008. - description: 资金账户列表,格式:1,2,3
  24009. in: query
  24010. name: accountIDs
  24011. required: true
  24012. type: string
  24013. - description: 商品ID, 一般与sellUserID配套传入
  24014. in: query
  24015. name: goodsID
  24016. type: integer
  24017. - description: 卖方UserID
  24018. in: query
  24019. name: sellUserID
  24020. type: integer
  24021. produces:
  24022. - application/json
  24023. responses:
  24024. "200":
  24025. description: OK
  24026. schema:
  24027. $ref: '#/definitions/models.MyCoupon'
  24028. "500":
  24029. description: Internal Server Error
  24030. schema:
  24031. $ref: '#/definitions/app.Response'
  24032. security:
  24033. - ApiKeyAuth: []
  24034. summary: 我的优惠卷查询
  24035. tags:
  24036. - 定制【海商报业】
  24037. /HSBY/QueryMyPayOrders:
  24038. get:
  24039. parameters:
  24040. - description: 页码
  24041. in: query
  24042. name: page
  24043. type: integer
  24044. - description: 每页条数
  24045. in: query
  24046. name: pagesize
  24047. type: integer
  24048. - description: 资金账户列表,格式:1,2,3
  24049. in: query
  24050. name: accountIDs
  24051. required: true
  24052. type: string
  24053. - description: 买方委托单号
  24054. in: query
  24055. name: buyOrderID
  24056. type: integer
  24057. - description: 卖方委托单号
  24058. in: query
  24059. name: sellOrderID
  24060. type: integer
  24061. produces:
  24062. - application/json
  24063. responses:
  24064. "200":
  24065. description: OK
  24066. schema:
  24067. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  24068. "500":
  24069. description: Internal Server Error
  24070. schema:
  24071. $ref: '#/definitions/app.Response'
  24072. security:
  24073. - ApiKeyAuth: []
  24074. summary: 获取我的订单中待付款信息
  24075. tags:
  24076. - 定制【海商报业】
  24077. /HSBY/QueryMyUsedCoupon:
  24078. get:
  24079. parameters:
  24080. - description: 资金账户列表,格式:1,2,3
  24081. in: query
  24082. name: accountIDs
  24083. required: true
  24084. type: string
  24085. produces:
  24086. - application/json
  24087. responses:
  24088. "200":
  24089. description: OK
  24090. schema:
  24091. $ref: '#/definitions/models.MyUsedCoupon'
  24092. "500":
  24093. description: Internal Server Error
  24094. schema:
  24095. $ref: '#/definitions/app.Response'
  24096. security:
  24097. - ApiKeyAuth: []
  24098. summary: 已使用优惠卷查询
  24099. tags:
  24100. - 定制【海商报业】
  24101. /HSBY/QueryProvincesAndCities:
  24102. get:
  24103. description: 查询结果只包括二级市场商品已关连的省市信息。
  24104. parameters:
  24105. - description: 省ID
  24106. in: query
  24107. name: provinceID
  24108. type: integer
  24109. produces:
  24110. - application/json
  24111. responses:
  24112. "200":
  24113. description: OK
  24114. schema:
  24115. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  24116. "500":
  24117. description: Internal Server Error
  24118. schema:
  24119. $ref: '#/definitions/app.Response'
  24120. security:
  24121. - ApiKeyAuth: []
  24122. summary: 查询省市信息(不包括区)
  24123. tags:
  24124. - 定制【海商报业】
  24125. /HSBY/SetHsbyMyPackagesStatus:
  24126. post:
  24127. parameters:
  24128. - description: 提货单号
  24129. in: query
  24130. name: takeOrderID
  24131. required: true
  24132. type: string
  24133. - description: 资金账号
  24134. in: query
  24135. name: accountID
  24136. required: true
  24137. type: integer
  24138. produces:
  24139. - application/json
  24140. responses:
  24141. "200":
  24142. description: OK
  24143. schema:
  24144. $ref: '#/definitions/app.Response'
  24145. "500":
  24146. description: Internal Server Error
  24147. schema:
  24148. $ref: '#/definitions/app.Response'
  24149. security:
  24150. - ApiKeyAuth: []
  24151. summary: 设置我的包裹已收货状态
  24152. tags:
  24153. - 定制【海商报业】
  24154. /Market/GetAllExExchanges:
  24155. get:
  24156. produces:
  24157. - application/json
  24158. responses:
  24159. "200":
  24160. description: OK
  24161. schema:
  24162. $ref: '#/definitions/models.Goods'
  24163. "500":
  24164. description: Internal Server Error
  24165. schema:
  24166. $ref: '#/definitions/app.Response'
  24167. security:
  24168. - ApiKeyAuth: []
  24169. summary: 获取所有外部交易所信息
  24170. tags:
  24171. - 通用市场
  24172. /Market/QueryGoodsesByLoginID:
  24173. get:
  24174. parameters:
  24175. - description: 登录账号
  24176. in: query
  24177. name: loginID
  24178. required: true
  24179. type: integer
  24180. - description: 市场ID列表,格式:1,2,3
  24181. in: query
  24182. name: marketIDs
  24183. type: string
  24184. produces:
  24185. - application/json
  24186. responses:
  24187. "200":
  24188. description: OK
  24189. schema:
  24190. $ref: '#/definitions/models.Goods'
  24191. "500":
  24192. description: Internal Server Error
  24193. schema:
  24194. $ref: '#/definitions/app.Response'
  24195. security:
  24196. - ApiKeyAuth: []
  24197. summary: 获取登录账号有权限的商品信息
  24198. tags:
  24199. - 通用市场
  24200. /Market/QueryMarketRun:
  24201. get:
  24202. parameters:
  24203. - description: 市场ID,不传返回所有
  24204. in: query
  24205. name: marketID
  24206. type: integer
  24207. produces:
  24208. - application/json
  24209. responses:
  24210. "200":
  24211. description: OK
  24212. schema:
  24213. $ref: '#/definitions/models.Marketrun'
  24214. "500":
  24215. description: Internal Server Error
  24216. schema:
  24217. $ref: '#/definitions/app.Response'
  24218. security:
  24219. - ApiKeyAuth: []
  24220. summary: 查询市场运行信息
  24221. tags:
  24222. - 通用市场
  24223. /Market/QueryMarketsByLoginID:
  24224. get:
  24225. parameters:
  24226. - description: 登录账号
  24227. in: query
  24228. name: loginID
  24229. required: true
  24230. type: integer
  24231. produces:
  24232. - application/json
  24233. responses:
  24234. "200":
  24235. description: OK
  24236. schema:
  24237. $ref: '#/definitions/models.Market'
  24238. "500":
  24239. description: Internal Server Error
  24240. schema:
  24241. $ref: '#/definitions/app.Response'
  24242. security:
  24243. - ApiKeyAuth: []
  24244. summary: 获取登录账号有权限的市场信息
  24245. tags:
  24246. - 通用市场
  24247. /Order/QueryHisTradeDetail:
  24248. get:
  24249. parameters:
  24250. - description: 资金账户 - 格式:1,2,3
  24251. in: query
  24252. name: accountID
  24253. required: true
  24254. type: string
  24255. - description: 成交单号
  24256. in: query
  24257. name: tradeID
  24258. type: integer
  24259. - description: 委托单号
  24260. in: query
  24261. name: orderID
  24262. type: integer
  24263. - description: 商品ID
  24264. in: query
  24265. name: goodsID
  24266. type: integer
  24267. - description: 交易模式 - 格式:1,2,3
  24268. in: query
  24269. name: tradeMode
  24270. type: string
  24271. - description: 委托单据类型
  24272. in: query
  24273. name: buildType
  24274. type: integer
  24275. - description: 成交类别 - 格式:1,2,3
  24276. in: query
  24277. name: tradeType
  24278. type: string
  24279. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  24280. in: query
  24281. name: startDate
  24282. type: string
  24283. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  24284. in: query
  24285. name: endDate
  24286. type: string
  24287. produces:
  24288. - application/json
  24289. responses:
  24290. "200":
  24291. description: OK
  24292. schema:
  24293. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  24294. "500":
  24295. description: Internal Server Error
  24296. schema:
  24297. $ref: '#/definitions/app.Response'
  24298. security:
  24299. - ApiKeyAuth: []
  24300. summary: 历史成交单查询(合约市场)
  24301. tags:
  24302. - 通用单据
  24303. /Order/QueryHisTradeOrderDetail:
  24304. get:
  24305. parameters:
  24306. - description: 资金账户 - 格式:1,2,3
  24307. in: query
  24308. name: accountID
  24309. required: true
  24310. type: string
  24311. - description: 交易模式 - 格式:1,2,3
  24312. in: query
  24313. name: tradeMode
  24314. type: string
  24315. - description: 委托状态 - 格式:1,2,3
  24316. in: query
  24317. name: orderStatus
  24318. type: string
  24319. - description: 委托单号
  24320. in: query
  24321. name: orderID
  24322. type: integer
  24323. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  24324. in: query
  24325. name: startDate
  24326. type: string
  24327. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  24328. in: query
  24329. name: endDate
  24330. type: string
  24331. produces:
  24332. - application/json
  24333. responses:
  24334. "200":
  24335. description: OK
  24336. schema:
  24337. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  24338. "500":
  24339. description: Internal Server Error
  24340. schema:
  24341. $ref: '#/definitions/app.Response'
  24342. security:
  24343. - ApiKeyAuth: []
  24344. summary: 历史委托单查询请求(合约市场)
  24345. tags:
  24346. - 通用单据
  24347. /Order/QueryTradeDetail:
  24348. get:
  24349. parameters:
  24350. - description: 资金账户 - 格式:1,2,3
  24351. in: query
  24352. name: accountID
  24353. required: true
  24354. type: string
  24355. - description: 成交单号
  24356. in: query
  24357. name: tradeID
  24358. type: integer
  24359. - description: 委托单号
  24360. in: query
  24361. name: orderID
  24362. type: integer
  24363. - description: 交易模式 - 格式:1,2,3
  24364. in: query
  24365. name: tradeMode
  24366. type: string
  24367. - description: 委托单据类型
  24368. in: query
  24369. name: buildType
  24370. type: integer
  24371. - description: 成交类别 - 格式:1,2,3
  24372. in: query
  24373. name: tradeType
  24374. type: string
  24375. - description: 商品ID
  24376. in: query
  24377. name: goodsID
  24378. type: integer
  24379. produces:
  24380. - application/json
  24381. responses:
  24382. "200":
  24383. description: OK
  24384. schema:
  24385. $ref: '#/definitions/order.QueryTradeDetailRsp'
  24386. "500":
  24387. description: Internal Server Error
  24388. schema:
  24389. $ref: '#/definitions/app.Response'
  24390. security:
  24391. - ApiKeyAuth: []
  24392. summary: 成交单查询(合约市场)
  24393. tags:
  24394. - 通用单据
  24395. /Order/QueryTradeHolderDetail:
  24396. get:
  24397. parameters:
  24398. - description: 用户id
  24399. in: query
  24400. name: userid
  24401. type: integer
  24402. - description: 资金账号, 格式 1,2,3
  24403. in: query
  24404. name: accids
  24405. type: string
  24406. - description: 交易模式, 格式 1,2,3
  24407. in: query
  24408. name: trademodes
  24409. type: string
  24410. - description: 市场id, 格式 1,2,3
  24411. in: query
  24412. name: marketids
  24413. type: string
  24414. - description: 商品id
  24415. in: query
  24416. name: goodsid
  24417. type: integer
  24418. - description: 买卖方向 0-买 1-卖
  24419. in: query
  24420. name: buyorsell
  24421. type: integer
  24422. produces:
  24423. - application/json
  24424. responses:
  24425. "200":
  24426. description: OK
  24427. schema:
  24428. items:
  24429. $ref: '#/definitions/models.TradeHolderDetail'
  24430. type: array
  24431. "500":
  24432. description: Internal Server Error
  24433. schema:
  24434. $ref: '#/definitions/app.Response'
  24435. security:
  24436. - ApiKeyAuth: []
  24437. summary: 查询持仓明细
  24438. tags:
  24439. - 通用单据
  24440. /Order/QueryTradeOrderDetail:
  24441. get:
  24442. parameters:
  24443. - description: 资金账户 - 格式:1,2,3
  24444. in: query
  24445. name: accountID
  24446. required: true
  24447. type: string
  24448. - description: 交易模式 - 格式:1,2,3
  24449. in: query
  24450. name: tradeMode
  24451. type: string
  24452. - description: 委托状态 - 格式:1,2,3
  24453. in: query
  24454. name: orderStatus
  24455. type: string
  24456. - description: 委托单号
  24457. in: query
  24458. name: orderID
  24459. type: integer
  24460. produces:
  24461. - application/json
  24462. responses:
  24463. "200":
  24464. description: OK
  24465. schema:
  24466. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  24467. "500":
  24468. description: Internal Server Error
  24469. schema:
  24470. $ref: '#/definitions/app.Response'
  24471. security:
  24472. - ApiKeyAuth: []
  24473. summary: 委托单查询请求(合约市场)
  24474. tags:
  24475. - 通用单据
  24476. /Order/QueryTradePosition:
  24477. get:
  24478. parameters:
  24479. - description: 资金账户 - 格式:1,2,3
  24480. in: query
  24481. name: accountID
  24482. required: true
  24483. type: string
  24484. - description: 交易模式 - 格式:1,2,3
  24485. in: query
  24486. name: tradeMode
  24487. type: string
  24488. produces:
  24489. - application/json
  24490. responses:
  24491. "200":
  24492. description: OK
  24493. schema:
  24494. $ref: '#/definitions/order.QueryTradePositionRsp'
  24495. "500":
  24496. description: Internal Server Error
  24497. schema:
  24498. $ref: '#/definitions/app.Response'
  24499. security:
  24500. - ApiKeyAuth: []
  24501. summary: 持仓汇总查询(合约市场)
  24502. tags:
  24503. - 通用单据
  24504. /Qhj/QueryAccountInOutApply:
  24505. get:
  24506. parameters:
  24507. - description: 用户ID
  24508. in: query
  24509. name: userid
  24510. required: true
  24511. type: integer
  24512. - description: 申请起始日期(格式yyyymmdd)
  24513. in: query
  24514. name: begindate
  24515. type: string
  24516. - description: 申请截止日期(格式yyyymmdd)
  24517. in: query
  24518. name: enddate
  24519. type: string
  24520. - description: 模糊搜索名称
  24521. in: query
  24522. name: likename
  24523. type: string
  24524. produces:
  24525. - application/json
  24526. responses:
  24527. "200":
  24528. description: OK
  24529. schema:
  24530. items:
  24531. $ref: '#/definitions/models.QhjAccountOutInApply'
  24532. type: array
  24533. "500":
  24534. description: Internal Server Error
  24535. schema:
  24536. $ref: '#/definitions/app.Response'
  24537. security:
  24538. - ApiKeyAuth: []
  24539. summary: 查询充值提现
  24540. tags:
  24541. - 大连千海金
  24542. /Qhj/QueryAreaFinanceConfig:
  24543. get:
  24544. parameters:
  24545. - description: 机构用户ID 其他做市关系,都设置为 1
  24546. in: query
  24547. name: userid
  24548. type: integer
  24549. produces:
  24550. - application/json
  24551. responses:
  24552. "200":
  24553. description: OK
  24554. schema:
  24555. items:
  24556. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  24557. type: array
  24558. "500":
  24559. description: Internal Server Error
  24560. schema:
  24561. $ref: '#/definitions/app.Response'
  24562. security:
  24563. - ApiKeyAuth: []
  24564. summary: 查询企业配置表
  24565. tags:
  24566. - 大连千海金
  24567. /Qhj/QueryBankAccountSign:
  24568. get:
  24569. parameters:
  24570. - description: 用户ID
  24571. in: query
  24572. name: userid
  24573. required: true
  24574. type: integer
  24575. produces:
  24576. - application/json
  24577. responses:
  24578. "200":
  24579. description: OK
  24580. schema:
  24581. items:
  24582. $ref: '#/definitions/models.QhjBankAccountSign'
  24583. type: array
  24584. "500":
  24585. description: Internal Server Error
  24586. schema:
  24587. $ref: '#/definitions/app.Response'
  24588. security:
  24589. - ApiKeyAuth: []
  24590. summary: 查询签约银行信息(提现账户管理)
  24591. tags:
  24592. - 大连千海金
  24593. /Qhj/QueryBankInfo:
  24594. get:
  24595. produces:
  24596. - application/json
  24597. responses:
  24598. "200":
  24599. description: OK
  24600. schema:
  24601. items:
  24602. $ref: '#/definitions/models.QhjBankInfo'
  24603. type: array
  24604. "500":
  24605. description: Internal Server Error
  24606. schema:
  24607. $ref: '#/definitions/app.Response'
  24608. security:
  24609. - ApiKeyAuth: []
  24610. summary: 查询开户行
  24611. tags:
  24612. - 大连千海金
  24613. /Qhj/QueryBrokerApply:
  24614. get:
  24615. parameters:
  24616. - description: 所属机构ID
  24617. in: query
  24618. name: userid
  24619. type: integer
  24620. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24621. in: query
  24622. name: filterstatus
  24623. type: string
  24624. produces:
  24625. - application/json
  24626. responses:
  24627. "200":
  24628. description: OK
  24629. schema:
  24630. items:
  24631. $ref: '#/definitions/models.QhjBrokerApply'
  24632. type: array
  24633. "500":
  24634. description: Internal Server Error
  24635. schema:
  24636. $ref: '#/definitions/app.Response'
  24637. security:
  24638. - ApiKeyAuth: []
  24639. summary: 查询经纪人申请
  24640. tags:
  24641. - 大连千海金
  24642. /Qhj/QueryBrokerApplyEx:
  24643. get:
  24644. parameters:
  24645. - description: 所属机构ID
  24646. in: query
  24647. name: userid
  24648. type: integer
  24649. produces:
  24650. - application/json
  24651. responses:
  24652. "200":
  24653. description: OK
  24654. schema:
  24655. items:
  24656. $ref: '#/definitions/models.QhjBrokerApplyEx'
  24657. type: array
  24658. "500":
  24659. description: Internal Server Error
  24660. schema:
  24661. $ref: '#/definitions/app.Response'
  24662. security:
  24663. - ApiKeyAuth: []
  24664. summary: 查询经纪人信息和申请记录
  24665. tags:
  24666. - 大连千海金
  24667. /Qhj/QueryBrokerRewardLog:
  24668. get:
  24669. parameters:
  24670. - description: 用户ID
  24671. in: query
  24672. name: userid
  24673. required: true
  24674. type: integer
  24675. - description: 开始交易日(yyyymmdd)
  24676. in: query
  24677. name: begindate
  24678. type: string
  24679. - description: 结束交易日(yyyymmdd)
  24680. in: query
  24681. name: enddate
  24682. type: string
  24683. produces:
  24684. - application/json
  24685. responses:
  24686. "200":
  24687. description: OK
  24688. schema:
  24689. items:
  24690. $ref: '#/definitions/models.QhjBrokerRewardLog'
  24691. type: array
  24692. "500":
  24693. description: Internal Server Error
  24694. schema:
  24695. $ref: '#/definitions/app.Response'
  24696. security:
  24697. - ApiKeyAuth: []
  24698. summary: 查询奖励流水(我的奖励)
  24699. tags:
  24700. - 大连千海金
  24701. /Qhj/QueryContract:
  24702. get:
  24703. parameters:
  24704. - description: 用户ID
  24705. in: query
  24706. name: userid
  24707. type: integer
  24708. - description: scf合同id
  24709. in: query
  24710. name: scfcontractid
  24711. type: integer
  24712. produces:
  24713. - application/json
  24714. responses:
  24715. "200":
  24716. description: OK
  24717. schema:
  24718. items:
  24719. $ref: '#/definitions/models.QhjContract'
  24720. type: array
  24721. "500":
  24722. description: Internal Server Error
  24723. schema:
  24724. $ref: '#/definitions/app.Response'
  24725. security:
  24726. - ApiKeyAuth: []
  24727. summary: 查询融资明细(合同)
  24728. tags:
  24729. - 大连千海金
  24730. /Qhj/QueryContractLog:
  24731. get:
  24732. parameters:
  24733. - description: scf合同id
  24734. in: query
  24735. name: scfcontractid
  24736. required: true
  24737. type: integer
  24738. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  24739. in: query
  24740. name: amounttype
  24741. type: string
  24742. produces:
  24743. - application/json
  24744. responses:
  24745. "200":
  24746. description: OK
  24747. schema:
  24748. items:
  24749. $ref: '#/definitions/models.QhjContractLog'
  24750. type: array
  24751. "500":
  24752. description: Internal Server Error
  24753. schema:
  24754. $ref: '#/definitions/app.Response'
  24755. security:
  24756. - ApiKeyAuth: []
  24757. summary: 查询融资明细流水(融资明细详情页中的流水)
  24758. tags:
  24759. - 大连千海金
  24760. /Qhj/QueryCusBankSignBank:
  24761. get:
  24762. produces:
  24763. - application/json
  24764. responses:
  24765. "200":
  24766. description: OK
  24767. schema:
  24768. items:
  24769. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  24770. type: array
  24771. "500":
  24772. description: Internal Server Error
  24773. schema:
  24774. $ref: '#/definitions/app.Response'
  24775. security:
  24776. - ApiKeyAuth: []
  24777. summary: 查询托管银行
  24778. tags:
  24779. - 大连千海金
  24780. /Qhj/QueryCustomerInfo:
  24781. get:
  24782. parameters:
  24783. - description: 用户ID
  24784. in: query
  24785. name: userid
  24786. required: true
  24787. type: integer
  24788. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  24789. in: query
  24790. name: querytype
  24791. required: true
  24792. type: integer
  24793. - description: 客户类型 1-个人 2-企业
  24794. in: query
  24795. name: userinfotype
  24796. type: integer
  24797. - description: 客户名称(模糊匹配)
  24798. in: query
  24799. name: customername
  24800. type: string
  24801. - description: 昵称(模糊匹配)
  24802. in: query
  24803. name: nickname
  24804. type: string
  24805. - description: 是否包含子级 1-包含
  24806. in: query
  24807. name: includesub
  24808. type: integer
  24809. produces:
  24810. - application/json
  24811. responses:
  24812. "200":
  24813. description: OK
  24814. schema:
  24815. items:
  24816. $ref: '#/definitions/models.QhjCustomer'
  24817. type: array
  24818. "500":
  24819. description: Internal Server Error
  24820. schema:
  24821. $ref: '#/definitions/app.Response'
  24822. security:
  24823. - ApiKeyAuth: []
  24824. summary: 查询客户资料
  24825. tags:
  24826. - 大连千海金
  24827. /Qhj/QueryGoodsEx:
  24828. get:
  24829. parameters:
  24830. - description: 商品id
  24831. in: query
  24832. name: goodsid
  24833. type: integer
  24834. produces:
  24835. - application/json
  24836. responses:
  24837. "200":
  24838. description: OK
  24839. schema:
  24840. items:
  24841. $ref: '#/definitions/models.Qhjgoodsex'
  24842. type: array
  24843. "500":
  24844. description: Internal Server Error
  24845. schema:
  24846. $ref: '#/definitions/app.Response'
  24847. security:
  24848. - ApiKeyAuth: []
  24849. summary: 交易商品扩展表
  24850. tags:
  24851. - 大连千海金
  24852. /Qhj/QueryMyTeam:
  24853. get:
  24854. parameters:
  24855. - description: 用户ID
  24856. in: query
  24857. name: userid
  24858. required: true
  24859. type: integer
  24860. produces:
  24861. - application/json
  24862. responses:
  24863. "200":
  24864. description: OK
  24865. schema:
  24866. items:
  24867. $ref: '#/definitions/models.QhjMyTeamEx'
  24868. type: array
  24869. "500":
  24870. description: Internal Server Error
  24871. schema:
  24872. $ref: '#/definitions/app.Response'
  24873. security:
  24874. - ApiKeyAuth: []
  24875. summary: 查询我的团队
  24876. tags:
  24877. - 大连千海金
  24878. /Qhj/QueryMyTeamOrder:
  24879. get:
  24880. parameters:
  24881. - description: 页码
  24882. in: query
  24883. name: page
  24884. type: integer
  24885. - description: 每页条数
  24886. in: query
  24887. name: pagesize
  24888. type: integer
  24889. - description: 用户ID
  24890. in: query
  24891. name: userid
  24892. required: true
  24893. type: integer
  24894. - description: 交易模式
  24895. in: query
  24896. name: trademode
  24897. type: integer
  24898. - description: 名称(模糊搜索账户)
  24899. in: query
  24900. name: filtername
  24901. type: string
  24902. produces:
  24903. - application/json
  24904. responses:
  24905. "200":
  24906. description: OK
  24907. schema:
  24908. items:
  24909. $ref: '#/definitions/models.QhjTeamOrder'
  24910. type: array
  24911. "500":
  24912. description: Internal Server Error
  24913. schema:
  24914. $ref: '#/definitions/app.Response'
  24915. security:
  24916. - ApiKeyAuth: []
  24917. summary: 查询团队订单(我的团队/团队订单)
  24918. tags:
  24919. - 大连千海金
  24920. /Qhj/QueryParentAreaList:
  24921. get:
  24922. parameters:
  24923. - description: 用户ID
  24924. in: query
  24925. name: userid
  24926. required: true
  24927. type: integer
  24928. produces:
  24929. - application/json
  24930. responses:
  24931. "200":
  24932. description: OK
  24933. schema:
  24934. items:
  24935. $ref: '#/definitions/models.QhjParentAreaList'
  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. - 大连千海金
  24946. /Qhj/QueryPayOrder:
  24947. get:
  24948. parameters:
  24949. - description: 资金账号id
  24950. in: query
  24951. name: accountid
  24952. required: true
  24953. type: integer
  24954. - description: 成交单号
  24955. in: query
  24956. name: tradeid
  24957. type: integer
  24958. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  24959. in: query
  24960. name: payflag
  24961. type: string
  24962. produces:
  24963. - application/json
  24964. responses:
  24965. "200":
  24966. description: OK
  24967. schema:
  24968. items:
  24969. $ref: '#/definitions/models.QhjPayOrder'
  24970. type: array
  24971. "500":
  24972. description: Internal Server Error
  24973. schema:
  24974. $ref: '#/definitions/app.Response'
  24975. security:
  24976. - ApiKeyAuth: []
  24977. summary: 查询待付款单据
  24978. tags:
  24979. - 大连千海金
  24980. /Qhj/QueryPickArea:
  24981. get:
  24982. parameters:
  24983. - description: 用户ID
  24984. in: query
  24985. name: userid
  24986. type: integer
  24987. produces:
  24988. - application/json
  24989. responses:
  24990. "200":
  24991. description: OK
  24992. schema:
  24993. items:
  24994. $ref: '#/definitions/models.QhjPickArea'
  24995. type: array
  24996. "500":
  24997. description: Internal Server Error
  24998. schema:
  24999. $ref: '#/definitions/app.Response'
  25000. security:
  25001. - ApiKeyAuth: []
  25002. summary: 查询提货门店
  25003. tags:
  25004. - 大连千海金
  25005. /Qhj/QueryPickGoods:
  25006. get:
  25007. parameters:
  25008. - description: 交易商品id
  25009. in: query
  25010. name: goodsid
  25011. required: true
  25012. type: integer
  25013. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  25014. in: query
  25015. name: status
  25016. type: string
  25017. produces:
  25018. - application/json
  25019. responses:
  25020. "200":
  25021. description: OK
  25022. schema:
  25023. items:
  25024. $ref: '#/definitions/models.QhjPickGoods'
  25025. type: array
  25026. "500":
  25027. description: Internal Server Error
  25028. schema:
  25029. $ref: '#/definitions/app.Response'
  25030. security:
  25031. - ApiKeyAuth: []
  25032. summary: 查询提货商品
  25033. tags:
  25034. - 大连千海金
  25035. /Qhj/QueryRSTriggerLog:
  25036. get:
  25037. parameters:
  25038. - description: 用户ID
  25039. in: query
  25040. name: userid
  25041. type: integer
  25042. - description: 定投策略id
  25043. in: query
  25044. name: regularlystrategyid
  25045. type: integer
  25046. - description: 商品id
  25047. in: query
  25048. name: goodsid
  25049. type: integer
  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: 名称(模糊搜索账户)
  25059. in: query
  25060. name: filtername
  25061. type: string
  25062. produces:
  25063. - application/json
  25064. responses:
  25065. "200":
  25066. description: OK
  25067. schema:
  25068. items:
  25069. $ref: '#/definitions/models.QhjRSTriggerLog'
  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. - 大连千海金
  25080. /Qhj/QueryRStrategy:
  25081. get:
  25082. parameters:
  25083. - description: 用户ID
  25084. in: query
  25085. name: userid
  25086. type: integer
  25087. - description: 商品id
  25088. in: query
  25089. name: goodsid
  25090. type: integer
  25091. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  25092. in: query
  25093. name: status
  25094. type: string
  25095. - description: 名称(模糊搜索账户)
  25096. in: query
  25097. name: filtername
  25098. type: string
  25099. produces:
  25100. - application/json
  25101. responses:
  25102. "200":
  25103. description: OK
  25104. schema:
  25105. items:
  25106. $ref: '#/definitions/models.QhjRStrategy'
  25107. type: array
  25108. "500":
  25109. description: Internal Server Error
  25110. schema:
  25111. $ref: '#/definitions/app.Response'
  25112. security:
  25113. - ApiKeyAuth: []
  25114. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  25115. tags:
  25116. - 大连千海金
  25117. /Qhj/QueryReckonPriceLog:
  25118. get:
  25119. parameters:
  25120. - description: 商品ID
  25121. in: query
  25122. name: goodsid
  25123. type: integer
  25124. - description: 交易日 格式(yyyymmdd)
  25125. in: query
  25126. name: tradedate
  25127. type: string
  25128. produces:
  25129. - application/json
  25130. responses:
  25131. "200":
  25132. description: OK
  25133. schema:
  25134. items:
  25135. $ref: '#/definitions/models.QhjReckonPriceLog'
  25136. type: array
  25137. "500":
  25138. description: Internal Server Error
  25139. schema:
  25140. $ref: '#/definitions/app.Response'
  25141. security:
  25142. - ApiKeyAuth: []
  25143. summary: 查询定投价(结算价)
  25144. tags:
  25145. - 大连千海金
  25146. /Qhj/QueryScoreLog:
  25147. get:
  25148. parameters:
  25149. - description: 用户ID
  25150. in: query
  25151. name: userid
  25152. required: true
  25153. type: integer
  25154. - description: 开始交易日(yyyymmdd)
  25155. in: query
  25156. name: begindate
  25157. type: string
  25158. - description: 结束交易日(yyyymmdd)
  25159. in: query
  25160. name: enddate
  25161. type: string
  25162. - description: 最近多少条
  25163. in: query
  25164. name: lastnum
  25165. type: integer
  25166. produces:
  25167. - application/json
  25168. responses:
  25169. "200":
  25170. description: OK
  25171. schema:
  25172. items:
  25173. $ref: '#/definitions/models.QhjScoreLog'
  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. - 大连千海金
  25184. /Qhj/QuerySiteColumnDetail:
  25185. get:
  25186. parameters:
  25187. - description: 用户ID
  25188. in: query
  25189. name: userid
  25190. required: true
  25191. type: integer
  25192. produces:
  25193. - application/json
  25194. responses:
  25195. "200":
  25196. description: OK
  25197. schema:
  25198. items:
  25199. $ref: '#/definitions/models.QhjSiteColumnDetail'
  25200. type: array
  25201. "500":
  25202. description: Internal Server Error
  25203. schema:
  25204. $ref: '#/definitions/app.Response'
  25205. security:
  25206. - ApiKeyAuth: []
  25207. summary: 查询资讯
  25208. tags:
  25209. - 大连千海金
  25210. /Qhj/QueryTradeGoodsPickup:
  25211. get:
  25212. parameters:
  25213. - description: 用户ID
  25214. in: query
  25215. name: userid
  25216. required: true
  25217. type: integer
  25218. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  25219. 7:已拒绝 8:已撤销
  25220. in: query
  25221. name: takeorderstatus
  25222. type: integer
  25223. produces:
  25224. - application/json
  25225. responses:
  25226. "200":
  25227. description: OK
  25228. schema:
  25229. items:
  25230. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  25231. type: array
  25232. "500":
  25233. description: Internal Server Error
  25234. schema:
  25235. $ref: '#/definitions/app.Response'
  25236. security:
  25237. - ApiKeyAuth: []
  25238. summary: 查询提货
  25239. tags:
  25240. - 大连千海金
  25241. /Qhj/QueryUserCollectConfig:
  25242. get:
  25243. parameters:
  25244. - description: 用户ID
  25245. in: query
  25246. name: userid
  25247. required: true
  25248. type: integer
  25249. produces:
  25250. - application/json
  25251. responses:
  25252. "200":
  25253. description: OK
  25254. schema:
  25255. items:
  25256. $ref: '#/definitions/models.UserCollectConfig'
  25257. type: array
  25258. "500":
  25259. description: Internal Server Error
  25260. schema:
  25261. $ref: '#/definitions/app.Response'
  25262. security:
  25263. - ApiKeyAuth: []
  25264. summary: 查询提现账户设置
  25265. tags:
  25266. - 大连千海金
  25267. /Qhj/QueryUserReceiveInfo:
  25268. get:
  25269. parameters:
  25270. - description: 用户ID
  25271. in: query
  25272. name: userid
  25273. required: true
  25274. type: integer
  25275. produces:
  25276. - application/json
  25277. responses:
  25278. "200":
  25279. description: OK
  25280. schema:
  25281. items:
  25282. $ref: '#/definitions/models.UserReceiveInfo'
  25283. type: array
  25284. "500":
  25285. description: Internal Server Error
  25286. schema:
  25287. $ref: '#/definitions/app.Response'
  25288. security:
  25289. - ApiKeyAuth: []
  25290. summary: 查询收货地址信息
  25291. tags:
  25292. - 大连千海金
  25293. /QhjMgr/QueryAccountInOutApply:
  25294. get:
  25295. parameters:
  25296. - description: 查询类型 1-提现(出金) 2-充值(出金)
  25297. in: query
  25298. name: querytype
  25299. required: true
  25300. type: integer
  25301. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  25302. in: query
  25303. name: applystatus
  25304. type: integer
  25305. - description: 申请起始日期(格式yyyymmdd)
  25306. in: query
  25307. name: begindate
  25308. type: string
  25309. - description: 申请截止日期(格式yyyymmdd)
  25310. in: query
  25311. name: enddate
  25312. type: string
  25313. - description: 模糊搜索名称
  25314. in: query
  25315. name: likename
  25316. type: string
  25317. produces:
  25318. - application/json
  25319. responses:
  25320. "200":
  25321. description: OK
  25322. schema:
  25323. items:
  25324. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  25325. type: array
  25326. "500":
  25327. description: Internal Server Error
  25328. schema:
  25329. $ref: '#/definitions/app.Response'
  25330. security:
  25331. - ApiKeyAuth: []
  25332. summary: 查询充值提现
  25333. tags:
  25334. - 大连千海金(PCWeb)
  25335. /QhjMgr/QueryBrokerApply:
  25336. get:
  25337. parameters:
  25338. - description: 所属机构ID
  25339. in: query
  25340. name: userid
  25341. type: integer
  25342. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  25343. in: query
  25344. name: filterstatus
  25345. type: string
  25346. - description: 名称(模糊匹配)
  25347. in: query
  25348. name: filtername
  25349. type: string
  25350. - description: 是否包含子级 1-包含
  25351. in: query
  25352. name: includesub
  25353. type: integer
  25354. produces:
  25355. - application/json
  25356. responses:
  25357. "200":
  25358. description: OK
  25359. schema:
  25360. items:
  25361. $ref: '#/definitions/models.QhjMgrBrokerApply'
  25362. type: array
  25363. "500":
  25364. description: Internal Server Error
  25365. schema:
  25366. $ref: '#/definitions/app.Response'
  25367. security:
  25368. - ApiKeyAuth: []
  25369. summary: 查询经纪人申请
  25370. tags:
  25371. - 大连千海金(PCWeb)
  25372. /QhjMgr/QueryBrokerRewardReport:
  25373. get:
  25374. parameters:
  25375. - description: 所属机构ID
  25376. in: query
  25377. name: userid
  25378. required: true
  25379. type: integer
  25380. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25381. in: query
  25382. name: cycletype
  25383. required: true
  25384. type: integer
  25385. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  25386. in: query
  25387. name: cycletime
  25388. required: true
  25389. type: string
  25390. - description: 名称(模糊匹配)
  25391. in: query
  25392. name: filtername
  25393. type: string
  25394. - description: 是否包含子级 1-包含
  25395. in: query
  25396. name: includesub
  25397. type: integer
  25398. produces:
  25399. - application/json
  25400. responses:
  25401. "200":
  25402. description: OK
  25403. schema:
  25404. items:
  25405. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  25406. type: array
  25407. "500":
  25408. description: Internal Server Error
  25409. schema:
  25410. $ref: '#/definitions/app.Response'
  25411. security:
  25412. - ApiKeyAuth: []
  25413. summary: 查询经纪人奖励报表(废弃)
  25414. tags:
  25415. - 大连千海金(PCWeb)
  25416. /QhjMgr/QueryContract:
  25417. get:
  25418. parameters:
  25419. - description: 用户ID
  25420. in: query
  25421. name: userid
  25422. type: integer
  25423. - description: 商品id
  25424. in: query
  25425. name: goodsid
  25426. type: integer
  25427. - description: 名称(模糊搜索账户)
  25428. in: query
  25429. name: filtername
  25430. type: string
  25431. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  25432. in: query
  25433. name: risklevel
  25434. type: string
  25435. - description: 开始交易日(yyyymmdd)
  25436. in: query
  25437. name: begindate
  25438. type: string
  25439. - description: 结束交易日(yyyymmdd)
  25440. in: query
  25441. name: enddate
  25442. type: string
  25443. produces:
  25444. - application/json
  25445. responses:
  25446. "200":
  25447. description: OK
  25448. schema:
  25449. items:
  25450. $ref: '#/definitions/models.QhjMgrContract'
  25451. type: array
  25452. "500":
  25453. description: Internal Server Error
  25454. schema:
  25455. $ref: '#/definitions/app.Response'
  25456. security:
  25457. - ApiKeyAuth: []
  25458. summary: 查询融资信息(合同)
  25459. tags:
  25460. - 大连千海金(PCWeb)
  25461. /QhjMgr/QueryCustomerInfo:
  25462. get:
  25463. parameters:
  25464. - description: 用户ID
  25465. in: query
  25466. name: userid
  25467. required: true
  25468. type: integer
  25469. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  25470. in: query
  25471. name: querytype
  25472. required: true
  25473. type: integer
  25474. - description: 客户类型 1-个人 2-企业
  25475. in: query
  25476. name: userinfotype
  25477. type: integer
  25478. - description: 客户名称(模糊匹配)
  25479. in: query
  25480. name: customername
  25481. type: string
  25482. - description: 昵称(模糊匹配)
  25483. in: query
  25484. name: nickname
  25485. type: string
  25486. - description: 所属客户经理(模糊匹配)
  25487. in: query
  25488. name: brokername
  25489. type: string
  25490. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd,
  25491. 如0503 -5月3日)
  25492. in: query
  25493. name: birthday
  25494. type: string
  25495. - description: 是否包含子级 1-包含
  25496. in: query
  25497. name: includesub
  25498. type: integer
  25499. produces:
  25500. - application/json
  25501. responses:
  25502. "200":
  25503. description: OK
  25504. schema:
  25505. items:
  25506. $ref: '#/definitions/models.QhjMgrCustomer'
  25507. type: array
  25508. "500":
  25509. description: Internal Server Error
  25510. schema:
  25511. $ref: '#/definitions/app.Response'
  25512. security:
  25513. - ApiKeyAuth: []
  25514. summary: 查询客户资料
  25515. tags:
  25516. - 大连千海金(PCWeb)
  25517. /QhjMgr/QueryPickGoods:
  25518. get:
  25519. parameters:
  25520. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  25521. in: query
  25522. name: status
  25523. type: string
  25524. produces:
  25525. - application/json
  25526. responses:
  25527. "200":
  25528. description: OK
  25529. schema:
  25530. items:
  25531. $ref: '#/definitions/models.QhjMgrPickGoods'
  25532. type: array
  25533. "500":
  25534. description: Internal Server Error
  25535. schema:
  25536. $ref: '#/definitions/app.Response'
  25537. security:
  25538. - ApiKeyAuth: []
  25539. summary: 查询提货商品
  25540. tags:
  25541. - 大连千海金(PCWeb)
  25542. /QhjMgr/QuerySubArea:
  25543. get:
  25544. parameters:
  25545. - description: 用户ID
  25546. in: query
  25547. name: userid
  25548. required: true
  25549. type: integer
  25550. produces:
  25551. - application/json
  25552. responses:
  25553. "200":
  25554. description: OK
  25555. schema:
  25556. items:
  25557. $ref: '#/definitions/models.QhjMgrSubArea'
  25558. type: array
  25559. "500":
  25560. description: Internal Server Error
  25561. schema:
  25562. $ref: '#/definitions/app.Response'
  25563. security:
  25564. - ApiKeyAuth: []
  25565. summary: 查询子机构列表
  25566. tags:
  25567. - 大连千海金(PCWeb)
  25568. /QhjMgr/QueryTradeDetail:
  25569. get:
  25570. parameters:
  25571. - description: 用户ID
  25572. in: query
  25573. name: userid
  25574. required: true
  25575. type: integer
  25576. - description: 用户类型 1-个人 2-企业
  25577. in: query
  25578. name: userinfotype
  25579. type: integer
  25580. - description: 交易模式
  25581. in: query
  25582. name: trademode
  25583. type: integer
  25584. - description: 商品id
  25585. in: query
  25586. name: goodsid
  25587. type: integer
  25588. - description: 名称(模糊搜索账户)
  25589. in: query
  25590. name: filtername
  25591. type: string
  25592. - description: 开始交易日(yyyymmdd)
  25593. in: query
  25594. name: begindate
  25595. type: string
  25596. - description: 结束交易日(yyyymmdd)
  25597. in: query
  25598. name: enddate
  25599. type: string
  25600. - description: 是否包含子级 1-包含
  25601. in: query
  25602. name: includesub
  25603. type: integer
  25604. produces:
  25605. - application/json
  25606. responses:
  25607. "200":
  25608. description: OK
  25609. schema:
  25610. items:
  25611. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  25612. type: array
  25613. "500":
  25614. description: Internal Server Error
  25615. schema:
  25616. $ref: '#/definitions/app.Response'
  25617. security:
  25618. - ApiKeyAuth: []
  25619. summary: 查询成交明细
  25620. tags:
  25621. - 大连千海金(PCWeb)
  25622. /QhjMgr/QueryTradeOrderDetail:
  25623. get:
  25624. parameters:
  25625. - description: 用户ID
  25626. in: query
  25627. name: userid
  25628. required: true
  25629. type: integer
  25630. - description: 用户类型 1-个人 2-企业
  25631. in: query
  25632. name: userinfotype
  25633. type: integer
  25634. - description: 交易模式
  25635. in: query
  25636. name: trademode
  25637. type: integer
  25638. - description: 商品id
  25639. in: query
  25640. name: goodsid
  25641. type: integer
  25642. - description: 名称(模糊搜索账户)
  25643. in: query
  25644. name: filtername
  25645. type: string
  25646. - description: 开始交易日(yyyymmdd)
  25647. in: query
  25648. name: begindate
  25649. type: string
  25650. - description: 结束交易日(yyyymmdd)
  25651. in: query
  25652. name: enddate
  25653. type: string
  25654. - description: 是否包含子级 1-包含
  25655. in: query
  25656. name: includesub
  25657. type: integer
  25658. produces:
  25659. - application/json
  25660. responses:
  25661. "200":
  25662. description: OK
  25663. schema:
  25664. items:
  25665. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  25666. type: array
  25667. "500":
  25668. description: Internal Server Error
  25669. schema:
  25670. $ref: '#/definitions/app.Response'
  25671. security:
  25672. - ApiKeyAuth: []
  25673. summary: 查询委托明细
  25674. tags:
  25675. - 大连千海金(PCWeb)
  25676. /QhjMgr/QueryTradePayOrder:
  25677. get:
  25678. parameters:
  25679. - description: 用户ID
  25680. in: query
  25681. name: userid
  25682. required: true
  25683. type: integer
  25684. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  25685. in: query
  25686. name: payflag
  25687. type: string
  25688. - description: 用户类型 1-个人 2-企业
  25689. in: query
  25690. name: userinfotype
  25691. type: integer
  25692. - description: 交易模式
  25693. in: query
  25694. name: trademode
  25695. type: integer
  25696. - description: 商品id
  25697. in: query
  25698. name: goodsid
  25699. type: integer
  25700. - description: 名称(模糊搜索账户)
  25701. in: query
  25702. name: filtername
  25703. type: string
  25704. - description: 开始交易日(yyyymmdd)
  25705. in: query
  25706. name: begindate
  25707. type: string
  25708. - description: 结束交易日(yyyymmdd)
  25709. in: query
  25710. name: enddate
  25711. type: string
  25712. - description: 是否包含子级 1-包含
  25713. in: query
  25714. name: includesub
  25715. type: integer
  25716. produces:
  25717. - application/json
  25718. responses:
  25719. "200":
  25720. description: OK
  25721. schema:
  25722. items:
  25723. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  25724. type: array
  25725. "500":
  25726. description: Internal Server Error
  25727. schema:
  25728. $ref: '#/definitions/app.Response'
  25729. security:
  25730. - ApiKeyAuth: []
  25731. summary: 查询待付款单
  25732. tags:
  25733. - 大连千海金(PCWeb)
  25734. /QhjMgr/QueryTradePosition:
  25735. get:
  25736. parameters:
  25737. - description: 用户ID
  25738. in: query
  25739. name: userid
  25740. required: true
  25741. type: integer
  25742. - description: 用户类型 1-个人 2-企业
  25743. in: query
  25744. name: userinfotype
  25745. type: integer
  25746. - description: 交易模式
  25747. in: query
  25748. name: trademode
  25749. type: integer
  25750. - description: 商品id
  25751. in: query
  25752. name: goodsid
  25753. type: integer
  25754. - description: 名称(模糊搜索账户)
  25755. in: query
  25756. name: filtername
  25757. type: string
  25758. - description: 是否包含子级 1-包含
  25759. in: query
  25760. name: includesub
  25761. type: integer
  25762. produces:
  25763. - application/json
  25764. responses:
  25765. "200":
  25766. description: OK
  25767. schema:
  25768. items:
  25769. $ref: '#/definitions/models.QhjMgrPositionRsp'
  25770. type: array
  25771. "500":
  25772. description: Internal Server Error
  25773. schema:
  25774. $ref: '#/definitions/app.Response'
  25775. security:
  25776. - ApiKeyAuth: []
  25777. summary: 查询持仓汇总
  25778. tags:
  25779. - 大连千海金(PCWeb)
  25780. /QhjSys/QueryAgreementChangeLog:
  25781. get:
  25782. parameters:
  25783. - description: 协议ID
  25784. in: query
  25785. name: agreementid
  25786. type: integer
  25787. - description: 协议版本号
  25788. in: query
  25789. name: agreementversion
  25790. type: integer
  25791. - description: 协议类型 - 1:注册 2:登录 3:交易
  25792. in: query
  25793. name: agreementtype
  25794. type: integer
  25795. - description: 协议编号(模糊匹配)
  25796. in: query
  25797. name: agreementno
  25798. type: string
  25799. - description: 协议名称(模糊匹配)
  25800. in: query
  25801. name: agreementname
  25802. type: string
  25803. produces:
  25804. - application/json
  25805. responses:
  25806. "200":
  25807. description: OK
  25808. schema:
  25809. items:
  25810. $ref: '#/definitions/models.QhjAgreementChangeLog'
  25811. type: array
  25812. "500":
  25813. description: Internal Server Error
  25814. schema:
  25815. $ref: '#/definitions/app.Response'
  25816. security:
  25817. - ApiKeyAuth: []
  25818. summary: 查询协议配置变更流水
  25819. tags:
  25820. - 大连千海金(协议和签约信息)
  25821. /QhjSys/QueryAgreementConfig:
  25822. get:
  25823. parameters:
  25824. - description: 协议ID
  25825. in: query
  25826. name: agreementid
  25827. type: integer
  25828. - description: 协议版本号
  25829. in: query
  25830. name: agreementversion
  25831. type: integer
  25832. - description: 协议类型 - 1:注册 2:登录 3:交易
  25833. in: query
  25834. name: agreementtype
  25835. type: integer
  25836. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  25837. in: query
  25838. name: isvalid
  25839. type: integer
  25840. - description: 协议编号(模糊匹配)
  25841. in: query
  25842. name: agreementno
  25843. type: string
  25844. - description: 协议名称(模糊匹配)
  25845. in: query
  25846. name: agreementname
  25847. type: string
  25848. produces:
  25849. - application/json
  25850. responses:
  25851. "200":
  25852. description: OK
  25853. schema:
  25854. items:
  25855. $ref: '#/definitions/models.QhjAgreementConfig'
  25856. type: array
  25857. "500":
  25858. description: Internal Server Error
  25859. schema:
  25860. $ref: '#/definitions/app.Response'
  25861. security:
  25862. - ApiKeyAuth: []
  25863. summary: 查询协议配置
  25864. tags:
  25865. - 大连千海金(协议和签约信息)
  25866. /QhjSys/QueryCustomerSignStatus:
  25867. get:
  25868. parameters:
  25869. - description: 客户ID
  25870. in: query
  25871. name: userid
  25872. type: integer
  25873. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  25874. in: query
  25875. name: nodetype
  25876. type: integer
  25877. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25878. in: query
  25879. name: goodsid
  25880. type: integer
  25881. - description: 创建交易日(yyyyMMdd)
  25882. in: query
  25883. name: tradedate
  25884. type: string
  25885. - description: 用户名称(模糊匹配)
  25886. in: query
  25887. name: username
  25888. type: string
  25889. produces:
  25890. - application/json
  25891. responses:
  25892. "200":
  25893. description: OK
  25894. schema:
  25895. items:
  25896. $ref: '#/definitions/models.QhjCustomerSignStatus'
  25897. type: array
  25898. "500":
  25899. description: Internal Server Error
  25900. schema:
  25901. $ref: '#/definitions/app.Response'
  25902. security:
  25903. - ApiKeyAuth: []
  25904. summary: 查询客户协议签约状态
  25905. tags:
  25906. - 大连千海金(协议和签约信息)
  25907. /QhjSys/QueryNodeAgreementConfig:
  25908. get:
  25909. parameters:
  25910. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  25911. in: query
  25912. name: configid
  25913. type: integer
  25914. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  25915. in: query
  25916. name: nodetype
  25917. type: integer
  25918. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25919. in: query
  25920. name: goodsid
  25921. type: integer
  25922. - description: 协议ID
  25923. in: query
  25924. name: agreementid
  25925. type: integer
  25926. - description: 协议类型 - 1:注册 2:登录 3:交易
  25927. in: query
  25928. name: agreementtype
  25929. type: integer
  25930. - description: 协议版本号
  25931. in: query
  25932. name: agreementversion
  25933. type: integer
  25934. - description: 协议编号(模糊匹配)
  25935. in: query
  25936. name: agreementno
  25937. type: string
  25938. - description: 协议名称(模糊匹配)
  25939. in: query
  25940. name: agreementname
  25941. type: string
  25942. produces:
  25943. - application/json
  25944. responses:
  25945. "200":
  25946. description: OK
  25947. schema:
  25948. items:
  25949. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  25950. type: array
  25951. "500":
  25952. description: Internal Server Error
  25953. schema:
  25954. $ref: '#/definitions/app.Response'
  25955. security:
  25956. - ApiKeyAuth: []
  25957. summary: 查询协议节点配置
  25958. tags:
  25959. - 大连千海金(协议和签约信息)
  25960. /QhjSys/QueryQhjCustomerSignLog:
  25961. get:
  25962. parameters:
  25963. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  25964. in: query
  25965. name: logid
  25966. type: integer
  25967. - description: 客户ID
  25968. in: query
  25969. name: userid
  25970. type: integer
  25971. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  25972. in: query
  25973. name: nodetype
  25974. type: integer
  25975. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25976. in: query
  25977. name: goodsid
  25978. type: integer
  25979. - description: 协议ID
  25980. in: query
  25981. name: agreementid
  25982. type: integer
  25983. - description: 用户名称(模糊匹配)
  25984. in: query
  25985. name: username
  25986. type: string
  25987. - description: 协议编号(模糊匹配)
  25988. in: query
  25989. name: agreementno
  25990. type: string
  25991. - description: 协议名称(模糊匹配)
  25992. in: query
  25993. name: agreementname
  25994. type: string
  25995. produces:
  25996. - application/json
  25997. responses:
  25998. "200":
  25999. description: OK
  26000. schema:
  26001. items:
  26002. $ref: '#/definitions/models.QhjCustomerSignLog'
  26003. type: array
  26004. "500":
  26005. description: Internal Server Error
  26006. schema:
  26007. $ref: '#/definitions/app.Response'
  26008. security:
  26009. - ApiKeyAuth: []
  26010. summary: 查询客户协议签约流水
  26011. tags:
  26012. - 大连千海金(协议和签约信息)
  26013. /QhjSys/QueryUserNodeCfgAndStatus:
  26014. get:
  26015. parameters:
  26016. - description: 客户ID
  26017. in: query
  26018. name: userid
  26019. type: integer
  26020. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  26021. in: query
  26022. name: configid
  26023. type: integer
  26024. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  26025. in: query
  26026. name: nodetype
  26027. type: string
  26028. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  26029. in: query
  26030. name: goodsid
  26031. type: integer
  26032. - description: 协议ID
  26033. in: query
  26034. name: agreementid
  26035. type: integer
  26036. - description: 协议类型 - 1:注册 2:登录 3:交易
  26037. in: query
  26038. name: agreementtype
  26039. type: integer
  26040. - description: 协议版本号
  26041. in: query
  26042. name: agreementversion
  26043. type: integer
  26044. - description: 协议编号(模糊匹配)
  26045. in: query
  26046. name: agreementno
  26047. type: string
  26048. - description: 协议名称(模糊匹配)
  26049. in: query
  26050. name: agreementname
  26051. type: string
  26052. produces:
  26053. - application/json
  26054. responses:
  26055. "200":
  26056. description: OK
  26057. schema:
  26058. items:
  26059. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  26060. type: array
  26061. "500":
  26062. description: Internal Server Error
  26063. schema:
  26064. $ref: '#/definitions/app.Response'
  26065. security:
  26066. - ApiKeyAuth: []
  26067. summary: 查询用户协议节点配置和状态
  26068. tags:
  26069. - 大连千海金(协议和签约信息)
  26070. /Quote/QueryHistoryDatas:
  26071. get:
  26072. parameters:
  26073. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  26074. 日线'
  26075. in: query
  26076. name: cycleType
  26077. required: true
  26078. type: integer
  26079. - description: 商品代码
  26080. in: query
  26081. name: goodsCode
  26082. required: true
  26083. type: string
  26084. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  26085. in: query
  26086. name: startTime
  26087. type: string
  26088. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  26089. in: query
  26090. name: endTime
  26091. type: string
  26092. - description: 条数
  26093. in: query
  26094. name: count
  26095. type: integer
  26096. - description: 是否按时间顺序排序(默认为时间倒序排序)
  26097. in: query
  26098. name: isAsc
  26099. type: boolean
  26100. produces:
  26101. - application/json
  26102. responses:
  26103. "200":
  26104. description: OK
  26105. schema:
  26106. $ref: '#/definitions/quote.HistoryData'
  26107. "500":
  26108. description: Internal Server Error
  26109. schema:
  26110. $ref: '#/definitions/app.Response'
  26111. security:
  26112. - ApiKeyAuth: []
  26113. summary: 查询行情历史数据
  26114. tags:
  26115. - 行情服务
  26116. /Quote/QueryHistoryTikDatas:
  26117. get:
  26118. parameters:
  26119. - description: 商品代码
  26120. in: query
  26121. name: goodsCode
  26122. required: true
  26123. type: string
  26124. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  26125. in: query
  26126. name: startTime
  26127. type: string
  26128. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  26129. in: query
  26130. name: endTime
  26131. type: string
  26132. - description: 条数
  26133. in: query
  26134. name: count
  26135. type: integer
  26136. - description: 是否按时间顺序排序(默认为时间倒序排序)
  26137. in: query
  26138. name: isAsc
  26139. type: boolean
  26140. produces:
  26141. - application/json
  26142. responses:
  26143. "200":
  26144. description: OK
  26145. schema:
  26146. $ref: '#/definitions/quote.HistoryTikData'
  26147. "500":
  26148. description: Internal Server Error
  26149. schema:
  26150. $ref: '#/definitions/app.Response'
  26151. security:
  26152. - ApiKeyAuth: []
  26153. summary: 查询行情Tik数据
  26154. tags:
  26155. - 行情服务
  26156. /Quote/QueryQuoteDay:
  26157. get:
  26158. parameters:
  26159. - description: 此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107
  26160. in: query
  26161. name: goodsCodes
  26162. type: string
  26163. produces:
  26164. - application/json
  26165. responses:
  26166. "200":
  26167. description: OK
  26168. schema:
  26169. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  26170. "500":
  26171. description: Internal Server Error
  26172. schema:
  26173. $ref: '#/definitions/app.Response'
  26174. security:
  26175. - ApiKeyAuth: []
  26176. summary: 获取商品盘面信息
  26177. tags:
  26178. - 行情服务
  26179. /Quote/QueryTSData:
  26180. get:
  26181. parameters:
  26182. - description: 商品代码
  26183. in: query
  26184. name: goodsCode
  26185. required: true
  26186. type: string
  26187. produces:
  26188. - application/json
  26189. responses:
  26190. "200":
  26191. description: OK
  26192. schema:
  26193. $ref: '#/definitions/quote.QueryTSDataRsp'
  26194. "500":
  26195. description: Internal Server Error
  26196. schema:
  26197. $ref: '#/definitions/app.Response'
  26198. security:
  26199. - ApiKeyAuth: []
  26200. summary: 分时图数据查询
  26201. tags:
  26202. - 行情服务
  26203. /SZDZ/QueryConvertConfig:
  26204. get:
  26205. parameters:
  26206. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  26207. 6:交易转花生米(不设置)
  26208. in: query
  26209. name: convertType
  26210. type: integer
  26211. - description: 外部商品代码[JD\PD]
  26212. in: query
  26213. name: outerGoodsCode
  26214. type: string
  26215. - description: 内部商品ID列表[交易],格式:1,2,3
  26216. in: query
  26217. name: innerGoodsIDs
  26218. type: string
  26219. produces:
  26220. - application/json
  26221. responses:
  26222. "200":
  26223. description: OK
  26224. schema:
  26225. $ref: '#/definitions/models.Szdz3convertconfig'
  26226. "500":
  26227. description: Internal Server Error
  26228. schema:
  26229. $ref: '#/definitions/app.Response'
  26230. security:
  26231. - ApiKeyAuth: []
  26232. summary: 查询交易系统转换设置
  26233. tags:
  26234. - 定制【尚志大宗】
  26235. /SZDZ/QueryConvertLog:
  26236. get:
  26237. parameters:
  26238. - description: 资金账户 - 格式:1,2,3
  26239. in: query
  26240. name: accountID
  26241. required: true
  26242. type: string
  26243. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  26244. in: query
  26245. name: startDate
  26246. type: string
  26247. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  26248. in: query
  26249. name: endDate
  26250. type: string
  26251. produces:
  26252. - application/json
  26253. responses:
  26254. "200":
  26255. description: OK
  26256. schema:
  26257. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  26258. "500":
  26259. description: Internal Server Error
  26260. schema:
  26261. $ref: '#/definitions/app.Response'
  26262. security:
  26263. - ApiKeyAuth: []
  26264. summary: 交易系统转换流水查询
  26265. tags:
  26266. - 定制【尚志大宗】
  26267. /SZDZ/QueryGoodsPickup:
  26268. get:
  26269. parameters:
  26270. - description: 资金账户 - 格式:1,2,3
  26271. in: query
  26272. name: accountID
  26273. required: true
  26274. type: string
  26275. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  26276. in: query
  26277. name: takeOrderStatus
  26278. type: integer
  26279. produces:
  26280. - application/json
  26281. responses:
  26282. "200":
  26283. description: OK
  26284. schema:
  26285. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  26286. "500":
  26287. description: Internal Server Error
  26288. schema:
  26289. $ref: '#/definitions/app.Response'
  26290. security:
  26291. - ApiKeyAuth: []
  26292. summary: 商品提货单查询
  26293. tags:
  26294. - 定制【尚志大宗】
  26295. /SZDZ/QueryRecieptOrder:
  26296. get:
  26297. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  26298. parameters:
  26299. - description: 页码
  26300. in: query
  26301. name: page
  26302. type: integer
  26303. - description: 每页条数
  26304. in: query
  26305. name: pagesize
  26306. type: integer
  26307. - description: 商品ID
  26308. in: query
  26309. name: goodsID
  26310. required: true
  26311. type: integer
  26312. - description: 所属账户名称
  26313. in: query
  26314. name: accountName
  26315. type: string
  26316. - description: 市场ID
  26317. in: query
  26318. name: marketID
  26319. type: integer
  26320. - description: 方向 - 0:买 1:卖
  26321. in: query
  26322. name: buyorsell
  26323. required: true
  26324. type: integer
  26325. produces:
  26326. - application/json
  26327. responses:
  26328. "200":
  26329. description: OK
  26330. schema:
  26331. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  26332. "500":
  26333. description: Internal Server Error
  26334. schema:
  26335. $ref: '#/definitions/app.Response'
  26336. security:
  26337. - ApiKeyAuth: []
  26338. summary: 点选挂牌委托单据查询(摘牌大厅)
  26339. tags:
  26340. - 定制【尚志大宗】
  26341. /SZDZ/QuerySZDZTradePosition:
  26342. get:
  26343. parameters:
  26344. - description: 资金账户
  26345. in: query
  26346. name: accountID
  26347. required: true
  26348. type: integer
  26349. produces:
  26350. - application/json
  26351. responses:
  26352. "200":
  26353. description: OK
  26354. schema:
  26355. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  26356. "500":
  26357. description: Internal Server Error
  26358. schema:
  26359. $ref: '#/definitions/app.Response'
  26360. security:
  26361. - ApiKeyAuth: []
  26362. summary: 持仓汇总查询(尚志大宗)
  26363. tags:
  26364. - 定制【尚志大宗】
  26365. /SZDZ/SearchWhite:
  26366. get:
  26367. parameters:
  26368. - description: 用户ID
  26369. in: query
  26370. name: userID
  26371. required: true
  26372. type: integer
  26373. produces:
  26374. - application/json
  26375. responses:
  26376. "200":
  26377. description: OK
  26378. schema:
  26379. $ref: '#/definitions/models.Szdz3searchwhitelist'
  26380. "500":
  26381. description: Internal Server Error
  26382. schema:
  26383. $ref: '#/definitions/app.Response'
  26384. security:
  26385. - ApiKeyAuth: []
  26386. summary: 搜索白名单
  26387. tags:
  26388. - 定制【尚志大宗】
  26389. /Search/SearchGoodses:
  26390. get:
  26391. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  26392. parameters:
  26393. - description: 检索内容
  26394. in: query
  26395. name: content
  26396. required: true
  26397. type: string
  26398. - description: 交易模式,格式:1,2,3
  26399. in: query
  26400. name: tradeModes
  26401. type: string
  26402. produces:
  26403. - application/json
  26404. responses:
  26405. "200":
  26406. description: OK
  26407. schema:
  26408. $ref: '#/definitions/models.SearchGoods'
  26409. "500":
  26410. description: Internal Server Error
  26411. schema:
  26412. $ref: '#/definitions/app.Response'
  26413. summary: 检索商品信息
  26414. tags:
  26415. - 检索服务
  26416. /TaAccount/GetTaAccounts:
  26417. get:
  26418. parameters:
  26419. - description: 登录账户
  26420. in: query
  26421. name: loginID
  26422. required: true
  26423. type: integer
  26424. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  26425. in: query
  26426. name: taAccountType
  26427. type: integer
  26428. produces:
  26429. - application/json
  26430. responses:
  26431. "200":
  26432. description: OK
  26433. schema:
  26434. $ref: '#/definitions/models.Taaccount'
  26435. "500":
  26436. description: Internal Server Error
  26437. schema:
  26438. $ref: '#/definitions/app.Response'
  26439. security:
  26440. - ApiKeyAuth: []
  26441. summary: 获取资金账户信息
  26442. tags:
  26443. - 资金账户
  26444. /TaAccount/QueryAmountLog:
  26445. get:
  26446. parameters:
  26447. - description: 页码
  26448. in: query
  26449. name: page
  26450. type: integer
  26451. - description: 每页条数
  26452. in: query
  26453. name: pagesize
  26454. type: integer
  26455. - description: 资金账户 - 格式:1,2,3
  26456. in: query
  26457. name: accountID
  26458. required: true
  26459. type: string
  26460. - description: 资金操作类型 - 格式:1,2,3
  26461. in: query
  26462. name: OperateType
  26463. type: string
  26464. produces:
  26465. - application/json
  26466. responses:
  26467. "200":
  26468. description: OK
  26469. schema:
  26470. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  26471. "500":
  26472. description: Internal Server Error
  26473. schema:
  26474. $ref: '#/definitions/app.Response'
  26475. security:
  26476. - ApiKeyAuth: []
  26477. summary: 资金流水查询(当前)
  26478. tags:
  26479. - 资金账户
  26480. /TaAccount/QueryHisAmountLog:
  26481. get:
  26482. parameters:
  26483. - description: 页码
  26484. in: query
  26485. name: page
  26486. type: integer
  26487. - description: 每页条数
  26488. in: query
  26489. name: pagesize
  26490. type: integer
  26491. - description: 资金账户 - 格式:1,2,3
  26492. in: query
  26493. name: accountID
  26494. required: true
  26495. type: string
  26496. - description: 资金操作类型 - 格式:1,2,3
  26497. in: query
  26498. name: OperateType
  26499. type: string
  26500. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  26501. in: query
  26502. name: startDate
  26503. type: string
  26504. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  26505. in: query
  26506. name: endDate
  26507. type: string
  26508. produces:
  26509. - application/json
  26510. responses:
  26511. "200":
  26512. description: OK
  26513. schema:
  26514. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  26515. "500":
  26516. description: Internal Server Error
  26517. schema:
  26518. $ref: '#/definitions/app.Response'
  26519. security:
  26520. - ApiKeyAuth: []
  26521. summary: 资金流水查询(历史)
  26522. tags:
  26523. - 资金账户
  26524. /Tjmd/QueryQuoteGoodsList:
  26525. get:
  26526. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  26527. parameters:
  26528. - description: 用户类型
  26529. in: query
  26530. name: usertype
  26531. required: true
  26532. type: integer
  26533. - description: 市场id, 格式 1,2,3
  26534. in: query
  26535. name: marketids
  26536. type: string
  26537. - description: 商品组id
  26538. in: query
  26539. name: goodsgroupid
  26540. type: integer
  26541. - description: 商品id
  26542. in: query
  26543. name: goodsid
  26544. type: integer
  26545. produces:
  26546. - application/json
  26547. responses:
  26548. "200":
  26549. description: OK
  26550. schema:
  26551. items:
  26552. $ref: '#/definitions/models.TjmdQuoteGoods'
  26553. type: array
  26554. "500":
  26555. description: Internal Server Error
  26556. schema:
  26557. $ref: '#/definitions/app.Response'
  26558. security:
  26559. - ApiKeyAuth: []
  26560. summary: 查询掉期报价列表
  26561. tags:
  26562. - 天津麦顿
  26563. /Tjmd/QueryTjmdMarketSection:
  26564. get:
  26565. produces:
  26566. - application/json
  26567. responses:
  26568. "200":
  26569. description: OK
  26570. schema:
  26571. items:
  26572. $ref: '#/definitions/models.TjmdMarketSection'
  26573. type: array
  26574. "500":
  26575. description: Internal Server Error
  26576. schema:
  26577. $ref: '#/definitions/app.Response'
  26578. security:
  26579. - ApiKeyAuth: []
  26580. summary: 查询市场板块
  26581. tags:
  26582. - 天津麦顿
  26583. /Tjmd/QueryTjmdTodayAccountMargin:
  26584. get:
  26585. parameters:
  26586. - description: 市场id
  26587. in: query
  26588. name: marketid
  26589. type: string
  26590. - description: 商品id
  26591. in: query
  26592. name: goodsid
  26593. type: string
  26594. - description: 资金账号
  26595. in: query
  26596. name: accountid
  26597. type: string
  26598. produces:
  26599. - application/json
  26600. responses:
  26601. "200":
  26602. description: OK
  26603. schema:
  26604. items:
  26605. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  26606. type: array
  26607. "500":
  26608. description: Internal Server Error
  26609. schema:
  26610. $ref: '#/definitions/app.Response'
  26611. security:
  26612. - ApiKeyAuth: []
  26613. summary: 查询今日账户保证金配置
  26614. tags:
  26615. - 天津麦顿
  26616. /Tjmd/QueryTjmdTradeOrderDetail:
  26617. get:
  26618. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  26619. parameters:
  26620. - description: 页码
  26621. in: query
  26622. name: page
  26623. type: integer
  26624. - description: 每页条数
  26625. in: query
  26626. name: pagesize
  26627. type: integer
  26628. - description: 用户id
  26629. in: query
  26630. name: userid
  26631. required: true
  26632. type: integer
  26633. - description: 用户类型
  26634. in: query
  26635. name: usertype
  26636. required: true
  26637. type: integer
  26638. - description: 市场id, 格式 1,2,3
  26639. in: query
  26640. name: marketids
  26641. type: string
  26642. - description: 商品id
  26643. in: query
  26644. name: goodsid
  26645. required: true
  26646. type: integer
  26647. - description: 买卖方向 0-买 1-卖
  26648. in: query
  26649. name: buyorsell
  26650. required: true
  26651. type: integer
  26652. produces:
  26653. - application/json
  26654. responses:
  26655. "200":
  26656. description: OK
  26657. schema:
  26658. items:
  26659. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  26660. type: array
  26661. "500":
  26662. description: Internal Server Error
  26663. schema:
  26664. $ref: '#/definitions/app.Response'
  26665. security:
  26666. - ApiKeyAuth: []
  26667. summary: 查询掉期买卖大厅
  26668. tags:
  26669. - 天津麦顿
  26670. /Tjmd/QueryTjmdTransferApply:
  26671. get:
  26672. parameters:
  26673. - description: 类型 1-我的申请 2-对方申请
  26674. in: query
  26675. name: applytype
  26676. required: true
  26677. type: integer
  26678. - description: 市场id, 格式 1,2,3
  26679. in: query
  26680. name: marketids
  26681. type: string
  26682. - description: 资金账号, 格式 25000000001,25000000003
  26683. in: query
  26684. name: accountids
  26685. type: string
  26686. - description: 开始交易日(yyyymmdd)
  26687. in: query
  26688. name: begindate
  26689. type: string
  26690. - description: 结束交易日(yyyymmdd)
  26691. in: query
  26692. name: enddate
  26693. type: string
  26694. produces:
  26695. - application/json
  26696. responses:
  26697. "200":
  26698. description: OK
  26699. schema:
  26700. items:
  26701. $ref: '#/definitions/models.TjmdTransferApply'
  26702. type: array
  26703. "500":
  26704. description: Internal Server Error
  26705. schema:
  26706. $ref: '#/definitions/app.Response'
  26707. security:
  26708. - ApiKeyAuth: []
  26709. summary: 查询掉期协议单
  26710. tags:
  26711. - 天津麦顿
  26712. /Trade/QueryRecieptOrder:
  26713. get:
  26714. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  26715. parameters:
  26716. - description: 页码
  26717. in: query
  26718. name: page
  26719. type: integer
  26720. - description: 每页条数
  26721. in: query
  26722. name: pagesize
  26723. type: integer
  26724. - description: 商品ID
  26725. in: query
  26726. name: goodsID
  26727. required: true
  26728. type: integer
  26729. - description: 所属账户名称
  26730. in: query
  26731. name: accountName
  26732. type: string
  26733. - description: 市场ID
  26734. in: query
  26735. name: marketID
  26736. type: integer
  26737. - description: 方向 - 0:买 1:卖
  26738. in: query
  26739. name: buyorsell
  26740. required: true
  26741. type: integer
  26742. produces:
  26743. - application/json
  26744. responses:
  26745. "200":
  26746. description: OK
  26747. schema:
  26748. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  26749. "500":
  26750. description: Internal Server Error
  26751. schema:
  26752. $ref: '#/definitions/app.Response'
  26753. security:
  26754. - ApiKeyAuth: []
  26755. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  26756. tags:
  26757. - 通用交易
  26758. /User/AddMessageBoard:
  26759. post:
  26760. parameters:
  26761. - description: 用户ID
  26762. in: query
  26763. name: userID
  26764. required: true
  26765. type: integer
  26766. - description: 留言信息
  26767. in: query
  26768. name: message
  26769. required: true
  26770. type: string
  26771. - description: 联系电话
  26772. in: query
  26773. name: contactNum
  26774. required: true
  26775. type: string
  26776. produces:
  26777. - application/json
  26778. responses:
  26779. "200":
  26780. description: OK
  26781. schema:
  26782. $ref: '#/definitions/app.Response'
  26783. "500":
  26784. description: Internal Server Error
  26785. schema:
  26786. $ref: '#/definitions/app.Response'
  26787. security:
  26788. - ApiKeyAuth: []
  26789. summary: 添加用户留言板信息
  26790. tags:
  26791. - 用户信息
  26792. /User/AddUserFavoriteGoods:
  26793. post:
  26794. parameters:
  26795. - description: 用户ID
  26796. in: query
  26797. name: userID
  26798. required: true
  26799. type: integer
  26800. - description: 商品ID
  26801. in: query
  26802. name: goodsID
  26803. required: true
  26804. type: integer
  26805. produces:
  26806. - application/json
  26807. responses:
  26808. "200":
  26809. description: OK
  26810. schema:
  26811. $ref: '#/definitions/app.Response'
  26812. "500":
  26813. description: Internal Server Error
  26814. schema:
  26815. $ref: '#/definitions/app.Response'
  26816. security:
  26817. - ApiKeyAuth: []
  26818. summary: 添加用户商品收藏信息
  26819. tags:
  26820. - 用户信息
  26821. /User/GetLoginID:
  26822. get:
  26823. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  26824. parameters:
  26825. - description: 登录代码
  26826. in: query
  26827. name: username
  26828. required: true
  26829. type: string
  26830. produces:
  26831. - application/json
  26832. responses:
  26833. "200":
  26834. description: OK
  26835. schema:
  26836. $ref: '#/definitions/app.Response'
  26837. "500":
  26838. description: Internal Server Error
  26839. schema:
  26840. $ref: '#/definitions/app.Response'
  26841. summary: 获取登录ID
  26842. tags:
  26843. - 用户信息
  26844. /User/GetUserAccount:
  26845. get:
  26846. parameters:
  26847. - description: 用户ID
  26848. in: query
  26849. name: userID
  26850. required: true
  26851. type: integer
  26852. produces:
  26853. - application/json
  26854. responses:
  26855. "200":
  26856. description: OK
  26857. schema:
  26858. $ref: '#/definitions/models.Useraccount'
  26859. "500":
  26860. description: Internal Server Error
  26861. schema:
  26862. $ref: '#/definitions/app.Response'
  26863. security:
  26864. - ApiKeyAuth: []
  26865. summary: 获取用户账号信息
  26866. tags:
  26867. - 用户信息
  26868. /User/GetUserAuthStatus:
  26869. get:
  26870. parameters:
  26871. - description: 用户ID
  26872. in: query
  26873. name: userID
  26874. required: true
  26875. type: integer
  26876. produces:
  26877. - application/json
  26878. responses:
  26879. "200":
  26880. description: OK
  26881. schema:
  26882. $ref: '#/definitions/app.Response'
  26883. "500":
  26884. description: Internal Server Error
  26885. schema:
  26886. $ref: '#/definitions/app.Response'
  26887. security:
  26888. - ApiKeyAuth: []
  26889. summary: 获取用户实名认证状态
  26890. tags:
  26891. - 用户信息
  26892. /User/LoginQuery:
  26893. get:
  26894. parameters:
  26895. - description: 登录账号
  26896. in: query
  26897. name: loginID
  26898. required: true
  26899. type: integer
  26900. produces:
  26901. - application/json
  26902. responses:
  26903. "200":
  26904. description: OK
  26905. schema:
  26906. $ref: '#/definitions/user.LoginQueryRsp'
  26907. "500":
  26908. description: Internal Server Error
  26909. schema:
  26910. $ref: '#/definitions/app.Response'
  26911. security:
  26912. - ApiKeyAuth: []
  26913. summary: 账户登录后信息查询
  26914. tags:
  26915. - 用户信息
  26916. /User/QueryMessageBoard:
  26917. get:
  26918. parameters:
  26919. - description: 用户ID
  26920. in: query
  26921. name: userID
  26922. required: true
  26923. type: integer
  26924. produces:
  26925. - application/json
  26926. responses:
  26927. "200":
  26928. description: OK
  26929. schema:
  26930. $ref: '#/definitions/models.Messageboard'
  26931. "500":
  26932. description: Internal Server Error
  26933. schema:
  26934. $ref: '#/definitions/app.Response'
  26935. security:
  26936. - ApiKeyAuth: []
  26937. summary: 获取用户留言板信息
  26938. tags:
  26939. - 用户信息
  26940. /User/QueryUserFavoriteGoodses:
  26941. get:
  26942. parameters:
  26943. - description: 用户ID
  26944. in: query
  26945. name: userID
  26946. required: true
  26947. type: integer
  26948. produces:
  26949. - application/json
  26950. responses:
  26951. "200":
  26952. description: OK
  26953. schema:
  26954. $ref: '#/definitions/models.Userfavoritegoods'
  26955. "500":
  26956. description: Internal Server Error
  26957. schema:
  26958. $ref: '#/definitions/app.Response'
  26959. security:
  26960. - ApiKeyAuth: []
  26961. summary: 获取用户商品收藏信息
  26962. tags:
  26963. - 用户信息
  26964. /User/QueryUserInfo:
  26965. get:
  26966. parameters:
  26967. - description: 用户ID
  26968. in: query
  26969. name: userID
  26970. required: true
  26971. type: integer
  26972. - description: 是否解密
  26973. in: query
  26974. name: isDecrypt
  26975. type: boolean
  26976. produces:
  26977. - application/json
  26978. responses:
  26979. "200":
  26980. description: OK
  26981. schema:
  26982. $ref: '#/definitions/models.Userinfo'
  26983. "500":
  26984. description: Internal Server Error
  26985. schema:
  26986. $ref: '#/definitions/app.Response'
  26987. security:
  26988. - ApiKeyAuth: []
  26989. summary: 获取用户信息
  26990. tags:
  26991. - 用户信息
  26992. /User/QueryUserReferNum:
  26993. get:
  26994. parameters:
  26995. - description: 用户ID
  26996. in: query
  26997. name: userID
  26998. required: true
  26999. type: integer
  27000. produces:
  27001. - application/json
  27002. responses:
  27003. "200":
  27004. description: OK
  27005. schema:
  27006. $ref: '#/definitions/app.Response'
  27007. "500":
  27008. description: Internal Server Error
  27009. schema:
  27010. $ref: '#/definitions/app.Response'
  27011. summary: 获取用户邀请码
  27012. tags:
  27013. - 用户信息
  27014. /User/RemoveUserFavoriteGoods:
  27015. post:
  27016. parameters:
  27017. - description: 用户ID
  27018. in: query
  27019. name: userID
  27020. required: true
  27021. type: integer
  27022. - description: 商品ID
  27023. in: query
  27024. name: goodsID
  27025. required: true
  27026. type: integer
  27027. produces:
  27028. - application/json
  27029. responses:
  27030. "200":
  27031. description: OK
  27032. schema:
  27033. $ref: '#/definitions/app.Response'
  27034. "500":
  27035. description: Internal Server Error
  27036. schema:
  27037. $ref: '#/definitions/app.Response'
  27038. security:
  27039. - ApiKeyAuth: []
  27040. summary: 移除用户商品收藏信息
  27041. tags:
  27042. - 用户信息
  27043. /User/UpdateUserAccountStatus:
  27044. post:
  27045. parameters:
  27046. - description: 用户ID
  27047. in: query
  27048. name: userID
  27049. required: true
  27050. type: integer
  27051. - description: 账户状态 - 4:正常 6:注销(停用)
  27052. in: query
  27053. name: accountStatus
  27054. required: true
  27055. type: integer
  27056. produces:
  27057. - application/json
  27058. responses:
  27059. "200":
  27060. description: OK
  27061. schema:
  27062. $ref: '#/definitions/app.Response'
  27063. "500":
  27064. description: Internal Server Error
  27065. schema:
  27066. $ref: '#/definitions/app.Response'
  27067. security:
  27068. - ApiKeyAuth: []
  27069. summary: 更新用户状态
  27070. tags:
  27071. - 用户信息
  27072. /WRTrade/GetAllDeliveryGoods:
  27073. get:
  27074. produces:
  27075. - application/json
  27076. responses:
  27077. "200":
  27078. description: OK
  27079. schema:
  27080. $ref: '#/definitions/app.Response'
  27081. "500":
  27082. description: Internal Server Error
  27083. schema:
  27084. $ref: '#/definitions/app.Response'
  27085. security:
  27086. - ApiKeyAuth: []
  27087. summary: 获取带仓单分类的种类信息
  27088. tags:
  27089. - 仓单贸易
  27090. - 仓单贸易
  27091. /WrTrade2/QueryDeliveryGoodsSection:
  27092. get:
  27093. produces:
  27094. - application/json
  27095. responses:
  27096. "200":
  27097. description: OK
  27098. schema:
  27099. items:
  27100. $ref: '#/definitions/models.WrDeliveryGoodsSection'
  27101. type: array
  27102. "500":
  27103. description: Internal Server Error
  27104. schema:
  27105. $ref: '#/definitions/app.Response'
  27106. security:
  27107. - ApiKeyAuth: []
  27108. summary: 查询板块(分类)
  27109. tags:
  27110. - 仓单贸易v2
  27111. /WrTrade2/QueryFaProductDetail:
  27112. get:
  27113. description: 页面 买卖大厅 -> 选择融资方案
  27114. parameters:
  27115. - description: 仓单要素id
  27116. in: query
  27117. name: wrfactortypeid
  27118. required: true
  27119. type: integer
  27120. produces:
  27121. - application/json
  27122. responses:
  27123. "200":
  27124. description: OK
  27125. schema:
  27126. items:
  27127. $ref: '#/definitions/models.WrFAProductDetail'
  27128. type: array
  27129. "500":
  27130. description: Internal Server Error
  27131. schema:
  27132. $ref: '#/definitions/app.Response'
  27133. security:
  27134. - ApiKeyAuth: []
  27135. summary: 查询融资产品列表
  27136. tags:
  27137. - 仓单贸易v2
  27138. /WrTrade2/QueryFilterItem:
  27139. get:
  27140. parameters:
  27141. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  27142. in: query
  27143. name: itype
  27144. required: true
  27145. type: string
  27146. produces:
  27147. - application/json
  27148. responses:
  27149. "200":
  27150. description: OK
  27151. schema:
  27152. items:
  27153. $ref: '#/definitions/models.WrFilterItem'
  27154. type: array
  27155. "500":
  27156. description: Internal Server Error
  27157. schema:
  27158. $ref: '#/definitions/app.Response'
  27159. security:
  27160. - ApiKeyAuth: []
  27161. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  27162. tags:
  27163. - 仓单贸易v2
  27164. /WrTrade2/QueryFtDeliveryGoods:
  27165. get:
  27166. produces:
  27167. - application/json
  27168. responses:
  27169. "200":
  27170. description: OK
  27171. schema:
  27172. items:
  27173. $ref: '#/definitions/models.WrFtDeliveryGoods'
  27174. type: array
  27175. "500":
  27176. description: Internal Server Error
  27177. schema:
  27178. $ref: '#/definitions/app.Response'
  27179. security:
  27180. - ApiKeyAuth: []
  27181. summary: 查询品种品类筛选框列表
  27182. tags:
  27183. - 仓单贸易v2
  27184. /WrTrade2/QueryHoldLB:
  27185. get:
  27186. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  27187. parameters:
  27188. - description: 资金账号
  27189. in: query
  27190. name: accountid
  27191. required: true
  27192. type: integer
  27193. - description: 仓库id
  27194. in: query
  27195. name: warehouseid
  27196. type: integer
  27197. - description: 品种id
  27198. in: query
  27199. name: deliverygoodsid
  27200. type: integer
  27201. - description: 品类id
  27202. in: query
  27203. name: wrstandardid
  27204. type: integer
  27205. - description: 仓单要素id
  27206. in: query
  27207. name: wrfactortypeid
  27208. type: integer
  27209. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  27210. in: query
  27211. name: dgitemname
  27212. type: string
  27213. produces:
  27214. - application/json
  27215. responses:
  27216. "200":
  27217. description: OK
  27218. schema:
  27219. items:
  27220. $ref: '#/definitions/models.WrHoldLB'
  27221. type: array
  27222. "500":
  27223. description: Internal Server Error
  27224. schema:
  27225. $ref: '#/definitions/app.Response'
  27226. security:
  27227. - ApiKeyAuth: []
  27228. summary: 查询仓单持有记录
  27229. tags:
  27230. - 仓单贸易v2
  27231. /WrTrade2/QueryOrderQuote:
  27232. get:
  27233. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  27234. 唯一确定1条记录
  27235. parameters:
  27236. - description: 页码
  27237. in: query
  27238. name: page
  27239. type: integer
  27240. - description: 每页条数
  27241. in: query
  27242. name: pagesize
  27243. type: integer
  27244. - description: 仓单贸易市场id
  27245. in: query
  27246. name: marketid
  27247. type: integer
  27248. - description: 价格方式 - 1:固定价 2-浮动价
  27249. in: query
  27250. name: wrpricetype
  27251. required: true
  27252. type: integer
  27253. - description: 0:仓单预售 1:仓单贸易
  27254. in: query
  27255. name: haswr
  27256. type: integer
  27257. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  27258. in: query
  27259. name: dgitemname
  27260. type: string
  27261. - description: 仓库id(筛选条件)
  27262. in: query
  27263. name: warehouseid
  27264. type: integer
  27265. - description: 品种id
  27266. in: query
  27267. name: deliverygoodsid
  27268. type: integer
  27269. - description: 品类id
  27270. in: query
  27271. name: wrstandardid
  27272. type: integer
  27273. - description: 仓单要素id
  27274. in: query
  27275. name: wrfactortypeid
  27276. type: integer
  27277. - description: 交收月(yyyy-mm) 仓单预售填写
  27278. in: query
  27279. name: deliverymonth
  27280. type: string
  27281. produces:
  27282. - application/json
  27283. responses:
  27284. "200":
  27285. description: OK
  27286. schema:
  27287. items:
  27288. $ref: '#/definitions/models.WrOrderQuote'
  27289. type: array
  27290. "500":
  27291. description: Internal Server Error
  27292. schema:
  27293. $ref: '#/definitions/app.Response'
  27294. security:
  27295. - ApiKeyAuth: []
  27296. summary: 查询大厅行情列表
  27297. tags:
  27298. - 仓单贸易v2
  27299. /WrTrade2/QueryOrderQuoteDetail:
  27300. get:
  27301. parameters:
  27302. - description: 页码
  27303. in: query
  27304. name: page
  27305. type: integer
  27306. - description: 每页条数
  27307. in: query
  27308. name: pagesize
  27309. type: integer
  27310. - description: 仓单贸易市场id
  27311. in: query
  27312. name: marketid
  27313. type: integer
  27314. - description: 价格方式 - 1:固定价 2-浮动价
  27315. in: query
  27316. name: wrpricetype
  27317. required: true
  27318. type: integer
  27319. - description: 0:仓单预售 1:仓单贸易
  27320. in: query
  27321. name: haswr
  27322. type: integer
  27323. - description: 仓单要素id
  27324. in: query
  27325. name: wrfactortypeid
  27326. required: true
  27327. type: integer
  27328. - description: 期货商品id(浮动价方式时填)
  27329. in: query
  27330. name: goodsid
  27331. type: integer
  27332. - description: 买卖方向 0-买 1-卖
  27333. in: query
  27334. name: buyorsell
  27335. required: true
  27336. type: integer
  27337. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  27338. in: query
  27339. name: deliverymonth
  27340. type: string
  27341. produces:
  27342. - application/json
  27343. responses:
  27344. "200":
  27345. description: OK
  27346. schema:
  27347. items:
  27348. $ref: '#/definitions/models.WrOrderQuoteDetail'
  27349. type: array
  27350. "500":
  27351. description: Internal Server Error
  27352. schema:
  27353. $ref: '#/definitions/app.Response'
  27354. security:
  27355. - ApiKeyAuth: []
  27356. summary: 查询买卖大厅
  27357. tags:
  27358. - 仓单贸易v2
  27359. /WrTrade2/QueryOrderQuoteMyq:
  27360. get:
  27361. parameters:
  27362. - description: 页码
  27363. in: query
  27364. name: page
  27365. type: integer
  27366. - description: 每页条数
  27367. in: query
  27368. name: pagesize
  27369. type: integer
  27370. - description: 用户id
  27371. in: query
  27372. name: userid
  27373. required: true
  27374. type: integer
  27375. - description: 仓单贸易市场id
  27376. in: query
  27377. name: marketid
  27378. type: integer
  27379. - description: 0:仓单预售 1:仓单贸易
  27380. in: query
  27381. name: haswr
  27382. type: integer
  27383. - description: 买卖方向 0-买 1-卖
  27384. in: query
  27385. name: buyorsell
  27386. required: true
  27387. type: integer
  27388. - description: 品种id
  27389. in: query
  27390. name: deliverygoodsid
  27391. type: integer
  27392. - description: 品类id
  27393. in: query
  27394. name: wrstandardid
  27395. type: integer
  27396. - description: 交收月(yyyy-mm) 仓单预售填写
  27397. in: query
  27398. name: deliverymonth
  27399. type: string
  27400. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  27401. in: query
  27402. name: dgitemname
  27403. type: string
  27404. produces:
  27405. - application/json
  27406. responses:
  27407. "200":
  27408. description: OK
  27409. schema:
  27410. items:
  27411. $ref: '#/definitions/models.WrQuoteOrderMyq'
  27412. type: array
  27413. "500":
  27414. description: Internal Server Error
  27415. schema:
  27416. $ref: '#/definitions/app.Response'
  27417. security:
  27418. - ApiKeyAuth: []
  27419. summary: 查询贸易圈挂牌大厅
  27420. tags:
  27421. - 仓单贸易v2
  27422. /WrTrade2/QueryPerformancePlan:
  27423. get:
  27424. parameters:
  27425. - description: 用户id
  27426. in: query
  27427. name: userid
  27428. required: true
  27429. type: integer
  27430. - description: 买卖方向 0-买 1-卖
  27431. in: query
  27432. name: buyorsell
  27433. required: true
  27434. type: integer
  27435. - description: 履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成
  27436. 8:释放冻结失败 9:超时待处理 10:超时关闭
  27437. in: query
  27438. name: status
  27439. type: string
  27440. - description: 开始交易日(yyyymmdd)
  27441. in: query
  27442. name: begindate
  27443. type: string
  27444. - description: 结束交易日(yyyymmdd)
  27445. in: query
  27446. name: enddate
  27447. type: string
  27448. produces:
  27449. - application/json
  27450. responses:
  27451. "200":
  27452. description: OK
  27453. schema:
  27454. items:
  27455. $ref: '#/definitions/models.WrPerformancePlan'
  27456. type: array
  27457. "500":
  27458. description: Internal Server Error
  27459. schema:
  27460. $ref: '#/definitions/app.Response'
  27461. security:
  27462. - ApiKeyAuth: []
  27463. summary: 查询履约信息
  27464. tags:
  27465. - 仓单贸易v2
  27466. /WrTrade2/QueryPermancePlanTmp:
  27467. get:
  27468. description: |-
  27469. 返回指定用户的模板和公共模板(用户id为空)
  27470. 注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段
  27471. parameters:
  27472. - description: 用户id
  27473. in: query
  27474. name: userid
  27475. type: integer
  27476. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  27477. (无仓单) 5:挂牌期权 6:竞拍-降价式
  27478. in: query
  27479. name: tmptype
  27480. type: string
  27481. - description: 是否包含公共模板(用户id为空的) 1-包含
  27482. in: query
  27483. name: includepub
  27484. type: integer
  27485. - description: 市场id(天津麦顿指定此参数,其它不用)
  27486. in: query
  27487. name: marketid
  27488. type: integer
  27489. produces:
  27490. - application/json
  27491. responses:
  27492. "200":
  27493. description: OK
  27494. schema:
  27495. items:
  27496. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  27497. type: array
  27498. "500":
  27499. description: Internal Server Error
  27500. schema:
  27501. $ref: '#/definitions/app.Response'
  27502. security:
  27503. - ApiKeyAuth: []
  27504. summary: 查询履约模板
  27505. tags:
  27506. - 仓单贸易v2
  27507. /WrTrade2/QuerySiteColumnDetail:
  27508. get:
  27509. parameters:
  27510. - description: 页码
  27511. in: query
  27512. name: page
  27513. type: integer
  27514. - description: 每页条数
  27515. in: query
  27516. name: pagesize
  27517. type: integer
  27518. - description: 所属栏目id
  27519. in: query
  27520. name: columnid
  27521. type: integer
  27522. produces:
  27523. - application/json
  27524. responses:
  27525. "200":
  27526. description: OK
  27527. schema:
  27528. items:
  27529. $ref: '#/definitions/models.WrSiteColumnDetail'
  27530. type: array
  27531. "500":
  27532. description: Internal Server Error
  27533. schema:
  27534. $ref: '#/definitions/app.Response'
  27535. security:
  27536. - ApiKeyAuth: []
  27537. summary: 查询资讯
  27538. tags:
  27539. - 仓单贸易v2
  27540. /WrTrade2/QuerySpotGroupTradeSum:
  27541. get:
  27542. produces:
  27543. - application/json
  27544. responses:
  27545. "200":
  27546. description: OK
  27547. schema:
  27548. items:
  27549. $ref: '#/definitions/models.WrSpotGroupTradeSumEx'
  27550. type: array
  27551. "500":
  27552. description: Internal Server Error
  27553. schema:
  27554. $ref: '#/definitions/app.Response'
  27555. security:
  27556. - ApiKeyAuth: []
  27557. summary: 查询指数
  27558. tags:
  27559. - 仓单贸易v2
  27560. /WrTrade2/QuerySpotGroupTradeSumDetail:
  27561. get:
  27562. description: 查询的结果将会按日期 从小到大 排序
  27563. parameters:
  27564. - description: 现货商品id
  27565. in: query
  27566. name: deliverygoodsid
  27567. required: true
  27568. type: integer
  27569. - description: 查询最新多少条记录(如不填写此项, 默认查30条)
  27570. in: query
  27571. name: lastnum
  27572. type: integer
  27573. produces:
  27574. - application/json
  27575. responses:
  27576. "200":
  27577. description: OK
  27578. schema:
  27579. items:
  27580. $ref: '#/definitions/models.WrSpotGroupTradeSumDetail'
  27581. type: array
  27582. "500":
  27583. description: Internal Server Error
  27584. schema:
  27585. $ref: '#/definitions/app.Response'
  27586. security:
  27587. - ApiKeyAuth: []
  27588. summary: 查询指数详细(价格走势图)
  27589. tags:
  27590. - 仓单贸易v2
  27591. /WrTrade2/QueryWrAverageTradePrice:
  27592. get:
  27593. parameters:
  27594. - description: 页码
  27595. in: query
  27596. name: page
  27597. type: integer
  27598. - description: 每页条数
  27599. in: query
  27600. name: pagesize
  27601. type: integer
  27602. - description: 0:仓单预售 1:仓单贸易
  27603. in: query
  27604. name: haswr
  27605. required: true
  27606. type: integer
  27607. - description: 仓单要素id
  27608. in: query
  27609. name: wrfactortypeid
  27610. required: true
  27611. type: integer
  27612. produces:
  27613. - application/json
  27614. responses:
  27615. "200":
  27616. description: OK
  27617. schema:
  27618. items:
  27619. $ref: '#/definitions/models.WrAverageTradePrice'
  27620. type: array
  27621. "500":
  27622. description: Internal Server Error
  27623. schema:
  27624. $ref: '#/definitions/app.Response'
  27625. security:
  27626. - ApiKeyAuth: []
  27627. summary: 查询成交价(历史走势)
  27628. tags:
  27629. - 仓单贸易v2
  27630. /WrTrade2/QueryWrBsGoodsInfo:
  27631. get:
  27632. description: 合约交易/买卖大厅/详情
  27633. parameters:
  27634. - description: 商品id
  27635. in: query
  27636. name: goodsid
  27637. required: true
  27638. type: integer
  27639. produces:
  27640. - application/json
  27641. responses:
  27642. "200":
  27643. description: OK
  27644. schema:
  27645. items:
  27646. $ref: '#/definitions/models.WrBsGoodsInfo'
  27647. type: array
  27648. "500":
  27649. description: Internal Server Error
  27650. schema:
  27651. $ref: '#/definitions/app.Response'
  27652. security:
  27653. - ApiKeyAuth: []
  27654. summary: 查询合约交易买卖大厅详情
  27655. tags:
  27656. - 仓单贸易v2
  27657. /WrTrade2/QueryWrBuybackDetail:
  27658. get:
  27659. parameters:
  27660. - description: 融资合同id
  27661. in: query
  27662. name: scfcontractid
  27663. type: integer
  27664. produces:
  27665. - application/json
  27666. responses:
  27667. "200":
  27668. description: OK
  27669. schema:
  27670. items:
  27671. $ref: '#/definitions/models.WrBuybackDetail'
  27672. type: array
  27673. "500":
  27674. description: Internal Server Error
  27675. schema:
  27676. $ref: '#/definitions/app.Response'
  27677. security:
  27678. - ApiKeyAuth: []
  27679. summary: 查询仓单回购明细
  27680. tags:
  27681. - 仓单贸易v2
  27682. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  27683. get:
  27684. parameters:
  27685. - description: 资金账号
  27686. in: query
  27687. name: accountid
  27688. required: true
  27689. type: integer
  27690. - description: 商品id
  27691. in: query
  27692. name: goodsid
  27693. required: true
  27694. type: integer
  27695. produces:
  27696. - application/json
  27697. responses:
  27698. "200":
  27699. description: OK
  27700. schema:
  27701. items:
  27702. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  27703. type: array
  27704. "500":
  27705. description: Internal Server Error
  27706. schema:
  27707. $ref: '#/definitions/app.Response'
  27708. security:
  27709. - ApiKeyAuth: []
  27710. summary: 查询合约交收可点选仓单
  27711. tags:
  27712. - 仓单贸易v2
  27713. /WrTrade2/QueryWrDeliveryDetail:
  27714. get:
  27715. parameters:
  27716. - description: 用户id
  27717. in: query
  27718. name: userid
  27719. required: true
  27720. type: integer
  27721. - description: 资金账号id
  27722. in: query
  27723. name: accountid
  27724. type: integer
  27725. - description: 开始交易日(yyyymmdd)
  27726. in: query
  27727. name: begindate
  27728. type: string
  27729. - description: 结束交易日(yyyymmdd)
  27730. in: query
  27731. name: enddate
  27732. type: string
  27733. produces:
  27734. - application/json
  27735. responses:
  27736. "200":
  27737. description: OK
  27738. schema:
  27739. items:
  27740. $ref: '#/definitions/models.WrDeliveryDetail'
  27741. type: array
  27742. "500":
  27743. description: Internal Server Error
  27744. schema:
  27745. $ref: '#/definitions/app.Response'
  27746. security:
  27747. - ApiKeyAuth: []
  27748. summary: 查询交收
  27749. tags:
  27750. - 仓单贸易v2
  27751. /WrTrade2/QueryWrFactorTypeInfo:
  27752. get:
  27753. parameters:
  27754. - description: 仓单要素id
  27755. in: query
  27756. name: wrfactortypeid
  27757. required: true
  27758. type: integer
  27759. produces:
  27760. - application/json
  27761. responses:
  27762. "200":
  27763. description: OK
  27764. schema:
  27765. items:
  27766. $ref: '#/definitions/models.WrFactorTypeInfo'
  27767. type: array
  27768. "500":
  27769. description: Internal Server Error
  27770. schema:
  27771. $ref: '#/definitions/app.Response'
  27772. security:
  27773. - ApiKeyAuth: []
  27774. summary: 查询仓单要素详细信息
  27775. tags:
  27776. - 仓单贸易v2
  27777. /WrTrade2/QueryWrFactorTypeInfoEx:
  27778. get:
  27779. parameters:
  27780. - description: 仓单要素id
  27781. in: query
  27782. name: wrfactortypeid
  27783. required: true
  27784. type: integer
  27785. produces:
  27786. - application/json
  27787. responses:
  27788. "200":
  27789. description: OK
  27790. schema:
  27791. items:
  27792. $ref: '#/definitions/models.WrTypeItem'
  27793. type: array
  27794. "500":
  27795. description: Internal Server Error
  27796. schema:
  27797. $ref: '#/definitions/app.Response'
  27798. security:
  27799. - ApiKeyAuth: []
  27800. summary: 查询仓单要素详细信息列表项
  27801. tags:
  27802. - 仓单贸易v2
  27803. /WrTrade2/QueryWrFinanceBuyApply:
  27804. get:
  27805. description: 页面 融资信息+ / 申请单
  27806. parameters:
  27807. - description: 用户id
  27808. in: query
  27809. name: userid
  27810. required: true
  27811. type: integer
  27812. produces:
  27813. - application/json
  27814. responses:
  27815. "200":
  27816. description: OK
  27817. schema:
  27818. items:
  27819. $ref: '#/definitions/models.WrFinanceBuyApply'
  27820. type: array
  27821. "500":
  27822. description: Internal Server Error
  27823. schema:
  27824. $ref: '#/definitions/app.Response'
  27825. security:
  27826. - ApiKeyAuth: []
  27827. summary: 查询融资购买申请
  27828. tags:
  27829. - 仓单贸易v2
  27830. /WrTrade2/QueryWrFriendApply:
  27831. get:
  27832. parameters:
  27833. - description: 用户id
  27834. in: query
  27835. name: userid
  27836. required: true
  27837. type: integer
  27838. produces:
  27839. - application/json
  27840. responses:
  27841. "200":
  27842. description: OK
  27843. schema:
  27844. items:
  27845. $ref: '#/definitions/models.WrFriendApply'
  27846. type: array
  27847. "500":
  27848. description: Internal Server Error
  27849. schema:
  27850. $ref: '#/definitions/app.Response'
  27851. security:
  27852. - ApiKeyAuth: []
  27853. summary: 查询好友申请记录
  27854. tags:
  27855. - 仓单贸易v2
  27856. /WrTrade2/QueryWrGoodsInfo:
  27857. get:
  27858. parameters:
  27859. - description: 仓单贸易市场id
  27860. in: query
  27861. name: marketid
  27862. type: integer
  27863. - description: 0:仓单预售 1:仓单贸易
  27864. in: query
  27865. name: haswr
  27866. required: true
  27867. type: integer
  27868. - description: 仓单要素id
  27869. in: query
  27870. name: wrfactortypeid
  27871. required: true
  27872. type: integer
  27873. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  27874. in: query
  27875. name: tmplateid
  27876. type: integer
  27877. produces:
  27878. - application/json
  27879. responses:
  27880. "200":
  27881. description: OK
  27882. schema:
  27883. items:
  27884. $ref: '#/definitions/models.WrGoodsInfo'
  27885. type: array
  27886. "500":
  27887. description: Internal Server Error
  27888. schema:
  27889. $ref: '#/definitions/app.Response'
  27890. security:
  27891. - ApiKeyAuth: []
  27892. summary: 查询仓单商品信息
  27893. tags:
  27894. - 仓单贸易v2
  27895. /WrTrade2/QueryWrMarketTradeConfig:
  27896. get:
  27897. parameters:
  27898. - description: 市场id
  27899. in: query
  27900. name: marketid
  27901. type: integer
  27902. produces:
  27903. - application/json
  27904. responses:
  27905. "200":
  27906. description: OK
  27907. schema:
  27908. items:
  27909. $ref: '#/definitions/models.WrMarketTradeConfig'
  27910. type: array
  27911. "500":
  27912. description: Internal Server Error
  27913. schema:
  27914. $ref: '#/definitions/app.Response'
  27915. security:
  27916. - ApiKeyAuth: []
  27917. summary: 查询市场交易参数配置
  27918. tags:
  27919. - 仓单贸易v2
  27920. /WrTrade2/QueryWrOrderDetail:
  27921. get:
  27922. description: 页面 现货仓单 | 预售仓单 -> 挂单
  27923. parameters:
  27924. - description: 页码
  27925. in: query
  27926. name: page
  27927. type: integer
  27928. - description: 每页条数
  27929. in: query
  27930. name: pagesize
  27931. type: integer
  27932. - description: 用户id
  27933. in: query
  27934. name: userid
  27935. required: true
  27936. type: integer
  27937. - description: 仓单贸易市场id
  27938. in: query
  27939. name: marketid
  27940. type: integer
  27941. - description: 0:仓单预售 1:仓单贸易
  27942. in: query
  27943. name: haswr
  27944. required: true
  27945. type: integer
  27946. - description: 是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场
  27947. in: query
  27948. name: bcancel
  27949. type: integer
  27950. - description: 开始交易日(yyyymmdd)
  27951. in: query
  27952. name: begindate
  27953. type: string
  27954. - description: 结束交易日(yyyymmdd)
  27955. in: query
  27956. name: enddate
  27957. type: string
  27958. produces:
  27959. - application/json
  27960. responses:
  27961. "200":
  27962. description: OK
  27963. schema:
  27964. items:
  27965. $ref: '#/definitions/models.WrOrderDetail'
  27966. type: array
  27967. "500":
  27968. description: Internal Server Error
  27969. schema:
  27970. $ref: '#/definitions/app.Response'
  27971. security:
  27972. - ApiKeyAuth: []
  27973. summary: 查询仓单委托单(挂单)
  27974. tags:
  27975. - 仓单贸易v2
  27976. /WrTrade2/QueryWrOutInApply:
  27977. get:
  27978. parameters:
  27979. - description: 用户id
  27980. in: query
  27981. name: userid
  27982. required: true
  27983. type: integer
  27984. - description: 开始交易日(yyyymmdd)
  27985. in: query
  27986. name: begindate
  27987. type: string
  27988. - description: 结束交易日(yyyymmdd)
  27989. in: query
  27990. name: enddate
  27991. type: string
  27992. produces:
  27993. - application/json
  27994. responses:
  27995. "200":
  27996. description: OK
  27997. schema:
  27998. items:
  27999. $ref: '#/definitions/models.WrOutInApply'
  28000. type: array
  28001. "500":
  28002. description: Internal Server Error
  28003. schema:
  28004. $ref: '#/definitions/app.Response'
  28005. security:
  28006. - ApiKeyAuth: []
  28007. summary: 查询提货申请
  28008. tags:
  28009. - 仓单贸易v2
  28010. /WrTrade2/QueryWrPerformancePlanStep:
  28011. get:
  28012. parameters:
  28013. - description: 履约计划id(performanceplanid)
  28014. in: query
  28015. name: planid
  28016. required: true
  28017. type: integer
  28018. - description: 当前步骤id
  28019. in: query
  28020. name: curstepid
  28021. type: integer
  28022. produces:
  28023. - application/json
  28024. responses:
  28025. "200":
  28026. description: OK
  28027. schema:
  28028. items:
  28029. $ref: '#/definitions/models.WrPerformancePlanStep'
  28030. type: array
  28031. "500":
  28032. description: Internal Server Error
  28033. schema:
  28034. $ref: '#/definitions/app.Response'
  28035. security:
  28036. - ApiKeyAuth: []
  28037. summary: 查询履约信息详情
  28038. tags:
  28039. - 仓单贸易v2
  28040. /WrTrade2/QueryWrPerformanceStepType:
  28041. get:
  28042. produces:
  28043. - application/json
  28044. responses:
  28045. "200":
  28046. description: OK
  28047. schema:
  28048. items:
  28049. $ref: '#/definitions/models.WrPerformanceStepType'
  28050. type: array
  28051. "500":
  28052. description: Internal Server Error
  28053. schema:
  28054. $ref: '#/definitions/app.Response'
  28055. security:
  28056. - ApiKeyAuth: []
  28057. summary: 查询履约步骤枚举
  28058. tags:
  28059. - 仓单贸易v2
  28060. /WrTrade2/QueryWrPosition:
  28061. get:
  28062. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  28063. parameters:
  28064. - description: 用户id
  28065. in: query
  28066. name: userid
  28067. required: true
  28068. type: integer
  28069. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  28070. in: query
  28071. name: querytype
  28072. required: true
  28073. type: integer
  28074. - description: 0:仓单预售 1:仓单贸易
  28075. in: query
  28076. name: haswr
  28077. required: true
  28078. type: integer
  28079. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  28080. in: query
  28081. name: dgitemname
  28082. type: string
  28083. - description: 仓库id(筛选条件)
  28084. in: query
  28085. name: warehouseid
  28086. type: integer
  28087. - description: 品种id
  28088. in: query
  28089. name: deliverygoodsid
  28090. type: integer
  28091. - description: 品类id
  28092. in: query
  28093. name: wrstandardid
  28094. type: integer
  28095. produces:
  28096. - application/json
  28097. responses:
  28098. "200":
  28099. description: OK
  28100. schema:
  28101. items:
  28102. $ref: '#/definitions/models.WrPosition'
  28103. type: array
  28104. "500":
  28105. description: Internal Server Error
  28106. schema:
  28107. $ref: '#/definitions/app.Response'
  28108. security:
  28109. - ApiKeyAuth: []
  28110. summary: 查询现货(预售)仓单持仓
  28111. tags:
  28112. - 仓单贸易v2
  28113. /WrTrade2/QueryWrPreSaleInfo:
  28114. get:
  28115. parameters:
  28116. - description: 市场id
  28117. in: query
  28118. name: marketid
  28119. type: integer
  28120. - description: 预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭
  28121. in: query
  28122. name: presalestatus
  28123. type: string
  28124. - description: 摇号标识 - 0:未摇号 1:已摇号
  28125. in: query
  28126. name: lotteryflag
  28127. type: integer
  28128. - description: 最近多少条记录(按创建时间倒序)
  28129. in: query
  28130. name: lastnum
  28131. type: integer
  28132. produces:
  28133. - application/json
  28134. responses:
  28135. "200":
  28136. description: OK
  28137. schema:
  28138. items:
  28139. $ref: '#/definitions/models.WrPreSaleInfo'
  28140. type: array
  28141. "500":
  28142. description: Internal Server Error
  28143. schema:
  28144. $ref: '#/definitions/app.Response'
  28145. security:
  28146. - ApiKeyAuth: []
  28147. summary: 查询新品发布
  28148. tags:
  28149. - 仓单贸易v2
  28150. /WrTrade2/QueryWrReckonSpotGoodsTradeSum:
  28151. get:
  28152. parameters:
  28153. - description: 市场id
  28154. in: query
  28155. name: marketid
  28156. required: true
  28157. type: integer
  28158. - description: 现货商品id
  28159. in: query
  28160. name: wrstandardid
  28161. required: true
  28162. type: integer
  28163. - description: 开始交易日(yyyymmdd)
  28164. in: query
  28165. name: begindate
  28166. type: string
  28167. - description: 结束交易日(yyyymmdd)
  28168. in: query
  28169. name: enddate
  28170. type: string
  28171. - description: 最近多少条记录(按交易日倒序)
  28172. in: query
  28173. name: lastnum
  28174. type: integer
  28175. produces:
  28176. - application/json
  28177. responses:
  28178. "200":
  28179. description: OK
  28180. schema:
  28181. items:
  28182. $ref: '#/definitions/models.WrReckonSpotGoodsTradeSum'
  28183. type: array
  28184. "500":
  28185. description: Internal Server Error
  28186. schema:
  28187. $ref: '#/definitions/app.Response'
  28188. security:
  28189. - ApiKeyAuth: []
  28190. summary: 查询价格走势
  28191. tags:
  28192. - 仓单贸易v2
  28193. /WrTrade2/QueryWrScfContract:
  28194. get:
  28195. parameters:
  28196. - description: 用户id
  28197. in: query
  28198. name: userid
  28199. required: true
  28200. type: integer
  28201. - description: 融资合同id
  28202. in: query
  28203. name: scfcontractid
  28204. type: integer
  28205. produces:
  28206. - application/json
  28207. responses:
  28208. "200":
  28209. description: OK
  28210. schema:
  28211. items:
  28212. $ref: '#/definitions/models.WrScfContract'
  28213. type: array
  28214. "500":
  28215. description: Internal Server Error
  28216. schema:
  28217. $ref: '#/definitions/app.Response'
  28218. security:
  28219. - ApiKeyAuth: []
  28220. summary: 查询仓单贸易融资合同
  28221. tags:
  28222. - 仓单贸易v2
  28223. /WrTrade2/QueryWrScfContractInterest:
  28224. get:
  28225. parameters:
  28226. - description: 融资合同id
  28227. in: query
  28228. name: scfcontractid
  28229. type: integer
  28230. produces:
  28231. - application/json
  28232. responses:
  28233. "200":
  28234. description: OK
  28235. schema:
  28236. items:
  28237. $ref: '#/definitions/models.WrScfContractInterest'
  28238. type: array
  28239. "500":
  28240. description: Internal Server Error
  28241. schema:
  28242. $ref: '#/definitions/app.Response'
  28243. security:
  28244. - ApiKeyAuth: []
  28245. summary: 查询融资合同费用明细
  28246. tags:
  28247. - 仓单贸易v2
  28248. /WrTrade2/QueryWrSpecialMatchOrder:
  28249. get:
  28250. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  28251. parameters:
  28252. - description: 页码
  28253. in: query
  28254. name: page
  28255. type: integer
  28256. - description: 每页条数
  28257. in: query
  28258. name: pagesize
  28259. type: integer
  28260. - description: 用户id
  28261. in: query
  28262. name: userid
  28263. required: true
  28264. type: integer
  28265. - description: 仓单贸易市场id
  28266. in: query
  28267. name: marketid
  28268. type: integer
  28269. - description: 0:仓单预售 1:仓单贸易
  28270. in: query
  28271. name: haswr
  28272. required: true
  28273. type: integer
  28274. - description: 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  28275. in: query
  28276. name: isspecified
  28277. type: integer
  28278. produces:
  28279. - application/json
  28280. responses:
  28281. "200":
  28282. description: OK
  28283. schema:
  28284. items:
  28285. $ref: '#/definitions/models.WrSpecialMatchOrder'
  28286. type: array
  28287. "500":
  28288. description: Internal Server Error
  28289. schema:
  28290. $ref: '#/definitions/app.Response'
  28291. security:
  28292. - ApiKeyAuth: []
  28293. summary: 查询指定成交
  28294. tags:
  28295. - 仓单贸易v2
  28296. /WrTrade2/QueryWrStandardFactoryItem:
  28297. get:
  28298. parameters:
  28299. - description: 品类id
  28300. in: query
  28301. name: wrstandardid
  28302. required: true
  28303. type: integer
  28304. produces:
  28305. - application/json
  28306. responses:
  28307. "200":
  28308. description: OK
  28309. schema:
  28310. items:
  28311. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  28312. type: array
  28313. "500":
  28314. description: Internal Server Error
  28315. schema:
  28316. $ref: '#/definitions/app.Response'
  28317. security:
  28318. - ApiKeyAuth: []
  28319. summary: 查询品类要素定义项
  28320. tags:
  28321. - 仓单贸易v2
  28322. /WrTrade2/QueryWrTradeBargainApply:
  28323. get:
  28324. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面
  28325. 议价->对方议价 填写matchuserid=登录用户id
  28326. parameters:
  28327. - description: 议价人id(摘牌方)
  28328. in: query
  28329. name: userid
  28330. type: integer
  28331. - description: 挂牌方id(查对方议价时,填写此项)
  28332. in: query
  28333. name: matchuserid
  28334. type: integer
  28335. - description: 关联委托单id
  28336. in: query
  28337. name: wrtradeorderid
  28338. type: integer
  28339. - description: 0:仓单预售 1:仓单贸易
  28340. in: query
  28341. name: haswr
  28342. required: true
  28343. type: integer
  28344. - description: 开始交易日(yyyymmdd)
  28345. in: query
  28346. name: begindate
  28347. type: string
  28348. - description: 结束交易日(yyyymmdd)
  28349. in: query
  28350. name: enddate
  28351. type: string
  28352. produces:
  28353. - application/json
  28354. responses:
  28355. "200":
  28356. description: OK
  28357. schema:
  28358. items:
  28359. $ref: '#/definitions/models.WRTradeBargainApply'
  28360. type: array
  28361. "500":
  28362. description: Internal Server Error
  28363. schema:
  28364. $ref: '#/definitions/app.Response'
  28365. security:
  28366. - ApiKeyAuth: []
  28367. summary: 查询议价单
  28368. tags:
  28369. - 仓单贸易v2
  28370. /WrTrade2/QueryWrTradeDetail:
  28371. get:
  28372. parameters:
  28373. - description: 页码
  28374. in: query
  28375. name: page
  28376. type: integer
  28377. - description: 每页条数
  28378. in: query
  28379. name: pagesize
  28380. type: integer
  28381. - description: 用户id
  28382. in: query
  28383. name: userid
  28384. required: true
  28385. type: integer
  28386. - description: 仓单贸易市场id
  28387. in: query
  28388. name: marketid
  28389. type: integer
  28390. - description: 0:仓单预售 1:仓单贸易
  28391. in: query
  28392. name: haswr
  28393. required: true
  28394. type: integer
  28395. - description: 开始交易日(yyyymmdd)
  28396. in: query
  28397. name: begindate
  28398. type: string
  28399. - description: 结束交易日(yyyymmdd)
  28400. in: query
  28401. name: enddate
  28402. type: string
  28403. produces:
  28404. - application/json
  28405. responses:
  28406. "200":
  28407. description: OK
  28408. schema:
  28409. items:
  28410. $ref: '#/definitions/models.WrTradeDetail'
  28411. type: array
  28412. "500":
  28413. description: Internal Server Error
  28414. schema:
  28415. $ref: '#/definitions/app.Response'
  28416. security:
  28417. - ApiKeyAuth: []
  28418. summary: 查询仓单成交明细
  28419. tags:
  28420. - 仓单贸易v2
  28421. /WrTrade2/QueryWrTradeOrderDetail:
  28422. get:
  28423. parameters:
  28424. - description: 页码
  28425. in: query
  28426. name: page
  28427. type: integer
  28428. - description: 每页条数
  28429. in: query
  28430. name: pagesize
  28431. type: integer
  28432. - description: 商品id
  28433. in: query
  28434. name: goodsid
  28435. required: true
  28436. type: integer
  28437. - description: 买卖方向 0-买 1-卖
  28438. in: query
  28439. name: buyorsell
  28440. required: true
  28441. type: integer
  28442. produces:
  28443. - application/json
  28444. responses:
  28445. "200":
  28446. description: OK
  28447. schema:
  28448. items:
  28449. $ref: '#/definitions/models.WrTradeOrderDetail'
  28450. type: array
  28451. "500":
  28452. description: Internal Server Error
  28453. schema:
  28454. $ref: '#/definitions/app.Response'
  28455. security:
  28456. - ApiKeyAuth: []
  28457. summary: 查询合约交易买卖大厅
  28458. tags:
  28459. - 仓单贸易v2
  28460. /WrTrade2/QueryWrUserFriend:
  28461. get:
  28462. parameters:
  28463. - description: 用户id
  28464. in: query
  28465. name: userid
  28466. required: true
  28467. type: integer
  28468. - description: 新朋友userid, 如果填写了此项则查找新朋友
  28469. in: query
  28470. name: newuserid
  28471. type: integer
  28472. produces:
  28473. - application/json
  28474. responses:
  28475. "200":
  28476. description: OK
  28477. schema:
  28478. items:
  28479. $ref: '#/definitions/models.WrUserFriend'
  28480. type: array
  28481. "500":
  28482. description: Internal Server Error
  28483. schema:
  28484. $ref: '#/definitions/app.Response'
  28485. security:
  28486. - ApiKeyAuth: []
  28487. summary: 查询我的朋友
  28488. tags:
  28489. - 仓单贸易v2
  28490. /WrTrade2/QueryWrUserReceiptInfo:
  28491. get:
  28492. parameters:
  28493. - description: 用户id
  28494. in: query
  28495. name: userid
  28496. type: integer
  28497. - description: 发票类型 - 1:个人 2:企业
  28498. in: query
  28499. name: receipttype
  28500. type: integer
  28501. produces:
  28502. - application/json
  28503. responses:
  28504. "200":
  28505. description: OK
  28506. schema:
  28507. items:
  28508. $ref: '#/definitions/models.WrUserReceiptInfo'
  28509. type: array
  28510. "500":
  28511. description: Internal Server Error
  28512. schema:
  28513. $ref: '#/definitions/app.Response'
  28514. security:
  28515. - ApiKeyAuth: []
  28516. summary: 查询发票信息
  28517. tags:
  28518. - 仓单贸易v2
  28519. /ZJ/GetBankTip:
  28520. get:
  28521. produces:
  28522. - application/json
  28523. responses:
  28524. "200":
  28525. description: OK
  28526. schema:
  28527. type: string
  28528. "500":
  28529. description: Internal Server Error
  28530. schema:
  28531. $ref: '#/definitions/app.Response'
  28532. summary: 获取中江网银端出入金提示信息
  28533. tags:
  28534. - 中江
  28535. /ZJ/GetCusBankChannels:
  28536. get:
  28537. produces:
  28538. - application/json
  28539. responses:
  28540. "200":
  28541. description: OK
  28542. schema:
  28543. items:
  28544. type: string
  28545. type: array
  28546. "500":
  28547. description: Internal Server Error
  28548. schema:
  28549. $ref: '#/definitions/app.Response'
  28550. summary: 获取中江出入金渠道显示列表
  28551. tags:
  28552. - 中江
  28553. securityDefinitions:
  28554. ApiKeyAuth:
  28555. in: header
  28556. name: Authorization
  28557. type: apiKey
  28558. swagger: "2.0"