swagger.yaml 770 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756
  1. basePath: /api
  2. definitions:
  3. app.Response:
  4. properties:
  5. code:
  6. type: integer
  7. data:
  8. type: object
  9. msg:
  10. type: string
  11. page:
  12. description: 页码
  13. type: integer
  14. pagesize:
  15. description: 每页条数
  16. type: integer
  17. total:
  18. description: 总条数
  19. type: integer
  20. type: object
  21. common.ClientMenu:
  22. properties:
  23. children:
  24. description: 子菜单列表
  25. items:
  26. $ref: '#/definitions/common.ClientMenu'
  27. type: array
  28. code:
  29. description: ID
  30. type: string
  31. isshow:
  32. description: 是否显示
  33. type: boolean
  34. remark:
  35. description: 备注
  36. type: string
  37. rulekey:
  38. description: 对应权限主键,对应FUNCMENULIST表RESOURCECODE
  39. type: string
  40. sort:
  41. description: 排序
  42. type: integer
  43. title:
  44. description: 标题
  45. type: string
  46. type:
  47. description: 类型,1:菜单 2:按钮
  48. type: integer
  49. url:
  50. description: URL
  51. type: string
  52. type: object
  53. common.PCWebMenu:
  54. properties:
  55. auth:
  56. description: 页面权限列表
  57. items:
  58. $ref: '#/definitions/common.PCWebMenuAuth'
  59. type: array
  60. children:
  61. description: 子菜单列表
  62. items:
  63. $ref: '#/definitions/common.PCWebMenu'
  64. type: array
  65. code:
  66. description: ID,新版本中权限KEY也是这个字段
  67. type: string
  68. component:
  69. description: 路由组件
  70. type: string
  71. isshow:
  72. description: 是否显示
  73. type: boolean
  74. path:
  75. description: 路由路径
  76. type: string
  77. remark:
  78. description: 备注
  79. type: string
  80. rulekey:
  81. description: 权限主键,非空表示需要判断控制,非空值不可重复
  82. type: string
  83. sort:
  84. description: 排序
  85. type: integer
  86. title:
  87. description: 标题
  88. type: string
  89. url:
  90. description: URL
  91. type: string
  92. type: object
  93. common.PCWebMenuAuth:
  94. properties:
  95. code:
  96. description: ID,新版本中权限KEY也是这个字段
  97. type: string
  98. isshow:
  99. description: 是否显示
  100. type: boolean
  101. label:
  102. description: 标题
  103. type: string
  104. remark:
  105. description: 备注
  106. type: string
  107. rulekey:
  108. description: 权限主键,非空表示需要判断控制,非空值不可重复
  109. type: string
  110. type: object
  111. common.QueryImageConfigsRsp:
  112. properties:
  113. areauserid:
  114. description: 所属机构ID
  115. type: integer
  116. configid:
  117. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  118. type: integer
  119. createdate:
  120. description: 创建时间
  121. type: string
  122. creatorid:
  123. description: 创建人
  124. type: integer
  125. imagepath:
  126. description: 图片
  127. type: string
  128. imagetype:
  129. description: 类型 - 1:首页轮播(移动) 2:我的(移动)
  130. type: integer
  131. isshow:
  132. description: 是否展示 - 0:不展示 1:展示
  133. type: integer
  134. marketid:
  135. description: 市场ID
  136. type: integer
  137. modifierid:
  138. description: 操作人
  139. type: integer
  140. sort:
  141. description: 排序
  142. type: integer
  143. title:
  144. description: 标题
  145. type: string
  146. trademode:
  147. description: 交易模式
  148. type: integer
  149. updatedate:
  150. description: 修改时间
  151. type: string
  152. url:
  153. description: 链接(地址或商品ID)
  154. type: string
  155. urltype:
  156. description: 链接类型 - 1:直接地址 2:商品ID
  157. type: integer
  158. required:
  159. - configid
  160. type: object
  161. common.QueryNoticeRsp:
  162. properties:
  163. auditoruserid:
  164. description: 审核人
  165. type: integer
  166. auditremark:
  167. description: 审核备注
  168. type: string
  169. audittime:
  170. description: 审核日期
  171. type: string
  172. autoid:
  173. description: 自增ID
  174. type: integer
  175. content:
  176. description: 内容
  177. type: string
  178. createtime:
  179. description: 创建时间
  180. type: string
  181. creatorid:
  182. description: 建仓人
  183. type: integer
  184. endtime:
  185. description: 结束时间
  186. type: string
  187. istop:
  188. description: 是否置顶 - 0:不置顶 1:置顶
  189. type: integer
  190. msgiconurl:
  191. description: 消息图标Url
  192. type: string
  193. msgtype:
  194. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  195. type: integer
  196. publisher:
  197. description: 消息发布者
  198. type: string
  199. readed:
  200. description: 是否已读
  201. type: boolean
  202. scheduletime:
  203. description: 计划发送时间
  204. type: string
  205. sendtype:
  206. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  207. type: integer
  208. sentstatus:
  209. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  210. type: integer
  211. title:
  212. description: 标题
  213. type: string
  214. userid:
  215. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  216. type: integer
  217. required:
  218. - autoid
  219. type: object
  220. common.QueryProvincesAndCitiesRsp:
  221. properties:
  222. cities:
  223. description: 市
  224. items:
  225. $ref: '#/definitions/models.Division'
  226. type: array
  227. province:
  228. $ref: '#/definitions/models.Division'
  229. description: 省
  230. type: object
  231. common.QueryTableDefineRsp:
  232. properties:
  233. columns:
  234. description: 列头信息数组
  235. items:
  236. $ref: '#/definitions/models.Tablecolumnconfig'
  237. type: array
  238. remark:
  239. description: Remark
  240. type: string
  241. tabelmenu:
  242. description: 列表菜单
  243. type: string
  244. tablekey:
  245. description: 列表Key
  246. type: string
  247. tablename:
  248. description: 列表名称
  249. type: string
  250. tabletype:
  251. description: 列表类型 - 1:管理端 2:终端
  252. type: integer
  253. required:
  254. - tablekey
  255. type: object
  256. common.QueryTraderMenuRsp:
  257. properties:
  258. OperationMenu:
  259. description: 功能菜单
  260. items:
  261. $ref: '#/definitions/models.OperationPrimaryMenu'
  262. type: array
  263. QuoteMenu:
  264. description: 报价牌分类菜单
  265. items:
  266. $ref: '#/definitions/models.QuotePrimaryMenu'
  267. type: array
  268. type: object
  269. cptrade.Cptradepositioncancel:
  270. properties:
  271. accountid:
  272. description: 申请人账户ID
  273. type: integer
  274. applystatus:
  275. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  276. type: integer
  277. applytime:
  278. description: 申请时间
  279. type: string
  280. cancelid:
  281. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  282. type: integer
  283. cancelqty:
  284. description: 注销数量
  285. type: integer
  286. createtime:
  287. description: 创建时间
  288. type: string
  289. creatorid:
  290. description: 创建人ID
  291. type: integer
  292. creatorname:
  293. description: 创建人
  294. type: string
  295. goodscode:
  296. description: 订单商品代码
  297. type: string
  298. goodsid:
  299. description: 商品ID
  300. type: integer
  301. goodsname:
  302. description: 订单商品名称
  303. type: string
  304. goodunit:
  305. description: 报价单位
  306. type: string
  307. handlestatus:
  308. description: 处理状态
  309. type: integer
  310. marketid:
  311. description: 市场ID
  312. type: integer
  313. marketname:
  314. description: 市场名称
  315. type: string
  316. tradedate:
  317. description: 交易日(yyyyMMdd)
  318. type: string
  319. userid:
  320. description: 申请人ID
  321. type: integer
  322. required:
  323. - cancelid
  324. type: object
  325. cptrade.Cptradepresaleapply:
  326. properties:
  327. accountid:
  328. description: 申请人账户ID
  329. type: integer
  330. applyid:
  331. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  332. type: integer
  333. applyremark:
  334. description: 申请备注
  335. type: string
  336. applystatus:
  337. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  338. type: integer
  339. applytime:
  340. description: 申请时间
  341. type: string
  342. attachmenturl:
  343. description: 附件地址
  344. type: string
  345. endtime:
  346. description: 预售结束时间
  347. type: string
  348. goodscode:
  349. description: 商品代码
  350. type: string
  351. goodsid:
  352. description: 商品ID
  353. type: integer
  354. goodsname:
  355. description: 商品名称
  356. type: string
  357. goodunit:
  358. description: 报价单位
  359. type: string
  360. handlestatus:
  361. description: 处理状态
  362. type: integer
  363. marketid:
  364. description: 预售市场ID
  365. type: integer
  366. marketname:
  367. description: 预售市场名称
  368. type: string
  369. presaleqty:
  370. description: 预售数量
  371. type: integer
  372. relatedgoodscode:
  373. description: 关联交易合约代码
  374. type: string
  375. relatedgoodsid:
  376. description: 关联交易合约ID
  377. type: integer
  378. relatedgoodsname:
  379. description: 关联交易合约名称
  380. type: string
  381. starttime:
  382. description: 预售开始时间
  383. type: string
  384. tradedate:
  385. description: 交易日(yyyyMMdd)
  386. type: string
  387. trademode:
  388. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  389. type: integer
  390. userid:
  391. description: 申请人ID
  392. type: integer
  393. required:
  394. - applyid
  395. type: object
  396. cptrade.Cptradeusergoodsdata:
  397. properties:
  398. EnabledQty:
  399. description: 可用量
  400. type: integer
  401. GoodsCode:
  402. description: 订单商品代码
  403. type: string
  404. GoodsName:
  405. description: 订单商品名称
  406. type: string
  407. WRStandardCode:
  408. description: 仓单标准代码
  409. type: string
  410. WRStandardName:
  411. description: 仓单标准名称
  412. type: string
  413. accountid:
  414. description: 账户ID
  415. type: integer
  416. cancelqty:
  417. description: 注销量
  418. type: integer
  419. curpresaleqty:
  420. description: 当前预售量
  421. type: integer
  422. deliveryqty:
  423. description: 交割量
  424. type: integer
  425. freezeamount:
  426. description: 冻结金额
  427. type: number
  428. goodsid:
  429. description: 商品ID
  430. type: integer
  431. goodunit:
  432. description: 报价单位
  433. type: string
  434. hasspotfreeze:
  435. description: 是否有现货冻结 - 0:否 1:有
  436. type: integer
  437. inqty:
  438. description: 转入量(总数量)
  439. type: integer
  440. marketid:
  441. description: 市场ID
  442. type: integer
  443. presaledamount:
  444. description: 已预售总金额
  445. type: integer
  446. presaledqty:
  447. description: 已预售量
  448. type: integer
  449. userid:
  450. description: 用户ID
  451. type: integer
  452. wrstandardid:
  453. description: 仓单标准ID
  454. type: integer
  455. required:
  456. - accountid
  457. - goodsid
  458. type: object
  459. cptrade.QueryCPTradeMyBidRsp:
  460. properties:
  461. accountid:
  462. description: 账户ID[报价币种]
  463. type: integer
  464. goodsid:
  465. description: 商品ID
  466. type: integer
  467. goodunit:
  468. description: 报价单位
  469. type: string
  470. marketid:
  471. description: 市场ID
  472. type: integer
  473. orderid:
  474. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  475. type: integer
  476. orderprice:
  477. description: 委托价格
  478. type: number
  479. orderqty:
  480. description: 委托数量
  481. type: integer
  482. ordertime:
  483. description: 委托时间
  484. type: string
  485. ordertotalprice:
  486. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  487. type: number
  488. ordertotalweight:
  489. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  490. type: integer
  491. totaltotalprice:
  492. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  493. type: number
  494. tradeprice:
  495. description: 成交价格
  496. type: number
  497. tradeqty:
  498. description: 成交数量
  499. type: integer
  500. required:
  501. - accountid
  502. - goodsid
  503. - marketid
  504. - orderid
  505. - orderqty
  506. - ordertime
  507. - tradeprice
  508. - tradeqty
  509. type: object
  510. cptrade.QueryCPTradeOrderDetailRsq:
  511. properties:
  512. accountid:
  513. description: 账户ID[报价币种]
  514. type: integer
  515. buildtype:
  516. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  517. type: integer
  518. buyorsell:
  519. description: 买卖 - 0:买 1:卖
  520. type: integer
  521. cancelorderid:
  522. description: 撤单单号(撤单时填写)
  523. type: integer
  524. cancelqty:
  525. description: 撤单数量
  526. type: integer
  527. clientordertime:
  528. description: 客户端委托时间
  529. type: string
  530. clientticket:
  531. description: 客户端流水号
  532. type: string
  533. clienttype:
  534. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  535. type: integer
  536. closeexchagechargevalue:
  537. description: 平仓交易所手续费设置值
  538. type: number
  539. closefeealgorithm:
  540. description: 平仓手续费收取方式 1:比率 2:固定
  541. type: integer
  542. closefreezecharge:
  543. description: 平仓冻结手续费(先建后平操作,需要记录)
  544. type: number
  545. closememberchargevalue:
  546. description: 平仓会员手续费设置值
  547. type: number
  548. closeqty:
  549. description: 平仓数量(先建后平操作 需要记录)
  550. type: integer
  551. closetradeqty:
  552. description: 平仓成交数量(先建后平操作,需要记录)
  553. type: integer
  554. closeunfreezecharge:
  555. description: 平仓解冻手续费(先建后平操作,需要记录)
  556. type: number
  557. delistingtype:
  558. description: 摘牌类型 - 1:价格最优 2:点选成交
  559. type: integer
  560. freezecharge:
  561. description: 冻结手续费
  562. type: number
  563. freezemargin:
  564. description: 冻结保证金(冻结交易金额)
  565. type: number
  566. gcaccountid:
  567. description: 账户ID[合约币种]
  568. type: integer
  569. goodsid:
  570. description: 商品ID
  571. type: integer
  572. isconfirmexercise:
  573. description: 是否确认行权- 0:否 1:是
  574. type: integer
  575. ispreexercise:
  576. description: 是否预申报- 0:否 1:是
  577. type: integer
  578. listingselecttype:
  579. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  580. type: integer
  581. marginalgorithm:
  582. description: 保证金收取方式 1:比率 2:固定
  583. type: integer
  584. marginvalue:
  585. description: 即市保证金设置值
  586. type: number
  587. marketid:
  588. description: 市场ID
  589. type: integer
  590. marketmaxsub:
  591. description: 市价最大偏移范围
  592. type: number
  593. memberuserid:
  594. description: 所属会员UserID
  595. type: integer
  596. openexchagechargevalue:
  597. description: 建仓交易所手续费设置值
  598. type: number
  599. openfeealgorithm:
  600. description: 建仓手续费收取方式 1:比率 2:固定
  601. type: integer
  602. openfreezecharge:
  603. description: 开仓冻结手续费(先建后平操作,需要记录)
  604. type: number
  605. openmemberchargevalue:
  606. description: 建仓会员手续费设置值
  607. type: number
  608. openqty:
  609. description: 开仓数量(先建后平操作,需要记录)
  610. type: integer
  611. opentradeqty:
  612. description: 开仓成交数量(先建后平操作,需要记录)
  613. type: integer
  614. openunfreezecharge:
  615. description: 开仓解冻手续费(先建后平操作,需要记录)
  616. type: number
  617. operatetype:
  618. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让
  619. type: integer
  620. operatorid:
  621. description: 登录账号(LoginID)
  622. type: integer
  623. optiontype:
  624. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  625. type: integer
  626. orderprice:
  627. description: 委托价格
  628. type: number
  629. orderqty:
  630. description: 委托数量
  631. type: integer
  632. ordersrc:
  633. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  634. type: integer
  635. orderstatus:
  636. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  637. type: integer
  638. ordertime:
  639. description: 委托时间
  640. type: string
  641. preexerciseprice:
  642. description: 预申报价格
  643. type: number
  644. premium:
  645. description: 权利金
  646. type: number
  647. preorderid:
  648. description: 关联预埋单号(止盈止损单时填写)
  649. type: integer
  650. pricemode:
  651. description: '取价方式 - 1:市价 2: 限价'
  652. type: integer
  653. quoteid:
  654. description: 报价单ID
  655. type: integer
  656. relatedid:
  657. description: 关联单号(交割单)
  658. type: integer
  659. retcode:
  660. description: 错误代码
  661. type: integer
  662. sessionid:
  663. description: 会话ID
  664. type: integer
  665. strorderid:
  666. description: 委托单号
  667. type: string
  668. tradedate:
  669. description: 交易日(yyyyMMdd)
  670. type: string
  671. tradeproperty:
  672. description: 交易属性
  673. type: integer
  674. tradeqty:
  675. description: 成交数量
  676. type: integer
  677. unfreezecharge:
  678. description: 解冻手续费
  679. type: number
  680. unfreezemargin:
  681. description: 解冻保证金
  682. type: number
  683. updatetime:
  684. description: 更新时间
  685. type: string
  686. uuid:
  687. description: 发起端唯一id
  688. type: string
  689. validtime:
  690. description: 有效期限
  691. type: string
  692. validtype:
  693. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  694. type: integer
  695. volumetype:
  696. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  697. type: integer
  698. required:
  699. - accountid
  700. - buildtype
  701. - buyorsell
  702. - goodsid
  703. - marketid
  704. - memberuserid
  705. - operatetype
  706. - orderqty
  707. - ordertime
  708. - pricemode
  709. - strorderid
  710. - tradedate
  711. - validtype
  712. type: object
  713. cptrade.QueryMyCPTradeGoodsRsp:
  714. properties:
  715. accountid:
  716. description: 卖方账户ID
  717. type: integer
  718. agreeunit:
  719. description: 合约单位
  720. type: number
  721. applyid:
  722. description: 关联申请ID
  723. type: integer
  724. attachmenturl:
  725. description: 附件地址
  726. type: string
  727. createtime:
  728. description: 创建时间
  729. type: string
  730. currencyid:
  731. description: 报价货币ID
  732. type: integer
  733. decimalplace:
  734. description: 报价小数位
  735. type: integer
  736. endtime:
  737. description: 预售结束时间
  738. type: string
  739. floorprice:
  740. description: 底价[大宗式竞拍]
  741. type: number
  742. goodscode:
  743. description: 商品代码(预售)
  744. type: string
  745. goodsdetail:
  746. description: 详情[大宗]
  747. type: string
  748. goodsid:
  749. description: 商品ID(自增ID SEQ_GOODS)
  750. type: integer
  751. goodsname:
  752. description: 商品名称(预售)
  753. type: string
  754. goodunit:
  755. description: 报价单位
  756. type: string
  757. goodunitid:
  758. description: 报价单位ID
  759. type: integer
  760. marketid:
  761. description: 所属市场ID
  762. type: integer
  763. marketname:
  764. description: 预售市场名称
  765. type: string
  766. presaledamount:
  767. description: 已预售总金额(预售结束时更新)
  768. type: number
  769. presaledqty:
  770. description: 已预售量(预售结束时更新)
  771. type: integer
  772. presalemode:
  773. description: 预售模式 - 1:一口价 2:大宗式竞拍
  774. type: integer
  775. presaleqty:
  776. description: 预售数量
  777. type: integer
  778. refprice:
  779. description: 参考价格[一口价]
  780. type: number
  781. relatedgoodscode:
  782. description: 商品代码(订单)
  783. type: string
  784. relatedgoodsid:
  785. description: 关联交易合约ID
  786. type: integer
  787. relatedgoodsname:
  788. description: 商品名称(订单)
  789. type: string
  790. relatedmarketid:
  791. description: 关联交易合约市场ID
  792. type: integer
  793. sellstatus:
  794. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  795. type: integer
  796. startprice:
  797. description: 起拍价[大宗式竞拍]
  798. type: number
  799. starttime:
  800. description: 预售开始时间
  801. type: string
  802. tradedate:
  803. description: 交易日(yyyyMMdd)
  804. type: string
  805. tradeprice:
  806. description: 成交价[大宗]
  807. type: number
  808. userid:
  809. description: 卖方用户ID
  810. type: integer
  811. required:
  812. - goodscode
  813. - goodsid
  814. - goodsname
  815. - marketid
  816. - relatedgoodscode
  817. - relatedgoodsname
  818. type: object
  819. cptrade.QueryPresaleGoodsExRsp:
  820. properties:
  821. attachmenturl:
  822. description: 附件地址
  823. type: string
  824. createtime:
  825. description: 创建时间
  826. type: string
  827. endtime:
  828. description: 预售结束时间
  829. type: string
  830. floorprice:
  831. description: 底价[大宗式竞拍]
  832. type: number
  833. goodsdetail:
  834. description: 详情[大宗]
  835. type: string
  836. goodsid:
  837. description: 商品ID(预售)
  838. type: integer
  839. goodunit:
  840. description: 报价单位
  841. type: string
  842. marketid:
  843. description: 预售市场ID - 根据预售模式选择市场
  844. type: integer
  845. presaledamount:
  846. description: 已预售总金额(预售结束时更新)
  847. type: number
  848. presaledqty:
  849. description: 已预售量(预售结束时更新)
  850. type: integer
  851. presalemode:
  852. description: 预售模式 - 1:一口价 2:大宗式竞拍
  853. type: integer
  854. presaleqty:
  855. description: 预售数量
  856. type: integer
  857. refprice:
  858. description: 参考价格[一口价]
  859. type: number
  860. relatedgoodsid:
  861. description: 关联交易合约ID
  862. type: integer
  863. relatedmarketid:
  864. description: 关联交易合约市场ID
  865. type: integer
  866. sellstatus:
  867. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  868. type: integer
  869. startprice:
  870. description: 起拍价[大宗式竞拍]
  871. type: number
  872. starttime:
  873. description: 预售开始时间
  874. type: string
  875. tradedate:
  876. description: 交易日(yyyyMMdd)
  877. type: string
  878. tradeprice:
  879. description: 成交价[大宗]
  880. type: number
  881. required:
  882. - goodsid
  883. type: object
  884. delivery.QueryDeliveryRelationRsp:
  885. properties:
  886. begindate:
  887. description: 起始日期(yyyyMMdd)
  888. type: string
  889. buytemplateid:
  890. description: 买履约计划模板ID
  891. type: integer
  892. deliverygoodscode:
  893. description: 品种代码
  894. type: string
  895. deliverygoodsid:
  896. description: 交割商品
  897. type: integer
  898. deliverygoodsname:
  899. description: 品种名称
  900. type: string
  901. deliverymode:
  902. description: 交割方式 - 1:点选式 2:申报式
  903. type: integer
  904. deliverypricerule:
  905. description: 交割价规则- 1:行情价 2:建仓价
  906. type: integer
  907. deliverytype:
  908. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  909. type: integer
  910. enddate:
  911. description: 结束日期(yyyyMMdd)
  912. type: string
  913. enumdicname:
  914. description: 品类单位名称
  915. type: string
  916. goodscode:
  917. description: 商品代码
  918. type: string
  919. goodsid:
  920. description: 交易合约ID
  921. type: integer
  922. goodsname:
  923. description: 商品名称
  924. type: string
  925. marketid:
  926. description: 市场ID
  927. type: integer
  928. mindeliveryqty:
  929. description: 最小交割系数(K)
  930. type: integer
  931. p2deliveryprice:
  932. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  933. type: number
  934. p2deliveryratio:
  935. description: P2合约系数(p)
  936. type: integer
  937. p2goodsid:
  938. description: P2合约ID
  939. type: integer
  940. p2pricemode:
  941. description: P2合约价格方式 - 1:商品价 2:固定值
  942. type: integer
  943. pdeliveryprice:
  944. description: P合约价格(商品价时填写0,固定值时填写固定值)
  945. type: number
  946. pdeliveryratio:
  947. description: P合约系数(n)
  948. type: integer
  949. pgoodscode:
  950. description: p合约代码
  951. type: string
  952. pgoodsid:
  953. description: P合约ID
  954. type: integer
  955. ppricemode:
  956. description: P合约价格方式 - 1:商品价 2:固定值
  957. type: integer
  958. rratio:
  959. description: 兑换系数(R)
  960. type: integer
  961. rratio1:
  962. description: 兑换系数(交易合约)(R1)
  963. type: integer
  964. rratio2:
  965. description: 兑换系数(仓单标准)(R2)
  966. type: integer
  967. selltemplateid:
  968. description: 卖履约计划模板ID
  969. type: integer
  970. wrstandardid:
  971. description: 仓单标准ID
  972. type: integer
  973. xdeliveryratio:
  974. description: 交易合约系数(m)
  975. type: integer
  976. required:
  977. - begindate
  978. - enddate
  979. - goodsid
  980. - mindeliveryqty
  981. - xdeliveryratio
  982. type: object
  983. ermcp.ExposureDetailRsp:
  984. properties:
  985. areauserid:
  986. description: 机构ID
  987. type: integer
  988. changeQty:
  989. description: 套保变动量
  990. type: number
  991. contracttype:
  992. description: 现货合同类型 - 1:采购 -1:销售
  993. type: integer
  994. convertfactor:
  995. description: 标仓系数
  996. type: number
  997. convertratio:
  998. description: 套保系数
  999. type: number
  1000. createtime:
  1001. description: 时间
  1002. type: string
  1003. enumdicname:
  1004. description: 现货商品单位名称
  1005. type: string
  1006. logtype:
  1007. description: 类型 - 1:套保计划 2:现货合同
  1008. type: integer
  1009. middlegoodsId:
  1010. description: 套保商品id
  1011. type: integer
  1012. middlegoodscode:
  1013. description: 套保商品代码
  1014. type: string
  1015. middlegoodsname:
  1016. description: 套保商品名称
  1017. type: string
  1018. qty:
  1019. description: 数量
  1020. type: number
  1021. relateNo:
  1022. description: 现货合同/套保计划编号
  1023. type: string
  1024. wrstandardcode:
  1025. description: 现货商品代码
  1026. type: string
  1027. wrstandardid:
  1028. description: 现货商品ID
  1029. type: integer
  1030. wrstandardname:
  1031. description: 现货商品名称
  1032. type: string
  1033. type: object
  1034. ermcp.ExposureHedgePosDetailRsp:
  1035. properties:
  1036. buyorsell:
  1037. description: 买卖方向 0-买 1-卖
  1038. type: integer
  1039. channelbuildtype:
  1040. description: 开平方向 1-建仓 2-平仓
  1041. type: integer
  1042. goodscode:
  1043. description: 商品代码
  1044. type: string
  1045. goodsname:
  1046. description: 商品名称
  1047. type: string
  1048. hedgegoodsid:
  1049. description: 商品id
  1050. type: integer
  1051. tradeqty:
  1052. description: 数量(成交数量)
  1053. type: integer
  1054. tradetime:
  1055. description: 时间(成交时间)
  1056. type: string
  1057. type: object
  1058. ermcp.ExposureHedgePositionRsp:
  1059. properties:
  1060. accountid:
  1061. description: 资金账号[外部母账户]
  1062. type: integer
  1063. curbuyposition:
  1064. description: 期末买头寸
  1065. type: integer
  1066. cursellposition:
  1067. description: 期末卖头寸
  1068. type: integer
  1069. curtdbuyposition:
  1070. description: 期末今日买头寸
  1071. type: integer
  1072. curtdsellposition:
  1073. description: 期末今日卖头寸
  1074. type: integer
  1075. curydbuyposition:
  1076. description: 期末上日买头寸
  1077. type: integer
  1078. curydsellposition:
  1079. description: 期末上日卖头寸
  1080. type: integer
  1081. decreaseqty:
  1082. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  1083. type: integer
  1084. fretdbuyposition:
  1085. description: 冻结今日买头寸
  1086. type: integer
  1087. fretdsellposition:
  1088. description: 冻结今日卖头寸
  1089. type: integer
  1090. freydbuyposition:
  1091. description: 冻结上日买头寸
  1092. type: integer
  1093. freydsellposition:
  1094. description: 冻结上日卖头寸
  1095. type: integer
  1096. goodscode:
  1097. description: 商品代码
  1098. type: string
  1099. goodsid:
  1100. description: 商品id
  1101. type: integer
  1102. goodsname:
  1103. description: 商品名称
  1104. type: string
  1105. hedgeaccountcode:
  1106. description: 对冲账号
  1107. type: string
  1108. hedgegoodsid:
  1109. description: 对冲合约ID
  1110. type: integer
  1111. increaseqty:
  1112. description: 增加数量 = 期末买头寸 - 期初买头寸
  1113. type: integer
  1114. marketid:
  1115. description: 市场ID
  1116. type: integer
  1117. relateduserid:
  1118. description: 关联用户id
  1119. type: integer
  1120. totalcurqty:
  1121. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  1122. type: integer
  1123. totalydqty:
  1124. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  1125. type: integer
  1126. tradedate:
  1127. description: 交易日(yyyyMMdd)
  1128. type: string
  1129. ydbuyposition:
  1130. description: 期初买头寸
  1131. type: integer
  1132. ydsellposition:
  1133. description: 期初卖头寸
  1134. type: integer
  1135. type: object
  1136. ermcp.ExposureSpotDetailRsp:
  1137. properties:
  1138. contracttype:
  1139. description: 合同类型 1-采购 -1-销售
  1140. type: integer
  1141. createtime:
  1142. description: 创建时间
  1143. type: string
  1144. enumdicname:
  1145. description: 现货商品单位名称
  1146. type: string
  1147. logtype:
  1148. description: 记录类型 1-套保 2-现货合同
  1149. type: integer
  1150. qty:
  1151. description: 数量
  1152. type: number
  1153. recordname:
  1154. description: 类型名称
  1155. type: string
  1156. relatedid:
  1157. description: 套保计划ID/现货合同ID
  1158. type: string
  1159. relatedno:
  1160. description: 编号
  1161. type: string
  1162. strtime:
  1163. description: 时间
  1164. type: string
  1165. wrstandardcode:
  1166. description: 现货商品代码
  1167. type: string
  1168. wrstandardname:
  1169. description: 现货商品名称
  1170. type: string
  1171. type: object
  1172. ermcp.ExposureSpotRsp:
  1173. properties:
  1174. areauserid:
  1175. description: 所属机构
  1176. type: integer
  1177. decreaseqty:
  1178. description: 减少数量=-(销售已定价数量+采购计划数量)
  1179. type: number
  1180. increaseqty:
  1181. description: 增加数量=销售计划数量+采购已定价数量
  1182. type: number
  1183. oritoalspotqty:
  1184. description: 昨日数量
  1185. type: number
  1186. totalspotqty:
  1187. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  1188. type: number
  1189. updatetime:
  1190. description: 更新时间
  1191. type: string
  1192. wrstandardcode:
  1193. description: 现货品种代码
  1194. type: string
  1195. wrstandardid:
  1196. description: 现货商品ID
  1197. type: integer
  1198. wrstandardname:
  1199. description: 现货品种
  1200. type: string
  1201. type: object
  1202. ermcp.HisExposureRsp:
  1203. properties:
  1204. data:
  1205. description: 历史敞口
  1206. items:
  1207. $ref: '#/definitions/models.ErmcpHisExposure'
  1208. type: array
  1209. enumdicname:
  1210. description: 单位名称
  1211. type: string
  1212. middlegoodscode:
  1213. description: 套保品种代码
  1214. type: string
  1215. middlegoodsid:
  1216. description: 套保品种ID
  1217. type: integer
  1218. middlegoodsname:
  1219. description: 套保品种名称
  1220. type: string
  1221. type: object
  1222. ermcp.PendingAuditCntRsp:
  1223. properties:
  1224. areastockqty:
  1225. description: '待审核数量: 库存申请'
  1226. type: integer
  1227. businessdjqty:
  1228. description: '待审核数量: 点价'
  1229. type: integer
  1230. businessfpqty:
  1231. description: '待审核数量: 发票'
  1232. type: integer
  1233. businessjsqty:
  1234. description: '待审核数量: 结算'
  1235. type: integer
  1236. businesskxqty:
  1237. description: '待审核数量: 款项'
  1238. type: integer
  1239. hedgeplanqty:
  1240. description: '待审核数量: 套保计划'
  1241. type: integer
  1242. spotcontractqty:
  1243. description: '待审核数量: 现货合同'
  1244. type: integer
  1245. userqty:
  1246. description: '待审核数量: 用户'
  1247. type: integer
  1248. type: object
  1249. ermcp.QryAvalidGPRsp:
  1250. properties:
  1251. goodsgroupid:
  1252. description: 期货品种id
  1253. type: integer
  1254. goodsgroupname:
  1255. description: 期货品种名称
  1256. type: string
  1257. goodunitid:
  1258. description: 品种单位id
  1259. type: integer
  1260. goodunitname:
  1261. description: 品种单位名称
  1262. type: string
  1263. outergroupcode:
  1264. description: 期货品种代码
  1265. type: string
  1266. type: object
  1267. ermcp.QryBusinessDjRsp:
  1268. properties:
  1269. amount:
  1270. description: 点价金额=(点价价格+升贴水)*点价数量
  1271. type: number
  1272. applyid:
  1273. description: 申请人
  1274. type: string
  1275. applyname:
  1276. description: 申请人名称
  1277. type: string
  1278. applystatus:
  1279. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1280. type: integer
  1281. applytime:
  1282. description: 申请时间
  1283. type: string
  1284. attachurl:
  1285. description: 附件
  1286. type: string
  1287. auditid:
  1288. description: 审核人ID
  1289. type: string
  1290. auditname:
  1291. description: 审核人名称
  1292. type: string
  1293. audittime:
  1294. description: 审核时间
  1295. type: string
  1296. buyusername:
  1297. description: 采购方名称
  1298. type: string
  1299. contractno:
  1300. description: 合同编号
  1301. type: string
  1302. contractstatus:
  1303. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1304. type: integer
  1305. contracttype:
  1306. description: 现货合同类型 - 1:采购 -1:销售
  1307. type: integer
  1308. deliverygoodscode:
  1309. description: 现货品种代码
  1310. type: string
  1311. deliverygoodsid:
  1312. description: 现货商品ID
  1313. type: integer
  1314. deliverygoodsname:
  1315. description: 现货品种名称
  1316. type: string
  1317. enumdicname:
  1318. description: 单位名称
  1319. type: string
  1320. goodscode:
  1321. description: 点价合约
  1322. type: string
  1323. goodsname:
  1324. description: 商品名称
  1325. type: string
  1326. operateapplyid:
  1327. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1328. type: string
  1329. operateapplytype:
  1330. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1331. type: integer
  1332. pricedPrice:
  1333. description: 点价价格(非必填)
  1334. type: number
  1335. pricedQty:
  1336. description: 点价数量(非必填)
  1337. type: number
  1338. pricemove:
  1339. description: 升贴水
  1340. type: number
  1341. pricetype:
  1342. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1343. type: integer
  1344. relatedid:
  1345. description: 现货合同ID
  1346. type: string
  1347. sellusername:
  1348. description: 销售方名字
  1349. type: string
  1350. userid:
  1351. description: 用户ID
  1352. type: integer
  1353. wrstandardcode:
  1354. description: 品类代码
  1355. type: string
  1356. wrstandardid:
  1357. description: 品类id
  1358. type: integer
  1359. wrstandardname:
  1360. description: 品类名称
  1361. type: string
  1362. type: object
  1363. ermcp.QryBussinessFpRsp:
  1364. properties:
  1365. applyid:
  1366. description: 申请人
  1367. type: string
  1368. applyname:
  1369. description: 申请人名称
  1370. type: string
  1371. applystatus:
  1372. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1373. type: integer
  1374. applytime:
  1375. description: 申请时间
  1376. type: string
  1377. attachurl:
  1378. description: 附件
  1379. type: string
  1380. auditid:
  1381. description: 审核人ID
  1382. type: string
  1383. auditname:
  1384. description: 审核人名称
  1385. type: string
  1386. audittime:
  1387. description: 审核时间
  1388. type: string
  1389. buyusername:
  1390. description: 采购方名称
  1391. type: string
  1392. contractno:
  1393. description: 合同编号
  1394. type: string
  1395. contractstatus:
  1396. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1397. type: integer
  1398. contracttype:
  1399. description: 现货合同类型 - 1:采购 -1:销售
  1400. type: integer
  1401. deliverygoodscode:
  1402. description: 现货品种代码
  1403. type: string
  1404. deliverygoodsid:
  1405. description: 现货商品ID
  1406. type: integer
  1407. deliverygoodsname:
  1408. description: 现货品种名称
  1409. type: string
  1410. enumdicname:
  1411. description: 单位名称
  1412. type: string
  1413. goodscode:
  1414. description: 点价合约
  1415. type: string
  1416. goodsname:
  1417. description: 商品名称
  1418. type: string
  1419. invoiceAmount:
  1420. description: 已开收票金额(销售为开票,采购为收票)
  1421. type: number
  1422. operateapplyid:
  1423. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1424. type: string
  1425. operateapplytype:
  1426. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1427. type: integer
  1428. pricemove:
  1429. description: 升贴水
  1430. type: number
  1431. pricetype:
  1432. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1433. type: integer
  1434. relatedid:
  1435. description: 现货合同ID
  1436. type: string
  1437. sellusername:
  1438. description: 销售方名字
  1439. type: string
  1440. userid:
  1441. description: 用户ID
  1442. type: integer
  1443. wrstandardcode:
  1444. description: 品类代码
  1445. type: string
  1446. wrstandardid:
  1447. description: 品类id
  1448. type: integer
  1449. wrstandardname:
  1450. description: 品类名称
  1451. type: string
  1452. type: object
  1453. ermcp.QryBussinessJsExRsp:
  1454. properties:
  1455. applyid:
  1456. description: 申请人
  1457. type: string
  1458. applyname:
  1459. description: 申请人名称
  1460. type: string
  1461. applystatus:
  1462. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1463. type: integer
  1464. applytime:
  1465. description: 申请时间
  1466. type: string
  1467. attachurl:
  1468. description: 附件
  1469. type: string
  1470. auditid:
  1471. description: 审核人ID
  1472. type: string
  1473. auditname:
  1474. description: 审核人名称
  1475. type: string
  1476. audittime:
  1477. description: 审核时间
  1478. type: string
  1479. buyusername:
  1480. description: 采购方名称
  1481. type: string
  1482. contractno:
  1483. description: 合同编号
  1484. type: string
  1485. contractstatus:
  1486. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1487. type: integer
  1488. contracttype:
  1489. description: 现货合同类型 - 1:采购 -1:销售
  1490. type: integer
  1491. deliverygoodscode:
  1492. description: 现货品种代码
  1493. type: string
  1494. deliverygoodsid:
  1495. description: 现货商品ID
  1496. type: integer
  1497. deliverygoodsname:
  1498. description: 现货品种名称
  1499. type: string
  1500. enumdicname:
  1501. description: 单位名称
  1502. type: string
  1503. goodscode:
  1504. description: 点价合约
  1505. type: string
  1506. goodsname:
  1507. description: 商品名称
  1508. type: string
  1509. operateapplyid:
  1510. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1511. type: string
  1512. operateapplytype:
  1513. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1514. type: integer
  1515. pricemove:
  1516. description: 升贴水
  1517. type: number
  1518. pricetype:
  1519. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1520. type: integer
  1521. reckontype:
  1522. description: 结算类型
  1523. type: string
  1524. reckonvalue:
  1525. description: 值
  1526. type: number
  1527. relatedid:
  1528. description: 现货合同ID
  1529. type: string
  1530. sellusername:
  1531. description: 销售方名字
  1532. type: string
  1533. userid:
  1534. description: 用户ID
  1535. type: integer
  1536. wrstandardcode:
  1537. description: 品类代码
  1538. type: string
  1539. wrstandardid:
  1540. description: 品类id
  1541. type: integer
  1542. wrstandardname:
  1543. description: 品类名称
  1544. type: string
  1545. type: object
  1546. ermcp.QryBussinessJsRsp:
  1547. properties:
  1548. addmargin:
  1549. description: 追加保证金(非必填)
  1550. type: number
  1551. applyid:
  1552. description: 申请人
  1553. type: string
  1554. applyname:
  1555. description: 申请人名称
  1556. type: string
  1557. applystatus:
  1558. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1559. type: integer
  1560. applytime:
  1561. description: 申请时间
  1562. type: string
  1563. attachurl:
  1564. description: 附件
  1565. type: string
  1566. auditid:
  1567. description: 审核人ID
  1568. type: string
  1569. auditname:
  1570. description: 审核人名称
  1571. type: string
  1572. audittime:
  1573. description: 审核时间
  1574. type: string
  1575. buyusername:
  1576. description: 采购方名称
  1577. type: string
  1578. contractno:
  1579. description: 合同编号
  1580. type: string
  1581. contractstatus:
  1582. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1583. type: integer
  1584. contracttype:
  1585. description: 现货合同类型 - 1:采购 -1:销售
  1586. type: integer
  1587. decmargin:
  1588. description: 减少保证金(非必填)
  1589. type: number
  1590. deliverygoodscode:
  1591. description: 现货品种代码
  1592. type: string
  1593. deliverygoodsid:
  1594. description: 现货商品ID
  1595. type: integer
  1596. deliverygoodsname:
  1597. description: 现货品种名称
  1598. type: string
  1599. enumdicname:
  1600. description: 单位名称
  1601. type: string
  1602. goodscode:
  1603. description: 点价合约
  1604. type: string
  1605. goodsname:
  1606. description: 商品名称
  1607. type: string
  1608. operateapplyid:
  1609. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1610. type: string
  1611. operateapplytype:
  1612. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1613. type: integer
  1614. pricemove:
  1615. description: 升贴水
  1616. type: number
  1617. pricetype:
  1618. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1619. type: integer
  1620. reckonadjustamount:
  1621. description: 结算调整金额(非必填)
  1622. type: number
  1623. reckonosamount:
  1624. description: 结算溢短金额(非必填)
  1625. type: number
  1626. reckonotheramount:
  1627. description: 结算其他费用(非必填)
  1628. type: number
  1629. reckonrealqty:
  1630. description: 结算实际数量(非必填)
  1631. type: number
  1632. relatedid:
  1633. description: 现货合同ID
  1634. type: string
  1635. sellusername:
  1636. description: 销售方名字
  1637. type: string
  1638. userid:
  1639. description: 用户ID
  1640. type: integer
  1641. wrstandardcode:
  1642. description: 品类代码
  1643. type: string
  1644. wrstandardid:
  1645. description: 品类id
  1646. type: integer
  1647. wrstandardname:
  1648. description: 品类名称
  1649. type: string
  1650. type: object
  1651. ermcp.QryBussinessKxRsp:
  1652. properties:
  1653. applyid:
  1654. description: 申请人
  1655. type: string
  1656. applyname:
  1657. description: 申请人名称
  1658. type: string
  1659. applystatus:
  1660. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1661. type: integer
  1662. applytime:
  1663. description: 申请时间
  1664. type: string
  1665. attachurl:
  1666. description: 附件
  1667. type: string
  1668. auditid:
  1669. description: 审核人ID
  1670. type: string
  1671. auditname:
  1672. description: 审核人名称
  1673. type: string
  1674. audittime:
  1675. description: 审核时间
  1676. type: string
  1677. buyusername:
  1678. description: 采购方名称
  1679. type: string
  1680. contractno:
  1681. description: 合同编号
  1682. type: string
  1683. contractstatus:
  1684. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1685. type: integer
  1686. contracttype:
  1687. description: 现货合同类型 - 1:采购 -1:销售
  1688. type: integer
  1689. deductamount:
  1690. description: 退款(非必填)
  1691. type: number
  1692. deliverygoodscode:
  1693. description: 现货品种代码
  1694. type: string
  1695. deliverygoodsid:
  1696. description: 现货商品ID
  1697. type: integer
  1698. deliverygoodsname:
  1699. description: 现货品种名称
  1700. type: string
  1701. enumdicname:
  1702. description: 单位名称
  1703. type: string
  1704. goodscode:
  1705. description: 点价合约
  1706. type: string
  1707. goodsname:
  1708. description: 商品名称
  1709. type: string
  1710. kxtype:
  1711. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1712. type: integer
  1713. operateapplyid:
  1714. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1715. type: string
  1716. operateapplytype:
  1717. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1718. type: integer
  1719. payamount:
  1720. description: 收付款(非必填)
  1721. type: number
  1722. pricemove:
  1723. description: 升贴水
  1724. type: number
  1725. pricetype:
  1726. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1727. type: integer
  1728. relatedid:
  1729. description: 现货合同ID
  1730. type: string
  1731. sellusername:
  1732. description: 销售方名字
  1733. type: string
  1734. userid:
  1735. description: 用户ID
  1736. type: integer
  1737. wrstandardcode:
  1738. description: 品类代码
  1739. type: string
  1740. wrstandardid:
  1741. description: 品类id
  1742. type: integer
  1743. wrstandardname:
  1744. description: 品类名称
  1745. type: string
  1746. type: object
  1747. ermcp.QryGGCovertCfgRsp:
  1748. properties:
  1749. convertratio:
  1750. description: 折算系数
  1751. type: number
  1752. destgoodsgroupid:
  1753. description: 目标品种ID
  1754. type: integer
  1755. dstcode:
  1756. description: 目录品种代码
  1757. type: string
  1758. dstexchangecode:
  1759. description: 目标期货交易所
  1760. type: string
  1761. dstname:
  1762. description: 目标品种名称
  1763. type: string
  1764. dstunitid:
  1765. description: 目标品种单位ID
  1766. type: integer
  1767. dstunitidname:
  1768. description: 目标品种单位名称
  1769. type: string
  1770. modifytime:
  1771. description: 修改时间
  1772. type: string
  1773. srccode:
  1774. description: 源品种代码
  1775. type: string
  1776. srcexchangecode:
  1777. description: 源期货交易所
  1778. type: string
  1779. srcgoodsgroupid:
  1780. description: 源品种ID
  1781. type: integer
  1782. srcname:
  1783. description: 源品种名称
  1784. type: string
  1785. srcunitid:
  1786. description: 源品种单位ID
  1787. type: integer
  1788. srcunitidname:
  1789. description: 源品种单位名称
  1790. type: string
  1791. type: object
  1792. ermcp.QryMGChangeLogRsp:
  1793. properties:
  1794. aftervalue:
  1795. description: 变更后
  1796. type: number
  1797. applyid:
  1798. description: 操作人
  1799. type: integer
  1800. applyname:
  1801. description: 操作人名称
  1802. type: string
  1803. applysrc:
  1804. description: 操作来源 - 1:管理端 2:终端
  1805. type: integer
  1806. beforevalue:
  1807. description: 变更前
  1808. type: number
  1809. changelogtype:
  1810. description: 变更流水类型 - 1:套保比率变更
  1811. type: integer
  1812. handlestatus:
  1813. description: 处理状态
  1814. type: integer
  1815. logdatetime:
  1816. description: 流水日期
  1817. type: string
  1818. logid:
  1819. description: 流水ID
  1820. type: integer
  1821. logremark:
  1822. description: 流水备注
  1823. type: string
  1824. middlegoodsid:
  1825. description: 套保品种ID
  1826. type: integer
  1827. tradedate:
  1828. description: 交易日(yyyyMMdd)
  1829. type: string
  1830. updatetime:
  1831. description: 更新时间
  1832. type: string
  1833. type: object
  1834. ermcp.QryMiddleGoodsDetailRsp:
  1835. properties:
  1836. cvList:
  1837. description: 期货品种折算列表
  1838. items:
  1839. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1840. type: array
  1841. mg:
  1842. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1843. description: 套保品种基本信息
  1844. wrcList:
  1845. description: 现货品种列表(现货商品折算配置)
  1846. items:
  1847. $ref: '#/definitions/models.WRSConverTDetail'
  1848. type: array
  1849. type: object
  1850. ermcp.QryMiddleGoodsRsp:
  1851. properties:
  1852. areauserid:
  1853. description: 机构用户ID
  1854. type: integer
  1855. createtime:
  1856. description: 修改时间
  1857. type: string
  1858. enumdicname:
  1859. description: 单位名称
  1860. type: string
  1861. evaluateratio:
  1862. description: 估价系数
  1863. type: number
  1864. goodsgroupid:
  1865. description: 关联期货品种ID
  1866. type: integer
  1867. goodsunitid:
  1868. description: 单位ID
  1869. type: integer
  1870. isvalid:
  1871. description: 状态 0-无效(停用) 1-有效(正常)
  1872. type: integer
  1873. middlegoodscode:
  1874. description: 套保品种代码
  1875. type: string
  1876. middlegoodsid:
  1877. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  1878. type: integer
  1879. middlegoodsname:
  1880. description: 套保品种名称
  1881. type: string
  1882. modifytime:
  1883. description: 修改时间
  1884. type: string
  1885. needarbitrageratio:
  1886. description: 套利比例
  1887. type: number
  1888. needhedgeratio:
  1889. description: 套保比率
  1890. type: number
  1891. qtydecimalplace:
  1892. description: 数量小数位
  1893. type: integer
  1894. relatedgoodsid:
  1895. description: 关联交易商品ID
  1896. type: integer
  1897. relatedgoodstype:
  1898. description: 关联商品类型 - 1:期货合约 2:现货品种
  1899. type: integer
  1900. remark:
  1901. description: 备注
  1902. type: string
  1903. type: object
  1904. ermcp.QryOPLogRsp:
  1905. properties:
  1906. aftervalue:
  1907. description: 变更后
  1908. type: number
  1909. applyid:
  1910. description: 操作人ID
  1911. type: string
  1912. applyname:
  1913. description: 操作人名称
  1914. type: string
  1915. beforevalue:
  1916. description: 变更前
  1917. type: number
  1918. biztype:
  1919. description: 业务类型 - 1:套保计划 2:现货合同
  1920. type: integer
  1921. contracttype:
  1922. description: 现货合同类型 - 1:采购 -1:销售
  1923. type: integer
  1924. logvalue:
  1925. description: 数值
  1926. type: number
  1927. operatelogtype:
  1928. description: 操作流水类型
  1929. type: integer
  1930. operatelogtypedesc:
  1931. description: 操作流水类型名称
  1932. type: string
  1933. relatedid:
  1934. description: 现货合同ID\套保计划
  1935. type: string
  1936. updatetime:
  1937. description: 更新时间
  1938. type: string
  1939. type: object
  1940. ermcp.QryUserInfoRsp:
  1941. properties:
  1942. address:
  1943. description: 通讯地址
  1944. type: string
  1945. attachment1:
  1946. description: 附件1
  1947. type: string
  1948. audittime:
  1949. description: 审核时间
  1950. type: string
  1951. cardbackphotourl:
  1952. description: 证件反面图片地址
  1953. type: string
  1954. cardfrontphotourl:
  1955. description: 证件正面图片地址
  1956. type: string
  1957. cardnum:
  1958. description: 证件号码
  1959. type: string
  1960. cardtype:
  1961. description: 证件类型
  1962. type: integer
  1963. cardtypename:
  1964. description: 证件类型名称
  1965. type: string
  1966. cityid:
  1967. description: 市
  1968. type: integer
  1969. contactname:
  1970. description: 联系人
  1971. type: string
  1972. countryid:
  1973. description: 国家
  1974. type: integer
  1975. createtime:
  1976. description: 创建时间
  1977. type: string
  1978. customername:
  1979. description: 企业名称
  1980. type: string
  1981. districtid:
  1982. description: 区域
  1983. type: integer
  1984. email:
  1985. description: 邮件
  1986. type: string
  1987. legalpersonname:
  1988. description: 法人姓名(企业)
  1989. type: string
  1990. memberuserid:
  1991. description: 所属机构ID
  1992. type: integer
  1993. mobile:
  1994. description: 手机号码
  1995. type: string
  1996. modifytime:
  1997. description: 修改时间
  1998. type: string
  1999. nickname:
  2000. description: 昵称
  2001. type: string
  2002. provinceid:
  2003. description: 省
  2004. type: integer
  2005. remark:
  2006. description: 备注
  2007. type: string
  2008. status:
  2009. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  2010. type: integer
  2011. statusdesc:
  2012. description: 账户状态中文描述
  2013. type: string
  2014. taxpayernum:
  2015. description: 纳税人识别号
  2016. type: string
  2017. telphone:
  2018. description: 联系电话
  2019. type: string
  2020. userid:
  2021. description: 用户ID
  2022. type: integer
  2023. userinfotype:
  2024. description: 客户类型
  2025. type: string
  2026. type: object
  2027. ermcp.QryWarehouseRsp:
  2028. properties:
  2029. address:
  2030. description: 详细地址
  2031. type: string
  2032. areauserid:
  2033. description: 所属机构
  2034. type: integer
  2035. autoid:
  2036. description: 自增ID(仓库ID)
  2037. type: integer
  2038. cityid:
  2039. description: 市
  2040. type: integer
  2041. contactname:
  2042. description: 联系人
  2043. type: string
  2044. contactnum:
  2045. description: 联系电话
  2046. type: string
  2047. countryid:
  2048. description: 国家
  2049. type: integer
  2050. createtime:
  2051. description: 创建时间
  2052. type: string
  2053. districtid:
  2054. description: 区
  2055. type: integer
  2056. hasvideo:
  2057. description: 是否有视频 - 0:无 1:有
  2058. type: integer
  2059. provinceid:
  2060. description: 省
  2061. type: integer
  2062. remark:
  2063. description: 审核备注
  2064. type: string
  2065. videourl:
  2066. description: 视频地址
  2067. type: string
  2068. warehousecode:
  2069. description: 仓库代码
  2070. type: string
  2071. warehousename:
  2072. description: 仓库名称
  2073. type: string
  2074. warehousestatus:
  2075. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  2076. type: integer
  2077. warehousetype:
  2078. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  2079. type: integer
  2080. type: object
  2081. ermcp.QueryErmcpTradePositionRsp:
  2082. properties:
  2083. agreeunit:
  2084. description: 合约单位
  2085. type: number
  2086. buyorsell:
  2087. description: 方向 - 0:买 1:卖
  2088. type: integer
  2089. curpositionqty:
  2090. description: 持仓(总仓数量, 期末头寸)
  2091. type: integer
  2092. curtdposition:
  2093. description: 今仓数量(期末今日头寸)
  2094. type: integer
  2095. curtdpositionenabled:
  2096. description: 今仓可用
  2097. type: integer
  2098. decimalplace:
  2099. description: 报价小数位
  2100. type: integer
  2101. enableqty:
  2102. description: 可用(总仓可用)
  2103. type: integer
  2104. exexchangename:
  2105. description: 外部交易所名称
  2106. type: string
  2107. goodscode:
  2108. description: 商品代码(内部)
  2109. type: string
  2110. goodsid:
  2111. description: 商品ID(自增ID SEQ_GOODS)
  2112. type: integer
  2113. goodsname:
  2114. description: 商品名称
  2115. type: string
  2116. last:
  2117. description: 现价
  2118. type: number
  2119. marketid:
  2120. description: 所属市场ID
  2121. type: integer
  2122. openaverageprice:
  2123. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  2124. type: number
  2125. opencost:
  2126. description: 开仓成本
  2127. type: number
  2128. openpl:
  2129. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2130. type: number
  2131. outgoodscode:
  2132. description: 商品代码(外部)
  2133. type: string
  2134. positionaverageprice:
  2135. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  2136. type: number
  2137. positioncost:
  2138. description: 持仓成本
  2139. type: number
  2140. positionpl:
  2141. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2142. type: number
  2143. positionplrate:
  2144. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  2145. type: number
  2146. usedmargin:
  2147. description: 占用保证金
  2148. type: number
  2149. type: object
  2150. ermcp.RealtimeExposurePositionRsp:
  2151. properties:
  2152. agreeunit:
  2153. description: 合约单位
  2154. type: string
  2155. areauserid:
  2156. description: 所属机构id
  2157. type: integer
  2158. convertratio:
  2159. description: 期货品种系数(折算系数)
  2160. type: number
  2161. curqty:
  2162. description: 当前持仓
  2163. type: integer
  2164. diffhedgeqty:
  2165. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  2166. type: number
  2167. diffqty:
  2168. description: 持仓变动量=当前持仓-昨日持仓
  2169. type: integer
  2170. goodscode:
  2171. description: 商品代码
  2172. type: string
  2173. goodsid:
  2174. description: 商品id
  2175. type: integer
  2176. goodsname:
  2177. description: 商品名称
  2178. type: string
  2179. middlegoodsid:
  2180. description: 套保商品id
  2181. type: integer
  2182. ydqty:
  2183. description: 昨日持仓
  2184. type: integer
  2185. type: object
  2186. ermcp.RealtimeExposureRsp:
  2187. properties:
  2188. AreaUserID:
  2189. description: 所属机构
  2190. type: integer
  2191. BuyFutureQty:
  2192. description: 买入期货数量
  2193. type: number
  2194. BuyPlanQty:
  2195. description: 采购计划数量
  2196. type: number
  2197. BuyPricedQty:
  2198. description: 采购合同已定价数量
  2199. type: number
  2200. MiddleGoodsCode:
  2201. description: 套保品种代码
  2202. type: string
  2203. MiddleGoodsHedgeRatio:
  2204. description: 套保比例
  2205. type: number
  2206. MiddleGoodsID:
  2207. description: 套保品种
  2208. type: integer
  2209. MiddleGoodsName:
  2210. description: 套保品种名称
  2211. type: string
  2212. NeedHedgeExposoure:
  2213. description: 应套保敞口(套保敞口)
  2214. type: number
  2215. NeedHedgeRatio:
  2216. description: 应套保敞口比例
  2217. type: number
  2218. OriBuyFutureQty:
  2219. description: 期初买入期货数量
  2220. type: number
  2221. OriBuyPlanQty:
  2222. description: 期初采购计划数量
  2223. type: number
  2224. OriBuyPricedQty:
  2225. description: 期初采购合同已定价数量
  2226. type: number
  2227. OriSellFutureQty:
  2228. description: 期初卖出期货数量
  2229. type: number
  2230. OriSellPlanQty:
  2231. description: 期初销售计划数量
  2232. type: number
  2233. OriSellPricedQty:
  2234. description: 期初销售合同已定价数量
  2235. type: number
  2236. SellFutureQty:
  2237. description: 卖出期货数量
  2238. type: number
  2239. SellPlanQty:
  2240. description: 销售计划数量
  2241. type: number
  2242. SellPricedQty:
  2243. description: 销售合同已定价数量
  2244. type: number
  2245. TotalExposure:
  2246. description: 总敞口 平安:净敞口
  2247. type: number
  2248. TotalFutureQty:
  2249. description: 期货总量 平安:保值净持仓量
  2250. type: number
  2251. TotalHedgeRatio:
  2252. description: 敞口比例
  2253. type: number
  2254. TotalNeedHedgeQty:
  2255. description: 应套保总量(现货应套保总量)
  2256. type: number
  2257. TotalSpotQty:
  2258. description: 现货总量 平安:采销定价净值
  2259. type: number
  2260. arbitrageqty:
  2261. description: 套利量
  2262. type: number
  2263. diffArbitrageQty:
  2264. description: 套利变动量
  2265. type: number
  2266. diffExposoureQty:
  2267. description: 变动量(套保敞口)
  2268. type: number
  2269. diffFutuQty:
  2270. description: 变动量(期货总量) 平安:保值净持仓量今日变动
  2271. type: number
  2272. diffHedgeQty:
  2273. description: 套保变动量
  2274. type: number
  2275. diffQty:
  2276. description: 变动量(总敞口) 平安:净敞口今日变动
  2277. type: number
  2278. diffSpotHedgeQty:
  2279. description: 变动量(现货应套保总量) 平安:应套保量今日变动
  2280. type: number
  2281. diffSpotQty:
  2282. description: 变动量(现货总量) = 现货数量 - 期初现货数量 平安:采销定价净值今日变动
  2283. type: number
  2284. enumdicname:
  2285. description: 单位名称
  2286. type: string
  2287. hedgeqty:
  2288. description: 套保量
  2289. type: number
  2290. needarbitrageqty:
  2291. description: 应套利量
  2292. type: number
  2293. needarbitrageratio:
  2294. description: 套利比例
  2295. type: number
  2296. needhedgeqty:
  2297. description: 应套保量
  2298. type: number
  2299. oriTotalFutuQty:
  2300. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  2301. type: number
  2302. oriTotalSpotQty:
  2303. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  2304. type: number
  2305. oriarbitrageqty:
  2306. description: 期初套利量
  2307. type: number
  2308. orihedgeqty:
  2309. description: 期初套保量
  2310. type: number
  2311. orineedhedgeexposoure:
  2312. description: 期初套保敞口
  2313. type: number
  2314. oritotalexposure:
  2315. description: 期初总敞口
  2316. type: number
  2317. oritotalfutureqty:
  2318. description: 期初期货总量
  2319. type: number
  2320. oritotalneedhedgeqty:
  2321. description: 期初现货应套保量
  2322. type: number
  2323. type: object
  2324. erms2.QueryArbitrageStrategyRsp:
  2325. properties:
  2326. applybasis:
  2327. description: 申请基差
  2328. type: number
  2329. asapplyid:
  2330. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  2331. type: string
  2332. asname:
  2333. description: 策略名称
  2334. type: string
  2335. asno:
  2336. description: 策略编号
  2337. type: string
  2338. basischangepl:
  2339. description: 基差变动损益[结算更新]
  2340. type: number
  2341. biztype:
  2342. description: 业务类型 - 1:正向套利 -1:反向套利
  2343. type: integer
  2344. closetradedate:
  2345. description: 完结交易日(yyyyMMdd)
  2346. type: string
  2347. curbasis:
  2348. description: 当前基差[结算更新]
  2349. type: number
  2350. deliverygoodsid:
  2351. description: 现货品种ID
  2352. type: integer
  2353. futureavgprice:
  2354. description: 期货建仓均价
  2355. type: number
  2356. futurecloseamount:
  2357. description: 期货平仓金额
  2358. type: number
  2359. futurecloseqty:
  2360. description: 期货平仓数量
  2361. type: number
  2362. futureopenamount:
  2363. description: 期货开仓金额
  2364. type: number
  2365. futureopenqty:
  2366. description: 期货开仓数量
  2367. type: number
  2368. futurepl:
  2369. description: 期货总盈亏[结算更新]
  2370. type: number
  2371. futureqty:
  2372. description: 期货持仓数量
  2373. type: number
  2374. futurequote:
  2375. description: 期货额度
  2376. type: number
  2377. goodsgroupid:
  2378. description: 期货品种ID
  2379. type: integer
  2380. marketid:
  2381. description: 市场ID
  2382. type: integer
  2383. netexposure:
  2384. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  2385. type: number
  2386. netexposurepl:
  2387. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  2388. type: number
  2389. netexposurerate:
  2390. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  2391. type: number
  2392. openbasis:
  2393. description: 建仓基差
  2394. type: number
  2395. pricedspotqty:
  2396. description: 已定价现货数量
  2397. type: number
  2398. pricedspotqtynotax:
  2399. description: 已定价现货不含税数量
  2400. type: number
  2401. remark:
  2402. description: 备注
  2403. type: string
  2404. spotavgprice:
  2405. description: 现货均价
  2406. type: number
  2407. spotbuyamount:
  2408. description: 现货采购金额
  2409. type: number
  2410. spotbuyqty:
  2411. description: 现货采购数量
  2412. type: number
  2413. spotpl:
  2414. description: 现货总盈亏[结算更新]
  2415. type: number
  2416. spotquota:
  2417. description: 现货额度
  2418. type: number
  2419. spotsellamount:
  2420. description: 现货销售金额
  2421. type: number
  2422. spotsellqty:
  2423. description: 现货销售数量
  2424. type: number
  2425. spotusedquota:
  2426. description: 现货占用资金
  2427. type: number
  2428. strategystatus:
  2429. description: 策略状态 - 0:未结束 1:已结束
  2430. type: integer
  2431. totalpl:
  2432. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  2433. type: number
  2434. tradedate:
  2435. description: 交易日(yyyyMMdd)
  2436. type: string
  2437. updatetime:
  2438. description: 更新时间
  2439. type: string
  2440. usedquota:
  2441. description: 已占用资金
  2442. type: number
  2443. userid:
  2444. description: 所属机构
  2445. type: integer
  2446. required:
  2447. - asapplyid
  2448. type: object
  2449. erms2.QueryInnerTradeDetailRsp:
  2450. properties:
  2451. accountid:
  2452. description: 账号ID
  2453. type: integer
  2454. agreeunit:
  2455. description: 合约单位
  2456. type: number
  2457. asapplyid:
  2458. description: 策略申请ID
  2459. type: integer
  2460. asname:
  2461. description: 策略名称
  2462. type: string
  2463. asno:
  2464. description: 策略编号
  2465. type: string
  2466. buyorsell:
  2467. description: 方向 - 0:买 1:卖
  2468. type: integer
  2469. channelbuildtype:
  2470. description: 委托单据类型 0:无 1:建仓 2:平仓
  2471. type: integer
  2472. closetype:
  2473. description: 平仓方式 - 0:无 1:平今 2:平昨
  2474. type: integer
  2475. decimalplace:
  2476. description: 报价小数位
  2477. type: integer
  2478. detailtype:
  2479. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  2480. type: integer
  2481. exexchangecode:
  2482. description: 外部交易所代码
  2483. type: string
  2484. exexchangename:
  2485. description: 外部交易所名称
  2486. type: string
  2487. goodscode:
  2488. description: 商品代码(合约)
  2489. type: string
  2490. goodsgroupid:
  2491. description: 商品组ID(品种ID)
  2492. type: integer
  2493. goodsgroupname:
  2494. description: 商品组名称(品种)
  2495. type: string
  2496. goodsid:
  2497. description: 商品ID
  2498. type: integer
  2499. goodsname:
  2500. description: 商品名称(合约)
  2501. type: string
  2502. goodunit:
  2503. description: 报价单位
  2504. type: string
  2505. marketid:
  2506. description: 市场ID
  2507. type: integer
  2508. orderid:
  2509. description: 委托单号
  2510. type: string
  2511. outgoodscode:
  2512. description: 商品代码(外部)
  2513. type: string
  2514. relatedouttradeid:
  2515. description: 关联外部成交单ID
  2516. type: string
  2517. remark:
  2518. description: 备注
  2519. type: string
  2520. spotcontractid:
  2521. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  2522. type: integer
  2523. spotcontractno:
  2524. description: 现货合同编号
  2525. type: string
  2526. tradeid:
  2527. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2528. type: string
  2529. tradeprice:
  2530. description: 成交价格
  2531. type: number
  2532. tradeqty:
  2533. description: 成交数量
  2534. type: integer
  2535. tradetime:
  2536. description: 成交时间
  2537. type: string
  2538. updatetime:
  2539. description: 更新时间
  2540. type: string
  2541. required:
  2542. - asapplyid
  2543. - buyorsell
  2544. - goodscode
  2545. - goodsgroupid
  2546. - goodsgroupname
  2547. - goodsname
  2548. - tradeid
  2549. type: object
  2550. erms2.QuerySpotContractRsp:
  2551. properties:
  2552. accountid:
  2553. description: 资金账户ID
  2554. type: integer
  2555. areauserid:
  2556. description: 所属机构
  2557. type: integer
  2558. closedate:
  2559. description: 终止日期
  2560. type: string
  2561. closeremark:
  2562. description: 结束备注
  2563. type: string
  2564. closetradedate:
  2565. description: 完结交易日(yyyyMMdd)
  2566. type: string
  2567. closetype:
  2568. description: 终止类型 - 1:违约 2:提前终止
  2569. type: integer
  2570. contractamount:
  2571. description: 合同金额
  2572. type: number
  2573. contractattachment:
  2574. description: 合同附件
  2575. type: string
  2576. contractno:
  2577. description: 现货合同编号
  2578. type: string
  2579. contractqty:
  2580. description: 合同数量(数值) (用于计算)
  2581. type: number
  2582. contractqtychar:
  2583. description: 合同数量\已订价数量 (用于显示)
  2584. type: string
  2585. contractstatus:
  2586. description: 合同状态 - 0:未结束 1:已结束
  2587. type: integer
  2588. contracttype:
  2589. description: 现货合同类型 - 1:采购合同 -1:销售合同
  2590. type: integer
  2591. customeraccountid:
  2592. description: 客户资金账户ID
  2593. type: integer
  2594. customeruserid:
  2595. description: 客户ID
  2596. type: integer
  2597. deliverygoodsdesc:
  2598. description: 品种说明
  2599. type: string
  2600. deliverygoodsid:
  2601. description: 现货品种ID
  2602. type: integer
  2603. handlestatus:
  2604. description: 处理状态
  2605. type: integer
  2606. invoiceatt:
  2607. description: 发票附件
  2608. type: string
  2609. invoicedatetime:
  2610. description: 开收票更新时间
  2611. type: string
  2612. invoiceopentime:
  2613. description: 开票时间
  2614. type: string
  2615. invoiceremark:
  2616. description: 发票备注
  2617. type: string
  2618. invoicestatus:
  2619. description: 开收票状态 - 0:未开票 1:已开票
  2620. type: integer
  2621. lastdate:
  2622. description: 交货时间
  2623. type: string
  2624. marketid:
  2625. description: 市场ID
  2626. type: integer
  2627. paydatetime:
  2628. description: 收付款更新时间
  2629. type: string
  2630. payremark:
  2631. description: 收付款备注
  2632. type: string
  2633. paystatus:
  2634. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  2635. type: integer
  2636. positionqty:
  2637. description: 头寸数量 - 合同数量去小数部分
  2638. type: integer
  2639. producttype:
  2640. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2641. type: integer
  2642. relatedqty:
  2643. description: 已关联数量
  2644. type: number
  2645. relatedstatus:
  2646. description: 关联完结状态 - 0:未结束 1:已结束
  2647. type: integer
  2648. remark:
  2649. description: 备注
  2650. type: string
  2651. signdate:
  2652. description: 签订日期
  2653. type: string
  2654. spotcontractid:
  2655. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  2656. type: string
  2657. spotdatetime:
  2658. description: 收发货更新时间
  2659. type: string
  2660. spotprice:
  2661. description: 价格
  2662. type: number
  2663. spotremark:
  2664. description: 收发货备注
  2665. type: string
  2666. spotstatus:
  2667. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  2668. type: integer
  2669. tradedate:
  2670. description: 交易日(yyyyMMdd)
  2671. type: string
  2672. userid:
  2673. description: 业务员用户ID
  2674. type: integer
  2675. warehouseid:
  2676. description: 仓库ID
  2677. type: integer
  2678. wrfactortypeid:
  2679. description: 仓单要素类型ID
  2680. type: integer
  2681. wrstandardid:
  2682. description: 仓单标准ID(SEQ_WRSTANDARD)
  2683. type: integer
  2684. required:
  2685. - spotcontractid
  2686. type: object
  2687. erms3.AddErms2ASApplyReq:
  2688. properties:
  2689. applybasis:
  2690. description: 申请基差
  2691. type: number
  2692. applystatus:
  2693. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2694. type: integer
  2695. asapplyid:
  2696. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  2697. type: integer
  2698. asname:
  2699. description: 策略名称
  2700. type: string
  2701. asno:
  2702. description: 策略编号
  2703. type: string
  2704. auditid:
  2705. description: 审核人
  2706. type: integer
  2707. auditremark:
  2708. description: 审核备注
  2709. type: string
  2710. audittime:
  2711. description: 审核时间
  2712. type: string
  2713. biztype:
  2714. description: 业务类型 - 1:正向套利 2:反向套利
  2715. type: integer
  2716. createtime:
  2717. description: 创建时间
  2718. type: string
  2719. creatorid:
  2720. description: 创建人
  2721. type: integer
  2722. deliverygoodsid:
  2723. description: 现货品种ID
  2724. type: integer
  2725. futurequote:
  2726. description: 期货额度
  2727. type: number
  2728. goodsgroupid:
  2729. description: 期货品种ID
  2730. type: integer
  2731. marketid:
  2732. description: 市场ID
  2733. type: integer
  2734. remark:
  2735. description: 备注
  2736. type: string
  2737. spotquota:
  2738. description: 现货额度
  2739. type: number
  2740. tradedate:
  2741. description: 交易日(yyyyMMdd)
  2742. type: string
  2743. userid:
  2744. description: 所属机构
  2745. type: integer
  2746. required:
  2747. - asapplyid
  2748. type: object
  2749. erms3.AddErms2SpotTradeApplyReq:
  2750. properties:
  2751. applyjsondetail:
  2752. description: 申请明细(JSON)
  2753. type: string
  2754. applystatus:
  2755. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2756. type: integer
  2757. areauserid:
  2758. description: 所属机构
  2759. type: integer
  2760. auditid:
  2761. description: 审核人
  2762. type: integer
  2763. auditremark:
  2764. description: 审核备注
  2765. type: string
  2766. audittime:
  2767. description: 审核时间
  2768. type: string
  2769. createtime:
  2770. description: 创建时间
  2771. type: string
  2772. creatorid:
  2773. description: 创建人
  2774. type: integer
  2775. deliverygoodsid:
  2776. description: 现货品种ID
  2777. type: integer
  2778. futureaccountid:
  2779. description: 期货资金账户
  2780. type: integer
  2781. goodsgroupid:
  2782. description: 期货品种
  2783. type: integer
  2784. marketid:
  2785. description: 市场ID
  2786. type: integer
  2787. remark:
  2788. description: 备注
  2789. type: string
  2790. spotaccountid:
  2791. description: 现货资金账户
  2792. type: integer
  2793. spottradeid:
  2794. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  2795. type: integer
  2796. spottradename:
  2797. description: 业务名称
  2798. type: string
  2799. spottradeno:
  2800. description: 业务编号
  2801. type: string
  2802. tradedate:
  2803. description: 交易日(yyyyMMdd)
  2804. type: string
  2805. wrstandardid:
  2806. description: 仓单标准ID
  2807. type: integer
  2808. required:
  2809. - spottradeid
  2810. type: object
  2811. erms3.AddSpotContractApplyReq:
  2812. properties:
  2813. accountid:
  2814. description: 资金账户ID
  2815. type: integer
  2816. areauserid:
  2817. description: 所属机构
  2818. type: integer
  2819. contractattachment:
  2820. description: 合同附件
  2821. type: string
  2822. contractno:
  2823. description: 现货合同编号
  2824. type: string
  2825. contracttype:
  2826. description: 现货合同类型 - 1:采购 -1:销售
  2827. type: integer
  2828. creatorid:
  2829. description: 申请人
  2830. type: integer
  2831. customeraccountid:
  2832. description: 客户资金账户ID
  2833. type: integer
  2834. customeruserid:
  2835. description: 客户ID
  2836. type: integer
  2837. details:
  2838. description: 明细
  2839. items:
  2840. $ref: '#/definitions/erms3.SoptContractDetail'
  2841. type: array
  2842. orimargin:
  2843. description: 初始保证金
  2844. type: number
  2845. remark:
  2846. description: 备注
  2847. type: string
  2848. signdate:
  2849. description: 签订日期
  2850. type: string
  2851. required:
  2852. - accountid
  2853. - areauserid
  2854. - contractno
  2855. - contracttype
  2856. - customeraccountid
  2857. - customeruserid
  2858. - details
  2859. - orimargin
  2860. - signdate
  2861. type: object
  2862. erms3.AddSpotContractApplyRsp:
  2863. properties:
  2864. contractno:
  2865. description: 现货合同编号
  2866. type: string
  2867. spotcontractid:
  2868. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2869. type: integer
  2870. required:
  2871. - contractno
  2872. type: object
  2873. erms3.AddUserInfoApplyReq:
  2874. properties:
  2875. accountid:
  2876. description: 交易系统帐号Id (加密存储)
  2877. type: integer
  2878. areacode:
  2879. description: 机构代码
  2880. type: string
  2881. areaid:
  2882. description: 机构Id
  2883. type: integer
  2884. attachment1:
  2885. description: 附件1
  2886. type: string
  2887. attachment2:
  2888. description: 附件2
  2889. type: string
  2890. attachment3:
  2891. description: 附件3
  2892. type: string
  2893. attachment4:
  2894. description: 附件4
  2895. type: string
  2896. attachment5:
  2897. description: 附件5
  2898. type: string
  2899. auditedby:
  2900. description: 审核人
  2901. type: string
  2902. auditime:
  2903. description: 审核时间
  2904. type: string
  2905. auditsrc:
  2906. description: 审核来源 - 1:管理端 2:终端
  2907. type: integer
  2908. bankaccount:
  2909. description: 银行帐号 (加密存储)
  2910. type: string
  2911. bankaccountname:
  2912. description: 收款人名称
  2913. type: string
  2914. bankcardbackphotourl:
  2915. description: 银行卡背面照地址
  2916. type: string
  2917. bankcardfrontphotourl:
  2918. description: 银行卡正面照地址
  2919. type: string
  2920. bankid:
  2921. description: 银行编码
  2922. type: string
  2923. bankname:
  2924. description: 银行名称
  2925. type: string
  2926. bankpictureurl:
  2927. description: 银行卡正面地址
  2928. type: string
  2929. biznature:
  2930. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2931. type: integer
  2932. bizscope:
  2933. description: 企业经营范围(企业)
  2934. type: string
  2935. biztype:
  2936. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2937. type: integer
  2938. brokerid:
  2939. description: 经纪人ID(加密存储)
  2940. type: string
  2941. cardaddress:
  2942. description: 证件地址 (加密存储)
  2943. type: string
  2944. cardbackphotourl:
  2945. description: 背面证件照地址
  2946. type: string
  2947. cardfrontphotourl:
  2948. description: 正面证件照地址
  2949. type: string
  2950. cardnum:
  2951. description: 证件号码 (加密存储)
  2952. type: string
  2953. cardtype:
  2954. description: 证件类型
  2955. type: integer
  2956. cityid:
  2957. description: 市
  2958. type: integer
  2959. company:
  2960. description: 公司(个人)
  2961. type: string
  2962. contactcardbackphotourl:
  2963. description: 联系人证件背面图片地址
  2964. type: string
  2965. contactcardfrontphotourl:
  2966. description: 联系人证件正面图片地址
  2967. type: string
  2968. contactname:
  2969. description: 联系人
  2970. type: string
  2971. countryid:
  2972. description: 国家
  2973. type: integer
  2974. createtime:
  2975. description: 开户申请时间
  2976. type: string
  2977. cusbankid:
  2978. description: 签约类型
  2979. type: string
  2980. cusbankname:
  2981. description: 签约类型名称
  2982. type: string
  2983. customername:
  2984. description: 客户名称(企业名称)
  2985. type: string
  2986. districtid:
  2987. description: 地区
  2988. type: integer
  2989. email:
  2990. description: Email地址(加密存储)
  2991. type: string
  2992. halfbodyphotourl:
  2993. description: 半身照地址
  2994. type: string
  2995. headurl:
  2996. description: 头像地址
  2997. type: string
  2998. ipaddress:
  2999. description: IP地址
  3000. type: string
  3001. isvalidate:
  3002. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3003. type: string
  3004. legalcardbackphotourl:
  3005. description: 法人身份证背面照地址
  3006. type: string
  3007. legalcardfrontphotourl:
  3008. description: 法人身份证正面照地址
  3009. type: string
  3010. legalpersonname:
  3011. description: 法人姓名(企业)
  3012. type: string
  3013. logincode:
  3014. description: 登录帐号 (加密存储)
  3015. type: string
  3016. memberareaid:
  3017. description: 所属会员ID
  3018. type: integer
  3019. mobile2:
  3020. description: 手机号码[明文-尚志]
  3021. type: string
  3022. mobilephone:
  3023. description: 手机号码 (加密存储)
  3024. type: string
  3025. modifiedby:
  3026. description: 修改人帐号
  3027. type: integer
  3028. modifiedtime:
  3029. description: 修改时间
  3030. type: string
  3031. nickname:
  3032. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3033. type: string
  3034. openmode:
  3035. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3036. type: integer
  3037. otherurl:
  3038. description: 其它图片地址[使用分号分隔]
  3039. type: string
  3040. postalcode:
  3041. description: 邮政编码
  3042. type: string
  3043. provinceid:
  3044. description: 省
  3045. type: integer
  3046. proxystatementurl:
  3047. description: 授权委托书
  3048. type: string
  3049. qq:
  3050. description: QQ(加密存储
  3051. type: string
  3052. referral:
  3053. description: 推荐人编码
  3054. type: string
  3055. remark:
  3056. description: 备注
  3057. type: string
  3058. removebeforestatus:
  3059. description: REMOVEBEFORESTATUS
  3060. type: integer
  3061. sex:
  3062. description: 性别 - 0:女 1:男
  3063. type: integer
  3064. signedstatus:
  3065. description: 账户一号签签约状态
  3066. type: integer
  3067. signpdfurl:
  3068. description: 签约pdf文件
  3069. type: string
  3070. subbranch:
  3071. description: 开户支行
  3072. type: string
  3073. taxpayernum:
  3074. description: 纳税人识别号
  3075. type: string
  3076. telphone:
  3077. description: 联系电话(加密存储)
  3078. type: string
  3079. userid:
  3080. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3081. type: integer
  3082. userinfotype:
  3083. description: 用户信息类型 - 1:个人 2:企业
  3084. type: integer
  3085. username:
  3086. description: 用户姓名
  3087. type: string
  3088. userstate:
  3089. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3090. type: integer
  3091. usertype:
  3092. description: 用户类型 - 1:投资者 2:机构
  3093. type: integer
  3094. videourl:
  3095. description: 视频地址
  3096. type: string
  3097. wechat:
  3098. description: 微信号 (加密存储)
  3099. type: string
  3100. required:
  3101. - userid
  3102. type: object
  3103. erms3.CustomerInfo:
  3104. properties:
  3105. accountids:
  3106. description: 资金账户ID列表
  3107. items:
  3108. type: integer
  3109. type: array
  3110. customername:
  3111. description: 名称(企业名称)
  3112. type: string
  3113. mobile:
  3114. description: 手机号码
  3115. type: string
  3116. userid:
  3117. description: 用户ID
  3118. type: integer
  3119. required:
  3120. - userid
  3121. type: object
  3122. erms3.ModifyUserInfoApplyReq:
  3123. properties:
  3124. accountid:
  3125. description: 交易系统帐号Id (加密存储)
  3126. type: integer
  3127. areacode:
  3128. description: 机构代码
  3129. type: string
  3130. areaid:
  3131. description: 机构Id
  3132. type: integer
  3133. attachment1:
  3134. description: 附件1
  3135. type: string
  3136. attachment2:
  3137. description: 附件2
  3138. type: string
  3139. attachment3:
  3140. description: 附件3
  3141. type: string
  3142. attachment4:
  3143. description: 附件4
  3144. type: string
  3145. attachment5:
  3146. description: 附件5
  3147. type: string
  3148. auditedby:
  3149. description: 审核人
  3150. type: string
  3151. auditime:
  3152. description: 审核时间
  3153. type: string
  3154. auditsrc:
  3155. description: 审核来源 - 1:管理端 2:终端
  3156. type: integer
  3157. bankaccount:
  3158. description: 银行帐号 (加密存储)
  3159. type: string
  3160. bankaccountname:
  3161. description: 收款人名称
  3162. type: string
  3163. bankcardbackphotourl:
  3164. description: 银行卡背面照地址
  3165. type: string
  3166. bankcardfrontphotourl:
  3167. description: 银行卡正面照地址
  3168. type: string
  3169. bankid:
  3170. description: 银行编码
  3171. type: string
  3172. bankname:
  3173. description: 银行名称
  3174. type: string
  3175. bankpictureurl:
  3176. description: 银行卡正面地址
  3177. type: string
  3178. biznature:
  3179. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3180. type: integer
  3181. bizscope:
  3182. description: 企业经营范围(企业)
  3183. type: string
  3184. biztype:
  3185. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  3186. type: integer
  3187. brokerid:
  3188. description: 经纪人ID(加密存储)
  3189. type: string
  3190. cardaddress:
  3191. description: 证件地址 (加密存储)
  3192. type: string
  3193. cardbackphotourl:
  3194. description: 背面证件照地址
  3195. type: string
  3196. cardfrontphotourl:
  3197. description: 正面证件照地址
  3198. type: string
  3199. cardnum:
  3200. description: 证件号码 (加密存储)
  3201. type: string
  3202. cardtype:
  3203. description: 证件类型
  3204. type: integer
  3205. cityid:
  3206. description: 市
  3207. type: integer
  3208. company:
  3209. description: 公司(个人)
  3210. type: string
  3211. contactcardbackphotourl:
  3212. description: 联系人证件背面图片地址
  3213. type: string
  3214. contactcardfrontphotourl:
  3215. description: 联系人证件正面图片地址
  3216. type: string
  3217. contactname:
  3218. description: 联系人
  3219. type: string
  3220. countryid:
  3221. description: 国家
  3222. type: integer
  3223. createtime:
  3224. description: 开户申请时间
  3225. type: string
  3226. cusbankid:
  3227. description: 签约类型
  3228. type: string
  3229. cusbankname:
  3230. description: 签约类型名称
  3231. type: string
  3232. customername:
  3233. description: 客户名称(企业名称)
  3234. type: string
  3235. districtid:
  3236. description: 地区
  3237. type: integer
  3238. email:
  3239. description: Email地址(加密存储)
  3240. type: string
  3241. halfbodyphotourl:
  3242. description: 半身照地址
  3243. type: string
  3244. headurl:
  3245. description: 头像地址
  3246. type: string
  3247. ipaddress:
  3248. description: IP地址
  3249. type: string
  3250. isvalidate:
  3251. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3252. type: string
  3253. legalcardbackphotourl:
  3254. description: 法人身份证背面照地址
  3255. type: string
  3256. legalcardfrontphotourl:
  3257. description: 法人身份证正面照地址
  3258. type: string
  3259. legalpersonname:
  3260. description: 法人姓名(企业)
  3261. type: string
  3262. logincode:
  3263. description: 登录帐号 (加密存储)
  3264. type: string
  3265. memberareaid:
  3266. description: 所属会员ID
  3267. type: integer
  3268. mobile2:
  3269. description: 手机号码[明文-尚志]
  3270. type: string
  3271. mobilephone:
  3272. description: 手机号码 (加密存储)
  3273. type: string
  3274. modifiedby:
  3275. description: 修改人帐号
  3276. type: integer
  3277. modifiedtime:
  3278. description: 修改时间
  3279. type: string
  3280. nickname:
  3281. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3282. type: string
  3283. openmode:
  3284. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3285. type: integer
  3286. otherurl:
  3287. description: 其它图片地址[使用分号分隔]
  3288. type: string
  3289. postalcode:
  3290. description: 邮政编码
  3291. type: string
  3292. provinceid:
  3293. description: 省
  3294. type: integer
  3295. proxystatementurl:
  3296. description: 授权委托书
  3297. type: string
  3298. qq:
  3299. description: QQ(加密存储
  3300. type: string
  3301. referral:
  3302. description: 推荐人编码
  3303. type: string
  3304. remark:
  3305. description: 备注
  3306. type: string
  3307. removebeforestatus:
  3308. description: REMOVEBEFORESTATUS
  3309. type: integer
  3310. sex:
  3311. description: 性别 - 0:女 1:男
  3312. type: integer
  3313. signedstatus:
  3314. description: 账户一号签签约状态
  3315. type: integer
  3316. signpdfurl:
  3317. description: 签约pdf文件
  3318. type: string
  3319. subbranch:
  3320. description: 开户支行
  3321. type: string
  3322. taxpayernum:
  3323. description: 纳税人识别号
  3324. type: string
  3325. telphone:
  3326. description: 联系电话(加密存储)
  3327. type: string
  3328. userid:
  3329. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3330. type: integer
  3331. userinfotype:
  3332. description: 用户信息类型 - 1:个人 2:企业
  3333. type: integer
  3334. username:
  3335. description: 用户姓名
  3336. type: string
  3337. userstate:
  3338. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3339. type: integer
  3340. usertype:
  3341. description: 用户类型 - 1:投资者 2:机构
  3342. type: integer
  3343. videourl:
  3344. description: 视频地址
  3345. type: string
  3346. wechat:
  3347. description: 微信号 (加密存储)
  3348. type: string
  3349. required:
  3350. - userid
  3351. type: object
  3352. erms3.QryAuditContractRsp:
  3353. properties:
  3354. accountid:
  3355. description: 交易员ID
  3356. type: string
  3357. applystatus:
  3358. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3359. type: integer
  3360. curdeliveryqty:
  3361. description: 未交收量
  3362. type: integer
  3363. customername:
  3364. description: 采购方ID
  3365. type: string
  3366. deliverygoodsid:
  3367. description: 品种ID
  3368. type: string
  3369. deliveryqty:
  3370. description: 交收量
  3371. type: integer
  3372. enumdicname:
  3373. description: 单位名称
  3374. type: string
  3375. matchaccountid:
  3376. description: 业务员ID
  3377. type: string
  3378. matchcustomername:
  3379. description: 销售方ID
  3380. type: string
  3381. pricedqty:
  3382. description: 定价量
  3383. type: number
  3384. signdate:
  3385. description: 签订日期
  3386. type: string
  3387. spotcontractid:
  3388. description: 合同ID
  3389. type: string
  3390. totaldqty:
  3391. description: 合同量
  3392. type: number
  3393. unpricedqty:
  3394. description: 未定价量
  3395. type: number
  3396. wrstandardname:
  3397. description: 商品名称
  3398. type: string
  3399. required:
  3400. - matchcustomername
  3401. - spotcontractid
  3402. type: object
  3403. erms3.QryPendingBizRsp:
  3404. properties:
  3405. accountid:
  3406. description: 现货账户
  3407. type: string
  3408. areaname:
  3409. description: 所属部门
  3410. type: string
  3411. bizid:
  3412. description: 业务ID
  3413. type: string
  3414. bizname:
  3415. description: 业务名称
  3416. type: string
  3417. status:
  3418. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3419. type: integer
  3420. type:
  3421. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  3422. type: integer
  3423. type: object
  3424. erms3.QueryBusinessInfoRsp:
  3425. properties:
  3426. businessid:
  3427. description: 业务ID.
  3428. type: integer
  3429. buyamount:
  3430. description: 采购额.
  3431. type: number
  3432. buyqty:
  3433. description: 采购量.
  3434. type: string
  3435. futurepl:
  3436. description: 期货盈亏.
  3437. type: number
  3438. futureqty:
  3439. description: 期货敞口.
  3440. type: string
  3441. goodsid:
  3442. description: 商品名称/商品代码.
  3443. type: string
  3444. hedgingqty:
  3445. description: 套保量.
  3446. type: string
  3447. sellamount:
  3448. description: 销售额.
  3449. type: number
  3450. sellqty:
  3451. description: 销售量.
  3452. type: string
  3453. spotmarketvalue:
  3454. description: 现货市值.
  3455. type: number
  3456. spotpl:
  3457. description: 浮动权益.
  3458. type: number
  3459. spotqty:
  3460. description: 现货量.
  3461. type: string
  3462. statu:
  3463. description: 状态,0-未结束 1-已结束.
  3464. type: integer
  3465. totalpl:
  3466. description: 总盈亏.
  3467. type: number
  3468. totalqty:
  3469. description: 总敞口.
  3470. type: string
  3471. type:
  3472. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  3473. type: integer
  3474. type: object
  3475. erms3.QuerySpotContractAppleFormRsp:
  3476. properties:
  3477. goodses:
  3478. description: 合约列表
  3479. items:
  3480. $ref: '#/definitions/models.GoodsIDAndName'
  3481. type: array
  3482. oppositeusers:
  3483. description: 对方账号列表
  3484. items:
  3485. $ref: '#/definitions/erms3.CustomerInfo'
  3486. type: array
  3487. ouruser:
  3488. $ref: '#/definitions/erms3.CustomerInfo'
  3489. description: 我方账号
  3490. warehouseinfos:
  3491. description: 仓库信息列表
  3492. items:
  3493. $ref: '#/definitions/models.Warehouseinfo'
  3494. type: array
  3495. wrstandards:
  3496. description: 仓单标准列表
  3497. items:
  3498. $ref: '#/definitions/models.WRStandardInfo'
  3499. type: array
  3500. type: object
  3501. erms3.QuerySpotContractInfoRsp:
  3502. properties:
  3503. accountid:
  3504. description: 表示交易员ID.
  3505. type: integer
  3506. curdeliveryqty:
  3507. description: 表示未交收量.
  3508. type: number
  3509. customername:
  3510. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  3511. type: string
  3512. deliverygoodsid:
  3513. description: 表示品种ID.
  3514. type: string
  3515. deliveryqty:
  3516. description: 表示交收量.
  3517. type: number
  3518. matchaccountid:
  3519. description: 表示业务员ID.
  3520. type: integer
  3521. matchcustomername:
  3522. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  3523. type: string
  3524. priceqty:
  3525. description: 表示定价量.
  3526. type: number
  3527. relatedbizid:
  3528. description: 表示业务ID.
  3529. type: string
  3530. signdate:
  3531. description: 表示签订日期.
  3532. type: string
  3533. spotcontractid:
  3534. description: 合同ID
  3535. type: string
  3536. status:
  3537. description: 表示状态,0-履约中 1-已完成.
  3538. type: integer
  3539. totalqty:
  3540. description: 表示合同量.
  3541. type: number
  3542. unpricedqty:
  3543. description: 表示未定价量.
  3544. type: number
  3545. wrstandardname:
  3546. description: 表示商品ID.
  3547. type: string
  3548. type: object
  3549. erms3.QueryUserInfoAppliesRsp:
  3550. properties:
  3551. biznature:
  3552. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3553. type: integer
  3554. contactname:
  3555. description: 联系人
  3556. type: string
  3557. createtime:
  3558. description: 开户申请时间
  3559. type: string
  3560. userid:
  3561. description: 用户ID(自增ID)
  3562. type: integer
  3563. userinfotype:
  3564. description: 用户信息类型 - 1:个人 2:企业
  3565. type: integer
  3566. username:
  3567. description: 用户姓名
  3568. type: string
  3569. userstate:
  3570. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3571. type: integer
  3572. required:
  3573. - userid
  3574. type: object
  3575. erms3.QueryUserInfosRsp:
  3576. properties:
  3577. biznature:
  3578. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3579. type: integer
  3580. contactname:
  3581. description: 联系人
  3582. type: string
  3583. customername:
  3584. description: 客户名称(企业名称)
  3585. type: string
  3586. userid:
  3587. description: 用户ID
  3588. type: integer
  3589. userinfotype:
  3590. description: 用户信息类型 - 1:个人 2:企业
  3591. type: integer
  3592. userstatus:
  3593. description: 用户状态 - 1:正常 2:注销
  3594. type: integer
  3595. required:
  3596. - userid
  3597. type: object
  3598. erms3.SoptContractDetail:
  3599. properties:
  3600. deliverygoodsdesc:
  3601. description: 现货品种说明
  3602. type: string
  3603. deliverygoodsid:
  3604. description: 现货品种ID
  3605. type: integer
  3606. deliverygoodsname:
  3607. description: 现货品种名称
  3608. type: string
  3609. pointdesc:
  3610. description: 点价描述
  3611. type: string
  3612. producttype:
  3613. description: 产品类型 1:标准仓单 2:等标 3:非标
  3614. type: integer
  3615. producttypename:
  3616. description: 产品类型名称
  3617. type: string
  3618. spotPointOrderVoList:
  3619. description: 点价列表
  3620. items:
  3621. $ref: '#/definitions/erms3.SpotPointOrder'
  3622. type: array
  3623. spotPriceOrderList:
  3624. description: 定价列表
  3625. items:
  3626. $ref: '#/definitions/erms3.SpotPriceOrder'
  3627. type: array
  3628. unitname:
  3629. description: 单位名称
  3630. type: string
  3631. warehouseid:
  3632. description: 仓库ID
  3633. type: integer
  3634. warehousename:
  3635. description: 仓库名称
  3636. type: string
  3637. wrstandardid:
  3638. description: 交易标的ID
  3639. type: integer
  3640. wrstandardname:
  3641. description: 交易标的名称
  3642. type: string
  3643. required:
  3644. - deliverygoodsid
  3645. - producttype
  3646. - unitname
  3647. - warehouseid
  3648. - wrstandardid
  3649. - wrstandardname
  3650. type: object
  3651. erms3.SpotPointOrder:
  3652. properties:
  3653. basic:
  3654. description: 基差
  3655. type: number
  3656. deliveryenddate:
  3657. description: 交收结束日期
  3658. type: string
  3659. deliverystartdate:
  3660. description: 交收开始日期
  3661. type: string
  3662. enddate:
  3663. description: 点价结束日期
  3664. type: string
  3665. goodsid:
  3666. description: 商品ID
  3667. type: integer
  3668. goodsname:
  3669. description: 商品名称
  3670. type: string
  3671. qty:
  3672. description: 数量
  3673. type: number
  3674. startdate:
  3675. description: 点价开始日期
  3676. type: string
  3677. required:
  3678. - basic
  3679. - goodsid
  3680. - qty
  3681. type: object
  3682. erms3.SpotPriceOrder:
  3683. properties:
  3684. amount:
  3685. description: 金额
  3686. type: number
  3687. deliveryenddate:
  3688. description: 交收结束日期
  3689. type: string
  3690. deliverystartdate:
  3691. description: 交收开始日期
  3692. type: string
  3693. price:
  3694. description: 价格
  3695. type: number
  3696. qty:
  3697. description: 数量
  3698. type: number
  3699. required:
  3700. - amount
  3701. - price
  3702. - qty
  3703. type: object
  3704. hsby.GetHsbyMyCountRsp:
  3705. properties:
  3706. myCouponCount:
  3707. description: 我的优惠卷数量
  3708. type: integer
  3709. myOrderDetailListingCount:
  3710. description: 我的订单求购中数量
  3711. type: integer
  3712. myOrderDetailPreCount:
  3713. description: 我的订单抢购中数量
  3714. type: integer
  3715. myPackageUnReceiveCount:
  3716. description: 我的包裹待收货数量
  3717. type: integer
  3718. myPackageUnSendCount:
  3719. description: 我的包裹待发货数量
  3720. type: integer
  3721. myPayOrderCount:
  3722. description: 我的订单待付款数量
  3723. type: integer
  3724. type: object
  3725. hsby.QueryProvincesAndCitiesRsp:
  3726. properties:
  3727. cities:
  3728. description: 市
  3729. items:
  3730. $ref: '#/definitions/models.Division'
  3731. type: array
  3732. province:
  3733. $ref: '#/definitions/models.Division'
  3734. description: 省
  3735. type: object
  3736. models.Arearole:
  3737. properties:
  3738. createtime:
  3739. description: 创建时间
  3740. type: string
  3741. creatorid:
  3742. description: 创建人ID
  3743. type: integer
  3744. fromuserid:
  3745. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  3746. type: integer
  3747. isreturnscore:
  3748. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  3749. type: integer
  3750. modifierid:
  3751. description: 修改人ID
  3752. type: integer
  3753. modifytime:
  3754. description: 修改时间
  3755. type: string
  3756. orgtype:
  3757. description: 组织机构类型 1:机构\分支节点 2:交易员\叶子节点 3:部门\分支节点
  3758. type: integer
  3759. outuserid:
  3760. description: 外部账户[场外期权做市商]
  3761. type: string
  3762. parentuserid:
  3763. description: 上级组织机构(组织机构)
  3764. type: integer
  3765. roletype:
  3766. description: 角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员 25:客户 98:代理 99:门店
  3767. type: integer
  3768. rootuserid:
  3769. description: 顶级组织机构用户ID(组织机构)
  3770. type: integer
  3771. shoppassword:
  3772. description: 商城店铺登陆密码(商城店铺角色使用)
  3773. type: string
  3774. sublevelpath:
  3775. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  3776. type: string
  3777. suborgtype:
  3778. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  3779. type: integer
  3780. tradeaccountid:
  3781. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  3782. type: integer
  3783. transurl:
  3784. description: 物流地址(物流机构)
  3785. type: string
  3786. userid:
  3787. description: 机构用户ID其他做市关系,都设置为 1
  3788. type: integer
  3789. required:
  3790. - roletype
  3791. - userid
  3792. type: object
  3793. models.Clientfixedadconfig:
  3794. properties:
  3795. adsort:
  3796. description: 排序
  3797. type: integer
  3798. adtype:
  3799. description: 广告位类型 - 1:新品抢购(HSBY)
  3800. type: integer
  3801. areauserid:
  3802. description: 所属机构ID
  3803. type: integer
  3804. createdate:
  3805. description: 创建时间
  3806. type: string
  3807. creatorid:
  3808. description: 创建人
  3809. type: integer
  3810. imagepath:
  3811. description: 图片
  3812. type: string
  3813. isshow:
  3814. description: 是否展示 - 0:不展示 1:展示
  3815. type: integer
  3816. modifierid:
  3817. description: 操作人
  3818. type: integer
  3819. recsize:
  3820. description: 推荐尺寸
  3821. type: string
  3822. title:
  3823. description: 标题
  3824. type: string
  3825. updatedate:
  3826. description: 更新时间
  3827. type: string
  3828. urlcontent:
  3829. description: 链接(地址或商品ID)
  3830. type: string
  3831. urltype:
  3832. description: 链接类型 - 1:直接地址 2:商品ID
  3833. type: integer
  3834. required:
  3835. - adsort
  3836. - adtype
  3837. type: object
  3838. models.Division:
  3839. properties:
  3840. autoid:
  3841. description: 自增ID
  3842. type: integer
  3843. divisioncode:
  3844. description: 行政代码
  3845. type: string
  3846. divisionlevel:
  3847. description: 行政级别
  3848. type: string
  3849. divisionname:
  3850. description: 行政名称
  3851. type: string
  3852. modifierid:
  3853. description: 修改人
  3854. type: integer
  3855. modifytime:
  3856. description: 修改时间
  3857. type: string
  3858. parentcode:
  3859. description: 上级行政代码
  3860. type: string
  3861. pathname:
  3862. description: 路径名称
  3863. type: string
  3864. postcode:
  3865. description: 邮政编码
  3866. type: string
  3867. separablename:
  3868. description: 可拆分的全称
  3869. type: string
  3870. shortcode:
  3871. description: 地区简码
  3872. type: string
  3873. required:
  3874. - autoid
  3875. - divisioncode
  3876. type: object
  3877. models.Enumdicitem:
  3878. properties:
  3879. autoid:
  3880. description: 自增ID
  3881. type: integer
  3882. bankmappedvalue:
  3883. description: 银行服务对应值
  3884. type: string
  3885. enumdiccode:
  3886. description: 所属枚举代码
  3887. type: string
  3888. enumdicid:
  3889. description: 所属枚举ID
  3890. type: integer
  3891. enumdicname:
  3892. description: 枚举项名称
  3893. type: string
  3894. enumitemname:
  3895. description: 枚举项值
  3896. type: integer
  3897. enumitemstatus:
  3898. description: 枚举项状态 - 1.启用 2.不启用
  3899. type: integer
  3900. enumitemvalue:
  3901. description: 通用值 - [币种通用简写]
  3902. type: string
  3903. param1:
  3904. description: 参数1[币种:币种小数位]
  3905. type: string
  3906. param2:
  3907. description: 参数1[币种:币种显示单位]
  3908. type: string
  3909. remark:
  3910. description: 备注
  3911. type: string
  3912. required:
  3913. - autoid
  3914. - enumdiccode
  3915. - enumdicid
  3916. - enumitemname
  3917. type: object
  3918. models.Ermcp3AreaSpot:
  3919. properties:
  3920. areauserid:
  3921. description: 所属机构
  3922. type: integer
  3923. convertratio:
  3924. description: 套保系数
  3925. type: number
  3926. decreaseqty:
  3927. description: 减少数量=-(销售已定价数量+采购计划数量)
  3928. type: number
  3929. enumdicname:
  3930. description: 单位名称
  3931. type: string
  3932. increaseqty:
  3933. description: 增加数量=销售计划数量+采购已定价数量
  3934. type: number
  3935. oritoalspotqty:
  3936. description: 昨日数量
  3937. type: number
  3938. totalspotqty:
  3939. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  3940. type: number
  3941. unitid:
  3942. description: 现货商品单位id
  3943. type: integer
  3944. updatetime:
  3945. description: 更新时间
  3946. type: string
  3947. wrstandardcode:
  3948. description: 现货商品代码
  3949. type: string
  3950. wrstandardid:
  3951. description: 现货商品ID(SEQ_WRSTANDARD)
  3952. type: integer
  3953. wrstandardname:
  3954. description: 现货商品名称
  3955. type: string
  3956. type: object
  3957. models.Ermcp3AreaSpotDetail:
  3958. properties:
  3959. contracttype:
  3960. description: 合同类型 1-采购 -1-销售
  3961. type: integer
  3962. createtime:
  3963. description: 创建时间
  3964. type: string
  3965. enumdicname:
  3966. description: 现货商品单位名称
  3967. type: string
  3968. logtype:
  3969. description: 记录类型 1-套保 2-现货合同
  3970. type: integer
  3971. qty:
  3972. description: 数量
  3973. type: number
  3974. recordname:
  3975. description: 类型名称
  3976. type: string
  3977. relatedid:
  3978. description: 套保计划ID/现货合同ID
  3979. type: string
  3980. relatedno:
  3981. description: 编号
  3982. type: string
  3983. strtime:
  3984. description: 时间
  3985. type: string
  3986. wrstandardcode:
  3987. description: 现货商品代码
  3988. type: string
  3989. wrstandardid:
  3990. description: 现货商品ID(SEQ_WRSTANDARD)
  3991. type: integer
  3992. wrstandardname:
  3993. description: 现货商品名称
  3994. type: string
  3995. type: object
  3996. models.Ermcp3AreaSpotPLReport:
  3997. properties:
  3998. accountid:
  3999. description: 期货账户ID (作废, 默认为0)
  4000. type: integer
  4001. accountname:
  4002. description: 机构名称
  4003. type: string
  4004. actualpl:
  4005. description: 现货损益
  4006. type: number
  4007. areauserid:
  4008. description: 所属机构\交易用户ID
  4009. type: integer
  4010. begindate:
  4011. description: 开始交易日
  4012. type: string
  4013. biztype:
  4014. description: 业务类型 - 1:套保 2:套利
  4015. type: integer
  4016. brandname:
  4017. description: 品牌名称
  4018. type: string
  4019. curamount:
  4020. description: 期末额
  4021. type: number
  4022. curaverageprice:
  4023. description: 期末均价
  4024. type: number
  4025. curbuyamount:
  4026. description: 期末采购总额
  4027. type: number
  4028. curbuyqty:
  4029. description: 期末采购总量
  4030. type: number
  4031. curmarketvalue:
  4032. description: 参考市值(期末市值)
  4033. type: number
  4034. curqty:
  4035. description: 期末量
  4036. type: number
  4037. currencyid:
  4038. description: 结算币种ID【原值】
  4039. type: integer
  4040. currencyname:
  4041. description: 币种名称
  4042. type: string
  4043. cursellamount:
  4044. description: 期末销售总额
  4045. type: number
  4046. cursellqty:
  4047. description: 期末销售总量
  4048. type: number
  4049. curspotprice:
  4050. description: 参考市价(最新价)
  4051. type: number
  4052. cycletime:
  4053. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4054. type: string
  4055. cycletype:
  4056. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4057. type: integer
  4058. deliverygoodscode:
  4059. description: 现货商品代码
  4060. type: string
  4061. deliverygoodsid:
  4062. description: 现货品种ID
  4063. type: integer
  4064. deliverygoodsname:
  4065. description: 现货商品名称
  4066. type: string
  4067. enddate:
  4068. description: 结束交易日
  4069. type: string
  4070. enumdicname:
  4071. description: 现货商品单位名称
  4072. type: string
  4073. floatpl:
  4074. description: 浮动损益
  4075. type: number
  4076. goodsunitid:
  4077. description: 现货商品单位id
  4078. type: integer
  4079. oriamount:
  4080. description: 期初额
  4081. type: number
  4082. oriaverageprice:
  4083. description: 期初均价
  4084. type: number
  4085. oribuyamount:
  4086. description: 期初采购总额
  4087. type: number
  4088. oribuyqty:
  4089. description: 期初采购总量
  4090. type: number
  4091. oriqty:
  4092. description: 期初量
  4093. type: number
  4094. orisellamount:
  4095. description: 期初销售总额
  4096. type: number
  4097. orisellqty:
  4098. description: 期初销售总量
  4099. type: number
  4100. reckondate:
  4101. description: 日照时期(yyyyMMdd)
  4102. type: string
  4103. spotgoodsbrandid:
  4104. description: 现货品牌ID
  4105. type: integer
  4106. todaybuyamount:
  4107. description: 今日采购额(今采购额)
  4108. type: number
  4109. todaybuyaverageprice:
  4110. description: 今日采购均价
  4111. type: number
  4112. todaybuyqty:
  4113. description: 今日采购量(今采购量)
  4114. type: number
  4115. todayinqty:
  4116. description: 今日入库量(今入库量)
  4117. type: number
  4118. todayoutqty:
  4119. description: 今日出库量(今出库量)
  4120. type: number
  4121. todaysellamount:
  4122. description: 今日销售额(今销售额)
  4123. type: number
  4124. todaysellaverageprice:
  4125. description: 今日销售均价
  4126. type: number
  4127. todaysellqty:
  4128. description: 今日销售量(今销售量)
  4129. type: number
  4130. unitid:
  4131. description: 品类单位id
  4132. type: integer
  4133. unitidname:
  4134. description: 品类单位名称
  4135. type: string
  4136. updatetime:
  4137. description: 更新时间
  4138. type: string
  4139. wrfactortypeid:
  4140. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4141. type: integer
  4142. wrstandardcode:
  4143. description: 品类代码
  4144. type: string
  4145. wrstandardid:
  4146. description: 现货品类ID
  4147. type: integer
  4148. wrstandardname:
  4149. description: 品类名称
  4150. type: string
  4151. type: object
  4152. models.Ermcp3AreaStock:
  4153. properties:
  4154. brandname:
  4155. description: 品牌名称
  4156. type: string
  4157. curstock:
  4158. description: 期末库存量(今日量)
  4159. type: number
  4160. deliverygoodscode:
  4161. description: 现货品种代码
  4162. type: string
  4163. deliverygoodsid:
  4164. description: 现货品种id
  4165. type: integer
  4166. deliverygoodsname:
  4167. description: 现货品种名称
  4168. type: string
  4169. enumdicname:
  4170. description: 单位名称
  4171. type: string
  4172. goodsunitid:
  4173. description: 现货商品单位id
  4174. type: integer
  4175. oristock:
  4176. description: 期初库存量(昨日量)
  4177. type: number
  4178. spotgoodsbrandid:
  4179. description: 现货品牌ID
  4180. type: integer
  4181. todaybuyinqty:
  4182. description: 今日采购入库量
  4183. type: number
  4184. todayproduceinqty:
  4185. description: 今日生产入库量
  4186. type: number
  4187. todayproduceoutqty:
  4188. description: 今日生产出库量
  4189. type: number
  4190. todayselloutqty:
  4191. description: 今日销售出库量
  4192. type: number
  4193. unitid:
  4194. description: 单位id
  4195. type: integer
  4196. updatetime:
  4197. description: 更新时间
  4198. type: string
  4199. userid:
  4200. description: 机构ID
  4201. type: integer
  4202. username:
  4203. description: 机构名称
  4204. type: string
  4205. warehousecode:
  4206. description: 仓库代码
  4207. type: string
  4208. warehouseinfoid:
  4209. description: 仓库ID
  4210. type: string
  4211. warehousename:
  4212. description: 仓库名称
  4213. type: string
  4214. warehousetype:
  4215. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4216. type: integer
  4217. wrstandardcode:
  4218. description: 品类代码
  4219. type: string
  4220. wrstandardid:
  4221. description: 品类ID
  4222. type: string
  4223. wrstandardname:
  4224. description: 品类名称
  4225. type: string
  4226. required:
  4227. - userid
  4228. type: object
  4229. models.Ermcp3AreaStockApply:
  4230. properties:
  4231. applyid:
  4232. description: 申请人
  4233. type: integer
  4234. applyname:
  4235. description: 申请人名称
  4236. type: string
  4237. applyremark:
  4238. description: 申请备注
  4239. type: string
  4240. applysrc:
  4241. description: 申请来源 - 1:管理端 2:终端
  4242. type: integer
  4243. applystatus:
  4244. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  4245. type: integer
  4246. applytime:
  4247. description: 申请时间
  4248. type: string
  4249. auditid:
  4250. description: 审核人
  4251. type: integer
  4252. auditname:
  4253. description: 审核人名称
  4254. type: string
  4255. auditremark:
  4256. description: 审核备注
  4257. type: string
  4258. auditsrc:
  4259. description: 审核来源 - 1:管理端 2:终端
  4260. type: integer
  4261. audittime:
  4262. description: 审核时间
  4263. type: string
  4264. audittradedate:
  4265. description: 审核交易日(yyyyMMdd)
  4266. type: string
  4267. brandname:
  4268. description: 品牌名称
  4269. type: string
  4270. buynickname:
  4271. description: 采购方昵称
  4272. type: string
  4273. buyuserid:
  4274. description: 采购方userid
  4275. type: integer
  4276. buyusername:
  4277. description: 采购方名称
  4278. type: string
  4279. contractno:
  4280. description: 合同编号
  4281. type: string
  4282. contractqty:
  4283. description: 合同量
  4284. type: number
  4285. contracttype:
  4286. description: 现货合同类型 - 1:采购 -1:销售
  4287. type: integer
  4288. deliverygoodscode:
  4289. description: 现货品种代码
  4290. type: string
  4291. deliverygoodsid:
  4292. description: 现货品种id
  4293. type: integer
  4294. deliverygoodsname:
  4295. description: 现货品种名称
  4296. type: string
  4297. detailjson:
  4298. description: 明细数据
  4299. type: string
  4300. enumdicname:
  4301. description: 现货商品单位名称
  4302. type: string
  4303. inoutapplyid:
  4304. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  4305. type: string
  4306. inouttype:
  4307. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  4308. type: integer
  4309. pricetype:
  4310. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4311. type: integer
  4312. qty:
  4313. description: 数量
  4314. type: number
  4315. sellnickname:
  4316. description: 销售方昵称
  4317. type: string
  4318. selluserid:
  4319. description: 销售方userid
  4320. type: integer
  4321. sellusername:
  4322. description: 销售方名称
  4323. type: string
  4324. spotcontractid:
  4325. description: 关联现货合同ID
  4326. type: string
  4327. spotgoodsbrandid:
  4328. description: 现货品牌ID
  4329. type: integer
  4330. unitid:
  4331. description: 单位id
  4332. type: integer
  4333. userid:
  4334. description: 机构ID
  4335. type: integer
  4336. warehousecode:
  4337. description: 仓库代码
  4338. type: string
  4339. warehouseinfoid:
  4340. description: 现货仓库ID
  4341. type: string
  4342. warehousename:
  4343. description: 仓库名称
  4344. type: string
  4345. warehousetype:
  4346. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4347. type: integer
  4348. wrstandardcode:
  4349. description: 品类代码
  4350. type: string
  4351. wrstandardid:
  4352. description: 品类ID
  4353. type: integer
  4354. wrstandardname:
  4355. description: 品类名称
  4356. type: string
  4357. type: object
  4358. models.Ermcp3AreaStockApplySum:
  4359. properties:
  4360. brandname:
  4361. description: 品牌名称
  4362. type: string
  4363. inouttype:
  4364. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  4365. type: integer
  4366. spotcontractid:
  4367. description: 关联现货合同ID
  4368. type: string
  4369. spotgoodsbrandid:
  4370. description: 品牌id
  4371. type: integer
  4372. totalqty:
  4373. description: 总数量
  4374. type: number
  4375. wrstandardid:
  4376. description: 品类id
  4377. type: integer
  4378. wrstandardname:
  4379. description: 品类名称
  4380. type: string
  4381. type: object
  4382. models.Ermcp3AreaStockReportEx:
  4383. properties:
  4384. begindate:
  4385. description: 开始交易日
  4386. type: string
  4387. brandname:
  4388. description: 品牌名称
  4389. type: string
  4390. curstock:
  4391. description: 期末库存量
  4392. type: number
  4393. cycletime:
  4394. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4395. type: string
  4396. cycletype:
  4397. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4398. type: integer
  4399. deliverygoodscode:
  4400. description: 现货品种代码
  4401. type: string
  4402. deliverygoodsid:
  4403. description: 现货品种id
  4404. type: integer
  4405. deliverygoodsname:
  4406. description: 现货品种名称
  4407. type: string
  4408. diffqty:
  4409. description: 库存变化量 = 期末 - 期初
  4410. type: number
  4411. enddate:
  4412. description: 结束交易日
  4413. type: string
  4414. enumdicname:
  4415. description: 单位名称
  4416. type: string
  4417. goodsunitid:
  4418. description: 现货单位id
  4419. type: integer
  4420. oristock:
  4421. description: 期初库存量
  4422. type: number
  4423. reckondate:
  4424. description: 日照时期(yyyyMMdd)
  4425. type: string
  4426. spotgoodsbrandid:
  4427. description: 现货品牌ID
  4428. type: integer
  4429. todaybuyinqty:
  4430. description: 今采购入库量
  4431. type: number
  4432. todayproduceinqty:
  4433. description: 今内部入库量
  4434. type: number
  4435. todayproduceoutqty:
  4436. description: 今内部出库量
  4437. type: number
  4438. todayselloutqty:
  4439. description: 今销售出库量
  4440. type: number
  4441. unbuyinqty:
  4442. description: 采购未入库量(数据库未找到相关字段?)
  4443. type: number
  4444. unitid:
  4445. description: 品类单位id
  4446. type: integer
  4447. unselloutqty:
  4448. description: 销售未出库量(数据库未找到相关字段?)
  4449. type: number
  4450. updatetime:
  4451. description: 更新时间
  4452. type: string
  4453. userid:
  4454. description: 机构ID
  4455. type: integer
  4456. username:
  4457. description: 机构名称
  4458. type: string
  4459. warehousecode:
  4460. description: 仓库代码
  4461. type: string
  4462. warehouseinfoid:
  4463. description: 仓库ID
  4464. type: string
  4465. warehousename:
  4466. description: 仓库名称
  4467. type: string
  4468. warehousetype:
  4469. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4470. type: integer
  4471. wrstandardcode:
  4472. description: 品类代码
  4473. type: string
  4474. wrstandardid:
  4475. description: 品类ID
  4476. type: integer
  4477. wrstandardname:
  4478. description: 品类名称
  4479. type: string
  4480. type: object
  4481. models.Ermcp3ArealSumPL:
  4482. properties:
  4483. accountname:
  4484. description: 机构名称
  4485. type: string
  4486. areauserid:
  4487. description: 所属机构\交易用户ID
  4488. type: integer
  4489. begindate:
  4490. description: 开始交易日
  4491. type: string
  4492. currencyid:
  4493. description: 结算币种ID
  4494. type: integer
  4495. currencyname:
  4496. description: 币种名称
  4497. type: string
  4498. cycletime:
  4499. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4500. type: string
  4501. cycletype:
  4502. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4503. type: integer
  4504. enddate:
  4505. description: 结束交易日
  4506. type: string
  4507. enumdicname:
  4508. description: 单位名称(套保品种)
  4509. type: string
  4510. futureactualpl:
  4511. description: 期货损益
  4512. type: number
  4513. futurefloatpl:
  4514. description: 期货浮动损益
  4515. type: number
  4516. futurespotratio:
  4517. description: 期现比例 = 期货头寸总量 / 现货头寸总量
  4518. type: number
  4519. goodsunitid:
  4520. description: 套保品种单位id
  4521. type: integer
  4522. hedgeexposurepl:
  4523. description: 套保敞口损益
  4524. type: number
  4525. middlegoodscode:
  4526. description: 套保品种代码
  4527. type: string
  4528. middlegoodsid:
  4529. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  4530. type: integer
  4531. middlegoodsname:
  4532. description: 套保品种名称
  4533. type: string
  4534. reckondate:
  4535. description: 日照时期(yyyyMMdd)
  4536. type: string
  4537. spotactualpl:
  4538. description: 现货损益
  4539. type: number
  4540. spotfloatpl:
  4541. description: 现货浮动损益
  4542. type: number
  4543. sumactualpl:
  4544. description: 实际损益 = (ActualPL + FutureActualPL)
  4545. type: number
  4546. sumpl:
  4547. description: 总敞口损益 | 汇总损益
  4548. type: number
  4549. totalfutureqty:
  4550. description: 期货头寸总量
  4551. type: number
  4552. totalneedhedgeqty:
  4553. description: 应套保总量
  4554. type: number
  4555. totalspotqty:
  4556. description: 现货头寸总量
  4557. type: number
  4558. updatetime:
  4559. description: 更新时间
  4560. type: string
  4561. type: object
  4562. models.Ermcp3Brand:
  4563. properties:
  4564. areauserid:
  4565. description: 用户id
  4566. type: integer
  4567. brandid:
  4568. description: 品牌id
  4569. type: integer
  4570. brandname:
  4571. description: 品牌名称
  4572. type: string
  4573. deliverygoodsid:
  4574. description: 品种ID
  4575. type: integer
  4576. isvalid:
  4577. description: 是否有效
  4578. type: integer
  4579. type: object
  4580. models.Ermcp3Contract:
  4581. properties:
  4582. accountid:
  4583. description: 期货账户id
  4584. type: string
  4585. amount:
  4586. description: 金额 [1:一口价、3:暂定价]
  4587. type: number
  4588. attachment:
  4589. description: 附件
  4590. type: string
  4591. auditremark:
  4592. description: 审核意见
  4593. type: string
  4594. audittime:
  4595. description: 审核时间
  4596. type: string
  4597. biztype:
  4598. description: 业务类型 1-套保 2-套利
  4599. type: integer
  4600. brandname:
  4601. description: 品牌名称
  4602. type: string
  4603. buynickname:
  4604. description: 销售方昵称
  4605. type: string
  4606. buyuserid:
  4607. description: 采购方ID
  4608. type: integer
  4609. buyusername:
  4610. description: 采购方名称
  4611. type: string
  4612. contracctstatus:
  4613. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4614. type: integer
  4615. contractmargin:
  4616. description: 合同保证金
  4617. type: number
  4618. contractno:
  4619. description: 现货合同编号
  4620. type: string
  4621. contracttype:
  4622. description: 现货合同类型 - 1:采购 -1:销售
  4623. type: integer
  4624. convertfactor:
  4625. description: 标仓系数(品类)
  4626. type: number
  4627. createtime:
  4628. description: 创建时间
  4629. type: string
  4630. currencyid:
  4631. description: 币种id
  4632. type: integer
  4633. currencyname:
  4634. description: 币种名称
  4635. type: string
  4636. deliveryenddate:
  4637. description: 交收期(结束)
  4638. type: string
  4639. deliverygoodscode:
  4640. description: 现货品种代码
  4641. type: string
  4642. deliverygoodsid:
  4643. description: 现货品种ID
  4644. type: integer
  4645. deliverygoodsname:
  4646. description: 现货品种名称
  4647. type: string
  4648. deliverystartdate:
  4649. description: 交收期(开始)
  4650. type: string
  4651. enddate:
  4652. description: 点价结束日期 [2:点价 3:暂定价]
  4653. type: string
  4654. enumdicname:
  4655. description: 单位名称
  4656. type: string
  4657. goodscode:
  4658. description: 点价合约代码
  4659. type: string
  4660. goodsid:
  4661. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  4662. type: integer
  4663. goodsname:
  4664. description: 点价商品名称
  4665. type: string
  4666. margin:
  4667. description: 当前保证金
  4668. type: number
  4669. meruserid:
  4670. description: 跟单员id
  4671. type: integer
  4672. meruserlogincode:
  4673. description: 跟单员登录代码
  4674. type: string
  4675. merusername:
  4676. description: 跟单员名称
  4677. type: string
  4678. price:
  4679. description: 价格\暂定价 [1:一口价、3:暂定价]
  4680. type: number
  4681. pricemove:
  4682. description: 升贴水 [2:点价 3:暂定价]
  4683. type: number
  4684. pricetype:
  4685. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4686. type: integer
  4687. producttype:
  4688. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4689. type: integer
  4690. qty:
  4691. description: 数量
  4692. type: number
  4693. remark:
  4694. description: 备注
  4695. type: string
  4696. saleuserid:
  4697. description: 业务员id
  4698. type: integer
  4699. saleuserlogincode:
  4700. description: 业务员登录代码
  4701. type: string
  4702. saleusername:
  4703. description: 业务员名称
  4704. type: string
  4705. sellnickname:
  4706. description: 采购方昵称
  4707. type: string
  4708. selluserid:
  4709. description: 销售方ID
  4710. type: integer
  4711. sellusername:
  4712. description: 销售方名称
  4713. type: string
  4714. spotcontractid:
  4715. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  4716. type: string
  4717. spotgoodsbrandid:
  4718. description: 现货品牌ID(DGFactoryItem表的ID)
  4719. type: integer
  4720. spotgoodsdesc:
  4721. description: 商品型号
  4722. type: string
  4723. startdate:
  4724. description: 点价开始日期 [2:点价 3:暂定价]
  4725. type: string
  4726. subjectid:
  4727. description: 交易主体ID
  4728. type: string
  4729. subjectname:
  4730. description: 交易主体名称
  4731. type: string
  4732. tradeuserid:
  4733. description: 交易员id
  4734. type: integer
  4735. tradeuserlogincode:
  4736. description: 交易员登录代码
  4737. type: string
  4738. tradeusername:
  4739. description: 交易员名称
  4740. type: string
  4741. unitid:
  4742. description: 单位id(取品类上的单位id)
  4743. type: integer
  4744. updatetime:
  4745. description: 更新时间
  4746. type: string
  4747. userid:
  4748. description: 所属机构ID
  4749. type: integer
  4750. vatrate:
  4751. description: 增值税率
  4752. type: number
  4753. wrstandardcode:
  4754. description: 品类代码
  4755. type: string
  4756. wrstandardid:
  4757. description: 品类ID
  4758. type: integer
  4759. wrstandardname:
  4760. description: 品类名称
  4761. type: string
  4762. type: object
  4763. models.Ermcp3ExposureContractDetail:
  4764. properties:
  4765. biztype:
  4766. description: 业务类型 1-套保 2-套利
  4767. type: integer
  4768. brandname:
  4769. description: 品牌名称
  4770. type: string
  4771. buyuserid:
  4772. description: 采购方id
  4773. type: integer
  4774. buyusername:
  4775. description: 采购方名称
  4776. type: string
  4777. contractno:
  4778. description: 合同编号
  4779. type: string
  4780. contracttype:
  4781. description: 现货合同类型 - 1:采购 -1:销售
  4782. type: integer
  4783. convertfactor:
  4784. description: 标仓系数
  4785. type: number
  4786. convertratio:
  4787. description: 折算系数(套保品种)
  4788. type: number
  4789. curqty:
  4790. description: 今定价量
  4791. type: number
  4792. deliverygoodscode:
  4793. description: 现货商品代码
  4794. type: string
  4795. deliverygoodsid:
  4796. description: 现货商品id
  4797. type: integer
  4798. deliverygoodsname:
  4799. description: 现货商品名称
  4800. type: string
  4801. diffhedgeqty:
  4802. description: 套保变动量
  4803. type: number
  4804. diffneedhedgeqty:
  4805. description: 应套保变动量
  4806. type: number
  4807. diffqty:
  4808. description: 套保品种今变动量
  4809. type: number
  4810. enumdicname:
  4811. description: 单位名称
  4812. type: string
  4813. mgunitname:
  4814. description: 套保品种单位名称
  4815. type: string
  4816. middlegoodscode:
  4817. description: 套保品种代码
  4818. type: string
  4819. middlegoodsid:
  4820. description: 套保品种id
  4821. type: integer
  4822. middlegoodsname:
  4823. description: 套保品种名称
  4824. type: string
  4825. needarbitrageratio:
  4826. description: 应套利比例
  4827. type: number
  4828. needhedgeratio:
  4829. description: 应套保比例
  4830. type: number
  4831. pricedqty:
  4832. description: 已定价量
  4833. type: number
  4834. qty:
  4835. description: 合同量
  4836. type: number
  4837. selluserid:
  4838. description: 销售方id
  4839. type: integer
  4840. sellusername:
  4841. description: 销售方名称
  4842. type: string
  4843. spotcontractid:
  4844. description: 合同id
  4845. type: string
  4846. todaypricedqty:
  4847. description: 今定价量
  4848. type: number
  4849. tradedate:
  4850. description: 交易日
  4851. type: string
  4852. unitid:
  4853. description: 品类单位id
  4854. type: integer
  4855. userid:
  4856. description: 机构id
  4857. type: integer
  4858. username:
  4859. description: 交易用户
  4860. type: string
  4861. wrstandardcode:
  4862. description: 品类代码
  4863. type: string
  4864. wrstandardid:
  4865. description: 品类id
  4866. type: integer
  4867. wrstandardname:
  4868. description: 品类名称
  4869. type: string
  4870. type: object
  4871. models.Ermcp3ExposureDetail:
  4872. properties:
  4873. areauserid:
  4874. description: 机构ID
  4875. type: integer
  4876. changeQty:
  4877. description: 套保变动量
  4878. type: number
  4879. contracttype:
  4880. description: 现货合同类型 - 1:采购 -1:销售
  4881. type: integer
  4882. convertfactor:
  4883. description: 标仓系数
  4884. type: number
  4885. convertratio:
  4886. description: 折算系数
  4887. type: number
  4888. createtime:
  4889. description: 时间
  4890. type: string
  4891. enumdicname:
  4892. description: 现货商品单位名称
  4893. type: string
  4894. logtype:
  4895. description: 类型 - 1:套保计划 2:现货合同
  4896. type: integer
  4897. mgunitid:
  4898. description: 套保品种单位id
  4899. type: integer
  4900. mgunitidname:
  4901. description: 套保品种单位名称
  4902. type: string
  4903. middlegoodsId:
  4904. description: 套保商品id
  4905. type: integer
  4906. middlegoodscode:
  4907. description: 套保商品代码
  4908. type: string
  4909. middlegoodsname:
  4910. description: 套保商品名称
  4911. type: string
  4912. qty:
  4913. description: 数量
  4914. type: number
  4915. relateNo:
  4916. description: 现货合同/套保计划编号
  4917. type: string
  4918. unitid:
  4919. description: 现货商品单位id
  4920. type: integer
  4921. wrstandardcode:
  4922. description: 现货商品代码
  4923. type: string
  4924. wrstandardid:
  4925. description: 现货商品ID(SEQ_WRSTANDARD)
  4926. type: integer
  4927. wrstandardname:
  4928. description: 现货商品名称
  4929. type: string
  4930. type: object
  4931. models.Ermcp3ExposureFutuDetail:
  4932. properties:
  4933. accountid:
  4934. description: 交易账户id
  4935. type: integer
  4936. accountname:
  4937. description: 交易账户
  4938. type: string
  4939. begindate:
  4940. description: 开始交易日
  4941. type: string
  4942. buyorsell:
  4943. description: 方向 0-买 1-卖
  4944. type: integer
  4945. diffmgqty:
  4946. description: 套保品种今变化量
  4947. type: number
  4948. diffneedqty:
  4949. description: 应套保总量变化量
  4950. type: number
  4951. difftradeqty:
  4952. description: 交易品种今变化量
  4953. type: number
  4954. enddate:
  4955. description: 结束交易日
  4956. type: string
  4957. enumdicname:
  4958. description: 单位名称
  4959. type: string
  4960. goodscode:
  4961. description: 商品代码
  4962. type: string
  4963. goodsid:
  4964. description: 商品id
  4965. type: integer
  4966. goodsname:
  4967. description: 商品名称
  4968. type: string
  4969. holdqty:
  4970. description: 期末持仓量
  4971. type: number
  4972. middlegoodscode:
  4973. description: 套保商品代码
  4974. type: string
  4975. middlegoodsid:
  4976. description: 套保商品id
  4977. type: integer
  4978. middlegoodsname:
  4979. description: 套保商品名称
  4980. type: string
  4981. oriholdqty:
  4982. description: 期初持仓量
  4983. type: number
  4984. todaycloseqty:
  4985. description: 今平仓量
  4986. type: number
  4987. todayopenqty:
  4988. description: 今开仓量
  4989. type: number
  4990. tradedate:
  4991. description: 交易日
  4992. type: string
  4993. type: object
  4994. models.Ermcp3ExposureHedgeplanDetail:
  4995. properties:
  4996. biztype:
  4997. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  4998. type: integer
  4999. changqty:
  5000. description: 应套保总量变化量
  5001. type: number
  5002. contracttype:
  5003. description: 计划类型 - 1:采购 -1:销售
  5004. type: integer
  5005. convertratio:
  5006. description: 折算系数(套保品种)
  5007. type: number
  5008. deliverygoodscode:
  5009. description: 现货商品代码
  5010. type: string
  5011. deliverygoodsid:
  5012. description: 现货商品id
  5013. type: integer
  5014. deliverygoodsname:
  5015. description: 现货商吕名称
  5016. type: string
  5017. dgunitid:
  5018. description: 现货商品单位id
  5019. type: integer
  5020. dgunitidname:
  5021. description: 单位名称(现货商品)
  5022. type: string
  5023. diffqty:
  5024. description: 套保品种今变动量
  5025. type: number
  5026. enumdicname:
  5027. description: 单位名称(品类)
  5028. type: string
  5029. hedgeplanid:
  5030. description: 套保计划id
  5031. type: string
  5032. hedgeplanno:
  5033. description: 套保计划名称
  5034. type: string
  5035. hedgeplanstatus:
  5036. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5037. type: integer
  5038. mgunitidname:
  5039. description: 单位名称(套保商品)
  5040. type: string
  5041. middlegoodscode:
  5042. description: 套保品种代码
  5043. type: string
  5044. middlegoodsid:
  5045. description: 套保品种id
  5046. type: integer
  5047. middlegoodsname:
  5048. description: 套保品种名称
  5049. type: string
  5050. needarbitrageratio:
  5051. description: 应套利比例
  5052. type: number
  5053. needhedgeratio:
  5054. description: 应套保比例
  5055. type: number
  5056. pricedqty:
  5057. description: 已定价量
  5058. type: number
  5059. qty:
  5060. description: 合同量
  5061. type: number
  5062. tradedate:
  5063. description: 交易日(登记日)
  5064. type: string
  5065. unitid:
  5066. description: 品类单位id
  5067. type: integer
  5068. userid:
  5069. description: 机构id
  5070. type: integer
  5071. wrstandardcode:
  5072. description: 品类代码
  5073. type: string
  5074. wrstandardid:
  5075. description: 品类id
  5076. type: integer
  5077. wrstandardname:
  5078. description: 品类名称
  5079. type: string
  5080. type: object
  5081. models.Ermcp3ExposureParamChLog:
  5082. properties:
  5083. accountid:
  5084. description: 期货账户ID (作废, 默认为0)
  5085. type: integer
  5086. aftervalue:
  5087. description: 应套保\套利量变更后(调整后应套保总量)
  5088. type: number
  5089. areauserid:
  5090. description: 所属机构\交易用户ID
  5091. type: integer
  5092. beforevalue:
  5093. description: 应套保\套利量变更前(调整前应套保总量)
  5094. type: number
  5095. begindate:
  5096. description: 开始交易日
  5097. type: string
  5098. changelogtype:
  5099. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  5100. type: integer
  5101. curvalue:
  5102. description: 当前套保\套利量(套保总量|套利总量)
  5103. type: number
  5104. diffvalue:
  5105. description: 应套保总量变化量
  5106. type: number
  5107. enddate:
  5108. description: 结束交易日
  5109. type: string
  5110. logdatetime:
  5111. description: 流水日期
  5112. type: string
  5113. logid:
  5114. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  5115. type: string
  5116. middlegoodscode:
  5117. description: 套保品种代码
  5118. type: string
  5119. middlegoodsid:
  5120. description: 套保品种
  5121. type: integer
  5122. middlegoodsname:
  5123. description: 套保品种名称
  5124. type: string
  5125. paramaftervalue:
  5126. description: 参数变更后(调整后参数值)
  5127. type: number
  5128. parambeforevalue:
  5129. description: 参数变更前(调整前参数值)
  5130. type: number
  5131. tradedate:
  5132. description: 交易日(yyyyMMdd)
  5133. type: string
  5134. type: object
  5135. models.Ermcp3ExpourseReport:
  5136. properties:
  5137. accountid:
  5138. description: 期货账户ID (作废, 默认为0)
  5139. type: integer
  5140. accountname:
  5141. description: 机构名称
  5142. type: string
  5143. arbitrageqty:
  5144. description: 套利量
  5145. type: number
  5146. areauserid:
  5147. description: 所属机构\交易用户ID
  5148. type: integer
  5149. begindate:
  5150. description: 开始交易日
  5151. type: string
  5152. buyfutureqty:
  5153. description: 买入期货数量
  5154. type: number
  5155. buyplanqty:
  5156. description: 采购计划数量
  5157. type: number
  5158. buypricedqty:
  5159. description: 采购合同已定价数量
  5160. type: number
  5161. cycletime:
  5162. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5163. type: string
  5164. cycletype:
  5165. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5166. type: integer
  5167. diffexposure:
  5168. description: 变动量(套保敞口)
  5169. type: number
  5170. difffutuqty:
  5171. description: 变动量(期货)
  5172. type: number
  5173. diffhedgeqty:
  5174. description: 变动量(现货应套保总量)
  5175. type: number
  5176. diffmgqtya:
  5177. description: 套保变动量
  5178. type: number
  5179. diffmgqtyb:
  5180. description: 套利变动量
  5181. type: number
  5182. diffqty:
  5183. description: 变动量(总敞口)
  5184. type: number
  5185. diffspotqty:
  5186. description: 变动量(现货)
  5187. type: number
  5188. enddate:
  5189. description: 结束交易日
  5190. type: string
  5191. enumdicname:
  5192. description: 单位名称
  5193. type: string
  5194. hedgeqty:
  5195. description: 套保量
  5196. type: number
  5197. mgneedhedgeratio:
  5198. description: 套保比例(套保品的)
  5199. type: number
  5200. middlegoodsid:
  5201. description: 套保品种ID
  5202. type: integer
  5203. middlegoodsname:
  5204. description: 套保商品名称
  5205. type: string
  5206. middlgoodscode:
  5207. description: 套保商品代码
  5208. type: string
  5209. needarbitrageqty:
  5210. description: 应套利量
  5211. type: number
  5212. needarbitrageratio:
  5213. description: 套利比例(套保品的)
  5214. type: number
  5215. needhedgeexposoure:
  5216. description: 应套保敞口(套保敞口)
  5217. type: number
  5218. needhedgeqty:
  5219. description: 应套保量
  5220. type: number
  5221. needhedgeratio:
  5222. description: 应套保敞口比例
  5223. type: number
  5224. oriarbitrageqty:
  5225. description: 期初套利量
  5226. type: number
  5227. oribuyfutureqty:
  5228. description: 期初买入期货数量
  5229. type: number
  5230. oribuyplanqty:
  5231. description: 期初采购计划数量
  5232. type: number
  5233. oribuypricedqty:
  5234. description: 期初采购合同已定价数量
  5235. type: number
  5236. orihedgeqty:
  5237. description: 期初套保量
  5238. type: number
  5239. orineedarbitrageqty:
  5240. description: 期初应套利量
  5241. type: number
  5242. orineedhedgeexposoure:
  5243. description: 期初应套保敞口
  5244. type: number
  5245. orineedhedgeqty:
  5246. description: 期初应套保量
  5247. type: number
  5248. orisellfutureqty:
  5249. description: 期初卖出期货数量
  5250. type: number
  5251. orisellplanqty:
  5252. description: 期初销售计划数量
  5253. type: number
  5254. orisellpricedqty:
  5255. description: 期初销售合同已定价数量
  5256. type: number
  5257. oritotalexposure:
  5258. description: 期初实时总敞口
  5259. type: number
  5260. oritotalfutureqty:
  5261. description: 期初期货头寸总量
  5262. type: number
  5263. oritotalneedhedgeqty:
  5264. description: 期初应套保总量
  5265. type: number
  5266. oritotalspotqty:
  5267. description: 期初现货头寸总量
  5268. type: number
  5269. reckondate:
  5270. description: 日照时期(yyyyMMdd)
  5271. type: string
  5272. sellfutureqty:
  5273. description: 卖出期货数量
  5274. type: number
  5275. sellplanqty:
  5276. description: 销售计划数量
  5277. type: number
  5278. sellpricedqty:
  5279. description: 销售合同已定价数量
  5280. type: number
  5281. totalexposure:
  5282. description: 实时总敞口(总敞口)
  5283. type: number
  5284. totalfutureqty:
  5285. description: 期货头寸总量(期货总量)
  5286. type: number
  5287. totalhedgeratio:
  5288. description: 敞口比例
  5289. type: number
  5290. totalneedhedgeqty:
  5291. description: 应套保总量(现货应套保总量)
  5292. type: number
  5293. totalspotqty:
  5294. description: 现货头寸总量
  5295. type: number
  5296. unitid:
  5297. description: 单位id
  5298. type: integer
  5299. updatetime:
  5300. description: 更新时间
  5301. type: string
  5302. type: object
  5303. models.Ermcp3FinanceReport:
  5304. properties:
  5305. accountname:
  5306. description: 机构名称
  5307. type: string
  5308. areauserid:
  5309. description: 所属机构\交易用户ID
  5310. type: integer
  5311. begindate:
  5312. description: 开始交易日
  5313. type: string
  5314. biztype:
  5315. description: 业务类型 - 1:套保 2:套利
  5316. type: integer
  5317. brandname:
  5318. description: 品牌名称
  5319. type: string
  5320. buypreinvoicedamount:
  5321. description: 采购预收票额(预收票额)
  5322. type: number
  5323. buyprepaidamount:
  5324. description: 采购预付款额(预付货款额)
  5325. type: number
  5326. buytodayinvoiceamount:
  5327. description: 采购今收票额(今收票额)
  5328. type: number
  5329. buytodayrefundamount:
  5330. description: 采购今收退款额(今收退款额)
  5331. type: number
  5332. buytodaysettleamount:
  5333. description: 采购今付款额(今付货款额)
  5334. type: number
  5335. buyuninvoicedamount:
  5336. description: 采购应收票额(应收票额)
  5337. type: number
  5338. buyunpaidamount:
  5339. description: 采购应付款额(应付货款额)
  5340. type: number
  5341. currencyid:
  5342. description: 结算币种ID
  5343. type: integer
  5344. currencyname:
  5345. description: 币种名称
  5346. type: string
  5347. cycletime:
  5348. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5349. type: string
  5350. cycletype:
  5351. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5352. type: integer
  5353. deliverygoodscode:
  5354. description: 现货品种代码
  5355. type: string
  5356. deliverygoodsid:
  5357. description: 现货品种ID
  5358. type: integer
  5359. deliverygoodsname:
  5360. description: 现货品种名称
  5361. type: string
  5362. enddate:
  5363. description: 结束交易日
  5364. type: string
  5365. reckondate:
  5366. description: 日照时期(yyyyMMdd)
  5367. type: string
  5368. sellpreinvoicedamount:
  5369. description: 销售预开票额(预开票额)
  5370. type: number
  5371. sellprepaidamount:
  5372. description: 销售预收款额(预收货款额)
  5373. type: number
  5374. selltodayinvoiceamount:
  5375. description: 销售今开票额(今开票额)
  5376. type: number
  5377. selltodayrefundamount:
  5378. description: 销售今付退款额(今付退款额)
  5379. type: number
  5380. selltodaysettleamount:
  5381. description: 销售今收款额(今收货款额)
  5382. type: number
  5383. selluninvoicedamount:
  5384. description: 销售应开票额(应开票额)
  5385. type: number
  5386. sellunpaidamount:
  5387. description: 销售应收款额(应收货款额)
  5388. type: number
  5389. spotgoodsbrandid:
  5390. description: 现货品牌ID
  5391. type: integer
  5392. todaypaysum:
  5393. description: 今付款合计
  5394. type: number
  5395. todayreceivesum:
  5396. description: 今收款合计
  5397. type: number
  5398. updatetime:
  5399. description: 更新时间
  5400. type: string
  5401. wrfactortypeid:
  5402. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  5403. type: integer
  5404. wrstandardcode:
  5405. description: 品类代码
  5406. type: string
  5407. wrstandardid:
  5408. description: 现货商品ID
  5409. type: integer
  5410. wrstandardname:
  5411. description: 品类名称
  5412. type: string
  5413. type: object
  5414. models.Ermcp3GoodsGroup:
  5415. properties:
  5416. agreeunit:
  5417. description: 合约单位
  5418. type: number
  5419. areauserid:
  5420. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  5421. type: integer
  5422. canshort:
  5423. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  5424. type: integer
  5425. closepricemode:
  5426. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  5427. type: integer
  5428. createtime:
  5429. description: 创建时间
  5430. type: string
  5431. creatorid:
  5432. description: 创建人
  5433. type: integer
  5434. currencyid:
  5435. description: 报价货币ID
  5436. type: integer
  5437. decimalplace:
  5438. description: 报价小数位
  5439. type: integer
  5440. enumdicname:
  5441. description: 单位名称
  5442. type: string
  5443. exchangefullname:
  5444. description: 交易所全称
  5445. type: string
  5446. excludecfg:
  5447. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  5448. type: integer
  5449. exexchangecode:
  5450. description: 交易所代码
  5451. type: string
  5452. exexchangeid:
  5453. description: 外部交易所ID[通道交易]
  5454. type: integer
  5455. exexchangename:
  5456. description: 交易所名称
  5457. type: string
  5458. goodsgroupid:
  5459. description: 商品组ID(自增ID)
  5460. type: integer
  5461. goodsgroupname:
  5462. description: 商品组名称
  5463. type: string
  5464. goodsgroupstatus:
  5465. description: 商品组状态 - 1:正常 2:注销
  5466. type: integer
  5467. goodunitid:
  5468. description: 报价单位ID
  5469. type: integer
  5470. groupcategroyid:
  5471. description: 品种分类ID
  5472. type: integer
  5473. innerdealmode:
  5474. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  5475. type: integer
  5476. marketid:
  5477. description: 所属市场ID
  5478. type: integer
  5479. modifierid:
  5480. description: 修改人
  5481. type: integer
  5482. modifytime:
  5483. description: 修改时间
  5484. type: string
  5485. outerdealmode:
  5486. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  5487. type: integer
  5488. outergroupcode:
  5489. description: 外部商品组代码[通道交易]
  5490. type: string
  5491. quoteminunit:
  5492. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5493. type: integer
  5494. quotesourcegroupid:
  5495. description: 所属行情源分组ID[参考行情市场用\通道交易]
  5496. type: integer
  5497. syncgoodsqty:
  5498. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  5499. type: integer
  5500. required:
  5501. - areauserid
  5502. type: object
  5503. models.Ermcp3HedgePlan:
  5504. properties:
  5505. accountid:
  5506. description: 资金账号
  5507. type: integer
  5508. areauserid:
  5509. description: 用户ID
  5510. type: integer
  5511. auditid:
  5512. description: 审核id
  5513. type: integer
  5514. auditname:
  5515. description: 审核人名称
  5516. type: string
  5517. auditremark:
  5518. description: 审核备注
  5519. type: string
  5520. auditsrc:
  5521. description: 审核来源 1-管理端 2-终端
  5522. type: integer
  5523. audittime:
  5524. description: 审核时间
  5525. type: string
  5526. contracttype:
  5527. description: 计划类型 - 1:采购 -1:销售
  5528. type: integer
  5529. convertfactor:
  5530. description: 标仓系数
  5531. type: number
  5532. createtime:
  5533. description: 创建时间
  5534. type: string
  5535. currencyid:
  5536. description: 币种id
  5537. type: integer
  5538. currencyname:
  5539. description: 币种名称
  5540. type: string
  5541. deliverygoodscode:
  5542. description: 现货品种代码
  5543. type: string
  5544. deliverygoodsid:
  5545. description: 现货品种ID
  5546. type: integer
  5547. deliverygoodsname:
  5548. description: 现货品种名称
  5549. type: string
  5550. enumdicname:
  5551. description: 单位名称(现货商品)
  5552. type: string
  5553. hedgeplanid:
  5554. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  5555. type: string
  5556. hedgeplanno:
  5557. description: 套保计划编号(名称)
  5558. type: string
  5559. hedgeplanstatus:
  5560. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5561. type: integer
  5562. planqty:
  5563. description: 计划数量
  5564. type: number
  5565. plantime:
  5566. description: 计划时间
  5567. type: string
  5568. producttype:
  5569. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5570. type: integer
  5571. remark:
  5572. description: 备注
  5573. type: string
  5574. spotgoodsdesc:
  5575. description: 商品型号
  5576. type: string
  5577. taaccountname:
  5578. description: 资金账号名称
  5579. type: string
  5580. tradeuserid:
  5581. description: 交易用户id
  5582. type: integer
  5583. tradeusername:
  5584. description: 交易用户名称
  5585. type: string
  5586. unitid:
  5587. description: 单位id(现货商品)
  5588. type: integer
  5589. updatetime:
  5590. description: 更新时间
  5591. type: string
  5592. vatrate:
  5593. description: 增值税率
  5594. type: number
  5595. wrstandardcode:
  5596. description: 品类代码
  5597. type: string
  5598. wrstandardid:
  5599. description: 品类id
  5600. type: integer
  5601. wrstandardname:
  5602. description: 品类名称
  5603. type: string
  5604. wrunitid:
  5605. description: 品类单位id
  5606. type: integer
  5607. wrunitidame:
  5608. description: 品类单位名称
  5609. type: string
  5610. type: object
  5611. models.Ermcp3InnerTradeLink:
  5612. properties:
  5613. accountid:
  5614. description: 期货账号代码 | 资金账号ID
  5615. type: integer
  5616. buyorsell:
  5617. description: 方向 - 0:买 1:卖
  5618. type: integer
  5619. channelbuildtype:
  5620. description: 委托单据类型 0:无 1:建仓 2:平仓
  5621. type: integer
  5622. currencyid:
  5623. description: 币种id
  5624. type: integer
  5625. currencyname:
  5626. description: 结算币种 名称
  5627. type: string
  5628. goodscode:
  5629. description: 商品代码
  5630. type: string
  5631. goodsid:
  5632. description: 商品ID
  5633. type: integer
  5634. goodsname:
  5635. description: 商品名称
  5636. type: string
  5637. outtradeid:
  5638. description: 外部成交单号
  5639. type: string
  5640. taname:
  5641. description: 期货账户名称
  5642. type: string
  5643. tradeid:
  5644. description: 期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5645. type: string
  5646. tradeprice:
  5647. description: 成交价格
  5648. type: number
  5649. tradeqty:
  5650. description: 期货成交数量
  5651. type: integer
  5652. tradetime:
  5653. description: 关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间
  5654. type: string
  5655. username:
  5656. description: 用户名称
  5657. type: string
  5658. type: object
  5659. models.Ermcp3OutTradeLink:
  5660. properties:
  5661. buyorsell:
  5662. description: 买卖方向 - 0:买 1:卖
  5663. type: integer
  5664. channelbuildtype:
  5665. description: 开平标志- 0:无 1:建仓 2:平仓
  5666. type: integer
  5667. currencyname:
  5668. description: 币种名称
  5669. type: string
  5670. exexchangecode:
  5671. description: 交易所代码
  5672. type: string
  5673. exexchangename:
  5674. description: 交易所名称
  5675. type: string
  5676. goodscode:
  5677. description: 合约代码
  5678. type: string
  5679. goodsid:
  5680. description: 合约id
  5681. type: integer
  5682. goodsname:
  5683. description: 合约名称
  5684. type: string
  5685. hasinnerorder:
  5686. description: 是否有内部单关联 - 0:无 1:有
  5687. type: integer
  5688. hedgeaccountcode:
  5689. description: 外部账号 | 对冲账号
  5690. type: string
  5691. outtradeid:
  5692. description: 外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5693. type: string
  5694. tradeprice:
  5695. description: 成交价格
  5696. type: number
  5697. tradeqty:
  5698. description: 成交数量
  5699. type: integer
  5700. tradetime:
  5701. description: 成交时间
  5702. type: string
  5703. type: object
  5704. models.Ermcp3PaAreaAuditCfg:
  5705. properties:
  5706. areauserid:
  5707. description: 用户ID
  5708. type: integer
  5709. buyinauditflag:
  5710. description: 采购入库是否需要审核 - 0:不需审核 1:需要审核
  5711. type: integer
  5712. costratioauditflag:
  5713. description: 现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核
  5714. type: integer
  5715. customerauditflag:
  5716. description: 客户资料是否需要审核 - 0:不需审核 1:需要审核
  5717. type: integer
  5718. deliveryauditflag:
  5719. description: 交收是否需要审核 - 0:不需审核 1:需要审核
  5720. type: integer
  5721. invoiceauditflag:
  5722. description: 发票是否需要审核 - 0:不需审核 1:需要审核
  5723. type: integer
  5724. mgneedhedgeratioauditflag:
  5725. description: 套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核
  5726. type: integer
  5727. moneyauditflag:
  5728. description: 款项是否需要审核 - 0:不需审核 1:需要审核
  5729. type: integer
  5730. operatorid:
  5731. description: 操作人
  5732. type: integer
  5733. operatorsrc:
  5734. description: 操作来源 - 1:管理端 2:终端
  5735. type: integer
  5736. pointpriceauditflag:
  5737. description: 点价是否需要审核 - 0:不需审核 1:需要审核
  5738. type: integer
  5739. produceinauditflag:
  5740. description: 生产入库是否需要审核 - 0:不需审核 1:需要审核
  5741. type: integer
  5742. produceoutauditflag:
  5743. description: 生产出库是否需要审核 - 0:不需审核 1:需要审核
  5744. type: integer
  5745. selloutauditflag:
  5746. description: 销售出库是否需要审核 - 0:不需审核 1:需要审核
  5747. type: integer
  5748. sgconvertratioauditflag:
  5749. description: 现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核
  5750. type: integer
  5751. sgvtaratioauditflag:
  5752. description: 现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核
  5753. type: integer
  5754. spotcontractauditflag:
  5755. description: 现货合同是否需要审核 - 0:不需审核 1:需要审核
  5756. type: integer
  5757. updatetime:
  5758. description: 更新时间
  5759. type: string
  5760. type: object
  5761. models.Ermcp3PaAreaSubject:
  5762. properties:
  5763. areauserid:
  5764. description: 所属机构
  5765. type: integer
  5766. canmodify:
  5767. description: 是否可修改 - 0:否 1:是
  5768. type: integer
  5769. createtime:
  5770. description: 创建时间
  5771. type: string
  5772. creatorid:
  5773. description: 创建人ID
  5774. type: string
  5775. creatorsrc:
  5776. description: 创建人来源 - 1:管理端 2:终端 3:交易
  5777. type: integer
  5778. modifierid:
  5779. description: 修改人
  5780. type: string
  5781. modifiersrc:
  5782. description: 修改人来源 - 1:管理端 2:终端
  5783. type: integer
  5784. modifytime:
  5785. description: 修改时间
  5786. type: string
  5787. parentsubjectid:
  5788. description: 上级主体ID
  5789. type: string
  5790. remark:
  5791. description: 备注
  5792. type: string
  5793. subjectid:
  5794. description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  5795. type: integer
  5796. subjectname:
  5797. description: 主体名称
  5798. type: string
  5799. subjectstatus:
  5800. description: '主体状态 - 1:正常 2: 停用'
  5801. type: integer
  5802. subjecttype:
  5803. description: 主体类型 - 1:交易主体 2:业务部门
  5804. type: integer
  5805. type: object
  5806. models.Ermcp3PaTradeLink:
  5807. properties:
  5808. accountid:
  5809. description: 期货账户代码 | 账号ID
  5810. type: integer
  5811. agreeunit:
  5812. description: 合约乘数
  5813. type: number
  5814. buyorsell:
  5815. description: 方向 - 0:买 1:卖
  5816. type: integer
  5817. channelbuildtype:
  5818. description: 委托单据类型 0:无 1:建仓 2:平仓
  5819. type: integer
  5820. charge:
  5821. description: 手续费
  5822. type: number
  5823. closepl:
  5824. description: 平仓盈亏
  5825. type: number
  5826. closetype:
  5827. description: 平仓方式 - 0:无 1:平今 2:平昨
  5828. type: integer
  5829. convertratio:
  5830. description: 折算系数
  5831. type: number
  5832. enumdicname:
  5833. description: 单位名称
  5834. type: string
  5835. executeprice:
  5836. description: 执行价 [期权]
  5837. type: integer
  5838. goodscode:
  5839. description: 合约代码
  5840. type: string
  5841. goodsgroupid:
  5842. description: 对冲品种ID[期货合约商品组ID]
  5843. type: integer
  5844. goodsid:
  5845. description: 商品ID
  5846. type: integer
  5847. goodsname:
  5848. description: 合约名称
  5849. type: string
  5850. goodunitid:
  5851. description: 单位id
  5852. type: integer
  5853. hedgeflag:
  5854. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  5855. type: integer
  5856. marketid:
  5857. description: 市场ID
  5858. type: integer
  5859. middlegoodsid:
  5860. description: 套保品种ID
  5861. type: integer
  5862. middlegoodsqty:
  5863. description: 套保品种数量 = TradeQty * AgreeUnit * ConvertRatio
  5864. type: number
  5865. optioncode:
  5866. description: 期权代码 [期权]
  5867. type: string
  5868. ordertype:
  5869. description: 单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单
  5870. type: integer
  5871. ordertypename:
  5872. description: 订单类型
  5873. type: string
  5874. parentaccountid:
  5875. description: 所属母账户
  5876. type: integer
  5877. premium:
  5878. description: 权利金 [期权]
  5879. type: number
  5880. relatedlot:
  5881. description: 已关联数量(已关联数量手) | db:关联手数
  5882. type: number
  5883. relatedouttradeid:
  5884. description: 关联外部成交单ID
  5885. type: string
  5886. relatedqty:
  5887. description: 关联数量
  5888. type: number
  5889. spotcontractid:
  5890. description: 现货合同ID [4:套期保值\10\11]
  5891. type: string
  5892. taname:
  5893. description: 期货账户名称
  5894. type: string
  5895. tradeamount:
  5896. description: 成交金额(账户)
  5897. type: number
  5898. tradedate:
  5899. description: 交易日(yyyyMMdd)
  5900. type: string
  5901. tradeid:
  5902. description: 期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5903. type: string
  5904. tradelot:
  5905. description: 成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数
  5906. type: integer
  5907. tradeprice:
  5908. description: 成交价格
  5909. type: number
  5910. tradetime:
  5911. description: 时间 | db:成交时间
  5912. type: string
  5913. tradetype:
  5914. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  5915. type: integer
  5916. userid:
  5917. description: 所属机构 - 所属母账户的UserID
  5918. type: string
  5919. username:
  5920. description: 用户名称
  5921. type: string
  5922. type: object
  5923. models.Ermcp3ParamChangeApp:
  5924. properties:
  5925. aftervalue:
  5926. description: 变更后
  5927. type: number
  5928. applicationid:
  5929. description: 申请ID(619+Unix秒时间戳(10位)+xxxxxx)
  5930. type: string
  5931. applyid:
  5932. description: 申请人
  5933. type: string
  5934. applyname:
  5935. description: 申请人名称(代码)
  5936. type: string
  5937. applyremark:
  5938. description: 申请备注
  5939. type: string
  5940. applysrc:
  5941. description: 申请来源 - 1:管理端 2:终端
  5942. type: integer
  5943. applystatus:
  5944. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  5945. type: integer
  5946. applytime:
  5947. description: 申请时间
  5948. type: string
  5949. areauserid:
  5950. description: 所属机构用户ID
  5951. type: integer
  5952. auditid:
  5953. description: 审核人
  5954. type: string
  5955. auditname:
  5956. description: 审核人名称(代码)
  5957. type: string
  5958. auditremark:
  5959. description: 审核备注
  5960. type: string
  5961. auditsrc:
  5962. description: 审核来源 - 1:管理端 2:终端
  5963. type: integer
  5964. audittime:
  5965. description: 审核时间
  5966. type: string
  5967. audittradedate:
  5968. description: 审核交易日(yyyyMMdd)
  5969. type: string
  5970. beforevalue:
  5971. description: 变更前
  5972. type: number
  5973. deliverygoodscode:
  5974. description: 品种代码
  5975. type: string
  5976. deliverygoodsid:
  5977. description: 品种id
  5978. type: integer
  5979. deliverygoodsname:
  5980. description: 品种名称
  5981. type: string
  5982. middlegoodscode:
  5983. description: 套保品种代码
  5984. type: string
  5985. middlegoodsid:
  5986. description: 套保品种ID [ParamChangeType = 2,3,4]
  5987. type: integer
  5988. middlegoodsname:
  5989. description: 套保品种名称
  5990. type: string
  5991. operatetype:
  5992. description: 操作类型 - 1:新增 2:修改
  5993. type: integer
  5994. paramchangetype:
  5995. description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  5996. type: integer
  5997. wrstandardcode:
  5998. description: 现货商品代码
  5999. type: string
  6000. wrstandardid:
  6001. description: 现货商品ID [ParamChangeType = 1,2,3]
  6002. type: integer
  6003. wrstandardname:
  6004. description: 现货商品名称
  6005. type: string
  6006. type: object
  6007. models.Ermcp3RootUserAccount:
  6008. properties:
  6009. accountname:
  6010. description: 账户名称(机构名称)
  6011. type: string
  6012. accountstatus:
  6013. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6014. type: integer
  6015. applysrc:
  6016. description: 申请来源 - 1:管理端 2:终端
  6017. type: integer
  6018. auditremark:
  6019. description: 审核备注
  6020. type: string
  6021. auditsrc:
  6022. description: 审核来源 - 1:管理端 2:终端
  6023. type: integer
  6024. audittime:
  6025. description: 审核时间
  6026. type: string
  6027. audituserid:
  6028. description: 审核人
  6029. type: integer
  6030. broker:
  6031. description: 所属经纪人ID
  6032. type: integer
  6033. canceltime:
  6034. description: 销户时间
  6035. type: string
  6036. canceluserid:
  6037. description: 销户人
  6038. type: integer
  6039. canrecommend:
  6040. description: 是否可推荐 - 0:不可 1;可
  6041. type: integer
  6042. createtime:
  6043. description: 创建时间
  6044. type: string
  6045. creatorid:
  6046. description: 创建人
  6047. type: integer
  6048. hasauth:
  6049. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  6050. type: integer
  6051. isanonymous:
  6052. description: 是否匿名下单 - 0:否 1:是
  6053. type: integer
  6054. maxinvestornum:
  6055. description: 最大用户数(经纪会员下投资者个数)
  6056. type: integer
  6057. memberuserid:
  6058. description: 所属会员ID
  6059. type: integer
  6060. modifierid:
  6061. description: 修改人
  6062. type: integer
  6063. modifyremark:
  6064. description: 变更备注
  6065. type: string
  6066. modifystatus:
  6067. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  6068. type: integer
  6069. modifytime:
  6070. description: 修改时间
  6071. type: string
  6072. parenttopuser:
  6073. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  6074. type: string
  6075. parentuserid:
  6076. description: 所属机构ID
  6077. type: integer
  6078. reckonaccountid:
  6079. description: 默认结算资金账号ID(机构分润使用) 作废
  6080. type: integer
  6081. refercount:
  6082. description: 推荐总人数
  6083. type: integer
  6084. refereeuserid:
  6085. description: 推荐人ID
  6086. type: integer
  6087. refernum:
  6088. description: 推荐码
  6089. type: string
  6090. rootuserid:
  6091. description: 根用户ID
  6092. type: integer
  6093. subaccountlevel:
  6094. description: 子账户层数
  6095. type: integer
  6096. subarealevelpath:
  6097. description: 子机构层级路径(逗号分隔,首尾加逗号)
  6098. type: string
  6099. userid:
  6100. description: 用户ID
  6101. type: integer
  6102. usertype:
  6103. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6104. type: integer
  6105. type: object
  6106. models.Ermcp3SCMiddleGoods:
  6107. properties:
  6108. biztype:
  6109. description: 业务类型 1:套保 2:套利
  6110. type: integer
  6111. contractno:
  6112. description: 合同编号
  6113. type: string
  6114. contracttype:
  6115. description: 合同类型 1:采购 -1:销售
  6116. type: integer
  6117. customername:
  6118. description: 对手手名称
  6119. type: string
  6120. customeruserid:
  6121. description: 对手id
  6122. type: integer
  6123. deliverygoodscode:
  6124. description: 现货品种代码
  6125. type: string
  6126. deliverygoodsid:
  6127. description: 现货品种ID
  6128. type: integer
  6129. deliverygoodsname:
  6130. description: 现货品种名称
  6131. type: string
  6132. enumdicname:
  6133. description: 现货单位名称
  6134. type: string
  6135. middlegoodsid:
  6136. description: 套保品种ID
  6137. type: integer
  6138. middlegoodspricedqty3:
  6139. description: 应套保数量 = MiddleGoodsPricedQty2 * 套保比率
  6140. type: number
  6141. needhedgeratio:
  6142. description: 套保比例
  6143. type: number
  6144. pricedqty:
  6145. description: 已定价量
  6146. type: number
  6147. relatedmiddlegoodsqty:
  6148. description: 已关联量(套保品种)(期货)
  6149. type: number
  6150. spotcontractid:
  6151. description: 合同编号
  6152. type: string
  6153. unitid:
  6154. description: 现货单位id
  6155. type: integer
  6156. userid:
  6157. description: 用户id
  6158. type: integer
  6159. vatrate:
  6160. description: 增值税率
  6161. type: number
  6162. wrstandardcode:
  6163. description: 现货商品代码
  6164. type: string
  6165. wrstandardid:
  6166. description: 现货商品id
  6167. type: integer
  6168. wrstandardname:
  6169. description: 现货商品名称
  6170. type: string
  6171. type: object
  6172. models.Ermcp3SCMiddleGoodsReport:
  6173. properties:
  6174. begindate:
  6175. description: 开始交易日
  6176. type: string
  6177. contractno:
  6178. description: 合同编号
  6179. type: string
  6180. contracttype:
  6181. description: 合同类型 1:采购 -1:销售
  6182. type: integer
  6183. convertratio:
  6184. description: 折算系数
  6185. type: number
  6186. cycletime:
  6187. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6188. type: string
  6189. cycletype:
  6190. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6191. type: integer
  6192. deliverygoodscode:
  6193. description: 品种代码
  6194. type: string
  6195. deliverygoodsid:
  6196. description: 现货品种ID
  6197. type: integer
  6198. deliverygoodsname:
  6199. description: 品种名称
  6200. type: string
  6201. diffprice:
  6202. description: 现期价格差 = 今日点价登记均价(基价) - 今日期货成交均价
  6203. type: number
  6204. diffqty:
  6205. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  6206. type: number
  6207. enddate:
  6208. description: 结束交易日
  6209. type: string
  6210. hedgeplanqty:
  6211. description: 套保计划量 = TodayPricedQty * 折算系数 * (1/(1+增值税率)) * 套保比例
  6212. type: number
  6213. matchname:
  6214. description: 交易对手方(个人:用户名称 企业:简称)
  6215. type: string
  6216. middlegoodscode:
  6217. description: 套保品种代码
  6218. type: string
  6219. middlegoodsid:
  6220. description: 套保品种ID
  6221. type: integer
  6222. middlegoodsname:
  6223. description: 套保品种名称
  6224. type: string
  6225. middlegoodspricedqty:
  6226. description: 已定价量(套保品种 - 税前) = PricedQty * 折算系数
  6227. type: number
  6228. middlegoodspricedqty2:
  6229. description: 已定价量(套保品种- 税后) = MiddleGoodsPricedQty * (1/(1+增值税率))
  6230. type: number
  6231. middlegoodspricedqty3:
  6232. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  6233. type: number
  6234. needhedgeratio:
  6235. description: 套保系数
  6236. type: number
  6237. pricedamount:
  6238. description: 已定价额(现货)
  6239. type: number
  6240. pricedamount2:
  6241. description: 已定价额(现货-基价额)
  6242. type: number
  6243. pricedqty:
  6244. description: 已定价量(现货)
  6245. type: number
  6246. reckondate:
  6247. description: 日照时期(yyyyMMdd)
  6248. type: string
  6249. relatedmiddlegoodsamount:
  6250. description: 已关联额(期货)
  6251. type: number
  6252. relatedmiddlegoodsqty:
  6253. description: 已关联量(套保品种)(期货)
  6254. type: number
  6255. spotcontractid:
  6256. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  6257. type: string
  6258. todayavgfutuprice:
  6259. description: 今日期货成交均价 = TodayRelatedMiddleGoodsAmount /TodayRelatedMiddleGoodsQty
  6260. type: number
  6261. todayavgprice:
  6262. description: 今日定价均价 = TodayPricedAmount / TodayPricedQty
  6263. type: number
  6264. todayavgprice2:
  6265. description: 今日点价登记均价(基价) = TodayPricedAmount2 / TodayPricedQty
  6266. type: number
  6267. todaypricedamount:
  6268. description: 今日定价额(现货)
  6269. type: number
  6270. todaypricedamount2:
  6271. description: 今日定价额(现货-基价额)
  6272. type: number
  6273. todaypricedqty:
  6274. description: 今日定价量(现货)
  6275. type: number
  6276. todayrelatedmiddlegoodsamount:
  6277. description: 今日关联额(期货)
  6278. type: number
  6279. todayrelatedmiddlegoodsqty:
  6280. description: 今日关联量(期货)
  6281. type: number
  6282. updatetime:
  6283. description: 更新时间
  6284. type: string
  6285. userid:
  6286. description: 合同所属用户id
  6287. type: integer
  6288. vatrate:
  6289. description: 增值税率
  6290. type: number
  6291. wrstandardcode:
  6292. description: 商品(品类) 代码
  6293. type: string
  6294. wrstandardid:
  6295. description: 现货商品ID
  6296. type: integer
  6297. wrstandardname:
  6298. description: 商品(品类) 名称
  6299. type: string
  6300. type: object
  6301. models.Ermcp3SellBuyContract:
  6302. properties:
  6303. accountid:
  6304. description: 期货账户id
  6305. type: string
  6306. accountname:
  6307. description: 账户名称
  6308. type: string
  6309. attachment:
  6310. description: 附件
  6311. type: string
  6312. audittime:
  6313. description: 审核时间
  6314. type: string
  6315. biztype:
  6316. description: 业务类型 1-套保 2-套利
  6317. type: integer
  6318. brandname:
  6319. description: 品牌名称
  6320. type: string
  6321. contracctstatus:
  6322. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6323. type: integer
  6324. contractmargin:
  6325. description: 合同保证金
  6326. type: number
  6327. contractno:
  6328. description: 合同编号
  6329. type: string
  6330. contracttype:
  6331. description: 合同类型 1-采购, -1-销售
  6332. type: integer
  6333. convertfactor:
  6334. description: 标仓系数(品类)
  6335. type: number
  6336. createtime:
  6337. description: 创建时间
  6338. type: string
  6339. currencyid:
  6340. description: 币种id
  6341. type: integer
  6342. currencyname:
  6343. description: 币种名称
  6344. type: string
  6345. daikaiamount:
  6346. description: 应收(开)票额
  6347. type: number
  6348. deliveryenddate:
  6349. description: 交割结束日
  6350. type: string
  6351. deliverygoodscode:
  6352. description: 现货品种代码
  6353. type: string
  6354. deliverygoodsid:
  6355. description: 现货商品ID
  6356. type: integer
  6357. deliverygoodsname:
  6358. description: 现货品种名称
  6359. type: string
  6360. deliverystartdate:
  6361. description: 交割开始日
  6362. type: string
  6363. enddate:
  6364. description: 点价结束日
  6365. type: string
  6366. enumdicname:
  6367. description: 单位名称
  6368. type: string
  6369. goodscode:
  6370. description: 点价商品代码
  6371. type: string
  6372. goodsid:
  6373. description: 点价商品ID
  6374. type: integer
  6375. goodsname:
  6376. description: 点价商品名称
  6377. type: string
  6378. invoiceamount:
  6379. description: 已开票额
  6380. type: number
  6381. loanamount:
  6382. description: 贷款总额=已定价额+调整金额
  6383. type: number
  6384. margin:
  6385. description: 保证金
  6386. type: number
  6387. meruserid:
  6388. description: 跟单员id
  6389. type: integer
  6390. meruserlogincode:
  6391. description: 跟单员登录代码
  6392. type: string
  6393. merusername:
  6394. description: 跟单员名称
  6395. type: string
  6396. nickname:
  6397. description: 账户昵称
  6398. type: string
  6399. payamount:
  6400. description: 已收付额(收款或付款)
  6401. type: number
  6402. preinvoiceamount:
  6403. description: 预收(开)票额
  6404. type: number
  6405. prepayamount:
  6406. description: 预收付额
  6407. type: number
  6408. price:
  6409. description: 价格
  6410. type: number
  6411. pricedamount:
  6412. description: 已定价额
  6413. type: number
  6414. pricedavg:
  6415. description: 已点均价
  6416. type: number
  6417. pricedqty:
  6418. description: 已定价量
  6419. type: number
  6420. pricemove:
  6421. description: 升贴水
  6422. type: number
  6423. pricetype:
  6424. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  6425. type: integer
  6426. producttype:
  6427. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6428. type: integer
  6429. qty:
  6430. description: 合同量
  6431. type: number
  6432. reckonadjustamount:
  6433. description: 调整金额
  6434. type: number
  6435. reckonedamount:
  6436. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  6437. type: number
  6438. reckonotheramount:
  6439. description: 其它费用
  6440. type: number
  6441. reckonrealqty:
  6442. description: 已确定量
  6443. type: number
  6444. remark:
  6445. description: 备注
  6446. type: string
  6447. saleuserid:
  6448. description: 业务员id
  6449. type: integer
  6450. saleuserlogincode:
  6451. description: 业务员登录代码
  6452. type: string
  6453. saleusername:
  6454. description: 业务员名称
  6455. type: string
  6456. spotcontractid:
  6457. description: 合同ID
  6458. type: string
  6459. spotgoodsbrandid:
  6460. description: 现货品牌ID(DGFactoryItem表的ID)
  6461. type: integer
  6462. spotgoodsdesc:
  6463. description: 商品型号(商品规格)
  6464. type: string
  6465. startdate:
  6466. description: 点价开始日
  6467. type: string
  6468. subjectid:
  6469. description: 交易主体ID
  6470. type: string
  6471. subjectname:
  6472. description: 交易主体名称
  6473. type: string
  6474. totalamount:
  6475. description: 合计总额
  6476. type: number
  6477. tradeuserid:
  6478. description: 交易员id
  6479. type: integer
  6480. tradeuserlogincode:
  6481. description: 交易员登录代码
  6482. type: string
  6483. tradeusername:
  6484. description: 交易员名称
  6485. type: string
  6486. unpayamount:
  6487. description: 应收付款额(应支付或应收款)
  6488. type: number
  6489. unpricedqty:
  6490. description: 未定价量
  6491. type: number
  6492. unsureqty:
  6493. description: 未确定量
  6494. type: number
  6495. userid:
  6496. description: 机构ID
  6497. type: integer
  6498. vatrate:
  6499. description: 增值税率
  6500. type: number
  6501. wrstandardcode:
  6502. description: 品类代码
  6503. type: string
  6504. wrstandardid:
  6505. description: 品类ID
  6506. type: integer
  6507. wrstandardname:
  6508. description: 品类名称
  6509. type: string
  6510. type: object
  6511. models.Ermcp3SpotGoodsPrice:
  6512. properties:
  6513. areauserid:
  6514. description: 所属机构id
  6515. type: integer
  6516. brandname:
  6517. description: 品牌名称
  6518. type: string
  6519. currencyid:
  6520. description: 报价货币ID
  6521. type: integer
  6522. currencyname:
  6523. description: 币种名称
  6524. type: string
  6525. deliverygoodscode:
  6526. description: 现货商品代码
  6527. type: string
  6528. deliverygoodsid:
  6529. description: 现货商品id
  6530. type: integer
  6531. deliverygoodsname:
  6532. description: 现货商品名称
  6533. type: string
  6534. enumdicname:
  6535. description: 现货商品单位名称
  6536. type: string
  6537. gbenumdicname:
  6538. description: 品类单位名称
  6539. type: string
  6540. gmunitid:
  6541. description: 品类单位id
  6542. type: integer
  6543. isvalid:
  6544. description: 是否有效 - 0:无效 1:有效
  6545. type: integer
  6546. operateid:
  6547. description: 最后操作人
  6548. type: integer
  6549. operatesrc:
  6550. description: 最后操作来源 - 1:管理端 2:终端
  6551. type: integer
  6552. operatetime:
  6553. description: 最后操作时间
  6554. type: string
  6555. operatorname:
  6556. description: 操作人名称
  6557. type: string
  6558. spotgoodsbrandid:
  6559. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6560. type: integer
  6561. spotgoodsprice:
  6562. description: 现货价格
  6563. type: number
  6564. tradedate:
  6565. description: 交易日(yyyyMMdd)
  6566. type: string
  6567. unitid:
  6568. description: 现货商品单位id
  6569. type: integer
  6570. wrstandardcode:
  6571. description: 品类代码
  6572. type: string
  6573. wrstandardid:
  6574. description: 现货品类ID(通用则为0)
  6575. type: integer
  6576. wrstandardname:
  6577. description: 品类名称
  6578. type: string
  6579. type: object
  6580. models.Ermcp3SpotGoodsPriceLog:
  6581. properties:
  6582. areauserid:
  6583. description: 所属机构id
  6584. type: integer
  6585. brandname:
  6586. description: 品牌名称
  6587. type: string
  6588. currencyid:
  6589. description: 报价货币ID
  6590. type: integer
  6591. deliverygoodscode:
  6592. description: 现货商品代码
  6593. type: string
  6594. deliverygoodsid:
  6595. description: 现货商品id
  6596. type: integer
  6597. deliverygoodsname:
  6598. description: 现货商品名称
  6599. type: string
  6600. enumdicname:
  6601. description: 现货商品单位名称
  6602. type: string
  6603. gbenumdicname:
  6604. description: 品类单位名称
  6605. type: string
  6606. gmunitid:
  6607. description: 品类单位id
  6608. type: integer
  6609. logid:
  6610. description: 日志id
  6611. type: integer
  6612. operateid:
  6613. description: 最后操作人
  6614. type: integer
  6615. operatesrc:
  6616. description: 最后操作来源 - 1:管理端 2:终端
  6617. type: integer
  6618. operatetime:
  6619. description: 最后操作时间
  6620. type: string
  6621. operatorname:
  6622. description: 操作人名称
  6623. type: string
  6624. spotgoodsbrandid:
  6625. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6626. type: integer
  6627. spotgoodsprice:
  6628. description: 现货价格
  6629. type: number
  6630. tradedate:
  6631. description: 交易日(yyyyMMdd)
  6632. type: string
  6633. unitid:
  6634. description: 现货商品单位id
  6635. type: integer
  6636. wrstandardcode:
  6637. description: 品类代码
  6638. type: string
  6639. wrstandardid:
  6640. description: 现货品类ID(通用则为0)
  6641. type: integer
  6642. wrstandardname:
  6643. description: 品类名称
  6644. type: string
  6645. type: object
  6646. models.Ermcp3SubTaaccount:
  6647. properties:
  6648. accountid:
  6649. description: 资金账户ID
  6650. type: integer
  6651. parentaccountcode:
  6652. description: 所属根账号代码(母账号代码)
  6653. type: string
  6654. parentaccountid:
  6655. description: 所属根账号(母账号)
  6656. type: integer
  6657. taname:
  6658. description: 资金账号名称
  6659. type: string
  6660. tradestatus:
  6661. description: 交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)
  6662. type: integer
  6663. username:
  6664. description: 交易用户
  6665. type: string
  6666. type: object
  6667. models.Ermcp3TaFutuReDataReport:
  6668. properties:
  6669. accountid:
  6670. description: 交易账户
  6671. type: integer
  6672. accountname:
  6673. description: 交易账号名称
  6674. type: string
  6675. agreeunit:
  6676. description: 商品合约单位
  6677. type: number
  6678. begindate:
  6679. description: 开始交易日
  6680. type: string
  6681. buyorsell:
  6682. description: 持仓方向
  6683. type: integer
  6684. charge:
  6685. description: 手续费
  6686. type: number
  6687. closeavgprice:
  6688. description: 平仓均价
  6689. type: number
  6690. closepl:
  6691. description: 平仓损益
  6692. type: number
  6693. currencyid:
  6694. description: 结算币种ID
  6695. type: integer
  6696. currencyname:
  6697. description: 币种名称
  6698. type: string
  6699. cycletime:
  6700. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6701. type: string
  6702. cycletype:
  6703. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6704. type: integer
  6705. enddate:
  6706. description: 结束交易日
  6707. type: string
  6708. enumdicname:
  6709. description: 单位名称
  6710. type: string
  6711. floatpl:
  6712. description: 浮动损益
  6713. type: number
  6714. goodscode:
  6715. description: 交易合约代码
  6716. type: string
  6717. goodsgroupid:
  6718. description: 交易品种
  6719. type: integer
  6720. goodsgroupname:
  6721. description: 交易品种名称
  6722. type: string
  6723. goodsgroupspotqty:
  6724. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  6725. type: number
  6726. goodsid:
  6727. description: 交易合约
  6728. type: integer
  6729. goodsname:
  6730. description: 交易合约名称
  6731. type: string
  6732. goodunitid:
  6733. description: 交易合约单位id
  6734. type: integer
  6735. holdamount:
  6736. description: 期末持仓额
  6737. type: number
  6738. holdqty:
  6739. description: 期末持仓量
  6740. type: number
  6741. lastholdamount:
  6742. description: 当前持仓额
  6743. type: number
  6744. lastprice:
  6745. description: 最新价
  6746. type: number
  6747. middlegoodsid:
  6748. description: 套保品种id
  6749. type: integer
  6750. middlegoodsname:
  6751. description: 套保商品名称
  6752. type: string
  6753. middlegoodsqty:
  6754. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  6755. type: number
  6756. middlgoodscode:
  6757. description: 套保商品代码
  6758. type: string
  6759. openamount:
  6760. description: 期末开仓额
  6761. type: number
  6762. openavgprice:
  6763. description: 开仓均价
  6764. type: number
  6765. oriholdamount:
  6766. description: 期初持仓额
  6767. type: number
  6768. oriholdqty:
  6769. description: 期初持仓量
  6770. type: number
  6771. oriopenamount:
  6772. description: 期初开仓额
  6773. type: number
  6774. outergroupcode:
  6775. description: 交易品种代码
  6776. type: string
  6777. qtydecimalplace:
  6778. description: 成交量小数位
  6779. type: integer
  6780. reckondate:
  6781. description: 日照时期(yyyyMMdd)
  6782. type: string
  6783. reckonholdamount:
  6784. description: 结算持仓额
  6785. type: number
  6786. reckonpl:
  6787. description: 结算损益
  6788. type: number
  6789. reckonpl2:
  6790. description: 结算逐笔盈亏
  6791. type: number
  6792. reckonprice:
  6793. description: 结算价
  6794. type: number
  6795. relateduserid:
  6796. description: 账户关联用户ID
  6797. type: integer
  6798. todaycloseamount:
  6799. description: 今平仓额
  6800. type: number
  6801. todaycloseqty:
  6802. description: 今平仓量
  6803. type: number
  6804. todaygoodsgroupspotqty:
  6805. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  6806. type: number
  6807. todaymiddlegoodsqty:
  6808. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  6809. type: number
  6810. todayopenamount:
  6811. description: 今开仓额
  6812. type: number
  6813. todayopenqty:
  6814. description: 今开仓量
  6815. type: number
  6816. userid:
  6817. description: 账户所属用户ID
  6818. type: integer
  6819. type: object
  6820. models.Ermcp3TradeLinkDetail:
  6821. properties:
  6822. accountid:
  6823. description: 资金账号
  6824. type: integer
  6825. agreeunit:
  6826. description: 合约乘数
  6827. type: number
  6828. areauserid:
  6829. description: 所属机构
  6830. type: string
  6831. bizsubjectid:
  6832. description: 归属业务部门ID - SubjectID
  6833. type: string
  6834. buyorsell:
  6835. description: 方向 - 0:买 1:卖
  6836. type: integer
  6837. channelbuildtype:
  6838. description: 委托单据类型 0:无 1:建仓 2:平仓
  6839. type: integer
  6840. contractno:
  6841. description: 现货编号 (合同编号)
  6842. type: string
  6843. convertratio:
  6844. description: 折算系数
  6845. type: number
  6846. createtime:
  6847. description: 关联时间 | 创建时间
  6848. type: string
  6849. creatorid:
  6850. description: 创建人ID
  6851. type: string
  6852. creatorsrc:
  6853. description: 创建人来源 - 1:管理端 2:终端 3:交易
  6854. type: integer
  6855. enumdicname:
  6856. description: 单位名称
  6857. type: string
  6858. goodscode:
  6859. description: 合约代码
  6860. type: string
  6861. goodsgroupid:
  6862. description: 对冲品种ID[期货合约商品组ID]
  6863. type: integer
  6864. goodsid:
  6865. description: 商品ID
  6866. type: integer
  6867. goodsname:
  6868. description: 合约名称
  6869. type: string
  6870. hedgeflag:
  6871. description: 业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  6872. type: integer
  6873. linkdetailid:
  6874. description: 关联ID(614+Unix秒时间戳(10位)+xxxxxx)
  6875. type: string
  6876. linkstatus:
  6877. description: 关联状态 - 1:成功 2:失败
  6878. type: integer
  6879. middlegoodscode:
  6880. description: 套保品种代码
  6881. type: string
  6882. middlegoodsid:
  6883. description: 套保品种ID
  6884. type: integer
  6885. middlegoodsname:
  6886. description: 套保品种名称
  6887. type: string
  6888. relatedlot:
  6889. description: 关联手数
  6890. type: number
  6891. relatedmode:
  6892. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  6893. type: integer
  6894. relatedqty:
  6895. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  6896. type: number
  6897. retcode:
  6898. description: 返回码
  6899. type: integer
  6900. saleuserid:
  6901. description: 业务员ID
  6902. type: string
  6903. spotcontractid:
  6904. description: 现货合同\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]
  6905. type: string
  6906. taname:
  6907. description: 期货账户
  6908. type: string
  6909. tradedate:
  6910. description: 关联交易日(yyyyMMdd)
  6911. type: string
  6912. tradeid:
  6913. description: 期货订单号 | 内部成交单ID
  6914. type: string
  6915. tradelot:
  6916. description: 成交数量 | 成交手数
  6917. type: integer
  6918. tradeprice:
  6919. description: 成交价格
  6920. type: number
  6921. tradetime:
  6922. description: 期货成交时间
  6923. type: string
  6924. tradetradedate:
  6925. description: 成交交易日(yyyyMMdd)
  6926. type: string
  6927. username:
  6928. description: 用户名称
  6929. type: string
  6930. type: object
  6931. models.Ermcp3Wrstandard:
  6932. properties:
  6933. areauserid:
  6934. description: 所属机构
  6935. type: integer
  6936. cantrade:
  6937. description: 是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)
  6938. type: integer
  6939. convertfactor:
  6940. description: 标仓系数
  6941. type: number
  6942. createtime:
  6943. description: 创建时间
  6944. type: string
  6945. creatorid:
  6946. description: 创建人
  6947. type: integer
  6948. deliverygoodsid:
  6949. description: 现货品种ID
  6950. type: integer
  6951. enumdicname:
  6952. description: 品类单位名称
  6953. type: string
  6954. isvalid:
  6955. description: 是否有效 0-无效(停用) 1-有效(正常)
  6956. type: integer
  6957. minivalue:
  6958. description: 最小变动值
  6959. type: integer
  6960. minivaluedp:
  6961. description: 最小变动值小数位
  6962. type: integer
  6963. realminivalue:
  6964. description: 实际最小变动值
  6965. type: integer
  6966. realminivaluedp:
  6967. description: 实际最小变动值小数位
  6968. type: integer
  6969. remark:
  6970. description: 备注
  6971. type: string
  6972. unitid:
  6973. description: 品类单位ID
  6974. type: integer
  6975. updatetime:
  6976. description: 更新时间
  6977. type: string
  6978. wrstandardcode:
  6979. description: 品类代码
  6980. type: string
  6981. wrstandardid:
  6982. description: 品类ID(SEQ_WRSTANDARD)
  6983. type: integer
  6984. wrstandardname:
  6985. description: 品类名称
  6986. type: string
  6987. type: object
  6988. models.ErmcpBizGroupEx:
  6989. properties:
  6990. acclist:
  6991. description: 账号列表
  6992. items:
  6993. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  6994. type: array
  6995. bizgroupid:
  6996. description: 业务分组id
  6997. type: integer
  6998. biztype:
  6999. description: 业务类型 1-套保 2-套利
  7000. type: integer
  7001. wrlist:
  7002. description: 现货商品表
  7003. items:
  7004. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  7005. type: array
  7006. type: object
  7007. models.ErmcpBizGroupSpotGoods:
  7008. properties:
  7009. areauserid:
  7010. description: 所属机构id
  7011. type: integer
  7012. bizgroupid:
  7013. description: 分组id
  7014. type: integer
  7015. biztype:
  7016. description: 业务类型 1-套保 2-套利
  7017. type: integer
  7018. deliverygoodscode:
  7019. description: 现货商品代码
  7020. type: string
  7021. deliverygoodsid:
  7022. description: 现货商品id
  7023. type: integer
  7024. deliverygoodsname:
  7025. description: 现货商品名称
  7026. type: string
  7027. unitid:
  7028. description: 现货商品单位id
  7029. type: integer
  7030. type: object
  7031. models.ErmcpBizGroupTaAccount:
  7032. properties:
  7033. accountid:
  7034. description: 账号id
  7035. type: integer
  7036. accountname:
  7037. description: 账号名称
  7038. type: string
  7039. areauserid:
  7040. description: 所属机构id
  7041. type: integer
  7042. bizgroupid:
  7043. description: 业务分组id
  7044. type: integer
  7045. ismain:
  7046. description: 是否主账号 1-是 0-否
  7047. type: integer
  7048. type: object
  7049. models.ErmcpDGFactoryItem:
  7050. properties:
  7051. areauserid:
  7052. description: 用户id
  7053. type: integer
  7054. deliverygoodsid:
  7055. description: 现货品种ID
  7056. type: integer
  7057. dgfactoryitemid:
  7058. description: 选择项ID(SEQ_DGFACTORYITEM)
  7059. type: integer
  7060. dgfactoryitemtypeid:
  7061. description: 要素项类型
  7062. type: integer
  7063. dgfactoryitemvalue:
  7064. description: 要素项值(类型为仓库时填写仓库名称)
  7065. type: string
  7066. isvalid:
  7067. description: 是否有效 - 0:无效 1:有效
  7068. type: integer
  7069. orderindex:
  7070. description: 顺序
  7071. type: integer
  7072. warehouseid:
  7073. description: 仓库ID(类型为仓库时填写)
  7074. type: integer
  7075. type: object
  7076. models.ErmcpDeliveryGoods:
  7077. properties:
  7078. agreeunit:
  7079. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  7080. type: integer
  7081. areauserid:
  7082. description: 所属机构
  7083. type: integer
  7084. auditflag:
  7085. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  7086. type: integer
  7087. categoryid:
  7088. description: 类别ID(SEQ_WRCATEGORY)
  7089. type: integer
  7090. deliverygoodscode:
  7091. description: 现货品种代码
  7092. type: string
  7093. deliverygoodsid:
  7094. description: 现货品种ID(SEQ_DELIVERYGOODS)
  7095. type: integer
  7096. deliverygoodsname:
  7097. description: 现货品种名称
  7098. type: string
  7099. deliverygoodstype:
  7100. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  7101. type: integer
  7102. dgstatus:
  7103. description: 品种状态 - 作废 - 0:未激活 1:正常
  7104. type: integer
  7105. enumdicname:
  7106. description: 现货品种单位名称
  7107. type: string
  7108. goodsunitid:
  7109. description: 现货品种单位ID
  7110. type: integer
  7111. isvalid:
  7112. description: 是否有效 - 0:无效 1:有效
  7113. type: integer
  7114. qtydecimalplace:
  7115. description: 成交量小数位
  7116. type: integer
  7117. remark:
  7118. description: 备注
  7119. type: string
  7120. standardqty:
  7121. description: 标准数量(库位数量) [标准品特有]
  7122. type: integer
  7123. standardqtyrange:
  7124. description: 标准数量偏差范围 [标准品特有]
  7125. type: integer
  7126. type: object
  7127. models.ErmcpFuturesCompany:
  7128. properties:
  7129. brokerid:
  7130. description: 经纪公司代码
  7131. type: string
  7132. channeladdress:
  7133. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  7134. type: string
  7135. channelid:
  7136. description: 对冲渠道ID
  7137. type: string
  7138. createtime:
  7139. description: 创建时间
  7140. type: string
  7141. creatorid:
  7142. description: 创建人
  7143. type: string
  7144. fcid:
  7145. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  7146. type: integer
  7147. fcname:
  7148. description: 期货公司名称
  7149. type: string
  7150. isvalid:
  7151. description: 是否有效 - 0:无效 1:有效
  7152. type: integer
  7153. mhpaddress:
  7154. description: MHP服务地址(IP:Port)
  7155. type: string
  7156. riskrulegroupid:
  7157. description: 风控规则组ID
  7158. type: string
  7159. tradefeetmpid:
  7160. description: 手续费模板ID[TradeConfigTmpType为2]
  7161. type: string
  7162. trademargintmpid:
  7163. description: 保证金模板ID [TradeConfigTmpType为1]
  7164. type: string
  7165. traderatetmpid:
  7166. description: 汇率模板ID[TradeConfigTmpType为3]
  7167. type: string
  7168. updatetime:
  7169. description: 更新时间
  7170. type: string
  7171. updatorid:
  7172. description: 更新人
  7173. type: string
  7174. type: object
  7175. models.ErmcpGGConvertCfg:
  7176. properties:
  7177. convertratio:
  7178. description: 折算系数
  7179. type: number
  7180. destgoodsgroupid:
  7181. description: 目标品种ID
  7182. type: integer
  7183. dstcode:
  7184. description: 目录品种代码
  7185. type: string
  7186. dstexchangecode:
  7187. description: 目标期货交易所
  7188. type: string
  7189. dstname:
  7190. description: 目标品种名称
  7191. type: string
  7192. dstunitid:
  7193. description: 目标品种单位ID
  7194. type: integer
  7195. dstunitidname:
  7196. description: 目标品种单位名称
  7197. type: string
  7198. modifytime:
  7199. description: 修改时间
  7200. type: string
  7201. srccode:
  7202. description: 源品种代码
  7203. type: string
  7204. srcexchangecode:
  7205. description: 源期货交易所
  7206. type: string
  7207. srcgoodsgroupid:
  7208. description: 源品种ID
  7209. type: integer
  7210. srcname:
  7211. description: 源品种名称
  7212. type: string
  7213. srcunitid:
  7214. description: 源品种单位ID
  7215. type: integer
  7216. srcunitidname:
  7217. description: 源品种单位名称
  7218. type: string
  7219. type: object
  7220. models.ErmcpGoods:
  7221. properties:
  7222. agreeunit:
  7223. description: 合约单位
  7224. type: number
  7225. areauserid:
  7226. description: 所属机构
  7227. type: integer
  7228. auditaccountid:
  7229. description: 审核操作员账号
  7230. type: integer
  7231. audittime:
  7232. description: 审核时间
  7233. type: string
  7234. cancelaccountid:
  7235. description: 注销操作员账号
  7236. type: integer
  7237. canceltime:
  7238. description: 注销时间
  7239. type: string
  7240. closepricemode:
  7241. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7242. type: integer
  7243. closepriceparam:
  7244. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  7245. type: number
  7246. createtime:
  7247. description: 创建时间
  7248. type: string
  7249. creatorid:
  7250. description: 创建人
  7251. type: integer
  7252. currencyid:
  7253. description: 报价货币ID
  7254. type: integer
  7255. cutmode:
  7256. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  7257. type: integer
  7258. decimalplace:
  7259. description: 报价小数位
  7260. type: integer
  7261. delistingdate:
  7262. description: 商品退市时间(状态:退市) -- 已作废
  7263. type: string
  7264. delistingmode:
  7265. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  7266. type: integer
  7267. deliveryflag:
  7268. description: 交割标志 - 0:不可交割 1:可交割
  7269. type: integer
  7270. enumdicname:
  7271. description: 单位名称
  7272. type: string
  7273. forceclosemode:
  7274. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  7275. type: integer
  7276. forceclosevalue:
  7277. description: 定期强平参数 [收益权]
  7278. type: integer
  7279. goodscode:
  7280. description: 商品代码(内部)
  7281. type: string
  7282. goodscurrencyid:
  7283. description: 合约货币ID
  7284. type: integer
  7285. goodsgroupid:
  7286. description: 所属商品组ID
  7287. type: integer
  7288. goodsid:
  7289. description: 商品ID(自增ID SEQ_GOODS)
  7290. type: integer
  7291. goodsname:
  7292. description: 商品名称
  7293. type: string
  7294. goodsquotetype:
  7295. description: '合约报价类型: 1-直接报价 2-间接报价'
  7296. type: integer
  7297. goodsstatus:
  7298. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7299. type: integer
  7300. goodstradetype:
  7301. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  7302. type: integer
  7303. goodunitid:
  7304. description: 报价单位ID
  7305. type: integer
  7306. hasquoter:
  7307. description: 是否有报价商 - 0:无报价商 1:有报价商
  7308. type: integer
  7309. hqprotecttime:
  7310. description: 行情保护时间(秒)
  7311. type: integer
  7312. innerdealmode:
  7313. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7314. type: integer
  7315. isbuylimited:
  7316. description: 是否限制建仓量 - 0:不限制 1:限制
  7317. type: integer
  7318. isvisible:
  7319. description: 游客是否可见 - 0:不可见 1:可见
  7320. type: integer
  7321. lasttradedate:
  7322. description: 最后交易日期(状态:待退市)
  7323. type: string
  7324. listingdate:
  7325. description: 交易开始日期
  7326. type: string
  7327. marketid:
  7328. description: 所属市场ID
  7329. type: integer
  7330. modifierid:
  7331. description: 修改人
  7332. type: integer
  7333. modifystatus:
  7334. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  7335. type: integer
  7336. modifytime:
  7337. description: 修改时间
  7338. type: string
  7339. outerdealmode:
  7340. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7341. type: integer
  7342. outgoodscode:
  7343. description: 商品代码(外部)
  7344. type: string
  7345. pictureurl:
  7346. description: 商品图片
  7347. type: string
  7348. qtydecimalplace:
  7349. description: 成交量小数位
  7350. type: integer
  7351. quotegear:
  7352. description: 行情档位(1-10)
  7353. type: integer
  7354. quoteminunit:
  7355. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7356. type: integer
  7357. quoteshowtype:
  7358. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  7359. type: integer
  7360. quoteshowtypeinterval:
  7361. description: 行情报价间隔时间(秒)(成交价时为0)
  7362. type: integer
  7363. relatedgoodsid:
  7364. description: 关联参考商品ID
  7365. type: integer
  7366. remark:
  7367. description: 备注
  7368. type: string
  7369. trademode:
  7370. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  7371. type: integer
  7372. required:
  7373. - goodscode
  7374. - goodsid
  7375. - goodsname
  7376. - marketid
  7377. type: object
  7378. models.ErmcpGoodsBrand:
  7379. properties:
  7380. areauserid:
  7381. description: 所属机构
  7382. type: integer
  7383. brandid:
  7384. description: BrandID(SEQ_SPOTGOODSBRAND)
  7385. type: integer
  7386. brandname:
  7387. description: 品牌名称
  7388. type: string
  7389. createtime:
  7390. description: 创建时间
  7391. type: string
  7392. creatorid:
  7393. description: 创建人
  7394. type: integer
  7395. creatorsrc:
  7396. description: 创建人来源 - 1:管理端 2:终端
  7397. type: integer
  7398. deliverygoodsid:
  7399. description: 现货品种ID
  7400. type: integer
  7401. isvalid:
  7402. description: 是否有效 - 0:无效 1:有效
  7403. type: integer
  7404. updatetime:
  7405. description: 更新时间
  7406. type: string
  7407. updatorid:
  7408. description: 更新人
  7409. type: integer
  7410. updatorsrc:
  7411. description: 更新人来源 - 1:管理端 2:终端
  7412. type: integer
  7413. wrstandardid:
  7414. description: 现货商品ID
  7415. type: integer
  7416. type: object
  7417. models.ErmcpGoodsModel:
  7418. properties:
  7419. areauserid:
  7420. description: 所属机构
  7421. type: integer
  7422. convertfactor:
  7423. description: 标仓系数
  7424. type: number
  7425. createtime:
  7426. description: 创建时间
  7427. type: string
  7428. creatorid:
  7429. description: 创建人
  7430. type: integer
  7431. creatorsrc:
  7432. description: 创建人来源 - 1:管理端 2:终端
  7433. type: integer
  7434. deliverygoodsid:
  7435. description: 现货品种ID
  7436. type: integer
  7437. isvalid:
  7438. description: 是否有效 - 0:无效 1:有效
  7439. type: integer
  7440. modelid:
  7441. description: ModelID(SEQ_SPOTGOODSMODEL)
  7442. type: integer
  7443. modelname:
  7444. description: 型号名称
  7445. type: string
  7446. updatetime:
  7447. description: 更新时间
  7448. type: string
  7449. updatorid:
  7450. description: 更新人
  7451. type: integer
  7452. updatorsrc:
  7453. description: 更新人来源 - 1:管理端 2:终端
  7454. type: integer
  7455. wrstandardid:
  7456. description: 现货商品ID
  7457. type: integer
  7458. type: object
  7459. models.ErmcpHisExposure:
  7460. properties:
  7461. needhedgeexposoure:
  7462. description: 应套保敞口
  7463. type: number
  7464. reckondate:
  7465. description: 日照时期(yyyyMMdd)
  7466. type: string
  7467. totalexposure:
  7468. description: 总敞口
  7469. type: number
  7470. type: object
  7471. models.ErmcpLoginTaAccount:
  7472. properties:
  7473. accountid:
  7474. description: 账号id
  7475. type: integer
  7476. accountname:
  7477. description: 账号名称
  7478. type: string
  7479. type: object
  7480. models.ErmcpLoginUser:
  7481. properties:
  7482. acclist:
  7483. description: 关联资金账号
  7484. items:
  7485. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  7486. type: array
  7487. accountname:
  7488. description: 用户名称
  7489. type: string
  7490. clientroleid:
  7491. description: 角色id(usertype=2)
  7492. type: integer
  7493. createtime:
  7494. description: 创建时间
  7495. type: string
  7496. logincode:
  7497. description: 登录代码
  7498. type: string
  7499. loginid:
  7500. description: 登录id(LOGINID)
  7501. type: integer
  7502. loginname:
  7503. description: 登录名称(loginaccount表中的accountname字段)
  7504. type: string
  7505. loginstatus:
  7506. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  7507. type: integer
  7508. memberuserid:
  7509. description: 所属会员id
  7510. type: integer
  7511. mobile:
  7512. description: 手机号
  7513. type: string
  7514. modifytime:
  7515. description: 修改时间
  7516. type: string
  7517. password:
  7518. description: 密码(不可解密)
  7519. type: string
  7520. rolename:
  7521. description: 角色名称
  7522. type: string
  7523. rolestatus:
  7524. description: 角色状态 1-启用 2-停用
  7525. type: integer
  7526. roletype:
  7527. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  7528. type: string
  7529. userid:
  7530. description: 用户id
  7531. type: integer
  7532. usertype:
  7533. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  7534. type: integer
  7535. type: object
  7536. models.ErmcpLoginUserEx:
  7537. properties:
  7538. accountstatus:
  7539. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  7540. type: integer
  7541. mobile:
  7542. description: 手机号
  7543. type: string
  7544. querytype:
  7545. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  7546. type: integer
  7547. roleid:
  7548. description: 角色id(交易账户->用户id)
  7549. type: integer
  7550. rolename:
  7551. description: 角色名称(交易账户->用户名称)
  7552. type: string
  7553. userlist:
  7554. description: 用户列表
  7555. items:
  7556. $ref: '#/definitions/models.ErmcpLoginUser'
  7557. type: array
  7558. usertype:
  7559. description: 用户类型 2-机构 7-企业成员(云平台)
  7560. type: integer
  7561. type: object
  7562. models.ErmcpMiddleGoodsModel:
  7563. properties:
  7564. areauserid:
  7565. description: 机构用户ID
  7566. type: integer
  7567. createtime:
  7568. description: 修改时间
  7569. type: string
  7570. enumdicname:
  7571. description: 单位名称
  7572. type: string
  7573. evaluateratio:
  7574. description: 估价系数
  7575. type: number
  7576. goodsgroupid:
  7577. description: 关联期货品种ID
  7578. type: integer
  7579. goodsunitid:
  7580. description: 单位ID
  7581. type: integer
  7582. isvalid:
  7583. description: 状态 0-无效(停用) 1-有效(正常)
  7584. type: integer
  7585. middlegoodscode:
  7586. description: 套保品种代码
  7587. type: string
  7588. middlegoodsid:
  7589. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  7590. type: integer
  7591. middlegoodsname:
  7592. description: 套保品种名称
  7593. type: string
  7594. modifytime:
  7595. description: 修改时间
  7596. type: string
  7597. needarbitrageratio:
  7598. description: 套利比例
  7599. type: number
  7600. needhedgeratio:
  7601. description: 套保比率
  7602. type: number
  7603. qtydecimalplace:
  7604. description: 数量小数位
  7605. type: integer
  7606. relatedgoodsid:
  7607. description: 关联交易商品ID
  7608. type: integer
  7609. relatedgoodstype:
  7610. description: 关联商品类型 - 1:期货合约 2:现货品种
  7611. type: integer
  7612. remark:
  7613. description: 备注
  7614. type: string
  7615. type: object
  7616. models.ErmcpMiddlegoodsRelateGoods:
  7617. properties:
  7618. agreeunit:
  7619. description: 合约乘数
  7620. type: number
  7621. convertratio:
  7622. description: 折算系数
  7623. type: number
  7624. enumdicname:
  7625. description: 单位名称(交易商品)
  7626. type: string
  7627. goodscode:
  7628. description: 交易商品代码
  7629. type: string
  7630. goodsgroupid:
  7631. description: 交易品种id
  7632. type: integer
  7633. goodsid:
  7634. description: 商品Id
  7635. type: integer
  7636. goodsname:
  7637. description: 交易商品名称
  7638. type: string
  7639. goodunitid:
  7640. description: 交易商品单位id
  7641. type: integer
  7642. middlegoodsid:
  7643. description: 套保商品id
  7644. type: integer
  7645. middlegoodsname:
  7646. description: 套保商品名称
  7647. type: string
  7648. middlegoodsswcode:
  7649. description: 套保商品代码
  7650. type: string
  7651. needarbitrageratio:
  7652. description: 应套利比例
  7653. type: number
  7654. needhedgeratio:
  7655. description: 应套保比例
  7656. type: number
  7657. type: object
  7658. models.ErmcpRole:
  7659. properties:
  7660. areauserid:
  7661. description: 所属机构
  7662. type: integer
  7663. autoid:
  7664. description: 角色ID(自增ID)
  7665. type: integer
  7666. modifierid:
  7667. description: 修改人(创建人)
  7668. type: integer
  7669. modifiername:
  7670. description: 修改人名称
  7671. type: string
  7672. modifytime:
  7673. description: 修改时间(创建时间)
  7674. type: string
  7675. rolename:
  7676. description: 角色名称
  7677. type: string
  7678. rolestatus:
  7679. description: 角色状态 - 1:启用 2:停用
  7680. type: integer
  7681. roletype:
  7682. description: 角色类型 - 1- 管理端 2- 交易端
  7683. type: integer
  7684. type: object
  7685. models.ErmcpRoleMenu:
  7686. properties:
  7687. iconame:
  7688. description: 菜单图标
  7689. type: string
  7690. ishadrole:
  7691. description: 是否有权限
  7692. type: boolean
  7693. menutype:
  7694. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  7695. type: integer
  7696. parentcode:
  7697. description: 上级资源代码
  7698. type: string
  7699. remark:
  7700. description: 菜单备注
  7701. type: string
  7702. resourcecode:
  7703. description: 菜单代码
  7704. type: string
  7705. resourcelevel:
  7706. description: 级别
  7707. type: integer
  7708. resourcename:
  7709. description: 菜单名称
  7710. type: string
  7711. roleid:
  7712. description: 角色id
  7713. type: integer
  7714. sort:
  7715. description: 排序
  7716. type: integer
  7717. url:
  7718. description: URL
  7719. type: string
  7720. userid:
  7721. description: 用户id
  7722. type: integer
  7723. type: object
  7724. models.ErmcpRoleMenuEx:
  7725. properties:
  7726. menu:
  7727. $ref: '#/definitions/models.ErmcpRoleMenu'
  7728. description: 父级菜单
  7729. subMenu:
  7730. description: 子级菜单
  7731. items:
  7732. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  7733. type: array
  7734. type: object
  7735. models.ErmcpTaAccount:
  7736. properties:
  7737. accountid:
  7738. description: 账户id
  7739. type: integer
  7740. accountname:
  7741. description: 账户名称
  7742. type: string
  7743. currencyid:
  7744. description: 币种id
  7745. type: integer
  7746. hedgeaccountcode:
  7747. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  7748. type: string
  7749. ismain:
  7750. description: 是否主账户 0-否 1-是
  7751. type: integer
  7752. parentaccountid:
  7753. description: 父账户id
  7754. type: integer
  7755. relateduserid:
  7756. description: 关联userid
  7757. type: integer
  7758. tradefeetmpid:
  7759. description: 手续费模板id
  7760. type: integer
  7761. tradefeetmpname:
  7762. description: 手续费模板名称
  7763. type: string
  7764. trademargintmpid:
  7765. description: 保证金模板id
  7766. type: integer
  7767. trademargintmpname:
  7768. description: 保证金模板名称
  7769. type: string
  7770. traderatetmpid:
  7771. description: 汇率模板id
  7772. type: integer
  7773. traderatetmpname:
  7774. description: 汇率模板名称
  7775. type: string
  7776. tradestatus:
  7777. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7778. type: integer
  7779. userid:
  7780. description: 用户id
  7781. type: integer
  7782. type: object
  7783. models.ErmcpTaAccountEx:
  7784. properties:
  7785. mainAcc:
  7786. $ref: '#/definitions/models.ErmcpTaAccountM'
  7787. description: 主账号
  7788. subacclist:
  7789. description: 子账号列表
  7790. items:
  7791. $ref: '#/definitions/models.ErmcpTaAccount'
  7792. type: array
  7793. type: object
  7794. models.ErmcpTaAccountInfo:
  7795. properties:
  7796. accountid:
  7797. description: 资金账户ID
  7798. type: integer
  7799. accountname:
  7800. description: 账户名称
  7801. type: string
  7802. balance:
  7803. description: 期初余额
  7804. type: number
  7805. capitalbalance:
  7806. description: 本金余额[外部子账户实际出入金余额]
  7807. type: number
  7808. closepl:
  7809. description: 今日平仓盈亏
  7810. type: number
  7811. creditdecrease:
  7812. description: 今日授信减少
  7813. type: number
  7814. creditincrease:
  7815. description: 今日授信增加
  7816. type: number
  7817. curdebt:
  7818. description: 期末欠款
  7819. type: number
  7820. currencyid:
  7821. description: 货币ID
  7822. type: integer
  7823. currentbalance:
  7824. description: 期末余额
  7825. type: number
  7826. freezecharge:
  7827. description: 手续费冻结
  7828. type: number
  7829. freezemargin:
  7830. description: 冻结保证金
  7831. type: number
  7832. fromaccountid:
  7833. description: 所属上级账户
  7834. type: integer
  7835. inamount:
  7836. description: 今日入金金额(包括三方入金)
  7837. type: number
  7838. ismain:
  7839. description: 是否母账号 0:不是母账户 1:是母账户
  7840. type: integer
  7841. mortgagecredit:
  7842. description: 授信金额
  7843. type: number
  7844. oridebt:
  7845. description: 期初欠款
  7846. type: number
  7847. orifreezecharge:
  7848. description: 期初手续费冻结
  7849. type: number
  7850. orifreezemargin:
  7851. description: 期初冻结保证金
  7852. type: number
  7853. orimortgagecredit:
  7854. description: 期初授信金额
  7855. type: number
  7856. oriothercredit:
  7857. description: 期初其它授信金额
  7858. type: number
  7859. oriotherfreezemargin:
  7860. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  7861. type: number
  7862. orioutamountfreeze:
  7863. description: 期初出金冻结
  7864. type: number
  7865. oriusedmargin:
  7866. description: 期初占用保证金
  7867. type: number
  7868. othercredit:
  7869. description: 其它授信金额
  7870. type: number
  7871. othercreditdecrease:
  7872. description: 今日其它授信减少
  7873. type: number
  7874. othercreditincrease:
  7875. description: 今日其它授信增加
  7876. type: number
  7877. otherfreezemargin:
  7878. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  7879. type: number
  7880. outamount:
  7881. description: 今日出金金额(包括三方出金)
  7882. type: number
  7883. outamountfreeze:
  7884. description: 出金冻结
  7885. type: number
  7886. outthreshold:
  7887. description: 出金阈值
  7888. type: number
  7889. parentaccountid:
  7890. description: 所属根账号
  7891. type: integer
  7892. paycharge:
  7893. description: 今日手续费支出
  7894. type: number
  7895. relateduserid:
  7896. description: 关联用户
  7897. type: integer
  7898. signstatus:
  7899. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  7900. type: integer
  7901. sublevelpath:
  7902. description: 账号层级路径(逗号分隔,首尾加逗号)
  7903. type: string
  7904. taaccounttype:
  7905. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  7906. type: integer
  7907. thirdinamount:
  7908. description: 今日三方入金
  7909. type: number
  7910. thirdoutamount:
  7911. description: 今日三方出金
  7912. type: number
  7913. tradestatus:
  7914. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7915. type: integer
  7916. transferamount:
  7917. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  7918. type: number
  7919. usedmargin:
  7920. description: 占用保证金
  7921. type: number
  7922. userid:
  7923. description: 用户ID
  7924. type: integer
  7925. type: object
  7926. models.ErmcpTaAccountM:
  7927. properties:
  7928. accountid:
  7929. description: 账户id
  7930. type: integer
  7931. accountname:
  7932. description: 账户名称
  7933. type: string
  7934. currencyid:
  7935. description: 币种id
  7936. type: integer
  7937. fcid:
  7938. description: 期货公司id
  7939. type: integer
  7940. fcname:
  7941. description: 期货公司代码
  7942. type: string
  7943. hedgeaccountcode:
  7944. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  7945. type: string
  7946. ismain:
  7947. description: 是否主账户 0-否 1-是
  7948. type: integer
  7949. parentaccountid:
  7950. description: 父账户id
  7951. type: integer
  7952. relateduserid:
  7953. description: 关联userid
  7954. type: integer
  7955. tradefeetmpid:
  7956. description: 手续费模板id
  7957. type: integer
  7958. tradefeetmpname:
  7959. description: 手续费模板名称
  7960. type: string
  7961. trademargintmpid:
  7962. description: 保证金模板id
  7963. type: integer
  7964. trademargintmpname:
  7965. description: 保证金模板名称
  7966. type: string
  7967. traderatetmpid:
  7968. description: 汇率模板id
  7969. type: integer
  7970. traderatetmpname:
  7971. description: 汇率模板名称
  7972. type: string
  7973. tradestatus:
  7974. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7975. type: integer
  7976. userid:
  7977. description: 用户id
  7978. type: integer
  7979. type: object
  7980. models.ErmcpTradeConfigTMP:
  7981. properties:
  7982. areauserid:
  7983. description: 所属机构
  7984. type: integer
  7985. basiccurrencyid:
  7986. description: 基本币种ID[汇率] - 目标币种
  7987. type: integer
  7988. mainaccountid:
  7989. description: 主账户ID
  7990. type: integer
  7991. modifierid:
  7992. description: 修改人
  7993. type: integer
  7994. remark:
  7995. description: 备注
  7996. type: string
  7997. tradeconfigtmpid:
  7998. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  7999. type: integer
  8000. tradeconfigtmpname:
  8001. description: 交易配置模板名称
  8002. type: string
  8003. tradeconfigtmptype:
  8004. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  8005. type: integer
  8006. updatetime:
  8007. description: 更新时间
  8008. type: string
  8009. type: object
  8010. models.Externalexchange:
  8011. properties:
  8012. autoid:
  8013. description: AutoID - SEQ_EXTERNALEXCHANGE
  8014. type: integer
  8015. exchangefullname:
  8016. description: 外部交易所全称
  8017. type: string
  8018. exexchangecode:
  8019. description: 外部交易所代码
  8020. type: string
  8021. exexchangename:
  8022. description: 外部交易所名称(简称)
  8023. type: string
  8024. ismarketprice:
  8025. description: 是否支持市价 - 0:不支持 1:支持
  8026. type: integer
  8027. quotegear:
  8028. description: 行情档位(1-10)
  8029. type: integer
  8030. showbrokerflag:
  8031. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  8032. type: integer
  8033. updatetime:
  8034. description: 更新时间
  8035. type: string
  8036. required:
  8037. - autoid
  8038. type: object
  8039. models.Funcmenulist:
  8040. properties:
  8041. iconame:
  8042. description: 菜单图标
  8043. type: string
  8044. menutype:
  8045. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  8046. type: integer
  8047. parentcode:
  8048. description: 上级资源代码
  8049. type: string
  8050. remark:
  8051. description: 备注
  8052. type: string
  8053. resourcecode:
  8054. description: 资源代码
  8055. type: string
  8056. resourcelevel:
  8057. description: 级别 1-一级 2-二级 3-三级 4-四级
  8058. type: integer
  8059. resourcename:
  8060. description: 资源名
  8061. type: string
  8062. sort:
  8063. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  8064. type: integer
  8065. url:
  8066. description: URL
  8067. type: string
  8068. required:
  8069. - resourcecode
  8070. type: object
  8071. models.Goods:
  8072. properties:
  8073. agreeunit:
  8074. description: 合约单位
  8075. type: number
  8076. areauserid:
  8077. description: 所属机构
  8078. type: integer
  8079. auditaccountid:
  8080. description: 审核操作员账号
  8081. type: integer
  8082. audittime:
  8083. description: 审核时间
  8084. type: string
  8085. cancelaccountid:
  8086. description: 注销操作员账号
  8087. type: integer
  8088. canceltime:
  8089. description: 注销时间
  8090. type: string
  8091. closepricemode:
  8092. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8093. type: integer
  8094. closepriceparam:
  8095. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  8096. type: number
  8097. createtime:
  8098. description: 创建时间
  8099. type: string
  8100. creatorid:
  8101. description: 创建人
  8102. type: integer
  8103. currencyid:
  8104. description: 报价货币ID
  8105. type: integer
  8106. cutmode:
  8107. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  8108. type: integer
  8109. decimalplace:
  8110. description: 报价小数位
  8111. type: integer
  8112. delistingdate:
  8113. description: 商品退市时间(状态:退市) -- 已作废
  8114. type: string
  8115. delistingmode:
  8116. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  8117. type: integer
  8118. deliveryflag:
  8119. description: 交割标志 - 0:不可交割 1:可交割
  8120. type: integer
  8121. forceclosemode:
  8122. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  8123. type: integer
  8124. forceclosevalue:
  8125. description: 定期强平参数 [收益权]
  8126. type: integer
  8127. goodscode:
  8128. description: 商品代码(内部)
  8129. type: string
  8130. goodscurrencyid:
  8131. description: 合约货币ID
  8132. type: integer
  8133. goodsgroupid:
  8134. description: 所属商品组ID
  8135. type: integer
  8136. goodsid:
  8137. description: 商品ID(自增ID SEQ_GOODS)
  8138. type: integer
  8139. goodsname:
  8140. description: 商品名称
  8141. type: string
  8142. goodsquotetype:
  8143. description: '合约报价类型: 1-直接报价 2-间接报价'
  8144. type: integer
  8145. goodsstatus:
  8146. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8147. type: integer
  8148. goodstradetype:
  8149. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  8150. type: integer
  8151. goodunitid:
  8152. description: 报价单位ID
  8153. type: integer
  8154. hasquoter:
  8155. description: 是否有报价商 - 0:无报价商 1:有报价商
  8156. type: integer
  8157. hqprotecttime:
  8158. description: 行情保护时间(秒)
  8159. type: integer
  8160. innerdealmode:
  8161. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8162. type: integer
  8163. isbuylimited:
  8164. description: 是否限制建仓量 - 0:不限制 1:限制
  8165. type: integer
  8166. isvisible:
  8167. description: 游客是否可见 - 0:不可见 1:可见
  8168. type: integer
  8169. lasttradedate:
  8170. description: 最后交易日期(状态:待退市)
  8171. type: string
  8172. listingdate:
  8173. description: 交易开始日期
  8174. type: string
  8175. marketid:
  8176. description: 所属市场ID
  8177. type: integer
  8178. modifierid:
  8179. description: 修改人
  8180. type: integer
  8181. modifystatus:
  8182. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  8183. type: integer
  8184. modifytime:
  8185. description: 修改时间
  8186. type: string
  8187. outerdealmode:
  8188. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8189. type: integer
  8190. outgoodscode:
  8191. description: 商品代码(外部)
  8192. type: string
  8193. pictureurl:
  8194. description: 商品图片
  8195. type: string
  8196. qtydecimalplace:
  8197. description: 成交量小数位
  8198. type: integer
  8199. quotegear:
  8200. description: 行情档位(1-10)
  8201. type: integer
  8202. quoteminunit:
  8203. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8204. type: integer
  8205. quoteshowtype:
  8206. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  8207. type: integer
  8208. quoteshowtypeinterval:
  8209. description: 行情报价间隔时间(秒)(成交价时为0)
  8210. type: integer
  8211. remark:
  8212. description: 备注
  8213. type: string
  8214. required:
  8215. - goodscode
  8216. - goodsid
  8217. - goodsname
  8218. - marketid
  8219. type: object
  8220. models.GoodsIDAndName:
  8221. properties:
  8222. goodscode:
  8223. description: 商品代码(内部)
  8224. type: string
  8225. goodsid:
  8226. description: 商品ID(自增ID SEQ_GOODS)
  8227. type: integer
  8228. goodsname:
  8229. description: 商品名称
  8230. type: string
  8231. marketid:
  8232. description: 所属市场ID
  8233. type: integer
  8234. required:
  8235. - goodscode
  8236. - goodsid
  8237. - goodsname
  8238. - marketid
  8239. type: object
  8240. models.Goodsgroup:
  8241. properties:
  8242. agreeunit:
  8243. description: 合约单位
  8244. type: number
  8245. canshort:
  8246. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  8247. type: integer
  8248. closepricemode:
  8249. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8250. type: integer
  8251. closepriceparam:
  8252. description: 强平最新价浮动比例 - 方式为2时使用
  8253. type: number
  8254. createtime:
  8255. description: 创建时间
  8256. type: string
  8257. creatorid:
  8258. description: 创建人
  8259. type: integer
  8260. currencyid:
  8261. description: 报价货币ID
  8262. type: integer
  8263. decimalplace:
  8264. description: 报价小数位
  8265. type: integer
  8266. exercisetype:
  8267. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  8268. type: integer
  8269. exexchangeid:
  8270. description: 外部交易所ID[通道交易]
  8271. type: integer
  8272. goodsgroupid:
  8273. description: 商品组ID(自增ID)
  8274. type: integer
  8275. goodsgroupname:
  8276. description: 商品组名称
  8277. type: string
  8278. goodsgroupstatus:
  8279. description: 商品组状态 - 1:正常 2:注销
  8280. type: integer
  8281. goodunitid:
  8282. description: 报价单位ID
  8283. type: integer
  8284. innerdealmode:
  8285. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8286. type: integer
  8287. isbuylimited:
  8288. description: 是否限制建仓量 - 0:不限制 1:限制
  8289. type: integer
  8290. marketid:
  8291. description: 所属市场ID
  8292. type: integer
  8293. modifierid:
  8294. description: 修改人
  8295. type: integer
  8296. modifytime:
  8297. description: 修改时间
  8298. type: string
  8299. outerdealmode:
  8300. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8301. type: integer
  8302. outergroupcode:
  8303. description: 外部商品组代码[通道交易]
  8304. type: string
  8305. premiumdecimalplace:
  8306. description: 权利金小数位[场外期权]
  8307. type: integer
  8308. premiumspreadalgorithm:
  8309. description: 权利金点差方式[场外期权] 1:比率 2:固定
  8310. type: integer
  8311. premiumspreadvalue:
  8312. description: 权利金点差值[场外期权]
  8313. type: number
  8314. qtydecimalplace:
  8315. description: 成交量小数位
  8316. type: integer
  8317. quotegear:
  8318. description: 行情档位(1-10)
  8319. type: integer
  8320. quoteminunit:
  8321. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8322. type: integer
  8323. quoterid:
  8324. description: 报价商ID[场外期权]
  8325. type: integer
  8326. quotesourcegroupid:
  8327. description: 所属行情源分组ID[参考行情市场用\通道交易]
  8328. type: integer
  8329. syncgoodsqty:
  8330. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  8331. type: integer
  8332. required:
  8333. - goodsgroupid
  8334. - goodsgroupname
  8335. - goodsgroupstatus
  8336. - marketid
  8337. type: object
  8338. models.Goodssortbypreposition:
  8339. properties:
  8340. goodscode:
  8341. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  8342. type: string
  8343. goodsgroupcode:
  8344. description: 品种代码
  8345. type: string
  8346. prepositionqty:
  8347. description: 昨持仓量
  8348. type: integer
  8349. sortindex:
  8350. description: 排序
  8351. type: integer
  8352. tradedate:
  8353. description: 交易日
  8354. type: string
  8355. updatetime:
  8356. description: 更新时间
  8357. type: string
  8358. required:
  8359. - goodscode
  8360. - tradedate
  8361. type: object
  8362. models.Hedgeinnerholderdetail:
  8363. properties:
  8364. accountid:
  8365. description: 账号ID
  8366. type: integer
  8367. buyorsell:
  8368. description: 方向 - 0:买 1:卖
  8369. type: integer
  8370. freezeqty:
  8371. description: 冻结数量 - 按单平使用
  8372. type: integer
  8373. goodsid:
  8374. description: 商品ID
  8375. type: integer
  8376. holderamount:
  8377. description: 持仓金额 [商品币种]
  8378. type: number
  8379. holderdays:
  8380. description: 剩余冻结天数
  8381. type: integer
  8382. holderprice:
  8383. description: 持仓价格
  8384. type: number
  8385. holderqty:
  8386. description: 持仓数量
  8387. type: integer
  8388. marketid:
  8389. description: 市场ID
  8390. type: integer
  8391. openprice:
  8392. description: 建仓价格
  8393. type: number
  8394. openqty:
  8395. description: 建仓数量
  8396. type: integer
  8397. parentaccountid:
  8398. description: 所属母账户
  8399. type: integer
  8400. releaseamount:
  8401. description: 释放持仓金额[商品币种]
  8402. type: number
  8403. tradeamount:
  8404. description: 成交金额[账户]
  8405. type: number
  8406. tradedate:
  8407. description: 交易日(yyyyMMdd)
  8408. type: string
  8409. tradeid:
  8410. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8411. type: string
  8412. tradetime:
  8413. description: 交易时间
  8414. type: string
  8415. required:
  8416. - buyorsell
  8417. - tradeid
  8418. type: object
  8419. models.Hedgemarketopenlog:
  8420. properties:
  8421. accountid:
  8422. description: 资金账号[外部母账户]
  8423. type: integer
  8424. fcname:
  8425. description: 期货公司名称
  8426. type: string
  8427. handlestatus:
  8428. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  8429. type: integer
  8430. marketid:
  8431. description: 市场ID
  8432. type: integer
  8433. status:
  8434. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  8435. type: integer
  8436. tradedate:
  8437. description: 交易日(yyyyMMdd)
  8438. type: string
  8439. updatetime:
  8440. description: 更新时间
  8441. type: string
  8442. required:
  8443. - accountid
  8444. type: object
  8445. models.HsbyBuyMyPayOrder:
  8446. properties:
  8447. agreeunit:
  8448. description: 合约单位
  8449. type: number
  8450. buyaccountid:
  8451. description: 买方账号ID[报价币种]
  8452. type: integer
  8453. buyorderid:
  8454. description: 买方委托单号
  8455. type: string
  8456. createtime:
  8457. description: 创建时间
  8458. type: string
  8459. currencysign:
  8460. description: 货币符号
  8461. type: string
  8462. decimalplace:
  8463. description: 报价小数位
  8464. type: integer
  8465. goodscode:
  8466. description: 商品代码(内部)
  8467. type: string
  8468. goodsid:
  8469. description: 商品ID
  8470. type: integer
  8471. goodsname:
  8472. description: 商品名称
  8473. type: string
  8474. marketid:
  8475. description: 市场ID
  8476. type: integer
  8477. offamount:
  8478. description: 优惠金额
  8479. type: number
  8480. originalamount:
  8481. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  8482. type: number
  8483. payamount:
  8484. description: 支付金额 = TradeAmount + TradeCharge
  8485. type: number
  8486. payflag:
  8487. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  8488. type: integer
  8489. paylimitedtime:
  8490. description: 支付期限
  8491. type: string
  8492. paytime:
  8493. description: 付款时间
  8494. type: string
  8495. picurls1:
  8496. description: 预售商品介绍图片[多张用逗号分隔]
  8497. type: string
  8498. picurls2:
  8499. description: 挂牌商品介绍图片[多张用逗号分隔]
  8500. type: string
  8501. sellaccountid:
  8502. description: 卖方账号ID[报价币种]
  8503. type: integer
  8504. sellorderid:
  8505. description: 卖方委托单号
  8506. type: string
  8507. tradeamount:
  8508. description: 成交金额
  8509. type: number
  8510. tradecharge:
  8511. description: 成交手续费(买方)
  8512. type: number
  8513. tradedate:
  8514. description: 交易日(yyyyMMdd)
  8515. type: string
  8516. tradeid:
  8517. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8518. type: string
  8519. trademode:
  8520. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8521. type: integer
  8522. tradeprice:
  8523. description: 成交价格
  8524. type: number
  8525. tradeqty:
  8526. description: 成交数量
  8527. type: integer
  8528. vendorname1:
  8529. description: 预售商品供应商名称
  8530. type: string
  8531. vendorname2:
  8532. description: 挂牌商品供应商名称
  8533. type: string
  8534. required:
  8535. - goodscode
  8536. - goodsname
  8537. - tradeid
  8538. - trademode
  8539. type: object
  8540. models.HsbyBuyMyTradeDetail:
  8541. properties:
  8542. accountid:
  8543. description: 账户ID[报价币种]
  8544. type: integer
  8545. agreeunit:
  8546. description: 合约单位
  8547. type: number
  8548. amount:
  8549. description: 金额 = 价格 * 数量 * 合约单位
  8550. type: number
  8551. buyorsell:
  8552. description: 买卖 - 0:买 1:卖
  8553. type: integer
  8554. currencysign:
  8555. description: 货币符号
  8556. type: string
  8557. decimalplace:
  8558. description: 报价小数位
  8559. type: integer
  8560. goodscode:
  8561. description: 商品代码(内部)
  8562. type: string
  8563. goodsid:
  8564. description: 商品ID
  8565. type: integer
  8566. goodsname:
  8567. description: 商品名称
  8568. type: string
  8569. marketid:
  8570. description: 市场ID
  8571. type: integer
  8572. orderamount:
  8573. description: 委托金额
  8574. type: number
  8575. orderid:
  8576. description: 单号(成交单号)
  8577. type: string
  8578. picurls1:
  8579. description: 预售商品介绍图片[多张用逗号分隔]
  8580. type: string
  8581. picurls2:
  8582. description: 挂牌商品介绍图片[多张用逗号分隔]
  8583. type: string
  8584. price:
  8585. description: 价格
  8586. type: number
  8587. qty:
  8588. description: 数量
  8589. type: integer
  8590. time:
  8591. description: 时间
  8592. type: string
  8593. trademode:
  8594. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8595. type: integer
  8596. vendorname1:
  8597. description: 预售商品供应商名称
  8598. type: string
  8599. vendorname2:
  8600. description: 挂牌商品供应商名称
  8601. type: string
  8602. required:
  8603. - accountid
  8604. - buyorsell
  8605. - goodscode
  8606. - goodsid
  8607. - goodsname
  8608. - marketid
  8609. - orderid
  8610. - qty
  8611. - time
  8612. - trademode
  8613. type: object
  8614. models.HsbyGoodsOrderDetail:
  8615. properties:
  8616. buyorsell:
  8617. description: 买卖 - 0:买 1:卖
  8618. type: integer
  8619. currencysign:
  8620. description: 货币符号
  8621. type: string
  8622. customername:
  8623. description: 客户名称(企业名称),已脱敏
  8624. type: string
  8625. enableqty:
  8626. description: 可用数量
  8627. type: integer
  8628. goodunit:
  8629. description: 报价单位
  8630. type: string
  8631. orderid:
  8632. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8633. type: string
  8634. orderprice:
  8635. description: 委托价格
  8636. type: number
  8637. ordertime:
  8638. description: 委托时间
  8639. type: string
  8640. required:
  8641. - buyorsell
  8642. - orderid
  8643. - ordertime
  8644. type: object
  8645. models.HsbyListingGoodsDetail:
  8646. properties:
  8647. agreeunit:
  8648. description: 合约单位
  8649. type: number
  8650. buymaxqty:
  8651. description: 购买上限 [71] - 0为不限
  8652. type: integer
  8653. currency:
  8654. description: 货币
  8655. type: string
  8656. currencysign:
  8657. description: 货币符号
  8658. type: string
  8659. decimalplace:
  8660. description: 报价小数位
  8661. type: integer
  8662. desccityid:
  8663. description: 目的地(市)ID
  8664. type: integer
  8665. descprovinceid:
  8666. description: 目的地(省)ID
  8667. type: integer
  8668. goodscode:
  8669. description: 商品代码(内部)
  8670. type: string
  8671. goodsdesc:
  8672. description: 商品详情
  8673. type: string
  8674. goodsid:
  8675. description: 商品ID(自增ID SEQ_GOODS)
  8676. type: integer
  8677. goodsname:
  8678. description: 商品名称
  8679. type: string
  8680. goodsprice:
  8681. description: 商品价格
  8682. type: number
  8683. hotindex:
  8684. description: 景点热度
  8685. type: integer
  8686. last:
  8687. description: 现价
  8688. type: number
  8689. limitdown:
  8690. description: 跌停价
  8691. type: number
  8692. limitup:
  8693. description: 涨停价
  8694. type: number
  8695. lotsize:
  8696. description: 手数最小变动单位
  8697. type: integer
  8698. marketid:
  8699. description: 所属市场ID
  8700. type: integer
  8701. picurls:
  8702. description: 介绍图片[多张用逗号分隔]
  8703. type: string
  8704. quoteminunit:
  8705. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8706. type: integer
  8707. stepvalue:
  8708. description: 价格最小变动单位
  8709. type: number
  8710. trademode:
  8711. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8712. type: integer
  8713. vendorattr:
  8714. description: 供应商附件(多张,逗号分隔)
  8715. type: string
  8716. vendorname:
  8717. description: 供应商名称
  8718. type: string
  8719. vendorphone:
  8720. description: 供应商客服电话
  8721. type: string
  8722. videourls:
  8723. description: 介绍视频[多张用逗号分隔]
  8724. type: string
  8725. required:
  8726. - goodscode
  8727. - goodsid
  8728. - goodsname
  8729. - marketid
  8730. - trademode
  8731. type: object
  8732. models.HsbyMarketGoods:
  8733. properties:
  8734. accountid:
  8735. description: 账户ID[报价币种]
  8736. type: integer
  8737. agreeunit:
  8738. description: 合约单位
  8739. type: number
  8740. buyorsell:
  8741. description: 买卖 - 0:买 1:卖
  8742. type: integer
  8743. categoryid:
  8744. description: 类别ID(WRCATEGORY)
  8745. type: integer
  8746. currency:
  8747. description: 货币
  8748. type: string
  8749. currencysign:
  8750. description: 货币符号
  8751. type: string
  8752. customername:
  8753. description: 卖家名称
  8754. type: string
  8755. decimalplace:
  8756. description: 报价小数位
  8757. type: integer
  8758. goodscode:
  8759. description: 商品代码(内部)
  8760. type: string
  8761. goodsid:
  8762. description: 商品ID
  8763. type: integer
  8764. goodsname:
  8765. description: 商品名称
  8766. type: string
  8767. goodsprice:
  8768. description: 商品价格
  8769. type: number
  8770. hascoupon:
  8771. description: 是否可用优惠卷
  8772. type: boolean
  8773. hotindex:
  8774. description: 景点热度
  8775. type: integer
  8776. marketid:
  8777. description: 市场ID
  8778. type: integer
  8779. orderid:
  8780. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8781. type: string
  8782. orderprice:
  8783. description: 委托价格
  8784. type: number
  8785. orderstatus:
  8786. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  8787. type: integer
  8788. picurls:
  8789. description: 介绍图片[多张用逗号分隔]
  8790. type: string
  8791. quoteminunit:
  8792. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8793. type: integer
  8794. sellUserID:
  8795. description: 卖方UserID
  8796. type: integer
  8797. trademode:
  8798. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8799. type: integer
  8800. videourls:
  8801. description: 介绍视频[多张用逗号分隔]
  8802. type: string
  8803. required:
  8804. - accountid
  8805. - buyorsell
  8806. - goodscode
  8807. - goodsid
  8808. - goodsname
  8809. - marketid
  8810. - orderid
  8811. - trademode
  8812. type: object
  8813. models.HsbyMarketGoodsDetail:
  8814. properties:
  8815. accountid:
  8816. description: 账户ID[报价币种]
  8817. type: integer
  8818. agreeunit:
  8819. description: 合约单位
  8820. type: number
  8821. buymaxqty:
  8822. description: 购买上限 [71] - 0为不限
  8823. type: integer
  8824. buyorsell:
  8825. description: 买卖 - 0:买 1:卖
  8826. type: integer
  8827. cancelqty:
  8828. description: 撤单数量
  8829. type: integer
  8830. categoryid:
  8831. description: 类别ID(WRCATEGORY)
  8832. type: integer
  8833. currency:
  8834. description: 货币
  8835. type: string
  8836. currencysign:
  8837. description: 货币符号
  8838. type: string
  8839. customername:
  8840. description: 卖家名称
  8841. type: string
  8842. decimalplace:
  8843. description: 报价小数位
  8844. type: integer
  8845. goodscode:
  8846. description: 商品代码(内部)
  8847. type: string
  8848. goodsdesc:
  8849. description: 商品详情
  8850. type: string
  8851. goodsid:
  8852. description: 商品ID
  8853. type: integer
  8854. goodsname:
  8855. description: 商品名称
  8856. type: string
  8857. goodsprice:
  8858. description: 商品价格
  8859. type: number
  8860. hotindex:
  8861. description: 景点热度
  8862. type: integer
  8863. lotsize:
  8864. description: 手数最小变动单位
  8865. type: integer
  8866. marketid:
  8867. description: 市场ID
  8868. type: integer
  8869. orderid:
  8870. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8871. type: string
  8872. orderprice:
  8873. description: 委托价格
  8874. type: number
  8875. orderqty:
  8876. description: 委托数量
  8877. type: integer
  8878. orderstatus:
  8879. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  8880. type: integer
  8881. picurls:
  8882. description: 介绍图片[多张用逗号分隔]
  8883. type: string
  8884. quoteminunit:
  8885. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8886. type: integer
  8887. sellUserID:
  8888. description: 卖方UserID
  8889. type: integer
  8890. trademode:
  8891. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8892. type: integer
  8893. tradeqty:
  8894. description: 成交数量
  8895. type: integer
  8896. vendorattr:
  8897. description: 供应商附件(多张,逗号分隔)
  8898. type: string
  8899. vendorname:
  8900. description: 供应商名称
  8901. type: string
  8902. vendorphone:
  8903. description: 供应商客服电话
  8904. type: string
  8905. videourls:
  8906. description: 介绍视频[多张用逗号分隔]
  8907. type: string
  8908. required:
  8909. - accountid
  8910. - buyorsell
  8911. - goodscode
  8912. - goodsid
  8913. - goodsname
  8914. - marketid
  8915. - orderid
  8916. - orderqty
  8917. - trademode
  8918. type: object
  8919. models.HsbyMarketInfo:
  8920. properties:
  8921. marketid:
  8922. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8923. type: integer
  8924. marketname:
  8925. description: 市场名称
  8926. type: string
  8927. marketstatus:
  8928. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8929. type: integer
  8930. trademode:
  8931. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8932. type: integer
  8933. required:
  8934. - marketid
  8935. - marketstatus
  8936. - trademode
  8937. type: object
  8938. models.HsbyMyGoods:
  8939. properties:
  8940. accountid:
  8941. description: 账号Id
  8942. type: integer
  8943. agreeunit:
  8944. description: 合约单位
  8945. type: number
  8946. buyaverageprice:
  8947. description: 持仓均价
  8948. type: number
  8949. buycurholderamount:
  8950. description: 买当前持仓总金额[商品币种]
  8951. type: number
  8952. buycurpositionqty:
  8953. description: 买当前持仓总数量
  8954. type: integer
  8955. buymaxqty:
  8956. description: 购买上限 [71] - 0为不限
  8957. type: integer
  8958. currencysign:
  8959. description: 货币符号
  8960. type: string
  8961. decimalplace:
  8962. description: 报价小数位
  8963. type: integer
  8964. enableqty:
  8965. description: 可用数量
  8966. type: integer
  8967. goodscode:
  8968. description: 商品代码(内部)
  8969. type: string
  8970. goodsid:
  8971. description: 商品Id
  8972. type: integer
  8973. goodsname:
  8974. description: 商品名称
  8975. type: string
  8976. goodsprice:
  8977. description: 商品价格
  8978. type: number
  8979. goodsstatus:
  8980. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8981. type: integer
  8982. last:
  8983. description: 现价(仅使用于挂牌点选)
  8984. type: number
  8985. limitdown:
  8986. description: 跌停价(仅使用于挂牌点选)
  8987. type: number
  8988. limitup:
  8989. description: 涨停价(仅使用于挂牌点选)
  8990. type: number
  8991. lotsize:
  8992. description: 手数最小变动单位
  8993. type: integer
  8994. marketid:
  8995. description: 所属市场ID
  8996. type: integer
  8997. picurls:
  8998. description: 介绍图片[多张用逗号分隔]
  8999. type: string
  9000. quoteminunit:
  9001. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9002. type: integer
  9003. stepvalue:
  9004. description: 价格最小变动单位
  9005. type: number
  9006. trademode:
  9007. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9008. type: integer
  9009. required:
  9010. - accountid
  9011. - goodscode
  9012. - goodsid
  9013. - goodsname
  9014. - marketid
  9015. - trademode
  9016. type: object
  9017. models.HsbyMyPackage:
  9018. properties:
  9019. accountid:
  9020. description: 账户ID
  9021. type: integer
  9022. address:
  9023. description: 提货人详细地址
  9024. type: string
  9025. agreeunit:
  9026. description: 合约单位
  9027. type: number
  9028. amount:
  9029. description: 提货金额
  9030. type: number
  9031. auditer:
  9032. description: 审核人
  9033. type: integer
  9034. audittime:
  9035. description: 审核时间
  9036. type: string
  9037. averageprice:
  9038. description: 均价
  9039. type: number
  9040. cardnum:
  9041. description: 提货人证件号码
  9042. type: string
  9043. cardtypeid:
  9044. description: 提货人证件类型
  9045. type: integer
  9046. checkremark:
  9047. description: 审核备注
  9048. type: string
  9049. currencysign:
  9050. description: 货币符号
  9051. type: string
  9052. decimalplace:
  9053. description: 报价小数位
  9054. type: integer
  9055. goodscode:
  9056. description: 商品代码(内部)
  9057. type: string
  9058. goodsid:
  9059. description: 商品ID
  9060. type: integer
  9061. goodsname:
  9062. description: 商品名称
  9063. type: string
  9064. handlestatus:
  9065. description: 处理状态
  9066. type: integer
  9067. marketid:
  9068. description: 市场ID
  9069. type: integer
  9070. phonenum:
  9071. description: 提货人联系方式
  9072. type: string
  9073. picurls:
  9074. description: 介绍图片[多张用逗号分隔]
  9075. type: string
  9076. qty:
  9077. description: 提货数量
  9078. type: number
  9079. recivername:
  9080. description: 提货人姓名
  9081. type: string
  9082. reqtime:
  9083. description: 更新时间
  9084. type: string
  9085. takemode:
  9086. description: 提货方式 - 2:自提 3:配送
  9087. type: integer
  9088. takeorderid:
  9089. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  9090. type: string
  9091. takeorderstatus:
  9092. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  9093. type: integer
  9094. takeremark:
  9095. description: 提货备注
  9096. type: string
  9097. tradedate:
  9098. description: 交易日(yyyyMMdd)
  9099. type: string
  9100. trademode:
  9101. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9102. type: integer
  9103. userid:
  9104. description: 用户ID
  9105. type: integer
  9106. vendorname:
  9107. description: 供应商名称
  9108. type: string
  9109. required:
  9110. - goodscode
  9111. - goodsname
  9112. - takeorderid
  9113. - trademode
  9114. type: object
  9115. models.HsbyPreGoods:
  9116. properties:
  9117. agreeunit:
  9118. description: 合约单位
  9119. type: number
  9120. currency:
  9121. description: 货币
  9122. type: string
  9123. currencysign:
  9124. description: 货币符号
  9125. type: string
  9126. decimalplace:
  9127. description: 报价小数位
  9128. type: integer
  9129. desccityid:
  9130. description: 目的地(市)
  9131. type: integer
  9132. descprovinceid:
  9133. description: 目的地(省)
  9134. type: integer
  9135. enableqty:
  9136. description: 剩余数量
  9137. type: integer
  9138. goodscode:
  9139. description: 商品代码(内部)
  9140. type: string
  9141. goodsid:
  9142. description: 商品ID(自增ID SEQ_GOODS)
  9143. type: integer
  9144. goodsname:
  9145. description: 商品名称
  9146. type: string
  9147. goodsstatus:
  9148. description: 商品状态- 2:未上市 3:上市
  9149. type: integer
  9150. lasttradedate:
  9151. description: 最后交易日期(状态:待退市)
  9152. type: string
  9153. listingdate:
  9154. description: 交易开始日期
  9155. type: string
  9156. marketid:
  9157. description: 所属市场ID
  9158. type: integer
  9159. picurls:
  9160. description: 介绍图片[多张用逗号分隔]
  9161. type: string
  9162. presaledqty:
  9163. description: 已预售量(预售结束时更新)
  9164. type: integer
  9165. presaleqty:
  9166. description: 预售数量
  9167. type: integer
  9168. quoteminunit:
  9169. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9170. type: integer
  9171. refprice:
  9172. description: 参考价格[一口价]
  9173. type: number
  9174. relatedgoodsid:
  9175. description: 关联交易合约ID
  9176. type: integer
  9177. trademode:
  9178. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9179. type: integer
  9180. videourls:
  9181. description: 介绍视频[多张用逗号分隔]
  9182. type: string
  9183. required:
  9184. - goodscode
  9185. - goodsid
  9186. - goodsname
  9187. - marketid
  9188. - trademode
  9189. type: object
  9190. models.HsbyPreGoodsDetail:
  9191. properties:
  9192. agreeunit:
  9193. description: 合约单位
  9194. type: number
  9195. buymaxqty:
  9196. description: 购买上限 [71] - 0为不限
  9197. type: integer
  9198. currency:
  9199. description: 货币
  9200. type: string
  9201. currencysign:
  9202. description: 货币符号
  9203. type: string
  9204. customername:
  9205. description: 发行单位
  9206. type: string
  9207. decimalplace:
  9208. description: 报价小数位
  9209. type: integer
  9210. desccityid:
  9211. description: 目的地(市)ID
  9212. type: integer
  9213. descprovinceid:
  9214. description: 目的地(省)ID
  9215. type: integer
  9216. enableqty:
  9217. description: 剩余数量
  9218. type: integer
  9219. goodscode:
  9220. description: 商品代码(内部)
  9221. type: string
  9222. goodsdesc:
  9223. description: 商品详情
  9224. type: string
  9225. goodsid:
  9226. description: 商品ID(自增ID SEQ_GOODS)
  9227. type: integer
  9228. goodsname:
  9229. description: 商品名称
  9230. type: string
  9231. goodsstatus:
  9232. description: 商品状态- 2:未上市 3:上市
  9233. type: integer
  9234. goodunit:
  9235. description: 报价单位
  9236. type: string
  9237. lasttradedate:
  9238. description: 最后交易日期(状态:待退市)
  9239. type: string
  9240. listingdate:
  9241. description: 交易开始日期
  9242. type: string
  9243. lotsize:
  9244. description: 手数最小变动单位
  9245. type: integer
  9246. marketid:
  9247. description: 所属市场ID
  9248. type: integer
  9249. picurls:
  9250. description: 介绍图片[多张用逗号分隔]
  9251. type: string
  9252. presaledqty:
  9253. description: 已预售量(预售结束时更新)
  9254. type: integer
  9255. presaleqty:
  9256. description: 预售数量
  9257. type: integer
  9258. quoteminunit:
  9259. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9260. type: integer
  9261. refprice:
  9262. description: 参考价格[一口价]
  9263. type: number
  9264. relatedgoodsid:
  9265. description: 关联交易合约ID
  9266. type: integer
  9267. stepvalue:
  9268. description: 价格最小变动单位
  9269. type: number
  9270. trademode:
  9271. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9272. type: integer
  9273. vendorattr:
  9274. description: 供应商附件(多张,逗号分隔)
  9275. type: string
  9276. vendorname:
  9277. description: 供应商名称
  9278. type: string
  9279. vendorphone:
  9280. description: 供应商客服电话
  9281. type: string
  9282. videourls:
  9283. description: 介绍视频[多张用逗号分隔]
  9284. type: string
  9285. required:
  9286. - goodscode
  9287. - goodsid
  9288. - goodsname
  9289. - marketid
  9290. - trademode
  9291. type: object
  9292. models.HsbySellCollectionOrder:
  9293. properties:
  9294. agreeunit:
  9295. description: 合约单位
  9296. type: number
  9297. buyaccountid:
  9298. description: 买方账号ID[报价币种]
  9299. type: integer
  9300. buyorderid:
  9301. description: 买方委托单号
  9302. type: string
  9303. createtime:
  9304. description: 创建时间
  9305. type: string
  9306. currencysign:
  9307. description: 货币符号
  9308. type: string
  9309. decimalplace:
  9310. description: 报价小数位
  9311. type: integer
  9312. goodscode:
  9313. description: 商品代码(内部)
  9314. type: string
  9315. goodsid:
  9316. description: 商品ID
  9317. type: integer
  9318. goodsname:
  9319. description: 商品名称
  9320. type: string
  9321. marketid:
  9322. description: 市场ID
  9323. type: integer
  9324. offamount:
  9325. description: 优惠金额
  9326. type: number
  9327. payamount:
  9328. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  9329. type: number
  9330. payflag:
  9331. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  9332. type: integer
  9333. paylimitedtime:
  9334. description: 支付期限
  9335. type: string
  9336. paytime:
  9337. description: 付款时间
  9338. type: string
  9339. picurls:
  9340. description: 商品介绍图片[多张用逗号分隔]
  9341. type: string
  9342. sellaccountid:
  9343. description: 卖方账号ID[报价币种]
  9344. type: integer
  9345. sellorderid:
  9346. description: 卖方委托单号
  9347. type: string
  9348. tradeamount:
  9349. description: 成交金额
  9350. type: number
  9351. tradecharge:
  9352. description: 成交手续费(买方)
  9353. type: number
  9354. tradedate:
  9355. description: 交易日(yyyyMMdd)
  9356. type: string
  9357. tradeid:
  9358. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9359. type: string
  9360. trademode:
  9361. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9362. type: integer
  9363. tradeprice:
  9364. description: 成交价格
  9365. type: number
  9366. tradeqty:
  9367. description: 成交数量
  9368. type: integer
  9369. required:
  9370. - goodscode
  9371. - goodsname
  9372. - tradeid
  9373. - trademode
  9374. type: object
  9375. models.HsbySellMyDetail:
  9376. properties:
  9377. accountid:
  9378. description: 账户ID[报价币种]
  9379. type: integer
  9380. agreeunit:
  9381. description: 合约单位
  9382. type: number
  9383. buyorsell:
  9384. description: 买卖 - 0:买 1:卖
  9385. type: integer
  9386. currencysign:
  9387. description: 货币符号
  9388. type: string
  9389. decimalplace:
  9390. description: 报价小数位
  9391. type: integer
  9392. goodscode:
  9393. description: 商品代码(内部)
  9394. type: string
  9395. goodsid:
  9396. description: 商品ID
  9397. type: integer
  9398. goodsname:
  9399. description: 商品名称
  9400. type: string
  9401. marketid:
  9402. description: 市场ID
  9403. type: integer
  9404. orderid:
  9405. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  9406. type: string
  9407. ordertype:
  9408. description: 单据类型:0 - 发布中, 1 - 已完成
  9409. type: integer
  9410. picurls:
  9411. description: 介绍图片[多张用逗号分隔]
  9412. type: string
  9413. price:
  9414. description: 价格
  9415. type: number
  9416. qty:
  9417. description: 数量
  9418. type: integer
  9419. time:
  9420. description: 时间
  9421. type: string
  9422. trademode:
  9423. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9424. type: integer
  9425. vendorname:
  9426. description: 供应商名称
  9427. type: string
  9428. required:
  9429. - accountid
  9430. - buyorsell
  9431. - goodscode
  9432. - goodsid
  9433. - goodsname
  9434. - marketid
  9435. - orderid
  9436. - time
  9437. - trademode
  9438. type: object
  9439. models.HsbyTopGoods:
  9440. properties:
  9441. agreeunit:
  9442. description: 合约单位
  9443. type: number
  9444. currency:
  9445. description: 货币
  9446. type: string
  9447. currencysign:
  9448. description: 货币符号
  9449. type: string
  9450. decimalplace:
  9451. description: 报价小数位
  9452. type: integer
  9453. desccityid:
  9454. description: 目的地(市)
  9455. type: integer
  9456. descprovinceid:
  9457. description: 目的地(省)
  9458. type: integer
  9459. goodscode:
  9460. description: 商品代码(内部)
  9461. type: string
  9462. goodsid:
  9463. description: 商品ID(自增ID SEQ_GOODS)
  9464. type: integer
  9465. goodsname:
  9466. description: 商品名称
  9467. type: string
  9468. hotindex:
  9469. description: 景点热度
  9470. type: integer
  9471. last:
  9472. description: 现价
  9473. type: number
  9474. marketid:
  9475. description: 所属市场ID
  9476. type: integer
  9477. picurls:
  9478. description: 介绍图片[多张用逗号分隔]
  9479. type: string
  9480. quoteminunit:
  9481. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9482. type: integer
  9483. trademode:
  9484. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9485. type: integer
  9486. videourls:
  9487. description: 介绍视频[多张用逗号分隔]
  9488. type: string
  9489. required:
  9490. - goodscode
  9491. - goodsid
  9492. - goodsname
  9493. - marketid
  9494. - trademode
  9495. type: object
  9496. models.HybsMyBuyOrderDetail:
  9497. properties:
  9498. accountid:
  9499. description: 账户ID[报价币种]
  9500. type: integer
  9501. agreeunit:
  9502. description: 合约单位
  9503. type: number
  9504. buyorsell:
  9505. description: 买卖 - 0:买 1:卖
  9506. type: integer
  9507. cancelqty:
  9508. description: 撤单数量
  9509. type: integer
  9510. currencysign:
  9511. description: 货币符号
  9512. type: string
  9513. decimalplace:
  9514. description: 报价小数位
  9515. type: integer
  9516. goodscode:
  9517. description: 商品代码(内部)
  9518. type: string
  9519. goodsid:
  9520. description: 商品ID
  9521. type: integer
  9522. goodsname:
  9523. description: 商品名称
  9524. type: string
  9525. listingselecttype:
  9526. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  9527. type: integer
  9528. marketid:
  9529. description: 市场ID
  9530. type: integer
  9531. mybuystatus:
  9532. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  9533. type: integer
  9534. orderamount:
  9535. description: 委托金额
  9536. type: number
  9537. orderid:
  9538. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9539. type: string
  9540. orderprice:
  9541. description: 委托价格
  9542. type: number
  9543. orderqty:
  9544. description: 委托数量
  9545. type: integer
  9546. orderstatus:
  9547. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  9548. type: integer
  9549. ordertime:
  9550. description: 委托时间
  9551. type: string
  9552. picurls1:
  9553. description: 预售商品介绍图片[多张用逗号分隔]
  9554. type: string
  9555. picurls2:
  9556. description: 挂牌商品介绍图片[多张用逗号分隔]
  9557. type: string
  9558. trademode:
  9559. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9560. type: integer
  9561. tradeqty:
  9562. description: 成交数量
  9563. type: integer
  9564. vendorname1:
  9565. description: 预售商品供应商名称
  9566. type: string
  9567. vendorname2:
  9568. description: 挂牌商品供应商名称
  9569. type: string
  9570. required:
  9571. - accountid
  9572. - buyorsell
  9573. - goodscode
  9574. - goodsid
  9575. - goodsname
  9576. - marketid
  9577. - orderid
  9578. - orderqty
  9579. - ordertime
  9580. - trademode
  9581. type: object
  9582. models.Loginaccount:
  9583. properties:
  9584. accountname:
  9585. description: 账户名称
  9586. type: string
  9587. canoutin:
  9588. description: 是否可出入金 - 0:不可 1:可
  9589. type: integer
  9590. clientroleid:
  9591. description: 终端角色ID
  9592. type: integer
  9593. haslogined:
  9594. description: 是否已登录 - 0:未登录 1:已登录
  9595. type: integer
  9596. hasupdatedpwd:
  9597. description: 是否已更改密码 - 0:未修改 1:已修改
  9598. type: integer
  9599. lastloginip:
  9600. description: 最新登录地址
  9601. type: string
  9602. lastloginmode:
  9603. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  9604. type: integer
  9605. lastloginremark:
  9606. description: 最新登录描述
  9607. type: string
  9608. lastlogintime:
  9609. description: 最新登录时间
  9610. type: string
  9611. logincode:
  9612. description: 登录代码
  9613. type: string
  9614. loginfailnum:
  9615. description: 连续登录失败次数(登录成功时清零)
  9616. type: integer
  9617. loginid:
  9618. description: 登陆账号
  9619. type: integer
  9620. loginport:
  9621. description: 最新登录端口
  9622. type: integer
  9623. loginstatus:
  9624. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  9625. type: integer
  9626. loginusertype:
  9627. description: 登录账号类型 - 1:投资者 2:机构交易员
  9628. type: integer
  9629. mobile:
  9630. description: 手机号码(加密存储)
  9631. type: string
  9632. modifierid:
  9633. description: 修改人
  9634. type: integer
  9635. modifysrc:
  9636. description: 审核来源 - 1:管理端 2:终端
  9637. type: integer
  9638. modifytime:
  9639. description: 修改时间
  9640. type: string
  9641. password:
  9642. description: 登陆密码
  9643. type: string
  9644. pwdwrongcount:
  9645. description: 密码错误次数
  9646. type: integer
  9647. relateduserid:
  9648. description: 关联用户ID(机构)
  9649. type: integer
  9650. taaccountrighttype:
  9651. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  9652. type: integer
  9653. unfreezetime:
  9654. description: 账户解冻时间
  9655. type: string
  9656. userid:
  9657. description: 用户ID
  9658. type: integer
  9659. required:
  9660. - loginid
  9661. type: object
  9662. models.MainAccountInfo:
  9663. properties:
  9664. accountid:
  9665. description: 账号id
  9666. type: integer
  9667. accountname:
  9668. description: 账号名称(taaccount表中的名称)
  9669. type: string
  9670. appid:
  9671. description: AppID
  9672. type: string
  9673. authcode:
  9674. description: 授权码
  9675. type: string
  9676. brokerid:
  9677. description: 经纪商id
  9678. type: string
  9679. fcid:
  9680. description: 期货公司id
  9681. type: integer
  9682. fcname:
  9683. description: 期货公司代码
  9684. type: string
  9685. hedgeaccountcode:
  9686. description: 外部账号代码(主账号登录代码)
  9687. type: string
  9688. hedgeaccountpwd:
  9689. description: 密码
  9690. type: string
  9691. ismain:
  9692. description: 是否主账号
  9693. type: integer
  9694. relateduserid:
  9695. description: 关联用户id
  9696. type: integer
  9697. userid:
  9698. description: 关联用户id
  9699. type: integer
  9700. type: object
  9701. models.Market:
  9702. properties:
  9703. auctionwrtype:
  9704. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  9705. type: integer
  9706. canacceptquote:
  9707. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  9708. type: integer
  9709. cangoodsexercise:
  9710. description: '[期权]是否可现货行权- 0:否 1:是'
  9711. type: integer
  9712. cangoodsexercisetype:
  9713. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  9714. type: integer
  9715. canmanualquotestrike:
  9716. description: 是否可手动报行权价- 0:否 1:是 [期权]
  9717. type: integer
  9718. canmutistage:
  9719. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  9720. type: integer
  9721. canpreexercise:
  9722. description: '[期权]是否可预申报- 0:否 1:是'
  9723. type: integer
  9724. clearinterval:
  9725. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  9726. type: integer
  9727. contracttmp:
  9728. description: 合同模板[荷兰式][竞价式][仓单贸易]
  9729. type: string
  9730. exchareaid:
  9731. description: 所属交易所,可以没有
  9732. type: integer
  9733. goodstype:
  9734. description: 商品类型 - 1:交易商品 2:仓单商品
  9735. type: integer
  9736. hasrebate:
  9737. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  9738. type: integer
  9739. hastradecredit:
  9740. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  9741. type: integer
  9742. haswr:
  9743. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  9744. type: integer
  9745. isdeductmargin:
  9746. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  9747. type: integer
  9748. isrecordsource:
  9749. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  9750. type: integer
  9751. isreleasemargin:
  9752. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  9753. type: integer
  9754. marginformula:
  9755. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9756. type: integer
  9757. marginformula2:
  9758. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9759. type: integer
  9760. marketid:
  9761. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  9762. type: integer
  9763. marketname:
  9764. description: 市场名称
  9765. type: string
  9766. marketserviceid:
  9767. description: 市场服务ID
  9768. type: integer
  9769. marketstatus:
  9770. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  9771. type: integer
  9772. markettype:
  9773. description: 市场类型- 1:非交易服务 2:交易服务
  9774. type: integer
  9775. matchermode:
  9776. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  9777. type: integer
  9778. openmethod:
  9779. description: 开盘模式 - 0 自动 1手动
  9780. type: integer
  9781. otcuserid:
  9782. description: 场外期权做市商[场外期权]
  9783. type: integer
  9784. outersynctime:
  9785. description: 外部同步时间点(h24:mi:ss)[场外期权]
  9786. type: string
  9787. pendingflag:
  9788. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  9789. type: integer
  9790. pendingtime:
  9791. description: 待开市时间[通道交易-对冲](HH:mm)
  9792. type: string
  9793. performancetempid:
  9794. description: 履约计划模板ID - 作废
  9795. type: integer
  9796. premiumquotemode:
  9797. description: 权利金报价方式 - 1:自动 2:手动
  9798. type: integer
  9799. rebateratio:
  9800. description: 返利比率[竞价式]
  9801. type: number
  9802. reckonorder:
  9803. description: 结算顺序
  9804. type: integer
  9805. reckonpricealgorithm:
  9806. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价'
  9807. type: integer
  9808. reckonpriceparam:
  9809. description: 结算价参数
  9810. type: integer
  9811. reckontime:
  9812. description: 结算时间[通道交易-对冲](HH:mm)
  9813. type: string
  9814. roleprioritytype:
  9815. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  9816. type: integer
  9817. selllistingauditflag:
  9818. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  9819. type: integer
  9820. trademarkettype:
  9821. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  9822. type: integer
  9823. trademode:
  9824. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9825. type: integer
  9826. tradeproperty:
  9827. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权
  9828. type: integer
  9829. tradetype:
  9830. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  9831. type: integer
  9832. required:
  9833. - marketid
  9834. - marketstatus
  9835. - openmethod
  9836. - reckonpricealgorithm
  9837. - trademode
  9838. - tradeproperty
  9839. type: object
  9840. models.Marketrun:
  9841. properties:
  9842. afternexttradedate:
  9843. description: 下下交易日
  9844. type: string
  9845. clearquoteflag:
  9846. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  9847. type: integer
  9848. lastreckondate:
  9849. description: 最新交易日(结算成功)
  9850. type: string
  9851. machinedate:
  9852. description: 机器时间
  9853. type: string
  9854. manualflag:
  9855. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  9856. type: integer
  9857. marketid:
  9858. description: 市场ID
  9859. type: integer
  9860. nexttradedate:
  9861. description: 下一交易日
  9862. type: string
  9863. pretradedate:
  9864. description: 上一交易日
  9865. type: string
  9866. reckonflag:
  9867. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  9868. type: integer
  9869. runstatus:
  9870. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内) 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始 62.今日免清算
  9871. type: integer
  9872. sectionid:
  9873. description: 时间段号[多时段时用]
  9874. type: integer
  9875. tradedate:
  9876. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  9877. type: string
  9878. tradedate2:
  9879. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  9880. type: string
  9881. updatetime:
  9882. description: 更新时间
  9883. type: string
  9884. required:
  9885. - marketid
  9886. - nexttradedate
  9887. - reckonflag
  9888. - runstatus
  9889. - tradedate
  9890. - tradedate2
  9891. type: object
  9892. models.Messageboard:
  9893. properties:
  9894. contactnum:
  9895. description: 联系电话
  9896. type: string
  9897. createtime:
  9898. description: 创建时间
  9899. type: string
  9900. message:
  9901. description: 留言信息
  9902. type: string
  9903. messageboardid:
  9904. description: 留言簿ID(SEQ_MessageBoard)
  9905. type: integer
  9906. userid:
  9907. description: 用户ID
  9908. type: integer
  9909. required:
  9910. - messageboardid
  9911. type: object
  9912. models.MyCoupon:
  9913. properties:
  9914. accountid:
  9915. description: 资金账户ID
  9916. type: integer
  9917. areauserid:
  9918. description: 所属机构
  9919. type: integer
  9920. conditionvalue:
  9921. description: 条件阈值(可为0)
  9922. type: number
  9923. couponcategroy:
  9924. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  9925. type: integer
  9926. couponname:
  9927. description: 优惠券名称
  9928. type: string
  9929. coupontypeid:
  9930. description: 优惠券类型ID
  9931. type: string
  9932. couponvalue:
  9933. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9934. type: number
  9935. curfreezeqty:
  9936. description: 期末冻结数量
  9937. type: integer
  9938. curqty:
  9939. description: 期末数量
  9940. type: integer
  9941. isgeneral:
  9942. description: 是否通用券 - 0:否 1:是
  9943. type: integer
  9944. isunusable:
  9945. description: 是否不可用
  9946. type: boolean
  9947. limitedflag:
  9948. description: 是否指定商品 - 0:不限 1:限制
  9949. type: integer
  9950. limitedgoodsids:
  9951. description: 指定商品IDs[逗号分隔,前后加逗号]
  9952. type: string
  9953. orifreezeqty:
  9954. description: 期初冻结数量
  9955. type: integer
  9956. oriqty:
  9957. description: 期初数量
  9958. type: integer
  9959. reasontype:
  9960. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  9961. type: integer
  9962. todaydecrease:
  9963. description: 今日减少
  9964. type: integer
  9965. todayincrease:
  9966. description: 今日增加
  9967. type: integer
  9968. userid:
  9969. description: 用户ID
  9970. type: integer
  9971. userscope:
  9972. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  9973. type: string
  9974. required:
  9975. - accountid
  9976. - coupontypeid
  9977. type: object
  9978. models.MyCouponHold:
  9979. properties:
  9980. accountid:
  9981. description: 资金账户ID
  9982. type: integer
  9983. conditionvalue:
  9984. description: 条件阈值(可为0)
  9985. type: number
  9986. couponcategroy:
  9987. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  9988. type: integer
  9989. couponholdid:
  9990. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  9991. type: string
  9992. couponname:
  9993. description: 优惠券名称
  9994. type: string
  9995. coupontypeid:
  9996. description: 优惠券类型ID - SEQ_COUPONTYPE
  9997. type: string
  9998. couponvalue:
  9999. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  10000. type: number
  10001. createtime:
  10002. description: 创建时间
  10003. type: string
  10004. enddate:
  10005. description: 结束日期
  10006. type: string
  10007. giveapplyid:
  10008. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  10009. type: integer
  10010. holdstatus:
  10011. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  10012. type: integer
  10013. isgeneral:
  10014. description: 是否通用券 - 0:否 1:是
  10015. type: integer
  10016. limitedflag:
  10017. description: 是否指定商品 - 0:不限 1:限制
  10018. type: integer
  10019. limitedgoodsids:
  10020. description: 指定商品IDs[逗号分隔]
  10021. type: string
  10022. qty:
  10023. description: 数量(按1平铺)
  10024. type: integer
  10025. startdate:
  10026. description: 开始日期
  10027. type: string
  10028. userid:
  10029. description: 用户ID
  10030. type: integer
  10031. userscope:
  10032. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  10033. type: string
  10034. required:
  10035. - couponholdid
  10036. type: object
  10037. models.MyUsedCoupon:
  10038. properties:
  10039. accountid:
  10040. description: 资金账户ID(买方)
  10041. type: integer
  10042. conditionvalue:
  10043. description: 条件阈值(可为0)
  10044. type: number
  10045. couponcategroy:
  10046. description: 种类 - 1:现金券 2:折扣券
  10047. type: integer
  10048. couponname:
  10049. description: 优惠券名称
  10050. type: string
  10051. coupontypeid:
  10052. description: 优惠券类型ID(买方)
  10053. type: string
  10054. couponvalue:
  10055. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  10056. type: number
  10057. createtime:
  10058. description: 创建时间
  10059. type: string
  10060. goodsid:
  10061. description: 商品ID
  10062. type: integer
  10063. handlestatus:
  10064. description: 处理状态
  10065. type: integer
  10066. marketid:
  10067. description: 市场ID
  10068. type: integer
  10069. offamount:
  10070. description: 优惠金额
  10071. type: number
  10072. orderid:
  10073. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10074. type: string
  10075. sellaccountid:
  10076. description: 资金账户ID(卖方)
  10077. type: integer
  10078. tradeamount:
  10079. description: 成交金额
  10080. type: number
  10081. tradeid:
  10082. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10083. type: string
  10084. usedqty:
  10085. description: 使用数量
  10086. type: integer
  10087. required:
  10088. - coupontypeid
  10089. - orderid
  10090. type: object
  10091. models.OperationPrimaryMenu:
  10092. properties:
  10093. Children:
  10094. description: 二级功能菜单
  10095. items:
  10096. $ref: '#/definitions/models.OperationSecondaryMenu'
  10097. type: array
  10098. Key:
  10099. description: 菜单KEY
  10100. type: string
  10101. Label:
  10102. description: 菜单标题
  10103. type: string
  10104. type: object
  10105. models.OperationSecondaryMenu:
  10106. properties:
  10107. Key:
  10108. description: 菜单KEY
  10109. type: string
  10110. Label:
  10111. description: 菜单标题
  10112. type: string
  10113. TabList:
  10114. description: 三级功能菜单
  10115. items:
  10116. $ref: '#/definitions/models.OperationTabMenu'
  10117. type: array
  10118. type: object
  10119. models.OperationTabMenu:
  10120. properties:
  10121. Key:
  10122. description: 菜单KEY
  10123. type: string
  10124. Label:
  10125. description: 菜单标题
  10126. type: string
  10127. type: object
  10128. models.QhjAccountOutInApply:
  10129. properties:
  10130. accountcode:
  10131. description: 资金账号
  10132. type: string
  10133. accountname:
  10134. description: 用户名称(名称)
  10135. type: string
  10136. accountpwd:
  10137. description: 资金密码
  10138. type: string
  10139. accountticket:
  10140. description: 最新账户服务流水号
  10141. type: string
  10142. amount:
  10143. description: 金额
  10144. type: number
  10145. applyremark:
  10146. description: 申请备注
  10147. type: string
  10148. applystatus:
  10149. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败; 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22: 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  10150. type: integer
  10151. auditid:
  10152. description: 审核人
  10153. type: integer
  10154. audittime:
  10155. description: 审核时间
  10156. type: string
  10157. bank_apply_ticket:
  10158. description: 银行申请流水
  10159. type: string
  10160. bankaccountname:
  10161. description: 银行账户名
  10162. type: string
  10163. bankaccountno:
  10164. description: 银行卡号
  10165. type: string
  10166. bankid:
  10167. description: 银行编号
  10168. type: string
  10169. bankticket:
  10170. description: 银行流水
  10171. type: string
  10172. branchbankid:
  10173. description: 银行支行号
  10174. type: string
  10175. branchbankname:
  10176. description: 银行支行名称
  10177. type: string
  10178. capamountout:
  10179. description: 出金(劣后本金) - 外部子账户
  10180. type: number
  10181. certificatephotourl:
  10182. description: 凭证地址
  10183. type: string
  10184. charge:
  10185. description: 手续费
  10186. type: number
  10187. checkerrorflag:
  10188. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  10189. type: integer
  10190. currency:
  10191. description: 币种
  10192. type: string
  10193. cusbankid:
  10194. description: 托管银行编号
  10195. type: string
  10196. exchticket:
  10197. description: 银行服务流水号
  10198. type: string
  10199. executetype:
  10200. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金'
  10201. type: integer
  10202. extendinfo:
  10203. description: 扩展信息
  10204. type: string
  10205. extoperateid:
  10206. description: 交易服务流水号
  10207. type: integer
  10208. infamount:
  10209. description: 劣后金额(自有)
  10210. type: number
  10211. logincode:
  10212. description: 登录账号(账号)
  10213. type: string
  10214. netaddr:
  10215. description: 调转网址
  10216. type: string
  10217. priamount:
  10218. description: 优先金额(授信)
  10219. type: number
  10220. reauditid:
  10221. description: 复审人
  10222. type: integer
  10223. reauditremark:
  10224. description: 复审备注
  10225. type: string
  10226. reaudittime:
  10227. description: 复审时间
  10228. type: string
  10229. relatedorderid:
  10230. description: 三方关联ID
  10231. type: string
  10232. remark:
  10233. description: 备注
  10234. type: string
  10235. remark2:
  10236. description: 备注(失败原因)
  10237. type: string
  10238. soucreamount:
  10239. description: 原始出入金金额
  10240. type: number
  10241. soucrecurrencyid:
  10242. description: 原始出入金币种
  10243. type: integer
  10244. tradedate:
  10245. description: 交易日(yyyyMMdd)
  10246. type: string
  10247. updatetime:
  10248. description: 更新时间(申请时间)
  10249. type: string
  10250. userid:
  10251. description: 用户id
  10252. type: integer
  10253. userinfotype:
  10254. description: 账户类型 1-个人 2-企业
  10255. type: integer
  10256. type: object
  10257. models.QhjAgreementChangeLog:
  10258. properties:
  10259. agreementcontent:
  10260. description: 协议内容
  10261. type: string
  10262. agreementfrequency:
  10263. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  10264. type: integer
  10265. agreementid:
  10266. description: 协议ID
  10267. type: integer
  10268. agreementname:
  10269. description: 协议名称
  10270. type: string
  10271. agreementno:
  10272. description: 协议编号
  10273. type: string
  10274. agreementtype:
  10275. description: 协议类型 - 1:注册 2:登录 3:交易
  10276. type: integer
  10277. agreementversion:
  10278. description: 协议版本号
  10279. type: integer
  10280. logid:
  10281. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  10282. type: integer
  10283. reviserid:
  10284. description: 修改人
  10285. type: integer
  10286. revisersrc:
  10287. description: 修改来源 - 1:管理端 2:终端
  10288. type: integer
  10289. updatetime:
  10290. description: 更新时间
  10291. type: string
  10292. type: object
  10293. models.QhjAgreementConfig:
  10294. properties:
  10295. agreementcontent:
  10296. description: 协议内容
  10297. type: string
  10298. agreementfrequency:
  10299. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  10300. type: integer
  10301. agreementid:
  10302. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  10303. type: integer
  10304. agreementname:
  10305. description: 协议名称
  10306. type: string
  10307. agreementno:
  10308. description: 协议编号
  10309. type: string
  10310. agreementtype:
  10311. description: 协议类型 - 1:注册 2:登录 3:交易
  10312. type: integer
  10313. agreementversion:
  10314. description: 协议版本号(从1开始每次修改加1)
  10315. type: integer
  10316. createtime:
  10317. description: 创建时间
  10318. type: string
  10319. creatorid:
  10320. description: 创建人
  10321. type: integer
  10322. creatorsrc:
  10323. description: 创建来源 - 1:管理端 2:终端
  10324. type: integer
  10325. isvalid:
  10326. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  10327. type: integer
  10328. reviserid:
  10329. description: 修改人
  10330. type: integer
  10331. revisersrc:
  10332. description: 修改来源 - 1:管理端 2:终端
  10333. type: integer
  10334. updatetime:
  10335. description: 更新时间
  10336. type: string
  10337. type: object
  10338. models.QhjAreaFinanceConfig:
  10339. properties:
  10340. additionalratio:
  10341. description: 追加款比例
  10342. type: number
  10343. advanceratio:
  10344. description: 预付款比例
  10345. type: number
  10346. alarmratio:
  10347. description: 告警比例
  10348. type: number
  10349. consumptiondirectreward:
  10350. description: 消费直推奖励值
  10351. type: number
  10352. consumptionenabled:
  10353. description: 是否启用消费奖励 - 0:不启用 1:启用
  10354. type: integer
  10355. consumptionindirectreward:
  10356. description: 消费间推奖励值
  10357. type: number
  10358. consumptionmodel:
  10359. description: 消费奖励方式 - 1:比率 2:固定
  10360. type: integer
  10361. customerservicenum:
  10362. description: 客服电话
  10363. type: string
  10364. dayinterestrate:
  10365. description: 日利率
  10366. type: number
  10367. disableconsumptiontips:
  10368. description: 关闭消费奖励提示
  10369. type: string
  10370. modifierid:
  10371. description: 修改人ID
  10372. type: integer
  10373. modifysrc:
  10374. description: 审核来源 - 1:管理端 2:终端
  10375. type: integer
  10376. modifytime:
  10377. description: 修改时间
  10378. type: string
  10379. promotionvalue:
  10380. description: 推广奖励值(固定)
  10381. type: number
  10382. scoreconfigvalue1:
  10383. description: 提货积分配置1
  10384. type: integer
  10385. scoreconfigvalue2:
  10386. description: 提货积分配置2
  10387. type: integer
  10388. userid:
  10389. description: 机构用户ID其他做市关系,都设置为 1
  10390. type: integer
  10391. username:
  10392. description: 用户名称
  10393. type: string
  10394. type: object
  10395. models.QhjBankAccountSign:
  10396. properties:
  10397. accountcode:
  10398. description: 资金账号
  10399. type: string
  10400. accountname:
  10401. description: 资金账号对应的账号名(UserName)
  10402. type: string
  10403. accountname2:
  10404. description: 资金账号对应的账号名(UserName) - 密文
  10405. type: string
  10406. accounttype:
  10407. description: 账户类型(UserType)
  10408. type: integer
  10409. applicationtime:
  10410. description: 最后一次更新的时间
  10411. type: string
  10412. applyexchticket:
  10413. description: 申请流水
  10414. type: string
  10415. auditid:
  10416. description: 审核人
  10417. type: integer
  10418. audittime:
  10419. description: 审核时间
  10420. type: string
  10421. bankaccountname:
  10422. description: 签约银行卡账号名
  10423. type: string
  10424. bankaccountname2:
  10425. description: 签约银行卡账号名 - 密文
  10426. type: string
  10427. bankaccountno:
  10428. description: 银行卡号
  10429. type: string
  10430. bankaccountno2:
  10431. description: 银行卡号 - 密文
  10432. type: string
  10433. bankaccounttype:
  10434. description: 银行账户类型 - 1-对私; 2-对公
  10435. type: integer
  10436. bankcardtype:
  10437. description: 银行卡类型
  10438. type: integer
  10439. bankchildaccount:
  10440. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  10441. type: string
  10442. bankcity:
  10443. description: 开户行城市
  10444. type: string
  10445. bankid:
  10446. description: 签约银行ID
  10447. type: string
  10448. bankname:
  10449. description: 签约银行名称
  10450. type: string
  10451. bankprovince:
  10452. description: 开户行省份
  10453. type: string
  10454. branchbankid:
  10455. description: 签约银行支行号
  10456. type: string
  10457. branchbankname:
  10458. description: 签约银行支行名称
  10459. type: string
  10460. cardno:
  10461. description: 证件号码
  10462. type: string
  10463. cardno2:
  10464. description: 证件号码 - 密文
  10465. type: string
  10466. cardtype:
  10467. description: 证件类型
  10468. type: string
  10469. currency:
  10470. description: 币种
  10471. type: string
  10472. cusbankid:
  10473. description: 托管银行编号
  10474. type: string
  10475. direct:
  10476. description: 方向(可以判断那方先发起的签约)
  10477. type: integer
  10478. exchticket:
  10479. description: 最后一次签约成功的流水号
  10480. type: string
  10481. extendinfo:
  10482. description: 扩展信息(JSON字符串)
  10483. type: string
  10484. mobilephone:
  10485. description: 手机号
  10486. type: string
  10487. mobilephone2:
  10488. description: 手机号 - 密文
  10489. type: string
  10490. netaddr:
  10491. description: 调转网址
  10492. type: string
  10493. relateduserid:
  10494. description: 关联使用者userid
  10495. type: integer
  10496. signstatus:
  10497. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核
  10498. type: integer
  10499. updatetime:
  10500. description: 更新时间(签解约更新时间)
  10501. type: string
  10502. type: object
  10503. models.QhjBankInfo:
  10504. properties:
  10505. bankid:
  10506. description: 银行ID
  10507. type: string
  10508. bankname:
  10509. description: 银行名称
  10510. type: string
  10511. clearbankno:
  10512. description: 清算系统银行编号
  10513. type: string
  10514. orderindex:
  10515. description: 排序顺序
  10516. type: integer
  10517. status:
  10518. description: 状态 - 0:正常 1:注销
  10519. type: integer
  10520. type: object
  10521. models.QhjBrokerApply:
  10522. properties:
  10523. applicantid:
  10524. description: 申请人
  10525. type: integer
  10526. applysrc:
  10527. description: 申请来源 - 1:管理端 2:终端
  10528. type: integer
  10529. applystatus:
  10530. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  10531. type: integer
  10532. applytime:
  10533. description: 申请时间
  10534. type: string
  10535. auditorid:
  10536. description: 审核人
  10537. type: integer
  10538. auditremark:
  10539. description: 审核备注
  10540. type: string
  10541. auditsrc:
  10542. description: 审核来源 - 1:管理端 2:终端
  10543. type: integer
  10544. audittime:
  10545. description: 审核时间
  10546. type: string
  10547. audittradedate:
  10548. description: 审核交易日(yyyyMMdd)
  10549. type: string
  10550. brokerapplyid:
  10551. description: 申请ID(SEQ_BROKERAPPLY)
  10552. type: integer
  10553. cardbackphotourl:
  10554. description: 证件背面图片地址
  10555. type: string
  10556. cardfrontphotourl:
  10557. description: 证件正面图片地址
  10558. type: string
  10559. cardnum:
  10560. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  10561. type: string
  10562. customername:
  10563. description: 姓名
  10564. type: string
  10565. logincode:
  10566. description: 登录代码
  10567. type: string
  10568. mobile:
  10569. description: 手机号码
  10570. type: string
  10571. parentuserid:
  10572. description: 所属机构id
  10573. type: integer
  10574. parentusername:
  10575. description: 所属机构名称
  10576. type: string
  10577. refereeuserid:
  10578. description: 推荐人id(经纪人)
  10579. type: integer
  10580. refernum:
  10581. description: 推荐码
  10582. type: string
  10583. remark:
  10584. description: 备注
  10585. type: string
  10586. subarealevelpath:
  10587. description: 层级路径
  10588. type: string
  10589. tradedate:
  10590. description: 交易日(yyyyMMdd)
  10591. type: string
  10592. userid:
  10593. description: 申请人用户ID
  10594. type: integer
  10595. userinfotype:
  10596. description: 用户类型 1-个人 2-企业
  10597. type: integer
  10598. username:
  10599. description: 用户名称
  10600. type: string
  10601. type: object
  10602. models.QhjBrokerApplyEx:
  10603. properties:
  10604. applylist:
  10605. description: 经纪人申请记录(只返回最新一条)
  10606. items:
  10607. $ref: '#/definitions/models.QhjBrokerApply'
  10608. type: array
  10609. canrecommend:
  10610. description: 是否经纪人 0-不是 1-是
  10611. type: integer
  10612. refernum:
  10613. description: 推荐码
  10614. type: string
  10615. userid:
  10616. description: 用户id
  10617. type: integer
  10618. userinfotype:
  10619. description: 用户类型 1-个人 2-企业
  10620. type: integer
  10621. type: object
  10622. models.QhjBrokerRewardLog:
  10623. properties:
  10624. accountid:
  10625. description: 资金账号ID
  10626. type: integer
  10627. createtime:
  10628. description: 创建时间(时间)
  10629. type: string
  10630. handlestatus:
  10631. description: 处理状态
  10632. type: integer
  10633. logid:
  10634. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10635. type: string
  10636. marketid:
  10637. description: 市场ID
  10638. type: integer
  10639. mmaccountid:
  10640. description: 做市商资金账号ID
  10641. type: string
  10642. mmuserid:
  10643. description: 做市商用户ID
  10644. type: string
  10645. rewardamount:
  10646. description: 奖励金额
  10647. type: number
  10648. rewardmodel:
  10649. description: 消费奖励方式 - 1:比率 2:固定
  10650. type: integer
  10651. rewardtype:
  10652. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  10653. type: integer
  10654. rewardvalue:
  10655. description: 配置奖励值
  10656. type: number
  10657. srcamount:
  10658. description: 成交金额 [消费奖励] (金额)
  10659. type: number
  10660. srcgoodsid:
  10661. description: 来源商品ID [消费奖励]
  10662. type: string
  10663. srctime:
  10664. description: 来源时间 (成交时间) [消费奖励]
  10665. type: string
  10666. srctradeid:
  10667. description: 来源成交单ID [消费奖励] - 排除提货成交
  10668. type: string
  10669. srcuserid:
  10670. description: 来源用户ID(推广账户)
  10671. type: string
  10672. srcusername:
  10673. description: 推广账户名称
  10674. type: string
  10675. tradedate:
  10676. description: 交易日(yyyyMMdd)
  10677. type: string
  10678. userid:
  10679. description: 经纪人用户ID
  10680. type: integer
  10681. type: object
  10682. models.QhjContract:
  10683. properties:
  10684. contractconfirmtime:
  10685. description: 合同确认时间(时间)
  10686. type: string
  10687. currisklevel:
  10688. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  10689. type: integer
  10690. decimalplace:
  10691. description: 商品报价小数位
  10692. type: integer
  10693. enumdicname:
  10694. description: 单位名称
  10695. type: string
  10696. goodscode:
  10697. description: 商品代码
  10698. type: string
  10699. goodsid:
  10700. description: 商品ID [5:融资单]
  10701. type: integer
  10702. goodsname:
  10703. description: 商品名称
  10704. type: string
  10705. goodunitid:
  10706. description: 商品单位id
  10707. type: integer
  10708. initmargin:
  10709. description: 初始保证金(首付款)
  10710. type: number
  10711. lenderamount:
  10712. description: 贷款金额(总额|订单总额)
  10713. type: number
  10714. marginratio:
  10715. description: 保证金比率(首付比例)
  10716. type: number
  10717. payamount:
  10718. description: 已付(已付货款)
  10719. type: number
  10720. reckonrecovermargin:
  10721. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  10722. type: number
  10723. recoveredmargin:
  10724. description: 已追缴保证金
  10725. type: number
  10726. remainamount:
  10727. description: 合同剩余金额(融资额)
  10728. type: number
  10729. scfcontractid:
  10730. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10731. type: string
  10732. scfcontractstatus:
  10733. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交
  10734. type: integer
  10735. scfcontracttype:
  10736. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  10737. type: integer
  10738. totalinterest:
  10739. description: 已计总利息(利息)
  10740. type: number
  10741. tradeprice:
  10742. description: 成交价格(成本价格)
  10743. type: number
  10744. userid:
  10745. description: 用户ID
  10746. type: integer
  10747. username:
  10748. description: 用户名称
  10749. type: string
  10750. wrqty:
  10751. description: 仓单数量(数量)
  10752. type: number
  10753. type: object
  10754. models.QhjContractLog:
  10755. properties:
  10756. amount:
  10757. description: 支付金额
  10758. type: number
  10759. amounttype:
  10760. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  10761. type: integer
  10762. logid:
  10763. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10764. type: string
  10765. remainamount:
  10766. description: 剩余货款
  10767. type: number
  10768. scfcontractid:
  10769. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10770. type: integer
  10771. updatetime:
  10772. description: 更新时间
  10773. type: string
  10774. type: object
  10775. models.QhjCusBankSignBankEx:
  10776. properties:
  10777. banklst:
  10778. description: 银行列表
  10779. items:
  10780. $ref: '#/definitions/models.QhjBankInfo'
  10781. type: array
  10782. canallot:
  10783. description: 是否支持跨行调拨 - 0:不支持 1:支持
  10784. type: integer
  10785. canallotquery:
  10786. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  10787. type: integer
  10788. canbindcard:
  10789. description: 是否可绑卡与解卡 - 0:不可 1:可以
  10790. type: integer
  10791. caninamount:
  10792. description: 是否可入金 - 0:不可 1:可以
  10793. type: integer
  10794. caninamount2:
  10795. description: 是否可入金(网银端) - 0:不可 1:可以
  10796. type: integer
  10797. canmodifybankcard:
  10798. description: 是否可修改银行卡号 - 0:不可 1:可以
  10799. type: integer
  10800. canmodifyphone:
  10801. description: 是否可修改手机号 - 0:不可 1:可以
  10802. type: integer
  10803. canmodifysigninfo:
  10804. description: 是否可修改签约信息 - 0:不可 1:可以
  10805. type: integer
  10806. canoutamount:
  10807. description: 是否可出金 - 0:不可 1:可以
  10808. type: integer
  10809. canoutamount2:
  10810. description: 是否可出金(网银端) - 0:不可 1:可以
  10811. type: integer
  10812. canrelease:
  10813. description: 是否可解约 - 0:不可 1:可以
  10814. type: integer
  10815. canrelease2:
  10816. description: 是否可解约(网银端) - 0:不可 1:可以
  10817. type: integer
  10818. cansign:
  10819. description: 是否可签约 - 0:不可 1:可以
  10820. type: integer
  10821. cansign2:
  10822. description: 是否可签约(网银端) - 0:不可 1:可以
  10823. type: integer
  10824. currency:
  10825. description: 币种
  10826. type: string
  10827. cusbankid:
  10828. description: 托管银行编号(对应清算中心TRAN_NO)
  10829. type: string
  10830. cusbankname:
  10831. description: 银行业务名称
  10832. type: string
  10833. cusbankshortname:
  10834. description: 银行业务简称
  10835. type: string
  10836. exchbankid:
  10837. description: 交易所开户银行ID
  10838. type: string
  10839. exchpaybankaccname:
  10840. description: 交易所支出结算账户户名
  10841. type: string
  10842. exchpaybankaccno:
  10843. description: 交易所支出结算账户
  10844. type: string
  10845. isneedcheck:
  10846. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  10847. type: integer
  10848. isneedclear:
  10849. description: 是否需要清算 - 0:不需要 1:需要
  10850. type: integer
  10851. lastcheckstatus:
  10852. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  10853. type: integer
  10854. lastchecktime:
  10855. description: 最后对账时间
  10856. type: string
  10857. lastclearstatus:
  10858. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  10859. type: integer
  10860. lastcleartime:
  10861. description: 最后清算时间
  10862. type: string
  10863. lastsignintime:
  10864. description: 最后签到时间
  10865. type: string
  10866. lastsignouttime:
  10867. description: 最后签退时间
  10868. type: string
  10869. riskinfo:
  10870. description: 签约风险提示书
  10871. type: string
  10872. signstatus:
  10873. description: 当前签到/签退状态 - 1:签到 2:签退
  10874. type: integer
  10875. tradedate:
  10876. description: 交易日(yyyyMMdd)
  10877. type: string
  10878. updatetime:
  10879. description: 当前签到/签退更新时间
  10880. type: string
  10881. type: object
  10882. models.QhjCustomer:
  10883. properties:
  10884. address:
  10885. description: 通讯地址
  10886. type: string
  10887. attachment1:
  10888. description: 附件1
  10889. type: string
  10890. audittime:
  10891. description: 审核时间
  10892. type: string
  10893. cardbackphotourl:
  10894. description: 证件反面图片地址
  10895. type: string
  10896. cardfrontphotourl:
  10897. description: 证件正面图片地址
  10898. type: string
  10899. cardnum:
  10900. description: 证件号码
  10901. type: string
  10902. cardtype:
  10903. description: 证件类型
  10904. type: integer
  10905. cardtypename:
  10906. description: 证件类型名称
  10907. type: string
  10908. cityid:
  10909. description: 市
  10910. type: integer
  10911. cityname:
  10912. description: 城市名称
  10913. type: string
  10914. contactname:
  10915. description: 联系人
  10916. type: string
  10917. countryid:
  10918. description: 国家
  10919. type: integer
  10920. countryname:
  10921. description: 国家名称
  10922. type: string
  10923. createtime:
  10924. description: 创建时间
  10925. type: string
  10926. customername:
  10927. description: 客户名称
  10928. type: string
  10929. districtid:
  10930. description: 区域
  10931. type: integer
  10932. districtname:
  10933. description: 地区名称
  10934. type: string
  10935. email:
  10936. description: 邮件
  10937. type: string
  10938. legalpersonname:
  10939. description: 法人姓名(企业)
  10940. type: string
  10941. logincode:
  10942. description: 登录账号(代码)
  10943. type: string
  10944. memberuserid:
  10945. description: 所属机构ID(所属会员)
  10946. type: integer
  10947. memberusername:
  10948. description: 所属会员名称
  10949. type: string
  10950. mobile:
  10951. description: 手机号码
  10952. type: string
  10953. modifytime:
  10954. description: 修改时间
  10955. type: string
  10956. nickname:
  10957. description: 昵称
  10958. type: string
  10959. parentuserid:
  10960. description: 上级机构(所属机构)
  10961. type: integer
  10962. parentusername:
  10963. description: 所属机构名称
  10964. type: string
  10965. provinceid:
  10966. description: 省
  10967. type: integer
  10968. provincename:
  10969. description: 省名称
  10970. type: string
  10971. proxystatementurl:
  10972. description: 授权委托书
  10973. type: string
  10974. remark:
  10975. description: 备注
  10976. type: string
  10977. status:
  10978. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  10979. type: integer
  10980. statusdesc:
  10981. description: 账户状态中文描述
  10982. type: string
  10983. taxpayernum:
  10984. description: 纳税人识别号
  10985. type: string
  10986. telphone:
  10987. description: 联系电话
  10988. type: string
  10989. userid:
  10990. description: 用户ID
  10991. type: integer
  10992. userinfotype:
  10993. description: 客户类型 1-个人 2-企业
  10994. type: integer
  10995. username:
  10996. description: 用户名称
  10997. type: string
  10998. type: object
  10999. models.QhjCustomerSignLog:
  11000. properties:
  11001. agreementcontent:
  11002. description: 协议内容
  11003. type: string
  11004. agreementid:
  11005. description: 协议ID
  11006. type: integer
  11007. agreementname:
  11008. description: 协议名称
  11009. type: string
  11010. agreementno:
  11011. description: 协议编号
  11012. type: string
  11013. agreementtype:
  11014. description: 协议类型 - 1:注册 2:登录 3:交易
  11015. type: integer
  11016. agreementversion:
  11017. description: 协议版本号
  11018. type: integer
  11019. createtime:
  11020. description: 创建时间
  11021. type: string
  11022. goodscode:
  11023. description: 商品代码
  11024. type: string
  11025. goodsid:
  11026. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11027. type: integer
  11028. goodsname:
  11029. description: 商品名称
  11030. type: string
  11031. logid:
  11032. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  11033. type: integer
  11034. nodetype:
  11035. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  11036. type: integer
  11037. signadressurl:
  11038. description: 签约文件地址
  11039. type: string
  11040. signtimestamp:
  11041. description: 签约状态时间戳
  11042. type: string
  11043. userid:
  11044. description: 客户ID
  11045. type: integer
  11046. username:
  11047. description: 客户名称
  11048. type: string
  11049. type: object
  11050. models.QhjCustomerSignStatus:
  11051. properties:
  11052. createtime:
  11053. description: 创建时间
  11054. type: string
  11055. goodscode:
  11056. description: 商品代码
  11057. type: string
  11058. goodsid:
  11059. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11060. type: integer
  11061. goodsname:
  11062. description: 商品名称
  11063. type: string
  11064. nodetype:
  11065. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  11066. type: integer
  11067. signtimestamp:
  11068. description: 签约状态时间戳
  11069. type: string
  11070. tradedate:
  11071. description: 创建交易日(yyyyMMdd)
  11072. type: string
  11073. updatetime:
  11074. description: 更新时间
  11075. type: string
  11076. userid:
  11077. description: 客户ID
  11078. type: integer
  11079. username:
  11080. description: 客户名称
  11081. type: string
  11082. type: object
  11083. models.QhjMgrAccountOutInApply:
  11084. properties:
  11085. accountcode:
  11086. description: 资金账号
  11087. type: string
  11088. accountname:
  11089. description: 用户名称(名称)
  11090. type: string
  11091. accountpwd:
  11092. description: 资金密码
  11093. type: string
  11094. accountticket:
  11095. description: 最新账户服务流水号
  11096. type: string
  11097. amount:
  11098. description: 金额
  11099. type: number
  11100. applyremark:
  11101. description: 申请备注
  11102. type: string
  11103. applystatus:
  11104. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败; 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22: 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  11105. type: integer
  11106. auditid:
  11107. description: 审核人
  11108. type: integer
  11109. audittime:
  11110. description: 审核时间
  11111. type: string
  11112. bank_apply_ticket:
  11113. description: 银行申请流水
  11114. type: string
  11115. bankaccountname:
  11116. description: 银行账户名
  11117. type: string
  11118. bankaccountno:
  11119. description: 银行卡号
  11120. type: string
  11121. bankid:
  11122. description: 银行编号
  11123. type: string
  11124. bankname:
  11125. description: 银行名称
  11126. type: string
  11127. bankticket:
  11128. description: 银行流水
  11129. type: string
  11130. branchbankid:
  11131. description: 银行支行号
  11132. type: string
  11133. branchbankname:
  11134. description: 银行支行名称
  11135. type: string
  11136. capamountout:
  11137. description: 出金(劣后本金) - 外部子账户
  11138. type: number
  11139. certificatephotourl:
  11140. description: 凭证地址
  11141. type: string
  11142. charge:
  11143. description: 手续费
  11144. type: number
  11145. checkerrorflag:
  11146. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  11147. type: integer
  11148. currency:
  11149. description: 币种
  11150. type: string
  11151. cusbankid:
  11152. description: 托管银行编号
  11153. type: string
  11154. exchticket:
  11155. description: 银行服务流水号
  11156. type: string
  11157. executetype:
  11158. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金'
  11159. type: integer
  11160. extendinfo:
  11161. description: 扩展信息
  11162. type: string
  11163. extoperateid:
  11164. description: 交易服务流水号
  11165. type: integer
  11166. infamount:
  11167. description: 劣后金额(自有)
  11168. type: number
  11169. logincode:
  11170. description: 登录账号(账号)
  11171. type: string
  11172. netaddr:
  11173. description: 调转网址
  11174. type: string
  11175. priamount:
  11176. description: 优先金额(授信)
  11177. type: number
  11178. reauditid:
  11179. description: 复审人
  11180. type: integer
  11181. reauditremark:
  11182. description: 复审备注
  11183. type: string
  11184. reaudittime:
  11185. description: 复审时间
  11186. type: string
  11187. relatedorderid:
  11188. description: 三方关联ID
  11189. type: string
  11190. remark:
  11191. description: 备注
  11192. type: string
  11193. remark2:
  11194. description: 备注(失败原因)
  11195. type: string
  11196. soucreamount:
  11197. description: 原始出入金金额
  11198. type: number
  11199. soucrecurrencyid:
  11200. description: 原始出入金币种
  11201. type: integer
  11202. tradedate:
  11203. description: 交易日(yyyyMMdd)
  11204. type: string
  11205. updatetime:
  11206. description: 更新时间(申请时间)
  11207. type: string
  11208. userid:
  11209. description: 用户id
  11210. type: integer
  11211. userinfotype:
  11212. description: 账户类型 1-个人 2-企业
  11213. type: integer
  11214. type: object
  11215. models.QhjMgrBrokerApply:
  11216. properties:
  11217. applicantid:
  11218. description: 申请人
  11219. type: integer
  11220. applysrc:
  11221. description: 申请来源 - 1:管理端 2:终端
  11222. type: integer
  11223. applystatus:
  11224. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  11225. type: integer
  11226. applytime:
  11227. description: 申请时间
  11228. type: string
  11229. auditorid:
  11230. description: 审核人
  11231. type: integer
  11232. auditremark:
  11233. description: 审核备注
  11234. type: string
  11235. auditsrc:
  11236. description: 审核来源 - 1:管理端 2:终端
  11237. type: integer
  11238. audittime:
  11239. description: 审核时间
  11240. type: string
  11241. audittradedate:
  11242. description: 审核交易日(yyyyMMdd)
  11243. type: string
  11244. brokerapplyid:
  11245. description: 申请ID(SEQ_BROKERAPPLY)
  11246. type: integer
  11247. cardbackphotourl:
  11248. description: 证件背面图片地址
  11249. type: string
  11250. cardfrontphotourl:
  11251. description: 证件正面图片地址
  11252. type: string
  11253. cardnum:
  11254. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  11255. type: string
  11256. customername:
  11257. description: 姓名
  11258. type: string
  11259. filterstatus:
  11260. description: 筛选条件
  11261. type: string
  11262. logincode:
  11263. description: 登录代码
  11264. type: string
  11265. mobile:
  11266. description: 手机号码
  11267. type: string
  11268. parentuserid:
  11269. description: 所属机构id
  11270. type: integer
  11271. parentusername:
  11272. description: 所属机构名称
  11273. type: string
  11274. refereeuserid:
  11275. description: 推荐人id(经纪人)
  11276. type: integer
  11277. refernum:
  11278. description: 推荐码
  11279. type: string
  11280. remark:
  11281. description: 备注
  11282. type: string
  11283. subarealevelpath:
  11284. description: 层级路径
  11285. type: string
  11286. tradedate:
  11287. description: 交易日(yyyyMMdd)
  11288. type: string
  11289. userid:
  11290. description: 申请人用户ID
  11291. type: integer
  11292. userinfotype:
  11293. description: 用户类型 1-个人 2-企业
  11294. type: integer
  11295. username:
  11296. description: 用户名称
  11297. type: string
  11298. type: object
  11299. models.QhjMgrBrokerRewardReport:
  11300. properties:
  11301. createtime:
  11302. description: 创建时间(注册时间)
  11303. type: string
  11304. cycletime:
  11305. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  11306. type: string
  11307. cycletype:
  11308. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  11309. type: integer
  11310. directtotalnum:
  11311. description: 直推总人数【期末】
  11312. type: integer
  11313. indirecttotalnum:
  11314. description: 间推总人数【期末】
  11315. type: integer
  11316. mobile:
  11317. description: 电话号码
  11318. type: string
  11319. refereeuserid:
  11320. description: 推荐人id(经纪人id)
  11321. type: integer
  11322. refereeusername:
  11323. description: 推荐人名称(经纪人) 上级经纪人名称
  11324. type: string
  11325. refernum:
  11326. description: 推荐码
  11327. type: string
  11328. subarealevelpath:
  11329. description: 用户层级路径
  11330. type: string
  11331. todayrewardamount:
  11332. description: 奖励总金额【汇总】
  11333. type: number
  11334. updatetime:
  11335. description: 更新时间
  11336. type: string
  11337. userid:
  11338. description: 经纪人用户ID
  11339. type: integer
  11340. userinfotype:
  11341. description: 用户类型 1-个人 2-企业
  11342. type: integer
  11343. username:
  11344. description: 用户名称
  11345. type: string
  11346. type: object
  11347. models.QhjMgrContract:
  11348. properties:
  11349. contractconfirmtime:
  11350. description: 合同确认时间(时间)
  11351. type: string
  11352. currisklevel:
  11353. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  11354. type: integer
  11355. decimalplace:
  11356. description: 商品报价小数位
  11357. type: integer
  11358. enumdicname:
  11359. description: 单位名称
  11360. type: string
  11361. goodscode:
  11362. description: 商品代码
  11363. type: string
  11364. goodsid:
  11365. description: 商品ID [5:融资单]
  11366. type: integer
  11367. goodsname:
  11368. description: 商品名称
  11369. type: string
  11370. goodunitid:
  11371. description: 商品单位id
  11372. type: integer
  11373. initmargin:
  11374. description: 初始保证金(首付款)
  11375. type: number
  11376. lenderamount:
  11377. description: 贷款金额(总额|订单总额)
  11378. type: number
  11379. logincode:
  11380. description: 账号(登录代码)
  11381. type: string
  11382. marginratio:
  11383. description: 保证金比率(首付比例)
  11384. type: number
  11385. mobile:
  11386. description: 电话号码(用户资料里的电话)
  11387. type: string
  11388. payamount:
  11389. description: 已付(已付货款)
  11390. type: number
  11391. reckonrecovermargin:
  11392. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  11393. type: number
  11394. recoveredmargin:
  11395. description: 已追缴保证金
  11396. type: number
  11397. remainamount:
  11398. description: 合同剩余金额(融资额)
  11399. type: number
  11400. scfcontractid:
  11401. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  11402. type: string
  11403. scfcontractstatus:
  11404. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交
  11405. type: integer
  11406. scfcontracttype:
  11407. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  11408. type: integer
  11409. totalinterest:
  11410. description: 已计总利息(利息)
  11411. type: number
  11412. tradedate:
  11413. description: 交易日
  11414. type: string
  11415. tradeprice:
  11416. description: 成交价格(成本价格)
  11417. type: number
  11418. userid:
  11419. description: 用户ID
  11420. type: integer
  11421. userinfotype:
  11422. description: 用户类型 1-个人 2-企业
  11423. type: integer
  11424. username:
  11425. description: 用户名称
  11426. type: string
  11427. wrqty:
  11428. description: 仓单数量(数量)
  11429. type: number
  11430. type: object
  11431. models.QhjMgrCustomer:
  11432. properties:
  11433. address:
  11434. description: 通讯地址
  11435. type: string
  11436. attachment1:
  11437. description: 附件1
  11438. type: string
  11439. audittime:
  11440. description: 审核时间
  11441. type: string
  11442. birthday:
  11443. description: 生日
  11444. type: string
  11445. brokerid:
  11446. description: 所属客户经理id
  11447. type: integer
  11448. brokername:
  11449. description: 所属客户经理名称
  11450. type: string
  11451. cardbackphotourl:
  11452. description: 证件反面图片地址
  11453. type: string
  11454. cardfrontphotourl:
  11455. description: 证件正面图片地址
  11456. type: string
  11457. cardnum:
  11458. description: 证件号码
  11459. type: string
  11460. cardtype:
  11461. description: 证件类型
  11462. type: integer
  11463. cardtypename:
  11464. description: 证件类型名称
  11465. type: string
  11466. cityid:
  11467. description: 市
  11468. type: integer
  11469. cityname:
  11470. description: 城市名称
  11471. type: string
  11472. contactname:
  11473. description: 联系人
  11474. type: string
  11475. countryid:
  11476. description: 国家
  11477. type: integer
  11478. countryname:
  11479. description: 国家名称
  11480. type: string
  11481. createtime:
  11482. description: 创建时间
  11483. type: string
  11484. customername:
  11485. description: 客户名称
  11486. type: string
  11487. districtid:
  11488. description: 区域
  11489. type: integer
  11490. districtname:
  11491. description: 地区名称
  11492. type: string
  11493. email:
  11494. description: 邮件
  11495. type: string
  11496. legalpersonname:
  11497. description: 法人姓名(企业)
  11498. type: string
  11499. logincode:
  11500. description: 登录账号(代码)
  11501. type: string
  11502. memberuserid:
  11503. description: 所属机构ID(所属会员)
  11504. type: integer
  11505. memberusername:
  11506. description: 所属会员名称
  11507. type: string
  11508. mobile:
  11509. description: 手机号码
  11510. type: string
  11511. modifytime:
  11512. description: 修改时间
  11513. type: string
  11514. nickname:
  11515. description: 昵称
  11516. type: string
  11517. parentuserid:
  11518. description: 上级机构(所属机构)
  11519. type: integer
  11520. parentusername:
  11521. description: 所属机构名称
  11522. type: string
  11523. provinceid:
  11524. description: 省
  11525. type: integer
  11526. provincename:
  11527. description: 省名称
  11528. type: string
  11529. proxystatementurl:
  11530. description: 授权委托书
  11531. type: string
  11532. querytype:
  11533. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  11534. type: integer
  11535. remark:
  11536. description: 备注
  11537. type: string
  11538. sex:
  11539. description: 性别 0-女 1-男
  11540. type: integer
  11541. status:
  11542. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  11543. type: integer
  11544. statusdesc:
  11545. description: 账户状态中文描述
  11546. type: string
  11547. taxpayernum:
  11548. description: 纳税人识别号
  11549. type: string
  11550. telphone:
  11551. description: 联系电话
  11552. type: string
  11553. userid:
  11554. description: 用户ID
  11555. type: integer
  11556. userinfotype:
  11557. description: 客户类型 1-个人 2-企业
  11558. type: integer
  11559. username:
  11560. description: 用户名称
  11561. type: string
  11562. type: object
  11563. models.QhjMgrPickGoods:
  11564. properties:
  11565. enumdicname:
  11566. description: 单位名称(提货商品)
  11567. type: string
  11568. goodsid:
  11569. description: 商品id
  11570. type: integer
  11571. imageaddress:
  11572. description: 图片
  11573. type: string
  11574. modifierid:
  11575. description: 修改人
  11576. type: integer
  11577. modifiername:
  11578. description: 修改人名称
  11579. type: string
  11580. modifysrc:
  11581. description: 修改来源 - 1:管理端 2:终端
  11582. type: integer
  11583. pickupgoodsagreeunit:
  11584. description: 合约乘数
  11585. type: number
  11586. pickupgoodsdesc:
  11587. description: 描述
  11588. type: string
  11589. pickupgoodsid:
  11590. description: 提货商品ID
  11591. type: string
  11592. pickupgoodsname:
  11593. description: 提货商品名称
  11594. type: string
  11595. pickupgoodsstatus:
  11596. description: 状态 - 1:正常 2:停用 3:注销
  11597. type: integer
  11598. pickupgoodsunitid:
  11599. description: 单位ID
  11600. type: integer
  11601. pickupratio:
  11602. description: 提货系数
  11603. type: number
  11604. preparedays:
  11605. description: 备货期(天)
  11606. type: integer
  11607. remark:
  11608. description: 备注
  11609. type: string
  11610. updatetime:
  11611. description: 更新时间
  11612. type: string
  11613. type: object
  11614. models.QhjMgrPositionRsp:
  11615. properties:
  11616. accountid:
  11617. description: 账号Id
  11618. type: integer
  11619. accountname:
  11620. description: 用户名称
  11621. type: string
  11622. agreeunit:
  11623. description: 合约乘数
  11624. type: number
  11625. averageprice:
  11626. description: 均价
  11627. type: number
  11628. avialqty:
  11629. description: 可用数量
  11630. type: number
  11631. decimalplace:
  11632. description: 报价小数位
  11633. type: integer
  11634. enumdicname:
  11635. description: 单位名称(商品)
  11636. type: string
  11637. frozenqty:
  11638. description: 冻结数量
  11639. type: number
  11640. goodscode:
  11641. description: 商品代码(内部)
  11642. type: string
  11643. goodsid:
  11644. description: 商品Id
  11645. type: integer
  11646. goodsname:
  11647. description: 商品名称
  11648. type: string
  11649. goodunitid:
  11650. description: 报价单位ID
  11651. type: integer
  11652. holderamount:
  11653. description: 金额
  11654. type: number
  11655. holderqty:
  11656. description: 持有数量
  11657. type: number
  11658. holdertype:
  11659. description: 持仓类别 - 1:单边持仓 2:双边持仓
  11660. type: integer
  11661. logincode:
  11662. description: 登录代码(账户)
  11663. type: string
  11664. marketid:
  11665. description: 市场id
  11666. type: integer
  11667. qtydecimalplace:
  11668. description: 成交量小数位
  11669. type: integer
  11670. trademode:
  11671. description: 交易模式
  11672. type: integer
  11673. userid:
  11674. description: 用户id
  11675. type: integer
  11676. userinfotype:
  11677. description: 账户类型 1-个人 2-企业
  11678. type: integer
  11679. type: object
  11680. models.QhjMgrSubArea:
  11681. properties:
  11682. accountname:
  11683. description: 账户名称(机构名称)
  11684. type: string
  11685. memberuserid:
  11686. description: 所属会员ID
  11687. type: integer
  11688. parenttopuser:
  11689. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  11690. type: string
  11691. parentuserid:
  11692. description: 所属机构ID
  11693. type: integer
  11694. rootuserid:
  11695. description: 根用户ID
  11696. type: string
  11697. subaccountlevel:
  11698. description: 子账户层数
  11699. type: integer
  11700. subarealevelpath:
  11701. description: 子机构层级路径(逗号分隔,首尾加逗号)
  11702. type: string
  11703. userid:
  11704. description: 用户ID
  11705. type: integer
  11706. usertype:
  11707. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  11708. type: integer
  11709. type: object
  11710. models.QhjMgrTradeDetailRsp:
  11711. properties:
  11712. accountid:
  11713. description: 资金账号
  11714. type: integer
  11715. accountname:
  11716. description: 用户名称
  11717. type: string
  11718. agreeunit:
  11719. description: 合约乘数
  11720. type: number
  11721. buyorsell:
  11722. description: 成交类型(方向) 0:买 1:卖
  11723. type: integer
  11724. decimalplace:
  11725. description: 报价小数位
  11726. type: integer
  11727. enumdicname:
  11728. description: 单位名称(商品)
  11729. type: string
  11730. goodscode:
  11731. description: 商品代码(内部)
  11732. type: string
  11733. goodsid:
  11734. description: 商品id
  11735. type: integer
  11736. goodsname:
  11737. description: 商品名称
  11738. type: string
  11739. goodunitid:
  11740. description: 报价单位ID
  11741. type: integer
  11742. logincode:
  11743. description: 登录代码(账户)
  11744. type: string
  11745. marketid:
  11746. description: 市场id
  11747. type: integer
  11748. orderid:
  11749. description: 关联委托单号
  11750. type: string
  11751. qtydecimalplace:
  11752. description: 成交量小数位
  11753. type: integer
  11754. tradeamount:
  11755. description: 金额
  11756. type: number
  11757. tradedate:
  11758. description: 交易日
  11759. type: string
  11760. tradeid:
  11761. description: 成交单号
  11762. type: string
  11763. trademode:
  11764. description: 交易模式
  11765. type: integer
  11766. tradeprice:
  11767. description: 价格
  11768. type: number
  11769. tradeqty:
  11770. description: 数量
  11771. type: number
  11772. tradetime:
  11773. description: 成交时间
  11774. type: string
  11775. userid:
  11776. description: 用户id
  11777. type: integer
  11778. userinfotype:
  11779. description: 账户类型 1-个人 2-企业
  11780. type: integer
  11781. type: object
  11782. models.QhjMgrTradeOrderDetailRsp:
  11783. properties:
  11784. accountid:
  11785. description: 资金账号
  11786. type: integer
  11787. accountname:
  11788. description: 用户名称
  11789. type: string
  11790. agreeunit:
  11791. description: 合约乘数
  11792. type: number
  11793. amount:
  11794. description: 金额
  11795. type: number
  11796. decimalplace:
  11797. description: 报价小数位
  11798. type: integer
  11799. enumdicname:
  11800. description: 单位名称(商品)
  11801. type: string
  11802. goodscode:
  11803. description: 商品代码(内部)
  11804. type: string
  11805. goodsid:
  11806. description: 商品id
  11807. type: integer
  11808. goodsname:
  11809. description: 商品名称
  11810. type: string
  11811. goodunitid:
  11812. description: 报价单位ID
  11813. type: integer
  11814. logincode:
  11815. description: 登录代码(账户)
  11816. type: string
  11817. marketid:
  11818. description: 市场id
  11819. type: integer
  11820. orderid:
  11821. description: 关联委托单号
  11822. type: string
  11823. orderprice:
  11824. description: 价格
  11825. type: number
  11826. orderqty:
  11827. description: 数量
  11828. type: number
  11829. orderstatus:
  11830. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  11831. type: integer
  11832. ordertime:
  11833. description: 委托时间
  11834. type: string
  11835. qtydecimalplace:
  11836. description: 成交量小数位
  11837. type: integer
  11838. tradedate:
  11839. description: 交易日
  11840. type: string
  11841. trademode:
  11842. description: 交易模式
  11843. type: integer
  11844. userid:
  11845. description: 用户id
  11846. type: integer
  11847. userinfotype:
  11848. description: 账户类型 1-个人 2-企业
  11849. type: integer
  11850. type: object
  11851. models.QhjMgrTradePayOrder:
  11852. properties:
  11853. accountname:
  11854. description: 用户名称
  11855. type: string
  11856. advanceratio:
  11857. description: 首付比率
  11858. type: number
  11859. agreeunit:
  11860. description: 合约乘数
  11861. type: number
  11862. buyaccountid:
  11863. description: 买方账号ID[报价币种]
  11864. type: integer
  11865. buyorderid:
  11866. description: 买方委托单号(关联单号)
  11867. type: string
  11868. createtime:
  11869. description: 创建时间
  11870. type: string
  11871. decimalplace:
  11872. description: 报价小数位
  11873. type: integer
  11874. enumdicname:
  11875. description: 单位名称(商品)
  11876. type: string
  11877. goodscode:
  11878. description: 商品代码(内部)
  11879. type: string
  11880. goodsid:
  11881. description: 商品ID
  11882. type: integer
  11883. goodsname:
  11884. description: 商品名称
  11885. type: string
  11886. goodunitid:
  11887. description: 报价单位ID
  11888. type: integer
  11889. logincode:
  11890. description: 登录代码(账户)
  11891. type: string
  11892. marketid:
  11893. description: 市场id
  11894. type: integer
  11895. offamount:
  11896. description: 优惠金额
  11897. type: number
  11898. operatetype:
  11899. description: 买委托操作类型 - 1:正常下单 16:融资买入
  11900. type: integer
  11901. payamount:
  11902. description: 支付金额(金额)
  11903. type: number
  11904. payflag:
  11905. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  11906. type: integer
  11907. paylimitedtime:
  11908. description: 支付期限
  11909. type: string
  11910. paytime:
  11911. description: 付款时间
  11912. type: string
  11913. qtydecimalplace:
  11914. description: 成交量小数位
  11915. type: integer
  11916. sellaccountid:
  11917. description: 卖方账号ID[报价币种]
  11918. type: integer
  11919. sellorderid:
  11920. description: 卖方委托单号
  11921. type: string
  11922. tradeamount:
  11923. description: 成交金额(优惠后金额)
  11924. type: number
  11925. tradecharge:
  11926. description: 成交手续费(买方)
  11927. type: number
  11928. tradedate:
  11929. description: 交易日(yyyyMMdd)
  11930. type: string
  11931. tradeid:
  11932. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11933. type: string
  11934. trademode:
  11935. description: 交易模式
  11936. type: integer
  11937. tradeprice:
  11938. description: 成交价格(价格)
  11939. type: number
  11940. tradeqty:
  11941. description: 成交数量(数量)
  11942. type: number
  11943. tradetime:
  11944. description: 成交时间
  11945. type: string
  11946. userid:
  11947. description: 用户id
  11948. type: integer
  11949. userinfotype:
  11950. description: 账户类型 1-个人 2-企业
  11951. type: integer
  11952. type: object
  11953. models.QhjMyTeamEx:
  11954. properties:
  11955. accountname:
  11956. description: 用户名称
  11957. type: string
  11958. accountstatus:
  11959. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  11960. type: integer
  11961. createtime:
  11962. description: 创建时间
  11963. type: string
  11964. mobile:
  11965. description: 手机号码
  11966. type: string
  11967. refereeuserid:
  11968. description: 推荐人id
  11969. type: integer
  11970. refernum:
  11971. description: 推荐码
  11972. type: string
  11973. subList:
  11974. items:
  11975. $ref: '#/definitions/models.QhjMyTeamEx'
  11976. type: array
  11977. userid:
  11978. description: 用户id
  11979. type: integer
  11980. userinfotype:
  11981. description: 用户类型 1-个人 2-企业
  11982. type: integer
  11983. type: object
  11984. models.QhjNodeAgreementConfig:
  11985. properties:
  11986. agreementcontent:
  11987. description: 协议内容
  11988. type: string
  11989. agreementid:
  11990. description: 协议ID
  11991. type: integer
  11992. agreementname:
  11993. description: 协议名称
  11994. type: string
  11995. agreementno:
  11996. description: 协议编号
  11997. type: string
  11998. agreementtype:
  11999. description: 协议类型 - 1:注册 2:登录 3:交易
  12000. type: integer
  12001. agreementversion:
  12002. description: 协议版本号
  12003. type: integer
  12004. configid:
  12005. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  12006. type: integer
  12007. createtime:
  12008. description: 创建时间
  12009. type: string
  12010. goodsid:
  12011. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12012. type: integer
  12013. nodetype:
  12014. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12015. type: integer
  12016. type: object
  12017. models.QhjParentAreaList:
  12018. properties:
  12019. accountname:
  12020. description: 账户名称(机构名称)
  12021. type: string
  12022. userid:
  12023. description: 用户ID
  12024. type: integer
  12025. usertype:
  12026. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  12027. type: integer
  12028. type: object
  12029. models.QhjPayOrder:
  12030. properties:
  12031. advanceratio:
  12032. description: 首付比率
  12033. type: number
  12034. buyaccountid:
  12035. description: 买方账号ID[报价币种]
  12036. type: integer
  12037. buyorderid:
  12038. description: 买方委托单号
  12039. type: string
  12040. createtime:
  12041. description: 创建时间
  12042. type: string
  12043. decimalplace:
  12044. description: 商品报价小数位
  12045. type: integer
  12046. enumdicname:
  12047. description: 单位名称
  12048. type: string
  12049. goodscode:
  12050. description: 商品代码
  12051. type: string
  12052. goodsid:
  12053. description: 商品ID
  12054. type: integer
  12055. goodsname:
  12056. description: 商品名称
  12057. type: string
  12058. goodunitid:
  12059. description: 商品单位id
  12060. type: integer
  12061. marketid:
  12062. description: 市场ID
  12063. type: integer
  12064. offamount:
  12065. description: 优惠金额
  12066. type: number
  12067. operatetype:
  12068. description: 买委托操作类型 - 1:正常下单 16:融资买入
  12069. type: integer
  12070. payamount:
  12071. description: 支付金额
  12072. type: number
  12073. payflag:
  12074. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  12075. type: integer
  12076. paylimitedtime:
  12077. description: 支付期限
  12078. type: string
  12079. paytime:
  12080. description: 付款时间
  12081. type: string
  12082. qtydecimalplace:
  12083. description: 成交量小数位
  12084. type: integer
  12085. sellaccountid:
  12086. description: 卖方账号ID[报价币种]
  12087. type: integer
  12088. sellorderid:
  12089. description: 卖方委托单号
  12090. type: string
  12091. tradeamount:
  12092. description: 成交金额(优惠后金额)
  12093. type: number
  12094. tradecharge:
  12095. description: 成交手续费(买方)
  12096. type: number
  12097. tradedate:
  12098. description: 交易日(yyyyMMdd)
  12099. type: string
  12100. tradeid:
  12101. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12102. type: string
  12103. tradeprice:
  12104. description: 成交价格
  12105. type: number
  12106. tradeqty:
  12107. description: 成交数量
  12108. type: number
  12109. type: object
  12110. models.QhjPickArea:
  12111. properties:
  12112. address:
  12113. description: 详细地址
  12114. type: string
  12115. cityid:
  12116. description: 市
  12117. type: integer
  12118. cityname:
  12119. description: 城市名称
  12120. type: string
  12121. countryid:
  12122. description: 国家
  12123. type: integer
  12124. countryname:
  12125. description: 国家名称
  12126. type: string
  12127. districtid:
  12128. description: 地区
  12129. type: integer
  12130. districtname:
  12131. description: 地区名称
  12132. type: string
  12133. fromuserid:
  12134. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  12135. type: integer
  12136. fromusername:
  12137. description: 所属机构名称
  12138. type: string
  12139. provinceid:
  12140. description: 省
  12141. type: integer
  12142. provincename:
  12143. description: 省名称
  12144. type: string
  12145. suborgtype:
  12146. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  12147. type: integer
  12148. userid:
  12149. description: 机构用户ID 其他做市关系,都设置为 1
  12150. type: integer
  12151. username:
  12152. description: 机构用户名称(门店门称)
  12153. type: string
  12154. type: object
  12155. models.QhjPickGoods:
  12156. properties:
  12157. enumdicname:
  12158. description: 单位名称(提货商品)
  12159. type: string
  12160. goodsid:
  12161. description: 商品id
  12162. type: integer
  12163. imageaddress:
  12164. description: 图片
  12165. type: string
  12166. modifierid:
  12167. description: 修改人
  12168. type: integer
  12169. modifiername:
  12170. description: 修改人名称
  12171. type: string
  12172. modifysrc:
  12173. description: 修改来源 - 1:管理端 2:终端
  12174. type: integer
  12175. pickupgoodsagreeunit:
  12176. description: 合约乘数
  12177. type: number
  12178. pickupgoodsdesc:
  12179. description: 描述
  12180. type: string
  12181. pickupgoodsid:
  12182. description: 提货商品ID
  12183. type: string
  12184. pickupgoodsname:
  12185. description: 提货商品名称
  12186. type: string
  12187. pickupgoodsstatus:
  12188. description: 状态 - 1:正常 2:停用 3:注销
  12189. type: integer
  12190. pickupgoodsunitid:
  12191. description: 单位ID
  12192. type: integer
  12193. pickupratio:
  12194. description: 提货系数
  12195. type: number
  12196. preparedays:
  12197. description: 备货期(天)
  12198. type: integer
  12199. remark:
  12200. description: 备注
  12201. type: string
  12202. updatetime:
  12203. description: 更新时间
  12204. type: string
  12205. type: object
  12206. models.QhjRSTriggerLog:
  12207. properties:
  12208. accountid:
  12209. description: 用户资金账户
  12210. type: integer
  12211. accountname:
  12212. description: 账号名称(ACCOUNTID对应的名称)
  12213. type: string
  12214. currencyid:
  12215. description: 币种id
  12216. type: integer
  12217. currencyname:
  12218. description: 币种名称
  12219. type: string
  12220. decimalplace:
  12221. description: 商品报价小数位
  12222. type: integer
  12223. enumdicname:
  12224. description: 单位名称
  12225. type: string
  12226. goodscode:
  12227. description: 定投商品代码
  12228. type: string
  12229. goodsid:
  12230. description: 定投商品ID
  12231. type: integer
  12232. goodsname:
  12233. description: 定投商品名称
  12234. type: string
  12235. goodunitid:
  12236. description: 定投商品单位id
  12237. type: integer
  12238. logid:
  12239. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  12240. type: string
  12241. logincode:
  12242. description: 账号(登录代码)
  12243. type: string
  12244. qtydecimalplace:
  12245. description: 成交量小数位
  12246. type: integer
  12247. regularlycycle:
  12248. description: 定投频率 - 1:每周 2:每月
  12249. type: integer
  12250. regularlycyclevalue:
  12251. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  12252. type: string
  12253. regularlymode:
  12254. description: 定投方式 - 1:按数量 2:按金额
  12255. type: integer
  12256. regularlymodevalue:
  12257. description: 定投方式值 - 数量或金额
  12258. type: number
  12259. regularlystrategyid:
  12260. description: 定投策略ID
  12261. type: integer
  12262. retcode:
  12263. description: 错误码
  12264. type: string
  12265. tradeid:
  12266. description: 成交单ID
  12267. type: string
  12268. triggeramount:
  12269. description: 触发金额
  12270. type: number
  12271. triggerqty:
  12272. description: 触发数量
  12273. type: number
  12274. triggerstatus:
  12275. description: 触发状态 - 1:成功 2:失败
  12276. type: integer
  12277. triggertime:
  12278. description: 触发时间
  12279. type: string
  12280. triggertradedate:
  12281. description: 触发交易日
  12282. type: string
  12283. userid:
  12284. description: 所属用户ID
  12285. type: integer
  12286. userinfotype:
  12287. description: 用户类型 1-个人 2-企业
  12288. type: integer
  12289. username:
  12290. description: 用户名称(userid对应的名称)
  12291. type: string
  12292. type: object
  12293. models.QhjRStrategy:
  12294. properties:
  12295. accountid:
  12296. description: 用户资金账户
  12297. type: integer
  12298. accountname:
  12299. description: 账号名称(ACCOUNTID对应的名称)
  12300. type: string
  12301. currencyid:
  12302. description: 币种id
  12303. type: integer
  12304. currencyname:
  12305. description: 币种名称
  12306. type: string
  12307. decimalplace:
  12308. description: 商品报价小数位
  12309. type: integer
  12310. enumdicname:
  12311. description: 单位名称
  12312. type: string
  12313. goodscode:
  12314. description: 定投商品代码
  12315. type: string
  12316. goodsid:
  12317. description: 定投商品ID
  12318. type: integer
  12319. goodsname:
  12320. description: 定投商品名称
  12321. type: string
  12322. goodunitid:
  12323. description: 定投商品单位id
  12324. type: integer
  12325. lasteffecttradedate:
  12326. description: 最新生效交易日
  12327. type: string
  12328. laststoptradedate:
  12329. description: 最新暂停交易日
  12330. type: string
  12331. lasttriggertradedate:
  12332. description: 最新触发交易日
  12333. type: string
  12334. logincode:
  12335. description: 账号(登录代码)
  12336. type: string
  12337. nexttriggeramount:
  12338. description: 下次触发金额
  12339. type: number
  12340. nexttriggerdate:
  12341. description: 下次触发日期
  12342. type: string
  12343. nexttriggerqty:
  12344. description: 下次触发数量 [按小数位放大值]
  12345. type: number
  12346. qtydecimalplace:
  12347. description: 成交量小数位
  12348. type: integer
  12349. regularlycycle:
  12350. description: 定投频率 - 1:每周 2:每月
  12351. type: integer
  12352. regularlycyclevalue:
  12353. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  12354. type: string
  12355. regularlymode:
  12356. description: 定投方式 - 1:按数量 2:按金额
  12357. type: integer
  12358. regularlymodevalue:
  12359. description: 定投方式值 - 数量或金额
  12360. type: number
  12361. regularlystrategyid:
  12362. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  12363. type: integer
  12364. regularlystrategystatus:
  12365. description: 策略状态 - 1:正常 2:暂停 3:终止
  12366. type: integer
  12367. remark:
  12368. description: 备注
  12369. type: string
  12370. triggersuccesstimes:
  12371. description: 累计定投成功次数
  12372. type: string
  12373. triggertotalamount:
  12374. description: 累计定投金额(成功)
  12375. type: number
  12376. triggertotalqty:
  12377. description: 累计定投数量(成功) [按小数位放大值]
  12378. type: number
  12379. triggertotaltimes:
  12380. description: 累计定投总次数
  12381. type: string
  12382. updatesrc:
  12383. description: 更新来源 - 1:管理端 2:终端
  12384. type: integer
  12385. updatetime:
  12386. description: 更新时间
  12387. type: string
  12388. updatorid:
  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.QhjReckonPriceLog:
  12402. properties:
  12403. decimalplace:
  12404. description: 商品报价小数位
  12405. type: integer
  12406. goodscode:
  12407. description: 商品代码
  12408. type: string
  12409. goodsid:
  12410. description: 商品ID
  12411. type: integer
  12412. goodsname:
  12413. description: 商品名称
  12414. type: string
  12415. lastreckonprice:
  12416. description: 上日结算价
  12417. type: number
  12418. nextdnlimitprice:
  12419. description: 下个交易日跌停价
  12420. type: number
  12421. nexttrade:
  12422. description: 下个交易日
  12423. type: string
  12424. nextuplimitprice:
  12425. description: 下个交易日涨停价
  12426. type: number
  12427. reckonprice:
  12428. description: 今日结算价(定投价)
  12429. type: number
  12430. reckontime:
  12431. description: 结算时间
  12432. type: string
  12433. totalholderqty:
  12434. description: 总持仓数
  12435. type: integer
  12436. totalstock:
  12437. description: 总库存
  12438. type: integer
  12439. tradedate:
  12440. description: 交易日
  12441. type: string
  12442. updowncount:
  12443. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  12444. type: integer
  12445. updownflag:
  12446. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  12447. type: integer
  12448. updownrate:
  12449. description: 今日涨跌幅
  12450. type: number
  12451. updownrate_2d:
  12452. description: 连续两日涨跌幅
  12453. type: number
  12454. updownrate_3d:
  12455. description: 连续三日涨跌幅
  12456. type: number
  12457. type: object
  12458. models.QhjScoreLog:
  12459. properties:
  12460. accountid:
  12461. description: 账户ID
  12462. type: integer
  12463. createtime:
  12464. description: 创建时间(时间)
  12465. type: string
  12466. goodsid:
  12467. description: 商品ID
  12468. type: integer
  12469. hasuploaded:
  12470. description: 是否已同步(千海金) 0:未同步 1;已同步
  12471. type: integer
  12472. logid:
  12473. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12474. type: string
  12475. marketid:
  12476. description: 市场ID
  12477. type: integer
  12478. relatedamount:
  12479. description: 关联金额
  12480. type: number
  12481. relatedorderid:
  12482. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  12483. type: string
  12484. scoreconfigvalue1:
  12485. description: 积分配置1
  12486. type: integer
  12487. scoreconfigvalue2:
  12488. description: 积分配置1
  12489. type: integer
  12490. scoretype:
  12491. description: 积分类型 - 1:提货积分
  12492. type: integer
  12493. scorevalue:
  12494. description: 积分
  12495. type: number
  12496. tradedate:
  12497. description: 交易日(yyyyMMdd)
  12498. type: string
  12499. uploadedtime:
  12500. description: 同步时间
  12501. type: string
  12502. userid:
  12503. description: 用户ID
  12504. type: integer
  12505. type: object
  12506. models.QhjSiteColumnDetail:
  12507. properties:
  12508. author:
  12509. description: 作者
  12510. type: string
  12511. brief:
  12512. description: 简介
  12513. type: string
  12514. columnid:
  12515. description: 所属栏目
  12516. type: integer
  12517. context:
  12518. description: 内容
  12519. type: string
  12520. coverimage:
  12521. description: 封面图片
  12522. type: string
  12523. creaedate:
  12524. description: 创建时间
  12525. type: string
  12526. creatorid:
  12527. description: 创建人
  12528. type: integer
  12529. hits:
  12530. description: 点击数
  12531. type: integer
  12532. id:
  12533. description: ID(SEQ_SITE_COLUMNDETAIL)
  12534. type: integer
  12535. isshow:
  12536. description: 是否展示 - 0:不展示 1:展示
  12537. type: integer
  12538. istop:
  12539. description: 是否置顶 - 0:不置 1:置顶
  12540. type: integer
  12541. modifierid:
  12542. description: 操作人
  12543. type: integer
  12544. publishdate:
  12545. description: 发布日期
  12546. type: string
  12547. status:
  12548. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  12549. type: integer
  12550. title:
  12551. description: 标题
  12552. type: string
  12553. updatedate:
  12554. description: 修改时间
  12555. type: string
  12556. userid:
  12557. description: 用户ID(默认为0, 核心为为机构用户ID)
  12558. type: integer
  12559. username:
  12560. description: 用户名称
  12561. type: string
  12562. type: object
  12563. models.QhjTeamOrder:
  12564. properties:
  12565. accountid:
  12566. description: 账户ID[报价币种]
  12567. type: integer
  12568. accountname:
  12569. description: 账户名称
  12570. type: string
  12571. agreeunit:
  12572. description: 合约乘数
  12573. type: number
  12574. buyorsell:
  12575. description: 方向 - 0:买 1:卖
  12576. type: integer
  12577. decimalplace:
  12578. description: 报价小数位
  12579. type: integer
  12580. enumdicname:
  12581. description: 单位名称
  12582. type: string
  12583. goodscode:
  12584. description: 商品代码(内部)
  12585. type: string
  12586. goodsid:
  12587. description: 商品ID
  12588. type: integer
  12589. goodsname:
  12590. description: 商品名称
  12591. type: string
  12592. goodunitid:
  12593. description: 报价单位ID
  12594. type: integer
  12595. marketid:
  12596. description: 市场ID
  12597. type: integer
  12598. marketname:
  12599. description: 市场名称
  12600. type: string
  12601. qtydecimalplace:
  12602. description: 成交量小数位
  12603. type: integer
  12604. refereeuserid:
  12605. description: 推荐人ID
  12606. type: integer
  12607. tradeamount:
  12608. description: 成交金额[账户币种,用于所有权]
  12609. type: number
  12610. tradedate:
  12611. description: 交易日(yyyyMMdd)
  12612. type: string
  12613. trademode:
  12614. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  12615. type: integer
  12616. tradeprice:
  12617. description: 成交价格
  12618. type: number
  12619. tradeqty:
  12620. description: 成交数量
  12621. type: number
  12622. tradetime:
  12623. description: 成交时间
  12624. type: string
  12625. userid:
  12626. description: 用户ID
  12627. type: integer
  12628. type: object
  12629. models.QhjTradeGoodsPickup:
  12630. properties:
  12631. accountid:
  12632. description: 账户ID
  12633. type: integer
  12634. address:
  12635. description: 提货人详细地址
  12636. type: string
  12637. amount:
  12638. description: 提货金额
  12639. type: number
  12640. artradedate:
  12641. description: 自动收货交易日(yyyyMMdd)
  12642. type: string
  12643. auditer:
  12644. description: 审核人
  12645. type: integer
  12646. auditsrc:
  12647. description: 更新来源 - 1:管理端 2:终端
  12648. type: integer
  12649. audittime:
  12650. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  12651. type: string
  12652. audittradedate:
  12653. description: 审核交易日(yyyyMMdd)
  12654. type: string
  12655. cardnum:
  12656. description: 提货人证件号码
  12657. type: string
  12658. cardtypeid:
  12659. description: 提货人证件类型
  12660. type: integer
  12661. checkremark:
  12662. description: 审核备注
  12663. type: string
  12664. cityid:
  12665. description: 市
  12666. type: integer
  12667. cityname:
  12668. description: 城市名称
  12669. type: string
  12670. confirmtime:
  12671. description: 取货时间 或 收货时间
  12672. type: string
  12673. countryid:
  12674. description: 国家
  12675. type: integer
  12676. countryname:
  12677. description: 国家名称
  12678. type: string
  12679. decimalplace:
  12680. description: 商品报价小数位
  12681. type: integer
  12682. districtid:
  12683. description: 地区
  12684. type: integer
  12685. districtname:
  12686. description: 地区名称
  12687. type: string
  12688. enumdicname:
  12689. description: 单位名称(提货商品)
  12690. type: string
  12691. expresscompany:
  12692. description: 物流公司
  12693. type: string
  12694. expressnum:
  12695. description: 物流单号
  12696. type: string
  12697. goodsagreeunit:
  12698. description: 交易商品乘数
  12699. type: number
  12700. goodscode:
  12701. description: 商品代码
  12702. type: string
  12703. goodsid:
  12704. description: 商品ID
  12705. type: integer
  12706. goodsname:
  12707. description: 商品名称
  12708. type: string
  12709. goodsqty:
  12710. description: 交易商品手数(69模式按成交量小数位放大取整)
  12711. type: number
  12712. handlestatus:
  12713. description: 处理状态
  12714. type: integer
  12715. logincode:
  12716. description: 账号(登录代码, 有可能为空)
  12717. type: string
  12718. marketid:
  12719. description: 市场ID
  12720. type: integer
  12721. phonenum:
  12722. description: 提货人联系方式
  12723. type: string
  12724. pickupgoodsagreeunit:
  12725. description: 提货商品合约乘数
  12726. type: number
  12727. pickupgoodsid:
  12728. description: 提货商品ID
  12729. type: string
  12730. pickupgoodsname:
  12731. description: 提货商品名称
  12732. type: string
  12733. pickupgoodsqty:
  12734. description: 提货商品手数(数量)
  12735. type: number
  12736. pickupgoodsunitid:
  12737. description: 单位ID(提货商品)
  12738. type: integer
  12739. pickupratio:
  12740. description: 提货系数
  12741. type: number
  12742. preparedays:
  12743. description: 备货期(天)-提货单明细表
  12744. type: integer
  12745. provinceid:
  12746. description: 省
  12747. type: integer
  12748. provincename:
  12749. description: 省名称
  12750. type: string
  12751. qty:
  12752. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  12753. type: number
  12754. qtydecimalplace:
  12755. description: 商品数量小数位
  12756. type: integer
  12757. recivername:
  12758. description: 提货人姓名
  12759. type: string
  12760. reqtime:
  12761. description: 提货申请时间
  12762. type: string
  12763. storeuserid:
  12764. description: 门店用户ID (千海金)
  12765. type: integer
  12766. storeusername:
  12767. description: 门店用户名称
  12768. type: string
  12769. takemode:
  12770. description: 提货方式 - 2:自提 3:配送(邮寄)
  12771. type: integer
  12772. takeorderid:
  12773. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  12774. type: string
  12775. takeorderstatus:
  12776. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销
  12777. type: integer
  12778. takeremark:
  12779. description: 提货备注
  12780. type: string
  12781. tradedate:
  12782. description: 交易日(yyyyMMdd)
  12783. type: string
  12784. updatetime:
  12785. description: 更新时间
  12786. type: string
  12787. userid:
  12788. description: 用户ID
  12789. type: integer
  12790. userinfotype:
  12791. description: 客户类型 1-个人 2-企业
  12792. type: integer
  12793. username:
  12794. description: 用户名称
  12795. type: string
  12796. type: object
  12797. models.QhjUserNodeCfgAndStatus:
  12798. properties:
  12799. agreementcontent:
  12800. description: 协议内容
  12801. type: string
  12802. agreementid:
  12803. description: 协议ID
  12804. type: integer
  12805. agreementname:
  12806. description: 协议名称
  12807. type: string
  12808. agreementno:
  12809. description: 协议编号
  12810. type: string
  12811. agreementtype:
  12812. description: 协议类型 - 1:注册 2:登录 3:交易
  12813. type: integer
  12814. agreementversion:
  12815. description: 协议版本号
  12816. type: integer
  12817. configid:
  12818. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  12819. type: integer
  12820. createtime:
  12821. description: 创建时间
  12822. type: string
  12823. goodsid:
  12824. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12825. type: integer
  12826. nodetype:
  12827. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12828. type: integer
  12829. signtimestamp:
  12830. description: 签约状态时间戳(最近一次)
  12831. type: string
  12832. tradedate:
  12833. description: 签约交易日(yyyyMMdd)
  12834. type: string
  12835. userid:
  12836. description: 客户ID
  12837. type: integer
  12838. type: object
  12839. models.Qhjgoodsex:
  12840. properties:
  12841. canfinance:
  12842. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  12843. type: integer
  12844. canregularlybuy:
  12845. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  12846. type: integer
  12847. defaulttradeuserid:
  12848. description: 默认交易用户ID
  12849. type: integer
  12850. deliverygoodsid:
  12851. description: 现货品种ID
  12852. type: integer
  12853. goodsid:
  12854. description: 商品ID(自增ID SEQ_GOODS)
  12855. type: integer
  12856. minamount:
  12857. description: 最小购买金额
  12858. type: number
  12859. regularlybuyminamount:
  12860. description: 定投最小金额
  12861. type: number
  12862. regularlybuyminqty:
  12863. description: 定投最小数量
  12864. type: number
  12865. spotgoodsbrandid:
  12866. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  12867. type: integer
  12868. visibilityforenterprise:
  12869. description: 企业客户是否可见 - 0:不可见 1:可见
  12870. type: integer
  12871. visibilityforpersonal:
  12872. description: 个人客户是否可见 - 0:不可见 1:可见
  12873. type: integer
  12874. wrstandardid:
  12875. description: 现货商品ID
  12876. type: integer
  12877. type: object
  12878. models.QueryErrorInfosRsp:
  12879. properties:
  12880. description:
  12881. description: 异常描述
  12882. type: string
  12883. errorcode:
  12884. description: 异常代码
  12885. type: string
  12886. errorid:
  12887. description: 异常ID
  12888. type: integer
  12889. modulecode:
  12890. description: 所属模块
  12891. type: string
  12892. operatecode:
  12893. description: 所属操作
  12894. type: string
  12895. rownumber:
  12896. description: 行号
  12897. type: string
  12898. required:
  12899. - errorid
  12900. type: object
  12901. models.QueryHedgeOrderDetailRsp:
  12902. properties:
  12903. accountid:
  12904. description: 账户ID
  12905. type: integer
  12906. buyorsell:
  12907. description: 买卖 - 0:买 1:卖
  12908. type: integer
  12909. cancellogincode:
  12910. description: 撤单人
  12911. type: string
  12912. channelbuildtype:
  12913. description: 开平标志 - 0:无 1:建仓 2:平仓
  12914. type: integer
  12915. channelinnerorderstatus:
  12916. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交
  12917. type: integer
  12918. channeloperatetype:
  12919. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  12920. type: integer
  12921. closetype:
  12922. description: 平仓方式 - 0:无 1:平今 2:平昨
  12923. type: integer
  12924. curexchangerate:
  12925. description: 当前汇率
  12926. type: number
  12927. exchangefullname:
  12928. description: 外部交易所全称
  12929. type: string
  12930. goodscode:
  12931. description: 商品代码(内部)
  12932. type: string
  12933. goodsid:
  12934. description: 商品ID
  12935. type: integer
  12936. goodsname:
  12937. description: 商品名称
  12938. type: string
  12939. marketid:
  12940. description: 市场ID
  12941. type: integer
  12942. openfreezemargin:
  12943. description: 冻结保证金(冻结交易金额)
  12944. type: number
  12945. orderid:
  12946. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12947. type: string
  12948. orderlogincode:
  12949. description: 委托人
  12950. type: string
  12951. orderprice:
  12952. description: 委托价格(账户)
  12953. type: number
  12954. orderqty:
  12955. description: 委托数量
  12956. type: integer
  12957. ordertime:
  12958. description: 委托时间
  12959. type: string
  12960. pricemode:
  12961. description: '取价方式 - 1:市价 2: 限价'
  12962. type: integer
  12963. tradedate:
  12964. description: 交易日(yyyyMMdd)
  12965. type: string
  12966. tradeqty:
  12967. description: 成交数量
  12968. type: integer
  12969. type: object
  12970. models.QueryHedgeTradeDetailRsp:
  12971. properties:
  12972. accountid:
  12973. description: 账号ID
  12974. type: integer
  12975. buyorsell:
  12976. description: 方向 - 0:买 1:卖
  12977. type: integer
  12978. channelbuildtype:
  12979. description: 委托单据类型 0:无 1:建仓 2:平仓
  12980. type: integer
  12981. closecharge:
  12982. description: 平仓手续费(账户)
  12983. type: number
  12984. closecharge2:
  12985. description: 平仓手续费(商品)
  12986. type: number
  12987. closepl:
  12988. description: 平仓盈亏(账户)
  12989. type: number
  12990. closepl2:
  12991. description: 平仓盈亏(商品)
  12992. type: number
  12993. closepl3:
  12994. description: 平仓盈亏(账户)(逐笔)
  12995. type: number
  12996. closepl4:
  12997. description: 平仓盈亏(商品)(逐笔)
  12998. type: number
  12999. closetype:
  13000. description: 平仓方式 - 0:无 1:平今 2:平昨
  13001. type: integer
  13002. curexchangerate:
  13003. description: 当前汇率
  13004. type: number
  13005. exchangefullname:
  13006. description: 外部交易所全称
  13007. type: string
  13008. goodscode:
  13009. description: 商品代码(内部)
  13010. type: string
  13011. goodsid:
  13012. description: 商品ID
  13013. type: integer
  13014. goodsname:
  13015. description: 商品名称
  13016. type: string
  13017. marketid:
  13018. description: 市场ID
  13019. type: integer
  13020. opencharge:
  13021. description: 建仓手续费(账户)
  13022. type: number
  13023. opencharge2:
  13024. description: 建仓手续费(商品)
  13025. type: number
  13026. orderid:
  13027. description: 委托单号
  13028. type: string
  13029. orderlogincode:
  13030. description: 委托人
  13031. type: string
  13032. tradeamount:
  13033. description: 成交金额(账户)
  13034. type: number
  13035. tradedate:
  13036. description: 交易日(yyyyMMdd)
  13037. type: string
  13038. tradeid:
  13039. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13040. type: string
  13041. tradeprice:
  13042. description: 成交价格
  13043. type: number
  13044. tradeqty:
  13045. description: 成交数量
  13046. type: integer
  13047. tradetime:
  13048. description: 成交时间
  13049. type: string
  13050. tradetype:
  13051. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  13052. type: integer
  13053. type: object
  13054. models.QuotePrimaryMenu:
  13055. properties:
  13056. Index:
  13057. description: 序号
  13058. type: integer
  13059. Key:
  13060. description: 键名
  13061. type: string
  13062. Name:
  13063. description: 菜单名称
  13064. type: string
  13065. SubMenus:
  13066. description: 子菜单
  13067. items:
  13068. $ref: '#/definitions/models.QuoteSecondaryMenu'
  13069. type: array
  13070. SubTitleType:
  13071. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  13072. type: integer
  13073. TradeModes:
  13074. description: 包含市场交易类型
  13075. type: string
  13076. type: object
  13077. models.QuoteSecondaryMenu:
  13078. properties:
  13079. ExExchangeCode:
  13080. description: 外部交易所代码
  13081. type: string
  13082. ExExchangeID:
  13083. description: 外部交易所ID
  13084. type: integer
  13085. GoodsGroupIDs:
  13086. description: 商品组ID列表
  13087. items:
  13088. type: integer
  13089. type: array
  13090. Index:
  13091. description: 序号
  13092. type: integer
  13093. MarketID:
  13094. description: 市场ID
  13095. type: integer
  13096. MenuTitle:
  13097. description: 菜单标题(市场名称或外部交易所名称)
  13098. type: string
  13099. TradeMode:
  13100. description: 交易模式
  13101. type: integer
  13102. type: object
  13103. models.RoleMenu:
  13104. properties:
  13105. hasright:
  13106. description: 是否有权限 0-没有权限 1-有权限
  13107. type: integer
  13108. iconame:
  13109. description: 菜单图标
  13110. type: string
  13111. menutype:
  13112. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  13113. type: integer
  13114. parentcode:
  13115. description: 上级资源代码
  13116. type: string
  13117. remark:
  13118. description: 菜单备注
  13119. type: string
  13120. resourcecode:
  13121. description: 菜单代码
  13122. type: string
  13123. resourcelevel:
  13124. description: 级别
  13125. type: integer
  13126. resourcename:
  13127. description: 菜单名称
  13128. type: string
  13129. roleid:
  13130. description: 角色id
  13131. type: integer
  13132. sort:
  13133. description: 排序
  13134. type: integer
  13135. subMenu:
  13136. description: 子级菜单(结构同上层一样, swag解析不出来)
  13137. items:
  13138. $ref: '#/definitions/models.RoleMenu'
  13139. type: array
  13140. url:
  13141. description: URL
  13142. type: string
  13143. userid:
  13144. description: 用户id
  13145. type: integer
  13146. type: object
  13147. models.SearchGoods:
  13148. properties:
  13149. goodscode:
  13150. description: 商品代码(内部)
  13151. type: string
  13152. goodsid:
  13153. description: 商品ID(自增ID SEQ_GOODS)
  13154. type: integer
  13155. goodsname:
  13156. description: 商品名称
  13157. type: string
  13158. marketid:
  13159. description: 所属市场ID
  13160. type: integer
  13161. marketname:
  13162. description: 市场名称
  13163. type: string
  13164. trademode:
  13165. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  13166. type: integer
  13167. required:
  13168. - goodscode
  13169. - goodsid
  13170. - goodsname
  13171. - marketid
  13172. - trademode
  13173. type: object
  13174. models.Systemparam:
  13175. properties:
  13176. loginid:
  13177. description: 更新用户账号,登录账号
  13178. type: string
  13179. modifyflag:
  13180. description: 修改标志0 不允许修改 1 允许修改
  13181. type: integer
  13182. paramcode:
  13183. description: 参数代码
  13184. type: string
  13185. paramname:
  13186. description: 参数名
  13187. type: string
  13188. paramtype:
  13189. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  13190. type: integer
  13191. paramvalue:
  13192. description: 参数值
  13193. type: string
  13194. paramvalue2:
  13195. description: 参数值(CLOB)
  13196. type: string
  13197. regexpress:
  13198. description: 正则表达式
  13199. type: string
  13200. remark:
  13201. description: 备注
  13202. type: string
  13203. serverip:
  13204. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  13205. type: string
  13206. showflag:
  13207. description: 是否显示0 不显示 1 显示
  13208. type: integer
  13209. updatetime:
  13210. description: 更新时间
  13211. type: string
  13212. userid:
  13213. description: 更新用户ID
  13214. type: integer
  13215. required:
  13216. - paramcode
  13217. type: object
  13218. models.Szdz3convertconfig:
  13219. properties:
  13220. canin:
  13221. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  13222. type: integer
  13223. canout:
  13224. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  13225. type: integer
  13226. converttype:
  13227. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)
  13228. type: integer
  13229. createtime:
  13230. description: 创建时间
  13231. type: string
  13232. creatorid:
  13233. description: 创建人
  13234. type: integer
  13235. daymaxvalue:
  13236. description: 当日最大转入限制
  13237. type: number
  13238. freezedays:
  13239. description: 冻结天数 [5:花生米转交易]
  13240. type: integer
  13241. innergoodsid:
  13242. description: 内部商品ID[交易]
  13243. type: integer
  13244. inratio:
  13245. description: 目标值
  13246. type: integer
  13247. modifierid:
  13248. description: 修改人
  13249. type: integer
  13250. modifytime:
  13251. description: 修改时间
  13252. type: string
  13253. outergoodscode:
  13254. description: 外部商品代码[JD\PD]
  13255. type: string
  13256. outratio:
  13257. description: 源值
  13258. type: integer
  13259. pddecimalplace:
  13260. description: PD小数位
  13261. type: integer
  13262. timemaxvalue:
  13263. description: 单次最大转入限制
  13264. type: number
  13265. timeminvalue:
  13266. description: 单次最小转入限制
  13267. type: number
  13268. required:
  13269. - converttype
  13270. - innergoodsid
  13271. - outergoodscode
  13272. type: object
  13273. models.Szdz3searchwhitelist:
  13274. properties:
  13275. createtime:
  13276. description: 创建时间
  13277. type: string
  13278. creatorid:
  13279. description: 创建人
  13280. type: integer
  13281. modifierid:
  13282. description: 修改人
  13283. type: integer
  13284. modifytime:
  13285. description: 修改时间
  13286. type: string
  13287. userid:
  13288. description: 用户ID
  13289. type: integer
  13290. required:
  13291. - userid
  13292. type: object
  13293. models.TBGoods:
  13294. properties:
  13295. agreeunit:
  13296. description: 合约乘数
  13297. type: number
  13298. enumdicname:
  13299. description: 单位名称
  13300. type: string
  13301. goodscode:
  13302. description: 商品代码(内部)
  13303. type: string
  13304. goodsid:
  13305. description: 商品ID(自增ID SEQ_GOODS)
  13306. type: integer
  13307. goodsname:
  13308. description: 商品名称
  13309. type: string
  13310. type: object
  13311. models.TBGoodsGroup:
  13312. properties:
  13313. convertratio:
  13314. description: 折算系数
  13315. type: number
  13316. enumdicname:
  13317. description: 单位名称
  13318. type: string
  13319. exexchangecode:
  13320. description: 交易所代码
  13321. type: string
  13322. exexchangename:
  13323. description: 交易所名称
  13324. type: string
  13325. gdlst:
  13326. description: 商品列表
  13327. items:
  13328. $ref: '#/definitions/models.TBGoods'
  13329. type: array
  13330. goodsgroupid:
  13331. description: 商品组ID(自增ID)
  13332. type: integer
  13333. goodsgroupname:
  13334. description: 商品组名称
  13335. type: string
  13336. goodunitid:
  13337. description: 报价单位ID
  13338. type: integer
  13339. type: object
  13340. models.TBMiddleGoods:
  13341. properties:
  13342. areauserid:
  13343. description: 机构用户ID
  13344. type: integer
  13345. enumdicname:
  13346. description: 单位名称
  13347. type: string
  13348. goodsunitid:
  13349. description: 套保品种单位id
  13350. type: integer
  13351. gplst:
  13352. description: 期货品种列表
  13353. items:
  13354. $ref: '#/definitions/models.TBGoodsGroup'
  13355. type: array
  13356. middlegoodscode:
  13357. description: 套保品种代码
  13358. type: string
  13359. middlegoodsid:
  13360. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  13361. type: integer
  13362. middlegoodsname:
  13363. description: 套保品种名称
  13364. type: string
  13365. needarbitrageratio:
  13366. description: 套利比率
  13367. type: number
  13368. needhedgeratio:
  13369. description: 套保比率
  13370. type: number
  13371. wdlst:
  13372. description: 商品信息列表(现货品类)
  13373. items:
  13374. $ref: '#/definitions/models.TBWrstandard'
  13375. type: array
  13376. type: object
  13377. models.TBWrstandard:
  13378. properties:
  13379. convertratio:
  13380. description: 折算系数
  13381. type: number
  13382. deliverygoodsname:
  13383. description: 品种名称
  13384. type: string
  13385. enumdicname:
  13386. description: 单位名称
  13387. type: string
  13388. vatrate:
  13389. description: 增值税率
  13390. type: number
  13391. wrstandardcode:
  13392. description: 现货商品代码
  13393. type: string
  13394. wrstandardid:
  13395. description: 现货商品ID(SEQ_WRSTANDARD)
  13396. type: integer
  13397. wrstandardname:
  13398. description: 现货商品名称
  13399. type: string
  13400. type: object
  13401. models.Taaccount:
  13402. properties:
  13403. accountflag:
  13404. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  13405. type: integer
  13406. accountid:
  13407. description: 资金账户ID
  13408. type: integer
  13409. accountname:
  13410. description: 账户名称
  13411. type: string
  13412. balance:
  13413. description: 期初余额
  13414. type: number
  13415. capitalbalance:
  13416. description: 本金余额[外部子账户实际出入金余额]
  13417. type: number
  13418. changeflag:
  13419. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  13420. type: integer
  13421. changetime:
  13422. description: 账户状态变更时间
  13423. type: string
  13424. closepl:
  13425. description: 今日平仓盈亏
  13426. type: number
  13427. creditdecrease:
  13428. description: 今日授信减少
  13429. type: number
  13430. creditincrease:
  13431. description: 今日授信增加
  13432. type: number
  13433. curamount:
  13434. description: 总市值(从持仓中统计)
  13435. type: number
  13436. currencyid:
  13437. description: 货币ID
  13438. type: integer
  13439. currentbalance:
  13440. description: 期末余额
  13441. type: number
  13442. freezecharge:
  13443. description: 手续费冻结
  13444. type: number
  13445. freezemargin:
  13446. description: 冻结保证金
  13447. type: number
  13448. fromaccountid:
  13449. description: 所属上级账户
  13450. type: integer
  13451. inamount:
  13452. description: 今日入金金额(包括三方入金)
  13453. type: number
  13454. ismain:
  13455. description: 是否母账号 0:不是母账户 1:是母账户
  13456. type: integer
  13457. ismarketaccount:
  13458. description: 是否机构接单账号 0:不是 1:是
  13459. type: integer
  13460. isreckonaccount:
  13461. description: 是否机构分润账号 0:不是 1:是
  13462. type: integer
  13463. mortgagecredit:
  13464. description: 授信金额
  13465. type: number
  13466. orifreezecharge:
  13467. description: 期初手续费冻结
  13468. type: number
  13469. orifreezemargin:
  13470. description: 期初冻结保证金
  13471. type: number
  13472. orimortgagecredit:
  13473. description: 期初授信金额
  13474. type: number
  13475. oriothercredit:
  13476. description: 期初其它授信金额
  13477. type: number
  13478. oriotherfreezemargin:
  13479. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  13480. type: number
  13481. orioutamountfreeze:
  13482. description: 期初出金冻结
  13483. type: number
  13484. oriusedmargin:
  13485. description: 期初占用保证金
  13486. type: number
  13487. othercredit:
  13488. description: 其它授信金额
  13489. type: number
  13490. othercreditdecrease:
  13491. description: 今日其它授信减少
  13492. type: number
  13493. othercreditincrease:
  13494. description: 今日其它授信增加
  13495. type: number
  13496. otherfreezemargin:
  13497. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  13498. type: number
  13499. otherincome:
  13500. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  13501. type: number
  13502. otherpay:
  13503. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  13504. type: number
  13505. outamount:
  13506. description: 今日出金金额(包括三方出金)
  13507. type: number
  13508. outamountfreeze:
  13509. description: 出金冻结
  13510. type: number
  13511. outthreshold:
  13512. description: 出金阈值
  13513. type: number
  13514. parentaccountid:
  13515. description: 所属根账号
  13516. type: integer
  13517. paycharge:
  13518. description: 今日手续费支出
  13519. type: number
  13520. relatedaccountstatus:
  13521. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  13522. type: integer
  13523. relateduserid:
  13524. description: 关联用户
  13525. type: integer
  13526. remainamount:
  13527. description: 融资额(从融资合同中统计)
  13528. type: number
  13529. serivcegroup:
  13530. description: 服务分组
  13531. type: integer
  13532. signstatus:
  13533. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  13534. type: integer
  13535. sublevelpath:
  13536. description: 账号层级路径(逗号分隔,首尾加逗号)
  13537. type: string
  13538. taaccounttype:
  13539. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  13540. type: integer
  13541. thirdinamount:
  13542. description: 今日三方入金
  13543. type: number
  13544. thirdoutamount:
  13545. description: 今日三方出金
  13546. type: number
  13547. tradestatus:
  13548. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  13549. type: integer
  13550. tradestatuschangetime:
  13551. description: 激活时间
  13552. type: string
  13553. transferamount:
  13554. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  13555. type: number
  13556. usedmargin:
  13557. description: 占用保证金
  13558. type: number
  13559. userid:
  13560. description: 用户ID
  13561. type: integer
  13562. required:
  13563. - accountid
  13564. - userid
  13565. type: object
  13566. models.Tablecolumnconfig:
  13567. properties:
  13568. aligntype:
  13569. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  13570. type: integer
  13571. autoid:
  13572. description: AutoID
  13573. type: integer
  13574. columnfield:
  13575. description: 列字段
  13576. type: string
  13577. columntitle:
  13578. description: 列Title
  13579. type: string
  13580. columnwidth:
  13581. description: 列宽
  13582. type: string
  13583. formatterstring:
  13584. description: 格式化字符
  13585. type: string
  13586. formattertype:
  13587. description: 格式化类型
  13588. type: string
  13589. groupname:
  13590. description: 表头分组名称
  13591. type: string
  13592. isshow:
  13593. description: 是否显示 - 0:不显示 1:显示
  13594. type: integer
  13595. needsummary:
  13596. description: 是否需要汇总 - 0:不需要 1:需要
  13597. type: integer
  13598. orderindex:
  13599. description: 顺序
  13600. type: integer
  13601. remark:
  13602. description: 备注
  13603. type: string
  13604. summarytype:
  13605. description: 汇总类型 - 1:加总 2:最后一个
  13606. type: integer
  13607. tablekey:
  13608. description: 列表Key
  13609. type: string
  13610. required:
  13611. - autoid
  13612. type: object
  13613. models.TjmdQuoteGoods:
  13614. properties:
  13615. buyqty:
  13616. description: 买量(暂不做, 无值, 保留字段)
  13617. type: number
  13618. goodscode:
  13619. description: 合约代码
  13620. type: string
  13621. goodsgroupid:
  13622. description: 商品组ID(自增ID)
  13623. type: integer
  13624. goodsgroupname:
  13625. description: 商品组名称
  13626. type: string
  13627. goodsid:
  13628. description: 合约id
  13629. type: integer
  13630. goodsname:
  13631. description: 合约名称
  13632. type: string
  13633. refgoodscode:
  13634. description: 标的合约代码
  13635. type: string
  13636. refgoodsid:
  13637. description: 标的合约id
  13638. type: integer
  13639. refgoodsname:
  13640. description: 标的合约名称
  13641. type: string
  13642. sellqty:
  13643. description: 卖量(暂不做, 无值, 保留字段)
  13644. type: number
  13645. type: object
  13646. models.TjmdTodayAccountMargin:
  13647. properties:
  13648. accountid:
  13649. description: 账号ID
  13650. type: integer
  13651. goodsid:
  13652. description: 商品ID
  13653. type: integer
  13654. infoc:
  13655. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  13656. description: 配置参数
  13657. marketid:
  13658. description: 市场ID
  13659. type: integer
  13660. type: object
  13661. models.TjmdTradeOrderDetail:
  13662. properties:
  13663. buyorsell:
  13664. description: 买卖方向 0-买 1-卖
  13665. type: integer
  13666. goodsid:
  13667. description: 商品id
  13668. type: integer
  13669. marketmaxsub:
  13670. description: 市价最大偏移范围 [浮动价 - 点差]
  13671. type: number
  13672. orderid:
  13673. description: 委托单号
  13674. type: string
  13675. orderprice:
  13676. description: 委托价格
  13677. type: number
  13678. orderqty:
  13679. description: 委托数量
  13680. type: integer
  13681. pricemode:
  13682. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  13683. type: integer
  13684. userid:
  13685. description: 用户id
  13686. type: integer
  13687. username:
  13688. description: 用户名称(已脱敏)
  13689. type: string
  13690. type: object
  13691. models.TjmdTransferApply:
  13692. properties:
  13693. applyid:
  13694. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  13695. type: integer
  13696. applystatus:
  13697. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  13698. type: integer
  13699. applytime:
  13700. description: 申请时间(时间)
  13701. type: string
  13702. auditremark:
  13703. description: 审核备注(拒绝原因?)
  13704. type: string
  13705. buyorsell:
  13706. description: 买卖 - 0:买 1:卖
  13707. type: integer
  13708. goodscode:
  13709. description: 商品代码
  13710. type: string
  13711. goodsid:
  13712. description: 商品ID
  13713. type: integer
  13714. goodsname:
  13715. description: 商品名称
  13716. type: string
  13717. marketid:
  13718. description: 市场ID
  13719. type: integer
  13720. qty:
  13721. description: 转让数量(数量)
  13722. type: number
  13723. tradeid:
  13724. description: 成交单号(关联持仓)
  13725. type: string
  13726. transferamount:
  13727. description: 转让总金额(金额)
  13728. type: number
  13729. transferprice:
  13730. description: 转让价格(协议价格)
  13731. type: number
  13732. type: object
  13733. models.TradeHolderDetail:
  13734. properties:
  13735. accountid:
  13736. description: 账号ID
  13737. type: integer
  13738. agreeunit:
  13739. description: 合约乘数
  13740. type: number
  13741. buyorsell:
  13742. description: 方向 - 0:买 1:卖
  13743. type: integer
  13744. currencyid:
  13745. description: 商品币种id
  13746. type: integer
  13747. currencyname:
  13748. description: 币种名称
  13749. type: string
  13750. decimalplace:
  13751. description: 商品价格小数位
  13752. type: integer
  13753. enumdicname:
  13754. description: 商品单位名称
  13755. type: string
  13756. expirecycle:
  13757. description: 行权周期(天) - 1:滚动行权时填写
  13758. type: integer
  13759. expiredate:
  13760. description: 行权日(yyyyMMdd) - 到期日
  13761. type: string
  13762. expiretype:
  13763. description: 行权日类型 - 1:滚动行权 2:固定日行权
  13764. type: integer
  13765. freezeqty:
  13766. description: 冻结数量
  13767. type: number
  13768. goodscode:
  13769. description: 商品代码
  13770. type: string
  13771. goodsid:
  13772. description: 商品ID
  13773. type: integer
  13774. goodsname:
  13775. description: 商品名称
  13776. type: string
  13777. goodunitid:
  13778. description: 商品单位id
  13779. type: integer
  13780. holderamount:
  13781. description: 持仓金额
  13782. type: number
  13783. holdercredit:
  13784. description: 持仓授信金额
  13785. type: number
  13786. holderdays:
  13787. description: 剩余冻结天数
  13788. type: integer
  13789. holderprice:
  13790. description: 持仓价格
  13791. type: number
  13792. holderqty:
  13793. description: 持仓数量
  13794. type: number
  13795. isconfirmexercise:
  13796. description: 是否确认行权- 0:否 1:是
  13797. type: integer
  13798. ispreexercise:
  13799. description: 是否预申报- 0:否 1:是 2:不可行权
  13800. type: integer
  13801. marketid:
  13802. description: 市场id
  13803. type: integer
  13804. marketname:
  13805. description: 市场名称
  13806. type: string
  13807. openprice:
  13808. description: 建仓价格
  13809. type: number
  13810. openqty:
  13811. description: 建仓数量
  13812. type: number
  13813. optiontype:
  13814. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  13815. type: integer
  13816. preexerciseprice:
  13817. description: 预申报价格
  13818. type: number
  13819. premium:
  13820. description: 权利金
  13821. type: number
  13822. qtydecimalplace:
  13823. description: 商品成交量小数位
  13824. type: integer
  13825. refgoodscode:
  13826. description: 标的合约代码
  13827. type: string
  13828. refgoodsid:
  13829. description: 标的合约id
  13830. type: integer
  13831. releaseamount:
  13832. description: 释放持仓金额
  13833. type: number
  13834. releaseholdercredit:
  13835. description: 释放持仓授信金额
  13836. type: number
  13837. taname:
  13838. description: 资金账号名称
  13839. type: string
  13840. tradeamount:
  13841. description: 成交金额
  13842. type: number
  13843. tradedate:
  13844. description: 交易日(yyyyMMdd)
  13845. type: string
  13846. tradeid:
  13847. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13848. type: string
  13849. trademode:
  13850. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价 46:掉期
  13851. type: integer
  13852. tradeproperty:
  13853. description: 交易属性
  13854. type: integer
  13855. tradetime:
  13856. description: 交易时间
  13857. type: string
  13858. userid:
  13859. description: 用户id
  13860. type: integer
  13861. username:
  13862. description: 用户名称
  13863. type: string
  13864. type: object
  13865. models.UserCollectConfig:
  13866. properties:
  13867. accountstatus:
  13868. description: 账户状态 - 1:正常 2:停用 3:注销
  13869. type: integer
  13870. collectaccountname:
  13871. description: 收款人账户名称
  13872. type: string
  13873. collectaccountno:
  13874. description: 收款人账户
  13875. type: string
  13876. collectbankname:
  13877. description: 收款人开户行
  13878. type: string
  13879. collectbranchbankname:
  13880. description: 收款人开户支行
  13881. type: string
  13882. collectconfigid:
  13883. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  13884. type: string
  13885. remark:
  13886. description: 备注
  13887. type: string
  13888. userid:
  13889. description: 收款人用户ID
  13890. type: integer
  13891. type: object
  13892. models.UserReceiveInfo:
  13893. properties:
  13894. address:
  13895. description: 提货人详细地址
  13896. type: string
  13897. autoid:
  13898. description: AutoID
  13899. type: integer
  13900. cardnum:
  13901. description: 证件号码(加密存储)
  13902. type: string
  13903. cardtypeid:
  13904. description: 证件类型
  13905. type: integer
  13906. cityid:
  13907. description: 市
  13908. type: integer
  13909. cityname:
  13910. description: 城市名称
  13911. type: string
  13912. countryid:
  13913. description: 国家
  13914. type: integer
  13915. countryname:
  13916. description: 国家名称
  13917. type: string
  13918. districtid:
  13919. description: 地区
  13920. type: integer
  13921. districtname:
  13922. description: 地区名称
  13923. type: string
  13924. hasencrypt:
  13925. description: 数据是否已加密 - 0:未加密 1:已加密
  13926. type: integer
  13927. isdefault:
  13928. description: 是否默认地址 - 0:否 1:是
  13929. type: integer
  13930. phonenum:
  13931. description: 提货人联系方式(加密存储)
  13932. type: string
  13933. provinceid:
  13934. description: 省
  13935. type: integer
  13936. provincename:
  13937. description: 省名称
  13938. type: string
  13939. receivername:
  13940. description: 提货人姓名
  13941. type: string
  13942. takeremark:
  13943. description: 提货备注
  13944. type: string
  13945. userid:
  13946. description: 用户ID
  13947. type: integer
  13948. type: object
  13949. models.Useraccount:
  13950. properties:
  13951. accountname:
  13952. description: 账户名称(机构名称)
  13953. type: string
  13954. accountstatus:
  13955. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  13956. type: integer
  13957. applysrc:
  13958. description: 申请来源 - 1:管理端 2:终端
  13959. type: integer
  13960. auditremark:
  13961. description: 审核备注
  13962. type: string
  13963. auditsrc:
  13964. description: 审核来源 - 1:管理端 2:终端
  13965. type: integer
  13966. audittime:
  13967. description: 审核时间
  13968. type: string
  13969. audituserid:
  13970. description: 审核人
  13971. type: integer
  13972. broker:
  13973. description: 所属经纪人ID
  13974. type: integer
  13975. canceltime:
  13976. description: 销户时间
  13977. type: string
  13978. canceluserid:
  13979. description: 销户人
  13980. type: integer
  13981. canrecommend:
  13982. description: 是否可推荐 - 0:不可 1;可
  13983. type: integer
  13984. createtime:
  13985. description: 创建时间
  13986. type: string
  13987. creatorid:
  13988. description: 创建人
  13989. type: integer
  13990. hasauth:
  13991. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  13992. type: integer
  13993. isanonymous:
  13994. description: 是否匿名下单 - 0:否 1:是
  13995. type: integer
  13996. maxinvestornum:
  13997. description: 最大用户数(经纪会员下投资者个数)
  13998. type: integer
  13999. memberuserid:
  14000. description: 所属会员ID
  14001. type: integer
  14002. modifierid:
  14003. description: 修改人
  14004. type: integer
  14005. modifyremark:
  14006. description: 变更备注
  14007. type: string
  14008. modifystatus:
  14009. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  14010. type: integer
  14011. modifytime:
  14012. description: 修改时间
  14013. type: string
  14014. parenttopuser:
  14015. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  14016. type: string
  14017. parentuserid:
  14018. description: 所属机构ID
  14019. type: integer
  14020. reckonaccountid:
  14021. description: 默认结算资金账号ID(机构分润使用) 作废
  14022. type: integer
  14023. refercount:
  14024. description: 推荐总人数
  14025. type: integer
  14026. refereeuserid:
  14027. description: 推荐人ID
  14028. type: integer
  14029. refernum:
  14030. description: 推荐码
  14031. type: string
  14032. rootuserid:
  14033. description: 根用户ID
  14034. type: integer
  14035. subaccountlevel:
  14036. description: 子账户层数
  14037. type: integer
  14038. subarealevelpath:
  14039. description: 子机构层级路径(逗号分隔,首尾加逗号)
  14040. type: string
  14041. userid:
  14042. description: 用户ID
  14043. type: integer
  14044. usertype:
  14045. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  14046. type: integer
  14047. required:
  14048. - userid
  14049. type: object
  14050. models.Userfavoritegoods:
  14051. properties:
  14052. goodsid:
  14053. description: 商品ID
  14054. type: integer
  14055. required:
  14056. - goodsid
  14057. type: object
  14058. models.Userinfo:
  14059. properties:
  14060. address:
  14061. description: 地址
  14062. type: string
  14063. attachment1:
  14064. description: 附件1
  14065. type: string
  14066. attachment2:
  14067. description: 附件2
  14068. type: string
  14069. bankaccount:
  14070. description: 银行帐号 (加密存储)
  14071. type: string
  14072. bankaccountname:
  14073. description: 收款人名称
  14074. type: string
  14075. bankcardfrontphotourl:
  14076. description: 银行卡正面照地址
  14077. type: string
  14078. bankid:
  14079. description: 银行编码
  14080. type: string
  14081. bankname:
  14082. description: 银行名称
  14083. type: string
  14084. biznature:
  14085. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  14086. type: integer
  14087. bizscope:
  14088. description: 企业经营范围(企业)
  14089. type: string
  14090. cardbackphotourl:
  14091. description: 证件背面图片地址
  14092. type: string
  14093. cardfrontphotourl:
  14094. description: 证件正面图片地址
  14095. type: string
  14096. cardnum:
  14097. description: 证件号码(加密存储)
  14098. type: string
  14099. cardtypeid:
  14100. description: 证件类型ID
  14101. type: integer
  14102. cityid:
  14103. description: 市
  14104. type: integer
  14105. company:
  14106. description: 公司(个人)
  14107. type: string
  14108. contactname:
  14109. description: 联系人
  14110. type: string
  14111. countryid:
  14112. description: 国家
  14113. type: integer
  14114. createtime:
  14115. description: 创建时间
  14116. type: string
  14117. creatorid:
  14118. description: 创建人
  14119. type: integer
  14120. customername:
  14121. description: 客户名称(企业名称)
  14122. type: string
  14123. districtid:
  14124. description: 地区
  14125. type: integer
  14126. email:
  14127. description: 邮件(加密存储)
  14128. type: string
  14129. fax:
  14130. description: 传真(加密存储)
  14131. type: string
  14132. halfbodyphotourl:
  14133. description: 半身照地址
  14134. type: string
  14135. hasencrypt:
  14136. description: 数据是否已加密 - 0:未加密 1:已加密
  14137. type: integer
  14138. headurl:
  14139. description: 头像地址
  14140. type: string
  14141. legalcardbackphotourl:
  14142. description: 法人身份证背面照地址
  14143. type: string
  14144. legalcardfrontphotourl:
  14145. description: 法人身份证正面照地址
  14146. type: string
  14147. legalpersonname:
  14148. description: 法人姓名(企业)
  14149. type: string
  14150. mobile:
  14151. description: 手机号码(加密存储)
  14152. type: string
  14153. mobile2:
  14154. description: 手机号码[明文-尚志]
  14155. type: string
  14156. modifierid:
  14157. description: 修改人
  14158. type: integer
  14159. modifiertime:
  14160. description: 修改时间
  14161. type: string
  14162. needinvoice:
  14163. description: 是否需要发票 - 0:不需要 1:需要
  14164. type: integer
  14165. nickname:
  14166. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  14167. type: string
  14168. openmode:
  14169. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  14170. type: integer
  14171. otherurl:
  14172. description: 其它图片地址[使用分号分隔]
  14173. type: string
  14174. postalcode:
  14175. description: 邮政编码
  14176. type: string
  14177. provinceid:
  14178. description: 省
  14179. type: integer
  14180. qq:
  14181. description: QQ(加密存储
  14182. type: string
  14183. remark:
  14184. description: 备注
  14185. type: string
  14186. sex:
  14187. description: '用户性别 0: 女 1: 男'
  14188. type: integer
  14189. signpdfurl:
  14190. description: 签约pdf文件
  14191. type: string
  14192. telphone:
  14193. description: 联系电话(加密存储)
  14194. type: string
  14195. userid:
  14196. description: 用户ID
  14197. type: integer
  14198. userinfotype:
  14199. description: 用户信息类型 - 1:个人 2:企业
  14200. type: integer
  14201. userstatus:
  14202. description: 用户状态 - 1:正常 2:注销
  14203. type: integer
  14204. usertype:
  14205. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  14206. type: integer
  14207. wechat:
  14208. description: 微信(加密存储)
  14209. type: string
  14210. wskhinfo:
  14211. description: 开户申请信息(JSON)
  14212. type: string
  14213. required:
  14214. - userid
  14215. type: object
  14216. models.WRSConverTDetail:
  14217. properties:
  14218. convertratio:
  14219. description: 套保系数
  14220. type: number
  14221. deliverygoodscode:
  14222. description: 现货商品代码
  14223. type: string
  14224. deliverygoodsid:
  14225. description: 现货品种ID
  14226. type: integer
  14227. deliverygoodsname:
  14228. description: 现货商品名称
  14229. type: string
  14230. enumdicname:
  14231. description: 单位名称
  14232. type: string
  14233. goodsunitid:
  14234. description: 套保品种单位id
  14235. type: integer
  14236. middlegoodscode:
  14237. description: 套保品种代码
  14238. type: string
  14239. middlegoodsid:
  14240. description: 套保品种ID
  14241. type: integer
  14242. middlegoodsname:
  14243. description: 套保品种名称
  14244. type: string
  14245. modifytime:
  14246. description: 修改时间
  14247. type: string
  14248. wrstandardid:
  14249. description: 品类ID
  14250. type: integer
  14251. type: object
  14252. models.WRStandardInfo:
  14253. properties:
  14254. areauserid:
  14255. description: 所属机构
  14256. type: integer
  14257. convertfactor:
  14258. description: 标仓系数
  14259. type: number
  14260. createtime:
  14261. description: 创建时间
  14262. type: string
  14263. creatorid:
  14264. description: 创建人
  14265. type: integer
  14266. deliverygoodsid:
  14267. description: 品种ID
  14268. type: integer
  14269. deliverygoodsname:
  14270. description: 交割商品名称
  14271. type: string
  14272. factoryitemjson:
  14273. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID, 逗号分隔'
  14274. type: string
  14275. isvalid:
  14276. description: 是否有效 - 0:无效 1:有效
  14277. type: integer
  14278. minivalue:
  14279. description: 最小变动值
  14280. type: integer
  14281. minivaluedp:
  14282. description: 最小变动值小数位
  14283. type: integer
  14284. realminivalue:
  14285. description: 实际最小变动值
  14286. type: integer
  14287. realminivaluedp:
  14288. description: 实际最小变动值小数位
  14289. type: integer
  14290. remark:
  14291. description: 备注
  14292. type: string
  14293. unitid:
  14294. description: 单位ID
  14295. type: integer
  14296. unitname:
  14297. description: 单位
  14298. type: string
  14299. updatetime:
  14300. description: 更新时间
  14301. type: string
  14302. updatorid:
  14303. description: 更新人
  14304. type: integer
  14305. wrsstatus:
  14306. description: 状态 - 作废 - 0:未激活 1:正常
  14307. type: integer
  14308. wrstandardcode:
  14309. description: 现货品类代码
  14310. type: string
  14311. wrstandardid:
  14312. description: 现货品类ID(SEQ_WRSTANDARD)
  14313. type: integer
  14314. wrstandardname:
  14315. description: 现货品类名称
  14316. type: string
  14317. required:
  14318. - wrstandardid
  14319. type: object
  14320. models.WRTradeBargainApply:
  14321. properties:
  14322. accountid:
  14323. description: 摘牌资金账号
  14324. type: integer
  14325. applyprice:
  14326. description: 申请价格(议价价格)
  14327. type: string
  14328. applyqty:
  14329. description: 摘牌数量(议价数量)
  14330. type: number
  14331. applyremark:
  14332. description: 申请备注
  14333. type: string
  14334. applystatus:
  14335. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  14336. type: integer
  14337. applytime:
  14338. description: 申请时间(议价时间)
  14339. type: string
  14340. buyorsell:
  14341. description: 买卖(挂牌类型) - 0:买 1:卖
  14342. type: integer
  14343. confirmremark:
  14344. description: 确认备注
  14345. type: string
  14346. confirmtime:
  14347. description: 确认时间
  14348. type: string
  14349. confirmuserid:
  14350. description: 确认人
  14351. type: integer
  14352. deliverygoodscode:
  14353. description: 品种代码
  14354. type: string
  14355. deliverygoodsid:
  14356. description: 品种ID
  14357. type: integer
  14358. deliverygoodsname:
  14359. description: 品种名称
  14360. type: string
  14361. deliverymonth:
  14362. description: 交收月
  14363. type: string
  14364. enumdicname:
  14365. description: 单位名称
  14366. type: string
  14367. fixedprice:
  14368. description: 挂牌价格
  14369. type: number
  14370. handlestatus:
  14371. description: 处理状态
  14372. type: integer
  14373. marginvalue:
  14374. description: 履约保证金比例
  14375. type: number
  14376. marketid:
  14377. description: 市场ID
  14378. type: integer
  14379. matchaccountid:
  14380. description: 挂牌方资金账号
  14381. type: integer
  14382. matchuserid:
  14383. description: 挂牌方用户id
  14384. type: integer
  14385. matchusername:
  14386. description: 挂牌方用户名称(已脱敏)
  14387. type: string
  14388. minivalue:
  14389. description: 现货商品最小变动值
  14390. type: integer
  14391. optioncompare:
  14392. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14393. type: string
  14394. orderqty:
  14395. description: 挂牌数量
  14396. type: integer
  14397. refprice:
  14398. description: 参考价格
  14399. type: string
  14400. retcode:
  14401. description: 委托返回代码
  14402. type: integer
  14403. templatename:
  14404. description: 履约方式(履约模板名称)
  14405. type: string
  14406. tradedate:
  14407. description: 交易日(yyyyMMdd)
  14408. type: string
  14409. userid:
  14410. description: 摘牌人用户ID(议价人ID)
  14411. type: integer
  14412. username:
  14413. description: 议价人名字(已脱敏)
  14414. type: string
  14415. validtime:
  14416. description: 有效期限
  14417. type: string
  14418. warehouseid:
  14419. description: 仓库ID
  14420. type: integer
  14421. warehousename:
  14422. description: 仓库名称
  14423. type: string
  14424. wrbargainid:
  14425. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  14426. type: string
  14427. wrfactortypeid:
  14428. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14429. type: string
  14430. wrfactortypename:
  14431. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14432. type: string
  14433. wrstandardcode:
  14434. description: 现货商品代码
  14435. type: string
  14436. wrstandardid:
  14437. description: 现货商品ID
  14438. type: integer
  14439. wrstandardname:
  14440. description: 商品名称
  14441. type: string
  14442. wrtradeorderid:
  14443. description: 关联委托单ID
  14444. type: string
  14445. wrtypename:
  14446. description: 商品
  14447. type: string
  14448. type: object
  14449. models.Warehouseinfo:
  14450. properties:
  14451. address:
  14452. description: 详细地址
  14453. type: string
  14454. areauserid:
  14455. description: 所属机构
  14456. type: integer
  14457. autoid:
  14458. description: 自增ID
  14459. type: integer
  14460. cityid:
  14461. description: 市
  14462. type: integer
  14463. contactname:
  14464. description: 联系人
  14465. type: string
  14466. contactnum:
  14467. description: 联系电话
  14468. type: string
  14469. countryid:
  14470. description: 国家
  14471. type: integer
  14472. createtime:
  14473. description: 创建时间
  14474. type: string
  14475. districtid:
  14476. description: 区
  14477. type: integer
  14478. hasvideo:
  14479. description: 是否有视频 - 0:无 1:有
  14480. type: integer
  14481. provinceid:
  14482. description: 省
  14483. type: integer
  14484. remark:
  14485. description: 审核备注
  14486. type: string
  14487. videourl:
  14488. description: 视频地址
  14489. type: string
  14490. warehousecode:
  14491. description: 仓库代码
  14492. type: string
  14493. warehousename:
  14494. description: 仓库名称
  14495. type: string
  14496. warehousestatus:
  14497. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  14498. type: integer
  14499. warehousetype:
  14500. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  14501. type: integer
  14502. required:
  14503. - autoid
  14504. - warehousecode
  14505. type: object
  14506. models.WrAverageTradePrice:
  14507. properties:
  14508. averageprice:
  14509. description: 成交均价
  14510. type: number
  14511. tradedate:
  14512. description: 交易日yyyymm
  14513. type: string
  14514. type: object
  14515. models.WrBsGoodsInfo:
  14516. properties:
  14517. buyorsell:
  14518. description: 买卖方向 0-买 1-卖
  14519. type: integer
  14520. goodsid:
  14521. description: 交易合约ID
  14522. type: integer
  14523. lstitem:
  14524. description: 商品信息项
  14525. items:
  14526. $ref: '#/definitions/models.WrTypeItem'
  14527. type: array
  14528. lststep:
  14529. description: 履约规则
  14530. items:
  14531. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  14532. type: array
  14533. type: object
  14534. models.WrBuybackDetail:
  14535. properties:
  14536. buybackamount:
  14537. description: 回购金额
  14538. type: number
  14539. buybackqty:
  14540. description: 回购数量
  14541. type: number
  14542. buybackreleasemargin:
  14543. description: 回购释放保证金
  14544. type: number
  14545. buybacktime:
  14546. description: 回购时间
  14547. type: string
  14548. errordesc:
  14549. description: 错误描述
  14550. type: string
  14551. handlestatus:
  14552. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  14553. type: integer
  14554. relatedwrid:
  14555. description: 关联仓单ID
  14556. type: integer
  14557. scfcontractid:
  14558. description: SCF合同ID
  14559. type: string
  14560. scfwrbuybackid:
  14561. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  14562. type: integer
  14563. tradedate:
  14564. description: 交易日(yyyyMMdd)
  14565. type: string
  14566. type: object
  14567. models.WrDeliveryAvalidHoldLB:
  14568. properties:
  14569. accountid:
  14570. description: 资金账号
  14571. type: integer
  14572. avalidqty:
  14573. description: 数量(可点选数量)
  14574. type: number
  14575. deliverygoodsid:
  14576. description: 品种id
  14577. type: integer
  14578. enumdicname:
  14579. description: 单位名称
  14580. type: string
  14581. goodsid:
  14582. description: x合约商品id
  14583. type: integer
  14584. ladingbillid:
  14585. description: 提单id
  14586. type: string
  14587. pgoodscode:
  14588. description: p商品代码(点价合约)
  14589. type: string
  14590. pgoodsid:
  14591. description: p商品id(点价合约)
  14592. type: integer
  14593. pgoodsname:
  14594. description: p商品名称(点价合约)
  14595. type: string
  14596. pricemove:
  14597. description: 升贴水
  14598. type: number
  14599. subnum:
  14600. description: 提单子id
  14601. type: integer
  14602. userid:
  14603. description: 用户id
  14604. type: integer
  14605. username:
  14606. description: 仓单持有人
  14607. type: string
  14608. warehousecode:
  14609. description: 仓库代码
  14610. type: string
  14611. warehouseid:
  14612. description: 仓库id
  14613. type: integer
  14614. warehousename:
  14615. description: 仓库名称
  14616. type: string
  14617. wrfactortypeid:
  14618. description: 仓单要素id
  14619. type: string
  14620. wrstandardcode:
  14621. description: 品代码
  14622. type: string
  14623. wrstandardid:
  14624. description: 品类d
  14625. type: integer
  14626. wrstandardname:
  14627. description: 品类名称
  14628. type: string
  14629. wrtypename:
  14630. description: 商品
  14631. type: string
  14632. xgoodscode:
  14633. description: x合约代码
  14634. type: string
  14635. xgoodsname:
  14636. description: x合约名称
  14637. type: string
  14638. type: object
  14639. models.WrDeliveryDetail:
  14640. properties:
  14641. accountid:
  14642. description: 账号ID
  14643. type: integer
  14644. averageprice:
  14645. description: 交割均价 = 交割金额 / 交割数量
  14646. type: number
  14647. buyorsell:
  14648. description: 方向 - 0:买 1:卖
  14649. type: integer
  14650. deliveryamount:
  14651. description: 货款金额(X总货款+P总货款)
  14652. type: number
  14653. deliveryid:
  14654. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  14655. type: string
  14656. deliveryorderid:
  14657. description: 申报单号
  14658. type: string
  14659. deliverypricemove:
  14660. description: 升贴水(升贴水总额)
  14661. type: number
  14662. deliveryqty:
  14663. description: 交收数量(点选数量)
  14664. type: number
  14665. deliverystatus:
  14666. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  14667. type: integer
  14668. deliverytime:
  14669. description: 交割时间
  14670. type: string
  14671. deliverytotalamount:
  14672. description: 交收金额
  14673. type: number
  14674. enumdicname:
  14675. description: 单位名称
  14676. type: string
  14677. matchaccountid:
  14678. description: 对手账号ID
  14679. type: integer
  14680. matchusername:
  14681. description: 对手方名称(仓单持有人)
  14682. type: string
  14683. p1goodsremainamount:
  14684. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  14685. type: number
  14686. pdeliverycloseqty:
  14687. description: p合约平仓数量
  14688. type: number
  14689. pdeliveryprice:
  14690. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  14691. type: number
  14692. pgoodscode:
  14693. description: 商品代码
  14694. type: string
  14695. pgoodsid:
  14696. description: p点选合约id
  14697. type: integer
  14698. pgoodsname:
  14699. description: 商品名称
  14700. type: string
  14701. ppricemode:
  14702. description: 点价价格方式 - 1:商品价 2:固定值
  14703. type: integer
  14704. tradedate:
  14705. description: 交易日(yyyymmdd)
  14706. type: string
  14707. userid:
  14708. description: 用户id
  14709. type: integer
  14710. username:
  14711. description: 用户名称
  14712. type: string
  14713. warehousename:
  14714. description: 仓库名称
  14715. type: string
  14716. wrfactortypeid:
  14717. description: 仓单要素类型ID
  14718. type: string
  14719. wrtypename:
  14720. description: 商品
  14721. type: string
  14722. xdeliverycloseqty:
  14723. description: 合约数量
  14724. type: number
  14725. xgoodsamount:
  14726. description: 合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)
  14727. type: number
  14728. xgoodscode:
  14729. description: 商品代码
  14730. type: string
  14731. xgoodsid:
  14732. description: x交易合约ID
  14733. type: integer
  14734. xgoodsname:
  14735. description: 商品名称
  14736. type: string
  14737. type: object
  14738. models.WrDeliveryGoodsSection:
  14739. properties:
  14740. dglst:
  14741. description: 板块商品列表
  14742. items:
  14743. $ref: '#/definitions/models.WrDeliveryGoodsSectionConfig'
  14744. type: array
  14745. imagepath:
  14746. description: 图片地址
  14747. type: string
  14748. orderindex:
  14749. description: 排序
  14750. type: integer
  14751. sectionid:
  14752. description: 版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType = 1的版块1 - 云融指数
  14753. type: integer
  14754. sectionname:
  14755. description: 版块名称
  14756. type: string
  14757. sectiontype:
  14758. description: 版块类型 - 1:指数版块 2:普通版块
  14759. type: integer
  14760. type: object
  14761. models.WrDeliveryGoodsSectionConfig:
  14762. properties:
  14763. deliverygoodscode:
  14764. description: 现货商品代码
  14765. type: string
  14766. deliverygoodsid:
  14767. description: 现货品种ID(SEQ_DELIVERYGOODS)
  14768. type: integer
  14769. deliverygoodsname:
  14770. description: 现货商品名称
  14771. type: string
  14772. orderindex:
  14773. description: 排序
  14774. type: integer
  14775. type: object
  14776. models.WrFAProductDetail:
  14777. properties:
  14778. accountid:
  14779. description: 资金账号
  14780. type: integer
  14781. areauserid:
  14782. description: 金融机构ID
  14783. type: integer
  14784. financingdays:
  14785. description: 天数(天)
  14786. type: integer
  14787. interestminlen:
  14788. description: 最小起息天数
  14789. type: integer
  14790. interestrate:
  14791. description: 利率
  14792. type: number
  14793. interestratemode:
  14794. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  14795. type: integer
  14796. interestsettlemode:
  14797. description: 结息方式 - 1:按日结息 3:按月结息
  14798. type: integer
  14799. interestsettlevalue:
  14800. description: 结息方式值
  14801. type: integer
  14802. isautoloan:
  14803. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  14804. type: integer
  14805. loantag:
  14806. description: '放款标识: "放款快" 或者为空'
  14807. type: string
  14808. marginratio:
  14809. description: 保证金比率质押率 - [仓单质押]
  14810. type: number
  14811. productdetailid:
  14812. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  14813. type: integer
  14814. productid:
  14815. description: 金融产品ID
  14816. type: integer
  14817. productname:
  14818. description: 产品名称
  14819. type: string
  14820. updatetime:
  14821. description: 更新时间
  14822. type: string
  14823. username:
  14824. description: 融出方
  14825. type: string
  14826. type: object
  14827. models.WrFactorTypeInfo:
  14828. properties:
  14829. deliverygoodscode:
  14830. description: 品种代码
  14831. type: string
  14832. deliverygoodsname:
  14833. description: 品种名称
  14834. type: string
  14835. dgfactoryitemid:
  14836. description: 选择项id
  14837. type: integer
  14838. dgfactoryitemtypeid:
  14839. description: 要素选择项ID (1-仓库 2-品牌)
  14840. type: integer
  14841. dgfactoryitemvalue:
  14842. description: 要素项值
  14843. type: string
  14844. itemtypename:
  14845. description: 要素项名称
  14846. type: string
  14847. optioncompare:
  14848. description: 选择比较串
  14849. type: string
  14850. warehouseid:
  14851. description: 仓库id
  14852. type: integer
  14853. wrfactortypeid:
  14854. description: 仓单要素ID
  14855. type: string
  14856. wrfactortypename:
  14857. description: 要素名称
  14858. type: string
  14859. wrfactortypename2:
  14860. description: 要素名称(不含仓库)
  14861. type: string
  14862. wrstandardcode:
  14863. description: 品类代码
  14864. type: string
  14865. wrstandardid:
  14866. description: 品类id
  14867. type: integer
  14868. wrstandardname:
  14869. description: 品类名称
  14870. type: string
  14871. type: object
  14872. models.WrFilterItem:
  14873. properties:
  14874. itemcode:
  14875. description: 代码
  14876. type: string
  14877. itemid:
  14878. description: 项id
  14879. type: integer
  14880. itemname:
  14881. description: 名称
  14882. type: string
  14883. itemtype:
  14884. description: 类型 1-品种 2-品类(商品) 3-仓库
  14885. type: integer
  14886. type: object
  14887. models.WrFinanceBuyApply:
  14888. properties:
  14889. applydate:
  14890. description: 申请时间
  14891. type: string
  14892. applystatus:
  14893. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  14894. type: integer
  14895. applyuserid:
  14896. description: 申请人
  14897. type: integer
  14898. auditdate:
  14899. description: 审核时间
  14900. type: string
  14901. auditremark:
  14902. description: 审核备注
  14903. type: string
  14904. audituserid:
  14905. description: 审核人
  14906. type: integer
  14907. buyaccountid:
  14908. description: 买方资金账号
  14909. type: integer
  14910. buyorsell:
  14911. description: 买卖 - 0:买 1:卖
  14912. type: integer
  14913. buyuserid:
  14914. description: 买方用户ID
  14915. type: integer
  14916. buyusername:
  14917. description: 买方名称
  14918. type: string
  14919. buywrtradeorderid:
  14920. description: 融资方买委托单ID
  14921. type: string
  14922. deliverygoodscode:
  14923. description: 品种代码
  14924. type: string
  14925. deliverygoodsid:
  14926. description: 品种ID
  14927. type: integer
  14928. deliverygoodsname:
  14929. description: 品种名称
  14930. type: string
  14931. deliverymonth:
  14932. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  14933. type: string
  14934. enumdicname:
  14935. description: 单位名称
  14936. type: string
  14937. financeaccountid:
  14938. description: 融资方资金帐户ID
  14939. type: integer
  14940. financeapplyid:
  14941. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  14942. type: string
  14943. financeareauserid:
  14944. description: 融资方用户ID
  14945. type: string
  14946. financename:
  14947. description: 融出方名称
  14948. type: string
  14949. financetype:
  14950. description: 融资类型 1-融资回购
  14951. type: integer
  14952. financingdays:
  14953. description: 天数(天)
  14954. type: integer
  14955. freezebuymargin:
  14956. description: 冻结融资保证金(买方)
  14957. type: number
  14958. handleremark:
  14959. description: 处理备注
  14960. type: string
  14961. handlestatus:
  14962. description: 处理状态
  14963. type: integer
  14964. interestminlen:
  14965. description: 最小起息天数
  14966. type: integer
  14967. interestrate:
  14968. description: 利率
  14969. type: number
  14970. interestratemode:
  14971. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  14972. type: integer
  14973. interestsettlemode:
  14974. description: 结息方式 - 1:按日结息 3:按月结息
  14975. type: integer
  14976. interestsettlevalue:
  14977. description: 结息方式值
  14978. type: integer
  14979. isautoloan:
  14980. description: 是否自动放款 - 0:手动 1:自动
  14981. type: integer
  14982. marginratio:
  14983. description: 保证金比率质押率 - [仓单质押]
  14984. type: number
  14985. marketid:
  14986. description: 市场ID
  14987. type: integer
  14988. minivalue:
  14989. description: 现货商品最小变动值
  14990. type: integer
  14991. optioncompare:
  14992. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14993. type: string
  14994. orderqty:
  14995. description: 委托数量(商品数量)
  14996. type: number
  14997. productdetailid:
  14998. description: 产品组合ID
  14999. type: integer
  15000. productid:
  15001. description: 金融产品ID
  15002. type: integer
  15003. productname:
  15004. description: 产品名称
  15005. type: string
  15006. remark:
  15007. description: 备注
  15008. type: string
  15009. scfcontractid:
  15010. description: 仓单回购合同ID
  15011. type: string
  15012. sellaccountid:
  15013. description: 卖方资金账号
  15014. type: integer
  15015. selluserid:
  15016. description: 卖方用户ID
  15017. type: integer
  15018. sellwrtradeorderid:
  15019. description: 卖方委托单ID
  15020. type: string
  15021. tradeamount:
  15022. description: 成交金额(借款金额)
  15023. type: number
  15024. tradedate:
  15025. description: 交易日(yyyyMMdd)
  15026. type: string
  15027. tradeprice:
  15028. description: 成交价格
  15029. type: number
  15030. warehouseid:
  15031. description: 仓库ID
  15032. type: integer
  15033. warehousename:
  15034. description: 仓库名称
  15035. type: string
  15036. wrfactortypeid:
  15037. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15038. type: string
  15039. wrfactortypename:
  15040. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15041. type: string
  15042. wrpricetype:
  15043. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  15044. type: integer
  15045. wrstandardcode:
  15046. description: 现货商品代码
  15047. type: string
  15048. wrstandardid:
  15049. description: 现货商品ID
  15050. type: integer
  15051. wrstandardname:
  15052. description: 商品名称
  15053. type: string
  15054. wrtypename:
  15055. description: 商品
  15056. type: string
  15057. type: object
  15058. models.WrFriendApply:
  15059. properties:
  15060. applicantid:
  15061. description: 申请人
  15062. type: integer
  15063. applyname:
  15064. description: 申请人名称
  15065. type: string
  15066. applysrc:
  15067. description: 申请来源 - 1:管理端 2:终端
  15068. type: integer
  15069. applystatus:
  15070. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  15071. type: integer
  15072. applytime:
  15073. description: 申请时间
  15074. type: string
  15075. auditname:
  15076. description: 审核人名称
  15077. type: string
  15078. auditorid:
  15079. description: 审核人
  15080. type: integer
  15081. auditremark:
  15082. description: 审核备注
  15083. type: string
  15084. auditsrc:
  15085. description: 审核来源 - 1:管理端 2:终端
  15086. type: integer
  15087. audittime:
  15088. description: 审核时间
  15089. type: string
  15090. friendapplyid:
  15091. description: 申请ID(SEQ_FRIENDAPPLY)
  15092. type: string
  15093. friendname:
  15094. description: 好友名字(已脱敏)
  15095. type: string
  15096. frienduserid:
  15097. description: 好友用户ID
  15098. type: string
  15099. remark:
  15100. description: 备注
  15101. type: string
  15102. userid:
  15103. description: 申请人用户ID
  15104. type: integer
  15105. type: object
  15106. models.WrFtDeliveryGoods:
  15107. properties:
  15108. deliverygoodscode:
  15109. description: 品种代码
  15110. type: string
  15111. deliverygoodsid:
  15112. description: 品种ID
  15113. type: integer
  15114. deliverygoodsname:
  15115. description: 品种名称
  15116. type: string
  15117. wdlst:
  15118. description: 商品列表
  15119. items:
  15120. $ref: '#/definitions/models.WrFtWrstandard'
  15121. type: array
  15122. type: object
  15123. models.WrFtWrstandard:
  15124. properties:
  15125. enumdicname:
  15126. description: 单位名称
  15127. type: string
  15128. minivalue:
  15129. description: 最小变动值
  15130. type: integer
  15131. wrstandardcode:
  15132. description: 现货商品代码
  15133. type: string
  15134. wrstandardid:
  15135. description: 现货商品ID
  15136. type: integer
  15137. wrstandardname:
  15138. description: 商品名称
  15139. type: string
  15140. type: object
  15141. models.WrGoodsInfo:
  15142. properties:
  15143. haswr:
  15144. description: 0:仓单预售 1:仓单贸易
  15145. type: integer
  15146. lstitem:
  15147. description: 商品信息项
  15148. items:
  15149. $ref: '#/definitions/models.WrTypeItem'
  15150. type: array
  15151. lststep:
  15152. description: 履约规则
  15153. items:
  15154. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  15155. type: array
  15156. marketid:
  15157. description: 市场id
  15158. type: integer
  15159. type: object
  15160. models.WrGoodsPerformanceStep:
  15161. properties:
  15162. autoid:
  15163. description: AutoID
  15164. type: integer
  15165. isauto:
  15166. description: 是否自动 - 0:不自动 1:自动
  15167. type: integer
  15168. remark:
  15169. description: 备注
  15170. type: string
  15171. stepdate:
  15172. description: 天数信息(T+N)
  15173. type: string
  15174. stepdays:
  15175. description: 距离上一步天数
  15176. type: integer
  15177. stepindex:
  15178. description: 步骤序号
  15179. type: integer
  15180. stepinfo:
  15181. description: 步骤信息(步骤名称+步骤值)
  15182. type: string
  15183. steptypeid:
  15184. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  15185. type: integer
  15186. steptypename:
  15187. description: 步骤名称
  15188. type: string
  15189. stepvalue:
  15190. description: 步骤值
  15191. type: number
  15192. templateid:
  15193. description: 履约计划模板ID
  15194. type: integer
  15195. type: object
  15196. models.WrHoldLB:
  15197. properties:
  15198. accountid:
  15199. description: 持有人帐户ID
  15200. type: integer
  15201. createtime:
  15202. description: 创建时间(过户时间)
  15203. type: string
  15204. deliverygoodscode:
  15205. description: 品种代码
  15206. type: string
  15207. deliverygoodsid:
  15208. description: 品种ID
  15209. type: integer
  15210. deliverygoodsname:
  15211. description: 品种名称
  15212. type: string
  15213. enableqty:
  15214. description: 可用数量
  15215. type: number
  15216. enumdicname:
  15217. description: 单位名称
  15218. type: string
  15219. freezerqty:
  15220. description: 冻结数量
  15221. type: number
  15222. ladingbillid:
  15223. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  15224. type: string
  15225. minivalue:
  15226. description: 现货商品最小变动值
  15227. type: integer
  15228. optioncompare:
  15229. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15230. type: string
  15231. parentsubnum:
  15232. description: 拆分父子单号
  15233. type: integer
  15234. pledgeqty:
  15235. description: 质押数量
  15236. type: number
  15237. qty:
  15238. description: 数量
  15239. type: number
  15240. subnum:
  15241. description: 提单子单号
  15242. type: integer
  15243. tradedate:
  15244. description: 交易日(yyyyMMdd)
  15245. type: string
  15246. userid:
  15247. description: 持有人ID
  15248. type: integer
  15249. warehouseid:
  15250. description: 仓库ID
  15251. type: integer
  15252. warehousename:
  15253. description: 仓库名称
  15254. type: string
  15255. wrfactortypeid:
  15256. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15257. type: string
  15258. wrfactortypename:
  15259. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15260. type: string
  15261. wrholdeno:
  15262. description: 仓单编号
  15263. type: string
  15264. wrid:
  15265. description: 仓单变更ID
  15266. type: string
  15267. wrstandardcode:
  15268. description: 现货商品代码
  15269. type: string
  15270. wrstandardid:
  15271. description: 现货商品ID
  15272. type: integer
  15273. wrstandardname:
  15274. description: 商品名称
  15275. type: string
  15276. wrtypename:
  15277. description: 商品
  15278. type: string
  15279. type: object
  15280. models.WrMarketTradeConfig:
  15281. properties:
  15282. basisdownratio:
  15283. description: 浮动价基差下限比例(仓单贸易)
  15284. type: number
  15285. basisupratio:
  15286. description: 浮动价基差上限比例(仓单贸易)
  15287. type: number
  15288. buychargealgorithm:
  15289. description: 买方手续费收取方式 1:比率 2:固定
  15290. type: integer
  15291. buychargealgorithm2:
  15292. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  15293. type: integer
  15294. buychargealgorithmvalue:
  15295. description: 买方手续费设置值(交易所部分)
  15296. type: number
  15297. buychargealgorithmvalue2:
  15298. description: 买方手续费设置值(会员部分)
  15299. type: number
  15300. buychargealgorithmvalue3:
  15301. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  15302. type: number
  15303. buychargealgorithmvalue4:
  15304. description: 回购买方手续费设置值(会员部分) --77:现货商城
  15305. type: number
  15306. buyfirstmarginalgorithm:
  15307. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  15308. type: integer
  15309. buyfirstmarginvalue:
  15310. description: 买方出价保证金设置值 - [竞拍]
  15311. type: number
  15312. buymarginalgorithm:
  15313. description: 买方保证金方式 - 1:比率 2:固定
  15314. type: integer
  15315. buymarginvalue:
  15316. description: 买方保证金设置值
  15317. type: number
  15318. buyreleaseratio:
  15319. description: 买方释放比率[2:分步履约]
  15320. type: number
  15321. executemode:
  15322. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  15323. type: integer
  15324. executeside:
  15325. description: 执行方[2:分步履约] - 1:买方 2:卖方
  15326. type: integer
  15327. failedchargealgorithm:
  15328. description: 流拍手续费收取方式 1:比率 2:固定
  15329. type: integer
  15330. failedchargevalue:
  15331. description: 流拍手续费设置值
  15332. type: number
  15333. failedchargevalue2:
  15334. description: 流拍卖方手续费设置值
  15335. type: number
  15336. holddays:
  15337. description: 合同期限[2:分步履约]
  15338. type: integer
  15339. marketid:
  15340. description: 市场ID-仓单贸易、竞拍、预售
  15341. type: integer
  15342. minqty:
  15343. description: 最小执行量[2:分步履约]
  15344. type: number
  15345. modifierid:
  15346. description: 修改人
  15347. type: integer
  15348. performancetempid:
  15349. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)
  15350. type: integer
  15351. performancetempid2:
  15352. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行
  15353. type: integer
  15354. performanceway:
  15355. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  15356. type: integer
  15357. sellchargealgorithm:
  15358. description: 卖方手续费收取方式 1:比率 2:固定
  15359. type: integer
  15360. sellchargealgorithm2:
  15361. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  15362. type: integer
  15363. sellchargealgorithmvalue:
  15364. description: 卖方手续费设置值(交易所部分)
  15365. type: number
  15366. sellchargealgorithmvalue2:
  15367. description: 卖方手续费设置值(会员部分)
  15368. type: number
  15369. sellchargealgorithmvalue3:
  15370. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  15371. type: number
  15372. sellchargealgorithmvalue4:
  15373. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  15374. type: number
  15375. sellmarginalgorithm:
  15376. description: 卖方保证金方式 - 1:比率 2:固定
  15377. type: integer
  15378. sellmarginvalue:
  15379. description: 卖方保证金设置值
  15380. type: number
  15381. sellmarginvalue2:
  15382. description: 卖方保证金设置值(无仓单)
  15383. type: number
  15384. sellreleaseratio:
  15385. description: 卖方释放比率[2:分步履约]
  15386. type: number
  15387. updatetime:
  15388. description: 更新时间
  15389. type: string
  15390. type: object
  15391. models.WrOrderDetail:
  15392. properties:
  15393. accountid:
  15394. description: 交易账号(资金账号)
  15395. type: integer
  15396. allfriendsflag:
  15397. description: 是否全好友可见 - 0:否 1:是
  15398. type: integer
  15399. amount:
  15400. description: 挂牌金额 = 委托数量 * 固定价或升贴水
  15401. type: number
  15402. buyorsell:
  15403. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  15404. type: integer
  15405. canbargain:
  15406. description: 是否可议价 - 0:不可 1:可
  15407. type: integer
  15408. cancelqty:
  15409. description: 撤销数量
  15410. type: number
  15411. canpart:
  15412. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  15413. type: integer
  15414. delistminqty:
  15415. description: 起摘数量
  15416. type: integer
  15417. deliverygoodscode:
  15418. description: 品种代码
  15419. type: string
  15420. deliverygoodsid:
  15421. description: 品种ID
  15422. type: integer
  15423. deliverygoodsname:
  15424. description: 品种名称
  15425. type: string
  15426. deliverymonth:
  15427. description: 交收月
  15428. type: string
  15429. enumdicname:
  15430. description: 单位名称
  15431. type: string
  15432. fixedprice:
  15433. description: 固定价格 - [挂牌]
  15434. type: number
  15435. freezemargin:
  15436. description: 冻结保证金(保证金)
  15437. type: number
  15438. futupricemove:
  15439. description: 期货升贴水
  15440. type: number
  15441. futushow:
  15442. description: 期货合约/升贴水
  15443. type: string
  15444. goodscode:
  15445. description: 期货合约
  15446. type: string
  15447. goodsid:
  15448. description: 期货商品id
  15449. type: integer
  15450. goodsname:
  15451. description: 商品名称
  15452. type: string
  15453. haswr:
  15454. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  15455. type: integer
  15456. isspecified:
  15457. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  15458. type: integer
  15459. ladingbillid:
  15460. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  15461. type: string
  15462. marginvalue:
  15463. description: 保证金设置值(履约保证金)
  15464. type: number
  15465. marketid:
  15466. description: 市场ID
  15467. type: integer
  15468. matchusername:
  15469. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  15470. type: string
  15471. minivalue:
  15472. description: 现货商品最小变动值
  15473. type: integer
  15474. optioncompare:
  15475. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15476. type: string
  15477. orderqty:
  15478. description: 委托数量
  15479. type: number
  15480. ordertime:
  15481. description: 委托时间(挂牌时间)
  15482. type: string
  15483. performancetemplateid:
  15484. description: 履约模板id
  15485. type: integer
  15486. pricemove:
  15487. description: 升贴水(浮动价时填写) - [挂牌]
  15488. type: number
  15489. taname:
  15490. description: 交易用户名称(资金账号名称)
  15491. type: string
  15492. tradedate:
  15493. description: 交易日(yyyyMMdd)
  15494. type: string
  15495. tradeprice:
  15496. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  15497. type: number
  15498. tradeqty:
  15499. description: 成交数量
  15500. type: number
  15501. userid:
  15502. description: 用户ID
  15503. type: integer
  15504. validtime:
  15505. description: 挂牌有效期
  15506. type: string
  15507. warehouseid:
  15508. description: 仓库ID
  15509. type: integer
  15510. warehousename:
  15511. description: 仓库名称
  15512. type: string
  15513. wrfactortypeid:
  15514. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15515. type: string
  15516. wrfactortypename:
  15517. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15518. type: string
  15519. wrpricetype:
  15520. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  15521. type: integer
  15522. wrstandardcode:
  15523. description: 现货商品代码
  15524. type: string
  15525. wrstandardid:
  15526. description: 现货商品ID
  15527. type: integer
  15528. wrstandardname:
  15529. description: 商品名称
  15530. type: string
  15531. wrtradeorderid:
  15532. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15533. type: string
  15534. wrtradeorderstatus:
  15535. 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:撤单解冻贷款失败
  15536. type: integer
  15537. wrtradetype:
  15538. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  15539. type: integer
  15540. wrtypename:
  15541. description: 商品
  15542. type: string
  15543. type: object
  15544. models.WrOrderQuote:
  15545. properties:
  15546. buyprice:
  15547. description: 买价
  15548. type: number
  15549. buypricemove:
  15550. description: 买升贴水(基差)
  15551. type: number
  15552. buyqty:
  15553. description: 买量
  15554. type: number
  15555. deliverygoodscode:
  15556. description: 品种代码
  15557. type: string
  15558. deliverygoodsid:
  15559. description: 品种id
  15560. type: integer
  15561. deliverygoodsname:
  15562. description: 品种名称
  15563. type: string
  15564. deliverymonth:
  15565. description: 交收月
  15566. type: string
  15567. enumdicname:
  15568. description: 单位名称
  15569. type: string
  15570. goodscode:
  15571. description: 商品合约(浮动价列表才有)
  15572. type: string
  15573. goodsid:
  15574. description: 商品id(浮动价列表才有)
  15575. type: integer
  15576. minivalue:
  15577. description: 现货商品最小变动值
  15578. type: integer
  15579. sellprice:
  15580. description: 卖价
  15581. type: number
  15582. sellpricemove:
  15583. description: 卖升贴水(基差)
  15584. type: number
  15585. sellqty:
  15586. description: 卖量
  15587. type: number
  15588. warehousecode:
  15589. description: 仓库代码
  15590. type: string
  15591. warehouseid:
  15592. description: 仓库id
  15593. type: integer
  15594. warehousename:
  15595. description: 仓库名称
  15596. type: string
  15597. wrfactortypeid:
  15598. description: 仓单要素id
  15599. type: string
  15600. wrfactortypename:
  15601. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15602. type: string
  15603. wrgoodsname:
  15604. description: 商品(商品名称+仓库要素名称 拼接)
  15605. type: string
  15606. wrstandardcode:
  15607. description: 商品代码
  15608. type: string
  15609. wrstandardid:
  15610. description: 商品id
  15611. type: integer
  15612. wrstandardname:
  15613. description: 商品名称
  15614. type: string
  15615. type: object
  15616. models.WrOrderQuoteDetail:
  15617. properties:
  15618. buyorsell:
  15619. description: 买卖 - 0:买 1:卖
  15620. type: integer
  15621. delistminqty:
  15622. description: 起摘数量
  15623. type: number
  15624. deliverymonth:
  15625. description: 交收月
  15626. type: string
  15627. enumdicname:
  15628. description: 单位名称
  15629. type: string
  15630. fixedprice:
  15631. description: 买(卖)价
  15632. type: number
  15633. minivalue:
  15634. description: 现货商品最小变动值
  15635. type: integer
  15636. orderqty:
  15637. description: 买(卖)量(=委托量-成交量)
  15638. type: number
  15639. ordertime:
  15640. description: 委托时间
  15641. type: string
  15642. pricemove:
  15643. description: 买(卖)升贴水- 基差
  15644. type: number
  15645. userid:
  15646. description: 购买方(销售方)用户ID
  15647. type: integer
  15648. username:
  15649. description: 购买方(销售方)
  15650. type: string
  15651. wrtradeorderid:
  15652. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15653. type: string
  15654. type: object
  15655. models.WrOutInApply:
  15656. properties:
  15657. applyid:
  15658. description: 申请单id
  15659. type: string
  15660. applystatus:
  15661. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  15662. type: integer
  15663. applytime:
  15664. description: 申请时间
  15665. type: string
  15666. applytype:
  15667. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  15668. type: integer
  15669. deliverygoodscode:
  15670. description: 品种代码
  15671. type: string
  15672. deliverygoodsid:
  15673. description: 品种ID
  15674. type: integer
  15675. deliverygoodsname:
  15676. description: 品种名称
  15677. type: string
  15678. enumdicname:
  15679. description: 单位名称
  15680. type: string
  15681. expresscompany:
  15682. description: 物流公司
  15683. type: string
  15684. expressnum:
  15685. description: 物流单号
  15686. type: string
  15687. minivalue:
  15688. description: 现货商品最小变动值
  15689. type: integer
  15690. optioncompare:
  15691. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15692. type: string
  15693. qty:
  15694. description: 数量
  15695. type: integer
  15696. userid:
  15697. description: 用户id
  15698. type: integer
  15699. warehouseid:
  15700. description: 仓库ID
  15701. type: integer
  15702. warehousename:
  15703. description: 仓库名称
  15704. type: string
  15705. wrfactortypeid:
  15706. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15707. type: string
  15708. wrfactortypename:
  15709. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15710. type: string
  15711. wrstandardcode:
  15712. description: 现货商品代码
  15713. type: string
  15714. wrstandardid:
  15715. description: 现货商品ID
  15716. type: integer
  15717. wrstandardname:
  15718. description: 商品名称
  15719. type: string
  15720. wrtypename:
  15721. description: 商品
  15722. type: string
  15723. type: object
  15724. models.WrPerformancePlan:
  15725. properties:
  15726. activatemonth:
  15727. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  15728. type: string
  15729. amount:
  15730. description: 履约金额(总金额)
  15731. type: number
  15732. buyaccountid:
  15733. description: 买方账号
  15734. type: integer
  15735. buyerfreezeamount:
  15736. description: 履约冻结(买履约)
  15737. type: number
  15738. buyerfreezeamountremain:
  15739. description: 履约冻结剩余(买履约)
  15740. type: number
  15741. buyorsell:
  15742. description: 买卖方向 0-买 1-卖
  15743. type: integer
  15744. buypaidamount:
  15745. description: 买方已冻/已扣金额 (已付金额)
  15746. type: number
  15747. buyusername:
  15748. description: 买方名字
  15749. type: string
  15750. contractid:
  15751. description: 合同ID
  15752. type: integer
  15753. createtime:
  15754. description: 创建时间
  15755. type: string
  15756. creatorid:
  15757. description: 创建人
  15758. type: integer
  15759. curstepdeadline:
  15760. description: 当前步骤到期时间
  15761. type: string
  15762. curstepid:
  15763. description: 当前步骤ID
  15764. type: string
  15765. curstepname:
  15766. description: 当前步骤名称
  15767. type: string
  15768. deliverygoodscode:
  15769. description: 品种代码
  15770. type: string
  15771. deliverygoodsid:
  15772. description: 品种ID
  15773. type: integer
  15774. deliverygoodsname:
  15775. description: 品种名称
  15776. type: string
  15777. enumdicname:
  15778. description: 单位名称
  15779. type: string
  15780. expressfee:
  15781. description: 运费
  15782. type: number
  15783. expressfeeconfirmed:
  15784. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  15785. type: integer
  15786. hasovershort:
  15787. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  15788. type: integer
  15789. haswr:
  15790. description: 类型 0-仓单预售 1-仓单贸易
  15791. type: integer
  15792. marketid:
  15793. description: 市场ID
  15794. type: integer
  15795. middleaccountid:
  15796. description: 中间商资金账号ID
  15797. type: integer
  15798. middleuserid:
  15799. description: 中间商用户ID
  15800. type: integer
  15801. minivalue:
  15802. description: 现货商品最小变动值
  15803. type: integer
  15804. optioncompare:
  15805. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15806. type: string
  15807. overshortamount:
  15808. description: 溢短金额
  15809. type: number
  15810. overshortqty:
  15811. description: 溢短数量
  15812. type: number
  15813. paymenttype:
  15814. description: 付款方式 - 1:冻结 2:扣款
  15815. type: integer
  15816. performanceplanid:
  15817. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  15818. type: string
  15819. performancestatus:
  15820. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭
  15821. type: integer
  15822. performancetype:
  15823. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  15824. type: integer
  15825. qty:
  15826. description: 履约数量
  15827. type: number
  15828. relatedorderid:
  15829. description: 关联单号(履约类型的关联单号)
  15830. type: string
  15831. remark:
  15832. description: 备注
  15833. type: string
  15834. sellaccountid:
  15835. description: 卖方账号
  15836. type: integer
  15837. sellerfreezeamount:
  15838. description: 履约冻结(卖履约)
  15839. type: number
  15840. sellerfreezeamountremain:
  15841. description: 履约冻结剩余(卖履约)
  15842. type: number
  15843. sellreceivedamount:
  15844. description: 卖方已收金额
  15845. type: number
  15846. sellusername:
  15847. description: 卖方名字
  15848. type: string
  15849. shipremark:
  15850. description: 发货备注[物流单号]
  15851. type: string
  15852. starttime:
  15853. description: 开始时间
  15854. type: string
  15855. steptypeid:
  15856. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  15857. type: integer
  15858. typename:
  15859. description: 履约类型 名称
  15860. type: string
  15861. unpaidamount:
  15862. description: 剩余款(待支付金额)
  15863. type: number
  15864. userid:
  15865. description: 用户id
  15866. type: integer
  15867. warehouseid:
  15868. description: 仓库ID
  15869. type: integer
  15870. warehousename:
  15871. description: 仓库名称
  15872. type: string
  15873. wrfactortypeid:
  15874. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15875. type: string
  15876. wrfactortypename:
  15877. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15878. type: string
  15879. wrstandardcode:
  15880. description: 现货商品代码
  15881. type: string
  15882. wrstandardid:
  15883. description: 现货商品ID
  15884. type: integer
  15885. wrstandardname:
  15886. description: 商品名称
  15887. type: string
  15888. wrtransferuserid:
  15889. description: 仓单受让用户
  15890. type: integer
  15891. wrtypename:
  15892. description: 商品
  15893. type: string
  15894. required:
  15895. - userid
  15896. type: object
  15897. models.WrPerformancePlanStep:
  15898. properties:
  15899. delaydays:
  15900. description: 延期申请天数
  15901. type: integer
  15902. deliverygoodscode:
  15903. description: 品种代码
  15904. type: string
  15905. deliverygoodsid:
  15906. description: 品种ID
  15907. type: integer
  15908. deliverygoodsname:
  15909. description: 品种名称
  15910. type: string
  15911. endtime:
  15912. description: 结束日期
  15913. type: string
  15914. enumdicname:
  15915. description: 单位名称
  15916. type: string
  15917. executeside:
  15918. description: 步骤执行方 - 1:买方 2:卖方
  15919. type: integer
  15920. handlestatus:
  15921. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  15922. type: integer
  15923. isauto:
  15924. description: 是否自动 - 0:不自动 1:自动
  15925. type: integer
  15926. islastreceivestep:
  15927. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  15928. type: integer
  15929. minivalue:
  15930. description: 现货商品最小变动值
  15931. type: integer
  15932. optioncompare:
  15933. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15934. type: string
  15935. overdays:
  15936. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  15937. type: integer
  15938. performancestepid:
  15939. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  15940. type: string
  15941. planid:
  15942. description: 所属履约计划ID
  15943. type: string
  15944. realamount:
  15945. description: 实际完成金额
  15946. type: number
  15947. relatedorderid:
  15948. description: 关联单号
  15949. type: string
  15950. remaindays:
  15951. description: 剩余天数
  15952. type: integer
  15953. remark:
  15954. description: 错误备注
  15955. type: string
  15956. starttime:
  15957. description: 开始日期
  15958. type: string
  15959. stepamount:
  15960. description: 步骤金额
  15961. type: number
  15962. stepdays:
  15963. description: 距离上一步天数(分钟)
  15964. type: integer
  15965. stepindex:
  15966. description: 步骤序号
  15967. type: integer
  15968. steplanchtype:
  15969. description: 步骤启动类型 - 1:系统自动 2:手动
  15970. type: integer
  15971. stepremark:
  15972. description: 步骤备注
  15973. type: string
  15974. stepstatus:
  15975. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  15976. type: integer
  15977. steptypeid:
  15978. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  15979. type: integer
  15980. steptypename:
  15981. description: 步骤名称
  15982. type: string
  15983. stepvalue:
  15984. description: 步骤值
  15985. type: number
  15986. warehouseid:
  15987. description: 仓库ID
  15988. type: integer
  15989. warehousename:
  15990. description: 仓库名称
  15991. type: string
  15992. wrfactortypeid:
  15993. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15994. type: string
  15995. wrfactortypename:
  15996. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15997. type: string
  15998. wrstandardcode:
  15999. description: 现货商品代码
  16000. type: string
  16001. wrstandardid:
  16002. description: 现货商品ID
  16003. type: integer
  16004. wrstandardname:
  16005. description: 商品名称
  16006. type: string
  16007. wrtypename:
  16008. description: 商品
  16009. type: string
  16010. type: object
  16011. models.WrPerformanceStepType:
  16012. properties:
  16013. canauto:
  16014. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  16015. type: integer
  16016. steptypeid:
  16017. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  16018. type: integer
  16019. steptypename:
  16020. description: 步骤类型名称
  16021. type: string
  16022. type: object
  16023. models.WrPerformanceTemplateEx:
  16024. properties:
  16025. autoid:
  16026. description: AutoID 模板id
  16027. type: integer
  16028. createtime:
  16029. description: 创建时间
  16030. type: string
  16031. creatorid:
  16032. description: 创建人
  16033. type: integer
  16034. lstStep:
  16035. description: 步骤信息列表
  16036. items:
  16037. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  16038. type: array
  16039. paymenttype:
  16040. description: 支付方式 - 1:冻结 2:扣款
  16041. type: integer
  16042. takemode:
  16043. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  16044. type: integer
  16045. templatename:
  16046. description: 模板名称
  16047. type: string
  16048. templatetype:
  16049. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  16050. type: integer
  16051. userid:
  16052. description: 所属用户
  16053. type: integer
  16054. type: object
  16055. models.WrPosition:
  16056. properties:
  16057. accountid:
  16058. description: 帐户ID
  16059. type: integer
  16060. buyexcuteqty:
  16061. description: 采购履约中数量
  16062. type: number
  16063. creditcurqty:
  16064. description: 授信当前数量(预售仓单:预售当前量)
  16065. type: number
  16066. creditenableqty:
  16067. description: '授信可用数量(预售仓单: 可用数量)'
  16068. type: number
  16069. creditfreezeqty:
  16070. description: '授信冻结数量(预售仓单: 当前数量)'
  16071. type: number
  16072. credittotalqty:
  16073. description: 授信总数量(预售仓单:预售总量)
  16074. type: number
  16075. credittradeqty:
  16076. description: 授信成交数量(预售仓单:成交总量)
  16077. type: number
  16078. deliverygoodscode:
  16079. description: 品种代码
  16080. type: string
  16081. deliverygoodsid:
  16082. description: 品种ID
  16083. type: integer
  16084. deliverygoodsname:
  16085. description: 品种名称
  16086. type: string
  16087. enalbeqty:
  16088. description: 可用数量
  16089. type: number
  16090. enumdicname:
  16091. description: 单位名称
  16092. type: string
  16093. freezeqty:
  16094. description: 总冻结数量
  16095. type: number
  16096. haswr:
  16097. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16098. type: integer
  16099. minivalue:
  16100. description: 现货商品最小变动值
  16101. type: integer
  16102. modifytime:
  16103. description: 修改时间(过户时间)
  16104. type: string
  16105. optioncompare:
  16106. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16107. type: string
  16108. pledgeqty:
  16109. description: 质押数量
  16110. type: number
  16111. querytype:
  16112. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  16113. type: integer
  16114. sellexcuteqty:
  16115. description: 销售履约中数量
  16116. type: number
  16117. totalqty:
  16118. description: 总数量(库存数量)
  16119. type: number
  16120. warehouseid:
  16121. description: 仓库ID
  16122. type: integer
  16123. warehousename:
  16124. description: 仓库名称
  16125. type: string
  16126. wrfactortypeid:
  16127. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16128. type: string
  16129. wrfactortypename:
  16130. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16131. type: string
  16132. wrpositionid:
  16133. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  16134. type: string
  16135. wrpositionno:
  16136. description: 仓单编号
  16137. type: string
  16138. wrstandardcode:
  16139. description: 现货商品代码
  16140. type: string
  16141. wrstandardid:
  16142. description: 现货商品ID
  16143. type: integer
  16144. wrstandardname:
  16145. description: 商品名称
  16146. type: string
  16147. wrtypename:
  16148. description: 商品
  16149. type: string
  16150. wruserid:
  16151. description: 持有人ID
  16152. type: integer
  16153. type: object
  16154. models.WrQuoteOrderMyq:
  16155. properties:
  16156. buyorsell:
  16157. description: 买卖 - 0:买 1:卖
  16158. type: integer
  16159. canbargain:
  16160. description: 是否可议价 - 0:不可 1:可
  16161. type: integer
  16162. canpart:
  16163. description: 是否允许部份摘牌 - 0:不允许 1:允许
  16164. type: integer
  16165. delistminqty:
  16166. description: 起摘数量
  16167. type: number
  16168. deliverygoodscode:
  16169. description: 品种代码
  16170. type: string
  16171. deliverygoodsid:
  16172. description: 品种ID
  16173. type: integer
  16174. deliverygoodsname:
  16175. description: 品种名称
  16176. type: string
  16177. deliverymonth:
  16178. description: 交收月
  16179. type: string
  16180. enumdicname:
  16181. description: 单位名称
  16182. type: string
  16183. fixedprice:
  16184. description: 买(卖)价
  16185. type: number
  16186. goodscode:
  16187. description: 商品合约代码
  16188. type: string
  16189. marginflag:
  16190. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  16191. type: integer
  16192. marginvalue:
  16193. description: 保证金设置值
  16194. type: number
  16195. minivalue:
  16196. description: 现货商品最小变动值
  16197. type: integer
  16198. orderqty:
  16199. description: 买(卖)量(=委托量-成交量)
  16200. type: number
  16201. ordertime:
  16202. description: 委托时间
  16203. type: string
  16204. performancetemplateid:
  16205. description: 履约模板id
  16206. type: integer
  16207. pricemove:
  16208. description: 买(卖)升贴水- 基差
  16209. type: number
  16210. templatename:
  16211. description: 履约模板名称
  16212. type: string
  16213. userid:
  16214. description: 购买方(销售方)用户ID
  16215. type: integer
  16216. username:
  16217. description: 购买方(销售方)
  16218. type: string
  16219. validtime:
  16220. description: 有效期限
  16221. type: string
  16222. validtype:
  16223. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  16224. type: integer
  16225. warehousename:
  16226. description: 仓库名称
  16227. type: string
  16228. wrfactortypeid:
  16229. description: 仓单要素id
  16230. type: string
  16231. wrstandardcode:
  16232. description: 现货商品代码
  16233. type: string
  16234. wrstandardid:
  16235. description: 现货商品ID
  16236. type: integer
  16237. wrstandardname:
  16238. description: 商品名称
  16239. type: string
  16240. wrtradeorderid:
  16241. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16242. type: string
  16243. wrtypename:
  16244. description: 商品
  16245. type: string
  16246. type: object
  16247. models.WrScfContract:
  16248. properties:
  16249. borroweruserid:
  16250. description: 借款用户ID
  16251. type: integer
  16252. buybackwrpositionqty:
  16253. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  16254. type: number
  16255. closeinterest:
  16256. description: 已结利息 -> 已结费用
  16257. type: number
  16258. currisklevel:
  16259. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  16260. type: integer
  16261. deadline:
  16262. description: 截止日期(yyyyMMdd) -> 借款到期时间
  16263. type: string
  16264. deliverygoodscode:
  16265. description: 品种代码
  16266. type: string
  16267. deliverygoodsid:
  16268. description: 品种ID
  16269. type: integer
  16270. deliverygoodsname:
  16271. description: 品种名称
  16272. type: string
  16273. enumdicname:
  16274. description: 单位名称
  16275. type: string
  16276. financingdays:
  16277. description: 天数(天)
  16278. type: integer
  16279. initmargin:
  16280. description: 保证金 - [仓单回购]
  16281. type: number
  16282. interestamount:
  16283. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  16284. type: number
  16285. interestdebt:
  16286. description: 利息欠款(记录负数) -> 费用欠款
  16287. type: number
  16288. interestminlen:
  16289. description: 最小起息天数
  16290. type: integer
  16291. interestrate:
  16292. description: 利率
  16293. type: number
  16294. interestratemode:
  16295. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  16296. type: integer
  16297. interestsettlemode:
  16298. description: 结息方式 - 1:按日结息 3:按月结息
  16299. type: integer
  16300. interestsettlevalue:
  16301. description: 结息方式值
  16302. type: integer
  16303. isautoloan:
  16304. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  16305. type: integer
  16306. lastcloseinterestday:
  16307. description: 最近结息日(yyyyMMdd)
  16308. type: string
  16309. lenderamount:
  16310. description: 贷款金额 -> 借款金额
  16311. type: number
  16312. lenderuserid:
  16313. description: 贷款方用户ID -> 融出方用户ID
  16314. type: integer
  16315. lenderusername:
  16316. description: 融出方
  16317. type: string
  16318. marginratio:
  16319. description: 保证金比率质押率 - [仓单质押]
  16320. type: number
  16321. marketid:
  16322. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  16323. type: integer
  16324. minivalue:
  16325. description: 现货商品最小变动值
  16326. type: integer
  16327. optioncompare:
  16328. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16329. type: string
  16330. pricemove:
  16331. description: 估值升贴水值
  16332. type: number
  16333. productdetailid:
  16334. description: 产品组合ID
  16335. type: integer
  16336. productid:
  16337. description: 金融产品ID
  16338. type: integer
  16339. productname:
  16340. description: 产品名称
  16341. type: string
  16342. remainamount:
  16343. description: 合同剩余金额 -> 剩余金额
  16344. type: number
  16345. remainwrpositionqty:
  16346. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  16347. type: number
  16348. remark:
  16349. description: 备注
  16350. type: string
  16351. scfcontractid:
  16352. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  16353. type: string
  16354. scfcontractstatus:
  16355. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交
  16356. type: integer
  16357. scfcontracttype:
  16358. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  16359. type: integer
  16360. startinterestday:
  16361. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  16362. type: string
  16363. totalinterest:
  16364. description: 已计利息 -> 已计费用
  16365. type: number
  16366. unpaidinterest:
  16367. description: 未结费用
  16368. type: number
  16369. updatetime:
  16370. description: 更新时间
  16371. type: string
  16372. warehouseid:
  16373. description: 仓库ID
  16374. type: integer
  16375. warehousename:
  16376. description: 仓库名称
  16377. type: string
  16378. wrfactortypeid:
  16379. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16380. type: string
  16381. wrfactortypename:
  16382. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16383. type: string
  16384. wrqty:
  16385. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  16386. type: number
  16387. wrstandardcode:
  16388. description: 现货商品代码
  16389. type: string
  16390. wrstandardid:
  16391. description: 现货商品ID
  16392. type: integer
  16393. wrstandardname:
  16394. description: 商品名称
  16395. type: string
  16396. wrtypename:
  16397. description: 商品
  16398. type: string
  16399. type: object
  16400. models.WrScfContractInterest:
  16401. properties:
  16402. closeinterest:
  16403. description: 已结利息
  16404. type: number
  16405. closeintereststatus:
  16406. description: 结息状态 - 1:未结 2:已结
  16407. type: integer
  16408. closetime:
  16409. description: 结息时间
  16410. type: string
  16411. closetradedate:
  16412. description: 结息交易日
  16413. type: string
  16414. creatorid:
  16415. description: 操作人ID
  16416. type: integer
  16417. dayrate:
  16418. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  16419. type: number
  16420. interest:
  16421. description: 利息
  16422. type: number
  16423. interestamount:
  16424. description: 计息金额
  16425. type: number
  16426. interestday:
  16427. description: 计息日(yyyyMMdd)
  16428. type: string
  16429. scfcontractid:
  16430. description: SCF合同ID
  16431. type: string
  16432. scfcontractinterestid:
  16433. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  16434. type: integer
  16435. updatetime:
  16436. description: 更新时间
  16437. type: string
  16438. type: object
  16439. models.WrSiteColumnDetail:
  16440. properties:
  16441. brief:
  16442. description: 简介
  16443. type: string
  16444. context:
  16445. description: 内容
  16446. type: string
  16447. coverimage:
  16448. description: 封面图片
  16449. type: string
  16450. creaedate:
  16451. description: 创建时间
  16452. type: string
  16453. id:
  16454. description: ID(SEQ_SITE_COLUMNDETAIL)
  16455. type: integer
  16456. istop:
  16457. description: 是否置顶 - 0:不置 1:置顶
  16458. type: integer
  16459. publishdate:
  16460. description: 发布日期
  16461. type: string
  16462. title:
  16463. description: 标题
  16464. type: string
  16465. updatedate:
  16466. description: 修改时间
  16467. type: string
  16468. type: object
  16469. models.WrSpecialMatchOrder:
  16470. properties:
  16471. amount:
  16472. description: 金额 = 数量 * 价格
  16473. type: number
  16474. buyorsell:
  16475. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  16476. type: integer
  16477. cancelqty:
  16478. description: 撤销数量
  16479. type: number
  16480. deliverygoodscode:
  16481. description: 品种代码
  16482. type: string
  16483. deliverygoodsid:
  16484. description: 品种ID
  16485. type: integer
  16486. deliverygoodsname:
  16487. description: 品种名称
  16488. type: string
  16489. enumdicname:
  16490. description: 单位名称
  16491. type: string
  16492. fixedprice:
  16493. description: 固定价格(价格)
  16494. type: number
  16495. haswr:
  16496. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16497. type: integer
  16498. marketid:
  16499. description: 市场ID
  16500. type: integer
  16501. matchuserid:
  16502. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  16503. type: integer
  16504. matchusername:
  16505. description: 指定方
  16506. type: string
  16507. minivalue:
  16508. description: 现货商品最小变动值
  16509. type: integer
  16510. optioncompare:
  16511. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16512. type: string
  16513. orderqty:
  16514. description: 委托数量
  16515. type: number
  16516. ordertime:
  16517. description: 委托时间
  16518. type: string
  16519. pricemove:
  16520. description: 升贴水(浮动价时填写) - [挂牌]
  16521. type: number
  16522. tradedate:
  16523. description: 交易日(yyyyMMdd)
  16524. type: string
  16525. tradeprice:
  16526. description: 成交价格
  16527. type: number
  16528. tradeqty:
  16529. description: 成交数量
  16530. type: number
  16531. userid:
  16532. description: 用户ID
  16533. type: integer
  16534. username:
  16535. description: 发起方
  16536. type: string
  16537. warehouseid:
  16538. description: 仓库ID
  16539. type: integer
  16540. warehousename:
  16541. description: 仓库名称
  16542. type: string
  16543. wrfactortypeid:
  16544. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16545. type: string
  16546. wrfactortypename:
  16547. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16548. type: string
  16549. wrpricetype:
  16550. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  16551. type: integer
  16552. wrstandardcode:
  16553. description: 现货商品代码
  16554. type: string
  16555. wrstandardid:
  16556. description: 现货商品ID
  16557. type: integer
  16558. wrstandardname:
  16559. description: 商品名称
  16560. type: string
  16561. wrtradeorderid:
  16562. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16563. type: string
  16564. wrtradeorderstatus:
  16565. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  16566. type: integer
  16567. wrtradetype:
  16568. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  16569. type: integer
  16570. wrtypename:
  16571. description: 商品
  16572. type: string
  16573. type: object
  16574. models.WrSpotGroupTradeSum:
  16575. properties:
  16576. deliverygoodscode:
  16577. description: 现货品种代码
  16578. type: string
  16579. deliverygoodsid:
  16580. description: 现货品种ID(SEQ_DELIVERYGOODS)
  16581. type: integer
  16582. deliverygoodsname:
  16583. description: 现货品种名称
  16584. type: string
  16585. lastavgprice:
  16586. description: 上上个交易日价格(前2天价格)
  16587. type: string
  16588. lastreckondate:
  16589. description: 上上个交易日(前2天交易日)
  16590. type: string
  16591. reckondate:
  16592. description: 上个交易日(前1天交易日)
  16593. type: string
  16594. todayavgprice:
  16595. description: 上个交易日价格(前1天价格)
  16596. type: string
  16597. updown:
  16598. description: 涨跌
  16599. type: string
  16600. updownratio:
  16601. description: 涨幅(已格式化, 直接显示即可)
  16602. type: string
  16603. type: object
  16604. models.WrSpotGroupTradeSumDetail:
  16605. properties:
  16606. deliverygoodsid:
  16607. description: 现货商品id
  16608. type: integer
  16609. price:
  16610. description: 价格
  16611. type: number
  16612. reckondate:
  16613. description: 日期(yyymmdd, 如:20211031)
  16614. type: string
  16615. type: object
  16616. models.WrSpotGroupTradeSumEx:
  16617. properties:
  16618. lst:
  16619. description: 指数列表
  16620. items:
  16621. $ref: '#/definitions/models.WrSpotGroupTradeSum'
  16622. type: array
  16623. prereckondate:
  16624. description: 上上个交易日(yyymmdd)
  16625. type: string
  16626. reckondate:
  16627. description: 上个交易日(yyyymmdd)
  16628. type: string
  16629. type: object
  16630. models.WrStandardFactoryItem:
  16631. properties:
  16632. dgfactoryitemid:
  16633. description: 选择项id
  16634. type: integer
  16635. dgfactoryitemvalue:
  16636. description: 要素项值
  16637. type: string
  16638. warehouseid:
  16639. description: 仓库id
  16640. type: integer
  16641. type: object
  16642. models.WrStandardFactoryItemEx:
  16643. properties:
  16644. dgfactoryitemtypeid:
  16645. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  16646. type: integer
  16647. itemlst:
  16648. description: 要素项列表
  16649. items:
  16650. $ref: '#/definitions/models.WrStandardFactoryItem'
  16651. type: array
  16652. itemtypename:
  16653. description: 要素项类型名称
  16654. type: string
  16655. wrstandardid:
  16656. description: 品类
  16657. type: integer
  16658. type: object
  16659. models.WrTradeDetail:
  16660. properties:
  16661. accountid:
  16662. description: 资金账号
  16663. type: integer
  16664. buyorsell:
  16665. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  16666. type: integer
  16667. chargevalue:
  16668. description: 手续费
  16669. type: number
  16670. deliverygoodscode:
  16671. description: 品种代码
  16672. type: string
  16673. deliverygoodsid:
  16674. description: 品种ID
  16675. type: integer
  16676. deliverygoodsname:
  16677. description: 品种名称
  16678. type: string
  16679. deliverymonth:
  16680. description: 交收月
  16681. type: string
  16682. enumdicname:
  16683. description: 单位名称
  16684. type: string
  16685. haswr:
  16686. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16687. type: integer
  16688. marketid:
  16689. description: 市场ID
  16690. type: integer
  16691. matchaccountid:
  16692. description: 对手账号
  16693. type: integer
  16694. matchusername:
  16695. description: 对手方
  16696. type: string
  16697. minivalue:
  16698. description: 现货商品最小变动值
  16699. type: integer
  16700. optioncompare:
  16701. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16702. type: string
  16703. tradedate:
  16704. description: 交易日(yyyyMMdd)
  16705. type: string
  16706. tradeprice:
  16707. description: 成交价格
  16708. type: number
  16709. tradeqty:
  16710. description: 成交数量
  16711. type: number
  16712. tradetime:
  16713. description: 成交时间
  16714. type: string
  16715. userid:
  16716. description: 用户ID
  16717. type: integer
  16718. warehouseid:
  16719. description: 仓库ID
  16720. type: integer
  16721. warehousename:
  16722. description: 仓库名称
  16723. type: string
  16724. wrfactortypeid:
  16725. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16726. type: string
  16727. wrfactortypename:
  16728. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16729. type: string
  16730. wrstandardcode:
  16731. description: 现货商品代码
  16732. type: string
  16733. wrstandardid:
  16734. description: 现货商品ID
  16735. type: integer
  16736. wrstandardname:
  16737. description: 商品名称
  16738. type: string
  16739. wrtradedetailid:
  16740. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  16741. type: string
  16742. wrtradetype:
  16743. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  16744. type: integer
  16745. wrtypename:
  16746. description: 商品
  16747. type: string
  16748. type: object
  16749. models.WrTradeOrderDetail:
  16750. properties:
  16751. buyorsell:
  16752. description: 买卖方向 0-买 1-卖
  16753. type: integer
  16754. goodsid:
  16755. description: 商品id
  16756. type: integer
  16757. orderid:
  16758. description: 委托单号
  16759. type: string
  16760. orderprice:
  16761. description: 委托价格
  16762. type: number
  16763. orderqty:
  16764. description: 委托数量
  16765. type: integer
  16766. userid:
  16767. description: 用户id
  16768. type: integer
  16769. username:
  16770. description: 用户名称(已脱敏)
  16771. type: string
  16772. type: object
  16773. models.WrTypeItem:
  16774. properties:
  16775. name:
  16776. description: 名称
  16777. type: string
  16778. value:
  16779. description: 值
  16780. type: string
  16781. type: object
  16782. models.WrUserFriend:
  16783. properties:
  16784. friendname:
  16785. description: 朋友名称(已脱敏)
  16786. type: string
  16787. frienduserid:
  16788. description: 朋友id
  16789. type: integer
  16790. isfriend:
  16791. description: 是否好友 0-不是 1-是
  16792. type: integer
  16793. userid:
  16794. description: 用户id
  16795. type: integer
  16796. type: object
  16797. models.WrUserReceiptInfo:
  16798. properties:
  16799. address:
  16800. description: 地址[发票类型:企业]
  16801. type: string
  16802. autoid:
  16803. description: AutoID
  16804. type: integer
  16805. contactinfo:
  16806. description: 联系方式
  16807. type: string
  16808. idnum:
  16809. description: 身份证号码[发票类型:个人]
  16810. type: string
  16811. isdefault:
  16812. description: 是否默认地址 - 0:否 1:是
  16813. type: integer
  16814. receiptaccount:
  16815. description: 发票帐号[发票类型:企业]
  16816. type: string
  16817. receiptbank:
  16818. description: 发票开户行[发票类型:企业]
  16819. type: string
  16820. receipttype:
  16821. description: 发票类型 - 1:个人 2:企业
  16822. type: integer
  16823. taxpayerid:
  16824. description: 纳税人识别号
  16825. type: string
  16826. userid:
  16827. description: 用户ID
  16828. type: integer
  16829. username:
  16830. description: 户名(个人姓名或企业名称)
  16831. type: string
  16832. type: object
  16833. models.XHBRAND:
  16834. properties:
  16835. brandid:
  16836. description: 品牌id
  16837. type: integer
  16838. brandname:
  16839. description: 品牌名称
  16840. type: string
  16841. isvalid:
  16842. description: 是否有效 0-无效 1-有效
  16843. type: integer
  16844. type: object
  16845. models.XHDeliveryGoods:
  16846. properties:
  16847. areauserid:
  16848. description: 所属机构
  16849. type: integer
  16850. bdlst:
  16851. description: 品牌列表
  16852. items:
  16853. $ref: '#/definitions/models.XHBRAND'
  16854. type: array
  16855. deliverygoodscode:
  16856. description: 现货品种代码
  16857. type: string
  16858. deliverygoodsid:
  16859. description: 现货品种ID(SEQ_DELIVERYGOODS)
  16860. type: integer
  16861. deliverygoodsname:
  16862. description: 现货品种名称
  16863. type: string
  16864. dgstatus:
  16865. description: 品种状态 - 作废 - 0:未激活 1:正常
  16866. type: integer
  16867. isvalid:
  16868. description: 是否有效 - 0:无效 1:有效
  16869. type: integer
  16870. remark:
  16871. description: 备注
  16872. type: string
  16873. unitid:
  16874. description: 单位id(目前看,数据库中是空值)
  16875. type: integer
  16876. wdlst:
  16877. description: 品类(现货商品)列表
  16878. items:
  16879. $ref: '#/definitions/models.XHWrstandard'
  16880. type: array
  16881. type: object
  16882. models.XHMiddleGoods:
  16883. properties:
  16884. convertratio:
  16885. description: 拆算系数
  16886. type: number
  16887. costratio:
  16888. description: 成本权重
  16889. type: number
  16890. deliverygoodsid:
  16891. description: 现货商品id
  16892. type: integer
  16893. enumdicname:
  16894. description: 单位名称
  16895. type: string
  16896. gplst:
  16897. description: 期货品种列表
  16898. items:
  16899. $ref: '#/definitions/models.TBGoodsGroup'
  16900. type: array
  16901. middlegoodscode:
  16902. description: 套保品种代码
  16903. type: string
  16904. middlegoodsid:
  16905. description: 套保品种id
  16906. type: integer
  16907. middlegoodsname:
  16908. description: 套保品种名称
  16909. type: string
  16910. unitid:
  16911. description: 单位id
  16912. type: integer
  16913. type: object
  16914. models.XHWrstandard:
  16915. properties:
  16916. deliverygoodsid:
  16917. description: 品种ID
  16918. type: integer
  16919. enumdicname:
  16920. description: 单位名称
  16921. type: string
  16922. mglst:
  16923. description: 套保品列表
  16924. items:
  16925. $ref: '#/definitions/models.XHMiddleGoods'
  16926. type: array
  16927. unitid:
  16928. description: 单位id
  16929. type: integer
  16930. vatrate:
  16931. description: 增值税率
  16932. type: number
  16933. wrstandardcode:
  16934. description: 现货商品代码
  16935. type: string
  16936. wrstandardid:
  16937. description: 现货商品ID(SEQ_WRSTANDARD)
  16938. type: integer
  16939. wrstandardname:
  16940. description: 现货商品名称
  16941. type: string
  16942. type: object
  16943. order.QueryHisTradeDetailRsp:
  16944. properties:
  16945. accountid:
  16946. description: 账户ID[报价币种]
  16947. type: integer
  16948. advanceratio:
  16949. description: 首付比率
  16950. type: number
  16951. buildtype:
  16952. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  16953. type: integer
  16954. buyorsell:
  16955. description: 方向 - 0:买 1:卖
  16956. type: integer
  16957. charge:
  16958. description: 手续费
  16959. type: number
  16960. closecharge:
  16961. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  16962. type: number
  16963. closeexchagechargevalue:
  16964. description: 平仓交易所手续费设置值
  16965. type: number
  16966. closefeealgorithm:
  16967. description: 平仓手续费收取方式 1:比率 2:固定
  16968. type: integer
  16969. closememberchargevalue:
  16970. description: 平仓会员手续费设置值
  16971. type: number
  16972. closepl:
  16973. description: 平仓盈亏
  16974. type: number
  16975. closepl2:
  16976. description: 平仓盈亏[逐笔]
  16977. type: number
  16978. closeqty:
  16979. description: 平仓数量(先建后平操作 需要记录)
  16980. type: number
  16981. creditamount:
  16982. description: 授信金额
  16983. type: number
  16984. decimalplace:
  16985. description: 商品报价小数位
  16986. type: integer
  16987. enumdicname:
  16988. description: 单位名称
  16989. type: string
  16990. gcaccountid:
  16991. description: 账户ID[合约币种]
  16992. type: integer
  16993. goodscode:
  16994. description: 商品代码
  16995. type: string
  16996. goodsid:
  16997. description: 商品ID
  16998. type: integer
  16999. goodsname:
  17000. description: 商品名称
  17001. type: string
  17002. goodunitid:
  17003. description: 商品单位id
  17004. type: integer
  17005. histradedate:
  17006. description: 历史交易日
  17007. type: string
  17008. intclosepl:
  17009. description: 整型盈亏(用于交易结算试算平衡-收益权)
  17010. type: integer
  17011. isconfirmexercise:
  17012. description: 是否确认行权- 0:否 1:是
  17013. type: integer
  17014. ismain:
  17015. description: 是否主单 - 0:不是 1:是
  17016. type: integer
  17017. ispreexercise:
  17018. description: 是否预申报- 0:否 1:是
  17019. type: integer
  17020. isreckoned:
  17021. description: 是否结算 - 0:未结算 1:已结算
  17022. type: integer
  17023. isvaliddata:
  17024. description: 是否有效 - 0:无效 1:有效
  17025. type: integer
  17026. listingselecttype:
  17027. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17028. type: integer
  17029. marketid:
  17030. description: 市场ID
  17031. type: integer
  17032. marketname:
  17033. description: 市场名称
  17034. type: string
  17035. matchaccountid:
  17036. description: 对手账号id
  17037. type: integer
  17038. memberuserid:
  17039. description: 会员id 个人投资者 需要填写
  17040. type: integer
  17041. opencharge:
  17042. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17043. type: number
  17044. openexchagechargevalue:
  17045. description: 建仓交易所手续费设置值
  17046. type: number
  17047. openfeealgorithm:
  17048. description: 建仓手续费收取方式 1:比率 2:固定
  17049. type: integer
  17050. openmemberchargevalue:
  17051. description: 建仓会员手续费设置值
  17052. type: number
  17053. openqty:
  17054. description: 开仓数量(先建后平操作 需要记录)
  17055. type: number
  17056. optiontype:
  17057. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17058. type: integer
  17059. orderid:
  17060. description: 委托单号
  17061. type: string
  17062. payamount:
  17063. description: 支付金额(付款金额)
  17064. type: number
  17065. performanceplanid:
  17066. description: 履约计划ID[期权]
  17067. type: integer
  17068. performancestatus:
  17069. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  17070. type: integer
  17071. preexerciseprice:
  17072. description: 预申报价格
  17073. type: number
  17074. premium:
  17075. description: 权利金 - [持仓单的权利金]
  17076. type: number
  17077. qtydecimalplace:
  17078. description: 商品报价小数位
  17079. type: integer
  17080. recvamount:
  17081. description: 到账金额 = 成交金额 - 手续费
  17082. type: number
  17083. relatedouttradeid:
  17084. description: 关联外部成交单ID
  17085. type: integer
  17086. status:
  17087. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  17088. type: integer
  17089. totalamount:
  17090. description: 订单总额 = 成交金额 + 手续费
  17091. type: number
  17092. tradeamount:
  17093. description: 成交金额[账户币种,用于所有权]
  17094. type: number
  17095. tradedate:
  17096. description: 交易日(yyyyMMdd)
  17097. type: string
  17098. tradeid:
  17099. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17100. type: string
  17101. trademode:
  17102. description: 交易模式
  17103. type: integer
  17104. tradeprice:
  17105. description: 成交价格
  17106. type: number
  17107. tradeproperty:
  17108. description: 交易属性
  17109. type: integer
  17110. tradeqty:
  17111. description: 成交数量
  17112. type: number
  17113. tradetime:
  17114. description: 成交时间
  17115. type: string
  17116. tradetype:
  17117. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  17118. type: integer
  17119. required:
  17120. - accountid
  17121. - buyorsell
  17122. - goodsid
  17123. - histradedate
  17124. - marketid
  17125. - memberuserid
  17126. - orderid
  17127. - tradeamount
  17128. - tradedate
  17129. - tradeid
  17130. - tradeprice
  17131. - tradeqty
  17132. - tradetime
  17133. type: object
  17134. order.QueryHisTradeOrderDetailRsp:
  17135. properties:
  17136. accountid:
  17137. description: 账户ID[报价币种]
  17138. type: integer
  17139. buildtype:
  17140. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  17141. type: integer
  17142. buyorsell:
  17143. description: 买卖 - 0:买 1:卖
  17144. type: integer
  17145. cancelorderid:
  17146. description: 撤单单号(撤单时填写)
  17147. type: string
  17148. cancelqty:
  17149. description: 撤单数量
  17150. type: number
  17151. clientordertime:
  17152. description: 客户端委托时间
  17153. type: string
  17154. clientticket:
  17155. description: 客户端流水号
  17156. type: string
  17157. clienttype:
  17158. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  17159. type: integer
  17160. closeexchagechargevalue:
  17161. description: 平仓交易所手续费设置值
  17162. type: number
  17163. closefeealgorithm:
  17164. description: 平仓手续费收取方式 1:比率 2:固定
  17165. type: integer
  17166. closefreezecharge:
  17167. description: 平仓冻结手续费(先建后平操作,需要记录)
  17168. type: number
  17169. closememberchargevalue:
  17170. description: 平仓会员手续费设置值
  17171. type: number
  17172. closeqty:
  17173. description: 平仓数量(先建后平操作 需要记录)
  17174. type: number
  17175. closetradeqty:
  17176. description: 平仓成交数量(先建后平操作,需要记录)
  17177. type: number
  17178. closeunfreezecharge:
  17179. description: 平仓解冻手续费(先建后平操作,需要记录)
  17180. type: number
  17181. decimalplace:
  17182. description: 商品报价小数位
  17183. type: integer
  17184. delistingtype:
  17185. description: 摘牌类型 - 1:价格最优 2:点选成交
  17186. type: integer
  17187. enumdicname:
  17188. description: 单位名称
  17189. type: string
  17190. freezecharge:
  17191. description: 冻结手续费
  17192. type: number
  17193. freezemargin:
  17194. description: 冻结保证金(冻结交易金额)
  17195. type: number
  17196. gcaccountid:
  17197. description: 账户ID[合约币种]
  17198. type: integer
  17199. goodscode:
  17200. description: 商品代码
  17201. type: string
  17202. goodsid:
  17203. description: 商品ID
  17204. type: integer
  17205. goodsname:
  17206. description: 商品名称
  17207. type: string
  17208. goodunitid:
  17209. description: 商品单位id
  17210. type: integer
  17211. histradedate:
  17212. description: 历史交易日
  17213. type: string
  17214. isconfirmexercise:
  17215. description: 是否确认行权- 0:否 1:是
  17216. type: integer
  17217. ispreexercise:
  17218. description: 是否预申报- 0:否 1:是
  17219. type: integer
  17220. isvaliddata:
  17221. description: 是否有效 - 0:无效 1:有效
  17222. type: integer
  17223. listingselecttype:
  17224. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17225. type: integer
  17226. marginalgorithm:
  17227. description: 保证金收取方式 1:比率 2:固定
  17228. type: integer
  17229. marginvalue:
  17230. description: 即市保证金设置值
  17231. type: number
  17232. marketid:
  17233. description: 市场ID
  17234. type: integer
  17235. marketmaxsub:
  17236. description: 市价最大偏移范围
  17237. type: number
  17238. marketname:
  17239. description: 市场名称
  17240. type: string
  17241. memberuserid:
  17242. description: 所属会员UserID
  17243. type: integer
  17244. openexchagechargevalue:
  17245. description: 建仓交易所手续费设置值
  17246. type: number
  17247. openfeealgorithm:
  17248. description: 建仓手续费收取方式 1:比率 2:固定
  17249. type: integer
  17250. openfreezecharge:
  17251. description: 开仓冻结手续费(先建后平操作,需要记录)
  17252. type: number
  17253. openmemberchargevalue:
  17254. description: 建仓会员手续费设置值
  17255. type: number
  17256. openqty:
  17257. description: 开仓数量(先建后平操作,需要记录)
  17258. type: number
  17259. opentradeqty:
  17260. description: 开仓成交数量(先建后平操作,需要记录)
  17261. type: number
  17262. openunfreezecharge:
  17263. description: 开仓解冻手续费(先建后平操作,需要记录)
  17264. type: number
  17265. operatetype:
  17266. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让
  17267. type: integer
  17268. operatorid:
  17269. description: 登录账号(LoginID)
  17270. type: integer
  17271. optiontype:
  17272. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17273. type: integer
  17274. orderid:
  17275. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17276. type: string
  17277. orderprice:
  17278. description: 委托价格
  17279. type: number
  17280. orderqty:
  17281. description: 委托数量
  17282. type: number
  17283. ordersrc:
  17284. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  17285. type: integer
  17286. orderstatus:
  17287. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  17288. type: integer
  17289. ordertime:
  17290. description: 委托时间
  17291. type: string
  17292. preexerciseprice:
  17293. description: 预申报价格
  17294. type: number
  17295. premium:
  17296. description: 权利金
  17297. type: number
  17298. preorderid:
  17299. description: 关联预埋单号(止盈止损单时填写)
  17300. type: string
  17301. pricemode:
  17302. description: '取价方式 - 1:市价 2: 限价'
  17303. type: integer
  17304. qtydecimalplace:
  17305. description: 成交量小数位
  17306. type: integer
  17307. quoteid:
  17308. description: 报价单ID
  17309. type: integer
  17310. relatedid:
  17311. description: 关联单号(交割单)
  17312. type: string
  17313. retcode:
  17314. description: 错误代码
  17315. type: integer
  17316. sessionid:
  17317. description: 会话ID
  17318. type: integer
  17319. tradedate:
  17320. description: 交易日(yyyyMMdd)
  17321. type: string
  17322. trademode:
  17323. description: 交易模式
  17324. type: integer
  17325. tradeproperty:
  17326. description: 交易属性
  17327. type: integer
  17328. tradeqty:
  17329. description: 成交数量
  17330. type: number
  17331. unfreezecharge:
  17332. description: 解冻手续费
  17333. type: number
  17334. unfreezemargin:
  17335. description: 解冻保证金
  17336. type: number
  17337. updatetime:
  17338. description: 更新时间
  17339. type: string
  17340. uuid:
  17341. description: 发起端唯一id
  17342. type: string
  17343. validtime:
  17344. description: 有效期限
  17345. type: string
  17346. validtype:
  17347. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  17348. type: integer
  17349. volumetype:
  17350. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  17351. type: integer
  17352. required:
  17353. - accountid
  17354. - buildtype
  17355. - buyorsell
  17356. - goodsid
  17357. - histradedate
  17358. - marketid
  17359. - memberuserid
  17360. - operatetype
  17361. - orderid
  17362. - orderqty
  17363. - ordertime
  17364. - pricemode
  17365. - tradedate
  17366. - validtype
  17367. type: object
  17368. order.QueryTradeDetailRsp:
  17369. properties:
  17370. accountid:
  17371. description: 账户ID[报价币种]
  17372. type: integer
  17373. advanceratio:
  17374. description: 首付比率
  17375. type: number
  17376. buildtype:
  17377. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  17378. type: integer
  17379. buyorsell:
  17380. description: 方向 - 0:买 1:卖
  17381. type: integer
  17382. charge:
  17383. description: 手续费
  17384. type: number
  17385. closecharge:
  17386. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17387. type: number
  17388. closeexchagechargevalue:
  17389. description: 平仓交易所手续费设置值
  17390. type: number
  17391. closefeealgorithm:
  17392. description: 平仓手续费收取方式 1:比率 2:固定
  17393. type: integer
  17394. closememberchargevalue:
  17395. description: 平仓会员手续费设置值
  17396. type: number
  17397. closepl:
  17398. description: 平仓盈亏
  17399. type: number
  17400. closepl2:
  17401. description: 平仓盈亏[逐笔]
  17402. type: number
  17403. closeqty:
  17404. description: 平仓数量(先建后平操作 需要记录)
  17405. type: number
  17406. creditamount:
  17407. description: 授信金额
  17408. type: number
  17409. decimalplace:
  17410. description: 商品报价小数位
  17411. type: integer
  17412. enumdicname:
  17413. description: 单位名称
  17414. type: string
  17415. gcaccountid:
  17416. description: 账户ID[合约币种]
  17417. type: integer
  17418. goodscode:
  17419. description: 商品代码
  17420. type: string
  17421. goodsid:
  17422. description: 商品ID
  17423. type: integer
  17424. goodsname:
  17425. description: 商品名称
  17426. type: string
  17427. goodunitid:
  17428. description: 商品单位id
  17429. type: integer
  17430. intclosepl:
  17431. description: 整型盈亏(用于交易结算试算平衡-收益权)
  17432. type: integer
  17433. isconfirmexercise:
  17434. description: 是否确认行权- 0:否 1:是
  17435. type: integer
  17436. ismain:
  17437. description: 是否主单 - 0:不是 1:是
  17438. type: integer
  17439. ispreexercise:
  17440. description: 是否预申报- 0:否 1:是
  17441. type: integer
  17442. isreckoned:
  17443. description: 是否结算 - 0:未结算 1:已结算
  17444. type: integer
  17445. listingselecttype:
  17446. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17447. type: integer
  17448. marketid:
  17449. description: 市场ID
  17450. type: integer
  17451. marketname:
  17452. description: 市场名称
  17453. type: string
  17454. matchaccountid:
  17455. description: 对手账号id
  17456. type: integer
  17457. memberuserid:
  17458. description: 会员id 个人投资者 需要填写
  17459. type: integer
  17460. opencharge:
  17461. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17462. type: number
  17463. openexchagechargevalue:
  17464. description: 建仓交易所手续费设置值
  17465. type: number
  17466. openfeealgorithm:
  17467. description: 建仓手续费收取方式 1:比率 2:固定
  17468. type: integer
  17469. openmemberchargevalue:
  17470. description: 建仓会员手续费设置值
  17471. type: number
  17472. openqty:
  17473. description: 开仓数量(先建后平操作 需要记录)
  17474. type: number
  17475. optiontype:
  17476. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17477. type: integer
  17478. orderid:
  17479. description: 委托单号
  17480. type: string
  17481. payamount:
  17482. description: 支付金额(付款金额)
  17483. type: number
  17484. performanceplanid:
  17485. description: 履约计划ID[期权]
  17486. type: integer
  17487. performancestatus:
  17488. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  17489. type: integer
  17490. preexerciseprice:
  17491. description: 预申报价格
  17492. type: number
  17493. premium:
  17494. description: 权利金 - [持仓单的权利金]
  17495. type: number
  17496. qtydecimalplace:
  17497. description: 商品报价小数位
  17498. type: integer
  17499. recvamount:
  17500. description: 到账金额 = 成交金额 - 手续费
  17501. type: number
  17502. relatedouttradeid:
  17503. description: 关联外部成交单ID
  17504. type: integer
  17505. status:
  17506. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  17507. type: integer
  17508. totalamount:
  17509. description: 订单总额 = 成交金额 + 手续费
  17510. type: number
  17511. tradeamount:
  17512. description: 成交金额[账户币种,用于所有权]
  17513. type: number
  17514. tradedate:
  17515. description: 交易日(yyyyMMdd)
  17516. type: string
  17517. tradeid:
  17518. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17519. type: string
  17520. trademode:
  17521. description: 交易模式
  17522. type: integer
  17523. tradeprice:
  17524. description: 成交价格
  17525. type: number
  17526. tradeproperty:
  17527. description: 交易属性
  17528. type: integer
  17529. tradeqty:
  17530. description: 成交数量
  17531. type: number
  17532. tradetime:
  17533. description: 成交时间
  17534. type: string
  17535. tradetype:
  17536. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  17537. type: integer
  17538. required:
  17539. - accountid
  17540. - buyorsell
  17541. - goodsid
  17542. - marketid
  17543. - memberuserid
  17544. - orderid
  17545. - tradeamount
  17546. - tradedate
  17547. - tradeid
  17548. - tradeprice
  17549. - tradeqty
  17550. - tradetime
  17551. type: object
  17552. order.QueryTradeOrderDetailRsp:
  17553. properties:
  17554. accountid:
  17555. description: 账户ID[报价币种]
  17556. type: integer
  17557. buildtype:
  17558. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  17559. type: integer
  17560. buyorsell:
  17561. description: 买卖 - 0:买 1:卖
  17562. type: integer
  17563. cancelorderid:
  17564. description: 撤单单号(撤单时填写)
  17565. type: string
  17566. cancelqty:
  17567. description: 撤单数量
  17568. type: number
  17569. clienttype:
  17570. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  17571. type: integer
  17572. closefreezecharge:
  17573. description: 平仓冻结手续费(先建后平操作,需要记录)
  17574. type: number
  17575. closeqty:
  17576. description: 平仓数量(先建后平操作 需要记录)
  17577. type: number
  17578. closetradeqty:
  17579. description: 平仓成交数量(先建后平操作,需要记录)
  17580. type: number
  17581. closeunfreezecharge:
  17582. description: 平仓解冻手续费(先建后平操作,需要记录)
  17583. type: number
  17584. decimalplace:
  17585. description: 商品报价小数位
  17586. type: integer
  17587. delistingtype:
  17588. description: 摘牌类型 - 1:价格最优 2:点选成交
  17589. type: integer
  17590. enableqty:
  17591. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  17592. type: number
  17593. enumdicname:
  17594. description: 单位名称
  17595. type: string
  17596. freezecharge:
  17597. description: 冻结手续费
  17598. type: number
  17599. freezemargin:
  17600. description: 冻结保证金(冻结交易金额)
  17601. type: number
  17602. goodscode:
  17603. description: 商品代码
  17604. type: string
  17605. goodsid:
  17606. description: 商品ID
  17607. type: integer
  17608. goodsname:
  17609. description: 商品名称
  17610. type: string
  17611. goodunitid:
  17612. description: 商品单位id
  17613. type: integer
  17614. listingselecttype:
  17615. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17616. type: integer
  17617. marketid:
  17618. description: 市场ID
  17619. type: integer
  17620. marketname:
  17621. description: 市场名称
  17622. type: string
  17623. openfreezecharge:
  17624. description: 开仓冻结手续费(先建后平操作,需要记录)
  17625. type: number
  17626. openqty:
  17627. description: 开仓数量(先建后平操作,需要记录)
  17628. type: number
  17629. opentradeqty:
  17630. description: 开仓成交数量(先建后平操作,需要记录)
  17631. type: number
  17632. openunfreezecharge:
  17633. description: 开仓解冻手续费(先建后平操作,需要记录)
  17634. type: number
  17635. operatetype:
  17636. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让
  17637. type: integer
  17638. operatorid:
  17639. description: 登录账号(LoginID)
  17640. type: integer
  17641. orderid:
  17642. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17643. type: string
  17644. orderprice:
  17645. description: 委托价格
  17646. type: number
  17647. orderqty:
  17648. description: 委托数量
  17649. type: number
  17650. ordersrc:
  17651. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  17652. type: integer
  17653. orderstatus:
  17654. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  17655. type: integer
  17656. ordertime:
  17657. description: 委托时间
  17658. type: string
  17659. preorderid:
  17660. description: 关联预埋单号(止盈止损单时填写)
  17661. type: string
  17662. pricemode:
  17663. description: '取价方式 - 1:市价 2: 限价'
  17664. type: integer
  17665. qtydecimalplace:
  17666. description: 商品报价小数位
  17667. type: integer
  17668. relatedid:
  17669. description: 关联单号(交割单)
  17670. type: string
  17671. tradedate:
  17672. description: 交易日(yyyyMMdd)
  17673. type: string
  17674. trademode:
  17675. description: 交易模式
  17676. type: integer
  17677. tradeqty:
  17678. description: 成交数量
  17679. type: number
  17680. unfreezecharge:
  17681. description: 解冻手续费
  17682. type: number
  17683. unfreezemargin:
  17684. description: 解冻保证金
  17685. type: number
  17686. validtime:
  17687. description: 有效期限
  17688. type: string
  17689. validtype:
  17690. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  17691. type: integer
  17692. volumetype:
  17693. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  17694. type: integer
  17695. required:
  17696. - accountid
  17697. - buildtype
  17698. - buyorsell
  17699. - goodsid
  17700. - marketid
  17701. - operatetype
  17702. - orderqty
  17703. - ordertime
  17704. - pricemode
  17705. - tradedate
  17706. - validtype
  17707. type: object
  17708. order.QueryTradePositionRsp:
  17709. properties:
  17710. accountid:
  17711. description: 资金账户
  17712. type: integer
  17713. agreeunit:
  17714. description: 合约单位
  17715. type: number
  17716. averageprice:
  17717. description: 持仓均价
  17718. type: number
  17719. buyorsell:
  17720. description: 方向 - 0:买 1:卖
  17721. type: integer
  17722. closetotalqty:
  17723. description: 平仓总数量
  17724. type: number
  17725. curholderamount:
  17726. description: 当前持仓总金额[商品币种]
  17727. type: number
  17728. curpositionqty:
  17729. description: 当前持仓总数量
  17730. type: number
  17731. currencyid:
  17732. description: 报价货币ID
  17733. type: integer
  17734. curtdposition:
  17735. description: 期末今日头寸
  17736. type: number
  17737. decimalplace:
  17738. description: 报价小数位
  17739. type: integer
  17740. enableqty:
  17741. description: 可用量
  17742. type: number
  17743. fretdposition:
  17744. description: 冻结今日头寸
  17745. type: number
  17746. frozenqty:
  17747. description: 持仓冻结数量
  17748. type: number
  17749. goodscode:
  17750. description: 商品代码
  17751. type: string
  17752. goodsid:
  17753. description: 商品Id
  17754. type: integer
  17755. goodsname:
  17756. description: 商品名称
  17757. type: string
  17758. goodunit:
  17759. description: 报价单位
  17760. type: string
  17761. goodunitid:
  17762. description: 报价单位ID
  17763. type: integer
  17764. holderamount:
  17765. description: 期初持仓总金额[商品币种]
  17766. type: number
  17767. lastprice:
  17768. description: 最新价
  17769. type: number
  17770. marketamount:
  17771. description: 市值
  17772. type: number
  17773. marketid:
  17774. description: 所属市场ID
  17775. type: integer
  17776. openreqqty:
  17777. description: 开仓申请数量(用于比较最大持仓数量)
  17778. type: number
  17779. opentotalqty:
  17780. description: 开仓总数量
  17781. type: number
  17782. otherfrozenqty:
  17783. description: 持仓其他冻结数量(交割冻结)
  17784. type: number
  17785. positionpl:
  17786. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  17787. type: number
  17788. positionplrate:
  17789. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  17790. type: number
  17791. positionqty:
  17792. description: 期初持仓数量
  17793. type: number
  17794. qtydecimalplace:
  17795. description: 成交量小数位
  17796. type: integer
  17797. refgoodscode:
  17798. description: 参考商品代码
  17799. type: string
  17800. refgoodsid:
  17801. description: 参考商品ID
  17802. type: integer
  17803. tnqty:
  17804. description: T+N冻结总量
  17805. type: number
  17806. tnusedqty:
  17807. description: T+N使用量(可以使用T+N的冻结数量)
  17808. type: number
  17809. trademode:
  17810. description: 交易模式
  17811. type: integer
  17812. tradeproperty:
  17813. description: 交易属性
  17814. type: integer
  17815. usedmargin:
  17816. description: 占用保证金[商品币种]
  17817. type: number
  17818. required:
  17819. - goodsid
  17820. type: object
  17821. pb.GoodsMarginCfgStruct:
  17822. properties:
  17823. CustomerTypeID:
  17824. description: 投资者客户类型
  17825. type: integer
  17826. GoodsID:
  17827. description: 商品ID
  17828. type: integer
  17829. IsDefault:
  17830. description: 是否默认标志位
  17831. type: integer
  17832. LockMarginValue:
  17833. description: 锁仓保证金
  17834. type: number
  17835. MarginAlgorithm:
  17836. description: 保证金计算方式
  17837. type: integer
  17838. MarketMarginValue:
  17839. description: 即市保证金值
  17840. type: number
  17841. RealMarginAlgorithm:
  17842. description: 实付保证金计算方式
  17843. type: integer
  17844. RealMarginValue:
  17845. description: 实付比例
  17846. type: number
  17847. ReckonMarginValue:
  17848. description: 结算保证金值
  17849. type: number
  17850. type: object
  17851. quote.HistoryData:
  17852. properties:
  17853. c:
  17854. description: 收盘价
  17855. type: number
  17856. f:
  17857. description: 是否补充数据
  17858. type: boolean
  17859. h:
  17860. description: 最高价
  17861. type: number
  17862. hv:
  17863. description: 持仓量
  17864. type: integer
  17865. l:
  17866. description: 最低价
  17867. type: number
  17868. o:
  17869. description: 开盘价
  17870. type: number
  17871. s:
  17872. description: 结算价,日线周期(包括)以上才有
  17873. type: number
  17874. ts:
  17875. description: 时间
  17876. type: string
  17877. tt:
  17878. description: 总金额
  17879. type: number
  17880. tv:
  17881. description: 总量(成交量)
  17882. type: integer
  17883. type: object
  17884. quote.HistoryTikData:
  17885. properties:
  17886. AV:
  17887. description: 卖量
  17888. type: integer
  17889. Ask:
  17890. description: 卖价
  17891. type: number
  17892. BV:
  17893. description: 买量
  17894. type: integer
  17895. Bid:
  17896. description: 买价
  17897. type: number
  17898. HI:
  17899. description: 单笔持仓
  17900. type: integer
  17901. HV:
  17902. description: 持仓量
  17903. type: integer
  17904. PE:
  17905. description: 现价
  17906. type: number
  17907. TDR:
  17908. description: 交易方向,0:买 1:卖
  17909. type: integer
  17910. TK:
  17911. description: 交易类型
  17912. type: integer
  17913. TS:
  17914. description: 行情时间文本
  17915. type: string
  17916. TT:
  17917. description: 现金额
  17918. type: number
  17919. Vol:
  17920. description: 现量
  17921. type: integer
  17922. type: object
  17923. quote.QueryQuoteDayRsp:
  17924. properties:
  17925. ask:
  17926. description: 卖1
  17927. type: number
  17928. ask2:
  17929. description: 卖2
  17930. type: number
  17931. ask3:
  17932. description: 卖3
  17933. type: number
  17934. ask4:
  17935. description: 卖4
  17936. type: number
  17937. ask5:
  17938. description: 卖5
  17939. type: number
  17940. ask6:
  17941. description: 卖6
  17942. type: number
  17943. ask7:
  17944. description: 卖7
  17945. type: number
  17946. ask8:
  17947. description: 卖8
  17948. type: number
  17949. ask9:
  17950. description: 卖9
  17951. type: number
  17952. ask10:
  17953. description: 卖10
  17954. type: number
  17955. askorderid:
  17956. description: 卖单号1
  17957. type: integer
  17958. askorderid2:
  17959. description: 卖单号2
  17960. type: integer
  17961. askorderid3:
  17962. description: 卖单号3
  17963. type: integer
  17964. askorderid4:
  17965. description: 卖单号4
  17966. type: integer
  17967. askorderid5:
  17968. description: 卖单号5
  17969. type: integer
  17970. askordervolume:
  17971. description: 卖单量1
  17972. type: integer
  17973. askordervolume2:
  17974. description: 卖单量2
  17975. type: integer
  17976. askordervolume3:
  17977. description: 卖单量3
  17978. type: integer
  17979. askordervolume4:
  17980. description: 卖单量4
  17981. type: integer
  17982. askordervolume5:
  17983. description: 卖单量5
  17984. type: integer
  17985. askordervolume6:
  17986. description: 卖单量6
  17987. type: integer
  17988. askordervolume7:
  17989. description: 卖单量7
  17990. type: integer
  17991. askordervolume8:
  17992. description: 卖单量8
  17993. type: integer
  17994. askordervolume9:
  17995. description: 卖单量9
  17996. type: integer
  17997. askordervolume10:
  17998. description: 卖单量10
  17999. type: integer
  18000. askqueueinfo:
  18001. description: 大利市卖港股用
  18002. type: string
  18003. askvolume:
  18004. description: 卖量1
  18005. type: integer
  18006. askvolume2:
  18007. description: 卖量2
  18008. type: integer
  18009. askvolume3:
  18010. description: 卖量3
  18011. type: integer
  18012. askvolume4:
  18013. description: 卖量4
  18014. type: integer
  18015. askvolume5:
  18016. description: 卖量5
  18017. type: integer
  18018. askvolume6:
  18019. description: 卖量6
  18020. type: integer
  18021. askvolume7:
  18022. description: 卖量7
  18023. type: integer
  18024. askvolume8:
  18025. description: 卖量8
  18026. type: integer
  18027. askvolume9:
  18028. description: 卖量9
  18029. type: integer
  18030. askvolume10:
  18031. description: 卖量10
  18032. type: integer
  18033. averageprice:
  18034. description: 均价
  18035. type: number
  18036. bid:
  18037. description: 买1
  18038. type: number
  18039. bid2:
  18040. description: 买2
  18041. type: number
  18042. bid3:
  18043. description: 买3
  18044. type: number
  18045. bid4:
  18046. description: 买4
  18047. type: number
  18048. bid5:
  18049. description: 买5
  18050. type: number
  18051. bid6:
  18052. description: 买6
  18053. type: number
  18054. bid7:
  18055. description: 买7
  18056. type: number
  18057. bid8:
  18058. description: 买8
  18059. type: number
  18060. bid9:
  18061. description: 买9
  18062. type: number
  18063. bid10:
  18064. description: 买10
  18065. type: number
  18066. bidorderid:
  18067. description: 买单号1
  18068. type: integer
  18069. bidorderid2:
  18070. description: 买单号2
  18071. type: integer
  18072. bidorderid3:
  18073. description: 买单号3
  18074. type: integer
  18075. bidorderid4:
  18076. description: 买单号4
  18077. type: integer
  18078. bidorderid5:
  18079. description: 买单号5
  18080. type: integer
  18081. bidordervolume:
  18082. description: 买单量1
  18083. type: integer
  18084. bidordervolume2:
  18085. description: 买单量2
  18086. type: integer
  18087. bidordervolume3:
  18088. description: 买单量3
  18089. type: integer
  18090. bidordervolume4:
  18091. description: 买单量4
  18092. type: integer
  18093. bidordervolume5:
  18094. description: 买单量5
  18095. type: integer
  18096. bidordervolume6:
  18097. description: 买单量6
  18098. type: integer
  18099. bidordervolume7:
  18100. description: 买单量7
  18101. type: integer
  18102. bidordervolume8:
  18103. description: 买单量8
  18104. type: integer
  18105. bidordervolume9:
  18106. description: 买单量9
  18107. type: integer
  18108. bidordervolume10:
  18109. description: 买单量10
  18110. type: integer
  18111. bidqueueinfo:
  18112. description: 大利市买港股用
  18113. type: string
  18114. bidvolume:
  18115. description: 买量1
  18116. type: integer
  18117. bidvolume2:
  18118. description: 买量2
  18119. type: integer
  18120. bidvolume3:
  18121. description: 买量3
  18122. type: integer
  18123. bidvolume4:
  18124. description: 买量4
  18125. type: integer
  18126. bidvolume5:
  18127. description: 买量5
  18128. type: integer
  18129. bidvolume6:
  18130. description: 买量6
  18131. type: integer
  18132. bidvolume7:
  18133. description: 买量7
  18134. type: integer
  18135. bidvolume8:
  18136. description: 买量8
  18137. type: integer
  18138. bidvolume9:
  18139. description: 买量9
  18140. type: integer
  18141. bidvolume10:
  18142. description: 买量10
  18143. type: integer
  18144. calloptionpremiums:
  18145. description: 认购期权1
  18146. type: integer
  18147. calloptionpremiums2:
  18148. description: 认购期权2
  18149. type: integer
  18150. calloptionpremiums3:
  18151. description: 认购期权3
  18152. type: integer
  18153. calloptionpremiums4:
  18154. description: 认购期权4
  18155. type: integer
  18156. calloptionpremiums5:
  18157. description: 认购期权5
  18158. type: integer
  18159. cleartime:
  18160. description: 清盘时间
  18161. type: integer
  18162. exchangecode:
  18163. description: 交易所代码
  18164. type: integer
  18165. exchangedate:
  18166. description: 交易日
  18167. type: integer
  18168. goodscode:
  18169. description: 商品代码
  18170. type: string
  18171. grepmarketprice:
  18172. description: 暗盘价 港股专用
  18173. type: number
  18174. highest:
  18175. description: 最高价
  18176. type: number
  18177. holdincrement:
  18178. description: 单笔持仓
  18179. type: integer
  18180. holdvolume:
  18181. description: 持仓
  18182. type: integer
  18183. iep:
  18184. description: 平衡价 港股专用
  18185. type: number
  18186. iev:
  18187. description: 平衡量 港股专用
  18188. type: number
  18189. inventory:
  18190. description: 库存
  18191. type: integer
  18192. iscleared:
  18193. description: 是否清盘标志
  18194. type: integer
  18195. issettled:
  18196. description: 是否结算标志
  18197. type: integer
  18198. last:
  18199. description: 最新价
  18200. type: number
  18201. lastlot:
  18202. description: 最新成交手数
  18203. type: integer
  18204. lasttime:
  18205. description: 行情时间(只有现价变化行情时间才变化)
  18206. type: string
  18207. lastturnover:
  18208. description: 最新成交金额
  18209. type: number
  18210. lastvolume:
  18211. description: 最新成交量
  18212. type: integer
  18213. limitdown:
  18214. description: 跌停价
  18215. type: number
  18216. limitup:
  18217. description: 涨停价
  18218. type: number
  18219. lowest:
  18220. description: 最低价
  18221. type: number
  18222. nontotalholdervolume:
  18223. description: 非交易持仓量
  18224. type: integer
  18225. nontotallot:
  18226. description: 非交易总手数
  18227. type: integer
  18228. nontotalturnover:
  18229. description: 非交易总金额
  18230. type: integer
  18231. nontotalvolume:
  18232. description: 非交易总量
  18233. type: integer
  18234. opened:
  18235. description: 开盘价
  18236. type: number
  18237. opentime:
  18238. description: 开盘时间
  18239. type: string
  18240. orderid:
  18241. description: 序号
  18242. type: integer
  18243. preclose:
  18244. description: 昨收
  18245. type: number
  18246. preholdvolume:
  18247. description: 昨持仓
  18248. type: integer
  18249. presettle:
  18250. description: 昨结价
  18251. type: number
  18252. publictradetype:
  18253. description: 公共交易标志类型 港股专用
  18254. type: string
  18255. putoptionpremiums:
  18256. description: 认沽期权1
  18257. type: integer
  18258. putoptionpremiums2:
  18259. description: 认沽期权2
  18260. type: integer
  18261. putoptionpremiums3:
  18262. description: 认沽期权3
  18263. type: integer
  18264. putoptionpremiums4:
  18265. description: 认沽期权4
  18266. type: integer
  18267. putoptionpremiums5:
  18268. description: 认沽期权5
  18269. type: integer
  18270. settle:
  18271. description: 结算价
  18272. type: number
  18273. strikeprice:
  18274. description: 发行价
  18275. type: number
  18276. totalaskvolume:
  18277. description: 内盘
  18278. type: integer
  18279. totalbidvolume:
  18280. description: 外盘
  18281. type: integer
  18282. totallot:
  18283. description: 总手数
  18284. type: integer
  18285. totalturnover:
  18286. description: 总金额
  18287. type: number
  18288. totalvolume:
  18289. description: 总量
  18290. type: integer
  18291. utclasttime:
  18292. description: utc的行情时间
  18293. type: string
  18294. type: object
  18295. quote.QueryTSDataRsp:
  18296. properties:
  18297. Count:
  18298. description: 交易日应有数据个数
  18299. type: integer
  18300. decimalPlace:
  18301. description: 小数位
  18302. type: integer
  18303. endTime:
  18304. description: 结束时间
  18305. type: string
  18306. goodsCode:
  18307. description: 商品代码
  18308. type: string
  18309. historyDatas:
  18310. description: 历史数据
  18311. items:
  18312. $ref: '#/definitions/quote.HistoryData'
  18313. type: array
  18314. outGoodsCode:
  18315. description: 外部商品代码
  18316. type: string
  18317. preSettle:
  18318. description: 昨结价
  18319. type: number
  18320. runSteps:
  18321. description: 交易日开休市计划
  18322. items:
  18323. $ref: '#/definitions/quote.TSDataRunStep'
  18324. type: array
  18325. startTime:
  18326. description: 开始时间
  18327. type: string
  18328. tradeDate:
  18329. description: 交易日
  18330. type: string
  18331. type: object
  18332. quote.TSDataRunStep:
  18333. properties:
  18334. end:
  18335. description: 真实结束时间
  18336. type: string
  18337. endflag:
  18338. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  18339. type: integer
  18340. endtime:
  18341. description: 结束时间(HH:mm)
  18342. type: string
  18343. endweekday:
  18344. description: 结束周几
  18345. type: integer
  18346. groupid:
  18347. description: 分组ID
  18348. type: integer
  18349. runstep:
  18350. description: 运行阶段 - 2:连续交易
  18351. type: integer
  18352. sectionid:
  18353. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几
  18354. type: integer
  18355. start:
  18356. description: 真实开始时间
  18357. type: string
  18358. startflag:
  18359. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  18360. type: integer
  18361. starttime:
  18362. description: 起始时间(HH:mm)
  18363. type: string
  18364. startweekday:
  18365. description: 起始周几
  18366. type: integer
  18367. tradeweekday:
  18368. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  18369. type: integer
  18370. type: object
  18371. szdz.QueryConvertLogRsp:
  18372. properties:
  18373. accountid:
  18374. description: 资金账户ID
  18375. type: integer
  18376. clientticket:
  18377. description: 客户端流水号
  18378. type: string
  18379. converttype:
  18380. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  18381. type: integer
  18382. createtime:
  18383. description: 记账时间
  18384. type: string
  18385. daymaxvalue:
  18386. description: 配置当日最大转入限制
  18387. type: number
  18388. daymaxvalue2:
  18389. description: 配置当日最大转入限制(转入)
  18390. type: number
  18391. goodscode:
  18392. description: 商品代码
  18393. type: string
  18394. goodsname:
  18395. description: 商品名称
  18396. type: string
  18397. handlestatus:
  18398. description: 处理状态
  18399. type: integer
  18400. innergoodsid:
  18401. description: 内部商品ID
  18402. type: integer
  18403. inratio:
  18404. description: 配置转入比值
  18405. type: integer
  18406. invalue:
  18407. description: 目标值
  18408. type: number
  18409. logid:
  18410. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18411. type: integer
  18412. mobile:
  18413. description: 手机号码(加密存储)
  18414. type: string
  18415. outergoodscode:
  18416. description: 外部商品代码[JD\PD]
  18417. type: string
  18418. outratio:
  18419. description: 配置转出比值
  18420. type: integer
  18421. outvalue:
  18422. description: 源值
  18423. type: number
  18424. pddecimalplace:
  18425. description: PD小数位
  18426. type: integer
  18427. qty:
  18428. description: 数量
  18429. type: string
  18430. remark:
  18431. description: 备注
  18432. type: string
  18433. sessionid:
  18434. description: 会话ID
  18435. type: integer
  18436. timemaxvalue:
  18437. description: 配置单次最大转入限制
  18438. type: number
  18439. timemaxvalue2:
  18440. description: 配置单次最大转入限制(转入)
  18441. type: number
  18442. timeminvalue:
  18443. description: 配置单次最小数量限制
  18444. type: number
  18445. timeminvalue2:
  18446. description: 配置单次最小数量限制(转入)
  18447. type: number
  18448. tradedate:
  18449. description: 交易日(yyyyMMdd)
  18450. type: string
  18451. userid:
  18452. description: 用户ID
  18453. type: integer
  18454. required:
  18455. - logid
  18456. type: object
  18457. szdz.QueryGoodsPickupRsp:
  18458. properties:
  18459. accountid:
  18460. description: 账户ID
  18461. type: integer
  18462. address:
  18463. description: 提货人详细地址
  18464. type: string
  18465. auditer:
  18466. description: 审核人
  18467. type: integer
  18468. audittime:
  18469. description: 审核时间
  18470. type: string
  18471. cardnum:
  18472. description: 提货人证件号码
  18473. type: string
  18474. cardtypeid:
  18475. description: 提货人证件类型
  18476. type: integer
  18477. checkremark:
  18478. description: 审核备注
  18479. type: string
  18480. goodscode:
  18481. description: 商品代码
  18482. type: string
  18483. goodsid:
  18484. description: 商品ID
  18485. type: integer
  18486. goodsname:
  18487. description: 商品名称
  18488. type: string
  18489. handlestatus:
  18490. description: 处理状态
  18491. type: integer
  18492. marketid:
  18493. description: 市场ID
  18494. type: integer
  18495. phonenum:
  18496. description: 提货人联系方式
  18497. type: string
  18498. qty:
  18499. description: 提货数量
  18500. type: number
  18501. recivername:
  18502. description: 提货人姓名
  18503. type: string
  18504. reqtime:
  18505. description: 更新时间
  18506. type: string
  18507. takemode:
  18508. description: 提货方式 - 2:自提 3:配送
  18509. type: integer
  18510. takeorderid:
  18511. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  18512. type: string
  18513. takeorderstatus:
  18514. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  18515. type: integer
  18516. takeremark:
  18517. description: 提货备注
  18518. type: string
  18519. tradedate:
  18520. description: 交易日(yyyyMMdd)
  18521. type: string
  18522. userid:
  18523. description: 用户ID
  18524. type: integer
  18525. required:
  18526. - takeorderid
  18527. type: object
  18528. szdz.QueryRecieptOrderRsp:
  18529. properties:
  18530. accountName:
  18531. description: 所属账号名称(已脱敏)
  18532. type: string
  18533. accountid:
  18534. description: 资金账号
  18535. type: integer
  18536. buyorsell:
  18537. description: 方向 - 0:买 1:卖
  18538. type: integer
  18539. enableqty:
  18540. description: 可摘数量
  18541. type: integer
  18542. goodscode:
  18543. description: 商品代码
  18544. type: string
  18545. goodsid:
  18546. description: 商品ID
  18547. type: integer
  18548. goodsname:
  18549. description: 商品名称
  18550. type: string
  18551. orderid:
  18552. description: 委托单号
  18553. type: string
  18554. orderprice:
  18555. description: 委托价格
  18556. type: number
  18557. ordertime:
  18558. description: 委托时间
  18559. type: string
  18560. tradedate:
  18561. description: 交易日(yyyyMMdd)
  18562. type: string
  18563. required:
  18564. - ordertime
  18565. type: object
  18566. szdz.QuerySZDZTradePositionRsp:
  18567. properties:
  18568. accountid:
  18569. description: 账号Id
  18570. type: integer
  18571. agreeunit:
  18572. description: 合约单位
  18573. type: number
  18574. averageprice:
  18575. description: 持仓均价
  18576. type: number
  18577. buyorsell:
  18578. description: 方向 - 0:买 1:卖
  18579. type: integer
  18580. closetotalqty:
  18581. description: 平仓总数量
  18582. type: integer
  18583. curholderamount:
  18584. description: 当前持仓总金额
  18585. type: number
  18586. curpositionqty:
  18587. description: 当前持仓总数量
  18588. type: integer
  18589. currencyid:
  18590. description: 报价货币ID
  18591. type: integer
  18592. curtdposition:
  18593. description: 期末今日头寸
  18594. type: integer
  18595. decimalplace:
  18596. description: 报价小数位
  18597. type: integer
  18598. enableqty:
  18599. description: 可用量
  18600. type: integer
  18601. fretdposition:
  18602. description: 冻结今日头寸
  18603. type: integer
  18604. frozenqty:
  18605. description: 持仓冻结数量
  18606. type: integer
  18607. goodscode:
  18608. description: 商品代码(内部)
  18609. type: string
  18610. goodsid:
  18611. description: 商品Id
  18612. type: integer
  18613. goodsname:
  18614. description: 商品名称
  18615. type: string
  18616. goodunit:
  18617. description: 报价单位
  18618. type: string
  18619. goodunitid:
  18620. description: 报价单位ID
  18621. type: integer
  18622. holderamount:
  18623. description: 期初持仓总金额
  18624. type: number
  18625. marketid:
  18626. description: 市场ID
  18627. type: integer
  18628. openreqqty:
  18629. description: 开仓申请数量
  18630. type: integer
  18631. opentotalqty:
  18632. description: 开仓总数量
  18633. type: integer
  18634. otherfrozenqty:
  18635. description: 持仓其他冻结数量(交割冻结)
  18636. type: integer
  18637. positionqty:
  18638. description: 期初持仓数量
  18639. type: integer
  18640. szdz3freezqty:
  18641. description: 尚志大宗转换冻结总数量
  18642. type: integer
  18643. tnqty:
  18644. description: T+N冻结总量
  18645. type: integer
  18646. tnusedqty:
  18647. description: T+N使用量
  18648. type: integer
  18649. trademode:
  18650. description: 交易模式
  18651. type: integer
  18652. usedmargin:
  18653. description: 占用保证金
  18654. type: number
  18655. type: object
  18656. taaccount.QueryAmountLogRsp:
  18657. properties:
  18658. OPERATETYPENAME:
  18659. description: 资金操作类型名称
  18660. type: string
  18661. accountid:
  18662. description: 资金账户ID
  18663. type: integer
  18664. agoodscode:
  18665. description: 竞拍商品代码
  18666. type: string
  18667. agoodsname:
  18668. description: 竞拍商品名称
  18669. type: string
  18670. amount:
  18671. description: 资金金额
  18672. type: number
  18673. amountadjusttype:
  18674. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  18675. type: integer
  18676. autoid:
  18677. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  18678. type: integer
  18679. balance:
  18680. description: 期初余额
  18681. type: number
  18682. businesscode:
  18683. description: 业务编号
  18684. type: integer
  18685. createtime:
  18686. description: 发生时间
  18687. type: string
  18688. currencyid:
  18689. description: 币种ID
  18690. type: integer
  18691. currentbalance:
  18692. description: 期末余额(变动后金额)
  18693. type: number
  18694. dgoodscode:
  18695. description: 交割商品代码
  18696. type: string
  18697. dgoodsname:
  18698. description: 交割商品名称
  18699. type: string
  18700. goodscode:
  18701. description: 商品代码
  18702. type: string
  18703. goodsid:
  18704. description: 商品ID
  18705. type: integer
  18706. goodsname:
  18707. description: 商品名称
  18708. type: string
  18709. marketid:
  18710. description: 市场ID
  18711. type: integer
  18712. marketname:
  18713. description: 市场名称
  18714. type: string
  18715. moneyticket:
  18716. description: 资金流水号:银行端流水号
  18717. type: integer
  18718. operatetype:
  18719. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费 1007:期权盈亏 1101:营销扣款 1102:营销收款
  18720. type: integer
  18721. relationorderid:
  18722. description: 关联单号
  18723. type: string
  18724. remark:
  18725. description: 备注
  18726. type: string
  18727. trademode:
  18728. description: 交易模式
  18729. type: integer
  18730. required:
  18731. - accountid
  18732. - amount
  18733. - amountadjusttype
  18734. - autoid
  18735. - balance
  18736. - createtime
  18737. - currentbalance
  18738. - operatetype
  18739. type: object
  18740. taaccount.QueryHisAmountLogRsp:
  18741. properties:
  18742. OPERATETYPENAME:
  18743. description: 资金操作类型名称
  18744. type: string
  18745. accountid:
  18746. description: 资金账户ID
  18747. type: integer
  18748. agoodscode:
  18749. description: 竞拍商品代码
  18750. type: string
  18751. agoodsname:
  18752. description: 竞拍商品名称
  18753. type: string
  18754. amount:
  18755. description: 资金金额
  18756. type: number
  18757. amountadjusttype:
  18758. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  18759. type: integer
  18760. autoid:
  18761. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  18762. type: integer
  18763. balance:
  18764. description: 期初余额
  18765. type: number
  18766. businesscode:
  18767. description: 业务编号
  18768. type: integer
  18769. createtime:
  18770. description: 发生时间
  18771. type: string
  18772. currencyid:
  18773. description: 币种ID
  18774. type: integer
  18775. currentbalance:
  18776. description: 期末余额(变动后金额)
  18777. type: number
  18778. dgoodscode:
  18779. description: 交割商品代码
  18780. type: string
  18781. dgoodsname:
  18782. description: 交割商品名称
  18783. type: string
  18784. goodscode:
  18785. description: 商品代码
  18786. type: string
  18787. goodsid:
  18788. description: 商品ID
  18789. type: integer
  18790. goodsname:
  18791. description: 商品名称
  18792. type: string
  18793. histradedate:
  18794. description: 历史交易日
  18795. type: string
  18796. isvaliddata:
  18797. description: 是否有效 - 0:无效 1:有效
  18798. type: integer
  18799. marketid:
  18800. description: 市场ID
  18801. type: integer
  18802. marketname:
  18803. description: 市场名称
  18804. type: string
  18805. moneyticket:
  18806. description: 资金流水号:银行端流水号
  18807. type: integer
  18808. operatetype:
  18809. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费 1007:期权盈亏 1101:营销扣款 1102:营销收款
  18810. type: integer
  18811. relationorderid:
  18812. description: 关联单号
  18813. type: string
  18814. remark:
  18815. description: 备注
  18816. type: string
  18817. trademode:
  18818. description: 交易模式
  18819. type: integer
  18820. required:
  18821. - accountid
  18822. - amount
  18823. - amountadjusttype
  18824. - autoid
  18825. - balance
  18826. - createtime
  18827. - currentbalance
  18828. - histradedate
  18829. - operatetype
  18830. type: object
  18831. trade.QueryRecieptOrderRsp:
  18832. properties:
  18833. accountName:
  18834. description: 所属账号名称(已脱敏)
  18835. type: string
  18836. accountid:
  18837. description: 资金账号
  18838. type: integer
  18839. buyorsell:
  18840. description: 方向 - 0:买 1:卖
  18841. type: integer
  18842. enableqty:
  18843. description: 可摘数量
  18844. type: integer
  18845. goodscode:
  18846. description: 商品代码
  18847. type: string
  18848. goodsid:
  18849. description: 商品ID
  18850. type: integer
  18851. goodsname:
  18852. description: 商品名称
  18853. type: string
  18854. orderid:
  18855. description: 委托单号
  18856. type: string
  18857. orderprice:
  18858. description: 委托价格
  18859. type: number
  18860. ordertime:
  18861. description: 委托时间
  18862. type: string
  18863. tradedate:
  18864. description: 交易日(yyyyMMdd)
  18865. type: string
  18866. required:
  18867. - ordertime
  18868. type: object
  18869. user.LoginQueryRsp:
  18870. properties:
  18871. areaRoles:
  18872. description: 所属角色信息
  18873. items:
  18874. $ref: '#/definitions/models.Arearole'
  18875. type: array
  18876. externalExchanges:
  18877. description: 外部交易所
  18878. items:
  18879. $ref: '#/definitions/models.Externalexchange'
  18880. type: array
  18881. goodsgroups:
  18882. description: 商品组
  18883. items:
  18884. $ref: '#/definitions/models.Goodsgroup'
  18885. type: array
  18886. loginAccount:
  18887. $ref: '#/definitions/models.Loginaccount'
  18888. description: 登录账号
  18889. markets:
  18890. description: 市场
  18891. items:
  18892. $ref: '#/definitions/models.Market'
  18893. type: array
  18894. systemParams:
  18895. description: 系统参数
  18896. items:
  18897. $ref: '#/definitions/models.Systemparam'
  18898. type: array
  18899. userAccount:
  18900. $ref: '#/definitions/models.Useraccount'
  18901. description: 用户账号
  18902. userInfo:
  18903. $ref: '#/definitions/models.Userinfo'
  18904. description: 用户信息
  18905. username:
  18906. description: 用户姓名
  18907. type: string
  18908. type: object
  18909. info:
  18910. contact: {}
  18911. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  18912. termsOfService: http://www.muchinfo.cn
  18913. title: MTP2.0 查询服务 API
  18914. version: "1.0"
  18915. paths:
  18916. /CPTrade/QueryCPTradeMyBidInfos:
  18917. get:
  18918. parameters:
  18919. - description: 资金账户
  18920. in: query
  18921. name: accountid
  18922. required: true
  18923. type: integer
  18924. - description: 预售市场ID
  18925. in: query
  18926. name: marketid
  18927. type: integer
  18928. - description: 预售商品ID
  18929. in: query
  18930. name: goodsid
  18931. type: integer
  18932. produces:
  18933. - application/json
  18934. responses:
  18935. "200":
  18936. description: OK
  18937. schema:
  18938. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  18939. "500":
  18940. description: Internal Server Error
  18941. schema:
  18942. $ref: '#/definitions/app.Response'
  18943. security:
  18944. - ApiKeyAuth: []
  18945. summary: 查询产能预售我的出价信息
  18946. tags:
  18947. - 产能预售
  18948. /CPTrade/QueryCPTradeOrderDetail:
  18949. get:
  18950. parameters:
  18951. - description: 预售商品ID
  18952. in: query
  18953. name: goodsid
  18954. type: integer
  18955. - description: 预售市场ID
  18956. in: query
  18957. name: marketid
  18958. type: integer
  18959. - description: 预售商品ID列表 - 格式:1,2,3
  18960. in: query
  18961. name: goodsids
  18962. type: string
  18963. produces:
  18964. - application/json
  18965. responses:
  18966. "200":
  18967. description: OK
  18968. schema:
  18969. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  18970. "500":
  18971. description: Internal Server Error
  18972. schema:
  18973. $ref: '#/definitions/app.Response'
  18974. security:
  18975. - ApiKeyAuth: []
  18976. summary: 查询产能预售委托单信息
  18977. tags:
  18978. - 产能预售
  18979. /CPTrade/QueryMyCPTradeGoods:
  18980. get:
  18981. parameters:
  18982. - description: 资金账户
  18983. in: query
  18984. name: accountid
  18985. required: true
  18986. type: integer
  18987. produces:
  18988. - application/json
  18989. responses:
  18990. "200":
  18991. description: OK
  18992. schema:
  18993. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  18994. "500":
  18995. description: Internal Server Error
  18996. schema:
  18997. $ref: '#/definitions/app.Response'
  18998. security:
  18999. - ApiKeyAuth: []
  19000. summary: 查询我的预售信息
  19001. tags:
  19002. - 产能预售
  19003. /CPTrade/QueryPositionCancel:
  19004. get:
  19005. parameters:
  19006. - description: 账户ID
  19007. in: query
  19008. name: userid
  19009. required: true
  19010. type: integer
  19011. - description: 注销ID
  19012. in: query
  19013. name: cancelid
  19014. type: integer
  19015. - description: 资金账户ID
  19016. in: query
  19017. name: accountid
  19018. type: integer
  19019. produces:
  19020. - application/json
  19021. responses:
  19022. "200":
  19023. description: OK
  19024. schema:
  19025. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  19026. "500":
  19027. description: Internal Server Error
  19028. schema:
  19029. $ref: '#/definitions/app.Response'
  19030. security:
  19031. - ApiKeyAuth: []
  19032. summary: 查询远期订单注销申请信息
  19033. tags:
  19034. - 产能预售
  19035. /CPTrade/QueryPreasleApply:
  19036. get:
  19037. parameters:
  19038. - description: 账户ID
  19039. in: query
  19040. name: userid
  19041. required: true
  19042. type: integer
  19043. - description: 申请ID
  19044. in: query
  19045. name: applyid
  19046. type: integer
  19047. - description: 资金账户ID
  19048. in: query
  19049. name: accountid
  19050. type: integer
  19051. produces:
  19052. - application/json
  19053. responses:
  19054. "200":
  19055. description: OK
  19056. schema:
  19057. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  19058. "500":
  19059. description: Internal Server Error
  19060. schema:
  19061. $ref: '#/definitions/app.Response'
  19062. security:
  19063. - ApiKeyAuth: []
  19064. summary: 查询产能预售申请信息
  19065. tags:
  19066. - 产能预售
  19067. /CPTrade/QueryPresaleGoodsEx:
  19068. get:
  19069. parameters:
  19070. - description: 预售商品ID
  19071. in: query
  19072. name: goodsid
  19073. type: integer
  19074. - description: 预售市场ID
  19075. in: query
  19076. name: marketid
  19077. type: integer
  19078. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  19079. in: query
  19080. name: presalemode
  19081. type: integer
  19082. - description: 预售商品ID列表 - 格式:1,2,3
  19083. in: query
  19084. name: goodsids
  19085. type: string
  19086. - description: 预售商品代码
  19087. in: query
  19088. name: goodscode
  19089. type: string
  19090. produces:
  19091. - application/json
  19092. responses:
  19093. "200":
  19094. description: OK
  19095. schema:
  19096. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  19097. "500":
  19098. description: Internal Server Error
  19099. schema:
  19100. $ref: '#/definitions/app.Response'
  19101. security:
  19102. - ApiKeyAuth: []
  19103. summary: 查询产能预售商品扩展信息
  19104. tags:
  19105. - 产能预售
  19106. /CPTrade/QueryUserGoodsData:
  19107. get:
  19108. parameters:
  19109. - description: 资金账户ID
  19110. in: query
  19111. name: accountid
  19112. required: true
  19113. type: integer
  19114. produces:
  19115. - application/json
  19116. responses:
  19117. "200":
  19118. description: OK
  19119. schema:
  19120. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  19121. "500":
  19122. description: Internal Server Error
  19123. schema:
  19124. $ref: '#/definitions/app.Response'
  19125. security:
  19126. - ApiKeyAuth: []
  19127. summary: 查询远期订单信息
  19128. tags:
  19129. - 产能预售
  19130. /Common/GetAllEnums:
  19131. get:
  19132. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  19133. parameters:
  19134. - description: 起始自增ID
  19135. in: query
  19136. name: autoid
  19137. type: integer
  19138. produces:
  19139. - application/json
  19140. responses:
  19141. "200":
  19142. description: OK
  19143. schema:
  19144. $ref: '#/definitions/models.Enumdicitem'
  19145. "500":
  19146. description: Internal Server Error
  19147. schema:
  19148. $ref: '#/definitions/app.Response'
  19149. summary: 获取所有枚举信息
  19150. tags:
  19151. - 通用服务
  19152. /Common/GetClientMenus:
  19153. get:
  19154. parameters:
  19155. - description: 登录账号
  19156. in: query
  19157. name: loginID
  19158. required: true
  19159. type: integer
  19160. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  19161. in: query
  19162. name: clientType
  19163. type: integer
  19164. - description: 分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台
  19165. in: query
  19166. name: name
  19167. type: string
  19168. produces:
  19169. - application/json
  19170. responses:
  19171. "200":
  19172. description: OK
  19173. schema:
  19174. items:
  19175. $ref: '#/definitions/common.ClientMenu'
  19176. type: array
  19177. "500":
  19178. description: Internal Server Error
  19179. schema:
  19180. $ref: '#/definitions/app.Response'
  19181. security:
  19182. - ApiKeyAuth: []
  19183. summary: 获取交易端菜单
  19184. tags:
  19185. - 通用服务
  19186. /Common/GetDivisions:
  19187. get:
  19188. produces:
  19189. - application/json
  19190. responses:
  19191. "200":
  19192. description: OK
  19193. schema:
  19194. $ref: '#/definitions/models.Division'
  19195. "500":
  19196. description: Internal Server Error
  19197. schema:
  19198. $ref: '#/definitions/app.Response'
  19199. summary: 查询区域信息
  19200. tags:
  19201. - 通用服务
  19202. /Common/GetPCWebMenus:
  19203. get:
  19204. parameters:
  19205. - description: 登录账号
  19206. in: query
  19207. name: loginID
  19208. required: true
  19209. type: integer
  19210. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  19211. in: query
  19212. name: name
  19213. type: string
  19214. produces:
  19215. - application/json
  19216. responses:
  19217. "200":
  19218. description: OK
  19219. schema:
  19220. items:
  19221. $ref: '#/definitions/common.PCWebMenu'
  19222. type: array
  19223. "500":
  19224. description: Internal Server Error
  19225. schema:
  19226. $ref: '#/definitions/app.Response'
  19227. security:
  19228. - ApiKeyAuth: []
  19229. summary: 获取PCWeb交易端菜单
  19230. tags:
  19231. - 通用服务
  19232. /Common/GetServerTime:
  19233. get:
  19234. produces:
  19235. - application/json
  19236. responses:
  19237. "200":
  19238. description: OK
  19239. schema:
  19240. $ref: '#/definitions/app.Response'
  19241. "500":
  19242. description: Internal Server Error
  19243. schema:
  19244. $ref: '#/definitions/app.Response'
  19245. summary: 获取服务器时间
  19246. tags:
  19247. - 通用服务
  19248. /Common/NoticeReaded:
  19249. post:
  19250. parameters:
  19251. - description: 登录账号
  19252. in: query
  19253. name: loginID
  19254. required: true
  19255. type: integer
  19256. - description: 通知公告ID
  19257. in: query
  19258. name: noticeID
  19259. required: true
  19260. type: integer
  19261. produces:
  19262. - application/json
  19263. responses:
  19264. "200":
  19265. description: OK
  19266. schema:
  19267. $ref: '#/definitions/app.Response'
  19268. "500":
  19269. description: Internal Server Error
  19270. schema:
  19271. $ref: '#/definitions/app.Response'
  19272. security:
  19273. - ApiKeyAuth: []
  19274. summary: 通知公告设置已读请求
  19275. tags:
  19276. - 通用服务
  19277. /Common/QueryErrorInfos:
  19278. get:
  19279. description: 如果传入rowNumber,则返回此rowNumber后的数据
  19280. parameters:
  19281. - description: 起始行号前索引
  19282. in: query
  19283. name: rowNumber
  19284. type: string
  19285. produces:
  19286. - application/json
  19287. responses:
  19288. "200":
  19289. description: OK
  19290. schema:
  19291. $ref: '#/definitions/models.QueryErrorInfosRsp'
  19292. "500":
  19293. description: Internal Server Error
  19294. schema:
  19295. $ref: '#/definitions/app.Response'
  19296. summary: 获取数据库错误信息
  19297. tags:
  19298. - 通用服务
  19299. /Common/QueryImageConfigs:
  19300. get:
  19301. parameters:
  19302. - description: 用户id
  19303. in: query
  19304. name: userId
  19305. type: integer
  19306. - description: 类型 - 1:App首页轮播 2:我的
  19307. in: query
  19308. name: imageType
  19309. type: integer
  19310. produces:
  19311. - application/json
  19312. responses:
  19313. "200":
  19314. description: OK
  19315. schema:
  19316. $ref: '#/definitions/common.QueryImageConfigsRsp'
  19317. "500":
  19318. description: Internal Server Error
  19319. schema:
  19320. $ref: '#/definitions/app.Response'
  19321. summary: 查询轮播图配置信息
  19322. tags:
  19323. - 通用服务
  19324. /Common/QueryNotice:
  19325. get:
  19326. parameters:
  19327. - description: 页码
  19328. in: query
  19329. name: page
  19330. type: integer
  19331. - description: 每页条数
  19332. in: query
  19333. name: pagesize
  19334. type: integer
  19335. - description: 登录账号
  19336. in: query
  19337. name: loginID
  19338. required: true
  19339. type: integer
  19340. - description: 消息类型 - 1:公告通知 2:系统消息
  19341. in: query
  19342. name: msgType
  19343. type: integer
  19344. - description: 是否只获取未读信息
  19345. in: query
  19346. name: onlyUnRead
  19347. type: boolean
  19348. - description: 自增ID,传入后会返回这个ID后面的记录
  19349. in: query
  19350. name: lastID
  19351. type: integer
  19352. produces:
  19353. - application/json
  19354. responses:
  19355. "200":
  19356. description: OK
  19357. schema:
  19358. $ref: '#/definitions/common.QueryNoticeRsp'
  19359. "500":
  19360. description: Internal Server Error
  19361. schema:
  19362. $ref: '#/definitions/app.Response'
  19363. security:
  19364. - ApiKeyAuth: []
  19365. summary: 通知公告系统消息查询
  19366. tags:
  19367. - 通用服务
  19368. /Common/QueryProvincesAndCities:
  19369. get:
  19370. parameters:
  19371. - description: 省ID
  19372. in: query
  19373. name: provinceID
  19374. type: integer
  19375. produces:
  19376. - application/json
  19377. responses:
  19378. "200":
  19379. description: OK
  19380. schema:
  19381. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  19382. "500":
  19383. description: Internal Server Error
  19384. schema:
  19385. $ref: '#/definitions/app.Response'
  19386. summary: 查询省市信息(不包括区)
  19387. tags:
  19388. - 通用服务
  19389. /Common/QueryTableDefine:
  19390. get:
  19391. parameters:
  19392. - description: 表key
  19393. in: query
  19394. name: tableKey
  19395. type: string
  19396. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  19397. in: query
  19398. name: tableType
  19399. type: integer
  19400. produces:
  19401. - application/json
  19402. responses:
  19403. "200":
  19404. description: OK
  19405. schema:
  19406. $ref: '#/definitions/common.QueryTableDefineRsp'
  19407. "500":
  19408. description: Internal Server Error
  19409. schema:
  19410. $ref: '#/definitions/app.Response'
  19411. summary: 查询交易端列表头信息
  19412. tags:
  19413. - 通用服务
  19414. /Common/QueryTraderMenu:
  19415. get:
  19416. parameters:
  19417. - description: 登录账号
  19418. in: query
  19419. name: loginid
  19420. required: true
  19421. type: integer
  19422. produces:
  19423. - application/json
  19424. responses:
  19425. "200":
  19426. description: OK
  19427. schema:
  19428. $ref: '#/definitions/common.QueryTraderMenuRsp'
  19429. "500":
  19430. description: Internal Server Error
  19431. schema:
  19432. $ref: '#/definitions/app.Response'
  19433. summary: 查询交易端菜单
  19434. tags:
  19435. - 通用服务
  19436. /Delivery/QueryDeliveryRelation:
  19437. get:
  19438. parameters:
  19439. - description: 商品ID
  19440. in: query
  19441. name: goodsid
  19442. type: integer
  19443. - description: 品种ID
  19444. in: query
  19445. name: deliverygoodsid
  19446. type: integer
  19447. - description: 市场ID
  19448. in: query
  19449. name: marketid
  19450. type: integer
  19451. produces:
  19452. - application/json
  19453. responses:
  19454. "200":
  19455. description: OK
  19456. schema:
  19457. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  19458. "500":
  19459. description: Internal Server Error
  19460. schema:
  19461. $ref: '#/definitions/app.Response'
  19462. security:
  19463. - ApiKeyAuth: []
  19464. summary: 查询商品交割关系表
  19465. tags:
  19466. - 交割服务
  19467. /Ermcp/GetErmcpGoods:
  19468. get:
  19469. parameters:
  19470. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  19471. in: query
  19472. name: lastUpdateTime
  19473. type: string
  19474. produces:
  19475. - application/json
  19476. responses:
  19477. "200":
  19478. description: OK
  19479. schema:
  19480. $ref: '#/definitions/models.ErmcpGoods'
  19481. "500":
  19482. description: Internal Server Error
  19483. schema:
  19484. $ref: '#/definitions/app.Response'
  19485. security:
  19486. - ApiKeyAuth: []
  19487. summary: 查询企业风管期货商品信息
  19488. tags:
  19489. - 企业风险管理(app)
  19490. /Ermcp/GetErmcpGoodsSortByPosition:
  19491. get:
  19492. parameters:
  19493. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  19494. in: query
  19495. name: sortIndex
  19496. type: string
  19497. produces:
  19498. - application/json
  19499. responses:
  19500. "200":
  19501. description: OK
  19502. schema:
  19503. $ref: '#/definitions/models.Goodssortbypreposition'
  19504. "500":
  19505. description: Internal Server Error
  19506. schema:
  19507. $ref: '#/definitions/app.Response'
  19508. security:
  19509. - ApiKeyAuth: []
  19510. summary: 查询企业风管期货主力、次主力商品信息
  19511. tags:
  19512. - 企业风险管理(app)
  19513. /Ermcp/GetErmcpOutAccountStatus:
  19514. get:
  19515. parameters:
  19516. - description: 登录账号
  19517. in: query
  19518. name: loginID
  19519. required: true
  19520. type: integer
  19521. produces:
  19522. - application/json
  19523. responses:
  19524. "200":
  19525. description: OK
  19526. schema:
  19527. $ref: '#/definitions/models.Hedgemarketopenlog'
  19528. "500":
  19529. description: Internal Server Error
  19530. schema:
  19531. $ref: '#/definitions/app.Response'
  19532. security:
  19533. - ApiKeyAuth: []
  19534. summary: 获取目标登录账号当前对冲账号在线状态
  19535. tags:
  19536. - 企业风险管理(app)
  19537. /Ermcp/GetErmcpRoleFuncMenuLists:
  19538. get:
  19539. parameters:
  19540. - description: 登录账号
  19541. in: query
  19542. name: loginID
  19543. required: true
  19544. type: integer
  19545. produces:
  19546. - application/json
  19547. responses:
  19548. "200":
  19549. description: OK
  19550. schema:
  19551. $ref: '#/definitions/models.Funcmenulist'
  19552. "500":
  19553. description: Internal Server Error
  19554. schema:
  19555. $ref: '#/definitions/app.Response'
  19556. security:
  19557. - ApiKeyAuth: []
  19558. summary: 获取企业风管终端权限
  19559. tags:
  19560. - 企业风险管理(app)
  19561. /Ermcp/QueryAccMgrBizGroupSet:
  19562. get:
  19563. parameters:
  19564. - description: 用户ID
  19565. in: query
  19566. name: userid
  19567. required: true
  19568. type: integer
  19569. - description: 现货商品id
  19570. in: query
  19571. name: deliverygoodsid
  19572. type: integer
  19573. produces:
  19574. - application/json
  19575. responses:
  19576. "200":
  19577. description: OK
  19578. schema:
  19579. items:
  19580. $ref: '#/definitions/models.ErmcpBizGroupEx'
  19581. type: array
  19582. "500":
  19583. description: Internal Server Error
  19584. schema:
  19585. $ref: '#/definitions/app.Response'
  19586. security:
  19587. - ApiKeyAuth: []
  19588. summary: 查询业务类型分组(账户管理/账户设置)
  19589. tags:
  19590. - 企业风险管理(app)
  19591. /Ermcp/QueryAccMgrLoginUser:
  19592. get:
  19593. parameters:
  19594. - description: 用户ID
  19595. in: query
  19596. name: userid
  19597. required: true
  19598. type: integer
  19599. - description: 用户类型 2-机构 7-企业成员
  19600. in: query
  19601. name: usertype
  19602. type: integer
  19603. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  19604. in: query
  19605. name: querytype
  19606. required: true
  19607. type: integer
  19608. produces:
  19609. - application/json
  19610. responses:
  19611. "200":
  19612. description: OK
  19613. schema:
  19614. items:
  19615. $ref: '#/definitions/models.ErmcpLoginUserEx'
  19616. type: array
  19617. "500":
  19618. description: Internal Server Error
  19619. schema:
  19620. $ref: '#/definitions/app.Response'
  19621. security:
  19622. - ApiKeyAuth: []
  19623. summary: 查询账户管理登录账号(账户管理/登录账号)
  19624. tags:
  19625. - 企业风险管理(app)
  19626. /Ermcp/QueryAccMgrMainAccountInfo:
  19627. get:
  19628. parameters:
  19629. - description: 用户ID
  19630. in: query
  19631. name: userid
  19632. type: integer
  19633. - description: 主账号id
  19634. in: query
  19635. name: accountid
  19636. type: integer
  19637. produces:
  19638. - application/json
  19639. responses:
  19640. "200":
  19641. description: OK
  19642. schema:
  19643. items:
  19644. $ref: '#/definitions/models.MainAccountInfo'
  19645. type: array
  19646. "500":
  19647. description: Internal Server Error
  19648. schema:
  19649. $ref: '#/definitions/app.Response'
  19650. security:
  19651. - ApiKeyAuth: []
  19652. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  19653. tags:
  19654. - 企业风险管理(app)
  19655. /Ermcp/QueryAccMgrRole:
  19656. get:
  19657. parameters:
  19658. - description: 用户ID
  19659. in: query
  19660. name: userid
  19661. required: true
  19662. type: integer
  19663. produces:
  19664. - application/json
  19665. responses:
  19666. "200":
  19667. description: OK
  19668. schema:
  19669. items:
  19670. $ref: '#/definitions/models.ErmcpRole'
  19671. type: array
  19672. "500":
  19673. description: Internal Server Error
  19674. schema:
  19675. $ref: '#/definitions/app.Response'
  19676. security:
  19677. - ApiKeyAuth: []
  19678. summary: 查询账户管理角色设置(账户管理/角色设置)
  19679. tags:
  19680. - 企业风险管理(app)
  19681. /Ermcp/QueryAccMgrRoleMenu:
  19682. get:
  19683. parameters:
  19684. - description: 用户ID
  19685. in: query
  19686. name: userid
  19687. required: true
  19688. type: integer
  19689. - description: 角色id(可多个,逗号隔开)
  19690. in: query
  19691. name: roleid
  19692. type: string
  19693. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  19694. in: query
  19695. name: menutype
  19696. type: integer
  19697. produces:
  19698. - application/json
  19699. responses:
  19700. "200":
  19701. description: OK
  19702. schema:
  19703. items:
  19704. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  19705. type: array
  19706. "500":
  19707. description: Internal Server Error
  19708. schema:
  19709. $ref: '#/definitions/app.Response'
  19710. security:
  19711. - ApiKeyAuth: []
  19712. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  19713. tags:
  19714. - 企业风险管理(app)
  19715. /Ermcp/QueryAccMgrTaAccountInfo:
  19716. get:
  19717. parameters:
  19718. - description: 用户ID
  19719. in: query
  19720. name: userid
  19721. required: true
  19722. type: integer
  19723. - description: 账号id
  19724. in: query
  19725. name: accountid
  19726. type: integer
  19727. produces:
  19728. - application/json
  19729. responses:
  19730. "200":
  19731. description: OK
  19732. schema:
  19733. items:
  19734. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  19735. type: array
  19736. "500":
  19737. description: Internal Server Error
  19738. schema:
  19739. $ref: '#/definitions/app.Response'
  19740. security:
  19741. - ApiKeyAuth: []
  19742. summary: 查询账户管理授信(账户管理/账户设置/授信)
  19743. tags:
  19744. - 企业风险管理(app)
  19745. /Ermcp/QueryAccMgrTaaccount:
  19746. get:
  19747. parameters:
  19748. - description: 用户ID
  19749. in: query
  19750. name: userid
  19751. required: true
  19752. type: integer
  19753. produces:
  19754. - application/json
  19755. responses:
  19756. "200":
  19757. description: OK
  19758. schema:
  19759. items:
  19760. $ref: '#/definitions/models.ErmcpTaAccountEx'
  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. - 企业风险管理(app)
  19771. /Ermcp/QueryAvaildGoodsGroup:
  19772. get:
  19773. parameters:
  19774. - description: 所属机构ID
  19775. in: query
  19776. name: userid
  19777. required: true
  19778. type: integer
  19779. produces:
  19780. - application/json
  19781. responses:
  19782. "200":
  19783. description: OK
  19784. schema:
  19785. items:
  19786. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  19787. type: array
  19788. "500":
  19789. description: Internal Server Error
  19790. schema:
  19791. $ref: '#/definitions/app.Response'
  19792. security:
  19793. - ApiKeyAuth: []
  19794. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  19795. tags:
  19796. - 企业风险管理(app)
  19797. /Ermcp/QueryBusinessDj:
  19798. get:
  19799. parameters:
  19800. - description: 用户ID
  19801. in: query
  19802. name: UserId
  19803. required: true
  19804. type: integer
  19805. - description: 用户类型 2-机构 7-企业成员
  19806. in: query
  19807. name: usertype
  19808. type: integer
  19809. - description: 现货合同ID, 不填则查所有
  19810. in: query
  19811. name: relatedid
  19812. type: string
  19813. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19814. in: query
  19815. name: applystatus
  19816. type: string
  19817. produces:
  19818. - application/json
  19819. responses:
  19820. "200":
  19821. description: OK
  19822. schema:
  19823. items:
  19824. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  19825. type: array
  19826. "500":
  19827. description: Internal Server Error
  19828. schema:
  19829. $ref: '#/definitions/app.Response'
  19830. security:
  19831. - ApiKeyAuth: []
  19832. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  19833. tags:
  19834. - 企业风险管理(app)
  19835. /Ermcp/QueryBusinessFp:
  19836. get:
  19837. parameters:
  19838. - description: 用户ID
  19839. in: query
  19840. name: UserId
  19841. required: true
  19842. type: integer
  19843. - description: 用户类型 2-机构 7-企业成员
  19844. in: query
  19845. name: usertype
  19846. type: integer
  19847. - description: 现货合同ID, 不填则查所有
  19848. in: query
  19849. name: relatedid
  19850. type: string
  19851. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19852. in: query
  19853. name: applystatus
  19854. type: string
  19855. produces:
  19856. - application/json
  19857. responses:
  19858. "200":
  19859. description: OK
  19860. schema:
  19861. items:
  19862. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  19863. type: array
  19864. "500":
  19865. description: Internal Server Error
  19866. schema:
  19867. $ref: '#/definitions/app.Response'
  19868. security:
  19869. - ApiKeyAuth: []
  19870. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  19871. tags:
  19872. - 企业风险管理(app)
  19873. /Ermcp/QueryBusinessJs:
  19874. get:
  19875. parameters:
  19876. - description: 用户ID
  19877. in: query
  19878. name: UserId
  19879. required: true
  19880. type: integer
  19881. - description: 用户类型 2-机构 7-企业成员
  19882. in: query
  19883. name: usertype
  19884. type: integer
  19885. - description: 现货合同ID, 不填则查所有
  19886. in: query
  19887. name: relatedid
  19888. type: string
  19889. - description: 操作申请id
  19890. in: query
  19891. name: operateapplyid
  19892. type: string
  19893. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19894. in: query
  19895. name: applystatus
  19896. type: string
  19897. produces:
  19898. - application/json
  19899. responses:
  19900. "200":
  19901. description: OK
  19902. schema:
  19903. items:
  19904. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  19905. type: array
  19906. "500":
  19907. description: Internal Server Error
  19908. schema:
  19909. $ref: '#/definitions/app.Response'
  19910. security:
  19911. - ApiKeyAuth: []
  19912. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  19913. tags:
  19914. - 企业风险管理(app)
  19915. /Ermcp/QueryBusinessJsEx:
  19916. get:
  19917. parameters:
  19918. - description: 用户ID
  19919. in: query
  19920. name: UserId
  19921. required: true
  19922. type: integer
  19923. - description: 用户类型 2-机构 7-企业成员
  19924. in: query
  19925. name: usertype
  19926. type: integer
  19927. - description: 现货合同ID, 不填则查所有
  19928. in: query
  19929. name: relatedid
  19930. type: string
  19931. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19932. in: query
  19933. name: applystatus
  19934. type: string
  19935. produces:
  19936. - application/json
  19937. responses:
  19938. "200":
  19939. description: OK
  19940. schema:
  19941. items:
  19942. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  19943. type: array
  19944. "500":
  19945. description: Internal Server Error
  19946. schema:
  19947. $ref: '#/definitions/app.Response'
  19948. security:
  19949. - ApiKeyAuth: []
  19950. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  19951. tags:
  19952. - 企业风险管理(app)
  19953. /Ermcp/QueryBusinessKx:
  19954. get:
  19955. parameters:
  19956. - description: 用户ID
  19957. in: query
  19958. name: UserId
  19959. required: true
  19960. type: integer
  19961. - description: 用户类型 2-机构 7-企业成员
  19962. in: query
  19963. name: usertype
  19964. type: integer
  19965. - description: 现货合同ID, 不填则查所有
  19966. in: query
  19967. name: relatedid
  19968. type: string
  19969. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19970. in: query
  19971. name: applystatus
  19972. type: string
  19973. produces:
  19974. - application/json
  19975. responses:
  19976. "200":
  19977. description: OK
  19978. schema:
  19979. items:
  19980. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  19981. type: array
  19982. "500":
  19983. description: Internal Server Error
  19984. schema:
  19985. $ref: '#/definitions/app.Response'
  19986. security:
  19987. - ApiKeyAuth: []
  19988. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  19989. tags:
  19990. - 企业风险管理(app)
  19991. /Ermcp/QueryChangeLog:
  19992. get:
  19993. parameters:
  19994. - description: 合同ID
  19995. in: query
  19996. name: RelatedId
  19997. required: true
  19998. type: string
  19999. produces:
  20000. - application/json
  20001. responses:
  20002. "200":
  20003. description: OK
  20004. schema:
  20005. items:
  20006. $ref: '#/definitions/ermcp.QryOPLogRsp'
  20007. type: array
  20008. "500":
  20009. description: Internal Server Error
  20010. schema:
  20011. $ref: '#/definitions/app.Response'
  20012. security:
  20013. - ApiKeyAuth: []
  20014. summary: 查询变更记录
  20015. tags:
  20016. - 企业风险管理(app)
  20017. /Ermcp/QueryErmcpHisOrderDetails:
  20018. get:
  20019. parameters:
  20020. - description: 资金账户ID
  20021. in: query
  20022. name: accountID
  20023. required: true
  20024. type: integer
  20025. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  20026. in: query
  20027. name: startDate
  20028. type: string
  20029. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  20030. in: query
  20031. name: endDate
  20032. type: string
  20033. produces:
  20034. - application/json
  20035. responses:
  20036. "200":
  20037. description: OK
  20038. schema:
  20039. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  20040. "500":
  20041. description: Internal Server Error
  20042. schema:
  20043. $ref: '#/definitions/app.Response'
  20044. security:
  20045. - ApiKeyAuth: []
  20046. summary: 获取企业风管期货历史委托单信息
  20047. tags:
  20048. - 企业风险管理(app)
  20049. /Ermcp/QueryErmcpHisTradeDetails:
  20050. get:
  20051. parameters:
  20052. - description: 资金账户ID
  20053. in: query
  20054. name: accountID
  20055. required: true
  20056. type: integer
  20057. - description: 商品ID
  20058. in: query
  20059. name: goodsID
  20060. type: integer
  20061. - description: 买卖方向,0:买 1:卖
  20062. in: query
  20063. name: buyOrSell
  20064. type: integer
  20065. - description: 关联委托单号
  20066. in: query
  20067. name: orderID
  20068. type: integer
  20069. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  20070. in: query
  20071. name: startDate
  20072. type: string
  20073. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  20074. in: query
  20075. name: endDate
  20076. type: string
  20077. produces:
  20078. - application/json
  20079. responses:
  20080. "200":
  20081. description: OK
  20082. schema:
  20083. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  20084. "500":
  20085. description: Internal Server Error
  20086. schema:
  20087. $ref: '#/definitions/app.Response'
  20088. security:
  20089. - ApiKeyAuth: []
  20090. summary: 获取企业风管期货历史成交单信息
  20091. tags:
  20092. - 企业风险管理(app)
  20093. /Ermcp/QueryErmcpInnerHolderDetails:
  20094. get:
  20095. parameters:
  20096. - description: 资金账户ID
  20097. in: query
  20098. name: accountID
  20099. required: true
  20100. type: integer
  20101. - description: 商品ID
  20102. in: query
  20103. name: goodsID
  20104. type: integer
  20105. - description: 买卖方向,0:买 1:卖
  20106. in: query
  20107. name: buyOrSell
  20108. type: integer
  20109. produces:
  20110. - application/json
  20111. responses:
  20112. "200":
  20113. description: OK
  20114. schema:
  20115. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  20116. "500":
  20117. description: Internal Server Error
  20118. schema:
  20119. $ref: '#/definitions/app.Response'
  20120. security:
  20121. - ApiKeyAuth: []
  20122. summary: 获取企业风管期货内部持仓单信息
  20123. tags:
  20124. - 企业风险管理(app)
  20125. /Ermcp/QueryErmcpOrderDetails:
  20126. get:
  20127. parameters:
  20128. - description: 资金账户ID
  20129. in: query
  20130. name: accountID
  20131. required: true
  20132. type: integer
  20133. produces:
  20134. - application/json
  20135. responses:
  20136. "200":
  20137. description: OK
  20138. schema:
  20139. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  20140. "500":
  20141. description: Internal Server Error
  20142. schema:
  20143. $ref: '#/definitions/app.Response'
  20144. security:
  20145. - ApiKeyAuth: []
  20146. summary: 获取企业风管期货委托单信息
  20147. tags:
  20148. - 企业风险管理(app)
  20149. /Ermcp/QueryErmcpTradeDetails:
  20150. get:
  20151. parameters:
  20152. - description: 资金账户ID
  20153. in: query
  20154. name: accountID
  20155. required: true
  20156. type: integer
  20157. - description: 商品ID
  20158. in: query
  20159. name: goodsID
  20160. type: integer
  20161. - description: 买卖方向,0:买 1:卖
  20162. in: query
  20163. name: buyOrSell
  20164. type: integer
  20165. - description: 关联委托单号
  20166. in: query
  20167. name: orderID
  20168. type: integer
  20169. produces:
  20170. - application/json
  20171. responses:
  20172. "200":
  20173. description: OK
  20174. schema:
  20175. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  20176. "500":
  20177. description: Internal Server Error
  20178. schema:
  20179. $ref: '#/definitions/app.Response'
  20180. security:
  20181. - ApiKeyAuth: []
  20182. summary: 获取企业风管期货成交单信息
  20183. tags:
  20184. - 企业风险管理(app)
  20185. /Ermcp/QueryErmcpTradePosition:
  20186. get:
  20187. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  20188. parameters:
  20189. - description: 资金账户ID
  20190. in: query
  20191. name: accountID
  20192. required: true
  20193. type: integer
  20194. - description: 所属市场ID
  20195. in: query
  20196. name: marketID
  20197. type: integer
  20198. produces:
  20199. - application/json
  20200. responses:
  20201. "200":
  20202. description: OK
  20203. schema:
  20204. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  20205. "500":
  20206. description: Internal Server Error
  20207. schema:
  20208. $ref: '#/definitions/app.Response'
  20209. security:
  20210. - ApiKeyAuth: []
  20211. summary: 获取企业风管期货持仓头寸信息
  20212. tags:
  20213. - 企业风险管理(app)
  20214. /Ermcp/QueryExposureDetail:
  20215. get:
  20216. parameters:
  20217. - description: 所属机构ID
  20218. in: query
  20219. name: areaUserId
  20220. required: true
  20221. type: integer
  20222. - description: 套保商品
  20223. in: query
  20224. name: middleGoodsId
  20225. required: true
  20226. type: integer
  20227. produces:
  20228. - application/json
  20229. responses:
  20230. "200":
  20231. description: OK
  20232. schema:
  20233. items:
  20234. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  20235. type: array
  20236. "500":
  20237. description: Internal Server Error
  20238. schema:
  20239. $ref: '#/definitions/app.Response'
  20240. security:
  20241. - ApiKeyAuth: []
  20242. summary: 查询敞口现货明细
  20243. tags:
  20244. - 企业风险管理(app)
  20245. /Ermcp/QueryExposureGoods:
  20246. get:
  20247. parameters:
  20248. - description: 套保商品id
  20249. in: query
  20250. name: middlegoodsid
  20251. required: true
  20252. type: integer
  20253. produces:
  20254. - application/json
  20255. responses:
  20256. "200":
  20257. description: OK
  20258. schema:
  20259. items:
  20260. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  20261. type: array
  20262. "500":
  20263. description: Internal Server Error
  20264. schema:
  20265. $ref: '#/definitions/app.Response'
  20266. security:
  20267. - ApiKeyAuth: []
  20268. summary: 查询敞口主力合约
  20269. tags:
  20270. - 企业风险管理(app)
  20271. /Ermcp/QueryExposureHedgePosition:
  20272. get:
  20273. parameters:
  20274. - description: 用户id
  20275. in: query
  20276. name: userid
  20277. required: true
  20278. type: integer
  20279. produces:
  20280. - application/json
  20281. responses:
  20282. "200":
  20283. description: OK
  20284. schema:
  20285. items:
  20286. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  20287. type: array
  20288. "500":
  20289. description: Internal Server Error
  20290. schema:
  20291. $ref: '#/definitions/app.Response'
  20292. security:
  20293. - ApiKeyAuth: []
  20294. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  20295. tags:
  20296. - 企业风险管理(app)
  20297. /Ermcp/QueryExposureHedgePositionDetail:
  20298. get:
  20299. parameters:
  20300. - description: 所属机构ID
  20301. in: query
  20302. name: userid
  20303. required: true
  20304. type: integer
  20305. - description: 商品id
  20306. in: query
  20307. name: goodsId
  20308. required: true
  20309. type: integer
  20310. produces:
  20311. - application/json
  20312. responses:
  20313. "200":
  20314. description: OK
  20315. schema:
  20316. items:
  20317. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  20318. type: array
  20319. "500":
  20320. description: Internal Server Error
  20321. schema:
  20322. $ref: '#/definitions/app.Response'
  20323. security:
  20324. - ApiKeyAuth: []
  20325. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  20326. tags:
  20327. - 企业风险管理(app)
  20328. /Ermcp/QueryExposureSpot:
  20329. get:
  20330. parameters:
  20331. - description: 所属机构ID
  20332. in: query
  20333. name: areaUserId
  20334. required: true
  20335. type: integer
  20336. produces:
  20337. - application/json
  20338. responses:
  20339. "200":
  20340. description: OK
  20341. schema:
  20342. items:
  20343. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  20344. type: array
  20345. "500":
  20346. description: Internal Server Error
  20347. schema:
  20348. $ref: '#/definitions/app.Response'
  20349. security:
  20350. - ApiKeyAuth: []
  20351. summary: 查询敞口现货头寸(敞口/现货头寸)
  20352. tags:
  20353. - 企业风险管理(app)
  20354. /Ermcp/QueryExposureSpotDetail:
  20355. get:
  20356. parameters:
  20357. - description: 所属机构ID
  20358. in: query
  20359. name: areaUserId
  20360. required: true
  20361. type: integer
  20362. - description: 现货品种ID
  20363. in: query
  20364. name: wrstandardId
  20365. required: true
  20366. type: integer
  20367. produces:
  20368. - application/json
  20369. responses:
  20370. "200":
  20371. description: OK
  20372. schema:
  20373. items:
  20374. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  20375. type: array
  20376. "500":
  20377. description: Internal Server Error
  20378. schema:
  20379. $ref: '#/definitions/app.Response'
  20380. security:
  20381. - ApiKeyAuth: []
  20382. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  20383. tags:
  20384. - 企业风险管理(app)
  20385. /Ermcp/QueryFuturesCompany:
  20386. get:
  20387. produces:
  20388. - application/json
  20389. responses:
  20390. "200":
  20391. description: OK
  20392. schema:
  20393. items:
  20394. $ref: '#/definitions/models.ErmcpFuturesCompany'
  20395. type: array
  20396. "500":
  20397. description: Internal Server Error
  20398. schema:
  20399. $ref: '#/definitions/app.Response'
  20400. security:
  20401. - ApiKeyAuth: []
  20402. summary: 查询期货公司
  20403. tags:
  20404. - 企业风险管理(app)
  20405. /Ermcp/QueryGGConvertConfig:
  20406. get:
  20407. parameters:
  20408. - description: 品种id(不填则查所有)
  20409. in: query
  20410. name: goodsgroupid
  20411. type: integer
  20412. produces:
  20413. - application/json
  20414. responses:
  20415. "200":
  20416. description: OK
  20417. schema:
  20418. items:
  20419. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  20420. type: array
  20421. "500":
  20422. description: Internal Server Error
  20423. schema:
  20424. $ref: '#/definitions/app.Response'
  20425. security:
  20426. - ApiKeyAuth: []
  20427. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  20428. tags:
  20429. - 企业风险管理(app)
  20430. /Ermcp/QueryGoodsBrand:
  20431. get:
  20432. parameters:
  20433. - description: 用户ID
  20434. in: query
  20435. name: userid
  20436. required: true
  20437. type: integer
  20438. - description: 现货商品ID
  20439. in: query
  20440. name: wrstandardid
  20441. type: integer
  20442. produces:
  20443. - application/json
  20444. responses:
  20445. "200":
  20446. description: OK
  20447. schema:
  20448. items:
  20449. $ref: '#/definitions/models.ErmcpGoodsBrand'
  20450. type: array
  20451. "500":
  20452. description: Internal Server Error
  20453. schema:
  20454. $ref: '#/definitions/app.Response'
  20455. security:
  20456. - ApiKeyAuth: []
  20457. summary: 查询商品品牌
  20458. tags:
  20459. - 企业风险管理(app)
  20460. /Ermcp/QueryGoodsModel:
  20461. get:
  20462. parameters:
  20463. - description: 用户ID
  20464. in: query
  20465. name: userid
  20466. required: true
  20467. type: integer
  20468. produces:
  20469. - application/json
  20470. responses:
  20471. "200":
  20472. description: OK
  20473. schema:
  20474. items:
  20475. $ref: '#/definitions/models.ErmcpGoodsModel'
  20476. type: array
  20477. "500":
  20478. description: Internal Server Error
  20479. schema:
  20480. $ref: '#/definitions/app.Response'
  20481. security:
  20482. - ApiKeyAuth: []
  20483. summary: 查询商品型号
  20484. tags:
  20485. - 企业风险管理(app)
  20486. /Ermcp/QueryHisExposure:
  20487. get:
  20488. parameters:
  20489. - description: 用户id
  20490. in: query
  20491. name: userid
  20492. required: true
  20493. type: integer
  20494. - description: 每个品种记录数
  20495. in: query
  20496. name: lastNum
  20497. required: true
  20498. type: integer
  20499. produces:
  20500. - application/json
  20501. responses:
  20502. "200":
  20503. description: OK
  20504. schema:
  20505. items:
  20506. $ref: '#/definitions/ermcp.HisExposureRsp'
  20507. type: array
  20508. "500":
  20509. description: Internal Server Error
  20510. schema:
  20511. $ref: '#/definitions/app.Response'
  20512. security:
  20513. - ApiKeyAuth: []
  20514. summary: 查询历史敞口(菜单:敞口/历史敞口)
  20515. tags:
  20516. - 企业风险管理(app)
  20517. /Ermcp/QueryMiddleGoods:
  20518. get:
  20519. parameters:
  20520. - description: 所属机构ID
  20521. in: query
  20522. name: userid
  20523. required: true
  20524. type: integer
  20525. - description: 状态 0-停用 1-正常
  20526. in: query
  20527. name: status
  20528. required: true
  20529. type: integer
  20530. produces:
  20531. - application/json
  20532. responses:
  20533. "200":
  20534. description: OK
  20535. schema:
  20536. items:
  20537. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  20538. type: array
  20539. "500":
  20540. description: Internal Server Error
  20541. schema:
  20542. $ref: '#/definitions/app.Response'
  20543. security:
  20544. - ApiKeyAuth: []
  20545. summary: 查询套保品种(菜单:套保品种)
  20546. tags:
  20547. - 企业风险管理(app)
  20548. /Ermcp/QueryMiddleGoodsChangeLog:
  20549. get:
  20550. parameters:
  20551. - description: 所属机构ID
  20552. in: query
  20553. name: userid
  20554. required: true
  20555. type: integer
  20556. - description: 套保品种id
  20557. in: query
  20558. name: middlegoodsid
  20559. required: true
  20560. type: integer
  20561. produces:
  20562. - application/json
  20563. responses:
  20564. "200":
  20565. description: OK
  20566. schema:
  20567. items:
  20568. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  20569. type: array
  20570. "500":
  20571. description: Internal Server Error
  20572. schema:
  20573. $ref: '#/definitions/app.Response'
  20574. security:
  20575. - ApiKeyAuth: []
  20576. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  20577. tags:
  20578. - 企业风险管理(app)
  20579. /Ermcp/QueryMiddleGoodsDetail:
  20580. get:
  20581. parameters:
  20582. - description: 所属机构ID
  20583. in: query
  20584. name: userid
  20585. required: true
  20586. type: integer
  20587. - description: 套保品种id
  20588. in: query
  20589. name: middlegoodsid
  20590. type: integer
  20591. produces:
  20592. - application/json
  20593. responses:
  20594. "200":
  20595. description: OK
  20596. schema:
  20597. items:
  20598. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  20599. type: array
  20600. "500":
  20601. description: Internal Server Error
  20602. schema:
  20603. $ref: '#/definitions/app.Response'
  20604. security:
  20605. - ApiKeyAuth: []
  20606. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  20607. tags:
  20608. - 企业风险管理(app)
  20609. /Ermcp/QueryPendingAuditInfo:
  20610. get:
  20611. parameters:
  20612. - description: 用户ID
  20613. in: query
  20614. name: UserId
  20615. required: true
  20616. type: integer
  20617. produces:
  20618. - application/json
  20619. responses:
  20620. "200":
  20621. description: OK
  20622. schema:
  20623. items:
  20624. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  20625. type: array
  20626. "500":
  20627. description: Internal Server Error
  20628. schema:
  20629. $ref: '#/definitions/app.Response'
  20630. security:
  20631. - ApiKeyAuth: []
  20632. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  20633. tags:
  20634. - 企业风险管理(app)
  20635. /Ermcp/QueryRealtimeExposure:
  20636. get:
  20637. parameters:
  20638. - description: 所属机构ID
  20639. in: query
  20640. name: userid
  20641. required: true
  20642. type: integer
  20643. produces:
  20644. - application/json
  20645. responses:
  20646. "200":
  20647. description: OK
  20648. schema:
  20649. items:
  20650. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  20651. type: array
  20652. "500":
  20653. description: Internal Server Error
  20654. schema:
  20655. $ref: '#/definitions/app.Response'
  20656. security:
  20657. - ApiKeyAuth: []
  20658. summary: 查询实时敞口
  20659. tags:
  20660. - 企业风险管理(app)
  20661. /Ermcp/QueryRealtimeExposurePosition:
  20662. get:
  20663. parameters:
  20664. - description: 用户id
  20665. in: query
  20666. name: userid
  20667. required: true
  20668. type: integer
  20669. - description: 套保商品ID
  20670. in: query
  20671. name: middleGoodsId
  20672. required: true
  20673. type: integer
  20674. produces:
  20675. - application/json
  20676. responses:
  20677. "200":
  20678. description: OK
  20679. schema:
  20680. items:
  20681. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  20682. type: array
  20683. "500":
  20684. description: Internal Server Error
  20685. schema:
  20686. $ref: '#/definitions/app.Response'
  20687. security:
  20688. - ApiKeyAuth: []
  20689. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  20690. tags:
  20691. - 企业风险管理(app)
  20692. /Ermcp/QueryRoleMenu:
  20693. get:
  20694. parameters:
  20695. - description: 登录ID
  20696. in: query
  20697. name: loginid
  20698. required: true
  20699. type: integer
  20700. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  20701. in: query
  20702. name: menutype
  20703. type: integer
  20704. produces:
  20705. - application/json
  20706. responses:
  20707. "200":
  20708. description: OK
  20709. schema:
  20710. items:
  20711. $ref: '#/definitions/models.RoleMenu'
  20712. type: array
  20713. "500":
  20714. description: Internal Server Error
  20715. schema:
  20716. $ref: '#/definitions/app.Response'
  20717. security:
  20718. - ApiKeyAuth: []
  20719. summary: 查询角色菜单和权限
  20720. tags:
  20721. - 企业风险管理(app)
  20722. /Ermcp/QueryTradeConfigTMP:
  20723. get:
  20724. parameters:
  20725. - description: 所属机构id
  20726. in: query
  20727. name: areauserid
  20728. type: integer
  20729. produces:
  20730. - application/json
  20731. responses:
  20732. "200":
  20733. description: OK
  20734. schema:
  20735. items:
  20736. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  20737. type: array
  20738. "500":
  20739. description: Internal Server Error
  20740. schema:
  20741. $ref: '#/definitions/app.Response'
  20742. security:
  20743. - ApiKeyAuth: []
  20744. summary: 查询交易模板配置
  20745. tags:
  20746. - 企业风险管理(app)
  20747. /Ermcp/QueryUserInfo:
  20748. get:
  20749. parameters:
  20750. - description: 所属机构用户ID
  20751. in: query
  20752. name: MemberUserID
  20753. required: true
  20754. type: integer
  20755. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  20756. in: query
  20757. name: queryType
  20758. required: true
  20759. type: integer
  20760. produces:
  20761. - application/json
  20762. responses:
  20763. "200":
  20764. description: OK
  20765. schema:
  20766. items:
  20767. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  20768. type: array
  20769. "500":
  20770. description: Internal Server Error
  20771. schema:
  20772. $ref: '#/definitions/app.Response'
  20773. security:
  20774. - ApiKeyAuth: []
  20775. summary: 查询客户资料
  20776. tags:
  20777. - 企业风险管理(app)
  20778. /Ermcp/QueryWarehouseInfo:
  20779. get:
  20780. parameters:
  20781. - description: 用户ID
  20782. in: query
  20783. name: userid
  20784. required: true
  20785. type: integer
  20786. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  20787. in: query
  20788. name: status
  20789. type: string
  20790. produces:
  20791. - application/json
  20792. responses:
  20793. "200":
  20794. description: OK
  20795. schema:
  20796. items:
  20797. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  20798. type: array
  20799. "500":
  20800. description: Internal Server Error
  20801. schema:
  20802. $ref: '#/definitions/app.Response'
  20803. security:
  20804. - ApiKeyAuth: []
  20805. summary: 查询仓库信息
  20806. tags:
  20807. - 企业风险管理(app)
  20808. /Ermcp3/QryAreaExpourseContractDetail:
  20809. get:
  20810. parameters:
  20811. - description: 用户ID
  20812. in: query
  20813. name: userid
  20814. required: true
  20815. type: integer
  20816. - description: 套保商品id
  20817. in: query
  20818. name: middlegoodsid
  20819. required: true
  20820. type: integer
  20821. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20822. in: query
  20823. name: cycletype
  20824. required: true
  20825. type: integer
  20826. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20827. in: query
  20828. name: cycletime
  20829. required: true
  20830. type: string
  20831. produces:
  20832. - application/json
  20833. responses:
  20834. "200":
  20835. description: OK
  20836. schema:
  20837. items:
  20838. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  20839. type: array
  20840. "500":
  20841. description: Internal Server Error
  20842. schema:
  20843. $ref: '#/definitions/app.Response'
  20844. security:
  20845. - ApiKeyAuth: []
  20846. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  20847. tags:
  20848. - 企业风险管理v3(app)
  20849. /Ermcp3/QryAreaExpourseFutuDetail:
  20850. get:
  20851. parameters:
  20852. - description: 用户ID
  20853. in: query
  20854. name: userid
  20855. required: true
  20856. type: integer
  20857. - description: 套保商品id
  20858. in: query
  20859. name: middlegoodsid
  20860. required: true
  20861. type: integer
  20862. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20863. in: query
  20864. name: cycletype
  20865. required: true
  20866. type: integer
  20867. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20868. in: query
  20869. name: cycletime
  20870. required: true
  20871. type: string
  20872. produces:
  20873. - application/json
  20874. responses:
  20875. "200":
  20876. description: OK
  20877. schema:
  20878. items:
  20879. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  20880. type: array
  20881. "500":
  20882. description: Internal Server Error
  20883. schema:
  20884. $ref: '#/definitions/app.Response'
  20885. security:
  20886. - ApiKeyAuth: []
  20887. summary: 查询敞口期货明细(敞口报表/期货明细)
  20888. tags:
  20889. - 企业风险管理v3(app)
  20890. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  20891. get:
  20892. parameters:
  20893. - description: 用户ID
  20894. in: query
  20895. name: userid
  20896. required: true
  20897. type: integer
  20898. - description: 套保商品id
  20899. in: query
  20900. name: middlegoodsid
  20901. required: true
  20902. type: integer
  20903. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20904. in: query
  20905. name: cycletype
  20906. required: true
  20907. type: integer
  20908. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20909. in: query
  20910. name: cycletime
  20911. required: true
  20912. type: string
  20913. produces:
  20914. - application/json
  20915. responses:
  20916. "200":
  20917. description: OK
  20918. schema:
  20919. items:
  20920. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  20921. type: array
  20922. "500":
  20923. description: Internal Server Error
  20924. schema:
  20925. $ref: '#/definitions/app.Response'
  20926. security:
  20927. - ApiKeyAuth: []
  20928. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  20929. tags:
  20930. - 企业风险管理v3(app)
  20931. /Ermcp3/QryAreaExpourseParamChLogDetail:
  20932. get:
  20933. parameters:
  20934. - description: 用户ID
  20935. in: query
  20936. name: userid
  20937. required: true
  20938. type: integer
  20939. - description: 套保商品id
  20940. in: query
  20941. name: middlegoodsid
  20942. required: true
  20943. type: integer
  20944. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20945. in: query
  20946. name: cycletype
  20947. required: true
  20948. type: integer
  20949. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20950. in: query
  20951. name: cycletime
  20952. required: true
  20953. type: string
  20954. produces:
  20955. - application/json
  20956. responses:
  20957. "200":
  20958. description: OK
  20959. schema:
  20960. items:
  20961. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  20962. type: array
  20963. "500":
  20964. description: Internal Server Error
  20965. schema:
  20966. $ref: '#/definitions/app.Response'
  20967. security:
  20968. - ApiKeyAuth: []
  20969. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  20970. tags:
  20971. - 企业风险管理v3(app)
  20972. /Ermcp3/QryAreaExpourseReport:
  20973. get:
  20974. parameters:
  20975. - description: 用户ID
  20976. in: query
  20977. name: userid
  20978. required: true
  20979. type: integer
  20980. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  20981. in: query
  20982. name: querytype
  20983. required: true
  20984. type: integer
  20985. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20986. in: query
  20987. name: cycletype
  20988. required: true
  20989. type: integer
  20990. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20991. in: query
  20992. name: cycletime
  20993. required: true
  20994. type: string
  20995. produces:
  20996. - application/json
  20997. responses:
  20998. "200":
  20999. description: OK
  21000. schema:
  21001. items:
  21002. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  21003. type: array
  21004. "500":
  21005. description: Internal Server Error
  21006. schema:
  21007. $ref: '#/definitions/app.Response'
  21008. security:
  21009. - ApiKeyAuth: []
  21010. summary: 查询敞口报表
  21011. tags:
  21012. - 企业风险管理v3(app)
  21013. /Ermcp3/QryAreaSpotplReport:
  21014. get:
  21015. parameters:
  21016. - description: 用户ID
  21017. in: query
  21018. name: userid
  21019. required: true
  21020. type: integer
  21021. - description: 查询类型 1-报表 2-报表明细
  21022. in: query
  21023. name: querytype
  21024. required: true
  21025. type: integer
  21026. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21027. in: query
  21028. name: cycletype
  21029. required: true
  21030. type: integer
  21031. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21032. in: query
  21033. name: cycletime
  21034. required: true
  21035. type: string
  21036. - description: 现货品种id(明细必填)
  21037. in: query
  21038. name: deliverygoodsid
  21039. type: integer
  21040. - description: 币种id(明细必填)
  21041. in: query
  21042. name: currencyid
  21043. type: integer
  21044. produces:
  21045. - application/json
  21046. responses:
  21047. "200":
  21048. description: OK
  21049. schema:
  21050. items:
  21051. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  21052. type: array
  21053. "500":
  21054. description: Internal Server Error
  21055. schema:
  21056. $ref: '#/definitions/app.Response'
  21057. security:
  21058. - ApiKeyAuth: []
  21059. summary: 查询现货报表
  21060. tags:
  21061. - 企业风险管理v3(app)
  21062. /Ermcp3/QryAreaStockReport:
  21063. get:
  21064. parameters:
  21065. - description: 用户ID
  21066. in: query
  21067. name: userid
  21068. required: true
  21069. type: integer
  21070. - description: 查询类型 1-报表 2-报表明细
  21071. in: query
  21072. name: querytype
  21073. required: true
  21074. type: integer
  21075. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21076. in: query
  21077. name: cycletype
  21078. required: true
  21079. type: integer
  21080. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21081. in: query
  21082. name: cycletime
  21083. required: true
  21084. type: string
  21085. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  21086. in: query
  21087. name: sumfields
  21088. type: string
  21089. - description: 品种ID
  21090. in: query
  21091. name: deliverygoodsid
  21092. type: integer
  21093. - description: 品类ID
  21094. in: query
  21095. name: wrstandardid
  21096. type: integer
  21097. - description: 品牌ID
  21098. in: query
  21099. name: spotgoodsbrandid
  21100. type: integer
  21101. - description: 仓库ID
  21102. in: query
  21103. name: warehouseinfoid
  21104. type: integer
  21105. produces:
  21106. - application/json
  21107. responses:
  21108. "200":
  21109. description: OK
  21110. schema:
  21111. items:
  21112. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  21113. type: array
  21114. "500":
  21115. description: Internal Server Error
  21116. schema:
  21117. $ref: '#/definitions/app.Response'
  21118. security:
  21119. - ApiKeyAuth: []
  21120. summary: 查询库存报表
  21121. tags:
  21122. - 企业风险管理v3(app)
  21123. /Ermcp3/QryAreaSumPL:
  21124. get:
  21125. parameters:
  21126. - description: 用户ID
  21127. in: query
  21128. name: userid
  21129. required: true
  21130. type: integer
  21131. - description: 查询类型 1-报表 2-报表明细
  21132. in: query
  21133. name: querytype
  21134. required: true
  21135. type: integer
  21136. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21137. in: query
  21138. name: cycletype
  21139. required: true
  21140. type: integer
  21141. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21142. in: query
  21143. name: cycletime
  21144. required: true
  21145. type: string
  21146. - description: 币种id(明细必填)
  21147. in: query
  21148. name: currencyid
  21149. type: integer
  21150. produces:
  21151. - application/json
  21152. responses:
  21153. "200":
  21154. description: OK
  21155. schema:
  21156. items:
  21157. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  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. - 企业风险管理v3(app)
  21168. /Ermcp3/QryFinanceReport:
  21169. get:
  21170. parameters:
  21171. - description: 用户ID
  21172. in: query
  21173. name: userid
  21174. required: true
  21175. type: integer
  21176. - description: 查询类型 1-报表 2-报表明细
  21177. in: query
  21178. name: querytype
  21179. required: true
  21180. type: integer
  21181. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21182. in: query
  21183. name: cycletype
  21184. required: true
  21185. type: integer
  21186. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21187. in: query
  21188. name: cycletime
  21189. required: true
  21190. type: string
  21191. - description: 币种id(报表明细必填)
  21192. in: query
  21193. name: currencyid
  21194. type: integer
  21195. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  21196. in: query
  21197. name: sumfields
  21198. type: string
  21199. produces:
  21200. - application/json
  21201. responses:
  21202. "200":
  21203. description: OK
  21204. schema:
  21205. items:
  21206. $ref: '#/definitions/models.Ermcp3FinanceReport'
  21207. type: array
  21208. "500":
  21209. description: Internal Server Error
  21210. schema:
  21211. $ref: '#/definitions/app.Response'
  21212. security:
  21213. - ApiKeyAuth: []
  21214. summary: 查询财务报表
  21215. tags:
  21216. - 企业风险管理v3(app)
  21217. /Ermcp3/QrySCMiddleGoodsReport:
  21218. get:
  21219. parameters:
  21220. - description: 用户ID
  21221. in: query
  21222. name: userid
  21223. required: true
  21224. type: integer
  21225. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21226. in: query
  21227. name: cycletype
  21228. required: true
  21229. type: integer
  21230. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21231. in: query
  21232. name: cycletime
  21233. required: true
  21234. type: string
  21235. - description: 合同id
  21236. in: query
  21237. name: spotcontractid
  21238. type: integer
  21239. - description: 套保品种id
  21240. in: query
  21241. name: middlegoodsid
  21242. type: integer
  21243. - description: 现货品种id
  21244. in: query
  21245. name: deliverygoodsid
  21246. type: integer
  21247. - description: 现货商品id
  21248. in: query
  21249. name: wrstandardid
  21250. type: integer
  21251. - description: 合同编号(模糊匹配)
  21252. in: query
  21253. name: contractno
  21254. type: string
  21255. produces:
  21256. - application/json
  21257. responses:
  21258. "200":
  21259. description: OK
  21260. schema:
  21261. items:
  21262. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  21263. type: array
  21264. "500":
  21265. description: Internal Server Error
  21266. schema:
  21267. $ref: '#/definitions/app.Response'
  21268. security:
  21269. - ApiKeyAuth: []
  21270. summary: 查询定价报表
  21271. tags:
  21272. - 企业风险管理v3(app)
  21273. /Ermcp3/QryTaFutureDataReport:
  21274. get:
  21275. parameters:
  21276. - description: 用户ID
  21277. in: query
  21278. name: userid
  21279. required: true
  21280. type: integer
  21281. - description: 查询类型 1-报表 2-报表明细
  21282. in: query
  21283. name: querytype
  21284. required: true
  21285. type: integer
  21286. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21287. in: query
  21288. name: cycletype
  21289. required: true
  21290. type: integer
  21291. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21292. in: query
  21293. name: cycletime
  21294. required: true
  21295. type: string
  21296. - description: 币种id(查明细必填)
  21297. in: query
  21298. name: currencyid
  21299. type: integer
  21300. - description: 品种id(查明细必填)
  21301. in: query
  21302. name: goodsgroupid
  21303. type: integer
  21304. - description: 商品id(查明细必填)
  21305. in: query
  21306. name: goodsid
  21307. type: integer
  21308. - description: 买卖方向(查明细必填)
  21309. in: query
  21310. name: buyorsell
  21311. type: integer
  21312. produces:
  21313. - application/json
  21314. responses:
  21315. "200":
  21316. description: OK
  21317. schema:
  21318. items:
  21319. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  21320. type: array
  21321. "500":
  21322. description: Internal Server Error
  21323. schema:
  21324. $ref: '#/definitions/app.Response'
  21325. security:
  21326. - ApiKeyAuth: []
  21327. summary: 查询期货报表
  21328. tags:
  21329. - 企业风险管理v3(app)
  21330. /Ermcp3/QueryAreaStock:
  21331. get:
  21332. parameters:
  21333. - description: 用户ID
  21334. in: query
  21335. name: userid
  21336. required: true
  21337. type: integer
  21338. produces:
  21339. - application/json
  21340. responses:
  21341. "200":
  21342. description: OK
  21343. schema:
  21344. items:
  21345. $ref: '#/definitions/models.Ermcp3AreaStock'
  21346. type: array
  21347. "500":
  21348. description: Internal Server Error
  21349. schema:
  21350. $ref: '#/definitions/app.Response'
  21351. security:
  21352. - ApiKeyAuth: []
  21353. summary: 查询机构库存(库存管理/当前库存)
  21354. tags:
  21355. - 企业风险管理v3(app)
  21356. /Ermcp3/QueryAreaStockApply:
  21357. get:
  21358. parameters:
  21359. - description: 用户ID
  21360. in: query
  21361. name: userid
  21362. required: true
  21363. type: integer
  21364. - description: 用户类型 2-机构 7-企业成员
  21365. in: query
  21366. name: usertype
  21367. type: integer
  21368. - description: 现货商品ID
  21369. in: query
  21370. name: deliverygoodsid
  21371. type: integer
  21372. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  21373. in: query
  21374. name: inouttype
  21375. type: string
  21376. - description: 合同ID
  21377. in: query
  21378. name: spotcontractid
  21379. type: integer
  21380. - description: 品类ID
  21381. in: query
  21382. name: wrstandardid
  21383. type: integer
  21384. - description: 品牌ID
  21385. in: query
  21386. name: spotgoodsbrandid
  21387. type: integer
  21388. - description: 仓库ID
  21389. in: query
  21390. name: warehouseinfoid
  21391. type: integer
  21392. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21393. in: query
  21394. name: applystatus
  21395. type: string
  21396. produces:
  21397. - application/json
  21398. responses:
  21399. "200":
  21400. description: OK
  21401. schema:
  21402. items:
  21403. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  21404. type: array
  21405. "500":
  21406. description: Internal Server Error
  21407. schema:
  21408. $ref: '#/definitions/app.Response'
  21409. security:
  21410. - ApiKeyAuth: []
  21411. summary: 查询库存申请(出入库记录|库存审核)
  21412. tags:
  21413. - 企业风险管理v3(app)
  21414. /Ermcp3/QueryAreaStockApplySum:
  21415. get:
  21416. parameters:
  21417. - description: 合同ID
  21418. in: query
  21419. name: spotcontractid
  21420. required: true
  21421. type: integer
  21422. produces:
  21423. - application/json
  21424. responses:
  21425. "200":
  21426. description: OK
  21427. schema:
  21428. items:
  21429. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  21430. type: array
  21431. "500":
  21432. description: Internal Server Error
  21433. schema:
  21434. $ref: '#/definitions/app.Response'
  21435. security:
  21436. - ApiKeyAuth: []
  21437. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  21438. tags:
  21439. - 企业风险管理v3(app)
  21440. /Ermcp3/QueryDGFactoryItem:
  21441. get:
  21442. parameters:
  21443. - description: 用户id
  21444. in: query
  21445. name: userid
  21446. type: integer
  21447. - description: 用户类型 2-机构 7-企业成员
  21448. in: query
  21449. name: usertype
  21450. type: integer
  21451. - description: 选择项ID(SEQ_DGFACTORYITEM)
  21452. in: query
  21453. name: dgfactoryitemid
  21454. type: integer
  21455. - description: 现货品种ID
  21456. in: query
  21457. name: deliverygoodsid
  21458. type: integer
  21459. - description: 要素项类型
  21460. in: query
  21461. name: dgfactoryitemtypeid
  21462. type: integer
  21463. - description: 顺序
  21464. in: query
  21465. name: orderindex
  21466. type: integer
  21467. produces:
  21468. - application/json
  21469. responses:
  21470. "200":
  21471. description: OK
  21472. schema:
  21473. items:
  21474. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  21475. type: array
  21476. "500":
  21477. description: Internal Server Error
  21478. schema:
  21479. $ref: '#/definitions/app.Response'
  21480. security:
  21481. - ApiKeyAuth: []
  21482. summary: 查询品种要素定义项
  21483. tags:
  21484. - 企业风险管理v3(app)
  21485. /Ermcp3/QueryDeliveryGoods:
  21486. get:
  21487. parameters:
  21488. - description: 用户id
  21489. in: query
  21490. name: userid
  21491. required: true
  21492. type: integer
  21493. - description: 用户类型 2-机构 7-企业成员
  21494. in: query
  21495. name: usertype
  21496. type: integer
  21497. - description: 排除已配置的业务类型商品 1-套保 2-套利
  21498. in: query
  21499. name: excludecfg
  21500. type: integer
  21501. produces:
  21502. - application/json
  21503. responses:
  21504. "200":
  21505. description: OK
  21506. schema:
  21507. items:
  21508. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  21509. type: array
  21510. "500":
  21511. description: Internal Server Error
  21512. schema:
  21513. $ref: '#/definitions/app.Response'
  21514. security:
  21515. - ApiKeyAuth: []
  21516. summary: 查询现货商品
  21517. tags:
  21518. - 企业风险管理v3(app)
  21519. /Ermcp3/QueryDeliveryGoodsDetail:
  21520. get:
  21521. parameters:
  21522. - description: 用户id
  21523. in: query
  21524. name: userid
  21525. required: true
  21526. type: integer
  21527. - description: 用户类型 2-机构 7-企业成员
  21528. in: query
  21529. name: usertype
  21530. type: integer
  21531. - description: 现货商品id
  21532. in: query
  21533. name: deliverygoodsid
  21534. type: integer
  21535. produces:
  21536. - application/json
  21537. responses:
  21538. "200":
  21539. description: OK
  21540. schema:
  21541. items:
  21542. $ref: '#/definitions/models.XHDeliveryGoods'
  21543. type: array
  21544. "500":
  21545. description: Internal Server Error
  21546. schema:
  21547. $ref: '#/definitions/app.Response'
  21548. security:
  21549. - ApiKeyAuth: []
  21550. summary: 查询现货商品详情
  21551. tags:
  21552. - 企业风险管理v3(app)
  21553. /Ermcp3/QueryExposureDetail:
  21554. get:
  21555. parameters:
  21556. - description: 用户id
  21557. in: query
  21558. name: userid
  21559. required: true
  21560. type: integer
  21561. - description: 用户类型 2-机构 7-企业成员
  21562. in: query
  21563. name: usertype
  21564. type: integer
  21565. - description: 套保商品
  21566. in: query
  21567. name: middlegoodsid
  21568. required: true
  21569. type: integer
  21570. produces:
  21571. - application/json
  21572. responses:
  21573. "200":
  21574. description: OK
  21575. schema:
  21576. items:
  21577. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  21578. type: array
  21579. "500":
  21580. description: Internal Server Error
  21581. schema:
  21582. $ref: '#/definitions/app.Response'
  21583. security:
  21584. - ApiKeyAuth: []
  21585. summary: 查询敞口现货明细
  21586. tags:
  21587. - 企业风险管理v3(app)
  21588. /Ermcp3/QueryExposureSpot:
  21589. get:
  21590. parameters:
  21591. - description: 用户id
  21592. in: query
  21593. name: userid
  21594. required: true
  21595. type: integer
  21596. - description: 用户类型 2-机构 7-企业成员
  21597. in: query
  21598. name: usertype
  21599. type: integer
  21600. produces:
  21601. - application/json
  21602. responses:
  21603. "200":
  21604. description: OK
  21605. schema:
  21606. items:
  21607. $ref: '#/definitions/models.Ermcp3AreaSpot'
  21608. type: array
  21609. "500":
  21610. description: Internal Server Error
  21611. schema:
  21612. $ref: '#/definitions/app.Response'
  21613. security:
  21614. - ApiKeyAuth: []
  21615. summary: 查询敞口现货头寸(敞口/现货头寸)
  21616. tags:
  21617. - 企业风险管理v3(app)
  21618. /Ermcp3/QueryExposureSpotDetail:
  21619. get:
  21620. parameters:
  21621. - description: 用户id
  21622. in: query
  21623. name: userid
  21624. required: true
  21625. type: integer
  21626. - description: 用户类型 2-机构 7-企业成员
  21627. in: query
  21628. name: usertype
  21629. type: integer
  21630. - description: 现货商品ID
  21631. in: query
  21632. name: wrstandardid
  21633. required: true
  21634. type: integer
  21635. produces:
  21636. - application/json
  21637. responses:
  21638. "200":
  21639. description: OK
  21640. schema:
  21641. items:
  21642. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  21643. type: array
  21644. "500":
  21645. description: Internal Server Error
  21646. schema:
  21647. $ref: '#/definitions/app.Response'
  21648. security:
  21649. - ApiKeyAuth: []
  21650. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  21651. tags:
  21652. - 企业风险管理v3(app)
  21653. /Ermcp3/QueryGoodsGroup:
  21654. get:
  21655. parameters:
  21656. - description: 用户id
  21657. in: query
  21658. name: userid
  21659. required: true
  21660. type: integer
  21661. - description: 用户类型 2-机构 7-企业成员
  21662. in: query
  21663. name: usertype
  21664. type: integer
  21665. - description: 排除套保品中已关联的商品组 1-排除
  21666. in: query
  21667. name: excludecfg
  21668. type: integer
  21669. produces:
  21670. - application/json
  21671. responses:
  21672. "200":
  21673. description: OK
  21674. schema:
  21675. items:
  21676. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  21677. type: array
  21678. "500":
  21679. description: Internal Server Error
  21680. schema:
  21681. $ref: '#/definitions/app.Response'
  21682. security:
  21683. - ApiKeyAuth: []
  21684. summary: 查询期货商品组
  21685. tags:
  21686. - 企业风险管理v3(app)
  21687. /Ermcp3/QueryGoodsWrstandard:
  21688. get:
  21689. parameters:
  21690. - description: 用户id
  21691. in: query
  21692. name: userid
  21693. required: true
  21694. type: integer
  21695. - description: 用户类型 2-机构 7-企业成员
  21696. in: query
  21697. name: usertype
  21698. type: integer
  21699. - description: 现货商品id
  21700. in: query
  21701. name: deliverygoodsid
  21702. type: integer
  21703. produces:
  21704. - application/json
  21705. responses:
  21706. "200":
  21707. description: OK
  21708. schema:
  21709. items:
  21710. $ref: '#/definitions/models.Ermcp3Wrstandard'
  21711. type: array
  21712. "500":
  21713. description: Internal Server Error
  21714. schema:
  21715. $ref: '#/definitions/app.Response'
  21716. security:
  21717. - ApiKeyAuth: []
  21718. summary: 查询商品品类
  21719. tags:
  21720. - 企业风险管理v3(app)
  21721. /Ermcp3/QueryGoodsbrand:
  21722. get:
  21723. parameters:
  21724. - description: 用户id
  21725. in: query
  21726. name: userid
  21727. required: true
  21728. type: integer
  21729. - description: 用户类型 2-机构 7-企业成员
  21730. in: query
  21731. name: usertype
  21732. type: integer
  21733. produces:
  21734. - application/json
  21735. responses:
  21736. "200":
  21737. description: OK
  21738. schema:
  21739. items:
  21740. $ref: '#/definitions/models.Ermcp3Brand'
  21741. type: array
  21742. "500":
  21743. description: Internal Server Error
  21744. schema:
  21745. $ref: '#/definitions/app.Response'
  21746. security:
  21747. - ApiKeyAuth: []
  21748. summary: 查询商品品牌
  21749. tags:
  21750. - 企业风险管理v3(app)
  21751. /Ermcp3/QueryHedgePlan:
  21752. get:
  21753. parameters:
  21754. - description: 用户ID
  21755. in: query
  21756. name: userid
  21757. required: true
  21758. type: integer
  21759. - description: 用户类型 2-机构 7-企业成员
  21760. in: query
  21761. name: usertype
  21762. type: integer
  21763. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  21764. in: query
  21765. name: hedgeplanstatus
  21766. required: true
  21767. type: string
  21768. produces:
  21769. - application/json
  21770. responses:
  21771. "200":
  21772. description: OK
  21773. schema:
  21774. items:
  21775. $ref: '#/definitions/models.Ermcp3HedgePlan'
  21776. type: array
  21777. "500":
  21778. description: Internal Server Error
  21779. schema:
  21780. $ref: '#/definitions/app.Response'
  21781. security:
  21782. - ApiKeyAuth: []
  21783. summary: 查询套保计划
  21784. tags:
  21785. - 企业风险管理v3(app)
  21786. /Ermcp3/QueryInnerTradeLink:
  21787. get:
  21788. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  21789. parameters:
  21790. - description: 外部成交单号
  21791. in: query
  21792. name: outtradeid
  21793. required: true
  21794. type: integer
  21795. produces:
  21796. - application/json
  21797. responses:
  21798. "200":
  21799. description: OK
  21800. schema:
  21801. items:
  21802. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  21803. type: array
  21804. "500":
  21805. description: Internal Server Error
  21806. schema:
  21807. $ref: '#/definitions/app.Response'
  21808. security:
  21809. - ApiKeyAuth: []
  21810. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  21811. tags:
  21812. - 企业风险管理v3(app)
  21813. /Ermcp3/QueryMiddleGoodsDetail:
  21814. get:
  21815. parameters:
  21816. - description: 用户id
  21817. in: query
  21818. name: userid
  21819. required: true
  21820. type: integer
  21821. - description: 用户类型 2-机构 7-企业成员
  21822. in: query
  21823. name: usertype
  21824. type: integer
  21825. - description: 套保品种id
  21826. in: query
  21827. name: middlegoodsid
  21828. type: integer
  21829. produces:
  21830. - application/json
  21831. responses:
  21832. "200":
  21833. description: OK
  21834. schema:
  21835. items:
  21836. $ref: '#/definitions/models.TBMiddleGoods'
  21837. type: array
  21838. "500":
  21839. description: Internal Server Error
  21840. schema:
  21841. $ref: '#/definitions/app.Response'
  21842. security:
  21843. - ApiKeyAuth: []
  21844. summary: 查询套保品种详情(套保品种/商品详情)
  21845. tags:
  21846. - 企业风险管理v3(app)
  21847. /Ermcp3/QueryOutTradeLink:
  21848. get:
  21849. description: 页面 app 现货->期现关联->外部成交单关联
  21850. parameters:
  21851. - description: 用户ID(填登录用户的userid)
  21852. in: query
  21853. name: userid
  21854. required: true
  21855. type: integer
  21856. - description: 外部订单号(模糊匹配)
  21857. in: query
  21858. name: outtradeid
  21859. type: string
  21860. - description: 合约名称/代码(模糊匹配)
  21861. in: query
  21862. name: goodsname
  21863. type: string
  21864. - description: 关联状态 0-未关联 1-已关联
  21865. in: query
  21866. name: hasinnerorder
  21867. type: integer
  21868. produces:
  21869. - application/json
  21870. responses:
  21871. "200":
  21872. description: OK
  21873. schema:
  21874. items:
  21875. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  21876. type: array
  21877. "500":
  21878. description: Internal Server Error
  21879. schema:
  21880. $ref: '#/definitions/app.Response'
  21881. security:
  21882. - ApiKeyAuth: []
  21883. summary: 查询外部成交单关联
  21884. tags:
  21885. - 企业风险管理v3(app)
  21886. /Ermcp3/QueryPaAreaAuditCfg:
  21887. get:
  21888. parameters:
  21889. - description: 用户id
  21890. in: query
  21891. name: userid
  21892. required: true
  21893. type: integer
  21894. produces:
  21895. - application/json
  21896. responses:
  21897. "200":
  21898. description: OK
  21899. schema:
  21900. items:
  21901. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  21902. type: array
  21903. "500":
  21904. description: Internal Server Error
  21905. schema:
  21906. $ref: '#/definitions/app.Response'
  21907. security:
  21908. - ApiKeyAuth: []
  21909. summary: 查询审核设置
  21910. tags:
  21911. - 企业风险管理v3(app)
  21912. /Ermcp3/QueryPaAreaSubject:
  21913. get:
  21914. parameters:
  21915. - description: 用户id
  21916. in: query
  21917. name: userid
  21918. required: true
  21919. type: integer
  21920. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  21921. in: query
  21922. name: subjectid
  21923. type: integer
  21924. - description: 主体类型 - 1:交易主体 2:业务部门
  21925. in: query
  21926. name: subjecttype
  21927. type: integer
  21928. - description: '主体状态 - 1:正常 2: 停用'
  21929. in: query
  21930. name: subjectstatus
  21931. type: integer
  21932. produces:
  21933. - application/json
  21934. responses:
  21935. "200":
  21936. description: OK
  21937. schema:
  21938. items:
  21939. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  21940. type: array
  21941. "500":
  21942. description: Internal Server Error
  21943. schema:
  21944. $ref: '#/definitions/app.Response'
  21945. security:
  21946. - ApiKeyAuth: []
  21947. summary: 查询交易主体
  21948. tags:
  21949. - 企业风险管理v3(app)
  21950. /Ermcp3/QueryPaTradeLink:
  21951. get:
  21952. description: 页面 app 现货->期现关联->期现单据关联
  21953. parameters:
  21954. - description: 用户ID
  21955. in: query
  21956. name: userid
  21957. required: true
  21958. type: integer
  21959. produces:
  21960. - application/json
  21961. responses:
  21962. "200":
  21963. description: OK
  21964. schema:
  21965. items:
  21966. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  21967. type: array
  21968. "500":
  21969. description: Internal Server Error
  21970. schema:
  21971. $ref: '#/definitions/app.Response'
  21972. security:
  21973. - ApiKeyAuth: []
  21974. summary: 查询期现单据关联
  21975. tags:
  21976. - 企业风险管理v3(app)
  21977. /Ermcp3/QueryPaTradeLinkDetail:
  21978. get:
  21979. description: 页面 app 现货->期现关联->关联记录
  21980. parameters:
  21981. - description: 用户ID(填登录用户的userid)
  21982. in: query
  21983. name: userid
  21984. required: true
  21985. type: integer
  21986. - description: 期货订单号(模糊匹配)
  21987. in: query
  21988. name: tradeid
  21989. type: string
  21990. - description: 现货编号(模糊匹配)
  21991. in: query
  21992. name: contractno
  21993. type: string
  21994. - description: 期货账户(模糊匹配)
  21995. in: query
  21996. name: taname
  21997. type: string
  21998. produces:
  21999. - application/json
  22000. responses:
  22001. "200":
  22002. description: OK
  22003. schema:
  22004. items:
  22005. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  22006. type: array
  22007. "500":
  22008. description: Internal Server Error
  22009. schema:
  22010. $ref: '#/definitions/app.Response'
  22011. security:
  22012. - ApiKeyAuth: []
  22013. summary: 查询期现关联记录
  22014. tags:
  22015. - 企业风险管理v3(app)
  22016. /Ermcp3/QueryParamChangeApp:
  22017. get:
  22018. description: |-
  22019. 原型页面:
  22020. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  22021. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  22022. parameters:
  22023. - description: 用户ID
  22024. in: query
  22025. name: userid
  22026. required: true
  22027. type: integer
  22028. - description: 现货品种id
  22029. in: query
  22030. name: deliverygoodsid
  22031. type: integer
  22032. - description: 现货商品id
  22033. in: query
  22034. name: wrstandardid
  22035. type: integer
  22036. - description: 套保商品id
  22037. in: query
  22038. name: middlegoodsid
  22039. type: integer
  22040. - description: 操作类型 1:新增 2:修改
  22041. in: query
  22042. name: operatetype
  22043. type: integer
  22044. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  22045. in: query
  22046. name: paramchangetype
  22047. type: integer
  22048. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22049. in: query
  22050. name: ftstatus
  22051. type: string
  22052. produces:
  22053. - application/json
  22054. responses:
  22055. "200":
  22056. description: OK
  22057. schema:
  22058. items:
  22059. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  22060. type: array
  22061. "500":
  22062. description: Internal Server Error
  22063. schema:
  22064. $ref: '#/definitions/app.Response'
  22065. security:
  22066. - ApiKeyAuth: []
  22067. summary: 查询现货商品参数变更申请(流水)
  22068. tags:
  22069. - 企业风险管理v3(app)
  22070. /Ermcp3/QueryRootUserAccount:
  22071. get:
  22072. parameters:
  22073. - description: 用户ID
  22074. in: query
  22075. name: userid
  22076. required: true
  22077. type: integer
  22078. produces:
  22079. - application/json
  22080. responses:
  22081. "200":
  22082. description: OK
  22083. schema:
  22084. items:
  22085. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  22086. type: array
  22087. "500":
  22088. description: Internal Server Error
  22089. schema:
  22090. $ref: '#/definitions/app.Response'
  22091. security:
  22092. - ApiKeyAuth: []
  22093. summary: 查询顶级用户信息
  22094. tags:
  22095. - 企业风险管理v3(app)
  22096. /Ermcp3/QuerySCMiddleGoods:
  22097. get:
  22098. description: |-
  22099. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  22100. 现货编号 即 合同编号
  22101. parameters:
  22102. - description: 用户ID(填登录用户的userid)
  22103. in: query
  22104. name: userid
  22105. required: true
  22106. type: integer
  22107. - description: 买卖方向 0-买 1-卖
  22108. in: query
  22109. name: buyorsell
  22110. required: true
  22111. type: integer
  22112. - description: 商品组id
  22113. in: query
  22114. name: goodsgroupid
  22115. required: true
  22116. type: integer
  22117. - description: 业务类型 1:套保 2:套利
  22118. in: query
  22119. name: biztype
  22120. type: integer
  22121. - description: 现货编号(模糊匹配)
  22122. in: query
  22123. name: contractno
  22124. type: string
  22125. - description: 对手方(模糊匹配)
  22126. in: query
  22127. name: customername
  22128. type: string
  22129. - description: 现货商品名称(模糊匹配)
  22130. in: query
  22131. name: wrstandardname
  22132. type: string
  22133. produces:
  22134. - application/json
  22135. responses:
  22136. "200":
  22137. description: OK
  22138. schema:
  22139. items:
  22140. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  22141. type: array
  22142. "500":
  22143. description: Internal Server Error
  22144. schema:
  22145. $ref: '#/definitions/app.Response'
  22146. security:
  22147. - ApiKeyAuth: []
  22148. summary: 查询现货订单
  22149. tags:
  22150. - 企业风险管理v3(app)
  22151. /Ermcp3/QuerySpotContract:
  22152. get:
  22153. parameters:
  22154. - description: 用户id(当指定contractid, userid可不填)
  22155. in: query
  22156. name: userid
  22157. required: true
  22158. type: integer
  22159. - description: 用户类型 2-机构 7-企业成员
  22160. in: query
  22161. name: usertype
  22162. type: integer
  22163. - description: 合同类型 1-采购, -1-销售
  22164. in: query
  22165. name: contracttype
  22166. type: integer
  22167. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  22168. in: query
  22169. name: querytype
  22170. type: integer
  22171. - description: 合同ID(SpotContractId)
  22172. in: query
  22173. name: contractid
  22174. type: string
  22175. - description: 合同编号(模糊匹配)
  22176. in: query
  22177. name: contractno
  22178. type: string
  22179. - description: 商品名称(模糊匹配)
  22180. in: query
  22181. name: wrstandardname
  22182. type: string
  22183. produces:
  22184. - application/json
  22185. responses:
  22186. "200":
  22187. description: OK
  22188. schema:
  22189. items:
  22190. $ref: '#/definitions/models.Ermcp3Contract'
  22191. type: array
  22192. "500":
  22193. description: Internal Server Error
  22194. schema:
  22195. $ref: '#/definitions/app.Response'
  22196. security:
  22197. - ApiKeyAuth: []
  22198. summary: 查询现货合同
  22199. tags:
  22200. - 企业风险管理v3(app)
  22201. /Ermcp3/QuerySpotContractBS:
  22202. get:
  22203. parameters:
  22204. - description: 用户id
  22205. in: query
  22206. name: userid
  22207. required: true
  22208. type: integer
  22209. - description: 用户类型 2-机构 7-企业成员
  22210. in: query
  22211. name: usertype
  22212. type: integer
  22213. - description: 合同类型 1-采购, -1-销售
  22214. in: query
  22215. name: contracttype
  22216. required: true
  22217. type: integer
  22218. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  22219. in: query
  22220. name: querytype
  22221. required: true
  22222. type: integer
  22223. - description: 合同ID(SpotContractId)
  22224. in: query
  22225. name: contractid
  22226. type: string
  22227. produces:
  22228. - application/json
  22229. responses:
  22230. "200":
  22231. description: OK
  22232. schema:
  22233. items:
  22234. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  22235. type: array
  22236. "500":
  22237. description: Internal Server Error
  22238. schema:
  22239. $ref: '#/definitions/app.Response'
  22240. security:
  22241. - ApiKeyAuth: []
  22242. summary: 查询合同(采购/销售)
  22243. tags:
  22244. - 企业风险管理v3(app)
  22245. /Ermcp3/QuerySpotGoodsPrice:
  22246. get:
  22247. parameters:
  22248. - description: 用户ID
  22249. in: query
  22250. name: userid
  22251. required: true
  22252. type: integer
  22253. produces:
  22254. - application/json
  22255. responses:
  22256. "200":
  22257. description: OK
  22258. schema:
  22259. items:
  22260. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  22261. type: array
  22262. "500":
  22263. description: Internal Server Error
  22264. schema:
  22265. $ref: '#/definitions/app.Response'
  22266. security:
  22267. - ApiKeyAuth: []
  22268. summary: 查询现货市价(现货市价)
  22269. tags:
  22270. - 企业风险管理v3(app)
  22271. /Ermcp3/QuerySpotGoodsPriceLog:
  22272. get:
  22273. parameters:
  22274. - description: 用户ID
  22275. in: query
  22276. name: userid
  22277. required: true
  22278. type: integer
  22279. - description: 现货商品ID
  22280. in: query
  22281. name: deliverygoodsid
  22282. required: true
  22283. type: integer
  22284. - description: 品牌ID
  22285. in: query
  22286. name: brandid
  22287. type: integer
  22288. - description: 品类ID
  22289. in: query
  22290. name: wrstandardid
  22291. type: integer
  22292. produces:
  22293. - application/json
  22294. responses:
  22295. "200":
  22296. description: OK
  22297. schema:
  22298. items:
  22299. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  22300. type: array
  22301. "500":
  22302. description: Internal Server Error
  22303. schema:
  22304. $ref: '#/definitions/app.Response'
  22305. security:
  22306. - ApiKeyAuth: []
  22307. summary: 查询现货市价详情(现货市价/详情)
  22308. tags:
  22309. - 企业风险管理v3(app)
  22310. /Ermcp3/QuerySubTaaccount:
  22311. get:
  22312. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  22313. parameters:
  22314. - description: 母账号id
  22315. in: query
  22316. name: parentaccountid
  22317. type: integer
  22318. - description: 母账号代码
  22319. in: query
  22320. name: parentaccountcode
  22321. type: string
  22322. produces:
  22323. - application/json
  22324. responses:
  22325. "200":
  22326. description: OK
  22327. schema:
  22328. items:
  22329. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  22330. type: array
  22331. "500":
  22332. description: Internal Server Error
  22333. schema:
  22334. $ref: '#/definitions/app.Response'
  22335. security:
  22336. - ApiKeyAuth: []
  22337. summary: 查询期货子账户
  22338. tags:
  22339. - 企业风险管理v3(app)
  22340. /Erms2/QueryArbitrageStrategy:
  22341. get:
  22342. parameters:
  22343. - description: 账户ID
  22344. in: query
  22345. name: userid
  22346. required: true
  22347. type: integer
  22348. - description: 商品组ID(品种ID)
  22349. in: query
  22350. name: goodsgroupid
  22351. type: string
  22352. produces:
  22353. - application/json
  22354. responses:
  22355. "200":
  22356. description: OK
  22357. schema:
  22358. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  22359. "500":
  22360. description: Internal Server Error
  22361. schema:
  22362. $ref: '#/definitions/app.Response'
  22363. security:
  22364. - ApiKeyAuth: []
  22365. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  22366. tags:
  22367. - 风险管理
  22368. /Erms2/QueryInnerTradeDetail:
  22369. get:
  22370. parameters:
  22371. - description: 资金账户
  22372. in: query
  22373. name: accountid
  22374. required: true
  22375. type: integer
  22376. produces:
  22377. - application/json
  22378. responses:
  22379. "200":
  22380. description: OK
  22381. schema:
  22382. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  22383. "500":
  22384. description: Internal Server Error
  22385. schema:
  22386. $ref: '#/definitions/app.Response'
  22387. security:
  22388. - ApiKeyAuth: []
  22389. summary: 查询内部成交单信息
  22390. tags:
  22391. - 风险管理
  22392. /Erms2/QuerySpotContract:
  22393. get:
  22394. parameters:
  22395. - description: 策略申请ID
  22396. in: query
  22397. name: asapplyid
  22398. required: true
  22399. type: integer
  22400. - description: 现货合同ID
  22401. in: query
  22402. name: spotcontractid
  22403. type: integer
  22404. produces:
  22405. - application/json
  22406. responses:
  22407. "200":
  22408. description: OK
  22409. schema:
  22410. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  22411. "500":
  22412. description: Internal Server Error
  22413. schema:
  22414. $ref: '#/definitions/app.Response'
  22415. security:
  22416. - ApiKeyAuth: []
  22417. summary: 查询现货合同表信息(指定策略ID、未结束的)
  22418. tags:
  22419. - 风险管理
  22420. /Erms3/AddErms2ASApply:
  22421. post:
  22422. parameters:
  22423. - description: 申请参数
  22424. in: body
  22425. name: jsonBody
  22426. required: true
  22427. schema:
  22428. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  22429. produces:
  22430. - application/json
  22431. responses:
  22432. "200":
  22433. description: OK
  22434. schema:
  22435. $ref: '#/definitions/app.Response'
  22436. "500":
  22437. description: Internal Server Error
  22438. schema:
  22439. $ref: '#/definitions/app.Response'
  22440. security:
  22441. - ApiKeyAuth: []
  22442. summary: 新增期现套利业务申请
  22443. tags:
  22444. - 风险管理v3
  22445. /Erms3/AddErms2SpotTradeApply:
  22446. post:
  22447. parameters:
  22448. - description: 申请参数
  22449. in: body
  22450. name: jsonBody
  22451. required: true
  22452. schema:
  22453. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  22454. produces:
  22455. - application/json
  22456. responses:
  22457. "200":
  22458. description: OK
  22459. schema:
  22460. $ref: '#/definitions/app.Response'
  22461. "500":
  22462. description: Internal Server Error
  22463. schema:
  22464. $ref: '#/definitions/app.Response'
  22465. security:
  22466. - ApiKeyAuth: []
  22467. summary: 新增现货贸易业务申请
  22468. tags:
  22469. - 风险管理v3
  22470. /Erms3/AddSpotContractApply:
  22471. post:
  22472. parameters:
  22473. - description: 申请参数
  22474. in: body
  22475. name: jsonBody
  22476. required: true
  22477. schema:
  22478. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  22479. produces:
  22480. - application/json
  22481. responses:
  22482. "200":
  22483. description: OK
  22484. schema:
  22485. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  22486. "500":
  22487. description: Internal Server Error
  22488. schema:
  22489. $ref: '#/definitions/app.Response'
  22490. security:
  22491. - ApiKeyAuth: []
  22492. summary: 新增现货合同申请
  22493. tags:
  22494. - 风险管理v3
  22495. /Erms3/AddUserInfoApply:
  22496. post:
  22497. parameters:
  22498. - description: 用户信息
  22499. in: body
  22500. name: jsonBody
  22501. required: true
  22502. schema:
  22503. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  22504. produces:
  22505. - application/json
  22506. responses:
  22507. "200":
  22508. description: OK
  22509. schema:
  22510. $ref: '#/definitions/app.Response'
  22511. "500":
  22512. description: Internal Server Error
  22513. schema:
  22514. $ref: '#/definitions/app.Response'
  22515. security:
  22516. - ApiKeyAuth: []
  22517. summary: 新增客户申请
  22518. tags:
  22519. - 风险管理v3
  22520. /Erms3/DeleteUserInfoApply:
  22521. get:
  22522. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  22523. parameters:
  22524. - description: 用户ID
  22525. in: query
  22526. name: userID
  22527. required: true
  22528. type: integer
  22529. produces:
  22530. - application/json
  22531. responses:
  22532. "200":
  22533. description: OK
  22534. schema:
  22535. $ref: '#/definitions/app.Response'
  22536. "500":
  22537. description: Internal Server Error
  22538. schema:
  22539. $ref: '#/definitions/app.Response'
  22540. security:
  22541. - ApiKeyAuth: []
  22542. summary: 删除客户申请
  22543. tags:
  22544. - 风险管理v3
  22545. /Erms3/ModifyUserInfoApply:
  22546. post:
  22547. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid": int, "userstate": 2 }'
  22548. parameters:
  22549. - description: 用户信息
  22550. in: body
  22551. name: jsonBody
  22552. required: true
  22553. schema:
  22554. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  22555. produces:
  22556. - application/json
  22557. responses:
  22558. "200":
  22559. description: OK
  22560. schema:
  22561. $ref: '#/definitions/app.Response'
  22562. "500":
  22563. description: Internal Server Error
  22564. schema:
  22565. $ref: '#/definitions/app.Response'
  22566. security:
  22567. - ApiKeyAuth: []
  22568. summary: 修改客户申请
  22569. tags:
  22570. - 风险管理v3
  22571. /Erms3/QueryBusinessInfo:
  22572. get:
  22573. parameters:
  22574. - description: 资金账号ID列表,用逗号分隔
  22575. in: query
  22576. name: accountids
  22577. required: true
  22578. type: string
  22579. - description: 状态,0为未结束 1为已结束
  22580. in: query
  22581. name: status
  22582. required: true
  22583. type: integer
  22584. produces:
  22585. - application/json
  22586. responses:
  22587. "200":
  22588. description: OK
  22589. schema:
  22590. items:
  22591. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  22592. type: array
  22593. "500":
  22594. description: Internal Server Error
  22595. schema:
  22596. $ref: '#/definitions/app.Response'
  22597. security:
  22598. - ApiKeyAuth: []
  22599. summary: 查询业务表单数据
  22600. tags:
  22601. - 风险管理v3
  22602. /Erms3/QueryPendingAuditContract:
  22603. get:
  22604. parameters:
  22605. - description: 资金账号ID列表,逗号隔开
  22606. in: query
  22607. name: accountids
  22608. required: true
  22609. type: string
  22610. - description: 合同类型 1-采购 -1-销售
  22611. in: query
  22612. name: contracttype
  22613. required: true
  22614. type: integer
  22615. - description: 合同模式 1-普通 2-回购
  22616. in: query
  22617. name: contractmode
  22618. required: true
  22619. type: integer
  22620. produces:
  22621. - application/json
  22622. responses:
  22623. "200":
  22624. description: OK
  22625. schema:
  22626. items:
  22627. $ref: '#/definitions/erms3.QryAuditContractRsp'
  22628. type: array
  22629. "500":
  22630. description: Internal Server Error
  22631. schema:
  22632. $ref: '#/definitions/app.Response'
  22633. security:
  22634. - ApiKeyAuth: []
  22635. summary: 查询待审核合同
  22636. tags:
  22637. - 风险管理v3
  22638. /Erms3/QueryPendingBusiness:
  22639. get:
  22640. parameters:
  22641. - description: 资金账号ID列表,逗号隔开
  22642. in: query
  22643. name: accountids
  22644. required: true
  22645. type: string
  22646. produces:
  22647. - application/json
  22648. responses:
  22649. "200":
  22650. description: OK
  22651. schema:
  22652. items:
  22653. $ref: '#/definitions/erms3.QryPendingBizRsp'
  22654. type: array
  22655. "500":
  22656. description: Internal Server Error
  22657. schema:
  22658. $ref: '#/definitions/app.Response'
  22659. security:
  22660. - ApiKeyAuth: []
  22661. summary: 查询待审核基差贸易业务
  22662. tags:
  22663. - 风险管理v3
  22664. /Erms3/QuerySpotContractAppleForm:
  22665. get:
  22666. parameters:
  22667. - description: 登录账号
  22668. in: query
  22669. name: loginID
  22670. required: true
  22671. type: integer
  22672. produces:
  22673. - application/json
  22674. responses:
  22675. "200":
  22676. description: OK
  22677. schema:
  22678. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  22679. "500":
  22680. description: Internal Server Error
  22681. schema:
  22682. $ref: '#/definitions/app.Response'
  22683. security:
  22684. - ApiKeyAuth: []
  22685. summary: 查询合同申请表单数据
  22686. tags:
  22687. - 风险管理v3
  22688. /Erms3/QuerySpotContractDetail:
  22689. get:
  22690. parameters:
  22691. - description: 资金账号ID列表,用逗号分隔
  22692. in: query
  22693. name: accountids
  22694. required: true
  22695. type: string
  22696. - description: 合同类型,1为采购合同 -1为销售合同
  22697. in: query
  22698. name: contracttype
  22699. required: true
  22700. type: integer
  22701. - description: 合同模式,1为普通合同 2为回购销售合同
  22702. in: query
  22703. name: contractmode
  22704. required: true
  22705. type: integer
  22706. - description: 状态,0为履约中 1为已完成
  22707. in: query
  22708. name: status
  22709. required: true
  22710. type: integer
  22711. produces:
  22712. - application/json
  22713. responses:
  22714. "200":
  22715. description: OK
  22716. schema:
  22717. items:
  22718. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  22719. type: array
  22720. "500":
  22721. description: Internal Server Error
  22722. schema:
  22723. $ref: '#/definitions/app.Response'
  22724. security:
  22725. - ApiKeyAuth: []
  22726. summary: 查询合同详细信息
  22727. tags:
  22728. - 风险管理v3
  22729. /Erms3/QueryUserInfoApplies:
  22730. get:
  22731. parameters:
  22732. - description: 页码
  22733. in: query
  22734. name: page
  22735. type: integer
  22736. - description: 每页条数
  22737. in: query
  22738. name: pagesize
  22739. type: integer
  22740. - description: 客户名称,支持模糊查询
  22741. in: query
  22742. name: userName
  22743. type: string
  22744. produces:
  22745. - application/json
  22746. responses:
  22747. "200":
  22748. description: OK
  22749. schema:
  22750. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  22751. "500":
  22752. description: Internal Server Error
  22753. schema:
  22754. $ref: '#/definitions/app.Response'
  22755. security:
  22756. - ApiKeyAuth: []
  22757. summary: 客户申请信息查询
  22758. tags:
  22759. - 风险管理v3
  22760. /Erms3/QueryUserInfos:
  22761. get:
  22762. parameters:
  22763. - description: 页码
  22764. in: query
  22765. name: page
  22766. type: integer
  22767. - description: 每页条数
  22768. in: query
  22769. name: pagesize
  22770. type: integer
  22771. - description: 客户名称,支持模糊查询
  22772. in: query
  22773. name: userName
  22774. type: string
  22775. produces:
  22776. - application/json
  22777. responses:
  22778. "200":
  22779. description: OK
  22780. schema:
  22781. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  22782. "500":
  22783. description: Internal Server Error
  22784. schema:
  22785. $ref: '#/definitions/app.Response'
  22786. security:
  22787. - ApiKeyAuth: []
  22788. summary: 客户信息查询
  22789. tags:
  22790. - 风险管理v3
  22791. /HSBY/GetHsbyMyCount:
  22792. get:
  22793. description: 说明: 不包括已完成的数量。
  22794. parameters:
  22795. - description: 资金账户列表,格式:1,2,3
  22796. in: query
  22797. name: accountIDs
  22798. required: true
  22799. type: string
  22800. produces:
  22801. - application/json
  22802. responses:
  22803. "200":
  22804. description: OK
  22805. schema:
  22806. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  22807. "500":
  22808. description: Internal Server Error
  22809. schema:
  22810. $ref: '#/definitions/app.Response'
  22811. security:
  22812. - ApiKeyAuth: []
  22813. summary: 获取我的订单与包裹数量
  22814. tags:
  22815. - 定制【海商报业】
  22816. /HSBY/QueryClientFixedADConfigs:
  22817. get:
  22818. produces:
  22819. - application/json
  22820. responses:
  22821. "200":
  22822. description: OK
  22823. schema:
  22824. $ref: '#/definitions/models.Clientfixedadconfig'
  22825. "500":
  22826. description: Internal Server Error
  22827. schema:
  22828. $ref: '#/definitions/app.Response'
  22829. security:
  22830. - ApiKeyAuth: []
  22831. summary: 获取终端固定广告配置
  22832. tags:
  22833. - 定制【海商报业】
  22834. /HSBY/QueryHsbyBuyMyTradeDetail:
  22835. get:
  22836. parameters:
  22837. - description: 页码
  22838. in: query
  22839. name: page
  22840. type: integer
  22841. - description: 每页条数
  22842. in: query
  22843. name: pagesize
  22844. type: integer
  22845. - description: 资金账户列表,格式:1,2,3
  22846. in: query
  22847. name: accountIDs
  22848. required: true
  22849. type: string
  22850. produces:
  22851. - application/json
  22852. responses:
  22853. "200":
  22854. description: OK
  22855. schema:
  22856. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  22857. "500":
  22858. description: Internal Server Error
  22859. schema:
  22860. $ref: '#/definitions/app.Response'
  22861. security:
  22862. - ApiKeyAuth: []
  22863. summary: 查询"我的订单 - 已完成"单据信息
  22864. tags:
  22865. - 定制【海商报业】
  22866. /HSBY/QueryHsbyGoodsOrderDetails:
  22867. get:
  22868. description: 说明:查询结果已按委托价格和委托时间排序
  22869. parameters:
  22870. - description: 商品ID
  22871. in: query
  22872. name: goodsID
  22873. required: true
  22874. type: integer
  22875. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  22876. in: query
  22877. name: accountIDs
  22878. type: string
  22879. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  22880. in: query
  22881. name: buyOrSell
  22882. type: integer
  22883. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  22884. in: query
  22885. name: price
  22886. type: number
  22887. - description: 档位,不传则默认为3档
  22888. in: query
  22889. name: speed
  22890. type: integer
  22891. produces:
  22892. - application/json
  22893. responses:
  22894. "200":
  22895. description: OK
  22896. schema:
  22897. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  22898. "500":
  22899. description: Internal Server Error
  22900. schema:
  22901. $ref: '#/definitions/app.Response'
  22902. security:
  22903. - ApiKeyAuth: []
  22904. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  22905. tags:
  22906. - 定制【海商报业】
  22907. /HSBY/QueryHsbyListingGoodsDetail:
  22908. get:
  22909. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  22910. parameters:
  22911. - description: 商品ID
  22912. in: query
  22913. name: goodsID
  22914. required: true
  22915. type: integer
  22916. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  22917. in: query
  22918. name: accountID
  22919. type: integer
  22920. produces:
  22921. - application/json
  22922. responses:
  22923. "200":
  22924. description: OK
  22925. schema:
  22926. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  22927. "500":
  22928. description: Internal Server Error
  22929. schema:
  22930. $ref: '#/definitions/app.Response'
  22931. security:
  22932. - ApiKeyAuth: []
  22933. summary: 查询二级市场(挂牌点选)商品信息详情
  22934. tags:
  22935. - 定制【海商报业】
  22936. /HSBY/QueryHsbyMarketGoodsDetail:
  22937. get:
  22938. parameters:
  22939. - description: 委托单号
  22940. in: query
  22941. name: orderID
  22942. required: true
  22943. type: integer
  22944. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  22945. in: query
  22946. name: accountID
  22947. type: integer
  22948. produces:
  22949. - application/json
  22950. responses:
  22951. "200":
  22952. description: OK
  22953. schema:
  22954. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  22955. "500":
  22956. description: Internal Server Error
  22957. schema:
  22958. $ref: '#/definitions/app.Response'
  22959. security:
  22960. - ApiKeyAuth: []
  22961. summary: 查询三级市场(商城)商品信息详情
  22962. tags:
  22963. - 定制【海商报业】
  22964. /HSBY/QueryHsbyMarketGoodses:
  22965. get:
  22966. parameters:
  22967. - description: 页码
  22968. in: query
  22969. name: page
  22970. type: integer
  22971. - description: 每页条数
  22972. in: query
  22973. name: pagesize
  22974. type: integer
  22975. - description: 市场ID列表,格式:1,2,3
  22976. in: query
  22977. name: marketIDs
  22978. required: true
  22979. type: string
  22980. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  22981. in: query
  22982. name: accountID
  22983. required: true
  22984. type: integer
  22985. - description: 类别ID
  22986. in: query
  22987. name: categoryID
  22988. type: integer
  22989. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  22990. in: query
  22991. name: goodsIDs
  22992. type: string
  22993. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  22994. in: query
  22995. name: couponTypeID
  22996. type: integer
  22997. produces:
  22998. - application/json
  22999. responses:
  23000. "200":
  23001. description: OK
  23002. schema:
  23003. $ref: '#/definitions/models.HsbyMarketGoods'
  23004. "500":
  23005. description: Internal Server Error
  23006. schema:
  23007. $ref: '#/definitions/app.Response'
  23008. security:
  23009. - ApiKeyAuth: []
  23010. summary: 查询特卖商品列表(三级商城)
  23011. tags:
  23012. - 定制【海商报业】
  23013. /HSBY/QueryHsbyMarkets:
  23014. get:
  23015. produces:
  23016. - application/json
  23017. responses:
  23018. "200":
  23019. description: OK
  23020. schema:
  23021. $ref: '#/definitions/models.HsbyMarketInfo'
  23022. "500":
  23023. description: Internal Server Error
  23024. schema:
  23025. $ref: '#/definitions/app.Response'
  23026. security:
  23027. - ApiKeyAuth: []
  23028. summary: 查询海商报业相关市场信息
  23029. tags:
  23030. - 定制【海商报业】
  23031. /HSBY/QueryHsbyMyBuyOrderDetails:
  23032. get:
  23033. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  23034. parameters:
  23035. - description: 资金账户列表,格式:1,2,3
  23036. in: query
  23037. name: accountIDs
  23038. required: true
  23039. type: string
  23040. produces:
  23041. - application/json
  23042. responses:
  23043. "200":
  23044. description: OK
  23045. schema:
  23046. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  23047. "500":
  23048. description: Internal Server Error
  23049. schema:
  23050. $ref: '#/definitions/app.Response'
  23051. security:
  23052. - ApiKeyAuth: []
  23053. summary: 查询“我的订单”信息
  23054. tags:
  23055. - 定制【海商报业】
  23056. /HSBY/QueryHsbyMyGoods:
  23057. get:
  23058. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  23059. parameters:
  23060. - description: 资金账户列表,格式:1,2,3
  23061. in: query
  23062. name: accountIDs
  23063. required: true
  23064. type: string
  23065. produces:
  23066. - application/json
  23067. responses:
  23068. "200":
  23069. description: OK
  23070. schema:
  23071. $ref: '#/definitions/models.HsbyMyGoods'
  23072. "500":
  23073. description: Internal Server Error
  23074. schema:
  23075. $ref: '#/definitions/app.Response'
  23076. security:
  23077. - ApiKeyAuth: []
  23078. summary: 查询“我的商品”信息
  23079. tags:
  23080. - 定制【海商报业】
  23081. /HSBY/QueryHsbyMyPackages:
  23082. get:
  23083. parameters:
  23084. - description: 资金账户列表,格式:1,2,3
  23085. in: query
  23086. name: accountIDs
  23087. required: true
  23088. type: string
  23089. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  23090. in: query
  23091. name: takeOrderStatus
  23092. type: integer
  23093. produces:
  23094. - application/json
  23095. responses:
  23096. "200":
  23097. description: OK
  23098. schema:
  23099. $ref: '#/definitions/models.HsbyMyPackage'
  23100. "500":
  23101. description: Internal Server Error
  23102. schema:
  23103. $ref: '#/definitions/app.Response'
  23104. security:
  23105. - ApiKeyAuth: []
  23106. summary: 查询我的包裹信息
  23107. tags:
  23108. - 定制【海商报业】
  23109. /HSBY/QueryHsbyPreGoodsDetail:
  23110. get:
  23111. parameters:
  23112. - description: 商品ID
  23113. in: query
  23114. name: goodsID
  23115. required: true
  23116. type: integer
  23117. - description: 资金账户,主要用于获取预售商品购买上限
  23118. in: query
  23119. name: accountID
  23120. type: integer
  23121. produces:
  23122. - application/json
  23123. responses:
  23124. "200":
  23125. description: OK
  23126. schema:
  23127. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  23128. "500":
  23129. description: Internal Server Error
  23130. schema:
  23131. $ref: '#/definitions/app.Response'
  23132. security:
  23133. - ApiKeyAuth: []
  23134. summary: 查询一级市场(预售)商品信息详情
  23135. tags:
  23136. - 定制【海商报业】
  23137. /HSBY/QueryHsbyPreGoodses:
  23138. get:
  23139. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  23140. parameters:
  23141. - description: 页码
  23142. in: query
  23143. name: page
  23144. type: integer
  23145. - description: 每页条数
  23146. in: query
  23147. name: pagesize
  23148. type: integer
  23149. - description: 市场ID列表,格式:1,2,3
  23150. in: query
  23151. name: marketIDs
  23152. required: true
  23153. type: string
  23154. - description: 目的地(省)ID
  23155. in: query
  23156. name: descProvinceID
  23157. type: integer
  23158. - description: 目的地(市)ID
  23159. in: query
  23160. name: descCityID
  23161. type: integer
  23162. produces:
  23163. - application/json
  23164. responses:
  23165. "200":
  23166. description: OK
  23167. schema:
  23168. $ref: '#/definitions/models.HsbyPreGoods'
  23169. "500":
  23170. description: Internal Server Error
  23171. schema:
  23172. $ref: '#/definitions/app.Response'
  23173. security:
  23174. - ApiKeyAuth: []
  23175. summary: 查询新品上市商品列表(一级市场预售)
  23176. tags:
  23177. - 定制【海商报业】
  23178. /HSBY/QueryHsbySellMyDetails:
  23179. get:
  23180. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  23181. parameters:
  23182. - description: 页码
  23183. in: query
  23184. name: page
  23185. type: integer
  23186. - description: 每页条数
  23187. in: query
  23188. name: pagesize
  23189. type: integer
  23190. - description: 资金账户列表,格式:1,2,3
  23191. in: query
  23192. name: accountIDs
  23193. required: true
  23194. type: string
  23195. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  23196. in: query
  23197. name: orderType
  23198. type: integer
  23199. produces:
  23200. - application/json
  23201. responses:
  23202. "200":
  23203. description: OK
  23204. schema:
  23205. $ref: '#/definitions/models.HsbySellMyDetail'
  23206. "500":
  23207. description: Internal Server Error
  23208. schema:
  23209. $ref: '#/definitions/app.Response'
  23210. security:
  23211. - ApiKeyAuth: []
  23212. summary: 查询"我的闲置"单据信息
  23213. tags:
  23214. - 定制【海商报业】
  23215. /HSBY/QueryHsbyTopGoodses:
  23216. get:
  23217. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  23218. parameters:
  23219. - description: 页码
  23220. in: query
  23221. name: page
  23222. type: integer
  23223. - description: 每页条数
  23224. in: query
  23225. name: pagesize
  23226. type: integer
  23227. - description: 市场ID列表,格式:1,2,3
  23228. in: query
  23229. name: marketIDs
  23230. required: true
  23231. type: string
  23232. - description: 目的地(省)ID
  23233. in: query
  23234. name: descProvinceID
  23235. type: integer
  23236. - description: 目的地(市)ID
  23237. in: query
  23238. name: descCityID
  23239. type: integer
  23240. produces:
  23241. - application/json
  23242. responses:
  23243. "200":
  23244. description: OK
  23245. schema:
  23246. $ref: '#/definitions/models.HsbyTopGoods'
  23247. "500":
  23248. description: Internal Server Error
  23249. schema:
  23250. $ref: '#/definitions/app.Response'
  23251. security:
  23252. - ApiKeyAuth: []
  23253. summary: 查询热卖商品列表(二级市场挂牌点选)
  23254. tags:
  23255. - 定制【海商报业】
  23256. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  23257. get:
  23258. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  23259. parameters:
  23260. - description: 商品ID
  23261. in: query
  23262. name: goodsID
  23263. required: true
  23264. type: integer
  23265. produces:
  23266. - application/json
  23267. responses:
  23268. "200":
  23269. description: OK
  23270. schema:
  23271. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  23272. "500":
  23273. description: Internal Server Error
  23274. schema:
  23275. $ref: '#/definitions/app.Response'
  23276. security:
  23277. - ApiKeyAuth: []
  23278. summary: 查询游客三级市场(商城)商品信息详情
  23279. tags:
  23280. - 定制【海商报业】
  23281. /HSBY/QueryHsbyVisitorMarketGoodses:
  23282. get:
  23283. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  23284. parameters:
  23285. - description: 页码
  23286. in: query
  23287. name: page
  23288. type: integer
  23289. - description: 每页条数
  23290. in: query
  23291. name: pagesize
  23292. type: integer
  23293. - description: 市场ID列表,格式:1,2,3
  23294. in: query
  23295. name: marketIDs
  23296. required: true
  23297. type: string
  23298. - description: 类别ID
  23299. in: query
  23300. name: categoryID
  23301. type: integer
  23302. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  23303. in: query
  23304. name: goodsIDs
  23305. type: string
  23306. produces:
  23307. - application/json
  23308. responses:
  23309. "200":
  23310. description: OK
  23311. schema:
  23312. $ref: '#/definitions/models.HsbyMarketGoods'
  23313. "500":
  23314. description: Internal Server Error
  23315. schema:
  23316. $ref: '#/definitions/app.Response'
  23317. security:
  23318. - ApiKeyAuth: []
  23319. summary: 查询游客特卖商品列表(三级商城)
  23320. tags:
  23321. - 定制【海商报业】
  23322. /HSBY/QueryMyCollectionOrders:
  23323. get:
  23324. parameters:
  23325. - description: 页码
  23326. in: query
  23327. name: page
  23328. type: integer
  23329. - description: 每页条数
  23330. in: query
  23331. name: pagesize
  23332. type: integer
  23333. - description: 资金账户,格式:1,2,3
  23334. in: query
  23335. name: accountIDs
  23336. required: true
  23337. type: string
  23338. produces:
  23339. - application/json
  23340. responses:
  23341. "200":
  23342. description: OK
  23343. schema:
  23344. $ref: '#/definitions/models.HsbySellCollectionOrder'
  23345. "500":
  23346. description: Internal Server Error
  23347. schema:
  23348. $ref: '#/definitions/app.Response'
  23349. security:
  23350. - ApiKeyAuth: []
  23351. summary: 我的闲置中收款信息查询
  23352. tags:
  23353. - 定制【海商报业】
  23354. /HSBY/QueryMyCouponHolds:
  23355. get:
  23356. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  23357. parameters:
  23358. - description: 资金账户列表,格式:1,2,3
  23359. in: query
  23360. name: accountIDs
  23361. required: true
  23362. type: string
  23363. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  23364. in: query
  23365. name: holdStatus
  23366. type: string
  23367. produces:
  23368. - application/json
  23369. responses:
  23370. "200":
  23371. description: OK
  23372. schema:
  23373. $ref: '#/definitions/models.MyCouponHold'
  23374. "500":
  23375. description: Internal Server Error
  23376. schema:
  23377. $ref: '#/definitions/app.Response'
  23378. security:
  23379. - ApiKeyAuth: []
  23380. summary: 我的优惠卷持仓查询
  23381. tags:
  23382. - 定制【海商报业】
  23383. /HSBY/QueryMyCoupons:
  23384. get:
  23385. parameters:
  23386. - description: 资金账户列表,格式:1,2,3
  23387. in: query
  23388. name: accountIDs
  23389. required: true
  23390. type: string
  23391. - description: 商品ID, 一般与sellUserID配套传入
  23392. in: query
  23393. name: goodsID
  23394. type: integer
  23395. - description: 卖方UserID
  23396. in: query
  23397. name: sellUserID
  23398. type: integer
  23399. produces:
  23400. - application/json
  23401. responses:
  23402. "200":
  23403. description: OK
  23404. schema:
  23405. $ref: '#/definitions/models.MyCoupon'
  23406. "500":
  23407. description: Internal Server Error
  23408. schema:
  23409. $ref: '#/definitions/app.Response'
  23410. security:
  23411. - ApiKeyAuth: []
  23412. summary: 我的优惠卷查询
  23413. tags:
  23414. - 定制【海商报业】
  23415. /HSBY/QueryMyPayOrders:
  23416. get:
  23417. parameters:
  23418. - description: 页码
  23419. in: query
  23420. name: page
  23421. type: integer
  23422. - description: 每页条数
  23423. in: query
  23424. name: pagesize
  23425. type: integer
  23426. - description: 资金账户列表,格式:1,2,3
  23427. in: query
  23428. name: accountIDs
  23429. required: true
  23430. type: string
  23431. - description: 买方委托单号
  23432. in: query
  23433. name: buyOrderID
  23434. type: integer
  23435. - description: 卖方委托单号
  23436. in: query
  23437. name: sellOrderID
  23438. type: integer
  23439. produces:
  23440. - application/json
  23441. responses:
  23442. "200":
  23443. description: OK
  23444. schema:
  23445. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  23446. "500":
  23447. description: Internal Server Error
  23448. schema:
  23449. $ref: '#/definitions/app.Response'
  23450. security:
  23451. - ApiKeyAuth: []
  23452. summary: 获取我的订单中待付款信息
  23453. tags:
  23454. - 定制【海商报业】
  23455. /HSBY/QueryMyUsedCoupon:
  23456. get:
  23457. parameters:
  23458. - description: 资金账户列表,格式:1,2,3
  23459. in: query
  23460. name: accountIDs
  23461. required: true
  23462. type: string
  23463. produces:
  23464. - application/json
  23465. responses:
  23466. "200":
  23467. description: OK
  23468. schema:
  23469. $ref: '#/definitions/models.MyUsedCoupon'
  23470. "500":
  23471. description: Internal Server Error
  23472. schema:
  23473. $ref: '#/definitions/app.Response'
  23474. security:
  23475. - ApiKeyAuth: []
  23476. summary: 已使用优惠卷查询
  23477. tags:
  23478. - 定制【海商报业】
  23479. /HSBY/QueryProvincesAndCities:
  23480. get:
  23481. description: 查询结果只包括二级市场商品已关连的省市信息。
  23482. parameters:
  23483. - description: 省ID
  23484. in: query
  23485. name: provinceID
  23486. type: integer
  23487. produces:
  23488. - application/json
  23489. responses:
  23490. "200":
  23491. description: OK
  23492. schema:
  23493. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  23494. "500":
  23495. description: Internal Server Error
  23496. schema:
  23497. $ref: '#/definitions/app.Response'
  23498. security:
  23499. - ApiKeyAuth: []
  23500. summary: 查询省市信息(不包括区)
  23501. tags:
  23502. - 定制【海商报业】
  23503. /HSBY/SetHsbyMyPackagesStatus:
  23504. post:
  23505. parameters:
  23506. - description: 提货单号
  23507. in: query
  23508. name: takeOrderID
  23509. required: true
  23510. type: string
  23511. - description: 资金账号
  23512. in: query
  23513. name: accountID
  23514. required: true
  23515. type: integer
  23516. produces:
  23517. - application/json
  23518. responses:
  23519. "200":
  23520. description: OK
  23521. schema:
  23522. $ref: '#/definitions/app.Response'
  23523. "500":
  23524. description: Internal Server Error
  23525. schema:
  23526. $ref: '#/definitions/app.Response'
  23527. security:
  23528. - ApiKeyAuth: []
  23529. summary: 设置我的包裹已收货状态
  23530. tags:
  23531. - 定制【海商报业】
  23532. /Market/GetAllExExchanges:
  23533. get:
  23534. produces:
  23535. - application/json
  23536. responses:
  23537. "200":
  23538. description: OK
  23539. schema:
  23540. $ref: '#/definitions/models.Goods'
  23541. "500":
  23542. description: Internal Server Error
  23543. schema:
  23544. $ref: '#/definitions/app.Response'
  23545. security:
  23546. - ApiKeyAuth: []
  23547. summary: 获取所有外部交易所信息
  23548. tags:
  23549. - 通用市场
  23550. /Market/QueryGoodsesByLoginID:
  23551. get:
  23552. parameters:
  23553. - description: 登录账号
  23554. in: query
  23555. name: loginID
  23556. required: true
  23557. type: integer
  23558. - description: 市场ID列表,格式:1,2,3
  23559. in: query
  23560. name: marketIDs
  23561. type: string
  23562. produces:
  23563. - application/json
  23564. responses:
  23565. "200":
  23566. description: OK
  23567. schema:
  23568. $ref: '#/definitions/models.Goods'
  23569. "500":
  23570. description: Internal Server Error
  23571. schema:
  23572. $ref: '#/definitions/app.Response'
  23573. security:
  23574. - ApiKeyAuth: []
  23575. summary: 获取登录账号有权限的商品信息
  23576. tags:
  23577. - 通用市场
  23578. /Market/QueryMarketRun:
  23579. get:
  23580. parameters:
  23581. - description: 市场ID,不传返回所有
  23582. in: query
  23583. name: marketID
  23584. type: integer
  23585. produces:
  23586. - application/json
  23587. responses:
  23588. "200":
  23589. description: OK
  23590. schema:
  23591. $ref: '#/definitions/models.Marketrun'
  23592. "500":
  23593. description: Internal Server Error
  23594. schema:
  23595. $ref: '#/definitions/app.Response'
  23596. security:
  23597. - ApiKeyAuth: []
  23598. summary: 查询市场运行信息
  23599. tags:
  23600. - 通用市场
  23601. /Market/QueryMarketsByLoginID:
  23602. get:
  23603. parameters:
  23604. - description: 登录账号
  23605. in: query
  23606. name: loginID
  23607. required: true
  23608. type: integer
  23609. produces:
  23610. - application/json
  23611. responses:
  23612. "200":
  23613. description: OK
  23614. schema:
  23615. $ref: '#/definitions/models.Market'
  23616. "500":
  23617. description: Internal Server Error
  23618. schema:
  23619. $ref: '#/definitions/app.Response'
  23620. security:
  23621. - ApiKeyAuth: []
  23622. summary: 获取登录账号有权限的市场信息
  23623. tags:
  23624. - 通用市场
  23625. /Order/QueryHisTradeDetail:
  23626. get:
  23627. parameters:
  23628. - description: 资金账户 - 格式:1,2,3
  23629. in: query
  23630. name: accountID
  23631. required: true
  23632. type: string
  23633. - description: 成交单号
  23634. in: query
  23635. name: tradeID
  23636. type: integer
  23637. - description: 委托单号
  23638. in: query
  23639. name: orderID
  23640. type: integer
  23641. - description: 商品ID
  23642. in: query
  23643. name: goodsID
  23644. type: integer
  23645. - description: 交易模式 - 格式:1,2,3
  23646. in: query
  23647. name: tradeMode
  23648. type: string
  23649. - description: 委托单据类型
  23650. in: query
  23651. name: buildType
  23652. type: integer
  23653. - description: 成交类别 - 格式:1,2,3
  23654. in: query
  23655. name: tradeType
  23656. type: string
  23657. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  23658. in: query
  23659. name: startDate
  23660. type: string
  23661. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  23662. in: query
  23663. name: endDate
  23664. type: string
  23665. produces:
  23666. - application/json
  23667. responses:
  23668. "200":
  23669. description: OK
  23670. schema:
  23671. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  23672. "500":
  23673. description: Internal Server Error
  23674. schema:
  23675. $ref: '#/definitions/app.Response'
  23676. security:
  23677. - ApiKeyAuth: []
  23678. summary: 历史成交单查询(合约市场)
  23679. tags:
  23680. - 通用单据
  23681. /Order/QueryHisTradeOrderDetail:
  23682. get:
  23683. parameters:
  23684. - description: 资金账户 - 格式:1,2,3
  23685. in: query
  23686. name: accountID
  23687. required: true
  23688. type: string
  23689. - description: 交易模式 - 格式:1,2,3
  23690. in: query
  23691. name: tradeMode
  23692. type: string
  23693. - description: 委托状态 - 格式:1,2,3
  23694. in: query
  23695. name: orderStatus
  23696. type: string
  23697. - description: 委托单号
  23698. in: query
  23699. name: orderID
  23700. type: integer
  23701. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  23702. in: query
  23703. name: startDate
  23704. type: string
  23705. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  23706. in: query
  23707. name: endDate
  23708. type: string
  23709. produces:
  23710. - application/json
  23711. responses:
  23712. "200":
  23713. description: OK
  23714. schema:
  23715. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  23716. "500":
  23717. description: Internal Server Error
  23718. schema:
  23719. $ref: '#/definitions/app.Response'
  23720. security:
  23721. - ApiKeyAuth: []
  23722. summary: 历史委托单查询请求(合约市场)
  23723. tags:
  23724. - 通用单据
  23725. /Order/QueryTradeDetail:
  23726. get:
  23727. parameters:
  23728. - description: 资金账户 - 格式:1,2,3
  23729. in: query
  23730. name: accountID
  23731. required: true
  23732. type: string
  23733. - description: 成交单号
  23734. in: query
  23735. name: tradeID
  23736. type: integer
  23737. - description: 委托单号
  23738. in: query
  23739. name: orderID
  23740. type: integer
  23741. - description: 交易模式 - 格式:1,2,3
  23742. in: query
  23743. name: tradeMode
  23744. type: string
  23745. - description: 委托单据类型
  23746. in: query
  23747. name: buildType
  23748. type: integer
  23749. - description: 成交类别 - 格式:1,2,3
  23750. in: query
  23751. name: tradeType
  23752. type: string
  23753. - description: 商品ID
  23754. in: query
  23755. name: goodsID
  23756. type: integer
  23757. produces:
  23758. - application/json
  23759. responses:
  23760. "200":
  23761. description: OK
  23762. schema:
  23763. $ref: '#/definitions/order.QueryTradeDetailRsp'
  23764. "500":
  23765. description: Internal Server Error
  23766. schema:
  23767. $ref: '#/definitions/app.Response'
  23768. security:
  23769. - ApiKeyAuth: []
  23770. summary: 成交单查询(合约市场)
  23771. tags:
  23772. - 通用单据
  23773. /Order/QueryTradeHolderDetail:
  23774. get:
  23775. parameters:
  23776. - description: 用户id
  23777. in: query
  23778. name: userid
  23779. type: integer
  23780. - description: 资金账号, 格式 1,2,3
  23781. in: query
  23782. name: accids
  23783. type: string
  23784. - description: 交易模式, 格式 1,2,3
  23785. in: query
  23786. name: trademodes
  23787. type: string
  23788. - description: 市场id, 格式 1,2,3
  23789. in: query
  23790. name: marketids
  23791. type: string
  23792. - description: 商品id
  23793. in: query
  23794. name: goodsid
  23795. type: integer
  23796. - description: 买卖方向 0-买 1-卖
  23797. in: query
  23798. name: buyorsell
  23799. type: integer
  23800. produces:
  23801. - application/json
  23802. responses:
  23803. "200":
  23804. description: OK
  23805. schema:
  23806. items:
  23807. $ref: '#/definitions/models.TradeHolderDetail'
  23808. type: array
  23809. "500":
  23810. description: Internal Server Error
  23811. schema:
  23812. $ref: '#/definitions/app.Response'
  23813. security:
  23814. - ApiKeyAuth: []
  23815. summary: 查询持仓明细
  23816. tags:
  23817. - 通用单据
  23818. /Order/QueryTradeOrderDetail:
  23819. get:
  23820. parameters:
  23821. - description: 资金账户 - 格式:1,2,3
  23822. in: query
  23823. name: accountID
  23824. required: true
  23825. type: string
  23826. - description: 交易模式 - 格式:1,2,3
  23827. in: query
  23828. name: tradeMode
  23829. type: string
  23830. - description: 委托状态 - 格式:1,2,3
  23831. in: query
  23832. name: orderStatus
  23833. type: string
  23834. - description: 委托单号
  23835. in: query
  23836. name: orderID
  23837. type: integer
  23838. produces:
  23839. - application/json
  23840. responses:
  23841. "200":
  23842. description: OK
  23843. schema:
  23844. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  23845. "500":
  23846. description: Internal Server Error
  23847. schema:
  23848. $ref: '#/definitions/app.Response'
  23849. security:
  23850. - ApiKeyAuth: []
  23851. summary: 委托单查询请求(合约市场)
  23852. tags:
  23853. - 通用单据
  23854. /Order/QueryTradePosition:
  23855. get:
  23856. parameters:
  23857. - description: 资金账户 - 格式:1,2,3
  23858. in: query
  23859. name: accountID
  23860. required: true
  23861. type: string
  23862. - description: 交易模式 - 格式:1,2,3
  23863. in: query
  23864. name: tradeMode
  23865. type: string
  23866. produces:
  23867. - application/json
  23868. responses:
  23869. "200":
  23870. description: OK
  23871. schema:
  23872. $ref: '#/definitions/order.QueryTradePositionRsp'
  23873. "500":
  23874. description: Internal Server Error
  23875. schema:
  23876. $ref: '#/definitions/app.Response'
  23877. security:
  23878. - ApiKeyAuth: []
  23879. summary: 持仓汇总查询(合约市场)
  23880. tags:
  23881. - 通用单据
  23882. /Qhj/QueryAccountInOutApply:
  23883. get:
  23884. parameters:
  23885. - description: 用户ID
  23886. in: query
  23887. name: userid
  23888. required: true
  23889. type: integer
  23890. - description: 申请起始日期(格式yyyymmdd)
  23891. in: query
  23892. name: begindate
  23893. type: string
  23894. - description: 申请截止日期(格式yyyymmdd)
  23895. in: query
  23896. name: enddate
  23897. type: string
  23898. - description: 模糊搜索名称
  23899. in: query
  23900. name: likename
  23901. type: string
  23902. produces:
  23903. - application/json
  23904. responses:
  23905. "200":
  23906. description: OK
  23907. schema:
  23908. items:
  23909. $ref: '#/definitions/models.QhjAccountOutInApply'
  23910. type: array
  23911. "500":
  23912. description: Internal Server Error
  23913. schema:
  23914. $ref: '#/definitions/app.Response'
  23915. security:
  23916. - ApiKeyAuth: []
  23917. summary: 查询充值提现
  23918. tags:
  23919. - 大连千海金
  23920. /Qhj/QueryAreaFinanceConfig:
  23921. get:
  23922. parameters:
  23923. - description: 机构用户ID 其他做市关系,都设置为 1
  23924. in: query
  23925. name: userid
  23926. type: integer
  23927. produces:
  23928. - application/json
  23929. responses:
  23930. "200":
  23931. description: OK
  23932. schema:
  23933. items:
  23934. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  23935. type: array
  23936. "500":
  23937. description: Internal Server Error
  23938. schema:
  23939. $ref: '#/definitions/app.Response'
  23940. security:
  23941. - ApiKeyAuth: []
  23942. summary: 查询企业配置表
  23943. tags:
  23944. - 大连千海金
  23945. /Qhj/QueryBankAccountSign:
  23946. get:
  23947. parameters:
  23948. - description: 用户ID
  23949. in: query
  23950. name: userid
  23951. required: true
  23952. type: integer
  23953. produces:
  23954. - application/json
  23955. responses:
  23956. "200":
  23957. description: OK
  23958. schema:
  23959. items:
  23960. $ref: '#/definitions/models.QhjBankAccountSign'
  23961. type: array
  23962. "500":
  23963. description: Internal Server Error
  23964. schema:
  23965. $ref: '#/definitions/app.Response'
  23966. security:
  23967. - ApiKeyAuth: []
  23968. summary: 查询签约银行信息(提现账户管理)
  23969. tags:
  23970. - 大连千海金
  23971. /Qhj/QueryBankInfo:
  23972. get:
  23973. produces:
  23974. - application/json
  23975. responses:
  23976. "200":
  23977. description: OK
  23978. schema:
  23979. items:
  23980. $ref: '#/definitions/models.QhjBankInfo'
  23981. type: array
  23982. "500":
  23983. description: Internal Server Error
  23984. schema:
  23985. $ref: '#/definitions/app.Response'
  23986. security:
  23987. - ApiKeyAuth: []
  23988. summary: 查询开户行
  23989. tags:
  23990. - 大连千海金
  23991. /Qhj/QueryBrokerApply:
  23992. get:
  23993. parameters:
  23994. - description: 所属机构ID
  23995. in: query
  23996. name: userid
  23997. type: integer
  23998. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  23999. in: query
  24000. name: filterstatus
  24001. type: string
  24002. produces:
  24003. - application/json
  24004. responses:
  24005. "200":
  24006. description: OK
  24007. schema:
  24008. items:
  24009. $ref: '#/definitions/models.QhjBrokerApply'
  24010. type: array
  24011. "500":
  24012. description: Internal Server Error
  24013. schema:
  24014. $ref: '#/definitions/app.Response'
  24015. security:
  24016. - ApiKeyAuth: []
  24017. summary: 查询经纪人申请
  24018. tags:
  24019. - 大连千海金
  24020. /Qhj/QueryBrokerApplyEx:
  24021. get:
  24022. parameters:
  24023. - description: 所属机构ID
  24024. in: query
  24025. name: userid
  24026. type: integer
  24027. produces:
  24028. - application/json
  24029. responses:
  24030. "200":
  24031. description: OK
  24032. schema:
  24033. items:
  24034. $ref: '#/definitions/models.QhjBrokerApplyEx'
  24035. type: array
  24036. "500":
  24037. description: Internal Server Error
  24038. schema:
  24039. $ref: '#/definitions/app.Response'
  24040. security:
  24041. - ApiKeyAuth: []
  24042. summary: 查询经纪人信息和申请记录
  24043. tags:
  24044. - 大连千海金
  24045. /Qhj/QueryBrokerRewardLog:
  24046. get:
  24047. parameters:
  24048. - description: 用户ID
  24049. in: query
  24050. name: userid
  24051. required: true
  24052. type: integer
  24053. - description: 开始交易日(yyyymmdd)
  24054. in: query
  24055. name: begindate
  24056. type: string
  24057. - description: 结束交易日(yyyymmdd)
  24058. in: query
  24059. name: enddate
  24060. type: string
  24061. produces:
  24062. - application/json
  24063. responses:
  24064. "200":
  24065. description: OK
  24066. schema:
  24067. items:
  24068. $ref: '#/definitions/models.QhjBrokerRewardLog'
  24069. type: array
  24070. "500":
  24071. description: Internal Server Error
  24072. schema:
  24073. $ref: '#/definitions/app.Response'
  24074. security:
  24075. - ApiKeyAuth: []
  24076. summary: 查询奖励流水(我的奖励)
  24077. tags:
  24078. - 大连千海金
  24079. /Qhj/QueryContract:
  24080. get:
  24081. parameters:
  24082. - description: 用户ID
  24083. in: query
  24084. name: userid
  24085. type: integer
  24086. - description: scf合同id
  24087. in: query
  24088. name: scfcontractid
  24089. type: integer
  24090. produces:
  24091. - application/json
  24092. responses:
  24093. "200":
  24094. description: OK
  24095. schema:
  24096. items:
  24097. $ref: '#/definitions/models.QhjContract'
  24098. type: array
  24099. "500":
  24100. description: Internal Server Error
  24101. schema:
  24102. $ref: '#/definitions/app.Response'
  24103. security:
  24104. - ApiKeyAuth: []
  24105. summary: 查询融资明细(合同)
  24106. tags:
  24107. - 大连千海金
  24108. /Qhj/QueryContractLog:
  24109. get:
  24110. parameters:
  24111. - description: scf合同id
  24112. in: query
  24113. name: scfcontractid
  24114. required: true
  24115. type: integer
  24116. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  24117. in: query
  24118. name: amounttype
  24119. type: string
  24120. produces:
  24121. - application/json
  24122. responses:
  24123. "200":
  24124. description: OK
  24125. schema:
  24126. items:
  24127. $ref: '#/definitions/models.QhjContractLog'
  24128. type: array
  24129. "500":
  24130. description: Internal Server Error
  24131. schema:
  24132. $ref: '#/definitions/app.Response'
  24133. security:
  24134. - ApiKeyAuth: []
  24135. summary: 查询融资明细流水(融资明细详情页中的流水)
  24136. tags:
  24137. - 大连千海金
  24138. /Qhj/QueryCusBankSignBank:
  24139. get:
  24140. produces:
  24141. - application/json
  24142. responses:
  24143. "200":
  24144. description: OK
  24145. schema:
  24146. items:
  24147. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  24148. type: array
  24149. "500":
  24150. description: Internal Server Error
  24151. schema:
  24152. $ref: '#/definitions/app.Response'
  24153. security:
  24154. - ApiKeyAuth: []
  24155. summary: 查询托管银行
  24156. tags:
  24157. - 大连千海金
  24158. /Qhj/QueryCustomerInfo:
  24159. get:
  24160. parameters:
  24161. - description: 用户ID
  24162. in: query
  24163. name: userid
  24164. required: true
  24165. type: integer
  24166. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  24167. in: query
  24168. name: querytype
  24169. required: true
  24170. type: integer
  24171. - description: 客户类型 1-个人 2-企业
  24172. in: query
  24173. name: userinfotype
  24174. type: integer
  24175. - description: 客户名称(模糊匹配)
  24176. in: query
  24177. name: customername
  24178. type: string
  24179. - description: 昵称(模糊匹配)
  24180. in: query
  24181. name: nickname
  24182. type: string
  24183. - description: 是否包含子级 1-包含
  24184. in: query
  24185. name: includesub
  24186. type: integer
  24187. produces:
  24188. - application/json
  24189. responses:
  24190. "200":
  24191. description: OK
  24192. schema:
  24193. items:
  24194. $ref: '#/definitions/models.QhjCustomer'
  24195. type: array
  24196. "500":
  24197. description: Internal Server Error
  24198. schema:
  24199. $ref: '#/definitions/app.Response'
  24200. security:
  24201. - ApiKeyAuth: []
  24202. summary: 查询客户资料
  24203. tags:
  24204. - 大连千海金
  24205. /Qhj/QueryGoodsEx:
  24206. get:
  24207. parameters:
  24208. - description: 商品id
  24209. in: query
  24210. name: goodsid
  24211. type: integer
  24212. produces:
  24213. - application/json
  24214. responses:
  24215. "200":
  24216. description: OK
  24217. schema:
  24218. items:
  24219. $ref: '#/definitions/models.Qhjgoodsex'
  24220. type: array
  24221. "500":
  24222. description: Internal Server Error
  24223. schema:
  24224. $ref: '#/definitions/app.Response'
  24225. security:
  24226. - ApiKeyAuth: []
  24227. summary: 交易商品扩展表
  24228. tags:
  24229. - 大连千海金
  24230. /Qhj/QueryMyTeam:
  24231. get:
  24232. parameters:
  24233. - description: 用户ID
  24234. in: query
  24235. name: userid
  24236. required: true
  24237. type: integer
  24238. produces:
  24239. - application/json
  24240. responses:
  24241. "200":
  24242. description: OK
  24243. schema:
  24244. items:
  24245. $ref: '#/definitions/models.QhjMyTeamEx'
  24246. type: array
  24247. "500":
  24248. description: Internal Server Error
  24249. schema:
  24250. $ref: '#/definitions/app.Response'
  24251. security:
  24252. - ApiKeyAuth: []
  24253. summary: 查询我的团队
  24254. tags:
  24255. - 大连千海金
  24256. /Qhj/QueryMyTeamOrder:
  24257. get:
  24258. parameters:
  24259. - description: 页码
  24260. in: query
  24261. name: page
  24262. type: integer
  24263. - description: 每页条数
  24264. in: query
  24265. name: pagesize
  24266. type: integer
  24267. - description: 用户ID
  24268. in: query
  24269. name: userid
  24270. required: true
  24271. type: integer
  24272. - description: 交易模式
  24273. in: query
  24274. name: trademode
  24275. type: integer
  24276. - description: 名称(模糊搜索账户)
  24277. in: query
  24278. name: filtername
  24279. type: string
  24280. produces:
  24281. - application/json
  24282. responses:
  24283. "200":
  24284. description: OK
  24285. schema:
  24286. items:
  24287. $ref: '#/definitions/models.QhjTeamOrder'
  24288. type: array
  24289. "500":
  24290. description: Internal Server Error
  24291. schema:
  24292. $ref: '#/definitions/app.Response'
  24293. security:
  24294. - ApiKeyAuth: []
  24295. summary: 查询团队订单(我的团队/团队订单)
  24296. tags:
  24297. - 大连千海金
  24298. /Qhj/QueryParentAreaList:
  24299. get:
  24300. parameters:
  24301. - description: 用户ID
  24302. in: query
  24303. name: userid
  24304. required: true
  24305. type: integer
  24306. produces:
  24307. - application/json
  24308. responses:
  24309. "200":
  24310. description: OK
  24311. schema:
  24312. items:
  24313. $ref: '#/definitions/models.QhjParentAreaList'
  24314. type: array
  24315. "500":
  24316. description: Internal Server Error
  24317. schema:
  24318. $ref: '#/definitions/app.Response'
  24319. security:
  24320. - ApiKeyAuth: []
  24321. summary: 查询所属机构列表
  24322. tags:
  24323. - 大连千海金
  24324. /Qhj/QueryPayOrder:
  24325. get:
  24326. parameters:
  24327. - description: 资金账号id
  24328. in: query
  24329. name: accountid
  24330. required: true
  24331. type: integer
  24332. - description: 成交单号
  24333. in: query
  24334. name: tradeid
  24335. type: integer
  24336. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  24337. in: query
  24338. name: payflag
  24339. type: string
  24340. produces:
  24341. - application/json
  24342. responses:
  24343. "200":
  24344. description: OK
  24345. schema:
  24346. items:
  24347. $ref: '#/definitions/models.QhjPayOrder'
  24348. type: array
  24349. "500":
  24350. description: Internal Server Error
  24351. schema:
  24352. $ref: '#/definitions/app.Response'
  24353. security:
  24354. - ApiKeyAuth: []
  24355. summary: 查询待付款单据
  24356. tags:
  24357. - 大连千海金
  24358. /Qhj/QueryPickArea:
  24359. get:
  24360. parameters:
  24361. - description: 用户ID
  24362. in: query
  24363. name: userid
  24364. type: integer
  24365. produces:
  24366. - application/json
  24367. responses:
  24368. "200":
  24369. description: OK
  24370. schema:
  24371. items:
  24372. $ref: '#/definitions/models.QhjPickArea'
  24373. type: array
  24374. "500":
  24375. description: Internal Server Error
  24376. schema:
  24377. $ref: '#/definitions/app.Response'
  24378. security:
  24379. - ApiKeyAuth: []
  24380. summary: 查询提货门店
  24381. tags:
  24382. - 大连千海金
  24383. /Qhj/QueryPickGoods:
  24384. get:
  24385. parameters:
  24386. - description: 交易商品id
  24387. in: query
  24388. name: goodsid
  24389. required: true
  24390. type: integer
  24391. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  24392. in: query
  24393. name: status
  24394. type: string
  24395. produces:
  24396. - application/json
  24397. responses:
  24398. "200":
  24399. description: OK
  24400. schema:
  24401. items:
  24402. $ref: '#/definitions/models.QhjPickGoods'
  24403. type: array
  24404. "500":
  24405. description: Internal Server Error
  24406. schema:
  24407. $ref: '#/definitions/app.Response'
  24408. security:
  24409. - ApiKeyAuth: []
  24410. summary: 查询提货商品
  24411. tags:
  24412. - 大连千海金
  24413. /Qhj/QueryRSTriggerLog:
  24414. get:
  24415. parameters:
  24416. - description: 用户ID
  24417. in: query
  24418. name: userid
  24419. type: integer
  24420. - description: 定投策略id
  24421. in: query
  24422. name: regularlystrategyid
  24423. type: integer
  24424. - description: 商品id
  24425. in: query
  24426. name: goodsid
  24427. type: integer
  24428. - description: 开始交易日(yyyymmdd)
  24429. in: query
  24430. name: begindate
  24431. type: string
  24432. - description: 结束交易日(yyyymmdd)
  24433. in: query
  24434. name: enddate
  24435. type: string
  24436. - description: 名称(模糊搜索账户)
  24437. in: query
  24438. name: filtername
  24439. type: string
  24440. produces:
  24441. - application/json
  24442. responses:
  24443. "200":
  24444. description: OK
  24445. schema:
  24446. items:
  24447. $ref: '#/definitions/models.QhjRSTriggerLog'
  24448. type: array
  24449. "500":
  24450. description: Internal Server Error
  24451. schema:
  24452. $ref: '#/definitions/app.Response'
  24453. security:
  24454. - ApiKeyAuth: []
  24455. summary: 查询定投记录(定投管理/详情/定投记录)
  24456. tags:
  24457. - 大连千海金
  24458. /Qhj/QueryRStrategy:
  24459. get:
  24460. parameters:
  24461. - description: 用户ID
  24462. in: query
  24463. name: userid
  24464. type: integer
  24465. - description: 商品id
  24466. in: query
  24467. name: goodsid
  24468. type: integer
  24469. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  24470. in: query
  24471. name: status
  24472. type: string
  24473. - description: 名称(模糊搜索账户)
  24474. in: query
  24475. name: filtername
  24476. type: string
  24477. produces:
  24478. - application/json
  24479. responses:
  24480. "200":
  24481. description: OK
  24482. schema:
  24483. items:
  24484. $ref: '#/definitions/models.QhjRStrategy'
  24485. type: array
  24486. "500":
  24487. description: Internal Server Error
  24488. schema:
  24489. $ref: '#/definitions/app.Response'
  24490. security:
  24491. - ApiKeyAuth: []
  24492. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  24493. tags:
  24494. - 大连千海金
  24495. /Qhj/QueryReckonPriceLog:
  24496. get:
  24497. parameters:
  24498. - description: 商品ID
  24499. in: query
  24500. name: goodsid
  24501. type: integer
  24502. - description: 交易日 格式(yyyymmdd)
  24503. in: query
  24504. name: tradedate
  24505. type: string
  24506. produces:
  24507. - application/json
  24508. responses:
  24509. "200":
  24510. description: OK
  24511. schema:
  24512. items:
  24513. $ref: '#/definitions/models.QhjReckonPriceLog'
  24514. type: array
  24515. "500":
  24516. description: Internal Server Error
  24517. schema:
  24518. $ref: '#/definitions/app.Response'
  24519. security:
  24520. - ApiKeyAuth: []
  24521. summary: 查询定投价(结算价)
  24522. tags:
  24523. - 大连千海金
  24524. /Qhj/QueryScoreLog:
  24525. get:
  24526. parameters:
  24527. - description: 用户ID
  24528. in: query
  24529. name: userid
  24530. required: true
  24531. type: integer
  24532. - description: 开始交易日(yyyymmdd)
  24533. in: query
  24534. name: begindate
  24535. type: string
  24536. - description: 结束交易日(yyyymmdd)
  24537. in: query
  24538. name: enddate
  24539. type: string
  24540. - description: 最近多少条
  24541. in: query
  24542. name: lastnum
  24543. type: integer
  24544. produces:
  24545. - application/json
  24546. responses:
  24547. "200":
  24548. description: OK
  24549. schema:
  24550. items:
  24551. $ref: '#/definitions/models.QhjScoreLog'
  24552. type: array
  24553. "500":
  24554. description: Internal Server Error
  24555. schema:
  24556. $ref: '#/definitions/app.Response'
  24557. security:
  24558. - ApiKeyAuth: []
  24559. summary: 查询积分流水(我的积分)
  24560. tags:
  24561. - 大连千海金
  24562. /Qhj/QuerySiteColumnDetail:
  24563. get:
  24564. parameters:
  24565. - description: 用户ID
  24566. in: query
  24567. name: userid
  24568. required: true
  24569. type: integer
  24570. produces:
  24571. - application/json
  24572. responses:
  24573. "200":
  24574. description: OK
  24575. schema:
  24576. items:
  24577. $ref: '#/definitions/models.QhjSiteColumnDetail'
  24578. type: array
  24579. "500":
  24580. description: Internal Server Error
  24581. schema:
  24582. $ref: '#/definitions/app.Response'
  24583. security:
  24584. - ApiKeyAuth: []
  24585. summary: 查询资讯
  24586. tags:
  24587. - 大连千海金
  24588. /Qhj/QueryTradeGoodsPickup:
  24589. get:
  24590. parameters:
  24591. - description: 用户ID
  24592. in: query
  24593. name: userid
  24594. required: true
  24595. type: integer
  24596. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销
  24597. in: query
  24598. name: takeorderstatus
  24599. type: integer
  24600. produces:
  24601. - application/json
  24602. responses:
  24603. "200":
  24604. description: OK
  24605. schema:
  24606. items:
  24607. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  24608. type: array
  24609. "500":
  24610. description: Internal Server Error
  24611. schema:
  24612. $ref: '#/definitions/app.Response'
  24613. security:
  24614. - ApiKeyAuth: []
  24615. summary: 查询提货
  24616. tags:
  24617. - 大连千海金
  24618. /Qhj/QueryUserCollectConfig:
  24619. get:
  24620. parameters:
  24621. - description: 用户ID
  24622. in: query
  24623. name: userid
  24624. required: true
  24625. type: integer
  24626. produces:
  24627. - application/json
  24628. responses:
  24629. "200":
  24630. description: OK
  24631. schema:
  24632. items:
  24633. $ref: '#/definitions/models.UserCollectConfig'
  24634. type: array
  24635. "500":
  24636. description: Internal Server Error
  24637. schema:
  24638. $ref: '#/definitions/app.Response'
  24639. security:
  24640. - ApiKeyAuth: []
  24641. summary: 查询提现账户设置
  24642. tags:
  24643. - 大连千海金
  24644. /Qhj/QueryUserReceiveInfo:
  24645. get:
  24646. parameters:
  24647. - description: 用户ID
  24648. in: query
  24649. name: userid
  24650. required: true
  24651. type: integer
  24652. produces:
  24653. - application/json
  24654. responses:
  24655. "200":
  24656. description: OK
  24657. schema:
  24658. items:
  24659. $ref: '#/definitions/models.UserReceiveInfo'
  24660. type: array
  24661. "500":
  24662. description: Internal Server Error
  24663. schema:
  24664. $ref: '#/definitions/app.Response'
  24665. security:
  24666. - ApiKeyAuth: []
  24667. summary: 查询收货地址信息
  24668. tags:
  24669. - 大连千海金
  24670. /QhjMgr/QueryAccountInOutApply:
  24671. get:
  24672. parameters:
  24673. - description: 查询类型 1-提现(出金) 2-充值(出金)
  24674. in: query
  24675. name: querytype
  24676. required: true
  24677. type: integer
  24678. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  24679. in: query
  24680. name: applystatus
  24681. type: integer
  24682. - description: 申请起始日期(格式yyyymmdd)
  24683. in: query
  24684. name: begindate
  24685. type: string
  24686. - description: 申请截止日期(格式yyyymmdd)
  24687. in: query
  24688. name: enddate
  24689. type: string
  24690. - description: 模糊搜索名称
  24691. in: query
  24692. name: likename
  24693. type: string
  24694. produces:
  24695. - application/json
  24696. responses:
  24697. "200":
  24698. description: OK
  24699. schema:
  24700. items:
  24701. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  24702. type: array
  24703. "500":
  24704. description: Internal Server Error
  24705. schema:
  24706. $ref: '#/definitions/app.Response'
  24707. security:
  24708. - ApiKeyAuth: []
  24709. summary: 查询充值提现
  24710. tags:
  24711. - 大连千海金(PCWeb)
  24712. /QhjMgr/QueryBrokerApply:
  24713. get:
  24714. parameters:
  24715. - description: 所属机构ID
  24716. in: query
  24717. name: userid
  24718. type: integer
  24719. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24720. in: query
  24721. name: filterstatus
  24722. type: string
  24723. - description: 名称(模糊匹配)
  24724. in: query
  24725. name: filtername
  24726. type: string
  24727. - description: 是否包含子级 1-包含
  24728. in: query
  24729. name: includesub
  24730. type: integer
  24731. produces:
  24732. - application/json
  24733. responses:
  24734. "200":
  24735. description: OK
  24736. schema:
  24737. items:
  24738. $ref: '#/definitions/models.QhjMgrBrokerApply'
  24739. type: array
  24740. "500":
  24741. description: Internal Server Error
  24742. schema:
  24743. $ref: '#/definitions/app.Response'
  24744. security:
  24745. - ApiKeyAuth: []
  24746. summary: 查询经纪人申请
  24747. tags:
  24748. - 大连千海金(PCWeb)
  24749. /QhjMgr/QueryBrokerRewardReport:
  24750. get:
  24751. parameters:
  24752. - description: 所属机构ID
  24753. in: query
  24754. name: userid
  24755. required: true
  24756. type: integer
  24757. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24758. in: query
  24759. name: cycletype
  24760. required: true
  24761. type: integer
  24762. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  24763. in: query
  24764. name: cycletime
  24765. required: true
  24766. type: string
  24767. - description: 名称(模糊匹配)
  24768. in: query
  24769. name: filtername
  24770. type: string
  24771. - description: 是否包含子级 1-包含
  24772. in: query
  24773. name: includesub
  24774. type: integer
  24775. produces:
  24776. - application/json
  24777. responses:
  24778. "200":
  24779. description: OK
  24780. schema:
  24781. items:
  24782. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  24783. type: array
  24784. "500":
  24785. description: Internal Server Error
  24786. schema:
  24787. $ref: '#/definitions/app.Response'
  24788. security:
  24789. - ApiKeyAuth: []
  24790. summary: 查询经纪人奖励报表(废弃)
  24791. tags:
  24792. - 大连千海金(PCWeb)
  24793. /QhjMgr/QueryContract:
  24794. get:
  24795. parameters:
  24796. - description: 用户ID
  24797. in: query
  24798. name: userid
  24799. type: integer
  24800. - description: 商品id
  24801. in: query
  24802. name: goodsid
  24803. type: integer
  24804. - description: 名称(模糊搜索账户)
  24805. in: query
  24806. name: filtername
  24807. type: string
  24808. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  24809. in: query
  24810. name: risklevel
  24811. type: string
  24812. - description: 开始交易日(yyyymmdd)
  24813. in: query
  24814. name: begindate
  24815. type: string
  24816. - description: 结束交易日(yyyymmdd)
  24817. in: query
  24818. name: enddate
  24819. type: string
  24820. produces:
  24821. - application/json
  24822. responses:
  24823. "200":
  24824. description: OK
  24825. schema:
  24826. items:
  24827. $ref: '#/definitions/models.QhjMgrContract'
  24828. type: array
  24829. "500":
  24830. description: Internal Server Error
  24831. schema:
  24832. $ref: '#/definitions/app.Response'
  24833. security:
  24834. - ApiKeyAuth: []
  24835. summary: 查询融资信息(合同)
  24836. tags:
  24837. - 大连千海金(PCWeb)
  24838. /QhjMgr/QueryCustomerInfo:
  24839. get:
  24840. parameters:
  24841. - description: 用户ID
  24842. in: query
  24843. name: userid
  24844. required: true
  24845. type: integer
  24846. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  24847. in: query
  24848. name: querytype
  24849. required: true
  24850. type: integer
  24851. - description: 客户类型 1-个人 2-企业
  24852. in: query
  24853. name: userinfotype
  24854. type: integer
  24855. - description: 客户名称(模糊匹配)
  24856. in: query
  24857. name: customername
  24858. type: string
  24859. - description: 昵称(模糊匹配)
  24860. in: query
  24861. name: nickname
  24862. type: string
  24863. - description: 所属客户经理(模糊匹配)
  24864. in: query
  24865. name: brokername
  24866. type: string
  24867. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd, 如0503 -5月3日)
  24868. in: query
  24869. name: birthday
  24870. type: string
  24871. - description: 是否包含子级 1-包含
  24872. in: query
  24873. name: includesub
  24874. type: integer
  24875. produces:
  24876. - application/json
  24877. responses:
  24878. "200":
  24879. description: OK
  24880. schema:
  24881. items:
  24882. $ref: '#/definitions/models.QhjMgrCustomer'
  24883. type: array
  24884. "500":
  24885. description: Internal Server Error
  24886. schema:
  24887. $ref: '#/definitions/app.Response'
  24888. security:
  24889. - ApiKeyAuth: []
  24890. summary: 查询客户资料
  24891. tags:
  24892. - 大连千海金(PCWeb)
  24893. /QhjMgr/QueryPickGoods:
  24894. get:
  24895. parameters:
  24896. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  24897. in: query
  24898. name: status
  24899. type: string
  24900. produces:
  24901. - application/json
  24902. responses:
  24903. "200":
  24904. description: OK
  24905. schema:
  24906. items:
  24907. $ref: '#/definitions/models.QhjMgrPickGoods'
  24908. type: array
  24909. "500":
  24910. description: Internal Server Error
  24911. schema:
  24912. $ref: '#/definitions/app.Response'
  24913. security:
  24914. - ApiKeyAuth: []
  24915. summary: 查询提货商品
  24916. tags:
  24917. - 大连千海金(PCWeb)
  24918. /QhjMgr/QuerySubArea:
  24919. get:
  24920. parameters:
  24921. - description: 用户ID
  24922. in: query
  24923. name: userid
  24924. required: true
  24925. type: integer
  24926. produces:
  24927. - application/json
  24928. responses:
  24929. "200":
  24930. description: OK
  24931. schema:
  24932. items:
  24933. $ref: '#/definitions/models.QhjMgrSubArea'
  24934. type: array
  24935. "500":
  24936. description: Internal Server Error
  24937. schema:
  24938. $ref: '#/definitions/app.Response'
  24939. security:
  24940. - ApiKeyAuth: []
  24941. summary: 查询子机构列表
  24942. tags:
  24943. - 大连千海金(PCWeb)
  24944. /QhjMgr/QueryTradeDetail:
  24945. get:
  24946. parameters:
  24947. - description: 用户ID
  24948. in: query
  24949. name: userid
  24950. required: true
  24951. type: integer
  24952. - description: 用户类型 1-个人 2-企业
  24953. in: query
  24954. name: userinfotype
  24955. type: integer
  24956. - description: 交易模式
  24957. in: query
  24958. name: trademode
  24959. type: integer
  24960. - description: 商品id
  24961. in: query
  24962. name: goodsid
  24963. type: integer
  24964. - description: 名称(模糊搜索账户)
  24965. in: query
  24966. name: filtername
  24967. type: string
  24968. - description: 开始交易日(yyyymmdd)
  24969. in: query
  24970. name: begindate
  24971. type: string
  24972. - description: 结束交易日(yyyymmdd)
  24973. in: query
  24974. name: enddate
  24975. type: string
  24976. - description: 是否包含子级 1-包含
  24977. in: query
  24978. name: includesub
  24979. type: integer
  24980. produces:
  24981. - application/json
  24982. responses:
  24983. "200":
  24984. description: OK
  24985. schema:
  24986. items:
  24987. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  24988. type: array
  24989. "500":
  24990. description: Internal Server Error
  24991. schema:
  24992. $ref: '#/definitions/app.Response'
  24993. security:
  24994. - ApiKeyAuth: []
  24995. summary: 查询成交明细
  24996. tags:
  24997. - 大连千海金(PCWeb)
  24998. /QhjMgr/QueryTradeOrderDetail:
  24999. get:
  25000. parameters:
  25001. - description: 用户ID
  25002. in: query
  25003. name: userid
  25004. required: true
  25005. type: integer
  25006. - description: 用户类型 1-个人 2-企业
  25007. in: query
  25008. name: userinfotype
  25009. type: integer
  25010. - description: 交易模式
  25011. in: query
  25012. name: trademode
  25013. type: integer
  25014. - description: 商品id
  25015. in: query
  25016. name: goodsid
  25017. type: integer
  25018. - description: 名称(模糊搜索账户)
  25019. in: query
  25020. name: filtername
  25021. type: string
  25022. - description: 开始交易日(yyyymmdd)
  25023. in: query
  25024. name: begindate
  25025. type: string
  25026. - description: 结束交易日(yyyymmdd)
  25027. in: query
  25028. name: enddate
  25029. type: string
  25030. - description: 是否包含子级 1-包含
  25031. in: query
  25032. name: includesub
  25033. type: integer
  25034. produces:
  25035. - application/json
  25036. responses:
  25037. "200":
  25038. description: OK
  25039. schema:
  25040. items:
  25041. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  25042. type: array
  25043. "500":
  25044. description: Internal Server Error
  25045. schema:
  25046. $ref: '#/definitions/app.Response'
  25047. security:
  25048. - ApiKeyAuth: []
  25049. summary: 查询委托明细
  25050. tags:
  25051. - 大连千海金(PCWeb)
  25052. /QhjMgr/QueryTradePayOrder:
  25053. get:
  25054. parameters:
  25055. - description: 用户ID
  25056. in: query
  25057. name: userid
  25058. required: true
  25059. type: integer
  25060. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  25061. in: query
  25062. name: payflag
  25063. type: string
  25064. - description: 用户类型 1-个人 2-企业
  25065. in: query
  25066. name: userinfotype
  25067. type: integer
  25068. - description: 交易模式
  25069. in: query
  25070. name: trademode
  25071. type: integer
  25072. - description: 商品id
  25073. in: query
  25074. name: goodsid
  25075. type: integer
  25076. - description: 名称(模糊搜索账户)
  25077. in: query
  25078. name: filtername
  25079. type: string
  25080. - description: 开始交易日(yyyymmdd)
  25081. in: query
  25082. name: begindate
  25083. type: string
  25084. - description: 结束交易日(yyyymmdd)
  25085. in: query
  25086. name: enddate
  25087. type: string
  25088. - description: 是否包含子级 1-包含
  25089. in: query
  25090. name: includesub
  25091. type: integer
  25092. produces:
  25093. - application/json
  25094. responses:
  25095. "200":
  25096. description: OK
  25097. schema:
  25098. items:
  25099. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  25100. type: array
  25101. "500":
  25102. description: Internal Server Error
  25103. schema:
  25104. $ref: '#/definitions/app.Response'
  25105. security:
  25106. - ApiKeyAuth: []
  25107. summary: 查询待付款单
  25108. tags:
  25109. - 大连千海金(PCWeb)
  25110. /QhjMgr/QueryTradePosition:
  25111. get:
  25112. parameters:
  25113. - description: 用户ID
  25114. in: query
  25115. name: userid
  25116. required: true
  25117. type: integer
  25118. - description: 用户类型 1-个人 2-企业
  25119. in: query
  25120. name: userinfotype
  25121. type: integer
  25122. - description: 交易模式
  25123. in: query
  25124. name: trademode
  25125. type: integer
  25126. - description: 商品id
  25127. in: query
  25128. name: goodsid
  25129. type: integer
  25130. - description: 名称(模糊搜索账户)
  25131. in: query
  25132. name: filtername
  25133. type: string
  25134. - description: 是否包含子级 1-包含
  25135. in: query
  25136. name: includesub
  25137. type: integer
  25138. produces:
  25139. - application/json
  25140. responses:
  25141. "200":
  25142. description: OK
  25143. schema:
  25144. items:
  25145. $ref: '#/definitions/models.QhjMgrPositionRsp'
  25146. type: array
  25147. "500":
  25148. description: Internal Server Error
  25149. schema:
  25150. $ref: '#/definitions/app.Response'
  25151. security:
  25152. - ApiKeyAuth: []
  25153. summary: 查询持仓汇总
  25154. tags:
  25155. - 大连千海金(PCWeb)
  25156. /QhjSys/QueryAgreementChangeLog:
  25157. get:
  25158. parameters:
  25159. - description: 协议ID
  25160. in: query
  25161. name: agreementid
  25162. type: integer
  25163. - description: 协议版本号
  25164. in: query
  25165. name: agreementversion
  25166. type: integer
  25167. - description: 协议类型 - 1:注册 2:登录 3:交易
  25168. in: query
  25169. name: agreementtype
  25170. type: integer
  25171. - description: 协议编号(模糊匹配)
  25172. in: query
  25173. name: agreementno
  25174. type: string
  25175. - description: 协议名称(模糊匹配)
  25176. in: query
  25177. name: agreementname
  25178. type: string
  25179. produces:
  25180. - application/json
  25181. responses:
  25182. "200":
  25183. description: OK
  25184. schema:
  25185. items:
  25186. $ref: '#/definitions/models.QhjAgreementChangeLog'
  25187. type: array
  25188. "500":
  25189. description: Internal Server Error
  25190. schema:
  25191. $ref: '#/definitions/app.Response'
  25192. security:
  25193. - ApiKeyAuth: []
  25194. summary: 查询协议配置变更流水
  25195. tags:
  25196. - 大连千海金(协议和签约信息)
  25197. /QhjSys/QueryAgreementConfig:
  25198. get:
  25199. parameters:
  25200. - description: 协议ID
  25201. in: query
  25202. name: agreementid
  25203. type: integer
  25204. - description: 协议版本号
  25205. in: query
  25206. name: agreementversion
  25207. type: integer
  25208. - description: 协议类型 - 1:注册 2:登录 3:交易
  25209. in: query
  25210. name: agreementtype
  25211. type: integer
  25212. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  25213. in: query
  25214. name: isvalid
  25215. type: integer
  25216. - description: 协议编号(模糊匹配)
  25217. in: query
  25218. name: agreementno
  25219. type: string
  25220. - description: 协议名称(模糊匹配)
  25221. in: query
  25222. name: agreementname
  25223. type: string
  25224. produces:
  25225. - application/json
  25226. responses:
  25227. "200":
  25228. description: OK
  25229. schema:
  25230. items:
  25231. $ref: '#/definitions/models.QhjAgreementConfig'
  25232. type: array
  25233. "500":
  25234. description: Internal Server Error
  25235. schema:
  25236. $ref: '#/definitions/app.Response'
  25237. security:
  25238. - ApiKeyAuth: []
  25239. summary: 查询协议配置
  25240. tags:
  25241. - 大连千海金(协议和签约信息)
  25242. /QhjSys/QueryCustomerSignStatus:
  25243. get:
  25244. parameters:
  25245. - description: 客户ID
  25246. in: query
  25247. name: userid
  25248. type: integer
  25249. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  25250. in: query
  25251. name: nodetype
  25252. type: integer
  25253. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25254. in: query
  25255. name: goodsid
  25256. type: integer
  25257. - description: 创建交易日(yyyyMMdd)
  25258. in: query
  25259. name: tradedate
  25260. type: string
  25261. - description: 用户名称(模糊匹配)
  25262. in: query
  25263. name: username
  25264. type: string
  25265. produces:
  25266. - application/json
  25267. responses:
  25268. "200":
  25269. description: OK
  25270. schema:
  25271. items:
  25272. $ref: '#/definitions/models.QhjCustomerSignStatus'
  25273. type: array
  25274. "500":
  25275. description: Internal Server Error
  25276. schema:
  25277. $ref: '#/definitions/app.Response'
  25278. security:
  25279. - ApiKeyAuth: []
  25280. summary: 查询客户协议签约状态
  25281. tags:
  25282. - 大连千海金(协议和签约信息)
  25283. /QhjSys/QueryNodeAgreementConfig:
  25284. get:
  25285. parameters:
  25286. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  25287. in: query
  25288. name: configid
  25289. type: integer
  25290. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  25291. in: query
  25292. name: nodetype
  25293. type: integer
  25294. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25295. in: query
  25296. name: goodsid
  25297. type: integer
  25298. - description: 协议ID
  25299. in: query
  25300. name: agreementid
  25301. type: integer
  25302. - description: 协议类型 - 1:注册 2:登录 3:交易
  25303. in: query
  25304. name: agreementtype
  25305. type: integer
  25306. - description: 协议版本号
  25307. in: query
  25308. name: agreementversion
  25309. type: integer
  25310. - description: 协议编号(模糊匹配)
  25311. in: query
  25312. name: agreementno
  25313. type: string
  25314. - description: 协议名称(模糊匹配)
  25315. in: query
  25316. name: agreementname
  25317. type: string
  25318. produces:
  25319. - application/json
  25320. responses:
  25321. "200":
  25322. description: OK
  25323. schema:
  25324. items:
  25325. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  25326. type: array
  25327. "500":
  25328. description: Internal Server Error
  25329. schema:
  25330. $ref: '#/definitions/app.Response'
  25331. security:
  25332. - ApiKeyAuth: []
  25333. summary: 查询协议节点配置
  25334. tags:
  25335. - 大连千海金(协议和签约信息)
  25336. /QhjSys/QueryQhjCustomerSignLog:
  25337. get:
  25338. parameters:
  25339. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  25340. in: query
  25341. name: logid
  25342. type: integer
  25343. - description: 客户ID
  25344. in: query
  25345. name: userid
  25346. type: integer
  25347. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  25348. in: query
  25349. name: nodetype
  25350. type: integer
  25351. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25352. in: query
  25353. name: goodsid
  25354. type: integer
  25355. - description: 协议ID
  25356. in: query
  25357. name: agreementid
  25358. type: integer
  25359. - description: 用户名称(模糊匹配)
  25360. in: query
  25361. name: username
  25362. type: string
  25363. - description: 协议编号(模糊匹配)
  25364. in: query
  25365. name: agreementno
  25366. type: string
  25367. - description: 协议名称(模糊匹配)
  25368. in: query
  25369. name: agreementname
  25370. type: string
  25371. produces:
  25372. - application/json
  25373. responses:
  25374. "200":
  25375. description: OK
  25376. schema:
  25377. items:
  25378. $ref: '#/definitions/models.QhjCustomerSignLog'
  25379. type: array
  25380. "500":
  25381. description: Internal Server Error
  25382. schema:
  25383. $ref: '#/definitions/app.Response'
  25384. security:
  25385. - ApiKeyAuth: []
  25386. summary: 查询客户协议签约流水
  25387. tags:
  25388. - 大连千海金(协议和签约信息)
  25389. /QhjSys/QueryUserNodeCfgAndStatus:
  25390. get:
  25391. parameters:
  25392. - description: 客户ID
  25393. in: query
  25394. name: userid
  25395. type: integer
  25396. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  25397. in: query
  25398. name: configid
  25399. type: integer
  25400. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  25401. in: query
  25402. name: nodetype
  25403. type: string
  25404. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25405. in: query
  25406. name: goodsid
  25407. type: integer
  25408. - description: 协议ID
  25409. in: query
  25410. name: agreementid
  25411. type: integer
  25412. - description: 协议类型 - 1:注册 2:登录 3:交易
  25413. in: query
  25414. name: agreementtype
  25415. type: integer
  25416. - description: 协议版本号
  25417. in: query
  25418. name: agreementversion
  25419. type: integer
  25420. - description: 协议编号(模糊匹配)
  25421. in: query
  25422. name: agreementno
  25423. type: string
  25424. - description: 协议名称(模糊匹配)
  25425. in: query
  25426. name: agreementname
  25427. type: string
  25428. produces:
  25429. - application/json
  25430. responses:
  25431. "200":
  25432. description: OK
  25433. schema:
  25434. items:
  25435. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  25436. type: array
  25437. "500":
  25438. description: Internal Server Error
  25439. schema:
  25440. $ref: '#/definitions/app.Response'
  25441. security:
  25442. - ApiKeyAuth: []
  25443. summary: 查询用户协议节点配置和状态
  25444. tags:
  25445. - 大连千海金(协议和签约信息)
  25446. /Quote/QueryHistoryDatas:
  25447. get:
  25448. parameters:
  25449. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线'
  25450. in: query
  25451. name: cycleType
  25452. required: true
  25453. type: integer
  25454. - description: 商品代码
  25455. in: query
  25456. name: goodsCode
  25457. required: true
  25458. type: string
  25459. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  25460. in: query
  25461. name: startTime
  25462. type: string
  25463. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  25464. in: query
  25465. name: endTime
  25466. type: string
  25467. - description: 条数
  25468. in: query
  25469. name: count
  25470. type: integer
  25471. - description: 是否按时间顺序排序(默认为时间倒序排序)
  25472. in: query
  25473. name: isAsc
  25474. type: boolean
  25475. produces:
  25476. - application/json
  25477. responses:
  25478. "200":
  25479. description: OK
  25480. schema:
  25481. $ref: '#/definitions/quote.HistoryData'
  25482. "500":
  25483. description: Internal Server Error
  25484. schema:
  25485. $ref: '#/definitions/app.Response'
  25486. security:
  25487. - ApiKeyAuth: []
  25488. summary: 查询行情历史数据
  25489. tags:
  25490. - 行情服务
  25491. /Quote/QueryHistoryTikDatas:
  25492. get:
  25493. parameters:
  25494. - description: 商品代码
  25495. in: query
  25496. name: goodsCode
  25497. required: true
  25498. type: string
  25499. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  25500. in: query
  25501. name: startTime
  25502. type: string
  25503. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  25504. in: query
  25505. name: endTime
  25506. type: string
  25507. - description: 条数
  25508. in: query
  25509. name: count
  25510. type: integer
  25511. - description: 是否按时间顺序排序(默认为时间倒序排序)
  25512. in: query
  25513. name: isAsc
  25514. type: boolean
  25515. produces:
  25516. - application/json
  25517. responses:
  25518. "200":
  25519. description: OK
  25520. schema:
  25521. $ref: '#/definitions/quote.HistoryTikData'
  25522. "500":
  25523. description: Internal Server Error
  25524. schema:
  25525. $ref: '#/definitions/app.Response'
  25526. security:
  25527. - ApiKeyAuth: []
  25528. summary: 查询行情Tik数据
  25529. tags:
  25530. - 行情服务
  25531. /Quote/QueryQuoteDay:
  25532. get:
  25533. parameters:
  25534. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  25535. in: query
  25536. name: goodsCodes
  25537. required: true
  25538. type: string
  25539. produces:
  25540. - application/json
  25541. responses:
  25542. "200":
  25543. description: OK
  25544. schema:
  25545. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  25546. "500":
  25547. description: Internal Server Error
  25548. schema:
  25549. $ref: '#/definitions/app.Response'
  25550. security:
  25551. - ApiKeyAuth: []
  25552. summary: 获取商品盘面信息
  25553. tags:
  25554. - 行情服务
  25555. /Quote/QueryTSData:
  25556. get:
  25557. parameters:
  25558. - description: 商品代码
  25559. in: query
  25560. name: goodsCode
  25561. required: true
  25562. type: string
  25563. produces:
  25564. - application/json
  25565. responses:
  25566. "200":
  25567. description: OK
  25568. schema:
  25569. $ref: '#/definitions/quote.QueryTSDataRsp'
  25570. "500":
  25571. description: Internal Server Error
  25572. schema:
  25573. $ref: '#/definitions/app.Response'
  25574. security:
  25575. - ApiKeyAuth: []
  25576. summary: 分时图数据查询
  25577. tags:
  25578. - 行情服务
  25579. /SZDZ/QueryConvertConfig:
  25580. get:
  25581. parameters:
  25582. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)
  25583. in: query
  25584. name: convertType
  25585. type: integer
  25586. - description: 外部商品代码[JD\PD]
  25587. in: query
  25588. name: outerGoodsCode
  25589. type: string
  25590. - description: 内部商品ID列表[交易],格式:1,2,3
  25591. in: query
  25592. name: innerGoodsIDs
  25593. type: string
  25594. produces:
  25595. - application/json
  25596. responses:
  25597. "200":
  25598. description: OK
  25599. schema:
  25600. $ref: '#/definitions/models.Szdz3convertconfig'
  25601. "500":
  25602. description: Internal Server Error
  25603. schema:
  25604. $ref: '#/definitions/app.Response'
  25605. security:
  25606. - ApiKeyAuth: []
  25607. summary: 查询交易系统转换设置
  25608. tags:
  25609. - 定制【尚志大宗】
  25610. /SZDZ/QueryConvertLog:
  25611. get:
  25612. parameters:
  25613. - description: 资金账户 - 格式:1,2,3
  25614. in: query
  25615. name: accountID
  25616. required: true
  25617. type: string
  25618. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  25619. in: query
  25620. name: startDate
  25621. type: string
  25622. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  25623. in: query
  25624. name: endDate
  25625. type: string
  25626. produces:
  25627. - application/json
  25628. responses:
  25629. "200":
  25630. description: OK
  25631. schema:
  25632. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  25633. "500":
  25634. description: Internal Server Error
  25635. schema:
  25636. $ref: '#/definitions/app.Response'
  25637. security:
  25638. - ApiKeyAuth: []
  25639. summary: 交易系统转换流水查询
  25640. tags:
  25641. - 定制【尚志大宗】
  25642. /SZDZ/QueryGoodsPickup:
  25643. get:
  25644. parameters:
  25645. - description: 资金账户 - 格式:1,2,3
  25646. in: query
  25647. name: accountID
  25648. required: true
  25649. type: string
  25650. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  25651. in: query
  25652. name: takeOrderStatus
  25653. type: integer
  25654. produces:
  25655. - application/json
  25656. responses:
  25657. "200":
  25658. description: OK
  25659. schema:
  25660. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  25661. "500":
  25662. description: Internal Server Error
  25663. schema:
  25664. $ref: '#/definitions/app.Response'
  25665. security:
  25666. - ApiKeyAuth: []
  25667. summary: 商品提货单查询
  25668. tags:
  25669. - 定制【尚志大宗】
  25670. /SZDZ/QueryRecieptOrder:
  25671. get:
  25672. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  25673. parameters:
  25674. - description: 页码
  25675. in: query
  25676. name: page
  25677. type: integer
  25678. - description: 每页条数
  25679. in: query
  25680. name: pagesize
  25681. type: integer
  25682. - description: 商品ID
  25683. in: query
  25684. name: goodsID
  25685. required: true
  25686. type: integer
  25687. - description: 所属账户名称
  25688. in: query
  25689. name: accountName
  25690. type: string
  25691. - description: 市场ID
  25692. in: query
  25693. name: marketID
  25694. type: integer
  25695. - description: 方向 - 0:买 1:卖
  25696. in: query
  25697. name: buyorsell
  25698. required: true
  25699. type: integer
  25700. produces:
  25701. - application/json
  25702. responses:
  25703. "200":
  25704. description: OK
  25705. schema:
  25706. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  25707. "500":
  25708. description: Internal Server Error
  25709. schema:
  25710. $ref: '#/definitions/app.Response'
  25711. security:
  25712. - ApiKeyAuth: []
  25713. summary: 点选挂牌委托单据查询(摘牌大厅)
  25714. tags:
  25715. - 定制【尚志大宗】
  25716. /SZDZ/QuerySZDZTradePosition:
  25717. get:
  25718. parameters:
  25719. - description: 资金账户
  25720. in: query
  25721. name: accountID
  25722. required: true
  25723. type: integer
  25724. produces:
  25725. - application/json
  25726. responses:
  25727. "200":
  25728. description: OK
  25729. schema:
  25730. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  25731. "500":
  25732. description: Internal Server Error
  25733. schema:
  25734. $ref: '#/definitions/app.Response'
  25735. security:
  25736. - ApiKeyAuth: []
  25737. summary: 持仓汇总查询(尚志大宗)
  25738. tags:
  25739. - 定制【尚志大宗】
  25740. /SZDZ/SearchWhite:
  25741. get:
  25742. parameters:
  25743. - description: 用户ID
  25744. in: query
  25745. name: userID
  25746. required: true
  25747. type: integer
  25748. produces:
  25749. - application/json
  25750. responses:
  25751. "200":
  25752. description: OK
  25753. schema:
  25754. $ref: '#/definitions/models.Szdz3searchwhitelist'
  25755. "500":
  25756. description: Internal Server Error
  25757. schema:
  25758. $ref: '#/definitions/app.Response'
  25759. security:
  25760. - ApiKeyAuth: []
  25761. summary: 搜索白名单
  25762. tags:
  25763. - 定制【尚志大宗】
  25764. /Search/SearchGoodses:
  25765. get:
  25766. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  25767. parameters:
  25768. - description: 检索内容
  25769. in: query
  25770. name: content
  25771. required: true
  25772. type: string
  25773. - description: 交易模式,格式:1,2,3
  25774. in: query
  25775. name: tradeModes
  25776. type: string
  25777. produces:
  25778. - application/json
  25779. responses:
  25780. "200":
  25781. description: OK
  25782. schema:
  25783. $ref: '#/definitions/models.SearchGoods'
  25784. "500":
  25785. description: Internal Server Error
  25786. schema:
  25787. $ref: '#/definitions/app.Response'
  25788. summary: 检索商品信息
  25789. tags:
  25790. - 检索服务
  25791. /TaAccount/GetTaAccounts:
  25792. get:
  25793. parameters:
  25794. - description: 登录账户
  25795. in: query
  25796. name: loginID
  25797. required: true
  25798. type: integer
  25799. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  25800. in: query
  25801. name: taAccountType
  25802. type: integer
  25803. produces:
  25804. - application/json
  25805. responses:
  25806. "200":
  25807. description: OK
  25808. schema:
  25809. $ref: '#/definitions/models.Taaccount'
  25810. "500":
  25811. description: Internal Server Error
  25812. schema:
  25813. $ref: '#/definitions/app.Response'
  25814. security:
  25815. - ApiKeyAuth: []
  25816. summary: 获取资金账户信息
  25817. tags:
  25818. - 资金账户
  25819. /TaAccount/QueryAmountLog:
  25820. get:
  25821. parameters:
  25822. - description: 页码
  25823. in: query
  25824. name: page
  25825. type: integer
  25826. - description: 每页条数
  25827. in: query
  25828. name: pagesize
  25829. type: integer
  25830. - description: 资金账户 - 格式:1,2,3
  25831. in: query
  25832. name: accountID
  25833. required: true
  25834. type: string
  25835. - description: 资金操作类型 - 格式:1,2,3
  25836. in: query
  25837. name: OperateType
  25838. type: string
  25839. produces:
  25840. - application/json
  25841. responses:
  25842. "200":
  25843. description: OK
  25844. schema:
  25845. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  25846. "500":
  25847. description: Internal Server Error
  25848. schema:
  25849. $ref: '#/definitions/app.Response'
  25850. security:
  25851. - ApiKeyAuth: []
  25852. summary: 资金流水查询(当前)
  25853. tags:
  25854. - 资金账户
  25855. /TaAccount/QueryHisAmountLog:
  25856. get:
  25857. parameters:
  25858. - description: 页码
  25859. in: query
  25860. name: page
  25861. type: integer
  25862. - description: 每页条数
  25863. in: query
  25864. name: pagesize
  25865. type: integer
  25866. - description: 资金账户 - 格式:1,2,3
  25867. in: query
  25868. name: accountID
  25869. required: true
  25870. type: string
  25871. - description: 资金操作类型 - 格式:1,2,3
  25872. in: query
  25873. name: OperateType
  25874. type: string
  25875. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  25876. in: query
  25877. name: startDate
  25878. type: string
  25879. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  25880. in: query
  25881. name: endDate
  25882. type: string
  25883. produces:
  25884. - application/json
  25885. responses:
  25886. "200":
  25887. description: OK
  25888. schema:
  25889. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  25890. "500":
  25891. description: Internal Server Error
  25892. schema:
  25893. $ref: '#/definitions/app.Response'
  25894. security:
  25895. - ApiKeyAuth: []
  25896. summary: 资金流水查询(历史)
  25897. tags:
  25898. - 资金账户
  25899. /Tjmd/QueryQuoteGoodsList:
  25900. get:
  25901. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  25902. parameters:
  25903. - description: 用户类型
  25904. in: query
  25905. name: usertype
  25906. required: true
  25907. type: integer
  25908. - description: 市场id, 格式 1,2,3
  25909. in: query
  25910. name: marketids
  25911. type: string
  25912. - description: 商品组id
  25913. in: query
  25914. name: goodsgroupid
  25915. type: integer
  25916. - description: 商品id
  25917. in: query
  25918. name: goodsid
  25919. type: integer
  25920. produces:
  25921. - application/json
  25922. responses:
  25923. "200":
  25924. description: OK
  25925. schema:
  25926. items:
  25927. $ref: '#/definitions/models.TjmdQuoteGoods'
  25928. type: array
  25929. "500":
  25930. description: Internal Server Error
  25931. schema:
  25932. $ref: '#/definitions/app.Response'
  25933. security:
  25934. - ApiKeyAuth: []
  25935. summary: 查询掉期报价列表
  25936. tags:
  25937. - 天津麦顿
  25938. /Tjmd/QueryTjmdTodayAccountMargin:
  25939. get:
  25940. parameters:
  25941. - description: 市场id
  25942. in: query
  25943. name: marketid
  25944. type: string
  25945. - description: 商品id
  25946. in: query
  25947. name: goodsid
  25948. type: string
  25949. - description: 资金账号
  25950. in: query
  25951. name: accountid
  25952. type: string
  25953. produces:
  25954. - application/json
  25955. responses:
  25956. "200":
  25957. description: OK
  25958. schema:
  25959. items:
  25960. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  25961. type: array
  25962. "500":
  25963. description: Internal Server Error
  25964. schema:
  25965. $ref: '#/definitions/app.Response'
  25966. security:
  25967. - ApiKeyAuth: []
  25968. summary: 查询今日账户保证金配置
  25969. tags:
  25970. - 天津麦顿
  25971. /Tjmd/QueryTjmdTradeOrderDetail:
  25972. get:
  25973. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  25974. parameters:
  25975. - description: 页码
  25976. in: query
  25977. name: page
  25978. type: integer
  25979. - description: 每页条数
  25980. in: query
  25981. name: pagesize
  25982. type: integer
  25983. - description: 用户id
  25984. in: query
  25985. name: userid
  25986. required: true
  25987. type: integer
  25988. - description: 用户类型
  25989. in: query
  25990. name: usertype
  25991. required: true
  25992. type: integer
  25993. - description: 市场id, 格式 1,2,3
  25994. in: query
  25995. name: marketids
  25996. type: string
  25997. - description: 商品id
  25998. in: query
  25999. name: goodsid
  26000. required: true
  26001. type: integer
  26002. - description: 买卖方向 0-买 1-卖
  26003. in: query
  26004. name: buyorsell
  26005. required: true
  26006. type: integer
  26007. produces:
  26008. - application/json
  26009. responses:
  26010. "200":
  26011. description: OK
  26012. schema:
  26013. items:
  26014. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  26015. type: array
  26016. "500":
  26017. description: Internal Server Error
  26018. schema:
  26019. $ref: '#/definitions/app.Response'
  26020. security:
  26021. - ApiKeyAuth: []
  26022. summary: 查询掉期买卖大厅
  26023. tags:
  26024. - 天津麦顿
  26025. /Tjmd/QueryTjmdTransferApply:
  26026. get:
  26027. parameters:
  26028. - description: 类型 1-我的申请 2-对方申请
  26029. in: query
  26030. name: applytype
  26031. required: true
  26032. type: integer
  26033. - description: 市场id, 格式 1,2,3
  26034. in: query
  26035. name: marketids
  26036. type: string
  26037. - description: 资金账号, 格式 25000000001,25000000003
  26038. in: query
  26039. name: accountids
  26040. type: string
  26041. produces:
  26042. - application/json
  26043. responses:
  26044. "200":
  26045. description: OK
  26046. schema:
  26047. items:
  26048. $ref: '#/definitions/models.TjmdTransferApply'
  26049. type: array
  26050. "500":
  26051. description: Internal Server Error
  26052. schema:
  26053. $ref: '#/definitions/app.Response'
  26054. security:
  26055. - ApiKeyAuth: []
  26056. summary: 查询掉期协议单
  26057. tags:
  26058. - 天津麦顿
  26059. /Trade/QueryRecieptOrder:
  26060. get:
  26061. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  26062. parameters:
  26063. - description: 页码
  26064. in: query
  26065. name: page
  26066. type: integer
  26067. - description: 每页条数
  26068. in: query
  26069. name: pagesize
  26070. type: integer
  26071. - description: 商品ID
  26072. in: query
  26073. name: goodsID
  26074. required: true
  26075. type: integer
  26076. - description: 所属账户名称
  26077. in: query
  26078. name: accountName
  26079. type: string
  26080. - description: 市场ID
  26081. in: query
  26082. name: marketID
  26083. type: integer
  26084. - description: 方向 - 0:买 1:卖
  26085. in: query
  26086. name: buyorsell
  26087. required: true
  26088. type: integer
  26089. produces:
  26090. - application/json
  26091. responses:
  26092. "200":
  26093. description: OK
  26094. schema:
  26095. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  26096. "500":
  26097. description: Internal Server Error
  26098. schema:
  26099. $ref: '#/definitions/app.Response'
  26100. security:
  26101. - ApiKeyAuth: []
  26102. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  26103. tags:
  26104. - 通用交易
  26105. /User/AddMessageBoard:
  26106. post:
  26107. parameters:
  26108. - description: 用户ID
  26109. in: query
  26110. name: userID
  26111. required: true
  26112. type: integer
  26113. - description: 留言信息
  26114. in: query
  26115. name: message
  26116. required: true
  26117. type: string
  26118. - description: 联系电话
  26119. in: query
  26120. name: contactNum
  26121. required: true
  26122. type: string
  26123. produces:
  26124. - application/json
  26125. responses:
  26126. "200":
  26127. description: OK
  26128. schema:
  26129. $ref: '#/definitions/app.Response'
  26130. "500":
  26131. description: Internal Server Error
  26132. schema:
  26133. $ref: '#/definitions/app.Response'
  26134. security:
  26135. - ApiKeyAuth: []
  26136. summary: 添加用户留言板信息
  26137. tags:
  26138. - 用户信息
  26139. /User/AddUserFavoriteGoods:
  26140. post:
  26141. parameters:
  26142. - description: 用户ID
  26143. in: query
  26144. name: userID
  26145. required: true
  26146. type: integer
  26147. - description: 商品ID
  26148. in: query
  26149. name: goodsID
  26150. required: true
  26151. type: integer
  26152. produces:
  26153. - application/json
  26154. responses:
  26155. "200":
  26156. description: OK
  26157. schema:
  26158. $ref: '#/definitions/app.Response'
  26159. "500":
  26160. description: Internal Server Error
  26161. schema:
  26162. $ref: '#/definitions/app.Response'
  26163. security:
  26164. - ApiKeyAuth: []
  26165. summary: 添加用户商品收藏信息
  26166. tags:
  26167. - 用户信息
  26168. /User/GetLoginID:
  26169. get:
  26170. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  26171. parameters:
  26172. - description: 登录代码
  26173. in: query
  26174. name: username
  26175. required: true
  26176. type: string
  26177. produces:
  26178. - application/json
  26179. responses:
  26180. "200":
  26181. description: OK
  26182. schema:
  26183. $ref: '#/definitions/app.Response'
  26184. "500":
  26185. description: Internal Server Error
  26186. schema:
  26187. $ref: '#/definitions/app.Response'
  26188. summary: 获取登录ID
  26189. tags:
  26190. - 用户信息
  26191. /User/GetUserAccount:
  26192. get:
  26193. parameters:
  26194. - description: 用户ID
  26195. in: query
  26196. name: userID
  26197. required: true
  26198. type: integer
  26199. produces:
  26200. - application/json
  26201. responses:
  26202. "200":
  26203. description: OK
  26204. schema:
  26205. $ref: '#/definitions/models.Useraccount'
  26206. "500":
  26207. description: Internal Server Error
  26208. schema:
  26209. $ref: '#/definitions/app.Response'
  26210. security:
  26211. - ApiKeyAuth: []
  26212. summary: 获取用户账号信息
  26213. tags:
  26214. - 用户信息
  26215. /User/GetUserAuthStatus:
  26216. get:
  26217. parameters:
  26218. - description: 用户ID
  26219. in: query
  26220. name: userID
  26221. required: true
  26222. type: integer
  26223. produces:
  26224. - application/json
  26225. responses:
  26226. "200":
  26227. description: OK
  26228. schema:
  26229. $ref: '#/definitions/app.Response'
  26230. "500":
  26231. description: Internal Server Error
  26232. schema:
  26233. $ref: '#/definitions/app.Response'
  26234. security:
  26235. - ApiKeyAuth: []
  26236. summary: 获取用户实名认证状态
  26237. tags:
  26238. - 用户信息
  26239. /User/LoginQuery:
  26240. get:
  26241. parameters:
  26242. - description: 登录账号
  26243. in: query
  26244. name: loginID
  26245. required: true
  26246. type: integer
  26247. produces:
  26248. - application/json
  26249. responses:
  26250. "200":
  26251. description: OK
  26252. schema:
  26253. $ref: '#/definitions/user.LoginQueryRsp'
  26254. "500":
  26255. description: Internal Server Error
  26256. schema:
  26257. $ref: '#/definitions/app.Response'
  26258. security:
  26259. - ApiKeyAuth: []
  26260. summary: 账户登录后信息查询
  26261. tags:
  26262. - 用户信息
  26263. /User/QueryMessageBoard:
  26264. get:
  26265. parameters:
  26266. - description: 用户ID
  26267. in: query
  26268. name: userID
  26269. required: true
  26270. type: integer
  26271. produces:
  26272. - application/json
  26273. responses:
  26274. "200":
  26275. description: OK
  26276. schema:
  26277. $ref: '#/definitions/models.Messageboard'
  26278. "500":
  26279. description: Internal Server Error
  26280. schema:
  26281. $ref: '#/definitions/app.Response'
  26282. security:
  26283. - ApiKeyAuth: []
  26284. summary: 获取用户留言板信息
  26285. tags:
  26286. - 用户信息
  26287. /User/QueryUserFavoriteGoodses:
  26288. get:
  26289. parameters:
  26290. - description: 用户ID
  26291. in: query
  26292. name: userID
  26293. required: true
  26294. type: integer
  26295. produces:
  26296. - application/json
  26297. responses:
  26298. "200":
  26299. description: OK
  26300. schema:
  26301. $ref: '#/definitions/models.Userfavoritegoods'
  26302. "500":
  26303. description: Internal Server Error
  26304. schema:
  26305. $ref: '#/definitions/app.Response'
  26306. security:
  26307. - ApiKeyAuth: []
  26308. summary: 获取用户商品收藏信息
  26309. tags:
  26310. - 用户信息
  26311. /User/QueryUserInfo:
  26312. get:
  26313. parameters:
  26314. - description: 用户ID
  26315. in: query
  26316. name: userID
  26317. required: true
  26318. type: integer
  26319. - description: 是否解密
  26320. in: query
  26321. name: isDecrypt
  26322. type: boolean
  26323. produces:
  26324. - application/json
  26325. responses:
  26326. "200":
  26327. description: OK
  26328. schema:
  26329. $ref: '#/definitions/models.Userinfo'
  26330. "500":
  26331. description: Internal Server Error
  26332. schema:
  26333. $ref: '#/definitions/app.Response'
  26334. security:
  26335. - ApiKeyAuth: []
  26336. summary: 获取用户信息
  26337. tags:
  26338. - 用户信息
  26339. /User/QueryUserReferNum:
  26340. get:
  26341. parameters:
  26342. - description: 用户ID
  26343. in: query
  26344. name: userID
  26345. required: true
  26346. type: integer
  26347. produces:
  26348. - application/json
  26349. responses:
  26350. "200":
  26351. description: OK
  26352. schema:
  26353. $ref: '#/definitions/app.Response'
  26354. "500":
  26355. description: Internal Server Error
  26356. schema:
  26357. $ref: '#/definitions/app.Response'
  26358. summary: 获取用户邀请码
  26359. tags:
  26360. - 用户信息
  26361. /User/RemoveUserFavoriteGoods:
  26362. post:
  26363. parameters:
  26364. - description: 用户ID
  26365. in: query
  26366. name: userID
  26367. required: true
  26368. type: integer
  26369. - description: 商品ID
  26370. in: query
  26371. name: goodsID
  26372. required: true
  26373. type: integer
  26374. produces:
  26375. - application/json
  26376. responses:
  26377. "200":
  26378. description: OK
  26379. schema:
  26380. $ref: '#/definitions/app.Response'
  26381. "500":
  26382. description: Internal Server Error
  26383. schema:
  26384. $ref: '#/definitions/app.Response'
  26385. security:
  26386. - ApiKeyAuth: []
  26387. summary: 移除用户商品收藏信息
  26388. tags:
  26389. - 用户信息
  26390. /User/UpdateUserAccountStatus:
  26391. post:
  26392. parameters:
  26393. - description: 用户ID
  26394. in: query
  26395. name: userID
  26396. required: true
  26397. type: integer
  26398. - description: 账户状态 - 4:正常 6:注销(停用)
  26399. in: query
  26400. name: accountStatus
  26401. required: true
  26402. type: integer
  26403. produces:
  26404. - application/json
  26405. responses:
  26406. "200":
  26407. description: OK
  26408. schema:
  26409. $ref: '#/definitions/app.Response'
  26410. "500":
  26411. description: Internal Server Error
  26412. schema:
  26413. $ref: '#/definitions/app.Response'
  26414. security:
  26415. - ApiKeyAuth: []
  26416. summary: 更新用户状态
  26417. tags:
  26418. - 用户信息
  26419. /WRTrade/GetAllDeliveryGoods:
  26420. get:
  26421. produces:
  26422. - application/json
  26423. - application/json
  26424. responses:
  26425. "200":
  26426. description: OK
  26427. schema:
  26428. $ref: '#/definitions/app.Response'
  26429. "500":
  26430. description: Internal Server Error
  26431. schema:
  26432. $ref: '#/definitions/app.Response'
  26433. security:
  26434. - ApiKeyAuth: []
  26435. - ApiKeyAuth: []
  26436. summary: 获取带仓单分类的种类信息
  26437. tags:
  26438. - 仓单贸易
  26439. - 仓单贸易
  26440. /WrTrade2/QueryDeliveryGoodsSection:
  26441. get:
  26442. produces:
  26443. - application/json
  26444. responses:
  26445. "200":
  26446. description: OK
  26447. schema:
  26448. items:
  26449. $ref: '#/definitions/models.WrDeliveryGoodsSection'
  26450. type: array
  26451. "500":
  26452. description: Internal Server Error
  26453. schema:
  26454. $ref: '#/definitions/app.Response'
  26455. security:
  26456. - ApiKeyAuth: []
  26457. summary: 查询板块(分类)
  26458. tags:
  26459. - 仓单贸易v2
  26460. /WrTrade2/QueryFaProductDetail:
  26461. get:
  26462. description: 页面 买卖大厅 -> 选择融资方案
  26463. parameters:
  26464. - description: 仓单要素id
  26465. in: query
  26466. name: wrfactortypeid
  26467. required: true
  26468. type: integer
  26469. produces:
  26470. - application/json
  26471. responses:
  26472. "200":
  26473. description: OK
  26474. schema:
  26475. items:
  26476. $ref: '#/definitions/models.WrFAProductDetail'
  26477. type: array
  26478. "500":
  26479. description: Internal Server Error
  26480. schema:
  26481. $ref: '#/definitions/app.Response'
  26482. security:
  26483. - ApiKeyAuth: []
  26484. summary: 查询融资产品列表
  26485. tags:
  26486. - 仓单贸易v2
  26487. /WrTrade2/QueryFilterItem:
  26488. get:
  26489. parameters:
  26490. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  26491. in: query
  26492. name: itype
  26493. required: true
  26494. type: string
  26495. produces:
  26496. - application/json
  26497. responses:
  26498. "200":
  26499. description: OK
  26500. schema:
  26501. items:
  26502. $ref: '#/definitions/models.WrFilterItem'
  26503. type: array
  26504. "500":
  26505. description: Internal Server Error
  26506. schema:
  26507. $ref: '#/definitions/app.Response'
  26508. security:
  26509. - ApiKeyAuth: []
  26510. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  26511. tags:
  26512. - 仓单贸易v2
  26513. /WrTrade2/QueryFtDeliveryGoods:
  26514. get:
  26515. produces:
  26516. - application/json
  26517. responses:
  26518. "200":
  26519. description: OK
  26520. schema:
  26521. items:
  26522. $ref: '#/definitions/models.WrFtDeliveryGoods'
  26523. type: array
  26524. "500":
  26525. description: Internal Server Error
  26526. schema:
  26527. $ref: '#/definitions/app.Response'
  26528. security:
  26529. - ApiKeyAuth: []
  26530. summary: 查询品种品类筛选框列表
  26531. tags:
  26532. - 仓单贸易v2
  26533. /WrTrade2/QueryHoldLB:
  26534. get:
  26535. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  26536. parameters:
  26537. - description: 资金账号
  26538. in: query
  26539. name: accountid
  26540. required: true
  26541. type: integer
  26542. - description: 仓库id
  26543. in: query
  26544. name: warehouseid
  26545. type: integer
  26546. - description: 品种id
  26547. in: query
  26548. name: deliverygoodsid
  26549. type: integer
  26550. - description: 品类id
  26551. in: query
  26552. name: wrstandardid
  26553. type: integer
  26554. - description: 仓单要素id
  26555. in: query
  26556. name: wrfactortypeid
  26557. type: integer
  26558. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  26559. in: query
  26560. name: dgitemname
  26561. type: string
  26562. produces:
  26563. - application/json
  26564. responses:
  26565. "200":
  26566. description: OK
  26567. schema:
  26568. items:
  26569. $ref: '#/definitions/models.WrHoldLB'
  26570. type: array
  26571. "500":
  26572. description: Internal Server Error
  26573. schema:
  26574. $ref: '#/definitions/app.Response'
  26575. security:
  26576. - ApiKeyAuth: []
  26577. summary: 查询仓单持有记录
  26578. tags:
  26579. - 仓单贸易v2
  26580. /WrTrade2/QueryOrderQuote:
  26581. get:
  26582. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth 唯一确定1条记录
  26583. parameters:
  26584. - description: 页码
  26585. in: query
  26586. name: page
  26587. type: integer
  26588. - description: 每页条数
  26589. in: query
  26590. name: pagesize
  26591. type: integer
  26592. - description: 仓单贸易市场id
  26593. in: query
  26594. name: marketid
  26595. type: integer
  26596. - description: 价格方式 - 1:固定价 2-浮动价
  26597. in: query
  26598. name: wrpricetype
  26599. required: true
  26600. type: integer
  26601. - description: 0:仓单预售 1:仓单贸易
  26602. in: query
  26603. name: haswr
  26604. required: true
  26605. type: integer
  26606. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  26607. in: query
  26608. name: dgitemname
  26609. type: string
  26610. - description: 仓库id(筛选条件)
  26611. in: query
  26612. name: warehouseid
  26613. type: integer
  26614. - description: 品种id
  26615. in: query
  26616. name: deliverygoodsid
  26617. type: integer
  26618. - description: 品类id
  26619. in: query
  26620. name: wrstandardid
  26621. type: integer
  26622. - description: 仓单要素id
  26623. in: query
  26624. name: wrfactortypeid
  26625. type: integer
  26626. - description: 交收月(yyyy-mm) 仓单预售填写
  26627. in: query
  26628. name: deliverymonth
  26629. type: string
  26630. produces:
  26631. - application/json
  26632. responses:
  26633. "200":
  26634. description: OK
  26635. schema:
  26636. items:
  26637. $ref: '#/definitions/models.WrOrderQuote'
  26638. type: array
  26639. "500":
  26640. description: Internal Server Error
  26641. schema:
  26642. $ref: '#/definitions/app.Response'
  26643. security:
  26644. - ApiKeyAuth: []
  26645. summary: 查询大厅行情列表
  26646. tags:
  26647. - 仓单贸易v2
  26648. /WrTrade2/QueryOrderQuoteDetail:
  26649. get:
  26650. parameters:
  26651. - description: 页码
  26652. in: query
  26653. name: page
  26654. type: integer
  26655. - description: 每页条数
  26656. in: query
  26657. name: pagesize
  26658. type: integer
  26659. - description: 仓单贸易市场id
  26660. in: query
  26661. name: marketid
  26662. type: integer
  26663. - description: 价格方式 - 1:固定价 2-浮动价
  26664. in: query
  26665. name: wrpricetype
  26666. required: true
  26667. type: integer
  26668. - description: 0:仓单预售 1:仓单贸易
  26669. in: query
  26670. name: haswr
  26671. required: true
  26672. type: integer
  26673. - description: 仓单要素id
  26674. in: query
  26675. name: wrfactortypeid
  26676. required: true
  26677. type: integer
  26678. - description: 期货商品id(浮动价方式时填)
  26679. in: query
  26680. name: goodsid
  26681. type: integer
  26682. - description: 买卖方向 0-买 1-卖
  26683. in: query
  26684. name: buyorsell
  26685. required: true
  26686. type: integer
  26687. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  26688. in: query
  26689. name: deliverymonth
  26690. type: string
  26691. produces:
  26692. - application/json
  26693. responses:
  26694. "200":
  26695. description: OK
  26696. schema:
  26697. items:
  26698. $ref: '#/definitions/models.WrOrderQuoteDetail'
  26699. type: array
  26700. "500":
  26701. description: Internal Server Error
  26702. schema:
  26703. $ref: '#/definitions/app.Response'
  26704. security:
  26705. - ApiKeyAuth: []
  26706. summary: 查询买卖大厅
  26707. tags:
  26708. - 仓单贸易v2
  26709. /WrTrade2/QueryOrderQuoteMyq:
  26710. get:
  26711. parameters:
  26712. - description: 页码
  26713. in: query
  26714. name: page
  26715. type: integer
  26716. - description: 每页条数
  26717. in: query
  26718. name: pagesize
  26719. type: integer
  26720. - description: 用户id
  26721. in: query
  26722. name: userid
  26723. required: true
  26724. type: integer
  26725. - description: 仓单贸易市场id
  26726. in: query
  26727. name: marketid
  26728. type: integer
  26729. - description: 0:仓单预售 1:仓单贸易
  26730. in: query
  26731. name: haswr
  26732. required: true
  26733. type: integer
  26734. - description: 买卖方向 0-买 1-卖
  26735. in: query
  26736. name: buyorsell
  26737. required: true
  26738. type: integer
  26739. - description: 品种id
  26740. in: query
  26741. name: deliverygoodsid
  26742. type: integer
  26743. - description: 品类id
  26744. in: query
  26745. name: wrstandardid
  26746. type: integer
  26747. - description: 交收月(yyyy-mm) 仓单预售填写
  26748. in: query
  26749. name: deliverymonth
  26750. type: string
  26751. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  26752. in: query
  26753. name: dgitemname
  26754. type: string
  26755. produces:
  26756. - application/json
  26757. responses:
  26758. "200":
  26759. description: OK
  26760. schema:
  26761. items:
  26762. $ref: '#/definitions/models.WrQuoteOrderMyq'
  26763. type: array
  26764. "500":
  26765. description: Internal Server Error
  26766. schema:
  26767. $ref: '#/definitions/app.Response'
  26768. security:
  26769. - ApiKeyAuth: []
  26770. summary: 查询贸易圈挂牌大厅
  26771. tags:
  26772. - 仓单贸易v2
  26773. /WrTrade2/QueryPerformancePlan:
  26774. get:
  26775. parameters:
  26776. - description: 用户id
  26777. in: query
  26778. name: userid
  26779. required: true
  26780. type: integer
  26781. - description: 买卖方向 0-买 1-卖
  26782. in: query
  26783. name: buyorsell
  26784. required: true
  26785. type: integer
  26786. produces:
  26787. - application/json
  26788. responses:
  26789. "200":
  26790. description: OK
  26791. schema:
  26792. items:
  26793. $ref: '#/definitions/models.WrPerformancePlan'
  26794. type: array
  26795. "500":
  26796. description: Internal Server Error
  26797. schema:
  26798. $ref: '#/definitions/app.Response'
  26799. security:
  26800. - ApiKeyAuth: []
  26801. summary: 查询履约信息
  26802. tags:
  26803. - 仓单贸易v2
  26804. /WrTrade2/QueryPermancePlanTmp:
  26805. get:
  26806. description: 返回指定用户的模板和公共模板(用户id为空)
  26807. parameters:
  26808. - description: 用户id
  26809. in: query
  26810. name: userid
  26811. type: integer
  26812. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  26813. in: query
  26814. name: tmptype
  26815. type: string
  26816. - description: 是否包含公共模板(用户id为空的) 1-包含
  26817. in: query
  26818. name: includepub
  26819. type: integer
  26820. produces:
  26821. - application/json
  26822. responses:
  26823. "200":
  26824. description: OK
  26825. schema:
  26826. items:
  26827. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  26828. type: array
  26829. "500":
  26830. description: Internal Server Error
  26831. schema:
  26832. $ref: '#/definitions/app.Response'
  26833. security:
  26834. - ApiKeyAuth: []
  26835. summary: 查询履约模板
  26836. tags:
  26837. - 仓单贸易v2
  26838. /WrTrade2/QuerySiteColumnDetail:
  26839. get:
  26840. parameters:
  26841. - description: 页码
  26842. in: query
  26843. name: page
  26844. type: integer
  26845. - description: 每页条数
  26846. in: query
  26847. name: pagesize
  26848. type: integer
  26849. produces:
  26850. - application/json
  26851. responses:
  26852. "200":
  26853. description: OK
  26854. schema:
  26855. items:
  26856. $ref: '#/definitions/models.WrSiteColumnDetail'
  26857. type: array
  26858. "500":
  26859. description: Internal Server Error
  26860. schema:
  26861. $ref: '#/definitions/app.Response'
  26862. security:
  26863. - ApiKeyAuth: []
  26864. summary: 查询资讯
  26865. tags:
  26866. - 仓单贸易v2
  26867. /WrTrade2/QuerySpotGroupTradeSum:
  26868. get:
  26869. produces:
  26870. - application/json
  26871. responses:
  26872. "200":
  26873. description: OK
  26874. schema:
  26875. items:
  26876. $ref: '#/definitions/models.WrSpotGroupTradeSumEx'
  26877. type: array
  26878. "500":
  26879. description: Internal Server Error
  26880. schema:
  26881. $ref: '#/definitions/app.Response'
  26882. security:
  26883. - ApiKeyAuth: []
  26884. summary: 查询指数
  26885. tags:
  26886. - 仓单贸易v2
  26887. /WrTrade2/QuerySpotGroupTradeSumDetail:
  26888. get:
  26889. description: 查询的结果将会按日期 从小到大 排序
  26890. parameters:
  26891. - description: 现货商品id
  26892. in: query
  26893. name: deliverygoodsid
  26894. required: true
  26895. type: integer
  26896. - description: 查询最新多少条记录(如不填写此项, 默认查30条)
  26897. in: query
  26898. name: lastnum
  26899. type: integer
  26900. produces:
  26901. - application/json
  26902. responses:
  26903. "200":
  26904. description: OK
  26905. schema:
  26906. items:
  26907. $ref: '#/definitions/models.WrSpotGroupTradeSumDetail'
  26908. type: array
  26909. "500":
  26910. description: Internal Server Error
  26911. schema:
  26912. $ref: '#/definitions/app.Response'
  26913. security:
  26914. - ApiKeyAuth: []
  26915. summary: 查询指数详细(价格走势图)
  26916. tags:
  26917. - 仓单贸易v2
  26918. /WrTrade2/QueryWrAverageTradePrice:
  26919. get:
  26920. parameters:
  26921. - description: 页码
  26922. in: query
  26923. name: page
  26924. type: integer
  26925. - description: 每页条数
  26926. in: query
  26927. name: pagesize
  26928. type: integer
  26929. - description: 0:仓单预售 1:仓单贸易
  26930. in: query
  26931. name: haswr
  26932. required: true
  26933. type: integer
  26934. - description: 仓单要素id
  26935. in: query
  26936. name: wrfactortypeid
  26937. required: true
  26938. type: integer
  26939. produces:
  26940. - application/json
  26941. responses:
  26942. "200":
  26943. description: OK
  26944. schema:
  26945. items:
  26946. $ref: '#/definitions/models.WrAverageTradePrice'
  26947. type: array
  26948. "500":
  26949. description: Internal Server Error
  26950. schema:
  26951. $ref: '#/definitions/app.Response'
  26952. security:
  26953. - ApiKeyAuth: []
  26954. summary: 查询成交价(历史走势)
  26955. tags:
  26956. - 仓单贸易v2
  26957. /WrTrade2/QueryWrBsGoodsInfo:
  26958. get:
  26959. description: 合约交易/买卖大厅/详情
  26960. parameters:
  26961. - description: 商品id
  26962. in: query
  26963. name: goodsid
  26964. required: true
  26965. type: integer
  26966. produces:
  26967. - application/json
  26968. responses:
  26969. "200":
  26970. description: OK
  26971. schema:
  26972. items:
  26973. $ref: '#/definitions/models.WrBsGoodsInfo'
  26974. type: array
  26975. "500":
  26976. description: Internal Server Error
  26977. schema:
  26978. $ref: '#/definitions/app.Response'
  26979. security:
  26980. - ApiKeyAuth: []
  26981. summary: 查询合约交易买卖大厅详情
  26982. tags:
  26983. - 仓单贸易v2
  26984. /WrTrade2/QueryWrBuybackDetail:
  26985. get:
  26986. parameters:
  26987. - description: 融资合同id
  26988. in: query
  26989. name: scfcontractid
  26990. type: integer
  26991. produces:
  26992. - application/json
  26993. responses:
  26994. "200":
  26995. description: OK
  26996. schema:
  26997. items:
  26998. $ref: '#/definitions/models.WrBuybackDetail'
  26999. type: array
  27000. "500":
  27001. description: Internal Server Error
  27002. schema:
  27003. $ref: '#/definitions/app.Response'
  27004. security:
  27005. - ApiKeyAuth: []
  27006. summary: 查询仓单回购明细
  27007. tags:
  27008. - 仓单贸易v2
  27009. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  27010. get:
  27011. parameters:
  27012. - description: 资金账号
  27013. in: query
  27014. name: accountid
  27015. required: true
  27016. type: integer
  27017. - description: 商品id
  27018. in: query
  27019. name: goodsid
  27020. required: true
  27021. type: integer
  27022. produces:
  27023. - application/json
  27024. responses:
  27025. "200":
  27026. description: OK
  27027. schema:
  27028. items:
  27029. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  27030. type: array
  27031. "500":
  27032. description: Internal Server Error
  27033. schema:
  27034. $ref: '#/definitions/app.Response'
  27035. security:
  27036. - ApiKeyAuth: []
  27037. summary: 查询合约交收可点选仓单
  27038. tags:
  27039. - 仓单贸易v2
  27040. /WrTrade2/QueryWrDeliveryDetail:
  27041. get:
  27042. parameters:
  27043. - description: 用户id
  27044. in: query
  27045. name: userid
  27046. required: true
  27047. type: integer
  27048. - description: 资金账号id
  27049. in: query
  27050. name: accountid
  27051. type: integer
  27052. produces:
  27053. - application/json
  27054. responses:
  27055. "200":
  27056. description: OK
  27057. schema:
  27058. items:
  27059. $ref: '#/definitions/models.WrDeliveryDetail'
  27060. type: array
  27061. "500":
  27062. description: Internal Server Error
  27063. schema:
  27064. $ref: '#/definitions/app.Response'
  27065. security:
  27066. - ApiKeyAuth: []
  27067. summary: 查询交收
  27068. tags:
  27069. - 仓单贸易v2
  27070. /WrTrade2/QueryWrFactorTypeInfo:
  27071. get:
  27072. parameters:
  27073. - description: 仓单要素id
  27074. in: query
  27075. name: wrfactortypeid
  27076. required: true
  27077. type: integer
  27078. produces:
  27079. - application/json
  27080. responses:
  27081. "200":
  27082. description: OK
  27083. schema:
  27084. items:
  27085. $ref: '#/definitions/models.WrFactorTypeInfo'
  27086. type: array
  27087. "500":
  27088. description: Internal Server Error
  27089. schema:
  27090. $ref: '#/definitions/app.Response'
  27091. security:
  27092. - ApiKeyAuth: []
  27093. summary: 查询仓单要素详细信息
  27094. tags:
  27095. - 仓单贸易v2
  27096. /WrTrade2/QueryWrFactorTypeInfoEx:
  27097. get:
  27098. parameters:
  27099. - description: 仓单要素id
  27100. in: query
  27101. name: wrfactortypeid
  27102. required: true
  27103. type: integer
  27104. produces:
  27105. - application/json
  27106. responses:
  27107. "200":
  27108. description: OK
  27109. schema:
  27110. items:
  27111. $ref: '#/definitions/models.WrTypeItem'
  27112. type: array
  27113. "500":
  27114. description: Internal Server Error
  27115. schema:
  27116. $ref: '#/definitions/app.Response'
  27117. security:
  27118. - ApiKeyAuth: []
  27119. summary: 查询仓单要素详细信息列表项
  27120. tags:
  27121. - 仓单贸易v2
  27122. /WrTrade2/QueryWrFinanceBuyApply:
  27123. get:
  27124. description: 页面 融资信息+ / 申请单
  27125. parameters:
  27126. - description: 用户id
  27127. in: query
  27128. name: userid
  27129. required: true
  27130. type: integer
  27131. produces:
  27132. - application/json
  27133. responses:
  27134. "200":
  27135. description: OK
  27136. schema:
  27137. items:
  27138. $ref: '#/definitions/models.WrFinanceBuyApply'
  27139. type: array
  27140. "500":
  27141. description: Internal Server Error
  27142. schema:
  27143. $ref: '#/definitions/app.Response'
  27144. security:
  27145. - ApiKeyAuth: []
  27146. summary: 查询融资购买申请
  27147. tags:
  27148. - 仓单贸易v2
  27149. /WrTrade2/QueryWrFriendApply:
  27150. get:
  27151. parameters:
  27152. - description: 用户id
  27153. in: query
  27154. name: userid
  27155. required: true
  27156. type: integer
  27157. produces:
  27158. - application/json
  27159. responses:
  27160. "200":
  27161. description: OK
  27162. schema:
  27163. items:
  27164. $ref: '#/definitions/models.WrFriendApply'
  27165. type: array
  27166. "500":
  27167. description: Internal Server Error
  27168. schema:
  27169. $ref: '#/definitions/app.Response'
  27170. security:
  27171. - ApiKeyAuth: []
  27172. summary: 查询好友申请记录
  27173. tags:
  27174. - 仓单贸易v2
  27175. /WrTrade2/QueryWrGoodsInfo:
  27176. get:
  27177. parameters:
  27178. - description: 仓单贸易市场id
  27179. in: query
  27180. name: marketid
  27181. type: integer
  27182. - description: 0:仓单预售 1:仓单贸易
  27183. in: query
  27184. name: haswr
  27185. required: true
  27186. type: integer
  27187. - description: 仓单要素id
  27188. in: query
  27189. name: wrfactortypeid
  27190. required: true
  27191. type: integer
  27192. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  27193. in: query
  27194. name: tmplateid
  27195. type: integer
  27196. produces:
  27197. - application/json
  27198. responses:
  27199. "200":
  27200. description: OK
  27201. schema:
  27202. items:
  27203. $ref: '#/definitions/models.WrGoodsInfo'
  27204. type: array
  27205. "500":
  27206. description: Internal Server Error
  27207. schema:
  27208. $ref: '#/definitions/app.Response'
  27209. security:
  27210. - ApiKeyAuth: []
  27211. summary: 查询仓单商品信息
  27212. tags:
  27213. - 仓单贸易v2
  27214. /WrTrade2/QueryWrMarketTradeConfig:
  27215. get:
  27216. parameters:
  27217. - description: 市场id
  27218. in: query
  27219. name: marketid
  27220. type: integer
  27221. produces:
  27222. - application/json
  27223. responses:
  27224. "200":
  27225. description: OK
  27226. schema:
  27227. items:
  27228. $ref: '#/definitions/models.WrMarketTradeConfig'
  27229. type: array
  27230. "500":
  27231. description: Internal Server Error
  27232. schema:
  27233. $ref: '#/definitions/app.Response'
  27234. security:
  27235. - ApiKeyAuth: []
  27236. summary: 查询市场交易参数配置
  27237. tags:
  27238. - 仓单贸易v2
  27239. /WrTrade2/QueryWrOrderDetail:
  27240. get:
  27241. description: 页面 现货仓单 | 预售仓单 -> 挂单
  27242. parameters:
  27243. - description: 页码
  27244. in: query
  27245. name: page
  27246. type: integer
  27247. - description: 每页条数
  27248. in: query
  27249. name: pagesize
  27250. type: integer
  27251. - description: 用户id
  27252. in: query
  27253. name: userid
  27254. required: true
  27255. type: integer
  27256. - description: 仓单贸易市场id
  27257. in: query
  27258. name: marketid
  27259. type: integer
  27260. - description: 0:仓单预售 1:仓单贸易
  27261. in: query
  27262. name: haswr
  27263. required: true
  27264. type: integer
  27265. produces:
  27266. - application/json
  27267. responses:
  27268. "200":
  27269. description: OK
  27270. schema:
  27271. items:
  27272. $ref: '#/definitions/models.WrOrderDetail'
  27273. type: array
  27274. "500":
  27275. description: Internal Server Error
  27276. schema:
  27277. $ref: '#/definitions/app.Response'
  27278. security:
  27279. - ApiKeyAuth: []
  27280. summary: 查询仓单委托单(挂单)
  27281. tags:
  27282. - 仓单贸易v2
  27283. /WrTrade2/QueryWrOutInApply:
  27284. get:
  27285. parameters:
  27286. - description: 用户id
  27287. in: query
  27288. name: userid
  27289. required: true
  27290. type: integer
  27291. produces:
  27292. - application/json
  27293. responses:
  27294. "200":
  27295. description: OK
  27296. schema:
  27297. items:
  27298. $ref: '#/definitions/models.WrOutInApply'
  27299. type: array
  27300. "500":
  27301. description: Internal Server Error
  27302. schema:
  27303. $ref: '#/definitions/app.Response'
  27304. security:
  27305. - ApiKeyAuth: []
  27306. summary: 查询提货申请
  27307. tags:
  27308. - 仓单贸易v2
  27309. /WrTrade2/QueryWrPerformancePlanStep:
  27310. get:
  27311. parameters:
  27312. - description: 履约计划id(performanceplanid)
  27313. in: query
  27314. name: planid
  27315. required: true
  27316. type: integer
  27317. - description: 当前步骤id
  27318. in: query
  27319. name: curstepid
  27320. type: integer
  27321. produces:
  27322. - application/json
  27323. responses:
  27324. "200":
  27325. description: OK
  27326. schema:
  27327. items:
  27328. $ref: '#/definitions/models.WrPerformancePlanStep'
  27329. type: array
  27330. "500":
  27331. description: Internal Server Error
  27332. schema:
  27333. $ref: '#/definitions/app.Response'
  27334. security:
  27335. - ApiKeyAuth: []
  27336. summary: 查询履约信息详情
  27337. tags:
  27338. - 仓单贸易v2
  27339. /WrTrade2/QueryWrPerformanceStepType:
  27340. get:
  27341. produces:
  27342. - application/json
  27343. responses:
  27344. "200":
  27345. description: OK
  27346. schema:
  27347. items:
  27348. $ref: '#/definitions/models.WrPerformanceStepType'
  27349. type: array
  27350. "500":
  27351. description: Internal Server Error
  27352. schema:
  27353. $ref: '#/definitions/app.Response'
  27354. security:
  27355. - ApiKeyAuth: []
  27356. summary: 查询履约步骤枚举
  27357. tags:
  27358. - 仓单贸易v2
  27359. /WrTrade2/QueryWrPosition:
  27360. get:
  27361. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  27362. parameters:
  27363. - description: 用户id
  27364. in: query
  27365. name: userid
  27366. required: true
  27367. type: integer
  27368. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  27369. in: query
  27370. name: querytype
  27371. required: true
  27372. type: integer
  27373. - description: 0:仓单预售 1:仓单贸易
  27374. in: query
  27375. name: haswr
  27376. required: true
  27377. type: integer
  27378. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  27379. in: query
  27380. name: dgitemname
  27381. type: string
  27382. - description: 仓库id(筛选条件)
  27383. in: query
  27384. name: warehouseid
  27385. type: integer
  27386. - description: 品种id
  27387. in: query
  27388. name: deliverygoodsid
  27389. type: integer
  27390. - description: 品类id
  27391. in: query
  27392. name: wrstandardid
  27393. type: integer
  27394. produces:
  27395. - application/json
  27396. responses:
  27397. "200":
  27398. description: OK
  27399. schema:
  27400. items:
  27401. $ref: '#/definitions/models.WrPosition'
  27402. type: array
  27403. "500":
  27404. description: Internal Server Error
  27405. schema:
  27406. $ref: '#/definitions/app.Response'
  27407. security:
  27408. - ApiKeyAuth: []
  27409. summary: 查询现货(预售)仓单持仓
  27410. tags:
  27411. - 仓单贸易v2
  27412. /WrTrade2/QueryWrScfContract:
  27413. get:
  27414. parameters:
  27415. - description: 用户id
  27416. in: query
  27417. name: userid
  27418. required: true
  27419. type: integer
  27420. - description: 融资合同id
  27421. in: query
  27422. name: scfcontractid
  27423. type: integer
  27424. produces:
  27425. - application/json
  27426. responses:
  27427. "200":
  27428. description: OK
  27429. schema:
  27430. items:
  27431. $ref: '#/definitions/models.WrScfContract'
  27432. type: array
  27433. "500":
  27434. description: Internal Server Error
  27435. schema:
  27436. $ref: '#/definitions/app.Response'
  27437. security:
  27438. - ApiKeyAuth: []
  27439. summary: 查询仓单贸易融资合同
  27440. tags:
  27441. - 仓单贸易v2
  27442. /WrTrade2/QueryWrScfContractInterest:
  27443. get:
  27444. parameters:
  27445. - description: 融资合同id
  27446. in: query
  27447. name: scfcontractid
  27448. type: integer
  27449. produces:
  27450. - application/json
  27451. responses:
  27452. "200":
  27453. description: OK
  27454. schema:
  27455. items:
  27456. $ref: '#/definitions/models.WrScfContractInterest'
  27457. type: array
  27458. "500":
  27459. description: Internal Server Error
  27460. schema:
  27461. $ref: '#/definitions/app.Response'
  27462. security:
  27463. - ApiKeyAuth: []
  27464. summary: 查询融资合同费用明细
  27465. tags:
  27466. - 仓单贸易v2
  27467. /WrTrade2/QueryWrSpecialMatchOrder:
  27468. get:
  27469. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  27470. parameters:
  27471. - description: 页码
  27472. in: query
  27473. name: page
  27474. type: integer
  27475. - description: 每页条数
  27476. in: query
  27477. name: pagesize
  27478. type: integer
  27479. - description: 用户id
  27480. in: query
  27481. name: userid
  27482. required: true
  27483. type: integer
  27484. - description: 仓单贸易市场id
  27485. in: query
  27486. name: marketid
  27487. type: integer
  27488. - description: 0:仓单预售 1:仓单贸易
  27489. in: query
  27490. name: haswr
  27491. required: true
  27492. type: integer
  27493. produces:
  27494. - application/json
  27495. responses:
  27496. "200":
  27497. description: OK
  27498. schema:
  27499. items:
  27500. $ref: '#/definitions/models.WrSpecialMatchOrder'
  27501. type: array
  27502. "500":
  27503. description: Internal Server Error
  27504. schema:
  27505. $ref: '#/definitions/app.Response'
  27506. security:
  27507. - ApiKeyAuth: []
  27508. summary: 查询指定成交
  27509. tags:
  27510. - 仓单贸易v2
  27511. /WrTrade2/QueryWrStandardFactoryItem:
  27512. get:
  27513. parameters:
  27514. - description: 品类id
  27515. in: query
  27516. name: wrstandardid
  27517. required: true
  27518. type: integer
  27519. produces:
  27520. - application/json
  27521. responses:
  27522. "200":
  27523. description: OK
  27524. schema:
  27525. items:
  27526. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  27527. type: array
  27528. "500":
  27529. description: Internal Server Error
  27530. schema:
  27531. $ref: '#/definitions/app.Response'
  27532. security:
  27533. - ApiKeyAuth: []
  27534. summary: 查询品类要素定义项
  27535. tags:
  27536. - 仓单贸易v2
  27537. /WrTrade2/QueryWrTradeBargainApply:
  27538. get:
  27539. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面 议价->对方议价 填写matchuserid=登录用户id
  27540. parameters:
  27541. - description: 议价人id(摘牌方)
  27542. in: query
  27543. name: userid
  27544. type: integer
  27545. - description: 挂牌方id(查对方议价时,填写此项)
  27546. in: query
  27547. name: matchuserid
  27548. type: integer
  27549. - description: 关联委托单id
  27550. in: query
  27551. name: wrtradeorderid
  27552. type: integer
  27553. - description: 0:仓单预售 1:仓单贸易
  27554. in: query
  27555. name: haswr
  27556. required: true
  27557. type: integer
  27558. produces:
  27559. - application/json
  27560. responses:
  27561. "200":
  27562. description: OK
  27563. schema:
  27564. items:
  27565. $ref: '#/definitions/models.WRTradeBargainApply'
  27566. type: array
  27567. "500":
  27568. description: Internal Server Error
  27569. schema:
  27570. $ref: '#/definitions/app.Response'
  27571. security:
  27572. - ApiKeyAuth: []
  27573. summary: 查询议价单
  27574. tags:
  27575. - 仓单贸易v2
  27576. /WrTrade2/QueryWrTradeDetail:
  27577. get:
  27578. parameters:
  27579. - description: 页码
  27580. in: query
  27581. name: page
  27582. type: integer
  27583. - description: 每页条数
  27584. in: query
  27585. name: pagesize
  27586. type: integer
  27587. - description: 用户id
  27588. in: query
  27589. name: userid
  27590. required: true
  27591. type: integer
  27592. - description: 仓单贸易市场id
  27593. in: query
  27594. name: marketid
  27595. type: integer
  27596. - description: 0:仓单预售 1:仓单贸易
  27597. in: query
  27598. name: haswr
  27599. required: true
  27600. type: integer
  27601. produces:
  27602. - application/json
  27603. responses:
  27604. "200":
  27605. description: OK
  27606. schema:
  27607. items:
  27608. $ref: '#/definitions/models.WrTradeDetail'
  27609. type: array
  27610. "500":
  27611. description: Internal Server Error
  27612. schema:
  27613. $ref: '#/definitions/app.Response'
  27614. security:
  27615. - ApiKeyAuth: []
  27616. summary: 查询仓单成交明细
  27617. tags:
  27618. - 仓单贸易v2
  27619. /WrTrade2/QueryWrTradeOrderDetail:
  27620. get:
  27621. parameters:
  27622. - description: 页码
  27623. in: query
  27624. name: page
  27625. type: integer
  27626. - description: 每页条数
  27627. in: query
  27628. name: pagesize
  27629. type: integer
  27630. - description: 商品id
  27631. in: query
  27632. name: goodsid
  27633. required: true
  27634. type: integer
  27635. - description: 买卖方向 0-买 1-卖
  27636. in: query
  27637. name: buyorsell
  27638. required: true
  27639. type: integer
  27640. produces:
  27641. - application/json
  27642. responses:
  27643. "200":
  27644. description: OK
  27645. schema:
  27646. items:
  27647. $ref: '#/definitions/models.WrTradeOrderDetail'
  27648. type: array
  27649. "500":
  27650. description: Internal Server Error
  27651. schema:
  27652. $ref: '#/definitions/app.Response'
  27653. security:
  27654. - ApiKeyAuth: []
  27655. summary: 查询合约交易买卖大厅
  27656. tags:
  27657. - 仓单贸易v2
  27658. /WrTrade2/QueryWrUserFriend:
  27659. get:
  27660. parameters:
  27661. - description: 用户id
  27662. in: query
  27663. name: userid
  27664. required: true
  27665. type: integer
  27666. - description: 新朋友userid, 如果填写了此项则查找新朋友
  27667. in: query
  27668. name: newuserid
  27669. type: integer
  27670. produces:
  27671. - application/json
  27672. responses:
  27673. "200":
  27674. description: OK
  27675. schema:
  27676. items:
  27677. $ref: '#/definitions/models.WrUserFriend'
  27678. type: array
  27679. "500":
  27680. description: Internal Server Error
  27681. schema:
  27682. $ref: '#/definitions/app.Response'
  27683. security:
  27684. - ApiKeyAuth: []
  27685. summary: 查询我的朋友
  27686. tags:
  27687. - 仓单贸易v2
  27688. /WrTrade2/QueryWrUserReceiptInfo:
  27689. get:
  27690. parameters:
  27691. - description: 用户id
  27692. in: query
  27693. name: userid
  27694. type: integer
  27695. - description: 发票类型 - 1:个人 2:企业
  27696. in: query
  27697. name: receipttype
  27698. type: integer
  27699. produces:
  27700. - application/json
  27701. responses:
  27702. "200":
  27703. description: OK
  27704. schema:
  27705. items:
  27706. $ref: '#/definitions/models.WrUserReceiptInfo'
  27707. type: array
  27708. "500":
  27709. description: Internal Server Error
  27710. schema:
  27711. $ref: '#/definitions/app.Response'
  27712. security:
  27713. - ApiKeyAuth: []
  27714. summary: 查询发票信息
  27715. tags:
  27716. - 仓单贸易v2
  27717. /ZJ/GetBankTip:
  27718. get:
  27719. produces:
  27720. - application/json
  27721. responses:
  27722. "200":
  27723. description: OK
  27724. schema:
  27725. type: string
  27726. "500":
  27727. description: Internal Server Error
  27728. schema:
  27729. $ref: '#/definitions/app.Response'
  27730. summary: 获取中江网银端出入金提示信息
  27731. tags:
  27732. - 中江
  27733. /ZJ/GetCusBankChannels:
  27734. get:
  27735. produces:
  27736. - application/json
  27737. responses:
  27738. "200":
  27739. description: OK
  27740. schema:
  27741. items:
  27742. type: string
  27743. type: array
  27744. "500":
  27745. description: Internal Server Error
  27746. schema:
  27747. $ref: '#/definitions/app.Response'
  27748. summary: 获取中江出入金渠道显示列表
  27749. tags:
  27750. - 中江
  27751. securityDefinitions:
  27752. ApiKeyAuth:
  27753. in: header
  27754. name: Authorization
  27755. type: apiKey
  27756. swagger: "2.0"