swagger.yaml 787 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353
  1. basePath: /api
  2. definitions:
  3. app.Response:
  4. properties:
  5. code:
  6. type: integer
  7. data: {}
  8. msg:
  9. type: string
  10. page:
  11. description: 页码
  12. type: integer
  13. pagesize:
  14. description: 每页条数
  15. type: integer
  16. total:
  17. description: 总条数
  18. type: integer
  19. type: object
  20. common.ClientMenu:
  21. properties:
  22. children:
  23. description: 子菜单列表
  24. items:
  25. $ref: '#/definitions/common.ClientMenu'
  26. type: array
  27. code:
  28. description: ID
  29. type: string
  30. isshow:
  31. description: 是否显示
  32. type: boolean
  33. remark:
  34. description: 备注
  35. type: string
  36. rulekey:
  37. description: 对应权限主键,对应FUNCMENULIST表RESOURCECODE
  38. type: string
  39. sort:
  40. description: 排序
  41. type: integer
  42. title:
  43. description: 标题
  44. type: string
  45. type:
  46. description: 类型,1:菜单 2:按钮
  47. type: integer
  48. url:
  49. description: URL
  50. type: string
  51. type: object
  52. common.PCWebMenu:
  53. properties:
  54. auth:
  55. description: 页面权限列表
  56. items:
  57. $ref: '#/definitions/common.PCWebMenuAuth'
  58. type: array
  59. children:
  60. description: 子菜单列表
  61. items:
  62. $ref: '#/definitions/common.PCWebMenu'
  63. type: array
  64. code:
  65. description: ID,新版本中权限KEY也是这个字段
  66. type: string
  67. component:
  68. description: 路由组件
  69. type: string
  70. isshow:
  71. description: 是否显示
  72. type: boolean
  73. path:
  74. description: 路由路径
  75. type: string
  76. remark:
  77. description: 备注
  78. type: string
  79. rulekey:
  80. description: 权限主键,非空表示需要判断控制,非空值不可重复
  81. type: string
  82. sort:
  83. description: 排序
  84. type: integer
  85. title:
  86. description: 标题
  87. type: string
  88. url:
  89. description: URL
  90. type: string
  91. type: object
  92. common.PCWebMenuAuth:
  93. properties:
  94. code:
  95. description: ID,新版本中权限KEY也是这个字段
  96. type: string
  97. isshow:
  98. description: 是否显示
  99. type: boolean
  100. label:
  101. description: 标题
  102. type: string
  103. remark:
  104. description: 备注
  105. type: string
  106. rulekey:
  107. description: 权限主键,非空表示需要判断控制,非空值不可重复
  108. type: string
  109. type: object
  110. common.QueryImageConfigsRsp:
  111. properties:
  112. areauserid:
  113. description: 所属机构ID
  114. type: integer
  115. configid:
  116. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  117. type: integer
  118. createdate:
  119. description: 创建时间
  120. type: string
  121. creatorid:
  122. description: 创建人
  123. type: integer
  124. imagepath:
  125. description: 图片
  126. type: string
  127. imagetype:
  128. description: 类型 - 1:首页轮播(移动) 2:我的(移动)
  129. type: integer
  130. isshow:
  131. description: 是否展示 - 0:不展示 1:展示
  132. type: integer
  133. marketid:
  134. description: 市场ID
  135. type: integer
  136. modifierid:
  137. description: 操作人
  138. type: integer
  139. sort:
  140. description: 排序
  141. type: integer
  142. title:
  143. description: 标题
  144. type: string
  145. trademode:
  146. description: 交易模式
  147. type: integer
  148. updatedate:
  149. description: 修改时间
  150. type: string
  151. url:
  152. description: 链接(地址或商品ID)
  153. type: string
  154. urltype:
  155. description: 链接类型 - 1:直接地址 2:商品ID
  156. type: integer
  157. required:
  158. - configid
  159. type: object
  160. common.QueryNoticeRsp:
  161. properties:
  162. auditoruserid:
  163. description: 审核人
  164. type: integer
  165. auditremark:
  166. description: 审核备注
  167. type: string
  168. audittime:
  169. description: 审核日期
  170. type: string
  171. autoid:
  172. description: 自增ID
  173. type: integer
  174. content:
  175. description: 内容
  176. type: string
  177. createtime:
  178. description: 创建时间
  179. type: string
  180. creatorid:
  181. description: 建仓人
  182. type: integer
  183. endtime:
  184. description: 结束时间
  185. type: string
  186. istop:
  187. description: 是否置顶 - 0:不置顶 1:置顶
  188. type: integer
  189. msgiconurl:
  190. description: 消息图标Url
  191. type: string
  192. msgtype:
  193. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  194. type: integer
  195. publisher:
  196. description: 消息发布者
  197. type: string
  198. readed:
  199. description: 是否已读
  200. type: boolean
  201. scheduletime:
  202. description: 计划发送时间
  203. type: string
  204. sendtype:
  205. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  206. type: integer
  207. sentstatus:
  208. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  209. type: integer
  210. title:
  211. description: 标题
  212. type: string
  213. userid:
  214. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  215. type: integer
  216. required:
  217. - autoid
  218. type: object
  219. common.QueryProvincesAndCitiesRsp:
  220. properties:
  221. cities:
  222. description: 市
  223. items:
  224. $ref: '#/definitions/models.Division'
  225. type: array
  226. province:
  227. $ref: '#/definitions/models.Division'
  228. description: 省
  229. type: object
  230. common.QueryTableDefineRsp:
  231. properties:
  232. columns:
  233. description: 列头信息数组
  234. items:
  235. $ref: '#/definitions/models.Tablecolumnconfig'
  236. type: array
  237. remark:
  238. description: Remark
  239. type: string
  240. tabelmenu:
  241. description: 列表菜单
  242. type: string
  243. tablekey:
  244. description: 列表Key
  245. type: string
  246. tablename:
  247. description: 列表名称
  248. type: string
  249. tabletype:
  250. description: 列表类型 - 1:管理端 2:终端
  251. type: integer
  252. required:
  253. - tablekey
  254. type: object
  255. common.QueryTraderMenuRsp:
  256. properties:
  257. OperationMenu:
  258. description: 功能菜单
  259. items:
  260. $ref: '#/definitions/models.OperationPrimaryMenu'
  261. type: array
  262. QuoteMenu:
  263. description: 报价牌分类菜单
  264. items:
  265. $ref: '#/definitions/models.QuotePrimaryMenu'
  266. type: array
  267. type: object
  268. cptrade.Cptradepositioncancel:
  269. properties:
  270. accountid:
  271. description: 申请人账户ID
  272. type: integer
  273. applystatus:
  274. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  275. type: integer
  276. applytime:
  277. description: 申请时间
  278. type: string
  279. cancelid:
  280. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  281. type: integer
  282. cancelqty:
  283. description: 注销数量
  284. type: integer
  285. createtime:
  286. description: 创建时间
  287. type: string
  288. creatorid:
  289. description: 创建人ID
  290. type: integer
  291. creatorname:
  292. description: 创建人
  293. type: string
  294. goodscode:
  295. description: 订单商品代码
  296. type: string
  297. goodsid:
  298. description: 商品ID
  299. type: integer
  300. goodsname:
  301. description: 订单商品名称
  302. type: string
  303. goodunit:
  304. description: 报价单位
  305. type: string
  306. handlestatus:
  307. description: 处理状态
  308. type: integer
  309. marketid:
  310. description: 市场ID
  311. type: integer
  312. marketname:
  313. description: 市场名称
  314. type: string
  315. tradedate:
  316. description: 交易日(yyyyMMdd)
  317. type: string
  318. userid:
  319. description: 申请人ID
  320. type: integer
  321. required:
  322. - cancelid
  323. type: object
  324. cptrade.Cptradepresaleapply:
  325. properties:
  326. accountid:
  327. description: 申请人账户ID
  328. type: integer
  329. applyid:
  330. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  331. type: integer
  332. applyremark:
  333. description: 申请备注
  334. type: string
  335. applystatus:
  336. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  337. type: integer
  338. applytime:
  339. description: 申请时间
  340. type: string
  341. attachmenturl:
  342. description: 附件地址
  343. type: string
  344. endtime:
  345. description: 预售结束时间
  346. type: string
  347. goodscode:
  348. description: 商品代码
  349. type: string
  350. goodsid:
  351. description: 商品ID
  352. type: integer
  353. goodsname:
  354. description: 商品名称
  355. type: string
  356. goodunit:
  357. description: 报价单位
  358. type: string
  359. handlestatus:
  360. description: 处理状态
  361. type: integer
  362. marketid:
  363. description: 预售市场ID
  364. type: integer
  365. marketname:
  366. description: 预售市场名称
  367. type: string
  368. presaleqty:
  369. description: 预售数量
  370. type: integer
  371. relatedgoodscode:
  372. description: 关联交易合约代码
  373. type: string
  374. relatedgoodsid:
  375. description: 关联交易合约ID
  376. type: integer
  377. relatedgoodsname:
  378. description: 关联交易合约名称
  379. type: string
  380. starttime:
  381. description: 预售开始时间
  382. type: string
  383. tradedate:
  384. description: 交易日(yyyyMMdd)
  385. type: string
  386. trademode:
  387. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  388. type: integer
  389. userid:
  390. description: 申请人ID
  391. type: integer
  392. required:
  393. - applyid
  394. type: object
  395. cptrade.Cptradeusergoodsdata:
  396. properties:
  397. EnabledQty:
  398. description: 可用量
  399. type: integer
  400. GoodsCode:
  401. description: 订单商品代码
  402. type: string
  403. GoodsName:
  404. description: 订单商品名称
  405. type: string
  406. WRStandardCode:
  407. description: 仓单标准代码
  408. type: string
  409. WRStandardName:
  410. description: 仓单标准名称
  411. type: string
  412. accountid:
  413. description: 账户ID
  414. type: integer
  415. cancelqty:
  416. description: 注销量
  417. type: integer
  418. curpresaleqty:
  419. description: 当前预售量
  420. type: integer
  421. deliveryqty:
  422. description: 交割量
  423. type: integer
  424. freezeamount:
  425. description: 冻结金额
  426. type: number
  427. goodsid:
  428. description: 商品ID
  429. type: integer
  430. goodunit:
  431. description: 报价单位
  432. type: string
  433. hasspotfreeze:
  434. description: 是否有现货冻结 - 0:否 1:有
  435. type: integer
  436. inqty:
  437. description: 转入量(总数量)
  438. type: integer
  439. marketid:
  440. description: 市场ID
  441. type: integer
  442. presaledamount:
  443. description: 已预售总金额
  444. type: integer
  445. presaledqty:
  446. description: 已预售量
  447. type: integer
  448. userid:
  449. description: 用户ID
  450. type: integer
  451. wrstandardid:
  452. description: 仓单标准ID
  453. type: integer
  454. required:
  455. - accountid
  456. - goodsid
  457. type: object
  458. cptrade.QueryCPTradeMyBidRsp:
  459. properties:
  460. accountid:
  461. description: 账户ID[报价币种]
  462. type: integer
  463. goodsid:
  464. description: 商品ID
  465. type: integer
  466. goodunit:
  467. description: 报价单位
  468. type: string
  469. marketid:
  470. description: 市场ID
  471. type: integer
  472. orderid:
  473. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  474. type: integer
  475. orderprice:
  476. description: 委托价格
  477. type: number
  478. orderqty:
  479. description: 委托数量
  480. type: integer
  481. ordertime:
  482. description: 委托时间
  483. type: string
  484. ordertotalprice:
  485. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  486. type: number
  487. ordertotalweight:
  488. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  489. type: integer
  490. totaltotalprice:
  491. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  492. type: number
  493. tradeprice:
  494. description: 成交价格
  495. type: number
  496. tradeqty:
  497. description: 成交数量
  498. type: integer
  499. required:
  500. - accountid
  501. - goodsid
  502. - marketid
  503. - orderid
  504. - orderqty
  505. - ordertime
  506. - tradeprice
  507. - tradeqty
  508. type: object
  509. cptrade.QueryCPTradeOrderDetailRsq:
  510. properties:
  511. accountid:
  512. description: 账户ID[报价币种]
  513. type: integer
  514. buildtype:
  515. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  516. type: integer
  517. buyorsell:
  518. description: 买卖 - 0:买 1:卖
  519. type: integer
  520. cancelorderid:
  521. description: 撤单单号(撤单时填写)
  522. type: integer
  523. cancelqty:
  524. description: 撤单数量
  525. type: integer
  526. clientordertime:
  527. description: 客户端委托时间
  528. type: string
  529. clientticket:
  530. description: 客户端流水号
  531. type: string
  532. clienttype:
  533. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  534. 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:(结算)到期强平
  619. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  620. 15:管理端协议转让
  621. type: integer
  622. operatorid:
  623. description: 登录账号(LoginID)
  624. type: integer
  625. optiontype:
  626. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  627. type: integer
  628. orderprice:
  629. description: 委托价格
  630. type: number
  631. orderqty:
  632. description: 委托数量
  633. type: integer
  634. ordersrc:
  635. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  636. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  637. type: integer
  638. orderstatus:
  639. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  640. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  641. 16:成交失败违约(荷兰式竞拍专用)
  642. type: integer
  643. ordertime:
  644. description: 委托时间
  645. type: string
  646. preexerciseprice:
  647. description: 预申报价格
  648. type: number
  649. premium:
  650. description: 权利金
  651. type: number
  652. preorderid:
  653. description: 关联预埋单号(止盈止损单时填写)
  654. type: integer
  655. pricemode:
  656. description: '取价方式 - 1:市价 2: 限价'
  657. type: integer
  658. quoteid:
  659. description: 报价单ID
  660. type: integer
  661. relatedid:
  662. description: 关联单号(交割单)
  663. type: integer
  664. retcode:
  665. description: 错误代码
  666. type: integer
  667. sessionid:
  668. description: 会话ID
  669. type: integer
  670. strorderid:
  671. description: 委托单号
  672. type: string
  673. tradedate:
  674. description: 交易日(yyyyMMdd)
  675. type: string
  676. tradeproperty:
  677. description: 交易属性
  678. type: integer
  679. tradeqty:
  680. description: 成交数量
  681. type: integer
  682. unfreezecharge:
  683. description: 解冻手续费
  684. type: number
  685. unfreezemargin:
  686. description: 解冻保证金
  687. type: number
  688. updatetime:
  689. description: 更新时间
  690. type: string
  691. uuid:
  692. description: 发起端唯一id
  693. type: string
  694. validtime:
  695. description: 有效期限
  696. type: string
  697. validtype:
  698. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  699. type: integer
  700. volumetype:
  701. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  702. type: integer
  703. required:
  704. - accountid
  705. - buildtype
  706. - buyorsell
  707. - goodsid
  708. - marketid
  709. - memberuserid
  710. - operatetype
  711. - orderqty
  712. - ordertime
  713. - pricemode
  714. - strorderid
  715. - tradedate
  716. - validtype
  717. type: object
  718. cptrade.QueryMyCPTradeGoodsRsp:
  719. properties:
  720. accountid:
  721. description: 卖方账户ID
  722. type: integer
  723. agreeunit:
  724. description: 合约单位
  725. type: number
  726. applyid:
  727. description: 关联申请ID
  728. type: integer
  729. attachmenturl:
  730. description: 附件地址
  731. type: string
  732. createtime:
  733. description: 创建时间
  734. type: string
  735. currencyid:
  736. description: 报价货币ID
  737. type: integer
  738. decimalplace:
  739. description: 报价小数位
  740. type: integer
  741. endtime:
  742. description: 预售结束时间
  743. type: string
  744. floorprice:
  745. description: 底价[大宗式竞拍]
  746. type: number
  747. goodscode:
  748. description: 商品代码(预售)
  749. type: string
  750. goodsdetail:
  751. description: 详情[大宗]
  752. type: string
  753. goodsid:
  754. description: 商品ID(自增ID SEQ_GOODS)
  755. type: integer
  756. goodsname:
  757. description: 商品名称(预售)
  758. type: string
  759. goodunit:
  760. description: 报价单位
  761. type: string
  762. goodunitid:
  763. description: 报价单位ID
  764. type: integer
  765. marketid:
  766. description: 所属市场ID
  767. type: integer
  768. marketname:
  769. description: 预售市场名称
  770. type: string
  771. presaledamount:
  772. description: 已预售总金额(预售结束时更新)
  773. type: number
  774. presaledqty:
  775. description: 已预售量(预售结束时更新)
  776. type: integer
  777. presalemode:
  778. description: 预售模式 - 1:一口价 2:大宗式竞拍
  779. type: integer
  780. presaleqty:
  781. description: 预售数量
  782. type: integer
  783. refprice:
  784. description: 参考价格[一口价]
  785. type: number
  786. relatedgoodscode:
  787. description: 商品代码(订单)
  788. type: string
  789. relatedgoodsid:
  790. description: 关联交易合约ID
  791. type: integer
  792. relatedgoodsname:
  793. description: 商品名称(订单)
  794. type: string
  795. relatedmarketid:
  796. description: 关联交易合约市场ID
  797. type: integer
  798. sellstatus:
  799. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  800. type: integer
  801. startprice:
  802. description: 起拍价[大宗式竞拍]
  803. type: number
  804. starttime:
  805. description: 预售开始时间
  806. type: string
  807. tradedate:
  808. description: 交易日(yyyyMMdd)
  809. type: string
  810. tradeprice:
  811. description: 成交价[大宗]
  812. type: number
  813. userid:
  814. description: 卖方用户ID
  815. type: integer
  816. required:
  817. - goodscode
  818. - goodsid
  819. - goodsname
  820. - marketid
  821. - relatedgoodscode
  822. - relatedgoodsname
  823. type: object
  824. cptrade.QueryPresaleGoodsExRsp:
  825. properties:
  826. attachmenturl:
  827. description: 附件地址
  828. type: string
  829. createtime:
  830. description: 创建时间
  831. type: string
  832. endtime:
  833. description: 预售结束时间
  834. type: string
  835. floorprice:
  836. description: 底价[大宗式竞拍]
  837. type: number
  838. goodsdetail:
  839. description: 详情[大宗]
  840. type: string
  841. goodsid:
  842. description: 商品ID(预售)
  843. type: integer
  844. goodunit:
  845. description: 报价单位
  846. type: string
  847. marketid:
  848. description: 预售市场ID - 根据预售模式选择市场
  849. type: integer
  850. presaledamount:
  851. description: 已预售总金额(预售结束时更新)
  852. type: number
  853. presaledqty:
  854. description: 已预售量(预售结束时更新)
  855. type: integer
  856. presalemode:
  857. description: 预售模式 - 1:一口价 2:大宗式竞拍
  858. type: integer
  859. presaleqty:
  860. description: 预售数量
  861. type: integer
  862. refprice:
  863. description: 参考价格[一口价]
  864. type: number
  865. relatedgoodsid:
  866. description: 关联交易合约ID
  867. type: integer
  868. relatedmarketid:
  869. description: 关联交易合约市场ID
  870. type: integer
  871. sellstatus:
  872. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  873. type: integer
  874. startprice:
  875. description: 起拍价[大宗式竞拍]
  876. type: number
  877. starttime:
  878. description: 预售开始时间
  879. type: string
  880. tradedate:
  881. description: 交易日(yyyyMMdd)
  882. type: string
  883. tradeprice:
  884. description: 成交价[大宗]
  885. type: number
  886. required:
  887. - goodsid
  888. type: object
  889. delivery.QueryDeliveryRelationRsp:
  890. properties:
  891. begindate:
  892. description: 起始日期(yyyyMMdd)
  893. type: string
  894. buytemplateid:
  895. description: 买履约计划模板ID
  896. type: integer
  897. deliverygoodscode:
  898. description: 品种代码
  899. type: string
  900. deliverygoodsid:
  901. description: 交割商品
  902. type: integer
  903. deliverygoodsname:
  904. description: 品种名称
  905. type: string
  906. deliverymode:
  907. description: 交割方式 - 1:点选式 2:申报式
  908. type: integer
  909. deliverypricerule:
  910. description: 交割价规则- 1:行情价 2:建仓价
  911. type: integer
  912. deliverytype:
  913. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  914. type: integer
  915. enddate:
  916. description: 结束日期(yyyyMMdd)
  917. type: string
  918. enumdicname:
  919. description: 品类单位名称
  920. type: string
  921. goodscode:
  922. description: 商品代码
  923. type: string
  924. goodsid:
  925. description: 交易合约ID
  926. type: integer
  927. goodsname:
  928. description: 商品名称
  929. type: string
  930. marketid:
  931. description: 市场ID
  932. type: integer
  933. mindeliveryqty:
  934. description: 最小交割系数(K)
  935. type: integer
  936. p2deliveryprice:
  937. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  938. type: number
  939. p2deliveryratio:
  940. description: P2合约系数(p)
  941. type: integer
  942. p2goodsid:
  943. description: P2合约ID
  944. type: integer
  945. p2pricemode:
  946. description: P2合约价格方式 - 1:商品价 2:固定值
  947. type: integer
  948. pdeliveryprice:
  949. description: P合约价格(商品价时填写0,固定值时填写固定值)
  950. type: number
  951. pdeliveryratio:
  952. description: P合约系数(n)
  953. type: integer
  954. pgoodscode:
  955. description: p合约代码
  956. type: string
  957. pgoodsid:
  958. description: P合约ID
  959. type: integer
  960. ppricemode:
  961. description: P合约价格方式 - 1:商品价 2:固定值
  962. type: integer
  963. rratio:
  964. description: 兑换系数(R)
  965. type: integer
  966. rratio1:
  967. description: 兑换系数(交易合约)(R1)
  968. type: integer
  969. rratio2:
  970. description: 兑换系数(仓单标准)(R2)
  971. type: integer
  972. selltemplateid:
  973. description: 卖履约计划模板ID
  974. type: integer
  975. wrstandardid:
  976. description: 仓单标准ID
  977. type: integer
  978. xdeliveryratio:
  979. description: 交易合约系数(m)
  980. type: integer
  981. required:
  982. - begindate
  983. - enddate
  984. - goodsid
  985. - mindeliveryqty
  986. - xdeliveryratio
  987. type: object
  988. ermcp.ExposureDetailRsp:
  989. properties:
  990. areauserid:
  991. description: 机构ID
  992. type: integer
  993. changeQty:
  994. description: 套保变动量
  995. type: number
  996. contracttype:
  997. description: 现货合同类型 - 1:采购 -1:销售
  998. type: integer
  999. convertfactor:
  1000. description: 标仓系数
  1001. type: number
  1002. convertratio:
  1003. description: 套保系数
  1004. type: number
  1005. createtime:
  1006. description: 时间
  1007. type: string
  1008. enumdicname:
  1009. description: 现货商品单位名称
  1010. type: string
  1011. logtype:
  1012. description: 类型 - 1:套保计划 2:现货合同
  1013. type: integer
  1014. middlegoodsId:
  1015. description: 套保商品id
  1016. type: integer
  1017. middlegoodscode:
  1018. description: 套保商品代码
  1019. type: string
  1020. middlegoodsname:
  1021. description: 套保商品名称
  1022. type: string
  1023. qty:
  1024. description: 数量
  1025. type: number
  1026. relateNo:
  1027. description: 现货合同/套保计划编号
  1028. type: string
  1029. wrstandardcode:
  1030. description: 现货商品代码
  1031. type: string
  1032. wrstandardid:
  1033. description: 现货商品ID
  1034. type: integer
  1035. wrstandardname:
  1036. description: 现货商品名称
  1037. type: string
  1038. type: object
  1039. ermcp.ExposureHedgePosDetailRsp:
  1040. properties:
  1041. buyorsell:
  1042. description: 买卖方向 0-买 1-卖
  1043. type: integer
  1044. channelbuildtype:
  1045. description: 开平方向 1-建仓 2-平仓
  1046. type: integer
  1047. goodscode:
  1048. description: 商品代码
  1049. type: string
  1050. goodsname:
  1051. description: 商品名称
  1052. type: string
  1053. hedgegoodsid:
  1054. description: 商品id
  1055. type: integer
  1056. tradeqty:
  1057. description: 数量(成交数量)
  1058. type: integer
  1059. tradetime:
  1060. description: 时间(成交时间)
  1061. type: string
  1062. type: object
  1063. ermcp.ExposureHedgePositionRsp:
  1064. properties:
  1065. accountid:
  1066. description: 资金账号[外部母账户]
  1067. type: integer
  1068. curbuyposition:
  1069. description: 期末买头寸
  1070. type: integer
  1071. cursellposition:
  1072. description: 期末卖头寸
  1073. type: integer
  1074. curtdbuyposition:
  1075. description: 期末今日买头寸
  1076. type: integer
  1077. curtdsellposition:
  1078. description: 期末今日卖头寸
  1079. type: integer
  1080. curydbuyposition:
  1081. description: 期末上日买头寸
  1082. type: integer
  1083. curydsellposition:
  1084. description: 期末上日卖头寸
  1085. type: integer
  1086. decreaseqty:
  1087. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  1088. type: integer
  1089. fretdbuyposition:
  1090. description: 冻结今日买头寸
  1091. type: integer
  1092. fretdsellposition:
  1093. description: 冻结今日卖头寸
  1094. type: integer
  1095. freydbuyposition:
  1096. description: 冻结上日买头寸
  1097. type: integer
  1098. freydsellposition:
  1099. description: 冻结上日卖头寸
  1100. type: integer
  1101. goodscode:
  1102. description: 商品代码
  1103. type: string
  1104. goodsid:
  1105. description: 商品id
  1106. type: integer
  1107. goodsname:
  1108. description: 商品名称
  1109. type: string
  1110. hedgeaccountcode:
  1111. description: 对冲账号
  1112. type: string
  1113. hedgegoodsid:
  1114. description: 对冲合约ID
  1115. type: integer
  1116. increaseqty:
  1117. description: 增加数量 = 期末买头寸 - 期初买头寸
  1118. type: integer
  1119. marketid:
  1120. description: 市场ID
  1121. type: integer
  1122. relateduserid:
  1123. description: 关联用户id
  1124. type: integer
  1125. totalcurqty:
  1126. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  1127. type: integer
  1128. totalydqty:
  1129. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  1130. type: integer
  1131. tradedate:
  1132. description: 交易日(yyyyMMdd)
  1133. type: string
  1134. ydbuyposition:
  1135. description: 期初买头寸
  1136. type: integer
  1137. ydsellposition:
  1138. description: 期初卖头寸
  1139. type: integer
  1140. type: object
  1141. ermcp.ExposureSpotDetailRsp:
  1142. properties:
  1143. contracttype:
  1144. description: 合同类型 1-采购 -1-销售
  1145. type: integer
  1146. createtime:
  1147. description: 创建时间
  1148. type: string
  1149. enumdicname:
  1150. description: 现货商品单位名称
  1151. type: string
  1152. logtype:
  1153. description: 记录类型 1-套保 2-现货合同
  1154. type: integer
  1155. qty:
  1156. description: 数量
  1157. type: number
  1158. recordname:
  1159. description: 类型名称
  1160. type: string
  1161. relatedid:
  1162. description: 套保计划ID/现货合同ID
  1163. type: string
  1164. relatedno:
  1165. description: 编号
  1166. type: string
  1167. strtime:
  1168. description: 时间
  1169. type: string
  1170. wrstandardcode:
  1171. description: 现货商品代码
  1172. type: string
  1173. wrstandardname:
  1174. description: 现货商品名称
  1175. type: string
  1176. type: object
  1177. ermcp.ExposureSpotRsp:
  1178. properties:
  1179. areauserid:
  1180. description: 所属机构
  1181. type: integer
  1182. decreaseqty:
  1183. description: 减少数量=-(销售已定价数量+采购计划数量)
  1184. type: number
  1185. increaseqty:
  1186. description: 增加数量=销售计划数量+采购已定价数量
  1187. type: number
  1188. oritoalspotqty:
  1189. description: 昨日数量
  1190. type: number
  1191. totalspotqty:
  1192. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  1193. type: number
  1194. updatetime:
  1195. description: 更新时间
  1196. type: string
  1197. wrstandardcode:
  1198. description: 现货品种代码
  1199. type: string
  1200. wrstandardid:
  1201. description: 现货商品ID
  1202. type: integer
  1203. wrstandardname:
  1204. description: 现货品种
  1205. type: string
  1206. type: object
  1207. ermcp.HisExposureRsp:
  1208. properties:
  1209. data:
  1210. description: 历史敞口
  1211. items:
  1212. $ref: '#/definitions/models.ErmcpHisExposure'
  1213. type: array
  1214. enumdicname:
  1215. description: 单位名称
  1216. type: string
  1217. middlegoodscode:
  1218. description: 套保品种代码
  1219. type: string
  1220. middlegoodsid:
  1221. description: 套保品种ID
  1222. type: integer
  1223. middlegoodsname:
  1224. description: 套保品种名称
  1225. type: string
  1226. type: object
  1227. ermcp.PendingAuditCntRsp:
  1228. properties:
  1229. areastockqty:
  1230. description: '待审核数量: 库存申请'
  1231. type: integer
  1232. businessdjqty:
  1233. description: '待审核数量: 点价'
  1234. type: integer
  1235. businessfpqty:
  1236. description: '待审核数量: 发票'
  1237. type: integer
  1238. businessjsqty:
  1239. description: '待审核数量: 结算'
  1240. type: integer
  1241. businesskxqty:
  1242. description: '待审核数量: 款项'
  1243. type: integer
  1244. hedgeplanqty:
  1245. description: '待审核数量: 套保计划'
  1246. type: integer
  1247. spotcontractqty:
  1248. description: '待审核数量: 现货合同'
  1249. type: integer
  1250. userqty:
  1251. description: '待审核数量: 用户'
  1252. type: integer
  1253. type: object
  1254. ermcp.QryAvalidGPRsp:
  1255. properties:
  1256. goodsgroupid:
  1257. description: 期货品种id
  1258. type: integer
  1259. goodsgroupname:
  1260. description: 期货品种名称
  1261. type: string
  1262. goodunitid:
  1263. description: 品种单位id
  1264. type: integer
  1265. goodunitname:
  1266. description: 品种单位名称
  1267. type: string
  1268. outergroupcode:
  1269. description: 期货品种代码
  1270. type: string
  1271. type: object
  1272. ermcp.QryBusinessDjRsp:
  1273. properties:
  1274. amount:
  1275. description: 点价金额=(点价价格+升贴水)*点价数量
  1276. type: number
  1277. applyid:
  1278. description: 申请人
  1279. type: string
  1280. applyname:
  1281. description: 申请人名称
  1282. type: string
  1283. applystatus:
  1284. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1285. type: integer
  1286. applytime:
  1287. description: 申请时间
  1288. type: string
  1289. attachurl:
  1290. description: 附件
  1291. type: string
  1292. auditid:
  1293. description: 审核人ID
  1294. type: string
  1295. auditname:
  1296. description: 审核人名称
  1297. type: string
  1298. auditremark:
  1299. description: 审核备注
  1300. type: string
  1301. audittime:
  1302. description: 审核时间
  1303. type: string
  1304. buyusername:
  1305. description: 采购方名称
  1306. type: string
  1307. contractno:
  1308. description: 合同编号
  1309. type: string
  1310. contractstatus:
  1311. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1312. type: integer
  1313. contracttype:
  1314. description: 现货合同类型 - 1:采购 -1:销售
  1315. type: integer
  1316. deliverygoodscode:
  1317. description: 现货品种代码
  1318. type: string
  1319. deliverygoodsid:
  1320. description: 现货商品ID
  1321. type: integer
  1322. deliverygoodsname:
  1323. description: 现货品种名称
  1324. type: string
  1325. enumdicname:
  1326. description: 单位名称
  1327. type: string
  1328. goodscode:
  1329. description: 点价合约
  1330. type: string
  1331. goodsname:
  1332. description: 商品名称
  1333. type: string
  1334. operateapplyid:
  1335. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1336. type: string
  1337. operateapplytype:
  1338. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1339. type: integer
  1340. pricedPrice:
  1341. description: 点价价格(非必填)
  1342. type: number
  1343. pricedQty:
  1344. description: 点价数量(非必填)
  1345. type: number
  1346. pricemove:
  1347. description: 升贴水
  1348. type: number
  1349. pricetype:
  1350. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1351. type: integer
  1352. relatedid:
  1353. description: 现货合同ID
  1354. type: string
  1355. sellusername:
  1356. description: 销售方名字
  1357. type: string
  1358. userid:
  1359. description: 用户ID
  1360. type: integer
  1361. wrstandardcode:
  1362. description: 品类代码
  1363. type: string
  1364. wrstandardid:
  1365. description: 品类id
  1366. type: integer
  1367. wrstandardname:
  1368. description: 品类名称
  1369. type: string
  1370. type: object
  1371. ermcp.QryBussinessFpRsp:
  1372. properties:
  1373. applyid:
  1374. description: 申请人
  1375. type: string
  1376. applyname:
  1377. description: 申请人名称
  1378. type: string
  1379. applystatus:
  1380. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1381. type: integer
  1382. applytime:
  1383. description: 申请时间
  1384. type: string
  1385. attachurl:
  1386. description: 附件
  1387. type: string
  1388. auditid:
  1389. description: 审核人ID
  1390. type: string
  1391. auditname:
  1392. description: 审核人名称
  1393. type: string
  1394. auditremark:
  1395. description: 审核备注
  1396. type: string
  1397. audittime:
  1398. description: 审核时间
  1399. type: string
  1400. buyusername:
  1401. description: 采购方名称
  1402. type: string
  1403. contractno:
  1404. description: 合同编号
  1405. type: string
  1406. contractstatus:
  1407. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1408. type: integer
  1409. contracttype:
  1410. description: 现货合同类型 - 1:采购 -1:销售
  1411. type: integer
  1412. deliverygoodscode:
  1413. description: 现货品种代码
  1414. type: string
  1415. deliverygoodsid:
  1416. description: 现货商品ID
  1417. type: integer
  1418. deliverygoodsname:
  1419. description: 现货品种名称
  1420. type: string
  1421. enumdicname:
  1422. description: 单位名称
  1423. type: string
  1424. goodscode:
  1425. description: 点价合约
  1426. type: string
  1427. goodsname:
  1428. description: 商品名称
  1429. type: string
  1430. invoiceamount:
  1431. description: 已开收票金额(销售为开票,采购为收票)
  1432. type: number
  1433. operateapplyid:
  1434. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1435. type: string
  1436. operateapplytype:
  1437. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1438. type: integer
  1439. pricemove:
  1440. description: 升贴水
  1441. type: number
  1442. pricetype:
  1443. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1444. type: integer
  1445. relatedid:
  1446. description: 现货合同ID
  1447. type: string
  1448. sellusername:
  1449. description: 销售方名字
  1450. type: string
  1451. userid:
  1452. description: 用户ID
  1453. type: integer
  1454. wrstandardcode:
  1455. description: 品类代码
  1456. type: string
  1457. wrstandardid:
  1458. description: 品类id
  1459. type: integer
  1460. wrstandardname:
  1461. description: 品类名称
  1462. type: string
  1463. type: object
  1464. ermcp.QryBussinessJsExRsp:
  1465. properties:
  1466. applyid:
  1467. description: 申请人
  1468. type: string
  1469. applyname:
  1470. description: 申请人名称
  1471. type: string
  1472. applystatus:
  1473. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1474. type: integer
  1475. applytime:
  1476. description: 申请时间
  1477. type: string
  1478. attachurl:
  1479. description: 附件
  1480. type: string
  1481. auditid:
  1482. description: 审核人ID
  1483. type: string
  1484. auditname:
  1485. description: 审核人名称
  1486. type: string
  1487. auditremark:
  1488. description: 审核备注
  1489. type: string
  1490. audittime:
  1491. description: 审核时间
  1492. type: string
  1493. buyusername:
  1494. description: 采购方名称
  1495. type: string
  1496. contractno:
  1497. description: 合同编号
  1498. type: string
  1499. contractstatus:
  1500. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1501. type: integer
  1502. contracttype:
  1503. description: 现货合同类型 - 1:采购 -1:销售
  1504. type: integer
  1505. deliverygoodscode:
  1506. description: 现货品种代码
  1507. type: string
  1508. deliverygoodsid:
  1509. description: 现货商品ID
  1510. type: integer
  1511. deliverygoodsname:
  1512. description: 现货品种名称
  1513. type: string
  1514. enumdicname:
  1515. description: 单位名称
  1516. type: string
  1517. goodscode:
  1518. description: 点价合约
  1519. type: string
  1520. goodsname:
  1521. description: 商品名称
  1522. type: string
  1523. operateapplyid:
  1524. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1525. type: string
  1526. operateapplytype:
  1527. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1528. type: integer
  1529. pricemove:
  1530. description: 升贴水
  1531. type: number
  1532. pricetype:
  1533. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1534. type: integer
  1535. reckontype:
  1536. description: 结算类型
  1537. type: string
  1538. reckonvalue:
  1539. description: 值
  1540. type: number
  1541. relatedid:
  1542. description: 现货合同ID
  1543. type: string
  1544. sellusername:
  1545. description: 销售方名字
  1546. type: string
  1547. userid:
  1548. description: 用户ID
  1549. type: integer
  1550. wrstandardcode:
  1551. description: 品类代码
  1552. type: string
  1553. wrstandardid:
  1554. description: 品类id
  1555. type: integer
  1556. wrstandardname:
  1557. description: 品类名称
  1558. type: string
  1559. type: object
  1560. ermcp.QryBussinessJsRsp:
  1561. properties:
  1562. addmargin:
  1563. description: 追加保证金(非必填)
  1564. type: number
  1565. applyid:
  1566. description: 申请人
  1567. type: string
  1568. applyname:
  1569. description: 申请人名称
  1570. type: string
  1571. applystatus:
  1572. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1573. type: integer
  1574. applytime:
  1575. description: 申请时间
  1576. type: string
  1577. attachurl:
  1578. description: 附件
  1579. type: string
  1580. auditid:
  1581. description: 审核人ID
  1582. type: string
  1583. auditname:
  1584. description: 审核人名称
  1585. type: string
  1586. auditremark:
  1587. description: 审核备注
  1588. type: string
  1589. audittime:
  1590. description: 审核时间
  1591. type: string
  1592. buyusername:
  1593. description: 采购方名称
  1594. type: string
  1595. contractno:
  1596. description: 合同编号
  1597. type: string
  1598. contractstatus:
  1599. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1600. type: integer
  1601. contracttype:
  1602. description: 现货合同类型 - 1:采购 -1:销售
  1603. type: integer
  1604. decmargin:
  1605. description: 减少保证金(非必填)
  1606. type: number
  1607. deliverygoodscode:
  1608. description: 现货品种代码
  1609. type: string
  1610. deliverygoodsid:
  1611. description: 现货商品ID
  1612. type: integer
  1613. deliverygoodsname:
  1614. description: 现货品种名称
  1615. type: string
  1616. enumdicname:
  1617. description: 单位名称
  1618. type: string
  1619. goodscode:
  1620. description: 点价合约
  1621. type: string
  1622. goodsname:
  1623. description: 商品名称
  1624. type: string
  1625. operateapplyid:
  1626. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1627. type: string
  1628. operateapplytype:
  1629. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1630. type: integer
  1631. pricemove:
  1632. description: 升贴水
  1633. type: number
  1634. pricetype:
  1635. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1636. type: integer
  1637. reckonadjustamount:
  1638. description: 结算调整金额(非必填)
  1639. type: number
  1640. reckonosamount:
  1641. description: 结算溢短金额(非必填)
  1642. type: number
  1643. reckonotheramount:
  1644. description: 结算其他费用(非必填)
  1645. type: number
  1646. reckonrealqty:
  1647. description: 结算实际数量(非必填)
  1648. type: number
  1649. relatedid:
  1650. description: 现货合同ID
  1651. type: string
  1652. sellusername:
  1653. description: 销售方名字
  1654. type: string
  1655. userid:
  1656. description: 用户ID
  1657. type: integer
  1658. wrstandardcode:
  1659. description: 品类代码
  1660. type: string
  1661. wrstandardid:
  1662. description: 品类id
  1663. type: integer
  1664. wrstandardname:
  1665. description: 品类名称
  1666. type: string
  1667. type: object
  1668. ermcp.QryBussinessKxRsp:
  1669. properties:
  1670. applyid:
  1671. description: 申请人
  1672. type: string
  1673. applyname:
  1674. description: 申请人名称
  1675. type: string
  1676. applystatus:
  1677. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1678. type: integer
  1679. applytime:
  1680. description: 申请时间
  1681. type: string
  1682. attachurl:
  1683. description: 附件
  1684. type: string
  1685. auditid:
  1686. description: 审核人ID
  1687. type: string
  1688. auditname:
  1689. description: 审核人名称
  1690. type: string
  1691. auditremark:
  1692. description: 审核备注
  1693. type: string
  1694. audittime:
  1695. description: 审核时间
  1696. type: string
  1697. buyusername:
  1698. description: 采购方名称
  1699. type: string
  1700. contractno:
  1701. description: 合同编号
  1702. type: string
  1703. contractstatus:
  1704. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1705. type: integer
  1706. contracttype:
  1707. description: 现货合同类型 - 1:采购 -1:销售
  1708. type: integer
  1709. deductamount:
  1710. description: 退款(非必填)
  1711. type: number
  1712. deliverygoodscode:
  1713. description: 现货品种代码
  1714. type: string
  1715. deliverygoodsid:
  1716. description: 现货商品ID
  1717. type: integer
  1718. deliverygoodsname:
  1719. description: 现货品种名称
  1720. type: string
  1721. enumdicname:
  1722. description: 单位名称
  1723. type: string
  1724. goodscode:
  1725. description: 点价合约
  1726. type: string
  1727. goodsname:
  1728. description: 商品名称
  1729. type: string
  1730. kxtype:
  1731. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1732. type: integer
  1733. operateapplyid:
  1734. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1735. type: string
  1736. operateapplytype:
  1737. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1738. type: integer
  1739. payamount:
  1740. description: 收付款(非必填)
  1741. type: number
  1742. pricemove:
  1743. description: 升贴水
  1744. type: number
  1745. pricetype:
  1746. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1747. type: integer
  1748. relatedid:
  1749. description: 现货合同ID
  1750. type: string
  1751. sellusername:
  1752. description: 销售方名字
  1753. type: string
  1754. userid:
  1755. description: 用户ID
  1756. type: integer
  1757. wrstandardcode:
  1758. description: 品类代码
  1759. type: string
  1760. wrstandardid:
  1761. description: 品类id
  1762. type: integer
  1763. wrstandardname:
  1764. description: 品类名称
  1765. type: string
  1766. type: object
  1767. ermcp.QryGGCovertCfgRsp:
  1768. properties:
  1769. convertratio:
  1770. description: 折算系数
  1771. type: number
  1772. destgoodsgroupid:
  1773. description: 目标品种ID
  1774. type: integer
  1775. dstcode:
  1776. description: 目录品种代码
  1777. type: string
  1778. dstexchangecode:
  1779. description: 目标期货交易所
  1780. type: string
  1781. dstname:
  1782. description: 目标品种名称
  1783. type: string
  1784. dstunitid:
  1785. description: 目标品种单位ID
  1786. type: integer
  1787. dstunitidname:
  1788. description: 目标品种单位名称
  1789. type: string
  1790. modifytime:
  1791. description: 修改时间
  1792. type: string
  1793. srccode:
  1794. description: 源品种代码
  1795. type: string
  1796. srcexchangecode:
  1797. description: 源期货交易所
  1798. type: string
  1799. srcgoodsgroupid:
  1800. description: 源品种ID
  1801. type: integer
  1802. srcname:
  1803. description: 源品种名称
  1804. type: string
  1805. srcunitid:
  1806. description: 源品种单位ID
  1807. type: integer
  1808. srcunitidname:
  1809. description: 源品种单位名称
  1810. type: string
  1811. type: object
  1812. ermcp.QryMGChangeLogRsp:
  1813. properties:
  1814. aftervalue:
  1815. description: 变更后
  1816. type: number
  1817. applyid:
  1818. description: 操作人
  1819. type: integer
  1820. applyname:
  1821. description: 操作人名称
  1822. type: string
  1823. applysrc:
  1824. description: 操作来源 - 1:管理端 2:终端
  1825. type: integer
  1826. beforevalue:
  1827. description: 变更前
  1828. type: number
  1829. changelogtype:
  1830. description: 变更流水类型 - 1:套保比率变更
  1831. type: integer
  1832. handlestatus:
  1833. description: 处理状态
  1834. type: integer
  1835. logdatetime:
  1836. description: 流水日期
  1837. type: string
  1838. logid:
  1839. description: 流水ID
  1840. type: integer
  1841. logremark:
  1842. description: 流水备注
  1843. type: string
  1844. middlegoodsid:
  1845. description: 套保品种ID
  1846. type: integer
  1847. tradedate:
  1848. description: 交易日(yyyyMMdd)
  1849. type: string
  1850. updatetime:
  1851. description: 更新时间
  1852. type: string
  1853. type: object
  1854. ermcp.QryMiddleGoodsDetailRsp:
  1855. properties:
  1856. cvList:
  1857. description: 期货品种折算列表
  1858. items:
  1859. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1860. type: array
  1861. mg:
  1862. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1863. description: 套保品种基本信息
  1864. wrcList:
  1865. description: 现货品种列表(现货商品折算配置)
  1866. items:
  1867. $ref: '#/definitions/models.WRSConverTDetail'
  1868. type: array
  1869. type: object
  1870. ermcp.QryMiddleGoodsRsp:
  1871. properties:
  1872. areauserid:
  1873. description: 机构用户ID
  1874. type: integer
  1875. createtime:
  1876. description: 修改时间
  1877. type: string
  1878. enumdicname:
  1879. description: 单位名称
  1880. type: string
  1881. evaluateratio:
  1882. description: 估价系数
  1883. type: number
  1884. goodsgroupid:
  1885. description: 关联期货品种ID
  1886. type: integer
  1887. goodsunitid:
  1888. description: 单位ID
  1889. type: integer
  1890. isvalid:
  1891. description: 状态 0-无效(停用) 1-有效(正常)
  1892. type: integer
  1893. middlegoodscode:
  1894. description: 套保品种代码
  1895. type: string
  1896. middlegoodsid:
  1897. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  1898. type: integer
  1899. middlegoodsname:
  1900. description: 套保品种名称
  1901. type: string
  1902. modifytime:
  1903. description: 修改时间
  1904. type: string
  1905. needarbitrageratio:
  1906. description: 套利比例
  1907. type: number
  1908. needhedgeratio:
  1909. description: 套保比率
  1910. type: number
  1911. qtydecimalplace:
  1912. description: 数量小数位
  1913. type: integer
  1914. relatedgoodsid:
  1915. description: 关联交易商品ID
  1916. type: integer
  1917. relatedgoodstype:
  1918. description: 关联商品类型 - 1:期货合约 2:现货品种
  1919. type: integer
  1920. remark:
  1921. description: 备注
  1922. type: string
  1923. type: object
  1924. ermcp.QryOPLogRsp:
  1925. properties:
  1926. aftervalue:
  1927. description: 变更后
  1928. type: number
  1929. applyid:
  1930. description: 操作人ID
  1931. type: string
  1932. applyname:
  1933. description: 操作人名称
  1934. type: string
  1935. beforevalue:
  1936. description: 变更前
  1937. type: number
  1938. biztype:
  1939. description: 业务类型 - 1:套保计划 2:现货合同
  1940. type: integer
  1941. contracttype:
  1942. description: 现货合同类型 - 1:采购 -1:销售
  1943. type: integer
  1944. logvalue:
  1945. description: 数值
  1946. type: number
  1947. operatelogtype:
  1948. description: 操作流水类型
  1949. type: integer
  1950. operatelogtypedesc:
  1951. description: 操作流水类型名称
  1952. type: string
  1953. relatedid:
  1954. description: 现货合同ID\套保计划
  1955. type: string
  1956. updatetime:
  1957. description: 更新时间
  1958. type: string
  1959. type: object
  1960. ermcp.QryUserInfoRsp:
  1961. properties:
  1962. address:
  1963. description: 通讯地址
  1964. type: string
  1965. attachment1:
  1966. description: 附件1
  1967. type: string
  1968. audittime:
  1969. description: 审核时间
  1970. type: string
  1971. cardbackphotourl:
  1972. description: 证件反面图片地址
  1973. type: string
  1974. cardfrontphotourl:
  1975. description: 证件正面图片地址
  1976. type: string
  1977. cardnum:
  1978. description: 证件号码
  1979. type: string
  1980. cardtype:
  1981. description: 证件类型
  1982. type: integer
  1983. cardtypename:
  1984. description: 证件类型名称
  1985. type: string
  1986. cityid:
  1987. description: 市
  1988. type: integer
  1989. contactname:
  1990. description: 联系人
  1991. type: string
  1992. countryid:
  1993. description: 国家
  1994. type: integer
  1995. createtime:
  1996. description: 创建时间
  1997. type: string
  1998. customername:
  1999. description: 企业名称
  2000. type: string
  2001. districtid:
  2002. description: 区域
  2003. type: integer
  2004. email:
  2005. description: 邮件
  2006. type: string
  2007. legalpersonname:
  2008. description: 法人姓名(企业)
  2009. type: string
  2010. memberuserid:
  2011. description: 所属机构ID
  2012. type: integer
  2013. mobile:
  2014. description: 手机号码
  2015. type: string
  2016. modifytime:
  2017. description: 修改时间
  2018. type: string
  2019. nickname:
  2020. description: 昵称
  2021. type: string
  2022. provinceid:
  2023. description: 省
  2024. type: integer
  2025. remark:
  2026. description: 备注
  2027. type: string
  2028. status:
  2029. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  2030. type: integer
  2031. statusdesc:
  2032. description: 账户状态中文描述
  2033. type: string
  2034. taxpayernum:
  2035. description: 纳税人识别号
  2036. type: string
  2037. telphone:
  2038. description: 联系电话
  2039. type: string
  2040. userid:
  2041. description: 用户ID
  2042. type: integer
  2043. userinfotype:
  2044. description: 客户类型
  2045. type: string
  2046. type: object
  2047. ermcp.QryWarehouseRsp:
  2048. properties:
  2049. address:
  2050. description: 详细地址
  2051. type: string
  2052. areauserid:
  2053. description: 所属机构
  2054. type: integer
  2055. autoid:
  2056. description: 自增ID(仓库ID)
  2057. type: integer
  2058. cityid:
  2059. description: 市
  2060. type: integer
  2061. contactname:
  2062. description: 联系人
  2063. type: string
  2064. contactnum:
  2065. description: 联系电话
  2066. type: string
  2067. countryid:
  2068. description: 国家
  2069. type: integer
  2070. createtime:
  2071. description: 创建时间
  2072. type: string
  2073. districtid:
  2074. description: 区
  2075. type: integer
  2076. hasvideo:
  2077. description: 是否有视频 - 0:无 1:有
  2078. type: integer
  2079. provinceid:
  2080. description: 省
  2081. type: integer
  2082. remark:
  2083. description: 审核备注
  2084. type: string
  2085. videourl:
  2086. description: 视频地址
  2087. type: string
  2088. warehousecode:
  2089. description: 仓库代码
  2090. type: string
  2091. warehousename:
  2092. description: 仓库名称
  2093. type: string
  2094. warehousestatus:
  2095. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  2096. type: integer
  2097. warehousetype:
  2098. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  2099. type: integer
  2100. type: object
  2101. ermcp.QueryErmcpTradePositionRsp:
  2102. properties:
  2103. agreeunit:
  2104. description: 合约单位
  2105. type: number
  2106. buyorsell:
  2107. description: 方向 - 0:买 1:卖
  2108. type: integer
  2109. curpositionqty:
  2110. description: 持仓(总仓数量, 期末头寸)
  2111. type: integer
  2112. curtdposition:
  2113. description: 今仓数量(期末今日头寸)
  2114. type: integer
  2115. curtdpositionenabled:
  2116. description: 今仓可用
  2117. type: integer
  2118. decimalplace:
  2119. description: 报价小数位
  2120. type: integer
  2121. enableqty:
  2122. description: 可用(总仓可用)
  2123. type: integer
  2124. exexchangename:
  2125. description: 外部交易所名称
  2126. type: string
  2127. exexehangecode:
  2128. description: 外部交易所代码
  2129. type: string
  2130. exexehangeid:
  2131. description: 外部交易所id
  2132. type: integer
  2133. goodscode:
  2134. description: 商品代码(内部)
  2135. type: string
  2136. goodsid:
  2137. description: 商品ID(自增ID SEQ_GOODS)
  2138. type: integer
  2139. goodsname:
  2140. description: 商品名称
  2141. type: string
  2142. last:
  2143. description: 现价
  2144. type: number
  2145. marketid:
  2146. description: 所属市场ID
  2147. type: integer
  2148. openaverageprice:
  2149. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  2150. type: number
  2151. opencost:
  2152. description: 开仓成本
  2153. type: number
  2154. openpl:
  2155. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  2156. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2157. type: number
  2158. outgoodscode:
  2159. description: 商品代码(外部)
  2160. type: string
  2161. positionaverageprice:
  2162. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  2163. type: number
  2164. positioncost:
  2165. description: 持仓成本
  2166. type: number
  2167. positionpl:
  2168. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  2169. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2170. type: number
  2171. positionplrate:
  2172. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  2173. type: number
  2174. usedmargin:
  2175. description: 占用保证金
  2176. type: number
  2177. type: object
  2178. ermcp.RealtimeExposurePositionRsp:
  2179. properties:
  2180. agreeunit:
  2181. description: 合约单位
  2182. type: string
  2183. areauserid:
  2184. description: 所属机构id
  2185. type: integer
  2186. convertratio:
  2187. description: 期货品种系数(折算系数)
  2188. type: number
  2189. curqty:
  2190. description: 当前持仓
  2191. type: integer
  2192. diffhedgeqty:
  2193. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  2194. type: number
  2195. diffqty:
  2196. description: 持仓变动量=当前持仓-昨日持仓
  2197. type: integer
  2198. goodscode:
  2199. description: 商品代码
  2200. type: string
  2201. goodsid:
  2202. description: 商品id
  2203. type: integer
  2204. goodsname:
  2205. description: 商品名称
  2206. type: string
  2207. middlegoodsid:
  2208. description: 套保商品id
  2209. type: integer
  2210. ydqty:
  2211. description: 昨日持仓
  2212. type: integer
  2213. type: object
  2214. ermcp.RealtimeExposureRsp:
  2215. properties:
  2216. AreaUserID:
  2217. description: 所属机构
  2218. type: integer
  2219. BuyFutureQty:
  2220. description: 买入期货数量
  2221. type: number
  2222. BuyPlanQty:
  2223. description: 采购计划数量
  2224. type: number
  2225. BuyPricedQty:
  2226. description: 采购合同已定价数量
  2227. type: number
  2228. MiddleGoodsCode:
  2229. description: 套保品种代码
  2230. type: string
  2231. MiddleGoodsHedgeRatio:
  2232. description: 套保比例
  2233. type: number
  2234. MiddleGoodsID:
  2235. description: 套保品种
  2236. type: integer
  2237. MiddleGoodsName:
  2238. description: 套保品种名称
  2239. type: string
  2240. NeedHedgeExposoure:
  2241. description: 应套保敞口(套保敞口)
  2242. type: number
  2243. NeedHedgeRatio:
  2244. description: 应套保敞口比例
  2245. type: number
  2246. OriBuyFutureQty:
  2247. description: 期初买入期货数量
  2248. type: number
  2249. OriBuyPlanQty:
  2250. description: 期初采购计划数量
  2251. type: number
  2252. OriBuyPricedQty:
  2253. description: 期初采购合同已定价数量
  2254. type: number
  2255. OriSellFutureQty:
  2256. description: 期初卖出期货数量
  2257. type: number
  2258. OriSellPlanQty:
  2259. description: 期初销售计划数量
  2260. type: number
  2261. OriSellPricedQty:
  2262. description: 期初销售合同已定价数量
  2263. type: number
  2264. OriTotalSpotQty:
  2265. description: 期初现货总量
  2266. type: number
  2267. SellFutureQty:
  2268. description: 卖出期货数量
  2269. type: number
  2270. SellPlanQty:
  2271. description: 销售计划数量
  2272. type: number
  2273. SellPricedQty:
  2274. description: 销售合同已定价数量
  2275. type: number
  2276. TotalExposure:
  2277. description: 总敞口 平安:净敞口
  2278. type: number
  2279. TotalFutureQty:
  2280. description: 期货总量 平安:保值净持仓量
  2281. type: number
  2282. TotalHedgeRatio:
  2283. description: 敞口比例
  2284. type: number
  2285. TotalNeedHedgeQty:
  2286. description: 应套保总量(现货应套保总量)
  2287. type: number
  2288. TotalSpotQty:
  2289. description: 现货总量 平安:采销定价净值
  2290. type: number
  2291. arbitrageqty:
  2292. description: 套利量
  2293. type: number
  2294. diffArbitrageQty:
  2295. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  2296. type: number
  2297. diffExposoureQty:
  2298. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  2299. type: number
  2300. diffFutuQty:
  2301. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  2302. type: number
  2303. diffHedgeQty:
  2304. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  2305. type: number
  2306. diffQty:
  2307. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  2308. type: number
  2309. diffSpotHedgeQty:
  2310. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  2311. type: number
  2312. diffSpotQty:
  2313. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  2314. type: number
  2315. enumdicname:
  2316. description: 单位名称
  2317. type: string
  2318. hedgeqty:
  2319. description: 套保量
  2320. type: number
  2321. needarbitrageqty:
  2322. description: 应套利量
  2323. type: number
  2324. needarbitrageratio:
  2325. description: 套利比例
  2326. type: number
  2327. needhedgeqty:
  2328. description: 应套保量
  2329. type: number
  2330. oriarbitrageqty:
  2331. description: 期初套利量
  2332. type: number
  2333. orihedgeqty:
  2334. description: 期初套保量
  2335. type: number
  2336. orineedhedgeexposoure:
  2337. description: 期初套保敞口
  2338. type: number
  2339. oritotalexposure:
  2340. description: 期初总敞口
  2341. type: number
  2342. oritotalfutureqty:
  2343. description: 期初期货总量
  2344. type: number
  2345. oritotalneedhedgeqty:
  2346. description: 期初现货应套保量
  2347. type: number
  2348. type: object
  2349. erms2.QueryArbitrageStrategyRsp:
  2350. properties:
  2351. applybasis:
  2352. description: 申请基差
  2353. type: number
  2354. asapplyid:
  2355. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  2356. type: string
  2357. asname:
  2358. description: 策略名称
  2359. type: string
  2360. asno:
  2361. description: 策略编号
  2362. type: string
  2363. basischangepl:
  2364. description: 基差变动损益[结算更新]
  2365. type: number
  2366. biztype:
  2367. description: 业务类型 - 1:正向套利 -1:反向套利
  2368. type: integer
  2369. closetradedate:
  2370. description: 完结交易日(yyyyMMdd)
  2371. type: string
  2372. curbasis:
  2373. description: 当前基差[结算更新]
  2374. type: number
  2375. deliverygoodsid:
  2376. description: 现货品种ID
  2377. type: integer
  2378. futureavgprice:
  2379. description: 期货建仓均价
  2380. type: number
  2381. futurecloseamount:
  2382. description: 期货平仓金额
  2383. type: number
  2384. futurecloseqty:
  2385. description: 期货平仓数量
  2386. type: number
  2387. futureopenamount:
  2388. description: 期货开仓金额
  2389. type: number
  2390. futureopenqty:
  2391. description: 期货开仓数量
  2392. type: number
  2393. futurepl:
  2394. description: 期货总盈亏[结算更新]
  2395. type: number
  2396. futureqty:
  2397. description: 期货持仓数量
  2398. type: number
  2399. futurequote:
  2400. description: 期货额度
  2401. type: number
  2402. goodsgroupid:
  2403. description: 期货品种ID
  2404. type: integer
  2405. marketid:
  2406. description: 市场ID
  2407. type: integer
  2408. netexposure:
  2409. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  2410. type: number
  2411. netexposurepl:
  2412. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  2413. type: number
  2414. netexposurerate:
  2415. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  2416. type: number
  2417. openbasis:
  2418. description: 建仓基差
  2419. type: number
  2420. pricedspotqty:
  2421. description: 已定价现货数量
  2422. type: number
  2423. pricedspotqtynotax:
  2424. description: 已定价现货不含税数量
  2425. type: number
  2426. remark:
  2427. description: 备注
  2428. type: string
  2429. spotavgprice:
  2430. description: 现货均价
  2431. type: number
  2432. spotbuyamount:
  2433. description: 现货采购金额
  2434. type: number
  2435. spotbuyqty:
  2436. description: 现货采购数量
  2437. type: number
  2438. spotpl:
  2439. description: 现货总盈亏[结算更新]
  2440. type: number
  2441. spotquota:
  2442. description: 现货额度
  2443. type: number
  2444. spotsellamount:
  2445. description: 现货销售金额
  2446. type: number
  2447. spotsellqty:
  2448. description: 现货销售数量
  2449. type: number
  2450. spotusedquota:
  2451. description: 现货占用资金
  2452. type: number
  2453. strategystatus:
  2454. description: 策略状态 - 0:未结束 1:已结束
  2455. type: integer
  2456. totalpl:
  2457. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  2458. type: number
  2459. tradedate:
  2460. description: 交易日(yyyyMMdd)
  2461. type: string
  2462. updatetime:
  2463. description: 更新时间
  2464. type: string
  2465. usedquota:
  2466. description: 已占用资金
  2467. type: number
  2468. userid:
  2469. description: 所属机构
  2470. type: integer
  2471. required:
  2472. - asapplyid
  2473. type: object
  2474. erms2.QueryInnerTradeDetailRsp:
  2475. properties:
  2476. accountid:
  2477. description: 账号ID
  2478. type: integer
  2479. agreeunit:
  2480. description: 合约单位
  2481. type: number
  2482. asapplyid:
  2483. description: 策略申请ID
  2484. type: integer
  2485. asname:
  2486. description: 策略名称
  2487. type: string
  2488. asno:
  2489. description: 策略编号
  2490. type: string
  2491. buyorsell:
  2492. description: 方向 - 0:买 1:卖
  2493. type: integer
  2494. channelbuildtype:
  2495. description: 委托单据类型 0:无 1:建仓 2:平仓
  2496. type: integer
  2497. closetype:
  2498. description: 平仓方式 - 0:无 1:平今 2:平昨
  2499. type: integer
  2500. decimalplace:
  2501. description: 报价小数位
  2502. type: integer
  2503. detailtype:
  2504. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  2505. type: integer
  2506. exexchangecode:
  2507. description: 外部交易所代码
  2508. type: string
  2509. exexchangename:
  2510. description: 外部交易所名称
  2511. type: string
  2512. goodscode:
  2513. description: 商品代码(合约)
  2514. type: string
  2515. goodsgroupid:
  2516. description: 商品组ID(品种ID)
  2517. type: integer
  2518. goodsgroupname:
  2519. description: 商品组名称(品种)
  2520. type: string
  2521. goodsid:
  2522. description: 商品ID
  2523. type: integer
  2524. goodsname:
  2525. description: 商品名称(合约)
  2526. type: string
  2527. goodunit:
  2528. description: 报价单位
  2529. type: string
  2530. marketid:
  2531. description: 市场ID
  2532. type: integer
  2533. orderid:
  2534. description: 委托单号
  2535. type: string
  2536. outgoodscode:
  2537. description: 商品代码(外部)
  2538. type: string
  2539. relatedouttradeid:
  2540. description: 关联外部成交单ID
  2541. type: string
  2542. remark:
  2543. description: 备注
  2544. type: string
  2545. spotcontractid:
  2546. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  2547. type: integer
  2548. spotcontractno:
  2549. description: 现货合同编号
  2550. type: string
  2551. tradeid:
  2552. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2553. type: string
  2554. tradeprice:
  2555. description: 成交价格
  2556. type: number
  2557. tradeqty:
  2558. description: 成交数量
  2559. type: integer
  2560. tradetime:
  2561. description: 成交时间
  2562. type: string
  2563. updatetime:
  2564. description: 更新时间
  2565. type: string
  2566. required:
  2567. - asapplyid
  2568. - buyorsell
  2569. - goodscode
  2570. - goodsgroupid
  2571. - goodsgroupname
  2572. - goodsname
  2573. - tradeid
  2574. type: object
  2575. erms2.QuerySpotContractRsp:
  2576. properties:
  2577. accountid:
  2578. description: 资金账户ID
  2579. type: integer
  2580. areauserid:
  2581. description: 所属机构
  2582. type: integer
  2583. closedate:
  2584. description: 终止日期
  2585. type: string
  2586. closeremark:
  2587. description: 结束备注
  2588. type: string
  2589. closetradedate:
  2590. description: 完结交易日(yyyyMMdd)
  2591. type: string
  2592. closetype:
  2593. description: 终止类型 - 1:违约 2:提前终止
  2594. type: integer
  2595. contractamount:
  2596. description: 合同金额
  2597. type: number
  2598. contractattachment:
  2599. description: 合同附件
  2600. type: string
  2601. contractno:
  2602. description: 现货合同编号
  2603. type: string
  2604. contractqty:
  2605. description: 合同数量(数值) (用于计算)
  2606. type: number
  2607. contractqtychar:
  2608. description: 合同数量\已订价数量 (用于显示)
  2609. type: string
  2610. contractstatus:
  2611. description: 合同状态 - 0:未结束 1:已结束
  2612. type: integer
  2613. contracttype:
  2614. description: 现货合同类型 - 1:采购合同 -1:销售合同
  2615. type: integer
  2616. customeraccountid:
  2617. description: 客户资金账户ID
  2618. type: integer
  2619. customeruserid:
  2620. description: 客户ID
  2621. type: integer
  2622. deliverygoodsdesc:
  2623. description: 品种说明
  2624. type: string
  2625. deliverygoodsid:
  2626. description: 现货品种ID
  2627. type: integer
  2628. handlestatus:
  2629. description: 处理状态
  2630. type: integer
  2631. invoiceatt:
  2632. description: 发票附件
  2633. type: string
  2634. invoicedatetime:
  2635. description: 开收票更新时间
  2636. type: string
  2637. invoiceopentime:
  2638. description: 开票时间
  2639. type: string
  2640. invoiceremark:
  2641. description: 发票备注
  2642. type: string
  2643. invoicestatus:
  2644. description: 开收票状态 - 0:未开票 1:已开票
  2645. type: integer
  2646. lastdate:
  2647. description: 交货时间
  2648. type: string
  2649. marketid:
  2650. description: 市场ID
  2651. type: integer
  2652. paydatetime:
  2653. description: 收付款更新时间
  2654. type: string
  2655. payremark:
  2656. description: 收付款备注
  2657. type: string
  2658. paystatus:
  2659. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  2660. type: integer
  2661. positionqty:
  2662. description: 头寸数量 - 合同数量去小数部分
  2663. type: integer
  2664. producttype:
  2665. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2666. type: integer
  2667. relatedqty:
  2668. description: 已关联数量
  2669. type: number
  2670. relatedstatus:
  2671. description: 关联完结状态 - 0:未结束 1:已结束
  2672. type: integer
  2673. remark:
  2674. description: 备注
  2675. type: string
  2676. signdate:
  2677. description: 签订日期
  2678. type: string
  2679. spotcontractid:
  2680. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  2681. type: string
  2682. spotdatetime:
  2683. description: 收发货更新时间
  2684. type: string
  2685. spotprice:
  2686. description: 价格
  2687. type: number
  2688. spotremark:
  2689. description: 收发货备注
  2690. type: string
  2691. spotstatus:
  2692. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  2693. type: integer
  2694. tradedate:
  2695. description: 交易日(yyyyMMdd)
  2696. type: string
  2697. userid:
  2698. description: 业务员用户ID
  2699. type: integer
  2700. warehouseid:
  2701. description: 仓库ID
  2702. type: integer
  2703. wrfactortypeid:
  2704. description: 仓单要素类型ID
  2705. type: integer
  2706. wrstandardid:
  2707. description: 仓单标准ID(SEQ_WRSTANDARD)
  2708. type: integer
  2709. required:
  2710. - spotcontractid
  2711. type: object
  2712. erms3.AddErms2ASApplyReq:
  2713. properties:
  2714. applybasis:
  2715. description: 申请基差
  2716. type: number
  2717. applystatus:
  2718. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2719. type: integer
  2720. asapplyid:
  2721. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  2722. type: integer
  2723. asname:
  2724. description: 策略名称
  2725. type: string
  2726. asno:
  2727. description: 策略编号
  2728. type: string
  2729. auditid:
  2730. description: 审核人
  2731. type: integer
  2732. auditremark:
  2733. description: 审核备注
  2734. type: string
  2735. audittime:
  2736. description: 审核时间
  2737. type: string
  2738. biztype:
  2739. description: 业务类型 - 1:正向套利 2:反向套利
  2740. type: integer
  2741. createtime:
  2742. description: 创建时间
  2743. type: string
  2744. creatorid:
  2745. description: 创建人
  2746. type: integer
  2747. deliverygoodsid:
  2748. description: 现货品种ID
  2749. type: integer
  2750. futurequote:
  2751. description: 期货额度
  2752. type: number
  2753. goodsgroupid:
  2754. description: 期货品种ID
  2755. type: integer
  2756. marketid:
  2757. description: 市场ID
  2758. type: integer
  2759. remark:
  2760. description: 备注
  2761. type: string
  2762. spotquota:
  2763. description: 现货额度
  2764. type: number
  2765. tradedate:
  2766. description: 交易日(yyyyMMdd)
  2767. type: string
  2768. userid:
  2769. description: 所属机构
  2770. type: integer
  2771. required:
  2772. - asapplyid
  2773. type: object
  2774. erms3.AddErms2SpotTradeApplyReq:
  2775. properties:
  2776. applyjsondetail:
  2777. description: 申请明细(JSON)
  2778. type: string
  2779. applystatus:
  2780. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2781. type: integer
  2782. areauserid:
  2783. description: 所属机构
  2784. type: integer
  2785. auditid:
  2786. description: 审核人
  2787. type: integer
  2788. auditremark:
  2789. description: 审核备注
  2790. type: string
  2791. audittime:
  2792. description: 审核时间
  2793. type: string
  2794. createtime:
  2795. description: 创建时间
  2796. type: string
  2797. creatorid:
  2798. description: 创建人
  2799. type: integer
  2800. deliverygoodsid:
  2801. description: 现货品种ID
  2802. type: integer
  2803. futureaccountid:
  2804. description: 期货资金账户
  2805. type: integer
  2806. goodsgroupid:
  2807. description: 期货品种
  2808. type: integer
  2809. marketid:
  2810. description: 市场ID
  2811. type: integer
  2812. remark:
  2813. description: 备注
  2814. type: string
  2815. spotaccountid:
  2816. description: 现货资金账户
  2817. type: integer
  2818. spottradeid:
  2819. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  2820. type: integer
  2821. spottradename:
  2822. description: 业务名称
  2823. type: string
  2824. spottradeno:
  2825. description: 业务编号
  2826. type: string
  2827. tradedate:
  2828. description: 交易日(yyyyMMdd)
  2829. type: string
  2830. wrstandardid:
  2831. description: 仓单标准ID
  2832. type: integer
  2833. required:
  2834. - spottradeid
  2835. type: object
  2836. erms3.AddSpotContractApplyReq:
  2837. properties:
  2838. accountid:
  2839. description: 资金账户ID
  2840. type: integer
  2841. areauserid:
  2842. description: 所属机构
  2843. type: integer
  2844. contractattachment:
  2845. description: 合同附件
  2846. type: string
  2847. contractno:
  2848. description: 现货合同编号
  2849. type: string
  2850. contracttype:
  2851. description: 现货合同类型 - 1:采购 -1:销售
  2852. type: integer
  2853. creatorid:
  2854. description: 申请人
  2855. type: integer
  2856. customeraccountid:
  2857. description: 客户资金账户ID
  2858. type: integer
  2859. customeruserid:
  2860. description: 客户ID
  2861. type: integer
  2862. details:
  2863. description: 明细
  2864. items:
  2865. $ref: '#/definitions/erms3.SoptContractDetail'
  2866. type: array
  2867. orimargin:
  2868. description: 初始保证金
  2869. type: number
  2870. remark:
  2871. description: 备注
  2872. type: string
  2873. signdate:
  2874. description: 签订日期
  2875. type: string
  2876. required:
  2877. - accountid
  2878. - areauserid
  2879. - contractno
  2880. - contracttype
  2881. - customeraccountid
  2882. - customeruserid
  2883. - details
  2884. - orimargin
  2885. - signdate
  2886. type: object
  2887. erms3.AddSpotContractApplyRsp:
  2888. properties:
  2889. contractno:
  2890. description: 现货合同编号
  2891. type: string
  2892. spotcontractid:
  2893. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2894. type: integer
  2895. required:
  2896. - contractno
  2897. type: object
  2898. erms3.AddUserInfoApplyReq:
  2899. properties:
  2900. accountid:
  2901. description: 交易系统帐号Id (加密存储)
  2902. type: integer
  2903. areacode:
  2904. description: 机构代码
  2905. type: string
  2906. areaid:
  2907. description: 机构Id
  2908. type: integer
  2909. attachment1:
  2910. description: 附件1
  2911. type: string
  2912. attachment2:
  2913. description: 附件2
  2914. type: string
  2915. attachment3:
  2916. description: 附件3
  2917. type: string
  2918. attachment4:
  2919. description: 附件4
  2920. type: string
  2921. attachment5:
  2922. description: 附件5
  2923. type: string
  2924. auditedby:
  2925. description: 审核人
  2926. type: string
  2927. auditime:
  2928. description: 审核时间
  2929. type: string
  2930. auditsrc:
  2931. description: 审核来源 - 1:管理端 2:终端
  2932. type: integer
  2933. bankaccount:
  2934. description: 银行帐号 (加密存储)
  2935. type: string
  2936. bankaccountname:
  2937. description: 收款人名称
  2938. type: string
  2939. bankcardbackphotourl:
  2940. description: 银行卡背面照地址
  2941. type: string
  2942. bankcardfrontphotourl:
  2943. description: 银行卡正面照地址
  2944. type: string
  2945. bankid:
  2946. description: 银行编码
  2947. type: string
  2948. bankname:
  2949. description: 银行名称
  2950. type: string
  2951. bankpictureurl:
  2952. description: 银行卡正面地址
  2953. type: string
  2954. biznature:
  2955. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2956. type: integer
  2957. bizscope:
  2958. description: 企业经营范围(企业)
  2959. type: string
  2960. biztype:
  2961. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2962. type: integer
  2963. brokerid:
  2964. description: 经纪人ID(加密存储)
  2965. type: string
  2966. cardaddress:
  2967. description: 证件地址 (加密存储)
  2968. type: string
  2969. cardbackphotourl:
  2970. description: 背面证件照地址
  2971. type: string
  2972. cardfrontphotourl:
  2973. description: 正面证件照地址
  2974. type: string
  2975. cardnum:
  2976. description: 证件号码 (加密存储)
  2977. type: string
  2978. cardtype:
  2979. description: 证件类型
  2980. type: integer
  2981. cityid:
  2982. description: 市
  2983. type: integer
  2984. company:
  2985. description: 公司(个人)
  2986. type: string
  2987. contactcardbackphotourl:
  2988. description: 联系人证件背面图片地址
  2989. type: string
  2990. contactcardfrontphotourl:
  2991. description: 联系人证件正面图片地址
  2992. type: string
  2993. contactname:
  2994. description: 联系人
  2995. type: string
  2996. countryid:
  2997. description: 国家
  2998. type: integer
  2999. createtime:
  3000. description: 开户申请时间
  3001. type: string
  3002. cusbankid:
  3003. description: 签约类型
  3004. type: string
  3005. cusbankname:
  3006. description: 签约类型名称
  3007. type: string
  3008. customername:
  3009. description: 客户名称(企业名称)
  3010. type: string
  3011. districtid:
  3012. description: 地区
  3013. type: integer
  3014. email:
  3015. description: Email地址(加密存储)
  3016. type: string
  3017. halfbodyphotourl:
  3018. description: 半身照地址
  3019. type: string
  3020. headurl:
  3021. description: 头像地址
  3022. type: string
  3023. ipaddress:
  3024. description: IP地址
  3025. type: string
  3026. isvalidate:
  3027. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3028. type: string
  3029. legalcardbackphotourl:
  3030. description: 法人身份证背面照地址
  3031. type: string
  3032. legalcardfrontphotourl:
  3033. description: 法人身份证正面照地址
  3034. type: string
  3035. legalpersonname:
  3036. description: 法人姓名(企业)
  3037. type: string
  3038. logincode:
  3039. description: 登录帐号 (加密存储)
  3040. type: string
  3041. memberareaid:
  3042. description: 所属会员ID
  3043. type: integer
  3044. mobile2:
  3045. description: 手机号码[明文-尚志]
  3046. type: string
  3047. mobilephone:
  3048. description: 手机号码 (加密存储)
  3049. type: string
  3050. modifiedby:
  3051. description: 修改人帐号
  3052. type: integer
  3053. modifiedtime:
  3054. description: 修改时间
  3055. type: string
  3056. nickname:
  3057. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3058. type: string
  3059. openmode:
  3060. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3061. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3062. type: integer
  3063. otherurl:
  3064. description: 其它图片地址[使用分号分隔]
  3065. type: string
  3066. postalcode:
  3067. description: 邮政编码
  3068. type: string
  3069. provinceid:
  3070. description: 省
  3071. type: integer
  3072. proxystatementurl:
  3073. description: 授权委托书
  3074. type: string
  3075. qq:
  3076. description: QQ(加密存储
  3077. type: string
  3078. referral:
  3079. description: 推荐人编码
  3080. type: string
  3081. remark:
  3082. description: 备注
  3083. type: string
  3084. removebeforestatus:
  3085. description: REMOVEBEFORESTATUS
  3086. type: integer
  3087. sex:
  3088. description: 性别 - 0:女 1:男
  3089. type: integer
  3090. signedstatus:
  3091. description: 账户一号签签约状态
  3092. type: integer
  3093. signpdfurl:
  3094. description: 签约pdf文件
  3095. type: string
  3096. subbranch:
  3097. description: 开户支行
  3098. type: string
  3099. taxpayernum:
  3100. description: 纳税人识别号
  3101. type: string
  3102. telphone:
  3103. description: 联系电话(加密存储)
  3104. type: string
  3105. userid:
  3106. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3107. type: integer
  3108. userinfotype:
  3109. description: 用户信息类型 - 1:个人 2:企业
  3110. type: integer
  3111. username:
  3112. description: 用户姓名
  3113. type: string
  3114. userstate:
  3115. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3116. type: integer
  3117. usertype:
  3118. description: 用户类型 - 1:投资者 2:机构
  3119. type: integer
  3120. videourl:
  3121. description: 视频地址
  3122. type: string
  3123. wechat:
  3124. description: 微信号 (加密存储)
  3125. type: string
  3126. required:
  3127. - userid
  3128. type: object
  3129. erms3.CustomerInfo:
  3130. properties:
  3131. accountids:
  3132. description: 资金账户ID列表
  3133. items:
  3134. type: integer
  3135. type: array
  3136. customername:
  3137. description: 名称(企业名称)
  3138. type: string
  3139. mobile:
  3140. description: 手机号码
  3141. type: string
  3142. userid:
  3143. description: 用户ID
  3144. type: integer
  3145. required:
  3146. - userid
  3147. type: object
  3148. erms3.ModifyUserInfoApplyReq:
  3149. properties:
  3150. accountid:
  3151. description: 交易系统帐号Id (加密存储)
  3152. type: integer
  3153. areacode:
  3154. description: 机构代码
  3155. type: string
  3156. areaid:
  3157. description: 机构Id
  3158. type: integer
  3159. attachment1:
  3160. description: 附件1
  3161. type: string
  3162. attachment2:
  3163. description: 附件2
  3164. type: string
  3165. attachment3:
  3166. description: 附件3
  3167. type: string
  3168. attachment4:
  3169. description: 附件4
  3170. type: string
  3171. attachment5:
  3172. description: 附件5
  3173. type: string
  3174. auditedby:
  3175. description: 审核人
  3176. type: string
  3177. auditime:
  3178. description: 审核时间
  3179. type: string
  3180. auditsrc:
  3181. description: 审核来源 - 1:管理端 2:终端
  3182. type: integer
  3183. bankaccount:
  3184. description: 银行帐号 (加密存储)
  3185. type: string
  3186. bankaccountname:
  3187. description: 收款人名称
  3188. type: string
  3189. bankcardbackphotourl:
  3190. description: 银行卡背面照地址
  3191. type: string
  3192. bankcardfrontphotourl:
  3193. description: 银行卡正面照地址
  3194. type: string
  3195. bankid:
  3196. description: 银行编码
  3197. type: string
  3198. bankname:
  3199. description: 银行名称
  3200. type: string
  3201. bankpictureurl:
  3202. description: 银行卡正面地址
  3203. type: string
  3204. biznature:
  3205. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3206. type: integer
  3207. bizscope:
  3208. description: 企业经营范围(企业)
  3209. type: string
  3210. biztype:
  3211. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  3212. type: integer
  3213. brokerid:
  3214. description: 经纪人ID(加密存储)
  3215. type: string
  3216. cardaddress:
  3217. description: 证件地址 (加密存储)
  3218. type: string
  3219. cardbackphotourl:
  3220. description: 背面证件照地址
  3221. type: string
  3222. cardfrontphotourl:
  3223. description: 正面证件照地址
  3224. type: string
  3225. cardnum:
  3226. description: 证件号码 (加密存储)
  3227. type: string
  3228. cardtype:
  3229. description: 证件类型
  3230. type: integer
  3231. cityid:
  3232. description: 市
  3233. type: integer
  3234. company:
  3235. description: 公司(个人)
  3236. type: string
  3237. contactcardbackphotourl:
  3238. description: 联系人证件背面图片地址
  3239. type: string
  3240. contactcardfrontphotourl:
  3241. description: 联系人证件正面图片地址
  3242. type: string
  3243. contactname:
  3244. description: 联系人
  3245. type: string
  3246. countryid:
  3247. description: 国家
  3248. type: integer
  3249. createtime:
  3250. description: 开户申请时间
  3251. type: string
  3252. cusbankid:
  3253. description: 签约类型
  3254. type: string
  3255. cusbankname:
  3256. description: 签约类型名称
  3257. type: string
  3258. customername:
  3259. description: 客户名称(企业名称)
  3260. type: string
  3261. districtid:
  3262. description: 地区
  3263. type: integer
  3264. email:
  3265. description: Email地址(加密存储)
  3266. type: string
  3267. halfbodyphotourl:
  3268. description: 半身照地址
  3269. type: string
  3270. headurl:
  3271. description: 头像地址
  3272. type: string
  3273. ipaddress:
  3274. description: IP地址
  3275. type: string
  3276. isvalidate:
  3277. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3278. type: string
  3279. legalcardbackphotourl:
  3280. description: 法人身份证背面照地址
  3281. type: string
  3282. legalcardfrontphotourl:
  3283. description: 法人身份证正面照地址
  3284. type: string
  3285. legalpersonname:
  3286. description: 法人姓名(企业)
  3287. type: string
  3288. logincode:
  3289. description: 登录帐号 (加密存储)
  3290. type: string
  3291. memberareaid:
  3292. description: 所属会员ID
  3293. type: integer
  3294. mobile2:
  3295. description: 手机号码[明文-尚志]
  3296. type: string
  3297. mobilephone:
  3298. description: 手机号码 (加密存储)
  3299. type: string
  3300. modifiedby:
  3301. description: 修改人帐号
  3302. type: integer
  3303. modifiedtime:
  3304. description: 修改时间
  3305. type: string
  3306. nickname:
  3307. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3308. type: string
  3309. openmode:
  3310. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3311. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3312. type: integer
  3313. otherurl:
  3314. description: 其它图片地址[使用分号分隔]
  3315. type: string
  3316. postalcode:
  3317. description: 邮政编码
  3318. type: string
  3319. provinceid:
  3320. description: 省
  3321. type: integer
  3322. proxystatementurl:
  3323. description: 授权委托书
  3324. type: string
  3325. qq:
  3326. description: QQ(加密存储
  3327. type: string
  3328. referral:
  3329. description: 推荐人编码
  3330. type: string
  3331. remark:
  3332. description: 备注
  3333. type: string
  3334. removebeforestatus:
  3335. description: REMOVEBEFORESTATUS
  3336. type: integer
  3337. sex:
  3338. description: 性别 - 0:女 1:男
  3339. type: integer
  3340. signedstatus:
  3341. description: 账户一号签签约状态
  3342. type: integer
  3343. signpdfurl:
  3344. description: 签约pdf文件
  3345. type: string
  3346. subbranch:
  3347. description: 开户支行
  3348. type: string
  3349. taxpayernum:
  3350. description: 纳税人识别号
  3351. type: string
  3352. telphone:
  3353. description: 联系电话(加密存储)
  3354. type: string
  3355. userid:
  3356. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3357. type: integer
  3358. userinfotype:
  3359. description: 用户信息类型 - 1:个人 2:企业
  3360. type: integer
  3361. username:
  3362. description: 用户姓名
  3363. type: string
  3364. userstate:
  3365. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3366. type: integer
  3367. usertype:
  3368. description: 用户类型 - 1:投资者 2:机构
  3369. type: integer
  3370. videourl:
  3371. description: 视频地址
  3372. type: string
  3373. wechat:
  3374. description: 微信号 (加密存储)
  3375. type: string
  3376. required:
  3377. - userid
  3378. type: object
  3379. erms3.QryAuditContractRsp:
  3380. properties:
  3381. accountid:
  3382. description: 交易员ID
  3383. type: string
  3384. applystatus:
  3385. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3386. type: integer
  3387. curdeliveryqty:
  3388. description: 未交收量
  3389. type: integer
  3390. customername:
  3391. description: 采购方ID
  3392. type: string
  3393. deliverygoodsid:
  3394. description: 品种ID
  3395. type: string
  3396. deliveryqty:
  3397. description: 交收量
  3398. type: integer
  3399. enumdicname:
  3400. description: 单位名称
  3401. type: string
  3402. matchaccountid:
  3403. description: 业务员ID
  3404. type: string
  3405. matchcustomername:
  3406. description: 销售方ID
  3407. type: string
  3408. pricedqty:
  3409. description: 定价量
  3410. type: number
  3411. signdate:
  3412. description: 签订日期
  3413. type: string
  3414. spotcontractid:
  3415. description: 合同ID
  3416. type: string
  3417. totaldqty:
  3418. description: 合同量
  3419. type: number
  3420. unpricedqty:
  3421. description: 未定价量
  3422. type: number
  3423. wrstandardname:
  3424. description: 商品名称
  3425. type: string
  3426. required:
  3427. - matchcustomername
  3428. - spotcontractid
  3429. type: object
  3430. erms3.QryPendingBizRsp:
  3431. properties:
  3432. accountid:
  3433. description: 现货账户
  3434. type: string
  3435. areaname:
  3436. description: 所属部门
  3437. type: string
  3438. bizid:
  3439. description: 业务ID
  3440. type: string
  3441. bizname:
  3442. description: 业务名称
  3443. type: string
  3444. status:
  3445. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3446. type: integer
  3447. type:
  3448. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  3449. type: integer
  3450. type: object
  3451. erms3.QueryBusinessInfoRsp:
  3452. properties:
  3453. businessid:
  3454. description: 业务ID.
  3455. type: integer
  3456. buyamount:
  3457. description: 采购额.
  3458. type: number
  3459. buyqty:
  3460. description: 采购量.
  3461. type: string
  3462. futurepl:
  3463. description: 期货盈亏.
  3464. type: number
  3465. futureqty:
  3466. description: 期货敞口.
  3467. type: string
  3468. goodsid:
  3469. description: 商品名称/商品代码.
  3470. type: string
  3471. hedgingqty:
  3472. description: 套保量.
  3473. type: string
  3474. sellamount:
  3475. description: 销售额.
  3476. type: number
  3477. sellqty:
  3478. description: 销售量.
  3479. type: string
  3480. spotmarketvalue:
  3481. description: 现货市值.
  3482. type: number
  3483. spotpl:
  3484. description: 浮动权益.
  3485. type: number
  3486. spotqty:
  3487. description: 现货量.
  3488. type: string
  3489. statu:
  3490. description: 状态,0-未结束 1-已结束.
  3491. type: integer
  3492. totalpl:
  3493. description: 总盈亏.
  3494. type: number
  3495. totalqty:
  3496. description: 总敞口.
  3497. type: string
  3498. type:
  3499. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  3500. type: integer
  3501. type: object
  3502. erms3.QuerySpotContractAppleFormRsp:
  3503. properties:
  3504. goodses:
  3505. description: 合约列表
  3506. items:
  3507. $ref: '#/definitions/models.GoodsIDAndName'
  3508. type: array
  3509. oppositeusers:
  3510. description: 对方账号列表
  3511. items:
  3512. $ref: '#/definitions/erms3.CustomerInfo'
  3513. type: array
  3514. ouruser:
  3515. $ref: '#/definitions/erms3.CustomerInfo'
  3516. description: 我方账号
  3517. warehouseinfos:
  3518. description: 仓库信息列表
  3519. items:
  3520. $ref: '#/definitions/models.Warehouseinfo'
  3521. type: array
  3522. wrstandards:
  3523. description: 仓单标准列表
  3524. items:
  3525. $ref: '#/definitions/models.WRStandardInfo'
  3526. type: array
  3527. type: object
  3528. erms3.QuerySpotContractInfoRsp:
  3529. properties:
  3530. accountid:
  3531. description: 表示交易员ID.
  3532. type: integer
  3533. curdeliveryqty:
  3534. description: 表示未交收量.
  3535. type: number
  3536. customername:
  3537. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  3538. type: string
  3539. deliverygoodsid:
  3540. description: 表示品种ID.
  3541. type: string
  3542. deliveryqty:
  3543. description: 表示交收量.
  3544. type: number
  3545. matchaccountid:
  3546. description: 表示业务员ID.
  3547. type: integer
  3548. matchcustomername:
  3549. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  3550. type: string
  3551. priceqty:
  3552. description: 表示定价量.
  3553. type: number
  3554. relatedbizid:
  3555. description: 表示业务ID.
  3556. type: string
  3557. signdate:
  3558. description: 表示签订日期.
  3559. type: string
  3560. spotcontractid:
  3561. description: 合同ID
  3562. type: string
  3563. status:
  3564. description: 表示状态,0-履约中 1-已完成.
  3565. type: integer
  3566. totalqty:
  3567. description: 表示合同量.
  3568. type: number
  3569. unpricedqty:
  3570. description: 表示未定价量.
  3571. type: number
  3572. wrstandardname:
  3573. description: 表示商品ID.
  3574. type: string
  3575. type: object
  3576. erms3.QueryUserInfoAppliesRsp:
  3577. properties:
  3578. biznature:
  3579. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3580. type: integer
  3581. contactname:
  3582. description: 联系人
  3583. type: string
  3584. createtime:
  3585. description: 开户申请时间
  3586. type: string
  3587. userid:
  3588. description: 用户ID(自增ID)
  3589. type: integer
  3590. userinfotype:
  3591. description: 用户信息类型 - 1:个人 2:企业
  3592. type: integer
  3593. username:
  3594. description: 用户姓名
  3595. type: string
  3596. userstate:
  3597. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3598. type: integer
  3599. required:
  3600. - userid
  3601. type: object
  3602. erms3.QueryUserInfosRsp:
  3603. properties:
  3604. biznature:
  3605. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3606. type: integer
  3607. contactname:
  3608. description: 联系人
  3609. type: string
  3610. customername:
  3611. description: 客户名称(企业名称)
  3612. type: string
  3613. userid:
  3614. description: 用户ID
  3615. type: integer
  3616. userinfotype:
  3617. description: 用户信息类型 - 1:个人 2:企业
  3618. type: integer
  3619. userstatus:
  3620. description: 用户状态 - 1:正常 2:注销
  3621. type: integer
  3622. required:
  3623. - userid
  3624. type: object
  3625. erms3.SoptContractDetail:
  3626. properties:
  3627. deliverygoodsdesc:
  3628. description: 现货品种说明
  3629. type: string
  3630. deliverygoodsid:
  3631. description: 现货品种ID
  3632. type: integer
  3633. deliverygoodsname:
  3634. description: 现货品种名称
  3635. type: string
  3636. pointdesc:
  3637. description: 点价描述
  3638. type: string
  3639. producttype:
  3640. description: 产品类型 1:标准仓单 2:等标 3:非标
  3641. type: integer
  3642. producttypename:
  3643. description: 产品类型名称
  3644. type: string
  3645. spotPointOrderVoList:
  3646. description: 点价列表
  3647. items:
  3648. $ref: '#/definitions/erms3.SpotPointOrder'
  3649. type: array
  3650. spotPriceOrderList:
  3651. description: 定价列表
  3652. items:
  3653. $ref: '#/definitions/erms3.SpotPriceOrder'
  3654. type: array
  3655. unitname:
  3656. description: 单位名称
  3657. type: string
  3658. warehouseid:
  3659. description: 仓库ID
  3660. type: integer
  3661. warehousename:
  3662. description: 仓库名称
  3663. type: string
  3664. wrstandardid:
  3665. description: 交易标的ID
  3666. type: integer
  3667. wrstandardname:
  3668. description: 交易标的名称
  3669. type: string
  3670. required:
  3671. - deliverygoodsid
  3672. - producttype
  3673. - unitname
  3674. - warehouseid
  3675. - wrstandardid
  3676. - wrstandardname
  3677. type: object
  3678. erms3.SpotPointOrder:
  3679. properties:
  3680. basic:
  3681. description: 基差
  3682. type: number
  3683. deliveryenddate:
  3684. description: 交收结束日期
  3685. type: string
  3686. deliverystartdate:
  3687. description: 交收开始日期
  3688. type: string
  3689. enddate:
  3690. description: 点价结束日期
  3691. type: string
  3692. goodsid:
  3693. description: 商品ID
  3694. type: integer
  3695. goodsname:
  3696. description: 商品名称
  3697. type: string
  3698. qty:
  3699. description: 数量
  3700. type: number
  3701. startdate:
  3702. description: 点价开始日期
  3703. type: string
  3704. required:
  3705. - basic
  3706. - goodsid
  3707. - qty
  3708. type: object
  3709. erms3.SpotPriceOrder:
  3710. properties:
  3711. amount:
  3712. description: 金额
  3713. type: number
  3714. deliveryenddate:
  3715. description: 交收结束日期
  3716. type: string
  3717. deliverystartdate:
  3718. description: 交收开始日期
  3719. type: string
  3720. price:
  3721. description: 价格
  3722. type: number
  3723. qty:
  3724. description: 数量
  3725. type: number
  3726. required:
  3727. - amount
  3728. - price
  3729. - qty
  3730. type: object
  3731. hsby.GetHsbyMyCountRsp:
  3732. properties:
  3733. myCouponCount:
  3734. description: 我的优惠卷数量
  3735. type: integer
  3736. myOrderDetailListingCount:
  3737. description: 我的订单求购中数量
  3738. type: integer
  3739. myOrderDetailPreCount:
  3740. description: 我的订单抢购中数量
  3741. type: integer
  3742. myPackageUnReceiveCount:
  3743. description: 我的包裹待收货数量
  3744. type: integer
  3745. myPackageUnSendCount:
  3746. description: 我的包裹待发货数量
  3747. type: integer
  3748. myPayOrderCount:
  3749. description: 我的订单待付款数量
  3750. type: integer
  3751. type: object
  3752. hsby.QueryProvincesAndCitiesRsp:
  3753. properties:
  3754. cities:
  3755. description: 市
  3756. items:
  3757. $ref: '#/definitions/models.Division'
  3758. type: array
  3759. province:
  3760. $ref: '#/definitions/models.Division'
  3761. description: 省
  3762. type: object
  3763. models.Arearole:
  3764. properties:
  3765. createtime:
  3766. description: 创建时间
  3767. type: string
  3768. creatorid:
  3769. description: 创建人ID
  3770. type: integer
  3771. fromuserid:
  3772. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  3773. type: integer
  3774. isreturnscore:
  3775. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  3776. type: integer
  3777. modifierid:
  3778. description: 修改人ID
  3779. type: integer
  3780. modifytime:
  3781. description: 修改时间
  3782. type: string
  3783. orgtype:
  3784. description: 组织机构类型 1:机构\分支节点 2:交易员\叶子节点 3:部门\分支节点
  3785. type: integer
  3786. outuserid:
  3787. description: 外部账户[场外期权做市商]
  3788. type: string
  3789. parentuserid:
  3790. description: 上级组织机构(组织机构)
  3791. type: integer
  3792. roletype:
  3793. description: 角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员
  3794. 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构
  3795. 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员 25:客户 98:代理 99:门店
  3796. type: integer
  3797. rootuserid:
  3798. description: 顶级组织机构用户ID(组织机构)
  3799. type: integer
  3800. shoppassword:
  3801. description: 商城店铺登陆密码(商城店铺角色使用)
  3802. type: string
  3803. sublevelpath:
  3804. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  3805. type: string
  3806. suborgtype:
  3807. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  3808. type: integer
  3809. tradeaccountid:
  3810. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  3811. type: integer
  3812. transurl:
  3813. description: 物流地址(物流机构)
  3814. type: string
  3815. userid:
  3816. description: 机构用户ID其他做市关系,都设置为 1
  3817. type: integer
  3818. required:
  3819. - roletype
  3820. - userid
  3821. type: object
  3822. models.Clientfixedadconfig:
  3823. properties:
  3824. adsort:
  3825. description: 排序
  3826. type: integer
  3827. adtype:
  3828. description: 广告位类型 - 1:新品抢购(HSBY)
  3829. type: integer
  3830. areauserid:
  3831. description: 所属机构ID
  3832. type: integer
  3833. createdate:
  3834. description: 创建时间
  3835. type: string
  3836. creatorid:
  3837. description: 创建人
  3838. type: integer
  3839. imagepath:
  3840. description: 图片
  3841. type: string
  3842. isshow:
  3843. description: 是否展示 - 0:不展示 1:展示
  3844. type: integer
  3845. modifierid:
  3846. description: 操作人
  3847. type: integer
  3848. recsize:
  3849. description: 推荐尺寸
  3850. type: string
  3851. title:
  3852. description: 标题
  3853. type: string
  3854. updatedate:
  3855. description: 更新时间
  3856. type: string
  3857. urlcontent:
  3858. description: 链接(地址或商品ID)
  3859. type: string
  3860. urltype:
  3861. description: 链接类型 - 1:直接地址 2:商品ID
  3862. type: integer
  3863. required:
  3864. - adsort
  3865. - adtype
  3866. type: object
  3867. models.Division:
  3868. properties:
  3869. autoid:
  3870. description: 自增ID
  3871. type: integer
  3872. divisioncode:
  3873. description: 行政代码
  3874. type: string
  3875. divisionlevel:
  3876. description: 行政级别
  3877. type: string
  3878. divisionname:
  3879. description: 行政名称
  3880. type: string
  3881. modifierid:
  3882. description: 修改人
  3883. type: integer
  3884. modifytime:
  3885. description: 修改时间
  3886. type: string
  3887. parentcode:
  3888. description: 上级行政代码
  3889. type: string
  3890. pathname:
  3891. description: 路径名称
  3892. type: string
  3893. postcode:
  3894. description: 邮政编码
  3895. type: string
  3896. separablename:
  3897. description: 可拆分的全称
  3898. type: string
  3899. shortcode:
  3900. description: 地区简码
  3901. type: string
  3902. required:
  3903. - autoid
  3904. - divisioncode
  3905. type: object
  3906. models.Enumdicitem:
  3907. properties:
  3908. autoid:
  3909. description: 自增ID
  3910. type: integer
  3911. bankmappedvalue:
  3912. description: 银行服务对应值
  3913. type: string
  3914. enumdiccode:
  3915. description: 所属枚举代码
  3916. type: string
  3917. enumdicid:
  3918. description: 所属枚举ID
  3919. type: integer
  3920. enumdicname:
  3921. description: 枚举项名称
  3922. type: string
  3923. enumitemname:
  3924. description: 枚举项值
  3925. type: integer
  3926. enumitemstatus:
  3927. description: 枚举项状态 - 1.启用 2.不启用
  3928. type: integer
  3929. enumitemvalue:
  3930. description: 通用值 - [币种通用简写]
  3931. type: string
  3932. param1:
  3933. description: 参数1[币种:币种小数位]
  3934. type: string
  3935. param2:
  3936. description: 参数1[币种:币种显示单位]
  3937. type: string
  3938. remark:
  3939. description: 备注
  3940. type: string
  3941. required:
  3942. - autoid
  3943. - enumdiccode
  3944. - enumdicid
  3945. - enumitemname
  3946. type: object
  3947. models.Ermcp3AreaSpot:
  3948. properties:
  3949. areauserid:
  3950. description: 所属机构
  3951. type: integer
  3952. convertratio:
  3953. description: 套保系数
  3954. type: number
  3955. decreaseqty:
  3956. description: 减少数量=-(销售已定价数量+采购计划数量)
  3957. type: number
  3958. enumdicname:
  3959. description: 单位名称
  3960. type: string
  3961. increaseqty:
  3962. description: 增加数量=销售计划数量+采购已定价数量
  3963. type: number
  3964. oritoalspotqty:
  3965. description: 昨日数量
  3966. type: number
  3967. totalspotqty:
  3968. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  3969. type: number
  3970. unitid:
  3971. description: 现货商品单位id
  3972. type: integer
  3973. updatetime:
  3974. description: 更新时间
  3975. type: string
  3976. wrstandardcode:
  3977. description: 现货商品代码
  3978. type: string
  3979. wrstandardid:
  3980. description: 现货商品ID(SEQ_WRSTANDARD)
  3981. type: integer
  3982. wrstandardname:
  3983. description: 现货商品名称
  3984. type: string
  3985. type: object
  3986. models.Ermcp3AreaSpotDetail:
  3987. properties:
  3988. contracttype:
  3989. description: 合同类型 1-采购 -1-销售
  3990. type: integer
  3991. createtime:
  3992. description: 创建时间
  3993. type: string
  3994. enumdicname:
  3995. description: 现货商品单位名称
  3996. type: string
  3997. logtype:
  3998. description: 记录类型 1-套保 2-现货合同
  3999. type: integer
  4000. qty:
  4001. description: 数量
  4002. type: number
  4003. recordname:
  4004. description: 类型名称
  4005. type: string
  4006. relatedid:
  4007. description: 套保计划ID/现货合同ID
  4008. type: string
  4009. relatedno:
  4010. description: 编号
  4011. type: string
  4012. strtime:
  4013. description: 时间
  4014. type: string
  4015. wrstandardcode:
  4016. description: 现货商品代码
  4017. type: string
  4018. wrstandardid:
  4019. description: 现货商品ID(SEQ_WRSTANDARD)
  4020. type: integer
  4021. wrstandardname:
  4022. description: 现货商品名称
  4023. type: string
  4024. type: object
  4025. models.Ermcp3AreaSpotPLReport:
  4026. properties:
  4027. accountid:
  4028. description: 期货账户ID (作废, 默认为0)
  4029. type: integer
  4030. accountname:
  4031. description: 机构名称
  4032. type: string
  4033. actualpl:
  4034. description: 现货损益
  4035. type: number
  4036. areauserid:
  4037. description: 所属机构\交易用户ID
  4038. type: integer
  4039. begindate:
  4040. description: 开始交易日
  4041. type: string
  4042. biztype:
  4043. description: 业务类型 - 1:套保 2:套利
  4044. type: integer
  4045. brandname:
  4046. description: 品牌名称
  4047. type: string
  4048. curamount:
  4049. description: 期末额
  4050. type: number
  4051. curaverageprice:
  4052. description: 期末均价
  4053. type: number
  4054. curbuyamount:
  4055. description: 期末采购总额
  4056. type: number
  4057. curbuyqty:
  4058. description: 期末采购总量
  4059. type: number
  4060. curmarketvalue:
  4061. description: 参考市值(期末市值)
  4062. type: number
  4063. curqty:
  4064. description: 期末量
  4065. type: number
  4066. currencyid:
  4067. description: 结算币种ID【原值】
  4068. type: integer
  4069. currencyname:
  4070. description: 币种名称
  4071. type: string
  4072. cursellamount:
  4073. description: 期末销售总额
  4074. type: number
  4075. cursellqty:
  4076. description: 期末销售总量
  4077. type: number
  4078. curspotprice:
  4079. description: 参考市价(最新价)
  4080. type: number
  4081. cycletime:
  4082. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4083. type: string
  4084. cycletype:
  4085. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4086. type: integer
  4087. deliverygoodscode:
  4088. description: 现货商品代码
  4089. type: string
  4090. deliverygoodsid:
  4091. description: 现货品种ID
  4092. type: integer
  4093. deliverygoodsname:
  4094. description: 现货商品名称
  4095. type: string
  4096. enddate:
  4097. description: 结束交易日
  4098. type: string
  4099. enumdicname:
  4100. description: 现货商品单位名称
  4101. type: string
  4102. floatpl:
  4103. description: 浮动损益
  4104. type: number
  4105. goodsunitid:
  4106. description: 现货商品单位id
  4107. type: integer
  4108. oriamount:
  4109. description: 期初额
  4110. type: number
  4111. oriaverageprice:
  4112. description: 期初均价
  4113. type: number
  4114. oribuyamount:
  4115. description: 期初采购总额
  4116. type: number
  4117. oribuyqty:
  4118. description: 期初采购总量
  4119. type: number
  4120. oriqty:
  4121. description: 期初量
  4122. type: number
  4123. orisellamount:
  4124. description: 期初销售总额
  4125. type: number
  4126. orisellqty:
  4127. description: 期初销售总量
  4128. type: number
  4129. reckondate:
  4130. description: 日照时期(yyyyMMdd)
  4131. type: string
  4132. spotgoodsbrandid:
  4133. description: 现货品牌ID
  4134. type: integer
  4135. todaybuyamount:
  4136. description: 今日采购额(今采购额)
  4137. type: number
  4138. todaybuyaverageprice:
  4139. description: 今日采购均价
  4140. type: number
  4141. todaybuyqty:
  4142. description: 今日采购量(今采购量)
  4143. type: number
  4144. todayinqty:
  4145. description: 今日入库量(今入库量)
  4146. type: number
  4147. todayoutqty:
  4148. description: 今日出库量(今出库量)
  4149. type: number
  4150. todaysellamount:
  4151. description: 今日销售额(今销售额)
  4152. type: number
  4153. todaysellaverageprice:
  4154. description: 今日销售均价
  4155. type: number
  4156. todaysellqty:
  4157. description: 今日销售量(今销售量)
  4158. type: number
  4159. unitid:
  4160. description: 品类单位id
  4161. type: integer
  4162. unitidname:
  4163. description: 品类单位名称
  4164. type: string
  4165. updatetime:
  4166. description: 更新时间
  4167. type: string
  4168. wrfactortypeid:
  4169. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4170. type: integer
  4171. wrstandardcode:
  4172. description: 品类代码
  4173. type: string
  4174. wrstandardid:
  4175. description: 现货品类ID
  4176. type: integer
  4177. wrstandardname:
  4178. description: 品类名称
  4179. type: string
  4180. type: object
  4181. models.Ermcp3AreaStock:
  4182. properties:
  4183. brandname:
  4184. description: 品牌名称
  4185. type: string
  4186. curstock:
  4187. description: 期末库存量(今日量)
  4188. type: number
  4189. deliverygoodscode:
  4190. description: 现货品种代码
  4191. type: string
  4192. deliverygoodsid:
  4193. description: 现货品种id
  4194. type: integer
  4195. deliverygoodsname:
  4196. description: 现货品种名称
  4197. type: string
  4198. enumdicname:
  4199. description: 单位名称
  4200. type: string
  4201. goodsunitid:
  4202. description: 现货商品单位id
  4203. type: integer
  4204. oristock:
  4205. description: 期初库存量(昨日量)
  4206. type: number
  4207. spotgoodsbrandid:
  4208. description: 现货品牌ID
  4209. type: integer
  4210. todaybuyinqty:
  4211. description: 今日采购入库量
  4212. type: number
  4213. todayproduceinqty:
  4214. description: 今日生产入库量
  4215. type: number
  4216. todayproduceoutqty:
  4217. description: 今日生产出库量
  4218. type: number
  4219. todayselloutqty:
  4220. description: 今日销售出库量
  4221. type: number
  4222. unitid:
  4223. description: 单位id
  4224. type: integer
  4225. updatetime:
  4226. description: 更新时间
  4227. type: string
  4228. userid:
  4229. description: 机构ID
  4230. type: integer
  4231. username:
  4232. description: 机构名称
  4233. type: string
  4234. warehousecode:
  4235. description: 仓库代码
  4236. type: string
  4237. warehouseinfoid:
  4238. description: 仓库ID
  4239. type: string
  4240. warehousename:
  4241. description: 仓库名称
  4242. type: string
  4243. warehousetype:
  4244. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4245. type: integer
  4246. wrstandardcode:
  4247. description: 品类代码
  4248. type: string
  4249. wrstandardid:
  4250. description: 品类ID
  4251. type: string
  4252. wrstandardname:
  4253. description: 品类名称
  4254. type: string
  4255. required:
  4256. - userid
  4257. type: object
  4258. models.Ermcp3AreaStockApply:
  4259. properties:
  4260. applyid:
  4261. description: 申请人
  4262. type: integer
  4263. applyname:
  4264. description: 申请人名称
  4265. type: string
  4266. applyremark:
  4267. description: 申请备注
  4268. type: string
  4269. applysrc:
  4270. description: 申请来源 - 1:管理端 2:终端
  4271. type: integer
  4272. applystatus:
  4273. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  4274. type: integer
  4275. applytime:
  4276. description: 申请时间
  4277. type: string
  4278. auditid:
  4279. description: 审核人
  4280. type: integer
  4281. auditname:
  4282. description: 审核人名称
  4283. type: string
  4284. auditremark:
  4285. description: 审核备注
  4286. type: string
  4287. auditsrc:
  4288. description: 审核来源 - 1:管理端 2:终端
  4289. type: integer
  4290. audittime:
  4291. description: 审核时间
  4292. type: string
  4293. audittradedate:
  4294. description: 审核交易日(yyyyMMdd)
  4295. type: string
  4296. brandname:
  4297. description: 品牌名称
  4298. type: string
  4299. buynickname:
  4300. description: 采购方昵称
  4301. type: string
  4302. buyuserid:
  4303. description: 采购方userid
  4304. type: integer
  4305. buyusername:
  4306. description: 采购方名称
  4307. type: string
  4308. contractno:
  4309. description: 合同编号
  4310. type: string
  4311. contractqty:
  4312. description: 合同量
  4313. type: number
  4314. contracttype:
  4315. description: 现货合同类型 - 1:采购 -1:销售
  4316. type: integer
  4317. deliverygoodscode:
  4318. description: 现货品种代码
  4319. type: string
  4320. deliverygoodsid:
  4321. description: 现货品种id
  4322. type: integer
  4323. deliverygoodsname:
  4324. description: 现货品种名称
  4325. type: string
  4326. detailjson:
  4327. description: 明细数据
  4328. type: string
  4329. enumdicname:
  4330. description: 现货商品单位名称
  4331. type: string
  4332. inoutapplyid:
  4333. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  4334. type: string
  4335. inouttype:
  4336. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  4337. type: integer
  4338. pricetype:
  4339. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4340. type: integer
  4341. qty:
  4342. description: 数量
  4343. type: number
  4344. sellnickname:
  4345. description: 销售方昵称
  4346. type: string
  4347. selluserid:
  4348. description: 销售方userid
  4349. type: integer
  4350. sellusername:
  4351. description: 销售方名称
  4352. type: string
  4353. spotcontractid:
  4354. description: 关联现货合同ID
  4355. type: string
  4356. spotgoodsbrandid:
  4357. description: 现货品牌ID
  4358. type: integer
  4359. unitid:
  4360. description: 单位id
  4361. type: integer
  4362. userid:
  4363. description: 机构ID
  4364. type: integer
  4365. warehousecode:
  4366. description: 仓库代码
  4367. type: string
  4368. warehouseinfoid:
  4369. description: 现货仓库ID
  4370. type: string
  4371. warehousename:
  4372. description: 仓库名称
  4373. type: string
  4374. warehousetype:
  4375. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4376. type: integer
  4377. wrstandardcode:
  4378. description: 品类代码
  4379. type: string
  4380. wrstandardid:
  4381. description: 品类ID
  4382. type: integer
  4383. wrstandardname:
  4384. description: 品类名称
  4385. type: string
  4386. type: object
  4387. models.Ermcp3AreaStockApplySum:
  4388. properties:
  4389. brandname:
  4390. description: 品牌名称
  4391. type: string
  4392. inouttype:
  4393. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  4394. type: integer
  4395. spotcontractid:
  4396. description: 关联现货合同ID
  4397. type: string
  4398. spotgoodsbrandid:
  4399. description: 品牌id
  4400. type: integer
  4401. totalqty:
  4402. description: 总数量
  4403. type: number
  4404. wrstandardid:
  4405. description: 品类id
  4406. type: integer
  4407. wrstandardname:
  4408. description: 品类名称
  4409. type: string
  4410. type: object
  4411. models.Ermcp3AreaStockReportEx:
  4412. properties:
  4413. begindate:
  4414. description: 开始交易日
  4415. type: string
  4416. brandname:
  4417. description: 品牌名称
  4418. type: string
  4419. curstock:
  4420. description: 期末库存量
  4421. type: number
  4422. cycletime:
  4423. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4424. type: string
  4425. cycletype:
  4426. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4427. type: integer
  4428. deliverygoodscode:
  4429. description: 现货品种代码
  4430. type: string
  4431. deliverygoodsid:
  4432. description: 现货品种id
  4433. type: integer
  4434. deliverygoodsname:
  4435. description: 现货品种名称
  4436. type: string
  4437. diffqty:
  4438. description: 库存变化量 = 期末 - 期初
  4439. type: number
  4440. enddate:
  4441. description: 结束交易日
  4442. type: string
  4443. enumdicname:
  4444. description: 单位名称
  4445. type: string
  4446. goodsunitid:
  4447. description: 现货单位id
  4448. type: integer
  4449. oristock:
  4450. description: 期初库存量
  4451. type: number
  4452. reckondate:
  4453. description: 日照时期(yyyyMMdd)
  4454. type: string
  4455. spotgoodsbrandid:
  4456. description: 现货品牌ID
  4457. type: integer
  4458. todaybuyinqty:
  4459. description: 今采购入库量
  4460. type: number
  4461. todayproduceinqty:
  4462. description: 今内部入库量
  4463. type: number
  4464. todayproduceoutqty:
  4465. description: 今内部出库量
  4466. type: number
  4467. todayselloutqty:
  4468. description: 今销售出库量
  4469. type: number
  4470. unbuyinqty:
  4471. description: 采购未入库量(数据库未找到相关字段?)
  4472. type: number
  4473. unitid:
  4474. description: 品类单位id
  4475. type: integer
  4476. unselloutqty:
  4477. description: 销售未出库量(数据库未找到相关字段?)
  4478. type: number
  4479. updatetime:
  4480. description: 更新时间
  4481. type: string
  4482. userid:
  4483. description: 机构ID
  4484. type: integer
  4485. username:
  4486. description: 机构名称
  4487. type: string
  4488. warehousecode:
  4489. description: 仓库代码
  4490. type: string
  4491. warehouseinfoid:
  4492. description: 仓库ID
  4493. type: string
  4494. warehousename:
  4495. description: 仓库名称
  4496. type: string
  4497. warehousetype:
  4498. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4499. type: integer
  4500. wrstandardcode:
  4501. description: 品类代码
  4502. type: string
  4503. wrstandardid:
  4504. description: 品类ID
  4505. type: integer
  4506. wrstandardname:
  4507. description: 品类名称
  4508. type: string
  4509. type: object
  4510. models.Ermcp3ArealSumPL:
  4511. properties:
  4512. accountname:
  4513. description: 机构名称
  4514. type: string
  4515. areauserid:
  4516. description: 所属机构\交易用户ID
  4517. type: integer
  4518. begindate:
  4519. description: 开始交易日
  4520. type: string
  4521. currencyid:
  4522. description: 结算币种ID
  4523. type: integer
  4524. currencyname:
  4525. description: 币种名称
  4526. type: string
  4527. cycletime:
  4528. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4529. type: string
  4530. cycletype:
  4531. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4532. type: integer
  4533. enddate:
  4534. description: 结束交易日
  4535. type: string
  4536. enumdicname:
  4537. description: 单位名称(套保品种)
  4538. type: string
  4539. futureactualpl:
  4540. description: 期货损益
  4541. type: number
  4542. futurefloatpl:
  4543. description: 期货浮动损益
  4544. type: number
  4545. futurespotratio:
  4546. description: 期现比例 = 期货头寸总量 / 现货头寸总量
  4547. type: number
  4548. goodsunitid:
  4549. description: 套保品种单位id
  4550. type: integer
  4551. hedgeexposurepl:
  4552. description: 套保敞口损益
  4553. type: number
  4554. middlegoodscode:
  4555. description: 套保品种代码
  4556. type: string
  4557. middlegoodsid:
  4558. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  4559. type: integer
  4560. middlegoodsname:
  4561. description: 套保品种名称
  4562. type: string
  4563. reckondate:
  4564. description: 日照时期(yyyyMMdd)
  4565. type: string
  4566. spotactualpl:
  4567. description: 现货损益
  4568. type: number
  4569. spotfloatpl:
  4570. description: 现货浮动损益
  4571. type: number
  4572. sumactualpl:
  4573. description: 实际损益 = (ActualPL + FutureActualPL)
  4574. type: number
  4575. sumpl:
  4576. description: 总敞口损益 | 汇总损益
  4577. type: number
  4578. totalfutureqty:
  4579. description: 期货头寸总量
  4580. type: number
  4581. totalneedhedgeqty:
  4582. description: 应套保总量
  4583. type: number
  4584. totalspotqty:
  4585. description: 现货头寸总量
  4586. type: number
  4587. updatetime:
  4588. description: 更新时间
  4589. type: string
  4590. type: object
  4591. models.Ermcp3Brand:
  4592. properties:
  4593. areauserid:
  4594. description: 用户id
  4595. type: integer
  4596. brandid:
  4597. description: 品牌id
  4598. type: integer
  4599. brandname:
  4600. description: 品牌名称
  4601. type: string
  4602. deliverygoodsid:
  4603. description: 品种ID
  4604. type: integer
  4605. isvalid:
  4606. description: 是否有效
  4607. type: integer
  4608. type: object
  4609. models.Ermcp3Contract:
  4610. properties:
  4611. accountid:
  4612. description: 期货账户id
  4613. type: string
  4614. amount:
  4615. description: 金额 [1:一口价、3:暂定价]
  4616. type: number
  4617. attachment:
  4618. description: 附件
  4619. type: string
  4620. auditremark:
  4621. description: 审核意见
  4622. type: string
  4623. audittime:
  4624. description: 审核时间
  4625. type: string
  4626. biztype:
  4627. description: 业务类型 1-套保 2-套利
  4628. type: integer
  4629. brandname:
  4630. description: 品牌名称
  4631. type: string
  4632. buynickname:
  4633. description: 销售方昵称
  4634. type: string
  4635. buyuserid:
  4636. description: 采购方ID
  4637. type: integer
  4638. buyusername:
  4639. description: 采购方名称
  4640. type: string
  4641. contracctstatus:
  4642. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4643. type: integer
  4644. contractmargin:
  4645. description: 合同保证金
  4646. type: number
  4647. contractno:
  4648. description: 现货合同编号
  4649. type: string
  4650. contracttype:
  4651. description: 现货合同类型 - 1:采购 -1:销售
  4652. type: integer
  4653. convertfactor:
  4654. description: 标仓系数(品类)
  4655. type: number
  4656. createtime:
  4657. description: 创建时间
  4658. type: string
  4659. currencyid:
  4660. description: 币种id
  4661. type: integer
  4662. currencyname:
  4663. description: 币种名称
  4664. type: string
  4665. deliveryenddate:
  4666. description: 交收期(结束)
  4667. type: string
  4668. deliverygoodscode:
  4669. description: 现货品种代码
  4670. type: string
  4671. deliverygoodsid:
  4672. description: 现货品种ID
  4673. type: integer
  4674. deliverygoodsname:
  4675. description: 现货品种名称
  4676. type: string
  4677. deliverystartdate:
  4678. description: 交收期(开始)
  4679. type: string
  4680. enddate:
  4681. description: 点价结束日期 [2:点价 3:暂定价]
  4682. type: string
  4683. enumdicname:
  4684. description: 单位名称
  4685. type: string
  4686. goodscode:
  4687. description: 点价合约代码
  4688. type: string
  4689. goodsid:
  4690. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  4691. type: integer
  4692. goodsname:
  4693. description: 点价商品名称
  4694. type: string
  4695. margin:
  4696. description: 当前保证金
  4697. type: number
  4698. meruserid:
  4699. description: 跟单员id
  4700. type: integer
  4701. meruserlogincode:
  4702. description: 跟单员登录代码
  4703. type: string
  4704. merusername:
  4705. description: 跟单员名称
  4706. type: string
  4707. pointdesc:
  4708. description: 点价备注
  4709. type: string
  4710. price:
  4711. description: 价格\暂定价 [1:一口价、3:暂定价]
  4712. type: number
  4713. pricemove:
  4714. description: 升贴水 [2:点价 3:暂定价]
  4715. type: number
  4716. pricetype:
  4717. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4718. type: integer
  4719. producttype:
  4720. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4721. type: integer
  4722. qty:
  4723. description: 数量
  4724. type: number
  4725. remark:
  4726. description: 备注
  4727. type: string
  4728. saleuserid:
  4729. description: 业务员id
  4730. type: integer
  4731. saleuserlogincode:
  4732. description: 业务员登录代码
  4733. type: string
  4734. saleusername:
  4735. description: 业务员名称
  4736. type: string
  4737. sellnickname:
  4738. description: 采购方昵称
  4739. type: string
  4740. selluserid:
  4741. description: 销售方ID
  4742. type: integer
  4743. sellusername:
  4744. description: 销售方名称
  4745. type: string
  4746. spotcontractid:
  4747. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  4748. type: string
  4749. spotgoodsbrandid:
  4750. description: 现货品牌ID(DGFactoryItem表的ID)
  4751. type: integer
  4752. spotgoodsdesc:
  4753. description: 商品型号
  4754. type: string
  4755. startdate:
  4756. description: 点价开始日期 [2:点价 3:暂定价]
  4757. type: string
  4758. subjectid:
  4759. description: 交易主体ID
  4760. type: integer
  4761. subjectname:
  4762. description: 交易主体名称
  4763. type: string
  4764. tradeuserid:
  4765. description: 交易员id
  4766. type: integer
  4767. tradeuserlogincode:
  4768. description: 交易员登录代码
  4769. type: string
  4770. tradeusername:
  4771. description: 交易员名称
  4772. type: string
  4773. unitid:
  4774. description: 单位id(取品类上的单位id)
  4775. type: integer
  4776. updatetime:
  4777. description: 更新时间
  4778. type: string
  4779. userid:
  4780. description: 所属机构ID
  4781. type: integer
  4782. vatrate:
  4783. description: 增值税率
  4784. type: number
  4785. wrstandardcode:
  4786. description: 品类代码
  4787. type: string
  4788. wrstandardid:
  4789. description: 品类ID
  4790. type: integer
  4791. wrstandardname:
  4792. description: 品类名称
  4793. type: string
  4794. type: object
  4795. models.Ermcp3ExposureContractDetail:
  4796. properties:
  4797. biztype:
  4798. description: 业务类型 1-套保 2-套利
  4799. type: integer
  4800. brandname:
  4801. description: 品牌名称
  4802. type: string
  4803. buyuserid:
  4804. description: 采购方id
  4805. type: integer
  4806. buyusername:
  4807. description: 采购方名称
  4808. type: string
  4809. contractno:
  4810. description: 合同编号
  4811. type: string
  4812. contracttype:
  4813. description: 现货合同类型 - 1:采购 -1:销售
  4814. type: integer
  4815. convertfactor:
  4816. description: 标仓系数
  4817. type: number
  4818. convertratio:
  4819. description: 折算系数(套保品种)
  4820. type: number
  4821. curqty:
  4822. description: 今定价量
  4823. type: number
  4824. deliverygoodscode:
  4825. description: 现货品种代码
  4826. type: string
  4827. deliverygoodsid:
  4828. description: 现货品种id
  4829. type: integer
  4830. deliverygoodsname:
  4831. description: 现货品种名称
  4832. type: string
  4833. diffhedgeqty:
  4834. description: 套保变动量
  4835. type: number
  4836. diffneedhedgeqty:
  4837. description: 应套保变动量
  4838. type: number
  4839. diffqty:
  4840. description: 套保品种今变动量
  4841. type: number
  4842. enumdicname:
  4843. description: 单位名称
  4844. type: string
  4845. mgunitname:
  4846. description: 套保品种单位名称
  4847. type: string
  4848. middlegoodscode:
  4849. description: 套保品种代码
  4850. type: string
  4851. middlegoodsid:
  4852. description: 套保品种id
  4853. type: integer
  4854. middlegoodsname:
  4855. description: 套保品种名称
  4856. type: string
  4857. needarbitrageratio:
  4858. description: 应套利比例
  4859. type: number
  4860. needhedgeratio:
  4861. description: 应套保比例
  4862. type: number
  4863. pricedqty:
  4864. description: 已定价量
  4865. type: number
  4866. qty:
  4867. description: 合同量
  4868. type: number
  4869. selluserid:
  4870. description: 销售方id
  4871. type: integer
  4872. sellusername:
  4873. description: 销售方名称
  4874. type: string
  4875. spotcontractid:
  4876. description: 合同id
  4877. type: string
  4878. todaypricedqty:
  4879. description: 今定价量
  4880. type: number
  4881. tradedate:
  4882. description: 交易日
  4883. type: string
  4884. unitid:
  4885. description: 品类单位id
  4886. type: integer
  4887. userid:
  4888. description: 机构id
  4889. type: integer
  4890. username:
  4891. description: 交易用户
  4892. type: string
  4893. wrstandardcode:
  4894. description: 现货商品代码
  4895. type: string
  4896. wrstandardid:
  4897. description: 现货商品id
  4898. type: integer
  4899. wrstandardname:
  4900. description: 现货商品名称
  4901. type: string
  4902. type: object
  4903. models.Ermcp3ExposureDetail:
  4904. properties:
  4905. areauserid:
  4906. description: 机构ID
  4907. type: integer
  4908. changeQty:
  4909. description: 套保变动量
  4910. type: number
  4911. contracttype:
  4912. description: 现货合同类型 - 1:采购 -1:销售
  4913. type: integer
  4914. convertfactor:
  4915. description: 标仓系数
  4916. type: number
  4917. convertratio:
  4918. description: 折算系数
  4919. type: number
  4920. createtime:
  4921. description: 时间
  4922. type: string
  4923. enumdicname:
  4924. description: 现货商品单位名称
  4925. type: string
  4926. logtype:
  4927. description: 类型 - 1:套保计划 2:现货合同
  4928. type: integer
  4929. mgunitid:
  4930. description: 套保品种单位id
  4931. type: integer
  4932. mgunitidname:
  4933. description: 套保品种单位名称
  4934. type: string
  4935. middlegoodsId:
  4936. description: 套保商品id
  4937. type: integer
  4938. middlegoodscode:
  4939. description: 套保商品代码
  4940. type: string
  4941. middlegoodsname:
  4942. description: 套保商品名称
  4943. type: string
  4944. qty:
  4945. description: 数量
  4946. type: number
  4947. relateNo:
  4948. description: 现货合同/套保计划编号
  4949. type: string
  4950. unitid:
  4951. description: 现货商品单位id
  4952. type: integer
  4953. wrstandardcode:
  4954. description: 现货商品代码
  4955. type: string
  4956. wrstandardid:
  4957. description: 现货商品ID(SEQ_WRSTANDARD)
  4958. type: integer
  4959. wrstandardname:
  4960. description: 现货商品名称
  4961. type: string
  4962. type: object
  4963. models.Ermcp3ExposureFutuDetail:
  4964. properties:
  4965. accountid:
  4966. description: 交易账户id
  4967. type: integer
  4968. accountname:
  4969. description: 交易账户
  4970. type: string
  4971. begindate:
  4972. description: 开始交易日
  4973. type: string
  4974. buyorsell:
  4975. description: 方向 0-买 1-卖
  4976. type: integer
  4977. diffmgqty:
  4978. description: 套保品种今变化量
  4979. type: number
  4980. diffneedqty:
  4981. description: 应套保总量变化量
  4982. type: number
  4983. difftradeqty:
  4984. description: 交易品种今变化量
  4985. type: number
  4986. enddate:
  4987. description: 结束交易日
  4988. type: string
  4989. enumdicname:
  4990. description: 单位名称
  4991. type: string
  4992. goodscode:
  4993. description: 商品代码
  4994. type: string
  4995. goodsid:
  4996. description: 商品id
  4997. type: integer
  4998. goodsname:
  4999. description: 商品名称
  5000. type: string
  5001. holdqty:
  5002. description: 期末持仓量
  5003. type: number
  5004. middlegoodscode:
  5005. description: 套保商品代码
  5006. type: string
  5007. middlegoodsid:
  5008. description: 套保商品id
  5009. type: integer
  5010. middlegoodsname:
  5011. description: 套保商品名称
  5012. type: string
  5013. oriholdqty:
  5014. description: 期初持仓量
  5015. type: number
  5016. todaycloseqty:
  5017. description: 今平仓量
  5018. type: number
  5019. todayopenqty:
  5020. description: 今开仓量
  5021. type: number
  5022. tradedate:
  5023. description: 交易日
  5024. type: string
  5025. username:
  5026. description: 用户名称(交易用户)
  5027. type: string
  5028. type: object
  5029. models.Ermcp3ExposureHedgeplanDetail:
  5030. properties:
  5031. biztype:
  5032. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  5033. type: integer
  5034. changqty:
  5035. description: 应套保总量变化量
  5036. type: number
  5037. contracttype:
  5038. description: 计划类型 - 1:采购 -1:销售
  5039. type: integer
  5040. convertratio:
  5041. description: 折算系数(套保品种)
  5042. type: number
  5043. deliverygoodscode:
  5044. description: 现货商品代码
  5045. type: string
  5046. deliverygoodsid:
  5047. description: 现货商品id
  5048. type: integer
  5049. deliverygoodsname:
  5050. description: 现货商吕名称
  5051. type: string
  5052. dgunitid:
  5053. description: 现货商品单位id
  5054. type: integer
  5055. dgunitidname:
  5056. description: 单位名称(现货商品)
  5057. type: string
  5058. diffqty:
  5059. description: 套保品种今变动量
  5060. type: number
  5061. enumdicname:
  5062. description: 单位名称(品类)
  5063. type: string
  5064. hedgeplanid:
  5065. description: 套保计划id
  5066. type: string
  5067. hedgeplanno:
  5068. description: 套保计划名称
  5069. type: string
  5070. hedgeplanstatus:
  5071. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5072. type: integer
  5073. mgunitidname:
  5074. description: 单位名称(套保商品)
  5075. type: string
  5076. middlegoodscode:
  5077. description: 套保品种代码
  5078. type: string
  5079. middlegoodsid:
  5080. description: 套保品种id
  5081. type: integer
  5082. middlegoodsname:
  5083. description: 套保品种名称
  5084. type: string
  5085. needarbitrageratio:
  5086. description: 应套利比例
  5087. type: number
  5088. needhedgeratio:
  5089. description: 应套保比例
  5090. type: number
  5091. pricedqty:
  5092. description: 已定价量
  5093. type: number
  5094. qty:
  5095. description: 合同量
  5096. type: number
  5097. tradedate:
  5098. description: 交易日(登记日)
  5099. type: string
  5100. unitid:
  5101. description: 品类单位id
  5102. type: integer
  5103. userid:
  5104. description: 机构id
  5105. type: integer
  5106. wrstandardcode:
  5107. description: 品类代码
  5108. type: string
  5109. wrstandardid:
  5110. description: 品类id
  5111. type: integer
  5112. wrstandardname:
  5113. description: 品类名称
  5114. type: string
  5115. type: object
  5116. models.Ermcp3ExposureParamChLog:
  5117. properties:
  5118. accountid:
  5119. description: 期货账户ID (作废, 默认为0)
  5120. type: integer
  5121. aftervalue:
  5122. description: 应套保\套利量变更后(调整后应套保总量)
  5123. type: number
  5124. areauserid:
  5125. description: 所属机构\交易用户ID
  5126. type: integer
  5127. beforevalue:
  5128. description: 应套保\套利量变更前(调整前应套保总量)
  5129. type: number
  5130. begindate:
  5131. description: 开始交易日
  5132. type: string
  5133. changelogtype:
  5134. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  5135. type: integer
  5136. curvalue:
  5137. description: 当前套保\套利量(套保总量|套利总量)
  5138. type: number
  5139. diffvalue:
  5140. description: 应套保总量变化量
  5141. type: number
  5142. enddate:
  5143. description: 结束交易日
  5144. type: string
  5145. logdatetime:
  5146. description: 流水日期
  5147. type: string
  5148. logid:
  5149. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  5150. type: string
  5151. middlegoodscode:
  5152. description: 套保品种代码
  5153. type: string
  5154. middlegoodsid:
  5155. description: 套保品种
  5156. type: integer
  5157. middlegoodsname:
  5158. description: 套保品种名称
  5159. type: string
  5160. paramaftervalue:
  5161. description: 参数变更后(调整后参数值)
  5162. type: number
  5163. parambeforevalue:
  5164. description: 参数变更前(调整前参数值)
  5165. type: number
  5166. tradedate:
  5167. description: 交易日(yyyyMMdd)
  5168. type: string
  5169. type: object
  5170. models.Ermcp3ExpourseReport:
  5171. properties:
  5172. accountid:
  5173. description: 期货账户ID (作废, 默认为0)
  5174. type: integer
  5175. accountname:
  5176. description: 机构名称
  5177. type: string
  5178. arbitrageqty:
  5179. description: 套利量
  5180. type: number
  5181. areauserid:
  5182. description: 所属机构\交易用户ID
  5183. type: integer
  5184. begindate:
  5185. description: 开始交易日
  5186. type: string
  5187. buyfutureqty:
  5188. description: 买入期货数量
  5189. type: number
  5190. buyplanqty:
  5191. description: 采购计划数量
  5192. type: number
  5193. buypricedqty:
  5194. description: 采购合同已定价数量
  5195. type: number
  5196. cycletime:
  5197. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5198. type: string
  5199. cycletype:
  5200. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5201. type: integer
  5202. diffexposure:
  5203. description: 变动量(套保敞口)
  5204. type: number
  5205. difffutuqty:
  5206. description: 变动量(期货)
  5207. type: number
  5208. diffhedgeqty:
  5209. description: 变动量(现货应套保总量)
  5210. type: number
  5211. diffmgqtya:
  5212. description: 套保变动量
  5213. type: number
  5214. diffmgqtyb:
  5215. description: 套利变动量
  5216. type: number
  5217. diffqty:
  5218. description: 变动量(总敞口)
  5219. type: number
  5220. diffspotqty:
  5221. description: 变动量(现货)
  5222. type: number
  5223. enddate:
  5224. description: 结束交易日
  5225. type: string
  5226. enumdicname:
  5227. description: 单位名称
  5228. type: string
  5229. hedgeqty:
  5230. description: 套保量
  5231. type: number
  5232. mgneedhedgeratio:
  5233. description: 套保比例(套保品的)
  5234. type: number
  5235. middlegoodsid:
  5236. description: 套保品种ID
  5237. type: integer
  5238. middlegoodsname:
  5239. description: 套保商品名称
  5240. type: string
  5241. middlgoodscode:
  5242. description: 套保商品代码
  5243. type: string
  5244. needarbitrageqty:
  5245. description: 应套利量
  5246. type: number
  5247. needarbitrageratio:
  5248. description: 套利比例(套保品的)
  5249. type: number
  5250. needhedgeexposoure:
  5251. description: 应套保敞口(套保敞口)
  5252. type: number
  5253. needhedgeqty:
  5254. description: 应套保量
  5255. type: number
  5256. needhedgeratio:
  5257. description: 应套保敞口比例
  5258. type: number
  5259. oriarbitrageqty:
  5260. description: 期初套利量
  5261. type: number
  5262. oribuyfutureqty:
  5263. description: 期初买入期货数量
  5264. type: number
  5265. oribuyplanqty:
  5266. description: 期初采购计划数量
  5267. type: number
  5268. oribuypricedqty:
  5269. description: 期初采购合同已定价数量
  5270. type: number
  5271. orihedgeqty:
  5272. description: 期初套保量
  5273. type: number
  5274. orineedarbitrageqty:
  5275. description: 期初应套利量
  5276. type: number
  5277. orineedhedgeexposoure:
  5278. description: 期初应套保敞口
  5279. type: number
  5280. orineedhedgeqty:
  5281. description: 期初应套保量
  5282. type: number
  5283. orisellfutureqty:
  5284. description: 期初卖出期货数量
  5285. type: number
  5286. orisellplanqty:
  5287. description: 期初销售计划数量
  5288. type: number
  5289. orisellpricedqty:
  5290. description: 期初销售合同已定价数量
  5291. type: number
  5292. oritotalexposure:
  5293. description: 期初实时总敞口
  5294. type: number
  5295. oritotalfutureqty:
  5296. description: 期初期货头寸总量
  5297. type: number
  5298. oritotalneedhedgeqty:
  5299. description: 期初应套保总量
  5300. type: number
  5301. oritotalspotqty:
  5302. description: 期初现货头寸总量
  5303. type: number
  5304. reckondate:
  5305. description: 日照时期(yyyyMMdd)
  5306. type: string
  5307. sellfutureqty:
  5308. description: 卖出期货数量
  5309. type: number
  5310. sellplanqty:
  5311. description: 销售计划数量
  5312. type: number
  5313. sellpricedqty:
  5314. description: 销售合同已定价数量
  5315. type: number
  5316. totalexposure:
  5317. description: 实时总敞口(总敞口)
  5318. type: number
  5319. totalfutureqty:
  5320. description: 期货头寸总量(期货总量)
  5321. type: number
  5322. totalhedgeratio:
  5323. description: 敞口比例
  5324. type: number
  5325. totalneedhedgeqty:
  5326. description: 应套保总量(现货应套保总量)
  5327. type: number
  5328. totalspotqty:
  5329. description: 现货头寸总量
  5330. type: number
  5331. unitid:
  5332. description: 单位id
  5333. type: integer
  5334. updatetime:
  5335. description: 更新时间
  5336. type: string
  5337. type: object
  5338. models.Ermcp3FinanceReport:
  5339. properties:
  5340. accountname:
  5341. description: 机构名称
  5342. type: string
  5343. areauserid:
  5344. description: 所属机构\交易用户ID
  5345. type: integer
  5346. begindate:
  5347. description: 开始交易日
  5348. type: string
  5349. biztype:
  5350. description: 业务类型 - 1:套保 2:套利
  5351. type: integer
  5352. brandname:
  5353. description: 品牌名称
  5354. type: string
  5355. buypreinvoicedamount:
  5356. description: 采购预收票额(预收票额)
  5357. type: number
  5358. buyprepaidamount:
  5359. description: 采购预付款额(预付货款额)
  5360. type: number
  5361. buytodayinvoiceamount:
  5362. description: 采购今收票额(今收票额)
  5363. type: number
  5364. buytodayrefundamount:
  5365. description: 采购今收退款额(今收退款额)
  5366. type: number
  5367. buytodaysettleamount:
  5368. description: 采购今付款额(今付货款额)
  5369. type: number
  5370. buyuninvoicedamount:
  5371. description: 采购应收票额(应收票额)
  5372. type: number
  5373. buyunpaidamount:
  5374. description: 采购应付款额(应付货款额)
  5375. type: number
  5376. currencyid:
  5377. description: 结算币种ID
  5378. type: integer
  5379. currencyname:
  5380. description: 币种名称
  5381. type: string
  5382. cycletime:
  5383. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5384. type: string
  5385. cycletype:
  5386. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5387. type: integer
  5388. deliverygoodscode:
  5389. description: 现货品种代码
  5390. type: string
  5391. deliverygoodsid:
  5392. description: 现货品种ID
  5393. type: integer
  5394. deliverygoodsname:
  5395. description: 现货品种名称
  5396. type: string
  5397. enddate:
  5398. description: 结束交易日
  5399. type: string
  5400. reckondate:
  5401. description: 日照时期(yyyyMMdd)
  5402. type: string
  5403. sellpreinvoicedamount:
  5404. description: 销售预开票额(预开票额)
  5405. type: number
  5406. sellprepaidamount:
  5407. description: 销售预收款额(预收货款额)
  5408. type: number
  5409. selltodayinvoiceamount:
  5410. description: 销售今开票额(今开票额)
  5411. type: number
  5412. selltodayrefundamount:
  5413. description: 销售今付退款额(今付退款额)
  5414. type: number
  5415. selltodaysettleamount:
  5416. description: 销售今收款额(今收货款额)
  5417. type: number
  5418. selluninvoicedamount:
  5419. description: 销售应开票额(应开票额)
  5420. type: number
  5421. sellunpaidamount:
  5422. description: 销售应收款额(应收货款额)
  5423. type: number
  5424. spotgoodsbrandid:
  5425. description: 现货品牌ID
  5426. type: integer
  5427. todaypaysum:
  5428. description: 今付款合计
  5429. type: number
  5430. todayreceivesum:
  5431. description: 今收款合计
  5432. type: number
  5433. updatetime:
  5434. description: 更新时间
  5435. type: string
  5436. wrfactortypeid:
  5437. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  5438. type: integer
  5439. wrstandardcode:
  5440. description: 品类代码
  5441. type: string
  5442. wrstandardid:
  5443. description: 现货商品ID
  5444. type: integer
  5445. wrstandardname:
  5446. description: 品类名称
  5447. type: string
  5448. type: object
  5449. models.Ermcp3GoodsGroup:
  5450. properties:
  5451. agreeunit:
  5452. description: 合约单位
  5453. type: number
  5454. areauserid:
  5455. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  5456. type: integer
  5457. canshort:
  5458. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  5459. type: integer
  5460. closepricemode:
  5461. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  5462. type: integer
  5463. createtime:
  5464. description: 创建时间
  5465. type: string
  5466. creatorid:
  5467. description: 创建人
  5468. type: integer
  5469. currencyid:
  5470. description: 报价货币ID
  5471. type: integer
  5472. decimalplace:
  5473. description: 报价小数位
  5474. type: integer
  5475. enumdicname:
  5476. description: 单位名称
  5477. type: string
  5478. exchangefullname:
  5479. description: 交易所全称
  5480. type: string
  5481. excludecfg:
  5482. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  5483. type: integer
  5484. exexchangecode:
  5485. description: 交易所代码
  5486. type: string
  5487. exexchangeid:
  5488. description: 外部交易所ID[通道交易]
  5489. type: integer
  5490. exexchangename:
  5491. description: 交易所名称
  5492. type: string
  5493. goodsgroupid:
  5494. description: 商品组ID(自增ID)
  5495. type: integer
  5496. goodsgroupname:
  5497. description: 商品组名称
  5498. type: string
  5499. goodsgroupstatus:
  5500. description: 商品组状态 - 1:正常 2:注销
  5501. type: integer
  5502. goodunitid:
  5503. description: 报价单位ID
  5504. type: integer
  5505. groupcategroyid:
  5506. description: 品种分类ID
  5507. type: integer
  5508. innerdealmode:
  5509. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  5510. type: integer
  5511. marketid:
  5512. description: 所属市场ID
  5513. type: integer
  5514. modifierid:
  5515. description: 修改人
  5516. type: integer
  5517. modifytime:
  5518. description: 修改时间
  5519. type: string
  5520. outerdealmode:
  5521. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  5522. type: integer
  5523. outergroupcode:
  5524. description: 外部商品组代码[通道交易]
  5525. type: string
  5526. quoteminunit:
  5527. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5528. type: integer
  5529. quotesourcegroupid:
  5530. description: 所属行情源分组ID[参考行情市场用\通道交易]
  5531. type: integer
  5532. syncgoodsqty:
  5533. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  5534. type: integer
  5535. required:
  5536. - areauserid
  5537. type: object
  5538. models.Ermcp3HedgePlan:
  5539. properties:
  5540. accountid:
  5541. description: 资金账号
  5542. type: integer
  5543. areauserid:
  5544. description: 用户ID
  5545. type: integer
  5546. auditid:
  5547. description: 审核id
  5548. type: integer
  5549. auditname:
  5550. description: 审核人名称
  5551. type: string
  5552. auditremark:
  5553. description: 审核备注
  5554. type: string
  5555. auditsrc:
  5556. description: 审核来源 1-管理端 2-终端
  5557. type: integer
  5558. audittime:
  5559. description: 审核时间
  5560. type: string
  5561. contracttype:
  5562. description: 计划类型 - 1:采购 -1:销售
  5563. type: integer
  5564. convertfactor:
  5565. description: 标仓系数
  5566. type: number
  5567. createtime:
  5568. description: 创建时间
  5569. type: string
  5570. currencyid:
  5571. description: 币种id
  5572. type: integer
  5573. currencyname:
  5574. description: 币种名称
  5575. type: string
  5576. deliverygoodscode:
  5577. description: 现货品种代码
  5578. type: string
  5579. deliverygoodsid:
  5580. description: 现货品种ID
  5581. type: integer
  5582. deliverygoodsname:
  5583. description: 现货品种名称
  5584. type: string
  5585. enumdicname:
  5586. description: 单位名称(现货商品)
  5587. type: string
  5588. hedgeplanid:
  5589. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  5590. type: string
  5591. hedgeplanno:
  5592. description: 套保计划编号(名称)
  5593. type: string
  5594. hedgeplanstatus:
  5595. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5596. type: integer
  5597. planqty:
  5598. description: 计划数量
  5599. type: number
  5600. plantime:
  5601. description: 计划时间
  5602. type: string
  5603. producttype:
  5604. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5605. type: integer
  5606. remark:
  5607. description: 备注
  5608. type: string
  5609. spotgoodsdesc:
  5610. description: 商品型号
  5611. type: string
  5612. taaccountname:
  5613. description: 资金账号名称
  5614. type: string
  5615. tradeuserid:
  5616. description: 交易用户id
  5617. type: integer
  5618. tradeusername:
  5619. description: 交易用户名称
  5620. type: string
  5621. unitid:
  5622. description: 单位id(现货商品)
  5623. type: integer
  5624. updatetime:
  5625. description: 更新时间
  5626. type: string
  5627. vatrate:
  5628. description: 增值税率
  5629. type: number
  5630. wrstandardcode:
  5631. description: 品类代码
  5632. type: string
  5633. wrstandardid:
  5634. description: 品类id
  5635. type: integer
  5636. wrstandardname:
  5637. description: 品类名称
  5638. type: string
  5639. wrunitid:
  5640. description: 品类单位id
  5641. type: integer
  5642. wrunitidame:
  5643. description: 品类单位名称
  5644. type: string
  5645. type: object
  5646. models.Ermcp3InnerTradeLink:
  5647. properties:
  5648. accountid:
  5649. description: 期货账号代码 | 资金账号ID
  5650. type: integer
  5651. buyorsell:
  5652. description: 方向 - 0:买 1:卖
  5653. type: integer
  5654. channelbuildtype:
  5655. description: 委托单据类型 0:无 1:建仓 2:平仓
  5656. type: integer
  5657. currencyid:
  5658. description: 币种id
  5659. type: integer
  5660. currencyname:
  5661. description: 结算币种 名称
  5662. type: string
  5663. goodscode:
  5664. description: 商品代码
  5665. type: string
  5666. goodsid:
  5667. description: 商品ID
  5668. type: integer
  5669. goodsname:
  5670. description: 商品名称
  5671. type: string
  5672. outtradeid:
  5673. description: 外部成交单号
  5674. type: string
  5675. taname:
  5676. description: 期货账户名称
  5677. type: string
  5678. tradeid:
  5679. description: 期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5680. type: string
  5681. tradeprice:
  5682. description: 成交价格
  5683. type: number
  5684. tradeqty:
  5685. description: 期货成交数量
  5686. type: integer
  5687. tradetime:
  5688. description: 关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间
  5689. type: string
  5690. username:
  5691. description: 用户名称
  5692. type: string
  5693. type: object
  5694. models.Ermcp3OutTradeLink:
  5695. properties:
  5696. buyorsell:
  5697. description: 买卖方向 - 0:买 1:卖
  5698. type: integer
  5699. channelbuildtype:
  5700. description: 开平标志- 0:无 1:建仓 2:平仓
  5701. type: integer
  5702. currencyname:
  5703. description: 币种名称
  5704. type: string
  5705. exexchangecode:
  5706. description: 交易所代码
  5707. type: string
  5708. exexchangename:
  5709. description: 交易所名称
  5710. type: string
  5711. goodscode:
  5712. description: 合约代码
  5713. type: string
  5714. goodsid:
  5715. description: 合约id
  5716. type: integer
  5717. goodsname:
  5718. description: 合约名称
  5719. type: string
  5720. hasinnerorder:
  5721. description: 是否有内部单关联 - 0:无 1:有
  5722. type: integer
  5723. hedgeaccountcode:
  5724. description: 外部账号 | 对冲账号
  5725. type: string
  5726. outtradeid:
  5727. description: 外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5728. type: string
  5729. tradeprice:
  5730. description: 成交价格
  5731. type: number
  5732. tradeqty:
  5733. description: 成交数量
  5734. type: integer
  5735. tradetime:
  5736. description: 成交时间
  5737. type: string
  5738. type: object
  5739. models.Ermcp3PaAreaAuditCfg:
  5740. properties:
  5741. areauserid:
  5742. description: 用户ID
  5743. type: integer
  5744. buyinauditflag:
  5745. description: 采购入库是否需要审核 - 0:不需审核 1:需要审核
  5746. type: integer
  5747. costratioauditflag:
  5748. description: 现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核
  5749. type: integer
  5750. customerauditflag:
  5751. description: 客户资料是否需要审核 - 0:不需审核 1:需要审核
  5752. type: integer
  5753. deliveryauditflag:
  5754. description: 交收是否需要审核 - 0:不需审核 1:需要审核
  5755. type: integer
  5756. invoiceauditflag:
  5757. description: 发票是否需要审核 - 0:不需审核 1:需要审核
  5758. type: integer
  5759. mgneedhedgeratioauditflag:
  5760. description: 套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核
  5761. type: integer
  5762. moneyauditflag:
  5763. description: 款项是否需要审核 - 0:不需审核 1:需要审核
  5764. type: integer
  5765. operatorid:
  5766. description: 操作人
  5767. type: integer
  5768. operatorsrc:
  5769. description: 操作来源 - 1:管理端 2:终端
  5770. type: integer
  5771. pointpriceauditflag:
  5772. description: 点价是否需要审核 - 0:不需审核 1:需要审核
  5773. type: integer
  5774. produceinauditflag:
  5775. description: 生产入库是否需要审核 - 0:不需审核 1:需要审核
  5776. type: integer
  5777. produceoutauditflag:
  5778. description: 生产出库是否需要审核 - 0:不需审核 1:需要审核
  5779. type: integer
  5780. selloutauditflag:
  5781. description: 销售出库是否需要审核 - 0:不需审核 1:需要审核
  5782. type: integer
  5783. sgconvertratioauditflag:
  5784. description: 现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核
  5785. type: integer
  5786. sgvtaratioauditflag:
  5787. description: 现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核
  5788. type: integer
  5789. spotcontractauditflag:
  5790. description: 现货合同是否需要审核 - 0:不需审核 1:需要审核
  5791. type: integer
  5792. updatetime:
  5793. description: 更新时间
  5794. type: string
  5795. type: object
  5796. models.Ermcp3PaAreaSubject:
  5797. properties:
  5798. areauserid:
  5799. description: 所属机构
  5800. type: integer
  5801. canmodify:
  5802. description: 是否可修改 - 0:否 1:是
  5803. type: integer
  5804. createtime:
  5805. description: 创建时间
  5806. type: string
  5807. creatorid:
  5808. description: 创建人ID
  5809. type: string
  5810. creatorsrc:
  5811. description: 创建人来源 - 1:管理端 2:终端 3:交易
  5812. type: integer
  5813. modifierid:
  5814. description: 修改人
  5815. type: string
  5816. modifiersrc:
  5817. description: 修改人来源 - 1:管理端 2:终端
  5818. type: integer
  5819. modifytime:
  5820. description: 修改时间
  5821. type: string
  5822. parentsubjectid:
  5823. description: 上级主体ID
  5824. type: string
  5825. remark:
  5826. description: 备注
  5827. type: string
  5828. subjectid:
  5829. description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  5830. type: integer
  5831. subjectname:
  5832. description: 主体名称
  5833. type: string
  5834. subjectstatus:
  5835. description: '主体状态 - 1:正常 2: 停用'
  5836. type: integer
  5837. subjecttype:
  5838. description: 主体类型 - 1:交易主体 2:业务部门
  5839. type: integer
  5840. type: object
  5841. models.Ermcp3PaTradeLink:
  5842. properties:
  5843. accountid:
  5844. description: 期货账户代码 | 账号ID
  5845. type: integer
  5846. agreeunit:
  5847. description: 合约乘数
  5848. type: number
  5849. buyorsell:
  5850. description: 方向 - 0:买 1:卖
  5851. type: integer
  5852. channelbuildtype:
  5853. description: 委托单据类型 0:无 1:建仓 2:平仓
  5854. type: integer
  5855. charge:
  5856. description: 手续费
  5857. type: number
  5858. closepl:
  5859. description: 平仓盈亏
  5860. type: number
  5861. closetype:
  5862. description: 平仓方式 - 0:无 1:平今 2:平昨
  5863. type: integer
  5864. convertratio:
  5865. description: 折算系数
  5866. type: number
  5867. enumdicname:
  5868. description: 单位名称
  5869. type: string
  5870. executeprice:
  5871. description: 执行价 [期权]
  5872. type: integer
  5873. goodscode:
  5874. description: 合约代码
  5875. type: string
  5876. goodsgroupid:
  5877. description: 对冲品种ID[期货合约商品组ID]
  5878. type: integer
  5879. goodsid:
  5880. description: 商品ID
  5881. type: integer
  5882. goodsname:
  5883. description: 合约名称
  5884. type: string
  5885. goodunitid:
  5886. description: 单位id
  5887. type: integer
  5888. hedgeflag:
  5889. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  5890. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  5891. type: integer
  5892. marketid:
  5893. description: 市场ID
  5894. type: integer
  5895. middlegoodsid:
  5896. description: 套保品种ID
  5897. type: integer
  5898. middlegoodsqty:
  5899. description: 套保品种数量 = TradeQty * AgreeUnit * ConvertRatio
  5900. type: number
  5901. optioncode:
  5902. description: 期权代码 [期权]
  5903. type: string
  5904. ordertype:
  5905. description: 单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单
  5906. type: integer
  5907. ordertypename:
  5908. description: 订单类型
  5909. type: string
  5910. parentaccountid:
  5911. description: 所属母账户
  5912. type: integer
  5913. premium:
  5914. description: 权利金 [期权]
  5915. type: number
  5916. relatedlot:
  5917. description: 已关联数量(已关联数量手) | db:关联手数
  5918. type: number
  5919. relatedouttradeid:
  5920. description: 关联外部成交单ID
  5921. type: string
  5922. relatedqty:
  5923. description: 关联数量
  5924. type: number
  5925. spotcontractid:
  5926. description: 现货合同ID [4:套期保值\10\11]
  5927. type: string
  5928. taname:
  5929. description: 期货账户名称
  5930. type: string
  5931. tradeamount:
  5932. description: 成交金额(账户)
  5933. type: number
  5934. tradedate:
  5935. description: 交易日(yyyyMMdd)
  5936. type: string
  5937. tradeid:
  5938. description: 期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5939. type: string
  5940. tradelot:
  5941. description: 成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数
  5942. type: integer
  5943. tradeprice:
  5944. description: 成交价格
  5945. type: number
  5946. tradetime:
  5947. description: 时间 | db:成交时间
  5948. type: string
  5949. tradetype:
  5950. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  5951. type: integer
  5952. userid:
  5953. description: 所属机构 - 所属母账户的UserID
  5954. type: string
  5955. username:
  5956. description: 用户名称
  5957. type: string
  5958. type: object
  5959. models.Ermcp3ParamChangeApp:
  5960. properties:
  5961. aftervalue:
  5962. description: 变更后
  5963. type: number
  5964. applicationid:
  5965. description: 申请ID(619+Unix秒时间戳(10位)+xxxxxx)
  5966. type: string
  5967. applyid:
  5968. description: 申请人
  5969. type: string
  5970. applyname:
  5971. description: 申请人名称(代码)
  5972. type: string
  5973. applyremark:
  5974. description: 申请备注
  5975. type: string
  5976. applysrc:
  5977. description: 申请来源 - 1:管理端 2:终端
  5978. type: integer
  5979. applystatus:
  5980. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  5981. type: integer
  5982. applytime:
  5983. description: 申请时间
  5984. type: string
  5985. areauserid:
  5986. description: 所属机构用户ID
  5987. type: integer
  5988. auditid:
  5989. description: 审核人
  5990. type: string
  5991. auditname:
  5992. description: 审核人名称(代码)
  5993. type: string
  5994. auditremark:
  5995. description: 审核备注
  5996. type: string
  5997. auditsrc:
  5998. description: 审核来源 - 1:管理端 2:终端
  5999. type: integer
  6000. audittime:
  6001. description: 审核时间
  6002. type: string
  6003. audittradedate:
  6004. description: 审核交易日(yyyyMMdd)
  6005. type: string
  6006. beforevalue:
  6007. description: 变更前
  6008. type: number
  6009. deliverygoodscode:
  6010. description: 品种代码
  6011. type: string
  6012. deliverygoodsid:
  6013. description: 品种id
  6014. type: integer
  6015. deliverygoodsname:
  6016. description: 品种名称
  6017. type: string
  6018. middlegoodscode:
  6019. description: 套保品种代码
  6020. type: string
  6021. middlegoodsid:
  6022. description: 套保品种ID [ParamChangeType = 2,3,4]
  6023. type: integer
  6024. middlegoodsname:
  6025. description: 套保品种名称
  6026. type: string
  6027. operatetype:
  6028. description: 操作类型 - 1:新增 2:修改
  6029. type: integer
  6030. paramchangetype:
  6031. description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  6032. type: integer
  6033. wrstandardcode:
  6034. description: 现货商品代码
  6035. type: string
  6036. wrstandardid:
  6037. description: 现货商品ID [ParamChangeType = 1,2,3]
  6038. type: integer
  6039. wrstandardname:
  6040. description: 现货商品名称
  6041. type: string
  6042. type: object
  6043. models.Ermcp3RootUserAccount:
  6044. properties:
  6045. accountname:
  6046. description: 账户名称(机构名称)
  6047. type: string
  6048. accountstatus:
  6049. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6050. type: integer
  6051. applysrc:
  6052. description: 申请来源 - 1:管理端 2:终端
  6053. type: integer
  6054. auditremark:
  6055. description: 审核备注
  6056. type: string
  6057. auditsrc:
  6058. description: 审核来源 - 1:管理端 2:终端
  6059. type: integer
  6060. audittime:
  6061. description: 审核时间
  6062. type: string
  6063. audituserid:
  6064. description: 审核人
  6065. type: integer
  6066. broker:
  6067. description: 所属经纪人ID
  6068. type: integer
  6069. canceltime:
  6070. description: 销户时间
  6071. type: string
  6072. canceluserid:
  6073. description: 销户人
  6074. type: integer
  6075. canrecommend:
  6076. description: 是否可推荐 - 0:不可 1;可
  6077. type: integer
  6078. createtime:
  6079. description: 创建时间
  6080. type: string
  6081. creatorid:
  6082. description: 创建人
  6083. type: integer
  6084. hasauth:
  6085. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  6086. type: integer
  6087. isanonymous:
  6088. description: 是否匿名下单 - 0:否 1:是
  6089. type: integer
  6090. maxinvestornum:
  6091. description: 最大用户数(经纪会员下投资者个数)
  6092. type: integer
  6093. memberuserid:
  6094. description: 所属会员ID
  6095. type: integer
  6096. modifierid:
  6097. description: 修改人
  6098. type: integer
  6099. modifyremark:
  6100. description: 变更备注
  6101. type: string
  6102. modifystatus:
  6103. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  6104. type: integer
  6105. modifytime:
  6106. description: 修改时间
  6107. type: string
  6108. nickname:
  6109. description: 昵称
  6110. type: string
  6111. parenttopuser:
  6112. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  6113. type: string
  6114. parentuserid:
  6115. description: 所属机构ID
  6116. type: integer
  6117. reckonaccountid:
  6118. description: 默认结算资金账号ID(机构分润使用) 作废
  6119. type: integer
  6120. refercount:
  6121. description: 推荐总人数
  6122. type: integer
  6123. refereeuserid:
  6124. description: 推荐人ID
  6125. type: integer
  6126. refernum:
  6127. description: 推荐码
  6128. type: string
  6129. rootuserid:
  6130. description: 根用户ID
  6131. type: integer
  6132. subaccountlevel:
  6133. description: 子账户层数
  6134. type: integer
  6135. subarealevelpath:
  6136. description: 子机构层级路径(逗号分隔,首尾加逗号)
  6137. type: string
  6138. userid:
  6139. description: 用户ID
  6140. type: integer
  6141. usertype:
  6142. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6143. type: integer
  6144. type: object
  6145. models.Ermcp3SCMiddleGoods:
  6146. properties:
  6147. biztype:
  6148. description: 业务类型 1:套保 2:套利
  6149. type: integer
  6150. contractno:
  6151. description: 合同编号
  6152. type: string
  6153. contracttype:
  6154. description: 合同类型 1:采购 -1:销售
  6155. type: integer
  6156. convertratio:
  6157. description: 折算系数
  6158. type: number
  6159. customername:
  6160. description: 对手手名称
  6161. type: string
  6162. customeruserid:
  6163. description: 对手id
  6164. type: integer
  6165. deliverygoodscode:
  6166. description: 现货品种代码
  6167. type: string
  6168. deliverygoodsid:
  6169. description: 现货品种ID
  6170. type: integer
  6171. deliverygoodsname:
  6172. description: 现货品种名称
  6173. type: string
  6174. enumdicname:
  6175. description: 现货单位名称
  6176. type: string
  6177. middlegoodsid:
  6178. description: 套保品种ID
  6179. type: integer
  6180. middlegoodspricedqty3:
  6181. description: 应套保数量 = MiddleGoodsPricedQty2 * 套保比率
  6182. type: number
  6183. needhedgeratio:
  6184. description: 套保比例
  6185. type: number
  6186. pricedqty:
  6187. description: 已定价量
  6188. type: number
  6189. relatedmiddlegoodsqty:
  6190. description: 已关联量(套保品种)(期货)
  6191. type: number
  6192. spotcontractid:
  6193. description: 合同编号
  6194. type: string
  6195. unitid:
  6196. description: 现货单位id
  6197. type: integer
  6198. userid:
  6199. description: 用户id
  6200. type: integer
  6201. vatrate:
  6202. description: 增值税率
  6203. type: number
  6204. wrstandardcode:
  6205. description: 现货商品代码
  6206. type: string
  6207. wrstandardid:
  6208. description: 现货商品id
  6209. type: integer
  6210. wrstandardname:
  6211. description: 现货商品名称
  6212. type: string
  6213. type: object
  6214. models.Ermcp3SCMiddleGoodsReport:
  6215. properties:
  6216. begindate:
  6217. description: 开始交易日
  6218. type: string
  6219. contractno:
  6220. description: 合同编号
  6221. type: string
  6222. contracttype:
  6223. description: 合同类型 1:采购 -1:销售
  6224. type: integer
  6225. convertratio:
  6226. description: 折算系数
  6227. type: number
  6228. cycletime:
  6229. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6230. type: string
  6231. cycletype:
  6232. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6233. type: integer
  6234. deliverygoodscode:
  6235. description: 品种代码
  6236. type: string
  6237. deliverygoodsid:
  6238. description: 现货品种ID
  6239. type: integer
  6240. deliverygoodsname:
  6241. description: 品种名称
  6242. type: string
  6243. diffprice:
  6244. description: 现期价格差 = 今日点价登记均价(基价) - 今日期货成交均价
  6245. type: number
  6246. diffqty:
  6247. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  6248. type: number
  6249. enddate:
  6250. description: 结束交易日
  6251. type: string
  6252. hedgeplanqty:
  6253. description: 套保计划量 = TodayPricedQty * 折算系数 * (1/(1+增值税率)) * 套保比例
  6254. type: number
  6255. matchname:
  6256. description: 交易对手方(个人:用户名称 企业:简称)
  6257. type: string
  6258. middlegoodscode:
  6259. description: 套保品种代码
  6260. type: string
  6261. middlegoodsid:
  6262. description: 套保品种ID
  6263. type: integer
  6264. middlegoodsname:
  6265. description: 套保品种名称
  6266. type: string
  6267. middlegoodspricedqty:
  6268. description: 已定价量(套保品种 - 税前) = PricedQty * 折算系数
  6269. type: number
  6270. middlegoodspricedqty2:
  6271. description: 已定价量(套保品种- 税后) = MiddleGoodsPricedQty * (1/(1+增值税率))
  6272. type: number
  6273. middlegoodspricedqty3:
  6274. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  6275. type: number
  6276. needhedgeratio:
  6277. description: 套保系数
  6278. type: number
  6279. pricedamount:
  6280. description: 已定价额(现货)
  6281. type: number
  6282. pricedamount2:
  6283. description: 已定价额(现货-基价额)
  6284. type: number
  6285. pricedqty:
  6286. description: 已定价量(现货)
  6287. type: number
  6288. reckondate:
  6289. description: 日照时期(yyyyMMdd)
  6290. type: string
  6291. relatedmiddlegoodsamount:
  6292. description: 已关联额(期货)
  6293. type: number
  6294. relatedmiddlegoodsqty:
  6295. description: 已关联量(套保品种)(期货)
  6296. type: number
  6297. spotcontractid:
  6298. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  6299. type: string
  6300. todayavgfutuprice:
  6301. description: 今日期货成交均价 = TodayRelatedMiddleGoodsAmount /todayrelatedfutureqty
  6302. type: number
  6303. todayavgprice:
  6304. description: 今日定价均价 = TodayPricedAmount / TodayPricedQty
  6305. type: number
  6306. todayavgprice2:
  6307. description: 今日点价登记均价(基价) = TodayPricedAmount2 / TodayPricedQty
  6308. type: number
  6309. todaypricedamount:
  6310. description: 今日定价额(现货)
  6311. type: number
  6312. todaypricedamount2:
  6313. description: 今日定价额(现货-基价额)
  6314. type: number
  6315. todaypricedqty:
  6316. description: 今日定价量(现货)
  6317. type: number
  6318. todayrelatedfutureqty:
  6319. description: 今日关联量(期货)
  6320. type: number
  6321. todayrelatedmiddlegoodsamount:
  6322. description: 今日关联额(期货)
  6323. type: number
  6324. todayrelatedmiddlegoodsqty:
  6325. description: 今日关联量(套保品-期货)
  6326. type: number
  6327. updatetime:
  6328. description: 更新时间
  6329. type: string
  6330. userid:
  6331. description: 合同所属用户id
  6332. type: integer
  6333. vatrate:
  6334. description: 增值税率
  6335. type: number
  6336. wrstandardcode:
  6337. description: 商品(品类) 代码
  6338. type: string
  6339. wrstandardid:
  6340. description: 现货商品ID
  6341. type: integer
  6342. wrstandardname:
  6343. description: 商品(品类) 名称
  6344. type: string
  6345. type: object
  6346. models.Ermcp3SellBuyContract:
  6347. properties:
  6348. accountid:
  6349. description: 期货账户id
  6350. type: string
  6351. accountname:
  6352. description: 账户名称
  6353. type: string
  6354. attachment:
  6355. description: 附件
  6356. type: string
  6357. audittime:
  6358. description: 审核时间
  6359. type: string
  6360. bizsubjectid:
  6361. description: 归属业务部门ID - SubjectID
  6362. type: integer
  6363. biztype:
  6364. description: 业务类型 1-套保 2-套利
  6365. type: integer
  6366. brandname:
  6367. description: 品牌名称
  6368. type: string
  6369. contracctstatus:
  6370. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6371. type: integer
  6372. contractmargin:
  6373. description: 合同保证金
  6374. type: number
  6375. contractno:
  6376. description: 合同编号
  6377. type: string
  6378. contracttype:
  6379. description: 合同类型 1-采购, -1-销售
  6380. type: integer
  6381. convertfactor:
  6382. description: 标仓系数(品类)
  6383. type: number
  6384. createtime:
  6385. description: 创建时间
  6386. type: string
  6387. currencyid:
  6388. description: 币种id
  6389. type: integer
  6390. currencyname:
  6391. description: 币种名称
  6392. type: string
  6393. daikaiamount:
  6394. description: 应收(开)票额
  6395. type: number
  6396. deliveryenddate:
  6397. description: 交割结束日
  6398. type: string
  6399. deliverygoodscode:
  6400. description: 现货品种代码
  6401. type: string
  6402. deliverygoodsid:
  6403. description: 现货商品ID
  6404. type: integer
  6405. deliverygoodsname:
  6406. description: 现货品种名称
  6407. type: string
  6408. deliverystartdate:
  6409. description: 交割开始日
  6410. type: string
  6411. enddate:
  6412. description: 点价结束日
  6413. type: string
  6414. enumdicname:
  6415. description: 单位名称
  6416. type: string
  6417. goodscode:
  6418. description: 点价商品代码
  6419. type: string
  6420. goodsgroupid:
  6421. description: 点价商品组id
  6422. type: integer
  6423. goodsid:
  6424. description: 点价商品ID
  6425. type: integer
  6426. goodsname:
  6427. description: 点价商品名称
  6428. type: string
  6429. invoiceamount:
  6430. description: 已开票额
  6431. type: number
  6432. loanamount:
  6433. description: 贷款总额=已定价额+调整金额
  6434. type: number
  6435. margin:
  6436. description: 保证金
  6437. type: number
  6438. meruserid:
  6439. description: 跟单员id
  6440. type: integer
  6441. meruserlogincode:
  6442. description: 跟单员登录代码
  6443. type: string
  6444. merusername:
  6445. description: 跟单员名称
  6446. type: string
  6447. nickname:
  6448. description: 账户昵称
  6449. type: string
  6450. orireckonrealqty:
  6451. description: 应交收量
  6452. type: number
  6453. payamount:
  6454. description: 已收付额(收款或付款)
  6455. type: number
  6456. preinvoiceamount:
  6457. description: 预收(开)票额
  6458. type: number
  6459. prepayamount:
  6460. description: 预收付额
  6461. type: number
  6462. price:
  6463. description: 价格
  6464. type: number
  6465. pricedamount:
  6466. description: 已定价额
  6467. type: number
  6468. pricedavg:
  6469. description: 已点均价
  6470. type: number
  6471. pricedqty:
  6472. description: 已定价量
  6473. type: number
  6474. pricemove:
  6475. description: 升贴水
  6476. type: number
  6477. pricetype:
  6478. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  6479. type: integer
  6480. producttype:
  6481. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6482. type: integer
  6483. qty:
  6484. description: 合同量
  6485. type: number
  6486. reckonadjustamount:
  6487. description: 调整金额
  6488. type: number
  6489. reckonedamount:
  6490. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  6491. type: number
  6492. reckonotheramount:
  6493. description: 其它费用
  6494. type: number
  6495. reckonrealqty:
  6496. description: 已交收量
  6497. type: number
  6498. remark:
  6499. description: 备注
  6500. type: string
  6501. saleuserid:
  6502. description: 业务员id
  6503. type: integer
  6504. saleuserlogincode:
  6505. description: 业务员登录代码
  6506. type: string
  6507. saleusername:
  6508. description: 业务员名称
  6509. type: string
  6510. spotcontractid:
  6511. description: 合同ID
  6512. type: string
  6513. spotgoodsbrandid:
  6514. description: 现货品牌ID(DGFactoryItem表的ID)
  6515. type: integer
  6516. spotgoodsdesc:
  6517. description: 商品型号(商品规格)
  6518. type: string
  6519. startdate:
  6520. description: 点价开始日
  6521. type: string
  6522. subjectid:
  6523. description: 交易主体ID
  6524. type: integer
  6525. subjectname:
  6526. description: 交易主体名称
  6527. type: string
  6528. totalamount:
  6529. description: 合计总额
  6530. type: number
  6531. tradeuserid:
  6532. description: 交易员id
  6533. type: integer
  6534. tradeuserlogincode:
  6535. description: 交易员登录代码
  6536. type: string
  6537. tradeusername:
  6538. description: 交易员名称
  6539. type: string
  6540. unpayamount:
  6541. description: 应收付款额(应支付或应收款)
  6542. type: number
  6543. unpricedqty:
  6544. description: 未定价量
  6545. type: number
  6546. unsureqty:
  6547. description: 未确定量
  6548. type: number
  6549. userid:
  6550. description: 机构ID
  6551. type: integer
  6552. vatrate:
  6553. description: 增值税率
  6554. type: number
  6555. wrstandardcode:
  6556. description: 品类代码
  6557. type: string
  6558. wrstandardid:
  6559. description: 品类ID
  6560. type: integer
  6561. wrstandardname:
  6562. description: 品类名称
  6563. type: string
  6564. type: object
  6565. models.Ermcp3SpotGoodsPrice:
  6566. properties:
  6567. areauserid:
  6568. description: 所属机构id
  6569. type: integer
  6570. brandname:
  6571. description: 品牌名称
  6572. type: string
  6573. currencyid:
  6574. description: 报价货币ID
  6575. type: integer
  6576. currencyname:
  6577. description: 币种名称
  6578. type: string
  6579. deliverygoodscode:
  6580. description: 现货商品代码
  6581. type: string
  6582. deliverygoodsid:
  6583. description: 现货商品id
  6584. type: integer
  6585. deliverygoodsname:
  6586. description: 现货商品名称
  6587. type: string
  6588. enumdicname:
  6589. description: 现货商品单位名称
  6590. type: string
  6591. gbenumdicname:
  6592. description: 品类单位名称
  6593. type: string
  6594. gmunitid:
  6595. description: 品类单位id
  6596. type: integer
  6597. isvalid:
  6598. description: 是否有效 - 0:无效 1:有效
  6599. type: integer
  6600. operateid:
  6601. description: 最后操作人
  6602. type: integer
  6603. operatesrc:
  6604. description: 最后操作来源 - 1:管理端 2:终端
  6605. type: integer
  6606. operatetime:
  6607. description: 最后操作时间
  6608. type: string
  6609. operatorname:
  6610. description: 操作人名称
  6611. type: string
  6612. spotgoodsbrandid:
  6613. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6614. type: integer
  6615. spotgoodsprice:
  6616. description: 现货价格
  6617. type: number
  6618. tradedate:
  6619. description: 交易日(yyyyMMdd)
  6620. type: string
  6621. unitid:
  6622. description: 现货商品单位id
  6623. type: integer
  6624. wrstandardcode:
  6625. description: 品类代码
  6626. type: string
  6627. wrstandardid:
  6628. description: 现货品类ID(通用则为0)
  6629. type: integer
  6630. wrstandardname:
  6631. description: 品类名称
  6632. type: string
  6633. type: object
  6634. models.Ermcp3SpotGoodsPriceLog:
  6635. properties:
  6636. areauserid:
  6637. description: 所属机构id
  6638. type: integer
  6639. brandname:
  6640. description: 品牌名称
  6641. type: string
  6642. currencyid:
  6643. description: 报价货币ID
  6644. type: integer
  6645. deliverygoodscode:
  6646. description: 现货商品代码
  6647. type: string
  6648. deliverygoodsid:
  6649. description: 现货商品id
  6650. type: integer
  6651. deliverygoodsname:
  6652. description: 现货商品名称
  6653. type: string
  6654. enumdicname:
  6655. description: 现货商品单位名称
  6656. type: string
  6657. gbenumdicname:
  6658. description: 品类单位名称
  6659. type: string
  6660. gmunitid:
  6661. description: 品类单位id
  6662. type: integer
  6663. logid:
  6664. description: 日志id
  6665. type: integer
  6666. operateid:
  6667. description: 最后操作人
  6668. type: integer
  6669. operatesrc:
  6670. description: 最后操作来源 - 1:管理端 2:终端
  6671. type: integer
  6672. operatetime:
  6673. description: 最后操作时间
  6674. type: string
  6675. operatorname:
  6676. description: 操作人名称
  6677. type: string
  6678. spotgoodsbrandid:
  6679. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6680. type: integer
  6681. spotgoodsprice:
  6682. description: 现货价格
  6683. type: number
  6684. tradedate:
  6685. description: 交易日(yyyyMMdd)
  6686. type: string
  6687. unitid:
  6688. description: 现货商品单位id
  6689. type: integer
  6690. wrstandardcode:
  6691. description: 品类代码
  6692. type: string
  6693. wrstandardid:
  6694. description: 现货品类ID(通用则为0)
  6695. type: integer
  6696. wrstandardname:
  6697. description: 品类名称
  6698. type: string
  6699. type: object
  6700. models.Ermcp3SubTaaccount:
  6701. properties:
  6702. accountid:
  6703. description: 资金账户ID
  6704. type: integer
  6705. parentaccountcode:
  6706. description: 所属根账号代码(母账号代码)
  6707. type: string
  6708. parentaccountid:
  6709. description: 所属根账号(母账号)
  6710. type: integer
  6711. taname:
  6712. description: 资金账号名称
  6713. type: string
  6714. tradestatus:
  6715. description: 交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)
  6716. type: integer
  6717. username:
  6718. description: 交易用户
  6719. type: string
  6720. type: object
  6721. models.Ermcp3TaFutuReDataReport:
  6722. properties:
  6723. accountid:
  6724. description: 交易账户
  6725. type: integer
  6726. accountname:
  6727. description: 交易账号名称
  6728. type: string
  6729. agreeunit:
  6730. description: 商品合约单位
  6731. type: number
  6732. begindate:
  6733. description: 开始交易日
  6734. type: string
  6735. buyorsell:
  6736. description: 持仓方向
  6737. type: integer
  6738. charge:
  6739. description: 手续费
  6740. type: number
  6741. closeavgprice:
  6742. description: 平仓均价
  6743. type: number
  6744. closepl:
  6745. description: 平仓损益
  6746. type: number
  6747. currencyid:
  6748. description: 结算币种ID
  6749. type: integer
  6750. currencyname:
  6751. description: 币种名称
  6752. type: string
  6753. cycletime:
  6754. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6755. type: string
  6756. cycletype:
  6757. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6758. type: integer
  6759. enddate:
  6760. description: 结束交易日
  6761. type: string
  6762. enumdicname:
  6763. description: 单位名称
  6764. type: string
  6765. floatpl:
  6766. description: 浮动损益
  6767. type: number
  6768. goodscode:
  6769. description: 交易合约代码
  6770. type: string
  6771. goodsgroupid:
  6772. description: 交易品种
  6773. type: integer
  6774. goodsgroupname:
  6775. description: 交易品种名称
  6776. type: string
  6777. goodsgroupspotqty:
  6778. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  6779. type: number
  6780. goodsid:
  6781. description: 交易合约
  6782. type: integer
  6783. goodsname:
  6784. description: 交易合约名称
  6785. type: string
  6786. goodunitid:
  6787. description: 交易合约单位id
  6788. type: integer
  6789. holdamount:
  6790. description: 期末持仓额
  6791. type: number
  6792. holdqty:
  6793. description: 期末持仓量
  6794. type: number
  6795. lastholdamount:
  6796. description: 当前持仓额
  6797. type: number
  6798. lastprice:
  6799. description: 最新价
  6800. type: number
  6801. middlegoodsid:
  6802. description: 套保品种id
  6803. type: integer
  6804. middlegoodsname:
  6805. description: 套保商品名称
  6806. type: string
  6807. middlegoodsqty:
  6808. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  6809. type: number
  6810. middlgoodscode:
  6811. description: 套保商品代码
  6812. type: string
  6813. openamount:
  6814. description: 期末开仓额
  6815. type: number
  6816. openavgprice:
  6817. description: 开仓均价
  6818. type: number
  6819. oriholdamount:
  6820. description: 期初持仓额
  6821. type: number
  6822. oriholdqty:
  6823. description: 期初持仓量
  6824. type: number
  6825. oriopenamount:
  6826. description: 期初开仓额
  6827. type: number
  6828. outergroupcode:
  6829. description: 交易品种代码
  6830. type: string
  6831. qtydecimalplace:
  6832. description: 成交量小数位
  6833. type: integer
  6834. reckondate:
  6835. description: 日照时期(yyyyMMdd)
  6836. type: string
  6837. reckonholdamount:
  6838. description: 结算持仓额
  6839. type: number
  6840. reckonpl:
  6841. description: 结算损益
  6842. type: number
  6843. reckonpl2:
  6844. description: 结算逐笔盈亏
  6845. type: number
  6846. reckonprice:
  6847. description: 结算价
  6848. type: number
  6849. relateduserid:
  6850. description: 账户关联用户ID
  6851. type: integer
  6852. todaycloseamount:
  6853. description: 今平仓额
  6854. type: number
  6855. todaycloseqty:
  6856. description: 今平仓量
  6857. type: number
  6858. todaygoodsgroupspotqty:
  6859. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  6860. type: number
  6861. todaymiddlegoodsqty:
  6862. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  6863. type: number
  6864. todayopenamount:
  6865. description: 今开仓额
  6866. type: number
  6867. todayopenqty:
  6868. description: 今开仓量
  6869. type: number
  6870. userid:
  6871. description: 账户所属用户ID
  6872. type: integer
  6873. type: object
  6874. models.Ermcp3TradeLinkDetail:
  6875. properties:
  6876. accountid:
  6877. description: 资金账号
  6878. type: integer
  6879. agreeunit:
  6880. description: 合约乘数
  6881. type: number
  6882. areauserid:
  6883. description: 所属机构
  6884. type: string
  6885. bizsubjectid:
  6886. description: 归属业务部门ID - SubjectID
  6887. type: string
  6888. buyorsell:
  6889. description: 方向 - 0:买 1:卖
  6890. type: integer
  6891. channelbuildtype:
  6892. description: 委托单据类型 0:无 1:建仓 2:平仓
  6893. type: integer
  6894. contractno:
  6895. description: 现货编号 (合同编号)
  6896. type: string
  6897. convertratio:
  6898. description: 折算系数
  6899. type: number
  6900. createtime:
  6901. description: 关联时间 | 创建时间
  6902. type: string
  6903. creatorid:
  6904. description: 创建人ID
  6905. type: string
  6906. creatorsrc:
  6907. description: 创建人来源 - 1:管理端 2:终端 3:交易
  6908. type: integer
  6909. enumdicname:
  6910. description: 单位名称
  6911. type: string
  6912. goodscode:
  6913. description: 合约代码
  6914. type: string
  6915. goodsgroupid:
  6916. description: 对冲品种ID[期货合约商品组ID]
  6917. type: integer
  6918. goodsid:
  6919. description: 商品ID
  6920. type: integer
  6921. goodsname:
  6922. description: 合约名称
  6923. type: string
  6924. hedgeflag:
  6925. description: 业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安)
  6926. 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  6927. type: integer
  6928. linkdetailid:
  6929. description: 关联ID(614+Unix秒时间戳(10位)+xxxxxx)
  6930. type: string
  6931. linkstatus:
  6932. description: 关联状态 - 1:成功 2:失败 3:解绑
  6933. type: integer
  6934. middlegoodscode:
  6935. description: 套保品种代码
  6936. type: string
  6937. middlegoodsid:
  6938. description: 套保品种ID
  6939. type: integer
  6940. middlegoodsname:
  6941. description: 套保品种名称
  6942. type: string
  6943. relatedlot:
  6944. description: 关联手数
  6945. type: number
  6946. relatedmode:
  6947. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  6948. type: integer
  6949. relatedqty:
  6950. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  6951. type: number
  6952. retcode:
  6953. description: 返回码
  6954. type: integer
  6955. saleuserid:
  6956. description: 业务员ID
  6957. type: string
  6958. spotcontractid:
  6959. description: 现货合同\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]
  6960. type: string
  6961. taname:
  6962. description: 期货账户
  6963. type: string
  6964. tradedate:
  6965. description: 关联交易日(yyyyMMdd)
  6966. type: string
  6967. tradeid:
  6968. description: 期货订单号 | 内部成交单ID
  6969. type: string
  6970. tradelot:
  6971. description: 成交数量 | 成交手数
  6972. type: integer
  6973. tradeprice:
  6974. description: 成交价格
  6975. type: number
  6976. tradetime:
  6977. description: 期货成交时间
  6978. type: string
  6979. tradetradedate:
  6980. description: 成交交易日(yyyyMMdd)
  6981. type: string
  6982. username:
  6983. description: 用户名称
  6984. type: string
  6985. type: object
  6986. models.Ermcp3Wrstandard:
  6987. properties:
  6988. areauserid:
  6989. description: 所属机构
  6990. type: integer
  6991. cantrade:
  6992. description: 是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)
  6993. type: integer
  6994. convertfactor:
  6995. description: 标仓系数
  6996. type: number
  6997. createtime:
  6998. description: 创建时间
  6999. type: string
  7000. creatorid:
  7001. description: 创建人
  7002. type: integer
  7003. deliverygoodsid:
  7004. description: 现货品种ID
  7005. type: integer
  7006. enumdicname:
  7007. description: 品类单位名称
  7008. type: string
  7009. isvalid:
  7010. description: 是否有效 0-无效(停用) 1-有效(正常)
  7011. type: integer
  7012. minivalue:
  7013. description: 最小变动值
  7014. type: integer
  7015. minivaluedp:
  7016. description: 最小变动值小数位
  7017. type: integer
  7018. realminivalue:
  7019. description: 实际最小变动值
  7020. type: integer
  7021. realminivaluedp:
  7022. description: 实际最小变动值小数位
  7023. type: integer
  7024. remark:
  7025. description: 备注
  7026. type: string
  7027. unitid:
  7028. description: 品类单位ID
  7029. type: integer
  7030. updatetime:
  7031. description: 更新时间
  7032. type: string
  7033. wrstandardcode:
  7034. description: 品类代码
  7035. type: string
  7036. wrstandardid:
  7037. description: 品类ID(SEQ_WRSTANDARD)
  7038. type: integer
  7039. wrstandardname:
  7040. description: 品类名称
  7041. type: string
  7042. type: object
  7043. models.ErmcpBizGroupEx:
  7044. properties:
  7045. acclist:
  7046. description: 账号列表
  7047. items:
  7048. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  7049. type: array
  7050. bizgroupid:
  7051. description: 业务分组id
  7052. type: integer
  7053. biztype:
  7054. description: 业务类型 1-套保 2-套利
  7055. type: integer
  7056. wrlist:
  7057. description: 现货商品表
  7058. items:
  7059. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  7060. type: array
  7061. type: object
  7062. models.ErmcpBizGroupSpotGoods:
  7063. properties:
  7064. areauserid:
  7065. description: 所属机构id
  7066. type: integer
  7067. bizgroupid:
  7068. description: 分组id
  7069. type: integer
  7070. biztype:
  7071. description: 业务类型 1-套保 2-套利
  7072. type: integer
  7073. deliverygoodscode:
  7074. description: 现货商品代码
  7075. type: string
  7076. deliverygoodsid:
  7077. description: 现货商品id
  7078. type: integer
  7079. deliverygoodsname:
  7080. description: 现货商品名称
  7081. type: string
  7082. unitid:
  7083. description: 现货商品单位id
  7084. type: integer
  7085. type: object
  7086. models.ErmcpBizGroupTaAccount:
  7087. properties:
  7088. accountid:
  7089. description: 账号id
  7090. type: integer
  7091. accountname:
  7092. description: 账号名称
  7093. type: string
  7094. areauserid:
  7095. description: 所属机构id
  7096. type: integer
  7097. bizgroupid:
  7098. description: 业务分组id
  7099. type: integer
  7100. ismain:
  7101. description: 是否主账号 1-是 0-否
  7102. type: integer
  7103. type: object
  7104. models.ErmcpDGFactoryItem:
  7105. properties:
  7106. areauserid:
  7107. description: 用户id
  7108. type: integer
  7109. deliverygoodsid:
  7110. description: 现货品种ID
  7111. type: integer
  7112. dgfactoryitemid:
  7113. description: 选择项ID(SEQ_DGFACTORYITEM)
  7114. type: integer
  7115. dgfactoryitemtypeid:
  7116. description: 要素项类型
  7117. type: integer
  7118. dgfactoryitemvalue:
  7119. description: 要素项值(类型为仓库时填写仓库名称)
  7120. type: string
  7121. isvalid:
  7122. description: 是否有效 - 0:无效 1:有效
  7123. type: integer
  7124. orderindex:
  7125. description: 顺序
  7126. type: integer
  7127. warehouseid:
  7128. description: 仓库ID(类型为仓库时填写)
  7129. type: integer
  7130. type: object
  7131. models.ErmcpDeliveryGoods:
  7132. properties:
  7133. agreeunit:
  7134. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  7135. type: integer
  7136. areauserid:
  7137. description: 所属机构
  7138. type: integer
  7139. auditflag:
  7140. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  7141. type: integer
  7142. categoryid:
  7143. description: 类别ID(SEQ_WRCATEGORY)
  7144. type: integer
  7145. deliverygoodscode:
  7146. description: 现货品种代码
  7147. type: string
  7148. deliverygoodsid:
  7149. description: 现货品种ID(SEQ_DELIVERYGOODS)
  7150. type: integer
  7151. deliverygoodsname:
  7152. description: 现货品种名称
  7153. type: string
  7154. deliverygoodstype:
  7155. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  7156. type: integer
  7157. dgstatus:
  7158. description: 品种状态 - 作废 - 0:未激活 1:正常
  7159. type: integer
  7160. enumdicname:
  7161. description: 现货品种单位名称
  7162. type: string
  7163. goodsunitid:
  7164. description: 现货品种单位ID
  7165. type: integer
  7166. isvalid:
  7167. description: 是否有效 - 0:无效 1:有效
  7168. type: integer
  7169. qtydecimalplace:
  7170. description: 成交量小数位
  7171. type: integer
  7172. remark:
  7173. description: 备注
  7174. type: string
  7175. standardqty:
  7176. description: 标准数量(库位数量) [标准品特有]
  7177. type: integer
  7178. standardqtyrange:
  7179. description: 标准数量偏差范围 [标准品特有]
  7180. type: integer
  7181. type: object
  7182. models.ErmcpFuturesCompany:
  7183. properties:
  7184. brokerid:
  7185. description: 经纪公司代码
  7186. type: string
  7187. channeladdress:
  7188. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  7189. type: string
  7190. channelid:
  7191. description: 对冲渠道ID
  7192. type: string
  7193. createtime:
  7194. description: 创建时间
  7195. type: string
  7196. creatorid:
  7197. description: 创建人
  7198. type: string
  7199. fcid:
  7200. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  7201. type: integer
  7202. fcname:
  7203. description: 期货公司名称
  7204. type: string
  7205. isvalid:
  7206. description: 是否有效 - 0:无效 1:有效
  7207. type: integer
  7208. mhpaddress:
  7209. description: MHP服务地址(IP:Port)
  7210. type: string
  7211. riskrulegroupid:
  7212. description: 风控规则组ID
  7213. type: string
  7214. tradefeetmpid:
  7215. description: 手续费模板ID[TradeConfigTmpType为2]
  7216. type: string
  7217. trademargintmpid:
  7218. description: 保证金模板ID [TradeConfigTmpType为1]
  7219. type: string
  7220. traderatetmpid:
  7221. description: 汇率模板ID[TradeConfigTmpType为3]
  7222. type: string
  7223. updatetime:
  7224. description: 更新时间
  7225. type: string
  7226. updatorid:
  7227. description: 更新人
  7228. type: string
  7229. type: object
  7230. models.ErmcpGGConvertCfg:
  7231. properties:
  7232. convertratio:
  7233. description: 折算系数
  7234. type: number
  7235. destgoodsgroupid:
  7236. description: 目标品种ID
  7237. type: integer
  7238. dstcode:
  7239. description: 目录品种代码
  7240. type: string
  7241. dstexchangecode:
  7242. description: 目标期货交易所
  7243. type: string
  7244. dstname:
  7245. description: 目标品种名称
  7246. type: string
  7247. dstunitid:
  7248. description: 目标品种单位ID
  7249. type: integer
  7250. dstunitidname:
  7251. description: 目标品种单位名称
  7252. type: string
  7253. modifytime:
  7254. description: 修改时间
  7255. type: string
  7256. srccode:
  7257. description: 源品种代码
  7258. type: string
  7259. srcexchangecode:
  7260. description: 源期货交易所
  7261. type: string
  7262. srcgoodsgroupid:
  7263. description: 源品种ID
  7264. type: integer
  7265. srcname:
  7266. description: 源品种名称
  7267. type: string
  7268. srcunitid:
  7269. description: 源品种单位ID
  7270. type: integer
  7271. srcunitidname:
  7272. description: 源品种单位名称
  7273. type: string
  7274. type: object
  7275. models.ErmcpGoods:
  7276. properties:
  7277. agreeunit:
  7278. description: 合约单位
  7279. type: number
  7280. areauserid:
  7281. description: 所属机构
  7282. type: integer
  7283. auditaccountid:
  7284. description: 审核操作员账号
  7285. type: integer
  7286. audittime:
  7287. description: 审核时间
  7288. type: string
  7289. cancelaccountid:
  7290. description: 注销操作员账号
  7291. type: integer
  7292. canceltime:
  7293. description: 注销时间
  7294. type: string
  7295. closepricemode:
  7296. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7297. type: integer
  7298. closepriceparam:
  7299. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  7300. type: number
  7301. createtime:
  7302. description: 创建时间
  7303. type: string
  7304. creatorid:
  7305. description: 创建人
  7306. type: integer
  7307. currencyid:
  7308. description: 报价货币ID
  7309. type: integer
  7310. cutmode:
  7311. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  7312. type: integer
  7313. decimalplace:
  7314. description: 报价小数位
  7315. type: integer
  7316. delistingdate:
  7317. description: 商品退市时间(状态:退市) -- 已作废
  7318. type: string
  7319. delistingmode:
  7320. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  7321. type: integer
  7322. deliveryflag:
  7323. description: 交割标志 - 0:不可交割 1:可交割
  7324. type: integer
  7325. enumdicname:
  7326. description: 单位名称
  7327. type: string
  7328. forceclosemode:
  7329. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  7330. type: integer
  7331. forceclosevalue:
  7332. description: 定期强平参数 [收益权]
  7333. type: integer
  7334. goodscode:
  7335. description: 商品代码(内部)
  7336. type: string
  7337. goodscurrencyid:
  7338. description: 合约货币ID
  7339. type: integer
  7340. goodsgroupid:
  7341. description: 所属商品组ID
  7342. type: integer
  7343. goodsid:
  7344. description: 商品ID(自增ID SEQ_GOODS)
  7345. type: integer
  7346. goodsname:
  7347. description: 商品名称
  7348. type: string
  7349. goodsquotetype:
  7350. description: '合约报价类型: 1-直接报价 2-间接报价'
  7351. type: integer
  7352. goodsstatus:
  7353. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7354. type: integer
  7355. goodstradetype:
  7356. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  7357. type: integer
  7358. goodunitid:
  7359. description: 报价单位ID
  7360. type: integer
  7361. hasquoter:
  7362. description: 是否有报价商 - 0:无报价商 1:有报价商
  7363. type: integer
  7364. hqprotecttime:
  7365. description: 行情保护时间(秒)
  7366. type: integer
  7367. innerdealmode:
  7368. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7369. type: integer
  7370. isbuylimited:
  7371. description: 是否限制建仓量 - 0:不限制 1:限制
  7372. type: integer
  7373. isvisible:
  7374. description: 游客是否可见 - 0:不可见 1:可见
  7375. type: integer
  7376. lasttradedate:
  7377. description: 最后交易日期(状态:待退市)
  7378. type: string
  7379. listingdate:
  7380. description: 交易开始日期
  7381. type: string
  7382. marketid:
  7383. description: 所属市场ID
  7384. type: integer
  7385. modifierid:
  7386. description: 修改人
  7387. type: integer
  7388. modifystatus:
  7389. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  7390. type: integer
  7391. modifytime:
  7392. description: 修改时间
  7393. type: string
  7394. outerdealmode:
  7395. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7396. type: integer
  7397. outgoodscode:
  7398. description: 商品代码(外部)
  7399. type: string
  7400. pictureurl:
  7401. description: 商品图片
  7402. type: string
  7403. qtydecimalplace:
  7404. description: 成交量小数位
  7405. type: integer
  7406. quotegear:
  7407. description: 行情档位(1-10)
  7408. type: integer
  7409. quoteminunit:
  7410. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7411. type: integer
  7412. quoteshowtype:
  7413. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  7414. type: integer
  7415. quoteshowtypeinterval:
  7416. description: 行情报价间隔时间(秒)(成交价时为0)
  7417. type: integer
  7418. relatedgoodsid:
  7419. description: 关联参考商品ID
  7420. type: integer
  7421. remark:
  7422. description: 备注
  7423. type: string
  7424. trademode:
  7425. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7426. 21:竞拍-大宗式 22:受托竞价
  7427. type: integer
  7428. required:
  7429. - goodscode
  7430. - goodsid
  7431. - goodsname
  7432. - marketid
  7433. type: object
  7434. models.ErmcpGoodsBrand:
  7435. properties:
  7436. areauserid:
  7437. description: 所属机构
  7438. type: integer
  7439. brandid:
  7440. description: BrandID(SEQ_SPOTGOODSBRAND)
  7441. type: integer
  7442. brandname:
  7443. description: 品牌名称
  7444. type: string
  7445. createtime:
  7446. description: 创建时间
  7447. type: string
  7448. creatorid:
  7449. description: 创建人
  7450. type: integer
  7451. creatorsrc:
  7452. description: 创建人来源 - 1:管理端 2:终端
  7453. type: integer
  7454. deliverygoodsid:
  7455. description: 现货品种ID
  7456. type: integer
  7457. isvalid:
  7458. description: 是否有效 - 0:无效 1:有效
  7459. type: integer
  7460. updatetime:
  7461. description: 更新时间
  7462. type: string
  7463. updatorid:
  7464. description: 更新人
  7465. type: integer
  7466. updatorsrc:
  7467. description: 更新人来源 - 1:管理端 2:终端
  7468. type: integer
  7469. wrstandardid:
  7470. description: 现货商品ID
  7471. type: integer
  7472. type: object
  7473. models.ErmcpGoodsModel:
  7474. properties:
  7475. areauserid:
  7476. description: 所属机构
  7477. type: integer
  7478. convertfactor:
  7479. description: 标仓系数
  7480. type: number
  7481. createtime:
  7482. description: 创建时间
  7483. type: string
  7484. creatorid:
  7485. description: 创建人
  7486. type: integer
  7487. creatorsrc:
  7488. description: 创建人来源 - 1:管理端 2:终端
  7489. type: integer
  7490. deliverygoodsid:
  7491. description: 现货品种ID
  7492. type: integer
  7493. isvalid:
  7494. description: 是否有效 - 0:无效 1:有效
  7495. type: integer
  7496. modelid:
  7497. description: ModelID(SEQ_SPOTGOODSMODEL)
  7498. type: integer
  7499. modelname:
  7500. description: 型号名称
  7501. type: string
  7502. updatetime:
  7503. description: 更新时间
  7504. type: string
  7505. updatorid:
  7506. description: 更新人
  7507. type: integer
  7508. updatorsrc:
  7509. description: 更新人来源 - 1:管理端 2:终端
  7510. type: integer
  7511. wrstandardid:
  7512. description: 现货商品ID
  7513. type: integer
  7514. type: object
  7515. models.ErmcpHisExposure:
  7516. properties:
  7517. needhedgeexposoure:
  7518. description: 应套保敞口
  7519. type: number
  7520. reckondate:
  7521. description: 日照时期(yyyyMMdd)
  7522. type: string
  7523. totalexposure:
  7524. description: 总敞口
  7525. type: number
  7526. type: object
  7527. models.ErmcpLoginTaAccount:
  7528. properties:
  7529. accountid:
  7530. description: 账号id
  7531. type: integer
  7532. accountname:
  7533. description: 账号名称
  7534. type: string
  7535. type: object
  7536. models.ErmcpLoginUser:
  7537. properties:
  7538. acclist:
  7539. description: 关联资金账号
  7540. items:
  7541. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  7542. type: array
  7543. accountname:
  7544. description: 用户名称
  7545. type: string
  7546. clientroleid:
  7547. description: 角色id(usertype=2)
  7548. type: integer
  7549. createtime:
  7550. description: 创建时间
  7551. type: string
  7552. logincode:
  7553. description: 登录代码
  7554. type: string
  7555. loginid:
  7556. description: 登录id(LOGINID)
  7557. type: integer
  7558. loginname:
  7559. description: 登录名称(loginaccount表中的accountname字段)
  7560. type: string
  7561. loginstatus:
  7562. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  7563. type: integer
  7564. memberuserid:
  7565. description: 所属会员id
  7566. type: integer
  7567. mobile:
  7568. description: 手机号
  7569. type: string
  7570. modifytime:
  7571. description: 修改时间
  7572. type: string
  7573. password:
  7574. description: 密码(不可解密)
  7575. type: string
  7576. rolename:
  7577. description: 角色名称
  7578. type: string
  7579. rolestatus:
  7580. description: 角色状态 1-启用 2-停用
  7581. type: integer
  7582. roletype:
  7583. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  7584. type: string
  7585. userid:
  7586. description: 用户id
  7587. type: integer
  7588. usertype:
  7589. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  7590. type: integer
  7591. type: object
  7592. models.ErmcpLoginUserEx:
  7593. properties:
  7594. accountstatus:
  7595. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  7596. type: integer
  7597. mobile:
  7598. description: 手机号
  7599. type: string
  7600. querytype:
  7601. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  7602. type: integer
  7603. roleid:
  7604. description: 角色id(交易账户->用户id)
  7605. type: integer
  7606. rolename:
  7607. description: 角色名称(交易账户->用户名称)
  7608. type: string
  7609. userlist:
  7610. description: 用户列表
  7611. items:
  7612. $ref: '#/definitions/models.ErmcpLoginUser'
  7613. type: array
  7614. usertype:
  7615. description: 用户类型 2-机构 7-企业成员(云平台)
  7616. type: integer
  7617. type: object
  7618. models.ErmcpMiddleGoodsModel:
  7619. properties:
  7620. areauserid:
  7621. description: 机构用户ID
  7622. type: integer
  7623. createtime:
  7624. description: 修改时间
  7625. type: string
  7626. enumdicname:
  7627. description: 单位名称
  7628. type: string
  7629. evaluateratio:
  7630. description: 估价系数
  7631. type: number
  7632. goodsgroupid:
  7633. description: 关联期货品种ID
  7634. type: integer
  7635. goodsunitid:
  7636. description: 单位ID
  7637. type: integer
  7638. isvalid:
  7639. description: 状态 0-无效(停用) 1-有效(正常)
  7640. type: integer
  7641. middlegoodscode:
  7642. description: 套保品种代码
  7643. type: string
  7644. middlegoodsid:
  7645. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  7646. type: integer
  7647. middlegoodsname:
  7648. description: 套保品种名称
  7649. type: string
  7650. modifytime:
  7651. description: 修改时间
  7652. type: string
  7653. needarbitrageratio:
  7654. description: 套利比例
  7655. type: number
  7656. needhedgeratio:
  7657. description: 套保比率
  7658. type: number
  7659. qtydecimalplace:
  7660. description: 数量小数位
  7661. type: integer
  7662. relatedgoodsid:
  7663. description: 关联交易商品ID
  7664. type: integer
  7665. relatedgoodstype:
  7666. description: 关联商品类型 - 1:期货合约 2:现货品种
  7667. type: integer
  7668. remark:
  7669. description: 备注
  7670. type: string
  7671. type: object
  7672. models.ErmcpMiddlegoodsRelateGoods:
  7673. properties:
  7674. agreeunit:
  7675. description: 合约乘数
  7676. type: number
  7677. convertratio:
  7678. description: 折算系数
  7679. type: number
  7680. enumdicname:
  7681. description: 单位名称(交易商品)
  7682. type: string
  7683. goodscode:
  7684. description: 交易商品代码
  7685. type: string
  7686. goodsgroupid:
  7687. description: 交易品种id
  7688. type: integer
  7689. goodsid:
  7690. description: 商品Id
  7691. type: integer
  7692. goodsname:
  7693. description: 交易商品名称
  7694. type: string
  7695. goodunitid:
  7696. description: 交易商品单位id
  7697. type: integer
  7698. middlegoodsid:
  7699. description: 套保商品id
  7700. type: integer
  7701. middlegoodsname:
  7702. description: 套保商品名称
  7703. type: string
  7704. middlegoodsswcode:
  7705. description: 套保商品代码
  7706. type: string
  7707. needarbitrageratio:
  7708. description: 应套利比例
  7709. type: number
  7710. needhedgeratio:
  7711. description: 应套保比例
  7712. type: number
  7713. type: object
  7714. models.ErmcpRole:
  7715. properties:
  7716. areauserid:
  7717. description: 所属机构
  7718. type: integer
  7719. autoid:
  7720. description: 角色ID(自增ID)
  7721. type: integer
  7722. modifierid:
  7723. description: 修改人(创建人)
  7724. type: integer
  7725. modifiername:
  7726. description: 修改人名称
  7727. type: string
  7728. modifytime:
  7729. description: 修改时间(创建时间)
  7730. type: string
  7731. rolename:
  7732. description: 角色名称
  7733. type: string
  7734. rolestatus:
  7735. description: 角色状态 - 1:启用 2:停用
  7736. type: integer
  7737. roletype:
  7738. description: 角色类型 - 1- 管理端 2- 交易端
  7739. type: integer
  7740. type: object
  7741. models.ErmcpRoleMenu:
  7742. properties:
  7743. iconame:
  7744. description: 菜单图标
  7745. type: string
  7746. ishadrole:
  7747. description: 是否有权限
  7748. type: boolean
  7749. menutype:
  7750. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)
  7751. type: integer
  7752. parentcode:
  7753. description: 上级资源代码
  7754. type: string
  7755. remark:
  7756. description: 菜单备注
  7757. type: string
  7758. resourcecode:
  7759. description: 菜单代码
  7760. type: string
  7761. resourcelevel:
  7762. description: 级别
  7763. type: integer
  7764. resourcename:
  7765. description: 菜单名称
  7766. type: string
  7767. roleid:
  7768. description: 角色id
  7769. type: integer
  7770. sort:
  7771. description: 排序
  7772. type: integer
  7773. url:
  7774. description: URL
  7775. type: string
  7776. userid:
  7777. description: 用户id
  7778. type: integer
  7779. type: object
  7780. models.ErmcpRoleMenuEx:
  7781. properties:
  7782. menu:
  7783. $ref: '#/definitions/models.ErmcpRoleMenu'
  7784. description: 父级菜单
  7785. subMenu:
  7786. description: 子级菜单
  7787. items:
  7788. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  7789. type: array
  7790. type: object
  7791. models.ErmcpTaAccount:
  7792. properties:
  7793. accountid:
  7794. description: 账户id
  7795. type: integer
  7796. accountname:
  7797. description: 账户名称
  7798. type: string
  7799. currencyid:
  7800. description: 币种id
  7801. type: integer
  7802. hedgeaccountcode:
  7803. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  7804. type: string
  7805. ismain:
  7806. description: 是否主账户 0-否 1-是
  7807. type: integer
  7808. parentaccountid:
  7809. description: 父账户id
  7810. type: integer
  7811. relateduserid:
  7812. description: 关联userid
  7813. type: integer
  7814. tradefeetmpid:
  7815. description: 手续费模板id
  7816. type: integer
  7817. tradefeetmpname:
  7818. description: 手续费模板名称
  7819. type: string
  7820. trademargintmpid:
  7821. description: 保证金模板id
  7822. type: integer
  7823. trademargintmpname:
  7824. description: 保证金模板名称
  7825. type: string
  7826. traderatetmpid:
  7827. description: 汇率模板id
  7828. type: integer
  7829. traderatetmpname:
  7830. description: 汇率模板名称
  7831. type: string
  7832. tradestatus:
  7833. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7834. type: integer
  7835. userid:
  7836. description: 用户id
  7837. type: integer
  7838. type: object
  7839. models.ErmcpTaAccountEx:
  7840. properties:
  7841. mainAcc:
  7842. $ref: '#/definitions/models.ErmcpTaAccountM'
  7843. description: 主账号
  7844. subacclist:
  7845. description: 子账号列表
  7846. items:
  7847. $ref: '#/definitions/models.ErmcpTaAccount'
  7848. type: array
  7849. type: object
  7850. models.ErmcpTaAccountInfo:
  7851. properties:
  7852. accountid:
  7853. description: 资金账户ID
  7854. type: integer
  7855. accountname:
  7856. description: 账户名称
  7857. type: string
  7858. balance:
  7859. description: 期初余额
  7860. type: number
  7861. capitalbalance:
  7862. description: 本金余额[外部子账户实际出入金余额]
  7863. type: number
  7864. closepl:
  7865. description: 今日平仓盈亏
  7866. type: number
  7867. creditdecrease:
  7868. description: 今日授信减少
  7869. type: number
  7870. creditincrease:
  7871. description: 今日授信增加
  7872. type: number
  7873. curdebt:
  7874. description: 期末欠款
  7875. type: number
  7876. currencyid:
  7877. description: 货币ID
  7878. type: integer
  7879. currentbalance:
  7880. description: 期末余额
  7881. type: number
  7882. freezecharge:
  7883. description: 手续费冻结
  7884. type: number
  7885. freezemargin:
  7886. description: 冻结保证金
  7887. type: number
  7888. fromaccountid:
  7889. description: 所属上级账户
  7890. type: integer
  7891. inamount:
  7892. description: 今日入金金额(包括三方入金)
  7893. type: number
  7894. ismain:
  7895. description: 是否母账号 0:不是母账户 1:是母账户
  7896. type: integer
  7897. mortgagecredit:
  7898. description: 授信金额
  7899. type: number
  7900. oridebt:
  7901. description: 期初欠款
  7902. type: number
  7903. orifreezecharge:
  7904. description: 期初手续费冻结
  7905. type: number
  7906. orifreezemargin:
  7907. description: 期初冻结保证金
  7908. type: number
  7909. orimortgagecredit:
  7910. description: 期初授信金额
  7911. type: number
  7912. oriothercredit:
  7913. description: 期初其它授信金额
  7914. type: number
  7915. oriotherfreezemargin:
  7916. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  7917. type: number
  7918. orioutamountfreeze:
  7919. description: 期初出金冻结
  7920. type: number
  7921. oriusedmargin:
  7922. description: 期初占用保证金
  7923. type: number
  7924. othercredit:
  7925. description: 其它授信金额
  7926. type: number
  7927. othercreditdecrease:
  7928. description: 今日其它授信减少
  7929. type: number
  7930. othercreditincrease:
  7931. description: 今日其它授信增加
  7932. type: number
  7933. otherfreezemargin:
  7934. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  7935. type: number
  7936. outamount:
  7937. description: 今日出金金额(包括三方出金)
  7938. type: number
  7939. outamountfreeze:
  7940. description: 出金冻结
  7941. type: number
  7942. outthreshold:
  7943. description: 出金阈值
  7944. type: number
  7945. parentaccountid:
  7946. description: 所属根账号
  7947. type: integer
  7948. paycharge:
  7949. description: 今日手续费支出
  7950. type: number
  7951. relateduserid:
  7952. description: 关联用户
  7953. type: integer
  7954. signstatus:
  7955. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  7956. type: integer
  7957. sublevelpath:
  7958. description: 账号层级路径(逗号分隔,首尾加逗号)
  7959. type: string
  7960. taaccounttype:
  7961. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  7962. type: integer
  7963. thirdinamount:
  7964. description: 今日三方入金
  7965. type: number
  7966. thirdoutamount:
  7967. description: 今日三方出金
  7968. type: number
  7969. tradestatus:
  7970. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7971. type: integer
  7972. transferamount:
  7973. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  7974. type: number
  7975. usedmargin:
  7976. description: 占用保证金
  7977. type: number
  7978. userid:
  7979. description: 用户ID
  7980. type: integer
  7981. type: object
  7982. models.ErmcpTaAccountM:
  7983. properties:
  7984. accountid:
  7985. description: 账户id
  7986. type: integer
  7987. accountname:
  7988. description: 账户名称
  7989. type: string
  7990. currencyid:
  7991. description: 币种id
  7992. type: integer
  7993. fcid:
  7994. description: 期货公司id
  7995. type: integer
  7996. fcname:
  7997. description: 期货公司代码
  7998. type: string
  7999. hedgeaccountcode:
  8000. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  8001. type: string
  8002. ismain:
  8003. description: 是否主账户 0-否 1-是
  8004. type: integer
  8005. parentaccountid:
  8006. description: 父账户id
  8007. type: integer
  8008. relateduserid:
  8009. description: 关联userid
  8010. type: integer
  8011. tradefeetmpid:
  8012. description: 手续费模板id
  8013. type: integer
  8014. tradefeetmpname:
  8015. description: 手续费模板名称
  8016. type: string
  8017. trademargintmpid:
  8018. description: 保证金模板id
  8019. type: integer
  8020. trademargintmpname:
  8021. description: 保证金模板名称
  8022. type: string
  8023. traderatetmpid:
  8024. description: 汇率模板id
  8025. type: integer
  8026. traderatetmpname:
  8027. description: 汇率模板名称
  8028. type: string
  8029. tradestatus:
  8030. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  8031. type: integer
  8032. userid:
  8033. description: 用户id
  8034. type: integer
  8035. type: object
  8036. models.ErmcpTradeConfigTMP:
  8037. properties:
  8038. areauserid:
  8039. description: 所属机构
  8040. type: integer
  8041. basiccurrencyid:
  8042. description: 基本币种ID[汇率] - 目标币种
  8043. type: integer
  8044. mainaccountid:
  8045. description: 主账户ID
  8046. type: integer
  8047. modifierid:
  8048. description: 修改人
  8049. type: integer
  8050. remark:
  8051. description: 备注
  8052. type: string
  8053. tradeconfigtmpid:
  8054. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  8055. type: integer
  8056. tradeconfigtmpname:
  8057. description: 交易配置模板名称
  8058. type: string
  8059. tradeconfigtmptype:
  8060. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  8061. type: integer
  8062. updatetime:
  8063. description: 更新时间
  8064. type: string
  8065. type: object
  8066. models.Externalexchange:
  8067. properties:
  8068. autoid:
  8069. description: AutoID - SEQ_EXTERNALEXCHANGE
  8070. type: integer
  8071. exchangefullname:
  8072. description: 外部交易所全称
  8073. type: string
  8074. exexchangecode:
  8075. description: 外部交易所代码
  8076. type: string
  8077. exexchangename:
  8078. description: 外部交易所名称(简称)
  8079. type: string
  8080. ismarketprice:
  8081. description: 是否支持市价 - 0:不支持 1:支持
  8082. type: integer
  8083. quotegear:
  8084. description: 行情档位(1-10)
  8085. type: integer
  8086. showbrokerflag:
  8087. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  8088. type: integer
  8089. updatetime:
  8090. description: 更新时间
  8091. type: string
  8092. required:
  8093. - autoid
  8094. type: object
  8095. models.Funcmenulist:
  8096. properties:
  8097. iconame:
  8098. description: 菜单图标
  8099. type: string
  8100. menutype:
  8101. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  8102. type: integer
  8103. parentcode:
  8104. description: 上级资源代码
  8105. type: string
  8106. remark:
  8107. description: 备注
  8108. type: string
  8109. resourcecode:
  8110. description: 资源代码
  8111. type: string
  8112. resourcelevel:
  8113. description: 级别 1-一级 2-二级 3-三级 4-四级
  8114. type: integer
  8115. resourcename:
  8116. description: 资源名
  8117. type: string
  8118. sort:
  8119. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  8120. type: integer
  8121. url:
  8122. description: URL
  8123. type: string
  8124. required:
  8125. - resourcecode
  8126. type: object
  8127. models.Goods:
  8128. properties:
  8129. agreeunit:
  8130. description: 合约单位
  8131. type: number
  8132. areauserid:
  8133. description: 所属机构
  8134. type: integer
  8135. auditaccountid:
  8136. description: 审核操作员账号
  8137. type: integer
  8138. audittime:
  8139. description: 审核时间
  8140. type: string
  8141. cancelaccountid:
  8142. description: 注销操作员账号
  8143. type: integer
  8144. canceltime:
  8145. description: 注销时间
  8146. type: string
  8147. closepricemode:
  8148. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8149. type: integer
  8150. closepriceparam:
  8151. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  8152. type: number
  8153. createtime:
  8154. description: 创建时间
  8155. type: string
  8156. creatorid:
  8157. description: 创建人
  8158. type: integer
  8159. currencyid:
  8160. description: 报价货币ID
  8161. type: integer
  8162. cutmode:
  8163. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  8164. type: integer
  8165. decimalplace:
  8166. description: 报价小数位
  8167. type: integer
  8168. delistingdate:
  8169. description: 商品退市时间(状态:退市) -- 已作废
  8170. type: string
  8171. delistingmode:
  8172. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  8173. type: integer
  8174. deliveryflag:
  8175. description: 交割标志 - 0:不可交割 1:可交割
  8176. type: integer
  8177. forceclosemode:
  8178. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  8179. type: integer
  8180. forceclosevalue:
  8181. description: 定期强平参数 [收益权]
  8182. type: integer
  8183. goodscode:
  8184. description: 商品代码(内部)
  8185. type: string
  8186. goodscurrencyid:
  8187. description: 合约货币ID
  8188. type: integer
  8189. goodsgroupid:
  8190. description: 所属商品组ID
  8191. type: integer
  8192. goodsid:
  8193. description: 商品ID(自增ID SEQ_GOODS)
  8194. type: integer
  8195. goodsname:
  8196. description: 商品名称
  8197. type: string
  8198. goodsquotetype:
  8199. description: '合约报价类型: 1-直接报价 2-间接报价'
  8200. type: integer
  8201. goodsstatus:
  8202. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8203. type: integer
  8204. goodstradetype:
  8205. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  8206. type: integer
  8207. goodunitid:
  8208. description: 报价单位ID
  8209. type: integer
  8210. hasquoter:
  8211. description: 是否有报价商 - 0:无报价商 1:有报价商
  8212. type: integer
  8213. hqprotecttime:
  8214. description: 行情保护时间(秒)
  8215. type: integer
  8216. innerdealmode:
  8217. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8218. type: integer
  8219. isbuylimited:
  8220. description: 是否限制建仓量 - 0:不限制 1:限制
  8221. type: integer
  8222. isvisible:
  8223. description: 游客是否可见 - 0:不可见 1:可见
  8224. type: integer
  8225. lasttradedate:
  8226. description: 最后交易日期(状态:待退市)
  8227. type: string
  8228. listingdate:
  8229. description: 交易开始日期
  8230. type: string
  8231. marketid:
  8232. description: 所属市场ID
  8233. type: integer
  8234. modifierid:
  8235. description: 修改人
  8236. type: integer
  8237. modifystatus:
  8238. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  8239. type: integer
  8240. modifytime:
  8241. description: 修改时间
  8242. type: string
  8243. outerdealmode:
  8244. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8245. type: integer
  8246. outgoodscode:
  8247. description: 商品代码(外部)
  8248. type: string
  8249. pictureurl:
  8250. description: 商品图片
  8251. type: string
  8252. qtydecimalplace:
  8253. description: 成交量小数位
  8254. type: integer
  8255. quotegear:
  8256. description: 行情档位(1-10)
  8257. type: integer
  8258. quoteminunit:
  8259. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8260. type: integer
  8261. quoteshowtype:
  8262. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  8263. type: integer
  8264. quoteshowtypeinterval:
  8265. description: 行情报价间隔时间(秒)(成交价时为0)
  8266. type: integer
  8267. remark:
  8268. description: 备注
  8269. type: string
  8270. required:
  8271. - goodscode
  8272. - goodsid
  8273. - goodsname
  8274. - marketid
  8275. type: object
  8276. models.GoodsIDAndName:
  8277. properties:
  8278. goodscode:
  8279. description: 商品代码(内部)
  8280. type: string
  8281. goodsid:
  8282. description: 商品ID(自增ID SEQ_GOODS)
  8283. type: integer
  8284. goodsname:
  8285. description: 商品名称
  8286. type: string
  8287. marketid:
  8288. description: 所属市场ID
  8289. type: integer
  8290. required:
  8291. - goodscode
  8292. - goodsid
  8293. - goodsname
  8294. - marketid
  8295. type: object
  8296. models.Goodsgroup:
  8297. properties:
  8298. agreeunit:
  8299. description: 合约单位
  8300. type: number
  8301. canshort:
  8302. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  8303. type: integer
  8304. closepricemode:
  8305. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8306. type: integer
  8307. closepriceparam:
  8308. description: 强平最新价浮动比例 - 方式为2时使用
  8309. type: number
  8310. createtime:
  8311. description: 创建时间
  8312. type: string
  8313. creatorid:
  8314. description: 创建人
  8315. type: integer
  8316. currencyid:
  8317. description: 报价货币ID
  8318. type: integer
  8319. decimalplace:
  8320. description: 报价小数位
  8321. type: integer
  8322. exercisetype:
  8323. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  8324. type: integer
  8325. exexchangeid:
  8326. description: 外部交易所ID[通道交易]
  8327. type: integer
  8328. goodsgroupid:
  8329. description: 商品组ID(自增ID)
  8330. type: integer
  8331. goodsgroupname:
  8332. description: 商品组名称
  8333. type: string
  8334. goodsgroupstatus:
  8335. description: 商品组状态 - 1:正常 2:注销
  8336. type: integer
  8337. goodunitid:
  8338. description: 报价单位ID
  8339. type: integer
  8340. innerdealmode:
  8341. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8342. type: integer
  8343. isbuylimited:
  8344. description: 是否限制建仓量 - 0:不限制 1:限制
  8345. type: integer
  8346. marketid:
  8347. description: 所属市场ID
  8348. type: integer
  8349. modifierid:
  8350. description: 修改人
  8351. type: integer
  8352. modifytime:
  8353. description: 修改时间
  8354. type: string
  8355. outerdealmode:
  8356. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8357. type: integer
  8358. outergroupcode:
  8359. description: 外部商品组代码[通道交易]
  8360. type: string
  8361. premiumdecimalplace:
  8362. description: 权利金小数位[场外期权]
  8363. type: integer
  8364. premiumspreadalgorithm:
  8365. description: 权利金点差方式[场外期权] 1:比率 2:固定
  8366. type: integer
  8367. premiumspreadvalue:
  8368. description: 权利金点差值[场外期权]
  8369. type: number
  8370. qtydecimalplace:
  8371. description: 成交量小数位
  8372. type: integer
  8373. quotegear:
  8374. description: 行情档位(1-10)
  8375. type: integer
  8376. quoteminunit:
  8377. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8378. type: integer
  8379. quoterid:
  8380. description: 报价商ID[场外期权]
  8381. type: integer
  8382. quotesourcegroupid:
  8383. description: 所属行情源分组ID[参考行情市场用\通道交易]
  8384. type: integer
  8385. syncgoodsqty:
  8386. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  8387. type: integer
  8388. required:
  8389. - goodsgroupid
  8390. - goodsgroupname
  8391. - goodsgroupstatus
  8392. - marketid
  8393. type: object
  8394. models.Goodssortbypreposition:
  8395. properties:
  8396. goodscode:
  8397. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  8398. type: string
  8399. goodsgroupcode:
  8400. description: 品种代码
  8401. type: string
  8402. prepositionqty:
  8403. description: 昨持仓量
  8404. type: integer
  8405. sortindex:
  8406. description: 排序
  8407. type: integer
  8408. tradedate:
  8409. description: 交易日
  8410. type: string
  8411. updatetime:
  8412. description: 更新时间
  8413. type: string
  8414. required:
  8415. - goodscode
  8416. - tradedate
  8417. type: object
  8418. models.Hedgeinnerholderdetail:
  8419. properties:
  8420. accountid:
  8421. description: 账号ID
  8422. type: integer
  8423. buyorsell:
  8424. description: 方向 - 0:买 1:卖
  8425. type: integer
  8426. freezeqty:
  8427. description: 冻结数量 - 按单平使用
  8428. type: integer
  8429. goodsid:
  8430. description: 商品ID
  8431. type: integer
  8432. holderamount:
  8433. description: 持仓金额 [商品币种]
  8434. type: number
  8435. holderdays:
  8436. description: 剩余冻结天数
  8437. type: integer
  8438. holderprice:
  8439. description: 持仓价格
  8440. type: number
  8441. holderqty:
  8442. description: 持仓数量
  8443. type: integer
  8444. marketid:
  8445. description: 市场ID
  8446. type: integer
  8447. openprice:
  8448. description: 建仓价格
  8449. type: number
  8450. openqty:
  8451. description: 建仓数量
  8452. type: integer
  8453. parentaccountid:
  8454. description: 所属母账户
  8455. type: integer
  8456. releaseamount:
  8457. description: 释放持仓金额[商品币种]
  8458. type: number
  8459. tradeamount:
  8460. description: 成交金额[账户]
  8461. type: number
  8462. tradedate:
  8463. description: 交易日(yyyyMMdd)
  8464. type: string
  8465. tradeid:
  8466. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8467. type: string
  8468. tradetime:
  8469. description: 交易时间
  8470. type: string
  8471. required:
  8472. - buyorsell
  8473. - tradeid
  8474. type: object
  8475. models.Hedgemarketopenlog:
  8476. properties:
  8477. accountid:
  8478. description: 资金账号[外部母账户]
  8479. type: integer
  8480. fcname:
  8481. description: 期货公司名称
  8482. type: string
  8483. handlestatus:
  8484. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  8485. type: integer
  8486. marketid:
  8487. description: 市场ID
  8488. type: integer
  8489. status:
  8490. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  8491. type: integer
  8492. tradedate:
  8493. description: 交易日(yyyyMMdd)
  8494. type: string
  8495. updatetime:
  8496. description: 更新时间
  8497. type: string
  8498. required:
  8499. - accountid
  8500. type: object
  8501. models.HsbyBuyMyPayOrder:
  8502. properties:
  8503. agreeunit:
  8504. description: 合约单位
  8505. type: number
  8506. buyaccountid:
  8507. description: 买方账号ID[报价币种]
  8508. type: integer
  8509. buyorderid:
  8510. description: 买方委托单号
  8511. type: string
  8512. createtime:
  8513. description: 创建时间
  8514. type: string
  8515. currencysign:
  8516. description: 货币符号
  8517. type: string
  8518. decimalplace:
  8519. description: 报价小数位
  8520. type: integer
  8521. goodscode:
  8522. description: 商品代码(内部)
  8523. type: string
  8524. goodsid:
  8525. description: 商品ID
  8526. type: integer
  8527. goodsname:
  8528. description: 商品名称
  8529. type: string
  8530. marketid:
  8531. description: 市场ID
  8532. type: integer
  8533. offamount:
  8534. description: 优惠金额
  8535. type: number
  8536. originalamount:
  8537. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  8538. type: number
  8539. payamount:
  8540. description: 支付金额 = TradeAmount + TradeCharge
  8541. type: number
  8542. payflag:
  8543. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  8544. type: integer
  8545. paylimitedtime:
  8546. description: 支付期限
  8547. type: string
  8548. paytime:
  8549. description: 付款时间
  8550. type: string
  8551. picurls1:
  8552. description: 预售商品介绍图片[多张用逗号分隔]
  8553. type: string
  8554. picurls2:
  8555. description: 挂牌商品介绍图片[多张用逗号分隔]
  8556. type: string
  8557. sellaccountid:
  8558. description: 卖方账号ID[报价币种]
  8559. type: integer
  8560. sellorderid:
  8561. description: 卖方委托单号
  8562. type: string
  8563. tradeamount:
  8564. description: 成交金额
  8565. type: number
  8566. tradecharge:
  8567. description: 成交手续费(买方)
  8568. type: number
  8569. tradedate:
  8570. description: 交易日(yyyyMMdd)
  8571. type: string
  8572. tradeid:
  8573. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8574. type: string
  8575. trademode:
  8576. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8577. 21:竞拍-大宗式 22:受托竞价
  8578. type: integer
  8579. tradeprice:
  8580. description: 成交价格
  8581. type: number
  8582. tradeqty:
  8583. description: 成交数量
  8584. type: integer
  8585. vendorname1:
  8586. description: 预售商品供应商名称
  8587. type: string
  8588. vendorname2:
  8589. description: 挂牌商品供应商名称
  8590. type: string
  8591. required:
  8592. - goodscode
  8593. - goodsname
  8594. - tradeid
  8595. - trademode
  8596. type: object
  8597. models.HsbyBuyMyTradeDetail:
  8598. properties:
  8599. accountid:
  8600. description: 账户ID[报价币种]
  8601. type: integer
  8602. agreeunit:
  8603. description: 合约单位
  8604. type: number
  8605. amount:
  8606. description: 金额 = 价格 * 数量 * 合约单位
  8607. type: number
  8608. buyorsell:
  8609. description: 买卖 - 0:买 1:卖
  8610. type: integer
  8611. currencysign:
  8612. description: 货币符号
  8613. type: string
  8614. decimalplace:
  8615. description: 报价小数位
  8616. type: integer
  8617. goodscode:
  8618. description: 商品代码(内部)
  8619. type: string
  8620. goodsid:
  8621. description: 商品ID
  8622. type: integer
  8623. goodsname:
  8624. description: 商品名称
  8625. type: string
  8626. marketid:
  8627. description: 市场ID
  8628. type: integer
  8629. orderamount:
  8630. description: 委托金额
  8631. type: number
  8632. orderid:
  8633. description: 单号(成交单号)
  8634. type: string
  8635. picurls1:
  8636. description: 预售商品介绍图片[多张用逗号分隔]
  8637. type: string
  8638. picurls2:
  8639. description: 挂牌商品介绍图片[多张用逗号分隔]
  8640. type: string
  8641. price:
  8642. description: 价格
  8643. type: number
  8644. qty:
  8645. description: 数量
  8646. type: integer
  8647. time:
  8648. description: 时间
  8649. type: string
  8650. trademode:
  8651. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8652. 21:竞拍-大宗式 22:受托竞价
  8653. type: integer
  8654. vendorname1:
  8655. description: 预售商品供应商名称
  8656. type: string
  8657. vendorname2:
  8658. description: 挂牌商品供应商名称
  8659. type: string
  8660. required:
  8661. - accountid
  8662. - buyorsell
  8663. - goodscode
  8664. - goodsid
  8665. - goodsname
  8666. - marketid
  8667. - orderid
  8668. - qty
  8669. - time
  8670. - trademode
  8671. type: object
  8672. models.HsbyGoodsOrderDetail:
  8673. properties:
  8674. buyorsell:
  8675. description: 买卖 - 0:买 1:卖
  8676. type: integer
  8677. currencysign:
  8678. description: 货币符号
  8679. type: string
  8680. customername:
  8681. description: 客户名称(企业名称),已脱敏
  8682. type: string
  8683. enableqty:
  8684. description: 可用数量
  8685. type: integer
  8686. goodunit:
  8687. description: 报价单位
  8688. type: string
  8689. orderid:
  8690. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8691. type: string
  8692. orderprice:
  8693. description: 委托价格
  8694. type: number
  8695. ordertime:
  8696. description: 委托时间
  8697. type: string
  8698. required:
  8699. - buyorsell
  8700. - orderid
  8701. - ordertime
  8702. type: object
  8703. models.HsbyListingGoodsDetail:
  8704. properties:
  8705. agreeunit:
  8706. description: 合约单位
  8707. type: number
  8708. buymaxqty:
  8709. description: 购买上限 [71] - 0为不限
  8710. type: integer
  8711. currency:
  8712. description: 货币
  8713. type: string
  8714. currencysign:
  8715. description: 货币符号
  8716. type: string
  8717. decimalplace:
  8718. description: 报价小数位
  8719. type: integer
  8720. desccityid:
  8721. description: 目的地(市)ID
  8722. type: integer
  8723. descprovinceid:
  8724. description: 目的地(省)ID
  8725. type: integer
  8726. goodscode:
  8727. description: 商品代码(内部)
  8728. type: string
  8729. goodsdesc:
  8730. description: 商品详情
  8731. type: string
  8732. goodsid:
  8733. description: 商品ID(自增ID SEQ_GOODS)
  8734. type: integer
  8735. goodsname:
  8736. description: 商品名称
  8737. type: string
  8738. goodsprice:
  8739. description: 商品价格
  8740. type: number
  8741. hotindex:
  8742. description: 景点热度
  8743. type: integer
  8744. last:
  8745. description: 现价
  8746. type: number
  8747. limitdown:
  8748. description: 跌停价
  8749. type: number
  8750. limitup:
  8751. description: 涨停价
  8752. type: number
  8753. lotsize:
  8754. description: 手数最小变动单位
  8755. type: integer
  8756. marketid:
  8757. description: 所属市场ID
  8758. type: integer
  8759. picurls:
  8760. description: 介绍图片[多张用逗号分隔]
  8761. type: string
  8762. quoteminunit:
  8763. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8764. type: integer
  8765. stepvalue:
  8766. description: 价格最小变动单位
  8767. type: number
  8768. trademode:
  8769. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8770. 21:竞拍-大宗式 22:受托竞价
  8771. type: integer
  8772. vendorattr:
  8773. description: 供应商附件(多张,逗号分隔)
  8774. type: string
  8775. vendorname:
  8776. description: 供应商名称
  8777. type: string
  8778. vendorphone:
  8779. description: 供应商客服电话
  8780. type: string
  8781. videourls:
  8782. description: 介绍视频[多张用逗号分隔]
  8783. type: string
  8784. required:
  8785. - goodscode
  8786. - goodsid
  8787. - goodsname
  8788. - marketid
  8789. - trademode
  8790. type: object
  8791. models.HsbyMarketGoods:
  8792. properties:
  8793. accountid:
  8794. description: 账户ID[报价币种]
  8795. type: integer
  8796. agreeunit:
  8797. description: 合约单位
  8798. type: number
  8799. buyorsell:
  8800. description: 买卖 - 0:买 1:卖
  8801. type: integer
  8802. categoryid:
  8803. description: 类别ID(WRCATEGORY)
  8804. type: integer
  8805. currency:
  8806. description: 货币
  8807. type: string
  8808. currencysign:
  8809. description: 货币符号
  8810. type: string
  8811. customername:
  8812. description: 卖家名称
  8813. type: string
  8814. decimalplace:
  8815. description: 报价小数位
  8816. type: integer
  8817. goodscode:
  8818. description: 商品代码(内部)
  8819. type: string
  8820. goodsid:
  8821. description: 商品ID
  8822. type: integer
  8823. goodsname:
  8824. description: 商品名称
  8825. type: string
  8826. goodsprice:
  8827. description: 商品价格
  8828. type: number
  8829. hascoupon:
  8830. description: 是否可用优惠卷
  8831. type: boolean
  8832. hotindex:
  8833. description: 景点热度
  8834. type: integer
  8835. marketid:
  8836. description: 市场ID
  8837. type: integer
  8838. orderid:
  8839. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8840. type: string
  8841. orderprice:
  8842. description: 委托价格
  8843. type: number
  8844. orderstatus:
  8845. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8846. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8847. 16:成交失败违约(荷兰式竞拍专用)
  8848. type: integer
  8849. picurls:
  8850. description: 介绍图片[多张用逗号分隔]
  8851. type: string
  8852. quoteminunit:
  8853. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8854. type: integer
  8855. sellUserID:
  8856. description: 卖方UserID
  8857. type: integer
  8858. trademode:
  8859. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8860. 21:竞拍-大宗式 22:受托竞价
  8861. type: integer
  8862. videourls:
  8863. description: 介绍视频[多张用逗号分隔]
  8864. type: string
  8865. required:
  8866. - accountid
  8867. - buyorsell
  8868. - goodscode
  8869. - goodsid
  8870. - goodsname
  8871. - marketid
  8872. - orderid
  8873. - trademode
  8874. type: object
  8875. models.HsbyMarketGoodsDetail:
  8876. properties:
  8877. accountid:
  8878. description: 账户ID[报价币种]
  8879. type: integer
  8880. agreeunit:
  8881. description: 合约单位
  8882. type: number
  8883. buymaxqty:
  8884. description: 购买上限 [71] - 0为不限
  8885. type: integer
  8886. buyorsell:
  8887. description: 买卖 - 0:买 1:卖
  8888. type: integer
  8889. cancelqty:
  8890. description: 撤单数量
  8891. type: integer
  8892. categoryid:
  8893. description: 类别ID(WRCATEGORY)
  8894. type: integer
  8895. currency:
  8896. description: 货币
  8897. type: string
  8898. currencysign:
  8899. description: 货币符号
  8900. type: string
  8901. customername:
  8902. description: 卖家名称
  8903. type: string
  8904. decimalplace:
  8905. description: 报价小数位
  8906. type: integer
  8907. goodscode:
  8908. description: 商品代码(内部)
  8909. type: string
  8910. goodsdesc:
  8911. description: 商品详情
  8912. type: string
  8913. goodsid:
  8914. description: 商品ID
  8915. type: integer
  8916. goodsname:
  8917. description: 商品名称
  8918. type: string
  8919. goodsprice:
  8920. description: 商品价格
  8921. type: number
  8922. hotindex:
  8923. description: 景点热度
  8924. type: integer
  8925. lotsize:
  8926. description: 手数最小变动单位
  8927. type: integer
  8928. marketid:
  8929. description: 市场ID
  8930. type: integer
  8931. orderid:
  8932. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8933. type: string
  8934. orderprice:
  8935. description: 委托价格
  8936. type: number
  8937. orderqty:
  8938. description: 委托数量
  8939. type: integer
  8940. orderstatus:
  8941. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8942. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8943. 16:成交失败违约(荷兰式竞拍专用)
  8944. type: integer
  8945. picurls:
  8946. description: 介绍图片[多张用逗号分隔]
  8947. type: string
  8948. quoteminunit:
  8949. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8950. type: integer
  8951. sellUserID:
  8952. description: 卖方UserID
  8953. type: integer
  8954. trademode:
  8955. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8956. 21:竞拍-大宗式 22:受托竞价
  8957. type: integer
  8958. tradeqty:
  8959. description: 成交数量
  8960. type: integer
  8961. vendorattr:
  8962. description: 供应商附件(多张,逗号分隔)
  8963. type: string
  8964. vendorname:
  8965. description: 供应商名称
  8966. type: string
  8967. vendorphone:
  8968. description: 供应商客服电话
  8969. type: string
  8970. videourls:
  8971. description: 介绍视频[多张用逗号分隔]
  8972. type: string
  8973. required:
  8974. - accountid
  8975. - buyorsell
  8976. - goodscode
  8977. - goodsid
  8978. - goodsname
  8979. - marketid
  8980. - orderid
  8981. - orderqty
  8982. - trademode
  8983. type: object
  8984. models.HsbyMarketInfo:
  8985. properties:
  8986. marketid:
  8987. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  8988. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8989. type: integer
  8990. marketname:
  8991. description: 市场名称
  8992. type: string
  8993. marketstatus:
  8994. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8995. type: integer
  8996. trademode:
  8997. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8998. 21:竞拍-大宗式 22:受托竞价
  8999. type: integer
  9000. required:
  9001. - marketid
  9002. - marketstatus
  9003. - trademode
  9004. type: object
  9005. models.HsbyMyGoods:
  9006. properties:
  9007. accountid:
  9008. description: 账号Id
  9009. type: integer
  9010. agreeunit:
  9011. description: 合约单位
  9012. type: number
  9013. buyaverageprice:
  9014. description: 持仓均价
  9015. type: number
  9016. buycurholderamount:
  9017. description: 买当前持仓总金额[商品币种]
  9018. type: number
  9019. buycurpositionqty:
  9020. description: 买当前持仓总数量
  9021. type: integer
  9022. buymaxqty:
  9023. description: 购买上限 [71] - 0为不限
  9024. type: integer
  9025. currencysign:
  9026. description: 货币符号
  9027. type: string
  9028. decimalplace:
  9029. description: 报价小数位
  9030. type: integer
  9031. enableqty:
  9032. description: 可用数量
  9033. type: integer
  9034. goodscode:
  9035. description: 商品代码(内部)
  9036. type: string
  9037. goodsid:
  9038. description: 商品Id
  9039. type: integer
  9040. goodsname:
  9041. description: 商品名称
  9042. type: string
  9043. goodsprice:
  9044. description: 商品价格
  9045. type: number
  9046. goodsstatus:
  9047. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  9048. type: integer
  9049. last:
  9050. description: 现价(仅使用于挂牌点选)
  9051. type: number
  9052. limitdown:
  9053. description: 跌停价(仅使用于挂牌点选)
  9054. type: number
  9055. limitup:
  9056. description: 涨停价(仅使用于挂牌点选)
  9057. type: number
  9058. lotsize:
  9059. description: 手数最小变动单位
  9060. type: integer
  9061. marketid:
  9062. description: 所属市场ID
  9063. type: integer
  9064. picurls:
  9065. description: 介绍图片[多张用逗号分隔]
  9066. type: string
  9067. quoteminunit:
  9068. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9069. type: integer
  9070. stepvalue:
  9071. description: 价格最小变动单位
  9072. type: number
  9073. trademode:
  9074. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9075. 21:竞拍-大宗式 22:受托竞价
  9076. type: integer
  9077. required:
  9078. - accountid
  9079. - goodscode
  9080. - goodsid
  9081. - goodsname
  9082. - marketid
  9083. - trademode
  9084. type: object
  9085. models.HsbyMyPackage:
  9086. properties:
  9087. accountid:
  9088. description: 账户ID
  9089. type: integer
  9090. address:
  9091. description: 提货人详细地址
  9092. type: string
  9093. agreeunit:
  9094. description: 合约单位
  9095. type: number
  9096. amount:
  9097. description: 提货金额
  9098. type: number
  9099. auditer:
  9100. description: 审核人
  9101. type: integer
  9102. audittime:
  9103. description: 审核时间
  9104. type: string
  9105. averageprice:
  9106. description: 均价
  9107. type: number
  9108. cardnum:
  9109. description: 提货人证件号码
  9110. type: string
  9111. cardtypeid:
  9112. description: 提货人证件类型
  9113. type: integer
  9114. checkremark:
  9115. description: 审核备注
  9116. type: string
  9117. currencysign:
  9118. description: 货币符号
  9119. type: string
  9120. decimalplace:
  9121. description: 报价小数位
  9122. type: integer
  9123. goodscode:
  9124. description: 商品代码(内部)
  9125. type: string
  9126. goodsid:
  9127. description: 商品ID
  9128. type: integer
  9129. goodsname:
  9130. description: 商品名称
  9131. type: string
  9132. handlestatus:
  9133. description: 处理状态
  9134. type: integer
  9135. marketid:
  9136. description: 市场ID
  9137. type: integer
  9138. phonenum:
  9139. description: 提货人联系方式
  9140. type: string
  9141. picurls:
  9142. description: 介绍图片[多张用逗号分隔]
  9143. type: string
  9144. qty:
  9145. description: 提货数量
  9146. type: number
  9147. recivername:
  9148. description: 提货人姓名
  9149. type: string
  9150. reqtime:
  9151. description: 更新时间
  9152. type: string
  9153. takemode:
  9154. description: 提货方式 - 2:自提 3:配送
  9155. type: integer
  9156. takeorderid:
  9157. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  9158. type: string
  9159. takeorderstatus:
  9160. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  9161. type: integer
  9162. takeremark:
  9163. description: 提货备注
  9164. type: string
  9165. tradedate:
  9166. description: 交易日(yyyyMMdd)
  9167. type: string
  9168. trademode:
  9169. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9170. 21:竞拍-大宗式 22:受托竞价
  9171. type: integer
  9172. userid:
  9173. description: 用户ID
  9174. type: integer
  9175. vendorname:
  9176. description: 供应商名称
  9177. type: string
  9178. required:
  9179. - goodscode
  9180. - goodsname
  9181. - takeorderid
  9182. - trademode
  9183. type: object
  9184. models.HsbyPreGoods:
  9185. properties:
  9186. agreeunit:
  9187. description: 合约单位
  9188. type: number
  9189. currency:
  9190. description: 货币
  9191. type: string
  9192. currencysign:
  9193. description: 货币符号
  9194. type: string
  9195. decimalplace:
  9196. description: 报价小数位
  9197. type: integer
  9198. desccityid:
  9199. description: 目的地(市)
  9200. type: integer
  9201. descprovinceid:
  9202. description: 目的地(省)
  9203. type: integer
  9204. enableqty:
  9205. description: 剩余数量
  9206. type: integer
  9207. goodscode:
  9208. description: 商品代码(内部)
  9209. type: string
  9210. goodsid:
  9211. description: 商品ID(自增ID SEQ_GOODS)
  9212. type: integer
  9213. goodsname:
  9214. description: 商品名称
  9215. type: string
  9216. goodsstatus:
  9217. description: 商品状态- 2:未上市 3:上市
  9218. type: integer
  9219. lasttradedate:
  9220. description: 最后交易日期(状态:待退市)
  9221. type: string
  9222. listingdate:
  9223. description: 交易开始日期
  9224. type: string
  9225. marketid:
  9226. description: 所属市场ID
  9227. type: integer
  9228. picurls:
  9229. description: 介绍图片[多张用逗号分隔]
  9230. type: string
  9231. presaledqty:
  9232. description: 已预售量(预售结束时更新)
  9233. type: integer
  9234. presaleqty:
  9235. description: 预售数量
  9236. type: integer
  9237. quoteminunit:
  9238. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9239. type: integer
  9240. refprice:
  9241. description: 参考价格[一口价]
  9242. type: number
  9243. relatedgoodsid:
  9244. description: 关联交易合约ID
  9245. type: integer
  9246. trademode:
  9247. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9248. 21:竞拍-大宗式 22:受托竞价
  9249. type: integer
  9250. videourls:
  9251. description: 介绍视频[多张用逗号分隔]
  9252. type: string
  9253. required:
  9254. - goodscode
  9255. - goodsid
  9256. - goodsname
  9257. - marketid
  9258. - trademode
  9259. type: object
  9260. models.HsbyPreGoodsDetail:
  9261. properties:
  9262. agreeunit:
  9263. description: 合约单位
  9264. type: number
  9265. buymaxqty:
  9266. description: 购买上限 [71] - 0为不限
  9267. type: integer
  9268. currency:
  9269. description: 货币
  9270. type: string
  9271. currencysign:
  9272. description: 货币符号
  9273. type: string
  9274. customername:
  9275. description: 发行单位
  9276. type: string
  9277. decimalplace:
  9278. description: 报价小数位
  9279. type: integer
  9280. desccityid:
  9281. description: 目的地(市)ID
  9282. type: integer
  9283. descprovinceid:
  9284. description: 目的地(省)ID
  9285. type: integer
  9286. enableqty:
  9287. description: 剩余数量
  9288. type: integer
  9289. goodscode:
  9290. description: 商品代码(内部)
  9291. type: string
  9292. goodsdesc:
  9293. description: 商品详情
  9294. type: string
  9295. goodsid:
  9296. description: 商品ID(自增ID SEQ_GOODS)
  9297. type: integer
  9298. goodsname:
  9299. description: 商品名称
  9300. type: string
  9301. goodsstatus:
  9302. description: 商品状态- 2:未上市 3:上市
  9303. type: integer
  9304. goodunit:
  9305. description: 报价单位
  9306. type: string
  9307. lasttradedate:
  9308. description: 最后交易日期(状态:待退市)
  9309. type: string
  9310. listingdate:
  9311. description: 交易开始日期
  9312. type: string
  9313. lotsize:
  9314. description: 手数最小变动单位
  9315. type: integer
  9316. marketid:
  9317. description: 所属市场ID
  9318. type: integer
  9319. picurls:
  9320. description: 介绍图片[多张用逗号分隔]
  9321. type: string
  9322. presaledqty:
  9323. description: 已预售量(预售结束时更新)
  9324. type: integer
  9325. presaleqty:
  9326. description: 预售数量
  9327. type: integer
  9328. quoteminunit:
  9329. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9330. type: integer
  9331. refprice:
  9332. description: 参考价格[一口价]
  9333. type: number
  9334. relatedgoodsid:
  9335. description: 关联交易合约ID
  9336. type: integer
  9337. stepvalue:
  9338. description: 价格最小变动单位
  9339. type: number
  9340. trademode:
  9341. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9342. 21:竞拍-大宗式 22:受托竞价
  9343. type: integer
  9344. vendorattr:
  9345. description: 供应商附件(多张,逗号分隔)
  9346. type: string
  9347. vendorname:
  9348. description: 供应商名称
  9349. type: string
  9350. vendorphone:
  9351. description: 供应商客服电话
  9352. type: string
  9353. videourls:
  9354. description: 介绍视频[多张用逗号分隔]
  9355. type: string
  9356. required:
  9357. - goodscode
  9358. - goodsid
  9359. - goodsname
  9360. - marketid
  9361. - trademode
  9362. type: object
  9363. models.HsbySellCollectionOrder:
  9364. properties:
  9365. agreeunit:
  9366. description: 合约单位
  9367. type: number
  9368. buyaccountid:
  9369. description: 买方账号ID[报价币种]
  9370. type: integer
  9371. buyorderid:
  9372. description: 买方委托单号
  9373. type: string
  9374. createtime:
  9375. description: 创建时间
  9376. type: string
  9377. currencysign:
  9378. description: 货币符号
  9379. type: string
  9380. decimalplace:
  9381. description: 报价小数位
  9382. type: integer
  9383. goodscode:
  9384. description: 商品代码(内部)
  9385. type: string
  9386. goodsid:
  9387. description: 商品ID
  9388. type: integer
  9389. goodsname:
  9390. description: 商品名称
  9391. type: string
  9392. marketid:
  9393. description: 市场ID
  9394. type: integer
  9395. offamount:
  9396. description: 优惠金额
  9397. type: number
  9398. payamount:
  9399. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  9400. type: number
  9401. payflag:
  9402. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  9403. type: integer
  9404. paylimitedtime:
  9405. description: 支付期限
  9406. type: string
  9407. paytime:
  9408. description: 付款时间
  9409. type: string
  9410. picurls:
  9411. description: 商品介绍图片[多张用逗号分隔]
  9412. type: string
  9413. sellaccountid:
  9414. description: 卖方账号ID[报价币种]
  9415. type: integer
  9416. sellorderid:
  9417. description: 卖方委托单号
  9418. type: string
  9419. tradeamount:
  9420. description: 成交金额
  9421. type: number
  9422. tradecharge:
  9423. description: 成交手续费(买方)
  9424. type: number
  9425. tradedate:
  9426. description: 交易日(yyyyMMdd)
  9427. type: string
  9428. tradeid:
  9429. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9430. type: string
  9431. trademode:
  9432. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9433. 21:竞拍-大宗式 22:受托竞价
  9434. type: integer
  9435. tradeprice:
  9436. description: 成交价格
  9437. type: number
  9438. tradeqty:
  9439. description: 成交数量
  9440. type: integer
  9441. required:
  9442. - goodscode
  9443. - goodsname
  9444. - tradeid
  9445. - trademode
  9446. type: object
  9447. models.HsbySellMyDetail:
  9448. properties:
  9449. accountid:
  9450. description: 账户ID[报价币种]
  9451. type: integer
  9452. agreeunit:
  9453. description: 合约单位
  9454. type: number
  9455. buyorsell:
  9456. description: 买卖 - 0:买 1:卖
  9457. type: integer
  9458. currencysign:
  9459. description: 货币符号
  9460. type: string
  9461. decimalplace:
  9462. description: 报价小数位
  9463. type: integer
  9464. goodscode:
  9465. description: 商品代码(内部)
  9466. type: string
  9467. goodsid:
  9468. description: 商品ID
  9469. type: integer
  9470. goodsname:
  9471. description: 商品名称
  9472. type: string
  9473. marketid:
  9474. description: 市场ID
  9475. type: integer
  9476. orderid:
  9477. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  9478. type: string
  9479. ordertype:
  9480. description: 单据类型:0 - 发布中, 1 - 已完成
  9481. type: integer
  9482. picurls:
  9483. description: 介绍图片[多张用逗号分隔]
  9484. type: string
  9485. price:
  9486. description: 价格
  9487. type: number
  9488. qty:
  9489. description: 数量
  9490. type: integer
  9491. time:
  9492. description: 时间
  9493. type: string
  9494. trademode:
  9495. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9496. 21:竞拍-大宗式 22:受托竞价
  9497. type: integer
  9498. vendorname:
  9499. description: 供应商名称
  9500. type: string
  9501. required:
  9502. - accountid
  9503. - buyorsell
  9504. - goodscode
  9505. - goodsid
  9506. - goodsname
  9507. - marketid
  9508. - orderid
  9509. - time
  9510. - trademode
  9511. type: object
  9512. models.HsbyTopGoods:
  9513. properties:
  9514. agreeunit:
  9515. description: 合约单位
  9516. type: number
  9517. currency:
  9518. description: 货币
  9519. type: string
  9520. currencysign:
  9521. description: 货币符号
  9522. type: string
  9523. decimalplace:
  9524. description: 报价小数位
  9525. type: integer
  9526. desccityid:
  9527. description: 目的地(市)
  9528. type: integer
  9529. descprovinceid:
  9530. description: 目的地(省)
  9531. type: integer
  9532. goodscode:
  9533. description: 商品代码(内部)
  9534. type: string
  9535. goodsid:
  9536. description: 商品ID(自增ID SEQ_GOODS)
  9537. type: integer
  9538. goodsname:
  9539. description: 商品名称
  9540. type: string
  9541. hotindex:
  9542. description: 景点热度
  9543. type: integer
  9544. last:
  9545. description: 现价
  9546. type: number
  9547. marketid:
  9548. description: 所属市场ID
  9549. type: integer
  9550. picurls:
  9551. description: 介绍图片[多张用逗号分隔]
  9552. type: string
  9553. quoteminunit:
  9554. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9555. type: integer
  9556. trademode:
  9557. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9558. 21:竞拍-大宗式 22:受托竞价
  9559. type: integer
  9560. videourls:
  9561. description: 介绍视频[多张用逗号分隔]
  9562. type: string
  9563. required:
  9564. - goodscode
  9565. - goodsid
  9566. - goodsname
  9567. - marketid
  9568. - trademode
  9569. type: object
  9570. models.HybsMyBuyOrderDetail:
  9571. properties:
  9572. accountid:
  9573. description: 账户ID[报价币种]
  9574. type: integer
  9575. agreeunit:
  9576. description: 合约单位
  9577. type: number
  9578. buyorsell:
  9579. description: 买卖 - 0:买 1:卖
  9580. type: integer
  9581. cancelqty:
  9582. description: 撤单数量
  9583. type: integer
  9584. currencysign:
  9585. description: 货币符号
  9586. type: string
  9587. decimalplace:
  9588. description: 报价小数位
  9589. type: integer
  9590. goodscode:
  9591. description: 商品代码(内部)
  9592. type: string
  9593. goodsid:
  9594. description: 商品ID
  9595. type: integer
  9596. goodsname:
  9597. description: 商品名称
  9598. type: string
  9599. listingselecttype:
  9600. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  9601. type: integer
  9602. marketid:
  9603. description: 市场ID
  9604. type: integer
  9605. mybuystatus:
  9606. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  9607. type: integer
  9608. orderamount:
  9609. description: 委托金额
  9610. type: number
  9611. orderid:
  9612. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9613. type: string
  9614. orderprice:
  9615. description: 委托价格
  9616. type: number
  9617. orderqty:
  9618. description: 委托数量
  9619. type: integer
  9620. orderstatus:
  9621. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  9622. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  9623. 16:成交失败违约(荷兰式竞拍专用)
  9624. type: integer
  9625. ordertime:
  9626. description: 委托时间
  9627. type: string
  9628. picurls1:
  9629. description: 预售商品介绍图片[多张用逗号分隔]
  9630. type: string
  9631. picurls2:
  9632. description: 挂牌商品介绍图片[多张用逗号分隔]
  9633. type: string
  9634. trademode:
  9635. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9636. 21:竞拍-大宗式 22:受托竞价
  9637. type: integer
  9638. tradeqty:
  9639. description: 成交数量
  9640. type: integer
  9641. vendorname1:
  9642. description: 预售商品供应商名称
  9643. type: string
  9644. vendorname2:
  9645. description: 挂牌商品供应商名称
  9646. type: string
  9647. required:
  9648. - accountid
  9649. - buyorsell
  9650. - goodscode
  9651. - goodsid
  9652. - goodsname
  9653. - marketid
  9654. - orderid
  9655. - orderqty
  9656. - ordertime
  9657. - trademode
  9658. type: object
  9659. models.Loginaccount:
  9660. properties:
  9661. accountname:
  9662. description: 账户名称
  9663. type: string
  9664. canoutin:
  9665. description: 是否可出入金 - 0:不可 1:可
  9666. type: integer
  9667. clientroleid:
  9668. description: 终端角色ID
  9669. type: integer
  9670. haslogined:
  9671. description: 是否已登录 - 0:未登录 1:已登录
  9672. type: integer
  9673. hasupdatedpwd:
  9674. description: 是否已更改密码 - 0:未修改 1:已修改
  9675. type: integer
  9676. lastloginip:
  9677. description: 最新登录地址
  9678. type: string
  9679. lastloginmode:
  9680. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  9681. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  9682. type: integer
  9683. lastloginremark:
  9684. description: 最新登录描述
  9685. type: string
  9686. lastlogintime:
  9687. description: 最新登录时间
  9688. type: string
  9689. logincode:
  9690. description: 登录代码
  9691. type: string
  9692. loginfailnum:
  9693. description: 连续登录失败次数(登录成功时清零)
  9694. type: integer
  9695. loginid:
  9696. description: 登陆账号
  9697. type: integer
  9698. loginport:
  9699. description: 最新登录端口
  9700. type: integer
  9701. loginstatus:
  9702. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  9703. type: integer
  9704. loginusertype:
  9705. description: 登录账号类型 - 1:投资者 2:机构交易员
  9706. type: integer
  9707. mobile:
  9708. description: 手机号码(加密存储)
  9709. type: string
  9710. modifierid:
  9711. description: 修改人
  9712. type: integer
  9713. modifysrc:
  9714. description: 审核来源 - 1:管理端 2:终端
  9715. type: integer
  9716. modifytime:
  9717. description: 修改时间
  9718. type: string
  9719. password:
  9720. description: 登陆密码
  9721. type: string
  9722. pwdwrongcount:
  9723. description: 密码错误次数
  9724. type: integer
  9725. relateduserid:
  9726. description: 关联用户ID(机构)
  9727. type: integer
  9728. taaccountrighttype:
  9729. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  9730. type: integer
  9731. unfreezetime:
  9732. description: 账户解冻时间
  9733. type: string
  9734. userid:
  9735. description: 用户ID
  9736. type: integer
  9737. required:
  9738. - loginid
  9739. type: object
  9740. models.MainAccountInfo:
  9741. properties:
  9742. accountid:
  9743. description: 账号id
  9744. type: integer
  9745. accountname:
  9746. description: 账号名称(taaccount表中的名称)
  9747. type: string
  9748. appid:
  9749. description: AppID
  9750. type: string
  9751. authcode:
  9752. description: 授权码
  9753. type: string
  9754. brokerid:
  9755. description: 经纪商id
  9756. type: string
  9757. fcid:
  9758. description: 期货公司id
  9759. type: integer
  9760. fcname:
  9761. description: 期货公司代码
  9762. type: string
  9763. hedgeaccountcode:
  9764. description: 外部账号代码(主账号登录代码)
  9765. type: string
  9766. hedgeaccountpwd:
  9767. description: 密码
  9768. type: string
  9769. ismain:
  9770. description: 是否主账号
  9771. type: integer
  9772. relateduserid:
  9773. description: 关联用户id
  9774. type: integer
  9775. userid:
  9776. description: 关联用户id
  9777. type: integer
  9778. type: object
  9779. models.Market:
  9780. properties:
  9781. auctionwrtype:
  9782. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  9783. type: integer
  9784. canacceptquote:
  9785. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  9786. type: integer
  9787. cangoodsexercise:
  9788. description: '[期权]是否可现货行权- 0:否 1:是'
  9789. type: integer
  9790. cangoodsexercisetype:
  9791. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  9792. type: integer
  9793. canmanualquotestrike:
  9794. description: 是否可手动报行权价- 0:否 1:是 [期权]
  9795. type: integer
  9796. canmutistage:
  9797. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  9798. type: integer
  9799. canpreexercise:
  9800. description: '[期权]是否可预申报- 0:否 1:是'
  9801. type: integer
  9802. clearinterval:
  9803. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  9804. type: integer
  9805. contracttmp:
  9806. description: 合同模板[荷兰式][竞价式][仓单贸易]
  9807. type: string
  9808. exchareaid:
  9809. description: 所属交易所,可以没有
  9810. type: integer
  9811. goodstype:
  9812. description: 商品类型 - 1:交易商品 2:仓单商品
  9813. type: integer
  9814. hasrebate:
  9815. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  9816. type: integer
  9817. hastradecredit:
  9818. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  9819. type: integer
  9820. haswr:
  9821. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  9822. type: integer
  9823. isdeductmargin:
  9824. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  9825. type: integer
  9826. isrecordsource:
  9827. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  9828. type: integer
  9829. isreleasemargin:
  9830. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  9831. type: integer
  9832. marginformula:
  9833. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9834. type: integer
  9835. marginformula2:
  9836. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9837. type: integer
  9838. marketid:
  9839. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  9840. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  9841. type: integer
  9842. marketname:
  9843. description: 市场名称
  9844. type: string
  9845. marketserviceid:
  9846. description: 市场服务ID
  9847. type: integer
  9848. marketstatus:
  9849. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  9850. type: integer
  9851. markettype:
  9852. description: 市场类型- 1:非交易服务 2:交易服务
  9853. type: integer
  9854. matchermode:
  9855. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  9856. type: integer
  9857. openmethod:
  9858. description: 开盘模式 - 0 自动 1手动
  9859. type: integer
  9860. otcuserid:
  9861. description: 场外期权做市商[场外期权]
  9862. type: integer
  9863. outersynctime:
  9864. description: 外部同步时间点(h24:mi:ss)[场外期权]
  9865. type: string
  9866. pendingflag:
  9867. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  9868. type: integer
  9869. pendingtime:
  9870. description: 待开市时间[通道交易-对冲](HH:mm)
  9871. type: string
  9872. performancetempid:
  9873. description: 履约计划模板ID - 作废
  9874. type: integer
  9875. premiumquotemode:
  9876. description: 权利金报价方式 - 1:自动 2:手动
  9877. type: integer
  9878. rebateratio:
  9879. description: 返利比率[竞价式]
  9880. type: number
  9881. reckonorder:
  9882. description: 结算顺序
  9883. type: integer
  9884. reckonpricealgorithm:
  9885. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  9886. 6.卖一价 7.买一卖一均价 8.外部结算价'
  9887. type: integer
  9888. reckonpriceparam:
  9889. description: 结算价参数
  9890. type: integer
  9891. reckontime:
  9892. description: 结算时间[通道交易-对冲](HH:mm)
  9893. type: string
  9894. roleprioritytype:
  9895. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  9896. type: integer
  9897. selllistingauditflag:
  9898. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  9899. type: integer
  9900. trademarkettype:
  9901. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  9902. type: integer
  9903. trademode:
  9904. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9905. 21:竞拍-大宗式 22:受托竞价
  9906. type: integer
  9907. tradeproperty:
  9908. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  9909. 8:场外期权
  9910. type: integer
  9911. tradetype:
  9912. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  9913. type: integer
  9914. required:
  9915. - marketid
  9916. - marketstatus
  9917. - openmethod
  9918. - reckonpricealgorithm
  9919. - trademode
  9920. - tradeproperty
  9921. type: object
  9922. models.Marketrun:
  9923. properties:
  9924. afternexttradedate:
  9925. description: 下下交易日
  9926. type: string
  9927. clearquoteflag:
  9928. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  9929. type: integer
  9930. lastreckondate:
  9931. description: 最新交易日(结算成功)
  9932. type: string
  9933. machinedate:
  9934. description: 机器时间
  9935. type: string
  9936. manualflag:
  9937. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  9938. type: integer
  9939. marketid:
  9940. description: 市场ID
  9941. type: integer
  9942. nexttradedate:
  9943. description: 下一交易日
  9944. type: string
  9945. pretradedate:
  9946. description: 上一交易日
  9947. type: string
  9948. reckonflag:
  9949. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  9950. type: integer
  9951. runstatus:
  9952. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  9953. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  9954. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  9955. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  9956. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  9957. 62.今日免清算
  9958. type: integer
  9959. sectionid:
  9960. description: 时间段号[多时段时用]
  9961. type: integer
  9962. tradedate:
  9963. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  9964. type: string
  9965. tradedate2:
  9966. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  9967. type: string
  9968. updatetime:
  9969. description: 更新时间
  9970. type: string
  9971. required:
  9972. - marketid
  9973. - nexttradedate
  9974. - reckonflag
  9975. - runstatus
  9976. - tradedate
  9977. - tradedate2
  9978. type: object
  9979. models.Messageboard:
  9980. properties:
  9981. contactnum:
  9982. description: 联系电话
  9983. type: string
  9984. createtime:
  9985. description: 创建时间
  9986. type: string
  9987. message:
  9988. description: 留言信息
  9989. type: string
  9990. messageboardid:
  9991. description: 留言簿ID(SEQ_MessageBoard)
  9992. type: integer
  9993. userid:
  9994. description: 用户ID
  9995. type: integer
  9996. required:
  9997. - messageboardid
  9998. type: object
  9999. models.MyCoupon:
  10000. properties:
  10001. accountid:
  10002. description: 资金账户ID
  10003. type: integer
  10004. areauserid:
  10005. description: 所属机构
  10006. type: integer
  10007. conditionvalue:
  10008. description: 条件阈值(可为0)
  10009. type: number
  10010. couponcategroy:
  10011. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  10012. type: integer
  10013. couponname:
  10014. description: 优惠券名称
  10015. type: string
  10016. coupontypeid:
  10017. description: 优惠券类型ID
  10018. type: string
  10019. couponvalue:
  10020. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  10021. type: number
  10022. curfreezeqty:
  10023. description: 期末冻结数量
  10024. type: integer
  10025. curqty:
  10026. description: 期末数量
  10027. type: integer
  10028. isgeneral:
  10029. description: 是否通用券 - 0:否 1:是
  10030. type: integer
  10031. isunusable:
  10032. description: 是否不可用
  10033. type: boolean
  10034. limitedflag:
  10035. description: 是否指定商品 - 0:不限 1:限制
  10036. type: integer
  10037. limitedgoodsids:
  10038. description: 指定商品IDs[逗号分隔,前后加逗号]
  10039. type: string
  10040. orifreezeqty:
  10041. description: 期初冻结数量
  10042. type: integer
  10043. oriqty:
  10044. description: 期初数量
  10045. type: integer
  10046. reasontype:
  10047. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  10048. type: integer
  10049. todaydecrease:
  10050. description: 今日减少
  10051. type: integer
  10052. todayincrease:
  10053. description: 今日增加
  10054. type: integer
  10055. userid:
  10056. description: 用户ID
  10057. type: integer
  10058. userscope:
  10059. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  10060. type: string
  10061. required:
  10062. - accountid
  10063. - coupontypeid
  10064. type: object
  10065. models.MyCouponHold:
  10066. properties:
  10067. accountid:
  10068. description: 资金账户ID
  10069. type: integer
  10070. conditionvalue:
  10071. description: 条件阈值(可为0)
  10072. type: number
  10073. couponcategroy:
  10074. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  10075. type: integer
  10076. couponholdid:
  10077. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  10078. type: string
  10079. couponname:
  10080. description: 优惠券名称
  10081. type: string
  10082. coupontypeid:
  10083. description: 优惠券类型ID - SEQ_COUPONTYPE
  10084. type: string
  10085. couponvalue:
  10086. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  10087. type: number
  10088. createtime:
  10089. description: 创建时间
  10090. type: string
  10091. enddate:
  10092. description: 结束日期
  10093. type: string
  10094. giveapplyid:
  10095. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  10096. type: integer
  10097. holdstatus:
  10098. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  10099. type: integer
  10100. isgeneral:
  10101. description: 是否通用券 - 0:否 1:是
  10102. type: integer
  10103. limitedflag:
  10104. description: 是否指定商品 - 0:不限 1:限制
  10105. type: integer
  10106. limitedgoodsids:
  10107. description: 指定商品IDs[逗号分隔]
  10108. type: string
  10109. qty:
  10110. description: 数量(按1平铺)
  10111. type: integer
  10112. startdate:
  10113. description: 开始日期
  10114. type: string
  10115. userid:
  10116. description: 用户ID
  10117. type: integer
  10118. userscope:
  10119. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  10120. type: string
  10121. required:
  10122. - couponholdid
  10123. type: object
  10124. models.MyUsedCoupon:
  10125. properties:
  10126. accountid:
  10127. description: 资金账户ID(买方)
  10128. type: integer
  10129. conditionvalue:
  10130. description: 条件阈值(可为0)
  10131. type: number
  10132. couponcategroy:
  10133. description: 种类 - 1:现金券 2:折扣券
  10134. type: integer
  10135. couponname:
  10136. description: 优惠券名称
  10137. type: string
  10138. coupontypeid:
  10139. description: 优惠券类型ID(买方)
  10140. type: string
  10141. couponvalue:
  10142. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  10143. type: number
  10144. createtime:
  10145. description: 创建时间
  10146. type: string
  10147. goodsid:
  10148. description: 商品ID
  10149. type: integer
  10150. handlestatus:
  10151. description: 处理状态
  10152. type: integer
  10153. marketid:
  10154. description: 市场ID
  10155. type: integer
  10156. offamount:
  10157. description: 优惠金额
  10158. type: number
  10159. orderid:
  10160. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10161. type: string
  10162. sellaccountid:
  10163. description: 资金账户ID(卖方)
  10164. type: integer
  10165. tradeamount:
  10166. description: 成交金额
  10167. type: number
  10168. tradeid:
  10169. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10170. type: string
  10171. usedqty:
  10172. description: 使用数量
  10173. type: integer
  10174. required:
  10175. - coupontypeid
  10176. - orderid
  10177. type: object
  10178. models.OperationPrimaryMenu:
  10179. properties:
  10180. Children:
  10181. description: 二级功能菜单
  10182. items:
  10183. $ref: '#/definitions/models.OperationSecondaryMenu'
  10184. type: array
  10185. Key:
  10186. description: 菜单KEY
  10187. type: string
  10188. Label:
  10189. description: 菜单标题
  10190. type: string
  10191. type: object
  10192. models.OperationSecondaryMenu:
  10193. properties:
  10194. Key:
  10195. description: 菜单KEY
  10196. type: string
  10197. Label:
  10198. description: 菜单标题
  10199. type: string
  10200. TabList:
  10201. description: 三级功能菜单
  10202. items:
  10203. $ref: '#/definitions/models.OperationTabMenu'
  10204. type: array
  10205. type: object
  10206. models.OperationTabMenu:
  10207. properties:
  10208. Key:
  10209. description: 菜单KEY
  10210. type: string
  10211. Label:
  10212. description: 菜单标题
  10213. type: string
  10214. type: object
  10215. models.QhjAccountOutInApply:
  10216. properties:
  10217. accountcode:
  10218. description: 资金账号
  10219. type: string
  10220. accountname:
  10221. description: 用户名称(名称)
  10222. type: string
  10223. accountpwd:
  10224. description: 资金密码
  10225. type: string
  10226. accountticket:
  10227. description: 最新账户服务流水号
  10228. type: string
  10229. amount:
  10230. description: 金额
  10231. type: number
  10232. applyremark:
  10233. description: 申请备注
  10234. type: string
  10235. applystatus:
  10236. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  10237. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  10238. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  10239. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  10240. type: integer
  10241. auditid:
  10242. description: 审核人
  10243. type: integer
  10244. audittime:
  10245. description: 审核时间
  10246. type: string
  10247. bank_apply_ticket:
  10248. description: 银行申请流水
  10249. type: string
  10250. bankaccountname:
  10251. description: 银行账户名
  10252. type: string
  10253. bankaccountno:
  10254. description: 银行卡号
  10255. type: string
  10256. bankid:
  10257. description: 银行编号
  10258. type: string
  10259. bankticket:
  10260. description: 银行流水
  10261. type: string
  10262. branchbankid:
  10263. description: 银行支行号
  10264. type: string
  10265. branchbankname:
  10266. description: 银行支行名称
  10267. type: string
  10268. capamountout:
  10269. description: 出金(劣后本金) - 外部子账户
  10270. type: number
  10271. certificatephotourl:
  10272. description: 凭证地址
  10273. type: string
  10274. charge:
  10275. description: 手续费
  10276. type: number
  10277. checkerrorflag:
  10278. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  10279. type: integer
  10280. currency:
  10281. description: 币种
  10282. type: string
  10283. cusbankid:
  10284. description: 托管银行编号
  10285. type: string
  10286. exchticket:
  10287. description: 银行服务流水号
  10288. type: string
  10289. executetype:
  10290. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  10291. 7:外部子账户:入金 8:外部子账户:出金'
  10292. type: integer
  10293. extendinfo:
  10294. description: 扩展信息
  10295. type: string
  10296. extoperateid:
  10297. description: 交易服务流水号
  10298. type: integer
  10299. infamount:
  10300. description: 劣后金额(自有)
  10301. type: number
  10302. logincode:
  10303. description: 登录账号(账号)
  10304. type: string
  10305. netaddr:
  10306. description: 调转网址
  10307. type: string
  10308. priamount:
  10309. description: 优先金额(授信)
  10310. type: number
  10311. reauditid:
  10312. description: 复审人
  10313. type: integer
  10314. reauditremark:
  10315. description: 复审备注
  10316. type: string
  10317. reaudittime:
  10318. description: 复审时间
  10319. type: string
  10320. relatedorderid:
  10321. description: 三方关联ID
  10322. type: string
  10323. remark:
  10324. description: 备注
  10325. type: string
  10326. remark2:
  10327. description: 备注(失败原因)
  10328. type: string
  10329. soucreamount:
  10330. description: 原始出入金金额
  10331. type: number
  10332. soucrecurrencyid:
  10333. description: 原始出入金币种
  10334. type: integer
  10335. tradedate:
  10336. description: 交易日(yyyyMMdd)
  10337. type: string
  10338. updatetime:
  10339. description: 更新时间(申请时间)
  10340. type: string
  10341. userid:
  10342. description: 用户id
  10343. type: integer
  10344. userinfotype:
  10345. description: 账户类型 1-个人 2-企业
  10346. type: integer
  10347. type: object
  10348. models.QhjAgreementChangeLog:
  10349. properties:
  10350. agreementcontent:
  10351. description: 协议内容
  10352. type: string
  10353. agreementfrequency:
  10354. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  10355. type: integer
  10356. agreementid:
  10357. description: 协议ID
  10358. type: integer
  10359. agreementname:
  10360. description: 协议名称
  10361. type: string
  10362. agreementno:
  10363. description: 协议编号
  10364. type: string
  10365. agreementtype:
  10366. description: 协议类型 - 1:注册 2:登录 3:交易
  10367. type: integer
  10368. agreementversion:
  10369. description: 协议版本号
  10370. type: integer
  10371. logid:
  10372. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  10373. type: integer
  10374. reviserid:
  10375. description: 修改人
  10376. type: integer
  10377. revisersrc:
  10378. description: 修改来源 - 1:管理端 2:终端
  10379. type: integer
  10380. updatetime:
  10381. description: 更新时间
  10382. type: string
  10383. type: object
  10384. models.QhjAgreementConfig:
  10385. properties:
  10386. agreementcontent:
  10387. description: 协议内容
  10388. type: string
  10389. agreementfrequency:
  10390. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  10391. type: integer
  10392. agreementid:
  10393. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  10394. type: integer
  10395. agreementname:
  10396. description: 协议名称
  10397. type: string
  10398. agreementno:
  10399. description: 协议编号
  10400. type: string
  10401. agreementtype:
  10402. description: 协议类型 - 1:注册 2:登录 3:交易
  10403. type: integer
  10404. agreementversion:
  10405. description: 协议版本号(从1开始每次修改加1)
  10406. type: integer
  10407. createtime:
  10408. description: 创建时间
  10409. type: string
  10410. creatorid:
  10411. description: 创建人
  10412. type: integer
  10413. creatorsrc:
  10414. description: 创建来源 - 1:管理端 2:终端
  10415. type: integer
  10416. isvalid:
  10417. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  10418. type: integer
  10419. reviserid:
  10420. description: 修改人
  10421. type: integer
  10422. revisersrc:
  10423. description: 修改来源 - 1:管理端 2:终端
  10424. type: integer
  10425. updatetime:
  10426. description: 更新时间
  10427. type: string
  10428. type: object
  10429. models.QhjAreaFinanceConfig:
  10430. properties:
  10431. additionalratio:
  10432. description: 追加款比例
  10433. type: number
  10434. advanceratio:
  10435. description: 预付款比例
  10436. type: number
  10437. alarmratio:
  10438. description: 告警比例
  10439. type: number
  10440. consumptiondirectreward:
  10441. description: 消费直推奖励值
  10442. type: number
  10443. consumptionenabled:
  10444. description: 是否启用消费奖励 - 0:不启用 1:启用
  10445. type: integer
  10446. consumptionindirectreward:
  10447. description: 消费间推奖励值
  10448. type: number
  10449. consumptionmodel:
  10450. description: 消费奖励方式 - 1:比率 2:固定
  10451. type: integer
  10452. customerservicenum:
  10453. description: 客服电话
  10454. type: string
  10455. dayinterestrate:
  10456. description: 日利率
  10457. type: number
  10458. disableconsumptiontips:
  10459. description: 关闭消费奖励提示
  10460. type: string
  10461. modifierid:
  10462. description: 修改人ID
  10463. type: integer
  10464. modifysrc:
  10465. description: 审核来源 - 1:管理端 2:终端
  10466. type: integer
  10467. modifytime:
  10468. description: 修改时间
  10469. type: string
  10470. promotionvalue:
  10471. description: 推广奖励值(固定)
  10472. type: number
  10473. scoreconfigvalue1:
  10474. description: 提货积分配置1
  10475. type: integer
  10476. scoreconfigvalue2:
  10477. description: 提货积分配置2
  10478. type: integer
  10479. userid:
  10480. description: 机构用户ID其他做市关系,都设置为 1
  10481. type: integer
  10482. username:
  10483. description: 用户名称
  10484. type: string
  10485. type: object
  10486. models.QhjBankAccountSign:
  10487. properties:
  10488. accountcode:
  10489. description: 资金账号
  10490. type: string
  10491. accountname:
  10492. description: 资金账号对应的账号名(UserName)
  10493. type: string
  10494. accountname2:
  10495. description: 资金账号对应的账号名(UserName) - 密文
  10496. type: string
  10497. accounttype:
  10498. description: 账户类型(UserType)
  10499. type: integer
  10500. applicationtime:
  10501. description: 最后一次更新的时间
  10502. type: string
  10503. applyexchticket:
  10504. description: 申请流水
  10505. type: string
  10506. auditid:
  10507. description: 审核人
  10508. type: integer
  10509. audittime:
  10510. description: 审核时间
  10511. type: string
  10512. bankaccountname:
  10513. description: 签约银行卡账号名
  10514. type: string
  10515. bankaccountname2:
  10516. description: 签约银行卡账号名 - 密文
  10517. type: string
  10518. bankaccountno:
  10519. description: 银行卡号
  10520. type: string
  10521. bankaccountno2:
  10522. description: 银行卡号 - 密文
  10523. type: string
  10524. bankaccounttype:
  10525. description: 银行账户类型 - 1-对私; 2-对公
  10526. type: integer
  10527. bankcardtype:
  10528. description: 银行卡类型
  10529. type: integer
  10530. bankchildaccount:
  10531. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  10532. type: string
  10533. bankcity:
  10534. description: 开户行城市
  10535. type: string
  10536. bankid:
  10537. description: 签约银行ID
  10538. type: string
  10539. bankname:
  10540. description: 签约银行名称
  10541. type: string
  10542. bankprovince:
  10543. description: 开户行省份
  10544. type: string
  10545. branchbankid:
  10546. description: 签约银行支行号
  10547. type: string
  10548. branchbankname:
  10549. description: 签约银行支行名称
  10550. type: string
  10551. cardno:
  10552. description: 证件号码
  10553. type: string
  10554. cardno2:
  10555. description: 证件号码 - 密文
  10556. type: string
  10557. cardtype:
  10558. description: 证件类型
  10559. type: string
  10560. currency:
  10561. description: 币种
  10562. type: string
  10563. cusbankid:
  10564. description: 托管银行编号
  10565. type: string
  10566. direct:
  10567. description: 方向(可以判断那方先发起的签约)
  10568. type: integer
  10569. exchticket:
  10570. description: 最后一次签约成功的流水号
  10571. type: string
  10572. extendinfo:
  10573. description: 扩展信息(JSON字符串)
  10574. type: string
  10575. mobilephone:
  10576. description: 手机号
  10577. type: string
  10578. mobilephone2:
  10579. description: 手机号 - 密文
  10580. type: string
  10581. netaddr:
  10582. description: 调转网址
  10583. type: string
  10584. relateduserid:
  10585. description: 关联使用者userid
  10586. type: integer
  10587. signstatus:
  10588. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  10589. 10:审核拒绝 11:换签待审核
  10590. type: integer
  10591. updatetime:
  10592. description: 更新时间(签解约更新时间)
  10593. type: string
  10594. type: object
  10595. models.QhjBankInfo:
  10596. properties:
  10597. bankid:
  10598. description: 银行ID
  10599. type: string
  10600. bankname:
  10601. description: 银行名称
  10602. type: string
  10603. clearbankno:
  10604. description: 清算系统银行编号
  10605. type: string
  10606. orderindex:
  10607. description: 排序顺序
  10608. type: integer
  10609. status:
  10610. description: 状态 - 0:正常 1:注销
  10611. type: integer
  10612. type: object
  10613. models.QhjBrokerApply:
  10614. properties:
  10615. applicantid:
  10616. description: 申请人
  10617. type: integer
  10618. applysrc:
  10619. description: 申请来源 - 1:管理端 2:终端
  10620. type: integer
  10621. applystatus:
  10622. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  10623. type: integer
  10624. applytime:
  10625. description: 申请时间
  10626. type: string
  10627. auditorid:
  10628. description: 审核人
  10629. type: integer
  10630. auditremark:
  10631. description: 审核备注
  10632. type: string
  10633. auditsrc:
  10634. description: 审核来源 - 1:管理端 2:终端
  10635. type: integer
  10636. audittime:
  10637. description: 审核时间
  10638. type: string
  10639. audittradedate:
  10640. description: 审核交易日(yyyyMMdd)
  10641. type: string
  10642. brokerapplyid:
  10643. description: 申请ID(SEQ_BROKERAPPLY)
  10644. type: integer
  10645. cardbackphotourl:
  10646. description: 证件背面图片地址
  10647. type: string
  10648. cardfrontphotourl:
  10649. description: 证件正面图片地址
  10650. type: string
  10651. cardnum:
  10652. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  10653. type: string
  10654. customername:
  10655. description: 姓名
  10656. type: string
  10657. logincode:
  10658. description: 登录代码
  10659. type: string
  10660. mobile:
  10661. description: 手机号码
  10662. type: string
  10663. parentuserid:
  10664. description: 所属机构id
  10665. type: integer
  10666. parentusername:
  10667. description: 所属机构名称
  10668. type: string
  10669. refereeuserid:
  10670. description: 推荐人id(经纪人)
  10671. type: integer
  10672. refernum:
  10673. description: 推荐码
  10674. type: string
  10675. remark:
  10676. description: 备注
  10677. type: string
  10678. subarealevelpath:
  10679. description: 层级路径
  10680. type: string
  10681. tradedate:
  10682. description: 交易日(yyyyMMdd)
  10683. type: string
  10684. userid:
  10685. description: 申请人用户ID
  10686. type: integer
  10687. userinfotype:
  10688. description: 用户类型 1-个人 2-企业
  10689. type: integer
  10690. username:
  10691. description: 用户名称
  10692. type: string
  10693. type: object
  10694. models.QhjBrokerApplyEx:
  10695. properties:
  10696. applylist:
  10697. description: 经纪人申请记录(只返回最新一条)
  10698. items:
  10699. $ref: '#/definitions/models.QhjBrokerApply'
  10700. type: array
  10701. canrecommend:
  10702. description: 是否经纪人 0-不是 1-是
  10703. type: integer
  10704. refernum:
  10705. description: 推荐码
  10706. type: string
  10707. userid:
  10708. description: 用户id
  10709. type: integer
  10710. userinfotype:
  10711. description: 用户类型 1-个人 2-企业
  10712. type: integer
  10713. type: object
  10714. models.QhjBrokerRewardLog:
  10715. properties:
  10716. accountid:
  10717. description: 资金账号ID
  10718. type: integer
  10719. createtime:
  10720. description: 创建时间(时间)
  10721. type: string
  10722. handlestatus:
  10723. description: 处理状态
  10724. type: integer
  10725. logid:
  10726. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10727. type: string
  10728. marketid:
  10729. description: 市场ID
  10730. type: integer
  10731. mmaccountid:
  10732. description: 做市商资金账号ID
  10733. type: string
  10734. mmuserid:
  10735. description: 做市商用户ID
  10736. type: string
  10737. rewardamount:
  10738. description: 奖励金额
  10739. type: number
  10740. rewardmodel:
  10741. description: 消费奖励方式 - 1:比率 2:固定
  10742. type: integer
  10743. rewardtype:
  10744. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  10745. type: integer
  10746. rewardvalue:
  10747. description: 配置奖励值
  10748. type: number
  10749. srcamount:
  10750. description: 成交金额 [消费奖励] (金额)
  10751. type: number
  10752. srcgoodsid:
  10753. description: 来源商品ID [消费奖励]
  10754. type: string
  10755. srctime:
  10756. description: 来源时间 (成交时间) [消费奖励]
  10757. type: string
  10758. srctradeid:
  10759. description: 来源成交单ID [消费奖励] - 排除提货成交
  10760. type: string
  10761. srcuserid:
  10762. description: 来源用户ID(推广账户)
  10763. type: string
  10764. srcusername:
  10765. description: 推广账户名称
  10766. type: string
  10767. tradedate:
  10768. description: 交易日(yyyyMMdd)
  10769. type: string
  10770. userid:
  10771. description: 经纪人用户ID
  10772. type: integer
  10773. type: object
  10774. models.QhjContract:
  10775. properties:
  10776. contractconfirmtime:
  10777. description: 合同确认时间(时间)
  10778. type: string
  10779. currisklevel:
  10780. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  10781. type: integer
  10782. decimalplace:
  10783. description: 商品报价小数位
  10784. type: integer
  10785. enumdicname:
  10786. description: 单位名称
  10787. type: string
  10788. goodscode:
  10789. description: 商品代码
  10790. type: string
  10791. goodsid:
  10792. description: 商品ID [5:融资单]
  10793. type: integer
  10794. goodsname:
  10795. description: 商品名称
  10796. type: string
  10797. goodunitid:
  10798. description: 商品单位id
  10799. type: integer
  10800. initmargin:
  10801. description: 初始保证金(首付款)
  10802. type: number
  10803. lenderamount:
  10804. description: 贷款金额(总额|订单总额)
  10805. type: number
  10806. marginratio:
  10807. description: 保证金比率(首付比例)
  10808. type: number
  10809. payamount:
  10810. description: 已付(已付货款)
  10811. type: number
  10812. reckonrecovermargin:
  10813. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  10814. type: number
  10815. recoveredmargin:
  10816. description: 已追缴保证金
  10817. type: number
  10818. remainamount:
  10819. description: 合同剩余金额(融资额)
  10820. type: number
  10821. scfcontractid:
  10822. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10823. type: string
  10824. scfcontractstatus:
  10825. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  10826. 9:违约结束 10:已注销 11:已关闭 99:未提交
  10827. type: integer
  10828. scfcontracttype:
  10829. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  10830. type: integer
  10831. totalinterest:
  10832. description: 已计总利息(利息)
  10833. type: number
  10834. tradeprice:
  10835. description: 成交价格(成本价格)
  10836. type: number
  10837. userid:
  10838. description: 用户ID
  10839. type: integer
  10840. username:
  10841. description: 用户名称
  10842. type: string
  10843. wrqty:
  10844. description: 仓单数量(数量)
  10845. type: number
  10846. type: object
  10847. models.QhjContractLog:
  10848. properties:
  10849. amount:
  10850. description: 支付金额
  10851. type: number
  10852. amounttype:
  10853. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  10854. type: integer
  10855. logid:
  10856. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10857. type: string
  10858. remainamount:
  10859. description: 剩余货款
  10860. type: number
  10861. scfcontractid:
  10862. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10863. type: integer
  10864. updatetime:
  10865. description: 更新时间
  10866. type: string
  10867. type: object
  10868. models.QhjCusBankSignBankEx:
  10869. properties:
  10870. banklst:
  10871. description: 银行列表
  10872. items:
  10873. $ref: '#/definitions/models.QhjBankInfo'
  10874. type: array
  10875. canallot:
  10876. description: 是否支持跨行调拨 - 0:不支持 1:支持
  10877. type: integer
  10878. canallotquery:
  10879. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  10880. type: integer
  10881. canbindcard:
  10882. description: 是否可绑卡与解卡 - 0:不可 1:可以
  10883. type: integer
  10884. caninamount:
  10885. description: 是否可入金 - 0:不可 1:可以
  10886. type: integer
  10887. caninamount2:
  10888. description: 是否可入金(网银端) - 0:不可 1:可以
  10889. type: integer
  10890. canmodifybankcard:
  10891. description: 是否可修改银行卡号 - 0:不可 1:可以
  10892. type: integer
  10893. canmodifyphone:
  10894. description: 是否可修改手机号 - 0:不可 1:可以
  10895. type: integer
  10896. canmodifysigninfo:
  10897. description: 是否可修改签约信息 - 0:不可 1:可以
  10898. type: integer
  10899. canoutamount:
  10900. description: 是否可出金 - 0:不可 1:可以
  10901. type: integer
  10902. canoutamount2:
  10903. description: 是否可出金(网银端) - 0:不可 1:可以
  10904. type: integer
  10905. canrelease:
  10906. description: 是否可解约 - 0:不可 1:可以
  10907. type: integer
  10908. canrelease2:
  10909. description: 是否可解约(网银端) - 0:不可 1:可以
  10910. type: integer
  10911. cansign:
  10912. description: 是否可签约 - 0:不可 1:可以
  10913. type: integer
  10914. cansign2:
  10915. description: 是否可签约(网银端) - 0:不可 1:可以
  10916. type: integer
  10917. currency:
  10918. description: 币种
  10919. type: string
  10920. cusbankid:
  10921. description: 托管银行编号(对应清算中心TRAN_NO)
  10922. type: string
  10923. cusbankname:
  10924. description: 银行业务名称
  10925. type: string
  10926. cusbankshortname:
  10927. description: 银行业务简称
  10928. type: string
  10929. exchbankid:
  10930. description: 交易所开户银行ID
  10931. type: string
  10932. exchpaybankaccname:
  10933. description: 交易所支出结算账户户名
  10934. type: string
  10935. exchpaybankaccno:
  10936. description: 交易所支出结算账户
  10937. type: string
  10938. isneedcheck:
  10939. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  10940. type: integer
  10941. isneedclear:
  10942. description: 是否需要清算 - 0:不需要 1:需要
  10943. type: integer
  10944. lastcheckstatus:
  10945. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  10946. type: integer
  10947. lastchecktime:
  10948. description: 最后对账时间
  10949. type: string
  10950. lastclearstatus:
  10951. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  10952. type: integer
  10953. lastcleartime:
  10954. description: 最后清算时间
  10955. type: string
  10956. lastsignintime:
  10957. description: 最后签到时间
  10958. type: string
  10959. lastsignouttime:
  10960. description: 最后签退时间
  10961. type: string
  10962. riskinfo:
  10963. description: 签约风险提示书
  10964. type: string
  10965. signstatus:
  10966. description: 当前签到/签退状态 - 1:签到 2:签退
  10967. type: integer
  10968. tradedate:
  10969. description: 交易日(yyyyMMdd)
  10970. type: string
  10971. updatetime:
  10972. description: 当前签到/签退更新时间
  10973. type: string
  10974. type: object
  10975. models.QhjCustomer:
  10976. properties:
  10977. address:
  10978. description: 通讯地址
  10979. type: string
  10980. attachment1:
  10981. description: 附件1
  10982. type: string
  10983. attachment2:
  10984. description: 附件2
  10985. type: string
  10986. audittime:
  10987. description: 审核时间
  10988. type: string
  10989. cardbackphotourl:
  10990. description: 证件反面图片地址
  10991. type: string
  10992. cardfrontphotourl:
  10993. description: 证件正面图片地址
  10994. type: string
  10995. cardnum:
  10996. description: 证件号码
  10997. type: string
  10998. cardtype:
  10999. description: 证件类型
  11000. type: integer
  11001. cardtypename:
  11002. description: 证件类型名称
  11003. type: string
  11004. cityid:
  11005. description: 市
  11006. type: integer
  11007. cityname:
  11008. description: 城市名称
  11009. type: string
  11010. contactname:
  11011. description: 联系人
  11012. type: string
  11013. countryid:
  11014. description: 国家
  11015. type: integer
  11016. countryname:
  11017. description: 国家名称
  11018. type: string
  11019. createtime:
  11020. description: 创建时间
  11021. type: string
  11022. customername:
  11023. description: 客户名称
  11024. type: string
  11025. districtid:
  11026. description: 区域
  11027. type: integer
  11028. districtname:
  11029. description: 地区名称
  11030. type: string
  11031. email:
  11032. description: 邮件
  11033. type: string
  11034. legalpersonname:
  11035. description: 法人姓名(企业)
  11036. type: string
  11037. logincode:
  11038. description: 登录账号(代码)
  11039. type: string
  11040. memberuserid:
  11041. description: 所属机构ID(所属会员)
  11042. type: integer
  11043. memberusername:
  11044. description: 所属会员名称
  11045. type: string
  11046. mobile:
  11047. description: 手机号码
  11048. type: string
  11049. modifytime:
  11050. description: 修改时间
  11051. type: string
  11052. nickname:
  11053. description: 昵称
  11054. type: string
  11055. parentuserid:
  11056. description: 上级机构(所属机构)
  11057. type: integer
  11058. parentusername:
  11059. description: 所属机构名称
  11060. type: string
  11061. provinceid:
  11062. description: 省
  11063. type: integer
  11064. provincename:
  11065. description: 省名称
  11066. type: string
  11067. proxystatementurl:
  11068. description: 授权委托书
  11069. type: string
  11070. remark:
  11071. description: 备注
  11072. type: string
  11073. status:
  11074. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  11075. type: integer
  11076. statusdesc:
  11077. description: 账户状态中文描述
  11078. type: string
  11079. taxpayernum:
  11080. description: 纳税人识别号
  11081. type: string
  11082. telphone:
  11083. description: 联系电话
  11084. type: string
  11085. userid:
  11086. description: 用户ID
  11087. type: integer
  11088. userinfotype:
  11089. description: 客户类型 1-个人 2-企业
  11090. type: integer
  11091. username:
  11092. description: 用户名称
  11093. type: string
  11094. type: object
  11095. models.QhjCustomerSignLog:
  11096. properties:
  11097. agreementcontent:
  11098. description: 协议内容
  11099. type: string
  11100. agreementid:
  11101. description: 协议ID
  11102. type: integer
  11103. agreementname:
  11104. description: 协议名称
  11105. type: string
  11106. agreementno:
  11107. description: 协议编号
  11108. type: string
  11109. agreementtype:
  11110. description: 协议类型 - 1:注册 2:登录 3:交易
  11111. type: integer
  11112. agreementversion:
  11113. description: 协议版本号
  11114. type: integer
  11115. createtime:
  11116. description: 创建时间
  11117. type: string
  11118. goodscode:
  11119. description: 商品代码
  11120. type: string
  11121. goodsid:
  11122. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11123. type: integer
  11124. goodsname:
  11125. description: 商品名称
  11126. type: string
  11127. logid:
  11128. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  11129. type: integer
  11130. nodetype:
  11131. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  11132. type: integer
  11133. signadressurl:
  11134. description: 签约文件地址
  11135. type: string
  11136. signtimestamp:
  11137. description: 签约状态时间戳
  11138. type: string
  11139. userid:
  11140. description: 客户ID
  11141. type: integer
  11142. username:
  11143. description: 客户名称
  11144. type: string
  11145. type: object
  11146. models.QhjCustomerSignStatus:
  11147. properties:
  11148. createtime:
  11149. description: 创建时间
  11150. type: string
  11151. goodscode:
  11152. description: 商品代码
  11153. type: string
  11154. goodsid:
  11155. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11156. type: integer
  11157. goodsname:
  11158. description: 商品名称
  11159. type: string
  11160. nodetype:
  11161. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  11162. type: integer
  11163. signtimestamp:
  11164. description: 签约状态时间戳
  11165. type: string
  11166. tradedate:
  11167. description: 创建交易日(yyyyMMdd)
  11168. type: string
  11169. updatetime:
  11170. description: 更新时间
  11171. type: string
  11172. userid:
  11173. description: 客户ID
  11174. type: integer
  11175. username:
  11176. description: 客户名称
  11177. type: string
  11178. type: object
  11179. models.QhjMgrAccountOutInApply:
  11180. properties:
  11181. accountcode:
  11182. description: 资金账号
  11183. type: string
  11184. accountname:
  11185. description: 用户名称(名称)
  11186. type: string
  11187. accountpwd:
  11188. description: 资金密码
  11189. type: string
  11190. accountticket:
  11191. description: 最新账户服务流水号
  11192. type: string
  11193. amount:
  11194. description: 金额
  11195. type: number
  11196. applyremark:
  11197. description: 申请备注
  11198. type: string
  11199. applystatus:
  11200. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  11201. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  11202. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  11203. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  11204. type: integer
  11205. auditid:
  11206. description: 审核人
  11207. type: integer
  11208. audittime:
  11209. description: 审核时间
  11210. type: string
  11211. bank_apply_ticket:
  11212. description: 银行申请流水
  11213. type: string
  11214. bankaccountname:
  11215. description: 银行账户名
  11216. type: string
  11217. bankaccountno:
  11218. description: 银行卡号
  11219. type: string
  11220. bankid:
  11221. description: 银行编号
  11222. type: string
  11223. bankname:
  11224. description: 银行名称
  11225. type: string
  11226. bankticket:
  11227. description: 银行流水
  11228. type: string
  11229. branchbankid:
  11230. description: 银行支行号
  11231. type: string
  11232. branchbankname:
  11233. description: 银行支行名称
  11234. type: string
  11235. capamountout:
  11236. description: 出金(劣后本金) - 外部子账户
  11237. type: number
  11238. certificatephotourl:
  11239. description: 凭证地址
  11240. type: string
  11241. charge:
  11242. description: 手续费
  11243. type: number
  11244. checkerrorflag:
  11245. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  11246. type: integer
  11247. currency:
  11248. description: 币种
  11249. type: string
  11250. cusbankid:
  11251. description: 托管银行编号
  11252. type: string
  11253. exchticket:
  11254. description: 银行服务流水号
  11255. type: string
  11256. executetype:
  11257. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  11258. 7:外部子账户:入金 8:外部子账户:出金'
  11259. type: integer
  11260. extendinfo:
  11261. description: 扩展信息
  11262. type: string
  11263. extoperateid:
  11264. description: 交易服务流水号
  11265. type: integer
  11266. infamount:
  11267. description: 劣后金额(自有)
  11268. type: number
  11269. logincode:
  11270. description: 登录账号(账号)
  11271. type: string
  11272. netaddr:
  11273. description: 调转网址
  11274. type: string
  11275. priamount:
  11276. description: 优先金额(授信)
  11277. type: number
  11278. reauditid:
  11279. description: 复审人
  11280. type: integer
  11281. reauditremark:
  11282. description: 复审备注
  11283. type: string
  11284. reaudittime:
  11285. description: 复审时间
  11286. type: string
  11287. relatedorderid:
  11288. description: 三方关联ID
  11289. type: string
  11290. remark:
  11291. description: 备注
  11292. type: string
  11293. remark2:
  11294. description: 备注(失败原因)
  11295. type: string
  11296. soucreamount:
  11297. description: 原始出入金金额
  11298. type: number
  11299. soucrecurrencyid:
  11300. description: 原始出入金币种
  11301. type: integer
  11302. tradedate:
  11303. description: 交易日(yyyyMMdd)
  11304. type: string
  11305. updatetime:
  11306. description: 更新时间(申请时间)
  11307. type: string
  11308. userid:
  11309. description: 用户id
  11310. type: integer
  11311. userinfotype:
  11312. description: 账户类型 1-个人 2-企业
  11313. type: integer
  11314. type: object
  11315. models.QhjMgrBrokerApply:
  11316. properties:
  11317. applicantid:
  11318. description: 申请人
  11319. type: integer
  11320. applysrc:
  11321. description: 申请来源 - 1:管理端 2:终端
  11322. type: integer
  11323. applystatus:
  11324. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  11325. type: integer
  11326. applytime:
  11327. description: 申请时间
  11328. type: string
  11329. auditorid:
  11330. description: 审核人
  11331. type: integer
  11332. auditremark:
  11333. description: 审核备注
  11334. type: string
  11335. auditsrc:
  11336. description: 审核来源 - 1:管理端 2:终端
  11337. type: integer
  11338. audittime:
  11339. description: 审核时间
  11340. type: string
  11341. audittradedate:
  11342. description: 审核交易日(yyyyMMdd)
  11343. type: string
  11344. brokerapplyid:
  11345. description: 申请ID(SEQ_BROKERAPPLY)
  11346. type: integer
  11347. cardbackphotourl:
  11348. description: 证件背面图片地址
  11349. type: string
  11350. cardfrontphotourl:
  11351. description: 证件正面图片地址
  11352. type: string
  11353. cardnum:
  11354. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  11355. type: string
  11356. customername:
  11357. description: 姓名
  11358. type: string
  11359. filterstatus:
  11360. description: 筛选条件
  11361. type: string
  11362. logincode:
  11363. description: 登录代码
  11364. type: string
  11365. mobile:
  11366. description: 手机号码
  11367. type: string
  11368. parentuserid:
  11369. description: 所属机构id
  11370. type: integer
  11371. parentusername:
  11372. description: 所属机构名称
  11373. type: string
  11374. refereeuserid:
  11375. description: 推荐人id(经纪人)
  11376. type: integer
  11377. refernum:
  11378. description: 推荐码
  11379. type: string
  11380. remark:
  11381. description: 备注
  11382. type: string
  11383. subarealevelpath:
  11384. description: 层级路径
  11385. type: string
  11386. tradedate:
  11387. description: 交易日(yyyyMMdd)
  11388. type: string
  11389. userid:
  11390. description: 申请人用户ID
  11391. type: integer
  11392. userinfotype:
  11393. description: 用户类型 1-个人 2-企业
  11394. type: integer
  11395. username:
  11396. description: 用户名称
  11397. type: string
  11398. type: object
  11399. models.QhjMgrBrokerRewardReport:
  11400. properties:
  11401. createtime:
  11402. description: 创建时间(注册时间)
  11403. type: string
  11404. cycletime:
  11405. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  11406. type: string
  11407. cycletype:
  11408. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  11409. type: integer
  11410. directtotalnum:
  11411. description: 直推总人数【期末】
  11412. type: integer
  11413. indirecttotalnum:
  11414. description: 间推总人数【期末】
  11415. type: integer
  11416. mobile:
  11417. description: 电话号码
  11418. type: string
  11419. refereeuserid:
  11420. description: 推荐人id(经纪人id)
  11421. type: integer
  11422. refereeusername:
  11423. description: 推荐人名称(经纪人) 上级经纪人名称
  11424. type: string
  11425. refernum:
  11426. description: 推荐码
  11427. type: string
  11428. subarealevelpath:
  11429. description: 用户层级路径
  11430. type: string
  11431. todayrewardamount:
  11432. description: 奖励总金额【汇总】
  11433. type: number
  11434. updatetime:
  11435. description: 更新时间
  11436. type: string
  11437. userid:
  11438. description: 经纪人用户ID
  11439. type: integer
  11440. userinfotype:
  11441. description: 用户类型 1-个人 2-企业
  11442. type: integer
  11443. username:
  11444. description: 用户名称
  11445. type: string
  11446. type: object
  11447. models.QhjMgrContract:
  11448. properties:
  11449. contractconfirmtime:
  11450. description: 合同确认时间(时间)
  11451. type: string
  11452. currisklevel:
  11453. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  11454. type: integer
  11455. decimalplace:
  11456. description: 商品报价小数位
  11457. type: integer
  11458. enumdicname:
  11459. description: 单位名称
  11460. type: string
  11461. goodscode:
  11462. description: 商品代码
  11463. type: string
  11464. goodsid:
  11465. description: 商品ID [5:融资单]
  11466. type: integer
  11467. goodsname:
  11468. description: 商品名称
  11469. type: string
  11470. goodunitid:
  11471. description: 商品单位id
  11472. type: integer
  11473. initmargin:
  11474. description: 初始保证金(首付款)
  11475. type: number
  11476. lenderamount:
  11477. description: 贷款金额(总额|订单总额)
  11478. type: number
  11479. logincode:
  11480. description: 账号(登录代码)
  11481. type: string
  11482. marginratio:
  11483. description: 保证金比率(首付比例)
  11484. type: number
  11485. mobile:
  11486. description: 电话号码(用户资料里的电话)
  11487. type: string
  11488. payamount:
  11489. description: 已付(已付货款)
  11490. type: number
  11491. reckonrecovermargin:
  11492. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  11493. type: number
  11494. recoveredmargin:
  11495. description: 已追缴保证金
  11496. type: number
  11497. remainamount:
  11498. description: 合同剩余金额(融资额)
  11499. type: number
  11500. scfcontractid:
  11501. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  11502. type: string
  11503. scfcontractstatus:
  11504. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  11505. 9:违约结束 10:已注销 11:已关闭 99:未提交
  11506. type: integer
  11507. scfcontracttype:
  11508. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  11509. type: integer
  11510. totalinterest:
  11511. description: 已计总利息(利息)
  11512. type: number
  11513. tradedate:
  11514. description: 交易日
  11515. type: string
  11516. tradeprice:
  11517. description: 成交价格(成本价格)
  11518. type: number
  11519. userid:
  11520. description: 用户ID
  11521. type: integer
  11522. userinfotype:
  11523. description: 用户类型 1-个人 2-企业
  11524. type: integer
  11525. username:
  11526. description: 用户名称
  11527. type: string
  11528. wrqty:
  11529. description: 仓单数量(数量)
  11530. type: number
  11531. type: object
  11532. models.QhjMgrCustomer:
  11533. properties:
  11534. address:
  11535. description: 通讯地址
  11536. type: string
  11537. attachment1:
  11538. description: 附件1
  11539. type: string
  11540. audittime:
  11541. description: 审核时间
  11542. type: string
  11543. birthday:
  11544. description: 生日
  11545. type: string
  11546. brokerid:
  11547. description: 所属客户经理id
  11548. type: integer
  11549. brokername:
  11550. description: 所属客户经理名称
  11551. type: string
  11552. cardbackphotourl:
  11553. description: 证件反面图片地址
  11554. type: string
  11555. cardfrontphotourl:
  11556. description: 证件正面图片地址
  11557. type: string
  11558. cardnum:
  11559. description: 证件号码
  11560. type: string
  11561. cardtype:
  11562. description: 证件类型
  11563. type: integer
  11564. cardtypename:
  11565. description: 证件类型名称
  11566. type: string
  11567. cityid:
  11568. description: 市
  11569. type: integer
  11570. cityname:
  11571. description: 城市名称
  11572. type: string
  11573. contactname:
  11574. description: 联系人
  11575. type: string
  11576. countryid:
  11577. description: 国家
  11578. type: integer
  11579. countryname:
  11580. description: 国家名称
  11581. type: string
  11582. createtime:
  11583. description: 创建时间
  11584. type: string
  11585. customername:
  11586. description: 客户名称
  11587. type: string
  11588. districtid:
  11589. description: 区域
  11590. type: integer
  11591. districtname:
  11592. description: 地区名称
  11593. type: string
  11594. email:
  11595. description: 邮件
  11596. type: string
  11597. legalpersonname:
  11598. description: 法人姓名(企业)
  11599. type: string
  11600. logincode:
  11601. description: 登录账号(代码)
  11602. type: string
  11603. memberuserid:
  11604. description: 所属机构ID(所属会员)
  11605. type: integer
  11606. memberusername:
  11607. description: 所属会员名称
  11608. type: string
  11609. mobile:
  11610. description: 手机号码
  11611. type: string
  11612. modifytime:
  11613. description: 修改时间
  11614. type: string
  11615. nickname:
  11616. description: 昵称
  11617. type: string
  11618. parentuserid:
  11619. description: 上级机构(所属机构)
  11620. type: integer
  11621. parentusername:
  11622. description: 所属机构名称
  11623. type: string
  11624. provinceid:
  11625. description: 省
  11626. type: integer
  11627. provincename:
  11628. description: 省名称
  11629. type: string
  11630. proxystatementurl:
  11631. description: 授权委托书
  11632. type: string
  11633. querytype:
  11634. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  11635. type: integer
  11636. remark:
  11637. description: 备注
  11638. type: string
  11639. sex:
  11640. description: 性别 0-女 1-男
  11641. type: integer
  11642. status:
  11643. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过
  11644. ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  11645. type: integer
  11646. statusdesc:
  11647. description: 账户状态中文描述
  11648. type: string
  11649. taxpayernum:
  11650. description: 纳税人识别号
  11651. type: string
  11652. telphone:
  11653. description: 联系电话
  11654. type: string
  11655. userid:
  11656. description: 用户ID
  11657. type: integer
  11658. userinfotype:
  11659. description: 客户类型 1-个人 2-企业
  11660. type: integer
  11661. username:
  11662. description: 用户名称
  11663. type: string
  11664. type: object
  11665. models.QhjMgrPickGoods:
  11666. properties:
  11667. enumdicname:
  11668. description: 单位名称(提货商品)
  11669. type: string
  11670. goodsid:
  11671. description: 商品id
  11672. type: integer
  11673. imageaddress:
  11674. description: 图片
  11675. type: string
  11676. modifierid:
  11677. description: 修改人
  11678. type: integer
  11679. modifiername:
  11680. description: 修改人名称
  11681. type: string
  11682. modifysrc:
  11683. description: 修改来源 - 1:管理端 2:终端
  11684. type: integer
  11685. pickupgoodsagreeunit:
  11686. description: 合约乘数
  11687. type: number
  11688. pickupgoodsdesc:
  11689. description: 描述
  11690. type: string
  11691. pickupgoodsid:
  11692. description: 提货商品ID
  11693. type: string
  11694. pickupgoodsname:
  11695. description: 提货商品名称
  11696. type: string
  11697. pickupgoodsstatus:
  11698. description: 状态 - 1:正常 2:停用 3:注销
  11699. type: integer
  11700. pickupgoodsunitid:
  11701. description: 单位ID
  11702. type: integer
  11703. pickupratio:
  11704. description: 提货系数
  11705. type: number
  11706. preparedays:
  11707. description: 备货期(天)
  11708. type: integer
  11709. remark:
  11710. description: 备注
  11711. type: string
  11712. updatetime:
  11713. description: 更新时间
  11714. type: string
  11715. type: object
  11716. models.QhjMgrPositionRsp:
  11717. properties:
  11718. accountid:
  11719. description: 账号Id
  11720. type: integer
  11721. accountname:
  11722. description: 用户名称
  11723. type: string
  11724. agreeunit:
  11725. description: 合约乘数
  11726. type: number
  11727. averageprice:
  11728. description: 均价
  11729. type: number
  11730. avialqty:
  11731. description: 可用数量
  11732. type: number
  11733. decimalplace:
  11734. description: 报价小数位
  11735. type: integer
  11736. enumdicname:
  11737. description: 单位名称(商品)
  11738. type: string
  11739. frozenqty:
  11740. description: 冻结数量
  11741. type: number
  11742. goodscode:
  11743. description: 商品代码(内部)
  11744. type: string
  11745. goodsid:
  11746. description: 商品Id
  11747. type: integer
  11748. goodsname:
  11749. description: 商品名称
  11750. type: string
  11751. goodunitid:
  11752. description: 报价单位ID
  11753. type: integer
  11754. holderamount:
  11755. description: 金额
  11756. type: number
  11757. holderqty:
  11758. description: 持有数量
  11759. type: number
  11760. holdertype:
  11761. description: 持仓类别 - 1:单边持仓 2:双边持仓
  11762. type: integer
  11763. logincode:
  11764. description: 登录代码(账户)
  11765. type: string
  11766. marketid:
  11767. description: 市场id
  11768. type: integer
  11769. qtydecimalplace:
  11770. description: 成交量小数位
  11771. type: integer
  11772. trademode:
  11773. description: 交易模式
  11774. type: integer
  11775. userid:
  11776. description: 用户id
  11777. type: integer
  11778. userinfotype:
  11779. description: 账户类型 1-个人 2-企业
  11780. type: integer
  11781. type: object
  11782. models.QhjMgrSubArea:
  11783. properties:
  11784. accountname:
  11785. description: 账户名称(机构名称)
  11786. type: string
  11787. memberuserid:
  11788. description: 所属会员ID
  11789. type: integer
  11790. parenttopuser:
  11791. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  11792. type: string
  11793. parentuserid:
  11794. description: 所属机构ID
  11795. type: integer
  11796. rootuserid:
  11797. description: 根用户ID
  11798. type: string
  11799. subaccountlevel:
  11800. description: 子账户层数
  11801. type: integer
  11802. subarealevelpath:
  11803. description: 子机构层级路径(逗号分隔,首尾加逗号)
  11804. type: string
  11805. userid:
  11806. description: 用户ID
  11807. type: integer
  11808. usertype:
  11809. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  11810. type: integer
  11811. type: object
  11812. models.QhjMgrTradeDetailRsp:
  11813. properties:
  11814. accountid:
  11815. description: 资金账号
  11816. type: integer
  11817. accountname:
  11818. description: 用户名称
  11819. type: string
  11820. agreeunit:
  11821. description: 合约乘数
  11822. type: number
  11823. buyorsell:
  11824. description: 成交类型(方向) 0:买 1:卖
  11825. type: integer
  11826. decimalplace:
  11827. description: 报价小数位
  11828. type: integer
  11829. enumdicname:
  11830. description: 单位名称(商品)
  11831. type: string
  11832. goodscode:
  11833. description: 商品代码(内部)
  11834. type: string
  11835. goodsid:
  11836. description: 商品id
  11837. type: integer
  11838. goodsname:
  11839. description: 商品名称
  11840. type: string
  11841. goodunitid:
  11842. description: 报价单位ID
  11843. type: integer
  11844. logincode:
  11845. description: 登录代码(账户)
  11846. type: string
  11847. marketid:
  11848. description: 市场id
  11849. type: integer
  11850. orderid:
  11851. description: 关联委托单号
  11852. type: string
  11853. qtydecimalplace:
  11854. description: 成交量小数位
  11855. type: integer
  11856. tradeamount:
  11857. description: 金额
  11858. type: number
  11859. tradedate:
  11860. description: 交易日
  11861. type: string
  11862. tradeid:
  11863. description: 成交单号
  11864. type: string
  11865. trademode:
  11866. description: 交易模式
  11867. type: integer
  11868. tradeprice:
  11869. description: 价格
  11870. type: number
  11871. tradeqty:
  11872. description: 数量
  11873. type: number
  11874. tradetime:
  11875. description: 成交时间
  11876. type: string
  11877. userid:
  11878. description: 用户id
  11879. type: integer
  11880. userinfotype:
  11881. description: 账户类型 1-个人 2-企业
  11882. type: integer
  11883. type: object
  11884. models.QhjMgrTradeOrderDetailRsp:
  11885. properties:
  11886. accountid:
  11887. description: 资金账号
  11888. type: integer
  11889. accountname:
  11890. description: 用户名称
  11891. type: string
  11892. agreeunit:
  11893. description: 合约乘数
  11894. type: number
  11895. amount:
  11896. description: 金额
  11897. type: number
  11898. decimalplace:
  11899. description: 报价小数位
  11900. type: integer
  11901. enumdicname:
  11902. description: 单位名称(商品)
  11903. type: string
  11904. goodscode:
  11905. description: 商品代码(内部)
  11906. type: string
  11907. goodsid:
  11908. description: 商品id
  11909. type: integer
  11910. goodsname:
  11911. description: 商品名称
  11912. type: string
  11913. goodunitid:
  11914. description: 报价单位ID
  11915. type: integer
  11916. logincode:
  11917. description: 登录代码(账户)
  11918. type: string
  11919. marketid:
  11920. description: 市场id
  11921. type: integer
  11922. orderid:
  11923. description: 关联委托单号
  11924. type: string
  11925. orderprice:
  11926. description: 价格
  11927. type: number
  11928. orderqty:
  11929. description: 数量
  11930. type: number
  11931. orderstatus:
  11932. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  11933. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  11934. 16:成交失败违约(荷兰式竞拍专用)
  11935. type: integer
  11936. ordertime:
  11937. description: 委托时间
  11938. type: string
  11939. qtydecimalplace:
  11940. description: 成交量小数位
  11941. type: integer
  11942. tradedate:
  11943. description: 交易日
  11944. type: string
  11945. trademode:
  11946. description: 交易模式
  11947. type: integer
  11948. userid:
  11949. description: 用户id
  11950. type: integer
  11951. userinfotype:
  11952. description: 账户类型 1-个人 2-企业
  11953. type: integer
  11954. type: object
  11955. models.QhjMgrTradePayOrder:
  11956. properties:
  11957. accountname:
  11958. description: 用户名称
  11959. type: string
  11960. advanceratio:
  11961. description: 首付比率
  11962. type: number
  11963. agreeunit:
  11964. description: 合约乘数
  11965. type: number
  11966. buyaccountid:
  11967. description: 买方账号ID[报价币种]
  11968. type: integer
  11969. buyorderid:
  11970. description: 买方委托单号(关联单号)
  11971. type: string
  11972. createtime:
  11973. description: 创建时间
  11974. type: string
  11975. decimalplace:
  11976. description: 报价小数位
  11977. type: integer
  11978. enumdicname:
  11979. description: 单位名称(商品)
  11980. type: string
  11981. goodscode:
  11982. description: 商品代码(内部)
  11983. type: string
  11984. goodsid:
  11985. description: 商品ID
  11986. type: integer
  11987. goodsname:
  11988. description: 商品名称
  11989. type: string
  11990. goodunitid:
  11991. description: 报价单位ID
  11992. type: integer
  11993. logincode:
  11994. description: 登录代码(账户)
  11995. type: string
  11996. marketid:
  11997. description: 市场id
  11998. type: integer
  11999. offamount:
  12000. description: 优惠金额
  12001. type: number
  12002. operatetype:
  12003. description: 买委托操作类型 - 1:正常下单 16:融资买入
  12004. type: integer
  12005. payamount:
  12006. description: 支付金额(金额)
  12007. type: number
  12008. payflag:
  12009. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  12010. type: integer
  12011. paylimitedtime:
  12012. description: 支付期限
  12013. type: string
  12014. paytime:
  12015. description: 付款时间
  12016. type: string
  12017. qtydecimalplace:
  12018. description: 成交量小数位
  12019. type: integer
  12020. sellaccountid:
  12021. description: 卖方账号ID[报价币种]
  12022. type: integer
  12023. sellorderid:
  12024. description: 卖方委托单号
  12025. type: string
  12026. tradeamount:
  12027. description: 成交金额(优惠后金额)
  12028. type: number
  12029. tradecharge:
  12030. description: 成交手续费(买方)
  12031. type: number
  12032. tradedate:
  12033. description: 交易日(yyyyMMdd)
  12034. type: string
  12035. tradeid:
  12036. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12037. type: string
  12038. trademode:
  12039. description: 交易模式
  12040. type: integer
  12041. tradeprice:
  12042. description: 成交价格(价格)
  12043. type: number
  12044. tradeqty:
  12045. description: 成交数量(数量)
  12046. type: number
  12047. tradetime:
  12048. description: 成交时间
  12049. type: string
  12050. userid:
  12051. description: 用户id
  12052. type: integer
  12053. userinfotype:
  12054. description: 账户类型 1-个人 2-企业
  12055. type: integer
  12056. type: object
  12057. models.QhjMyTeamEx:
  12058. properties:
  12059. accountname:
  12060. description: 用户名称
  12061. type: string
  12062. accountstatus:
  12063. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  12064. type: integer
  12065. createtime:
  12066. description: 创建时间
  12067. type: string
  12068. mobile:
  12069. description: 手机号码
  12070. type: string
  12071. refereeuserid:
  12072. description: 推荐人id
  12073. type: integer
  12074. refernum:
  12075. description: 推荐码
  12076. type: string
  12077. subList:
  12078. items:
  12079. $ref: '#/definitions/models.QhjMyTeamEx'
  12080. type: array
  12081. userid:
  12082. description: 用户id
  12083. type: integer
  12084. userinfotype:
  12085. description: 用户类型 1-个人 2-企业
  12086. type: integer
  12087. type: object
  12088. models.QhjNodeAgreementConfig:
  12089. properties:
  12090. agreementcontent:
  12091. description: 协议内容
  12092. type: string
  12093. agreementid:
  12094. description: 协议ID
  12095. type: integer
  12096. agreementname:
  12097. description: 协议名称
  12098. type: string
  12099. agreementno:
  12100. description: 协议编号
  12101. type: string
  12102. agreementtype:
  12103. description: 协议类型 - 1:注册 2:登录 3:交易
  12104. type: integer
  12105. agreementversion:
  12106. description: 协议版本号
  12107. type: integer
  12108. configid:
  12109. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  12110. type: integer
  12111. createtime:
  12112. description: 创建时间
  12113. type: string
  12114. goodsid:
  12115. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12116. type: integer
  12117. nodetype:
  12118. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12119. type: integer
  12120. type: object
  12121. models.QhjParentAreaList:
  12122. properties:
  12123. accountname:
  12124. description: 账户名称(机构名称)
  12125. type: string
  12126. userid:
  12127. description: 用户ID
  12128. type: integer
  12129. usertype:
  12130. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  12131. type: integer
  12132. type: object
  12133. models.QhjPayOrder:
  12134. properties:
  12135. advanceratio:
  12136. description: 首付比率
  12137. type: number
  12138. buyaccountid:
  12139. description: 买方账号ID[报价币种]
  12140. type: integer
  12141. buyorderid:
  12142. description: 买方委托单号
  12143. type: string
  12144. createtime:
  12145. description: 创建时间
  12146. type: string
  12147. decimalplace:
  12148. description: 商品报价小数位
  12149. type: integer
  12150. enumdicname:
  12151. description: 单位名称
  12152. type: string
  12153. goodscode:
  12154. description: 商品代码
  12155. type: string
  12156. goodsid:
  12157. description: 商品ID
  12158. type: integer
  12159. goodsname:
  12160. description: 商品名称
  12161. type: string
  12162. goodunitid:
  12163. description: 商品单位id
  12164. type: integer
  12165. marketid:
  12166. description: 市场ID
  12167. type: integer
  12168. offamount:
  12169. description: 优惠金额
  12170. type: number
  12171. operatetype:
  12172. description: 买委托操作类型 - 1:正常下单 16:融资买入
  12173. type: integer
  12174. payamount:
  12175. description: 支付金额
  12176. type: number
  12177. payflag:
  12178. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  12179. type: integer
  12180. paylimitedtime:
  12181. description: 支付期限
  12182. type: string
  12183. paytime:
  12184. description: 付款时间
  12185. type: string
  12186. qtydecimalplace:
  12187. description: 成交量小数位
  12188. type: integer
  12189. sellaccountid:
  12190. description: 卖方账号ID[报价币种]
  12191. type: integer
  12192. sellorderid:
  12193. description: 卖方委托单号
  12194. type: string
  12195. tradeamount:
  12196. description: 成交金额(优惠后金额)
  12197. type: number
  12198. tradecharge:
  12199. description: 成交手续费(买方)
  12200. type: number
  12201. tradedate:
  12202. description: 交易日(yyyyMMdd)
  12203. type: string
  12204. tradeid:
  12205. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12206. type: string
  12207. tradeprice:
  12208. description: 成交价格
  12209. type: number
  12210. tradeqty:
  12211. description: 成交数量
  12212. type: number
  12213. type: object
  12214. models.QhjPickArea:
  12215. properties:
  12216. address:
  12217. description: 详细地址
  12218. type: string
  12219. cityid:
  12220. description: 市
  12221. type: integer
  12222. cityname:
  12223. description: 城市名称
  12224. type: string
  12225. countryid:
  12226. description: 国家
  12227. type: integer
  12228. countryname:
  12229. description: 国家名称
  12230. type: string
  12231. districtid:
  12232. description: 地区
  12233. type: integer
  12234. districtname:
  12235. description: 地区名称
  12236. type: string
  12237. fromuserid:
  12238. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  12239. type: integer
  12240. fromusername:
  12241. description: 所属机构名称
  12242. type: string
  12243. provinceid:
  12244. description: 省
  12245. type: integer
  12246. provincename:
  12247. description: 省名称
  12248. type: string
  12249. suborgtype:
  12250. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  12251. type: integer
  12252. userid:
  12253. description: 机构用户ID 其他做市关系,都设置为 1
  12254. type: integer
  12255. username:
  12256. description: 机构用户名称(门店门称)
  12257. type: string
  12258. type: object
  12259. models.QhjPickGoods:
  12260. properties:
  12261. enumdicname:
  12262. description: 单位名称(提货商品)
  12263. type: string
  12264. goodsid:
  12265. description: 商品id
  12266. type: integer
  12267. imageaddress:
  12268. description: 图片
  12269. type: string
  12270. modifierid:
  12271. description: 修改人
  12272. type: integer
  12273. modifiername:
  12274. description: 修改人名称
  12275. type: string
  12276. modifysrc:
  12277. description: 修改来源 - 1:管理端 2:终端
  12278. type: integer
  12279. pickupgoodsagreeunit:
  12280. description: 合约乘数
  12281. type: number
  12282. pickupgoodsdesc:
  12283. description: 描述
  12284. type: string
  12285. pickupgoodsid:
  12286. description: 提货商品ID
  12287. type: string
  12288. pickupgoodsname:
  12289. description: 提货商品名称
  12290. type: string
  12291. pickupgoodsstatus:
  12292. description: 状态 - 1:正常 2:停用 3:注销
  12293. type: integer
  12294. pickupgoodsunitid:
  12295. description: 单位ID
  12296. type: integer
  12297. pickupratio:
  12298. description: 提货系数
  12299. type: number
  12300. preparedays:
  12301. description: 备货期(天)
  12302. type: integer
  12303. remark:
  12304. description: 备注
  12305. type: string
  12306. updatetime:
  12307. description: 更新时间
  12308. type: string
  12309. type: object
  12310. models.QhjRSTriggerLog:
  12311. properties:
  12312. accountid:
  12313. description: 用户资金账户
  12314. type: integer
  12315. accountname:
  12316. description: 账号名称(ACCOUNTID对应的名称)
  12317. type: string
  12318. currencyid:
  12319. description: 币种id
  12320. type: integer
  12321. currencyname:
  12322. description: 币种名称
  12323. type: string
  12324. decimalplace:
  12325. description: 商品报价小数位
  12326. type: integer
  12327. enumdicname:
  12328. description: 单位名称
  12329. type: string
  12330. goodscode:
  12331. description: 定投商品代码
  12332. type: string
  12333. goodsid:
  12334. description: 定投商品ID
  12335. type: integer
  12336. goodsname:
  12337. description: 定投商品名称
  12338. type: string
  12339. goodunitid:
  12340. description: 定投商品单位id
  12341. type: integer
  12342. logid:
  12343. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  12344. type: string
  12345. logincode:
  12346. description: 账号(登录代码)
  12347. type: string
  12348. qtydecimalplace:
  12349. description: 成交量小数位
  12350. type: integer
  12351. regularlycycle:
  12352. description: 定投频率 - 1:每周 2:每月
  12353. type: integer
  12354. regularlycyclevalue:
  12355. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  12356. type: string
  12357. regularlymode:
  12358. description: 定投方式 - 1:按数量 2:按金额
  12359. type: integer
  12360. regularlymodevalue:
  12361. description: 定投方式值 - 数量或金额
  12362. type: number
  12363. regularlystrategyid:
  12364. description: 定投策略ID
  12365. type: integer
  12366. retcode:
  12367. description: 错误码
  12368. type: string
  12369. tradeid:
  12370. description: 成交单ID
  12371. type: string
  12372. triggeramount:
  12373. description: 触发金额
  12374. type: number
  12375. triggerqty:
  12376. description: 触发数量
  12377. type: number
  12378. triggerstatus:
  12379. description: 触发状态 - 1:成功 2:失败
  12380. type: integer
  12381. triggertime:
  12382. description: 触发时间
  12383. type: string
  12384. triggertradedate:
  12385. description: 触发交易日
  12386. type: string
  12387. userid:
  12388. description: 所属用户ID
  12389. type: integer
  12390. userinfotype:
  12391. description: 用户类型 1-个人 2-企业
  12392. type: integer
  12393. username:
  12394. description: 用户名称(userid对应的名称)
  12395. type: string
  12396. type: object
  12397. models.QhjRStrategy:
  12398. properties:
  12399. accountid:
  12400. description: 用户资金账户
  12401. type: integer
  12402. accountname:
  12403. description: 账号名称(ACCOUNTID对应的名称)
  12404. type: string
  12405. currencyid:
  12406. description: 币种id
  12407. type: integer
  12408. currencyname:
  12409. description: 币种名称
  12410. type: string
  12411. decimalplace:
  12412. description: 商品报价小数位
  12413. type: integer
  12414. enumdicname:
  12415. description: 单位名称
  12416. type: string
  12417. goodscode:
  12418. description: 定投商品代码
  12419. type: string
  12420. goodsid:
  12421. description: 定投商品ID
  12422. type: integer
  12423. goodsname:
  12424. description: 定投商品名称
  12425. type: string
  12426. goodunitid:
  12427. description: 定投商品单位id
  12428. type: integer
  12429. lasteffecttradedate:
  12430. description: 最新生效交易日
  12431. type: string
  12432. laststoptradedate:
  12433. description: 最新暂停交易日
  12434. type: string
  12435. lasttriggertradedate:
  12436. description: 最新触发交易日
  12437. type: string
  12438. logincode:
  12439. description: 账号(登录代码)
  12440. type: string
  12441. nexttriggeramount:
  12442. description: 下次触发金额
  12443. type: number
  12444. nexttriggerdate:
  12445. description: 下次触发日期
  12446. type: string
  12447. nexttriggerqty:
  12448. description: 下次触发数量 [按小数位放大值]
  12449. type: number
  12450. qtydecimalplace:
  12451. description: 成交量小数位
  12452. type: integer
  12453. regularlycycle:
  12454. description: 定投频率 - 1:每周 2:每月
  12455. type: integer
  12456. regularlycyclevalue:
  12457. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  12458. type: string
  12459. regularlymode:
  12460. description: 定投方式 - 1:按数量 2:按金额
  12461. type: integer
  12462. regularlymodevalue:
  12463. description: 定投方式值 - 数量或金额
  12464. type: number
  12465. regularlystrategyid:
  12466. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  12467. type: integer
  12468. regularlystrategystatus:
  12469. description: 策略状态 - 1:正常 2:暂停 3:终止
  12470. type: integer
  12471. remark:
  12472. description: 备注
  12473. type: string
  12474. triggersuccesstimes:
  12475. description: 累计定投成功次数
  12476. type: string
  12477. triggertotalamount:
  12478. description: 累计定投金额(成功)
  12479. type: number
  12480. triggertotalqty:
  12481. description: 累计定投数量(成功) [按小数位放大值]
  12482. type: number
  12483. triggertotaltimes:
  12484. description: 累计定投总次数
  12485. type: string
  12486. updatesrc:
  12487. description: 更新来源 - 1:管理端 2:终端
  12488. type: integer
  12489. updatetime:
  12490. description: 更新时间
  12491. type: string
  12492. updatorid:
  12493. description: 更新人
  12494. type: string
  12495. userid:
  12496. description: 所属用户ID
  12497. type: integer
  12498. userinfotype:
  12499. description: 用户类型 1-个人 2-企业
  12500. type: integer
  12501. username:
  12502. description: 用户名称(userid对应的名称)
  12503. type: string
  12504. type: object
  12505. models.QhjReckonPriceLog:
  12506. properties:
  12507. decimalplace:
  12508. description: 商品报价小数位
  12509. type: integer
  12510. goodscode:
  12511. description: 商品代码
  12512. type: string
  12513. goodsid:
  12514. description: 商品ID
  12515. type: integer
  12516. goodsname:
  12517. description: 商品名称
  12518. type: string
  12519. lastreckonprice:
  12520. description: 上日结算价
  12521. type: number
  12522. nextdnlimitprice:
  12523. description: 下个交易日跌停价
  12524. type: number
  12525. nexttrade:
  12526. description: 下个交易日
  12527. type: string
  12528. nextuplimitprice:
  12529. description: 下个交易日涨停价
  12530. type: number
  12531. reckonprice:
  12532. description: 今日结算价(定投价)
  12533. type: number
  12534. reckontime:
  12535. description: 结算时间
  12536. type: string
  12537. totalholderqty:
  12538. description: 总持仓数
  12539. type: integer
  12540. totalstock:
  12541. description: 总库存
  12542. type: integer
  12543. tradedate:
  12544. description: 交易日
  12545. type: string
  12546. updowncount:
  12547. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  12548. type: integer
  12549. updownflag:
  12550. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  12551. type: integer
  12552. updownrate:
  12553. description: 今日涨跌幅
  12554. type: number
  12555. updownrate_2d:
  12556. description: 连续两日涨跌幅
  12557. type: number
  12558. updownrate_3d:
  12559. description: 连续三日涨跌幅
  12560. type: number
  12561. type: object
  12562. models.QhjScoreLog:
  12563. properties:
  12564. accountid:
  12565. description: 账户ID
  12566. type: integer
  12567. createtime:
  12568. description: 创建时间(时间)
  12569. type: string
  12570. goodsid:
  12571. description: 商品ID
  12572. type: integer
  12573. hasuploaded:
  12574. description: 是否已同步(千海金) 0:未同步 1;已同步
  12575. type: integer
  12576. logid:
  12577. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12578. type: string
  12579. marketid:
  12580. description: 市场ID
  12581. type: integer
  12582. relatedamount:
  12583. description: 关联金额
  12584. type: number
  12585. relatedorderid:
  12586. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  12587. type: string
  12588. scoreconfigvalue1:
  12589. description: 积分配置1
  12590. type: integer
  12591. scoreconfigvalue2:
  12592. description: 积分配置1
  12593. type: integer
  12594. scoretype:
  12595. description: 积分类型 - 1:提货积分
  12596. type: integer
  12597. scorevalue:
  12598. description: 积分
  12599. type: number
  12600. tradedate:
  12601. description: 交易日(yyyyMMdd)
  12602. type: string
  12603. uploadedtime:
  12604. description: 同步时间
  12605. type: string
  12606. userid:
  12607. description: 用户ID
  12608. type: integer
  12609. type: object
  12610. models.QhjSiteColumnDetail:
  12611. properties:
  12612. author:
  12613. description: 作者
  12614. type: string
  12615. brief:
  12616. description: 简介
  12617. type: string
  12618. columnid:
  12619. description: 所属栏目
  12620. type: integer
  12621. context:
  12622. description: 内容
  12623. type: string
  12624. coverimage:
  12625. description: 封面图片
  12626. type: string
  12627. creaedate:
  12628. description: 创建时间
  12629. type: string
  12630. creatorid:
  12631. description: 创建人
  12632. type: integer
  12633. hits:
  12634. description: 点击数
  12635. type: integer
  12636. id:
  12637. description: ID(SEQ_SITE_COLUMNDETAIL)
  12638. type: integer
  12639. isshow:
  12640. description: 是否展示 - 0:不展示 1:展示
  12641. type: integer
  12642. istop:
  12643. description: 是否置顶 - 0:不置 1:置顶
  12644. type: integer
  12645. modifierid:
  12646. description: 操作人
  12647. type: integer
  12648. publishdate:
  12649. description: 发布日期
  12650. type: string
  12651. status:
  12652. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  12653. type: integer
  12654. title:
  12655. description: 标题
  12656. type: string
  12657. updatedate:
  12658. description: 修改时间
  12659. type: string
  12660. userid:
  12661. description: 用户ID(默认为0, 核心为为机构用户ID)
  12662. type: integer
  12663. username:
  12664. description: 用户名称
  12665. type: string
  12666. type: object
  12667. models.QhjTeamOrder:
  12668. properties:
  12669. accountid:
  12670. description: 账户ID[报价币种]
  12671. type: integer
  12672. accountname:
  12673. description: 账户名称
  12674. type: string
  12675. agreeunit:
  12676. description: 合约乘数
  12677. type: number
  12678. buyorsell:
  12679. description: 方向 - 0:买 1:卖
  12680. type: integer
  12681. decimalplace:
  12682. description: 报价小数位
  12683. type: integer
  12684. enumdicname:
  12685. description: 单位名称
  12686. type: string
  12687. goodscode:
  12688. description: 商品代码(内部)
  12689. type: string
  12690. goodsid:
  12691. description: 商品ID
  12692. type: integer
  12693. goodsname:
  12694. description: 商品名称
  12695. type: string
  12696. goodunitid:
  12697. description: 报价单位ID
  12698. type: integer
  12699. marketid:
  12700. description: 市场ID
  12701. type: integer
  12702. marketname:
  12703. description: 市场名称
  12704. type: string
  12705. qtydecimalplace:
  12706. description: 成交量小数位
  12707. type: integer
  12708. refereeuserid:
  12709. description: 推荐人ID
  12710. type: integer
  12711. tradeamount:
  12712. description: 成交金额[账户币种,用于所有权]
  12713. type: number
  12714. tradedate:
  12715. description: 交易日(yyyyMMdd)
  12716. type: string
  12717. trademode:
  12718. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12719. 21:竞拍-大宗式 22:受托竞价
  12720. type: integer
  12721. tradeprice:
  12722. description: 成交价格
  12723. type: number
  12724. tradeqty:
  12725. description: 成交数量
  12726. type: number
  12727. tradetime:
  12728. description: 成交时间
  12729. type: string
  12730. userid:
  12731. description: 用户ID
  12732. type: integer
  12733. type: object
  12734. models.QhjTradeGoodsPickup:
  12735. properties:
  12736. accountid:
  12737. description: 账户ID
  12738. type: integer
  12739. address:
  12740. description: 提货人详细地址
  12741. type: string
  12742. amount:
  12743. description: 提货金额
  12744. type: number
  12745. artradedate:
  12746. description: 自动收货交易日(yyyyMMdd)
  12747. type: string
  12748. auditer:
  12749. description: 审核人
  12750. type: integer
  12751. auditsrc:
  12752. description: 更新来源 - 1:管理端 2:终端
  12753. type: integer
  12754. audittime:
  12755. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  12756. type: string
  12757. audittradedate:
  12758. description: 审核交易日(yyyyMMdd)
  12759. type: string
  12760. cardnum:
  12761. description: 提货人证件号码
  12762. type: string
  12763. cardtypeid:
  12764. description: 提货人证件类型
  12765. type: integer
  12766. checkremark:
  12767. description: 审核备注
  12768. type: string
  12769. cityid:
  12770. description: 市
  12771. type: integer
  12772. cityname:
  12773. description: 城市名称
  12774. type: string
  12775. confirmtime:
  12776. description: 取货时间 或 收货时间
  12777. type: string
  12778. countryid:
  12779. description: 国家
  12780. type: integer
  12781. countryname:
  12782. description: 国家名称
  12783. type: string
  12784. decimalplace:
  12785. description: 商品报价小数位
  12786. type: integer
  12787. districtid:
  12788. description: 地区
  12789. type: integer
  12790. districtname:
  12791. description: 地区名称
  12792. type: string
  12793. enumdicname:
  12794. description: 单位名称(提货商品)
  12795. type: string
  12796. expresscompany:
  12797. description: 物流公司
  12798. type: string
  12799. expressnum:
  12800. description: 物流单号
  12801. type: string
  12802. goodsagreeunit:
  12803. description: 交易商品乘数
  12804. type: number
  12805. goodscode:
  12806. description: 商品代码
  12807. type: string
  12808. goodsid:
  12809. description: 商品ID
  12810. type: integer
  12811. goodsname:
  12812. description: 商品名称
  12813. type: string
  12814. goodsqty:
  12815. description: 交易商品手数(69模式按成交量小数位放大取整)
  12816. type: number
  12817. handlestatus:
  12818. description: 处理状态
  12819. type: integer
  12820. logincode:
  12821. description: 账号(登录代码, 有可能为空)
  12822. type: string
  12823. marketid:
  12824. description: 市场ID
  12825. type: integer
  12826. phonenum:
  12827. description: 提货人联系方式
  12828. type: string
  12829. pickupgoodsagreeunit:
  12830. description: 提货商品合约乘数
  12831. type: number
  12832. pickupgoodsid:
  12833. description: 提货商品ID
  12834. type: string
  12835. pickupgoodsname:
  12836. description: 提货商品名称
  12837. type: string
  12838. pickupgoodsqty:
  12839. description: 提货商品手数(数量)
  12840. type: number
  12841. pickupgoodsunitid:
  12842. description: 单位ID(提货商品)
  12843. type: integer
  12844. pickupratio:
  12845. description: 提货系数
  12846. type: number
  12847. preparedays:
  12848. description: 备货期(天)-提货单明细表
  12849. type: integer
  12850. provinceid:
  12851. description: 省
  12852. type: integer
  12853. provincename:
  12854. description: 省名称
  12855. type: string
  12856. qty:
  12857. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  12858. type: number
  12859. qtydecimalplace:
  12860. description: 商品数量小数位
  12861. type: integer
  12862. recivername:
  12863. description: 提货人姓名
  12864. type: string
  12865. reqtime:
  12866. description: 提货申请时间
  12867. type: string
  12868. storeuserid:
  12869. description: 门店用户ID (千海金)
  12870. type: integer
  12871. storeusername:
  12872. description: 门店用户名称
  12873. type: string
  12874. takemode:
  12875. description: 提货方式 - 2:自提 3:配送(邮寄)
  12876. type: integer
  12877. takeorderid:
  12878. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  12879. type: string
  12880. takeorderstatus:
  12881. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  12882. 7:已拒绝 8:已撤销
  12883. type: integer
  12884. takeremark:
  12885. description: 提货备注
  12886. type: string
  12887. tradedate:
  12888. description: 交易日(yyyyMMdd)
  12889. type: string
  12890. updatetime:
  12891. description: 更新时间
  12892. type: string
  12893. userid:
  12894. description: 用户ID
  12895. type: integer
  12896. userinfotype:
  12897. description: 客户类型 1-个人 2-企业
  12898. type: integer
  12899. username:
  12900. description: 用户名称
  12901. type: string
  12902. type: object
  12903. models.QhjUserNodeCfgAndStatus:
  12904. properties:
  12905. agreementcontent:
  12906. description: 协议内容
  12907. type: string
  12908. agreementid:
  12909. description: 协议ID
  12910. type: integer
  12911. agreementname:
  12912. description: 协议名称
  12913. type: string
  12914. agreementno:
  12915. description: 协议编号
  12916. type: string
  12917. agreementtype:
  12918. description: 协议类型 - 1:注册 2:登录 3:交易
  12919. type: integer
  12920. agreementversion:
  12921. description: 协议版本号
  12922. type: integer
  12923. configid:
  12924. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  12925. type: integer
  12926. createtime:
  12927. description: 创建时间
  12928. type: string
  12929. goodsid:
  12930. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12931. type: integer
  12932. nodetype:
  12933. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12934. type: integer
  12935. signtimestamp:
  12936. description: 签约状态时间戳(最近一次)
  12937. type: string
  12938. tradedate:
  12939. description: 签约交易日(yyyyMMdd)
  12940. type: string
  12941. userid:
  12942. description: 客户ID
  12943. type: integer
  12944. type: object
  12945. models.Qhjgoodsex:
  12946. properties:
  12947. canfinance:
  12948. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  12949. type: integer
  12950. canregularlybuy:
  12951. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  12952. type: integer
  12953. defaulttradeuserid:
  12954. description: 默认交易用户ID
  12955. type: integer
  12956. deliverygoodsid:
  12957. description: 现货品种ID
  12958. type: integer
  12959. goodsid:
  12960. description: 商品ID(自增ID SEQ_GOODS)
  12961. type: integer
  12962. minamount:
  12963. description: 最小购买金额
  12964. type: number
  12965. regularlybuyminamount:
  12966. description: 定投最小金额
  12967. type: number
  12968. regularlybuyminqty:
  12969. description: 定投最小数量
  12970. type: number
  12971. spotgoodsbrandid:
  12972. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  12973. type: integer
  12974. visibilityforenterprise:
  12975. description: 企业客户是否可见 - 0:不可见 1:可见
  12976. type: integer
  12977. visibilityforpersonal:
  12978. description: 个人客户是否可见 - 0:不可见 1:可见
  12979. type: integer
  12980. wrstandardid:
  12981. description: 现货商品ID
  12982. type: integer
  12983. type: object
  12984. models.QueryErrorInfosRsp:
  12985. properties:
  12986. description:
  12987. description: 异常描述
  12988. type: string
  12989. errorcode:
  12990. description: 异常代码
  12991. type: string
  12992. errorid:
  12993. description: 异常ID
  12994. type: integer
  12995. modulecode:
  12996. description: 所属模块
  12997. type: string
  12998. operatecode:
  12999. description: 所属操作
  13000. type: string
  13001. rownumber:
  13002. description: 行号
  13003. type: string
  13004. required:
  13005. - errorid
  13006. type: object
  13007. models.QueryHedgeOrderDetailRsp:
  13008. properties:
  13009. accountid:
  13010. description: 账户ID
  13011. type: integer
  13012. buyorsell:
  13013. description: 买卖 - 0:买 1:卖
  13014. type: integer
  13015. cancellogincode:
  13016. description: 撤单人
  13017. type: string
  13018. channelbuildtype:
  13019. description: 开平标志 - 0:无 1:建仓 2:平仓
  13020. type: integer
  13021. channelinnerorderstatus:
  13022. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  13023. 9:全部成交
  13024. type: integer
  13025. channeloperatetype:
  13026. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  13027. type: integer
  13028. closetype:
  13029. description: 平仓方式 - 0:无 1:平今 2:平昨
  13030. type: integer
  13031. curexchangerate:
  13032. description: 当前汇率
  13033. type: number
  13034. decimalplace:
  13035. description: 商品报价小数位
  13036. type: integer
  13037. exchangefullname:
  13038. description: 外部交易所全称
  13039. type: string
  13040. goodscode:
  13041. description: 商品代码(内部)
  13042. type: string
  13043. goodsid:
  13044. description: 商品ID
  13045. type: integer
  13046. goodsname:
  13047. description: 商品名称
  13048. type: string
  13049. marketid:
  13050. description: 市场ID
  13051. type: integer
  13052. openfreezemargin:
  13053. description: 冻结保证金(冻结交易金额)
  13054. type: number
  13055. orderid:
  13056. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13057. type: string
  13058. orderlogincode:
  13059. description: 委托人
  13060. type: string
  13061. orderprice:
  13062. description: 委托价格(账户)
  13063. type: number
  13064. orderqty:
  13065. description: 委托数量
  13066. type: integer
  13067. ordertime:
  13068. description: 委托时间
  13069. type: string
  13070. pricemode:
  13071. description: '取价方式 - 1:市价 2: 限价'
  13072. type: integer
  13073. tradedate:
  13074. description: 交易日(yyyyMMdd)
  13075. type: string
  13076. tradeqty:
  13077. description: 成交数量
  13078. type: integer
  13079. type: object
  13080. models.QueryHedgeTradeDetailRsp:
  13081. properties:
  13082. accountid:
  13083. description: 账号ID
  13084. type: integer
  13085. buyorsell:
  13086. description: 方向 - 0:买 1:卖
  13087. type: integer
  13088. channelbuildtype:
  13089. description: 委托单据类型 0:无 1:建仓 2:平仓
  13090. type: integer
  13091. closecharge:
  13092. description: 平仓手续费(账户)
  13093. type: number
  13094. closecharge2:
  13095. description: 平仓手续费(商品)
  13096. type: number
  13097. closepl:
  13098. description: 平仓盈亏(账户)
  13099. type: number
  13100. closepl2:
  13101. description: 平仓盈亏(商品)
  13102. type: number
  13103. closepl3:
  13104. description: 平仓盈亏(账户)(逐笔)
  13105. type: number
  13106. closepl4:
  13107. description: 平仓盈亏(商品)(逐笔)
  13108. type: number
  13109. closetype:
  13110. description: 平仓方式 - 0:无 1:平今 2:平昨
  13111. type: integer
  13112. curexchangerate:
  13113. description: 当前汇率
  13114. type: number
  13115. decimalplace:
  13116. description: 商品报价小数位
  13117. type: integer
  13118. exchangefullname:
  13119. description: 外部交易所全称
  13120. type: string
  13121. goodscode:
  13122. description: 商品代码(内部)
  13123. type: string
  13124. goodsid:
  13125. description: 商品ID
  13126. type: integer
  13127. goodsname:
  13128. description: 商品名称
  13129. type: string
  13130. marketid:
  13131. description: 市场ID
  13132. type: integer
  13133. opencharge:
  13134. description: 建仓手续费(账户)
  13135. type: number
  13136. opencharge2:
  13137. description: 建仓手续费(商品)
  13138. type: number
  13139. orderid:
  13140. description: 委托单号
  13141. type: string
  13142. orderlogincode:
  13143. description: 委托人
  13144. type: string
  13145. tradeamount:
  13146. description: 成交金额(账户)
  13147. type: number
  13148. tradedate:
  13149. description: 交易日(yyyyMMdd)
  13150. type: string
  13151. tradeid:
  13152. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13153. type: string
  13154. tradeprice:
  13155. description: 成交价格
  13156. type: number
  13157. tradeqty:
  13158. description: 成交数量
  13159. type: integer
  13160. tradetime:
  13161. description: 成交时间
  13162. type: string
  13163. tradetype:
  13164. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  13165. type: integer
  13166. type: object
  13167. models.QuotePrimaryMenu:
  13168. properties:
  13169. Index:
  13170. description: 序号
  13171. type: integer
  13172. Key:
  13173. description: 键名
  13174. type: string
  13175. Name:
  13176. description: 菜单名称
  13177. type: string
  13178. SubMenus:
  13179. description: 子菜单
  13180. items:
  13181. $ref: '#/definitions/models.QuoteSecondaryMenu'
  13182. type: array
  13183. SubTitleType:
  13184. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  13185. type: integer
  13186. TradeModes:
  13187. description: 包含市场交易类型
  13188. type: string
  13189. type: object
  13190. models.QuoteSecondaryMenu:
  13191. properties:
  13192. ExExchangeCode:
  13193. description: 外部交易所代码
  13194. type: string
  13195. ExExchangeID:
  13196. description: 外部交易所ID
  13197. type: integer
  13198. GoodsGroupIDs:
  13199. description: 商品组ID列表
  13200. items:
  13201. type: integer
  13202. type: array
  13203. Index:
  13204. description: 序号
  13205. type: integer
  13206. MarketID:
  13207. description: 市场ID
  13208. type: integer
  13209. MenuTitle:
  13210. description: 菜单标题(市场名称或外部交易所名称)
  13211. type: string
  13212. TradeMode:
  13213. description: 交易模式
  13214. type: integer
  13215. type: object
  13216. models.RoleMenu:
  13217. properties:
  13218. hasright:
  13219. description: 是否有权限 0-没有权限 1-有权限
  13220. type: integer
  13221. iconame:
  13222. description: 菜单图标
  13223. type: string
  13224. menutype:
  13225. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  13226. type: integer
  13227. parentcode:
  13228. description: 上级资源代码
  13229. type: string
  13230. remark:
  13231. description: 菜单备注
  13232. type: string
  13233. resourcecode:
  13234. description: 菜单代码
  13235. type: string
  13236. resourcelevel:
  13237. description: 级别
  13238. type: integer
  13239. resourcename:
  13240. description: 菜单名称
  13241. type: string
  13242. roleid:
  13243. description: 角色id
  13244. type: integer
  13245. sort:
  13246. description: 排序
  13247. type: integer
  13248. subMenu:
  13249. description: 子级菜单(结构同上层一样, swag解析不出来)
  13250. items:
  13251. $ref: '#/definitions/models.RoleMenu'
  13252. type: array
  13253. url:
  13254. description: URL
  13255. type: string
  13256. userid:
  13257. description: 用户id
  13258. type: integer
  13259. type: object
  13260. models.SearchGoods:
  13261. properties:
  13262. goodscode:
  13263. description: 商品代码(内部)
  13264. type: string
  13265. goodsid:
  13266. description: 商品ID(自增ID SEQ_GOODS)
  13267. type: integer
  13268. goodsname:
  13269. description: 商品名称
  13270. type: string
  13271. marketid:
  13272. description: 所属市场ID
  13273. type: integer
  13274. marketname:
  13275. description: 市场名称
  13276. type: string
  13277. trademode:
  13278. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  13279. 21:竞拍-大宗式 22:受托竞价
  13280. type: integer
  13281. required:
  13282. - goodscode
  13283. - goodsid
  13284. - goodsname
  13285. - marketid
  13286. - trademode
  13287. type: object
  13288. models.Systemparam:
  13289. properties:
  13290. loginid:
  13291. description: 更新用户账号,登录账号
  13292. type: string
  13293. modifyflag:
  13294. description: 修改标志0 不允许修改 1 允许修改
  13295. type: integer
  13296. paramcode:
  13297. description: 参数代码
  13298. type: string
  13299. paramname:
  13300. description: 参数名
  13301. type: string
  13302. paramtype:
  13303. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  13304. type: integer
  13305. paramvalue:
  13306. description: 参数值
  13307. type: string
  13308. paramvalue2:
  13309. description: 参数值(CLOB)
  13310. type: string
  13311. regexpress:
  13312. description: 正则表达式
  13313. type: string
  13314. remark:
  13315. description: 备注
  13316. type: string
  13317. serverip:
  13318. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  13319. type: string
  13320. showflag:
  13321. description: 是否显示0 不显示 1 显示
  13322. type: integer
  13323. updatetime:
  13324. description: 更新时间
  13325. type: string
  13326. userid:
  13327. description: 更新用户ID
  13328. type: integer
  13329. required:
  13330. - paramcode
  13331. type: object
  13332. models.Szdz3convertconfig:
  13333. properties:
  13334. canin:
  13335. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  13336. type: integer
  13337. canout:
  13338. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  13339. type: integer
  13340. converttype:
  13341. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  13342. 6:交易转花生米(不设置)
  13343. type: integer
  13344. createtime:
  13345. description: 创建时间
  13346. type: string
  13347. creatorid:
  13348. description: 创建人
  13349. type: integer
  13350. daymaxvalue:
  13351. description: 当日最大转入限制
  13352. type: number
  13353. freezedays:
  13354. description: 冻结天数 [5:花生米转交易]
  13355. type: integer
  13356. innergoodsid:
  13357. description: 内部商品ID[交易]
  13358. type: integer
  13359. inratio:
  13360. description: 目标值
  13361. type: integer
  13362. modifierid:
  13363. description: 修改人
  13364. type: integer
  13365. modifytime:
  13366. description: 修改时间
  13367. type: string
  13368. outergoodscode:
  13369. description: 外部商品代码[JD\PD]
  13370. type: string
  13371. outratio:
  13372. description: 源值
  13373. type: integer
  13374. pddecimalplace:
  13375. description: PD小数位
  13376. type: integer
  13377. timemaxvalue:
  13378. description: 单次最大转入限制
  13379. type: number
  13380. timeminvalue:
  13381. description: 单次最小转入限制
  13382. type: number
  13383. required:
  13384. - converttype
  13385. - innergoodsid
  13386. - outergoodscode
  13387. type: object
  13388. models.Szdz3searchwhitelist:
  13389. properties:
  13390. createtime:
  13391. description: 创建时间
  13392. type: string
  13393. creatorid:
  13394. description: 创建人
  13395. type: integer
  13396. modifierid:
  13397. description: 修改人
  13398. type: integer
  13399. modifytime:
  13400. description: 修改时间
  13401. type: string
  13402. userid:
  13403. description: 用户ID
  13404. type: integer
  13405. required:
  13406. - userid
  13407. type: object
  13408. models.TBGoods:
  13409. properties:
  13410. agreeunit:
  13411. description: 合约乘数
  13412. type: number
  13413. enumdicname:
  13414. description: 单位名称
  13415. type: string
  13416. goodscode:
  13417. description: 商品代码(内部)
  13418. type: string
  13419. goodsid:
  13420. description: 商品ID(自增ID SEQ_GOODS)
  13421. type: integer
  13422. goodsname:
  13423. description: 商品名称
  13424. type: string
  13425. type: object
  13426. models.TBGoodsGroup:
  13427. properties:
  13428. GDLST:
  13429. description: 商品列表
  13430. items:
  13431. $ref: '#/definitions/models.TBGoods'
  13432. type: array
  13433. convertratio:
  13434. description: 折算系数
  13435. type: number
  13436. enumdicname:
  13437. description: 单位名称
  13438. type: string
  13439. exexchangecode:
  13440. description: 交易所代码
  13441. type: string
  13442. exexchangename:
  13443. description: 交易所名称
  13444. type: string
  13445. goodsgroupid:
  13446. description: 商品组ID(自增ID)
  13447. type: integer
  13448. goodsgroupname:
  13449. description: 商品组名称
  13450. type: string
  13451. goodunitid:
  13452. description: 报价单位ID
  13453. type: integer
  13454. type: object
  13455. models.TBMiddleGoods:
  13456. properties:
  13457. GPLST:
  13458. description: 期货品种列表
  13459. items:
  13460. $ref: '#/definitions/models.TBGoodsGroup'
  13461. type: array
  13462. WDLST:
  13463. description: 商品信息列表(现货品类)
  13464. items:
  13465. $ref: '#/definitions/models.TBWrstandard'
  13466. type: array
  13467. areauserid:
  13468. description: 机构用户ID
  13469. type: integer
  13470. enumdicname:
  13471. description: 单位名称
  13472. type: string
  13473. goodsunitid:
  13474. description: 套保品种单位id
  13475. type: integer
  13476. middlegoodscode:
  13477. description: 套保品种代码
  13478. type: string
  13479. middlegoodsid:
  13480. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  13481. type: integer
  13482. middlegoodsname:
  13483. description: 套保品种名称
  13484. type: string
  13485. needarbitrageratio:
  13486. description: 套利比率
  13487. type: number
  13488. needhedgeratio:
  13489. description: 套保比率
  13490. type: number
  13491. type: object
  13492. models.TBWrstandard:
  13493. properties:
  13494. convertratio:
  13495. description: 折算系数
  13496. type: number
  13497. deliverygoodsname:
  13498. description: 品种名称
  13499. type: string
  13500. enumdicname:
  13501. description: 单位名称
  13502. type: string
  13503. vatrate:
  13504. description: 增值税率
  13505. type: number
  13506. wrstandardcode:
  13507. description: 现货商品代码
  13508. type: string
  13509. wrstandardid:
  13510. description: 现货商品ID(SEQ_WRSTANDARD)
  13511. type: integer
  13512. wrstandardname:
  13513. description: 现货商品名称
  13514. type: string
  13515. type: object
  13516. models.Taaccount:
  13517. properties:
  13518. accountflag:
  13519. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  13520. type: integer
  13521. accountid:
  13522. description: 资金账户ID
  13523. type: integer
  13524. accountname:
  13525. description: 账户名称
  13526. type: string
  13527. balance:
  13528. description: 期初余额
  13529. type: number
  13530. capitalbalance:
  13531. description: 本金余额[外部子账户实际出入金余额]
  13532. type: number
  13533. changeflag:
  13534. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  13535. type: integer
  13536. changetime:
  13537. description: 账户状态变更时间
  13538. type: string
  13539. closepl:
  13540. description: 今日平仓盈亏
  13541. type: number
  13542. creditdecrease:
  13543. description: 今日授信减少
  13544. type: number
  13545. creditincrease:
  13546. description: 今日授信增加
  13547. type: number
  13548. curamount:
  13549. description: 总市值(从持仓中统计)
  13550. type: number
  13551. currencyid:
  13552. description: 货币ID
  13553. type: integer
  13554. currentbalance:
  13555. description: 期末余额
  13556. type: number
  13557. freezecharge:
  13558. description: 手续费冻结
  13559. type: number
  13560. freezemargin:
  13561. description: 冻结保证金
  13562. type: number
  13563. fromaccountid:
  13564. description: 所属上级账户
  13565. type: integer
  13566. inamount:
  13567. description: 今日入金金额(包括三方入金)
  13568. type: number
  13569. ismain:
  13570. description: 是否母账号 0:不是母账户 1:是母账户
  13571. type: integer
  13572. ismarketaccount:
  13573. description: 是否机构接单账号 0:不是 1:是
  13574. type: integer
  13575. isreckonaccount:
  13576. description: 是否机构分润账号 0:不是 1:是
  13577. type: integer
  13578. mortgagecredit:
  13579. description: 授信金额
  13580. type: number
  13581. orifreezecharge:
  13582. description: 期初手续费冻结
  13583. type: number
  13584. orifreezemargin:
  13585. description: 期初冻结保证金
  13586. type: number
  13587. orimortgagecredit:
  13588. description: 期初授信金额
  13589. type: number
  13590. oriothercredit:
  13591. description: 期初其它授信金额
  13592. type: number
  13593. oriotherfreezemargin:
  13594. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  13595. type: number
  13596. orioutamountfreeze:
  13597. description: 期初出金冻结
  13598. type: number
  13599. oriusedmargin:
  13600. description: 期初占用保证金
  13601. type: number
  13602. othercredit:
  13603. description: 其它授信金额
  13604. type: number
  13605. othercreditdecrease:
  13606. description: 今日其它授信减少
  13607. type: number
  13608. othercreditincrease:
  13609. description: 今日其它授信增加
  13610. type: number
  13611. otherfreezemargin:
  13612. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  13613. type: number
  13614. otherincome:
  13615. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  13616. type: number
  13617. otherpay:
  13618. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  13619. type: number
  13620. outamount:
  13621. description: 今日出金金额(包括三方出金)
  13622. type: number
  13623. outamountfreeze:
  13624. description: 出金冻结
  13625. type: number
  13626. outthreshold:
  13627. description: 出金阈值
  13628. type: number
  13629. parentaccountid:
  13630. description: 所属根账号
  13631. type: integer
  13632. paycharge:
  13633. description: 今日手续费支出
  13634. type: number
  13635. relatedaccountstatus:
  13636. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  13637. type: integer
  13638. relateduserid:
  13639. description: 关联用户
  13640. type: integer
  13641. remainamount:
  13642. description: 融资额(从融资合同中统计)
  13643. type: number
  13644. serivcegroup:
  13645. description: 服务分组
  13646. type: integer
  13647. signstatus:
  13648. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  13649. type: integer
  13650. sublevelpath:
  13651. description: 账号层级路径(逗号分隔,首尾加逗号)
  13652. type: string
  13653. taaccounttype:
  13654. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  13655. type: integer
  13656. thirdinamount:
  13657. description: 今日三方入金
  13658. type: number
  13659. thirdoutamount:
  13660. description: 今日三方出金
  13661. type: number
  13662. tradestatus:
  13663. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  13664. type: integer
  13665. tradestatuschangetime:
  13666. description: 激活时间
  13667. type: string
  13668. transferamount:
  13669. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  13670. type: number
  13671. usedmargin:
  13672. description: 占用保证金
  13673. type: number
  13674. userid:
  13675. description: 用户ID
  13676. type: integer
  13677. required:
  13678. - accountid
  13679. - userid
  13680. type: object
  13681. models.Tablecolumnconfig:
  13682. properties:
  13683. aligntype:
  13684. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  13685. type: integer
  13686. autoid:
  13687. description: AutoID
  13688. type: integer
  13689. columnfield:
  13690. description: 列字段
  13691. type: string
  13692. columntitle:
  13693. description: 列Title
  13694. type: string
  13695. columnwidth:
  13696. description: 列宽
  13697. type: string
  13698. formatterstring:
  13699. description: 格式化字符
  13700. type: string
  13701. formattertype:
  13702. description: 格式化类型
  13703. type: string
  13704. groupname:
  13705. description: 表头分组名称
  13706. type: string
  13707. isshow:
  13708. description: 是否显示 - 0:不显示 1:显示
  13709. type: integer
  13710. needsummary:
  13711. description: 是否需要汇总 - 0:不需要 1:需要
  13712. type: integer
  13713. orderindex:
  13714. description: 顺序
  13715. type: integer
  13716. remark:
  13717. description: 备注
  13718. type: string
  13719. summarytype:
  13720. description: 汇总类型 - 1:加总 2:最后一个
  13721. type: integer
  13722. tablekey:
  13723. description: 列表Key
  13724. type: string
  13725. required:
  13726. - autoid
  13727. type: object
  13728. models.TjmdMarketSection:
  13729. properties:
  13730. marketsectionid:
  13731. description: 市场版块ID(SEQ_MARKETSECTION)
  13732. type: integer
  13733. marketsectionname:
  13734. description: 市场版块名称
  13735. type: string
  13736. mlist:
  13737. description: 市场列表(板块下面有多少个市场)
  13738. items:
  13739. $ref: '#/definitions/models.TjmdMarketSectionConfig'
  13740. type: array
  13741. orderindex:
  13742. description: 排序
  13743. type: integer
  13744. pictureurl:
  13745. description: 图片url, 规格(90*90)
  13746. type: string
  13747. remark:
  13748. description: 备注
  13749. type: string
  13750. type: object
  13751. models.TjmdMarketSectionConfig:
  13752. properties:
  13753. auctionwrtype:
  13754. description: 仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可
  13755. type: integer
  13756. canacceptquote:
  13757. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  13758. type: integer
  13759. cangoodsexercise:
  13760. description: '[期权]是否可现货行权- 0:否 1:是'
  13761. type: integer
  13762. cangoodsexercisetype:
  13763. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  13764. type: integer
  13765. canmanualquotestrike:
  13766. description: 是否可手动报行权价- 0:否 1:是 [期权]
  13767. type: integer
  13768. canmutistage:
  13769. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  13770. type: integer
  13771. canpreexercise:
  13772. description: '[期权]是否可预申报- 0:否 1:是'
  13773. type: integer
  13774. clearinterval:
  13775. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  13776. type: integer
  13777. contracttmp:
  13778. description: 合同模板[荷兰式][竞价式][仓单贸易]
  13779. type: string
  13780. exchareaid:
  13781. description: 所属交易所,可以没有
  13782. type: integer
  13783. financemarketid:
  13784. description: 融资回购市场ID [仓单贸易]
  13785. type: integer
  13786. goodstype:
  13787. description: 商品类型 - 1:交易商品 2:仓单商品
  13788. type: integer
  13789. hasrebate:
  13790. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  13791. type: integer
  13792. hastradecredit:
  13793. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  13794. type: integer
  13795. haswr:
  13796. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  13797. type: integer
  13798. isdeductmargin:
  13799. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  13800. type: integer
  13801. isrecordsource:
  13802. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  13803. type: integer
  13804. isreleasemargin:
  13805. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  13806. type: integer
  13807. isupdatereckonprice:
  13808. description: 输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)
  13809. type: integer
  13810. listingmode:
  13811. description: 挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  13812. type: integer
  13813. marginformula:
  13814. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  13815. type: integer
  13816. marginformula2:
  13817. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  13818. type: integer
  13819. marketid:
  13820. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  13821. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  13822. type: integer
  13823. marketname:
  13824. description: 市场名称
  13825. type: string
  13826. marketsectionid:
  13827. description: 市场版块ID(SEQ_MARKETSECTION)
  13828. type: integer
  13829. marketserviceid:
  13830. description: 市场服务ID
  13831. type: integer
  13832. marketstatus:
  13833. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  13834. type: integer
  13835. markettype:
  13836. description: 市场类型- 1:非交易服务 2:交易服务
  13837. type: integer
  13838. matchermode:
  13839. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废
  13840. type: integer
  13841. nowrquotaflag:
  13842. description: 是否校验无仓单额度(仓单贸易) 0:否 1:是
  13843. type: integer
  13844. openmethod:
  13845. description: 开盘模式 - 0 自动 1手动
  13846. type: integer
  13847. orderindex:
  13848. description: 排序
  13849. type: integer
  13850. otcuserid:
  13851. description: 场外期权做市商[场外期权]
  13852. type: integer
  13853. outersynctime:
  13854. description: 外部同步时间点(h24:mi:ss)[场外期权]
  13855. type: string
  13856. paylaterflag:
  13857. description: 是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]
  13858. type: integer
  13859. pendingflag:
  13860. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  13861. type: integer
  13862. pendingtime:
  13863. description: 待开市时间[通道交易-对冲](HH:mm)
  13864. type: string
  13865. performancetempid:
  13866. description: 履约计划模板ID - 作废
  13867. type: integer
  13868. premiumquotemode:
  13869. description: 权利金报价方式 - 1:自动 2:手动
  13870. type: integer
  13871. rebateratio:
  13872. description: 返利比率[竞价式]
  13873. type: number
  13874. reckonorder:
  13875. description: 结算顺序
  13876. type: integer
  13877. reckonpricealgorithm:
  13878. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  13879. 6.卖一价 7.买一卖一均价 8.外部结算价'
  13880. type: integer
  13881. reckonpriceparam:
  13882. description: 结算价参数
  13883. type: integer
  13884. reckontime:
  13885. description: 结算时间[通道交易-对冲](HH:mm)
  13886. type: string
  13887. roleprioritytype:
  13888. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  13889. type: integer
  13890. selllistingauditflag:
  13891. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  13892. type: integer
  13893. trademarkettype:
  13894. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  13895. type: integer
  13896. trademode:
  13897. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  13898. 21:竞拍-大宗式 22:受托竞价
  13899. type: integer
  13900. tradeproperty:
  13901. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  13902. 8:场外期权
  13903. type: integer
  13904. tradetype:
  13905. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  13906. type: integer
  13907. updatereckonpriceinterval:
  13908. description: 输入结算价时长(分钟) [1:手工输入(自动)]
  13909. type: integer
  13910. type: object
  13911. models.TjmdQuoteGoods:
  13912. properties:
  13913. buyqty:
  13914. description: 买量(暂不做, 无值, 保留字段)
  13915. type: number
  13916. decimalplace:
  13917. description: 报价小数位
  13918. type: integer
  13919. goodscode:
  13920. description: 合约代码
  13921. type: string
  13922. goodsgroupid:
  13923. description: 商品组ID(自增ID)
  13924. type: integer
  13925. goodsgroupname:
  13926. description: 商品组名称
  13927. type: string
  13928. goodsid:
  13929. description: 合约id
  13930. type: integer
  13931. goodsname:
  13932. description: 合约名称
  13933. type: string
  13934. refgoodscode:
  13935. description: 标的合约代码
  13936. type: string
  13937. refgoodsid:
  13938. description: 标的合约id
  13939. type: integer
  13940. refgoodsname:
  13941. description: 标的合约名称
  13942. type: string
  13943. sellqty:
  13944. description: 卖量(暂不做, 无值, 保留字段)
  13945. type: number
  13946. type: object
  13947. models.TjmdTodayAccountMargin:
  13948. properties:
  13949. accountid:
  13950. description: 账号ID
  13951. type: integer
  13952. goodsid:
  13953. description: 商品ID
  13954. type: integer
  13955. infoc:
  13956. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  13957. description: 配置参数
  13958. marketid:
  13959. description: 市场ID
  13960. type: integer
  13961. type: object
  13962. models.TjmdTradeOrderDetail:
  13963. properties:
  13964. buyorsell:
  13965. description: 买卖方向 0-买 1-卖
  13966. type: integer
  13967. goodsid:
  13968. description: 商品id
  13969. type: integer
  13970. marketmaxsub:
  13971. description: 市价最大偏移范围 [浮动价 - 点差]
  13972. type: number
  13973. orderid:
  13974. description: 委托单号
  13975. type: string
  13976. orderprice:
  13977. description: 委托价格
  13978. type: number
  13979. orderqty:
  13980. description: 委托数量
  13981. type: integer
  13982. pricemode:
  13983. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  13984. type: integer
  13985. userid:
  13986. description: 用户id
  13987. type: integer
  13988. username:
  13989. description: 用户名称(已脱敏)
  13990. type: string
  13991. type: object
  13992. models.TjmdTransferApply:
  13993. properties:
  13994. applyid:
  13995. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  13996. type: integer
  13997. applystatus:
  13998. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  13999. type: integer
  14000. applytime:
  14001. description: 申请时间(时间)
  14002. type: string
  14003. auditremark:
  14004. description: 审核备注(拒绝原因?)
  14005. type: string
  14006. begindate:
  14007. description: 开始交易日(yyyymmdd)
  14008. type: string
  14009. buyorsell:
  14010. description: 买卖 - 0:买 1:卖
  14011. type: integer
  14012. enddate:
  14013. description: 结束交易日(yyyymmdd)
  14014. type: string
  14015. goodscode:
  14016. description: 商品代码
  14017. type: string
  14018. goodsid:
  14019. description: 商品ID
  14020. type: integer
  14021. goodsname:
  14022. description: 商品名称
  14023. type: string
  14024. marketid:
  14025. description: 市场ID
  14026. type: integer
  14027. qty:
  14028. description: 转让数量(数量)
  14029. type: number
  14030. tradeid:
  14031. description: 成交单号(关联持仓)
  14032. type: string
  14033. transferamount:
  14034. description: 转让总金额(金额)
  14035. type: number
  14036. transferprice:
  14037. description: 转让价格(协议价格)
  14038. type: number
  14039. type: object
  14040. models.TradeHolderDetail:
  14041. properties:
  14042. accountid:
  14043. description: 账号ID
  14044. type: integer
  14045. agreeunit:
  14046. description: 合约乘数
  14047. type: number
  14048. buyorsell:
  14049. description: 方向 - 0:买 1:卖
  14050. type: integer
  14051. currencyid:
  14052. description: 商品币种id
  14053. type: integer
  14054. currencyname:
  14055. description: 币种名称
  14056. type: string
  14057. decimalplace:
  14058. description: 商品价格小数位
  14059. type: integer
  14060. enumdicname:
  14061. description: 商品单位名称
  14062. type: string
  14063. expirecycle:
  14064. description: 行权周期(天) - 1:滚动行权时填写
  14065. type: integer
  14066. expiredate:
  14067. description: 行权日(yyyyMMdd) - 到期日
  14068. type: string
  14069. expiretype:
  14070. description: 行权日类型 - 1:滚动行权 2:固定日行权
  14071. type: integer
  14072. freezeqty:
  14073. description: 冻结数量
  14074. type: number
  14075. goodscode:
  14076. description: 商品代码
  14077. type: string
  14078. goodsid:
  14079. description: 商品ID
  14080. type: integer
  14081. goodsname:
  14082. description: 商品名称
  14083. type: string
  14084. goodunitid:
  14085. description: 商品单位id
  14086. type: integer
  14087. holderamount:
  14088. description: 持仓金额
  14089. type: number
  14090. holdercredit:
  14091. description: 持仓授信金额
  14092. type: number
  14093. holderdays:
  14094. description: 剩余冻结天数
  14095. type: integer
  14096. holderprice:
  14097. description: 持仓价格
  14098. type: number
  14099. holderqty:
  14100. description: 持仓数量
  14101. type: number
  14102. isconfirmexercise:
  14103. description: 是否确认行权- 0:否 1:是
  14104. type: integer
  14105. ispreexercise:
  14106. description: 是否预申报- 0:否 1:是 2:不可行权
  14107. type: integer
  14108. marketid:
  14109. description: 市场id
  14110. type: integer
  14111. marketname:
  14112. description: 市场名称
  14113. type: string
  14114. openprice:
  14115. description: 建仓价格
  14116. type: number
  14117. openqty:
  14118. description: 建仓数量
  14119. type: number
  14120. optiontype:
  14121. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  14122. type: integer
  14123. preexerciseprice:
  14124. description: 预申报价格
  14125. type: number
  14126. premium:
  14127. description: 权利金
  14128. type: number
  14129. qtydecimalplace:
  14130. description: 商品成交量小数位
  14131. type: integer
  14132. refgoodscode:
  14133. description: 标的合约代码
  14134. type: string
  14135. refgoodsid:
  14136. description: 标的合约id
  14137. type: integer
  14138. releaseamount:
  14139. description: 释放持仓金额
  14140. type: number
  14141. releaseholdercredit:
  14142. description: 释放持仓授信金额
  14143. type: number
  14144. taname:
  14145. description: 资金账号名称
  14146. type: string
  14147. tradeamount:
  14148. description: 成交金额
  14149. type: number
  14150. tradedate:
  14151. description: 交易日(yyyyMMdd)
  14152. type: string
  14153. tradeid:
  14154. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14155. type: string
  14156. trademode:
  14157. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  14158. 21:竞拍-大宗式 22:受托竞价 46:掉期
  14159. type: integer
  14160. tradeproperty:
  14161. description: 交易属性
  14162. type: integer
  14163. tradetime:
  14164. description: 交易时间
  14165. type: string
  14166. userid:
  14167. description: 用户id
  14168. type: integer
  14169. username:
  14170. description: 用户名称
  14171. type: string
  14172. type: object
  14173. models.UserCollectConfig:
  14174. properties:
  14175. accountstatus:
  14176. description: 账户状态 - 1:正常 2:停用 3:注销
  14177. type: integer
  14178. collectaccountname:
  14179. description: 收款人账户名称
  14180. type: string
  14181. collectaccountno:
  14182. description: 收款人账户
  14183. type: string
  14184. collectbankname:
  14185. description: 收款人开户行
  14186. type: string
  14187. collectbranchbankname:
  14188. description: 收款人开户支行
  14189. type: string
  14190. collectconfigid:
  14191. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  14192. type: string
  14193. remark:
  14194. description: 备注
  14195. type: string
  14196. userid:
  14197. description: 收款人用户ID
  14198. type: integer
  14199. type: object
  14200. models.UserReceiveInfo:
  14201. properties:
  14202. address:
  14203. description: 提货人详细地址
  14204. type: string
  14205. autoid:
  14206. description: AutoID
  14207. type: integer
  14208. cardnum:
  14209. description: 证件号码(加密存储)
  14210. type: string
  14211. cardtypeid:
  14212. description: 证件类型
  14213. type: integer
  14214. cityid:
  14215. description: 市
  14216. type: integer
  14217. cityname:
  14218. description: 城市名称
  14219. type: string
  14220. countryid:
  14221. description: 国家
  14222. type: integer
  14223. countryname:
  14224. description: 国家名称
  14225. type: string
  14226. districtid:
  14227. description: 地区
  14228. type: integer
  14229. districtname:
  14230. description: 地区名称
  14231. type: string
  14232. hasencrypt:
  14233. description: 数据是否已加密 - 0:未加密 1:已加密
  14234. type: integer
  14235. isdefault:
  14236. description: 是否默认地址 - 0:否 1:是
  14237. type: integer
  14238. phonenum:
  14239. description: 提货人联系方式(加密存储)
  14240. type: string
  14241. provinceid:
  14242. description: 省
  14243. type: integer
  14244. provincename:
  14245. description: 省名称
  14246. type: string
  14247. receivername:
  14248. description: 提货人姓名
  14249. type: string
  14250. takeremark:
  14251. description: 提货备注
  14252. type: string
  14253. userid:
  14254. description: 用户ID
  14255. type: integer
  14256. type: object
  14257. models.Useraccount:
  14258. properties:
  14259. accountname:
  14260. description: 账户名称(机构名称)
  14261. type: string
  14262. accountstatus:
  14263. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  14264. type: integer
  14265. applysrc:
  14266. description: 申请来源 - 1:管理端 2:终端
  14267. type: integer
  14268. auditremark:
  14269. description: 审核备注
  14270. type: string
  14271. auditsrc:
  14272. description: 审核来源 - 1:管理端 2:终端
  14273. type: integer
  14274. audittime:
  14275. description: 审核时间
  14276. type: string
  14277. audituserid:
  14278. description: 审核人
  14279. type: integer
  14280. broker:
  14281. description: 所属经纪人ID
  14282. type: integer
  14283. canceltime:
  14284. description: 销户时间
  14285. type: string
  14286. canceluserid:
  14287. description: 销户人
  14288. type: integer
  14289. canrecommend:
  14290. description: 是否可推荐 - 0:不可 1;可
  14291. type: integer
  14292. createtime:
  14293. description: 创建时间
  14294. type: string
  14295. creatorid:
  14296. description: 创建人
  14297. type: integer
  14298. hasauth:
  14299. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  14300. type: integer
  14301. isanonymous:
  14302. description: 是否匿名下单 - 0:否 1:是
  14303. type: integer
  14304. maxinvestornum:
  14305. description: 最大用户数(经纪会员下投资者个数)
  14306. type: integer
  14307. memberuserid:
  14308. description: 所属会员ID
  14309. type: integer
  14310. modifierid:
  14311. description: 修改人
  14312. type: integer
  14313. modifyremark:
  14314. description: 变更备注
  14315. type: string
  14316. modifystatus:
  14317. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  14318. type: integer
  14319. modifytime:
  14320. description: 修改时间
  14321. type: string
  14322. parenttopuser:
  14323. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  14324. type: string
  14325. parentuserid:
  14326. description: 所属机构ID
  14327. type: integer
  14328. reckonaccountid:
  14329. description: 默认结算资金账号ID(机构分润使用) 作废
  14330. type: integer
  14331. refercount:
  14332. description: 推荐总人数
  14333. type: integer
  14334. refereeuserid:
  14335. description: 推荐人ID
  14336. type: integer
  14337. refernum:
  14338. description: 推荐码
  14339. type: string
  14340. rootuserid:
  14341. description: 根用户ID
  14342. type: integer
  14343. subaccountlevel:
  14344. description: 子账户层数
  14345. type: integer
  14346. subarealevelpath:
  14347. description: 子机构层级路径(逗号分隔,首尾加逗号)
  14348. type: string
  14349. userid:
  14350. description: 用户ID
  14351. type: integer
  14352. usertype:
  14353. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  14354. type: integer
  14355. required:
  14356. - userid
  14357. type: object
  14358. models.Userfavoritegoods:
  14359. properties:
  14360. goodsid:
  14361. description: 商品ID
  14362. type: integer
  14363. required:
  14364. - goodsid
  14365. type: object
  14366. models.Userinfo:
  14367. properties:
  14368. address:
  14369. description: 地址
  14370. type: string
  14371. attachment1:
  14372. description: 附件1
  14373. type: string
  14374. attachment2:
  14375. description: 附件2
  14376. type: string
  14377. bankaccount:
  14378. description: 银行帐号 (加密存储)
  14379. type: string
  14380. bankaccountname:
  14381. description: 收款人名称
  14382. type: string
  14383. bankcardfrontphotourl:
  14384. description: 银行卡正面照地址
  14385. type: string
  14386. bankid:
  14387. description: 银行编码
  14388. type: string
  14389. bankname:
  14390. description: 银行名称
  14391. type: string
  14392. biznature:
  14393. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  14394. type: integer
  14395. bizscope:
  14396. description: 企业经营范围(企业)
  14397. type: string
  14398. cardbackphotourl:
  14399. description: 证件背面图片地址
  14400. type: string
  14401. cardfrontphotourl:
  14402. description: 证件正面图片地址
  14403. type: string
  14404. cardnum:
  14405. description: 证件号码(加密存储)
  14406. type: string
  14407. cardtypeid:
  14408. description: 证件类型ID
  14409. type: integer
  14410. cityid:
  14411. description: 市
  14412. type: integer
  14413. company:
  14414. description: 公司(个人)
  14415. type: string
  14416. contactname:
  14417. description: 联系人
  14418. type: string
  14419. countryid:
  14420. description: 国家
  14421. type: integer
  14422. createtime:
  14423. description: 创建时间
  14424. type: string
  14425. creatorid:
  14426. description: 创建人
  14427. type: integer
  14428. customername:
  14429. description: 客户名称(企业名称)
  14430. type: string
  14431. districtid:
  14432. description: 地区
  14433. type: integer
  14434. email:
  14435. description: 邮件(加密存储)
  14436. type: string
  14437. fax:
  14438. description: 传真(加密存储)
  14439. type: string
  14440. halfbodyphotourl:
  14441. description: 半身照地址
  14442. type: string
  14443. hasencrypt:
  14444. description: 数据是否已加密 - 0:未加密 1:已加密
  14445. type: integer
  14446. headurl:
  14447. description: 头像地址
  14448. type: string
  14449. legalcardbackphotourl:
  14450. description: 法人身份证背面照地址
  14451. type: string
  14452. legalcardfrontphotourl:
  14453. description: 法人身份证正面照地址
  14454. type: string
  14455. legalpersonname:
  14456. description: 法人姓名(企业)
  14457. type: string
  14458. mobile:
  14459. description: 手机号码(加密存储)
  14460. type: string
  14461. mobile2:
  14462. description: 手机号码[明文-尚志]
  14463. type: string
  14464. modifierid:
  14465. description: 修改人
  14466. type: integer
  14467. modifiertime:
  14468. description: 修改时间
  14469. type: string
  14470. needinvoice:
  14471. description: 是否需要发票 - 0:不需要 1:需要
  14472. type: integer
  14473. nickname:
  14474. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  14475. type: string
  14476. openmode:
  14477. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  14478. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  14479. type: integer
  14480. otherurl:
  14481. description: 其它图片地址[使用分号分隔]
  14482. type: string
  14483. postalcode:
  14484. description: 邮政编码
  14485. type: string
  14486. provinceid:
  14487. description: 省
  14488. type: integer
  14489. qq:
  14490. description: QQ(加密存储
  14491. type: string
  14492. remark:
  14493. description: 备注
  14494. type: string
  14495. sex:
  14496. description: '用户性别 0: 女 1: 男'
  14497. type: integer
  14498. signpdfurl:
  14499. description: 签约pdf文件
  14500. type: string
  14501. telphone:
  14502. description: 联系电话(加密存储)
  14503. type: string
  14504. userid:
  14505. description: 用户ID
  14506. type: integer
  14507. userinfotype:
  14508. description: 用户信息类型 - 1:个人 2:企业
  14509. type: integer
  14510. userstatus:
  14511. description: 用户状态 - 1:正常 2:注销
  14512. type: integer
  14513. usertype:
  14514. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  14515. type: integer
  14516. wechat:
  14517. description: 微信(加密存储)
  14518. type: string
  14519. wskhinfo:
  14520. description: 开户申请信息(JSON)
  14521. type: string
  14522. required:
  14523. - userid
  14524. type: object
  14525. models.WRSConverTDetail:
  14526. properties:
  14527. convertratio:
  14528. description: 套保系数
  14529. type: number
  14530. deliverygoodscode:
  14531. description: 现货商品代码
  14532. type: string
  14533. deliverygoodsid:
  14534. description: 现货品种ID
  14535. type: integer
  14536. deliverygoodsname:
  14537. description: 现货商品名称
  14538. type: string
  14539. enumdicname:
  14540. description: 单位名称
  14541. type: string
  14542. goodsunitid:
  14543. description: 套保品种单位id
  14544. type: integer
  14545. middlegoodscode:
  14546. description: 套保品种代码
  14547. type: string
  14548. middlegoodsid:
  14549. description: 套保品种ID
  14550. type: integer
  14551. middlegoodsname:
  14552. description: 套保品种名称
  14553. type: string
  14554. modifytime:
  14555. description: 修改时间
  14556. type: string
  14557. wrstandardid:
  14558. description: 品类ID
  14559. type: integer
  14560. type: object
  14561. models.WRStandardInfo:
  14562. properties:
  14563. areauserid:
  14564. description: 所属机构
  14565. type: integer
  14566. convertfactor:
  14567. description: 标仓系数
  14568. type: number
  14569. createtime:
  14570. description: 创建时间
  14571. type: string
  14572. creatorid:
  14573. description: 创建人
  14574. type: integer
  14575. deliverygoodsid:
  14576. description: 品种ID
  14577. type: integer
  14578. deliverygoodsname:
  14579. description: 交割商品名称
  14580. type: string
  14581. factoryitemjson:
  14582. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  14583. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  14584. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  14585. 逗号分隔'
  14586. type: string
  14587. isvalid:
  14588. description: 是否有效 - 0:无效 1:有效
  14589. type: integer
  14590. minivalue:
  14591. description: 最小变动值
  14592. type: integer
  14593. minivaluedp:
  14594. description: 最小变动值小数位
  14595. type: integer
  14596. realminivalue:
  14597. description: 实际最小变动值
  14598. type: integer
  14599. realminivaluedp:
  14600. description: 实际最小变动值小数位
  14601. type: integer
  14602. remark:
  14603. description: 备注
  14604. type: string
  14605. unitid:
  14606. description: 单位ID
  14607. type: integer
  14608. unitname:
  14609. description: 单位
  14610. type: string
  14611. updatetime:
  14612. description: 更新时间
  14613. type: string
  14614. updatorid:
  14615. description: 更新人
  14616. type: integer
  14617. wrsstatus:
  14618. description: 状态 - 作废 - 0:未激活 1:正常
  14619. type: integer
  14620. wrstandardcode:
  14621. description: 现货品类代码
  14622. type: string
  14623. wrstandardid:
  14624. description: 现货品类ID(SEQ_WRSTANDARD)
  14625. type: integer
  14626. wrstandardname:
  14627. description: 现货品类名称
  14628. type: string
  14629. required:
  14630. - wrstandardid
  14631. type: object
  14632. models.WRTradeBargainApply:
  14633. properties:
  14634. accountid:
  14635. description: 摘牌资金账号
  14636. type: integer
  14637. applyprice:
  14638. description: 申请价格(议价价格)
  14639. type: string
  14640. applyqty:
  14641. description: 摘牌数量(议价数量)
  14642. type: number
  14643. applyremark:
  14644. description: 申请备注
  14645. type: string
  14646. applystatus:
  14647. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  14648. type: integer
  14649. applytime:
  14650. description: 申请时间(议价时间)
  14651. type: string
  14652. begindate:
  14653. description: 开始交易日(yyyymmdd)
  14654. type: string
  14655. buyorsell:
  14656. description: 买卖(挂牌类型) - 0:买 1:卖
  14657. type: integer
  14658. confirmremark:
  14659. description: 确认备注
  14660. type: string
  14661. confirmtime:
  14662. description: 确认时间
  14663. type: string
  14664. confirmuserid:
  14665. description: 确认人
  14666. type: integer
  14667. deliverygoodscode:
  14668. description: 品种代码
  14669. type: string
  14670. deliverygoodsid:
  14671. description: 品种ID
  14672. type: integer
  14673. deliverygoodsname:
  14674. description: 品种名称
  14675. type: string
  14676. deliverymonth:
  14677. description: 交收月
  14678. type: string
  14679. enddate:
  14680. description: 结束交易日(yyyymmdd)
  14681. type: string
  14682. enumdicname:
  14683. description: 单位名称
  14684. type: string
  14685. fixedprice:
  14686. description: 挂牌价格
  14687. type: number
  14688. handlestatus:
  14689. description: 处理状态
  14690. type: integer
  14691. marginvalue:
  14692. description: 履约保证金比例
  14693. type: number
  14694. marketid:
  14695. description: 市场ID
  14696. type: integer
  14697. matchaccountid:
  14698. description: 挂牌方资金账号
  14699. type: integer
  14700. matchuserid:
  14701. description: 挂牌方用户id
  14702. type: integer
  14703. matchusername:
  14704. description: 挂牌方用户名称(已脱敏)
  14705. type: string
  14706. minivalue:
  14707. description: 现货商品最小变动值
  14708. type: integer
  14709. optioncompare:
  14710. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14711. type: string
  14712. orderqty:
  14713. description: 挂牌数量
  14714. type: integer
  14715. refprice:
  14716. description: 参考价格
  14717. type: string
  14718. retcode:
  14719. description: 委托返回代码
  14720. type: integer
  14721. templatename:
  14722. description: 履约方式(履约模板名称)
  14723. type: string
  14724. tradedate:
  14725. description: 交易日(yyyyMMdd)
  14726. type: string
  14727. userid:
  14728. description: 摘牌人用户ID(议价人ID)
  14729. type: integer
  14730. username:
  14731. description: 议价人名字(已脱敏)
  14732. type: string
  14733. validtime:
  14734. description: 有效期限
  14735. type: string
  14736. warehouseid:
  14737. description: 仓库ID
  14738. type: integer
  14739. warehousename:
  14740. description: 仓库名称
  14741. type: string
  14742. wrbargainid:
  14743. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  14744. type: string
  14745. wrfactortypeid:
  14746. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14747. type: string
  14748. wrfactortypename:
  14749. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14750. type: string
  14751. wrstandardcode:
  14752. description: 现货商品代码
  14753. type: string
  14754. wrstandardid:
  14755. description: 现货商品ID
  14756. type: integer
  14757. wrstandardname:
  14758. description: 商品名称
  14759. type: string
  14760. wrtradeorderid:
  14761. description: 关联委托单ID
  14762. type: string
  14763. wrtypename:
  14764. description: 商品
  14765. type: string
  14766. type: object
  14767. models.Warehouseinfo:
  14768. properties:
  14769. address:
  14770. description: 详细地址
  14771. type: string
  14772. areauserid:
  14773. description: 所属机构
  14774. type: integer
  14775. autoid:
  14776. description: 自增ID
  14777. type: integer
  14778. cityid:
  14779. description: 市
  14780. type: integer
  14781. contactname:
  14782. description: 联系人
  14783. type: string
  14784. contactnum:
  14785. description: 联系电话
  14786. type: string
  14787. countryid:
  14788. description: 国家
  14789. type: integer
  14790. createtime:
  14791. description: 创建时间
  14792. type: string
  14793. districtid:
  14794. description: 区
  14795. type: integer
  14796. hasvideo:
  14797. description: 是否有视频 - 0:无 1:有
  14798. type: integer
  14799. provinceid:
  14800. description: 省
  14801. type: integer
  14802. remark:
  14803. description: 审核备注
  14804. type: string
  14805. videourl:
  14806. description: 视频地址
  14807. type: string
  14808. warehousecode:
  14809. description: 仓库代码
  14810. type: string
  14811. warehousename:
  14812. description: 仓库名称
  14813. type: string
  14814. warehousestatus:
  14815. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  14816. type: integer
  14817. warehousetype:
  14818. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  14819. type: integer
  14820. required:
  14821. - autoid
  14822. - warehousecode
  14823. type: object
  14824. models.WrAverageTradePrice:
  14825. properties:
  14826. averageprice:
  14827. description: 成交均价
  14828. type: number
  14829. tradedate:
  14830. description: 交易日yyyymm
  14831. type: string
  14832. type: object
  14833. models.WrBsGoodsInfo:
  14834. properties:
  14835. buyorsell:
  14836. description: 买卖方向 0-买 1-卖
  14837. type: integer
  14838. goodsid:
  14839. description: 交易合约ID
  14840. type: integer
  14841. lstitem:
  14842. description: 商品信息项
  14843. items:
  14844. $ref: '#/definitions/models.WrTypeItem'
  14845. type: array
  14846. lststep:
  14847. description: 履约规则
  14848. items:
  14849. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  14850. type: array
  14851. type: object
  14852. models.WrBuybackDetail:
  14853. properties:
  14854. buybackamount:
  14855. description: 回购金额
  14856. type: number
  14857. buybackqty:
  14858. description: 回购数量
  14859. type: number
  14860. buybackreleasemargin:
  14861. description: 回购释放保证金
  14862. type: number
  14863. buybacktime:
  14864. description: 回购时间
  14865. type: string
  14866. errordesc:
  14867. description: 错误描述
  14868. type: string
  14869. handlestatus:
  14870. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  14871. type: integer
  14872. relatedwrid:
  14873. description: 关联仓单ID
  14874. type: integer
  14875. scfcontractid:
  14876. description: SCF合同ID
  14877. type: string
  14878. scfwrbuybackid:
  14879. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  14880. type: integer
  14881. tradedate:
  14882. description: 交易日(yyyyMMdd)
  14883. type: string
  14884. type: object
  14885. models.WrDeliveryAvalidHoldLB:
  14886. properties:
  14887. accountid:
  14888. description: 资金账号
  14889. type: integer
  14890. avalidqty:
  14891. description: 数量(可点选数量)
  14892. type: number
  14893. deliverygoodsid:
  14894. description: 品种id
  14895. type: integer
  14896. enumdicname:
  14897. description: 单位名称
  14898. type: string
  14899. goodsid:
  14900. description: x合约商品id
  14901. type: integer
  14902. ladingbillid:
  14903. description: 提单id
  14904. type: string
  14905. pgoodscode:
  14906. description: p商品代码(点价合约)
  14907. type: string
  14908. pgoodsid:
  14909. description: p商品id(点价合约)
  14910. type: integer
  14911. pgoodsname:
  14912. description: p商品名称(点价合约)
  14913. type: string
  14914. pricemove:
  14915. description: 升贴水
  14916. type: number
  14917. subnum:
  14918. description: 提单子id
  14919. type: integer
  14920. userid:
  14921. description: 用户id
  14922. type: integer
  14923. username:
  14924. description: 仓单持有人
  14925. type: string
  14926. warehousecode:
  14927. description: 仓库代码
  14928. type: string
  14929. warehouseid:
  14930. description: 仓库id
  14931. type: integer
  14932. warehousename:
  14933. description: 仓库名称
  14934. type: string
  14935. wrfactortypeid:
  14936. description: 仓单要素id
  14937. type: string
  14938. wrstandardcode:
  14939. description: 品代码
  14940. type: string
  14941. wrstandardid:
  14942. description: 品类d
  14943. type: integer
  14944. wrstandardname:
  14945. description: 品类名称
  14946. type: string
  14947. wrtypename:
  14948. description: 商品
  14949. type: string
  14950. xgoodscode:
  14951. description: x合约代码
  14952. type: string
  14953. xgoodsname:
  14954. description: x合约名称
  14955. type: string
  14956. type: object
  14957. models.WrDeliveryDetail:
  14958. properties:
  14959. accountid:
  14960. description: 账号ID
  14961. type: integer
  14962. averageprice:
  14963. description: 交割均价 = 交割金额 / 交割数量
  14964. type: number
  14965. begindate:
  14966. description: 开始交易日(yyyymmdd)
  14967. type: string
  14968. buyorsell:
  14969. description: 方向 - 0:买 1:卖
  14970. type: integer
  14971. deliveryamount:
  14972. description: 货款金额(X总货款+P总货款)
  14973. type: number
  14974. deliveryid:
  14975. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  14976. type: string
  14977. deliveryorderid:
  14978. description: 申报单号
  14979. type: string
  14980. deliverypricemove:
  14981. description: 升贴水(升贴水总额)
  14982. type: number
  14983. deliveryqty:
  14984. description: 交收数量(点选数量)
  14985. type: number
  14986. deliverystatus:
  14987. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  14988. type: integer
  14989. deliverytime:
  14990. description: 交割时间
  14991. type: string
  14992. deliverytotalamount:
  14993. description: 交收金额
  14994. type: number
  14995. enddate:
  14996. description: 结束交易日(yyyymmdd)
  14997. type: string
  14998. enumdicname:
  14999. description: 单位名称
  15000. type: string
  15001. matchaccountid:
  15002. description: 对手账号ID
  15003. type: integer
  15004. matchusername:
  15005. description: 对手方名称(仓单持有人)
  15006. type: string
  15007. p1goodsremainamount:
  15008. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  15009. type: number
  15010. pdeliverycloseqty:
  15011. description: p合约平仓数量
  15012. type: number
  15013. pdeliveryprice:
  15014. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  15015. type: number
  15016. pgoodscode:
  15017. description: 商品代码
  15018. type: string
  15019. pgoodsid:
  15020. description: p点选合约id
  15021. type: integer
  15022. pgoodsname:
  15023. description: 商品名称
  15024. type: string
  15025. ppricemode:
  15026. description: 点价价格方式 - 1:商品价 2:固定值
  15027. type: integer
  15028. tradedate:
  15029. description: 交易日(yyyymmdd)
  15030. type: string
  15031. userid:
  15032. description: 用户id
  15033. type: integer
  15034. username:
  15035. description: 用户名称
  15036. type: string
  15037. warehousename:
  15038. description: 仓库名称
  15039. type: string
  15040. wrfactortypeid:
  15041. description: 仓单要素类型ID
  15042. type: string
  15043. wrtypename:
  15044. description: 商品
  15045. type: string
  15046. xdeliverycloseqty:
  15047. description: 合约数量
  15048. type: number
  15049. xgoodsamount:
  15050. description: 合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)
  15051. type: number
  15052. xgoodscode:
  15053. description: 商品代码
  15054. type: string
  15055. xgoodsid:
  15056. description: x交易合约ID
  15057. type: integer
  15058. xgoodsname:
  15059. description: 商品名称
  15060. type: string
  15061. type: object
  15062. models.WrDeliveryGoodsSection:
  15063. properties:
  15064. dglst:
  15065. description: 板块商品列表
  15066. items:
  15067. $ref: '#/definitions/models.WrDeliveryGoodsSectionConfig'
  15068. type: array
  15069. imagepath:
  15070. description: 图片地址
  15071. type: string
  15072. orderindex:
  15073. description: 排序
  15074. type: integer
  15075. sectionid:
  15076. description: 版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType
  15077. = 1的版块1 - 云融指数
  15078. type: integer
  15079. sectionname:
  15080. description: 版块名称
  15081. type: string
  15082. sectiontype:
  15083. description: 版块类型 - 1:指数版块 2:普通版块
  15084. type: integer
  15085. type: object
  15086. models.WrDeliveryGoodsSectionConfig:
  15087. properties:
  15088. deliverygoodscode:
  15089. description: 现货商品代码
  15090. type: string
  15091. deliverygoodsid:
  15092. description: 现货品种ID(SEQ_DELIVERYGOODS)
  15093. type: integer
  15094. deliverygoodsname:
  15095. description: 现货商品名称
  15096. type: string
  15097. orderindex:
  15098. description: 排序
  15099. type: integer
  15100. type: object
  15101. models.WrFAProductDetail:
  15102. properties:
  15103. accountid:
  15104. description: 资金账号
  15105. type: integer
  15106. areauserid:
  15107. description: 金融机构ID
  15108. type: integer
  15109. financingdays:
  15110. description: 天数(天)
  15111. type: integer
  15112. interestminlen:
  15113. description: 最小起息天数
  15114. type: integer
  15115. interestrate:
  15116. description: 利率
  15117. type: number
  15118. interestratemode:
  15119. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  15120. type: integer
  15121. interestsettlemode:
  15122. description: 结息方式 - 1:按日结息 3:按月结息
  15123. type: integer
  15124. interestsettlevalue:
  15125. description: 结息方式值
  15126. type: integer
  15127. isautoloan:
  15128. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  15129. type: integer
  15130. loantag:
  15131. description: '放款标识: "放款快" 或者为空'
  15132. type: string
  15133. marginratio:
  15134. description: 保证金比率质押率 - [仓单质押]
  15135. type: number
  15136. productdetailid:
  15137. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  15138. type: integer
  15139. productid:
  15140. description: 金融产品ID
  15141. type: integer
  15142. productname:
  15143. description: 产品名称
  15144. type: string
  15145. updatetime:
  15146. description: 更新时间
  15147. type: string
  15148. username:
  15149. description: 融出方
  15150. type: string
  15151. type: object
  15152. models.WrFactorTypeInfo:
  15153. properties:
  15154. deliverygoodscode:
  15155. description: 品种代码
  15156. type: string
  15157. deliverygoodsname:
  15158. description: 品种名称
  15159. type: string
  15160. dgfactoryitemid:
  15161. description: 选择项id
  15162. type: integer
  15163. dgfactoryitemtypeid:
  15164. description: 要素选择项ID (1-仓库 2-品牌)
  15165. type: integer
  15166. dgfactoryitemvalue:
  15167. description: 要素项值
  15168. type: string
  15169. itemtypename:
  15170. description: 要素项名称
  15171. type: string
  15172. optioncompare:
  15173. description: 选择比较串
  15174. type: string
  15175. warehouseid:
  15176. description: 仓库id
  15177. type: integer
  15178. wrfactortypeid:
  15179. description: 仓单要素ID
  15180. type: string
  15181. wrfactortypename:
  15182. description: 要素名称
  15183. type: string
  15184. wrfactortypename2:
  15185. description: 要素名称(不含仓库)
  15186. type: string
  15187. wrstandardcode:
  15188. description: 品类代码
  15189. type: string
  15190. wrstandardid:
  15191. description: 品类id
  15192. type: integer
  15193. wrstandardname:
  15194. description: 品类名称
  15195. type: string
  15196. type: object
  15197. models.WrFilterItem:
  15198. properties:
  15199. itemcode:
  15200. description: 代码
  15201. type: string
  15202. itemid:
  15203. description: 项id
  15204. type: integer
  15205. itemname:
  15206. description: 名称
  15207. type: string
  15208. itemtype:
  15209. description: 类型 1-品种 2-品类(商品) 3-仓库
  15210. type: integer
  15211. type: object
  15212. models.WrFinanceBuyApply:
  15213. properties:
  15214. applydate:
  15215. description: 申请时间
  15216. type: string
  15217. applystatus:
  15218. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  15219. type: integer
  15220. applyuserid:
  15221. description: 申请人
  15222. type: integer
  15223. auditdate:
  15224. description: 审核时间
  15225. type: string
  15226. auditremark:
  15227. description: 审核备注
  15228. type: string
  15229. audituserid:
  15230. description: 审核人
  15231. type: integer
  15232. buyaccountid:
  15233. description: 买方资金账号
  15234. type: integer
  15235. buyorsell:
  15236. description: 买卖 - 0:买 1:卖
  15237. type: integer
  15238. buyuserid:
  15239. description: 买方用户ID
  15240. type: integer
  15241. buyusername:
  15242. description: 买方名称
  15243. type: string
  15244. buywrtradeorderid:
  15245. description: 融资方买委托单ID
  15246. type: string
  15247. deliverygoodscode:
  15248. description: 品种代码
  15249. type: string
  15250. deliverygoodsid:
  15251. description: 品种ID
  15252. type: integer
  15253. deliverygoodsname:
  15254. description: 品种名称
  15255. type: string
  15256. deliverymonth:
  15257. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  15258. type: string
  15259. enumdicname:
  15260. description: 单位名称
  15261. type: string
  15262. financeaccountid:
  15263. description: 融资方资金帐户ID
  15264. type: integer
  15265. financeapplyid:
  15266. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15267. type: string
  15268. financeareauserid:
  15269. description: 融资方用户ID
  15270. type: string
  15271. financename:
  15272. description: 融出方名称
  15273. type: string
  15274. financetype:
  15275. description: 融资类型 1-融资回购
  15276. type: integer
  15277. financingdays:
  15278. description: 天数(天)
  15279. type: integer
  15280. freezebuymargin:
  15281. description: 冻结融资保证金(买方)
  15282. type: number
  15283. handleremark:
  15284. description: 处理备注
  15285. type: string
  15286. handlestatus:
  15287. description: 处理状态
  15288. type: integer
  15289. interestminlen:
  15290. description: 最小起息天数
  15291. type: integer
  15292. interestrate:
  15293. description: 利率
  15294. type: number
  15295. interestratemode:
  15296. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  15297. type: integer
  15298. interestsettlemode:
  15299. description: 结息方式 - 1:按日结息 3:按月结息
  15300. type: integer
  15301. interestsettlevalue:
  15302. description: 结息方式值
  15303. type: integer
  15304. isautoloan:
  15305. description: 是否自动放款 - 0:手动 1:自动
  15306. type: integer
  15307. marginratio:
  15308. description: 保证金比率质押率 - [仓单质押]
  15309. type: number
  15310. marketid:
  15311. description: 市场ID
  15312. type: integer
  15313. minivalue:
  15314. description: 现货商品最小变动值
  15315. type: integer
  15316. optioncompare:
  15317. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15318. type: string
  15319. orderqty:
  15320. description: 委托数量(商品数量)
  15321. type: number
  15322. productdetailid:
  15323. description: 产品组合ID
  15324. type: integer
  15325. productid:
  15326. description: 金融产品ID
  15327. type: integer
  15328. productname:
  15329. description: 产品名称
  15330. type: string
  15331. remark:
  15332. description: 备注
  15333. type: string
  15334. scfcontractid:
  15335. description: 仓单回购合同ID
  15336. type: string
  15337. sellaccountid:
  15338. description: 卖方资金账号
  15339. type: integer
  15340. selluserid:
  15341. description: 卖方用户ID
  15342. type: integer
  15343. sellwrtradeorderid:
  15344. description: 卖方委托单ID
  15345. type: string
  15346. tradeamount:
  15347. description: 成交金额(借款金额)
  15348. type: number
  15349. tradedate:
  15350. description: 交易日(yyyyMMdd)
  15351. type: string
  15352. tradeprice:
  15353. description: 成交价格
  15354. type: number
  15355. warehouseid:
  15356. description: 仓库ID
  15357. type: integer
  15358. warehousename:
  15359. description: 仓库名称
  15360. type: string
  15361. wrfactortypeid:
  15362. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15363. type: string
  15364. wrfactortypename:
  15365. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15366. type: string
  15367. wrpricetype:
  15368. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  15369. type: integer
  15370. wrstandardcode:
  15371. description: 现货商品代码
  15372. type: string
  15373. wrstandardid:
  15374. description: 现货商品ID
  15375. type: integer
  15376. wrstandardname:
  15377. description: 商品名称
  15378. type: string
  15379. wrtypename:
  15380. description: 商品
  15381. type: string
  15382. type: object
  15383. models.WrFriendApply:
  15384. properties:
  15385. applicantid:
  15386. description: 申请人
  15387. type: integer
  15388. applyname:
  15389. description: 申请人名称
  15390. type: string
  15391. applysrc:
  15392. description: 申请来源 - 1:管理端 2:终端
  15393. type: integer
  15394. applystatus:
  15395. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  15396. type: integer
  15397. applytime:
  15398. description: 申请时间
  15399. type: string
  15400. auditname:
  15401. description: 审核人名称
  15402. type: string
  15403. auditorid:
  15404. description: 审核人
  15405. type: integer
  15406. auditremark:
  15407. description: 审核备注
  15408. type: string
  15409. auditsrc:
  15410. description: 审核来源 - 1:管理端 2:终端
  15411. type: integer
  15412. audittime:
  15413. description: 审核时间
  15414. type: string
  15415. friendapplyid:
  15416. description: 申请ID(SEQ_FRIENDAPPLY)
  15417. type: string
  15418. friendname:
  15419. description: 好友名字(已脱敏)
  15420. type: string
  15421. frienduserid:
  15422. description: 好友用户ID
  15423. type: string
  15424. remark:
  15425. description: 备注
  15426. type: string
  15427. userid:
  15428. description: 申请人用户ID
  15429. type: integer
  15430. type: object
  15431. models.WrFtDeliveryGoods:
  15432. properties:
  15433. deliverygoodscode:
  15434. description: 品种代码
  15435. type: string
  15436. deliverygoodsid:
  15437. description: 品种ID
  15438. type: integer
  15439. deliverygoodsname:
  15440. description: 品种名称
  15441. type: string
  15442. wdlst:
  15443. description: 商品列表
  15444. items:
  15445. $ref: '#/definitions/models.WrFtWrstandard'
  15446. type: array
  15447. type: object
  15448. models.WrFtWrstandard:
  15449. properties:
  15450. enumdicname:
  15451. description: 单位名称
  15452. type: string
  15453. minivalue:
  15454. description: 最小变动值
  15455. type: integer
  15456. wrstandardcode:
  15457. description: 现货商品代码
  15458. type: string
  15459. wrstandardid:
  15460. description: 现货商品ID
  15461. type: integer
  15462. wrstandardname:
  15463. description: 商品名称
  15464. type: string
  15465. type: object
  15466. models.WrGoodsInfo:
  15467. properties:
  15468. haswr:
  15469. description: 0:仓单预售 1:仓单贸易
  15470. type: integer
  15471. lstitem:
  15472. description: 商品信息项
  15473. items:
  15474. $ref: '#/definitions/models.WrTypeItem'
  15475. type: array
  15476. lststep:
  15477. description: 履约规则
  15478. items:
  15479. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  15480. type: array
  15481. marketid:
  15482. description: 市场id
  15483. type: integer
  15484. type: object
  15485. models.WrGoodsPerformanceStep:
  15486. properties:
  15487. autoid:
  15488. description: AutoID
  15489. type: integer
  15490. isauto:
  15491. description: 是否自动 - 0:不自动 1:自动
  15492. type: integer
  15493. remark:
  15494. description: 备注
  15495. type: string
  15496. stepdate:
  15497. description: 天数信息(T+N)
  15498. type: string
  15499. stepdays:
  15500. description: 距离上一步天数
  15501. type: integer
  15502. stepindex:
  15503. description: 步骤序号
  15504. type: integer
  15505. stepinfo:
  15506. description: 步骤信息(步骤名称+步骤值)
  15507. type: string
  15508. steptypeid:
  15509. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  15510. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  15511. type: integer
  15512. steptypename:
  15513. description: 步骤名称
  15514. type: string
  15515. stepvalue:
  15516. description: 步骤值
  15517. type: number
  15518. templateid:
  15519. description: 履约计划模板ID
  15520. type: integer
  15521. type: object
  15522. models.WrHoldLB:
  15523. properties:
  15524. accountid:
  15525. description: 持有人帐户ID
  15526. type: integer
  15527. createtime:
  15528. description: 创建时间(过户时间)
  15529. type: string
  15530. deliverygoodscode:
  15531. description: 品种代码
  15532. type: string
  15533. deliverygoodsid:
  15534. description: 品种ID
  15535. type: integer
  15536. deliverygoodsname:
  15537. description: 品种名称
  15538. type: string
  15539. enableqty:
  15540. description: 可用数量
  15541. type: number
  15542. enumdicname:
  15543. description: 单位名称
  15544. type: string
  15545. freezerqty:
  15546. description: 冻结数量
  15547. type: number
  15548. ladingbillid:
  15549. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  15550. type: string
  15551. minivalue:
  15552. description: 现货商品最小变动值
  15553. type: integer
  15554. optioncompare:
  15555. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15556. type: string
  15557. parentsubnum:
  15558. description: 拆分父子单号
  15559. type: integer
  15560. pledgeqty:
  15561. description: 质押数量
  15562. type: number
  15563. qty:
  15564. description: 数量
  15565. type: number
  15566. subnum:
  15567. description: 提单子单号
  15568. type: integer
  15569. tradedate:
  15570. description: 交易日(yyyyMMdd)
  15571. type: string
  15572. userid:
  15573. description: 持有人ID
  15574. type: integer
  15575. warehouseid:
  15576. description: 仓库ID
  15577. type: integer
  15578. warehousename:
  15579. description: 仓库名称
  15580. type: string
  15581. wrfactortypeid:
  15582. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15583. type: string
  15584. wrfactortypename:
  15585. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15586. type: string
  15587. wrholdeno:
  15588. description: 仓单编号
  15589. type: string
  15590. wrid:
  15591. description: 仓单变更ID
  15592. type: string
  15593. wrstandardcode:
  15594. description: 现货商品代码
  15595. type: string
  15596. wrstandardid:
  15597. description: 现货商品ID
  15598. type: integer
  15599. wrstandardname:
  15600. description: 商品名称
  15601. type: string
  15602. wrtypename:
  15603. description: 商品
  15604. type: string
  15605. type: object
  15606. models.WrMarketTradeConfig:
  15607. properties:
  15608. basisdownratio:
  15609. description: 浮动价基差下限比例(仓单贸易)
  15610. type: number
  15611. basisupratio:
  15612. description: 浮动价基差上限比例(仓单贸易)
  15613. type: number
  15614. buychargealgorithm:
  15615. description: 买方手续费收取方式 1:比率 2:固定
  15616. type: integer
  15617. buychargealgorithm2:
  15618. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  15619. type: integer
  15620. buychargealgorithmvalue:
  15621. description: 买方手续费设置值(交易所部分)
  15622. type: number
  15623. buychargealgorithmvalue2:
  15624. description: 买方手续费设置值(会员部分)
  15625. type: number
  15626. buychargealgorithmvalue3:
  15627. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  15628. type: number
  15629. buychargealgorithmvalue4:
  15630. description: 回购买方手续费设置值(会员部分) --77:现货商城
  15631. type: number
  15632. buyfirstmarginalgorithm:
  15633. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  15634. type: integer
  15635. buyfirstmarginvalue:
  15636. description: 买方出价保证金设置值 - [竞拍]
  15637. type: number
  15638. buymarginalgorithm:
  15639. description: 买方保证金方式 - 1:比率 2:固定
  15640. type: integer
  15641. buymarginvalue:
  15642. description: 买方保证金设置值
  15643. type: number
  15644. buyreleaseratio:
  15645. description: 买方释放比率[2:分步履约]
  15646. type: number
  15647. executemode:
  15648. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  15649. type: integer
  15650. executeside:
  15651. description: 执行方[2:分步履约] - 1:买方 2:卖方
  15652. type: integer
  15653. failedchargealgorithm:
  15654. description: 流拍手续费收取方式 1:比率 2:固定
  15655. type: integer
  15656. failedchargevalue:
  15657. description: 流拍手续费设置值
  15658. type: number
  15659. failedchargevalue2:
  15660. description: 流拍卖方手续费设置值
  15661. type: number
  15662. holddays:
  15663. description: 合同期限[2:分步履约]
  15664. type: integer
  15665. marketid:
  15666. description: 市场ID-仓单贸易、竞拍、预售
  15667. type: integer
  15668. minqty:
  15669. description: 最小执行量[2:分步履约]
  15670. type: number
  15671. modifierid:
  15672. description: 修改人
  15673. type: integer
  15674. performancetempid:
  15675. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  15676. 立即执行(-1)
  15677. type: integer
  15678. performancetempid2:
  15679. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  15680. 立即执行
  15681. type: integer
  15682. performancetempid2s:
  15683. description: 履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  15684. - 履约方式: 立即执行
  15685. type: string
  15686. performancetempids:
  15687. description: 履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  15688. - 履约方式: 立即执行(-1)
  15689. type: string
  15690. performanceway:
  15691. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  15692. type: integer
  15693. sellchargealgorithm:
  15694. description: 卖方手续费收取方式 1:比率 2:固定
  15695. type: integer
  15696. sellchargealgorithm2:
  15697. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  15698. type: integer
  15699. sellchargealgorithmvalue:
  15700. description: 卖方手续费设置值(交易所部分)
  15701. type: number
  15702. sellchargealgorithmvalue2:
  15703. description: 卖方手续费设置值(会员部分)
  15704. type: number
  15705. sellchargealgorithmvalue3:
  15706. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  15707. type: number
  15708. sellchargealgorithmvalue4:
  15709. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  15710. type: number
  15711. sellmarginalgorithm:
  15712. description: 卖方保证金方式 - 1:比率 2:固定
  15713. type: integer
  15714. sellmarginvalue:
  15715. description: 卖方保证金设置值
  15716. type: number
  15717. sellmarginvalue2:
  15718. description: 卖方保证金设置值(无仓单)
  15719. type: number
  15720. sellreleaseratio:
  15721. description: 卖方释放比率[2:分步履约]
  15722. type: number
  15723. updatetime:
  15724. description: 更新时间
  15725. type: string
  15726. type: object
  15727. models.WrOrderDetail:
  15728. properties:
  15729. accountid:
  15730. description: 交易账号(资金账号)
  15731. type: integer
  15732. allfriendsflag:
  15733. description: 是否全好友可见 - 0:否 1:是
  15734. type: integer
  15735. amount:
  15736. description: 挂牌金额 = 委托数量 * 固定价或升贴水
  15737. type: number
  15738. begindate:
  15739. description: 开始交易日(yyyymmdd)
  15740. type: string
  15741. buyorsell:
  15742. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  15743. type: integer
  15744. canbargain:
  15745. description: 是否可议价 - 0:不可 1:可
  15746. type: integer
  15747. cancelqty:
  15748. description: 撤销数量
  15749. type: number
  15750. canpart:
  15751. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  15752. type: integer
  15753. delistminqty:
  15754. description: 起摘数量
  15755. type: integer
  15756. deliverygoodscode:
  15757. description: 品种代码
  15758. type: string
  15759. deliverygoodsid:
  15760. description: 品种ID
  15761. type: integer
  15762. deliverygoodsname:
  15763. description: 品种名称
  15764. type: string
  15765. deliverymonth:
  15766. description: 交收月
  15767. type: string
  15768. enddate:
  15769. description: 结束交易日(yyyymmdd)
  15770. type: string
  15771. enumdicname:
  15772. description: 单位名称
  15773. type: string
  15774. fixedprice:
  15775. description: 固定价格 - [挂牌]
  15776. type: number
  15777. freezecharge:
  15778. description: 冻结手续费
  15779. type: number
  15780. freezemargin:
  15781. description: 冻结保证金(保证金)
  15782. type: number
  15783. futupricemove:
  15784. description: 期货升贴水
  15785. type: number
  15786. futushow:
  15787. description: 期货合约/升贴水
  15788. type: string
  15789. goodscode:
  15790. description: 期货合约
  15791. type: string
  15792. goodsid:
  15793. description: 期货商品id
  15794. type: integer
  15795. goodsname:
  15796. description: 商品名称
  15797. type: string
  15798. haswr:
  15799. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  15800. type: integer
  15801. isspecified:
  15802. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  15803. type: integer
  15804. ladingbillid:
  15805. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  15806. type: string
  15807. marginvalue:
  15808. description: 保证金设置值(履约保证金)
  15809. type: number
  15810. marketid:
  15811. description: 市场ID
  15812. type: integer
  15813. matchusername:
  15814. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  15815. type: string
  15816. minivalue:
  15817. description: 现货商品最小变动值
  15818. type: integer
  15819. optioncompare:
  15820. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15821. type: string
  15822. orderqty:
  15823. description: 委托数量
  15824. type: number
  15825. ordertime:
  15826. description: 委托时间(挂牌时间)
  15827. type: string
  15828. performancetemplateid:
  15829. description: 履约模板id
  15830. type: integer
  15831. pricemove:
  15832. description: 升贴水(浮动价时填写) - [挂牌]
  15833. type: number
  15834. taname:
  15835. description: 交易用户名称(资金账号名称)
  15836. type: string
  15837. tradedate:
  15838. description: 交易日(yyyyMMdd)
  15839. type: string
  15840. tradeprice:
  15841. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  15842. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  15843. type: number
  15844. tradeqty:
  15845. description: 成交数量
  15846. type: number
  15847. userid:
  15848. description: 用户ID
  15849. type: integer
  15850. validtime:
  15851. description: 挂牌有效期
  15852. type: string
  15853. validtype:
  15854. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  15855. type: integer
  15856. warehouseid:
  15857. description: 仓库ID
  15858. type: integer
  15859. warehousename:
  15860. description: 仓库名称
  15861. type: string
  15862. wrfactortypeid:
  15863. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15864. type: string
  15865. wrfactortypename:
  15866. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15867. type: string
  15868. wrpricetype:
  15869. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  15870. type: integer
  15871. wrstandardcode:
  15872. description: 现货商品代码
  15873. type: string
  15874. wrstandardid:
  15875. description: 现货商品ID
  15876. type: integer
  15877. wrstandardname:
  15878. description: 商品名称
  15879. type: string
  15880. wrtradeorderid:
  15881. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15882. type: string
  15883. wrtradeorderstatus:
  15884. 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:撤单解冻贷款失败
  15885. type: integer
  15886. wrtradetype:
  15887. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  15888. type: integer
  15889. wrtypename:
  15890. description: 商品
  15891. type: string
  15892. type: object
  15893. models.WrOrderQuote:
  15894. properties:
  15895. buyprice:
  15896. description: 买价
  15897. type: number
  15898. buypricemove:
  15899. description: 买升贴水(基差)
  15900. type: number
  15901. buyqty:
  15902. description: 买量
  15903. type: number
  15904. deliverygoodscode:
  15905. description: 品种代码
  15906. type: string
  15907. deliverygoodsid:
  15908. description: 品种id
  15909. type: integer
  15910. deliverygoodsname:
  15911. description: 品种名称
  15912. type: string
  15913. deliverymonth:
  15914. description: 交收月
  15915. type: string
  15916. enumdicname:
  15917. description: 单位名称
  15918. type: string
  15919. goodscode:
  15920. description: 商品合约(浮动价列表才有)
  15921. type: string
  15922. goodsid:
  15923. description: 商品id(浮动价列表才有)
  15924. type: integer
  15925. minivalue:
  15926. description: 现货商品最小变动值
  15927. type: integer
  15928. sellprice:
  15929. description: 卖价
  15930. type: number
  15931. sellpricemove:
  15932. description: 卖升贴水(基差)
  15933. type: number
  15934. sellqty:
  15935. description: 卖量
  15936. type: number
  15937. warehousecode:
  15938. description: 仓库代码
  15939. type: string
  15940. warehouseid:
  15941. description: 仓库id
  15942. type: integer
  15943. warehousename:
  15944. description: 仓库名称
  15945. type: string
  15946. wrfactortypeid:
  15947. description: 仓单要素id
  15948. type: string
  15949. wrfactortypename:
  15950. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15951. type: string
  15952. wrgoodsname:
  15953. description: 商品(商品名称+仓库要素名称 拼接)
  15954. type: string
  15955. wrstandardcode:
  15956. description: 商品代码
  15957. type: string
  15958. wrstandardid:
  15959. description: 商品id
  15960. type: integer
  15961. wrstandardname:
  15962. description: 商品名称
  15963. type: string
  15964. type: object
  15965. models.WrOrderQuoteDetail:
  15966. properties:
  15967. buyorsell:
  15968. description: 买卖 - 0:买 1:卖
  15969. type: integer
  15970. delistminqty:
  15971. description: 起摘数量
  15972. type: number
  15973. deliverymonth:
  15974. description: 交收月
  15975. type: string
  15976. enumdicname:
  15977. description: 单位名称
  15978. type: string
  15979. fixedprice:
  15980. description: 买(卖)价
  15981. type: number
  15982. marketid:
  15983. description: 市场id
  15984. type: integer
  15985. minivalue:
  15986. description: 现货商品最小变动值
  15987. type: integer
  15988. orderqty:
  15989. description: 买(卖)量(=委托量-成交量)
  15990. type: number
  15991. ordertime:
  15992. description: 委托时间
  15993. type: string
  15994. pricemove:
  15995. description: 买(卖)升贴水- 基差
  15996. type: number
  15997. userid:
  15998. description: 购买方(销售方)用户ID
  15999. type: integer
  16000. username:
  16001. description: 购买方(销售方)
  16002. type: string
  16003. wrtradeorderid:
  16004. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16005. type: string
  16006. type: object
  16007. models.WrOutInApply:
  16008. properties:
  16009. applyid:
  16010. description: 申请单id
  16011. type: string
  16012. applystatus:
  16013. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败
  16014. 8:已撤销
  16015. type: integer
  16016. applytime:
  16017. description: 申请时间
  16018. type: string
  16019. applytype:
  16020. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  16021. type: integer
  16022. begindate:
  16023. description: 开始交易日(yyyymmdd)
  16024. type: string
  16025. deliverygoodscode:
  16026. description: 品种代码
  16027. type: string
  16028. deliverygoodsid:
  16029. description: 品种ID
  16030. type: integer
  16031. deliverygoodsname:
  16032. description: 品种名称
  16033. type: string
  16034. enddate:
  16035. description: 结束交易日(yyyymmdd)
  16036. type: string
  16037. enumdicname:
  16038. description: 单位名称
  16039. type: string
  16040. expresscompany:
  16041. description: 物流公司
  16042. type: string
  16043. expressnum:
  16044. description: 物流单号
  16045. type: string
  16046. minivalue:
  16047. description: 现货商品最小变动值
  16048. type: integer
  16049. optioncompare:
  16050. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16051. type: string
  16052. qty:
  16053. description: 数量
  16054. type: integer
  16055. userid:
  16056. description: 用户id
  16057. type: integer
  16058. warehouseid:
  16059. description: 仓库ID
  16060. type: integer
  16061. warehousename:
  16062. description: 仓库名称
  16063. type: string
  16064. wrfactortypeid:
  16065. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16066. type: string
  16067. wrfactortypename:
  16068. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16069. type: string
  16070. wrstandardcode:
  16071. description: 现货商品代码
  16072. type: string
  16073. wrstandardid:
  16074. description: 现货商品ID
  16075. type: integer
  16076. wrstandardname:
  16077. description: 商品名称
  16078. type: string
  16079. wrtypename:
  16080. description: 商品
  16081. type: string
  16082. type: object
  16083. models.WrPerformancePlan:
  16084. properties:
  16085. activatemonth:
  16086. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  16087. type: string
  16088. amount:
  16089. description: 履约金额(总金额)
  16090. type: number
  16091. begindate:
  16092. description: 开始交易日(yyyymmdd)
  16093. type: string
  16094. buyaccountid:
  16095. description: 买方账号
  16096. type: integer
  16097. buyerfreezeamount:
  16098. description: 履约冻结(买履约)
  16099. type: number
  16100. buyerfreezeamountremain:
  16101. description: 履约冻结剩余(买履约)
  16102. type: number
  16103. buyorsell:
  16104. description: 买卖方向 0-买 1-卖
  16105. type: integer
  16106. buypaidamount:
  16107. description: 买方已冻/已扣金额 (已付金额)
  16108. type: number
  16109. buyusername:
  16110. description: 买方名字
  16111. type: string
  16112. contractid:
  16113. description: 合同ID
  16114. type: integer
  16115. createtime:
  16116. description: 创建时间
  16117. type: string
  16118. creatorid:
  16119. description: 创建人
  16120. type: integer
  16121. curstepdeadline:
  16122. description: 当前步骤到期时间
  16123. type: string
  16124. curstepid:
  16125. description: 当前步骤ID
  16126. type: string
  16127. curstepname:
  16128. description: 当前步骤名称
  16129. type: string
  16130. deliverygoodscode:
  16131. description: 品种代码
  16132. type: string
  16133. deliverygoodsid:
  16134. description: 品种ID
  16135. type: integer
  16136. deliverygoodsname:
  16137. description: 品种名称
  16138. type: string
  16139. enddate:
  16140. description: 结束交易日(yyyymmdd)
  16141. type: string
  16142. enumdicname:
  16143. description: 单位名称
  16144. type: string
  16145. expressfee:
  16146. description: 运费
  16147. type: number
  16148. expressfeeconfirmed:
  16149. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  16150. type: integer
  16151. hasovershort:
  16152. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  16153. type: integer
  16154. haswr:
  16155. description: 类型 0-仓单预售 1-仓单贸易
  16156. type: integer
  16157. marketid:
  16158. description: 市场ID
  16159. type: integer
  16160. middleaccountid:
  16161. description: 中间商资金账号ID
  16162. type: integer
  16163. middleuserid:
  16164. description: 中间商用户ID
  16165. type: integer
  16166. minivalue:
  16167. description: 现货商品最小变动值
  16168. type: integer
  16169. optioncompare:
  16170. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16171. type: string
  16172. overshortamount:
  16173. description: 溢短金额
  16174. type: number
  16175. overshortqty:
  16176. description: 溢短数量
  16177. type: number
  16178. paymenttype:
  16179. description: 付款方式 - 1:冻结 2:扣款
  16180. type: integer
  16181. performanceplanid:
  16182. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  16183. type: string
  16184. performancestatus:
  16185. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  16186. 9:超时待处理 10:超时关闭
  16187. type: integer
  16188. performancetype:
  16189. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  16190. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  16191. type: integer
  16192. qty:
  16193. description: 履约数量
  16194. type: number
  16195. relatedorderid:
  16196. description: 关联单号(履约类型的关联单号)
  16197. type: string
  16198. remark:
  16199. description: 备注
  16200. type: string
  16201. sellaccountid:
  16202. description: 卖方账号
  16203. type: integer
  16204. sellerfreezeamount:
  16205. description: 履约冻结(卖履约)
  16206. type: number
  16207. sellerfreezeamountremain:
  16208. description: 履约冻结剩余(卖履约)
  16209. type: number
  16210. sellreceivedamount:
  16211. description: 卖方已收金额
  16212. type: number
  16213. sellusername:
  16214. description: 卖方名字
  16215. type: string
  16216. shipremark:
  16217. description: 发货备注[物流单号]
  16218. type: string
  16219. starttime:
  16220. description: 开始时间
  16221. type: string
  16222. steptypeid:
  16223. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  16224. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  16225. type: integer
  16226. typename:
  16227. description: 履约类型 名称
  16228. type: string
  16229. unpaidamount:
  16230. description: 剩余款(待支付金额)
  16231. type: number
  16232. userid:
  16233. description: 用户id
  16234. type: integer
  16235. warehouseid:
  16236. description: 仓库ID
  16237. type: integer
  16238. warehousename:
  16239. description: 仓库名称
  16240. type: string
  16241. wrfactortypeid:
  16242. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16243. type: string
  16244. wrfactortypename:
  16245. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16246. type: string
  16247. wrstandardcode:
  16248. description: 现货商品代码
  16249. type: string
  16250. wrstandardid:
  16251. description: 现货商品ID
  16252. type: integer
  16253. wrstandardname:
  16254. description: 商品名称
  16255. type: string
  16256. wrtransferuserid:
  16257. description: 仓单受让用户
  16258. type: integer
  16259. wrtypename:
  16260. description: 商品
  16261. type: string
  16262. required:
  16263. - userid
  16264. type: object
  16265. models.WrPerformancePlanStep:
  16266. properties:
  16267. delaydays:
  16268. description: 延期申请天数
  16269. type: integer
  16270. deliverygoodscode:
  16271. description: 品种代码
  16272. type: string
  16273. deliverygoodsid:
  16274. description: 品种ID
  16275. type: integer
  16276. deliverygoodsname:
  16277. description: 品种名称
  16278. type: string
  16279. endtime:
  16280. description: 结束日期
  16281. type: string
  16282. enumdicname:
  16283. description: 单位名称
  16284. type: string
  16285. executeside:
  16286. description: 步骤执行方 - 1:买方 2:卖方
  16287. type: integer
  16288. handlestatus:
  16289. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败
  16290. 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求
  16291. 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  16292. type: integer
  16293. isauto:
  16294. description: 是否自动 - 0:不自动 1:自动
  16295. type: integer
  16296. islastreceivestep:
  16297. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  16298. type: integer
  16299. minivalue:
  16300. description: 现货商品最小变动值
  16301. type: integer
  16302. optioncompare:
  16303. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16304. type: string
  16305. overdays:
  16306. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  16307. type: integer
  16308. performancestepid:
  16309. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  16310. type: string
  16311. planid:
  16312. description: 所属履约计划ID
  16313. type: string
  16314. realamount:
  16315. description: 实际完成金额
  16316. type: number
  16317. relatedorderid:
  16318. description: 关联单号
  16319. type: string
  16320. remaindays:
  16321. description: 剩余天数
  16322. type: integer
  16323. remark:
  16324. description: 错误备注
  16325. type: string
  16326. starttime:
  16327. description: 开始日期
  16328. type: string
  16329. stepamount:
  16330. description: 步骤金额
  16331. type: number
  16332. stepdays:
  16333. description: 距离上一步天数(分钟)
  16334. type: integer
  16335. stepindex:
  16336. description: 步骤序号
  16337. type: integer
  16338. steplanchtype:
  16339. description: 步骤启动类型 - 1:系统自动 2:手动
  16340. type: integer
  16341. stepremark:
  16342. description: 步骤备注
  16343. type: string
  16344. stepstatus:
  16345. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  16346. type: integer
  16347. steptypeid:
  16348. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  16349. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  16350. type: integer
  16351. steptypename:
  16352. description: 步骤名称
  16353. type: string
  16354. stepvalue:
  16355. description: 步骤值
  16356. type: number
  16357. warehouseid:
  16358. description: 仓库ID
  16359. type: integer
  16360. warehousename:
  16361. description: 仓库名称
  16362. type: string
  16363. wrfactortypeid:
  16364. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16365. type: string
  16366. wrfactortypename:
  16367. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16368. type: string
  16369. wrstandardcode:
  16370. description: 现货商品代码
  16371. type: string
  16372. wrstandardid:
  16373. description: 现货商品ID
  16374. type: integer
  16375. wrstandardname:
  16376. description: 商品名称
  16377. type: string
  16378. wrtypename:
  16379. description: 商品
  16380. type: string
  16381. type: object
  16382. models.WrPerformanceStepType:
  16383. properties:
  16384. canauto:
  16385. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  16386. type: integer
  16387. steptypeid:
  16388. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  16389. type: integer
  16390. steptypename:
  16391. description: 步骤类型名称
  16392. type: string
  16393. type: object
  16394. models.WrPerformanceTemplateEx:
  16395. properties:
  16396. autoid:
  16397. description: AutoID 模板id
  16398. type: integer
  16399. createtime:
  16400. description: 创建时间
  16401. type: string
  16402. creatorid:
  16403. description: 创建人
  16404. type: integer
  16405. lstStep:
  16406. description: 步骤信息列表
  16407. items:
  16408. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  16409. type: array
  16410. paymenttype:
  16411. description: 支付方式 - 1:冻结 2:扣款
  16412. type: integer
  16413. takemode:
  16414. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  16415. type: integer
  16416. templatename:
  16417. description: 模板名称
  16418. type: string
  16419. templatetype:
  16420. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  16421. (无仓单) 5:挂牌期权 6:竞拍-降价式
  16422. type: integer
  16423. userid:
  16424. description: 所属用户
  16425. type: integer
  16426. type: object
  16427. models.WrPosition:
  16428. properties:
  16429. accountid:
  16430. description: 帐户ID
  16431. type: integer
  16432. buyexcuteqty:
  16433. description: 采购履约中数量
  16434. type: number
  16435. creditcurqty:
  16436. description: 授信当前数量(预售仓单:预售当前量)
  16437. type: number
  16438. creditenableqty:
  16439. description: '授信可用数量(预售仓单: 可用数量)'
  16440. type: number
  16441. creditfreezeqty:
  16442. description: '授信冻结数量(预售仓单: 当前数量)'
  16443. type: number
  16444. credittotalqty:
  16445. description: 授信总数量(预售仓单:预售总量)
  16446. type: number
  16447. credittradeqty:
  16448. description: 授信成交数量(预售仓单:成交总量)
  16449. type: number
  16450. deliverygoodscode:
  16451. description: 品种代码
  16452. type: string
  16453. deliverygoodsid:
  16454. description: 品种ID
  16455. type: integer
  16456. deliverygoodsname:
  16457. description: 品种名称
  16458. type: string
  16459. enalbeqty:
  16460. description: 可用数量
  16461. type: number
  16462. enumdicname:
  16463. description: 单位名称
  16464. type: string
  16465. freezeqty:
  16466. description: 总冻结数量
  16467. type: number
  16468. haswr:
  16469. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16470. type: integer
  16471. minivalue:
  16472. description: 现货商品最小变动值
  16473. type: integer
  16474. modifytime:
  16475. description: 修改时间(过户时间)
  16476. type: string
  16477. optioncompare:
  16478. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16479. type: string
  16480. pledgeqty:
  16481. description: 质押数量
  16482. type: number
  16483. querytype:
  16484. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  16485. type: integer
  16486. sellexcuteqty:
  16487. description: 销售履约中数量
  16488. type: number
  16489. totalqty:
  16490. description: 总数量(库存数量)
  16491. type: number
  16492. warehouseid:
  16493. description: 仓库ID
  16494. type: integer
  16495. warehousename:
  16496. description: 仓库名称
  16497. type: string
  16498. wrfactortypeid:
  16499. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16500. type: string
  16501. wrfactortypename:
  16502. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16503. type: string
  16504. wrpositionid:
  16505. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  16506. type: string
  16507. wrpositionno:
  16508. description: 仓单编号
  16509. type: string
  16510. wrstandardcode:
  16511. description: 现货商品代码
  16512. type: string
  16513. wrstandardid:
  16514. description: 现货商品ID
  16515. type: integer
  16516. wrstandardname:
  16517. description: 商品名称
  16518. type: string
  16519. wrtypename:
  16520. description: 商品
  16521. type: string
  16522. wruserid:
  16523. description: 持有人ID
  16524. type: integer
  16525. type: object
  16526. models.WrQuoteOrderMyq:
  16527. properties:
  16528. buyorsell:
  16529. description: 买卖 - 0:买 1:卖
  16530. type: integer
  16531. canbargain:
  16532. description: 是否可议价 - 0:不可 1:可
  16533. type: integer
  16534. canpart:
  16535. description: 是否允许部份摘牌 - 0:不允许 1:允许
  16536. type: integer
  16537. delistminqty:
  16538. description: 起摘数量
  16539. type: number
  16540. deliverygoodscode:
  16541. description: 品种代码
  16542. type: string
  16543. deliverygoodsid:
  16544. description: 品种ID
  16545. type: integer
  16546. deliverygoodsname:
  16547. description: 品种名称
  16548. type: string
  16549. deliverymonth:
  16550. description: 交收月
  16551. type: string
  16552. enumdicname:
  16553. description: 单位名称
  16554. type: string
  16555. fixedprice:
  16556. description: 买(卖)价
  16557. type: number
  16558. goodscode:
  16559. description: 商品合约代码
  16560. type: string
  16561. marginflag:
  16562. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  16563. type: integer
  16564. marginvalue:
  16565. description: 保证金设置值
  16566. type: number
  16567. minivalue:
  16568. description: 现货商品最小变动值
  16569. type: integer
  16570. orderqty:
  16571. description: 买(卖)量(=委托量-成交量)
  16572. type: number
  16573. ordertime:
  16574. description: 委托时间
  16575. type: string
  16576. performancetemplateid:
  16577. description: 履约模板id
  16578. type: integer
  16579. pricemove:
  16580. description: 买(卖)升贴水- 基差
  16581. type: number
  16582. templatename:
  16583. description: 履约模板名称
  16584. type: string
  16585. userid:
  16586. description: 购买方(销售方)用户ID
  16587. type: integer
  16588. username:
  16589. description: 购买方(销售方)
  16590. type: string
  16591. validtime:
  16592. description: 有效期限
  16593. type: string
  16594. validtype:
  16595. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  16596. type: integer
  16597. warehousename:
  16598. description: 仓库名称
  16599. type: string
  16600. wrfactortypeid:
  16601. description: 仓单要素id
  16602. type: string
  16603. wrstandardcode:
  16604. description: 现货商品代码
  16605. type: string
  16606. wrstandardid:
  16607. description: 现货商品ID
  16608. type: integer
  16609. wrstandardname:
  16610. description: 商品名称
  16611. type: string
  16612. wrtradeorderid:
  16613. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16614. type: string
  16615. wrtypename:
  16616. description: 商品
  16617. type: string
  16618. type: object
  16619. models.WrScfContract:
  16620. properties:
  16621. borroweruserid:
  16622. description: 借款用户ID
  16623. type: integer
  16624. buybackwrpositionqty:
  16625. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  16626. type: number
  16627. closeinterest:
  16628. description: 已结利息 -> 已结费用
  16629. type: number
  16630. currisklevel:
  16631. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  16632. type: integer
  16633. deadline:
  16634. description: 截止日期(yyyyMMdd) -> 借款到期时间
  16635. type: string
  16636. deliverygoodscode:
  16637. description: 品种代码
  16638. type: string
  16639. deliverygoodsid:
  16640. description: 品种ID
  16641. type: integer
  16642. deliverygoodsname:
  16643. description: 品种名称
  16644. type: string
  16645. enumdicname:
  16646. description: 单位名称
  16647. type: string
  16648. financingdays:
  16649. description: 天数(天)
  16650. type: integer
  16651. initmargin:
  16652. description: 保证金 - [仓单回购]
  16653. type: number
  16654. interestamount:
  16655. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  16656. type: number
  16657. interestdebt:
  16658. description: 利息欠款(记录负数) -> 费用欠款
  16659. type: number
  16660. interestminlen:
  16661. description: 最小起息天数
  16662. type: integer
  16663. interestrate:
  16664. description: 利率
  16665. type: number
  16666. interestratemode:
  16667. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  16668. type: integer
  16669. interestsettlemode:
  16670. description: 结息方式 - 1:按日结息 3:按月结息
  16671. type: integer
  16672. interestsettlevalue:
  16673. description: 结息方式值
  16674. type: integer
  16675. isautoloan:
  16676. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  16677. type: integer
  16678. lastcloseinterestday:
  16679. description: 最近结息日(yyyyMMdd)
  16680. type: string
  16681. lenderamount:
  16682. description: 贷款金额 -> 借款金额
  16683. type: number
  16684. lenderuserid:
  16685. description: 贷款方用户ID -> 融出方用户ID
  16686. type: integer
  16687. lenderusername:
  16688. description: 融出方
  16689. type: string
  16690. marginratio:
  16691. description: 保证金比率质押率 - [仓单质押]
  16692. type: number
  16693. marketid:
  16694. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  16695. type: integer
  16696. minivalue:
  16697. description: 现货商品最小变动值
  16698. type: integer
  16699. optioncompare:
  16700. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16701. type: string
  16702. pricemove:
  16703. description: 估值升贴水值
  16704. type: number
  16705. productdetailid:
  16706. description: 产品组合ID
  16707. type: integer
  16708. productid:
  16709. description: 金融产品ID
  16710. type: integer
  16711. productname:
  16712. description: 产品名称
  16713. type: string
  16714. remainamount:
  16715. description: 合同剩余金额 -> 剩余金额
  16716. type: number
  16717. remainwrpositionqty:
  16718. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  16719. type: number
  16720. remark:
  16721. description: 备注
  16722. type: string
  16723. scfcontractid:
  16724. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  16725. type: string
  16726. scfcontractstatus:
  16727. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  16728. 9:违约结束 10:已注销 11:已关闭 99:未提交
  16729. type: integer
  16730. scfcontracttype:
  16731. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  16732. type: integer
  16733. startinterestday:
  16734. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  16735. type: string
  16736. totalinterest:
  16737. description: 已计利息 -> 已计费用
  16738. type: number
  16739. unpaidinterest:
  16740. description: 未结费用
  16741. type: number
  16742. updatetime:
  16743. description: 更新时间
  16744. type: string
  16745. warehouseid:
  16746. description: 仓库ID
  16747. type: integer
  16748. warehousename:
  16749. description: 仓库名称
  16750. type: string
  16751. wrfactortypeid:
  16752. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16753. type: string
  16754. wrfactortypename:
  16755. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16756. type: string
  16757. wrqty:
  16758. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  16759. type: number
  16760. wrstandardcode:
  16761. description: 现货商品代码
  16762. type: string
  16763. wrstandardid:
  16764. description: 现货商品ID
  16765. type: integer
  16766. wrstandardname:
  16767. description: 商品名称
  16768. type: string
  16769. wrtypename:
  16770. description: 商品
  16771. type: string
  16772. type: object
  16773. models.WrScfContractInterest:
  16774. properties:
  16775. closeinterest:
  16776. description: 已结利息
  16777. type: number
  16778. closeintereststatus:
  16779. description: 结息状态 - 1:未结 2:已结
  16780. type: integer
  16781. closetime:
  16782. description: 结息时间
  16783. type: string
  16784. closetradedate:
  16785. description: 结息交易日
  16786. type: string
  16787. creatorid:
  16788. description: 操作人ID
  16789. type: integer
  16790. dayrate:
  16791. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  16792. type: number
  16793. interest:
  16794. description: 利息
  16795. type: number
  16796. interestamount:
  16797. description: 计息金额
  16798. type: number
  16799. interestday:
  16800. description: 计息日(yyyyMMdd)
  16801. type: string
  16802. scfcontractid:
  16803. description: SCF合同ID
  16804. type: string
  16805. scfcontractinterestid:
  16806. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  16807. type: integer
  16808. updatetime:
  16809. description: 更新时间
  16810. type: string
  16811. type: object
  16812. models.WrSiteColumnDetail:
  16813. properties:
  16814. brief:
  16815. description: 简介
  16816. type: string
  16817. context:
  16818. description: 内容
  16819. type: string
  16820. coverimage:
  16821. description: 封面图片
  16822. type: string
  16823. creaedate:
  16824. description: 创建时间
  16825. type: string
  16826. id:
  16827. description: ID(SEQ_SITE_COLUMNDETAIL)
  16828. type: integer
  16829. istop:
  16830. description: 是否置顶 - 0:不置 1:置顶
  16831. type: integer
  16832. publishdate:
  16833. description: 发布日期
  16834. type: string
  16835. title:
  16836. description: 标题
  16837. type: string
  16838. updatedate:
  16839. description: 修改时间
  16840. type: string
  16841. type: object
  16842. models.WrSpecialMatchOrder:
  16843. properties:
  16844. amount:
  16845. description: 金额 = 数量 * 价格
  16846. type: number
  16847. buyorsell:
  16848. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  16849. type: integer
  16850. cancelqty:
  16851. description: 撤销数量
  16852. type: number
  16853. deliverygoodscode:
  16854. description: 品种代码
  16855. type: string
  16856. deliverygoodsid:
  16857. description: 品种ID
  16858. type: integer
  16859. deliverygoodsname:
  16860. description: 品种名称
  16861. type: string
  16862. enumdicname:
  16863. description: 单位名称
  16864. type: string
  16865. fixedprice:
  16866. description: 固定价格(价格)
  16867. type: number
  16868. haswr:
  16869. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16870. type: integer
  16871. isspecified:
  16872. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  16873. type: integer
  16874. marketid:
  16875. description: 市场ID
  16876. type: integer
  16877. matchuserid:
  16878. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  16879. type: integer
  16880. matchusername:
  16881. description: 指定方
  16882. type: string
  16883. minivalue:
  16884. description: 现货商品最小变动值
  16885. type: integer
  16886. optioncompare:
  16887. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16888. type: string
  16889. orderqty:
  16890. description: 委托数量
  16891. type: number
  16892. ordertime:
  16893. description: 委托时间
  16894. type: string
  16895. pricemove:
  16896. description: 升贴水(浮动价时填写) - [挂牌]
  16897. type: number
  16898. tradedate:
  16899. description: 交易日(yyyyMMdd)
  16900. type: string
  16901. tradeprice:
  16902. description: 成交价格
  16903. type: number
  16904. tradeqty:
  16905. description: 成交数量
  16906. type: number
  16907. userid:
  16908. description: 用户ID
  16909. type: integer
  16910. username:
  16911. description: 发起方
  16912. type: string
  16913. warehouseid:
  16914. description: 仓库ID
  16915. type: integer
  16916. warehousename:
  16917. description: 仓库名称
  16918. type: string
  16919. wrfactortypeid:
  16920. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16921. type: string
  16922. wrfactortypename:
  16923. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16924. type: string
  16925. wrpricetype:
  16926. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  16927. type: integer
  16928. wrstandardcode:
  16929. description: 现货商品代码
  16930. type: string
  16931. wrstandardid:
  16932. description: 现货商品ID
  16933. type: integer
  16934. wrstandardname:
  16935. description: 商品名称
  16936. type: string
  16937. wrtradeorderid:
  16938. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16939. type: string
  16940. wrtradeorderstatus:
  16941. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  16942. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  16943. type: integer
  16944. wrtradetype:
  16945. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  16946. type: integer
  16947. wrtypename:
  16948. description: 商品
  16949. type: string
  16950. type: object
  16951. models.WrSpotGroupTradeSum:
  16952. properties:
  16953. deliverygoodscode:
  16954. description: 现货品种代码
  16955. type: string
  16956. deliverygoodsid:
  16957. description: 现货品种ID(SEQ_DELIVERYGOODS)
  16958. type: integer
  16959. deliverygoodsname:
  16960. description: 现货品种名称
  16961. type: string
  16962. lastavgprice:
  16963. description: 上上个交易日价格(前2天价格)
  16964. type: string
  16965. lastreckondate:
  16966. description: 上上个交易日(前2天交易日)
  16967. type: string
  16968. reckondate:
  16969. description: 上个交易日(前1天交易日)
  16970. type: string
  16971. todayavgprice:
  16972. description: 上个交易日价格(前1天价格)
  16973. type: string
  16974. updown:
  16975. description: 涨跌
  16976. type: string
  16977. updownratio:
  16978. description: 涨幅(已格式化, 直接显示即可)
  16979. type: string
  16980. type: object
  16981. models.WrSpotGroupTradeSumDetail:
  16982. properties:
  16983. deliverygoodsid:
  16984. description: 现货商品id
  16985. type: integer
  16986. price:
  16987. description: 价格
  16988. type: number
  16989. reckondate:
  16990. description: 日期(yyymmdd, 如:20211031)
  16991. type: string
  16992. type: object
  16993. models.WrSpotGroupTradeSumEx:
  16994. properties:
  16995. lst:
  16996. description: 指数列表
  16997. items:
  16998. $ref: '#/definitions/models.WrSpotGroupTradeSum'
  16999. type: array
  17000. prereckondate:
  17001. description: 上上个交易日(yyymmdd)
  17002. type: string
  17003. reckondate:
  17004. description: 上个交易日(yyyymmdd)
  17005. type: string
  17006. type: object
  17007. models.WrStandardFactoryItem:
  17008. properties:
  17009. dgfactoryitemid:
  17010. description: 选择项id
  17011. type: integer
  17012. dgfactoryitemvalue:
  17013. description: 要素项值
  17014. type: string
  17015. warehouseid:
  17016. description: 仓库id
  17017. type: integer
  17018. type: object
  17019. models.WrStandardFactoryItemEx:
  17020. properties:
  17021. dgfactoryitemtypeid:
  17022. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  17023. type: integer
  17024. itemlst:
  17025. description: 要素项列表
  17026. items:
  17027. $ref: '#/definitions/models.WrStandardFactoryItem'
  17028. type: array
  17029. itemtypename:
  17030. description: 要素项类型名称
  17031. type: string
  17032. wrstandardid:
  17033. description: 品类
  17034. type: integer
  17035. type: object
  17036. models.WrTradeDetail:
  17037. properties:
  17038. accountid:
  17039. description: 资金账号
  17040. type: integer
  17041. begindate:
  17042. description: 开始交易日(yyyymmdd)
  17043. type: string
  17044. buyorsell:
  17045. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  17046. type: integer
  17047. chargevalue:
  17048. description: 手续费
  17049. type: number
  17050. deliverygoodscode:
  17051. description: 品种代码
  17052. type: string
  17053. deliverygoodsid:
  17054. description: 品种ID
  17055. type: integer
  17056. deliverygoodsname:
  17057. description: 品种名称
  17058. type: string
  17059. deliverymonth:
  17060. description: 交收月
  17061. type: string
  17062. enddate:
  17063. description: 结束交易日(yyyymmdd)
  17064. type: string
  17065. enumdicname:
  17066. description: 单位名称
  17067. type: string
  17068. haswr:
  17069. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  17070. type: integer
  17071. marketid:
  17072. description: 市场ID
  17073. type: integer
  17074. matchaccountid:
  17075. description: 对手账号
  17076. type: integer
  17077. matchusername:
  17078. description: 对手方
  17079. type: string
  17080. minivalue:
  17081. description: 现货商品最小变动值
  17082. type: integer
  17083. optioncompare:
  17084. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17085. type: string
  17086. tradedate:
  17087. description: 交易日(yyyyMMdd)
  17088. type: string
  17089. tradeprice:
  17090. description: 成交价格
  17091. type: number
  17092. tradeqty:
  17093. description: 成交数量
  17094. type: number
  17095. tradetime:
  17096. description: 成交时间
  17097. type: string
  17098. userid:
  17099. description: 用户ID
  17100. type: integer
  17101. warehouseid:
  17102. description: 仓库ID
  17103. type: integer
  17104. warehousename:
  17105. description: 仓库名称
  17106. type: string
  17107. wrfactortypeid:
  17108. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17109. type: string
  17110. wrfactortypename:
  17111. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17112. type: string
  17113. wrstandardcode:
  17114. description: 现货商品代码
  17115. type: string
  17116. wrstandardid:
  17117. description: 现货商品ID
  17118. type: integer
  17119. wrstandardname:
  17120. description: 商品名称
  17121. type: string
  17122. wrtradedetailid:
  17123. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  17124. type: string
  17125. wrtradetype:
  17126. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  17127. type: integer
  17128. wrtypename:
  17129. description: 商品
  17130. type: string
  17131. type: object
  17132. models.WrTradeOrderDetail:
  17133. properties:
  17134. buyorsell:
  17135. description: 买卖方向 0-买 1-卖
  17136. type: integer
  17137. goodsid:
  17138. description: 商品id
  17139. type: integer
  17140. orderid:
  17141. description: 委托单号
  17142. type: string
  17143. orderprice:
  17144. description: 委托价格
  17145. type: number
  17146. orderqty:
  17147. description: 委托数量
  17148. type: integer
  17149. userid:
  17150. description: 用户id
  17151. type: integer
  17152. username:
  17153. description: 用户名称(已脱敏)
  17154. type: string
  17155. type: object
  17156. models.WrTypeItem:
  17157. properties:
  17158. name:
  17159. description: 名称
  17160. type: string
  17161. value:
  17162. description: 值
  17163. type: string
  17164. type: object
  17165. models.WrUserFriend:
  17166. properties:
  17167. friendname:
  17168. description: 朋友名称(已脱敏)
  17169. type: string
  17170. frienduserid:
  17171. description: 朋友id
  17172. type: integer
  17173. isfriend:
  17174. description: 是否好友 0-不是 1-是
  17175. type: integer
  17176. userid:
  17177. description: 用户id
  17178. type: integer
  17179. type: object
  17180. models.WrUserReceiptInfo:
  17181. properties:
  17182. address:
  17183. description: 地址[发票类型:企业]
  17184. type: string
  17185. autoid:
  17186. description: AutoID
  17187. type: integer
  17188. contactinfo:
  17189. description: 联系方式
  17190. type: string
  17191. idnum:
  17192. description: 身份证号码[发票类型:个人]
  17193. type: string
  17194. isdefault:
  17195. description: 是否默认地址 - 0:否 1:是
  17196. type: integer
  17197. receiptaccount:
  17198. description: 发票帐号[发票类型:企业]
  17199. type: string
  17200. receiptbank:
  17201. description: 发票开户行[发票类型:企业]
  17202. type: string
  17203. receipttype:
  17204. description: 发票类型 - 1:个人 2:企业
  17205. type: integer
  17206. taxpayerid:
  17207. description: 纳税人识别号
  17208. type: string
  17209. userid:
  17210. description: 用户ID
  17211. type: integer
  17212. username:
  17213. description: 户名(个人姓名或企业名称)
  17214. type: string
  17215. type: object
  17216. models.XHBRAND:
  17217. properties:
  17218. brandid:
  17219. description: 品牌id
  17220. type: integer
  17221. brandname:
  17222. description: 品牌名称
  17223. type: string
  17224. isvalid:
  17225. description: 是否有效 0-无效 1-有效
  17226. type: integer
  17227. type: object
  17228. models.XHDeliveryGoods:
  17229. properties:
  17230. areauserid:
  17231. description: 所属机构
  17232. type: integer
  17233. bdlst:
  17234. description: 品牌列表
  17235. items:
  17236. $ref: '#/definitions/models.XHBRAND'
  17237. type: array
  17238. deliverygoodscode:
  17239. description: 现货品种代码
  17240. type: string
  17241. deliverygoodsid:
  17242. description: 现货品种ID(SEQ_DELIVERYGOODS)
  17243. type: integer
  17244. deliverygoodsname:
  17245. description: 现货品种名称
  17246. type: string
  17247. dgstatus:
  17248. description: 品种状态 - 作废 - 0:未激活 1:正常
  17249. type: integer
  17250. filterSubEmpty:
  17251. description: 过滤下级为空的
  17252. type: integer
  17253. isvalid:
  17254. description: 是否有效 - 0:无效 1:有效
  17255. type: integer
  17256. remark:
  17257. description: 备注
  17258. type: string
  17259. unitid:
  17260. description: 单位id(目前看,数据库中是空值)
  17261. type: integer
  17262. wdlst:
  17263. description: 品类(现货商品)列表
  17264. items:
  17265. $ref: '#/definitions/models.XHWrstandard'
  17266. type: array
  17267. type: object
  17268. models.XHMiddleGoods:
  17269. properties:
  17270. GPLST:
  17271. description: 期货品种列表
  17272. items:
  17273. $ref: '#/definitions/models.TBGoodsGroup'
  17274. type: array
  17275. convertratio:
  17276. description: 拆算系数
  17277. type: number
  17278. costratio:
  17279. description: 成本权重
  17280. type: number
  17281. deliverygoodsid:
  17282. description: 现货商品id
  17283. type: integer
  17284. enumdicname:
  17285. description: 单位名称
  17286. type: string
  17287. middlegoodscode:
  17288. description: 套保品种代码
  17289. type: string
  17290. middlegoodsid:
  17291. description: 套保品种id
  17292. type: integer
  17293. middlegoodsname:
  17294. description: 套保品种名称
  17295. type: string
  17296. unitid:
  17297. description: 单位id
  17298. type: integer
  17299. type: object
  17300. models.XHWrstandard:
  17301. properties:
  17302. bannerpicurl:
  17303. description: banner图
  17304. type: string
  17305. deliverygoodsid:
  17306. description: 品种ID
  17307. type: integer
  17308. enumdicname:
  17309. description: 单位名称
  17310. type: string
  17311. mglst:
  17312. description: 套保品列表
  17313. items:
  17314. $ref: '#/definitions/models.XHMiddleGoods'
  17315. type: array
  17316. pictureurls:
  17317. description: 详情图片(逗号分隔)
  17318. type: string
  17319. thumurls:
  17320. description: 缩略图片(1:1)(逗号分隔)
  17321. type: string
  17322. unitid:
  17323. description: 单位id
  17324. type: integer
  17325. vatrate:
  17326. description: 增值税率
  17327. type: number
  17328. wrstandardcode:
  17329. description: 现货商品代码
  17330. type: string
  17331. wrstandardid:
  17332. description: 现货商品ID(SEQ_WRSTANDARD)
  17333. type: integer
  17334. wrstandardname:
  17335. description: 现货商品名称
  17336. type: string
  17337. type: object
  17338. order.QueryHisTradeDetailRsp:
  17339. properties:
  17340. accountid:
  17341. description: 账户ID[报价币种]
  17342. type: integer
  17343. advanceratio:
  17344. description: 首付比率
  17345. type: number
  17346. buildtype:
  17347. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  17348. type: integer
  17349. buyorsell:
  17350. description: 方向 - 0:买 1:卖
  17351. type: integer
  17352. charge:
  17353. description: 手续费
  17354. type: number
  17355. closecharge:
  17356. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17357. type: number
  17358. closeexchagechargevalue:
  17359. description: 平仓交易所手续费设置值
  17360. type: number
  17361. closefeealgorithm:
  17362. description: 平仓手续费收取方式 1:比率 2:固定
  17363. type: integer
  17364. closememberchargevalue:
  17365. description: 平仓会员手续费设置值
  17366. type: number
  17367. closepl:
  17368. description: 平仓盈亏
  17369. type: number
  17370. closepl2:
  17371. description: 平仓盈亏[逐笔]
  17372. type: number
  17373. closeqty:
  17374. description: 平仓数量(先建后平操作 需要记录)
  17375. type: number
  17376. creditamount:
  17377. description: 授信金额
  17378. type: number
  17379. decimalplace:
  17380. description: 商品报价小数位
  17381. type: integer
  17382. enumdicname:
  17383. description: 单位名称
  17384. type: string
  17385. gcaccountid:
  17386. description: 账户ID[合约币种]
  17387. type: integer
  17388. goodscode:
  17389. description: 商品代码
  17390. type: string
  17391. goodsid:
  17392. description: 商品ID
  17393. type: integer
  17394. goodsname:
  17395. description: 商品名称
  17396. type: string
  17397. goodunitid:
  17398. description: 商品单位id
  17399. type: integer
  17400. histradedate:
  17401. description: 历史交易日
  17402. type: string
  17403. intclosepl:
  17404. description: 整型盈亏(用于交易结算试算平衡-收益权)
  17405. type: integer
  17406. isconfirmexercise:
  17407. description: 是否确认行权- 0:否 1:是
  17408. type: integer
  17409. ismain:
  17410. description: 是否主单 - 0:不是 1:是
  17411. type: integer
  17412. ispreexercise:
  17413. description: 是否预申报- 0:否 1:是
  17414. type: integer
  17415. isreckoned:
  17416. description: 是否结算 - 0:未结算 1:已结算
  17417. type: integer
  17418. isvaliddata:
  17419. description: 是否有效 - 0:无效 1:有效
  17420. type: integer
  17421. listingselecttype:
  17422. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17423. type: integer
  17424. marketid:
  17425. description: 市场ID
  17426. type: integer
  17427. marketname:
  17428. description: 市场名称
  17429. type: string
  17430. matchaccountid:
  17431. description: 对手账号id
  17432. type: integer
  17433. memberuserid:
  17434. description: 会员id 个人投资者 需要填写
  17435. type: integer
  17436. opencharge:
  17437. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17438. type: number
  17439. openexchagechargevalue:
  17440. description: 建仓交易所手续费设置值
  17441. type: number
  17442. openfeealgorithm:
  17443. description: 建仓手续费收取方式 1:比率 2:固定
  17444. type: integer
  17445. openmemberchargevalue:
  17446. description: 建仓会员手续费设置值
  17447. type: number
  17448. openqty:
  17449. description: 开仓数量(先建后平操作 需要记录)
  17450. type: number
  17451. optiontype:
  17452. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17453. type: integer
  17454. orderid:
  17455. description: 委托单号
  17456. type: string
  17457. payamount:
  17458. description: 支付金额(付款金额)
  17459. type: number
  17460. performanceplanid:
  17461. description: 履约计划ID[期权]
  17462. type: integer
  17463. performancestatus:
  17464. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  17465. type: integer
  17466. preexerciseprice:
  17467. description: 预申报价格
  17468. type: number
  17469. premium:
  17470. description: 权利金 - [持仓单的权利金]
  17471. type: number
  17472. qtydecimalplace:
  17473. description: 商品报价小数位
  17474. type: integer
  17475. recvamount:
  17476. description: 到账金额 = 成交金额 - 手续费
  17477. type: number
  17478. relatedouttradeid:
  17479. description: 关联外部成交单ID
  17480. type: integer
  17481. status:
  17482. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  17483. type: integer
  17484. totalamount:
  17485. description: 订单总额 = 成交金额 + 手续费
  17486. type: number
  17487. tradeamount:
  17488. description: 成交金额[账户币种,用于所有权]
  17489. type: number
  17490. tradedate:
  17491. description: 交易日(yyyyMMdd)
  17492. type: string
  17493. tradeid:
  17494. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17495. type: string
  17496. trademode:
  17497. description: 交易模式
  17498. type: integer
  17499. tradeprice:
  17500. description: 成交价格
  17501. type: number
  17502. tradeproperty:
  17503. description: 交易属性
  17504. type: integer
  17505. tradeqty:
  17506. description: 成交数量
  17507. type: number
  17508. tradetime:
  17509. description: 成交时间
  17510. type: string
  17511. tradetype:
  17512. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  17513. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  17514. type: integer
  17515. required:
  17516. - accountid
  17517. - buyorsell
  17518. - goodsid
  17519. - histradedate
  17520. - marketid
  17521. - memberuserid
  17522. - orderid
  17523. - tradeamount
  17524. - tradedate
  17525. - tradeid
  17526. - tradeprice
  17527. - tradeqty
  17528. - tradetime
  17529. type: object
  17530. order.QueryHisTradeOrderDetailRsp:
  17531. properties:
  17532. accountid:
  17533. description: 账户ID[报价币种]
  17534. type: integer
  17535. buildtype:
  17536. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  17537. type: integer
  17538. buyorsell:
  17539. description: 买卖 - 0:买 1:卖
  17540. type: integer
  17541. cancelorderid:
  17542. description: 撤单单号(撤单时填写)
  17543. type: string
  17544. cancelqty:
  17545. description: 撤单数量
  17546. type: number
  17547. clientordertime:
  17548. description: 客户端委托时间
  17549. type: string
  17550. clientticket:
  17551. description: 客户端流水号
  17552. type: string
  17553. clienttype:
  17554. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  17555. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  17556. type: integer
  17557. closeexchagechargevalue:
  17558. description: 平仓交易所手续费设置值
  17559. type: number
  17560. closefeealgorithm:
  17561. description: 平仓手续费收取方式 1:比率 2:固定
  17562. type: integer
  17563. closefreezecharge:
  17564. description: 平仓冻结手续费(先建后平操作,需要记录)
  17565. type: number
  17566. closememberchargevalue:
  17567. description: 平仓会员手续费设置值
  17568. type: number
  17569. closeqty:
  17570. description: 平仓数量(先建后平操作 需要记录)
  17571. type: number
  17572. closetradeqty:
  17573. description: 平仓成交数量(先建后平操作,需要记录)
  17574. type: number
  17575. closeunfreezecharge:
  17576. description: 平仓解冻手续费(先建后平操作,需要记录)
  17577. type: number
  17578. decimalplace:
  17579. description: 商品报价小数位
  17580. type: integer
  17581. delistingtype:
  17582. description: 摘牌类型 - 1:价格最优 2:点选成交
  17583. type: integer
  17584. enumdicname:
  17585. description: 单位名称
  17586. type: string
  17587. freezecharge:
  17588. description: 冻结手续费
  17589. type: number
  17590. freezemargin:
  17591. description: 冻结保证金(冻结交易金额)
  17592. type: number
  17593. gcaccountid:
  17594. description: 账户ID[合约币种]
  17595. type: integer
  17596. goodscode:
  17597. description: 商品代码
  17598. type: string
  17599. goodsid:
  17600. description: 商品ID
  17601. type: integer
  17602. goodsname:
  17603. description: 商品名称
  17604. type: string
  17605. goodunitid:
  17606. description: 商品单位id
  17607. type: integer
  17608. histradedate:
  17609. description: 历史交易日
  17610. type: string
  17611. isconfirmexercise:
  17612. description: 是否确认行权- 0:否 1:是
  17613. type: integer
  17614. ispreexercise:
  17615. description: 是否预申报- 0:否 1:是
  17616. type: integer
  17617. isvaliddata:
  17618. description: 是否有效 - 0:无效 1:有效
  17619. type: integer
  17620. listingselecttype:
  17621. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17622. type: integer
  17623. marginalgorithm:
  17624. description: 保证金收取方式 1:比率 2:固定
  17625. type: integer
  17626. marginvalue:
  17627. description: 即市保证金设置值
  17628. type: number
  17629. marketid:
  17630. description: 市场ID
  17631. type: integer
  17632. marketmaxsub:
  17633. description: 市价最大偏移范围
  17634. type: number
  17635. marketname:
  17636. description: 市场名称
  17637. type: string
  17638. memberuserid:
  17639. description: 所属会员UserID
  17640. type: integer
  17641. openexchagechargevalue:
  17642. description: 建仓交易所手续费设置值
  17643. type: number
  17644. openfeealgorithm:
  17645. description: 建仓手续费收取方式 1:比率 2:固定
  17646. type: integer
  17647. openfreezecharge:
  17648. description: 开仓冻结手续费(先建后平操作,需要记录)
  17649. type: number
  17650. openmemberchargevalue:
  17651. description: 建仓会员手续费设置值
  17652. type: number
  17653. openqty:
  17654. description: 开仓数量(先建后平操作,需要记录)
  17655. type: number
  17656. opentradeqty:
  17657. description: 开仓成交数量(先建后平操作,需要记录)
  17658. type: number
  17659. openunfreezecharge:
  17660. description: 开仓解冻手续费(先建后平操作,需要记录)
  17661. type: number
  17662. operatetype:
  17663. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  17664. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  17665. 15:管理端协议转让
  17666. type: integer
  17667. operatorid:
  17668. description: 登录账号(LoginID)
  17669. type: integer
  17670. optiontype:
  17671. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17672. type: integer
  17673. orderid:
  17674. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17675. type: string
  17676. orderprice:
  17677. description: 委托价格
  17678. type: number
  17679. orderqty:
  17680. description: 委托数量
  17681. type: number
  17682. ordersrc:
  17683. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  17684. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  17685. type: integer
  17686. orderstatus:
  17687. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  17688. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  17689. 16:成交失败违约(荷兰式竞拍专用)
  17690. type: integer
  17691. ordertime:
  17692. description: 委托时间
  17693. type: string
  17694. preexerciseprice:
  17695. description: 预申报价格
  17696. type: number
  17697. premium:
  17698. description: 权利金
  17699. type: number
  17700. preorderid:
  17701. description: 关联预埋单号(止盈止损单时填写)
  17702. type: string
  17703. pricemode:
  17704. description: '取价方式 - 1:市价 2: 限价'
  17705. type: integer
  17706. qtydecimalplace:
  17707. description: 成交量小数位
  17708. type: integer
  17709. quoteid:
  17710. description: 报价单ID
  17711. type: integer
  17712. relatedid:
  17713. description: 关联单号(交割单)
  17714. type: string
  17715. retcode:
  17716. description: 错误代码
  17717. type: integer
  17718. sessionid:
  17719. description: 会话ID
  17720. type: integer
  17721. tradedate:
  17722. description: 交易日(yyyyMMdd)
  17723. type: string
  17724. trademode:
  17725. description: 交易模式
  17726. type: integer
  17727. tradeproperty:
  17728. description: 交易属性
  17729. type: integer
  17730. tradeqty:
  17731. description: 成交数量
  17732. type: number
  17733. unfreezecharge:
  17734. description: 解冻手续费
  17735. type: number
  17736. unfreezemargin:
  17737. description: 解冻保证金
  17738. type: number
  17739. updatetime:
  17740. description: 更新时间
  17741. type: string
  17742. uuid:
  17743. description: 发起端唯一id
  17744. type: string
  17745. validtime:
  17746. description: 有效期限
  17747. type: string
  17748. validtype:
  17749. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  17750. type: integer
  17751. volumetype:
  17752. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  17753. type: integer
  17754. required:
  17755. - accountid
  17756. - buildtype
  17757. - buyorsell
  17758. - goodsid
  17759. - histradedate
  17760. - marketid
  17761. - memberuserid
  17762. - operatetype
  17763. - orderid
  17764. - orderqty
  17765. - ordertime
  17766. - pricemode
  17767. - tradedate
  17768. - validtype
  17769. type: object
  17770. order.QueryTradeDetailRsp:
  17771. properties:
  17772. accountid:
  17773. description: 账户ID[报价币种]
  17774. type: integer
  17775. advanceratio:
  17776. description: 首付比率
  17777. type: number
  17778. buildtype:
  17779. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  17780. type: integer
  17781. buyorsell:
  17782. description: 方向 - 0:买 1:卖
  17783. type: integer
  17784. charge:
  17785. description: 手续费
  17786. type: number
  17787. closecharge:
  17788. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17789. type: number
  17790. closeexchagechargevalue:
  17791. description: 平仓交易所手续费设置值
  17792. type: number
  17793. closefeealgorithm:
  17794. description: 平仓手续费收取方式 1:比率 2:固定
  17795. type: integer
  17796. closememberchargevalue:
  17797. description: 平仓会员手续费设置值
  17798. type: number
  17799. closepl:
  17800. description: 平仓盈亏
  17801. type: number
  17802. closepl2:
  17803. description: 平仓盈亏[逐笔]
  17804. type: number
  17805. closeqty:
  17806. description: 平仓数量(先建后平操作 需要记录)
  17807. type: number
  17808. creditamount:
  17809. description: 授信金额
  17810. type: number
  17811. decimalplace:
  17812. description: 商品报价小数位
  17813. type: integer
  17814. enumdicname:
  17815. description: 单位名称
  17816. type: string
  17817. gcaccountid:
  17818. description: 账户ID[合约币种]
  17819. type: integer
  17820. goodscode:
  17821. description: 商品代码
  17822. type: string
  17823. goodsid:
  17824. description: 商品ID
  17825. type: integer
  17826. goodsname:
  17827. description: 商品名称
  17828. type: string
  17829. goodunitid:
  17830. description: 商品单位id
  17831. type: integer
  17832. intclosepl:
  17833. description: 整型盈亏(用于交易结算试算平衡-收益权)
  17834. type: integer
  17835. isconfirmexercise:
  17836. description: 是否确认行权- 0:否 1:是
  17837. type: integer
  17838. ismain:
  17839. description: 是否主单 - 0:不是 1:是
  17840. type: integer
  17841. ispreexercise:
  17842. description: 是否预申报- 0:否 1:是
  17843. type: integer
  17844. isreckoned:
  17845. description: 是否结算 - 0:未结算 1:已结算
  17846. type: integer
  17847. listingselecttype:
  17848. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17849. type: integer
  17850. marketid:
  17851. description: 市场ID
  17852. type: integer
  17853. marketname:
  17854. description: 市场名称
  17855. type: string
  17856. matchaccountid:
  17857. description: 对手账号id
  17858. type: integer
  17859. memberuserid:
  17860. description: 会员id 个人投资者 需要填写
  17861. type: integer
  17862. opencharge:
  17863. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17864. type: number
  17865. openexchagechargevalue:
  17866. description: 建仓交易所手续费设置值
  17867. type: number
  17868. openfeealgorithm:
  17869. description: 建仓手续费收取方式 1:比率 2:固定
  17870. type: integer
  17871. openmemberchargevalue:
  17872. description: 建仓会员手续费设置值
  17873. type: number
  17874. openqty:
  17875. description: 开仓数量(先建后平操作 需要记录)
  17876. type: number
  17877. optiontype:
  17878. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17879. type: integer
  17880. orderid:
  17881. description: 委托单号
  17882. type: string
  17883. payamount:
  17884. description: 支付金额(付款金额)
  17885. type: number
  17886. performanceplanid:
  17887. description: 履约计划ID[期权]
  17888. type: integer
  17889. performancestatus:
  17890. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  17891. type: integer
  17892. preexerciseprice:
  17893. description: 预申报价格
  17894. type: number
  17895. premium:
  17896. description: 权利金 - [持仓单的权利金]
  17897. type: number
  17898. qtydecimalplace:
  17899. description: 商品报价小数位
  17900. type: integer
  17901. recvamount:
  17902. description: 到账金额 = 成交金额 - 手续费
  17903. type: number
  17904. relatedouttradeid:
  17905. description: 关联外部成交单ID
  17906. type: integer
  17907. status:
  17908. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  17909. type: integer
  17910. totalamount:
  17911. description: 订单总额 = 成交金额 + 手续费
  17912. type: number
  17913. tradeamount:
  17914. description: 成交金额[账户币种,用于所有权]
  17915. type: number
  17916. tradedate:
  17917. description: 交易日(yyyyMMdd)
  17918. type: string
  17919. tradeid:
  17920. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17921. type: string
  17922. trademode:
  17923. description: 交易模式
  17924. type: integer
  17925. tradeprice:
  17926. description: 成交价格
  17927. type: number
  17928. tradeproperty:
  17929. description: 交易属性
  17930. type: integer
  17931. tradeqty:
  17932. description: 成交数量
  17933. type: number
  17934. tradetime:
  17935. description: 成交时间
  17936. type: string
  17937. tradetype:
  17938. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  17939. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  17940. type: integer
  17941. required:
  17942. - accountid
  17943. - buyorsell
  17944. - goodsid
  17945. - marketid
  17946. - memberuserid
  17947. - orderid
  17948. - tradeamount
  17949. - tradedate
  17950. - tradeid
  17951. - tradeprice
  17952. - tradeqty
  17953. - tradetime
  17954. type: object
  17955. order.QueryTradeOrderDetailRsp:
  17956. properties:
  17957. accountid:
  17958. description: 账户ID[报价币种]
  17959. type: integer
  17960. buildtype:
  17961. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  17962. type: integer
  17963. buyorsell:
  17964. description: 买卖 - 0:买 1:卖
  17965. type: integer
  17966. cancelorderid:
  17967. description: 撤单单号(撤单时填写)
  17968. type: string
  17969. cancelqty:
  17970. description: 撤单数量
  17971. type: number
  17972. clienttype:
  17973. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  17974. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  17975. type: integer
  17976. closefreezecharge:
  17977. description: 平仓冻结手续费(先建后平操作,需要记录)
  17978. type: number
  17979. closeqty:
  17980. description: 平仓数量(先建后平操作 需要记录)
  17981. type: number
  17982. closetradeqty:
  17983. description: 平仓成交数量(先建后平操作,需要记录)
  17984. type: number
  17985. closeunfreezecharge:
  17986. description: 平仓解冻手续费(先建后平操作,需要记录)
  17987. type: number
  17988. decimalplace:
  17989. description: 商品报价小数位
  17990. type: integer
  17991. delistingtype:
  17992. description: 摘牌类型 - 1:价格最优 2:点选成交
  17993. type: integer
  17994. enableqty:
  17995. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  17996. type: number
  17997. enumdicname:
  17998. description: 单位名称
  17999. type: string
  18000. freezecharge:
  18001. description: 冻结手续费
  18002. type: number
  18003. freezemargin:
  18004. description: 冻结保证金(冻结交易金额)
  18005. type: number
  18006. goodscode:
  18007. description: 商品代码
  18008. type: string
  18009. goodsid:
  18010. description: 商品ID
  18011. type: integer
  18012. goodsname:
  18013. description: 商品名称
  18014. type: string
  18015. goodunitid:
  18016. description: 商品单位id
  18017. type: integer
  18018. listingselecttype:
  18019. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  18020. type: integer
  18021. marketid:
  18022. description: 市场ID
  18023. type: integer
  18024. marketname:
  18025. description: 市场名称
  18026. type: string
  18027. openfreezecharge:
  18028. description: 开仓冻结手续费(先建后平操作,需要记录)
  18029. type: number
  18030. openqty:
  18031. description: 开仓数量(先建后平操作,需要记录)
  18032. type: number
  18033. opentradeqty:
  18034. description: 开仓成交数量(先建后平操作,需要记录)
  18035. type: number
  18036. openunfreezecharge:
  18037. description: 开仓解冻手续费(先建后平操作,需要记录)
  18038. type: number
  18039. operatetype:
  18040. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  18041. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  18042. 15:管理端协议转让
  18043. type: integer
  18044. operatorid:
  18045. description: 登录账号(LoginID)
  18046. type: integer
  18047. orderid:
  18048. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18049. type: string
  18050. orderprice:
  18051. description: 委托价格
  18052. type: number
  18053. orderqty:
  18054. description: 委托数量
  18055. type: number
  18056. ordersrc:
  18057. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  18058. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  18059. type: integer
  18060. orderstatus:
  18061. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  18062. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  18063. 16:成交失败违约(荷兰式竞拍专用)
  18064. type: integer
  18065. ordertime:
  18066. description: 委托时间
  18067. type: string
  18068. preorderid:
  18069. description: 关联预埋单号(止盈止损单时填写)
  18070. type: string
  18071. pricemode:
  18072. description: '取价方式 - 1:市价 2: 限价'
  18073. type: integer
  18074. qtydecimalplace:
  18075. description: 商品报价小数位
  18076. type: integer
  18077. relatedid:
  18078. description: 关联单号(交割单)
  18079. type: string
  18080. tradedate:
  18081. description: 交易日(yyyyMMdd)
  18082. type: string
  18083. trademode:
  18084. description: 交易模式
  18085. type: integer
  18086. tradeqty:
  18087. description: 成交数量
  18088. type: number
  18089. unfreezecharge:
  18090. description: 解冻手续费
  18091. type: number
  18092. unfreezemargin:
  18093. description: 解冻保证金
  18094. type: number
  18095. validtime:
  18096. description: 有效期限
  18097. type: string
  18098. validtype:
  18099. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  18100. type: integer
  18101. volumetype:
  18102. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  18103. type: integer
  18104. required:
  18105. - accountid
  18106. - buildtype
  18107. - buyorsell
  18108. - goodsid
  18109. - marketid
  18110. - operatetype
  18111. - orderqty
  18112. - ordertime
  18113. - pricemode
  18114. - tradedate
  18115. - validtype
  18116. type: object
  18117. order.QueryTradePositionRsp:
  18118. properties:
  18119. accountid:
  18120. description: 资金账户
  18121. type: integer
  18122. agreeunit:
  18123. description: 合约单位
  18124. type: number
  18125. averageprice:
  18126. description: 持仓均价
  18127. type: number
  18128. buyorsell:
  18129. description: 方向 - 0:买 1:卖
  18130. type: integer
  18131. closetotalqty:
  18132. description: 平仓总数量
  18133. type: number
  18134. curholderamount:
  18135. description: 当前持仓总金额[商品币种]
  18136. type: number
  18137. curpositionqty:
  18138. description: 当前持仓总数量
  18139. type: number
  18140. currencyid:
  18141. description: 报价货币ID
  18142. type: integer
  18143. curtdposition:
  18144. description: 期末今日头寸
  18145. type: number
  18146. decimalplace:
  18147. description: 报价小数位
  18148. type: integer
  18149. enableqty:
  18150. description: 可用量
  18151. type: number
  18152. fretdposition:
  18153. description: 冻结今日头寸
  18154. type: number
  18155. frozenqty:
  18156. description: 持仓冻结数量
  18157. type: number
  18158. goodscode:
  18159. description: 商品代码
  18160. type: string
  18161. goodsid:
  18162. description: 商品Id
  18163. type: integer
  18164. goodsname:
  18165. description: 商品名称
  18166. type: string
  18167. goodunit:
  18168. description: 报价单位
  18169. type: string
  18170. goodunitid:
  18171. description: 报价单位ID
  18172. type: integer
  18173. holderamount:
  18174. description: 期初持仓总金额[商品币种]
  18175. type: number
  18176. lastprice:
  18177. description: 最新价
  18178. type: number
  18179. marketamount:
  18180. description: 市值
  18181. type: number
  18182. marketid:
  18183. description: 所属市场ID
  18184. type: integer
  18185. openreqqty:
  18186. description: 开仓申请数量(用于比较最大持仓数量)
  18187. type: number
  18188. opentotalqty:
  18189. description: 开仓总数量
  18190. type: number
  18191. otherfrozenqty:
  18192. description: 持仓其他冻结数量(交割冻结)
  18193. type: number
  18194. positionpl:
  18195. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  18196. * 合约单位
  18197. type: number
  18198. positionplrate:
  18199. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  18200. type: number
  18201. positionqty:
  18202. description: 期初持仓数量
  18203. type: number
  18204. qtydecimalplace:
  18205. description: 成交量小数位
  18206. type: integer
  18207. refgoodscode:
  18208. description: 参考商品代码
  18209. type: string
  18210. refgoodsid:
  18211. description: 参考商品ID
  18212. type: integer
  18213. tnqty:
  18214. description: T+N冻结总量
  18215. type: number
  18216. tnusedqty:
  18217. description: T+N使用量(可以使用T+N的冻结数量)
  18218. type: number
  18219. trademode:
  18220. description: 交易模式
  18221. type: integer
  18222. tradeproperty:
  18223. description: 交易属性
  18224. type: integer
  18225. usedmargin:
  18226. description: 占用保证金[商品币种]
  18227. type: number
  18228. required:
  18229. - goodsid
  18230. type: object
  18231. pb.GoodsMarginCfgStruct:
  18232. properties:
  18233. CustomerTypeID:
  18234. description: 投资者客户类型
  18235. type: integer
  18236. GoodsID:
  18237. description: 商品ID
  18238. type: integer
  18239. IsDefault:
  18240. description: 是否默认标志位
  18241. type: integer
  18242. LockMarginValue:
  18243. description: 锁仓保证金
  18244. type: number
  18245. MarginAlgorithm:
  18246. description: 保证金计算方式
  18247. type: integer
  18248. MarketMarginValue:
  18249. description: 即市保证金值
  18250. type: number
  18251. RealMarginAlgorithm:
  18252. description: 实付保证金计算方式
  18253. type: integer
  18254. RealMarginValue:
  18255. description: 实付比例
  18256. type: number
  18257. ReckonMarginValue:
  18258. description: 结算保证金值
  18259. type: number
  18260. type: object
  18261. quote.HistoryData:
  18262. properties:
  18263. c:
  18264. description: 收盘价
  18265. type: number
  18266. f:
  18267. description: 是否补充数据
  18268. type: boolean
  18269. h:
  18270. description: 最高价
  18271. type: number
  18272. hv:
  18273. description: 持仓量
  18274. type: integer
  18275. l:
  18276. description: 最低价
  18277. type: number
  18278. o:
  18279. description: 开盘价
  18280. type: number
  18281. s:
  18282. description: 结算价,日线周期(包括)以上才有
  18283. type: number
  18284. ts:
  18285. description: 时间
  18286. type: string
  18287. tt:
  18288. description: 总金额
  18289. type: number
  18290. tv:
  18291. description: 总量(成交量)
  18292. type: integer
  18293. type: object
  18294. quote.HistoryTikData:
  18295. properties:
  18296. AV:
  18297. description: 卖量
  18298. type: integer
  18299. Ask:
  18300. description: 卖价
  18301. type: number
  18302. BV:
  18303. description: 买量
  18304. type: integer
  18305. Bid:
  18306. description: 买价
  18307. type: number
  18308. HI:
  18309. description: 单笔持仓
  18310. type: integer
  18311. HV:
  18312. description: 持仓量
  18313. type: integer
  18314. PE:
  18315. description: 现价
  18316. type: number
  18317. TDR:
  18318. description: 交易方向,0:买 1:卖
  18319. type: integer
  18320. TK:
  18321. description: 交易类型
  18322. type: integer
  18323. TS:
  18324. description: 行情时间文本
  18325. type: string
  18326. TT:
  18327. description: 现金额
  18328. type: number
  18329. Vol:
  18330. description: 现量
  18331. type: integer
  18332. type: object
  18333. quote.QueryQuoteDayRsp:
  18334. properties:
  18335. ask:
  18336. description: 卖1
  18337. type: number
  18338. ask2:
  18339. description: 卖2
  18340. type: number
  18341. ask3:
  18342. description: 卖3
  18343. type: number
  18344. ask4:
  18345. description: 卖4
  18346. type: number
  18347. ask5:
  18348. description: 卖5
  18349. type: number
  18350. ask6:
  18351. description: 卖6
  18352. type: number
  18353. ask7:
  18354. description: 卖7
  18355. type: number
  18356. ask8:
  18357. description: 卖8
  18358. type: number
  18359. ask9:
  18360. description: 卖9
  18361. type: number
  18362. ask10:
  18363. description: 卖10
  18364. type: number
  18365. askorderid:
  18366. description: 卖单号1
  18367. type: integer
  18368. askorderid2:
  18369. description: 卖单号2
  18370. type: integer
  18371. askorderid3:
  18372. description: 卖单号3
  18373. type: integer
  18374. askorderid4:
  18375. description: 卖单号4
  18376. type: integer
  18377. askorderid5:
  18378. description: 卖单号5
  18379. type: integer
  18380. askordervolume:
  18381. description: 卖单量1
  18382. type: integer
  18383. askordervolume2:
  18384. description: 卖单量2
  18385. type: integer
  18386. askordervolume3:
  18387. description: 卖单量3
  18388. type: integer
  18389. askordervolume4:
  18390. description: 卖单量4
  18391. type: integer
  18392. askordervolume5:
  18393. description: 卖单量5
  18394. type: integer
  18395. askordervolume6:
  18396. description: 卖单量6
  18397. type: integer
  18398. askordervolume7:
  18399. description: 卖单量7
  18400. type: integer
  18401. askordervolume8:
  18402. description: 卖单量8
  18403. type: integer
  18404. askordervolume9:
  18405. description: 卖单量9
  18406. type: integer
  18407. askordervolume10:
  18408. description: 卖单量10
  18409. type: integer
  18410. askqueueinfo:
  18411. description: 大利市卖港股用
  18412. type: string
  18413. askvolume:
  18414. description: 卖量1
  18415. type: integer
  18416. askvolume2:
  18417. description: 卖量2
  18418. type: integer
  18419. askvolume3:
  18420. description: 卖量3
  18421. type: integer
  18422. askvolume4:
  18423. description: 卖量4
  18424. type: integer
  18425. askvolume5:
  18426. description: 卖量5
  18427. type: integer
  18428. askvolume6:
  18429. description: 卖量6
  18430. type: integer
  18431. askvolume7:
  18432. description: 卖量7
  18433. type: integer
  18434. askvolume8:
  18435. description: 卖量8
  18436. type: integer
  18437. askvolume9:
  18438. description: 卖量9
  18439. type: integer
  18440. askvolume10:
  18441. description: 卖量10
  18442. type: integer
  18443. averageprice:
  18444. description: 均价
  18445. type: number
  18446. bid:
  18447. description: 买1
  18448. type: number
  18449. bid2:
  18450. description: 买2
  18451. type: number
  18452. bid3:
  18453. description: 买3
  18454. type: number
  18455. bid4:
  18456. description: 买4
  18457. type: number
  18458. bid5:
  18459. description: 买5
  18460. type: number
  18461. bid6:
  18462. description: 买6
  18463. type: number
  18464. bid7:
  18465. description: 买7
  18466. type: number
  18467. bid8:
  18468. description: 买8
  18469. type: number
  18470. bid9:
  18471. description: 买9
  18472. type: number
  18473. bid10:
  18474. description: 买10
  18475. type: number
  18476. bidorderid:
  18477. description: 买单号1
  18478. type: integer
  18479. bidorderid2:
  18480. description: 买单号2
  18481. type: integer
  18482. bidorderid3:
  18483. description: 买单号3
  18484. type: integer
  18485. bidorderid4:
  18486. description: 买单号4
  18487. type: integer
  18488. bidorderid5:
  18489. description: 买单号5
  18490. type: integer
  18491. bidordervolume:
  18492. description: 买单量1
  18493. type: integer
  18494. bidordervolume2:
  18495. description: 买单量2
  18496. type: integer
  18497. bidordervolume3:
  18498. description: 买单量3
  18499. type: integer
  18500. bidordervolume4:
  18501. description: 买单量4
  18502. type: integer
  18503. bidordervolume5:
  18504. description: 买单量5
  18505. type: integer
  18506. bidordervolume6:
  18507. description: 买单量6
  18508. type: integer
  18509. bidordervolume7:
  18510. description: 买单量7
  18511. type: integer
  18512. bidordervolume8:
  18513. description: 买单量8
  18514. type: integer
  18515. bidordervolume9:
  18516. description: 买单量9
  18517. type: integer
  18518. bidordervolume10:
  18519. description: 买单量10
  18520. type: integer
  18521. bidqueueinfo:
  18522. description: 大利市买港股用
  18523. type: string
  18524. bidvolume:
  18525. description: 买量1
  18526. type: integer
  18527. bidvolume2:
  18528. description: 买量2
  18529. type: integer
  18530. bidvolume3:
  18531. description: 买量3
  18532. type: integer
  18533. bidvolume4:
  18534. description: 买量4
  18535. type: integer
  18536. bidvolume5:
  18537. description: 买量5
  18538. type: integer
  18539. bidvolume6:
  18540. description: 买量6
  18541. type: integer
  18542. bidvolume7:
  18543. description: 买量7
  18544. type: integer
  18545. bidvolume8:
  18546. description: 买量8
  18547. type: integer
  18548. bidvolume9:
  18549. description: 买量9
  18550. type: integer
  18551. bidvolume10:
  18552. description: 买量10
  18553. type: integer
  18554. calloptionpremiums:
  18555. description: 认购期权1
  18556. type: integer
  18557. calloptionpremiums2:
  18558. description: 认购期权2
  18559. type: integer
  18560. calloptionpremiums3:
  18561. description: 认购期权3
  18562. type: integer
  18563. calloptionpremiums4:
  18564. description: 认购期权4
  18565. type: integer
  18566. calloptionpremiums5:
  18567. description: 认购期权5
  18568. type: integer
  18569. cleartime:
  18570. description: 清盘时间
  18571. type: integer
  18572. exchangecode:
  18573. description: 交易所代码
  18574. type: integer
  18575. exchangedate:
  18576. description: 交易日
  18577. type: integer
  18578. goodscode:
  18579. description: 商品代码
  18580. type: string
  18581. grepmarketprice:
  18582. description: 暗盘价 港股专用
  18583. type: number
  18584. highest:
  18585. description: 最高价
  18586. type: number
  18587. holdincrement:
  18588. description: 单笔持仓
  18589. type: integer
  18590. holdvolume:
  18591. description: 持仓
  18592. type: integer
  18593. iep:
  18594. description: 平衡价 港股专用
  18595. type: number
  18596. iev:
  18597. description: 平衡量 港股专用
  18598. type: number
  18599. inventory:
  18600. description: 库存
  18601. type: integer
  18602. iscleared:
  18603. description: 是否清盘标志
  18604. type: integer
  18605. issettled:
  18606. description: 是否结算标志
  18607. type: integer
  18608. last:
  18609. description: 最新价
  18610. type: number
  18611. lastlot:
  18612. description: 最新成交手数
  18613. type: integer
  18614. lasttime:
  18615. description: 行情时间(只有现价变化行情时间才变化)
  18616. type: string
  18617. lastturnover:
  18618. description: 最新成交金额
  18619. type: number
  18620. lastvolume:
  18621. description: 最新成交量
  18622. type: integer
  18623. limitdown:
  18624. description: 跌停价
  18625. type: number
  18626. limitup:
  18627. description: 涨停价
  18628. type: number
  18629. lowest:
  18630. description: 最低价
  18631. type: number
  18632. nontotalholdervolume:
  18633. description: 非交易持仓量
  18634. type: integer
  18635. nontotallot:
  18636. description: 非交易总手数
  18637. type: integer
  18638. nontotalturnover:
  18639. description: 非交易总金额
  18640. type: integer
  18641. nontotalvolume:
  18642. description: 非交易总量
  18643. type: integer
  18644. opened:
  18645. description: 开盘价
  18646. type: number
  18647. opentime:
  18648. description: 开盘时间
  18649. type: string
  18650. orderid:
  18651. description: 序号
  18652. type: integer
  18653. preclose:
  18654. description: 昨收
  18655. type: number
  18656. preholdvolume:
  18657. description: 昨持仓
  18658. type: integer
  18659. presettle:
  18660. description: 昨结价
  18661. type: number
  18662. publictradetype:
  18663. description: 公共交易标志类型 港股专用
  18664. type: string
  18665. putoptionpremiums:
  18666. description: 认沽期权1
  18667. type: integer
  18668. putoptionpremiums2:
  18669. description: 认沽期权2
  18670. type: integer
  18671. putoptionpremiums3:
  18672. description: 认沽期权3
  18673. type: integer
  18674. putoptionpremiums4:
  18675. description: 认沽期权4
  18676. type: integer
  18677. putoptionpremiums5:
  18678. description: 认沽期权5
  18679. type: integer
  18680. settle:
  18681. description: 结算价
  18682. type: number
  18683. strikeprice:
  18684. description: 发行价
  18685. type: number
  18686. totalaskvolume:
  18687. description: 内盘
  18688. type: integer
  18689. totalbidvolume:
  18690. description: 外盘
  18691. type: integer
  18692. totallot:
  18693. description: 总手数
  18694. type: integer
  18695. totalturnover:
  18696. description: 总金额
  18697. type: number
  18698. totalvolume:
  18699. description: 总量
  18700. type: integer
  18701. utclasttime:
  18702. description: utc的行情时间
  18703. type: string
  18704. type: object
  18705. quote.QueryTSDataRsp:
  18706. properties:
  18707. Count:
  18708. description: 交易日应有数据个数
  18709. type: integer
  18710. decimalPlace:
  18711. description: 小数位
  18712. type: integer
  18713. endTime:
  18714. description: 结束时间
  18715. type: string
  18716. goodsCode:
  18717. description: 商品代码
  18718. type: string
  18719. historyDatas:
  18720. description: 历史数据
  18721. items:
  18722. $ref: '#/definitions/quote.HistoryData'
  18723. type: array
  18724. outGoodsCode:
  18725. description: 外部商品代码
  18726. type: string
  18727. preSettle:
  18728. description: 昨结价
  18729. type: number
  18730. runSteps:
  18731. description: 交易日开休市计划
  18732. items:
  18733. $ref: '#/definitions/quote.TSDataRunStep'
  18734. type: array
  18735. startTime:
  18736. description: 开始时间
  18737. type: string
  18738. tradeDate:
  18739. description: 交易日
  18740. type: string
  18741. type: object
  18742. quote.TSDataRunStep:
  18743. properties:
  18744. end:
  18745. description: 真实结束时间
  18746. type: string
  18747. endflag:
  18748. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  18749. type: integer
  18750. endtime:
  18751. description: 结束时间(HH:mm)
  18752. type: string
  18753. endweekday:
  18754. description: 结束周几
  18755. type: integer
  18756. groupid:
  18757. description: 分组ID
  18758. type: integer
  18759. runstep:
  18760. description: 运行阶段 - 2:连续交易
  18761. type: integer
  18762. sectionid:
  18763. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  18764. 结束时间=结算时间 结束周几=结算周几
  18765. type: integer
  18766. start:
  18767. description: 真实开始时间
  18768. type: string
  18769. startflag:
  18770. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  18771. type: integer
  18772. starttime:
  18773. description: 起始时间(HH:mm)
  18774. type: string
  18775. startweekday:
  18776. description: 起始周几
  18777. type: integer
  18778. tradeweekday:
  18779. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  18780. type: integer
  18781. type: object
  18782. szdz.QueryConvertLogRsp:
  18783. properties:
  18784. accountid:
  18785. description: 资金账户ID
  18786. type: integer
  18787. clientticket:
  18788. description: 客户端流水号
  18789. type: string
  18790. converttype:
  18791. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  18792. type: integer
  18793. createtime:
  18794. description: 记账时间
  18795. type: string
  18796. daymaxvalue:
  18797. description: 配置当日最大转入限制
  18798. type: number
  18799. daymaxvalue2:
  18800. description: 配置当日最大转入限制(转入)
  18801. type: number
  18802. goodscode:
  18803. description: 商品代码
  18804. type: string
  18805. goodsname:
  18806. description: 商品名称
  18807. type: string
  18808. handlestatus:
  18809. description: 处理状态
  18810. type: integer
  18811. innergoodsid:
  18812. description: 内部商品ID
  18813. type: integer
  18814. inratio:
  18815. description: 配置转入比值
  18816. type: integer
  18817. invalue:
  18818. description: 目标值
  18819. type: number
  18820. logid:
  18821. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18822. type: integer
  18823. mobile:
  18824. description: 手机号码(加密存储)
  18825. type: string
  18826. outergoodscode:
  18827. description: 外部商品代码[JD\PD]
  18828. type: string
  18829. outratio:
  18830. description: 配置转出比值
  18831. type: integer
  18832. outvalue:
  18833. description: 源值
  18834. type: number
  18835. pddecimalplace:
  18836. description: PD小数位
  18837. type: integer
  18838. qty:
  18839. description: 数量
  18840. type: string
  18841. remark:
  18842. description: 备注
  18843. type: string
  18844. sessionid:
  18845. description: 会话ID
  18846. type: integer
  18847. timemaxvalue:
  18848. description: 配置单次最大转入限制
  18849. type: number
  18850. timemaxvalue2:
  18851. description: 配置单次最大转入限制(转入)
  18852. type: number
  18853. timeminvalue:
  18854. description: 配置单次最小数量限制
  18855. type: number
  18856. timeminvalue2:
  18857. description: 配置单次最小数量限制(转入)
  18858. type: number
  18859. tradedate:
  18860. description: 交易日(yyyyMMdd)
  18861. type: string
  18862. userid:
  18863. description: 用户ID
  18864. type: integer
  18865. required:
  18866. - logid
  18867. type: object
  18868. szdz.QueryGoodsPickupRsp:
  18869. properties:
  18870. accountid:
  18871. description: 账户ID
  18872. type: integer
  18873. address:
  18874. description: 提货人详细地址
  18875. type: string
  18876. auditer:
  18877. description: 审核人
  18878. type: integer
  18879. audittime:
  18880. description: 审核时间
  18881. type: string
  18882. cardnum:
  18883. description: 提货人证件号码
  18884. type: string
  18885. cardtypeid:
  18886. description: 提货人证件类型
  18887. type: integer
  18888. checkremark:
  18889. description: 审核备注
  18890. type: string
  18891. goodscode:
  18892. description: 商品代码
  18893. type: string
  18894. goodsid:
  18895. description: 商品ID
  18896. type: integer
  18897. goodsname:
  18898. description: 商品名称
  18899. type: string
  18900. handlestatus:
  18901. description: 处理状态
  18902. type: integer
  18903. marketid:
  18904. description: 市场ID
  18905. type: integer
  18906. phonenum:
  18907. description: 提货人联系方式
  18908. type: string
  18909. qty:
  18910. description: 提货数量
  18911. type: number
  18912. recivername:
  18913. description: 提货人姓名
  18914. type: string
  18915. reqtime:
  18916. description: 更新时间
  18917. type: string
  18918. takemode:
  18919. description: 提货方式 - 2:自提 3:配送
  18920. type: integer
  18921. takeorderid:
  18922. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  18923. type: string
  18924. takeorderstatus:
  18925. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  18926. type: integer
  18927. takeremark:
  18928. description: 提货备注
  18929. type: string
  18930. tradedate:
  18931. description: 交易日(yyyyMMdd)
  18932. type: string
  18933. userid:
  18934. description: 用户ID
  18935. type: integer
  18936. required:
  18937. - takeorderid
  18938. type: object
  18939. szdz.QueryRecieptOrderRsp:
  18940. properties:
  18941. accountName:
  18942. description: 所属账号名称(已脱敏)
  18943. type: string
  18944. accountid:
  18945. description: 资金账号
  18946. type: integer
  18947. buyorsell:
  18948. description: 方向 - 0:买 1:卖
  18949. type: integer
  18950. enableqty:
  18951. description: 可摘数量
  18952. type: integer
  18953. goodscode:
  18954. description: 商品代码
  18955. type: string
  18956. goodsid:
  18957. description: 商品ID
  18958. type: integer
  18959. goodsname:
  18960. description: 商品名称
  18961. type: string
  18962. orderid:
  18963. description: 委托单号
  18964. type: string
  18965. orderprice:
  18966. description: 委托价格
  18967. type: number
  18968. ordertime:
  18969. description: 委托时间
  18970. type: string
  18971. tradedate:
  18972. description: 交易日(yyyyMMdd)
  18973. type: string
  18974. required:
  18975. - ordertime
  18976. type: object
  18977. szdz.QuerySZDZTradePositionRsp:
  18978. properties:
  18979. accountid:
  18980. description: 账号Id
  18981. type: integer
  18982. agreeunit:
  18983. description: 合约单位
  18984. type: number
  18985. averageprice:
  18986. description: 持仓均价
  18987. type: number
  18988. buyorsell:
  18989. description: 方向 - 0:买 1:卖
  18990. type: integer
  18991. closetotalqty:
  18992. description: 平仓总数量
  18993. type: integer
  18994. curholderamount:
  18995. description: 当前持仓总金额
  18996. type: number
  18997. curpositionqty:
  18998. description: 当前持仓总数量
  18999. type: integer
  19000. currencyid:
  19001. description: 报价货币ID
  19002. type: integer
  19003. curtdposition:
  19004. description: 期末今日头寸
  19005. type: integer
  19006. decimalplace:
  19007. description: 报价小数位
  19008. type: integer
  19009. enableqty:
  19010. description: 可用量
  19011. type: integer
  19012. fretdposition:
  19013. description: 冻结今日头寸
  19014. type: integer
  19015. frozenqty:
  19016. description: 持仓冻结数量
  19017. type: integer
  19018. goodscode:
  19019. description: 商品代码(内部)
  19020. type: string
  19021. goodsid:
  19022. description: 商品Id
  19023. type: integer
  19024. goodsname:
  19025. description: 商品名称
  19026. type: string
  19027. goodunit:
  19028. description: 报价单位
  19029. type: string
  19030. goodunitid:
  19031. description: 报价单位ID
  19032. type: integer
  19033. holderamount:
  19034. description: 期初持仓总金额
  19035. type: number
  19036. marketid:
  19037. description: 市场ID
  19038. type: integer
  19039. openreqqty:
  19040. description: 开仓申请数量
  19041. type: integer
  19042. opentotalqty:
  19043. description: 开仓总数量
  19044. type: integer
  19045. otherfrozenqty:
  19046. description: 持仓其他冻结数量(交割冻结)
  19047. type: integer
  19048. positionqty:
  19049. description: 期初持仓数量
  19050. type: integer
  19051. szdz3freezqty:
  19052. description: 尚志大宗转换冻结总数量
  19053. type: integer
  19054. tnqty:
  19055. description: T+N冻结总量
  19056. type: integer
  19057. tnusedqty:
  19058. description: T+N使用量
  19059. type: integer
  19060. trademode:
  19061. description: 交易模式
  19062. type: integer
  19063. usedmargin:
  19064. description: 占用保证金
  19065. type: number
  19066. type: object
  19067. taaccount.QueryAmountLogRsp:
  19068. properties:
  19069. OPERATETYPENAME:
  19070. description: 资金操作类型名称
  19071. type: string
  19072. accountid:
  19073. description: 资金账户ID
  19074. type: integer
  19075. agoodscode:
  19076. description: 竞拍商品代码
  19077. type: string
  19078. agoodsname:
  19079. description: 竞拍商品名称
  19080. type: string
  19081. amount:
  19082. description: 资金金额
  19083. type: number
  19084. amountadjusttype:
  19085. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  19086. type: integer
  19087. autoid:
  19088. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  19089. type: integer
  19090. balance:
  19091. description: 期初余额
  19092. type: number
  19093. businesscode:
  19094. description: 业务编号
  19095. type: integer
  19096. createtime:
  19097. description: 发生时间
  19098. type: string
  19099. currencyid:
  19100. description: 币种ID
  19101. type: integer
  19102. currentbalance:
  19103. description: 期末余额(变动后金额)
  19104. type: number
  19105. dgoodscode:
  19106. description: 交割商品代码
  19107. type: string
  19108. dgoodsname:
  19109. description: 交割商品名称
  19110. type: string
  19111. goodscode:
  19112. description: 商品代码
  19113. type: string
  19114. goodsid:
  19115. description: 商品ID
  19116. type: integer
  19117. goodsname:
  19118. description: 商品名称
  19119. type: string
  19120. marketid:
  19121. description: 市场ID
  19122. type: integer
  19123. marketname:
  19124. description: 市场名称
  19125. type: string
  19126. moneyticket:
  19127. description: 资金流水号:银行端流水号
  19128. type: integer
  19129. operatetype:
  19130. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  19131. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  19132. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  19133. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  19134. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  19135. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  19136. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  19137. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  19138. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  19139. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  19140. type: integer
  19141. relationorderid:
  19142. description: 关联单号
  19143. type: string
  19144. remark:
  19145. description: 备注
  19146. type: string
  19147. trademode:
  19148. description: 交易模式
  19149. type: integer
  19150. required:
  19151. - accountid
  19152. - amount
  19153. - amountadjusttype
  19154. - autoid
  19155. - balance
  19156. - createtime
  19157. - currentbalance
  19158. - operatetype
  19159. type: object
  19160. taaccount.QueryHisAmountLogRsp:
  19161. properties:
  19162. OPERATETYPENAME:
  19163. description: 资金操作类型名称
  19164. type: string
  19165. accountid:
  19166. description: 资金账户ID
  19167. type: integer
  19168. agoodscode:
  19169. description: 竞拍商品代码
  19170. type: string
  19171. agoodsname:
  19172. description: 竞拍商品名称
  19173. type: string
  19174. amount:
  19175. description: 资金金额
  19176. type: number
  19177. amountadjusttype:
  19178. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  19179. type: integer
  19180. autoid:
  19181. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  19182. type: integer
  19183. balance:
  19184. description: 期初余额
  19185. type: number
  19186. businesscode:
  19187. description: 业务编号
  19188. type: integer
  19189. createtime:
  19190. description: 发生时间
  19191. type: string
  19192. currencyid:
  19193. description: 币种ID
  19194. type: integer
  19195. currentbalance:
  19196. description: 期末余额(变动后金额)
  19197. type: number
  19198. dgoodscode:
  19199. description: 交割商品代码
  19200. type: string
  19201. dgoodsname:
  19202. description: 交割商品名称
  19203. type: string
  19204. goodscode:
  19205. description: 商品代码
  19206. type: string
  19207. goodsid:
  19208. description: 商品ID
  19209. type: integer
  19210. goodsname:
  19211. description: 商品名称
  19212. type: string
  19213. histradedate:
  19214. description: 历史交易日
  19215. type: string
  19216. isvaliddata:
  19217. description: 是否有效 - 0:无效 1:有效
  19218. type: integer
  19219. marketid:
  19220. description: 市场ID
  19221. type: integer
  19222. marketname:
  19223. description: 市场名称
  19224. type: string
  19225. moneyticket:
  19226. description: 资金流水号:银行端流水号
  19227. type: integer
  19228. operatetype:
  19229. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  19230. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  19231. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  19232. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  19233. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  19234. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  19235. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  19236. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  19237. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  19238. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  19239. type: integer
  19240. relationorderid:
  19241. description: 关联单号
  19242. type: string
  19243. remark:
  19244. description: 备注
  19245. type: string
  19246. trademode:
  19247. description: 交易模式
  19248. type: integer
  19249. required:
  19250. - accountid
  19251. - amount
  19252. - amountadjusttype
  19253. - autoid
  19254. - balance
  19255. - createtime
  19256. - currentbalance
  19257. - histradedate
  19258. - operatetype
  19259. type: object
  19260. trade.QueryRecieptOrderRsp:
  19261. properties:
  19262. accountName:
  19263. description: 所属账号名称(已脱敏)
  19264. type: string
  19265. accountid:
  19266. description: 资金账号
  19267. type: integer
  19268. buyorsell:
  19269. description: 方向 - 0:买 1:卖
  19270. type: integer
  19271. enableqty:
  19272. description: 可摘数量
  19273. type: integer
  19274. goodscode:
  19275. description: 商品代码
  19276. type: string
  19277. goodsid:
  19278. description: 商品ID
  19279. type: integer
  19280. goodsname:
  19281. description: 商品名称
  19282. type: string
  19283. orderid:
  19284. description: 委托单号
  19285. type: string
  19286. orderprice:
  19287. description: 委托价格
  19288. type: number
  19289. ordertime:
  19290. description: 委托时间
  19291. type: string
  19292. tradedate:
  19293. description: 交易日(yyyyMMdd)
  19294. type: string
  19295. required:
  19296. - ordertime
  19297. type: object
  19298. user.LoginQueryRsp:
  19299. properties:
  19300. areaRoles:
  19301. description: 所属角色信息
  19302. items:
  19303. $ref: '#/definitions/models.Arearole'
  19304. type: array
  19305. externalExchanges:
  19306. description: 外部交易所
  19307. items:
  19308. $ref: '#/definitions/models.Externalexchange'
  19309. type: array
  19310. goodsgroups:
  19311. description: 商品组
  19312. items:
  19313. $ref: '#/definitions/models.Goodsgroup'
  19314. type: array
  19315. loginAccount:
  19316. $ref: '#/definitions/models.Loginaccount'
  19317. description: 登录账号
  19318. markets:
  19319. description: 市场
  19320. items:
  19321. $ref: '#/definitions/models.Market'
  19322. type: array
  19323. systemParams:
  19324. description: 系统参数
  19325. items:
  19326. $ref: '#/definitions/models.Systemparam'
  19327. type: array
  19328. userAccount:
  19329. $ref: '#/definitions/models.Useraccount'
  19330. description: 用户账号
  19331. userInfo:
  19332. $ref: '#/definitions/models.Userinfo'
  19333. description: 用户信息
  19334. username:
  19335. description: 用户姓名
  19336. type: string
  19337. type: object
  19338. info:
  19339. contact: {}
  19340. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  19341. termsOfService: http://www.muchinfo.cn
  19342. title: MTP2.0 查询服务 API
  19343. version: "1.0"
  19344. paths:
  19345. /CPTrade/QueryCPTradeMyBidInfos:
  19346. get:
  19347. parameters:
  19348. - description: 资金账户
  19349. in: query
  19350. name: accountid
  19351. required: true
  19352. type: integer
  19353. - description: 预售市场ID
  19354. in: query
  19355. name: marketid
  19356. type: integer
  19357. - description: 预售商品ID
  19358. in: query
  19359. name: goodsid
  19360. type: integer
  19361. produces:
  19362. - application/json
  19363. responses:
  19364. "200":
  19365. description: OK
  19366. schema:
  19367. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  19368. "500":
  19369. description: Internal Server Error
  19370. schema:
  19371. $ref: '#/definitions/app.Response'
  19372. security:
  19373. - ApiKeyAuth: []
  19374. summary: 查询产能预售我的出价信息
  19375. tags:
  19376. - 产能预售
  19377. /CPTrade/QueryCPTradeOrderDetail:
  19378. get:
  19379. parameters:
  19380. - description: 预售商品ID
  19381. in: query
  19382. name: goodsid
  19383. type: integer
  19384. - description: 预售市场ID
  19385. in: query
  19386. name: marketid
  19387. type: integer
  19388. - description: 预售商品ID列表 - 格式:1,2,3
  19389. in: query
  19390. name: goodsids
  19391. type: string
  19392. produces:
  19393. - application/json
  19394. responses:
  19395. "200":
  19396. description: OK
  19397. schema:
  19398. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  19399. "500":
  19400. description: Internal Server Error
  19401. schema:
  19402. $ref: '#/definitions/app.Response'
  19403. security:
  19404. - ApiKeyAuth: []
  19405. summary: 查询产能预售委托单信息
  19406. tags:
  19407. - 产能预售
  19408. /CPTrade/QueryMyCPTradeGoods:
  19409. get:
  19410. parameters:
  19411. - description: 资金账户
  19412. in: query
  19413. name: accountid
  19414. required: true
  19415. type: integer
  19416. produces:
  19417. - application/json
  19418. responses:
  19419. "200":
  19420. description: OK
  19421. schema:
  19422. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  19423. "500":
  19424. description: Internal Server Error
  19425. schema:
  19426. $ref: '#/definitions/app.Response'
  19427. security:
  19428. - ApiKeyAuth: []
  19429. summary: 查询我的预售信息
  19430. tags:
  19431. - 产能预售
  19432. /CPTrade/QueryPositionCancel:
  19433. get:
  19434. parameters:
  19435. - description: 账户ID
  19436. in: query
  19437. name: userid
  19438. required: true
  19439. type: integer
  19440. - description: 注销ID
  19441. in: query
  19442. name: cancelid
  19443. type: integer
  19444. - description: 资金账户ID
  19445. in: query
  19446. name: accountid
  19447. type: integer
  19448. produces:
  19449. - application/json
  19450. responses:
  19451. "200":
  19452. description: OK
  19453. schema:
  19454. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  19455. "500":
  19456. description: Internal Server Error
  19457. schema:
  19458. $ref: '#/definitions/app.Response'
  19459. security:
  19460. - ApiKeyAuth: []
  19461. summary: 查询远期订单注销申请信息
  19462. tags:
  19463. - 产能预售
  19464. /CPTrade/QueryPreasleApply:
  19465. get:
  19466. parameters:
  19467. - description: 账户ID
  19468. in: query
  19469. name: userid
  19470. required: true
  19471. type: integer
  19472. - description: 申请ID
  19473. in: query
  19474. name: applyid
  19475. type: integer
  19476. - description: 资金账户ID
  19477. in: query
  19478. name: accountid
  19479. type: integer
  19480. produces:
  19481. - application/json
  19482. responses:
  19483. "200":
  19484. description: OK
  19485. schema:
  19486. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  19487. "500":
  19488. description: Internal Server Error
  19489. schema:
  19490. $ref: '#/definitions/app.Response'
  19491. security:
  19492. - ApiKeyAuth: []
  19493. summary: 查询产能预售申请信息
  19494. tags:
  19495. - 产能预售
  19496. /CPTrade/QueryPresaleGoodsEx:
  19497. get:
  19498. parameters:
  19499. - description: 预售商品ID
  19500. in: query
  19501. name: goodsid
  19502. type: integer
  19503. - description: 预售市场ID
  19504. in: query
  19505. name: marketid
  19506. type: integer
  19507. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  19508. in: query
  19509. name: presalemode
  19510. type: integer
  19511. - description: 预售商品ID列表 - 格式:1,2,3
  19512. in: query
  19513. name: goodsids
  19514. type: string
  19515. - description: 预售商品代码
  19516. in: query
  19517. name: goodscode
  19518. type: string
  19519. produces:
  19520. - application/json
  19521. responses:
  19522. "200":
  19523. description: OK
  19524. schema:
  19525. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  19526. "500":
  19527. description: Internal Server Error
  19528. schema:
  19529. $ref: '#/definitions/app.Response'
  19530. security:
  19531. - ApiKeyAuth: []
  19532. summary: 查询产能预售商品扩展信息
  19533. tags:
  19534. - 产能预售
  19535. /CPTrade/QueryUserGoodsData:
  19536. get:
  19537. parameters:
  19538. - description: 资金账户ID
  19539. in: query
  19540. name: accountid
  19541. required: true
  19542. type: integer
  19543. produces:
  19544. - application/json
  19545. responses:
  19546. "200":
  19547. description: OK
  19548. schema:
  19549. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  19550. "500":
  19551. description: Internal Server Error
  19552. schema:
  19553. $ref: '#/definitions/app.Response'
  19554. security:
  19555. - ApiKeyAuth: []
  19556. summary: 查询远期订单信息
  19557. tags:
  19558. - 产能预售
  19559. /Common/GetAllEnums:
  19560. get:
  19561. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  19562. parameters:
  19563. - description: 起始自增ID
  19564. in: query
  19565. name: autoid
  19566. type: integer
  19567. produces:
  19568. - application/json
  19569. responses:
  19570. "200":
  19571. description: OK
  19572. schema:
  19573. $ref: '#/definitions/models.Enumdicitem'
  19574. "500":
  19575. description: Internal Server Error
  19576. schema:
  19577. $ref: '#/definitions/app.Response'
  19578. summary: 获取所有枚举信息
  19579. tags:
  19580. - 通用服务
  19581. /Common/GetClientMenus:
  19582. get:
  19583. parameters:
  19584. - description: 登录账号
  19585. in: query
  19586. name: loginID
  19587. required: true
  19588. type: integer
  19589. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  19590. in: query
  19591. name: clientType
  19592. type: integer
  19593. - description: 分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台
  19594. in: query
  19595. name: name
  19596. type: string
  19597. produces:
  19598. - application/json
  19599. responses:
  19600. "200":
  19601. description: OK
  19602. schema:
  19603. items:
  19604. $ref: '#/definitions/common.ClientMenu'
  19605. type: array
  19606. "500":
  19607. description: Internal Server Error
  19608. schema:
  19609. $ref: '#/definitions/app.Response'
  19610. security:
  19611. - ApiKeyAuth: []
  19612. summary: 获取交易端菜单
  19613. tags:
  19614. - 通用服务
  19615. /Common/GetDivisions:
  19616. get:
  19617. produces:
  19618. - application/json
  19619. responses:
  19620. "200":
  19621. description: OK
  19622. schema:
  19623. $ref: '#/definitions/models.Division'
  19624. "500":
  19625. description: Internal Server Error
  19626. schema:
  19627. $ref: '#/definitions/app.Response'
  19628. summary: 查询区域信息
  19629. tags:
  19630. - 通用服务
  19631. /Common/GetPCWebMenus:
  19632. get:
  19633. parameters:
  19634. - description: 登录账号
  19635. in: query
  19636. name: loginID
  19637. required: true
  19638. type: integer
  19639. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  19640. in: query
  19641. name: name
  19642. type: string
  19643. produces:
  19644. - application/json
  19645. responses:
  19646. "200":
  19647. description: OK
  19648. schema:
  19649. items:
  19650. $ref: '#/definitions/common.PCWebMenu'
  19651. type: array
  19652. "500":
  19653. description: Internal Server Error
  19654. schema:
  19655. $ref: '#/definitions/app.Response'
  19656. security:
  19657. - ApiKeyAuth: []
  19658. summary: 获取PCWeb交易端菜单
  19659. tags:
  19660. - 通用服务
  19661. /Common/GetServerTime:
  19662. get:
  19663. produces:
  19664. - application/json
  19665. responses:
  19666. "200":
  19667. description: OK
  19668. schema:
  19669. $ref: '#/definitions/app.Response'
  19670. "500":
  19671. description: Internal Server Error
  19672. schema:
  19673. $ref: '#/definitions/app.Response'
  19674. summary: 获取服务器时间
  19675. tags:
  19676. - 通用服务
  19677. /Common/NoticeReaded:
  19678. post:
  19679. parameters:
  19680. - description: 登录账号
  19681. in: query
  19682. name: loginID
  19683. required: true
  19684. type: integer
  19685. - description: 通知公告ID
  19686. in: query
  19687. name: noticeID
  19688. required: true
  19689. type: integer
  19690. produces:
  19691. - application/json
  19692. responses:
  19693. "200":
  19694. description: OK
  19695. schema:
  19696. $ref: '#/definitions/app.Response'
  19697. "500":
  19698. description: Internal Server Error
  19699. schema:
  19700. $ref: '#/definitions/app.Response'
  19701. security:
  19702. - ApiKeyAuth: []
  19703. summary: 通知公告设置已读请求
  19704. tags:
  19705. - 通用服务
  19706. /Common/QueryErrorInfos:
  19707. get:
  19708. description: 如果传入rowNumber,则返回此rowNumber后的数据
  19709. parameters:
  19710. - description: 起始行号前索引
  19711. in: query
  19712. name: rowNumber
  19713. type: string
  19714. produces:
  19715. - application/json
  19716. responses:
  19717. "200":
  19718. description: OK
  19719. schema:
  19720. $ref: '#/definitions/models.QueryErrorInfosRsp'
  19721. "500":
  19722. description: Internal Server Error
  19723. schema:
  19724. $ref: '#/definitions/app.Response'
  19725. summary: 获取数据库错误信息
  19726. tags:
  19727. - 通用服务
  19728. /Common/QueryImageConfigs:
  19729. get:
  19730. parameters:
  19731. - description: 用户id
  19732. in: query
  19733. name: userId
  19734. type: integer
  19735. - description: 类型 - 1:App首页轮播 2:我的 3:首页(PC) 4:首页推广(移动-新会)
  19736. in: query
  19737. name: imageType
  19738. type: integer
  19739. produces:
  19740. - application/json
  19741. responses:
  19742. "200":
  19743. description: OK
  19744. schema:
  19745. $ref: '#/definitions/common.QueryImageConfigsRsp'
  19746. "500":
  19747. description: Internal Server Error
  19748. schema:
  19749. $ref: '#/definitions/app.Response'
  19750. summary: 查询轮播图配置信息
  19751. tags:
  19752. - 通用服务
  19753. /Common/QueryNotice:
  19754. get:
  19755. parameters:
  19756. - description: 页码
  19757. in: query
  19758. name: page
  19759. type: integer
  19760. - description: 每页条数
  19761. in: query
  19762. name: pagesize
  19763. type: integer
  19764. - description: 登录账号
  19765. in: query
  19766. name: loginID
  19767. required: true
  19768. type: integer
  19769. - description: 消息类型 - 1:公告通知 2:系统消息
  19770. in: query
  19771. name: msgType
  19772. type: integer
  19773. - description: 是否只获取未读信息
  19774. in: query
  19775. name: onlyUnRead
  19776. type: boolean
  19777. - description: 自增ID,传入后会返回这个ID后面的记录
  19778. in: query
  19779. name: lastID
  19780. type: integer
  19781. produces:
  19782. - application/json
  19783. responses:
  19784. "200":
  19785. description: OK
  19786. schema:
  19787. $ref: '#/definitions/common.QueryNoticeRsp'
  19788. "500":
  19789. description: Internal Server Error
  19790. schema:
  19791. $ref: '#/definitions/app.Response'
  19792. security:
  19793. - ApiKeyAuth: []
  19794. summary: 通知公告系统消息查询
  19795. tags:
  19796. - 通用服务
  19797. /Common/QueryProvincesAndCities:
  19798. get:
  19799. parameters:
  19800. - description: 省ID
  19801. in: query
  19802. name: provinceID
  19803. type: integer
  19804. produces:
  19805. - application/json
  19806. responses:
  19807. "200":
  19808. description: OK
  19809. schema:
  19810. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  19811. "500":
  19812. description: Internal Server Error
  19813. schema:
  19814. $ref: '#/definitions/app.Response'
  19815. summary: 查询省市信息(不包括区)
  19816. tags:
  19817. - 通用服务
  19818. /Common/QueryTableDefine:
  19819. get:
  19820. parameters:
  19821. - description: 表key
  19822. in: query
  19823. name: tableKey
  19824. type: string
  19825. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  19826. in: query
  19827. name: tableType
  19828. type: integer
  19829. produces:
  19830. - application/json
  19831. responses:
  19832. "200":
  19833. description: OK
  19834. schema:
  19835. $ref: '#/definitions/common.QueryTableDefineRsp'
  19836. "500":
  19837. description: Internal Server Error
  19838. schema:
  19839. $ref: '#/definitions/app.Response'
  19840. summary: 查询交易端列表头信息
  19841. tags:
  19842. - 通用服务
  19843. /Common/QueryTraderMenu:
  19844. get:
  19845. parameters:
  19846. - description: 登录账号
  19847. in: query
  19848. name: loginid
  19849. required: true
  19850. type: integer
  19851. produces:
  19852. - application/json
  19853. responses:
  19854. "200":
  19855. description: OK
  19856. schema:
  19857. $ref: '#/definitions/common.QueryTraderMenuRsp'
  19858. "500":
  19859. description: Internal Server Error
  19860. schema:
  19861. $ref: '#/definitions/app.Response'
  19862. summary: 查询交易端菜单
  19863. tags:
  19864. - 通用服务
  19865. /Delivery/QueryDeliveryRelation:
  19866. get:
  19867. parameters:
  19868. - description: 商品ID
  19869. in: query
  19870. name: goodsid
  19871. type: integer
  19872. - description: 品种ID
  19873. in: query
  19874. name: deliverygoodsid
  19875. type: integer
  19876. - description: 市场ID
  19877. in: query
  19878. name: marketid
  19879. type: integer
  19880. produces:
  19881. - application/json
  19882. responses:
  19883. "200":
  19884. description: OK
  19885. schema:
  19886. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  19887. "500":
  19888. description: Internal Server Error
  19889. schema:
  19890. $ref: '#/definitions/app.Response'
  19891. security:
  19892. - ApiKeyAuth: []
  19893. summary: 查询商品交割关系表
  19894. tags:
  19895. - 交割服务
  19896. /Ermcp/GetErmcpGoods:
  19897. get:
  19898. parameters:
  19899. - description: 用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)
  19900. in: query
  19901. name: userid
  19902. type: integer
  19903. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  19904. in: query
  19905. name: lastUpdateTime
  19906. type: string
  19907. produces:
  19908. - application/json
  19909. responses:
  19910. "200":
  19911. description: OK
  19912. schema:
  19913. $ref: '#/definitions/models.ErmcpGoods'
  19914. "500":
  19915. description: Internal Server Error
  19916. schema:
  19917. $ref: '#/definitions/app.Response'
  19918. security:
  19919. - ApiKeyAuth: []
  19920. summary: 查询企业风管期货商品信息
  19921. tags:
  19922. - 企业风险管理(app)
  19923. /Ermcp/GetErmcpGoodsSortByPosition:
  19924. get:
  19925. parameters:
  19926. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  19927. in: query
  19928. name: sortIndex
  19929. type: string
  19930. produces:
  19931. - application/json
  19932. responses:
  19933. "200":
  19934. description: OK
  19935. schema:
  19936. $ref: '#/definitions/models.Goodssortbypreposition'
  19937. "500":
  19938. description: Internal Server Error
  19939. schema:
  19940. $ref: '#/definitions/app.Response'
  19941. security:
  19942. - ApiKeyAuth: []
  19943. summary: 查询企业风管期货主力、次主力商品信息
  19944. tags:
  19945. - 企业风险管理(app)
  19946. /Ermcp/GetErmcpOutAccountStatus:
  19947. get:
  19948. parameters:
  19949. - description: 登录账号
  19950. in: query
  19951. name: loginID
  19952. required: true
  19953. type: integer
  19954. produces:
  19955. - application/json
  19956. responses:
  19957. "200":
  19958. description: OK
  19959. schema:
  19960. $ref: '#/definitions/models.Hedgemarketopenlog'
  19961. "500":
  19962. description: Internal Server Error
  19963. schema:
  19964. $ref: '#/definitions/app.Response'
  19965. security:
  19966. - ApiKeyAuth: []
  19967. summary: 获取目标登录账号当前对冲账号在线状态
  19968. tags:
  19969. - 企业风险管理(app)
  19970. /Ermcp/GetErmcpRoleFuncMenuLists:
  19971. get:
  19972. parameters:
  19973. - description: 登录账号
  19974. in: query
  19975. name: loginID
  19976. required: true
  19977. type: integer
  19978. produces:
  19979. - application/json
  19980. responses:
  19981. "200":
  19982. description: OK
  19983. schema:
  19984. $ref: '#/definitions/models.Funcmenulist'
  19985. "500":
  19986. description: Internal Server Error
  19987. schema:
  19988. $ref: '#/definitions/app.Response'
  19989. security:
  19990. - ApiKeyAuth: []
  19991. summary: 获取企业风管终端权限
  19992. tags:
  19993. - 企业风险管理(app)
  19994. /Ermcp/QueryAccMgrBizGroupSet:
  19995. get:
  19996. parameters:
  19997. - description: 用户ID
  19998. in: query
  19999. name: userid
  20000. required: true
  20001. type: integer
  20002. - description: 现货商品id
  20003. in: query
  20004. name: deliverygoodsid
  20005. type: integer
  20006. produces:
  20007. - application/json
  20008. responses:
  20009. "200":
  20010. description: OK
  20011. schema:
  20012. items:
  20013. $ref: '#/definitions/models.ErmcpBizGroupEx'
  20014. type: array
  20015. "500":
  20016. description: Internal Server Error
  20017. schema:
  20018. $ref: '#/definitions/app.Response'
  20019. security:
  20020. - ApiKeyAuth: []
  20021. summary: 查询业务类型分组(账户管理/账户设置)
  20022. tags:
  20023. - 企业风险管理(app)
  20024. /Ermcp/QueryAccMgrLoginUser:
  20025. get:
  20026. parameters:
  20027. - description: 用户ID
  20028. in: query
  20029. name: userid
  20030. required: true
  20031. type: integer
  20032. - description: 用户类型 2-机构 7-企业成员
  20033. in: query
  20034. name: usertype
  20035. type: integer
  20036. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  20037. in: query
  20038. name: querytype
  20039. required: true
  20040. type: integer
  20041. produces:
  20042. - application/json
  20043. responses:
  20044. "200":
  20045. description: OK
  20046. schema:
  20047. items:
  20048. $ref: '#/definitions/models.ErmcpLoginUserEx'
  20049. type: array
  20050. "500":
  20051. description: Internal Server Error
  20052. schema:
  20053. $ref: '#/definitions/app.Response'
  20054. security:
  20055. - ApiKeyAuth: []
  20056. summary: 查询账户管理登录账号(账户管理/登录账号)
  20057. tags:
  20058. - 企业风险管理(app)
  20059. /Ermcp/QueryAccMgrMainAccountInfo:
  20060. get:
  20061. parameters:
  20062. - description: 用户ID
  20063. in: query
  20064. name: userid
  20065. type: integer
  20066. - description: 主账号id
  20067. in: query
  20068. name: accountid
  20069. type: integer
  20070. produces:
  20071. - application/json
  20072. responses:
  20073. "200":
  20074. description: OK
  20075. schema:
  20076. items:
  20077. $ref: '#/definitions/models.MainAccountInfo'
  20078. type: array
  20079. "500":
  20080. description: Internal Server Error
  20081. schema:
  20082. $ref: '#/definitions/app.Response'
  20083. security:
  20084. - ApiKeyAuth: []
  20085. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  20086. tags:
  20087. - 企业风险管理(app)
  20088. /Ermcp/QueryAccMgrRole:
  20089. get:
  20090. parameters:
  20091. - description: 用户ID
  20092. in: query
  20093. name: userid
  20094. required: true
  20095. type: integer
  20096. produces:
  20097. - application/json
  20098. responses:
  20099. "200":
  20100. description: OK
  20101. schema:
  20102. items:
  20103. $ref: '#/definitions/models.ErmcpRole'
  20104. type: array
  20105. "500":
  20106. description: Internal Server Error
  20107. schema:
  20108. $ref: '#/definitions/app.Response'
  20109. security:
  20110. - ApiKeyAuth: []
  20111. summary: 查询账户管理角色设置(账户管理/角色设置)
  20112. tags:
  20113. - 企业风险管理(app)
  20114. /Ermcp/QueryAccMgrRoleMenu:
  20115. get:
  20116. parameters:
  20117. - description: 用户ID
  20118. in: query
  20119. name: userid
  20120. required: true
  20121. type: integer
  20122. - description: 角色id(可多个,逗号隔开)
  20123. in: query
  20124. name: roleid
  20125. type: string
  20126. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  20127. in: query
  20128. name: menutype
  20129. type: integer
  20130. produces:
  20131. - application/json
  20132. responses:
  20133. "200":
  20134. description: OK
  20135. schema:
  20136. items:
  20137. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  20138. type: array
  20139. "500":
  20140. description: Internal Server Error
  20141. schema:
  20142. $ref: '#/definitions/app.Response'
  20143. security:
  20144. - ApiKeyAuth: []
  20145. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  20146. tags:
  20147. - 企业风险管理(app)
  20148. /Ermcp/QueryAccMgrTaAccountInfo:
  20149. get:
  20150. parameters:
  20151. - description: 用户ID
  20152. in: query
  20153. name: userid
  20154. required: true
  20155. type: integer
  20156. - description: 账号id
  20157. in: query
  20158. name: accountid
  20159. type: integer
  20160. produces:
  20161. - application/json
  20162. responses:
  20163. "200":
  20164. description: OK
  20165. schema:
  20166. items:
  20167. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  20168. type: array
  20169. "500":
  20170. description: Internal Server Error
  20171. schema:
  20172. $ref: '#/definitions/app.Response'
  20173. security:
  20174. - ApiKeyAuth: []
  20175. summary: 查询账户管理授信(账户管理/账户设置/授信)
  20176. tags:
  20177. - 企业风险管理(app)
  20178. /Ermcp/QueryAccMgrTaaccount:
  20179. get:
  20180. parameters:
  20181. - description: 用户ID
  20182. in: query
  20183. name: userid
  20184. required: true
  20185. type: integer
  20186. produces:
  20187. - application/json
  20188. responses:
  20189. "200":
  20190. description: OK
  20191. schema:
  20192. items:
  20193. $ref: '#/definitions/models.ErmcpTaAccountEx'
  20194. type: array
  20195. "500":
  20196. description: Internal Server Error
  20197. schema:
  20198. $ref: '#/definitions/app.Response'
  20199. security:
  20200. - ApiKeyAuth: []
  20201. summary: 查询账户管理期货账号(账户管理/期货账号)
  20202. tags:
  20203. - 企业风险管理(app)
  20204. /Ermcp/QueryAvaildGoodsGroup:
  20205. get:
  20206. parameters:
  20207. - description: 所属机构ID
  20208. in: query
  20209. name: userid
  20210. required: true
  20211. type: integer
  20212. produces:
  20213. - application/json
  20214. responses:
  20215. "200":
  20216. description: OK
  20217. schema:
  20218. items:
  20219. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  20220. type: array
  20221. "500":
  20222. description: Internal Server Error
  20223. schema:
  20224. $ref: '#/definitions/app.Response'
  20225. security:
  20226. - ApiKeyAuth: []
  20227. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  20228. tags:
  20229. - 企业风险管理(app)
  20230. /Ermcp/QueryBusinessDj:
  20231. get:
  20232. parameters:
  20233. - description: 用户ID
  20234. in: query
  20235. name: UserId
  20236. required: true
  20237. type: integer
  20238. - description: 用户类型 2-机构 7-企业成员
  20239. in: query
  20240. name: usertype
  20241. type: integer
  20242. - description: 现货合同ID, 不填则查所有
  20243. in: query
  20244. name: relatedid
  20245. type: string
  20246. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20247. in: query
  20248. name: applystatus
  20249. type: string
  20250. produces:
  20251. - application/json
  20252. responses:
  20253. "200":
  20254. description: OK
  20255. schema:
  20256. items:
  20257. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  20258. type: array
  20259. "500":
  20260. description: Internal Server Error
  20261. schema:
  20262. $ref: '#/definitions/app.Response'
  20263. security:
  20264. - ApiKeyAuth: []
  20265. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  20266. tags:
  20267. - 企业风险管理(app)
  20268. /Ermcp/QueryBusinessFp:
  20269. get:
  20270. parameters:
  20271. - description: 用户ID
  20272. in: query
  20273. name: UserId
  20274. required: true
  20275. type: integer
  20276. - description: 用户类型 2-机构 7-企业成员
  20277. in: query
  20278. name: usertype
  20279. type: integer
  20280. - description: 现货合同ID, 不填则查所有
  20281. in: query
  20282. name: relatedid
  20283. type: string
  20284. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20285. in: query
  20286. name: applystatus
  20287. type: string
  20288. produces:
  20289. - application/json
  20290. responses:
  20291. "200":
  20292. description: OK
  20293. schema:
  20294. items:
  20295. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  20296. type: array
  20297. "500":
  20298. description: Internal Server Error
  20299. schema:
  20300. $ref: '#/definitions/app.Response'
  20301. security:
  20302. - ApiKeyAuth: []
  20303. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  20304. tags:
  20305. - 企业风险管理(app)
  20306. /Ermcp/QueryBusinessJs:
  20307. get:
  20308. parameters:
  20309. - description: 用户ID
  20310. in: query
  20311. name: UserId
  20312. required: true
  20313. type: integer
  20314. - description: 用户类型 2-机构 7-企业成员
  20315. in: query
  20316. name: usertype
  20317. type: integer
  20318. - description: 现货合同ID, 不填则查所有
  20319. in: query
  20320. name: relatedid
  20321. type: string
  20322. - description: 操作申请id
  20323. in: query
  20324. name: operateapplyid
  20325. type: string
  20326. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20327. in: query
  20328. name: applystatus
  20329. type: string
  20330. produces:
  20331. - application/json
  20332. responses:
  20333. "200":
  20334. description: OK
  20335. schema:
  20336. items:
  20337. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  20338. type: array
  20339. "500":
  20340. description: Internal Server Error
  20341. schema:
  20342. $ref: '#/definitions/app.Response'
  20343. security:
  20344. - ApiKeyAuth: []
  20345. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  20346. tags:
  20347. - 企业风险管理(app)
  20348. /Ermcp/QueryBusinessJsEx:
  20349. get:
  20350. parameters:
  20351. - description: 用户ID
  20352. in: query
  20353. name: UserId
  20354. required: true
  20355. type: integer
  20356. - description: 用户类型 2-机构 7-企业成员
  20357. in: query
  20358. name: usertype
  20359. type: integer
  20360. - description: 现货合同ID, 不填则查所有
  20361. in: query
  20362. name: relatedid
  20363. type: string
  20364. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20365. in: query
  20366. name: applystatus
  20367. type: string
  20368. produces:
  20369. - application/json
  20370. responses:
  20371. "200":
  20372. description: OK
  20373. schema:
  20374. items:
  20375. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  20376. type: array
  20377. "500":
  20378. description: Internal Server Error
  20379. schema:
  20380. $ref: '#/definitions/app.Response'
  20381. security:
  20382. - ApiKeyAuth: []
  20383. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  20384. tags:
  20385. - 企业风险管理(app)
  20386. /Ermcp/QueryBusinessKx:
  20387. get:
  20388. parameters:
  20389. - description: 用户ID
  20390. in: query
  20391. name: UserId
  20392. required: true
  20393. type: integer
  20394. - description: 用户类型 2-机构 7-企业成员
  20395. in: query
  20396. name: usertype
  20397. type: integer
  20398. - description: 现货合同ID, 不填则查所有
  20399. in: query
  20400. name: relatedid
  20401. type: string
  20402. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20403. in: query
  20404. name: applystatus
  20405. type: string
  20406. produces:
  20407. - application/json
  20408. responses:
  20409. "200":
  20410. description: OK
  20411. schema:
  20412. items:
  20413. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  20414. type: array
  20415. "500":
  20416. description: Internal Server Error
  20417. schema:
  20418. $ref: '#/definitions/app.Response'
  20419. security:
  20420. - ApiKeyAuth: []
  20421. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  20422. tags:
  20423. - 企业风险管理(app)
  20424. /Ermcp/QueryChangeLog:
  20425. get:
  20426. parameters:
  20427. - description: 合同ID
  20428. in: query
  20429. name: RelatedId
  20430. required: true
  20431. type: string
  20432. produces:
  20433. - application/json
  20434. responses:
  20435. "200":
  20436. description: OK
  20437. schema:
  20438. items:
  20439. $ref: '#/definitions/ermcp.QryOPLogRsp'
  20440. type: array
  20441. "500":
  20442. description: Internal Server Error
  20443. schema:
  20444. $ref: '#/definitions/app.Response'
  20445. security:
  20446. - ApiKeyAuth: []
  20447. summary: 查询变更记录
  20448. tags:
  20449. - 企业风险管理(app)
  20450. /Ermcp/QueryErmcpHisOrderDetails:
  20451. get:
  20452. parameters:
  20453. - description: 资金账户ID
  20454. in: query
  20455. name: accountID
  20456. required: true
  20457. type: integer
  20458. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  20459. in: query
  20460. name: startDate
  20461. type: string
  20462. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  20463. in: query
  20464. name: endDate
  20465. type: string
  20466. produces:
  20467. - application/json
  20468. responses:
  20469. "200":
  20470. description: OK
  20471. schema:
  20472. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  20473. "500":
  20474. description: Internal Server Error
  20475. schema:
  20476. $ref: '#/definitions/app.Response'
  20477. security:
  20478. - ApiKeyAuth: []
  20479. summary: 获取企业风管期货历史委托单信息
  20480. tags:
  20481. - 企业风险管理(app)
  20482. /Ermcp/QueryErmcpHisTradeDetails:
  20483. get:
  20484. parameters:
  20485. - description: 资金账户ID
  20486. in: query
  20487. name: accountID
  20488. required: true
  20489. type: integer
  20490. - description: 商品ID
  20491. in: query
  20492. name: goodsID
  20493. type: integer
  20494. - description: 买卖方向,0:买 1:卖
  20495. in: query
  20496. name: buyOrSell
  20497. type: integer
  20498. - description: 关联委托单号
  20499. in: query
  20500. name: orderID
  20501. type: integer
  20502. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  20503. in: query
  20504. name: startDate
  20505. type: string
  20506. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  20507. in: query
  20508. name: endDate
  20509. type: string
  20510. produces:
  20511. - application/json
  20512. responses:
  20513. "200":
  20514. description: OK
  20515. schema:
  20516. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  20517. "500":
  20518. description: Internal Server Error
  20519. schema:
  20520. $ref: '#/definitions/app.Response'
  20521. security:
  20522. - ApiKeyAuth: []
  20523. summary: 获取企业风管期货历史成交单信息
  20524. tags:
  20525. - 企业风险管理(app)
  20526. /Ermcp/QueryErmcpInnerHolderDetails:
  20527. get:
  20528. parameters:
  20529. - description: 资金账户ID
  20530. in: query
  20531. name: accountID
  20532. required: true
  20533. type: integer
  20534. - description: 商品ID
  20535. in: query
  20536. name: goodsID
  20537. type: integer
  20538. - description: 买卖方向,0:买 1:卖
  20539. in: query
  20540. name: buyOrSell
  20541. type: integer
  20542. produces:
  20543. - application/json
  20544. responses:
  20545. "200":
  20546. description: OK
  20547. schema:
  20548. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  20549. "500":
  20550. description: Internal Server Error
  20551. schema:
  20552. $ref: '#/definitions/app.Response'
  20553. security:
  20554. - ApiKeyAuth: []
  20555. summary: 获取企业风管期货内部持仓单信息
  20556. tags:
  20557. - 企业风险管理(app)
  20558. /Ermcp/QueryErmcpOrderDetails:
  20559. get:
  20560. parameters:
  20561. - description: 资金账户ID
  20562. in: query
  20563. name: accountID
  20564. required: true
  20565. type: integer
  20566. produces:
  20567. - application/json
  20568. responses:
  20569. "200":
  20570. description: OK
  20571. schema:
  20572. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  20573. "500":
  20574. description: Internal Server Error
  20575. schema:
  20576. $ref: '#/definitions/app.Response'
  20577. security:
  20578. - ApiKeyAuth: []
  20579. summary: 获取企业风管期货委托单信息
  20580. tags:
  20581. - 企业风险管理(app)
  20582. /Ermcp/QueryErmcpTradeDetails:
  20583. get:
  20584. parameters:
  20585. - description: 资金账户ID
  20586. in: query
  20587. name: accountID
  20588. required: true
  20589. type: integer
  20590. - description: 商品ID
  20591. in: query
  20592. name: goodsID
  20593. type: integer
  20594. - description: 买卖方向,0:买 1:卖
  20595. in: query
  20596. name: buyOrSell
  20597. type: integer
  20598. - description: 关联委托单号
  20599. in: query
  20600. name: orderID
  20601. type: integer
  20602. produces:
  20603. - application/json
  20604. responses:
  20605. "200":
  20606. description: OK
  20607. schema:
  20608. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  20609. "500":
  20610. description: Internal Server Error
  20611. schema:
  20612. $ref: '#/definitions/app.Response'
  20613. security:
  20614. - ApiKeyAuth: []
  20615. summary: 获取企业风管期货成交单信息
  20616. tags:
  20617. - 企业风险管理(app)
  20618. /Ermcp/QueryErmcpTradePosition:
  20619. get:
  20620. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  20621. parameters:
  20622. - description: 资金账户ID
  20623. in: query
  20624. name: accountID
  20625. required: true
  20626. type: integer
  20627. - description: 所属市场ID
  20628. in: query
  20629. name: marketID
  20630. type: integer
  20631. produces:
  20632. - application/json
  20633. responses:
  20634. "200":
  20635. description: OK
  20636. schema:
  20637. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  20638. "500":
  20639. description: Internal Server Error
  20640. schema:
  20641. $ref: '#/definitions/app.Response'
  20642. security:
  20643. - ApiKeyAuth: []
  20644. summary: 获取企业风管期货持仓头寸信息
  20645. tags:
  20646. - 企业风险管理(app)
  20647. /Ermcp/QueryExposureDetail:
  20648. get:
  20649. parameters:
  20650. - description: 所属机构ID
  20651. in: query
  20652. name: areaUserId
  20653. required: true
  20654. type: integer
  20655. - description: 套保商品
  20656. in: query
  20657. name: middleGoodsId
  20658. required: true
  20659. type: integer
  20660. produces:
  20661. - application/json
  20662. responses:
  20663. "200":
  20664. description: OK
  20665. schema:
  20666. items:
  20667. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  20668. type: array
  20669. "500":
  20670. description: Internal Server Error
  20671. schema:
  20672. $ref: '#/definitions/app.Response'
  20673. security:
  20674. - ApiKeyAuth: []
  20675. summary: 查询敞口现货明细
  20676. tags:
  20677. - 企业风险管理(app)
  20678. /Ermcp/QueryExposureGoods:
  20679. get:
  20680. parameters:
  20681. - description: 套保商品id
  20682. in: query
  20683. name: middlegoodsid
  20684. required: true
  20685. type: integer
  20686. produces:
  20687. - application/json
  20688. responses:
  20689. "200":
  20690. description: OK
  20691. schema:
  20692. items:
  20693. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  20694. type: array
  20695. "500":
  20696. description: Internal Server Error
  20697. schema:
  20698. $ref: '#/definitions/app.Response'
  20699. security:
  20700. - ApiKeyAuth: []
  20701. summary: 查询敞口主力合约
  20702. tags:
  20703. - 企业风险管理(app)
  20704. /Ermcp/QueryExposureHedgePosition:
  20705. get:
  20706. parameters:
  20707. - description: 用户id
  20708. in: query
  20709. name: userid
  20710. required: true
  20711. type: integer
  20712. produces:
  20713. - application/json
  20714. responses:
  20715. "200":
  20716. description: OK
  20717. schema:
  20718. items:
  20719. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  20720. type: array
  20721. "500":
  20722. description: Internal Server Error
  20723. schema:
  20724. $ref: '#/definitions/app.Response'
  20725. security:
  20726. - ApiKeyAuth: []
  20727. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  20728. tags:
  20729. - 企业风险管理(app)
  20730. /Ermcp/QueryExposureHedgePositionDetail:
  20731. get:
  20732. parameters:
  20733. - description: 所属机构ID
  20734. in: query
  20735. name: userid
  20736. required: true
  20737. type: integer
  20738. - description: 商品id
  20739. in: query
  20740. name: goodsId
  20741. required: true
  20742. type: integer
  20743. produces:
  20744. - application/json
  20745. responses:
  20746. "200":
  20747. description: OK
  20748. schema:
  20749. items:
  20750. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  20751. type: array
  20752. "500":
  20753. description: Internal Server Error
  20754. schema:
  20755. $ref: '#/definitions/app.Response'
  20756. security:
  20757. - ApiKeyAuth: []
  20758. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  20759. tags:
  20760. - 企业风险管理(app)
  20761. /Ermcp/QueryExposureSpot:
  20762. get:
  20763. parameters:
  20764. - description: 所属机构ID
  20765. in: query
  20766. name: areaUserId
  20767. required: true
  20768. type: integer
  20769. produces:
  20770. - application/json
  20771. responses:
  20772. "200":
  20773. description: OK
  20774. schema:
  20775. items:
  20776. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  20777. type: array
  20778. "500":
  20779. description: Internal Server Error
  20780. schema:
  20781. $ref: '#/definitions/app.Response'
  20782. security:
  20783. - ApiKeyAuth: []
  20784. summary: 查询敞口现货头寸(敞口/现货头寸)
  20785. tags:
  20786. - 企业风险管理(app)
  20787. /Ermcp/QueryExposureSpotDetail:
  20788. get:
  20789. parameters:
  20790. - description: 所属机构ID
  20791. in: query
  20792. name: areaUserId
  20793. required: true
  20794. type: integer
  20795. - description: 现货品种ID
  20796. in: query
  20797. name: wrstandardId
  20798. required: true
  20799. type: integer
  20800. produces:
  20801. - application/json
  20802. responses:
  20803. "200":
  20804. description: OK
  20805. schema:
  20806. items:
  20807. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  20808. type: array
  20809. "500":
  20810. description: Internal Server Error
  20811. schema:
  20812. $ref: '#/definitions/app.Response'
  20813. security:
  20814. - ApiKeyAuth: []
  20815. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  20816. tags:
  20817. - 企业风险管理(app)
  20818. /Ermcp/QueryFuturesCompany:
  20819. get:
  20820. produces:
  20821. - application/json
  20822. responses:
  20823. "200":
  20824. description: OK
  20825. schema:
  20826. items:
  20827. $ref: '#/definitions/models.ErmcpFuturesCompany'
  20828. type: array
  20829. "500":
  20830. description: Internal Server Error
  20831. schema:
  20832. $ref: '#/definitions/app.Response'
  20833. security:
  20834. - ApiKeyAuth: []
  20835. summary: 查询期货公司
  20836. tags:
  20837. - 企业风险管理(app)
  20838. /Ermcp/QueryGGConvertConfig:
  20839. get:
  20840. parameters:
  20841. - description: 品种id(不填则查所有)
  20842. in: query
  20843. name: goodsgroupid
  20844. type: integer
  20845. produces:
  20846. - application/json
  20847. responses:
  20848. "200":
  20849. description: OK
  20850. schema:
  20851. items:
  20852. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  20853. type: array
  20854. "500":
  20855. description: Internal Server Error
  20856. schema:
  20857. $ref: '#/definitions/app.Response'
  20858. security:
  20859. - ApiKeyAuth: []
  20860. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  20861. tags:
  20862. - 企业风险管理(app)
  20863. /Ermcp/QueryGoodsBrand:
  20864. get:
  20865. parameters:
  20866. - description: 用户ID
  20867. in: query
  20868. name: userid
  20869. required: true
  20870. type: integer
  20871. - description: 现货商品ID
  20872. in: query
  20873. name: wrstandardid
  20874. type: integer
  20875. produces:
  20876. - application/json
  20877. responses:
  20878. "200":
  20879. description: OK
  20880. schema:
  20881. items:
  20882. $ref: '#/definitions/models.ErmcpGoodsBrand'
  20883. type: array
  20884. "500":
  20885. description: Internal Server Error
  20886. schema:
  20887. $ref: '#/definitions/app.Response'
  20888. security:
  20889. - ApiKeyAuth: []
  20890. summary: 查询商品品牌
  20891. tags:
  20892. - 企业风险管理(app)
  20893. /Ermcp/QueryGoodsModel:
  20894. get:
  20895. parameters:
  20896. - description: 用户ID
  20897. in: query
  20898. name: userid
  20899. required: true
  20900. type: integer
  20901. produces:
  20902. - application/json
  20903. responses:
  20904. "200":
  20905. description: OK
  20906. schema:
  20907. items:
  20908. $ref: '#/definitions/models.ErmcpGoodsModel'
  20909. type: array
  20910. "500":
  20911. description: Internal Server Error
  20912. schema:
  20913. $ref: '#/definitions/app.Response'
  20914. security:
  20915. - ApiKeyAuth: []
  20916. summary: 查询商品型号
  20917. tags:
  20918. - 企业风险管理(app)
  20919. /Ermcp/QueryHisExposure:
  20920. get:
  20921. parameters:
  20922. - description: 用户id
  20923. in: query
  20924. name: userid
  20925. required: true
  20926. type: integer
  20927. - description: 每个品种记录数
  20928. in: query
  20929. name: lastNum
  20930. required: true
  20931. type: integer
  20932. produces:
  20933. - application/json
  20934. responses:
  20935. "200":
  20936. description: OK
  20937. schema:
  20938. items:
  20939. $ref: '#/definitions/ermcp.HisExposureRsp'
  20940. type: array
  20941. "500":
  20942. description: Internal Server Error
  20943. schema:
  20944. $ref: '#/definitions/app.Response'
  20945. security:
  20946. - ApiKeyAuth: []
  20947. summary: 查询历史敞口(菜单:敞口/历史敞口)
  20948. tags:
  20949. - 企业风险管理(app)
  20950. /Ermcp/QueryMiddleGoods:
  20951. get:
  20952. parameters:
  20953. - description: 所属机构ID
  20954. in: query
  20955. name: userid
  20956. required: true
  20957. type: integer
  20958. - description: 状态 0-停用 1-正常
  20959. in: query
  20960. name: status
  20961. required: true
  20962. type: integer
  20963. produces:
  20964. - application/json
  20965. responses:
  20966. "200":
  20967. description: OK
  20968. schema:
  20969. items:
  20970. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  20971. type: array
  20972. "500":
  20973. description: Internal Server Error
  20974. schema:
  20975. $ref: '#/definitions/app.Response'
  20976. security:
  20977. - ApiKeyAuth: []
  20978. summary: 查询套保品种(菜单:套保品种)
  20979. tags:
  20980. - 企业风险管理(app)
  20981. /Ermcp/QueryMiddleGoodsChangeLog:
  20982. get:
  20983. parameters:
  20984. - description: 所属机构ID
  20985. in: query
  20986. name: userid
  20987. required: true
  20988. type: integer
  20989. - description: 套保品种id
  20990. in: query
  20991. name: middlegoodsid
  20992. required: true
  20993. type: integer
  20994. produces:
  20995. - application/json
  20996. responses:
  20997. "200":
  20998. description: OK
  20999. schema:
  21000. items:
  21001. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  21002. type: array
  21003. "500":
  21004. description: Internal Server Error
  21005. schema:
  21006. $ref: '#/definitions/app.Response'
  21007. security:
  21008. - ApiKeyAuth: []
  21009. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  21010. tags:
  21011. - 企业风险管理(app)
  21012. /Ermcp/QueryMiddleGoodsDetail:
  21013. get:
  21014. parameters:
  21015. - description: 所属机构ID
  21016. in: query
  21017. name: userid
  21018. required: true
  21019. type: integer
  21020. - description: 套保品种id
  21021. in: query
  21022. name: middlegoodsid
  21023. type: integer
  21024. produces:
  21025. - application/json
  21026. responses:
  21027. "200":
  21028. description: OK
  21029. schema:
  21030. items:
  21031. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  21032. type: array
  21033. "500":
  21034. description: Internal Server Error
  21035. schema:
  21036. $ref: '#/definitions/app.Response'
  21037. security:
  21038. - ApiKeyAuth: []
  21039. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  21040. tags:
  21041. - 企业风险管理(app)
  21042. /Ermcp/QueryPendingAuditInfo:
  21043. get:
  21044. parameters:
  21045. - description: 用户ID
  21046. in: query
  21047. name: UserId
  21048. required: true
  21049. type: integer
  21050. produces:
  21051. - application/json
  21052. responses:
  21053. "200":
  21054. description: OK
  21055. schema:
  21056. items:
  21057. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  21058. type: array
  21059. "500":
  21060. description: Internal Server Error
  21061. schema:
  21062. $ref: '#/definitions/app.Response'
  21063. security:
  21064. - ApiKeyAuth: []
  21065. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  21066. tags:
  21067. - 企业风险管理(app)
  21068. /Ermcp/QueryRealtimeExposure:
  21069. get:
  21070. parameters:
  21071. - description: 所属机构ID
  21072. in: query
  21073. name: userid
  21074. required: true
  21075. type: integer
  21076. produces:
  21077. - application/json
  21078. responses:
  21079. "200":
  21080. description: OK
  21081. schema:
  21082. items:
  21083. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  21084. type: array
  21085. "500":
  21086. description: Internal Server Error
  21087. schema:
  21088. $ref: '#/definitions/app.Response'
  21089. security:
  21090. - ApiKeyAuth: []
  21091. summary: 查询实时敞口
  21092. tags:
  21093. - 企业风险管理(app)
  21094. /Ermcp/QueryRealtimeExposurePosition:
  21095. get:
  21096. parameters:
  21097. - description: 用户id
  21098. in: query
  21099. name: userid
  21100. required: true
  21101. type: integer
  21102. - description: 套保商品ID
  21103. in: query
  21104. name: middleGoodsId
  21105. required: true
  21106. type: integer
  21107. produces:
  21108. - application/json
  21109. responses:
  21110. "200":
  21111. description: OK
  21112. schema:
  21113. items:
  21114. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  21115. type: array
  21116. "500":
  21117. description: Internal Server Error
  21118. schema:
  21119. $ref: '#/definitions/app.Response'
  21120. security:
  21121. - ApiKeyAuth: []
  21122. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  21123. tags:
  21124. - 企业风险管理(app)
  21125. /Ermcp/QueryRoleMenu:
  21126. get:
  21127. parameters:
  21128. - description: 登录ID
  21129. in: query
  21130. name: loginid
  21131. required: true
  21132. type: integer
  21133. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  21134. in: query
  21135. name: menutype
  21136. type: integer
  21137. produces:
  21138. - application/json
  21139. responses:
  21140. "200":
  21141. description: OK
  21142. schema:
  21143. items:
  21144. $ref: '#/definitions/models.RoleMenu'
  21145. type: array
  21146. "500":
  21147. description: Internal Server Error
  21148. schema:
  21149. $ref: '#/definitions/app.Response'
  21150. security:
  21151. - ApiKeyAuth: []
  21152. summary: 查询角色菜单和权限
  21153. tags:
  21154. - 企业风险管理(app)
  21155. /Ermcp/QueryTradeConfigTMP:
  21156. get:
  21157. parameters:
  21158. - description: 所属机构id
  21159. in: query
  21160. name: areauserid
  21161. type: integer
  21162. produces:
  21163. - application/json
  21164. responses:
  21165. "200":
  21166. description: OK
  21167. schema:
  21168. items:
  21169. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  21170. type: array
  21171. "500":
  21172. description: Internal Server Error
  21173. schema:
  21174. $ref: '#/definitions/app.Response'
  21175. security:
  21176. - ApiKeyAuth: []
  21177. summary: 查询交易模板配置
  21178. tags:
  21179. - 企业风险管理(app)
  21180. /Ermcp/QueryUserInfo:
  21181. get:
  21182. parameters:
  21183. - description: 所属机构用户ID
  21184. in: query
  21185. name: MemberUserID
  21186. required: true
  21187. type: integer
  21188. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  21189. in: query
  21190. name: queryType
  21191. required: true
  21192. type: integer
  21193. produces:
  21194. - application/json
  21195. responses:
  21196. "200":
  21197. description: OK
  21198. schema:
  21199. items:
  21200. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  21201. type: array
  21202. "500":
  21203. description: Internal Server Error
  21204. schema:
  21205. $ref: '#/definitions/app.Response'
  21206. security:
  21207. - ApiKeyAuth: []
  21208. summary: 查询客户资料
  21209. tags:
  21210. - 企业风险管理(app)
  21211. /Ermcp/QueryWarehouseInfo:
  21212. get:
  21213. parameters:
  21214. - description: 用户ID
  21215. in: query
  21216. name: userid
  21217. required: true
  21218. type: integer
  21219. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  21220. in: query
  21221. name: status
  21222. type: string
  21223. produces:
  21224. - application/json
  21225. responses:
  21226. "200":
  21227. description: OK
  21228. schema:
  21229. items:
  21230. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  21231. type: array
  21232. "500":
  21233. description: Internal Server Error
  21234. schema:
  21235. $ref: '#/definitions/app.Response'
  21236. security:
  21237. - ApiKeyAuth: []
  21238. summary: 查询仓库信息
  21239. tags:
  21240. - 企业风险管理(app)
  21241. /Ermcp3/QryAreaExpourseContractDetail:
  21242. get:
  21243. parameters:
  21244. - description: 用户ID
  21245. in: query
  21246. name: userid
  21247. required: true
  21248. type: integer
  21249. - description: 套保商品id
  21250. in: query
  21251. name: middlegoodsid
  21252. required: true
  21253. type: integer
  21254. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21255. in: query
  21256. name: cycletype
  21257. required: true
  21258. type: integer
  21259. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21260. 全(0)【原值】
  21261. in: query
  21262. name: cycletime
  21263. required: true
  21264. type: string
  21265. produces:
  21266. - application/json
  21267. responses:
  21268. "200":
  21269. description: OK
  21270. schema:
  21271. items:
  21272. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  21273. type: array
  21274. "500":
  21275. description: Internal Server Error
  21276. schema:
  21277. $ref: '#/definitions/app.Response'
  21278. security:
  21279. - ApiKeyAuth: []
  21280. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  21281. tags:
  21282. - 企业风险管理v3(app)
  21283. /Ermcp3/QryAreaExpourseFutuDetail:
  21284. get:
  21285. parameters:
  21286. - description: 用户ID
  21287. in: query
  21288. name: userid
  21289. required: true
  21290. type: integer
  21291. - description: 套保商品id
  21292. in: query
  21293. name: middlegoodsid
  21294. required: true
  21295. type: integer
  21296. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21297. in: query
  21298. name: cycletype
  21299. required: true
  21300. type: integer
  21301. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21302. 全(0)【原值】
  21303. in: query
  21304. name: cycletime
  21305. required: true
  21306. type: string
  21307. produces:
  21308. - application/json
  21309. responses:
  21310. "200":
  21311. description: OK
  21312. schema:
  21313. items:
  21314. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  21315. type: array
  21316. "500":
  21317. description: Internal Server Error
  21318. schema:
  21319. $ref: '#/definitions/app.Response'
  21320. security:
  21321. - ApiKeyAuth: []
  21322. summary: 查询敞口期货明细(敞口报表/期货明细)
  21323. tags:
  21324. - 企业风险管理v3(app)
  21325. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  21326. get:
  21327. parameters:
  21328. - description: 用户ID
  21329. in: query
  21330. name: userid
  21331. required: true
  21332. type: integer
  21333. - description: 套保商品id
  21334. in: query
  21335. name: middlegoodsid
  21336. required: true
  21337. type: integer
  21338. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21339. in: query
  21340. name: cycletype
  21341. required: true
  21342. type: integer
  21343. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21344. 全(0)【原值】
  21345. in: query
  21346. name: cycletime
  21347. required: true
  21348. type: string
  21349. produces:
  21350. - application/json
  21351. responses:
  21352. "200":
  21353. description: OK
  21354. schema:
  21355. items:
  21356. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  21357. type: array
  21358. "500":
  21359. description: Internal Server Error
  21360. schema:
  21361. $ref: '#/definitions/app.Response'
  21362. security:
  21363. - ApiKeyAuth: []
  21364. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  21365. tags:
  21366. - 企业风险管理v3(app)
  21367. /Ermcp3/QryAreaExpourseParamChLogDetail:
  21368. get:
  21369. parameters:
  21370. - description: 用户ID
  21371. in: query
  21372. name: userid
  21373. required: true
  21374. type: integer
  21375. - description: 套保商品id
  21376. in: query
  21377. name: middlegoodsid
  21378. required: true
  21379. type: integer
  21380. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21381. in: query
  21382. name: cycletype
  21383. required: true
  21384. type: integer
  21385. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21386. 全(0)【原值】
  21387. in: query
  21388. name: cycletime
  21389. required: true
  21390. type: string
  21391. produces:
  21392. - application/json
  21393. responses:
  21394. "200":
  21395. description: OK
  21396. schema:
  21397. items:
  21398. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  21399. type: array
  21400. "500":
  21401. description: Internal Server Error
  21402. schema:
  21403. $ref: '#/definitions/app.Response'
  21404. security:
  21405. - ApiKeyAuth: []
  21406. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  21407. tags:
  21408. - 企业风险管理v3(app)
  21409. /Ermcp3/QryAreaExpourseReport:
  21410. get:
  21411. parameters:
  21412. - description: 用户ID
  21413. in: query
  21414. name: userid
  21415. required: true
  21416. type: integer
  21417. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  21418. in: query
  21419. name: querytype
  21420. required: true
  21421. type: integer
  21422. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21423. in: query
  21424. name: cycletype
  21425. required: true
  21426. type: integer
  21427. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21428. 全(0)【原值】
  21429. in: query
  21430. name: cycletime
  21431. required: true
  21432. type: string
  21433. produces:
  21434. - application/json
  21435. responses:
  21436. "200":
  21437. description: OK
  21438. schema:
  21439. items:
  21440. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  21441. type: array
  21442. "500":
  21443. description: Internal Server Error
  21444. schema:
  21445. $ref: '#/definitions/app.Response'
  21446. security:
  21447. - ApiKeyAuth: []
  21448. summary: 查询敞口报表
  21449. tags:
  21450. - 企业风险管理v3(app)
  21451. /Ermcp3/QryAreaSpotplReport:
  21452. get:
  21453. parameters:
  21454. - description: 用户ID
  21455. in: query
  21456. name: userid
  21457. required: true
  21458. type: integer
  21459. - description: 查询类型 1-报表 2-报表明细
  21460. in: query
  21461. name: querytype
  21462. required: true
  21463. type: integer
  21464. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21465. in: query
  21466. name: cycletype
  21467. required: true
  21468. type: integer
  21469. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21470. 全(0)【原值】
  21471. in: query
  21472. name: cycletime
  21473. required: true
  21474. type: string
  21475. - description: 现货品种id(明细必填)
  21476. in: query
  21477. name: deliverygoodsid
  21478. type: integer
  21479. - description: 币种id(明细必填)
  21480. in: query
  21481. name: currencyid
  21482. type: integer
  21483. produces:
  21484. - application/json
  21485. responses:
  21486. "200":
  21487. description: OK
  21488. schema:
  21489. items:
  21490. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  21491. type: array
  21492. "500":
  21493. description: Internal Server Error
  21494. schema:
  21495. $ref: '#/definitions/app.Response'
  21496. security:
  21497. - ApiKeyAuth: []
  21498. summary: 查询现货报表
  21499. tags:
  21500. - 企业风险管理v3(app)
  21501. /Ermcp3/QryAreaStockReport:
  21502. get:
  21503. parameters:
  21504. - description: 用户ID
  21505. in: query
  21506. name: userid
  21507. required: true
  21508. type: integer
  21509. - description: 查询类型 1-报表 2-报表明细
  21510. in: query
  21511. name: querytype
  21512. required: true
  21513. type: integer
  21514. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21515. in: query
  21516. name: cycletype
  21517. required: true
  21518. type: integer
  21519. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21520. 全(0)【原值】
  21521. in: query
  21522. name: cycletime
  21523. required: true
  21524. type: string
  21525. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  21526. in: query
  21527. name: sumfields
  21528. type: string
  21529. - description: 品种ID
  21530. in: query
  21531. name: deliverygoodsid
  21532. type: integer
  21533. - description: 品类ID
  21534. in: query
  21535. name: wrstandardid
  21536. type: integer
  21537. - description: 品牌ID
  21538. in: query
  21539. name: spotgoodsbrandid
  21540. type: integer
  21541. - description: 仓库ID
  21542. in: query
  21543. name: warehouseinfoid
  21544. type: integer
  21545. produces:
  21546. - application/json
  21547. responses:
  21548. "200":
  21549. description: OK
  21550. schema:
  21551. items:
  21552. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  21553. type: array
  21554. "500":
  21555. description: Internal Server Error
  21556. schema:
  21557. $ref: '#/definitions/app.Response'
  21558. security:
  21559. - ApiKeyAuth: []
  21560. summary: 查询库存报表
  21561. tags:
  21562. - 企业风险管理v3(app)
  21563. /Ermcp3/QryAreaSumPL:
  21564. get:
  21565. parameters:
  21566. - description: 用户ID
  21567. in: query
  21568. name: userid
  21569. required: true
  21570. type: integer
  21571. - description: 查询类型 1-报表 2-报表明细
  21572. in: query
  21573. name: querytype
  21574. required: true
  21575. type: integer
  21576. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21577. in: query
  21578. name: cycletype
  21579. required: true
  21580. type: integer
  21581. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21582. 全(0)【原值】
  21583. in: query
  21584. name: cycletime
  21585. required: true
  21586. type: string
  21587. - description: 币种id(明细必填)
  21588. in: query
  21589. name: currencyid
  21590. type: integer
  21591. produces:
  21592. - application/json
  21593. responses:
  21594. "200":
  21595. description: OK
  21596. schema:
  21597. items:
  21598. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  21599. type: array
  21600. "500":
  21601. description: Internal Server Error
  21602. schema:
  21603. $ref: '#/definitions/app.Response'
  21604. security:
  21605. - ApiKeyAuth: []
  21606. summary: 查询汇总损益表
  21607. tags:
  21608. - 企业风险管理v3(app)
  21609. /Ermcp3/QryFinanceReport:
  21610. get:
  21611. parameters:
  21612. - description: 用户ID
  21613. in: query
  21614. name: userid
  21615. required: true
  21616. type: integer
  21617. - description: 查询类型 1-报表 2-报表明细
  21618. in: query
  21619. name: querytype
  21620. required: true
  21621. type: integer
  21622. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21623. in: query
  21624. name: cycletype
  21625. required: true
  21626. type: integer
  21627. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21628. 全(0)【原值】
  21629. in: query
  21630. name: cycletime
  21631. required: true
  21632. type: string
  21633. - description: 币种id(报表明细必填)
  21634. in: query
  21635. name: currencyid
  21636. type: integer
  21637. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  21638. in: query
  21639. name: sumfields
  21640. type: string
  21641. produces:
  21642. - application/json
  21643. responses:
  21644. "200":
  21645. description: OK
  21646. schema:
  21647. items:
  21648. $ref: '#/definitions/models.Ermcp3FinanceReport'
  21649. type: array
  21650. "500":
  21651. description: Internal Server Error
  21652. schema:
  21653. $ref: '#/definitions/app.Response'
  21654. security:
  21655. - ApiKeyAuth: []
  21656. summary: 查询财务报表
  21657. tags:
  21658. - 企业风险管理v3(app)
  21659. /Ermcp3/QrySCMiddleGoodsReport:
  21660. get:
  21661. parameters:
  21662. - description: 用户ID
  21663. in: query
  21664. name: userid
  21665. required: true
  21666. type: integer
  21667. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21668. in: query
  21669. name: cycletype
  21670. required: true
  21671. type: integer
  21672. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21673. 全(0)【原值】
  21674. in: query
  21675. name: cycletime
  21676. required: true
  21677. type: string
  21678. - description: 合同id
  21679. in: query
  21680. name: spotcontractid
  21681. type: integer
  21682. - description: 套保品种id
  21683. in: query
  21684. name: middlegoodsid
  21685. type: integer
  21686. - description: 现货品种id
  21687. in: query
  21688. name: deliverygoodsid
  21689. type: integer
  21690. - description: 现货商品id
  21691. in: query
  21692. name: wrstandardid
  21693. type: integer
  21694. - description: 合同编号(模糊匹配)
  21695. in: query
  21696. name: contractno
  21697. type: string
  21698. produces:
  21699. - application/json
  21700. responses:
  21701. "200":
  21702. description: OK
  21703. schema:
  21704. items:
  21705. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  21706. type: array
  21707. "500":
  21708. description: Internal Server Error
  21709. schema:
  21710. $ref: '#/definitions/app.Response'
  21711. security:
  21712. - ApiKeyAuth: []
  21713. summary: 查询定价报表
  21714. tags:
  21715. - 企业风险管理v3(app)
  21716. /Ermcp3/QryTaFutureDataReport:
  21717. get:
  21718. parameters:
  21719. - description: 用户ID
  21720. in: query
  21721. name: userid
  21722. required: true
  21723. type: integer
  21724. - description: 查询类型 1-报表 2-报表明细
  21725. in: query
  21726. name: querytype
  21727. required: true
  21728. type: integer
  21729. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21730. in: query
  21731. name: cycletype
  21732. required: true
  21733. type: integer
  21734. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21735. 全(0)【原值】
  21736. in: query
  21737. name: cycletime
  21738. required: true
  21739. type: string
  21740. - description: 币种id(查明细必填)
  21741. in: query
  21742. name: currencyid
  21743. type: integer
  21744. - description: 品种id(查明细必填)
  21745. in: query
  21746. name: goodsgroupid
  21747. type: integer
  21748. - description: 商品id(查明细必填)
  21749. in: query
  21750. name: goodsid
  21751. type: integer
  21752. - description: 买卖方向(查明细必填)
  21753. in: query
  21754. name: buyorsell
  21755. type: integer
  21756. produces:
  21757. - application/json
  21758. responses:
  21759. "200":
  21760. description: OK
  21761. schema:
  21762. items:
  21763. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  21764. type: array
  21765. "500":
  21766. description: Internal Server Error
  21767. schema:
  21768. $ref: '#/definitions/app.Response'
  21769. security:
  21770. - ApiKeyAuth: []
  21771. summary: 查询期货报表
  21772. tags:
  21773. - 企业风险管理v3(app)
  21774. /Ermcp3/QueryAreaStock:
  21775. get:
  21776. parameters:
  21777. - description: 用户ID
  21778. in: query
  21779. name: userid
  21780. required: true
  21781. type: integer
  21782. produces:
  21783. - application/json
  21784. responses:
  21785. "200":
  21786. description: OK
  21787. schema:
  21788. items:
  21789. $ref: '#/definitions/models.Ermcp3AreaStock'
  21790. type: array
  21791. "500":
  21792. description: Internal Server Error
  21793. schema:
  21794. $ref: '#/definitions/app.Response'
  21795. security:
  21796. - ApiKeyAuth: []
  21797. summary: 查询机构库存(库存管理/当前库存)
  21798. tags:
  21799. - 企业风险管理v3(app)
  21800. /Ermcp3/QueryAreaStockApply:
  21801. get:
  21802. parameters:
  21803. - description: 用户ID
  21804. in: query
  21805. name: userid
  21806. required: true
  21807. type: integer
  21808. - description: 用户类型 2-机构 7-企业成员
  21809. in: query
  21810. name: usertype
  21811. type: integer
  21812. - description: 现货商品ID
  21813. in: query
  21814. name: deliverygoodsid
  21815. type: integer
  21816. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  21817. in: query
  21818. name: inouttype
  21819. type: string
  21820. - description: 合同ID
  21821. in: query
  21822. name: spotcontractid
  21823. type: integer
  21824. - description: 品类ID
  21825. in: query
  21826. name: wrstandardid
  21827. type: integer
  21828. - description: 品牌ID
  21829. in: query
  21830. name: spotgoodsbrandid
  21831. type: integer
  21832. - description: 仓库ID
  21833. in: query
  21834. name: warehouseinfoid
  21835. type: integer
  21836. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21837. in: query
  21838. name: applystatus
  21839. type: string
  21840. produces:
  21841. - application/json
  21842. responses:
  21843. "200":
  21844. description: OK
  21845. schema:
  21846. items:
  21847. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  21848. type: array
  21849. "500":
  21850. description: Internal Server Error
  21851. schema:
  21852. $ref: '#/definitions/app.Response'
  21853. security:
  21854. - ApiKeyAuth: []
  21855. summary: 查询库存申请(出入库记录|库存审核)
  21856. tags:
  21857. - 企业风险管理v3(app)
  21858. /Ermcp3/QueryAreaStockApplySum:
  21859. get:
  21860. parameters:
  21861. - description: 合同ID
  21862. in: query
  21863. name: spotcontractid
  21864. required: true
  21865. type: integer
  21866. produces:
  21867. - application/json
  21868. responses:
  21869. "200":
  21870. description: OK
  21871. schema:
  21872. items:
  21873. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  21874. type: array
  21875. "500":
  21876. description: Internal Server Error
  21877. schema:
  21878. $ref: '#/definitions/app.Response'
  21879. security:
  21880. - ApiKeyAuth: []
  21881. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  21882. tags:
  21883. - 企业风险管理v3(app)
  21884. /Ermcp3/QueryDGFactoryItem:
  21885. get:
  21886. parameters:
  21887. - description: 用户id
  21888. in: query
  21889. name: userid
  21890. type: integer
  21891. - description: 用户类型 2-机构 7-企业成员
  21892. in: query
  21893. name: usertype
  21894. type: integer
  21895. - description: 选择项ID(SEQ_DGFACTORYITEM)
  21896. in: query
  21897. name: dgfactoryitemid
  21898. type: integer
  21899. - description: 现货品种ID
  21900. in: query
  21901. name: deliverygoodsid
  21902. type: integer
  21903. - description: 要素项类型
  21904. in: query
  21905. name: dgfactoryitemtypeid
  21906. type: integer
  21907. - description: 顺序
  21908. in: query
  21909. name: orderindex
  21910. type: integer
  21911. produces:
  21912. - application/json
  21913. responses:
  21914. "200":
  21915. description: OK
  21916. schema:
  21917. items:
  21918. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  21919. type: array
  21920. "500":
  21921. description: Internal Server Error
  21922. schema:
  21923. $ref: '#/definitions/app.Response'
  21924. security:
  21925. - ApiKeyAuth: []
  21926. summary: 查询品种要素定义项
  21927. tags:
  21928. - 企业风险管理v3(app)
  21929. /Ermcp3/QueryDeliveryGoods:
  21930. get:
  21931. parameters:
  21932. - description: 用户id
  21933. in: query
  21934. name: userid
  21935. required: true
  21936. type: integer
  21937. - description: 用户类型 2-机构 7-企业成员
  21938. in: query
  21939. name: usertype
  21940. type: integer
  21941. - description: 排除已配置的业务类型商品 1-套保 2-套利
  21942. in: query
  21943. name: excludecfg
  21944. type: integer
  21945. produces:
  21946. - application/json
  21947. responses:
  21948. "200":
  21949. description: OK
  21950. schema:
  21951. items:
  21952. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  21953. type: array
  21954. "500":
  21955. description: Internal Server Error
  21956. schema:
  21957. $ref: '#/definitions/app.Response'
  21958. security:
  21959. - ApiKeyAuth: []
  21960. summary: 查询现货商品
  21961. tags:
  21962. - 企业风险管理v3(app)
  21963. /Ermcp3/QueryDeliveryGoodsDetail:
  21964. get:
  21965. parameters:
  21966. - description: 用户id
  21967. in: query
  21968. name: userid
  21969. required: true
  21970. type: integer
  21971. - description: 用户类型 2-机构 7-企业成员
  21972. in: query
  21973. name: usertype
  21974. type: integer
  21975. - description: 现货商品id
  21976. in: query
  21977. name: deliverygoodsid
  21978. type: integer
  21979. - description: 过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示
  21980. in: query
  21981. name: filtersubempty
  21982. type: integer
  21983. produces:
  21984. - application/json
  21985. responses:
  21986. "200":
  21987. description: OK
  21988. schema:
  21989. items:
  21990. $ref: '#/definitions/models.XHDeliveryGoods'
  21991. type: array
  21992. "500":
  21993. description: Internal Server Error
  21994. schema:
  21995. $ref: '#/definitions/app.Response'
  21996. security:
  21997. - ApiKeyAuth: []
  21998. summary: 查询现货商品详情
  21999. tags:
  22000. - 企业风险管理v3(app)
  22001. /Ermcp3/QueryExposureDetail:
  22002. get:
  22003. parameters:
  22004. - description: 用户id
  22005. in: query
  22006. name: userid
  22007. required: true
  22008. type: integer
  22009. - description: 用户类型 2-机构 7-企业成员
  22010. in: query
  22011. name: usertype
  22012. type: integer
  22013. - description: 套保商品
  22014. in: query
  22015. name: middlegoodsid
  22016. required: true
  22017. type: integer
  22018. produces:
  22019. - application/json
  22020. responses:
  22021. "200":
  22022. description: OK
  22023. schema:
  22024. items:
  22025. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  22026. type: array
  22027. "500":
  22028. description: Internal Server Error
  22029. schema:
  22030. $ref: '#/definitions/app.Response'
  22031. security:
  22032. - ApiKeyAuth: []
  22033. summary: 查询敞口现货明细
  22034. tags:
  22035. - 企业风险管理v3(app)
  22036. /Ermcp3/QueryExposureSpot:
  22037. get:
  22038. parameters:
  22039. - description: 用户id
  22040. in: query
  22041. name: userid
  22042. required: true
  22043. type: integer
  22044. - description: 用户类型 2-机构 7-企业成员
  22045. in: query
  22046. name: usertype
  22047. type: integer
  22048. produces:
  22049. - application/json
  22050. responses:
  22051. "200":
  22052. description: OK
  22053. schema:
  22054. items:
  22055. $ref: '#/definitions/models.Ermcp3AreaSpot'
  22056. type: array
  22057. "500":
  22058. description: Internal Server Error
  22059. schema:
  22060. $ref: '#/definitions/app.Response'
  22061. security:
  22062. - ApiKeyAuth: []
  22063. summary: 查询敞口现货头寸(敞口/现货头寸)
  22064. tags:
  22065. - 企业风险管理v3(app)
  22066. /Ermcp3/QueryExposureSpotDetail:
  22067. get:
  22068. parameters:
  22069. - description: 用户id
  22070. in: query
  22071. name: userid
  22072. required: true
  22073. type: integer
  22074. - description: 用户类型 2-机构 7-企业成员
  22075. in: query
  22076. name: usertype
  22077. type: integer
  22078. - description: 现货商品ID
  22079. in: query
  22080. name: wrstandardid
  22081. required: true
  22082. type: integer
  22083. produces:
  22084. - application/json
  22085. responses:
  22086. "200":
  22087. description: OK
  22088. schema:
  22089. items:
  22090. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  22091. type: array
  22092. "500":
  22093. description: Internal Server Error
  22094. schema:
  22095. $ref: '#/definitions/app.Response'
  22096. security:
  22097. - ApiKeyAuth: []
  22098. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  22099. tags:
  22100. - 企业风险管理v3(app)
  22101. /Ermcp3/QueryGoodsGroup:
  22102. get:
  22103. parameters:
  22104. - description: 用户id
  22105. in: query
  22106. name: userid
  22107. required: true
  22108. type: integer
  22109. - description: 用户类型 2-机构 7-企业成员
  22110. in: query
  22111. name: usertype
  22112. type: integer
  22113. - description: 排除套保品中已关联的商品组 1-排除
  22114. in: query
  22115. name: excludecfg
  22116. type: integer
  22117. produces:
  22118. - application/json
  22119. responses:
  22120. "200":
  22121. description: OK
  22122. schema:
  22123. items:
  22124. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  22125. type: array
  22126. "500":
  22127. description: Internal Server Error
  22128. schema:
  22129. $ref: '#/definitions/app.Response'
  22130. security:
  22131. - ApiKeyAuth: []
  22132. summary: 查询期货商品组
  22133. tags:
  22134. - 企业风险管理v3(app)
  22135. /Ermcp3/QueryGoodsWrstandard:
  22136. get:
  22137. parameters:
  22138. - description: 用户id
  22139. in: query
  22140. name: userid
  22141. required: true
  22142. type: integer
  22143. - description: 用户类型 2-机构 7-企业成员
  22144. in: query
  22145. name: usertype
  22146. type: integer
  22147. - description: 现货商品id
  22148. in: query
  22149. name: deliverygoodsid
  22150. type: integer
  22151. produces:
  22152. - application/json
  22153. responses:
  22154. "200":
  22155. description: OK
  22156. schema:
  22157. items:
  22158. $ref: '#/definitions/models.Ermcp3Wrstandard'
  22159. type: array
  22160. "500":
  22161. description: Internal Server Error
  22162. schema:
  22163. $ref: '#/definitions/app.Response'
  22164. security:
  22165. - ApiKeyAuth: []
  22166. summary: 查询商品品类
  22167. tags:
  22168. - 企业风险管理v3(app)
  22169. /Ermcp3/QueryGoodsbrand:
  22170. get:
  22171. parameters:
  22172. - description: 用户id
  22173. in: query
  22174. name: userid
  22175. required: true
  22176. type: integer
  22177. - description: 用户类型 2-机构 7-企业成员
  22178. in: query
  22179. name: usertype
  22180. type: integer
  22181. produces:
  22182. - application/json
  22183. responses:
  22184. "200":
  22185. description: OK
  22186. schema:
  22187. items:
  22188. $ref: '#/definitions/models.Ermcp3Brand'
  22189. type: array
  22190. "500":
  22191. description: Internal Server Error
  22192. schema:
  22193. $ref: '#/definitions/app.Response'
  22194. security:
  22195. - ApiKeyAuth: []
  22196. summary: 查询商品品牌
  22197. tags:
  22198. - 企业风险管理v3(app)
  22199. /Ermcp3/QueryHedgePlan:
  22200. get:
  22201. parameters:
  22202. - description: 用户ID
  22203. in: query
  22204. name: userid
  22205. required: true
  22206. type: integer
  22207. - description: 用户类型 2-机构 7-企业成员
  22208. in: query
  22209. name: usertype
  22210. type: integer
  22211. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  22212. in: query
  22213. name: hedgeplanstatus
  22214. required: true
  22215. type: string
  22216. produces:
  22217. - application/json
  22218. responses:
  22219. "200":
  22220. description: OK
  22221. schema:
  22222. items:
  22223. $ref: '#/definitions/models.Ermcp3HedgePlan'
  22224. type: array
  22225. "500":
  22226. description: Internal Server Error
  22227. schema:
  22228. $ref: '#/definitions/app.Response'
  22229. security:
  22230. - ApiKeyAuth: []
  22231. summary: 查询套保计划
  22232. tags:
  22233. - 企业风险管理v3(app)
  22234. /Ermcp3/QueryInnerTradeLink:
  22235. get:
  22236. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  22237. parameters:
  22238. - description: 外部成交单号
  22239. in: query
  22240. name: outtradeid
  22241. required: true
  22242. type: integer
  22243. produces:
  22244. - application/json
  22245. responses:
  22246. "200":
  22247. description: OK
  22248. schema:
  22249. items:
  22250. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  22251. type: array
  22252. "500":
  22253. description: Internal Server Error
  22254. schema:
  22255. $ref: '#/definitions/app.Response'
  22256. security:
  22257. - ApiKeyAuth: []
  22258. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  22259. tags:
  22260. - 企业风险管理v3(app)
  22261. /Ermcp3/QueryMiddleGoodsDetail:
  22262. get:
  22263. parameters:
  22264. - description: 用户id
  22265. in: query
  22266. name: userid
  22267. required: true
  22268. type: integer
  22269. - description: 用户类型 2-机构 7-企业成员
  22270. in: query
  22271. name: usertype
  22272. type: integer
  22273. - description: 套保品种id
  22274. in: query
  22275. name: middlegoodsid
  22276. type: integer
  22277. produces:
  22278. - application/json
  22279. responses:
  22280. "200":
  22281. description: OK
  22282. schema:
  22283. items:
  22284. $ref: '#/definitions/models.TBMiddleGoods'
  22285. type: array
  22286. "500":
  22287. description: Internal Server Error
  22288. schema:
  22289. $ref: '#/definitions/app.Response'
  22290. security:
  22291. - ApiKeyAuth: []
  22292. summary: 查询套保品种详情(套保品种/商品详情)
  22293. tags:
  22294. - 企业风险管理v3(app)
  22295. /Ermcp3/QueryOutTradeLink:
  22296. get:
  22297. description: 页面 app 现货->期现关联->外部成交单关联
  22298. parameters:
  22299. - description: 用户ID(填登录用户的userid)
  22300. in: query
  22301. name: userid
  22302. required: true
  22303. type: integer
  22304. - description: 外部订单号(模糊匹配)
  22305. in: query
  22306. name: outtradeid
  22307. type: string
  22308. - description: 合约名称/代码(模糊匹配)
  22309. in: query
  22310. name: goodsname
  22311. type: string
  22312. - description: 关联状态 0-未关联 1-已关联
  22313. in: query
  22314. name: hasinnerorder
  22315. type: integer
  22316. produces:
  22317. - application/json
  22318. responses:
  22319. "200":
  22320. description: OK
  22321. schema:
  22322. items:
  22323. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  22324. type: array
  22325. "500":
  22326. description: Internal Server Error
  22327. schema:
  22328. $ref: '#/definitions/app.Response'
  22329. security:
  22330. - ApiKeyAuth: []
  22331. summary: 查询外部成交单关联
  22332. tags:
  22333. - 企业风险管理v3(app)
  22334. /Ermcp3/QueryPaAreaAuditCfg:
  22335. get:
  22336. parameters:
  22337. - description: 用户id
  22338. in: query
  22339. name: userid
  22340. required: true
  22341. type: integer
  22342. produces:
  22343. - application/json
  22344. responses:
  22345. "200":
  22346. description: OK
  22347. schema:
  22348. items:
  22349. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  22350. type: array
  22351. "500":
  22352. description: Internal Server Error
  22353. schema:
  22354. $ref: '#/definitions/app.Response'
  22355. security:
  22356. - ApiKeyAuth: []
  22357. summary: 查询审核设置
  22358. tags:
  22359. - 企业风险管理v3(app)
  22360. /Ermcp3/QueryPaAreaSubject:
  22361. get:
  22362. parameters:
  22363. - description: 用户id
  22364. in: query
  22365. name: userid
  22366. required: true
  22367. type: integer
  22368. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  22369. in: query
  22370. name: subjectid
  22371. type: integer
  22372. - description: 主体类型 - 1:交易主体 2:业务部门
  22373. in: query
  22374. name: subjecttype
  22375. type: integer
  22376. - description: '主体状态 - 1:正常 2: 停用'
  22377. in: query
  22378. name: subjectstatus
  22379. type: integer
  22380. produces:
  22381. - application/json
  22382. responses:
  22383. "200":
  22384. description: OK
  22385. schema:
  22386. items:
  22387. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  22388. type: array
  22389. "500":
  22390. description: Internal Server Error
  22391. schema:
  22392. $ref: '#/definitions/app.Response'
  22393. security:
  22394. - ApiKeyAuth: []
  22395. summary: 查询交易主体
  22396. tags:
  22397. - 企业风险管理v3(app)
  22398. /Ermcp3/QueryPaTradeLink:
  22399. get:
  22400. description: 页面 app 现货->期现关联->期现单据关联
  22401. parameters:
  22402. - description: 用户ID
  22403. in: query
  22404. name: userid
  22405. required: true
  22406. type: integer
  22407. produces:
  22408. - application/json
  22409. responses:
  22410. "200":
  22411. description: OK
  22412. schema:
  22413. items:
  22414. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  22415. type: array
  22416. "500":
  22417. description: Internal Server Error
  22418. schema:
  22419. $ref: '#/definitions/app.Response'
  22420. security:
  22421. - ApiKeyAuth: []
  22422. summary: 查询期现单据关联
  22423. tags:
  22424. - 企业风险管理v3(app)
  22425. /Ermcp3/QueryPaTradeLinkDetail:
  22426. get:
  22427. description: 页面 app 现货->期现关联->关联记录
  22428. parameters:
  22429. - description: 用户ID(填登录用户的userid)
  22430. in: query
  22431. name: userid
  22432. required: true
  22433. type: integer
  22434. - description: 关联状态 1:成功 2:失败 3:解绑
  22435. in: query
  22436. name: linkstatus
  22437. type: integer
  22438. - description: 期货订单号(模糊匹配)
  22439. in: query
  22440. name: tradeid
  22441. type: string
  22442. - description: 现货编号(模糊匹配)
  22443. in: query
  22444. name: contractno
  22445. type: string
  22446. - description: 期货账户(模糊匹配)
  22447. in: query
  22448. name: taname
  22449. type: string
  22450. produces:
  22451. - application/json
  22452. responses:
  22453. "200":
  22454. description: OK
  22455. schema:
  22456. items:
  22457. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  22458. type: array
  22459. "500":
  22460. description: Internal Server Error
  22461. schema:
  22462. $ref: '#/definitions/app.Response'
  22463. security:
  22464. - ApiKeyAuth: []
  22465. summary: 查询期现关联记录
  22466. tags:
  22467. - 企业风险管理v3(app)
  22468. /Ermcp3/QueryParamChangeApp:
  22469. get:
  22470. description: |-
  22471. 原型页面:
  22472. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  22473. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  22474. parameters:
  22475. - description: 用户ID
  22476. in: query
  22477. name: userid
  22478. required: true
  22479. type: integer
  22480. - description: 现货品种id
  22481. in: query
  22482. name: deliverygoodsid
  22483. type: integer
  22484. - description: 现货商品id
  22485. in: query
  22486. name: wrstandardid
  22487. type: integer
  22488. - description: 套保商品id
  22489. in: query
  22490. name: middlegoodsid
  22491. type: integer
  22492. - description: 操作类型 1:新增 2:修改
  22493. in: query
  22494. name: operatetype
  22495. type: integer
  22496. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  22497. in: query
  22498. name: paramchangetype
  22499. type: integer
  22500. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22501. in: query
  22502. name: ftstatus
  22503. type: string
  22504. produces:
  22505. - application/json
  22506. responses:
  22507. "200":
  22508. description: OK
  22509. schema:
  22510. items:
  22511. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  22512. type: array
  22513. "500":
  22514. description: Internal Server Error
  22515. schema:
  22516. $ref: '#/definitions/app.Response'
  22517. security:
  22518. - ApiKeyAuth: []
  22519. summary: 查询现货商品参数变更申请(流水)
  22520. tags:
  22521. - 企业风险管理v3(app)
  22522. /Ermcp3/QueryRootUserAccount:
  22523. get:
  22524. parameters:
  22525. - description: 用户ID
  22526. in: query
  22527. name: userid
  22528. required: true
  22529. type: integer
  22530. produces:
  22531. - application/json
  22532. responses:
  22533. "200":
  22534. description: OK
  22535. schema:
  22536. items:
  22537. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  22538. type: array
  22539. "500":
  22540. description: Internal Server Error
  22541. schema:
  22542. $ref: '#/definitions/app.Response'
  22543. security:
  22544. - ApiKeyAuth: []
  22545. summary: 查询顶级用户信息
  22546. tags:
  22547. - 企业风险管理v3(app)
  22548. /Ermcp3/QuerySCMiddleGoods:
  22549. get:
  22550. description: |-
  22551. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  22552. 现货编号 即 合同编号
  22553. parameters:
  22554. - description: 用户ID(填登录用户的userid)
  22555. in: query
  22556. name: userid
  22557. required: true
  22558. type: integer
  22559. - description: 买卖方向 0-买 1-卖
  22560. in: query
  22561. name: buyorsell
  22562. required: true
  22563. type: integer
  22564. - description: 商品组id
  22565. in: query
  22566. name: goodsgroupid
  22567. required: true
  22568. type: integer
  22569. - description: 业务类型 1:套保 2:套利
  22570. in: query
  22571. name: biztype
  22572. type: integer
  22573. - description: 现货编号(模糊匹配)
  22574. in: query
  22575. name: contractno
  22576. type: string
  22577. - description: 对手方(模糊匹配)
  22578. in: query
  22579. name: customername
  22580. type: string
  22581. - description: 现货商品名称(模糊匹配)
  22582. in: query
  22583. name: wrstandardname
  22584. type: string
  22585. produces:
  22586. - application/json
  22587. responses:
  22588. "200":
  22589. description: OK
  22590. schema:
  22591. items:
  22592. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  22593. type: array
  22594. "500":
  22595. description: Internal Server Error
  22596. schema:
  22597. $ref: '#/definitions/app.Response'
  22598. security:
  22599. - ApiKeyAuth: []
  22600. summary: 查询现货订单
  22601. tags:
  22602. - 企业风险管理v3(app)
  22603. /Ermcp3/QuerySpotContract:
  22604. get:
  22605. parameters:
  22606. - description: 用户id(当指定contractid, userid可不填)
  22607. in: query
  22608. name: userid
  22609. required: true
  22610. type: integer
  22611. - description: 用户类型 2-机构 7-企业成员
  22612. in: query
  22613. name: usertype
  22614. type: integer
  22615. - description: 合同类型 1-采购, -1-销售
  22616. in: query
  22617. name: contracttype
  22618. type: integer
  22619. - description: 查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成
  22620. in: query
  22621. name: querytype
  22622. type: string
  22623. - description: 合同ID(SpotContractId)
  22624. in: query
  22625. name: contractid
  22626. type: string
  22627. - description: 合同编号(模糊匹配)
  22628. in: query
  22629. name: contractno
  22630. type: string
  22631. - description: 商品名称(模糊匹配)
  22632. in: query
  22633. name: wrstandardname
  22634. type: string
  22635. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  22636. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  22637. in: query
  22638. name: status
  22639. type: string
  22640. - description: 是否只查今日的合同 1-查今日合同
  22641. in: query
  22642. name: istoday
  22643. type: integer
  22644. produces:
  22645. - application/json
  22646. responses:
  22647. "200":
  22648. description: OK
  22649. schema:
  22650. items:
  22651. $ref: '#/definitions/models.Ermcp3Contract'
  22652. type: array
  22653. "500":
  22654. description: Internal Server Error
  22655. schema:
  22656. $ref: '#/definitions/app.Response'
  22657. security:
  22658. - ApiKeyAuth: []
  22659. summary: 查询现货合同
  22660. tags:
  22661. - 企业风险管理v3(app)
  22662. /Ermcp3/QuerySpotContractBS:
  22663. get:
  22664. parameters:
  22665. - description: 用户id
  22666. in: query
  22667. name: userid
  22668. required: true
  22669. type: integer
  22670. - description: 用户类型 2-机构 7-企业成员
  22671. in: query
  22672. name: usertype
  22673. type: integer
  22674. - description: 合同类型 1-采购, -1-销售
  22675. in: query
  22676. name: contracttype
  22677. required: true
  22678. type: integer
  22679. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  22680. in: query
  22681. name: querytype
  22682. type: integer
  22683. - description: 合同ID(SpotContractId)
  22684. in: query
  22685. name: contractid
  22686. type: string
  22687. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  22688. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  22689. in: query
  22690. name: status
  22691. type: string
  22692. - description: 是否只查今日的合同 1-查今日合同
  22693. in: query
  22694. name: istoday
  22695. type: integer
  22696. produces:
  22697. - application/json
  22698. responses:
  22699. "200":
  22700. description: OK
  22701. schema:
  22702. items:
  22703. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  22704. type: array
  22705. "500":
  22706. description: Internal Server Error
  22707. schema:
  22708. $ref: '#/definitions/app.Response'
  22709. security:
  22710. - ApiKeyAuth: []
  22711. summary: 查询合同(采购/销售)
  22712. tags:
  22713. - 企业风险管理v3(app)
  22714. /Ermcp3/QuerySpotGoodsPrice:
  22715. get:
  22716. parameters:
  22717. - description: 用户ID
  22718. in: query
  22719. name: userid
  22720. required: true
  22721. type: integer
  22722. produces:
  22723. - application/json
  22724. responses:
  22725. "200":
  22726. description: OK
  22727. schema:
  22728. items:
  22729. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  22730. type: array
  22731. "500":
  22732. description: Internal Server Error
  22733. schema:
  22734. $ref: '#/definitions/app.Response'
  22735. security:
  22736. - ApiKeyAuth: []
  22737. summary: 查询现货市价(现货市价)
  22738. tags:
  22739. - 企业风险管理v3(app)
  22740. /Ermcp3/QuerySpotGoodsPriceLog:
  22741. get:
  22742. parameters:
  22743. - description: 用户ID
  22744. in: query
  22745. name: userid
  22746. required: true
  22747. type: integer
  22748. - description: 现货商品ID
  22749. in: query
  22750. name: deliverygoodsid
  22751. required: true
  22752. type: integer
  22753. - description: 品牌ID
  22754. in: query
  22755. name: brandid
  22756. type: integer
  22757. - description: 品类ID
  22758. in: query
  22759. name: wrstandardid
  22760. type: integer
  22761. produces:
  22762. - application/json
  22763. responses:
  22764. "200":
  22765. description: OK
  22766. schema:
  22767. items:
  22768. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  22769. type: array
  22770. "500":
  22771. description: Internal Server Error
  22772. schema:
  22773. $ref: '#/definitions/app.Response'
  22774. security:
  22775. - ApiKeyAuth: []
  22776. summary: 查询现货市价详情(现货市价/详情)
  22777. tags:
  22778. - 企业风险管理v3(app)
  22779. /Ermcp3/QuerySubTaaccount:
  22780. get:
  22781. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  22782. parameters:
  22783. - description: 母账号id
  22784. in: query
  22785. name: parentaccountid
  22786. type: integer
  22787. - description: 母账号代码
  22788. in: query
  22789. name: parentaccountcode
  22790. type: string
  22791. produces:
  22792. - application/json
  22793. responses:
  22794. "200":
  22795. description: OK
  22796. schema:
  22797. items:
  22798. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  22799. type: array
  22800. "500":
  22801. description: Internal Server Error
  22802. schema:
  22803. $ref: '#/definitions/app.Response'
  22804. security:
  22805. - ApiKeyAuth: []
  22806. summary: 查询期货子账户
  22807. tags:
  22808. - 企业风险管理v3(app)
  22809. /Erms2/QueryArbitrageStrategy:
  22810. get:
  22811. parameters:
  22812. - description: 账户ID
  22813. in: query
  22814. name: userid
  22815. required: true
  22816. type: integer
  22817. - description: 商品组ID(品种ID)
  22818. in: query
  22819. name: goodsgroupid
  22820. type: string
  22821. produces:
  22822. - application/json
  22823. responses:
  22824. "200":
  22825. description: OK
  22826. schema:
  22827. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  22828. "500":
  22829. description: Internal Server Error
  22830. schema:
  22831. $ref: '#/definitions/app.Response'
  22832. security:
  22833. - ApiKeyAuth: []
  22834. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  22835. tags:
  22836. - 风险管理
  22837. /Erms2/QueryInnerTradeDetail:
  22838. get:
  22839. parameters:
  22840. - description: 资金账户
  22841. in: query
  22842. name: accountid
  22843. required: true
  22844. type: integer
  22845. produces:
  22846. - application/json
  22847. responses:
  22848. "200":
  22849. description: OK
  22850. schema:
  22851. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  22852. "500":
  22853. description: Internal Server Error
  22854. schema:
  22855. $ref: '#/definitions/app.Response'
  22856. security:
  22857. - ApiKeyAuth: []
  22858. summary: 查询内部成交单信息
  22859. tags:
  22860. - 风险管理
  22861. /Erms2/QuerySpotContract:
  22862. get:
  22863. parameters:
  22864. - description: 策略申请ID
  22865. in: query
  22866. name: asapplyid
  22867. required: true
  22868. type: integer
  22869. - description: 现货合同ID
  22870. in: query
  22871. name: spotcontractid
  22872. type: integer
  22873. produces:
  22874. - application/json
  22875. responses:
  22876. "200":
  22877. description: OK
  22878. schema:
  22879. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  22880. "500":
  22881. description: Internal Server Error
  22882. schema:
  22883. $ref: '#/definitions/app.Response'
  22884. security:
  22885. - ApiKeyAuth: []
  22886. summary: 查询现货合同表信息(指定策略ID、未结束的)
  22887. tags:
  22888. - 风险管理
  22889. /Erms3/AddErms2ASApply:
  22890. post:
  22891. parameters:
  22892. - description: 申请参数
  22893. in: body
  22894. name: jsonBody
  22895. required: true
  22896. schema:
  22897. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  22898. produces:
  22899. - application/json
  22900. responses:
  22901. "200":
  22902. description: OK
  22903. schema:
  22904. $ref: '#/definitions/app.Response'
  22905. "500":
  22906. description: Internal Server Error
  22907. schema:
  22908. $ref: '#/definitions/app.Response'
  22909. security:
  22910. - ApiKeyAuth: []
  22911. summary: 新增期现套利业务申请
  22912. tags:
  22913. - 风险管理v3
  22914. /Erms3/AddErms2SpotTradeApply:
  22915. post:
  22916. parameters:
  22917. - description: 申请参数
  22918. in: body
  22919. name: jsonBody
  22920. required: true
  22921. schema:
  22922. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  22923. produces:
  22924. - application/json
  22925. responses:
  22926. "200":
  22927. description: OK
  22928. schema:
  22929. $ref: '#/definitions/app.Response'
  22930. "500":
  22931. description: Internal Server Error
  22932. schema:
  22933. $ref: '#/definitions/app.Response'
  22934. security:
  22935. - ApiKeyAuth: []
  22936. summary: 新增现货贸易业务申请
  22937. tags:
  22938. - 风险管理v3
  22939. /Erms3/AddSpotContractApply:
  22940. post:
  22941. parameters:
  22942. - description: 申请参数
  22943. in: body
  22944. name: jsonBody
  22945. required: true
  22946. schema:
  22947. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  22948. produces:
  22949. - application/json
  22950. responses:
  22951. "200":
  22952. description: OK
  22953. schema:
  22954. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  22955. "500":
  22956. description: Internal Server Error
  22957. schema:
  22958. $ref: '#/definitions/app.Response'
  22959. security:
  22960. - ApiKeyAuth: []
  22961. summary: 新增现货合同申请
  22962. tags:
  22963. - 风险管理v3
  22964. /Erms3/AddUserInfoApply:
  22965. post:
  22966. parameters:
  22967. - description: 用户信息
  22968. in: body
  22969. name: jsonBody
  22970. required: true
  22971. schema:
  22972. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  22973. produces:
  22974. - application/json
  22975. responses:
  22976. "200":
  22977. description: OK
  22978. schema:
  22979. $ref: '#/definitions/app.Response'
  22980. "500":
  22981. description: Internal Server Error
  22982. schema:
  22983. $ref: '#/definitions/app.Response'
  22984. security:
  22985. - ApiKeyAuth: []
  22986. summary: 新增客户申请
  22987. tags:
  22988. - 风险管理v3
  22989. /Erms3/DeleteUserInfoApply:
  22990. get:
  22991. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  22992. parameters:
  22993. - description: 用户ID
  22994. in: query
  22995. name: userID
  22996. required: true
  22997. type: integer
  22998. produces:
  22999. - application/json
  23000. responses:
  23001. "200":
  23002. description: OK
  23003. schema:
  23004. $ref: '#/definitions/app.Response'
  23005. "500":
  23006. description: Internal Server Error
  23007. schema:
  23008. $ref: '#/definitions/app.Response'
  23009. security:
  23010. - ApiKeyAuth: []
  23011. summary: 删除客户申请
  23012. tags:
  23013. - 风险管理v3
  23014. /Erms3/ModifyUserInfoApply:
  23015. post:
  23016. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  23017. int, "userstate": 2 }'
  23018. parameters:
  23019. - description: 用户信息
  23020. in: body
  23021. name: jsonBody
  23022. required: true
  23023. schema:
  23024. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  23025. produces:
  23026. - application/json
  23027. responses:
  23028. "200":
  23029. description: OK
  23030. schema:
  23031. $ref: '#/definitions/app.Response'
  23032. "500":
  23033. description: Internal Server Error
  23034. schema:
  23035. $ref: '#/definitions/app.Response'
  23036. security:
  23037. - ApiKeyAuth: []
  23038. summary: 修改客户申请
  23039. tags:
  23040. - 风险管理v3
  23041. /Erms3/QueryBusinessInfo:
  23042. get:
  23043. parameters:
  23044. - description: 资金账号ID列表,用逗号分隔
  23045. in: query
  23046. name: accountids
  23047. required: true
  23048. type: string
  23049. - description: 状态,0为未结束 1为已结束
  23050. in: query
  23051. name: status
  23052. required: true
  23053. type: integer
  23054. produces:
  23055. - application/json
  23056. responses:
  23057. "200":
  23058. description: OK
  23059. schema:
  23060. items:
  23061. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  23062. type: array
  23063. "500":
  23064. description: Internal Server Error
  23065. schema:
  23066. $ref: '#/definitions/app.Response'
  23067. security:
  23068. - ApiKeyAuth: []
  23069. summary: 查询业务表单数据
  23070. tags:
  23071. - 风险管理v3
  23072. /Erms3/QueryPendingAuditContract:
  23073. get:
  23074. parameters:
  23075. - description: 资金账号ID列表,逗号隔开
  23076. in: query
  23077. name: accountids
  23078. required: true
  23079. type: string
  23080. - description: 合同类型 1-采购 -1-销售
  23081. in: query
  23082. name: contracttype
  23083. required: true
  23084. type: integer
  23085. - description: 合同模式 1-普通 2-回购
  23086. in: query
  23087. name: contractmode
  23088. required: true
  23089. type: integer
  23090. produces:
  23091. - application/json
  23092. responses:
  23093. "200":
  23094. description: OK
  23095. schema:
  23096. items:
  23097. $ref: '#/definitions/erms3.QryAuditContractRsp'
  23098. type: array
  23099. "500":
  23100. description: Internal Server Error
  23101. schema:
  23102. $ref: '#/definitions/app.Response'
  23103. security:
  23104. - ApiKeyAuth: []
  23105. summary: 查询待审核合同
  23106. tags:
  23107. - 风险管理v3
  23108. /Erms3/QueryPendingBusiness:
  23109. get:
  23110. parameters:
  23111. - description: 资金账号ID列表,逗号隔开
  23112. in: query
  23113. name: accountids
  23114. required: true
  23115. type: string
  23116. produces:
  23117. - application/json
  23118. responses:
  23119. "200":
  23120. description: OK
  23121. schema:
  23122. items:
  23123. $ref: '#/definitions/erms3.QryPendingBizRsp'
  23124. type: array
  23125. "500":
  23126. description: Internal Server Error
  23127. schema:
  23128. $ref: '#/definitions/app.Response'
  23129. security:
  23130. - ApiKeyAuth: []
  23131. summary: 查询待审核基差贸易业务
  23132. tags:
  23133. - 风险管理v3
  23134. /Erms3/QuerySpotContractAppleForm:
  23135. get:
  23136. parameters:
  23137. - description: 登录账号
  23138. in: query
  23139. name: loginID
  23140. required: true
  23141. type: integer
  23142. produces:
  23143. - application/json
  23144. responses:
  23145. "200":
  23146. description: OK
  23147. schema:
  23148. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  23149. "500":
  23150. description: Internal Server Error
  23151. schema:
  23152. $ref: '#/definitions/app.Response'
  23153. security:
  23154. - ApiKeyAuth: []
  23155. summary: 查询合同申请表单数据
  23156. tags:
  23157. - 风险管理v3
  23158. /Erms3/QuerySpotContractDetail:
  23159. get:
  23160. parameters:
  23161. - description: 资金账号ID列表,用逗号分隔
  23162. in: query
  23163. name: accountids
  23164. required: true
  23165. type: string
  23166. - description: 合同类型,1为采购合同 -1为销售合同
  23167. in: query
  23168. name: contracttype
  23169. required: true
  23170. type: integer
  23171. - description: 合同模式,1为普通合同 2为回购销售合同
  23172. in: query
  23173. name: contractmode
  23174. required: true
  23175. type: integer
  23176. - description: 状态,0为履约中 1为已完成
  23177. in: query
  23178. name: status
  23179. required: true
  23180. type: integer
  23181. produces:
  23182. - application/json
  23183. responses:
  23184. "200":
  23185. description: OK
  23186. schema:
  23187. items:
  23188. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  23189. type: array
  23190. "500":
  23191. description: Internal Server Error
  23192. schema:
  23193. $ref: '#/definitions/app.Response'
  23194. security:
  23195. - ApiKeyAuth: []
  23196. summary: 查询合同详细信息
  23197. tags:
  23198. - 风险管理v3
  23199. /Erms3/QueryUserInfoApplies:
  23200. get:
  23201. parameters:
  23202. - description: 页码
  23203. in: query
  23204. name: page
  23205. type: integer
  23206. - description: 每页条数
  23207. in: query
  23208. name: pagesize
  23209. type: integer
  23210. - description: 客户名称,支持模糊查询
  23211. in: query
  23212. name: userName
  23213. type: string
  23214. produces:
  23215. - application/json
  23216. responses:
  23217. "200":
  23218. description: OK
  23219. schema:
  23220. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  23221. "500":
  23222. description: Internal Server Error
  23223. schema:
  23224. $ref: '#/definitions/app.Response'
  23225. security:
  23226. - ApiKeyAuth: []
  23227. summary: 客户申请信息查询
  23228. tags:
  23229. - 风险管理v3
  23230. /Erms3/QueryUserInfos:
  23231. get:
  23232. parameters:
  23233. - description: 页码
  23234. in: query
  23235. name: page
  23236. type: integer
  23237. - description: 每页条数
  23238. in: query
  23239. name: pagesize
  23240. type: integer
  23241. - description: 客户名称,支持模糊查询
  23242. in: query
  23243. name: userName
  23244. type: string
  23245. produces:
  23246. - application/json
  23247. responses:
  23248. "200":
  23249. description: OK
  23250. schema:
  23251. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  23252. "500":
  23253. description: Internal Server Error
  23254. schema:
  23255. $ref: '#/definitions/app.Response'
  23256. security:
  23257. - ApiKeyAuth: []
  23258. summary: 客户信息查询
  23259. tags:
  23260. - 风险管理v3
  23261. /HSBY/GetHsbyMyCount:
  23262. get:
  23263. description: 说明: 不包括已完成的数量。
  23264. parameters:
  23265. - description: 资金账户列表,格式:1,2,3
  23266. in: query
  23267. name: accountIDs
  23268. required: true
  23269. type: string
  23270. produces:
  23271. - application/json
  23272. responses:
  23273. "200":
  23274. description: OK
  23275. schema:
  23276. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  23277. "500":
  23278. description: Internal Server Error
  23279. schema:
  23280. $ref: '#/definitions/app.Response'
  23281. security:
  23282. - ApiKeyAuth: []
  23283. summary: 获取我的订单与包裹数量
  23284. tags:
  23285. - 定制【海商报业】
  23286. /HSBY/QueryClientFixedADConfigs:
  23287. get:
  23288. produces:
  23289. - application/json
  23290. responses:
  23291. "200":
  23292. description: OK
  23293. schema:
  23294. $ref: '#/definitions/models.Clientfixedadconfig'
  23295. "500":
  23296. description: Internal Server Error
  23297. schema:
  23298. $ref: '#/definitions/app.Response'
  23299. security:
  23300. - ApiKeyAuth: []
  23301. summary: 获取终端固定广告配置
  23302. tags:
  23303. - 定制【海商报业】
  23304. /HSBY/QueryHsbyBuyMyTradeDetail:
  23305. get:
  23306. parameters:
  23307. - description: 页码
  23308. in: query
  23309. name: page
  23310. type: integer
  23311. - description: 每页条数
  23312. in: query
  23313. name: pagesize
  23314. type: integer
  23315. - description: 资金账户列表,格式:1,2,3
  23316. in: query
  23317. name: accountIDs
  23318. required: true
  23319. type: string
  23320. produces:
  23321. - application/json
  23322. responses:
  23323. "200":
  23324. description: OK
  23325. schema:
  23326. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  23327. "500":
  23328. description: Internal Server Error
  23329. schema:
  23330. $ref: '#/definitions/app.Response'
  23331. security:
  23332. - ApiKeyAuth: []
  23333. summary: 查询"我的订单 - 已完成"单据信息
  23334. tags:
  23335. - 定制【海商报业】
  23336. /HSBY/QueryHsbyGoodsOrderDetails:
  23337. get:
  23338. description: 说明:查询结果已按委托价格和委托时间排序
  23339. parameters:
  23340. - description: 商品ID
  23341. in: query
  23342. name: goodsID
  23343. required: true
  23344. type: integer
  23345. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  23346. in: query
  23347. name: accountIDs
  23348. type: string
  23349. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  23350. in: query
  23351. name: buyOrSell
  23352. type: integer
  23353. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  23354. in: query
  23355. name: price
  23356. type: number
  23357. - description: 档位,不传则默认为3档
  23358. in: query
  23359. name: speed
  23360. type: integer
  23361. produces:
  23362. - application/json
  23363. responses:
  23364. "200":
  23365. description: OK
  23366. schema:
  23367. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  23368. "500":
  23369. description: Internal Server Error
  23370. schema:
  23371. $ref: '#/definitions/app.Response'
  23372. security:
  23373. - ApiKeyAuth: []
  23374. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  23375. tags:
  23376. - 定制【海商报业】
  23377. /HSBY/QueryHsbyListingGoodsDetail:
  23378. get:
  23379. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  23380. parameters:
  23381. - description: 商品ID
  23382. in: query
  23383. name: goodsID
  23384. required: true
  23385. type: integer
  23386. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  23387. in: query
  23388. name: accountID
  23389. type: integer
  23390. produces:
  23391. - application/json
  23392. responses:
  23393. "200":
  23394. description: OK
  23395. schema:
  23396. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  23397. "500":
  23398. description: Internal Server Error
  23399. schema:
  23400. $ref: '#/definitions/app.Response'
  23401. security:
  23402. - ApiKeyAuth: []
  23403. summary: 查询二级市场(挂牌点选)商品信息详情
  23404. tags:
  23405. - 定制【海商报业】
  23406. /HSBY/QueryHsbyMarketGoodsDetail:
  23407. get:
  23408. parameters:
  23409. - description: 委托单号
  23410. in: query
  23411. name: orderID
  23412. required: true
  23413. type: integer
  23414. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  23415. in: query
  23416. name: accountID
  23417. type: integer
  23418. produces:
  23419. - application/json
  23420. responses:
  23421. "200":
  23422. description: OK
  23423. schema:
  23424. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  23425. "500":
  23426. description: Internal Server Error
  23427. schema:
  23428. $ref: '#/definitions/app.Response'
  23429. security:
  23430. - ApiKeyAuth: []
  23431. summary: 查询三级市场(商城)商品信息详情
  23432. tags:
  23433. - 定制【海商报业】
  23434. /HSBY/QueryHsbyMarketGoodses:
  23435. get:
  23436. parameters:
  23437. - description: 页码
  23438. in: query
  23439. name: page
  23440. type: integer
  23441. - description: 每页条数
  23442. in: query
  23443. name: pagesize
  23444. type: integer
  23445. - description: 市场ID列表,格式:1,2,3
  23446. in: query
  23447. name: marketIDs
  23448. required: true
  23449. type: string
  23450. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  23451. in: query
  23452. name: accountID
  23453. required: true
  23454. type: integer
  23455. - description: 类别ID
  23456. in: query
  23457. name: categoryID
  23458. type: integer
  23459. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  23460. in: query
  23461. name: goodsIDs
  23462. type: string
  23463. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  23464. in: query
  23465. name: couponTypeID
  23466. type: integer
  23467. produces:
  23468. - application/json
  23469. responses:
  23470. "200":
  23471. description: OK
  23472. schema:
  23473. $ref: '#/definitions/models.HsbyMarketGoods'
  23474. "500":
  23475. description: Internal Server Error
  23476. schema:
  23477. $ref: '#/definitions/app.Response'
  23478. security:
  23479. - ApiKeyAuth: []
  23480. summary: 查询特卖商品列表(三级商城)
  23481. tags:
  23482. - 定制【海商报业】
  23483. /HSBY/QueryHsbyMarkets:
  23484. get:
  23485. produces:
  23486. - application/json
  23487. responses:
  23488. "200":
  23489. description: OK
  23490. schema:
  23491. $ref: '#/definitions/models.HsbyMarketInfo'
  23492. "500":
  23493. description: Internal Server Error
  23494. schema:
  23495. $ref: '#/definitions/app.Response'
  23496. security:
  23497. - ApiKeyAuth: []
  23498. summary: 查询海商报业相关市场信息
  23499. tags:
  23500. - 定制【海商报业】
  23501. /HSBY/QueryHsbyMyBuyOrderDetails:
  23502. get:
  23503. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  23504. parameters:
  23505. - description: 资金账户列表,格式:1,2,3
  23506. in: query
  23507. name: accountIDs
  23508. required: true
  23509. type: string
  23510. produces:
  23511. - application/json
  23512. responses:
  23513. "200":
  23514. description: OK
  23515. schema:
  23516. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  23517. "500":
  23518. description: Internal Server Error
  23519. schema:
  23520. $ref: '#/definitions/app.Response'
  23521. security:
  23522. - ApiKeyAuth: []
  23523. summary: 查询“我的订单”信息
  23524. tags:
  23525. - 定制【海商报业】
  23526. /HSBY/QueryHsbyMyGoods:
  23527. get:
  23528. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  23529. parameters:
  23530. - description: 资金账户列表,格式:1,2,3
  23531. in: query
  23532. name: accountIDs
  23533. required: true
  23534. type: string
  23535. produces:
  23536. - application/json
  23537. responses:
  23538. "200":
  23539. description: OK
  23540. schema:
  23541. $ref: '#/definitions/models.HsbyMyGoods'
  23542. "500":
  23543. description: Internal Server Error
  23544. schema:
  23545. $ref: '#/definitions/app.Response'
  23546. security:
  23547. - ApiKeyAuth: []
  23548. summary: 查询“我的商品”信息
  23549. tags:
  23550. - 定制【海商报业】
  23551. /HSBY/QueryHsbyMyPackages:
  23552. get:
  23553. parameters:
  23554. - description: 资金账户列表,格式:1,2,3
  23555. in: query
  23556. name: accountIDs
  23557. required: true
  23558. type: string
  23559. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  23560. in: query
  23561. name: takeOrderStatus
  23562. type: integer
  23563. produces:
  23564. - application/json
  23565. responses:
  23566. "200":
  23567. description: OK
  23568. schema:
  23569. $ref: '#/definitions/models.HsbyMyPackage'
  23570. "500":
  23571. description: Internal Server Error
  23572. schema:
  23573. $ref: '#/definitions/app.Response'
  23574. security:
  23575. - ApiKeyAuth: []
  23576. summary: 查询我的包裹信息
  23577. tags:
  23578. - 定制【海商报业】
  23579. /HSBY/QueryHsbyPreGoodsDetail:
  23580. get:
  23581. parameters:
  23582. - description: 商品ID
  23583. in: query
  23584. name: goodsID
  23585. required: true
  23586. type: integer
  23587. - description: 资金账户,主要用于获取预售商品购买上限
  23588. in: query
  23589. name: accountID
  23590. type: integer
  23591. produces:
  23592. - application/json
  23593. responses:
  23594. "200":
  23595. description: OK
  23596. schema:
  23597. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  23598. "500":
  23599. description: Internal Server Error
  23600. schema:
  23601. $ref: '#/definitions/app.Response'
  23602. security:
  23603. - ApiKeyAuth: []
  23604. summary: 查询一级市场(预售)商品信息详情
  23605. tags:
  23606. - 定制【海商报业】
  23607. /HSBY/QueryHsbyPreGoodses:
  23608. get:
  23609. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  23610. parameters:
  23611. - description: 页码
  23612. in: query
  23613. name: page
  23614. type: integer
  23615. - description: 每页条数
  23616. in: query
  23617. name: pagesize
  23618. type: integer
  23619. - description: 市场ID列表,格式:1,2,3
  23620. in: query
  23621. name: marketIDs
  23622. required: true
  23623. type: string
  23624. - description: 目的地(省)ID
  23625. in: query
  23626. name: descProvinceID
  23627. type: integer
  23628. - description: 目的地(市)ID
  23629. in: query
  23630. name: descCityID
  23631. type: integer
  23632. produces:
  23633. - application/json
  23634. responses:
  23635. "200":
  23636. description: OK
  23637. schema:
  23638. $ref: '#/definitions/models.HsbyPreGoods'
  23639. "500":
  23640. description: Internal Server Error
  23641. schema:
  23642. $ref: '#/definitions/app.Response'
  23643. security:
  23644. - ApiKeyAuth: []
  23645. summary: 查询新品上市商品列表(一级市场预售)
  23646. tags:
  23647. - 定制【海商报业】
  23648. /HSBY/QueryHsbySellMyDetails:
  23649. get:
  23650. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  23651. parameters:
  23652. - description: 页码
  23653. in: query
  23654. name: page
  23655. type: integer
  23656. - description: 每页条数
  23657. in: query
  23658. name: pagesize
  23659. type: integer
  23660. - description: 资金账户列表,格式:1,2,3
  23661. in: query
  23662. name: accountIDs
  23663. required: true
  23664. type: string
  23665. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  23666. in: query
  23667. name: orderType
  23668. type: integer
  23669. produces:
  23670. - application/json
  23671. responses:
  23672. "200":
  23673. description: OK
  23674. schema:
  23675. $ref: '#/definitions/models.HsbySellMyDetail'
  23676. "500":
  23677. description: Internal Server Error
  23678. schema:
  23679. $ref: '#/definitions/app.Response'
  23680. security:
  23681. - ApiKeyAuth: []
  23682. summary: 查询"我的闲置"单据信息
  23683. tags:
  23684. - 定制【海商报业】
  23685. /HSBY/QueryHsbyTopGoodses:
  23686. get:
  23687. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  23688. parameters:
  23689. - description: 页码
  23690. in: query
  23691. name: page
  23692. type: integer
  23693. - description: 每页条数
  23694. in: query
  23695. name: pagesize
  23696. type: integer
  23697. - description: 市场ID列表,格式:1,2,3
  23698. in: query
  23699. name: marketIDs
  23700. required: true
  23701. type: string
  23702. - description: 目的地(省)ID
  23703. in: query
  23704. name: descProvinceID
  23705. type: integer
  23706. - description: 目的地(市)ID
  23707. in: query
  23708. name: descCityID
  23709. type: integer
  23710. produces:
  23711. - application/json
  23712. responses:
  23713. "200":
  23714. description: OK
  23715. schema:
  23716. $ref: '#/definitions/models.HsbyTopGoods'
  23717. "500":
  23718. description: Internal Server Error
  23719. schema:
  23720. $ref: '#/definitions/app.Response'
  23721. security:
  23722. - ApiKeyAuth: []
  23723. summary: 查询热卖商品列表(二级市场挂牌点选)
  23724. tags:
  23725. - 定制【海商报业】
  23726. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  23727. get:
  23728. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  23729. parameters:
  23730. - description: 商品ID
  23731. in: query
  23732. name: goodsID
  23733. required: true
  23734. type: integer
  23735. produces:
  23736. - application/json
  23737. responses:
  23738. "200":
  23739. description: OK
  23740. schema:
  23741. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  23742. "500":
  23743. description: Internal Server Error
  23744. schema:
  23745. $ref: '#/definitions/app.Response'
  23746. security:
  23747. - ApiKeyAuth: []
  23748. summary: 查询游客三级市场(商城)商品信息详情
  23749. tags:
  23750. - 定制【海商报业】
  23751. /HSBY/QueryHsbyVisitorMarketGoodses:
  23752. get:
  23753. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  23754. parameters:
  23755. - description: 页码
  23756. in: query
  23757. name: page
  23758. type: integer
  23759. - description: 每页条数
  23760. in: query
  23761. name: pagesize
  23762. type: integer
  23763. - description: 市场ID列表,格式:1,2,3
  23764. in: query
  23765. name: marketIDs
  23766. required: true
  23767. type: string
  23768. - description: 类别ID
  23769. in: query
  23770. name: categoryID
  23771. type: integer
  23772. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  23773. in: query
  23774. name: goodsIDs
  23775. type: string
  23776. produces:
  23777. - application/json
  23778. responses:
  23779. "200":
  23780. description: OK
  23781. schema:
  23782. $ref: '#/definitions/models.HsbyMarketGoods'
  23783. "500":
  23784. description: Internal Server Error
  23785. schema:
  23786. $ref: '#/definitions/app.Response'
  23787. security:
  23788. - ApiKeyAuth: []
  23789. summary: 查询游客特卖商品列表(三级商城)
  23790. tags:
  23791. - 定制【海商报业】
  23792. /HSBY/QueryMyCollectionOrders:
  23793. get:
  23794. parameters:
  23795. - description: 页码
  23796. in: query
  23797. name: page
  23798. type: integer
  23799. - description: 每页条数
  23800. in: query
  23801. name: pagesize
  23802. type: integer
  23803. - description: 资金账户,格式:1,2,3
  23804. in: query
  23805. name: accountIDs
  23806. required: true
  23807. type: string
  23808. produces:
  23809. - application/json
  23810. responses:
  23811. "200":
  23812. description: OK
  23813. schema:
  23814. $ref: '#/definitions/models.HsbySellCollectionOrder'
  23815. "500":
  23816. description: Internal Server Error
  23817. schema:
  23818. $ref: '#/definitions/app.Response'
  23819. security:
  23820. - ApiKeyAuth: []
  23821. summary: 我的闲置中收款信息查询
  23822. tags:
  23823. - 定制【海商报业】
  23824. /HSBY/QueryMyCouponHolds:
  23825. get:
  23826. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  23827. parameters:
  23828. - description: 资金账户列表,格式:1,2,3
  23829. in: query
  23830. name: accountIDs
  23831. required: true
  23832. type: string
  23833. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  23834. in: query
  23835. name: holdStatus
  23836. type: string
  23837. produces:
  23838. - application/json
  23839. responses:
  23840. "200":
  23841. description: OK
  23842. schema:
  23843. $ref: '#/definitions/models.MyCouponHold'
  23844. "500":
  23845. description: Internal Server Error
  23846. schema:
  23847. $ref: '#/definitions/app.Response'
  23848. security:
  23849. - ApiKeyAuth: []
  23850. summary: 我的优惠卷持仓查询
  23851. tags:
  23852. - 定制【海商报业】
  23853. /HSBY/QueryMyCoupons:
  23854. get:
  23855. parameters:
  23856. - description: 资金账户列表,格式:1,2,3
  23857. in: query
  23858. name: accountIDs
  23859. required: true
  23860. type: string
  23861. - description: 商品ID, 一般与sellUserID配套传入
  23862. in: query
  23863. name: goodsID
  23864. type: integer
  23865. - description: 卖方UserID
  23866. in: query
  23867. name: sellUserID
  23868. type: integer
  23869. produces:
  23870. - application/json
  23871. responses:
  23872. "200":
  23873. description: OK
  23874. schema:
  23875. $ref: '#/definitions/models.MyCoupon'
  23876. "500":
  23877. description: Internal Server Error
  23878. schema:
  23879. $ref: '#/definitions/app.Response'
  23880. security:
  23881. - ApiKeyAuth: []
  23882. summary: 我的优惠卷查询
  23883. tags:
  23884. - 定制【海商报业】
  23885. /HSBY/QueryMyPayOrders:
  23886. get:
  23887. parameters:
  23888. - description: 页码
  23889. in: query
  23890. name: page
  23891. type: integer
  23892. - description: 每页条数
  23893. in: query
  23894. name: pagesize
  23895. type: integer
  23896. - description: 资金账户列表,格式:1,2,3
  23897. in: query
  23898. name: accountIDs
  23899. required: true
  23900. type: string
  23901. - description: 买方委托单号
  23902. in: query
  23903. name: buyOrderID
  23904. type: integer
  23905. - description: 卖方委托单号
  23906. in: query
  23907. name: sellOrderID
  23908. type: integer
  23909. produces:
  23910. - application/json
  23911. responses:
  23912. "200":
  23913. description: OK
  23914. schema:
  23915. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  23916. "500":
  23917. description: Internal Server Error
  23918. schema:
  23919. $ref: '#/definitions/app.Response'
  23920. security:
  23921. - ApiKeyAuth: []
  23922. summary: 获取我的订单中待付款信息
  23923. tags:
  23924. - 定制【海商报业】
  23925. /HSBY/QueryMyUsedCoupon:
  23926. get:
  23927. parameters:
  23928. - description: 资金账户列表,格式:1,2,3
  23929. in: query
  23930. name: accountIDs
  23931. required: true
  23932. type: string
  23933. produces:
  23934. - application/json
  23935. responses:
  23936. "200":
  23937. description: OK
  23938. schema:
  23939. $ref: '#/definitions/models.MyUsedCoupon'
  23940. "500":
  23941. description: Internal Server Error
  23942. schema:
  23943. $ref: '#/definitions/app.Response'
  23944. security:
  23945. - ApiKeyAuth: []
  23946. summary: 已使用优惠卷查询
  23947. tags:
  23948. - 定制【海商报业】
  23949. /HSBY/QueryProvincesAndCities:
  23950. get:
  23951. description: 查询结果只包括二级市场商品已关连的省市信息。
  23952. parameters:
  23953. - description: 省ID
  23954. in: query
  23955. name: provinceID
  23956. type: integer
  23957. produces:
  23958. - application/json
  23959. responses:
  23960. "200":
  23961. description: OK
  23962. schema:
  23963. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  23964. "500":
  23965. description: Internal Server Error
  23966. schema:
  23967. $ref: '#/definitions/app.Response'
  23968. security:
  23969. - ApiKeyAuth: []
  23970. summary: 查询省市信息(不包括区)
  23971. tags:
  23972. - 定制【海商报业】
  23973. /HSBY/SetHsbyMyPackagesStatus:
  23974. post:
  23975. parameters:
  23976. - description: 提货单号
  23977. in: query
  23978. name: takeOrderID
  23979. required: true
  23980. type: string
  23981. - description: 资金账号
  23982. in: query
  23983. name: accountID
  23984. required: true
  23985. type: integer
  23986. produces:
  23987. - application/json
  23988. responses:
  23989. "200":
  23990. description: OK
  23991. schema:
  23992. $ref: '#/definitions/app.Response'
  23993. "500":
  23994. description: Internal Server Error
  23995. schema:
  23996. $ref: '#/definitions/app.Response'
  23997. security:
  23998. - ApiKeyAuth: []
  23999. summary: 设置我的包裹已收货状态
  24000. tags:
  24001. - 定制【海商报业】
  24002. /Market/GetAllExExchanges:
  24003. get:
  24004. produces:
  24005. - application/json
  24006. responses:
  24007. "200":
  24008. description: OK
  24009. schema:
  24010. $ref: '#/definitions/models.Goods'
  24011. "500":
  24012. description: Internal Server Error
  24013. schema:
  24014. $ref: '#/definitions/app.Response'
  24015. security:
  24016. - ApiKeyAuth: []
  24017. summary: 获取所有外部交易所信息
  24018. tags:
  24019. - 通用市场
  24020. /Market/QueryGoodsesByLoginID:
  24021. get:
  24022. parameters:
  24023. - description: 登录账号
  24024. in: query
  24025. name: loginID
  24026. required: true
  24027. type: integer
  24028. - description: 市场ID列表,格式:1,2,3
  24029. in: query
  24030. name: marketIDs
  24031. type: string
  24032. produces:
  24033. - application/json
  24034. responses:
  24035. "200":
  24036. description: OK
  24037. schema:
  24038. $ref: '#/definitions/models.Goods'
  24039. "500":
  24040. description: Internal Server Error
  24041. schema:
  24042. $ref: '#/definitions/app.Response'
  24043. security:
  24044. - ApiKeyAuth: []
  24045. summary: 获取登录账号有权限的商品信息
  24046. tags:
  24047. - 通用市场
  24048. /Market/QueryMarketRun:
  24049. get:
  24050. parameters:
  24051. - description: 市场ID,不传返回所有
  24052. in: query
  24053. name: marketID
  24054. type: integer
  24055. produces:
  24056. - application/json
  24057. responses:
  24058. "200":
  24059. description: OK
  24060. schema:
  24061. $ref: '#/definitions/models.Marketrun'
  24062. "500":
  24063. description: Internal Server Error
  24064. schema:
  24065. $ref: '#/definitions/app.Response'
  24066. security:
  24067. - ApiKeyAuth: []
  24068. summary: 查询市场运行信息
  24069. tags:
  24070. - 通用市场
  24071. /Market/QueryMarketsByLoginID:
  24072. get:
  24073. parameters:
  24074. - description: 登录账号
  24075. in: query
  24076. name: loginID
  24077. required: true
  24078. type: integer
  24079. produces:
  24080. - application/json
  24081. responses:
  24082. "200":
  24083. description: OK
  24084. schema:
  24085. $ref: '#/definitions/models.Market'
  24086. "500":
  24087. description: Internal Server Error
  24088. schema:
  24089. $ref: '#/definitions/app.Response'
  24090. security:
  24091. - ApiKeyAuth: []
  24092. summary: 获取登录账号有权限的市场信息
  24093. tags:
  24094. - 通用市场
  24095. /Order/QueryHisTradeDetail:
  24096. get:
  24097. parameters:
  24098. - description: 资金账户 - 格式:1,2,3
  24099. in: query
  24100. name: accountID
  24101. required: true
  24102. type: string
  24103. - description: 成交单号
  24104. in: query
  24105. name: tradeID
  24106. type: integer
  24107. - description: 委托单号
  24108. in: query
  24109. name: orderID
  24110. type: integer
  24111. - description: 商品ID
  24112. in: query
  24113. name: goodsID
  24114. type: integer
  24115. - description: 交易模式 - 格式:1,2,3
  24116. in: query
  24117. name: tradeMode
  24118. type: string
  24119. - description: 委托单据类型
  24120. in: query
  24121. name: buildType
  24122. type: integer
  24123. - description: 成交类别 - 格式:1,2,3
  24124. in: query
  24125. name: tradeType
  24126. type: string
  24127. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  24128. in: query
  24129. name: startDate
  24130. type: string
  24131. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  24132. in: query
  24133. name: endDate
  24134. type: string
  24135. produces:
  24136. - application/json
  24137. responses:
  24138. "200":
  24139. description: OK
  24140. schema:
  24141. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  24142. "500":
  24143. description: Internal Server Error
  24144. schema:
  24145. $ref: '#/definitions/app.Response'
  24146. security:
  24147. - ApiKeyAuth: []
  24148. summary: 历史成交单查询(合约市场)
  24149. tags:
  24150. - 通用单据
  24151. /Order/QueryHisTradeOrderDetail:
  24152. get:
  24153. parameters:
  24154. - description: 资金账户 - 格式:1,2,3
  24155. in: query
  24156. name: accountID
  24157. required: true
  24158. type: string
  24159. - description: 交易模式 - 格式:1,2,3
  24160. in: query
  24161. name: tradeMode
  24162. type: string
  24163. - description: 委托状态 - 格式:1,2,3
  24164. in: query
  24165. name: orderStatus
  24166. type: string
  24167. - description: 委托单号
  24168. in: query
  24169. name: orderID
  24170. type: integer
  24171. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  24172. in: query
  24173. name: startDate
  24174. type: string
  24175. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  24176. in: query
  24177. name: endDate
  24178. type: string
  24179. produces:
  24180. - application/json
  24181. responses:
  24182. "200":
  24183. description: OK
  24184. schema:
  24185. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  24186. "500":
  24187. description: Internal Server Error
  24188. schema:
  24189. $ref: '#/definitions/app.Response'
  24190. security:
  24191. - ApiKeyAuth: []
  24192. summary: 历史委托单查询请求(合约市场)
  24193. tags:
  24194. - 通用单据
  24195. /Order/QueryTradeDetail:
  24196. get:
  24197. parameters:
  24198. - description: 资金账户 - 格式:1,2,3
  24199. in: query
  24200. name: accountID
  24201. required: true
  24202. type: string
  24203. - description: 成交单号
  24204. in: query
  24205. name: tradeID
  24206. type: integer
  24207. - description: 委托单号
  24208. in: query
  24209. name: orderID
  24210. type: integer
  24211. - description: 交易模式 - 格式:1,2,3
  24212. in: query
  24213. name: tradeMode
  24214. type: string
  24215. - description: 委托单据类型
  24216. in: query
  24217. name: buildType
  24218. type: integer
  24219. - description: 成交类别 - 格式:1,2,3
  24220. in: query
  24221. name: tradeType
  24222. type: string
  24223. - description: 商品ID
  24224. in: query
  24225. name: goodsID
  24226. type: integer
  24227. produces:
  24228. - application/json
  24229. responses:
  24230. "200":
  24231. description: OK
  24232. schema:
  24233. $ref: '#/definitions/order.QueryTradeDetailRsp'
  24234. "500":
  24235. description: Internal Server Error
  24236. schema:
  24237. $ref: '#/definitions/app.Response'
  24238. security:
  24239. - ApiKeyAuth: []
  24240. summary: 成交单查询(合约市场)
  24241. tags:
  24242. - 通用单据
  24243. /Order/QueryTradeHolderDetail:
  24244. get:
  24245. parameters:
  24246. - description: 用户id
  24247. in: query
  24248. name: userid
  24249. type: integer
  24250. - description: 资金账号, 格式 1,2,3
  24251. in: query
  24252. name: accids
  24253. type: string
  24254. - description: 交易模式, 格式 1,2,3
  24255. in: query
  24256. name: trademodes
  24257. type: string
  24258. - description: 市场id, 格式 1,2,3
  24259. in: query
  24260. name: marketids
  24261. type: string
  24262. - description: 商品id
  24263. in: query
  24264. name: goodsid
  24265. type: integer
  24266. - description: 买卖方向 0-买 1-卖
  24267. in: query
  24268. name: buyorsell
  24269. type: integer
  24270. produces:
  24271. - application/json
  24272. responses:
  24273. "200":
  24274. description: OK
  24275. schema:
  24276. items:
  24277. $ref: '#/definitions/models.TradeHolderDetail'
  24278. type: array
  24279. "500":
  24280. description: Internal Server Error
  24281. schema:
  24282. $ref: '#/definitions/app.Response'
  24283. security:
  24284. - ApiKeyAuth: []
  24285. summary: 查询持仓明细
  24286. tags:
  24287. - 通用单据
  24288. /Order/QueryTradeOrderDetail:
  24289. get:
  24290. parameters:
  24291. - description: 资金账户 - 格式:1,2,3
  24292. in: query
  24293. name: accountID
  24294. required: true
  24295. type: string
  24296. - description: 交易模式 - 格式:1,2,3
  24297. in: query
  24298. name: tradeMode
  24299. type: string
  24300. - description: 委托状态 - 格式:1,2,3
  24301. in: query
  24302. name: orderStatus
  24303. type: string
  24304. - description: 委托单号
  24305. in: query
  24306. name: orderID
  24307. type: integer
  24308. produces:
  24309. - application/json
  24310. responses:
  24311. "200":
  24312. description: OK
  24313. schema:
  24314. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  24315. "500":
  24316. description: Internal Server Error
  24317. schema:
  24318. $ref: '#/definitions/app.Response'
  24319. security:
  24320. - ApiKeyAuth: []
  24321. summary: 委托单查询请求(合约市场)
  24322. tags:
  24323. - 通用单据
  24324. /Order/QueryTradePosition:
  24325. get:
  24326. parameters:
  24327. - description: 资金账户 - 格式:1,2,3
  24328. in: query
  24329. name: accountID
  24330. required: true
  24331. type: string
  24332. - description: 交易模式 - 格式:1,2,3
  24333. in: query
  24334. name: tradeMode
  24335. type: string
  24336. produces:
  24337. - application/json
  24338. responses:
  24339. "200":
  24340. description: OK
  24341. schema:
  24342. $ref: '#/definitions/order.QueryTradePositionRsp'
  24343. "500":
  24344. description: Internal Server Error
  24345. schema:
  24346. $ref: '#/definitions/app.Response'
  24347. security:
  24348. - ApiKeyAuth: []
  24349. summary: 持仓汇总查询(合约市场)
  24350. tags:
  24351. - 通用单据
  24352. /Qhj/QueryAccountInOutApply:
  24353. get:
  24354. parameters:
  24355. - description: 用户ID
  24356. in: query
  24357. name: userid
  24358. required: true
  24359. type: integer
  24360. - description: 申请起始日期(格式yyyymmdd)
  24361. in: query
  24362. name: begindate
  24363. type: string
  24364. - description: 申请截止日期(格式yyyymmdd)
  24365. in: query
  24366. name: enddate
  24367. type: string
  24368. - description: 模糊搜索名称
  24369. in: query
  24370. name: likename
  24371. type: string
  24372. produces:
  24373. - application/json
  24374. responses:
  24375. "200":
  24376. description: OK
  24377. schema:
  24378. items:
  24379. $ref: '#/definitions/models.QhjAccountOutInApply'
  24380. type: array
  24381. "500":
  24382. description: Internal Server Error
  24383. schema:
  24384. $ref: '#/definitions/app.Response'
  24385. security:
  24386. - ApiKeyAuth: []
  24387. summary: 查询充值提现
  24388. tags:
  24389. - 大连千海金
  24390. /Qhj/QueryAreaFinanceConfig:
  24391. get:
  24392. parameters:
  24393. - description: 机构用户ID 其他做市关系,都设置为 1
  24394. in: query
  24395. name: userid
  24396. type: integer
  24397. produces:
  24398. - application/json
  24399. responses:
  24400. "200":
  24401. description: OK
  24402. schema:
  24403. items:
  24404. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  24405. type: array
  24406. "500":
  24407. description: Internal Server Error
  24408. schema:
  24409. $ref: '#/definitions/app.Response'
  24410. security:
  24411. - ApiKeyAuth: []
  24412. summary: 查询企业配置表
  24413. tags:
  24414. - 大连千海金
  24415. /Qhj/QueryBankAccountSign:
  24416. get:
  24417. parameters:
  24418. - description: 用户ID
  24419. in: query
  24420. name: userid
  24421. required: true
  24422. type: integer
  24423. produces:
  24424. - application/json
  24425. responses:
  24426. "200":
  24427. description: OK
  24428. schema:
  24429. items:
  24430. $ref: '#/definitions/models.QhjBankAccountSign'
  24431. type: array
  24432. "500":
  24433. description: Internal Server Error
  24434. schema:
  24435. $ref: '#/definitions/app.Response'
  24436. security:
  24437. - ApiKeyAuth: []
  24438. summary: 查询签约银行信息(提现账户管理)
  24439. tags:
  24440. - 大连千海金
  24441. /Qhj/QueryBankInfo:
  24442. get:
  24443. produces:
  24444. - application/json
  24445. responses:
  24446. "200":
  24447. description: OK
  24448. schema:
  24449. items:
  24450. $ref: '#/definitions/models.QhjBankInfo'
  24451. type: array
  24452. "500":
  24453. description: Internal Server Error
  24454. schema:
  24455. $ref: '#/definitions/app.Response'
  24456. security:
  24457. - ApiKeyAuth: []
  24458. summary: 查询开户行
  24459. tags:
  24460. - 大连千海金
  24461. /Qhj/QueryBrokerApply:
  24462. get:
  24463. parameters:
  24464. - description: 所属机构ID
  24465. in: query
  24466. name: userid
  24467. type: integer
  24468. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24469. in: query
  24470. name: filterstatus
  24471. type: string
  24472. produces:
  24473. - application/json
  24474. responses:
  24475. "200":
  24476. description: OK
  24477. schema:
  24478. items:
  24479. $ref: '#/definitions/models.QhjBrokerApply'
  24480. type: array
  24481. "500":
  24482. description: Internal Server Error
  24483. schema:
  24484. $ref: '#/definitions/app.Response'
  24485. security:
  24486. - ApiKeyAuth: []
  24487. summary: 查询经纪人申请
  24488. tags:
  24489. - 大连千海金
  24490. /Qhj/QueryBrokerApplyEx:
  24491. get:
  24492. parameters:
  24493. - description: 所属机构ID
  24494. in: query
  24495. name: userid
  24496. type: integer
  24497. produces:
  24498. - application/json
  24499. responses:
  24500. "200":
  24501. description: OK
  24502. schema:
  24503. items:
  24504. $ref: '#/definitions/models.QhjBrokerApplyEx'
  24505. type: array
  24506. "500":
  24507. description: Internal Server Error
  24508. schema:
  24509. $ref: '#/definitions/app.Response'
  24510. security:
  24511. - ApiKeyAuth: []
  24512. summary: 查询经纪人信息和申请记录
  24513. tags:
  24514. - 大连千海金
  24515. /Qhj/QueryBrokerRewardLog:
  24516. get:
  24517. parameters:
  24518. - description: 用户ID
  24519. in: query
  24520. name: userid
  24521. required: true
  24522. type: integer
  24523. - description: 开始交易日(yyyymmdd)
  24524. in: query
  24525. name: begindate
  24526. type: string
  24527. - description: 结束交易日(yyyymmdd)
  24528. in: query
  24529. name: enddate
  24530. type: string
  24531. produces:
  24532. - application/json
  24533. responses:
  24534. "200":
  24535. description: OK
  24536. schema:
  24537. items:
  24538. $ref: '#/definitions/models.QhjBrokerRewardLog'
  24539. type: array
  24540. "500":
  24541. description: Internal Server Error
  24542. schema:
  24543. $ref: '#/definitions/app.Response'
  24544. security:
  24545. - ApiKeyAuth: []
  24546. summary: 查询奖励流水(我的奖励)
  24547. tags:
  24548. - 大连千海金
  24549. /Qhj/QueryContract:
  24550. get:
  24551. parameters:
  24552. - description: 用户ID
  24553. in: query
  24554. name: userid
  24555. type: integer
  24556. - description: scf合同id
  24557. in: query
  24558. name: scfcontractid
  24559. type: integer
  24560. produces:
  24561. - application/json
  24562. responses:
  24563. "200":
  24564. description: OK
  24565. schema:
  24566. items:
  24567. $ref: '#/definitions/models.QhjContract'
  24568. type: array
  24569. "500":
  24570. description: Internal Server Error
  24571. schema:
  24572. $ref: '#/definitions/app.Response'
  24573. security:
  24574. - ApiKeyAuth: []
  24575. summary: 查询融资明细(合同)
  24576. tags:
  24577. - 大连千海金
  24578. /Qhj/QueryContractLog:
  24579. get:
  24580. parameters:
  24581. - description: scf合同id
  24582. in: query
  24583. name: scfcontractid
  24584. required: true
  24585. type: integer
  24586. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  24587. in: query
  24588. name: amounttype
  24589. type: string
  24590. produces:
  24591. - application/json
  24592. responses:
  24593. "200":
  24594. description: OK
  24595. schema:
  24596. items:
  24597. $ref: '#/definitions/models.QhjContractLog'
  24598. type: array
  24599. "500":
  24600. description: Internal Server Error
  24601. schema:
  24602. $ref: '#/definitions/app.Response'
  24603. security:
  24604. - ApiKeyAuth: []
  24605. summary: 查询融资明细流水(融资明细详情页中的流水)
  24606. tags:
  24607. - 大连千海金
  24608. /Qhj/QueryCusBankSignBank:
  24609. get:
  24610. produces:
  24611. - application/json
  24612. responses:
  24613. "200":
  24614. description: OK
  24615. schema:
  24616. items:
  24617. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  24618. type: array
  24619. "500":
  24620. description: Internal Server Error
  24621. schema:
  24622. $ref: '#/definitions/app.Response'
  24623. security:
  24624. - ApiKeyAuth: []
  24625. summary: 查询托管银行
  24626. tags:
  24627. - 大连千海金
  24628. /Qhj/QueryCustomerInfo:
  24629. get:
  24630. parameters:
  24631. - description: 用户ID
  24632. in: query
  24633. name: userid
  24634. required: true
  24635. type: integer
  24636. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  24637. in: query
  24638. name: querytype
  24639. required: true
  24640. type: integer
  24641. - description: 客户类型 1-个人 2-企业
  24642. in: query
  24643. name: userinfotype
  24644. type: integer
  24645. - description: 客户名称(模糊匹配)
  24646. in: query
  24647. name: customername
  24648. type: string
  24649. - description: 昵称(模糊匹配)
  24650. in: query
  24651. name: nickname
  24652. type: string
  24653. - description: 是否包含子级 1-包含
  24654. in: query
  24655. name: includesub
  24656. type: integer
  24657. produces:
  24658. - application/json
  24659. responses:
  24660. "200":
  24661. description: OK
  24662. schema:
  24663. items:
  24664. $ref: '#/definitions/models.QhjCustomer'
  24665. type: array
  24666. "500":
  24667. description: Internal Server Error
  24668. schema:
  24669. $ref: '#/definitions/app.Response'
  24670. security:
  24671. - ApiKeyAuth: []
  24672. summary: 查询客户资料
  24673. tags:
  24674. - 大连千海金
  24675. /Qhj/QueryGoodsEx:
  24676. get:
  24677. parameters:
  24678. - description: 商品id
  24679. in: query
  24680. name: goodsid
  24681. type: integer
  24682. produces:
  24683. - application/json
  24684. responses:
  24685. "200":
  24686. description: OK
  24687. schema:
  24688. items:
  24689. $ref: '#/definitions/models.Qhjgoodsex'
  24690. type: array
  24691. "500":
  24692. description: Internal Server Error
  24693. schema:
  24694. $ref: '#/definitions/app.Response'
  24695. security:
  24696. - ApiKeyAuth: []
  24697. summary: 交易商品扩展表
  24698. tags:
  24699. - 大连千海金
  24700. /Qhj/QueryMyTeam:
  24701. get:
  24702. parameters:
  24703. - description: 用户ID
  24704. in: query
  24705. name: userid
  24706. required: true
  24707. type: integer
  24708. produces:
  24709. - application/json
  24710. responses:
  24711. "200":
  24712. description: OK
  24713. schema:
  24714. items:
  24715. $ref: '#/definitions/models.QhjMyTeamEx'
  24716. type: array
  24717. "500":
  24718. description: Internal Server Error
  24719. schema:
  24720. $ref: '#/definitions/app.Response'
  24721. security:
  24722. - ApiKeyAuth: []
  24723. summary: 查询我的团队
  24724. tags:
  24725. - 大连千海金
  24726. /Qhj/QueryMyTeamOrder:
  24727. get:
  24728. parameters:
  24729. - description: 页码
  24730. in: query
  24731. name: page
  24732. type: integer
  24733. - description: 每页条数
  24734. in: query
  24735. name: pagesize
  24736. type: integer
  24737. - description: 用户ID
  24738. in: query
  24739. name: userid
  24740. required: true
  24741. type: integer
  24742. - description: 交易模式
  24743. in: query
  24744. name: trademode
  24745. type: integer
  24746. - description: 名称(模糊搜索账户)
  24747. in: query
  24748. name: filtername
  24749. type: string
  24750. produces:
  24751. - application/json
  24752. responses:
  24753. "200":
  24754. description: OK
  24755. schema:
  24756. items:
  24757. $ref: '#/definitions/models.QhjTeamOrder'
  24758. type: array
  24759. "500":
  24760. description: Internal Server Error
  24761. schema:
  24762. $ref: '#/definitions/app.Response'
  24763. security:
  24764. - ApiKeyAuth: []
  24765. summary: 查询团队订单(我的团队/团队订单)
  24766. tags:
  24767. - 大连千海金
  24768. /Qhj/QueryParentAreaList:
  24769. get:
  24770. parameters:
  24771. - description: 用户ID
  24772. in: query
  24773. name: userid
  24774. required: true
  24775. type: integer
  24776. produces:
  24777. - application/json
  24778. responses:
  24779. "200":
  24780. description: OK
  24781. schema:
  24782. items:
  24783. $ref: '#/definitions/models.QhjParentAreaList'
  24784. type: array
  24785. "500":
  24786. description: Internal Server Error
  24787. schema:
  24788. $ref: '#/definitions/app.Response'
  24789. security:
  24790. - ApiKeyAuth: []
  24791. summary: 查询所属机构列表
  24792. tags:
  24793. - 大连千海金
  24794. /Qhj/QueryPayOrder:
  24795. get:
  24796. parameters:
  24797. - description: 资金账号id
  24798. in: query
  24799. name: accountid
  24800. required: true
  24801. type: integer
  24802. - description: 成交单号
  24803. in: query
  24804. name: tradeid
  24805. type: integer
  24806. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  24807. in: query
  24808. name: payflag
  24809. type: string
  24810. produces:
  24811. - application/json
  24812. responses:
  24813. "200":
  24814. description: OK
  24815. schema:
  24816. items:
  24817. $ref: '#/definitions/models.QhjPayOrder'
  24818. type: array
  24819. "500":
  24820. description: Internal Server Error
  24821. schema:
  24822. $ref: '#/definitions/app.Response'
  24823. security:
  24824. - ApiKeyAuth: []
  24825. summary: 查询待付款单据
  24826. tags:
  24827. - 大连千海金
  24828. /Qhj/QueryPickArea:
  24829. get:
  24830. parameters:
  24831. - description: 用户ID
  24832. in: query
  24833. name: userid
  24834. type: integer
  24835. produces:
  24836. - application/json
  24837. responses:
  24838. "200":
  24839. description: OK
  24840. schema:
  24841. items:
  24842. $ref: '#/definitions/models.QhjPickArea'
  24843. type: array
  24844. "500":
  24845. description: Internal Server Error
  24846. schema:
  24847. $ref: '#/definitions/app.Response'
  24848. security:
  24849. - ApiKeyAuth: []
  24850. summary: 查询提货门店
  24851. tags:
  24852. - 大连千海金
  24853. /Qhj/QueryPickGoods:
  24854. get:
  24855. parameters:
  24856. - description: 交易商品id
  24857. in: query
  24858. name: goodsid
  24859. required: true
  24860. type: integer
  24861. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  24862. in: query
  24863. name: status
  24864. type: string
  24865. produces:
  24866. - application/json
  24867. responses:
  24868. "200":
  24869. description: OK
  24870. schema:
  24871. items:
  24872. $ref: '#/definitions/models.QhjPickGoods'
  24873. type: array
  24874. "500":
  24875. description: Internal Server Error
  24876. schema:
  24877. $ref: '#/definitions/app.Response'
  24878. security:
  24879. - ApiKeyAuth: []
  24880. summary: 查询提货商品
  24881. tags:
  24882. - 大连千海金
  24883. /Qhj/QueryRSTriggerLog:
  24884. get:
  24885. parameters:
  24886. - description: 用户ID
  24887. in: query
  24888. name: userid
  24889. type: integer
  24890. - description: 定投策略id
  24891. in: query
  24892. name: regularlystrategyid
  24893. type: integer
  24894. - description: 商品id
  24895. in: query
  24896. name: goodsid
  24897. type: integer
  24898. - description: 开始交易日(yyyymmdd)
  24899. in: query
  24900. name: begindate
  24901. type: string
  24902. - description: 结束交易日(yyyymmdd)
  24903. in: query
  24904. name: enddate
  24905. type: string
  24906. - description: 名称(模糊搜索账户)
  24907. in: query
  24908. name: filtername
  24909. type: string
  24910. produces:
  24911. - application/json
  24912. responses:
  24913. "200":
  24914. description: OK
  24915. schema:
  24916. items:
  24917. $ref: '#/definitions/models.QhjRSTriggerLog'
  24918. type: array
  24919. "500":
  24920. description: Internal Server Error
  24921. schema:
  24922. $ref: '#/definitions/app.Response'
  24923. security:
  24924. - ApiKeyAuth: []
  24925. summary: 查询定投记录(定投管理/详情/定投记录)
  24926. tags:
  24927. - 大连千海金
  24928. /Qhj/QueryRStrategy:
  24929. get:
  24930. parameters:
  24931. - description: 用户ID
  24932. in: query
  24933. name: userid
  24934. type: integer
  24935. - description: 商品id
  24936. in: query
  24937. name: goodsid
  24938. type: integer
  24939. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  24940. in: query
  24941. name: status
  24942. type: string
  24943. - description: 名称(模糊搜索账户)
  24944. in: query
  24945. name: filtername
  24946. type: string
  24947. produces:
  24948. - application/json
  24949. responses:
  24950. "200":
  24951. description: OK
  24952. schema:
  24953. items:
  24954. $ref: '#/definitions/models.QhjRStrategy'
  24955. type: array
  24956. "500":
  24957. description: Internal Server Error
  24958. schema:
  24959. $ref: '#/definitions/app.Response'
  24960. security:
  24961. - ApiKeyAuth: []
  24962. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  24963. tags:
  24964. - 大连千海金
  24965. /Qhj/QueryReckonPriceLog:
  24966. get:
  24967. parameters:
  24968. - description: 商品ID
  24969. in: query
  24970. name: goodsid
  24971. type: integer
  24972. - description: 交易日 格式(yyyymmdd)
  24973. in: query
  24974. name: tradedate
  24975. type: string
  24976. produces:
  24977. - application/json
  24978. responses:
  24979. "200":
  24980. description: OK
  24981. schema:
  24982. items:
  24983. $ref: '#/definitions/models.QhjReckonPriceLog'
  24984. type: array
  24985. "500":
  24986. description: Internal Server Error
  24987. schema:
  24988. $ref: '#/definitions/app.Response'
  24989. security:
  24990. - ApiKeyAuth: []
  24991. summary: 查询定投价(结算价)
  24992. tags:
  24993. - 大连千海金
  24994. /Qhj/QueryScoreLog:
  24995. get:
  24996. parameters:
  24997. - description: 用户ID
  24998. in: query
  24999. name: userid
  25000. required: true
  25001. type: integer
  25002. - description: 开始交易日(yyyymmdd)
  25003. in: query
  25004. name: begindate
  25005. type: string
  25006. - description: 结束交易日(yyyymmdd)
  25007. in: query
  25008. name: enddate
  25009. type: string
  25010. - description: 最近多少条
  25011. in: query
  25012. name: lastnum
  25013. type: integer
  25014. produces:
  25015. - application/json
  25016. responses:
  25017. "200":
  25018. description: OK
  25019. schema:
  25020. items:
  25021. $ref: '#/definitions/models.QhjScoreLog'
  25022. type: array
  25023. "500":
  25024. description: Internal Server Error
  25025. schema:
  25026. $ref: '#/definitions/app.Response'
  25027. security:
  25028. - ApiKeyAuth: []
  25029. summary: 查询积分流水(我的积分)
  25030. tags:
  25031. - 大连千海金
  25032. /Qhj/QuerySiteColumnDetail:
  25033. get:
  25034. parameters:
  25035. - description: 用户ID
  25036. in: query
  25037. name: userid
  25038. required: true
  25039. type: integer
  25040. produces:
  25041. - application/json
  25042. responses:
  25043. "200":
  25044. description: OK
  25045. schema:
  25046. items:
  25047. $ref: '#/definitions/models.QhjSiteColumnDetail'
  25048. type: array
  25049. "500":
  25050. description: Internal Server Error
  25051. schema:
  25052. $ref: '#/definitions/app.Response'
  25053. security:
  25054. - ApiKeyAuth: []
  25055. summary: 查询资讯
  25056. tags:
  25057. - 大连千海金
  25058. /Qhj/QueryTradeGoodsPickup:
  25059. get:
  25060. parameters:
  25061. - description: 用户ID
  25062. in: query
  25063. name: userid
  25064. required: true
  25065. type: integer
  25066. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  25067. 7:已拒绝 8:已撤销
  25068. in: query
  25069. name: takeorderstatus
  25070. type: integer
  25071. produces:
  25072. - application/json
  25073. responses:
  25074. "200":
  25075. description: OK
  25076. schema:
  25077. items:
  25078. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  25079. type: array
  25080. "500":
  25081. description: Internal Server Error
  25082. schema:
  25083. $ref: '#/definitions/app.Response'
  25084. security:
  25085. - ApiKeyAuth: []
  25086. summary: 查询提货
  25087. tags:
  25088. - 大连千海金
  25089. /Qhj/QueryUserCollectConfig:
  25090. get:
  25091. parameters:
  25092. - description: 用户ID
  25093. in: query
  25094. name: userid
  25095. required: true
  25096. type: integer
  25097. produces:
  25098. - application/json
  25099. responses:
  25100. "200":
  25101. description: OK
  25102. schema:
  25103. items:
  25104. $ref: '#/definitions/models.UserCollectConfig'
  25105. type: array
  25106. "500":
  25107. description: Internal Server Error
  25108. schema:
  25109. $ref: '#/definitions/app.Response'
  25110. security:
  25111. - ApiKeyAuth: []
  25112. summary: 查询提现账户设置
  25113. tags:
  25114. - 大连千海金
  25115. /Qhj/QueryUserReceiveInfo:
  25116. get:
  25117. parameters:
  25118. - description: 用户ID
  25119. in: query
  25120. name: userid
  25121. required: true
  25122. type: integer
  25123. produces:
  25124. - application/json
  25125. responses:
  25126. "200":
  25127. description: OK
  25128. schema:
  25129. items:
  25130. $ref: '#/definitions/models.UserReceiveInfo'
  25131. type: array
  25132. "500":
  25133. description: Internal Server Error
  25134. schema:
  25135. $ref: '#/definitions/app.Response'
  25136. security:
  25137. - ApiKeyAuth: []
  25138. summary: 查询收货地址信息
  25139. tags:
  25140. - 大连千海金
  25141. /QhjMgr/QueryAccountInOutApply:
  25142. get:
  25143. parameters:
  25144. - description: 查询类型 1-提现(出金) 2-充值(出金)
  25145. in: query
  25146. name: querytype
  25147. required: true
  25148. type: integer
  25149. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  25150. in: query
  25151. name: applystatus
  25152. type: integer
  25153. - description: 申请起始日期(格式yyyymmdd)
  25154. in: query
  25155. name: begindate
  25156. type: string
  25157. - description: 申请截止日期(格式yyyymmdd)
  25158. in: query
  25159. name: enddate
  25160. type: string
  25161. - description: 模糊搜索名称
  25162. in: query
  25163. name: likename
  25164. type: string
  25165. produces:
  25166. - application/json
  25167. responses:
  25168. "200":
  25169. description: OK
  25170. schema:
  25171. items:
  25172. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  25173. type: array
  25174. "500":
  25175. description: Internal Server Error
  25176. schema:
  25177. $ref: '#/definitions/app.Response'
  25178. security:
  25179. - ApiKeyAuth: []
  25180. summary: 查询充值提现
  25181. tags:
  25182. - 大连千海金(PCWeb)
  25183. /QhjMgr/QueryBrokerApply:
  25184. get:
  25185. parameters:
  25186. - description: 所属机构ID
  25187. in: query
  25188. name: userid
  25189. type: integer
  25190. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  25191. in: query
  25192. name: filterstatus
  25193. type: string
  25194. - description: 名称(模糊匹配)
  25195. in: query
  25196. name: filtername
  25197. type: string
  25198. - description: 是否包含子级 1-包含
  25199. in: query
  25200. name: includesub
  25201. type: integer
  25202. produces:
  25203. - application/json
  25204. responses:
  25205. "200":
  25206. description: OK
  25207. schema:
  25208. items:
  25209. $ref: '#/definitions/models.QhjMgrBrokerApply'
  25210. type: array
  25211. "500":
  25212. description: Internal Server Error
  25213. schema:
  25214. $ref: '#/definitions/app.Response'
  25215. security:
  25216. - ApiKeyAuth: []
  25217. summary: 查询经纪人申请
  25218. tags:
  25219. - 大连千海金(PCWeb)
  25220. /QhjMgr/QueryBrokerRewardReport:
  25221. get:
  25222. parameters:
  25223. - description: 所属机构ID
  25224. in: query
  25225. name: userid
  25226. required: true
  25227. type: integer
  25228. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25229. in: query
  25230. name: cycletype
  25231. required: true
  25232. type: integer
  25233. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  25234. in: query
  25235. name: cycletime
  25236. required: true
  25237. type: string
  25238. - description: 名称(模糊匹配)
  25239. in: query
  25240. name: filtername
  25241. type: string
  25242. - description: 是否包含子级 1-包含
  25243. in: query
  25244. name: includesub
  25245. type: integer
  25246. produces:
  25247. - application/json
  25248. responses:
  25249. "200":
  25250. description: OK
  25251. schema:
  25252. items:
  25253. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  25254. type: array
  25255. "500":
  25256. description: Internal Server Error
  25257. schema:
  25258. $ref: '#/definitions/app.Response'
  25259. security:
  25260. - ApiKeyAuth: []
  25261. summary: 查询经纪人奖励报表(废弃)
  25262. tags:
  25263. - 大连千海金(PCWeb)
  25264. /QhjMgr/QueryContract:
  25265. get:
  25266. parameters:
  25267. - description: 用户ID
  25268. in: query
  25269. name: userid
  25270. type: integer
  25271. - description: 商品id
  25272. in: query
  25273. name: goodsid
  25274. type: integer
  25275. - description: 名称(模糊搜索账户)
  25276. in: query
  25277. name: filtername
  25278. type: string
  25279. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  25280. in: query
  25281. name: risklevel
  25282. type: string
  25283. - description: 开始交易日(yyyymmdd)
  25284. in: query
  25285. name: begindate
  25286. type: string
  25287. - description: 结束交易日(yyyymmdd)
  25288. in: query
  25289. name: enddate
  25290. type: string
  25291. produces:
  25292. - application/json
  25293. responses:
  25294. "200":
  25295. description: OK
  25296. schema:
  25297. items:
  25298. $ref: '#/definitions/models.QhjMgrContract'
  25299. type: array
  25300. "500":
  25301. description: Internal Server Error
  25302. schema:
  25303. $ref: '#/definitions/app.Response'
  25304. security:
  25305. - ApiKeyAuth: []
  25306. summary: 查询融资信息(合同)
  25307. tags:
  25308. - 大连千海金(PCWeb)
  25309. /QhjMgr/QueryCustomerInfo:
  25310. get:
  25311. parameters:
  25312. - description: 用户ID
  25313. in: query
  25314. name: userid
  25315. required: true
  25316. type: integer
  25317. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  25318. in: query
  25319. name: querytype
  25320. required: true
  25321. type: integer
  25322. - description: 客户类型 1-个人 2-企业
  25323. in: query
  25324. name: userinfotype
  25325. type: integer
  25326. - description: 客户名称(模糊匹配)
  25327. in: query
  25328. name: customername
  25329. type: string
  25330. - description: 昵称(模糊匹配)
  25331. in: query
  25332. name: nickname
  25333. type: string
  25334. - description: 所属客户经理(模糊匹配)
  25335. in: query
  25336. name: brokername
  25337. type: string
  25338. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd,
  25339. 如0503 -5月3日)
  25340. in: query
  25341. name: birthday
  25342. type: string
  25343. - description: 是否包含子级 1-包含
  25344. in: query
  25345. name: includesub
  25346. type: integer
  25347. produces:
  25348. - application/json
  25349. responses:
  25350. "200":
  25351. description: OK
  25352. schema:
  25353. items:
  25354. $ref: '#/definitions/models.QhjMgrCustomer'
  25355. type: array
  25356. "500":
  25357. description: Internal Server Error
  25358. schema:
  25359. $ref: '#/definitions/app.Response'
  25360. security:
  25361. - ApiKeyAuth: []
  25362. summary: 查询客户资料
  25363. tags:
  25364. - 大连千海金(PCWeb)
  25365. /QhjMgr/QueryPickGoods:
  25366. get:
  25367. parameters:
  25368. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  25369. in: query
  25370. name: status
  25371. type: string
  25372. produces:
  25373. - application/json
  25374. responses:
  25375. "200":
  25376. description: OK
  25377. schema:
  25378. items:
  25379. $ref: '#/definitions/models.QhjMgrPickGoods'
  25380. type: array
  25381. "500":
  25382. description: Internal Server Error
  25383. schema:
  25384. $ref: '#/definitions/app.Response'
  25385. security:
  25386. - ApiKeyAuth: []
  25387. summary: 查询提货商品
  25388. tags:
  25389. - 大连千海金(PCWeb)
  25390. /QhjMgr/QuerySubArea:
  25391. get:
  25392. parameters:
  25393. - description: 用户ID
  25394. in: query
  25395. name: userid
  25396. required: true
  25397. type: integer
  25398. produces:
  25399. - application/json
  25400. responses:
  25401. "200":
  25402. description: OK
  25403. schema:
  25404. items:
  25405. $ref: '#/definitions/models.QhjMgrSubArea'
  25406. type: array
  25407. "500":
  25408. description: Internal Server Error
  25409. schema:
  25410. $ref: '#/definitions/app.Response'
  25411. security:
  25412. - ApiKeyAuth: []
  25413. summary: 查询子机构列表
  25414. tags:
  25415. - 大连千海金(PCWeb)
  25416. /QhjMgr/QueryTradeDetail:
  25417. get:
  25418. parameters:
  25419. - description: 用户ID
  25420. in: query
  25421. name: userid
  25422. required: true
  25423. type: integer
  25424. - description: 用户类型 1-个人 2-企业
  25425. in: query
  25426. name: userinfotype
  25427. type: integer
  25428. - description: 交易模式
  25429. in: query
  25430. name: trademode
  25431. type: integer
  25432. - description: 商品id
  25433. in: query
  25434. name: goodsid
  25435. type: integer
  25436. - description: 名称(模糊搜索账户)
  25437. in: query
  25438. name: filtername
  25439. type: string
  25440. - description: 开始交易日(yyyymmdd)
  25441. in: query
  25442. name: begindate
  25443. type: string
  25444. - description: 结束交易日(yyyymmdd)
  25445. in: query
  25446. name: enddate
  25447. type: string
  25448. - description: 是否包含子级 1-包含
  25449. in: query
  25450. name: includesub
  25451. type: integer
  25452. produces:
  25453. - application/json
  25454. responses:
  25455. "200":
  25456. description: OK
  25457. schema:
  25458. items:
  25459. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  25460. type: array
  25461. "500":
  25462. description: Internal Server Error
  25463. schema:
  25464. $ref: '#/definitions/app.Response'
  25465. security:
  25466. - ApiKeyAuth: []
  25467. summary: 查询成交明细
  25468. tags:
  25469. - 大连千海金(PCWeb)
  25470. /QhjMgr/QueryTradeOrderDetail:
  25471. get:
  25472. parameters:
  25473. - description: 用户ID
  25474. in: query
  25475. name: userid
  25476. required: true
  25477. type: integer
  25478. - description: 用户类型 1-个人 2-企业
  25479. in: query
  25480. name: userinfotype
  25481. type: integer
  25482. - description: 交易模式
  25483. in: query
  25484. name: trademode
  25485. type: integer
  25486. - description: 商品id
  25487. in: query
  25488. name: goodsid
  25489. type: integer
  25490. - description: 名称(模糊搜索账户)
  25491. in: query
  25492. name: filtername
  25493. type: string
  25494. - description: 开始交易日(yyyymmdd)
  25495. in: query
  25496. name: begindate
  25497. type: string
  25498. - description: 结束交易日(yyyymmdd)
  25499. in: query
  25500. name: enddate
  25501. type: string
  25502. - description: 是否包含子级 1-包含
  25503. in: query
  25504. name: includesub
  25505. type: integer
  25506. produces:
  25507. - application/json
  25508. responses:
  25509. "200":
  25510. description: OK
  25511. schema:
  25512. items:
  25513. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  25514. type: array
  25515. "500":
  25516. description: Internal Server Error
  25517. schema:
  25518. $ref: '#/definitions/app.Response'
  25519. security:
  25520. - ApiKeyAuth: []
  25521. summary: 查询委托明细
  25522. tags:
  25523. - 大连千海金(PCWeb)
  25524. /QhjMgr/QueryTradePayOrder:
  25525. get:
  25526. parameters:
  25527. - description: 用户ID
  25528. in: query
  25529. name: userid
  25530. required: true
  25531. type: integer
  25532. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  25533. in: query
  25534. name: payflag
  25535. type: string
  25536. - description: 用户类型 1-个人 2-企业
  25537. in: query
  25538. name: userinfotype
  25539. type: integer
  25540. - description: 交易模式
  25541. in: query
  25542. name: trademode
  25543. type: integer
  25544. - description: 商品id
  25545. in: query
  25546. name: goodsid
  25547. type: integer
  25548. - description: 名称(模糊搜索账户)
  25549. in: query
  25550. name: filtername
  25551. type: string
  25552. - description: 开始交易日(yyyymmdd)
  25553. in: query
  25554. name: begindate
  25555. type: string
  25556. - description: 结束交易日(yyyymmdd)
  25557. in: query
  25558. name: enddate
  25559. type: string
  25560. - description: 是否包含子级 1-包含
  25561. in: query
  25562. name: includesub
  25563. type: integer
  25564. produces:
  25565. - application/json
  25566. responses:
  25567. "200":
  25568. description: OK
  25569. schema:
  25570. items:
  25571. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  25572. type: array
  25573. "500":
  25574. description: Internal Server Error
  25575. schema:
  25576. $ref: '#/definitions/app.Response'
  25577. security:
  25578. - ApiKeyAuth: []
  25579. summary: 查询待付款单
  25580. tags:
  25581. - 大连千海金(PCWeb)
  25582. /QhjMgr/QueryTradePosition:
  25583. get:
  25584. parameters:
  25585. - description: 用户ID
  25586. in: query
  25587. name: userid
  25588. required: true
  25589. type: integer
  25590. - description: 用户类型 1-个人 2-企业
  25591. in: query
  25592. name: userinfotype
  25593. type: integer
  25594. - description: 交易模式
  25595. in: query
  25596. name: trademode
  25597. type: integer
  25598. - description: 商品id
  25599. in: query
  25600. name: goodsid
  25601. type: integer
  25602. - description: 名称(模糊搜索账户)
  25603. in: query
  25604. name: filtername
  25605. type: string
  25606. - description: 是否包含子级 1-包含
  25607. in: query
  25608. name: includesub
  25609. type: integer
  25610. produces:
  25611. - application/json
  25612. responses:
  25613. "200":
  25614. description: OK
  25615. schema:
  25616. items:
  25617. $ref: '#/definitions/models.QhjMgrPositionRsp'
  25618. type: array
  25619. "500":
  25620. description: Internal Server Error
  25621. schema:
  25622. $ref: '#/definitions/app.Response'
  25623. security:
  25624. - ApiKeyAuth: []
  25625. summary: 查询持仓汇总
  25626. tags:
  25627. - 大连千海金(PCWeb)
  25628. /QhjSys/QueryAgreementChangeLog:
  25629. get:
  25630. parameters:
  25631. - description: 协议ID
  25632. in: query
  25633. name: agreementid
  25634. type: integer
  25635. - description: 协议版本号
  25636. in: query
  25637. name: agreementversion
  25638. type: integer
  25639. - description: 协议类型 - 1:注册 2:登录 3:交易
  25640. in: query
  25641. name: agreementtype
  25642. type: integer
  25643. - description: 协议编号(模糊匹配)
  25644. in: query
  25645. name: agreementno
  25646. type: string
  25647. - description: 协议名称(模糊匹配)
  25648. in: query
  25649. name: agreementname
  25650. type: string
  25651. produces:
  25652. - application/json
  25653. responses:
  25654. "200":
  25655. description: OK
  25656. schema:
  25657. items:
  25658. $ref: '#/definitions/models.QhjAgreementChangeLog'
  25659. type: array
  25660. "500":
  25661. description: Internal Server Error
  25662. schema:
  25663. $ref: '#/definitions/app.Response'
  25664. security:
  25665. - ApiKeyAuth: []
  25666. summary: 查询协议配置变更流水
  25667. tags:
  25668. - 大连千海金(协议和签约信息)
  25669. /QhjSys/QueryAgreementConfig:
  25670. get:
  25671. parameters:
  25672. - description: 协议ID
  25673. in: query
  25674. name: agreementid
  25675. type: integer
  25676. - description: 协议版本号
  25677. in: query
  25678. name: agreementversion
  25679. type: integer
  25680. - description: 协议类型 - 1:注册 2:登录 3:交易
  25681. in: query
  25682. name: agreementtype
  25683. type: integer
  25684. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  25685. in: query
  25686. name: isvalid
  25687. type: integer
  25688. - description: 协议编号(模糊匹配)
  25689. in: query
  25690. name: agreementno
  25691. type: string
  25692. - description: 协议名称(模糊匹配)
  25693. in: query
  25694. name: agreementname
  25695. type: string
  25696. produces:
  25697. - application/json
  25698. responses:
  25699. "200":
  25700. description: OK
  25701. schema:
  25702. items:
  25703. $ref: '#/definitions/models.QhjAgreementConfig'
  25704. type: array
  25705. "500":
  25706. description: Internal Server Error
  25707. schema:
  25708. $ref: '#/definitions/app.Response'
  25709. security:
  25710. - ApiKeyAuth: []
  25711. summary: 查询协议配置
  25712. tags:
  25713. - 大连千海金(协议和签约信息)
  25714. /QhjSys/QueryCustomerSignStatus:
  25715. get:
  25716. parameters:
  25717. - description: 客户ID
  25718. in: query
  25719. name: userid
  25720. type: integer
  25721. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  25722. in: query
  25723. name: nodetype
  25724. type: integer
  25725. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25726. in: query
  25727. name: goodsid
  25728. type: integer
  25729. - description: 创建交易日(yyyyMMdd)
  25730. in: query
  25731. name: tradedate
  25732. type: string
  25733. - description: 用户名称(模糊匹配)
  25734. in: query
  25735. name: username
  25736. type: string
  25737. produces:
  25738. - application/json
  25739. responses:
  25740. "200":
  25741. description: OK
  25742. schema:
  25743. items:
  25744. $ref: '#/definitions/models.QhjCustomerSignStatus'
  25745. type: array
  25746. "500":
  25747. description: Internal Server Error
  25748. schema:
  25749. $ref: '#/definitions/app.Response'
  25750. security:
  25751. - ApiKeyAuth: []
  25752. summary: 查询客户协议签约状态
  25753. tags:
  25754. - 大连千海金(协议和签约信息)
  25755. /QhjSys/QueryNodeAgreementConfig:
  25756. get:
  25757. parameters:
  25758. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  25759. in: query
  25760. name: configid
  25761. type: integer
  25762. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  25763. in: query
  25764. name: nodetype
  25765. type: integer
  25766. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25767. in: query
  25768. name: goodsid
  25769. type: integer
  25770. - description: 协议ID
  25771. in: query
  25772. name: agreementid
  25773. type: integer
  25774. - description: 协议类型 - 1:注册 2:登录 3:交易
  25775. in: query
  25776. name: agreementtype
  25777. type: integer
  25778. - description: 协议版本号
  25779. in: query
  25780. name: agreementversion
  25781. type: integer
  25782. - description: 协议编号(模糊匹配)
  25783. in: query
  25784. name: agreementno
  25785. type: string
  25786. - description: 协议名称(模糊匹配)
  25787. in: query
  25788. name: agreementname
  25789. type: string
  25790. produces:
  25791. - application/json
  25792. responses:
  25793. "200":
  25794. description: OK
  25795. schema:
  25796. items:
  25797. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  25798. type: array
  25799. "500":
  25800. description: Internal Server Error
  25801. schema:
  25802. $ref: '#/definitions/app.Response'
  25803. security:
  25804. - ApiKeyAuth: []
  25805. summary: 查询协议节点配置
  25806. tags:
  25807. - 大连千海金(协议和签约信息)
  25808. /QhjSys/QueryQhjCustomerSignLog:
  25809. get:
  25810. parameters:
  25811. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  25812. in: query
  25813. name: logid
  25814. type: integer
  25815. - description: 客户ID
  25816. in: query
  25817. name: userid
  25818. type: integer
  25819. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  25820. in: query
  25821. name: nodetype
  25822. type: integer
  25823. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25824. in: query
  25825. name: goodsid
  25826. type: integer
  25827. - description: 协议ID
  25828. in: query
  25829. name: agreementid
  25830. type: integer
  25831. - description: 用户名称(模糊匹配)
  25832. in: query
  25833. name: username
  25834. type: string
  25835. - description: 协议编号(模糊匹配)
  25836. in: query
  25837. name: agreementno
  25838. type: string
  25839. - description: 协议名称(模糊匹配)
  25840. in: query
  25841. name: agreementname
  25842. type: string
  25843. produces:
  25844. - application/json
  25845. responses:
  25846. "200":
  25847. description: OK
  25848. schema:
  25849. items:
  25850. $ref: '#/definitions/models.QhjCustomerSignLog'
  25851. type: array
  25852. "500":
  25853. description: Internal Server Error
  25854. schema:
  25855. $ref: '#/definitions/app.Response'
  25856. security:
  25857. - ApiKeyAuth: []
  25858. summary: 查询客户协议签约流水
  25859. tags:
  25860. - 大连千海金(协议和签约信息)
  25861. /QhjSys/QueryUserNodeCfgAndStatus:
  25862. get:
  25863. parameters:
  25864. - description: 客户ID
  25865. in: query
  25866. name: userid
  25867. type: integer
  25868. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  25869. in: query
  25870. name: configid
  25871. type: integer
  25872. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  25873. in: query
  25874. name: nodetype
  25875. type: string
  25876. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25877. in: query
  25878. name: goodsid
  25879. type: integer
  25880. - description: 协议ID
  25881. in: query
  25882. name: agreementid
  25883. type: integer
  25884. - description: 协议类型 - 1:注册 2:登录 3:交易
  25885. in: query
  25886. name: agreementtype
  25887. type: integer
  25888. - description: 协议版本号
  25889. in: query
  25890. name: agreementversion
  25891. type: integer
  25892. - description: 协议编号(模糊匹配)
  25893. in: query
  25894. name: agreementno
  25895. type: string
  25896. - description: 协议名称(模糊匹配)
  25897. in: query
  25898. name: agreementname
  25899. type: string
  25900. produces:
  25901. - application/json
  25902. responses:
  25903. "200":
  25904. description: OK
  25905. schema:
  25906. items:
  25907. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  25908. type: array
  25909. "500":
  25910. description: Internal Server Error
  25911. schema:
  25912. $ref: '#/definitions/app.Response'
  25913. security:
  25914. - ApiKeyAuth: []
  25915. summary: 查询用户协议节点配置和状态
  25916. tags:
  25917. - 大连千海金(协议和签约信息)
  25918. /Quote/QueryHistoryDatas:
  25919. get:
  25920. parameters:
  25921. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  25922. 日线'
  25923. in: query
  25924. name: cycleType
  25925. required: true
  25926. type: integer
  25927. - description: 商品代码
  25928. in: query
  25929. name: goodsCode
  25930. required: true
  25931. type: string
  25932. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  25933. in: query
  25934. name: startTime
  25935. type: string
  25936. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  25937. in: query
  25938. name: endTime
  25939. type: string
  25940. - description: 条数
  25941. in: query
  25942. name: count
  25943. type: integer
  25944. - description: 是否按时间顺序排序(默认为时间倒序排序)
  25945. in: query
  25946. name: isAsc
  25947. type: boolean
  25948. produces:
  25949. - application/json
  25950. responses:
  25951. "200":
  25952. description: OK
  25953. schema:
  25954. $ref: '#/definitions/quote.HistoryData'
  25955. "500":
  25956. description: Internal Server Error
  25957. schema:
  25958. $ref: '#/definitions/app.Response'
  25959. security:
  25960. - ApiKeyAuth: []
  25961. summary: 查询行情历史数据
  25962. tags:
  25963. - 行情服务
  25964. /Quote/QueryHistoryTikDatas:
  25965. get:
  25966. parameters:
  25967. - description: 商品代码
  25968. in: query
  25969. name: goodsCode
  25970. required: true
  25971. type: string
  25972. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  25973. in: query
  25974. name: startTime
  25975. type: string
  25976. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  25977. in: query
  25978. name: endTime
  25979. type: string
  25980. - description: 条数
  25981. in: query
  25982. name: count
  25983. type: integer
  25984. - description: 是否按时间顺序排序(默认为时间倒序排序)
  25985. in: query
  25986. name: isAsc
  25987. type: boolean
  25988. produces:
  25989. - application/json
  25990. responses:
  25991. "200":
  25992. description: OK
  25993. schema:
  25994. $ref: '#/definitions/quote.HistoryTikData'
  25995. "500":
  25996. description: Internal Server Error
  25997. schema:
  25998. $ref: '#/definitions/app.Response'
  25999. security:
  26000. - ApiKeyAuth: []
  26001. summary: 查询行情Tik数据
  26002. tags:
  26003. - 行情服务
  26004. /Quote/QueryQuoteDay:
  26005. get:
  26006. parameters:
  26007. - description: 此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107
  26008. in: query
  26009. name: goodsCodes
  26010. type: string
  26011. produces:
  26012. - application/json
  26013. responses:
  26014. "200":
  26015. description: OK
  26016. schema:
  26017. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  26018. "500":
  26019. description: Internal Server Error
  26020. schema:
  26021. $ref: '#/definitions/app.Response'
  26022. security:
  26023. - ApiKeyAuth: []
  26024. summary: 获取商品盘面信息
  26025. tags:
  26026. - 行情服务
  26027. /Quote/QueryTSData:
  26028. get:
  26029. parameters:
  26030. - description: 商品代码
  26031. in: query
  26032. name: goodsCode
  26033. required: true
  26034. type: string
  26035. produces:
  26036. - application/json
  26037. responses:
  26038. "200":
  26039. description: OK
  26040. schema:
  26041. $ref: '#/definitions/quote.QueryTSDataRsp'
  26042. "500":
  26043. description: Internal Server Error
  26044. schema:
  26045. $ref: '#/definitions/app.Response'
  26046. security:
  26047. - ApiKeyAuth: []
  26048. summary: 分时图数据查询
  26049. tags:
  26050. - 行情服务
  26051. /SZDZ/QueryConvertConfig:
  26052. get:
  26053. parameters:
  26054. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  26055. 6:交易转花生米(不设置)
  26056. in: query
  26057. name: convertType
  26058. type: integer
  26059. - description: 外部商品代码[JD\PD]
  26060. in: query
  26061. name: outerGoodsCode
  26062. type: string
  26063. - description: 内部商品ID列表[交易],格式:1,2,3
  26064. in: query
  26065. name: innerGoodsIDs
  26066. type: string
  26067. produces:
  26068. - application/json
  26069. responses:
  26070. "200":
  26071. description: OK
  26072. schema:
  26073. $ref: '#/definitions/models.Szdz3convertconfig'
  26074. "500":
  26075. description: Internal Server Error
  26076. schema:
  26077. $ref: '#/definitions/app.Response'
  26078. security:
  26079. - ApiKeyAuth: []
  26080. summary: 查询交易系统转换设置
  26081. tags:
  26082. - 定制【尚志大宗】
  26083. /SZDZ/QueryConvertLog:
  26084. get:
  26085. parameters:
  26086. - description: 资金账户 - 格式:1,2,3
  26087. in: query
  26088. name: accountID
  26089. required: true
  26090. type: string
  26091. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  26092. in: query
  26093. name: startDate
  26094. type: string
  26095. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  26096. in: query
  26097. name: endDate
  26098. type: string
  26099. produces:
  26100. - application/json
  26101. responses:
  26102. "200":
  26103. description: OK
  26104. schema:
  26105. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  26106. "500":
  26107. description: Internal Server Error
  26108. schema:
  26109. $ref: '#/definitions/app.Response'
  26110. security:
  26111. - ApiKeyAuth: []
  26112. summary: 交易系统转换流水查询
  26113. tags:
  26114. - 定制【尚志大宗】
  26115. /SZDZ/QueryGoodsPickup:
  26116. get:
  26117. parameters:
  26118. - description: 资金账户 - 格式:1,2,3
  26119. in: query
  26120. name: accountID
  26121. required: true
  26122. type: string
  26123. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  26124. in: query
  26125. name: takeOrderStatus
  26126. type: integer
  26127. produces:
  26128. - application/json
  26129. responses:
  26130. "200":
  26131. description: OK
  26132. schema:
  26133. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  26134. "500":
  26135. description: Internal Server Error
  26136. schema:
  26137. $ref: '#/definitions/app.Response'
  26138. security:
  26139. - ApiKeyAuth: []
  26140. summary: 商品提货单查询
  26141. tags:
  26142. - 定制【尚志大宗】
  26143. /SZDZ/QueryRecieptOrder:
  26144. get:
  26145. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  26146. parameters:
  26147. - description: 页码
  26148. in: query
  26149. name: page
  26150. type: integer
  26151. - description: 每页条数
  26152. in: query
  26153. name: pagesize
  26154. type: integer
  26155. - description: 商品ID
  26156. in: query
  26157. name: goodsID
  26158. required: true
  26159. type: integer
  26160. - description: 所属账户名称
  26161. in: query
  26162. name: accountName
  26163. type: string
  26164. - description: 市场ID
  26165. in: query
  26166. name: marketID
  26167. type: integer
  26168. - description: 方向 - 0:买 1:卖
  26169. in: query
  26170. name: buyorsell
  26171. required: true
  26172. type: integer
  26173. produces:
  26174. - application/json
  26175. responses:
  26176. "200":
  26177. description: OK
  26178. schema:
  26179. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  26180. "500":
  26181. description: Internal Server Error
  26182. schema:
  26183. $ref: '#/definitions/app.Response'
  26184. security:
  26185. - ApiKeyAuth: []
  26186. summary: 点选挂牌委托单据查询(摘牌大厅)
  26187. tags:
  26188. - 定制【尚志大宗】
  26189. /SZDZ/QuerySZDZTradePosition:
  26190. get:
  26191. parameters:
  26192. - description: 资金账户
  26193. in: query
  26194. name: accountID
  26195. required: true
  26196. type: integer
  26197. produces:
  26198. - application/json
  26199. responses:
  26200. "200":
  26201. description: OK
  26202. schema:
  26203. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  26204. "500":
  26205. description: Internal Server Error
  26206. schema:
  26207. $ref: '#/definitions/app.Response'
  26208. security:
  26209. - ApiKeyAuth: []
  26210. summary: 持仓汇总查询(尚志大宗)
  26211. tags:
  26212. - 定制【尚志大宗】
  26213. /SZDZ/SearchWhite:
  26214. get:
  26215. parameters:
  26216. - description: 用户ID
  26217. in: query
  26218. name: userID
  26219. required: true
  26220. type: integer
  26221. produces:
  26222. - application/json
  26223. responses:
  26224. "200":
  26225. description: OK
  26226. schema:
  26227. $ref: '#/definitions/models.Szdz3searchwhitelist'
  26228. "500":
  26229. description: Internal Server Error
  26230. schema:
  26231. $ref: '#/definitions/app.Response'
  26232. security:
  26233. - ApiKeyAuth: []
  26234. summary: 搜索白名单
  26235. tags:
  26236. - 定制【尚志大宗】
  26237. /Search/SearchGoodses:
  26238. get:
  26239. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  26240. parameters:
  26241. - description: 检索内容
  26242. in: query
  26243. name: content
  26244. required: true
  26245. type: string
  26246. - description: 交易模式,格式:1,2,3
  26247. in: query
  26248. name: tradeModes
  26249. type: string
  26250. produces:
  26251. - application/json
  26252. responses:
  26253. "200":
  26254. description: OK
  26255. schema:
  26256. $ref: '#/definitions/models.SearchGoods'
  26257. "500":
  26258. description: Internal Server Error
  26259. schema:
  26260. $ref: '#/definitions/app.Response'
  26261. summary: 检索商品信息
  26262. tags:
  26263. - 检索服务
  26264. /TaAccount/GetTaAccounts:
  26265. get:
  26266. parameters:
  26267. - description: 登录账户
  26268. in: query
  26269. name: loginID
  26270. required: true
  26271. type: integer
  26272. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  26273. in: query
  26274. name: taAccountType
  26275. type: integer
  26276. produces:
  26277. - application/json
  26278. responses:
  26279. "200":
  26280. description: OK
  26281. schema:
  26282. $ref: '#/definitions/models.Taaccount'
  26283. "500":
  26284. description: Internal Server Error
  26285. schema:
  26286. $ref: '#/definitions/app.Response'
  26287. security:
  26288. - ApiKeyAuth: []
  26289. summary: 获取资金账户信息
  26290. tags:
  26291. - 资金账户
  26292. /TaAccount/QueryAmountLog:
  26293. get:
  26294. parameters:
  26295. - description: 页码
  26296. in: query
  26297. name: page
  26298. type: integer
  26299. - description: 每页条数
  26300. in: query
  26301. name: pagesize
  26302. type: integer
  26303. - description: 资金账户 - 格式:1,2,3
  26304. in: query
  26305. name: accountID
  26306. required: true
  26307. type: string
  26308. - description: 资金操作类型 - 格式:1,2,3
  26309. in: query
  26310. name: OperateType
  26311. type: string
  26312. produces:
  26313. - application/json
  26314. responses:
  26315. "200":
  26316. description: OK
  26317. schema:
  26318. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  26319. "500":
  26320. description: Internal Server Error
  26321. schema:
  26322. $ref: '#/definitions/app.Response'
  26323. security:
  26324. - ApiKeyAuth: []
  26325. summary: 资金流水查询(当前)
  26326. tags:
  26327. - 资金账户
  26328. /TaAccount/QueryHisAmountLog:
  26329. get:
  26330. parameters:
  26331. - description: 页码
  26332. in: query
  26333. name: page
  26334. type: integer
  26335. - description: 每页条数
  26336. in: query
  26337. name: pagesize
  26338. type: integer
  26339. - description: 资金账户 - 格式:1,2,3
  26340. in: query
  26341. name: accountID
  26342. required: true
  26343. type: string
  26344. - description: 资金操作类型 - 格式:1,2,3
  26345. in: query
  26346. name: OperateType
  26347. type: string
  26348. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  26349. in: query
  26350. name: startDate
  26351. type: string
  26352. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  26353. in: query
  26354. name: endDate
  26355. type: string
  26356. produces:
  26357. - application/json
  26358. responses:
  26359. "200":
  26360. description: OK
  26361. schema:
  26362. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  26363. "500":
  26364. description: Internal Server Error
  26365. schema:
  26366. $ref: '#/definitions/app.Response'
  26367. security:
  26368. - ApiKeyAuth: []
  26369. summary: 资金流水查询(历史)
  26370. tags:
  26371. - 资金账户
  26372. /Tjmd/QueryQuoteGoodsList:
  26373. get:
  26374. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  26375. parameters:
  26376. - description: 用户类型
  26377. in: query
  26378. name: usertype
  26379. required: true
  26380. type: integer
  26381. - description: 市场id, 格式 1,2,3
  26382. in: query
  26383. name: marketids
  26384. type: string
  26385. - description: 商品组id
  26386. in: query
  26387. name: goodsgroupid
  26388. type: integer
  26389. - description: 商品id
  26390. in: query
  26391. name: goodsid
  26392. type: integer
  26393. produces:
  26394. - application/json
  26395. responses:
  26396. "200":
  26397. description: OK
  26398. schema:
  26399. items:
  26400. $ref: '#/definitions/models.TjmdQuoteGoods'
  26401. type: array
  26402. "500":
  26403. description: Internal Server Error
  26404. schema:
  26405. $ref: '#/definitions/app.Response'
  26406. security:
  26407. - ApiKeyAuth: []
  26408. summary: 查询掉期报价列表
  26409. tags:
  26410. - 天津麦顿
  26411. /Tjmd/QueryTjmdMarketSection:
  26412. get:
  26413. produces:
  26414. - application/json
  26415. responses:
  26416. "200":
  26417. description: OK
  26418. schema:
  26419. items:
  26420. $ref: '#/definitions/models.TjmdMarketSection'
  26421. type: array
  26422. "500":
  26423. description: Internal Server Error
  26424. schema:
  26425. $ref: '#/definitions/app.Response'
  26426. security:
  26427. - ApiKeyAuth: []
  26428. summary: 查询市场板块
  26429. tags:
  26430. - 天津麦顿
  26431. /Tjmd/QueryTjmdTodayAccountMargin:
  26432. get:
  26433. parameters:
  26434. - description: 市场id
  26435. in: query
  26436. name: marketid
  26437. type: string
  26438. - description: 商品id
  26439. in: query
  26440. name: goodsid
  26441. type: string
  26442. - description: 资金账号
  26443. in: query
  26444. name: accountid
  26445. type: string
  26446. produces:
  26447. - application/json
  26448. responses:
  26449. "200":
  26450. description: OK
  26451. schema:
  26452. items:
  26453. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  26454. type: array
  26455. "500":
  26456. description: Internal Server Error
  26457. schema:
  26458. $ref: '#/definitions/app.Response'
  26459. security:
  26460. - ApiKeyAuth: []
  26461. summary: 查询今日账户保证金配置
  26462. tags:
  26463. - 天津麦顿
  26464. /Tjmd/QueryTjmdTradeOrderDetail:
  26465. get:
  26466. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  26467. parameters:
  26468. - description: 页码
  26469. in: query
  26470. name: page
  26471. type: integer
  26472. - description: 每页条数
  26473. in: query
  26474. name: pagesize
  26475. type: integer
  26476. - description: 用户id
  26477. in: query
  26478. name: userid
  26479. required: true
  26480. type: integer
  26481. - description: 用户类型
  26482. in: query
  26483. name: usertype
  26484. required: true
  26485. type: integer
  26486. - description: 市场id, 格式 1,2,3
  26487. in: query
  26488. name: marketids
  26489. type: string
  26490. - description: 商品id
  26491. in: query
  26492. name: goodsid
  26493. required: true
  26494. type: integer
  26495. - description: 买卖方向 0-买 1-卖
  26496. in: query
  26497. name: buyorsell
  26498. required: true
  26499. type: integer
  26500. produces:
  26501. - application/json
  26502. responses:
  26503. "200":
  26504. description: OK
  26505. schema:
  26506. items:
  26507. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  26508. type: array
  26509. "500":
  26510. description: Internal Server Error
  26511. schema:
  26512. $ref: '#/definitions/app.Response'
  26513. security:
  26514. - ApiKeyAuth: []
  26515. summary: 查询掉期买卖大厅
  26516. tags:
  26517. - 天津麦顿
  26518. /Tjmd/QueryTjmdTransferApply:
  26519. get:
  26520. parameters:
  26521. - description: 类型 1-我的申请 2-对方申请
  26522. in: query
  26523. name: applytype
  26524. required: true
  26525. type: integer
  26526. - description: 市场id, 格式 1,2,3
  26527. in: query
  26528. name: marketids
  26529. type: string
  26530. - description: 资金账号, 格式 25000000001,25000000003
  26531. in: query
  26532. name: accountids
  26533. type: string
  26534. - description: 开始交易日(yyyymmdd)
  26535. in: query
  26536. name: begindate
  26537. type: string
  26538. - description: 结束交易日(yyyymmdd)
  26539. in: query
  26540. name: enddate
  26541. type: string
  26542. produces:
  26543. - application/json
  26544. responses:
  26545. "200":
  26546. description: OK
  26547. schema:
  26548. items:
  26549. $ref: '#/definitions/models.TjmdTransferApply'
  26550. type: array
  26551. "500":
  26552. description: Internal Server Error
  26553. schema:
  26554. $ref: '#/definitions/app.Response'
  26555. security:
  26556. - ApiKeyAuth: []
  26557. summary: 查询掉期协议单
  26558. tags:
  26559. - 天津麦顿
  26560. /Trade/QueryRecieptOrder:
  26561. get:
  26562. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  26563. parameters:
  26564. - description: 页码
  26565. in: query
  26566. name: page
  26567. type: integer
  26568. - description: 每页条数
  26569. in: query
  26570. name: pagesize
  26571. type: integer
  26572. - description: 商品ID
  26573. in: query
  26574. name: goodsID
  26575. required: true
  26576. type: integer
  26577. - description: 所属账户名称
  26578. in: query
  26579. name: accountName
  26580. type: string
  26581. - description: 市场ID
  26582. in: query
  26583. name: marketID
  26584. type: integer
  26585. - description: 方向 - 0:买 1:卖
  26586. in: query
  26587. name: buyorsell
  26588. required: true
  26589. type: integer
  26590. produces:
  26591. - application/json
  26592. responses:
  26593. "200":
  26594. description: OK
  26595. schema:
  26596. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  26597. "500":
  26598. description: Internal Server Error
  26599. schema:
  26600. $ref: '#/definitions/app.Response'
  26601. security:
  26602. - ApiKeyAuth: []
  26603. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  26604. tags:
  26605. - 通用交易
  26606. /User/AddMessageBoard:
  26607. post:
  26608. parameters:
  26609. - description: 用户ID
  26610. in: query
  26611. name: userID
  26612. required: true
  26613. type: integer
  26614. - description: 留言信息
  26615. in: query
  26616. name: message
  26617. required: true
  26618. type: string
  26619. - description: 联系电话
  26620. in: query
  26621. name: contactNum
  26622. required: true
  26623. type: string
  26624. produces:
  26625. - application/json
  26626. responses:
  26627. "200":
  26628. description: OK
  26629. schema:
  26630. $ref: '#/definitions/app.Response'
  26631. "500":
  26632. description: Internal Server Error
  26633. schema:
  26634. $ref: '#/definitions/app.Response'
  26635. security:
  26636. - ApiKeyAuth: []
  26637. summary: 添加用户留言板信息
  26638. tags:
  26639. - 用户信息
  26640. /User/AddUserFavoriteGoods:
  26641. post:
  26642. parameters:
  26643. - description: 用户ID
  26644. in: query
  26645. name: userID
  26646. required: true
  26647. type: integer
  26648. - description: 商品ID
  26649. in: query
  26650. name: goodsID
  26651. required: true
  26652. type: integer
  26653. produces:
  26654. - application/json
  26655. responses:
  26656. "200":
  26657. description: OK
  26658. schema:
  26659. $ref: '#/definitions/app.Response'
  26660. "500":
  26661. description: Internal Server Error
  26662. schema:
  26663. $ref: '#/definitions/app.Response'
  26664. security:
  26665. - ApiKeyAuth: []
  26666. summary: 添加用户商品收藏信息
  26667. tags:
  26668. - 用户信息
  26669. /User/GetLoginID:
  26670. get:
  26671. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  26672. parameters:
  26673. - description: 登录代码
  26674. in: query
  26675. name: username
  26676. required: true
  26677. type: string
  26678. produces:
  26679. - application/json
  26680. responses:
  26681. "200":
  26682. description: OK
  26683. schema:
  26684. $ref: '#/definitions/app.Response'
  26685. "500":
  26686. description: Internal Server Error
  26687. schema:
  26688. $ref: '#/definitions/app.Response'
  26689. summary: 获取登录ID
  26690. tags:
  26691. - 用户信息
  26692. /User/GetUserAccount:
  26693. get:
  26694. parameters:
  26695. - description: 用户ID
  26696. in: query
  26697. name: userID
  26698. required: true
  26699. type: integer
  26700. produces:
  26701. - application/json
  26702. responses:
  26703. "200":
  26704. description: OK
  26705. schema:
  26706. $ref: '#/definitions/models.Useraccount'
  26707. "500":
  26708. description: Internal Server Error
  26709. schema:
  26710. $ref: '#/definitions/app.Response'
  26711. security:
  26712. - ApiKeyAuth: []
  26713. summary: 获取用户账号信息
  26714. tags:
  26715. - 用户信息
  26716. /User/GetUserAuthStatus:
  26717. get:
  26718. parameters:
  26719. - description: 用户ID
  26720. in: query
  26721. name: userID
  26722. required: true
  26723. type: integer
  26724. produces:
  26725. - application/json
  26726. responses:
  26727. "200":
  26728. description: OK
  26729. schema:
  26730. $ref: '#/definitions/app.Response'
  26731. "500":
  26732. description: Internal Server Error
  26733. schema:
  26734. $ref: '#/definitions/app.Response'
  26735. security:
  26736. - ApiKeyAuth: []
  26737. summary: 获取用户实名认证状态
  26738. tags:
  26739. - 用户信息
  26740. /User/LoginQuery:
  26741. get:
  26742. parameters:
  26743. - description: 登录账号
  26744. in: query
  26745. name: loginID
  26746. required: true
  26747. type: integer
  26748. produces:
  26749. - application/json
  26750. responses:
  26751. "200":
  26752. description: OK
  26753. schema:
  26754. $ref: '#/definitions/user.LoginQueryRsp'
  26755. "500":
  26756. description: Internal Server Error
  26757. schema:
  26758. $ref: '#/definitions/app.Response'
  26759. security:
  26760. - ApiKeyAuth: []
  26761. summary: 账户登录后信息查询
  26762. tags:
  26763. - 用户信息
  26764. /User/QueryMessageBoard:
  26765. get:
  26766. parameters:
  26767. - description: 用户ID
  26768. in: query
  26769. name: userID
  26770. required: true
  26771. type: integer
  26772. produces:
  26773. - application/json
  26774. responses:
  26775. "200":
  26776. description: OK
  26777. schema:
  26778. $ref: '#/definitions/models.Messageboard'
  26779. "500":
  26780. description: Internal Server Error
  26781. schema:
  26782. $ref: '#/definitions/app.Response'
  26783. security:
  26784. - ApiKeyAuth: []
  26785. summary: 获取用户留言板信息
  26786. tags:
  26787. - 用户信息
  26788. /User/QueryUserFavoriteGoodses:
  26789. get:
  26790. parameters:
  26791. - description: 用户ID
  26792. in: query
  26793. name: userID
  26794. required: true
  26795. type: integer
  26796. produces:
  26797. - application/json
  26798. responses:
  26799. "200":
  26800. description: OK
  26801. schema:
  26802. $ref: '#/definitions/models.Userfavoritegoods'
  26803. "500":
  26804. description: Internal Server Error
  26805. schema:
  26806. $ref: '#/definitions/app.Response'
  26807. security:
  26808. - ApiKeyAuth: []
  26809. summary: 获取用户商品收藏信息
  26810. tags:
  26811. - 用户信息
  26812. /User/QueryUserInfo:
  26813. get:
  26814. parameters:
  26815. - description: 用户ID
  26816. in: query
  26817. name: userID
  26818. required: true
  26819. type: integer
  26820. - description: 是否解密
  26821. in: query
  26822. name: isDecrypt
  26823. type: boolean
  26824. produces:
  26825. - application/json
  26826. responses:
  26827. "200":
  26828. description: OK
  26829. schema:
  26830. $ref: '#/definitions/models.Userinfo'
  26831. "500":
  26832. description: Internal Server Error
  26833. schema:
  26834. $ref: '#/definitions/app.Response'
  26835. security:
  26836. - ApiKeyAuth: []
  26837. summary: 获取用户信息
  26838. tags:
  26839. - 用户信息
  26840. /User/QueryUserReferNum:
  26841. get:
  26842. parameters:
  26843. - description: 用户ID
  26844. in: query
  26845. name: userID
  26846. required: true
  26847. type: integer
  26848. produces:
  26849. - application/json
  26850. responses:
  26851. "200":
  26852. description: OK
  26853. schema:
  26854. $ref: '#/definitions/app.Response'
  26855. "500":
  26856. description: Internal Server Error
  26857. schema:
  26858. $ref: '#/definitions/app.Response'
  26859. summary: 获取用户邀请码
  26860. tags:
  26861. - 用户信息
  26862. /User/RemoveUserFavoriteGoods:
  26863. post:
  26864. parameters:
  26865. - description: 用户ID
  26866. in: query
  26867. name: userID
  26868. required: true
  26869. type: integer
  26870. - description: 商品ID
  26871. in: query
  26872. name: goodsID
  26873. required: true
  26874. type: integer
  26875. produces:
  26876. - application/json
  26877. responses:
  26878. "200":
  26879. description: OK
  26880. schema:
  26881. $ref: '#/definitions/app.Response'
  26882. "500":
  26883. description: Internal Server Error
  26884. schema:
  26885. $ref: '#/definitions/app.Response'
  26886. security:
  26887. - ApiKeyAuth: []
  26888. summary: 移除用户商品收藏信息
  26889. tags:
  26890. - 用户信息
  26891. /User/UpdateUserAccountStatus:
  26892. post:
  26893. parameters:
  26894. - description: 用户ID
  26895. in: query
  26896. name: userID
  26897. required: true
  26898. type: integer
  26899. - description: 账户状态 - 4:正常 6:注销(停用)
  26900. in: query
  26901. name: accountStatus
  26902. required: true
  26903. type: integer
  26904. produces:
  26905. - application/json
  26906. responses:
  26907. "200":
  26908. description: OK
  26909. schema:
  26910. $ref: '#/definitions/app.Response'
  26911. "500":
  26912. description: Internal Server Error
  26913. schema:
  26914. $ref: '#/definitions/app.Response'
  26915. security:
  26916. - ApiKeyAuth: []
  26917. summary: 更新用户状态
  26918. tags:
  26919. - 用户信息
  26920. /WRTrade/GetAllDeliveryGoods:
  26921. get:
  26922. produces:
  26923. - application/json
  26924. - application/json
  26925. responses:
  26926. "200":
  26927. description: OK
  26928. schema:
  26929. $ref: '#/definitions/app.Response'
  26930. "500":
  26931. description: Internal Server Error
  26932. schema:
  26933. $ref: '#/definitions/app.Response'
  26934. security:
  26935. - ApiKeyAuth: []
  26936. - ApiKeyAuth: []
  26937. summary: 获取带仓单分类的种类信息
  26938. tags:
  26939. - 仓单贸易
  26940. - 仓单贸易
  26941. /WrTrade2/QueryDeliveryGoodsSection:
  26942. get:
  26943. produces:
  26944. - application/json
  26945. responses:
  26946. "200":
  26947. description: OK
  26948. schema:
  26949. items:
  26950. $ref: '#/definitions/models.WrDeliveryGoodsSection'
  26951. type: array
  26952. "500":
  26953. description: Internal Server Error
  26954. schema:
  26955. $ref: '#/definitions/app.Response'
  26956. security:
  26957. - ApiKeyAuth: []
  26958. summary: 查询板块(分类)
  26959. tags:
  26960. - 仓单贸易v2
  26961. /WrTrade2/QueryFaProductDetail:
  26962. get:
  26963. description: 页面 买卖大厅 -> 选择融资方案
  26964. parameters:
  26965. - description: 仓单要素id
  26966. in: query
  26967. name: wrfactortypeid
  26968. required: true
  26969. type: integer
  26970. produces:
  26971. - application/json
  26972. responses:
  26973. "200":
  26974. description: OK
  26975. schema:
  26976. items:
  26977. $ref: '#/definitions/models.WrFAProductDetail'
  26978. type: array
  26979. "500":
  26980. description: Internal Server Error
  26981. schema:
  26982. $ref: '#/definitions/app.Response'
  26983. security:
  26984. - ApiKeyAuth: []
  26985. summary: 查询融资产品列表
  26986. tags:
  26987. - 仓单贸易v2
  26988. /WrTrade2/QueryFilterItem:
  26989. get:
  26990. parameters:
  26991. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  26992. in: query
  26993. name: itype
  26994. required: true
  26995. type: string
  26996. produces:
  26997. - application/json
  26998. responses:
  26999. "200":
  27000. description: OK
  27001. schema:
  27002. items:
  27003. $ref: '#/definitions/models.WrFilterItem'
  27004. type: array
  27005. "500":
  27006. description: Internal Server Error
  27007. schema:
  27008. $ref: '#/definitions/app.Response'
  27009. security:
  27010. - ApiKeyAuth: []
  27011. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  27012. tags:
  27013. - 仓单贸易v2
  27014. /WrTrade2/QueryFtDeliveryGoods:
  27015. get:
  27016. produces:
  27017. - application/json
  27018. responses:
  27019. "200":
  27020. description: OK
  27021. schema:
  27022. items:
  27023. $ref: '#/definitions/models.WrFtDeliveryGoods'
  27024. type: array
  27025. "500":
  27026. description: Internal Server Error
  27027. schema:
  27028. $ref: '#/definitions/app.Response'
  27029. security:
  27030. - ApiKeyAuth: []
  27031. summary: 查询品种品类筛选框列表
  27032. tags:
  27033. - 仓单贸易v2
  27034. /WrTrade2/QueryHoldLB:
  27035. get:
  27036. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  27037. parameters:
  27038. - description: 资金账号
  27039. in: query
  27040. name: accountid
  27041. required: true
  27042. type: integer
  27043. - description: 仓库id
  27044. in: query
  27045. name: warehouseid
  27046. type: integer
  27047. - description: 品种id
  27048. in: query
  27049. name: deliverygoodsid
  27050. type: integer
  27051. - description: 品类id
  27052. in: query
  27053. name: wrstandardid
  27054. type: integer
  27055. - description: 仓单要素id
  27056. in: query
  27057. name: wrfactortypeid
  27058. type: integer
  27059. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  27060. in: query
  27061. name: dgitemname
  27062. type: string
  27063. produces:
  27064. - application/json
  27065. responses:
  27066. "200":
  27067. description: OK
  27068. schema:
  27069. items:
  27070. $ref: '#/definitions/models.WrHoldLB'
  27071. type: array
  27072. "500":
  27073. description: Internal Server Error
  27074. schema:
  27075. $ref: '#/definitions/app.Response'
  27076. security:
  27077. - ApiKeyAuth: []
  27078. summary: 查询仓单持有记录
  27079. tags:
  27080. - 仓单贸易v2
  27081. /WrTrade2/QueryOrderQuote:
  27082. get:
  27083. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  27084. 唯一确定1条记录
  27085. parameters:
  27086. - description: 页码
  27087. in: query
  27088. name: page
  27089. type: integer
  27090. - description: 每页条数
  27091. in: query
  27092. name: pagesize
  27093. type: integer
  27094. - description: 仓单贸易市场id
  27095. in: query
  27096. name: marketid
  27097. type: integer
  27098. - description: 价格方式 - 1:固定价 2-浮动价
  27099. in: query
  27100. name: wrpricetype
  27101. required: true
  27102. type: integer
  27103. - description: 0:仓单预售 1:仓单贸易
  27104. in: query
  27105. name: haswr
  27106. type: integer
  27107. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  27108. in: query
  27109. name: dgitemname
  27110. type: string
  27111. - description: 仓库id(筛选条件)
  27112. in: query
  27113. name: warehouseid
  27114. type: integer
  27115. - description: 品种id
  27116. in: query
  27117. name: deliverygoodsid
  27118. type: integer
  27119. - description: 品类id
  27120. in: query
  27121. name: wrstandardid
  27122. type: integer
  27123. - description: 仓单要素id
  27124. in: query
  27125. name: wrfactortypeid
  27126. type: integer
  27127. - description: 交收月(yyyy-mm) 仓单预售填写
  27128. in: query
  27129. name: deliverymonth
  27130. type: string
  27131. produces:
  27132. - application/json
  27133. responses:
  27134. "200":
  27135. description: OK
  27136. schema:
  27137. items:
  27138. $ref: '#/definitions/models.WrOrderQuote'
  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/QueryOrderQuoteDetail:
  27150. get:
  27151. parameters:
  27152. - description: 页码
  27153. in: query
  27154. name: page
  27155. type: integer
  27156. - description: 每页条数
  27157. in: query
  27158. name: pagesize
  27159. type: integer
  27160. - description: 仓单贸易市场id
  27161. in: query
  27162. name: marketid
  27163. type: integer
  27164. - description: 价格方式 - 1:固定价 2-浮动价
  27165. in: query
  27166. name: wrpricetype
  27167. required: true
  27168. type: integer
  27169. - description: 0:仓单预售 1:仓单贸易
  27170. in: query
  27171. name: haswr
  27172. type: integer
  27173. - description: 仓单要素id
  27174. in: query
  27175. name: wrfactortypeid
  27176. required: true
  27177. type: integer
  27178. - description: 期货商品id(浮动价方式时填)
  27179. in: query
  27180. name: goodsid
  27181. type: integer
  27182. - description: 买卖方向 0-买 1-卖
  27183. in: query
  27184. name: buyorsell
  27185. required: true
  27186. type: integer
  27187. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  27188. in: query
  27189. name: deliverymonth
  27190. type: string
  27191. produces:
  27192. - application/json
  27193. responses:
  27194. "200":
  27195. description: OK
  27196. schema:
  27197. items:
  27198. $ref: '#/definitions/models.WrOrderQuoteDetail'
  27199. type: array
  27200. "500":
  27201. description: Internal Server Error
  27202. schema:
  27203. $ref: '#/definitions/app.Response'
  27204. security:
  27205. - ApiKeyAuth: []
  27206. summary: 查询买卖大厅
  27207. tags:
  27208. - 仓单贸易v2
  27209. /WrTrade2/QueryOrderQuoteMyq:
  27210. get:
  27211. parameters:
  27212. - description: 页码
  27213. in: query
  27214. name: page
  27215. type: integer
  27216. - description: 每页条数
  27217. in: query
  27218. name: pagesize
  27219. type: integer
  27220. - description: 用户id
  27221. in: query
  27222. name: userid
  27223. required: true
  27224. type: integer
  27225. - description: 仓单贸易市场id
  27226. in: query
  27227. name: marketid
  27228. type: integer
  27229. - description: 0:仓单预售 1:仓单贸易
  27230. in: query
  27231. name: haswr
  27232. type: integer
  27233. - description: 买卖方向 0-买 1-卖
  27234. in: query
  27235. name: buyorsell
  27236. required: true
  27237. type: integer
  27238. - description: 品种id
  27239. in: query
  27240. name: deliverygoodsid
  27241. type: integer
  27242. - description: 品类id
  27243. in: query
  27244. name: wrstandardid
  27245. type: integer
  27246. - description: 交收月(yyyy-mm) 仓单预售填写
  27247. in: query
  27248. name: deliverymonth
  27249. type: string
  27250. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  27251. in: query
  27252. name: dgitemname
  27253. type: string
  27254. produces:
  27255. - application/json
  27256. responses:
  27257. "200":
  27258. description: OK
  27259. schema:
  27260. items:
  27261. $ref: '#/definitions/models.WrQuoteOrderMyq'
  27262. type: array
  27263. "500":
  27264. description: Internal Server Error
  27265. schema:
  27266. $ref: '#/definitions/app.Response'
  27267. security:
  27268. - ApiKeyAuth: []
  27269. summary: 查询贸易圈挂牌大厅
  27270. tags:
  27271. - 仓单贸易v2
  27272. /WrTrade2/QueryPerformancePlan:
  27273. get:
  27274. parameters:
  27275. - description: 用户id
  27276. in: query
  27277. name: userid
  27278. required: true
  27279. type: integer
  27280. - description: 买卖方向 0-买 1-卖
  27281. in: query
  27282. name: buyorsell
  27283. required: true
  27284. type: integer
  27285. - description: 履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成
  27286. 8:释放冻结失败 9:超时待处理 10:超时关闭
  27287. in: query
  27288. name: status
  27289. type: string
  27290. - description: 开始交易日(yyyymmdd)
  27291. in: query
  27292. name: begindate
  27293. type: string
  27294. - description: 结束交易日(yyyymmdd)
  27295. in: query
  27296. name: enddate
  27297. type: string
  27298. produces:
  27299. - application/json
  27300. responses:
  27301. "200":
  27302. description: OK
  27303. schema:
  27304. items:
  27305. $ref: '#/definitions/models.WrPerformancePlan'
  27306. type: array
  27307. "500":
  27308. description: Internal Server Error
  27309. schema:
  27310. $ref: '#/definitions/app.Response'
  27311. security:
  27312. - ApiKeyAuth: []
  27313. summary: 查询履约信息
  27314. tags:
  27315. - 仓单贸易v2
  27316. /WrTrade2/QueryPermancePlanTmp:
  27317. get:
  27318. description: |-
  27319. 返回指定用户的模板和公共模板(用户id为空)
  27320. 注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段
  27321. parameters:
  27322. - description: 用户id
  27323. in: query
  27324. name: userid
  27325. type: integer
  27326. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  27327. (无仓单) 5:挂牌期权 6:竞拍-降价式
  27328. in: query
  27329. name: tmptype
  27330. type: string
  27331. - description: 是否包含公共模板(用户id为空的) 1-包含
  27332. in: query
  27333. name: includepub
  27334. type: integer
  27335. - description: 市场id(天津麦顿指定此参数,其它不用)
  27336. in: query
  27337. name: marketid
  27338. type: integer
  27339. produces:
  27340. - application/json
  27341. responses:
  27342. "200":
  27343. description: OK
  27344. schema:
  27345. items:
  27346. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  27347. type: array
  27348. "500":
  27349. description: Internal Server Error
  27350. schema:
  27351. $ref: '#/definitions/app.Response'
  27352. security:
  27353. - ApiKeyAuth: []
  27354. summary: 查询履约模板
  27355. tags:
  27356. - 仓单贸易v2
  27357. /WrTrade2/QuerySiteColumnDetail:
  27358. get:
  27359. parameters:
  27360. - description: 页码
  27361. in: query
  27362. name: page
  27363. type: integer
  27364. - description: 每页条数
  27365. in: query
  27366. name: pagesize
  27367. type: integer
  27368. produces:
  27369. - application/json
  27370. responses:
  27371. "200":
  27372. description: OK
  27373. schema:
  27374. items:
  27375. $ref: '#/definitions/models.WrSiteColumnDetail'
  27376. type: array
  27377. "500":
  27378. description: Internal Server Error
  27379. schema:
  27380. $ref: '#/definitions/app.Response'
  27381. security:
  27382. - ApiKeyAuth: []
  27383. summary: 查询资讯
  27384. tags:
  27385. - 仓单贸易v2
  27386. /WrTrade2/QuerySpotGroupTradeSum:
  27387. get:
  27388. produces:
  27389. - application/json
  27390. responses:
  27391. "200":
  27392. description: OK
  27393. schema:
  27394. items:
  27395. $ref: '#/definitions/models.WrSpotGroupTradeSumEx'
  27396. type: array
  27397. "500":
  27398. description: Internal Server Error
  27399. schema:
  27400. $ref: '#/definitions/app.Response'
  27401. security:
  27402. - ApiKeyAuth: []
  27403. summary: 查询指数
  27404. tags:
  27405. - 仓单贸易v2
  27406. /WrTrade2/QuerySpotGroupTradeSumDetail:
  27407. get:
  27408. description: 查询的结果将会按日期 从小到大 排序
  27409. parameters:
  27410. - description: 现货商品id
  27411. in: query
  27412. name: deliverygoodsid
  27413. required: true
  27414. type: integer
  27415. - description: 查询最新多少条记录(如不填写此项, 默认查30条)
  27416. in: query
  27417. name: lastnum
  27418. type: integer
  27419. produces:
  27420. - application/json
  27421. responses:
  27422. "200":
  27423. description: OK
  27424. schema:
  27425. items:
  27426. $ref: '#/definitions/models.WrSpotGroupTradeSumDetail'
  27427. type: array
  27428. "500":
  27429. description: Internal Server Error
  27430. schema:
  27431. $ref: '#/definitions/app.Response'
  27432. security:
  27433. - ApiKeyAuth: []
  27434. summary: 查询指数详细(价格走势图)
  27435. tags:
  27436. - 仓单贸易v2
  27437. /WrTrade2/QueryWrAverageTradePrice:
  27438. get:
  27439. parameters:
  27440. - description: 页码
  27441. in: query
  27442. name: page
  27443. type: integer
  27444. - description: 每页条数
  27445. in: query
  27446. name: pagesize
  27447. type: integer
  27448. - description: 0:仓单预售 1:仓单贸易
  27449. in: query
  27450. name: haswr
  27451. required: true
  27452. type: integer
  27453. - description: 仓单要素id
  27454. in: query
  27455. name: wrfactortypeid
  27456. required: true
  27457. type: integer
  27458. produces:
  27459. - application/json
  27460. responses:
  27461. "200":
  27462. description: OK
  27463. schema:
  27464. items:
  27465. $ref: '#/definitions/models.WrAverageTradePrice'
  27466. type: array
  27467. "500":
  27468. description: Internal Server Error
  27469. schema:
  27470. $ref: '#/definitions/app.Response'
  27471. security:
  27472. - ApiKeyAuth: []
  27473. summary: 查询成交价(历史走势)
  27474. tags:
  27475. - 仓单贸易v2
  27476. /WrTrade2/QueryWrBsGoodsInfo:
  27477. get:
  27478. description: 合约交易/买卖大厅/详情
  27479. parameters:
  27480. - description: 商品id
  27481. in: query
  27482. name: goodsid
  27483. required: true
  27484. type: integer
  27485. produces:
  27486. - application/json
  27487. responses:
  27488. "200":
  27489. description: OK
  27490. schema:
  27491. items:
  27492. $ref: '#/definitions/models.WrBsGoodsInfo'
  27493. type: array
  27494. "500":
  27495. description: Internal Server Error
  27496. schema:
  27497. $ref: '#/definitions/app.Response'
  27498. security:
  27499. - ApiKeyAuth: []
  27500. summary: 查询合约交易买卖大厅详情
  27501. tags:
  27502. - 仓单贸易v2
  27503. /WrTrade2/QueryWrBuybackDetail:
  27504. get:
  27505. parameters:
  27506. - description: 融资合同id
  27507. in: query
  27508. name: scfcontractid
  27509. type: integer
  27510. produces:
  27511. - application/json
  27512. responses:
  27513. "200":
  27514. description: OK
  27515. schema:
  27516. items:
  27517. $ref: '#/definitions/models.WrBuybackDetail'
  27518. type: array
  27519. "500":
  27520. description: Internal Server Error
  27521. schema:
  27522. $ref: '#/definitions/app.Response'
  27523. security:
  27524. - ApiKeyAuth: []
  27525. summary: 查询仓单回购明细
  27526. tags:
  27527. - 仓单贸易v2
  27528. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  27529. get:
  27530. parameters:
  27531. - description: 资金账号
  27532. in: query
  27533. name: accountid
  27534. required: true
  27535. type: integer
  27536. - description: 商品id
  27537. in: query
  27538. name: goodsid
  27539. required: true
  27540. type: integer
  27541. produces:
  27542. - application/json
  27543. responses:
  27544. "200":
  27545. description: OK
  27546. schema:
  27547. items:
  27548. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  27549. type: array
  27550. "500":
  27551. description: Internal Server Error
  27552. schema:
  27553. $ref: '#/definitions/app.Response'
  27554. security:
  27555. - ApiKeyAuth: []
  27556. summary: 查询合约交收可点选仓单
  27557. tags:
  27558. - 仓单贸易v2
  27559. /WrTrade2/QueryWrDeliveryDetail:
  27560. get:
  27561. parameters:
  27562. - description: 用户id
  27563. in: query
  27564. name: userid
  27565. required: true
  27566. type: integer
  27567. - description: 资金账号id
  27568. in: query
  27569. name: accountid
  27570. type: integer
  27571. - description: 开始交易日(yyyymmdd)
  27572. in: query
  27573. name: begindate
  27574. type: string
  27575. - description: 结束交易日(yyyymmdd)
  27576. in: query
  27577. name: enddate
  27578. type: string
  27579. produces:
  27580. - application/json
  27581. responses:
  27582. "200":
  27583. description: OK
  27584. schema:
  27585. items:
  27586. $ref: '#/definitions/models.WrDeliveryDetail'
  27587. type: array
  27588. "500":
  27589. description: Internal Server Error
  27590. schema:
  27591. $ref: '#/definitions/app.Response'
  27592. security:
  27593. - ApiKeyAuth: []
  27594. summary: 查询交收
  27595. tags:
  27596. - 仓单贸易v2
  27597. /WrTrade2/QueryWrFactorTypeInfo:
  27598. get:
  27599. parameters:
  27600. - description: 仓单要素id
  27601. in: query
  27602. name: wrfactortypeid
  27603. required: true
  27604. type: integer
  27605. produces:
  27606. - application/json
  27607. responses:
  27608. "200":
  27609. description: OK
  27610. schema:
  27611. items:
  27612. $ref: '#/definitions/models.WrFactorTypeInfo'
  27613. type: array
  27614. "500":
  27615. description: Internal Server Error
  27616. schema:
  27617. $ref: '#/definitions/app.Response'
  27618. security:
  27619. - ApiKeyAuth: []
  27620. summary: 查询仓单要素详细信息
  27621. tags:
  27622. - 仓单贸易v2
  27623. /WrTrade2/QueryWrFactorTypeInfoEx:
  27624. get:
  27625. parameters:
  27626. - description: 仓单要素id
  27627. in: query
  27628. name: wrfactortypeid
  27629. required: true
  27630. type: integer
  27631. produces:
  27632. - application/json
  27633. responses:
  27634. "200":
  27635. description: OK
  27636. schema:
  27637. items:
  27638. $ref: '#/definitions/models.WrTypeItem'
  27639. type: array
  27640. "500":
  27641. description: Internal Server Error
  27642. schema:
  27643. $ref: '#/definitions/app.Response'
  27644. security:
  27645. - ApiKeyAuth: []
  27646. summary: 查询仓单要素详细信息列表项
  27647. tags:
  27648. - 仓单贸易v2
  27649. /WrTrade2/QueryWrFinanceBuyApply:
  27650. get:
  27651. description: 页面 融资信息+ / 申请单
  27652. parameters:
  27653. - description: 用户id
  27654. in: query
  27655. name: userid
  27656. required: true
  27657. type: integer
  27658. produces:
  27659. - application/json
  27660. responses:
  27661. "200":
  27662. description: OK
  27663. schema:
  27664. items:
  27665. $ref: '#/definitions/models.WrFinanceBuyApply'
  27666. type: array
  27667. "500":
  27668. description: Internal Server Error
  27669. schema:
  27670. $ref: '#/definitions/app.Response'
  27671. security:
  27672. - ApiKeyAuth: []
  27673. summary: 查询融资购买申请
  27674. tags:
  27675. - 仓单贸易v2
  27676. /WrTrade2/QueryWrFriendApply:
  27677. get:
  27678. parameters:
  27679. - description: 用户id
  27680. in: query
  27681. name: userid
  27682. required: true
  27683. type: integer
  27684. produces:
  27685. - application/json
  27686. responses:
  27687. "200":
  27688. description: OK
  27689. schema:
  27690. items:
  27691. $ref: '#/definitions/models.WrFriendApply'
  27692. type: array
  27693. "500":
  27694. description: Internal Server Error
  27695. schema:
  27696. $ref: '#/definitions/app.Response'
  27697. security:
  27698. - ApiKeyAuth: []
  27699. summary: 查询好友申请记录
  27700. tags:
  27701. - 仓单贸易v2
  27702. /WrTrade2/QueryWrGoodsInfo:
  27703. get:
  27704. parameters:
  27705. - description: 仓单贸易市场id
  27706. in: query
  27707. name: marketid
  27708. type: integer
  27709. - description: 0:仓单预售 1:仓单贸易
  27710. in: query
  27711. name: haswr
  27712. required: true
  27713. type: integer
  27714. - description: 仓单要素id
  27715. in: query
  27716. name: wrfactortypeid
  27717. required: true
  27718. type: integer
  27719. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  27720. in: query
  27721. name: tmplateid
  27722. type: integer
  27723. produces:
  27724. - application/json
  27725. responses:
  27726. "200":
  27727. description: OK
  27728. schema:
  27729. items:
  27730. $ref: '#/definitions/models.WrGoodsInfo'
  27731. type: array
  27732. "500":
  27733. description: Internal Server Error
  27734. schema:
  27735. $ref: '#/definitions/app.Response'
  27736. security:
  27737. - ApiKeyAuth: []
  27738. summary: 查询仓单商品信息
  27739. tags:
  27740. - 仓单贸易v2
  27741. /WrTrade2/QueryWrMarketTradeConfig:
  27742. get:
  27743. parameters:
  27744. - description: 市场id
  27745. in: query
  27746. name: marketid
  27747. type: integer
  27748. produces:
  27749. - application/json
  27750. responses:
  27751. "200":
  27752. description: OK
  27753. schema:
  27754. items:
  27755. $ref: '#/definitions/models.WrMarketTradeConfig'
  27756. type: array
  27757. "500":
  27758. description: Internal Server Error
  27759. schema:
  27760. $ref: '#/definitions/app.Response'
  27761. security:
  27762. - ApiKeyAuth: []
  27763. summary: 查询市场交易参数配置
  27764. tags:
  27765. - 仓单贸易v2
  27766. /WrTrade2/QueryWrOrderDetail:
  27767. get:
  27768. description: 页面 现货仓单 | 预售仓单 -> 挂单
  27769. parameters:
  27770. - description: 页码
  27771. in: query
  27772. name: page
  27773. type: integer
  27774. - description: 每页条数
  27775. in: query
  27776. name: pagesize
  27777. type: integer
  27778. - description: 用户id
  27779. in: query
  27780. name: userid
  27781. required: true
  27782. type: integer
  27783. - description: 仓单贸易市场id
  27784. in: query
  27785. name: marketid
  27786. type: integer
  27787. - description: 0:仓单预售 1:仓单贸易
  27788. in: query
  27789. name: haswr
  27790. required: true
  27791. type: integer
  27792. - description: 开始交易日(yyyymmdd)
  27793. in: query
  27794. name: begindate
  27795. type: string
  27796. - description: 结束交易日(yyyymmdd)
  27797. in: query
  27798. name: enddate
  27799. type: string
  27800. produces:
  27801. - application/json
  27802. responses:
  27803. "200":
  27804. description: OK
  27805. schema:
  27806. items:
  27807. $ref: '#/definitions/models.WrOrderDetail'
  27808. type: array
  27809. "500":
  27810. description: Internal Server Error
  27811. schema:
  27812. $ref: '#/definitions/app.Response'
  27813. security:
  27814. - ApiKeyAuth: []
  27815. summary: 查询仓单委托单(挂单)
  27816. tags:
  27817. - 仓单贸易v2
  27818. /WrTrade2/QueryWrOutInApply:
  27819. get:
  27820. parameters:
  27821. - description: 用户id
  27822. in: query
  27823. name: userid
  27824. required: true
  27825. type: integer
  27826. - description: 开始交易日(yyyymmdd)
  27827. in: query
  27828. name: begindate
  27829. type: string
  27830. - description: 结束交易日(yyyymmdd)
  27831. in: query
  27832. name: enddate
  27833. type: string
  27834. produces:
  27835. - application/json
  27836. responses:
  27837. "200":
  27838. description: OK
  27839. schema:
  27840. items:
  27841. $ref: '#/definitions/models.WrOutInApply'
  27842. type: array
  27843. "500":
  27844. description: Internal Server Error
  27845. schema:
  27846. $ref: '#/definitions/app.Response'
  27847. security:
  27848. - ApiKeyAuth: []
  27849. summary: 查询提货申请
  27850. tags:
  27851. - 仓单贸易v2
  27852. /WrTrade2/QueryWrPerformancePlanStep:
  27853. get:
  27854. parameters:
  27855. - description: 履约计划id(performanceplanid)
  27856. in: query
  27857. name: planid
  27858. required: true
  27859. type: integer
  27860. - description: 当前步骤id
  27861. in: query
  27862. name: curstepid
  27863. type: integer
  27864. produces:
  27865. - application/json
  27866. responses:
  27867. "200":
  27868. description: OK
  27869. schema:
  27870. items:
  27871. $ref: '#/definitions/models.WrPerformancePlanStep'
  27872. type: array
  27873. "500":
  27874. description: Internal Server Error
  27875. schema:
  27876. $ref: '#/definitions/app.Response'
  27877. security:
  27878. - ApiKeyAuth: []
  27879. summary: 查询履约信息详情
  27880. tags:
  27881. - 仓单贸易v2
  27882. /WrTrade2/QueryWrPerformanceStepType:
  27883. get:
  27884. produces:
  27885. - application/json
  27886. responses:
  27887. "200":
  27888. description: OK
  27889. schema:
  27890. items:
  27891. $ref: '#/definitions/models.WrPerformanceStepType'
  27892. type: array
  27893. "500":
  27894. description: Internal Server Error
  27895. schema:
  27896. $ref: '#/definitions/app.Response'
  27897. security:
  27898. - ApiKeyAuth: []
  27899. summary: 查询履约步骤枚举
  27900. tags:
  27901. - 仓单贸易v2
  27902. /WrTrade2/QueryWrPosition:
  27903. get:
  27904. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  27905. parameters:
  27906. - description: 用户id
  27907. in: query
  27908. name: userid
  27909. required: true
  27910. type: integer
  27911. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  27912. in: query
  27913. name: querytype
  27914. required: true
  27915. type: integer
  27916. - description: 0:仓单预售 1:仓单贸易
  27917. in: query
  27918. name: haswr
  27919. required: true
  27920. type: integer
  27921. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  27922. in: query
  27923. name: dgitemname
  27924. type: string
  27925. - description: 仓库id(筛选条件)
  27926. in: query
  27927. name: warehouseid
  27928. type: integer
  27929. - description: 品种id
  27930. in: query
  27931. name: deliverygoodsid
  27932. type: integer
  27933. - description: 品类id
  27934. in: query
  27935. name: wrstandardid
  27936. type: integer
  27937. produces:
  27938. - application/json
  27939. responses:
  27940. "200":
  27941. description: OK
  27942. schema:
  27943. items:
  27944. $ref: '#/definitions/models.WrPosition'
  27945. type: array
  27946. "500":
  27947. description: Internal Server Error
  27948. schema:
  27949. $ref: '#/definitions/app.Response'
  27950. security:
  27951. - ApiKeyAuth: []
  27952. summary: 查询现货(预售)仓单持仓
  27953. tags:
  27954. - 仓单贸易v2
  27955. /WrTrade2/QueryWrPreSaleInfo:
  27956. get:
  27957. parameters:
  27958. - description: 市场id
  27959. in: query
  27960. name: marketid
  27961. type: integer
  27962. - description: 预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭
  27963. in: query
  27964. name: presalestatus
  27965. type: string
  27966. - description: 摇号标识 - 0:未摇号 1:已摇号
  27967. in: query
  27968. name: lotteryflag
  27969. type: integer
  27970. produces:
  27971. - application/json
  27972. responses:
  27973. "200":
  27974. description: OK
  27975. schema:
  27976. items:
  27977. $ref: '#/definitions/models.WrSpotGroupTradeSumDetail'
  27978. type: array
  27979. "500":
  27980. description: Internal Server Error
  27981. schema:
  27982. $ref: '#/definitions/app.Response'
  27983. security:
  27984. - ApiKeyAuth: []
  27985. summary: 查询新品发布
  27986. tags:
  27987. - 仓单贸易v2
  27988. /WrTrade2/QueryWrScfContract:
  27989. get:
  27990. parameters:
  27991. - description: 用户id
  27992. in: query
  27993. name: userid
  27994. required: true
  27995. type: integer
  27996. - description: 融资合同id
  27997. in: query
  27998. name: scfcontractid
  27999. type: integer
  28000. produces:
  28001. - application/json
  28002. responses:
  28003. "200":
  28004. description: OK
  28005. schema:
  28006. items:
  28007. $ref: '#/definitions/models.WrScfContract'
  28008. type: array
  28009. "500":
  28010. description: Internal Server Error
  28011. schema:
  28012. $ref: '#/definitions/app.Response'
  28013. security:
  28014. - ApiKeyAuth: []
  28015. summary: 查询仓单贸易融资合同
  28016. tags:
  28017. - 仓单贸易v2
  28018. /WrTrade2/QueryWrScfContractInterest:
  28019. get:
  28020. parameters:
  28021. - description: 融资合同id
  28022. in: query
  28023. name: scfcontractid
  28024. type: integer
  28025. produces:
  28026. - application/json
  28027. responses:
  28028. "200":
  28029. description: OK
  28030. schema:
  28031. items:
  28032. $ref: '#/definitions/models.WrScfContractInterest'
  28033. type: array
  28034. "500":
  28035. description: Internal Server Error
  28036. schema:
  28037. $ref: '#/definitions/app.Response'
  28038. security:
  28039. - ApiKeyAuth: []
  28040. summary: 查询融资合同费用明细
  28041. tags:
  28042. - 仓单贸易v2
  28043. /WrTrade2/QueryWrSpecialMatchOrder:
  28044. get:
  28045. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  28046. parameters:
  28047. - description: 页码
  28048. in: query
  28049. name: page
  28050. type: integer
  28051. - description: 每页条数
  28052. in: query
  28053. name: pagesize
  28054. type: integer
  28055. - description: 用户id
  28056. in: query
  28057. name: userid
  28058. required: true
  28059. type: integer
  28060. - description: 仓单贸易市场id
  28061. in: query
  28062. name: marketid
  28063. type: integer
  28064. - description: 0:仓单预售 1:仓单贸易
  28065. in: query
  28066. name: haswr
  28067. required: true
  28068. type: integer
  28069. - description: 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  28070. in: query
  28071. name: isspecified
  28072. type: integer
  28073. produces:
  28074. - application/json
  28075. responses:
  28076. "200":
  28077. description: OK
  28078. schema:
  28079. items:
  28080. $ref: '#/definitions/models.WrSpecialMatchOrder'
  28081. type: array
  28082. "500":
  28083. description: Internal Server Error
  28084. schema:
  28085. $ref: '#/definitions/app.Response'
  28086. security:
  28087. - ApiKeyAuth: []
  28088. summary: 查询指定成交
  28089. tags:
  28090. - 仓单贸易v2
  28091. /WrTrade2/QueryWrStandardFactoryItem:
  28092. get:
  28093. parameters:
  28094. - description: 品类id
  28095. in: query
  28096. name: wrstandardid
  28097. required: true
  28098. type: integer
  28099. produces:
  28100. - application/json
  28101. responses:
  28102. "200":
  28103. description: OK
  28104. schema:
  28105. items:
  28106. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  28107. type: array
  28108. "500":
  28109. description: Internal Server Error
  28110. schema:
  28111. $ref: '#/definitions/app.Response'
  28112. security:
  28113. - ApiKeyAuth: []
  28114. summary: 查询品类要素定义项
  28115. tags:
  28116. - 仓单贸易v2
  28117. /WrTrade2/QueryWrTradeBargainApply:
  28118. get:
  28119. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面
  28120. 议价->对方议价 填写matchuserid=登录用户id
  28121. parameters:
  28122. - description: 议价人id(摘牌方)
  28123. in: query
  28124. name: userid
  28125. type: integer
  28126. - description: 挂牌方id(查对方议价时,填写此项)
  28127. in: query
  28128. name: matchuserid
  28129. type: integer
  28130. - description: 关联委托单id
  28131. in: query
  28132. name: wrtradeorderid
  28133. type: integer
  28134. - description: 0:仓单预售 1:仓单贸易
  28135. in: query
  28136. name: haswr
  28137. required: true
  28138. type: integer
  28139. - description: 开始交易日(yyyymmdd)
  28140. in: query
  28141. name: begindate
  28142. type: string
  28143. - description: 结束交易日(yyyymmdd)
  28144. in: query
  28145. name: enddate
  28146. type: string
  28147. produces:
  28148. - application/json
  28149. responses:
  28150. "200":
  28151. description: OK
  28152. schema:
  28153. items:
  28154. $ref: '#/definitions/models.WRTradeBargainApply'
  28155. type: array
  28156. "500":
  28157. description: Internal Server Error
  28158. schema:
  28159. $ref: '#/definitions/app.Response'
  28160. security:
  28161. - ApiKeyAuth: []
  28162. summary: 查询议价单
  28163. tags:
  28164. - 仓单贸易v2
  28165. /WrTrade2/QueryWrTradeDetail:
  28166. get:
  28167. parameters:
  28168. - description: 页码
  28169. in: query
  28170. name: page
  28171. type: integer
  28172. - description: 每页条数
  28173. in: query
  28174. name: pagesize
  28175. type: integer
  28176. - description: 用户id
  28177. in: query
  28178. name: userid
  28179. required: true
  28180. type: integer
  28181. - description: 仓单贸易市场id
  28182. in: query
  28183. name: marketid
  28184. type: integer
  28185. - description: 0:仓单预售 1:仓单贸易
  28186. in: query
  28187. name: haswr
  28188. required: true
  28189. type: integer
  28190. - description: 开始交易日(yyyymmdd)
  28191. in: query
  28192. name: begindate
  28193. type: string
  28194. - description: 结束交易日(yyyymmdd)
  28195. in: query
  28196. name: enddate
  28197. type: string
  28198. produces:
  28199. - application/json
  28200. responses:
  28201. "200":
  28202. description: OK
  28203. schema:
  28204. items:
  28205. $ref: '#/definitions/models.WrTradeDetail'
  28206. type: array
  28207. "500":
  28208. description: Internal Server Error
  28209. schema:
  28210. $ref: '#/definitions/app.Response'
  28211. security:
  28212. - ApiKeyAuth: []
  28213. summary: 查询仓单成交明细
  28214. tags:
  28215. - 仓单贸易v2
  28216. /WrTrade2/QueryWrTradeOrderDetail:
  28217. get:
  28218. parameters:
  28219. - description: 页码
  28220. in: query
  28221. name: page
  28222. type: integer
  28223. - description: 每页条数
  28224. in: query
  28225. name: pagesize
  28226. type: integer
  28227. - description: 商品id
  28228. in: query
  28229. name: goodsid
  28230. required: true
  28231. type: integer
  28232. - description: 买卖方向 0-买 1-卖
  28233. in: query
  28234. name: buyorsell
  28235. required: true
  28236. type: integer
  28237. produces:
  28238. - application/json
  28239. responses:
  28240. "200":
  28241. description: OK
  28242. schema:
  28243. items:
  28244. $ref: '#/definitions/models.WrTradeOrderDetail'
  28245. type: array
  28246. "500":
  28247. description: Internal Server Error
  28248. schema:
  28249. $ref: '#/definitions/app.Response'
  28250. security:
  28251. - ApiKeyAuth: []
  28252. summary: 查询合约交易买卖大厅
  28253. tags:
  28254. - 仓单贸易v2
  28255. /WrTrade2/QueryWrUserFriend:
  28256. get:
  28257. parameters:
  28258. - description: 用户id
  28259. in: query
  28260. name: userid
  28261. required: true
  28262. type: integer
  28263. - description: 新朋友userid, 如果填写了此项则查找新朋友
  28264. in: query
  28265. name: newuserid
  28266. type: integer
  28267. produces:
  28268. - application/json
  28269. responses:
  28270. "200":
  28271. description: OK
  28272. schema:
  28273. items:
  28274. $ref: '#/definitions/models.WrUserFriend'
  28275. type: array
  28276. "500":
  28277. description: Internal Server Error
  28278. schema:
  28279. $ref: '#/definitions/app.Response'
  28280. security:
  28281. - ApiKeyAuth: []
  28282. summary: 查询我的朋友
  28283. tags:
  28284. - 仓单贸易v2
  28285. /WrTrade2/QueryWrUserReceiptInfo:
  28286. get:
  28287. parameters:
  28288. - description: 用户id
  28289. in: query
  28290. name: userid
  28291. type: integer
  28292. - description: 发票类型 - 1:个人 2:企业
  28293. in: query
  28294. name: receipttype
  28295. type: integer
  28296. produces:
  28297. - application/json
  28298. responses:
  28299. "200":
  28300. description: OK
  28301. schema:
  28302. items:
  28303. $ref: '#/definitions/models.WrUserReceiptInfo'
  28304. type: array
  28305. "500":
  28306. description: Internal Server Error
  28307. schema:
  28308. $ref: '#/definitions/app.Response'
  28309. security:
  28310. - ApiKeyAuth: []
  28311. summary: 查询发票信息
  28312. tags:
  28313. - 仓单贸易v2
  28314. /ZJ/GetBankTip:
  28315. get:
  28316. produces:
  28317. - application/json
  28318. responses:
  28319. "200":
  28320. description: OK
  28321. schema:
  28322. type: string
  28323. "500":
  28324. description: Internal Server Error
  28325. schema:
  28326. $ref: '#/definitions/app.Response'
  28327. summary: 获取中江网银端出入金提示信息
  28328. tags:
  28329. - 中江
  28330. /ZJ/GetCusBankChannels:
  28331. get:
  28332. produces:
  28333. - application/json
  28334. responses:
  28335. "200":
  28336. description: OK
  28337. schema:
  28338. items:
  28339. type: string
  28340. type: array
  28341. "500":
  28342. description: Internal Server Error
  28343. schema:
  28344. $ref: '#/definitions/app.Response'
  28345. summary: 获取中江出入金渠道显示列表
  28346. tags:
  28347. - 中江
  28348. securityDefinitions:
  28349. ApiKeyAuth:
  28350. in: header
  28351. name: Authorization
  28352. type: apiKey
  28353. swagger: "2.0"