swagger.yaml 793 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136281372813828139281402814128142281432814428145281462814728148281492815028151281522815328154281552815628157281582815928160281612816228163281642816528166281672816828169281702817128172281732817428175281762817728178281792818028181281822818328184281852818628187281882818928190281912819228193281942819528196281972819828199282002820128202282032820428205282062820728208282092821028211282122821328214282152821628217282182821928220282212822228223282242822528226282272822828229282302823128232282332823428235282362823728238282392824028241282422824328244282452824628247282482824928250282512825228253282542825528256282572825828259282602826128262282632826428265282662826728268282692827028271282722827328274282752827628277282782827928280282812828228283282842828528286282872828828289282902829128292282932829428295282962829728298282992830028301283022830328304283052830628307283082830928310283112831228313283142831528316283172831828319283202832128322283232832428325283262832728328283292833028331283322833328334283352833628337283382833928340283412834228343283442834528346283472834828349283502835128352283532835428355283562835728358283592836028361283622836328364283652836628367283682836928370283712837228373283742837528376283772837828379283802838128382283832838428385283862838728388283892839028391283922839328394283952839628397283982839928400284012840228403284042840528406284072840828409284102841128412284132841428415284162841728418284192842028421284222842328424284252842628427284282842928430284312843228433284342843528436284372843828439284402844128442284432844428445284462844728448284492845028451284522845328454284552845628457284582845928460284612846228463284642846528466284672846828469284702847128472284732847428475284762847728478284792848028481284822848328484284852848628487284882848928490284912849228493284942849528496284972849828499285002850128502285032850428505285062850728508285092851028511285122851328514285152851628517285182851928520285212852228523285242852528526285272852828529285302853128532285332853428535285362853728538285392854028541285422854328544285452854628547285482854928550285512855228553285542855528556285572855828559285602856128562285632856428565285662856728568285692857028571
  1. basePath: /api
  2. definitions:
  3. app.Response:
  4. properties:
  5. code:
  6. type: integer
  7. data:
  8. type: object
  9. msg:
  10. type: string
  11. page:
  12. description: 页码
  13. type: integer
  14. pagesize:
  15. description: 每页条数
  16. type: integer
  17. total:
  18. description: 总条数
  19. type: integer
  20. type: object
  21. common.ClientMenu:
  22. properties:
  23. children:
  24. description: 子菜单列表
  25. items:
  26. $ref: '#/definitions/common.ClientMenu'
  27. type: array
  28. code:
  29. description: ID
  30. type: string
  31. isshow:
  32. description: 是否显示
  33. type: boolean
  34. remark:
  35. description: 备注
  36. type: string
  37. rulekey:
  38. description: 对应权限主键,对应FUNCMENULIST表RESOURCECODE
  39. type: string
  40. sort:
  41. description: 排序
  42. type: integer
  43. title:
  44. description: 标题
  45. type: string
  46. type:
  47. description: 类型,1:菜单 2:按钮
  48. type: integer
  49. url:
  50. description: URL
  51. type: string
  52. type: object
  53. common.PCWebMenu:
  54. properties:
  55. auth:
  56. description: 页面权限列表
  57. items:
  58. $ref: '#/definitions/common.PCWebMenuAuth'
  59. type: array
  60. children:
  61. description: 子菜单列表
  62. items:
  63. $ref: '#/definitions/common.PCWebMenu'
  64. type: array
  65. code:
  66. description: ID,新版本中权限KEY也是这个字段
  67. type: string
  68. component:
  69. description: 路由组件
  70. type: string
  71. isshow:
  72. description: 是否显示
  73. type: boolean
  74. path:
  75. description: 路由路径
  76. type: string
  77. remark:
  78. description: 备注
  79. type: string
  80. rulekey:
  81. description: 权限主键,非空表示需要判断控制,非空值不可重复
  82. type: string
  83. sort:
  84. description: 排序
  85. type: integer
  86. title:
  87. description: 标题
  88. type: string
  89. url:
  90. description: URL
  91. type: string
  92. type: object
  93. common.PCWebMenuAuth:
  94. properties:
  95. code:
  96. description: ID,新版本中权限KEY也是这个字段
  97. type: string
  98. isshow:
  99. description: 是否显示
  100. type: boolean
  101. label:
  102. description: 标题
  103. type: string
  104. remark:
  105. description: 备注
  106. type: string
  107. rulekey:
  108. description: 权限主键,非空表示需要判断控制,非空值不可重复
  109. type: string
  110. type: object
  111. common.QueryImageConfigsRsp:
  112. properties:
  113. areauserid:
  114. description: 所属机构ID
  115. type: integer
  116. configid:
  117. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  118. type: integer
  119. createdate:
  120. description: 创建时间
  121. type: string
  122. creatorid:
  123. description: 创建人
  124. type: integer
  125. imagedetailpath:
  126. description: 详情图片 [UrlType = 3时 有且必填,其它类型不需要]
  127. type: string
  128. imagepath:
  129. description: 图片
  130. type: string
  131. imagetype:
  132. description: 类型 - 1:首页轮播(移动) 2:我的(移动)
  133. type: integer
  134. isshow:
  135. description: 是否展示 - 0:不展示 1:展示
  136. type: integer
  137. marketid:
  138. description: 市场ID
  139. type: integer
  140. modifierid:
  141. description: 操作人
  142. type: integer
  143. sort:
  144. description: 排序
  145. type: integer
  146. title:
  147. description: 标题
  148. type: string
  149. trademode:
  150. description: 交易模式
  151. type: integer
  152. updatedate:
  153. description: 修改时间
  154. type: string
  155. url:
  156. description: 链接(地址或商品ID)
  157. type: string
  158. urltype:
  159. description: 链接类型 - 1:直接地址 2:商品ID
  160. type: integer
  161. required:
  162. - configid
  163. type: object
  164. common.QueryNoticeRsp:
  165. properties:
  166. auditoruserid:
  167. description: 审核人
  168. type: integer
  169. auditremark:
  170. description: 审核备注
  171. type: string
  172. audittime:
  173. description: 审核日期
  174. type: string
  175. autoid:
  176. description: 自增ID
  177. type: integer
  178. content:
  179. description: 内容
  180. type: string
  181. createtime:
  182. description: 创建时间
  183. type: string
  184. creatorid:
  185. description: 建仓人
  186. type: integer
  187. endtime:
  188. description: 结束时间
  189. type: string
  190. istop:
  191. description: 是否置顶 - 0:不置顶 1:置顶
  192. type: integer
  193. msgiconurl:
  194. description: 消息图标Url
  195. type: string
  196. msgtype:
  197. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  198. type: integer
  199. publisher:
  200. description: 消息发布者
  201. type: string
  202. readed:
  203. description: 是否已读
  204. type: boolean
  205. scheduletime:
  206. description: 计划发送时间
  207. type: string
  208. sendtype:
  209. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  210. type: integer
  211. sentstatus:
  212. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  213. type: integer
  214. title:
  215. description: 标题
  216. type: string
  217. userid:
  218. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  219. type: integer
  220. required:
  221. - autoid
  222. type: object
  223. common.QueryProvincesAndCitiesRsp:
  224. properties:
  225. cities:
  226. description: 市
  227. items:
  228. $ref: '#/definitions/models.Division'
  229. type: array
  230. province:
  231. $ref: '#/definitions/models.Division'
  232. description: 省
  233. type: object
  234. common.QueryTableDefineRsp:
  235. properties:
  236. columns:
  237. description: 列头信息数组
  238. items:
  239. $ref: '#/definitions/models.Tablecolumnconfig'
  240. type: array
  241. remark:
  242. description: Remark
  243. type: string
  244. tabelmenu:
  245. description: 列表菜单
  246. type: string
  247. tablekey:
  248. description: 列表Key
  249. type: string
  250. tablename:
  251. description: 列表名称
  252. type: string
  253. tabletype:
  254. description: 列表类型 - 1:管理端 2:终端
  255. type: integer
  256. required:
  257. - tablekey
  258. type: object
  259. common.QueryTraderMenuRsp:
  260. properties:
  261. OperationMenu:
  262. description: 功能菜单
  263. items:
  264. $ref: '#/definitions/models.OperationPrimaryMenu'
  265. type: array
  266. QuoteMenu:
  267. description: 报价牌分类菜单
  268. items:
  269. $ref: '#/definitions/models.QuotePrimaryMenu'
  270. type: array
  271. type: object
  272. cptrade.Cptradepositioncancel:
  273. properties:
  274. accountid:
  275. description: 申请人账户ID
  276. type: integer
  277. applystatus:
  278. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  279. type: integer
  280. applytime:
  281. description: 申请时间
  282. type: string
  283. cancelid:
  284. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  285. type: integer
  286. cancelqty:
  287. description: 注销数量
  288. type: integer
  289. createtime:
  290. description: 创建时间
  291. type: string
  292. creatorid:
  293. description: 创建人ID
  294. type: integer
  295. creatorname:
  296. description: 创建人
  297. type: string
  298. goodscode:
  299. description: 订单商品代码
  300. type: string
  301. goodsid:
  302. description: 商品ID
  303. type: integer
  304. goodsname:
  305. description: 订单商品名称
  306. type: string
  307. goodunit:
  308. description: 报价单位
  309. type: string
  310. handlestatus:
  311. description: 处理状态
  312. type: integer
  313. marketid:
  314. description: 市场ID
  315. type: integer
  316. marketname:
  317. description: 市场名称
  318. type: string
  319. tradedate:
  320. description: 交易日(yyyyMMdd)
  321. type: string
  322. userid:
  323. description: 申请人ID
  324. type: integer
  325. required:
  326. - cancelid
  327. type: object
  328. cptrade.Cptradepresaleapply:
  329. properties:
  330. accountid:
  331. description: 申请人账户ID
  332. type: integer
  333. applyid:
  334. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  335. type: integer
  336. applyremark:
  337. description: 申请备注
  338. type: string
  339. applystatus:
  340. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  341. type: integer
  342. applytime:
  343. description: 申请时间
  344. type: string
  345. attachmenturl:
  346. description: 附件地址
  347. type: string
  348. endtime:
  349. description: 预售结束时间
  350. type: string
  351. goodscode:
  352. description: 商品代码
  353. type: string
  354. goodsid:
  355. description: 商品ID
  356. type: integer
  357. goodsname:
  358. description: 商品名称
  359. type: string
  360. goodunit:
  361. description: 报价单位
  362. type: string
  363. handlestatus:
  364. description: 处理状态
  365. type: integer
  366. marketid:
  367. description: 预售市场ID
  368. type: integer
  369. marketname:
  370. description: 预售市场名称
  371. type: string
  372. presaleqty:
  373. description: 预售数量
  374. type: integer
  375. relatedgoodscode:
  376. description: 关联交易合约代码
  377. type: string
  378. relatedgoodsid:
  379. description: 关联交易合约ID
  380. type: integer
  381. relatedgoodsname:
  382. description: 关联交易合约名称
  383. type: string
  384. starttime:
  385. description: 预售开始时间
  386. type: string
  387. tradedate:
  388. description: 交易日(yyyyMMdd)
  389. type: string
  390. trademode:
  391. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  392. type: integer
  393. userid:
  394. description: 申请人ID
  395. type: integer
  396. required:
  397. - applyid
  398. type: object
  399. cptrade.Cptradeusergoodsdata:
  400. properties:
  401. EnabledQty:
  402. description: 可用量
  403. type: integer
  404. GoodsCode:
  405. description: 订单商品代码
  406. type: string
  407. GoodsName:
  408. description: 订单商品名称
  409. type: string
  410. WRStandardCode:
  411. description: 仓单标准代码
  412. type: string
  413. WRStandardName:
  414. description: 仓单标准名称
  415. type: string
  416. accountid:
  417. description: 账户ID
  418. type: integer
  419. cancelqty:
  420. description: 注销量
  421. type: integer
  422. curpresaleqty:
  423. description: 当前预售量
  424. type: integer
  425. deliveryqty:
  426. description: 交割量
  427. type: integer
  428. freezeamount:
  429. description: 冻结金额
  430. type: number
  431. goodsid:
  432. description: 商品ID
  433. type: integer
  434. goodunit:
  435. description: 报价单位
  436. type: string
  437. hasspotfreeze:
  438. description: 是否有现货冻结 - 0:否 1:有
  439. type: integer
  440. inqty:
  441. description: 转入量(总数量)
  442. type: integer
  443. marketid:
  444. description: 市场ID
  445. type: integer
  446. presaledamount:
  447. description: 已预售总金额
  448. type: integer
  449. presaledqty:
  450. description: 已预售量
  451. type: integer
  452. userid:
  453. description: 用户ID
  454. type: integer
  455. wrstandardid:
  456. description: 仓单标准ID
  457. type: integer
  458. required:
  459. - accountid
  460. - goodsid
  461. type: object
  462. cptrade.QueryCPTradeMyBidRsp:
  463. properties:
  464. accountid:
  465. description: 账户ID[报价币种]
  466. type: integer
  467. goodsid:
  468. description: 商品ID
  469. type: integer
  470. goodunit:
  471. description: 报价单位
  472. type: string
  473. marketid:
  474. description: 市场ID
  475. type: integer
  476. orderid:
  477. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  478. type: integer
  479. orderprice:
  480. description: 委托价格
  481. type: number
  482. orderqty:
  483. description: 委托数量
  484. type: integer
  485. ordertime:
  486. description: 委托时间
  487. type: string
  488. ordertotalprice:
  489. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  490. type: number
  491. ordertotalweight:
  492. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  493. type: integer
  494. totaltotalprice:
  495. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  496. type: number
  497. tradeprice:
  498. description: 成交价格
  499. type: number
  500. tradeqty:
  501. description: 成交数量
  502. type: integer
  503. required:
  504. - accountid
  505. - goodsid
  506. - marketid
  507. - orderid
  508. - orderqty
  509. - ordertime
  510. - tradeprice
  511. - tradeqty
  512. type: object
  513. cptrade.QueryCPTradeOrderDetailRsq:
  514. properties:
  515. accountid:
  516. description: 账户ID[报价币种]
  517. type: integer
  518. buildtype:
  519. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  520. type: integer
  521. buyorsell:
  522. description: 买卖 - 0:买 1:卖
  523. type: integer
  524. cancelorderid:
  525. description: 撤单单号(撤单时填写)
  526. type: integer
  527. cancelqty:
  528. description: 撤单数量
  529. type: integer
  530. clientordertime:
  531. description: 客户端委托时间
  532. type: string
  533. clientticket:
  534. description: 客户端流水号
  535. type: string
  536. clienttype:
  537. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  538. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  539. type: integer
  540. closeexchagechargevalue:
  541. description: 平仓交易所手续费设置值
  542. type: number
  543. closefeealgorithm:
  544. description: 平仓手续费收取方式 1:比率 2:固定
  545. type: integer
  546. closefreezecharge:
  547. description: 平仓冻结手续费(先建后平操作,需要记录)
  548. type: number
  549. closememberchargevalue:
  550. description: 平仓会员手续费设置值
  551. type: number
  552. closeqty:
  553. description: 平仓数量(先建后平操作 需要记录)
  554. type: integer
  555. closetradeqty:
  556. description: 平仓成交数量(先建后平操作,需要记录)
  557. type: integer
  558. closeunfreezecharge:
  559. description: 平仓解冻手续费(先建后平操作,需要记录)
  560. type: number
  561. delistingtype:
  562. description: 摘牌类型 - 1:价格最优 2:点选成交
  563. type: integer
  564. freezecharge:
  565. description: 冻结手续费
  566. type: number
  567. freezemargin:
  568. description: 冻结保证金(冻结交易金额)
  569. type: number
  570. gcaccountid:
  571. description: 账户ID[合约币种]
  572. type: integer
  573. goodsid:
  574. description: 商品ID
  575. type: integer
  576. isconfirmexercise:
  577. description: 是否确认行权- 0:否 1:是
  578. type: integer
  579. ispreexercise:
  580. description: 是否预申报- 0:否 1:是
  581. type: integer
  582. listingselecttype:
  583. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  584. type: integer
  585. marginalgorithm:
  586. description: 保证金收取方式 1:比率 2:固定
  587. type: integer
  588. marginvalue:
  589. description: 即市保证金设置值
  590. type: number
  591. marketid:
  592. description: 市场ID
  593. type: integer
  594. marketmaxsub:
  595. description: 市价最大偏移范围
  596. type: number
  597. memberuserid:
  598. description: 所属会员UserID
  599. type: integer
  600. openexchagechargevalue:
  601. description: 建仓交易所手续费设置值
  602. type: number
  603. openfeealgorithm:
  604. description: 建仓手续费收取方式 1:比率 2:固定
  605. type: integer
  606. openfreezecharge:
  607. description: 开仓冻结手续费(先建后平操作,需要记录)
  608. type: number
  609. openmemberchargevalue:
  610. description: 建仓会员手续费设置值
  611. type: number
  612. openqty:
  613. description: 开仓数量(先建后平操作,需要记录)
  614. type: integer
  615. opentradeqty:
  616. description: 开仓成交数量(先建后平操作,需要记录)
  617. type: integer
  618. openunfreezecharge:
  619. description: 开仓解冻手续费(先建后平操作,需要记录)
  620. type: number
  621. operatetype:
  622. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  623. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  624. 15:管理端协议转让
  625. type: integer
  626. operatorid:
  627. description: 登录账号(LoginID)
  628. type: integer
  629. optiontype:
  630. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  631. type: integer
  632. orderprice:
  633. description: 委托价格
  634. type: number
  635. orderqty:
  636. description: 委托数量
  637. type: integer
  638. ordersrc:
  639. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  640. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  641. type: integer
  642. orderstatus:
  643. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  644. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  645. 16:成交失败违约(荷兰式竞拍专用)
  646. type: integer
  647. ordertime:
  648. description: 委托时间
  649. type: string
  650. preexerciseprice:
  651. description: 预申报价格
  652. type: number
  653. premium:
  654. description: 权利金
  655. type: number
  656. preorderid:
  657. description: 关联预埋单号(止盈止损单时填写)
  658. type: integer
  659. pricemode:
  660. description: '取价方式 - 1:市价 2: 限价'
  661. type: integer
  662. quoteid:
  663. description: 报价单ID
  664. type: integer
  665. relatedid:
  666. description: 关联单号(交割单)
  667. type: integer
  668. retcode:
  669. description: 错误代码
  670. type: integer
  671. sessionid:
  672. description: 会话ID
  673. type: integer
  674. strorderid:
  675. description: 委托单号
  676. type: string
  677. tradedate:
  678. description: 交易日(yyyyMMdd)
  679. type: string
  680. tradeproperty:
  681. description: 交易属性
  682. type: integer
  683. tradeqty:
  684. description: 成交数量
  685. type: integer
  686. unfreezecharge:
  687. description: 解冻手续费
  688. type: number
  689. unfreezemargin:
  690. description: 解冻保证金
  691. type: number
  692. updatetime:
  693. description: 更新时间
  694. type: string
  695. uuid:
  696. description: 发起端唯一id
  697. type: string
  698. validtime:
  699. description: 有效期限
  700. type: string
  701. validtype:
  702. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  703. type: integer
  704. volumetype:
  705. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  706. type: integer
  707. required:
  708. - accountid
  709. - buildtype
  710. - buyorsell
  711. - goodsid
  712. - marketid
  713. - memberuserid
  714. - operatetype
  715. - orderqty
  716. - ordertime
  717. - pricemode
  718. - strorderid
  719. - tradedate
  720. - validtype
  721. type: object
  722. cptrade.QueryMyCPTradeGoodsRsp:
  723. properties:
  724. accountid:
  725. description: 卖方账户ID
  726. type: integer
  727. agreeunit:
  728. description: 合约单位
  729. type: number
  730. applyid:
  731. description: 关联申请ID
  732. type: integer
  733. attachmenturl:
  734. description: 附件地址
  735. type: string
  736. createtime:
  737. description: 创建时间
  738. type: string
  739. currencyid:
  740. description: 报价货币ID
  741. type: integer
  742. decimalplace:
  743. description: 报价小数位
  744. type: integer
  745. endtime:
  746. description: 预售结束时间
  747. type: string
  748. floorprice:
  749. description: 底价[大宗式竞拍]
  750. type: number
  751. goodscode:
  752. description: 商品代码(预售)
  753. type: string
  754. goodsdetail:
  755. description: 详情[大宗]
  756. type: string
  757. goodsid:
  758. description: 商品ID(自增ID SEQ_GOODS)
  759. type: integer
  760. goodsname:
  761. description: 商品名称(预售)
  762. type: string
  763. goodunit:
  764. description: 报价单位
  765. type: string
  766. goodunitid:
  767. description: 报价单位ID
  768. type: integer
  769. marketid:
  770. description: 所属市场ID
  771. type: integer
  772. marketname:
  773. description: 预售市场名称
  774. type: string
  775. presaledamount:
  776. description: 已预售总金额(预售结束时更新)
  777. type: number
  778. presaledqty:
  779. description: 已预售量(预售结束时更新)
  780. type: integer
  781. presalemode:
  782. description: 预售模式 - 1:一口价 2:大宗式竞拍
  783. type: integer
  784. presaleqty:
  785. description: 预售数量
  786. type: integer
  787. refprice:
  788. description: 参考价格[一口价]
  789. type: number
  790. relatedgoodscode:
  791. description: 商品代码(订单)
  792. type: string
  793. relatedgoodsid:
  794. description: 关联交易合约ID
  795. type: integer
  796. relatedgoodsname:
  797. description: 商品名称(订单)
  798. type: string
  799. relatedmarketid:
  800. description: 关联交易合约市场ID
  801. type: integer
  802. sellstatus:
  803. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  804. type: integer
  805. startprice:
  806. description: 起拍价[大宗式竞拍]
  807. type: number
  808. starttime:
  809. description: 预售开始时间
  810. type: string
  811. tradedate:
  812. description: 交易日(yyyyMMdd)
  813. type: string
  814. tradeprice:
  815. description: 成交价[大宗]
  816. type: number
  817. userid:
  818. description: 卖方用户ID
  819. type: integer
  820. required:
  821. - goodscode
  822. - goodsid
  823. - goodsname
  824. - marketid
  825. - relatedgoodscode
  826. - relatedgoodsname
  827. type: object
  828. cptrade.QueryPresaleGoodsExRsp:
  829. properties:
  830. attachmenturl:
  831. description: 附件地址
  832. type: string
  833. createtime:
  834. description: 创建时间
  835. type: string
  836. endtime:
  837. description: 预售结束时间
  838. type: string
  839. floorprice:
  840. description: 底价[大宗式竞拍]
  841. type: number
  842. goodsdetail:
  843. description: 详情[大宗]
  844. type: string
  845. goodsid:
  846. description: 商品ID(预售)
  847. type: integer
  848. goodunit:
  849. description: 报价单位
  850. type: string
  851. marketid:
  852. description: 预售市场ID - 根据预售模式选择市场
  853. type: integer
  854. presaledamount:
  855. description: 已预售总金额(预售结束时更新)
  856. type: number
  857. presaledqty:
  858. description: 已预售量(预售结束时更新)
  859. type: integer
  860. presalemode:
  861. description: 预售模式 - 1:一口价 2:大宗式竞拍
  862. type: integer
  863. presaleqty:
  864. description: 预售数量
  865. type: integer
  866. refprice:
  867. description: 参考价格[一口价]
  868. type: number
  869. relatedgoodsid:
  870. description: 关联交易合约ID
  871. type: integer
  872. relatedmarketid:
  873. description: 关联交易合约市场ID
  874. type: integer
  875. sellstatus:
  876. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  877. type: integer
  878. startprice:
  879. description: 起拍价[大宗式竞拍]
  880. type: number
  881. starttime:
  882. description: 预售开始时间
  883. type: string
  884. tradedate:
  885. description: 交易日(yyyyMMdd)
  886. type: string
  887. tradeprice:
  888. description: 成交价[大宗]
  889. type: number
  890. required:
  891. - goodsid
  892. type: object
  893. delivery.QueryDeliveryRelationRsp:
  894. properties:
  895. begindate:
  896. description: 起始日期(yyyyMMdd)
  897. type: string
  898. buytemplateid:
  899. description: 买履约计划模板ID
  900. type: integer
  901. deliverygoodscode:
  902. description: 品种代码
  903. type: string
  904. deliverygoodsid:
  905. description: 交割商品
  906. type: integer
  907. deliverygoodsname:
  908. description: 品种名称
  909. type: string
  910. deliverymode:
  911. description: 交割方式 - 1:点选式 2:申报式
  912. type: integer
  913. deliverypricerule:
  914. description: 交割价规则- 1:行情价 2:建仓价
  915. type: integer
  916. deliverytype:
  917. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  918. type: integer
  919. enddate:
  920. description: 结束日期(yyyyMMdd)
  921. type: string
  922. enumdicname:
  923. description: 品类单位名称
  924. type: string
  925. goodscode:
  926. description: 商品代码
  927. type: string
  928. goodsid:
  929. description: 交易合约ID
  930. type: integer
  931. goodsname:
  932. description: 商品名称
  933. type: string
  934. marketid:
  935. description: 市场ID
  936. type: integer
  937. mindeliveryqty:
  938. description: 最小交割系数(K)
  939. type: integer
  940. p2deliveryprice:
  941. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  942. type: number
  943. p2deliveryratio:
  944. description: P2合约系数(p)
  945. type: integer
  946. p2goodsid:
  947. description: P2合约ID
  948. type: integer
  949. p2pricemode:
  950. description: P2合约价格方式 - 1:商品价 2:固定值
  951. type: integer
  952. pdeliveryprice:
  953. description: P合约价格(商品价时填写0,固定值时填写固定值)
  954. type: number
  955. pdeliveryratio:
  956. description: P合约系数(n)
  957. type: integer
  958. pgoodscode:
  959. description: p合约代码
  960. type: string
  961. pgoodsid:
  962. description: P合约ID
  963. type: integer
  964. ppricemode:
  965. description: P合约价格方式 - 1:商品价 2:固定值
  966. type: integer
  967. rratio:
  968. description: 兑换系数(R)
  969. type: integer
  970. rratio1:
  971. description: 兑换系数(交易合约)(R1)
  972. type: integer
  973. rratio2:
  974. description: 兑换系数(仓单标准)(R2)
  975. type: integer
  976. selltemplateid:
  977. description: 卖履约计划模板ID
  978. type: integer
  979. wrstandardid:
  980. description: 仓单标准ID
  981. type: integer
  982. xdeliveryratio:
  983. description: 交易合约系数(m)
  984. type: integer
  985. required:
  986. - begindate
  987. - enddate
  988. - goodsid
  989. - mindeliveryqty
  990. - xdeliveryratio
  991. type: object
  992. ermcp.ExposureDetailRsp:
  993. properties:
  994. areauserid:
  995. description: 机构ID
  996. type: integer
  997. changeQty:
  998. description: 套保变动量
  999. type: number
  1000. contracttype:
  1001. description: 现货合同类型 - 1:采购 -1:销售
  1002. type: integer
  1003. convertfactor:
  1004. description: 标仓系数
  1005. type: number
  1006. convertratio:
  1007. description: 套保系数
  1008. type: number
  1009. createtime:
  1010. description: 时间
  1011. type: string
  1012. enumdicname:
  1013. description: 现货商品单位名称
  1014. type: string
  1015. logtype:
  1016. description: 类型 - 1:套保计划 2:现货合同
  1017. type: integer
  1018. middlegoodsId:
  1019. description: 套保商品id
  1020. type: integer
  1021. middlegoodscode:
  1022. description: 套保商品代码
  1023. type: string
  1024. middlegoodsname:
  1025. description: 套保商品名称
  1026. type: string
  1027. qty:
  1028. description: 数量
  1029. type: number
  1030. relateNo:
  1031. description: 现货合同/套保计划编号
  1032. type: string
  1033. wrstandardcode:
  1034. description: 现货商品代码
  1035. type: string
  1036. wrstandardid:
  1037. description: 现货商品ID
  1038. type: integer
  1039. wrstandardname:
  1040. description: 现货商品名称
  1041. type: string
  1042. type: object
  1043. ermcp.ExposureHedgePosDetailRsp:
  1044. properties:
  1045. buyorsell:
  1046. description: 买卖方向 0-买 1-卖
  1047. type: integer
  1048. channelbuildtype:
  1049. description: 开平方向 1-建仓 2-平仓
  1050. type: integer
  1051. goodscode:
  1052. description: 商品代码
  1053. type: string
  1054. goodsname:
  1055. description: 商品名称
  1056. type: string
  1057. hedgegoodsid:
  1058. description: 商品id
  1059. type: integer
  1060. tradeqty:
  1061. description: 数量(成交数量)
  1062. type: integer
  1063. tradetime:
  1064. description: 时间(成交时间)
  1065. type: string
  1066. type: object
  1067. ermcp.ExposureHedgePositionRsp:
  1068. properties:
  1069. accountid:
  1070. description: 资金账号[外部母账户]
  1071. type: integer
  1072. curbuyposition:
  1073. description: 期末买头寸
  1074. type: integer
  1075. cursellposition:
  1076. description: 期末卖头寸
  1077. type: integer
  1078. curtdbuyposition:
  1079. description: 期末今日买头寸
  1080. type: integer
  1081. curtdsellposition:
  1082. description: 期末今日卖头寸
  1083. type: integer
  1084. curydbuyposition:
  1085. description: 期末上日买头寸
  1086. type: integer
  1087. curydsellposition:
  1088. description: 期末上日卖头寸
  1089. type: integer
  1090. decreaseqty:
  1091. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  1092. type: integer
  1093. fretdbuyposition:
  1094. description: 冻结今日买头寸
  1095. type: integer
  1096. fretdsellposition:
  1097. description: 冻结今日卖头寸
  1098. type: integer
  1099. freydbuyposition:
  1100. description: 冻结上日买头寸
  1101. type: integer
  1102. freydsellposition:
  1103. description: 冻结上日卖头寸
  1104. type: integer
  1105. goodscode:
  1106. description: 商品代码
  1107. type: string
  1108. goodsid:
  1109. description: 商品id
  1110. type: integer
  1111. goodsname:
  1112. description: 商品名称
  1113. type: string
  1114. hedgeaccountcode:
  1115. description: 对冲账号
  1116. type: string
  1117. hedgegoodsid:
  1118. description: 对冲合约ID
  1119. type: integer
  1120. increaseqty:
  1121. description: 增加数量 = 期末买头寸 - 期初买头寸
  1122. type: integer
  1123. marketid:
  1124. description: 市场ID
  1125. type: integer
  1126. relateduserid:
  1127. description: 关联用户id
  1128. type: integer
  1129. totalcurqty:
  1130. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  1131. type: integer
  1132. totalydqty:
  1133. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  1134. type: integer
  1135. tradedate:
  1136. description: 交易日(yyyyMMdd)
  1137. type: string
  1138. ydbuyposition:
  1139. description: 期初买头寸
  1140. type: integer
  1141. ydsellposition:
  1142. description: 期初卖头寸
  1143. type: integer
  1144. type: object
  1145. ermcp.ExposureSpotDetailRsp:
  1146. properties:
  1147. contracttype:
  1148. description: 合同类型 1-采购 -1-销售
  1149. type: integer
  1150. createtime:
  1151. description: 创建时间
  1152. type: string
  1153. enumdicname:
  1154. description: 现货商品单位名称
  1155. type: string
  1156. logtype:
  1157. description: 记录类型 1-套保 2-现货合同
  1158. type: integer
  1159. qty:
  1160. description: 数量
  1161. type: number
  1162. recordname:
  1163. description: 类型名称
  1164. type: string
  1165. relatedid:
  1166. description: 套保计划ID/现货合同ID
  1167. type: string
  1168. relatedno:
  1169. description: 编号
  1170. type: string
  1171. strtime:
  1172. description: 时间
  1173. type: string
  1174. wrstandardcode:
  1175. description: 现货商品代码
  1176. type: string
  1177. wrstandardname:
  1178. description: 现货商品名称
  1179. type: string
  1180. type: object
  1181. ermcp.ExposureSpotRsp:
  1182. properties:
  1183. areauserid:
  1184. description: 所属机构
  1185. type: integer
  1186. decreaseqty:
  1187. description: 减少数量=-(销售已定价数量+采购计划数量)
  1188. type: number
  1189. increaseqty:
  1190. description: 增加数量=销售计划数量+采购已定价数量
  1191. type: number
  1192. oritoalspotqty:
  1193. description: 昨日数量
  1194. type: number
  1195. totalspotqty:
  1196. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  1197. type: number
  1198. updatetime:
  1199. description: 更新时间
  1200. type: string
  1201. wrstandardcode:
  1202. description: 现货品种代码
  1203. type: string
  1204. wrstandardid:
  1205. description: 现货商品ID
  1206. type: integer
  1207. wrstandardname:
  1208. description: 现货品种
  1209. type: string
  1210. type: object
  1211. ermcp.HisExposureRsp:
  1212. properties:
  1213. data:
  1214. description: 历史敞口
  1215. items:
  1216. $ref: '#/definitions/models.ErmcpHisExposure'
  1217. type: array
  1218. enumdicname:
  1219. description: 单位名称
  1220. type: string
  1221. middlegoodscode:
  1222. description: 套保品种代码
  1223. type: string
  1224. middlegoodsid:
  1225. description: 套保品种ID
  1226. type: integer
  1227. middlegoodsname:
  1228. description: 套保品种名称
  1229. type: string
  1230. type: object
  1231. ermcp.PendingAuditCntRsp:
  1232. properties:
  1233. areastockqty:
  1234. description: '待审核数量: 库存申请'
  1235. type: integer
  1236. businessdjqty:
  1237. description: '待审核数量: 点价'
  1238. type: integer
  1239. businessfpqty:
  1240. description: '待审核数量: 发票'
  1241. type: integer
  1242. businessjsqty:
  1243. description: '待审核数量: 结算'
  1244. type: integer
  1245. businesskxqty:
  1246. description: '待审核数量: 款项'
  1247. type: integer
  1248. hedgeplanqty:
  1249. description: '待审核数量: 套保计划'
  1250. type: integer
  1251. spotcontractqty:
  1252. description: '待审核数量: 现货合同'
  1253. type: integer
  1254. userqty:
  1255. description: '待审核数量: 用户'
  1256. type: integer
  1257. type: object
  1258. ermcp.QryAvalidGPRsp:
  1259. properties:
  1260. goodsgroupid:
  1261. description: 期货品种id
  1262. type: integer
  1263. goodsgroupname:
  1264. description: 期货品种名称
  1265. type: string
  1266. goodunitid:
  1267. description: 品种单位id
  1268. type: integer
  1269. goodunitname:
  1270. description: 品种单位名称
  1271. type: string
  1272. outergroupcode:
  1273. description: 期货品种代码
  1274. type: string
  1275. type: object
  1276. ermcp.QryBusinessDjRsp:
  1277. properties:
  1278. amount:
  1279. description: 点价金额=(点价价格+升贴水)*点价数量
  1280. type: number
  1281. applyid:
  1282. description: 申请人
  1283. type: string
  1284. applyname:
  1285. description: 申请人名称
  1286. type: string
  1287. applystatus:
  1288. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1289. type: integer
  1290. applytime:
  1291. description: 申请时间
  1292. type: string
  1293. attachurl:
  1294. description: 附件
  1295. type: string
  1296. auditid:
  1297. description: 审核人ID
  1298. type: string
  1299. auditname:
  1300. description: 审核人名称
  1301. type: string
  1302. auditremark:
  1303. description: 审核备注
  1304. type: string
  1305. audittime:
  1306. description: 审核时间
  1307. type: string
  1308. buyusername:
  1309. description: 采购方名称
  1310. type: string
  1311. contractno:
  1312. description: 合同编号
  1313. type: string
  1314. contractstatus:
  1315. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1316. type: integer
  1317. contracttype:
  1318. description: 现货合同类型 - 1:采购 -1:销售
  1319. type: integer
  1320. deliverygoodscode:
  1321. description: 现货品种代码
  1322. type: string
  1323. deliverygoodsid:
  1324. description: 现货商品ID
  1325. type: integer
  1326. deliverygoodsname:
  1327. description: 现货品种名称
  1328. type: string
  1329. enumdicname:
  1330. description: 单位名称
  1331. type: string
  1332. goodscode:
  1333. description: 点价合约
  1334. type: string
  1335. goodsname:
  1336. description: 商品名称
  1337. type: string
  1338. operateapplyid:
  1339. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1340. type: string
  1341. operateapplytype:
  1342. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1343. type: integer
  1344. pricedPrice:
  1345. description: 点价价格(非必填)
  1346. type: number
  1347. pricedQty:
  1348. description: 点价数量(非必填)
  1349. type: number
  1350. pricemove:
  1351. description: 升贴水
  1352. type: number
  1353. pricetype:
  1354. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1355. type: integer
  1356. relatedid:
  1357. description: 现货合同ID
  1358. type: string
  1359. sellusername:
  1360. description: 销售方名字
  1361. type: string
  1362. userid:
  1363. description: 用户ID
  1364. type: integer
  1365. wrstandardcode:
  1366. description: 品类代码
  1367. type: string
  1368. wrstandardid:
  1369. description: 品类id
  1370. type: integer
  1371. wrstandardname:
  1372. description: 品类名称
  1373. type: string
  1374. type: object
  1375. ermcp.QryBussinessFpRsp:
  1376. properties:
  1377. applyid:
  1378. description: 申请人
  1379. type: string
  1380. applyname:
  1381. description: 申请人名称
  1382. type: string
  1383. applystatus:
  1384. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1385. type: integer
  1386. applytime:
  1387. description: 申请时间
  1388. type: string
  1389. attachurl:
  1390. description: 附件
  1391. type: string
  1392. auditid:
  1393. description: 审核人ID
  1394. type: string
  1395. auditname:
  1396. description: 审核人名称
  1397. type: string
  1398. auditremark:
  1399. description: 审核备注
  1400. type: string
  1401. audittime:
  1402. description: 审核时间
  1403. type: string
  1404. buyusername:
  1405. description: 采购方名称
  1406. type: string
  1407. contractno:
  1408. description: 合同编号
  1409. type: string
  1410. contractstatus:
  1411. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1412. type: integer
  1413. contracttype:
  1414. description: 现货合同类型 - 1:采购 -1:销售
  1415. type: integer
  1416. deliverygoodscode:
  1417. description: 现货品种代码
  1418. type: string
  1419. deliverygoodsid:
  1420. description: 现货商品ID
  1421. type: integer
  1422. deliverygoodsname:
  1423. description: 现货品种名称
  1424. type: string
  1425. enumdicname:
  1426. description: 单位名称
  1427. type: string
  1428. goodscode:
  1429. description: 点价合约
  1430. type: string
  1431. goodsname:
  1432. description: 商品名称
  1433. type: string
  1434. invoiceamount:
  1435. description: 已开收票金额(销售为开票,采购为收票)
  1436. type: number
  1437. operateapplyid:
  1438. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1439. type: string
  1440. operateapplytype:
  1441. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1442. type: integer
  1443. pricemove:
  1444. description: 升贴水
  1445. type: number
  1446. pricetype:
  1447. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1448. type: integer
  1449. relatedid:
  1450. description: 现货合同ID
  1451. type: string
  1452. sellusername:
  1453. description: 销售方名字
  1454. type: string
  1455. userid:
  1456. description: 用户ID
  1457. type: integer
  1458. wrstandardcode:
  1459. description: 品类代码
  1460. type: string
  1461. wrstandardid:
  1462. description: 品类id
  1463. type: integer
  1464. wrstandardname:
  1465. description: 品类名称
  1466. type: string
  1467. type: object
  1468. ermcp.QryBussinessJsExRsp:
  1469. properties:
  1470. applyid:
  1471. description: 申请人
  1472. type: string
  1473. applyname:
  1474. description: 申请人名称
  1475. type: string
  1476. applystatus:
  1477. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1478. type: integer
  1479. applytime:
  1480. description: 申请时间
  1481. type: string
  1482. attachurl:
  1483. description: 附件
  1484. type: string
  1485. auditid:
  1486. description: 审核人ID
  1487. type: string
  1488. auditname:
  1489. description: 审核人名称
  1490. type: string
  1491. auditremark:
  1492. description: 审核备注
  1493. type: string
  1494. audittime:
  1495. description: 审核时间
  1496. type: string
  1497. buyusername:
  1498. description: 采购方名称
  1499. type: string
  1500. contractno:
  1501. description: 合同编号
  1502. type: string
  1503. contractstatus:
  1504. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1505. type: integer
  1506. contracttype:
  1507. description: 现货合同类型 - 1:采购 -1:销售
  1508. type: integer
  1509. deliverygoodscode:
  1510. description: 现货品种代码
  1511. type: string
  1512. deliverygoodsid:
  1513. description: 现货商品ID
  1514. type: integer
  1515. deliverygoodsname:
  1516. description: 现货品种名称
  1517. type: string
  1518. enumdicname:
  1519. description: 单位名称
  1520. type: string
  1521. goodscode:
  1522. description: 点价合约
  1523. type: string
  1524. goodsname:
  1525. description: 商品名称
  1526. type: string
  1527. operateapplyid:
  1528. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1529. type: string
  1530. operateapplytype:
  1531. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1532. type: integer
  1533. pricemove:
  1534. description: 升贴水
  1535. type: number
  1536. pricetype:
  1537. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1538. type: integer
  1539. reckontype:
  1540. description: 结算类型
  1541. type: string
  1542. reckonvalue:
  1543. description: 值
  1544. type: number
  1545. relatedid:
  1546. description: 现货合同ID
  1547. type: string
  1548. sellusername:
  1549. description: 销售方名字
  1550. type: string
  1551. userid:
  1552. description: 用户ID
  1553. type: integer
  1554. wrstandardcode:
  1555. description: 品类代码
  1556. type: string
  1557. wrstandardid:
  1558. description: 品类id
  1559. type: integer
  1560. wrstandardname:
  1561. description: 品类名称
  1562. type: string
  1563. type: object
  1564. ermcp.QryBussinessJsRsp:
  1565. properties:
  1566. addmargin:
  1567. description: 追加保证金(非必填)
  1568. type: number
  1569. applyid:
  1570. description: 申请人
  1571. type: string
  1572. applyname:
  1573. description: 申请人名称
  1574. type: string
  1575. applystatus:
  1576. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1577. type: integer
  1578. applytime:
  1579. description: 申请时间
  1580. type: string
  1581. attachurl:
  1582. description: 附件
  1583. type: string
  1584. auditid:
  1585. description: 审核人ID
  1586. type: string
  1587. auditname:
  1588. description: 审核人名称
  1589. type: string
  1590. auditremark:
  1591. description: 审核备注
  1592. type: string
  1593. audittime:
  1594. description: 审核时间
  1595. type: string
  1596. buyusername:
  1597. description: 采购方名称
  1598. type: string
  1599. contractno:
  1600. description: 合同编号
  1601. type: string
  1602. contractstatus:
  1603. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1604. type: integer
  1605. contracttype:
  1606. description: 现货合同类型 - 1:采购 -1:销售
  1607. type: integer
  1608. decmargin:
  1609. description: 减少保证金(非必填)
  1610. type: number
  1611. deliverygoodscode:
  1612. description: 现货品种代码
  1613. type: string
  1614. deliverygoodsid:
  1615. description: 现货商品ID
  1616. type: integer
  1617. deliverygoodsname:
  1618. description: 现货品种名称
  1619. type: string
  1620. enumdicname:
  1621. description: 单位名称
  1622. type: string
  1623. goodscode:
  1624. description: 点价合约
  1625. type: string
  1626. goodsname:
  1627. description: 商品名称
  1628. type: string
  1629. operateapplyid:
  1630. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1631. type: string
  1632. operateapplytype:
  1633. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1634. type: integer
  1635. pricemove:
  1636. description: 升贴水
  1637. type: number
  1638. pricetype:
  1639. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1640. type: integer
  1641. reckonadjustamount:
  1642. description: 结算调整金额(非必填)
  1643. type: number
  1644. reckonosamount:
  1645. description: 结算溢短金额(非必填)
  1646. type: number
  1647. reckonotheramount:
  1648. description: 结算其他费用(非必填)
  1649. type: number
  1650. reckonrealqty:
  1651. description: 结算实际数量(非必填)
  1652. type: number
  1653. relatedid:
  1654. description: 现货合同ID
  1655. type: string
  1656. sellusername:
  1657. description: 销售方名字
  1658. type: string
  1659. userid:
  1660. description: 用户ID
  1661. type: integer
  1662. wrstandardcode:
  1663. description: 品类代码
  1664. type: string
  1665. wrstandardid:
  1666. description: 品类id
  1667. type: integer
  1668. wrstandardname:
  1669. description: 品类名称
  1670. type: string
  1671. type: object
  1672. ermcp.QryBussinessKxRsp:
  1673. properties:
  1674. applyid:
  1675. description: 申请人
  1676. type: string
  1677. applyname:
  1678. description: 申请人名称
  1679. type: string
  1680. applystatus:
  1681. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1682. type: integer
  1683. applytime:
  1684. description: 申请时间
  1685. type: string
  1686. attachurl:
  1687. description: 附件
  1688. type: string
  1689. auditid:
  1690. description: 审核人ID
  1691. type: string
  1692. auditname:
  1693. description: 审核人名称
  1694. type: string
  1695. auditremark:
  1696. description: 审核备注
  1697. type: string
  1698. audittime:
  1699. description: 审核时间
  1700. type: string
  1701. buyusername:
  1702. description: 采购方名称
  1703. type: string
  1704. contractno:
  1705. description: 合同编号
  1706. type: string
  1707. contractstatus:
  1708. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1709. type: integer
  1710. contracttype:
  1711. description: 现货合同类型 - 1:采购 -1:销售
  1712. type: integer
  1713. deductamount:
  1714. description: 退款(非必填)
  1715. type: number
  1716. deliverygoodscode:
  1717. description: 现货品种代码
  1718. type: string
  1719. deliverygoodsid:
  1720. description: 现货商品ID
  1721. type: integer
  1722. deliverygoodsname:
  1723. description: 现货品种名称
  1724. type: string
  1725. enumdicname:
  1726. description: 单位名称
  1727. type: string
  1728. goodscode:
  1729. description: 点价合约
  1730. type: string
  1731. goodsname:
  1732. description: 商品名称
  1733. type: string
  1734. kxtype:
  1735. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1736. type: integer
  1737. operateapplyid:
  1738. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1739. type: string
  1740. operateapplytype:
  1741. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1742. type: integer
  1743. payamount:
  1744. description: 收付款(非必填)
  1745. type: number
  1746. pricemove:
  1747. description: 升贴水
  1748. type: number
  1749. pricetype:
  1750. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1751. type: integer
  1752. relatedid:
  1753. description: 现货合同ID
  1754. type: string
  1755. sellusername:
  1756. description: 销售方名字
  1757. type: string
  1758. userid:
  1759. description: 用户ID
  1760. type: integer
  1761. wrstandardcode:
  1762. description: 品类代码
  1763. type: string
  1764. wrstandardid:
  1765. description: 品类id
  1766. type: integer
  1767. wrstandardname:
  1768. description: 品类名称
  1769. type: string
  1770. type: object
  1771. ermcp.QryGGCovertCfgRsp:
  1772. properties:
  1773. convertratio:
  1774. description: 折算系数
  1775. type: number
  1776. destgoodsgroupid:
  1777. description: 目标品种ID
  1778. type: integer
  1779. dstcode:
  1780. description: 目录品种代码
  1781. type: string
  1782. dstexchangecode:
  1783. description: 目标期货交易所
  1784. type: string
  1785. dstname:
  1786. description: 目标品种名称
  1787. type: string
  1788. dstunitid:
  1789. description: 目标品种单位ID
  1790. type: integer
  1791. dstunitidname:
  1792. description: 目标品种单位名称
  1793. type: string
  1794. modifytime:
  1795. description: 修改时间
  1796. type: string
  1797. srccode:
  1798. description: 源品种代码
  1799. type: string
  1800. srcexchangecode:
  1801. description: 源期货交易所
  1802. type: string
  1803. srcgoodsgroupid:
  1804. description: 源品种ID
  1805. type: integer
  1806. srcname:
  1807. description: 源品种名称
  1808. type: string
  1809. srcunitid:
  1810. description: 源品种单位ID
  1811. type: integer
  1812. srcunitidname:
  1813. description: 源品种单位名称
  1814. type: string
  1815. type: object
  1816. ermcp.QryMGChangeLogRsp:
  1817. properties:
  1818. aftervalue:
  1819. description: 变更后
  1820. type: number
  1821. applyid:
  1822. description: 操作人
  1823. type: integer
  1824. applyname:
  1825. description: 操作人名称
  1826. type: string
  1827. applysrc:
  1828. description: 操作来源 - 1:管理端 2:终端
  1829. type: integer
  1830. beforevalue:
  1831. description: 变更前
  1832. type: number
  1833. changelogtype:
  1834. description: 变更流水类型 - 1:套保比率变更
  1835. type: integer
  1836. handlestatus:
  1837. description: 处理状态
  1838. type: integer
  1839. logdatetime:
  1840. description: 流水日期
  1841. type: string
  1842. logid:
  1843. description: 流水ID
  1844. type: integer
  1845. logremark:
  1846. description: 流水备注
  1847. type: string
  1848. middlegoodsid:
  1849. description: 套保品种ID
  1850. type: integer
  1851. tradedate:
  1852. description: 交易日(yyyyMMdd)
  1853. type: string
  1854. updatetime:
  1855. description: 更新时间
  1856. type: string
  1857. type: object
  1858. ermcp.QryMiddleGoodsDetailRsp:
  1859. properties:
  1860. cvList:
  1861. description: 期货品种折算列表
  1862. items:
  1863. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1864. type: array
  1865. mg:
  1866. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1867. description: 套保品种基本信息
  1868. wrcList:
  1869. description: 现货品种列表(现货商品折算配置)
  1870. items:
  1871. $ref: '#/definitions/models.WRSConverTDetail'
  1872. type: array
  1873. type: object
  1874. ermcp.QryMiddleGoodsRsp:
  1875. properties:
  1876. areauserid:
  1877. description: 机构用户ID
  1878. type: integer
  1879. createtime:
  1880. description: 修改时间
  1881. type: string
  1882. enumdicname:
  1883. description: 单位名称
  1884. type: string
  1885. evaluateratio:
  1886. description: 估价系数
  1887. type: number
  1888. goodsgroupid:
  1889. description: 关联期货品种ID
  1890. type: integer
  1891. goodsunitid:
  1892. description: 单位ID
  1893. type: integer
  1894. isvalid:
  1895. description: 状态 0-无效(停用) 1-有效(正常)
  1896. type: integer
  1897. middlegoodscode:
  1898. description: 套保品种代码
  1899. type: string
  1900. middlegoodsid:
  1901. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  1902. type: integer
  1903. middlegoodsname:
  1904. description: 套保品种名称
  1905. type: string
  1906. modifytime:
  1907. description: 修改时间
  1908. type: string
  1909. needarbitrageratio:
  1910. description: 套利比例
  1911. type: number
  1912. needhedgeratio:
  1913. description: 套保比率
  1914. type: number
  1915. qtydecimalplace:
  1916. description: 数量小数位
  1917. type: integer
  1918. relatedgoodsid:
  1919. description: 关联交易商品ID
  1920. type: integer
  1921. relatedgoodstype:
  1922. description: 关联商品类型 - 1:期货合约 2:现货品种
  1923. type: integer
  1924. remark:
  1925. description: 备注
  1926. type: string
  1927. type: object
  1928. ermcp.QryOPLogRsp:
  1929. properties:
  1930. aftervalue:
  1931. description: 变更后
  1932. type: number
  1933. applyid:
  1934. description: 操作人ID
  1935. type: string
  1936. applyname:
  1937. description: 操作人名称
  1938. type: string
  1939. beforevalue:
  1940. description: 变更前
  1941. type: number
  1942. biztype:
  1943. description: 业务类型 - 1:套保计划 2:现货合同
  1944. type: integer
  1945. contracttype:
  1946. description: 现货合同类型 - 1:采购 -1:销售
  1947. type: integer
  1948. logvalue:
  1949. description: 数值
  1950. type: number
  1951. operatelogtype:
  1952. description: 操作流水类型
  1953. type: integer
  1954. operatelogtypedesc:
  1955. description: 操作流水类型名称
  1956. type: string
  1957. relatedid:
  1958. description: 现货合同ID\套保计划
  1959. type: string
  1960. updatetime:
  1961. description: 更新时间
  1962. type: string
  1963. type: object
  1964. ermcp.QryUserInfoRsp:
  1965. properties:
  1966. address:
  1967. description: 通讯地址
  1968. type: string
  1969. attachment1:
  1970. description: 附件1
  1971. type: string
  1972. audittime:
  1973. description: 审核时间
  1974. type: string
  1975. cardbackphotourl:
  1976. description: 证件反面图片地址
  1977. type: string
  1978. cardfrontphotourl:
  1979. description: 证件正面图片地址
  1980. type: string
  1981. cardnum:
  1982. description: 证件号码
  1983. type: string
  1984. cardtype:
  1985. description: 证件类型
  1986. type: integer
  1987. cardtypename:
  1988. description: 证件类型名称
  1989. type: string
  1990. cityid:
  1991. description: 市
  1992. type: integer
  1993. contactname:
  1994. description: 联系人
  1995. type: string
  1996. countryid:
  1997. description: 国家
  1998. type: integer
  1999. createtime:
  2000. description: 创建时间
  2001. type: string
  2002. customername:
  2003. description: 企业名称
  2004. type: string
  2005. districtid:
  2006. description: 区域
  2007. type: integer
  2008. email:
  2009. description: 邮件
  2010. type: string
  2011. legalpersonname:
  2012. description: 法人姓名(企业)
  2013. type: string
  2014. memberuserid:
  2015. description: 所属机构ID
  2016. type: integer
  2017. mobile:
  2018. description: 手机号码
  2019. type: string
  2020. modifytime:
  2021. description: 修改时间
  2022. type: string
  2023. nickname:
  2024. description: 昵称
  2025. type: string
  2026. provinceid:
  2027. description: 省
  2028. type: integer
  2029. remark:
  2030. description: 备注
  2031. type: string
  2032. status:
  2033. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  2034. type: integer
  2035. statusdesc:
  2036. description: 账户状态中文描述
  2037. type: string
  2038. taxpayernum:
  2039. description: 纳税人识别号
  2040. type: string
  2041. telphone:
  2042. description: 联系电话
  2043. type: string
  2044. userid:
  2045. description: 用户ID
  2046. type: integer
  2047. userinfotype:
  2048. description: 客户类型
  2049. type: string
  2050. type: object
  2051. ermcp.QryWarehouseRsp:
  2052. properties:
  2053. address:
  2054. description: 详细地址
  2055. type: string
  2056. areauserid:
  2057. description: 所属机构
  2058. type: integer
  2059. autoid:
  2060. description: 自增ID(仓库ID)
  2061. type: integer
  2062. cityid:
  2063. description: 市
  2064. type: integer
  2065. contactname:
  2066. description: 联系人
  2067. type: string
  2068. contactnum:
  2069. description: 联系电话
  2070. type: string
  2071. countryid:
  2072. description: 国家
  2073. type: integer
  2074. createtime:
  2075. description: 创建时间
  2076. type: string
  2077. districtid:
  2078. description: 区
  2079. type: integer
  2080. hasvideo:
  2081. description: 是否有视频 - 0:无 1:有
  2082. type: integer
  2083. provinceid:
  2084. description: 省
  2085. type: integer
  2086. remark:
  2087. description: 审核备注
  2088. type: string
  2089. videourl:
  2090. description: 视频地址
  2091. type: string
  2092. warehousecode:
  2093. description: 仓库代码
  2094. type: string
  2095. warehousename:
  2096. description: 仓库名称
  2097. type: string
  2098. warehousestatus:
  2099. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  2100. type: integer
  2101. warehousetype:
  2102. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  2103. type: integer
  2104. type: object
  2105. ermcp.QueryErmcpTradePositionRsp:
  2106. properties:
  2107. agreeunit:
  2108. description: 合约单位
  2109. type: number
  2110. buyorsell:
  2111. description: 方向 - 0:买 1:卖
  2112. type: integer
  2113. curpositionqty:
  2114. description: 持仓(总仓数量, 期末头寸)
  2115. type: integer
  2116. curtdposition:
  2117. description: 今仓数量(期末今日头寸)
  2118. type: integer
  2119. curtdpositionenabled:
  2120. description: 今仓可用
  2121. type: integer
  2122. decimalplace:
  2123. description: 报价小数位
  2124. type: integer
  2125. enableqty:
  2126. description: 可用(总仓可用)
  2127. type: integer
  2128. exexchangename:
  2129. description: 外部交易所名称
  2130. type: string
  2131. exexehangecode:
  2132. description: 外部交易所代码
  2133. type: string
  2134. exexehangeid:
  2135. description: 外部交易所id
  2136. type: integer
  2137. goodscode:
  2138. description: 商品代码(内部)
  2139. type: string
  2140. goodsid:
  2141. description: 商品ID(自增ID SEQ_GOODS)
  2142. type: integer
  2143. goodsname:
  2144. description: 商品名称
  2145. type: string
  2146. last:
  2147. description: 现价
  2148. type: number
  2149. marketid:
  2150. description: 所属市场ID
  2151. type: integer
  2152. openaverageprice:
  2153. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  2154. type: number
  2155. opencost:
  2156. description: 开仓成本
  2157. type: number
  2158. openpl:
  2159. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  2160. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2161. type: number
  2162. outgoodscode:
  2163. description: 商品代码(外部)
  2164. type: string
  2165. positionaverageprice:
  2166. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  2167. type: number
  2168. positioncost:
  2169. description: 持仓成本
  2170. type: number
  2171. positionpl:
  2172. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  2173. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2174. type: number
  2175. positionplrate:
  2176. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  2177. type: number
  2178. usedmargin:
  2179. description: 占用保证金
  2180. type: number
  2181. type: object
  2182. ermcp.RealtimeExposurePositionRsp:
  2183. properties:
  2184. agreeunit:
  2185. description: 合约单位
  2186. type: string
  2187. areauserid:
  2188. description: 所属机构id
  2189. type: integer
  2190. convertratio:
  2191. description: 期货品种系数(折算系数)
  2192. type: number
  2193. curqty:
  2194. description: 当前持仓
  2195. type: integer
  2196. diffhedgeqty:
  2197. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  2198. type: number
  2199. diffqty:
  2200. description: 持仓变动量=当前持仓-昨日持仓
  2201. type: integer
  2202. goodscode:
  2203. description: 商品代码
  2204. type: string
  2205. goodsid:
  2206. description: 商品id
  2207. type: integer
  2208. goodsname:
  2209. description: 商品名称
  2210. type: string
  2211. middlegoodsid:
  2212. description: 套保商品id
  2213. type: integer
  2214. ydqty:
  2215. description: 昨日持仓
  2216. type: integer
  2217. type: object
  2218. ermcp.RealtimeExposureRsp:
  2219. properties:
  2220. AreaUserID:
  2221. description: 所属机构
  2222. type: integer
  2223. BuyFutureQty:
  2224. description: 买入期货数量
  2225. type: number
  2226. BuyPlanQty:
  2227. description: 采购计划数量
  2228. type: number
  2229. BuyPricedQty:
  2230. description: 采购合同已定价数量
  2231. type: number
  2232. MiddleGoodsCode:
  2233. description: 套保品种代码
  2234. type: string
  2235. MiddleGoodsHedgeRatio:
  2236. description: 套保比例
  2237. type: number
  2238. MiddleGoodsID:
  2239. description: 套保品种
  2240. type: integer
  2241. MiddleGoodsName:
  2242. description: 套保品种名称
  2243. type: string
  2244. NeedHedgeExposoure:
  2245. description: 应套保敞口(套保敞口)
  2246. type: number
  2247. NeedHedgeRatio:
  2248. description: 应套保敞口比例
  2249. type: number
  2250. OriBuyFutureQty:
  2251. description: 期初买入期货数量
  2252. type: number
  2253. OriBuyPlanQty:
  2254. description: 期初采购计划数量
  2255. type: number
  2256. OriBuyPricedQty:
  2257. description: 期初采购合同已定价数量
  2258. type: number
  2259. OriSellFutureQty:
  2260. description: 期初卖出期货数量
  2261. type: number
  2262. OriSellPlanQty:
  2263. description: 期初销售计划数量
  2264. type: number
  2265. OriSellPricedQty:
  2266. description: 期初销售合同已定价数量
  2267. type: number
  2268. OriTotalSpotQty:
  2269. description: 期初现货总量
  2270. type: number
  2271. SellFutureQty:
  2272. description: 卖出期货数量
  2273. type: number
  2274. SellPlanQty:
  2275. description: 销售计划数量
  2276. type: number
  2277. SellPricedQty:
  2278. description: 销售合同已定价数量
  2279. type: number
  2280. TotalExposure:
  2281. description: 总敞口 平安:净敞口
  2282. type: number
  2283. TotalFutureQty:
  2284. description: 期货总量 平安:保值净持仓量
  2285. type: number
  2286. TotalHedgeRatio:
  2287. description: 敞口比例
  2288. type: number
  2289. TotalNeedHedgeQty:
  2290. description: 应套保总量(现货应套保总量)
  2291. type: number
  2292. TotalSpotQty:
  2293. description: 现货总量 平安:采销定价净值
  2294. type: number
  2295. arbitrageqty:
  2296. description: 套利量
  2297. type: number
  2298. diffArbitrageQty:
  2299. description: 套利变动量
  2300. type: number
  2301. diffExposoureQty:
  2302. description: 变动量(套保敞口)
  2303. type: number
  2304. diffFutuQty:
  2305. description: 变动量(期货总量) 平安:保值净持仓量今日变动
  2306. type: number
  2307. diffHedgeQty:
  2308. description: 套保变动量
  2309. type: number
  2310. diffQty:
  2311. description: 变动量(总敞口) 平安:净敞口今日变动
  2312. type: number
  2313. diffSpotHedgeQty:
  2314. description: 变动量(现货应套保总量) 平安:应套保量今日变动
  2315. type: number
  2316. diffSpotQty:
  2317. description: 变动量(现货总量) = 现货数量 - 期初现货数量 平安:采销定价净值今日变动
  2318. type: number
  2319. enumdicname:
  2320. description: 单位名称
  2321. type: string
  2322. hedgeqty:
  2323. description: 套保量
  2324. type: number
  2325. needarbitrageqty:
  2326. description: 应套利量
  2327. type: number
  2328. needarbitrageratio:
  2329. description: 套利比例
  2330. type: number
  2331. needhedgeqty:
  2332. description: 应套保量
  2333. type: number
  2334. oriarbitrageqty:
  2335. description: 期初套利量
  2336. type: number
  2337. orihedgeqty:
  2338. description: 期初套保量
  2339. type: number
  2340. orineedhedgeexposoure:
  2341. description: 期初套保敞口
  2342. type: number
  2343. oritotalexposure:
  2344. description: 期初总敞口
  2345. type: number
  2346. oritotalfutureqty:
  2347. description: 期初期货总量
  2348. type: number
  2349. oritotalneedhedgeqty:
  2350. description: 期初现货应套保量
  2351. type: number
  2352. type: object
  2353. erms2.QueryArbitrageStrategyRsp:
  2354. properties:
  2355. applybasis:
  2356. description: 申请基差
  2357. type: number
  2358. asapplyid:
  2359. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  2360. type: string
  2361. asname:
  2362. description: 策略名称
  2363. type: string
  2364. asno:
  2365. description: 策略编号
  2366. type: string
  2367. basischangepl:
  2368. description: 基差变动损益[结算更新]
  2369. type: number
  2370. biztype:
  2371. description: 业务类型 - 1:正向套利 -1:反向套利
  2372. type: integer
  2373. closetradedate:
  2374. description: 完结交易日(yyyyMMdd)
  2375. type: string
  2376. curbasis:
  2377. description: 当前基差[结算更新]
  2378. type: number
  2379. deliverygoodsid:
  2380. description: 现货品种ID
  2381. type: integer
  2382. futureavgprice:
  2383. description: 期货建仓均价
  2384. type: number
  2385. futurecloseamount:
  2386. description: 期货平仓金额
  2387. type: number
  2388. futurecloseqty:
  2389. description: 期货平仓数量
  2390. type: number
  2391. futureopenamount:
  2392. description: 期货开仓金额
  2393. type: number
  2394. futureopenqty:
  2395. description: 期货开仓数量
  2396. type: number
  2397. futurepl:
  2398. description: 期货总盈亏[结算更新]
  2399. type: number
  2400. futureqty:
  2401. description: 期货持仓数量
  2402. type: number
  2403. futurequote:
  2404. description: 期货额度
  2405. type: number
  2406. goodsgroupid:
  2407. description: 期货品种ID
  2408. type: integer
  2409. marketid:
  2410. description: 市场ID
  2411. type: integer
  2412. netexposure:
  2413. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  2414. type: number
  2415. netexposurepl:
  2416. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  2417. type: number
  2418. netexposurerate:
  2419. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  2420. type: number
  2421. openbasis:
  2422. description: 建仓基差
  2423. type: number
  2424. pricedspotqty:
  2425. description: 已定价现货数量
  2426. type: number
  2427. pricedspotqtynotax:
  2428. description: 已定价现货不含税数量
  2429. type: number
  2430. remark:
  2431. description: 备注
  2432. type: string
  2433. spotavgprice:
  2434. description: 现货均价
  2435. type: number
  2436. spotbuyamount:
  2437. description: 现货采购金额
  2438. type: number
  2439. spotbuyqty:
  2440. description: 现货采购数量
  2441. type: number
  2442. spotpl:
  2443. description: 现货总盈亏[结算更新]
  2444. type: number
  2445. spotquota:
  2446. description: 现货额度
  2447. type: number
  2448. spotsellamount:
  2449. description: 现货销售金额
  2450. type: number
  2451. spotsellqty:
  2452. description: 现货销售数量
  2453. type: number
  2454. spotusedquota:
  2455. description: 现货占用资金
  2456. type: number
  2457. strategystatus:
  2458. description: 策略状态 - 0:未结束 1:已结束
  2459. type: integer
  2460. totalpl:
  2461. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  2462. type: number
  2463. tradedate:
  2464. description: 交易日(yyyyMMdd)
  2465. type: string
  2466. updatetime:
  2467. description: 更新时间
  2468. type: string
  2469. usedquota:
  2470. description: 已占用资金
  2471. type: number
  2472. userid:
  2473. description: 所属机构
  2474. type: integer
  2475. required:
  2476. - asapplyid
  2477. type: object
  2478. erms2.QueryInnerTradeDetailRsp:
  2479. properties:
  2480. accountid:
  2481. description: 账号ID
  2482. type: integer
  2483. agreeunit:
  2484. description: 合约单位
  2485. type: number
  2486. asapplyid:
  2487. description: 策略申请ID
  2488. type: integer
  2489. asname:
  2490. description: 策略名称
  2491. type: string
  2492. asno:
  2493. description: 策略编号
  2494. type: string
  2495. buyorsell:
  2496. description: 方向 - 0:买 1:卖
  2497. type: integer
  2498. channelbuildtype:
  2499. description: 委托单据类型 0:无 1:建仓 2:平仓
  2500. type: integer
  2501. closetype:
  2502. description: 平仓方式 - 0:无 1:平今 2:平昨
  2503. type: integer
  2504. decimalplace:
  2505. description: 报价小数位
  2506. type: integer
  2507. detailtype:
  2508. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  2509. type: integer
  2510. exexchangecode:
  2511. description: 外部交易所代码
  2512. type: string
  2513. exexchangename:
  2514. description: 外部交易所名称
  2515. type: string
  2516. goodscode:
  2517. description: 商品代码(合约)
  2518. type: string
  2519. goodsgroupid:
  2520. description: 商品组ID(品种ID)
  2521. type: integer
  2522. goodsgroupname:
  2523. description: 商品组名称(品种)
  2524. type: string
  2525. goodsid:
  2526. description: 商品ID
  2527. type: integer
  2528. goodsname:
  2529. description: 商品名称(合约)
  2530. type: string
  2531. goodunit:
  2532. description: 报价单位
  2533. type: string
  2534. marketid:
  2535. description: 市场ID
  2536. type: integer
  2537. orderid:
  2538. description: 委托单号
  2539. type: string
  2540. outgoodscode:
  2541. description: 商品代码(外部)
  2542. type: string
  2543. relatedouttradeid:
  2544. description: 关联外部成交单ID
  2545. type: string
  2546. remark:
  2547. description: 备注
  2548. type: string
  2549. spotcontractid:
  2550. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  2551. type: integer
  2552. spotcontractno:
  2553. description: 现货合同编号
  2554. type: string
  2555. tradeid:
  2556. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2557. type: string
  2558. tradeprice:
  2559. description: 成交价格
  2560. type: number
  2561. tradeqty:
  2562. description: 成交数量
  2563. type: integer
  2564. tradetime:
  2565. description: 成交时间
  2566. type: string
  2567. updatetime:
  2568. description: 更新时间
  2569. type: string
  2570. required:
  2571. - asapplyid
  2572. - buyorsell
  2573. - goodscode
  2574. - goodsgroupid
  2575. - goodsgroupname
  2576. - goodsname
  2577. - tradeid
  2578. type: object
  2579. erms2.QuerySpotContractRsp:
  2580. properties:
  2581. accountid:
  2582. description: 资金账户ID
  2583. type: integer
  2584. areauserid:
  2585. description: 所属机构
  2586. type: integer
  2587. closedate:
  2588. description: 终止日期
  2589. type: string
  2590. closeremark:
  2591. description: 结束备注
  2592. type: string
  2593. closetradedate:
  2594. description: 完结交易日(yyyyMMdd)
  2595. type: string
  2596. closetype:
  2597. description: 终止类型 - 1:违约 2:提前终止
  2598. type: integer
  2599. contractamount:
  2600. description: 合同金额
  2601. type: number
  2602. contractattachment:
  2603. description: 合同附件
  2604. type: string
  2605. contractno:
  2606. description: 现货合同编号
  2607. type: string
  2608. contractqty:
  2609. description: 合同数量(数值) (用于计算)
  2610. type: number
  2611. contractqtychar:
  2612. description: 合同数量\已订价数量 (用于显示)
  2613. type: string
  2614. contractstatus:
  2615. description: 合同状态 - 0:未结束 1:已结束
  2616. type: integer
  2617. contracttype:
  2618. description: 现货合同类型 - 1:采购合同 -1:销售合同
  2619. type: integer
  2620. customeraccountid:
  2621. description: 客户资金账户ID
  2622. type: integer
  2623. customeruserid:
  2624. description: 客户ID
  2625. type: integer
  2626. deliverygoodsdesc:
  2627. description: 品种说明
  2628. type: string
  2629. deliverygoodsid:
  2630. description: 现货品种ID
  2631. type: integer
  2632. handlestatus:
  2633. description: 处理状态
  2634. type: integer
  2635. invoiceatt:
  2636. description: 发票附件
  2637. type: string
  2638. invoicedatetime:
  2639. description: 开收票更新时间
  2640. type: string
  2641. invoiceopentime:
  2642. description: 开票时间
  2643. type: string
  2644. invoiceremark:
  2645. description: 发票备注
  2646. type: string
  2647. invoicestatus:
  2648. description: 开收票状态 - 0:未开票 1:已开票
  2649. type: integer
  2650. lastdate:
  2651. description: 交货时间
  2652. type: string
  2653. marketid:
  2654. description: 市场ID
  2655. type: integer
  2656. paydatetime:
  2657. description: 收付款更新时间
  2658. type: string
  2659. payremark:
  2660. description: 收付款备注
  2661. type: string
  2662. paystatus:
  2663. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  2664. type: integer
  2665. positionqty:
  2666. description: 头寸数量 - 合同数量去小数部分
  2667. type: integer
  2668. producttype:
  2669. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2670. type: integer
  2671. relatedqty:
  2672. description: 已关联数量
  2673. type: number
  2674. relatedstatus:
  2675. description: 关联完结状态 - 0:未结束 1:已结束
  2676. type: integer
  2677. remark:
  2678. description: 备注
  2679. type: string
  2680. signdate:
  2681. description: 签订日期
  2682. type: string
  2683. spotcontractid:
  2684. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  2685. type: string
  2686. spotdatetime:
  2687. description: 收发货更新时间
  2688. type: string
  2689. spotprice:
  2690. description: 价格
  2691. type: number
  2692. spotremark:
  2693. description: 收发货备注
  2694. type: string
  2695. spotstatus:
  2696. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  2697. type: integer
  2698. tradedate:
  2699. description: 交易日(yyyyMMdd)
  2700. type: string
  2701. userid:
  2702. description: 业务员用户ID
  2703. type: integer
  2704. warehouseid:
  2705. description: 仓库ID
  2706. type: integer
  2707. wrfactortypeid:
  2708. description: 仓单要素类型ID
  2709. type: integer
  2710. wrstandardid:
  2711. description: 仓单标准ID(SEQ_WRSTANDARD)
  2712. type: integer
  2713. required:
  2714. - spotcontractid
  2715. type: object
  2716. erms3.AddErms2ASApplyReq:
  2717. properties:
  2718. applybasis:
  2719. description: 申请基差
  2720. type: number
  2721. applystatus:
  2722. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2723. type: integer
  2724. asapplyid:
  2725. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  2726. type: integer
  2727. asname:
  2728. description: 策略名称
  2729. type: string
  2730. asno:
  2731. description: 策略编号
  2732. type: string
  2733. auditid:
  2734. description: 审核人
  2735. type: integer
  2736. auditremark:
  2737. description: 审核备注
  2738. type: string
  2739. audittime:
  2740. description: 审核时间
  2741. type: string
  2742. biztype:
  2743. description: 业务类型 - 1:正向套利 2:反向套利
  2744. type: integer
  2745. createtime:
  2746. description: 创建时间
  2747. type: string
  2748. creatorid:
  2749. description: 创建人
  2750. type: integer
  2751. deliverygoodsid:
  2752. description: 现货品种ID
  2753. type: integer
  2754. futurequote:
  2755. description: 期货额度
  2756. type: number
  2757. goodsgroupid:
  2758. description: 期货品种ID
  2759. type: integer
  2760. marketid:
  2761. description: 市场ID
  2762. type: integer
  2763. remark:
  2764. description: 备注
  2765. type: string
  2766. spotquota:
  2767. description: 现货额度
  2768. type: number
  2769. tradedate:
  2770. description: 交易日(yyyyMMdd)
  2771. type: string
  2772. userid:
  2773. description: 所属机构
  2774. type: integer
  2775. required:
  2776. - asapplyid
  2777. type: object
  2778. erms3.AddErms2SpotTradeApplyReq:
  2779. properties:
  2780. applyjsondetail:
  2781. description: 申请明细(JSON)
  2782. type: string
  2783. applystatus:
  2784. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2785. type: integer
  2786. areauserid:
  2787. description: 所属机构
  2788. type: integer
  2789. auditid:
  2790. description: 审核人
  2791. type: integer
  2792. auditremark:
  2793. description: 审核备注
  2794. type: string
  2795. audittime:
  2796. description: 审核时间
  2797. type: string
  2798. createtime:
  2799. description: 创建时间
  2800. type: string
  2801. creatorid:
  2802. description: 创建人
  2803. type: integer
  2804. deliverygoodsid:
  2805. description: 现货品种ID
  2806. type: integer
  2807. futureaccountid:
  2808. description: 期货资金账户
  2809. type: integer
  2810. goodsgroupid:
  2811. description: 期货品种
  2812. type: integer
  2813. marketid:
  2814. description: 市场ID
  2815. type: integer
  2816. remark:
  2817. description: 备注
  2818. type: string
  2819. spotaccountid:
  2820. description: 现货资金账户
  2821. type: integer
  2822. spottradeid:
  2823. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  2824. type: integer
  2825. spottradename:
  2826. description: 业务名称
  2827. type: string
  2828. spottradeno:
  2829. description: 业务编号
  2830. type: string
  2831. tradedate:
  2832. description: 交易日(yyyyMMdd)
  2833. type: string
  2834. wrstandardid:
  2835. description: 仓单标准ID
  2836. type: integer
  2837. required:
  2838. - spottradeid
  2839. type: object
  2840. erms3.AddSpotContractApplyReq:
  2841. properties:
  2842. accountid:
  2843. description: 资金账户ID
  2844. type: integer
  2845. areauserid:
  2846. description: 所属机构
  2847. type: integer
  2848. contractattachment:
  2849. description: 合同附件
  2850. type: string
  2851. contractno:
  2852. description: 现货合同编号
  2853. type: string
  2854. contracttype:
  2855. description: 现货合同类型 - 1:采购 -1:销售
  2856. type: integer
  2857. creatorid:
  2858. description: 申请人
  2859. type: integer
  2860. customeraccountid:
  2861. description: 客户资金账户ID
  2862. type: integer
  2863. customeruserid:
  2864. description: 客户ID
  2865. type: integer
  2866. details:
  2867. description: 明细
  2868. items:
  2869. $ref: '#/definitions/erms3.SoptContractDetail'
  2870. type: array
  2871. orimargin:
  2872. description: 初始保证金
  2873. type: number
  2874. remark:
  2875. description: 备注
  2876. type: string
  2877. signdate:
  2878. description: 签订日期
  2879. type: string
  2880. required:
  2881. - accountid
  2882. - areauserid
  2883. - contractno
  2884. - contracttype
  2885. - customeraccountid
  2886. - customeruserid
  2887. - details
  2888. - orimargin
  2889. - signdate
  2890. type: object
  2891. erms3.AddSpotContractApplyRsp:
  2892. properties:
  2893. contractno:
  2894. description: 现货合同编号
  2895. type: string
  2896. spotcontractid:
  2897. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2898. type: integer
  2899. required:
  2900. - contractno
  2901. type: object
  2902. erms3.AddUserInfoApplyReq:
  2903. properties:
  2904. accountid:
  2905. description: 交易系统帐号Id (加密存储)
  2906. type: integer
  2907. areacode:
  2908. description: 机构代码
  2909. type: string
  2910. areaid:
  2911. description: 机构Id
  2912. type: integer
  2913. attachment1:
  2914. description: 附件1
  2915. type: string
  2916. attachment2:
  2917. description: 附件2
  2918. type: string
  2919. attachment3:
  2920. description: 附件3
  2921. type: string
  2922. attachment4:
  2923. description: 附件4
  2924. type: string
  2925. attachment5:
  2926. description: 附件5
  2927. type: string
  2928. auditedby:
  2929. description: 审核人
  2930. type: string
  2931. auditime:
  2932. description: 审核时间
  2933. type: string
  2934. auditsrc:
  2935. description: 审核来源 - 1:管理端 2:终端
  2936. type: integer
  2937. bankaccount:
  2938. description: 银行帐号 (加密存储)
  2939. type: string
  2940. bankaccountname:
  2941. description: 收款人名称
  2942. type: string
  2943. bankcardbackphotourl:
  2944. description: 银行卡背面照地址
  2945. type: string
  2946. bankcardfrontphotourl:
  2947. description: 银行卡正面照地址
  2948. type: string
  2949. bankid:
  2950. description: 银行编码
  2951. type: string
  2952. bankname:
  2953. description: 银行名称
  2954. type: string
  2955. bankpictureurl:
  2956. description: 银行卡正面地址
  2957. type: string
  2958. biznature:
  2959. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2960. type: integer
  2961. bizscope:
  2962. description: 企业经营范围(企业)
  2963. type: string
  2964. biztype:
  2965. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2966. type: integer
  2967. brokerid:
  2968. description: 经纪人ID(加密存储)
  2969. type: string
  2970. cardaddress:
  2971. description: 证件地址 (加密存储)
  2972. type: string
  2973. cardbackphotourl:
  2974. description: 背面证件照地址
  2975. type: string
  2976. cardfrontphotourl:
  2977. description: 正面证件照地址
  2978. type: string
  2979. cardnum:
  2980. description: 证件号码 (加密存储)
  2981. type: string
  2982. cardtype:
  2983. description: 证件类型
  2984. type: integer
  2985. cityid:
  2986. description: 市
  2987. type: integer
  2988. company:
  2989. description: 公司(个人)
  2990. type: string
  2991. contactcardbackphotourl:
  2992. description: 联系人证件背面图片地址
  2993. type: string
  2994. contactcardfrontphotourl:
  2995. description: 联系人证件正面图片地址
  2996. type: string
  2997. contactname:
  2998. description: 联系人
  2999. type: string
  3000. countryid:
  3001. description: 国家
  3002. type: integer
  3003. createtime:
  3004. description: 开户申请时间
  3005. type: string
  3006. cusbankid:
  3007. description: 签约类型
  3008. type: string
  3009. cusbankname:
  3010. description: 签约类型名称
  3011. type: string
  3012. customername:
  3013. description: 客户名称(企业名称)
  3014. type: string
  3015. districtid:
  3016. description: 地区
  3017. type: integer
  3018. email:
  3019. description: Email地址(加密存储)
  3020. type: string
  3021. halfbodyphotourl:
  3022. description: 半身照地址
  3023. type: string
  3024. headurl:
  3025. description: 头像地址
  3026. type: string
  3027. ipaddress:
  3028. description: IP地址
  3029. type: string
  3030. isvalidate:
  3031. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3032. type: string
  3033. legalcardbackphotourl:
  3034. description: 法人身份证背面照地址
  3035. type: string
  3036. legalcardfrontphotourl:
  3037. description: 法人身份证正面照地址
  3038. type: string
  3039. legalpersonname:
  3040. description: 法人姓名(企业)
  3041. type: string
  3042. logincode:
  3043. description: 登录帐号 (加密存储)
  3044. type: string
  3045. memberareaid:
  3046. description: 所属会员ID
  3047. type: integer
  3048. mobile2:
  3049. description: 手机号码[明文-尚志]
  3050. type: string
  3051. mobilephone:
  3052. description: 手机号码 (加密存储)
  3053. type: string
  3054. modifiedby:
  3055. description: 修改人帐号
  3056. type: integer
  3057. modifiedtime:
  3058. description: 修改时间
  3059. type: string
  3060. nickname:
  3061. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3062. type: string
  3063. openmode:
  3064. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3065. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3066. type: integer
  3067. otherurl:
  3068. description: 其它图片地址[使用分号分隔]
  3069. type: string
  3070. postalcode:
  3071. description: 邮政编码
  3072. type: string
  3073. provinceid:
  3074. description: 省
  3075. type: integer
  3076. proxystatementurl:
  3077. description: 授权委托书
  3078. type: string
  3079. qq:
  3080. description: QQ(加密存储
  3081. type: string
  3082. referral:
  3083. description: 推荐人编码
  3084. type: string
  3085. remark:
  3086. description: 备注
  3087. type: string
  3088. removebeforestatus:
  3089. description: REMOVEBEFORESTATUS
  3090. type: integer
  3091. sex:
  3092. description: 性别 - 0:女 1:男
  3093. type: integer
  3094. signedstatus:
  3095. description: 账户一号签签约状态
  3096. type: integer
  3097. signpdfurl:
  3098. description: 签约pdf文件
  3099. type: string
  3100. subbranch:
  3101. description: 开户支行
  3102. type: string
  3103. taxpayernum:
  3104. description: 纳税人识别号
  3105. type: string
  3106. telphone:
  3107. description: 联系电话(加密存储)
  3108. type: string
  3109. userid:
  3110. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3111. type: integer
  3112. userinfotype:
  3113. description: 用户信息类型 - 1:个人 2:企业
  3114. type: integer
  3115. username:
  3116. description: 用户姓名
  3117. type: string
  3118. userstate:
  3119. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3120. type: integer
  3121. usertype:
  3122. description: 用户类型 - 1:投资者 2:机构
  3123. type: integer
  3124. videourl:
  3125. description: 视频地址
  3126. type: string
  3127. wechat:
  3128. description: 微信号 (加密存储)
  3129. type: string
  3130. required:
  3131. - userid
  3132. type: object
  3133. erms3.CustomerInfo:
  3134. properties:
  3135. accountids:
  3136. description: 资金账户ID列表
  3137. items:
  3138. type: integer
  3139. type: array
  3140. customername:
  3141. description: 名称(企业名称)
  3142. type: string
  3143. mobile:
  3144. description: 手机号码
  3145. type: string
  3146. userid:
  3147. description: 用户ID
  3148. type: integer
  3149. required:
  3150. - userid
  3151. type: object
  3152. erms3.ModifyUserInfoApplyReq:
  3153. properties:
  3154. accountid:
  3155. description: 交易系统帐号Id (加密存储)
  3156. type: integer
  3157. areacode:
  3158. description: 机构代码
  3159. type: string
  3160. areaid:
  3161. description: 机构Id
  3162. type: integer
  3163. attachment1:
  3164. description: 附件1
  3165. type: string
  3166. attachment2:
  3167. description: 附件2
  3168. type: string
  3169. attachment3:
  3170. description: 附件3
  3171. type: string
  3172. attachment4:
  3173. description: 附件4
  3174. type: string
  3175. attachment5:
  3176. description: 附件5
  3177. type: string
  3178. auditedby:
  3179. description: 审核人
  3180. type: string
  3181. auditime:
  3182. description: 审核时间
  3183. type: string
  3184. auditsrc:
  3185. description: 审核来源 - 1:管理端 2:终端
  3186. type: integer
  3187. bankaccount:
  3188. description: 银行帐号 (加密存储)
  3189. type: string
  3190. bankaccountname:
  3191. description: 收款人名称
  3192. type: string
  3193. bankcardbackphotourl:
  3194. description: 银行卡背面照地址
  3195. type: string
  3196. bankcardfrontphotourl:
  3197. description: 银行卡正面照地址
  3198. type: string
  3199. bankid:
  3200. description: 银行编码
  3201. type: string
  3202. bankname:
  3203. description: 银行名称
  3204. type: string
  3205. bankpictureurl:
  3206. description: 银行卡正面地址
  3207. type: string
  3208. biznature:
  3209. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3210. type: integer
  3211. bizscope:
  3212. description: 企业经营范围(企业)
  3213. type: string
  3214. biztype:
  3215. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  3216. type: integer
  3217. brokerid:
  3218. description: 经纪人ID(加密存储)
  3219. type: string
  3220. cardaddress:
  3221. description: 证件地址 (加密存储)
  3222. type: string
  3223. cardbackphotourl:
  3224. description: 背面证件照地址
  3225. type: string
  3226. cardfrontphotourl:
  3227. description: 正面证件照地址
  3228. type: string
  3229. cardnum:
  3230. description: 证件号码 (加密存储)
  3231. type: string
  3232. cardtype:
  3233. description: 证件类型
  3234. type: integer
  3235. cityid:
  3236. description: 市
  3237. type: integer
  3238. company:
  3239. description: 公司(个人)
  3240. type: string
  3241. contactcardbackphotourl:
  3242. description: 联系人证件背面图片地址
  3243. type: string
  3244. contactcardfrontphotourl:
  3245. description: 联系人证件正面图片地址
  3246. type: string
  3247. contactname:
  3248. description: 联系人
  3249. type: string
  3250. countryid:
  3251. description: 国家
  3252. type: integer
  3253. createtime:
  3254. description: 开户申请时间
  3255. type: string
  3256. cusbankid:
  3257. description: 签约类型
  3258. type: string
  3259. cusbankname:
  3260. description: 签约类型名称
  3261. type: string
  3262. customername:
  3263. description: 客户名称(企业名称)
  3264. type: string
  3265. districtid:
  3266. description: 地区
  3267. type: integer
  3268. email:
  3269. description: Email地址(加密存储)
  3270. type: string
  3271. halfbodyphotourl:
  3272. description: 半身照地址
  3273. type: string
  3274. headurl:
  3275. description: 头像地址
  3276. type: string
  3277. ipaddress:
  3278. description: IP地址
  3279. type: string
  3280. isvalidate:
  3281. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3282. type: string
  3283. legalcardbackphotourl:
  3284. description: 法人身份证背面照地址
  3285. type: string
  3286. legalcardfrontphotourl:
  3287. description: 法人身份证正面照地址
  3288. type: string
  3289. legalpersonname:
  3290. description: 法人姓名(企业)
  3291. type: string
  3292. logincode:
  3293. description: 登录帐号 (加密存储)
  3294. type: string
  3295. memberareaid:
  3296. description: 所属会员ID
  3297. type: integer
  3298. mobile2:
  3299. description: 手机号码[明文-尚志]
  3300. type: string
  3301. mobilephone:
  3302. description: 手机号码 (加密存储)
  3303. type: string
  3304. modifiedby:
  3305. description: 修改人帐号
  3306. type: integer
  3307. modifiedtime:
  3308. description: 修改时间
  3309. type: string
  3310. nickname:
  3311. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3312. type: string
  3313. openmode:
  3314. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3315. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3316. type: integer
  3317. otherurl:
  3318. description: 其它图片地址[使用分号分隔]
  3319. type: string
  3320. postalcode:
  3321. description: 邮政编码
  3322. type: string
  3323. provinceid:
  3324. description: 省
  3325. type: integer
  3326. proxystatementurl:
  3327. description: 授权委托书
  3328. type: string
  3329. qq:
  3330. description: QQ(加密存储
  3331. type: string
  3332. referral:
  3333. description: 推荐人编码
  3334. type: string
  3335. remark:
  3336. description: 备注
  3337. type: string
  3338. removebeforestatus:
  3339. description: REMOVEBEFORESTATUS
  3340. type: integer
  3341. sex:
  3342. description: 性别 - 0:女 1:男
  3343. type: integer
  3344. signedstatus:
  3345. description: 账户一号签签约状态
  3346. type: integer
  3347. signpdfurl:
  3348. description: 签约pdf文件
  3349. type: string
  3350. subbranch:
  3351. description: 开户支行
  3352. type: string
  3353. taxpayernum:
  3354. description: 纳税人识别号
  3355. type: string
  3356. telphone:
  3357. description: 联系电话(加密存储)
  3358. type: string
  3359. userid:
  3360. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3361. type: integer
  3362. userinfotype:
  3363. description: 用户信息类型 - 1:个人 2:企业
  3364. type: integer
  3365. username:
  3366. description: 用户姓名
  3367. type: string
  3368. userstate:
  3369. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3370. type: integer
  3371. usertype:
  3372. description: 用户类型 - 1:投资者 2:机构
  3373. type: integer
  3374. videourl:
  3375. description: 视频地址
  3376. type: string
  3377. wechat:
  3378. description: 微信号 (加密存储)
  3379. type: string
  3380. required:
  3381. - userid
  3382. type: object
  3383. erms3.QryAuditContractRsp:
  3384. properties:
  3385. accountid:
  3386. description: 交易员ID
  3387. type: string
  3388. applystatus:
  3389. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3390. type: integer
  3391. curdeliveryqty:
  3392. description: 未交收量
  3393. type: integer
  3394. customername:
  3395. description: 采购方ID
  3396. type: string
  3397. deliverygoodsid:
  3398. description: 品种ID
  3399. type: string
  3400. deliveryqty:
  3401. description: 交收量
  3402. type: integer
  3403. enumdicname:
  3404. description: 单位名称
  3405. type: string
  3406. matchaccountid:
  3407. description: 业务员ID
  3408. type: string
  3409. matchcustomername:
  3410. description: 销售方ID
  3411. type: string
  3412. pricedqty:
  3413. description: 定价量
  3414. type: number
  3415. signdate:
  3416. description: 签订日期
  3417. type: string
  3418. spotcontractid:
  3419. description: 合同ID
  3420. type: string
  3421. totaldqty:
  3422. description: 合同量
  3423. type: number
  3424. unpricedqty:
  3425. description: 未定价量
  3426. type: number
  3427. wrstandardname:
  3428. description: 商品名称
  3429. type: string
  3430. required:
  3431. - matchcustomername
  3432. - spotcontractid
  3433. type: object
  3434. erms3.QryPendingBizRsp:
  3435. properties:
  3436. accountid:
  3437. description: 现货账户
  3438. type: string
  3439. areaname:
  3440. description: 所属部门
  3441. type: string
  3442. bizid:
  3443. description: 业务ID
  3444. type: string
  3445. bizname:
  3446. description: 业务名称
  3447. type: string
  3448. status:
  3449. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3450. type: integer
  3451. type:
  3452. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  3453. type: integer
  3454. type: object
  3455. erms3.QueryBusinessInfoRsp:
  3456. properties:
  3457. businessid:
  3458. description: 业务ID.
  3459. type: integer
  3460. buyamount:
  3461. description: 采购额.
  3462. type: number
  3463. buyqty:
  3464. description: 采购量.
  3465. type: string
  3466. futurepl:
  3467. description: 期货盈亏.
  3468. type: number
  3469. futureqty:
  3470. description: 期货敞口.
  3471. type: string
  3472. goodsid:
  3473. description: 商品名称/商品代码.
  3474. type: string
  3475. hedgingqty:
  3476. description: 套保量.
  3477. type: string
  3478. sellamount:
  3479. description: 销售额.
  3480. type: number
  3481. sellqty:
  3482. description: 销售量.
  3483. type: string
  3484. spotmarketvalue:
  3485. description: 现货市值.
  3486. type: number
  3487. spotpl:
  3488. description: 浮动权益.
  3489. type: number
  3490. spotqty:
  3491. description: 现货量.
  3492. type: string
  3493. statu:
  3494. description: 状态,0-未结束 1-已结束.
  3495. type: integer
  3496. totalpl:
  3497. description: 总盈亏.
  3498. type: number
  3499. totalqty:
  3500. description: 总敞口.
  3501. type: string
  3502. type:
  3503. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  3504. type: integer
  3505. type: object
  3506. erms3.QuerySpotContractAppleFormRsp:
  3507. properties:
  3508. goodses:
  3509. description: 合约列表
  3510. items:
  3511. $ref: '#/definitions/models.GoodsIDAndName'
  3512. type: array
  3513. oppositeusers:
  3514. description: 对方账号列表
  3515. items:
  3516. $ref: '#/definitions/erms3.CustomerInfo'
  3517. type: array
  3518. ouruser:
  3519. $ref: '#/definitions/erms3.CustomerInfo'
  3520. description: 我方账号
  3521. warehouseinfos:
  3522. description: 仓库信息列表
  3523. items:
  3524. $ref: '#/definitions/models.Warehouseinfo'
  3525. type: array
  3526. wrstandards:
  3527. description: 仓单标准列表
  3528. items:
  3529. $ref: '#/definitions/models.WRStandardInfo'
  3530. type: array
  3531. type: object
  3532. erms3.QuerySpotContractInfoRsp:
  3533. properties:
  3534. accountid:
  3535. description: 表示交易员ID.
  3536. type: integer
  3537. curdeliveryqty:
  3538. description: 表示未交收量.
  3539. type: number
  3540. customername:
  3541. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  3542. type: string
  3543. deliverygoodsid:
  3544. description: 表示品种ID.
  3545. type: string
  3546. deliveryqty:
  3547. description: 表示交收量.
  3548. type: number
  3549. matchaccountid:
  3550. description: 表示业务员ID.
  3551. type: integer
  3552. matchcustomername:
  3553. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  3554. type: string
  3555. priceqty:
  3556. description: 表示定价量.
  3557. type: number
  3558. relatedbizid:
  3559. description: 表示业务ID.
  3560. type: string
  3561. signdate:
  3562. description: 表示签订日期.
  3563. type: string
  3564. spotcontractid:
  3565. description: 合同ID
  3566. type: string
  3567. status:
  3568. description: 表示状态,0-履约中 1-已完成.
  3569. type: integer
  3570. totalqty:
  3571. description: 表示合同量.
  3572. type: number
  3573. unpricedqty:
  3574. description: 表示未定价量.
  3575. type: number
  3576. wrstandardname:
  3577. description: 表示商品ID.
  3578. type: string
  3579. type: object
  3580. erms3.QueryUserInfoAppliesRsp:
  3581. properties:
  3582. biznature:
  3583. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3584. type: integer
  3585. contactname:
  3586. description: 联系人
  3587. type: string
  3588. createtime:
  3589. description: 开户申请时间
  3590. type: string
  3591. userid:
  3592. description: 用户ID(自增ID)
  3593. type: integer
  3594. userinfotype:
  3595. description: 用户信息类型 - 1:个人 2:企业
  3596. type: integer
  3597. username:
  3598. description: 用户姓名
  3599. type: string
  3600. userstate:
  3601. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3602. type: integer
  3603. required:
  3604. - userid
  3605. type: object
  3606. erms3.QueryUserInfosRsp:
  3607. properties:
  3608. biznature:
  3609. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3610. type: integer
  3611. contactname:
  3612. description: 联系人
  3613. type: string
  3614. customername:
  3615. description: 客户名称(企业名称)
  3616. type: string
  3617. userid:
  3618. description: 用户ID
  3619. type: integer
  3620. userinfotype:
  3621. description: 用户信息类型 - 1:个人 2:企业
  3622. type: integer
  3623. userstatus:
  3624. description: 用户状态 - 1:正常 2:注销
  3625. type: integer
  3626. required:
  3627. - userid
  3628. type: object
  3629. erms3.SoptContractDetail:
  3630. properties:
  3631. deliverygoodsdesc:
  3632. description: 现货品种说明
  3633. type: string
  3634. deliverygoodsid:
  3635. description: 现货品种ID
  3636. type: integer
  3637. deliverygoodsname:
  3638. description: 现货品种名称
  3639. type: string
  3640. pointdesc:
  3641. description: 点价描述
  3642. type: string
  3643. producttype:
  3644. description: 产品类型 1:标准仓单 2:等标 3:非标
  3645. type: integer
  3646. producttypename:
  3647. description: 产品类型名称
  3648. type: string
  3649. spotPointOrderVoList:
  3650. description: 点价列表
  3651. items:
  3652. $ref: '#/definitions/erms3.SpotPointOrder'
  3653. type: array
  3654. spotPriceOrderList:
  3655. description: 定价列表
  3656. items:
  3657. $ref: '#/definitions/erms3.SpotPriceOrder'
  3658. type: array
  3659. unitname:
  3660. description: 单位名称
  3661. type: string
  3662. warehouseid:
  3663. description: 仓库ID
  3664. type: integer
  3665. warehousename:
  3666. description: 仓库名称
  3667. type: string
  3668. wrstandardid:
  3669. description: 交易标的ID
  3670. type: integer
  3671. wrstandardname:
  3672. description: 交易标的名称
  3673. type: string
  3674. required:
  3675. - deliverygoodsid
  3676. - producttype
  3677. - unitname
  3678. - warehouseid
  3679. - wrstandardid
  3680. - wrstandardname
  3681. type: object
  3682. erms3.SpotPointOrder:
  3683. properties:
  3684. basic:
  3685. description: 基差
  3686. type: number
  3687. deliveryenddate:
  3688. description: 交收结束日期
  3689. type: string
  3690. deliverystartdate:
  3691. description: 交收开始日期
  3692. type: string
  3693. enddate:
  3694. description: 点价结束日期
  3695. type: string
  3696. goodsid:
  3697. description: 商品ID
  3698. type: integer
  3699. goodsname:
  3700. description: 商品名称
  3701. type: string
  3702. qty:
  3703. description: 数量
  3704. type: number
  3705. startdate:
  3706. description: 点价开始日期
  3707. type: string
  3708. required:
  3709. - basic
  3710. - goodsid
  3711. - qty
  3712. type: object
  3713. erms3.SpotPriceOrder:
  3714. properties:
  3715. amount:
  3716. description: 金额
  3717. type: number
  3718. deliveryenddate:
  3719. description: 交收结束日期
  3720. type: string
  3721. deliverystartdate:
  3722. description: 交收开始日期
  3723. type: string
  3724. price:
  3725. description: 价格
  3726. type: number
  3727. qty:
  3728. description: 数量
  3729. type: number
  3730. required:
  3731. - amount
  3732. - price
  3733. - qty
  3734. type: object
  3735. hsby.GetHsbyMyCountRsp:
  3736. properties:
  3737. myCouponCount:
  3738. description: 我的优惠卷数量
  3739. type: integer
  3740. myOrderDetailListingCount:
  3741. description: 我的订单求购中数量
  3742. type: integer
  3743. myOrderDetailPreCount:
  3744. description: 我的订单抢购中数量
  3745. type: integer
  3746. myPackageUnReceiveCount:
  3747. description: 我的包裹待收货数量
  3748. type: integer
  3749. myPackageUnSendCount:
  3750. description: 我的包裹待发货数量
  3751. type: integer
  3752. myPayOrderCount:
  3753. description: 我的订单待付款数量
  3754. type: integer
  3755. type: object
  3756. hsby.QueryProvincesAndCitiesRsp:
  3757. properties:
  3758. cities:
  3759. description: 市
  3760. items:
  3761. $ref: '#/definitions/models.Division'
  3762. type: array
  3763. province:
  3764. $ref: '#/definitions/models.Division'
  3765. description: 省
  3766. type: object
  3767. models.Arearole:
  3768. properties:
  3769. createtime:
  3770. description: 创建时间
  3771. type: string
  3772. creatorid:
  3773. description: 创建人ID
  3774. type: integer
  3775. fromuserid:
  3776. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  3777. type: integer
  3778. isreturnscore:
  3779. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  3780. type: integer
  3781. modifierid:
  3782. description: 修改人ID
  3783. type: integer
  3784. modifytime:
  3785. description: 修改时间
  3786. type: string
  3787. orgtype:
  3788. description: 组织机构类型 1:机构\分支节点 2:交易员\叶子节点 3:部门\分支节点
  3789. type: integer
  3790. outuserid:
  3791. description: 外部账户[场外期权做市商]
  3792. type: string
  3793. parentuserid:
  3794. description: 上级组织机构(组织机构)
  3795. type: integer
  3796. roletype:
  3797. description: 角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员
  3798. 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构
  3799. 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员 25:客户 98:代理 99:门店
  3800. type: integer
  3801. rootuserid:
  3802. description: 顶级组织机构用户ID(组织机构)
  3803. type: integer
  3804. shoppassword:
  3805. description: 商城店铺登陆密码(商城店铺角色使用)
  3806. type: string
  3807. sublevelpath:
  3808. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  3809. type: string
  3810. suborgtype:
  3811. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  3812. type: integer
  3813. tradeaccountid:
  3814. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  3815. type: integer
  3816. transurl:
  3817. description: 物流地址(物流机构)
  3818. type: string
  3819. userid:
  3820. description: 机构用户ID其他做市关系,都设置为 1
  3821. type: integer
  3822. required:
  3823. - roletype
  3824. - userid
  3825. type: object
  3826. models.Clientfixedadconfig:
  3827. properties:
  3828. adsort:
  3829. description: 排序
  3830. type: integer
  3831. adtype:
  3832. description: 广告位类型 - 1:新品抢购(HSBY)
  3833. type: integer
  3834. areauserid:
  3835. description: 所属机构ID
  3836. type: integer
  3837. createdate:
  3838. description: 创建时间
  3839. type: string
  3840. creatorid:
  3841. description: 创建人
  3842. type: integer
  3843. imagepath:
  3844. description: 图片
  3845. type: string
  3846. isshow:
  3847. description: 是否展示 - 0:不展示 1:展示
  3848. type: integer
  3849. modifierid:
  3850. description: 操作人
  3851. type: integer
  3852. recsize:
  3853. description: 推荐尺寸
  3854. type: string
  3855. title:
  3856. description: 标题
  3857. type: string
  3858. updatedate:
  3859. description: 更新时间
  3860. type: string
  3861. urlcontent:
  3862. description: 链接(地址或商品ID)
  3863. type: string
  3864. urltype:
  3865. description: 链接类型 - 1:直接地址 2:商品ID
  3866. type: integer
  3867. required:
  3868. - adsort
  3869. - adtype
  3870. type: object
  3871. models.Division:
  3872. properties:
  3873. autoid:
  3874. description: 自增ID
  3875. type: integer
  3876. divisioncode:
  3877. description: 行政代码
  3878. type: string
  3879. divisionlevel:
  3880. description: 行政级别
  3881. type: string
  3882. divisionname:
  3883. description: 行政名称
  3884. type: string
  3885. modifierid:
  3886. description: 修改人
  3887. type: integer
  3888. modifytime:
  3889. description: 修改时间
  3890. type: string
  3891. parentcode:
  3892. description: 上级行政代码
  3893. type: string
  3894. pathname:
  3895. description: 路径名称
  3896. type: string
  3897. postcode:
  3898. description: 邮政编码
  3899. type: string
  3900. separablename:
  3901. description: 可拆分的全称
  3902. type: string
  3903. shortcode:
  3904. description: 地区简码
  3905. type: string
  3906. required:
  3907. - autoid
  3908. - divisioncode
  3909. type: object
  3910. models.Enumdicitem:
  3911. properties:
  3912. autoid:
  3913. description: 自增ID
  3914. type: integer
  3915. bankmappedvalue:
  3916. description: 银行服务对应值
  3917. type: string
  3918. enumdiccode:
  3919. description: 所属枚举代码
  3920. type: string
  3921. enumdicid:
  3922. description: 所属枚举ID
  3923. type: integer
  3924. enumdicname:
  3925. description: 枚举项名称
  3926. type: string
  3927. enumitemname:
  3928. description: 枚举项值
  3929. type: integer
  3930. enumitemstatus:
  3931. description: 枚举项状态 - 1.启用 2.不启用
  3932. type: integer
  3933. enumitemvalue:
  3934. description: 通用值 - [币种通用简写]
  3935. type: string
  3936. param1:
  3937. description: 参数1[币种:币种小数位]
  3938. type: string
  3939. param2:
  3940. description: 参数1[币种:币种显示单位]
  3941. type: string
  3942. remark:
  3943. description: 备注
  3944. type: string
  3945. required:
  3946. - autoid
  3947. - enumdiccode
  3948. - enumdicid
  3949. - enumitemname
  3950. type: object
  3951. models.Ermcp3AreaSpot:
  3952. properties:
  3953. areauserid:
  3954. description: 所属机构
  3955. type: integer
  3956. convertratio:
  3957. description: 套保系数
  3958. type: number
  3959. decreaseqty:
  3960. description: 减少数量=-(销售已定价数量+采购计划数量)
  3961. type: number
  3962. enumdicname:
  3963. description: 单位名称
  3964. type: string
  3965. increaseqty:
  3966. description: 增加数量=销售计划数量+采购已定价数量
  3967. type: number
  3968. oritoalspotqty:
  3969. description: 昨日数量
  3970. type: number
  3971. totalspotqty:
  3972. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  3973. type: number
  3974. unitid:
  3975. description: 现货商品单位id
  3976. type: integer
  3977. updatetime:
  3978. description: 更新时间
  3979. type: string
  3980. wrstandardcode:
  3981. description: 现货商品代码
  3982. type: string
  3983. wrstandardid:
  3984. description: 现货商品ID(SEQ_WRSTANDARD)
  3985. type: integer
  3986. wrstandardname:
  3987. description: 现货商品名称
  3988. type: string
  3989. type: object
  3990. models.Ermcp3AreaSpotDetail:
  3991. properties:
  3992. contracttype:
  3993. description: 合同类型 1-采购 -1-销售
  3994. type: integer
  3995. createtime:
  3996. description: 创建时间
  3997. type: string
  3998. enumdicname:
  3999. description: 现货商品单位名称
  4000. type: string
  4001. logtype:
  4002. description: 记录类型 1-套保 2-现货合同
  4003. type: integer
  4004. qty:
  4005. description: 数量
  4006. type: number
  4007. recordname:
  4008. description: 类型名称
  4009. type: string
  4010. relatedid:
  4011. description: 套保计划ID/现货合同ID
  4012. type: string
  4013. relatedno:
  4014. description: 编号
  4015. type: string
  4016. strtime:
  4017. description: 时间
  4018. type: string
  4019. wrstandardcode:
  4020. description: 现货商品代码
  4021. type: string
  4022. wrstandardid:
  4023. description: 现货商品ID(SEQ_WRSTANDARD)
  4024. type: integer
  4025. wrstandardname:
  4026. description: 现货商品名称
  4027. type: string
  4028. type: object
  4029. models.Ermcp3AreaSpotPLReport:
  4030. properties:
  4031. accountid:
  4032. description: 期货账户ID (作废, 默认为0)
  4033. type: integer
  4034. accountname:
  4035. description: 机构名称
  4036. type: string
  4037. actualpl:
  4038. description: 现货损益
  4039. type: number
  4040. areauserid:
  4041. description: 所属机构\交易用户ID
  4042. type: integer
  4043. begindate:
  4044. description: 开始交易日
  4045. type: string
  4046. biztype:
  4047. description: 业务类型 - 1:套保 2:套利
  4048. type: integer
  4049. brandname:
  4050. description: 品牌名称
  4051. type: string
  4052. curamount:
  4053. description: 期末额
  4054. type: number
  4055. curaverageprice:
  4056. description: 期末均价
  4057. type: number
  4058. curbuyamount:
  4059. description: 期末采购总额
  4060. type: number
  4061. curbuyqty:
  4062. description: 期末采购总量
  4063. type: number
  4064. curmarketvalue:
  4065. description: 参考市值(期末市值)
  4066. type: number
  4067. curqty:
  4068. description: 期末量
  4069. type: number
  4070. currencyid:
  4071. description: 结算币种ID【原值】
  4072. type: integer
  4073. currencyname:
  4074. description: 币种名称
  4075. type: string
  4076. cursellamount:
  4077. description: 期末销售总额
  4078. type: number
  4079. cursellqty:
  4080. description: 期末销售总量
  4081. type: number
  4082. curspotprice:
  4083. description: 参考市价(最新价)
  4084. type: number
  4085. cycletime:
  4086. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4087. type: string
  4088. cycletype:
  4089. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4090. type: integer
  4091. deliverygoodscode:
  4092. description: 现货品种代码
  4093. type: string
  4094. deliverygoodsid:
  4095. description: 现货品种ID
  4096. type: integer
  4097. deliverygoodsname:
  4098. description: 现货品种名称
  4099. type: string
  4100. enddate:
  4101. description: 结束交易日
  4102. type: string
  4103. enumdicname:
  4104. description: 现货品种单位名称(作废)
  4105. type: string
  4106. floatpl:
  4107. description: 浮动损益
  4108. type: number
  4109. goodsunitid:
  4110. description: 现货品种单位id(作废)
  4111. type: integer
  4112. oriamount:
  4113. description: 期初额
  4114. type: number
  4115. oriaverageprice:
  4116. description: 期初均价
  4117. type: number
  4118. oribuyamount:
  4119. description: 期初采购总额
  4120. type: number
  4121. oribuyqty:
  4122. description: 期初采购总量
  4123. type: number
  4124. oriqty:
  4125. description: 期初量
  4126. type: number
  4127. orisellamount:
  4128. description: 期初销售总额
  4129. type: number
  4130. orisellqty:
  4131. description: 期初销售总量
  4132. type: number
  4133. reckondate:
  4134. description: 日照时期(yyyyMMdd)
  4135. type: string
  4136. spotgoodsbrandid:
  4137. description: 现货品牌ID
  4138. type: integer
  4139. todaybuyamount:
  4140. description: 今日采购额(今采购额)
  4141. type: number
  4142. todaybuyaverageprice:
  4143. description: 今日采购均价
  4144. type: number
  4145. todaybuyqty:
  4146. description: 今日采购量(今采购量)
  4147. type: number
  4148. todayinqty:
  4149. description: 今日入库量(今入库量)
  4150. type: number
  4151. todayoutqty:
  4152. description: 今日出库量(今出库量)
  4153. type: number
  4154. todaysellamount:
  4155. description: 今日销售额(今销售额)
  4156. type: number
  4157. todaysellaverageprice:
  4158. description: 今日销售均价
  4159. type: number
  4160. todaysellqty:
  4161. description: 今日销售量(今销售量)
  4162. type: number
  4163. unitid:
  4164. description: 品类单位id
  4165. type: integer
  4166. unitidname:
  4167. description: 品类单位名称
  4168. type: string
  4169. updatetime:
  4170. description: 更新时间
  4171. type: string
  4172. wrfactortypeid:
  4173. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4174. type: integer
  4175. wrstandardcode:
  4176. description: 现货商品(品类)代码
  4177. type: string
  4178. wrstandardid:
  4179. description: 现货品类ID
  4180. type: integer
  4181. wrstandardname:
  4182. description: 现货商品(品类)名称
  4183. type: string
  4184. type: object
  4185. models.Ermcp3AreaStock:
  4186. properties:
  4187. brandname:
  4188. description: 品牌名称
  4189. type: string
  4190. curstock:
  4191. description: 期末库存量(今日量)
  4192. type: number
  4193. deliverygoodscode:
  4194. description: 现货品种代码
  4195. type: string
  4196. deliverygoodsid:
  4197. description: 现货品种id
  4198. type: integer
  4199. deliverygoodsname:
  4200. description: 现货品种名称
  4201. type: string
  4202. enumdicname:
  4203. description: 单位名称
  4204. type: string
  4205. goodsunitid:
  4206. description: 现货商品单位id
  4207. type: integer
  4208. oristock:
  4209. description: 期初库存量(昨日量)
  4210. type: number
  4211. spotgoodsbrandid:
  4212. description: 现货品牌ID
  4213. type: integer
  4214. todaybuyinqty:
  4215. description: 今日采购入库量
  4216. type: number
  4217. todayproduceinqty:
  4218. description: 今日生产入库量
  4219. type: number
  4220. todayproduceoutqty:
  4221. description: 今日生产出库量
  4222. type: number
  4223. todayselloutqty:
  4224. description: 今日销售出库量
  4225. type: number
  4226. unitid:
  4227. description: 单位id
  4228. type: integer
  4229. updatetime:
  4230. description: 更新时间
  4231. type: string
  4232. userid:
  4233. description: 机构ID
  4234. type: integer
  4235. username:
  4236. description: 机构名称
  4237. type: string
  4238. warehousecode:
  4239. description: 仓库代码
  4240. type: string
  4241. warehouseinfoid:
  4242. description: 仓库ID
  4243. type: string
  4244. warehousename:
  4245. description: 仓库名称
  4246. type: string
  4247. warehousetype:
  4248. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4249. type: integer
  4250. wrstandardcode:
  4251. description: 品类代码
  4252. type: string
  4253. wrstandardid:
  4254. description: 品类ID
  4255. type: string
  4256. wrstandardname:
  4257. description: 品类名称
  4258. type: string
  4259. required:
  4260. - userid
  4261. type: object
  4262. models.Ermcp3AreaStockApply:
  4263. properties:
  4264. applyid:
  4265. description: 申请人
  4266. type: integer
  4267. applyname:
  4268. description: 申请人名称
  4269. type: string
  4270. applyremark:
  4271. description: 申请备注
  4272. type: string
  4273. applysrc:
  4274. description: 申请来源 - 1:管理端 2:终端
  4275. type: integer
  4276. applystatus:
  4277. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  4278. type: integer
  4279. applytime:
  4280. description: 申请时间
  4281. type: string
  4282. auditid:
  4283. description: 审核人
  4284. type: integer
  4285. auditname:
  4286. description: 审核人名称
  4287. type: string
  4288. auditremark:
  4289. description: 审核备注
  4290. type: string
  4291. auditsrc:
  4292. description: 审核来源 - 1:管理端 2:终端
  4293. type: integer
  4294. audittime:
  4295. description: 审核时间
  4296. type: string
  4297. audittradedate:
  4298. description: 审核交易日(yyyyMMdd)
  4299. type: string
  4300. brandname:
  4301. description: 品牌名称
  4302. type: string
  4303. buynickname:
  4304. description: 采购方昵称
  4305. type: string
  4306. buyuserid:
  4307. description: 采购方userid
  4308. type: integer
  4309. buyusername:
  4310. description: 采购方名称
  4311. type: string
  4312. contractno:
  4313. description: 合同编号
  4314. type: string
  4315. contractqty:
  4316. description: 合同量
  4317. type: number
  4318. contracttype:
  4319. description: 现货合同类型 - 1:采购 -1:销售
  4320. type: integer
  4321. deliverygoodscode:
  4322. description: 现货品种代码
  4323. type: string
  4324. deliverygoodsid:
  4325. description: 现货品种id
  4326. type: integer
  4327. deliverygoodsname:
  4328. description: 现货品种名称
  4329. type: string
  4330. detailjson:
  4331. description: 明细数据
  4332. type: string
  4333. enumdicname:
  4334. description: 现货商品单位名称
  4335. type: string
  4336. inoutapplyid:
  4337. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  4338. type: string
  4339. inouttype:
  4340. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  4341. type: integer
  4342. pricetype:
  4343. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4344. type: integer
  4345. qty:
  4346. description: 数量
  4347. type: number
  4348. sellnickname:
  4349. description: 销售方昵称
  4350. type: string
  4351. selluserid:
  4352. description: 销售方userid
  4353. type: integer
  4354. sellusername:
  4355. description: 销售方名称
  4356. type: string
  4357. spotcontractid:
  4358. description: 关联现货合同ID
  4359. type: string
  4360. spotgoodsbrandid:
  4361. description: 现货品牌ID
  4362. type: integer
  4363. unitid:
  4364. description: 单位id
  4365. type: integer
  4366. userid:
  4367. description: 机构ID
  4368. type: integer
  4369. warehousecode:
  4370. description: 仓库代码
  4371. type: string
  4372. warehouseinfoid:
  4373. description: 现货仓库ID
  4374. type: string
  4375. warehousename:
  4376. description: 仓库名称
  4377. type: string
  4378. warehousetype:
  4379. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4380. type: integer
  4381. wrstandardcode:
  4382. description: 品类代码
  4383. type: string
  4384. wrstandardid:
  4385. description: 品类ID
  4386. type: integer
  4387. wrstandardname:
  4388. description: 品类名称
  4389. type: string
  4390. type: object
  4391. models.Ermcp3AreaStockApplySum:
  4392. properties:
  4393. brandname:
  4394. description: 品牌名称
  4395. type: string
  4396. inouttype:
  4397. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  4398. type: integer
  4399. spotcontractid:
  4400. description: 关联现货合同ID
  4401. type: string
  4402. spotgoodsbrandid:
  4403. description: 品牌id
  4404. type: integer
  4405. totalqty:
  4406. description: 总数量
  4407. type: number
  4408. wrstandardid:
  4409. description: 品类id
  4410. type: integer
  4411. wrstandardname:
  4412. description: 品类名称
  4413. type: string
  4414. type: object
  4415. models.Ermcp3AreaStockReportEx:
  4416. properties:
  4417. begindate:
  4418. description: 开始交易日
  4419. type: string
  4420. brandname:
  4421. description: 品牌名称
  4422. type: string
  4423. curstock:
  4424. description: 期末库存量
  4425. type: number
  4426. cycletime:
  4427. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4428. type: string
  4429. cycletype:
  4430. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4431. type: integer
  4432. deliverygoodscode:
  4433. description: 现货品种代码
  4434. type: string
  4435. deliverygoodsid:
  4436. description: 现货品种id
  4437. type: integer
  4438. deliverygoodsname:
  4439. description: 现货品种名称
  4440. type: string
  4441. diffqty:
  4442. description: 库存变化量 = 期末 - 期初
  4443. type: number
  4444. enddate:
  4445. description: 结束交易日
  4446. type: string
  4447. enumdicname:
  4448. description: 单位名称
  4449. type: string
  4450. goodsunitid:
  4451. description: 现货单位id
  4452. type: integer
  4453. oristock:
  4454. description: 期初库存量
  4455. type: number
  4456. reckondate:
  4457. description: 日照时期(yyyyMMdd)
  4458. type: string
  4459. spotgoodsbrandid:
  4460. description: 现货品牌ID
  4461. type: integer
  4462. todaybuyinqty:
  4463. description: 今采购入库量
  4464. type: number
  4465. todayproduceinqty:
  4466. description: 今内部入库量
  4467. type: number
  4468. todayproduceoutqty:
  4469. description: 今内部出库量
  4470. type: number
  4471. todayselloutqty:
  4472. description: 今销售出库量
  4473. type: number
  4474. unbuyinqty:
  4475. description: 采购未入库量(数据库未找到相关字段?)
  4476. type: number
  4477. unitid:
  4478. description: 品类单位id
  4479. type: integer
  4480. unselloutqty:
  4481. description: 销售未出库量(数据库未找到相关字段?)
  4482. type: number
  4483. updatetime:
  4484. description: 更新时间
  4485. type: string
  4486. userid:
  4487. description: 机构ID
  4488. type: integer
  4489. username:
  4490. description: 机构名称
  4491. type: string
  4492. warehousecode:
  4493. description: 仓库代码
  4494. type: string
  4495. warehouseinfoid:
  4496. description: 仓库ID
  4497. type: string
  4498. warehousename:
  4499. description: 仓库名称
  4500. type: string
  4501. warehousetype:
  4502. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4503. type: integer
  4504. wrstandardcode:
  4505. description: 品类代码
  4506. type: string
  4507. wrstandardid:
  4508. description: 品类ID
  4509. type: integer
  4510. wrstandardname:
  4511. description: 品类名称
  4512. type: string
  4513. type: object
  4514. models.Ermcp3ArealSumPL:
  4515. properties:
  4516. accountname:
  4517. description: 机构名称
  4518. type: string
  4519. areauserid:
  4520. description: 所属机构\交易用户ID
  4521. type: integer
  4522. begindate:
  4523. description: 开始交易日
  4524. type: string
  4525. currencyid:
  4526. description: 结算币种ID
  4527. type: integer
  4528. currencyname:
  4529. description: 币种名称
  4530. type: string
  4531. cycletime:
  4532. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4533. type: string
  4534. cycletype:
  4535. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4536. type: integer
  4537. enddate:
  4538. description: 结束交易日
  4539. type: string
  4540. enumdicname:
  4541. description: 单位名称(套保品种)
  4542. type: string
  4543. futureactualpl:
  4544. description: 期货损益
  4545. type: number
  4546. futurefloatpl:
  4547. description: 期货浮动损益
  4548. type: number
  4549. futurespotratio:
  4550. description: 期现比例 = 期货头寸总量 / 现货头寸总量
  4551. type: number
  4552. goodsunitid:
  4553. description: 套保品种单位id
  4554. type: integer
  4555. hedgeexposurepl:
  4556. description: 套保敞口损益
  4557. type: number
  4558. middlegoodscode:
  4559. description: 套保品种代码
  4560. type: string
  4561. middlegoodsid:
  4562. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  4563. type: integer
  4564. middlegoodsname:
  4565. description: 套保品种名称
  4566. type: string
  4567. reckondate:
  4568. description: 日照时期(yyyyMMdd)
  4569. type: string
  4570. spotactualpl:
  4571. description: 现货损益
  4572. type: number
  4573. spotfloatpl:
  4574. description: 现货浮动损益
  4575. type: number
  4576. sumactualpl:
  4577. description: 实际损益 = (ActualPL + FutureActualPL)
  4578. type: number
  4579. sumpl:
  4580. description: 总敞口损益 | 汇总损益
  4581. type: number
  4582. totalfutureqty:
  4583. description: 期货头寸总量
  4584. type: number
  4585. totalneedhedgeqty:
  4586. description: 应套保总量
  4587. type: number
  4588. totalspotqty:
  4589. description: 现货头寸总量
  4590. type: number
  4591. updatetime:
  4592. description: 更新时间
  4593. type: string
  4594. type: object
  4595. models.Ermcp3Brand:
  4596. properties:
  4597. areauserid:
  4598. description: 用户id
  4599. type: integer
  4600. brandid:
  4601. description: 品牌id
  4602. type: integer
  4603. brandname:
  4604. description: 品牌名称
  4605. type: string
  4606. deliverygoodsid:
  4607. description: 品种ID
  4608. type: integer
  4609. isvalid:
  4610. description: 是否有效
  4611. type: integer
  4612. type: object
  4613. models.Ermcp3Contract:
  4614. properties:
  4615. accountid:
  4616. description: 期货账户id
  4617. type: string
  4618. amount:
  4619. description: 金额 [1:一口价、3:暂定价]
  4620. type: number
  4621. attachment:
  4622. description: 附件
  4623. type: string
  4624. auditremark:
  4625. description: 审核意见
  4626. type: string
  4627. audittime:
  4628. description: 审核时间
  4629. type: string
  4630. biztype:
  4631. description: 业务类型 1-套保 2-套利
  4632. type: integer
  4633. brandname:
  4634. description: 品牌名称
  4635. type: string
  4636. buynickname:
  4637. description: 销售方昵称
  4638. type: string
  4639. buyuserid:
  4640. description: 采购方ID
  4641. type: integer
  4642. buyusername:
  4643. description: 采购方名称
  4644. type: string
  4645. contracctstatus:
  4646. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4647. type: integer
  4648. contractmargin:
  4649. description: 合同保证金
  4650. type: number
  4651. contractno:
  4652. description: 现货合同编号
  4653. type: string
  4654. contracttype:
  4655. description: 现货合同类型 - 1:采购 -1:销售
  4656. type: integer
  4657. convertfactor:
  4658. description: 标仓系数(品类)
  4659. type: number
  4660. createtime:
  4661. description: 创建时间
  4662. type: string
  4663. currencyid:
  4664. description: 币种id
  4665. type: integer
  4666. currencyname:
  4667. description: 币种名称
  4668. type: string
  4669. deliveryenddate:
  4670. description: 交收期(结束)
  4671. type: string
  4672. deliverygoodscode:
  4673. description: 现货品种代码
  4674. type: string
  4675. deliverygoodsid:
  4676. description: 现货品种ID
  4677. type: integer
  4678. deliverygoodsname:
  4679. description: 现货品种名称
  4680. type: string
  4681. deliverystartdate:
  4682. description: 交收期(开始)
  4683. type: string
  4684. enddate:
  4685. description: 点价结束日期 [2:点价 3:暂定价]
  4686. type: string
  4687. enumdicname:
  4688. description: 单位名称
  4689. type: string
  4690. goodscode:
  4691. description: 点价合约代码
  4692. type: string
  4693. goodsid:
  4694. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  4695. type: integer
  4696. goodsname:
  4697. description: 点价商品名称
  4698. type: string
  4699. margin:
  4700. description: 当前保证金
  4701. type: number
  4702. meruserid:
  4703. description: 跟单员id
  4704. type: integer
  4705. meruserlogincode:
  4706. description: 跟单员登录代码
  4707. type: string
  4708. merusername:
  4709. description: 跟单员名称
  4710. type: string
  4711. pointdesc:
  4712. description: 点价备注
  4713. type: string
  4714. price:
  4715. description: 价格\暂定价 [1:一口价、3:暂定价]
  4716. type: number
  4717. pricemove:
  4718. description: 升贴水 [2:点价 3:暂定价]
  4719. type: number
  4720. pricetype:
  4721. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4722. type: integer
  4723. producttype:
  4724. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4725. type: integer
  4726. qty:
  4727. description: 数量
  4728. type: number
  4729. remark:
  4730. description: 备注
  4731. type: string
  4732. saleuserid:
  4733. description: 业务员id
  4734. type: integer
  4735. saleuserlogincode:
  4736. description: 业务员登录代码
  4737. type: string
  4738. saleusername:
  4739. description: 业务员名称
  4740. type: string
  4741. sellnickname:
  4742. description: 采购方昵称
  4743. type: string
  4744. selluserid:
  4745. description: 销售方ID
  4746. type: integer
  4747. sellusername:
  4748. description: 销售方名称
  4749. type: string
  4750. spotcontractid:
  4751. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  4752. type: string
  4753. spotgoodsbrandid:
  4754. description: 现货品牌ID(DGFactoryItem表的ID)
  4755. type: integer
  4756. spotgoodsdesc:
  4757. description: 商品型号
  4758. type: string
  4759. startdate:
  4760. description: 点价开始日期 [2:点价 3:暂定价]
  4761. type: string
  4762. subjectid:
  4763. description: 交易主体ID
  4764. type: integer
  4765. subjectname:
  4766. description: 交易主体名称
  4767. type: string
  4768. tradeuserid:
  4769. description: 交易员id
  4770. type: integer
  4771. tradeuserlogincode:
  4772. description: 交易员登录代码
  4773. type: string
  4774. tradeusername:
  4775. description: 交易员名称
  4776. type: string
  4777. unitid:
  4778. description: 单位id(取品类上的单位id)
  4779. type: integer
  4780. updatetime:
  4781. description: 更新时间
  4782. type: string
  4783. userid:
  4784. description: 所属机构ID
  4785. type: integer
  4786. vatrate:
  4787. description: 增值税率
  4788. type: number
  4789. wrstandardcode:
  4790. description: 品类代码
  4791. type: string
  4792. wrstandardid:
  4793. description: 品类ID
  4794. type: integer
  4795. wrstandardname:
  4796. description: 品类名称
  4797. type: string
  4798. type: object
  4799. models.Ermcp3ExposureContractDetail:
  4800. properties:
  4801. biztype:
  4802. description: 业务类型 1-套保 2-套利
  4803. type: integer
  4804. brandname:
  4805. description: 品牌名称
  4806. type: string
  4807. buyuserid:
  4808. description: 采购方id
  4809. type: integer
  4810. buyusername:
  4811. description: 采购方名称
  4812. type: string
  4813. contractno:
  4814. description: 合同编号
  4815. type: string
  4816. contracttype:
  4817. description: 现货合同类型 - 1:采购 -1:销售
  4818. type: integer
  4819. convertfactor:
  4820. description: 标仓系数
  4821. type: number
  4822. convertratio:
  4823. description: 折算系数(套保品种)
  4824. type: number
  4825. curqty:
  4826. description: 今定价量
  4827. type: number
  4828. deliverygoodscode:
  4829. description: 现货品种代码
  4830. type: string
  4831. deliverygoodsid:
  4832. description: 现货品种id
  4833. type: integer
  4834. deliverygoodsname:
  4835. description: 现货品种名称
  4836. type: string
  4837. diffhedgeqty:
  4838. description: 套保变动量
  4839. type: number
  4840. diffneedhedgeqty:
  4841. description: 应套保变动量
  4842. type: number
  4843. diffqty:
  4844. description: 套保品种今变动量
  4845. type: number
  4846. enumdicname:
  4847. description: 单位名称
  4848. type: string
  4849. mgunitname:
  4850. description: 套保品种单位名称
  4851. type: string
  4852. middlegoodscode:
  4853. description: 套保品种代码
  4854. type: string
  4855. middlegoodsid:
  4856. description: 套保品种id
  4857. type: integer
  4858. middlegoodsname:
  4859. description: 套保品种名称
  4860. type: string
  4861. needarbitrageratio:
  4862. description: 应套利比例
  4863. type: number
  4864. needhedgeratio:
  4865. description: 应套保比例
  4866. type: number
  4867. pricedqty:
  4868. description: 已定价量
  4869. type: number
  4870. qty:
  4871. description: 合同量
  4872. type: number
  4873. selluserid:
  4874. description: 销售方id
  4875. type: integer
  4876. sellusername:
  4877. description: 销售方名称
  4878. type: string
  4879. spotcontractid:
  4880. description: 合同id
  4881. type: string
  4882. todaypricedqty:
  4883. description: 今定价量
  4884. type: number
  4885. tradedate:
  4886. description: 交易日
  4887. type: string
  4888. unitid:
  4889. description: 品类单位id
  4890. type: integer
  4891. userid:
  4892. description: 机构id
  4893. type: integer
  4894. username:
  4895. description: 交易用户
  4896. type: string
  4897. wrstandardcode:
  4898. description: 现货商品代码
  4899. type: string
  4900. wrstandardid:
  4901. description: 现货商品id
  4902. type: integer
  4903. wrstandardname:
  4904. description: 现货商品名称
  4905. type: string
  4906. type: object
  4907. models.Ermcp3ExposureDetail:
  4908. properties:
  4909. areauserid:
  4910. description: 机构ID
  4911. type: integer
  4912. changeQty:
  4913. description: 套保变动量
  4914. type: number
  4915. contracttype:
  4916. description: 现货合同类型 - 1:采购 -1:销售
  4917. type: integer
  4918. convertfactor:
  4919. description: 标仓系数
  4920. type: number
  4921. convertratio:
  4922. description: 折算系数
  4923. type: number
  4924. createtime:
  4925. description: 时间
  4926. type: string
  4927. enumdicname:
  4928. description: 现货商品单位名称
  4929. type: string
  4930. logtype:
  4931. description: 类型 - 1:套保计划 2:现货合同
  4932. type: integer
  4933. mgunitid:
  4934. description: 套保品种单位id
  4935. type: integer
  4936. mgunitidname:
  4937. description: 套保品种单位名称
  4938. type: string
  4939. middlegoodsId:
  4940. description: 套保商品id
  4941. type: integer
  4942. middlegoodscode:
  4943. description: 套保商品代码
  4944. type: string
  4945. middlegoodsname:
  4946. description: 套保商品名称
  4947. type: string
  4948. qty:
  4949. description: 数量
  4950. type: number
  4951. relateNo:
  4952. description: 现货合同/套保计划编号
  4953. type: string
  4954. unitid:
  4955. description: 现货商品单位id
  4956. type: integer
  4957. wrstandardcode:
  4958. description: 现货商品代码
  4959. type: string
  4960. wrstandardid:
  4961. description: 现货商品ID(SEQ_WRSTANDARD)
  4962. type: integer
  4963. wrstandardname:
  4964. description: 现货商品名称
  4965. type: string
  4966. type: object
  4967. models.Ermcp3ExposureFutuDetail:
  4968. properties:
  4969. accountid:
  4970. description: 交易账户id
  4971. type: integer
  4972. accountname:
  4973. description: 交易账户
  4974. type: string
  4975. begindate:
  4976. description: 开始交易日
  4977. type: string
  4978. buyorsell:
  4979. description: 方向 0-买 1-卖
  4980. type: integer
  4981. diffmgqty:
  4982. description: 套保品种今变化量
  4983. type: number
  4984. diffneedqty:
  4985. description: 应套保总量变化量
  4986. type: number
  4987. difftradeqty:
  4988. description: 交易品种今变化量
  4989. type: number
  4990. enddate:
  4991. description: 结束交易日
  4992. type: string
  4993. enumdicname:
  4994. description: 单位名称
  4995. type: string
  4996. goodscode:
  4997. description: 商品代码
  4998. type: string
  4999. goodsid:
  5000. description: 商品id
  5001. type: integer
  5002. goodsname:
  5003. description: 商品名称
  5004. type: string
  5005. holdqty:
  5006. description: 期末持仓量
  5007. type: number
  5008. middlegoodscode:
  5009. description: 套保商品代码
  5010. type: string
  5011. middlegoodsid:
  5012. description: 套保商品id
  5013. type: integer
  5014. middlegoodsname:
  5015. description: 套保商品名称
  5016. type: string
  5017. oriholdqty:
  5018. description: 期初持仓量
  5019. type: number
  5020. todaycloseqty:
  5021. description: 今平仓量
  5022. type: number
  5023. todayopenqty:
  5024. description: 今开仓量
  5025. type: number
  5026. tradedate:
  5027. description: 交易日
  5028. type: string
  5029. username:
  5030. description: 用户名称(交易用户)
  5031. type: string
  5032. type: object
  5033. models.Ermcp3ExposureHedgeplanDetail:
  5034. properties:
  5035. biztype:
  5036. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  5037. type: integer
  5038. changqty:
  5039. description: 应套保总量变化量
  5040. type: number
  5041. contracttype:
  5042. description: 计划类型 - 1:采购 -1:销售
  5043. type: integer
  5044. convertratio:
  5045. description: 折算系数(套保品种)
  5046. type: number
  5047. deliverygoodscode:
  5048. description: 现货商品代码
  5049. type: string
  5050. deliverygoodsid:
  5051. description: 现货商品id
  5052. type: integer
  5053. deliverygoodsname:
  5054. description: 现货商吕名称
  5055. type: string
  5056. dgunitid:
  5057. description: 现货商品单位id
  5058. type: integer
  5059. dgunitidname:
  5060. description: 单位名称(现货商品)
  5061. type: string
  5062. diffqty:
  5063. description: 套保品种今变动量
  5064. type: number
  5065. enumdicname:
  5066. description: 单位名称(品类)
  5067. type: string
  5068. hedgeplanid:
  5069. description: 套保计划id
  5070. type: string
  5071. hedgeplanno:
  5072. description: 套保计划名称
  5073. type: string
  5074. hedgeplanstatus:
  5075. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5076. type: integer
  5077. mgunitidname:
  5078. description: 单位名称(套保商品)
  5079. type: string
  5080. middlegoodscode:
  5081. description: 套保品种代码
  5082. type: string
  5083. middlegoodsid:
  5084. description: 套保品种id
  5085. type: integer
  5086. middlegoodsname:
  5087. description: 套保品种名称
  5088. type: string
  5089. needarbitrageratio:
  5090. description: 应套利比例
  5091. type: number
  5092. needhedgeratio:
  5093. description: 应套保比例
  5094. type: number
  5095. pricedqty:
  5096. description: 已定价量
  5097. type: number
  5098. qty:
  5099. description: 合同量
  5100. type: number
  5101. tradedate:
  5102. description: 交易日(登记日)
  5103. type: string
  5104. unitid:
  5105. description: 品类单位id
  5106. type: integer
  5107. userid:
  5108. description: 机构id
  5109. type: integer
  5110. wrstandardcode:
  5111. description: 品类代码
  5112. type: string
  5113. wrstandardid:
  5114. description: 品类id
  5115. type: integer
  5116. wrstandardname:
  5117. description: 品类名称
  5118. type: string
  5119. type: object
  5120. models.Ermcp3ExposureParamChLog:
  5121. properties:
  5122. accountid:
  5123. description: 期货账户ID (作废, 默认为0)
  5124. type: integer
  5125. aftervalue:
  5126. description: 应套保\套利量变更后(调整后应套保总量)
  5127. type: number
  5128. areauserid:
  5129. description: 所属机构\交易用户ID
  5130. type: integer
  5131. beforevalue:
  5132. description: 应套保\套利量变更前(调整前应套保总量)
  5133. type: number
  5134. begindate:
  5135. description: 开始交易日
  5136. type: string
  5137. changelogtype:
  5138. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  5139. type: integer
  5140. curvalue:
  5141. description: 当前套保\套利量(套保总量|套利总量)
  5142. type: number
  5143. diffvalue:
  5144. description: 应套保总量变化量
  5145. type: number
  5146. enddate:
  5147. description: 结束交易日
  5148. type: string
  5149. logdatetime:
  5150. description: 流水日期
  5151. type: string
  5152. logid:
  5153. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  5154. type: string
  5155. middlegoodscode:
  5156. description: 套保品种代码
  5157. type: string
  5158. middlegoodsid:
  5159. description: 套保品种
  5160. type: integer
  5161. middlegoodsname:
  5162. description: 套保品种名称
  5163. type: string
  5164. paramaftervalue:
  5165. description: 参数变更后(调整后参数值)
  5166. type: number
  5167. parambeforevalue:
  5168. description: 参数变更前(调整前参数值)
  5169. type: number
  5170. tradedate:
  5171. description: 交易日(yyyyMMdd)
  5172. type: string
  5173. type: object
  5174. models.Ermcp3ExpourseReport:
  5175. properties:
  5176. accountid:
  5177. description: 期货账户ID (作废, 默认为0)
  5178. type: integer
  5179. accountname:
  5180. description: 机构名称
  5181. type: string
  5182. arbitrageqty:
  5183. description: 套利量
  5184. type: number
  5185. areauserid:
  5186. description: 所属机构\交易用户ID
  5187. type: integer
  5188. begindate:
  5189. description: 开始交易日
  5190. type: string
  5191. buyfutureqty:
  5192. description: 买入期货数量
  5193. type: number
  5194. buyplanqty:
  5195. description: 采购计划数量
  5196. type: number
  5197. buypricedqty:
  5198. description: 采购合同已定价数量
  5199. type: number
  5200. cycletime:
  5201. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5202. type: string
  5203. cycletype:
  5204. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5205. type: integer
  5206. diffexposure:
  5207. description: 变动量(套保敞口)
  5208. type: number
  5209. difffutuqty:
  5210. description: 变动量(期货)
  5211. type: number
  5212. diffhedgeqty:
  5213. description: 变动量(现货应套保总量)
  5214. type: number
  5215. diffmgqtya:
  5216. description: 套保变动量
  5217. type: number
  5218. diffmgqtyb:
  5219. description: 套利变动量
  5220. type: number
  5221. diffqty:
  5222. description: 变动量(总敞口)
  5223. type: number
  5224. diffspotqty:
  5225. description: 变动量(现货)
  5226. type: number
  5227. enddate:
  5228. description: 结束交易日
  5229. type: string
  5230. enumdicname:
  5231. description: 单位名称
  5232. type: string
  5233. hedgeqty:
  5234. description: 套保量
  5235. type: number
  5236. mgneedhedgeratio:
  5237. description: 套保比例(套保品的)
  5238. type: number
  5239. middlegoodsid:
  5240. description: 套保品种ID
  5241. type: integer
  5242. middlegoodsname:
  5243. description: 套保商品名称
  5244. type: string
  5245. middlgoodscode:
  5246. description: 套保商品代码
  5247. type: string
  5248. needarbitrageqty:
  5249. description: 应套利量
  5250. type: number
  5251. needarbitrageratio:
  5252. description: 套利比例(套保品的)
  5253. type: number
  5254. needhedgeexposoure:
  5255. description: 应套保敞口(套保敞口)
  5256. type: number
  5257. needhedgeqty:
  5258. description: 应套保量
  5259. type: number
  5260. needhedgeratio:
  5261. description: 应套保敞口比例
  5262. type: number
  5263. oriarbitrageqty:
  5264. description: 期初套利量
  5265. type: number
  5266. oribuyfutureqty:
  5267. description: 期初买入期货数量
  5268. type: number
  5269. oribuyplanqty:
  5270. description: 期初采购计划数量
  5271. type: number
  5272. oribuypricedqty:
  5273. description: 期初采购合同已定价数量
  5274. type: number
  5275. orihedgeqty:
  5276. description: 期初套保量
  5277. type: number
  5278. orineedarbitrageqty:
  5279. description: 期初应套利量
  5280. type: number
  5281. orineedhedgeexposoure:
  5282. description: 期初应套保敞口
  5283. type: number
  5284. orineedhedgeqty:
  5285. description: 期初应套保量
  5286. type: number
  5287. orisellfutureqty:
  5288. description: 期初卖出期货数量
  5289. type: number
  5290. orisellplanqty:
  5291. description: 期初销售计划数量
  5292. type: number
  5293. orisellpricedqty:
  5294. description: 期初销售合同已定价数量
  5295. type: number
  5296. oritotalexposure:
  5297. description: 期初实时总敞口
  5298. type: number
  5299. oritotalfutureqty:
  5300. description: 期初期货头寸总量
  5301. type: number
  5302. oritotalneedhedgeqty:
  5303. description: 期初应套保总量
  5304. type: number
  5305. oritotalspotqty:
  5306. description: 期初现货头寸总量
  5307. type: number
  5308. reckondate:
  5309. description: 日照时期(yyyyMMdd)
  5310. type: string
  5311. sellfutureqty:
  5312. description: 卖出期货数量
  5313. type: number
  5314. sellplanqty:
  5315. description: 销售计划数量
  5316. type: number
  5317. sellpricedqty:
  5318. description: 销售合同已定价数量
  5319. type: number
  5320. totalexposure:
  5321. description: 实时总敞口(总敞口)
  5322. type: number
  5323. totalfutureqty:
  5324. description: 期货头寸总量(期货总量)
  5325. type: number
  5326. totalhedgeratio:
  5327. description: 敞口比例
  5328. type: number
  5329. totalneedhedgeqty:
  5330. description: 应套保总量(现货应套保总量)
  5331. type: number
  5332. totalspotqty:
  5333. description: 现货头寸总量
  5334. type: number
  5335. unitid:
  5336. description: 单位id
  5337. type: integer
  5338. updatetime:
  5339. description: 更新时间
  5340. type: string
  5341. type: object
  5342. models.Ermcp3FinanceReport:
  5343. properties:
  5344. accountname:
  5345. description: 机构名称
  5346. type: string
  5347. areauserid:
  5348. description: 所属机构\交易用户ID
  5349. type: integer
  5350. begindate:
  5351. description: 开始交易日
  5352. type: string
  5353. biztype:
  5354. description: 业务类型 - 1:套保 2:套利
  5355. type: integer
  5356. brandname:
  5357. description: 品牌名称
  5358. type: string
  5359. buypreinvoicedamount:
  5360. description: 采购预收票额(预收票额)
  5361. type: number
  5362. buyprepaidamount:
  5363. description: 采购预付款额(预付货款额)
  5364. type: number
  5365. buytodayinvoiceamount:
  5366. description: 采购今收票额(今收票额)
  5367. type: number
  5368. buytodayrefundamount:
  5369. description: 采购今收退款额(今收退款额)
  5370. type: number
  5371. buytodaysettleamount:
  5372. description: 采购今付款额(今付货款额)
  5373. type: number
  5374. buyuninvoicedamount:
  5375. description: 采购应收票额(应收票额)
  5376. type: number
  5377. buyunpaidamount:
  5378. description: 采购应付款额(应付货款额)
  5379. type: number
  5380. currencyid:
  5381. description: 结算币种ID
  5382. type: integer
  5383. currencyname:
  5384. description: 币种名称
  5385. type: string
  5386. cycletime:
  5387. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5388. type: string
  5389. cycletype:
  5390. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5391. type: integer
  5392. deliverygoodscode:
  5393. description: 现货品种代码
  5394. type: string
  5395. deliverygoodsid:
  5396. description: 现货品种ID
  5397. type: integer
  5398. deliverygoodsname:
  5399. description: 现货品种名称
  5400. type: string
  5401. enddate:
  5402. description: 结束交易日
  5403. type: string
  5404. reckondate:
  5405. description: 日照时期(yyyyMMdd)
  5406. type: string
  5407. sellpreinvoicedamount:
  5408. description: 销售预开票额(预开票额)
  5409. type: number
  5410. sellprepaidamount:
  5411. description: 销售预收款额(预收货款额)
  5412. type: number
  5413. selltodayinvoiceamount:
  5414. description: 销售今开票额(今开票额)
  5415. type: number
  5416. selltodayrefundamount:
  5417. description: 销售今付退款额(今付退款额)
  5418. type: number
  5419. selltodaysettleamount:
  5420. description: 销售今收款额(今收货款额)
  5421. type: number
  5422. selluninvoicedamount:
  5423. description: 销售应开票额(应开票额)
  5424. type: number
  5425. sellunpaidamount:
  5426. description: 销售应收款额(应收货款额)
  5427. type: number
  5428. spotgoodsbrandid:
  5429. description: 现货品牌ID
  5430. type: integer
  5431. todaypaysum:
  5432. description: 今付款合计
  5433. type: number
  5434. todayreceivesum:
  5435. description: 今收款合计
  5436. type: number
  5437. updatetime:
  5438. description: 更新时间
  5439. type: string
  5440. wrfactortypeid:
  5441. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  5442. type: integer
  5443. wrstandardcode:
  5444. description: 品类代码
  5445. type: string
  5446. wrstandardid:
  5447. description: 现货商品ID
  5448. type: integer
  5449. wrstandardname:
  5450. description: 品类名称
  5451. type: string
  5452. type: object
  5453. models.Ermcp3GoodsGroup:
  5454. properties:
  5455. agreeunit:
  5456. description: 合约单位
  5457. type: number
  5458. areauserid:
  5459. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  5460. type: integer
  5461. canshort:
  5462. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  5463. type: integer
  5464. closepricemode:
  5465. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  5466. type: integer
  5467. createtime:
  5468. description: 创建时间
  5469. type: string
  5470. creatorid:
  5471. description: 创建人
  5472. type: integer
  5473. currencyid:
  5474. description: 报价货币ID
  5475. type: integer
  5476. decimalplace:
  5477. description: 报价小数位
  5478. type: integer
  5479. enumdicname:
  5480. description: 单位名称
  5481. type: string
  5482. exchangefullname:
  5483. description: 交易所全称
  5484. type: string
  5485. excludecfg:
  5486. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  5487. type: integer
  5488. exexchangecode:
  5489. description: 交易所代码
  5490. type: string
  5491. exexchangeid:
  5492. description: 外部交易所ID[通道交易]
  5493. type: integer
  5494. exexchangename:
  5495. description: 交易所名称
  5496. type: string
  5497. goodsgroupid:
  5498. description: 商品组ID(自增ID)
  5499. type: integer
  5500. goodsgroupname:
  5501. description: 商品组名称
  5502. type: string
  5503. goodsgroupstatus:
  5504. description: 商品组状态 - 1:正常 2:注销
  5505. type: integer
  5506. goodunitid:
  5507. description: 报价单位ID
  5508. type: integer
  5509. groupcategroyid:
  5510. description: 品种分类ID
  5511. type: integer
  5512. innerdealmode:
  5513. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  5514. type: integer
  5515. marketid:
  5516. description: 所属市场ID
  5517. type: integer
  5518. modifierid:
  5519. description: 修改人
  5520. type: integer
  5521. modifytime:
  5522. description: 修改时间
  5523. type: string
  5524. outerdealmode:
  5525. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  5526. type: integer
  5527. outergroupcode:
  5528. description: 外部商品组代码[通道交易]
  5529. type: string
  5530. quoteminunit:
  5531. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5532. type: integer
  5533. quotesourcegroupid:
  5534. description: 所属行情源分组ID[参考行情市场用\通道交易]
  5535. type: integer
  5536. syncgoodsqty:
  5537. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  5538. type: integer
  5539. required:
  5540. - areauserid
  5541. type: object
  5542. models.Ermcp3HedgePlan:
  5543. properties:
  5544. accountid:
  5545. description: 资金账号
  5546. type: integer
  5547. areauserid:
  5548. description: 用户ID
  5549. type: integer
  5550. auditid:
  5551. description: 审核id
  5552. type: integer
  5553. auditname:
  5554. description: 审核人名称
  5555. type: string
  5556. auditremark:
  5557. description: 审核备注
  5558. type: string
  5559. auditsrc:
  5560. description: 审核来源 1-管理端 2-终端
  5561. type: integer
  5562. audittime:
  5563. description: 审核时间
  5564. type: string
  5565. contracttype:
  5566. description: 计划类型 - 1:采购 -1:销售
  5567. type: integer
  5568. convertfactor:
  5569. description: 标仓系数
  5570. type: number
  5571. createtime:
  5572. description: 创建时间
  5573. type: string
  5574. currencyid:
  5575. description: 币种id
  5576. type: integer
  5577. currencyname:
  5578. description: 币种名称
  5579. type: string
  5580. deliverygoodscode:
  5581. description: 现货品种代码
  5582. type: string
  5583. deliverygoodsid:
  5584. description: 现货品种ID
  5585. type: integer
  5586. deliverygoodsname:
  5587. description: 现货品种名称
  5588. type: string
  5589. enumdicname:
  5590. description: 单位名称(现货商品)
  5591. type: string
  5592. hedgeplanid:
  5593. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  5594. type: string
  5595. hedgeplanno:
  5596. description: 套保计划编号(名称)
  5597. type: string
  5598. hedgeplanstatus:
  5599. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5600. type: integer
  5601. planqty:
  5602. description: 计划数量
  5603. type: number
  5604. plantime:
  5605. description: 计划时间
  5606. type: string
  5607. producttype:
  5608. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5609. type: integer
  5610. remark:
  5611. description: 备注
  5612. type: string
  5613. spotgoodsdesc:
  5614. description: 商品型号
  5615. type: string
  5616. taaccountname:
  5617. description: 资金账号名称
  5618. type: string
  5619. tradeuserid:
  5620. description: 交易用户id
  5621. type: integer
  5622. tradeusername:
  5623. description: 交易用户名称
  5624. type: string
  5625. unitid:
  5626. description: 单位id(现货商品)
  5627. type: integer
  5628. updatetime:
  5629. description: 更新时间
  5630. type: string
  5631. vatrate:
  5632. description: 增值税率
  5633. type: number
  5634. wrstandardcode:
  5635. description: 品类代码
  5636. type: string
  5637. wrstandardid:
  5638. description: 品类id
  5639. type: integer
  5640. wrstandardname:
  5641. description: 品类名称
  5642. type: string
  5643. wrunitid:
  5644. description: 品类单位id
  5645. type: integer
  5646. wrunitidame:
  5647. description: 品类单位名称
  5648. type: string
  5649. type: object
  5650. models.Ermcp3InnerTradeLink:
  5651. properties:
  5652. accountid:
  5653. description: 期货账号代码 | 资金账号ID
  5654. type: integer
  5655. buyorsell:
  5656. description: 方向 - 0:买 1:卖
  5657. type: integer
  5658. channelbuildtype:
  5659. description: 委托单据类型 0:无 1:建仓 2:平仓
  5660. type: integer
  5661. currencyid:
  5662. description: 币种id
  5663. type: integer
  5664. currencyname:
  5665. description: 结算币种 名称
  5666. type: string
  5667. goodscode:
  5668. description: 商品代码
  5669. type: string
  5670. goodsid:
  5671. description: 商品ID
  5672. type: integer
  5673. goodsname:
  5674. description: 商品名称
  5675. type: string
  5676. outtradeid:
  5677. description: 外部成交单号
  5678. type: string
  5679. taname:
  5680. description: 期货账户名称
  5681. type: string
  5682. tradeid:
  5683. description: 期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5684. type: string
  5685. tradeprice:
  5686. description: 成交价格
  5687. type: number
  5688. tradeqty:
  5689. description: 期货成交数量
  5690. type: integer
  5691. tradetime:
  5692. description: 关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间
  5693. type: string
  5694. username:
  5695. description: 用户名称
  5696. type: string
  5697. type: object
  5698. models.Ermcp3OutTradeLink:
  5699. properties:
  5700. buyorsell:
  5701. description: 买卖方向 - 0:买 1:卖
  5702. type: integer
  5703. channelbuildtype:
  5704. description: 开平标志- 0:无 1:建仓 2:平仓
  5705. type: integer
  5706. currencyname:
  5707. description: 币种名称
  5708. type: string
  5709. exexchangecode:
  5710. description: 交易所代码
  5711. type: string
  5712. exexchangename:
  5713. description: 交易所名称
  5714. type: string
  5715. goodscode:
  5716. description: 合约代码
  5717. type: string
  5718. goodsid:
  5719. description: 合约id
  5720. type: integer
  5721. goodsname:
  5722. description: 合约名称
  5723. type: string
  5724. hasinnerorder:
  5725. description: 是否有内部单关联 - 0:无 1:有
  5726. type: integer
  5727. hedgeaccountcode:
  5728. description: 外部账号 | 对冲账号
  5729. type: string
  5730. outtradeid:
  5731. description: 外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5732. type: string
  5733. tradeprice:
  5734. description: 成交价格
  5735. type: number
  5736. tradeqty:
  5737. description: 成交数量
  5738. type: integer
  5739. tradetime:
  5740. description: 成交时间
  5741. type: string
  5742. type: object
  5743. models.Ermcp3PaAreaAuditCfg:
  5744. properties:
  5745. areauserid:
  5746. description: 用户ID
  5747. type: integer
  5748. buyinauditflag:
  5749. description: 采购入库是否需要审核 - 0:不需审核 1:需要审核
  5750. type: integer
  5751. costratioauditflag:
  5752. description: 现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核
  5753. type: integer
  5754. customerauditflag:
  5755. description: 客户资料是否需要审核 - 0:不需审核 1:需要审核
  5756. type: integer
  5757. deliveryauditflag:
  5758. description: 交收是否需要审核 - 0:不需审核 1:需要审核
  5759. type: integer
  5760. invoiceauditflag:
  5761. description: 发票是否需要审核 - 0:不需审核 1:需要审核
  5762. type: integer
  5763. mgneedhedgeratioauditflag:
  5764. description: 套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核
  5765. type: integer
  5766. moneyauditflag:
  5767. description: 款项是否需要审核 - 0:不需审核 1:需要审核
  5768. type: integer
  5769. operatorid:
  5770. description: 操作人
  5771. type: integer
  5772. operatorsrc:
  5773. description: 操作来源 - 1:管理端 2:终端
  5774. type: integer
  5775. pointpriceauditflag:
  5776. description: 点价是否需要审核 - 0:不需审核 1:需要审核
  5777. type: integer
  5778. produceinauditflag:
  5779. description: 生产入库是否需要审核 - 0:不需审核 1:需要审核
  5780. type: integer
  5781. produceoutauditflag:
  5782. description: 生产出库是否需要审核 - 0:不需审核 1:需要审核
  5783. type: integer
  5784. selloutauditflag:
  5785. description: 销售出库是否需要审核 - 0:不需审核 1:需要审核
  5786. type: integer
  5787. sgconvertratioauditflag:
  5788. description: 现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核
  5789. type: integer
  5790. sgvtaratioauditflag:
  5791. description: 现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核
  5792. type: integer
  5793. spotcontractauditflag:
  5794. description: 现货合同是否需要审核 - 0:不需审核 1:需要审核
  5795. type: integer
  5796. updatetime:
  5797. description: 更新时间
  5798. type: string
  5799. type: object
  5800. models.Ermcp3PaAreaSubject:
  5801. properties:
  5802. areauserid:
  5803. description: 所属机构
  5804. type: integer
  5805. canmodify:
  5806. description: 是否可修改 - 0:否 1:是
  5807. type: integer
  5808. createtime:
  5809. description: 创建时间
  5810. type: string
  5811. creatorid:
  5812. description: 创建人ID
  5813. type: string
  5814. creatorsrc:
  5815. description: 创建人来源 - 1:管理端 2:终端 3:交易
  5816. type: integer
  5817. modifierid:
  5818. description: 修改人
  5819. type: string
  5820. modifiersrc:
  5821. description: 修改人来源 - 1:管理端 2:终端
  5822. type: integer
  5823. modifytime:
  5824. description: 修改时间
  5825. type: string
  5826. parentsubjectid:
  5827. description: 上级主体ID
  5828. type: string
  5829. remark:
  5830. description: 备注
  5831. type: string
  5832. subjectid:
  5833. description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  5834. type: integer
  5835. subjectname:
  5836. description: 主体名称
  5837. type: string
  5838. subjectstatus:
  5839. description: '主体状态 - 1:正常 2: 停用'
  5840. type: integer
  5841. subjecttype:
  5842. description: 主体类型 - 1:交易主体 2:业务部门
  5843. type: integer
  5844. type: object
  5845. models.Ermcp3PaTradeLink:
  5846. properties:
  5847. accountid:
  5848. description: 期货账户代码 | 账号ID
  5849. type: integer
  5850. agreeunit:
  5851. description: 合约乘数
  5852. type: number
  5853. buyorsell:
  5854. description: 方向 - 0:买 1:卖
  5855. type: integer
  5856. channelbuildtype:
  5857. description: 委托单据类型 0:无 1:建仓 2:平仓
  5858. type: integer
  5859. charge:
  5860. description: 手续费
  5861. type: number
  5862. closepl:
  5863. description: 平仓盈亏
  5864. type: number
  5865. closetype:
  5866. description: 平仓方式 - 0:无 1:平今 2:平昨
  5867. type: integer
  5868. convertratio:
  5869. description: 折算系数
  5870. type: number
  5871. enumdicname:
  5872. description: 单位名称
  5873. type: string
  5874. executeprice:
  5875. description: 执行价 [期权]
  5876. type: integer
  5877. goodscode:
  5878. description: 合约代码
  5879. type: string
  5880. goodsgroupid:
  5881. description: 对冲品种ID[期货合约商品组ID]
  5882. type: integer
  5883. goodsid:
  5884. description: 商品ID
  5885. type: integer
  5886. goodsname:
  5887. description: 合约名称
  5888. type: string
  5889. goodunitid:
  5890. description: 单位id
  5891. type: integer
  5892. hedgeflag:
  5893. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  5894. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  5895. type: integer
  5896. marketid:
  5897. description: 市场ID
  5898. type: integer
  5899. middlegoodsid:
  5900. description: 套保品种ID
  5901. type: integer
  5902. middlegoodsqty:
  5903. description: 套保品种数量 = TradeQty * AgreeUnit * ConvertRatio
  5904. type: number
  5905. optioncode:
  5906. description: 期权代码 [期权]
  5907. type: string
  5908. ordertype:
  5909. description: 单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单
  5910. type: integer
  5911. ordertypename:
  5912. description: 订单类型
  5913. type: string
  5914. parentaccountid:
  5915. description: 所属母账户
  5916. type: integer
  5917. premium:
  5918. description: 权利金 [期权]
  5919. type: number
  5920. relatedlot:
  5921. description: 已关联数量(已关联数量手) | db:关联手数
  5922. type: number
  5923. relatedouttradeid:
  5924. description: 关联外部成交单ID
  5925. type: string
  5926. relatedqty:
  5927. description: 关联数量
  5928. type: number
  5929. spotcontractid:
  5930. description: 现货合同ID [4:套期保值\10\11]
  5931. type: string
  5932. taname:
  5933. description: 期货账户名称
  5934. type: string
  5935. tradeamount:
  5936. description: 成交金额(账户)
  5937. type: number
  5938. tradedate:
  5939. description: 交易日(yyyyMMdd)
  5940. type: string
  5941. tradeid:
  5942. description: 期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5943. type: string
  5944. tradelot:
  5945. description: 成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数
  5946. type: integer
  5947. tradeprice:
  5948. description: 成交价格
  5949. type: number
  5950. tradetime:
  5951. description: 时间 | db:成交时间
  5952. type: string
  5953. tradetype:
  5954. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  5955. type: integer
  5956. userid:
  5957. description: 所属机构 - 所属母账户的UserID
  5958. type: string
  5959. username:
  5960. description: 用户名称
  5961. type: string
  5962. type: object
  5963. models.Ermcp3ParamChangeApp:
  5964. properties:
  5965. aftervalue:
  5966. description: 变更后
  5967. type: number
  5968. applicationid:
  5969. description: 申请ID(619+Unix秒时间戳(10位)+xxxxxx)
  5970. type: string
  5971. applyid:
  5972. description: 申请人
  5973. type: string
  5974. applyname:
  5975. description: 申请人名称(代码)
  5976. type: string
  5977. applyremark:
  5978. description: 申请备注
  5979. type: string
  5980. applysrc:
  5981. description: 申请来源 - 1:管理端 2:终端
  5982. type: integer
  5983. applystatus:
  5984. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  5985. type: integer
  5986. applytime:
  5987. description: 申请时间
  5988. type: string
  5989. areauserid:
  5990. description: 所属机构用户ID
  5991. type: integer
  5992. auditid:
  5993. description: 审核人
  5994. type: string
  5995. auditname:
  5996. description: 审核人名称(代码)
  5997. type: string
  5998. auditremark:
  5999. description: 审核备注
  6000. type: string
  6001. auditsrc:
  6002. description: 审核来源 - 1:管理端 2:终端
  6003. type: integer
  6004. audittime:
  6005. description: 审核时间
  6006. type: string
  6007. audittradedate:
  6008. description: 审核交易日(yyyyMMdd)
  6009. type: string
  6010. beforevalue:
  6011. description: 变更前
  6012. type: number
  6013. deliverygoodscode:
  6014. description: 品种代码
  6015. type: string
  6016. deliverygoodsid:
  6017. description: 品种id
  6018. type: integer
  6019. deliverygoodsname:
  6020. description: 品种名称
  6021. type: string
  6022. middlegoodscode:
  6023. description: 套保品种代码
  6024. type: string
  6025. middlegoodsid:
  6026. description: 套保品种ID [ParamChangeType = 2,3,4]
  6027. type: integer
  6028. middlegoodsname:
  6029. description: 套保品种名称
  6030. type: string
  6031. operatetype:
  6032. description: 操作类型 - 1:新增 2:修改
  6033. type: integer
  6034. paramchangetype:
  6035. description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  6036. type: integer
  6037. wrstandardcode:
  6038. description: 现货商品代码
  6039. type: string
  6040. wrstandardid:
  6041. description: 现货商品ID [ParamChangeType = 1,2,3]
  6042. type: integer
  6043. wrstandardname:
  6044. description: 现货商品名称
  6045. type: string
  6046. type: object
  6047. models.Ermcp3RootUserAccount:
  6048. properties:
  6049. accountname:
  6050. description: 账户名称(机构名称)
  6051. type: string
  6052. accountstatus:
  6053. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6054. type: integer
  6055. applysrc:
  6056. description: 申请来源 - 1:管理端 2:终端
  6057. type: integer
  6058. auditremark:
  6059. description: 审核备注
  6060. type: string
  6061. auditsrc:
  6062. description: 审核来源 - 1:管理端 2:终端
  6063. type: integer
  6064. audittime:
  6065. description: 审核时间
  6066. type: string
  6067. audituserid:
  6068. description: 审核人
  6069. type: integer
  6070. broker:
  6071. description: 所属经纪人ID
  6072. type: integer
  6073. canceltime:
  6074. description: 销户时间
  6075. type: string
  6076. canceluserid:
  6077. description: 销户人
  6078. type: integer
  6079. canrecommend:
  6080. description: 是否可推荐 - 0:不可 1;可
  6081. type: integer
  6082. createtime:
  6083. description: 创建时间
  6084. type: string
  6085. creatorid:
  6086. description: 创建人
  6087. type: integer
  6088. hasauth:
  6089. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  6090. type: integer
  6091. isanonymous:
  6092. description: 是否匿名下单 - 0:否 1:是
  6093. type: integer
  6094. maxinvestornum:
  6095. description: 最大用户数(经纪会员下投资者个数)
  6096. type: integer
  6097. memberuserid:
  6098. description: 所属会员ID
  6099. type: integer
  6100. modifierid:
  6101. description: 修改人
  6102. type: integer
  6103. modifyremark:
  6104. description: 变更备注
  6105. type: string
  6106. modifystatus:
  6107. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  6108. type: integer
  6109. modifytime:
  6110. description: 修改时间
  6111. type: string
  6112. nickname:
  6113. description: 昵称
  6114. type: string
  6115. parenttopuser:
  6116. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  6117. type: string
  6118. parentuserid:
  6119. description: 所属机构ID
  6120. type: integer
  6121. reckonaccountid:
  6122. description: 默认结算资金账号ID(机构分润使用) 作废
  6123. type: integer
  6124. refercount:
  6125. description: 推荐总人数
  6126. type: integer
  6127. refereeuserid:
  6128. description: 推荐人ID
  6129. type: integer
  6130. refernum:
  6131. description: 推荐码
  6132. type: string
  6133. rootuserid:
  6134. description: 根用户ID
  6135. type: integer
  6136. subaccountlevel:
  6137. description: 子账户层数
  6138. type: integer
  6139. subarealevelpath:
  6140. description: 子机构层级路径(逗号分隔,首尾加逗号)
  6141. type: string
  6142. userid:
  6143. description: 用户ID
  6144. type: integer
  6145. usertype:
  6146. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6147. type: integer
  6148. type: object
  6149. models.Ermcp3SCMiddleGoods:
  6150. properties:
  6151. biztype:
  6152. description: 业务类型 1:套保 2:套利
  6153. type: integer
  6154. contractno:
  6155. description: 合同编号
  6156. type: string
  6157. contracttype:
  6158. description: 合同类型 1:采购 -1:销售
  6159. type: integer
  6160. convertratio:
  6161. description: 折算系数
  6162. type: number
  6163. customername:
  6164. description: 对手手名称
  6165. type: string
  6166. customeruserid:
  6167. description: 对手id
  6168. type: integer
  6169. deliverygoodscode:
  6170. description: 现货品种代码
  6171. type: string
  6172. deliverygoodsid:
  6173. description: 现货品种ID
  6174. type: integer
  6175. deliverygoodsname:
  6176. description: 现货品种名称
  6177. type: string
  6178. enumdicname:
  6179. description: 现货单位名称
  6180. type: string
  6181. middlegoodsid:
  6182. description: 套保品种ID
  6183. type: integer
  6184. middlegoodspricedqty3:
  6185. description: 应套保数量 = MiddleGoodsPricedQty2 * 套保比率
  6186. type: number
  6187. needhedgeratio:
  6188. description: 套保比例
  6189. type: number
  6190. pricedqty:
  6191. description: 已定价量
  6192. type: number
  6193. relatedmiddlegoodsqty:
  6194. description: 已关联量(套保品种)(期货)
  6195. type: number
  6196. spotcontractid:
  6197. description: 合同编号
  6198. type: string
  6199. unitid:
  6200. description: 现货单位id
  6201. type: integer
  6202. userid:
  6203. description: 用户id
  6204. type: integer
  6205. vatrate:
  6206. description: 增值税率
  6207. type: number
  6208. wrstandardcode:
  6209. description: 现货商品代码
  6210. type: string
  6211. wrstandardid:
  6212. description: 现货商品id
  6213. type: integer
  6214. wrstandardname:
  6215. description: 现货商品名称
  6216. type: string
  6217. type: object
  6218. models.Ermcp3SCMiddleGoodsReport:
  6219. properties:
  6220. begindate:
  6221. description: 开始交易日
  6222. type: string
  6223. contractno:
  6224. description: 合同编号
  6225. type: string
  6226. contracttype:
  6227. description: 合同类型 1:采购 -1:销售
  6228. type: integer
  6229. convertratio:
  6230. description: 折算系数
  6231. type: number
  6232. cycletime:
  6233. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6234. type: string
  6235. cycletype:
  6236. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6237. type: integer
  6238. deliverygoodscode:
  6239. description: 品种代码
  6240. type: string
  6241. deliverygoodsid:
  6242. description: 现货品种ID
  6243. type: integer
  6244. deliverygoodsname:
  6245. description: 品种名称
  6246. type: string
  6247. diffprice:
  6248. description: 现期价格差 = 今日点价登记均价(基价) - 今日期货成交均价
  6249. type: number
  6250. diffqty:
  6251. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  6252. type: number
  6253. enddate:
  6254. description: 结束交易日
  6255. type: string
  6256. hedgeplanqty:
  6257. description: 套保计划量 = TodayPricedQty * 折算系数 * (1/(1+增值税率)) * 套保比例
  6258. type: number
  6259. matchname:
  6260. description: 交易对手方(个人:用户名称 企业:简称)
  6261. type: string
  6262. middlegoodscode:
  6263. description: 套保品种代码
  6264. type: string
  6265. middlegoodsid:
  6266. description: 套保品种ID
  6267. type: integer
  6268. middlegoodsname:
  6269. description: 套保品种名称
  6270. type: string
  6271. middlegoodspricedqty:
  6272. description: 已定价量(套保品种 - 税前) = PricedQty * 折算系数
  6273. type: number
  6274. middlegoodspricedqty2:
  6275. description: 已定价量(套保品种- 税后) = MiddleGoodsPricedQty * (1/(1+增值税率))
  6276. type: number
  6277. middlegoodspricedqty3:
  6278. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  6279. type: number
  6280. needhedgeratio:
  6281. description: 套保系数
  6282. type: number
  6283. pricedamount:
  6284. description: 已定价额(现货)
  6285. type: number
  6286. pricedamount2:
  6287. description: 已定价额(现货-基价额)
  6288. type: number
  6289. pricedqty:
  6290. description: 已定价量(现货)
  6291. type: number
  6292. reckondate:
  6293. description: 日照时期(yyyyMMdd)
  6294. type: string
  6295. relatedmiddlegoodsamount:
  6296. description: 已关联额(期货)
  6297. type: number
  6298. relatedmiddlegoodsqty:
  6299. description: 已关联量(套保品种)(期货)
  6300. type: number
  6301. spotcontractid:
  6302. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  6303. type: string
  6304. todayavgfutuprice:
  6305. description: 今日期货成交均价 = TodayRelatedMiddleGoodsAmount /todayrelatedfutureqty
  6306. type: number
  6307. todayavgprice:
  6308. description: 今日定价均价 = TodayPricedAmount / TodayPricedQty
  6309. type: number
  6310. todayavgprice2:
  6311. description: 今日点价登记均价(基价) = TodayPricedAmount2 / TodayPricedQty
  6312. type: number
  6313. todaypricedamount:
  6314. description: 今日定价额(现货)
  6315. type: number
  6316. todaypricedamount2:
  6317. description: 今日定价额(现货-基价额)
  6318. type: number
  6319. todaypricedqty:
  6320. description: 今日定价量(现货)
  6321. type: number
  6322. todayrelatedfutureqty:
  6323. description: 今日关联量(期货)
  6324. type: number
  6325. todayrelatedmiddlegoodsamount:
  6326. description: 今日关联额(期货)
  6327. type: number
  6328. todayrelatedmiddlegoodsqty:
  6329. description: 今日关联量(套保品-期货)
  6330. type: number
  6331. updatetime:
  6332. description: 更新时间
  6333. type: string
  6334. userid:
  6335. description: 合同所属用户id
  6336. type: integer
  6337. vatrate:
  6338. description: 增值税率
  6339. type: number
  6340. wrstandardcode:
  6341. description: 商品(品类) 代码
  6342. type: string
  6343. wrstandardid:
  6344. description: 现货商品ID
  6345. type: integer
  6346. wrstandardname:
  6347. description: 商品(品类) 名称
  6348. type: string
  6349. type: object
  6350. models.Ermcp3SellBuyContract:
  6351. properties:
  6352. accountid:
  6353. description: 期货账户id
  6354. type: string
  6355. accountname:
  6356. description: 账户名称
  6357. type: string
  6358. attachment:
  6359. description: 附件
  6360. type: string
  6361. audittime:
  6362. description: 审核时间
  6363. type: string
  6364. bizsubjectid:
  6365. description: 归属业务部门ID - SubjectID
  6366. type: integer
  6367. biztype:
  6368. description: 业务类型 1-套保 2-套利
  6369. type: integer
  6370. brandname:
  6371. description: 品牌名称
  6372. type: string
  6373. contracctstatus:
  6374. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6375. type: integer
  6376. contractmargin:
  6377. description: 合同保证金
  6378. type: number
  6379. contractno:
  6380. description: 合同编号
  6381. type: string
  6382. contracttype:
  6383. description: 合同类型 1-采购, -1-销售
  6384. type: integer
  6385. convertfactor:
  6386. description: 标仓系数(品类)
  6387. type: number
  6388. createtime:
  6389. description: 创建时间
  6390. type: string
  6391. currencyid:
  6392. description: 币种id
  6393. type: integer
  6394. currencyname:
  6395. description: 币种名称
  6396. type: string
  6397. daikaiamount:
  6398. description: 应收(开)票额
  6399. type: number
  6400. deliveryenddate:
  6401. description: 交割结束日
  6402. type: string
  6403. deliverygoodscode:
  6404. description: 现货品种代码
  6405. type: string
  6406. deliverygoodsid:
  6407. description: 现货商品ID
  6408. type: integer
  6409. deliverygoodsname:
  6410. description: 现货品种名称
  6411. type: string
  6412. deliverystartdate:
  6413. description: 交割开始日
  6414. type: string
  6415. enddate:
  6416. description: 点价结束日
  6417. type: string
  6418. enumdicname:
  6419. description: 单位名称
  6420. type: string
  6421. goodscode:
  6422. description: 点价商品代码
  6423. type: string
  6424. goodsgroupid:
  6425. description: 点价商品组id
  6426. type: integer
  6427. goodsid:
  6428. description: 点价商品ID
  6429. type: integer
  6430. goodsname:
  6431. description: 点价商品名称
  6432. type: string
  6433. invoiceamount:
  6434. description: 已开票额
  6435. type: number
  6436. loanamount:
  6437. description: 贷款总额=已定价额+调整金额
  6438. type: number
  6439. margin:
  6440. description: 保证金
  6441. type: number
  6442. meruserid:
  6443. description: 跟单员id
  6444. type: integer
  6445. meruserlogincode:
  6446. description: 跟单员登录代码
  6447. type: string
  6448. merusername:
  6449. description: 跟单员名称
  6450. type: string
  6451. nickname:
  6452. description: 账户昵称
  6453. type: string
  6454. orireckonrealqty:
  6455. description: 应交收量
  6456. type: number
  6457. payamount:
  6458. description: 已收付额(收款或付款)
  6459. type: number
  6460. preinvoiceamount:
  6461. description: 预收(开)票额
  6462. type: number
  6463. prepayamount:
  6464. description: 预收付额
  6465. type: number
  6466. price:
  6467. description: 价格
  6468. type: number
  6469. pricedamount:
  6470. description: 已定价额
  6471. type: number
  6472. pricedavg:
  6473. description: 已点均价
  6474. type: number
  6475. pricedqty:
  6476. description: 已定价量
  6477. type: number
  6478. pricemove:
  6479. description: 升贴水
  6480. type: number
  6481. pricetype:
  6482. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  6483. type: integer
  6484. producttype:
  6485. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6486. type: integer
  6487. qty:
  6488. description: 合同量
  6489. type: number
  6490. reckonadjustamount:
  6491. description: 调整金额
  6492. type: number
  6493. reckonedamount:
  6494. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  6495. type: number
  6496. reckonotheramount:
  6497. description: 其它费用
  6498. type: number
  6499. reckonrealqty:
  6500. description: 已交收量
  6501. type: number
  6502. remark:
  6503. description: 备注
  6504. type: string
  6505. saleuserid:
  6506. description: 业务员id
  6507. type: integer
  6508. saleuserlogincode:
  6509. description: 业务员登录代码
  6510. type: string
  6511. saleusername:
  6512. description: 业务员名称
  6513. type: string
  6514. spotcontractid:
  6515. description: 合同ID
  6516. type: string
  6517. spotgoodsbrandid:
  6518. description: 现货品牌ID(DGFactoryItem表的ID)
  6519. type: integer
  6520. spotgoodsdesc:
  6521. description: 商品型号(商品规格)
  6522. type: string
  6523. startdate:
  6524. description: 点价开始日
  6525. type: string
  6526. subjectid:
  6527. description: 交易主体ID
  6528. type: integer
  6529. subjectname:
  6530. description: 交易主体名称
  6531. type: string
  6532. totalamount:
  6533. description: 合计总额
  6534. type: number
  6535. tradeuserid:
  6536. description: 交易员id
  6537. type: integer
  6538. tradeuserlogincode:
  6539. description: 交易员登录代码
  6540. type: string
  6541. tradeusername:
  6542. description: 交易员名称
  6543. type: string
  6544. unpayamount:
  6545. description: 应收付款额(应支付或应收款)
  6546. type: number
  6547. unpricedqty:
  6548. description: 未定价量
  6549. type: number
  6550. unsureqty:
  6551. description: 未确定量
  6552. type: number
  6553. userid:
  6554. description: 机构ID
  6555. type: integer
  6556. vatrate:
  6557. description: 增值税率
  6558. type: number
  6559. wrstandardcode:
  6560. description: 品类代码
  6561. type: string
  6562. wrstandardid:
  6563. description: 品类ID
  6564. type: integer
  6565. wrstandardname:
  6566. description: 品类名称
  6567. type: string
  6568. type: object
  6569. models.Ermcp3SpotGoodsPrice:
  6570. properties:
  6571. areauserid:
  6572. description: 所属机构id
  6573. type: integer
  6574. brandname:
  6575. description: 品牌名称
  6576. type: string
  6577. currencyid:
  6578. description: 报价货币ID
  6579. type: integer
  6580. currencyname:
  6581. description: 币种名称
  6582. type: string
  6583. deliverygoodscode:
  6584. description: 现货商品代码
  6585. type: string
  6586. deliverygoodsid:
  6587. description: 现货商品id
  6588. type: integer
  6589. deliverygoodsname:
  6590. description: 现货商品名称
  6591. type: string
  6592. enumdicname:
  6593. description: 现货商品单位名称
  6594. type: string
  6595. gbenumdicname:
  6596. description: 品类单位名称
  6597. type: string
  6598. gmunitid:
  6599. description: 品类单位id
  6600. type: integer
  6601. isvalid:
  6602. description: 是否有效 - 0:无效 1:有效
  6603. type: integer
  6604. operateid:
  6605. description: 最后操作人
  6606. type: integer
  6607. operatesrc:
  6608. description: 最后操作来源 - 1:管理端 2:终端
  6609. type: integer
  6610. operatetime:
  6611. description: 最后操作时间
  6612. type: string
  6613. operatorname:
  6614. description: 操作人名称
  6615. type: string
  6616. spotgoodsbrandid:
  6617. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6618. type: integer
  6619. spotgoodsprice:
  6620. description: 现货价格
  6621. type: number
  6622. tradedate:
  6623. description: 交易日(yyyyMMdd)
  6624. type: string
  6625. unitid:
  6626. description: 现货商品单位id
  6627. type: integer
  6628. wrstandardcode:
  6629. description: 品类代码
  6630. type: string
  6631. wrstandardid:
  6632. description: 现货品类ID(通用则为0)
  6633. type: integer
  6634. wrstandardname:
  6635. description: 品类名称
  6636. type: string
  6637. type: object
  6638. models.Ermcp3SpotGoodsPriceLog:
  6639. properties:
  6640. areauserid:
  6641. description: 所属机构id
  6642. type: integer
  6643. brandname:
  6644. description: 品牌名称
  6645. type: string
  6646. currencyid:
  6647. description: 报价货币ID
  6648. type: integer
  6649. deliverygoodscode:
  6650. description: 现货商品代码
  6651. type: string
  6652. deliverygoodsid:
  6653. description: 现货商品id
  6654. type: integer
  6655. deliverygoodsname:
  6656. description: 现货商品名称
  6657. type: string
  6658. enumdicname:
  6659. description: 现货商品单位名称
  6660. type: string
  6661. gbenumdicname:
  6662. description: 品类单位名称
  6663. type: string
  6664. gmunitid:
  6665. description: 品类单位id
  6666. type: integer
  6667. logid:
  6668. description: 日志id
  6669. type: integer
  6670. operateid:
  6671. description: 最后操作人
  6672. type: integer
  6673. operatesrc:
  6674. description: 最后操作来源 - 1:管理端 2:终端
  6675. type: integer
  6676. operatetime:
  6677. description: 最后操作时间
  6678. type: string
  6679. operatorname:
  6680. description: 操作人名称
  6681. type: string
  6682. spotgoodsbrandid:
  6683. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6684. type: integer
  6685. spotgoodsprice:
  6686. description: 现货价格
  6687. type: number
  6688. tradedate:
  6689. description: 交易日(yyyyMMdd)
  6690. type: string
  6691. unitid:
  6692. description: 现货商品单位id
  6693. type: integer
  6694. wrstandardcode:
  6695. description: 品类代码
  6696. type: string
  6697. wrstandardid:
  6698. description: 现货品类ID(通用则为0)
  6699. type: integer
  6700. wrstandardname:
  6701. description: 品类名称
  6702. type: string
  6703. type: object
  6704. models.Ermcp3SubTaaccount:
  6705. properties:
  6706. accountid:
  6707. description: 资金账户ID
  6708. type: integer
  6709. parentaccountcode:
  6710. description: 所属根账号代码(母账号代码)
  6711. type: string
  6712. parentaccountid:
  6713. description: 所属根账号(母账号)
  6714. type: integer
  6715. taname:
  6716. description: 资金账号名称
  6717. type: string
  6718. tradestatus:
  6719. description: 交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)
  6720. type: integer
  6721. username:
  6722. description: 交易用户
  6723. type: string
  6724. type: object
  6725. models.Ermcp3TaFutuReDataReport:
  6726. properties:
  6727. accountid:
  6728. description: 交易账户
  6729. type: integer
  6730. accountname:
  6731. description: 交易账号名称
  6732. type: string
  6733. agreeunit:
  6734. description: 商品合约单位
  6735. type: number
  6736. begindate:
  6737. description: 开始交易日
  6738. type: string
  6739. buyorsell:
  6740. description: 持仓方向
  6741. type: integer
  6742. charge:
  6743. description: 手续费
  6744. type: number
  6745. closeavgprice:
  6746. description: 平仓均价
  6747. type: number
  6748. closepl:
  6749. description: 平仓损益
  6750. type: number
  6751. currencyid:
  6752. description: 结算币种ID
  6753. type: integer
  6754. currencyname:
  6755. description: 币种名称
  6756. type: string
  6757. cycletime:
  6758. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6759. type: string
  6760. cycletype:
  6761. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6762. type: integer
  6763. enddate:
  6764. description: 结束交易日
  6765. type: string
  6766. enumdicname:
  6767. description: 单位名称
  6768. type: string
  6769. floatpl:
  6770. description: 浮动损益
  6771. type: number
  6772. goodscode:
  6773. description: 交易合约代码
  6774. type: string
  6775. goodsgroupid:
  6776. description: 交易品种
  6777. type: integer
  6778. goodsgroupname:
  6779. description: 交易品种名称
  6780. type: string
  6781. goodsgroupspotqty:
  6782. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  6783. type: number
  6784. goodsid:
  6785. description: 交易合约
  6786. type: integer
  6787. goodsname:
  6788. description: 交易合约名称
  6789. type: string
  6790. goodunitid:
  6791. description: 交易合约单位id
  6792. type: integer
  6793. holdamount:
  6794. description: 期末持仓额
  6795. type: number
  6796. holdqty:
  6797. description: 期末持仓量
  6798. type: number
  6799. lastholdamount:
  6800. description: 当前持仓额
  6801. type: number
  6802. lastprice:
  6803. description: 最新价
  6804. type: number
  6805. middlegoodsid:
  6806. description: 套保品种id
  6807. type: integer
  6808. middlegoodsname:
  6809. description: 套保商品名称
  6810. type: string
  6811. middlegoodsqty:
  6812. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  6813. type: number
  6814. middlgoodscode:
  6815. description: 套保商品代码
  6816. type: string
  6817. openamount:
  6818. description: 期末开仓额
  6819. type: number
  6820. openavgprice:
  6821. description: 开仓均价
  6822. type: number
  6823. oriholdamount:
  6824. description: 期初持仓额
  6825. type: number
  6826. oriholdqty:
  6827. description: 期初持仓量
  6828. type: number
  6829. oriopenamount:
  6830. description: 期初开仓额
  6831. type: number
  6832. outergroupcode:
  6833. description: 交易品种代码
  6834. type: string
  6835. qtydecimalplace:
  6836. description: 成交量小数位
  6837. type: integer
  6838. reckondate:
  6839. description: 日照时期(yyyyMMdd)
  6840. type: string
  6841. reckonholdamount:
  6842. description: 结算持仓额
  6843. type: number
  6844. reckonpl:
  6845. description: 结算损益
  6846. type: number
  6847. reckonpl2:
  6848. description: 结算逐笔盈亏
  6849. type: number
  6850. reckonprice:
  6851. description: 结算价
  6852. type: number
  6853. relateduserid:
  6854. description: 账户关联用户ID
  6855. type: integer
  6856. todaycloseamount:
  6857. description: 今平仓额
  6858. type: number
  6859. todaycloseqty:
  6860. description: 今平仓量
  6861. type: number
  6862. todaygoodsgroupspotqty:
  6863. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  6864. type: number
  6865. todaymiddlegoodsqty:
  6866. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  6867. type: number
  6868. todayopenamount:
  6869. description: 今开仓额
  6870. type: number
  6871. todayopenqty:
  6872. description: 今开仓量
  6873. type: number
  6874. userid:
  6875. description: 账户所属用户ID
  6876. type: integer
  6877. type: object
  6878. models.Ermcp3TradeLinkDetail:
  6879. properties:
  6880. accountid:
  6881. description: 资金账号
  6882. type: integer
  6883. agreeunit:
  6884. description: 合约乘数
  6885. type: number
  6886. areauserid:
  6887. description: 所属机构
  6888. type: string
  6889. bizsubjectid:
  6890. description: 归属业务部门ID - SubjectID
  6891. type: string
  6892. buyorsell:
  6893. description: 方向 - 0:买 1:卖
  6894. type: integer
  6895. channelbuildtype:
  6896. description: 委托单据类型 0:无 1:建仓 2:平仓
  6897. type: integer
  6898. contractno:
  6899. description: 现货编号 (合同编号)
  6900. type: string
  6901. convertratio:
  6902. description: 折算系数
  6903. type: number
  6904. createtime:
  6905. description: 关联时间 | 创建时间
  6906. type: string
  6907. creatorid:
  6908. description: 创建人ID
  6909. type: string
  6910. creatorsrc:
  6911. description: 创建人来源 - 1:管理端 2:终端 3:交易
  6912. type: integer
  6913. enumdicname:
  6914. description: 单位名称
  6915. type: string
  6916. goodscode:
  6917. description: 合约代码
  6918. type: string
  6919. goodsgroupid:
  6920. description: 对冲品种ID[期货合约商品组ID]
  6921. type: integer
  6922. goodsid:
  6923. description: 商品ID
  6924. type: integer
  6925. goodsname:
  6926. description: 合约名称
  6927. type: string
  6928. hedgeflag:
  6929. description: 业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安)
  6930. 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  6931. type: integer
  6932. linkdetailid:
  6933. description: 关联ID(614+Unix秒时间戳(10位)+xxxxxx)
  6934. type: string
  6935. linkstatus:
  6936. description: 关联状态 - 1:成功 2:失败 3:解绑
  6937. type: integer
  6938. middlegoodscode:
  6939. description: 套保品种代码
  6940. type: string
  6941. middlegoodsid:
  6942. description: 套保品种ID
  6943. type: integer
  6944. middlegoodsname:
  6945. description: 套保品种名称
  6946. type: string
  6947. relatedlot:
  6948. description: 关联手数
  6949. type: number
  6950. relatedmode:
  6951. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  6952. type: integer
  6953. relatedqty:
  6954. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  6955. type: number
  6956. retcode:
  6957. description: 返回码
  6958. type: integer
  6959. saleuserid:
  6960. description: 业务员ID
  6961. type: string
  6962. spotcontractid:
  6963. description: 现货合同\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]
  6964. type: string
  6965. taname:
  6966. description: 期货账户
  6967. type: string
  6968. tradedate:
  6969. description: 关联交易日(yyyyMMdd)
  6970. type: string
  6971. tradeid:
  6972. description: 期货订单号 | 内部成交单ID
  6973. type: string
  6974. tradelot:
  6975. description: 成交数量 | 成交手数
  6976. type: integer
  6977. tradeprice:
  6978. description: 成交价格
  6979. type: number
  6980. tradetime:
  6981. description: 期货成交时间
  6982. type: string
  6983. tradetradedate:
  6984. description: 成交交易日(yyyyMMdd)
  6985. type: string
  6986. username:
  6987. description: 用户名称
  6988. type: string
  6989. type: object
  6990. models.Ermcp3Wrstandard:
  6991. properties:
  6992. areauserid:
  6993. description: 所属机构
  6994. type: integer
  6995. cantrade:
  6996. description: 是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)
  6997. type: integer
  6998. convertfactor:
  6999. description: 标仓系数
  7000. type: number
  7001. createtime:
  7002. description: 创建时间
  7003. type: string
  7004. creatorid:
  7005. description: 创建人
  7006. type: integer
  7007. deliverygoodsid:
  7008. description: 现货品种ID
  7009. type: integer
  7010. enumdicname:
  7011. description: 品类单位名称
  7012. type: string
  7013. isvalid:
  7014. description: 是否有效 0-无效(停用) 1-有效(正常)
  7015. type: integer
  7016. minivalue:
  7017. description: 最小变动值
  7018. type: integer
  7019. minivaluedp:
  7020. description: 最小变动值小数位
  7021. type: integer
  7022. realminivalue:
  7023. description: 实际最小变动值
  7024. type: integer
  7025. realminivaluedp:
  7026. description: 实际最小变动值小数位
  7027. type: integer
  7028. remark:
  7029. description: 备注
  7030. type: string
  7031. unitid:
  7032. description: 品类单位ID
  7033. type: integer
  7034. updatetime:
  7035. description: 更新时间
  7036. type: string
  7037. wrstandardcode:
  7038. description: 品类代码
  7039. type: string
  7040. wrstandardid:
  7041. description: 品类ID(SEQ_WRSTANDARD)
  7042. type: integer
  7043. wrstandardname:
  7044. description: 品类名称
  7045. type: string
  7046. type: object
  7047. models.ErmcpBizGroupEx:
  7048. properties:
  7049. acclist:
  7050. description: 账号列表
  7051. items:
  7052. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  7053. type: array
  7054. bizgroupid:
  7055. description: 业务分组id
  7056. type: integer
  7057. biztype:
  7058. description: 业务类型 1-套保 2-套利
  7059. type: integer
  7060. wrlist:
  7061. description: 现货商品表
  7062. items:
  7063. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  7064. type: array
  7065. type: object
  7066. models.ErmcpBizGroupSpotGoods:
  7067. properties:
  7068. areauserid:
  7069. description: 所属机构id
  7070. type: integer
  7071. bizgroupid:
  7072. description: 分组id
  7073. type: integer
  7074. biztype:
  7075. description: 业务类型 1-套保 2-套利
  7076. type: integer
  7077. deliverygoodscode:
  7078. description: 现货商品代码
  7079. type: string
  7080. deliverygoodsid:
  7081. description: 现货商品id
  7082. type: integer
  7083. deliverygoodsname:
  7084. description: 现货商品名称
  7085. type: string
  7086. unitid:
  7087. description: 现货商品单位id
  7088. type: integer
  7089. type: object
  7090. models.ErmcpBizGroupTaAccount:
  7091. properties:
  7092. accountid:
  7093. description: 账号id
  7094. type: integer
  7095. accountname:
  7096. description: 账号名称
  7097. type: string
  7098. areauserid:
  7099. description: 所属机构id
  7100. type: integer
  7101. bizgroupid:
  7102. description: 业务分组id
  7103. type: integer
  7104. ismain:
  7105. description: 是否主账号 1-是 0-否
  7106. type: integer
  7107. type: object
  7108. models.ErmcpDGFactoryItem:
  7109. properties:
  7110. areauserid:
  7111. description: 用户id
  7112. type: integer
  7113. deliverygoodsid:
  7114. description: 现货品种ID
  7115. type: integer
  7116. dgfactoryitemid:
  7117. description: 选择项ID(SEQ_DGFACTORYITEM)
  7118. type: integer
  7119. dgfactoryitemtypeid:
  7120. description: 要素项类型
  7121. type: integer
  7122. dgfactoryitemvalue:
  7123. description: 要素项值(类型为仓库时填写仓库名称)
  7124. type: string
  7125. isvalid:
  7126. description: 是否有效 - 0:无效 1:有效
  7127. type: integer
  7128. orderindex:
  7129. description: 顺序
  7130. type: integer
  7131. warehouseid:
  7132. description: 仓库ID(类型为仓库时填写)
  7133. type: integer
  7134. type: object
  7135. models.ErmcpDeliveryGoods:
  7136. properties:
  7137. agreeunit:
  7138. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  7139. type: integer
  7140. areauserid:
  7141. description: 所属机构
  7142. type: integer
  7143. auditflag:
  7144. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  7145. type: integer
  7146. categoryid:
  7147. description: 类别ID(SEQ_WRCATEGORY)
  7148. type: integer
  7149. deliverygoodscode:
  7150. description: 现货品种代码
  7151. type: string
  7152. deliverygoodsid:
  7153. description: 现货品种ID(SEQ_DELIVERYGOODS)
  7154. type: integer
  7155. deliverygoodsname:
  7156. description: 现货品种名称
  7157. type: string
  7158. deliverygoodstype:
  7159. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  7160. type: integer
  7161. dgstatus:
  7162. description: 品种状态 - 作废 - 0:未激活 1:正常
  7163. type: integer
  7164. enumdicname:
  7165. description: 现货品种单位名称
  7166. type: string
  7167. goodsunitid:
  7168. description: 现货品种单位ID
  7169. type: integer
  7170. isvalid:
  7171. description: 是否有效 - 0:无效 1:有效
  7172. type: integer
  7173. qtydecimalplace:
  7174. description: 成交量小数位
  7175. type: integer
  7176. remark:
  7177. description: 备注
  7178. type: string
  7179. standardqty:
  7180. description: 标准数量(库位数量) [标准品特有]
  7181. type: integer
  7182. standardqtyrange:
  7183. description: 标准数量偏差范围 [标准品特有]
  7184. type: integer
  7185. type: object
  7186. models.ErmcpFuturesCompany:
  7187. properties:
  7188. brokerid:
  7189. description: 经纪公司代码
  7190. type: string
  7191. channeladdress:
  7192. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  7193. type: string
  7194. channelid:
  7195. description: 对冲渠道ID
  7196. type: string
  7197. createtime:
  7198. description: 创建时间
  7199. type: string
  7200. creatorid:
  7201. description: 创建人
  7202. type: string
  7203. fcid:
  7204. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  7205. type: integer
  7206. fcname:
  7207. description: 期货公司名称
  7208. type: string
  7209. isvalid:
  7210. description: 是否有效 - 0:无效 1:有效
  7211. type: integer
  7212. mhpaddress:
  7213. description: MHP服务地址(IP:Port)
  7214. type: string
  7215. riskrulegroupid:
  7216. description: 风控规则组ID
  7217. type: string
  7218. tradefeetmpid:
  7219. description: 手续费模板ID[TradeConfigTmpType为2]
  7220. type: string
  7221. trademargintmpid:
  7222. description: 保证金模板ID [TradeConfigTmpType为1]
  7223. type: string
  7224. traderatetmpid:
  7225. description: 汇率模板ID[TradeConfigTmpType为3]
  7226. type: string
  7227. updatetime:
  7228. description: 更新时间
  7229. type: string
  7230. updatorid:
  7231. description: 更新人
  7232. type: string
  7233. type: object
  7234. models.ErmcpGGConvertCfg:
  7235. properties:
  7236. convertratio:
  7237. description: 折算系数
  7238. type: number
  7239. destgoodsgroupid:
  7240. description: 目标品种ID
  7241. type: integer
  7242. dstcode:
  7243. description: 目录品种代码
  7244. type: string
  7245. dstexchangecode:
  7246. description: 目标期货交易所
  7247. type: string
  7248. dstname:
  7249. description: 目标品种名称
  7250. type: string
  7251. dstunitid:
  7252. description: 目标品种单位ID
  7253. type: integer
  7254. dstunitidname:
  7255. description: 目标品种单位名称
  7256. type: string
  7257. modifytime:
  7258. description: 修改时间
  7259. type: string
  7260. srccode:
  7261. description: 源品种代码
  7262. type: string
  7263. srcexchangecode:
  7264. description: 源期货交易所
  7265. type: string
  7266. srcgoodsgroupid:
  7267. description: 源品种ID
  7268. type: integer
  7269. srcname:
  7270. description: 源品种名称
  7271. type: string
  7272. srcunitid:
  7273. description: 源品种单位ID
  7274. type: integer
  7275. srcunitidname:
  7276. description: 源品种单位名称
  7277. type: string
  7278. type: object
  7279. models.ErmcpGoods:
  7280. properties:
  7281. agreeunit:
  7282. description: 合约单位
  7283. type: number
  7284. areauserid:
  7285. description: 所属机构
  7286. type: integer
  7287. auditaccountid:
  7288. description: 审核操作员账号
  7289. type: integer
  7290. audittime:
  7291. description: 审核时间
  7292. type: string
  7293. cancelaccountid:
  7294. description: 注销操作员账号
  7295. type: integer
  7296. canceltime:
  7297. description: 注销时间
  7298. type: string
  7299. closepricemode:
  7300. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7301. type: integer
  7302. closepriceparam:
  7303. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  7304. type: number
  7305. createtime:
  7306. description: 创建时间
  7307. type: string
  7308. creatorid:
  7309. description: 创建人
  7310. type: integer
  7311. currencyid:
  7312. description: 报价货币ID
  7313. type: integer
  7314. cutmode:
  7315. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  7316. type: integer
  7317. decimalplace:
  7318. description: 报价小数位
  7319. type: integer
  7320. delistingdate:
  7321. description: 商品退市时间(状态:退市) -- 已作废
  7322. type: string
  7323. delistingmode:
  7324. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  7325. type: integer
  7326. deliveryflag:
  7327. description: 交割标志 - 0:不可交割 1:可交割
  7328. type: integer
  7329. enumdicname:
  7330. description: 单位名称
  7331. type: string
  7332. forceclosemode:
  7333. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  7334. type: integer
  7335. forceclosevalue:
  7336. description: 定期强平参数 [收益权]
  7337. type: integer
  7338. goodscode:
  7339. description: 商品代码(内部)
  7340. type: string
  7341. goodscurrencyid:
  7342. description: 合约货币ID
  7343. type: integer
  7344. goodsgroupid:
  7345. description: 所属商品组ID
  7346. type: integer
  7347. goodsid:
  7348. description: 商品ID(自增ID SEQ_GOODS)
  7349. type: integer
  7350. goodsname:
  7351. description: 商品名称
  7352. type: string
  7353. goodsquotetype:
  7354. description: '合约报价类型: 1-直接报价 2-间接报价'
  7355. type: integer
  7356. goodsstatus:
  7357. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7358. type: integer
  7359. goodstradetype:
  7360. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  7361. type: integer
  7362. goodunitid:
  7363. description: 报价单位ID
  7364. type: integer
  7365. hasquoter:
  7366. description: 是否有报价商 - 0:无报价商 1:有报价商
  7367. type: integer
  7368. hqprotecttime:
  7369. description: 行情保护时间(秒)
  7370. type: integer
  7371. innerdealmode:
  7372. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7373. type: integer
  7374. isbuylimited:
  7375. description: 是否限制建仓量 - 0:不限制 1:限制
  7376. type: integer
  7377. isvisible:
  7378. description: 游客是否可见 - 0:不可见 1:可见
  7379. type: integer
  7380. lasttradedate:
  7381. description: 最后交易日期(状态:待退市)
  7382. type: string
  7383. listingdate:
  7384. description: 交易开始日期
  7385. type: string
  7386. marketid:
  7387. description: 所属市场ID
  7388. type: integer
  7389. modifierid:
  7390. description: 修改人
  7391. type: integer
  7392. modifystatus:
  7393. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  7394. type: integer
  7395. modifytime:
  7396. description: 修改时间
  7397. type: string
  7398. outerdealmode:
  7399. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7400. type: integer
  7401. outgoodscode:
  7402. description: 商品代码(外部)
  7403. type: string
  7404. pictureurl:
  7405. description: 商品图片
  7406. type: string
  7407. qtydecimalplace:
  7408. description: 成交量小数位
  7409. type: integer
  7410. quotegear:
  7411. description: 行情档位(1-10)
  7412. type: integer
  7413. quoteminunit:
  7414. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7415. type: integer
  7416. quoteshowtype:
  7417. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  7418. type: integer
  7419. quoteshowtypeinterval:
  7420. description: 行情报价间隔时间(秒)(成交价时为0)
  7421. type: integer
  7422. relatedgoodsid:
  7423. description: 关联参考商品ID
  7424. type: integer
  7425. remark:
  7426. description: 备注
  7427. type: string
  7428. trademode:
  7429. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7430. 21:竞拍-大宗式 22:受托竞价
  7431. type: integer
  7432. required:
  7433. - goodscode
  7434. - goodsid
  7435. - goodsname
  7436. - marketid
  7437. type: object
  7438. models.ErmcpGoodsBrand:
  7439. properties:
  7440. areauserid:
  7441. description: 所属机构
  7442. type: integer
  7443. brandid:
  7444. description: BrandID(SEQ_SPOTGOODSBRAND)
  7445. type: integer
  7446. brandname:
  7447. description: 品牌名称
  7448. type: string
  7449. createtime:
  7450. description: 创建时间
  7451. type: string
  7452. creatorid:
  7453. description: 创建人
  7454. type: integer
  7455. creatorsrc:
  7456. description: 创建人来源 - 1:管理端 2:终端
  7457. type: integer
  7458. deliverygoodsid:
  7459. description: 现货品种ID
  7460. type: integer
  7461. isvalid:
  7462. description: 是否有效 - 0:无效 1:有效
  7463. type: integer
  7464. updatetime:
  7465. description: 更新时间
  7466. type: string
  7467. updatorid:
  7468. description: 更新人
  7469. type: integer
  7470. updatorsrc:
  7471. description: 更新人来源 - 1:管理端 2:终端
  7472. type: integer
  7473. wrstandardid:
  7474. description: 现货商品ID
  7475. type: integer
  7476. type: object
  7477. models.ErmcpGoodsModel:
  7478. properties:
  7479. areauserid:
  7480. description: 所属机构
  7481. type: integer
  7482. convertfactor:
  7483. description: 标仓系数
  7484. type: number
  7485. createtime:
  7486. description: 创建时间
  7487. type: string
  7488. creatorid:
  7489. description: 创建人
  7490. type: integer
  7491. creatorsrc:
  7492. description: 创建人来源 - 1:管理端 2:终端
  7493. type: integer
  7494. deliverygoodsid:
  7495. description: 现货品种ID
  7496. type: integer
  7497. isvalid:
  7498. description: 是否有效 - 0:无效 1:有效
  7499. type: integer
  7500. modelid:
  7501. description: ModelID(SEQ_SPOTGOODSMODEL)
  7502. type: integer
  7503. modelname:
  7504. description: 型号名称
  7505. type: string
  7506. updatetime:
  7507. description: 更新时间
  7508. type: string
  7509. updatorid:
  7510. description: 更新人
  7511. type: integer
  7512. updatorsrc:
  7513. description: 更新人来源 - 1:管理端 2:终端
  7514. type: integer
  7515. wrstandardid:
  7516. description: 现货商品ID
  7517. type: integer
  7518. type: object
  7519. models.ErmcpHisExposure:
  7520. properties:
  7521. needhedgeexposoure:
  7522. description: 应套保敞口
  7523. type: number
  7524. reckondate:
  7525. description: 日照时期(yyyyMMdd)
  7526. type: string
  7527. totalexposure:
  7528. description: 总敞口
  7529. type: number
  7530. type: object
  7531. models.ErmcpLoginTaAccount:
  7532. properties:
  7533. accountid:
  7534. description: 账号id
  7535. type: integer
  7536. accountname:
  7537. description: 账号名称
  7538. type: string
  7539. type: object
  7540. models.ErmcpLoginUser:
  7541. properties:
  7542. acclist:
  7543. description: 关联资金账号
  7544. items:
  7545. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  7546. type: array
  7547. accountname:
  7548. description: 用户名称
  7549. type: string
  7550. clientroleid:
  7551. description: 角色id(usertype=2)
  7552. type: integer
  7553. createtime:
  7554. description: 创建时间
  7555. type: string
  7556. logincode:
  7557. description: 登录代码
  7558. type: string
  7559. loginid:
  7560. description: 登录id(LOGINID)
  7561. type: integer
  7562. loginname:
  7563. description: 登录名称(loginaccount表中的accountname字段)
  7564. type: string
  7565. loginstatus:
  7566. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  7567. type: integer
  7568. memberuserid:
  7569. description: 所属会员id
  7570. type: integer
  7571. mobile:
  7572. description: 手机号
  7573. type: string
  7574. modifytime:
  7575. description: 修改时间
  7576. type: string
  7577. password:
  7578. description: 密码(不可解密)
  7579. type: string
  7580. rolename:
  7581. description: 角色名称
  7582. type: string
  7583. rolestatus:
  7584. description: 角色状态 1-启用 2-停用
  7585. type: integer
  7586. roletype:
  7587. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  7588. type: string
  7589. userid:
  7590. description: 用户id
  7591. type: integer
  7592. usertype:
  7593. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  7594. type: integer
  7595. type: object
  7596. models.ErmcpLoginUserEx:
  7597. properties:
  7598. accountstatus:
  7599. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  7600. type: integer
  7601. mobile:
  7602. description: 手机号
  7603. type: string
  7604. querytype:
  7605. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  7606. type: integer
  7607. roleid:
  7608. description: 角色id(交易账户->用户id)
  7609. type: integer
  7610. rolename:
  7611. description: 角色名称(交易账户->用户名称)
  7612. type: string
  7613. userlist:
  7614. description: 用户列表
  7615. items:
  7616. $ref: '#/definitions/models.ErmcpLoginUser'
  7617. type: array
  7618. usertype:
  7619. description: 用户类型 2-机构 7-企业成员(云平台)
  7620. type: integer
  7621. type: object
  7622. models.ErmcpMiddleGoodsModel:
  7623. properties:
  7624. areauserid:
  7625. description: 机构用户ID
  7626. type: integer
  7627. createtime:
  7628. description: 修改时间
  7629. type: string
  7630. enumdicname:
  7631. description: 单位名称
  7632. type: string
  7633. evaluateratio:
  7634. description: 估价系数
  7635. type: number
  7636. goodsgroupid:
  7637. description: 关联期货品种ID
  7638. type: integer
  7639. goodsunitid:
  7640. description: 单位ID
  7641. type: integer
  7642. isvalid:
  7643. description: 状态 0-无效(停用) 1-有效(正常)
  7644. type: integer
  7645. middlegoodscode:
  7646. description: 套保品种代码
  7647. type: string
  7648. middlegoodsid:
  7649. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  7650. type: integer
  7651. middlegoodsname:
  7652. description: 套保品种名称
  7653. type: string
  7654. modifytime:
  7655. description: 修改时间
  7656. type: string
  7657. needarbitrageratio:
  7658. description: 套利比例
  7659. type: number
  7660. needhedgeratio:
  7661. description: 套保比率
  7662. type: number
  7663. qtydecimalplace:
  7664. description: 数量小数位
  7665. type: integer
  7666. relatedgoodsid:
  7667. description: 关联交易商品ID
  7668. type: integer
  7669. relatedgoodstype:
  7670. description: 关联商品类型 - 1:期货合约 2:现货品种
  7671. type: integer
  7672. remark:
  7673. description: 备注
  7674. type: string
  7675. type: object
  7676. models.ErmcpMiddlegoodsRelateGoods:
  7677. properties:
  7678. agreeunit:
  7679. description: 合约乘数
  7680. type: number
  7681. convertratio:
  7682. description: 折算系数
  7683. type: number
  7684. enumdicname:
  7685. description: 单位名称(交易商品)
  7686. type: string
  7687. goodscode:
  7688. description: 交易商品代码
  7689. type: string
  7690. goodsgroupid:
  7691. description: 交易品种id
  7692. type: integer
  7693. goodsid:
  7694. description: 商品Id
  7695. type: integer
  7696. goodsname:
  7697. description: 交易商品名称
  7698. type: string
  7699. goodunitid:
  7700. description: 交易商品单位id
  7701. type: integer
  7702. middlegoodsid:
  7703. description: 套保商品id
  7704. type: integer
  7705. middlegoodsname:
  7706. description: 套保商品名称
  7707. type: string
  7708. middlegoodsswcode:
  7709. description: 套保商品代码
  7710. type: string
  7711. needarbitrageratio:
  7712. description: 应套利比例
  7713. type: number
  7714. needhedgeratio:
  7715. description: 应套保比例
  7716. type: number
  7717. type: object
  7718. models.ErmcpRole:
  7719. properties:
  7720. areauserid:
  7721. description: 所属机构
  7722. type: integer
  7723. autoid:
  7724. description: 角色ID(自增ID)
  7725. type: integer
  7726. modifierid:
  7727. description: 修改人(创建人)
  7728. type: integer
  7729. modifiername:
  7730. description: 修改人名称
  7731. type: string
  7732. modifytime:
  7733. description: 修改时间(创建时间)
  7734. type: string
  7735. rolename:
  7736. description: 角色名称
  7737. type: string
  7738. rolestatus:
  7739. description: 角色状态 - 1:启用 2:停用
  7740. type: integer
  7741. roletype:
  7742. description: 角色类型 - 1- 管理端 2- 交易端
  7743. type: integer
  7744. type: object
  7745. models.ErmcpRoleMenu:
  7746. properties:
  7747. iconame:
  7748. description: 菜单图标
  7749. type: string
  7750. ishadrole:
  7751. description: 是否有权限
  7752. type: boolean
  7753. menutype:
  7754. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)
  7755. type: integer
  7756. parentcode:
  7757. description: 上级资源代码
  7758. type: string
  7759. remark:
  7760. description: 菜单备注
  7761. type: string
  7762. resourcecode:
  7763. description: 菜单代码
  7764. type: string
  7765. resourcelevel:
  7766. description: 级别
  7767. type: integer
  7768. resourcename:
  7769. description: 菜单名称
  7770. type: string
  7771. roleid:
  7772. description: 角色id
  7773. type: integer
  7774. sort:
  7775. description: 排序
  7776. type: integer
  7777. url:
  7778. description: URL
  7779. type: string
  7780. userid:
  7781. description: 用户id
  7782. type: integer
  7783. type: object
  7784. models.ErmcpRoleMenuEx:
  7785. properties:
  7786. menu:
  7787. $ref: '#/definitions/models.ErmcpRoleMenu'
  7788. description: 父级菜单
  7789. subMenu:
  7790. description: 子级菜单
  7791. items:
  7792. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  7793. type: array
  7794. type: object
  7795. models.ErmcpTaAccount:
  7796. properties:
  7797. accountid:
  7798. description: 账户id
  7799. type: integer
  7800. accountname:
  7801. description: 账户名称
  7802. type: string
  7803. currencyid:
  7804. description: 币种id
  7805. type: integer
  7806. hedgeaccountcode:
  7807. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  7808. type: string
  7809. ismain:
  7810. description: 是否主账户 0-否 1-是
  7811. type: integer
  7812. parentaccountid:
  7813. description: 父账户id
  7814. type: integer
  7815. relateduserid:
  7816. description: 关联userid
  7817. type: integer
  7818. tradefeetmpid:
  7819. description: 手续费模板id
  7820. type: integer
  7821. tradefeetmpname:
  7822. description: 手续费模板名称
  7823. type: string
  7824. trademargintmpid:
  7825. description: 保证金模板id
  7826. type: integer
  7827. trademargintmpname:
  7828. description: 保证金模板名称
  7829. type: string
  7830. traderatetmpid:
  7831. description: 汇率模板id
  7832. type: integer
  7833. traderatetmpname:
  7834. description: 汇率模板名称
  7835. type: string
  7836. tradestatus:
  7837. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7838. type: integer
  7839. userid:
  7840. description: 用户id
  7841. type: integer
  7842. type: object
  7843. models.ErmcpTaAccountEx:
  7844. properties:
  7845. mainAcc:
  7846. $ref: '#/definitions/models.ErmcpTaAccountM'
  7847. description: 主账号
  7848. subacclist:
  7849. description: 子账号列表
  7850. items:
  7851. $ref: '#/definitions/models.ErmcpTaAccount'
  7852. type: array
  7853. type: object
  7854. models.ErmcpTaAccountInfo:
  7855. properties:
  7856. accountid:
  7857. description: 资金账户ID
  7858. type: integer
  7859. accountname:
  7860. description: 账户名称
  7861. type: string
  7862. balance:
  7863. description: 期初余额
  7864. type: number
  7865. capitalbalance:
  7866. description: 本金余额[外部子账户实际出入金余额]
  7867. type: number
  7868. closepl:
  7869. description: 今日平仓盈亏
  7870. type: number
  7871. creditdecrease:
  7872. description: 今日授信减少
  7873. type: number
  7874. creditincrease:
  7875. description: 今日授信增加
  7876. type: number
  7877. curdebt:
  7878. description: 期末欠款
  7879. type: number
  7880. currencyid:
  7881. description: 货币ID
  7882. type: integer
  7883. currentbalance:
  7884. description: 期末余额
  7885. type: number
  7886. freezecharge:
  7887. description: 手续费冻结
  7888. type: number
  7889. freezemargin:
  7890. description: 冻结保证金
  7891. type: number
  7892. fromaccountid:
  7893. description: 所属上级账户
  7894. type: integer
  7895. inamount:
  7896. description: 今日入金金额(包括三方入金)
  7897. type: number
  7898. ismain:
  7899. description: 是否母账号 0:不是母账户 1:是母账户
  7900. type: integer
  7901. mortgagecredit:
  7902. description: 授信金额
  7903. type: number
  7904. oridebt:
  7905. description: 期初欠款
  7906. type: number
  7907. orifreezecharge:
  7908. description: 期初手续费冻结
  7909. type: number
  7910. orifreezemargin:
  7911. description: 期初冻结保证金
  7912. type: number
  7913. orimortgagecredit:
  7914. description: 期初授信金额
  7915. type: number
  7916. oriothercredit:
  7917. description: 期初其它授信金额
  7918. type: number
  7919. oriotherfreezemargin:
  7920. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  7921. type: number
  7922. orioutamountfreeze:
  7923. description: 期初出金冻结
  7924. type: number
  7925. oriusedmargin:
  7926. description: 期初占用保证金
  7927. type: number
  7928. othercredit:
  7929. description: 其它授信金额
  7930. type: number
  7931. othercreditdecrease:
  7932. description: 今日其它授信减少
  7933. type: number
  7934. othercreditincrease:
  7935. description: 今日其它授信增加
  7936. type: number
  7937. otherfreezemargin:
  7938. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  7939. type: number
  7940. outamount:
  7941. description: 今日出金金额(包括三方出金)
  7942. type: number
  7943. outamountfreeze:
  7944. description: 出金冻结
  7945. type: number
  7946. outthreshold:
  7947. description: 出金阈值
  7948. type: number
  7949. parentaccountid:
  7950. description: 所属根账号
  7951. type: integer
  7952. paycharge:
  7953. description: 今日手续费支出
  7954. type: number
  7955. relateduserid:
  7956. description: 关联用户
  7957. type: integer
  7958. signstatus:
  7959. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  7960. type: integer
  7961. sublevelpath:
  7962. description: 账号层级路径(逗号分隔,首尾加逗号)
  7963. type: string
  7964. taaccounttype:
  7965. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  7966. type: integer
  7967. thirdinamount:
  7968. description: 今日三方入金
  7969. type: number
  7970. thirdoutamount:
  7971. description: 今日三方出金
  7972. type: number
  7973. tradestatus:
  7974. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7975. type: integer
  7976. transferamount:
  7977. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  7978. type: number
  7979. usedmargin:
  7980. description: 占用保证金
  7981. type: number
  7982. userid:
  7983. description: 用户ID
  7984. type: integer
  7985. type: object
  7986. models.ErmcpTaAccountM:
  7987. properties:
  7988. accountid:
  7989. description: 账户id
  7990. type: integer
  7991. accountname:
  7992. description: 账户名称
  7993. type: string
  7994. currencyid:
  7995. description: 币种id
  7996. type: integer
  7997. fcid:
  7998. description: 期货公司id
  7999. type: integer
  8000. fcname:
  8001. description: 期货公司代码
  8002. type: string
  8003. hedgeaccountcode:
  8004. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  8005. type: string
  8006. ismain:
  8007. description: 是否主账户 0-否 1-是
  8008. type: integer
  8009. parentaccountid:
  8010. description: 父账户id
  8011. type: integer
  8012. relateduserid:
  8013. description: 关联userid
  8014. type: integer
  8015. tradefeetmpid:
  8016. description: 手续费模板id
  8017. type: integer
  8018. tradefeetmpname:
  8019. description: 手续费模板名称
  8020. type: string
  8021. trademargintmpid:
  8022. description: 保证金模板id
  8023. type: integer
  8024. trademargintmpname:
  8025. description: 保证金模板名称
  8026. type: string
  8027. traderatetmpid:
  8028. description: 汇率模板id
  8029. type: integer
  8030. traderatetmpname:
  8031. description: 汇率模板名称
  8032. type: string
  8033. tradestatus:
  8034. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  8035. type: integer
  8036. userid:
  8037. description: 用户id
  8038. type: integer
  8039. type: object
  8040. models.ErmcpTradeConfigTMP:
  8041. properties:
  8042. areauserid:
  8043. description: 所属机构
  8044. type: integer
  8045. basiccurrencyid:
  8046. description: 基本币种ID[汇率] - 目标币种
  8047. type: integer
  8048. mainaccountid:
  8049. description: 主账户ID
  8050. type: integer
  8051. modifierid:
  8052. description: 修改人
  8053. type: integer
  8054. remark:
  8055. description: 备注
  8056. type: string
  8057. tradeconfigtmpid:
  8058. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  8059. type: integer
  8060. tradeconfigtmpname:
  8061. description: 交易配置模板名称
  8062. type: string
  8063. tradeconfigtmptype:
  8064. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  8065. type: integer
  8066. updatetime:
  8067. description: 更新时间
  8068. type: string
  8069. type: object
  8070. models.Externalexchange:
  8071. properties:
  8072. autoid:
  8073. description: AutoID - SEQ_EXTERNALEXCHANGE
  8074. type: integer
  8075. exchangefullname:
  8076. description: 外部交易所全称
  8077. type: string
  8078. exexchangecode:
  8079. description: 外部交易所代码
  8080. type: string
  8081. exexchangename:
  8082. description: 外部交易所名称(简称)
  8083. type: string
  8084. ismarketprice:
  8085. description: 是否支持市价 - 0:不支持 1:支持
  8086. type: integer
  8087. quotegear:
  8088. description: 行情档位(1-10)
  8089. type: integer
  8090. showbrokerflag:
  8091. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  8092. type: integer
  8093. updatetime:
  8094. description: 更新时间
  8095. type: string
  8096. required:
  8097. - autoid
  8098. type: object
  8099. models.Funcmenulist:
  8100. properties:
  8101. iconame:
  8102. description: 菜单图标
  8103. type: string
  8104. menutype:
  8105. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  8106. type: integer
  8107. parentcode:
  8108. description: 上级资源代码
  8109. type: string
  8110. remark:
  8111. description: 备注
  8112. type: string
  8113. resourcecode:
  8114. description: 资源代码
  8115. type: string
  8116. resourcelevel:
  8117. description: 级别 1-一级 2-二级 3-三级 4-四级
  8118. type: integer
  8119. resourcename:
  8120. description: 资源名
  8121. type: string
  8122. sort:
  8123. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  8124. type: integer
  8125. url:
  8126. description: URL
  8127. type: string
  8128. required:
  8129. - resourcecode
  8130. type: object
  8131. models.Goods:
  8132. properties:
  8133. agreeunit:
  8134. description: 合约单位
  8135. type: number
  8136. areauserid:
  8137. description: 所属机构
  8138. type: integer
  8139. auditaccountid:
  8140. description: 审核操作员账号
  8141. type: integer
  8142. audittime:
  8143. description: 审核时间
  8144. type: string
  8145. cancelaccountid:
  8146. description: 注销操作员账号
  8147. type: integer
  8148. canceltime:
  8149. description: 注销时间
  8150. type: string
  8151. closepricemode:
  8152. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8153. type: integer
  8154. closepriceparam:
  8155. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  8156. type: number
  8157. createtime:
  8158. description: 创建时间
  8159. type: string
  8160. creatorid:
  8161. description: 创建人
  8162. type: integer
  8163. currencyid:
  8164. description: 报价货币ID
  8165. type: integer
  8166. cutmode:
  8167. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  8168. type: integer
  8169. decimalplace:
  8170. description: 报价小数位
  8171. type: integer
  8172. delistingdate:
  8173. description: 商品退市时间(状态:退市) -- 已作废
  8174. type: string
  8175. delistingmode:
  8176. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  8177. type: integer
  8178. deliveryflag:
  8179. description: 交割标志 - 0:不可交割 1:可交割
  8180. type: integer
  8181. forceclosemode:
  8182. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  8183. type: integer
  8184. forceclosevalue:
  8185. description: 定期强平参数 [收益权]
  8186. type: integer
  8187. goodscode:
  8188. description: 商品代码(内部)
  8189. type: string
  8190. goodscurrencyid:
  8191. description: 合约货币ID
  8192. type: integer
  8193. goodsgroupid:
  8194. description: 所属商品组ID
  8195. type: integer
  8196. goodsid:
  8197. description: 商品ID(自增ID SEQ_GOODS)
  8198. type: integer
  8199. goodsname:
  8200. description: 商品名称
  8201. type: string
  8202. goodsquotetype:
  8203. description: '合约报价类型: 1-直接报价 2-间接报价'
  8204. type: integer
  8205. goodsstatus:
  8206. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8207. type: integer
  8208. goodstradetype:
  8209. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  8210. type: integer
  8211. goodunitid:
  8212. description: 报价单位ID
  8213. type: integer
  8214. hasquoter:
  8215. description: 是否有报价商 - 0:无报价商 1:有报价商
  8216. type: integer
  8217. hqprotecttime:
  8218. description: 行情保护时间(秒)
  8219. type: integer
  8220. innerdealmode:
  8221. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8222. type: integer
  8223. isbuylimited:
  8224. description: 是否限制建仓量 - 0:不限制 1:限制
  8225. type: integer
  8226. isvisible:
  8227. description: 游客是否可见 - 0:不可见 1:可见
  8228. type: integer
  8229. lasttradedate:
  8230. description: 最后交易日期(状态:待退市)
  8231. type: string
  8232. listingdate:
  8233. description: 交易开始日期
  8234. type: string
  8235. marketid:
  8236. description: 所属市场ID
  8237. type: integer
  8238. modifierid:
  8239. description: 修改人
  8240. type: integer
  8241. modifystatus:
  8242. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  8243. type: integer
  8244. modifytime:
  8245. description: 修改时间
  8246. type: string
  8247. outerdealmode:
  8248. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8249. type: integer
  8250. outgoodscode:
  8251. description: 商品代码(外部)
  8252. type: string
  8253. pictureurl:
  8254. description: 商品图片
  8255. type: string
  8256. qtydecimalplace:
  8257. description: 成交量小数位
  8258. type: integer
  8259. quotegear:
  8260. description: 行情档位(1-10)
  8261. type: integer
  8262. quoteminunit:
  8263. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8264. type: integer
  8265. quoteshowtype:
  8266. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  8267. type: integer
  8268. quoteshowtypeinterval:
  8269. description: 行情报价间隔时间(秒)(成交价时为0)
  8270. type: integer
  8271. remark:
  8272. description: 备注
  8273. type: string
  8274. required:
  8275. - goodscode
  8276. - goodsid
  8277. - goodsname
  8278. - marketid
  8279. type: object
  8280. models.GoodsIDAndName:
  8281. properties:
  8282. goodscode:
  8283. description: 商品代码(内部)
  8284. type: string
  8285. goodsid:
  8286. description: 商品ID(自增ID SEQ_GOODS)
  8287. type: integer
  8288. goodsname:
  8289. description: 商品名称
  8290. type: string
  8291. marketid:
  8292. description: 所属市场ID
  8293. type: integer
  8294. required:
  8295. - goodscode
  8296. - goodsid
  8297. - goodsname
  8298. - marketid
  8299. type: object
  8300. models.Goodsgroup:
  8301. properties:
  8302. agreeunit:
  8303. description: 合约单位
  8304. type: number
  8305. canshort:
  8306. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  8307. type: integer
  8308. closepricemode:
  8309. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8310. type: integer
  8311. closepriceparam:
  8312. description: 强平最新价浮动比例 - 方式为2时使用
  8313. type: number
  8314. createtime:
  8315. description: 创建时间
  8316. type: string
  8317. creatorid:
  8318. description: 创建人
  8319. type: integer
  8320. currencyid:
  8321. description: 报价货币ID
  8322. type: integer
  8323. decimalplace:
  8324. description: 报价小数位
  8325. type: integer
  8326. exercisetype:
  8327. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  8328. type: integer
  8329. exexchangeid:
  8330. description: 外部交易所ID[通道交易]
  8331. type: integer
  8332. goodsgroupid:
  8333. description: 商品组ID(自增ID)
  8334. type: integer
  8335. goodsgroupname:
  8336. description: 商品组名称
  8337. type: string
  8338. goodsgroupstatus:
  8339. description: 商品组状态 - 1:正常 2:注销
  8340. type: integer
  8341. goodunitid:
  8342. description: 报价单位ID
  8343. type: integer
  8344. innerdealmode:
  8345. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8346. type: integer
  8347. isbuylimited:
  8348. description: 是否限制建仓量 - 0:不限制 1:限制
  8349. type: integer
  8350. marketid:
  8351. description: 所属市场ID
  8352. type: integer
  8353. modifierid:
  8354. description: 修改人
  8355. type: integer
  8356. modifytime:
  8357. description: 修改时间
  8358. type: string
  8359. outerdealmode:
  8360. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8361. type: integer
  8362. outergroupcode:
  8363. description: 外部商品组代码[通道交易]
  8364. type: string
  8365. premiumdecimalplace:
  8366. description: 权利金小数位[场外期权]
  8367. type: integer
  8368. premiumspreadalgorithm:
  8369. description: 权利金点差方式[场外期权] 1:比率 2:固定
  8370. type: integer
  8371. premiumspreadvalue:
  8372. description: 权利金点差值[场外期权]
  8373. type: number
  8374. qtydecimalplace:
  8375. description: 成交量小数位
  8376. type: integer
  8377. quotegear:
  8378. description: 行情档位(1-10)
  8379. type: integer
  8380. quoteminunit:
  8381. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8382. type: integer
  8383. quoterid:
  8384. description: 报价商ID[场外期权]
  8385. type: integer
  8386. quotesourcegroupid:
  8387. description: 所属行情源分组ID[参考行情市场用\通道交易]
  8388. type: integer
  8389. syncgoodsqty:
  8390. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  8391. type: integer
  8392. required:
  8393. - goodsgroupid
  8394. - goodsgroupname
  8395. - goodsgroupstatus
  8396. - marketid
  8397. type: object
  8398. models.Goodssortbypreposition:
  8399. properties:
  8400. goodscode:
  8401. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  8402. type: string
  8403. goodsgroupcode:
  8404. description: 品种代码
  8405. type: string
  8406. prepositionqty:
  8407. description: 昨持仓量
  8408. type: integer
  8409. sortindex:
  8410. description: 排序
  8411. type: integer
  8412. tradedate:
  8413. description: 交易日
  8414. type: string
  8415. updatetime:
  8416. description: 更新时间
  8417. type: string
  8418. required:
  8419. - goodscode
  8420. - tradedate
  8421. type: object
  8422. models.Hedgeinnerholderdetail:
  8423. properties:
  8424. accountid:
  8425. description: 账号ID
  8426. type: integer
  8427. buyorsell:
  8428. description: 方向 - 0:买 1:卖
  8429. type: integer
  8430. freezeqty:
  8431. description: 冻结数量 - 按单平使用
  8432. type: integer
  8433. goodsid:
  8434. description: 商品ID
  8435. type: integer
  8436. holderamount:
  8437. description: 持仓金额 [商品币种]
  8438. type: number
  8439. holderdays:
  8440. description: 剩余冻结天数
  8441. type: integer
  8442. holderprice:
  8443. description: 持仓价格
  8444. type: number
  8445. holderqty:
  8446. description: 持仓数量
  8447. type: integer
  8448. marketid:
  8449. description: 市场ID
  8450. type: integer
  8451. openprice:
  8452. description: 建仓价格
  8453. type: number
  8454. openqty:
  8455. description: 建仓数量
  8456. type: integer
  8457. parentaccountid:
  8458. description: 所属母账户
  8459. type: integer
  8460. releaseamount:
  8461. description: 释放持仓金额[商品币种]
  8462. type: number
  8463. tradeamount:
  8464. description: 成交金额[账户]
  8465. type: number
  8466. tradedate:
  8467. description: 交易日(yyyyMMdd)
  8468. type: string
  8469. tradeid:
  8470. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8471. type: string
  8472. tradetime:
  8473. description: 交易时间
  8474. type: string
  8475. required:
  8476. - buyorsell
  8477. - tradeid
  8478. type: object
  8479. models.Hedgemarketopenlog:
  8480. properties:
  8481. accountid:
  8482. description: 资金账号[外部母账户]
  8483. type: integer
  8484. fcname:
  8485. description: 期货公司名称
  8486. type: string
  8487. handlestatus:
  8488. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  8489. type: integer
  8490. marketid:
  8491. description: 市场ID
  8492. type: integer
  8493. status:
  8494. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  8495. type: integer
  8496. tradedate:
  8497. description: 交易日(yyyyMMdd)
  8498. type: string
  8499. updatetime:
  8500. description: 更新时间
  8501. type: string
  8502. required:
  8503. - accountid
  8504. type: object
  8505. models.HsbyBuyMyPayOrder:
  8506. properties:
  8507. agreeunit:
  8508. description: 合约单位
  8509. type: number
  8510. buyaccountid:
  8511. description: 买方账号ID[报价币种]
  8512. type: integer
  8513. buyorderid:
  8514. description: 买方委托单号
  8515. type: string
  8516. createtime:
  8517. description: 创建时间
  8518. type: string
  8519. currencysign:
  8520. description: 货币符号
  8521. type: string
  8522. decimalplace:
  8523. description: 报价小数位
  8524. type: integer
  8525. goodscode:
  8526. description: 商品代码(内部)
  8527. type: string
  8528. goodsid:
  8529. description: 商品ID
  8530. type: integer
  8531. goodsname:
  8532. description: 商品名称
  8533. type: string
  8534. marketid:
  8535. description: 市场ID
  8536. type: integer
  8537. offamount:
  8538. description: 优惠金额
  8539. type: number
  8540. originalamount:
  8541. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  8542. type: number
  8543. payamount:
  8544. description: 支付金额 = TradeAmount + TradeCharge
  8545. type: number
  8546. payflag:
  8547. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  8548. type: integer
  8549. paylimitedtime:
  8550. description: 支付期限
  8551. type: string
  8552. paytime:
  8553. description: 付款时间
  8554. type: string
  8555. picurls1:
  8556. description: 预售商品介绍图片[多张用逗号分隔]
  8557. type: string
  8558. picurls2:
  8559. description: 挂牌商品介绍图片[多张用逗号分隔]
  8560. type: string
  8561. sellaccountid:
  8562. description: 卖方账号ID[报价币种]
  8563. type: integer
  8564. sellorderid:
  8565. description: 卖方委托单号
  8566. type: string
  8567. tradeamount:
  8568. description: 成交金额
  8569. type: number
  8570. tradecharge:
  8571. description: 成交手续费(买方)
  8572. type: number
  8573. tradedate:
  8574. description: 交易日(yyyyMMdd)
  8575. type: string
  8576. tradeid:
  8577. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8578. type: string
  8579. trademode:
  8580. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8581. 21:竞拍-大宗式 22:受托竞价
  8582. type: integer
  8583. tradeprice:
  8584. description: 成交价格
  8585. type: number
  8586. tradeqty:
  8587. description: 成交数量
  8588. type: integer
  8589. vendorname1:
  8590. description: 预售商品供应商名称
  8591. type: string
  8592. vendorname2:
  8593. description: 挂牌商品供应商名称
  8594. type: string
  8595. required:
  8596. - goodscode
  8597. - goodsname
  8598. - tradeid
  8599. - trademode
  8600. type: object
  8601. models.HsbyBuyMyTradeDetail:
  8602. properties:
  8603. accountid:
  8604. description: 账户ID[报价币种]
  8605. type: integer
  8606. agreeunit:
  8607. description: 合约单位
  8608. type: number
  8609. amount:
  8610. description: 金额 = 价格 * 数量 * 合约单位
  8611. type: number
  8612. buyorsell:
  8613. description: 买卖 - 0:买 1:卖
  8614. type: integer
  8615. currencysign:
  8616. description: 货币符号
  8617. type: string
  8618. decimalplace:
  8619. description: 报价小数位
  8620. type: integer
  8621. goodscode:
  8622. description: 商品代码(内部)
  8623. type: string
  8624. goodsid:
  8625. description: 商品ID
  8626. type: integer
  8627. goodsname:
  8628. description: 商品名称
  8629. type: string
  8630. marketid:
  8631. description: 市场ID
  8632. type: integer
  8633. orderamount:
  8634. description: 委托金额
  8635. type: number
  8636. orderid:
  8637. description: 单号(成交单号)
  8638. type: string
  8639. picurls1:
  8640. description: 预售商品介绍图片[多张用逗号分隔]
  8641. type: string
  8642. picurls2:
  8643. description: 挂牌商品介绍图片[多张用逗号分隔]
  8644. type: string
  8645. price:
  8646. description: 价格
  8647. type: number
  8648. qty:
  8649. description: 数量
  8650. type: integer
  8651. time:
  8652. description: 时间
  8653. type: string
  8654. trademode:
  8655. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8656. 21:竞拍-大宗式 22:受托竞价
  8657. type: integer
  8658. vendorname1:
  8659. description: 预售商品供应商名称
  8660. type: string
  8661. vendorname2:
  8662. description: 挂牌商品供应商名称
  8663. type: string
  8664. required:
  8665. - accountid
  8666. - buyorsell
  8667. - goodscode
  8668. - goodsid
  8669. - goodsname
  8670. - marketid
  8671. - orderid
  8672. - qty
  8673. - time
  8674. - trademode
  8675. type: object
  8676. models.HsbyGoodsOrderDetail:
  8677. properties:
  8678. buyorsell:
  8679. description: 买卖 - 0:买 1:卖
  8680. type: integer
  8681. currencysign:
  8682. description: 货币符号
  8683. type: string
  8684. customername:
  8685. description: 客户名称(企业名称),已脱敏
  8686. type: string
  8687. enableqty:
  8688. description: 可用数量
  8689. type: integer
  8690. goodunit:
  8691. description: 报价单位
  8692. type: string
  8693. orderid:
  8694. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8695. type: string
  8696. orderprice:
  8697. description: 委托价格
  8698. type: number
  8699. ordertime:
  8700. description: 委托时间
  8701. type: string
  8702. required:
  8703. - buyorsell
  8704. - orderid
  8705. - ordertime
  8706. type: object
  8707. models.HsbyListingGoodsDetail:
  8708. properties:
  8709. agreeunit:
  8710. description: 合约单位
  8711. type: number
  8712. buymaxqty:
  8713. description: 购买上限 [71] - 0为不限
  8714. type: integer
  8715. currency:
  8716. description: 货币
  8717. type: string
  8718. currencysign:
  8719. description: 货币符号
  8720. type: string
  8721. decimalplace:
  8722. description: 报价小数位
  8723. type: integer
  8724. desccityid:
  8725. description: 目的地(市)ID
  8726. type: integer
  8727. descprovinceid:
  8728. description: 目的地(省)ID
  8729. type: integer
  8730. goodscode:
  8731. description: 商品代码(内部)
  8732. type: string
  8733. goodsdesc:
  8734. description: 商品详情
  8735. type: string
  8736. goodsid:
  8737. description: 商品ID(自增ID SEQ_GOODS)
  8738. type: integer
  8739. goodsname:
  8740. description: 商品名称
  8741. type: string
  8742. goodsprice:
  8743. description: 商品价格
  8744. type: number
  8745. hotindex:
  8746. description: 景点热度
  8747. type: integer
  8748. last:
  8749. description: 现价
  8750. type: number
  8751. limitdown:
  8752. description: 跌停价
  8753. type: number
  8754. limitup:
  8755. description: 涨停价
  8756. type: number
  8757. lotsize:
  8758. description: 手数最小变动单位
  8759. type: integer
  8760. marketid:
  8761. description: 所属市场ID
  8762. type: integer
  8763. picurls:
  8764. description: 介绍图片[多张用逗号分隔]
  8765. type: string
  8766. quoteminunit:
  8767. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8768. type: integer
  8769. stepvalue:
  8770. description: 价格最小变动单位
  8771. type: number
  8772. trademode:
  8773. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8774. 21:竞拍-大宗式 22:受托竞价
  8775. type: integer
  8776. vendorattr:
  8777. description: 供应商附件(多张,逗号分隔)
  8778. type: string
  8779. vendorname:
  8780. description: 供应商名称
  8781. type: string
  8782. vendorphone:
  8783. description: 供应商客服电话
  8784. type: string
  8785. videourls:
  8786. description: 介绍视频[多张用逗号分隔]
  8787. type: string
  8788. required:
  8789. - goodscode
  8790. - goodsid
  8791. - goodsname
  8792. - marketid
  8793. - trademode
  8794. type: object
  8795. models.HsbyMarketGoods:
  8796. properties:
  8797. accountid:
  8798. description: 账户ID[报价币种]
  8799. type: integer
  8800. agreeunit:
  8801. description: 合约单位
  8802. type: number
  8803. buyorsell:
  8804. description: 买卖 - 0:买 1:卖
  8805. type: integer
  8806. categoryid:
  8807. description: 类别ID(WRCATEGORY)
  8808. type: integer
  8809. currency:
  8810. description: 货币
  8811. type: string
  8812. currencysign:
  8813. description: 货币符号
  8814. type: string
  8815. customername:
  8816. description: 卖家名称
  8817. type: string
  8818. decimalplace:
  8819. description: 报价小数位
  8820. type: integer
  8821. goodscode:
  8822. description: 商品代码(内部)
  8823. type: string
  8824. goodsid:
  8825. description: 商品ID
  8826. type: integer
  8827. goodsname:
  8828. description: 商品名称
  8829. type: string
  8830. goodsprice:
  8831. description: 商品价格
  8832. type: number
  8833. hascoupon:
  8834. description: 是否可用优惠卷
  8835. type: boolean
  8836. hotindex:
  8837. description: 景点热度
  8838. type: integer
  8839. marketid:
  8840. description: 市场ID
  8841. type: integer
  8842. orderid:
  8843. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8844. type: string
  8845. orderprice:
  8846. description: 委托价格
  8847. type: number
  8848. orderstatus:
  8849. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8850. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8851. 16:成交失败违约(荷兰式竞拍专用)
  8852. type: integer
  8853. picurls:
  8854. description: 介绍图片[多张用逗号分隔]
  8855. type: string
  8856. quoteminunit:
  8857. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8858. type: integer
  8859. sellUserID:
  8860. description: 卖方UserID
  8861. type: integer
  8862. trademode:
  8863. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8864. 21:竞拍-大宗式 22:受托竞价
  8865. type: integer
  8866. videourls:
  8867. description: 介绍视频[多张用逗号分隔]
  8868. type: string
  8869. required:
  8870. - accountid
  8871. - buyorsell
  8872. - goodscode
  8873. - goodsid
  8874. - goodsname
  8875. - marketid
  8876. - orderid
  8877. - trademode
  8878. type: object
  8879. models.HsbyMarketGoodsDetail:
  8880. properties:
  8881. accountid:
  8882. description: 账户ID[报价币种]
  8883. type: integer
  8884. agreeunit:
  8885. description: 合约单位
  8886. type: number
  8887. buymaxqty:
  8888. description: 购买上限 [71] - 0为不限
  8889. type: integer
  8890. buyorsell:
  8891. description: 买卖 - 0:买 1:卖
  8892. type: integer
  8893. cancelqty:
  8894. description: 撤单数量
  8895. type: integer
  8896. categoryid:
  8897. description: 类别ID(WRCATEGORY)
  8898. type: integer
  8899. currency:
  8900. description: 货币
  8901. type: string
  8902. currencysign:
  8903. description: 货币符号
  8904. type: string
  8905. customername:
  8906. description: 卖家名称
  8907. type: string
  8908. decimalplace:
  8909. description: 报价小数位
  8910. type: integer
  8911. goodscode:
  8912. description: 商品代码(内部)
  8913. type: string
  8914. goodsdesc:
  8915. description: 商品详情
  8916. type: string
  8917. goodsid:
  8918. description: 商品ID
  8919. type: integer
  8920. goodsname:
  8921. description: 商品名称
  8922. type: string
  8923. goodsprice:
  8924. description: 商品价格
  8925. type: number
  8926. hotindex:
  8927. description: 景点热度
  8928. type: integer
  8929. lotsize:
  8930. description: 手数最小变动单位
  8931. type: integer
  8932. marketid:
  8933. description: 市场ID
  8934. type: integer
  8935. orderid:
  8936. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8937. type: string
  8938. orderprice:
  8939. description: 委托价格
  8940. type: number
  8941. orderqty:
  8942. description: 委托数量
  8943. type: integer
  8944. orderstatus:
  8945. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8946. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8947. 16:成交失败违约(荷兰式竞拍专用)
  8948. type: integer
  8949. picurls:
  8950. description: 介绍图片[多张用逗号分隔]
  8951. type: string
  8952. quoteminunit:
  8953. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8954. type: integer
  8955. sellUserID:
  8956. description: 卖方UserID
  8957. type: integer
  8958. trademode:
  8959. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8960. 21:竞拍-大宗式 22:受托竞价
  8961. type: integer
  8962. tradeqty:
  8963. description: 成交数量
  8964. type: integer
  8965. vendorattr:
  8966. description: 供应商附件(多张,逗号分隔)
  8967. type: string
  8968. vendorname:
  8969. description: 供应商名称
  8970. type: string
  8971. vendorphone:
  8972. description: 供应商客服电话
  8973. type: string
  8974. videourls:
  8975. description: 介绍视频[多张用逗号分隔]
  8976. type: string
  8977. required:
  8978. - accountid
  8979. - buyorsell
  8980. - goodscode
  8981. - goodsid
  8982. - goodsname
  8983. - marketid
  8984. - orderid
  8985. - orderqty
  8986. - trademode
  8987. type: object
  8988. models.HsbyMarketInfo:
  8989. properties:
  8990. marketid:
  8991. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  8992. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8993. type: integer
  8994. marketname:
  8995. description: 市场名称
  8996. type: string
  8997. marketstatus:
  8998. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8999. type: integer
  9000. trademode:
  9001. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9002. 21:竞拍-大宗式 22:受托竞价
  9003. type: integer
  9004. required:
  9005. - marketid
  9006. - marketstatus
  9007. - trademode
  9008. type: object
  9009. models.HsbyMyGoods:
  9010. properties:
  9011. accountid:
  9012. description: 账号Id
  9013. type: integer
  9014. agreeunit:
  9015. description: 合约单位
  9016. type: number
  9017. buyaverageprice:
  9018. description: 持仓均价
  9019. type: number
  9020. buycurholderamount:
  9021. description: 买当前持仓总金额[商品币种]
  9022. type: number
  9023. buycurpositionqty:
  9024. description: 买当前持仓总数量
  9025. type: integer
  9026. buymaxqty:
  9027. description: 购买上限 [71] - 0为不限
  9028. type: integer
  9029. currencysign:
  9030. description: 货币符号
  9031. type: string
  9032. decimalplace:
  9033. description: 报价小数位
  9034. type: integer
  9035. enableqty:
  9036. description: 可用数量
  9037. type: integer
  9038. goodscode:
  9039. description: 商品代码(内部)
  9040. type: string
  9041. goodsid:
  9042. description: 商品Id
  9043. type: integer
  9044. goodsname:
  9045. description: 商品名称
  9046. type: string
  9047. goodsprice:
  9048. description: 商品价格
  9049. type: number
  9050. goodsstatus:
  9051. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  9052. type: integer
  9053. last:
  9054. description: 现价(仅使用于挂牌点选)
  9055. type: number
  9056. limitdown:
  9057. description: 跌停价(仅使用于挂牌点选)
  9058. type: number
  9059. limitup:
  9060. description: 涨停价(仅使用于挂牌点选)
  9061. type: number
  9062. lotsize:
  9063. description: 手数最小变动单位
  9064. type: integer
  9065. marketid:
  9066. description: 所属市场ID
  9067. type: integer
  9068. picurls:
  9069. description: 介绍图片[多张用逗号分隔]
  9070. type: string
  9071. quoteminunit:
  9072. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9073. type: integer
  9074. stepvalue:
  9075. description: 价格最小变动单位
  9076. type: number
  9077. trademode:
  9078. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9079. 21:竞拍-大宗式 22:受托竞价
  9080. type: integer
  9081. required:
  9082. - accountid
  9083. - goodscode
  9084. - goodsid
  9085. - goodsname
  9086. - marketid
  9087. - trademode
  9088. type: object
  9089. models.HsbyMyPackage:
  9090. properties:
  9091. accountid:
  9092. description: 账户ID
  9093. type: integer
  9094. address:
  9095. description: 提货人详细地址
  9096. type: string
  9097. agreeunit:
  9098. description: 合约单位
  9099. type: number
  9100. amount:
  9101. description: 提货金额
  9102. type: number
  9103. auditer:
  9104. description: 审核人
  9105. type: integer
  9106. audittime:
  9107. description: 审核时间
  9108. type: string
  9109. averageprice:
  9110. description: 均价
  9111. type: number
  9112. cardnum:
  9113. description: 提货人证件号码
  9114. type: string
  9115. cardtypeid:
  9116. description: 提货人证件类型
  9117. type: integer
  9118. checkremark:
  9119. description: 审核备注
  9120. type: string
  9121. currencysign:
  9122. description: 货币符号
  9123. type: string
  9124. decimalplace:
  9125. description: 报价小数位
  9126. type: integer
  9127. goodscode:
  9128. description: 商品代码(内部)
  9129. type: string
  9130. goodsid:
  9131. description: 商品ID
  9132. type: integer
  9133. goodsname:
  9134. description: 商品名称
  9135. type: string
  9136. handlestatus:
  9137. description: 处理状态
  9138. type: integer
  9139. marketid:
  9140. description: 市场ID
  9141. type: integer
  9142. phonenum:
  9143. description: 提货人联系方式
  9144. type: string
  9145. picurls:
  9146. description: 介绍图片[多张用逗号分隔]
  9147. type: string
  9148. qty:
  9149. description: 提货数量
  9150. type: number
  9151. recivername:
  9152. description: 提货人姓名
  9153. type: string
  9154. reqtime:
  9155. description: 更新时间
  9156. type: string
  9157. takemode:
  9158. description: 提货方式 - 2:自提 3:配送
  9159. type: integer
  9160. takeorderid:
  9161. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  9162. type: string
  9163. takeorderstatus:
  9164. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  9165. type: integer
  9166. takeremark:
  9167. description: 提货备注
  9168. type: string
  9169. tradedate:
  9170. description: 交易日(yyyyMMdd)
  9171. type: string
  9172. trademode:
  9173. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9174. 21:竞拍-大宗式 22:受托竞价
  9175. type: integer
  9176. userid:
  9177. description: 用户ID
  9178. type: integer
  9179. vendorname:
  9180. description: 供应商名称
  9181. type: string
  9182. required:
  9183. - goodscode
  9184. - goodsname
  9185. - takeorderid
  9186. - trademode
  9187. type: object
  9188. models.HsbyPreGoods:
  9189. properties:
  9190. agreeunit:
  9191. description: 合约单位
  9192. type: number
  9193. currency:
  9194. description: 货币
  9195. type: string
  9196. currencysign:
  9197. description: 货币符号
  9198. type: string
  9199. decimalplace:
  9200. description: 报价小数位
  9201. type: integer
  9202. desccityid:
  9203. description: 目的地(市)
  9204. type: integer
  9205. descprovinceid:
  9206. description: 目的地(省)
  9207. type: integer
  9208. enableqty:
  9209. description: 剩余数量
  9210. type: integer
  9211. goodscode:
  9212. description: 商品代码(内部)
  9213. type: string
  9214. goodsid:
  9215. description: 商品ID(自增ID SEQ_GOODS)
  9216. type: integer
  9217. goodsname:
  9218. description: 商品名称
  9219. type: string
  9220. goodsstatus:
  9221. description: 商品状态- 2:未上市 3:上市
  9222. type: integer
  9223. lasttradedate:
  9224. description: 最后交易日期(状态:待退市)
  9225. type: string
  9226. listingdate:
  9227. description: 交易开始日期
  9228. type: string
  9229. marketid:
  9230. description: 所属市场ID
  9231. type: integer
  9232. picurls:
  9233. description: 介绍图片[多张用逗号分隔]
  9234. type: string
  9235. presaledqty:
  9236. description: 已预售量(预售结束时更新)
  9237. type: integer
  9238. presaleqty:
  9239. description: 预售数量
  9240. type: integer
  9241. quoteminunit:
  9242. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9243. type: integer
  9244. refprice:
  9245. description: 参考价格[一口价]
  9246. type: number
  9247. relatedgoodsid:
  9248. description: 关联交易合约ID
  9249. type: integer
  9250. trademode:
  9251. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9252. 21:竞拍-大宗式 22:受托竞价
  9253. type: integer
  9254. videourls:
  9255. description: 介绍视频[多张用逗号分隔]
  9256. type: string
  9257. required:
  9258. - goodscode
  9259. - goodsid
  9260. - goodsname
  9261. - marketid
  9262. - trademode
  9263. type: object
  9264. models.HsbyPreGoodsDetail:
  9265. properties:
  9266. agreeunit:
  9267. description: 合约单位
  9268. type: number
  9269. buymaxqty:
  9270. description: 购买上限 [71] - 0为不限
  9271. type: integer
  9272. currency:
  9273. description: 货币
  9274. type: string
  9275. currencysign:
  9276. description: 货币符号
  9277. type: string
  9278. customername:
  9279. description: 发行单位
  9280. type: string
  9281. decimalplace:
  9282. description: 报价小数位
  9283. type: integer
  9284. desccityid:
  9285. description: 目的地(市)ID
  9286. type: integer
  9287. descprovinceid:
  9288. description: 目的地(省)ID
  9289. type: integer
  9290. enableqty:
  9291. description: 剩余数量
  9292. type: integer
  9293. goodscode:
  9294. description: 商品代码(内部)
  9295. type: string
  9296. goodsdesc:
  9297. description: 商品详情
  9298. type: string
  9299. goodsid:
  9300. description: 商品ID(自增ID SEQ_GOODS)
  9301. type: integer
  9302. goodsname:
  9303. description: 商品名称
  9304. type: string
  9305. goodsstatus:
  9306. description: 商品状态- 2:未上市 3:上市
  9307. type: integer
  9308. goodunit:
  9309. description: 报价单位
  9310. type: string
  9311. lasttradedate:
  9312. description: 最后交易日期(状态:待退市)
  9313. type: string
  9314. listingdate:
  9315. description: 交易开始日期
  9316. type: string
  9317. lotsize:
  9318. description: 手数最小变动单位
  9319. type: integer
  9320. marketid:
  9321. description: 所属市场ID
  9322. type: integer
  9323. picurls:
  9324. description: 介绍图片[多张用逗号分隔]
  9325. type: string
  9326. presaledqty:
  9327. description: 已预售量(预售结束时更新)
  9328. type: integer
  9329. presaleqty:
  9330. description: 预售数量
  9331. type: integer
  9332. quoteminunit:
  9333. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9334. type: integer
  9335. refprice:
  9336. description: 参考价格[一口价]
  9337. type: number
  9338. relatedgoodsid:
  9339. description: 关联交易合约ID
  9340. type: integer
  9341. stepvalue:
  9342. description: 价格最小变动单位
  9343. type: number
  9344. trademode:
  9345. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9346. 21:竞拍-大宗式 22:受托竞价
  9347. type: integer
  9348. vendorattr:
  9349. description: 供应商附件(多张,逗号分隔)
  9350. type: string
  9351. vendorname:
  9352. description: 供应商名称
  9353. type: string
  9354. vendorphone:
  9355. description: 供应商客服电话
  9356. type: string
  9357. videourls:
  9358. description: 介绍视频[多张用逗号分隔]
  9359. type: string
  9360. required:
  9361. - goodscode
  9362. - goodsid
  9363. - goodsname
  9364. - marketid
  9365. - trademode
  9366. type: object
  9367. models.HsbySellCollectionOrder:
  9368. properties:
  9369. agreeunit:
  9370. description: 合约单位
  9371. type: number
  9372. buyaccountid:
  9373. description: 买方账号ID[报价币种]
  9374. type: integer
  9375. buyorderid:
  9376. description: 买方委托单号
  9377. type: string
  9378. createtime:
  9379. description: 创建时间
  9380. type: string
  9381. currencysign:
  9382. description: 货币符号
  9383. type: string
  9384. decimalplace:
  9385. description: 报价小数位
  9386. type: integer
  9387. goodscode:
  9388. description: 商品代码(内部)
  9389. type: string
  9390. goodsid:
  9391. description: 商品ID
  9392. type: integer
  9393. goodsname:
  9394. description: 商品名称
  9395. type: string
  9396. marketid:
  9397. description: 市场ID
  9398. type: integer
  9399. offamount:
  9400. description: 优惠金额
  9401. type: number
  9402. payamount:
  9403. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  9404. type: number
  9405. payflag:
  9406. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  9407. type: integer
  9408. paylimitedtime:
  9409. description: 支付期限
  9410. type: string
  9411. paytime:
  9412. description: 付款时间
  9413. type: string
  9414. picurls:
  9415. description: 商品介绍图片[多张用逗号分隔]
  9416. type: string
  9417. sellaccountid:
  9418. description: 卖方账号ID[报价币种]
  9419. type: integer
  9420. sellorderid:
  9421. description: 卖方委托单号
  9422. type: string
  9423. tradeamount:
  9424. description: 成交金额
  9425. type: number
  9426. tradecharge:
  9427. description: 成交手续费(买方)
  9428. type: number
  9429. tradedate:
  9430. description: 交易日(yyyyMMdd)
  9431. type: string
  9432. tradeid:
  9433. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9434. type: string
  9435. trademode:
  9436. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9437. 21:竞拍-大宗式 22:受托竞价
  9438. type: integer
  9439. tradeprice:
  9440. description: 成交价格
  9441. type: number
  9442. tradeqty:
  9443. description: 成交数量
  9444. type: integer
  9445. required:
  9446. - goodscode
  9447. - goodsname
  9448. - tradeid
  9449. - trademode
  9450. type: object
  9451. models.HsbySellMyDetail:
  9452. properties:
  9453. accountid:
  9454. description: 账户ID[报价币种]
  9455. type: integer
  9456. agreeunit:
  9457. description: 合约单位
  9458. type: number
  9459. buyorsell:
  9460. description: 买卖 - 0:买 1:卖
  9461. type: integer
  9462. currencysign:
  9463. description: 货币符号
  9464. type: string
  9465. decimalplace:
  9466. description: 报价小数位
  9467. type: integer
  9468. goodscode:
  9469. description: 商品代码(内部)
  9470. type: string
  9471. goodsid:
  9472. description: 商品ID
  9473. type: integer
  9474. goodsname:
  9475. description: 商品名称
  9476. type: string
  9477. marketid:
  9478. description: 市场ID
  9479. type: integer
  9480. orderid:
  9481. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  9482. type: string
  9483. ordertype:
  9484. description: 单据类型:0 - 发布中, 1 - 已完成
  9485. type: integer
  9486. picurls:
  9487. description: 介绍图片[多张用逗号分隔]
  9488. type: string
  9489. price:
  9490. description: 价格
  9491. type: number
  9492. qty:
  9493. description: 数量
  9494. type: integer
  9495. time:
  9496. description: 时间
  9497. type: string
  9498. trademode:
  9499. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9500. 21:竞拍-大宗式 22:受托竞价
  9501. type: integer
  9502. vendorname:
  9503. description: 供应商名称
  9504. type: string
  9505. required:
  9506. - accountid
  9507. - buyorsell
  9508. - goodscode
  9509. - goodsid
  9510. - goodsname
  9511. - marketid
  9512. - orderid
  9513. - time
  9514. - trademode
  9515. type: object
  9516. models.HsbyTopGoods:
  9517. properties:
  9518. agreeunit:
  9519. description: 合约单位
  9520. type: number
  9521. currency:
  9522. description: 货币
  9523. type: string
  9524. currencysign:
  9525. description: 货币符号
  9526. type: string
  9527. decimalplace:
  9528. description: 报价小数位
  9529. type: integer
  9530. desccityid:
  9531. description: 目的地(市)
  9532. type: integer
  9533. descprovinceid:
  9534. description: 目的地(省)
  9535. type: integer
  9536. goodscode:
  9537. description: 商品代码(内部)
  9538. type: string
  9539. goodsid:
  9540. description: 商品ID(自增ID SEQ_GOODS)
  9541. type: integer
  9542. goodsname:
  9543. description: 商品名称
  9544. type: string
  9545. hotindex:
  9546. description: 景点热度
  9547. type: integer
  9548. last:
  9549. description: 现价
  9550. type: number
  9551. marketid:
  9552. description: 所属市场ID
  9553. type: integer
  9554. picurls:
  9555. description: 介绍图片[多张用逗号分隔]
  9556. type: string
  9557. quoteminunit:
  9558. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9559. type: integer
  9560. trademode:
  9561. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9562. 21:竞拍-大宗式 22:受托竞价
  9563. type: integer
  9564. videourls:
  9565. description: 介绍视频[多张用逗号分隔]
  9566. type: string
  9567. required:
  9568. - goodscode
  9569. - goodsid
  9570. - goodsname
  9571. - marketid
  9572. - trademode
  9573. type: object
  9574. models.HybsMyBuyOrderDetail:
  9575. properties:
  9576. accountid:
  9577. description: 账户ID[报价币种]
  9578. type: integer
  9579. agreeunit:
  9580. description: 合约单位
  9581. type: number
  9582. buyorsell:
  9583. description: 买卖 - 0:买 1:卖
  9584. type: integer
  9585. cancelqty:
  9586. description: 撤单数量
  9587. type: integer
  9588. currencysign:
  9589. description: 货币符号
  9590. type: string
  9591. decimalplace:
  9592. description: 报价小数位
  9593. type: integer
  9594. goodscode:
  9595. description: 商品代码(内部)
  9596. type: string
  9597. goodsid:
  9598. description: 商品ID
  9599. type: integer
  9600. goodsname:
  9601. description: 商品名称
  9602. type: string
  9603. listingselecttype:
  9604. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  9605. type: integer
  9606. marketid:
  9607. description: 市场ID
  9608. type: integer
  9609. mybuystatus:
  9610. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  9611. type: integer
  9612. orderamount:
  9613. description: 委托金额
  9614. type: number
  9615. orderid:
  9616. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9617. type: string
  9618. orderprice:
  9619. description: 委托价格
  9620. type: number
  9621. orderqty:
  9622. description: 委托数量
  9623. type: integer
  9624. orderstatus:
  9625. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  9626. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  9627. 16:成交失败违约(荷兰式竞拍专用)
  9628. type: integer
  9629. ordertime:
  9630. description: 委托时间
  9631. type: string
  9632. picurls1:
  9633. description: 预售商品介绍图片[多张用逗号分隔]
  9634. type: string
  9635. picurls2:
  9636. description: 挂牌商品介绍图片[多张用逗号分隔]
  9637. type: string
  9638. trademode:
  9639. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9640. 21:竞拍-大宗式 22:受托竞价
  9641. type: integer
  9642. tradeqty:
  9643. description: 成交数量
  9644. type: integer
  9645. vendorname1:
  9646. description: 预售商品供应商名称
  9647. type: string
  9648. vendorname2:
  9649. description: 挂牌商品供应商名称
  9650. type: string
  9651. required:
  9652. - accountid
  9653. - buyorsell
  9654. - goodscode
  9655. - goodsid
  9656. - goodsname
  9657. - marketid
  9658. - orderid
  9659. - orderqty
  9660. - ordertime
  9661. - trademode
  9662. type: object
  9663. models.Loginaccount:
  9664. properties:
  9665. accountname:
  9666. description: 账户名称
  9667. type: string
  9668. canoutin:
  9669. description: 是否可出入金 - 0:不可 1:可
  9670. type: integer
  9671. clientroleid:
  9672. description: 终端角色ID
  9673. type: integer
  9674. haslogined:
  9675. description: 是否已登录 - 0:未登录 1:已登录
  9676. type: integer
  9677. hasupdatedpwd:
  9678. description: 是否已更改密码 - 0:未修改 1:已修改
  9679. type: integer
  9680. lastloginip:
  9681. description: 最新登录地址
  9682. type: string
  9683. lastloginmode:
  9684. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  9685. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  9686. type: integer
  9687. lastloginremark:
  9688. description: 最新登录描述
  9689. type: string
  9690. lastlogintime:
  9691. description: 最新登录时间
  9692. type: string
  9693. logincode:
  9694. description: 登录代码
  9695. type: string
  9696. loginfailnum:
  9697. description: 连续登录失败次数(登录成功时清零)
  9698. type: integer
  9699. loginid:
  9700. description: 登陆账号
  9701. type: integer
  9702. loginport:
  9703. description: 最新登录端口
  9704. type: integer
  9705. loginstatus:
  9706. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  9707. type: integer
  9708. loginusertype:
  9709. description: 登录账号类型 - 1:投资者 2:机构交易员
  9710. type: integer
  9711. mobile:
  9712. description: 手机号码(加密存储)
  9713. type: string
  9714. modifierid:
  9715. description: 修改人
  9716. type: integer
  9717. modifysrc:
  9718. description: 审核来源 - 1:管理端 2:终端
  9719. type: integer
  9720. modifytime:
  9721. description: 修改时间
  9722. type: string
  9723. password:
  9724. description: 登陆密码
  9725. type: string
  9726. pwdwrongcount:
  9727. description: 密码错误次数
  9728. type: integer
  9729. relateduserid:
  9730. description: 关联用户ID(机构)
  9731. type: integer
  9732. taaccountrighttype:
  9733. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  9734. type: integer
  9735. unfreezetime:
  9736. description: 账户解冻时间
  9737. type: string
  9738. userid:
  9739. description: 用户ID
  9740. type: integer
  9741. required:
  9742. - loginid
  9743. type: object
  9744. models.MainAccountInfo:
  9745. properties:
  9746. accountid:
  9747. description: 账号id
  9748. type: integer
  9749. accountname:
  9750. description: 账号名称(taaccount表中的名称)
  9751. type: string
  9752. appid:
  9753. description: AppID
  9754. type: string
  9755. authcode:
  9756. description: 授权码
  9757. type: string
  9758. brokerid:
  9759. description: 经纪商id
  9760. type: string
  9761. fcid:
  9762. description: 期货公司id
  9763. type: integer
  9764. fcname:
  9765. description: 期货公司代码
  9766. type: string
  9767. hedgeaccountcode:
  9768. description: 外部账号代码(主账号登录代码)
  9769. type: string
  9770. hedgeaccountpwd:
  9771. description: 密码
  9772. type: string
  9773. ismain:
  9774. description: 是否主账号
  9775. type: integer
  9776. relateduserid:
  9777. description: 关联用户id
  9778. type: integer
  9779. userid:
  9780. description: 关联用户id
  9781. type: integer
  9782. type: object
  9783. models.Market:
  9784. properties:
  9785. auctionwrtype:
  9786. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  9787. type: integer
  9788. canacceptquote:
  9789. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  9790. type: integer
  9791. cangoodsexercise:
  9792. description: '[期权]是否可现货行权- 0:否 1:是'
  9793. type: integer
  9794. cangoodsexercisetype:
  9795. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  9796. type: integer
  9797. canmanualquotestrike:
  9798. description: 是否可手动报行权价- 0:否 1:是 [期权]
  9799. type: integer
  9800. canmutistage:
  9801. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  9802. type: integer
  9803. canpreexercise:
  9804. description: '[期权]是否可预申报- 0:否 1:是'
  9805. type: integer
  9806. clearinterval:
  9807. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  9808. type: integer
  9809. contracttmp:
  9810. description: 合同模板[荷兰式][竞价式][仓单贸易]
  9811. type: string
  9812. exchareaid:
  9813. description: 所属交易所,可以没有
  9814. type: integer
  9815. goodstype:
  9816. description: 商品类型 - 1:交易商品 2:仓单商品
  9817. type: integer
  9818. hasrebate:
  9819. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  9820. type: integer
  9821. hastradecredit:
  9822. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  9823. type: integer
  9824. haswr:
  9825. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  9826. type: integer
  9827. isdeductmargin:
  9828. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  9829. type: integer
  9830. isrecordsource:
  9831. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  9832. type: integer
  9833. isreleasemargin:
  9834. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  9835. type: integer
  9836. marginformula:
  9837. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9838. type: integer
  9839. marginformula2:
  9840. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9841. type: integer
  9842. marketid:
  9843. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  9844. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  9845. type: integer
  9846. marketname:
  9847. description: 市场名称
  9848. type: string
  9849. marketserviceid:
  9850. description: 市场服务ID
  9851. type: integer
  9852. marketstatus:
  9853. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  9854. type: integer
  9855. markettype:
  9856. description: 市场类型- 1:非交易服务 2:交易服务
  9857. type: integer
  9858. matchermode:
  9859. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  9860. type: integer
  9861. openmethod:
  9862. description: 开盘模式 - 0 自动 1手动
  9863. type: integer
  9864. otcuserid:
  9865. description: 场外期权做市商[场外期权]
  9866. type: integer
  9867. outersynctime:
  9868. description: 外部同步时间点(h24:mi:ss)[场外期权]
  9869. type: string
  9870. pendingflag:
  9871. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  9872. type: integer
  9873. pendingtime:
  9874. description: 待开市时间[通道交易-对冲](HH:mm)
  9875. type: string
  9876. performancetempid:
  9877. description: 履约计划模板ID - 作废
  9878. type: integer
  9879. premiumquotemode:
  9880. description: 权利金报价方式 - 1:自动 2:手动
  9881. type: integer
  9882. rebateratio:
  9883. description: 返利比率[竞价式]
  9884. type: number
  9885. reckonorder:
  9886. description: 结算顺序
  9887. type: integer
  9888. reckonpricealgorithm:
  9889. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  9890. 6.卖一价 7.买一卖一均价 8.外部结算价'
  9891. type: integer
  9892. reckonpriceparam:
  9893. description: 结算价参数
  9894. type: integer
  9895. reckontime:
  9896. description: 结算时间[通道交易-对冲](HH:mm)
  9897. type: string
  9898. roleprioritytype:
  9899. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  9900. type: integer
  9901. selllistingauditflag:
  9902. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  9903. type: integer
  9904. trademarkettype:
  9905. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  9906. type: integer
  9907. trademode:
  9908. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9909. 21:竞拍-大宗式 22:受托竞价
  9910. type: integer
  9911. tradeproperty:
  9912. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  9913. 8:场外期权
  9914. type: integer
  9915. tradetype:
  9916. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  9917. type: integer
  9918. required:
  9919. - marketid
  9920. - marketstatus
  9921. - openmethod
  9922. - reckonpricealgorithm
  9923. - trademode
  9924. - tradeproperty
  9925. type: object
  9926. models.Marketrun:
  9927. properties:
  9928. afternexttradedate:
  9929. description: 下下交易日
  9930. type: string
  9931. clearquoteflag:
  9932. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  9933. type: integer
  9934. lastreckondate:
  9935. description: 最新交易日(结算成功)
  9936. type: string
  9937. machinedate:
  9938. description: 机器时间
  9939. type: string
  9940. manualflag:
  9941. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  9942. type: integer
  9943. marketid:
  9944. description: 市场ID
  9945. type: integer
  9946. nexttradedate:
  9947. description: 下一交易日
  9948. type: string
  9949. pretradedate:
  9950. description: 上一交易日
  9951. type: string
  9952. reckonflag:
  9953. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  9954. type: integer
  9955. runstatus:
  9956. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  9957. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  9958. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  9959. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  9960. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  9961. 62.今日免清算
  9962. type: integer
  9963. sectionid:
  9964. description: 时间段号[多时段时用]
  9965. type: integer
  9966. tradedate:
  9967. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  9968. type: string
  9969. tradedate2:
  9970. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  9971. type: string
  9972. updatetime:
  9973. description: 更新时间
  9974. type: string
  9975. required:
  9976. - marketid
  9977. - nexttradedate
  9978. - reckonflag
  9979. - runstatus
  9980. - tradedate
  9981. - tradedate2
  9982. type: object
  9983. models.Messageboard:
  9984. properties:
  9985. contactnum:
  9986. description: 联系电话
  9987. type: string
  9988. createtime:
  9989. description: 创建时间
  9990. type: string
  9991. message:
  9992. description: 留言信息
  9993. type: string
  9994. messageboardid:
  9995. description: 留言簿ID(SEQ_MessageBoard)
  9996. type: integer
  9997. userid:
  9998. description: 用户ID
  9999. type: integer
  10000. required:
  10001. - messageboardid
  10002. type: object
  10003. models.MyCoupon:
  10004. properties:
  10005. accountid:
  10006. description: 资金账户ID
  10007. type: integer
  10008. areauserid:
  10009. description: 所属机构
  10010. type: integer
  10011. conditionvalue:
  10012. description: 条件阈值(可为0)
  10013. type: number
  10014. couponcategroy:
  10015. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  10016. type: integer
  10017. couponname:
  10018. description: 优惠券名称
  10019. type: string
  10020. coupontypeid:
  10021. description: 优惠券类型ID
  10022. type: string
  10023. couponvalue:
  10024. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  10025. type: number
  10026. curfreezeqty:
  10027. description: 期末冻结数量
  10028. type: integer
  10029. curqty:
  10030. description: 期末数量
  10031. type: integer
  10032. isgeneral:
  10033. description: 是否通用券 - 0:否 1:是
  10034. type: integer
  10035. isunusable:
  10036. description: 是否不可用
  10037. type: boolean
  10038. limitedflag:
  10039. description: 是否指定商品 - 0:不限 1:限制
  10040. type: integer
  10041. limitedgoodsids:
  10042. description: 指定商品IDs[逗号分隔,前后加逗号]
  10043. type: string
  10044. orifreezeqty:
  10045. description: 期初冻结数量
  10046. type: integer
  10047. oriqty:
  10048. description: 期初数量
  10049. type: integer
  10050. reasontype:
  10051. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  10052. type: integer
  10053. todaydecrease:
  10054. description: 今日减少
  10055. type: integer
  10056. todayincrease:
  10057. description: 今日增加
  10058. type: integer
  10059. userid:
  10060. description: 用户ID
  10061. type: integer
  10062. userscope:
  10063. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  10064. type: string
  10065. required:
  10066. - accountid
  10067. - coupontypeid
  10068. type: object
  10069. models.MyCouponHold:
  10070. properties:
  10071. accountid:
  10072. description: 资金账户ID
  10073. type: integer
  10074. conditionvalue:
  10075. description: 条件阈值(可为0)
  10076. type: number
  10077. couponcategroy:
  10078. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  10079. type: integer
  10080. couponholdid:
  10081. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  10082. type: string
  10083. couponname:
  10084. description: 优惠券名称
  10085. type: string
  10086. coupontypeid:
  10087. description: 优惠券类型ID - SEQ_COUPONTYPE
  10088. type: string
  10089. couponvalue:
  10090. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  10091. type: number
  10092. createtime:
  10093. description: 创建时间
  10094. type: string
  10095. enddate:
  10096. description: 结束日期
  10097. type: string
  10098. giveapplyid:
  10099. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  10100. type: integer
  10101. holdstatus:
  10102. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  10103. type: integer
  10104. isgeneral:
  10105. description: 是否通用券 - 0:否 1:是
  10106. type: integer
  10107. limitedflag:
  10108. description: 是否指定商品 - 0:不限 1:限制
  10109. type: integer
  10110. limitedgoodsids:
  10111. description: 指定商品IDs[逗号分隔]
  10112. type: string
  10113. qty:
  10114. description: 数量(按1平铺)
  10115. type: integer
  10116. startdate:
  10117. description: 开始日期
  10118. type: string
  10119. userid:
  10120. description: 用户ID
  10121. type: integer
  10122. userscope:
  10123. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  10124. type: string
  10125. required:
  10126. - couponholdid
  10127. type: object
  10128. models.MyUsedCoupon:
  10129. properties:
  10130. accountid:
  10131. description: 资金账户ID(买方)
  10132. type: integer
  10133. conditionvalue:
  10134. description: 条件阈值(可为0)
  10135. type: number
  10136. couponcategroy:
  10137. description: 种类 - 1:现金券 2:折扣券
  10138. type: integer
  10139. couponname:
  10140. description: 优惠券名称
  10141. type: string
  10142. coupontypeid:
  10143. description: 优惠券类型ID(买方)
  10144. type: string
  10145. couponvalue:
  10146. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  10147. type: number
  10148. createtime:
  10149. description: 创建时间
  10150. type: string
  10151. goodsid:
  10152. description: 商品ID
  10153. type: integer
  10154. handlestatus:
  10155. description: 处理状态
  10156. type: integer
  10157. marketid:
  10158. description: 市场ID
  10159. type: integer
  10160. offamount:
  10161. description: 优惠金额
  10162. type: number
  10163. orderid:
  10164. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10165. type: string
  10166. sellaccountid:
  10167. description: 资金账户ID(卖方)
  10168. type: integer
  10169. tradeamount:
  10170. description: 成交金额
  10171. type: number
  10172. tradeid:
  10173. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10174. type: string
  10175. usedqty:
  10176. description: 使用数量
  10177. type: integer
  10178. required:
  10179. - coupontypeid
  10180. - orderid
  10181. type: object
  10182. models.OperationPrimaryMenu:
  10183. properties:
  10184. Children:
  10185. description: 二级功能菜单
  10186. items:
  10187. $ref: '#/definitions/models.OperationSecondaryMenu'
  10188. type: array
  10189. Key:
  10190. description: 菜单KEY
  10191. type: string
  10192. Label:
  10193. description: 菜单标题
  10194. type: string
  10195. type: object
  10196. models.OperationSecondaryMenu:
  10197. properties:
  10198. Key:
  10199. description: 菜单KEY
  10200. type: string
  10201. Label:
  10202. description: 菜单标题
  10203. type: string
  10204. TabList:
  10205. description: 三级功能菜单
  10206. items:
  10207. $ref: '#/definitions/models.OperationTabMenu'
  10208. type: array
  10209. type: object
  10210. models.OperationTabMenu:
  10211. properties:
  10212. Key:
  10213. description: 菜单KEY
  10214. type: string
  10215. Label:
  10216. description: 菜单标题
  10217. type: string
  10218. type: object
  10219. models.QhjAccountOutInApply:
  10220. properties:
  10221. accountcode:
  10222. description: 资金账号
  10223. type: string
  10224. accountname:
  10225. description: 用户名称(名称)
  10226. type: string
  10227. accountpwd:
  10228. description: 资金密码
  10229. type: string
  10230. accountticket:
  10231. description: 最新账户服务流水号
  10232. type: string
  10233. amount:
  10234. description: 金额
  10235. type: number
  10236. applyremark:
  10237. description: 申请备注
  10238. type: string
  10239. applystatus:
  10240. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  10241. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  10242. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  10243. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  10244. type: integer
  10245. auditid:
  10246. description: 审核人
  10247. type: integer
  10248. audittime:
  10249. description: 审核时间
  10250. type: string
  10251. bank_apply_ticket:
  10252. description: 银行申请流水
  10253. type: string
  10254. bankaccountname:
  10255. description: 银行账户名
  10256. type: string
  10257. bankaccountno:
  10258. description: 银行卡号
  10259. type: string
  10260. bankid:
  10261. description: 银行编号
  10262. type: string
  10263. bankticket:
  10264. description: 银行流水
  10265. type: string
  10266. branchbankid:
  10267. description: 银行支行号
  10268. type: string
  10269. branchbankname:
  10270. description: 银行支行名称
  10271. type: string
  10272. capamountout:
  10273. description: 出金(劣后本金) - 外部子账户
  10274. type: number
  10275. certificatephotourl:
  10276. description: 凭证地址
  10277. type: string
  10278. charge:
  10279. description: 手续费
  10280. type: number
  10281. checkerrorflag:
  10282. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  10283. type: integer
  10284. currency:
  10285. description: 币种
  10286. type: string
  10287. cusbankid:
  10288. description: 托管银行编号
  10289. type: string
  10290. exchticket:
  10291. description: 银行服务流水号
  10292. type: string
  10293. executetype:
  10294. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  10295. 7:外部子账户:入金 8:外部子账户:出金'
  10296. type: integer
  10297. extendinfo:
  10298. description: 扩展信息
  10299. type: string
  10300. extoperateid:
  10301. description: 交易服务流水号
  10302. type: integer
  10303. infamount:
  10304. description: 劣后金额(自有)
  10305. type: number
  10306. logincode:
  10307. description: 登录账号(账号)
  10308. type: string
  10309. netaddr:
  10310. description: 调转网址
  10311. type: string
  10312. priamount:
  10313. description: 优先金额(授信)
  10314. type: number
  10315. reauditid:
  10316. description: 复审人
  10317. type: integer
  10318. reauditremark:
  10319. description: 复审备注
  10320. type: string
  10321. reaudittime:
  10322. description: 复审时间
  10323. type: string
  10324. relatedorderid:
  10325. description: 三方关联ID
  10326. type: string
  10327. remark:
  10328. description: 备注
  10329. type: string
  10330. remark2:
  10331. description: 备注(失败原因)
  10332. type: string
  10333. soucreamount:
  10334. description: 原始出入金金额
  10335. type: number
  10336. soucrecurrencyid:
  10337. description: 原始出入金币种
  10338. type: integer
  10339. tradedate:
  10340. description: 交易日(yyyyMMdd)
  10341. type: string
  10342. updatetime:
  10343. description: 更新时间(申请时间)
  10344. type: string
  10345. userid:
  10346. description: 用户id
  10347. type: integer
  10348. userinfotype:
  10349. description: 账户类型 1-个人 2-企业
  10350. type: integer
  10351. type: object
  10352. models.QhjAgreementChangeLog:
  10353. properties:
  10354. agreementcontent:
  10355. description: 协议内容
  10356. type: string
  10357. agreementfrequency:
  10358. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  10359. type: integer
  10360. agreementid:
  10361. description: 协议ID
  10362. type: integer
  10363. agreementname:
  10364. description: 协议名称
  10365. type: string
  10366. agreementno:
  10367. description: 协议编号
  10368. type: string
  10369. agreementtype:
  10370. description: 协议类型 - 1:注册 2:登录 3:交易
  10371. type: integer
  10372. agreementversion:
  10373. description: 协议版本号
  10374. type: integer
  10375. logid:
  10376. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  10377. type: integer
  10378. reviserid:
  10379. description: 修改人
  10380. type: integer
  10381. revisersrc:
  10382. description: 修改来源 - 1:管理端 2:终端
  10383. type: integer
  10384. updatetime:
  10385. description: 更新时间
  10386. type: string
  10387. type: object
  10388. models.QhjAgreementConfig:
  10389. properties:
  10390. agreementcontent:
  10391. description: 协议内容
  10392. type: string
  10393. agreementfrequency:
  10394. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  10395. type: integer
  10396. agreementid:
  10397. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  10398. type: integer
  10399. agreementname:
  10400. description: 协议名称
  10401. type: string
  10402. agreementno:
  10403. description: 协议编号
  10404. type: string
  10405. agreementtype:
  10406. description: 协议类型 - 1:注册 2:登录 3:交易
  10407. type: integer
  10408. agreementversion:
  10409. description: 协议版本号(从1开始每次修改加1)
  10410. type: integer
  10411. createtime:
  10412. description: 创建时间
  10413. type: string
  10414. creatorid:
  10415. description: 创建人
  10416. type: integer
  10417. creatorsrc:
  10418. description: 创建来源 - 1:管理端 2:终端
  10419. type: integer
  10420. isvalid:
  10421. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  10422. type: integer
  10423. reviserid:
  10424. description: 修改人
  10425. type: integer
  10426. revisersrc:
  10427. description: 修改来源 - 1:管理端 2:终端
  10428. type: integer
  10429. updatetime:
  10430. description: 更新时间
  10431. type: string
  10432. type: object
  10433. models.QhjAreaFinanceConfig:
  10434. properties:
  10435. additionalratio:
  10436. description: 追加款比例
  10437. type: number
  10438. advanceratio:
  10439. description: 预付款比例
  10440. type: number
  10441. alarmratio:
  10442. description: 告警比例
  10443. type: number
  10444. consumptiondirectreward:
  10445. description: 消费直推奖励值
  10446. type: number
  10447. consumptionenabled:
  10448. description: 是否启用消费奖励 - 0:不启用 1:启用
  10449. type: integer
  10450. consumptionindirectreward:
  10451. description: 消费间推奖励值
  10452. type: number
  10453. consumptionmodel:
  10454. description: 消费奖励方式 - 1:比率 2:固定
  10455. type: integer
  10456. customerservicenum:
  10457. description: 客服电话
  10458. type: string
  10459. dayinterestrate:
  10460. description: 日利率
  10461. type: number
  10462. disableconsumptiontips:
  10463. description: 关闭消费奖励提示
  10464. type: string
  10465. modifierid:
  10466. description: 修改人ID
  10467. type: integer
  10468. modifysrc:
  10469. description: 审核来源 - 1:管理端 2:终端
  10470. type: integer
  10471. modifytime:
  10472. description: 修改时间
  10473. type: string
  10474. promotionvalue:
  10475. description: 推广奖励值(固定)
  10476. type: number
  10477. scoreconfigvalue1:
  10478. description: 提货积分配置1
  10479. type: integer
  10480. scoreconfigvalue2:
  10481. description: 提货积分配置2
  10482. type: integer
  10483. userid:
  10484. description: 机构用户ID其他做市关系,都设置为 1
  10485. type: integer
  10486. username:
  10487. description: 用户名称
  10488. type: string
  10489. type: object
  10490. models.QhjBankAccountSign:
  10491. properties:
  10492. accountcode:
  10493. description: 资金账号
  10494. type: string
  10495. accountname:
  10496. description: 资金账号对应的账号名(UserName)
  10497. type: string
  10498. accountname2:
  10499. description: 资金账号对应的账号名(UserName) - 密文
  10500. type: string
  10501. accounttype:
  10502. description: 账户类型(UserType)
  10503. type: integer
  10504. applicationtime:
  10505. description: 最后一次更新的时间
  10506. type: string
  10507. applyexchticket:
  10508. description: 申请流水
  10509. type: string
  10510. auditid:
  10511. description: 审核人
  10512. type: integer
  10513. audittime:
  10514. description: 审核时间
  10515. type: string
  10516. bankaccountname:
  10517. description: 签约银行卡账号名
  10518. type: string
  10519. bankaccountname2:
  10520. description: 签约银行卡账号名 - 密文
  10521. type: string
  10522. bankaccountno:
  10523. description: 银行卡号
  10524. type: string
  10525. bankaccountno2:
  10526. description: 银行卡号 - 密文
  10527. type: string
  10528. bankaccounttype:
  10529. description: 银行账户类型 - 1-对私; 2-对公
  10530. type: integer
  10531. bankcardtype:
  10532. description: 银行卡类型
  10533. type: integer
  10534. bankchildaccount:
  10535. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  10536. type: string
  10537. bankcity:
  10538. description: 开户行城市
  10539. type: string
  10540. bankid:
  10541. description: 签约银行ID
  10542. type: string
  10543. bankname:
  10544. description: 签约银行名称
  10545. type: string
  10546. bankprovince:
  10547. description: 开户行省份
  10548. type: string
  10549. branchbankid:
  10550. description: 签约银行支行号
  10551. type: string
  10552. branchbankname:
  10553. description: 签约银行支行名称
  10554. type: string
  10555. cardno:
  10556. description: 证件号码
  10557. type: string
  10558. cardno2:
  10559. description: 证件号码 - 密文
  10560. type: string
  10561. cardtype:
  10562. description: 证件类型
  10563. type: string
  10564. currency:
  10565. description: 币种
  10566. type: string
  10567. cusbankid:
  10568. description: 托管银行编号
  10569. type: string
  10570. direct:
  10571. description: 方向(可以判断那方先发起的签约)
  10572. type: integer
  10573. exchticket:
  10574. description: 最后一次签约成功的流水号
  10575. type: string
  10576. extendinfo:
  10577. description: 扩展信息(JSON字符串)
  10578. type: string
  10579. mobilephone:
  10580. description: 手机号
  10581. type: string
  10582. mobilephone2:
  10583. description: 手机号 - 密文
  10584. type: string
  10585. netaddr:
  10586. description: 调转网址
  10587. type: string
  10588. relateduserid:
  10589. description: 关联使用者userid
  10590. type: integer
  10591. signstatus:
  10592. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  10593. 10:审核拒绝 11:换签待审核
  10594. type: integer
  10595. updatetime:
  10596. description: 更新时间(签解约更新时间)
  10597. type: string
  10598. type: object
  10599. models.QhjBankInfo:
  10600. properties:
  10601. bankid:
  10602. description: 银行ID
  10603. type: string
  10604. bankname:
  10605. description: 银行名称
  10606. type: string
  10607. clearbankno:
  10608. description: 清算系统银行编号
  10609. type: string
  10610. orderindex:
  10611. description: 排序顺序
  10612. type: integer
  10613. status:
  10614. description: 状态 - 0:正常 1:注销
  10615. type: integer
  10616. type: object
  10617. models.QhjBrokerApply:
  10618. properties:
  10619. applicantid:
  10620. description: 申请人
  10621. type: integer
  10622. applysrc:
  10623. description: 申请来源 - 1:管理端 2:终端
  10624. type: integer
  10625. applystatus:
  10626. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  10627. type: integer
  10628. applytime:
  10629. description: 申请时间
  10630. type: string
  10631. auditorid:
  10632. description: 审核人
  10633. type: integer
  10634. auditremark:
  10635. description: 审核备注
  10636. type: string
  10637. auditsrc:
  10638. description: 审核来源 - 1:管理端 2:终端
  10639. type: integer
  10640. audittime:
  10641. description: 审核时间
  10642. type: string
  10643. audittradedate:
  10644. description: 审核交易日(yyyyMMdd)
  10645. type: string
  10646. brokerapplyid:
  10647. description: 申请ID(SEQ_BROKERAPPLY)
  10648. type: integer
  10649. cardbackphotourl:
  10650. description: 证件背面图片地址
  10651. type: string
  10652. cardfrontphotourl:
  10653. description: 证件正面图片地址
  10654. type: string
  10655. cardnum:
  10656. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  10657. type: string
  10658. customername:
  10659. description: 姓名
  10660. type: string
  10661. logincode:
  10662. description: 登录代码
  10663. type: string
  10664. mobile:
  10665. description: 手机号码
  10666. type: string
  10667. parentuserid:
  10668. description: 所属机构id
  10669. type: integer
  10670. parentusername:
  10671. description: 所属机构名称
  10672. type: string
  10673. refereeuserid:
  10674. description: 推荐人id(经纪人)
  10675. type: integer
  10676. refernum:
  10677. description: 推荐码
  10678. type: string
  10679. remark:
  10680. description: 备注
  10681. type: string
  10682. subarealevelpath:
  10683. description: 层级路径
  10684. type: string
  10685. tradedate:
  10686. description: 交易日(yyyyMMdd)
  10687. type: string
  10688. userid:
  10689. description: 申请人用户ID
  10690. type: integer
  10691. userinfotype:
  10692. description: 用户类型 1-个人 2-企业
  10693. type: integer
  10694. username:
  10695. description: 用户名称
  10696. type: string
  10697. type: object
  10698. models.QhjBrokerApplyEx:
  10699. properties:
  10700. applylist:
  10701. description: 经纪人申请记录(只返回最新一条)
  10702. items:
  10703. $ref: '#/definitions/models.QhjBrokerApply'
  10704. type: array
  10705. canrecommend:
  10706. description: 是否经纪人 0-不是 1-是
  10707. type: integer
  10708. refernum:
  10709. description: 推荐码
  10710. type: string
  10711. userid:
  10712. description: 用户id
  10713. type: integer
  10714. userinfotype:
  10715. description: 用户类型 1-个人 2-企业
  10716. type: integer
  10717. type: object
  10718. models.QhjBrokerRewardLog:
  10719. properties:
  10720. accountid:
  10721. description: 资金账号ID
  10722. type: integer
  10723. createtime:
  10724. description: 创建时间(时间)
  10725. type: string
  10726. handlestatus:
  10727. description: 处理状态
  10728. type: integer
  10729. logid:
  10730. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10731. type: string
  10732. marketid:
  10733. description: 市场ID
  10734. type: integer
  10735. mmaccountid:
  10736. description: 做市商资金账号ID
  10737. type: string
  10738. mmuserid:
  10739. description: 做市商用户ID
  10740. type: string
  10741. rewardamount:
  10742. description: 奖励金额
  10743. type: number
  10744. rewardmodel:
  10745. description: 消费奖励方式 - 1:比率 2:固定
  10746. type: integer
  10747. rewardtype:
  10748. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  10749. type: integer
  10750. rewardvalue:
  10751. description: 配置奖励值
  10752. type: number
  10753. srcamount:
  10754. description: 成交金额 [消费奖励] (金额)
  10755. type: number
  10756. srcgoodsid:
  10757. description: 来源商品ID [消费奖励]
  10758. type: string
  10759. srctime:
  10760. description: 来源时间 (成交时间) [消费奖励]
  10761. type: string
  10762. srctradeid:
  10763. description: 来源成交单ID [消费奖励] - 排除提货成交
  10764. type: string
  10765. srcuserid:
  10766. description: 来源用户ID(推广账户)
  10767. type: string
  10768. srcusername:
  10769. description: 推广账户名称
  10770. type: string
  10771. tradedate:
  10772. description: 交易日(yyyyMMdd)
  10773. type: string
  10774. userid:
  10775. description: 经纪人用户ID
  10776. type: integer
  10777. type: object
  10778. models.QhjContract:
  10779. properties:
  10780. contractconfirmtime:
  10781. description: 合同确认时间(时间)
  10782. type: string
  10783. currisklevel:
  10784. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  10785. type: integer
  10786. decimalplace:
  10787. description: 商品报价小数位
  10788. type: integer
  10789. enumdicname:
  10790. description: 单位名称
  10791. type: string
  10792. goodscode:
  10793. description: 商品代码
  10794. type: string
  10795. goodsid:
  10796. description: 商品ID [5:融资单]
  10797. type: integer
  10798. goodsname:
  10799. description: 商品名称
  10800. type: string
  10801. goodunitid:
  10802. description: 商品单位id
  10803. type: integer
  10804. initmargin:
  10805. description: 初始保证金(首付款)
  10806. type: number
  10807. lenderamount:
  10808. description: 贷款金额(总额|订单总额)
  10809. type: number
  10810. marginratio:
  10811. description: 保证金比率(首付比例)
  10812. type: number
  10813. payamount:
  10814. description: 已付(已付货款)
  10815. type: number
  10816. reckonrecovermargin:
  10817. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  10818. type: number
  10819. recoveredmargin:
  10820. description: 已追缴保证金
  10821. type: number
  10822. remainamount:
  10823. description: 合同剩余金额(融资额)
  10824. type: number
  10825. scfcontractid:
  10826. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10827. type: string
  10828. scfcontractstatus:
  10829. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  10830. 9:违约结束 10:已注销 11:已关闭 99:未提交
  10831. type: integer
  10832. scfcontracttype:
  10833. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  10834. type: integer
  10835. totalinterest:
  10836. description: 已计总利息(利息)
  10837. type: number
  10838. tradeprice:
  10839. description: 成交价格(成本价格)
  10840. type: number
  10841. userid:
  10842. description: 用户ID
  10843. type: integer
  10844. username:
  10845. description: 用户名称
  10846. type: string
  10847. wrqty:
  10848. description: 仓单数量(数量)
  10849. type: number
  10850. type: object
  10851. models.QhjContractLog:
  10852. properties:
  10853. amount:
  10854. description: 支付金额
  10855. type: number
  10856. amounttype:
  10857. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  10858. type: integer
  10859. logid:
  10860. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10861. type: string
  10862. remainamount:
  10863. description: 剩余货款
  10864. type: number
  10865. scfcontractid:
  10866. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10867. type: integer
  10868. updatetime:
  10869. description: 更新时间
  10870. type: string
  10871. type: object
  10872. models.QhjCusBankSignBankEx:
  10873. properties:
  10874. banklst:
  10875. description: 银行列表
  10876. items:
  10877. $ref: '#/definitions/models.QhjBankInfo'
  10878. type: array
  10879. canallot:
  10880. description: 是否支持跨行调拨 - 0:不支持 1:支持
  10881. type: integer
  10882. canallotquery:
  10883. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  10884. type: integer
  10885. canbindcard:
  10886. description: 是否可绑卡与解卡 - 0:不可 1:可以
  10887. type: integer
  10888. caninamount:
  10889. description: 是否可入金 - 0:不可 1:可以
  10890. type: integer
  10891. caninamount2:
  10892. description: 是否可入金(网银端) - 0:不可 1:可以
  10893. type: integer
  10894. canmodifybankcard:
  10895. description: 是否可修改银行卡号 - 0:不可 1:可以
  10896. type: integer
  10897. canmodifyphone:
  10898. description: 是否可修改手机号 - 0:不可 1:可以
  10899. type: integer
  10900. canmodifysigninfo:
  10901. description: 是否可修改签约信息 - 0:不可 1:可以
  10902. type: integer
  10903. canoutamount:
  10904. description: 是否可出金 - 0:不可 1:可以
  10905. type: integer
  10906. canoutamount2:
  10907. description: 是否可出金(网银端) - 0:不可 1:可以
  10908. type: integer
  10909. canrelease:
  10910. description: 是否可解约 - 0:不可 1:可以
  10911. type: integer
  10912. canrelease2:
  10913. description: 是否可解约(网银端) - 0:不可 1:可以
  10914. type: integer
  10915. cansign:
  10916. description: 是否可签约 - 0:不可 1:可以
  10917. type: integer
  10918. cansign2:
  10919. description: 是否可签约(网银端) - 0:不可 1:可以
  10920. type: integer
  10921. currency:
  10922. description: 币种
  10923. type: string
  10924. cusbankid:
  10925. description: 托管银行编号(对应清算中心TRAN_NO)
  10926. type: string
  10927. cusbankname:
  10928. description: 银行业务名称
  10929. type: string
  10930. cusbankshortname:
  10931. description: 银行业务简称
  10932. type: string
  10933. exchbankid:
  10934. description: 交易所开户银行ID
  10935. type: string
  10936. exchpaybankaccname:
  10937. description: 交易所支出结算账户户名
  10938. type: string
  10939. exchpaybankaccno:
  10940. description: 交易所支出结算账户
  10941. type: string
  10942. isneedcheck:
  10943. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  10944. type: integer
  10945. isneedclear:
  10946. description: 是否需要清算 - 0:不需要 1:需要
  10947. type: integer
  10948. lastcheckstatus:
  10949. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  10950. type: integer
  10951. lastchecktime:
  10952. description: 最后对账时间
  10953. type: string
  10954. lastclearstatus:
  10955. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  10956. type: integer
  10957. lastcleartime:
  10958. description: 最后清算时间
  10959. type: string
  10960. lastsignintime:
  10961. description: 最后签到时间
  10962. type: string
  10963. lastsignouttime:
  10964. description: 最后签退时间
  10965. type: string
  10966. riskinfo:
  10967. description: 签约风险提示书
  10968. type: string
  10969. signstatus:
  10970. description: 当前签到/签退状态 - 1:签到 2:签退
  10971. type: integer
  10972. tradedate:
  10973. description: 交易日(yyyyMMdd)
  10974. type: string
  10975. updatetime:
  10976. description: 当前签到/签退更新时间
  10977. type: string
  10978. type: object
  10979. models.QhjCustomer:
  10980. properties:
  10981. address:
  10982. description: 通讯地址
  10983. type: string
  10984. attachment1:
  10985. description: 附件1
  10986. type: string
  10987. attachment2:
  10988. description: 附件2
  10989. type: string
  10990. audittime:
  10991. description: 审核时间
  10992. type: string
  10993. cardbackphotourl:
  10994. description: 证件反面图片地址
  10995. type: string
  10996. cardfrontphotourl:
  10997. description: 证件正面图片地址
  10998. type: string
  10999. cardnum:
  11000. description: 证件号码
  11001. type: string
  11002. cardtype:
  11003. description: 证件类型
  11004. type: integer
  11005. cardtypename:
  11006. description: 证件类型名称
  11007. type: string
  11008. cityid:
  11009. description: 市
  11010. type: integer
  11011. cityname:
  11012. description: 城市名称
  11013. type: string
  11014. contactname:
  11015. description: 联系人
  11016. type: string
  11017. countryid:
  11018. description: 国家
  11019. type: integer
  11020. countryname:
  11021. description: 国家名称
  11022. type: string
  11023. createtime:
  11024. description: 创建时间
  11025. type: string
  11026. customername:
  11027. description: 客户名称
  11028. type: string
  11029. districtid:
  11030. description: 区域
  11031. type: integer
  11032. districtname:
  11033. description: 地区名称
  11034. type: string
  11035. email:
  11036. description: 邮件
  11037. type: string
  11038. legalpersonname:
  11039. description: 法人姓名(企业)
  11040. type: string
  11041. logincode:
  11042. description: 登录账号(代码)
  11043. type: string
  11044. memberuserid:
  11045. description: 所属机构ID(所属会员)
  11046. type: integer
  11047. memberusername:
  11048. description: 所属会员名称
  11049. type: string
  11050. mobile:
  11051. description: 手机号码
  11052. type: string
  11053. modifytime:
  11054. description: 修改时间
  11055. type: string
  11056. nickname:
  11057. description: 昵称
  11058. type: string
  11059. parentuserid:
  11060. description: 上级机构(所属机构)
  11061. type: integer
  11062. parentusername:
  11063. description: 所属机构名称
  11064. type: string
  11065. provinceid:
  11066. description: 省
  11067. type: integer
  11068. provincename:
  11069. description: 省名称
  11070. type: string
  11071. proxystatementurl:
  11072. description: 授权委托书
  11073. type: string
  11074. remark:
  11075. description: 备注
  11076. type: string
  11077. status:
  11078. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  11079. type: integer
  11080. statusdesc:
  11081. description: 账户状态中文描述
  11082. type: string
  11083. taxpayernum:
  11084. description: 纳税人识别号
  11085. type: string
  11086. telphone:
  11087. description: 联系电话
  11088. type: string
  11089. userid:
  11090. description: 用户ID
  11091. type: integer
  11092. userinfotype:
  11093. description: 客户类型 1-个人 2-企业
  11094. type: integer
  11095. username:
  11096. description: 用户名称
  11097. type: string
  11098. type: object
  11099. models.QhjCustomerSignLog:
  11100. properties:
  11101. agreementcontent:
  11102. description: 协议内容
  11103. type: string
  11104. agreementid:
  11105. description: 协议ID
  11106. type: integer
  11107. agreementname:
  11108. description: 协议名称
  11109. type: string
  11110. agreementno:
  11111. description: 协议编号
  11112. type: string
  11113. agreementtype:
  11114. description: 协议类型 - 1:注册 2:登录 3:交易
  11115. type: integer
  11116. agreementversion:
  11117. description: 协议版本号
  11118. type: integer
  11119. createtime:
  11120. description: 创建时间
  11121. type: string
  11122. goodscode:
  11123. description: 商品代码
  11124. type: string
  11125. goodsid:
  11126. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11127. type: integer
  11128. goodsname:
  11129. description: 商品名称
  11130. type: string
  11131. logid:
  11132. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  11133. type: integer
  11134. nodetype:
  11135. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  11136. type: integer
  11137. signadressurl:
  11138. description: 签约文件地址
  11139. type: string
  11140. signtimestamp:
  11141. description: 签约状态时间戳
  11142. type: string
  11143. userid:
  11144. description: 客户ID
  11145. type: integer
  11146. username:
  11147. description: 客户名称
  11148. type: string
  11149. type: object
  11150. models.QhjCustomerSignStatus:
  11151. properties:
  11152. createtime:
  11153. description: 创建时间
  11154. type: string
  11155. goodscode:
  11156. description: 商品代码
  11157. type: string
  11158. goodsid:
  11159. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11160. type: integer
  11161. goodsname:
  11162. description: 商品名称
  11163. type: string
  11164. nodetype:
  11165. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  11166. type: integer
  11167. signtimestamp:
  11168. description: 签约状态时间戳
  11169. type: string
  11170. tradedate:
  11171. description: 创建交易日(yyyyMMdd)
  11172. type: string
  11173. updatetime:
  11174. description: 更新时间
  11175. type: string
  11176. userid:
  11177. description: 客户ID
  11178. type: integer
  11179. username:
  11180. description: 客户名称
  11181. type: string
  11182. type: object
  11183. models.QhjMgrAccountOutInApply:
  11184. properties:
  11185. accountcode:
  11186. description: 资金账号
  11187. type: string
  11188. accountname:
  11189. description: 用户名称(名称)
  11190. type: string
  11191. accountpwd:
  11192. description: 资金密码
  11193. type: string
  11194. accountticket:
  11195. description: 最新账户服务流水号
  11196. type: string
  11197. amount:
  11198. description: 金额
  11199. type: number
  11200. applyremark:
  11201. description: 申请备注
  11202. type: string
  11203. applystatus:
  11204. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  11205. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  11206. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  11207. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  11208. type: integer
  11209. auditid:
  11210. description: 审核人
  11211. type: integer
  11212. audittime:
  11213. description: 审核时间
  11214. type: string
  11215. bank_apply_ticket:
  11216. description: 银行申请流水
  11217. type: string
  11218. bankaccountname:
  11219. description: 银行账户名
  11220. type: string
  11221. bankaccountno:
  11222. description: 银行卡号
  11223. type: string
  11224. bankid:
  11225. description: 银行编号
  11226. type: string
  11227. bankname:
  11228. description: 银行名称
  11229. type: string
  11230. bankticket:
  11231. description: 银行流水
  11232. type: string
  11233. branchbankid:
  11234. description: 银行支行号
  11235. type: string
  11236. branchbankname:
  11237. description: 银行支行名称
  11238. type: string
  11239. capamountout:
  11240. description: 出金(劣后本金) - 外部子账户
  11241. type: number
  11242. certificatephotourl:
  11243. description: 凭证地址
  11244. type: string
  11245. charge:
  11246. description: 手续费
  11247. type: number
  11248. checkerrorflag:
  11249. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  11250. type: integer
  11251. currency:
  11252. description: 币种
  11253. type: string
  11254. cusbankid:
  11255. description: 托管银行编号
  11256. type: string
  11257. exchticket:
  11258. description: 银行服务流水号
  11259. type: string
  11260. executetype:
  11261. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  11262. 7:外部子账户:入金 8:外部子账户:出金'
  11263. type: integer
  11264. extendinfo:
  11265. description: 扩展信息
  11266. type: string
  11267. extoperateid:
  11268. description: 交易服务流水号
  11269. type: integer
  11270. infamount:
  11271. description: 劣后金额(自有)
  11272. type: number
  11273. logincode:
  11274. description: 登录账号(账号)
  11275. type: string
  11276. netaddr:
  11277. description: 调转网址
  11278. type: string
  11279. priamount:
  11280. description: 优先金额(授信)
  11281. type: number
  11282. reauditid:
  11283. description: 复审人
  11284. type: integer
  11285. reauditremark:
  11286. description: 复审备注
  11287. type: string
  11288. reaudittime:
  11289. description: 复审时间
  11290. type: string
  11291. relatedorderid:
  11292. description: 三方关联ID
  11293. type: string
  11294. remark:
  11295. description: 备注
  11296. type: string
  11297. remark2:
  11298. description: 备注(失败原因)
  11299. type: string
  11300. soucreamount:
  11301. description: 原始出入金金额
  11302. type: number
  11303. soucrecurrencyid:
  11304. description: 原始出入金币种
  11305. type: integer
  11306. tradedate:
  11307. description: 交易日(yyyyMMdd)
  11308. type: string
  11309. updatetime:
  11310. description: 更新时间(申请时间)
  11311. type: string
  11312. userid:
  11313. description: 用户id
  11314. type: integer
  11315. userinfotype:
  11316. description: 账户类型 1-个人 2-企业
  11317. type: integer
  11318. type: object
  11319. models.QhjMgrBrokerApply:
  11320. properties:
  11321. applicantid:
  11322. description: 申请人
  11323. type: integer
  11324. applysrc:
  11325. description: 申请来源 - 1:管理端 2:终端
  11326. type: integer
  11327. applystatus:
  11328. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  11329. type: integer
  11330. applytime:
  11331. description: 申请时间
  11332. type: string
  11333. auditorid:
  11334. description: 审核人
  11335. type: integer
  11336. auditremark:
  11337. description: 审核备注
  11338. type: string
  11339. auditsrc:
  11340. description: 审核来源 - 1:管理端 2:终端
  11341. type: integer
  11342. audittime:
  11343. description: 审核时间
  11344. type: string
  11345. audittradedate:
  11346. description: 审核交易日(yyyyMMdd)
  11347. type: string
  11348. brokerapplyid:
  11349. description: 申请ID(SEQ_BROKERAPPLY)
  11350. type: integer
  11351. cardbackphotourl:
  11352. description: 证件背面图片地址
  11353. type: string
  11354. cardfrontphotourl:
  11355. description: 证件正面图片地址
  11356. type: string
  11357. cardnum:
  11358. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  11359. type: string
  11360. customername:
  11361. description: 姓名
  11362. type: string
  11363. filterstatus:
  11364. description: 筛选条件
  11365. type: string
  11366. logincode:
  11367. description: 登录代码
  11368. type: string
  11369. mobile:
  11370. description: 手机号码
  11371. type: string
  11372. parentuserid:
  11373. description: 所属机构id
  11374. type: integer
  11375. parentusername:
  11376. description: 所属机构名称
  11377. type: string
  11378. refereeuserid:
  11379. description: 推荐人id(经纪人)
  11380. type: integer
  11381. refernum:
  11382. description: 推荐码
  11383. type: string
  11384. remark:
  11385. description: 备注
  11386. type: string
  11387. subarealevelpath:
  11388. description: 层级路径
  11389. type: string
  11390. tradedate:
  11391. description: 交易日(yyyyMMdd)
  11392. type: string
  11393. userid:
  11394. description: 申请人用户ID
  11395. type: integer
  11396. userinfotype:
  11397. description: 用户类型 1-个人 2-企业
  11398. type: integer
  11399. username:
  11400. description: 用户名称
  11401. type: string
  11402. type: object
  11403. models.QhjMgrBrokerRewardReport:
  11404. properties:
  11405. createtime:
  11406. description: 创建时间(注册时间)
  11407. type: string
  11408. cycletime:
  11409. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  11410. type: string
  11411. cycletype:
  11412. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  11413. type: integer
  11414. directtotalnum:
  11415. description: 直推总人数【期末】
  11416. type: integer
  11417. indirecttotalnum:
  11418. description: 间推总人数【期末】
  11419. type: integer
  11420. mobile:
  11421. description: 电话号码
  11422. type: string
  11423. refereeuserid:
  11424. description: 推荐人id(经纪人id)
  11425. type: integer
  11426. refereeusername:
  11427. description: 推荐人名称(经纪人) 上级经纪人名称
  11428. type: string
  11429. refernum:
  11430. description: 推荐码
  11431. type: string
  11432. subarealevelpath:
  11433. description: 用户层级路径
  11434. type: string
  11435. todayrewardamount:
  11436. description: 奖励总金额【汇总】
  11437. type: number
  11438. updatetime:
  11439. description: 更新时间
  11440. type: string
  11441. userid:
  11442. description: 经纪人用户ID
  11443. type: integer
  11444. userinfotype:
  11445. description: 用户类型 1-个人 2-企业
  11446. type: integer
  11447. username:
  11448. description: 用户名称
  11449. type: string
  11450. type: object
  11451. models.QhjMgrContract:
  11452. properties:
  11453. contractconfirmtime:
  11454. description: 合同确认时间(时间)
  11455. type: string
  11456. currisklevel:
  11457. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  11458. type: integer
  11459. decimalplace:
  11460. description: 商品报价小数位
  11461. type: integer
  11462. enumdicname:
  11463. description: 单位名称
  11464. type: string
  11465. goodscode:
  11466. description: 商品代码
  11467. type: string
  11468. goodsid:
  11469. description: 商品ID [5:融资单]
  11470. type: integer
  11471. goodsname:
  11472. description: 商品名称
  11473. type: string
  11474. goodunitid:
  11475. description: 商品单位id
  11476. type: integer
  11477. initmargin:
  11478. description: 初始保证金(首付款)
  11479. type: number
  11480. lenderamount:
  11481. description: 贷款金额(总额|订单总额)
  11482. type: number
  11483. logincode:
  11484. description: 账号(登录代码)
  11485. type: string
  11486. marginratio:
  11487. description: 保证金比率(首付比例)
  11488. type: number
  11489. mobile:
  11490. description: 电话号码(用户资料里的电话)
  11491. type: string
  11492. payamount:
  11493. description: 已付(已付货款)
  11494. type: number
  11495. reckonrecovermargin:
  11496. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  11497. type: number
  11498. recoveredmargin:
  11499. description: 已追缴保证金
  11500. type: number
  11501. remainamount:
  11502. description: 合同剩余金额(融资额)
  11503. type: number
  11504. scfcontractid:
  11505. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  11506. type: string
  11507. scfcontractstatus:
  11508. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  11509. 9:违约结束 10:已注销 11:已关闭 99:未提交
  11510. type: integer
  11511. scfcontracttype:
  11512. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  11513. type: integer
  11514. totalinterest:
  11515. description: 已计总利息(利息)
  11516. type: number
  11517. tradedate:
  11518. description: 交易日
  11519. type: string
  11520. tradeprice:
  11521. description: 成交价格(成本价格)
  11522. type: number
  11523. userid:
  11524. description: 用户ID
  11525. type: integer
  11526. userinfotype:
  11527. description: 用户类型 1-个人 2-企业
  11528. type: integer
  11529. username:
  11530. description: 用户名称
  11531. type: string
  11532. wrqty:
  11533. description: 仓单数量(数量)
  11534. type: number
  11535. type: object
  11536. models.QhjMgrCustomer:
  11537. properties:
  11538. address:
  11539. description: 通讯地址
  11540. type: string
  11541. attachment1:
  11542. description: 附件1
  11543. type: string
  11544. audittime:
  11545. description: 审核时间
  11546. type: string
  11547. birthday:
  11548. description: 生日
  11549. type: string
  11550. brokerid:
  11551. description: 所属客户经理id
  11552. type: integer
  11553. brokername:
  11554. description: 所属客户经理名称
  11555. type: string
  11556. cardbackphotourl:
  11557. description: 证件反面图片地址
  11558. type: string
  11559. cardfrontphotourl:
  11560. description: 证件正面图片地址
  11561. type: string
  11562. cardnum:
  11563. description: 证件号码
  11564. type: string
  11565. cardtype:
  11566. description: 证件类型
  11567. type: integer
  11568. cardtypename:
  11569. description: 证件类型名称
  11570. type: string
  11571. cityid:
  11572. description: 市
  11573. type: integer
  11574. cityname:
  11575. description: 城市名称
  11576. type: string
  11577. contactname:
  11578. description: 联系人
  11579. type: string
  11580. countryid:
  11581. description: 国家
  11582. type: integer
  11583. countryname:
  11584. description: 国家名称
  11585. type: string
  11586. createtime:
  11587. description: 创建时间
  11588. type: string
  11589. customername:
  11590. description: 客户名称
  11591. type: string
  11592. districtid:
  11593. description: 区域
  11594. type: integer
  11595. districtname:
  11596. description: 地区名称
  11597. type: string
  11598. email:
  11599. description: 邮件
  11600. type: string
  11601. legalpersonname:
  11602. description: 法人姓名(企业)
  11603. type: string
  11604. logincode:
  11605. description: 登录账号(代码)
  11606. type: string
  11607. memberuserid:
  11608. description: 所属机构ID(所属会员)
  11609. type: integer
  11610. memberusername:
  11611. description: 所属会员名称
  11612. type: string
  11613. mobile:
  11614. description: 手机号码
  11615. type: string
  11616. modifytime:
  11617. description: 修改时间
  11618. type: string
  11619. nickname:
  11620. description: 昵称
  11621. type: string
  11622. parentuserid:
  11623. description: 上级机构(所属机构)
  11624. type: integer
  11625. parentusername:
  11626. description: 所属机构名称
  11627. type: string
  11628. provinceid:
  11629. description: 省
  11630. type: integer
  11631. provincename:
  11632. description: 省名称
  11633. type: string
  11634. proxystatementurl:
  11635. description: 授权委托书
  11636. type: string
  11637. querytype:
  11638. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  11639. type: integer
  11640. remark:
  11641. description: 备注
  11642. type: string
  11643. sex:
  11644. description: 性别 0-女 1-男
  11645. type: integer
  11646. status:
  11647. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过
  11648. ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  11649. type: integer
  11650. statusdesc:
  11651. description: 账户状态中文描述
  11652. type: string
  11653. taxpayernum:
  11654. description: 纳税人识别号
  11655. type: string
  11656. telphone:
  11657. description: 联系电话
  11658. type: string
  11659. userid:
  11660. description: 用户ID
  11661. type: integer
  11662. userinfotype:
  11663. description: 客户类型 1-个人 2-企业
  11664. type: integer
  11665. username:
  11666. description: 用户名称
  11667. type: string
  11668. type: object
  11669. models.QhjMgrPickGoods:
  11670. properties:
  11671. enumdicname:
  11672. description: 单位名称(提货商品)
  11673. type: string
  11674. goodsid:
  11675. description: 商品id
  11676. type: integer
  11677. imageaddress:
  11678. description: 图片
  11679. type: string
  11680. modifierid:
  11681. description: 修改人
  11682. type: integer
  11683. modifiername:
  11684. description: 修改人名称
  11685. type: string
  11686. modifysrc:
  11687. description: 修改来源 - 1:管理端 2:终端
  11688. type: integer
  11689. pickupgoodsagreeunit:
  11690. description: 合约乘数
  11691. type: number
  11692. pickupgoodsdesc:
  11693. description: 描述
  11694. type: string
  11695. pickupgoodsid:
  11696. description: 提货商品ID
  11697. type: string
  11698. pickupgoodsname:
  11699. description: 提货商品名称
  11700. type: string
  11701. pickupgoodsstatus:
  11702. description: 状态 - 1:正常 2:停用 3:注销
  11703. type: integer
  11704. pickupgoodsunitid:
  11705. description: 单位ID
  11706. type: integer
  11707. pickupratio:
  11708. description: 提货系数
  11709. type: number
  11710. preparedays:
  11711. description: 备货期(天)
  11712. type: integer
  11713. remark:
  11714. description: 备注
  11715. type: string
  11716. updatetime:
  11717. description: 更新时间
  11718. type: string
  11719. type: object
  11720. models.QhjMgrPositionRsp:
  11721. properties:
  11722. accountid:
  11723. description: 账号Id
  11724. type: integer
  11725. accountname:
  11726. description: 用户名称
  11727. type: string
  11728. agreeunit:
  11729. description: 合约乘数
  11730. type: number
  11731. averageprice:
  11732. description: 均价
  11733. type: number
  11734. avialqty:
  11735. description: 可用数量
  11736. type: number
  11737. decimalplace:
  11738. description: 报价小数位
  11739. type: integer
  11740. enumdicname:
  11741. description: 单位名称(商品)
  11742. type: string
  11743. frozenqty:
  11744. description: 冻结数量
  11745. type: number
  11746. goodscode:
  11747. description: 商品代码(内部)
  11748. type: string
  11749. goodsid:
  11750. description: 商品Id
  11751. type: integer
  11752. goodsname:
  11753. description: 商品名称
  11754. type: string
  11755. goodunitid:
  11756. description: 报价单位ID
  11757. type: integer
  11758. holderamount:
  11759. description: 金额
  11760. type: number
  11761. holderqty:
  11762. description: 持有数量
  11763. type: number
  11764. holdertype:
  11765. description: 持仓类别 - 1:单边持仓 2:双边持仓
  11766. type: integer
  11767. logincode:
  11768. description: 登录代码(账户)
  11769. type: string
  11770. marketid:
  11771. description: 市场id
  11772. type: integer
  11773. qtydecimalplace:
  11774. description: 成交量小数位
  11775. type: integer
  11776. trademode:
  11777. description: 交易模式
  11778. type: integer
  11779. userid:
  11780. description: 用户id
  11781. type: integer
  11782. userinfotype:
  11783. description: 账户类型 1-个人 2-企业
  11784. type: integer
  11785. type: object
  11786. models.QhjMgrSubArea:
  11787. properties:
  11788. accountname:
  11789. description: 账户名称(机构名称)
  11790. type: string
  11791. memberuserid:
  11792. description: 所属会员ID
  11793. type: integer
  11794. parenttopuser:
  11795. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  11796. type: string
  11797. parentuserid:
  11798. description: 所属机构ID
  11799. type: integer
  11800. rootuserid:
  11801. description: 根用户ID
  11802. type: string
  11803. subaccountlevel:
  11804. description: 子账户层数
  11805. type: integer
  11806. subarealevelpath:
  11807. description: 子机构层级路径(逗号分隔,首尾加逗号)
  11808. type: string
  11809. userid:
  11810. description: 用户ID
  11811. type: integer
  11812. usertype:
  11813. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  11814. type: integer
  11815. type: object
  11816. models.QhjMgrTradeDetailRsp:
  11817. properties:
  11818. accountid:
  11819. description: 资金账号
  11820. type: integer
  11821. accountname:
  11822. description: 用户名称
  11823. type: string
  11824. agreeunit:
  11825. description: 合约乘数
  11826. type: number
  11827. buyorsell:
  11828. description: 成交类型(方向) 0:买 1:卖
  11829. type: integer
  11830. decimalplace:
  11831. description: 报价小数位
  11832. type: integer
  11833. enumdicname:
  11834. description: 单位名称(商品)
  11835. type: string
  11836. goodscode:
  11837. description: 商品代码(内部)
  11838. type: string
  11839. goodsid:
  11840. description: 商品id
  11841. type: integer
  11842. goodsname:
  11843. description: 商品名称
  11844. type: string
  11845. goodunitid:
  11846. description: 报价单位ID
  11847. type: integer
  11848. logincode:
  11849. description: 登录代码(账户)
  11850. type: string
  11851. marketid:
  11852. description: 市场id
  11853. type: integer
  11854. orderid:
  11855. description: 关联委托单号
  11856. type: string
  11857. qtydecimalplace:
  11858. description: 成交量小数位
  11859. type: integer
  11860. tradeamount:
  11861. description: 金额
  11862. type: number
  11863. tradedate:
  11864. description: 交易日
  11865. type: string
  11866. tradeid:
  11867. description: 成交单号
  11868. type: string
  11869. trademode:
  11870. description: 交易模式
  11871. type: integer
  11872. tradeprice:
  11873. description: 价格
  11874. type: number
  11875. tradeqty:
  11876. description: 数量
  11877. type: number
  11878. tradetime:
  11879. description: 成交时间
  11880. type: string
  11881. userid:
  11882. description: 用户id
  11883. type: integer
  11884. userinfotype:
  11885. description: 账户类型 1-个人 2-企业
  11886. type: integer
  11887. type: object
  11888. models.QhjMgrTradeOrderDetailRsp:
  11889. properties:
  11890. accountid:
  11891. description: 资金账号
  11892. type: integer
  11893. accountname:
  11894. description: 用户名称
  11895. type: string
  11896. agreeunit:
  11897. description: 合约乘数
  11898. type: number
  11899. amount:
  11900. description: 金额
  11901. type: number
  11902. decimalplace:
  11903. description: 报价小数位
  11904. type: integer
  11905. enumdicname:
  11906. description: 单位名称(商品)
  11907. type: string
  11908. goodscode:
  11909. description: 商品代码(内部)
  11910. type: string
  11911. goodsid:
  11912. description: 商品id
  11913. type: integer
  11914. goodsname:
  11915. description: 商品名称
  11916. type: string
  11917. goodunitid:
  11918. description: 报价单位ID
  11919. type: integer
  11920. logincode:
  11921. description: 登录代码(账户)
  11922. type: string
  11923. marketid:
  11924. description: 市场id
  11925. type: integer
  11926. orderid:
  11927. description: 关联委托单号
  11928. type: string
  11929. orderprice:
  11930. description: 价格
  11931. type: number
  11932. orderqty:
  11933. description: 数量
  11934. type: number
  11935. orderstatus:
  11936. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  11937. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  11938. 16:成交失败违约(荷兰式竞拍专用)
  11939. type: integer
  11940. ordertime:
  11941. description: 委托时间
  11942. type: string
  11943. qtydecimalplace:
  11944. description: 成交量小数位
  11945. type: integer
  11946. tradedate:
  11947. description: 交易日
  11948. type: string
  11949. trademode:
  11950. description: 交易模式
  11951. type: integer
  11952. userid:
  11953. description: 用户id
  11954. type: integer
  11955. userinfotype:
  11956. description: 账户类型 1-个人 2-企业
  11957. type: integer
  11958. type: object
  11959. models.QhjMgrTradePayOrder:
  11960. properties:
  11961. accountname:
  11962. description: 用户名称
  11963. type: string
  11964. advanceratio:
  11965. description: 首付比率
  11966. type: number
  11967. agreeunit:
  11968. description: 合约乘数
  11969. type: number
  11970. buyaccountid:
  11971. description: 买方账号ID[报价币种]
  11972. type: integer
  11973. buyorderid:
  11974. description: 买方委托单号(关联单号)
  11975. type: string
  11976. createtime:
  11977. description: 创建时间
  11978. type: string
  11979. decimalplace:
  11980. description: 报价小数位
  11981. type: integer
  11982. enumdicname:
  11983. description: 单位名称(商品)
  11984. type: string
  11985. goodscode:
  11986. description: 商品代码(内部)
  11987. type: string
  11988. goodsid:
  11989. description: 商品ID
  11990. type: integer
  11991. goodsname:
  11992. description: 商品名称
  11993. type: string
  11994. goodunitid:
  11995. description: 报价单位ID
  11996. type: integer
  11997. logincode:
  11998. description: 登录代码(账户)
  11999. type: string
  12000. marketid:
  12001. description: 市场id
  12002. type: integer
  12003. offamount:
  12004. description: 优惠金额
  12005. type: number
  12006. operatetype:
  12007. description: 买委托操作类型 - 1:正常下单 16:融资买入
  12008. type: integer
  12009. payamount:
  12010. description: 支付金额(金额)
  12011. type: number
  12012. payflag:
  12013. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  12014. type: integer
  12015. paylimitedtime:
  12016. description: 支付期限
  12017. type: string
  12018. paytime:
  12019. description: 付款时间
  12020. type: string
  12021. qtydecimalplace:
  12022. description: 成交量小数位
  12023. type: integer
  12024. sellaccountid:
  12025. description: 卖方账号ID[报价币种]
  12026. type: integer
  12027. sellorderid:
  12028. description: 卖方委托单号
  12029. type: string
  12030. tradeamount:
  12031. description: 成交金额(优惠后金额)
  12032. type: number
  12033. tradecharge:
  12034. description: 成交手续费(买方)
  12035. type: number
  12036. tradedate:
  12037. description: 交易日(yyyyMMdd)
  12038. type: string
  12039. tradeid:
  12040. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12041. type: string
  12042. trademode:
  12043. description: 交易模式
  12044. type: integer
  12045. tradeprice:
  12046. description: 成交价格(价格)
  12047. type: number
  12048. tradeqty:
  12049. description: 成交数量(数量)
  12050. type: number
  12051. tradetime:
  12052. description: 成交时间
  12053. type: string
  12054. userid:
  12055. description: 用户id
  12056. type: integer
  12057. userinfotype:
  12058. description: 账户类型 1-个人 2-企业
  12059. type: integer
  12060. type: object
  12061. models.QhjMyTeamEx:
  12062. properties:
  12063. accountname:
  12064. description: 用户名称
  12065. type: string
  12066. accountstatus:
  12067. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  12068. type: integer
  12069. createtime:
  12070. description: 创建时间
  12071. type: string
  12072. mobile:
  12073. description: 手机号码
  12074. type: string
  12075. refereeuserid:
  12076. description: 推荐人id
  12077. type: integer
  12078. refernum:
  12079. description: 推荐码
  12080. type: string
  12081. subList:
  12082. items:
  12083. $ref: '#/definitions/models.QhjMyTeamEx'
  12084. type: array
  12085. userid:
  12086. description: 用户id
  12087. type: integer
  12088. userinfotype:
  12089. description: 用户类型 1-个人 2-企业
  12090. type: integer
  12091. type: object
  12092. models.QhjNodeAgreementConfig:
  12093. properties:
  12094. agreementcontent:
  12095. description: 协议内容
  12096. type: string
  12097. agreementid:
  12098. description: 协议ID
  12099. type: integer
  12100. agreementname:
  12101. description: 协议名称
  12102. type: string
  12103. agreementno:
  12104. description: 协议编号
  12105. type: string
  12106. agreementtype:
  12107. description: 协议类型 - 1:注册 2:登录 3:交易
  12108. type: integer
  12109. agreementversion:
  12110. description: 协议版本号
  12111. type: integer
  12112. configid:
  12113. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  12114. type: integer
  12115. createtime:
  12116. description: 创建时间
  12117. type: string
  12118. goodsid:
  12119. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12120. type: integer
  12121. nodetype:
  12122. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12123. type: integer
  12124. type: object
  12125. models.QhjParentAreaList:
  12126. properties:
  12127. accountname:
  12128. description: 账户名称(机构名称)
  12129. type: string
  12130. userid:
  12131. description: 用户ID
  12132. type: integer
  12133. usertype:
  12134. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  12135. type: integer
  12136. type: object
  12137. models.QhjPayOrder:
  12138. properties:
  12139. advanceratio:
  12140. description: 首付比率
  12141. type: number
  12142. buyaccountid:
  12143. description: 买方账号ID[报价币种]
  12144. type: integer
  12145. buyorderid:
  12146. description: 买方委托单号
  12147. type: string
  12148. createtime:
  12149. description: 创建时间
  12150. type: string
  12151. decimalplace:
  12152. description: 商品报价小数位
  12153. type: integer
  12154. enumdicname:
  12155. description: 单位名称
  12156. type: string
  12157. goodscode:
  12158. description: 商品代码
  12159. type: string
  12160. goodsid:
  12161. description: 商品ID
  12162. type: integer
  12163. goodsname:
  12164. description: 商品名称
  12165. type: string
  12166. goodunitid:
  12167. description: 商品单位id
  12168. type: integer
  12169. marketid:
  12170. description: 市场ID
  12171. type: integer
  12172. offamount:
  12173. description: 优惠金额
  12174. type: number
  12175. operatetype:
  12176. description: 买委托操作类型 - 1:正常下单 16:融资买入
  12177. type: integer
  12178. payamount:
  12179. description: 支付金额
  12180. type: number
  12181. payflag:
  12182. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  12183. type: integer
  12184. paylimitedtime:
  12185. description: 支付期限
  12186. type: string
  12187. paytime:
  12188. description: 付款时间
  12189. type: string
  12190. qtydecimalplace:
  12191. description: 成交量小数位
  12192. type: integer
  12193. sellaccountid:
  12194. description: 卖方账号ID[报价币种]
  12195. type: integer
  12196. sellorderid:
  12197. description: 卖方委托单号
  12198. type: string
  12199. tradeamount:
  12200. description: 成交金额(优惠后金额)
  12201. type: number
  12202. tradecharge:
  12203. description: 成交手续费(买方)
  12204. type: number
  12205. tradedate:
  12206. description: 交易日(yyyyMMdd)
  12207. type: string
  12208. tradeid:
  12209. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12210. type: string
  12211. tradeprice:
  12212. description: 成交价格
  12213. type: number
  12214. tradeqty:
  12215. description: 成交数量
  12216. type: number
  12217. type: object
  12218. models.QhjPickArea:
  12219. properties:
  12220. address:
  12221. description: 详细地址
  12222. type: string
  12223. cityid:
  12224. description: 市
  12225. type: integer
  12226. cityname:
  12227. description: 城市名称
  12228. type: string
  12229. countryid:
  12230. description: 国家
  12231. type: integer
  12232. countryname:
  12233. description: 国家名称
  12234. type: string
  12235. districtid:
  12236. description: 地区
  12237. type: integer
  12238. districtname:
  12239. description: 地区名称
  12240. type: string
  12241. fromuserid:
  12242. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  12243. type: integer
  12244. fromusername:
  12245. description: 所属机构名称
  12246. type: string
  12247. provinceid:
  12248. description: 省
  12249. type: integer
  12250. provincename:
  12251. description: 省名称
  12252. type: string
  12253. suborgtype:
  12254. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  12255. type: integer
  12256. userid:
  12257. description: 机构用户ID 其他做市关系,都设置为 1
  12258. type: integer
  12259. username:
  12260. description: 机构用户名称(门店门称)
  12261. type: string
  12262. type: object
  12263. models.QhjPickGoods:
  12264. properties:
  12265. enumdicname:
  12266. description: 单位名称(提货商品)
  12267. type: string
  12268. goodsid:
  12269. description: 商品id
  12270. type: integer
  12271. imageaddress:
  12272. description: 图片
  12273. type: string
  12274. modifierid:
  12275. description: 修改人
  12276. type: integer
  12277. modifiername:
  12278. description: 修改人名称
  12279. type: string
  12280. modifysrc:
  12281. description: 修改来源 - 1:管理端 2:终端
  12282. type: integer
  12283. pickupgoodsagreeunit:
  12284. description: 合约乘数
  12285. type: number
  12286. pickupgoodsdesc:
  12287. description: 描述
  12288. type: string
  12289. pickupgoodsid:
  12290. description: 提货商品ID
  12291. type: string
  12292. pickupgoodsname:
  12293. description: 提货商品名称
  12294. type: string
  12295. pickupgoodsstatus:
  12296. description: 状态 - 1:正常 2:停用 3:注销
  12297. type: integer
  12298. pickupgoodsunitid:
  12299. description: 单位ID
  12300. type: integer
  12301. pickupratio:
  12302. description: 提货系数
  12303. type: number
  12304. preparedays:
  12305. description: 备货期(天)
  12306. type: integer
  12307. remark:
  12308. description: 备注
  12309. type: string
  12310. updatetime:
  12311. description: 更新时间
  12312. type: string
  12313. type: object
  12314. models.QhjRSTriggerLog:
  12315. properties:
  12316. accountid:
  12317. description: 用户资金账户
  12318. type: integer
  12319. accountname:
  12320. description: 账号名称(ACCOUNTID对应的名称)
  12321. type: string
  12322. currencyid:
  12323. description: 币种id
  12324. type: integer
  12325. currencyname:
  12326. description: 币种名称
  12327. type: string
  12328. decimalplace:
  12329. description: 商品报价小数位
  12330. type: integer
  12331. enumdicname:
  12332. description: 单位名称
  12333. type: string
  12334. goodscode:
  12335. description: 定投商品代码
  12336. type: string
  12337. goodsid:
  12338. description: 定投商品ID
  12339. type: integer
  12340. goodsname:
  12341. description: 定投商品名称
  12342. type: string
  12343. goodunitid:
  12344. description: 定投商品单位id
  12345. type: integer
  12346. logid:
  12347. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  12348. type: string
  12349. logincode:
  12350. description: 账号(登录代码)
  12351. type: string
  12352. qtydecimalplace:
  12353. description: 成交量小数位
  12354. type: integer
  12355. regularlycycle:
  12356. description: 定投频率 - 1:每周 2:每月
  12357. type: integer
  12358. regularlycyclevalue:
  12359. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  12360. type: string
  12361. regularlymode:
  12362. description: 定投方式 - 1:按数量 2:按金额
  12363. type: integer
  12364. regularlymodevalue:
  12365. description: 定投方式值 - 数量或金额
  12366. type: number
  12367. regularlystrategyid:
  12368. description: 定投策略ID
  12369. type: integer
  12370. retcode:
  12371. description: 错误码
  12372. type: string
  12373. tradeid:
  12374. description: 成交单ID
  12375. type: string
  12376. triggeramount:
  12377. description: 触发金额
  12378. type: number
  12379. triggerqty:
  12380. description: 触发数量
  12381. type: number
  12382. triggerstatus:
  12383. description: 触发状态 - 1:成功 2:失败
  12384. type: integer
  12385. triggertime:
  12386. description: 触发时间
  12387. type: string
  12388. triggertradedate:
  12389. description: 触发交易日
  12390. type: string
  12391. userid:
  12392. description: 所属用户ID
  12393. type: integer
  12394. userinfotype:
  12395. description: 用户类型 1-个人 2-企业
  12396. type: integer
  12397. username:
  12398. description: 用户名称(userid对应的名称)
  12399. type: string
  12400. type: object
  12401. models.QhjRStrategy:
  12402. properties:
  12403. accountid:
  12404. description: 用户资金账户
  12405. type: integer
  12406. accountname:
  12407. description: 账号名称(ACCOUNTID对应的名称)
  12408. type: string
  12409. currencyid:
  12410. description: 币种id
  12411. type: integer
  12412. currencyname:
  12413. description: 币种名称
  12414. type: string
  12415. decimalplace:
  12416. description: 商品报价小数位
  12417. type: integer
  12418. enumdicname:
  12419. description: 单位名称
  12420. type: string
  12421. goodscode:
  12422. description: 定投商品代码
  12423. type: string
  12424. goodsid:
  12425. description: 定投商品ID
  12426. type: integer
  12427. goodsname:
  12428. description: 定投商品名称
  12429. type: string
  12430. goodunitid:
  12431. description: 定投商品单位id
  12432. type: integer
  12433. lasteffecttradedate:
  12434. description: 最新生效交易日
  12435. type: string
  12436. laststoptradedate:
  12437. description: 最新暂停交易日
  12438. type: string
  12439. lasttriggertradedate:
  12440. description: 最新触发交易日
  12441. type: string
  12442. logincode:
  12443. description: 账号(登录代码)
  12444. type: string
  12445. nexttriggeramount:
  12446. description: 下次触发金额
  12447. type: number
  12448. nexttriggerdate:
  12449. description: 下次触发日期
  12450. type: string
  12451. nexttriggerqty:
  12452. description: 下次触发数量 [按小数位放大值]
  12453. type: number
  12454. qtydecimalplace:
  12455. description: 成交量小数位
  12456. type: integer
  12457. regularlycycle:
  12458. description: 定投频率 - 1:每周 2:每月
  12459. type: integer
  12460. regularlycyclevalue:
  12461. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  12462. type: string
  12463. regularlymode:
  12464. description: 定投方式 - 1:按数量 2:按金额
  12465. type: integer
  12466. regularlymodevalue:
  12467. description: 定投方式值 - 数量或金额
  12468. type: number
  12469. regularlystrategyid:
  12470. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  12471. type: integer
  12472. regularlystrategystatus:
  12473. description: 策略状态 - 1:正常 2:暂停 3:终止
  12474. type: integer
  12475. remark:
  12476. description: 备注
  12477. type: string
  12478. triggersuccesstimes:
  12479. description: 累计定投成功次数
  12480. type: string
  12481. triggertotalamount:
  12482. description: 累计定投金额(成功)
  12483. type: number
  12484. triggertotalqty:
  12485. description: 累计定投数量(成功) [按小数位放大值]
  12486. type: number
  12487. triggertotaltimes:
  12488. description: 累计定投总次数
  12489. type: string
  12490. updatesrc:
  12491. description: 更新来源 - 1:管理端 2:终端
  12492. type: integer
  12493. updatetime:
  12494. description: 更新时间
  12495. type: string
  12496. updatorid:
  12497. description: 更新人
  12498. type: string
  12499. userid:
  12500. description: 所属用户ID
  12501. type: integer
  12502. userinfotype:
  12503. description: 用户类型 1-个人 2-企业
  12504. type: integer
  12505. username:
  12506. description: 用户名称(userid对应的名称)
  12507. type: string
  12508. type: object
  12509. models.QhjReckonPriceLog:
  12510. properties:
  12511. decimalplace:
  12512. description: 商品报价小数位
  12513. type: integer
  12514. goodscode:
  12515. description: 商品代码
  12516. type: string
  12517. goodsid:
  12518. description: 商品ID
  12519. type: integer
  12520. goodsname:
  12521. description: 商品名称
  12522. type: string
  12523. lastreckonprice:
  12524. description: 上日结算价
  12525. type: number
  12526. nextdnlimitprice:
  12527. description: 下个交易日跌停价
  12528. type: number
  12529. nexttrade:
  12530. description: 下个交易日
  12531. type: string
  12532. nextuplimitprice:
  12533. description: 下个交易日涨停价
  12534. type: number
  12535. reckonprice:
  12536. description: 今日结算价(定投价)
  12537. type: number
  12538. reckontime:
  12539. description: 结算时间
  12540. type: string
  12541. totalholderqty:
  12542. description: 总持仓数
  12543. type: integer
  12544. totalstock:
  12545. description: 总库存
  12546. type: integer
  12547. tradedate:
  12548. description: 交易日
  12549. type: string
  12550. updowncount:
  12551. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  12552. type: integer
  12553. updownflag:
  12554. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  12555. type: integer
  12556. updownrate:
  12557. description: 今日涨跌幅
  12558. type: number
  12559. updownrate_2d:
  12560. description: 连续两日涨跌幅
  12561. type: number
  12562. updownrate_3d:
  12563. description: 连续三日涨跌幅
  12564. type: number
  12565. type: object
  12566. models.QhjScoreLog:
  12567. properties:
  12568. accountid:
  12569. description: 账户ID
  12570. type: integer
  12571. createtime:
  12572. description: 创建时间(时间)
  12573. type: string
  12574. goodsid:
  12575. description: 商品ID
  12576. type: integer
  12577. hasuploaded:
  12578. description: 是否已同步(千海金) 0:未同步 1;已同步
  12579. type: integer
  12580. logid:
  12581. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12582. type: string
  12583. marketid:
  12584. description: 市场ID
  12585. type: integer
  12586. relatedamount:
  12587. description: 关联金额
  12588. type: number
  12589. relatedorderid:
  12590. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  12591. type: string
  12592. scoreconfigvalue1:
  12593. description: 积分配置1
  12594. type: integer
  12595. scoreconfigvalue2:
  12596. description: 积分配置1
  12597. type: integer
  12598. scoretype:
  12599. description: 积分类型 - 1:提货积分
  12600. type: integer
  12601. scorevalue:
  12602. description: 积分
  12603. type: number
  12604. tradedate:
  12605. description: 交易日(yyyyMMdd)
  12606. type: string
  12607. uploadedtime:
  12608. description: 同步时间
  12609. type: string
  12610. userid:
  12611. description: 用户ID
  12612. type: integer
  12613. type: object
  12614. models.QhjSiteColumnDetail:
  12615. properties:
  12616. author:
  12617. description: 作者
  12618. type: string
  12619. brief:
  12620. description: 简介
  12621. type: string
  12622. columnid:
  12623. description: 所属栏目
  12624. type: integer
  12625. context:
  12626. description: 内容
  12627. type: string
  12628. coverimage:
  12629. description: 封面图片
  12630. type: string
  12631. creaedate:
  12632. description: 创建时间
  12633. type: string
  12634. creatorid:
  12635. description: 创建人
  12636. type: integer
  12637. hits:
  12638. description: 点击数
  12639. type: integer
  12640. id:
  12641. description: ID(SEQ_SITE_COLUMNDETAIL)
  12642. type: integer
  12643. isshow:
  12644. description: 是否展示 - 0:不展示 1:展示
  12645. type: integer
  12646. istop:
  12647. description: 是否置顶 - 0:不置 1:置顶
  12648. type: integer
  12649. modifierid:
  12650. description: 操作人
  12651. type: integer
  12652. publishdate:
  12653. description: 发布日期
  12654. type: string
  12655. status:
  12656. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  12657. type: integer
  12658. title:
  12659. description: 标题
  12660. type: string
  12661. updatedate:
  12662. description: 修改时间
  12663. type: string
  12664. userid:
  12665. description: 用户ID(默认为0, 核心为为机构用户ID)
  12666. type: integer
  12667. username:
  12668. description: 用户名称
  12669. type: string
  12670. type: object
  12671. models.QhjTeamOrder:
  12672. properties:
  12673. accountid:
  12674. description: 账户ID[报价币种]
  12675. type: integer
  12676. accountname:
  12677. description: 账户名称
  12678. type: string
  12679. agreeunit:
  12680. description: 合约乘数
  12681. type: number
  12682. buyorsell:
  12683. description: 方向 - 0:买 1:卖
  12684. type: integer
  12685. decimalplace:
  12686. description: 报价小数位
  12687. type: integer
  12688. enumdicname:
  12689. description: 单位名称
  12690. type: string
  12691. goodscode:
  12692. description: 商品代码(内部)
  12693. type: string
  12694. goodsid:
  12695. description: 商品ID
  12696. type: integer
  12697. goodsname:
  12698. description: 商品名称
  12699. type: string
  12700. goodunitid:
  12701. description: 报价单位ID
  12702. type: integer
  12703. marketid:
  12704. description: 市场ID
  12705. type: integer
  12706. marketname:
  12707. description: 市场名称
  12708. type: string
  12709. qtydecimalplace:
  12710. description: 成交量小数位
  12711. type: integer
  12712. refereeuserid:
  12713. description: 推荐人ID
  12714. type: integer
  12715. tradeamount:
  12716. description: 成交金额[账户币种,用于所有权]
  12717. type: number
  12718. tradedate:
  12719. description: 交易日(yyyyMMdd)
  12720. type: string
  12721. trademode:
  12722. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12723. 21:竞拍-大宗式 22:受托竞价
  12724. type: integer
  12725. tradeprice:
  12726. description: 成交价格
  12727. type: number
  12728. tradeqty:
  12729. description: 成交数量
  12730. type: number
  12731. tradetime:
  12732. description: 成交时间
  12733. type: string
  12734. userid:
  12735. description: 用户ID
  12736. type: integer
  12737. type: object
  12738. models.QhjTradeGoodsPickup:
  12739. properties:
  12740. accountid:
  12741. description: 账户ID
  12742. type: integer
  12743. address:
  12744. description: 提货人详细地址
  12745. type: string
  12746. amount:
  12747. description: 提货金额
  12748. type: number
  12749. artradedate:
  12750. description: 自动收货交易日(yyyyMMdd)
  12751. type: string
  12752. auditer:
  12753. description: 审核人
  12754. type: integer
  12755. auditsrc:
  12756. description: 更新来源 - 1:管理端 2:终端
  12757. type: integer
  12758. audittime:
  12759. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  12760. type: string
  12761. audittradedate:
  12762. description: 审核交易日(yyyyMMdd)
  12763. type: string
  12764. cardnum:
  12765. description: 提货人证件号码
  12766. type: string
  12767. cardtypeid:
  12768. description: 提货人证件类型
  12769. type: integer
  12770. checkremark:
  12771. description: 审核备注
  12772. type: string
  12773. cityid:
  12774. description: 市
  12775. type: integer
  12776. cityname:
  12777. description: 城市名称
  12778. type: string
  12779. confirmtime:
  12780. description: 取货时间 或 收货时间
  12781. type: string
  12782. countryid:
  12783. description: 国家
  12784. type: integer
  12785. countryname:
  12786. description: 国家名称
  12787. type: string
  12788. decimalplace:
  12789. description: 商品报价小数位
  12790. type: integer
  12791. districtid:
  12792. description: 地区
  12793. type: integer
  12794. districtname:
  12795. description: 地区名称
  12796. type: string
  12797. enumdicname:
  12798. description: 单位名称(提货商品)
  12799. type: string
  12800. expresscompany:
  12801. description: 物流公司
  12802. type: string
  12803. expressnum:
  12804. description: 物流单号
  12805. type: string
  12806. goodsagreeunit:
  12807. description: 交易商品乘数
  12808. type: number
  12809. goodscode:
  12810. description: 商品代码
  12811. type: string
  12812. goodsid:
  12813. description: 商品ID
  12814. type: integer
  12815. goodsname:
  12816. description: 商品名称
  12817. type: string
  12818. goodsqty:
  12819. description: 交易商品手数(69模式按成交量小数位放大取整)
  12820. type: number
  12821. handlestatus:
  12822. description: 处理状态
  12823. type: integer
  12824. logincode:
  12825. description: 账号(登录代码, 有可能为空)
  12826. type: string
  12827. marketid:
  12828. description: 市场ID
  12829. type: integer
  12830. phonenum:
  12831. description: 提货人联系方式
  12832. type: string
  12833. pickupgoodsagreeunit:
  12834. description: 提货商品合约乘数
  12835. type: number
  12836. pickupgoodsid:
  12837. description: 提货商品ID
  12838. type: string
  12839. pickupgoodsname:
  12840. description: 提货商品名称
  12841. type: string
  12842. pickupgoodsqty:
  12843. description: 提货商品手数(数量)
  12844. type: number
  12845. pickupgoodsunitid:
  12846. description: 单位ID(提货商品)
  12847. type: integer
  12848. pickupratio:
  12849. description: 提货系数
  12850. type: number
  12851. preparedays:
  12852. description: 备货期(天)-提货单明细表
  12853. type: integer
  12854. provinceid:
  12855. description: 省
  12856. type: integer
  12857. provincename:
  12858. description: 省名称
  12859. type: string
  12860. qty:
  12861. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  12862. type: number
  12863. qtydecimalplace:
  12864. description: 商品数量小数位
  12865. type: integer
  12866. recivername:
  12867. description: 提货人姓名
  12868. type: string
  12869. reqtime:
  12870. description: 提货申请时间
  12871. type: string
  12872. storeuserid:
  12873. description: 门店用户ID (千海金)
  12874. type: integer
  12875. storeusername:
  12876. description: 门店用户名称
  12877. type: string
  12878. takemode:
  12879. description: 提货方式 - 2:自提 3:配送(邮寄)
  12880. type: integer
  12881. takeorderid:
  12882. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  12883. type: string
  12884. takeorderstatus:
  12885. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  12886. 7:已拒绝 8:已撤销
  12887. type: integer
  12888. takeremark:
  12889. description: 提货备注
  12890. type: string
  12891. tradedate:
  12892. description: 交易日(yyyyMMdd)
  12893. type: string
  12894. updatetime:
  12895. description: 更新时间
  12896. type: string
  12897. userid:
  12898. description: 用户ID
  12899. type: integer
  12900. userinfotype:
  12901. description: 客户类型 1-个人 2-企业
  12902. type: integer
  12903. username:
  12904. description: 用户名称
  12905. type: string
  12906. type: object
  12907. models.QhjUserNodeCfgAndStatus:
  12908. properties:
  12909. agreementcontent:
  12910. description: 协议内容
  12911. type: string
  12912. agreementid:
  12913. description: 协议ID
  12914. type: integer
  12915. agreementname:
  12916. description: 协议名称
  12917. type: string
  12918. agreementno:
  12919. description: 协议编号
  12920. type: string
  12921. agreementtype:
  12922. description: 协议类型 - 1:注册 2:登录 3:交易
  12923. type: integer
  12924. agreementversion:
  12925. description: 协议版本号
  12926. type: integer
  12927. configid:
  12928. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  12929. type: integer
  12930. createtime:
  12931. description: 创建时间
  12932. type: string
  12933. goodsid:
  12934. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12935. type: integer
  12936. nodetype:
  12937. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12938. type: integer
  12939. signtimestamp:
  12940. description: 签约状态时间戳(最近一次)
  12941. type: string
  12942. tradedate:
  12943. description: 签约交易日(yyyyMMdd)
  12944. type: string
  12945. userid:
  12946. description: 客户ID
  12947. type: integer
  12948. type: object
  12949. models.Qhjgoodsex:
  12950. properties:
  12951. canfinance:
  12952. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  12953. type: integer
  12954. canregularlybuy:
  12955. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  12956. type: integer
  12957. defaulttradeuserid:
  12958. description: 默认交易用户ID
  12959. type: integer
  12960. deliverygoodsid:
  12961. description: 现货品种ID
  12962. type: integer
  12963. goodsid:
  12964. description: 商品ID(自增ID SEQ_GOODS)
  12965. type: integer
  12966. minamount:
  12967. description: 最小购买金额
  12968. type: number
  12969. regularlybuyminamount:
  12970. description: 定投最小金额
  12971. type: number
  12972. regularlybuyminqty:
  12973. description: 定投最小数量
  12974. type: number
  12975. spotgoodsbrandid:
  12976. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  12977. type: integer
  12978. visibilityforenterprise:
  12979. description: 企业客户是否可见 - 0:不可见 1:可见
  12980. type: integer
  12981. visibilityforpersonal:
  12982. description: 个人客户是否可见 - 0:不可见 1:可见
  12983. type: integer
  12984. wrstandardid:
  12985. description: 现货商品ID
  12986. type: integer
  12987. type: object
  12988. models.QueryErrorInfosRsp:
  12989. properties:
  12990. description:
  12991. description: 异常描述
  12992. type: string
  12993. errorcode:
  12994. description: 异常代码
  12995. type: string
  12996. errorid:
  12997. description: 异常ID
  12998. type: integer
  12999. modulecode:
  13000. description: 所属模块
  13001. type: string
  13002. operatecode:
  13003. description: 所属操作
  13004. type: string
  13005. rownumber:
  13006. description: 行号
  13007. type: string
  13008. required:
  13009. - errorid
  13010. type: object
  13011. models.QueryHedgeOrderDetailRsp:
  13012. properties:
  13013. accountid:
  13014. description: 账户ID
  13015. type: integer
  13016. buyorsell:
  13017. description: 买卖 - 0:买 1:卖
  13018. type: integer
  13019. cancellogincode:
  13020. description: 撤单人
  13021. type: string
  13022. channelbuildtype:
  13023. description: 开平标志 - 0:无 1:建仓 2:平仓
  13024. type: integer
  13025. channelinnerorderstatus:
  13026. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  13027. 9:全部成交
  13028. type: integer
  13029. channeloperatetype:
  13030. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  13031. type: integer
  13032. closetype:
  13033. description: 平仓方式 - 0:无 1:平今 2:平昨
  13034. type: integer
  13035. curexchangerate:
  13036. description: 当前汇率
  13037. type: number
  13038. decimalplace:
  13039. description: 商品报价小数位
  13040. type: integer
  13041. exchangefullname:
  13042. description: 外部交易所全称
  13043. type: string
  13044. goodscode:
  13045. description: 商品代码(内部)
  13046. type: string
  13047. goodsid:
  13048. description: 商品ID
  13049. type: integer
  13050. goodsname:
  13051. description: 商品名称
  13052. type: string
  13053. marketid:
  13054. description: 市场ID
  13055. type: integer
  13056. openfreezemargin:
  13057. description: 冻结保证金(冻结交易金额)
  13058. type: number
  13059. orderid:
  13060. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13061. type: string
  13062. orderlogincode:
  13063. description: 委托人
  13064. type: string
  13065. orderprice:
  13066. description: 委托价格(账户)
  13067. type: number
  13068. orderqty:
  13069. description: 委托数量
  13070. type: integer
  13071. ordertime:
  13072. description: 委托时间
  13073. type: string
  13074. pricemode:
  13075. description: '取价方式 - 1:市价 2: 限价'
  13076. type: integer
  13077. tradedate:
  13078. description: 交易日(yyyyMMdd)
  13079. type: string
  13080. tradeqty:
  13081. description: 成交数量
  13082. type: integer
  13083. type: object
  13084. models.QueryHedgeTradeDetailRsp:
  13085. properties:
  13086. accountid:
  13087. description: 账号ID
  13088. type: integer
  13089. buyorsell:
  13090. description: 方向 - 0:买 1:卖
  13091. type: integer
  13092. channelbuildtype:
  13093. description: 委托单据类型 0:无 1:建仓 2:平仓
  13094. type: integer
  13095. closecharge:
  13096. description: 平仓手续费(账户)
  13097. type: number
  13098. closecharge2:
  13099. description: 平仓手续费(商品)
  13100. type: number
  13101. closepl:
  13102. description: 平仓盈亏(账户)
  13103. type: number
  13104. closepl2:
  13105. description: 平仓盈亏(商品)
  13106. type: number
  13107. closepl3:
  13108. description: 平仓盈亏(账户)(逐笔)
  13109. type: number
  13110. closepl4:
  13111. description: 平仓盈亏(商品)(逐笔)
  13112. type: number
  13113. closetype:
  13114. description: 平仓方式 - 0:无 1:平今 2:平昨
  13115. type: integer
  13116. curexchangerate:
  13117. description: 当前汇率
  13118. type: number
  13119. decimalplace:
  13120. description: 商品报价小数位
  13121. type: integer
  13122. exchangefullname:
  13123. description: 外部交易所全称
  13124. type: string
  13125. goodscode:
  13126. description: 商品代码(内部)
  13127. type: string
  13128. goodsid:
  13129. description: 商品ID
  13130. type: integer
  13131. goodsname:
  13132. description: 商品名称
  13133. type: string
  13134. marketid:
  13135. description: 市场ID
  13136. type: integer
  13137. opencharge:
  13138. description: 建仓手续费(账户)
  13139. type: number
  13140. opencharge2:
  13141. description: 建仓手续费(商品)
  13142. type: number
  13143. orderid:
  13144. description: 委托单号
  13145. type: string
  13146. orderlogincode:
  13147. description: 委托人
  13148. type: string
  13149. tradeamount:
  13150. description: 成交金额(账户)
  13151. type: number
  13152. tradedate:
  13153. description: 交易日(yyyyMMdd)
  13154. type: string
  13155. tradeid:
  13156. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13157. type: string
  13158. tradeprice:
  13159. description: 成交价格
  13160. type: number
  13161. tradeqty:
  13162. description: 成交数量
  13163. type: integer
  13164. tradetime:
  13165. description: 成交时间
  13166. type: string
  13167. tradetype:
  13168. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  13169. type: integer
  13170. type: object
  13171. models.QuotePrimaryMenu:
  13172. properties:
  13173. Index:
  13174. description: 序号
  13175. type: integer
  13176. Key:
  13177. description: 键名
  13178. type: string
  13179. Name:
  13180. description: 菜单名称
  13181. type: string
  13182. SubMenus:
  13183. description: 子菜单
  13184. items:
  13185. $ref: '#/definitions/models.QuoteSecondaryMenu'
  13186. type: array
  13187. SubTitleType:
  13188. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  13189. type: integer
  13190. TradeModes:
  13191. description: 包含市场交易类型
  13192. type: string
  13193. type: object
  13194. models.QuoteSecondaryMenu:
  13195. properties:
  13196. ExExchangeCode:
  13197. description: 外部交易所代码
  13198. type: string
  13199. ExExchangeID:
  13200. description: 外部交易所ID
  13201. type: integer
  13202. GoodsGroupIDs:
  13203. description: 商品组ID列表
  13204. items:
  13205. type: integer
  13206. type: array
  13207. Index:
  13208. description: 序号
  13209. type: integer
  13210. MarketID:
  13211. description: 市场ID
  13212. type: integer
  13213. MenuTitle:
  13214. description: 菜单标题(市场名称或外部交易所名称)
  13215. type: string
  13216. TradeMode:
  13217. description: 交易模式
  13218. type: integer
  13219. type: object
  13220. models.RoleMenu:
  13221. properties:
  13222. hasright:
  13223. description: 是否有权限 0-没有权限 1-有权限
  13224. type: integer
  13225. iconame:
  13226. description: 菜单图标
  13227. type: string
  13228. menutype:
  13229. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  13230. type: integer
  13231. parentcode:
  13232. description: 上级资源代码
  13233. type: string
  13234. remark:
  13235. description: 菜单备注
  13236. type: string
  13237. resourcecode:
  13238. description: 菜单代码
  13239. type: string
  13240. resourcelevel:
  13241. description: 级别
  13242. type: integer
  13243. resourcename:
  13244. description: 菜单名称
  13245. type: string
  13246. roleid:
  13247. description: 角色id
  13248. type: integer
  13249. sort:
  13250. description: 排序
  13251. type: integer
  13252. subMenu:
  13253. description: 子级菜单(结构同上层一样, swag解析不出来)
  13254. items:
  13255. $ref: '#/definitions/models.RoleMenu'
  13256. type: array
  13257. url:
  13258. description: URL
  13259. type: string
  13260. userid:
  13261. description: 用户id
  13262. type: integer
  13263. type: object
  13264. models.SearchGoods:
  13265. properties:
  13266. goodscode:
  13267. description: 商品代码(内部)
  13268. type: string
  13269. goodsid:
  13270. description: 商品ID(自增ID SEQ_GOODS)
  13271. type: integer
  13272. goodsname:
  13273. description: 商品名称
  13274. type: string
  13275. marketid:
  13276. description: 所属市场ID
  13277. type: integer
  13278. marketname:
  13279. description: 市场名称
  13280. type: string
  13281. trademode:
  13282. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  13283. 21:竞拍-大宗式 22:受托竞价
  13284. type: integer
  13285. required:
  13286. - goodscode
  13287. - goodsid
  13288. - goodsname
  13289. - marketid
  13290. - trademode
  13291. type: object
  13292. models.Systemparam:
  13293. properties:
  13294. loginid:
  13295. description: 更新用户账号,登录账号
  13296. type: string
  13297. modifyflag:
  13298. description: 修改标志0 不允许修改 1 允许修改
  13299. type: integer
  13300. paramcode:
  13301. description: 参数代码
  13302. type: string
  13303. paramname:
  13304. description: 参数名
  13305. type: string
  13306. paramtype:
  13307. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  13308. type: integer
  13309. paramvalue:
  13310. description: 参数值
  13311. type: string
  13312. paramvalue2:
  13313. description: 参数值(CLOB)
  13314. type: string
  13315. regexpress:
  13316. description: 正则表达式
  13317. type: string
  13318. remark:
  13319. description: 备注
  13320. type: string
  13321. serverip:
  13322. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  13323. type: string
  13324. showflag:
  13325. description: 是否显示0 不显示 1 显示
  13326. type: integer
  13327. updatetime:
  13328. description: 更新时间
  13329. type: string
  13330. userid:
  13331. description: 更新用户ID
  13332. type: integer
  13333. required:
  13334. - paramcode
  13335. type: object
  13336. models.Szdz3convertconfig:
  13337. properties:
  13338. canin:
  13339. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  13340. type: integer
  13341. canout:
  13342. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  13343. type: integer
  13344. converttype:
  13345. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  13346. 6:交易转花生米(不设置)
  13347. type: integer
  13348. createtime:
  13349. description: 创建时间
  13350. type: string
  13351. creatorid:
  13352. description: 创建人
  13353. type: integer
  13354. daymaxvalue:
  13355. description: 当日最大转入限制
  13356. type: number
  13357. freezedays:
  13358. description: 冻结天数 [5:花生米转交易]
  13359. type: integer
  13360. innergoodsid:
  13361. description: 内部商品ID[交易]
  13362. type: integer
  13363. inratio:
  13364. description: 目标值
  13365. type: integer
  13366. modifierid:
  13367. description: 修改人
  13368. type: integer
  13369. modifytime:
  13370. description: 修改时间
  13371. type: string
  13372. outergoodscode:
  13373. description: 外部商品代码[JD\PD]
  13374. type: string
  13375. outratio:
  13376. description: 源值
  13377. type: integer
  13378. pddecimalplace:
  13379. description: PD小数位
  13380. type: integer
  13381. timemaxvalue:
  13382. description: 单次最大转入限制
  13383. type: number
  13384. timeminvalue:
  13385. description: 单次最小转入限制
  13386. type: number
  13387. required:
  13388. - converttype
  13389. - innergoodsid
  13390. - outergoodscode
  13391. type: object
  13392. models.Szdz3searchwhitelist:
  13393. properties:
  13394. createtime:
  13395. description: 创建时间
  13396. type: string
  13397. creatorid:
  13398. description: 创建人
  13399. type: integer
  13400. modifierid:
  13401. description: 修改人
  13402. type: integer
  13403. modifytime:
  13404. description: 修改时间
  13405. type: string
  13406. userid:
  13407. description: 用户ID
  13408. type: integer
  13409. required:
  13410. - userid
  13411. type: object
  13412. models.TBGoods:
  13413. properties:
  13414. agreeunit:
  13415. description: 合约乘数
  13416. type: number
  13417. enumdicname:
  13418. description: 单位名称
  13419. type: string
  13420. goodscode:
  13421. description: 商品代码(内部)
  13422. type: string
  13423. goodsid:
  13424. description: 商品ID(自增ID SEQ_GOODS)
  13425. type: integer
  13426. goodsname:
  13427. description: 商品名称
  13428. type: string
  13429. type: object
  13430. models.TBGoodsGroup:
  13431. properties:
  13432. GDLST:
  13433. description: 商品列表
  13434. items:
  13435. $ref: '#/definitions/models.TBGoods'
  13436. type: array
  13437. convertratio:
  13438. description: 折算系数
  13439. type: number
  13440. enumdicname:
  13441. description: 单位名称
  13442. type: string
  13443. exexchangecode:
  13444. description: 交易所代码
  13445. type: string
  13446. exexchangename:
  13447. description: 交易所名称
  13448. type: string
  13449. goodsgroupid:
  13450. description: 商品组ID(自增ID)
  13451. type: integer
  13452. goodsgroupname:
  13453. description: 商品组名称
  13454. type: string
  13455. goodunitid:
  13456. description: 报价单位ID
  13457. type: integer
  13458. type: object
  13459. models.TBMiddleGoods:
  13460. properties:
  13461. GPLST:
  13462. description: 期货品种列表
  13463. items:
  13464. $ref: '#/definitions/models.TBGoodsGroup'
  13465. type: array
  13466. WDLST:
  13467. description: 商品信息列表(现货品类)
  13468. items:
  13469. $ref: '#/definitions/models.TBWrstandard'
  13470. type: array
  13471. areauserid:
  13472. description: 机构用户ID
  13473. type: integer
  13474. enumdicname:
  13475. description: 单位名称
  13476. type: string
  13477. goodsunitid:
  13478. description: 套保品种单位id
  13479. type: integer
  13480. middlegoodscode:
  13481. description: 套保品种代码
  13482. type: string
  13483. middlegoodsid:
  13484. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  13485. type: integer
  13486. middlegoodsname:
  13487. description: 套保品种名称
  13488. type: string
  13489. needarbitrageratio:
  13490. description: 套利比率
  13491. type: number
  13492. needhedgeratio:
  13493. description: 套保比率
  13494. type: number
  13495. type: object
  13496. models.TBWrstandard:
  13497. properties:
  13498. convertratio:
  13499. description: 折算系数
  13500. type: number
  13501. deliverygoodsname:
  13502. description: 品种名称
  13503. type: string
  13504. enumdicname:
  13505. description: 单位名称
  13506. type: string
  13507. vatrate:
  13508. description: 增值税率
  13509. type: number
  13510. wrstandardcode:
  13511. description: 现货商品代码
  13512. type: string
  13513. wrstandardid:
  13514. description: 现货商品ID(SEQ_WRSTANDARD)
  13515. type: integer
  13516. wrstandardname:
  13517. description: 现货商品名称
  13518. type: string
  13519. type: object
  13520. models.Taaccount:
  13521. properties:
  13522. accountflag:
  13523. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  13524. type: integer
  13525. accountid:
  13526. description: 资金账户ID
  13527. type: integer
  13528. accountname:
  13529. description: 账户名称
  13530. type: string
  13531. balance:
  13532. description: 期初余额
  13533. type: number
  13534. capitalbalance:
  13535. description: 本金余额[外部子账户实际出入金余额]
  13536. type: number
  13537. changeflag:
  13538. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  13539. type: integer
  13540. changetime:
  13541. description: 账户状态变更时间
  13542. type: string
  13543. closepl:
  13544. description: 今日平仓盈亏
  13545. type: number
  13546. creditdecrease:
  13547. description: 今日授信减少
  13548. type: number
  13549. creditincrease:
  13550. description: 今日授信增加
  13551. type: number
  13552. curamount:
  13553. description: 总市值(从持仓中统计)
  13554. type: number
  13555. currencyid:
  13556. description: 货币ID
  13557. type: integer
  13558. currentbalance:
  13559. description: 期末余额
  13560. type: number
  13561. freezecharge:
  13562. description: 手续费冻结
  13563. type: number
  13564. freezemargin:
  13565. description: 冻结保证金
  13566. type: number
  13567. fromaccountid:
  13568. description: 所属上级账户
  13569. type: integer
  13570. inamount:
  13571. description: 今日入金金额(包括三方入金)
  13572. type: number
  13573. ismain:
  13574. description: 是否母账号 0:不是母账户 1:是母账户
  13575. type: integer
  13576. ismarketaccount:
  13577. description: 是否机构接单账号 0:不是 1:是
  13578. type: integer
  13579. isreckonaccount:
  13580. description: 是否机构分润账号 0:不是 1:是
  13581. type: integer
  13582. mortgagecredit:
  13583. description: 授信金额
  13584. type: number
  13585. orifreezecharge:
  13586. description: 期初手续费冻结
  13587. type: number
  13588. orifreezemargin:
  13589. description: 期初冻结保证金
  13590. type: number
  13591. orimortgagecredit:
  13592. description: 期初授信金额
  13593. type: number
  13594. oriothercredit:
  13595. description: 期初其它授信金额
  13596. type: number
  13597. oriotherfreezemargin:
  13598. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  13599. type: number
  13600. orioutamountfreeze:
  13601. description: 期初出金冻结
  13602. type: number
  13603. oriusedmargin:
  13604. description: 期初占用保证金
  13605. type: number
  13606. othercredit:
  13607. description: 其它授信金额
  13608. type: number
  13609. othercreditdecrease:
  13610. description: 今日其它授信减少
  13611. type: number
  13612. othercreditincrease:
  13613. description: 今日其它授信增加
  13614. type: number
  13615. otherfreezemargin:
  13616. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  13617. type: number
  13618. otherincome:
  13619. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  13620. type: number
  13621. otherpay:
  13622. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  13623. type: number
  13624. outamount:
  13625. description: 今日出金金额(包括三方出金)
  13626. type: number
  13627. outamountfreeze:
  13628. description: 出金冻结
  13629. type: number
  13630. outthreshold:
  13631. description: 出金阈值
  13632. type: number
  13633. parentaccountid:
  13634. description: 所属根账号
  13635. type: integer
  13636. paycharge:
  13637. description: 今日手续费支出
  13638. type: number
  13639. relatedaccountstatus:
  13640. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  13641. type: integer
  13642. relateduserid:
  13643. description: 关联用户
  13644. type: integer
  13645. remainamount:
  13646. description: 融资额(从融资合同中统计)
  13647. type: number
  13648. serivcegroup:
  13649. description: 服务分组
  13650. type: integer
  13651. signstatus:
  13652. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  13653. type: integer
  13654. sublevelpath:
  13655. description: 账号层级路径(逗号分隔,首尾加逗号)
  13656. type: string
  13657. taaccounttype:
  13658. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  13659. type: integer
  13660. thirdinamount:
  13661. description: 今日三方入金
  13662. type: number
  13663. thirdoutamount:
  13664. description: 今日三方出金
  13665. type: number
  13666. tradestatus:
  13667. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  13668. type: integer
  13669. tradestatuschangetime:
  13670. description: 激活时间
  13671. type: string
  13672. transferamount:
  13673. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  13674. type: number
  13675. usedmargin:
  13676. description: 占用保证金
  13677. type: number
  13678. userid:
  13679. description: 用户ID
  13680. type: integer
  13681. required:
  13682. - accountid
  13683. - userid
  13684. type: object
  13685. models.Tablecolumnconfig:
  13686. properties:
  13687. aligntype:
  13688. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  13689. type: integer
  13690. autoid:
  13691. description: AutoID
  13692. type: integer
  13693. columnfield:
  13694. description: 列字段
  13695. type: string
  13696. columntitle:
  13697. description: 列Title
  13698. type: string
  13699. columnwidth:
  13700. description: 列宽
  13701. type: string
  13702. formatterstring:
  13703. description: 格式化字符
  13704. type: string
  13705. formattertype:
  13706. description: 格式化类型
  13707. type: string
  13708. groupname:
  13709. description: 表头分组名称
  13710. type: string
  13711. isshow:
  13712. description: 是否显示 - 0:不显示 1:显示
  13713. type: integer
  13714. needsummary:
  13715. description: 是否需要汇总 - 0:不需要 1:需要
  13716. type: integer
  13717. orderindex:
  13718. description: 顺序
  13719. type: integer
  13720. remark:
  13721. description: 备注
  13722. type: string
  13723. summarytype:
  13724. description: 汇总类型 - 1:加总 2:最后一个
  13725. type: integer
  13726. tablekey:
  13727. description: 列表Key
  13728. type: string
  13729. required:
  13730. - autoid
  13731. type: object
  13732. models.TjmdMarketSection:
  13733. properties:
  13734. marketsectionid:
  13735. description: 市场版块ID(SEQ_MARKETSECTION)
  13736. type: integer
  13737. marketsectionname:
  13738. description: 市场版块名称
  13739. type: string
  13740. mlist:
  13741. description: 市场列表(板块下面有多少个市场)
  13742. items:
  13743. $ref: '#/definitions/models.TjmdMarketSectionConfig'
  13744. type: array
  13745. orderindex:
  13746. description: 排序
  13747. type: integer
  13748. pictureurl:
  13749. description: 图片url, 规格(90*90)
  13750. type: string
  13751. remark:
  13752. description: 备注
  13753. type: string
  13754. type: object
  13755. models.TjmdMarketSectionConfig:
  13756. properties:
  13757. auctionwrtype:
  13758. description: 仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可
  13759. type: integer
  13760. canacceptquote:
  13761. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  13762. type: integer
  13763. cangoodsexercise:
  13764. description: '[期权]是否可现货行权- 0:否 1:是'
  13765. type: integer
  13766. cangoodsexercisetype:
  13767. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  13768. type: integer
  13769. canmanualquotestrike:
  13770. description: 是否可手动报行权价- 0:否 1:是 [期权]
  13771. type: integer
  13772. canmutistage:
  13773. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  13774. type: integer
  13775. canpreexercise:
  13776. description: '[期权]是否可预申报- 0:否 1:是'
  13777. type: integer
  13778. clearinterval:
  13779. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  13780. type: integer
  13781. contracttmp:
  13782. description: 合同模板[荷兰式][竞价式][仓单贸易]
  13783. type: string
  13784. exchareaid:
  13785. description: 所属交易所,可以没有
  13786. type: integer
  13787. financemarketid:
  13788. description: 融资回购市场ID [仓单贸易]
  13789. type: integer
  13790. goodstype:
  13791. description: 商品类型 - 1:交易商品 2:仓单商品
  13792. type: integer
  13793. hasrebate:
  13794. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  13795. type: integer
  13796. hastradecredit:
  13797. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  13798. type: integer
  13799. haswr:
  13800. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  13801. type: integer
  13802. isdeductmargin:
  13803. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  13804. type: integer
  13805. isrecordsource:
  13806. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  13807. type: integer
  13808. isreleasemargin:
  13809. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  13810. type: integer
  13811. isupdatereckonprice:
  13812. description: 输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)
  13813. type: integer
  13814. listingmode:
  13815. description: 挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  13816. type: integer
  13817. marginformula:
  13818. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  13819. type: integer
  13820. marginformula2:
  13821. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  13822. type: integer
  13823. marketid:
  13824. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  13825. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  13826. type: integer
  13827. marketname:
  13828. description: 市场名称
  13829. type: string
  13830. marketsectionid:
  13831. description: 市场版块ID(SEQ_MARKETSECTION)
  13832. type: integer
  13833. marketserviceid:
  13834. description: 市场服务ID
  13835. type: integer
  13836. marketstatus:
  13837. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  13838. type: integer
  13839. markettype:
  13840. description: 市场类型- 1:非交易服务 2:交易服务
  13841. type: integer
  13842. matchermode:
  13843. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废
  13844. type: integer
  13845. nowrquotaflag:
  13846. description: 是否校验无仓单额度(仓单贸易) 0:否 1:是
  13847. type: integer
  13848. openmethod:
  13849. description: 开盘模式 - 0 自动 1手动
  13850. type: integer
  13851. orderindex:
  13852. description: 排序
  13853. type: integer
  13854. otcuserid:
  13855. description: 场外期权做市商[场外期权]
  13856. type: integer
  13857. outersynctime:
  13858. description: 外部同步时间点(h24:mi:ss)[场外期权]
  13859. type: string
  13860. paylaterflag:
  13861. description: 是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]
  13862. type: integer
  13863. pendingflag:
  13864. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  13865. type: integer
  13866. pendingtime:
  13867. description: 待开市时间[通道交易-对冲](HH:mm)
  13868. type: string
  13869. performancetempid:
  13870. description: 履约计划模板ID - 作废
  13871. type: integer
  13872. premiumquotemode:
  13873. description: 权利金报价方式 - 1:自动 2:手动
  13874. type: integer
  13875. rebateratio:
  13876. description: 返利比率[竞价式]
  13877. type: number
  13878. reckonorder:
  13879. description: 结算顺序
  13880. type: integer
  13881. reckonpricealgorithm:
  13882. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  13883. 6.卖一价 7.买一卖一均价 8.外部结算价'
  13884. type: integer
  13885. reckonpriceparam:
  13886. description: 结算价参数
  13887. type: integer
  13888. reckontime:
  13889. description: 结算时间[通道交易-对冲](HH:mm)
  13890. type: string
  13891. roleprioritytype:
  13892. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  13893. type: integer
  13894. selllistingauditflag:
  13895. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  13896. type: integer
  13897. trademarkettype:
  13898. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  13899. type: integer
  13900. trademode:
  13901. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  13902. 21:竞拍-大宗式 22:受托竞价
  13903. type: integer
  13904. tradeproperty:
  13905. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  13906. 8:场外期权
  13907. type: integer
  13908. tradetype:
  13909. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  13910. type: integer
  13911. updatereckonpriceinterval:
  13912. description: 输入结算价时长(分钟) [1:手工输入(自动)]
  13913. type: integer
  13914. type: object
  13915. models.TjmdQuoteGoods:
  13916. properties:
  13917. buyqty:
  13918. description: 买量(暂不做, 无值, 保留字段)
  13919. type: number
  13920. decimalplace:
  13921. description: 报价小数位
  13922. type: integer
  13923. goodscode:
  13924. description: 合约代码
  13925. type: string
  13926. goodsgroupid:
  13927. description: 商品组ID(自增ID)
  13928. type: integer
  13929. goodsgroupname:
  13930. description: 商品组名称
  13931. type: string
  13932. goodsid:
  13933. description: 合约id
  13934. type: integer
  13935. goodsname:
  13936. description: 合约名称
  13937. type: string
  13938. refgoodscode:
  13939. description: 标的合约代码
  13940. type: string
  13941. refgoodsid:
  13942. description: 标的合约id
  13943. type: integer
  13944. refgoodsname:
  13945. description: 标的合约名称
  13946. type: string
  13947. sellqty:
  13948. description: 卖量(暂不做, 无值, 保留字段)
  13949. type: number
  13950. type: object
  13951. models.TjmdTodayAccountMargin:
  13952. properties:
  13953. accountid:
  13954. description: 账号ID
  13955. type: integer
  13956. goodsid:
  13957. description: 商品ID
  13958. type: integer
  13959. infoc:
  13960. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  13961. description: 配置参数
  13962. marketid:
  13963. description: 市场ID
  13964. type: integer
  13965. type: object
  13966. models.TjmdTradeOrderDetail:
  13967. properties:
  13968. buyorsell:
  13969. description: 买卖方向 0-买 1-卖
  13970. type: integer
  13971. goodsid:
  13972. description: 商品id
  13973. type: integer
  13974. marketmaxsub:
  13975. description: 市价最大偏移范围 [浮动价 - 点差]
  13976. type: number
  13977. orderid:
  13978. description: 委托单号
  13979. type: string
  13980. orderprice:
  13981. description: 委托价格
  13982. type: number
  13983. orderqty:
  13984. description: 委托数量
  13985. type: integer
  13986. pricemode:
  13987. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  13988. type: integer
  13989. userid:
  13990. description: 用户id
  13991. type: integer
  13992. username:
  13993. description: 用户名称(已脱敏)
  13994. type: string
  13995. type: object
  13996. models.TjmdTransferApply:
  13997. properties:
  13998. applyid:
  13999. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  14000. type: integer
  14001. applystatus:
  14002. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  14003. type: integer
  14004. applytime:
  14005. description: 申请时间(时间)
  14006. type: string
  14007. auditremark:
  14008. description: 审核备注(拒绝原因?)
  14009. type: string
  14010. begindate:
  14011. description: 开始交易日(yyyymmdd)
  14012. type: string
  14013. buyorsell:
  14014. description: 买卖 - 0:买 1:卖
  14015. type: integer
  14016. enddate:
  14017. description: 结束交易日(yyyymmdd)
  14018. type: string
  14019. goodscode:
  14020. description: 商品代码
  14021. type: string
  14022. goodsid:
  14023. description: 商品ID
  14024. type: integer
  14025. goodsname:
  14026. description: 商品名称
  14027. type: string
  14028. marketid:
  14029. description: 市场ID
  14030. type: integer
  14031. qty:
  14032. description: 转让数量(数量)
  14033. type: number
  14034. tradeid:
  14035. description: 成交单号(关联持仓)
  14036. type: string
  14037. transferamount:
  14038. description: 转让总金额(金额)
  14039. type: number
  14040. transferprice:
  14041. description: 转让价格(协议价格)
  14042. type: number
  14043. type: object
  14044. models.TradeHolderDetail:
  14045. properties:
  14046. accountid:
  14047. description: 账号ID
  14048. type: integer
  14049. agreeunit:
  14050. description: 合约乘数
  14051. type: number
  14052. buyorsell:
  14053. description: 方向 - 0:买 1:卖
  14054. type: integer
  14055. currencyid:
  14056. description: 商品币种id
  14057. type: integer
  14058. currencyname:
  14059. description: 币种名称
  14060. type: string
  14061. decimalplace:
  14062. description: 商品价格小数位
  14063. type: integer
  14064. enumdicname:
  14065. description: 商品单位名称
  14066. type: string
  14067. expirecycle:
  14068. description: 行权周期(天) - 1:滚动行权时填写
  14069. type: integer
  14070. expiredate:
  14071. description: 行权日(yyyyMMdd) - 到期日
  14072. type: string
  14073. expiretype:
  14074. description: 行权日类型 - 1:滚动行权 2:固定日行权
  14075. type: integer
  14076. freezeqty:
  14077. description: 冻结数量
  14078. type: number
  14079. goodscode:
  14080. description: 商品代码
  14081. type: string
  14082. goodsid:
  14083. description: 商品ID
  14084. type: integer
  14085. goodsname:
  14086. description: 商品名称
  14087. type: string
  14088. goodunitid:
  14089. description: 商品单位id
  14090. type: integer
  14091. holderamount:
  14092. description: 持仓金额
  14093. type: number
  14094. holdercredit:
  14095. description: 持仓授信金额
  14096. type: number
  14097. holderdays:
  14098. description: 剩余冻结天数
  14099. type: integer
  14100. holderprice:
  14101. description: 持仓价格
  14102. type: number
  14103. holderqty:
  14104. description: 持仓数量
  14105. type: number
  14106. isconfirmexercise:
  14107. description: 是否确认行权- 0:否 1:是
  14108. type: integer
  14109. ispreexercise:
  14110. description: 是否预申报- 0:否 1:是 2:不可行权
  14111. type: integer
  14112. marketid:
  14113. description: 市场id
  14114. type: integer
  14115. marketname:
  14116. description: 市场名称
  14117. type: string
  14118. openprice:
  14119. description: 建仓价格
  14120. type: number
  14121. openqty:
  14122. description: 建仓数量
  14123. type: number
  14124. optiontype:
  14125. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  14126. type: integer
  14127. preexerciseprice:
  14128. description: 预申报价格
  14129. type: number
  14130. premium:
  14131. description: 权利金
  14132. type: number
  14133. qtydecimalplace:
  14134. description: 商品成交量小数位
  14135. type: integer
  14136. refgoodscode:
  14137. description: 标的合约代码
  14138. type: string
  14139. refgoodsid:
  14140. description: 标的合约id
  14141. type: integer
  14142. releaseamount:
  14143. description: 释放持仓金额
  14144. type: number
  14145. releaseholdercredit:
  14146. description: 释放持仓授信金额
  14147. type: number
  14148. taname:
  14149. description: 资金账号名称
  14150. type: string
  14151. tradeamount:
  14152. description: 成交金额
  14153. type: number
  14154. tradedate:
  14155. description: 交易日(yyyyMMdd)
  14156. type: string
  14157. tradeid:
  14158. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14159. type: string
  14160. trademode:
  14161. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  14162. 21:竞拍-大宗式 22:受托竞价 46:掉期
  14163. type: integer
  14164. tradeproperty:
  14165. description: 交易属性
  14166. type: integer
  14167. tradetime:
  14168. description: 交易时间
  14169. type: string
  14170. userid:
  14171. description: 用户id
  14172. type: integer
  14173. username:
  14174. description: 用户名称
  14175. type: string
  14176. type: object
  14177. models.UserCollectConfig:
  14178. properties:
  14179. accountstatus:
  14180. description: 账户状态 - 1:正常 2:停用 3:注销
  14181. type: integer
  14182. collectaccountname:
  14183. description: 收款人账户名称
  14184. type: string
  14185. collectaccountno:
  14186. description: 收款人账户
  14187. type: string
  14188. collectbankname:
  14189. description: 收款人开户行
  14190. type: string
  14191. collectbranchbankname:
  14192. description: 收款人开户支行
  14193. type: string
  14194. collectconfigid:
  14195. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  14196. type: string
  14197. remark:
  14198. description: 备注
  14199. type: string
  14200. userid:
  14201. description: 收款人用户ID
  14202. type: integer
  14203. type: object
  14204. models.UserReceiveInfo:
  14205. properties:
  14206. address:
  14207. description: 提货人详细地址
  14208. type: string
  14209. autoid:
  14210. description: AutoID
  14211. type: integer
  14212. cardnum:
  14213. description: 证件号码(加密存储)
  14214. type: string
  14215. cardtypeid:
  14216. description: 证件类型
  14217. type: integer
  14218. cityid:
  14219. description: 市
  14220. type: integer
  14221. cityname:
  14222. description: 城市名称
  14223. type: string
  14224. countryid:
  14225. description: 国家
  14226. type: integer
  14227. countryname:
  14228. description: 国家名称
  14229. type: string
  14230. districtid:
  14231. description: 地区
  14232. type: integer
  14233. districtname:
  14234. description: 地区名称
  14235. type: string
  14236. hasencrypt:
  14237. description: 数据是否已加密 - 0:未加密 1:已加密
  14238. type: integer
  14239. isdefault:
  14240. description: 是否默认地址 - 0:否 1:是
  14241. type: integer
  14242. phonenum:
  14243. description: 提货人联系方式(加密存储)
  14244. type: string
  14245. provinceid:
  14246. description: 省
  14247. type: integer
  14248. provincename:
  14249. description: 省名称
  14250. type: string
  14251. receivername:
  14252. description: 提货人姓名
  14253. type: string
  14254. takeremark:
  14255. description: 提货备注
  14256. type: string
  14257. userid:
  14258. description: 用户ID
  14259. type: integer
  14260. type: object
  14261. models.Useraccount:
  14262. properties:
  14263. accountname:
  14264. description: 账户名称(机构名称)
  14265. type: string
  14266. accountstatus:
  14267. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  14268. type: integer
  14269. applysrc:
  14270. description: 申请来源 - 1:管理端 2:终端
  14271. type: integer
  14272. auditremark:
  14273. description: 审核备注
  14274. type: string
  14275. auditsrc:
  14276. description: 审核来源 - 1:管理端 2:终端
  14277. type: integer
  14278. audittime:
  14279. description: 审核时间
  14280. type: string
  14281. audituserid:
  14282. description: 审核人
  14283. type: integer
  14284. broker:
  14285. description: 所属经纪人ID
  14286. type: integer
  14287. canceltime:
  14288. description: 销户时间
  14289. type: string
  14290. canceluserid:
  14291. description: 销户人
  14292. type: integer
  14293. canrecommend:
  14294. description: 是否可推荐 - 0:不可 1;可
  14295. type: integer
  14296. createtime:
  14297. description: 创建时间
  14298. type: string
  14299. creatorid:
  14300. description: 创建人
  14301. type: integer
  14302. hasauth:
  14303. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  14304. type: integer
  14305. isanonymous:
  14306. description: 是否匿名下单 - 0:否 1:是
  14307. type: integer
  14308. maxinvestornum:
  14309. description: 最大用户数(经纪会员下投资者个数)
  14310. type: integer
  14311. memberuserid:
  14312. description: 所属会员ID
  14313. type: integer
  14314. modifierid:
  14315. description: 修改人
  14316. type: integer
  14317. modifyremark:
  14318. description: 变更备注
  14319. type: string
  14320. modifystatus:
  14321. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  14322. type: integer
  14323. modifytime:
  14324. description: 修改时间
  14325. type: string
  14326. parenttopuser:
  14327. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  14328. type: string
  14329. parentuserid:
  14330. description: 所属机构ID
  14331. type: integer
  14332. reckonaccountid:
  14333. description: 默认结算资金账号ID(机构分润使用) 作废
  14334. type: integer
  14335. refercount:
  14336. description: 推荐总人数
  14337. type: integer
  14338. refereeuserid:
  14339. description: 推荐人ID
  14340. type: integer
  14341. refernum:
  14342. description: 推荐码
  14343. type: string
  14344. rootuserid:
  14345. description: 根用户ID
  14346. type: integer
  14347. subaccountlevel:
  14348. description: 子账户层数
  14349. type: integer
  14350. subarealevelpath:
  14351. description: 子机构层级路径(逗号分隔,首尾加逗号)
  14352. type: string
  14353. userid:
  14354. description: 用户ID
  14355. type: integer
  14356. usertype:
  14357. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  14358. type: integer
  14359. required:
  14360. - userid
  14361. type: object
  14362. models.Userfavoritegoods:
  14363. properties:
  14364. goodsid:
  14365. description: 商品ID
  14366. type: integer
  14367. required:
  14368. - goodsid
  14369. type: object
  14370. models.Userinfo:
  14371. properties:
  14372. address:
  14373. description: 地址
  14374. type: string
  14375. attachment1:
  14376. description: 附件1
  14377. type: string
  14378. attachment2:
  14379. description: 附件2
  14380. type: string
  14381. bankaccount:
  14382. description: 银行帐号 (加密存储)
  14383. type: string
  14384. bankaccountname:
  14385. description: 收款人名称
  14386. type: string
  14387. bankcardfrontphotourl:
  14388. description: 银行卡正面照地址
  14389. type: string
  14390. bankid:
  14391. description: 银行编码
  14392. type: string
  14393. bankname:
  14394. description: 银行名称
  14395. type: string
  14396. biznature:
  14397. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  14398. type: integer
  14399. bizscope:
  14400. description: 企业经营范围(企业)
  14401. type: string
  14402. cardbackphotourl:
  14403. description: 证件背面图片地址
  14404. type: string
  14405. cardfrontphotourl:
  14406. description: 证件正面图片地址
  14407. type: string
  14408. cardnum:
  14409. description: 证件号码(加密存储)
  14410. type: string
  14411. cardtypeid:
  14412. description: 证件类型ID
  14413. type: integer
  14414. cityid:
  14415. description: 市
  14416. type: integer
  14417. company:
  14418. description: 公司(个人)
  14419. type: string
  14420. contactname:
  14421. description: 联系人
  14422. type: string
  14423. countryid:
  14424. description: 国家
  14425. type: integer
  14426. createtime:
  14427. description: 创建时间
  14428. type: string
  14429. creatorid:
  14430. description: 创建人
  14431. type: integer
  14432. customername:
  14433. description: 客户名称(企业名称)
  14434. type: string
  14435. districtid:
  14436. description: 地区
  14437. type: integer
  14438. email:
  14439. description: 邮件(加密存储)
  14440. type: string
  14441. fax:
  14442. description: 传真(加密存储)
  14443. type: string
  14444. halfbodyphotourl:
  14445. description: 半身照地址
  14446. type: string
  14447. hasencrypt:
  14448. description: 数据是否已加密 - 0:未加密 1:已加密
  14449. type: integer
  14450. headurl:
  14451. description: 头像地址
  14452. type: string
  14453. legalcardbackphotourl:
  14454. description: 法人身份证背面照地址
  14455. type: string
  14456. legalcardfrontphotourl:
  14457. description: 法人身份证正面照地址
  14458. type: string
  14459. legalpersonname:
  14460. description: 法人姓名(企业)
  14461. type: string
  14462. mobile:
  14463. description: 手机号码(加密存储)
  14464. type: string
  14465. mobile2:
  14466. description: 手机号码[明文-尚志]
  14467. type: string
  14468. modifierid:
  14469. description: 修改人
  14470. type: integer
  14471. modifiertime:
  14472. description: 修改时间
  14473. type: string
  14474. needinvoice:
  14475. description: 是否需要发票 - 0:不需要 1:需要
  14476. type: integer
  14477. nickname:
  14478. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  14479. type: string
  14480. openmode:
  14481. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  14482. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  14483. type: integer
  14484. otherurl:
  14485. description: 其它图片地址[使用分号分隔]
  14486. type: string
  14487. postalcode:
  14488. description: 邮政编码
  14489. type: string
  14490. provinceid:
  14491. description: 省
  14492. type: integer
  14493. qq:
  14494. description: QQ(加密存储
  14495. type: string
  14496. remark:
  14497. description: 备注
  14498. type: string
  14499. sex:
  14500. description: '用户性别 0: 女 1: 男'
  14501. type: integer
  14502. signpdfurl:
  14503. description: 签约pdf文件
  14504. type: string
  14505. telphone:
  14506. description: 联系电话(加密存储)
  14507. type: string
  14508. userid:
  14509. description: 用户ID
  14510. type: integer
  14511. userinfotype:
  14512. description: 用户信息类型 - 1:个人 2:企业
  14513. type: integer
  14514. userstatus:
  14515. description: 用户状态 - 1:正常 2:注销
  14516. type: integer
  14517. usertype:
  14518. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  14519. type: integer
  14520. wechat:
  14521. description: 微信(加密存储)
  14522. type: string
  14523. wskhinfo:
  14524. description: 开户申请信息(JSON)
  14525. type: string
  14526. required:
  14527. - userid
  14528. type: object
  14529. models.WRSConverTDetail:
  14530. properties:
  14531. convertratio:
  14532. description: 套保系数
  14533. type: number
  14534. deliverygoodscode:
  14535. description: 现货商品代码
  14536. type: string
  14537. deliverygoodsid:
  14538. description: 现货品种ID
  14539. type: integer
  14540. deliverygoodsname:
  14541. description: 现货商品名称
  14542. type: string
  14543. enumdicname:
  14544. description: 单位名称
  14545. type: string
  14546. goodsunitid:
  14547. description: 套保品种单位id
  14548. type: integer
  14549. middlegoodscode:
  14550. description: 套保品种代码
  14551. type: string
  14552. middlegoodsid:
  14553. description: 套保品种ID
  14554. type: integer
  14555. middlegoodsname:
  14556. description: 套保品种名称
  14557. type: string
  14558. modifytime:
  14559. description: 修改时间
  14560. type: string
  14561. wrstandardid:
  14562. description: 品类ID
  14563. type: integer
  14564. type: object
  14565. models.WRStandardInfo:
  14566. properties:
  14567. areauserid:
  14568. description: 所属机构
  14569. type: integer
  14570. convertfactor:
  14571. description: 标仓系数
  14572. type: number
  14573. createtime:
  14574. description: 创建时间
  14575. type: string
  14576. creatorid:
  14577. description: 创建人
  14578. type: integer
  14579. deliverygoodsid:
  14580. description: 品种ID
  14581. type: integer
  14582. deliverygoodsname:
  14583. description: 交割商品名称
  14584. type: string
  14585. factoryitemjson:
  14586. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  14587. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  14588. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  14589. 逗号分隔'
  14590. type: string
  14591. isvalid:
  14592. description: 是否有效 - 0:无效 1:有效
  14593. type: integer
  14594. minivalue:
  14595. description: 最小变动值
  14596. type: integer
  14597. minivaluedp:
  14598. description: 最小变动值小数位
  14599. type: integer
  14600. realminivalue:
  14601. description: 实际最小变动值
  14602. type: integer
  14603. realminivaluedp:
  14604. description: 实际最小变动值小数位
  14605. type: integer
  14606. remark:
  14607. description: 备注
  14608. type: string
  14609. unitid:
  14610. description: 单位ID
  14611. type: integer
  14612. unitname:
  14613. description: 单位
  14614. type: string
  14615. updatetime:
  14616. description: 更新时间
  14617. type: string
  14618. updatorid:
  14619. description: 更新人
  14620. type: integer
  14621. wrsstatus:
  14622. description: 状态 - 作废 - 0:未激活 1:正常
  14623. type: integer
  14624. wrstandardcode:
  14625. description: 现货品类代码
  14626. type: string
  14627. wrstandardid:
  14628. description: 现货品类ID(SEQ_WRSTANDARD)
  14629. type: integer
  14630. wrstandardname:
  14631. description: 现货品类名称
  14632. type: string
  14633. required:
  14634. - wrstandardid
  14635. type: object
  14636. models.WRTradeBargainApply:
  14637. properties:
  14638. accountid:
  14639. description: 摘牌资金账号
  14640. type: integer
  14641. applyprice:
  14642. description: 申请价格(议价价格)
  14643. type: string
  14644. applyqty:
  14645. description: 摘牌数量(议价数量)
  14646. type: number
  14647. applyremark:
  14648. description: 申请备注
  14649. type: string
  14650. applystatus:
  14651. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  14652. type: integer
  14653. applytime:
  14654. description: 申请时间(议价时间)
  14655. type: string
  14656. begindate:
  14657. description: 开始交易日(yyyymmdd)
  14658. type: string
  14659. buyorsell:
  14660. description: 买卖(挂牌类型) - 0:买 1:卖
  14661. type: integer
  14662. confirmremark:
  14663. description: 确认备注
  14664. type: string
  14665. confirmtime:
  14666. description: 确认时间
  14667. type: string
  14668. confirmuserid:
  14669. description: 确认人
  14670. type: integer
  14671. deliverygoodscode:
  14672. description: 品种代码
  14673. type: string
  14674. deliverygoodsid:
  14675. description: 品种ID
  14676. type: integer
  14677. deliverygoodsname:
  14678. description: 品种名称
  14679. type: string
  14680. deliverymonth:
  14681. description: 交收月
  14682. type: string
  14683. enddate:
  14684. description: 结束交易日(yyyymmdd)
  14685. type: string
  14686. enumdicname:
  14687. description: 单位名称
  14688. type: string
  14689. fixedprice:
  14690. description: 挂牌价格
  14691. type: number
  14692. handlestatus:
  14693. description: 处理状态
  14694. type: integer
  14695. marginvalue:
  14696. description: 履约保证金比例
  14697. type: number
  14698. marketid:
  14699. description: 市场ID
  14700. type: integer
  14701. matchaccountid:
  14702. description: 挂牌方资金账号
  14703. type: integer
  14704. matchuserid:
  14705. description: 挂牌方用户id
  14706. type: integer
  14707. matchusername:
  14708. description: 挂牌方用户名称(已脱敏)
  14709. type: string
  14710. minivalue:
  14711. description: 现货商品最小变动值
  14712. type: integer
  14713. optioncompare:
  14714. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14715. type: string
  14716. orderqty:
  14717. description: 挂牌数量
  14718. type: integer
  14719. refprice:
  14720. description: 参考价格
  14721. type: string
  14722. retcode:
  14723. description: 委托返回代码
  14724. type: integer
  14725. templatename:
  14726. description: 履约方式(履约模板名称)
  14727. type: string
  14728. tradedate:
  14729. description: 交易日(yyyyMMdd)
  14730. type: string
  14731. userid:
  14732. description: 摘牌人用户ID(议价人ID)
  14733. type: integer
  14734. username:
  14735. description: 议价人名字(已脱敏)
  14736. type: string
  14737. validtime:
  14738. description: 有效期限
  14739. type: string
  14740. warehouseid:
  14741. description: 仓库ID
  14742. type: integer
  14743. warehousename:
  14744. description: 仓库名称
  14745. type: string
  14746. wrbargainid:
  14747. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  14748. type: string
  14749. wrfactortypeid:
  14750. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14751. type: string
  14752. wrfactortypename:
  14753. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14754. type: string
  14755. wrstandardcode:
  14756. description: 现货商品代码
  14757. type: string
  14758. wrstandardid:
  14759. description: 现货商品ID
  14760. type: integer
  14761. wrstandardname:
  14762. description: 商品名称
  14763. type: string
  14764. wrtradeorderid:
  14765. description: 关联委托单ID
  14766. type: string
  14767. wrtypename:
  14768. description: 商品
  14769. type: string
  14770. type: object
  14771. models.Warehouseinfo:
  14772. properties:
  14773. address:
  14774. description: 详细地址
  14775. type: string
  14776. areauserid:
  14777. description: 所属机构
  14778. type: integer
  14779. autoid:
  14780. description: 自增ID
  14781. type: integer
  14782. cityid:
  14783. description: 市
  14784. type: integer
  14785. contactname:
  14786. description: 联系人
  14787. type: string
  14788. contactnum:
  14789. description: 联系电话
  14790. type: string
  14791. countryid:
  14792. description: 国家
  14793. type: integer
  14794. createtime:
  14795. description: 创建时间
  14796. type: string
  14797. districtid:
  14798. description: 区
  14799. type: integer
  14800. hasvideo:
  14801. description: 是否有视频 - 0:无 1:有
  14802. type: integer
  14803. provinceid:
  14804. description: 省
  14805. type: integer
  14806. remark:
  14807. description: 审核备注
  14808. type: string
  14809. videourl:
  14810. description: 视频地址
  14811. type: string
  14812. warehousecode:
  14813. description: 仓库代码
  14814. type: string
  14815. warehousename:
  14816. description: 仓库名称
  14817. type: string
  14818. warehousestatus:
  14819. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  14820. type: integer
  14821. warehousetype:
  14822. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  14823. type: integer
  14824. required:
  14825. - autoid
  14826. - warehousecode
  14827. type: object
  14828. models.WrAverageTradePrice:
  14829. properties:
  14830. averageprice:
  14831. description: 成交均价
  14832. type: number
  14833. tradedate:
  14834. description: 交易日yyyymm
  14835. type: string
  14836. type: object
  14837. models.WrBsGoodsInfo:
  14838. properties:
  14839. buyorsell:
  14840. description: 买卖方向 0-买 1-卖
  14841. type: integer
  14842. goodsid:
  14843. description: 交易合约ID
  14844. type: integer
  14845. lstitem:
  14846. description: 商品信息项
  14847. items:
  14848. $ref: '#/definitions/models.WrTypeItem'
  14849. type: array
  14850. lststep:
  14851. description: 履约规则
  14852. items:
  14853. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  14854. type: array
  14855. type: object
  14856. models.WrBuybackDetail:
  14857. properties:
  14858. buybackamount:
  14859. description: 回购金额
  14860. type: number
  14861. buybackqty:
  14862. description: 回购数量
  14863. type: number
  14864. buybackreleasemargin:
  14865. description: 回购释放保证金
  14866. type: number
  14867. buybacktime:
  14868. description: 回购时间
  14869. type: string
  14870. errordesc:
  14871. description: 错误描述
  14872. type: string
  14873. handlestatus:
  14874. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  14875. type: integer
  14876. relatedwrid:
  14877. description: 关联仓单ID
  14878. type: integer
  14879. scfcontractid:
  14880. description: SCF合同ID
  14881. type: string
  14882. scfwrbuybackid:
  14883. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  14884. type: integer
  14885. tradedate:
  14886. description: 交易日(yyyyMMdd)
  14887. type: string
  14888. type: object
  14889. models.WrDeliveryAvalidHoldLB:
  14890. properties:
  14891. accountid:
  14892. description: 资金账号
  14893. type: integer
  14894. avalidqty:
  14895. description: 数量(可点选数量)
  14896. type: number
  14897. deliverygoodsid:
  14898. description: 品种id
  14899. type: integer
  14900. enumdicname:
  14901. description: 单位名称
  14902. type: string
  14903. goodsid:
  14904. description: x合约商品id
  14905. type: integer
  14906. ladingbillid:
  14907. description: 提单id
  14908. type: string
  14909. pgoodscode:
  14910. description: p商品代码(点价合约)
  14911. type: string
  14912. pgoodsid:
  14913. description: p商品id(点价合约)
  14914. type: integer
  14915. pgoodsname:
  14916. description: p商品名称(点价合约)
  14917. type: string
  14918. pricemove:
  14919. description: 升贴水
  14920. type: number
  14921. subnum:
  14922. description: 提单子id
  14923. type: integer
  14924. userid:
  14925. description: 用户id
  14926. type: integer
  14927. username:
  14928. description: 仓单持有人
  14929. type: string
  14930. warehousecode:
  14931. description: 仓库代码
  14932. type: string
  14933. warehouseid:
  14934. description: 仓库id
  14935. type: integer
  14936. warehousename:
  14937. description: 仓库名称
  14938. type: string
  14939. wrfactortypeid:
  14940. description: 仓单要素id
  14941. type: string
  14942. wrstandardcode:
  14943. description: 品代码
  14944. type: string
  14945. wrstandardid:
  14946. description: 品类d
  14947. type: integer
  14948. wrstandardname:
  14949. description: 品类名称
  14950. type: string
  14951. wrtypename:
  14952. description: 商品
  14953. type: string
  14954. xgoodscode:
  14955. description: x合约代码
  14956. type: string
  14957. xgoodsname:
  14958. description: x合约名称
  14959. type: string
  14960. type: object
  14961. models.WrDeliveryDetail:
  14962. properties:
  14963. accountid:
  14964. description: 账号ID
  14965. type: integer
  14966. averageprice:
  14967. description: 交割均价 = 交割金额 / 交割数量
  14968. type: number
  14969. begindate:
  14970. description: 开始交易日(yyyymmdd)
  14971. type: string
  14972. buyorsell:
  14973. description: 方向 - 0:买 1:卖
  14974. type: integer
  14975. deliveryamount:
  14976. description: 货款金额(X总货款+P总货款)
  14977. type: number
  14978. deliveryid:
  14979. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  14980. type: string
  14981. deliveryorderid:
  14982. description: 申报单号
  14983. type: string
  14984. deliverypricemove:
  14985. description: 升贴水(升贴水总额)
  14986. type: number
  14987. deliveryqty:
  14988. description: 交收数量(点选数量)
  14989. type: number
  14990. deliverystatus:
  14991. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  14992. type: integer
  14993. deliverytime:
  14994. description: 交割时间
  14995. type: string
  14996. deliverytotalamount:
  14997. description: 交收金额
  14998. type: number
  14999. enddate:
  15000. description: 结束交易日(yyyymmdd)
  15001. type: string
  15002. enumdicname:
  15003. description: 单位名称
  15004. type: string
  15005. matchaccountid:
  15006. description: 对手账号ID
  15007. type: integer
  15008. matchusername:
  15009. description: 对手方名称(仓单持有人)
  15010. type: string
  15011. p1goodsremainamount:
  15012. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  15013. type: number
  15014. pdeliverycloseqty:
  15015. description: p合约平仓数量
  15016. type: number
  15017. pdeliveryprice:
  15018. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  15019. type: number
  15020. pgoodscode:
  15021. description: 商品代码
  15022. type: string
  15023. pgoodsid:
  15024. description: p点选合约id
  15025. type: integer
  15026. pgoodsname:
  15027. description: 商品名称
  15028. type: string
  15029. ppricemode:
  15030. description: 点价价格方式 - 1:商品价 2:固定值
  15031. type: integer
  15032. tradedate:
  15033. description: 交易日(yyyymmdd)
  15034. type: string
  15035. userid:
  15036. description: 用户id
  15037. type: integer
  15038. username:
  15039. description: 用户名称
  15040. type: string
  15041. warehousename:
  15042. description: 仓库名称
  15043. type: string
  15044. wrfactortypeid:
  15045. description: 仓单要素类型ID
  15046. type: string
  15047. wrtypename:
  15048. description: 商品
  15049. type: string
  15050. xdeliverycloseqty:
  15051. description: 合约数量
  15052. type: number
  15053. xgoodsamount:
  15054. description: 合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)
  15055. type: number
  15056. xgoodscode:
  15057. description: 商品代码
  15058. type: string
  15059. xgoodsid:
  15060. description: x交易合约ID
  15061. type: integer
  15062. xgoodsname:
  15063. description: 商品名称
  15064. type: string
  15065. type: object
  15066. models.WrDeliveryGoodsSection:
  15067. properties:
  15068. dglst:
  15069. description: 板块商品列表
  15070. items:
  15071. $ref: '#/definitions/models.WrDeliveryGoodsSectionConfig'
  15072. type: array
  15073. imagepath:
  15074. description: 图片地址
  15075. type: string
  15076. orderindex:
  15077. description: 排序
  15078. type: integer
  15079. sectionid:
  15080. description: 版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType
  15081. = 1的版块1 - 云融指数
  15082. type: integer
  15083. sectionname:
  15084. description: 版块名称
  15085. type: string
  15086. sectiontype:
  15087. description: 版块类型 - 1:指数版块 2:普通版块
  15088. type: integer
  15089. type: object
  15090. models.WrDeliveryGoodsSectionConfig:
  15091. properties:
  15092. deliverygoodscode:
  15093. description: 现货商品代码
  15094. type: string
  15095. deliverygoodsid:
  15096. description: 现货品种ID(SEQ_DELIVERYGOODS)
  15097. type: integer
  15098. deliverygoodsname:
  15099. description: 现货商品名称
  15100. type: string
  15101. orderindex:
  15102. description: 排序
  15103. type: integer
  15104. type: object
  15105. models.WrFAProductDetail:
  15106. properties:
  15107. accountid:
  15108. description: 资金账号
  15109. type: integer
  15110. areauserid:
  15111. description: 金融机构ID
  15112. type: integer
  15113. financingdays:
  15114. description: 天数(天)
  15115. type: integer
  15116. interestminlen:
  15117. description: 最小起息天数
  15118. type: integer
  15119. interestrate:
  15120. description: 利率
  15121. type: number
  15122. interestratemode:
  15123. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  15124. type: integer
  15125. interestsettlemode:
  15126. description: 结息方式 - 1:按日结息 3:按月结息
  15127. type: integer
  15128. interestsettlevalue:
  15129. description: 结息方式值
  15130. type: integer
  15131. isautoloan:
  15132. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  15133. type: integer
  15134. loantag:
  15135. description: '放款标识: "放款快" 或者为空'
  15136. type: string
  15137. marginratio:
  15138. description: 保证金比率质押率 - [仓单质押]
  15139. type: number
  15140. productdetailid:
  15141. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  15142. type: integer
  15143. productid:
  15144. description: 金融产品ID
  15145. type: integer
  15146. productname:
  15147. description: 产品名称
  15148. type: string
  15149. updatetime:
  15150. description: 更新时间
  15151. type: string
  15152. username:
  15153. description: 融出方
  15154. type: string
  15155. type: object
  15156. models.WrFactorTypeInfo:
  15157. properties:
  15158. deliverygoodscode:
  15159. description: 品种代码
  15160. type: string
  15161. deliverygoodsname:
  15162. description: 品种名称
  15163. type: string
  15164. dgfactoryitemid:
  15165. description: 选择项id
  15166. type: integer
  15167. dgfactoryitemtypeid:
  15168. description: 要素选择项ID (1-仓库 2-品牌)
  15169. type: integer
  15170. dgfactoryitemvalue:
  15171. description: 要素项值
  15172. type: string
  15173. itemtypename:
  15174. description: 要素项名称
  15175. type: string
  15176. optioncompare:
  15177. description: 选择比较串
  15178. type: string
  15179. warehouseid:
  15180. description: 仓库id
  15181. type: integer
  15182. wrfactortypeid:
  15183. description: 仓单要素ID
  15184. type: string
  15185. wrfactortypename:
  15186. description: 要素名称
  15187. type: string
  15188. wrfactortypename2:
  15189. description: 要素名称(不含仓库)
  15190. type: string
  15191. wrstandardcode:
  15192. description: 品类代码
  15193. type: string
  15194. wrstandardid:
  15195. description: 品类id
  15196. type: integer
  15197. wrstandardname:
  15198. description: 品类名称
  15199. type: string
  15200. type: object
  15201. models.WrFilterItem:
  15202. properties:
  15203. itemcode:
  15204. description: 代码
  15205. type: string
  15206. itemid:
  15207. description: 项id
  15208. type: integer
  15209. itemname:
  15210. description: 名称
  15211. type: string
  15212. itemtype:
  15213. description: 类型 1-品种 2-品类(商品) 3-仓库
  15214. type: integer
  15215. type: object
  15216. models.WrFinanceBuyApply:
  15217. properties:
  15218. applydate:
  15219. description: 申请时间
  15220. type: string
  15221. applystatus:
  15222. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  15223. type: integer
  15224. applyuserid:
  15225. description: 申请人
  15226. type: integer
  15227. auditdate:
  15228. description: 审核时间
  15229. type: string
  15230. auditremark:
  15231. description: 审核备注
  15232. type: string
  15233. audituserid:
  15234. description: 审核人
  15235. type: integer
  15236. buyaccountid:
  15237. description: 买方资金账号
  15238. type: integer
  15239. buyorsell:
  15240. description: 买卖 - 0:买 1:卖
  15241. type: integer
  15242. buyuserid:
  15243. description: 买方用户ID
  15244. type: integer
  15245. buyusername:
  15246. description: 买方名称
  15247. type: string
  15248. buywrtradeorderid:
  15249. description: 融资方买委托单ID
  15250. type: string
  15251. deliverygoodscode:
  15252. description: 品种代码
  15253. type: string
  15254. deliverygoodsid:
  15255. description: 品种ID
  15256. type: integer
  15257. deliverygoodsname:
  15258. description: 品种名称
  15259. type: string
  15260. deliverymonth:
  15261. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  15262. type: string
  15263. enumdicname:
  15264. description: 单位名称
  15265. type: string
  15266. financeaccountid:
  15267. description: 融资方资金帐户ID
  15268. type: integer
  15269. financeapplyid:
  15270. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15271. type: string
  15272. financeareauserid:
  15273. description: 融资方用户ID
  15274. type: string
  15275. financename:
  15276. description: 融出方名称
  15277. type: string
  15278. financetype:
  15279. description: 融资类型 1-融资回购
  15280. type: integer
  15281. financingdays:
  15282. description: 天数(天)
  15283. type: integer
  15284. freezebuymargin:
  15285. description: 冻结融资保证金(买方)
  15286. type: number
  15287. handleremark:
  15288. description: 处理备注
  15289. type: string
  15290. handlestatus:
  15291. description: 处理状态
  15292. type: integer
  15293. interestminlen:
  15294. description: 最小起息天数
  15295. type: integer
  15296. interestrate:
  15297. description: 利率
  15298. type: number
  15299. interestratemode:
  15300. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  15301. type: integer
  15302. interestsettlemode:
  15303. description: 结息方式 - 1:按日结息 3:按月结息
  15304. type: integer
  15305. interestsettlevalue:
  15306. description: 结息方式值
  15307. type: integer
  15308. isautoloan:
  15309. description: 是否自动放款 - 0:手动 1:自动
  15310. type: integer
  15311. marginratio:
  15312. description: 保证金比率质押率 - [仓单质押]
  15313. type: number
  15314. marketid:
  15315. description: 市场ID
  15316. type: integer
  15317. minivalue:
  15318. description: 现货商品最小变动值
  15319. type: integer
  15320. optioncompare:
  15321. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15322. type: string
  15323. orderqty:
  15324. description: 委托数量(商品数量)
  15325. type: number
  15326. productdetailid:
  15327. description: 产品组合ID
  15328. type: integer
  15329. productid:
  15330. description: 金融产品ID
  15331. type: integer
  15332. productname:
  15333. description: 产品名称
  15334. type: string
  15335. remark:
  15336. description: 备注
  15337. type: string
  15338. scfcontractid:
  15339. description: 仓单回购合同ID
  15340. type: string
  15341. sellaccountid:
  15342. description: 卖方资金账号
  15343. type: integer
  15344. selluserid:
  15345. description: 卖方用户ID
  15346. type: integer
  15347. sellwrtradeorderid:
  15348. description: 卖方委托单ID
  15349. type: string
  15350. tradeamount:
  15351. description: 成交金额(借款金额)
  15352. type: number
  15353. tradedate:
  15354. description: 交易日(yyyyMMdd)
  15355. type: string
  15356. tradeprice:
  15357. description: 成交价格
  15358. type: number
  15359. warehouseid:
  15360. description: 仓库ID
  15361. type: integer
  15362. warehousename:
  15363. description: 仓库名称
  15364. type: string
  15365. wrfactortypeid:
  15366. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15367. type: string
  15368. wrfactortypename:
  15369. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15370. type: string
  15371. wrpricetype:
  15372. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  15373. type: integer
  15374. wrstandardcode:
  15375. description: 现货商品代码
  15376. type: string
  15377. wrstandardid:
  15378. description: 现货商品ID
  15379. type: integer
  15380. wrstandardname:
  15381. description: 商品名称
  15382. type: string
  15383. wrtypename:
  15384. description: 商品
  15385. type: string
  15386. type: object
  15387. models.WrFriendApply:
  15388. properties:
  15389. applicantid:
  15390. description: 申请人
  15391. type: integer
  15392. applyname:
  15393. description: 申请人名称
  15394. type: string
  15395. applysrc:
  15396. description: 申请来源 - 1:管理端 2:终端
  15397. type: integer
  15398. applystatus:
  15399. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  15400. type: integer
  15401. applytime:
  15402. description: 申请时间
  15403. type: string
  15404. auditname:
  15405. description: 审核人名称
  15406. type: string
  15407. auditorid:
  15408. description: 审核人
  15409. type: integer
  15410. auditremark:
  15411. description: 审核备注
  15412. type: string
  15413. auditsrc:
  15414. description: 审核来源 - 1:管理端 2:终端
  15415. type: integer
  15416. audittime:
  15417. description: 审核时间
  15418. type: string
  15419. friendapplyid:
  15420. description: 申请ID(SEQ_FRIENDAPPLY)
  15421. type: string
  15422. friendname:
  15423. description: 好友名字(已脱敏)
  15424. type: string
  15425. frienduserid:
  15426. description: 好友用户ID
  15427. type: string
  15428. remark:
  15429. description: 备注
  15430. type: string
  15431. userid:
  15432. description: 申请人用户ID
  15433. type: integer
  15434. type: object
  15435. models.WrFtDeliveryGoods:
  15436. properties:
  15437. deliverygoodscode:
  15438. description: 品种代码
  15439. type: string
  15440. deliverygoodsid:
  15441. description: 品种ID
  15442. type: integer
  15443. deliverygoodsname:
  15444. description: 品种名称
  15445. type: string
  15446. wdlst:
  15447. description: 商品列表
  15448. items:
  15449. $ref: '#/definitions/models.WrFtWrstandard'
  15450. type: array
  15451. type: object
  15452. models.WrFtWrstandard:
  15453. properties:
  15454. enumdicname:
  15455. description: 单位名称
  15456. type: string
  15457. minivalue:
  15458. description: 最小变动值
  15459. type: integer
  15460. wrstandardcode:
  15461. description: 现货商品代码
  15462. type: string
  15463. wrstandardid:
  15464. description: 现货商品ID
  15465. type: integer
  15466. wrstandardname:
  15467. description: 商品名称
  15468. type: string
  15469. type: object
  15470. models.WrGoodsInfo:
  15471. properties:
  15472. haswr:
  15473. description: 0:仓单预售 1:仓单贸易
  15474. type: integer
  15475. lstitem:
  15476. description: 商品信息项
  15477. items:
  15478. $ref: '#/definitions/models.WrTypeItem'
  15479. type: array
  15480. lststep:
  15481. description: 履约规则
  15482. items:
  15483. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  15484. type: array
  15485. marketid:
  15486. description: 市场id
  15487. type: integer
  15488. type: object
  15489. models.WrGoodsPerformanceStep:
  15490. properties:
  15491. autoid:
  15492. description: AutoID
  15493. type: integer
  15494. isauto:
  15495. description: 是否自动 - 0:不自动 1:自动
  15496. type: integer
  15497. remark:
  15498. description: 备注
  15499. type: string
  15500. stepdate:
  15501. description: 天数信息(T+N)
  15502. type: string
  15503. stepdays:
  15504. description: 距离上一步天数
  15505. type: integer
  15506. stepindex:
  15507. description: 步骤序号
  15508. type: integer
  15509. stepinfo:
  15510. description: 步骤信息(步骤名称+步骤值)
  15511. type: string
  15512. steptypeid:
  15513. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  15514. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  15515. type: integer
  15516. steptypename:
  15517. description: 步骤名称
  15518. type: string
  15519. stepvalue:
  15520. description: 步骤值
  15521. type: number
  15522. templateid:
  15523. description: 履约计划模板ID
  15524. type: integer
  15525. type: object
  15526. models.WrHoldLB:
  15527. properties:
  15528. accountid:
  15529. description: 持有人帐户ID
  15530. type: integer
  15531. bannerpicurl:
  15532. description: Banner图
  15533. type: string
  15534. createtime:
  15535. description: 创建时间(过户时间)
  15536. type: string
  15537. deliverygoodscode:
  15538. description: 品种代码
  15539. type: string
  15540. deliverygoodsid:
  15541. description: 品种ID
  15542. type: integer
  15543. deliverygoodsname:
  15544. description: 品种名称
  15545. type: string
  15546. enableqty:
  15547. description: 可用数量
  15548. type: number
  15549. enumdicname:
  15550. description: 单位名称
  15551. type: string
  15552. freezerqty:
  15553. description: 冻结数量
  15554. type: number
  15555. ladingbillid:
  15556. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  15557. type: string
  15558. minivalue:
  15559. description: 现货商品最小变动值
  15560. type: integer
  15561. optioncompare:
  15562. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15563. type: string
  15564. parentsubnum:
  15565. description: 拆分父子单号
  15566. type: integer
  15567. pledgeqty:
  15568. description: 质押数量
  15569. type: number
  15570. qty:
  15571. description: 数量
  15572. type: number
  15573. subnum:
  15574. description: 提单子单号
  15575. type: integer
  15576. tradedate:
  15577. description: 交易日(yyyyMMdd)
  15578. type: string
  15579. userid:
  15580. description: 持有人ID
  15581. type: integer
  15582. warehouseid:
  15583. description: 仓库ID
  15584. type: integer
  15585. warehousename:
  15586. description: 仓库名称
  15587. type: string
  15588. wrfactortypeid:
  15589. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15590. type: string
  15591. wrfactortypename:
  15592. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15593. type: string
  15594. wrholdeno:
  15595. description: 仓单编号
  15596. type: string
  15597. wrid:
  15598. description: 仓单变更ID
  15599. type: string
  15600. wrstandardcode:
  15601. description: 现货商品代码
  15602. type: string
  15603. wrstandardid:
  15604. description: 现货商品ID
  15605. type: integer
  15606. wrstandardname:
  15607. description: 商品名称
  15608. type: string
  15609. wrtypename:
  15610. description: 商品
  15611. type: string
  15612. type: object
  15613. models.WrMarketTradeConfig:
  15614. properties:
  15615. basisdownratio:
  15616. description: 浮动价基差下限比例(仓单贸易)
  15617. type: number
  15618. basisupratio:
  15619. description: 浮动价基差上限比例(仓单贸易)
  15620. type: number
  15621. buychargealgorithm:
  15622. description: 买方手续费收取方式 1:比率 2:固定
  15623. type: integer
  15624. buychargealgorithm2:
  15625. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  15626. type: integer
  15627. buychargealgorithmvalue:
  15628. description: 买方手续费设置值(交易所部分)
  15629. type: number
  15630. buychargealgorithmvalue2:
  15631. description: 买方手续费设置值(会员部分)
  15632. type: number
  15633. buychargealgorithmvalue3:
  15634. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  15635. type: number
  15636. buychargealgorithmvalue4:
  15637. description: 回购买方手续费设置值(会员部分) --77:现货商城
  15638. type: number
  15639. buyfirstmarginalgorithm:
  15640. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  15641. type: integer
  15642. buyfirstmarginvalue:
  15643. description: 买方出价保证金设置值 - [竞拍]
  15644. type: number
  15645. buymarginalgorithm:
  15646. description: 买方保证金方式 - 1:比率 2:固定
  15647. type: integer
  15648. buymarginvalue:
  15649. description: 买方保证金设置值
  15650. type: number
  15651. buyreleaseratio:
  15652. description: 买方释放比率[2:分步履约]
  15653. type: number
  15654. executemode:
  15655. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  15656. type: integer
  15657. executeside:
  15658. description: 执行方[2:分步履约] - 1:买方 2:卖方
  15659. type: integer
  15660. failedchargealgorithm:
  15661. description: 流拍手续费收取方式 1:比率 2:固定
  15662. type: integer
  15663. failedchargevalue:
  15664. description: 流拍手续费设置值
  15665. type: number
  15666. failedchargevalue2:
  15667. description: 流拍卖方手续费设置值
  15668. type: number
  15669. holddays:
  15670. description: 合同期限[2:分步履约]
  15671. type: integer
  15672. marketid:
  15673. description: 市场ID-仓单贸易、竞拍、预售
  15674. type: integer
  15675. minqty:
  15676. description: 最小执行量[2:分步履约]
  15677. type: number
  15678. modifierid:
  15679. description: 修改人
  15680. type: integer
  15681. performancetempid:
  15682. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  15683. 立即执行(-1)
  15684. type: integer
  15685. performancetempid2:
  15686. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  15687. 立即执行
  15688. type: integer
  15689. performancetempid2s:
  15690. description: 履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  15691. - 履约方式: 立即执行
  15692. type: string
  15693. performancetempids:
  15694. description: 履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  15695. - 履约方式: 立即执行(-1)
  15696. type: string
  15697. performanceway:
  15698. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  15699. type: integer
  15700. sellchargealgorithm:
  15701. description: 卖方手续费收取方式 1:比率 2:固定
  15702. type: integer
  15703. sellchargealgorithm2:
  15704. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  15705. type: integer
  15706. sellchargealgorithmvalue:
  15707. description: 卖方手续费设置值(交易所部分)
  15708. type: number
  15709. sellchargealgorithmvalue2:
  15710. description: 卖方手续费设置值(会员部分)
  15711. type: number
  15712. sellchargealgorithmvalue3:
  15713. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  15714. type: number
  15715. sellchargealgorithmvalue4:
  15716. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  15717. type: number
  15718. sellmarginalgorithm:
  15719. description: 卖方保证金方式 - 1:比率 2:固定
  15720. type: integer
  15721. sellmarginvalue:
  15722. description: 卖方保证金设置值
  15723. type: number
  15724. sellmarginvalue2:
  15725. description: 卖方保证金设置值(无仓单)
  15726. type: number
  15727. sellreleaseratio:
  15728. description: 卖方释放比率[2:分步履约]
  15729. type: number
  15730. updatetime:
  15731. description: 更新时间
  15732. type: string
  15733. type: object
  15734. models.WrOrderDetail:
  15735. properties:
  15736. accountid:
  15737. description: 交易账号(资金账号)
  15738. type: integer
  15739. allfriendsflag:
  15740. description: 是否全好友可见 - 0:否 1:是
  15741. type: integer
  15742. amount:
  15743. description: 挂牌金额 = 委托数量 * 固定价或升贴水
  15744. type: number
  15745. bannerpicurl:
  15746. description: Banner图
  15747. type: string
  15748. begindate:
  15749. description: 开始交易日(yyyymmdd)
  15750. type: string
  15751. buyorsell:
  15752. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  15753. type: integer
  15754. canbargain:
  15755. description: 是否可议价 - 0:不可 1:可
  15756. type: integer
  15757. cancelqty:
  15758. description: 撤销数量
  15759. type: number
  15760. canpart:
  15761. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  15762. type: integer
  15763. delistminqty:
  15764. description: 起摘数量
  15765. type: integer
  15766. deliverygoodscode:
  15767. description: 品种代码
  15768. type: string
  15769. deliverygoodsid:
  15770. description: 品种ID
  15771. type: integer
  15772. deliverygoodsname:
  15773. description: 品种名称
  15774. type: string
  15775. deliverymonth:
  15776. description: 交收月
  15777. type: string
  15778. enddate:
  15779. description: 结束交易日(yyyymmdd)
  15780. type: string
  15781. enumdicname:
  15782. description: 单位名称
  15783. type: string
  15784. fixedprice:
  15785. description: 固定价格 - [挂牌]
  15786. type: number
  15787. freezecharge:
  15788. description: 冻结手续费
  15789. type: number
  15790. freezemargin:
  15791. description: 冻结保证金(保证金)
  15792. type: number
  15793. futupricemove:
  15794. description: 期货升贴水
  15795. type: number
  15796. futushow:
  15797. description: 期货合约/升贴水
  15798. type: string
  15799. goodscode:
  15800. description: 期货合约
  15801. type: string
  15802. goodsid:
  15803. description: 期货商品id
  15804. type: integer
  15805. goodsname:
  15806. description: 商品名称
  15807. type: string
  15808. haswr:
  15809. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  15810. type: integer
  15811. isspecified:
  15812. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  15813. type: integer
  15814. ladingbillid:
  15815. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  15816. type: string
  15817. marginvalue:
  15818. description: 保证金设置值(履约保证金)
  15819. type: number
  15820. marketid:
  15821. description: 市场ID
  15822. type: integer
  15823. matchusername:
  15824. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  15825. type: string
  15826. minivalue:
  15827. description: 现货商品最小变动值
  15828. type: integer
  15829. optioncompare:
  15830. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15831. type: string
  15832. orderqty:
  15833. description: 委托数量
  15834. type: number
  15835. ordertime:
  15836. description: 委托时间(挂牌时间)
  15837. type: string
  15838. performancetemplateid:
  15839. description: 履约模板id
  15840. type: integer
  15841. pricemove:
  15842. description: 升贴水(浮动价时填写) - [挂牌]
  15843. type: number
  15844. taname:
  15845. description: 交易用户名称(资金账号名称)
  15846. type: string
  15847. tradedate:
  15848. description: 交易日(yyyyMMdd)
  15849. type: string
  15850. tradeprice:
  15851. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  15852. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  15853. type: number
  15854. tradeqty:
  15855. description: 成交数量
  15856. type: number
  15857. userid:
  15858. description: 用户ID
  15859. type: integer
  15860. validtime:
  15861. description: 挂牌有效期
  15862. type: string
  15863. validtype:
  15864. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  15865. type: integer
  15866. warehouseid:
  15867. description: 仓库ID
  15868. type: integer
  15869. warehousename:
  15870. description: 仓库名称
  15871. type: string
  15872. wrfactortypeid:
  15873. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15874. type: string
  15875. wrfactortypename:
  15876. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15877. type: string
  15878. wrpricetype:
  15879. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  15880. type: integer
  15881. wrstandardcode:
  15882. description: 现货商品代码
  15883. type: string
  15884. wrstandardid:
  15885. description: 现货商品ID
  15886. type: integer
  15887. wrstandardname:
  15888. description: 商品名称
  15889. type: string
  15890. wrtradeorderid:
  15891. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15892. type: string
  15893. wrtradeorderstatus:
  15894. 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:撤单解冻贷款失败
  15895. type: integer
  15896. wrtradetype:
  15897. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  15898. type: integer
  15899. wrtypename:
  15900. description: 商品
  15901. type: string
  15902. type: object
  15903. models.WrOrderQuote:
  15904. properties:
  15905. bannerpicurl:
  15906. description: Banner图
  15907. type: string
  15908. buyprice:
  15909. description: 买价
  15910. type: number
  15911. buypricemove:
  15912. description: 买升贴水(基差)
  15913. type: number
  15914. buyqty:
  15915. description: 买量
  15916. type: number
  15917. deliverygoodscode:
  15918. description: 品种代码
  15919. type: string
  15920. deliverygoodsid:
  15921. description: 品种id
  15922. type: integer
  15923. deliverygoodsname:
  15924. description: 品种名称
  15925. type: string
  15926. deliverymonth:
  15927. description: 交收月
  15928. type: string
  15929. enumdicname:
  15930. description: 单位名称
  15931. type: string
  15932. goodscode:
  15933. description: 商品合约(浮动价列表才有)
  15934. type: string
  15935. goodsid:
  15936. description: 商品id(浮动价列表才有)
  15937. type: integer
  15938. minivalue:
  15939. description: 现货商品最小变动值
  15940. type: integer
  15941. pictureurls:
  15942. description: 详情图片(逗号分隔)
  15943. type: string
  15944. sellprice:
  15945. description: 卖价
  15946. type: number
  15947. sellpricemove:
  15948. description: 卖升贴水(基差)
  15949. type: number
  15950. sellqty:
  15951. description: 卖量
  15952. type: number
  15953. thumurls:
  15954. description: 缩略图片(1:1)(逗号分隔)
  15955. type: string
  15956. warehousecode:
  15957. description: 仓库代码
  15958. type: string
  15959. warehouseid:
  15960. description: 仓库id
  15961. type: integer
  15962. warehousename:
  15963. description: 仓库名称
  15964. type: string
  15965. wrfactortypeid:
  15966. description: 仓单要素id
  15967. type: string
  15968. wrfactortypename:
  15969. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15970. type: string
  15971. wrgoodsname:
  15972. description: 商品(商品名称+仓库要素名称 拼接)
  15973. type: string
  15974. wrstandardcode:
  15975. description: 商品代码
  15976. type: string
  15977. wrstandardid:
  15978. description: 商品id
  15979. type: integer
  15980. wrstandardname:
  15981. description: 商品名称
  15982. type: string
  15983. type: object
  15984. models.WrOrderQuoteDetail:
  15985. properties:
  15986. buyorsell:
  15987. description: 买卖 - 0:买 1:卖
  15988. type: integer
  15989. delistminqty:
  15990. description: 起摘数量
  15991. type: number
  15992. deliverymonth:
  15993. description: 交收月
  15994. type: string
  15995. enumdicname:
  15996. description: 单位名称
  15997. type: string
  15998. fixedprice:
  15999. description: 买(卖)价
  16000. type: number
  16001. marketid:
  16002. description: 市场id
  16003. type: integer
  16004. minivalue:
  16005. description: 现货商品最小变动值
  16006. type: integer
  16007. orderqty:
  16008. description: 买(卖)量(=委托量-成交量)
  16009. type: number
  16010. ordertime:
  16011. description: 委托时间
  16012. type: string
  16013. pricemove:
  16014. description: 买(卖)升贴水- 基差
  16015. type: number
  16016. userid:
  16017. description: 购买方(销售方)用户ID
  16018. type: integer
  16019. username:
  16020. description: 购买方(销售方)
  16021. type: string
  16022. wrtradeorderid:
  16023. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16024. type: string
  16025. type: object
  16026. models.WrOutInApply:
  16027. properties:
  16028. applyid:
  16029. description: 申请单id
  16030. type: string
  16031. applystatus:
  16032. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败
  16033. 8:已撤销
  16034. type: integer
  16035. applytime:
  16036. description: 申请时间
  16037. type: string
  16038. applytype:
  16039. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  16040. type: integer
  16041. bannerpicurl:
  16042. description: Banner图
  16043. type: string
  16044. begindate:
  16045. description: 开始交易日(yyyymmdd)
  16046. type: string
  16047. deliverygoodscode:
  16048. description: 品种代码
  16049. type: string
  16050. deliverygoodsid:
  16051. description: 品种ID
  16052. type: integer
  16053. deliverygoodsname:
  16054. description: 品种名称
  16055. type: string
  16056. enddate:
  16057. description: 结束交易日(yyyymmdd)
  16058. type: string
  16059. enumdicname:
  16060. description: 单位名称
  16061. type: string
  16062. expresscompany:
  16063. description: 物流公司
  16064. type: string
  16065. expressnum:
  16066. description: 物流单号
  16067. type: string
  16068. minivalue:
  16069. description: 现货商品最小变动值
  16070. type: integer
  16071. optioncompare:
  16072. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16073. type: string
  16074. qty:
  16075. description: 数量
  16076. type: integer
  16077. userid:
  16078. description: 用户id
  16079. type: integer
  16080. warehouseid:
  16081. description: 仓库ID
  16082. type: integer
  16083. warehousename:
  16084. description: 仓库名称
  16085. type: string
  16086. wrfactortypeid:
  16087. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16088. type: string
  16089. wrfactortypename:
  16090. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16091. type: string
  16092. wrstandardcode:
  16093. description: 现货商品代码
  16094. type: string
  16095. wrstandardid:
  16096. description: 现货商品ID
  16097. type: integer
  16098. wrstandardname:
  16099. description: 商品名称
  16100. type: string
  16101. wrtypename:
  16102. description: 商品
  16103. type: string
  16104. type: object
  16105. models.WrPerformancePlan:
  16106. properties:
  16107. activatemonth:
  16108. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  16109. type: string
  16110. amount:
  16111. description: 履约金额(总金额)
  16112. type: number
  16113. begindate:
  16114. description: 开始交易日(yyyymmdd)
  16115. type: string
  16116. buyaccountid:
  16117. description: 买方账号
  16118. type: integer
  16119. buyerfreezeamount:
  16120. description: 履约冻结(买履约)
  16121. type: number
  16122. buyerfreezeamountremain:
  16123. description: 履约冻结剩余(买履约)
  16124. type: number
  16125. buyorsell:
  16126. description: 买卖方向 0-买 1-卖
  16127. type: integer
  16128. buypaidamount:
  16129. description: 买方已冻/已扣金额 (已付金额)
  16130. type: number
  16131. buyusername:
  16132. description: 买方名字
  16133. type: string
  16134. contractid:
  16135. description: 合同ID
  16136. type: integer
  16137. createtime:
  16138. description: 创建时间
  16139. type: string
  16140. creatorid:
  16141. description: 创建人
  16142. type: integer
  16143. curstepdeadline:
  16144. description: 当前步骤到期时间
  16145. type: string
  16146. curstepid:
  16147. description: 当前步骤ID
  16148. type: string
  16149. curstepname:
  16150. description: 当前步骤名称
  16151. type: string
  16152. deliverygoodscode:
  16153. description: 品种代码
  16154. type: string
  16155. deliverygoodsid:
  16156. description: 品种ID
  16157. type: integer
  16158. deliverygoodsname:
  16159. description: 品种名称
  16160. type: string
  16161. enddate:
  16162. description: 结束交易日(yyyymmdd)
  16163. type: string
  16164. enumdicname:
  16165. description: 单位名称
  16166. type: string
  16167. expressfee:
  16168. description: 运费
  16169. type: number
  16170. expressfeeconfirmed:
  16171. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  16172. type: integer
  16173. hasovershort:
  16174. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  16175. type: integer
  16176. haswr:
  16177. description: 类型 0-仓单预售 1-仓单贸易
  16178. type: integer
  16179. marketid:
  16180. description: 市场ID
  16181. type: integer
  16182. middleaccountid:
  16183. description: 中间商资金账号ID
  16184. type: integer
  16185. middleuserid:
  16186. description: 中间商用户ID
  16187. type: integer
  16188. minivalue:
  16189. description: 现货商品最小变动值
  16190. type: integer
  16191. optioncompare:
  16192. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16193. type: string
  16194. overshortamount:
  16195. description: 溢短金额
  16196. type: number
  16197. overshortqty:
  16198. description: 溢短数量
  16199. type: number
  16200. paymenttype:
  16201. description: 付款方式 - 1:冻结 2:扣款
  16202. type: integer
  16203. performanceplanid:
  16204. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  16205. type: string
  16206. performancestatus:
  16207. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  16208. 9:超时待处理 10:超时关闭
  16209. type: integer
  16210. performancetype:
  16211. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  16212. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  16213. type: integer
  16214. qty:
  16215. description: 履约数量
  16216. type: number
  16217. relatedorderid:
  16218. description: 关联单号(履约类型的关联单号)
  16219. type: string
  16220. remark:
  16221. description: 备注
  16222. type: string
  16223. sellaccountid:
  16224. description: 卖方账号
  16225. type: integer
  16226. sellerfreezeamount:
  16227. description: 履约冻结(卖履约)
  16228. type: number
  16229. sellerfreezeamountremain:
  16230. description: 履约冻结剩余(卖履约)
  16231. type: number
  16232. sellreceivedamount:
  16233. description: 卖方已收金额
  16234. type: number
  16235. sellusername:
  16236. description: 卖方名字
  16237. type: string
  16238. shipremark:
  16239. description: 发货备注[物流单号]
  16240. type: string
  16241. starttime:
  16242. description: 开始时间
  16243. type: string
  16244. steptypeid:
  16245. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  16246. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  16247. type: integer
  16248. typename:
  16249. description: 履约类型 名称
  16250. type: string
  16251. unpaidamount:
  16252. description: 剩余款(待支付金额)
  16253. type: number
  16254. userid:
  16255. description: 用户id
  16256. type: integer
  16257. warehouseid:
  16258. description: 仓库ID
  16259. type: integer
  16260. warehousename:
  16261. description: 仓库名称
  16262. type: string
  16263. wrfactortypeid:
  16264. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16265. type: string
  16266. wrfactortypename:
  16267. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16268. type: string
  16269. wrstandardcode:
  16270. description: 现货商品代码
  16271. type: string
  16272. wrstandardid:
  16273. description: 现货商品ID
  16274. type: integer
  16275. wrstandardname:
  16276. description: 商品名称
  16277. type: string
  16278. wrtransferuserid:
  16279. description: 仓单受让用户
  16280. type: integer
  16281. wrtypename:
  16282. description: 商品
  16283. type: string
  16284. required:
  16285. - userid
  16286. type: object
  16287. models.WrPerformancePlanStep:
  16288. properties:
  16289. delaydays:
  16290. description: 延期申请天数
  16291. type: integer
  16292. deliverygoodscode:
  16293. description: 品种代码
  16294. type: string
  16295. deliverygoodsid:
  16296. description: 品种ID
  16297. type: integer
  16298. deliverygoodsname:
  16299. description: 品种名称
  16300. type: string
  16301. endtime:
  16302. description: 结束日期
  16303. type: string
  16304. enumdicname:
  16305. description: 单位名称
  16306. type: string
  16307. executeside:
  16308. description: 步骤执行方 - 1:买方 2:卖方
  16309. type: integer
  16310. handlestatus:
  16311. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败
  16312. 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求
  16313. 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  16314. type: integer
  16315. isauto:
  16316. description: 是否自动 - 0:不自动 1:自动
  16317. type: integer
  16318. islastreceivestep:
  16319. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  16320. type: integer
  16321. minivalue:
  16322. description: 现货商品最小变动值
  16323. type: integer
  16324. optioncompare:
  16325. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16326. type: string
  16327. overdays:
  16328. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  16329. type: integer
  16330. performancestepid:
  16331. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  16332. type: string
  16333. planid:
  16334. description: 所属履约计划ID
  16335. type: string
  16336. realamount:
  16337. description: 实际完成金额
  16338. type: number
  16339. relatedorderid:
  16340. description: 关联单号
  16341. type: string
  16342. remaindays:
  16343. description: 剩余天数
  16344. type: integer
  16345. remark:
  16346. description: 错误备注
  16347. type: string
  16348. starttime:
  16349. description: 开始日期
  16350. type: string
  16351. stepamount:
  16352. description: 步骤金额
  16353. type: number
  16354. stepdays:
  16355. description: 距离上一步天数(分钟)
  16356. type: integer
  16357. stepindex:
  16358. description: 步骤序号
  16359. type: integer
  16360. steplanchtype:
  16361. description: 步骤启动类型 - 1:系统自动 2:手动
  16362. type: integer
  16363. stepremark:
  16364. description: 步骤备注
  16365. type: string
  16366. stepstatus:
  16367. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  16368. type: integer
  16369. steptypeid:
  16370. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  16371. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  16372. type: integer
  16373. steptypename:
  16374. description: 步骤名称
  16375. type: string
  16376. stepvalue:
  16377. description: 步骤值
  16378. type: number
  16379. warehouseid:
  16380. description: 仓库ID
  16381. type: integer
  16382. warehousename:
  16383. description: 仓库名称
  16384. type: string
  16385. wrfactortypeid:
  16386. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16387. type: string
  16388. wrfactortypename:
  16389. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16390. type: string
  16391. wrstandardcode:
  16392. description: 现货商品代码
  16393. type: string
  16394. wrstandardid:
  16395. description: 现货商品ID
  16396. type: integer
  16397. wrstandardname:
  16398. description: 商品名称
  16399. type: string
  16400. wrtypename:
  16401. description: 商品
  16402. type: string
  16403. type: object
  16404. models.WrPerformanceStepType:
  16405. properties:
  16406. canauto:
  16407. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  16408. type: integer
  16409. steptypeid:
  16410. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  16411. type: integer
  16412. steptypename:
  16413. description: 步骤类型名称
  16414. type: string
  16415. type: object
  16416. models.WrPerformanceTemplateEx:
  16417. properties:
  16418. autoid:
  16419. description: AutoID 模板id
  16420. type: integer
  16421. createtime:
  16422. description: 创建时间
  16423. type: string
  16424. creatorid:
  16425. description: 创建人
  16426. type: integer
  16427. lstStep:
  16428. description: 步骤信息列表
  16429. items:
  16430. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  16431. type: array
  16432. paymenttype:
  16433. description: 支付方式 - 1:冻结 2:扣款
  16434. type: integer
  16435. takemode:
  16436. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  16437. type: integer
  16438. templatename:
  16439. description: 模板名称
  16440. type: string
  16441. templatetype:
  16442. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  16443. (无仓单) 5:挂牌期权 6:竞拍-降价式
  16444. type: integer
  16445. userid:
  16446. description: 所属用户
  16447. type: integer
  16448. type: object
  16449. models.WrPosition:
  16450. properties:
  16451. accountid:
  16452. description: 帐户ID
  16453. type: integer
  16454. buyexcuteqty:
  16455. description: 采购履约中数量
  16456. type: number
  16457. creditcurqty:
  16458. description: 授信当前数量(预售仓单:预售当前量)
  16459. type: number
  16460. creditenableqty:
  16461. description: '授信可用数量(预售仓单: 可用数量)'
  16462. type: number
  16463. creditfreezeqty:
  16464. description: '授信冻结数量(预售仓单: 当前数量)'
  16465. type: number
  16466. credittotalqty:
  16467. description: 授信总数量(预售仓单:预售总量)
  16468. type: number
  16469. credittradeqty:
  16470. description: 授信成交数量(预售仓单:成交总量)
  16471. type: number
  16472. deliverygoodscode:
  16473. description: 品种代码
  16474. type: string
  16475. deliverygoodsid:
  16476. description: 品种ID
  16477. type: integer
  16478. deliverygoodsname:
  16479. description: 品种名称
  16480. type: string
  16481. enalbeqty:
  16482. description: 可用数量
  16483. type: number
  16484. enumdicname:
  16485. description: 单位名称
  16486. type: string
  16487. freezeqty:
  16488. description: 总冻结数量
  16489. type: number
  16490. haswr:
  16491. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16492. type: integer
  16493. minivalue:
  16494. description: 现货商品最小变动值
  16495. type: integer
  16496. modifytime:
  16497. description: 修改时间(过户时间)
  16498. type: string
  16499. optioncompare:
  16500. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16501. type: string
  16502. pledgeqty:
  16503. description: 质押数量
  16504. type: number
  16505. querytype:
  16506. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  16507. type: integer
  16508. sellexcuteqty:
  16509. description: 销售履约中数量
  16510. type: number
  16511. totalqty:
  16512. description: 总数量(库存数量)
  16513. type: number
  16514. warehouseid:
  16515. description: 仓库ID
  16516. type: integer
  16517. warehousename:
  16518. description: 仓库名称
  16519. type: string
  16520. wrfactortypeid:
  16521. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16522. type: string
  16523. wrfactortypename:
  16524. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16525. type: string
  16526. wrpositionid:
  16527. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  16528. type: string
  16529. wrpositionno:
  16530. description: 仓单编号
  16531. type: string
  16532. wrstandardcode:
  16533. description: 现货商品代码
  16534. type: string
  16535. wrstandardid:
  16536. description: 现货商品ID
  16537. type: integer
  16538. wrstandardname:
  16539. description: 商品名称
  16540. type: string
  16541. wrtypename:
  16542. description: 商品
  16543. type: string
  16544. wruserid:
  16545. description: 持有人ID
  16546. type: integer
  16547. type: object
  16548. models.WrPreSaleInfo:
  16549. properties:
  16550. bannerpicurl:
  16551. description: Banner图
  16552. type: string
  16553. baseqty:
  16554. description: 中签基数
  16555. type: number
  16556. createtime:
  16557. description: 创建时间
  16558. type: string
  16559. deliverygoodsid:
  16560. description: 现货品种ID
  16561. type: integer
  16562. enddate:
  16563. description: 预售结束日期
  16564. type: string
  16565. enumdicname:
  16566. description: 单位名称
  16567. type: string
  16568. lotteryflag:
  16569. description: 摇号标识 - 0:未摇号 1:已摇号
  16570. type: integer
  16571. lotteryqty:
  16572. description: 摇号总量
  16573. type: number
  16574. luckyqty:
  16575. description: 已中签量
  16576. type: number
  16577. marketid:
  16578. description: 市场ID
  16579. type: integer
  16580. maxbuyqty:
  16581. description: 单人最大申购量
  16582. type: number
  16583. maxluckyqty:
  16584. description: 单人最大中签量
  16585. type: number
  16586. pictureurls:
  16587. description: 详情图片(逗号分隔)
  16588. type: string
  16589. placeqty:
  16590. description: 已配售量
  16591. type: number
  16592. presaleapplyid:
  16593. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  16594. example: "0"
  16595. type: string
  16596. presaleqty:
  16597. description: 预售总量
  16598. type: number
  16599. presalestatus:
  16600. description: 预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭
  16601. type: integer
  16602. sellaccountid:
  16603. description: 发行方资金账户ID
  16604. type: integer
  16605. selluserid:
  16606. description: 发行方用户ID
  16607. type: integer
  16608. sellwrtradeorderid:
  16609. description: 发行方卖委托单ID
  16610. type: string
  16611. startdate:
  16612. description: 预售开始日期
  16613. type: string
  16614. takestartdate:
  16615. description: 提货开始日期
  16616. type: string
  16617. thumurls:
  16618. description: 缩略图片(1:1)(逗号分隔)
  16619. type: string
  16620. tradedate:
  16621. description: 交易日
  16622. type: string
  16623. unitid:
  16624. description: 单位ID
  16625. type: integer
  16626. unitprice:
  16627. description: 商品单价
  16628. type: number
  16629. username:
  16630. description: 发行方用户名称
  16631. type: string
  16632. warehousecode:
  16633. description: 仓库代码(仓库简称)
  16634. type: string
  16635. warehouseid:
  16636. description: 仓库ID
  16637. type: integer
  16638. warehousename:
  16639. description: 仓库名称
  16640. type: string
  16641. wrfactortypeid:
  16642. description: 仓单要素类型ID - 根据现货商品\仓库生成
  16643. example: "0"
  16644. type: string
  16645. wrstandardid:
  16646. description: 现货商品ID
  16647. type: integer
  16648. wrstandardname:
  16649. description: 现货商品名称
  16650. type: string
  16651. type: object
  16652. models.WrQuoteOrderMyq:
  16653. properties:
  16654. buyorsell:
  16655. description: 买卖 - 0:买 1:卖
  16656. type: integer
  16657. canbargain:
  16658. description: 是否可议价 - 0:不可 1:可
  16659. type: integer
  16660. canpart:
  16661. description: 是否允许部份摘牌 - 0:不允许 1:允许
  16662. type: integer
  16663. delistminqty:
  16664. description: 起摘数量
  16665. type: number
  16666. deliverygoodscode:
  16667. description: 品种代码
  16668. type: string
  16669. deliverygoodsid:
  16670. description: 品种ID
  16671. type: integer
  16672. deliverygoodsname:
  16673. description: 品种名称
  16674. type: string
  16675. deliverymonth:
  16676. description: 交收月
  16677. type: string
  16678. enumdicname:
  16679. description: 单位名称
  16680. type: string
  16681. fixedprice:
  16682. description: 买(卖)价
  16683. type: number
  16684. goodscode:
  16685. description: 商品合约代码
  16686. type: string
  16687. marginflag:
  16688. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  16689. type: integer
  16690. marginvalue:
  16691. description: 保证金设置值
  16692. type: number
  16693. minivalue:
  16694. description: 现货商品最小变动值
  16695. type: integer
  16696. orderqty:
  16697. description: 买(卖)量(=委托量-成交量)
  16698. type: number
  16699. ordertime:
  16700. description: 委托时间
  16701. type: string
  16702. performancetemplateid:
  16703. description: 履约模板id
  16704. type: integer
  16705. pricemove:
  16706. description: 买(卖)升贴水- 基差
  16707. type: number
  16708. templatename:
  16709. description: 履约模板名称
  16710. type: string
  16711. userid:
  16712. description: 购买方(销售方)用户ID
  16713. type: integer
  16714. username:
  16715. description: 购买方(销售方)
  16716. type: string
  16717. validtime:
  16718. description: 有效期限
  16719. type: string
  16720. validtype:
  16721. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  16722. type: integer
  16723. warehousename:
  16724. description: 仓库名称
  16725. type: string
  16726. wrfactortypeid:
  16727. description: 仓单要素id
  16728. type: string
  16729. wrstandardcode:
  16730. description: 现货商品代码
  16731. type: string
  16732. wrstandardid:
  16733. description: 现货商品ID
  16734. type: integer
  16735. wrstandardname:
  16736. description: 商品名称
  16737. type: string
  16738. wrtradeorderid:
  16739. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16740. type: string
  16741. wrtypename:
  16742. description: 商品
  16743. type: string
  16744. type: object
  16745. models.WrReckonSpotGoodsTradeSum:
  16746. properties:
  16747. begindate:
  16748. description: 开始日期(结果含开始日期) yyyymmdd
  16749. type: string
  16750. enddate:
  16751. description: 结束日期(结果含结束日期) yyyymmdd
  16752. type: string
  16753. marketid:
  16754. description: 市场ID
  16755. type: integer
  16756. price:
  16757. description: 价格 = 日成交金额 / 日成交数量
  16758. type: string
  16759. reckondate:
  16760. description: 日期 格式 yyyymmdd
  16761. type: string
  16762. tradeamount:
  16763. description: 日成交金额(当日单方向成交金额)
  16764. type: number
  16765. tradeqty:
  16766. description: 日成交数量(当日单方向成交数量)
  16767. type: number
  16768. wrstandardid:
  16769. description: 现货商品ID
  16770. type: integer
  16771. type: object
  16772. models.WrScfContract:
  16773. properties:
  16774. borroweruserid:
  16775. description: 借款用户ID
  16776. type: integer
  16777. buybackwrpositionqty:
  16778. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  16779. type: number
  16780. closeinterest:
  16781. description: 已结利息 -> 已结费用
  16782. type: number
  16783. currisklevel:
  16784. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  16785. type: integer
  16786. deadline:
  16787. description: 截止日期(yyyyMMdd) -> 借款到期时间
  16788. type: string
  16789. deliverygoodscode:
  16790. description: 品种代码
  16791. type: string
  16792. deliverygoodsid:
  16793. description: 品种ID
  16794. type: integer
  16795. deliverygoodsname:
  16796. description: 品种名称
  16797. type: string
  16798. enumdicname:
  16799. description: 单位名称
  16800. type: string
  16801. financingdays:
  16802. description: 天数(天)
  16803. type: integer
  16804. initmargin:
  16805. description: 保证金 - [仓单回购]
  16806. type: number
  16807. interestamount:
  16808. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  16809. type: number
  16810. interestdebt:
  16811. description: 利息欠款(记录负数) -> 费用欠款
  16812. type: number
  16813. interestminlen:
  16814. description: 最小起息天数
  16815. type: integer
  16816. interestrate:
  16817. description: 利率
  16818. type: number
  16819. interestratemode:
  16820. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  16821. type: integer
  16822. interestsettlemode:
  16823. description: 结息方式 - 1:按日结息 3:按月结息
  16824. type: integer
  16825. interestsettlevalue:
  16826. description: 结息方式值
  16827. type: integer
  16828. isautoloan:
  16829. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  16830. type: integer
  16831. lastcloseinterestday:
  16832. description: 最近结息日(yyyyMMdd)
  16833. type: string
  16834. lenderamount:
  16835. description: 贷款金额 -> 借款金额
  16836. type: number
  16837. lenderuserid:
  16838. description: 贷款方用户ID -> 融出方用户ID
  16839. type: integer
  16840. lenderusername:
  16841. description: 融出方
  16842. type: string
  16843. marginratio:
  16844. description: 保证金比率质押率 - [仓单质押]
  16845. type: number
  16846. marketid:
  16847. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  16848. type: integer
  16849. minivalue:
  16850. description: 现货商品最小变动值
  16851. type: integer
  16852. optioncompare:
  16853. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16854. type: string
  16855. pricemove:
  16856. description: 估值升贴水值
  16857. type: number
  16858. productdetailid:
  16859. description: 产品组合ID
  16860. type: integer
  16861. productid:
  16862. description: 金融产品ID
  16863. type: integer
  16864. productname:
  16865. description: 产品名称
  16866. type: string
  16867. remainamount:
  16868. description: 合同剩余金额 -> 剩余金额
  16869. type: number
  16870. remainwrpositionqty:
  16871. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  16872. type: number
  16873. remark:
  16874. description: 备注
  16875. type: string
  16876. scfcontractid:
  16877. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  16878. type: string
  16879. scfcontractstatus:
  16880. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  16881. 9:违约结束 10:已注销 11:已关闭 99:未提交
  16882. type: integer
  16883. scfcontracttype:
  16884. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  16885. type: integer
  16886. startinterestday:
  16887. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  16888. type: string
  16889. totalinterest:
  16890. description: 已计利息 -> 已计费用
  16891. type: number
  16892. unpaidinterest:
  16893. description: 未结费用
  16894. type: number
  16895. updatetime:
  16896. description: 更新时间
  16897. type: string
  16898. warehouseid:
  16899. description: 仓库ID
  16900. type: integer
  16901. warehousename:
  16902. description: 仓库名称
  16903. type: string
  16904. wrfactortypeid:
  16905. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16906. type: string
  16907. wrfactortypename:
  16908. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16909. type: string
  16910. wrqty:
  16911. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  16912. type: number
  16913. wrstandardcode:
  16914. description: 现货商品代码
  16915. type: string
  16916. wrstandardid:
  16917. description: 现货商品ID
  16918. type: integer
  16919. wrstandardname:
  16920. description: 商品名称
  16921. type: string
  16922. wrtypename:
  16923. description: 商品
  16924. type: string
  16925. type: object
  16926. models.WrScfContractInterest:
  16927. properties:
  16928. closeinterest:
  16929. description: 已结利息
  16930. type: number
  16931. closeintereststatus:
  16932. description: 结息状态 - 1:未结 2:已结
  16933. type: integer
  16934. closetime:
  16935. description: 结息时间
  16936. type: string
  16937. closetradedate:
  16938. description: 结息交易日
  16939. type: string
  16940. creatorid:
  16941. description: 操作人ID
  16942. type: integer
  16943. dayrate:
  16944. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  16945. type: number
  16946. interest:
  16947. description: 利息
  16948. type: number
  16949. interestamount:
  16950. description: 计息金额
  16951. type: number
  16952. interestday:
  16953. description: 计息日(yyyyMMdd)
  16954. type: string
  16955. scfcontractid:
  16956. description: SCF合同ID
  16957. type: string
  16958. scfcontractinterestid:
  16959. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  16960. type: integer
  16961. updatetime:
  16962. description: 更新时间
  16963. type: string
  16964. type: object
  16965. models.WrSiteColumnDetail:
  16966. properties:
  16967. brief:
  16968. description: 简介
  16969. type: string
  16970. context:
  16971. description: 内容
  16972. type: string
  16973. coverimage:
  16974. description: 封面图片
  16975. type: string
  16976. creaedate:
  16977. description: 创建时间
  16978. type: string
  16979. id:
  16980. description: ID(SEQ_SITE_COLUMNDETAIL)
  16981. type: integer
  16982. istop:
  16983. description: 是否置顶 - 0:不置 1:置顶
  16984. type: integer
  16985. publishdate:
  16986. description: 发布日期
  16987. type: string
  16988. title:
  16989. description: 标题
  16990. type: string
  16991. updatedate:
  16992. description: 修改时间
  16993. type: string
  16994. type: object
  16995. models.WrSpecialMatchOrder:
  16996. properties:
  16997. amount:
  16998. description: 金额 = 数量 * 价格
  16999. type: number
  17000. buyorsell:
  17001. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  17002. type: integer
  17003. cancelqty:
  17004. description: 撤销数量
  17005. type: number
  17006. deliverygoodscode:
  17007. description: 品种代码
  17008. type: string
  17009. deliverygoodsid:
  17010. description: 品种ID
  17011. type: integer
  17012. deliverygoodsname:
  17013. description: 品种名称
  17014. type: string
  17015. enumdicname:
  17016. description: 单位名称
  17017. type: string
  17018. fixedprice:
  17019. description: 固定价格(价格)
  17020. type: number
  17021. haswr:
  17022. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  17023. type: integer
  17024. isspecified:
  17025. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  17026. type: integer
  17027. marketid:
  17028. description: 市场ID
  17029. type: integer
  17030. matchuserid:
  17031. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  17032. type: integer
  17033. matchusername:
  17034. description: 指定方
  17035. type: string
  17036. minivalue:
  17037. description: 现货商品最小变动值
  17038. type: integer
  17039. optioncompare:
  17040. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17041. type: string
  17042. orderqty:
  17043. description: 委托数量
  17044. type: number
  17045. ordertime:
  17046. description: 委托时间
  17047. type: string
  17048. pricemove:
  17049. description: 升贴水(浮动价时填写) - [挂牌]
  17050. type: number
  17051. tradedate:
  17052. description: 交易日(yyyyMMdd)
  17053. type: string
  17054. tradeprice:
  17055. description: 成交价格
  17056. type: number
  17057. tradeqty:
  17058. description: 成交数量
  17059. type: number
  17060. userid:
  17061. description: 用户ID
  17062. type: integer
  17063. username:
  17064. description: 发起方
  17065. type: string
  17066. warehouseid:
  17067. description: 仓库ID
  17068. type: integer
  17069. warehousename:
  17070. description: 仓库名称
  17071. type: string
  17072. wrfactortypeid:
  17073. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17074. type: string
  17075. wrfactortypename:
  17076. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17077. type: string
  17078. wrpricetype:
  17079. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  17080. type: integer
  17081. wrstandardcode:
  17082. description: 现货商品代码
  17083. type: string
  17084. wrstandardid:
  17085. description: 现货商品ID
  17086. type: integer
  17087. wrstandardname:
  17088. description: 商品名称
  17089. type: string
  17090. wrtradeorderid:
  17091. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  17092. type: string
  17093. wrtradeorderstatus:
  17094. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  17095. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  17096. type: integer
  17097. wrtradetype:
  17098. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  17099. type: integer
  17100. wrtypename:
  17101. description: 商品
  17102. type: string
  17103. type: object
  17104. models.WrSpotGroupTradeSum:
  17105. properties:
  17106. deliverygoodscode:
  17107. description: 现货品种代码
  17108. type: string
  17109. deliverygoodsid:
  17110. description: 现货品种ID(SEQ_DELIVERYGOODS)
  17111. type: integer
  17112. deliverygoodsname:
  17113. description: 现货品种名称
  17114. type: string
  17115. lastavgprice:
  17116. description: 上上个交易日价格(前2天价格)
  17117. type: string
  17118. lastreckondate:
  17119. description: 上上个交易日(前2天交易日)
  17120. type: string
  17121. reckondate:
  17122. description: 上个交易日(前1天交易日)
  17123. type: string
  17124. todayavgprice:
  17125. description: 上个交易日价格(前1天价格)
  17126. type: string
  17127. updown:
  17128. description: 涨跌
  17129. type: string
  17130. updownratio:
  17131. description: 涨幅(已格式化, 直接显示即可)
  17132. type: string
  17133. type: object
  17134. models.WrSpotGroupTradeSumDetail:
  17135. properties:
  17136. deliverygoodsid:
  17137. description: 现货商品id
  17138. type: integer
  17139. price:
  17140. description: 价格
  17141. type: number
  17142. reckondate:
  17143. description: 日期(yyymmdd, 如:20211031)
  17144. type: string
  17145. type: object
  17146. models.WrSpotGroupTradeSumEx:
  17147. properties:
  17148. lst:
  17149. description: 指数列表
  17150. items:
  17151. $ref: '#/definitions/models.WrSpotGroupTradeSum'
  17152. type: array
  17153. prereckondate:
  17154. description: 上上个交易日(yyymmdd)
  17155. type: string
  17156. reckondate:
  17157. description: 上个交易日(yyyymmdd)
  17158. type: string
  17159. type: object
  17160. models.WrStandardFactoryItem:
  17161. properties:
  17162. dgfactoryitemid:
  17163. description: 选择项id
  17164. type: integer
  17165. dgfactoryitemvalue:
  17166. description: 要素项值
  17167. type: string
  17168. warehouseid:
  17169. description: 仓库id
  17170. type: integer
  17171. type: object
  17172. models.WrStandardFactoryItemEx:
  17173. properties:
  17174. dgfactoryitemtypeid:
  17175. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  17176. type: integer
  17177. itemlst:
  17178. description: 要素项列表
  17179. items:
  17180. $ref: '#/definitions/models.WrStandardFactoryItem'
  17181. type: array
  17182. itemtypename:
  17183. description: 要素项类型名称
  17184. type: string
  17185. wrstandardid:
  17186. description: 品类
  17187. type: integer
  17188. type: object
  17189. models.WrTradeDetail:
  17190. properties:
  17191. accountid:
  17192. description: 资金账号
  17193. type: integer
  17194. bannerpicurl:
  17195. description: Banner图
  17196. type: string
  17197. begindate:
  17198. description: 开始交易日(yyyymmdd)
  17199. type: string
  17200. buyorsell:
  17201. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  17202. type: integer
  17203. chargevalue:
  17204. description: 手续费
  17205. type: number
  17206. deliverygoodscode:
  17207. description: 品种代码
  17208. type: string
  17209. deliverygoodsid:
  17210. description: 品种ID
  17211. type: integer
  17212. deliverygoodsname:
  17213. description: 品种名称
  17214. type: string
  17215. deliverymonth:
  17216. description: 交收月
  17217. type: string
  17218. enddate:
  17219. description: 结束交易日(yyyymmdd)
  17220. type: string
  17221. enumdicname:
  17222. description: 单位名称
  17223. type: string
  17224. haswr:
  17225. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  17226. type: integer
  17227. marketid:
  17228. description: 市场ID
  17229. type: integer
  17230. matchaccountid:
  17231. description: 对手账号
  17232. type: integer
  17233. matchusername:
  17234. description: 对手方
  17235. type: string
  17236. minivalue:
  17237. description: 现货商品最小变动值
  17238. type: integer
  17239. optioncompare:
  17240. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17241. type: string
  17242. tradedate:
  17243. description: 交易日(yyyyMMdd)
  17244. type: string
  17245. tradeprice:
  17246. description: 成交价格
  17247. type: number
  17248. tradeqty:
  17249. description: 成交数量
  17250. type: number
  17251. tradetime:
  17252. description: 成交时间
  17253. type: string
  17254. userid:
  17255. description: 用户ID
  17256. type: integer
  17257. warehouseid:
  17258. description: 仓库ID
  17259. type: integer
  17260. warehousename:
  17261. description: 仓库名称
  17262. type: string
  17263. wrfactortypeid:
  17264. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17265. type: string
  17266. wrfactortypename:
  17267. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17268. type: string
  17269. wrstandardcode:
  17270. description: 现货商品代码
  17271. type: string
  17272. wrstandardid:
  17273. description: 现货商品ID
  17274. type: integer
  17275. wrstandardname:
  17276. description: 商品名称
  17277. type: string
  17278. wrtradedetailid:
  17279. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  17280. type: string
  17281. wrtradetype:
  17282. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  17283. type: integer
  17284. wrtypename:
  17285. description: 商品
  17286. type: string
  17287. type: object
  17288. models.WrTradeOrderDetail:
  17289. properties:
  17290. buyorsell:
  17291. description: 买卖方向 0-买 1-卖
  17292. type: integer
  17293. goodsid:
  17294. description: 商品id
  17295. type: integer
  17296. orderid:
  17297. description: 委托单号
  17298. type: string
  17299. orderprice:
  17300. description: 委托价格
  17301. type: number
  17302. orderqty:
  17303. description: 委托数量
  17304. type: integer
  17305. userid:
  17306. description: 用户id
  17307. type: integer
  17308. username:
  17309. description: 用户名称(已脱敏)
  17310. type: string
  17311. type: object
  17312. models.WrTypeItem:
  17313. properties:
  17314. name:
  17315. description: 名称
  17316. type: string
  17317. value:
  17318. description: 值
  17319. type: string
  17320. type: object
  17321. models.WrUserFriend:
  17322. properties:
  17323. friendname:
  17324. description: 朋友名称(已脱敏)
  17325. type: string
  17326. frienduserid:
  17327. description: 朋友id
  17328. type: integer
  17329. isfriend:
  17330. description: 是否好友 0-不是 1-是
  17331. type: integer
  17332. userid:
  17333. description: 用户id
  17334. type: integer
  17335. type: object
  17336. models.WrUserReceiptInfo:
  17337. properties:
  17338. address:
  17339. description: 地址[发票类型:企业]
  17340. type: string
  17341. autoid:
  17342. description: AutoID
  17343. type: integer
  17344. contactinfo:
  17345. description: 联系方式
  17346. type: string
  17347. idnum:
  17348. description: 身份证号码[发票类型:个人]
  17349. type: string
  17350. isdefault:
  17351. description: 是否默认地址 - 0:否 1:是
  17352. type: integer
  17353. receiptaccount:
  17354. description: 发票帐号[发票类型:企业]
  17355. type: string
  17356. receiptbank:
  17357. description: 发票开户行[发票类型:企业]
  17358. type: string
  17359. receipttype:
  17360. description: 发票类型 - 1:个人 2:企业
  17361. type: integer
  17362. taxpayerid:
  17363. description: 纳税人识别号
  17364. type: string
  17365. userid:
  17366. description: 用户ID
  17367. type: integer
  17368. username:
  17369. description: 户名(个人姓名或企业名称)
  17370. type: string
  17371. type: object
  17372. models.XHBRAND:
  17373. properties:
  17374. brandid:
  17375. description: 品牌id
  17376. type: integer
  17377. brandname:
  17378. description: 品牌名称
  17379. type: string
  17380. isvalid:
  17381. description: 是否有效 0-无效 1-有效
  17382. type: integer
  17383. type: object
  17384. models.XHDeliveryGoods:
  17385. properties:
  17386. areauserid:
  17387. description: 所属机构
  17388. type: integer
  17389. bdlst:
  17390. description: 品牌列表
  17391. items:
  17392. $ref: '#/definitions/models.XHBRAND'
  17393. type: array
  17394. deliverygoodscode:
  17395. description: 现货品种代码
  17396. type: string
  17397. deliverygoodsid:
  17398. description: 现货品种ID(SEQ_DELIVERYGOODS)
  17399. type: integer
  17400. deliverygoodsname:
  17401. description: 现货品种名称
  17402. type: string
  17403. dgstatus:
  17404. description: 品种状态 - 作废 - 0:未激活 1:正常
  17405. type: integer
  17406. filterSubEmpty:
  17407. description: 过滤下级为空的
  17408. type: integer
  17409. isvalid:
  17410. description: 是否有效 - 0:无效 1:有效
  17411. type: integer
  17412. remark:
  17413. description: 备注
  17414. type: string
  17415. unitid:
  17416. description: 单位id(目前看,数据库中是空值)
  17417. type: integer
  17418. wdlst:
  17419. description: 品类(现货商品)列表
  17420. items:
  17421. $ref: '#/definitions/models.XHWrstandard'
  17422. type: array
  17423. type: object
  17424. models.XHMiddleGoods:
  17425. properties:
  17426. GPLST:
  17427. description: 期货品种列表
  17428. items:
  17429. $ref: '#/definitions/models.TBGoodsGroup'
  17430. type: array
  17431. convertratio:
  17432. description: 拆算系数
  17433. type: number
  17434. costratio:
  17435. description: 成本权重
  17436. type: number
  17437. deliverygoodsid:
  17438. description: 现货商品id
  17439. type: integer
  17440. enumdicname:
  17441. description: 单位名称
  17442. type: string
  17443. middlegoodscode:
  17444. description: 套保品种代码
  17445. type: string
  17446. middlegoodsid:
  17447. description: 套保品种id
  17448. type: integer
  17449. middlegoodsname:
  17450. description: 套保品种名称
  17451. type: string
  17452. unitid:
  17453. description: 单位id
  17454. type: integer
  17455. type: object
  17456. models.XHWrstandard:
  17457. properties:
  17458. bannerpicurl:
  17459. description: banner图
  17460. type: string
  17461. deliverygoodsid:
  17462. description: 品种ID
  17463. type: integer
  17464. enumdicname:
  17465. description: 单位名称
  17466. type: string
  17467. mglst:
  17468. description: 套保品列表
  17469. items:
  17470. $ref: '#/definitions/models.XHMiddleGoods'
  17471. type: array
  17472. pictureurls:
  17473. description: 详情图片(逗号分隔)
  17474. type: string
  17475. thumurls:
  17476. description: 缩略图片(1:1)(逗号分隔)
  17477. type: string
  17478. unitid:
  17479. description: 单位id
  17480. type: integer
  17481. vatrate:
  17482. description: 增值税率
  17483. type: number
  17484. wrstandardcode:
  17485. description: 现货商品代码
  17486. type: string
  17487. wrstandardid:
  17488. description: 现货商品ID(SEQ_WRSTANDARD)
  17489. type: integer
  17490. wrstandardname:
  17491. description: 现货商品名称
  17492. type: string
  17493. type: object
  17494. order.QueryHisTradeDetailRsp:
  17495. properties:
  17496. accountid:
  17497. description: 账户ID[报价币种]
  17498. type: integer
  17499. advanceratio:
  17500. description: 首付比率
  17501. type: number
  17502. buildtype:
  17503. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  17504. type: integer
  17505. buyorsell:
  17506. description: 方向 - 0:买 1:卖
  17507. type: integer
  17508. charge:
  17509. description: 手续费
  17510. type: number
  17511. closecharge:
  17512. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17513. type: number
  17514. closeexchagechargevalue:
  17515. description: 平仓交易所手续费设置值
  17516. type: number
  17517. closefeealgorithm:
  17518. description: 平仓手续费收取方式 1:比率 2:固定
  17519. type: integer
  17520. closememberchargevalue:
  17521. description: 平仓会员手续费设置值
  17522. type: number
  17523. closepl:
  17524. description: 平仓盈亏
  17525. type: number
  17526. closepl2:
  17527. description: 平仓盈亏[逐笔]
  17528. type: number
  17529. closeqty:
  17530. description: 平仓数量(先建后平操作 需要记录)
  17531. type: number
  17532. creditamount:
  17533. description: 授信金额
  17534. type: number
  17535. decimalplace:
  17536. description: 商品报价小数位
  17537. type: integer
  17538. enumdicname:
  17539. description: 单位名称
  17540. type: string
  17541. gcaccountid:
  17542. description: 账户ID[合约币种]
  17543. type: integer
  17544. goodscode:
  17545. description: 商品代码
  17546. type: string
  17547. goodsid:
  17548. description: 商品ID
  17549. type: integer
  17550. goodsname:
  17551. description: 商品名称
  17552. type: string
  17553. goodunitid:
  17554. description: 商品单位id
  17555. type: integer
  17556. histradedate:
  17557. description: 历史交易日
  17558. type: string
  17559. intclosepl:
  17560. description: 整型盈亏(用于交易结算试算平衡-收益权)
  17561. type: integer
  17562. isconfirmexercise:
  17563. description: 是否确认行权- 0:否 1:是
  17564. type: integer
  17565. ismain:
  17566. description: 是否主单 - 0:不是 1:是
  17567. type: integer
  17568. ispreexercise:
  17569. description: 是否预申报- 0:否 1:是
  17570. type: integer
  17571. isreckoned:
  17572. description: 是否结算 - 0:未结算 1:已结算
  17573. type: integer
  17574. isvaliddata:
  17575. description: 是否有效 - 0:无效 1:有效
  17576. type: integer
  17577. listingselecttype:
  17578. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17579. type: integer
  17580. marketid:
  17581. description: 市场ID
  17582. type: integer
  17583. marketname:
  17584. description: 市场名称
  17585. type: string
  17586. matchaccountid:
  17587. description: 对手账号id
  17588. type: integer
  17589. memberuserid:
  17590. description: 会员id 个人投资者 需要填写
  17591. type: integer
  17592. opencharge:
  17593. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17594. type: number
  17595. openexchagechargevalue:
  17596. description: 建仓交易所手续费设置值
  17597. type: number
  17598. openfeealgorithm:
  17599. description: 建仓手续费收取方式 1:比率 2:固定
  17600. type: integer
  17601. openmemberchargevalue:
  17602. description: 建仓会员手续费设置值
  17603. type: number
  17604. openqty:
  17605. description: 开仓数量(先建后平操作 需要记录)
  17606. type: number
  17607. optiontype:
  17608. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17609. type: integer
  17610. orderid:
  17611. description: 委托单号
  17612. type: string
  17613. payamount:
  17614. description: 支付金额(付款金额)
  17615. type: number
  17616. performanceplanid:
  17617. description: 履约计划ID[期权]
  17618. type: integer
  17619. performancestatus:
  17620. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  17621. type: integer
  17622. preexerciseprice:
  17623. description: 预申报价格
  17624. type: number
  17625. premium:
  17626. description: 权利金 - [持仓单的权利金]
  17627. type: number
  17628. qtydecimalplace:
  17629. description: 商品报价小数位
  17630. type: integer
  17631. recvamount:
  17632. description: 到账金额 = 成交金额 - 手续费
  17633. type: number
  17634. relatedouttradeid:
  17635. description: 关联外部成交单ID
  17636. type: integer
  17637. status:
  17638. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  17639. type: integer
  17640. totalamount:
  17641. description: 订单总额 = 成交金额 + 手续费
  17642. type: number
  17643. tradeamount:
  17644. description: 成交金额[账户币种,用于所有权]
  17645. type: number
  17646. tradedate:
  17647. description: 交易日(yyyyMMdd)
  17648. type: string
  17649. tradeid:
  17650. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17651. type: string
  17652. trademode:
  17653. description: 交易模式
  17654. type: integer
  17655. tradeprice:
  17656. description: 成交价格
  17657. type: number
  17658. tradeproperty:
  17659. description: 交易属性
  17660. type: integer
  17661. tradeqty:
  17662. description: 成交数量
  17663. type: number
  17664. tradetime:
  17665. description: 成交时间
  17666. type: string
  17667. tradetype:
  17668. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  17669. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  17670. type: integer
  17671. required:
  17672. - accountid
  17673. - buyorsell
  17674. - goodsid
  17675. - histradedate
  17676. - marketid
  17677. - memberuserid
  17678. - orderid
  17679. - tradeamount
  17680. - tradedate
  17681. - tradeid
  17682. - tradeprice
  17683. - tradeqty
  17684. - tradetime
  17685. type: object
  17686. order.QueryHisTradeOrderDetailRsp:
  17687. properties:
  17688. accountid:
  17689. description: 账户ID[报价币种]
  17690. type: integer
  17691. buildtype:
  17692. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  17693. type: integer
  17694. buyorsell:
  17695. description: 买卖 - 0:买 1:卖
  17696. type: integer
  17697. cancelorderid:
  17698. description: 撤单单号(撤单时填写)
  17699. type: string
  17700. cancelqty:
  17701. description: 撤单数量
  17702. type: number
  17703. clientordertime:
  17704. description: 客户端委托时间
  17705. type: string
  17706. clientticket:
  17707. description: 客户端流水号
  17708. type: string
  17709. clienttype:
  17710. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  17711. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  17712. type: integer
  17713. closeexchagechargevalue:
  17714. description: 平仓交易所手续费设置值
  17715. type: number
  17716. closefeealgorithm:
  17717. description: 平仓手续费收取方式 1:比率 2:固定
  17718. type: integer
  17719. closefreezecharge:
  17720. description: 平仓冻结手续费(先建后平操作,需要记录)
  17721. type: number
  17722. closememberchargevalue:
  17723. description: 平仓会员手续费设置值
  17724. type: number
  17725. closeqty:
  17726. description: 平仓数量(先建后平操作 需要记录)
  17727. type: number
  17728. closetradeqty:
  17729. description: 平仓成交数量(先建后平操作,需要记录)
  17730. type: number
  17731. closeunfreezecharge:
  17732. description: 平仓解冻手续费(先建后平操作,需要记录)
  17733. type: number
  17734. decimalplace:
  17735. description: 商品报价小数位
  17736. type: integer
  17737. delistingtype:
  17738. description: 摘牌类型 - 1:价格最优 2:点选成交
  17739. type: integer
  17740. enumdicname:
  17741. description: 单位名称
  17742. type: string
  17743. freezecharge:
  17744. description: 冻结手续费
  17745. type: number
  17746. freezemargin:
  17747. description: 冻结保证金(冻结交易金额)
  17748. type: number
  17749. gcaccountid:
  17750. description: 账户ID[合约币种]
  17751. type: integer
  17752. goodscode:
  17753. description: 商品代码
  17754. type: string
  17755. goodsid:
  17756. description: 商品ID
  17757. type: integer
  17758. goodsname:
  17759. description: 商品名称
  17760. type: string
  17761. goodunitid:
  17762. description: 商品单位id
  17763. type: integer
  17764. histradedate:
  17765. description: 历史交易日
  17766. type: string
  17767. isconfirmexercise:
  17768. description: 是否确认行权- 0:否 1:是
  17769. type: integer
  17770. ispreexercise:
  17771. description: 是否预申报- 0:否 1:是
  17772. type: integer
  17773. isvaliddata:
  17774. description: 是否有效 - 0:无效 1:有效
  17775. type: integer
  17776. listingselecttype:
  17777. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17778. type: integer
  17779. marginalgorithm:
  17780. description: 保证金收取方式 1:比率 2:固定
  17781. type: integer
  17782. marginvalue:
  17783. description: 即市保证金设置值
  17784. type: number
  17785. marketid:
  17786. description: 市场ID
  17787. type: integer
  17788. marketmaxsub:
  17789. description: 市价最大偏移范围
  17790. type: number
  17791. marketname:
  17792. description: 市场名称
  17793. type: string
  17794. memberuserid:
  17795. description: 所属会员UserID
  17796. type: integer
  17797. openexchagechargevalue:
  17798. description: 建仓交易所手续费设置值
  17799. type: number
  17800. openfeealgorithm:
  17801. description: 建仓手续费收取方式 1:比率 2:固定
  17802. type: integer
  17803. openfreezecharge:
  17804. description: 开仓冻结手续费(先建后平操作,需要记录)
  17805. type: number
  17806. openmemberchargevalue:
  17807. description: 建仓会员手续费设置值
  17808. type: number
  17809. openqty:
  17810. description: 开仓数量(先建后平操作,需要记录)
  17811. type: number
  17812. opentradeqty:
  17813. description: 开仓成交数量(先建后平操作,需要记录)
  17814. type: number
  17815. openunfreezecharge:
  17816. description: 开仓解冻手续费(先建后平操作,需要记录)
  17817. type: number
  17818. operatetype:
  17819. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  17820. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  17821. 15:管理端协议转让
  17822. type: integer
  17823. operatorid:
  17824. description: 登录账号(LoginID)
  17825. type: integer
  17826. optiontype:
  17827. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17828. type: integer
  17829. orderid:
  17830. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17831. type: string
  17832. orderprice:
  17833. description: 委托价格
  17834. type: number
  17835. orderqty:
  17836. description: 委托数量
  17837. type: number
  17838. ordersrc:
  17839. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  17840. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  17841. type: integer
  17842. orderstatus:
  17843. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  17844. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  17845. 16:成交失败违约(荷兰式竞拍专用)
  17846. type: integer
  17847. ordertime:
  17848. description: 委托时间
  17849. type: string
  17850. preexerciseprice:
  17851. description: 预申报价格
  17852. type: number
  17853. premium:
  17854. description: 权利金
  17855. type: number
  17856. preorderid:
  17857. description: 关联预埋单号(止盈止损单时填写)
  17858. type: string
  17859. pricemode:
  17860. description: '取价方式 - 1:市价 2: 限价'
  17861. type: integer
  17862. qtydecimalplace:
  17863. description: 成交量小数位
  17864. type: integer
  17865. quoteid:
  17866. description: 报价单ID
  17867. type: integer
  17868. relatedid:
  17869. description: 关联单号(交割单)
  17870. type: string
  17871. retcode:
  17872. description: 错误代码
  17873. type: integer
  17874. sessionid:
  17875. description: 会话ID
  17876. type: integer
  17877. tradedate:
  17878. description: 交易日(yyyyMMdd)
  17879. type: string
  17880. trademode:
  17881. description: 交易模式
  17882. type: integer
  17883. tradeproperty:
  17884. description: 交易属性
  17885. type: integer
  17886. tradeqty:
  17887. description: 成交数量
  17888. type: number
  17889. unfreezecharge:
  17890. description: 解冻手续费
  17891. type: number
  17892. unfreezemargin:
  17893. description: 解冻保证金
  17894. type: number
  17895. updatetime:
  17896. description: 更新时间
  17897. type: string
  17898. uuid:
  17899. description: 发起端唯一id
  17900. type: string
  17901. validtime:
  17902. description: 有效期限
  17903. type: string
  17904. validtype:
  17905. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  17906. type: integer
  17907. volumetype:
  17908. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  17909. type: integer
  17910. required:
  17911. - accountid
  17912. - buildtype
  17913. - buyorsell
  17914. - goodsid
  17915. - histradedate
  17916. - marketid
  17917. - memberuserid
  17918. - operatetype
  17919. - orderid
  17920. - orderqty
  17921. - ordertime
  17922. - pricemode
  17923. - tradedate
  17924. - validtype
  17925. type: object
  17926. order.QueryTradeDetailRsp:
  17927. properties:
  17928. accountid:
  17929. description: 账户ID[报价币种]
  17930. type: integer
  17931. advanceratio:
  17932. description: 首付比率
  17933. type: number
  17934. buildtype:
  17935. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  17936. type: integer
  17937. buyorsell:
  17938. description: 方向 - 0:买 1:卖
  17939. type: integer
  17940. charge:
  17941. description: 手续费
  17942. type: number
  17943. closecharge:
  17944. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17945. type: number
  17946. closeexchagechargevalue:
  17947. description: 平仓交易所手续费设置值
  17948. type: number
  17949. closefeealgorithm:
  17950. description: 平仓手续费收取方式 1:比率 2:固定
  17951. type: integer
  17952. closememberchargevalue:
  17953. description: 平仓会员手续费设置值
  17954. type: number
  17955. closepl:
  17956. description: 平仓盈亏
  17957. type: number
  17958. closepl2:
  17959. description: 平仓盈亏[逐笔]
  17960. type: number
  17961. closeqty:
  17962. description: 平仓数量(先建后平操作 需要记录)
  17963. type: number
  17964. creditamount:
  17965. description: 授信金额
  17966. type: number
  17967. decimalplace:
  17968. description: 商品报价小数位
  17969. type: integer
  17970. enumdicname:
  17971. description: 单位名称
  17972. type: string
  17973. gcaccountid:
  17974. description: 账户ID[合约币种]
  17975. type: integer
  17976. goodscode:
  17977. description: 商品代码
  17978. type: string
  17979. goodsid:
  17980. description: 商品ID
  17981. type: integer
  17982. goodsname:
  17983. description: 商品名称
  17984. type: string
  17985. goodunitid:
  17986. description: 商品单位id
  17987. type: integer
  17988. intclosepl:
  17989. description: 整型盈亏(用于交易结算试算平衡-收益权)
  17990. type: integer
  17991. isconfirmexercise:
  17992. description: 是否确认行权- 0:否 1:是
  17993. type: integer
  17994. ismain:
  17995. description: 是否主单 - 0:不是 1:是
  17996. type: integer
  17997. ispreexercise:
  17998. description: 是否预申报- 0:否 1:是
  17999. type: integer
  18000. isreckoned:
  18001. description: 是否结算 - 0:未结算 1:已结算
  18002. type: integer
  18003. listingselecttype:
  18004. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  18005. type: integer
  18006. marketid:
  18007. description: 市场ID
  18008. type: integer
  18009. marketname:
  18010. description: 市场名称
  18011. type: string
  18012. matchaccountid:
  18013. description: 对手账号id
  18014. type: integer
  18015. memberuserid:
  18016. description: 会员id 个人投资者 需要填写
  18017. type: integer
  18018. opencharge:
  18019. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  18020. type: number
  18021. openexchagechargevalue:
  18022. description: 建仓交易所手续费设置值
  18023. type: number
  18024. openfeealgorithm:
  18025. description: 建仓手续费收取方式 1:比率 2:固定
  18026. type: integer
  18027. openmemberchargevalue:
  18028. description: 建仓会员手续费设置值
  18029. type: number
  18030. openqty:
  18031. description: 开仓数量(先建后平操作 需要记录)
  18032. type: number
  18033. optiontype:
  18034. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  18035. type: integer
  18036. orderid:
  18037. description: 委托单号
  18038. type: string
  18039. payamount:
  18040. description: 支付金额(付款金额)
  18041. type: number
  18042. performanceplanid:
  18043. description: 履约计划ID[期权]
  18044. type: integer
  18045. performancestatus:
  18046. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  18047. type: integer
  18048. preexerciseprice:
  18049. description: 预申报价格
  18050. type: number
  18051. premium:
  18052. description: 权利金 - [持仓单的权利金]
  18053. type: number
  18054. qtydecimalplace:
  18055. description: 商品报价小数位
  18056. type: integer
  18057. recvamount:
  18058. description: 到账金额 = 成交金额 - 手续费
  18059. type: number
  18060. relatedouttradeid:
  18061. description: 关联外部成交单ID
  18062. type: integer
  18063. status:
  18064. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  18065. type: integer
  18066. totalamount:
  18067. description: 订单总额 = 成交金额 + 手续费
  18068. type: number
  18069. tradeamount:
  18070. description: 成交金额[账户币种,用于所有权]
  18071. type: number
  18072. tradedate:
  18073. description: 交易日(yyyyMMdd)
  18074. type: string
  18075. tradeid:
  18076. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18077. type: string
  18078. trademode:
  18079. description: 交易模式
  18080. type: integer
  18081. tradeprice:
  18082. description: 成交价格
  18083. type: number
  18084. tradeproperty:
  18085. description: 交易属性
  18086. type: integer
  18087. tradeqty:
  18088. description: 成交数量
  18089. type: number
  18090. tradetime:
  18091. description: 成交时间
  18092. type: string
  18093. tradetype:
  18094. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  18095. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  18096. type: integer
  18097. required:
  18098. - accountid
  18099. - buyorsell
  18100. - goodsid
  18101. - marketid
  18102. - memberuserid
  18103. - orderid
  18104. - tradeamount
  18105. - tradedate
  18106. - tradeid
  18107. - tradeprice
  18108. - tradeqty
  18109. - tradetime
  18110. type: object
  18111. order.QueryTradeOrderDetailRsp:
  18112. properties:
  18113. accountid:
  18114. description: 账户ID[报价币种]
  18115. type: integer
  18116. buildtype:
  18117. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  18118. type: integer
  18119. buyorsell:
  18120. description: 买卖 - 0:买 1:卖
  18121. type: integer
  18122. cancelorderid:
  18123. description: 撤单单号(撤单时填写)
  18124. type: string
  18125. cancelqty:
  18126. description: 撤单数量
  18127. type: number
  18128. clienttype:
  18129. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  18130. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  18131. type: integer
  18132. closefreezecharge:
  18133. description: 平仓冻结手续费(先建后平操作,需要记录)
  18134. type: number
  18135. closeqty:
  18136. description: 平仓数量(先建后平操作 需要记录)
  18137. type: number
  18138. closetradeqty:
  18139. description: 平仓成交数量(先建后平操作,需要记录)
  18140. type: number
  18141. closeunfreezecharge:
  18142. description: 平仓解冻手续费(先建后平操作,需要记录)
  18143. type: number
  18144. decimalplace:
  18145. description: 商品报价小数位
  18146. type: integer
  18147. delistingtype:
  18148. description: 摘牌类型 - 1:价格最优 2:点选成交
  18149. type: integer
  18150. enableqty:
  18151. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  18152. type: number
  18153. enumdicname:
  18154. description: 单位名称
  18155. type: string
  18156. freezecharge:
  18157. description: 冻结手续费
  18158. type: number
  18159. freezemargin:
  18160. description: 冻结保证金(冻结交易金额)
  18161. type: number
  18162. goodscode:
  18163. description: 商品代码
  18164. type: string
  18165. goodsid:
  18166. description: 商品ID
  18167. type: integer
  18168. goodsname:
  18169. description: 商品名称
  18170. type: string
  18171. goodunitid:
  18172. description: 商品单位id
  18173. type: integer
  18174. listingselecttype:
  18175. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  18176. type: integer
  18177. marketid:
  18178. description: 市场ID
  18179. type: integer
  18180. marketname:
  18181. description: 市场名称
  18182. type: string
  18183. openfreezecharge:
  18184. description: 开仓冻结手续费(先建后平操作,需要记录)
  18185. type: number
  18186. openqty:
  18187. description: 开仓数量(先建后平操作,需要记录)
  18188. type: number
  18189. opentradeqty:
  18190. description: 开仓成交数量(先建后平操作,需要记录)
  18191. type: number
  18192. openunfreezecharge:
  18193. description: 开仓解冻手续费(先建后平操作,需要记录)
  18194. type: number
  18195. operatetype:
  18196. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  18197. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  18198. 15:管理端协议转让
  18199. type: integer
  18200. operatorid:
  18201. description: 登录账号(LoginID)
  18202. type: integer
  18203. orderid:
  18204. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18205. type: string
  18206. orderprice:
  18207. description: 委托价格
  18208. type: number
  18209. orderqty:
  18210. description: 委托数量
  18211. type: number
  18212. ordersrc:
  18213. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  18214. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  18215. type: integer
  18216. orderstatus:
  18217. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  18218. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  18219. 16:成交失败违约(荷兰式竞拍专用)
  18220. type: integer
  18221. ordertime:
  18222. description: 委托时间
  18223. type: string
  18224. preorderid:
  18225. description: 关联预埋单号(止盈止损单时填写)
  18226. type: string
  18227. pricemode:
  18228. description: '取价方式 - 1:市价 2: 限价'
  18229. type: integer
  18230. qtydecimalplace:
  18231. description: 商品报价小数位
  18232. type: integer
  18233. relatedid:
  18234. description: 关联单号(交割单)
  18235. type: string
  18236. tradedate:
  18237. description: 交易日(yyyyMMdd)
  18238. type: string
  18239. trademode:
  18240. description: 交易模式
  18241. type: integer
  18242. tradeqty:
  18243. description: 成交数量
  18244. type: number
  18245. unfreezecharge:
  18246. description: 解冻手续费
  18247. type: number
  18248. unfreezemargin:
  18249. description: 解冻保证金
  18250. type: number
  18251. validtime:
  18252. description: 有效期限
  18253. type: string
  18254. validtype:
  18255. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  18256. type: integer
  18257. volumetype:
  18258. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  18259. type: integer
  18260. required:
  18261. - accountid
  18262. - buildtype
  18263. - buyorsell
  18264. - goodsid
  18265. - marketid
  18266. - operatetype
  18267. - orderqty
  18268. - ordertime
  18269. - pricemode
  18270. - tradedate
  18271. - validtype
  18272. type: object
  18273. order.QueryTradePositionRsp:
  18274. properties:
  18275. accountid:
  18276. description: 资金账户
  18277. type: integer
  18278. agreeunit:
  18279. description: 合约单位
  18280. type: number
  18281. averageprice:
  18282. description: 持仓均价
  18283. type: number
  18284. buyorsell:
  18285. description: 方向 - 0:买 1:卖
  18286. type: integer
  18287. closetotalqty:
  18288. description: 平仓总数量
  18289. type: number
  18290. curholderamount:
  18291. description: 当前持仓总金额[商品币种]
  18292. type: number
  18293. curpositionqty:
  18294. description: 当前持仓总数量
  18295. type: number
  18296. currencyid:
  18297. description: 报价货币ID
  18298. type: integer
  18299. curtdposition:
  18300. description: 期末今日头寸
  18301. type: number
  18302. decimalplace:
  18303. description: 报价小数位
  18304. type: integer
  18305. enableqty:
  18306. description: 可用量
  18307. type: number
  18308. fretdposition:
  18309. description: 冻结今日头寸
  18310. type: number
  18311. frozenqty:
  18312. description: 持仓冻结数量
  18313. type: number
  18314. goodscode:
  18315. description: 商品代码
  18316. type: string
  18317. goodsid:
  18318. description: 商品Id
  18319. type: integer
  18320. goodsname:
  18321. description: 商品名称
  18322. type: string
  18323. goodunit:
  18324. description: 报价单位
  18325. type: string
  18326. goodunitid:
  18327. description: 报价单位ID
  18328. type: integer
  18329. holderamount:
  18330. description: 期初持仓总金额[商品币种]
  18331. type: number
  18332. lastprice:
  18333. description: 最新价
  18334. type: number
  18335. marketamount:
  18336. description: 市值
  18337. type: number
  18338. marketid:
  18339. description: 所属市场ID
  18340. type: integer
  18341. openreqqty:
  18342. description: 开仓申请数量(用于比较最大持仓数量)
  18343. type: number
  18344. opentotalqty:
  18345. description: 开仓总数量
  18346. type: number
  18347. otherfrozenqty:
  18348. description: 持仓其他冻结数量(交割冻结)
  18349. type: number
  18350. positionpl:
  18351. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  18352. * 合约单位
  18353. type: number
  18354. positionplrate:
  18355. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  18356. type: number
  18357. positionqty:
  18358. description: 期初持仓数量
  18359. type: number
  18360. qtydecimalplace:
  18361. description: 成交量小数位
  18362. type: integer
  18363. refgoodscode:
  18364. description: 参考商品代码
  18365. type: string
  18366. refgoodsid:
  18367. description: 参考商品ID
  18368. type: integer
  18369. tnqty:
  18370. description: T+N冻结总量
  18371. type: number
  18372. tnusedqty:
  18373. description: T+N使用量(可以使用T+N的冻结数量)
  18374. type: number
  18375. trademode:
  18376. description: 交易模式
  18377. type: integer
  18378. tradeproperty:
  18379. description: 交易属性
  18380. type: integer
  18381. usedmargin:
  18382. description: 占用保证金[商品币种]
  18383. type: number
  18384. required:
  18385. - goodsid
  18386. type: object
  18387. pb.GoodsMarginCfgStruct:
  18388. properties:
  18389. CustomerTypeID:
  18390. description: 投资者客户类型
  18391. type: integer
  18392. GoodsID:
  18393. description: 商品ID
  18394. type: integer
  18395. IsDefault:
  18396. description: 是否默认标志位
  18397. type: integer
  18398. LockMarginValue:
  18399. description: 锁仓保证金
  18400. type: number
  18401. MarginAlgorithm:
  18402. description: 保证金计算方式
  18403. type: integer
  18404. MarketMarginValue:
  18405. description: 即市保证金值
  18406. type: number
  18407. RealMarginAlgorithm:
  18408. description: 实付保证金计算方式
  18409. type: integer
  18410. RealMarginValue:
  18411. description: 实付比例
  18412. type: number
  18413. ReckonMarginValue:
  18414. description: 结算保证金值
  18415. type: number
  18416. type: object
  18417. quote.HistoryData:
  18418. properties:
  18419. c:
  18420. description: 收盘价
  18421. type: number
  18422. f:
  18423. description: 是否补充数据
  18424. type: boolean
  18425. h:
  18426. description: 最高价
  18427. type: number
  18428. hv:
  18429. description: 持仓量
  18430. type: integer
  18431. l:
  18432. description: 最低价
  18433. type: number
  18434. o:
  18435. description: 开盘价
  18436. type: number
  18437. s:
  18438. description: 结算价,日线周期(包括)以上才有
  18439. type: number
  18440. ts:
  18441. description: 时间
  18442. type: string
  18443. tt:
  18444. description: 总金额
  18445. type: number
  18446. tv:
  18447. description: 总量(成交量)
  18448. type: integer
  18449. type: object
  18450. quote.HistoryTikData:
  18451. properties:
  18452. AV:
  18453. description: 卖量
  18454. type: integer
  18455. Ask:
  18456. description: 卖价
  18457. type: number
  18458. BV:
  18459. description: 买量
  18460. type: integer
  18461. Bid:
  18462. description: 买价
  18463. type: number
  18464. HI:
  18465. description: 单笔持仓
  18466. type: integer
  18467. HV:
  18468. description: 持仓量
  18469. type: integer
  18470. PE:
  18471. description: 现价
  18472. type: number
  18473. TDR:
  18474. description: 交易方向,0:买 1:卖
  18475. type: integer
  18476. TK:
  18477. description: 交易类型
  18478. type: integer
  18479. TS:
  18480. description: 行情时间文本
  18481. type: string
  18482. TT:
  18483. description: 现金额
  18484. type: number
  18485. Vol:
  18486. description: 现量
  18487. type: integer
  18488. type: object
  18489. quote.QueryQuoteDayRsp:
  18490. properties:
  18491. ask:
  18492. description: 卖1
  18493. type: number
  18494. ask2:
  18495. description: 卖2
  18496. type: number
  18497. ask3:
  18498. description: 卖3
  18499. type: number
  18500. ask4:
  18501. description: 卖4
  18502. type: number
  18503. ask5:
  18504. description: 卖5
  18505. type: number
  18506. ask6:
  18507. description: 卖6
  18508. type: number
  18509. ask7:
  18510. description: 卖7
  18511. type: number
  18512. ask8:
  18513. description: 卖8
  18514. type: number
  18515. ask9:
  18516. description: 卖9
  18517. type: number
  18518. ask10:
  18519. description: 卖10
  18520. type: number
  18521. askorderid:
  18522. description: 卖单号1
  18523. type: integer
  18524. askorderid2:
  18525. description: 卖单号2
  18526. type: integer
  18527. askorderid3:
  18528. description: 卖单号3
  18529. type: integer
  18530. askorderid4:
  18531. description: 卖单号4
  18532. type: integer
  18533. askorderid5:
  18534. description: 卖单号5
  18535. type: integer
  18536. askordervolume:
  18537. description: 卖单量1
  18538. type: integer
  18539. askordervolume2:
  18540. description: 卖单量2
  18541. type: integer
  18542. askordervolume3:
  18543. description: 卖单量3
  18544. type: integer
  18545. askordervolume4:
  18546. description: 卖单量4
  18547. type: integer
  18548. askordervolume5:
  18549. description: 卖单量5
  18550. type: integer
  18551. askordervolume6:
  18552. description: 卖单量6
  18553. type: integer
  18554. askordervolume7:
  18555. description: 卖单量7
  18556. type: integer
  18557. askordervolume8:
  18558. description: 卖单量8
  18559. type: integer
  18560. askordervolume9:
  18561. description: 卖单量9
  18562. type: integer
  18563. askordervolume10:
  18564. description: 卖单量10
  18565. type: integer
  18566. askqueueinfo:
  18567. description: 大利市卖港股用
  18568. type: string
  18569. askvolume:
  18570. description: 卖量1
  18571. type: integer
  18572. askvolume2:
  18573. description: 卖量2
  18574. type: integer
  18575. askvolume3:
  18576. description: 卖量3
  18577. type: integer
  18578. askvolume4:
  18579. description: 卖量4
  18580. type: integer
  18581. askvolume5:
  18582. description: 卖量5
  18583. type: integer
  18584. askvolume6:
  18585. description: 卖量6
  18586. type: integer
  18587. askvolume7:
  18588. description: 卖量7
  18589. type: integer
  18590. askvolume8:
  18591. description: 卖量8
  18592. type: integer
  18593. askvolume9:
  18594. description: 卖量9
  18595. type: integer
  18596. askvolume10:
  18597. description: 卖量10
  18598. type: integer
  18599. averageprice:
  18600. description: 均价
  18601. type: number
  18602. bid:
  18603. description: 买1
  18604. type: number
  18605. bid2:
  18606. description: 买2
  18607. type: number
  18608. bid3:
  18609. description: 买3
  18610. type: number
  18611. bid4:
  18612. description: 买4
  18613. type: number
  18614. bid5:
  18615. description: 买5
  18616. type: number
  18617. bid6:
  18618. description: 买6
  18619. type: number
  18620. bid7:
  18621. description: 买7
  18622. type: number
  18623. bid8:
  18624. description: 买8
  18625. type: number
  18626. bid9:
  18627. description: 买9
  18628. type: number
  18629. bid10:
  18630. description: 买10
  18631. type: number
  18632. bidorderid:
  18633. description: 买单号1
  18634. type: integer
  18635. bidorderid2:
  18636. description: 买单号2
  18637. type: integer
  18638. bidorderid3:
  18639. description: 买单号3
  18640. type: integer
  18641. bidorderid4:
  18642. description: 买单号4
  18643. type: integer
  18644. bidorderid5:
  18645. description: 买单号5
  18646. type: integer
  18647. bidordervolume:
  18648. description: 买单量1
  18649. type: integer
  18650. bidordervolume2:
  18651. description: 买单量2
  18652. type: integer
  18653. bidordervolume3:
  18654. description: 买单量3
  18655. type: integer
  18656. bidordervolume4:
  18657. description: 买单量4
  18658. type: integer
  18659. bidordervolume5:
  18660. description: 买单量5
  18661. type: integer
  18662. bidordervolume6:
  18663. description: 买单量6
  18664. type: integer
  18665. bidordervolume7:
  18666. description: 买单量7
  18667. type: integer
  18668. bidordervolume8:
  18669. description: 买单量8
  18670. type: integer
  18671. bidordervolume9:
  18672. description: 买单量9
  18673. type: integer
  18674. bidordervolume10:
  18675. description: 买单量10
  18676. type: integer
  18677. bidqueueinfo:
  18678. description: 大利市买港股用
  18679. type: string
  18680. bidvolume:
  18681. description: 买量1
  18682. type: integer
  18683. bidvolume2:
  18684. description: 买量2
  18685. type: integer
  18686. bidvolume3:
  18687. description: 买量3
  18688. type: integer
  18689. bidvolume4:
  18690. description: 买量4
  18691. type: integer
  18692. bidvolume5:
  18693. description: 买量5
  18694. type: integer
  18695. bidvolume6:
  18696. description: 买量6
  18697. type: integer
  18698. bidvolume7:
  18699. description: 买量7
  18700. type: integer
  18701. bidvolume8:
  18702. description: 买量8
  18703. type: integer
  18704. bidvolume9:
  18705. description: 买量9
  18706. type: integer
  18707. bidvolume10:
  18708. description: 买量10
  18709. type: integer
  18710. calloptionpremiums:
  18711. description: 认购期权1
  18712. type: integer
  18713. calloptionpremiums2:
  18714. description: 认购期权2
  18715. type: integer
  18716. calloptionpremiums3:
  18717. description: 认购期权3
  18718. type: integer
  18719. calloptionpremiums4:
  18720. description: 认购期权4
  18721. type: integer
  18722. calloptionpremiums5:
  18723. description: 认购期权5
  18724. type: integer
  18725. cleartime:
  18726. description: 清盘时间
  18727. type: integer
  18728. exchangecode:
  18729. description: 交易所代码
  18730. type: integer
  18731. exchangedate:
  18732. description: 交易日
  18733. type: integer
  18734. goodscode:
  18735. description: 商品代码
  18736. type: string
  18737. grepmarketprice:
  18738. description: 暗盘价 港股专用
  18739. type: number
  18740. highest:
  18741. description: 最高价
  18742. type: number
  18743. holdincrement:
  18744. description: 单笔持仓
  18745. type: integer
  18746. holdvolume:
  18747. description: 持仓
  18748. type: integer
  18749. iep:
  18750. description: 平衡价 港股专用
  18751. type: number
  18752. iev:
  18753. description: 平衡量 港股专用
  18754. type: number
  18755. inventory:
  18756. description: 库存
  18757. type: integer
  18758. iscleared:
  18759. description: 是否清盘标志
  18760. type: integer
  18761. issettled:
  18762. description: 是否结算标志
  18763. type: integer
  18764. last:
  18765. description: 最新价
  18766. type: number
  18767. lastlot:
  18768. description: 最新成交手数
  18769. type: integer
  18770. lasttime:
  18771. description: 行情时间(只有现价变化行情时间才变化)
  18772. type: string
  18773. lastturnover:
  18774. description: 最新成交金额
  18775. type: number
  18776. lastvolume:
  18777. description: 最新成交量
  18778. type: integer
  18779. limitdown:
  18780. description: 跌停价
  18781. type: number
  18782. limitup:
  18783. description: 涨停价
  18784. type: number
  18785. lowest:
  18786. description: 最低价
  18787. type: number
  18788. nontotalholdervolume:
  18789. description: 非交易持仓量
  18790. type: integer
  18791. nontotallot:
  18792. description: 非交易总手数
  18793. type: integer
  18794. nontotalturnover:
  18795. description: 非交易总金额
  18796. type: integer
  18797. nontotalvolume:
  18798. description: 非交易总量
  18799. type: integer
  18800. opened:
  18801. description: 开盘价
  18802. type: number
  18803. opentime:
  18804. description: 开盘时间
  18805. type: string
  18806. orderid:
  18807. description: 序号
  18808. type: integer
  18809. preclose:
  18810. description: 昨收
  18811. type: number
  18812. preholdvolume:
  18813. description: 昨持仓
  18814. type: integer
  18815. presettle:
  18816. description: 昨结价
  18817. type: number
  18818. publictradetype:
  18819. description: 公共交易标志类型 港股专用
  18820. type: string
  18821. putoptionpremiums:
  18822. description: 认沽期权1
  18823. type: integer
  18824. putoptionpremiums2:
  18825. description: 认沽期权2
  18826. type: integer
  18827. putoptionpremiums3:
  18828. description: 认沽期权3
  18829. type: integer
  18830. putoptionpremiums4:
  18831. description: 认沽期权4
  18832. type: integer
  18833. putoptionpremiums5:
  18834. description: 认沽期权5
  18835. type: integer
  18836. settle:
  18837. description: 结算价
  18838. type: number
  18839. strikeprice:
  18840. description: 发行价
  18841. type: number
  18842. totalaskvolume:
  18843. description: 内盘
  18844. type: integer
  18845. totalbidvolume:
  18846. description: 外盘
  18847. type: integer
  18848. totallot:
  18849. description: 总手数
  18850. type: integer
  18851. totalturnover:
  18852. description: 总金额
  18853. type: number
  18854. totalvolume:
  18855. description: 总量
  18856. type: integer
  18857. utclasttime:
  18858. description: utc的行情时间
  18859. type: string
  18860. type: object
  18861. quote.QueryTSDataRsp:
  18862. properties:
  18863. Count:
  18864. description: 交易日应有数据个数
  18865. type: integer
  18866. decimalPlace:
  18867. description: 小数位
  18868. type: integer
  18869. endTime:
  18870. description: 结束时间
  18871. type: string
  18872. goodsCode:
  18873. description: 商品代码
  18874. type: string
  18875. historyDatas:
  18876. description: 历史数据
  18877. items:
  18878. $ref: '#/definitions/quote.HistoryData'
  18879. type: array
  18880. outGoodsCode:
  18881. description: 外部商品代码
  18882. type: string
  18883. preSettle:
  18884. description: 昨结价
  18885. type: number
  18886. runSteps:
  18887. description: 交易日开休市计划
  18888. items:
  18889. $ref: '#/definitions/quote.TSDataRunStep'
  18890. type: array
  18891. startTime:
  18892. description: 开始时间
  18893. type: string
  18894. tradeDate:
  18895. description: 交易日
  18896. type: string
  18897. type: object
  18898. quote.TSDataRunStep:
  18899. properties:
  18900. end:
  18901. description: 真实结束时间
  18902. type: string
  18903. endflag:
  18904. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  18905. type: integer
  18906. endtime:
  18907. description: 结束时间(HH:mm)
  18908. type: string
  18909. endweekday:
  18910. description: 结束周几
  18911. type: integer
  18912. groupid:
  18913. description: 分组ID
  18914. type: integer
  18915. runstep:
  18916. description: 运行阶段 - 2:连续交易
  18917. type: integer
  18918. sectionid:
  18919. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  18920. 结束时间=结算时间 结束周几=结算周几
  18921. type: integer
  18922. start:
  18923. description: 真实开始时间
  18924. type: string
  18925. startflag:
  18926. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  18927. type: integer
  18928. starttime:
  18929. description: 起始时间(HH:mm)
  18930. type: string
  18931. startweekday:
  18932. description: 起始周几
  18933. type: integer
  18934. tradeweekday:
  18935. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  18936. type: integer
  18937. type: object
  18938. szdz.QueryConvertLogRsp:
  18939. properties:
  18940. accountid:
  18941. description: 资金账户ID
  18942. type: integer
  18943. clientticket:
  18944. description: 客户端流水号
  18945. type: string
  18946. converttype:
  18947. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  18948. type: integer
  18949. createtime:
  18950. description: 记账时间
  18951. type: string
  18952. daymaxvalue:
  18953. description: 配置当日最大转入限制
  18954. type: number
  18955. daymaxvalue2:
  18956. description: 配置当日最大转入限制(转入)
  18957. type: number
  18958. goodscode:
  18959. description: 商品代码
  18960. type: string
  18961. goodsname:
  18962. description: 商品名称
  18963. type: string
  18964. handlestatus:
  18965. description: 处理状态
  18966. type: integer
  18967. innergoodsid:
  18968. description: 内部商品ID
  18969. type: integer
  18970. inratio:
  18971. description: 配置转入比值
  18972. type: integer
  18973. invalue:
  18974. description: 目标值
  18975. type: number
  18976. logid:
  18977. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18978. type: integer
  18979. mobile:
  18980. description: 手机号码(加密存储)
  18981. type: string
  18982. outergoodscode:
  18983. description: 外部商品代码[JD\PD]
  18984. type: string
  18985. outratio:
  18986. description: 配置转出比值
  18987. type: integer
  18988. outvalue:
  18989. description: 源值
  18990. type: number
  18991. pddecimalplace:
  18992. description: PD小数位
  18993. type: integer
  18994. qty:
  18995. description: 数量
  18996. type: string
  18997. remark:
  18998. description: 备注
  18999. type: string
  19000. sessionid:
  19001. description: 会话ID
  19002. type: integer
  19003. timemaxvalue:
  19004. description: 配置单次最大转入限制
  19005. type: number
  19006. timemaxvalue2:
  19007. description: 配置单次最大转入限制(转入)
  19008. type: number
  19009. timeminvalue:
  19010. description: 配置单次最小数量限制
  19011. type: number
  19012. timeminvalue2:
  19013. description: 配置单次最小数量限制(转入)
  19014. type: number
  19015. tradedate:
  19016. description: 交易日(yyyyMMdd)
  19017. type: string
  19018. userid:
  19019. description: 用户ID
  19020. type: integer
  19021. required:
  19022. - logid
  19023. type: object
  19024. szdz.QueryGoodsPickupRsp:
  19025. properties:
  19026. accountid:
  19027. description: 账户ID
  19028. type: integer
  19029. address:
  19030. description: 提货人详细地址
  19031. type: string
  19032. auditer:
  19033. description: 审核人
  19034. type: integer
  19035. audittime:
  19036. description: 审核时间
  19037. type: string
  19038. cardnum:
  19039. description: 提货人证件号码
  19040. type: string
  19041. cardtypeid:
  19042. description: 提货人证件类型
  19043. type: integer
  19044. checkremark:
  19045. description: 审核备注
  19046. type: string
  19047. goodscode:
  19048. description: 商品代码
  19049. type: string
  19050. goodsid:
  19051. description: 商品ID
  19052. type: integer
  19053. goodsname:
  19054. description: 商品名称
  19055. type: string
  19056. handlestatus:
  19057. description: 处理状态
  19058. type: integer
  19059. marketid:
  19060. description: 市场ID
  19061. type: integer
  19062. phonenum:
  19063. description: 提货人联系方式
  19064. type: string
  19065. qty:
  19066. description: 提货数量
  19067. type: number
  19068. recivername:
  19069. description: 提货人姓名
  19070. type: string
  19071. reqtime:
  19072. description: 更新时间
  19073. type: string
  19074. takemode:
  19075. description: 提货方式 - 2:自提 3:配送
  19076. type: integer
  19077. takeorderid:
  19078. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  19079. type: string
  19080. takeorderstatus:
  19081. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  19082. type: integer
  19083. takeremark:
  19084. description: 提货备注
  19085. type: string
  19086. tradedate:
  19087. description: 交易日(yyyyMMdd)
  19088. type: string
  19089. userid:
  19090. description: 用户ID
  19091. type: integer
  19092. required:
  19093. - takeorderid
  19094. type: object
  19095. szdz.QueryRecieptOrderRsp:
  19096. properties:
  19097. accountName:
  19098. description: 所属账号名称(已脱敏)
  19099. type: string
  19100. accountid:
  19101. description: 资金账号
  19102. type: integer
  19103. buyorsell:
  19104. description: 方向 - 0:买 1:卖
  19105. type: integer
  19106. enableqty:
  19107. description: 可摘数量
  19108. type: integer
  19109. goodscode:
  19110. description: 商品代码
  19111. type: string
  19112. goodsid:
  19113. description: 商品ID
  19114. type: integer
  19115. goodsname:
  19116. description: 商品名称
  19117. type: string
  19118. orderid:
  19119. description: 委托单号
  19120. type: string
  19121. orderprice:
  19122. description: 委托价格
  19123. type: number
  19124. ordertime:
  19125. description: 委托时间
  19126. type: string
  19127. tradedate:
  19128. description: 交易日(yyyyMMdd)
  19129. type: string
  19130. required:
  19131. - ordertime
  19132. type: object
  19133. szdz.QuerySZDZTradePositionRsp:
  19134. properties:
  19135. accountid:
  19136. description: 账号Id
  19137. type: integer
  19138. agreeunit:
  19139. description: 合约单位
  19140. type: number
  19141. averageprice:
  19142. description: 持仓均价
  19143. type: number
  19144. buyorsell:
  19145. description: 方向 - 0:买 1:卖
  19146. type: integer
  19147. closetotalqty:
  19148. description: 平仓总数量
  19149. type: integer
  19150. curholderamount:
  19151. description: 当前持仓总金额
  19152. type: number
  19153. curpositionqty:
  19154. description: 当前持仓总数量
  19155. type: integer
  19156. currencyid:
  19157. description: 报价货币ID
  19158. type: integer
  19159. curtdposition:
  19160. description: 期末今日头寸
  19161. type: integer
  19162. decimalplace:
  19163. description: 报价小数位
  19164. type: integer
  19165. enableqty:
  19166. description: 可用量
  19167. type: integer
  19168. fretdposition:
  19169. description: 冻结今日头寸
  19170. type: integer
  19171. frozenqty:
  19172. description: 持仓冻结数量
  19173. type: integer
  19174. goodscode:
  19175. description: 商品代码(内部)
  19176. type: string
  19177. goodsid:
  19178. description: 商品Id
  19179. type: integer
  19180. goodsname:
  19181. description: 商品名称
  19182. type: string
  19183. goodunit:
  19184. description: 报价单位
  19185. type: string
  19186. goodunitid:
  19187. description: 报价单位ID
  19188. type: integer
  19189. holderamount:
  19190. description: 期初持仓总金额
  19191. type: number
  19192. marketid:
  19193. description: 市场ID
  19194. type: integer
  19195. openreqqty:
  19196. description: 开仓申请数量
  19197. type: integer
  19198. opentotalqty:
  19199. description: 开仓总数量
  19200. type: integer
  19201. otherfrozenqty:
  19202. description: 持仓其他冻结数量(交割冻结)
  19203. type: integer
  19204. positionqty:
  19205. description: 期初持仓数量
  19206. type: integer
  19207. szdz3freezqty:
  19208. description: 尚志大宗转换冻结总数量
  19209. type: integer
  19210. tnqty:
  19211. description: T+N冻结总量
  19212. type: integer
  19213. tnusedqty:
  19214. description: T+N使用量
  19215. type: integer
  19216. trademode:
  19217. description: 交易模式
  19218. type: integer
  19219. usedmargin:
  19220. description: 占用保证金
  19221. type: number
  19222. type: object
  19223. taaccount.QueryAmountLogRsp:
  19224. properties:
  19225. OPERATETYPENAME:
  19226. description: 资金操作类型名称
  19227. type: string
  19228. accountid:
  19229. description: 资金账户ID
  19230. type: integer
  19231. agoodscode:
  19232. description: 竞拍商品代码
  19233. type: string
  19234. agoodsname:
  19235. description: 竞拍商品名称
  19236. type: string
  19237. amount:
  19238. description: 资金金额
  19239. type: number
  19240. amountadjusttype:
  19241. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  19242. type: integer
  19243. autoid:
  19244. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  19245. type: integer
  19246. balance:
  19247. description: 期初余额
  19248. type: number
  19249. businesscode:
  19250. description: 业务编号
  19251. type: integer
  19252. createtime:
  19253. description: 发生时间
  19254. type: string
  19255. currencyid:
  19256. description: 币种ID
  19257. type: integer
  19258. currentbalance:
  19259. description: 期末余额(变动后金额)
  19260. type: number
  19261. dgoodscode:
  19262. description: 交割商品代码
  19263. type: string
  19264. dgoodsname:
  19265. description: 交割商品名称
  19266. type: string
  19267. goodscode:
  19268. description: 商品代码
  19269. type: string
  19270. goodsid:
  19271. description: 商品ID
  19272. type: integer
  19273. goodsname:
  19274. description: 商品名称
  19275. type: string
  19276. marketid:
  19277. description: 市场ID
  19278. type: integer
  19279. marketname:
  19280. description: 市场名称
  19281. type: string
  19282. moneyticket:
  19283. description: 资金流水号:银行端流水号
  19284. type: integer
  19285. operatetype:
  19286. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  19287. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  19288. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  19289. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  19290. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  19291. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  19292. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  19293. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  19294. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  19295. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  19296. type: integer
  19297. relationorderid:
  19298. description: 关联单号
  19299. type: string
  19300. remark:
  19301. description: 备注
  19302. type: string
  19303. trademode:
  19304. description: 交易模式
  19305. type: integer
  19306. required:
  19307. - accountid
  19308. - amount
  19309. - amountadjusttype
  19310. - autoid
  19311. - balance
  19312. - createtime
  19313. - currentbalance
  19314. - operatetype
  19315. type: object
  19316. taaccount.QueryHisAmountLogRsp:
  19317. properties:
  19318. OPERATETYPENAME:
  19319. description: 资金操作类型名称
  19320. type: string
  19321. accountid:
  19322. description: 资金账户ID
  19323. type: integer
  19324. agoodscode:
  19325. description: 竞拍商品代码
  19326. type: string
  19327. agoodsname:
  19328. description: 竞拍商品名称
  19329. type: string
  19330. amount:
  19331. description: 资金金额
  19332. type: number
  19333. amountadjusttype:
  19334. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  19335. type: integer
  19336. autoid:
  19337. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  19338. type: integer
  19339. balance:
  19340. description: 期初余额
  19341. type: number
  19342. businesscode:
  19343. description: 业务编号
  19344. type: integer
  19345. createtime:
  19346. description: 发生时间
  19347. type: string
  19348. currencyid:
  19349. description: 币种ID
  19350. type: integer
  19351. currentbalance:
  19352. description: 期末余额(变动后金额)
  19353. type: number
  19354. dgoodscode:
  19355. description: 交割商品代码
  19356. type: string
  19357. dgoodsname:
  19358. description: 交割商品名称
  19359. type: string
  19360. goodscode:
  19361. description: 商品代码
  19362. type: string
  19363. goodsid:
  19364. description: 商品ID
  19365. type: integer
  19366. goodsname:
  19367. description: 商品名称
  19368. type: string
  19369. histradedate:
  19370. description: 历史交易日
  19371. type: string
  19372. isvaliddata:
  19373. description: 是否有效 - 0:无效 1:有效
  19374. type: integer
  19375. marketid:
  19376. description: 市场ID
  19377. type: integer
  19378. marketname:
  19379. description: 市场名称
  19380. type: string
  19381. moneyticket:
  19382. description: 资金流水号:银行端流水号
  19383. type: integer
  19384. operatetype:
  19385. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  19386. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  19387. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  19388. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  19389. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  19390. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  19391. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  19392. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  19393. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  19394. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  19395. type: integer
  19396. relationorderid:
  19397. description: 关联单号
  19398. type: string
  19399. remark:
  19400. description: 备注
  19401. type: string
  19402. trademode:
  19403. description: 交易模式
  19404. type: integer
  19405. required:
  19406. - accountid
  19407. - amount
  19408. - amountadjusttype
  19409. - autoid
  19410. - balance
  19411. - createtime
  19412. - currentbalance
  19413. - histradedate
  19414. - operatetype
  19415. type: object
  19416. trade.QueryRecieptOrderRsp:
  19417. properties:
  19418. accountName:
  19419. description: 所属账号名称(已脱敏)
  19420. type: string
  19421. accountid:
  19422. description: 资金账号
  19423. type: integer
  19424. buyorsell:
  19425. description: 方向 - 0:买 1:卖
  19426. type: integer
  19427. enableqty:
  19428. description: 可摘数量
  19429. type: integer
  19430. goodscode:
  19431. description: 商品代码
  19432. type: string
  19433. goodsid:
  19434. description: 商品ID
  19435. type: integer
  19436. goodsname:
  19437. description: 商品名称
  19438. type: string
  19439. orderid:
  19440. description: 委托单号
  19441. type: string
  19442. orderprice:
  19443. description: 委托价格
  19444. type: number
  19445. ordertime:
  19446. description: 委托时间
  19447. type: string
  19448. tradedate:
  19449. description: 交易日(yyyyMMdd)
  19450. type: string
  19451. required:
  19452. - ordertime
  19453. type: object
  19454. user.LoginQueryRsp:
  19455. properties:
  19456. areaRoles:
  19457. description: 所属角色信息
  19458. items:
  19459. $ref: '#/definitions/models.Arearole'
  19460. type: array
  19461. externalExchanges:
  19462. description: 外部交易所
  19463. items:
  19464. $ref: '#/definitions/models.Externalexchange'
  19465. type: array
  19466. goodsgroups:
  19467. description: 商品组
  19468. items:
  19469. $ref: '#/definitions/models.Goodsgroup'
  19470. type: array
  19471. loginAccount:
  19472. $ref: '#/definitions/models.Loginaccount'
  19473. description: 登录账号
  19474. markets:
  19475. description: 市场
  19476. items:
  19477. $ref: '#/definitions/models.Market'
  19478. type: array
  19479. systemParams:
  19480. description: 系统参数
  19481. items:
  19482. $ref: '#/definitions/models.Systemparam'
  19483. type: array
  19484. userAccount:
  19485. $ref: '#/definitions/models.Useraccount'
  19486. description: 用户账号
  19487. userInfo:
  19488. $ref: '#/definitions/models.Userinfo'
  19489. description: 用户信息
  19490. username:
  19491. description: 用户姓名
  19492. type: string
  19493. type: object
  19494. info:
  19495. contact: {}
  19496. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  19497. termsOfService: http://www.muchinfo.cn
  19498. title: MTP2.0 查询服务 API
  19499. version: "1.0"
  19500. paths:
  19501. /CPTrade/QueryCPTradeMyBidInfos:
  19502. get:
  19503. parameters:
  19504. - description: 资金账户
  19505. in: query
  19506. name: accountid
  19507. required: true
  19508. type: integer
  19509. - description: 预售市场ID
  19510. in: query
  19511. name: marketid
  19512. type: integer
  19513. - description: 预售商品ID
  19514. in: query
  19515. name: goodsid
  19516. type: integer
  19517. produces:
  19518. - application/json
  19519. responses:
  19520. "200":
  19521. description: OK
  19522. schema:
  19523. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  19524. "500":
  19525. description: Internal Server Error
  19526. schema:
  19527. $ref: '#/definitions/app.Response'
  19528. security:
  19529. - ApiKeyAuth: []
  19530. summary: 查询产能预售我的出价信息
  19531. tags:
  19532. - 产能预售
  19533. /CPTrade/QueryCPTradeOrderDetail:
  19534. get:
  19535. parameters:
  19536. - description: 预售商品ID
  19537. in: query
  19538. name: goodsid
  19539. type: integer
  19540. - description: 预售市场ID
  19541. in: query
  19542. name: marketid
  19543. type: integer
  19544. - description: 预售商品ID列表 - 格式:1,2,3
  19545. in: query
  19546. name: goodsids
  19547. type: string
  19548. produces:
  19549. - application/json
  19550. responses:
  19551. "200":
  19552. description: OK
  19553. schema:
  19554. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  19555. "500":
  19556. description: Internal Server Error
  19557. schema:
  19558. $ref: '#/definitions/app.Response'
  19559. security:
  19560. - ApiKeyAuth: []
  19561. summary: 查询产能预售委托单信息
  19562. tags:
  19563. - 产能预售
  19564. /CPTrade/QueryMyCPTradeGoods:
  19565. get:
  19566. parameters:
  19567. - description: 资金账户
  19568. in: query
  19569. name: accountid
  19570. required: true
  19571. type: integer
  19572. produces:
  19573. - application/json
  19574. responses:
  19575. "200":
  19576. description: OK
  19577. schema:
  19578. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  19579. "500":
  19580. description: Internal Server Error
  19581. schema:
  19582. $ref: '#/definitions/app.Response'
  19583. security:
  19584. - ApiKeyAuth: []
  19585. summary: 查询我的预售信息
  19586. tags:
  19587. - 产能预售
  19588. /CPTrade/QueryPositionCancel:
  19589. get:
  19590. parameters:
  19591. - description: 账户ID
  19592. in: query
  19593. name: userid
  19594. required: true
  19595. type: integer
  19596. - description: 注销ID
  19597. in: query
  19598. name: cancelid
  19599. type: integer
  19600. - description: 资金账户ID
  19601. in: query
  19602. name: accountid
  19603. type: integer
  19604. produces:
  19605. - application/json
  19606. responses:
  19607. "200":
  19608. description: OK
  19609. schema:
  19610. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  19611. "500":
  19612. description: Internal Server Error
  19613. schema:
  19614. $ref: '#/definitions/app.Response'
  19615. security:
  19616. - ApiKeyAuth: []
  19617. summary: 查询远期订单注销申请信息
  19618. tags:
  19619. - 产能预售
  19620. /CPTrade/QueryPreasleApply:
  19621. get:
  19622. parameters:
  19623. - description: 账户ID
  19624. in: query
  19625. name: userid
  19626. required: true
  19627. type: integer
  19628. - description: 申请ID
  19629. in: query
  19630. name: applyid
  19631. type: integer
  19632. - description: 资金账户ID
  19633. in: query
  19634. name: accountid
  19635. type: integer
  19636. produces:
  19637. - application/json
  19638. responses:
  19639. "200":
  19640. description: OK
  19641. schema:
  19642. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  19643. "500":
  19644. description: Internal Server Error
  19645. schema:
  19646. $ref: '#/definitions/app.Response'
  19647. security:
  19648. - ApiKeyAuth: []
  19649. summary: 查询产能预售申请信息
  19650. tags:
  19651. - 产能预售
  19652. /CPTrade/QueryPresaleGoodsEx:
  19653. get:
  19654. parameters:
  19655. - description: 预售商品ID
  19656. in: query
  19657. name: goodsid
  19658. type: integer
  19659. - description: 预售市场ID
  19660. in: query
  19661. name: marketid
  19662. type: integer
  19663. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  19664. in: query
  19665. name: presalemode
  19666. type: integer
  19667. - description: 预售商品ID列表 - 格式:1,2,3
  19668. in: query
  19669. name: goodsids
  19670. type: string
  19671. - description: 预售商品代码
  19672. in: query
  19673. name: goodscode
  19674. type: string
  19675. produces:
  19676. - application/json
  19677. responses:
  19678. "200":
  19679. description: OK
  19680. schema:
  19681. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  19682. "500":
  19683. description: Internal Server Error
  19684. schema:
  19685. $ref: '#/definitions/app.Response'
  19686. security:
  19687. - ApiKeyAuth: []
  19688. summary: 查询产能预售商品扩展信息
  19689. tags:
  19690. - 产能预售
  19691. /CPTrade/QueryUserGoodsData:
  19692. get:
  19693. parameters:
  19694. - description: 资金账户ID
  19695. in: query
  19696. name: accountid
  19697. required: true
  19698. type: integer
  19699. produces:
  19700. - application/json
  19701. responses:
  19702. "200":
  19703. description: OK
  19704. schema:
  19705. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  19706. "500":
  19707. description: Internal Server Error
  19708. schema:
  19709. $ref: '#/definitions/app.Response'
  19710. security:
  19711. - ApiKeyAuth: []
  19712. summary: 查询远期订单信息
  19713. tags:
  19714. - 产能预售
  19715. /Common/GetAllEnums:
  19716. get:
  19717. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  19718. parameters:
  19719. - description: 起始自增ID
  19720. in: query
  19721. name: autoid
  19722. type: integer
  19723. produces:
  19724. - application/json
  19725. responses:
  19726. "200":
  19727. description: OK
  19728. schema:
  19729. $ref: '#/definitions/models.Enumdicitem'
  19730. "500":
  19731. description: Internal Server Error
  19732. schema:
  19733. $ref: '#/definitions/app.Response'
  19734. summary: 获取所有枚举信息
  19735. tags:
  19736. - 通用服务
  19737. /Common/GetClientMenus:
  19738. get:
  19739. parameters:
  19740. - description: 登录账号
  19741. in: query
  19742. name: loginID
  19743. required: true
  19744. type: integer
  19745. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  19746. in: query
  19747. name: clientType
  19748. type: integer
  19749. - description: 分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台
  19750. in: query
  19751. name: name
  19752. type: string
  19753. produces:
  19754. - application/json
  19755. responses:
  19756. "200":
  19757. description: OK
  19758. schema:
  19759. items:
  19760. $ref: '#/definitions/common.ClientMenu'
  19761. type: array
  19762. "500":
  19763. description: Internal Server Error
  19764. schema:
  19765. $ref: '#/definitions/app.Response'
  19766. security:
  19767. - ApiKeyAuth: []
  19768. summary: 获取交易端菜单
  19769. tags:
  19770. - 通用服务
  19771. /Common/GetDivisions:
  19772. get:
  19773. produces:
  19774. - application/json
  19775. responses:
  19776. "200":
  19777. description: OK
  19778. schema:
  19779. $ref: '#/definitions/models.Division'
  19780. "500":
  19781. description: Internal Server Error
  19782. schema:
  19783. $ref: '#/definitions/app.Response'
  19784. summary: 查询区域信息
  19785. tags:
  19786. - 通用服务
  19787. /Common/GetPCWebMenus:
  19788. get:
  19789. parameters:
  19790. - description: 登录账号
  19791. in: query
  19792. name: loginID
  19793. required: true
  19794. type: integer
  19795. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  19796. in: query
  19797. name: name
  19798. type: string
  19799. produces:
  19800. - application/json
  19801. responses:
  19802. "200":
  19803. description: OK
  19804. schema:
  19805. items:
  19806. $ref: '#/definitions/common.PCWebMenu'
  19807. type: array
  19808. "500":
  19809. description: Internal Server Error
  19810. schema:
  19811. $ref: '#/definitions/app.Response'
  19812. security:
  19813. - ApiKeyAuth: []
  19814. summary: 获取PCWeb交易端菜单
  19815. tags:
  19816. - 通用服务
  19817. /Common/GetServerTime:
  19818. get:
  19819. produces:
  19820. - application/json
  19821. responses:
  19822. "200":
  19823. description: OK
  19824. schema:
  19825. $ref: '#/definitions/app.Response'
  19826. "500":
  19827. description: Internal Server Error
  19828. schema:
  19829. $ref: '#/definitions/app.Response'
  19830. summary: 获取服务器时间
  19831. tags:
  19832. - 通用服务
  19833. /Common/NoticeReaded:
  19834. post:
  19835. parameters:
  19836. - description: 登录账号
  19837. in: query
  19838. name: loginID
  19839. required: true
  19840. type: integer
  19841. - description: 通知公告ID
  19842. in: query
  19843. name: noticeID
  19844. required: true
  19845. type: integer
  19846. produces:
  19847. - application/json
  19848. responses:
  19849. "200":
  19850. description: OK
  19851. schema:
  19852. $ref: '#/definitions/app.Response'
  19853. "500":
  19854. description: Internal Server Error
  19855. schema:
  19856. $ref: '#/definitions/app.Response'
  19857. security:
  19858. - ApiKeyAuth: []
  19859. summary: 通知公告设置已读请求
  19860. tags:
  19861. - 通用服务
  19862. /Common/QueryErrorInfos:
  19863. get:
  19864. description: 如果传入rowNumber,则返回此rowNumber后的数据
  19865. parameters:
  19866. - description: 起始行号前索引
  19867. in: query
  19868. name: rowNumber
  19869. type: string
  19870. produces:
  19871. - application/json
  19872. responses:
  19873. "200":
  19874. description: OK
  19875. schema:
  19876. $ref: '#/definitions/models.QueryErrorInfosRsp'
  19877. "500":
  19878. description: Internal Server Error
  19879. schema:
  19880. $ref: '#/definitions/app.Response'
  19881. summary: 获取数据库错误信息
  19882. tags:
  19883. - 通用服务
  19884. /Common/QueryImageConfigs:
  19885. get:
  19886. parameters:
  19887. - description: 用户id
  19888. in: query
  19889. name: userId
  19890. type: integer
  19891. - description: 类型 - 1:App首页轮播 2:我的 3:首页(PC) 4:首页推广(移动-新会)
  19892. in: query
  19893. name: imageType
  19894. type: integer
  19895. produces:
  19896. - application/json
  19897. responses:
  19898. "200":
  19899. description: OK
  19900. schema:
  19901. $ref: '#/definitions/common.QueryImageConfigsRsp'
  19902. "500":
  19903. description: Internal Server Error
  19904. schema:
  19905. $ref: '#/definitions/app.Response'
  19906. summary: 查询轮播图配置信息
  19907. tags:
  19908. - 通用服务
  19909. /Common/QueryNotice:
  19910. get:
  19911. parameters:
  19912. - description: 页码
  19913. in: query
  19914. name: page
  19915. type: integer
  19916. - description: 每页条数
  19917. in: query
  19918. name: pagesize
  19919. type: integer
  19920. - description: 登录账号
  19921. in: query
  19922. name: loginID
  19923. required: true
  19924. type: integer
  19925. - description: 消息类型 - 1:公告通知 2:系统消息
  19926. in: query
  19927. name: msgType
  19928. type: integer
  19929. - description: 是否只获取未读信息
  19930. in: query
  19931. name: onlyUnRead
  19932. type: boolean
  19933. - description: 自增ID,传入后会返回这个ID后面的记录
  19934. in: query
  19935. name: lastID
  19936. type: integer
  19937. produces:
  19938. - application/json
  19939. responses:
  19940. "200":
  19941. description: OK
  19942. schema:
  19943. $ref: '#/definitions/common.QueryNoticeRsp'
  19944. "500":
  19945. description: Internal Server Error
  19946. schema:
  19947. $ref: '#/definitions/app.Response'
  19948. security:
  19949. - ApiKeyAuth: []
  19950. summary: 通知公告系统消息查询
  19951. tags:
  19952. - 通用服务
  19953. /Common/QueryProvincesAndCities:
  19954. get:
  19955. parameters:
  19956. - description: 省ID
  19957. in: query
  19958. name: provinceID
  19959. type: integer
  19960. produces:
  19961. - application/json
  19962. responses:
  19963. "200":
  19964. description: OK
  19965. schema:
  19966. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  19967. "500":
  19968. description: Internal Server Error
  19969. schema:
  19970. $ref: '#/definitions/app.Response'
  19971. summary: 查询省市信息(不包括区)
  19972. tags:
  19973. - 通用服务
  19974. /Common/QueryTableDefine:
  19975. get:
  19976. parameters:
  19977. - description: 表key
  19978. in: query
  19979. name: tableKey
  19980. type: string
  19981. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  19982. in: query
  19983. name: tableType
  19984. type: integer
  19985. produces:
  19986. - application/json
  19987. responses:
  19988. "200":
  19989. description: OK
  19990. schema:
  19991. $ref: '#/definitions/common.QueryTableDefineRsp'
  19992. "500":
  19993. description: Internal Server Error
  19994. schema:
  19995. $ref: '#/definitions/app.Response'
  19996. summary: 查询交易端列表头信息
  19997. tags:
  19998. - 通用服务
  19999. /Common/QueryTraderMenu:
  20000. get:
  20001. parameters:
  20002. - description: 登录账号
  20003. in: query
  20004. name: loginid
  20005. required: true
  20006. type: integer
  20007. produces:
  20008. - application/json
  20009. responses:
  20010. "200":
  20011. description: OK
  20012. schema:
  20013. $ref: '#/definitions/common.QueryTraderMenuRsp'
  20014. "500":
  20015. description: Internal Server Error
  20016. schema:
  20017. $ref: '#/definitions/app.Response'
  20018. summary: 查询交易端菜单
  20019. tags:
  20020. - 通用服务
  20021. /Delivery/QueryDeliveryRelation:
  20022. get:
  20023. parameters:
  20024. - description: 商品ID
  20025. in: query
  20026. name: goodsid
  20027. type: integer
  20028. - description: 品种ID
  20029. in: query
  20030. name: deliverygoodsid
  20031. type: integer
  20032. - description: 市场ID
  20033. in: query
  20034. name: marketid
  20035. type: integer
  20036. produces:
  20037. - application/json
  20038. responses:
  20039. "200":
  20040. description: OK
  20041. schema:
  20042. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  20043. "500":
  20044. description: Internal Server Error
  20045. schema:
  20046. $ref: '#/definitions/app.Response'
  20047. security:
  20048. - ApiKeyAuth: []
  20049. summary: 查询商品交割关系表
  20050. tags:
  20051. - 交割服务
  20052. /Ermcp/GetErmcpGoods:
  20053. get:
  20054. parameters:
  20055. - description: 用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)
  20056. in: query
  20057. name: userid
  20058. type: integer
  20059. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  20060. in: query
  20061. name: lastUpdateTime
  20062. type: string
  20063. produces:
  20064. - application/json
  20065. responses:
  20066. "200":
  20067. description: OK
  20068. schema:
  20069. $ref: '#/definitions/models.ErmcpGoods'
  20070. "500":
  20071. description: Internal Server Error
  20072. schema:
  20073. $ref: '#/definitions/app.Response'
  20074. security:
  20075. - ApiKeyAuth: []
  20076. summary: 查询企业风管期货商品信息
  20077. tags:
  20078. - 企业风险管理(app)
  20079. /Ermcp/GetErmcpGoodsSortByPosition:
  20080. get:
  20081. parameters:
  20082. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  20083. in: query
  20084. name: sortIndex
  20085. type: string
  20086. produces:
  20087. - application/json
  20088. responses:
  20089. "200":
  20090. description: OK
  20091. schema:
  20092. $ref: '#/definitions/models.Goodssortbypreposition'
  20093. "500":
  20094. description: Internal Server Error
  20095. schema:
  20096. $ref: '#/definitions/app.Response'
  20097. security:
  20098. - ApiKeyAuth: []
  20099. summary: 查询企业风管期货主力、次主力商品信息
  20100. tags:
  20101. - 企业风险管理(app)
  20102. /Ermcp/GetErmcpOutAccountStatus:
  20103. get:
  20104. parameters:
  20105. - description: 登录账号
  20106. in: query
  20107. name: loginID
  20108. required: true
  20109. type: integer
  20110. produces:
  20111. - application/json
  20112. responses:
  20113. "200":
  20114. description: OK
  20115. schema:
  20116. $ref: '#/definitions/models.Hedgemarketopenlog'
  20117. "500":
  20118. description: Internal Server Error
  20119. schema:
  20120. $ref: '#/definitions/app.Response'
  20121. security:
  20122. - ApiKeyAuth: []
  20123. summary: 获取目标登录账号当前对冲账号在线状态
  20124. tags:
  20125. - 企业风险管理(app)
  20126. /Ermcp/GetErmcpRoleFuncMenuLists:
  20127. get:
  20128. parameters:
  20129. - description: 登录账号
  20130. in: query
  20131. name: loginID
  20132. required: true
  20133. type: integer
  20134. produces:
  20135. - application/json
  20136. responses:
  20137. "200":
  20138. description: OK
  20139. schema:
  20140. $ref: '#/definitions/models.Funcmenulist'
  20141. "500":
  20142. description: Internal Server Error
  20143. schema:
  20144. $ref: '#/definitions/app.Response'
  20145. security:
  20146. - ApiKeyAuth: []
  20147. summary: 获取企业风管终端权限
  20148. tags:
  20149. - 企业风险管理(app)
  20150. /Ermcp/QueryAccMgrBizGroupSet:
  20151. get:
  20152. parameters:
  20153. - description: 用户ID
  20154. in: query
  20155. name: userid
  20156. required: true
  20157. type: integer
  20158. - description: 现货商品id
  20159. in: query
  20160. name: deliverygoodsid
  20161. type: integer
  20162. produces:
  20163. - application/json
  20164. responses:
  20165. "200":
  20166. description: OK
  20167. schema:
  20168. items:
  20169. $ref: '#/definitions/models.ErmcpBizGroupEx'
  20170. type: array
  20171. "500":
  20172. description: Internal Server Error
  20173. schema:
  20174. $ref: '#/definitions/app.Response'
  20175. security:
  20176. - ApiKeyAuth: []
  20177. summary: 查询业务类型分组(账户管理/账户设置)
  20178. tags:
  20179. - 企业风险管理(app)
  20180. /Ermcp/QueryAccMgrLoginUser:
  20181. get:
  20182. parameters:
  20183. - description: 用户ID
  20184. in: query
  20185. name: userid
  20186. required: true
  20187. type: integer
  20188. - description: 用户类型 2-机构 7-企业成员
  20189. in: query
  20190. name: usertype
  20191. type: integer
  20192. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  20193. in: query
  20194. name: querytype
  20195. required: true
  20196. type: integer
  20197. produces:
  20198. - application/json
  20199. responses:
  20200. "200":
  20201. description: OK
  20202. schema:
  20203. items:
  20204. $ref: '#/definitions/models.ErmcpLoginUserEx'
  20205. type: array
  20206. "500":
  20207. description: Internal Server Error
  20208. schema:
  20209. $ref: '#/definitions/app.Response'
  20210. security:
  20211. - ApiKeyAuth: []
  20212. summary: 查询账户管理登录账号(账户管理/登录账号)
  20213. tags:
  20214. - 企业风险管理(app)
  20215. /Ermcp/QueryAccMgrMainAccountInfo:
  20216. get:
  20217. parameters:
  20218. - description: 用户ID
  20219. in: query
  20220. name: userid
  20221. type: integer
  20222. - description: 主账号id
  20223. in: query
  20224. name: accountid
  20225. type: integer
  20226. produces:
  20227. - application/json
  20228. responses:
  20229. "200":
  20230. description: OK
  20231. schema:
  20232. items:
  20233. $ref: '#/definitions/models.MainAccountInfo'
  20234. type: array
  20235. "500":
  20236. description: Internal Server Error
  20237. schema:
  20238. $ref: '#/definitions/app.Response'
  20239. security:
  20240. - ApiKeyAuth: []
  20241. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  20242. tags:
  20243. - 企业风险管理(app)
  20244. /Ermcp/QueryAccMgrRole:
  20245. get:
  20246. parameters:
  20247. - description: 用户ID
  20248. in: query
  20249. name: userid
  20250. required: true
  20251. type: integer
  20252. produces:
  20253. - application/json
  20254. responses:
  20255. "200":
  20256. description: OK
  20257. schema:
  20258. items:
  20259. $ref: '#/definitions/models.ErmcpRole'
  20260. type: array
  20261. "500":
  20262. description: Internal Server Error
  20263. schema:
  20264. $ref: '#/definitions/app.Response'
  20265. security:
  20266. - ApiKeyAuth: []
  20267. summary: 查询账户管理角色设置(账户管理/角色设置)
  20268. tags:
  20269. - 企业风险管理(app)
  20270. /Ermcp/QueryAccMgrRoleMenu:
  20271. get:
  20272. parameters:
  20273. - description: 用户ID
  20274. in: query
  20275. name: userid
  20276. required: true
  20277. type: integer
  20278. - description: 角色id(可多个,逗号隔开)
  20279. in: query
  20280. name: roleid
  20281. type: string
  20282. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  20283. in: query
  20284. name: menutype
  20285. type: integer
  20286. produces:
  20287. - application/json
  20288. responses:
  20289. "200":
  20290. description: OK
  20291. schema:
  20292. items:
  20293. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  20294. type: array
  20295. "500":
  20296. description: Internal Server Error
  20297. schema:
  20298. $ref: '#/definitions/app.Response'
  20299. security:
  20300. - ApiKeyAuth: []
  20301. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  20302. tags:
  20303. - 企业风险管理(app)
  20304. /Ermcp/QueryAccMgrTaAccountInfo:
  20305. get:
  20306. parameters:
  20307. - description: 用户ID
  20308. in: query
  20309. name: userid
  20310. required: true
  20311. type: integer
  20312. - description: 账号id
  20313. in: query
  20314. name: accountid
  20315. type: integer
  20316. produces:
  20317. - application/json
  20318. responses:
  20319. "200":
  20320. description: OK
  20321. schema:
  20322. items:
  20323. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  20324. type: array
  20325. "500":
  20326. description: Internal Server Error
  20327. schema:
  20328. $ref: '#/definitions/app.Response'
  20329. security:
  20330. - ApiKeyAuth: []
  20331. summary: 查询账户管理授信(账户管理/账户设置/授信)
  20332. tags:
  20333. - 企业风险管理(app)
  20334. /Ermcp/QueryAccMgrTaaccount:
  20335. get:
  20336. parameters:
  20337. - description: 用户ID
  20338. in: query
  20339. name: userid
  20340. required: true
  20341. type: integer
  20342. produces:
  20343. - application/json
  20344. responses:
  20345. "200":
  20346. description: OK
  20347. schema:
  20348. items:
  20349. $ref: '#/definitions/models.ErmcpTaAccountEx'
  20350. type: array
  20351. "500":
  20352. description: Internal Server Error
  20353. schema:
  20354. $ref: '#/definitions/app.Response'
  20355. security:
  20356. - ApiKeyAuth: []
  20357. summary: 查询账户管理期货账号(账户管理/期货账号)
  20358. tags:
  20359. - 企业风险管理(app)
  20360. /Ermcp/QueryAvaildGoodsGroup:
  20361. get:
  20362. parameters:
  20363. - description: 所属机构ID
  20364. in: query
  20365. name: userid
  20366. required: true
  20367. type: integer
  20368. produces:
  20369. - application/json
  20370. responses:
  20371. "200":
  20372. description: OK
  20373. schema:
  20374. items:
  20375. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  20376. type: array
  20377. "500":
  20378. description: Internal Server Error
  20379. schema:
  20380. $ref: '#/definitions/app.Response'
  20381. security:
  20382. - ApiKeyAuth: []
  20383. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  20384. tags:
  20385. - 企业风险管理(app)
  20386. /Ermcp/QueryBusinessDj:
  20387. get:
  20388. parameters:
  20389. - description: 用户ID
  20390. in: query
  20391. name: UserId
  20392. required: true
  20393. type: integer
  20394. - description: 用户类型 2-机构 7-企业成员
  20395. in: query
  20396. name: usertype
  20397. type: integer
  20398. - description: 现货合同ID, 不填则查所有
  20399. in: query
  20400. name: relatedid
  20401. type: string
  20402. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20403. in: query
  20404. name: applystatus
  20405. type: string
  20406. produces:
  20407. - application/json
  20408. responses:
  20409. "200":
  20410. description: OK
  20411. schema:
  20412. items:
  20413. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  20414. type: array
  20415. "500":
  20416. description: Internal Server Error
  20417. schema:
  20418. $ref: '#/definitions/app.Response'
  20419. security:
  20420. - ApiKeyAuth: []
  20421. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  20422. tags:
  20423. - 企业风险管理(app)
  20424. /Ermcp/QueryBusinessFp:
  20425. get:
  20426. parameters:
  20427. - description: 用户ID
  20428. in: query
  20429. name: UserId
  20430. required: true
  20431. type: integer
  20432. - description: 用户类型 2-机构 7-企业成员
  20433. in: query
  20434. name: usertype
  20435. type: integer
  20436. - description: 现货合同ID, 不填则查所有
  20437. in: query
  20438. name: relatedid
  20439. type: string
  20440. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20441. in: query
  20442. name: applystatus
  20443. type: string
  20444. produces:
  20445. - application/json
  20446. responses:
  20447. "200":
  20448. description: OK
  20449. schema:
  20450. items:
  20451. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  20452. type: array
  20453. "500":
  20454. description: Internal Server Error
  20455. schema:
  20456. $ref: '#/definitions/app.Response'
  20457. security:
  20458. - ApiKeyAuth: []
  20459. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  20460. tags:
  20461. - 企业风险管理(app)
  20462. /Ermcp/QueryBusinessJs:
  20463. get:
  20464. parameters:
  20465. - description: 用户ID
  20466. in: query
  20467. name: UserId
  20468. required: true
  20469. type: integer
  20470. - description: 用户类型 2-机构 7-企业成员
  20471. in: query
  20472. name: usertype
  20473. type: integer
  20474. - description: 现货合同ID, 不填则查所有
  20475. in: query
  20476. name: relatedid
  20477. type: string
  20478. - description: 操作申请id
  20479. in: query
  20480. name: operateapplyid
  20481. type: string
  20482. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20483. in: query
  20484. name: applystatus
  20485. type: string
  20486. produces:
  20487. - application/json
  20488. responses:
  20489. "200":
  20490. description: OK
  20491. schema:
  20492. items:
  20493. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  20494. type: array
  20495. "500":
  20496. description: Internal Server Error
  20497. schema:
  20498. $ref: '#/definitions/app.Response'
  20499. security:
  20500. - ApiKeyAuth: []
  20501. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  20502. tags:
  20503. - 企业风险管理(app)
  20504. /Ermcp/QueryBusinessJsEx:
  20505. get:
  20506. parameters:
  20507. - description: 用户ID
  20508. in: query
  20509. name: UserId
  20510. required: true
  20511. type: integer
  20512. - description: 用户类型 2-机构 7-企业成员
  20513. in: query
  20514. name: usertype
  20515. type: integer
  20516. - description: 现货合同ID, 不填则查所有
  20517. in: query
  20518. name: relatedid
  20519. type: string
  20520. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20521. in: query
  20522. name: applystatus
  20523. type: string
  20524. produces:
  20525. - application/json
  20526. responses:
  20527. "200":
  20528. description: OK
  20529. schema:
  20530. items:
  20531. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  20532. type: array
  20533. "500":
  20534. description: Internal Server Error
  20535. schema:
  20536. $ref: '#/definitions/app.Response'
  20537. security:
  20538. - ApiKeyAuth: []
  20539. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  20540. tags:
  20541. - 企业风险管理(app)
  20542. /Ermcp/QueryBusinessKx:
  20543. get:
  20544. parameters:
  20545. - description: 用户ID
  20546. in: query
  20547. name: UserId
  20548. required: true
  20549. type: integer
  20550. - description: 用户类型 2-机构 7-企业成员
  20551. in: query
  20552. name: usertype
  20553. type: integer
  20554. - description: 现货合同ID, 不填则查所有
  20555. in: query
  20556. name: relatedid
  20557. type: string
  20558. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20559. in: query
  20560. name: applystatus
  20561. type: string
  20562. produces:
  20563. - application/json
  20564. responses:
  20565. "200":
  20566. description: OK
  20567. schema:
  20568. items:
  20569. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  20570. type: array
  20571. "500":
  20572. description: Internal Server Error
  20573. schema:
  20574. $ref: '#/definitions/app.Response'
  20575. security:
  20576. - ApiKeyAuth: []
  20577. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  20578. tags:
  20579. - 企业风险管理(app)
  20580. /Ermcp/QueryChangeLog:
  20581. get:
  20582. parameters:
  20583. - description: 合同ID
  20584. in: query
  20585. name: RelatedId
  20586. required: true
  20587. type: string
  20588. produces:
  20589. - application/json
  20590. responses:
  20591. "200":
  20592. description: OK
  20593. schema:
  20594. items:
  20595. $ref: '#/definitions/ermcp.QryOPLogRsp'
  20596. type: array
  20597. "500":
  20598. description: Internal Server Error
  20599. schema:
  20600. $ref: '#/definitions/app.Response'
  20601. security:
  20602. - ApiKeyAuth: []
  20603. summary: 查询变更记录
  20604. tags:
  20605. - 企业风险管理(app)
  20606. /Ermcp/QueryErmcpHisOrderDetails:
  20607. get:
  20608. parameters:
  20609. - description: 资金账户ID
  20610. in: query
  20611. name: accountID
  20612. required: true
  20613. type: integer
  20614. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  20615. in: query
  20616. name: startDate
  20617. type: string
  20618. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  20619. in: query
  20620. name: endDate
  20621. type: string
  20622. produces:
  20623. - application/json
  20624. responses:
  20625. "200":
  20626. description: OK
  20627. schema:
  20628. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  20629. "500":
  20630. description: Internal Server Error
  20631. schema:
  20632. $ref: '#/definitions/app.Response'
  20633. security:
  20634. - ApiKeyAuth: []
  20635. summary: 获取企业风管期货历史委托单信息
  20636. tags:
  20637. - 企业风险管理(app)
  20638. /Ermcp/QueryErmcpHisTradeDetails:
  20639. get:
  20640. parameters:
  20641. - description: 资金账户ID
  20642. in: query
  20643. name: accountID
  20644. required: true
  20645. type: integer
  20646. - description: 商品ID
  20647. in: query
  20648. name: goodsID
  20649. type: integer
  20650. - description: 买卖方向,0:买 1:卖
  20651. in: query
  20652. name: buyOrSell
  20653. type: integer
  20654. - description: 关联委托单号
  20655. in: query
  20656. name: orderID
  20657. type: integer
  20658. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  20659. in: query
  20660. name: startDate
  20661. type: string
  20662. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  20663. in: query
  20664. name: endDate
  20665. type: string
  20666. produces:
  20667. - application/json
  20668. responses:
  20669. "200":
  20670. description: OK
  20671. schema:
  20672. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  20673. "500":
  20674. description: Internal Server Error
  20675. schema:
  20676. $ref: '#/definitions/app.Response'
  20677. security:
  20678. - ApiKeyAuth: []
  20679. summary: 获取企业风管期货历史成交单信息
  20680. tags:
  20681. - 企业风险管理(app)
  20682. /Ermcp/QueryErmcpInnerHolderDetails:
  20683. get:
  20684. parameters:
  20685. - description: 资金账户ID
  20686. in: query
  20687. name: accountID
  20688. required: true
  20689. type: integer
  20690. - description: 商品ID
  20691. in: query
  20692. name: goodsID
  20693. type: integer
  20694. - description: 买卖方向,0:买 1:卖
  20695. in: query
  20696. name: buyOrSell
  20697. type: integer
  20698. produces:
  20699. - application/json
  20700. responses:
  20701. "200":
  20702. description: OK
  20703. schema:
  20704. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  20705. "500":
  20706. description: Internal Server Error
  20707. schema:
  20708. $ref: '#/definitions/app.Response'
  20709. security:
  20710. - ApiKeyAuth: []
  20711. summary: 获取企业风管期货内部持仓单信息
  20712. tags:
  20713. - 企业风险管理(app)
  20714. /Ermcp/QueryErmcpOrderDetails:
  20715. get:
  20716. parameters:
  20717. - description: 资金账户ID
  20718. in: query
  20719. name: accountID
  20720. required: true
  20721. type: integer
  20722. produces:
  20723. - application/json
  20724. responses:
  20725. "200":
  20726. description: OK
  20727. schema:
  20728. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  20729. "500":
  20730. description: Internal Server Error
  20731. schema:
  20732. $ref: '#/definitions/app.Response'
  20733. security:
  20734. - ApiKeyAuth: []
  20735. summary: 获取企业风管期货委托单信息
  20736. tags:
  20737. - 企业风险管理(app)
  20738. /Ermcp/QueryErmcpTradeDetails:
  20739. get:
  20740. parameters:
  20741. - description: 资金账户ID
  20742. in: query
  20743. name: accountID
  20744. required: true
  20745. type: integer
  20746. - description: 商品ID
  20747. in: query
  20748. name: goodsID
  20749. type: integer
  20750. - description: 买卖方向,0:买 1:卖
  20751. in: query
  20752. name: buyOrSell
  20753. type: integer
  20754. - description: 关联委托单号
  20755. in: query
  20756. name: orderID
  20757. type: integer
  20758. produces:
  20759. - application/json
  20760. responses:
  20761. "200":
  20762. description: OK
  20763. schema:
  20764. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  20765. "500":
  20766. description: Internal Server Error
  20767. schema:
  20768. $ref: '#/definitions/app.Response'
  20769. security:
  20770. - ApiKeyAuth: []
  20771. summary: 获取企业风管期货成交单信息
  20772. tags:
  20773. - 企业风险管理(app)
  20774. /Ermcp/QueryErmcpTradePosition:
  20775. get:
  20776. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  20777. parameters:
  20778. - description: 资金账户ID
  20779. in: query
  20780. name: accountID
  20781. required: true
  20782. type: integer
  20783. - description: 所属市场ID
  20784. in: query
  20785. name: marketID
  20786. type: integer
  20787. produces:
  20788. - application/json
  20789. responses:
  20790. "200":
  20791. description: OK
  20792. schema:
  20793. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  20794. "500":
  20795. description: Internal Server Error
  20796. schema:
  20797. $ref: '#/definitions/app.Response'
  20798. security:
  20799. - ApiKeyAuth: []
  20800. summary: 获取企业风管期货持仓头寸信息
  20801. tags:
  20802. - 企业风险管理(app)
  20803. /Ermcp/QueryExposureDetail:
  20804. get:
  20805. parameters:
  20806. - description: 所属机构ID
  20807. in: query
  20808. name: areaUserId
  20809. required: true
  20810. type: integer
  20811. - description: 套保商品
  20812. in: query
  20813. name: middleGoodsId
  20814. required: true
  20815. type: integer
  20816. produces:
  20817. - application/json
  20818. responses:
  20819. "200":
  20820. description: OK
  20821. schema:
  20822. items:
  20823. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  20824. type: array
  20825. "500":
  20826. description: Internal Server Error
  20827. schema:
  20828. $ref: '#/definitions/app.Response'
  20829. security:
  20830. - ApiKeyAuth: []
  20831. summary: 查询敞口现货明细
  20832. tags:
  20833. - 企业风险管理(app)
  20834. /Ermcp/QueryExposureGoods:
  20835. get:
  20836. parameters:
  20837. - description: 套保商品id
  20838. in: query
  20839. name: middlegoodsid
  20840. required: true
  20841. type: integer
  20842. produces:
  20843. - application/json
  20844. responses:
  20845. "200":
  20846. description: OK
  20847. schema:
  20848. items:
  20849. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  20850. type: array
  20851. "500":
  20852. description: Internal Server Error
  20853. schema:
  20854. $ref: '#/definitions/app.Response'
  20855. security:
  20856. - ApiKeyAuth: []
  20857. summary: 查询敞口主力合约
  20858. tags:
  20859. - 企业风险管理(app)
  20860. /Ermcp/QueryExposureHedgePosition:
  20861. get:
  20862. parameters:
  20863. - description: 用户id
  20864. in: query
  20865. name: userid
  20866. required: true
  20867. type: integer
  20868. produces:
  20869. - application/json
  20870. responses:
  20871. "200":
  20872. description: OK
  20873. schema:
  20874. items:
  20875. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  20876. type: array
  20877. "500":
  20878. description: Internal Server Error
  20879. schema:
  20880. $ref: '#/definitions/app.Response'
  20881. security:
  20882. - ApiKeyAuth: []
  20883. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  20884. tags:
  20885. - 企业风险管理(app)
  20886. /Ermcp/QueryExposureHedgePositionDetail:
  20887. get:
  20888. parameters:
  20889. - description: 所属机构ID
  20890. in: query
  20891. name: userid
  20892. required: true
  20893. type: integer
  20894. - description: 商品id
  20895. in: query
  20896. name: goodsId
  20897. required: true
  20898. type: integer
  20899. produces:
  20900. - application/json
  20901. responses:
  20902. "200":
  20903. description: OK
  20904. schema:
  20905. items:
  20906. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  20907. type: array
  20908. "500":
  20909. description: Internal Server Error
  20910. schema:
  20911. $ref: '#/definitions/app.Response'
  20912. security:
  20913. - ApiKeyAuth: []
  20914. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  20915. tags:
  20916. - 企业风险管理(app)
  20917. /Ermcp/QueryExposureSpot:
  20918. get:
  20919. parameters:
  20920. - description: 所属机构ID
  20921. in: query
  20922. name: areaUserId
  20923. required: true
  20924. type: integer
  20925. produces:
  20926. - application/json
  20927. responses:
  20928. "200":
  20929. description: OK
  20930. schema:
  20931. items:
  20932. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  20933. type: array
  20934. "500":
  20935. description: Internal Server Error
  20936. schema:
  20937. $ref: '#/definitions/app.Response'
  20938. security:
  20939. - ApiKeyAuth: []
  20940. summary: 查询敞口现货头寸(敞口/现货头寸)
  20941. tags:
  20942. - 企业风险管理(app)
  20943. /Ermcp/QueryExposureSpotDetail:
  20944. get:
  20945. parameters:
  20946. - description: 所属机构ID
  20947. in: query
  20948. name: areaUserId
  20949. required: true
  20950. type: integer
  20951. - description: 现货品种ID
  20952. in: query
  20953. name: wrstandardId
  20954. required: true
  20955. type: integer
  20956. produces:
  20957. - application/json
  20958. responses:
  20959. "200":
  20960. description: OK
  20961. schema:
  20962. items:
  20963. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  20964. type: array
  20965. "500":
  20966. description: Internal Server Error
  20967. schema:
  20968. $ref: '#/definitions/app.Response'
  20969. security:
  20970. - ApiKeyAuth: []
  20971. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  20972. tags:
  20973. - 企业风险管理(app)
  20974. /Ermcp/QueryFuturesCompany:
  20975. get:
  20976. produces:
  20977. - application/json
  20978. responses:
  20979. "200":
  20980. description: OK
  20981. schema:
  20982. items:
  20983. $ref: '#/definitions/models.ErmcpFuturesCompany'
  20984. type: array
  20985. "500":
  20986. description: Internal Server Error
  20987. schema:
  20988. $ref: '#/definitions/app.Response'
  20989. security:
  20990. - ApiKeyAuth: []
  20991. summary: 查询期货公司
  20992. tags:
  20993. - 企业风险管理(app)
  20994. /Ermcp/QueryGGConvertConfig:
  20995. get:
  20996. parameters:
  20997. - description: 品种id(不填则查所有)
  20998. in: query
  20999. name: goodsgroupid
  21000. type: integer
  21001. produces:
  21002. - application/json
  21003. responses:
  21004. "200":
  21005. description: OK
  21006. schema:
  21007. items:
  21008. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  21009. type: array
  21010. "500":
  21011. description: Internal Server Error
  21012. schema:
  21013. $ref: '#/definitions/app.Response'
  21014. security:
  21015. - ApiKeyAuth: []
  21016. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  21017. tags:
  21018. - 企业风险管理(app)
  21019. /Ermcp/QueryGoodsBrand:
  21020. get:
  21021. parameters:
  21022. - description: 用户ID
  21023. in: query
  21024. name: userid
  21025. required: true
  21026. type: integer
  21027. - description: 现货商品ID
  21028. in: query
  21029. name: wrstandardid
  21030. type: integer
  21031. produces:
  21032. - application/json
  21033. responses:
  21034. "200":
  21035. description: OK
  21036. schema:
  21037. items:
  21038. $ref: '#/definitions/models.ErmcpGoodsBrand'
  21039. type: array
  21040. "500":
  21041. description: Internal Server Error
  21042. schema:
  21043. $ref: '#/definitions/app.Response'
  21044. security:
  21045. - ApiKeyAuth: []
  21046. summary: 查询商品品牌
  21047. tags:
  21048. - 企业风险管理(app)
  21049. /Ermcp/QueryGoodsModel:
  21050. get:
  21051. parameters:
  21052. - description: 用户ID
  21053. in: query
  21054. name: userid
  21055. required: true
  21056. type: integer
  21057. produces:
  21058. - application/json
  21059. responses:
  21060. "200":
  21061. description: OK
  21062. schema:
  21063. items:
  21064. $ref: '#/definitions/models.ErmcpGoodsModel'
  21065. type: array
  21066. "500":
  21067. description: Internal Server Error
  21068. schema:
  21069. $ref: '#/definitions/app.Response'
  21070. security:
  21071. - ApiKeyAuth: []
  21072. summary: 查询商品型号
  21073. tags:
  21074. - 企业风险管理(app)
  21075. /Ermcp/QueryHisExposure:
  21076. get:
  21077. parameters:
  21078. - description: 用户id
  21079. in: query
  21080. name: userid
  21081. required: true
  21082. type: integer
  21083. - description: 每个品种记录数
  21084. in: query
  21085. name: lastNum
  21086. required: true
  21087. type: integer
  21088. produces:
  21089. - application/json
  21090. responses:
  21091. "200":
  21092. description: OK
  21093. schema:
  21094. items:
  21095. $ref: '#/definitions/ermcp.HisExposureRsp'
  21096. type: array
  21097. "500":
  21098. description: Internal Server Error
  21099. schema:
  21100. $ref: '#/definitions/app.Response'
  21101. security:
  21102. - ApiKeyAuth: []
  21103. summary: 查询历史敞口(菜单:敞口/历史敞口)
  21104. tags:
  21105. - 企业风险管理(app)
  21106. /Ermcp/QueryMiddleGoods:
  21107. get:
  21108. parameters:
  21109. - description: 所属机构ID
  21110. in: query
  21111. name: userid
  21112. required: true
  21113. type: integer
  21114. - description: 状态 0-停用 1-正常
  21115. in: query
  21116. name: status
  21117. required: true
  21118. type: integer
  21119. produces:
  21120. - application/json
  21121. responses:
  21122. "200":
  21123. description: OK
  21124. schema:
  21125. items:
  21126. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  21127. type: array
  21128. "500":
  21129. description: Internal Server Error
  21130. schema:
  21131. $ref: '#/definitions/app.Response'
  21132. security:
  21133. - ApiKeyAuth: []
  21134. summary: 查询套保品种(菜单:套保品种)
  21135. tags:
  21136. - 企业风险管理(app)
  21137. /Ermcp/QueryMiddleGoodsChangeLog:
  21138. get:
  21139. parameters:
  21140. - description: 所属机构ID
  21141. in: query
  21142. name: userid
  21143. required: true
  21144. type: integer
  21145. - description: 套保品种id
  21146. in: query
  21147. name: middlegoodsid
  21148. required: true
  21149. type: integer
  21150. produces:
  21151. - application/json
  21152. responses:
  21153. "200":
  21154. description: OK
  21155. schema:
  21156. items:
  21157. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  21158. type: array
  21159. "500":
  21160. description: Internal Server Error
  21161. schema:
  21162. $ref: '#/definitions/app.Response'
  21163. security:
  21164. - ApiKeyAuth: []
  21165. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  21166. tags:
  21167. - 企业风险管理(app)
  21168. /Ermcp/QueryMiddleGoodsDetail:
  21169. get:
  21170. parameters:
  21171. - description: 所属机构ID
  21172. in: query
  21173. name: userid
  21174. required: true
  21175. type: integer
  21176. - description: 套保品种id
  21177. in: query
  21178. name: middlegoodsid
  21179. type: integer
  21180. produces:
  21181. - application/json
  21182. responses:
  21183. "200":
  21184. description: OK
  21185. schema:
  21186. items:
  21187. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  21188. type: array
  21189. "500":
  21190. description: Internal Server Error
  21191. schema:
  21192. $ref: '#/definitions/app.Response'
  21193. security:
  21194. - ApiKeyAuth: []
  21195. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  21196. tags:
  21197. - 企业风险管理(app)
  21198. /Ermcp/QueryPendingAuditInfo:
  21199. get:
  21200. parameters:
  21201. - description: 用户ID
  21202. in: query
  21203. name: UserId
  21204. required: true
  21205. type: integer
  21206. produces:
  21207. - application/json
  21208. responses:
  21209. "200":
  21210. description: OK
  21211. schema:
  21212. items:
  21213. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  21214. type: array
  21215. "500":
  21216. description: Internal Server Error
  21217. schema:
  21218. $ref: '#/definitions/app.Response'
  21219. security:
  21220. - ApiKeyAuth: []
  21221. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  21222. tags:
  21223. - 企业风险管理(app)
  21224. /Ermcp/QueryRealtimeExposure:
  21225. get:
  21226. parameters:
  21227. - description: 所属机构ID
  21228. in: query
  21229. name: userid
  21230. required: true
  21231. type: integer
  21232. produces:
  21233. - application/json
  21234. responses:
  21235. "200":
  21236. description: OK
  21237. schema:
  21238. items:
  21239. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  21240. type: array
  21241. "500":
  21242. description: Internal Server Error
  21243. schema:
  21244. $ref: '#/definitions/app.Response'
  21245. security:
  21246. - ApiKeyAuth: []
  21247. summary: 查询实时敞口
  21248. tags:
  21249. - 企业风险管理(app)
  21250. /Ermcp/QueryRealtimeExposurePosition:
  21251. get:
  21252. parameters:
  21253. - description: 用户id
  21254. in: query
  21255. name: userid
  21256. required: true
  21257. type: integer
  21258. - description: 套保商品ID
  21259. in: query
  21260. name: middleGoodsId
  21261. required: true
  21262. type: integer
  21263. produces:
  21264. - application/json
  21265. responses:
  21266. "200":
  21267. description: OK
  21268. schema:
  21269. items:
  21270. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  21271. type: array
  21272. "500":
  21273. description: Internal Server Error
  21274. schema:
  21275. $ref: '#/definitions/app.Response'
  21276. security:
  21277. - ApiKeyAuth: []
  21278. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  21279. tags:
  21280. - 企业风险管理(app)
  21281. /Ermcp/QueryRoleMenu:
  21282. get:
  21283. parameters:
  21284. - description: 登录ID
  21285. in: query
  21286. name: loginid
  21287. required: true
  21288. type: integer
  21289. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  21290. in: query
  21291. name: menutype
  21292. type: integer
  21293. produces:
  21294. - application/json
  21295. responses:
  21296. "200":
  21297. description: OK
  21298. schema:
  21299. items:
  21300. $ref: '#/definitions/models.RoleMenu'
  21301. type: array
  21302. "500":
  21303. description: Internal Server Error
  21304. schema:
  21305. $ref: '#/definitions/app.Response'
  21306. security:
  21307. - ApiKeyAuth: []
  21308. summary: 查询角色菜单和权限
  21309. tags:
  21310. - 企业风险管理(app)
  21311. /Ermcp/QueryTradeConfigTMP:
  21312. get:
  21313. parameters:
  21314. - description: 所属机构id
  21315. in: query
  21316. name: areauserid
  21317. type: integer
  21318. produces:
  21319. - application/json
  21320. responses:
  21321. "200":
  21322. description: OK
  21323. schema:
  21324. items:
  21325. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  21326. type: array
  21327. "500":
  21328. description: Internal Server Error
  21329. schema:
  21330. $ref: '#/definitions/app.Response'
  21331. security:
  21332. - ApiKeyAuth: []
  21333. summary: 查询交易模板配置
  21334. tags:
  21335. - 企业风险管理(app)
  21336. /Ermcp/QueryUserInfo:
  21337. get:
  21338. parameters:
  21339. - description: 所属机构用户ID
  21340. in: query
  21341. name: MemberUserID
  21342. required: true
  21343. type: integer
  21344. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  21345. in: query
  21346. name: queryType
  21347. required: true
  21348. type: integer
  21349. produces:
  21350. - application/json
  21351. responses:
  21352. "200":
  21353. description: OK
  21354. schema:
  21355. items:
  21356. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  21357. type: array
  21358. "500":
  21359. description: Internal Server Error
  21360. schema:
  21361. $ref: '#/definitions/app.Response'
  21362. security:
  21363. - ApiKeyAuth: []
  21364. summary: 查询客户资料
  21365. tags:
  21366. - 企业风险管理(app)
  21367. /Ermcp/QueryWarehouseInfo:
  21368. get:
  21369. parameters:
  21370. - description: 用户ID
  21371. in: query
  21372. name: userid
  21373. required: true
  21374. type: integer
  21375. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  21376. in: query
  21377. name: status
  21378. type: string
  21379. produces:
  21380. - application/json
  21381. responses:
  21382. "200":
  21383. description: OK
  21384. schema:
  21385. items:
  21386. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  21387. type: array
  21388. "500":
  21389. description: Internal Server Error
  21390. schema:
  21391. $ref: '#/definitions/app.Response'
  21392. security:
  21393. - ApiKeyAuth: []
  21394. summary: 查询仓库信息
  21395. tags:
  21396. - 企业风险管理(app)
  21397. /Ermcp3/QryAreaExpourseContractDetail:
  21398. get:
  21399. parameters:
  21400. - description: 用户ID
  21401. in: query
  21402. name: userid
  21403. required: true
  21404. type: integer
  21405. - description: 套保商品id
  21406. in: query
  21407. name: middlegoodsid
  21408. required: true
  21409. type: integer
  21410. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21411. in: query
  21412. name: cycletype
  21413. required: true
  21414. type: integer
  21415. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21416. 全(0)【原值】
  21417. in: query
  21418. name: cycletime
  21419. required: true
  21420. type: string
  21421. produces:
  21422. - application/json
  21423. responses:
  21424. "200":
  21425. description: OK
  21426. schema:
  21427. items:
  21428. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  21429. type: array
  21430. "500":
  21431. description: Internal Server Error
  21432. schema:
  21433. $ref: '#/definitions/app.Response'
  21434. security:
  21435. - ApiKeyAuth: []
  21436. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  21437. tags:
  21438. - 企业风险管理v3(app)
  21439. /Ermcp3/QryAreaExpourseFutuDetail:
  21440. get:
  21441. parameters:
  21442. - description: 用户ID
  21443. in: query
  21444. name: userid
  21445. required: true
  21446. type: integer
  21447. - description: 套保商品id
  21448. in: query
  21449. name: middlegoodsid
  21450. required: true
  21451. type: integer
  21452. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21453. in: query
  21454. name: cycletype
  21455. required: true
  21456. type: integer
  21457. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21458. 全(0)【原值】
  21459. in: query
  21460. name: cycletime
  21461. required: true
  21462. type: string
  21463. produces:
  21464. - application/json
  21465. responses:
  21466. "200":
  21467. description: OK
  21468. schema:
  21469. items:
  21470. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  21471. type: array
  21472. "500":
  21473. description: Internal Server Error
  21474. schema:
  21475. $ref: '#/definitions/app.Response'
  21476. security:
  21477. - ApiKeyAuth: []
  21478. summary: 查询敞口期货明细(敞口报表/期货明细)
  21479. tags:
  21480. - 企业风险管理v3(app)
  21481. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  21482. get:
  21483. parameters:
  21484. - description: 用户ID
  21485. in: query
  21486. name: userid
  21487. required: true
  21488. type: integer
  21489. - description: 套保商品id
  21490. in: query
  21491. name: middlegoodsid
  21492. required: true
  21493. type: integer
  21494. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21495. in: query
  21496. name: cycletype
  21497. required: true
  21498. type: integer
  21499. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21500. 全(0)【原值】
  21501. in: query
  21502. name: cycletime
  21503. required: true
  21504. type: string
  21505. produces:
  21506. - application/json
  21507. responses:
  21508. "200":
  21509. description: OK
  21510. schema:
  21511. items:
  21512. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  21513. type: array
  21514. "500":
  21515. description: Internal Server Error
  21516. schema:
  21517. $ref: '#/definitions/app.Response'
  21518. security:
  21519. - ApiKeyAuth: []
  21520. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  21521. tags:
  21522. - 企业风险管理v3(app)
  21523. /Ermcp3/QryAreaExpourseParamChLogDetail:
  21524. get:
  21525. parameters:
  21526. - description: 用户ID
  21527. in: query
  21528. name: userid
  21529. required: true
  21530. type: integer
  21531. - description: 套保商品id
  21532. in: query
  21533. name: middlegoodsid
  21534. required: true
  21535. type: integer
  21536. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21537. in: query
  21538. name: cycletype
  21539. required: true
  21540. type: integer
  21541. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21542. 全(0)【原值】
  21543. in: query
  21544. name: cycletime
  21545. required: true
  21546. type: string
  21547. produces:
  21548. - application/json
  21549. responses:
  21550. "200":
  21551. description: OK
  21552. schema:
  21553. items:
  21554. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  21555. type: array
  21556. "500":
  21557. description: Internal Server Error
  21558. schema:
  21559. $ref: '#/definitions/app.Response'
  21560. security:
  21561. - ApiKeyAuth: []
  21562. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  21563. tags:
  21564. - 企业风险管理v3(app)
  21565. /Ermcp3/QryAreaExpourseReport:
  21566. get:
  21567. parameters:
  21568. - description: 用户ID
  21569. in: query
  21570. name: userid
  21571. required: true
  21572. type: integer
  21573. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  21574. in: query
  21575. name: querytype
  21576. required: true
  21577. type: integer
  21578. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21579. in: query
  21580. name: cycletype
  21581. required: true
  21582. type: integer
  21583. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21584. 全(0)【原值】
  21585. in: query
  21586. name: cycletime
  21587. required: true
  21588. type: string
  21589. produces:
  21590. - application/json
  21591. responses:
  21592. "200":
  21593. description: OK
  21594. schema:
  21595. items:
  21596. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  21597. type: array
  21598. "500":
  21599. description: Internal Server Error
  21600. schema:
  21601. $ref: '#/definitions/app.Response'
  21602. security:
  21603. - ApiKeyAuth: []
  21604. summary: 查询敞口报表
  21605. tags:
  21606. - 企业风险管理v3(app)
  21607. /Ermcp3/QryAreaSpotplReport:
  21608. get:
  21609. description: 目前pcweb的日/周/月报表与手机端的汇总维度不同, 所以增加了可选参数sumflag参数, pcweb请填1
  21610. parameters:
  21611. - description: 用户ID
  21612. in: query
  21613. name: userid
  21614. required: true
  21615. type: integer
  21616. - description: 查询类型 1-报表 2-报表明细
  21617. in: query
  21618. name: querytype
  21619. required: true
  21620. type: integer
  21621. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21622. in: query
  21623. name: cycletype
  21624. required: true
  21625. type: integer
  21626. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21627. 全(0)【原值】
  21628. in: query
  21629. name: cycletime
  21630. required: true
  21631. type: string
  21632. - description: 现货品种id(明细必填)
  21633. in: query
  21634. name: deliverygoodsid
  21635. type: integer
  21636. - description: 币种id(明细必填)
  21637. in: query
  21638. name: currencyid
  21639. type: integer
  21640. - description: 日/周/月报表汇总维度 1:品种+品类
  21641. in: query
  21642. name: sumflag
  21643. type: integer
  21644. produces:
  21645. - application/json
  21646. responses:
  21647. "200":
  21648. description: OK
  21649. schema:
  21650. items:
  21651. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  21652. type: array
  21653. "500":
  21654. description: Internal Server Error
  21655. schema:
  21656. $ref: '#/definitions/app.Response'
  21657. security:
  21658. - ApiKeyAuth: []
  21659. summary: 查询现货报表
  21660. tags:
  21661. - 企业风险管理v3(app)
  21662. /Ermcp3/QryAreaStockReport:
  21663. get:
  21664. parameters:
  21665. - description: 用户ID
  21666. in: query
  21667. name: userid
  21668. required: true
  21669. type: integer
  21670. - description: 查询类型 1-报表 2-报表明细
  21671. in: query
  21672. name: querytype
  21673. required: true
  21674. type: integer
  21675. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21676. in: query
  21677. name: cycletype
  21678. required: true
  21679. type: integer
  21680. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21681. 全(0)【原值】
  21682. in: query
  21683. name: cycletime
  21684. required: true
  21685. type: string
  21686. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  21687. in: query
  21688. name: sumfields
  21689. type: string
  21690. - description: 品种ID
  21691. in: query
  21692. name: deliverygoodsid
  21693. type: integer
  21694. - description: 品类ID
  21695. in: query
  21696. name: wrstandardid
  21697. type: integer
  21698. - description: 品牌ID
  21699. in: query
  21700. name: spotgoodsbrandid
  21701. type: integer
  21702. - description: 仓库ID
  21703. in: query
  21704. name: warehouseinfoid
  21705. type: integer
  21706. produces:
  21707. - application/json
  21708. responses:
  21709. "200":
  21710. description: OK
  21711. schema:
  21712. items:
  21713. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  21714. type: array
  21715. "500":
  21716. description: Internal Server Error
  21717. schema:
  21718. $ref: '#/definitions/app.Response'
  21719. security:
  21720. - ApiKeyAuth: []
  21721. summary: 查询库存报表
  21722. tags:
  21723. - 企业风险管理v3(app)
  21724. /Ermcp3/QryAreaSumPL:
  21725. get:
  21726. parameters:
  21727. - description: 用户ID
  21728. in: query
  21729. name: userid
  21730. required: true
  21731. type: integer
  21732. - description: 查询类型 1-报表 2-报表明细
  21733. in: query
  21734. name: querytype
  21735. required: true
  21736. type: integer
  21737. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21738. in: query
  21739. name: cycletype
  21740. required: true
  21741. type: integer
  21742. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21743. 全(0)【原值】
  21744. in: query
  21745. name: cycletime
  21746. required: true
  21747. type: string
  21748. - description: 币种id(明细必填)
  21749. in: query
  21750. name: currencyid
  21751. type: integer
  21752. produces:
  21753. - application/json
  21754. responses:
  21755. "200":
  21756. description: OK
  21757. schema:
  21758. items:
  21759. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  21760. type: array
  21761. "500":
  21762. description: Internal Server Error
  21763. schema:
  21764. $ref: '#/definitions/app.Response'
  21765. security:
  21766. - ApiKeyAuth: []
  21767. summary: 查询汇总损益表
  21768. tags:
  21769. - 企业风险管理v3(app)
  21770. /Ermcp3/QryFinanceReport:
  21771. get:
  21772. parameters:
  21773. - description: 用户ID
  21774. in: query
  21775. name: userid
  21776. required: true
  21777. type: integer
  21778. - description: 查询类型 1-报表 2-报表明细
  21779. in: query
  21780. name: querytype
  21781. required: true
  21782. type: integer
  21783. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21784. in: query
  21785. name: cycletype
  21786. required: true
  21787. type: integer
  21788. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21789. 全(0)【原值】
  21790. in: query
  21791. name: cycletime
  21792. required: true
  21793. type: string
  21794. - description: 币种id(报表明细必填)
  21795. in: query
  21796. name: currencyid
  21797. type: integer
  21798. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  21799. in: query
  21800. name: sumfields
  21801. type: string
  21802. produces:
  21803. - application/json
  21804. responses:
  21805. "200":
  21806. description: OK
  21807. schema:
  21808. items:
  21809. $ref: '#/definitions/models.Ermcp3FinanceReport'
  21810. type: array
  21811. "500":
  21812. description: Internal Server Error
  21813. schema:
  21814. $ref: '#/definitions/app.Response'
  21815. security:
  21816. - ApiKeyAuth: []
  21817. summary: 查询财务报表
  21818. tags:
  21819. - 企业风险管理v3(app)
  21820. /Ermcp3/QrySCMiddleGoodsReport:
  21821. get:
  21822. parameters:
  21823. - description: 用户ID
  21824. in: query
  21825. name: userid
  21826. required: true
  21827. type: integer
  21828. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21829. in: query
  21830. name: cycletype
  21831. required: true
  21832. type: integer
  21833. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21834. 全(0)【原值】
  21835. in: query
  21836. name: cycletime
  21837. required: true
  21838. type: string
  21839. - description: 合同id
  21840. in: query
  21841. name: spotcontractid
  21842. type: integer
  21843. - description: 套保品种id
  21844. in: query
  21845. name: middlegoodsid
  21846. type: integer
  21847. - description: 现货品种id
  21848. in: query
  21849. name: deliverygoodsid
  21850. type: integer
  21851. - description: 现货商品id
  21852. in: query
  21853. name: wrstandardid
  21854. type: integer
  21855. - description: 合同编号(模糊匹配)
  21856. in: query
  21857. name: contractno
  21858. type: string
  21859. produces:
  21860. - application/json
  21861. responses:
  21862. "200":
  21863. description: OK
  21864. schema:
  21865. items:
  21866. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  21867. type: array
  21868. "500":
  21869. description: Internal Server Error
  21870. schema:
  21871. $ref: '#/definitions/app.Response'
  21872. security:
  21873. - ApiKeyAuth: []
  21874. summary: 查询定价报表
  21875. tags:
  21876. - 企业风险管理v3(app)
  21877. /Ermcp3/QryTaFutureDataReport:
  21878. get:
  21879. parameters:
  21880. - description: 用户ID
  21881. in: query
  21882. name: userid
  21883. required: true
  21884. type: integer
  21885. - description: 查询类型 1-报表 2-报表明细
  21886. in: query
  21887. name: querytype
  21888. required: true
  21889. type: integer
  21890. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21891. in: query
  21892. name: cycletype
  21893. required: true
  21894. type: integer
  21895. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21896. 全(0)【原值】
  21897. in: query
  21898. name: cycletime
  21899. required: true
  21900. type: string
  21901. - description: 币种id(查明细必填)
  21902. in: query
  21903. name: currencyid
  21904. type: integer
  21905. - description: 品种id(查明细必填)
  21906. in: query
  21907. name: goodsgroupid
  21908. type: integer
  21909. - description: 商品id(查明细必填)
  21910. in: query
  21911. name: goodsid
  21912. type: integer
  21913. - description: 买卖方向(查明细必填)
  21914. in: query
  21915. name: buyorsell
  21916. type: integer
  21917. produces:
  21918. - application/json
  21919. responses:
  21920. "200":
  21921. description: OK
  21922. schema:
  21923. items:
  21924. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  21925. type: array
  21926. "500":
  21927. description: Internal Server Error
  21928. schema:
  21929. $ref: '#/definitions/app.Response'
  21930. security:
  21931. - ApiKeyAuth: []
  21932. summary: 查询期货报表
  21933. tags:
  21934. - 企业风险管理v3(app)
  21935. /Ermcp3/QueryAreaStock:
  21936. get:
  21937. parameters:
  21938. - description: 用户ID
  21939. in: query
  21940. name: userid
  21941. required: true
  21942. type: integer
  21943. produces:
  21944. - application/json
  21945. responses:
  21946. "200":
  21947. description: OK
  21948. schema:
  21949. items:
  21950. $ref: '#/definitions/models.Ermcp3AreaStock'
  21951. type: array
  21952. "500":
  21953. description: Internal Server Error
  21954. schema:
  21955. $ref: '#/definitions/app.Response'
  21956. security:
  21957. - ApiKeyAuth: []
  21958. summary: 查询机构库存(库存管理/当前库存)
  21959. tags:
  21960. - 企业风险管理v3(app)
  21961. /Ermcp3/QueryAreaStockApply:
  21962. get:
  21963. parameters:
  21964. - description: 用户ID
  21965. in: query
  21966. name: userid
  21967. required: true
  21968. type: integer
  21969. - description: 用户类型 2-机构 7-企业成员
  21970. in: query
  21971. name: usertype
  21972. type: integer
  21973. - description: 现货商品ID
  21974. in: query
  21975. name: deliverygoodsid
  21976. type: integer
  21977. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  21978. in: query
  21979. name: inouttype
  21980. type: string
  21981. - description: 合同ID
  21982. in: query
  21983. name: spotcontractid
  21984. type: integer
  21985. - description: 品类ID
  21986. in: query
  21987. name: wrstandardid
  21988. type: integer
  21989. - description: 品牌ID
  21990. in: query
  21991. name: spotgoodsbrandid
  21992. type: integer
  21993. - description: 仓库ID
  21994. in: query
  21995. name: warehouseinfoid
  21996. type: integer
  21997. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21998. in: query
  21999. name: applystatus
  22000. type: string
  22001. produces:
  22002. - application/json
  22003. responses:
  22004. "200":
  22005. description: OK
  22006. schema:
  22007. items:
  22008. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  22009. type: array
  22010. "500":
  22011. description: Internal Server Error
  22012. schema:
  22013. $ref: '#/definitions/app.Response'
  22014. security:
  22015. - ApiKeyAuth: []
  22016. summary: 查询库存申请(出入库记录|库存审核)
  22017. tags:
  22018. - 企业风险管理v3(app)
  22019. /Ermcp3/QueryAreaStockApplySum:
  22020. get:
  22021. parameters:
  22022. - description: 合同ID
  22023. in: query
  22024. name: spotcontractid
  22025. required: true
  22026. type: integer
  22027. produces:
  22028. - application/json
  22029. responses:
  22030. "200":
  22031. description: OK
  22032. schema:
  22033. items:
  22034. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  22035. type: array
  22036. "500":
  22037. description: Internal Server Error
  22038. schema:
  22039. $ref: '#/definitions/app.Response'
  22040. security:
  22041. - ApiKeyAuth: []
  22042. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  22043. tags:
  22044. - 企业风险管理v3(app)
  22045. /Ermcp3/QueryDGFactoryItem:
  22046. get:
  22047. parameters:
  22048. - description: 用户id
  22049. in: query
  22050. name: userid
  22051. type: integer
  22052. - description: 用户类型 2-机构 7-企业成员
  22053. in: query
  22054. name: usertype
  22055. type: integer
  22056. - description: 选择项ID(SEQ_DGFACTORYITEM)
  22057. in: query
  22058. name: dgfactoryitemid
  22059. type: integer
  22060. - description: 现货品种ID
  22061. in: query
  22062. name: deliverygoodsid
  22063. type: integer
  22064. - description: 要素项类型
  22065. in: query
  22066. name: dgfactoryitemtypeid
  22067. type: integer
  22068. - description: 顺序
  22069. in: query
  22070. name: orderindex
  22071. type: integer
  22072. produces:
  22073. - application/json
  22074. responses:
  22075. "200":
  22076. description: OK
  22077. schema:
  22078. items:
  22079. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  22080. type: array
  22081. "500":
  22082. description: Internal Server Error
  22083. schema:
  22084. $ref: '#/definitions/app.Response'
  22085. security:
  22086. - ApiKeyAuth: []
  22087. summary: 查询品种要素定义项
  22088. tags:
  22089. - 企业风险管理v3(app)
  22090. /Ermcp3/QueryDeliveryGoods:
  22091. get:
  22092. parameters:
  22093. - description: 用户id
  22094. in: query
  22095. name: userid
  22096. required: true
  22097. type: integer
  22098. - description: 用户类型 2-机构 7-企业成员
  22099. in: query
  22100. name: usertype
  22101. type: integer
  22102. - description: 排除已配置的业务类型商品 1-套保 2-套利
  22103. in: query
  22104. name: excludecfg
  22105. type: integer
  22106. produces:
  22107. - application/json
  22108. responses:
  22109. "200":
  22110. description: OK
  22111. schema:
  22112. items:
  22113. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  22114. type: array
  22115. "500":
  22116. description: Internal Server Error
  22117. schema:
  22118. $ref: '#/definitions/app.Response'
  22119. security:
  22120. - ApiKeyAuth: []
  22121. summary: 查询现货商品
  22122. tags:
  22123. - 企业风险管理v3(app)
  22124. /Ermcp3/QueryDeliveryGoodsDetail:
  22125. get:
  22126. parameters:
  22127. - description: 用户id
  22128. in: query
  22129. name: userid
  22130. required: true
  22131. type: integer
  22132. - description: 用户类型 2-机构 7-企业成员
  22133. in: query
  22134. name: usertype
  22135. type: integer
  22136. - description: 现货商品id
  22137. in: query
  22138. name: deliverygoodsid
  22139. type: integer
  22140. - description: 过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示
  22141. in: query
  22142. name: filtersubempty
  22143. type: integer
  22144. produces:
  22145. - application/json
  22146. responses:
  22147. "200":
  22148. description: OK
  22149. schema:
  22150. items:
  22151. $ref: '#/definitions/models.XHDeliveryGoods'
  22152. type: array
  22153. "500":
  22154. description: Internal Server Error
  22155. schema:
  22156. $ref: '#/definitions/app.Response'
  22157. security:
  22158. - ApiKeyAuth: []
  22159. summary: 查询现货商品详情
  22160. tags:
  22161. - 企业风险管理v3(app)
  22162. /Ermcp3/QueryExposureDetail:
  22163. get:
  22164. parameters:
  22165. - description: 用户id
  22166. in: query
  22167. name: userid
  22168. required: true
  22169. type: integer
  22170. - description: 用户类型 2-机构 7-企业成员
  22171. in: query
  22172. name: usertype
  22173. type: integer
  22174. - description: 套保商品
  22175. in: query
  22176. name: middlegoodsid
  22177. required: true
  22178. type: integer
  22179. produces:
  22180. - application/json
  22181. responses:
  22182. "200":
  22183. description: OK
  22184. schema:
  22185. items:
  22186. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  22187. type: array
  22188. "500":
  22189. description: Internal Server Error
  22190. schema:
  22191. $ref: '#/definitions/app.Response'
  22192. security:
  22193. - ApiKeyAuth: []
  22194. summary: 查询敞口现货明细
  22195. tags:
  22196. - 企业风险管理v3(app)
  22197. /Ermcp3/QueryExposureSpot:
  22198. get:
  22199. parameters:
  22200. - description: 用户id
  22201. in: query
  22202. name: userid
  22203. required: true
  22204. type: integer
  22205. - description: 用户类型 2-机构 7-企业成员
  22206. in: query
  22207. name: usertype
  22208. type: integer
  22209. produces:
  22210. - application/json
  22211. responses:
  22212. "200":
  22213. description: OK
  22214. schema:
  22215. items:
  22216. $ref: '#/definitions/models.Ermcp3AreaSpot'
  22217. type: array
  22218. "500":
  22219. description: Internal Server Error
  22220. schema:
  22221. $ref: '#/definitions/app.Response'
  22222. security:
  22223. - ApiKeyAuth: []
  22224. summary: 查询敞口现货头寸(敞口/现货头寸)
  22225. tags:
  22226. - 企业风险管理v3(app)
  22227. /Ermcp3/QueryExposureSpotDetail:
  22228. get:
  22229. parameters:
  22230. - description: 用户id
  22231. in: query
  22232. name: userid
  22233. required: true
  22234. type: integer
  22235. - description: 用户类型 2-机构 7-企业成员
  22236. in: query
  22237. name: usertype
  22238. type: integer
  22239. - description: 现货商品ID
  22240. in: query
  22241. name: wrstandardid
  22242. required: true
  22243. type: integer
  22244. produces:
  22245. - application/json
  22246. responses:
  22247. "200":
  22248. description: OK
  22249. schema:
  22250. items:
  22251. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  22252. type: array
  22253. "500":
  22254. description: Internal Server Error
  22255. schema:
  22256. $ref: '#/definitions/app.Response'
  22257. security:
  22258. - ApiKeyAuth: []
  22259. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  22260. tags:
  22261. - 企业风险管理v3(app)
  22262. /Ermcp3/QueryGoodsGroup:
  22263. get:
  22264. parameters:
  22265. - description: 用户id
  22266. in: query
  22267. name: userid
  22268. required: true
  22269. type: integer
  22270. - description: 用户类型 2-机构 7-企业成员
  22271. in: query
  22272. name: usertype
  22273. type: integer
  22274. - description: 排除套保品中已关联的商品组 1-排除
  22275. in: query
  22276. name: excludecfg
  22277. type: integer
  22278. produces:
  22279. - application/json
  22280. responses:
  22281. "200":
  22282. description: OK
  22283. schema:
  22284. items:
  22285. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  22286. type: array
  22287. "500":
  22288. description: Internal Server Error
  22289. schema:
  22290. $ref: '#/definitions/app.Response'
  22291. security:
  22292. - ApiKeyAuth: []
  22293. summary: 查询期货商品组
  22294. tags:
  22295. - 企业风险管理v3(app)
  22296. /Ermcp3/QueryGoodsWrstandard:
  22297. get:
  22298. parameters:
  22299. - description: 用户id
  22300. in: query
  22301. name: userid
  22302. required: true
  22303. type: integer
  22304. - description: 用户类型 2-机构 7-企业成员
  22305. in: query
  22306. name: usertype
  22307. type: integer
  22308. - description: 现货商品id
  22309. in: query
  22310. name: deliverygoodsid
  22311. type: integer
  22312. produces:
  22313. - application/json
  22314. responses:
  22315. "200":
  22316. description: OK
  22317. schema:
  22318. items:
  22319. $ref: '#/definitions/models.Ermcp3Wrstandard'
  22320. type: array
  22321. "500":
  22322. description: Internal Server Error
  22323. schema:
  22324. $ref: '#/definitions/app.Response'
  22325. security:
  22326. - ApiKeyAuth: []
  22327. summary: 查询商品品类
  22328. tags:
  22329. - 企业风险管理v3(app)
  22330. /Ermcp3/QueryGoodsbrand:
  22331. get:
  22332. parameters:
  22333. - description: 用户id
  22334. in: query
  22335. name: userid
  22336. required: true
  22337. type: integer
  22338. - description: 用户类型 2-机构 7-企业成员
  22339. in: query
  22340. name: usertype
  22341. type: integer
  22342. produces:
  22343. - application/json
  22344. responses:
  22345. "200":
  22346. description: OK
  22347. schema:
  22348. items:
  22349. $ref: '#/definitions/models.Ermcp3Brand'
  22350. type: array
  22351. "500":
  22352. description: Internal Server Error
  22353. schema:
  22354. $ref: '#/definitions/app.Response'
  22355. security:
  22356. - ApiKeyAuth: []
  22357. summary: 查询商品品牌
  22358. tags:
  22359. - 企业风险管理v3(app)
  22360. /Ermcp3/QueryHedgePlan:
  22361. get:
  22362. parameters:
  22363. - description: 用户ID
  22364. in: query
  22365. name: userid
  22366. required: true
  22367. type: integer
  22368. - description: 用户类型 2-机构 7-企业成员
  22369. in: query
  22370. name: usertype
  22371. type: integer
  22372. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  22373. in: query
  22374. name: hedgeplanstatus
  22375. required: true
  22376. type: string
  22377. produces:
  22378. - application/json
  22379. responses:
  22380. "200":
  22381. description: OK
  22382. schema:
  22383. items:
  22384. $ref: '#/definitions/models.Ermcp3HedgePlan'
  22385. type: array
  22386. "500":
  22387. description: Internal Server Error
  22388. schema:
  22389. $ref: '#/definitions/app.Response'
  22390. security:
  22391. - ApiKeyAuth: []
  22392. summary: 查询套保计划
  22393. tags:
  22394. - 企业风险管理v3(app)
  22395. /Ermcp3/QueryInnerTradeLink:
  22396. get:
  22397. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  22398. parameters:
  22399. - description: 外部成交单号
  22400. in: query
  22401. name: outtradeid
  22402. required: true
  22403. type: integer
  22404. produces:
  22405. - application/json
  22406. responses:
  22407. "200":
  22408. description: OK
  22409. schema:
  22410. items:
  22411. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  22412. type: array
  22413. "500":
  22414. description: Internal Server Error
  22415. schema:
  22416. $ref: '#/definitions/app.Response'
  22417. security:
  22418. - ApiKeyAuth: []
  22419. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  22420. tags:
  22421. - 企业风险管理v3(app)
  22422. /Ermcp3/QueryMiddleGoodsDetail:
  22423. get:
  22424. parameters:
  22425. - description: 用户id
  22426. in: query
  22427. name: userid
  22428. required: true
  22429. type: integer
  22430. - description: 用户类型 2-机构 7-企业成员
  22431. in: query
  22432. name: usertype
  22433. type: integer
  22434. - description: 套保品种id
  22435. in: query
  22436. name: middlegoodsid
  22437. type: integer
  22438. produces:
  22439. - application/json
  22440. responses:
  22441. "200":
  22442. description: OK
  22443. schema:
  22444. items:
  22445. $ref: '#/definitions/models.TBMiddleGoods'
  22446. type: array
  22447. "500":
  22448. description: Internal Server Error
  22449. schema:
  22450. $ref: '#/definitions/app.Response'
  22451. security:
  22452. - ApiKeyAuth: []
  22453. summary: 查询套保品种详情(套保品种/商品详情)
  22454. tags:
  22455. - 企业风险管理v3(app)
  22456. /Ermcp3/QueryOutTradeLink:
  22457. get:
  22458. description: 页面 app 现货->期现关联->外部成交单关联
  22459. parameters:
  22460. - description: 用户ID(填登录用户的userid)
  22461. in: query
  22462. name: userid
  22463. required: true
  22464. type: integer
  22465. - description: 外部订单号(模糊匹配)
  22466. in: query
  22467. name: outtradeid
  22468. type: string
  22469. - description: 合约名称/代码(模糊匹配)
  22470. in: query
  22471. name: goodsname
  22472. type: string
  22473. - description: 关联状态 0-未关联 1-已关联
  22474. in: query
  22475. name: hasinnerorder
  22476. type: integer
  22477. produces:
  22478. - application/json
  22479. responses:
  22480. "200":
  22481. description: OK
  22482. schema:
  22483. items:
  22484. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  22485. type: array
  22486. "500":
  22487. description: Internal Server Error
  22488. schema:
  22489. $ref: '#/definitions/app.Response'
  22490. security:
  22491. - ApiKeyAuth: []
  22492. summary: 查询外部成交单关联
  22493. tags:
  22494. - 企业风险管理v3(app)
  22495. /Ermcp3/QueryPaAreaAuditCfg:
  22496. get:
  22497. parameters:
  22498. - description: 用户id
  22499. in: query
  22500. name: userid
  22501. required: true
  22502. type: integer
  22503. produces:
  22504. - application/json
  22505. responses:
  22506. "200":
  22507. description: OK
  22508. schema:
  22509. items:
  22510. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  22511. type: array
  22512. "500":
  22513. description: Internal Server Error
  22514. schema:
  22515. $ref: '#/definitions/app.Response'
  22516. security:
  22517. - ApiKeyAuth: []
  22518. summary: 查询审核设置
  22519. tags:
  22520. - 企业风险管理v3(app)
  22521. /Ermcp3/QueryPaAreaSubject:
  22522. get:
  22523. parameters:
  22524. - description: 用户id
  22525. in: query
  22526. name: userid
  22527. required: true
  22528. type: integer
  22529. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  22530. in: query
  22531. name: subjectid
  22532. type: integer
  22533. - description: 主体类型 - 1:交易主体 2:业务部门
  22534. in: query
  22535. name: subjecttype
  22536. type: integer
  22537. - description: '主体状态 - 1:正常 2: 停用'
  22538. in: query
  22539. name: subjectstatus
  22540. type: integer
  22541. produces:
  22542. - application/json
  22543. responses:
  22544. "200":
  22545. description: OK
  22546. schema:
  22547. items:
  22548. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  22549. type: array
  22550. "500":
  22551. description: Internal Server Error
  22552. schema:
  22553. $ref: '#/definitions/app.Response'
  22554. security:
  22555. - ApiKeyAuth: []
  22556. summary: 查询交易主体
  22557. tags:
  22558. - 企业风险管理v3(app)
  22559. /Ermcp3/QueryPaTradeLink:
  22560. get:
  22561. description: 页面 app 现货->期现关联->期现单据关联
  22562. parameters:
  22563. - description: 用户ID
  22564. in: query
  22565. name: userid
  22566. required: true
  22567. type: integer
  22568. produces:
  22569. - application/json
  22570. responses:
  22571. "200":
  22572. description: OK
  22573. schema:
  22574. items:
  22575. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  22576. type: array
  22577. "500":
  22578. description: Internal Server Error
  22579. schema:
  22580. $ref: '#/definitions/app.Response'
  22581. security:
  22582. - ApiKeyAuth: []
  22583. summary: 查询期现单据关联
  22584. tags:
  22585. - 企业风险管理v3(app)
  22586. /Ermcp3/QueryPaTradeLinkDetail:
  22587. get:
  22588. description: 页面 app 现货->期现关联->关联记录
  22589. parameters:
  22590. - description: 用户ID(填登录用户的userid)
  22591. in: query
  22592. name: userid
  22593. required: true
  22594. type: integer
  22595. - description: 关联状态 1:成功 2:失败 3:解绑
  22596. in: query
  22597. name: linkstatus
  22598. type: integer
  22599. - description: 期货订单号(模糊匹配)
  22600. in: query
  22601. name: tradeid
  22602. type: string
  22603. - description: 现货编号(模糊匹配)
  22604. in: query
  22605. name: contractno
  22606. type: string
  22607. - description: 期货账户(模糊匹配)
  22608. in: query
  22609. name: taname
  22610. type: string
  22611. produces:
  22612. - application/json
  22613. responses:
  22614. "200":
  22615. description: OK
  22616. schema:
  22617. items:
  22618. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  22619. type: array
  22620. "500":
  22621. description: Internal Server Error
  22622. schema:
  22623. $ref: '#/definitions/app.Response'
  22624. security:
  22625. - ApiKeyAuth: []
  22626. summary: 查询期现关联记录
  22627. tags:
  22628. - 企业风险管理v3(app)
  22629. /Ermcp3/QueryParamChangeApp:
  22630. get:
  22631. description: |-
  22632. 原型页面:
  22633. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  22634. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  22635. parameters:
  22636. - description: 用户ID
  22637. in: query
  22638. name: userid
  22639. required: true
  22640. type: integer
  22641. - description: 现货品种id
  22642. in: query
  22643. name: deliverygoodsid
  22644. type: integer
  22645. - description: 现货商品id
  22646. in: query
  22647. name: wrstandardid
  22648. type: integer
  22649. - description: 套保商品id
  22650. in: query
  22651. name: middlegoodsid
  22652. type: integer
  22653. - description: 操作类型 1:新增 2:修改
  22654. in: query
  22655. name: operatetype
  22656. type: integer
  22657. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  22658. in: query
  22659. name: paramchangetype
  22660. type: integer
  22661. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22662. in: query
  22663. name: ftstatus
  22664. type: string
  22665. produces:
  22666. - application/json
  22667. responses:
  22668. "200":
  22669. description: OK
  22670. schema:
  22671. items:
  22672. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  22673. type: array
  22674. "500":
  22675. description: Internal Server Error
  22676. schema:
  22677. $ref: '#/definitions/app.Response'
  22678. security:
  22679. - ApiKeyAuth: []
  22680. summary: 查询现货商品参数变更申请(流水)
  22681. tags:
  22682. - 企业风险管理v3(app)
  22683. /Ermcp3/QueryRootUserAccount:
  22684. get:
  22685. parameters:
  22686. - description: 用户ID
  22687. in: query
  22688. name: userid
  22689. required: true
  22690. type: integer
  22691. produces:
  22692. - application/json
  22693. responses:
  22694. "200":
  22695. description: OK
  22696. schema:
  22697. items:
  22698. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  22699. type: array
  22700. "500":
  22701. description: Internal Server Error
  22702. schema:
  22703. $ref: '#/definitions/app.Response'
  22704. security:
  22705. - ApiKeyAuth: []
  22706. summary: 查询顶级用户信息
  22707. tags:
  22708. - 企业风险管理v3(app)
  22709. /Ermcp3/QuerySCMiddleGoods:
  22710. get:
  22711. description: |-
  22712. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  22713. 现货编号 即 合同编号
  22714. parameters:
  22715. - description: 用户ID(填登录用户的userid)
  22716. in: query
  22717. name: userid
  22718. required: true
  22719. type: integer
  22720. - description: 买卖方向 0-买 1-卖
  22721. in: query
  22722. name: buyorsell
  22723. required: true
  22724. type: integer
  22725. - description: 商品组id
  22726. in: query
  22727. name: goodsgroupid
  22728. required: true
  22729. type: integer
  22730. - description: 业务类型 1:套保 2:套利
  22731. in: query
  22732. name: biztype
  22733. type: integer
  22734. - description: 现货编号(模糊匹配)
  22735. in: query
  22736. name: contractno
  22737. type: string
  22738. - description: 对手方(模糊匹配)
  22739. in: query
  22740. name: customername
  22741. type: string
  22742. - description: 现货商品名称(模糊匹配)
  22743. in: query
  22744. name: wrstandardname
  22745. type: string
  22746. produces:
  22747. - application/json
  22748. responses:
  22749. "200":
  22750. description: OK
  22751. schema:
  22752. items:
  22753. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  22754. type: array
  22755. "500":
  22756. description: Internal Server Error
  22757. schema:
  22758. $ref: '#/definitions/app.Response'
  22759. security:
  22760. - ApiKeyAuth: []
  22761. summary: 查询现货订单
  22762. tags:
  22763. - 企业风险管理v3(app)
  22764. /Ermcp3/QuerySpotContract:
  22765. get:
  22766. parameters:
  22767. - description: 用户id(当指定contractid, userid可不填)
  22768. in: query
  22769. name: userid
  22770. required: true
  22771. type: integer
  22772. - description: 用户类型 2-机构 7-企业成员
  22773. in: query
  22774. name: usertype
  22775. type: integer
  22776. - description: 合同类型 1-采购, -1-销售
  22777. in: query
  22778. name: contracttype
  22779. type: integer
  22780. - description: 查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成
  22781. in: query
  22782. name: querytype
  22783. type: string
  22784. - description: 合同ID(SpotContractId)
  22785. in: query
  22786. name: contractid
  22787. type: string
  22788. - description: 合同编号(模糊匹配)
  22789. in: query
  22790. name: contractno
  22791. type: string
  22792. - description: 商品名称(模糊匹配)
  22793. in: query
  22794. name: wrstandardname
  22795. type: string
  22796. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  22797. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  22798. in: query
  22799. name: status
  22800. type: string
  22801. - description: 是否只查今日的合同 1-查今日合同
  22802. in: query
  22803. name: istoday
  22804. type: integer
  22805. produces:
  22806. - application/json
  22807. responses:
  22808. "200":
  22809. description: OK
  22810. schema:
  22811. items:
  22812. $ref: '#/definitions/models.Ermcp3Contract'
  22813. type: array
  22814. "500":
  22815. description: Internal Server Error
  22816. schema:
  22817. $ref: '#/definitions/app.Response'
  22818. security:
  22819. - ApiKeyAuth: []
  22820. summary: 查询现货合同
  22821. tags:
  22822. - 企业风险管理v3(app)
  22823. /Ermcp3/QuerySpotContractBS:
  22824. get:
  22825. parameters:
  22826. - description: 用户id
  22827. in: query
  22828. name: userid
  22829. required: true
  22830. type: integer
  22831. - description: 用户类型 2-机构 7-企业成员
  22832. in: query
  22833. name: usertype
  22834. type: integer
  22835. - description: 合同类型 1-采购, -1-销售
  22836. in: query
  22837. name: contracttype
  22838. required: true
  22839. type: integer
  22840. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  22841. in: query
  22842. name: querytype
  22843. type: integer
  22844. - description: 合同ID(SpotContractId)
  22845. in: query
  22846. name: contractid
  22847. type: string
  22848. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  22849. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  22850. in: query
  22851. name: status
  22852. type: string
  22853. - description: 是否只查今日的合同 1-查今日合同
  22854. in: query
  22855. name: istoday
  22856. type: integer
  22857. produces:
  22858. - application/json
  22859. responses:
  22860. "200":
  22861. description: OK
  22862. schema:
  22863. items:
  22864. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  22865. type: array
  22866. "500":
  22867. description: Internal Server Error
  22868. schema:
  22869. $ref: '#/definitions/app.Response'
  22870. security:
  22871. - ApiKeyAuth: []
  22872. summary: 查询合同(采购/销售)
  22873. tags:
  22874. - 企业风险管理v3(app)
  22875. /Ermcp3/QuerySpotGoodsPrice:
  22876. get:
  22877. parameters:
  22878. - description: 用户ID
  22879. in: query
  22880. name: userid
  22881. required: true
  22882. type: integer
  22883. produces:
  22884. - application/json
  22885. responses:
  22886. "200":
  22887. description: OK
  22888. schema:
  22889. items:
  22890. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  22891. type: array
  22892. "500":
  22893. description: Internal Server Error
  22894. schema:
  22895. $ref: '#/definitions/app.Response'
  22896. security:
  22897. - ApiKeyAuth: []
  22898. summary: 查询现货市价(现货市价)
  22899. tags:
  22900. - 企业风险管理v3(app)
  22901. /Ermcp3/QuerySpotGoodsPriceLog:
  22902. get:
  22903. parameters:
  22904. - description: 用户ID
  22905. in: query
  22906. name: userid
  22907. required: true
  22908. type: integer
  22909. - description: 现货商品ID
  22910. in: query
  22911. name: deliverygoodsid
  22912. required: true
  22913. type: integer
  22914. - description: 品牌ID
  22915. in: query
  22916. name: brandid
  22917. type: integer
  22918. - description: 品类ID
  22919. in: query
  22920. name: wrstandardid
  22921. type: integer
  22922. produces:
  22923. - application/json
  22924. responses:
  22925. "200":
  22926. description: OK
  22927. schema:
  22928. items:
  22929. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  22930. type: array
  22931. "500":
  22932. description: Internal Server Error
  22933. schema:
  22934. $ref: '#/definitions/app.Response'
  22935. security:
  22936. - ApiKeyAuth: []
  22937. summary: 查询现货市价详情(现货市价/详情)
  22938. tags:
  22939. - 企业风险管理v3(app)
  22940. /Ermcp3/QuerySubTaaccount:
  22941. get:
  22942. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  22943. parameters:
  22944. - description: 母账号id
  22945. in: query
  22946. name: parentaccountid
  22947. type: integer
  22948. - description: 母账号代码
  22949. in: query
  22950. name: parentaccountcode
  22951. type: string
  22952. produces:
  22953. - application/json
  22954. responses:
  22955. "200":
  22956. description: OK
  22957. schema:
  22958. items:
  22959. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  22960. type: array
  22961. "500":
  22962. description: Internal Server Error
  22963. schema:
  22964. $ref: '#/definitions/app.Response'
  22965. security:
  22966. - ApiKeyAuth: []
  22967. summary: 查询期货子账户
  22968. tags:
  22969. - 企业风险管理v3(app)
  22970. /Erms2/QueryArbitrageStrategy:
  22971. get:
  22972. parameters:
  22973. - description: 账户ID
  22974. in: query
  22975. name: userid
  22976. required: true
  22977. type: integer
  22978. - description: 商品组ID(品种ID)
  22979. in: query
  22980. name: goodsgroupid
  22981. type: string
  22982. produces:
  22983. - application/json
  22984. responses:
  22985. "200":
  22986. description: OK
  22987. schema:
  22988. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  22989. "500":
  22990. description: Internal Server Error
  22991. schema:
  22992. $ref: '#/definitions/app.Response'
  22993. security:
  22994. - ApiKeyAuth: []
  22995. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  22996. tags:
  22997. - 风险管理
  22998. /Erms2/QueryInnerTradeDetail:
  22999. get:
  23000. parameters:
  23001. - description: 资金账户
  23002. in: query
  23003. name: accountid
  23004. required: true
  23005. type: integer
  23006. produces:
  23007. - application/json
  23008. responses:
  23009. "200":
  23010. description: OK
  23011. schema:
  23012. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  23013. "500":
  23014. description: Internal Server Error
  23015. schema:
  23016. $ref: '#/definitions/app.Response'
  23017. security:
  23018. - ApiKeyAuth: []
  23019. summary: 查询内部成交单信息
  23020. tags:
  23021. - 风险管理
  23022. /Erms2/QuerySpotContract:
  23023. get:
  23024. parameters:
  23025. - description: 策略申请ID
  23026. in: query
  23027. name: asapplyid
  23028. required: true
  23029. type: integer
  23030. - description: 现货合同ID
  23031. in: query
  23032. name: spotcontractid
  23033. type: integer
  23034. produces:
  23035. - application/json
  23036. responses:
  23037. "200":
  23038. description: OK
  23039. schema:
  23040. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  23041. "500":
  23042. description: Internal Server Error
  23043. schema:
  23044. $ref: '#/definitions/app.Response'
  23045. security:
  23046. - ApiKeyAuth: []
  23047. summary: 查询现货合同表信息(指定策略ID、未结束的)
  23048. tags:
  23049. - 风险管理
  23050. /Erms3/AddErms2ASApply:
  23051. post:
  23052. parameters:
  23053. - description: 申请参数
  23054. in: body
  23055. name: jsonBody
  23056. required: true
  23057. schema:
  23058. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  23059. produces:
  23060. - application/json
  23061. responses:
  23062. "200":
  23063. description: OK
  23064. schema:
  23065. $ref: '#/definitions/app.Response'
  23066. "500":
  23067. description: Internal Server Error
  23068. schema:
  23069. $ref: '#/definitions/app.Response'
  23070. security:
  23071. - ApiKeyAuth: []
  23072. summary: 新增期现套利业务申请
  23073. tags:
  23074. - 风险管理v3
  23075. /Erms3/AddErms2SpotTradeApply:
  23076. post:
  23077. parameters:
  23078. - description: 申请参数
  23079. in: body
  23080. name: jsonBody
  23081. required: true
  23082. schema:
  23083. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  23084. produces:
  23085. - application/json
  23086. responses:
  23087. "200":
  23088. description: OK
  23089. schema:
  23090. $ref: '#/definitions/app.Response'
  23091. "500":
  23092. description: Internal Server Error
  23093. schema:
  23094. $ref: '#/definitions/app.Response'
  23095. security:
  23096. - ApiKeyAuth: []
  23097. summary: 新增现货贸易业务申请
  23098. tags:
  23099. - 风险管理v3
  23100. /Erms3/AddSpotContractApply:
  23101. post:
  23102. parameters:
  23103. - description: 申请参数
  23104. in: body
  23105. name: jsonBody
  23106. required: true
  23107. schema:
  23108. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  23109. produces:
  23110. - application/json
  23111. responses:
  23112. "200":
  23113. description: OK
  23114. schema:
  23115. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  23116. "500":
  23117. description: Internal Server Error
  23118. schema:
  23119. $ref: '#/definitions/app.Response'
  23120. security:
  23121. - ApiKeyAuth: []
  23122. summary: 新增现货合同申请
  23123. tags:
  23124. - 风险管理v3
  23125. /Erms3/AddUserInfoApply:
  23126. post:
  23127. parameters:
  23128. - description: 用户信息
  23129. in: body
  23130. name: jsonBody
  23131. required: true
  23132. schema:
  23133. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  23134. produces:
  23135. - application/json
  23136. responses:
  23137. "200":
  23138. description: OK
  23139. schema:
  23140. $ref: '#/definitions/app.Response'
  23141. "500":
  23142. description: Internal Server Error
  23143. schema:
  23144. $ref: '#/definitions/app.Response'
  23145. security:
  23146. - ApiKeyAuth: []
  23147. summary: 新增客户申请
  23148. tags:
  23149. - 风险管理v3
  23150. /Erms3/DeleteUserInfoApply:
  23151. get:
  23152. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  23153. parameters:
  23154. - description: 用户ID
  23155. in: query
  23156. name: userID
  23157. required: true
  23158. type: integer
  23159. produces:
  23160. - application/json
  23161. responses:
  23162. "200":
  23163. description: OK
  23164. schema:
  23165. $ref: '#/definitions/app.Response'
  23166. "500":
  23167. description: Internal Server Error
  23168. schema:
  23169. $ref: '#/definitions/app.Response'
  23170. security:
  23171. - ApiKeyAuth: []
  23172. summary: 删除客户申请
  23173. tags:
  23174. - 风险管理v3
  23175. /Erms3/ModifyUserInfoApply:
  23176. post:
  23177. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  23178. int, "userstate": 2 }'
  23179. parameters:
  23180. - description: 用户信息
  23181. in: body
  23182. name: jsonBody
  23183. required: true
  23184. schema:
  23185. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  23186. produces:
  23187. - application/json
  23188. responses:
  23189. "200":
  23190. description: OK
  23191. schema:
  23192. $ref: '#/definitions/app.Response'
  23193. "500":
  23194. description: Internal Server Error
  23195. schema:
  23196. $ref: '#/definitions/app.Response'
  23197. security:
  23198. - ApiKeyAuth: []
  23199. summary: 修改客户申请
  23200. tags:
  23201. - 风险管理v3
  23202. /Erms3/QueryBusinessInfo:
  23203. get:
  23204. parameters:
  23205. - description: 资金账号ID列表,用逗号分隔
  23206. in: query
  23207. name: accountids
  23208. required: true
  23209. type: string
  23210. - description: 状态,0为未结束 1为已结束
  23211. in: query
  23212. name: status
  23213. required: true
  23214. type: integer
  23215. produces:
  23216. - application/json
  23217. responses:
  23218. "200":
  23219. description: OK
  23220. schema:
  23221. items:
  23222. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  23223. type: array
  23224. "500":
  23225. description: Internal Server Error
  23226. schema:
  23227. $ref: '#/definitions/app.Response'
  23228. security:
  23229. - ApiKeyAuth: []
  23230. summary: 查询业务表单数据
  23231. tags:
  23232. - 风险管理v3
  23233. /Erms3/QueryPendingAuditContract:
  23234. get:
  23235. parameters:
  23236. - description: 资金账号ID列表,逗号隔开
  23237. in: query
  23238. name: accountids
  23239. required: true
  23240. type: string
  23241. - description: 合同类型 1-采购 -1-销售
  23242. in: query
  23243. name: contracttype
  23244. required: true
  23245. type: integer
  23246. - description: 合同模式 1-普通 2-回购
  23247. in: query
  23248. name: contractmode
  23249. required: true
  23250. type: integer
  23251. produces:
  23252. - application/json
  23253. responses:
  23254. "200":
  23255. description: OK
  23256. schema:
  23257. items:
  23258. $ref: '#/definitions/erms3.QryAuditContractRsp'
  23259. type: array
  23260. "500":
  23261. description: Internal Server Error
  23262. schema:
  23263. $ref: '#/definitions/app.Response'
  23264. security:
  23265. - ApiKeyAuth: []
  23266. summary: 查询待审核合同
  23267. tags:
  23268. - 风险管理v3
  23269. /Erms3/QueryPendingBusiness:
  23270. get:
  23271. parameters:
  23272. - description: 资金账号ID列表,逗号隔开
  23273. in: query
  23274. name: accountids
  23275. required: true
  23276. type: string
  23277. produces:
  23278. - application/json
  23279. responses:
  23280. "200":
  23281. description: OK
  23282. schema:
  23283. items:
  23284. $ref: '#/definitions/erms3.QryPendingBizRsp'
  23285. type: array
  23286. "500":
  23287. description: Internal Server Error
  23288. schema:
  23289. $ref: '#/definitions/app.Response'
  23290. security:
  23291. - ApiKeyAuth: []
  23292. summary: 查询待审核基差贸易业务
  23293. tags:
  23294. - 风险管理v3
  23295. /Erms3/QuerySpotContractAppleForm:
  23296. get:
  23297. parameters:
  23298. - description: 登录账号
  23299. in: query
  23300. name: loginID
  23301. required: true
  23302. type: integer
  23303. produces:
  23304. - application/json
  23305. responses:
  23306. "200":
  23307. description: OK
  23308. schema:
  23309. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  23310. "500":
  23311. description: Internal Server Error
  23312. schema:
  23313. $ref: '#/definitions/app.Response'
  23314. security:
  23315. - ApiKeyAuth: []
  23316. summary: 查询合同申请表单数据
  23317. tags:
  23318. - 风险管理v3
  23319. /Erms3/QuerySpotContractDetail:
  23320. get:
  23321. parameters:
  23322. - description: 资金账号ID列表,用逗号分隔
  23323. in: query
  23324. name: accountids
  23325. required: true
  23326. type: string
  23327. - description: 合同类型,1为采购合同 -1为销售合同
  23328. in: query
  23329. name: contracttype
  23330. required: true
  23331. type: integer
  23332. - description: 合同模式,1为普通合同 2为回购销售合同
  23333. in: query
  23334. name: contractmode
  23335. required: true
  23336. type: integer
  23337. - description: 状态,0为履约中 1为已完成
  23338. in: query
  23339. name: status
  23340. required: true
  23341. type: integer
  23342. produces:
  23343. - application/json
  23344. responses:
  23345. "200":
  23346. description: OK
  23347. schema:
  23348. items:
  23349. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  23350. type: array
  23351. "500":
  23352. description: Internal Server Error
  23353. schema:
  23354. $ref: '#/definitions/app.Response'
  23355. security:
  23356. - ApiKeyAuth: []
  23357. summary: 查询合同详细信息
  23358. tags:
  23359. - 风险管理v3
  23360. /Erms3/QueryUserInfoApplies:
  23361. get:
  23362. parameters:
  23363. - description: 页码
  23364. in: query
  23365. name: page
  23366. type: integer
  23367. - description: 每页条数
  23368. in: query
  23369. name: pagesize
  23370. type: integer
  23371. - description: 客户名称,支持模糊查询
  23372. in: query
  23373. name: userName
  23374. type: string
  23375. produces:
  23376. - application/json
  23377. responses:
  23378. "200":
  23379. description: OK
  23380. schema:
  23381. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  23382. "500":
  23383. description: Internal Server Error
  23384. schema:
  23385. $ref: '#/definitions/app.Response'
  23386. security:
  23387. - ApiKeyAuth: []
  23388. summary: 客户申请信息查询
  23389. tags:
  23390. - 风险管理v3
  23391. /Erms3/QueryUserInfos:
  23392. get:
  23393. parameters:
  23394. - description: 页码
  23395. in: query
  23396. name: page
  23397. type: integer
  23398. - description: 每页条数
  23399. in: query
  23400. name: pagesize
  23401. type: integer
  23402. - description: 客户名称,支持模糊查询
  23403. in: query
  23404. name: userName
  23405. type: string
  23406. produces:
  23407. - application/json
  23408. responses:
  23409. "200":
  23410. description: OK
  23411. schema:
  23412. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  23413. "500":
  23414. description: Internal Server Error
  23415. schema:
  23416. $ref: '#/definitions/app.Response'
  23417. security:
  23418. - ApiKeyAuth: []
  23419. summary: 客户信息查询
  23420. tags:
  23421. - 风险管理v3
  23422. /HSBY/GetHsbyMyCount:
  23423. get:
  23424. description: 说明: 不包括已完成的数量。
  23425. parameters:
  23426. - description: 资金账户列表,格式:1,2,3
  23427. in: query
  23428. name: accountIDs
  23429. required: true
  23430. type: string
  23431. produces:
  23432. - application/json
  23433. responses:
  23434. "200":
  23435. description: OK
  23436. schema:
  23437. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  23438. "500":
  23439. description: Internal Server Error
  23440. schema:
  23441. $ref: '#/definitions/app.Response'
  23442. security:
  23443. - ApiKeyAuth: []
  23444. summary: 获取我的订单与包裹数量
  23445. tags:
  23446. - 定制【海商报业】
  23447. /HSBY/QueryClientFixedADConfigs:
  23448. get:
  23449. produces:
  23450. - application/json
  23451. responses:
  23452. "200":
  23453. description: OK
  23454. schema:
  23455. $ref: '#/definitions/models.Clientfixedadconfig'
  23456. "500":
  23457. description: Internal Server Error
  23458. schema:
  23459. $ref: '#/definitions/app.Response'
  23460. security:
  23461. - ApiKeyAuth: []
  23462. summary: 获取终端固定广告配置
  23463. tags:
  23464. - 定制【海商报业】
  23465. /HSBY/QueryHsbyBuyMyTradeDetail:
  23466. get:
  23467. parameters:
  23468. - description: 页码
  23469. in: query
  23470. name: page
  23471. type: integer
  23472. - description: 每页条数
  23473. in: query
  23474. name: pagesize
  23475. type: integer
  23476. - description: 资金账户列表,格式:1,2,3
  23477. in: query
  23478. name: accountIDs
  23479. required: true
  23480. type: string
  23481. produces:
  23482. - application/json
  23483. responses:
  23484. "200":
  23485. description: OK
  23486. schema:
  23487. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  23488. "500":
  23489. description: Internal Server Error
  23490. schema:
  23491. $ref: '#/definitions/app.Response'
  23492. security:
  23493. - ApiKeyAuth: []
  23494. summary: 查询"我的订单 - 已完成"单据信息
  23495. tags:
  23496. - 定制【海商报业】
  23497. /HSBY/QueryHsbyGoodsOrderDetails:
  23498. get:
  23499. description: 说明:查询结果已按委托价格和委托时间排序
  23500. parameters:
  23501. - description: 商品ID
  23502. in: query
  23503. name: goodsID
  23504. required: true
  23505. type: integer
  23506. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  23507. in: query
  23508. name: accountIDs
  23509. type: string
  23510. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  23511. in: query
  23512. name: buyOrSell
  23513. type: integer
  23514. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  23515. in: query
  23516. name: price
  23517. type: number
  23518. - description: 档位,不传则默认为3档
  23519. in: query
  23520. name: speed
  23521. type: integer
  23522. produces:
  23523. - application/json
  23524. responses:
  23525. "200":
  23526. description: OK
  23527. schema:
  23528. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  23529. "500":
  23530. description: Internal Server Error
  23531. schema:
  23532. $ref: '#/definitions/app.Response'
  23533. security:
  23534. - ApiKeyAuth: []
  23535. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  23536. tags:
  23537. - 定制【海商报业】
  23538. /HSBY/QueryHsbyListingGoodsDetail:
  23539. get:
  23540. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  23541. parameters:
  23542. - description: 商品ID
  23543. in: query
  23544. name: goodsID
  23545. required: true
  23546. type: integer
  23547. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  23548. in: query
  23549. name: accountID
  23550. type: integer
  23551. produces:
  23552. - application/json
  23553. responses:
  23554. "200":
  23555. description: OK
  23556. schema:
  23557. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  23558. "500":
  23559. description: Internal Server Error
  23560. schema:
  23561. $ref: '#/definitions/app.Response'
  23562. security:
  23563. - ApiKeyAuth: []
  23564. summary: 查询二级市场(挂牌点选)商品信息详情
  23565. tags:
  23566. - 定制【海商报业】
  23567. /HSBY/QueryHsbyMarketGoodsDetail:
  23568. get:
  23569. parameters:
  23570. - description: 委托单号
  23571. in: query
  23572. name: orderID
  23573. required: true
  23574. type: integer
  23575. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  23576. in: query
  23577. name: accountID
  23578. type: integer
  23579. produces:
  23580. - application/json
  23581. responses:
  23582. "200":
  23583. description: OK
  23584. schema:
  23585. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  23586. "500":
  23587. description: Internal Server Error
  23588. schema:
  23589. $ref: '#/definitions/app.Response'
  23590. security:
  23591. - ApiKeyAuth: []
  23592. summary: 查询三级市场(商城)商品信息详情
  23593. tags:
  23594. - 定制【海商报业】
  23595. /HSBY/QueryHsbyMarketGoodses:
  23596. get:
  23597. parameters:
  23598. - description: 页码
  23599. in: query
  23600. name: page
  23601. type: integer
  23602. - description: 每页条数
  23603. in: query
  23604. name: pagesize
  23605. type: integer
  23606. - description: 市场ID列表,格式:1,2,3
  23607. in: query
  23608. name: marketIDs
  23609. required: true
  23610. type: string
  23611. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  23612. in: query
  23613. name: accountID
  23614. required: true
  23615. type: integer
  23616. - description: 类别ID
  23617. in: query
  23618. name: categoryID
  23619. type: integer
  23620. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  23621. in: query
  23622. name: goodsIDs
  23623. type: string
  23624. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  23625. in: query
  23626. name: couponTypeID
  23627. type: integer
  23628. produces:
  23629. - application/json
  23630. responses:
  23631. "200":
  23632. description: OK
  23633. schema:
  23634. $ref: '#/definitions/models.HsbyMarketGoods'
  23635. "500":
  23636. description: Internal Server Error
  23637. schema:
  23638. $ref: '#/definitions/app.Response'
  23639. security:
  23640. - ApiKeyAuth: []
  23641. summary: 查询特卖商品列表(三级商城)
  23642. tags:
  23643. - 定制【海商报业】
  23644. /HSBY/QueryHsbyMarkets:
  23645. get:
  23646. produces:
  23647. - application/json
  23648. responses:
  23649. "200":
  23650. description: OK
  23651. schema:
  23652. $ref: '#/definitions/models.HsbyMarketInfo'
  23653. "500":
  23654. description: Internal Server Error
  23655. schema:
  23656. $ref: '#/definitions/app.Response'
  23657. security:
  23658. - ApiKeyAuth: []
  23659. summary: 查询海商报业相关市场信息
  23660. tags:
  23661. - 定制【海商报业】
  23662. /HSBY/QueryHsbyMyBuyOrderDetails:
  23663. get:
  23664. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  23665. parameters:
  23666. - description: 资金账户列表,格式:1,2,3
  23667. in: query
  23668. name: accountIDs
  23669. required: true
  23670. type: string
  23671. produces:
  23672. - application/json
  23673. responses:
  23674. "200":
  23675. description: OK
  23676. schema:
  23677. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  23678. "500":
  23679. description: Internal Server Error
  23680. schema:
  23681. $ref: '#/definitions/app.Response'
  23682. security:
  23683. - ApiKeyAuth: []
  23684. summary: 查询“我的订单”信息
  23685. tags:
  23686. - 定制【海商报业】
  23687. /HSBY/QueryHsbyMyGoods:
  23688. get:
  23689. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  23690. parameters:
  23691. - description: 资金账户列表,格式:1,2,3
  23692. in: query
  23693. name: accountIDs
  23694. required: true
  23695. type: string
  23696. produces:
  23697. - application/json
  23698. responses:
  23699. "200":
  23700. description: OK
  23701. schema:
  23702. $ref: '#/definitions/models.HsbyMyGoods'
  23703. "500":
  23704. description: Internal Server Error
  23705. schema:
  23706. $ref: '#/definitions/app.Response'
  23707. security:
  23708. - ApiKeyAuth: []
  23709. summary: 查询“我的商品”信息
  23710. tags:
  23711. - 定制【海商报业】
  23712. /HSBY/QueryHsbyMyPackages:
  23713. get:
  23714. parameters:
  23715. - description: 资金账户列表,格式:1,2,3
  23716. in: query
  23717. name: accountIDs
  23718. required: true
  23719. type: string
  23720. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  23721. in: query
  23722. name: takeOrderStatus
  23723. type: integer
  23724. produces:
  23725. - application/json
  23726. responses:
  23727. "200":
  23728. description: OK
  23729. schema:
  23730. $ref: '#/definitions/models.HsbyMyPackage'
  23731. "500":
  23732. description: Internal Server Error
  23733. schema:
  23734. $ref: '#/definitions/app.Response'
  23735. security:
  23736. - ApiKeyAuth: []
  23737. summary: 查询我的包裹信息
  23738. tags:
  23739. - 定制【海商报业】
  23740. /HSBY/QueryHsbyPreGoodsDetail:
  23741. get:
  23742. parameters:
  23743. - description: 商品ID
  23744. in: query
  23745. name: goodsID
  23746. required: true
  23747. type: integer
  23748. - description: 资金账户,主要用于获取预售商品购买上限
  23749. in: query
  23750. name: accountID
  23751. type: integer
  23752. produces:
  23753. - application/json
  23754. responses:
  23755. "200":
  23756. description: OK
  23757. schema:
  23758. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  23759. "500":
  23760. description: Internal Server Error
  23761. schema:
  23762. $ref: '#/definitions/app.Response'
  23763. security:
  23764. - ApiKeyAuth: []
  23765. summary: 查询一级市场(预售)商品信息详情
  23766. tags:
  23767. - 定制【海商报业】
  23768. /HSBY/QueryHsbyPreGoodses:
  23769. get:
  23770. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  23771. parameters:
  23772. - description: 页码
  23773. in: query
  23774. name: page
  23775. type: integer
  23776. - description: 每页条数
  23777. in: query
  23778. name: pagesize
  23779. type: integer
  23780. - description: 市场ID列表,格式:1,2,3
  23781. in: query
  23782. name: marketIDs
  23783. required: true
  23784. type: string
  23785. - description: 目的地(省)ID
  23786. in: query
  23787. name: descProvinceID
  23788. type: integer
  23789. - description: 目的地(市)ID
  23790. in: query
  23791. name: descCityID
  23792. type: integer
  23793. produces:
  23794. - application/json
  23795. responses:
  23796. "200":
  23797. description: OK
  23798. schema:
  23799. $ref: '#/definitions/models.HsbyPreGoods'
  23800. "500":
  23801. description: Internal Server Error
  23802. schema:
  23803. $ref: '#/definitions/app.Response'
  23804. security:
  23805. - ApiKeyAuth: []
  23806. summary: 查询新品上市商品列表(一级市场预售)
  23807. tags:
  23808. - 定制【海商报业】
  23809. /HSBY/QueryHsbySellMyDetails:
  23810. get:
  23811. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  23812. parameters:
  23813. - description: 页码
  23814. in: query
  23815. name: page
  23816. type: integer
  23817. - description: 每页条数
  23818. in: query
  23819. name: pagesize
  23820. type: integer
  23821. - description: 资金账户列表,格式:1,2,3
  23822. in: query
  23823. name: accountIDs
  23824. required: true
  23825. type: string
  23826. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  23827. in: query
  23828. name: orderType
  23829. type: integer
  23830. produces:
  23831. - application/json
  23832. responses:
  23833. "200":
  23834. description: OK
  23835. schema:
  23836. $ref: '#/definitions/models.HsbySellMyDetail'
  23837. "500":
  23838. description: Internal Server Error
  23839. schema:
  23840. $ref: '#/definitions/app.Response'
  23841. security:
  23842. - ApiKeyAuth: []
  23843. summary: 查询"我的闲置"单据信息
  23844. tags:
  23845. - 定制【海商报业】
  23846. /HSBY/QueryHsbyTopGoodses:
  23847. get:
  23848. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  23849. parameters:
  23850. - description: 页码
  23851. in: query
  23852. name: page
  23853. type: integer
  23854. - description: 每页条数
  23855. in: query
  23856. name: pagesize
  23857. type: integer
  23858. - description: 市场ID列表,格式:1,2,3
  23859. in: query
  23860. name: marketIDs
  23861. required: true
  23862. type: string
  23863. - description: 目的地(省)ID
  23864. in: query
  23865. name: descProvinceID
  23866. type: integer
  23867. - description: 目的地(市)ID
  23868. in: query
  23869. name: descCityID
  23870. type: integer
  23871. produces:
  23872. - application/json
  23873. responses:
  23874. "200":
  23875. description: OK
  23876. schema:
  23877. $ref: '#/definitions/models.HsbyTopGoods'
  23878. "500":
  23879. description: Internal Server Error
  23880. schema:
  23881. $ref: '#/definitions/app.Response'
  23882. security:
  23883. - ApiKeyAuth: []
  23884. summary: 查询热卖商品列表(二级市场挂牌点选)
  23885. tags:
  23886. - 定制【海商报业】
  23887. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  23888. get:
  23889. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  23890. parameters:
  23891. - description: 商品ID
  23892. in: query
  23893. name: goodsID
  23894. required: true
  23895. type: integer
  23896. produces:
  23897. - application/json
  23898. responses:
  23899. "200":
  23900. description: OK
  23901. schema:
  23902. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  23903. "500":
  23904. description: Internal Server Error
  23905. schema:
  23906. $ref: '#/definitions/app.Response'
  23907. security:
  23908. - ApiKeyAuth: []
  23909. summary: 查询游客三级市场(商城)商品信息详情
  23910. tags:
  23911. - 定制【海商报业】
  23912. /HSBY/QueryHsbyVisitorMarketGoodses:
  23913. get:
  23914. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  23915. parameters:
  23916. - description: 页码
  23917. in: query
  23918. name: page
  23919. type: integer
  23920. - description: 每页条数
  23921. in: query
  23922. name: pagesize
  23923. type: integer
  23924. - description: 市场ID列表,格式:1,2,3
  23925. in: query
  23926. name: marketIDs
  23927. required: true
  23928. type: string
  23929. - description: 类别ID
  23930. in: query
  23931. name: categoryID
  23932. type: integer
  23933. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  23934. in: query
  23935. name: goodsIDs
  23936. type: string
  23937. produces:
  23938. - application/json
  23939. responses:
  23940. "200":
  23941. description: OK
  23942. schema:
  23943. $ref: '#/definitions/models.HsbyMarketGoods'
  23944. "500":
  23945. description: Internal Server Error
  23946. schema:
  23947. $ref: '#/definitions/app.Response'
  23948. security:
  23949. - ApiKeyAuth: []
  23950. summary: 查询游客特卖商品列表(三级商城)
  23951. tags:
  23952. - 定制【海商报业】
  23953. /HSBY/QueryMyCollectionOrders:
  23954. get:
  23955. parameters:
  23956. - description: 页码
  23957. in: query
  23958. name: page
  23959. type: integer
  23960. - description: 每页条数
  23961. in: query
  23962. name: pagesize
  23963. type: integer
  23964. - description: 资金账户,格式:1,2,3
  23965. in: query
  23966. name: accountIDs
  23967. required: true
  23968. type: string
  23969. produces:
  23970. - application/json
  23971. responses:
  23972. "200":
  23973. description: OK
  23974. schema:
  23975. $ref: '#/definitions/models.HsbySellCollectionOrder'
  23976. "500":
  23977. description: Internal Server Error
  23978. schema:
  23979. $ref: '#/definitions/app.Response'
  23980. security:
  23981. - ApiKeyAuth: []
  23982. summary: 我的闲置中收款信息查询
  23983. tags:
  23984. - 定制【海商报业】
  23985. /HSBY/QueryMyCouponHolds:
  23986. get:
  23987. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  23988. parameters:
  23989. - description: 资金账户列表,格式:1,2,3
  23990. in: query
  23991. name: accountIDs
  23992. required: true
  23993. type: string
  23994. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  23995. in: query
  23996. name: holdStatus
  23997. type: string
  23998. produces:
  23999. - application/json
  24000. responses:
  24001. "200":
  24002. description: OK
  24003. schema:
  24004. $ref: '#/definitions/models.MyCouponHold'
  24005. "500":
  24006. description: Internal Server Error
  24007. schema:
  24008. $ref: '#/definitions/app.Response'
  24009. security:
  24010. - ApiKeyAuth: []
  24011. summary: 我的优惠卷持仓查询
  24012. tags:
  24013. - 定制【海商报业】
  24014. /HSBY/QueryMyCoupons:
  24015. get:
  24016. parameters:
  24017. - description: 资金账户列表,格式:1,2,3
  24018. in: query
  24019. name: accountIDs
  24020. required: true
  24021. type: string
  24022. - description: 商品ID, 一般与sellUserID配套传入
  24023. in: query
  24024. name: goodsID
  24025. type: integer
  24026. - description: 卖方UserID
  24027. in: query
  24028. name: sellUserID
  24029. type: integer
  24030. produces:
  24031. - application/json
  24032. responses:
  24033. "200":
  24034. description: OK
  24035. schema:
  24036. $ref: '#/definitions/models.MyCoupon'
  24037. "500":
  24038. description: Internal Server Error
  24039. schema:
  24040. $ref: '#/definitions/app.Response'
  24041. security:
  24042. - ApiKeyAuth: []
  24043. summary: 我的优惠卷查询
  24044. tags:
  24045. - 定制【海商报业】
  24046. /HSBY/QueryMyPayOrders:
  24047. get:
  24048. parameters:
  24049. - description: 页码
  24050. in: query
  24051. name: page
  24052. type: integer
  24053. - description: 每页条数
  24054. in: query
  24055. name: pagesize
  24056. type: integer
  24057. - description: 资金账户列表,格式:1,2,3
  24058. in: query
  24059. name: accountIDs
  24060. required: true
  24061. type: string
  24062. - description: 买方委托单号
  24063. in: query
  24064. name: buyOrderID
  24065. type: integer
  24066. - description: 卖方委托单号
  24067. in: query
  24068. name: sellOrderID
  24069. type: integer
  24070. produces:
  24071. - application/json
  24072. responses:
  24073. "200":
  24074. description: OK
  24075. schema:
  24076. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  24077. "500":
  24078. description: Internal Server Error
  24079. schema:
  24080. $ref: '#/definitions/app.Response'
  24081. security:
  24082. - ApiKeyAuth: []
  24083. summary: 获取我的订单中待付款信息
  24084. tags:
  24085. - 定制【海商报业】
  24086. /HSBY/QueryMyUsedCoupon:
  24087. get:
  24088. parameters:
  24089. - description: 资金账户列表,格式:1,2,3
  24090. in: query
  24091. name: accountIDs
  24092. required: true
  24093. type: string
  24094. produces:
  24095. - application/json
  24096. responses:
  24097. "200":
  24098. description: OK
  24099. schema:
  24100. $ref: '#/definitions/models.MyUsedCoupon'
  24101. "500":
  24102. description: Internal Server Error
  24103. schema:
  24104. $ref: '#/definitions/app.Response'
  24105. security:
  24106. - ApiKeyAuth: []
  24107. summary: 已使用优惠卷查询
  24108. tags:
  24109. - 定制【海商报业】
  24110. /HSBY/QueryProvincesAndCities:
  24111. get:
  24112. description: 查询结果只包括二级市场商品已关连的省市信息。
  24113. parameters:
  24114. - description: 省ID
  24115. in: query
  24116. name: provinceID
  24117. type: integer
  24118. produces:
  24119. - application/json
  24120. responses:
  24121. "200":
  24122. description: OK
  24123. schema:
  24124. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  24125. "500":
  24126. description: Internal Server Error
  24127. schema:
  24128. $ref: '#/definitions/app.Response'
  24129. security:
  24130. - ApiKeyAuth: []
  24131. summary: 查询省市信息(不包括区)
  24132. tags:
  24133. - 定制【海商报业】
  24134. /HSBY/SetHsbyMyPackagesStatus:
  24135. post:
  24136. parameters:
  24137. - description: 提货单号
  24138. in: query
  24139. name: takeOrderID
  24140. required: true
  24141. type: string
  24142. - description: 资金账号
  24143. in: query
  24144. name: accountID
  24145. required: true
  24146. type: integer
  24147. produces:
  24148. - application/json
  24149. responses:
  24150. "200":
  24151. description: OK
  24152. schema:
  24153. $ref: '#/definitions/app.Response'
  24154. "500":
  24155. description: Internal Server Error
  24156. schema:
  24157. $ref: '#/definitions/app.Response'
  24158. security:
  24159. - ApiKeyAuth: []
  24160. summary: 设置我的包裹已收货状态
  24161. tags:
  24162. - 定制【海商报业】
  24163. /Market/GetAllExExchanges:
  24164. get:
  24165. produces:
  24166. - application/json
  24167. responses:
  24168. "200":
  24169. description: OK
  24170. schema:
  24171. $ref: '#/definitions/models.Goods'
  24172. "500":
  24173. description: Internal Server Error
  24174. schema:
  24175. $ref: '#/definitions/app.Response'
  24176. security:
  24177. - ApiKeyAuth: []
  24178. summary: 获取所有外部交易所信息
  24179. tags:
  24180. - 通用市场
  24181. /Market/QueryGoodsesByLoginID:
  24182. get:
  24183. parameters:
  24184. - description: 登录账号
  24185. in: query
  24186. name: loginID
  24187. required: true
  24188. type: integer
  24189. - description: 市场ID列表,格式:1,2,3
  24190. in: query
  24191. name: marketIDs
  24192. type: string
  24193. produces:
  24194. - application/json
  24195. responses:
  24196. "200":
  24197. description: OK
  24198. schema:
  24199. $ref: '#/definitions/models.Goods'
  24200. "500":
  24201. description: Internal Server Error
  24202. schema:
  24203. $ref: '#/definitions/app.Response'
  24204. security:
  24205. - ApiKeyAuth: []
  24206. summary: 获取登录账号有权限的商品信息
  24207. tags:
  24208. - 通用市场
  24209. /Market/QueryMarketRun:
  24210. get:
  24211. parameters:
  24212. - description: 市场ID,不传返回所有
  24213. in: query
  24214. name: marketID
  24215. type: integer
  24216. produces:
  24217. - application/json
  24218. responses:
  24219. "200":
  24220. description: OK
  24221. schema:
  24222. $ref: '#/definitions/models.Marketrun'
  24223. "500":
  24224. description: Internal Server Error
  24225. schema:
  24226. $ref: '#/definitions/app.Response'
  24227. security:
  24228. - ApiKeyAuth: []
  24229. summary: 查询市场运行信息
  24230. tags:
  24231. - 通用市场
  24232. /Market/QueryMarketsByLoginID:
  24233. get:
  24234. parameters:
  24235. - description: 登录账号
  24236. in: query
  24237. name: loginID
  24238. required: true
  24239. type: integer
  24240. produces:
  24241. - application/json
  24242. responses:
  24243. "200":
  24244. description: OK
  24245. schema:
  24246. $ref: '#/definitions/models.Market'
  24247. "500":
  24248. description: Internal Server Error
  24249. schema:
  24250. $ref: '#/definitions/app.Response'
  24251. security:
  24252. - ApiKeyAuth: []
  24253. summary: 获取登录账号有权限的市场信息
  24254. tags:
  24255. - 通用市场
  24256. /Order/QueryHisTradeDetail:
  24257. get:
  24258. parameters:
  24259. - description: 资金账户 - 格式:1,2,3
  24260. in: query
  24261. name: accountID
  24262. required: true
  24263. type: string
  24264. - description: 成交单号
  24265. in: query
  24266. name: tradeID
  24267. type: integer
  24268. - description: 委托单号
  24269. in: query
  24270. name: orderID
  24271. type: integer
  24272. - description: 商品ID
  24273. in: query
  24274. name: goodsID
  24275. type: integer
  24276. - description: 交易模式 - 格式:1,2,3
  24277. in: query
  24278. name: tradeMode
  24279. type: string
  24280. - description: 委托单据类型
  24281. in: query
  24282. name: buildType
  24283. type: integer
  24284. - description: 成交类别 - 格式:1,2,3
  24285. in: query
  24286. name: tradeType
  24287. type: string
  24288. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  24289. in: query
  24290. name: startDate
  24291. type: string
  24292. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  24293. in: query
  24294. name: endDate
  24295. type: string
  24296. produces:
  24297. - application/json
  24298. responses:
  24299. "200":
  24300. description: OK
  24301. schema:
  24302. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  24303. "500":
  24304. description: Internal Server Error
  24305. schema:
  24306. $ref: '#/definitions/app.Response'
  24307. security:
  24308. - ApiKeyAuth: []
  24309. summary: 历史成交单查询(合约市场)
  24310. tags:
  24311. - 通用单据
  24312. /Order/QueryHisTradeOrderDetail:
  24313. get:
  24314. parameters:
  24315. - description: 资金账户 - 格式:1,2,3
  24316. in: query
  24317. name: accountID
  24318. required: true
  24319. type: string
  24320. - description: 交易模式 - 格式:1,2,3
  24321. in: query
  24322. name: tradeMode
  24323. type: string
  24324. - description: 委托状态 - 格式:1,2,3
  24325. in: query
  24326. name: orderStatus
  24327. type: string
  24328. - description: 委托单号
  24329. in: query
  24330. name: orderID
  24331. type: integer
  24332. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  24333. in: query
  24334. name: startDate
  24335. type: string
  24336. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  24337. in: query
  24338. name: endDate
  24339. type: string
  24340. produces:
  24341. - application/json
  24342. responses:
  24343. "200":
  24344. description: OK
  24345. schema:
  24346. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  24347. "500":
  24348. description: Internal Server Error
  24349. schema:
  24350. $ref: '#/definitions/app.Response'
  24351. security:
  24352. - ApiKeyAuth: []
  24353. summary: 历史委托单查询请求(合约市场)
  24354. tags:
  24355. - 通用单据
  24356. /Order/QueryTradeDetail:
  24357. get:
  24358. parameters:
  24359. - description: 资金账户 - 格式:1,2,3
  24360. in: query
  24361. name: accountID
  24362. required: true
  24363. type: string
  24364. - description: 成交单号
  24365. in: query
  24366. name: tradeID
  24367. type: integer
  24368. - description: 委托单号
  24369. in: query
  24370. name: orderID
  24371. type: integer
  24372. - description: 交易模式 - 格式:1,2,3
  24373. in: query
  24374. name: tradeMode
  24375. type: string
  24376. - description: 委托单据类型
  24377. in: query
  24378. name: buildType
  24379. type: integer
  24380. - description: 成交类别 - 格式:1,2,3
  24381. in: query
  24382. name: tradeType
  24383. type: string
  24384. - description: 商品ID
  24385. in: query
  24386. name: goodsID
  24387. type: integer
  24388. produces:
  24389. - application/json
  24390. responses:
  24391. "200":
  24392. description: OK
  24393. schema:
  24394. $ref: '#/definitions/order.QueryTradeDetailRsp'
  24395. "500":
  24396. description: Internal Server Error
  24397. schema:
  24398. $ref: '#/definitions/app.Response'
  24399. security:
  24400. - ApiKeyAuth: []
  24401. summary: 成交单查询(合约市场)
  24402. tags:
  24403. - 通用单据
  24404. /Order/QueryTradeHolderDetail:
  24405. get:
  24406. parameters:
  24407. - description: 用户id
  24408. in: query
  24409. name: userid
  24410. type: integer
  24411. - description: 资金账号, 格式 1,2,3
  24412. in: query
  24413. name: accids
  24414. type: string
  24415. - description: 交易模式, 格式 1,2,3
  24416. in: query
  24417. name: trademodes
  24418. type: string
  24419. - description: 市场id, 格式 1,2,3
  24420. in: query
  24421. name: marketids
  24422. type: string
  24423. - description: 商品id
  24424. in: query
  24425. name: goodsid
  24426. type: integer
  24427. - description: 买卖方向 0-买 1-卖
  24428. in: query
  24429. name: buyorsell
  24430. type: integer
  24431. produces:
  24432. - application/json
  24433. responses:
  24434. "200":
  24435. description: OK
  24436. schema:
  24437. items:
  24438. $ref: '#/definitions/models.TradeHolderDetail'
  24439. type: array
  24440. "500":
  24441. description: Internal Server Error
  24442. schema:
  24443. $ref: '#/definitions/app.Response'
  24444. security:
  24445. - ApiKeyAuth: []
  24446. summary: 查询持仓明细
  24447. tags:
  24448. - 通用单据
  24449. /Order/QueryTradeOrderDetail:
  24450. get:
  24451. parameters:
  24452. - description: 资金账户 - 格式:1,2,3
  24453. in: query
  24454. name: accountID
  24455. required: true
  24456. type: string
  24457. - description: 交易模式 - 格式:1,2,3
  24458. in: query
  24459. name: tradeMode
  24460. type: string
  24461. - description: 委托状态 - 格式:1,2,3
  24462. in: query
  24463. name: orderStatus
  24464. type: string
  24465. - description: 委托单号
  24466. in: query
  24467. name: orderID
  24468. type: integer
  24469. produces:
  24470. - application/json
  24471. responses:
  24472. "200":
  24473. description: OK
  24474. schema:
  24475. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  24476. "500":
  24477. description: Internal Server Error
  24478. schema:
  24479. $ref: '#/definitions/app.Response'
  24480. security:
  24481. - ApiKeyAuth: []
  24482. summary: 委托单查询请求(合约市场)
  24483. tags:
  24484. - 通用单据
  24485. /Order/QueryTradePosition:
  24486. get:
  24487. parameters:
  24488. - description: 资金账户 - 格式:1,2,3
  24489. in: query
  24490. name: accountID
  24491. required: true
  24492. type: string
  24493. - description: 交易模式 - 格式:1,2,3
  24494. in: query
  24495. name: tradeMode
  24496. type: string
  24497. produces:
  24498. - application/json
  24499. responses:
  24500. "200":
  24501. description: OK
  24502. schema:
  24503. $ref: '#/definitions/order.QueryTradePositionRsp'
  24504. "500":
  24505. description: Internal Server Error
  24506. schema:
  24507. $ref: '#/definitions/app.Response'
  24508. security:
  24509. - ApiKeyAuth: []
  24510. summary: 持仓汇总查询(合约市场)
  24511. tags:
  24512. - 通用单据
  24513. /Qhj/QueryAccountInOutApply:
  24514. get:
  24515. parameters:
  24516. - description: 用户ID
  24517. in: query
  24518. name: userid
  24519. required: true
  24520. type: integer
  24521. - description: 申请起始日期(格式yyyymmdd)
  24522. in: query
  24523. name: begindate
  24524. type: string
  24525. - description: 申请截止日期(格式yyyymmdd)
  24526. in: query
  24527. name: enddate
  24528. type: string
  24529. - description: 模糊搜索名称
  24530. in: query
  24531. name: likename
  24532. type: string
  24533. produces:
  24534. - application/json
  24535. responses:
  24536. "200":
  24537. description: OK
  24538. schema:
  24539. items:
  24540. $ref: '#/definitions/models.QhjAccountOutInApply'
  24541. type: array
  24542. "500":
  24543. description: Internal Server Error
  24544. schema:
  24545. $ref: '#/definitions/app.Response'
  24546. security:
  24547. - ApiKeyAuth: []
  24548. summary: 查询充值提现
  24549. tags:
  24550. - 大连千海金
  24551. /Qhj/QueryAreaFinanceConfig:
  24552. get:
  24553. parameters:
  24554. - description: 机构用户ID 其他做市关系,都设置为 1
  24555. in: query
  24556. name: userid
  24557. type: integer
  24558. produces:
  24559. - application/json
  24560. responses:
  24561. "200":
  24562. description: OK
  24563. schema:
  24564. items:
  24565. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  24566. type: array
  24567. "500":
  24568. description: Internal Server Error
  24569. schema:
  24570. $ref: '#/definitions/app.Response'
  24571. security:
  24572. - ApiKeyAuth: []
  24573. summary: 查询企业配置表
  24574. tags:
  24575. - 大连千海金
  24576. /Qhj/QueryBankAccountSign:
  24577. get:
  24578. parameters:
  24579. - description: 用户ID
  24580. in: query
  24581. name: userid
  24582. required: true
  24583. type: integer
  24584. produces:
  24585. - application/json
  24586. responses:
  24587. "200":
  24588. description: OK
  24589. schema:
  24590. items:
  24591. $ref: '#/definitions/models.QhjBankAccountSign'
  24592. type: array
  24593. "500":
  24594. description: Internal Server Error
  24595. schema:
  24596. $ref: '#/definitions/app.Response'
  24597. security:
  24598. - ApiKeyAuth: []
  24599. summary: 查询签约银行信息(提现账户管理)
  24600. tags:
  24601. - 大连千海金
  24602. /Qhj/QueryBankInfo:
  24603. get:
  24604. produces:
  24605. - application/json
  24606. responses:
  24607. "200":
  24608. description: OK
  24609. schema:
  24610. items:
  24611. $ref: '#/definitions/models.QhjBankInfo'
  24612. type: array
  24613. "500":
  24614. description: Internal Server Error
  24615. schema:
  24616. $ref: '#/definitions/app.Response'
  24617. security:
  24618. - ApiKeyAuth: []
  24619. summary: 查询开户行
  24620. tags:
  24621. - 大连千海金
  24622. /Qhj/QueryBrokerApply:
  24623. get:
  24624. parameters:
  24625. - description: 所属机构ID
  24626. in: query
  24627. name: userid
  24628. type: integer
  24629. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24630. in: query
  24631. name: filterstatus
  24632. type: string
  24633. produces:
  24634. - application/json
  24635. responses:
  24636. "200":
  24637. description: OK
  24638. schema:
  24639. items:
  24640. $ref: '#/definitions/models.QhjBrokerApply'
  24641. type: array
  24642. "500":
  24643. description: Internal Server Error
  24644. schema:
  24645. $ref: '#/definitions/app.Response'
  24646. security:
  24647. - ApiKeyAuth: []
  24648. summary: 查询经纪人申请
  24649. tags:
  24650. - 大连千海金
  24651. /Qhj/QueryBrokerApplyEx:
  24652. get:
  24653. parameters:
  24654. - description: 所属机构ID
  24655. in: query
  24656. name: userid
  24657. type: integer
  24658. produces:
  24659. - application/json
  24660. responses:
  24661. "200":
  24662. description: OK
  24663. schema:
  24664. items:
  24665. $ref: '#/definitions/models.QhjBrokerApplyEx'
  24666. type: array
  24667. "500":
  24668. description: Internal Server Error
  24669. schema:
  24670. $ref: '#/definitions/app.Response'
  24671. security:
  24672. - ApiKeyAuth: []
  24673. summary: 查询经纪人信息和申请记录
  24674. tags:
  24675. - 大连千海金
  24676. /Qhj/QueryBrokerRewardLog:
  24677. get:
  24678. parameters:
  24679. - description: 用户ID
  24680. in: query
  24681. name: userid
  24682. required: true
  24683. type: integer
  24684. - description: 开始交易日(yyyymmdd)
  24685. in: query
  24686. name: begindate
  24687. type: string
  24688. - description: 结束交易日(yyyymmdd)
  24689. in: query
  24690. name: enddate
  24691. type: string
  24692. produces:
  24693. - application/json
  24694. responses:
  24695. "200":
  24696. description: OK
  24697. schema:
  24698. items:
  24699. $ref: '#/definitions/models.QhjBrokerRewardLog'
  24700. type: array
  24701. "500":
  24702. description: Internal Server Error
  24703. schema:
  24704. $ref: '#/definitions/app.Response'
  24705. security:
  24706. - ApiKeyAuth: []
  24707. summary: 查询奖励流水(我的奖励)
  24708. tags:
  24709. - 大连千海金
  24710. /Qhj/QueryContract:
  24711. get:
  24712. parameters:
  24713. - description: 用户ID
  24714. in: query
  24715. name: userid
  24716. type: integer
  24717. - description: scf合同id
  24718. in: query
  24719. name: scfcontractid
  24720. type: integer
  24721. produces:
  24722. - application/json
  24723. responses:
  24724. "200":
  24725. description: OK
  24726. schema:
  24727. items:
  24728. $ref: '#/definitions/models.QhjContract'
  24729. type: array
  24730. "500":
  24731. description: Internal Server Error
  24732. schema:
  24733. $ref: '#/definitions/app.Response'
  24734. security:
  24735. - ApiKeyAuth: []
  24736. summary: 查询融资明细(合同)
  24737. tags:
  24738. - 大连千海金
  24739. /Qhj/QueryContractLog:
  24740. get:
  24741. parameters:
  24742. - description: scf合同id
  24743. in: query
  24744. name: scfcontractid
  24745. required: true
  24746. type: integer
  24747. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  24748. in: query
  24749. name: amounttype
  24750. type: string
  24751. produces:
  24752. - application/json
  24753. responses:
  24754. "200":
  24755. description: OK
  24756. schema:
  24757. items:
  24758. $ref: '#/definitions/models.QhjContractLog'
  24759. type: array
  24760. "500":
  24761. description: Internal Server Error
  24762. schema:
  24763. $ref: '#/definitions/app.Response'
  24764. security:
  24765. - ApiKeyAuth: []
  24766. summary: 查询融资明细流水(融资明细详情页中的流水)
  24767. tags:
  24768. - 大连千海金
  24769. /Qhj/QueryCusBankSignBank:
  24770. get:
  24771. produces:
  24772. - application/json
  24773. responses:
  24774. "200":
  24775. description: OK
  24776. schema:
  24777. items:
  24778. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  24779. type: array
  24780. "500":
  24781. description: Internal Server Error
  24782. schema:
  24783. $ref: '#/definitions/app.Response'
  24784. security:
  24785. - ApiKeyAuth: []
  24786. summary: 查询托管银行
  24787. tags:
  24788. - 大连千海金
  24789. /Qhj/QueryCustomerInfo:
  24790. get:
  24791. parameters:
  24792. - description: 用户ID
  24793. in: query
  24794. name: userid
  24795. required: true
  24796. type: integer
  24797. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  24798. in: query
  24799. name: querytype
  24800. required: true
  24801. type: integer
  24802. - description: 客户类型 1-个人 2-企业
  24803. in: query
  24804. name: userinfotype
  24805. type: integer
  24806. - description: 客户名称(模糊匹配)
  24807. in: query
  24808. name: customername
  24809. type: string
  24810. - description: 昵称(模糊匹配)
  24811. in: query
  24812. name: nickname
  24813. type: string
  24814. - description: 是否包含子级 1-包含
  24815. in: query
  24816. name: includesub
  24817. type: integer
  24818. produces:
  24819. - application/json
  24820. responses:
  24821. "200":
  24822. description: OK
  24823. schema:
  24824. items:
  24825. $ref: '#/definitions/models.QhjCustomer'
  24826. type: array
  24827. "500":
  24828. description: Internal Server Error
  24829. schema:
  24830. $ref: '#/definitions/app.Response'
  24831. security:
  24832. - ApiKeyAuth: []
  24833. summary: 查询客户资料
  24834. tags:
  24835. - 大连千海金
  24836. /Qhj/QueryGoodsEx:
  24837. get:
  24838. parameters:
  24839. - description: 商品id
  24840. in: query
  24841. name: goodsid
  24842. type: integer
  24843. produces:
  24844. - application/json
  24845. responses:
  24846. "200":
  24847. description: OK
  24848. schema:
  24849. items:
  24850. $ref: '#/definitions/models.Qhjgoodsex'
  24851. type: array
  24852. "500":
  24853. description: Internal Server Error
  24854. schema:
  24855. $ref: '#/definitions/app.Response'
  24856. security:
  24857. - ApiKeyAuth: []
  24858. summary: 交易商品扩展表
  24859. tags:
  24860. - 大连千海金
  24861. /Qhj/QueryMyTeam:
  24862. get:
  24863. parameters:
  24864. - description: 用户ID
  24865. in: query
  24866. name: userid
  24867. required: true
  24868. type: integer
  24869. produces:
  24870. - application/json
  24871. responses:
  24872. "200":
  24873. description: OK
  24874. schema:
  24875. items:
  24876. $ref: '#/definitions/models.QhjMyTeamEx'
  24877. type: array
  24878. "500":
  24879. description: Internal Server Error
  24880. schema:
  24881. $ref: '#/definitions/app.Response'
  24882. security:
  24883. - ApiKeyAuth: []
  24884. summary: 查询我的团队
  24885. tags:
  24886. - 大连千海金
  24887. /Qhj/QueryMyTeamOrder:
  24888. get:
  24889. parameters:
  24890. - description: 页码
  24891. in: query
  24892. name: page
  24893. type: integer
  24894. - description: 每页条数
  24895. in: query
  24896. name: pagesize
  24897. type: integer
  24898. - description: 用户ID
  24899. in: query
  24900. name: userid
  24901. required: true
  24902. type: integer
  24903. - description: 交易模式
  24904. in: query
  24905. name: trademode
  24906. type: integer
  24907. - description: 名称(模糊搜索账户)
  24908. in: query
  24909. name: filtername
  24910. type: string
  24911. produces:
  24912. - application/json
  24913. responses:
  24914. "200":
  24915. description: OK
  24916. schema:
  24917. items:
  24918. $ref: '#/definitions/models.QhjTeamOrder'
  24919. type: array
  24920. "500":
  24921. description: Internal Server Error
  24922. schema:
  24923. $ref: '#/definitions/app.Response'
  24924. security:
  24925. - ApiKeyAuth: []
  24926. summary: 查询团队订单(我的团队/团队订单)
  24927. tags:
  24928. - 大连千海金
  24929. /Qhj/QueryParentAreaList:
  24930. get:
  24931. parameters:
  24932. - description: 用户ID
  24933. in: query
  24934. name: userid
  24935. required: true
  24936. type: integer
  24937. produces:
  24938. - application/json
  24939. responses:
  24940. "200":
  24941. description: OK
  24942. schema:
  24943. items:
  24944. $ref: '#/definitions/models.QhjParentAreaList'
  24945. type: array
  24946. "500":
  24947. description: Internal Server Error
  24948. schema:
  24949. $ref: '#/definitions/app.Response'
  24950. security:
  24951. - ApiKeyAuth: []
  24952. summary: 查询所属机构列表
  24953. tags:
  24954. - 大连千海金
  24955. /Qhj/QueryPayOrder:
  24956. get:
  24957. parameters:
  24958. - description: 资金账号id
  24959. in: query
  24960. name: accountid
  24961. required: true
  24962. type: integer
  24963. - description: 成交单号
  24964. in: query
  24965. name: tradeid
  24966. type: integer
  24967. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  24968. in: query
  24969. name: payflag
  24970. type: string
  24971. produces:
  24972. - application/json
  24973. responses:
  24974. "200":
  24975. description: OK
  24976. schema:
  24977. items:
  24978. $ref: '#/definitions/models.QhjPayOrder'
  24979. type: array
  24980. "500":
  24981. description: Internal Server Error
  24982. schema:
  24983. $ref: '#/definitions/app.Response'
  24984. security:
  24985. - ApiKeyAuth: []
  24986. summary: 查询待付款单据
  24987. tags:
  24988. - 大连千海金
  24989. /Qhj/QueryPickArea:
  24990. get:
  24991. parameters:
  24992. - description: 用户ID
  24993. in: query
  24994. name: userid
  24995. type: integer
  24996. produces:
  24997. - application/json
  24998. responses:
  24999. "200":
  25000. description: OK
  25001. schema:
  25002. items:
  25003. $ref: '#/definitions/models.QhjPickArea'
  25004. type: array
  25005. "500":
  25006. description: Internal Server Error
  25007. schema:
  25008. $ref: '#/definitions/app.Response'
  25009. security:
  25010. - ApiKeyAuth: []
  25011. summary: 查询提货门店
  25012. tags:
  25013. - 大连千海金
  25014. /Qhj/QueryPickGoods:
  25015. get:
  25016. parameters:
  25017. - description: 交易商品id
  25018. in: query
  25019. name: goodsid
  25020. required: true
  25021. type: integer
  25022. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  25023. in: query
  25024. name: status
  25025. type: string
  25026. produces:
  25027. - application/json
  25028. responses:
  25029. "200":
  25030. description: OK
  25031. schema:
  25032. items:
  25033. $ref: '#/definitions/models.QhjPickGoods'
  25034. type: array
  25035. "500":
  25036. description: Internal Server Error
  25037. schema:
  25038. $ref: '#/definitions/app.Response'
  25039. security:
  25040. - ApiKeyAuth: []
  25041. summary: 查询提货商品
  25042. tags:
  25043. - 大连千海金
  25044. /Qhj/QueryRSTriggerLog:
  25045. get:
  25046. parameters:
  25047. - description: 用户ID
  25048. in: query
  25049. name: userid
  25050. type: integer
  25051. - description: 定投策略id
  25052. in: query
  25053. name: regularlystrategyid
  25054. type: integer
  25055. - description: 商品id
  25056. in: query
  25057. name: goodsid
  25058. type: integer
  25059. - description: 开始交易日(yyyymmdd)
  25060. in: query
  25061. name: begindate
  25062. type: string
  25063. - description: 结束交易日(yyyymmdd)
  25064. in: query
  25065. name: enddate
  25066. type: string
  25067. - description: 名称(模糊搜索账户)
  25068. in: query
  25069. name: filtername
  25070. type: string
  25071. produces:
  25072. - application/json
  25073. responses:
  25074. "200":
  25075. description: OK
  25076. schema:
  25077. items:
  25078. $ref: '#/definitions/models.QhjRSTriggerLog'
  25079. type: array
  25080. "500":
  25081. description: Internal Server Error
  25082. schema:
  25083. $ref: '#/definitions/app.Response'
  25084. security:
  25085. - ApiKeyAuth: []
  25086. summary: 查询定投记录(定投管理/详情/定投记录)
  25087. tags:
  25088. - 大连千海金
  25089. /Qhj/QueryRStrategy:
  25090. get:
  25091. parameters:
  25092. - description: 用户ID
  25093. in: query
  25094. name: userid
  25095. type: integer
  25096. - description: 商品id
  25097. in: query
  25098. name: goodsid
  25099. type: integer
  25100. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  25101. in: query
  25102. name: status
  25103. type: string
  25104. - description: 名称(模糊搜索账户)
  25105. in: query
  25106. name: filtername
  25107. type: string
  25108. produces:
  25109. - application/json
  25110. responses:
  25111. "200":
  25112. description: OK
  25113. schema:
  25114. items:
  25115. $ref: '#/definitions/models.QhjRStrategy'
  25116. type: array
  25117. "500":
  25118. description: Internal Server Error
  25119. schema:
  25120. $ref: '#/definitions/app.Response'
  25121. security:
  25122. - ApiKeyAuth: []
  25123. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  25124. tags:
  25125. - 大连千海金
  25126. /Qhj/QueryReckonPriceLog:
  25127. get:
  25128. parameters:
  25129. - description: 商品ID
  25130. in: query
  25131. name: goodsid
  25132. type: integer
  25133. - description: 交易日 格式(yyyymmdd)
  25134. in: query
  25135. name: tradedate
  25136. type: string
  25137. produces:
  25138. - application/json
  25139. responses:
  25140. "200":
  25141. description: OK
  25142. schema:
  25143. items:
  25144. $ref: '#/definitions/models.QhjReckonPriceLog'
  25145. type: array
  25146. "500":
  25147. description: Internal Server Error
  25148. schema:
  25149. $ref: '#/definitions/app.Response'
  25150. security:
  25151. - ApiKeyAuth: []
  25152. summary: 查询定投价(结算价)
  25153. tags:
  25154. - 大连千海金
  25155. /Qhj/QueryScoreLog:
  25156. get:
  25157. parameters:
  25158. - description: 用户ID
  25159. in: query
  25160. name: userid
  25161. required: true
  25162. type: integer
  25163. - description: 开始交易日(yyyymmdd)
  25164. in: query
  25165. name: begindate
  25166. type: string
  25167. - description: 结束交易日(yyyymmdd)
  25168. in: query
  25169. name: enddate
  25170. type: string
  25171. - description: 最近多少条
  25172. in: query
  25173. name: lastnum
  25174. type: integer
  25175. produces:
  25176. - application/json
  25177. responses:
  25178. "200":
  25179. description: OK
  25180. schema:
  25181. items:
  25182. $ref: '#/definitions/models.QhjScoreLog'
  25183. type: array
  25184. "500":
  25185. description: Internal Server Error
  25186. schema:
  25187. $ref: '#/definitions/app.Response'
  25188. security:
  25189. - ApiKeyAuth: []
  25190. summary: 查询积分流水(我的积分)
  25191. tags:
  25192. - 大连千海金
  25193. /Qhj/QuerySiteColumnDetail:
  25194. get:
  25195. parameters:
  25196. - description: 用户ID
  25197. in: query
  25198. name: userid
  25199. required: true
  25200. type: integer
  25201. produces:
  25202. - application/json
  25203. responses:
  25204. "200":
  25205. description: OK
  25206. schema:
  25207. items:
  25208. $ref: '#/definitions/models.QhjSiteColumnDetail'
  25209. type: array
  25210. "500":
  25211. description: Internal Server Error
  25212. schema:
  25213. $ref: '#/definitions/app.Response'
  25214. security:
  25215. - ApiKeyAuth: []
  25216. summary: 查询资讯
  25217. tags:
  25218. - 大连千海金
  25219. /Qhj/QueryTradeGoodsPickup:
  25220. get:
  25221. parameters:
  25222. - description: 用户ID
  25223. in: query
  25224. name: userid
  25225. required: true
  25226. type: integer
  25227. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  25228. 7:已拒绝 8:已撤销
  25229. in: query
  25230. name: takeorderstatus
  25231. type: integer
  25232. produces:
  25233. - application/json
  25234. responses:
  25235. "200":
  25236. description: OK
  25237. schema:
  25238. items:
  25239. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  25240. type: array
  25241. "500":
  25242. description: Internal Server Error
  25243. schema:
  25244. $ref: '#/definitions/app.Response'
  25245. security:
  25246. - ApiKeyAuth: []
  25247. summary: 查询提货
  25248. tags:
  25249. - 大连千海金
  25250. /Qhj/QueryUserCollectConfig:
  25251. get:
  25252. parameters:
  25253. - description: 用户ID
  25254. in: query
  25255. name: userid
  25256. required: true
  25257. type: integer
  25258. produces:
  25259. - application/json
  25260. responses:
  25261. "200":
  25262. description: OK
  25263. schema:
  25264. items:
  25265. $ref: '#/definitions/models.UserCollectConfig'
  25266. type: array
  25267. "500":
  25268. description: Internal Server Error
  25269. schema:
  25270. $ref: '#/definitions/app.Response'
  25271. security:
  25272. - ApiKeyAuth: []
  25273. summary: 查询提现账户设置
  25274. tags:
  25275. - 大连千海金
  25276. /Qhj/QueryUserReceiveInfo:
  25277. get:
  25278. parameters:
  25279. - description: 用户ID
  25280. in: query
  25281. name: userid
  25282. required: true
  25283. type: integer
  25284. produces:
  25285. - application/json
  25286. responses:
  25287. "200":
  25288. description: OK
  25289. schema:
  25290. items:
  25291. $ref: '#/definitions/models.UserReceiveInfo'
  25292. type: array
  25293. "500":
  25294. description: Internal Server Error
  25295. schema:
  25296. $ref: '#/definitions/app.Response'
  25297. security:
  25298. - ApiKeyAuth: []
  25299. summary: 查询收货地址信息
  25300. tags:
  25301. - 大连千海金
  25302. /QhjMgr/QueryAccountInOutApply:
  25303. get:
  25304. parameters:
  25305. - description: 查询类型 1-提现(出金) 2-充值(出金)
  25306. in: query
  25307. name: querytype
  25308. required: true
  25309. type: integer
  25310. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  25311. in: query
  25312. name: applystatus
  25313. type: integer
  25314. - description: 申请起始日期(格式yyyymmdd)
  25315. in: query
  25316. name: begindate
  25317. type: string
  25318. - description: 申请截止日期(格式yyyymmdd)
  25319. in: query
  25320. name: enddate
  25321. type: string
  25322. - description: 模糊搜索名称
  25323. in: query
  25324. name: likename
  25325. type: string
  25326. produces:
  25327. - application/json
  25328. responses:
  25329. "200":
  25330. description: OK
  25331. schema:
  25332. items:
  25333. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  25334. type: array
  25335. "500":
  25336. description: Internal Server Error
  25337. schema:
  25338. $ref: '#/definitions/app.Response'
  25339. security:
  25340. - ApiKeyAuth: []
  25341. summary: 查询充值提现
  25342. tags:
  25343. - 大连千海金(PCWeb)
  25344. /QhjMgr/QueryBrokerApply:
  25345. get:
  25346. parameters:
  25347. - description: 所属机构ID
  25348. in: query
  25349. name: userid
  25350. type: integer
  25351. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  25352. in: query
  25353. name: filterstatus
  25354. type: string
  25355. - description: 名称(模糊匹配)
  25356. in: query
  25357. name: filtername
  25358. type: string
  25359. - description: 是否包含子级 1-包含
  25360. in: query
  25361. name: includesub
  25362. type: integer
  25363. produces:
  25364. - application/json
  25365. responses:
  25366. "200":
  25367. description: OK
  25368. schema:
  25369. items:
  25370. $ref: '#/definitions/models.QhjMgrBrokerApply'
  25371. type: array
  25372. "500":
  25373. description: Internal Server Error
  25374. schema:
  25375. $ref: '#/definitions/app.Response'
  25376. security:
  25377. - ApiKeyAuth: []
  25378. summary: 查询经纪人申请
  25379. tags:
  25380. - 大连千海金(PCWeb)
  25381. /QhjMgr/QueryBrokerRewardReport:
  25382. get:
  25383. parameters:
  25384. - description: 所属机构ID
  25385. in: query
  25386. name: userid
  25387. required: true
  25388. type: integer
  25389. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25390. in: query
  25391. name: cycletype
  25392. required: true
  25393. type: integer
  25394. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  25395. in: query
  25396. name: cycletime
  25397. required: true
  25398. type: string
  25399. - description: 名称(模糊匹配)
  25400. in: query
  25401. name: filtername
  25402. type: string
  25403. - description: 是否包含子级 1-包含
  25404. in: query
  25405. name: includesub
  25406. type: integer
  25407. produces:
  25408. - application/json
  25409. responses:
  25410. "200":
  25411. description: OK
  25412. schema:
  25413. items:
  25414. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  25415. type: array
  25416. "500":
  25417. description: Internal Server Error
  25418. schema:
  25419. $ref: '#/definitions/app.Response'
  25420. security:
  25421. - ApiKeyAuth: []
  25422. summary: 查询经纪人奖励报表(废弃)
  25423. tags:
  25424. - 大连千海金(PCWeb)
  25425. /QhjMgr/QueryContract:
  25426. get:
  25427. parameters:
  25428. - description: 用户ID
  25429. in: query
  25430. name: userid
  25431. type: integer
  25432. - description: 商品id
  25433. in: query
  25434. name: goodsid
  25435. type: integer
  25436. - description: 名称(模糊搜索账户)
  25437. in: query
  25438. name: filtername
  25439. type: string
  25440. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  25441. in: query
  25442. name: risklevel
  25443. type: string
  25444. - description: 开始交易日(yyyymmdd)
  25445. in: query
  25446. name: begindate
  25447. type: string
  25448. - description: 结束交易日(yyyymmdd)
  25449. in: query
  25450. name: enddate
  25451. type: string
  25452. produces:
  25453. - application/json
  25454. responses:
  25455. "200":
  25456. description: OK
  25457. schema:
  25458. items:
  25459. $ref: '#/definitions/models.QhjMgrContract'
  25460. type: array
  25461. "500":
  25462. description: Internal Server Error
  25463. schema:
  25464. $ref: '#/definitions/app.Response'
  25465. security:
  25466. - ApiKeyAuth: []
  25467. summary: 查询融资信息(合同)
  25468. tags:
  25469. - 大连千海金(PCWeb)
  25470. /QhjMgr/QueryCustomerInfo:
  25471. get:
  25472. parameters:
  25473. - description: 用户ID
  25474. in: query
  25475. name: userid
  25476. required: true
  25477. type: integer
  25478. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  25479. in: query
  25480. name: querytype
  25481. required: true
  25482. type: integer
  25483. - description: 客户类型 1-个人 2-企业
  25484. in: query
  25485. name: userinfotype
  25486. type: integer
  25487. - description: 客户名称(模糊匹配)
  25488. in: query
  25489. name: customername
  25490. type: string
  25491. - description: 昵称(模糊匹配)
  25492. in: query
  25493. name: nickname
  25494. type: string
  25495. - description: 所属客户经理(模糊匹配)
  25496. in: query
  25497. name: brokername
  25498. type: string
  25499. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd,
  25500. 如0503 -5月3日)
  25501. in: query
  25502. name: birthday
  25503. type: string
  25504. - description: 是否包含子级 1-包含
  25505. in: query
  25506. name: includesub
  25507. type: integer
  25508. produces:
  25509. - application/json
  25510. responses:
  25511. "200":
  25512. description: OK
  25513. schema:
  25514. items:
  25515. $ref: '#/definitions/models.QhjMgrCustomer'
  25516. type: array
  25517. "500":
  25518. description: Internal Server Error
  25519. schema:
  25520. $ref: '#/definitions/app.Response'
  25521. security:
  25522. - ApiKeyAuth: []
  25523. summary: 查询客户资料
  25524. tags:
  25525. - 大连千海金(PCWeb)
  25526. /QhjMgr/QueryPickGoods:
  25527. get:
  25528. parameters:
  25529. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  25530. in: query
  25531. name: status
  25532. type: string
  25533. produces:
  25534. - application/json
  25535. responses:
  25536. "200":
  25537. description: OK
  25538. schema:
  25539. items:
  25540. $ref: '#/definitions/models.QhjMgrPickGoods'
  25541. type: array
  25542. "500":
  25543. description: Internal Server Error
  25544. schema:
  25545. $ref: '#/definitions/app.Response'
  25546. security:
  25547. - ApiKeyAuth: []
  25548. summary: 查询提货商品
  25549. tags:
  25550. - 大连千海金(PCWeb)
  25551. /QhjMgr/QuerySubArea:
  25552. get:
  25553. parameters:
  25554. - description: 用户ID
  25555. in: query
  25556. name: userid
  25557. required: true
  25558. type: integer
  25559. produces:
  25560. - application/json
  25561. responses:
  25562. "200":
  25563. description: OK
  25564. schema:
  25565. items:
  25566. $ref: '#/definitions/models.QhjMgrSubArea'
  25567. type: array
  25568. "500":
  25569. description: Internal Server Error
  25570. schema:
  25571. $ref: '#/definitions/app.Response'
  25572. security:
  25573. - ApiKeyAuth: []
  25574. summary: 查询子机构列表
  25575. tags:
  25576. - 大连千海金(PCWeb)
  25577. /QhjMgr/QueryTradeDetail:
  25578. get:
  25579. parameters:
  25580. - description: 用户ID
  25581. in: query
  25582. name: userid
  25583. required: true
  25584. type: integer
  25585. - description: 用户类型 1-个人 2-企业
  25586. in: query
  25587. name: userinfotype
  25588. type: integer
  25589. - description: 交易模式
  25590. in: query
  25591. name: trademode
  25592. type: integer
  25593. - description: 商品id
  25594. in: query
  25595. name: goodsid
  25596. type: integer
  25597. - description: 名称(模糊搜索账户)
  25598. in: query
  25599. name: filtername
  25600. type: string
  25601. - description: 开始交易日(yyyymmdd)
  25602. in: query
  25603. name: begindate
  25604. type: string
  25605. - description: 结束交易日(yyyymmdd)
  25606. in: query
  25607. name: enddate
  25608. type: string
  25609. - description: 是否包含子级 1-包含
  25610. in: query
  25611. name: includesub
  25612. type: integer
  25613. produces:
  25614. - application/json
  25615. responses:
  25616. "200":
  25617. description: OK
  25618. schema:
  25619. items:
  25620. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  25621. type: array
  25622. "500":
  25623. description: Internal Server Error
  25624. schema:
  25625. $ref: '#/definitions/app.Response'
  25626. security:
  25627. - ApiKeyAuth: []
  25628. summary: 查询成交明细
  25629. tags:
  25630. - 大连千海金(PCWeb)
  25631. /QhjMgr/QueryTradeOrderDetail:
  25632. get:
  25633. parameters:
  25634. - description: 用户ID
  25635. in: query
  25636. name: userid
  25637. required: true
  25638. type: integer
  25639. - description: 用户类型 1-个人 2-企业
  25640. in: query
  25641. name: userinfotype
  25642. type: integer
  25643. - description: 交易模式
  25644. in: query
  25645. name: trademode
  25646. type: integer
  25647. - description: 商品id
  25648. in: query
  25649. name: goodsid
  25650. type: integer
  25651. - description: 名称(模糊搜索账户)
  25652. in: query
  25653. name: filtername
  25654. type: string
  25655. - description: 开始交易日(yyyymmdd)
  25656. in: query
  25657. name: begindate
  25658. type: string
  25659. - description: 结束交易日(yyyymmdd)
  25660. in: query
  25661. name: enddate
  25662. type: string
  25663. - description: 是否包含子级 1-包含
  25664. in: query
  25665. name: includesub
  25666. type: integer
  25667. produces:
  25668. - application/json
  25669. responses:
  25670. "200":
  25671. description: OK
  25672. schema:
  25673. items:
  25674. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  25675. type: array
  25676. "500":
  25677. description: Internal Server Error
  25678. schema:
  25679. $ref: '#/definitions/app.Response'
  25680. security:
  25681. - ApiKeyAuth: []
  25682. summary: 查询委托明细
  25683. tags:
  25684. - 大连千海金(PCWeb)
  25685. /QhjMgr/QueryTradePayOrder:
  25686. get:
  25687. parameters:
  25688. - description: 用户ID
  25689. in: query
  25690. name: userid
  25691. required: true
  25692. type: integer
  25693. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  25694. in: query
  25695. name: payflag
  25696. type: string
  25697. - description: 用户类型 1-个人 2-企业
  25698. in: query
  25699. name: userinfotype
  25700. type: integer
  25701. - description: 交易模式
  25702. in: query
  25703. name: trademode
  25704. type: integer
  25705. - description: 商品id
  25706. in: query
  25707. name: goodsid
  25708. type: integer
  25709. - description: 名称(模糊搜索账户)
  25710. in: query
  25711. name: filtername
  25712. type: string
  25713. - description: 开始交易日(yyyymmdd)
  25714. in: query
  25715. name: begindate
  25716. type: string
  25717. - description: 结束交易日(yyyymmdd)
  25718. in: query
  25719. name: enddate
  25720. type: string
  25721. - description: 是否包含子级 1-包含
  25722. in: query
  25723. name: includesub
  25724. type: integer
  25725. produces:
  25726. - application/json
  25727. responses:
  25728. "200":
  25729. description: OK
  25730. schema:
  25731. items:
  25732. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  25733. type: array
  25734. "500":
  25735. description: Internal Server Error
  25736. schema:
  25737. $ref: '#/definitions/app.Response'
  25738. security:
  25739. - ApiKeyAuth: []
  25740. summary: 查询待付款单
  25741. tags:
  25742. - 大连千海金(PCWeb)
  25743. /QhjMgr/QueryTradePosition:
  25744. get:
  25745. parameters:
  25746. - description: 用户ID
  25747. in: query
  25748. name: userid
  25749. required: true
  25750. type: integer
  25751. - description: 用户类型 1-个人 2-企业
  25752. in: query
  25753. name: userinfotype
  25754. type: integer
  25755. - description: 交易模式
  25756. in: query
  25757. name: trademode
  25758. type: integer
  25759. - description: 商品id
  25760. in: query
  25761. name: goodsid
  25762. type: integer
  25763. - description: 名称(模糊搜索账户)
  25764. in: query
  25765. name: filtername
  25766. type: string
  25767. - description: 是否包含子级 1-包含
  25768. in: query
  25769. name: includesub
  25770. type: integer
  25771. produces:
  25772. - application/json
  25773. responses:
  25774. "200":
  25775. description: OK
  25776. schema:
  25777. items:
  25778. $ref: '#/definitions/models.QhjMgrPositionRsp'
  25779. type: array
  25780. "500":
  25781. description: Internal Server Error
  25782. schema:
  25783. $ref: '#/definitions/app.Response'
  25784. security:
  25785. - ApiKeyAuth: []
  25786. summary: 查询持仓汇总
  25787. tags:
  25788. - 大连千海金(PCWeb)
  25789. /QhjSys/QueryAgreementChangeLog:
  25790. get:
  25791. parameters:
  25792. - description: 协议ID
  25793. in: query
  25794. name: agreementid
  25795. type: integer
  25796. - description: 协议版本号
  25797. in: query
  25798. name: agreementversion
  25799. type: integer
  25800. - description: 协议类型 - 1:注册 2:登录 3:交易
  25801. in: query
  25802. name: agreementtype
  25803. type: integer
  25804. - description: 协议编号(模糊匹配)
  25805. in: query
  25806. name: agreementno
  25807. type: string
  25808. - description: 协议名称(模糊匹配)
  25809. in: query
  25810. name: agreementname
  25811. type: string
  25812. produces:
  25813. - application/json
  25814. responses:
  25815. "200":
  25816. description: OK
  25817. schema:
  25818. items:
  25819. $ref: '#/definitions/models.QhjAgreementChangeLog'
  25820. type: array
  25821. "500":
  25822. description: Internal Server Error
  25823. schema:
  25824. $ref: '#/definitions/app.Response'
  25825. security:
  25826. - ApiKeyAuth: []
  25827. summary: 查询协议配置变更流水
  25828. tags:
  25829. - 大连千海金(协议和签约信息)
  25830. /QhjSys/QueryAgreementConfig:
  25831. get:
  25832. parameters:
  25833. - description: 协议ID
  25834. in: query
  25835. name: agreementid
  25836. type: integer
  25837. - description: 协议版本号
  25838. in: query
  25839. name: agreementversion
  25840. type: integer
  25841. - description: 协议类型 - 1:注册 2:登录 3:交易
  25842. in: query
  25843. name: agreementtype
  25844. type: integer
  25845. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  25846. in: query
  25847. name: isvalid
  25848. type: integer
  25849. - description: 协议编号(模糊匹配)
  25850. in: query
  25851. name: agreementno
  25852. type: string
  25853. - description: 协议名称(模糊匹配)
  25854. in: query
  25855. name: agreementname
  25856. type: string
  25857. produces:
  25858. - application/json
  25859. responses:
  25860. "200":
  25861. description: OK
  25862. schema:
  25863. items:
  25864. $ref: '#/definitions/models.QhjAgreementConfig'
  25865. type: array
  25866. "500":
  25867. description: Internal Server Error
  25868. schema:
  25869. $ref: '#/definitions/app.Response'
  25870. security:
  25871. - ApiKeyAuth: []
  25872. summary: 查询协议配置
  25873. tags:
  25874. - 大连千海金(协议和签约信息)
  25875. /QhjSys/QueryCustomerSignStatus:
  25876. get:
  25877. parameters:
  25878. - description: 客户ID
  25879. in: query
  25880. name: userid
  25881. type: integer
  25882. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  25883. in: query
  25884. name: nodetype
  25885. type: integer
  25886. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25887. in: query
  25888. name: goodsid
  25889. type: integer
  25890. - description: 创建交易日(yyyyMMdd)
  25891. in: query
  25892. name: tradedate
  25893. type: string
  25894. - description: 用户名称(模糊匹配)
  25895. in: query
  25896. name: username
  25897. type: string
  25898. produces:
  25899. - application/json
  25900. responses:
  25901. "200":
  25902. description: OK
  25903. schema:
  25904. items:
  25905. $ref: '#/definitions/models.QhjCustomerSignStatus'
  25906. type: array
  25907. "500":
  25908. description: Internal Server Error
  25909. schema:
  25910. $ref: '#/definitions/app.Response'
  25911. security:
  25912. - ApiKeyAuth: []
  25913. summary: 查询客户协议签约状态
  25914. tags:
  25915. - 大连千海金(协议和签约信息)
  25916. /QhjSys/QueryNodeAgreementConfig:
  25917. get:
  25918. parameters:
  25919. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  25920. in: query
  25921. name: configid
  25922. type: integer
  25923. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  25924. in: query
  25925. name: nodetype
  25926. type: integer
  25927. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25928. in: query
  25929. name: goodsid
  25930. type: integer
  25931. - description: 协议ID
  25932. in: query
  25933. name: agreementid
  25934. type: integer
  25935. - description: 协议类型 - 1:注册 2:登录 3:交易
  25936. in: query
  25937. name: agreementtype
  25938. type: integer
  25939. - description: 协议版本号
  25940. in: query
  25941. name: agreementversion
  25942. type: integer
  25943. - description: 协议编号(模糊匹配)
  25944. in: query
  25945. name: agreementno
  25946. type: string
  25947. - description: 协议名称(模糊匹配)
  25948. in: query
  25949. name: agreementname
  25950. type: string
  25951. produces:
  25952. - application/json
  25953. responses:
  25954. "200":
  25955. description: OK
  25956. schema:
  25957. items:
  25958. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  25959. type: array
  25960. "500":
  25961. description: Internal Server Error
  25962. schema:
  25963. $ref: '#/definitions/app.Response'
  25964. security:
  25965. - ApiKeyAuth: []
  25966. summary: 查询协议节点配置
  25967. tags:
  25968. - 大连千海金(协议和签约信息)
  25969. /QhjSys/QueryQhjCustomerSignLog:
  25970. get:
  25971. parameters:
  25972. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  25973. in: query
  25974. name: logid
  25975. type: integer
  25976. - description: 客户ID
  25977. in: query
  25978. name: userid
  25979. type: integer
  25980. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  25981. in: query
  25982. name: nodetype
  25983. type: integer
  25984. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25985. in: query
  25986. name: goodsid
  25987. type: integer
  25988. - description: 协议ID
  25989. in: query
  25990. name: agreementid
  25991. type: integer
  25992. - description: 用户名称(模糊匹配)
  25993. in: query
  25994. name: username
  25995. type: string
  25996. - description: 协议编号(模糊匹配)
  25997. in: query
  25998. name: agreementno
  25999. type: string
  26000. - description: 协议名称(模糊匹配)
  26001. in: query
  26002. name: agreementname
  26003. type: string
  26004. produces:
  26005. - application/json
  26006. responses:
  26007. "200":
  26008. description: OK
  26009. schema:
  26010. items:
  26011. $ref: '#/definitions/models.QhjCustomerSignLog'
  26012. type: array
  26013. "500":
  26014. description: Internal Server Error
  26015. schema:
  26016. $ref: '#/definitions/app.Response'
  26017. security:
  26018. - ApiKeyAuth: []
  26019. summary: 查询客户协议签约流水
  26020. tags:
  26021. - 大连千海金(协议和签约信息)
  26022. /QhjSys/QueryUserNodeCfgAndStatus:
  26023. get:
  26024. parameters:
  26025. - description: 客户ID
  26026. in: query
  26027. name: userid
  26028. type: integer
  26029. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  26030. in: query
  26031. name: configid
  26032. type: integer
  26033. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  26034. in: query
  26035. name: nodetype
  26036. type: string
  26037. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  26038. in: query
  26039. name: goodsid
  26040. type: integer
  26041. - description: 协议ID
  26042. in: query
  26043. name: agreementid
  26044. type: integer
  26045. - description: 协议类型 - 1:注册 2:登录 3:交易
  26046. in: query
  26047. name: agreementtype
  26048. type: integer
  26049. - description: 协议版本号
  26050. in: query
  26051. name: agreementversion
  26052. type: integer
  26053. - description: 协议编号(模糊匹配)
  26054. in: query
  26055. name: agreementno
  26056. type: string
  26057. - description: 协议名称(模糊匹配)
  26058. in: query
  26059. name: agreementname
  26060. type: string
  26061. produces:
  26062. - application/json
  26063. responses:
  26064. "200":
  26065. description: OK
  26066. schema:
  26067. items:
  26068. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  26069. type: array
  26070. "500":
  26071. description: Internal Server Error
  26072. schema:
  26073. $ref: '#/definitions/app.Response'
  26074. security:
  26075. - ApiKeyAuth: []
  26076. summary: 查询用户协议节点配置和状态
  26077. tags:
  26078. - 大连千海金(协议和签约信息)
  26079. /Quote/QueryHistoryDatas:
  26080. get:
  26081. parameters:
  26082. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  26083. 日线 12:周线 13:月线 14:年线'
  26084. in: query
  26085. name: cycleType
  26086. required: true
  26087. type: integer
  26088. - description: 商品代码
  26089. in: query
  26090. name: goodsCode
  26091. required: true
  26092. type: string
  26093. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  26094. in: query
  26095. name: startTime
  26096. type: string
  26097. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  26098. in: query
  26099. name: endTime
  26100. type: string
  26101. - description: 条数
  26102. in: query
  26103. name: count
  26104. type: integer
  26105. - description: 是否按时间顺序排序(默认为时间倒序排序)
  26106. in: query
  26107. name: isAsc
  26108. type: boolean
  26109. produces:
  26110. - application/json
  26111. responses:
  26112. "200":
  26113. description: OK
  26114. schema:
  26115. $ref: '#/definitions/quote.HistoryData'
  26116. "500":
  26117. description: Internal Server Error
  26118. schema:
  26119. $ref: '#/definitions/app.Response'
  26120. security:
  26121. - ApiKeyAuth: []
  26122. summary: 查询行情历史数据
  26123. tags:
  26124. - 行情服务
  26125. /Quote/QueryHistoryTikDatas:
  26126. get:
  26127. parameters:
  26128. - description: 商品代码
  26129. in: query
  26130. name: goodsCode
  26131. required: true
  26132. type: string
  26133. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  26134. in: query
  26135. name: startTime
  26136. type: string
  26137. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  26138. in: query
  26139. name: endTime
  26140. type: string
  26141. - description: 条数
  26142. in: query
  26143. name: count
  26144. type: integer
  26145. - description: 是否按时间顺序排序(默认为时间倒序排序)
  26146. in: query
  26147. name: isAsc
  26148. type: boolean
  26149. produces:
  26150. - application/json
  26151. responses:
  26152. "200":
  26153. description: OK
  26154. schema:
  26155. $ref: '#/definitions/quote.HistoryTikData'
  26156. "500":
  26157. description: Internal Server Error
  26158. schema:
  26159. $ref: '#/definitions/app.Response'
  26160. security:
  26161. - ApiKeyAuth: []
  26162. summary: 查询行情Tik数据
  26163. tags:
  26164. - 行情服务
  26165. /Quote/QueryQuoteDay:
  26166. get:
  26167. parameters:
  26168. - description: 此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107
  26169. in: query
  26170. name: goodsCodes
  26171. type: string
  26172. produces:
  26173. - application/json
  26174. responses:
  26175. "200":
  26176. description: OK
  26177. schema:
  26178. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  26179. "500":
  26180. description: Internal Server Error
  26181. schema:
  26182. $ref: '#/definitions/app.Response'
  26183. security:
  26184. - ApiKeyAuth: []
  26185. summary: 获取商品盘面信息
  26186. tags:
  26187. - 行情服务
  26188. /Quote/QueryTSData:
  26189. get:
  26190. parameters:
  26191. - description: 商品代码
  26192. in: query
  26193. name: goodsCode
  26194. required: true
  26195. type: string
  26196. produces:
  26197. - application/json
  26198. responses:
  26199. "200":
  26200. description: OK
  26201. schema:
  26202. $ref: '#/definitions/quote.QueryTSDataRsp'
  26203. "500":
  26204. description: Internal Server Error
  26205. schema:
  26206. $ref: '#/definitions/app.Response'
  26207. security:
  26208. - ApiKeyAuth: []
  26209. summary: 分时图数据查询
  26210. tags:
  26211. - 行情服务
  26212. /SZDZ/QueryConvertConfig:
  26213. get:
  26214. parameters:
  26215. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  26216. 6:交易转花生米(不设置)
  26217. in: query
  26218. name: convertType
  26219. type: integer
  26220. - description: 外部商品代码[JD\PD]
  26221. in: query
  26222. name: outerGoodsCode
  26223. type: string
  26224. - description: 内部商品ID列表[交易],格式:1,2,3
  26225. in: query
  26226. name: innerGoodsIDs
  26227. type: string
  26228. produces:
  26229. - application/json
  26230. responses:
  26231. "200":
  26232. description: OK
  26233. schema:
  26234. $ref: '#/definitions/models.Szdz3convertconfig'
  26235. "500":
  26236. description: Internal Server Error
  26237. schema:
  26238. $ref: '#/definitions/app.Response'
  26239. security:
  26240. - ApiKeyAuth: []
  26241. summary: 查询交易系统转换设置
  26242. tags:
  26243. - 定制【尚志大宗】
  26244. /SZDZ/QueryConvertLog:
  26245. get:
  26246. parameters:
  26247. - description: 资金账户 - 格式:1,2,3
  26248. in: query
  26249. name: accountID
  26250. required: true
  26251. type: string
  26252. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  26253. in: query
  26254. name: startDate
  26255. type: string
  26256. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  26257. in: query
  26258. name: endDate
  26259. type: string
  26260. produces:
  26261. - application/json
  26262. responses:
  26263. "200":
  26264. description: OK
  26265. schema:
  26266. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  26267. "500":
  26268. description: Internal Server Error
  26269. schema:
  26270. $ref: '#/definitions/app.Response'
  26271. security:
  26272. - ApiKeyAuth: []
  26273. summary: 交易系统转换流水查询
  26274. tags:
  26275. - 定制【尚志大宗】
  26276. /SZDZ/QueryGoodsPickup:
  26277. get:
  26278. parameters:
  26279. - description: 资金账户 - 格式:1,2,3
  26280. in: query
  26281. name: accountID
  26282. required: true
  26283. type: string
  26284. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  26285. in: query
  26286. name: takeOrderStatus
  26287. type: integer
  26288. produces:
  26289. - application/json
  26290. responses:
  26291. "200":
  26292. description: OK
  26293. schema:
  26294. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  26295. "500":
  26296. description: Internal Server Error
  26297. schema:
  26298. $ref: '#/definitions/app.Response'
  26299. security:
  26300. - ApiKeyAuth: []
  26301. summary: 商品提货单查询
  26302. tags:
  26303. - 定制【尚志大宗】
  26304. /SZDZ/QueryRecieptOrder:
  26305. get:
  26306. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  26307. parameters:
  26308. - description: 页码
  26309. in: query
  26310. name: page
  26311. type: integer
  26312. - description: 每页条数
  26313. in: query
  26314. name: pagesize
  26315. type: integer
  26316. - description: 商品ID
  26317. in: query
  26318. name: goodsID
  26319. required: true
  26320. type: integer
  26321. - description: 所属账户名称
  26322. in: query
  26323. name: accountName
  26324. type: string
  26325. - description: 市场ID
  26326. in: query
  26327. name: marketID
  26328. type: integer
  26329. - description: 方向 - 0:买 1:卖
  26330. in: query
  26331. name: buyorsell
  26332. required: true
  26333. type: integer
  26334. produces:
  26335. - application/json
  26336. responses:
  26337. "200":
  26338. description: OK
  26339. schema:
  26340. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  26341. "500":
  26342. description: Internal Server Error
  26343. schema:
  26344. $ref: '#/definitions/app.Response'
  26345. security:
  26346. - ApiKeyAuth: []
  26347. summary: 点选挂牌委托单据查询(摘牌大厅)
  26348. tags:
  26349. - 定制【尚志大宗】
  26350. /SZDZ/QuerySZDZTradePosition:
  26351. get:
  26352. parameters:
  26353. - description: 资金账户
  26354. in: query
  26355. name: accountID
  26356. required: true
  26357. type: integer
  26358. produces:
  26359. - application/json
  26360. responses:
  26361. "200":
  26362. description: OK
  26363. schema:
  26364. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  26365. "500":
  26366. description: Internal Server Error
  26367. schema:
  26368. $ref: '#/definitions/app.Response'
  26369. security:
  26370. - ApiKeyAuth: []
  26371. summary: 持仓汇总查询(尚志大宗)
  26372. tags:
  26373. - 定制【尚志大宗】
  26374. /SZDZ/SearchWhite:
  26375. get:
  26376. parameters:
  26377. - description: 用户ID
  26378. in: query
  26379. name: userID
  26380. required: true
  26381. type: integer
  26382. produces:
  26383. - application/json
  26384. responses:
  26385. "200":
  26386. description: OK
  26387. schema:
  26388. $ref: '#/definitions/models.Szdz3searchwhitelist'
  26389. "500":
  26390. description: Internal Server Error
  26391. schema:
  26392. $ref: '#/definitions/app.Response'
  26393. security:
  26394. - ApiKeyAuth: []
  26395. summary: 搜索白名单
  26396. tags:
  26397. - 定制【尚志大宗】
  26398. /Search/SearchGoodses:
  26399. get:
  26400. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  26401. parameters:
  26402. - description: 检索内容
  26403. in: query
  26404. name: content
  26405. required: true
  26406. type: string
  26407. - description: 交易模式,格式:1,2,3
  26408. in: query
  26409. name: tradeModes
  26410. type: string
  26411. produces:
  26412. - application/json
  26413. responses:
  26414. "200":
  26415. description: OK
  26416. schema:
  26417. $ref: '#/definitions/models.SearchGoods'
  26418. "500":
  26419. description: Internal Server Error
  26420. schema:
  26421. $ref: '#/definitions/app.Response'
  26422. summary: 检索商品信息
  26423. tags:
  26424. - 检索服务
  26425. /TaAccount/GetTaAccounts:
  26426. get:
  26427. parameters:
  26428. - description: 登录账户
  26429. in: query
  26430. name: loginID
  26431. required: true
  26432. type: integer
  26433. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  26434. in: query
  26435. name: taAccountType
  26436. type: integer
  26437. produces:
  26438. - application/json
  26439. responses:
  26440. "200":
  26441. description: OK
  26442. schema:
  26443. $ref: '#/definitions/models.Taaccount'
  26444. "500":
  26445. description: Internal Server Error
  26446. schema:
  26447. $ref: '#/definitions/app.Response'
  26448. security:
  26449. - ApiKeyAuth: []
  26450. summary: 获取资金账户信息
  26451. tags:
  26452. - 资金账户
  26453. /TaAccount/QueryAmountLog:
  26454. get:
  26455. parameters:
  26456. - description: 页码
  26457. in: query
  26458. name: page
  26459. type: integer
  26460. - description: 每页条数
  26461. in: query
  26462. name: pagesize
  26463. type: integer
  26464. - description: 资金账户 - 格式:1,2,3
  26465. in: query
  26466. name: accountID
  26467. required: true
  26468. type: string
  26469. - description: 资金操作类型 - 格式:1,2,3
  26470. in: query
  26471. name: OperateType
  26472. type: string
  26473. produces:
  26474. - application/json
  26475. responses:
  26476. "200":
  26477. description: OK
  26478. schema:
  26479. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  26480. "500":
  26481. description: Internal Server Error
  26482. schema:
  26483. $ref: '#/definitions/app.Response'
  26484. security:
  26485. - ApiKeyAuth: []
  26486. summary: 资金流水查询(当前)
  26487. tags:
  26488. - 资金账户
  26489. /TaAccount/QueryHisAmountLog:
  26490. get:
  26491. parameters:
  26492. - description: 页码
  26493. in: query
  26494. name: page
  26495. type: integer
  26496. - description: 每页条数
  26497. in: query
  26498. name: pagesize
  26499. type: integer
  26500. - description: 资金账户 - 格式:1,2,3
  26501. in: query
  26502. name: accountID
  26503. required: true
  26504. type: string
  26505. - description: 资金操作类型 - 格式:1,2,3
  26506. in: query
  26507. name: OperateType
  26508. type: string
  26509. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  26510. in: query
  26511. name: startDate
  26512. type: string
  26513. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  26514. in: query
  26515. name: endDate
  26516. type: string
  26517. produces:
  26518. - application/json
  26519. responses:
  26520. "200":
  26521. description: OK
  26522. schema:
  26523. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  26524. "500":
  26525. description: Internal Server Error
  26526. schema:
  26527. $ref: '#/definitions/app.Response'
  26528. security:
  26529. - ApiKeyAuth: []
  26530. summary: 资金流水查询(历史)
  26531. tags:
  26532. - 资金账户
  26533. /Tjmd/QueryQuoteGoodsList:
  26534. get:
  26535. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  26536. parameters:
  26537. - description: 用户类型
  26538. in: query
  26539. name: usertype
  26540. required: true
  26541. type: integer
  26542. - description: 市场id, 格式 1,2,3
  26543. in: query
  26544. name: marketids
  26545. type: string
  26546. - description: 商品组id
  26547. in: query
  26548. name: goodsgroupid
  26549. type: integer
  26550. - description: 商品id
  26551. in: query
  26552. name: goodsid
  26553. type: integer
  26554. produces:
  26555. - application/json
  26556. responses:
  26557. "200":
  26558. description: OK
  26559. schema:
  26560. items:
  26561. $ref: '#/definitions/models.TjmdQuoteGoods'
  26562. type: array
  26563. "500":
  26564. description: Internal Server Error
  26565. schema:
  26566. $ref: '#/definitions/app.Response'
  26567. security:
  26568. - ApiKeyAuth: []
  26569. summary: 查询掉期报价列表
  26570. tags:
  26571. - 天津麦顿
  26572. /Tjmd/QueryTjmdMarketSection:
  26573. get:
  26574. produces:
  26575. - application/json
  26576. responses:
  26577. "200":
  26578. description: OK
  26579. schema:
  26580. items:
  26581. $ref: '#/definitions/models.TjmdMarketSection'
  26582. type: array
  26583. "500":
  26584. description: Internal Server Error
  26585. schema:
  26586. $ref: '#/definitions/app.Response'
  26587. security:
  26588. - ApiKeyAuth: []
  26589. summary: 查询市场板块
  26590. tags:
  26591. - 天津麦顿
  26592. /Tjmd/QueryTjmdTodayAccountMargin:
  26593. get:
  26594. parameters:
  26595. - description: 市场id
  26596. in: query
  26597. name: marketid
  26598. type: string
  26599. - description: 商品id
  26600. in: query
  26601. name: goodsid
  26602. type: string
  26603. - description: 资金账号
  26604. in: query
  26605. name: accountid
  26606. type: string
  26607. produces:
  26608. - application/json
  26609. responses:
  26610. "200":
  26611. description: OK
  26612. schema:
  26613. items:
  26614. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  26615. type: array
  26616. "500":
  26617. description: Internal Server Error
  26618. schema:
  26619. $ref: '#/definitions/app.Response'
  26620. security:
  26621. - ApiKeyAuth: []
  26622. summary: 查询今日账户保证金配置
  26623. tags:
  26624. - 天津麦顿
  26625. /Tjmd/QueryTjmdTradeOrderDetail:
  26626. get:
  26627. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  26628. parameters:
  26629. - description: 页码
  26630. in: query
  26631. name: page
  26632. type: integer
  26633. - description: 每页条数
  26634. in: query
  26635. name: pagesize
  26636. type: integer
  26637. - description: 用户id
  26638. in: query
  26639. name: userid
  26640. required: true
  26641. type: integer
  26642. - description: 用户类型
  26643. in: query
  26644. name: usertype
  26645. required: true
  26646. type: integer
  26647. - description: 市场id, 格式 1,2,3
  26648. in: query
  26649. name: marketids
  26650. type: string
  26651. - description: 商品id
  26652. in: query
  26653. name: goodsid
  26654. required: true
  26655. type: integer
  26656. - description: 买卖方向 0-买 1-卖
  26657. in: query
  26658. name: buyorsell
  26659. required: true
  26660. type: integer
  26661. produces:
  26662. - application/json
  26663. responses:
  26664. "200":
  26665. description: OK
  26666. schema:
  26667. items:
  26668. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  26669. type: array
  26670. "500":
  26671. description: Internal Server Error
  26672. schema:
  26673. $ref: '#/definitions/app.Response'
  26674. security:
  26675. - ApiKeyAuth: []
  26676. summary: 查询掉期买卖大厅
  26677. tags:
  26678. - 天津麦顿
  26679. /Tjmd/QueryTjmdTransferApply:
  26680. get:
  26681. parameters:
  26682. - description: 类型 1-我的申请 2-对方申请
  26683. in: query
  26684. name: applytype
  26685. required: true
  26686. type: integer
  26687. - description: 市场id, 格式 1,2,3
  26688. in: query
  26689. name: marketids
  26690. type: string
  26691. - description: 资金账号, 格式 25000000001,25000000003
  26692. in: query
  26693. name: accountids
  26694. type: string
  26695. - description: 开始交易日(yyyymmdd)
  26696. in: query
  26697. name: begindate
  26698. type: string
  26699. - description: 结束交易日(yyyymmdd)
  26700. in: query
  26701. name: enddate
  26702. type: string
  26703. produces:
  26704. - application/json
  26705. responses:
  26706. "200":
  26707. description: OK
  26708. schema:
  26709. items:
  26710. $ref: '#/definitions/models.TjmdTransferApply'
  26711. type: array
  26712. "500":
  26713. description: Internal Server Error
  26714. schema:
  26715. $ref: '#/definitions/app.Response'
  26716. security:
  26717. - ApiKeyAuth: []
  26718. summary: 查询掉期协议单
  26719. tags:
  26720. - 天津麦顿
  26721. /Trade/QueryRecieptOrder:
  26722. get:
  26723. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  26724. parameters:
  26725. - description: 页码
  26726. in: query
  26727. name: page
  26728. type: integer
  26729. - description: 每页条数
  26730. in: query
  26731. name: pagesize
  26732. type: integer
  26733. - description: 商品ID
  26734. in: query
  26735. name: goodsID
  26736. required: true
  26737. type: integer
  26738. - description: 所属账户名称
  26739. in: query
  26740. name: accountName
  26741. type: string
  26742. - description: 市场ID
  26743. in: query
  26744. name: marketID
  26745. type: integer
  26746. - description: 方向 - 0:买 1:卖
  26747. in: query
  26748. name: buyorsell
  26749. required: true
  26750. type: integer
  26751. produces:
  26752. - application/json
  26753. responses:
  26754. "200":
  26755. description: OK
  26756. schema:
  26757. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  26758. "500":
  26759. description: Internal Server Error
  26760. schema:
  26761. $ref: '#/definitions/app.Response'
  26762. security:
  26763. - ApiKeyAuth: []
  26764. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  26765. tags:
  26766. - 通用交易
  26767. /User/AddMessageBoard:
  26768. post:
  26769. parameters:
  26770. - description: 用户ID
  26771. in: query
  26772. name: userID
  26773. required: true
  26774. type: integer
  26775. - description: 留言信息
  26776. in: query
  26777. name: message
  26778. required: true
  26779. type: string
  26780. - description: 联系电话
  26781. in: query
  26782. name: contactNum
  26783. required: true
  26784. type: string
  26785. produces:
  26786. - application/json
  26787. responses:
  26788. "200":
  26789. description: OK
  26790. schema:
  26791. $ref: '#/definitions/app.Response'
  26792. "500":
  26793. description: Internal Server Error
  26794. schema:
  26795. $ref: '#/definitions/app.Response'
  26796. security:
  26797. - ApiKeyAuth: []
  26798. summary: 添加用户留言板信息
  26799. tags:
  26800. - 用户信息
  26801. /User/AddUserFavoriteGoods:
  26802. post:
  26803. parameters:
  26804. - description: 用户ID
  26805. in: query
  26806. name: userID
  26807. required: true
  26808. type: integer
  26809. - description: 商品ID
  26810. in: query
  26811. name: goodsID
  26812. required: true
  26813. type: integer
  26814. produces:
  26815. - application/json
  26816. responses:
  26817. "200":
  26818. description: OK
  26819. schema:
  26820. $ref: '#/definitions/app.Response'
  26821. "500":
  26822. description: Internal Server Error
  26823. schema:
  26824. $ref: '#/definitions/app.Response'
  26825. security:
  26826. - ApiKeyAuth: []
  26827. summary: 添加用户商品收藏信息
  26828. tags:
  26829. - 用户信息
  26830. /User/GetLoginID:
  26831. get:
  26832. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  26833. parameters:
  26834. - description: 登录代码
  26835. in: query
  26836. name: username
  26837. required: true
  26838. type: string
  26839. produces:
  26840. - application/json
  26841. responses:
  26842. "200":
  26843. description: OK
  26844. schema:
  26845. $ref: '#/definitions/app.Response'
  26846. "500":
  26847. description: Internal Server Error
  26848. schema:
  26849. $ref: '#/definitions/app.Response'
  26850. summary: 获取登录ID
  26851. tags:
  26852. - 用户信息
  26853. /User/GetUserAccount:
  26854. get:
  26855. parameters:
  26856. - description: 用户ID
  26857. in: query
  26858. name: userID
  26859. required: true
  26860. type: integer
  26861. produces:
  26862. - application/json
  26863. responses:
  26864. "200":
  26865. description: OK
  26866. schema:
  26867. $ref: '#/definitions/models.Useraccount'
  26868. "500":
  26869. description: Internal Server Error
  26870. schema:
  26871. $ref: '#/definitions/app.Response'
  26872. security:
  26873. - ApiKeyAuth: []
  26874. summary: 获取用户账号信息
  26875. tags:
  26876. - 用户信息
  26877. /User/GetUserAuthStatus:
  26878. get:
  26879. parameters:
  26880. - description: 用户ID
  26881. in: query
  26882. name: userID
  26883. required: true
  26884. type: integer
  26885. produces:
  26886. - application/json
  26887. responses:
  26888. "200":
  26889. description: OK
  26890. schema:
  26891. $ref: '#/definitions/app.Response'
  26892. "500":
  26893. description: Internal Server Error
  26894. schema:
  26895. $ref: '#/definitions/app.Response'
  26896. security:
  26897. - ApiKeyAuth: []
  26898. summary: 获取用户实名认证状态
  26899. tags:
  26900. - 用户信息
  26901. /User/LoginQuery:
  26902. get:
  26903. parameters:
  26904. - description: 登录账号
  26905. in: query
  26906. name: loginID
  26907. required: true
  26908. type: integer
  26909. produces:
  26910. - application/json
  26911. responses:
  26912. "200":
  26913. description: OK
  26914. schema:
  26915. $ref: '#/definitions/user.LoginQueryRsp'
  26916. "500":
  26917. description: Internal Server Error
  26918. schema:
  26919. $ref: '#/definitions/app.Response'
  26920. security:
  26921. - ApiKeyAuth: []
  26922. summary: 账户登录后信息查询
  26923. tags:
  26924. - 用户信息
  26925. /User/QueryMessageBoard:
  26926. get:
  26927. parameters:
  26928. - description: 用户ID
  26929. in: query
  26930. name: userID
  26931. required: true
  26932. type: integer
  26933. produces:
  26934. - application/json
  26935. responses:
  26936. "200":
  26937. description: OK
  26938. schema:
  26939. $ref: '#/definitions/models.Messageboard'
  26940. "500":
  26941. description: Internal Server Error
  26942. schema:
  26943. $ref: '#/definitions/app.Response'
  26944. security:
  26945. - ApiKeyAuth: []
  26946. summary: 获取用户留言板信息
  26947. tags:
  26948. - 用户信息
  26949. /User/QueryUserFavoriteGoodses:
  26950. get:
  26951. parameters:
  26952. - description: 用户ID
  26953. in: query
  26954. name: userID
  26955. required: true
  26956. type: integer
  26957. produces:
  26958. - application/json
  26959. responses:
  26960. "200":
  26961. description: OK
  26962. schema:
  26963. $ref: '#/definitions/models.Userfavoritegoods'
  26964. "500":
  26965. description: Internal Server Error
  26966. schema:
  26967. $ref: '#/definitions/app.Response'
  26968. security:
  26969. - ApiKeyAuth: []
  26970. summary: 获取用户商品收藏信息
  26971. tags:
  26972. - 用户信息
  26973. /User/QueryUserInfo:
  26974. get:
  26975. parameters:
  26976. - description: 用户ID
  26977. in: query
  26978. name: userID
  26979. required: true
  26980. type: integer
  26981. - description: 是否解密
  26982. in: query
  26983. name: isDecrypt
  26984. type: boolean
  26985. produces:
  26986. - application/json
  26987. responses:
  26988. "200":
  26989. description: OK
  26990. schema:
  26991. $ref: '#/definitions/models.Userinfo'
  26992. "500":
  26993. description: Internal Server Error
  26994. schema:
  26995. $ref: '#/definitions/app.Response'
  26996. security:
  26997. - ApiKeyAuth: []
  26998. summary: 获取用户信息
  26999. tags:
  27000. - 用户信息
  27001. /User/QueryUserReferNum:
  27002. get:
  27003. parameters:
  27004. - description: 用户ID
  27005. in: query
  27006. name: userID
  27007. required: true
  27008. type: integer
  27009. produces:
  27010. - application/json
  27011. responses:
  27012. "200":
  27013. description: OK
  27014. schema:
  27015. $ref: '#/definitions/app.Response'
  27016. "500":
  27017. description: Internal Server Error
  27018. schema:
  27019. $ref: '#/definitions/app.Response'
  27020. summary: 获取用户邀请码
  27021. tags:
  27022. - 用户信息
  27023. /User/RemoveUserFavoriteGoods:
  27024. post:
  27025. parameters:
  27026. - description: 用户ID
  27027. in: query
  27028. name: userID
  27029. required: true
  27030. type: integer
  27031. - description: 商品ID
  27032. in: query
  27033. name: goodsID
  27034. required: true
  27035. type: integer
  27036. produces:
  27037. - application/json
  27038. responses:
  27039. "200":
  27040. description: OK
  27041. schema:
  27042. $ref: '#/definitions/app.Response'
  27043. "500":
  27044. description: Internal Server Error
  27045. schema:
  27046. $ref: '#/definitions/app.Response'
  27047. security:
  27048. - ApiKeyAuth: []
  27049. summary: 移除用户商品收藏信息
  27050. tags:
  27051. - 用户信息
  27052. /User/UpdateUserAccountStatus:
  27053. post:
  27054. parameters:
  27055. - description: 用户ID
  27056. in: query
  27057. name: userID
  27058. required: true
  27059. type: integer
  27060. - description: 账户状态 - 4:正常 6:注销(停用)
  27061. in: query
  27062. name: accountStatus
  27063. required: true
  27064. type: integer
  27065. produces:
  27066. - application/json
  27067. responses:
  27068. "200":
  27069. description: OK
  27070. schema:
  27071. $ref: '#/definitions/app.Response'
  27072. "500":
  27073. description: Internal Server Error
  27074. schema:
  27075. $ref: '#/definitions/app.Response'
  27076. security:
  27077. - ApiKeyAuth: []
  27078. summary: 更新用户状态
  27079. tags:
  27080. - 用户信息
  27081. /WRTrade/GetAllDeliveryGoods:
  27082. get:
  27083. produces:
  27084. - application/json
  27085. responses:
  27086. "200":
  27087. description: OK
  27088. schema:
  27089. $ref: '#/definitions/app.Response'
  27090. "500":
  27091. description: Internal Server Error
  27092. schema:
  27093. $ref: '#/definitions/app.Response'
  27094. security:
  27095. - ApiKeyAuth: []
  27096. summary: 获取带仓单分类的种类信息
  27097. tags:
  27098. - 仓单贸易
  27099. - 仓单贸易
  27100. /WrTrade2/QueryDeliveryGoodsSection:
  27101. get:
  27102. produces:
  27103. - application/json
  27104. responses:
  27105. "200":
  27106. description: OK
  27107. schema:
  27108. items:
  27109. $ref: '#/definitions/models.WrDeliveryGoodsSection'
  27110. type: array
  27111. "500":
  27112. description: Internal Server Error
  27113. schema:
  27114. $ref: '#/definitions/app.Response'
  27115. security:
  27116. - ApiKeyAuth: []
  27117. summary: 查询板块(分类)
  27118. tags:
  27119. - 仓单贸易v2
  27120. /WrTrade2/QueryFaProductDetail:
  27121. get:
  27122. description: 页面 买卖大厅 -> 选择融资方案
  27123. parameters:
  27124. - description: 仓单要素id
  27125. in: query
  27126. name: wrfactortypeid
  27127. required: true
  27128. type: integer
  27129. produces:
  27130. - application/json
  27131. responses:
  27132. "200":
  27133. description: OK
  27134. schema:
  27135. items:
  27136. $ref: '#/definitions/models.WrFAProductDetail'
  27137. type: array
  27138. "500":
  27139. description: Internal Server Error
  27140. schema:
  27141. $ref: '#/definitions/app.Response'
  27142. security:
  27143. - ApiKeyAuth: []
  27144. summary: 查询融资产品列表
  27145. tags:
  27146. - 仓单贸易v2
  27147. /WrTrade2/QueryFilterItem:
  27148. get:
  27149. parameters:
  27150. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  27151. in: query
  27152. name: itype
  27153. required: true
  27154. type: string
  27155. produces:
  27156. - application/json
  27157. responses:
  27158. "200":
  27159. description: OK
  27160. schema:
  27161. items:
  27162. $ref: '#/definitions/models.WrFilterItem'
  27163. type: array
  27164. "500":
  27165. description: Internal Server Error
  27166. schema:
  27167. $ref: '#/definitions/app.Response'
  27168. security:
  27169. - ApiKeyAuth: []
  27170. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  27171. tags:
  27172. - 仓单贸易v2
  27173. /WrTrade2/QueryFtDeliveryGoods:
  27174. get:
  27175. produces:
  27176. - application/json
  27177. responses:
  27178. "200":
  27179. description: OK
  27180. schema:
  27181. items:
  27182. $ref: '#/definitions/models.WrFtDeliveryGoods'
  27183. type: array
  27184. "500":
  27185. description: Internal Server Error
  27186. schema:
  27187. $ref: '#/definitions/app.Response'
  27188. security:
  27189. - ApiKeyAuth: []
  27190. summary: 查询品种品类筛选框列表
  27191. tags:
  27192. - 仓单贸易v2
  27193. /WrTrade2/QueryHoldLB:
  27194. get:
  27195. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  27196. parameters:
  27197. - description: 资金账号
  27198. in: query
  27199. name: accountid
  27200. required: true
  27201. type: integer
  27202. - description: 仓库id
  27203. in: query
  27204. name: warehouseid
  27205. type: integer
  27206. - description: 品种id
  27207. in: query
  27208. name: deliverygoodsid
  27209. type: integer
  27210. - description: 品类id
  27211. in: query
  27212. name: wrstandardid
  27213. type: integer
  27214. - description: 仓单要素id
  27215. in: query
  27216. name: wrfactortypeid
  27217. type: integer
  27218. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  27219. in: query
  27220. name: dgitemname
  27221. type: string
  27222. produces:
  27223. - application/json
  27224. responses:
  27225. "200":
  27226. description: OK
  27227. schema:
  27228. items:
  27229. $ref: '#/definitions/models.WrHoldLB'
  27230. type: array
  27231. "500":
  27232. description: Internal Server Error
  27233. schema:
  27234. $ref: '#/definitions/app.Response'
  27235. security:
  27236. - ApiKeyAuth: []
  27237. summary: 查询仓单持有记录
  27238. tags:
  27239. - 仓单贸易v2
  27240. /WrTrade2/QueryOrderQuote:
  27241. get:
  27242. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  27243. 唯一确定1条记录
  27244. parameters:
  27245. - description: 页码
  27246. in: query
  27247. name: page
  27248. type: integer
  27249. - description: 每页条数
  27250. in: query
  27251. name: pagesize
  27252. type: integer
  27253. - description: 仓单贸易市场id
  27254. in: query
  27255. name: marketid
  27256. type: integer
  27257. - description: 价格方式 - 1:固定价 2-浮动价
  27258. in: query
  27259. name: wrpricetype
  27260. required: true
  27261. type: integer
  27262. - description: 0:仓单预售 1:仓单贸易
  27263. in: query
  27264. name: haswr
  27265. type: integer
  27266. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  27267. in: query
  27268. name: dgitemname
  27269. type: string
  27270. - description: 仓库id(筛选条件)
  27271. in: query
  27272. name: warehouseid
  27273. type: integer
  27274. - description: 品种id
  27275. in: query
  27276. name: deliverygoodsid
  27277. type: integer
  27278. - description: 品类id
  27279. in: query
  27280. name: wrstandardid
  27281. type: integer
  27282. - description: 仓单要素id
  27283. in: query
  27284. name: wrfactortypeid
  27285. type: integer
  27286. - description: 交收月(yyyy-mm) 仓单预售填写
  27287. in: query
  27288. name: deliverymonth
  27289. type: string
  27290. produces:
  27291. - application/json
  27292. responses:
  27293. "200":
  27294. description: OK
  27295. schema:
  27296. items:
  27297. $ref: '#/definitions/models.WrOrderQuote'
  27298. type: array
  27299. "500":
  27300. description: Internal Server Error
  27301. schema:
  27302. $ref: '#/definitions/app.Response'
  27303. security:
  27304. - ApiKeyAuth: []
  27305. summary: 查询大厅行情列表
  27306. tags:
  27307. - 仓单贸易v2
  27308. /WrTrade2/QueryOrderQuoteDetail:
  27309. get:
  27310. parameters:
  27311. - description: 页码
  27312. in: query
  27313. name: page
  27314. type: integer
  27315. - description: 每页条数
  27316. in: query
  27317. name: pagesize
  27318. type: integer
  27319. - description: 仓单贸易市场id
  27320. in: query
  27321. name: marketid
  27322. type: integer
  27323. - description: 价格方式 - 1:固定价 2-浮动价
  27324. in: query
  27325. name: wrpricetype
  27326. required: true
  27327. type: integer
  27328. - description: 0:仓单预售 1:仓单贸易
  27329. in: query
  27330. name: haswr
  27331. type: integer
  27332. - description: 仓单要素id
  27333. in: query
  27334. name: wrfactortypeid
  27335. required: true
  27336. type: integer
  27337. - description: 期货商品id(浮动价方式时填)
  27338. in: query
  27339. name: goodsid
  27340. type: integer
  27341. - description: 买卖方向 0-买 1-卖
  27342. in: query
  27343. name: buyorsell
  27344. required: true
  27345. type: integer
  27346. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  27347. in: query
  27348. name: deliverymonth
  27349. type: string
  27350. produces:
  27351. - application/json
  27352. responses:
  27353. "200":
  27354. description: OK
  27355. schema:
  27356. items:
  27357. $ref: '#/definitions/models.WrOrderQuoteDetail'
  27358. type: array
  27359. "500":
  27360. description: Internal Server Error
  27361. schema:
  27362. $ref: '#/definitions/app.Response'
  27363. security:
  27364. - ApiKeyAuth: []
  27365. summary: 查询买卖大厅
  27366. tags:
  27367. - 仓单贸易v2
  27368. /WrTrade2/QueryOrderQuoteMyq:
  27369. get:
  27370. parameters:
  27371. - description: 页码
  27372. in: query
  27373. name: page
  27374. type: integer
  27375. - description: 每页条数
  27376. in: query
  27377. name: pagesize
  27378. type: integer
  27379. - description: 用户id
  27380. in: query
  27381. name: userid
  27382. required: true
  27383. type: integer
  27384. - description: 仓单贸易市场id
  27385. in: query
  27386. name: marketid
  27387. type: integer
  27388. - description: 0:仓单预售 1:仓单贸易
  27389. in: query
  27390. name: haswr
  27391. type: integer
  27392. - description: 买卖方向 0-买 1-卖
  27393. in: query
  27394. name: buyorsell
  27395. required: true
  27396. type: integer
  27397. - description: 品种id
  27398. in: query
  27399. name: deliverygoodsid
  27400. type: integer
  27401. - description: 品类id
  27402. in: query
  27403. name: wrstandardid
  27404. type: integer
  27405. - description: 交收月(yyyy-mm) 仓单预售填写
  27406. in: query
  27407. name: deliverymonth
  27408. type: string
  27409. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  27410. in: query
  27411. name: dgitemname
  27412. type: string
  27413. produces:
  27414. - application/json
  27415. responses:
  27416. "200":
  27417. description: OK
  27418. schema:
  27419. items:
  27420. $ref: '#/definitions/models.WrQuoteOrderMyq'
  27421. type: array
  27422. "500":
  27423. description: Internal Server Error
  27424. schema:
  27425. $ref: '#/definitions/app.Response'
  27426. security:
  27427. - ApiKeyAuth: []
  27428. summary: 查询贸易圈挂牌大厅
  27429. tags:
  27430. - 仓单贸易v2
  27431. /WrTrade2/QueryPerformancePlan:
  27432. get:
  27433. parameters:
  27434. - description: 用户id
  27435. in: query
  27436. name: userid
  27437. required: true
  27438. type: integer
  27439. - description: 买卖方向 0-买 1-卖
  27440. in: query
  27441. name: buyorsell
  27442. required: true
  27443. type: integer
  27444. - description: 履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成
  27445. 8:释放冻结失败 9:超时待处理 10:超时关闭
  27446. in: query
  27447. name: status
  27448. type: string
  27449. - description: 开始交易日(yyyymmdd)
  27450. in: query
  27451. name: begindate
  27452. type: string
  27453. - description: 结束交易日(yyyymmdd)
  27454. in: query
  27455. name: enddate
  27456. type: string
  27457. produces:
  27458. - application/json
  27459. responses:
  27460. "200":
  27461. description: OK
  27462. schema:
  27463. items:
  27464. $ref: '#/definitions/models.WrPerformancePlan'
  27465. type: array
  27466. "500":
  27467. description: Internal Server Error
  27468. schema:
  27469. $ref: '#/definitions/app.Response'
  27470. security:
  27471. - ApiKeyAuth: []
  27472. summary: 查询履约信息
  27473. tags:
  27474. - 仓单贸易v2
  27475. /WrTrade2/QueryPermancePlanTmp:
  27476. get:
  27477. description: |-
  27478. 返回指定用户的模板和公共模板(用户id为空)
  27479. 注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段
  27480. parameters:
  27481. - description: 用户id
  27482. in: query
  27483. name: userid
  27484. type: integer
  27485. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  27486. (无仓单) 5:挂牌期权 6:竞拍-降价式
  27487. in: query
  27488. name: tmptype
  27489. type: string
  27490. - description: 是否包含公共模板(用户id为空的) 1-包含
  27491. in: query
  27492. name: includepub
  27493. type: integer
  27494. - description: 市场id(天津麦顿指定此参数,其它不用)
  27495. in: query
  27496. name: marketid
  27497. type: integer
  27498. produces:
  27499. - application/json
  27500. responses:
  27501. "200":
  27502. description: OK
  27503. schema:
  27504. items:
  27505. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  27506. type: array
  27507. "500":
  27508. description: Internal Server Error
  27509. schema:
  27510. $ref: '#/definitions/app.Response'
  27511. security:
  27512. - ApiKeyAuth: []
  27513. summary: 查询履约模板
  27514. tags:
  27515. - 仓单贸易v2
  27516. /WrTrade2/QuerySiteColumnDetail:
  27517. get:
  27518. parameters:
  27519. - description: 页码
  27520. in: query
  27521. name: page
  27522. type: integer
  27523. - description: 每页条数
  27524. in: query
  27525. name: pagesize
  27526. type: integer
  27527. - description: 所属栏目id
  27528. in: query
  27529. name: columnid
  27530. type: integer
  27531. produces:
  27532. - application/json
  27533. responses:
  27534. "200":
  27535. description: OK
  27536. schema:
  27537. items:
  27538. $ref: '#/definitions/models.WrSiteColumnDetail'
  27539. type: array
  27540. "500":
  27541. description: Internal Server Error
  27542. schema:
  27543. $ref: '#/definitions/app.Response'
  27544. security:
  27545. - ApiKeyAuth: []
  27546. summary: 查询资讯
  27547. tags:
  27548. - 仓单贸易v2
  27549. /WrTrade2/QuerySpotGroupTradeSum:
  27550. get:
  27551. produces:
  27552. - application/json
  27553. responses:
  27554. "200":
  27555. description: OK
  27556. schema:
  27557. items:
  27558. $ref: '#/definitions/models.WrSpotGroupTradeSumEx'
  27559. type: array
  27560. "500":
  27561. description: Internal Server Error
  27562. schema:
  27563. $ref: '#/definitions/app.Response'
  27564. security:
  27565. - ApiKeyAuth: []
  27566. summary: 查询指数
  27567. tags:
  27568. - 仓单贸易v2
  27569. /WrTrade2/QuerySpotGroupTradeSumDetail:
  27570. get:
  27571. description: 查询的结果将会按日期 从小到大 排序
  27572. parameters:
  27573. - description: 现货商品id
  27574. in: query
  27575. name: deliverygoodsid
  27576. required: true
  27577. type: integer
  27578. - description: 查询最新多少条记录(如不填写此项, 默认查30条)
  27579. in: query
  27580. name: lastnum
  27581. type: integer
  27582. produces:
  27583. - application/json
  27584. responses:
  27585. "200":
  27586. description: OK
  27587. schema:
  27588. items:
  27589. $ref: '#/definitions/models.WrSpotGroupTradeSumDetail'
  27590. type: array
  27591. "500":
  27592. description: Internal Server Error
  27593. schema:
  27594. $ref: '#/definitions/app.Response'
  27595. security:
  27596. - ApiKeyAuth: []
  27597. summary: 查询指数详细(价格走势图)
  27598. tags:
  27599. - 仓单贸易v2
  27600. /WrTrade2/QueryWrAverageTradePrice:
  27601. get:
  27602. parameters:
  27603. - description: 页码
  27604. in: query
  27605. name: page
  27606. type: integer
  27607. - description: 每页条数
  27608. in: query
  27609. name: pagesize
  27610. type: integer
  27611. - description: 0:仓单预售 1:仓单贸易
  27612. in: query
  27613. name: haswr
  27614. required: true
  27615. type: integer
  27616. - description: 仓单要素id
  27617. in: query
  27618. name: wrfactortypeid
  27619. required: true
  27620. type: integer
  27621. produces:
  27622. - application/json
  27623. responses:
  27624. "200":
  27625. description: OK
  27626. schema:
  27627. items:
  27628. $ref: '#/definitions/models.WrAverageTradePrice'
  27629. type: array
  27630. "500":
  27631. description: Internal Server Error
  27632. schema:
  27633. $ref: '#/definitions/app.Response'
  27634. security:
  27635. - ApiKeyAuth: []
  27636. summary: 查询成交价(历史走势)
  27637. tags:
  27638. - 仓单贸易v2
  27639. /WrTrade2/QueryWrBsGoodsInfo:
  27640. get:
  27641. description: 合约交易/买卖大厅/详情
  27642. parameters:
  27643. - description: 商品id
  27644. in: query
  27645. name: goodsid
  27646. required: true
  27647. type: integer
  27648. produces:
  27649. - application/json
  27650. responses:
  27651. "200":
  27652. description: OK
  27653. schema:
  27654. items:
  27655. $ref: '#/definitions/models.WrBsGoodsInfo'
  27656. type: array
  27657. "500":
  27658. description: Internal Server Error
  27659. schema:
  27660. $ref: '#/definitions/app.Response'
  27661. security:
  27662. - ApiKeyAuth: []
  27663. summary: 查询合约交易买卖大厅详情
  27664. tags:
  27665. - 仓单贸易v2
  27666. /WrTrade2/QueryWrBuybackDetail:
  27667. get:
  27668. parameters:
  27669. - description: 融资合同id
  27670. in: query
  27671. name: scfcontractid
  27672. type: integer
  27673. produces:
  27674. - application/json
  27675. responses:
  27676. "200":
  27677. description: OK
  27678. schema:
  27679. items:
  27680. $ref: '#/definitions/models.WrBuybackDetail'
  27681. type: array
  27682. "500":
  27683. description: Internal Server Error
  27684. schema:
  27685. $ref: '#/definitions/app.Response'
  27686. security:
  27687. - ApiKeyAuth: []
  27688. summary: 查询仓单回购明细
  27689. tags:
  27690. - 仓单贸易v2
  27691. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  27692. get:
  27693. parameters:
  27694. - description: 资金账号
  27695. in: query
  27696. name: accountid
  27697. required: true
  27698. type: integer
  27699. - description: 商品id
  27700. in: query
  27701. name: goodsid
  27702. required: true
  27703. type: integer
  27704. produces:
  27705. - application/json
  27706. responses:
  27707. "200":
  27708. description: OK
  27709. schema:
  27710. items:
  27711. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  27712. type: array
  27713. "500":
  27714. description: Internal Server Error
  27715. schema:
  27716. $ref: '#/definitions/app.Response'
  27717. security:
  27718. - ApiKeyAuth: []
  27719. summary: 查询合约交收可点选仓单
  27720. tags:
  27721. - 仓单贸易v2
  27722. /WrTrade2/QueryWrDeliveryDetail:
  27723. get:
  27724. parameters:
  27725. - description: 用户id
  27726. in: query
  27727. name: userid
  27728. required: true
  27729. type: integer
  27730. - description: 资金账号id
  27731. in: query
  27732. name: accountid
  27733. type: integer
  27734. - description: 开始交易日(yyyymmdd)
  27735. in: query
  27736. name: begindate
  27737. type: string
  27738. - description: 结束交易日(yyyymmdd)
  27739. in: query
  27740. name: enddate
  27741. type: string
  27742. produces:
  27743. - application/json
  27744. responses:
  27745. "200":
  27746. description: OK
  27747. schema:
  27748. items:
  27749. $ref: '#/definitions/models.WrDeliveryDetail'
  27750. type: array
  27751. "500":
  27752. description: Internal Server Error
  27753. schema:
  27754. $ref: '#/definitions/app.Response'
  27755. security:
  27756. - ApiKeyAuth: []
  27757. summary: 查询交收
  27758. tags:
  27759. - 仓单贸易v2
  27760. /WrTrade2/QueryWrFactorTypeInfo:
  27761. get:
  27762. parameters:
  27763. - description: 仓单要素id
  27764. in: query
  27765. name: wrfactortypeid
  27766. required: true
  27767. type: integer
  27768. produces:
  27769. - application/json
  27770. responses:
  27771. "200":
  27772. description: OK
  27773. schema:
  27774. items:
  27775. $ref: '#/definitions/models.WrFactorTypeInfo'
  27776. type: array
  27777. "500":
  27778. description: Internal Server Error
  27779. schema:
  27780. $ref: '#/definitions/app.Response'
  27781. security:
  27782. - ApiKeyAuth: []
  27783. summary: 查询仓单要素详细信息
  27784. tags:
  27785. - 仓单贸易v2
  27786. /WrTrade2/QueryWrFactorTypeInfoEx:
  27787. get:
  27788. parameters:
  27789. - description: 仓单要素id
  27790. in: query
  27791. name: wrfactortypeid
  27792. required: true
  27793. type: integer
  27794. produces:
  27795. - application/json
  27796. responses:
  27797. "200":
  27798. description: OK
  27799. schema:
  27800. items:
  27801. $ref: '#/definitions/models.WrTypeItem'
  27802. type: array
  27803. "500":
  27804. description: Internal Server Error
  27805. schema:
  27806. $ref: '#/definitions/app.Response'
  27807. security:
  27808. - ApiKeyAuth: []
  27809. summary: 查询仓单要素详细信息列表项
  27810. tags:
  27811. - 仓单贸易v2
  27812. /WrTrade2/QueryWrFinanceBuyApply:
  27813. get:
  27814. description: 页面 融资信息+ / 申请单
  27815. parameters:
  27816. - description: 用户id
  27817. in: query
  27818. name: userid
  27819. required: true
  27820. type: integer
  27821. produces:
  27822. - application/json
  27823. responses:
  27824. "200":
  27825. description: OK
  27826. schema:
  27827. items:
  27828. $ref: '#/definitions/models.WrFinanceBuyApply'
  27829. type: array
  27830. "500":
  27831. description: Internal Server Error
  27832. schema:
  27833. $ref: '#/definitions/app.Response'
  27834. security:
  27835. - ApiKeyAuth: []
  27836. summary: 查询融资购买申请
  27837. tags:
  27838. - 仓单贸易v2
  27839. /WrTrade2/QueryWrFriendApply:
  27840. get:
  27841. parameters:
  27842. - description: 用户id
  27843. in: query
  27844. name: userid
  27845. required: true
  27846. type: integer
  27847. produces:
  27848. - application/json
  27849. responses:
  27850. "200":
  27851. description: OK
  27852. schema:
  27853. items:
  27854. $ref: '#/definitions/models.WrFriendApply'
  27855. type: array
  27856. "500":
  27857. description: Internal Server Error
  27858. schema:
  27859. $ref: '#/definitions/app.Response'
  27860. security:
  27861. - ApiKeyAuth: []
  27862. summary: 查询好友申请记录
  27863. tags:
  27864. - 仓单贸易v2
  27865. /WrTrade2/QueryWrGoodsInfo:
  27866. get:
  27867. parameters:
  27868. - description: 仓单贸易市场id
  27869. in: query
  27870. name: marketid
  27871. type: integer
  27872. - description: 0:仓单预售 1:仓单贸易
  27873. in: query
  27874. name: haswr
  27875. required: true
  27876. type: integer
  27877. - description: 仓单要素id
  27878. in: query
  27879. name: wrfactortypeid
  27880. required: true
  27881. type: integer
  27882. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  27883. in: query
  27884. name: tmplateid
  27885. type: integer
  27886. produces:
  27887. - application/json
  27888. responses:
  27889. "200":
  27890. description: OK
  27891. schema:
  27892. items:
  27893. $ref: '#/definitions/models.WrGoodsInfo'
  27894. type: array
  27895. "500":
  27896. description: Internal Server Error
  27897. schema:
  27898. $ref: '#/definitions/app.Response'
  27899. security:
  27900. - ApiKeyAuth: []
  27901. summary: 查询仓单商品信息
  27902. tags:
  27903. - 仓单贸易v2
  27904. /WrTrade2/QueryWrMarketTradeConfig:
  27905. get:
  27906. parameters:
  27907. - description: 市场id
  27908. in: query
  27909. name: marketid
  27910. type: integer
  27911. produces:
  27912. - application/json
  27913. responses:
  27914. "200":
  27915. description: OK
  27916. schema:
  27917. items:
  27918. $ref: '#/definitions/models.WrMarketTradeConfig'
  27919. type: array
  27920. "500":
  27921. description: Internal Server Error
  27922. schema:
  27923. $ref: '#/definitions/app.Response'
  27924. security:
  27925. - ApiKeyAuth: []
  27926. summary: 查询市场交易参数配置
  27927. tags:
  27928. - 仓单贸易v2
  27929. /WrTrade2/QueryWrOrderDetail:
  27930. get:
  27931. description: 页面 现货仓单 | 预售仓单 -> 委托单
  27932. parameters:
  27933. - description: 页码
  27934. in: query
  27935. name: page
  27936. type: integer
  27937. - description: 每页条数
  27938. in: query
  27939. name: pagesize
  27940. type: integer
  27941. - description: 用户id
  27942. in: query
  27943. name: userid
  27944. required: true
  27945. type: integer
  27946. - description: 仓单贸易市场id
  27947. in: query
  27948. name: marketid
  27949. type: integer
  27950. - description: 0:仓单预售 1:仓单贸易
  27951. in: query
  27952. name: haswr
  27953. required: true
  27954. type: integer
  27955. - description: 是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场
  27956. in: query
  27957. name: bcancel
  27958. type: integer
  27959. - description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  27960. in: query
  27961. name: wrtradetype
  27962. type: integer
  27963. - description: 开始交易日(yyyymmdd)
  27964. in: query
  27965. name: begindate
  27966. type: string
  27967. - description: 结束交易日(yyyymmdd)
  27968. in: query
  27969. name: enddate
  27970. type: string
  27971. produces:
  27972. - application/json
  27973. responses:
  27974. "200":
  27975. description: OK
  27976. schema:
  27977. items:
  27978. $ref: '#/definitions/models.WrOrderDetail'
  27979. type: array
  27980. "500":
  27981. description: Internal Server Error
  27982. schema:
  27983. $ref: '#/definitions/app.Response'
  27984. security:
  27985. - ApiKeyAuth: []
  27986. summary: 查询仓单委托单
  27987. tags:
  27988. - 仓单贸易v2
  27989. /WrTrade2/QueryWrOutInApply:
  27990. get:
  27991. parameters:
  27992. - description: 用户id
  27993. in: query
  27994. name: userid
  27995. required: true
  27996. type: integer
  27997. - description: 开始交易日(yyyymmdd)
  27998. in: query
  27999. name: begindate
  28000. type: string
  28001. - description: 结束交易日(yyyymmdd)
  28002. in: query
  28003. name: enddate
  28004. type: string
  28005. produces:
  28006. - application/json
  28007. responses:
  28008. "200":
  28009. description: OK
  28010. schema:
  28011. items:
  28012. $ref: '#/definitions/models.WrOutInApply'
  28013. type: array
  28014. "500":
  28015. description: Internal Server Error
  28016. schema:
  28017. $ref: '#/definitions/app.Response'
  28018. security:
  28019. - ApiKeyAuth: []
  28020. summary: 查询提货申请
  28021. tags:
  28022. - 仓单贸易v2
  28023. /WrTrade2/QueryWrPerformancePlanStep:
  28024. get:
  28025. parameters:
  28026. - description: 履约计划id(performanceplanid)
  28027. in: query
  28028. name: planid
  28029. required: true
  28030. type: integer
  28031. - description: 当前步骤id
  28032. in: query
  28033. name: curstepid
  28034. type: integer
  28035. produces:
  28036. - application/json
  28037. responses:
  28038. "200":
  28039. description: OK
  28040. schema:
  28041. items:
  28042. $ref: '#/definitions/models.WrPerformancePlanStep'
  28043. type: array
  28044. "500":
  28045. description: Internal Server Error
  28046. schema:
  28047. $ref: '#/definitions/app.Response'
  28048. security:
  28049. - ApiKeyAuth: []
  28050. summary: 查询履约信息详情
  28051. tags:
  28052. - 仓单贸易v2
  28053. /WrTrade2/QueryWrPerformanceStepType:
  28054. get:
  28055. produces:
  28056. - application/json
  28057. responses:
  28058. "200":
  28059. description: OK
  28060. schema:
  28061. items:
  28062. $ref: '#/definitions/models.WrPerformanceStepType'
  28063. type: array
  28064. "500":
  28065. description: Internal Server Error
  28066. schema:
  28067. $ref: '#/definitions/app.Response'
  28068. security:
  28069. - ApiKeyAuth: []
  28070. summary: 查询履约步骤枚举
  28071. tags:
  28072. - 仓单贸易v2
  28073. /WrTrade2/QueryWrPosition:
  28074. get:
  28075. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  28076. parameters:
  28077. - description: 用户id
  28078. in: query
  28079. name: userid
  28080. required: true
  28081. type: integer
  28082. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  28083. in: query
  28084. name: querytype
  28085. required: true
  28086. type: integer
  28087. - description: 0:仓单预售 1:仓单贸易
  28088. in: query
  28089. name: haswr
  28090. required: true
  28091. type: integer
  28092. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  28093. in: query
  28094. name: dgitemname
  28095. type: string
  28096. - description: 仓库id(筛选条件)
  28097. in: query
  28098. name: warehouseid
  28099. type: integer
  28100. - description: 品种id
  28101. in: query
  28102. name: deliverygoodsid
  28103. type: integer
  28104. - description: 品类id
  28105. in: query
  28106. name: wrstandardid
  28107. type: integer
  28108. produces:
  28109. - application/json
  28110. responses:
  28111. "200":
  28112. description: OK
  28113. schema:
  28114. items:
  28115. $ref: '#/definitions/models.WrPosition'
  28116. type: array
  28117. "500":
  28118. description: Internal Server Error
  28119. schema:
  28120. $ref: '#/definitions/app.Response'
  28121. security:
  28122. - ApiKeyAuth: []
  28123. summary: 查询现货(预售)仓单持仓
  28124. tags:
  28125. - 仓单贸易v2
  28126. /WrTrade2/QueryWrPreSaleInfo:
  28127. get:
  28128. parameters:
  28129. - description: 市场id
  28130. in: query
  28131. name: marketid
  28132. type: integer
  28133. - description: 预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭
  28134. in: query
  28135. name: presalestatus
  28136. type: string
  28137. - description: 摇号标识 - 0:未摇号 1:已摇号
  28138. in: query
  28139. name: lotteryflag
  28140. type: integer
  28141. - description: 最近多少条记录(按创建时间倒序)
  28142. in: query
  28143. name: lastnum
  28144. type: integer
  28145. produces:
  28146. - application/json
  28147. responses:
  28148. "200":
  28149. description: OK
  28150. schema:
  28151. items:
  28152. $ref: '#/definitions/models.WrPreSaleInfo'
  28153. type: array
  28154. "500":
  28155. description: Internal Server Error
  28156. schema:
  28157. $ref: '#/definitions/app.Response'
  28158. security:
  28159. - ApiKeyAuth: []
  28160. summary: 查询新品发布
  28161. tags:
  28162. - 仓单贸易v2
  28163. /WrTrade2/QueryWrReckonSpotGoodsTradeSum:
  28164. get:
  28165. parameters:
  28166. - description: 市场id
  28167. in: query
  28168. name: marketid
  28169. required: true
  28170. type: integer
  28171. - description: 现货商品id
  28172. in: query
  28173. name: wrstandardid
  28174. required: true
  28175. type: integer
  28176. - description: 开始交易日(yyyymmdd)
  28177. in: query
  28178. name: begindate
  28179. type: string
  28180. - description: 结束交易日(yyyymmdd)
  28181. in: query
  28182. name: enddate
  28183. type: string
  28184. - description: 最近多少条记录(按交易日倒序)
  28185. in: query
  28186. name: lastnum
  28187. type: integer
  28188. produces:
  28189. - application/json
  28190. responses:
  28191. "200":
  28192. description: OK
  28193. schema:
  28194. items:
  28195. $ref: '#/definitions/models.WrReckonSpotGoodsTradeSum'
  28196. type: array
  28197. "500":
  28198. description: Internal Server Error
  28199. schema:
  28200. $ref: '#/definitions/app.Response'
  28201. security:
  28202. - ApiKeyAuth: []
  28203. summary: 查询价格走势
  28204. tags:
  28205. - 仓单贸易v2
  28206. /WrTrade2/QueryWrScfContract:
  28207. get:
  28208. parameters:
  28209. - description: 用户id
  28210. in: query
  28211. name: userid
  28212. required: true
  28213. type: integer
  28214. - description: 融资合同id
  28215. in: query
  28216. name: scfcontractid
  28217. type: integer
  28218. produces:
  28219. - application/json
  28220. responses:
  28221. "200":
  28222. description: OK
  28223. schema:
  28224. items:
  28225. $ref: '#/definitions/models.WrScfContract'
  28226. type: array
  28227. "500":
  28228. description: Internal Server Error
  28229. schema:
  28230. $ref: '#/definitions/app.Response'
  28231. security:
  28232. - ApiKeyAuth: []
  28233. summary: 查询仓单贸易融资合同
  28234. tags:
  28235. - 仓单贸易v2
  28236. /WrTrade2/QueryWrScfContractInterest:
  28237. get:
  28238. parameters:
  28239. - description: 融资合同id
  28240. in: query
  28241. name: scfcontractid
  28242. type: integer
  28243. produces:
  28244. - application/json
  28245. responses:
  28246. "200":
  28247. description: OK
  28248. schema:
  28249. items:
  28250. $ref: '#/definitions/models.WrScfContractInterest'
  28251. type: array
  28252. "500":
  28253. description: Internal Server Error
  28254. schema:
  28255. $ref: '#/definitions/app.Response'
  28256. security:
  28257. - ApiKeyAuth: []
  28258. summary: 查询融资合同费用明细
  28259. tags:
  28260. - 仓单贸易v2
  28261. /WrTrade2/QueryWrSpecialMatchOrder:
  28262. get:
  28263. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  28264. parameters:
  28265. - description: 页码
  28266. in: query
  28267. name: page
  28268. type: integer
  28269. - description: 每页条数
  28270. in: query
  28271. name: pagesize
  28272. type: integer
  28273. - description: 用户id
  28274. in: query
  28275. name: userid
  28276. required: true
  28277. type: integer
  28278. - description: 仓单贸易市场id
  28279. in: query
  28280. name: marketid
  28281. type: integer
  28282. - description: 0:仓单预售 1:仓单贸易
  28283. in: query
  28284. name: haswr
  28285. required: true
  28286. type: integer
  28287. - description: 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  28288. in: query
  28289. name: isspecified
  28290. type: integer
  28291. produces:
  28292. - application/json
  28293. responses:
  28294. "200":
  28295. description: OK
  28296. schema:
  28297. items:
  28298. $ref: '#/definitions/models.WrSpecialMatchOrder'
  28299. type: array
  28300. "500":
  28301. description: Internal Server Error
  28302. schema:
  28303. $ref: '#/definitions/app.Response'
  28304. security:
  28305. - ApiKeyAuth: []
  28306. summary: 查询指定成交
  28307. tags:
  28308. - 仓单贸易v2
  28309. /WrTrade2/QueryWrStandardFactoryItem:
  28310. get:
  28311. parameters:
  28312. - description: 品类id
  28313. in: query
  28314. name: wrstandardid
  28315. required: true
  28316. type: integer
  28317. produces:
  28318. - application/json
  28319. responses:
  28320. "200":
  28321. description: OK
  28322. schema:
  28323. items:
  28324. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  28325. type: array
  28326. "500":
  28327. description: Internal Server Error
  28328. schema:
  28329. $ref: '#/definitions/app.Response'
  28330. security:
  28331. - ApiKeyAuth: []
  28332. summary: 查询品类要素定义项
  28333. tags:
  28334. - 仓单贸易v2
  28335. /WrTrade2/QueryWrTradeBargainApply:
  28336. get:
  28337. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面
  28338. 议价->对方议价 填写matchuserid=登录用户id
  28339. parameters:
  28340. - description: 议价人id(摘牌方)
  28341. in: query
  28342. name: userid
  28343. type: integer
  28344. - description: 挂牌方id(查对方议价时,填写此项)
  28345. in: query
  28346. name: matchuserid
  28347. type: integer
  28348. - description: 关联委托单id
  28349. in: query
  28350. name: wrtradeorderid
  28351. type: integer
  28352. - description: 0:仓单预售 1:仓单贸易
  28353. in: query
  28354. name: haswr
  28355. required: true
  28356. type: integer
  28357. - description: 开始交易日(yyyymmdd)
  28358. in: query
  28359. name: begindate
  28360. type: string
  28361. - description: 结束交易日(yyyymmdd)
  28362. in: query
  28363. name: enddate
  28364. type: string
  28365. produces:
  28366. - application/json
  28367. responses:
  28368. "200":
  28369. description: OK
  28370. schema:
  28371. items:
  28372. $ref: '#/definitions/models.WRTradeBargainApply'
  28373. type: array
  28374. "500":
  28375. description: Internal Server Error
  28376. schema:
  28377. $ref: '#/definitions/app.Response'
  28378. security:
  28379. - ApiKeyAuth: []
  28380. summary: 查询议价单
  28381. tags:
  28382. - 仓单贸易v2
  28383. /WrTrade2/QueryWrTradeDetail:
  28384. get:
  28385. parameters:
  28386. - description: 页码
  28387. in: query
  28388. name: page
  28389. type: integer
  28390. - description: 每页条数
  28391. in: query
  28392. name: pagesize
  28393. type: integer
  28394. - description: 用户id
  28395. in: query
  28396. name: userid
  28397. required: true
  28398. type: integer
  28399. - description: 仓单贸易市场id
  28400. in: query
  28401. name: marketid
  28402. type: integer
  28403. - description: 0:仓单预售 1:仓单贸易
  28404. in: query
  28405. name: haswr
  28406. required: true
  28407. type: integer
  28408. - description: 开始交易日(yyyymmdd)
  28409. in: query
  28410. name: begindate
  28411. type: string
  28412. - description: 结束交易日(yyyymmdd)
  28413. in: query
  28414. name: enddate
  28415. type: string
  28416. produces:
  28417. - application/json
  28418. responses:
  28419. "200":
  28420. description: OK
  28421. schema:
  28422. items:
  28423. $ref: '#/definitions/models.WrTradeDetail'
  28424. type: array
  28425. "500":
  28426. description: Internal Server Error
  28427. schema:
  28428. $ref: '#/definitions/app.Response'
  28429. security:
  28430. - ApiKeyAuth: []
  28431. summary: 查询仓单成交明细
  28432. tags:
  28433. - 仓单贸易v2
  28434. /WrTrade2/QueryWrTradeOrderDetail:
  28435. get:
  28436. parameters:
  28437. - description: 页码
  28438. in: query
  28439. name: page
  28440. type: integer
  28441. - description: 每页条数
  28442. in: query
  28443. name: pagesize
  28444. type: integer
  28445. - description: 商品id
  28446. in: query
  28447. name: goodsid
  28448. required: true
  28449. type: integer
  28450. - description: 买卖方向 0-买 1-卖
  28451. in: query
  28452. name: buyorsell
  28453. required: true
  28454. type: integer
  28455. produces:
  28456. - application/json
  28457. responses:
  28458. "200":
  28459. description: OK
  28460. schema:
  28461. items:
  28462. $ref: '#/definitions/models.WrTradeOrderDetail'
  28463. type: array
  28464. "500":
  28465. description: Internal Server Error
  28466. schema:
  28467. $ref: '#/definitions/app.Response'
  28468. security:
  28469. - ApiKeyAuth: []
  28470. summary: 查询合约交易买卖大厅
  28471. tags:
  28472. - 仓单贸易v2
  28473. /WrTrade2/QueryWrUserFriend:
  28474. get:
  28475. parameters:
  28476. - description: 用户id
  28477. in: query
  28478. name: userid
  28479. required: true
  28480. type: integer
  28481. - description: 新朋友userid, 如果填写了此项则查找新朋友
  28482. in: query
  28483. name: newuserid
  28484. type: integer
  28485. produces:
  28486. - application/json
  28487. responses:
  28488. "200":
  28489. description: OK
  28490. schema:
  28491. items:
  28492. $ref: '#/definitions/models.WrUserFriend'
  28493. type: array
  28494. "500":
  28495. description: Internal Server Error
  28496. schema:
  28497. $ref: '#/definitions/app.Response'
  28498. security:
  28499. - ApiKeyAuth: []
  28500. summary: 查询我的朋友
  28501. tags:
  28502. - 仓单贸易v2
  28503. /WrTrade2/QueryWrUserReceiptInfo:
  28504. get:
  28505. parameters:
  28506. - description: 用户id
  28507. in: query
  28508. name: userid
  28509. type: integer
  28510. - description: 发票类型 - 1:个人 2:企业
  28511. in: query
  28512. name: receipttype
  28513. type: integer
  28514. produces:
  28515. - application/json
  28516. responses:
  28517. "200":
  28518. description: OK
  28519. schema:
  28520. items:
  28521. $ref: '#/definitions/models.WrUserReceiptInfo'
  28522. type: array
  28523. "500":
  28524. description: Internal Server Error
  28525. schema:
  28526. $ref: '#/definitions/app.Response'
  28527. security:
  28528. - ApiKeyAuth: []
  28529. summary: 查询发票信息
  28530. tags:
  28531. - 仓单贸易v2
  28532. /ZJ/GetBankTip:
  28533. get:
  28534. produces:
  28535. - application/json
  28536. responses:
  28537. "200":
  28538. description: OK
  28539. schema:
  28540. type: string
  28541. "500":
  28542. description: Internal Server Error
  28543. schema:
  28544. $ref: '#/definitions/app.Response'
  28545. summary: 获取中江网银端出入金提示信息
  28546. tags:
  28547. - 中江
  28548. /ZJ/GetCusBankChannels:
  28549. get:
  28550. produces:
  28551. - application/json
  28552. responses:
  28553. "200":
  28554. description: OK
  28555. schema:
  28556. items:
  28557. type: string
  28558. type: array
  28559. "500":
  28560. description: Internal Server Error
  28561. schema:
  28562. $ref: '#/definitions/app.Response'
  28563. summary: 获取中江出入金渠道显示列表
  28564. tags:
  28565. - 中江
  28566. securityDefinitions:
  28567. ApiKeyAuth:
  28568. in: header
  28569. name: Authorization
  28570. type: apiKey
  28571. swagger: "2.0"