swagger.yaml 803 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136281372813828139281402814128142281432814428145281462814728148281492815028151281522815328154281552815628157281582815928160281612816228163281642816528166281672816828169281702817128172281732817428175281762817728178281792818028181281822818328184281852818628187281882818928190281912819228193281942819528196281972819828199282002820128202282032820428205282062820728208282092821028211282122821328214282152821628217282182821928220282212822228223282242822528226282272822828229282302823128232282332823428235282362823728238282392824028241282422824328244282452824628247282482824928250282512825228253282542825528256282572825828259282602826128262282632826428265282662826728268282692827028271282722827328274282752827628277282782827928280282812828228283282842828528286282872828828289282902829128292282932829428295282962829728298282992830028301283022830328304283052830628307283082830928310283112831228313283142831528316283172831828319283202832128322283232832428325283262832728328283292833028331283322833328334283352833628337283382833928340283412834228343283442834528346283472834828349283502835128352283532835428355283562835728358283592836028361283622836328364283652836628367283682836928370283712837228373283742837528376283772837828379283802838128382283832838428385283862838728388283892839028391283922839328394283952839628397283982839928400284012840228403284042840528406284072840828409284102841128412284132841428415284162841728418284192842028421284222842328424284252842628427284282842928430284312843228433284342843528436284372843828439284402844128442284432844428445284462844728448284492845028451284522845328454284552845628457284582845928460284612846228463284642846528466284672846828469284702847128472284732847428475284762847728478284792848028481284822848328484284852848628487284882848928490284912849228493284942849528496284972849828499285002850128502285032850428505285062850728508285092851028511285122851328514285152851628517285182851928520285212852228523285242852528526285272852828529285302853128532285332853428535285362853728538285392854028541285422854328544285452854628547285482854928550285512855228553285542855528556285572855828559285602856128562285632856428565285662856728568285692857028571285722857328574285752857628577285782857928580285812858228583285842858528586285872858828589285902859128592285932859428595285962859728598285992860028601286022860328604286052860628607286082860928610286112861228613286142861528616286172861828619286202862128622286232862428625286262862728628286292863028631286322863328634286352863628637286382863928640286412864228643286442864528646286472864828649286502865128652286532865428655286562865728658286592866028661286622866328664286652866628667286682866928670286712867228673286742867528676286772867828679286802868128682286832868428685286862868728688286892869028691286922869328694286952869628697286982869928700287012870228703287042870528706287072870828709287102871128712287132871428715287162871728718287192872028721287222872328724287252872628727287282872928730287312873228733287342873528736287372873828739287402874128742287432874428745287462874728748287492875028751287522875328754287552875628757287582875928760287612876228763287642876528766287672876828769287702877128772287732877428775287762877728778287792878028781287822878328784287852878628787287882878928790287912879228793287942879528796287972879828799288002880128802288032880428805288062880728808288092881028811288122881328814288152881628817288182881928820288212882228823288242882528826288272882828829288302883128832288332883428835288362883728838288392884028841288422884328844288452884628847288482884928850288512885228853288542885528856288572885828859288602886128862288632886428865288662886728868288692887028871288722887328874288752887628877288782887928880288812888228883288842888528886288872888828889288902889128892288932889428895288962889728898288992890028901289022890328904289052890628907289082890928910289112891228913289142891528916289172891828919289202892128922289232892428925289262892728928289292893028931289322893328934289352893628937
  1. basePath: /api
  2. definitions:
  3. app.Response:
  4. properties:
  5. code:
  6. type: integer
  7. data: {}
  8. msg:
  9. type: string
  10. page:
  11. description: 页码
  12. type: integer
  13. pagesize:
  14. description: 每页条数
  15. type: integer
  16. total:
  17. description: 总条数
  18. type: integer
  19. type: object
  20. common.ClientMenu:
  21. properties:
  22. children:
  23. description: 子菜单列表
  24. items:
  25. $ref: '#/definitions/common.ClientMenu'
  26. type: array
  27. code:
  28. description: ID
  29. type: string
  30. isshow:
  31. description: 是否显示
  32. type: boolean
  33. remark:
  34. description: 备注
  35. type: string
  36. rulekey:
  37. description: 对应权限主键,对应FUNCMENULIST表RESOURCECODE
  38. type: string
  39. sort:
  40. description: 排序
  41. type: integer
  42. title:
  43. description: 标题
  44. type: string
  45. type:
  46. description: 类型,1:菜单 2:按钮
  47. type: integer
  48. url:
  49. description: URL
  50. type: string
  51. type: object
  52. common.PCWebMenu:
  53. properties:
  54. auth:
  55. description: 页面权限列表
  56. items:
  57. $ref: '#/definitions/common.PCWebMenuAuth'
  58. type: array
  59. children:
  60. description: 子菜单列表
  61. items:
  62. $ref: '#/definitions/common.PCWebMenu'
  63. type: array
  64. code:
  65. description: ID,新版本中权限KEY也是这个字段
  66. type: string
  67. component:
  68. description: 路由组件
  69. type: string
  70. isshow:
  71. description: 是否显示
  72. type: boolean
  73. path:
  74. description: 路由路径
  75. type: string
  76. remark:
  77. description: 备注
  78. type: string
  79. rulekey:
  80. description: 权限主键,非空表示需要判断控制,非空值不可重复
  81. type: string
  82. sort:
  83. description: 排序
  84. type: integer
  85. title:
  86. description: 标题
  87. type: string
  88. url:
  89. description: URL
  90. type: string
  91. type: object
  92. common.PCWebMenuAuth:
  93. properties:
  94. code:
  95. description: ID,新版本中权限KEY也是这个字段
  96. type: string
  97. isshow:
  98. description: 是否显示
  99. type: boolean
  100. label:
  101. description: 标题
  102. type: string
  103. remark:
  104. description: 备注
  105. type: string
  106. rulekey:
  107. description: 权限主键,非空表示需要判断控制,非空值不可重复
  108. type: string
  109. type: object
  110. common.QueryImageConfigsRsp:
  111. properties:
  112. areauserid:
  113. description: 所属机构ID
  114. type: integer
  115. configid:
  116. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  117. type: integer
  118. createdate:
  119. description: 创建时间
  120. type: string
  121. creatorid:
  122. description: 创建人
  123. type: integer
  124. imagedetailpath:
  125. description: 详情图片 [UrlType = 3时 有且必填,其它类型不需要]
  126. type: string
  127. imagepath:
  128. description: 图片
  129. type: string
  130. imagetype:
  131. description: 类型 - 1:首页轮播(移动) 2:我的(移动)
  132. type: integer
  133. isshow:
  134. description: 是否展示 - 0:不展示 1:展示
  135. type: integer
  136. marketid:
  137. description: 市场ID
  138. type: integer
  139. modifierid:
  140. description: 操作人
  141. type: integer
  142. sort:
  143. description: 排序
  144. type: integer
  145. title:
  146. description: 标题
  147. type: string
  148. trademode:
  149. description: 交易模式
  150. type: integer
  151. updatedate:
  152. description: 修改时间
  153. type: string
  154. url:
  155. description: 链接(地址或商品ID)
  156. type: string
  157. urltype:
  158. description: 链接类型 - 1:直接地址 2:商品ID
  159. type: integer
  160. required:
  161. - configid
  162. type: object
  163. common.QueryNoticeRsp:
  164. properties:
  165. auditoruserid:
  166. description: 审核人
  167. type: integer
  168. auditremark:
  169. description: 审核备注
  170. type: string
  171. audittime:
  172. description: 审核日期
  173. type: string
  174. autoid:
  175. description: 自增ID
  176. type: integer
  177. content:
  178. description: 内容
  179. type: string
  180. createtime:
  181. description: 创建时间
  182. type: string
  183. creatorid:
  184. description: 建仓人
  185. type: integer
  186. endtime:
  187. description: 结束时间
  188. type: string
  189. istop:
  190. description: 是否置顶 - 0:不置顶 1:置顶
  191. type: integer
  192. msgiconurl:
  193. description: 消息图标Url
  194. type: string
  195. msgtype:
  196. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  197. type: integer
  198. publisher:
  199. description: 消息发布者
  200. type: string
  201. readed:
  202. description: 是否已读
  203. type: boolean
  204. scheduletime:
  205. description: 计划发送时间
  206. type: string
  207. sendtype:
  208. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  209. type: integer
  210. sentstatus:
  211. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  212. type: integer
  213. title:
  214. description: 标题
  215. type: string
  216. userid:
  217. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  218. type: integer
  219. required:
  220. - autoid
  221. type: object
  222. common.QueryProvincesAndCitiesRsp:
  223. properties:
  224. cities:
  225. description: 市
  226. items:
  227. $ref: '#/definitions/models.Division'
  228. type: array
  229. province:
  230. $ref: '#/definitions/models.Division'
  231. description: 省
  232. type: object
  233. common.QueryTableDefineRsp:
  234. properties:
  235. columns:
  236. description: 列头信息数组
  237. items:
  238. $ref: '#/definitions/models.Tablecolumnconfig'
  239. type: array
  240. remark:
  241. description: Remark
  242. type: string
  243. tabelmenu:
  244. description: 列表菜单
  245. type: string
  246. tablekey:
  247. description: 列表Key
  248. type: string
  249. tablename:
  250. description: 列表名称
  251. type: string
  252. tabletype:
  253. description: 列表类型 - 1:管理端 2:终端
  254. type: integer
  255. required:
  256. - tablekey
  257. type: object
  258. common.QueryTraderMenuRsp:
  259. properties:
  260. OperationMenu:
  261. description: 功能菜单
  262. items:
  263. $ref: '#/definitions/models.OperationPrimaryMenu'
  264. type: array
  265. QuoteMenu:
  266. description: 报价牌分类菜单
  267. items:
  268. $ref: '#/definitions/models.QuotePrimaryMenu'
  269. type: array
  270. type: object
  271. cptrade.Cptradepositioncancel:
  272. properties:
  273. accountid:
  274. description: 申请人账户ID
  275. type: integer
  276. applystatus:
  277. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  278. type: integer
  279. applytime:
  280. description: 申请时间
  281. type: string
  282. cancelid:
  283. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  284. type: integer
  285. cancelqty:
  286. description: 注销数量
  287. type: integer
  288. createtime:
  289. description: 创建时间
  290. type: string
  291. creatorid:
  292. description: 创建人ID
  293. type: integer
  294. creatorname:
  295. description: 创建人
  296. type: string
  297. goodscode:
  298. description: 订单商品代码
  299. type: string
  300. goodsid:
  301. description: 商品ID
  302. type: integer
  303. goodsname:
  304. description: 订单商品名称
  305. type: string
  306. goodunit:
  307. description: 报价单位
  308. type: string
  309. handlestatus:
  310. description: 处理状态
  311. type: integer
  312. marketid:
  313. description: 市场ID
  314. type: integer
  315. marketname:
  316. description: 市场名称
  317. type: string
  318. tradedate:
  319. description: 交易日(yyyyMMdd)
  320. type: string
  321. userid:
  322. description: 申请人ID
  323. type: integer
  324. required:
  325. - cancelid
  326. type: object
  327. cptrade.Cptradepresaleapply:
  328. properties:
  329. accountid:
  330. description: 申请人账户ID
  331. type: integer
  332. applyid:
  333. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  334. type: integer
  335. applyremark:
  336. description: 申请备注
  337. type: string
  338. applystatus:
  339. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  340. type: integer
  341. applytime:
  342. description: 申请时间
  343. type: string
  344. attachmenturl:
  345. description: 附件地址
  346. type: string
  347. endtime:
  348. description: 预售结束时间
  349. type: string
  350. goodscode:
  351. description: 商品代码
  352. type: string
  353. goodsid:
  354. description: 商品ID
  355. type: integer
  356. goodsname:
  357. description: 商品名称
  358. type: string
  359. goodunit:
  360. description: 报价单位
  361. type: string
  362. handlestatus:
  363. description: 处理状态
  364. type: integer
  365. marketid:
  366. description: 预售市场ID
  367. type: integer
  368. marketname:
  369. description: 预售市场名称
  370. type: string
  371. presaleqty:
  372. description: 预售数量
  373. type: integer
  374. relatedgoodscode:
  375. description: 关联交易合约代码
  376. type: string
  377. relatedgoodsid:
  378. description: 关联交易合约ID
  379. type: integer
  380. relatedgoodsname:
  381. description: 关联交易合约名称
  382. type: string
  383. starttime:
  384. description: 预售开始时间
  385. type: string
  386. tradedate:
  387. description: 交易日(yyyyMMdd)
  388. type: string
  389. trademode:
  390. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  391. type: integer
  392. userid:
  393. description: 申请人ID
  394. type: integer
  395. required:
  396. - applyid
  397. type: object
  398. cptrade.Cptradeusergoodsdata:
  399. properties:
  400. EnabledQty:
  401. description: 可用量
  402. type: integer
  403. GoodsCode:
  404. description: 订单商品代码
  405. type: string
  406. GoodsName:
  407. description: 订单商品名称
  408. type: string
  409. WRStandardCode:
  410. description: 仓单标准代码
  411. type: string
  412. WRStandardName:
  413. description: 仓单标准名称
  414. type: string
  415. accountid:
  416. description: 账户ID
  417. type: integer
  418. cancelqty:
  419. description: 注销量
  420. type: integer
  421. curpresaleqty:
  422. description: 当前预售量
  423. type: integer
  424. deliveryqty:
  425. description: 交割量
  426. type: integer
  427. freezeamount:
  428. description: 冻结金额
  429. type: number
  430. goodsid:
  431. description: 商品ID
  432. type: integer
  433. goodunit:
  434. description: 报价单位
  435. type: string
  436. hasspotfreeze:
  437. description: 是否有现货冻结 - 0:否 1:有
  438. type: integer
  439. inqty:
  440. description: 转入量(总数量)
  441. type: integer
  442. marketid:
  443. description: 市场ID
  444. type: integer
  445. presaledamount:
  446. description: 已预售总金额
  447. type: integer
  448. presaledqty:
  449. description: 已预售量
  450. type: integer
  451. userid:
  452. description: 用户ID
  453. type: integer
  454. wrstandardid:
  455. description: 仓单标准ID
  456. type: integer
  457. required:
  458. - accountid
  459. - goodsid
  460. type: object
  461. cptrade.QueryCPTradeMyBidRsp:
  462. properties:
  463. accountid:
  464. description: 账户ID[报价币种]
  465. type: integer
  466. goodsid:
  467. description: 商品ID
  468. type: integer
  469. goodunit:
  470. description: 报价单位
  471. type: string
  472. marketid:
  473. description: 市场ID
  474. type: integer
  475. orderid:
  476. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  477. type: integer
  478. orderprice:
  479. description: 委托价格
  480. type: number
  481. orderqty:
  482. description: 委托数量
  483. type: integer
  484. ordertime:
  485. description: 委托时间
  486. type: string
  487. ordertotalprice:
  488. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  489. type: number
  490. ordertotalweight:
  491. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  492. type: integer
  493. totaltotalprice:
  494. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  495. type: number
  496. tradeprice:
  497. description: 成交价格
  498. type: number
  499. tradeqty:
  500. description: 成交数量
  501. type: integer
  502. required:
  503. - accountid
  504. - goodsid
  505. - marketid
  506. - orderid
  507. - orderqty
  508. - ordertime
  509. - tradeprice
  510. - tradeqty
  511. type: object
  512. cptrade.QueryCPTradeOrderDetailRsq:
  513. properties:
  514. accountid:
  515. description: 账户ID[报价币种]
  516. type: integer
  517. buildtype:
  518. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  519. type: integer
  520. buyorsell:
  521. description: 买卖 - 0:买 1:卖
  522. type: integer
  523. cancelorderid:
  524. description: 撤单单号(撤单时填写)
  525. type: integer
  526. cancelqty:
  527. description: 撤单数量
  528. type: integer
  529. clientordertime:
  530. description: 客户端委托时间
  531. type: string
  532. clientticket:
  533. description: 客户端流水号
  534. type: string
  535. clienttype:
  536. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  537. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  538. type: integer
  539. closeexchagechargevalue:
  540. description: 平仓交易所手续费设置值
  541. type: number
  542. closefeealgorithm:
  543. description: 平仓手续费收取方式 1:比率 2:固定
  544. type: integer
  545. closefreezecharge:
  546. description: 平仓冻结手续费(先建后平操作,需要记录)
  547. type: number
  548. closememberchargevalue:
  549. description: 平仓会员手续费设置值
  550. type: number
  551. closeqty:
  552. description: 平仓数量(先建后平操作 需要记录)
  553. type: integer
  554. closetradeqty:
  555. description: 平仓成交数量(先建后平操作,需要记录)
  556. type: integer
  557. closeunfreezecharge:
  558. description: 平仓解冻手续费(先建后平操作,需要记录)
  559. type: number
  560. delistingtype:
  561. description: 摘牌类型 - 1:价格最优 2:点选成交
  562. type: integer
  563. freezecharge:
  564. description: 冻结手续费
  565. type: number
  566. freezemargin:
  567. description: 冻结保证金(冻结交易金额)
  568. type: number
  569. gcaccountid:
  570. description: 账户ID[合约币种]
  571. type: integer
  572. goodsid:
  573. description: 商品ID
  574. type: integer
  575. isconfirmexercise:
  576. description: 是否确认行权- 0:否 1:是
  577. type: integer
  578. ispreexercise:
  579. description: 是否预申报- 0:否 1:是
  580. type: integer
  581. listingselecttype:
  582. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  583. type: integer
  584. marginalgorithm:
  585. description: 保证金收取方式 1:比率 2:固定
  586. type: integer
  587. marginvalue:
  588. description: 即市保证金设置值
  589. type: number
  590. marketid:
  591. description: 市场ID
  592. type: integer
  593. marketmaxsub:
  594. description: 市价最大偏移范围
  595. type: number
  596. memberuserid:
  597. description: 所属会员UserID
  598. type: integer
  599. openexchagechargevalue:
  600. description: 建仓交易所手续费设置值
  601. type: number
  602. openfeealgorithm:
  603. description: 建仓手续费收取方式 1:比率 2:固定
  604. type: integer
  605. openfreezecharge:
  606. description: 开仓冻结手续费(先建后平操作,需要记录)
  607. type: number
  608. openmemberchargevalue:
  609. description: 建仓会员手续费设置值
  610. type: number
  611. openqty:
  612. description: 开仓数量(先建后平操作,需要记录)
  613. type: integer
  614. opentradeqty:
  615. description: 开仓成交数量(先建后平操作,需要记录)
  616. type: integer
  617. openunfreezecharge:
  618. description: 开仓解冻手续费(先建后平操作,需要记录)
  619. type: number
  620. operatetype:
  621. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  622. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  623. 15:管理端协议转让
  624. type: integer
  625. operatorid:
  626. description: 登录账号(LoginID)
  627. type: integer
  628. optiontype:
  629. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  630. type: integer
  631. orderprice:
  632. description: 委托价格
  633. type: number
  634. orderqty:
  635. description: 委托数量
  636. type: integer
  637. ordersrc:
  638. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  639. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  640. type: integer
  641. orderstatus:
  642. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  643. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  644. 16:成交失败违约(荷兰式竞拍专用)
  645. type: integer
  646. ordertime:
  647. description: 委托时间
  648. type: string
  649. preexerciseprice:
  650. description: 预申报价格
  651. type: number
  652. premium:
  653. description: 权利金
  654. type: number
  655. preorderid:
  656. description: 关联预埋单号(止盈止损单时填写)
  657. type: integer
  658. pricemode:
  659. description: '取价方式 - 1:市价 2: 限价'
  660. type: integer
  661. quoteid:
  662. description: 报价单ID
  663. type: integer
  664. relatedid:
  665. description: 关联单号(交割单)
  666. type: integer
  667. retcode:
  668. description: 错误代码
  669. type: integer
  670. sessionid:
  671. description: 会话ID
  672. type: integer
  673. strorderid:
  674. description: 委托单号
  675. type: string
  676. tradedate:
  677. description: 交易日(yyyyMMdd)
  678. type: string
  679. tradeproperty:
  680. description: 交易属性
  681. type: integer
  682. tradeqty:
  683. description: 成交数量
  684. type: integer
  685. unfreezecharge:
  686. description: 解冻手续费
  687. type: number
  688. unfreezemargin:
  689. description: 解冻保证金
  690. type: number
  691. updatetime:
  692. description: 更新时间
  693. type: string
  694. uuid:
  695. description: 发起端唯一id
  696. type: string
  697. validtime:
  698. description: 有效期限
  699. type: string
  700. validtype:
  701. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  702. type: integer
  703. volumetype:
  704. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  705. type: integer
  706. required:
  707. - accountid
  708. - buildtype
  709. - buyorsell
  710. - goodsid
  711. - marketid
  712. - memberuserid
  713. - operatetype
  714. - orderqty
  715. - ordertime
  716. - pricemode
  717. - strorderid
  718. - tradedate
  719. - validtype
  720. type: object
  721. cptrade.QueryMyCPTradeGoodsRsp:
  722. properties:
  723. accountid:
  724. description: 卖方账户ID
  725. type: integer
  726. agreeunit:
  727. description: 合约单位
  728. type: number
  729. applyid:
  730. description: 关联申请ID
  731. type: integer
  732. attachmenturl:
  733. description: 附件地址
  734. type: string
  735. createtime:
  736. description: 创建时间
  737. type: string
  738. currencyid:
  739. description: 报价货币ID
  740. type: integer
  741. decimalplace:
  742. description: 报价小数位
  743. type: integer
  744. endtime:
  745. description: 预售结束时间
  746. type: string
  747. floorprice:
  748. description: 底价[大宗式竞拍]
  749. type: number
  750. goodscode:
  751. description: 商品代码(预售)
  752. type: string
  753. goodsdetail:
  754. description: 详情[大宗]
  755. type: string
  756. goodsid:
  757. description: 商品ID(自增ID SEQ_GOODS)
  758. type: integer
  759. goodsname:
  760. description: 商品名称(预售)
  761. type: string
  762. goodunit:
  763. description: 报价单位
  764. type: string
  765. goodunitid:
  766. description: 报价单位ID
  767. type: integer
  768. marketid:
  769. description: 所属市场ID
  770. type: integer
  771. marketname:
  772. description: 预售市场名称
  773. type: string
  774. presaledamount:
  775. description: 已预售总金额(预售结束时更新)
  776. type: number
  777. presaledqty:
  778. description: 已预售量(预售结束时更新)
  779. type: integer
  780. presalemode:
  781. description: 预售模式 - 1:一口价 2:大宗式竞拍
  782. type: integer
  783. presaleqty:
  784. description: 预售数量
  785. type: integer
  786. refprice:
  787. description: 参考价格[一口价]
  788. type: number
  789. relatedgoodscode:
  790. description: 商品代码(订单)
  791. type: string
  792. relatedgoodsid:
  793. description: 关联交易合约ID
  794. type: integer
  795. relatedgoodsname:
  796. description: 商品名称(订单)
  797. type: string
  798. relatedmarketid:
  799. description: 关联交易合约市场ID
  800. type: integer
  801. sellstatus:
  802. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  803. type: integer
  804. startprice:
  805. description: 起拍价[大宗式竞拍]
  806. type: number
  807. starttime:
  808. description: 预售开始时间
  809. type: string
  810. tradedate:
  811. description: 交易日(yyyyMMdd)
  812. type: string
  813. tradeprice:
  814. description: 成交价[大宗]
  815. type: number
  816. userid:
  817. description: 卖方用户ID
  818. type: integer
  819. required:
  820. - goodscode
  821. - goodsid
  822. - goodsname
  823. - marketid
  824. - relatedgoodscode
  825. - relatedgoodsname
  826. type: object
  827. cptrade.QueryPresaleGoodsExRsp:
  828. properties:
  829. attachmenturl:
  830. description: 附件地址
  831. type: string
  832. createtime:
  833. description: 创建时间
  834. type: string
  835. endtime:
  836. description: 预售结束时间
  837. type: string
  838. floorprice:
  839. description: 底价[大宗式竞拍]
  840. type: number
  841. goodsdetail:
  842. description: 详情[大宗]
  843. type: string
  844. goodsid:
  845. description: 商品ID(预售)
  846. type: integer
  847. goodunit:
  848. description: 报价单位
  849. type: string
  850. marketid:
  851. description: 预售市场ID - 根据预售模式选择市场
  852. type: integer
  853. presaledamount:
  854. description: 已预售总金额(预售结束时更新)
  855. type: number
  856. presaledqty:
  857. description: 已预售量(预售结束时更新)
  858. type: integer
  859. presalemode:
  860. description: 预售模式 - 1:一口价 2:大宗式竞拍
  861. type: integer
  862. presaleqty:
  863. description: 预售数量
  864. type: integer
  865. refprice:
  866. description: 参考价格[一口价]
  867. type: number
  868. relatedgoodsid:
  869. description: 关联交易合约ID
  870. type: integer
  871. relatedmarketid:
  872. description: 关联交易合约市场ID
  873. type: integer
  874. sellstatus:
  875. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  876. type: integer
  877. startprice:
  878. description: 起拍价[大宗式竞拍]
  879. type: number
  880. starttime:
  881. description: 预售开始时间
  882. type: string
  883. tradedate:
  884. description: 交易日(yyyyMMdd)
  885. type: string
  886. tradeprice:
  887. description: 成交价[大宗]
  888. type: number
  889. required:
  890. - goodsid
  891. type: object
  892. delivery.QueryDeliveryRelationRsp:
  893. properties:
  894. begindate:
  895. description: 起始日期(yyyyMMdd)
  896. type: string
  897. buytemplateid:
  898. description: 买履约计划模板ID
  899. type: integer
  900. deliverygoodscode:
  901. description: 品种代码
  902. type: string
  903. deliverygoodsid:
  904. description: 交割商品
  905. type: integer
  906. deliverygoodsname:
  907. description: 品种名称
  908. type: string
  909. deliverymode:
  910. description: 交割方式 - 1:点选式 2:申报式
  911. type: integer
  912. deliverypricerule:
  913. description: 交割价规则- 1:行情价 2:建仓价
  914. type: integer
  915. deliverytype:
  916. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  917. type: integer
  918. enddate:
  919. description: 结束日期(yyyyMMdd)
  920. type: string
  921. enumdicname:
  922. description: 品类单位名称
  923. type: string
  924. goodscode:
  925. description: 商品代码
  926. type: string
  927. goodsid:
  928. description: 交易合约ID
  929. type: integer
  930. goodsname:
  931. description: 商品名称
  932. type: string
  933. marketid:
  934. description: 市场ID
  935. type: integer
  936. mindeliveryqty:
  937. description: 最小交割系数(K)
  938. type: integer
  939. p2deliveryprice:
  940. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  941. type: number
  942. p2deliveryratio:
  943. description: P2合约系数(p)
  944. type: integer
  945. p2goodsid:
  946. description: P2合约ID
  947. type: integer
  948. p2pricemode:
  949. description: P2合约价格方式 - 1:商品价 2:固定值
  950. type: integer
  951. pdeliveryprice:
  952. description: P合约价格(商品价时填写0,固定值时填写固定值)
  953. type: number
  954. pdeliveryratio:
  955. description: P合约系数(n)
  956. type: integer
  957. pgoodscode:
  958. description: p合约代码
  959. type: string
  960. pgoodsid:
  961. description: P合约ID
  962. type: integer
  963. ppricemode:
  964. description: P合约价格方式 - 1:商品价 2:固定值
  965. type: integer
  966. rratio:
  967. description: 兑换系数(R)
  968. type: integer
  969. rratio1:
  970. description: 兑换系数(交易合约)(R1)
  971. type: integer
  972. rratio2:
  973. description: 兑换系数(仓单标准)(R2)
  974. type: integer
  975. selltemplateid:
  976. description: 卖履约计划模板ID
  977. type: integer
  978. wrstandardid:
  979. description: 仓单标准ID
  980. type: integer
  981. xdeliveryratio:
  982. description: 交易合约系数(m)
  983. type: integer
  984. required:
  985. - begindate
  986. - enddate
  987. - goodsid
  988. - mindeliveryqty
  989. - xdeliveryratio
  990. type: object
  991. ermcp.ExposureDetailRsp:
  992. properties:
  993. areauserid:
  994. description: 机构ID
  995. type: integer
  996. changeQty:
  997. description: 套保变动量
  998. type: number
  999. contracttype:
  1000. description: 现货合同类型 - 1:采购 -1:销售
  1001. type: integer
  1002. convertfactor:
  1003. description: 标仓系数
  1004. type: number
  1005. convertratio:
  1006. description: 套保系数
  1007. type: number
  1008. createtime:
  1009. description: 时间
  1010. type: string
  1011. enumdicname:
  1012. description: 现货商品单位名称
  1013. type: string
  1014. logtype:
  1015. description: 类型 - 1:套保计划 2:现货合同
  1016. type: integer
  1017. middlegoodsId:
  1018. description: 套保商品id
  1019. type: integer
  1020. middlegoodscode:
  1021. description: 套保商品代码
  1022. type: string
  1023. middlegoodsname:
  1024. description: 套保商品名称
  1025. type: string
  1026. qty:
  1027. description: 数量
  1028. type: number
  1029. relateNo:
  1030. description: 现货合同/套保计划编号
  1031. type: string
  1032. wrstandardcode:
  1033. description: 现货商品代码
  1034. type: string
  1035. wrstandardid:
  1036. description: 现货商品ID
  1037. type: integer
  1038. wrstandardname:
  1039. description: 现货商品名称
  1040. type: string
  1041. type: object
  1042. ermcp.ExposureHedgePosDetailRsp:
  1043. properties:
  1044. buyorsell:
  1045. description: 买卖方向 0-买 1-卖
  1046. type: integer
  1047. channelbuildtype:
  1048. description: 开平方向 1-建仓 2-平仓
  1049. type: integer
  1050. goodscode:
  1051. description: 商品代码
  1052. type: string
  1053. goodsname:
  1054. description: 商品名称
  1055. type: string
  1056. hedgegoodsid:
  1057. description: 商品id
  1058. type: integer
  1059. tradeqty:
  1060. description: 数量(成交数量)
  1061. type: integer
  1062. tradetime:
  1063. description: 时间(成交时间)
  1064. type: string
  1065. type: object
  1066. ermcp.ExposureHedgePositionRsp:
  1067. properties:
  1068. accountid:
  1069. description: 资金账号[外部母账户]
  1070. type: integer
  1071. curbuyposition:
  1072. description: 期末买头寸
  1073. type: integer
  1074. cursellposition:
  1075. description: 期末卖头寸
  1076. type: integer
  1077. curtdbuyposition:
  1078. description: 期末今日买头寸
  1079. type: integer
  1080. curtdsellposition:
  1081. description: 期末今日卖头寸
  1082. type: integer
  1083. curydbuyposition:
  1084. description: 期末上日买头寸
  1085. type: integer
  1086. curydsellposition:
  1087. description: 期末上日卖头寸
  1088. type: integer
  1089. decreaseqty:
  1090. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  1091. type: integer
  1092. fretdbuyposition:
  1093. description: 冻结今日买头寸
  1094. type: integer
  1095. fretdsellposition:
  1096. description: 冻结今日卖头寸
  1097. type: integer
  1098. freydbuyposition:
  1099. description: 冻结上日买头寸
  1100. type: integer
  1101. freydsellposition:
  1102. description: 冻结上日卖头寸
  1103. type: integer
  1104. goodscode:
  1105. description: 商品代码
  1106. type: string
  1107. goodsid:
  1108. description: 商品id
  1109. type: integer
  1110. goodsname:
  1111. description: 商品名称
  1112. type: string
  1113. hedgeaccountcode:
  1114. description: 对冲账号
  1115. type: string
  1116. hedgegoodsid:
  1117. description: 对冲合约ID
  1118. type: integer
  1119. increaseqty:
  1120. description: 增加数量 = 期末买头寸 - 期初买头寸
  1121. type: integer
  1122. marketid:
  1123. description: 市场ID
  1124. type: integer
  1125. relateduserid:
  1126. description: 关联用户id
  1127. type: integer
  1128. totalcurqty:
  1129. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  1130. type: integer
  1131. totalydqty:
  1132. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  1133. type: integer
  1134. tradedate:
  1135. description: 交易日(yyyyMMdd)
  1136. type: string
  1137. ydbuyposition:
  1138. description: 期初买头寸
  1139. type: integer
  1140. ydsellposition:
  1141. description: 期初卖头寸
  1142. type: integer
  1143. type: object
  1144. ermcp.ExposureSpotDetailRsp:
  1145. properties:
  1146. contracttype:
  1147. description: 合同类型 1-采购 -1-销售
  1148. type: integer
  1149. createtime:
  1150. description: 创建时间
  1151. type: string
  1152. enumdicname:
  1153. description: 现货商品单位名称
  1154. type: string
  1155. logtype:
  1156. description: 记录类型 1-套保 2-现货合同
  1157. type: integer
  1158. qty:
  1159. description: 数量
  1160. type: number
  1161. recordname:
  1162. description: 类型名称
  1163. type: string
  1164. relatedid:
  1165. description: 套保计划ID/现货合同ID
  1166. type: string
  1167. relatedno:
  1168. description: 编号
  1169. type: string
  1170. strtime:
  1171. description: 时间
  1172. type: string
  1173. wrstandardcode:
  1174. description: 现货商品代码
  1175. type: string
  1176. wrstandardname:
  1177. description: 现货商品名称
  1178. type: string
  1179. type: object
  1180. ermcp.ExposureSpotRsp:
  1181. properties:
  1182. areauserid:
  1183. description: 所属机构
  1184. type: integer
  1185. decreaseqty:
  1186. description: 减少数量=-(销售已定价数量+采购计划数量)
  1187. type: number
  1188. increaseqty:
  1189. description: 增加数量=销售计划数量+采购已定价数量
  1190. type: number
  1191. oritoalspotqty:
  1192. description: 昨日数量
  1193. type: number
  1194. totalspotqty:
  1195. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  1196. type: number
  1197. updatetime:
  1198. description: 更新时间
  1199. type: string
  1200. wrstandardcode:
  1201. description: 现货品种代码
  1202. type: string
  1203. wrstandardid:
  1204. description: 现货商品ID
  1205. type: integer
  1206. wrstandardname:
  1207. description: 现货品种
  1208. type: string
  1209. type: object
  1210. ermcp.HisExposureRsp:
  1211. properties:
  1212. data:
  1213. description: 历史敞口
  1214. items:
  1215. $ref: '#/definitions/models.ErmcpHisExposure'
  1216. type: array
  1217. enumdicname:
  1218. description: 单位名称
  1219. type: string
  1220. middlegoodscode:
  1221. description: 套保品种代码
  1222. type: string
  1223. middlegoodsid:
  1224. description: 套保品种ID
  1225. type: integer
  1226. middlegoodsname:
  1227. description: 套保品种名称
  1228. type: string
  1229. type: object
  1230. ermcp.PendingAuditCntRsp:
  1231. properties:
  1232. areastockqty:
  1233. description: '待审核数量: 库存申请'
  1234. type: integer
  1235. businessdjqty:
  1236. description: '待审核数量: 点价'
  1237. type: integer
  1238. businessfpqty:
  1239. description: '待审核数量: 发票'
  1240. type: integer
  1241. businessjsqty:
  1242. description: '待审核数量: 结算'
  1243. type: integer
  1244. businesskxqty:
  1245. description: '待审核数量: 款项'
  1246. type: integer
  1247. hedgeplanqty:
  1248. description: '待审核数量: 套保计划'
  1249. type: integer
  1250. spotcontractqty:
  1251. description: '待审核数量: 现货合同'
  1252. type: integer
  1253. userqty:
  1254. description: '待审核数量: 用户'
  1255. type: integer
  1256. type: object
  1257. ermcp.QryAvalidGPRsp:
  1258. properties:
  1259. goodsgroupid:
  1260. description: 期货品种id
  1261. type: integer
  1262. goodsgroupname:
  1263. description: 期货品种名称
  1264. type: string
  1265. goodunitid:
  1266. description: 品种单位id
  1267. type: integer
  1268. goodunitname:
  1269. description: 品种单位名称
  1270. type: string
  1271. outergroupcode:
  1272. description: 期货品种代码
  1273. type: string
  1274. type: object
  1275. ermcp.QryBusinessDjRsp:
  1276. properties:
  1277. amount:
  1278. description: 点价金额=(点价价格+升贴水)*点价数量
  1279. type: number
  1280. applyid:
  1281. description: 申请人
  1282. type: string
  1283. applyname:
  1284. description: 申请人名称
  1285. type: string
  1286. applystatus:
  1287. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1288. type: integer
  1289. applytime:
  1290. description: 申请时间
  1291. type: string
  1292. attachurl:
  1293. description: 附件
  1294. type: string
  1295. auditid:
  1296. description: 审核人ID
  1297. type: string
  1298. auditname:
  1299. description: 审核人名称
  1300. type: string
  1301. auditremark:
  1302. description: 审核备注
  1303. type: string
  1304. audittime:
  1305. description: 审核时间
  1306. type: string
  1307. buyusername:
  1308. description: 采购方名称
  1309. type: string
  1310. contractno:
  1311. description: 合同编号
  1312. type: string
  1313. contractstatus:
  1314. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1315. type: integer
  1316. contracttype:
  1317. description: 现货合同类型 - 1:采购 -1:销售
  1318. type: integer
  1319. deliverygoodscode:
  1320. description: 现货品种代码
  1321. type: string
  1322. deliverygoodsid:
  1323. description: 现货商品ID
  1324. type: integer
  1325. deliverygoodsname:
  1326. description: 现货品种名称
  1327. type: string
  1328. enumdicname:
  1329. description: 单位名称
  1330. type: string
  1331. goodscode:
  1332. description: 点价合约
  1333. type: string
  1334. goodsname:
  1335. description: 商品名称
  1336. type: string
  1337. operateapplyid:
  1338. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1339. type: string
  1340. operateapplytype:
  1341. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1342. type: integer
  1343. pricedPrice:
  1344. description: 点价价格(非必填)
  1345. type: number
  1346. pricedQty:
  1347. description: 点价数量(非必填)
  1348. type: number
  1349. pricemove:
  1350. description: 升贴水
  1351. type: number
  1352. pricetype:
  1353. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1354. type: integer
  1355. relatedid:
  1356. description: 现货合同ID
  1357. type: string
  1358. sellusername:
  1359. description: 销售方名字
  1360. type: string
  1361. userid:
  1362. description: 用户ID
  1363. type: integer
  1364. wrstandardcode:
  1365. description: 品类代码
  1366. type: string
  1367. wrstandardid:
  1368. description: 品类id
  1369. type: integer
  1370. wrstandardname:
  1371. description: 品类名称
  1372. type: string
  1373. type: object
  1374. ermcp.QryBussinessFpRsp:
  1375. properties:
  1376. applyid:
  1377. description: 申请人
  1378. type: string
  1379. applyname:
  1380. description: 申请人名称
  1381. type: string
  1382. applystatus:
  1383. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1384. type: integer
  1385. applytime:
  1386. description: 申请时间
  1387. type: string
  1388. attachurl:
  1389. description: 附件
  1390. type: string
  1391. auditid:
  1392. description: 审核人ID
  1393. type: string
  1394. auditname:
  1395. description: 审核人名称
  1396. type: string
  1397. auditremark:
  1398. description: 审核备注
  1399. type: string
  1400. audittime:
  1401. description: 审核时间
  1402. type: string
  1403. buyusername:
  1404. description: 采购方名称
  1405. type: string
  1406. contractno:
  1407. description: 合同编号
  1408. type: string
  1409. contractstatus:
  1410. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1411. type: integer
  1412. contracttype:
  1413. description: 现货合同类型 - 1:采购 -1:销售
  1414. type: integer
  1415. deliverygoodscode:
  1416. description: 现货品种代码
  1417. type: string
  1418. deliverygoodsid:
  1419. description: 现货商品ID
  1420. type: integer
  1421. deliverygoodsname:
  1422. description: 现货品种名称
  1423. type: string
  1424. enumdicname:
  1425. description: 单位名称
  1426. type: string
  1427. goodscode:
  1428. description: 点价合约
  1429. type: string
  1430. goodsname:
  1431. description: 商品名称
  1432. type: string
  1433. invoiceamount:
  1434. description: 已开收票金额(销售为开票,采购为收票)
  1435. type: number
  1436. operateapplyid:
  1437. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1438. type: string
  1439. operateapplytype:
  1440. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1441. type: integer
  1442. pricemove:
  1443. description: 升贴水
  1444. type: number
  1445. pricetype:
  1446. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1447. type: integer
  1448. relatedid:
  1449. description: 现货合同ID
  1450. type: string
  1451. sellusername:
  1452. description: 销售方名字
  1453. type: string
  1454. userid:
  1455. description: 用户ID
  1456. type: integer
  1457. wrstandardcode:
  1458. description: 品类代码
  1459. type: string
  1460. wrstandardid:
  1461. description: 品类id
  1462. type: integer
  1463. wrstandardname:
  1464. description: 品类名称
  1465. type: string
  1466. type: object
  1467. ermcp.QryBussinessJsExRsp:
  1468. properties:
  1469. applyid:
  1470. description: 申请人
  1471. type: string
  1472. applyname:
  1473. description: 申请人名称
  1474. type: string
  1475. applystatus:
  1476. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1477. type: integer
  1478. applytime:
  1479. description: 申请时间
  1480. type: string
  1481. attachurl:
  1482. description: 附件
  1483. type: string
  1484. auditid:
  1485. description: 审核人ID
  1486. type: string
  1487. auditname:
  1488. description: 审核人名称
  1489. type: string
  1490. auditremark:
  1491. description: 审核备注
  1492. type: string
  1493. audittime:
  1494. description: 审核时间
  1495. type: string
  1496. buyusername:
  1497. description: 采购方名称
  1498. type: string
  1499. contractno:
  1500. description: 合同编号
  1501. type: string
  1502. contractstatus:
  1503. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1504. type: integer
  1505. contracttype:
  1506. description: 现货合同类型 - 1:采购 -1:销售
  1507. type: integer
  1508. deliverygoodscode:
  1509. description: 现货品种代码
  1510. type: string
  1511. deliverygoodsid:
  1512. description: 现货商品ID
  1513. type: integer
  1514. deliverygoodsname:
  1515. description: 现货品种名称
  1516. type: string
  1517. enumdicname:
  1518. description: 单位名称
  1519. type: string
  1520. goodscode:
  1521. description: 点价合约
  1522. type: string
  1523. goodsname:
  1524. description: 商品名称
  1525. type: string
  1526. operateapplyid:
  1527. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1528. type: string
  1529. operateapplytype:
  1530. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1531. type: integer
  1532. pricemove:
  1533. description: 升贴水
  1534. type: number
  1535. pricetype:
  1536. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1537. type: integer
  1538. reckontype:
  1539. description: 结算类型
  1540. type: string
  1541. reckonvalue:
  1542. description: 值
  1543. type: number
  1544. relatedid:
  1545. description: 现货合同ID
  1546. type: string
  1547. sellusername:
  1548. description: 销售方名字
  1549. type: string
  1550. userid:
  1551. description: 用户ID
  1552. type: integer
  1553. wrstandardcode:
  1554. description: 品类代码
  1555. type: string
  1556. wrstandardid:
  1557. description: 品类id
  1558. type: integer
  1559. wrstandardname:
  1560. description: 品类名称
  1561. type: string
  1562. type: object
  1563. ermcp.QryBussinessJsRsp:
  1564. properties:
  1565. addmargin:
  1566. description: 追加保证金(非必填)
  1567. type: number
  1568. applyid:
  1569. description: 申请人
  1570. type: string
  1571. applyname:
  1572. description: 申请人名称
  1573. type: string
  1574. applystatus:
  1575. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1576. type: integer
  1577. applytime:
  1578. description: 申请时间
  1579. type: string
  1580. attachurl:
  1581. description: 附件
  1582. type: string
  1583. auditid:
  1584. description: 审核人ID
  1585. type: string
  1586. auditname:
  1587. description: 审核人名称
  1588. type: string
  1589. auditremark:
  1590. description: 审核备注
  1591. type: string
  1592. audittime:
  1593. description: 审核时间
  1594. type: string
  1595. buyusername:
  1596. description: 采购方名称
  1597. type: string
  1598. contractno:
  1599. description: 合同编号
  1600. type: string
  1601. contractstatus:
  1602. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1603. type: integer
  1604. contracttype:
  1605. description: 现货合同类型 - 1:采购 -1:销售
  1606. type: integer
  1607. decmargin:
  1608. description: 减少保证金(非必填)
  1609. type: number
  1610. deliverygoodscode:
  1611. description: 现货品种代码
  1612. type: string
  1613. deliverygoodsid:
  1614. description: 现货商品ID
  1615. type: integer
  1616. deliverygoodsname:
  1617. description: 现货品种名称
  1618. type: string
  1619. enumdicname:
  1620. description: 单位名称
  1621. type: string
  1622. goodscode:
  1623. description: 点价合约
  1624. type: string
  1625. goodsname:
  1626. description: 商品名称
  1627. type: string
  1628. operateapplyid:
  1629. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1630. type: string
  1631. operateapplytype:
  1632. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1633. type: integer
  1634. pricemove:
  1635. description: 升贴水
  1636. type: number
  1637. pricetype:
  1638. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1639. type: integer
  1640. reckonadjustamount:
  1641. description: 结算调整金额(非必填)
  1642. type: number
  1643. reckonosamount:
  1644. description: 结算溢短金额(非必填)
  1645. type: number
  1646. reckonotheramount:
  1647. description: 结算其他费用(非必填)
  1648. type: number
  1649. reckonrealqty:
  1650. description: 结算实际数量(非必填)
  1651. type: number
  1652. relatedid:
  1653. description: 现货合同ID
  1654. type: string
  1655. sellusername:
  1656. description: 销售方名字
  1657. type: string
  1658. userid:
  1659. description: 用户ID
  1660. type: integer
  1661. wrstandardcode:
  1662. description: 品类代码
  1663. type: string
  1664. wrstandardid:
  1665. description: 品类id
  1666. type: integer
  1667. wrstandardname:
  1668. description: 品类名称
  1669. type: string
  1670. type: object
  1671. ermcp.QryBussinessKxRsp:
  1672. properties:
  1673. applyid:
  1674. description: 申请人
  1675. type: string
  1676. applyname:
  1677. description: 申请人名称
  1678. type: string
  1679. applystatus:
  1680. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1681. type: integer
  1682. applytime:
  1683. description: 申请时间
  1684. type: string
  1685. attachurl:
  1686. description: 附件
  1687. type: string
  1688. auditid:
  1689. description: 审核人ID
  1690. type: string
  1691. auditname:
  1692. description: 审核人名称
  1693. type: string
  1694. auditremark:
  1695. description: 审核备注
  1696. type: string
  1697. audittime:
  1698. description: 审核时间
  1699. type: string
  1700. buyusername:
  1701. description: 采购方名称
  1702. type: string
  1703. contractno:
  1704. description: 合同编号
  1705. type: string
  1706. contractstatus:
  1707. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1708. type: integer
  1709. contracttype:
  1710. description: 现货合同类型 - 1:采购 -1:销售
  1711. type: integer
  1712. deductamount:
  1713. description: 退款(非必填)
  1714. type: number
  1715. deliverygoodscode:
  1716. description: 现货品种代码
  1717. type: string
  1718. deliverygoodsid:
  1719. description: 现货商品ID
  1720. type: integer
  1721. deliverygoodsname:
  1722. description: 现货品种名称
  1723. type: string
  1724. enumdicname:
  1725. description: 单位名称
  1726. type: string
  1727. goodscode:
  1728. description: 点价合约
  1729. type: string
  1730. goodsname:
  1731. description: 商品名称
  1732. type: string
  1733. kxtype:
  1734. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1735. type: integer
  1736. operateapplyid:
  1737. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1738. type: string
  1739. operateapplytype:
  1740. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1741. type: integer
  1742. payamount:
  1743. description: 收付款(非必填)
  1744. type: number
  1745. pricemove:
  1746. description: 升贴水
  1747. type: number
  1748. pricetype:
  1749. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1750. type: integer
  1751. relatedid:
  1752. description: 现货合同ID
  1753. type: string
  1754. sellusername:
  1755. description: 销售方名字
  1756. type: string
  1757. userid:
  1758. description: 用户ID
  1759. type: integer
  1760. wrstandardcode:
  1761. description: 品类代码
  1762. type: string
  1763. wrstandardid:
  1764. description: 品类id
  1765. type: integer
  1766. wrstandardname:
  1767. description: 品类名称
  1768. type: string
  1769. type: object
  1770. ermcp.QryGGCovertCfgRsp:
  1771. properties:
  1772. convertratio:
  1773. description: 折算系数
  1774. type: number
  1775. destgoodsgroupid:
  1776. description: 目标品种ID
  1777. type: integer
  1778. dstcode:
  1779. description: 目录品种代码
  1780. type: string
  1781. dstexchangecode:
  1782. description: 目标期货交易所
  1783. type: string
  1784. dstname:
  1785. description: 目标品种名称
  1786. type: string
  1787. dstunitid:
  1788. description: 目标品种单位ID
  1789. type: integer
  1790. dstunitidname:
  1791. description: 目标品种单位名称
  1792. type: string
  1793. modifytime:
  1794. description: 修改时间
  1795. type: string
  1796. srccode:
  1797. description: 源品种代码
  1798. type: string
  1799. srcexchangecode:
  1800. description: 源期货交易所
  1801. type: string
  1802. srcgoodsgroupid:
  1803. description: 源品种ID
  1804. type: integer
  1805. srcname:
  1806. description: 源品种名称
  1807. type: string
  1808. srcunitid:
  1809. description: 源品种单位ID
  1810. type: integer
  1811. srcunitidname:
  1812. description: 源品种单位名称
  1813. type: string
  1814. type: object
  1815. ermcp.QryMGChangeLogRsp:
  1816. properties:
  1817. aftervalue:
  1818. description: 变更后
  1819. type: number
  1820. applyid:
  1821. description: 操作人
  1822. type: integer
  1823. applyname:
  1824. description: 操作人名称
  1825. type: string
  1826. applysrc:
  1827. description: 操作来源 - 1:管理端 2:终端
  1828. type: integer
  1829. beforevalue:
  1830. description: 变更前
  1831. type: number
  1832. changelogtype:
  1833. description: 变更流水类型 - 1:套保比率变更
  1834. type: integer
  1835. handlestatus:
  1836. description: 处理状态
  1837. type: integer
  1838. logdatetime:
  1839. description: 流水日期
  1840. type: string
  1841. logid:
  1842. description: 流水ID
  1843. type: integer
  1844. logremark:
  1845. description: 流水备注
  1846. type: string
  1847. middlegoodsid:
  1848. description: 套保品种ID
  1849. type: integer
  1850. tradedate:
  1851. description: 交易日(yyyyMMdd)
  1852. type: string
  1853. updatetime:
  1854. description: 更新时间
  1855. type: string
  1856. type: object
  1857. ermcp.QryMiddleGoodsDetailRsp:
  1858. properties:
  1859. cvList:
  1860. description: 期货品种折算列表
  1861. items:
  1862. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1863. type: array
  1864. mg:
  1865. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1866. description: 套保品种基本信息
  1867. wrcList:
  1868. description: 现货品种列表(现货商品折算配置)
  1869. items:
  1870. $ref: '#/definitions/models.WRSConverTDetail'
  1871. type: array
  1872. type: object
  1873. ermcp.QryMiddleGoodsRsp:
  1874. properties:
  1875. areauserid:
  1876. description: 机构用户ID
  1877. type: integer
  1878. createtime:
  1879. description: 修改时间
  1880. type: string
  1881. enumdicname:
  1882. description: 单位名称
  1883. type: string
  1884. evaluateratio:
  1885. description: 估价系数
  1886. type: number
  1887. goodsgroupid:
  1888. description: 关联期货品种ID
  1889. type: integer
  1890. goodsunitid:
  1891. description: 单位ID
  1892. type: integer
  1893. isvalid:
  1894. description: 状态 0-无效(停用) 1-有效(正常)
  1895. type: integer
  1896. middlegoodscode:
  1897. description: 套保品种代码
  1898. type: string
  1899. middlegoodsid:
  1900. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  1901. type: integer
  1902. middlegoodsname:
  1903. description: 套保品种名称
  1904. type: string
  1905. modifytime:
  1906. description: 修改时间
  1907. type: string
  1908. needarbitrageratio:
  1909. description: 套利比例
  1910. type: number
  1911. needhedgeratio:
  1912. description: 套保比率
  1913. type: number
  1914. qtydecimalplace:
  1915. description: 数量小数位
  1916. type: integer
  1917. relatedgoodsid:
  1918. description: 关联交易商品ID
  1919. type: integer
  1920. relatedgoodstype:
  1921. description: 关联商品类型 - 1:期货合约 2:现货品种
  1922. type: integer
  1923. remark:
  1924. description: 备注
  1925. type: string
  1926. type: object
  1927. ermcp.QryOPLogRsp:
  1928. properties:
  1929. aftervalue:
  1930. description: 变更后
  1931. type: number
  1932. applyid:
  1933. description: 操作人ID
  1934. type: string
  1935. applyname:
  1936. description: 操作人名称
  1937. type: string
  1938. beforevalue:
  1939. description: 变更前
  1940. type: number
  1941. biztype:
  1942. description: 业务类型 - 1:套保计划 2:现货合同
  1943. type: integer
  1944. contracttype:
  1945. description: 现货合同类型 - 1:采购 -1:销售
  1946. type: integer
  1947. logvalue:
  1948. description: 数值
  1949. type: number
  1950. operatelogtype:
  1951. description: 操作流水类型
  1952. type: integer
  1953. operatelogtypedesc:
  1954. description: 操作流水类型名称
  1955. type: string
  1956. relatedid:
  1957. description: 现货合同ID\套保计划
  1958. type: string
  1959. updatetime:
  1960. description: 更新时间
  1961. type: string
  1962. type: object
  1963. ermcp.QryUserInfoRsp:
  1964. properties:
  1965. address:
  1966. description: 通讯地址
  1967. type: string
  1968. attachment1:
  1969. description: 附件1
  1970. type: string
  1971. audittime:
  1972. description: 审核时间
  1973. type: string
  1974. cardbackphotourl:
  1975. description: 证件反面图片地址
  1976. type: string
  1977. cardfrontphotourl:
  1978. description: 证件正面图片地址
  1979. type: string
  1980. cardnum:
  1981. description: 证件号码
  1982. type: string
  1983. cardtype:
  1984. description: 证件类型
  1985. type: integer
  1986. cardtypename:
  1987. description: 证件类型名称
  1988. type: string
  1989. cityid:
  1990. description: 市
  1991. type: integer
  1992. contactname:
  1993. description: 联系人
  1994. type: string
  1995. countryid:
  1996. description: 国家
  1997. type: integer
  1998. createtime:
  1999. description: 创建时间
  2000. type: string
  2001. customername:
  2002. description: 企业名称
  2003. type: string
  2004. districtid:
  2005. description: 区域
  2006. type: integer
  2007. email:
  2008. description: 邮件
  2009. type: string
  2010. legalpersonname:
  2011. description: 法人姓名(企业)
  2012. type: string
  2013. memberuserid:
  2014. description: 所属机构ID
  2015. type: integer
  2016. mobile:
  2017. description: 手机号码
  2018. type: string
  2019. modifytime:
  2020. description: 修改时间
  2021. type: string
  2022. nickname:
  2023. description: 昵称
  2024. type: string
  2025. provinceid:
  2026. description: 省
  2027. type: integer
  2028. remark:
  2029. description: 备注
  2030. type: string
  2031. status:
  2032. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  2033. type: integer
  2034. statusdesc:
  2035. description: 账户状态中文描述
  2036. type: string
  2037. taxpayernum:
  2038. description: 纳税人识别号
  2039. type: string
  2040. telphone:
  2041. description: 联系电话
  2042. type: string
  2043. userid:
  2044. description: 用户ID
  2045. type: integer
  2046. userinfotype:
  2047. description: 客户类型
  2048. type: string
  2049. type: object
  2050. ermcp.QryWarehouseRsp:
  2051. properties:
  2052. address:
  2053. description: 详细地址
  2054. type: string
  2055. areauserid:
  2056. description: 所属机构
  2057. type: integer
  2058. autoid:
  2059. description: 自增ID(仓库ID)
  2060. type: integer
  2061. cityid:
  2062. description: 市
  2063. type: integer
  2064. contactname:
  2065. description: 联系人
  2066. type: string
  2067. contactnum:
  2068. description: 联系电话
  2069. type: string
  2070. countryid:
  2071. description: 国家
  2072. type: integer
  2073. createtime:
  2074. description: 创建时间
  2075. type: string
  2076. districtid:
  2077. description: 区
  2078. type: integer
  2079. hasvideo:
  2080. description: 是否有视频 - 0:无 1:有
  2081. type: integer
  2082. provinceid:
  2083. description: 省
  2084. type: integer
  2085. remark:
  2086. description: 审核备注
  2087. type: string
  2088. videourl:
  2089. description: 视频地址
  2090. type: string
  2091. warehousecode:
  2092. description: 仓库代码
  2093. type: string
  2094. warehousename:
  2095. description: 仓库名称
  2096. type: string
  2097. warehousestatus:
  2098. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  2099. type: integer
  2100. warehousetype:
  2101. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  2102. type: integer
  2103. type: object
  2104. ermcp.QueryErmcpTradePositionRsp:
  2105. properties:
  2106. agreeunit:
  2107. description: 合约单位
  2108. type: number
  2109. buyorsell:
  2110. description: 方向 - 0:买 1:卖
  2111. type: integer
  2112. curpositionqty:
  2113. description: 持仓(总仓数量, 期末头寸)
  2114. type: integer
  2115. curtdposition:
  2116. description: 今仓数量(期末今日头寸)
  2117. type: integer
  2118. curtdpositionenabled:
  2119. description: 今仓可用
  2120. type: integer
  2121. decimalplace:
  2122. description: 报价小数位
  2123. type: integer
  2124. enableqty:
  2125. description: 可用(总仓可用)
  2126. type: integer
  2127. exexchangename:
  2128. description: 外部交易所名称
  2129. type: string
  2130. exexehangecode:
  2131. description: 外部交易所代码
  2132. type: string
  2133. exexehangeid:
  2134. description: 外部交易所id
  2135. type: integer
  2136. goodscode:
  2137. description: 商品代码(内部)
  2138. type: string
  2139. goodsid:
  2140. description: 商品ID(自增ID SEQ_GOODS)
  2141. type: integer
  2142. goodsname:
  2143. description: 商品名称
  2144. type: string
  2145. last:
  2146. description: 现价
  2147. type: number
  2148. marketid:
  2149. description: 所属市场ID
  2150. type: integer
  2151. openaverageprice:
  2152. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  2153. type: number
  2154. opencost:
  2155. description: 开仓成本
  2156. type: number
  2157. openpl:
  2158. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  2159. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2160. type: number
  2161. outgoodscode:
  2162. description: 商品代码(外部)
  2163. type: string
  2164. positionaverageprice:
  2165. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  2166. type: number
  2167. positioncost:
  2168. description: 持仓成本
  2169. type: number
  2170. positionpl:
  2171. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  2172. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2173. type: number
  2174. positionplrate:
  2175. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  2176. type: number
  2177. usedmargin:
  2178. description: 占用保证金
  2179. type: number
  2180. type: object
  2181. ermcp.RealtimeExposurePositionRsp:
  2182. properties:
  2183. agreeunit:
  2184. description: 合约单位
  2185. type: string
  2186. areauserid:
  2187. description: 所属机构id
  2188. type: integer
  2189. convertratio:
  2190. description: 期货品种系数(折算系数)
  2191. type: number
  2192. curqty:
  2193. description: 当前持仓
  2194. type: integer
  2195. diffhedgeqty:
  2196. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  2197. type: number
  2198. diffqty:
  2199. description: 持仓变动量=当前持仓-昨日持仓
  2200. type: integer
  2201. goodscode:
  2202. description: 商品代码
  2203. type: string
  2204. goodsid:
  2205. description: 商品id
  2206. type: integer
  2207. goodsname:
  2208. description: 商品名称
  2209. type: string
  2210. middlegoodsid:
  2211. description: 套保商品id
  2212. type: integer
  2213. ydqty:
  2214. description: 昨日持仓
  2215. type: integer
  2216. type: object
  2217. ermcp.RealtimeExposureRsp:
  2218. properties:
  2219. AreaUserID:
  2220. description: 所属机构
  2221. type: integer
  2222. BuyFutureQty:
  2223. description: 买入期货数量
  2224. type: number
  2225. BuyPlanQty:
  2226. description: 采购计划数量
  2227. type: number
  2228. BuyPricedQty:
  2229. description: 采购合同已定价数量
  2230. type: number
  2231. MiddleGoodsCode:
  2232. description: 套保品种代码
  2233. type: string
  2234. MiddleGoodsHedgeRatio:
  2235. description: 套保比例
  2236. type: number
  2237. MiddleGoodsID:
  2238. description: 套保品种
  2239. type: integer
  2240. MiddleGoodsName:
  2241. description: 套保品种名称
  2242. type: string
  2243. NeedHedgeExposoure:
  2244. description: 应套保敞口(套保敞口)
  2245. type: number
  2246. NeedHedgeRatio:
  2247. description: 应套保敞口比例
  2248. type: number
  2249. OriBuyFutureQty:
  2250. description: 期初买入期货数量
  2251. type: number
  2252. OriBuyPlanQty:
  2253. description: 期初采购计划数量
  2254. type: number
  2255. OriBuyPricedQty:
  2256. description: 期初采购合同已定价数量
  2257. type: number
  2258. OriSellFutureQty:
  2259. description: 期初卖出期货数量
  2260. type: number
  2261. OriSellPlanQty:
  2262. description: 期初销售计划数量
  2263. type: number
  2264. OriSellPricedQty:
  2265. description: 期初销售合同已定价数量
  2266. type: number
  2267. OriTotalSpotQty:
  2268. description: 期初现货总量
  2269. type: number
  2270. SellFutureQty:
  2271. description: 卖出期货数量
  2272. type: number
  2273. SellPlanQty:
  2274. description: 销售计划数量
  2275. type: number
  2276. SellPricedQty:
  2277. description: 销售合同已定价数量
  2278. type: number
  2279. TotalExposure:
  2280. description: 总敞口 平安:净敞口
  2281. type: number
  2282. TotalFutureQty:
  2283. description: 期货总量 平安:保值净持仓量
  2284. type: number
  2285. TotalHedgeRatio:
  2286. description: 敞口比例
  2287. type: number
  2288. TotalNeedHedgeQty:
  2289. description: 应套保总量(现货应套保总量)
  2290. type: number
  2291. TotalSpotQty:
  2292. description: 现货总量 平安:采销定价净值
  2293. type: number
  2294. arbitrageqty:
  2295. description: 套利量
  2296. type: number
  2297. diffArbitrageQty:
  2298. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  2299. type: number
  2300. diffExposoureQty:
  2301. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  2302. type: number
  2303. diffFutuQty:
  2304. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  2305. type: number
  2306. diffHedgeQty:
  2307. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  2308. type: number
  2309. diffQty:
  2310. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  2311. type: number
  2312. diffSpotHedgeQty:
  2313. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  2314. type: number
  2315. diffSpotQty:
  2316. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  2317. type: number
  2318. enumdicname:
  2319. description: 单位名称
  2320. type: string
  2321. hedgeqty:
  2322. description: 套保量
  2323. type: number
  2324. needarbitrageqty:
  2325. description: 应套利量
  2326. type: number
  2327. needarbitrageratio:
  2328. description: 套利比例
  2329. type: number
  2330. needhedgeqty:
  2331. description: 应套保量
  2332. type: number
  2333. oriarbitrageqty:
  2334. description: 期初套利量
  2335. type: number
  2336. orihedgeqty:
  2337. description: 期初套保量
  2338. type: number
  2339. orineedhedgeexposoure:
  2340. description: 期初套保敞口
  2341. type: number
  2342. oritotalexposure:
  2343. description: 期初总敞口
  2344. type: number
  2345. oritotalfutureqty:
  2346. description: 期初期货总量
  2347. type: number
  2348. oritotalneedhedgeqty:
  2349. description: 期初现货应套保量
  2350. type: number
  2351. type: object
  2352. erms2.QueryArbitrageStrategyRsp:
  2353. properties:
  2354. applybasis:
  2355. description: 申请基差
  2356. type: number
  2357. asapplyid:
  2358. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  2359. type: string
  2360. asname:
  2361. description: 策略名称
  2362. type: string
  2363. asno:
  2364. description: 策略编号
  2365. type: string
  2366. basischangepl:
  2367. description: 基差变动损益[结算更新]
  2368. type: number
  2369. biztype:
  2370. description: 业务类型 - 1:正向套利 -1:反向套利
  2371. type: integer
  2372. closetradedate:
  2373. description: 完结交易日(yyyyMMdd)
  2374. type: string
  2375. curbasis:
  2376. description: 当前基差[结算更新]
  2377. type: number
  2378. deliverygoodsid:
  2379. description: 现货品种ID
  2380. type: integer
  2381. futureavgprice:
  2382. description: 期货建仓均价
  2383. type: number
  2384. futurecloseamount:
  2385. description: 期货平仓金额
  2386. type: number
  2387. futurecloseqty:
  2388. description: 期货平仓数量
  2389. type: number
  2390. futureopenamount:
  2391. description: 期货开仓金额
  2392. type: number
  2393. futureopenqty:
  2394. description: 期货开仓数量
  2395. type: number
  2396. futurepl:
  2397. description: 期货总盈亏[结算更新]
  2398. type: number
  2399. futureqty:
  2400. description: 期货持仓数量
  2401. type: number
  2402. futurequote:
  2403. description: 期货额度
  2404. type: number
  2405. goodsgroupid:
  2406. description: 期货品种ID
  2407. type: integer
  2408. marketid:
  2409. description: 市场ID
  2410. type: integer
  2411. netexposure:
  2412. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  2413. type: number
  2414. netexposurepl:
  2415. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  2416. type: number
  2417. netexposurerate:
  2418. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  2419. type: number
  2420. openbasis:
  2421. description: 建仓基差
  2422. type: number
  2423. pricedspotqty:
  2424. description: 已定价现货数量
  2425. type: number
  2426. pricedspotqtynotax:
  2427. description: 已定价现货不含税数量
  2428. type: number
  2429. remark:
  2430. description: 备注
  2431. type: string
  2432. spotavgprice:
  2433. description: 现货均价
  2434. type: number
  2435. spotbuyamount:
  2436. description: 现货采购金额
  2437. type: number
  2438. spotbuyqty:
  2439. description: 现货采购数量
  2440. type: number
  2441. spotpl:
  2442. description: 现货总盈亏[结算更新]
  2443. type: number
  2444. spotquota:
  2445. description: 现货额度
  2446. type: number
  2447. spotsellamount:
  2448. description: 现货销售金额
  2449. type: number
  2450. spotsellqty:
  2451. description: 现货销售数量
  2452. type: number
  2453. spotusedquota:
  2454. description: 现货占用资金
  2455. type: number
  2456. strategystatus:
  2457. description: 策略状态 - 0:未结束 1:已结束
  2458. type: integer
  2459. totalpl:
  2460. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  2461. type: number
  2462. tradedate:
  2463. description: 交易日(yyyyMMdd)
  2464. type: string
  2465. updatetime:
  2466. description: 更新时间
  2467. type: string
  2468. usedquota:
  2469. description: 已占用资金
  2470. type: number
  2471. userid:
  2472. description: 所属机构
  2473. type: integer
  2474. required:
  2475. - asapplyid
  2476. type: object
  2477. erms2.QueryInnerTradeDetailRsp:
  2478. properties:
  2479. accountid:
  2480. description: 账号ID
  2481. type: integer
  2482. agreeunit:
  2483. description: 合约单位
  2484. type: number
  2485. asapplyid:
  2486. description: 策略申请ID
  2487. type: integer
  2488. asname:
  2489. description: 策略名称
  2490. type: string
  2491. asno:
  2492. description: 策略编号
  2493. type: string
  2494. buyorsell:
  2495. description: 方向 - 0:买 1:卖
  2496. type: integer
  2497. channelbuildtype:
  2498. description: 委托单据类型 0:无 1:建仓 2:平仓
  2499. type: integer
  2500. closetype:
  2501. description: 平仓方式 - 0:无 1:平今 2:平昨
  2502. type: integer
  2503. decimalplace:
  2504. description: 报价小数位
  2505. type: integer
  2506. detailtype:
  2507. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  2508. type: integer
  2509. exexchangecode:
  2510. description: 外部交易所代码
  2511. type: string
  2512. exexchangename:
  2513. description: 外部交易所名称
  2514. type: string
  2515. goodscode:
  2516. description: 商品代码(合约)
  2517. type: string
  2518. goodsgroupid:
  2519. description: 商品组ID(品种ID)
  2520. type: integer
  2521. goodsgroupname:
  2522. description: 商品组名称(品种)
  2523. type: string
  2524. goodsid:
  2525. description: 商品ID
  2526. type: integer
  2527. goodsname:
  2528. description: 商品名称(合约)
  2529. type: string
  2530. goodunit:
  2531. description: 报价单位
  2532. type: string
  2533. marketid:
  2534. description: 市场ID
  2535. type: integer
  2536. orderid:
  2537. description: 委托单号
  2538. type: string
  2539. outgoodscode:
  2540. description: 商品代码(外部)
  2541. type: string
  2542. relatedouttradeid:
  2543. description: 关联外部成交单ID
  2544. type: string
  2545. remark:
  2546. description: 备注
  2547. type: string
  2548. spotcontractid:
  2549. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  2550. type: integer
  2551. spotcontractno:
  2552. description: 现货合同编号
  2553. type: string
  2554. tradeid:
  2555. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2556. type: string
  2557. tradeprice:
  2558. description: 成交价格
  2559. type: number
  2560. tradeqty:
  2561. description: 成交数量
  2562. type: integer
  2563. tradetime:
  2564. description: 成交时间
  2565. type: string
  2566. updatetime:
  2567. description: 更新时间
  2568. type: string
  2569. required:
  2570. - asapplyid
  2571. - buyorsell
  2572. - goodscode
  2573. - goodsgroupid
  2574. - goodsgroupname
  2575. - goodsname
  2576. - tradeid
  2577. type: object
  2578. erms2.QuerySpotContractRsp:
  2579. properties:
  2580. accountid:
  2581. description: 资金账户ID
  2582. type: integer
  2583. areauserid:
  2584. description: 所属机构
  2585. type: integer
  2586. closedate:
  2587. description: 终止日期
  2588. type: string
  2589. closeremark:
  2590. description: 结束备注
  2591. type: string
  2592. closetradedate:
  2593. description: 完结交易日(yyyyMMdd)
  2594. type: string
  2595. closetype:
  2596. description: 终止类型 - 1:违约 2:提前终止
  2597. type: integer
  2598. contractamount:
  2599. description: 合同金额
  2600. type: number
  2601. contractattachment:
  2602. description: 合同附件
  2603. type: string
  2604. contractno:
  2605. description: 现货合同编号
  2606. type: string
  2607. contractqty:
  2608. description: 合同数量(数值) (用于计算)
  2609. type: number
  2610. contractqtychar:
  2611. description: 合同数量\已订价数量 (用于显示)
  2612. type: string
  2613. contractstatus:
  2614. description: 合同状态 - 0:未结束 1:已结束
  2615. type: integer
  2616. contracttype:
  2617. description: 现货合同类型 - 1:采购合同 -1:销售合同
  2618. type: integer
  2619. customeraccountid:
  2620. description: 客户资金账户ID
  2621. type: integer
  2622. customeruserid:
  2623. description: 客户ID
  2624. type: integer
  2625. deliverygoodsdesc:
  2626. description: 品种说明
  2627. type: string
  2628. deliverygoodsid:
  2629. description: 现货品种ID
  2630. type: integer
  2631. handlestatus:
  2632. description: 处理状态
  2633. type: integer
  2634. invoiceatt:
  2635. description: 发票附件
  2636. type: string
  2637. invoicedatetime:
  2638. description: 开收票更新时间
  2639. type: string
  2640. invoiceopentime:
  2641. description: 开票时间
  2642. type: string
  2643. invoiceremark:
  2644. description: 发票备注
  2645. type: string
  2646. invoicestatus:
  2647. description: 开收票状态 - 0:未开票 1:已开票
  2648. type: integer
  2649. lastdate:
  2650. description: 交货时间
  2651. type: string
  2652. marketid:
  2653. description: 市场ID
  2654. type: integer
  2655. paydatetime:
  2656. description: 收付款更新时间
  2657. type: string
  2658. payremark:
  2659. description: 收付款备注
  2660. type: string
  2661. paystatus:
  2662. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  2663. type: integer
  2664. positionqty:
  2665. description: 头寸数量 - 合同数量去小数部分
  2666. type: integer
  2667. producttype:
  2668. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2669. type: integer
  2670. relatedqty:
  2671. description: 已关联数量
  2672. type: number
  2673. relatedstatus:
  2674. description: 关联完结状态 - 0:未结束 1:已结束
  2675. type: integer
  2676. remark:
  2677. description: 备注
  2678. type: string
  2679. signdate:
  2680. description: 签订日期
  2681. type: string
  2682. spotcontractid:
  2683. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  2684. type: string
  2685. spotdatetime:
  2686. description: 收发货更新时间
  2687. type: string
  2688. spotprice:
  2689. description: 价格
  2690. type: number
  2691. spotremark:
  2692. description: 收发货备注
  2693. type: string
  2694. spotstatus:
  2695. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  2696. type: integer
  2697. tradedate:
  2698. description: 交易日(yyyyMMdd)
  2699. type: string
  2700. userid:
  2701. description: 业务员用户ID
  2702. type: integer
  2703. warehouseid:
  2704. description: 仓库ID
  2705. type: integer
  2706. wrfactortypeid:
  2707. description: 仓单要素类型ID
  2708. type: integer
  2709. wrstandardid:
  2710. description: 仓单标准ID(SEQ_WRSTANDARD)
  2711. type: integer
  2712. required:
  2713. - spotcontractid
  2714. type: object
  2715. erms3.AddErms2ASApplyReq:
  2716. properties:
  2717. applybasis:
  2718. description: 申请基差
  2719. type: number
  2720. applystatus:
  2721. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2722. type: integer
  2723. asapplyid:
  2724. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  2725. type: integer
  2726. asname:
  2727. description: 策略名称
  2728. type: string
  2729. asno:
  2730. description: 策略编号
  2731. type: string
  2732. auditid:
  2733. description: 审核人
  2734. type: integer
  2735. auditremark:
  2736. description: 审核备注
  2737. type: string
  2738. audittime:
  2739. description: 审核时间
  2740. type: string
  2741. biztype:
  2742. description: 业务类型 - 1:正向套利 2:反向套利
  2743. type: integer
  2744. createtime:
  2745. description: 创建时间
  2746. type: string
  2747. creatorid:
  2748. description: 创建人
  2749. type: integer
  2750. deliverygoodsid:
  2751. description: 现货品种ID
  2752. type: integer
  2753. futurequote:
  2754. description: 期货额度
  2755. type: number
  2756. goodsgroupid:
  2757. description: 期货品种ID
  2758. type: integer
  2759. marketid:
  2760. description: 市场ID
  2761. type: integer
  2762. remark:
  2763. description: 备注
  2764. type: string
  2765. spotquota:
  2766. description: 现货额度
  2767. type: number
  2768. tradedate:
  2769. description: 交易日(yyyyMMdd)
  2770. type: string
  2771. userid:
  2772. description: 所属机构
  2773. type: integer
  2774. required:
  2775. - asapplyid
  2776. type: object
  2777. erms3.AddErms2SpotTradeApplyReq:
  2778. properties:
  2779. applyjsondetail:
  2780. description: 申请明细(JSON)
  2781. type: string
  2782. applystatus:
  2783. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2784. type: integer
  2785. areauserid:
  2786. description: 所属机构
  2787. type: integer
  2788. auditid:
  2789. description: 审核人
  2790. type: integer
  2791. auditremark:
  2792. description: 审核备注
  2793. type: string
  2794. audittime:
  2795. description: 审核时间
  2796. type: string
  2797. createtime:
  2798. description: 创建时间
  2799. type: string
  2800. creatorid:
  2801. description: 创建人
  2802. type: integer
  2803. deliverygoodsid:
  2804. description: 现货品种ID
  2805. type: integer
  2806. futureaccountid:
  2807. description: 期货资金账户
  2808. type: integer
  2809. goodsgroupid:
  2810. description: 期货品种
  2811. type: integer
  2812. marketid:
  2813. description: 市场ID
  2814. type: integer
  2815. remark:
  2816. description: 备注
  2817. type: string
  2818. spotaccountid:
  2819. description: 现货资金账户
  2820. type: integer
  2821. spottradeid:
  2822. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  2823. type: integer
  2824. spottradename:
  2825. description: 业务名称
  2826. type: string
  2827. spottradeno:
  2828. description: 业务编号
  2829. type: string
  2830. tradedate:
  2831. description: 交易日(yyyyMMdd)
  2832. type: string
  2833. wrstandardid:
  2834. description: 仓单标准ID
  2835. type: integer
  2836. required:
  2837. - spottradeid
  2838. type: object
  2839. erms3.AddSpotContractApplyReq:
  2840. properties:
  2841. accountid:
  2842. description: 资金账户ID
  2843. type: integer
  2844. areauserid:
  2845. description: 所属机构
  2846. type: integer
  2847. contractattachment:
  2848. description: 合同附件
  2849. type: string
  2850. contractno:
  2851. description: 现货合同编号
  2852. type: string
  2853. contracttype:
  2854. description: 现货合同类型 - 1:采购 -1:销售
  2855. type: integer
  2856. creatorid:
  2857. description: 申请人
  2858. type: integer
  2859. customeraccountid:
  2860. description: 客户资金账户ID
  2861. type: integer
  2862. customeruserid:
  2863. description: 客户ID
  2864. type: integer
  2865. details:
  2866. description: 明细
  2867. items:
  2868. $ref: '#/definitions/erms3.SoptContractDetail'
  2869. type: array
  2870. orimargin:
  2871. description: 初始保证金
  2872. type: number
  2873. remark:
  2874. description: 备注
  2875. type: string
  2876. signdate:
  2877. description: 签订日期
  2878. type: string
  2879. required:
  2880. - accountid
  2881. - areauserid
  2882. - contractno
  2883. - contracttype
  2884. - customeraccountid
  2885. - customeruserid
  2886. - details
  2887. - orimargin
  2888. - signdate
  2889. type: object
  2890. erms3.AddSpotContractApplyRsp:
  2891. properties:
  2892. contractno:
  2893. description: 现货合同编号
  2894. type: string
  2895. spotcontractid:
  2896. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2897. type: integer
  2898. required:
  2899. - contractno
  2900. type: object
  2901. erms3.AddUserInfoApplyReq:
  2902. properties:
  2903. accountid:
  2904. description: 交易系统帐号Id (加密存储)
  2905. type: integer
  2906. areacode:
  2907. description: 机构代码
  2908. type: string
  2909. areaid:
  2910. description: 机构Id
  2911. type: integer
  2912. attachment1:
  2913. description: 附件1
  2914. type: string
  2915. attachment2:
  2916. description: 附件2
  2917. type: string
  2918. attachment3:
  2919. description: 附件3
  2920. type: string
  2921. attachment4:
  2922. description: 附件4
  2923. type: string
  2924. attachment5:
  2925. description: 附件5
  2926. type: string
  2927. auditedby:
  2928. description: 审核人
  2929. type: string
  2930. auditime:
  2931. description: 审核时间
  2932. type: string
  2933. auditsrc:
  2934. description: 审核来源 - 1:管理端 2:终端
  2935. type: integer
  2936. bankaccount:
  2937. description: 银行帐号 (加密存储)
  2938. type: string
  2939. bankaccountname:
  2940. description: 收款人名称
  2941. type: string
  2942. bankcardbackphotourl:
  2943. description: 银行卡背面照地址
  2944. type: string
  2945. bankcardfrontphotourl:
  2946. description: 银行卡正面照地址
  2947. type: string
  2948. bankid:
  2949. description: 银行编码
  2950. type: string
  2951. bankname:
  2952. description: 银行名称
  2953. type: string
  2954. bankpictureurl:
  2955. description: 银行卡正面地址
  2956. type: string
  2957. biznature:
  2958. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2959. type: integer
  2960. bizscope:
  2961. description: 企业经营范围(企业)
  2962. type: string
  2963. biztype:
  2964. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2965. type: integer
  2966. brokerid:
  2967. description: 经纪人ID(加密存储)
  2968. type: string
  2969. cardaddress:
  2970. description: 证件地址 (加密存储)
  2971. type: string
  2972. cardbackphotourl:
  2973. description: 背面证件照地址
  2974. type: string
  2975. cardfrontphotourl:
  2976. description: 正面证件照地址
  2977. type: string
  2978. cardnum:
  2979. description: 证件号码 (加密存储)
  2980. type: string
  2981. cardtype:
  2982. description: 证件类型
  2983. type: integer
  2984. cityid:
  2985. description: 市
  2986. type: integer
  2987. company:
  2988. description: 公司(个人)
  2989. type: string
  2990. contactcardbackphotourl:
  2991. description: 联系人证件背面图片地址
  2992. type: string
  2993. contactcardfrontphotourl:
  2994. description: 联系人证件正面图片地址
  2995. type: string
  2996. contactname:
  2997. description: 联系人
  2998. type: string
  2999. countryid:
  3000. description: 国家
  3001. type: integer
  3002. createtime:
  3003. description: 开户申请时间
  3004. type: string
  3005. cusbankid:
  3006. description: 签约类型
  3007. type: string
  3008. cusbankname:
  3009. description: 签约类型名称
  3010. type: string
  3011. customername:
  3012. description: 客户名称(企业名称)
  3013. type: string
  3014. districtid:
  3015. description: 地区
  3016. type: integer
  3017. email:
  3018. description: Email地址(加密存储)
  3019. type: string
  3020. halfbodyphotourl:
  3021. description: 半身照地址
  3022. type: string
  3023. headurl:
  3024. description: 头像地址
  3025. type: string
  3026. ipaddress:
  3027. description: IP地址
  3028. type: string
  3029. isvalidate:
  3030. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3031. type: string
  3032. legalcardbackphotourl:
  3033. description: 法人身份证背面照地址
  3034. type: string
  3035. legalcardfrontphotourl:
  3036. description: 法人身份证正面照地址
  3037. type: string
  3038. legalpersonname:
  3039. description: 法人姓名(企业)
  3040. type: string
  3041. logincode:
  3042. description: 登录帐号 (加密存储)
  3043. type: string
  3044. memberareaid:
  3045. description: 所属会员ID
  3046. type: integer
  3047. mobile2:
  3048. description: 手机号码[明文-尚志]
  3049. type: string
  3050. mobilephone:
  3051. description: 手机号码 (加密存储)
  3052. type: string
  3053. modifiedby:
  3054. description: 修改人帐号
  3055. type: integer
  3056. modifiedtime:
  3057. description: 修改时间
  3058. type: string
  3059. nickname:
  3060. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3061. type: string
  3062. openmode:
  3063. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3064. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3065. type: integer
  3066. otherurl:
  3067. description: 其它图片地址[使用分号分隔]
  3068. type: string
  3069. postalcode:
  3070. description: 邮政编码
  3071. type: string
  3072. provinceid:
  3073. description: 省
  3074. type: integer
  3075. proxystatementurl:
  3076. description: 授权委托书
  3077. type: string
  3078. qq:
  3079. description: QQ(加密存储
  3080. type: string
  3081. referral:
  3082. description: 推荐人编码
  3083. type: string
  3084. remark:
  3085. description: 备注
  3086. type: string
  3087. removebeforestatus:
  3088. description: REMOVEBEFORESTATUS
  3089. type: integer
  3090. sex:
  3091. description: 性别 - 0:女 1:男
  3092. type: integer
  3093. signedstatus:
  3094. description: 账户一号签签约状态
  3095. type: integer
  3096. signpdfurl:
  3097. description: 签约pdf文件
  3098. type: string
  3099. subbranch:
  3100. description: 开户支行
  3101. type: string
  3102. taxpayernum:
  3103. description: 纳税人识别号
  3104. type: string
  3105. telphone:
  3106. description: 联系电话(加密存储)
  3107. type: string
  3108. userid:
  3109. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3110. type: integer
  3111. userinfotype:
  3112. description: 用户信息类型 - 1:个人 2:企业
  3113. type: integer
  3114. username:
  3115. description: 用户姓名
  3116. type: string
  3117. userstate:
  3118. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3119. type: integer
  3120. usertype:
  3121. description: 用户类型 - 1:投资者 2:机构
  3122. type: integer
  3123. videourl:
  3124. description: 视频地址
  3125. type: string
  3126. wechat:
  3127. description: 微信号 (加密存储)
  3128. type: string
  3129. required:
  3130. - userid
  3131. type: object
  3132. erms3.CustomerInfo:
  3133. properties:
  3134. accountids:
  3135. description: 资金账户ID列表
  3136. items:
  3137. type: integer
  3138. type: array
  3139. customername:
  3140. description: 名称(企业名称)
  3141. type: string
  3142. mobile:
  3143. description: 手机号码
  3144. type: string
  3145. userid:
  3146. description: 用户ID
  3147. type: integer
  3148. required:
  3149. - userid
  3150. type: object
  3151. erms3.ModifyUserInfoApplyReq:
  3152. properties:
  3153. accountid:
  3154. description: 交易系统帐号Id (加密存储)
  3155. type: integer
  3156. areacode:
  3157. description: 机构代码
  3158. type: string
  3159. areaid:
  3160. description: 机构Id
  3161. type: integer
  3162. attachment1:
  3163. description: 附件1
  3164. type: string
  3165. attachment2:
  3166. description: 附件2
  3167. type: string
  3168. attachment3:
  3169. description: 附件3
  3170. type: string
  3171. attachment4:
  3172. description: 附件4
  3173. type: string
  3174. attachment5:
  3175. description: 附件5
  3176. type: string
  3177. auditedby:
  3178. description: 审核人
  3179. type: string
  3180. auditime:
  3181. description: 审核时间
  3182. type: string
  3183. auditsrc:
  3184. description: 审核来源 - 1:管理端 2:终端
  3185. type: integer
  3186. bankaccount:
  3187. description: 银行帐号 (加密存储)
  3188. type: string
  3189. bankaccountname:
  3190. description: 收款人名称
  3191. type: string
  3192. bankcardbackphotourl:
  3193. description: 银行卡背面照地址
  3194. type: string
  3195. bankcardfrontphotourl:
  3196. description: 银行卡正面照地址
  3197. type: string
  3198. bankid:
  3199. description: 银行编码
  3200. type: string
  3201. bankname:
  3202. description: 银行名称
  3203. type: string
  3204. bankpictureurl:
  3205. description: 银行卡正面地址
  3206. type: string
  3207. biznature:
  3208. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3209. type: integer
  3210. bizscope:
  3211. description: 企业经营范围(企业)
  3212. type: string
  3213. biztype:
  3214. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  3215. type: integer
  3216. brokerid:
  3217. description: 经纪人ID(加密存储)
  3218. type: string
  3219. cardaddress:
  3220. description: 证件地址 (加密存储)
  3221. type: string
  3222. cardbackphotourl:
  3223. description: 背面证件照地址
  3224. type: string
  3225. cardfrontphotourl:
  3226. description: 正面证件照地址
  3227. type: string
  3228. cardnum:
  3229. description: 证件号码 (加密存储)
  3230. type: string
  3231. cardtype:
  3232. description: 证件类型
  3233. type: integer
  3234. cityid:
  3235. description: 市
  3236. type: integer
  3237. company:
  3238. description: 公司(个人)
  3239. type: string
  3240. contactcardbackphotourl:
  3241. description: 联系人证件背面图片地址
  3242. type: string
  3243. contactcardfrontphotourl:
  3244. description: 联系人证件正面图片地址
  3245. type: string
  3246. contactname:
  3247. description: 联系人
  3248. type: string
  3249. countryid:
  3250. description: 国家
  3251. type: integer
  3252. createtime:
  3253. description: 开户申请时间
  3254. type: string
  3255. cusbankid:
  3256. description: 签约类型
  3257. type: string
  3258. cusbankname:
  3259. description: 签约类型名称
  3260. type: string
  3261. customername:
  3262. description: 客户名称(企业名称)
  3263. type: string
  3264. districtid:
  3265. description: 地区
  3266. type: integer
  3267. email:
  3268. description: Email地址(加密存储)
  3269. type: string
  3270. halfbodyphotourl:
  3271. description: 半身照地址
  3272. type: string
  3273. headurl:
  3274. description: 头像地址
  3275. type: string
  3276. ipaddress:
  3277. description: IP地址
  3278. type: string
  3279. isvalidate:
  3280. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3281. type: string
  3282. legalcardbackphotourl:
  3283. description: 法人身份证背面照地址
  3284. type: string
  3285. legalcardfrontphotourl:
  3286. description: 法人身份证正面照地址
  3287. type: string
  3288. legalpersonname:
  3289. description: 法人姓名(企业)
  3290. type: string
  3291. logincode:
  3292. description: 登录帐号 (加密存储)
  3293. type: string
  3294. memberareaid:
  3295. description: 所属会员ID
  3296. type: integer
  3297. mobile2:
  3298. description: 手机号码[明文-尚志]
  3299. type: string
  3300. mobilephone:
  3301. description: 手机号码 (加密存储)
  3302. type: string
  3303. modifiedby:
  3304. description: 修改人帐号
  3305. type: integer
  3306. modifiedtime:
  3307. description: 修改时间
  3308. type: string
  3309. nickname:
  3310. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3311. type: string
  3312. openmode:
  3313. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3314. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3315. type: integer
  3316. otherurl:
  3317. description: 其它图片地址[使用分号分隔]
  3318. type: string
  3319. postalcode:
  3320. description: 邮政编码
  3321. type: string
  3322. provinceid:
  3323. description: 省
  3324. type: integer
  3325. proxystatementurl:
  3326. description: 授权委托书
  3327. type: string
  3328. qq:
  3329. description: QQ(加密存储
  3330. type: string
  3331. referral:
  3332. description: 推荐人编码
  3333. type: string
  3334. remark:
  3335. description: 备注
  3336. type: string
  3337. removebeforestatus:
  3338. description: REMOVEBEFORESTATUS
  3339. type: integer
  3340. sex:
  3341. description: 性别 - 0:女 1:男
  3342. type: integer
  3343. signedstatus:
  3344. description: 账户一号签签约状态
  3345. type: integer
  3346. signpdfurl:
  3347. description: 签约pdf文件
  3348. type: string
  3349. subbranch:
  3350. description: 开户支行
  3351. type: string
  3352. taxpayernum:
  3353. description: 纳税人识别号
  3354. type: string
  3355. telphone:
  3356. description: 联系电话(加密存储)
  3357. type: string
  3358. userid:
  3359. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3360. type: integer
  3361. userinfotype:
  3362. description: 用户信息类型 - 1:个人 2:企业
  3363. type: integer
  3364. username:
  3365. description: 用户姓名
  3366. type: string
  3367. userstate:
  3368. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3369. type: integer
  3370. usertype:
  3371. description: 用户类型 - 1:投资者 2:机构
  3372. type: integer
  3373. videourl:
  3374. description: 视频地址
  3375. type: string
  3376. wechat:
  3377. description: 微信号 (加密存储)
  3378. type: string
  3379. required:
  3380. - userid
  3381. type: object
  3382. erms3.QryAuditContractRsp:
  3383. properties:
  3384. accountid:
  3385. description: 交易员ID
  3386. type: string
  3387. applystatus:
  3388. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3389. type: integer
  3390. curdeliveryqty:
  3391. description: 未交收量
  3392. type: integer
  3393. customername:
  3394. description: 采购方ID
  3395. type: string
  3396. deliverygoodsid:
  3397. description: 品种ID
  3398. type: string
  3399. deliveryqty:
  3400. description: 交收量
  3401. type: integer
  3402. enumdicname:
  3403. description: 单位名称
  3404. type: string
  3405. matchaccountid:
  3406. description: 业务员ID
  3407. type: string
  3408. matchcustomername:
  3409. description: 销售方ID
  3410. type: string
  3411. pricedqty:
  3412. description: 定价量
  3413. type: number
  3414. signdate:
  3415. description: 签订日期
  3416. type: string
  3417. spotcontractid:
  3418. description: 合同ID
  3419. type: string
  3420. totaldqty:
  3421. description: 合同量
  3422. type: number
  3423. unpricedqty:
  3424. description: 未定价量
  3425. type: number
  3426. wrstandardname:
  3427. description: 商品名称
  3428. type: string
  3429. required:
  3430. - matchcustomername
  3431. - spotcontractid
  3432. type: object
  3433. erms3.QryPendingBizRsp:
  3434. properties:
  3435. accountid:
  3436. description: 现货账户
  3437. type: string
  3438. areaname:
  3439. description: 所属部门
  3440. type: string
  3441. bizid:
  3442. description: 业务ID
  3443. type: string
  3444. bizname:
  3445. description: 业务名称
  3446. type: string
  3447. status:
  3448. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3449. type: integer
  3450. type:
  3451. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  3452. type: integer
  3453. type: object
  3454. erms3.QueryBusinessInfoRsp:
  3455. properties:
  3456. businessid:
  3457. description: 业务ID.
  3458. type: integer
  3459. buyamount:
  3460. description: 采购额.
  3461. type: number
  3462. buyqty:
  3463. description: 采购量.
  3464. type: string
  3465. futurepl:
  3466. description: 期货盈亏.
  3467. type: number
  3468. futureqty:
  3469. description: 期货敞口.
  3470. type: string
  3471. goodsid:
  3472. description: 商品名称/商品代码.
  3473. type: string
  3474. hedgingqty:
  3475. description: 套保量.
  3476. type: string
  3477. sellamount:
  3478. description: 销售额.
  3479. type: number
  3480. sellqty:
  3481. description: 销售量.
  3482. type: string
  3483. spotmarketvalue:
  3484. description: 现货市值.
  3485. type: number
  3486. spotpl:
  3487. description: 浮动权益.
  3488. type: number
  3489. spotqty:
  3490. description: 现货量.
  3491. type: string
  3492. statu:
  3493. description: 状态,0-未结束 1-已结束.
  3494. type: integer
  3495. totalpl:
  3496. description: 总盈亏.
  3497. type: number
  3498. totalqty:
  3499. description: 总敞口.
  3500. type: string
  3501. type:
  3502. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  3503. type: integer
  3504. type: object
  3505. erms3.QuerySpotContractAppleFormRsp:
  3506. properties:
  3507. goodses:
  3508. description: 合约列表
  3509. items:
  3510. $ref: '#/definitions/models.GoodsIDAndName'
  3511. type: array
  3512. oppositeusers:
  3513. description: 对方账号列表
  3514. items:
  3515. $ref: '#/definitions/erms3.CustomerInfo'
  3516. type: array
  3517. ouruser:
  3518. $ref: '#/definitions/erms3.CustomerInfo'
  3519. description: 我方账号
  3520. warehouseinfos:
  3521. description: 仓库信息列表
  3522. items:
  3523. $ref: '#/definitions/models.Warehouseinfo'
  3524. type: array
  3525. wrstandards:
  3526. description: 仓单标准列表
  3527. items:
  3528. $ref: '#/definitions/models.WRStandardInfo'
  3529. type: array
  3530. type: object
  3531. erms3.QuerySpotContractInfoRsp:
  3532. properties:
  3533. accountid:
  3534. description: 表示交易员ID.
  3535. type: integer
  3536. curdeliveryqty:
  3537. description: 表示未交收量.
  3538. type: number
  3539. customername:
  3540. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  3541. type: string
  3542. deliverygoodsid:
  3543. description: 表示品种ID.
  3544. type: string
  3545. deliveryqty:
  3546. description: 表示交收量.
  3547. type: number
  3548. matchaccountid:
  3549. description: 表示业务员ID.
  3550. type: integer
  3551. matchcustomername:
  3552. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  3553. type: string
  3554. priceqty:
  3555. description: 表示定价量.
  3556. type: number
  3557. relatedbizid:
  3558. description: 表示业务ID.
  3559. type: string
  3560. signdate:
  3561. description: 表示签订日期.
  3562. type: string
  3563. spotcontractid:
  3564. description: 合同ID
  3565. type: string
  3566. status:
  3567. description: 表示状态,0-履约中 1-已完成.
  3568. type: integer
  3569. totalqty:
  3570. description: 表示合同量.
  3571. type: number
  3572. unpricedqty:
  3573. description: 表示未定价量.
  3574. type: number
  3575. wrstandardname:
  3576. description: 表示商品ID.
  3577. type: string
  3578. type: object
  3579. erms3.QueryUserInfoAppliesRsp:
  3580. properties:
  3581. biznature:
  3582. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3583. type: integer
  3584. contactname:
  3585. description: 联系人
  3586. type: string
  3587. createtime:
  3588. description: 开户申请时间
  3589. type: string
  3590. userid:
  3591. description: 用户ID(自增ID)
  3592. type: integer
  3593. userinfotype:
  3594. description: 用户信息类型 - 1:个人 2:企业
  3595. type: integer
  3596. username:
  3597. description: 用户姓名
  3598. type: string
  3599. userstate:
  3600. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3601. type: integer
  3602. required:
  3603. - userid
  3604. type: object
  3605. erms3.QueryUserInfosRsp:
  3606. properties:
  3607. biznature:
  3608. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3609. type: integer
  3610. contactname:
  3611. description: 联系人
  3612. type: string
  3613. customername:
  3614. description: 客户名称(企业名称)
  3615. type: string
  3616. userid:
  3617. description: 用户ID
  3618. type: integer
  3619. userinfotype:
  3620. description: 用户信息类型 - 1:个人 2:企业
  3621. type: integer
  3622. userstatus:
  3623. description: 用户状态 - 1:正常 2:注销
  3624. type: integer
  3625. required:
  3626. - userid
  3627. type: object
  3628. erms3.SoptContractDetail:
  3629. properties:
  3630. deliverygoodsdesc:
  3631. description: 现货品种说明
  3632. type: string
  3633. deliverygoodsid:
  3634. description: 现货品种ID
  3635. type: integer
  3636. deliverygoodsname:
  3637. description: 现货品种名称
  3638. type: string
  3639. pointdesc:
  3640. description: 点价描述
  3641. type: string
  3642. producttype:
  3643. description: 产品类型 1:标准仓单 2:等标 3:非标
  3644. type: integer
  3645. producttypename:
  3646. description: 产品类型名称
  3647. type: string
  3648. spotPointOrderVoList:
  3649. description: 点价列表
  3650. items:
  3651. $ref: '#/definitions/erms3.SpotPointOrder'
  3652. type: array
  3653. spotPriceOrderList:
  3654. description: 定价列表
  3655. items:
  3656. $ref: '#/definitions/erms3.SpotPriceOrder'
  3657. type: array
  3658. unitname:
  3659. description: 单位名称
  3660. type: string
  3661. warehouseid:
  3662. description: 仓库ID
  3663. type: integer
  3664. warehousename:
  3665. description: 仓库名称
  3666. type: string
  3667. wrstandardid:
  3668. description: 交易标的ID
  3669. type: integer
  3670. wrstandardname:
  3671. description: 交易标的名称
  3672. type: string
  3673. required:
  3674. - deliverygoodsid
  3675. - producttype
  3676. - unitname
  3677. - warehouseid
  3678. - wrstandardid
  3679. - wrstandardname
  3680. type: object
  3681. erms3.SpotPointOrder:
  3682. properties:
  3683. basic:
  3684. description: 基差
  3685. type: number
  3686. deliveryenddate:
  3687. description: 交收结束日期
  3688. type: string
  3689. deliverystartdate:
  3690. description: 交收开始日期
  3691. type: string
  3692. enddate:
  3693. description: 点价结束日期
  3694. type: string
  3695. goodsid:
  3696. description: 商品ID
  3697. type: integer
  3698. goodsname:
  3699. description: 商品名称
  3700. type: string
  3701. qty:
  3702. description: 数量
  3703. type: number
  3704. startdate:
  3705. description: 点价开始日期
  3706. type: string
  3707. required:
  3708. - basic
  3709. - goodsid
  3710. - qty
  3711. type: object
  3712. erms3.SpotPriceOrder:
  3713. properties:
  3714. amount:
  3715. description: 金额
  3716. type: number
  3717. deliveryenddate:
  3718. description: 交收结束日期
  3719. type: string
  3720. deliverystartdate:
  3721. description: 交收开始日期
  3722. type: string
  3723. price:
  3724. description: 价格
  3725. type: number
  3726. qty:
  3727. description: 数量
  3728. type: number
  3729. required:
  3730. - amount
  3731. - price
  3732. - qty
  3733. type: object
  3734. hsby.GetHsbyMyCountRsp:
  3735. properties:
  3736. myCouponCount:
  3737. description: 我的优惠卷数量
  3738. type: integer
  3739. myOrderDetailListingCount:
  3740. description: 我的订单求购中数量
  3741. type: integer
  3742. myOrderDetailPreCount:
  3743. description: 我的订单抢购中数量
  3744. type: integer
  3745. myPackageUnReceiveCount:
  3746. description: 我的包裹待收货数量
  3747. type: integer
  3748. myPackageUnSendCount:
  3749. description: 我的包裹待发货数量
  3750. type: integer
  3751. myPayOrderCount:
  3752. description: 我的订单待付款数量
  3753. type: integer
  3754. type: object
  3755. hsby.QueryProvincesAndCitiesRsp:
  3756. properties:
  3757. cities:
  3758. description: 市
  3759. items:
  3760. $ref: '#/definitions/models.Division'
  3761. type: array
  3762. province:
  3763. $ref: '#/definitions/models.Division'
  3764. description: 省
  3765. type: object
  3766. models.Arearole:
  3767. properties:
  3768. createtime:
  3769. description: 创建时间
  3770. type: string
  3771. creatorid:
  3772. description: 创建人ID
  3773. type: integer
  3774. fromuserid:
  3775. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  3776. type: integer
  3777. isreturnscore:
  3778. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  3779. type: integer
  3780. modifierid:
  3781. description: 修改人ID
  3782. type: integer
  3783. modifytime:
  3784. description: 修改时间
  3785. type: string
  3786. orgtype:
  3787. description: 组织机构类型 1:机构\分支节点 2:交易员\叶子节点 3:部门\分支节点
  3788. type: integer
  3789. outuserid:
  3790. description: 外部账户[场外期权做市商]
  3791. type: string
  3792. parentuserid:
  3793. description: 上级组织机构(组织机构)
  3794. type: integer
  3795. roletype:
  3796. description: 角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员
  3797. 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构
  3798. 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员 25:客户 98:代理 99:门店
  3799. type: integer
  3800. rootuserid:
  3801. description: 顶级组织机构用户ID(组织机构)
  3802. type: integer
  3803. shoppassword:
  3804. description: 商城店铺登陆密码(商城店铺角色使用)
  3805. type: string
  3806. sublevelpath:
  3807. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  3808. type: string
  3809. suborgtype:
  3810. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  3811. type: integer
  3812. tradeaccountid:
  3813. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  3814. type: integer
  3815. transurl:
  3816. description: 物流地址(物流机构)
  3817. type: string
  3818. userid:
  3819. description: 机构用户ID其他做市关系,都设置为 1
  3820. type: integer
  3821. required:
  3822. - roletype
  3823. - userid
  3824. type: object
  3825. models.Clientfixedadconfig:
  3826. properties:
  3827. adsort:
  3828. description: 排序
  3829. type: integer
  3830. adtype:
  3831. description: 广告位类型 - 1:新品抢购(HSBY)
  3832. type: integer
  3833. areauserid:
  3834. description: 所属机构ID
  3835. type: integer
  3836. createdate:
  3837. description: 创建时间
  3838. type: string
  3839. creatorid:
  3840. description: 创建人
  3841. type: integer
  3842. imagepath:
  3843. description: 图片
  3844. type: string
  3845. isshow:
  3846. description: 是否展示 - 0:不展示 1:展示
  3847. type: integer
  3848. modifierid:
  3849. description: 操作人
  3850. type: integer
  3851. recsize:
  3852. description: 推荐尺寸
  3853. type: string
  3854. title:
  3855. description: 标题
  3856. type: string
  3857. updatedate:
  3858. description: 更新时间
  3859. type: string
  3860. urlcontent:
  3861. description: 链接(地址或商品ID)
  3862. type: string
  3863. urltype:
  3864. description: 链接类型 - 1:直接地址 2:商品ID
  3865. type: integer
  3866. required:
  3867. - adsort
  3868. - adtype
  3869. type: object
  3870. models.DgFactoryItem:
  3871. properties:
  3872. dgfactoryitemid:
  3873. description: 选择项ID(SEQ_DGFACTORYITEM)
  3874. type: integer
  3875. dgfactoryitemtypeid:
  3876. description: 要素项类型
  3877. type: integer
  3878. dgfactoryitemvalue:
  3879. description: 要素项值(类型为仓库时填写仓库名称)
  3880. type: string
  3881. orderindex:
  3882. description: 顺序
  3883. type: integer
  3884. type: object
  3885. models.Division:
  3886. properties:
  3887. autoid:
  3888. description: 自增ID
  3889. type: integer
  3890. divisioncode:
  3891. description: 行政代码
  3892. type: string
  3893. divisionlevel:
  3894. description: 行政级别
  3895. type: string
  3896. divisionname:
  3897. description: 行政名称
  3898. type: string
  3899. modifierid:
  3900. description: 修改人
  3901. type: integer
  3902. modifytime:
  3903. description: 修改时间
  3904. type: string
  3905. parentcode:
  3906. description: 上级行政代码
  3907. type: string
  3908. pathname:
  3909. description: 路径名称
  3910. type: string
  3911. postcode:
  3912. description: 邮政编码
  3913. type: string
  3914. separablename:
  3915. description: 可拆分的全称
  3916. type: string
  3917. shortcode:
  3918. description: 地区简码
  3919. type: string
  3920. required:
  3921. - autoid
  3922. - divisioncode
  3923. type: object
  3924. models.Enumdicitem:
  3925. properties:
  3926. autoid:
  3927. description: 自增ID
  3928. type: integer
  3929. bankmappedvalue:
  3930. description: 银行服务对应值
  3931. type: string
  3932. enumdiccode:
  3933. description: 所属枚举代码
  3934. type: string
  3935. enumdicid:
  3936. description: 所属枚举ID
  3937. type: integer
  3938. enumdicname:
  3939. description: 枚举项名称
  3940. type: string
  3941. enumitemname:
  3942. description: 枚举项值
  3943. type: integer
  3944. enumitemstatus:
  3945. description: 枚举项状态 - 1.启用 2.不启用
  3946. type: integer
  3947. enumitemvalue:
  3948. description: 通用值 - [币种通用简写]
  3949. type: string
  3950. param1:
  3951. description: 参数1[币种:币种小数位]
  3952. type: string
  3953. param2:
  3954. description: 参数1[币种:币种显示单位]
  3955. type: string
  3956. remark:
  3957. description: 备注
  3958. type: string
  3959. required:
  3960. - autoid
  3961. - enumdiccode
  3962. - enumdicid
  3963. - enumitemname
  3964. type: object
  3965. models.Ermcp3AreaSpot:
  3966. properties:
  3967. areauserid:
  3968. description: 所属机构
  3969. type: integer
  3970. convertratio:
  3971. description: 套保系数
  3972. type: number
  3973. decreaseqty:
  3974. description: 减少数量=-(销售已定价数量+采购计划数量)
  3975. type: number
  3976. enumdicname:
  3977. description: 单位名称
  3978. type: string
  3979. increaseqty:
  3980. description: 增加数量=销售计划数量+采购已定价数量
  3981. type: number
  3982. oritoalspotqty:
  3983. description: 昨日数量
  3984. type: number
  3985. totalspotqty:
  3986. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  3987. type: number
  3988. unitid:
  3989. description: 现货商品单位id
  3990. type: integer
  3991. updatetime:
  3992. description: 更新时间
  3993. type: string
  3994. wrstandardcode:
  3995. description: 现货商品代码
  3996. type: string
  3997. wrstandardid:
  3998. description: 现货商品ID(SEQ_WRSTANDARD)
  3999. type: integer
  4000. wrstandardname:
  4001. description: 现货商品名称
  4002. type: string
  4003. type: object
  4004. models.Ermcp3AreaSpotDetail:
  4005. properties:
  4006. contracttype:
  4007. description: 合同类型 1-采购 -1-销售
  4008. type: integer
  4009. createtime:
  4010. description: 创建时间
  4011. type: string
  4012. enumdicname:
  4013. description: 现货商品单位名称
  4014. type: string
  4015. logtype:
  4016. description: 记录类型 1-套保 2-现货合同
  4017. type: integer
  4018. qty:
  4019. description: 数量
  4020. type: number
  4021. recordname:
  4022. description: 类型名称
  4023. type: string
  4024. relatedid:
  4025. description: 套保计划ID/现货合同ID
  4026. type: string
  4027. relatedno:
  4028. description: 编号
  4029. type: string
  4030. strtime:
  4031. description: 时间
  4032. type: string
  4033. wrstandardcode:
  4034. description: 现货商品代码
  4035. type: string
  4036. wrstandardid:
  4037. description: 现货商品ID(SEQ_WRSTANDARD)
  4038. type: integer
  4039. wrstandardname:
  4040. description: 现货商品名称
  4041. type: string
  4042. type: object
  4043. models.Ermcp3AreaSpotPLReport:
  4044. properties:
  4045. accountid:
  4046. description: 期货账户ID (作废, 默认为0)
  4047. type: integer
  4048. accountname:
  4049. description: 机构名称
  4050. type: string
  4051. actualpl:
  4052. description: 现货损益
  4053. type: number
  4054. areauserid:
  4055. description: 所属机构\交易用户ID
  4056. type: integer
  4057. begindate:
  4058. description: 开始交易日
  4059. type: string
  4060. biztype:
  4061. description: 业务类型 - 1:套保 2:套利
  4062. type: integer
  4063. brandname:
  4064. description: 品牌名称
  4065. type: string
  4066. curamount:
  4067. description: 期末额
  4068. type: number
  4069. curaverageprice:
  4070. description: 期末均价
  4071. type: number
  4072. curbuyamount:
  4073. description: 期末采购总额
  4074. type: number
  4075. curbuyqty:
  4076. description: 期末采购总量
  4077. type: number
  4078. curmarketvalue:
  4079. description: 参考市值(期末市值)
  4080. type: number
  4081. curqty:
  4082. description: 期末量
  4083. type: number
  4084. currencyid:
  4085. description: 结算币种ID【原值】
  4086. type: integer
  4087. currencyname:
  4088. description: 币种名称
  4089. type: string
  4090. cursellamount:
  4091. description: 期末销售总额
  4092. type: number
  4093. cursellqty:
  4094. description: 期末销售总量
  4095. type: number
  4096. curspotprice:
  4097. description: 参考市价(最新价)
  4098. type: number
  4099. cycletime:
  4100. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4101. type: string
  4102. cycletype:
  4103. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4104. type: integer
  4105. deliverygoodscode:
  4106. description: 现货品种代码
  4107. type: string
  4108. deliverygoodsid:
  4109. description: 现货品种ID
  4110. type: integer
  4111. deliverygoodsname:
  4112. description: 现货品种名称
  4113. type: string
  4114. enddate:
  4115. description: 结束交易日
  4116. type: string
  4117. enumdicname:
  4118. description: 现货品种单位名称(作废)
  4119. type: string
  4120. floatpl:
  4121. description: 浮动损益
  4122. type: number
  4123. goodsunitid:
  4124. description: 现货品种单位id(作废)
  4125. type: integer
  4126. oriamount:
  4127. description: 期初额
  4128. type: number
  4129. oriaverageprice:
  4130. description: 期初均价
  4131. type: number
  4132. oribuyamount:
  4133. description: 期初采购总额
  4134. type: number
  4135. oribuyqty:
  4136. description: 期初采购总量
  4137. type: number
  4138. oriqty:
  4139. description: 期初量
  4140. type: number
  4141. orisellamount:
  4142. description: 期初销售总额
  4143. type: number
  4144. orisellqty:
  4145. description: 期初销售总量
  4146. type: number
  4147. reckondate:
  4148. description: 日照时期(yyyyMMdd)
  4149. type: string
  4150. spotgoodsbrandid:
  4151. description: 现货品牌ID
  4152. type: integer
  4153. todaybuyamount:
  4154. description: 今日采购额(今采购额)
  4155. type: number
  4156. todaybuyaverageprice:
  4157. description: 今日采购均价
  4158. type: number
  4159. todaybuyqty:
  4160. description: 今日采购量(今采购量)
  4161. type: number
  4162. todayinqty:
  4163. description: 今日入库量(今入库量)
  4164. type: number
  4165. todayoutqty:
  4166. description: 今日出库量(今出库量)
  4167. type: number
  4168. todaysellamount:
  4169. description: 今日销售额(今销售额)
  4170. type: number
  4171. todaysellaverageprice:
  4172. description: 今日销售均价
  4173. type: number
  4174. todaysellqty:
  4175. description: 今日销售量(今销售量)
  4176. type: number
  4177. unitid:
  4178. description: 品类单位id
  4179. type: integer
  4180. unitidname:
  4181. description: 品类单位名称
  4182. type: string
  4183. updatetime:
  4184. description: 更新时间
  4185. type: string
  4186. wrfactortypeid:
  4187. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4188. type: integer
  4189. wrstandardcode:
  4190. description: 现货商品(品类)代码
  4191. type: string
  4192. wrstandardid:
  4193. description: 现货品类ID
  4194. type: integer
  4195. wrstandardname:
  4196. description: 现货商品(品类)名称
  4197. type: string
  4198. type: object
  4199. models.Ermcp3AreaStock:
  4200. properties:
  4201. brandname:
  4202. description: 品牌名称
  4203. type: string
  4204. curstock:
  4205. description: 期末库存量(今日量)
  4206. type: number
  4207. deliverygoodscode:
  4208. description: 现货品种代码
  4209. type: string
  4210. deliverygoodsid:
  4211. description: 现货品种id
  4212. type: integer
  4213. deliverygoodsname:
  4214. description: 现货品种名称
  4215. type: string
  4216. enumdicname:
  4217. description: 单位名称
  4218. type: string
  4219. goodsunitid:
  4220. description: 现货商品单位id
  4221. type: integer
  4222. oristock:
  4223. description: 期初库存量(昨日量)
  4224. type: number
  4225. spotgoodsbrandid:
  4226. description: 现货品牌ID
  4227. type: integer
  4228. todaybuyinqty:
  4229. description: 今日采购入库量
  4230. type: number
  4231. todayproduceinqty:
  4232. description: 今日生产入库量
  4233. type: number
  4234. todayproduceoutqty:
  4235. description: 今日生产出库量
  4236. type: number
  4237. todayselloutqty:
  4238. description: 今日销售出库量
  4239. type: number
  4240. unitid:
  4241. description: 单位id
  4242. type: integer
  4243. updatetime:
  4244. description: 更新时间
  4245. type: string
  4246. userid:
  4247. description: 机构ID
  4248. type: integer
  4249. username:
  4250. description: 机构名称
  4251. type: string
  4252. warehousecode:
  4253. description: 仓库代码
  4254. type: string
  4255. warehouseinfoid:
  4256. description: 仓库ID
  4257. type: string
  4258. warehousename:
  4259. description: 仓库名称
  4260. type: string
  4261. warehousetype:
  4262. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4263. type: integer
  4264. wrstandardcode:
  4265. description: 品类代码
  4266. type: string
  4267. wrstandardid:
  4268. description: 品类ID
  4269. type: string
  4270. wrstandardname:
  4271. description: 品类名称
  4272. type: string
  4273. required:
  4274. - userid
  4275. type: object
  4276. models.Ermcp3AreaStockApply:
  4277. properties:
  4278. applyid:
  4279. description: 申请人
  4280. type: integer
  4281. applyname:
  4282. description: 申请人名称
  4283. type: string
  4284. applyremark:
  4285. description: 申请备注
  4286. type: string
  4287. applysrc:
  4288. description: 申请来源 - 1:管理端 2:终端
  4289. type: integer
  4290. applystatus:
  4291. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  4292. type: integer
  4293. applytime:
  4294. description: 申请时间
  4295. type: string
  4296. auditid:
  4297. description: 审核人
  4298. type: integer
  4299. auditname:
  4300. description: 审核人名称
  4301. type: string
  4302. auditremark:
  4303. description: 审核备注
  4304. type: string
  4305. auditsrc:
  4306. description: 审核来源 - 1:管理端 2:终端
  4307. type: integer
  4308. audittime:
  4309. description: 审核时间
  4310. type: string
  4311. audittradedate:
  4312. description: 审核交易日(yyyyMMdd)
  4313. type: string
  4314. brandname:
  4315. description: 品牌名称
  4316. type: string
  4317. buynickname:
  4318. description: 采购方昵称
  4319. type: string
  4320. buyuserid:
  4321. description: 采购方userid
  4322. type: integer
  4323. buyusername:
  4324. description: 采购方名称
  4325. type: string
  4326. contractno:
  4327. description: 合同编号
  4328. type: string
  4329. contractqty:
  4330. description: 合同量
  4331. type: number
  4332. contracttype:
  4333. description: 现货合同类型 - 1:采购 -1:销售
  4334. type: integer
  4335. deliverygoodscode:
  4336. description: 现货品种代码
  4337. type: string
  4338. deliverygoodsid:
  4339. description: 现货品种id
  4340. type: integer
  4341. deliverygoodsname:
  4342. description: 现货品种名称
  4343. type: string
  4344. detailjson:
  4345. description: 明细数据
  4346. type: string
  4347. enumdicname:
  4348. description: 现货商品单位名称
  4349. type: string
  4350. inoutapplyid:
  4351. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  4352. type: string
  4353. inouttype:
  4354. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  4355. type: integer
  4356. pricetype:
  4357. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4358. type: integer
  4359. qty:
  4360. description: 数量
  4361. type: number
  4362. sellnickname:
  4363. description: 销售方昵称
  4364. type: string
  4365. selluserid:
  4366. description: 销售方userid
  4367. type: integer
  4368. sellusername:
  4369. description: 销售方名称
  4370. type: string
  4371. spotcontractid:
  4372. description: 关联现货合同ID
  4373. type: string
  4374. spotgoodsbrandid:
  4375. description: 现货品牌ID
  4376. type: integer
  4377. unitid:
  4378. description: 单位id
  4379. type: integer
  4380. userid:
  4381. description: 机构ID
  4382. type: integer
  4383. warehousecode:
  4384. description: 仓库代码
  4385. type: string
  4386. warehouseinfoid:
  4387. description: 现货仓库ID
  4388. type: string
  4389. warehousename:
  4390. description: 仓库名称
  4391. type: string
  4392. warehousetype:
  4393. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4394. type: integer
  4395. wrstandardcode:
  4396. description: 品类代码
  4397. type: string
  4398. wrstandardid:
  4399. description: 品类ID
  4400. type: integer
  4401. wrstandardname:
  4402. description: 品类名称
  4403. type: string
  4404. type: object
  4405. models.Ermcp3AreaStockApplySum:
  4406. properties:
  4407. brandname:
  4408. description: 品牌名称
  4409. type: string
  4410. inouttype:
  4411. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  4412. type: integer
  4413. spotcontractid:
  4414. description: 关联现货合同ID
  4415. type: string
  4416. spotgoodsbrandid:
  4417. description: 品牌id
  4418. type: integer
  4419. totalqty:
  4420. description: 总数量
  4421. type: number
  4422. wrstandardid:
  4423. description: 品类id
  4424. type: integer
  4425. wrstandardname:
  4426. description: 品类名称
  4427. type: string
  4428. type: object
  4429. models.Ermcp3AreaStockReportEx:
  4430. properties:
  4431. begindate:
  4432. description: 开始交易日
  4433. type: string
  4434. brandname:
  4435. description: 品牌名称
  4436. type: string
  4437. curstock:
  4438. description: 期末库存量
  4439. type: number
  4440. cycletime:
  4441. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4442. type: string
  4443. cycletype:
  4444. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4445. type: integer
  4446. deliverygoodscode:
  4447. description: 现货品种代码
  4448. type: string
  4449. deliverygoodsid:
  4450. description: 现货品种id
  4451. type: integer
  4452. deliverygoodsname:
  4453. description: 现货品种名称
  4454. type: string
  4455. diffqty:
  4456. description: 库存变化量 = 期末 - 期初
  4457. type: number
  4458. enddate:
  4459. description: 结束交易日
  4460. type: string
  4461. enumdicname:
  4462. description: 单位名称
  4463. type: string
  4464. goodsunitid:
  4465. description: 现货单位id
  4466. type: integer
  4467. oristock:
  4468. description: 期初库存量
  4469. type: number
  4470. reckondate:
  4471. description: 日照时期(yyyyMMdd)
  4472. type: string
  4473. spotgoodsbrandid:
  4474. description: 现货品牌ID
  4475. type: integer
  4476. todaybuyinqty:
  4477. description: 今采购入库量
  4478. type: number
  4479. todayproduceinqty:
  4480. description: 今内部入库量
  4481. type: number
  4482. todayproduceoutqty:
  4483. description: 今内部出库量
  4484. type: number
  4485. todayselloutqty:
  4486. description: 今销售出库量
  4487. type: number
  4488. unbuyinqty:
  4489. description: 采购未入库量(数据库未找到相关字段?)
  4490. type: number
  4491. unitid:
  4492. description: 品类单位id
  4493. type: integer
  4494. unselloutqty:
  4495. description: 销售未出库量(数据库未找到相关字段?)
  4496. type: number
  4497. updatetime:
  4498. description: 更新时间
  4499. type: string
  4500. userid:
  4501. description: 机构ID
  4502. type: integer
  4503. username:
  4504. description: 机构名称
  4505. type: string
  4506. warehousecode:
  4507. description: 仓库代码
  4508. type: string
  4509. warehouseinfoid:
  4510. description: 仓库ID
  4511. type: string
  4512. warehousename:
  4513. description: 仓库名称
  4514. type: string
  4515. warehousetype:
  4516. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4517. type: integer
  4518. wrstandardcode:
  4519. description: 品类代码
  4520. type: string
  4521. wrstandardid:
  4522. description: 品类ID
  4523. type: integer
  4524. wrstandardname:
  4525. description: 品类名称
  4526. type: string
  4527. type: object
  4528. models.Ermcp3ArealSumPL:
  4529. properties:
  4530. accountname:
  4531. description: 机构名称
  4532. type: string
  4533. areauserid:
  4534. description: 所属机构\交易用户ID
  4535. type: integer
  4536. begindate:
  4537. description: 开始交易日
  4538. type: string
  4539. currencyid:
  4540. description: 结算币种ID
  4541. type: integer
  4542. currencyname:
  4543. description: 币种名称
  4544. type: string
  4545. cycletime:
  4546. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4547. type: string
  4548. cycletype:
  4549. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4550. type: integer
  4551. enddate:
  4552. description: 结束交易日
  4553. type: string
  4554. enumdicname:
  4555. description: 单位名称(套保品种)
  4556. type: string
  4557. futureactualpl:
  4558. description: 期货损益
  4559. type: number
  4560. futurefloatpl:
  4561. description: 期货浮动损益
  4562. type: number
  4563. futurespotratio:
  4564. description: 期现比例 = 期货头寸总量 / 现货头寸总量
  4565. type: number
  4566. goodsunitid:
  4567. description: 套保品种单位id
  4568. type: integer
  4569. hedgeexposurepl:
  4570. description: 套保敞口损益
  4571. type: number
  4572. middlegoodscode:
  4573. description: 套保品种代码
  4574. type: string
  4575. middlegoodsid:
  4576. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  4577. type: integer
  4578. middlegoodsname:
  4579. description: 套保品种名称
  4580. type: string
  4581. reckondate:
  4582. description: 日照时期(yyyyMMdd)
  4583. type: string
  4584. spotactualpl:
  4585. description: 现货损益
  4586. type: number
  4587. spotfloatpl:
  4588. description: 现货浮动损益
  4589. type: number
  4590. sumactualpl:
  4591. description: 实际损益 = (ActualPL + FutureActualPL)
  4592. type: number
  4593. sumpl:
  4594. description: 总敞口损益 | 汇总损益
  4595. type: number
  4596. totalfutureqty:
  4597. description: 期货头寸总量
  4598. type: number
  4599. totalneedhedgeqty:
  4600. description: 应套保总量
  4601. type: number
  4602. totalspotqty:
  4603. description: 现货头寸总量
  4604. type: number
  4605. updatetime:
  4606. description: 更新时间
  4607. type: string
  4608. type: object
  4609. models.Ermcp3Brand:
  4610. properties:
  4611. areauserid:
  4612. description: 用户id
  4613. type: integer
  4614. brandid:
  4615. description: 品牌id
  4616. type: integer
  4617. brandname:
  4618. description: 品牌名称
  4619. type: string
  4620. deliverygoodsid:
  4621. description: 品种ID
  4622. type: integer
  4623. isvalid:
  4624. description: 是否有效
  4625. type: integer
  4626. type: object
  4627. models.Ermcp3Contract:
  4628. properties:
  4629. accountid:
  4630. description: 期货账户id
  4631. type: string
  4632. amount:
  4633. description: 金额 [1:一口价、3:暂定价]
  4634. type: number
  4635. attachment:
  4636. description: 附件
  4637. type: string
  4638. auditremark:
  4639. description: 审核意见
  4640. type: string
  4641. audittime:
  4642. description: 审核时间
  4643. type: string
  4644. biztype:
  4645. description: 业务类型 1-套保 2-套利
  4646. type: integer
  4647. brandname:
  4648. description: 品牌名称
  4649. type: string
  4650. buynickname:
  4651. description: 销售方昵称
  4652. type: string
  4653. buyuserid:
  4654. description: 采购方ID
  4655. type: integer
  4656. buyusername:
  4657. description: 采购方名称
  4658. type: string
  4659. contracctstatus:
  4660. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4661. type: integer
  4662. contractmargin:
  4663. description: 合同保证金
  4664. type: number
  4665. contractno:
  4666. description: 现货合同编号
  4667. type: string
  4668. contracttype:
  4669. description: 现货合同类型 - 1:采购 -1:销售
  4670. type: integer
  4671. convertfactor:
  4672. description: 标仓系数(品类)
  4673. type: number
  4674. createtime:
  4675. description: 创建时间
  4676. type: string
  4677. currencyid:
  4678. description: 币种id
  4679. type: integer
  4680. currencyname:
  4681. description: 币种名称
  4682. type: string
  4683. deliveryenddate:
  4684. description: 交收期(结束)
  4685. type: string
  4686. deliverygoodscode:
  4687. description: 现货品种代码
  4688. type: string
  4689. deliverygoodsid:
  4690. description: 现货品种ID
  4691. type: integer
  4692. deliverygoodsname:
  4693. description: 现货品种名称
  4694. type: string
  4695. deliverystartdate:
  4696. description: 交收期(开始)
  4697. type: string
  4698. enddate:
  4699. description: 点价结束日期 [2:点价 3:暂定价]
  4700. type: string
  4701. enumdicname:
  4702. description: 单位名称
  4703. type: string
  4704. goodscode:
  4705. description: 点价合约代码
  4706. type: string
  4707. goodsid:
  4708. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  4709. type: integer
  4710. goodsname:
  4711. description: 点价商品名称
  4712. type: string
  4713. margin:
  4714. description: 当前保证金
  4715. type: number
  4716. meruserid:
  4717. description: 跟单员id
  4718. type: integer
  4719. meruserlogincode:
  4720. description: 跟单员登录代码
  4721. type: string
  4722. merusername:
  4723. description: 跟单员名称
  4724. type: string
  4725. pointdesc:
  4726. description: 点价备注
  4727. type: string
  4728. price:
  4729. description: 价格\暂定价 [1:一口价、3:暂定价]
  4730. type: number
  4731. pricemove:
  4732. description: 升贴水 [2:点价 3:暂定价]
  4733. type: number
  4734. pricetype:
  4735. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4736. type: integer
  4737. producttype:
  4738. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4739. type: integer
  4740. qty:
  4741. description: 数量
  4742. type: number
  4743. remark:
  4744. description: 备注
  4745. type: string
  4746. saleuserid:
  4747. description: 业务员id
  4748. type: integer
  4749. saleuserlogincode:
  4750. description: 业务员登录代码
  4751. type: string
  4752. saleusername:
  4753. description: 业务员名称
  4754. type: string
  4755. sellnickname:
  4756. description: 采购方昵称
  4757. type: string
  4758. selluserid:
  4759. description: 销售方ID
  4760. type: integer
  4761. sellusername:
  4762. description: 销售方名称
  4763. type: string
  4764. spotcontractid:
  4765. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  4766. type: string
  4767. spotgoodsbrandid:
  4768. description: 现货品牌ID(DGFactoryItem表的ID)
  4769. type: integer
  4770. spotgoodsdesc:
  4771. description: 商品型号
  4772. type: string
  4773. startdate:
  4774. description: 点价开始日期 [2:点价 3:暂定价]
  4775. type: string
  4776. subjectid:
  4777. description: 交易主体ID
  4778. type: integer
  4779. subjectname:
  4780. description: 交易主体名称
  4781. type: string
  4782. tradeuserid:
  4783. description: 交易员id
  4784. type: integer
  4785. tradeuserlogincode:
  4786. description: 交易员登录代码
  4787. type: string
  4788. tradeusername:
  4789. description: 交易员名称
  4790. type: string
  4791. unitid:
  4792. description: 单位id(取品类上的单位id)
  4793. type: integer
  4794. updatetime:
  4795. description: 更新时间
  4796. type: string
  4797. userid:
  4798. description: 所属机构ID
  4799. type: integer
  4800. vatrate:
  4801. description: 增值税率
  4802. type: number
  4803. wrstandardcode:
  4804. description: 品类代码
  4805. type: string
  4806. wrstandardid:
  4807. description: 品类ID
  4808. type: integer
  4809. wrstandardname:
  4810. description: 品类名称
  4811. type: string
  4812. type: object
  4813. models.Ermcp3ExposureContractDetail:
  4814. properties:
  4815. biztype:
  4816. description: 业务类型 1-套保 2-套利
  4817. type: integer
  4818. brandname:
  4819. description: 品牌名称
  4820. type: string
  4821. buyuserid:
  4822. description: 采购方id
  4823. type: integer
  4824. buyusername:
  4825. description: 采购方名称
  4826. type: string
  4827. contractno:
  4828. description: 合同编号
  4829. type: string
  4830. contracttype:
  4831. description: 现货合同类型 - 1:采购 -1:销售
  4832. type: integer
  4833. convertfactor:
  4834. description: 标仓系数
  4835. type: number
  4836. convertratio:
  4837. description: 折算系数(套保品种)
  4838. type: number
  4839. curqty:
  4840. description: 今定价量
  4841. type: number
  4842. deliverygoodscode:
  4843. description: 现货品种代码
  4844. type: string
  4845. deliverygoodsid:
  4846. description: 现货品种id
  4847. type: integer
  4848. deliverygoodsname:
  4849. description: 现货品种名称
  4850. type: string
  4851. diffhedgeqty:
  4852. description: 套保变动量
  4853. type: number
  4854. diffneedhedgeqty:
  4855. description: 应套保变动量
  4856. type: number
  4857. diffqty:
  4858. description: 套保品种今变动量
  4859. type: number
  4860. enumdicname:
  4861. description: 单位名称
  4862. type: string
  4863. mgunitname:
  4864. description: 套保品种单位名称
  4865. type: string
  4866. middlegoodscode:
  4867. description: 套保品种代码
  4868. type: string
  4869. middlegoodsid:
  4870. description: 套保品种id
  4871. type: integer
  4872. middlegoodsname:
  4873. description: 套保品种名称
  4874. type: string
  4875. needarbitrageratio:
  4876. description: 应套利比例
  4877. type: number
  4878. needhedgeratio:
  4879. description: 应套保比例
  4880. type: number
  4881. pricedqty:
  4882. description: 已定价量
  4883. type: number
  4884. qty:
  4885. description: 合同量
  4886. type: number
  4887. selluserid:
  4888. description: 销售方id
  4889. type: integer
  4890. sellusername:
  4891. description: 销售方名称
  4892. type: string
  4893. spotcontractid:
  4894. description: 合同id
  4895. type: string
  4896. todaypricedqty:
  4897. description: 今定价量
  4898. type: number
  4899. tradedate:
  4900. description: 交易日
  4901. type: string
  4902. unitid:
  4903. description: 品类单位id
  4904. type: integer
  4905. userid:
  4906. description: 机构id
  4907. type: integer
  4908. username:
  4909. description: 交易用户
  4910. type: string
  4911. wrstandardcode:
  4912. description: 现货商品代码
  4913. type: string
  4914. wrstandardid:
  4915. description: 现货商品id
  4916. type: integer
  4917. wrstandardname:
  4918. description: 现货商品名称
  4919. type: string
  4920. type: object
  4921. models.Ermcp3ExposureDetail:
  4922. properties:
  4923. areauserid:
  4924. description: 机构ID
  4925. type: integer
  4926. changeQty:
  4927. description: 套保变动量
  4928. type: number
  4929. contracttype:
  4930. description: 现货合同类型 - 1:采购 -1:销售
  4931. type: integer
  4932. convertfactor:
  4933. description: 标仓系数
  4934. type: number
  4935. convertratio:
  4936. description: 折算系数
  4937. type: number
  4938. createtime:
  4939. description: 时间
  4940. type: string
  4941. enumdicname:
  4942. description: 现货商品单位名称
  4943. type: string
  4944. logtype:
  4945. description: 类型 - 1:套保计划 2:现货合同
  4946. type: integer
  4947. mgunitid:
  4948. description: 套保品种单位id
  4949. type: integer
  4950. mgunitidname:
  4951. description: 套保品种单位名称
  4952. type: string
  4953. middlegoodsId:
  4954. description: 套保商品id
  4955. type: integer
  4956. middlegoodscode:
  4957. description: 套保商品代码
  4958. type: string
  4959. middlegoodsname:
  4960. description: 套保商品名称
  4961. type: string
  4962. qty:
  4963. description: 数量
  4964. type: number
  4965. relateNo:
  4966. description: 现货合同/套保计划编号
  4967. type: string
  4968. unitid:
  4969. description: 现货商品单位id
  4970. type: integer
  4971. wrstandardcode:
  4972. description: 现货商品代码
  4973. type: string
  4974. wrstandardid:
  4975. description: 现货商品ID(SEQ_WRSTANDARD)
  4976. type: integer
  4977. wrstandardname:
  4978. description: 现货商品名称
  4979. type: string
  4980. type: object
  4981. models.Ermcp3ExposureFutuDetail:
  4982. properties:
  4983. accountid:
  4984. description: 交易账户id
  4985. type: integer
  4986. accountname:
  4987. description: 交易账户
  4988. type: string
  4989. begindate:
  4990. description: 开始交易日
  4991. type: string
  4992. buyorsell:
  4993. description: 方向 0-买 1-卖
  4994. type: integer
  4995. diffmgqty:
  4996. description: 套保品种今变化量
  4997. type: number
  4998. diffneedqty:
  4999. description: 应套保总量变化量
  5000. type: number
  5001. difftradeqty:
  5002. description: 交易品种今变化量
  5003. type: number
  5004. enddate:
  5005. description: 结束交易日
  5006. type: string
  5007. enumdicname:
  5008. description: 单位名称
  5009. type: string
  5010. goodscode:
  5011. description: 商品代码
  5012. type: string
  5013. goodsid:
  5014. description: 商品id
  5015. type: integer
  5016. goodsname:
  5017. description: 商品名称
  5018. type: string
  5019. holdqty:
  5020. description: 期末持仓量
  5021. type: number
  5022. middlegoodscode:
  5023. description: 套保商品代码
  5024. type: string
  5025. middlegoodsid:
  5026. description: 套保商品id
  5027. type: integer
  5028. middlegoodsname:
  5029. description: 套保商品名称
  5030. type: string
  5031. oriholdqty:
  5032. description: 期初持仓量
  5033. type: number
  5034. todaycloseqty:
  5035. description: 今平仓量
  5036. type: number
  5037. todayopenqty:
  5038. description: 今开仓量
  5039. type: number
  5040. tradedate:
  5041. description: 交易日
  5042. type: string
  5043. username:
  5044. description: 用户名称(交易用户)
  5045. type: string
  5046. type: object
  5047. models.Ermcp3ExposureHedgeplanDetail:
  5048. properties:
  5049. biztype:
  5050. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  5051. type: integer
  5052. changqty:
  5053. description: 应套保总量变化量
  5054. type: number
  5055. contracttype:
  5056. description: 计划类型 - 1:采购 -1:销售
  5057. type: integer
  5058. convertratio:
  5059. description: 折算系数(套保品种)
  5060. type: number
  5061. deliverygoodscode:
  5062. description: 现货商品代码
  5063. type: string
  5064. deliverygoodsid:
  5065. description: 现货商品id
  5066. type: integer
  5067. deliverygoodsname:
  5068. description: 现货商吕名称
  5069. type: string
  5070. dgunitid:
  5071. description: 现货商品单位id
  5072. type: integer
  5073. dgunitidname:
  5074. description: 单位名称(现货商品)
  5075. type: string
  5076. diffqty:
  5077. description: 套保品种今变动量
  5078. type: number
  5079. enumdicname:
  5080. description: 单位名称(品类)
  5081. type: string
  5082. hedgeplanid:
  5083. description: 套保计划id
  5084. type: string
  5085. hedgeplanno:
  5086. description: 套保计划名称
  5087. type: string
  5088. hedgeplanstatus:
  5089. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5090. type: integer
  5091. mgunitidname:
  5092. description: 单位名称(套保商品)
  5093. type: string
  5094. middlegoodscode:
  5095. description: 套保品种代码
  5096. type: string
  5097. middlegoodsid:
  5098. description: 套保品种id
  5099. type: integer
  5100. middlegoodsname:
  5101. description: 套保品种名称
  5102. type: string
  5103. needarbitrageratio:
  5104. description: 应套利比例
  5105. type: number
  5106. needhedgeratio:
  5107. description: 应套保比例
  5108. type: number
  5109. pricedqty:
  5110. description: 已定价量
  5111. type: number
  5112. qty:
  5113. description: 合同量
  5114. type: number
  5115. tradedate:
  5116. description: 交易日(登记日)
  5117. type: string
  5118. unitid:
  5119. description: 品类单位id
  5120. type: integer
  5121. userid:
  5122. description: 机构id
  5123. type: integer
  5124. wrstandardcode:
  5125. description: 品类代码
  5126. type: string
  5127. wrstandardid:
  5128. description: 品类id
  5129. type: integer
  5130. wrstandardname:
  5131. description: 品类名称
  5132. type: string
  5133. type: object
  5134. models.Ermcp3ExposureParamChLog:
  5135. properties:
  5136. accountid:
  5137. description: 期货账户ID (作废, 默认为0)
  5138. type: integer
  5139. aftervalue:
  5140. description: 应套保\套利量变更后(调整后应套保总量)
  5141. type: number
  5142. areauserid:
  5143. description: 所属机构\交易用户ID
  5144. type: integer
  5145. beforevalue:
  5146. description: 应套保\套利量变更前(调整前应套保总量)
  5147. type: number
  5148. begindate:
  5149. description: 开始交易日
  5150. type: string
  5151. changelogtype:
  5152. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  5153. type: integer
  5154. curvalue:
  5155. description: 当前套保\套利量(套保总量|套利总量)
  5156. type: number
  5157. diffvalue:
  5158. description: 应套保总量变化量
  5159. type: number
  5160. enddate:
  5161. description: 结束交易日
  5162. type: string
  5163. logdatetime:
  5164. description: 流水日期
  5165. type: string
  5166. logid:
  5167. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  5168. type: string
  5169. middlegoodscode:
  5170. description: 套保品种代码
  5171. type: string
  5172. middlegoodsid:
  5173. description: 套保品种
  5174. type: integer
  5175. middlegoodsname:
  5176. description: 套保品种名称
  5177. type: string
  5178. paramaftervalue:
  5179. description: 参数变更后(调整后参数值)
  5180. type: number
  5181. parambeforevalue:
  5182. description: 参数变更前(调整前参数值)
  5183. type: number
  5184. tradedate:
  5185. description: 交易日(yyyyMMdd)
  5186. type: string
  5187. type: object
  5188. models.Ermcp3ExpourseReport:
  5189. properties:
  5190. accountid:
  5191. description: 期货账户ID (作废, 默认为0)
  5192. type: integer
  5193. accountname:
  5194. description: 机构名称
  5195. type: string
  5196. arbitrageqty:
  5197. description: 套利量
  5198. type: number
  5199. areauserid:
  5200. description: 所属机构\交易用户ID
  5201. type: integer
  5202. begindate:
  5203. description: 开始交易日
  5204. type: string
  5205. buyfutureqty:
  5206. description: 买入期货数量
  5207. type: number
  5208. buyplanqty:
  5209. description: 采购计划数量
  5210. type: number
  5211. buypricedqty:
  5212. description: 采购合同已定价数量
  5213. type: number
  5214. cycletime:
  5215. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5216. type: string
  5217. cycletype:
  5218. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5219. type: integer
  5220. diffexposure:
  5221. description: 变动量(套保敞口)
  5222. type: number
  5223. difffutuqty:
  5224. description: 变动量(期货)
  5225. type: number
  5226. diffhedgeqty:
  5227. description: 变动量(现货应套保总量)
  5228. type: number
  5229. diffmgqtya:
  5230. description: 套保变动量
  5231. type: number
  5232. diffmgqtyb:
  5233. description: 套利变动量
  5234. type: number
  5235. diffqty:
  5236. description: 变动量(总敞口)
  5237. type: number
  5238. diffspotqty:
  5239. description: 变动量(现货)
  5240. type: number
  5241. enddate:
  5242. description: 结束交易日
  5243. type: string
  5244. enumdicname:
  5245. description: 单位名称
  5246. type: string
  5247. hedgeqty:
  5248. description: 套保量
  5249. type: number
  5250. mgneedhedgeratio:
  5251. description: 套保比例(套保品的)
  5252. type: number
  5253. middlegoodsid:
  5254. description: 套保品种ID
  5255. type: integer
  5256. middlegoodsname:
  5257. description: 套保商品名称
  5258. type: string
  5259. middlgoodscode:
  5260. description: 套保商品代码
  5261. type: string
  5262. needarbitrageqty:
  5263. description: 应套利量
  5264. type: number
  5265. needarbitrageratio:
  5266. description: 套利比例(套保品的)
  5267. type: number
  5268. needhedgeexposoure:
  5269. description: 应套保敞口(套保敞口)
  5270. type: number
  5271. needhedgeqty:
  5272. description: 应套保量
  5273. type: number
  5274. needhedgeratio:
  5275. description: 应套保敞口比例
  5276. type: number
  5277. oriarbitrageqty:
  5278. description: 期初套利量
  5279. type: number
  5280. oribuyfutureqty:
  5281. description: 期初买入期货数量
  5282. type: number
  5283. oribuyplanqty:
  5284. description: 期初采购计划数量
  5285. type: number
  5286. oribuypricedqty:
  5287. description: 期初采购合同已定价数量
  5288. type: number
  5289. orihedgeqty:
  5290. description: 期初套保量
  5291. type: number
  5292. orineedarbitrageqty:
  5293. description: 期初应套利量
  5294. type: number
  5295. orineedhedgeexposoure:
  5296. description: 期初应套保敞口
  5297. type: number
  5298. orineedhedgeqty:
  5299. description: 期初应套保量
  5300. type: number
  5301. orisellfutureqty:
  5302. description: 期初卖出期货数量
  5303. type: number
  5304. orisellplanqty:
  5305. description: 期初销售计划数量
  5306. type: number
  5307. orisellpricedqty:
  5308. description: 期初销售合同已定价数量
  5309. type: number
  5310. oritotalexposure:
  5311. description: 期初实时总敞口
  5312. type: number
  5313. oritotalfutureqty:
  5314. description: 期初期货头寸总量
  5315. type: number
  5316. oritotalneedhedgeqty:
  5317. description: 期初应套保总量
  5318. type: number
  5319. oritotalspotqty:
  5320. description: 期初现货头寸总量
  5321. type: number
  5322. reckondate:
  5323. description: 日照时期(yyyyMMdd)
  5324. type: string
  5325. sellfutureqty:
  5326. description: 卖出期货数量
  5327. type: number
  5328. sellplanqty:
  5329. description: 销售计划数量
  5330. type: number
  5331. sellpricedqty:
  5332. description: 销售合同已定价数量
  5333. type: number
  5334. totalexposure:
  5335. description: 实时总敞口(总敞口)
  5336. type: number
  5337. totalfutureqty:
  5338. description: 期货头寸总量(期货总量)
  5339. type: number
  5340. totalhedgeratio:
  5341. description: 敞口比例
  5342. type: number
  5343. totalneedhedgeqty:
  5344. description: 应套保总量(现货应套保总量)
  5345. type: number
  5346. totalspotqty:
  5347. description: 现货头寸总量
  5348. type: number
  5349. unitid:
  5350. description: 单位id
  5351. type: integer
  5352. updatetime:
  5353. description: 更新时间
  5354. type: string
  5355. type: object
  5356. models.Ermcp3FinanceReport:
  5357. properties:
  5358. accountname:
  5359. description: 机构名称
  5360. type: string
  5361. areauserid:
  5362. description: 所属机构\交易用户ID
  5363. type: integer
  5364. begindate:
  5365. description: 开始交易日
  5366. type: string
  5367. biztype:
  5368. description: 业务类型 - 1:套保 2:套利
  5369. type: integer
  5370. brandname:
  5371. description: 品牌名称
  5372. type: string
  5373. buypreinvoicedamount:
  5374. description: 采购预收票额(预收票额)
  5375. type: number
  5376. buyprepaidamount:
  5377. description: 采购预付款额(预付货款额)
  5378. type: number
  5379. buytodayinvoiceamount:
  5380. description: 采购今收票额(今收票额)
  5381. type: number
  5382. buytodayrefundamount:
  5383. description: 采购今收退款额(今收退款额)
  5384. type: number
  5385. buytodaysettleamount:
  5386. description: 采购今付款额(今付货款额)
  5387. type: number
  5388. buyuninvoicedamount:
  5389. description: 采购应收票额(应收票额)
  5390. type: number
  5391. buyunpaidamount:
  5392. description: 采购应付款额(应付货款额)
  5393. type: number
  5394. currencyid:
  5395. description: 结算币种ID
  5396. type: integer
  5397. currencyname:
  5398. description: 币种名称
  5399. type: string
  5400. cycletime:
  5401. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5402. type: string
  5403. cycletype:
  5404. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5405. type: integer
  5406. deliverygoodscode:
  5407. description: 现货品种代码
  5408. type: string
  5409. deliverygoodsid:
  5410. description: 现货品种ID
  5411. type: integer
  5412. deliverygoodsname:
  5413. description: 现货品种名称
  5414. type: string
  5415. enddate:
  5416. description: 结束交易日
  5417. type: string
  5418. reckondate:
  5419. description: 日照时期(yyyyMMdd)
  5420. type: string
  5421. sellpreinvoicedamount:
  5422. description: 销售预开票额(预开票额)
  5423. type: number
  5424. sellprepaidamount:
  5425. description: 销售预收款额(预收货款额)
  5426. type: number
  5427. selltodayinvoiceamount:
  5428. description: 销售今开票额(今开票额)
  5429. type: number
  5430. selltodayrefundamount:
  5431. description: 销售今付退款额(今付退款额)
  5432. type: number
  5433. selltodaysettleamount:
  5434. description: 销售今收款额(今收货款额)
  5435. type: number
  5436. selluninvoicedamount:
  5437. description: 销售应开票额(应开票额)
  5438. type: number
  5439. sellunpaidamount:
  5440. description: 销售应收款额(应收货款额)
  5441. type: number
  5442. spotgoodsbrandid:
  5443. description: 现货品牌ID
  5444. type: integer
  5445. todaypaysum:
  5446. description: 今付款合计
  5447. type: number
  5448. todayreceivesum:
  5449. description: 今收款合计
  5450. type: number
  5451. updatetime:
  5452. description: 更新时间
  5453. type: string
  5454. wrfactortypeid:
  5455. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  5456. type: integer
  5457. wrstandardcode:
  5458. description: 品类代码
  5459. type: string
  5460. wrstandardid:
  5461. description: 现货商品ID
  5462. type: integer
  5463. wrstandardname:
  5464. description: 品类名称
  5465. type: string
  5466. type: object
  5467. models.Ermcp3GoodsGroup:
  5468. properties:
  5469. agreeunit:
  5470. description: 合约单位
  5471. type: number
  5472. areauserid:
  5473. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  5474. type: integer
  5475. canshort:
  5476. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  5477. type: integer
  5478. closepricemode:
  5479. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  5480. type: integer
  5481. createtime:
  5482. description: 创建时间
  5483. type: string
  5484. creatorid:
  5485. description: 创建人
  5486. type: integer
  5487. currencyid:
  5488. description: 报价货币ID
  5489. type: integer
  5490. decimalplace:
  5491. description: 报价小数位
  5492. type: integer
  5493. enumdicname:
  5494. description: 单位名称
  5495. type: string
  5496. exchangefullname:
  5497. description: 交易所全称
  5498. type: string
  5499. excludecfg:
  5500. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  5501. type: integer
  5502. exexchangecode:
  5503. description: 交易所代码
  5504. type: string
  5505. exexchangeid:
  5506. description: 外部交易所ID[通道交易]
  5507. type: integer
  5508. exexchangename:
  5509. description: 交易所名称
  5510. type: string
  5511. goodsgroupid:
  5512. description: 商品组ID(自增ID)
  5513. type: integer
  5514. goodsgroupname:
  5515. description: 商品组名称
  5516. type: string
  5517. goodsgroupstatus:
  5518. description: 商品组状态 - 1:正常 2:注销
  5519. type: integer
  5520. goodunitid:
  5521. description: 报价单位ID
  5522. type: integer
  5523. groupcategroyid:
  5524. description: 品种分类ID
  5525. type: integer
  5526. innerdealmode:
  5527. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  5528. type: integer
  5529. marketid:
  5530. description: 所属市场ID
  5531. type: integer
  5532. modifierid:
  5533. description: 修改人
  5534. type: integer
  5535. modifytime:
  5536. description: 修改时间
  5537. type: string
  5538. outerdealmode:
  5539. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  5540. type: integer
  5541. outergroupcode:
  5542. description: 外部商品组代码[通道交易]
  5543. type: string
  5544. quoteminunit:
  5545. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5546. type: integer
  5547. quotesourcegroupid:
  5548. description: 所属行情源分组ID[参考行情市场用\通道交易]
  5549. type: integer
  5550. syncgoodsqty:
  5551. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  5552. type: integer
  5553. required:
  5554. - areauserid
  5555. type: object
  5556. models.Ermcp3HedgePlan:
  5557. properties:
  5558. accountid:
  5559. description: 资金账号
  5560. type: integer
  5561. areauserid:
  5562. description: 用户ID
  5563. type: integer
  5564. auditid:
  5565. description: 审核id
  5566. type: integer
  5567. auditname:
  5568. description: 审核人名称
  5569. type: string
  5570. auditremark:
  5571. description: 审核备注
  5572. type: string
  5573. auditsrc:
  5574. description: 审核来源 1-管理端 2-终端
  5575. type: integer
  5576. audittime:
  5577. description: 审核时间
  5578. type: string
  5579. contracttype:
  5580. description: 计划类型 - 1:采购 -1:销售
  5581. type: integer
  5582. convertfactor:
  5583. description: 标仓系数
  5584. type: number
  5585. createtime:
  5586. description: 创建时间
  5587. type: string
  5588. currencyid:
  5589. description: 币种id
  5590. type: integer
  5591. currencyname:
  5592. description: 币种名称
  5593. type: string
  5594. deliverygoodscode:
  5595. description: 现货品种代码
  5596. type: string
  5597. deliverygoodsid:
  5598. description: 现货品种ID
  5599. type: integer
  5600. deliverygoodsname:
  5601. description: 现货品种名称
  5602. type: string
  5603. enumdicname:
  5604. description: 单位名称(现货商品)
  5605. type: string
  5606. hedgeplanid:
  5607. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  5608. type: string
  5609. hedgeplanno:
  5610. description: 套保计划编号(名称)
  5611. type: string
  5612. hedgeplanstatus:
  5613. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5614. type: integer
  5615. planqty:
  5616. description: 计划数量
  5617. type: number
  5618. plantime:
  5619. description: 计划时间
  5620. type: string
  5621. producttype:
  5622. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5623. type: integer
  5624. remark:
  5625. description: 备注
  5626. type: string
  5627. spotgoodsdesc:
  5628. description: 商品型号
  5629. type: string
  5630. taaccountname:
  5631. description: 资金账号名称
  5632. type: string
  5633. tradeuserid:
  5634. description: 交易用户id
  5635. type: integer
  5636. tradeusername:
  5637. description: 交易用户名称
  5638. type: string
  5639. unitid:
  5640. description: 单位id(现货商品)
  5641. type: integer
  5642. updatetime:
  5643. description: 更新时间
  5644. type: string
  5645. vatrate:
  5646. description: 增值税率
  5647. type: number
  5648. wrstandardcode:
  5649. description: 品类代码
  5650. type: string
  5651. wrstandardid:
  5652. description: 品类id
  5653. type: integer
  5654. wrstandardname:
  5655. description: 品类名称
  5656. type: string
  5657. wrunitid:
  5658. description: 品类单位id
  5659. type: integer
  5660. wrunitidame:
  5661. description: 品类单位名称
  5662. type: string
  5663. type: object
  5664. models.Ermcp3InnerTradeLink:
  5665. properties:
  5666. accountid:
  5667. description: 期货账号代码 | 资金账号ID
  5668. type: integer
  5669. buyorsell:
  5670. description: 方向 - 0:买 1:卖
  5671. type: integer
  5672. channelbuildtype:
  5673. description: 委托单据类型 0:无 1:建仓 2:平仓
  5674. type: integer
  5675. currencyid:
  5676. description: 币种id
  5677. type: integer
  5678. currencyname:
  5679. description: 结算币种 名称
  5680. type: string
  5681. goodscode:
  5682. description: 商品代码
  5683. type: string
  5684. goodsid:
  5685. description: 商品ID
  5686. type: integer
  5687. goodsname:
  5688. description: 商品名称
  5689. type: string
  5690. outtradeid:
  5691. description: 外部成交单号
  5692. type: string
  5693. taname:
  5694. description: 期货账户名称
  5695. type: string
  5696. tradeid:
  5697. description: 期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5698. type: string
  5699. tradeprice:
  5700. description: 成交价格
  5701. type: number
  5702. tradeqty:
  5703. description: 期货成交数量
  5704. type: integer
  5705. tradetime:
  5706. description: 关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间
  5707. type: string
  5708. username:
  5709. description: 用户名称
  5710. type: string
  5711. type: object
  5712. models.Ermcp3OutTradeLink:
  5713. properties:
  5714. buyorsell:
  5715. description: 买卖方向 - 0:买 1:卖
  5716. type: integer
  5717. channelbuildtype:
  5718. description: 开平标志- 0:无 1:建仓 2:平仓
  5719. type: integer
  5720. currencyname:
  5721. description: 币种名称
  5722. type: string
  5723. exexchangecode:
  5724. description: 交易所代码
  5725. type: string
  5726. exexchangename:
  5727. description: 交易所名称
  5728. type: string
  5729. goodscode:
  5730. description: 合约代码
  5731. type: string
  5732. goodsid:
  5733. description: 合约id
  5734. type: integer
  5735. goodsname:
  5736. description: 合约名称
  5737. type: string
  5738. hasinnerorder:
  5739. description: 是否有内部单关联 - 0:无 1:有
  5740. type: integer
  5741. hedgeaccountcode:
  5742. description: 外部账号 | 对冲账号
  5743. type: string
  5744. outtradeid:
  5745. description: 外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5746. type: string
  5747. tradeprice:
  5748. description: 成交价格
  5749. type: number
  5750. tradeqty:
  5751. description: 成交数量
  5752. type: integer
  5753. tradetime:
  5754. description: 成交时间
  5755. type: string
  5756. type: object
  5757. models.Ermcp3PaAreaAuditCfg:
  5758. properties:
  5759. areauserid:
  5760. description: 用户ID
  5761. type: integer
  5762. buyinauditflag:
  5763. description: 采购入库是否需要审核 - 0:不需审核 1:需要审核
  5764. type: integer
  5765. costratioauditflag:
  5766. description: 现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核
  5767. type: integer
  5768. customerauditflag:
  5769. description: 客户资料是否需要审核 - 0:不需审核 1:需要审核
  5770. type: integer
  5771. deliveryauditflag:
  5772. description: 交收是否需要审核 - 0:不需审核 1:需要审核
  5773. type: integer
  5774. invoiceauditflag:
  5775. description: 发票是否需要审核 - 0:不需审核 1:需要审核
  5776. type: integer
  5777. mgneedhedgeratioauditflag:
  5778. description: 套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核
  5779. type: integer
  5780. moneyauditflag:
  5781. description: 款项是否需要审核 - 0:不需审核 1:需要审核
  5782. type: integer
  5783. operatorid:
  5784. description: 操作人
  5785. type: integer
  5786. operatorsrc:
  5787. description: 操作来源 - 1:管理端 2:终端
  5788. type: integer
  5789. pointpriceauditflag:
  5790. description: 点价是否需要审核 - 0:不需审核 1:需要审核
  5791. type: integer
  5792. produceinauditflag:
  5793. description: 生产入库是否需要审核 - 0:不需审核 1:需要审核
  5794. type: integer
  5795. produceoutauditflag:
  5796. description: 生产出库是否需要审核 - 0:不需审核 1:需要审核
  5797. type: integer
  5798. selloutauditflag:
  5799. description: 销售出库是否需要审核 - 0:不需审核 1:需要审核
  5800. type: integer
  5801. sgconvertratioauditflag:
  5802. description: 现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核
  5803. type: integer
  5804. sgvtaratioauditflag:
  5805. description: 现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核
  5806. type: integer
  5807. spotcontractauditflag:
  5808. description: 现货合同是否需要审核 - 0:不需审核 1:需要审核
  5809. type: integer
  5810. updatetime:
  5811. description: 更新时间
  5812. type: string
  5813. type: object
  5814. models.Ermcp3PaAreaSubject:
  5815. properties:
  5816. areauserid:
  5817. description: 所属机构
  5818. type: integer
  5819. canmodify:
  5820. description: 是否可修改 - 0:否 1:是
  5821. type: integer
  5822. createtime:
  5823. description: 创建时间
  5824. type: string
  5825. creatorid:
  5826. description: 创建人ID
  5827. type: string
  5828. creatorsrc:
  5829. description: 创建人来源 - 1:管理端 2:终端 3:交易
  5830. type: integer
  5831. modifierid:
  5832. description: 修改人
  5833. type: string
  5834. modifiersrc:
  5835. description: 修改人来源 - 1:管理端 2:终端
  5836. type: integer
  5837. modifytime:
  5838. description: 修改时间
  5839. type: string
  5840. parentsubjectid:
  5841. description: 上级主体ID
  5842. type: string
  5843. remark:
  5844. description: 备注
  5845. type: string
  5846. subjectid:
  5847. description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  5848. type: integer
  5849. subjectname:
  5850. description: 主体名称
  5851. type: string
  5852. subjectstatus:
  5853. description: '主体状态 - 1:正常 2: 停用'
  5854. type: integer
  5855. subjecttype:
  5856. description: 主体类型 - 1:交易主体 2:业务部门
  5857. type: integer
  5858. type: object
  5859. models.Ermcp3PaTradeLink:
  5860. properties:
  5861. accountid:
  5862. description: 期货账户代码 | 账号ID
  5863. type: integer
  5864. agreeunit:
  5865. description: 合约乘数
  5866. type: number
  5867. buyorsell:
  5868. description: 方向 - 0:买 1:卖
  5869. type: integer
  5870. channelbuildtype:
  5871. description: 委托单据类型 0:无 1:建仓 2:平仓
  5872. type: integer
  5873. charge:
  5874. description: 手续费
  5875. type: number
  5876. closepl:
  5877. description: 平仓盈亏
  5878. type: number
  5879. closetype:
  5880. description: 平仓方式 - 0:无 1:平今 2:平昨
  5881. type: integer
  5882. convertratio:
  5883. description: 折算系数
  5884. type: number
  5885. enumdicname:
  5886. description: 单位名称
  5887. type: string
  5888. executeprice:
  5889. description: 执行价 [期权]
  5890. type: integer
  5891. goodscode:
  5892. description: 合约代码
  5893. type: string
  5894. goodsgroupid:
  5895. description: 对冲品种ID[期货合约商品组ID]
  5896. type: integer
  5897. goodsid:
  5898. description: 商品ID
  5899. type: integer
  5900. goodsname:
  5901. description: 合约名称
  5902. type: string
  5903. goodunitid:
  5904. description: 单位id
  5905. type: integer
  5906. hedgeflag:
  5907. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  5908. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  5909. type: integer
  5910. marketid:
  5911. description: 市场ID
  5912. type: integer
  5913. middlegoodsid:
  5914. description: 套保品种ID
  5915. type: integer
  5916. middlegoodsqty:
  5917. description: 套保品种数量 = TradeQty * AgreeUnit * ConvertRatio
  5918. type: number
  5919. optioncode:
  5920. description: 期权代码 [期权]
  5921. type: string
  5922. ordertype:
  5923. description: 单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单
  5924. type: integer
  5925. ordertypename:
  5926. description: 订单类型
  5927. type: string
  5928. parentaccountid:
  5929. description: 所属母账户
  5930. type: integer
  5931. premium:
  5932. description: 权利金 [期权]
  5933. type: number
  5934. relatedlot:
  5935. description: 已关联数量(已关联数量手) | db:关联手数
  5936. type: number
  5937. relatedouttradeid:
  5938. description: 关联外部成交单ID
  5939. type: string
  5940. relatedqty:
  5941. description: 关联数量
  5942. type: number
  5943. spotcontractid:
  5944. description: 现货合同ID [4:套期保值\10\11]
  5945. type: string
  5946. taname:
  5947. description: 期货账户名称
  5948. type: string
  5949. tradeamount:
  5950. description: 成交金额(账户)
  5951. type: number
  5952. tradedate:
  5953. description: 交易日(yyyyMMdd)
  5954. type: string
  5955. tradeid:
  5956. description: 期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5957. type: string
  5958. tradelot:
  5959. description: 成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数
  5960. type: integer
  5961. tradeprice:
  5962. description: 成交价格
  5963. type: number
  5964. tradetime:
  5965. description: 时间 | db:成交时间
  5966. type: string
  5967. tradetype:
  5968. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  5969. type: integer
  5970. userid:
  5971. description: 所属机构 - 所属母账户的UserID
  5972. type: string
  5973. username:
  5974. description: 用户名称
  5975. type: string
  5976. type: object
  5977. models.Ermcp3ParamChangeApp:
  5978. properties:
  5979. aftervalue:
  5980. description: 变更后
  5981. type: number
  5982. applicationid:
  5983. description: 申请ID(619+Unix秒时间戳(10位)+xxxxxx)
  5984. type: string
  5985. applyid:
  5986. description: 申请人
  5987. type: string
  5988. applyname:
  5989. description: 申请人名称(代码)
  5990. type: string
  5991. applyremark:
  5992. description: 申请备注
  5993. type: string
  5994. applysrc:
  5995. description: 申请来源 - 1:管理端 2:终端
  5996. type: integer
  5997. applystatus:
  5998. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  5999. type: integer
  6000. applytime:
  6001. description: 申请时间
  6002. type: string
  6003. areauserid:
  6004. description: 所属机构用户ID
  6005. type: integer
  6006. auditid:
  6007. description: 审核人
  6008. type: string
  6009. auditname:
  6010. description: 审核人名称(代码)
  6011. type: string
  6012. auditremark:
  6013. description: 审核备注
  6014. type: string
  6015. auditsrc:
  6016. description: 审核来源 - 1:管理端 2:终端
  6017. type: integer
  6018. audittime:
  6019. description: 审核时间
  6020. type: string
  6021. audittradedate:
  6022. description: 审核交易日(yyyyMMdd)
  6023. type: string
  6024. beforevalue:
  6025. description: 变更前
  6026. type: number
  6027. deliverygoodscode:
  6028. description: 品种代码
  6029. type: string
  6030. deliverygoodsid:
  6031. description: 品种id
  6032. type: integer
  6033. deliverygoodsname:
  6034. description: 品种名称
  6035. type: string
  6036. middlegoodscode:
  6037. description: 套保品种代码
  6038. type: string
  6039. middlegoodsid:
  6040. description: 套保品种ID [ParamChangeType = 2,3,4]
  6041. type: integer
  6042. middlegoodsname:
  6043. description: 套保品种名称
  6044. type: string
  6045. operatetype:
  6046. description: 操作类型 - 1:新增 2:修改
  6047. type: integer
  6048. paramchangetype:
  6049. description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  6050. type: integer
  6051. wrstandardcode:
  6052. description: 现货商品代码
  6053. type: string
  6054. wrstandardid:
  6055. description: 现货商品ID [ParamChangeType = 1,2,3]
  6056. type: integer
  6057. wrstandardname:
  6058. description: 现货商品名称
  6059. type: string
  6060. type: object
  6061. models.Ermcp3RootUserAccount:
  6062. properties:
  6063. accountname:
  6064. description: 账户名称(机构名称)
  6065. type: string
  6066. accountstatus:
  6067. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6068. type: integer
  6069. applysrc:
  6070. description: 申请来源 - 1:管理端 2:终端
  6071. type: integer
  6072. auditremark:
  6073. description: 审核备注
  6074. type: string
  6075. auditsrc:
  6076. description: 审核来源 - 1:管理端 2:终端
  6077. type: integer
  6078. audittime:
  6079. description: 审核时间
  6080. type: string
  6081. audituserid:
  6082. description: 审核人
  6083. type: integer
  6084. broker:
  6085. description: 所属经纪人ID
  6086. type: integer
  6087. canceltime:
  6088. description: 销户时间
  6089. type: string
  6090. canceluserid:
  6091. description: 销户人
  6092. type: integer
  6093. canrecommend:
  6094. description: 是否可推荐 - 0:不可 1;可
  6095. type: integer
  6096. createtime:
  6097. description: 创建时间
  6098. type: string
  6099. creatorid:
  6100. description: 创建人
  6101. type: integer
  6102. hasauth:
  6103. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  6104. type: integer
  6105. isanonymous:
  6106. description: 是否匿名下单 - 0:否 1:是
  6107. type: integer
  6108. maxinvestornum:
  6109. description: 最大用户数(经纪会员下投资者个数)
  6110. type: integer
  6111. memberuserid:
  6112. description: 所属会员ID
  6113. type: integer
  6114. modifierid:
  6115. description: 修改人
  6116. type: integer
  6117. modifyremark:
  6118. description: 变更备注
  6119. type: string
  6120. modifystatus:
  6121. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  6122. type: integer
  6123. modifytime:
  6124. description: 修改时间
  6125. type: string
  6126. nickname:
  6127. description: 昵称
  6128. type: string
  6129. parenttopuser:
  6130. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  6131. type: string
  6132. parentuserid:
  6133. description: 所属机构ID
  6134. type: integer
  6135. reckonaccountid:
  6136. description: 默认结算资金账号ID(机构分润使用) 作废
  6137. type: integer
  6138. refercount:
  6139. description: 推荐总人数
  6140. type: integer
  6141. refereeuserid:
  6142. description: 推荐人ID
  6143. type: integer
  6144. refernum:
  6145. description: 推荐码
  6146. type: string
  6147. rootuserid:
  6148. description: 根用户ID
  6149. type: integer
  6150. subaccountlevel:
  6151. description: 子账户层数
  6152. type: integer
  6153. subarealevelpath:
  6154. description: 子机构层级路径(逗号分隔,首尾加逗号)
  6155. type: string
  6156. userid:
  6157. description: 用户ID
  6158. type: integer
  6159. usertype:
  6160. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6161. type: integer
  6162. type: object
  6163. models.Ermcp3SCMiddleGoods:
  6164. properties:
  6165. biztype:
  6166. description: 业务类型 1:套保 2:套利
  6167. type: integer
  6168. contractno:
  6169. description: 合同编号
  6170. type: string
  6171. contracttype:
  6172. description: 合同类型 1:采购 -1:销售
  6173. type: integer
  6174. convertratio:
  6175. description: 折算系数
  6176. type: number
  6177. customername:
  6178. description: 对手手名称
  6179. type: string
  6180. customeruserid:
  6181. description: 对手id
  6182. type: integer
  6183. deliverygoodscode:
  6184. description: 现货品种代码
  6185. type: string
  6186. deliverygoodsid:
  6187. description: 现货品种ID
  6188. type: integer
  6189. deliverygoodsname:
  6190. description: 现货品种名称
  6191. type: string
  6192. enumdicname:
  6193. description: 现货单位名称
  6194. type: string
  6195. middlegoodsid:
  6196. description: 套保品种ID
  6197. type: integer
  6198. middlegoodspricedqty3:
  6199. description: 应套保数量 = MiddleGoodsPricedQty2 * 套保比率
  6200. type: number
  6201. needhedgeratio:
  6202. description: 套保比例
  6203. type: number
  6204. pricedqty:
  6205. description: 已定价量
  6206. type: number
  6207. relatedmiddlegoodsqty:
  6208. description: 已关联量(套保品种)(期货)
  6209. type: number
  6210. spotcontractid:
  6211. description: 合同编号
  6212. type: string
  6213. unitid:
  6214. description: 现货单位id
  6215. type: integer
  6216. userid:
  6217. description: 用户id
  6218. type: integer
  6219. vatrate:
  6220. description: 增值税率
  6221. type: number
  6222. wrstandardcode:
  6223. description: 现货商品代码
  6224. type: string
  6225. wrstandardid:
  6226. description: 现货商品id
  6227. type: integer
  6228. wrstandardname:
  6229. description: 现货商品名称
  6230. type: string
  6231. type: object
  6232. models.Ermcp3SCMiddleGoodsReport:
  6233. properties:
  6234. begindate:
  6235. description: 开始交易日
  6236. type: string
  6237. contractno:
  6238. description: 合同编号
  6239. type: string
  6240. contracttype:
  6241. description: 合同类型 1:采购 -1:销售
  6242. type: integer
  6243. convertratio:
  6244. description: 折算系数
  6245. type: number
  6246. cycletime:
  6247. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6248. type: string
  6249. cycletype:
  6250. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6251. type: integer
  6252. deliverygoodscode:
  6253. description: 品种代码
  6254. type: string
  6255. deliverygoodsid:
  6256. description: 现货品种ID
  6257. type: integer
  6258. deliverygoodsname:
  6259. description: 品种名称
  6260. type: string
  6261. diffprice:
  6262. description: 现期价格差 = 今日点价登记均价(基价) - 今日期货成交均价
  6263. type: number
  6264. diffqty:
  6265. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  6266. type: number
  6267. enddate:
  6268. description: 结束交易日
  6269. type: string
  6270. hedgeplanqty:
  6271. description: 套保计划量 = TodayPricedQty * 折算系数 * (1/(1+增值税率)) * 套保比例
  6272. type: number
  6273. matchname:
  6274. description: 交易对手方(个人:用户名称 企业:简称)
  6275. type: string
  6276. middlegoodscode:
  6277. description: 套保品种代码
  6278. type: string
  6279. middlegoodsid:
  6280. description: 套保品种ID
  6281. type: integer
  6282. middlegoodsname:
  6283. description: 套保品种名称
  6284. type: string
  6285. middlegoodspricedqty:
  6286. description: 已定价量(套保品种 - 税前) = PricedQty * 折算系数
  6287. type: number
  6288. middlegoodspricedqty2:
  6289. description: 已定价量(套保品种- 税后) = MiddleGoodsPricedQty * (1/(1+增值税率))
  6290. type: number
  6291. middlegoodspricedqty3:
  6292. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  6293. type: number
  6294. needhedgeratio:
  6295. description: 套保系数
  6296. type: number
  6297. pricedamount:
  6298. description: 已定价额(现货)
  6299. type: number
  6300. pricedamount2:
  6301. description: 已定价额(现货-基价额)
  6302. type: number
  6303. pricedqty:
  6304. description: 已定价量(现货)
  6305. type: number
  6306. reckondate:
  6307. description: 日照时期(yyyyMMdd)
  6308. type: string
  6309. relatedmiddlegoodsamount:
  6310. description: 已关联额(期货)
  6311. type: number
  6312. relatedmiddlegoodsqty:
  6313. description: 已关联量(套保品种)(期货)
  6314. type: number
  6315. spotcontractid:
  6316. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  6317. type: string
  6318. todayavgfutuprice:
  6319. description: 今日期货成交均价 = TodayRelatedMiddleGoodsAmount /todayrelatedfutureqty
  6320. type: number
  6321. todayavgprice:
  6322. description: 今日定价均价 = TodayPricedAmount / TodayPricedQty
  6323. type: number
  6324. todayavgprice2:
  6325. description: 今日点价登记均价(基价) = TodayPricedAmount2 / TodayPricedQty
  6326. type: number
  6327. todaypricedamount:
  6328. description: 今日定价额(现货)
  6329. type: number
  6330. todaypricedamount2:
  6331. description: 今日定价额(现货-基价额)
  6332. type: number
  6333. todaypricedqty:
  6334. description: 今日定价量(现货)
  6335. type: number
  6336. todayrelatedfutureqty:
  6337. description: 今日关联量(期货)
  6338. type: number
  6339. todayrelatedmiddlegoodsamount:
  6340. description: 今日关联额(期货)
  6341. type: number
  6342. todayrelatedmiddlegoodsqty:
  6343. description: 今日关联量(套保品-期货)
  6344. type: number
  6345. updatetime:
  6346. description: 更新时间
  6347. type: string
  6348. userid:
  6349. description: 合同所属用户id
  6350. type: integer
  6351. vatrate:
  6352. description: 增值税率
  6353. type: number
  6354. wrstandardcode:
  6355. description: 商品(品类) 代码
  6356. type: string
  6357. wrstandardid:
  6358. description: 现货商品ID
  6359. type: integer
  6360. wrstandardname:
  6361. description: 商品(品类) 名称
  6362. type: string
  6363. type: object
  6364. models.Ermcp3SellBuyContract:
  6365. properties:
  6366. accountid:
  6367. description: 期货账户id
  6368. type: string
  6369. accountname:
  6370. description: 账户名称
  6371. type: string
  6372. attachment:
  6373. description: 附件
  6374. type: string
  6375. audittime:
  6376. description: 审核时间
  6377. type: string
  6378. bizsubjectid:
  6379. description: 归属业务部门ID - SubjectID
  6380. type: integer
  6381. biztype:
  6382. description: 业务类型 1-套保 2-套利
  6383. type: integer
  6384. brandname:
  6385. description: 品牌名称
  6386. type: string
  6387. contracctstatus:
  6388. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6389. type: integer
  6390. contractmargin:
  6391. description: 合同保证金
  6392. type: number
  6393. contractno:
  6394. description: 合同编号
  6395. type: string
  6396. contracttype:
  6397. description: 合同类型 1-采购, -1-销售
  6398. type: integer
  6399. convertfactor:
  6400. description: 标仓系数(品类)
  6401. type: number
  6402. createtime:
  6403. description: 创建时间
  6404. type: string
  6405. currencyid:
  6406. description: 币种id
  6407. type: integer
  6408. currencyname:
  6409. description: 币种名称
  6410. type: string
  6411. daikaiamount:
  6412. description: 应收(开)票额
  6413. type: number
  6414. deliveryenddate:
  6415. description: 交割结束日
  6416. type: string
  6417. deliverygoodscode:
  6418. description: 现货品种代码
  6419. type: string
  6420. deliverygoodsid:
  6421. description: 现货商品ID
  6422. type: integer
  6423. deliverygoodsname:
  6424. description: 现货品种名称
  6425. type: string
  6426. deliverystartdate:
  6427. description: 交割开始日
  6428. type: string
  6429. enddate:
  6430. description: 点价结束日
  6431. type: string
  6432. enumdicname:
  6433. description: 单位名称
  6434. type: string
  6435. goodscode:
  6436. description: 点价商品代码
  6437. type: string
  6438. goodsgroupid:
  6439. description: 点价商品组id
  6440. type: integer
  6441. goodsid:
  6442. description: 点价商品ID
  6443. type: integer
  6444. goodsname:
  6445. description: 点价商品名称
  6446. type: string
  6447. invoiceamount:
  6448. description: 已开票额
  6449. type: number
  6450. loanamount:
  6451. description: 贷款总额=已定价额+调整金额
  6452. type: number
  6453. margin:
  6454. description: 保证金
  6455. type: number
  6456. meruserid:
  6457. description: 跟单员id
  6458. type: integer
  6459. meruserlogincode:
  6460. description: 跟单员登录代码
  6461. type: string
  6462. merusername:
  6463. description: 跟单员名称
  6464. type: string
  6465. nickname:
  6466. description: 账户昵称
  6467. type: string
  6468. orireckonrealqty:
  6469. description: 应交收量
  6470. type: number
  6471. payamount:
  6472. description: 已收付额(收款或付款)
  6473. type: number
  6474. preinvoiceamount:
  6475. description: 预收(开)票额
  6476. type: number
  6477. prepayamount:
  6478. description: 预收付额
  6479. type: number
  6480. price:
  6481. description: 价格
  6482. type: number
  6483. pricedamount:
  6484. description: 已定价额
  6485. type: number
  6486. pricedavg:
  6487. description: 已点均价
  6488. type: number
  6489. pricedqty:
  6490. description: 已定价量
  6491. type: number
  6492. pricemove:
  6493. description: 升贴水
  6494. type: number
  6495. pricetype:
  6496. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  6497. type: integer
  6498. producttype:
  6499. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6500. type: integer
  6501. qty:
  6502. description: 合同量
  6503. type: number
  6504. reckonadjustamount:
  6505. description: 调整金额
  6506. type: number
  6507. reckonedamount:
  6508. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  6509. type: number
  6510. reckonotheramount:
  6511. description: 其它费用
  6512. type: number
  6513. reckonrealqty:
  6514. description: 已交收量
  6515. type: number
  6516. remark:
  6517. description: 备注
  6518. type: string
  6519. saleuserid:
  6520. description: 业务员id
  6521. type: integer
  6522. saleuserlogincode:
  6523. description: 业务员登录代码
  6524. type: string
  6525. saleusername:
  6526. description: 业务员名称
  6527. type: string
  6528. spotcontractid:
  6529. description: 合同ID
  6530. type: string
  6531. spotgoodsbrandid:
  6532. description: 现货品牌ID(DGFactoryItem表的ID)
  6533. type: integer
  6534. spotgoodsdesc:
  6535. description: 商品型号(商品规格)
  6536. type: string
  6537. startdate:
  6538. description: 点价开始日
  6539. type: string
  6540. subjectid:
  6541. description: 交易主体ID
  6542. type: integer
  6543. subjectname:
  6544. description: 交易主体名称
  6545. type: string
  6546. totalamount:
  6547. description: 合计总额
  6548. type: number
  6549. tradeuserid:
  6550. description: 交易员id
  6551. type: integer
  6552. tradeuserlogincode:
  6553. description: 交易员登录代码
  6554. type: string
  6555. tradeusername:
  6556. description: 交易员名称
  6557. type: string
  6558. unpayamount:
  6559. description: 应收付款额(应支付或应收款)
  6560. type: number
  6561. unpricedqty:
  6562. description: 未定价量
  6563. type: number
  6564. unsureqty:
  6565. description: 未确定量
  6566. type: number
  6567. userid:
  6568. description: 机构ID
  6569. type: integer
  6570. vatrate:
  6571. description: 增值税率
  6572. type: number
  6573. wrstandardcode:
  6574. description: 品类代码
  6575. type: string
  6576. wrstandardid:
  6577. description: 品类ID
  6578. type: integer
  6579. wrstandardname:
  6580. description: 品类名称
  6581. type: string
  6582. type: object
  6583. models.Ermcp3SpotGoodsPrice:
  6584. properties:
  6585. areauserid:
  6586. description: 所属机构id
  6587. type: integer
  6588. brandname:
  6589. description: 品牌名称
  6590. type: string
  6591. currencyid:
  6592. description: 报价货币ID
  6593. type: integer
  6594. currencyname:
  6595. description: 币种名称
  6596. type: string
  6597. deliverygoodscode:
  6598. description: 现货商品代码
  6599. type: string
  6600. deliverygoodsid:
  6601. description: 现货商品id
  6602. type: integer
  6603. deliverygoodsname:
  6604. description: 现货商品名称
  6605. type: string
  6606. enumdicname:
  6607. description: 现货商品单位名称
  6608. type: string
  6609. gbenumdicname:
  6610. description: 品类单位名称
  6611. type: string
  6612. gmunitid:
  6613. description: 品类单位id
  6614. type: integer
  6615. isvalid:
  6616. description: 是否有效 - 0:无效 1:有效
  6617. type: integer
  6618. operateid:
  6619. description: 最后操作人
  6620. type: integer
  6621. operatesrc:
  6622. description: 最后操作来源 - 1:管理端 2:终端
  6623. type: integer
  6624. operatetime:
  6625. description: 最后操作时间
  6626. type: string
  6627. operatorname:
  6628. description: 操作人名称
  6629. type: string
  6630. spotgoodsbrandid:
  6631. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6632. type: integer
  6633. spotgoodsprice:
  6634. description: 现货价格
  6635. type: number
  6636. tradedate:
  6637. description: 交易日(yyyyMMdd)
  6638. type: string
  6639. unitid:
  6640. description: 现货商品单位id
  6641. type: integer
  6642. wrstandardcode:
  6643. description: 品类代码
  6644. type: string
  6645. wrstandardid:
  6646. description: 现货品类ID(通用则为0)
  6647. type: integer
  6648. wrstandardname:
  6649. description: 品类名称
  6650. type: string
  6651. type: object
  6652. models.Ermcp3SpotGoodsPriceLog:
  6653. properties:
  6654. areauserid:
  6655. description: 所属机构id
  6656. type: integer
  6657. brandname:
  6658. description: 品牌名称
  6659. type: string
  6660. currencyid:
  6661. description: 报价货币ID
  6662. type: integer
  6663. deliverygoodscode:
  6664. description: 现货商品代码
  6665. type: string
  6666. deliverygoodsid:
  6667. description: 现货商品id
  6668. type: integer
  6669. deliverygoodsname:
  6670. description: 现货商品名称
  6671. type: string
  6672. enumdicname:
  6673. description: 现货商品单位名称
  6674. type: string
  6675. gbenumdicname:
  6676. description: 品类单位名称
  6677. type: string
  6678. gmunitid:
  6679. description: 品类单位id
  6680. type: integer
  6681. logid:
  6682. description: 日志id
  6683. type: integer
  6684. operateid:
  6685. description: 最后操作人
  6686. type: integer
  6687. operatesrc:
  6688. description: 最后操作来源 - 1:管理端 2:终端
  6689. type: integer
  6690. operatetime:
  6691. description: 最后操作时间
  6692. type: string
  6693. operatorname:
  6694. description: 操作人名称
  6695. type: string
  6696. spotgoodsbrandid:
  6697. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6698. type: integer
  6699. spotgoodsprice:
  6700. description: 现货价格
  6701. type: number
  6702. tradedate:
  6703. description: 交易日(yyyyMMdd)
  6704. type: string
  6705. unitid:
  6706. description: 现货商品单位id
  6707. type: integer
  6708. wrstandardcode:
  6709. description: 品类代码
  6710. type: string
  6711. wrstandardid:
  6712. description: 现货品类ID(通用则为0)
  6713. type: integer
  6714. wrstandardname:
  6715. description: 品类名称
  6716. type: string
  6717. type: object
  6718. models.Ermcp3SubTaaccount:
  6719. properties:
  6720. accountid:
  6721. description: 资金账户ID
  6722. type: integer
  6723. parentaccountcode:
  6724. description: 所属根账号代码(母账号代码)
  6725. type: string
  6726. parentaccountid:
  6727. description: 所属根账号(母账号)
  6728. type: integer
  6729. taname:
  6730. description: 资金账号名称
  6731. type: string
  6732. tradestatus:
  6733. description: 交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)
  6734. type: integer
  6735. username:
  6736. description: 交易用户
  6737. type: string
  6738. type: object
  6739. models.Ermcp3TaFutuReDataReport:
  6740. properties:
  6741. accountid:
  6742. description: 交易账户
  6743. type: integer
  6744. accountname:
  6745. description: 交易账号名称
  6746. type: string
  6747. agreeunit:
  6748. description: 商品合约单位
  6749. type: number
  6750. begindate:
  6751. description: 开始交易日
  6752. type: string
  6753. buyorsell:
  6754. description: 持仓方向
  6755. type: integer
  6756. charge:
  6757. description: 手续费
  6758. type: number
  6759. closeavgprice:
  6760. description: 平仓均价
  6761. type: number
  6762. closepl:
  6763. description: 平仓损益
  6764. type: number
  6765. currencyid:
  6766. description: 结算币种ID
  6767. type: integer
  6768. currencyname:
  6769. description: 币种名称
  6770. type: string
  6771. cycletime:
  6772. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6773. type: string
  6774. cycletype:
  6775. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6776. type: integer
  6777. enddate:
  6778. description: 结束交易日
  6779. type: string
  6780. enumdicname:
  6781. description: 单位名称
  6782. type: string
  6783. floatpl:
  6784. description: 浮动损益
  6785. type: number
  6786. goodscode:
  6787. description: 交易合约代码
  6788. type: string
  6789. goodsgroupid:
  6790. description: 交易品种
  6791. type: integer
  6792. goodsgroupname:
  6793. description: 交易品种名称
  6794. type: string
  6795. goodsgroupspotqty:
  6796. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  6797. type: number
  6798. goodsid:
  6799. description: 交易合约
  6800. type: integer
  6801. goodsname:
  6802. description: 交易合约名称
  6803. type: string
  6804. goodunitid:
  6805. description: 交易合约单位id
  6806. type: integer
  6807. holdamount:
  6808. description: 期末持仓额
  6809. type: number
  6810. holdqty:
  6811. description: 期末持仓量
  6812. type: number
  6813. lastholdamount:
  6814. description: 当前持仓额
  6815. type: number
  6816. lastprice:
  6817. description: 最新价
  6818. type: number
  6819. middlegoodsid:
  6820. description: 套保品种id
  6821. type: integer
  6822. middlegoodsname:
  6823. description: 套保商品名称
  6824. type: string
  6825. middlegoodsqty:
  6826. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  6827. type: number
  6828. middlgoodscode:
  6829. description: 套保商品代码
  6830. type: string
  6831. openamount:
  6832. description: 期末开仓额
  6833. type: number
  6834. openavgprice:
  6835. description: 开仓均价
  6836. type: number
  6837. oriholdamount:
  6838. description: 期初持仓额
  6839. type: number
  6840. oriholdqty:
  6841. description: 期初持仓量
  6842. type: number
  6843. oriopenamount:
  6844. description: 期初开仓额
  6845. type: number
  6846. outergroupcode:
  6847. description: 交易品种代码
  6848. type: string
  6849. qtydecimalplace:
  6850. description: 成交量小数位
  6851. type: integer
  6852. reckondate:
  6853. description: 日照时期(yyyyMMdd)
  6854. type: string
  6855. reckonholdamount:
  6856. description: 结算持仓额
  6857. type: number
  6858. reckonpl:
  6859. description: 结算损益
  6860. type: number
  6861. reckonpl2:
  6862. description: 结算逐笔盈亏
  6863. type: number
  6864. reckonprice:
  6865. description: 结算价
  6866. type: number
  6867. relateduserid:
  6868. description: 账户关联用户ID
  6869. type: integer
  6870. todaycloseamount:
  6871. description: 今平仓额
  6872. type: number
  6873. todaycloseqty:
  6874. description: 今平仓量
  6875. type: number
  6876. todaygoodsgroupspotqty:
  6877. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  6878. type: number
  6879. todaymiddlegoodsqty:
  6880. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  6881. type: number
  6882. todayopenamount:
  6883. description: 今开仓额
  6884. type: number
  6885. todayopenqty:
  6886. description: 今开仓量
  6887. type: number
  6888. userid:
  6889. description: 账户所属用户ID
  6890. type: integer
  6891. type: object
  6892. models.Ermcp3TradeLinkDetail:
  6893. properties:
  6894. accountid:
  6895. description: 资金账号
  6896. type: integer
  6897. agreeunit:
  6898. description: 合约乘数
  6899. type: number
  6900. areauserid:
  6901. description: 所属机构
  6902. type: string
  6903. bizsubjectid:
  6904. description: 归属业务部门ID - SubjectID
  6905. type: string
  6906. buyorsell:
  6907. description: 方向 - 0:买 1:卖
  6908. type: integer
  6909. channelbuildtype:
  6910. description: 委托单据类型 0:无 1:建仓 2:平仓
  6911. type: integer
  6912. contractno:
  6913. description: 现货编号 (合同编号)
  6914. type: string
  6915. convertratio:
  6916. description: 折算系数
  6917. type: number
  6918. createtime:
  6919. description: 关联时间 | 创建时间
  6920. type: string
  6921. creatorid:
  6922. description: 创建人ID
  6923. type: string
  6924. creatorsrc:
  6925. description: 创建人来源 - 1:管理端 2:终端 3:交易
  6926. type: integer
  6927. enumdicname:
  6928. description: 单位名称
  6929. type: string
  6930. goodscode:
  6931. description: 合约代码
  6932. type: string
  6933. goodsgroupid:
  6934. description: 对冲品种ID[期货合约商品组ID]
  6935. type: integer
  6936. goodsid:
  6937. description: 商品ID
  6938. type: integer
  6939. goodsname:
  6940. description: 合约名称
  6941. type: string
  6942. hedgeflag:
  6943. description: 业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安)
  6944. 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  6945. type: integer
  6946. linkdetailid:
  6947. description: 关联ID(614+Unix秒时间戳(10位)+xxxxxx)
  6948. type: string
  6949. linkstatus:
  6950. description: 关联状态 - 1:成功 2:失败 3:解绑
  6951. type: integer
  6952. middlegoodscode:
  6953. description: 套保品种代码
  6954. type: string
  6955. middlegoodsid:
  6956. description: 套保品种ID
  6957. type: integer
  6958. middlegoodsname:
  6959. description: 套保品种名称
  6960. type: string
  6961. relatedlot:
  6962. description: 关联手数
  6963. type: number
  6964. relatedmode:
  6965. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  6966. type: integer
  6967. relatedqty:
  6968. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  6969. type: number
  6970. retcode:
  6971. description: 返回码
  6972. type: integer
  6973. saleuserid:
  6974. description: 业务员ID
  6975. type: string
  6976. spotcontractid:
  6977. description: 现货合同\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]
  6978. type: string
  6979. taname:
  6980. description: 期货账户
  6981. type: string
  6982. tradedate:
  6983. description: 关联交易日(yyyyMMdd)
  6984. type: string
  6985. tradeid:
  6986. description: 期货订单号 | 内部成交单ID
  6987. type: string
  6988. tradelot:
  6989. description: 成交数量 | 成交手数
  6990. type: integer
  6991. tradeprice:
  6992. description: 成交价格
  6993. type: number
  6994. tradetime:
  6995. description: 期货成交时间
  6996. type: string
  6997. tradetradedate:
  6998. description: 成交交易日(yyyyMMdd)
  6999. type: string
  7000. username:
  7001. description: 用户名称
  7002. type: string
  7003. type: object
  7004. models.Ermcp3Wrstandard:
  7005. properties:
  7006. areauserid:
  7007. description: 所属机构
  7008. type: integer
  7009. cantrade:
  7010. description: 是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)
  7011. type: integer
  7012. convertfactor:
  7013. description: 标仓系数
  7014. type: number
  7015. createtime:
  7016. description: 创建时间
  7017. type: string
  7018. creatorid:
  7019. description: 创建人
  7020. type: integer
  7021. deliverygoodsid:
  7022. description: 现货品种ID
  7023. type: integer
  7024. enumdicname:
  7025. description: 品类单位名称
  7026. type: string
  7027. isvalid:
  7028. description: 是否有效 0-无效(停用) 1-有效(正常)
  7029. type: integer
  7030. minivalue:
  7031. description: 最小变动值
  7032. type: integer
  7033. minivaluedp:
  7034. description: 最小变动值小数位
  7035. type: integer
  7036. realminivalue:
  7037. description: 实际最小变动值
  7038. type: integer
  7039. realminivaluedp:
  7040. description: 实际最小变动值小数位
  7041. type: integer
  7042. remark:
  7043. description: 备注
  7044. type: string
  7045. unitid:
  7046. description: 品类单位ID
  7047. type: integer
  7048. updatetime:
  7049. description: 更新时间
  7050. type: string
  7051. wrstandardcode:
  7052. description: 品类代码
  7053. type: string
  7054. wrstandardid:
  7055. description: 品类ID(SEQ_WRSTANDARD)
  7056. type: integer
  7057. wrstandardname:
  7058. description: 品类名称
  7059. type: string
  7060. type: object
  7061. models.ErmcpBizGroupEx:
  7062. properties:
  7063. acclist:
  7064. description: 账号列表
  7065. items:
  7066. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  7067. type: array
  7068. bizgroupid:
  7069. description: 业务分组id
  7070. type: integer
  7071. biztype:
  7072. description: 业务类型 1-套保 2-套利
  7073. type: integer
  7074. wrlist:
  7075. description: 现货商品表
  7076. items:
  7077. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  7078. type: array
  7079. type: object
  7080. models.ErmcpBizGroupSpotGoods:
  7081. properties:
  7082. areauserid:
  7083. description: 所属机构id
  7084. type: integer
  7085. bizgroupid:
  7086. description: 分组id
  7087. type: integer
  7088. biztype:
  7089. description: 业务类型 1-套保 2-套利
  7090. type: integer
  7091. deliverygoodscode:
  7092. description: 现货商品代码
  7093. type: string
  7094. deliverygoodsid:
  7095. description: 现货商品id
  7096. type: integer
  7097. deliverygoodsname:
  7098. description: 现货商品名称
  7099. type: string
  7100. unitid:
  7101. description: 现货商品单位id
  7102. type: integer
  7103. type: object
  7104. models.ErmcpBizGroupTaAccount:
  7105. properties:
  7106. accountid:
  7107. description: 账号id
  7108. type: integer
  7109. accountname:
  7110. description: 账号名称
  7111. type: string
  7112. areauserid:
  7113. description: 所属机构id
  7114. type: integer
  7115. bizgroupid:
  7116. description: 业务分组id
  7117. type: integer
  7118. ismain:
  7119. description: 是否主账号 1-是 0-否
  7120. type: integer
  7121. type: object
  7122. models.ErmcpDGFactoryItem:
  7123. properties:
  7124. areauserid:
  7125. description: 用户id
  7126. type: integer
  7127. deliverygoodsid:
  7128. description: 现货品种ID
  7129. type: integer
  7130. dgfactoryitemid:
  7131. description: 选择项ID(SEQ_DGFACTORYITEM)
  7132. type: integer
  7133. dgfactoryitemtypeid:
  7134. description: 要素项类型
  7135. type: integer
  7136. dgfactoryitemvalue:
  7137. description: 要素项值(类型为仓库时填写仓库名称)
  7138. type: string
  7139. isvalid:
  7140. description: 是否有效 - 0:无效 1:有效
  7141. type: integer
  7142. orderindex:
  7143. description: 顺序
  7144. type: integer
  7145. warehouseid:
  7146. description: 仓库ID(类型为仓库时填写)
  7147. type: integer
  7148. type: object
  7149. models.ErmcpDeliveryGoods:
  7150. properties:
  7151. agreeunit:
  7152. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  7153. type: integer
  7154. areauserid:
  7155. description: 所属机构
  7156. type: integer
  7157. auditflag:
  7158. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  7159. type: integer
  7160. categoryid:
  7161. description: 类别ID(SEQ_WRCATEGORY)
  7162. type: integer
  7163. deliverygoodscode:
  7164. description: 现货品种代码
  7165. type: string
  7166. deliverygoodsid:
  7167. description: 现货品种ID(SEQ_DELIVERYGOODS)
  7168. type: integer
  7169. deliverygoodsname:
  7170. description: 现货品种名称
  7171. type: string
  7172. deliverygoodstype:
  7173. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  7174. type: integer
  7175. dgstatus:
  7176. description: 品种状态 - 作废 - 0:未激活 1:正常
  7177. type: integer
  7178. enumdicname:
  7179. description: 现货品种单位名称
  7180. type: string
  7181. goodsunitid:
  7182. description: 现货品种单位ID
  7183. type: integer
  7184. isvalid:
  7185. description: 是否有效 - 0:无效 1:有效
  7186. type: integer
  7187. qtydecimalplace:
  7188. description: 成交量小数位
  7189. type: integer
  7190. remark:
  7191. description: 备注
  7192. type: string
  7193. standardqty:
  7194. description: 标准数量(库位数量) [标准品特有]
  7195. type: integer
  7196. standardqtyrange:
  7197. description: 标准数量偏差范围 [标准品特有]
  7198. type: integer
  7199. type: object
  7200. models.ErmcpFuturesCompany:
  7201. properties:
  7202. brokerid:
  7203. description: 经纪公司代码
  7204. type: string
  7205. channeladdress:
  7206. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  7207. type: string
  7208. channelid:
  7209. description: 对冲渠道ID
  7210. type: string
  7211. createtime:
  7212. description: 创建时间
  7213. type: string
  7214. creatorid:
  7215. description: 创建人
  7216. type: string
  7217. fcid:
  7218. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  7219. type: integer
  7220. fcname:
  7221. description: 期货公司名称
  7222. type: string
  7223. isvalid:
  7224. description: 是否有效 - 0:无效 1:有效
  7225. type: integer
  7226. mhpaddress:
  7227. description: MHP服务地址(IP:Port)
  7228. type: string
  7229. riskrulegroupid:
  7230. description: 风控规则组ID
  7231. type: string
  7232. tradefeetmpid:
  7233. description: 手续费模板ID[TradeConfigTmpType为2]
  7234. type: string
  7235. trademargintmpid:
  7236. description: 保证金模板ID [TradeConfigTmpType为1]
  7237. type: string
  7238. traderatetmpid:
  7239. description: 汇率模板ID[TradeConfigTmpType为3]
  7240. type: string
  7241. updatetime:
  7242. description: 更新时间
  7243. type: string
  7244. updatorid:
  7245. description: 更新人
  7246. type: string
  7247. type: object
  7248. models.ErmcpGGConvertCfg:
  7249. properties:
  7250. convertratio:
  7251. description: 折算系数
  7252. type: number
  7253. destgoodsgroupid:
  7254. description: 目标品种ID
  7255. type: integer
  7256. dstcode:
  7257. description: 目录品种代码
  7258. type: string
  7259. dstexchangecode:
  7260. description: 目标期货交易所
  7261. type: string
  7262. dstname:
  7263. description: 目标品种名称
  7264. type: string
  7265. dstunitid:
  7266. description: 目标品种单位ID
  7267. type: integer
  7268. dstunitidname:
  7269. description: 目标品种单位名称
  7270. type: string
  7271. modifytime:
  7272. description: 修改时间
  7273. type: string
  7274. srccode:
  7275. description: 源品种代码
  7276. type: string
  7277. srcexchangecode:
  7278. description: 源期货交易所
  7279. type: string
  7280. srcgoodsgroupid:
  7281. description: 源品种ID
  7282. type: integer
  7283. srcname:
  7284. description: 源品种名称
  7285. type: string
  7286. srcunitid:
  7287. description: 源品种单位ID
  7288. type: integer
  7289. srcunitidname:
  7290. description: 源品种单位名称
  7291. type: string
  7292. type: object
  7293. models.ErmcpGoods:
  7294. properties:
  7295. agreeunit:
  7296. description: 合约单位
  7297. type: number
  7298. areauserid:
  7299. description: 所属机构
  7300. type: integer
  7301. auditaccountid:
  7302. description: 审核操作员账号
  7303. type: integer
  7304. audittime:
  7305. description: 审核时间
  7306. type: string
  7307. cancelaccountid:
  7308. description: 注销操作员账号
  7309. type: integer
  7310. canceltime:
  7311. description: 注销时间
  7312. type: string
  7313. closepricemode:
  7314. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7315. type: integer
  7316. closepriceparam:
  7317. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  7318. type: number
  7319. createtime:
  7320. description: 创建时间
  7321. type: string
  7322. creatorid:
  7323. description: 创建人
  7324. type: integer
  7325. currencyid:
  7326. description: 报价货币ID
  7327. type: integer
  7328. cutmode:
  7329. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  7330. type: integer
  7331. decimalplace:
  7332. description: 报价小数位
  7333. type: integer
  7334. delistingdate:
  7335. description: 商品退市时间(状态:退市) -- 已作废
  7336. type: string
  7337. delistingmode:
  7338. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  7339. type: integer
  7340. deliveryflag:
  7341. description: 交割标志 - 0:不可交割 1:可交割
  7342. type: integer
  7343. enumdicname:
  7344. description: 单位名称
  7345. type: string
  7346. forceclosemode:
  7347. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  7348. type: integer
  7349. forceclosevalue:
  7350. description: 定期强平参数 [收益权]
  7351. type: integer
  7352. goodscode:
  7353. description: 商品代码(内部)
  7354. type: string
  7355. goodscurrencyid:
  7356. description: 合约货币ID
  7357. type: integer
  7358. goodsgroupid:
  7359. description: 所属商品组ID
  7360. type: integer
  7361. goodsid:
  7362. description: 商品ID(自增ID SEQ_GOODS)
  7363. type: integer
  7364. goodsname:
  7365. description: 商品名称
  7366. type: string
  7367. goodsquotetype:
  7368. description: '合约报价类型: 1-直接报价 2-间接报价'
  7369. type: integer
  7370. goodsstatus:
  7371. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7372. type: integer
  7373. goodstradetype:
  7374. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  7375. type: integer
  7376. goodunitid:
  7377. description: 报价单位ID
  7378. type: integer
  7379. hasquoter:
  7380. description: 是否有报价商 - 0:无报价商 1:有报价商
  7381. type: integer
  7382. hqprotecttime:
  7383. description: 行情保护时间(秒)
  7384. type: integer
  7385. innerdealmode:
  7386. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7387. type: integer
  7388. isbuylimited:
  7389. description: 是否限制建仓量 - 0:不限制 1:限制
  7390. type: integer
  7391. isvisible:
  7392. description: 游客是否可见 - 0:不可见 1:可见
  7393. type: integer
  7394. lasttradedate:
  7395. description: 最后交易日期(状态:待退市)
  7396. type: string
  7397. listingdate:
  7398. description: 交易开始日期
  7399. type: string
  7400. marketid:
  7401. description: 所属市场ID
  7402. type: integer
  7403. modifierid:
  7404. description: 修改人
  7405. type: integer
  7406. modifystatus:
  7407. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  7408. type: integer
  7409. modifytime:
  7410. description: 修改时间
  7411. type: string
  7412. outerdealmode:
  7413. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7414. type: integer
  7415. outgoodscode:
  7416. description: 商品代码(外部)
  7417. type: string
  7418. pictureurl:
  7419. description: 商品图片
  7420. type: string
  7421. qtydecimalplace:
  7422. description: 成交量小数位
  7423. type: integer
  7424. quotegear:
  7425. description: 行情档位(1-10)
  7426. type: integer
  7427. quoteminunit:
  7428. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7429. type: integer
  7430. quoteshowtype:
  7431. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  7432. type: integer
  7433. quoteshowtypeinterval:
  7434. description: 行情报价间隔时间(秒)(成交价时为0)
  7435. type: integer
  7436. relatedgoodsid:
  7437. description: 关联参考商品ID
  7438. type: integer
  7439. remark:
  7440. description: 备注
  7441. type: string
  7442. trademode:
  7443. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7444. 21:竞拍-大宗式 22:受托竞价
  7445. type: integer
  7446. required:
  7447. - goodscode
  7448. - goodsid
  7449. - goodsname
  7450. - marketid
  7451. type: object
  7452. models.ErmcpGoodsBrand:
  7453. properties:
  7454. areauserid:
  7455. description: 所属机构
  7456. type: integer
  7457. brandid:
  7458. description: BrandID(SEQ_SPOTGOODSBRAND)
  7459. type: integer
  7460. brandname:
  7461. description: 品牌名称
  7462. type: string
  7463. createtime:
  7464. description: 创建时间
  7465. type: string
  7466. creatorid:
  7467. description: 创建人
  7468. type: integer
  7469. creatorsrc:
  7470. description: 创建人来源 - 1:管理端 2:终端
  7471. type: integer
  7472. deliverygoodsid:
  7473. description: 现货品种ID
  7474. type: integer
  7475. isvalid:
  7476. description: 是否有效 - 0:无效 1:有效
  7477. type: integer
  7478. updatetime:
  7479. description: 更新时间
  7480. type: string
  7481. updatorid:
  7482. description: 更新人
  7483. type: integer
  7484. updatorsrc:
  7485. description: 更新人来源 - 1:管理端 2:终端
  7486. type: integer
  7487. wrstandardid:
  7488. description: 现货商品ID
  7489. type: integer
  7490. type: object
  7491. models.ErmcpGoodsModel:
  7492. properties:
  7493. areauserid:
  7494. description: 所属机构
  7495. type: integer
  7496. convertfactor:
  7497. description: 标仓系数
  7498. type: number
  7499. createtime:
  7500. description: 创建时间
  7501. type: string
  7502. creatorid:
  7503. description: 创建人
  7504. type: integer
  7505. creatorsrc:
  7506. description: 创建人来源 - 1:管理端 2:终端
  7507. type: integer
  7508. deliverygoodsid:
  7509. description: 现货品种ID
  7510. type: integer
  7511. isvalid:
  7512. description: 是否有效 - 0:无效 1:有效
  7513. type: integer
  7514. modelid:
  7515. description: ModelID(SEQ_SPOTGOODSMODEL)
  7516. type: integer
  7517. modelname:
  7518. description: 型号名称
  7519. type: string
  7520. updatetime:
  7521. description: 更新时间
  7522. type: string
  7523. updatorid:
  7524. description: 更新人
  7525. type: integer
  7526. updatorsrc:
  7527. description: 更新人来源 - 1:管理端 2:终端
  7528. type: integer
  7529. wrstandardid:
  7530. description: 现货商品ID
  7531. type: integer
  7532. type: object
  7533. models.ErmcpHisExposure:
  7534. properties:
  7535. needhedgeexposoure:
  7536. description: 应套保敞口
  7537. type: number
  7538. reckondate:
  7539. description: 日照时期(yyyyMMdd)
  7540. type: string
  7541. totalexposure:
  7542. description: 总敞口
  7543. type: number
  7544. type: object
  7545. models.ErmcpLoginTaAccount:
  7546. properties:
  7547. accountid:
  7548. description: 账号id
  7549. type: integer
  7550. accountname:
  7551. description: 账号名称
  7552. type: string
  7553. type: object
  7554. models.ErmcpLoginUser:
  7555. properties:
  7556. acclist:
  7557. description: 关联资金账号
  7558. items:
  7559. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  7560. type: array
  7561. accountname:
  7562. description: 用户名称
  7563. type: string
  7564. clientroleid:
  7565. description: 角色id(usertype=2)
  7566. type: integer
  7567. createtime:
  7568. description: 创建时间
  7569. type: string
  7570. logincode:
  7571. description: 登录代码
  7572. type: string
  7573. loginid:
  7574. description: 登录id(LOGINID)
  7575. type: integer
  7576. loginname:
  7577. description: 登录名称(loginaccount表中的accountname字段)
  7578. type: string
  7579. loginstatus:
  7580. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  7581. type: integer
  7582. memberuserid:
  7583. description: 所属会员id
  7584. type: integer
  7585. mobile:
  7586. description: 手机号
  7587. type: string
  7588. modifytime:
  7589. description: 修改时间
  7590. type: string
  7591. password:
  7592. description: 密码(不可解密)
  7593. type: string
  7594. rolename:
  7595. description: 角色名称
  7596. type: string
  7597. rolestatus:
  7598. description: 角色状态 1-启用 2-停用
  7599. type: integer
  7600. roletype:
  7601. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  7602. type: string
  7603. userid:
  7604. description: 用户id
  7605. type: integer
  7606. usertype:
  7607. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  7608. type: integer
  7609. type: object
  7610. models.ErmcpLoginUserEx:
  7611. properties:
  7612. accountstatus:
  7613. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  7614. type: integer
  7615. mobile:
  7616. description: 手机号
  7617. type: string
  7618. querytype:
  7619. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  7620. type: integer
  7621. roleid:
  7622. description: 角色id(交易账户->用户id)
  7623. type: integer
  7624. rolename:
  7625. description: 角色名称(交易账户->用户名称)
  7626. type: string
  7627. userlist:
  7628. description: 用户列表
  7629. items:
  7630. $ref: '#/definitions/models.ErmcpLoginUser'
  7631. type: array
  7632. usertype:
  7633. description: 用户类型 2-机构 7-企业成员(云平台)
  7634. type: integer
  7635. type: object
  7636. models.ErmcpMiddleGoodsModel:
  7637. properties:
  7638. areauserid:
  7639. description: 机构用户ID
  7640. type: integer
  7641. createtime:
  7642. description: 修改时间
  7643. type: string
  7644. enumdicname:
  7645. description: 单位名称
  7646. type: string
  7647. evaluateratio:
  7648. description: 估价系数
  7649. type: number
  7650. goodsgroupid:
  7651. description: 关联期货品种ID
  7652. type: integer
  7653. goodsunitid:
  7654. description: 单位ID
  7655. type: integer
  7656. isvalid:
  7657. description: 状态 0-无效(停用) 1-有效(正常)
  7658. type: integer
  7659. middlegoodscode:
  7660. description: 套保品种代码
  7661. type: string
  7662. middlegoodsid:
  7663. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  7664. type: integer
  7665. middlegoodsname:
  7666. description: 套保品种名称
  7667. type: string
  7668. modifytime:
  7669. description: 修改时间
  7670. type: string
  7671. needarbitrageratio:
  7672. description: 套利比例
  7673. type: number
  7674. needhedgeratio:
  7675. description: 套保比率
  7676. type: number
  7677. qtydecimalplace:
  7678. description: 数量小数位
  7679. type: integer
  7680. relatedgoodsid:
  7681. description: 关联交易商品ID
  7682. type: integer
  7683. relatedgoodstype:
  7684. description: 关联商品类型 - 1:期货合约 2:现货品种
  7685. type: integer
  7686. remark:
  7687. description: 备注
  7688. type: string
  7689. type: object
  7690. models.ErmcpMiddlegoodsRelateGoods:
  7691. properties:
  7692. agreeunit:
  7693. description: 合约乘数
  7694. type: number
  7695. convertratio:
  7696. description: 折算系数
  7697. type: number
  7698. enumdicname:
  7699. description: 单位名称(交易商品)
  7700. type: string
  7701. goodscode:
  7702. description: 交易商品代码
  7703. type: string
  7704. goodsgroupid:
  7705. description: 交易品种id
  7706. type: integer
  7707. goodsid:
  7708. description: 商品Id
  7709. type: integer
  7710. goodsname:
  7711. description: 交易商品名称
  7712. type: string
  7713. goodunitid:
  7714. description: 交易商品单位id
  7715. type: integer
  7716. middlegoodsid:
  7717. description: 套保商品id
  7718. type: integer
  7719. middlegoodsname:
  7720. description: 套保商品名称
  7721. type: string
  7722. middlegoodsswcode:
  7723. description: 套保商品代码
  7724. type: string
  7725. needarbitrageratio:
  7726. description: 应套利比例
  7727. type: number
  7728. needhedgeratio:
  7729. description: 应套保比例
  7730. type: number
  7731. type: object
  7732. models.ErmcpRole:
  7733. properties:
  7734. areauserid:
  7735. description: 所属机构
  7736. type: integer
  7737. autoid:
  7738. description: 角色ID(自增ID)
  7739. type: integer
  7740. modifierid:
  7741. description: 修改人(创建人)
  7742. type: integer
  7743. modifiername:
  7744. description: 修改人名称
  7745. type: string
  7746. modifytime:
  7747. description: 修改时间(创建时间)
  7748. type: string
  7749. rolename:
  7750. description: 角色名称
  7751. type: string
  7752. rolestatus:
  7753. description: 角色状态 - 1:启用 2:停用
  7754. type: integer
  7755. roletype:
  7756. description: 角色类型 - 1- 管理端 2- 交易端
  7757. type: integer
  7758. type: object
  7759. models.ErmcpRoleMenu:
  7760. properties:
  7761. iconame:
  7762. description: 菜单图标
  7763. type: string
  7764. ishadrole:
  7765. description: 是否有权限
  7766. type: boolean
  7767. menutype:
  7768. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)
  7769. type: integer
  7770. parentcode:
  7771. description: 上级资源代码
  7772. type: string
  7773. remark:
  7774. description: 菜单备注
  7775. type: string
  7776. resourcecode:
  7777. description: 菜单代码
  7778. type: string
  7779. resourcelevel:
  7780. description: 级别
  7781. type: integer
  7782. resourcename:
  7783. description: 菜单名称
  7784. type: string
  7785. roleid:
  7786. description: 角色id
  7787. type: integer
  7788. sort:
  7789. description: 排序
  7790. type: integer
  7791. url:
  7792. description: URL
  7793. type: string
  7794. userid:
  7795. description: 用户id
  7796. type: integer
  7797. type: object
  7798. models.ErmcpRoleMenuEx:
  7799. properties:
  7800. menu:
  7801. $ref: '#/definitions/models.ErmcpRoleMenu'
  7802. description: 父级菜单
  7803. subMenu:
  7804. description: 子级菜单
  7805. items:
  7806. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  7807. type: array
  7808. type: object
  7809. models.ErmcpTaAccount:
  7810. properties:
  7811. accountid:
  7812. description: 账户id
  7813. type: integer
  7814. accountname:
  7815. description: 账户名称
  7816. type: string
  7817. currencyid:
  7818. description: 币种id
  7819. type: integer
  7820. hedgeaccountcode:
  7821. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  7822. type: string
  7823. ismain:
  7824. description: 是否主账户 0-否 1-是
  7825. type: integer
  7826. parentaccountid:
  7827. description: 父账户id
  7828. type: integer
  7829. relateduserid:
  7830. description: 关联userid
  7831. type: integer
  7832. tradefeetmpid:
  7833. description: 手续费模板id
  7834. type: integer
  7835. tradefeetmpname:
  7836. description: 手续费模板名称
  7837. type: string
  7838. trademargintmpid:
  7839. description: 保证金模板id
  7840. type: integer
  7841. trademargintmpname:
  7842. description: 保证金模板名称
  7843. type: string
  7844. traderatetmpid:
  7845. description: 汇率模板id
  7846. type: integer
  7847. traderatetmpname:
  7848. description: 汇率模板名称
  7849. type: string
  7850. tradestatus:
  7851. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7852. type: integer
  7853. userid:
  7854. description: 用户id
  7855. type: integer
  7856. type: object
  7857. models.ErmcpTaAccountEx:
  7858. properties:
  7859. mainAcc:
  7860. $ref: '#/definitions/models.ErmcpTaAccountM'
  7861. description: 主账号
  7862. subacclist:
  7863. description: 子账号列表
  7864. items:
  7865. $ref: '#/definitions/models.ErmcpTaAccount'
  7866. type: array
  7867. type: object
  7868. models.ErmcpTaAccountInfo:
  7869. properties:
  7870. accountid:
  7871. description: 资金账户ID
  7872. type: integer
  7873. accountname:
  7874. description: 账户名称
  7875. type: string
  7876. balance:
  7877. description: 期初余额
  7878. type: number
  7879. capitalbalance:
  7880. description: 本金余额[外部子账户实际出入金余额]
  7881. type: number
  7882. closepl:
  7883. description: 今日平仓盈亏
  7884. type: number
  7885. creditdecrease:
  7886. description: 今日授信减少
  7887. type: number
  7888. creditincrease:
  7889. description: 今日授信增加
  7890. type: number
  7891. curdebt:
  7892. description: 期末欠款
  7893. type: number
  7894. currencyid:
  7895. description: 货币ID
  7896. type: integer
  7897. currentbalance:
  7898. description: 期末余额
  7899. type: number
  7900. freezecharge:
  7901. description: 手续费冻结
  7902. type: number
  7903. freezemargin:
  7904. description: 冻结保证金
  7905. type: number
  7906. fromaccountid:
  7907. description: 所属上级账户
  7908. type: integer
  7909. inamount:
  7910. description: 今日入金金额(包括三方入金)
  7911. type: number
  7912. ismain:
  7913. description: 是否母账号 0:不是母账户 1:是母账户
  7914. type: integer
  7915. mortgagecredit:
  7916. description: 授信金额
  7917. type: number
  7918. oridebt:
  7919. description: 期初欠款
  7920. type: number
  7921. orifreezecharge:
  7922. description: 期初手续费冻结
  7923. type: number
  7924. orifreezemargin:
  7925. description: 期初冻结保证金
  7926. type: number
  7927. orimortgagecredit:
  7928. description: 期初授信金额
  7929. type: number
  7930. oriothercredit:
  7931. description: 期初其它授信金额
  7932. type: number
  7933. oriotherfreezemargin:
  7934. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  7935. type: number
  7936. orioutamountfreeze:
  7937. description: 期初出金冻结
  7938. type: number
  7939. oriusedmargin:
  7940. description: 期初占用保证金
  7941. type: number
  7942. othercredit:
  7943. description: 其它授信金额
  7944. type: number
  7945. othercreditdecrease:
  7946. description: 今日其它授信减少
  7947. type: number
  7948. othercreditincrease:
  7949. description: 今日其它授信增加
  7950. type: number
  7951. otherfreezemargin:
  7952. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  7953. type: number
  7954. outamount:
  7955. description: 今日出金金额(包括三方出金)
  7956. type: number
  7957. outamountfreeze:
  7958. description: 出金冻结
  7959. type: number
  7960. outthreshold:
  7961. description: 出金阈值
  7962. type: number
  7963. parentaccountid:
  7964. description: 所属根账号
  7965. type: integer
  7966. paycharge:
  7967. description: 今日手续费支出
  7968. type: number
  7969. relateduserid:
  7970. description: 关联用户
  7971. type: integer
  7972. signstatus:
  7973. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  7974. type: integer
  7975. sublevelpath:
  7976. description: 账号层级路径(逗号分隔,首尾加逗号)
  7977. type: string
  7978. taaccounttype:
  7979. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  7980. type: integer
  7981. thirdinamount:
  7982. description: 今日三方入金
  7983. type: number
  7984. thirdoutamount:
  7985. description: 今日三方出金
  7986. type: number
  7987. tradestatus:
  7988. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7989. type: integer
  7990. transferamount:
  7991. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  7992. type: number
  7993. usedmargin:
  7994. description: 占用保证金
  7995. type: number
  7996. userid:
  7997. description: 用户ID
  7998. type: integer
  7999. type: object
  8000. models.ErmcpTaAccountM:
  8001. properties:
  8002. accountid:
  8003. description: 账户id
  8004. type: integer
  8005. accountname:
  8006. description: 账户名称
  8007. type: string
  8008. currencyid:
  8009. description: 币种id
  8010. type: integer
  8011. fcid:
  8012. description: 期货公司id
  8013. type: integer
  8014. fcname:
  8015. description: 期货公司代码
  8016. type: string
  8017. hedgeaccountcode:
  8018. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  8019. type: string
  8020. ismain:
  8021. description: 是否主账户 0-否 1-是
  8022. type: integer
  8023. parentaccountid:
  8024. description: 父账户id
  8025. type: integer
  8026. relateduserid:
  8027. description: 关联userid
  8028. type: integer
  8029. tradefeetmpid:
  8030. description: 手续费模板id
  8031. type: integer
  8032. tradefeetmpname:
  8033. description: 手续费模板名称
  8034. type: string
  8035. trademargintmpid:
  8036. description: 保证金模板id
  8037. type: integer
  8038. trademargintmpname:
  8039. description: 保证金模板名称
  8040. type: string
  8041. traderatetmpid:
  8042. description: 汇率模板id
  8043. type: integer
  8044. traderatetmpname:
  8045. description: 汇率模板名称
  8046. type: string
  8047. tradestatus:
  8048. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  8049. type: integer
  8050. userid:
  8051. description: 用户id
  8052. type: integer
  8053. type: object
  8054. models.ErmcpTradeConfigTMP:
  8055. properties:
  8056. areauserid:
  8057. description: 所属机构
  8058. type: integer
  8059. basiccurrencyid:
  8060. description: 基本币种ID[汇率] - 目标币种
  8061. type: integer
  8062. mainaccountid:
  8063. description: 主账户ID
  8064. type: integer
  8065. modifierid:
  8066. description: 修改人
  8067. type: integer
  8068. remark:
  8069. description: 备注
  8070. type: string
  8071. tradeconfigtmpid:
  8072. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  8073. type: integer
  8074. tradeconfigtmpname:
  8075. description: 交易配置模板名称
  8076. type: string
  8077. tradeconfigtmptype:
  8078. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  8079. type: integer
  8080. updatetime:
  8081. description: 更新时间
  8082. type: string
  8083. type: object
  8084. models.Externalexchange:
  8085. properties:
  8086. autoid:
  8087. description: AutoID - SEQ_EXTERNALEXCHANGE
  8088. type: integer
  8089. exchangefullname:
  8090. description: 外部交易所全称
  8091. type: string
  8092. exexchangecode:
  8093. description: 外部交易所代码
  8094. type: string
  8095. exexchangename:
  8096. description: 外部交易所名称(简称)
  8097. type: string
  8098. ismarketprice:
  8099. description: 是否支持市价 - 0:不支持 1:支持
  8100. type: integer
  8101. quotegear:
  8102. description: 行情档位(1-10)
  8103. type: integer
  8104. showbrokerflag:
  8105. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  8106. type: integer
  8107. updatetime:
  8108. description: 更新时间
  8109. type: string
  8110. required:
  8111. - autoid
  8112. type: object
  8113. models.Funcmenulist:
  8114. properties:
  8115. iconame:
  8116. description: 菜单图标
  8117. type: string
  8118. menutype:
  8119. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  8120. type: integer
  8121. parentcode:
  8122. description: 上级资源代码
  8123. type: string
  8124. remark:
  8125. description: 备注
  8126. type: string
  8127. resourcecode:
  8128. description: 资源代码
  8129. type: string
  8130. resourcelevel:
  8131. description: 级别 1-一级 2-二级 3-三级 4-四级
  8132. type: integer
  8133. resourcename:
  8134. description: 资源名
  8135. type: string
  8136. sort:
  8137. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  8138. type: integer
  8139. url:
  8140. description: URL
  8141. type: string
  8142. required:
  8143. - resourcecode
  8144. type: object
  8145. models.Goods:
  8146. properties:
  8147. agreeunit:
  8148. description: 合约单位
  8149. type: number
  8150. areauserid:
  8151. description: 所属机构
  8152. type: integer
  8153. auditaccountid:
  8154. description: 审核操作员账号
  8155. type: integer
  8156. audittime:
  8157. description: 审核时间
  8158. type: string
  8159. cancelaccountid:
  8160. description: 注销操作员账号
  8161. type: integer
  8162. canceltime:
  8163. description: 注销时间
  8164. type: string
  8165. closepricemode:
  8166. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8167. type: integer
  8168. closepriceparam:
  8169. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  8170. type: number
  8171. createtime:
  8172. description: 创建时间
  8173. type: string
  8174. creatorid:
  8175. description: 创建人
  8176. type: integer
  8177. currencyid:
  8178. description: 报价货币ID
  8179. type: integer
  8180. cutmode:
  8181. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  8182. type: integer
  8183. decimalplace:
  8184. description: 报价小数位
  8185. type: integer
  8186. delistingdate:
  8187. description: 商品退市时间(状态:退市) -- 已作废
  8188. type: string
  8189. delistingmode:
  8190. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  8191. type: integer
  8192. deliveryflag:
  8193. description: 交割标志 - 0:不可交割 1:可交割
  8194. type: integer
  8195. forceclosemode:
  8196. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  8197. type: integer
  8198. forceclosevalue:
  8199. description: 定期强平参数 [收益权]
  8200. type: integer
  8201. goodscode:
  8202. description: 商品代码(内部)
  8203. type: string
  8204. goodscurrencyid:
  8205. description: 合约货币ID
  8206. type: integer
  8207. goodsgroupid:
  8208. description: 所属商品组ID
  8209. type: integer
  8210. goodsid:
  8211. description: 商品ID(自增ID SEQ_GOODS)
  8212. type: integer
  8213. goodsname:
  8214. description: 商品名称
  8215. type: string
  8216. goodsquotetype:
  8217. description: '合约报价类型: 1-直接报价 2-间接报价'
  8218. type: integer
  8219. goodsstatus:
  8220. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8221. type: integer
  8222. goodstradetype:
  8223. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  8224. type: integer
  8225. goodunitid:
  8226. description: 报价单位ID
  8227. type: integer
  8228. hasquoter:
  8229. description: 是否有报价商 - 0:无报价商 1:有报价商
  8230. type: integer
  8231. hqprotecttime:
  8232. description: 行情保护时间(秒)
  8233. type: integer
  8234. innerdealmode:
  8235. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8236. type: integer
  8237. isbuylimited:
  8238. description: 是否限制建仓量 - 0:不限制 1:限制
  8239. type: integer
  8240. isvisible:
  8241. description: 游客是否可见 - 0:不可见 1:可见
  8242. type: integer
  8243. lasttradedate:
  8244. description: 最后交易日期(状态:待退市)
  8245. type: string
  8246. listingdate:
  8247. description: 交易开始日期
  8248. type: string
  8249. marketid:
  8250. description: 所属市场ID
  8251. type: integer
  8252. modifierid:
  8253. description: 修改人
  8254. type: integer
  8255. modifystatus:
  8256. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  8257. type: integer
  8258. modifytime:
  8259. description: 修改时间
  8260. type: string
  8261. outerdealmode:
  8262. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8263. type: integer
  8264. outgoodscode:
  8265. description: 商品代码(外部)
  8266. type: string
  8267. pictureurl:
  8268. description: 商品图片
  8269. type: string
  8270. qtydecimalplace:
  8271. description: 成交量小数位
  8272. type: integer
  8273. quotegear:
  8274. description: 行情档位(1-10)
  8275. type: integer
  8276. quoteminunit:
  8277. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8278. type: integer
  8279. quoteshowtype:
  8280. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  8281. type: integer
  8282. quoteshowtypeinterval:
  8283. description: 行情报价间隔时间(秒)(成交价时为0)
  8284. type: integer
  8285. remark:
  8286. description: 备注
  8287. type: string
  8288. required:
  8289. - goodscode
  8290. - goodsid
  8291. - goodsname
  8292. - marketid
  8293. type: object
  8294. models.GoodsIDAndName:
  8295. properties:
  8296. goodscode:
  8297. description: 商品代码(内部)
  8298. type: string
  8299. goodsid:
  8300. description: 商品ID(自增ID SEQ_GOODS)
  8301. type: integer
  8302. goodsname:
  8303. description: 商品名称
  8304. type: string
  8305. marketid:
  8306. description: 所属市场ID
  8307. type: integer
  8308. required:
  8309. - goodscode
  8310. - goodsid
  8311. - goodsname
  8312. - marketid
  8313. type: object
  8314. models.Goodsgroup:
  8315. properties:
  8316. agreeunit:
  8317. description: 合约单位
  8318. type: number
  8319. canshort:
  8320. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  8321. type: integer
  8322. closepricemode:
  8323. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8324. type: integer
  8325. closepriceparam:
  8326. description: 强平最新价浮动比例 - 方式为2时使用
  8327. type: number
  8328. createtime:
  8329. description: 创建时间
  8330. type: string
  8331. creatorid:
  8332. description: 创建人
  8333. type: integer
  8334. currencyid:
  8335. description: 报价货币ID
  8336. type: integer
  8337. decimalplace:
  8338. description: 报价小数位
  8339. type: integer
  8340. exercisetype:
  8341. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  8342. type: integer
  8343. exexchangeid:
  8344. description: 外部交易所ID[通道交易]
  8345. type: integer
  8346. goodsgroupid:
  8347. description: 商品组ID(自增ID)
  8348. type: integer
  8349. goodsgroupname:
  8350. description: 商品组名称
  8351. type: string
  8352. goodsgroupstatus:
  8353. description: 商品组状态 - 1:正常 2:注销
  8354. type: integer
  8355. goodunitid:
  8356. description: 报价单位ID
  8357. type: integer
  8358. innerdealmode:
  8359. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8360. type: integer
  8361. isbuylimited:
  8362. description: 是否限制建仓量 - 0:不限制 1:限制
  8363. type: integer
  8364. marketid:
  8365. description: 所属市场ID
  8366. type: integer
  8367. modifierid:
  8368. description: 修改人
  8369. type: integer
  8370. modifytime:
  8371. description: 修改时间
  8372. type: string
  8373. outerdealmode:
  8374. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8375. type: integer
  8376. outergroupcode:
  8377. description: 外部商品组代码[通道交易]
  8378. type: string
  8379. premiumdecimalplace:
  8380. description: 权利金小数位[场外期权]
  8381. type: integer
  8382. premiumspreadalgorithm:
  8383. description: 权利金点差方式[场外期权] 1:比率 2:固定
  8384. type: integer
  8385. premiumspreadvalue:
  8386. description: 权利金点差值[场外期权]
  8387. type: number
  8388. qtydecimalplace:
  8389. description: 成交量小数位
  8390. type: integer
  8391. quotegear:
  8392. description: 行情档位(1-10)
  8393. type: integer
  8394. quoteminunit:
  8395. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8396. type: integer
  8397. quoterid:
  8398. description: 报价商ID[场外期权]
  8399. type: integer
  8400. quotesourcegroupid:
  8401. description: 所属行情源分组ID[参考行情市场用\通道交易]
  8402. type: integer
  8403. syncgoodsqty:
  8404. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  8405. type: integer
  8406. required:
  8407. - goodsgroupid
  8408. - goodsgroupname
  8409. - goodsgroupstatus
  8410. - marketid
  8411. type: object
  8412. models.Goodssortbypreposition:
  8413. properties:
  8414. goodscode:
  8415. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  8416. type: string
  8417. goodsgroupcode:
  8418. description: 品种代码
  8419. type: string
  8420. prepositionqty:
  8421. description: 昨持仓量
  8422. type: integer
  8423. sortindex:
  8424. description: 排序
  8425. type: integer
  8426. tradedate:
  8427. description: 交易日
  8428. type: string
  8429. updatetime:
  8430. description: 更新时间
  8431. type: string
  8432. required:
  8433. - goodscode
  8434. - tradedate
  8435. type: object
  8436. models.Hedgeinnerholderdetail:
  8437. properties:
  8438. accountid:
  8439. description: 账号ID
  8440. type: integer
  8441. buyorsell:
  8442. description: 方向 - 0:买 1:卖
  8443. type: integer
  8444. freezeqty:
  8445. description: 冻结数量 - 按单平使用
  8446. type: integer
  8447. goodsid:
  8448. description: 商品ID
  8449. type: integer
  8450. holderamount:
  8451. description: 持仓金额 [商品币种]
  8452. type: number
  8453. holderdays:
  8454. description: 剩余冻结天数
  8455. type: integer
  8456. holderprice:
  8457. description: 持仓价格
  8458. type: number
  8459. holderqty:
  8460. description: 持仓数量
  8461. type: integer
  8462. marketid:
  8463. description: 市场ID
  8464. type: integer
  8465. openprice:
  8466. description: 建仓价格
  8467. type: number
  8468. openqty:
  8469. description: 建仓数量
  8470. type: integer
  8471. parentaccountid:
  8472. description: 所属母账户
  8473. type: integer
  8474. releaseamount:
  8475. description: 释放持仓金额[商品币种]
  8476. type: number
  8477. tradeamount:
  8478. description: 成交金额[账户]
  8479. type: number
  8480. tradedate:
  8481. description: 交易日(yyyyMMdd)
  8482. type: string
  8483. tradeid:
  8484. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8485. type: string
  8486. tradetime:
  8487. description: 交易时间
  8488. type: string
  8489. required:
  8490. - buyorsell
  8491. - tradeid
  8492. type: object
  8493. models.Hedgemarketopenlog:
  8494. properties:
  8495. accountid:
  8496. description: 资金账号[外部母账户]
  8497. type: integer
  8498. fcname:
  8499. description: 期货公司名称
  8500. type: string
  8501. handlestatus:
  8502. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  8503. type: integer
  8504. marketid:
  8505. description: 市场ID
  8506. type: integer
  8507. status:
  8508. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  8509. type: integer
  8510. tradedate:
  8511. description: 交易日(yyyyMMdd)
  8512. type: string
  8513. updatetime:
  8514. description: 更新时间
  8515. type: string
  8516. required:
  8517. - accountid
  8518. type: object
  8519. models.HsbyBuyMyPayOrder:
  8520. properties:
  8521. agreeunit:
  8522. description: 合约单位
  8523. type: number
  8524. buyaccountid:
  8525. description: 买方账号ID[报价币种]
  8526. type: integer
  8527. buyorderid:
  8528. description: 买方委托单号
  8529. type: string
  8530. createtime:
  8531. description: 创建时间
  8532. type: string
  8533. currencysign:
  8534. description: 货币符号
  8535. type: string
  8536. decimalplace:
  8537. description: 报价小数位
  8538. type: integer
  8539. goodscode:
  8540. description: 商品代码(内部)
  8541. type: string
  8542. goodsid:
  8543. description: 商品ID
  8544. type: integer
  8545. goodsname:
  8546. description: 商品名称
  8547. type: string
  8548. marketid:
  8549. description: 市场ID
  8550. type: integer
  8551. offamount:
  8552. description: 优惠金额
  8553. type: number
  8554. originalamount:
  8555. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  8556. type: number
  8557. payamount:
  8558. description: 支付金额 = TradeAmount + TradeCharge
  8559. type: number
  8560. payflag:
  8561. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  8562. type: integer
  8563. paylimitedtime:
  8564. description: 支付期限
  8565. type: string
  8566. paytime:
  8567. description: 付款时间
  8568. type: string
  8569. picurls1:
  8570. description: 预售商品介绍图片[多张用逗号分隔]
  8571. type: string
  8572. picurls2:
  8573. description: 挂牌商品介绍图片[多张用逗号分隔]
  8574. type: string
  8575. sellaccountid:
  8576. description: 卖方账号ID[报价币种]
  8577. type: integer
  8578. sellorderid:
  8579. description: 卖方委托单号
  8580. type: string
  8581. tradeamount:
  8582. description: 成交金额
  8583. type: number
  8584. tradecharge:
  8585. description: 成交手续费(买方)
  8586. type: number
  8587. tradedate:
  8588. description: 交易日(yyyyMMdd)
  8589. type: string
  8590. tradeid:
  8591. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8592. type: string
  8593. trademode:
  8594. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8595. 21:竞拍-大宗式 22:受托竞价
  8596. type: integer
  8597. tradeprice:
  8598. description: 成交价格
  8599. type: number
  8600. tradeqty:
  8601. description: 成交数量
  8602. type: integer
  8603. vendorname1:
  8604. description: 预售商品供应商名称
  8605. type: string
  8606. vendorname2:
  8607. description: 挂牌商品供应商名称
  8608. type: string
  8609. required:
  8610. - goodscode
  8611. - goodsname
  8612. - tradeid
  8613. - trademode
  8614. type: object
  8615. models.HsbyBuyMyTradeDetail:
  8616. properties:
  8617. accountid:
  8618. description: 账户ID[报价币种]
  8619. type: integer
  8620. agreeunit:
  8621. description: 合约单位
  8622. type: number
  8623. amount:
  8624. description: 金额 = 价格 * 数量 * 合约单位
  8625. type: number
  8626. buyorsell:
  8627. description: 买卖 - 0:买 1:卖
  8628. type: integer
  8629. currencysign:
  8630. description: 货币符号
  8631. type: string
  8632. decimalplace:
  8633. description: 报价小数位
  8634. type: integer
  8635. goodscode:
  8636. description: 商品代码(内部)
  8637. type: string
  8638. goodsid:
  8639. description: 商品ID
  8640. type: integer
  8641. goodsname:
  8642. description: 商品名称
  8643. type: string
  8644. marketid:
  8645. description: 市场ID
  8646. type: integer
  8647. orderamount:
  8648. description: 委托金额
  8649. type: number
  8650. orderid:
  8651. description: 单号(成交单号)
  8652. type: string
  8653. picurls1:
  8654. description: 预售商品介绍图片[多张用逗号分隔]
  8655. type: string
  8656. picurls2:
  8657. description: 挂牌商品介绍图片[多张用逗号分隔]
  8658. type: string
  8659. price:
  8660. description: 价格
  8661. type: number
  8662. qty:
  8663. description: 数量
  8664. type: integer
  8665. time:
  8666. description: 时间
  8667. type: string
  8668. trademode:
  8669. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8670. 21:竞拍-大宗式 22:受托竞价
  8671. type: integer
  8672. vendorname1:
  8673. description: 预售商品供应商名称
  8674. type: string
  8675. vendorname2:
  8676. description: 挂牌商品供应商名称
  8677. type: string
  8678. required:
  8679. - accountid
  8680. - buyorsell
  8681. - goodscode
  8682. - goodsid
  8683. - goodsname
  8684. - marketid
  8685. - orderid
  8686. - qty
  8687. - time
  8688. - trademode
  8689. type: object
  8690. models.HsbyGoodsOrderDetail:
  8691. properties:
  8692. buyorsell:
  8693. description: 买卖 - 0:买 1:卖
  8694. type: integer
  8695. currencysign:
  8696. description: 货币符号
  8697. type: string
  8698. customername:
  8699. description: 客户名称(企业名称),已脱敏
  8700. type: string
  8701. enableqty:
  8702. description: 可用数量
  8703. type: integer
  8704. goodunit:
  8705. description: 报价单位
  8706. type: string
  8707. orderid:
  8708. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8709. type: string
  8710. orderprice:
  8711. description: 委托价格
  8712. type: number
  8713. ordertime:
  8714. description: 委托时间
  8715. type: string
  8716. required:
  8717. - buyorsell
  8718. - orderid
  8719. - ordertime
  8720. type: object
  8721. models.HsbyListingGoodsDetail:
  8722. properties:
  8723. agreeunit:
  8724. description: 合约单位
  8725. type: number
  8726. buymaxqty:
  8727. description: 购买上限 [71] - 0为不限
  8728. type: integer
  8729. currency:
  8730. description: 货币
  8731. type: string
  8732. currencysign:
  8733. description: 货币符号
  8734. type: string
  8735. decimalplace:
  8736. description: 报价小数位
  8737. type: integer
  8738. desccityid:
  8739. description: 目的地(市)ID
  8740. type: integer
  8741. descprovinceid:
  8742. description: 目的地(省)ID
  8743. type: integer
  8744. goodscode:
  8745. description: 商品代码(内部)
  8746. type: string
  8747. goodsdesc:
  8748. description: 商品详情
  8749. type: string
  8750. goodsid:
  8751. description: 商品ID(自增ID SEQ_GOODS)
  8752. type: integer
  8753. goodsname:
  8754. description: 商品名称
  8755. type: string
  8756. goodsprice:
  8757. description: 商品价格
  8758. type: number
  8759. hotindex:
  8760. description: 景点热度
  8761. type: integer
  8762. last:
  8763. description: 现价
  8764. type: number
  8765. limitdown:
  8766. description: 跌停价
  8767. type: number
  8768. limitup:
  8769. description: 涨停价
  8770. type: number
  8771. lotsize:
  8772. description: 手数最小变动单位
  8773. type: integer
  8774. marketid:
  8775. description: 所属市场ID
  8776. type: integer
  8777. picurls:
  8778. description: 介绍图片[多张用逗号分隔]
  8779. type: string
  8780. quoteminunit:
  8781. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8782. type: integer
  8783. stepvalue:
  8784. description: 价格最小变动单位
  8785. type: number
  8786. trademode:
  8787. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8788. 21:竞拍-大宗式 22:受托竞价
  8789. type: integer
  8790. vendorattr:
  8791. description: 供应商附件(多张,逗号分隔)
  8792. type: string
  8793. vendorname:
  8794. description: 供应商名称
  8795. type: string
  8796. vendorphone:
  8797. description: 供应商客服电话
  8798. type: string
  8799. videourls:
  8800. description: 介绍视频[多张用逗号分隔]
  8801. type: string
  8802. required:
  8803. - goodscode
  8804. - goodsid
  8805. - goodsname
  8806. - marketid
  8807. - trademode
  8808. type: object
  8809. models.HsbyMarketGoods:
  8810. properties:
  8811. accountid:
  8812. description: 账户ID[报价币种]
  8813. type: integer
  8814. agreeunit:
  8815. description: 合约单位
  8816. type: number
  8817. buyorsell:
  8818. description: 买卖 - 0:买 1:卖
  8819. type: integer
  8820. categoryid:
  8821. description: 类别ID(WRCATEGORY)
  8822. type: integer
  8823. currency:
  8824. description: 货币
  8825. type: string
  8826. currencysign:
  8827. description: 货币符号
  8828. type: string
  8829. customername:
  8830. description: 卖家名称
  8831. type: string
  8832. decimalplace:
  8833. description: 报价小数位
  8834. type: integer
  8835. goodscode:
  8836. description: 商品代码(内部)
  8837. type: string
  8838. goodsid:
  8839. description: 商品ID
  8840. type: integer
  8841. goodsname:
  8842. description: 商品名称
  8843. type: string
  8844. goodsprice:
  8845. description: 商品价格
  8846. type: number
  8847. hascoupon:
  8848. description: 是否可用优惠卷
  8849. type: boolean
  8850. hotindex:
  8851. description: 景点热度
  8852. type: integer
  8853. marketid:
  8854. description: 市场ID
  8855. type: integer
  8856. orderid:
  8857. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8858. type: string
  8859. orderprice:
  8860. description: 委托价格
  8861. type: number
  8862. orderstatus:
  8863. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8864. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8865. 16:成交失败违约(荷兰式竞拍专用)
  8866. type: integer
  8867. picurls:
  8868. description: 介绍图片[多张用逗号分隔]
  8869. type: string
  8870. quoteminunit:
  8871. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8872. type: integer
  8873. sellUserID:
  8874. description: 卖方UserID
  8875. type: integer
  8876. trademode:
  8877. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8878. 21:竞拍-大宗式 22:受托竞价
  8879. type: integer
  8880. videourls:
  8881. description: 介绍视频[多张用逗号分隔]
  8882. type: string
  8883. required:
  8884. - accountid
  8885. - buyorsell
  8886. - goodscode
  8887. - goodsid
  8888. - goodsname
  8889. - marketid
  8890. - orderid
  8891. - trademode
  8892. type: object
  8893. models.HsbyMarketGoodsDetail:
  8894. properties:
  8895. accountid:
  8896. description: 账户ID[报价币种]
  8897. type: integer
  8898. agreeunit:
  8899. description: 合约单位
  8900. type: number
  8901. buymaxqty:
  8902. description: 购买上限 [71] - 0为不限
  8903. type: integer
  8904. buyorsell:
  8905. description: 买卖 - 0:买 1:卖
  8906. type: integer
  8907. cancelqty:
  8908. description: 撤单数量
  8909. type: integer
  8910. categoryid:
  8911. description: 类别ID(WRCATEGORY)
  8912. type: integer
  8913. currency:
  8914. description: 货币
  8915. type: string
  8916. currencysign:
  8917. description: 货币符号
  8918. type: string
  8919. customername:
  8920. description: 卖家名称
  8921. type: string
  8922. decimalplace:
  8923. description: 报价小数位
  8924. type: integer
  8925. goodscode:
  8926. description: 商品代码(内部)
  8927. type: string
  8928. goodsdesc:
  8929. description: 商品详情
  8930. type: string
  8931. goodsid:
  8932. description: 商品ID
  8933. type: integer
  8934. goodsname:
  8935. description: 商品名称
  8936. type: string
  8937. goodsprice:
  8938. description: 商品价格
  8939. type: number
  8940. hotindex:
  8941. description: 景点热度
  8942. type: integer
  8943. lotsize:
  8944. description: 手数最小变动单位
  8945. type: integer
  8946. marketid:
  8947. description: 市场ID
  8948. type: integer
  8949. orderid:
  8950. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8951. type: string
  8952. orderprice:
  8953. description: 委托价格
  8954. type: number
  8955. orderqty:
  8956. description: 委托数量
  8957. type: integer
  8958. orderstatus:
  8959. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8960. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8961. 16:成交失败违约(荷兰式竞拍专用)
  8962. type: integer
  8963. picurls:
  8964. description: 介绍图片[多张用逗号分隔]
  8965. type: string
  8966. quoteminunit:
  8967. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8968. type: integer
  8969. sellUserID:
  8970. description: 卖方UserID
  8971. type: integer
  8972. trademode:
  8973. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8974. 21:竞拍-大宗式 22:受托竞价
  8975. type: integer
  8976. tradeqty:
  8977. description: 成交数量
  8978. type: integer
  8979. vendorattr:
  8980. description: 供应商附件(多张,逗号分隔)
  8981. type: string
  8982. vendorname:
  8983. description: 供应商名称
  8984. type: string
  8985. vendorphone:
  8986. description: 供应商客服电话
  8987. type: string
  8988. videourls:
  8989. description: 介绍视频[多张用逗号分隔]
  8990. type: string
  8991. required:
  8992. - accountid
  8993. - buyorsell
  8994. - goodscode
  8995. - goodsid
  8996. - goodsname
  8997. - marketid
  8998. - orderid
  8999. - orderqty
  9000. - trademode
  9001. type: object
  9002. models.HsbyMarketInfo:
  9003. properties:
  9004. marketid:
  9005. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  9006. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  9007. type: integer
  9008. marketname:
  9009. description: 市场名称
  9010. type: string
  9011. marketstatus:
  9012. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  9013. type: integer
  9014. trademode:
  9015. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9016. 21:竞拍-大宗式 22:受托竞价
  9017. type: integer
  9018. required:
  9019. - marketid
  9020. - marketstatus
  9021. - trademode
  9022. type: object
  9023. models.HsbyMyGoods:
  9024. properties:
  9025. accountid:
  9026. description: 账号Id
  9027. type: integer
  9028. agreeunit:
  9029. description: 合约单位
  9030. type: number
  9031. buyaverageprice:
  9032. description: 持仓均价
  9033. type: number
  9034. buycurholderamount:
  9035. description: 买当前持仓总金额[商品币种]
  9036. type: number
  9037. buycurpositionqty:
  9038. description: 买当前持仓总数量
  9039. type: integer
  9040. buymaxqty:
  9041. description: 购买上限 [71] - 0为不限
  9042. type: integer
  9043. currencysign:
  9044. description: 货币符号
  9045. type: string
  9046. decimalplace:
  9047. description: 报价小数位
  9048. type: integer
  9049. enableqty:
  9050. description: 可用数量
  9051. type: integer
  9052. goodscode:
  9053. description: 商品代码(内部)
  9054. type: string
  9055. goodsid:
  9056. description: 商品Id
  9057. type: integer
  9058. goodsname:
  9059. description: 商品名称
  9060. type: string
  9061. goodsprice:
  9062. description: 商品价格
  9063. type: number
  9064. goodsstatus:
  9065. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  9066. type: integer
  9067. last:
  9068. description: 现价(仅使用于挂牌点选)
  9069. type: number
  9070. limitdown:
  9071. description: 跌停价(仅使用于挂牌点选)
  9072. type: number
  9073. limitup:
  9074. description: 涨停价(仅使用于挂牌点选)
  9075. type: number
  9076. lotsize:
  9077. description: 手数最小变动单位
  9078. type: integer
  9079. marketid:
  9080. description: 所属市场ID
  9081. type: integer
  9082. picurls:
  9083. description: 介绍图片[多张用逗号分隔]
  9084. type: string
  9085. quoteminunit:
  9086. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9087. type: integer
  9088. stepvalue:
  9089. description: 价格最小变动单位
  9090. type: number
  9091. trademode:
  9092. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9093. 21:竞拍-大宗式 22:受托竞价
  9094. type: integer
  9095. required:
  9096. - accountid
  9097. - goodscode
  9098. - goodsid
  9099. - goodsname
  9100. - marketid
  9101. - trademode
  9102. type: object
  9103. models.HsbyMyPackage:
  9104. properties:
  9105. accountid:
  9106. description: 账户ID
  9107. type: integer
  9108. address:
  9109. description: 提货人详细地址
  9110. type: string
  9111. agreeunit:
  9112. description: 合约单位
  9113. type: number
  9114. amount:
  9115. description: 提货金额
  9116. type: number
  9117. auditer:
  9118. description: 审核人
  9119. type: integer
  9120. audittime:
  9121. description: 审核时间
  9122. type: string
  9123. averageprice:
  9124. description: 均价
  9125. type: number
  9126. cardnum:
  9127. description: 提货人证件号码
  9128. type: string
  9129. cardtypeid:
  9130. description: 提货人证件类型
  9131. type: integer
  9132. checkremark:
  9133. description: 审核备注
  9134. type: string
  9135. currencysign:
  9136. description: 货币符号
  9137. type: string
  9138. decimalplace:
  9139. description: 报价小数位
  9140. type: integer
  9141. goodscode:
  9142. description: 商品代码(内部)
  9143. type: string
  9144. goodsid:
  9145. description: 商品ID
  9146. type: integer
  9147. goodsname:
  9148. description: 商品名称
  9149. type: string
  9150. handlestatus:
  9151. description: 处理状态
  9152. type: integer
  9153. marketid:
  9154. description: 市场ID
  9155. type: integer
  9156. phonenum:
  9157. description: 提货人联系方式
  9158. type: string
  9159. picurls:
  9160. description: 介绍图片[多张用逗号分隔]
  9161. type: string
  9162. qty:
  9163. description: 提货数量
  9164. type: number
  9165. recivername:
  9166. description: 提货人姓名
  9167. type: string
  9168. reqtime:
  9169. description: 更新时间
  9170. type: string
  9171. takemode:
  9172. description: 提货方式 - 2:自提 3:配送
  9173. type: integer
  9174. takeorderid:
  9175. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  9176. type: string
  9177. takeorderstatus:
  9178. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  9179. type: integer
  9180. takeremark:
  9181. description: 提货备注
  9182. type: string
  9183. tradedate:
  9184. description: 交易日(yyyyMMdd)
  9185. type: string
  9186. trademode:
  9187. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9188. 21:竞拍-大宗式 22:受托竞价
  9189. type: integer
  9190. userid:
  9191. description: 用户ID
  9192. type: integer
  9193. vendorname:
  9194. description: 供应商名称
  9195. type: string
  9196. required:
  9197. - goodscode
  9198. - goodsname
  9199. - takeorderid
  9200. - trademode
  9201. type: object
  9202. models.HsbyPreGoods:
  9203. properties:
  9204. agreeunit:
  9205. description: 合约单位
  9206. type: number
  9207. currency:
  9208. description: 货币
  9209. type: string
  9210. currencysign:
  9211. description: 货币符号
  9212. type: string
  9213. decimalplace:
  9214. description: 报价小数位
  9215. type: integer
  9216. desccityid:
  9217. description: 目的地(市)
  9218. type: integer
  9219. descprovinceid:
  9220. description: 目的地(省)
  9221. type: integer
  9222. enableqty:
  9223. description: 剩余数量
  9224. type: integer
  9225. goodscode:
  9226. description: 商品代码(内部)
  9227. type: string
  9228. goodsid:
  9229. description: 商品ID(自增ID SEQ_GOODS)
  9230. type: integer
  9231. goodsname:
  9232. description: 商品名称
  9233. type: string
  9234. goodsstatus:
  9235. description: 商品状态- 2:未上市 3:上市
  9236. type: integer
  9237. lasttradedate:
  9238. description: 最后交易日期(状态:待退市)
  9239. type: string
  9240. listingdate:
  9241. description: 交易开始日期
  9242. type: string
  9243. marketid:
  9244. description: 所属市场ID
  9245. type: integer
  9246. picurls:
  9247. description: 介绍图片[多张用逗号分隔]
  9248. type: string
  9249. presaledqty:
  9250. description: 已预售量(预售结束时更新)
  9251. type: integer
  9252. presaleqty:
  9253. description: 预售数量
  9254. type: integer
  9255. quoteminunit:
  9256. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9257. type: integer
  9258. refprice:
  9259. description: 参考价格[一口价]
  9260. type: number
  9261. relatedgoodsid:
  9262. description: 关联交易合约ID
  9263. type: integer
  9264. trademode:
  9265. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9266. 21:竞拍-大宗式 22:受托竞价
  9267. type: integer
  9268. videourls:
  9269. description: 介绍视频[多张用逗号分隔]
  9270. type: string
  9271. required:
  9272. - goodscode
  9273. - goodsid
  9274. - goodsname
  9275. - marketid
  9276. - trademode
  9277. type: object
  9278. models.HsbyPreGoodsDetail:
  9279. properties:
  9280. agreeunit:
  9281. description: 合约单位
  9282. type: number
  9283. buymaxqty:
  9284. description: 购买上限 [71] - 0为不限
  9285. type: integer
  9286. currency:
  9287. description: 货币
  9288. type: string
  9289. currencysign:
  9290. description: 货币符号
  9291. type: string
  9292. customername:
  9293. description: 发行单位
  9294. type: string
  9295. decimalplace:
  9296. description: 报价小数位
  9297. type: integer
  9298. desccityid:
  9299. description: 目的地(市)ID
  9300. type: integer
  9301. descprovinceid:
  9302. description: 目的地(省)ID
  9303. type: integer
  9304. enableqty:
  9305. description: 剩余数量
  9306. type: integer
  9307. goodscode:
  9308. description: 商品代码(内部)
  9309. type: string
  9310. goodsdesc:
  9311. description: 商品详情
  9312. type: string
  9313. goodsid:
  9314. description: 商品ID(自增ID SEQ_GOODS)
  9315. type: integer
  9316. goodsname:
  9317. description: 商品名称
  9318. type: string
  9319. goodsstatus:
  9320. description: 商品状态- 2:未上市 3:上市
  9321. type: integer
  9322. goodunit:
  9323. description: 报价单位
  9324. type: string
  9325. lasttradedate:
  9326. description: 最后交易日期(状态:待退市)
  9327. type: string
  9328. listingdate:
  9329. description: 交易开始日期
  9330. type: string
  9331. lotsize:
  9332. description: 手数最小变动单位
  9333. type: integer
  9334. marketid:
  9335. description: 所属市场ID
  9336. type: integer
  9337. picurls:
  9338. description: 介绍图片[多张用逗号分隔]
  9339. type: string
  9340. presaledqty:
  9341. description: 已预售量(预售结束时更新)
  9342. type: integer
  9343. presaleqty:
  9344. description: 预售数量
  9345. type: integer
  9346. quoteminunit:
  9347. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9348. type: integer
  9349. refprice:
  9350. description: 参考价格[一口价]
  9351. type: number
  9352. relatedgoodsid:
  9353. description: 关联交易合约ID
  9354. type: integer
  9355. stepvalue:
  9356. description: 价格最小变动单位
  9357. type: number
  9358. trademode:
  9359. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9360. 21:竞拍-大宗式 22:受托竞价
  9361. type: integer
  9362. vendorattr:
  9363. description: 供应商附件(多张,逗号分隔)
  9364. type: string
  9365. vendorname:
  9366. description: 供应商名称
  9367. type: string
  9368. vendorphone:
  9369. description: 供应商客服电话
  9370. type: string
  9371. videourls:
  9372. description: 介绍视频[多张用逗号分隔]
  9373. type: string
  9374. required:
  9375. - goodscode
  9376. - goodsid
  9377. - goodsname
  9378. - marketid
  9379. - trademode
  9380. type: object
  9381. models.HsbySellCollectionOrder:
  9382. properties:
  9383. agreeunit:
  9384. description: 合约单位
  9385. type: number
  9386. buyaccountid:
  9387. description: 买方账号ID[报价币种]
  9388. type: integer
  9389. buyorderid:
  9390. description: 买方委托单号
  9391. type: string
  9392. createtime:
  9393. description: 创建时间
  9394. type: string
  9395. currencysign:
  9396. description: 货币符号
  9397. type: string
  9398. decimalplace:
  9399. description: 报价小数位
  9400. type: integer
  9401. goodscode:
  9402. description: 商品代码(内部)
  9403. type: string
  9404. goodsid:
  9405. description: 商品ID
  9406. type: integer
  9407. goodsname:
  9408. description: 商品名称
  9409. type: string
  9410. marketid:
  9411. description: 市场ID
  9412. type: integer
  9413. offamount:
  9414. description: 优惠金额
  9415. type: number
  9416. payamount:
  9417. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  9418. type: number
  9419. payflag:
  9420. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  9421. type: integer
  9422. paylimitedtime:
  9423. description: 支付期限
  9424. type: string
  9425. paytime:
  9426. description: 付款时间
  9427. type: string
  9428. picurls:
  9429. description: 商品介绍图片[多张用逗号分隔]
  9430. type: string
  9431. sellaccountid:
  9432. description: 卖方账号ID[报价币种]
  9433. type: integer
  9434. sellorderid:
  9435. description: 卖方委托单号
  9436. type: string
  9437. tradeamount:
  9438. description: 成交金额
  9439. type: number
  9440. tradecharge:
  9441. description: 成交手续费(买方)
  9442. type: number
  9443. tradedate:
  9444. description: 交易日(yyyyMMdd)
  9445. type: string
  9446. tradeid:
  9447. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9448. type: string
  9449. trademode:
  9450. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9451. 21:竞拍-大宗式 22:受托竞价
  9452. type: integer
  9453. tradeprice:
  9454. description: 成交价格
  9455. type: number
  9456. tradeqty:
  9457. description: 成交数量
  9458. type: integer
  9459. required:
  9460. - goodscode
  9461. - goodsname
  9462. - tradeid
  9463. - trademode
  9464. type: object
  9465. models.HsbySellMyDetail:
  9466. properties:
  9467. accountid:
  9468. description: 账户ID[报价币种]
  9469. type: integer
  9470. agreeunit:
  9471. description: 合约单位
  9472. type: number
  9473. buyorsell:
  9474. description: 买卖 - 0:买 1:卖
  9475. type: integer
  9476. currencysign:
  9477. description: 货币符号
  9478. type: string
  9479. decimalplace:
  9480. description: 报价小数位
  9481. type: integer
  9482. goodscode:
  9483. description: 商品代码(内部)
  9484. type: string
  9485. goodsid:
  9486. description: 商品ID
  9487. type: integer
  9488. goodsname:
  9489. description: 商品名称
  9490. type: string
  9491. marketid:
  9492. description: 市场ID
  9493. type: integer
  9494. orderid:
  9495. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  9496. type: string
  9497. ordertype:
  9498. description: 单据类型:0 - 发布中, 1 - 已完成
  9499. type: integer
  9500. picurls:
  9501. description: 介绍图片[多张用逗号分隔]
  9502. type: string
  9503. price:
  9504. description: 价格
  9505. type: number
  9506. qty:
  9507. description: 数量
  9508. type: integer
  9509. time:
  9510. description: 时间
  9511. type: string
  9512. trademode:
  9513. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9514. 21:竞拍-大宗式 22:受托竞价
  9515. type: integer
  9516. vendorname:
  9517. description: 供应商名称
  9518. type: string
  9519. required:
  9520. - accountid
  9521. - buyorsell
  9522. - goodscode
  9523. - goodsid
  9524. - goodsname
  9525. - marketid
  9526. - orderid
  9527. - time
  9528. - trademode
  9529. type: object
  9530. models.HsbyTopGoods:
  9531. properties:
  9532. agreeunit:
  9533. description: 合约单位
  9534. type: number
  9535. currency:
  9536. description: 货币
  9537. type: string
  9538. currencysign:
  9539. description: 货币符号
  9540. type: string
  9541. decimalplace:
  9542. description: 报价小数位
  9543. type: integer
  9544. desccityid:
  9545. description: 目的地(市)
  9546. type: integer
  9547. descprovinceid:
  9548. description: 目的地(省)
  9549. type: integer
  9550. goodscode:
  9551. description: 商品代码(内部)
  9552. type: string
  9553. goodsid:
  9554. description: 商品ID(自增ID SEQ_GOODS)
  9555. type: integer
  9556. goodsname:
  9557. description: 商品名称
  9558. type: string
  9559. hotindex:
  9560. description: 景点热度
  9561. type: integer
  9562. last:
  9563. description: 现价
  9564. type: number
  9565. marketid:
  9566. description: 所属市场ID
  9567. type: integer
  9568. picurls:
  9569. description: 介绍图片[多张用逗号分隔]
  9570. type: string
  9571. quoteminunit:
  9572. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9573. type: integer
  9574. trademode:
  9575. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9576. 21:竞拍-大宗式 22:受托竞价
  9577. type: integer
  9578. videourls:
  9579. description: 介绍视频[多张用逗号分隔]
  9580. type: string
  9581. required:
  9582. - goodscode
  9583. - goodsid
  9584. - goodsname
  9585. - marketid
  9586. - trademode
  9587. type: object
  9588. models.HybsMyBuyOrderDetail:
  9589. properties:
  9590. accountid:
  9591. description: 账户ID[报价币种]
  9592. type: integer
  9593. agreeunit:
  9594. description: 合约单位
  9595. type: number
  9596. buyorsell:
  9597. description: 买卖 - 0:买 1:卖
  9598. type: integer
  9599. cancelqty:
  9600. description: 撤单数量
  9601. type: integer
  9602. currencysign:
  9603. description: 货币符号
  9604. type: string
  9605. decimalplace:
  9606. description: 报价小数位
  9607. type: integer
  9608. goodscode:
  9609. description: 商品代码(内部)
  9610. type: string
  9611. goodsid:
  9612. description: 商品ID
  9613. type: integer
  9614. goodsname:
  9615. description: 商品名称
  9616. type: string
  9617. listingselecttype:
  9618. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  9619. type: integer
  9620. marketid:
  9621. description: 市场ID
  9622. type: integer
  9623. mybuystatus:
  9624. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  9625. type: integer
  9626. orderamount:
  9627. description: 委托金额
  9628. type: number
  9629. orderid:
  9630. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9631. type: string
  9632. orderprice:
  9633. description: 委托价格
  9634. type: number
  9635. orderqty:
  9636. description: 委托数量
  9637. type: integer
  9638. orderstatus:
  9639. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  9640. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  9641. 16:成交失败违约(荷兰式竞拍专用)
  9642. type: integer
  9643. ordertime:
  9644. description: 委托时间
  9645. type: string
  9646. picurls1:
  9647. description: 预售商品介绍图片[多张用逗号分隔]
  9648. type: string
  9649. picurls2:
  9650. description: 挂牌商品介绍图片[多张用逗号分隔]
  9651. type: string
  9652. trademode:
  9653. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9654. 21:竞拍-大宗式 22:受托竞价
  9655. type: integer
  9656. tradeqty:
  9657. description: 成交数量
  9658. type: integer
  9659. vendorname1:
  9660. description: 预售商品供应商名称
  9661. type: string
  9662. vendorname2:
  9663. description: 挂牌商品供应商名称
  9664. type: string
  9665. required:
  9666. - accountid
  9667. - buyorsell
  9668. - goodscode
  9669. - goodsid
  9670. - goodsname
  9671. - marketid
  9672. - orderid
  9673. - orderqty
  9674. - ordertime
  9675. - trademode
  9676. type: object
  9677. models.Loginaccount:
  9678. properties:
  9679. accountname:
  9680. description: 账户名称
  9681. type: string
  9682. canoutin:
  9683. description: 是否可出入金 - 0:不可 1:可
  9684. type: integer
  9685. clientroleid:
  9686. description: 终端角色ID
  9687. type: integer
  9688. haslogined:
  9689. description: 是否已登录 - 0:未登录 1:已登录
  9690. type: integer
  9691. hasupdatedpwd:
  9692. description: 是否已更改密码 - 0:未修改 1:已修改
  9693. type: integer
  9694. lastloginip:
  9695. description: 最新登录地址
  9696. type: string
  9697. lastloginmode:
  9698. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  9699. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  9700. type: integer
  9701. lastloginremark:
  9702. description: 最新登录描述
  9703. type: string
  9704. lastlogintime:
  9705. description: 最新登录时间
  9706. type: string
  9707. logincode:
  9708. description: 登录代码
  9709. type: string
  9710. loginfailnum:
  9711. description: 连续登录失败次数(登录成功时清零)
  9712. type: integer
  9713. loginid:
  9714. description: 登陆账号
  9715. type: integer
  9716. loginport:
  9717. description: 最新登录端口
  9718. type: integer
  9719. loginstatus:
  9720. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  9721. type: integer
  9722. loginusertype:
  9723. description: 登录账号类型 - 1:投资者 2:机构交易员
  9724. type: integer
  9725. mobile:
  9726. description: 手机号码(加密存储)
  9727. type: string
  9728. modifierid:
  9729. description: 修改人
  9730. type: integer
  9731. modifysrc:
  9732. description: 审核来源 - 1:管理端 2:终端
  9733. type: integer
  9734. modifytime:
  9735. description: 修改时间
  9736. type: string
  9737. password:
  9738. description: 登陆密码
  9739. type: string
  9740. pwdwrongcount:
  9741. description: 密码错误次数
  9742. type: integer
  9743. relateduserid:
  9744. description: 关联用户ID(机构)
  9745. type: integer
  9746. taaccountrighttype:
  9747. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  9748. type: integer
  9749. unfreezetime:
  9750. description: 账户解冻时间
  9751. type: string
  9752. userid:
  9753. description: 用户ID
  9754. type: integer
  9755. required:
  9756. - loginid
  9757. type: object
  9758. models.MainAccountInfo:
  9759. properties:
  9760. accountid:
  9761. description: 账号id
  9762. type: integer
  9763. accountname:
  9764. description: 账号名称(taaccount表中的名称)
  9765. type: string
  9766. appid:
  9767. description: AppID
  9768. type: string
  9769. authcode:
  9770. description: 授权码
  9771. type: string
  9772. brokerid:
  9773. description: 经纪商id
  9774. type: string
  9775. fcid:
  9776. description: 期货公司id
  9777. type: integer
  9778. fcname:
  9779. description: 期货公司代码
  9780. type: string
  9781. hedgeaccountcode:
  9782. description: 外部账号代码(主账号登录代码)
  9783. type: string
  9784. hedgeaccountpwd:
  9785. description: 密码
  9786. type: string
  9787. ismain:
  9788. description: 是否主账号
  9789. type: integer
  9790. relateduserid:
  9791. description: 关联用户id
  9792. type: integer
  9793. userid:
  9794. description: 关联用户id
  9795. type: integer
  9796. type: object
  9797. models.Market:
  9798. properties:
  9799. auctionwrtype:
  9800. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  9801. type: integer
  9802. canacceptquote:
  9803. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  9804. type: integer
  9805. cangoodsexercise:
  9806. description: '[期权]是否可现货行权- 0:否 1:是'
  9807. type: integer
  9808. cangoodsexercisetype:
  9809. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  9810. type: integer
  9811. canmanualquotestrike:
  9812. description: 是否可手动报行权价- 0:否 1:是 [期权]
  9813. type: integer
  9814. canmutistage:
  9815. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  9816. type: integer
  9817. canpreexercise:
  9818. description: '[期权]是否可预申报- 0:否 1:是'
  9819. type: integer
  9820. clearinterval:
  9821. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  9822. type: integer
  9823. contracttmp:
  9824. description: 合同模板[荷兰式][竞价式][仓单贸易]
  9825. type: string
  9826. exchareaid:
  9827. description: 所属交易所,可以没有
  9828. type: integer
  9829. goodstype:
  9830. description: 商品类型 - 1:交易商品 2:仓单商品
  9831. type: integer
  9832. hasrebate:
  9833. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  9834. type: integer
  9835. hastradecredit:
  9836. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  9837. type: integer
  9838. haswr:
  9839. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  9840. type: integer
  9841. isdeductmargin:
  9842. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  9843. type: integer
  9844. isrecordsource:
  9845. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  9846. type: integer
  9847. isreleasemargin:
  9848. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  9849. type: integer
  9850. marginformula:
  9851. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9852. type: integer
  9853. marginformula2:
  9854. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9855. type: integer
  9856. marketid:
  9857. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  9858. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  9859. type: integer
  9860. marketname:
  9861. description: 市场名称
  9862. type: string
  9863. marketserviceid:
  9864. description: 市场服务ID
  9865. type: integer
  9866. marketstatus:
  9867. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  9868. type: integer
  9869. markettype:
  9870. description: 市场类型- 1:非交易服务 2:交易服务
  9871. type: integer
  9872. matchermode:
  9873. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  9874. type: integer
  9875. openmethod:
  9876. description: 开盘模式 - 0 自动 1手动
  9877. type: integer
  9878. otcuserid:
  9879. description: 场外期权做市商[场外期权]
  9880. type: integer
  9881. outersynctime:
  9882. description: 外部同步时间点(h24:mi:ss)[场外期权]
  9883. type: string
  9884. pendingflag:
  9885. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  9886. type: integer
  9887. pendingtime:
  9888. description: 待开市时间[通道交易-对冲](HH:mm)
  9889. type: string
  9890. performancetempid:
  9891. description: 履约计划模板ID - 作废
  9892. type: integer
  9893. premiumquotemode:
  9894. description: 权利金报价方式 - 1:自动 2:手动
  9895. type: integer
  9896. rebateratio:
  9897. description: 返利比率[竞价式]
  9898. type: number
  9899. reckonorder:
  9900. description: 结算顺序
  9901. type: integer
  9902. reckonpricealgorithm:
  9903. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  9904. 6.卖一价 7.买一卖一均价 8.外部结算价'
  9905. type: integer
  9906. reckonpriceparam:
  9907. description: 结算价参数
  9908. type: integer
  9909. reckontime:
  9910. description: 结算时间[通道交易-对冲](HH:mm)
  9911. type: string
  9912. roleprioritytype:
  9913. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  9914. type: integer
  9915. selllistingauditflag:
  9916. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  9917. type: integer
  9918. trademarkettype:
  9919. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  9920. type: integer
  9921. trademode:
  9922. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9923. 21:竞拍-大宗式 22:受托竞价
  9924. type: integer
  9925. tradeproperty:
  9926. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  9927. 8:场外期权
  9928. type: integer
  9929. tradetype:
  9930. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  9931. type: integer
  9932. required:
  9933. - marketid
  9934. - marketstatus
  9935. - openmethod
  9936. - reckonpricealgorithm
  9937. - trademode
  9938. - tradeproperty
  9939. type: object
  9940. models.Marketrun:
  9941. properties:
  9942. afternexttradedate:
  9943. description: 下下交易日
  9944. type: string
  9945. clearquoteflag:
  9946. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  9947. type: integer
  9948. lastreckondate:
  9949. description: 最新交易日(结算成功)
  9950. type: string
  9951. machinedate:
  9952. description: 机器时间
  9953. type: string
  9954. manualflag:
  9955. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  9956. type: integer
  9957. marketid:
  9958. description: 市场ID
  9959. type: integer
  9960. nexttradedate:
  9961. description: 下一交易日
  9962. type: string
  9963. pretradedate:
  9964. description: 上一交易日
  9965. type: string
  9966. reckonflag:
  9967. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  9968. type: integer
  9969. runstatus:
  9970. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  9971. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  9972. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  9973. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  9974. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  9975. 62.今日免清算
  9976. type: integer
  9977. sectionid:
  9978. description: 时间段号[多时段时用]
  9979. type: integer
  9980. tradedate:
  9981. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  9982. type: string
  9983. tradedate2:
  9984. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  9985. type: string
  9986. updatetime:
  9987. description: 更新时间
  9988. type: string
  9989. required:
  9990. - marketid
  9991. - nexttradedate
  9992. - reckonflag
  9993. - runstatus
  9994. - tradedate
  9995. - tradedate2
  9996. type: object
  9997. models.Messageboard:
  9998. properties:
  9999. contactnum:
  10000. description: 联系电话
  10001. type: string
  10002. createtime:
  10003. description: 创建时间
  10004. type: string
  10005. message:
  10006. description: 留言信息
  10007. type: string
  10008. messageboardid:
  10009. description: 留言簿ID(SEQ_MessageBoard)
  10010. type: integer
  10011. userid:
  10012. description: 用户ID
  10013. type: integer
  10014. required:
  10015. - messageboardid
  10016. type: object
  10017. models.MyCoupon:
  10018. properties:
  10019. accountid:
  10020. description: 资金账户ID
  10021. type: integer
  10022. areauserid:
  10023. description: 所属机构
  10024. type: integer
  10025. conditionvalue:
  10026. description: 条件阈值(可为0)
  10027. type: number
  10028. couponcategroy:
  10029. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  10030. type: integer
  10031. couponname:
  10032. description: 优惠券名称
  10033. type: string
  10034. coupontypeid:
  10035. description: 优惠券类型ID
  10036. type: string
  10037. couponvalue:
  10038. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  10039. type: number
  10040. curfreezeqty:
  10041. description: 期末冻结数量
  10042. type: integer
  10043. curqty:
  10044. description: 期末数量
  10045. type: integer
  10046. isgeneral:
  10047. description: 是否通用券 - 0:否 1:是
  10048. type: integer
  10049. isunusable:
  10050. description: 是否不可用
  10051. type: boolean
  10052. limitedflag:
  10053. description: 是否指定商品 - 0:不限 1:限制
  10054. type: integer
  10055. limitedgoodsids:
  10056. description: 指定商品IDs[逗号分隔,前后加逗号]
  10057. type: string
  10058. orifreezeqty:
  10059. description: 期初冻结数量
  10060. type: integer
  10061. oriqty:
  10062. description: 期初数量
  10063. type: integer
  10064. reasontype:
  10065. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  10066. type: integer
  10067. todaydecrease:
  10068. description: 今日减少
  10069. type: integer
  10070. todayincrease:
  10071. description: 今日增加
  10072. type: integer
  10073. userid:
  10074. description: 用户ID
  10075. type: integer
  10076. userscope:
  10077. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  10078. type: string
  10079. required:
  10080. - accountid
  10081. - coupontypeid
  10082. type: object
  10083. models.MyCouponHold:
  10084. properties:
  10085. accountid:
  10086. description: 资金账户ID
  10087. type: integer
  10088. conditionvalue:
  10089. description: 条件阈值(可为0)
  10090. type: number
  10091. couponcategroy:
  10092. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  10093. type: integer
  10094. couponholdid:
  10095. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  10096. type: string
  10097. couponname:
  10098. description: 优惠券名称
  10099. type: string
  10100. coupontypeid:
  10101. description: 优惠券类型ID - SEQ_COUPONTYPE
  10102. type: string
  10103. couponvalue:
  10104. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  10105. type: number
  10106. createtime:
  10107. description: 创建时间
  10108. type: string
  10109. enddate:
  10110. description: 结束日期
  10111. type: string
  10112. giveapplyid:
  10113. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  10114. type: integer
  10115. holdstatus:
  10116. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  10117. type: integer
  10118. isgeneral:
  10119. description: 是否通用券 - 0:否 1:是
  10120. type: integer
  10121. limitedflag:
  10122. description: 是否指定商品 - 0:不限 1:限制
  10123. type: integer
  10124. limitedgoodsids:
  10125. description: 指定商品IDs[逗号分隔]
  10126. type: string
  10127. qty:
  10128. description: 数量(按1平铺)
  10129. type: integer
  10130. startdate:
  10131. description: 开始日期
  10132. type: string
  10133. userid:
  10134. description: 用户ID
  10135. type: integer
  10136. userscope:
  10137. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  10138. type: string
  10139. required:
  10140. - couponholdid
  10141. type: object
  10142. models.MyUsedCoupon:
  10143. properties:
  10144. accountid:
  10145. description: 资金账户ID(买方)
  10146. type: integer
  10147. conditionvalue:
  10148. description: 条件阈值(可为0)
  10149. type: number
  10150. couponcategroy:
  10151. description: 种类 - 1:现金券 2:折扣券
  10152. type: integer
  10153. couponname:
  10154. description: 优惠券名称
  10155. type: string
  10156. coupontypeid:
  10157. description: 优惠券类型ID(买方)
  10158. type: string
  10159. couponvalue:
  10160. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  10161. type: number
  10162. createtime:
  10163. description: 创建时间
  10164. type: string
  10165. goodsid:
  10166. description: 商品ID
  10167. type: integer
  10168. handlestatus:
  10169. description: 处理状态
  10170. type: integer
  10171. marketid:
  10172. description: 市场ID
  10173. type: integer
  10174. offamount:
  10175. description: 优惠金额
  10176. type: number
  10177. orderid:
  10178. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10179. type: string
  10180. sellaccountid:
  10181. description: 资金账户ID(卖方)
  10182. type: integer
  10183. tradeamount:
  10184. description: 成交金额
  10185. type: number
  10186. tradeid:
  10187. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10188. type: string
  10189. usedqty:
  10190. description: 使用数量
  10191. type: integer
  10192. required:
  10193. - coupontypeid
  10194. - orderid
  10195. type: object
  10196. models.OperationPrimaryMenu:
  10197. properties:
  10198. Children:
  10199. description: 二级功能菜单
  10200. items:
  10201. $ref: '#/definitions/models.OperationSecondaryMenu'
  10202. type: array
  10203. Key:
  10204. description: 菜单KEY
  10205. type: string
  10206. Label:
  10207. description: 菜单标题
  10208. type: string
  10209. type: object
  10210. models.OperationSecondaryMenu:
  10211. properties:
  10212. Key:
  10213. description: 菜单KEY
  10214. type: string
  10215. Label:
  10216. description: 菜单标题
  10217. type: string
  10218. TabList:
  10219. description: 三级功能菜单
  10220. items:
  10221. $ref: '#/definitions/models.OperationTabMenu'
  10222. type: array
  10223. type: object
  10224. models.OperationTabMenu:
  10225. properties:
  10226. Key:
  10227. description: 菜单KEY
  10228. type: string
  10229. Label:
  10230. description: 菜单标题
  10231. type: string
  10232. type: object
  10233. models.QhjAccountOutInApply:
  10234. properties:
  10235. accountcode:
  10236. description: 资金账号
  10237. type: string
  10238. accountname:
  10239. description: 用户名称(名称)
  10240. type: string
  10241. accountpwd:
  10242. description: 资金密码
  10243. type: string
  10244. accountticket:
  10245. description: 最新账户服务流水号
  10246. type: string
  10247. amount:
  10248. description: 金额
  10249. type: number
  10250. applyremark:
  10251. description: 申请备注
  10252. type: string
  10253. applystatus:
  10254. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  10255. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  10256. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  10257. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  10258. type: integer
  10259. auditid:
  10260. description: 审核人
  10261. type: integer
  10262. audittime:
  10263. description: 审核时间
  10264. type: string
  10265. bank_apply_ticket:
  10266. description: 银行申请流水
  10267. type: string
  10268. bankaccountname:
  10269. description: 银行账户名
  10270. type: string
  10271. bankaccountno:
  10272. description: 银行卡号
  10273. type: string
  10274. bankid:
  10275. description: 银行编号
  10276. type: string
  10277. bankticket:
  10278. description: 银行流水
  10279. type: string
  10280. branchbankid:
  10281. description: 银行支行号
  10282. type: string
  10283. branchbankname:
  10284. description: 银行支行名称
  10285. type: string
  10286. capamountout:
  10287. description: 出金(劣后本金) - 外部子账户
  10288. type: number
  10289. certificatephotourl:
  10290. description: 凭证地址
  10291. type: string
  10292. charge:
  10293. description: 手续费
  10294. type: number
  10295. checkerrorflag:
  10296. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  10297. type: integer
  10298. currency:
  10299. description: 币种
  10300. type: string
  10301. cusbankid:
  10302. description: 托管银行编号
  10303. type: string
  10304. exchticket:
  10305. description: 银行服务流水号
  10306. type: string
  10307. executetype:
  10308. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  10309. 7:外部子账户:入金 8:外部子账户:出金'
  10310. type: integer
  10311. extendinfo:
  10312. description: 扩展信息
  10313. type: string
  10314. extoperateid:
  10315. description: 交易服务流水号
  10316. type: integer
  10317. infamount:
  10318. description: 劣后金额(自有)
  10319. type: number
  10320. logincode:
  10321. description: 登录账号(账号)
  10322. type: string
  10323. netaddr:
  10324. description: 调转网址
  10325. type: string
  10326. priamount:
  10327. description: 优先金额(授信)
  10328. type: number
  10329. reauditid:
  10330. description: 复审人
  10331. type: integer
  10332. reauditremark:
  10333. description: 复审备注
  10334. type: string
  10335. reaudittime:
  10336. description: 复审时间
  10337. type: string
  10338. relatedorderid:
  10339. description: 三方关联ID
  10340. type: string
  10341. remark:
  10342. description: 备注
  10343. type: string
  10344. remark2:
  10345. description: 备注(失败原因)
  10346. type: string
  10347. soucreamount:
  10348. description: 原始出入金金额
  10349. type: number
  10350. soucrecurrencyid:
  10351. description: 原始出入金币种
  10352. type: integer
  10353. tradedate:
  10354. description: 交易日(yyyyMMdd)
  10355. type: string
  10356. updatetime:
  10357. description: 更新时间(申请时间)
  10358. type: string
  10359. userid:
  10360. description: 用户id
  10361. type: integer
  10362. userinfotype:
  10363. description: 账户类型 1-个人 2-企业
  10364. type: integer
  10365. type: object
  10366. models.QhjAgreementChangeLog:
  10367. properties:
  10368. agreementcontent:
  10369. description: 协议内容
  10370. type: string
  10371. agreementfrequency:
  10372. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  10373. type: integer
  10374. agreementid:
  10375. description: 协议ID
  10376. type: integer
  10377. agreementname:
  10378. description: 协议名称
  10379. type: string
  10380. agreementno:
  10381. description: 协议编号
  10382. type: string
  10383. agreementtype:
  10384. description: 协议类型 - 1:注册 2:登录 3:交易
  10385. type: integer
  10386. agreementversion:
  10387. description: 协议版本号
  10388. type: integer
  10389. logid:
  10390. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  10391. type: integer
  10392. reviserid:
  10393. description: 修改人
  10394. type: integer
  10395. revisersrc:
  10396. description: 修改来源 - 1:管理端 2:终端
  10397. type: integer
  10398. updatetime:
  10399. description: 更新时间
  10400. type: string
  10401. type: object
  10402. models.QhjAgreementConfig:
  10403. properties:
  10404. agreementcontent:
  10405. description: 协议内容
  10406. type: string
  10407. agreementfrequency:
  10408. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  10409. type: integer
  10410. agreementid:
  10411. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  10412. type: integer
  10413. agreementname:
  10414. description: 协议名称
  10415. type: string
  10416. agreementno:
  10417. description: 协议编号
  10418. type: string
  10419. agreementtype:
  10420. description: 协议类型 - 1:注册 2:登录 3:交易
  10421. type: integer
  10422. agreementversion:
  10423. description: 协议版本号(从1开始每次修改加1)
  10424. type: integer
  10425. createtime:
  10426. description: 创建时间
  10427. type: string
  10428. creatorid:
  10429. description: 创建人
  10430. type: integer
  10431. creatorsrc:
  10432. description: 创建来源 - 1:管理端 2:终端
  10433. type: integer
  10434. isvalid:
  10435. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  10436. type: integer
  10437. reviserid:
  10438. description: 修改人
  10439. type: integer
  10440. revisersrc:
  10441. description: 修改来源 - 1:管理端 2:终端
  10442. type: integer
  10443. updatetime:
  10444. description: 更新时间
  10445. type: string
  10446. type: object
  10447. models.QhjAreaFinanceConfig:
  10448. properties:
  10449. additionalratio:
  10450. description: 追加款比例
  10451. type: number
  10452. advanceratio:
  10453. description: 预付款比例
  10454. type: number
  10455. alarmratio:
  10456. description: 告警比例
  10457. type: number
  10458. consumptiondirectreward:
  10459. description: 消费直推奖励值
  10460. type: number
  10461. consumptionenabled:
  10462. description: 是否启用消费奖励 - 0:不启用 1:启用
  10463. type: integer
  10464. consumptionindirectreward:
  10465. description: 消费间推奖励值
  10466. type: number
  10467. consumptionmodel:
  10468. description: 消费奖励方式 - 1:比率 2:固定
  10469. type: integer
  10470. customerservicenum:
  10471. description: 客服电话
  10472. type: string
  10473. dayinterestrate:
  10474. description: 日利率
  10475. type: number
  10476. disableconsumptiontips:
  10477. description: 关闭消费奖励提示
  10478. type: string
  10479. modifierid:
  10480. description: 修改人ID
  10481. type: integer
  10482. modifysrc:
  10483. description: 审核来源 - 1:管理端 2:终端
  10484. type: integer
  10485. modifytime:
  10486. description: 修改时间
  10487. type: string
  10488. promotionvalue:
  10489. description: 推广奖励值(固定)
  10490. type: number
  10491. scoreconfigvalue1:
  10492. description: 提货积分配置1
  10493. type: integer
  10494. scoreconfigvalue2:
  10495. description: 提货积分配置2
  10496. type: integer
  10497. userid:
  10498. description: 机构用户ID其他做市关系,都设置为 1
  10499. type: integer
  10500. username:
  10501. description: 用户名称
  10502. type: string
  10503. type: object
  10504. models.QhjBankAccountSign:
  10505. properties:
  10506. accountcode:
  10507. description: 资金账号
  10508. type: string
  10509. accountname:
  10510. description: 资金账号对应的账号名(UserName)
  10511. type: string
  10512. accountname2:
  10513. description: 资金账号对应的账号名(UserName) - 密文
  10514. type: string
  10515. accounttype:
  10516. description: 账户类型(UserType)
  10517. type: integer
  10518. applicationtime:
  10519. description: 最后一次更新的时间
  10520. type: string
  10521. applyexchticket:
  10522. description: 申请流水
  10523. type: string
  10524. auditid:
  10525. description: 审核人
  10526. type: integer
  10527. audittime:
  10528. description: 审核时间
  10529. type: string
  10530. bankaccountname:
  10531. description: 签约银行卡账号名
  10532. type: string
  10533. bankaccountname2:
  10534. description: 签约银行卡账号名 - 密文
  10535. type: string
  10536. bankaccountno:
  10537. description: 银行卡号
  10538. type: string
  10539. bankaccountno2:
  10540. description: 银行卡号 - 密文
  10541. type: string
  10542. bankaccounttype:
  10543. description: 银行账户类型 - 1-对私; 2-对公
  10544. type: integer
  10545. bankcardtype:
  10546. description: 银行卡类型
  10547. type: integer
  10548. bankchildaccount:
  10549. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  10550. type: string
  10551. bankcity:
  10552. description: 开户行城市
  10553. type: string
  10554. bankid:
  10555. description: 签约银行ID
  10556. type: string
  10557. bankname:
  10558. description: 签约银行名称
  10559. type: string
  10560. bankprovince:
  10561. description: 开户行省份
  10562. type: string
  10563. branchbankid:
  10564. description: 签约银行支行号
  10565. type: string
  10566. branchbankname:
  10567. description: 签约银行支行名称
  10568. type: string
  10569. cardno:
  10570. description: 证件号码
  10571. type: string
  10572. cardno2:
  10573. description: 证件号码 - 密文
  10574. type: string
  10575. cardtype:
  10576. description: 证件类型
  10577. type: string
  10578. currency:
  10579. description: 币种
  10580. type: string
  10581. cusbankid:
  10582. description: 托管银行编号
  10583. type: string
  10584. direct:
  10585. description: 方向(可以判断那方先发起的签约)
  10586. type: integer
  10587. exchticket:
  10588. description: 最后一次签约成功的流水号
  10589. type: string
  10590. extendinfo:
  10591. description: 扩展信息(JSON字符串)
  10592. type: string
  10593. mobilephone:
  10594. description: 手机号
  10595. type: string
  10596. mobilephone2:
  10597. description: 手机号 - 密文
  10598. type: string
  10599. netaddr:
  10600. description: 调转网址
  10601. type: string
  10602. relateduserid:
  10603. description: 关联使用者userid
  10604. type: integer
  10605. signstatus:
  10606. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  10607. 10:审核拒绝 11:换签待审核
  10608. type: integer
  10609. updatetime:
  10610. description: 更新时间(签解约更新时间)
  10611. type: string
  10612. type: object
  10613. models.QhjBankInfo:
  10614. properties:
  10615. bankid:
  10616. description: 银行ID
  10617. type: string
  10618. bankname:
  10619. description: 银行名称
  10620. type: string
  10621. clearbankno:
  10622. description: 清算系统银行编号
  10623. type: string
  10624. orderindex:
  10625. description: 排序顺序
  10626. type: integer
  10627. status:
  10628. description: 状态 - 0:正常 1:注销
  10629. type: integer
  10630. type: object
  10631. models.QhjBrokerApply:
  10632. properties:
  10633. applicantid:
  10634. description: 申请人
  10635. type: integer
  10636. applysrc:
  10637. description: 申请来源 - 1:管理端 2:终端
  10638. type: integer
  10639. applystatus:
  10640. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  10641. type: integer
  10642. applytime:
  10643. description: 申请时间
  10644. type: string
  10645. auditorid:
  10646. description: 审核人
  10647. type: integer
  10648. auditremark:
  10649. description: 审核备注
  10650. type: string
  10651. auditsrc:
  10652. description: 审核来源 - 1:管理端 2:终端
  10653. type: integer
  10654. audittime:
  10655. description: 审核时间
  10656. type: string
  10657. audittradedate:
  10658. description: 审核交易日(yyyyMMdd)
  10659. type: string
  10660. brokerapplyid:
  10661. description: 申请ID(SEQ_BROKERAPPLY)
  10662. type: integer
  10663. cardbackphotourl:
  10664. description: 证件背面图片地址
  10665. type: string
  10666. cardfrontphotourl:
  10667. description: 证件正面图片地址
  10668. type: string
  10669. cardnum:
  10670. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  10671. type: string
  10672. customername:
  10673. description: 姓名
  10674. type: string
  10675. logincode:
  10676. description: 登录代码
  10677. type: string
  10678. mobile:
  10679. description: 手机号码
  10680. type: string
  10681. parentuserid:
  10682. description: 所属机构id
  10683. type: integer
  10684. parentusername:
  10685. description: 所属机构名称
  10686. type: string
  10687. refereeuserid:
  10688. description: 推荐人id(经纪人)
  10689. type: integer
  10690. refernum:
  10691. description: 推荐码
  10692. type: string
  10693. remark:
  10694. description: 备注
  10695. type: string
  10696. subarealevelpath:
  10697. description: 层级路径
  10698. type: string
  10699. tradedate:
  10700. description: 交易日(yyyyMMdd)
  10701. type: string
  10702. userid:
  10703. description: 申请人用户ID
  10704. type: integer
  10705. userinfotype:
  10706. description: 用户类型 1-个人 2-企业
  10707. type: integer
  10708. username:
  10709. description: 用户名称
  10710. type: string
  10711. type: object
  10712. models.QhjBrokerApplyEx:
  10713. properties:
  10714. applylist:
  10715. description: 经纪人申请记录(只返回最新一条)
  10716. items:
  10717. $ref: '#/definitions/models.QhjBrokerApply'
  10718. type: array
  10719. canrecommend:
  10720. description: 是否经纪人 0-不是 1-是
  10721. type: integer
  10722. refernum:
  10723. description: 推荐码
  10724. type: string
  10725. userid:
  10726. description: 用户id
  10727. type: integer
  10728. userinfotype:
  10729. description: 用户类型 1-个人 2-企业
  10730. type: integer
  10731. type: object
  10732. models.QhjBrokerRewardLog:
  10733. properties:
  10734. accountid:
  10735. description: 资金账号ID
  10736. type: integer
  10737. createtime:
  10738. description: 创建时间(时间)
  10739. type: string
  10740. handlestatus:
  10741. description: 处理状态
  10742. type: integer
  10743. logid:
  10744. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10745. type: string
  10746. marketid:
  10747. description: 市场ID
  10748. type: integer
  10749. mmaccountid:
  10750. description: 做市商资金账号ID
  10751. type: string
  10752. mmuserid:
  10753. description: 做市商用户ID
  10754. type: string
  10755. rewardamount:
  10756. description: 奖励金额
  10757. type: number
  10758. rewardmodel:
  10759. description: 消费奖励方式 - 1:比率 2:固定
  10760. type: integer
  10761. rewardtype:
  10762. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  10763. type: integer
  10764. rewardvalue:
  10765. description: 配置奖励值
  10766. type: number
  10767. srcamount:
  10768. description: 成交金额 [消费奖励] (金额)
  10769. type: number
  10770. srcgoodsid:
  10771. description: 来源商品ID [消费奖励]
  10772. type: string
  10773. srctime:
  10774. description: 来源时间 (成交时间) [消费奖励]
  10775. type: string
  10776. srctradeid:
  10777. description: 来源成交单ID [消费奖励] - 排除提货成交
  10778. type: string
  10779. srcuserid:
  10780. description: 来源用户ID(推广账户)
  10781. type: string
  10782. srcusername:
  10783. description: 推广账户名称
  10784. type: string
  10785. tradedate:
  10786. description: 交易日(yyyyMMdd)
  10787. type: string
  10788. userid:
  10789. description: 经纪人用户ID
  10790. type: integer
  10791. type: object
  10792. models.QhjContract:
  10793. properties:
  10794. contractconfirmtime:
  10795. description: 合同确认时间(时间)
  10796. type: string
  10797. currisklevel:
  10798. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  10799. type: integer
  10800. decimalplace:
  10801. description: 商品报价小数位
  10802. type: integer
  10803. enumdicname:
  10804. description: 单位名称
  10805. type: string
  10806. goodscode:
  10807. description: 商品代码
  10808. type: string
  10809. goodsid:
  10810. description: 商品ID [5:融资单]
  10811. type: integer
  10812. goodsname:
  10813. description: 商品名称
  10814. type: string
  10815. goodunitid:
  10816. description: 商品单位id
  10817. type: integer
  10818. initmargin:
  10819. description: 初始保证金(首付款)
  10820. type: number
  10821. lenderamount:
  10822. description: 贷款金额(总额|订单总额)
  10823. type: number
  10824. marginratio:
  10825. description: 保证金比率(首付比例)
  10826. type: number
  10827. payamount:
  10828. description: 已付(已付货款)
  10829. type: number
  10830. reckonrecovermargin:
  10831. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  10832. type: number
  10833. recoveredmargin:
  10834. description: 已追缴保证金
  10835. type: number
  10836. remainamount:
  10837. description: 合同剩余金额(融资额)
  10838. type: number
  10839. scfcontractid:
  10840. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10841. type: string
  10842. scfcontractstatus:
  10843. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  10844. 9:违约结束 10:已注销 11:已关闭 99:未提交
  10845. type: integer
  10846. scfcontracttype:
  10847. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  10848. type: integer
  10849. totalinterest:
  10850. description: 已计总利息(利息)
  10851. type: number
  10852. tradeprice:
  10853. description: 成交价格(成本价格)
  10854. type: number
  10855. userid:
  10856. description: 用户ID
  10857. type: integer
  10858. username:
  10859. description: 用户名称
  10860. type: string
  10861. wrqty:
  10862. description: 仓单数量(数量)
  10863. type: number
  10864. type: object
  10865. models.QhjContractLog:
  10866. properties:
  10867. amount:
  10868. description: 支付金额
  10869. type: number
  10870. amounttype:
  10871. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  10872. type: integer
  10873. logid:
  10874. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10875. type: string
  10876. remainamount:
  10877. description: 剩余货款
  10878. type: number
  10879. scfcontractid:
  10880. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10881. type: integer
  10882. updatetime:
  10883. description: 更新时间
  10884. type: string
  10885. type: object
  10886. models.QhjCusBankSignBankEx:
  10887. properties:
  10888. banklst:
  10889. description: 银行列表
  10890. items:
  10891. $ref: '#/definitions/models.QhjBankInfo'
  10892. type: array
  10893. canallot:
  10894. description: 是否支持跨行调拨 - 0:不支持 1:支持
  10895. type: integer
  10896. canallotquery:
  10897. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  10898. type: integer
  10899. canbindcard:
  10900. description: 是否可绑卡与解卡 - 0:不可 1:可以
  10901. type: integer
  10902. caninamount:
  10903. description: 是否可入金 - 0:不可 1:可以
  10904. type: integer
  10905. caninamount2:
  10906. description: 是否可入金(网银端) - 0:不可 1:可以
  10907. type: integer
  10908. canmodifybankcard:
  10909. description: 是否可修改银行卡号 - 0:不可 1:可以
  10910. type: integer
  10911. canmodifyphone:
  10912. description: 是否可修改手机号 - 0:不可 1:可以
  10913. type: integer
  10914. canmodifysigninfo:
  10915. description: 是否可修改签约信息 - 0:不可 1:可以
  10916. type: integer
  10917. canoutamount:
  10918. description: 是否可出金 - 0:不可 1:可以
  10919. type: integer
  10920. canoutamount2:
  10921. description: 是否可出金(网银端) - 0:不可 1:可以
  10922. type: integer
  10923. canrelease:
  10924. description: 是否可解约 - 0:不可 1:可以
  10925. type: integer
  10926. canrelease2:
  10927. description: 是否可解约(网银端) - 0:不可 1:可以
  10928. type: integer
  10929. cansign:
  10930. description: 是否可签约 - 0:不可 1:可以
  10931. type: integer
  10932. cansign2:
  10933. description: 是否可签约(网银端) - 0:不可 1:可以
  10934. type: integer
  10935. currency:
  10936. description: 币种
  10937. type: string
  10938. cusbankid:
  10939. description: 托管银行编号(对应清算中心TRAN_NO)
  10940. type: string
  10941. cusbankname:
  10942. description: 银行业务名称
  10943. type: string
  10944. cusbankshortname:
  10945. description: 银行业务简称
  10946. type: string
  10947. exchbankid:
  10948. description: 交易所开户银行ID
  10949. type: string
  10950. exchpaybankaccname:
  10951. description: 交易所支出结算账户户名
  10952. type: string
  10953. exchpaybankaccno:
  10954. description: 交易所支出结算账户
  10955. type: string
  10956. isneedcheck:
  10957. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  10958. type: integer
  10959. isneedclear:
  10960. description: 是否需要清算 - 0:不需要 1:需要
  10961. type: integer
  10962. lastcheckstatus:
  10963. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  10964. type: integer
  10965. lastchecktime:
  10966. description: 最后对账时间
  10967. type: string
  10968. lastclearstatus:
  10969. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  10970. type: integer
  10971. lastcleartime:
  10972. description: 最后清算时间
  10973. type: string
  10974. lastsignintime:
  10975. description: 最后签到时间
  10976. type: string
  10977. lastsignouttime:
  10978. description: 最后签退时间
  10979. type: string
  10980. riskinfo:
  10981. description: 签约风险提示书
  10982. type: string
  10983. signstatus:
  10984. description: 当前签到/签退状态 - 1:签到 2:签退
  10985. type: integer
  10986. tradedate:
  10987. description: 交易日(yyyyMMdd)
  10988. type: string
  10989. updatetime:
  10990. description: 当前签到/签退更新时间
  10991. type: string
  10992. type: object
  10993. models.QhjCustomer:
  10994. properties:
  10995. address:
  10996. description: 通讯地址
  10997. type: string
  10998. attachment1:
  10999. description: 附件1
  11000. type: string
  11001. attachment2:
  11002. description: 附件2
  11003. type: string
  11004. audittime:
  11005. description: 审核时间
  11006. type: string
  11007. cardbackphotourl:
  11008. description: 证件反面图片地址
  11009. type: string
  11010. cardfrontphotourl:
  11011. description: 证件正面图片地址
  11012. type: string
  11013. cardnum:
  11014. description: 证件号码
  11015. type: string
  11016. cardtype:
  11017. description: 证件类型
  11018. type: integer
  11019. cardtypename:
  11020. description: 证件类型名称
  11021. type: string
  11022. cityid:
  11023. description: 市
  11024. type: integer
  11025. cityname:
  11026. description: 城市名称
  11027. type: string
  11028. contactname:
  11029. description: 联系人
  11030. type: string
  11031. countryid:
  11032. description: 国家
  11033. type: integer
  11034. countryname:
  11035. description: 国家名称
  11036. type: string
  11037. createtime:
  11038. description: 创建时间
  11039. type: string
  11040. customername:
  11041. description: 客户名称
  11042. type: string
  11043. districtid:
  11044. description: 区域
  11045. type: integer
  11046. districtname:
  11047. description: 地区名称
  11048. type: string
  11049. email:
  11050. description: 邮件
  11051. type: string
  11052. legalpersonname:
  11053. description: 法人姓名(企业)
  11054. type: string
  11055. logincode:
  11056. description: 登录账号(代码)
  11057. type: string
  11058. memberuserid:
  11059. description: 所属机构ID(所属会员)
  11060. type: integer
  11061. memberusername:
  11062. description: 所属会员名称
  11063. type: string
  11064. mobile:
  11065. description: 手机号码
  11066. type: string
  11067. modifytime:
  11068. description: 修改时间
  11069. type: string
  11070. nickname:
  11071. description: 昵称
  11072. type: string
  11073. parentuserid:
  11074. description: 上级机构(所属机构)
  11075. type: integer
  11076. parentusername:
  11077. description: 所属机构名称
  11078. type: string
  11079. provinceid:
  11080. description: 省
  11081. type: integer
  11082. provincename:
  11083. description: 省名称
  11084. type: string
  11085. proxystatementurl:
  11086. description: 授权委托书
  11087. type: string
  11088. remark:
  11089. description: 备注
  11090. type: string
  11091. status:
  11092. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  11093. type: integer
  11094. statusdesc:
  11095. description: 账户状态中文描述
  11096. type: string
  11097. taxpayernum:
  11098. description: 纳税人识别号
  11099. type: string
  11100. telphone:
  11101. description: 联系电话
  11102. type: string
  11103. userid:
  11104. description: 用户ID
  11105. type: integer
  11106. userinfotype:
  11107. description: 客户类型 1-个人 2-企业
  11108. type: integer
  11109. username:
  11110. description: 用户名称
  11111. type: string
  11112. type: object
  11113. models.QhjCustomerSignLog:
  11114. properties:
  11115. agreementcontent:
  11116. description: 协议内容
  11117. type: string
  11118. agreementid:
  11119. description: 协议ID
  11120. type: integer
  11121. agreementname:
  11122. description: 协议名称
  11123. type: string
  11124. agreementno:
  11125. description: 协议编号
  11126. type: string
  11127. agreementtype:
  11128. description: 协议类型 - 1:注册 2:登录 3:交易
  11129. type: integer
  11130. agreementversion:
  11131. description: 协议版本号
  11132. type: integer
  11133. createtime:
  11134. description: 创建时间
  11135. type: string
  11136. goodscode:
  11137. description: 商品代码
  11138. type: string
  11139. goodsid:
  11140. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11141. type: integer
  11142. goodsname:
  11143. description: 商品名称
  11144. type: string
  11145. logid:
  11146. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  11147. type: integer
  11148. nodetype:
  11149. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  11150. type: integer
  11151. signadressurl:
  11152. description: 签约文件地址
  11153. type: string
  11154. signtimestamp:
  11155. description: 签约状态时间戳
  11156. type: string
  11157. userid:
  11158. description: 客户ID
  11159. type: integer
  11160. username:
  11161. description: 客户名称
  11162. type: string
  11163. type: object
  11164. models.QhjCustomerSignStatus:
  11165. properties:
  11166. createtime:
  11167. description: 创建时间
  11168. type: string
  11169. goodscode:
  11170. description: 商品代码
  11171. type: string
  11172. goodsid:
  11173. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11174. type: integer
  11175. goodsname:
  11176. description: 商品名称
  11177. type: string
  11178. nodetype:
  11179. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  11180. type: integer
  11181. signtimestamp:
  11182. description: 签约状态时间戳
  11183. type: string
  11184. tradedate:
  11185. description: 创建交易日(yyyyMMdd)
  11186. type: string
  11187. updatetime:
  11188. description: 更新时间
  11189. type: string
  11190. userid:
  11191. description: 客户ID
  11192. type: integer
  11193. username:
  11194. description: 客户名称
  11195. type: string
  11196. type: object
  11197. models.QhjMgrAccountOutInApply:
  11198. properties:
  11199. accountcode:
  11200. description: 资金账号
  11201. type: string
  11202. accountname:
  11203. description: 用户名称(名称)
  11204. type: string
  11205. accountpwd:
  11206. description: 资金密码
  11207. type: string
  11208. accountticket:
  11209. description: 最新账户服务流水号
  11210. type: string
  11211. amount:
  11212. description: 金额
  11213. type: number
  11214. applyremark:
  11215. description: 申请备注
  11216. type: string
  11217. applystatus:
  11218. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  11219. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  11220. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  11221. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  11222. type: integer
  11223. auditid:
  11224. description: 审核人
  11225. type: integer
  11226. audittime:
  11227. description: 审核时间
  11228. type: string
  11229. bank_apply_ticket:
  11230. description: 银行申请流水
  11231. type: string
  11232. bankaccountname:
  11233. description: 银行账户名
  11234. type: string
  11235. bankaccountno:
  11236. description: 银行卡号
  11237. type: string
  11238. bankid:
  11239. description: 银行编号
  11240. type: string
  11241. bankname:
  11242. description: 银行名称
  11243. type: string
  11244. bankticket:
  11245. description: 银行流水
  11246. type: string
  11247. branchbankid:
  11248. description: 银行支行号
  11249. type: string
  11250. branchbankname:
  11251. description: 银行支行名称
  11252. type: string
  11253. capamountout:
  11254. description: 出金(劣后本金) - 外部子账户
  11255. type: number
  11256. certificatephotourl:
  11257. description: 凭证地址
  11258. type: string
  11259. charge:
  11260. description: 手续费
  11261. type: number
  11262. checkerrorflag:
  11263. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  11264. type: integer
  11265. currency:
  11266. description: 币种
  11267. type: string
  11268. cusbankid:
  11269. description: 托管银行编号
  11270. type: string
  11271. exchticket:
  11272. description: 银行服务流水号
  11273. type: string
  11274. executetype:
  11275. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  11276. 7:外部子账户:入金 8:外部子账户:出金'
  11277. type: integer
  11278. extendinfo:
  11279. description: 扩展信息
  11280. type: string
  11281. extoperateid:
  11282. description: 交易服务流水号
  11283. type: integer
  11284. infamount:
  11285. description: 劣后金额(自有)
  11286. type: number
  11287. logincode:
  11288. description: 登录账号(账号)
  11289. type: string
  11290. netaddr:
  11291. description: 调转网址
  11292. type: string
  11293. priamount:
  11294. description: 优先金额(授信)
  11295. type: number
  11296. reauditid:
  11297. description: 复审人
  11298. type: integer
  11299. reauditremark:
  11300. description: 复审备注
  11301. type: string
  11302. reaudittime:
  11303. description: 复审时间
  11304. type: string
  11305. relatedorderid:
  11306. description: 三方关联ID
  11307. type: string
  11308. remark:
  11309. description: 备注
  11310. type: string
  11311. remark2:
  11312. description: 备注(失败原因)
  11313. type: string
  11314. soucreamount:
  11315. description: 原始出入金金额
  11316. type: number
  11317. soucrecurrencyid:
  11318. description: 原始出入金币种
  11319. type: integer
  11320. tradedate:
  11321. description: 交易日(yyyyMMdd)
  11322. type: string
  11323. updatetime:
  11324. description: 更新时间(申请时间)
  11325. type: string
  11326. userid:
  11327. description: 用户id
  11328. type: integer
  11329. userinfotype:
  11330. description: 账户类型 1-个人 2-企业
  11331. type: integer
  11332. type: object
  11333. models.QhjMgrBrokerApply:
  11334. properties:
  11335. applicantid:
  11336. description: 申请人
  11337. type: integer
  11338. applysrc:
  11339. description: 申请来源 - 1:管理端 2:终端
  11340. type: integer
  11341. applystatus:
  11342. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  11343. type: integer
  11344. applytime:
  11345. description: 申请时间
  11346. type: string
  11347. auditorid:
  11348. description: 审核人
  11349. type: integer
  11350. auditremark:
  11351. description: 审核备注
  11352. type: string
  11353. auditsrc:
  11354. description: 审核来源 - 1:管理端 2:终端
  11355. type: integer
  11356. audittime:
  11357. description: 审核时间
  11358. type: string
  11359. audittradedate:
  11360. description: 审核交易日(yyyyMMdd)
  11361. type: string
  11362. brokerapplyid:
  11363. description: 申请ID(SEQ_BROKERAPPLY)
  11364. type: integer
  11365. cardbackphotourl:
  11366. description: 证件背面图片地址
  11367. type: string
  11368. cardfrontphotourl:
  11369. description: 证件正面图片地址
  11370. type: string
  11371. cardnum:
  11372. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  11373. type: string
  11374. customername:
  11375. description: 姓名
  11376. type: string
  11377. filterstatus:
  11378. description: 筛选条件
  11379. type: string
  11380. logincode:
  11381. description: 登录代码
  11382. type: string
  11383. mobile:
  11384. description: 手机号码
  11385. type: string
  11386. parentuserid:
  11387. description: 所属机构id
  11388. type: integer
  11389. parentusername:
  11390. description: 所属机构名称
  11391. type: string
  11392. refereeuserid:
  11393. description: 推荐人id(经纪人)
  11394. type: integer
  11395. refernum:
  11396. description: 推荐码
  11397. type: string
  11398. remark:
  11399. description: 备注
  11400. type: string
  11401. subarealevelpath:
  11402. description: 层级路径
  11403. type: string
  11404. tradedate:
  11405. description: 交易日(yyyyMMdd)
  11406. type: string
  11407. userid:
  11408. description: 申请人用户ID
  11409. type: integer
  11410. userinfotype:
  11411. description: 用户类型 1-个人 2-企业
  11412. type: integer
  11413. username:
  11414. description: 用户名称
  11415. type: string
  11416. type: object
  11417. models.QhjMgrBrokerRewardReport:
  11418. properties:
  11419. createtime:
  11420. description: 创建时间(注册时间)
  11421. type: string
  11422. cycletime:
  11423. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  11424. type: string
  11425. cycletype:
  11426. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  11427. type: integer
  11428. directtotalnum:
  11429. description: 直推总人数【期末】
  11430. type: integer
  11431. indirecttotalnum:
  11432. description: 间推总人数【期末】
  11433. type: integer
  11434. mobile:
  11435. description: 电话号码
  11436. type: string
  11437. refereeuserid:
  11438. description: 推荐人id(经纪人id)
  11439. type: integer
  11440. refereeusername:
  11441. description: 推荐人名称(经纪人) 上级经纪人名称
  11442. type: string
  11443. refernum:
  11444. description: 推荐码
  11445. type: string
  11446. subarealevelpath:
  11447. description: 用户层级路径
  11448. type: string
  11449. todayrewardamount:
  11450. description: 奖励总金额【汇总】
  11451. type: number
  11452. updatetime:
  11453. description: 更新时间
  11454. type: string
  11455. userid:
  11456. description: 经纪人用户ID
  11457. type: integer
  11458. userinfotype:
  11459. description: 用户类型 1-个人 2-企业
  11460. type: integer
  11461. username:
  11462. description: 用户名称
  11463. type: string
  11464. type: object
  11465. models.QhjMgrContract:
  11466. properties:
  11467. contractconfirmtime:
  11468. description: 合同确认时间(时间)
  11469. type: string
  11470. currisklevel:
  11471. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  11472. type: integer
  11473. decimalplace:
  11474. description: 商品报价小数位
  11475. type: integer
  11476. enumdicname:
  11477. description: 单位名称
  11478. type: string
  11479. goodscode:
  11480. description: 商品代码
  11481. type: string
  11482. goodsid:
  11483. description: 商品ID [5:融资单]
  11484. type: integer
  11485. goodsname:
  11486. description: 商品名称
  11487. type: string
  11488. goodunitid:
  11489. description: 商品单位id
  11490. type: integer
  11491. initmargin:
  11492. description: 初始保证金(首付款)
  11493. type: number
  11494. lenderamount:
  11495. description: 贷款金额(总额|订单总额)
  11496. type: number
  11497. logincode:
  11498. description: 账号(登录代码)
  11499. type: string
  11500. marginratio:
  11501. description: 保证金比率(首付比例)
  11502. type: number
  11503. mobile:
  11504. description: 电话号码(用户资料里的电话)
  11505. type: string
  11506. payamount:
  11507. description: 已付(已付货款)
  11508. type: number
  11509. reckonrecovermargin:
  11510. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  11511. type: number
  11512. recoveredmargin:
  11513. description: 已追缴保证金
  11514. type: number
  11515. remainamount:
  11516. description: 合同剩余金额(融资额)
  11517. type: number
  11518. scfcontractid:
  11519. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  11520. type: string
  11521. scfcontractstatus:
  11522. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  11523. 9:违约结束 10:已注销 11:已关闭 99:未提交
  11524. type: integer
  11525. scfcontracttype:
  11526. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  11527. type: integer
  11528. totalinterest:
  11529. description: 已计总利息(利息)
  11530. type: number
  11531. tradedate:
  11532. description: 交易日
  11533. type: string
  11534. tradeprice:
  11535. description: 成交价格(成本价格)
  11536. type: number
  11537. userid:
  11538. description: 用户ID
  11539. type: integer
  11540. userinfotype:
  11541. description: 用户类型 1-个人 2-企业
  11542. type: integer
  11543. username:
  11544. description: 用户名称
  11545. type: string
  11546. wrqty:
  11547. description: 仓单数量(数量)
  11548. type: number
  11549. type: object
  11550. models.QhjMgrCustomer:
  11551. properties:
  11552. address:
  11553. description: 通讯地址
  11554. type: string
  11555. attachment1:
  11556. description: 附件1
  11557. type: string
  11558. audittime:
  11559. description: 审核时间
  11560. type: string
  11561. birthday:
  11562. description: 生日
  11563. type: string
  11564. brokerid:
  11565. description: 所属客户经理id
  11566. type: integer
  11567. brokername:
  11568. description: 所属客户经理名称
  11569. type: string
  11570. cardbackphotourl:
  11571. description: 证件反面图片地址
  11572. type: string
  11573. cardfrontphotourl:
  11574. description: 证件正面图片地址
  11575. type: string
  11576. cardnum:
  11577. description: 证件号码
  11578. type: string
  11579. cardtype:
  11580. description: 证件类型
  11581. type: integer
  11582. cardtypename:
  11583. description: 证件类型名称
  11584. type: string
  11585. cityid:
  11586. description: 市
  11587. type: integer
  11588. cityname:
  11589. description: 城市名称
  11590. type: string
  11591. contactname:
  11592. description: 联系人
  11593. type: string
  11594. countryid:
  11595. description: 国家
  11596. type: integer
  11597. countryname:
  11598. description: 国家名称
  11599. type: string
  11600. createtime:
  11601. description: 创建时间
  11602. type: string
  11603. customername:
  11604. description: 客户名称
  11605. type: string
  11606. districtid:
  11607. description: 区域
  11608. type: integer
  11609. districtname:
  11610. description: 地区名称
  11611. type: string
  11612. email:
  11613. description: 邮件
  11614. type: string
  11615. legalpersonname:
  11616. description: 法人姓名(企业)
  11617. type: string
  11618. logincode:
  11619. description: 登录账号(代码)
  11620. type: string
  11621. memberuserid:
  11622. description: 所属机构ID(所属会员)
  11623. type: integer
  11624. memberusername:
  11625. description: 所属会员名称
  11626. type: string
  11627. mobile:
  11628. description: 手机号码
  11629. type: string
  11630. modifytime:
  11631. description: 修改时间
  11632. type: string
  11633. nickname:
  11634. description: 昵称
  11635. type: string
  11636. parentuserid:
  11637. description: 上级机构(所属机构)
  11638. type: integer
  11639. parentusername:
  11640. description: 所属机构名称
  11641. type: string
  11642. provinceid:
  11643. description: 省
  11644. type: integer
  11645. provincename:
  11646. description: 省名称
  11647. type: string
  11648. proxystatementurl:
  11649. description: 授权委托书
  11650. type: string
  11651. querytype:
  11652. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  11653. type: integer
  11654. remark:
  11655. description: 备注
  11656. type: string
  11657. sex:
  11658. description: 性别 0-女 1-男
  11659. type: integer
  11660. status:
  11661. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过
  11662. ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  11663. type: integer
  11664. statusdesc:
  11665. description: 账户状态中文描述
  11666. type: string
  11667. taxpayernum:
  11668. description: 纳税人识别号
  11669. type: string
  11670. telphone:
  11671. description: 联系电话
  11672. type: string
  11673. userid:
  11674. description: 用户ID
  11675. type: integer
  11676. userinfotype:
  11677. description: 客户类型 1-个人 2-企业
  11678. type: integer
  11679. username:
  11680. description: 用户名称
  11681. type: string
  11682. type: object
  11683. models.QhjMgrPickGoods:
  11684. properties:
  11685. enumdicname:
  11686. description: 单位名称(提货商品)
  11687. type: string
  11688. goodsid:
  11689. description: 商品id
  11690. type: integer
  11691. imageaddress:
  11692. description: 图片
  11693. type: string
  11694. modifierid:
  11695. description: 修改人
  11696. type: integer
  11697. modifiername:
  11698. description: 修改人名称
  11699. type: string
  11700. modifysrc:
  11701. description: 修改来源 - 1:管理端 2:终端
  11702. type: integer
  11703. pickupgoodsagreeunit:
  11704. description: 合约乘数
  11705. type: number
  11706. pickupgoodsdesc:
  11707. description: 描述
  11708. type: string
  11709. pickupgoodsid:
  11710. description: 提货商品ID
  11711. type: string
  11712. pickupgoodsname:
  11713. description: 提货商品名称
  11714. type: string
  11715. pickupgoodsstatus:
  11716. description: 状态 - 1:正常 2:停用 3:注销
  11717. type: integer
  11718. pickupgoodsunitid:
  11719. description: 单位ID
  11720. type: integer
  11721. pickupratio:
  11722. description: 提货系数
  11723. type: number
  11724. preparedays:
  11725. description: 备货期(天)
  11726. type: integer
  11727. remark:
  11728. description: 备注
  11729. type: string
  11730. updatetime:
  11731. description: 更新时间
  11732. type: string
  11733. type: object
  11734. models.QhjMgrPositionRsp:
  11735. properties:
  11736. accountid:
  11737. description: 账号Id
  11738. type: integer
  11739. accountname:
  11740. description: 用户名称
  11741. type: string
  11742. agreeunit:
  11743. description: 合约乘数
  11744. type: number
  11745. averageprice:
  11746. description: 均价
  11747. type: number
  11748. avialqty:
  11749. description: 可用数量
  11750. type: number
  11751. decimalplace:
  11752. description: 报价小数位
  11753. type: integer
  11754. enumdicname:
  11755. description: 单位名称(商品)
  11756. type: string
  11757. frozenqty:
  11758. description: 冻结数量
  11759. type: number
  11760. goodscode:
  11761. description: 商品代码(内部)
  11762. type: string
  11763. goodsid:
  11764. description: 商品Id
  11765. type: integer
  11766. goodsname:
  11767. description: 商品名称
  11768. type: string
  11769. goodunitid:
  11770. description: 报价单位ID
  11771. type: integer
  11772. holderamount:
  11773. description: 金额
  11774. type: number
  11775. holderqty:
  11776. description: 持有数量
  11777. type: number
  11778. holdertype:
  11779. description: 持仓类别 - 1:单边持仓 2:双边持仓
  11780. type: integer
  11781. logincode:
  11782. description: 登录代码(账户)
  11783. type: string
  11784. marketid:
  11785. description: 市场id
  11786. type: integer
  11787. qtydecimalplace:
  11788. description: 成交量小数位
  11789. type: integer
  11790. trademode:
  11791. description: 交易模式
  11792. type: integer
  11793. userid:
  11794. description: 用户id
  11795. type: integer
  11796. userinfotype:
  11797. description: 账户类型 1-个人 2-企业
  11798. type: integer
  11799. type: object
  11800. models.QhjMgrSubArea:
  11801. properties:
  11802. accountname:
  11803. description: 账户名称(机构名称)
  11804. type: string
  11805. memberuserid:
  11806. description: 所属会员ID
  11807. type: integer
  11808. parenttopuser:
  11809. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  11810. type: string
  11811. parentuserid:
  11812. description: 所属机构ID
  11813. type: integer
  11814. rootuserid:
  11815. description: 根用户ID
  11816. type: string
  11817. subaccountlevel:
  11818. description: 子账户层数
  11819. type: integer
  11820. subarealevelpath:
  11821. description: 子机构层级路径(逗号分隔,首尾加逗号)
  11822. type: string
  11823. userid:
  11824. description: 用户ID
  11825. type: integer
  11826. usertype:
  11827. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  11828. type: integer
  11829. type: object
  11830. models.QhjMgrTradeDetailRsp:
  11831. properties:
  11832. accountid:
  11833. description: 资金账号
  11834. type: integer
  11835. accountname:
  11836. description: 用户名称
  11837. type: string
  11838. agreeunit:
  11839. description: 合约乘数
  11840. type: number
  11841. buyorsell:
  11842. description: 成交类型(方向) 0:买 1:卖
  11843. type: integer
  11844. decimalplace:
  11845. description: 报价小数位
  11846. type: integer
  11847. enumdicname:
  11848. description: 单位名称(商品)
  11849. type: string
  11850. goodscode:
  11851. description: 商品代码(内部)
  11852. type: string
  11853. goodsid:
  11854. description: 商品id
  11855. type: integer
  11856. goodsname:
  11857. description: 商品名称
  11858. type: string
  11859. goodunitid:
  11860. description: 报价单位ID
  11861. type: integer
  11862. logincode:
  11863. description: 登录代码(账户)
  11864. type: string
  11865. marketid:
  11866. description: 市场id
  11867. type: integer
  11868. orderid:
  11869. description: 关联委托单号
  11870. type: string
  11871. qtydecimalplace:
  11872. description: 成交量小数位
  11873. type: integer
  11874. tradeamount:
  11875. description: 金额
  11876. type: number
  11877. tradedate:
  11878. description: 交易日
  11879. type: string
  11880. tradeid:
  11881. description: 成交单号
  11882. type: string
  11883. trademode:
  11884. description: 交易模式
  11885. type: integer
  11886. tradeprice:
  11887. description: 价格
  11888. type: number
  11889. tradeqty:
  11890. description: 数量
  11891. type: number
  11892. tradetime:
  11893. description: 成交时间
  11894. type: string
  11895. userid:
  11896. description: 用户id
  11897. type: integer
  11898. userinfotype:
  11899. description: 账户类型 1-个人 2-企业
  11900. type: integer
  11901. type: object
  11902. models.QhjMgrTradeOrderDetailRsp:
  11903. properties:
  11904. accountid:
  11905. description: 资金账号
  11906. type: integer
  11907. accountname:
  11908. description: 用户名称
  11909. type: string
  11910. agreeunit:
  11911. description: 合约乘数
  11912. type: number
  11913. amount:
  11914. description: 金额
  11915. type: number
  11916. decimalplace:
  11917. description: 报价小数位
  11918. type: integer
  11919. enumdicname:
  11920. description: 单位名称(商品)
  11921. type: string
  11922. goodscode:
  11923. description: 商品代码(内部)
  11924. type: string
  11925. goodsid:
  11926. description: 商品id
  11927. type: integer
  11928. goodsname:
  11929. description: 商品名称
  11930. type: string
  11931. goodunitid:
  11932. description: 报价单位ID
  11933. type: integer
  11934. logincode:
  11935. description: 登录代码(账户)
  11936. type: string
  11937. marketid:
  11938. description: 市场id
  11939. type: integer
  11940. orderid:
  11941. description: 关联委托单号
  11942. type: string
  11943. orderprice:
  11944. description: 价格
  11945. type: number
  11946. orderqty:
  11947. description: 数量
  11948. type: number
  11949. orderstatus:
  11950. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  11951. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  11952. 16:成交失败违约(荷兰式竞拍专用)
  11953. type: integer
  11954. ordertime:
  11955. description: 委托时间
  11956. type: string
  11957. qtydecimalplace:
  11958. description: 成交量小数位
  11959. type: integer
  11960. tradedate:
  11961. description: 交易日
  11962. type: string
  11963. trademode:
  11964. description: 交易模式
  11965. type: integer
  11966. userid:
  11967. description: 用户id
  11968. type: integer
  11969. userinfotype:
  11970. description: 账户类型 1-个人 2-企业
  11971. type: integer
  11972. type: object
  11973. models.QhjMgrTradePayOrder:
  11974. properties:
  11975. accountname:
  11976. description: 用户名称
  11977. type: string
  11978. advanceratio:
  11979. description: 首付比率
  11980. type: number
  11981. agreeunit:
  11982. description: 合约乘数
  11983. type: number
  11984. buyaccountid:
  11985. description: 买方账号ID[报价币种]
  11986. type: integer
  11987. buyorderid:
  11988. description: 买方委托单号(关联单号)
  11989. type: string
  11990. createtime:
  11991. description: 创建时间
  11992. type: string
  11993. decimalplace:
  11994. description: 报价小数位
  11995. type: integer
  11996. enumdicname:
  11997. description: 单位名称(商品)
  11998. type: string
  11999. goodscode:
  12000. description: 商品代码(内部)
  12001. type: string
  12002. goodsid:
  12003. description: 商品ID
  12004. type: integer
  12005. goodsname:
  12006. description: 商品名称
  12007. type: string
  12008. goodunitid:
  12009. description: 报价单位ID
  12010. type: integer
  12011. logincode:
  12012. description: 登录代码(账户)
  12013. type: string
  12014. marketid:
  12015. description: 市场id
  12016. type: integer
  12017. offamount:
  12018. description: 优惠金额
  12019. type: number
  12020. operatetype:
  12021. description: 买委托操作类型 - 1:正常下单 16:融资买入
  12022. type: integer
  12023. payamount:
  12024. description: 支付金额(金额)
  12025. type: number
  12026. payflag:
  12027. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  12028. type: integer
  12029. paylimitedtime:
  12030. description: 支付期限
  12031. type: string
  12032. paytime:
  12033. description: 付款时间
  12034. type: string
  12035. qtydecimalplace:
  12036. description: 成交量小数位
  12037. type: integer
  12038. sellaccountid:
  12039. description: 卖方账号ID[报价币种]
  12040. type: integer
  12041. sellorderid:
  12042. description: 卖方委托单号
  12043. type: string
  12044. tradeamount:
  12045. description: 成交金额(优惠后金额)
  12046. type: number
  12047. tradecharge:
  12048. description: 成交手续费(买方)
  12049. type: number
  12050. tradedate:
  12051. description: 交易日(yyyyMMdd)
  12052. type: string
  12053. tradeid:
  12054. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12055. type: string
  12056. trademode:
  12057. description: 交易模式
  12058. type: integer
  12059. tradeprice:
  12060. description: 成交价格(价格)
  12061. type: number
  12062. tradeqty:
  12063. description: 成交数量(数量)
  12064. type: number
  12065. tradetime:
  12066. description: 成交时间
  12067. type: string
  12068. userid:
  12069. description: 用户id
  12070. type: integer
  12071. userinfotype:
  12072. description: 账户类型 1-个人 2-企业
  12073. type: integer
  12074. type: object
  12075. models.QhjMyTeamEx:
  12076. properties:
  12077. accountname:
  12078. description: 用户名称
  12079. type: string
  12080. accountstatus:
  12081. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  12082. type: integer
  12083. createtime:
  12084. description: 创建时间
  12085. type: string
  12086. mobile:
  12087. description: 手机号码
  12088. type: string
  12089. refereeuserid:
  12090. description: 推荐人id
  12091. type: integer
  12092. refernum:
  12093. description: 推荐码
  12094. type: string
  12095. subList:
  12096. items:
  12097. $ref: '#/definitions/models.QhjMyTeamEx'
  12098. type: array
  12099. userid:
  12100. description: 用户id
  12101. type: integer
  12102. userinfotype:
  12103. description: 用户类型 1-个人 2-企业
  12104. type: integer
  12105. type: object
  12106. models.QhjNodeAgreementConfig:
  12107. properties:
  12108. agreementcontent:
  12109. description: 协议内容
  12110. type: string
  12111. agreementid:
  12112. description: 协议ID
  12113. type: integer
  12114. agreementname:
  12115. description: 协议名称
  12116. type: string
  12117. agreementno:
  12118. description: 协议编号
  12119. type: string
  12120. agreementtype:
  12121. description: 协议类型 - 1:注册 2:登录 3:交易
  12122. type: integer
  12123. agreementversion:
  12124. description: 协议版本号
  12125. type: integer
  12126. configid:
  12127. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  12128. type: integer
  12129. createtime:
  12130. description: 创建时间
  12131. type: string
  12132. goodsid:
  12133. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12134. type: integer
  12135. nodetype:
  12136. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12137. type: integer
  12138. type: object
  12139. models.QhjParentAreaList:
  12140. properties:
  12141. accountname:
  12142. description: 账户名称(机构名称)
  12143. type: string
  12144. userid:
  12145. description: 用户ID
  12146. type: integer
  12147. usertype:
  12148. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  12149. type: integer
  12150. type: object
  12151. models.QhjPayOrder:
  12152. properties:
  12153. advanceratio:
  12154. description: 首付比率
  12155. type: number
  12156. buyaccountid:
  12157. description: 买方账号ID[报价币种]
  12158. type: integer
  12159. buyorderid:
  12160. description: 买方委托单号
  12161. type: string
  12162. createtime:
  12163. description: 创建时间
  12164. type: string
  12165. decimalplace:
  12166. description: 商品报价小数位
  12167. type: integer
  12168. enumdicname:
  12169. description: 单位名称
  12170. type: string
  12171. goodscode:
  12172. description: 商品代码
  12173. type: string
  12174. goodsid:
  12175. description: 商品ID
  12176. type: integer
  12177. goodsname:
  12178. description: 商品名称
  12179. type: string
  12180. goodunitid:
  12181. description: 商品单位id
  12182. type: integer
  12183. marketid:
  12184. description: 市场ID
  12185. type: integer
  12186. offamount:
  12187. description: 优惠金额
  12188. type: number
  12189. operatetype:
  12190. description: 买委托操作类型 - 1:正常下单 16:融资买入
  12191. type: integer
  12192. payamount:
  12193. description: 支付金额
  12194. type: number
  12195. payflag:
  12196. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  12197. type: integer
  12198. paylimitedtime:
  12199. description: 支付期限
  12200. type: string
  12201. paytime:
  12202. description: 付款时间
  12203. type: string
  12204. qtydecimalplace:
  12205. description: 成交量小数位
  12206. type: integer
  12207. sellaccountid:
  12208. description: 卖方账号ID[报价币种]
  12209. type: integer
  12210. sellorderid:
  12211. description: 卖方委托单号
  12212. type: string
  12213. tradeamount:
  12214. description: 成交金额(优惠后金额)
  12215. type: number
  12216. tradecharge:
  12217. description: 成交手续费(买方)
  12218. type: number
  12219. tradedate:
  12220. description: 交易日(yyyyMMdd)
  12221. type: string
  12222. tradeid:
  12223. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12224. type: string
  12225. tradeprice:
  12226. description: 成交价格
  12227. type: number
  12228. tradeqty:
  12229. description: 成交数量
  12230. type: number
  12231. type: object
  12232. models.QhjPickArea:
  12233. properties:
  12234. address:
  12235. description: 详细地址
  12236. type: string
  12237. cityid:
  12238. description: 市
  12239. type: integer
  12240. cityname:
  12241. description: 城市名称
  12242. type: string
  12243. countryid:
  12244. description: 国家
  12245. type: integer
  12246. countryname:
  12247. description: 国家名称
  12248. type: string
  12249. districtid:
  12250. description: 地区
  12251. type: integer
  12252. districtname:
  12253. description: 地区名称
  12254. type: string
  12255. fromuserid:
  12256. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  12257. type: integer
  12258. fromusername:
  12259. description: 所属机构名称
  12260. type: string
  12261. provinceid:
  12262. description: 省
  12263. type: integer
  12264. provincename:
  12265. description: 省名称
  12266. type: string
  12267. suborgtype:
  12268. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  12269. type: integer
  12270. userid:
  12271. description: 机构用户ID 其他做市关系,都设置为 1
  12272. type: integer
  12273. username:
  12274. description: 机构用户名称(门店门称)
  12275. type: string
  12276. type: object
  12277. models.QhjPickGoods:
  12278. properties:
  12279. enumdicname:
  12280. description: 单位名称(提货商品)
  12281. type: string
  12282. goodsid:
  12283. description: 商品id
  12284. type: integer
  12285. imageaddress:
  12286. description: 图片
  12287. type: string
  12288. modifierid:
  12289. description: 修改人
  12290. type: integer
  12291. modifiername:
  12292. description: 修改人名称
  12293. type: string
  12294. modifysrc:
  12295. description: 修改来源 - 1:管理端 2:终端
  12296. type: integer
  12297. pickupgoodsagreeunit:
  12298. description: 合约乘数
  12299. type: number
  12300. pickupgoodsdesc:
  12301. description: 描述
  12302. type: string
  12303. pickupgoodsid:
  12304. description: 提货商品ID
  12305. type: string
  12306. pickupgoodsname:
  12307. description: 提货商品名称
  12308. type: string
  12309. pickupgoodsstatus:
  12310. description: 状态 - 1:正常 2:停用 3:注销
  12311. type: integer
  12312. pickupgoodsunitid:
  12313. description: 单位ID
  12314. type: integer
  12315. pickupratio:
  12316. description: 提货系数
  12317. type: number
  12318. preparedays:
  12319. description: 备货期(天)
  12320. type: integer
  12321. remark:
  12322. description: 备注
  12323. type: string
  12324. updatetime:
  12325. description: 更新时间
  12326. type: string
  12327. type: object
  12328. models.QhjRSTriggerLog:
  12329. properties:
  12330. accountid:
  12331. description: 用户资金账户
  12332. type: integer
  12333. accountname:
  12334. description: 账号名称(ACCOUNTID对应的名称)
  12335. type: string
  12336. currencyid:
  12337. description: 币种id
  12338. type: integer
  12339. currencyname:
  12340. description: 币种名称
  12341. type: string
  12342. decimalplace:
  12343. description: 商品报价小数位
  12344. type: integer
  12345. enumdicname:
  12346. description: 单位名称
  12347. type: string
  12348. goodscode:
  12349. description: 定投商品代码
  12350. type: string
  12351. goodsid:
  12352. description: 定投商品ID
  12353. type: integer
  12354. goodsname:
  12355. description: 定投商品名称
  12356. type: string
  12357. goodunitid:
  12358. description: 定投商品单位id
  12359. type: integer
  12360. logid:
  12361. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  12362. type: string
  12363. logincode:
  12364. description: 账号(登录代码)
  12365. type: string
  12366. qtydecimalplace:
  12367. description: 成交量小数位
  12368. type: integer
  12369. regularlycycle:
  12370. description: 定投频率 - 1:每周 2:每月
  12371. type: integer
  12372. regularlycyclevalue:
  12373. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  12374. type: string
  12375. regularlymode:
  12376. description: 定投方式 - 1:按数量 2:按金额
  12377. type: integer
  12378. regularlymodevalue:
  12379. description: 定投方式值 - 数量或金额
  12380. type: number
  12381. regularlystrategyid:
  12382. description: 定投策略ID
  12383. type: integer
  12384. retcode:
  12385. description: 错误码
  12386. type: string
  12387. tradeid:
  12388. description: 成交单ID
  12389. type: string
  12390. triggeramount:
  12391. description: 触发金额
  12392. type: number
  12393. triggerqty:
  12394. description: 触发数量
  12395. type: number
  12396. triggerstatus:
  12397. description: 触发状态 - 1:成功 2:失败
  12398. type: integer
  12399. triggertime:
  12400. description: 触发时间
  12401. type: string
  12402. triggertradedate:
  12403. description: 触发交易日
  12404. type: string
  12405. userid:
  12406. description: 所属用户ID
  12407. type: integer
  12408. userinfotype:
  12409. description: 用户类型 1-个人 2-企业
  12410. type: integer
  12411. username:
  12412. description: 用户名称(userid对应的名称)
  12413. type: string
  12414. type: object
  12415. models.QhjRStrategy:
  12416. properties:
  12417. accountid:
  12418. description: 用户资金账户
  12419. type: integer
  12420. accountname:
  12421. description: 账号名称(ACCOUNTID对应的名称)
  12422. type: string
  12423. currencyid:
  12424. description: 币种id
  12425. type: integer
  12426. currencyname:
  12427. description: 币种名称
  12428. type: string
  12429. decimalplace:
  12430. description: 商品报价小数位
  12431. type: integer
  12432. enumdicname:
  12433. description: 单位名称
  12434. type: string
  12435. goodscode:
  12436. description: 定投商品代码
  12437. type: string
  12438. goodsid:
  12439. description: 定投商品ID
  12440. type: integer
  12441. goodsname:
  12442. description: 定投商品名称
  12443. type: string
  12444. goodunitid:
  12445. description: 定投商品单位id
  12446. type: integer
  12447. lasteffecttradedate:
  12448. description: 最新生效交易日
  12449. type: string
  12450. laststoptradedate:
  12451. description: 最新暂停交易日
  12452. type: string
  12453. lasttriggertradedate:
  12454. description: 最新触发交易日
  12455. type: string
  12456. logincode:
  12457. description: 账号(登录代码)
  12458. type: string
  12459. nexttriggeramount:
  12460. description: 下次触发金额
  12461. type: number
  12462. nexttriggerdate:
  12463. description: 下次触发日期
  12464. type: string
  12465. nexttriggerqty:
  12466. description: 下次触发数量 [按小数位放大值]
  12467. type: number
  12468. qtydecimalplace:
  12469. description: 成交量小数位
  12470. type: integer
  12471. regularlycycle:
  12472. description: 定投频率 - 1:每周 2:每月
  12473. type: integer
  12474. regularlycyclevalue:
  12475. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  12476. type: string
  12477. regularlymode:
  12478. description: 定投方式 - 1:按数量 2:按金额
  12479. type: integer
  12480. regularlymodevalue:
  12481. description: 定投方式值 - 数量或金额
  12482. type: number
  12483. regularlystrategyid:
  12484. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  12485. type: integer
  12486. regularlystrategystatus:
  12487. description: 策略状态 - 1:正常 2:暂停 3:终止
  12488. type: integer
  12489. remark:
  12490. description: 备注
  12491. type: string
  12492. triggersuccesstimes:
  12493. description: 累计定投成功次数
  12494. type: string
  12495. triggertotalamount:
  12496. description: 累计定投金额(成功)
  12497. type: number
  12498. triggertotalqty:
  12499. description: 累计定投数量(成功) [按小数位放大值]
  12500. type: number
  12501. triggertotaltimes:
  12502. description: 累计定投总次数
  12503. type: string
  12504. updatesrc:
  12505. description: 更新来源 - 1:管理端 2:终端
  12506. type: integer
  12507. updatetime:
  12508. description: 更新时间
  12509. type: string
  12510. updatorid:
  12511. description: 更新人
  12512. type: string
  12513. userid:
  12514. description: 所属用户ID
  12515. type: integer
  12516. userinfotype:
  12517. description: 用户类型 1-个人 2-企业
  12518. type: integer
  12519. username:
  12520. description: 用户名称(userid对应的名称)
  12521. type: string
  12522. type: object
  12523. models.QhjReckonPriceLog:
  12524. properties:
  12525. decimalplace:
  12526. description: 商品报价小数位
  12527. type: integer
  12528. goodscode:
  12529. description: 商品代码
  12530. type: string
  12531. goodsid:
  12532. description: 商品ID
  12533. type: integer
  12534. goodsname:
  12535. description: 商品名称
  12536. type: string
  12537. lastreckonprice:
  12538. description: 上日结算价
  12539. type: number
  12540. nextdnlimitprice:
  12541. description: 下个交易日跌停价
  12542. type: number
  12543. nexttrade:
  12544. description: 下个交易日
  12545. type: string
  12546. nextuplimitprice:
  12547. description: 下个交易日涨停价
  12548. type: number
  12549. reckonprice:
  12550. description: 今日结算价(定投价)
  12551. type: number
  12552. reckontime:
  12553. description: 结算时间
  12554. type: string
  12555. totalholderqty:
  12556. description: 总持仓数
  12557. type: integer
  12558. totalstock:
  12559. description: 总库存
  12560. type: integer
  12561. tradedate:
  12562. description: 交易日
  12563. type: string
  12564. updowncount:
  12565. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  12566. type: integer
  12567. updownflag:
  12568. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  12569. type: integer
  12570. updownrate:
  12571. description: 今日涨跌幅
  12572. type: number
  12573. updownrate_2d:
  12574. description: 连续两日涨跌幅
  12575. type: number
  12576. updownrate_3d:
  12577. description: 连续三日涨跌幅
  12578. type: number
  12579. type: object
  12580. models.QhjScoreLog:
  12581. properties:
  12582. accountid:
  12583. description: 账户ID
  12584. type: integer
  12585. createtime:
  12586. description: 创建时间(时间)
  12587. type: string
  12588. goodsid:
  12589. description: 商品ID
  12590. type: integer
  12591. hasuploaded:
  12592. description: 是否已同步(千海金) 0:未同步 1;已同步
  12593. type: integer
  12594. logid:
  12595. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12596. type: string
  12597. marketid:
  12598. description: 市场ID
  12599. type: integer
  12600. relatedamount:
  12601. description: 关联金额
  12602. type: number
  12603. relatedorderid:
  12604. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  12605. type: string
  12606. scoreconfigvalue1:
  12607. description: 积分配置1
  12608. type: integer
  12609. scoreconfigvalue2:
  12610. description: 积分配置1
  12611. type: integer
  12612. scoretype:
  12613. description: 积分类型 - 1:提货积分
  12614. type: integer
  12615. scorevalue:
  12616. description: 积分
  12617. type: number
  12618. tradedate:
  12619. description: 交易日(yyyyMMdd)
  12620. type: string
  12621. uploadedtime:
  12622. description: 同步时间
  12623. type: string
  12624. userid:
  12625. description: 用户ID
  12626. type: integer
  12627. type: object
  12628. models.QhjSiteColumnDetail:
  12629. properties:
  12630. author:
  12631. description: 作者
  12632. type: string
  12633. brief:
  12634. description: 简介
  12635. type: string
  12636. columnid:
  12637. description: 所属栏目
  12638. type: integer
  12639. context:
  12640. description: 内容
  12641. type: string
  12642. coverimage:
  12643. description: 封面图片
  12644. type: string
  12645. creaedate:
  12646. description: 创建时间
  12647. type: string
  12648. creatorid:
  12649. description: 创建人
  12650. type: integer
  12651. hits:
  12652. description: 点击数
  12653. type: integer
  12654. id:
  12655. description: ID(SEQ_SITE_COLUMNDETAIL)
  12656. type: integer
  12657. isshow:
  12658. description: 是否展示 - 0:不展示 1:展示
  12659. type: integer
  12660. istop:
  12661. description: 是否置顶 - 0:不置 1:置顶
  12662. type: integer
  12663. modifierid:
  12664. description: 操作人
  12665. type: integer
  12666. publishdate:
  12667. description: 发布日期
  12668. type: string
  12669. status:
  12670. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  12671. type: integer
  12672. title:
  12673. description: 标题
  12674. type: string
  12675. updatedate:
  12676. description: 修改时间
  12677. type: string
  12678. userid:
  12679. description: 用户ID(默认为0, 核心为为机构用户ID)
  12680. type: integer
  12681. username:
  12682. description: 用户名称
  12683. type: string
  12684. type: object
  12685. models.QhjTeamOrder:
  12686. properties:
  12687. accountid:
  12688. description: 账户ID[报价币种]
  12689. type: integer
  12690. accountname:
  12691. description: 账户名称
  12692. type: string
  12693. agreeunit:
  12694. description: 合约乘数
  12695. type: number
  12696. buyorsell:
  12697. description: 方向 - 0:买 1:卖
  12698. type: integer
  12699. decimalplace:
  12700. description: 报价小数位
  12701. type: integer
  12702. enumdicname:
  12703. description: 单位名称
  12704. type: string
  12705. goodscode:
  12706. description: 商品代码(内部)
  12707. type: string
  12708. goodsid:
  12709. description: 商品ID
  12710. type: integer
  12711. goodsname:
  12712. description: 商品名称
  12713. type: string
  12714. goodunitid:
  12715. description: 报价单位ID
  12716. type: integer
  12717. marketid:
  12718. description: 市场ID
  12719. type: integer
  12720. marketname:
  12721. description: 市场名称
  12722. type: string
  12723. qtydecimalplace:
  12724. description: 成交量小数位
  12725. type: integer
  12726. refereeuserid:
  12727. description: 推荐人ID
  12728. type: integer
  12729. tradeamount:
  12730. description: 成交金额[账户币种,用于所有权]
  12731. type: number
  12732. tradedate:
  12733. description: 交易日(yyyyMMdd)
  12734. type: string
  12735. trademode:
  12736. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12737. 21:竞拍-大宗式 22:受托竞价
  12738. type: integer
  12739. tradeprice:
  12740. description: 成交价格
  12741. type: number
  12742. tradeqty:
  12743. description: 成交数量
  12744. type: number
  12745. tradetime:
  12746. description: 成交时间
  12747. type: string
  12748. userid:
  12749. description: 用户ID
  12750. type: integer
  12751. type: object
  12752. models.QhjTradeGoodsPickup:
  12753. properties:
  12754. accountid:
  12755. description: 账户ID
  12756. type: integer
  12757. address:
  12758. description: 提货人详细地址
  12759. type: string
  12760. amount:
  12761. description: 提货金额
  12762. type: number
  12763. artradedate:
  12764. description: 自动收货交易日(yyyyMMdd)
  12765. type: string
  12766. auditer:
  12767. description: 审核人
  12768. type: integer
  12769. auditsrc:
  12770. description: 更新来源 - 1:管理端 2:终端
  12771. type: integer
  12772. audittime:
  12773. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  12774. type: string
  12775. audittradedate:
  12776. description: 审核交易日(yyyyMMdd)
  12777. type: string
  12778. cardnum:
  12779. description: 提货人证件号码
  12780. type: string
  12781. cardtypeid:
  12782. description: 提货人证件类型
  12783. type: integer
  12784. checkremark:
  12785. description: 审核备注
  12786. type: string
  12787. cityid:
  12788. description: 市
  12789. type: integer
  12790. cityname:
  12791. description: 城市名称
  12792. type: string
  12793. confirmtime:
  12794. description: 取货时间 或 收货时间
  12795. type: string
  12796. countryid:
  12797. description: 国家
  12798. type: integer
  12799. countryname:
  12800. description: 国家名称
  12801. type: string
  12802. decimalplace:
  12803. description: 商品报价小数位
  12804. type: integer
  12805. districtid:
  12806. description: 地区
  12807. type: integer
  12808. districtname:
  12809. description: 地区名称
  12810. type: string
  12811. enumdicname:
  12812. description: 单位名称(提货商品)
  12813. type: string
  12814. expresscompany:
  12815. description: 物流公司
  12816. type: string
  12817. expressnum:
  12818. description: 物流单号
  12819. type: string
  12820. goodsagreeunit:
  12821. description: 交易商品乘数
  12822. type: number
  12823. goodscode:
  12824. description: 商品代码
  12825. type: string
  12826. goodsid:
  12827. description: 商品ID
  12828. type: integer
  12829. goodsname:
  12830. description: 商品名称
  12831. type: string
  12832. goodsqty:
  12833. description: 交易商品手数(69模式按成交量小数位放大取整)
  12834. type: number
  12835. handlestatus:
  12836. description: 处理状态
  12837. type: integer
  12838. logincode:
  12839. description: 账号(登录代码, 有可能为空)
  12840. type: string
  12841. marketid:
  12842. description: 市场ID
  12843. type: integer
  12844. phonenum:
  12845. description: 提货人联系方式
  12846. type: string
  12847. pickupgoodsagreeunit:
  12848. description: 提货商品合约乘数
  12849. type: number
  12850. pickupgoodsid:
  12851. description: 提货商品ID
  12852. type: string
  12853. pickupgoodsname:
  12854. description: 提货商品名称
  12855. type: string
  12856. pickupgoodsqty:
  12857. description: 提货商品手数(数量)
  12858. type: number
  12859. pickupgoodsunitid:
  12860. description: 单位ID(提货商品)
  12861. type: integer
  12862. pickupratio:
  12863. description: 提货系数
  12864. type: number
  12865. preparedays:
  12866. description: 备货期(天)-提货单明细表
  12867. type: integer
  12868. provinceid:
  12869. description: 省
  12870. type: integer
  12871. provincename:
  12872. description: 省名称
  12873. type: string
  12874. qty:
  12875. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  12876. type: number
  12877. qtydecimalplace:
  12878. description: 商品数量小数位
  12879. type: integer
  12880. recivername:
  12881. description: 提货人姓名
  12882. type: string
  12883. reqtime:
  12884. description: 提货申请时间
  12885. type: string
  12886. storeuserid:
  12887. description: 门店用户ID (千海金)
  12888. type: integer
  12889. storeusername:
  12890. description: 门店用户名称
  12891. type: string
  12892. takemode:
  12893. description: 提货方式 - 2:自提 3:配送(邮寄)
  12894. type: integer
  12895. takeorderid:
  12896. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  12897. type: string
  12898. takeorderstatus:
  12899. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  12900. 7:已拒绝 8:已撤销
  12901. type: integer
  12902. takeremark:
  12903. description: 提货备注
  12904. type: string
  12905. tradedate:
  12906. description: 交易日(yyyyMMdd)
  12907. type: string
  12908. updatetime:
  12909. description: 更新时间
  12910. type: string
  12911. userid:
  12912. description: 用户ID
  12913. type: integer
  12914. userinfotype:
  12915. description: 客户类型 1-个人 2-企业
  12916. type: integer
  12917. username:
  12918. description: 用户名称
  12919. type: string
  12920. type: object
  12921. models.QhjUserNodeCfgAndStatus:
  12922. properties:
  12923. agreementcontent:
  12924. description: 协议内容
  12925. type: string
  12926. agreementid:
  12927. description: 协议ID
  12928. type: integer
  12929. agreementname:
  12930. description: 协议名称
  12931. type: string
  12932. agreementno:
  12933. description: 协议编号
  12934. type: string
  12935. agreementtype:
  12936. description: 协议类型 - 1:注册 2:登录 3:交易
  12937. type: integer
  12938. agreementversion:
  12939. description: 协议版本号
  12940. type: integer
  12941. configid:
  12942. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  12943. type: integer
  12944. createtime:
  12945. description: 创建时间
  12946. type: string
  12947. goodsid:
  12948. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12949. type: integer
  12950. nodetype:
  12951. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12952. type: integer
  12953. signtimestamp:
  12954. description: 签约状态时间戳(最近一次)
  12955. type: string
  12956. tradedate:
  12957. description: 签约交易日(yyyyMMdd)
  12958. type: string
  12959. userid:
  12960. description: 客户ID
  12961. type: integer
  12962. type: object
  12963. models.Qhjgoodsex:
  12964. properties:
  12965. canfinance:
  12966. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  12967. type: integer
  12968. canregularlybuy:
  12969. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  12970. type: integer
  12971. defaulttradeuserid:
  12972. description: 默认交易用户ID
  12973. type: integer
  12974. deliverygoodsid:
  12975. description: 现货品种ID
  12976. type: integer
  12977. goodsid:
  12978. description: 商品ID(自增ID SEQ_GOODS)
  12979. type: integer
  12980. minamount:
  12981. description: 最小购买金额
  12982. type: number
  12983. regularlybuyminamount:
  12984. description: 定投最小金额
  12985. type: number
  12986. regularlybuyminqty:
  12987. description: 定投最小数量
  12988. type: number
  12989. spotgoodsbrandid:
  12990. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  12991. type: integer
  12992. visibilityforenterprise:
  12993. description: 企业客户是否可见 - 0:不可见 1:可见
  12994. type: integer
  12995. visibilityforpersonal:
  12996. description: 个人客户是否可见 - 0:不可见 1:可见
  12997. type: integer
  12998. wrstandardid:
  12999. description: 现货商品ID
  13000. type: integer
  13001. type: object
  13002. models.QueryErrorInfosRsp:
  13003. properties:
  13004. description:
  13005. description: 异常描述
  13006. type: string
  13007. errorcode:
  13008. description: 异常代码
  13009. type: string
  13010. errorid:
  13011. description: 异常ID
  13012. type: integer
  13013. modulecode:
  13014. description: 所属模块
  13015. type: string
  13016. operatecode:
  13017. description: 所属操作
  13018. type: string
  13019. rownumber:
  13020. description: 行号
  13021. type: string
  13022. required:
  13023. - errorid
  13024. type: object
  13025. models.QueryHedgeOrderDetailRsp:
  13026. properties:
  13027. accountid:
  13028. description: 账户ID
  13029. type: integer
  13030. buyorsell:
  13031. description: 买卖 - 0:买 1:卖
  13032. type: integer
  13033. cancellogincode:
  13034. description: 撤单人
  13035. type: string
  13036. channelbuildtype:
  13037. description: 开平标志 - 0:无 1:建仓 2:平仓
  13038. type: integer
  13039. channelinnerorderstatus:
  13040. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  13041. 9:全部成交
  13042. type: integer
  13043. channeloperatetype:
  13044. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  13045. type: integer
  13046. closetype:
  13047. description: 平仓方式 - 0:无 1:平今 2:平昨
  13048. type: integer
  13049. curexchangerate:
  13050. description: 当前汇率
  13051. type: number
  13052. decimalplace:
  13053. description: 商品报价小数位
  13054. type: integer
  13055. exchangefullname:
  13056. description: 外部交易所全称
  13057. type: string
  13058. goodscode:
  13059. description: 商品代码(内部)
  13060. type: string
  13061. goodsid:
  13062. description: 商品ID
  13063. type: integer
  13064. goodsname:
  13065. description: 商品名称
  13066. type: string
  13067. marketid:
  13068. description: 市场ID
  13069. type: integer
  13070. openfreezemargin:
  13071. description: 冻结保证金(冻结交易金额)
  13072. type: number
  13073. orderid:
  13074. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13075. type: string
  13076. orderlogincode:
  13077. description: 委托人
  13078. type: string
  13079. orderprice:
  13080. description: 委托价格(账户)
  13081. type: number
  13082. orderqty:
  13083. description: 委托数量
  13084. type: integer
  13085. ordertime:
  13086. description: 委托时间
  13087. type: string
  13088. pricemode:
  13089. description: '取价方式 - 1:市价 2: 限价'
  13090. type: integer
  13091. tradedate:
  13092. description: 交易日(yyyyMMdd)
  13093. type: string
  13094. tradeqty:
  13095. description: 成交数量
  13096. type: integer
  13097. type: object
  13098. models.QueryHedgeTradeDetailRsp:
  13099. properties:
  13100. accountid:
  13101. description: 账号ID
  13102. type: integer
  13103. buyorsell:
  13104. description: 方向 - 0:买 1:卖
  13105. type: integer
  13106. channelbuildtype:
  13107. description: 委托单据类型 0:无 1:建仓 2:平仓
  13108. type: integer
  13109. closecharge:
  13110. description: 平仓手续费(账户)
  13111. type: number
  13112. closecharge2:
  13113. description: 平仓手续费(商品)
  13114. type: number
  13115. closepl:
  13116. description: 平仓盈亏(账户)
  13117. type: number
  13118. closepl2:
  13119. description: 平仓盈亏(商品)
  13120. type: number
  13121. closepl3:
  13122. description: 平仓盈亏(账户)(逐笔)
  13123. type: number
  13124. closepl4:
  13125. description: 平仓盈亏(商品)(逐笔)
  13126. type: number
  13127. closetype:
  13128. description: 平仓方式 - 0:无 1:平今 2:平昨
  13129. type: integer
  13130. curexchangerate:
  13131. description: 当前汇率
  13132. type: number
  13133. decimalplace:
  13134. description: 商品报价小数位
  13135. type: integer
  13136. exchangefullname:
  13137. description: 外部交易所全称
  13138. type: string
  13139. goodscode:
  13140. description: 商品代码(内部)
  13141. type: string
  13142. goodsid:
  13143. description: 商品ID
  13144. type: integer
  13145. goodsname:
  13146. description: 商品名称
  13147. type: string
  13148. marketid:
  13149. description: 市场ID
  13150. type: integer
  13151. opencharge:
  13152. description: 建仓手续费(账户)
  13153. type: number
  13154. opencharge2:
  13155. description: 建仓手续费(商品)
  13156. type: number
  13157. orderid:
  13158. description: 委托单号
  13159. type: string
  13160. orderlogincode:
  13161. description: 委托人
  13162. type: string
  13163. tradeamount:
  13164. description: 成交金额(账户)
  13165. type: number
  13166. tradedate:
  13167. description: 交易日(yyyyMMdd)
  13168. type: string
  13169. tradeid:
  13170. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13171. type: string
  13172. tradeprice:
  13173. description: 成交价格
  13174. type: number
  13175. tradeqty:
  13176. description: 成交数量
  13177. type: integer
  13178. tradetime:
  13179. description: 成交时间
  13180. type: string
  13181. tradetype:
  13182. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  13183. type: integer
  13184. type: object
  13185. models.QuotePrimaryMenu:
  13186. properties:
  13187. Index:
  13188. description: 序号
  13189. type: integer
  13190. Key:
  13191. description: 键名
  13192. type: string
  13193. Name:
  13194. description: 菜单名称
  13195. type: string
  13196. SubMenus:
  13197. description: 子菜单
  13198. items:
  13199. $ref: '#/definitions/models.QuoteSecondaryMenu'
  13200. type: array
  13201. SubTitleType:
  13202. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  13203. type: integer
  13204. TradeModes:
  13205. description: 包含市场交易类型
  13206. type: string
  13207. type: object
  13208. models.QuoteSecondaryMenu:
  13209. properties:
  13210. ExExchangeCode:
  13211. description: 外部交易所代码
  13212. type: string
  13213. ExExchangeID:
  13214. description: 外部交易所ID
  13215. type: integer
  13216. GoodsGroupIDs:
  13217. description: 商品组ID列表
  13218. items:
  13219. type: integer
  13220. type: array
  13221. Index:
  13222. description: 序号
  13223. type: integer
  13224. MarketID:
  13225. description: 市场ID
  13226. type: integer
  13227. MenuTitle:
  13228. description: 菜单标题(市场名称或外部交易所名称)
  13229. type: string
  13230. TradeMode:
  13231. description: 交易模式
  13232. type: integer
  13233. type: object
  13234. models.RoleMenu:
  13235. properties:
  13236. hasright:
  13237. description: 是否有权限 0-没有权限 1-有权限
  13238. type: integer
  13239. iconame:
  13240. description: 菜单图标
  13241. type: string
  13242. menutype:
  13243. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  13244. type: integer
  13245. parentcode:
  13246. description: 上级资源代码
  13247. type: string
  13248. remark:
  13249. description: 菜单备注
  13250. type: string
  13251. resourcecode:
  13252. description: 菜单代码
  13253. type: string
  13254. resourcelevel:
  13255. description: 级别
  13256. type: integer
  13257. resourcename:
  13258. description: 菜单名称
  13259. type: string
  13260. roleid:
  13261. description: 角色id
  13262. type: integer
  13263. sort:
  13264. description: 排序
  13265. type: integer
  13266. subMenu:
  13267. description: 子级菜单(结构同上层一样, swag解析不出来)
  13268. items:
  13269. $ref: '#/definitions/models.RoleMenu'
  13270. type: array
  13271. url:
  13272. description: URL
  13273. type: string
  13274. userid:
  13275. description: 用户id
  13276. type: integer
  13277. type: object
  13278. models.SearchGoods:
  13279. properties:
  13280. goodscode:
  13281. description: 商品代码(内部)
  13282. type: string
  13283. goodsid:
  13284. description: 商品ID(自增ID SEQ_GOODS)
  13285. type: integer
  13286. goodsname:
  13287. description: 商品名称
  13288. type: string
  13289. marketid:
  13290. description: 所属市场ID
  13291. type: integer
  13292. marketname:
  13293. description: 市场名称
  13294. type: string
  13295. trademode:
  13296. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  13297. 21:竞拍-大宗式 22:受托竞价
  13298. type: integer
  13299. required:
  13300. - goodscode
  13301. - goodsid
  13302. - goodsname
  13303. - marketid
  13304. - trademode
  13305. type: object
  13306. models.Systemparam:
  13307. properties:
  13308. loginid:
  13309. description: 更新用户账号,登录账号
  13310. type: string
  13311. modifyflag:
  13312. description: 修改标志0 不允许修改 1 允许修改
  13313. type: integer
  13314. paramcode:
  13315. description: 参数代码
  13316. type: string
  13317. paramname:
  13318. description: 参数名
  13319. type: string
  13320. paramtype:
  13321. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  13322. type: integer
  13323. paramvalue:
  13324. description: 参数值
  13325. type: string
  13326. paramvalue2:
  13327. description: 参数值(CLOB)
  13328. type: string
  13329. regexpress:
  13330. description: 正则表达式
  13331. type: string
  13332. remark:
  13333. description: 备注
  13334. type: string
  13335. serverip:
  13336. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  13337. type: string
  13338. showflag:
  13339. description: 是否显示0 不显示 1 显示
  13340. type: integer
  13341. updatetime:
  13342. description: 更新时间
  13343. type: string
  13344. userid:
  13345. description: 更新用户ID
  13346. type: integer
  13347. required:
  13348. - paramcode
  13349. type: object
  13350. models.Szdz3convertconfig:
  13351. properties:
  13352. canin:
  13353. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  13354. type: integer
  13355. canout:
  13356. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  13357. type: integer
  13358. converttype:
  13359. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  13360. 6:交易转花生米(不设置)
  13361. type: integer
  13362. createtime:
  13363. description: 创建时间
  13364. type: string
  13365. creatorid:
  13366. description: 创建人
  13367. type: integer
  13368. daymaxvalue:
  13369. description: 当日最大转入限制
  13370. type: number
  13371. freezedays:
  13372. description: 冻结天数 [5:花生米转交易]
  13373. type: integer
  13374. innergoodsid:
  13375. description: 内部商品ID[交易]
  13376. type: integer
  13377. inratio:
  13378. description: 目标值
  13379. type: integer
  13380. modifierid:
  13381. description: 修改人
  13382. type: integer
  13383. modifytime:
  13384. description: 修改时间
  13385. type: string
  13386. outergoodscode:
  13387. description: 外部商品代码[JD\PD]
  13388. type: string
  13389. outratio:
  13390. description: 源值
  13391. type: integer
  13392. pddecimalplace:
  13393. description: PD小数位
  13394. type: integer
  13395. timemaxvalue:
  13396. description: 单次最大转入限制
  13397. type: number
  13398. timeminvalue:
  13399. description: 单次最小转入限制
  13400. type: number
  13401. required:
  13402. - converttype
  13403. - innergoodsid
  13404. - outergoodscode
  13405. type: object
  13406. models.Szdz3searchwhitelist:
  13407. properties:
  13408. createtime:
  13409. description: 创建时间
  13410. type: string
  13411. creatorid:
  13412. description: 创建人
  13413. type: integer
  13414. modifierid:
  13415. description: 修改人
  13416. type: integer
  13417. modifytime:
  13418. description: 修改时间
  13419. type: string
  13420. userid:
  13421. description: 用户ID
  13422. type: integer
  13423. required:
  13424. - userid
  13425. type: object
  13426. models.TBGoods:
  13427. properties:
  13428. agreeunit:
  13429. description: 合约乘数
  13430. type: number
  13431. enumdicname:
  13432. description: 单位名称
  13433. type: string
  13434. goodscode:
  13435. description: 商品代码(内部)
  13436. type: string
  13437. goodsid:
  13438. description: 商品ID(自增ID SEQ_GOODS)
  13439. type: integer
  13440. goodsname:
  13441. description: 商品名称
  13442. type: string
  13443. type: object
  13444. models.TBGoodsGroup:
  13445. properties:
  13446. GDLST:
  13447. description: 商品列表
  13448. items:
  13449. $ref: '#/definitions/models.TBGoods'
  13450. type: array
  13451. convertratio:
  13452. description: 折算系数
  13453. type: number
  13454. enumdicname:
  13455. description: 单位名称
  13456. type: string
  13457. exexchangecode:
  13458. description: 交易所代码
  13459. type: string
  13460. exexchangename:
  13461. description: 交易所名称
  13462. type: string
  13463. goodsgroupid:
  13464. description: 商品组ID(自增ID)
  13465. type: integer
  13466. goodsgroupname:
  13467. description: 商品组名称
  13468. type: string
  13469. goodunitid:
  13470. description: 报价单位ID
  13471. type: integer
  13472. type: object
  13473. models.TBMiddleGoods:
  13474. properties:
  13475. GPLST:
  13476. description: 期货品种列表
  13477. items:
  13478. $ref: '#/definitions/models.TBGoodsGroup'
  13479. type: array
  13480. WDLST:
  13481. description: 商品信息列表(现货品类)
  13482. items:
  13483. $ref: '#/definitions/models.TBWrstandard'
  13484. type: array
  13485. areauserid:
  13486. description: 机构用户ID
  13487. type: integer
  13488. enumdicname:
  13489. description: 单位名称
  13490. type: string
  13491. goodsunitid:
  13492. description: 套保品种单位id
  13493. type: integer
  13494. middlegoodscode:
  13495. description: 套保品种代码
  13496. type: string
  13497. middlegoodsid:
  13498. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  13499. type: integer
  13500. middlegoodsname:
  13501. description: 套保品种名称
  13502. type: string
  13503. needarbitrageratio:
  13504. description: 套利比率
  13505. type: number
  13506. needhedgeratio:
  13507. description: 套保比率
  13508. type: number
  13509. type: object
  13510. models.TBWrstandard:
  13511. properties:
  13512. convertratio:
  13513. description: 折算系数
  13514. type: number
  13515. deliverygoodsname:
  13516. description: 品种名称
  13517. type: string
  13518. enumdicname:
  13519. description: 单位名称
  13520. type: string
  13521. vatrate:
  13522. description: 增值税率
  13523. type: number
  13524. wrstandardcode:
  13525. description: 现货商品代码
  13526. type: string
  13527. wrstandardid:
  13528. description: 现货商品ID(SEQ_WRSTANDARD)
  13529. type: integer
  13530. wrstandardname:
  13531. description: 现货商品名称
  13532. type: string
  13533. type: object
  13534. models.Taaccount:
  13535. properties:
  13536. accountflag:
  13537. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  13538. type: integer
  13539. accountid:
  13540. description: 资金账户ID
  13541. type: integer
  13542. accountname:
  13543. description: 账户名称
  13544. type: string
  13545. balance:
  13546. description: 期初余额
  13547. type: number
  13548. capitalbalance:
  13549. description: 本金余额[外部子账户实际出入金余额]
  13550. type: number
  13551. changeflag:
  13552. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  13553. type: integer
  13554. changetime:
  13555. description: 账户状态变更时间
  13556. type: string
  13557. closepl:
  13558. description: 今日平仓盈亏
  13559. type: number
  13560. creditdecrease:
  13561. description: 今日授信减少
  13562. type: number
  13563. creditincrease:
  13564. description: 今日授信增加
  13565. type: number
  13566. curamount:
  13567. description: 总市值(从持仓中统计)
  13568. type: number
  13569. currencyid:
  13570. description: 货币ID
  13571. type: integer
  13572. currentbalance:
  13573. description: 期末余额
  13574. type: number
  13575. freezecharge:
  13576. description: 手续费冻结
  13577. type: number
  13578. freezemargin:
  13579. description: 冻结保证金
  13580. type: number
  13581. fromaccountid:
  13582. description: 所属上级账户
  13583. type: integer
  13584. inamount:
  13585. description: 今日入金金额(包括三方入金)
  13586. type: number
  13587. ismain:
  13588. description: 是否母账号 0:不是母账户 1:是母账户
  13589. type: integer
  13590. ismarketaccount:
  13591. description: 是否机构接单账号 0:不是 1:是
  13592. type: integer
  13593. isreckonaccount:
  13594. description: 是否机构分润账号 0:不是 1:是
  13595. type: integer
  13596. mortgagecredit:
  13597. description: 授信金额
  13598. type: number
  13599. orifreezecharge:
  13600. description: 期初手续费冻结
  13601. type: number
  13602. orifreezemargin:
  13603. description: 期初冻结保证金
  13604. type: number
  13605. orimortgagecredit:
  13606. description: 期初授信金额
  13607. type: number
  13608. oriothercredit:
  13609. description: 期初其它授信金额
  13610. type: number
  13611. oriotherfreezemargin:
  13612. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  13613. type: number
  13614. orioutamountfreeze:
  13615. description: 期初出金冻结
  13616. type: number
  13617. oriusedmargin:
  13618. description: 期初占用保证金
  13619. type: number
  13620. othercredit:
  13621. description: 其它授信金额
  13622. type: number
  13623. othercreditdecrease:
  13624. description: 今日其它授信减少
  13625. type: number
  13626. othercreditincrease:
  13627. description: 今日其它授信增加
  13628. type: number
  13629. otherfreezemargin:
  13630. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  13631. type: number
  13632. otherincome:
  13633. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  13634. type: number
  13635. otherpay:
  13636. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  13637. type: number
  13638. outamount:
  13639. description: 今日出金金额(包括三方出金)
  13640. type: number
  13641. outamountfreeze:
  13642. description: 出金冻结
  13643. type: number
  13644. outthreshold:
  13645. description: 出金阈值
  13646. type: number
  13647. parentaccountid:
  13648. description: 所属根账号
  13649. type: integer
  13650. paycharge:
  13651. description: 今日手续费支出
  13652. type: number
  13653. relatedaccountstatus:
  13654. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  13655. type: integer
  13656. relateduserid:
  13657. description: 关联用户
  13658. type: integer
  13659. remainamount:
  13660. description: 融资额(从融资合同中统计)
  13661. type: number
  13662. serivcegroup:
  13663. description: 服务分组
  13664. type: integer
  13665. signstatus:
  13666. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  13667. type: integer
  13668. sublevelpath:
  13669. description: 账号层级路径(逗号分隔,首尾加逗号)
  13670. type: string
  13671. taaccounttype:
  13672. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  13673. type: integer
  13674. thirdinamount:
  13675. description: 今日三方入金
  13676. type: number
  13677. thirdoutamount:
  13678. description: 今日三方出金
  13679. type: number
  13680. tradestatus:
  13681. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  13682. type: integer
  13683. tradestatuschangetime:
  13684. description: 激活时间
  13685. type: string
  13686. transferamount:
  13687. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  13688. type: number
  13689. usedmargin:
  13690. description: 占用保证金
  13691. type: number
  13692. userid:
  13693. description: 用户ID
  13694. type: integer
  13695. required:
  13696. - accountid
  13697. - userid
  13698. type: object
  13699. models.Tablecolumnconfig:
  13700. properties:
  13701. aligntype:
  13702. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  13703. type: integer
  13704. autoid:
  13705. description: AutoID
  13706. type: integer
  13707. columnfield:
  13708. description: 列字段
  13709. type: string
  13710. columntitle:
  13711. description: 列Title
  13712. type: string
  13713. columnwidth:
  13714. description: 列宽
  13715. type: string
  13716. formatterstring:
  13717. description: 格式化字符
  13718. type: string
  13719. formattertype:
  13720. description: 格式化类型
  13721. type: string
  13722. groupname:
  13723. description: 表头分组名称
  13724. type: string
  13725. isshow:
  13726. description: 是否显示 - 0:不显示 1:显示
  13727. type: integer
  13728. needsummary:
  13729. description: 是否需要汇总 - 0:不需要 1:需要
  13730. type: integer
  13731. orderindex:
  13732. description: 顺序
  13733. type: integer
  13734. remark:
  13735. description: 备注
  13736. type: string
  13737. summarytype:
  13738. description: 汇总类型 - 1:加总 2:最后一个
  13739. type: integer
  13740. tablekey:
  13741. description: 列表Key
  13742. type: string
  13743. required:
  13744. - autoid
  13745. type: object
  13746. models.TjmdMarketSection:
  13747. properties:
  13748. marketsectionid:
  13749. description: 市场版块ID(SEQ_MARKETSECTION)
  13750. type: integer
  13751. marketsectionname:
  13752. description: 市场版块名称
  13753. type: string
  13754. mlist:
  13755. description: 市场列表(板块下面有多少个市场)
  13756. items:
  13757. $ref: '#/definitions/models.TjmdMarketSectionConfig'
  13758. type: array
  13759. orderindex:
  13760. description: 排序
  13761. type: integer
  13762. pictureurl:
  13763. description: 图片url, 规格(90*90)
  13764. type: string
  13765. remark:
  13766. description: 备注
  13767. type: string
  13768. type: object
  13769. models.TjmdMarketSectionConfig:
  13770. properties:
  13771. auctionwrtype:
  13772. description: 仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可
  13773. type: integer
  13774. canacceptquote:
  13775. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  13776. type: integer
  13777. cangoodsexercise:
  13778. description: '[期权]是否可现货行权- 0:否 1:是'
  13779. type: integer
  13780. cangoodsexercisetype:
  13781. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  13782. type: integer
  13783. canmanualquotestrike:
  13784. description: 是否可手动报行权价- 0:否 1:是 [期权]
  13785. type: integer
  13786. canmutistage:
  13787. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  13788. type: integer
  13789. canpreexercise:
  13790. description: '[期权]是否可预申报- 0:否 1:是'
  13791. type: integer
  13792. clearinterval:
  13793. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  13794. type: integer
  13795. contracttmp:
  13796. description: 合同模板[荷兰式][竞价式][仓单贸易]
  13797. type: string
  13798. exchareaid:
  13799. description: 所属交易所,可以没有
  13800. type: integer
  13801. financemarketid:
  13802. description: 融资回购市场ID [仓单贸易]
  13803. type: integer
  13804. goodstype:
  13805. description: 商品类型 - 1:交易商品 2:仓单商品
  13806. type: integer
  13807. hasrebate:
  13808. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  13809. type: integer
  13810. hastradecredit:
  13811. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  13812. type: integer
  13813. haswr:
  13814. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  13815. type: integer
  13816. isdeductmargin:
  13817. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  13818. type: integer
  13819. isrecordsource:
  13820. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  13821. type: integer
  13822. isreleasemargin:
  13823. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  13824. type: integer
  13825. isupdatereckonprice:
  13826. description: 输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)
  13827. type: integer
  13828. listingmode:
  13829. description: 挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  13830. type: integer
  13831. marginformula:
  13832. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  13833. type: integer
  13834. marginformula2:
  13835. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  13836. type: integer
  13837. marketid:
  13838. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  13839. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  13840. type: integer
  13841. marketname:
  13842. description: 市场名称
  13843. type: string
  13844. marketsectionid:
  13845. description: 市场版块ID(SEQ_MARKETSECTION)
  13846. type: integer
  13847. marketserviceid:
  13848. description: 市场服务ID
  13849. type: integer
  13850. marketstatus:
  13851. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  13852. type: integer
  13853. markettype:
  13854. description: 市场类型- 1:非交易服务 2:交易服务
  13855. type: integer
  13856. matchermode:
  13857. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废
  13858. type: integer
  13859. nowrquotaflag:
  13860. description: 是否校验无仓单额度(仓单贸易) 0:否 1:是
  13861. type: integer
  13862. openmethod:
  13863. description: 开盘模式 - 0 自动 1手动
  13864. type: integer
  13865. orderindex:
  13866. description: 排序
  13867. type: integer
  13868. otcuserid:
  13869. description: 场外期权做市商[场外期权]
  13870. type: integer
  13871. outersynctime:
  13872. description: 外部同步时间点(h24:mi:ss)[场外期权]
  13873. type: string
  13874. paylaterflag:
  13875. description: 是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]
  13876. type: integer
  13877. pendingflag:
  13878. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  13879. type: integer
  13880. pendingtime:
  13881. description: 待开市时间[通道交易-对冲](HH:mm)
  13882. type: string
  13883. performancetempid:
  13884. description: 履约计划模板ID - 作废
  13885. type: integer
  13886. premiumquotemode:
  13887. description: 权利金报价方式 - 1:自动 2:手动
  13888. type: integer
  13889. rebateratio:
  13890. description: 返利比率[竞价式]
  13891. type: number
  13892. reckonorder:
  13893. description: 结算顺序
  13894. type: integer
  13895. reckonpricealgorithm:
  13896. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  13897. 6.卖一价 7.买一卖一均价 8.外部结算价'
  13898. type: integer
  13899. reckonpriceparam:
  13900. description: 结算价参数
  13901. type: integer
  13902. reckontime:
  13903. description: 结算时间[通道交易-对冲](HH:mm)
  13904. type: string
  13905. roleprioritytype:
  13906. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  13907. type: integer
  13908. selllistingauditflag:
  13909. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  13910. type: integer
  13911. trademarkettype:
  13912. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  13913. type: integer
  13914. trademode:
  13915. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  13916. 21:竞拍-大宗式 22:受托竞价
  13917. type: integer
  13918. tradeproperty:
  13919. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  13920. 8:场外期权
  13921. type: integer
  13922. tradetype:
  13923. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  13924. type: integer
  13925. updatereckonpriceinterval:
  13926. description: 输入结算价时长(分钟) [1:手工输入(自动)]
  13927. type: integer
  13928. type: object
  13929. models.TjmdQuoteGoods:
  13930. properties:
  13931. buyqty:
  13932. description: 买量(暂不做, 无值, 保留字段)
  13933. type: number
  13934. decimalplace:
  13935. description: 报价小数位
  13936. type: integer
  13937. goodscode:
  13938. description: 合约代码
  13939. type: string
  13940. goodsgroupid:
  13941. description: 商品组ID(自增ID)
  13942. type: integer
  13943. goodsgroupname:
  13944. description: 商品组名称
  13945. type: string
  13946. goodsid:
  13947. description: 合约id
  13948. type: integer
  13949. goodsname:
  13950. description: 合约名称
  13951. type: string
  13952. refgoodscode:
  13953. description: 标的合约代码
  13954. type: string
  13955. refgoodsid:
  13956. description: 标的合约id
  13957. type: integer
  13958. refgoodsname:
  13959. description: 标的合约名称
  13960. type: string
  13961. sellqty:
  13962. description: 卖量(暂不做, 无值, 保留字段)
  13963. type: number
  13964. type: object
  13965. models.TjmdTodayAccountMargin:
  13966. properties:
  13967. accountid:
  13968. description: 账号ID
  13969. type: integer
  13970. goodsid:
  13971. description: 商品ID
  13972. type: integer
  13973. infoc:
  13974. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  13975. description: 配置参数
  13976. marketid:
  13977. description: 市场ID
  13978. type: integer
  13979. type: object
  13980. models.TjmdTradeOrderDetail:
  13981. properties:
  13982. buyorsell:
  13983. description: 买卖方向 0-买 1-卖
  13984. type: integer
  13985. goodsid:
  13986. description: 商品id
  13987. type: integer
  13988. marketmaxsub:
  13989. description: 市价最大偏移范围 [浮动价 - 点差]
  13990. type: number
  13991. orderid:
  13992. description: 委托单号
  13993. type: string
  13994. orderprice:
  13995. description: 委托价格
  13996. type: number
  13997. orderqty:
  13998. description: 委托数量
  13999. type: integer
  14000. pricemode:
  14001. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  14002. type: integer
  14003. userid:
  14004. description: 用户id
  14005. type: integer
  14006. username:
  14007. description: 用户名称(已脱敏)
  14008. type: string
  14009. type: object
  14010. models.TjmdTransferApply:
  14011. properties:
  14012. applyid:
  14013. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  14014. type: integer
  14015. applystatus:
  14016. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  14017. type: integer
  14018. applytime:
  14019. description: 申请时间(时间)
  14020. type: string
  14021. auditremark:
  14022. description: 审核备注(拒绝原因?)
  14023. type: string
  14024. begindate:
  14025. description: 开始交易日(yyyymmdd)
  14026. type: string
  14027. buyorsell:
  14028. description: 买卖 - 0:买 1:卖
  14029. type: integer
  14030. enddate:
  14031. description: 结束交易日(yyyymmdd)
  14032. type: string
  14033. goodscode:
  14034. description: 商品代码
  14035. type: string
  14036. goodsid:
  14037. description: 商品ID
  14038. type: integer
  14039. goodsname:
  14040. description: 商品名称
  14041. type: string
  14042. marketid:
  14043. description: 市场ID
  14044. type: integer
  14045. qty:
  14046. description: 转让数量(数量)
  14047. type: number
  14048. tradeid:
  14049. description: 成交单号(关联持仓)
  14050. type: string
  14051. transferamount:
  14052. description: 转让总金额(金额)
  14053. type: number
  14054. transferprice:
  14055. description: 转让价格(协议价格)
  14056. type: number
  14057. type: object
  14058. models.TradeHolderDetail:
  14059. properties:
  14060. accountid:
  14061. description: 账号ID
  14062. type: integer
  14063. agreeunit:
  14064. description: 合约乘数
  14065. type: number
  14066. buyorsell:
  14067. description: 方向 - 0:买 1:卖
  14068. type: integer
  14069. currencyid:
  14070. description: 商品币种id
  14071. type: integer
  14072. currencyname:
  14073. description: 币种名称
  14074. type: string
  14075. decimalplace:
  14076. description: 商品价格小数位
  14077. type: integer
  14078. enumdicname:
  14079. description: 商品单位名称
  14080. type: string
  14081. expirecycle:
  14082. description: 行权周期(天) - 1:滚动行权时填写
  14083. type: integer
  14084. expiredate:
  14085. description: 行权日(yyyyMMdd) - 到期日
  14086. type: string
  14087. expiretype:
  14088. description: 行权日类型 - 1:滚动行权 2:固定日行权
  14089. type: integer
  14090. freezeqty:
  14091. description: 冻结数量
  14092. type: number
  14093. goodscode:
  14094. description: 商品代码
  14095. type: string
  14096. goodsid:
  14097. description: 商品ID
  14098. type: integer
  14099. goodsname:
  14100. description: 商品名称
  14101. type: string
  14102. goodunitid:
  14103. description: 商品单位id
  14104. type: integer
  14105. holderamount:
  14106. description: 持仓金额
  14107. type: number
  14108. holdercredit:
  14109. description: 持仓授信金额
  14110. type: number
  14111. holderdays:
  14112. description: 剩余冻结天数
  14113. type: integer
  14114. holderprice:
  14115. description: 持仓价格
  14116. type: number
  14117. holderqty:
  14118. description: 持仓数量
  14119. type: number
  14120. isconfirmexercise:
  14121. description: 是否确认行权- 0:否 1:是
  14122. type: integer
  14123. ispreexercise:
  14124. description: 是否预申报- 0:否 1:是 2:不可行权
  14125. type: integer
  14126. marketid:
  14127. description: 市场id
  14128. type: integer
  14129. marketname:
  14130. description: 市场名称
  14131. type: string
  14132. openprice:
  14133. description: 建仓价格
  14134. type: number
  14135. openqty:
  14136. description: 建仓数量
  14137. type: number
  14138. optiontype:
  14139. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  14140. type: integer
  14141. preexerciseprice:
  14142. description: 预申报价格
  14143. type: number
  14144. premium:
  14145. description: 权利金
  14146. type: number
  14147. qtydecimalplace:
  14148. description: 商品成交量小数位
  14149. type: integer
  14150. refgoodscode:
  14151. description: 标的合约代码
  14152. type: string
  14153. refgoodsid:
  14154. description: 标的合约id
  14155. type: integer
  14156. releaseamount:
  14157. description: 释放持仓金额
  14158. type: number
  14159. releaseholdercredit:
  14160. description: 释放持仓授信金额
  14161. type: number
  14162. taname:
  14163. description: 资金账号名称
  14164. type: string
  14165. tradeamount:
  14166. description: 成交金额
  14167. type: number
  14168. tradedate:
  14169. description: 交易日(yyyyMMdd)
  14170. type: string
  14171. tradeid:
  14172. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14173. type: string
  14174. trademode:
  14175. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  14176. 21:竞拍-大宗式 22:受托竞价 46:掉期
  14177. type: integer
  14178. tradeproperty:
  14179. description: 交易属性
  14180. type: integer
  14181. tradetime:
  14182. description: 交易时间
  14183. type: string
  14184. userid:
  14185. description: 用户id
  14186. type: integer
  14187. username:
  14188. description: 用户名称
  14189. type: string
  14190. type: object
  14191. models.UserCollectConfig:
  14192. properties:
  14193. accountstatus:
  14194. description: 账户状态 - 1:正常 2:停用 3:注销
  14195. type: integer
  14196. collectaccountname:
  14197. description: 收款人账户名称
  14198. type: string
  14199. collectaccountno:
  14200. description: 收款人账户
  14201. type: string
  14202. collectbankname:
  14203. description: 收款人开户行
  14204. type: string
  14205. collectbranchbankname:
  14206. description: 收款人开户支行
  14207. type: string
  14208. collectconfigid:
  14209. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  14210. type: string
  14211. remark:
  14212. description: 备注
  14213. type: string
  14214. userid:
  14215. description: 收款人用户ID
  14216. type: integer
  14217. type: object
  14218. models.UserReceiveInfo:
  14219. properties:
  14220. address:
  14221. description: 提货人详细地址
  14222. type: string
  14223. autoid:
  14224. description: AutoID
  14225. type: integer
  14226. cardnum:
  14227. description: 证件号码(加密存储)
  14228. type: string
  14229. cardtypeid:
  14230. description: 证件类型
  14231. type: integer
  14232. cityid:
  14233. description: 市
  14234. type: integer
  14235. cityname:
  14236. description: 城市名称
  14237. type: string
  14238. countryid:
  14239. description: 国家
  14240. type: integer
  14241. countryname:
  14242. description: 国家名称
  14243. type: string
  14244. districtid:
  14245. description: 地区
  14246. type: integer
  14247. districtname:
  14248. description: 地区名称
  14249. type: string
  14250. hasencrypt:
  14251. description: 数据是否已加密 - 0:未加密 1:已加密
  14252. type: integer
  14253. isdefault:
  14254. description: 是否默认地址 - 0:否 1:是
  14255. type: integer
  14256. phonenum:
  14257. description: 提货人联系方式(加密存储)
  14258. type: string
  14259. provinceid:
  14260. description: 省
  14261. type: integer
  14262. provincename:
  14263. description: 省名称
  14264. type: string
  14265. receivername:
  14266. description: 提货人姓名
  14267. type: string
  14268. takeremark:
  14269. description: 提货备注
  14270. type: string
  14271. userid:
  14272. description: 用户ID
  14273. type: integer
  14274. type: object
  14275. models.Useraccount:
  14276. properties:
  14277. accountname:
  14278. description: 账户名称(机构名称)
  14279. type: string
  14280. accountstatus:
  14281. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  14282. type: integer
  14283. applysrc:
  14284. description: 申请来源 - 1:管理端 2:终端
  14285. type: integer
  14286. auditremark:
  14287. description: 审核备注
  14288. type: string
  14289. auditsrc:
  14290. description: 审核来源 - 1:管理端 2:终端
  14291. type: integer
  14292. audittime:
  14293. description: 审核时间
  14294. type: string
  14295. audituserid:
  14296. description: 审核人
  14297. type: integer
  14298. broker:
  14299. description: 所属经纪人ID
  14300. type: integer
  14301. canceltime:
  14302. description: 销户时间
  14303. type: string
  14304. canceluserid:
  14305. description: 销户人
  14306. type: integer
  14307. canrecommend:
  14308. description: 是否可推荐 - 0:不可 1;可
  14309. type: integer
  14310. createtime:
  14311. description: 创建时间
  14312. type: string
  14313. creatorid:
  14314. description: 创建人
  14315. type: integer
  14316. hasauth:
  14317. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  14318. type: integer
  14319. isanonymous:
  14320. description: 是否匿名下单 - 0:否 1:是
  14321. type: integer
  14322. maxinvestornum:
  14323. description: 最大用户数(经纪会员下投资者个数)
  14324. type: integer
  14325. memberuserid:
  14326. description: 所属会员ID
  14327. type: integer
  14328. modifierid:
  14329. description: 修改人
  14330. type: integer
  14331. modifyremark:
  14332. description: 变更备注
  14333. type: string
  14334. modifystatus:
  14335. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  14336. type: integer
  14337. modifytime:
  14338. description: 修改时间
  14339. type: string
  14340. parenttopuser:
  14341. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  14342. type: string
  14343. parentuserid:
  14344. description: 所属机构ID
  14345. type: integer
  14346. reckonaccountid:
  14347. description: 默认结算资金账号ID(机构分润使用) 作废
  14348. type: integer
  14349. refercount:
  14350. description: 推荐总人数
  14351. type: integer
  14352. refereeuserid:
  14353. description: 推荐人ID
  14354. type: integer
  14355. refernum:
  14356. description: 推荐码
  14357. type: string
  14358. rootuserid:
  14359. description: 根用户ID
  14360. type: integer
  14361. subaccountlevel:
  14362. description: 子账户层数
  14363. type: integer
  14364. subarealevelpath:
  14365. description: 子机构层级路径(逗号分隔,首尾加逗号)
  14366. type: string
  14367. userid:
  14368. description: 用户ID
  14369. type: integer
  14370. usertype:
  14371. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  14372. type: integer
  14373. required:
  14374. - userid
  14375. type: object
  14376. models.Userfavoritegoods:
  14377. properties:
  14378. goodsid:
  14379. description: 商品ID
  14380. type: integer
  14381. required:
  14382. - goodsid
  14383. type: object
  14384. models.Userinfo:
  14385. properties:
  14386. address:
  14387. description: 地址
  14388. type: string
  14389. attachment1:
  14390. description: 附件1
  14391. type: string
  14392. attachment2:
  14393. description: 附件2
  14394. type: string
  14395. bankaccount:
  14396. description: 银行帐号 (加密存储)
  14397. type: string
  14398. bankaccountname:
  14399. description: 收款人名称
  14400. type: string
  14401. bankcardfrontphotourl:
  14402. description: 银行卡正面照地址
  14403. type: string
  14404. bankid:
  14405. description: 银行编码
  14406. type: string
  14407. bankname:
  14408. description: 银行名称
  14409. type: string
  14410. biznature:
  14411. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  14412. type: integer
  14413. bizscope:
  14414. description: 企业经营范围(企业)
  14415. type: string
  14416. cardbackphotourl:
  14417. description: 证件背面图片地址
  14418. type: string
  14419. cardfrontphotourl:
  14420. description: 证件正面图片地址
  14421. type: string
  14422. cardnum:
  14423. description: 证件号码(加密存储)
  14424. type: string
  14425. cardtypeid:
  14426. description: 证件类型ID
  14427. type: integer
  14428. cityid:
  14429. description: 市
  14430. type: integer
  14431. company:
  14432. description: 公司(个人)
  14433. type: string
  14434. contactname:
  14435. description: 联系人
  14436. type: string
  14437. countryid:
  14438. description: 国家
  14439. type: integer
  14440. createtime:
  14441. description: 创建时间
  14442. type: string
  14443. creatorid:
  14444. description: 创建人
  14445. type: integer
  14446. customername:
  14447. description: 客户名称(企业名称)
  14448. type: string
  14449. districtid:
  14450. description: 地区
  14451. type: integer
  14452. email:
  14453. description: 邮件(加密存储)
  14454. type: string
  14455. fax:
  14456. description: 传真(加密存储)
  14457. type: string
  14458. halfbodyphotourl:
  14459. description: 半身照地址
  14460. type: string
  14461. hasencrypt:
  14462. description: 数据是否已加密 - 0:未加密 1:已加密
  14463. type: integer
  14464. headurl:
  14465. description: 头像地址
  14466. type: string
  14467. legalcardbackphotourl:
  14468. description: 法人身份证背面照地址
  14469. type: string
  14470. legalcardfrontphotourl:
  14471. description: 法人身份证正面照地址
  14472. type: string
  14473. legalpersonname:
  14474. description: 法人姓名(企业)
  14475. type: string
  14476. mobile:
  14477. description: 手机号码(加密存储)
  14478. type: string
  14479. mobile2:
  14480. description: 手机号码[明文-尚志]
  14481. type: string
  14482. modifierid:
  14483. description: 修改人
  14484. type: integer
  14485. modifiertime:
  14486. description: 修改时间
  14487. type: string
  14488. needinvoice:
  14489. description: 是否需要发票 - 0:不需要 1:需要
  14490. type: integer
  14491. nickname:
  14492. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  14493. type: string
  14494. openmode:
  14495. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  14496. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  14497. type: integer
  14498. otherurl:
  14499. description: 其它图片地址[使用分号分隔]
  14500. type: string
  14501. postalcode:
  14502. description: 邮政编码
  14503. type: string
  14504. provinceid:
  14505. description: 省
  14506. type: integer
  14507. qq:
  14508. description: QQ(加密存储
  14509. type: string
  14510. remark:
  14511. description: 备注
  14512. type: string
  14513. sex:
  14514. description: '用户性别 0: 女 1: 男'
  14515. type: integer
  14516. signpdfurl:
  14517. description: 签约pdf文件
  14518. type: string
  14519. telphone:
  14520. description: 联系电话(加密存储)
  14521. type: string
  14522. userid:
  14523. description: 用户ID
  14524. type: integer
  14525. userinfotype:
  14526. description: 用户信息类型 - 1:个人 2:企业
  14527. type: integer
  14528. userstatus:
  14529. description: 用户状态 - 1:正常 2:注销
  14530. type: integer
  14531. usertype:
  14532. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  14533. type: integer
  14534. wechat:
  14535. description: 微信(加密存储)
  14536. type: string
  14537. wskhinfo:
  14538. description: 开户申请信息(JSON)
  14539. type: string
  14540. required:
  14541. - userid
  14542. type: object
  14543. models.WRSConverTDetail:
  14544. properties:
  14545. convertratio:
  14546. description: 套保系数
  14547. type: number
  14548. deliverygoodscode:
  14549. description: 现货商品代码
  14550. type: string
  14551. deliverygoodsid:
  14552. description: 现货品种ID
  14553. type: integer
  14554. deliverygoodsname:
  14555. description: 现货商品名称
  14556. type: string
  14557. enumdicname:
  14558. description: 单位名称
  14559. type: string
  14560. goodsunitid:
  14561. description: 套保品种单位id
  14562. type: integer
  14563. middlegoodscode:
  14564. description: 套保品种代码
  14565. type: string
  14566. middlegoodsid:
  14567. description: 套保品种ID
  14568. type: integer
  14569. middlegoodsname:
  14570. description: 套保品种名称
  14571. type: string
  14572. modifytime:
  14573. description: 修改时间
  14574. type: string
  14575. wrstandardid:
  14576. description: 品类ID
  14577. type: integer
  14578. type: object
  14579. models.WRStandardInfo:
  14580. properties:
  14581. areauserid:
  14582. description: 所属机构
  14583. type: integer
  14584. convertfactor:
  14585. description: 标仓系数
  14586. type: number
  14587. createtime:
  14588. description: 创建时间
  14589. type: string
  14590. creatorid:
  14591. description: 创建人
  14592. type: integer
  14593. deliverygoodsid:
  14594. description: 品种ID
  14595. type: integer
  14596. deliverygoodsname:
  14597. description: 交割商品名称
  14598. type: string
  14599. factoryitemjson:
  14600. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  14601. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  14602. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  14603. 逗号分隔'
  14604. type: string
  14605. isvalid:
  14606. description: 是否有效 - 0:无效 1:有效
  14607. type: integer
  14608. minivalue:
  14609. description: 最小变动值
  14610. type: integer
  14611. minivaluedp:
  14612. description: 最小变动值小数位
  14613. type: integer
  14614. realminivalue:
  14615. description: 实际最小变动值
  14616. type: integer
  14617. realminivaluedp:
  14618. description: 实际最小变动值小数位
  14619. type: integer
  14620. remark:
  14621. description: 备注
  14622. type: string
  14623. unitid:
  14624. description: 单位ID
  14625. type: integer
  14626. unitname:
  14627. description: 单位
  14628. type: string
  14629. updatetime:
  14630. description: 更新时间
  14631. type: string
  14632. updatorid:
  14633. description: 更新人
  14634. type: integer
  14635. wrsstatus:
  14636. description: 状态 - 作废 - 0:未激活 1:正常
  14637. type: integer
  14638. wrstandardcode:
  14639. description: 现货品类代码
  14640. type: string
  14641. wrstandardid:
  14642. description: 现货品类ID(SEQ_WRSTANDARD)
  14643. type: integer
  14644. wrstandardname:
  14645. description: 现货品类名称
  14646. type: string
  14647. required:
  14648. - wrstandardid
  14649. type: object
  14650. models.WRTradeBargainApply:
  14651. properties:
  14652. accountid:
  14653. description: 摘牌资金账号
  14654. type: integer
  14655. applyprice:
  14656. description: 申请价格(议价价格)
  14657. type: string
  14658. applyqty:
  14659. description: 摘牌数量(议价数量)
  14660. type: number
  14661. applyremark:
  14662. description: 申请备注
  14663. type: string
  14664. applystatus:
  14665. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  14666. type: integer
  14667. applytime:
  14668. description: 申请时间(议价时间)
  14669. type: string
  14670. begindate:
  14671. description: 开始交易日(yyyymmdd)
  14672. type: string
  14673. buyorsell:
  14674. description: 买卖(挂牌类型) - 0:买 1:卖
  14675. type: integer
  14676. confirmremark:
  14677. description: 确认备注
  14678. type: string
  14679. confirmtime:
  14680. description: 确认时间
  14681. type: string
  14682. confirmuserid:
  14683. description: 确认人
  14684. type: integer
  14685. deliverygoodscode:
  14686. description: 品种代码
  14687. type: string
  14688. deliverygoodsid:
  14689. description: 品种ID
  14690. type: integer
  14691. deliverygoodsname:
  14692. description: 品种名称
  14693. type: string
  14694. deliverymonth:
  14695. description: 交收月
  14696. type: string
  14697. enddate:
  14698. description: 结束交易日(yyyymmdd)
  14699. type: string
  14700. enumdicname:
  14701. description: 单位名称
  14702. type: string
  14703. fixedprice:
  14704. description: 挂牌价格
  14705. type: number
  14706. handlestatus:
  14707. description: 处理状态
  14708. type: integer
  14709. marginvalue:
  14710. description: 履约保证金比例
  14711. type: number
  14712. marketid:
  14713. description: 市场ID
  14714. type: integer
  14715. matchaccountid:
  14716. description: 挂牌方资金账号
  14717. type: integer
  14718. matchuserid:
  14719. description: 挂牌方用户id
  14720. type: integer
  14721. matchusername:
  14722. description: 挂牌方用户名称(已脱敏)
  14723. type: string
  14724. minivalue:
  14725. description: 现货商品最小变动值
  14726. type: integer
  14727. optioncompare:
  14728. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14729. type: string
  14730. orderqty:
  14731. description: 挂牌数量
  14732. type: integer
  14733. refprice:
  14734. description: 参考价格
  14735. type: string
  14736. retcode:
  14737. description: 委托返回代码
  14738. type: integer
  14739. templatename:
  14740. description: 履约方式(履约模板名称)
  14741. type: string
  14742. tradedate:
  14743. description: 交易日(yyyyMMdd)
  14744. type: string
  14745. userid:
  14746. description: 摘牌人用户ID(议价人ID)
  14747. type: integer
  14748. username:
  14749. description: 议价人名字(已脱敏)
  14750. type: string
  14751. validtime:
  14752. description: 有效期限
  14753. type: string
  14754. warehouseid:
  14755. description: 仓库ID
  14756. type: integer
  14757. warehousename:
  14758. description: 仓库名称
  14759. type: string
  14760. wrbargainid:
  14761. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  14762. type: string
  14763. wrfactortypeid:
  14764. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14765. type: string
  14766. wrfactortypename:
  14767. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14768. type: string
  14769. wrstandardcode:
  14770. description: 现货商品代码
  14771. type: string
  14772. wrstandardid:
  14773. description: 现货商品ID
  14774. type: integer
  14775. wrstandardname:
  14776. description: 商品名称
  14777. type: string
  14778. wrtradeorderid:
  14779. description: 关联委托单ID
  14780. type: string
  14781. wrtypename:
  14782. description: 商品
  14783. type: string
  14784. type: object
  14785. models.Warehouseinfo:
  14786. properties:
  14787. address:
  14788. description: 详细地址
  14789. type: string
  14790. areauserid:
  14791. description: 所属机构
  14792. type: integer
  14793. autoid:
  14794. description: 自增ID
  14795. type: integer
  14796. cityid:
  14797. description: 市
  14798. type: integer
  14799. contactname:
  14800. description: 联系人
  14801. type: string
  14802. contactnum:
  14803. description: 联系电话
  14804. type: string
  14805. countryid:
  14806. description: 国家
  14807. type: integer
  14808. createtime:
  14809. description: 创建时间
  14810. type: string
  14811. districtid:
  14812. description: 区
  14813. type: integer
  14814. hasvideo:
  14815. description: 是否有视频 - 0:无 1:有
  14816. type: integer
  14817. provinceid:
  14818. description: 省
  14819. type: integer
  14820. remark:
  14821. description: 审核备注
  14822. type: string
  14823. videourl:
  14824. description: 视频地址
  14825. type: string
  14826. warehousecode:
  14827. description: 仓库代码
  14828. type: string
  14829. warehousename:
  14830. description: 仓库名称
  14831. type: string
  14832. warehousestatus:
  14833. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  14834. type: integer
  14835. warehousetype:
  14836. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  14837. type: integer
  14838. required:
  14839. - autoid
  14840. - warehousecode
  14841. type: object
  14842. models.WrAverageTradePrice:
  14843. properties:
  14844. averageprice:
  14845. description: 成交均价
  14846. type: number
  14847. tradedate:
  14848. description: 交易日yyyymm
  14849. type: string
  14850. type: object
  14851. models.WrBrandAndYears:
  14852. properties:
  14853. brandlst:
  14854. description: 品牌列表
  14855. items:
  14856. $ref: '#/definitions/models.DgFactoryItem'
  14857. type: array
  14858. yearslst:
  14859. description: 年份列表
  14860. items:
  14861. $ref: '#/definitions/models.DgFactoryItem'
  14862. type: array
  14863. type: object
  14864. models.WrBsGoodsInfo:
  14865. properties:
  14866. buyorsell:
  14867. description: 买卖方向 0-买 1-卖
  14868. type: integer
  14869. goodsid:
  14870. description: 交易合约ID
  14871. type: integer
  14872. lstitem:
  14873. description: 商品信息项
  14874. items:
  14875. $ref: '#/definitions/models.WrTypeItem'
  14876. type: array
  14877. lststep:
  14878. description: 履约规则
  14879. items:
  14880. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  14881. type: array
  14882. type: object
  14883. models.WrBuybackDetail:
  14884. properties:
  14885. buybackamount:
  14886. description: 回购金额
  14887. type: number
  14888. buybackqty:
  14889. description: 回购数量
  14890. type: number
  14891. buybackreleasemargin:
  14892. description: 回购释放保证金
  14893. type: number
  14894. buybacktime:
  14895. description: 回购时间
  14896. type: string
  14897. errordesc:
  14898. description: 错误描述
  14899. type: string
  14900. handlestatus:
  14901. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  14902. type: integer
  14903. relatedwrid:
  14904. description: 关联仓单ID
  14905. type: integer
  14906. scfcontractid:
  14907. description: SCF合同ID
  14908. type: string
  14909. scfwrbuybackid:
  14910. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  14911. type: integer
  14912. tradedate:
  14913. description: 交易日(yyyyMMdd)
  14914. type: string
  14915. type: object
  14916. models.WrClientAdSpaceConfig:
  14917. properties:
  14918. adspaceid:
  14919. description: 广告位ID
  14920. type: integer
  14921. adspacename:
  14922. description: 广告位名称
  14923. type: string
  14924. adspacetype:
  14925. description: 广告位类型 - 1:固定广告位
  14926. type: integer
  14927. areauserid:
  14928. description: 所属机构ID
  14929. type: integer
  14930. createdate:
  14931. description: 创建时间
  14932. type: string
  14933. imagepath:
  14934. description: 图片
  14935. type: string
  14936. modifierid:
  14937. description: 操作人
  14938. type: integer
  14939. recsize:
  14940. description: 推荐尺寸
  14941. type: string
  14942. title:
  14943. description: 标题
  14944. type: string
  14945. updatedate:
  14946. description: 更新时间
  14947. type: string
  14948. urlcontent:
  14949. description: 链接(地址\商品ID\功能菜单Key\appid)
  14950. type: string
  14951. urltype:
  14952. description: 链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序
  14953. type: integer
  14954. type: object
  14955. models.WrDeliveryAvalidHoldLB:
  14956. properties:
  14957. accountid:
  14958. description: 资金账号
  14959. type: integer
  14960. avalidqty:
  14961. description: 数量(可点选数量)
  14962. type: number
  14963. deliverygoodsid:
  14964. description: 品种id
  14965. type: integer
  14966. enumdicname:
  14967. description: 单位名称
  14968. type: string
  14969. goodsid:
  14970. description: x合约商品id
  14971. type: integer
  14972. ladingbillid:
  14973. description: 提单id
  14974. type: string
  14975. pgoodscode:
  14976. description: p商品代码(点价合约)
  14977. type: string
  14978. pgoodsid:
  14979. description: p商品id(点价合约)
  14980. type: integer
  14981. pgoodsname:
  14982. description: p商品名称(点价合约)
  14983. type: string
  14984. pricemove:
  14985. description: 升贴水
  14986. type: number
  14987. subnum:
  14988. description: 提单子id
  14989. type: integer
  14990. userid:
  14991. description: 用户id
  14992. type: integer
  14993. username:
  14994. description: 仓单持有人
  14995. type: string
  14996. warehousecode:
  14997. description: 仓库代码
  14998. type: string
  14999. warehouseid:
  15000. description: 仓库id
  15001. type: integer
  15002. warehousename:
  15003. description: 仓库名称
  15004. type: string
  15005. wrfactortypeid:
  15006. description: 仓单要素id
  15007. type: string
  15008. wrstandardcode:
  15009. description: 品代码
  15010. type: string
  15011. wrstandardid:
  15012. description: 品类d
  15013. type: integer
  15014. wrstandardname:
  15015. description: 品类名称
  15016. type: string
  15017. wrtypename:
  15018. description: 商品
  15019. type: string
  15020. xgoodscode:
  15021. description: x合约代码
  15022. type: string
  15023. xgoodsname:
  15024. description: x合约名称
  15025. type: string
  15026. type: object
  15027. models.WrDeliveryDetail:
  15028. properties:
  15029. accountid:
  15030. description: 账号ID
  15031. type: integer
  15032. averageprice:
  15033. description: 交割均价 = 交割金额 / 交割数量
  15034. type: number
  15035. begindate:
  15036. description: 开始交易日(yyyymmdd)
  15037. type: string
  15038. buyorsell:
  15039. description: 方向 - 0:买 1:卖
  15040. type: integer
  15041. deliveryamount:
  15042. description: 货款金额(X总货款+P总货款)
  15043. type: number
  15044. deliveryid:
  15045. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  15046. type: string
  15047. deliveryorderid:
  15048. description: 申报单号
  15049. type: string
  15050. deliverypricemove:
  15051. description: 升贴水(升贴水总额)
  15052. type: number
  15053. deliveryqty:
  15054. description: 交收数量(点选数量)
  15055. type: number
  15056. deliverystatus:
  15057. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  15058. type: integer
  15059. deliverytime:
  15060. description: 交割时间
  15061. type: string
  15062. deliverytotalamount:
  15063. description: 交收金额
  15064. type: number
  15065. enddate:
  15066. description: 结束交易日(yyyymmdd)
  15067. type: string
  15068. enumdicname:
  15069. description: 单位名称
  15070. type: string
  15071. matchaccountid:
  15072. description: 对手账号ID
  15073. type: integer
  15074. matchusername:
  15075. description: 对手方名称(仓单持有人)
  15076. type: string
  15077. p1goodsremainamount:
  15078. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  15079. type: number
  15080. pdeliverycloseqty:
  15081. description: p合约平仓数量
  15082. type: number
  15083. pdeliveryprice:
  15084. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  15085. type: number
  15086. pgoodscode:
  15087. description: 商品代码
  15088. type: string
  15089. pgoodsid:
  15090. description: p点选合约id
  15091. type: integer
  15092. pgoodsname:
  15093. description: 商品名称
  15094. type: string
  15095. ppricemode:
  15096. description: 点价价格方式 - 1:商品价 2:固定值
  15097. type: integer
  15098. tradedate:
  15099. description: 交易日(yyyymmdd)
  15100. type: string
  15101. userid:
  15102. description: 用户id
  15103. type: integer
  15104. username:
  15105. description: 用户名称
  15106. type: string
  15107. warehousename:
  15108. description: 仓库名称
  15109. type: string
  15110. wrfactortypeid:
  15111. description: 仓单要素类型ID
  15112. type: string
  15113. wrtypename:
  15114. description: 商品
  15115. type: string
  15116. xdeliverycloseqty:
  15117. description: 合约数量
  15118. type: number
  15119. xgoodsamount:
  15120. description: 合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)
  15121. type: number
  15122. xgoodscode:
  15123. description: 商品代码
  15124. type: string
  15125. xgoodsid:
  15126. description: x交易合约ID
  15127. type: integer
  15128. xgoodsname:
  15129. description: 商品名称
  15130. type: string
  15131. type: object
  15132. models.WrDeliveryGoodsSection:
  15133. properties:
  15134. dglst:
  15135. description: 板块商品列表
  15136. items:
  15137. $ref: '#/definitions/models.WrDeliveryGoodsSectionConfig'
  15138. type: array
  15139. imagepath:
  15140. description: 图片地址
  15141. type: string
  15142. orderindex:
  15143. description: 排序
  15144. type: integer
  15145. sectionid:
  15146. description: 版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType
  15147. = 1的版块1 - 云融指数
  15148. type: integer
  15149. sectionname:
  15150. description: 版块名称
  15151. type: string
  15152. sectiontype:
  15153. description: 版块类型 - 1:指数版块 2:普通版块
  15154. type: integer
  15155. type: object
  15156. models.WrDeliveryGoodsSectionConfig:
  15157. properties:
  15158. deliverygoodscode:
  15159. description: 现货商品代码
  15160. type: string
  15161. deliverygoodsid:
  15162. description: 现货品种ID(SEQ_DELIVERYGOODS)
  15163. type: integer
  15164. deliverygoodsname:
  15165. description: 现货商品名称
  15166. type: string
  15167. orderindex:
  15168. description: 排序
  15169. type: integer
  15170. type: object
  15171. models.WrDraftUserInfo:
  15172. properties:
  15173. address:
  15174. description: 地址
  15175. type: string
  15176. attachment1:
  15177. description: 附件1
  15178. type: string
  15179. attachment2:
  15180. description: 附件2
  15181. type: string
  15182. attachment3:
  15183. description: 附件3
  15184. type: string
  15185. attachment4:
  15186. description: 附件4
  15187. type: string
  15188. attachment5:
  15189. description: 附件5
  15190. type: string
  15191. bankaccount:
  15192. description: 银行帐号 (加密存储)
  15193. type: string
  15194. bankaccountname:
  15195. description: 收款人名称
  15196. type: string
  15197. bankcardfrontphotourl:
  15198. description: 银行卡正面照地址
  15199. type: string
  15200. bankid:
  15201. description: 银行编码
  15202. type: string
  15203. bankname:
  15204. description: 银行名称
  15205. type: string
  15206. birthday:
  15207. description: 生日(个人:年月日)
  15208. type: string
  15209. biznature:
  15210. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  15211. type: integer
  15212. bizscope:
  15213. description: 企业经营范围(企业)
  15214. type: string
  15215. biztype:
  15216. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  15217. type: integer
  15218. cardbackphotourl:
  15219. description: 证件背面图片地址
  15220. type: string
  15221. cardfrontphotourl:
  15222. description: 证件正面图片地址
  15223. type: string
  15224. cardnum:
  15225. description: 证件号码(加密存储)
  15226. type: string
  15227. cardtypeid:
  15228. description: 证件类型ID
  15229. type: integer
  15230. cityid:
  15231. description: 市
  15232. type: integer
  15233. company:
  15234. description: 公司(个人)
  15235. type: string
  15236. contactcardbackphotourl:
  15237. description: 联系人证件背面图片地址
  15238. type: string
  15239. contactcardfrontphotourl:
  15240. description: 联系人证件正面图片地址
  15241. type: string
  15242. contactname:
  15243. description: 联系人
  15244. type: string
  15245. countryid:
  15246. description: 国家
  15247. type: integer
  15248. createtime:
  15249. description: 创建时间
  15250. type: string
  15251. creatorid:
  15252. description: 创建人
  15253. type: integer
  15254. creditquota:
  15255. description: 授信额度(金瑞)
  15256. type: number
  15257. customername:
  15258. description: 客户名称(企业名称)
  15259. type: string
  15260. districtid:
  15261. description: 地区
  15262. type: integer
  15263. email:
  15264. description: 邮件(加密存储)
  15265. type: string
  15266. fax:
  15267. description: 传真(加密存储)
  15268. type: string
  15269. halfbodyphotourl:
  15270. description: 半身照地址
  15271. type: string
  15272. hasencrypt:
  15273. description: 数据是否已加密 - 0:未加密 1:已加密
  15274. type: integer
  15275. headurl:
  15276. description: 头像地址
  15277. type: string
  15278. legalcardbackphotourl:
  15279. description: 法人身份证背面照地址
  15280. type: string
  15281. legalcardfrontphotourl:
  15282. description: 法人身份证正面照地址
  15283. type: string
  15284. legalpersonname:
  15285. description: 法人姓名(企业)
  15286. type: string
  15287. mobile:
  15288. description: 手机号码(加密存储)
  15289. type: string
  15290. mobile2:
  15291. description: 手机号码[明文-尚志]
  15292. type: string
  15293. modifierid:
  15294. description: 修改人
  15295. type: integer
  15296. modifiertime:
  15297. description: 修改时间
  15298. type: string
  15299. needinvoice:
  15300. description: 是否需要发票 - 0:不需要 1:需要
  15301. type: integer
  15302. nickname:
  15303. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  15304. type: string
  15305. openmode:
  15306. description: "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  15307. 6:苹果手机端注册 7:PC交易端注册"
  15308. type: integer
  15309. otherurl:
  15310. description: 其它图片地址[使用分号分隔]
  15311. type: string
  15312. postalcode:
  15313. description: 邮政编码
  15314. type: string
  15315. provinceid:
  15316. description: 省
  15317. type: integer
  15318. proxystatementurl:
  15319. description: 授权委托书
  15320. type: string
  15321. qq:
  15322. description: QQ(加密存储
  15323. type: string
  15324. remark:
  15325. description: 备注
  15326. type: string
  15327. sex:
  15328. description: '用户性别 0: 女 1: 男'
  15329. type: integer
  15330. signpdfurl:
  15331. description: 签约pdf文件
  15332. type: string
  15333. taxpayernum:
  15334. description: 纳税人识别号
  15335. type: string
  15336. telphone:
  15337. description: 联系电话(加密存储)
  15338. type: string
  15339. userid:
  15340. description: 用户ID
  15341. type: integer
  15342. userinfotype:
  15343. description: 用户信息类型 - 1:个人 2:企业
  15344. type: integer
  15345. userstatus:
  15346. description: 用户状态 - 1:正常 2:注销
  15347. type: integer
  15348. usertype:
  15349. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者
  15350. type: integer
  15351. wechat:
  15352. description: 微信(加密存储)
  15353. type: string
  15354. wskhinfo:
  15355. description: 开户申请信息(JSON)
  15356. type: string
  15357. type: object
  15358. models.WrFAProductDetail:
  15359. properties:
  15360. accountid:
  15361. description: 资金账号
  15362. type: integer
  15363. areauserid:
  15364. description: 金融机构ID
  15365. type: integer
  15366. financingdays:
  15367. description: 天数(天)
  15368. type: integer
  15369. interestminlen:
  15370. description: 最小起息天数
  15371. type: integer
  15372. interestrate:
  15373. description: 利率
  15374. type: number
  15375. interestratemode:
  15376. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  15377. type: integer
  15378. interestsettlemode:
  15379. description: 结息方式 - 1:按日结息 3:按月结息
  15380. type: integer
  15381. interestsettlevalue:
  15382. description: 结息方式值
  15383. type: integer
  15384. isautoloan:
  15385. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  15386. type: integer
  15387. loantag:
  15388. description: '放款标识: "放款快" 或者为空'
  15389. type: string
  15390. marginratio:
  15391. description: 保证金比率质押率 - [仓单质押]
  15392. type: number
  15393. productdetailid:
  15394. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  15395. type: integer
  15396. productid:
  15397. description: 金融产品ID
  15398. type: integer
  15399. productname:
  15400. description: 产品名称
  15401. type: string
  15402. updatetime:
  15403. description: 更新时间
  15404. type: string
  15405. username:
  15406. description: 融出方
  15407. type: string
  15408. type: object
  15409. models.WrFactorTypeInfo:
  15410. properties:
  15411. deliverygoodscode:
  15412. description: 品种代码
  15413. type: string
  15414. deliverygoodsname:
  15415. description: 品种名称
  15416. type: string
  15417. dgfactoryitemid:
  15418. description: 选择项id
  15419. type: integer
  15420. dgfactoryitemtypeid:
  15421. description: 要素选择项ID (1-仓库 2-品牌)
  15422. type: integer
  15423. dgfactoryitemvalue:
  15424. description: 要素项值
  15425. type: string
  15426. itemtypename:
  15427. description: 要素项名称
  15428. type: string
  15429. optioncompare:
  15430. description: 选择比较串
  15431. type: string
  15432. warehouseid:
  15433. description: 仓库id
  15434. type: integer
  15435. wrfactortypeid:
  15436. description: 仓单要素ID
  15437. type: string
  15438. wrfactortypename:
  15439. description: 要素名称
  15440. type: string
  15441. wrfactortypename2:
  15442. description: 要素名称(不含仓库)
  15443. type: string
  15444. wrstandardcode:
  15445. description: 品类代码
  15446. type: string
  15447. wrstandardid:
  15448. description: 品类id
  15449. type: integer
  15450. wrstandardname:
  15451. description: 品类名称
  15452. type: string
  15453. type: object
  15454. models.WrFilterItem:
  15455. properties:
  15456. itemcode:
  15457. description: 代码
  15458. type: string
  15459. itemid:
  15460. description: 项id
  15461. type: integer
  15462. itemname:
  15463. description: 名称
  15464. type: string
  15465. itemtype:
  15466. description: 类型 1-品种 2-品类(商品) 3-仓库
  15467. type: integer
  15468. type: object
  15469. models.WrFinanceBuyApply:
  15470. properties:
  15471. applydate:
  15472. description: 申请时间
  15473. type: string
  15474. applystatus:
  15475. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  15476. type: integer
  15477. applyuserid:
  15478. description: 申请人
  15479. type: integer
  15480. auditdate:
  15481. description: 审核时间
  15482. type: string
  15483. auditremark:
  15484. description: 审核备注
  15485. type: string
  15486. audituserid:
  15487. description: 审核人
  15488. type: integer
  15489. buyaccountid:
  15490. description: 买方资金账号
  15491. type: integer
  15492. buyorsell:
  15493. description: 买卖 - 0:买 1:卖
  15494. type: integer
  15495. buyuserid:
  15496. description: 买方用户ID
  15497. type: integer
  15498. buyusername:
  15499. description: 买方名称
  15500. type: string
  15501. buywrtradeorderid:
  15502. description: 融资方买委托单ID
  15503. type: string
  15504. deliverygoodscode:
  15505. description: 品种代码
  15506. type: string
  15507. deliverygoodsid:
  15508. description: 品种ID
  15509. type: integer
  15510. deliverygoodsname:
  15511. description: 品种名称
  15512. type: string
  15513. deliverymonth:
  15514. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  15515. type: string
  15516. enumdicname:
  15517. description: 单位名称
  15518. type: string
  15519. financeaccountid:
  15520. description: 融资方资金帐户ID
  15521. type: integer
  15522. financeapplyid:
  15523. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15524. type: string
  15525. financeareauserid:
  15526. description: 融资方用户ID
  15527. type: string
  15528. financename:
  15529. description: 融出方名称
  15530. type: string
  15531. financetype:
  15532. description: 融资类型 1-融资回购
  15533. type: integer
  15534. financingdays:
  15535. description: 天数(天)
  15536. type: integer
  15537. freezebuymargin:
  15538. description: 冻结融资保证金(买方)
  15539. type: number
  15540. handleremark:
  15541. description: 处理备注
  15542. type: string
  15543. handlestatus:
  15544. description: 处理状态
  15545. type: integer
  15546. interestminlen:
  15547. description: 最小起息天数
  15548. type: integer
  15549. interestrate:
  15550. description: 利率
  15551. type: number
  15552. interestratemode:
  15553. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  15554. type: integer
  15555. interestsettlemode:
  15556. description: 结息方式 - 1:按日结息 3:按月结息
  15557. type: integer
  15558. interestsettlevalue:
  15559. description: 结息方式值
  15560. type: integer
  15561. isautoloan:
  15562. description: 是否自动放款 - 0:手动 1:自动
  15563. type: integer
  15564. marginratio:
  15565. description: 保证金比率质押率 - [仓单质押]
  15566. type: number
  15567. marketid:
  15568. description: 市场ID
  15569. type: integer
  15570. minivalue:
  15571. description: 现货商品最小变动值
  15572. type: integer
  15573. optioncompare:
  15574. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15575. type: string
  15576. orderqty:
  15577. description: 委托数量(商品数量)
  15578. type: number
  15579. productdetailid:
  15580. description: 产品组合ID
  15581. type: integer
  15582. productid:
  15583. description: 金融产品ID
  15584. type: integer
  15585. productname:
  15586. description: 产品名称
  15587. type: string
  15588. remark:
  15589. description: 备注
  15590. type: string
  15591. scfcontractid:
  15592. description: 仓单回购合同ID
  15593. type: string
  15594. sellaccountid:
  15595. description: 卖方资金账号
  15596. type: integer
  15597. selluserid:
  15598. description: 卖方用户ID
  15599. type: integer
  15600. sellwrtradeorderid:
  15601. description: 卖方委托单ID
  15602. type: string
  15603. tradeamount:
  15604. description: 成交金额(借款金额)
  15605. type: number
  15606. tradedate:
  15607. description: 交易日(yyyyMMdd)
  15608. type: string
  15609. tradeprice:
  15610. description: 成交价格
  15611. type: number
  15612. warehouseid:
  15613. description: 仓库ID
  15614. type: integer
  15615. warehousename:
  15616. description: 仓库名称
  15617. type: string
  15618. wrfactortypeid:
  15619. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15620. type: string
  15621. wrfactortypename:
  15622. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15623. type: string
  15624. wrpricetype:
  15625. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  15626. type: integer
  15627. wrstandardcode:
  15628. description: 现货商品代码
  15629. type: string
  15630. wrstandardid:
  15631. description: 现货商品ID
  15632. type: integer
  15633. wrstandardname:
  15634. description: 商品名称
  15635. type: string
  15636. wrtypename:
  15637. description: 商品
  15638. type: string
  15639. type: object
  15640. models.WrFriendApply:
  15641. properties:
  15642. applicantid:
  15643. description: 申请人
  15644. type: integer
  15645. applyname:
  15646. description: 申请人名称
  15647. type: string
  15648. applysrc:
  15649. description: 申请来源 - 1:管理端 2:终端
  15650. type: integer
  15651. applystatus:
  15652. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  15653. type: integer
  15654. applytime:
  15655. description: 申请时间
  15656. type: string
  15657. auditname:
  15658. description: 审核人名称
  15659. type: string
  15660. auditorid:
  15661. description: 审核人
  15662. type: integer
  15663. auditremark:
  15664. description: 审核备注
  15665. type: string
  15666. auditsrc:
  15667. description: 审核来源 - 1:管理端 2:终端
  15668. type: integer
  15669. audittime:
  15670. description: 审核时间
  15671. type: string
  15672. friendapplyid:
  15673. description: 申请ID(SEQ_FRIENDAPPLY)
  15674. type: string
  15675. friendname:
  15676. description: 好友名字(已脱敏)
  15677. type: string
  15678. frienduserid:
  15679. description: 好友用户ID
  15680. type: string
  15681. remark:
  15682. description: 备注
  15683. type: string
  15684. userid:
  15685. description: 申请人用户ID
  15686. type: integer
  15687. type: object
  15688. models.WrFtDeliveryGoods:
  15689. properties:
  15690. deliverygoodscode:
  15691. description: 品种代码
  15692. type: string
  15693. deliverygoodsid:
  15694. description: 品种ID
  15695. type: integer
  15696. deliverygoodsname:
  15697. description: 品种名称
  15698. type: string
  15699. wdlst:
  15700. description: 商品列表
  15701. items:
  15702. $ref: '#/definitions/models.WrFtWrstandard'
  15703. type: array
  15704. type: object
  15705. models.WrFtWrstandard:
  15706. properties:
  15707. enumdicname:
  15708. description: 单位名称
  15709. type: string
  15710. minivalue:
  15711. description: 最小变动值
  15712. type: integer
  15713. wrstandardcode:
  15714. description: 现货商品代码
  15715. type: string
  15716. wrstandardid:
  15717. description: 现货商品ID
  15718. type: integer
  15719. wrstandardname:
  15720. description: 商品名称
  15721. type: string
  15722. type: object
  15723. models.WrGoodsInfo:
  15724. properties:
  15725. haswr:
  15726. description: 0:仓单预售 1:仓单贸易
  15727. type: integer
  15728. lstitem:
  15729. description: 商品信息项
  15730. items:
  15731. $ref: '#/definitions/models.WrTypeItem'
  15732. type: array
  15733. lststep:
  15734. description: 履约规则
  15735. items:
  15736. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  15737. type: array
  15738. marketid:
  15739. description: 市场id
  15740. type: integer
  15741. type: object
  15742. models.WrGoodsPerformanceStep:
  15743. properties:
  15744. autoid:
  15745. description: AutoID
  15746. type: integer
  15747. isauto:
  15748. description: 是否自动 - 0:不自动 1:自动
  15749. type: integer
  15750. remark:
  15751. description: 备注
  15752. type: string
  15753. stepdate:
  15754. description: 天数信息(T+N)
  15755. type: string
  15756. stepdays:
  15757. description: 距离上一步天数
  15758. type: integer
  15759. stepindex:
  15760. description: 步骤序号
  15761. type: integer
  15762. stepinfo:
  15763. description: 步骤信息(步骤名称+步骤值)
  15764. type: string
  15765. steptypeid:
  15766. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  15767. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  15768. type: integer
  15769. steptypename:
  15770. description: 步骤名称
  15771. type: string
  15772. stepvalue:
  15773. description: 步骤值
  15774. type: number
  15775. templateid:
  15776. description: 履约计划模板ID
  15777. type: integer
  15778. type: object
  15779. models.WrHoldLB:
  15780. properties:
  15781. accountid:
  15782. description: 持有人帐户ID
  15783. type: integer
  15784. bannerpicurl:
  15785. description: Banner图
  15786. type: string
  15787. createtime:
  15788. description: 创建时间(过户时间)
  15789. type: string
  15790. deliverygoodscode:
  15791. description: 品种代码
  15792. type: string
  15793. deliverygoodsid:
  15794. description: 品种ID
  15795. type: integer
  15796. deliverygoodsname:
  15797. description: 品种名称
  15798. type: string
  15799. enableqty:
  15800. description: 可用数量
  15801. type: number
  15802. enumdicname:
  15803. description: 单位名称
  15804. type: string
  15805. freezerqty:
  15806. description: 冻结数量
  15807. type: number
  15808. ladingbillid:
  15809. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  15810. type: string
  15811. minivalue:
  15812. description: 现货商品最小变动值
  15813. type: integer
  15814. optioncompare:
  15815. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15816. type: string
  15817. parentsubnum:
  15818. description: 拆分父子单号
  15819. type: integer
  15820. pledgeqty:
  15821. description: 质押数量
  15822. type: number
  15823. qty:
  15824. description: 数量
  15825. type: number
  15826. subnum:
  15827. description: 提单子单号
  15828. type: integer
  15829. tradedate:
  15830. description: 交易日(yyyyMMdd)
  15831. type: string
  15832. userid:
  15833. description: 持有人ID
  15834. type: integer
  15835. warehouseid:
  15836. description: 仓库ID
  15837. type: integer
  15838. warehousename:
  15839. description: 仓库名称
  15840. type: string
  15841. wrfactortypeid:
  15842. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15843. type: string
  15844. wrfactortypename:
  15845. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15846. type: string
  15847. wrholdeno:
  15848. description: 仓单编号
  15849. type: string
  15850. wrid:
  15851. description: 仓单变更ID
  15852. type: string
  15853. wrstandardcode:
  15854. description: 现货商品代码
  15855. type: string
  15856. wrstandardid:
  15857. description: 现货商品ID
  15858. type: integer
  15859. wrstandardname:
  15860. description: 商品名称
  15861. type: string
  15862. wrtypename:
  15863. description: 商品
  15864. type: string
  15865. type: object
  15866. models.WrMarketTradeConfig:
  15867. properties:
  15868. basisdownratio:
  15869. description: 浮动价基差下限比例(仓单贸易)
  15870. type: number
  15871. basisupratio:
  15872. description: 浮动价基差上限比例(仓单贸易)
  15873. type: number
  15874. buychargealgorithm:
  15875. description: 买方手续费收取方式 1:比率 2:固定
  15876. type: integer
  15877. buychargealgorithm2:
  15878. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  15879. type: integer
  15880. buychargealgorithmvalue:
  15881. description: 买方手续费设置值(交易所部分)
  15882. type: number
  15883. buychargealgorithmvalue2:
  15884. description: 买方手续费设置值(会员部分)
  15885. type: number
  15886. buychargealgorithmvalue3:
  15887. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  15888. type: number
  15889. buychargealgorithmvalue4:
  15890. description: 回购买方手续费设置值(会员部分) --77:现货商城
  15891. type: number
  15892. buyfirstmarginalgorithm:
  15893. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  15894. type: integer
  15895. buyfirstmarginvalue:
  15896. description: 买方出价保证金设置值 - [竞拍]
  15897. type: number
  15898. buymarginalgorithm:
  15899. description: 买方保证金方式 - 1:比率 2:固定
  15900. type: integer
  15901. buymarginvalue:
  15902. description: 买方保证金设置值
  15903. type: number
  15904. buyreleaseratio:
  15905. description: 买方释放比率[2:分步履约]
  15906. type: number
  15907. executemode:
  15908. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  15909. type: integer
  15910. executeside:
  15911. description: 执行方[2:分步履约] - 1:买方 2:卖方
  15912. type: integer
  15913. failedchargealgorithm:
  15914. description: 流拍手续费收取方式 1:比率 2:固定
  15915. type: integer
  15916. failedchargevalue:
  15917. description: 流拍手续费设置值
  15918. type: number
  15919. failedchargevalue2:
  15920. description: 流拍卖方手续费设置值
  15921. type: number
  15922. holddays:
  15923. description: 合同期限[2:分步履约]
  15924. type: integer
  15925. marketid:
  15926. description: 市场ID-仓单贸易、竞拍、预售
  15927. type: integer
  15928. minqty:
  15929. description: 最小执行量[2:分步履约]
  15930. type: number
  15931. modifierid:
  15932. description: 修改人
  15933. type: integer
  15934. performancetempid:
  15935. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  15936. 立即执行(-1)
  15937. type: integer
  15938. performancetempid2:
  15939. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  15940. 立即执行
  15941. type: integer
  15942. performancetempid2s:
  15943. description: 履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  15944. - 履约方式: 立即执行
  15945. type: string
  15946. performancetempids:
  15947. description: 履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  15948. - 履约方式: 立即执行(-1)
  15949. type: string
  15950. performanceway:
  15951. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  15952. type: integer
  15953. sellchargealgorithm:
  15954. description: 卖方手续费收取方式 1:比率 2:固定
  15955. type: integer
  15956. sellchargealgorithm2:
  15957. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  15958. type: integer
  15959. sellchargealgorithmvalue:
  15960. description: 卖方手续费设置值(交易所部分)
  15961. type: number
  15962. sellchargealgorithmvalue2:
  15963. description: 卖方手续费设置值(会员部分)
  15964. type: number
  15965. sellchargealgorithmvalue3:
  15966. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  15967. type: number
  15968. sellchargealgorithmvalue4:
  15969. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  15970. type: number
  15971. sellmarginalgorithm:
  15972. description: 卖方保证金方式 - 1:比率 2:固定
  15973. type: integer
  15974. sellmarginvalue:
  15975. description: 卖方保证金设置值
  15976. type: number
  15977. sellmarginvalue2:
  15978. description: 卖方保证金设置值(无仓单)
  15979. type: number
  15980. sellreleaseratio:
  15981. description: 卖方释放比率[2:分步履约]
  15982. type: number
  15983. updatetime:
  15984. description: 更新时间
  15985. type: string
  15986. type: object
  15987. models.WrOrderDetail:
  15988. properties:
  15989. accountid:
  15990. description: 交易账号(资金账号)
  15991. type: integer
  15992. allfriendsflag:
  15993. description: 是否全好友可见 - 0:否 1:是
  15994. type: integer
  15995. amount:
  15996. description: 挂牌金额 = 委托数量 * 固定价或升贴水
  15997. type: number
  15998. bannerpicurl:
  15999. description: Banner图
  16000. type: string
  16001. begindate:
  16002. description: 开始交易日(yyyymmdd)
  16003. type: string
  16004. buyorsell:
  16005. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  16006. type: integer
  16007. canbargain:
  16008. description: 是否可议价 - 0:不可 1:可
  16009. type: integer
  16010. cancelqty:
  16011. description: 撤销数量
  16012. type: number
  16013. canpart:
  16014. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  16015. type: integer
  16016. delistminqty:
  16017. description: 起摘数量
  16018. type: integer
  16019. deliverygoodscode:
  16020. description: 品种代码
  16021. type: string
  16022. deliverygoodsid:
  16023. description: 品种ID
  16024. type: integer
  16025. deliverygoodsname:
  16026. description: 品种名称
  16027. type: string
  16028. deliverymonth:
  16029. description: 交收月
  16030. type: string
  16031. enddate:
  16032. description: 结束交易日(yyyymmdd)
  16033. type: string
  16034. enumdicname:
  16035. description: 单位名称
  16036. type: string
  16037. fixedprice:
  16038. description: 固定价格 - [挂牌]
  16039. type: number
  16040. freezecharge:
  16041. description: 冻结手续费
  16042. type: number
  16043. freezemargin:
  16044. description: 冻结保证金(保证金)
  16045. type: number
  16046. futupricemove:
  16047. description: 期货升贴水
  16048. type: number
  16049. futushow:
  16050. description: 期货合约/升贴水
  16051. type: string
  16052. goodscode:
  16053. description: 期货合约
  16054. type: string
  16055. goodsid:
  16056. description: 期货商品id
  16057. type: integer
  16058. goodsname:
  16059. description: 商品名称
  16060. type: string
  16061. haswr:
  16062. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16063. type: integer
  16064. isspecified:
  16065. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  16066. type: integer
  16067. ladingbillid:
  16068. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  16069. type: string
  16070. marginvalue:
  16071. description: 保证金设置值(履约保证金)
  16072. type: number
  16073. marketid:
  16074. description: 市场ID
  16075. type: integer
  16076. matchusername:
  16077. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  16078. type: string
  16079. minivalue:
  16080. description: 现货商品最小变动值
  16081. type: integer
  16082. optioncompare:
  16083. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16084. type: string
  16085. orderqty:
  16086. description: 委托数量
  16087. type: number
  16088. ordertime:
  16089. description: 委托时间(挂牌时间)
  16090. type: string
  16091. performancetemplateid:
  16092. description: 履约模板id
  16093. type: integer
  16094. pricemove:
  16095. description: 升贴水(浮动价时填写) - [挂牌]
  16096. type: number
  16097. taname:
  16098. description: 交易用户名称(资金账号名称)
  16099. type: string
  16100. tradedate:
  16101. description: 交易日(yyyyMMdd)
  16102. type: string
  16103. tradeprice:
  16104. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  16105. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  16106. type: number
  16107. tradeqty:
  16108. description: 成交数量
  16109. type: number
  16110. userid:
  16111. description: 用户ID
  16112. type: integer
  16113. validtime:
  16114. description: 挂牌有效期
  16115. type: string
  16116. validtype:
  16117. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  16118. type: integer
  16119. warehouseid:
  16120. description: 仓库ID
  16121. type: integer
  16122. warehousename:
  16123. description: 仓库名称
  16124. type: string
  16125. wrfactortypeid:
  16126. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16127. type: string
  16128. wrfactortypename:
  16129. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16130. type: string
  16131. wrpricetype:
  16132. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  16133. type: integer
  16134. wrstandardcode:
  16135. description: 现货商品代码
  16136. type: string
  16137. wrstandardid:
  16138. description: 现货商品ID
  16139. type: integer
  16140. wrstandardname:
  16141. description: 商品名称
  16142. type: string
  16143. wrtradeorderid:
  16144. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16145. type: string
  16146. wrtradeorderstatus:
  16147. 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:撤单解冻贷款失败
  16148. type: integer
  16149. wrtradetype:
  16150. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  16151. type: integer
  16152. wrtypename:
  16153. description: 商品
  16154. type: string
  16155. type: object
  16156. models.WrOrderQuote:
  16157. properties:
  16158. bannerpicurl:
  16159. description: Banner图
  16160. type: string
  16161. buyprice:
  16162. description: 买价
  16163. type: number
  16164. buypricemove:
  16165. description: 买升贴水(基差)
  16166. type: number
  16167. buyqty:
  16168. description: 买量
  16169. type: number
  16170. deliverygoodscode:
  16171. description: 品种代码
  16172. type: string
  16173. deliverygoodsid:
  16174. description: 品种id
  16175. type: integer
  16176. deliverygoodsname:
  16177. description: 品种名称
  16178. type: string
  16179. deliverymonth:
  16180. description: 交收月
  16181. type: string
  16182. enumdicname:
  16183. description: 单位名称
  16184. type: string
  16185. goodscode:
  16186. description: 商品合约(浮动价列表才有)
  16187. type: string
  16188. goodsid:
  16189. description: 商品id(浮动价列表才有)
  16190. type: integer
  16191. minivalue:
  16192. description: 现货商品最小变动值
  16193. type: integer
  16194. pictureurls:
  16195. description: 详情图片(逗号分隔)
  16196. type: string
  16197. sellprice:
  16198. description: 卖价
  16199. type: number
  16200. sellpricemove:
  16201. description: 卖升贴水(基差)
  16202. type: number
  16203. sellqty:
  16204. description: 卖量
  16205. type: number
  16206. thumurls:
  16207. description: 缩略图片(1:1)(逗号分隔)
  16208. type: string
  16209. warehousecode:
  16210. description: 仓库代码
  16211. type: string
  16212. warehouseid:
  16213. description: 仓库id
  16214. type: integer
  16215. warehousename:
  16216. description: 仓库名称
  16217. type: string
  16218. wrfactortypeid:
  16219. description: 仓单要素id
  16220. type: string
  16221. wrfactortypename:
  16222. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16223. type: string
  16224. wrgoodsname:
  16225. description: 商品(商品名称+仓库要素名称 拼接)
  16226. type: string
  16227. wrstandardcode:
  16228. description: 商品代码
  16229. type: string
  16230. wrstandardid:
  16231. description: 商品id
  16232. type: integer
  16233. wrstandardname:
  16234. description: 商品名称
  16235. type: string
  16236. type: object
  16237. models.WrOrderQuoteDetail:
  16238. properties:
  16239. buyorsell:
  16240. description: 买卖 - 0:买 1:卖
  16241. type: integer
  16242. delistminqty:
  16243. description: 起摘数量
  16244. type: number
  16245. deliverymonth:
  16246. description: 交收月
  16247. type: string
  16248. enumdicname:
  16249. description: 单位名称
  16250. type: string
  16251. fixedprice:
  16252. description: 买(卖)价
  16253. type: number
  16254. marketid:
  16255. description: 市场id
  16256. type: integer
  16257. minivalue:
  16258. description: 现货商品最小变动值
  16259. type: integer
  16260. orderqty:
  16261. description: 买(卖)量(=委托量-成交量)
  16262. type: number
  16263. ordertime:
  16264. description: 委托时间
  16265. type: string
  16266. pricemove:
  16267. description: 买(卖)升贴水- 基差
  16268. type: number
  16269. userid:
  16270. description: 购买方(销售方)用户ID
  16271. type: integer
  16272. username:
  16273. description: 购买方(销售方)
  16274. type: string
  16275. wrtradeorderid:
  16276. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16277. type: string
  16278. type: object
  16279. models.WrOutInApply:
  16280. properties:
  16281. applyid:
  16282. description: 申请单id
  16283. type: string
  16284. applystatus:
  16285. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败
  16286. 8:已撤销
  16287. type: integer
  16288. applytime:
  16289. description: 申请时间
  16290. type: string
  16291. applytype:
  16292. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  16293. type: integer
  16294. bannerpicurl:
  16295. description: Banner图
  16296. type: string
  16297. begindate:
  16298. description: 开始交易日(yyyymmdd)
  16299. type: string
  16300. deliverygoodscode:
  16301. description: 品种代码
  16302. type: string
  16303. deliverygoodsid:
  16304. description: 品种ID
  16305. type: integer
  16306. deliverygoodsname:
  16307. description: 品种名称
  16308. type: string
  16309. enddate:
  16310. description: 结束交易日(yyyymmdd)
  16311. type: string
  16312. enumdicname:
  16313. description: 单位名称
  16314. type: string
  16315. expresscompany:
  16316. description: 物流公司
  16317. type: string
  16318. expressnum:
  16319. description: 物流单号
  16320. type: string
  16321. minivalue:
  16322. description: 现货商品最小变动值
  16323. type: integer
  16324. optioncompare:
  16325. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16326. type: string
  16327. qty:
  16328. description: 数量
  16329. type: integer
  16330. userid:
  16331. description: 用户id
  16332. type: integer
  16333. warehouseid:
  16334. description: 仓库ID
  16335. type: integer
  16336. warehousename:
  16337. description: 仓库名称
  16338. type: string
  16339. wrfactortypeid:
  16340. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16341. type: string
  16342. wrfactortypename:
  16343. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16344. type: string
  16345. wrstandardcode:
  16346. description: 现货商品代码
  16347. type: string
  16348. wrstandardid:
  16349. description: 现货商品ID
  16350. type: integer
  16351. wrstandardname:
  16352. description: 商品名称
  16353. type: string
  16354. wrtypename:
  16355. description: 商品
  16356. type: string
  16357. type: object
  16358. models.WrPerformancePlan:
  16359. properties:
  16360. activatemonth:
  16361. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  16362. type: string
  16363. amount:
  16364. description: 履约金额(总金额)
  16365. type: number
  16366. begindate:
  16367. description: 开始交易日(yyyymmdd)
  16368. type: string
  16369. buyaccountid:
  16370. description: 买方账号
  16371. type: integer
  16372. buyerfreezeamount:
  16373. description: 履约冻结(买履约)
  16374. type: number
  16375. buyerfreezeamountremain:
  16376. description: 履约冻结剩余(买履约)
  16377. type: number
  16378. buyorsell:
  16379. description: 买卖方向 0-买 1-卖
  16380. type: integer
  16381. buypaidamount:
  16382. description: 买方已冻/已扣金额 (已付金额)
  16383. type: number
  16384. buyusername:
  16385. description: 买方名字
  16386. type: string
  16387. contractid:
  16388. description: 合同ID
  16389. type: integer
  16390. createtime:
  16391. description: 创建时间
  16392. type: string
  16393. creatorid:
  16394. description: 创建人
  16395. type: integer
  16396. curstepdeadline:
  16397. description: 当前步骤到期时间
  16398. type: string
  16399. curstepid:
  16400. description: 当前步骤ID
  16401. type: string
  16402. curstepname:
  16403. description: 当前步骤名称
  16404. type: string
  16405. deliverygoodscode:
  16406. description: 品种代码
  16407. type: string
  16408. deliverygoodsid:
  16409. description: 品种ID
  16410. type: integer
  16411. deliverygoodsname:
  16412. description: 品种名称
  16413. type: string
  16414. enddate:
  16415. description: 结束交易日(yyyymmdd)
  16416. type: string
  16417. enumdicname:
  16418. description: 单位名称
  16419. type: string
  16420. expressfee:
  16421. description: 运费
  16422. type: number
  16423. expressfeeconfirmed:
  16424. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  16425. type: integer
  16426. hasovershort:
  16427. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  16428. type: integer
  16429. haswr:
  16430. description: 类型 0-仓单预售 1-仓单贸易
  16431. type: integer
  16432. marketid:
  16433. description: 市场ID
  16434. type: integer
  16435. middleaccountid:
  16436. description: 中间商资金账号ID
  16437. type: integer
  16438. middleuserid:
  16439. description: 中间商用户ID
  16440. type: integer
  16441. minivalue:
  16442. description: 现货商品最小变动值
  16443. type: integer
  16444. optioncompare:
  16445. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16446. type: string
  16447. overshortamount:
  16448. description: 溢短金额
  16449. type: number
  16450. overshortqty:
  16451. description: 溢短数量
  16452. type: number
  16453. paymenttype:
  16454. description: 付款方式 - 1:冻结 2:扣款
  16455. type: integer
  16456. performanceplanid:
  16457. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  16458. type: string
  16459. performancestatus:
  16460. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  16461. 9:超时待处理 10:超时关闭
  16462. type: integer
  16463. performancetype:
  16464. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  16465. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  16466. type: integer
  16467. qty:
  16468. description: 履约数量
  16469. type: number
  16470. relatedorderid:
  16471. description: 关联单号(履约类型的关联单号)
  16472. type: string
  16473. remark:
  16474. description: 备注
  16475. type: string
  16476. sellaccountid:
  16477. description: 卖方账号
  16478. type: integer
  16479. sellerfreezeamount:
  16480. description: 履约冻结(卖履约)
  16481. type: number
  16482. sellerfreezeamountremain:
  16483. description: 履约冻结剩余(卖履约)
  16484. type: number
  16485. sellreceivedamount:
  16486. description: 卖方已收金额
  16487. type: number
  16488. sellusername:
  16489. description: 卖方名字
  16490. type: string
  16491. shipremark:
  16492. description: 发货备注[物流单号]
  16493. type: string
  16494. starttime:
  16495. description: 开始时间
  16496. type: string
  16497. steptypeid:
  16498. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  16499. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  16500. type: integer
  16501. typename:
  16502. description: 履约类型 名称
  16503. type: string
  16504. unpaidamount:
  16505. description: 剩余款(待支付金额)
  16506. type: number
  16507. userid:
  16508. description: 用户id
  16509. type: integer
  16510. warehouseid:
  16511. description: 仓库ID
  16512. type: integer
  16513. warehousename:
  16514. description: 仓库名称
  16515. type: string
  16516. wrfactortypeid:
  16517. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16518. type: string
  16519. wrfactortypename:
  16520. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16521. type: string
  16522. wrstandardcode:
  16523. description: 现货商品代码
  16524. type: string
  16525. wrstandardid:
  16526. description: 现货商品ID
  16527. type: integer
  16528. wrstandardname:
  16529. description: 商品名称
  16530. type: string
  16531. wrtransferuserid:
  16532. description: 仓单受让用户
  16533. type: integer
  16534. wrtypename:
  16535. description: 商品
  16536. type: string
  16537. required:
  16538. - userid
  16539. type: object
  16540. models.WrPerformancePlanStep:
  16541. properties:
  16542. delaydays:
  16543. description: 延期申请天数
  16544. type: integer
  16545. deliverygoodscode:
  16546. description: 品种代码
  16547. type: string
  16548. deliverygoodsid:
  16549. description: 品种ID
  16550. type: integer
  16551. deliverygoodsname:
  16552. description: 品种名称
  16553. type: string
  16554. endtime:
  16555. description: 结束日期
  16556. type: string
  16557. enumdicname:
  16558. description: 单位名称
  16559. type: string
  16560. executeside:
  16561. description: 步骤执行方 - 1:买方 2:卖方
  16562. type: integer
  16563. handlestatus:
  16564. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败
  16565. 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求
  16566. 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  16567. type: integer
  16568. isauto:
  16569. description: 是否自动 - 0:不自动 1:自动
  16570. type: integer
  16571. islastreceivestep:
  16572. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  16573. type: integer
  16574. minivalue:
  16575. description: 现货商品最小变动值
  16576. type: integer
  16577. optioncompare:
  16578. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16579. type: string
  16580. overdays:
  16581. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  16582. type: integer
  16583. performancestepid:
  16584. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  16585. type: string
  16586. planid:
  16587. description: 所属履约计划ID
  16588. type: string
  16589. realamount:
  16590. description: 实际完成金额
  16591. type: number
  16592. relatedorderid:
  16593. description: 关联单号
  16594. type: string
  16595. remaindays:
  16596. description: 剩余天数
  16597. type: integer
  16598. remark:
  16599. description: 错误备注
  16600. type: string
  16601. starttime:
  16602. description: 开始日期
  16603. type: string
  16604. stepamount:
  16605. description: 步骤金额
  16606. type: number
  16607. stepdays:
  16608. description: 距离上一步天数(分钟)
  16609. type: integer
  16610. stepindex:
  16611. description: 步骤序号
  16612. type: integer
  16613. steplanchtype:
  16614. description: 步骤启动类型 - 1:系统自动 2:手动
  16615. type: integer
  16616. stepremark:
  16617. description: 步骤备注
  16618. type: string
  16619. stepstatus:
  16620. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  16621. type: integer
  16622. steptypeid:
  16623. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  16624. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  16625. type: integer
  16626. steptypename:
  16627. description: 步骤名称
  16628. type: string
  16629. stepvalue:
  16630. description: 步骤值
  16631. type: number
  16632. warehouseid:
  16633. description: 仓库ID
  16634. type: integer
  16635. warehousename:
  16636. description: 仓库名称
  16637. type: string
  16638. wrfactortypeid:
  16639. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16640. type: string
  16641. wrfactortypename:
  16642. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16643. type: string
  16644. wrstandardcode:
  16645. description: 现货商品代码
  16646. type: string
  16647. wrstandardid:
  16648. description: 现货商品ID
  16649. type: integer
  16650. wrstandardname:
  16651. description: 商品名称
  16652. type: string
  16653. wrtypename:
  16654. description: 商品
  16655. type: string
  16656. type: object
  16657. models.WrPerformanceStepType:
  16658. properties:
  16659. canauto:
  16660. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  16661. type: integer
  16662. steptypeid:
  16663. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  16664. type: integer
  16665. steptypename:
  16666. description: 步骤类型名称
  16667. type: string
  16668. type: object
  16669. models.WrPerformanceTemplateEx:
  16670. properties:
  16671. autoid:
  16672. description: AutoID 模板id
  16673. type: integer
  16674. createtime:
  16675. description: 创建时间
  16676. type: string
  16677. creatorid:
  16678. description: 创建人
  16679. type: integer
  16680. lstStep:
  16681. description: 步骤信息列表
  16682. items:
  16683. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  16684. type: array
  16685. paymenttype:
  16686. description: 支付方式 - 1:冻结 2:扣款
  16687. type: integer
  16688. takemode:
  16689. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  16690. type: integer
  16691. templatename:
  16692. description: 模板名称
  16693. type: string
  16694. templatetype:
  16695. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  16696. (无仓单) 5:挂牌期权 6:竞拍-降价式
  16697. type: integer
  16698. userid:
  16699. description: 所属用户
  16700. type: integer
  16701. type: object
  16702. models.WrPosition:
  16703. properties:
  16704. accountid:
  16705. description: 帐户ID
  16706. type: integer
  16707. buyexcuteqty:
  16708. description: 采购履约中数量
  16709. type: number
  16710. creditcurqty:
  16711. description: 授信当前数量(预售仓单:预售当前量)
  16712. type: number
  16713. creditenableqty:
  16714. description: '授信可用数量(预售仓单: 可用数量)'
  16715. type: number
  16716. creditfreezeqty:
  16717. description: '授信冻结数量(预售仓单: 当前数量)'
  16718. type: number
  16719. credittotalqty:
  16720. description: 授信总数量(预售仓单:预售总量)
  16721. type: number
  16722. credittradeqty:
  16723. description: 授信成交数量(预售仓单:成交总量)
  16724. type: number
  16725. deliverygoodscode:
  16726. description: 品种代码
  16727. type: string
  16728. deliverygoodsid:
  16729. description: 品种ID
  16730. type: integer
  16731. deliverygoodsname:
  16732. description: 品种名称
  16733. type: string
  16734. enalbeqty:
  16735. description: 可用数量
  16736. type: number
  16737. enumdicname:
  16738. description: 单位名称
  16739. type: string
  16740. freezeqty:
  16741. description: 总冻结数量
  16742. type: number
  16743. haswr:
  16744. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16745. type: integer
  16746. minivalue:
  16747. description: 现货商品最小变动值
  16748. type: integer
  16749. modifytime:
  16750. description: 修改时间(过户时间)
  16751. type: string
  16752. optioncompare:
  16753. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16754. type: string
  16755. pledgeqty:
  16756. description: 质押数量
  16757. type: number
  16758. querytype:
  16759. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  16760. type: integer
  16761. sellexcuteqty:
  16762. description: 销售履约中数量
  16763. type: number
  16764. totalqty:
  16765. description: 总数量(库存数量)
  16766. type: number
  16767. warehouseid:
  16768. description: 仓库ID
  16769. type: integer
  16770. warehousename:
  16771. description: 仓库名称
  16772. type: string
  16773. wrfactortypeid:
  16774. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16775. type: string
  16776. wrfactortypename:
  16777. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16778. type: string
  16779. wrpositionid:
  16780. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  16781. type: string
  16782. wrpositionno:
  16783. description: 仓单编号
  16784. type: string
  16785. wrstandardcode:
  16786. description: 现货商品代码
  16787. type: string
  16788. wrstandardid:
  16789. description: 现货商品ID
  16790. type: integer
  16791. wrstandardname:
  16792. description: 商品名称
  16793. type: string
  16794. wrtypename:
  16795. description: 商品
  16796. type: string
  16797. wruserid:
  16798. description: 持有人ID
  16799. type: integer
  16800. type: object
  16801. models.WrPreSaleInfo:
  16802. properties:
  16803. bannerpicurl:
  16804. description: Banner图
  16805. type: string
  16806. baseqty:
  16807. description: 中签基数
  16808. type: number
  16809. createtime:
  16810. description: 创建时间
  16811. type: string
  16812. deliverygoodsid:
  16813. description: 现货品种ID
  16814. type: integer
  16815. enddate:
  16816. description: 预售结束日期
  16817. type: string
  16818. enumdicname:
  16819. description: 单位名称
  16820. type: string
  16821. lotteryflag:
  16822. description: 摇号标识 - 0:未摇号 1:已摇号
  16823. type: integer
  16824. lotteryqty:
  16825. description: 摇号总量
  16826. type: number
  16827. luckyqty:
  16828. description: 已中签量
  16829. type: number
  16830. marketid:
  16831. description: 市场ID
  16832. type: integer
  16833. maxbuyqty:
  16834. description: 单人最大申购量
  16835. type: number
  16836. maxluckyqty:
  16837. description: 单人最大中签量
  16838. type: number
  16839. pictureurls:
  16840. description: 详情图片(逗号分隔)
  16841. type: string
  16842. placeqty:
  16843. description: 已配售量
  16844. type: number
  16845. presaleapplyid:
  16846. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  16847. example: "0"
  16848. type: string
  16849. presaleqty:
  16850. description: 预售总量
  16851. type: number
  16852. presalestatus:
  16853. description: 预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭
  16854. type: integer
  16855. sellaccountid:
  16856. description: 发行方资金账户ID
  16857. type: integer
  16858. selluserid:
  16859. description: 发行方用户ID
  16860. type: integer
  16861. sellwrtradeorderid:
  16862. description: 发行方卖委托单ID
  16863. type: string
  16864. startdate:
  16865. description: 预售开始日期
  16866. type: string
  16867. takestartdate:
  16868. description: 提货开始日期
  16869. type: string
  16870. thumurls:
  16871. description: 缩略图片(1:1)(逗号分隔)
  16872. type: string
  16873. tradedate:
  16874. description: 交易日
  16875. type: string
  16876. unitid:
  16877. description: 单位ID
  16878. type: integer
  16879. unitprice:
  16880. description: 商品单价
  16881. type: number
  16882. username:
  16883. description: 发行方用户名称
  16884. type: string
  16885. warehousecode:
  16886. description: 仓库代码(仓库简称)
  16887. type: string
  16888. warehouseid:
  16889. description: 仓库ID
  16890. type: integer
  16891. warehousename:
  16892. description: 仓库名称
  16893. type: string
  16894. wrfactortypeid:
  16895. description: 仓单要素类型ID - 根据现货商品\仓库生成
  16896. example: "0"
  16897. type: string
  16898. wrstandardid:
  16899. description: 现货商品ID
  16900. type: integer
  16901. wrstandardname:
  16902. description: 现货商品名称
  16903. type: string
  16904. type: object
  16905. models.WrQuoteOrderMyq:
  16906. properties:
  16907. buyorsell:
  16908. description: 买卖 - 0:买 1:卖
  16909. type: integer
  16910. canbargain:
  16911. description: 是否可议价 - 0:不可 1:可
  16912. type: integer
  16913. canpart:
  16914. description: 是否允许部份摘牌 - 0:不允许 1:允许
  16915. type: integer
  16916. delistminqty:
  16917. description: 起摘数量
  16918. type: number
  16919. deliverygoodscode:
  16920. description: 品种代码
  16921. type: string
  16922. deliverygoodsid:
  16923. description: 品种ID
  16924. type: integer
  16925. deliverygoodsname:
  16926. description: 品种名称
  16927. type: string
  16928. deliverymonth:
  16929. description: 交收月
  16930. type: string
  16931. enumdicname:
  16932. description: 单位名称
  16933. type: string
  16934. fixedprice:
  16935. description: 买(卖)价
  16936. type: number
  16937. goodscode:
  16938. description: 商品合约代码
  16939. type: string
  16940. marginflag:
  16941. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  16942. type: integer
  16943. marginvalue:
  16944. description: 保证金设置值
  16945. type: number
  16946. minivalue:
  16947. description: 现货商品最小变动值
  16948. type: integer
  16949. orderqty:
  16950. description: 买(卖)量(=委托量-成交量)
  16951. type: number
  16952. ordertime:
  16953. description: 委托时间
  16954. type: string
  16955. performancetemplateid:
  16956. description: 履约模板id
  16957. type: integer
  16958. pricemove:
  16959. description: 买(卖)升贴水- 基差
  16960. type: number
  16961. templatename:
  16962. description: 履约模板名称
  16963. type: string
  16964. userid:
  16965. description: 购买方(销售方)用户ID
  16966. type: integer
  16967. username:
  16968. description: 购买方(销售方)
  16969. type: string
  16970. validtime:
  16971. description: 有效期限
  16972. type: string
  16973. validtype:
  16974. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  16975. type: integer
  16976. warehousename:
  16977. description: 仓库名称
  16978. type: string
  16979. wrfactortypeid:
  16980. description: 仓单要素id
  16981. type: string
  16982. wrstandardcode:
  16983. description: 现货商品代码
  16984. type: string
  16985. wrstandardid:
  16986. description: 现货商品ID
  16987. type: integer
  16988. wrstandardname:
  16989. description: 商品名称
  16990. type: string
  16991. wrtradeorderid:
  16992. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16993. type: string
  16994. wrtypename:
  16995. description: 商品
  16996. type: string
  16997. type: object
  16998. models.WrReckonSpotGoodsTradeSum:
  16999. properties:
  17000. begindate:
  17001. description: 开始日期(结果含开始日期) yyyymmdd
  17002. type: string
  17003. enddate:
  17004. description: 结束日期(结果含结束日期) yyyymmdd
  17005. type: string
  17006. marketid:
  17007. description: 市场ID
  17008. type: integer
  17009. price:
  17010. description: 价格 = 日成交金额 / 日成交数量
  17011. type: string
  17012. reckondate:
  17013. description: 日期 格式 yyyymmdd
  17014. type: string
  17015. tradeamount:
  17016. description: 日成交金额(当日单方向成交金额)
  17017. type: number
  17018. tradeqty:
  17019. description: 日成交数量(当日单方向成交数量)
  17020. type: number
  17021. wrstandardid:
  17022. description: 现货商品ID
  17023. type: integer
  17024. type: object
  17025. models.WrScfContract:
  17026. properties:
  17027. borroweruserid:
  17028. description: 借款用户ID
  17029. type: integer
  17030. buybackwrpositionqty:
  17031. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  17032. type: number
  17033. closeinterest:
  17034. description: 已结利息 -> 已结费用
  17035. type: number
  17036. currisklevel:
  17037. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  17038. type: integer
  17039. deadline:
  17040. description: 截止日期(yyyyMMdd) -> 借款到期时间
  17041. type: string
  17042. deliverygoodscode:
  17043. description: 品种代码
  17044. type: string
  17045. deliverygoodsid:
  17046. description: 品种ID
  17047. type: integer
  17048. deliverygoodsname:
  17049. description: 品种名称
  17050. type: string
  17051. enumdicname:
  17052. description: 单位名称
  17053. type: string
  17054. financingdays:
  17055. description: 天数(天)
  17056. type: integer
  17057. initmargin:
  17058. description: 保证金 - [仓单回购]
  17059. type: number
  17060. interestamount:
  17061. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  17062. type: number
  17063. interestdebt:
  17064. description: 利息欠款(记录负数) -> 费用欠款
  17065. type: number
  17066. interestminlen:
  17067. description: 最小起息天数
  17068. type: integer
  17069. interestrate:
  17070. description: 利率
  17071. type: number
  17072. interestratemode:
  17073. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  17074. type: integer
  17075. interestsettlemode:
  17076. description: 结息方式 - 1:按日结息 3:按月结息
  17077. type: integer
  17078. interestsettlevalue:
  17079. description: 结息方式值
  17080. type: integer
  17081. isautoloan:
  17082. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  17083. type: integer
  17084. lastcloseinterestday:
  17085. description: 最近结息日(yyyyMMdd)
  17086. type: string
  17087. lenderamount:
  17088. description: 贷款金额 -> 借款金额
  17089. type: number
  17090. lenderuserid:
  17091. description: 贷款方用户ID -> 融出方用户ID
  17092. type: integer
  17093. lenderusername:
  17094. description: 融出方
  17095. type: string
  17096. marginratio:
  17097. description: 保证金比率质押率 - [仓单质押]
  17098. type: number
  17099. marketid:
  17100. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  17101. type: integer
  17102. minivalue:
  17103. description: 现货商品最小变动值
  17104. type: integer
  17105. optioncompare:
  17106. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17107. type: string
  17108. pricemove:
  17109. description: 估值升贴水值
  17110. type: number
  17111. productdetailid:
  17112. description: 产品组合ID
  17113. type: integer
  17114. productid:
  17115. description: 金融产品ID
  17116. type: integer
  17117. productname:
  17118. description: 产品名称
  17119. type: string
  17120. remainamount:
  17121. description: 合同剩余金额 -> 剩余金额
  17122. type: number
  17123. remainwrpositionqty:
  17124. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  17125. type: number
  17126. remark:
  17127. description: 备注
  17128. type: string
  17129. scfcontractid:
  17130. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  17131. type: string
  17132. scfcontractstatus:
  17133. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  17134. 9:违约结束 10:已注销 11:已关闭 99:未提交
  17135. type: integer
  17136. scfcontracttype:
  17137. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  17138. type: integer
  17139. startinterestday:
  17140. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  17141. type: string
  17142. totalinterest:
  17143. description: 已计利息 -> 已计费用
  17144. type: number
  17145. unpaidinterest:
  17146. description: 未结费用
  17147. type: number
  17148. updatetime:
  17149. description: 更新时间
  17150. type: string
  17151. warehouseid:
  17152. description: 仓库ID
  17153. type: integer
  17154. warehousename:
  17155. description: 仓库名称
  17156. type: string
  17157. wrfactortypeid:
  17158. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17159. type: string
  17160. wrfactortypename:
  17161. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17162. type: string
  17163. wrqty:
  17164. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  17165. type: number
  17166. wrstandardcode:
  17167. description: 现货商品代码
  17168. type: string
  17169. wrstandardid:
  17170. description: 现货商品ID
  17171. type: integer
  17172. wrstandardname:
  17173. description: 商品名称
  17174. type: string
  17175. wrtypename:
  17176. description: 商品
  17177. type: string
  17178. type: object
  17179. models.WrScfContractInterest:
  17180. properties:
  17181. closeinterest:
  17182. description: 已结利息
  17183. type: number
  17184. closeintereststatus:
  17185. description: 结息状态 - 1:未结 2:已结
  17186. type: integer
  17187. closetime:
  17188. description: 结息时间
  17189. type: string
  17190. closetradedate:
  17191. description: 结息交易日
  17192. type: string
  17193. creatorid:
  17194. description: 操作人ID
  17195. type: integer
  17196. dayrate:
  17197. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  17198. type: number
  17199. interest:
  17200. description: 利息
  17201. type: number
  17202. interestamount:
  17203. description: 计息金额
  17204. type: number
  17205. interestday:
  17206. description: 计息日(yyyyMMdd)
  17207. type: string
  17208. scfcontractid:
  17209. description: SCF合同ID
  17210. type: string
  17211. scfcontractinterestid:
  17212. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  17213. type: integer
  17214. updatetime:
  17215. description: 更新时间
  17216. type: string
  17217. type: object
  17218. models.WrSearchUser:
  17219. properties:
  17220. userid:
  17221. description: 用户ID
  17222. type: integer
  17223. username:
  17224. description: 用户名称(已脱敏)
  17225. type: string
  17226. username2:
  17227. description: 用户名称(未脱敏)
  17228. type: string
  17229. usertype:
  17230. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  17231. type: integer
  17232. required:
  17233. - username
  17234. type: object
  17235. models.WrSiteColumnDetail:
  17236. properties:
  17237. brief:
  17238. description: 简介
  17239. type: string
  17240. context:
  17241. description: 内容
  17242. type: string
  17243. coverimage:
  17244. description: 封面图片
  17245. type: string
  17246. creaedate:
  17247. description: 创建时间
  17248. type: string
  17249. id:
  17250. description: ID(SEQ_SITE_COLUMNDETAIL)
  17251. type: integer
  17252. istop:
  17253. description: 是否置顶 - 0:不置 1:置顶
  17254. type: integer
  17255. publishdate:
  17256. description: 发布日期
  17257. type: string
  17258. title:
  17259. description: 标题
  17260. type: string
  17261. updatedate:
  17262. description: 修改时间
  17263. type: string
  17264. type: object
  17265. models.WrSpecialMatchOrder:
  17266. properties:
  17267. amount:
  17268. description: 金额 = 数量 * 价格
  17269. type: number
  17270. buyorsell:
  17271. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  17272. type: integer
  17273. cancelqty:
  17274. description: 撤销数量
  17275. type: number
  17276. deliverygoodscode:
  17277. description: 品种代码
  17278. type: string
  17279. deliverygoodsid:
  17280. description: 品种ID
  17281. type: integer
  17282. deliverygoodsname:
  17283. description: 品种名称
  17284. type: string
  17285. enumdicname:
  17286. description: 单位名称
  17287. type: string
  17288. fixedprice:
  17289. description: 固定价格(价格)
  17290. type: number
  17291. haswr:
  17292. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  17293. type: integer
  17294. isspecified:
  17295. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  17296. type: integer
  17297. marketid:
  17298. description: 市场ID
  17299. type: integer
  17300. matchuserid:
  17301. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  17302. type: integer
  17303. matchusername:
  17304. description: 指定方
  17305. type: string
  17306. minivalue:
  17307. description: 现货商品最小变动值
  17308. type: integer
  17309. optioncompare:
  17310. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17311. type: string
  17312. orderqty:
  17313. description: 委托数量
  17314. type: number
  17315. ordertime:
  17316. description: 委托时间
  17317. type: string
  17318. pricemove:
  17319. description: 升贴水(浮动价时填写) - [挂牌]
  17320. type: number
  17321. tradedate:
  17322. description: 交易日(yyyyMMdd)
  17323. type: string
  17324. tradeprice:
  17325. description: 成交价格
  17326. type: number
  17327. tradeqty:
  17328. description: 成交数量
  17329. type: number
  17330. userid:
  17331. description: 用户ID
  17332. type: integer
  17333. username:
  17334. description: 发起方
  17335. type: string
  17336. warehouseid:
  17337. description: 仓库ID
  17338. type: integer
  17339. warehousename:
  17340. description: 仓库名称
  17341. type: string
  17342. wrfactortypeid:
  17343. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17344. type: string
  17345. wrfactortypename:
  17346. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17347. type: string
  17348. wrpricetype:
  17349. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  17350. type: integer
  17351. wrstandardcode:
  17352. description: 现货商品代码
  17353. type: string
  17354. wrstandardid:
  17355. description: 现货商品ID
  17356. type: integer
  17357. wrstandardname:
  17358. description: 商品名称
  17359. type: string
  17360. wrtradeorderid:
  17361. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  17362. type: string
  17363. wrtradeorderstatus:
  17364. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  17365. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  17366. type: integer
  17367. wrtradetype:
  17368. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  17369. type: integer
  17370. wrtypename:
  17371. description: 商品
  17372. type: string
  17373. type: object
  17374. models.WrSpotGroupTradeSum:
  17375. properties:
  17376. deliverygoodscode:
  17377. description: 现货品种代码
  17378. type: string
  17379. deliverygoodsid:
  17380. description: 现货品种ID(SEQ_DELIVERYGOODS)
  17381. type: integer
  17382. deliverygoodsname:
  17383. description: 现货品种名称
  17384. type: string
  17385. lastavgprice:
  17386. description: 上上个交易日价格(前2天价格)
  17387. type: string
  17388. lastreckondate:
  17389. description: 上上个交易日(前2天交易日)
  17390. type: string
  17391. reckondate:
  17392. description: 上个交易日(前1天交易日)
  17393. type: string
  17394. todayavgprice:
  17395. description: 上个交易日价格(前1天价格)
  17396. type: string
  17397. updown:
  17398. description: 涨跌
  17399. type: string
  17400. updownratio:
  17401. description: 涨幅(已格式化, 直接显示即可)
  17402. type: string
  17403. type: object
  17404. models.WrSpotGroupTradeSumDetail:
  17405. properties:
  17406. deliverygoodsid:
  17407. description: 现货商品id
  17408. type: integer
  17409. price:
  17410. description: 价格
  17411. type: number
  17412. reckondate:
  17413. description: 日期(yyymmdd, 如:20211031)
  17414. type: string
  17415. type: object
  17416. models.WrSpotGroupTradeSumEx:
  17417. properties:
  17418. lst:
  17419. description: 指数列表
  17420. items:
  17421. $ref: '#/definitions/models.WrSpotGroupTradeSum'
  17422. type: array
  17423. prereckondate:
  17424. description: 上上个交易日(yyymmdd)
  17425. type: string
  17426. reckondate:
  17427. description: 上个交易日(yyyymmdd)
  17428. type: string
  17429. type: object
  17430. models.WrStandardFactoryItem:
  17431. properties:
  17432. dgfactoryitemid:
  17433. description: 选择项id
  17434. type: integer
  17435. dgfactoryitemvalue:
  17436. description: 要素项值
  17437. type: string
  17438. warehouseid:
  17439. description: 仓库id
  17440. type: integer
  17441. type: object
  17442. models.WrStandardFactoryItemEx:
  17443. properties:
  17444. dgfactoryitemtypeid:
  17445. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  17446. type: integer
  17447. itemlst:
  17448. description: 要素项列表
  17449. items:
  17450. $ref: '#/definitions/models.WrStandardFactoryItem'
  17451. type: array
  17452. itemtypename:
  17453. description: 要素项类型名称
  17454. type: string
  17455. wrstandardid:
  17456. description: 品类
  17457. type: integer
  17458. type: object
  17459. models.WrTradeDetail:
  17460. properties:
  17461. accountid:
  17462. description: 资金账号
  17463. type: integer
  17464. bannerpicurl:
  17465. description: Banner图
  17466. type: string
  17467. begindate:
  17468. description: 开始交易日(yyyymmdd)
  17469. type: string
  17470. buyorsell:
  17471. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  17472. type: integer
  17473. chargevalue:
  17474. description: 手续费
  17475. type: number
  17476. deliverygoodscode:
  17477. description: 品种代码
  17478. type: string
  17479. deliverygoodsid:
  17480. description: 品种ID
  17481. type: integer
  17482. deliverygoodsname:
  17483. description: 品种名称
  17484. type: string
  17485. deliverymonth:
  17486. description: 交收月
  17487. type: string
  17488. enddate:
  17489. description: 结束交易日(yyyymmdd)
  17490. type: string
  17491. enumdicname:
  17492. description: 单位名称
  17493. type: string
  17494. haswr:
  17495. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  17496. type: integer
  17497. marketid:
  17498. description: 市场ID
  17499. type: integer
  17500. matchaccountid:
  17501. description: 对手账号
  17502. type: integer
  17503. matchusername:
  17504. description: 对手方
  17505. type: string
  17506. minivalue:
  17507. description: 现货商品最小变动值
  17508. type: integer
  17509. optioncompare:
  17510. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17511. type: string
  17512. tradedate:
  17513. description: 交易日(yyyyMMdd)
  17514. type: string
  17515. tradeprice:
  17516. description: 成交价格
  17517. type: number
  17518. tradeqty:
  17519. description: 成交数量
  17520. type: number
  17521. tradetime:
  17522. description: 成交时间
  17523. type: string
  17524. userid:
  17525. description: 用户ID
  17526. type: integer
  17527. warehouseid:
  17528. description: 仓库ID
  17529. type: integer
  17530. warehousename:
  17531. description: 仓库名称
  17532. type: string
  17533. wrfactortypeid:
  17534. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17535. type: string
  17536. wrfactortypename:
  17537. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17538. type: string
  17539. wrstandardcode:
  17540. description: 现货商品代码
  17541. type: string
  17542. wrstandardid:
  17543. description: 现货商品ID
  17544. type: integer
  17545. wrstandardname:
  17546. description: 商品名称
  17547. type: string
  17548. wrtradedetailid:
  17549. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  17550. type: string
  17551. wrtradetype:
  17552. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  17553. type: integer
  17554. wrtypename:
  17555. description: 商品
  17556. type: string
  17557. type: object
  17558. models.WrTradeOrderDetail:
  17559. properties:
  17560. buyorsell:
  17561. description: 买卖方向 0-买 1-卖
  17562. type: integer
  17563. goodsid:
  17564. description: 商品id
  17565. type: integer
  17566. orderid:
  17567. description: 委托单号
  17568. type: string
  17569. orderprice:
  17570. description: 委托价格
  17571. type: number
  17572. orderqty:
  17573. description: 委托数量
  17574. type: integer
  17575. userid:
  17576. description: 用户id
  17577. type: integer
  17578. username:
  17579. description: 用户名称(已脱敏)
  17580. type: string
  17581. type: object
  17582. models.WrTypeItem:
  17583. properties:
  17584. name:
  17585. description: 名称
  17586. type: string
  17587. value:
  17588. description: 值
  17589. type: string
  17590. type: object
  17591. models.WrUserFriend:
  17592. properties:
  17593. friendname:
  17594. description: 朋友名称(已脱敏)
  17595. type: string
  17596. frienduserid:
  17597. description: 朋友id
  17598. type: integer
  17599. isfriend:
  17600. description: 是否好友 0-不是 1-是
  17601. type: integer
  17602. userid:
  17603. description: 用户id
  17604. type: integer
  17605. type: object
  17606. models.WrUserReceiptInfo:
  17607. properties:
  17608. address:
  17609. description: 地址[发票类型:企业]
  17610. type: string
  17611. autoid:
  17612. description: AutoID
  17613. type: integer
  17614. contactinfo:
  17615. description: 联系方式
  17616. type: string
  17617. idnum:
  17618. description: 身份证号码[发票类型:个人]
  17619. type: string
  17620. isdefault:
  17621. description: 是否默认地址 - 0:否 1:是
  17622. type: integer
  17623. receiptaccount:
  17624. description: 发票帐号[发票类型:企业]
  17625. type: string
  17626. receiptbank:
  17627. description: 发票开户行[发票类型:企业]
  17628. type: string
  17629. receipttype:
  17630. description: 发票类型 - 1:个人 2:企业
  17631. type: integer
  17632. taxpayerid:
  17633. description: 纳税人识别号
  17634. type: string
  17635. userid:
  17636. description: 用户ID
  17637. type: integer
  17638. username:
  17639. description: 户名(个人姓名或企业名称)
  17640. type: string
  17641. type: object
  17642. models.XHBRAND:
  17643. properties:
  17644. brandid:
  17645. description: 品牌id
  17646. type: integer
  17647. brandname:
  17648. description: 品牌名称
  17649. type: string
  17650. isvalid:
  17651. description: 是否有效 0-无效 1-有效
  17652. type: integer
  17653. type: object
  17654. models.XHDeliveryGoods:
  17655. properties:
  17656. areauserid:
  17657. description: 所属机构
  17658. type: integer
  17659. bdlst:
  17660. description: 品牌列表
  17661. items:
  17662. $ref: '#/definitions/models.XHBRAND'
  17663. type: array
  17664. deliverygoodscode:
  17665. description: 现货品种代码
  17666. type: string
  17667. deliverygoodsid:
  17668. description: 现货品种ID(SEQ_DELIVERYGOODS)
  17669. type: integer
  17670. deliverygoodsname:
  17671. description: 现货品种名称
  17672. type: string
  17673. dgstatus:
  17674. description: 品种状态 - 作废 - 0:未激活 1:正常
  17675. type: integer
  17676. filterSubEmpty:
  17677. description: 过滤下级为空的
  17678. type: integer
  17679. isvalid:
  17680. description: 是否有效 - 0:无效 1:有效
  17681. type: integer
  17682. remark:
  17683. description: 备注
  17684. type: string
  17685. unitid:
  17686. description: 单位id(目前看,数据库中是空值)
  17687. type: integer
  17688. wdlst:
  17689. description: 品类(现货商品)列表
  17690. items:
  17691. $ref: '#/definitions/models.XHWrstandard'
  17692. type: array
  17693. type: object
  17694. models.XHMiddleGoods:
  17695. properties:
  17696. GPLST:
  17697. description: 期货品种列表
  17698. items:
  17699. $ref: '#/definitions/models.TBGoodsGroup'
  17700. type: array
  17701. convertratio:
  17702. description: 拆算系数
  17703. type: number
  17704. costratio:
  17705. description: 成本权重
  17706. type: number
  17707. deliverygoodsid:
  17708. description: 现货商品id
  17709. type: integer
  17710. enumdicname:
  17711. description: 单位名称
  17712. type: string
  17713. middlegoodscode:
  17714. description: 套保品种代码
  17715. type: string
  17716. middlegoodsid:
  17717. description: 套保品种id
  17718. type: integer
  17719. middlegoodsname:
  17720. description: 套保品种名称
  17721. type: string
  17722. unitid:
  17723. description: 单位id
  17724. type: integer
  17725. type: object
  17726. models.XHWrstandard:
  17727. properties:
  17728. bannerpicurl:
  17729. description: banner图
  17730. type: string
  17731. deliverygoodsid:
  17732. description: 品种ID
  17733. type: integer
  17734. enumdicname:
  17735. description: 单位名称
  17736. type: string
  17737. mglst:
  17738. description: 套保品列表
  17739. items:
  17740. $ref: '#/definitions/models.XHMiddleGoods'
  17741. type: array
  17742. pictureurls:
  17743. description: 详情图片(逗号分隔)
  17744. type: string
  17745. thumurls:
  17746. description: 缩略图片(1:1)(逗号分隔)
  17747. type: string
  17748. unitid:
  17749. description: 单位id
  17750. type: integer
  17751. vatrate:
  17752. description: 增值税率
  17753. type: number
  17754. wrstandardcode:
  17755. description: 现货商品代码
  17756. type: string
  17757. wrstandardid:
  17758. description: 现货商品ID(SEQ_WRSTANDARD)
  17759. type: integer
  17760. wrstandardname:
  17761. description: 现货商品名称
  17762. type: string
  17763. type: object
  17764. order.QueryHisTradeDetailRsp:
  17765. properties:
  17766. accountid:
  17767. description: 账户ID[报价币种]
  17768. type: integer
  17769. advanceratio:
  17770. description: 首付比率
  17771. type: number
  17772. buildtype:
  17773. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  17774. type: integer
  17775. buyorsell:
  17776. description: 方向 - 0:买 1:卖
  17777. type: integer
  17778. charge:
  17779. description: 手续费
  17780. type: number
  17781. closecharge:
  17782. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17783. type: number
  17784. closeexchagechargevalue:
  17785. description: 平仓交易所手续费设置值
  17786. type: number
  17787. closefeealgorithm:
  17788. description: 平仓手续费收取方式 1:比率 2:固定
  17789. type: integer
  17790. closememberchargevalue:
  17791. description: 平仓会员手续费设置值
  17792. type: number
  17793. closepl:
  17794. description: 平仓盈亏
  17795. type: number
  17796. closepl2:
  17797. description: 平仓盈亏[逐笔]
  17798. type: number
  17799. closeqty:
  17800. description: 平仓数量(先建后平操作 需要记录)
  17801. type: number
  17802. creditamount:
  17803. description: 授信金额
  17804. type: number
  17805. decimalplace:
  17806. description: 商品报价小数位
  17807. type: integer
  17808. enumdicname:
  17809. description: 单位名称
  17810. type: string
  17811. gcaccountid:
  17812. description: 账户ID[合约币种]
  17813. type: integer
  17814. goodscode:
  17815. description: 商品代码
  17816. type: string
  17817. goodsid:
  17818. description: 商品ID
  17819. type: integer
  17820. goodsname:
  17821. description: 商品名称
  17822. type: string
  17823. goodunitid:
  17824. description: 商品单位id
  17825. type: integer
  17826. histradedate:
  17827. description: 历史交易日
  17828. type: string
  17829. intclosepl:
  17830. description: 整型盈亏(用于交易结算试算平衡-收益权)
  17831. type: integer
  17832. isconfirmexercise:
  17833. description: 是否确认行权- 0:否 1:是
  17834. type: integer
  17835. ismain:
  17836. description: 是否主单 - 0:不是 1:是
  17837. type: integer
  17838. ispreexercise:
  17839. description: 是否预申报- 0:否 1:是
  17840. type: integer
  17841. isreckoned:
  17842. description: 是否结算 - 0:未结算 1:已结算
  17843. type: integer
  17844. isvaliddata:
  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. - histradedate
  17946. - marketid
  17947. - memberuserid
  17948. - orderid
  17949. - tradeamount
  17950. - tradedate
  17951. - tradeid
  17952. - tradeprice
  17953. - tradeqty
  17954. - tradetime
  17955. type: object
  17956. order.QueryHisTradeOrderDetailRsp:
  17957. properties:
  17958. accountid:
  17959. description: 账户ID[报价币种]
  17960. type: integer
  17961. buildtype:
  17962. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  17963. type: integer
  17964. buyorsell:
  17965. description: 买卖 - 0:买 1:卖
  17966. type: integer
  17967. cancelorderid:
  17968. description: 撤单单号(撤单时填写)
  17969. type: string
  17970. cancelqty:
  17971. description: 撤单数量
  17972. type: number
  17973. clientordertime:
  17974. description: 客户端委托时间
  17975. type: string
  17976. clientticket:
  17977. description: 客户端流水号
  17978. type: string
  17979. clienttype:
  17980. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  17981. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  17982. type: integer
  17983. closeexchagechargevalue:
  17984. description: 平仓交易所手续费设置值
  17985. type: number
  17986. closefeealgorithm:
  17987. description: 平仓手续费收取方式 1:比率 2:固定
  17988. type: integer
  17989. closefreezecharge:
  17990. description: 平仓冻结手续费(先建后平操作,需要记录)
  17991. type: number
  17992. closememberchargevalue:
  17993. description: 平仓会员手续费设置值
  17994. type: number
  17995. closeqty:
  17996. description: 平仓数量(先建后平操作 需要记录)
  17997. type: number
  17998. closetradeqty:
  17999. description: 平仓成交数量(先建后平操作,需要记录)
  18000. type: number
  18001. closeunfreezecharge:
  18002. description: 平仓解冻手续费(先建后平操作,需要记录)
  18003. type: number
  18004. decimalplace:
  18005. description: 商品报价小数位
  18006. type: integer
  18007. delistingtype:
  18008. description: 摘牌类型 - 1:价格最优 2:点选成交
  18009. type: integer
  18010. enumdicname:
  18011. description: 单位名称
  18012. type: string
  18013. freezecharge:
  18014. description: 冻结手续费
  18015. type: number
  18016. freezemargin:
  18017. description: 冻结保证金(冻结交易金额)
  18018. type: number
  18019. gcaccountid:
  18020. description: 账户ID[合约币种]
  18021. type: integer
  18022. goodscode:
  18023. description: 商品代码
  18024. type: string
  18025. goodsid:
  18026. description: 商品ID
  18027. type: integer
  18028. goodsname:
  18029. description: 商品名称
  18030. type: string
  18031. goodunitid:
  18032. description: 商品单位id
  18033. type: integer
  18034. histradedate:
  18035. description: 历史交易日
  18036. type: string
  18037. isconfirmexercise:
  18038. description: 是否确认行权- 0:否 1:是
  18039. type: integer
  18040. ispreexercise:
  18041. description: 是否预申报- 0:否 1:是
  18042. type: integer
  18043. isvaliddata:
  18044. description: 是否有效 - 0:无效 1:有效
  18045. type: integer
  18046. listingselecttype:
  18047. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  18048. type: integer
  18049. marginalgorithm:
  18050. description: 保证金收取方式 1:比率 2:固定
  18051. type: integer
  18052. marginvalue:
  18053. description: 即市保证金设置值
  18054. type: number
  18055. marketid:
  18056. description: 市场ID
  18057. type: integer
  18058. marketmaxsub:
  18059. description: 市价最大偏移范围
  18060. type: number
  18061. marketname:
  18062. description: 市场名称
  18063. type: string
  18064. memberuserid:
  18065. description: 所属会员UserID
  18066. type: integer
  18067. openexchagechargevalue:
  18068. description: 建仓交易所手续费设置值
  18069. type: number
  18070. openfeealgorithm:
  18071. description: 建仓手续费收取方式 1:比率 2:固定
  18072. type: integer
  18073. openfreezecharge:
  18074. description: 开仓冻结手续费(先建后平操作,需要记录)
  18075. type: number
  18076. openmemberchargevalue:
  18077. description: 建仓会员手续费设置值
  18078. type: number
  18079. openqty:
  18080. description: 开仓数量(先建后平操作,需要记录)
  18081. type: number
  18082. opentradeqty:
  18083. description: 开仓成交数量(先建后平操作,需要记录)
  18084. type: number
  18085. openunfreezecharge:
  18086. description: 开仓解冻手续费(先建后平操作,需要记录)
  18087. type: number
  18088. operatetype:
  18089. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  18090. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  18091. 15:管理端协议转让
  18092. type: integer
  18093. operatorid:
  18094. description: 登录账号(LoginID)
  18095. type: integer
  18096. optiontype:
  18097. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  18098. type: integer
  18099. orderid:
  18100. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18101. type: string
  18102. orderprice:
  18103. description: 委托价格
  18104. type: number
  18105. orderqty:
  18106. description: 委托数量
  18107. type: number
  18108. ordersrc:
  18109. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  18110. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  18111. type: integer
  18112. orderstatus:
  18113. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  18114. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  18115. 16:成交失败违约(荷兰式竞拍专用)
  18116. type: integer
  18117. ordertime:
  18118. description: 委托时间
  18119. type: string
  18120. preexerciseprice:
  18121. description: 预申报价格
  18122. type: number
  18123. premium:
  18124. description: 权利金
  18125. type: number
  18126. preorderid:
  18127. description: 关联预埋单号(止盈止损单时填写)
  18128. type: string
  18129. pricemode:
  18130. description: '取价方式 - 1:市价 2: 限价'
  18131. type: integer
  18132. qtydecimalplace:
  18133. description: 成交量小数位
  18134. type: integer
  18135. quoteid:
  18136. description: 报价单ID
  18137. type: integer
  18138. relatedid:
  18139. description: 关联单号(交割单)
  18140. type: string
  18141. retcode:
  18142. description: 错误代码
  18143. type: integer
  18144. sessionid:
  18145. description: 会话ID
  18146. type: integer
  18147. tradedate:
  18148. description: 交易日(yyyyMMdd)
  18149. type: string
  18150. trademode:
  18151. description: 交易模式
  18152. type: integer
  18153. tradeproperty:
  18154. description: 交易属性
  18155. type: integer
  18156. tradeqty:
  18157. description: 成交数量
  18158. type: number
  18159. unfreezecharge:
  18160. description: 解冻手续费
  18161. type: number
  18162. unfreezemargin:
  18163. description: 解冻保证金
  18164. type: number
  18165. updatetime:
  18166. description: 更新时间
  18167. type: string
  18168. uuid:
  18169. description: 发起端唯一id
  18170. type: string
  18171. validtime:
  18172. description: 有效期限
  18173. type: string
  18174. validtype:
  18175. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  18176. type: integer
  18177. volumetype:
  18178. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  18179. type: integer
  18180. required:
  18181. - accountid
  18182. - buildtype
  18183. - buyorsell
  18184. - goodsid
  18185. - histradedate
  18186. - marketid
  18187. - memberuserid
  18188. - operatetype
  18189. - orderid
  18190. - orderqty
  18191. - ordertime
  18192. - pricemode
  18193. - tradedate
  18194. - validtype
  18195. type: object
  18196. order.QueryTradeDetailRsp:
  18197. properties:
  18198. accountid:
  18199. description: 账户ID[报价币种]
  18200. type: integer
  18201. advanceratio:
  18202. description: 首付比率
  18203. type: number
  18204. buildtype:
  18205. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  18206. type: integer
  18207. buyorsell:
  18208. description: 方向 - 0:买 1:卖
  18209. type: integer
  18210. charge:
  18211. description: 手续费
  18212. type: number
  18213. closecharge:
  18214. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  18215. type: number
  18216. closeexchagechargevalue:
  18217. description: 平仓交易所手续费设置值
  18218. type: number
  18219. closefeealgorithm:
  18220. description: 平仓手续费收取方式 1:比率 2:固定
  18221. type: integer
  18222. closememberchargevalue:
  18223. description: 平仓会员手续费设置值
  18224. type: number
  18225. closepl:
  18226. description: 平仓盈亏
  18227. type: number
  18228. closepl2:
  18229. description: 平仓盈亏[逐笔]
  18230. type: number
  18231. closeqty:
  18232. description: 平仓数量(先建后平操作 需要记录)
  18233. type: number
  18234. creditamount:
  18235. description: 授信金额
  18236. type: number
  18237. decimalplace:
  18238. description: 商品报价小数位
  18239. type: integer
  18240. enumdicname:
  18241. description: 单位名称
  18242. type: string
  18243. gcaccountid:
  18244. description: 账户ID[合约币种]
  18245. type: integer
  18246. goodscode:
  18247. description: 商品代码
  18248. type: string
  18249. goodsid:
  18250. description: 商品ID
  18251. type: integer
  18252. goodsname:
  18253. description: 商品名称
  18254. type: string
  18255. goodunitid:
  18256. description: 商品单位id
  18257. type: integer
  18258. intclosepl:
  18259. description: 整型盈亏(用于交易结算试算平衡-收益权)
  18260. type: integer
  18261. isconfirmexercise:
  18262. description: 是否确认行权- 0:否 1:是
  18263. type: integer
  18264. ismain:
  18265. description: 是否主单 - 0:不是 1:是
  18266. type: integer
  18267. ispreexercise:
  18268. description: 是否预申报- 0:否 1:是
  18269. type: integer
  18270. isreckoned:
  18271. description: 是否结算 - 0:未结算 1:已结算
  18272. type: integer
  18273. listingselecttype:
  18274. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  18275. type: integer
  18276. marketid:
  18277. description: 市场ID
  18278. type: integer
  18279. marketname:
  18280. description: 市场名称
  18281. type: string
  18282. matchaccountid:
  18283. description: 对手账号id
  18284. type: integer
  18285. memberuserid:
  18286. description: 会员id 个人投资者 需要填写
  18287. type: integer
  18288. opencharge:
  18289. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  18290. type: number
  18291. openexchagechargevalue:
  18292. description: 建仓交易所手续费设置值
  18293. type: number
  18294. openfeealgorithm:
  18295. description: 建仓手续费收取方式 1:比率 2:固定
  18296. type: integer
  18297. openmemberchargevalue:
  18298. description: 建仓会员手续费设置值
  18299. type: number
  18300. openqty:
  18301. description: 开仓数量(先建后平操作 需要记录)
  18302. type: number
  18303. optiontype:
  18304. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  18305. type: integer
  18306. orderid:
  18307. description: 委托单号
  18308. type: string
  18309. payamount:
  18310. description: 支付金额(付款金额)
  18311. type: number
  18312. performanceplanid:
  18313. description: 履约计划ID[期权]
  18314. type: integer
  18315. performancestatus:
  18316. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  18317. type: integer
  18318. preexerciseprice:
  18319. description: 预申报价格
  18320. type: number
  18321. premium:
  18322. description: 权利金 - [持仓单的权利金]
  18323. type: number
  18324. qtydecimalplace:
  18325. description: 商品报价小数位
  18326. type: integer
  18327. recvamount:
  18328. description: 到账金额 = 成交金额 - 手续费
  18329. type: number
  18330. relatedouttradeid:
  18331. description: 关联外部成交单ID
  18332. type: integer
  18333. status:
  18334. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  18335. type: integer
  18336. totalamount:
  18337. description: 订单总额 = 成交金额 + 手续费
  18338. type: number
  18339. tradeamount:
  18340. description: 成交金额[账户币种,用于所有权]
  18341. type: number
  18342. tradedate:
  18343. description: 交易日(yyyyMMdd)
  18344. type: string
  18345. tradeid:
  18346. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18347. type: string
  18348. trademode:
  18349. description: 交易模式
  18350. type: integer
  18351. tradeprice:
  18352. description: 成交价格
  18353. type: number
  18354. tradeproperty:
  18355. description: 交易属性
  18356. type: integer
  18357. tradeqty:
  18358. description: 成交数量
  18359. type: number
  18360. tradetime:
  18361. description: 成交时间
  18362. type: string
  18363. tradetype:
  18364. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  18365. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  18366. type: integer
  18367. required:
  18368. - accountid
  18369. - buyorsell
  18370. - goodsid
  18371. - marketid
  18372. - memberuserid
  18373. - orderid
  18374. - tradeamount
  18375. - tradedate
  18376. - tradeid
  18377. - tradeprice
  18378. - tradeqty
  18379. - tradetime
  18380. type: object
  18381. order.QueryTradeOrderDetailRsp:
  18382. properties:
  18383. accountid:
  18384. description: 账户ID[报价币种]
  18385. type: integer
  18386. buildtype:
  18387. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  18388. type: integer
  18389. buyorsell:
  18390. description: 买卖 - 0:买 1:卖
  18391. type: integer
  18392. cancelorderid:
  18393. description: 撤单单号(撤单时填写)
  18394. type: string
  18395. cancelqty:
  18396. description: 撤单数量
  18397. type: number
  18398. clienttype:
  18399. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  18400. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  18401. type: integer
  18402. closefreezecharge:
  18403. description: 平仓冻结手续费(先建后平操作,需要记录)
  18404. type: number
  18405. closeqty:
  18406. description: 平仓数量(先建后平操作 需要记录)
  18407. type: number
  18408. closetradeqty:
  18409. description: 平仓成交数量(先建后平操作,需要记录)
  18410. type: number
  18411. closeunfreezecharge:
  18412. description: 平仓解冻手续费(先建后平操作,需要记录)
  18413. type: number
  18414. decimalplace:
  18415. description: 商品报价小数位
  18416. type: integer
  18417. delistingtype:
  18418. description: 摘牌类型 - 1:价格最优 2:点选成交
  18419. type: integer
  18420. enableqty:
  18421. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  18422. type: number
  18423. enumdicname:
  18424. description: 单位名称
  18425. type: string
  18426. freezecharge:
  18427. description: 冻结手续费
  18428. type: number
  18429. freezemargin:
  18430. description: 冻结保证金(冻结交易金额)
  18431. type: number
  18432. goodscode:
  18433. description: 商品代码
  18434. type: string
  18435. goodsid:
  18436. description: 商品ID
  18437. type: integer
  18438. goodsname:
  18439. description: 商品名称
  18440. type: string
  18441. goodunitid:
  18442. description: 商品单位id
  18443. type: integer
  18444. listingselecttype:
  18445. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  18446. type: integer
  18447. marketid:
  18448. description: 市场ID
  18449. type: integer
  18450. marketname:
  18451. description: 市场名称
  18452. type: string
  18453. openfreezecharge:
  18454. description: 开仓冻结手续费(先建后平操作,需要记录)
  18455. type: number
  18456. openqty:
  18457. description: 开仓数量(先建后平操作,需要记录)
  18458. type: number
  18459. opentradeqty:
  18460. description: 开仓成交数量(先建后平操作,需要记录)
  18461. type: number
  18462. openunfreezecharge:
  18463. description: 开仓解冻手续费(先建后平操作,需要记录)
  18464. type: number
  18465. operatetype:
  18466. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  18467. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  18468. 15:管理端协议转让
  18469. type: integer
  18470. operatorid:
  18471. description: 登录账号(LoginID)
  18472. type: integer
  18473. orderid:
  18474. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18475. type: string
  18476. orderprice:
  18477. description: 委托价格
  18478. type: number
  18479. orderqty:
  18480. description: 委托数量
  18481. type: number
  18482. ordersrc:
  18483. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  18484. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  18485. type: integer
  18486. orderstatus:
  18487. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  18488. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  18489. 16:成交失败违约(荷兰式竞拍专用)
  18490. type: integer
  18491. ordertime:
  18492. description: 委托时间
  18493. type: string
  18494. preorderid:
  18495. description: 关联预埋单号(止盈止损单时填写)
  18496. type: string
  18497. pricemode:
  18498. description: '取价方式 - 1:市价 2: 限价'
  18499. type: integer
  18500. qtydecimalplace:
  18501. description: 商品报价小数位
  18502. type: integer
  18503. relatedid:
  18504. description: 关联单号(交割单)
  18505. type: string
  18506. tradedate:
  18507. description: 交易日(yyyyMMdd)
  18508. type: string
  18509. trademode:
  18510. description: 交易模式
  18511. type: integer
  18512. tradeqty:
  18513. description: 成交数量
  18514. type: number
  18515. unfreezecharge:
  18516. description: 解冻手续费
  18517. type: number
  18518. unfreezemargin:
  18519. description: 解冻保证金
  18520. type: number
  18521. validtime:
  18522. description: 有效期限
  18523. type: string
  18524. validtype:
  18525. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  18526. type: integer
  18527. volumetype:
  18528. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  18529. type: integer
  18530. required:
  18531. - accountid
  18532. - buildtype
  18533. - buyorsell
  18534. - goodsid
  18535. - marketid
  18536. - operatetype
  18537. - orderqty
  18538. - ordertime
  18539. - pricemode
  18540. - tradedate
  18541. - validtype
  18542. type: object
  18543. order.QueryTradePositionRsp:
  18544. properties:
  18545. accountid:
  18546. description: 资金账户
  18547. type: integer
  18548. agreeunit:
  18549. description: 合约单位
  18550. type: number
  18551. averageprice:
  18552. description: 持仓均价
  18553. type: number
  18554. buyorsell:
  18555. description: 方向 - 0:买 1:卖
  18556. type: integer
  18557. closetotalqty:
  18558. description: 平仓总数量
  18559. type: number
  18560. curholderamount:
  18561. description: 当前持仓总金额[商品币种]
  18562. type: number
  18563. curpositionqty:
  18564. description: 当前持仓总数量
  18565. type: number
  18566. currencyid:
  18567. description: 报价货币ID
  18568. type: integer
  18569. curtdposition:
  18570. description: 期末今日头寸
  18571. type: number
  18572. decimalplace:
  18573. description: 报价小数位
  18574. type: integer
  18575. enableqty:
  18576. description: 可用量
  18577. type: number
  18578. fretdposition:
  18579. description: 冻结今日头寸
  18580. type: number
  18581. frozenqty:
  18582. description: 持仓冻结数量
  18583. type: number
  18584. goodscode:
  18585. description: 商品代码
  18586. type: string
  18587. goodsid:
  18588. description: 商品Id
  18589. type: integer
  18590. goodsname:
  18591. description: 商品名称
  18592. type: string
  18593. goodunit:
  18594. description: 报价单位
  18595. type: string
  18596. goodunitid:
  18597. description: 报价单位ID
  18598. type: integer
  18599. holderamount:
  18600. description: 期初持仓总金额[商品币种]
  18601. type: number
  18602. lastprice:
  18603. description: 最新价
  18604. type: number
  18605. marketamount:
  18606. description: 市值
  18607. type: number
  18608. marketid:
  18609. description: 所属市场ID
  18610. type: integer
  18611. openreqqty:
  18612. description: 开仓申请数量(用于比较最大持仓数量)
  18613. type: number
  18614. opentotalqty:
  18615. description: 开仓总数量
  18616. type: number
  18617. otherfrozenqty:
  18618. description: 持仓其他冻结数量(交割冻结)
  18619. type: number
  18620. positionpl:
  18621. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  18622. * 合约单位
  18623. type: number
  18624. positionplrate:
  18625. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  18626. type: number
  18627. positionqty:
  18628. description: 期初持仓数量
  18629. type: number
  18630. qtydecimalplace:
  18631. description: 成交量小数位
  18632. type: integer
  18633. refgoodscode:
  18634. description: 参考商品代码
  18635. type: string
  18636. refgoodsid:
  18637. description: 参考商品ID
  18638. type: integer
  18639. tnqty:
  18640. description: T+N冻结总量
  18641. type: number
  18642. tnusedqty:
  18643. description: T+N使用量(可以使用T+N的冻结数量)
  18644. type: number
  18645. trademode:
  18646. description: 交易模式
  18647. type: integer
  18648. tradeproperty:
  18649. description: 交易属性
  18650. type: integer
  18651. usedmargin:
  18652. description: 占用保证金[商品币种]
  18653. type: number
  18654. required:
  18655. - goodsid
  18656. type: object
  18657. pb.GoodsMarginCfgStruct:
  18658. properties:
  18659. CustomerTypeID:
  18660. description: 投资者客户类型
  18661. type: integer
  18662. GoodsID:
  18663. description: 商品ID
  18664. type: integer
  18665. IsDefault:
  18666. description: 是否默认标志位
  18667. type: integer
  18668. LockMarginValue:
  18669. description: 锁仓保证金
  18670. type: number
  18671. MarginAlgorithm:
  18672. description: 保证金计算方式
  18673. type: integer
  18674. MarketMarginValue:
  18675. description: 即市保证金值
  18676. type: number
  18677. RealMarginAlgorithm:
  18678. description: 实付保证金计算方式
  18679. type: integer
  18680. RealMarginValue:
  18681. description: 实付比例
  18682. type: number
  18683. ReckonMarginValue:
  18684. description: 结算保证金值
  18685. type: number
  18686. type: object
  18687. quote.HistoryData:
  18688. properties:
  18689. c:
  18690. description: 收盘价
  18691. type: number
  18692. f:
  18693. description: 是否补充数据
  18694. type: boolean
  18695. h:
  18696. description: 最高价
  18697. type: number
  18698. hv:
  18699. description: 持仓量
  18700. type: integer
  18701. l:
  18702. description: 最低价
  18703. type: number
  18704. o:
  18705. description: 开盘价
  18706. type: number
  18707. s:
  18708. description: 结算价,日线周期(包括)以上才有
  18709. type: number
  18710. ts:
  18711. description: 时间
  18712. type: string
  18713. tt:
  18714. description: 总金额
  18715. type: number
  18716. tv:
  18717. description: 总量(成交量)
  18718. type: integer
  18719. type: object
  18720. quote.HistoryTikData:
  18721. properties:
  18722. AV:
  18723. description: 卖量
  18724. type: integer
  18725. Ask:
  18726. description: 卖价
  18727. type: number
  18728. BV:
  18729. description: 买量
  18730. type: integer
  18731. Bid:
  18732. description: 买价
  18733. type: number
  18734. HI:
  18735. description: 单笔持仓
  18736. type: integer
  18737. HV:
  18738. description: 持仓量
  18739. type: integer
  18740. PE:
  18741. description: 现价
  18742. type: number
  18743. TDR:
  18744. description: 交易方向,0:买 1:卖
  18745. type: integer
  18746. TK:
  18747. description: 交易类型
  18748. type: integer
  18749. TS:
  18750. description: 行情时间文本
  18751. type: string
  18752. TT:
  18753. description: 现金额
  18754. type: number
  18755. Vol:
  18756. description: 现量
  18757. type: integer
  18758. type: object
  18759. quote.QueryQuoteDayRsp:
  18760. properties:
  18761. ask:
  18762. description: 卖1
  18763. type: number
  18764. ask2:
  18765. description: 卖2
  18766. type: number
  18767. ask3:
  18768. description: 卖3
  18769. type: number
  18770. ask4:
  18771. description: 卖4
  18772. type: number
  18773. ask5:
  18774. description: 卖5
  18775. type: number
  18776. ask6:
  18777. description: 卖6
  18778. type: number
  18779. ask7:
  18780. description: 卖7
  18781. type: number
  18782. ask8:
  18783. description: 卖8
  18784. type: number
  18785. ask9:
  18786. description: 卖9
  18787. type: number
  18788. ask10:
  18789. description: 卖10
  18790. type: number
  18791. askorderid:
  18792. description: 卖单号1
  18793. type: integer
  18794. askorderid2:
  18795. description: 卖单号2
  18796. type: integer
  18797. askorderid3:
  18798. description: 卖单号3
  18799. type: integer
  18800. askorderid4:
  18801. description: 卖单号4
  18802. type: integer
  18803. askorderid5:
  18804. description: 卖单号5
  18805. type: integer
  18806. askordervolume:
  18807. description: 卖单量1
  18808. type: integer
  18809. askordervolume2:
  18810. description: 卖单量2
  18811. type: integer
  18812. askordervolume3:
  18813. description: 卖单量3
  18814. type: integer
  18815. askordervolume4:
  18816. description: 卖单量4
  18817. type: integer
  18818. askordervolume5:
  18819. description: 卖单量5
  18820. type: integer
  18821. askordervolume6:
  18822. description: 卖单量6
  18823. type: integer
  18824. askordervolume7:
  18825. description: 卖单量7
  18826. type: integer
  18827. askordervolume8:
  18828. description: 卖单量8
  18829. type: integer
  18830. askordervolume9:
  18831. description: 卖单量9
  18832. type: integer
  18833. askordervolume10:
  18834. description: 卖单量10
  18835. type: integer
  18836. askqueueinfo:
  18837. description: 大利市卖港股用
  18838. type: string
  18839. askvolume:
  18840. description: 卖量1
  18841. type: integer
  18842. askvolume2:
  18843. description: 卖量2
  18844. type: integer
  18845. askvolume3:
  18846. description: 卖量3
  18847. type: integer
  18848. askvolume4:
  18849. description: 卖量4
  18850. type: integer
  18851. askvolume5:
  18852. description: 卖量5
  18853. type: integer
  18854. askvolume6:
  18855. description: 卖量6
  18856. type: integer
  18857. askvolume7:
  18858. description: 卖量7
  18859. type: integer
  18860. askvolume8:
  18861. description: 卖量8
  18862. type: integer
  18863. askvolume9:
  18864. description: 卖量9
  18865. type: integer
  18866. askvolume10:
  18867. description: 卖量10
  18868. type: integer
  18869. averageprice:
  18870. description: 均价
  18871. type: number
  18872. bid:
  18873. description: 买1
  18874. type: number
  18875. bid2:
  18876. description: 买2
  18877. type: number
  18878. bid3:
  18879. description: 买3
  18880. type: number
  18881. bid4:
  18882. description: 买4
  18883. type: number
  18884. bid5:
  18885. description: 买5
  18886. type: number
  18887. bid6:
  18888. description: 买6
  18889. type: number
  18890. bid7:
  18891. description: 买7
  18892. type: number
  18893. bid8:
  18894. description: 买8
  18895. type: number
  18896. bid9:
  18897. description: 买9
  18898. type: number
  18899. bid10:
  18900. description: 买10
  18901. type: number
  18902. bidorderid:
  18903. description: 买单号1
  18904. type: integer
  18905. bidorderid2:
  18906. description: 买单号2
  18907. type: integer
  18908. bidorderid3:
  18909. description: 买单号3
  18910. type: integer
  18911. bidorderid4:
  18912. description: 买单号4
  18913. type: integer
  18914. bidorderid5:
  18915. description: 买单号5
  18916. type: integer
  18917. bidordervolume:
  18918. description: 买单量1
  18919. type: integer
  18920. bidordervolume2:
  18921. description: 买单量2
  18922. type: integer
  18923. bidordervolume3:
  18924. description: 买单量3
  18925. type: integer
  18926. bidordervolume4:
  18927. description: 买单量4
  18928. type: integer
  18929. bidordervolume5:
  18930. description: 买单量5
  18931. type: integer
  18932. bidordervolume6:
  18933. description: 买单量6
  18934. type: integer
  18935. bidordervolume7:
  18936. description: 买单量7
  18937. type: integer
  18938. bidordervolume8:
  18939. description: 买单量8
  18940. type: integer
  18941. bidordervolume9:
  18942. description: 买单量9
  18943. type: integer
  18944. bidordervolume10:
  18945. description: 买单量10
  18946. type: integer
  18947. bidqueueinfo:
  18948. description: 大利市买港股用
  18949. type: string
  18950. bidvolume:
  18951. description: 买量1
  18952. type: integer
  18953. bidvolume2:
  18954. description: 买量2
  18955. type: integer
  18956. bidvolume3:
  18957. description: 买量3
  18958. type: integer
  18959. bidvolume4:
  18960. description: 买量4
  18961. type: integer
  18962. bidvolume5:
  18963. description: 买量5
  18964. type: integer
  18965. bidvolume6:
  18966. description: 买量6
  18967. type: integer
  18968. bidvolume7:
  18969. description: 买量7
  18970. type: integer
  18971. bidvolume8:
  18972. description: 买量8
  18973. type: integer
  18974. bidvolume9:
  18975. description: 买量9
  18976. type: integer
  18977. bidvolume10:
  18978. description: 买量10
  18979. type: integer
  18980. calloptionpremiums:
  18981. description: 认购期权1
  18982. type: integer
  18983. calloptionpremiums2:
  18984. description: 认购期权2
  18985. type: integer
  18986. calloptionpremiums3:
  18987. description: 认购期权3
  18988. type: integer
  18989. calloptionpremiums4:
  18990. description: 认购期权4
  18991. type: integer
  18992. calloptionpremiums5:
  18993. description: 认购期权5
  18994. type: integer
  18995. cleartime:
  18996. description: 清盘时间
  18997. type: integer
  18998. exchangecode:
  18999. description: 交易所代码
  19000. type: integer
  19001. exchangedate:
  19002. description: 交易日
  19003. type: integer
  19004. goodscode:
  19005. description: 商品代码
  19006. type: string
  19007. grepmarketprice:
  19008. description: 暗盘价 港股专用
  19009. type: number
  19010. highest:
  19011. description: 最高价
  19012. type: number
  19013. holdincrement:
  19014. description: 单笔持仓
  19015. type: integer
  19016. holdvolume:
  19017. description: 持仓
  19018. type: integer
  19019. iep:
  19020. description: 平衡价 港股专用
  19021. type: number
  19022. iev:
  19023. description: 平衡量 港股专用
  19024. type: number
  19025. inventory:
  19026. description: 库存
  19027. type: integer
  19028. iscleared:
  19029. description: 是否清盘标志
  19030. type: integer
  19031. issettled:
  19032. description: 是否结算标志
  19033. type: integer
  19034. last:
  19035. description: 最新价
  19036. type: number
  19037. lastlot:
  19038. description: 最新成交手数
  19039. type: integer
  19040. lasttime:
  19041. description: 行情时间(只有现价变化行情时间才变化)
  19042. type: string
  19043. lastturnover:
  19044. description: 最新成交金额
  19045. type: number
  19046. lastvolume:
  19047. description: 最新成交量
  19048. type: integer
  19049. limitdown:
  19050. description: 跌停价
  19051. type: number
  19052. limitup:
  19053. description: 涨停价
  19054. type: number
  19055. lowest:
  19056. description: 最低价
  19057. type: number
  19058. nontotalholdervolume:
  19059. description: 非交易持仓量
  19060. type: integer
  19061. nontotallot:
  19062. description: 非交易总手数
  19063. type: integer
  19064. nontotalturnover:
  19065. description: 非交易总金额
  19066. type: integer
  19067. nontotalvolume:
  19068. description: 非交易总量
  19069. type: integer
  19070. opened:
  19071. description: 开盘价
  19072. type: number
  19073. opentime:
  19074. description: 开盘时间
  19075. type: string
  19076. orderid:
  19077. description: 序号
  19078. type: integer
  19079. preclose:
  19080. description: 昨收
  19081. type: number
  19082. preholdvolume:
  19083. description: 昨持仓
  19084. type: integer
  19085. presettle:
  19086. description: 昨结价
  19087. type: number
  19088. publictradetype:
  19089. description: 公共交易标志类型 港股专用
  19090. type: string
  19091. putoptionpremiums:
  19092. description: 认沽期权1
  19093. type: integer
  19094. putoptionpremiums2:
  19095. description: 认沽期权2
  19096. type: integer
  19097. putoptionpremiums3:
  19098. description: 认沽期权3
  19099. type: integer
  19100. putoptionpremiums4:
  19101. description: 认沽期权4
  19102. type: integer
  19103. putoptionpremiums5:
  19104. description: 认沽期权5
  19105. type: integer
  19106. settle:
  19107. description: 结算价
  19108. type: number
  19109. strikeprice:
  19110. description: 发行价
  19111. type: number
  19112. totalaskvolume:
  19113. description: 内盘
  19114. type: integer
  19115. totalbidvolume:
  19116. description: 外盘
  19117. type: integer
  19118. totallot:
  19119. description: 总手数
  19120. type: integer
  19121. totalturnover:
  19122. description: 总金额
  19123. type: number
  19124. totalvolume:
  19125. description: 总量
  19126. type: integer
  19127. utclasttime:
  19128. description: utc的行情时间
  19129. type: string
  19130. type: object
  19131. quote.QueryTSDataRsp:
  19132. properties:
  19133. Count:
  19134. description: 交易日应有数据个数
  19135. type: integer
  19136. decimalPlace:
  19137. description: 小数位
  19138. type: integer
  19139. endTime:
  19140. description: 结束时间
  19141. type: string
  19142. goodsCode:
  19143. description: 商品代码
  19144. type: string
  19145. historyDatas:
  19146. description: 历史数据
  19147. items:
  19148. $ref: '#/definitions/quote.HistoryData'
  19149. type: array
  19150. outGoodsCode:
  19151. description: 外部商品代码
  19152. type: string
  19153. preSettle:
  19154. description: 昨结价
  19155. type: number
  19156. runSteps:
  19157. description: 交易日开休市计划
  19158. items:
  19159. $ref: '#/definitions/quote.TSDataRunStep'
  19160. type: array
  19161. startTime:
  19162. description: 开始时间
  19163. type: string
  19164. tradeDate:
  19165. description: 交易日
  19166. type: string
  19167. type: object
  19168. quote.TSDataRunStep:
  19169. properties:
  19170. end:
  19171. description: 真实结束时间
  19172. type: string
  19173. endflag:
  19174. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  19175. type: integer
  19176. endtime:
  19177. description: 结束时间(HH:mm)
  19178. type: string
  19179. endweekday:
  19180. description: 结束周几
  19181. type: integer
  19182. groupid:
  19183. description: 分组ID
  19184. type: integer
  19185. runstep:
  19186. description: 运行阶段 - 2:连续交易
  19187. type: integer
  19188. sectionid:
  19189. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  19190. 结束时间=结算时间 结束周几=结算周几
  19191. type: integer
  19192. start:
  19193. description: 真实开始时间
  19194. type: string
  19195. startflag:
  19196. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  19197. type: integer
  19198. starttime:
  19199. description: 起始时间(HH:mm)
  19200. type: string
  19201. startweekday:
  19202. description: 起始周几
  19203. type: integer
  19204. tradeweekday:
  19205. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  19206. type: integer
  19207. type: object
  19208. szdz.QueryConvertLogRsp:
  19209. properties:
  19210. accountid:
  19211. description: 资金账户ID
  19212. type: integer
  19213. clientticket:
  19214. description: 客户端流水号
  19215. type: string
  19216. converttype:
  19217. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  19218. type: integer
  19219. createtime:
  19220. description: 记账时间
  19221. type: string
  19222. daymaxvalue:
  19223. description: 配置当日最大转入限制
  19224. type: number
  19225. daymaxvalue2:
  19226. description: 配置当日最大转入限制(转入)
  19227. type: number
  19228. goodscode:
  19229. description: 商品代码
  19230. type: string
  19231. goodsname:
  19232. description: 商品名称
  19233. type: string
  19234. handlestatus:
  19235. description: 处理状态
  19236. type: integer
  19237. innergoodsid:
  19238. description: 内部商品ID
  19239. type: integer
  19240. inratio:
  19241. description: 配置转入比值
  19242. type: integer
  19243. invalue:
  19244. description: 目标值
  19245. type: number
  19246. logid:
  19247. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  19248. type: integer
  19249. mobile:
  19250. description: 手机号码(加密存储)
  19251. type: string
  19252. outergoodscode:
  19253. description: 外部商品代码[JD\PD]
  19254. type: string
  19255. outratio:
  19256. description: 配置转出比值
  19257. type: integer
  19258. outvalue:
  19259. description: 源值
  19260. type: number
  19261. pddecimalplace:
  19262. description: PD小数位
  19263. type: integer
  19264. qty:
  19265. description: 数量
  19266. type: string
  19267. remark:
  19268. description: 备注
  19269. type: string
  19270. sessionid:
  19271. description: 会话ID
  19272. type: integer
  19273. timemaxvalue:
  19274. description: 配置单次最大转入限制
  19275. type: number
  19276. timemaxvalue2:
  19277. description: 配置单次最大转入限制(转入)
  19278. type: number
  19279. timeminvalue:
  19280. description: 配置单次最小数量限制
  19281. type: number
  19282. timeminvalue2:
  19283. description: 配置单次最小数量限制(转入)
  19284. type: number
  19285. tradedate:
  19286. description: 交易日(yyyyMMdd)
  19287. type: string
  19288. userid:
  19289. description: 用户ID
  19290. type: integer
  19291. required:
  19292. - logid
  19293. type: object
  19294. szdz.QueryGoodsPickupRsp:
  19295. properties:
  19296. accountid:
  19297. description: 账户ID
  19298. type: integer
  19299. address:
  19300. description: 提货人详细地址
  19301. type: string
  19302. auditer:
  19303. description: 审核人
  19304. type: integer
  19305. audittime:
  19306. description: 审核时间
  19307. type: string
  19308. cardnum:
  19309. description: 提货人证件号码
  19310. type: string
  19311. cardtypeid:
  19312. description: 提货人证件类型
  19313. type: integer
  19314. checkremark:
  19315. description: 审核备注
  19316. type: string
  19317. goodscode:
  19318. description: 商品代码
  19319. type: string
  19320. goodsid:
  19321. description: 商品ID
  19322. type: integer
  19323. goodsname:
  19324. description: 商品名称
  19325. type: string
  19326. handlestatus:
  19327. description: 处理状态
  19328. type: integer
  19329. marketid:
  19330. description: 市场ID
  19331. type: integer
  19332. phonenum:
  19333. description: 提货人联系方式
  19334. type: string
  19335. qty:
  19336. description: 提货数量
  19337. type: number
  19338. recivername:
  19339. description: 提货人姓名
  19340. type: string
  19341. reqtime:
  19342. description: 更新时间
  19343. type: string
  19344. takemode:
  19345. description: 提货方式 - 2:自提 3:配送
  19346. type: integer
  19347. takeorderid:
  19348. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  19349. type: string
  19350. takeorderstatus:
  19351. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  19352. type: integer
  19353. takeremark:
  19354. description: 提货备注
  19355. type: string
  19356. tradedate:
  19357. description: 交易日(yyyyMMdd)
  19358. type: string
  19359. userid:
  19360. description: 用户ID
  19361. type: integer
  19362. required:
  19363. - takeorderid
  19364. type: object
  19365. szdz.QueryRecieptOrderRsp:
  19366. properties:
  19367. accountName:
  19368. description: 所属账号名称(已脱敏)
  19369. type: string
  19370. accountid:
  19371. description: 资金账号
  19372. type: integer
  19373. buyorsell:
  19374. description: 方向 - 0:买 1:卖
  19375. type: integer
  19376. enableqty:
  19377. description: 可摘数量
  19378. type: integer
  19379. goodscode:
  19380. description: 商品代码
  19381. type: string
  19382. goodsid:
  19383. description: 商品ID
  19384. type: integer
  19385. goodsname:
  19386. description: 商品名称
  19387. type: string
  19388. orderid:
  19389. description: 委托单号
  19390. type: string
  19391. orderprice:
  19392. description: 委托价格
  19393. type: number
  19394. ordertime:
  19395. description: 委托时间
  19396. type: string
  19397. tradedate:
  19398. description: 交易日(yyyyMMdd)
  19399. type: string
  19400. required:
  19401. - ordertime
  19402. type: object
  19403. szdz.QuerySZDZTradePositionRsp:
  19404. properties:
  19405. accountid:
  19406. description: 账号Id
  19407. type: integer
  19408. agreeunit:
  19409. description: 合约单位
  19410. type: number
  19411. averageprice:
  19412. description: 持仓均价
  19413. type: number
  19414. buyorsell:
  19415. description: 方向 - 0:买 1:卖
  19416. type: integer
  19417. closetotalqty:
  19418. description: 平仓总数量
  19419. type: integer
  19420. curholderamount:
  19421. description: 当前持仓总金额
  19422. type: number
  19423. curpositionqty:
  19424. description: 当前持仓总数量
  19425. type: integer
  19426. currencyid:
  19427. description: 报价货币ID
  19428. type: integer
  19429. curtdposition:
  19430. description: 期末今日头寸
  19431. type: integer
  19432. decimalplace:
  19433. description: 报价小数位
  19434. type: integer
  19435. enableqty:
  19436. description: 可用量
  19437. type: integer
  19438. fretdposition:
  19439. description: 冻结今日头寸
  19440. type: integer
  19441. frozenqty:
  19442. description: 持仓冻结数量
  19443. type: integer
  19444. goodscode:
  19445. description: 商品代码(内部)
  19446. type: string
  19447. goodsid:
  19448. description: 商品Id
  19449. type: integer
  19450. goodsname:
  19451. description: 商品名称
  19452. type: string
  19453. goodunit:
  19454. description: 报价单位
  19455. type: string
  19456. goodunitid:
  19457. description: 报价单位ID
  19458. type: integer
  19459. holderamount:
  19460. description: 期初持仓总金额
  19461. type: number
  19462. marketid:
  19463. description: 市场ID
  19464. type: integer
  19465. openreqqty:
  19466. description: 开仓申请数量
  19467. type: integer
  19468. opentotalqty:
  19469. description: 开仓总数量
  19470. type: integer
  19471. otherfrozenqty:
  19472. description: 持仓其他冻结数量(交割冻结)
  19473. type: integer
  19474. positionqty:
  19475. description: 期初持仓数量
  19476. type: integer
  19477. szdz3freezqty:
  19478. description: 尚志大宗转换冻结总数量
  19479. type: integer
  19480. tnqty:
  19481. description: T+N冻结总量
  19482. type: integer
  19483. tnusedqty:
  19484. description: T+N使用量
  19485. type: integer
  19486. trademode:
  19487. description: 交易模式
  19488. type: integer
  19489. usedmargin:
  19490. description: 占用保证金
  19491. type: number
  19492. type: object
  19493. taaccount.QueryAmountLogRsp:
  19494. properties:
  19495. OPERATETYPENAME:
  19496. description: 资金操作类型名称
  19497. type: string
  19498. accountid:
  19499. description: 资金账户ID
  19500. type: integer
  19501. agoodscode:
  19502. description: 竞拍商品代码
  19503. type: string
  19504. agoodsname:
  19505. description: 竞拍商品名称
  19506. type: string
  19507. amount:
  19508. description: 资金金额
  19509. type: number
  19510. amountadjusttype:
  19511. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  19512. type: integer
  19513. autoid:
  19514. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  19515. type: integer
  19516. balance:
  19517. description: 期初余额
  19518. type: number
  19519. businesscode:
  19520. description: 业务编号
  19521. type: integer
  19522. createtime:
  19523. description: 发生时间
  19524. type: string
  19525. currencyid:
  19526. description: 币种ID
  19527. type: integer
  19528. currentbalance:
  19529. description: 期末余额(变动后金额)
  19530. type: number
  19531. dgoodscode:
  19532. description: 交割商品代码
  19533. type: string
  19534. dgoodsname:
  19535. description: 交割商品名称
  19536. type: string
  19537. goodscode:
  19538. description: 商品代码
  19539. type: string
  19540. goodsid:
  19541. description: 商品ID
  19542. type: integer
  19543. goodsname:
  19544. description: 商品名称
  19545. type: string
  19546. marketid:
  19547. description: 市场ID
  19548. type: integer
  19549. marketname:
  19550. description: 市场名称
  19551. type: string
  19552. moneyticket:
  19553. description: 资金流水号:银行端流水号
  19554. type: integer
  19555. operatetype:
  19556. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  19557. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  19558. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  19559. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  19560. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  19561. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  19562. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  19563. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  19564. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  19565. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  19566. type: integer
  19567. relationorderid:
  19568. description: 关联单号
  19569. type: string
  19570. remark:
  19571. description: 备注
  19572. type: string
  19573. trademode:
  19574. description: 交易模式
  19575. type: integer
  19576. required:
  19577. - accountid
  19578. - amount
  19579. - amountadjusttype
  19580. - autoid
  19581. - balance
  19582. - createtime
  19583. - currentbalance
  19584. - operatetype
  19585. type: object
  19586. taaccount.QueryHisAmountLogRsp:
  19587. properties:
  19588. OPERATETYPENAME:
  19589. description: 资金操作类型名称
  19590. type: string
  19591. accountid:
  19592. description: 资金账户ID
  19593. type: integer
  19594. agoodscode:
  19595. description: 竞拍商品代码
  19596. type: string
  19597. agoodsname:
  19598. description: 竞拍商品名称
  19599. type: string
  19600. amount:
  19601. description: 资金金额
  19602. type: number
  19603. amountadjusttype:
  19604. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  19605. type: integer
  19606. autoid:
  19607. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  19608. type: integer
  19609. balance:
  19610. description: 期初余额
  19611. type: number
  19612. businesscode:
  19613. description: 业务编号
  19614. type: integer
  19615. createtime:
  19616. description: 发生时间
  19617. type: string
  19618. currencyid:
  19619. description: 币种ID
  19620. type: integer
  19621. currentbalance:
  19622. description: 期末余额(变动后金额)
  19623. type: number
  19624. dgoodscode:
  19625. description: 交割商品代码
  19626. type: string
  19627. dgoodsname:
  19628. description: 交割商品名称
  19629. type: string
  19630. goodscode:
  19631. description: 商品代码
  19632. type: string
  19633. goodsid:
  19634. description: 商品ID
  19635. type: integer
  19636. goodsname:
  19637. description: 商品名称
  19638. type: string
  19639. histradedate:
  19640. description: 历史交易日
  19641. type: string
  19642. isvaliddata:
  19643. description: 是否有效 - 0:无效 1:有效
  19644. type: integer
  19645. marketid:
  19646. description: 市场ID
  19647. type: integer
  19648. marketname:
  19649. description: 市场名称
  19650. type: string
  19651. moneyticket:
  19652. description: 资金流水号:银行端流水号
  19653. type: integer
  19654. operatetype:
  19655. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  19656. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  19657. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  19658. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  19659. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  19660. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  19661. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  19662. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  19663. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  19664. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  19665. type: integer
  19666. relationorderid:
  19667. description: 关联单号
  19668. type: string
  19669. remark:
  19670. description: 备注
  19671. type: string
  19672. trademode:
  19673. description: 交易模式
  19674. type: integer
  19675. required:
  19676. - accountid
  19677. - amount
  19678. - amountadjusttype
  19679. - autoid
  19680. - balance
  19681. - createtime
  19682. - currentbalance
  19683. - histradedate
  19684. - operatetype
  19685. type: object
  19686. trade.QueryRecieptOrderRsp:
  19687. properties:
  19688. accountName:
  19689. description: 所属账号名称(已脱敏)
  19690. type: string
  19691. accountid:
  19692. description: 资金账号
  19693. type: integer
  19694. buyorsell:
  19695. description: 方向 - 0:买 1:卖
  19696. type: integer
  19697. enableqty:
  19698. description: 可摘数量
  19699. type: integer
  19700. goodscode:
  19701. description: 商品代码
  19702. type: string
  19703. goodsid:
  19704. description: 商品ID
  19705. type: integer
  19706. goodsname:
  19707. description: 商品名称
  19708. type: string
  19709. orderid:
  19710. description: 委托单号
  19711. type: string
  19712. orderprice:
  19713. description: 委托价格
  19714. type: number
  19715. ordertime:
  19716. description: 委托时间
  19717. type: string
  19718. tradedate:
  19719. description: 交易日(yyyyMMdd)
  19720. type: string
  19721. required:
  19722. - ordertime
  19723. type: object
  19724. user.LoginQueryRsp:
  19725. properties:
  19726. areaRoles:
  19727. description: 所属角色信息
  19728. items:
  19729. $ref: '#/definitions/models.Arearole'
  19730. type: array
  19731. externalExchanges:
  19732. description: 外部交易所
  19733. items:
  19734. $ref: '#/definitions/models.Externalexchange'
  19735. type: array
  19736. goodsgroups:
  19737. description: 商品组
  19738. items:
  19739. $ref: '#/definitions/models.Goodsgroup'
  19740. type: array
  19741. loginAccount:
  19742. $ref: '#/definitions/models.Loginaccount'
  19743. description: 登录账号
  19744. markets:
  19745. description: 市场
  19746. items:
  19747. $ref: '#/definitions/models.Market'
  19748. type: array
  19749. systemParams:
  19750. description: 系统参数
  19751. items:
  19752. $ref: '#/definitions/models.Systemparam'
  19753. type: array
  19754. userAccount:
  19755. $ref: '#/definitions/models.Useraccount'
  19756. description: 用户账号
  19757. userInfo:
  19758. $ref: '#/definitions/models.Userinfo'
  19759. description: 用户信息
  19760. username:
  19761. description: 用户姓名
  19762. type: string
  19763. type: object
  19764. info:
  19765. contact: {}
  19766. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  19767. termsOfService: http://www.muchinfo.cn
  19768. title: MTP2.0 查询服务 API
  19769. version: "1.0"
  19770. paths:
  19771. /CPTrade/QueryCPTradeMyBidInfos:
  19772. get:
  19773. parameters:
  19774. - description: 资金账户
  19775. in: query
  19776. name: accountid
  19777. required: true
  19778. type: integer
  19779. - description: 预售市场ID
  19780. in: query
  19781. name: marketid
  19782. type: integer
  19783. - description: 预售商品ID
  19784. in: query
  19785. name: goodsid
  19786. type: integer
  19787. produces:
  19788. - application/json
  19789. responses:
  19790. "200":
  19791. description: OK
  19792. schema:
  19793. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  19794. "500":
  19795. description: Internal Server Error
  19796. schema:
  19797. $ref: '#/definitions/app.Response'
  19798. security:
  19799. - ApiKeyAuth: []
  19800. summary: 查询产能预售我的出价信息
  19801. tags:
  19802. - 产能预售
  19803. /CPTrade/QueryCPTradeOrderDetail:
  19804. get:
  19805. parameters:
  19806. - description: 预售商品ID
  19807. in: query
  19808. name: goodsid
  19809. type: integer
  19810. - description: 预售市场ID
  19811. in: query
  19812. name: marketid
  19813. type: integer
  19814. - description: 预售商品ID列表 - 格式:1,2,3
  19815. in: query
  19816. name: goodsids
  19817. type: string
  19818. produces:
  19819. - application/json
  19820. responses:
  19821. "200":
  19822. description: OK
  19823. schema:
  19824. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  19825. "500":
  19826. description: Internal Server Error
  19827. schema:
  19828. $ref: '#/definitions/app.Response'
  19829. security:
  19830. - ApiKeyAuth: []
  19831. summary: 查询产能预售委托单信息
  19832. tags:
  19833. - 产能预售
  19834. /CPTrade/QueryMyCPTradeGoods:
  19835. get:
  19836. parameters:
  19837. - description: 资金账户
  19838. in: query
  19839. name: accountid
  19840. required: true
  19841. type: integer
  19842. produces:
  19843. - application/json
  19844. responses:
  19845. "200":
  19846. description: OK
  19847. schema:
  19848. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  19849. "500":
  19850. description: Internal Server Error
  19851. schema:
  19852. $ref: '#/definitions/app.Response'
  19853. security:
  19854. - ApiKeyAuth: []
  19855. summary: 查询我的预售信息
  19856. tags:
  19857. - 产能预售
  19858. /CPTrade/QueryPositionCancel:
  19859. get:
  19860. parameters:
  19861. - description: 账户ID
  19862. in: query
  19863. name: userid
  19864. required: true
  19865. type: integer
  19866. - description: 注销ID
  19867. in: query
  19868. name: cancelid
  19869. type: integer
  19870. - description: 资金账户ID
  19871. in: query
  19872. name: accountid
  19873. type: integer
  19874. produces:
  19875. - application/json
  19876. responses:
  19877. "200":
  19878. description: OK
  19879. schema:
  19880. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  19881. "500":
  19882. description: Internal Server Error
  19883. schema:
  19884. $ref: '#/definitions/app.Response'
  19885. security:
  19886. - ApiKeyAuth: []
  19887. summary: 查询远期订单注销申请信息
  19888. tags:
  19889. - 产能预售
  19890. /CPTrade/QueryPreasleApply:
  19891. get:
  19892. parameters:
  19893. - description: 账户ID
  19894. in: query
  19895. name: userid
  19896. required: true
  19897. type: integer
  19898. - description: 申请ID
  19899. in: query
  19900. name: applyid
  19901. type: integer
  19902. - description: 资金账户ID
  19903. in: query
  19904. name: accountid
  19905. type: integer
  19906. produces:
  19907. - application/json
  19908. responses:
  19909. "200":
  19910. description: OK
  19911. schema:
  19912. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  19913. "500":
  19914. description: Internal Server Error
  19915. schema:
  19916. $ref: '#/definitions/app.Response'
  19917. security:
  19918. - ApiKeyAuth: []
  19919. summary: 查询产能预售申请信息
  19920. tags:
  19921. - 产能预售
  19922. /CPTrade/QueryPresaleGoodsEx:
  19923. get:
  19924. parameters:
  19925. - description: 预售商品ID
  19926. in: query
  19927. name: goodsid
  19928. type: integer
  19929. - description: 预售市场ID
  19930. in: query
  19931. name: marketid
  19932. type: integer
  19933. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  19934. in: query
  19935. name: presalemode
  19936. type: integer
  19937. - description: 预售商品ID列表 - 格式:1,2,3
  19938. in: query
  19939. name: goodsids
  19940. type: string
  19941. - description: 预售商品代码
  19942. in: query
  19943. name: goodscode
  19944. type: string
  19945. produces:
  19946. - application/json
  19947. responses:
  19948. "200":
  19949. description: OK
  19950. schema:
  19951. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  19952. "500":
  19953. description: Internal Server Error
  19954. schema:
  19955. $ref: '#/definitions/app.Response'
  19956. security:
  19957. - ApiKeyAuth: []
  19958. summary: 查询产能预售商品扩展信息
  19959. tags:
  19960. - 产能预售
  19961. /CPTrade/QueryUserGoodsData:
  19962. get:
  19963. parameters:
  19964. - description: 资金账户ID
  19965. in: query
  19966. name: accountid
  19967. required: true
  19968. type: integer
  19969. produces:
  19970. - application/json
  19971. responses:
  19972. "200":
  19973. description: OK
  19974. schema:
  19975. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  19976. "500":
  19977. description: Internal Server Error
  19978. schema:
  19979. $ref: '#/definitions/app.Response'
  19980. security:
  19981. - ApiKeyAuth: []
  19982. summary: 查询远期订单信息
  19983. tags:
  19984. - 产能预售
  19985. /Common/GetAllEnums:
  19986. get:
  19987. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  19988. parameters:
  19989. - description: 起始自增ID
  19990. in: query
  19991. name: autoid
  19992. type: integer
  19993. produces:
  19994. - application/json
  19995. responses:
  19996. "200":
  19997. description: OK
  19998. schema:
  19999. $ref: '#/definitions/models.Enumdicitem'
  20000. "500":
  20001. description: Internal Server Error
  20002. schema:
  20003. $ref: '#/definitions/app.Response'
  20004. summary: 获取所有枚举信息
  20005. tags:
  20006. - 通用服务
  20007. /Common/GetClientMenus:
  20008. get:
  20009. parameters:
  20010. - description: 登录账号
  20011. in: query
  20012. name: loginID
  20013. required: true
  20014. type: integer
  20015. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  20016. in: query
  20017. name: clientType
  20018. type: integer
  20019. - description: 分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台
  20020. in: query
  20021. name: name
  20022. type: string
  20023. produces:
  20024. - application/json
  20025. responses:
  20026. "200":
  20027. description: OK
  20028. schema:
  20029. items:
  20030. $ref: '#/definitions/common.ClientMenu'
  20031. type: array
  20032. "500":
  20033. description: Internal Server Error
  20034. schema:
  20035. $ref: '#/definitions/app.Response'
  20036. security:
  20037. - ApiKeyAuth: []
  20038. summary: 获取交易端菜单
  20039. tags:
  20040. - 通用服务
  20041. /Common/GetDivisions:
  20042. get:
  20043. produces:
  20044. - application/json
  20045. responses:
  20046. "200":
  20047. description: OK
  20048. schema:
  20049. $ref: '#/definitions/models.Division'
  20050. "500":
  20051. description: Internal Server Error
  20052. schema:
  20053. $ref: '#/definitions/app.Response'
  20054. summary: 查询区域信息
  20055. tags:
  20056. - 通用服务
  20057. /Common/GetPCWebMenus:
  20058. get:
  20059. parameters:
  20060. - description: 登录账号
  20061. in: query
  20062. name: loginID
  20063. required: true
  20064. type: integer
  20065. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  20066. in: query
  20067. name: name
  20068. type: string
  20069. produces:
  20070. - application/json
  20071. responses:
  20072. "200":
  20073. description: OK
  20074. schema:
  20075. items:
  20076. $ref: '#/definitions/common.PCWebMenu'
  20077. type: array
  20078. "500":
  20079. description: Internal Server Error
  20080. schema:
  20081. $ref: '#/definitions/app.Response'
  20082. security:
  20083. - ApiKeyAuth: []
  20084. summary: 获取PCWeb交易端菜单
  20085. tags:
  20086. - 通用服务
  20087. /Common/GetServerTime:
  20088. get:
  20089. produces:
  20090. - application/json
  20091. responses:
  20092. "200":
  20093. description: OK
  20094. schema:
  20095. $ref: '#/definitions/app.Response'
  20096. "500":
  20097. description: Internal Server Error
  20098. schema:
  20099. $ref: '#/definitions/app.Response'
  20100. summary: 获取服务器时间
  20101. tags:
  20102. - 通用服务
  20103. /Common/NoticeReaded:
  20104. post:
  20105. parameters:
  20106. - description: 登录账号
  20107. in: query
  20108. name: loginID
  20109. required: true
  20110. type: integer
  20111. - description: 通知公告ID
  20112. in: query
  20113. name: noticeID
  20114. required: true
  20115. type: integer
  20116. produces:
  20117. - application/json
  20118. responses:
  20119. "200":
  20120. description: OK
  20121. schema:
  20122. $ref: '#/definitions/app.Response'
  20123. "500":
  20124. description: Internal Server Error
  20125. schema:
  20126. $ref: '#/definitions/app.Response'
  20127. security:
  20128. - ApiKeyAuth: []
  20129. summary: 通知公告设置已读请求
  20130. tags:
  20131. - 通用服务
  20132. /Common/QueryErrorInfos:
  20133. get:
  20134. description: 如果传入rowNumber,则返回此rowNumber后的数据
  20135. parameters:
  20136. - description: 起始行号前索引
  20137. in: query
  20138. name: rowNumber
  20139. type: string
  20140. produces:
  20141. - application/json
  20142. responses:
  20143. "200":
  20144. description: OK
  20145. schema:
  20146. $ref: '#/definitions/models.QueryErrorInfosRsp'
  20147. "500":
  20148. description: Internal Server Error
  20149. schema:
  20150. $ref: '#/definitions/app.Response'
  20151. summary: 获取数据库错误信息
  20152. tags:
  20153. - 通用服务
  20154. /Common/QueryImageConfigs:
  20155. get:
  20156. parameters:
  20157. - description: 用户id
  20158. in: query
  20159. name: userId
  20160. type: integer
  20161. - description: 类型 - 1:App首页轮播 2:我的 3:首页(PC) 4:首页推广(移动-新会)
  20162. in: query
  20163. name: imageType
  20164. type: integer
  20165. produces:
  20166. - application/json
  20167. responses:
  20168. "200":
  20169. description: OK
  20170. schema:
  20171. $ref: '#/definitions/common.QueryImageConfigsRsp'
  20172. "500":
  20173. description: Internal Server Error
  20174. schema:
  20175. $ref: '#/definitions/app.Response'
  20176. summary: 查询轮播图配置信息
  20177. tags:
  20178. - 通用服务
  20179. /Common/QueryNotice:
  20180. get:
  20181. parameters:
  20182. - description: 页码
  20183. in: query
  20184. name: page
  20185. type: integer
  20186. - description: 每页条数
  20187. in: query
  20188. name: pagesize
  20189. type: integer
  20190. - description: 登录账号
  20191. in: query
  20192. name: loginID
  20193. required: true
  20194. type: integer
  20195. - description: 消息类型 - 1:公告通知 2:系统消息
  20196. in: query
  20197. name: msgType
  20198. type: integer
  20199. - description: 是否只获取未读信息
  20200. in: query
  20201. name: onlyUnRead
  20202. type: boolean
  20203. - description: 自增ID,传入后会返回这个ID后面的记录
  20204. in: query
  20205. name: lastID
  20206. type: integer
  20207. produces:
  20208. - application/json
  20209. responses:
  20210. "200":
  20211. description: OK
  20212. schema:
  20213. $ref: '#/definitions/common.QueryNoticeRsp'
  20214. "500":
  20215. description: Internal Server Error
  20216. schema:
  20217. $ref: '#/definitions/app.Response'
  20218. security:
  20219. - ApiKeyAuth: []
  20220. summary: 通知公告系统消息查询
  20221. tags:
  20222. - 通用服务
  20223. /Common/QueryProvincesAndCities:
  20224. get:
  20225. parameters:
  20226. - description: 省ID
  20227. in: query
  20228. name: provinceID
  20229. type: integer
  20230. produces:
  20231. - application/json
  20232. responses:
  20233. "200":
  20234. description: OK
  20235. schema:
  20236. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  20237. "500":
  20238. description: Internal Server Error
  20239. schema:
  20240. $ref: '#/definitions/app.Response'
  20241. summary: 查询省市信息(不包括区)
  20242. tags:
  20243. - 通用服务
  20244. /Common/QueryTableDefine:
  20245. get:
  20246. parameters:
  20247. - description: 表key
  20248. in: query
  20249. name: tableKey
  20250. type: string
  20251. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  20252. in: query
  20253. name: tableType
  20254. type: integer
  20255. produces:
  20256. - application/json
  20257. responses:
  20258. "200":
  20259. description: OK
  20260. schema:
  20261. $ref: '#/definitions/common.QueryTableDefineRsp'
  20262. "500":
  20263. description: Internal Server Error
  20264. schema:
  20265. $ref: '#/definitions/app.Response'
  20266. summary: 查询交易端列表头信息
  20267. tags:
  20268. - 通用服务
  20269. /Common/QueryTraderMenu:
  20270. get:
  20271. parameters:
  20272. - description: 登录账号
  20273. in: query
  20274. name: loginid
  20275. required: true
  20276. type: integer
  20277. produces:
  20278. - application/json
  20279. responses:
  20280. "200":
  20281. description: OK
  20282. schema:
  20283. $ref: '#/definitions/common.QueryTraderMenuRsp'
  20284. "500":
  20285. description: Internal Server Error
  20286. schema:
  20287. $ref: '#/definitions/app.Response'
  20288. summary: 查询交易端菜单
  20289. tags:
  20290. - 通用服务
  20291. /Delivery/QueryDeliveryRelation:
  20292. get:
  20293. parameters:
  20294. - description: 商品ID
  20295. in: query
  20296. name: goodsid
  20297. type: integer
  20298. - description: 品种ID
  20299. in: query
  20300. name: deliverygoodsid
  20301. type: integer
  20302. - description: 市场ID
  20303. in: query
  20304. name: marketid
  20305. type: integer
  20306. produces:
  20307. - application/json
  20308. responses:
  20309. "200":
  20310. description: OK
  20311. schema:
  20312. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  20313. "500":
  20314. description: Internal Server Error
  20315. schema:
  20316. $ref: '#/definitions/app.Response'
  20317. security:
  20318. - ApiKeyAuth: []
  20319. summary: 查询商品交割关系表
  20320. tags:
  20321. - 交割服务
  20322. /Ermcp/GetErmcpGoods:
  20323. get:
  20324. parameters:
  20325. - description: 用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)
  20326. in: query
  20327. name: userid
  20328. type: integer
  20329. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  20330. in: query
  20331. name: lastUpdateTime
  20332. type: string
  20333. produces:
  20334. - application/json
  20335. responses:
  20336. "200":
  20337. description: OK
  20338. schema:
  20339. $ref: '#/definitions/models.ErmcpGoods'
  20340. "500":
  20341. description: Internal Server Error
  20342. schema:
  20343. $ref: '#/definitions/app.Response'
  20344. security:
  20345. - ApiKeyAuth: []
  20346. summary: 查询企业风管期货商品信息
  20347. tags:
  20348. - 企业风险管理(app)
  20349. /Ermcp/GetErmcpGoodsSortByPosition:
  20350. get:
  20351. parameters:
  20352. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  20353. in: query
  20354. name: sortIndex
  20355. type: string
  20356. produces:
  20357. - application/json
  20358. responses:
  20359. "200":
  20360. description: OK
  20361. schema:
  20362. $ref: '#/definitions/models.Goodssortbypreposition'
  20363. "500":
  20364. description: Internal Server Error
  20365. schema:
  20366. $ref: '#/definitions/app.Response'
  20367. security:
  20368. - ApiKeyAuth: []
  20369. summary: 查询企业风管期货主力、次主力商品信息
  20370. tags:
  20371. - 企业风险管理(app)
  20372. /Ermcp/GetErmcpOutAccountStatus:
  20373. get:
  20374. parameters:
  20375. - description: 登录账号
  20376. in: query
  20377. name: loginID
  20378. required: true
  20379. type: integer
  20380. produces:
  20381. - application/json
  20382. responses:
  20383. "200":
  20384. description: OK
  20385. schema:
  20386. $ref: '#/definitions/models.Hedgemarketopenlog'
  20387. "500":
  20388. description: Internal Server Error
  20389. schema:
  20390. $ref: '#/definitions/app.Response'
  20391. security:
  20392. - ApiKeyAuth: []
  20393. summary: 获取目标登录账号当前对冲账号在线状态
  20394. tags:
  20395. - 企业风险管理(app)
  20396. /Ermcp/GetErmcpRoleFuncMenuLists:
  20397. get:
  20398. parameters:
  20399. - description: 登录账号
  20400. in: query
  20401. name: loginID
  20402. required: true
  20403. type: integer
  20404. produces:
  20405. - application/json
  20406. responses:
  20407. "200":
  20408. description: OK
  20409. schema:
  20410. $ref: '#/definitions/models.Funcmenulist'
  20411. "500":
  20412. description: Internal Server Error
  20413. schema:
  20414. $ref: '#/definitions/app.Response'
  20415. security:
  20416. - ApiKeyAuth: []
  20417. summary: 获取企业风管终端权限
  20418. tags:
  20419. - 企业风险管理(app)
  20420. /Ermcp/QueryAccMgrBizGroupSet:
  20421. get:
  20422. parameters:
  20423. - description: 用户ID
  20424. in: query
  20425. name: userid
  20426. required: true
  20427. type: integer
  20428. - description: 现货商品id
  20429. in: query
  20430. name: deliverygoodsid
  20431. type: integer
  20432. produces:
  20433. - application/json
  20434. responses:
  20435. "200":
  20436. description: OK
  20437. schema:
  20438. items:
  20439. $ref: '#/definitions/models.ErmcpBizGroupEx'
  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/QueryAccMgrLoginUser:
  20451. get:
  20452. parameters:
  20453. - description: 用户ID
  20454. in: query
  20455. name: userid
  20456. required: true
  20457. type: integer
  20458. - description: 用户类型 2-机构 7-企业成员
  20459. in: query
  20460. name: usertype
  20461. type: integer
  20462. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  20463. in: query
  20464. name: querytype
  20465. required: true
  20466. type: integer
  20467. produces:
  20468. - application/json
  20469. responses:
  20470. "200":
  20471. description: OK
  20472. schema:
  20473. items:
  20474. $ref: '#/definitions/models.ErmcpLoginUserEx'
  20475. type: array
  20476. "500":
  20477. description: Internal Server Error
  20478. schema:
  20479. $ref: '#/definitions/app.Response'
  20480. security:
  20481. - ApiKeyAuth: []
  20482. summary: 查询账户管理登录账号(账户管理/登录账号)
  20483. tags:
  20484. - 企业风险管理(app)
  20485. /Ermcp/QueryAccMgrMainAccountInfo:
  20486. get:
  20487. parameters:
  20488. - description: 用户ID
  20489. in: query
  20490. name: userid
  20491. type: integer
  20492. - description: 主账号id
  20493. in: query
  20494. name: accountid
  20495. type: integer
  20496. produces:
  20497. - application/json
  20498. responses:
  20499. "200":
  20500. description: OK
  20501. schema:
  20502. items:
  20503. $ref: '#/definitions/models.MainAccountInfo'
  20504. type: array
  20505. "500":
  20506. description: Internal Server Error
  20507. schema:
  20508. $ref: '#/definitions/app.Response'
  20509. security:
  20510. - ApiKeyAuth: []
  20511. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  20512. tags:
  20513. - 企业风险管理(app)
  20514. /Ermcp/QueryAccMgrRole:
  20515. get:
  20516. parameters:
  20517. - description: 用户ID
  20518. in: query
  20519. name: userid
  20520. required: true
  20521. type: integer
  20522. produces:
  20523. - application/json
  20524. responses:
  20525. "200":
  20526. description: OK
  20527. schema:
  20528. items:
  20529. $ref: '#/definitions/models.ErmcpRole'
  20530. type: array
  20531. "500":
  20532. description: Internal Server Error
  20533. schema:
  20534. $ref: '#/definitions/app.Response'
  20535. security:
  20536. - ApiKeyAuth: []
  20537. summary: 查询账户管理角色设置(账户管理/角色设置)
  20538. tags:
  20539. - 企业风险管理(app)
  20540. /Ermcp/QueryAccMgrRoleMenu:
  20541. get:
  20542. parameters:
  20543. - description: 用户ID
  20544. in: query
  20545. name: userid
  20546. required: true
  20547. type: integer
  20548. - description: 角色id(可多个,逗号隔开)
  20549. in: query
  20550. name: roleid
  20551. type: string
  20552. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  20553. in: query
  20554. name: menutype
  20555. type: integer
  20556. produces:
  20557. - application/json
  20558. responses:
  20559. "200":
  20560. description: OK
  20561. schema:
  20562. items:
  20563. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  20564. type: array
  20565. "500":
  20566. description: Internal Server Error
  20567. schema:
  20568. $ref: '#/definitions/app.Response'
  20569. security:
  20570. - ApiKeyAuth: []
  20571. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  20572. tags:
  20573. - 企业风险管理(app)
  20574. /Ermcp/QueryAccMgrTaAccountInfo:
  20575. get:
  20576. parameters:
  20577. - description: 用户ID
  20578. in: query
  20579. name: userid
  20580. required: true
  20581. type: integer
  20582. - description: 账号id
  20583. in: query
  20584. name: accountid
  20585. type: integer
  20586. produces:
  20587. - application/json
  20588. responses:
  20589. "200":
  20590. description: OK
  20591. schema:
  20592. items:
  20593. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  20594. type: array
  20595. "500":
  20596. description: Internal Server Error
  20597. schema:
  20598. $ref: '#/definitions/app.Response'
  20599. security:
  20600. - ApiKeyAuth: []
  20601. summary: 查询账户管理授信(账户管理/账户设置/授信)
  20602. tags:
  20603. - 企业风险管理(app)
  20604. /Ermcp/QueryAccMgrTaaccount:
  20605. get:
  20606. parameters:
  20607. - description: 用户ID
  20608. in: query
  20609. name: userid
  20610. required: true
  20611. type: integer
  20612. produces:
  20613. - application/json
  20614. responses:
  20615. "200":
  20616. description: OK
  20617. schema:
  20618. items:
  20619. $ref: '#/definitions/models.ErmcpTaAccountEx'
  20620. type: array
  20621. "500":
  20622. description: Internal Server Error
  20623. schema:
  20624. $ref: '#/definitions/app.Response'
  20625. security:
  20626. - ApiKeyAuth: []
  20627. summary: 查询账户管理期货账号(账户管理/期货账号)
  20628. tags:
  20629. - 企业风险管理(app)
  20630. /Ermcp/QueryAvaildGoodsGroup:
  20631. get:
  20632. parameters:
  20633. - description: 所属机构ID
  20634. in: query
  20635. name: userid
  20636. required: true
  20637. type: integer
  20638. produces:
  20639. - application/json
  20640. responses:
  20641. "200":
  20642. description: OK
  20643. schema:
  20644. items:
  20645. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  20646. type: array
  20647. "500":
  20648. description: Internal Server Error
  20649. schema:
  20650. $ref: '#/definitions/app.Response'
  20651. security:
  20652. - ApiKeyAuth: []
  20653. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  20654. tags:
  20655. - 企业风险管理(app)
  20656. /Ermcp/QueryBusinessDj:
  20657. get:
  20658. parameters:
  20659. - description: 用户ID
  20660. in: query
  20661. name: UserId
  20662. required: true
  20663. type: integer
  20664. - description: 用户类型 2-机构 7-企业成员
  20665. in: query
  20666. name: usertype
  20667. type: integer
  20668. - description: 现货合同ID, 不填则查所有
  20669. in: query
  20670. name: relatedid
  20671. type: string
  20672. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20673. in: query
  20674. name: applystatus
  20675. type: string
  20676. produces:
  20677. - application/json
  20678. responses:
  20679. "200":
  20680. description: OK
  20681. schema:
  20682. items:
  20683. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  20684. type: array
  20685. "500":
  20686. description: Internal Server Error
  20687. schema:
  20688. $ref: '#/definitions/app.Response'
  20689. security:
  20690. - ApiKeyAuth: []
  20691. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  20692. tags:
  20693. - 企业风险管理(app)
  20694. /Ermcp/QueryBusinessFp:
  20695. get:
  20696. parameters:
  20697. - description: 用户ID
  20698. in: query
  20699. name: UserId
  20700. required: true
  20701. type: integer
  20702. - description: 用户类型 2-机构 7-企业成员
  20703. in: query
  20704. name: usertype
  20705. type: integer
  20706. - description: 现货合同ID, 不填则查所有
  20707. in: query
  20708. name: relatedid
  20709. type: string
  20710. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20711. in: query
  20712. name: applystatus
  20713. type: string
  20714. produces:
  20715. - application/json
  20716. responses:
  20717. "200":
  20718. description: OK
  20719. schema:
  20720. items:
  20721. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  20722. type: array
  20723. "500":
  20724. description: Internal Server Error
  20725. schema:
  20726. $ref: '#/definitions/app.Response'
  20727. security:
  20728. - ApiKeyAuth: []
  20729. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  20730. tags:
  20731. - 企业风险管理(app)
  20732. /Ermcp/QueryBusinessJs:
  20733. get:
  20734. parameters:
  20735. - description: 用户ID
  20736. in: query
  20737. name: UserId
  20738. required: true
  20739. type: integer
  20740. - description: 用户类型 2-机构 7-企业成员
  20741. in: query
  20742. name: usertype
  20743. type: integer
  20744. - description: 现货合同ID, 不填则查所有
  20745. in: query
  20746. name: relatedid
  20747. type: string
  20748. - description: 操作申请id
  20749. in: query
  20750. name: operateapplyid
  20751. type: string
  20752. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20753. in: query
  20754. name: applystatus
  20755. type: string
  20756. produces:
  20757. - application/json
  20758. responses:
  20759. "200":
  20760. description: OK
  20761. schema:
  20762. items:
  20763. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  20764. type: array
  20765. "500":
  20766. description: Internal Server Error
  20767. schema:
  20768. $ref: '#/definitions/app.Response'
  20769. security:
  20770. - ApiKeyAuth: []
  20771. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  20772. tags:
  20773. - 企业风险管理(app)
  20774. /Ermcp/QueryBusinessJsEx:
  20775. get:
  20776. parameters:
  20777. - description: 用户ID
  20778. in: query
  20779. name: UserId
  20780. required: true
  20781. type: integer
  20782. - description: 用户类型 2-机构 7-企业成员
  20783. in: query
  20784. name: usertype
  20785. type: integer
  20786. - description: 现货合同ID, 不填则查所有
  20787. in: query
  20788. name: relatedid
  20789. type: string
  20790. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20791. in: query
  20792. name: applystatus
  20793. type: string
  20794. produces:
  20795. - application/json
  20796. responses:
  20797. "200":
  20798. description: OK
  20799. schema:
  20800. items:
  20801. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  20802. type: array
  20803. "500":
  20804. description: Internal Server Error
  20805. schema:
  20806. $ref: '#/definitions/app.Response'
  20807. security:
  20808. - ApiKeyAuth: []
  20809. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  20810. tags:
  20811. - 企业风险管理(app)
  20812. /Ermcp/QueryBusinessKx:
  20813. get:
  20814. parameters:
  20815. - description: 用户ID
  20816. in: query
  20817. name: UserId
  20818. required: true
  20819. type: integer
  20820. - description: 用户类型 2-机构 7-企业成员
  20821. in: query
  20822. name: usertype
  20823. type: integer
  20824. - description: 现货合同ID, 不填则查所有
  20825. in: query
  20826. name: relatedid
  20827. type: string
  20828. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20829. in: query
  20830. name: applystatus
  20831. type: string
  20832. produces:
  20833. - application/json
  20834. responses:
  20835. "200":
  20836. description: OK
  20837. schema:
  20838. items:
  20839. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  20840. type: array
  20841. "500":
  20842. description: Internal Server Error
  20843. schema:
  20844. $ref: '#/definitions/app.Response'
  20845. security:
  20846. - ApiKeyAuth: []
  20847. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  20848. tags:
  20849. - 企业风险管理(app)
  20850. /Ermcp/QueryChangeLog:
  20851. get:
  20852. parameters:
  20853. - description: 合同ID
  20854. in: query
  20855. name: RelatedId
  20856. required: true
  20857. type: string
  20858. produces:
  20859. - application/json
  20860. responses:
  20861. "200":
  20862. description: OK
  20863. schema:
  20864. items:
  20865. $ref: '#/definitions/ermcp.QryOPLogRsp'
  20866. type: array
  20867. "500":
  20868. description: Internal Server Error
  20869. schema:
  20870. $ref: '#/definitions/app.Response'
  20871. security:
  20872. - ApiKeyAuth: []
  20873. summary: 查询变更记录
  20874. tags:
  20875. - 企业风险管理(app)
  20876. /Ermcp/QueryErmcpHisOrderDetails:
  20877. get:
  20878. parameters:
  20879. - description: 资金账户ID
  20880. in: query
  20881. name: accountID
  20882. required: true
  20883. type: integer
  20884. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  20885. in: query
  20886. name: startDate
  20887. type: string
  20888. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  20889. in: query
  20890. name: endDate
  20891. type: string
  20892. produces:
  20893. - application/json
  20894. responses:
  20895. "200":
  20896. description: OK
  20897. schema:
  20898. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  20899. "500":
  20900. description: Internal Server Error
  20901. schema:
  20902. $ref: '#/definitions/app.Response'
  20903. security:
  20904. - ApiKeyAuth: []
  20905. summary: 获取企业风管期货历史委托单信息
  20906. tags:
  20907. - 企业风险管理(app)
  20908. /Ermcp/QueryErmcpHisTradeDetails:
  20909. get:
  20910. parameters:
  20911. - description: 资金账户ID
  20912. in: query
  20913. name: accountID
  20914. required: true
  20915. type: integer
  20916. - description: 商品ID
  20917. in: query
  20918. name: goodsID
  20919. type: integer
  20920. - description: 买卖方向,0:买 1:卖
  20921. in: query
  20922. name: buyOrSell
  20923. type: integer
  20924. - description: 关联委托单号
  20925. in: query
  20926. name: orderID
  20927. type: integer
  20928. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  20929. in: query
  20930. name: startDate
  20931. type: string
  20932. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  20933. in: query
  20934. name: endDate
  20935. type: string
  20936. produces:
  20937. - application/json
  20938. responses:
  20939. "200":
  20940. description: OK
  20941. schema:
  20942. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  20943. "500":
  20944. description: Internal Server Error
  20945. schema:
  20946. $ref: '#/definitions/app.Response'
  20947. security:
  20948. - ApiKeyAuth: []
  20949. summary: 获取企业风管期货历史成交单信息
  20950. tags:
  20951. - 企业风险管理(app)
  20952. /Ermcp/QueryErmcpInnerHolderDetails:
  20953. get:
  20954. parameters:
  20955. - description: 资金账户ID
  20956. in: query
  20957. name: accountID
  20958. required: true
  20959. type: integer
  20960. - description: 商品ID
  20961. in: query
  20962. name: goodsID
  20963. type: integer
  20964. - description: 买卖方向,0:买 1:卖
  20965. in: query
  20966. name: buyOrSell
  20967. type: integer
  20968. produces:
  20969. - application/json
  20970. responses:
  20971. "200":
  20972. description: OK
  20973. schema:
  20974. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  20975. "500":
  20976. description: Internal Server Error
  20977. schema:
  20978. $ref: '#/definitions/app.Response'
  20979. security:
  20980. - ApiKeyAuth: []
  20981. summary: 获取企业风管期货内部持仓单信息
  20982. tags:
  20983. - 企业风险管理(app)
  20984. /Ermcp/QueryErmcpOrderDetails:
  20985. get:
  20986. parameters:
  20987. - description: 资金账户ID
  20988. in: query
  20989. name: accountID
  20990. required: true
  20991. type: integer
  20992. produces:
  20993. - application/json
  20994. responses:
  20995. "200":
  20996. description: OK
  20997. schema:
  20998. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  20999. "500":
  21000. description: Internal Server Error
  21001. schema:
  21002. $ref: '#/definitions/app.Response'
  21003. security:
  21004. - ApiKeyAuth: []
  21005. summary: 获取企业风管期货委托单信息
  21006. tags:
  21007. - 企业风险管理(app)
  21008. /Ermcp/QueryErmcpTradeDetails:
  21009. get:
  21010. parameters:
  21011. - description: 资金账户ID
  21012. in: query
  21013. name: accountID
  21014. required: true
  21015. type: integer
  21016. - description: 商品ID
  21017. in: query
  21018. name: goodsID
  21019. type: integer
  21020. - description: 买卖方向,0:买 1:卖
  21021. in: query
  21022. name: buyOrSell
  21023. type: integer
  21024. - description: 关联委托单号
  21025. in: query
  21026. name: orderID
  21027. type: integer
  21028. produces:
  21029. - application/json
  21030. responses:
  21031. "200":
  21032. description: OK
  21033. schema:
  21034. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  21035. "500":
  21036. description: Internal Server Error
  21037. schema:
  21038. $ref: '#/definitions/app.Response'
  21039. security:
  21040. - ApiKeyAuth: []
  21041. summary: 获取企业风管期货成交单信息
  21042. tags:
  21043. - 企业风险管理(app)
  21044. /Ermcp/QueryErmcpTradePosition:
  21045. get:
  21046. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  21047. parameters:
  21048. - description: 资金账户ID
  21049. in: query
  21050. name: accountID
  21051. required: true
  21052. type: integer
  21053. - description: 所属市场ID
  21054. in: query
  21055. name: marketID
  21056. type: integer
  21057. produces:
  21058. - application/json
  21059. responses:
  21060. "200":
  21061. description: OK
  21062. schema:
  21063. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  21064. "500":
  21065. description: Internal Server Error
  21066. schema:
  21067. $ref: '#/definitions/app.Response'
  21068. security:
  21069. - ApiKeyAuth: []
  21070. summary: 获取企业风管期货持仓头寸信息
  21071. tags:
  21072. - 企业风险管理(app)
  21073. /Ermcp/QueryExposureDetail:
  21074. get:
  21075. parameters:
  21076. - description: 所属机构ID
  21077. in: query
  21078. name: areaUserId
  21079. required: true
  21080. type: integer
  21081. - description: 套保商品
  21082. in: query
  21083. name: middleGoodsId
  21084. required: true
  21085. type: integer
  21086. produces:
  21087. - application/json
  21088. responses:
  21089. "200":
  21090. description: OK
  21091. schema:
  21092. items:
  21093. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  21094. type: array
  21095. "500":
  21096. description: Internal Server Error
  21097. schema:
  21098. $ref: '#/definitions/app.Response'
  21099. security:
  21100. - ApiKeyAuth: []
  21101. summary: 查询敞口现货明细
  21102. tags:
  21103. - 企业风险管理(app)
  21104. /Ermcp/QueryExposureGoods:
  21105. get:
  21106. parameters:
  21107. - description: 套保商品id
  21108. in: query
  21109. name: middlegoodsid
  21110. required: true
  21111. type: integer
  21112. produces:
  21113. - application/json
  21114. responses:
  21115. "200":
  21116. description: OK
  21117. schema:
  21118. items:
  21119. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  21120. type: array
  21121. "500":
  21122. description: Internal Server Error
  21123. schema:
  21124. $ref: '#/definitions/app.Response'
  21125. security:
  21126. - ApiKeyAuth: []
  21127. summary: 查询敞口主力合约
  21128. tags:
  21129. - 企业风险管理(app)
  21130. /Ermcp/QueryExposureHedgePosition:
  21131. get:
  21132. parameters:
  21133. - description: 用户id
  21134. in: query
  21135. name: userid
  21136. required: true
  21137. type: integer
  21138. produces:
  21139. - application/json
  21140. responses:
  21141. "200":
  21142. description: OK
  21143. schema:
  21144. items:
  21145. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  21146. type: array
  21147. "500":
  21148. description: Internal Server Error
  21149. schema:
  21150. $ref: '#/definitions/app.Response'
  21151. security:
  21152. - ApiKeyAuth: []
  21153. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  21154. tags:
  21155. - 企业风险管理(app)
  21156. /Ermcp/QueryExposureHedgePositionDetail:
  21157. get:
  21158. parameters:
  21159. - description: 所属机构ID
  21160. in: query
  21161. name: userid
  21162. required: true
  21163. type: integer
  21164. - description: 商品id
  21165. in: query
  21166. name: goodsId
  21167. required: true
  21168. type: integer
  21169. produces:
  21170. - application/json
  21171. responses:
  21172. "200":
  21173. description: OK
  21174. schema:
  21175. items:
  21176. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  21177. type: array
  21178. "500":
  21179. description: Internal Server Error
  21180. schema:
  21181. $ref: '#/definitions/app.Response'
  21182. security:
  21183. - ApiKeyAuth: []
  21184. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  21185. tags:
  21186. - 企业风险管理(app)
  21187. /Ermcp/QueryExposureSpot:
  21188. get:
  21189. parameters:
  21190. - description: 所属机构ID
  21191. in: query
  21192. name: areaUserId
  21193. required: true
  21194. type: integer
  21195. produces:
  21196. - application/json
  21197. responses:
  21198. "200":
  21199. description: OK
  21200. schema:
  21201. items:
  21202. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  21203. type: array
  21204. "500":
  21205. description: Internal Server Error
  21206. schema:
  21207. $ref: '#/definitions/app.Response'
  21208. security:
  21209. - ApiKeyAuth: []
  21210. summary: 查询敞口现货头寸(敞口/现货头寸)
  21211. tags:
  21212. - 企业风险管理(app)
  21213. /Ermcp/QueryExposureSpotDetail:
  21214. get:
  21215. parameters:
  21216. - description: 所属机构ID
  21217. in: query
  21218. name: areaUserId
  21219. required: true
  21220. type: integer
  21221. - description: 现货品种ID
  21222. in: query
  21223. name: wrstandardId
  21224. required: true
  21225. type: integer
  21226. produces:
  21227. - application/json
  21228. responses:
  21229. "200":
  21230. description: OK
  21231. schema:
  21232. items:
  21233. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  21234. type: array
  21235. "500":
  21236. description: Internal Server Error
  21237. schema:
  21238. $ref: '#/definitions/app.Response'
  21239. security:
  21240. - ApiKeyAuth: []
  21241. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  21242. tags:
  21243. - 企业风险管理(app)
  21244. /Ermcp/QueryFuturesCompany:
  21245. get:
  21246. produces:
  21247. - application/json
  21248. responses:
  21249. "200":
  21250. description: OK
  21251. schema:
  21252. items:
  21253. $ref: '#/definitions/models.ErmcpFuturesCompany'
  21254. type: array
  21255. "500":
  21256. description: Internal Server Error
  21257. schema:
  21258. $ref: '#/definitions/app.Response'
  21259. security:
  21260. - ApiKeyAuth: []
  21261. summary: 查询期货公司
  21262. tags:
  21263. - 企业风险管理(app)
  21264. /Ermcp/QueryGGConvertConfig:
  21265. get:
  21266. parameters:
  21267. - description: 品种id(不填则查所有)
  21268. in: query
  21269. name: goodsgroupid
  21270. type: integer
  21271. produces:
  21272. - application/json
  21273. responses:
  21274. "200":
  21275. description: OK
  21276. schema:
  21277. items:
  21278. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  21279. type: array
  21280. "500":
  21281. description: Internal Server Error
  21282. schema:
  21283. $ref: '#/definitions/app.Response'
  21284. security:
  21285. - ApiKeyAuth: []
  21286. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  21287. tags:
  21288. - 企业风险管理(app)
  21289. /Ermcp/QueryGoodsBrand:
  21290. get:
  21291. parameters:
  21292. - description: 用户ID
  21293. in: query
  21294. name: userid
  21295. required: true
  21296. type: integer
  21297. - description: 现货商品ID
  21298. in: query
  21299. name: wrstandardid
  21300. type: integer
  21301. produces:
  21302. - application/json
  21303. responses:
  21304. "200":
  21305. description: OK
  21306. schema:
  21307. items:
  21308. $ref: '#/definitions/models.ErmcpGoodsBrand'
  21309. type: array
  21310. "500":
  21311. description: Internal Server Error
  21312. schema:
  21313. $ref: '#/definitions/app.Response'
  21314. security:
  21315. - ApiKeyAuth: []
  21316. summary: 查询商品品牌
  21317. tags:
  21318. - 企业风险管理(app)
  21319. /Ermcp/QueryGoodsModel:
  21320. get:
  21321. parameters:
  21322. - description: 用户ID
  21323. in: query
  21324. name: userid
  21325. required: true
  21326. type: integer
  21327. produces:
  21328. - application/json
  21329. responses:
  21330. "200":
  21331. description: OK
  21332. schema:
  21333. items:
  21334. $ref: '#/definitions/models.ErmcpGoodsModel'
  21335. type: array
  21336. "500":
  21337. description: Internal Server Error
  21338. schema:
  21339. $ref: '#/definitions/app.Response'
  21340. security:
  21341. - ApiKeyAuth: []
  21342. summary: 查询商品型号
  21343. tags:
  21344. - 企业风险管理(app)
  21345. /Ermcp/QueryHisExposure:
  21346. get:
  21347. parameters:
  21348. - description: 用户id
  21349. in: query
  21350. name: userid
  21351. required: true
  21352. type: integer
  21353. - description: 每个品种记录数
  21354. in: query
  21355. name: lastNum
  21356. required: true
  21357. type: integer
  21358. produces:
  21359. - application/json
  21360. responses:
  21361. "200":
  21362. description: OK
  21363. schema:
  21364. items:
  21365. $ref: '#/definitions/ermcp.HisExposureRsp'
  21366. type: array
  21367. "500":
  21368. description: Internal Server Error
  21369. schema:
  21370. $ref: '#/definitions/app.Response'
  21371. security:
  21372. - ApiKeyAuth: []
  21373. summary: 查询历史敞口(菜单:敞口/历史敞口)
  21374. tags:
  21375. - 企业风险管理(app)
  21376. /Ermcp/QueryMiddleGoods:
  21377. get:
  21378. parameters:
  21379. - description: 所属机构ID
  21380. in: query
  21381. name: userid
  21382. required: true
  21383. type: integer
  21384. - description: 状态 0-停用 1-正常
  21385. in: query
  21386. name: status
  21387. required: true
  21388. type: integer
  21389. produces:
  21390. - application/json
  21391. responses:
  21392. "200":
  21393. description: OK
  21394. schema:
  21395. items:
  21396. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  21397. type: array
  21398. "500":
  21399. description: Internal Server Error
  21400. schema:
  21401. $ref: '#/definitions/app.Response'
  21402. security:
  21403. - ApiKeyAuth: []
  21404. summary: 查询套保品种(菜单:套保品种)
  21405. tags:
  21406. - 企业风险管理(app)
  21407. /Ermcp/QueryMiddleGoodsChangeLog:
  21408. get:
  21409. parameters:
  21410. - description: 所属机构ID
  21411. in: query
  21412. name: userid
  21413. required: true
  21414. type: integer
  21415. - description: 套保品种id
  21416. in: query
  21417. name: middlegoodsid
  21418. required: true
  21419. type: integer
  21420. produces:
  21421. - application/json
  21422. responses:
  21423. "200":
  21424. description: OK
  21425. schema:
  21426. items:
  21427. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  21428. type: array
  21429. "500":
  21430. description: Internal Server Error
  21431. schema:
  21432. $ref: '#/definitions/app.Response'
  21433. security:
  21434. - ApiKeyAuth: []
  21435. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  21436. tags:
  21437. - 企业风险管理(app)
  21438. /Ermcp/QueryMiddleGoodsDetail:
  21439. get:
  21440. parameters:
  21441. - description: 所属机构ID
  21442. in: query
  21443. name: userid
  21444. required: true
  21445. type: integer
  21446. - description: 套保品种id
  21447. in: query
  21448. name: middlegoodsid
  21449. type: integer
  21450. produces:
  21451. - application/json
  21452. responses:
  21453. "200":
  21454. description: OK
  21455. schema:
  21456. items:
  21457. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  21458. type: array
  21459. "500":
  21460. description: Internal Server Error
  21461. schema:
  21462. $ref: '#/definitions/app.Response'
  21463. security:
  21464. - ApiKeyAuth: []
  21465. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  21466. tags:
  21467. - 企业风险管理(app)
  21468. /Ermcp/QueryPendingAuditInfo:
  21469. get:
  21470. parameters:
  21471. - description: 用户ID
  21472. in: query
  21473. name: UserId
  21474. required: true
  21475. type: integer
  21476. produces:
  21477. - application/json
  21478. responses:
  21479. "200":
  21480. description: OK
  21481. schema:
  21482. items:
  21483. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  21484. type: array
  21485. "500":
  21486. description: Internal Server Error
  21487. schema:
  21488. $ref: '#/definitions/app.Response'
  21489. security:
  21490. - ApiKeyAuth: []
  21491. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  21492. tags:
  21493. - 企业风险管理(app)
  21494. /Ermcp/QueryRealtimeExposure:
  21495. get:
  21496. parameters:
  21497. - description: 所属机构ID
  21498. in: query
  21499. name: userid
  21500. required: true
  21501. type: integer
  21502. produces:
  21503. - application/json
  21504. responses:
  21505. "200":
  21506. description: OK
  21507. schema:
  21508. items:
  21509. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  21510. type: array
  21511. "500":
  21512. description: Internal Server Error
  21513. schema:
  21514. $ref: '#/definitions/app.Response'
  21515. security:
  21516. - ApiKeyAuth: []
  21517. summary: 查询实时敞口
  21518. tags:
  21519. - 企业风险管理(app)
  21520. /Ermcp/QueryRealtimeExposurePosition:
  21521. get:
  21522. parameters:
  21523. - description: 用户id
  21524. in: query
  21525. name: userid
  21526. required: true
  21527. type: integer
  21528. - description: 套保商品ID
  21529. in: query
  21530. name: middleGoodsId
  21531. required: true
  21532. type: integer
  21533. produces:
  21534. - application/json
  21535. responses:
  21536. "200":
  21537. description: OK
  21538. schema:
  21539. items:
  21540. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  21541. type: array
  21542. "500":
  21543. description: Internal Server Error
  21544. schema:
  21545. $ref: '#/definitions/app.Response'
  21546. security:
  21547. - ApiKeyAuth: []
  21548. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  21549. tags:
  21550. - 企业风险管理(app)
  21551. /Ermcp/QueryRoleMenu:
  21552. get:
  21553. parameters:
  21554. - description: 登录ID
  21555. in: query
  21556. name: loginid
  21557. required: true
  21558. type: integer
  21559. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  21560. in: query
  21561. name: menutype
  21562. type: integer
  21563. produces:
  21564. - application/json
  21565. responses:
  21566. "200":
  21567. description: OK
  21568. schema:
  21569. items:
  21570. $ref: '#/definitions/models.RoleMenu'
  21571. type: array
  21572. "500":
  21573. description: Internal Server Error
  21574. schema:
  21575. $ref: '#/definitions/app.Response'
  21576. security:
  21577. - ApiKeyAuth: []
  21578. summary: 查询角色菜单和权限
  21579. tags:
  21580. - 企业风险管理(app)
  21581. /Ermcp/QueryTradeConfigTMP:
  21582. get:
  21583. parameters:
  21584. - description: 所属机构id
  21585. in: query
  21586. name: areauserid
  21587. type: integer
  21588. produces:
  21589. - application/json
  21590. responses:
  21591. "200":
  21592. description: OK
  21593. schema:
  21594. items:
  21595. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  21596. type: array
  21597. "500":
  21598. description: Internal Server Error
  21599. schema:
  21600. $ref: '#/definitions/app.Response'
  21601. security:
  21602. - ApiKeyAuth: []
  21603. summary: 查询交易模板配置
  21604. tags:
  21605. - 企业风险管理(app)
  21606. /Ermcp/QueryUserInfo:
  21607. get:
  21608. parameters:
  21609. - description: 所属机构用户ID
  21610. in: query
  21611. name: MemberUserID
  21612. required: true
  21613. type: integer
  21614. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  21615. in: query
  21616. name: queryType
  21617. required: true
  21618. type: integer
  21619. produces:
  21620. - application/json
  21621. responses:
  21622. "200":
  21623. description: OK
  21624. schema:
  21625. items:
  21626. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  21627. type: array
  21628. "500":
  21629. description: Internal Server Error
  21630. schema:
  21631. $ref: '#/definitions/app.Response'
  21632. security:
  21633. - ApiKeyAuth: []
  21634. summary: 查询客户资料
  21635. tags:
  21636. - 企业风险管理(app)
  21637. /Ermcp/QueryWarehouseInfo:
  21638. get:
  21639. parameters:
  21640. - description: 用户ID
  21641. in: query
  21642. name: userid
  21643. required: true
  21644. type: integer
  21645. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  21646. in: query
  21647. name: status
  21648. type: string
  21649. produces:
  21650. - application/json
  21651. responses:
  21652. "200":
  21653. description: OK
  21654. schema:
  21655. items:
  21656. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  21657. type: array
  21658. "500":
  21659. description: Internal Server Error
  21660. schema:
  21661. $ref: '#/definitions/app.Response'
  21662. security:
  21663. - ApiKeyAuth: []
  21664. summary: 查询仓库信息
  21665. tags:
  21666. - 企业风险管理(app)
  21667. /Ermcp3/QryAreaExpourseContractDetail:
  21668. get:
  21669. parameters:
  21670. - description: 用户ID
  21671. in: query
  21672. name: userid
  21673. required: true
  21674. type: integer
  21675. - description: 套保商品id
  21676. in: query
  21677. name: middlegoodsid
  21678. required: true
  21679. type: integer
  21680. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21681. in: query
  21682. name: cycletype
  21683. required: true
  21684. type: integer
  21685. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21686. 全(0)【原值】
  21687. in: query
  21688. name: cycletime
  21689. required: true
  21690. type: string
  21691. produces:
  21692. - application/json
  21693. responses:
  21694. "200":
  21695. description: OK
  21696. schema:
  21697. items:
  21698. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  21699. type: array
  21700. "500":
  21701. description: Internal Server Error
  21702. schema:
  21703. $ref: '#/definitions/app.Response'
  21704. security:
  21705. - ApiKeyAuth: []
  21706. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  21707. tags:
  21708. - 企业风险管理v3(app)
  21709. /Ermcp3/QryAreaExpourseFutuDetail:
  21710. get:
  21711. parameters:
  21712. - description: 用户ID
  21713. in: query
  21714. name: userid
  21715. required: true
  21716. type: integer
  21717. - description: 套保商品id
  21718. in: query
  21719. name: middlegoodsid
  21720. required: true
  21721. type: integer
  21722. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21723. in: query
  21724. name: cycletype
  21725. required: true
  21726. type: integer
  21727. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21728. 全(0)【原值】
  21729. in: query
  21730. name: cycletime
  21731. required: true
  21732. type: string
  21733. produces:
  21734. - application/json
  21735. responses:
  21736. "200":
  21737. description: OK
  21738. schema:
  21739. items:
  21740. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  21741. type: array
  21742. "500":
  21743. description: Internal Server Error
  21744. schema:
  21745. $ref: '#/definitions/app.Response'
  21746. security:
  21747. - ApiKeyAuth: []
  21748. summary: 查询敞口期货明细(敞口报表/期货明细)
  21749. tags:
  21750. - 企业风险管理v3(app)
  21751. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  21752. get:
  21753. parameters:
  21754. - description: 用户ID
  21755. in: query
  21756. name: userid
  21757. required: true
  21758. type: integer
  21759. - description: 套保商品id
  21760. in: query
  21761. name: middlegoodsid
  21762. required: true
  21763. type: integer
  21764. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21765. in: query
  21766. name: cycletype
  21767. required: true
  21768. type: integer
  21769. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21770. 全(0)【原值】
  21771. in: query
  21772. name: cycletime
  21773. required: true
  21774. type: string
  21775. produces:
  21776. - application/json
  21777. responses:
  21778. "200":
  21779. description: OK
  21780. schema:
  21781. items:
  21782. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  21783. type: array
  21784. "500":
  21785. description: Internal Server Error
  21786. schema:
  21787. $ref: '#/definitions/app.Response'
  21788. security:
  21789. - ApiKeyAuth: []
  21790. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  21791. tags:
  21792. - 企业风险管理v3(app)
  21793. /Ermcp3/QryAreaExpourseParamChLogDetail:
  21794. get:
  21795. parameters:
  21796. - description: 用户ID
  21797. in: query
  21798. name: userid
  21799. required: true
  21800. type: integer
  21801. - description: 套保商品id
  21802. in: query
  21803. name: middlegoodsid
  21804. required: true
  21805. type: integer
  21806. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21807. in: query
  21808. name: cycletype
  21809. required: true
  21810. type: integer
  21811. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21812. 全(0)【原值】
  21813. in: query
  21814. name: cycletime
  21815. required: true
  21816. type: string
  21817. produces:
  21818. - application/json
  21819. responses:
  21820. "200":
  21821. description: OK
  21822. schema:
  21823. items:
  21824. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  21825. type: array
  21826. "500":
  21827. description: Internal Server Error
  21828. schema:
  21829. $ref: '#/definitions/app.Response'
  21830. security:
  21831. - ApiKeyAuth: []
  21832. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  21833. tags:
  21834. - 企业风险管理v3(app)
  21835. /Ermcp3/QryAreaExpourseReport:
  21836. get:
  21837. parameters:
  21838. - description: 用户ID
  21839. in: query
  21840. name: userid
  21841. required: true
  21842. type: integer
  21843. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  21844. in: query
  21845. name: querytype
  21846. required: true
  21847. type: integer
  21848. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21849. in: query
  21850. name: cycletype
  21851. required: true
  21852. type: integer
  21853. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21854. 全(0)【原值】
  21855. in: query
  21856. name: cycletime
  21857. required: true
  21858. type: string
  21859. produces:
  21860. - application/json
  21861. responses:
  21862. "200":
  21863. description: OK
  21864. schema:
  21865. items:
  21866. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  21867. type: array
  21868. "500":
  21869. description: Internal Server Error
  21870. schema:
  21871. $ref: '#/definitions/app.Response'
  21872. security:
  21873. - ApiKeyAuth: []
  21874. summary: 查询敞口报表
  21875. tags:
  21876. - 企业风险管理v3(app)
  21877. /Ermcp3/QryAreaSpotplReport:
  21878. get:
  21879. description: 目前pcweb的日/周/月报表与手机端的汇总维度不同, 所以增加了可选参数sumflag参数, pcweb请填1
  21880. parameters:
  21881. - description: 用户ID
  21882. in: query
  21883. name: userid
  21884. required: true
  21885. type: integer
  21886. - description: 查询类型 1-报表 2-报表明细
  21887. in: query
  21888. name: querytype
  21889. required: true
  21890. type: integer
  21891. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21892. in: query
  21893. name: cycletype
  21894. required: true
  21895. type: integer
  21896. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21897. 全(0)【原值】
  21898. in: query
  21899. name: cycletime
  21900. required: true
  21901. type: string
  21902. - description: 现货品种id(明细必填)
  21903. in: query
  21904. name: deliverygoodsid
  21905. type: integer
  21906. - description: 币种id(明细必填)
  21907. in: query
  21908. name: currencyid
  21909. type: integer
  21910. - description: 日/周/月报表汇总维度 1:品种+品类
  21911. in: query
  21912. name: sumflag
  21913. type: integer
  21914. produces:
  21915. - application/json
  21916. responses:
  21917. "200":
  21918. description: OK
  21919. schema:
  21920. items:
  21921. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  21922. type: array
  21923. "500":
  21924. description: Internal Server Error
  21925. schema:
  21926. $ref: '#/definitions/app.Response'
  21927. security:
  21928. - ApiKeyAuth: []
  21929. summary: 查询现货报表
  21930. tags:
  21931. - 企业风险管理v3(app)
  21932. /Ermcp3/QryAreaStockReport:
  21933. get:
  21934. parameters:
  21935. - description: 用户ID
  21936. in: query
  21937. name: userid
  21938. required: true
  21939. type: integer
  21940. - description: 查询类型 1-报表 2-报表明细
  21941. in: query
  21942. name: querytype
  21943. required: true
  21944. type: integer
  21945. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21946. in: query
  21947. name: cycletype
  21948. required: true
  21949. type: integer
  21950. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21951. 全(0)【原值】
  21952. in: query
  21953. name: cycletime
  21954. required: true
  21955. type: string
  21956. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  21957. in: query
  21958. name: sumfields
  21959. type: string
  21960. - description: 品种ID
  21961. in: query
  21962. name: deliverygoodsid
  21963. type: integer
  21964. - description: 品类ID
  21965. in: query
  21966. name: wrstandardid
  21967. type: integer
  21968. - description: 品牌ID
  21969. in: query
  21970. name: spotgoodsbrandid
  21971. type: integer
  21972. - description: 仓库ID
  21973. in: query
  21974. name: warehouseinfoid
  21975. type: integer
  21976. produces:
  21977. - application/json
  21978. responses:
  21979. "200":
  21980. description: OK
  21981. schema:
  21982. items:
  21983. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  21984. type: array
  21985. "500":
  21986. description: Internal Server Error
  21987. schema:
  21988. $ref: '#/definitions/app.Response'
  21989. security:
  21990. - ApiKeyAuth: []
  21991. summary: 查询库存报表
  21992. tags:
  21993. - 企业风险管理v3(app)
  21994. /Ermcp3/QryAreaSumPL:
  21995. get:
  21996. parameters:
  21997. - description: 用户ID
  21998. in: query
  21999. name: userid
  22000. required: true
  22001. type: integer
  22002. - description: 查询类型 1-报表 2-报表明细
  22003. in: query
  22004. name: querytype
  22005. required: true
  22006. type: integer
  22007. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22008. in: query
  22009. name: cycletype
  22010. required: true
  22011. type: integer
  22012. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22013. 全(0)【原值】
  22014. in: query
  22015. name: cycletime
  22016. required: true
  22017. type: string
  22018. - description: 币种id(明细必填)
  22019. in: query
  22020. name: currencyid
  22021. type: integer
  22022. produces:
  22023. - application/json
  22024. responses:
  22025. "200":
  22026. description: OK
  22027. schema:
  22028. items:
  22029. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  22030. type: array
  22031. "500":
  22032. description: Internal Server Error
  22033. schema:
  22034. $ref: '#/definitions/app.Response'
  22035. security:
  22036. - ApiKeyAuth: []
  22037. summary: 查询汇总损益表
  22038. tags:
  22039. - 企业风险管理v3(app)
  22040. /Ermcp3/QryFinanceReport:
  22041. get:
  22042. parameters:
  22043. - description: 用户ID
  22044. in: query
  22045. name: userid
  22046. required: true
  22047. type: integer
  22048. - description: 查询类型 1-报表 2-报表明细
  22049. in: query
  22050. name: querytype
  22051. required: true
  22052. type: integer
  22053. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22054. in: query
  22055. name: cycletype
  22056. required: true
  22057. type: integer
  22058. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22059. 全(0)【原值】
  22060. in: query
  22061. name: cycletime
  22062. required: true
  22063. type: string
  22064. - description: 币种id(报表明细必填)
  22065. in: query
  22066. name: currencyid
  22067. type: integer
  22068. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  22069. in: query
  22070. name: sumfields
  22071. type: string
  22072. produces:
  22073. - application/json
  22074. responses:
  22075. "200":
  22076. description: OK
  22077. schema:
  22078. items:
  22079. $ref: '#/definitions/models.Ermcp3FinanceReport'
  22080. type: array
  22081. "500":
  22082. description: Internal Server Error
  22083. schema:
  22084. $ref: '#/definitions/app.Response'
  22085. security:
  22086. - ApiKeyAuth: []
  22087. summary: 查询财务报表
  22088. tags:
  22089. - 企业风险管理v3(app)
  22090. /Ermcp3/QrySCMiddleGoodsReport:
  22091. get:
  22092. parameters:
  22093. - description: 用户ID
  22094. in: query
  22095. name: userid
  22096. required: true
  22097. type: integer
  22098. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22099. in: query
  22100. name: cycletype
  22101. required: true
  22102. type: integer
  22103. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22104. 全(0)【原值】
  22105. in: query
  22106. name: cycletime
  22107. required: true
  22108. type: string
  22109. - description: 合同id
  22110. in: query
  22111. name: spotcontractid
  22112. type: integer
  22113. - description: 套保品种id
  22114. in: query
  22115. name: middlegoodsid
  22116. type: integer
  22117. - description: 现货品种id
  22118. in: query
  22119. name: deliverygoodsid
  22120. type: integer
  22121. - description: 现货商品id
  22122. in: query
  22123. name: wrstandardid
  22124. type: integer
  22125. - description: 合同编号(模糊匹配)
  22126. in: query
  22127. name: contractno
  22128. type: string
  22129. produces:
  22130. - application/json
  22131. responses:
  22132. "200":
  22133. description: OK
  22134. schema:
  22135. items:
  22136. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  22137. type: array
  22138. "500":
  22139. description: Internal Server Error
  22140. schema:
  22141. $ref: '#/definitions/app.Response'
  22142. security:
  22143. - ApiKeyAuth: []
  22144. summary: 查询定价报表
  22145. tags:
  22146. - 企业风险管理v3(app)
  22147. /Ermcp3/QryTaFutureDataReport:
  22148. get:
  22149. parameters:
  22150. - description: 用户ID
  22151. in: query
  22152. name: userid
  22153. required: true
  22154. type: integer
  22155. - description: 查询类型 1-报表 2-报表明细
  22156. in: query
  22157. name: querytype
  22158. required: true
  22159. type: integer
  22160. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22161. in: query
  22162. name: cycletype
  22163. required: true
  22164. type: integer
  22165. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22166. 全(0)【原值】
  22167. in: query
  22168. name: cycletime
  22169. required: true
  22170. type: string
  22171. - description: 币种id(查明细必填)
  22172. in: query
  22173. name: currencyid
  22174. type: integer
  22175. - description: 品种id(查明细必填)
  22176. in: query
  22177. name: goodsgroupid
  22178. type: integer
  22179. - description: 商品id(查明细必填)
  22180. in: query
  22181. name: goodsid
  22182. type: integer
  22183. - description: 买卖方向(查明细必填)
  22184. in: query
  22185. name: buyorsell
  22186. type: integer
  22187. produces:
  22188. - application/json
  22189. responses:
  22190. "200":
  22191. description: OK
  22192. schema:
  22193. items:
  22194. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  22195. type: array
  22196. "500":
  22197. description: Internal Server Error
  22198. schema:
  22199. $ref: '#/definitions/app.Response'
  22200. security:
  22201. - ApiKeyAuth: []
  22202. summary: 查询期货报表
  22203. tags:
  22204. - 企业风险管理v3(app)
  22205. /Ermcp3/QueryAreaStock:
  22206. get:
  22207. parameters:
  22208. - description: 用户ID
  22209. in: query
  22210. name: userid
  22211. required: true
  22212. type: integer
  22213. produces:
  22214. - application/json
  22215. responses:
  22216. "200":
  22217. description: OK
  22218. schema:
  22219. items:
  22220. $ref: '#/definitions/models.Ermcp3AreaStock'
  22221. type: array
  22222. "500":
  22223. description: Internal Server Error
  22224. schema:
  22225. $ref: '#/definitions/app.Response'
  22226. security:
  22227. - ApiKeyAuth: []
  22228. summary: 查询机构库存(库存管理/当前库存)
  22229. tags:
  22230. - 企业风险管理v3(app)
  22231. /Ermcp3/QueryAreaStockApply:
  22232. get:
  22233. parameters:
  22234. - description: 用户ID
  22235. in: query
  22236. name: userid
  22237. required: true
  22238. type: integer
  22239. - description: 用户类型 2-机构 7-企业成员
  22240. in: query
  22241. name: usertype
  22242. type: integer
  22243. - description: 现货商品ID
  22244. in: query
  22245. name: deliverygoodsid
  22246. type: integer
  22247. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  22248. in: query
  22249. name: inouttype
  22250. type: string
  22251. - description: 合同ID
  22252. in: query
  22253. name: spotcontractid
  22254. type: integer
  22255. - description: 品类ID
  22256. in: query
  22257. name: wrstandardid
  22258. type: integer
  22259. - description: 品牌ID
  22260. in: query
  22261. name: spotgoodsbrandid
  22262. type: integer
  22263. - description: 仓库ID
  22264. in: query
  22265. name: warehouseinfoid
  22266. type: integer
  22267. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22268. in: query
  22269. name: applystatus
  22270. type: string
  22271. produces:
  22272. - application/json
  22273. responses:
  22274. "200":
  22275. description: OK
  22276. schema:
  22277. items:
  22278. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  22279. type: array
  22280. "500":
  22281. description: Internal Server Error
  22282. schema:
  22283. $ref: '#/definitions/app.Response'
  22284. security:
  22285. - ApiKeyAuth: []
  22286. summary: 查询库存申请(出入库记录|库存审核)
  22287. tags:
  22288. - 企业风险管理v3(app)
  22289. /Ermcp3/QueryAreaStockApplySum:
  22290. get:
  22291. parameters:
  22292. - description: 合同ID
  22293. in: query
  22294. name: spotcontractid
  22295. required: true
  22296. type: integer
  22297. produces:
  22298. - application/json
  22299. responses:
  22300. "200":
  22301. description: OK
  22302. schema:
  22303. items:
  22304. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  22305. type: array
  22306. "500":
  22307. description: Internal Server Error
  22308. schema:
  22309. $ref: '#/definitions/app.Response'
  22310. security:
  22311. - ApiKeyAuth: []
  22312. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  22313. tags:
  22314. - 企业风险管理v3(app)
  22315. /Ermcp3/QueryDGFactoryItem:
  22316. get:
  22317. parameters:
  22318. - description: 用户id
  22319. in: query
  22320. name: userid
  22321. type: integer
  22322. - description: 用户类型 2-机构 7-企业成员
  22323. in: query
  22324. name: usertype
  22325. type: integer
  22326. - description: 选择项ID(SEQ_DGFACTORYITEM)
  22327. in: query
  22328. name: dgfactoryitemid
  22329. type: integer
  22330. - description: 现货品种ID
  22331. in: query
  22332. name: deliverygoodsid
  22333. type: integer
  22334. - description: 要素项类型
  22335. in: query
  22336. name: dgfactoryitemtypeid
  22337. type: integer
  22338. - description: 顺序
  22339. in: query
  22340. name: orderindex
  22341. type: integer
  22342. produces:
  22343. - application/json
  22344. responses:
  22345. "200":
  22346. description: OK
  22347. schema:
  22348. items:
  22349. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  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/QueryDeliveryGoods:
  22361. get:
  22362. parameters:
  22363. - description: 用户id
  22364. in: query
  22365. name: userid
  22366. required: true
  22367. type: integer
  22368. - description: 用户类型 2-机构 7-企业成员
  22369. in: query
  22370. name: usertype
  22371. type: integer
  22372. - description: 排除已配置的业务类型商品 1-套保 2-套利
  22373. in: query
  22374. name: excludecfg
  22375. type: integer
  22376. produces:
  22377. - application/json
  22378. responses:
  22379. "200":
  22380. description: OK
  22381. schema:
  22382. items:
  22383. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  22384. type: array
  22385. "500":
  22386. description: Internal Server Error
  22387. schema:
  22388. $ref: '#/definitions/app.Response'
  22389. security:
  22390. - ApiKeyAuth: []
  22391. summary: 查询现货商品
  22392. tags:
  22393. - 企业风险管理v3(app)
  22394. /Ermcp3/QueryDeliveryGoodsDetail:
  22395. get:
  22396. parameters:
  22397. - description: 用户id
  22398. in: query
  22399. name: userid
  22400. required: true
  22401. type: integer
  22402. - description: 用户类型 2-机构 7-企业成员
  22403. in: query
  22404. name: usertype
  22405. type: integer
  22406. - description: 现货商品id
  22407. in: query
  22408. name: deliverygoodsid
  22409. type: integer
  22410. - description: 过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示
  22411. in: query
  22412. name: filtersubempty
  22413. type: integer
  22414. produces:
  22415. - application/json
  22416. responses:
  22417. "200":
  22418. description: OK
  22419. schema:
  22420. items:
  22421. $ref: '#/definitions/models.XHDeliveryGoods'
  22422. type: array
  22423. "500":
  22424. description: Internal Server Error
  22425. schema:
  22426. $ref: '#/definitions/app.Response'
  22427. security:
  22428. - ApiKeyAuth: []
  22429. summary: 查询现货商品详情
  22430. tags:
  22431. - 企业风险管理v3(app)
  22432. /Ermcp3/QueryExposureDetail:
  22433. get:
  22434. parameters:
  22435. - description: 用户id
  22436. in: query
  22437. name: userid
  22438. required: true
  22439. type: integer
  22440. - description: 用户类型 2-机构 7-企业成员
  22441. in: query
  22442. name: usertype
  22443. type: integer
  22444. - description: 套保商品
  22445. in: query
  22446. name: middlegoodsid
  22447. required: true
  22448. type: integer
  22449. produces:
  22450. - application/json
  22451. responses:
  22452. "200":
  22453. description: OK
  22454. schema:
  22455. items:
  22456. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  22457. type: array
  22458. "500":
  22459. description: Internal Server Error
  22460. schema:
  22461. $ref: '#/definitions/app.Response'
  22462. security:
  22463. - ApiKeyAuth: []
  22464. summary: 查询敞口现货明细
  22465. tags:
  22466. - 企业风险管理v3(app)
  22467. /Ermcp3/QueryExposureSpot:
  22468. get:
  22469. parameters:
  22470. - description: 用户id
  22471. in: query
  22472. name: userid
  22473. required: true
  22474. type: integer
  22475. - description: 用户类型 2-机构 7-企业成员
  22476. in: query
  22477. name: usertype
  22478. type: integer
  22479. produces:
  22480. - application/json
  22481. responses:
  22482. "200":
  22483. description: OK
  22484. schema:
  22485. items:
  22486. $ref: '#/definitions/models.Ermcp3AreaSpot'
  22487. type: array
  22488. "500":
  22489. description: Internal Server Error
  22490. schema:
  22491. $ref: '#/definitions/app.Response'
  22492. security:
  22493. - ApiKeyAuth: []
  22494. summary: 查询敞口现货头寸(敞口/现货头寸)
  22495. tags:
  22496. - 企业风险管理v3(app)
  22497. /Ermcp3/QueryExposureSpotDetail:
  22498. get:
  22499. parameters:
  22500. - description: 用户id
  22501. in: query
  22502. name: userid
  22503. required: true
  22504. type: integer
  22505. - description: 用户类型 2-机构 7-企业成员
  22506. in: query
  22507. name: usertype
  22508. type: integer
  22509. - description: 现货商品ID
  22510. in: query
  22511. name: wrstandardid
  22512. required: true
  22513. type: integer
  22514. produces:
  22515. - application/json
  22516. responses:
  22517. "200":
  22518. description: OK
  22519. schema:
  22520. items:
  22521. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  22522. type: array
  22523. "500":
  22524. description: Internal Server Error
  22525. schema:
  22526. $ref: '#/definitions/app.Response'
  22527. security:
  22528. - ApiKeyAuth: []
  22529. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  22530. tags:
  22531. - 企业风险管理v3(app)
  22532. /Ermcp3/QueryGoodsGroup:
  22533. get:
  22534. parameters:
  22535. - description: 用户id
  22536. in: query
  22537. name: userid
  22538. required: true
  22539. type: integer
  22540. - description: 用户类型 2-机构 7-企业成员
  22541. in: query
  22542. name: usertype
  22543. type: integer
  22544. - description: 排除套保品中已关联的商品组 1-排除
  22545. in: query
  22546. name: excludecfg
  22547. type: integer
  22548. produces:
  22549. - application/json
  22550. responses:
  22551. "200":
  22552. description: OK
  22553. schema:
  22554. items:
  22555. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  22556. type: array
  22557. "500":
  22558. description: Internal Server Error
  22559. schema:
  22560. $ref: '#/definitions/app.Response'
  22561. security:
  22562. - ApiKeyAuth: []
  22563. summary: 查询期货商品组
  22564. tags:
  22565. - 企业风险管理v3(app)
  22566. /Ermcp3/QueryGoodsWrstandard:
  22567. get:
  22568. parameters:
  22569. - description: 用户id
  22570. in: query
  22571. name: userid
  22572. required: true
  22573. type: integer
  22574. - description: 用户类型 2-机构 7-企业成员
  22575. in: query
  22576. name: usertype
  22577. type: integer
  22578. - description: 现货商品id
  22579. in: query
  22580. name: deliverygoodsid
  22581. type: integer
  22582. produces:
  22583. - application/json
  22584. responses:
  22585. "200":
  22586. description: OK
  22587. schema:
  22588. items:
  22589. $ref: '#/definitions/models.Ermcp3Wrstandard'
  22590. type: array
  22591. "500":
  22592. description: Internal Server Error
  22593. schema:
  22594. $ref: '#/definitions/app.Response'
  22595. security:
  22596. - ApiKeyAuth: []
  22597. summary: 查询商品品类
  22598. tags:
  22599. - 企业风险管理v3(app)
  22600. /Ermcp3/QueryGoodsbrand:
  22601. get:
  22602. parameters:
  22603. - description: 用户id
  22604. in: query
  22605. name: userid
  22606. required: true
  22607. type: integer
  22608. - description: 用户类型 2-机构 7-企业成员
  22609. in: query
  22610. name: usertype
  22611. type: integer
  22612. produces:
  22613. - application/json
  22614. responses:
  22615. "200":
  22616. description: OK
  22617. schema:
  22618. items:
  22619. $ref: '#/definitions/models.Ermcp3Brand'
  22620. type: array
  22621. "500":
  22622. description: Internal Server Error
  22623. schema:
  22624. $ref: '#/definitions/app.Response'
  22625. security:
  22626. - ApiKeyAuth: []
  22627. summary: 查询商品品牌
  22628. tags:
  22629. - 企业风险管理v3(app)
  22630. /Ermcp3/QueryHedgePlan:
  22631. get:
  22632. parameters:
  22633. - description: 用户ID
  22634. in: query
  22635. name: userid
  22636. required: true
  22637. type: integer
  22638. - description: 用户类型 2-机构 7-企业成员
  22639. in: query
  22640. name: usertype
  22641. type: integer
  22642. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  22643. in: query
  22644. name: hedgeplanstatus
  22645. required: true
  22646. type: string
  22647. produces:
  22648. - application/json
  22649. responses:
  22650. "200":
  22651. description: OK
  22652. schema:
  22653. items:
  22654. $ref: '#/definitions/models.Ermcp3HedgePlan'
  22655. type: array
  22656. "500":
  22657. description: Internal Server Error
  22658. schema:
  22659. $ref: '#/definitions/app.Response'
  22660. security:
  22661. - ApiKeyAuth: []
  22662. summary: 查询套保计划
  22663. tags:
  22664. - 企业风险管理v3(app)
  22665. /Ermcp3/QueryInnerTradeLink:
  22666. get:
  22667. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  22668. parameters:
  22669. - description: 外部成交单号
  22670. in: query
  22671. name: outtradeid
  22672. required: true
  22673. type: integer
  22674. produces:
  22675. - application/json
  22676. responses:
  22677. "200":
  22678. description: OK
  22679. schema:
  22680. items:
  22681. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  22682. type: array
  22683. "500":
  22684. description: Internal Server Error
  22685. schema:
  22686. $ref: '#/definitions/app.Response'
  22687. security:
  22688. - ApiKeyAuth: []
  22689. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  22690. tags:
  22691. - 企业风险管理v3(app)
  22692. /Ermcp3/QueryMiddleGoodsDetail:
  22693. get:
  22694. parameters:
  22695. - description: 用户id
  22696. in: query
  22697. name: userid
  22698. required: true
  22699. type: integer
  22700. - description: 用户类型 2-机构 7-企业成员
  22701. in: query
  22702. name: usertype
  22703. type: integer
  22704. - description: 套保品种id
  22705. in: query
  22706. name: middlegoodsid
  22707. type: integer
  22708. produces:
  22709. - application/json
  22710. responses:
  22711. "200":
  22712. description: OK
  22713. schema:
  22714. items:
  22715. $ref: '#/definitions/models.TBMiddleGoods'
  22716. type: array
  22717. "500":
  22718. description: Internal Server Error
  22719. schema:
  22720. $ref: '#/definitions/app.Response'
  22721. security:
  22722. - ApiKeyAuth: []
  22723. summary: 查询套保品种详情(套保品种/商品详情)
  22724. tags:
  22725. - 企业风险管理v3(app)
  22726. /Ermcp3/QueryOutTradeLink:
  22727. get:
  22728. description: 页面 app 现货->期现关联->外部成交单关联
  22729. parameters:
  22730. - description: 用户ID(填登录用户的userid)
  22731. in: query
  22732. name: userid
  22733. required: true
  22734. type: integer
  22735. - description: 外部订单号(模糊匹配)
  22736. in: query
  22737. name: outtradeid
  22738. type: string
  22739. - description: 合约名称/代码(模糊匹配)
  22740. in: query
  22741. name: goodsname
  22742. type: string
  22743. - description: 关联状态 0-未关联 1-已关联
  22744. in: query
  22745. name: hasinnerorder
  22746. type: integer
  22747. produces:
  22748. - application/json
  22749. responses:
  22750. "200":
  22751. description: OK
  22752. schema:
  22753. items:
  22754. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  22755. type: array
  22756. "500":
  22757. description: Internal Server Error
  22758. schema:
  22759. $ref: '#/definitions/app.Response'
  22760. security:
  22761. - ApiKeyAuth: []
  22762. summary: 查询外部成交单关联
  22763. tags:
  22764. - 企业风险管理v3(app)
  22765. /Ermcp3/QueryPaAreaAuditCfg:
  22766. get:
  22767. parameters:
  22768. - description: 用户id
  22769. in: query
  22770. name: userid
  22771. required: true
  22772. type: integer
  22773. produces:
  22774. - application/json
  22775. responses:
  22776. "200":
  22777. description: OK
  22778. schema:
  22779. items:
  22780. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  22781. type: array
  22782. "500":
  22783. description: Internal Server Error
  22784. schema:
  22785. $ref: '#/definitions/app.Response'
  22786. security:
  22787. - ApiKeyAuth: []
  22788. summary: 查询审核设置
  22789. tags:
  22790. - 企业风险管理v3(app)
  22791. /Ermcp3/QueryPaAreaSubject:
  22792. get:
  22793. parameters:
  22794. - description: 用户id
  22795. in: query
  22796. name: userid
  22797. required: true
  22798. type: integer
  22799. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  22800. in: query
  22801. name: subjectid
  22802. type: integer
  22803. - description: 主体类型 - 1:交易主体 2:业务部门
  22804. in: query
  22805. name: subjecttype
  22806. type: integer
  22807. - description: '主体状态 - 1:正常 2: 停用'
  22808. in: query
  22809. name: subjectstatus
  22810. type: integer
  22811. produces:
  22812. - application/json
  22813. responses:
  22814. "200":
  22815. description: OK
  22816. schema:
  22817. items:
  22818. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  22819. type: array
  22820. "500":
  22821. description: Internal Server Error
  22822. schema:
  22823. $ref: '#/definitions/app.Response'
  22824. security:
  22825. - ApiKeyAuth: []
  22826. summary: 查询交易主体
  22827. tags:
  22828. - 企业风险管理v3(app)
  22829. /Ermcp3/QueryPaTradeLink:
  22830. get:
  22831. description: 页面 app 现货->期现关联->期现单据关联
  22832. parameters:
  22833. - description: 用户ID
  22834. in: query
  22835. name: userid
  22836. required: true
  22837. type: integer
  22838. produces:
  22839. - application/json
  22840. responses:
  22841. "200":
  22842. description: OK
  22843. schema:
  22844. items:
  22845. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  22846. type: array
  22847. "500":
  22848. description: Internal Server Error
  22849. schema:
  22850. $ref: '#/definitions/app.Response'
  22851. security:
  22852. - ApiKeyAuth: []
  22853. summary: 查询期现单据关联
  22854. tags:
  22855. - 企业风险管理v3(app)
  22856. /Ermcp3/QueryPaTradeLinkDetail:
  22857. get:
  22858. description: 页面 app 现货->期现关联->关联记录
  22859. parameters:
  22860. - description: 用户ID(填登录用户的userid)
  22861. in: query
  22862. name: userid
  22863. required: true
  22864. type: integer
  22865. - description: 关联状态 1:成功 2:失败 3:解绑
  22866. in: query
  22867. name: linkstatus
  22868. type: integer
  22869. - description: 期货订单号(模糊匹配)
  22870. in: query
  22871. name: tradeid
  22872. type: string
  22873. - description: 现货编号(模糊匹配)
  22874. in: query
  22875. name: contractno
  22876. type: string
  22877. - description: 期货账户(模糊匹配)
  22878. in: query
  22879. name: taname
  22880. type: string
  22881. produces:
  22882. - application/json
  22883. responses:
  22884. "200":
  22885. description: OK
  22886. schema:
  22887. items:
  22888. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  22889. type: array
  22890. "500":
  22891. description: Internal Server Error
  22892. schema:
  22893. $ref: '#/definitions/app.Response'
  22894. security:
  22895. - ApiKeyAuth: []
  22896. summary: 查询期现关联记录
  22897. tags:
  22898. - 企业风险管理v3(app)
  22899. /Ermcp3/QueryParamChangeApp:
  22900. get:
  22901. description: |-
  22902. 原型页面:
  22903. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  22904. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  22905. parameters:
  22906. - description: 用户ID
  22907. in: query
  22908. name: userid
  22909. required: true
  22910. type: integer
  22911. - description: 现货品种id
  22912. in: query
  22913. name: deliverygoodsid
  22914. type: integer
  22915. - description: 现货商品id
  22916. in: query
  22917. name: wrstandardid
  22918. type: integer
  22919. - description: 套保商品id
  22920. in: query
  22921. name: middlegoodsid
  22922. type: integer
  22923. - description: 操作类型 1:新增 2:修改
  22924. in: query
  22925. name: operatetype
  22926. type: integer
  22927. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  22928. in: query
  22929. name: paramchangetype
  22930. type: integer
  22931. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22932. in: query
  22933. name: ftstatus
  22934. type: string
  22935. produces:
  22936. - application/json
  22937. responses:
  22938. "200":
  22939. description: OK
  22940. schema:
  22941. items:
  22942. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  22943. type: array
  22944. "500":
  22945. description: Internal Server Error
  22946. schema:
  22947. $ref: '#/definitions/app.Response'
  22948. security:
  22949. - ApiKeyAuth: []
  22950. summary: 查询现货商品参数变更申请(流水)
  22951. tags:
  22952. - 企业风险管理v3(app)
  22953. /Ermcp3/QueryRootUserAccount:
  22954. get:
  22955. parameters:
  22956. - description: 用户ID
  22957. in: query
  22958. name: userid
  22959. required: true
  22960. type: integer
  22961. produces:
  22962. - application/json
  22963. responses:
  22964. "200":
  22965. description: OK
  22966. schema:
  22967. items:
  22968. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  22969. type: array
  22970. "500":
  22971. description: Internal Server Error
  22972. schema:
  22973. $ref: '#/definitions/app.Response'
  22974. security:
  22975. - ApiKeyAuth: []
  22976. summary: 查询顶级用户信息
  22977. tags:
  22978. - 企业风险管理v3(app)
  22979. /Ermcp3/QuerySCMiddleGoods:
  22980. get:
  22981. description: |-
  22982. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  22983. 现货编号 即 合同编号
  22984. parameters:
  22985. - description: 用户ID(填登录用户的userid)
  22986. in: query
  22987. name: userid
  22988. required: true
  22989. type: integer
  22990. - description: 买卖方向 0-买 1-卖
  22991. in: query
  22992. name: buyorsell
  22993. required: true
  22994. type: integer
  22995. - description: 商品组id
  22996. in: query
  22997. name: goodsgroupid
  22998. required: true
  22999. type: integer
  23000. - description: 业务类型 1:套保 2:套利
  23001. in: query
  23002. name: biztype
  23003. type: integer
  23004. - description: 现货编号(模糊匹配)
  23005. in: query
  23006. name: contractno
  23007. type: string
  23008. - description: 对手方(模糊匹配)
  23009. in: query
  23010. name: customername
  23011. type: string
  23012. - description: 现货商品名称(模糊匹配)
  23013. in: query
  23014. name: wrstandardname
  23015. type: string
  23016. produces:
  23017. - application/json
  23018. responses:
  23019. "200":
  23020. description: OK
  23021. schema:
  23022. items:
  23023. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  23024. type: array
  23025. "500":
  23026. description: Internal Server Error
  23027. schema:
  23028. $ref: '#/definitions/app.Response'
  23029. security:
  23030. - ApiKeyAuth: []
  23031. summary: 查询现货订单
  23032. tags:
  23033. - 企业风险管理v3(app)
  23034. /Ermcp3/QuerySpotContract:
  23035. get:
  23036. parameters:
  23037. - description: 用户id(当指定contractid, userid可不填)
  23038. in: query
  23039. name: userid
  23040. required: true
  23041. type: integer
  23042. - description: 用户类型 2-机构 7-企业成员
  23043. in: query
  23044. name: usertype
  23045. type: integer
  23046. - description: 合同类型 1-采购, -1-销售
  23047. in: query
  23048. name: contracttype
  23049. type: integer
  23050. - description: 查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成
  23051. in: query
  23052. name: querytype
  23053. type: string
  23054. - description: 合同ID(SpotContractId)
  23055. in: query
  23056. name: contractid
  23057. type: string
  23058. - description: 合同编号(模糊匹配)
  23059. in: query
  23060. name: contractno
  23061. type: string
  23062. - description: 商品名称(模糊匹配)
  23063. in: query
  23064. name: wrstandardname
  23065. type: string
  23066. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  23067. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  23068. in: query
  23069. name: status
  23070. type: string
  23071. - description: 是否只查今日的合同 1-查今日合同
  23072. in: query
  23073. name: istoday
  23074. type: integer
  23075. produces:
  23076. - application/json
  23077. responses:
  23078. "200":
  23079. description: OK
  23080. schema:
  23081. items:
  23082. $ref: '#/definitions/models.Ermcp3Contract'
  23083. type: array
  23084. "500":
  23085. description: Internal Server Error
  23086. schema:
  23087. $ref: '#/definitions/app.Response'
  23088. security:
  23089. - ApiKeyAuth: []
  23090. summary: 查询现货合同
  23091. tags:
  23092. - 企业风险管理v3(app)
  23093. /Ermcp3/QuerySpotContractBS:
  23094. get:
  23095. parameters:
  23096. - description: 用户id
  23097. in: query
  23098. name: userid
  23099. required: true
  23100. type: integer
  23101. - description: 用户类型 2-机构 7-企业成员
  23102. in: query
  23103. name: usertype
  23104. type: integer
  23105. - description: 合同类型 1-采购, -1-销售
  23106. in: query
  23107. name: contracttype
  23108. required: true
  23109. type: integer
  23110. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  23111. in: query
  23112. name: querytype
  23113. type: integer
  23114. - description: 合同ID(SpotContractId)
  23115. in: query
  23116. name: contractid
  23117. type: string
  23118. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  23119. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  23120. in: query
  23121. name: status
  23122. type: string
  23123. - description: 是否只查今日的合同 1-查今日合同
  23124. in: query
  23125. name: istoday
  23126. type: integer
  23127. produces:
  23128. - application/json
  23129. responses:
  23130. "200":
  23131. description: OK
  23132. schema:
  23133. items:
  23134. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  23135. type: array
  23136. "500":
  23137. description: Internal Server Error
  23138. schema:
  23139. $ref: '#/definitions/app.Response'
  23140. security:
  23141. - ApiKeyAuth: []
  23142. summary: 查询合同(采购/销售)
  23143. tags:
  23144. - 企业风险管理v3(app)
  23145. /Ermcp3/QuerySpotGoodsPrice:
  23146. get:
  23147. parameters:
  23148. - description: 用户ID
  23149. in: query
  23150. name: userid
  23151. required: true
  23152. type: integer
  23153. produces:
  23154. - application/json
  23155. responses:
  23156. "200":
  23157. description: OK
  23158. schema:
  23159. items:
  23160. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  23161. type: array
  23162. "500":
  23163. description: Internal Server Error
  23164. schema:
  23165. $ref: '#/definitions/app.Response'
  23166. security:
  23167. - ApiKeyAuth: []
  23168. summary: 查询现货市价(现货市价)
  23169. tags:
  23170. - 企业风险管理v3(app)
  23171. /Ermcp3/QuerySpotGoodsPriceLog:
  23172. get:
  23173. parameters:
  23174. - description: 用户ID
  23175. in: query
  23176. name: userid
  23177. required: true
  23178. type: integer
  23179. - description: 现货商品ID
  23180. in: query
  23181. name: deliverygoodsid
  23182. required: true
  23183. type: integer
  23184. - description: 品牌ID
  23185. in: query
  23186. name: brandid
  23187. type: integer
  23188. - description: 品类ID
  23189. in: query
  23190. name: wrstandardid
  23191. type: integer
  23192. produces:
  23193. - application/json
  23194. responses:
  23195. "200":
  23196. description: OK
  23197. schema:
  23198. items:
  23199. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  23200. type: array
  23201. "500":
  23202. description: Internal Server Error
  23203. schema:
  23204. $ref: '#/definitions/app.Response'
  23205. security:
  23206. - ApiKeyAuth: []
  23207. summary: 查询现货市价详情(现货市价/详情)
  23208. tags:
  23209. - 企业风险管理v3(app)
  23210. /Ermcp3/QuerySubTaaccount:
  23211. get:
  23212. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  23213. parameters:
  23214. - description: 母账号id
  23215. in: query
  23216. name: parentaccountid
  23217. type: integer
  23218. - description: 母账号代码
  23219. in: query
  23220. name: parentaccountcode
  23221. type: string
  23222. produces:
  23223. - application/json
  23224. responses:
  23225. "200":
  23226. description: OK
  23227. schema:
  23228. items:
  23229. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  23230. type: array
  23231. "500":
  23232. description: Internal Server Error
  23233. schema:
  23234. $ref: '#/definitions/app.Response'
  23235. security:
  23236. - ApiKeyAuth: []
  23237. summary: 查询期货子账户
  23238. tags:
  23239. - 企业风险管理v3(app)
  23240. /Erms2/QueryArbitrageStrategy:
  23241. get:
  23242. parameters:
  23243. - description: 账户ID
  23244. in: query
  23245. name: userid
  23246. required: true
  23247. type: integer
  23248. - description: 商品组ID(品种ID)
  23249. in: query
  23250. name: goodsgroupid
  23251. type: string
  23252. produces:
  23253. - application/json
  23254. responses:
  23255. "200":
  23256. description: OK
  23257. schema:
  23258. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  23259. "500":
  23260. description: Internal Server Error
  23261. schema:
  23262. $ref: '#/definitions/app.Response'
  23263. security:
  23264. - ApiKeyAuth: []
  23265. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  23266. tags:
  23267. - 风险管理
  23268. /Erms2/QueryInnerTradeDetail:
  23269. get:
  23270. parameters:
  23271. - description: 资金账户
  23272. in: query
  23273. name: accountid
  23274. required: true
  23275. type: integer
  23276. produces:
  23277. - application/json
  23278. responses:
  23279. "200":
  23280. description: OK
  23281. schema:
  23282. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  23283. "500":
  23284. description: Internal Server Error
  23285. schema:
  23286. $ref: '#/definitions/app.Response'
  23287. security:
  23288. - ApiKeyAuth: []
  23289. summary: 查询内部成交单信息
  23290. tags:
  23291. - 风险管理
  23292. /Erms2/QuerySpotContract:
  23293. get:
  23294. parameters:
  23295. - description: 策略申请ID
  23296. in: query
  23297. name: asapplyid
  23298. required: true
  23299. type: integer
  23300. - description: 现货合同ID
  23301. in: query
  23302. name: spotcontractid
  23303. type: integer
  23304. produces:
  23305. - application/json
  23306. responses:
  23307. "200":
  23308. description: OK
  23309. schema:
  23310. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  23311. "500":
  23312. description: Internal Server Error
  23313. schema:
  23314. $ref: '#/definitions/app.Response'
  23315. security:
  23316. - ApiKeyAuth: []
  23317. summary: 查询现货合同表信息(指定策略ID、未结束的)
  23318. tags:
  23319. - 风险管理
  23320. /Erms3/AddErms2ASApply:
  23321. post:
  23322. parameters:
  23323. - description: 申请参数
  23324. in: body
  23325. name: jsonBody
  23326. required: true
  23327. schema:
  23328. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  23329. produces:
  23330. - application/json
  23331. responses:
  23332. "200":
  23333. description: OK
  23334. schema:
  23335. $ref: '#/definitions/app.Response'
  23336. "500":
  23337. description: Internal Server Error
  23338. schema:
  23339. $ref: '#/definitions/app.Response'
  23340. security:
  23341. - ApiKeyAuth: []
  23342. summary: 新增期现套利业务申请
  23343. tags:
  23344. - 风险管理v3
  23345. /Erms3/AddErms2SpotTradeApply:
  23346. post:
  23347. parameters:
  23348. - description: 申请参数
  23349. in: body
  23350. name: jsonBody
  23351. required: true
  23352. schema:
  23353. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  23354. produces:
  23355. - application/json
  23356. responses:
  23357. "200":
  23358. description: OK
  23359. schema:
  23360. $ref: '#/definitions/app.Response'
  23361. "500":
  23362. description: Internal Server Error
  23363. schema:
  23364. $ref: '#/definitions/app.Response'
  23365. security:
  23366. - ApiKeyAuth: []
  23367. summary: 新增现货贸易业务申请
  23368. tags:
  23369. - 风险管理v3
  23370. /Erms3/AddSpotContractApply:
  23371. post:
  23372. parameters:
  23373. - description: 申请参数
  23374. in: body
  23375. name: jsonBody
  23376. required: true
  23377. schema:
  23378. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  23379. produces:
  23380. - application/json
  23381. responses:
  23382. "200":
  23383. description: OK
  23384. schema:
  23385. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  23386. "500":
  23387. description: Internal Server Error
  23388. schema:
  23389. $ref: '#/definitions/app.Response'
  23390. security:
  23391. - ApiKeyAuth: []
  23392. summary: 新增现货合同申请
  23393. tags:
  23394. - 风险管理v3
  23395. /Erms3/AddUserInfoApply:
  23396. post:
  23397. parameters:
  23398. - description: 用户信息
  23399. in: body
  23400. name: jsonBody
  23401. required: true
  23402. schema:
  23403. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  23404. produces:
  23405. - application/json
  23406. responses:
  23407. "200":
  23408. description: OK
  23409. schema:
  23410. $ref: '#/definitions/app.Response'
  23411. "500":
  23412. description: Internal Server Error
  23413. schema:
  23414. $ref: '#/definitions/app.Response'
  23415. security:
  23416. - ApiKeyAuth: []
  23417. summary: 新增客户申请
  23418. tags:
  23419. - 风险管理v3
  23420. /Erms3/DeleteUserInfoApply:
  23421. get:
  23422. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  23423. parameters:
  23424. - description: 用户ID
  23425. in: query
  23426. name: userID
  23427. required: true
  23428. type: integer
  23429. produces:
  23430. - application/json
  23431. responses:
  23432. "200":
  23433. description: OK
  23434. schema:
  23435. $ref: '#/definitions/app.Response'
  23436. "500":
  23437. description: Internal Server Error
  23438. schema:
  23439. $ref: '#/definitions/app.Response'
  23440. security:
  23441. - ApiKeyAuth: []
  23442. summary: 删除客户申请
  23443. tags:
  23444. - 风险管理v3
  23445. /Erms3/ModifyUserInfoApply:
  23446. post:
  23447. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  23448. int, "userstate": 2 }'
  23449. parameters:
  23450. - description: 用户信息
  23451. in: body
  23452. name: jsonBody
  23453. required: true
  23454. schema:
  23455. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  23456. produces:
  23457. - application/json
  23458. responses:
  23459. "200":
  23460. description: OK
  23461. schema:
  23462. $ref: '#/definitions/app.Response'
  23463. "500":
  23464. description: Internal Server Error
  23465. schema:
  23466. $ref: '#/definitions/app.Response'
  23467. security:
  23468. - ApiKeyAuth: []
  23469. summary: 修改客户申请
  23470. tags:
  23471. - 风险管理v3
  23472. /Erms3/QueryBusinessInfo:
  23473. get:
  23474. parameters:
  23475. - description: 资金账号ID列表,用逗号分隔
  23476. in: query
  23477. name: accountids
  23478. required: true
  23479. type: string
  23480. - description: 状态,0为未结束 1为已结束
  23481. in: query
  23482. name: status
  23483. required: true
  23484. type: integer
  23485. produces:
  23486. - application/json
  23487. responses:
  23488. "200":
  23489. description: OK
  23490. schema:
  23491. items:
  23492. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  23493. type: array
  23494. "500":
  23495. description: Internal Server Error
  23496. schema:
  23497. $ref: '#/definitions/app.Response'
  23498. security:
  23499. - ApiKeyAuth: []
  23500. summary: 查询业务表单数据
  23501. tags:
  23502. - 风险管理v3
  23503. /Erms3/QueryPendingAuditContract:
  23504. get:
  23505. parameters:
  23506. - description: 资金账号ID列表,逗号隔开
  23507. in: query
  23508. name: accountids
  23509. required: true
  23510. type: string
  23511. - description: 合同类型 1-采购 -1-销售
  23512. in: query
  23513. name: contracttype
  23514. required: true
  23515. type: integer
  23516. - description: 合同模式 1-普通 2-回购
  23517. in: query
  23518. name: contractmode
  23519. required: true
  23520. type: integer
  23521. produces:
  23522. - application/json
  23523. responses:
  23524. "200":
  23525. description: OK
  23526. schema:
  23527. items:
  23528. $ref: '#/definitions/erms3.QryAuditContractRsp'
  23529. type: array
  23530. "500":
  23531. description: Internal Server Error
  23532. schema:
  23533. $ref: '#/definitions/app.Response'
  23534. security:
  23535. - ApiKeyAuth: []
  23536. summary: 查询待审核合同
  23537. tags:
  23538. - 风险管理v3
  23539. /Erms3/QueryPendingBusiness:
  23540. get:
  23541. parameters:
  23542. - description: 资金账号ID列表,逗号隔开
  23543. in: query
  23544. name: accountids
  23545. required: true
  23546. type: string
  23547. produces:
  23548. - application/json
  23549. responses:
  23550. "200":
  23551. description: OK
  23552. schema:
  23553. items:
  23554. $ref: '#/definitions/erms3.QryPendingBizRsp'
  23555. type: array
  23556. "500":
  23557. description: Internal Server Error
  23558. schema:
  23559. $ref: '#/definitions/app.Response'
  23560. security:
  23561. - ApiKeyAuth: []
  23562. summary: 查询待审核基差贸易业务
  23563. tags:
  23564. - 风险管理v3
  23565. /Erms3/QuerySpotContractAppleForm:
  23566. get:
  23567. parameters:
  23568. - description: 登录账号
  23569. in: query
  23570. name: loginID
  23571. required: true
  23572. type: integer
  23573. produces:
  23574. - application/json
  23575. responses:
  23576. "200":
  23577. description: OK
  23578. schema:
  23579. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  23580. "500":
  23581. description: Internal Server Error
  23582. schema:
  23583. $ref: '#/definitions/app.Response'
  23584. security:
  23585. - ApiKeyAuth: []
  23586. summary: 查询合同申请表单数据
  23587. tags:
  23588. - 风险管理v3
  23589. /Erms3/QuerySpotContractDetail:
  23590. get:
  23591. parameters:
  23592. - description: 资金账号ID列表,用逗号分隔
  23593. in: query
  23594. name: accountids
  23595. required: true
  23596. type: string
  23597. - description: 合同类型,1为采购合同 -1为销售合同
  23598. in: query
  23599. name: contracttype
  23600. required: true
  23601. type: integer
  23602. - description: 合同模式,1为普通合同 2为回购销售合同
  23603. in: query
  23604. name: contractmode
  23605. required: true
  23606. type: integer
  23607. - description: 状态,0为履约中 1为已完成
  23608. in: query
  23609. name: status
  23610. required: true
  23611. type: integer
  23612. produces:
  23613. - application/json
  23614. responses:
  23615. "200":
  23616. description: OK
  23617. schema:
  23618. items:
  23619. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  23620. type: array
  23621. "500":
  23622. description: Internal Server Error
  23623. schema:
  23624. $ref: '#/definitions/app.Response'
  23625. security:
  23626. - ApiKeyAuth: []
  23627. summary: 查询合同详细信息
  23628. tags:
  23629. - 风险管理v3
  23630. /Erms3/QueryUserInfoApplies:
  23631. get:
  23632. parameters:
  23633. - description: 页码
  23634. in: query
  23635. name: page
  23636. type: integer
  23637. - description: 每页条数
  23638. in: query
  23639. name: pagesize
  23640. type: integer
  23641. - description: 客户名称,支持模糊查询
  23642. in: query
  23643. name: userName
  23644. type: string
  23645. produces:
  23646. - application/json
  23647. responses:
  23648. "200":
  23649. description: OK
  23650. schema:
  23651. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  23652. "500":
  23653. description: Internal Server Error
  23654. schema:
  23655. $ref: '#/definitions/app.Response'
  23656. security:
  23657. - ApiKeyAuth: []
  23658. summary: 客户申请信息查询
  23659. tags:
  23660. - 风险管理v3
  23661. /Erms3/QueryUserInfos:
  23662. get:
  23663. parameters:
  23664. - description: 页码
  23665. in: query
  23666. name: page
  23667. type: integer
  23668. - description: 每页条数
  23669. in: query
  23670. name: pagesize
  23671. type: integer
  23672. - description: 客户名称,支持模糊查询
  23673. in: query
  23674. name: userName
  23675. type: string
  23676. produces:
  23677. - application/json
  23678. responses:
  23679. "200":
  23680. description: OK
  23681. schema:
  23682. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  23683. "500":
  23684. description: Internal Server Error
  23685. schema:
  23686. $ref: '#/definitions/app.Response'
  23687. security:
  23688. - ApiKeyAuth: []
  23689. summary: 客户信息查询
  23690. tags:
  23691. - 风险管理v3
  23692. /HSBY/GetHsbyMyCount:
  23693. get:
  23694. description: 说明: 不包括已完成的数量。
  23695. parameters:
  23696. - description: 资金账户列表,格式:1,2,3
  23697. in: query
  23698. name: accountIDs
  23699. required: true
  23700. type: string
  23701. produces:
  23702. - application/json
  23703. responses:
  23704. "200":
  23705. description: OK
  23706. schema:
  23707. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  23708. "500":
  23709. description: Internal Server Error
  23710. schema:
  23711. $ref: '#/definitions/app.Response'
  23712. security:
  23713. - ApiKeyAuth: []
  23714. summary: 获取我的订单与包裹数量
  23715. tags:
  23716. - 定制【海商报业】
  23717. /HSBY/QueryClientFixedADConfigs:
  23718. get:
  23719. produces:
  23720. - application/json
  23721. responses:
  23722. "200":
  23723. description: OK
  23724. schema:
  23725. $ref: '#/definitions/models.Clientfixedadconfig'
  23726. "500":
  23727. description: Internal Server Error
  23728. schema:
  23729. $ref: '#/definitions/app.Response'
  23730. security:
  23731. - ApiKeyAuth: []
  23732. summary: 获取终端固定广告配置
  23733. tags:
  23734. - 定制【海商报业】
  23735. /HSBY/QueryHsbyBuyMyTradeDetail:
  23736. get:
  23737. parameters:
  23738. - description: 页码
  23739. in: query
  23740. name: page
  23741. type: integer
  23742. - description: 每页条数
  23743. in: query
  23744. name: pagesize
  23745. type: integer
  23746. - description: 资金账户列表,格式:1,2,3
  23747. in: query
  23748. name: accountIDs
  23749. required: true
  23750. type: string
  23751. produces:
  23752. - application/json
  23753. responses:
  23754. "200":
  23755. description: OK
  23756. schema:
  23757. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  23758. "500":
  23759. description: Internal Server Error
  23760. schema:
  23761. $ref: '#/definitions/app.Response'
  23762. security:
  23763. - ApiKeyAuth: []
  23764. summary: 查询"我的订单 - 已完成"单据信息
  23765. tags:
  23766. - 定制【海商报业】
  23767. /HSBY/QueryHsbyGoodsOrderDetails:
  23768. get:
  23769. description: 说明:查询结果已按委托价格和委托时间排序
  23770. parameters:
  23771. - description: 商品ID
  23772. in: query
  23773. name: goodsID
  23774. required: true
  23775. type: integer
  23776. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  23777. in: query
  23778. name: accountIDs
  23779. type: string
  23780. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  23781. in: query
  23782. name: buyOrSell
  23783. type: integer
  23784. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  23785. in: query
  23786. name: price
  23787. type: number
  23788. - description: 档位,不传则默认为3档
  23789. in: query
  23790. name: speed
  23791. type: integer
  23792. produces:
  23793. - application/json
  23794. responses:
  23795. "200":
  23796. description: OK
  23797. schema:
  23798. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  23799. "500":
  23800. description: Internal Server Error
  23801. schema:
  23802. $ref: '#/definitions/app.Response'
  23803. security:
  23804. - ApiKeyAuth: []
  23805. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  23806. tags:
  23807. - 定制【海商报业】
  23808. /HSBY/QueryHsbyListingGoodsDetail:
  23809. get:
  23810. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  23811. parameters:
  23812. - description: 商品ID
  23813. in: query
  23814. name: goodsID
  23815. required: true
  23816. type: integer
  23817. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  23818. in: query
  23819. name: accountID
  23820. type: integer
  23821. produces:
  23822. - application/json
  23823. responses:
  23824. "200":
  23825. description: OK
  23826. schema:
  23827. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  23828. "500":
  23829. description: Internal Server Error
  23830. schema:
  23831. $ref: '#/definitions/app.Response'
  23832. security:
  23833. - ApiKeyAuth: []
  23834. summary: 查询二级市场(挂牌点选)商品信息详情
  23835. tags:
  23836. - 定制【海商报业】
  23837. /HSBY/QueryHsbyMarketGoodsDetail:
  23838. get:
  23839. parameters:
  23840. - description: 委托单号
  23841. in: query
  23842. name: orderID
  23843. required: true
  23844. type: integer
  23845. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  23846. in: query
  23847. name: accountID
  23848. type: integer
  23849. produces:
  23850. - application/json
  23851. responses:
  23852. "200":
  23853. description: OK
  23854. schema:
  23855. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  23856. "500":
  23857. description: Internal Server Error
  23858. schema:
  23859. $ref: '#/definitions/app.Response'
  23860. security:
  23861. - ApiKeyAuth: []
  23862. summary: 查询三级市场(商城)商品信息详情
  23863. tags:
  23864. - 定制【海商报业】
  23865. /HSBY/QueryHsbyMarketGoodses:
  23866. get:
  23867. parameters:
  23868. - description: 页码
  23869. in: query
  23870. name: page
  23871. type: integer
  23872. - description: 每页条数
  23873. in: query
  23874. name: pagesize
  23875. type: integer
  23876. - description: 市场ID列表,格式:1,2,3
  23877. in: query
  23878. name: marketIDs
  23879. required: true
  23880. type: string
  23881. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  23882. in: query
  23883. name: accountID
  23884. required: true
  23885. type: integer
  23886. - description: 类别ID
  23887. in: query
  23888. name: categoryID
  23889. type: integer
  23890. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  23891. in: query
  23892. name: goodsIDs
  23893. type: string
  23894. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  23895. in: query
  23896. name: couponTypeID
  23897. type: integer
  23898. produces:
  23899. - application/json
  23900. responses:
  23901. "200":
  23902. description: OK
  23903. schema:
  23904. $ref: '#/definitions/models.HsbyMarketGoods'
  23905. "500":
  23906. description: Internal Server Error
  23907. schema:
  23908. $ref: '#/definitions/app.Response'
  23909. security:
  23910. - ApiKeyAuth: []
  23911. summary: 查询特卖商品列表(三级商城)
  23912. tags:
  23913. - 定制【海商报业】
  23914. /HSBY/QueryHsbyMarkets:
  23915. get:
  23916. produces:
  23917. - application/json
  23918. responses:
  23919. "200":
  23920. description: OK
  23921. schema:
  23922. $ref: '#/definitions/models.HsbyMarketInfo'
  23923. "500":
  23924. description: Internal Server Error
  23925. schema:
  23926. $ref: '#/definitions/app.Response'
  23927. security:
  23928. - ApiKeyAuth: []
  23929. summary: 查询海商报业相关市场信息
  23930. tags:
  23931. - 定制【海商报业】
  23932. /HSBY/QueryHsbyMyBuyOrderDetails:
  23933. get:
  23934. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  23935. parameters:
  23936. - description: 资金账户列表,格式:1,2,3
  23937. in: query
  23938. name: accountIDs
  23939. required: true
  23940. type: string
  23941. produces:
  23942. - application/json
  23943. responses:
  23944. "200":
  23945. description: OK
  23946. schema:
  23947. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  23948. "500":
  23949. description: Internal Server Error
  23950. schema:
  23951. $ref: '#/definitions/app.Response'
  23952. security:
  23953. - ApiKeyAuth: []
  23954. summary: 查询“我的订单”信息
  23955. tags:
  23956. - 定制【海商报业】
  23957. /HSBY/QueryHsbyMyGoods:
  23958. get:
  23959. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  23960. parameters:
  23961. - description: 资金账户列表,格式:1,2,3
  23962. in: query
  23963. name: accountIDs
  23964. required: true
  23965. type: string
  23966. produces:
  23967. - application/json
  23968. responses:
  23969. "200":
  23970. description: OK
  23971. schema:
  23972. $ref: '#/definitions/models.HsbyMyGoods'
  23973. "500":
  23974. description: Internal Server Error
  23975. schema:
  23976. $ref: '#/definitions/app.Response'
  23977. security:
  23978. - ApiKeyAuth: []
  23979. summary: 查询“我的商品”信息
  23980. tags:
  23981. - 定制【海商报业】
  23982. /HSBY/QueryHsbyMyPackages:
  23983. get:
  23984. parameters:
  23985. - description: 资金账户列表,格式:1,2,3
  23986. in: query
  23987. name: accountIDs
  23988. required: true
  23989. type: string
  23990. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  23991. in: query
  23992. name: takeOrderStatus
  23993. type: integer
  23994. produces:
  23995. - application/json
  23996. responses:
  23997. "200":
  23998. description: OK
  23999. schema:
  24000. $ref: '#/definitions/models.HsbyMyPackage'
  24001. "500":
  24002. description: Internal Server Error
  24003. schema:
  24004. $ref: '#/definitions/app.Response'
  24005. security:
  24006. - ApiKeyAuth: []
  24007. summary: 查询我的包裹信息
  24008. tags:
  24009. - 定制【海商报业】
  24010. /HSBY/QueryHsbyPreGoodsDetail:
  24011. get:
  24012. parameters:
  24013. - description: 商品ID
  24014. in: query
  24015. name: goodsID
  24016. required: true
  24017. type: integer
  24018. - description: 资金账户,主要用于获取预售商品购买上限
  24019. in: query
  24020. name: accountID
  24021. type: integer
  24022. produces:
  24023. - application/json
  24024. responses:
  24025. "200":
  24026. description: OK
  24027. schema:
  24028. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  24029. "500":
  24030. description: Internal Server Error
  24031. schema:
  24032. $ref: '#/definitions/app.Response'
  24033. security:
  24034. - ApiKeyAuth: []
  24035. summary: 查询一级市场(预售)商品信息详情
  24036. tags:
  24037. - 定制【海商报业】
  24038. /HSBY/QueryHsbyPreGoodses:
  24039. get:
  24040. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  24041. parameters:
  24042. - description: 页码
  24043. in: query
  24044. name: page
  24045. type: integer
  24046. - description: 每页条数
  24047. in: query
  24048. name: pagesize
  24049. type: integer
  24050. - description: 市场ID列表,格式:1,2,3
  24051. in: query
  24052. name: marketIDs
  24053. required: true
  24054. type: string
  24055. - description: 目的地(省)ID
  24056. in: query
  24057. name: descProvinceID
  24058. type: integer
  24059. - description: 目的地(市)ID
  24060. in: query
  24061. name: descCityID
  24062. type: integer
  24063. produces:
  24064. - application/json
  24065. responses:
  24066. "200":
  24067. description: OK
  24068. schema:
  24069. $ref: '#/definitions/models.HsbyPreGoods'
  24070. "500":
  24071. description: Internal Server Error
  24072. schema:
  24073. $ref: '#/definitions/app.Response'
  24074. security:
  24075. - ApiKeyAuth: []
  24076. summary: 查询新品上市商品列表(一级市场预售)
  24077. tags:
  24078. - 定制【海商报业】
  24079. /HSBY/QueryHsbySellMyDetails:
  24080. get:
  24081. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  24082. parameters:
  24083. - description: 页码
  24084. in: query
  24085. name: page
  24086. type: integer
  24087. - description: 每页条数
  24088. in: query
  24089. name: pagesize
  24090. type: integer
  24091. - description: 资金账户列表,格式:1,2,3
  24092. in: query
  24093. name: accountIDs
  24094. required: true
  24095. type: string
  24096. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  24097. in: query
  24098. name: orderType
  24099. type: integer
  24100. produces:
  24101. - application/json
  24102. responses:
  24103. "200":
  24104. description: OK
  24105. schema:
  24106. $ref: '#/definitions/models.HsbySellMyDetail'
  24107. "500":
  24108. description: Internal Server Error
  24109. schema:
  24110. $ref: '#/definitions/app.Response'
  24111. security:
  24112. - ApiKeyAuth: []
  24113. summary: 查询"我的闲置"单据信息
  24114. tags:
  24115. - 定制【海商报业】
  24116. /HSBY/QueryHsbyTopGoodses:
  24117. get:
  24118. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  24119. parameters:
  24120. - description: 页码
  24121. in: query
  24122. name: page
  24123. type: integer
  24124. - description: 每页条数
  24125. in: query
  24126. name: pagesize
  24127. type: integer
  24128. - description: 市场ID列表,格式:1,2,3
  24129. in: query
  24130. name: marketIDs
  24131. required: true
  24132. type: string
  24133. - description: 目的地(省)ID
  24134. in: query
  24135. name: descProvinceID
  24136. type: integer
  24137. - description: 目的地(市)ID
  24138. in: query
  24139. name: descCityID
  24140. type: integer
  24141. produces:
  24142. - application/json
  24143. responses:
  24144. "200":
  24145. description: OK
  24146. schema:
  24147. $ref: '#/definitions/models.HsbyTopGoods'
  24148. "500":
  24149. description: Internal Server Error
  24150. schema:
  24151. $ref: '#/definitions/app.Response'
  24152. security:
  24153. - ApiKeyAuth: []
  24154. summary: 查询热卖商品列表(二级市场挂牌点选)
  24155. tags:
  24156. - 定制【海商报业】
  24157. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  24158. get:
  24159. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  24160. parameters:
  24161. - description: 商品ID
  24162. in: query
  24163. name: goodsID
  24164. required: true
  24165. type: integer
  24166. produces:
  24167. - application/json
  24168. responses:
  24169. "200":
  24170. description: OK
  24171. schema:
  24172. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  24173. "500":
  24174. description: Internal Server Error
  24175. schema:
  24176. $ref: '#/definitions/app.Response'
  24177. security:
  24178. - ApiKeyAuth: []
  24179. summary: 查询游客三级市场(商城)商品信息详情
  24180. tags:
  24181. - 定制【海商报业】
  24182. /HSBY/QueryHsbyVisitorMarketGoodses:
  24183. get:
  24184. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  24185. parameters:
  24186. - description: 页码
  24187. in: query
  24188. name: page
  24189. type: integer
  24190. - description: 每页条数
  24191. in: query
  24192. name: pagesize
  24193. type: integer
  24194. - description: 市场ID列表,格式:1,2,3
  24195. in: query
  24196. name: marketIDs
  24197. required: true
  24198. type: string
  24199. - description: 类别ID
  24200. in: query
  24201. name: categoryID
  24202. type: integer
  24203. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  24204. in: query
  24205. name: goodsIDs
  24206. type: string
  24207. produces:
  24208. - application/json
  24209. responses:
  24210. "200":
  24211. description: OK
  24212. schema:
  24213. $ref: '#/definitions/models.HsbyMarketGoods'
  24214. "500":
  24215. description: Internal Server Error
  24216. schema:
  24217. $ref: '#/definitions/app.Response'
  24218. security:
  24219. - ApiKeyAuth: []
  24220. summary: 查询游客特卖商品列表(三级商城)
  24221. tags:
  24222. - 定制【海商报业】
  24223. /HSBY/QueryMyCollectionOrders:
  24224. get:
  24225. parameters:
  24226. - description: 页码
  24227. in: query
  24228. name: page
  24229. type: integer
  24230. - description: 每页条数
  24231. in: query
  24232. name: pagesize
  24233. type: integer
  24234. - description: 资金账户,格式:1,2,3
  24235. in: query
  24236. name: accountIDs
  24237. required: true
  24238. type: string
  24239. produces:
  24240. - application/json
  24241. responses:
  24242. "200":
  24243. description: OK
  24244. schema:
  24245. $ref: '#/definitions/models.HsbySellCollectionOrder'
  24246. "500":
  24247. description: Internal Server Error
  24248. schema:
  24249. $ref: '#/definitions/app.Response'
  24250. security:
  24251. - ApiKeyAuth: []
  24252. summary: 我的闲置中收款信息查询
  24253. tags:
  24254. - 定制【海商报业】
  24255. /HSBY/QueryMyCouponHolds:
  24256. get:
  24257. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  24258. parameters:
  24259. - description: 资金账户列表,格式:1,2,3
  24260. in: query
  24261. name: accountIDs
  24262. required: true
  24263. type: string
  24264. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  24265. in: query
  24266. name: holdStatus
  24267. type: string
  24268. produces:
  24269. - application/json
  24270. responses:
  24271. "200":
  24272. description: OK
  24273. schema:
  24274. $ref: '#/definitions/models.MyCouponHold'
  24275. "500":
  24276. description: Internal Server Error
  24277. schema:
  24278. $ref: '#/definitions/app.Response'
  24279. security:
  24280. - ApiKeyAuth: []
  24281. summary: 我的优惠卷持仓查询
  24282. tags:
  24283. - 定制【海商报业】
  24284. /HSBY/QueryMyCoupons:
  24285. get:
  24286. parameters:
  24287. - description: 资金账户列表,格式:1,2,3
  24288. in: query
  24289. name: accountIDs
  24290. required: true
  24291. type: string
  24292. - description: 商品ID, 一般与sellUserID配套传入
  24293. in: query
  24294. name: goodsID
  24295. type: integer
  24296. - description: 卖方UserID
  24297. in: query
  24298. name: sellUserID
  24299. type: integer
  24300. produces:
  24301. - application/json
  24302. responses:
  24303. "200":
  24304. description: OK
  24305. schema:
  24306. $ref: '#/definitions/models.MyCoupon'
  24307. "500":
  24308. description: Internal Server Error
  24309. schema:
  24310. $ref: '#/definitions/app.Response'
  24311. security:
  24312. - ApiKeyAuth: []
  24313. summary: 我的优惠卷查询
  24314. tags:
  24315. - 定制【海商报业】
  24316. /HSBY/QueryMyPayOrders:
  24317. get:
  24318. parameters:
  24319. - description: 页码
  24320. in: query
  24321. name: page
  24322. type: integer
  24323. - description: 每页条数
  24324. in: query
  24325. name: pagesize
  24326. type: integer
  24327. - description: 资金账户列表,格式:1,2,3
  24328. in: query
  24329. name: accountIDs
  24330. required: true
  24331. type: string
  24332. - description: 买方委托单号
  24333. in: query
  24334. name: buyOrderID
  24335. type: integer
  24336. - description: 卖方委托单号
  24337. in: query
  24338. name: sellOrderID
  24339. type: integer
  24340. produces:
  24341. - application/json
  24342. responses:
  24343. "200":
  24344. description: OK
  24345. schema:
  24346. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  24347. "500":
  24348. description: Internal Server Error
  24349. schema:
  24350. $ref: '#/definitions/app.Response'
  24351. security:
  24352. - ApiKeyAuth: []
  24353. summary: 获取我的订单中待付款信息
  24354. tags:
  24355. - 定制【海商报业】
  24356. /HSBY/QueryMyUsedCoupon:
  24357. get:
  24358. parameters:
  24359. - description: 资金账户列表,格式:1,2,3
  24360. in: query
  24361. name: accountIDs
  24362. required: true
  24363. type: string
  24364. produces:
  24365. - application/json
  24366. responses:
  24367. "200":
  24368. description: OK
  24369. schema:
  24370. $ref: '#/definitions/models.MyUsedCoupon'
  24371. "500":
  24372. description: Internal Server Error
  24373. schema:
  24374. $ref: '#/definitions/app.Response'
  24375. security:
  24376. - ApiKeyAuth: []
  24377. summary: 已使用优惠卷查询
  24378. tags:
  24379. - 定制【海商报业】
  24380. /HSBY/QueryProvincesAndCities:
  24381. get:
  24382. description: 查询结果只包括二级市场商品已关连的省市信息。
  24383. parameters:
  24384. - description: 省ID
  24385. in: query
  24386. name: provinceID
  24387. type: integer
  24388. produces:
  24389. - application/json
  24390. responses:
  24391. "200":
  24392. description: OK
  24393. schema:
  24394. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  24395. "500":
  24396. description: Internal Server Error
  24397. schema:
  24398. $ref: '#/definitions/app.Response'
  24399. security:
  24400. - ApiKeyAuth: []
  24401. summary: 查询省市信息(不包括区)
  24402. tags:
  24403. - 定制【海商报业】
  24404. /HSBY/SetHsbyMyPackagesStatus:
  24405. post:
  24406. parameters:
  24407. - description: 提货单号
  24408. in: query
  24409. name: takeOrderID
  24410. required: true
  24411. type: string
  24412. - description: 资金账号
  24413. in: query
  24414. name: accountID
  24415. required: true
  24416. type: integer
  24417. produces:
  24418. - application/json
  24419. responses:
  24420. "200":
  24421. description: OK
  24422. schema:
  24423. $ref: '#/definitions/app.Response'
  24424. "500":
  24425. description: Internal Server Error
  24426. schema:
  24427. $ref: '#/definitions/app.Response'
  24428. security:
  24429. - ApiKeyAuth: []
  24430. summary: 设置我的包裹已收货状态
  24431. tags:
  24432. - 定制【海商报业】
  24433. /Market/GetAllExExchanges:
  24434. get:
  24435. produces:
  24436. - application/json
  24437. responses:
  24438. "200":
  24439. description: OK
  24440. schema:
  24441. $ref: '#/definitions/models.Goods'
  24442. "500":
  24443. description: Internal Server Error
  24444. schema:
  24445. $ref: '#/definitions/app.Response'
  24446. security:
  24447. - ApiKeyAuth: []
  24448. summary: 获取所有外部交易所信息
  24449. tags:
  24450. - 通用市场
  24451. /Market/QueryGoodsesByLoginID:
  24452. get:
  24453. parameters:
  24454. - description: 登录账号
  24455. in: query
  24456. name: loginID
  24457. required: true
  24458. type: integer
  24459. - description: 市场ID列表,格式:1,2,3
  24460. in: query
  24461. name: marketIDs
  24462. type: string
  24463. produces:
  24464. - application/json
  24465. responses:
  24466. "200":
  24467. description: OK
  24468. schema:
  24469. $ref: '#/definitions/models.Goods'
  24470. "500":
  24471. description: Internal Server Error
  24472. schema:
  24473. $ref: '#/definitions/app.Response'
  24474. security:
  24475. - ApiKeyAuth: []
  24476. summary: 获取登录账号有权限的商品信息
  24477. tags:
  24478. - 通用市场
  24479. /Market/QueryMarketRun:
  24480. get:
  24481. parameters:
  24482. - description: 市场ID,不传返回所有
  24483. in: query
  24484. name: marketID
  24485. type: integer
  24486. produces:
  24487. - application/json
  24488. responses:
  24489. "200":
  24490. description: OK
  24491. schema:
  24492. $ref: '#/definitions/models.Marketrun'
  24493. "500":
  24494. description: Internal Server Error
  24495. schema:
  24496. $ref: '#/definitions/app.Response'
  24497. security:
  24498. - ApiKeyAuth: []
  24499. summary: 查询市场运行信息
  24500. tags:
  24501. - 通用市场
  24502. /Market/QueryMarketsByLoginID:
  24503. get:
  24504. parameters:
  24505. - description: 登录账号
  24506. in: query
  24507. name: loginID
  24508. required: true
  24509. type: integer
  24510. produces:
  24511. - application/json
  24512. responses:
  24513. "200":
  24514. description: OK
  24515. schema:
  24516. $ref: '#/definitions/models.Market'
  24517. "500":
  24518. description: Internal Server Error
  24519. schema:
  24520. $ref: '#/definitions/app.Response'
  24521. security:
  24522. - ApiKeyAuth: []
  24523. summary: 获取登录账号有权限的市场信息
  24524. tags:
  24525. - 通用市场
  24526. /Order/QueryHisTradeDetail:
  24527. get:
  24528. parameters:
  24529. - description: 资金账户 - 格式:1,2,3
  24530. in: query
  24531. name: accountID
  24532. required: true
  24533. type: string
  24534. - description: 成交单号
  24535. in: query
  24536. name: tradeID
  24537. type: integer
  24538. - description: 委托单号
  24539. in: query
  24540. name: orderID
  24541. type: integer
  24542. - description: 商品ID
  24543. in: query
  24544. name: goodsID
  24545. type: integer
  24546. - description: 交易模式 - 格式:1,2,3
  24547. in: query
  24548. name: tradeMode
  24549. type: string
  24550. - description: 委托单据类型
  24551. in: query
  24552. name: buildType
  24553. type: integer
  24554. - description: 成交类别 - 格式:1,2,3
  24555. in: query
  24556. name: tradeType
  24557. type: string
  24558. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  24559. in: query
  24560. name: startDate
  24561. type: string
  24562. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  24563. in: query
  24564. name: endDate
  24565. type: string
  24566. produces:
  24567. - application/json
  24568. responses:
  24569. "200":
  24570. description: OK
  24571. schema:
  24572. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  24573. "500":
  24574. description: Internal Server Error
  24575. schema:
  24576. $ref: '#/definitions/app.Response'
  24577. security:
  24578. - ApiKeyAuth: []
  24579. summary: 历史成交单查询(合约市场)
  24580. tags:
  24581. - 通用单据
  24582. /Order/QueryHisTradeOrderDetail:
  24583. get:
  24584. parameters:
  24585. - description: 资金账户 - 格式:1,2,3
  24586. in: query
  24587. name: accountID
  24588. required: true
  24589. type: string
  24590. - description: 交易模式 - 格式:1,2,3
  24591. in: query
  24592. name: tradeMode
  24593. type: string
  24594. - description: 委托状态 - 格式:1,2,3
  24595. in: query
  24596. name: orderStatus
  24597. type: string
  24598. - description: 委托单号
  24599. in: query
  24600. name: orderID
  24601. type: integer
  24602. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  24603. in: query
  24604. name: startDate
  24605. type: string
  24606. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  24607. in: query
  24608. name: endDate
  24609. type: string
  24610. produces:
  24611. - application/json
  24612. responses:
  24613. "200":
  24614. description: OK
  24615. schema:
  24616. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  24617. "500":
  24618. description: Internal Server Error
  24619. schema:
  24620. $ref: '#/definitions/app.Response'
  24621. security:
  24622. - ApiKeyAuth: []
  24623. summary: 历史委托单查询请求(合约市场)
  24624. tags:
  24625. - 通用单据
  24626. /Order/QueryTradeDetail:
  24627. get:
  24628. parameters:
  24629. - description: 资金账户 - 格式:1,2,3
  24630. in: query
  24631. name: accountID
  24632. required: true
  24633. type: string
  24634. - description: 成交单号
  24635. in: query
  24636. name: tradeID
  24637. type: integer
  24638. - description: 委托单号
  24639. in: query
  24640. name: orderID
  24641. type: integer
  24642. - description: 交易模式 - 格式:1,2,3
  24643. in: query
  24644. name: tradeMode
  24645. type: string
  24646. - description: 委托单据类型
  24647. in: query
  24648. name: buildType
  24649. type: integer
  24650. - description: 成交类别 - 格式:1,2,3
  24651. in: query
  24652. name: tradeType
  24653. type: string
  24654. - description: 商品ID
  24655. in: query
  24656. name: goodsID
  24657. type: integer
  24658. produces:
  24659. - application/json
  24660. responses:
  24661. "200":
  24662. description: OK
  24663. schema:
  24664. $ref: '#/definitions/order.QueryTradeDetailRsp'
  24665. "500":
  24666. description: Internal Server Error
  24667. schema:
  24668. $ref: '#/definitions/app.Response'
  24669. security:
  24670. - ApiKeyAuth: []
  24671. summary: 成交单查询(合约市场)
  24672. tags:
  24673. - 通用单据
  24674. /Order/QueryTradeHolderDetail:
  24675. get:
  24676. parameters:
  24677. - description: 用户id
  24678. in: query
  24679. name: userid
  24680. type: integer
  24681. - description: 资金账号, 格式 1,2,3
  24682. in: query
  24683. name: accids
  24684. type: string
  24685. - description: 交易模式, 格式 1,2,3
  24686. in: query
  24687. name: trademodes
  24688. type: string
  24689. - description: 市场id, 格式 1,2,3
  24690. in: query
  24691. name: marketids
  24692. type: string
  24693. - description: 商品id
  24694. in: query
  24695. name: goodsid
  24696. type: integer
  24697. - description: 买卖方向 0-买 1-卖
  24698. in: query
  24699. name: buyorsell
  24700. type: integer
  24701. produces:
  24702. - application/json
  24703. responses:
  24704. "200":
  24705. description: OK
  24706. schema:
  24707. items:
  24708. $ref: '#/definitions/models.TradeHolderDetail'
  24709. type: array
  24710. "500":
  24711. description: Internal Server Error
  24712. schema:
  24713. $ref: '#/definitions/app.Response'
  24714. security:
  24715. - ApiKeyAuth: []
  24716. summary: 查询持仓明细
  24717. tags:
  24718. - 通用单据
  24719. /Order/QueryTradeOrderDetail:
  24720. get:
  24721. parameters:
  24722. - description: 资金账户 - 格式:1,2,3
  24723. in: query
  24724. name: accountID
  24725. required: true
  24726. type: string
  24727. - description: 交易模式 - 格式:1,2,3
  24728. in: query
  24729. name: tradeMode
  24730. type: string
  24731. - description: 委托状态 - 格式:1,2,3
  24732. in: query
  24733. name: orderStatus
  24734. type: string
  24735. - description: 委托单号
  24736. in: query
  24737. name: orderID
  24738. type: integer
  24739. produces:
  24740. - application/json
  24741. responses:
  24742. "200":
  24743. description: OK
  24744. schema:
  24745. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  24746. "500":
  24747. description: Internal Server Error
  24748. schema:
  24749. $ref: '#/definitions/app.Response'
  24750. security:
  24751. - ApiKeyAuth: []
  24752. summary: 委托单查询请求(合约市场)
  24753. tags:
  24754. - 通用单据
  24755. /Order/QueryTradePosition:
  24756. get:
  24757. parameters:
  24758. - description: 资金账户 - 格式:1,2,3
  24759. in: query
  24760. name: accountID
  24761. required: true
  24762. type: string
  24763. - description: 交易模式 - 格式:1,2,3
  24764. in: query
  24765. name: tradeMode
  24766. type: string
  24767. produces:
  24768. - application/json
  24769. responses:
  24770. "200":
  24771. description: OK
  24772. schema:
  24773. $ref: '#/definitions/order.QueryTradePositionRsp'
  24774. "500":
  24775. description: Internal Server Error
  24776. schema:
  24777. $ref: '#/definitions/app.Response'
  24778. security:
  24779. - ApiKeyAuth: []
  24780. summary: 持仓汇总查询(合约市场)
  24781. tags:
  24782. - 通用单据
  24783. /Qhj/QueryAccountInOutApply:
  24784. get:
  24785. parameters:
  24786. - description: 用户ID
  24787. in: query
  24788. name: userid
  24789. required: true
  24790. type: integer
  24791. - description: 申请起始日期(格式yyyymmdd)
  24792. in: query
  24793. name: begindate
  24794. type: string
  24795. - description: 申请截止日期(格式yyyymmdd)
  24796. in: query
  24797. name: enddate
  24798. type: string
  24799. - description: 模糊搜索名称
  24800. in: query
  24801. name: likename
  24802. type: string
  24803. produces:
  24804. - application/json
  24805. responses:
  24806. "200":
  24807. description: OK
  24808. schema:
  24809. items:
  24810. $ref: '#/definitions/models.QhjAccountOutInApply'
  24811. type: array
  24812. "500":
  24813. description: Internal Server Error
  24814. schema:
  24815. $ref: '#/definitions/app.Response'
  24816. security:
  24817. - ApiKeyAuth: []
  24818. summary: 查询充值提现
  24819. tags:
  24820. - 大连千海金
  24821. /Qhj/QueryAreaFinanceConfig:
  24822. get:
  24823. parameters:
  24824. - description: 机构用户ID 其他做市关系,都设置为 1
  24825. in: query
  24826. name: userid
  24827. type: integer
  24828. produces:
  24829. - application/json
  24830. responses:
  24831. "200":
  24832. description: OK
  24833. schema:
  24834. items:
  24835. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  24836. type: array
  24837. "500":
  24838. description: Internal Server Error
  24839. schema:
  24840. $ref: '#/definitions/app.Response'
  24841. security:
  24842. - ApiKeyAuth: []
  24843. summary: 查询企业配置表
  24844. tags:
  24845. - 大连千海金
  24846. /Qhj/QueryBankAccountSign:
  24847. get:
  24848. parameters:
  24849. - description: 用户ID
  24850. in: query
  24851. name: userid
  24852. required: true
  24853. type: integer
  24854. produces:
  24855. - application/json
  24856. responses:
  24857. "200":
  24858. description: OK
  24859. schema:
  24860. items:
  24861. $ref: '#/definitions/models.QhjBankAccountSign'
  24862. type: array
  24863. "500":
  24864. description: Internal Server Error
  24865. schema:
  24866. $ref: '#/definitions/app.Response'
  24867. security:
  24868. - ApiKeyAuth: []
  24869. summary: 查询签约银行信息(提现账户管理)
  24870. tags:
  24871. - 大连千海金
  24872. /Qhj/QueryBankInfo:
  24873. get:
  24874. produces:
  24875. - application/json
  24876. responses:
  24877. "200":
  24878. description: OK
  24879. schema:
  24880. items:
  24881. $ref: '#/definitions/models.QhjBankInfo'
  24882. type: array
  24883. "500":
  24884. description: Internal Server Error
  24885. schema:
  24886. $ref: '#/definitions/app.Response'
  24887. security:
  24888. - ApiKeyAuth: []
  24889. summary: 查询开户行
  24890. tags:
  24891. - 大连千海金
  24892. /Qhj/QueryBrokerApply:
  24893. get:
  24894. parameters:
  24895. - description: 所属机构ID
  24896. in: query
  24897. name: userid
  24898. type: integer
  24899. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24900. in: query
  24901. name: filterstatus
  24902. type: string
  24903. produces:
  24904. - application/json
  24905. responses:
  24906. "200":
  24907. description: OK
  24908. schema:
  24909. items:
  24910. $ref: '#/definitions/models.QhjBrokerApply'
  24911. type: array
  24912. "500":
  24913. description: Internal Server Error
  24914. schema:
  24915. $ref: '#/definitions/app.Response'
  24916. security:
  24917. - ApiKeyAuth: []
  24918. summary: 查询经纪人申请
  24919. tags:
  24920. - 大连千海金
  24921. /Qhj/QueryBrokerApplyEx:
  24922. get:
  24923. parameters:
  24924. - description: 所属机构ID
  24925. in: query
  24926. name: userid
  24927. type: integer
  24928. produces:
  24929. - application/json
  24930. responses:
  24931. "200":
  24932. description: OK
  24933. schema:
  24934. items:
  24935. $ref: '#/definitions/models.QhjBrokerApplyEx'
  24936. type: array
  24937. "500":
  24938. description: Internal Server Error
  24939. schema:
  24940. $ref: '#/definitions/app.Response'
  24941. security:
  24942. - ApiKeyAuth: []
  24943. summary: 查询经纪人信息和申请记录
  24944. tags:
  24945. - 大连千海金
  24946. /Qhj/QueryBrokerRewardLog:
  24947. get:
  24948. parameters:
  24949. - description: 用户ID
  24950. in: query
  24951. name: userid
  24952. required: true
  24953. type: integer
  24954. - description: 开始交易日(yyyymmdd)
  24955. in: query
  24956. name: begindate
  24957. type: string
  24958. - description: 结束交易日(yyyymmdd)
  24959. in: query
  24960. name: enddate
  24961. type: string
  24962. produces:
  24963. - application/json
  24964. responses:
  24965. "200":
  24966. description: OK
  24967. schema:
  24968. items:
  24969. $ref: '#/definitions/models.QhjBrokerRewardLog'
  24970. type: array
  24971. "500":
  24972. description: Internal Server Error
  24973. schema:
  24974. $ref: '#/definitions/app.Response'
  24975. security:
  24976. - ApiKeyAuth: []
  24977. summary: 查询奖励流水(我的奖励)
  24978. tags:
  24979. - 大连千海金
  24980. /Qhj/QueryContract:
  24981. get:
  24982. parameters:
  24983. - description: 用户ID
  24984. in: query
  24985. name: userid
  24986. type: integer
  24987. - description: scf合同id
  24988. in: query
  24989. name: scfcontractid
  24990. type: integer
  24991. produces:
  24992. - application/json
  24993. responses:
  24994. "200":
  24995. description: OK
  24996. schema:
  24997. items:
  24998. $ref: '#/definitions/models.QhjContract'
  24999. type: array
  25000. "500":
  25001. description: Internal Server Error
  25002. schema:
  25003. $ref: '#/definitions/app.Response'
  25004. security:
  25005. - ApiKeyAuth: []
  25006. summary: 查询融资明细(合同)
  25007. tags:
  25008. - 大连千海金
  25009. /Qhj/QueryContractLog:
  25010. get:
  25011. parameters:
  25012. - description: scf合同id
  25013. in: query
  25014. name: scfcontractid
  25015. required: true
  25016. type: integer
  25017. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  25018. in: query
  25019. name: amounttype
  25020. type: string
  25021. produces:
  25022. - application/json
  25023. responses:
  25024. "200":
  25025. description: OK
  25026. schema:
  25027. items:
  25028. $ref: '#/definitions/models.QhjContractLog'
  25029. type: array
  25030. "500":
  25031. description: Internal Server Error
  25032. schema:
  25033. $ref: '#/definitions/app.Response'
  25034. security:
  25035. - ApiKeyAuth: []
  25036. summary: 查询融资明细流水(融资明细详情页中的流水)
  25037. tags:
  25038. - 大连千海金
  25039. /Qhj/QueryCusBankSignBank:
  25040. get:
  25041. produces:
  25042. - application/json
  25043. responses:
  25044. "200":
  25045. description: OK
  25046. schema:
  25047. items:
  25048. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  25049. type: array
  25050. "500":
  25051. description: Internal Server Error
  25052. schema:
  25053. $ref: '#/definitions/app.Response'
  25054. security:
  25055. - ApiKeyAuth: []
  25056. summary: 查询托管银行
  25057. tags:
  25058. - 大连千海金
  25059. /Qhj/QueryCustomerInfo:
  25060. get:
  25061. parameters:
  25062. - description: 用户ID
  25063. in: query
  25064. name: userid
  25065. required: true
  25066. type: integer
  25067. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  25068. in: query
  25069. name: querytype
  25070. required: true
  25071. type: integer
  25072. - description: 客户类型 1-个人 2-企业
  25073. in: query
  25074. name: userinfotype
  25075. type: integer
  25076. - description: 客户名称(模糊匹配)
  25077. in: query
  25078. name: customername
  25079. type: string
  25080. - description: 昵称(模糊匹配)
  25081. in: query
  25082. name: nickname
  25083. type: string
  25084. - description: 是否包含子级 1-包含
  25085. in: query
  25086. name: includesub
  25087. type: integer
  25088. produces:
  25089. - application/json
  25090. responses:
  25091. "200":
  25092. description: OK
  25093. schema:
  25094. items:
  25095. $ref: '#/definitions/models.QhjCustomer'
  25096. type: array
  25097. "500":
  25098. description: Internal Server Error
  25099. schema:
  25100. $ref: '#/definitions/app.Response'
  25101. security:
  25102. - ApiKeyAuth: []
  25103. summary: 查询客户资料
  25104. tags:
  25105. - 大连千海金
  25106. /Qhj/QueryGoodsEx:
  25107. get:
  25108. parameters:
  25109. - description: 商品id
  25110. in: query
  25111. name: goodsid
  25112. type: integer
  25113. produces:
  25114. - application/json
  25115. responses:
  25116. "200":
  25117. description: OK
  25118. schema:
  25119. items:
  25120. $ref: '#/definitions/models.Qhjgoodsex'
  25121. type: array
  25122. "500":
  25123. description: Internal Server Error
  25124. schema:
  25125. $ref: '#/definitions/app.Response'
  25126. security:
  25127. - ApiKeyAuth: []
  25128. summary: 交易商品扩展表
  25129. tags:
  25130. - 大连千海金
  25131. /Qhj/QueryMyTeam:
  25132. get:
  25133. parameters:
  25134. - description: 用户ID
  25135. in: query
  25136. name: userid
  25137. required: true
  25138. type: integer
  25139. produces:
  25140. - application/json
  25141. responses:
  25142. "200":
  25143. description: OK
  25144. schema:
  25145. items:
  25146. $ref: '#/definitions/models.QhjMyTeamEx'
  25147. type: array
  25148. "500":
  25149. description: Internal Server Error
  25150. schema:
  25151. $ref: '#/definitions/app.Response'
  25152. security:
  25153. - ApiKeyAuth: []
  25154. summary: 查询我的团队
  25155. tags:
  25156. - 大连千海金
  25157. /Qhj/QueryMyTeamOrder:
  25158. get:
  25159. parameters:
  25160. - description: 页码
  25161. in: query
  25162. name: page
  25163. type: integer
  25164. - description: 每页条数
  25165. in: query
  25166. name: pagesize
  25167. type: integer
  25168. - description: 用户ID
  25169. in: query
  25170. name: userid
  25171. required: true
  25172. type: integer
  25173. - description: 交易模式
  25174. in: query
  25175. name: trademode
  25176. type: integer
  25177. - description: 名称(模糊搜索账户)
  25178. in: query
  25179. name: filtername
  25180. type: string
  25181. produces:
  25182. - application/json
  25183. responses:
  25184. "200":
  25185. description: OK
  25186. schema:
  25187. items:
  25188. $ref: '#/definitions/models.QhjTeamOrder'
  25189. type: array
  25190. "500":
  25191. description: Internal Server Error
  25192. schema:
  25193. $ref: '#/definitions/app.Response'
  25194. security:
  25195. - ApiKeyAuth: []
  25196. summary: 查询团队订单(我的团队/团队订单)
  25197. tags:
  25198. - 大连千海金
  25199. /Qhj/QueryParentAreaList:
  25200. get:
  25201. parameters:
  25202. - description: 用户ID
  25203. in: query
  25204. name: userid
  25205. required: true
  25206. type: integer
  25207. produces:
  25208. - application/json
  25209. responses:
  25210. "200":
  25211. description: OK
  25212. schema:
  25213. items:
  25214. $ref: '#/definitions/models.QhjParentAreaList'
  25215. type: array
  25216. "500":
  25217. description: Internal Server Error
  25218. schema:
  25219. $ref: '#/definitions/app.Response'
  25220. security:
  25221. - ApiKeyAuth: []
  25222. summary: 查询所属机构列表
  25223. tags:
  25224. - 大连千海金
  25225. /Qhj/QueryPayOrder:
  25226. get:
  25227. parameters:
  25228. - description: 资金账号id
  25229. in: query
  25230. name: accountid
  25231. required: true
  25232. type: integer
  25233. - description: 成交单号
  25234. in: query
  25235. name: tradeid
  25236. type: integer
  25237. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  25238. in: query
  25239. name: payflag
  25240. type: string
  25241. produces:
  25242. - application/json
  25243. responses:
  25244. "200":
  25245. description: OK
  25246. schema:
  25247. items:
  25248. $ref: '#/definitions/models.QhjPayOrder'
  25249. type: array
  25250. "500":
  25251. description: Internal Server Error
  25252. schema:
  25253. $ref: '#/definitions/app.Response'
  25254. security:
  25255. - ApiKeyAuth: []
  25256. summary: 查询待付款单据
  25257. tags:
  25258. - 大连千海金
  25259. /Qhj/QueryPickArea:
  25260. get:
  25261. parameters:
  25262. - description: 用户ID
  25263. in: query
  25264. name: userid
  25265. type: integer
  25266. produces:
  25267. - application/json
  25268. responses:
  25269. "200":
  25270. description: OK
  25271. schema:
  25272. items:
  25273. $ref: '#/definitions/models.QhjPickArea'
  25274. type: array
  25275. "500":
  25276. description: Internal Server Error
  25277. schema:
  25278. $ref: '#/definitions/app.Response'
  25279. security:
  25280. - ApiKeyAuth: []
  25281. summary: 查询提货门店
  25282. tags:
  25283. - 大连千海金
  25284. /Qhj/QueryPickGoods:
  25285. get:
  25286. parameters:
  25287. - description: 交易商品id
  25288. in: query
  25289. name: goodsid
  25290. required: true
  25291. type: integer
  25292. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  25293. in: query
  25294. name: status
  25295. type: string
  25296. produces:
  25297. - application/json
  25298. responses:
  25299. "200":
  25300. description: OK
  25301. schema:
  25302. items:
  25303. $ref: '#/definitions/models.QhjPickGoods'
  25304. type: array
  25305. "500":
  25306. description: Internal Server Error
  25307. schema:
  25308. $ref: '#/definitions/app.Response'
  25309. security:
  25310. - ApiKeyAuth: []
  25311. summary: 查询提货商品
  25312. tags:
  25313. - 大连千海金
  25314. /Qhj/QueryRSTriggerLog:
  25315. get:
  25316. parameters:
  25317. - description: 用户ID
  25318. in: query
  25319. name: userid
  25320. type: integer
  25321. - description: 定投策略id
  25322. in: query
  25323. name: regularlystrategyid
  25324. type: integer
  25325. - description: 商品id
  25326. in: query
  25327. name: goodsid
  25328. type: integer
  25329. - description: 开始交易日(yyyymmdd)
  25330. in: query
  25331. name: begindate
  25332. type: string
  25333. - description: 结束交易日(yyyymmdd)
  25334. in: query
  25335. name: enddate
  25336. type: string
  25337. - description: 名称(模糊搜索账户)
  25338. in: query
  25339. name: filtername
  25340. type: string
  25341. produces:
  25342. - application/json
  25343. responses:
  25344. "200":
  25345. description: OK
  25346. schema:
  25347. items:
  25348. $ref: '#/definitions/models.QhjRSTriggerLog'
  25349. type: array
  25350. "500":
  25351. description: Internal Server Error
  25352. schema:
  25353. $ref: '#/definitions/app.Response'
  25354. security:
  25355. - ApiKeyAuth: []
  25356. summary: 查询定投记录(定投管理/详情/定投记录)
  25357. tags:
  25358. - 大连千海金
  25359. /Qhj/QueryRStrategy:
  25360. get:
  25361. parameters:
  25362. - description: 用户ID
  25363. in: query
  25364. name: userid
  25365. type: integer
  25366. - description: 商品id
  25367. in: query
  25368. name: goodsid
  25369. type: integer
  25370. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  25371. in: query
  25372. name: status
  25373. type: string
  25374. - description: 名称(模糊搜索账户)
  25375. in: query
  25376. name: filtername
  25377. type: string
  25378. produces:
  25379. - application/json
  25380. responses:
  25381. "200":
  25382. description: OK
  25383. schema:
  25384. items:
  25385. $ref: '#/definitions/models.QhjRStrategy'
  25386. type: array
  25387. "500":
  25388. description: Internal Server Error
  25389. schema:
  25390. $ref: '#/definitions/app.Response'
  25391. security:
  25392. - ApiKeyAuth: []
  25393. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  25394. tags:
  25395. - 大连千海金
  25396. /Qhj/QueryReckonPriceLog:
  25397. get:
  25398. parameters:
  25399. - description: 商品ID
  25400. in: query
  25401. name: goodsid
  25402. type: integer
  25403. - description: 交易日 格式(yyyymmdd)
  25404. in: query
  25405. name: tradedate
  25406. type: string
  25407. produces:
  25408. - application/json
  25409. responses:
  25410. "200":
  25411. description: OK
  25412. schema:
  25413. items:
  25414. $ref: '#/definitions/models.QhjReckonPriceLog'
  25415. type: array
  25416. "500":
  25417. description: Internal Server Error
  25418. schema:
  25419. $ref: '#/definitions/app.Response'
  25420. security:
  25421. - ApiKeyAuth: []
  25422. summary: 查询定投价(结算价)
  25423. tags:
  25424. - 大连千海金
  25425. /Qhj/QueryScoreLog:
  25426. get:
  25427. parameters:
  25428. - description: 用户ID
  25429. in: query
  25430. name: userid
  25431. required: true
  25432. type: integer
  25433. - description: 开始交易日(yyyymmdd)
  25434. in: query
  25435. name: begindate
  25436. type: string
  25437. - description: 结束交易日(yyyymmdd)
  25438. in: query
  25439. name: enddate
  25440. type: string
  25441. - description: 最近多少条
  25442. in: query
  25443. name: lastnum
  25444. type: integer
  25445. produces:
  25446. - application/json
  25447. responses:
  25448. "200":
  25449. description: OK
  25450. schema:
  25451. items:
  25452. $ref: '#/definitions/models.QhjScoreLog'
  25453. type: array
  25454. "500":
  25455. description: Internal Server Error
  25456. schema:
  25457. $ref: '#/definitions/app.Response'
  25458. security:
  25459. - ApiKeyAuth: []
  25460. summary: 查询积分流水(我的积分)
  25461. tags:
  25462. - 大连千海金
  25463. /Qhj/QuerySiteColumnDetail:
  25464. get:
  25465. parameters:
  25466. - description: 用户ID
  25467. in: query
  25468. name: userid
  25469. required: true
  25470. type: integer
  25471. produces:
  25472. - application/json
  25473. responses:
  25474. "200":
  25475. description: OK
  25476. schema:
  25477. items:
  25478. $ref: '#/definitions/models.QhjSiteColumnDetail'
  25479. type: array
  25480. "500":
  25481. description: Internal Server Error
  25482. schema:
  25483. $ref: '#/definitions/app.Response'
  25484. security:
  25485. - ApiKeyAuth: []
  25486. summary: 查询资讯
  25487. tags:
  25488. - 大连千海金
  25489. /Qhj/QueryTradeGoodsPickup:
  25490. get:
  25491. parameters:
  25492. - description: 用户ID
  25493. in: query
  25494. name: userid
  25495. required: true
  25496. type: integer
  25497. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  25498. 7:已拒绝 8:已撤销
  25499. in: query
  25500. name: takeorderstatus
  25501. type: integer
  25502. produces:
  25503. - application/json
  25504. responses:
  25505. "200":
  25506. description: OK
  25507. schema:
  25508. items:
  25509. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  25510. type: array
  25511. "500":
  25512. description: Internal Server Error
  25513. schema:
  25514. $ref: '#/definitions/app.Response'
  25515. security:
  25516. - ApiKeyAuth: []
  25517. summary: 查询提货
  25518. tags:
  25519. - 大连千海金
  25520. /Qhj/QueryUserCollectConfig:
  25521. get:
  25522. parameters:
  25523. - description: 用户ID
  25524. in: query
  25525. name: userid
  25526. required: true
  25527. type: integer
  25528. produces:
  25529. - application/json
  25530. responses:
  25531. "200":
  25532. description: OK
  25533. schema:
  25534. items:
  25535. $ref: '#/definitions/models.UserCollectConfig'
  25536. type: array
  25537. "500":
  25538. description: Internal Server Error
  25539. schema:
  25540. $ref: '#/definitions/app.Response'
  25541. security:
  25542. - ApiKeyAuth: []
  25543. summary: 查询提现账户设置
  25544. tags:
  25545. - 大连千海金
  25546. /Qhj/QueryUserReceiveInfo:
  25547. get:
  25548. parameters:
  25549. - description: 用户ID
  25550. in: query
  25551. name: userid
  25552. required: true
  25553. type: integer
  25554. produces:
  25555. - application/json
  25556. responses:
  25557. "200":
  25558. description: OK
  25559. schema:
  25560. items:
  25561. $ref: '#/definitions/models.UserReceiveInfo'
  25562. type: array
  25563. "500":
  25564. description: Internal Server Error
  25565. schema:
  25566. $ref: '#/definitions/app.Response'
  25567. security:
  25568. - ApiKeyAuth: []
  25569. summary: 查询收货地址信息
  25570. tags:
  25571. - 大连千海金
  25572. /QhjMgr/QueryAccountInOutApply:
  25573. get:
  25574. parameters:
  25575. - description: 查询类型 1-提现(出金) 2-充值(出金)
  25576. in: query
  25577. name: querytype
  25578. required: true
  25579. type: integer
  25580. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  25581. in: query
  25582. name: applystatus
  25583. type: integer
  25584. - description: 申请起始日期(格式yyyymmdd)
  25585. in: query
  25586. name: begindate
  25587. type: string
  25588. - description: 申请截止日期(格式yyyymmdd)
  25589. in: query
  25590. name: enddate
  25591. type: string
  25592. - description: 模糊搜索名称
  25593. in: query
  25594. name: likename
  25595. type: string
  25596. produces:
  25597. - application/json
  25598. responses:
  25599. "200":
  25600. description: OK
  25601. schema:
  25602. items:
  25603. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  25604. type: array
  25605. "500":
  25606. description: Internal Server Error
  25607. schema:
  25608. $ref: '#/definitions/app.Response'
  25609. security:
  25610. - ApiKeyAuth: []
  25611. summary: 查询充值提现
  25612. tags:
  25613. - 大连千海金(PCWeb)
  25614. /QhjMgr/QueryBrokerApply:
  25615. get:
  25616. parameters:
  25617. - description: 所属机构ID
  25618. in: query
  25619. name: userid
  25620. type: integer
  25621. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  25622. in: query
  25623. name: filterstatus
  25624. type: string
  25625. - description: 名称(模糊匹配)
  25626. in: query
  25627. name: filtername
  25628. type: string
  25629. - description: 是否包含子级 1-包含
  25630. in: query
  25631. name: includesub
  25632. type: integer
  25633. produces:
  25634. - application/json
  25635. responses:
  25636. "200":
  25637. description: OK
  25638. schema:
  25639. items:
  25640. $ref: '#/definitions/models.QhjMgrBrokerApply'
  25641. type: array
  25642. "500":
  25643. description: Internal Server Error
  25644. schema:
  25645. $ref: '#/definitions/app.Response'
  25646. security:
  25647. - ApiKeyAuth: []
  25648. summary: 查询经纪人申请
  25649. tags:
  25650. - 大连千海金(PCWeb)
  25651. /QhjMgr/QueryBrokerRewardReport:
  25652. get:
  25653. parameters:
  25654. - description: 所属机构ID
  25655. in: query
  25656. name: userid
  25657. required: true
  25658. type: integer
  25659. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25660. in: query
  25661. name: cycletype
  25662. required: true
  25663. type: integer
  25664. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  25665. in: query
  25666. name: cycletime
  25667. required: true
  25668. type: string
  25669. - description: 名称(模糊匹配)
  25670. in: query
  25671. name: filtername
  25672. type: string
  25673. - description: 是否包含子级 1-包含
  25674. in: query
  25675. name: includesub
  25676. type: integer
  25677. produces:
  25678. - application/json
  25679. responses:
  25680. "200":
  25681. description: OK
  25682. schema:
  25683. items:
  25684. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  25685. type: array
  25686. "500":
  25687. description: Internal Server Error
  25688. schema:
  25689. $ref: '#/definitions/app.Response'
  25690. security:
  25691. - ApiKeyAuth: []
  25692. summary: 查询经纪人奖励报表(废弃)
  25693. tags:
  25694. - 大连千海金(PCWeb)
  25695. /QhjMgr/QueryContract:
  25696. get:
  25697. parameters:
  25698. - description: 用户ID
  25699. in: query
  25700. name: userid
  25701. type: integer
  25702. - description: 商品id
  25703. in: query
  25704. name: goodsid
  25705. type: integer
  25706. - description: 名称(模糊搜索账户)
  25707. in: query
  25708. name: filtername
  25709. type: string
  25710. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  25711. in: query
  25712. name: risklevel
  25713. type: string
  25714. - description: 开始交易日(yyyymmdd)
  25715. in: query
  25716. name: begindate
  25717. type: string
  25718. - description: 结束交易日(yyyymmdd)
  25719. in: query
  25720. name: enddate
  25721. type: string
  25722. produces:
  25723. - application/json
  25724. responses:
  25725. "200":
  25726. description: OK
  25727. schema:
  25728. items:
  25729. $ref: '#/definitions/models.QhjMgrContract'
  25730. type: array
  25731. "500":
  25732. description: Internal Server Error
  25733. schema:
  25734. $ref: '#/definitions/app.Response'
  25735. security:
  25736. - ApiKeyAuth: []
  25737. summary: 查询融资信息(合同)
  25738. tags:
  25739. - 大连千海金(PCWeb)
  25740. /QhjMgr/QueryCustomerInfo:
  25741. get:
  25742. parameters:
  25743. - description: 用户ID
  25744. in: query
  25745. name: userid
  25746. required: true
  25747. type: integer
  25748. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  25749. in: query
  25750. name: querytype
  25751. required: true
  25752. type: integer
  25753. - description: 客户类型 1-个人 2-企业
  25754. in: query
  25755. name: userinfotype
  25756. type: integer
  25757. - description: 客户名称(模糊匹配)
  25758. in: query
  25759. name: customername
  25760. type: string
  25761. - description: 昵称(模糊匹配)
  25762. in: query
  25763. name: nickname
  25764. type: string
  25765. - description: 所属客户经理(模糊匹配)
  25766. in: query
  25767. name: brokername
  25768. type: string
  25769. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd,
  25770. 如0503 -5月3日)
  25771. in: query
  25772. name: birthday
  25773. type: string
  25774. - description: 是否包含子级 1-包含
  25775. in: query
  25776. name: includesub
  25777. type: integer
  25778. produces:
  25779. - application/json
  25780. responses:
  25781. "200":
  25782. description: OK
  25783. schema:
  25784. items:
  25785. $ref: '#/definitions/models.QhjMgrCustomer'
  25786. type: array
  25787. "500":
  25788. description: Internal Server Error
  25789. schema:
  25790. $ref: '#/definitions/app.Response'
  25791. security:
  25792. - ApiKeyAuth: []
  25793. summary: 查询客户资料
  25794. tags:
  25795. - 大连千海金(PCWeb)
  25796. /QhjMgr/QueryPickGoods:
  25797. get:
  25798. parameters:
  25799. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  25800. in: query
  25801. name: status
  25802. type: string
  25803. produces:
  25804. - application/json
  25805. responses:
  25806. "200":
  25807. description: OK
  25808. schema:
  25809. items:
  25810. $ref: '#/definitions/models.QhjMgrPickGoods'
  25811. type: array
  25812. "500":
  25813. description: Internal Server Error
  25814. schema:
  25815. $ref: '#/definitions/app.Response'
  25816. security:
  25817. - ApiKeyAuth: []
  25818. summary: 查询提货商品
  25819. tags:
  25820. - 大连千海金(PCWeb)
  25821. /QhjMgr/QuerySubArea:
  25822. get:
  25823. parameters:
  25824. - description: 用户ID
  25825. in: query
  25826. name: userid
  25827. required: true
  25828. type: integer
  25829. produces:
  25830. - application/json
  25831. responses:
  25832. "200":
  25833. description: OK
  25834. schema:
  25835. items:
  25836. $ref: '#/definitions/models.QhjMgrSubArea'
  25837. type: array
  25838. "500":
  25839. description: Internal Server Error
  25840. schema:
  25841. $ref: '#/definitions/app.Response'
  25842. security:
  25843. - ApiKeyAuth: []
  25844. summary: 查询子机构列表
  25845. tags:
  25846. - 大连千海金(PCWeb)
  25847. /QhjMgr/QueryTradeDetail:
  25848. get:
  25849. parameters:
  25850. - description: 用户ID
  25851. in: query
  25852. name: userid
  25853. required: true
  25854. type: integer
  25855. - description: 用户类型 1-个人 2-企业
  25856. in: query
  25857. name: userinfotype
  25858. type: integer
  25859. - description: 交易模式
  25860. in: query
  25861. name: trademode
  25862. type: integer
  25863. - description: 商品id
  25864. in: query
  25865. name: goodsid
  25866. type: integer
  25867. - description: 名称(模糊搜索账户)
  25868. in: query
  25869. name: filtername
  25870. type: string
  25871. - description: 开始交易日(yyyymmdd)
  25872. in: query
  25873. name: begindate
  25874. type: string
  25875. - description: 结束交易日(yyyymmdd)
  25876. in: query
  25877. name: enddate
  25878. type: string
  25879. - description: 是否包含子级 1-包含
  25880. in: query
  25881. name: includesub
  25882. type: integer
  25883. produces:
  25884. - application/json
  25885. responses:
  25886. "200":
  25887. description: OK
  25888. schema:
  25889. items:
  25890. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  25891. type: array
  25892. "500":
  25893. description: Internal Server Error
  25894. schema:
  25895. $ref: '#/definitions/app.Response'
  25896. security:
  25897. - ApiKeyAuth: []
  25898. summary: 查询成交明细
  25899. tags:
  25900. - 大连千海金(PCWeb)
  25901. /QhjMgr/QueryTradeOrderDetail:
  25902. get:
  25903. parameters:
  25904. - description: 用户ID
  25905. in: query
  25906. name: userid
  25907. required: true
  25908. type: integer
  25909. - description: 用户类型 1-个人 2-企业
  25910. in: query
  25911. name: userinfotype
  25912. type: integer
  25913. - description: 交易模式
  25914. in: query
  25915. name: trademode
  25916. type: integer
  25917. - description: 商品id
  25918. in: query
  25919. name: goodsid
  25920. type: integer
  25921. - description: 名称(模糊搜索账户)
  25922. in: query
  25923. name: filtername
  25924. type: string
  25925. - description: 开始交易日(yyyymmdd)
  25926. in: query
  25927. name: begindate
  25928. type: string
  25929. - description: 结束交易日(yyyymmdd)
  25930. in: query
  25931. name: enddate
  25932. type: string
  25933. - description: 是否包含子级 1-包含
  25934. in: query
  25935. name: includesub
  25936. type: integer
  25937. produces:
  25938. - application/json
  25939. responses:
  25940. "200":
  25941. description: OK
  25942. schema:
  25943. items:
  25944. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  25945. type: array
  25946. "500":
  25947. description: Internal Server Error
  25948. schema:
  25949. $ref: '#/definitions/app.Response'
  25950. security:
  25951. - ApiKeyAuth: []
  25952. summary: 查询委托明细
  25953. tags:
  25954. - 大连千海金(PCWeb)
  25955. /QhjMgr/QueryTradePayOrder:
  25956. get:
  25957. parameters:
  25958. - description: 用户ID
  25959. in: query
  25960. name: userid
  25961. required: true
  25962. type: integer
  25963. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  25964. in: query
  25965. name: payflag
  25966. type: string
  25967. - description: 用户类型 1-个人 2-企业
  25968. in: query
  25969. name: userinfotype
  25970. type: integer
  25971. - description: 交易模式
  25972. in: query
  25973. name: trademode
  25974. type: integer
  25975. - description: 商品id
  25976. in: query
  25977. name: goodsid
  25978. type: integer
  25979. - description: 名称(模糊搜索账户)
  25980. in: query
  25981. name: filtername
  25982. type: string
  25983. - description: 开始交易日(yyyymmdd)
  25984. in: query
  25985. name: begindate
  25986. type: string
  25987. - description: 结束交易日(yyyymmdd)
  25988. in: query
  25989. name: enddate
  25990. type: string
  25991. - description: 是否包含子级 1-包含
  25992. in: query
  25993. name: includesub
  25994. type: integer
  25995. produces:
  25996. - application/json
  25997. responses:
  25998. "200":
  25999. description: OK
  26000. schema:
  26001. items:
  26002. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  26003. type: array
  26004. "500":
  26005. description: Internal Server Error
  26006. schema:
  26007. $ref: '#/definitions/app.Response'
  26008. security:
  26009. - ApiKeyAuth: []
  26010. summary: 查询待付款单
  26011. tags:
  26012. - 大连千海金(PCWeb)
  26013. /QhjMgr/QueryTradePosition:
  26014. get:
  26015. parameters:
  26016. - description: 用户ID
  26017. in: query
  26018. name: userid
  26019. required: true
  26020. type: integer
  26021. - description: 用户类型 1-个人 2-企业
  26022. in: query
  26023. name: userinfotype
  26024. type: integer
  26025. - description: 交易模式
  26026. in: query
  26027. name: trademode
  26028. type: integer
  26029. - description: 商品id
  26030. in: query
  26031. name: goodsid
  26032. type: integer
  26033. - description: 名称(模糊搜索账户)
  26034. in: query
  26035. name: filtername
  26036. type: string
  26037. - description: 是否包含子级 1-包含
  26038. in: query
  26039. name: includesub
  26040. type: integer
  26041. produces:
  26042. - application/json
  26043. responses:
  26044. "200":
  26045. description: OK
  26046. schema:
  26047. items:
  26048. $ref: '#/definitions/models.QhjMgrPositionRsp'
  26049. type: array
  26050. "500":
  26051. description: Internal Server Error
  26052. schema:
  26053. $ref: '#/definitions/app.Response'
  26054. security:
  26055. - ApiKeyAuth: []
  26056. summary: 查询持仓汇总
  26057. tags:
  26058. - 大连千海金(PCWeb)
  26059. /QhjSys/QueryAgreementChangeLog:
  26060. get:
  26061. parameters:
  26062. - description: 协议ID
  26063. in: query
  26064. name: agreementid
  26065. type: integer
  26066. - description: 协议版本号
  26067. in: query
  26068. name: agreementversion
  26069. type: integer
  26070. - description: 协议类型 - 1:注册 2:登录 3:交易
  26071. in: query
  26072. name: agreementtype
  26073. type: integer
  26074. - description: 协议编号(模糊匹配)
  26075. in: query
  26076. name: agreementno
  26077. type: string
  26078. - description: 协议名称(模糊匹配)
  26079. in: query
  26080. name: agreementname
  26081. type: string
  26082. produces:
  26083. - application/json
  26084. responses:
  26085. "200":
  26086. description: OK
  26087. schema:
  26088. items:
  26089. $ref: '#/definitions/models.QhjAgreementChangeLog'
  26090. type: array
  26091. "500":
  26092. description: Internal Server Error
  26093. schema:
  26094. $ref: '#/definitions/app.Response'
  26095. security:
  26096. - ApiKeyAuth: []
  26097. summary: 查询协议配置变更流水
  26098. tags:
  26099. - 大连千海金(协议和签约信息)
  26100. /QhjSys/QueryAgreementConfig:
  26101. get:
  26102. parameters:
  26103. - description: 协议ID
  26104. in: query
  26105. name: agreementid
  26106. type: integer
  26107. - description: 协议版本号
  26108. in: query
  26109. name: agreementversion
  26110. type: integer
  26111. - description: 协议类型 - 1:注册 2:登录 3:交易
  26112. in: query
  26113. name: agreementtype
  26114. type: integer
  26115. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  26116. in: query
  26117. name: isvalid
  26118. type: integer
  26119. - description: 协议编号(模糊匹配)
  26120. in: query
  26121. name: agreementno
  26122. type: string
  26123. - description: 协议名称(模糊匹配)
  26124. in: query
  26125. name: agreementname
  26126. type: string
  26127. produces:
  26128. - application/json
  26129. responses:
  26130. "200":
  26131. description: OK
  26132. schema:
  26133. items:
  26134. $ref: '#/definitions/models.QhjAgreementConfig'
  26135. type: array
  26136. "500":
  26137. description: Internal Server Error
  26138. schema:
  26139. $ref: '#/definitions/app.Response'
  26140. security:
  26141. - ApiKeyAuth: []
  26142. summary: 查询协议配置
  26143. tags:
  26144. - 大连千海金(协议和签约信息)
  26145. /QhjSys/QueryCustomerSignStatus:
  26146. get:
  26147. parameters:
  26148. - description: 客户ID
  26149. in: query
  26150. name: userid
  26151. type: integer
  26152. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  26153. in: query
  26154. name: nodetype
  26155. type: integer
  26156. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  26157. in: query
  26158. name: goodsid
  26159. type: integer
  26160. - description: 创建交易日(yyyyMMdd)
  26161. in: query
  26162. name: tradedate
  26163. type: string
  26164. - description: 用户名称(模糊匹配)
  26165. in: query
  26166. name: username
  26167. type: string
  26168. produces:
  26169. - application/json
  26170. responses:
  26171. "200":
  26172. description: OK
  26173. schema:
  26174. items:
  26175. $ref: '#/definitions/models.QhjCustomerSignStatus'
  26176. type: array
  26177. "500":
  26178. description: Internal Server Error
  26179. schema:
  26180. $ref: '#/definitions/app.Response'
  26181. security:
  26182. - ApiKeyAuth: []
  26183. summary: 查询客户协议签约状态
  26184. tags:
  26185. - 大连千海金(协议和签约信息)
  26186. /QhjSys/QueryNodeAgreementConfig:
  26187. get:
  26188. parameters:
  26189. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  26190. in: query
  26191. name: configid
  26192. type: integer
  26193. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  26194. in: query
  26195. name: nodetype
  26196. type: integer
  26197. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  26198. in: query
  26199. name: goodsid
  26200. type: integer
  26201. - description: 协议ID
  26202. in: query
  26203. name: agreementid
  26204. type: integer
  26205. - description: 协议类型 - 1:注册 2:登录 3:交易
  26206. in: query
  26207. name: agreementtype
  26208. type: integer
  26209. - description: 协议版本号
  26210. in: query
  26211. name: agreementversion
  26212. type: integer
  26213. - description: 协议编号(模糊匹配)
  26214. in: query
  26215. name: agreementno
  26216. type: string
  26217. - description: 协议名称(模糊匹配)
  26218. in: query
  26219. name: agreementname
  26220. type: string
  26221. produces:
  26222. - application/json
  26223. responses:
  26224. "200":
  26225. description: OK
  26226. schema:
  26227. items:
  26228. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  26229. type: array
  26230. "500":
  26231. description: Internal Server Error
  26232. schema:
  26233. $ref: '#/definitions/app.Response'
  26234. security:
  26235. - ApiKeyAuth: []
  26236. summary: 查询协议节点配置
  26237. tags:
  26238. - 大连千海金(协议和签约信息)
  26239. /QhjSys/QueryQhjCustomerSignLog:
  26240. get:
  26241. parameters:
  26242. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  26243. in: query
  26244. name: logid
  26245. type: integer
  26246. - description: 客户ID
  26247. in: query
  26248. name: userid
  26249. type: integer
  26250. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  26251. in: query
  26252. name: nodetype
  26253. type: integer
  26254. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  26255. in: query
  26256. name: goodsid
  26257. type: integer
  26258. - description: 协议ID
  26259. in: query
  26260. name: agreementid
  26261. type: integer
  26262. - description: 用户名称(模糊匹配)
  26263. in: query
  26264. name: username
  26265. type: string
  26266. - description: 协议编号(模糊匹配)
  26267. in: query
  26268. name: agreementno
  26269. type: string
  26270. - description: 协议名称(模糊匹配)
  26271. in: query
  26272. name: agreementname
  26273. type: string
  26274. produces:
  26275. - application/json
  26276. responses:
  26277. "200":
  26278. description: OK
  26279. schema:
  26280. items:
  26281. $ref: '#/definitions/models.QhjCustomerSignLog'
  26282. type: array
  26283. "500":
  26284. description: Internal Server Error
  26285. schema:
  26286. $ref: '#/definitions/app.Response'
  26287. security:
  26288. - ApiKeyAuth: []
  26289. summary: 查询客户协议签约流水
  26290. tags:
  26291. - 大连千海金(协议和签约信息)
  26292. /QhjSys/QueryUserNodeCfgAndStatus:
  26293. get:
  26294. parameters:
  26295. - description: 客户ID
  26296. in: query
  26297. name: userid
  26298. type: integer
  26299. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  26300. in: query
  26301. name: configid
  26302. type: integer
  26303. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  26304. in: query
  26305. name: nodetype
  26306. type: string
  26307. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  26308. in: query
  26309. name: goodsid
  26310. type: integer
  26311. - description: 协议ID
  26312. in: query
  26313. name: agreementid
  26314. type: integer
  26315. - description: 协议类型 - 1:注册 2:登录 3:交易
  26316. in: query
  26317. name: agreementtype
  26318. type: integer
  26319. - description: 协议版本号
  26320. in: query
  26321. name: agreementversion
  26322. type: integer
  26323. - description: 协议编号(模糊匹配)
  26324. in: query
  26325. name: agreementno
  26326. type: string
  26327. - description: 协议名称(模糊匹配)
  26328. in: query
  26329. name: agreementname
  26330. type: string
  26331. produces:
  26332. - application/json
  26333. responses:
  26334. "200":
  26335. description: OK
  26336. schema:
  26337. items:
  26338. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  26339. type: array
  26340. "500":
  26341. description: Internal Server Error
  26342. schema:
  26343. $ref: '#/definitions/app.Response'
  26344. security:
  26345. - ApiKeyAuth: []
  26346. summary: 查询用户协议节点配置和状态
  26347. tags:
  26348. - 大连千海金(协议和签约信息)
  26349. /Quote/QueryHistoryDatas:
  26350. get:
  26351. parameters:
  26352. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  26353. 日线 12:周线 13:月线 14:年线'
  26354. in: query
  26355. name: cycleType
  26356. required: true
  26357. type: integer
  26358. - description: 商品代码
  26359. in: query
  26360. name: goodsCode
  26361. required: true
  26362. type: string
  26363. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  26364. in: query
  26365. name: startTime
  26366. type: string
  26367. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  26368. in: query
  26369. name: endTime
  26370. type: string
  26371. - description: 条数
  26372. in: query
  26373. name: count
  26374. type: integer
  26375. - description: 是否按时间顺序排序(默认为时间倒序排序)
  26376. in: query
  26377. name: isAsc
  26378. type: boolean
  26379. produces:
  26380. - application/json
  26381. responses:
  26382. "200":
  26383. description: OK
  26384. schema:
  26385. $ref: '#/definitions/quote.HistoryData'
  26386. "500":
  26387. description: Internal Server Error
  26388. schema:
  26389. $ref: '#/definitions/app.Response'
  26390. security:
  26391. - ApiKeyAuth: []
  26392. summary: 查询行情历史数据
  26393. tags:
  26394. - 行情服务
  26395. /Quote/QueryHistoryTikDatas:
  26396. get:
  26397. parameters:
  26398. - description: 商品代码
  26399. in: query
  26400. name: goodsCode
  26401. required: true
  26402. type: string
  26403. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  26404. in: query
  26405. name: startTime
  26406. type: string
  26407. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  26408. in: query
  26409. name: endTime
  26410. type: string
  26411. - description: 条数
  26412. in: query
  26413. name: count
  26414. type: integer
  26415. - description: 是否按时间顺序排序(默认为时间倒序排序)
  26416. in: query
  26417. name: isAsc
  26418. type: boolean
  26419. produces:
  26420. - application/json
  26421. responses:
  26422. "200":
  26423. description: OK
  26424. schema:
  26425. $ref: '#/definitions/quote.HistoryTikData'
  26426. "500":
  26427. description: Internal Server Error
  26428. schema:
  26429. $ref: '#/definitions/app.Response'
  26430. security:
  26431. - ApiKeyAuth: []
  26432. summary: 查询行情Tik数据
  26433. tags:
  26434. - 行情服务
  26435. /Quote/QueryQuoteDay:
  26436. get:
  26437. parameters:
  26438. - description: 此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107
  26439. in: query
  26440. name: goodsCodes
  26441. type: string
  26442. produces:
  26443. - application/json
  26444. responses:
  26445. "200":
  26446. description: OK
  26447. schema:
  26448. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  26449. "500":
  26450. description: Internal Server Error
  26451. schema:
  26452. $ref: '#/definitions/app.Response'
  26453. security:
  26454. - ApiKeyAuth: []
  26455. summary: 获取商品盘面信息
  26456. tags:
  26457. - 行情服务
  26458. /Quote/QueryTSData:
  26459. get:
  26460. parameters:
  26461. - description: 商品代码
  26462. in: query
  26463. name: goodsCode
  26464. required: true
  26465. type: string
  26466. produces:
  26467. - application/json
  26468. responses:
  26469. "200":
  26470. description: OK
  26471. schema:
  26472. $ref: '#/definitions/quote.QueryTSDataRsp'
  26473. "500":
  26474. description: Internal Server Error
  26475. schema:
  26476. $ref: '#/definitions/app.Response'
  26477. security:
  26478. - ApiKeyAuth: []
  26479. summary: 分时图数据查询
  26480. tags:
  26481. - 行情服务
  26482. /SZDZ/QueryConvertConfig:
  26483. get:
  26484. parameters:
  26485. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  26486. 6:交易转花生米(不设置)
  26487. in: query
  26488. name: convertType
  26489. type: integer
  26490. - description: 外部商品代码[JD\PD]
  26491. in: query
  26492. name: outerGoodsCode
  26493. type: string
  26494. - description: 内部商品ID列表[交易],格式:1,2,3
  26495. in: query
  26496. name: innerGoodsIDs
  26497. type: string
  26498. produces:
  26499. - application/json
  26500. responses:
  26501. "200":
  26502. description: OK
  26503. schema:
  26504. $ref: '#/definitions/models.Szdz3convertconfig'
  26505. "500":
  26506. description: Internal Server Error
  26507. schema:
  26508. $ref: '#/definitions/app.Response'
  26509. security:
  26510. - ApiKeyAuth: []
  26511. summary: 查询交易系统转换设置
  26512. tags:
  26513. - 定制【尚志大宗】
  26514. /SZDZ/QueryConvertLog:
  26515. get:
  26516. parameters:
  26517. - description: 资金账户 - 格式:1,2,3
  26518. in: query
  26519. name: accountID
  26520. required: true
  26521. type: string
  26522. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  26523. in: query
  26524. name: startDate
  26525. type: string
  26526. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  26527. in: query
  26528. name: endDate
  26529. type: string
  26530. produces:
  26531. - application/json
  26532. responses:
  26533. "200":
  26534. description: OK
  26535. schema:
  26536. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  26537. "500":
  26538. description: Internal Server Error
  26539. schema:
  26540. $ref: '#/definitions/app.Response'
  26541. security:
  26542. - ApiKeyAuth: []
  26543. summary: 交易系统转换流水查询
  26544. tags:
  26545. - 定制【尚志大宗】
  26546. /SZDZ/QueryGoodsPickup:
  26547. get:
  26548. parameters:
  26549. - description: 资金账户 - 格式:1,2,3
  26550. in: query
  26551. name: accountID
  26552. required: true
  26553. type: string
  26554. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  26555. in: query
  26556. name: takeOrderStatus
  26557. type: integer
  26558. produces:
  26559. - application/json
  26560. responses:
  26561. "200":
  26562. description: OK
  26563. schema:
  26564. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  26565. "500":
  26566. description: Internal Server Error
  26567. schema:
  26568. $ref: '#/definitions/app.Response'
  26569. security:
  26570. - ApiKeyAuth: []
  26571. summary: 商品提货单查询
  26572. tags:
  26573. - 定制【尚志大宗】
  26574. /SZDZ/QueryRecieptOrder:
  26575. get:
  26576. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  26577. parameters:
  26578. - description: 页码
  26579. in: query
  26580. name: page
  26581. type: integer
  26582. - description: 每页条数
  26583. in: query
  26584. name: pagesize
  26585. type: integer
  26586. - description: 商品ID
  26587. in: query
  26588. name: goodsID
  26589. required: true
  26590. type: integer
  26591. - description: 所属账户名称
  26592. in: query
  26593. name: accountName
  26594. type: string
  26595. - description: 市场ID
  26596. in: query
  26597. name: marketID
  26598. type: integer
  26599. - description: 方向 - 0:买 1:卖
  26600. in: query
  26601. name: buyorsell
  26602. required: true
  26603. type: integer
  26604. produces:
  26605. - application/json
  26606. responses:
  26607. "200":
  26608. description: OK
  26609. schema:
  26610. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  26611. "500":
  26612. description: Internal Server Error
  26613. schema:
  26614. $ref: '#/definitions/app.Response'
  26615. security:
  26616. - ApiKeyAuth: []
  26617. summary: 点选挂牌委托单据查询(摘牌大厅)
  26618. tags:
  26619. - 定制【尚志大宗】
  26620. /SZDZ/QuerySZDZTradePosition:
  26621. get:
  26622. parameters:
  26623. - description: 资金账户
  26624. in: query
  26625. name: accountID
  26626. required: true
  26627. type: integer
  26628. produces:
  26629. - application/json
  26630. responses:
  26631. "200":
  26632. description: OK
  26633. schema:
  26634. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  26635. "500":
  26636. description: Internal Server Error
  26637. schema:
  26638. $ref: '#/definitions/app.Response'
  26639. security:
  26640. - ApiKeyAuth: []
  26641. summary: 持仓汇总查询(尚志大宗)
  26642. tags:
  26643. - 定制【尚志大宗】
  26644. /SZDZ/SearchWhite:
  26645. get:
  26646. parameters:
  26647. - description: 用户ID
  26648. in: query
  26649. name: userID
  26650. required: true
  26651. type: integer
  26652. produces:
  26653. - application/json
  26654. responses:
  26655. "200":
  26656. description: OK
  26657. schema:
  26658. $ref: '#/definitions/models.Szdz3searchwhitelist'
  26659. "500":
  26660. description: Internal Server Error
  26661. schema:
  26662. $ref: '#/definitions/app.Response'
  26663. security:
  26664. - ApiKeyAuth: []
  26665. summary: 搜索白名单
  26666. tags:
  26667. - 定制【尚志大宗】
  26668. /Search/SearchGoodses:
  26669. get:
  26670. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  26671. parameters:
  26672. - description: 检索内容
  26673. in: query
  26674. name: content
  26675. required: true
  26676. type: string
  26677. - description: 交易模式,格式:1,2,3
  26678. in: query
  26679. name: tradeModes
  26680. type: string
  26681. produces:
  26682. - application/json
  26683. responses:
  26684. "200":
  26685. description: OK
  26686. schema:
  26687. $ref: '#/definitions/models.SearchGoods'
  26688. "500":
  26689. description: Internal Server Error
  26690. schema:
  26691. $ref: '#/definitions/app.Response'
  26692. summary: 检索商品信息
  26693. tags:
  26694. - 检索服务
  26695. /TaAccount/GetTaAccounts:
  26696. get:
  26697. parameters:
  26698. - description: 登录账户
  26699. in: query
  26700. name: loginID
  26701. required: true
  26702. type: integer
  26703. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  26704. in: query
  26705. name: taAccountType
  26706. type: integer
  26707. produces:
  26708. - application/json
  26709. responses:
  26710. "200":
  26711. description: OK
  26712. schema:
  26713. $ref: '#/definitions/models.Taaccount'
  26714. "500":
  26715. description: Internal Server Error
  26716. schema:
  26717. $ref: '#/definitions/app.Response'
  26718. security:
  26719. - ApiKeyAuth: []
  26720. summary: 获取资金账户信息
  26721. tags:
  26722. - 资金账户
  26723. /TaAccount/QueryAmountLog:
  26724. get:
  26725. parameters:
  26726. - description: 页码
  26727. in: query
  26728. name: page
  26729. type: integer
  26730. - description: 每页条数
  26731. in: query
  26732. name: pagesize
  26733. type: integer
  26734. - description: 资金账户 - 格式:1,2,3
  26735. in: query
  26736. name: accountID
  26737. required: true
  26738. type: string
  26739. - description: 资金操作类型 - 格式:1,2,3
  26740. in: query
  26741. name: OperateType
  26742. type: string
  26743. produces:
  26744. - application/json
  26745. responses:
  26746. "200":
  26747. description: OK
  26748. schema:
  26749. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  26750. "500":
  26751. description: Internal Server Error
  26752. schema:
  26753. $ref: '#/definitions/app.Response'
  26754. security:
  26755. - ApiKeyAuth: []
  26756. summary: 资金流水查询(当前)
  26757. tags:
  26758. - 资金账户
  26759. /TaAccount/QueryHisAmountLog:
  26760. get:
  26761. parameters:
  26762. - description: 页码
  26763. in: query
  26764. name: page
  26765. type: integer
  26766. - description: 每页条数
  26767. in: query
  26768. name: pagesize
  26769. type: integer
  26770. - description: 资金账户 - 格式:1,2,3
  26771. in: query
  26772. name: accountID
  26773. required: true
  26774. type: string
  26775. - description: 资金操作类型 - 格式:1,2,3
  26776. in: query
  26777. name: OperateType
  26778. type: string
  26779. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  26780. in: query
  26781. name: startDate
  26782. type: string
  26783. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  26784. in: query
  26785. name: endDate
  26786. type: string
  26787. produces:
  26788. - application/json
  26789. responses:
  26790. "200":
  26791. description: OK
  26792. schema:
  26793. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  26794. "500":
  26795. description: Internal Server Error
  26796. schema:
  26797. $ref: '#/definitions/app.Response'
  26798. security:
  26799. - ApiKeyAuth: []
  26800. summary: 资金流水查询(历史)
  26801. tags:
  26802. - 资金账户
  26803. /Tjmd/QueryQuoteGoodsList:
  26804. get:
  26805. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  26806. parameters:
  26807. - description: 用户类型
  26808. in: query
  26809. name: usertype
  26810. required: true
  26811. type: integer
  26812. - description: 市场id, 格式 1,2,3
  26813. in: query
  26814. name: marketids
  26815. type: string
  26816. - description: 商品组id
  26817. in: query
  26818. name: goodsgroupid
  26819. type: integer
  26820. - description: 商品id
  26821. in: query
  26822. name: goodsid
  26823. type: integer
  26824. produces:
  26825. - application/json
  26826. responses:
  26827. "200":
  26828. description: OK
  26829. schema:
  26830. items:
  26831. $ref: '#/definitions/models.TjmdQuoteGoods'
  26832. type: array
  26833. "500":
  26834. description: Internal Server Error
  26835. schema:
  26836. $ref: '#/definitions/app.Response'
  26837. security:
  26838. - ApiKeyAuth: []
  26839. summary: 查询掉期报价列表
  26840. tags:
  26841. - 天津麦顿
  26842. /Tjmd/QueryTjmdMarketSection:
  26843. get:
  26844. produces:
  26845. - application/json
  26846. responses:
  26847. "200":
  26848. description: OK
  26849. schema:
  26850. items:
  26851. $ref: '#/definitions/models.TjmdMarketSection'
  26852. type: array
  26853. "500":
  26854. description: Internal Server Error
  26855. schema:
  26856. $ref: '#/definitions/app.Response'
  26857. security:
  26858. - ApiKeyAuth: []
  26859. summary: 查询市场板块
  26860. tags:
  26861. - 天津麦顿
  26862. /Tjmd/QueryTjmdTodayAccountMargin:
  26863. get:
  26864. parameters:
  26865. - description: 市场id
  26866. in: query
  26867. name: marketid
  26868. type: string
  26869. - description: 商品id
  26870. in: query
  26871. name: goodsid
  26872. type: string
  26873. - description: 资金账号
  26874. in: query
  26875. name: accountid
  26876. type: string
  26877. produces:
  26878. - application/json
  26879. responses:
  26880. "200":
  26881. description: OK
  26882. schema:
  26883. items:
  26884. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  26885. type: array
  26886. "500":
  26887. description: Internal Server Error
  26888. schema:
  26889. $ref: '#/definitions/app.Response'
  26890. security:
  26891. - ApiKeyAuth: []
  26892. summary: 查询今日账户保证金配置
  26893. tags:
  26894. - 天津麦顿
  26895. /Tjmd/QueryTjmdTradeOrderDetail:
  26896. get:
  26897. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  26898. parameters:
  26899. - description: 页码
  26900. in: query
  26901. name: page
  26902. type: integer
  26903. - description: 每页条数
  26904. in: query
  26905. name: pagesize
  26906. type: integer
  26907. - description: 用户id
  26908. in: query
  26909. name: userid
  26910. required: true
  26911. type: integer
  26912. - description: 用户类型
  26913. in: query
  26914. name: usertype
  26915. required: true
  26916. type: integer
  26917. - description: 市场id, 格式 1,2,3
  26918. in: query
  26919. name: marketids
  26920. type: string
  26921. - description: 商品id
  26922. in: query
  26923. name: goodsid
  26924. required: true
  26925. type: integer
  26926. - description: 买卖方向 0-买 1-卖
  26927. in: query
  26928. name: buyorsell
  26929. required: true
  26930. type: integer
  26931. produces:
  26932. - application/json
  26933. responses:
  26934. "200":
  26935. description: OK
  26936. schema:
  26937. items:
  26938. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  26939. type: array
  26940. "500":
  26941. description: Internal Server Error
  26942. schema:
  26943. $ref: '#/definitions/app.Response'
  26944. security:
  26945. - ApiKeyAuth: []
  26946. summary: 查询掉期买卖大厅
  26947. tags:
  26948. - 天津麦顿
  26949. /Tjmd/QueryTjmdTransferApply:
  26950. get:
  26951. parameters:
  26952. - description: 类型 1-我的申请 2-对方申请
  26953. in: query
  26954. name: applytype
  26955. required: true
  26956. type: integer
  26957. - description: 市场id, 格式 1,2,3
  26958. in: query
  26959. name: marketids
  26960. type: string
  26961. - description: 资金账号, 格式 25000000001,25000000003
  26962. in: query
  26963. name: accountids
  26964. type: string
  26965. - description: 开始交易日(yyyymmdd)
  26966. in: query
  26967. name: begindate
  26968. type: string
  26969. - description: 结束交易日(yyyymmdd)
  26970. in: query
  26971. name: enddate
  26972. type: string
  26973. produces:
  26974. - application/json
  26975. responses:
  26976. "200":
  26977. description: OK
  26978. schema:
  26979. items:
  26980. $ref: '#/definitions/models.TjmdTransferApply'
  26981. type: array
  26982. "500":
  26983. description: Internal Server Error
  26984. schema:
  26985. $ref: '#/definitions/app.Response'
  26986. security:
  26987. - ApiKeyAuth: []
  26988. summary: 查询掉期协议单
  26989. tags:
  26990. - 天津麦顿
  26991. /Trade/QueryRecieptOrder:
  26992. get:
  26993. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  26994. parameters:
  26995. - description: 页码
  26996. in: query
  26997. name: page
  26998. type: integer
  26999. - description: 每页条数
  27000. in: query
  27001. name: pagesize
  27002. type: integer
  27003. - description: 商品ID
  27004. in: query
  27005. name: goodsID
  27006. required: true
  27007. type: integer
  27008. - description: 所属账户名称
  27009. in: query
  27010. name: accountName
  27011. type: string
  27012. - description: 市场ID
  27013. in: query
  27014. name: marketID
  27015. type: integer
  27016. - description: 方向 - 0:买 1:卖
  27017. in: query
  27018. name: buyorsell
  27019. required: true
  27020. type: integer
  27021. produces:
  27022. - application/json
  27023. responses:
  27024. "200":
  27025. description: OK
  27026. schema:
  27027. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  27028. "500":
  27029. description: Internal Server Error
  27030. schema:
  27031. $ref: '#/definitions/app.Response'
  27032. security:
  27033. - ApiKeyAuth: []
  27034. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  27035. tags:
  27036. - 通用交易
  27037. /User/AddMessageBoard:
  27038. post:
  27039. parameters:
  27040. - description: 用户ID
  27041. in: query
  27042. name: userID
  27043. required: true
  27044. type: integer
  27045. - description: 留言信息
  27046. in: query
  27047. name: message
  27048. required: true
  27049. type: string
  27050. - description: 联系电话
  27051. in: query
  27052. name: contactNum
  27053. required: true
  27054. type: string
  27055. produces:
  27056. - application/json
  27057. responses:
  27058. "200":
  27059. description: OK
  27060. schema:
  27061. $ref: '#/definitions/app.Response'
  27062. "500":
  27063. description: Internal Server Error
  27064. schema:
  27065. $ref: '#/definitions/app.Response'
  27066. security:
  27067. - ApiKeyAuth: []
  27068. summary: 添加用户留言板信息
  27069. tags:
  27070. - 用户信息
  27071. /User/AddUserFavoriteGoods:
  27072. post:
  27073. parameters:
  27074. - description: 用户ID
  27075. in: query
  27076. name: userID
  27077. required: true
  27078. type: integer
  27079. - description: 商品ID
  27080. in: query
  27081. name: goodsID
  27082. required: true
  27083. type: integer
  27084. produces:
  27085. - application/json
  27086. responses:
  27087. "200":
  27088. description: OK
  27089. schema:
  27090. $ref: '#/definitions/app.Response'
  27091. "500":
  27092. description: Internal Server Error
  27093. schema:
  27094. $ref: '#/definitions/app.Response'
  27095. security:
  27096. - ApiKeyAuth: []
  27097. summary: 添加用户商品收藏信息
  27098. tags:
  27099. - 用户信息
  27100. /User/GetLoginID:
  27101. get:
  27102. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  27103. parameters:
  27104. - description: 登录代码
  27105. in: query
  27106. name: username
  27107. required: true
  27108. type: string
  27109. produces:
  27110. - application/json
  27111. responses:
  27112. "200":
  27113. description: OK
  27114. schema:
  27115. $ref: '#/definitions/app.Response'
  27116. "500":
  27117. description: Internal Server Error
  27118. schema:
  27119. $ref: '#/definitions/app.Response'
  27120. summary: 获取登录ID
  27121. tags:
  27122. - 用户信息
  27123. /User/GetUserAccount:
  27124. get:
  27125. parameters:
  27126. - description: 用户ID
  27127. in: query
  27128. name: userID
  27129. required: true
  27130. type: integer
  27131. produces:
  27132. - application/json
  27133. responses:
  27134. "200":
  27135. description: OK
  27136. schema:
  27137. $ref: '#/definitions/models.Useraccount'
  27138. "500":
  27139. description: Internal Server Error
  27140. schema:
  27141. $ref: '#/definitions/app.Response'
  27142. security:
  27143. - ApiKeyAuth: []
  27144. summary: 获取用户账号信息
  27145. tags:
  27146. - 用户信息
  27147. /User/GetUserAuthStatus:
  27148. get:
  27149. parameters:
  27150. - description: 用户ID
  27151. in: query
  27152. name: userID
  27153. required: true
  27154. type: integer
  27155. produces:
  27156. - application/json
  27157. responses:
  27158. "200":
  27159. description: OK
  27160. schema:
  27161. $ref: '#/definitions/app.Response'
  27162. "500":
  27163. description: Internal Server Error
  27164. schema:
  27165. $ref: '#/definitions/app.Response'
  27166. security:
  27167. - ApiKeyAuth: []
  27168. summary: 获取用户实名认证状态
  27169. tags:
  27170. - 用户信息
  27171. /User/LoginQuery:
  27172. get:
  27173. parameters:
  27174. - description: 登录账号
  27175. in: query
  27176. name: loginID
  27177. required: true
  27178. type: integer
  27179. produces:
  27180. - application/json
  27181. responses:
  27182. "200":
  27183. description: OK
  27184. schema:
  27185. $ref: '#/definitions/user.LoginQueryRsp'
  27186. "500":
  27187. description: Internal Server Error
  27188. schema:
  27189. $ref: '#/definitions/app.Response'
  27190. security:
  27191. - ApiKeyAuth: []
  27192. summary: 账户登录后信息查询
  27193. tags:
  27194. - 用户信息
  27195. /User/QueryMessageBoard:
  27196. get:
  27197. parameters:
  27198. - description: 用户ID
  27199. in: query
  27200. name: userID
  27201. required: true
  27202. type: integer
  27203. produces:
  27204. - application/json
  27205. responses:
  27206. "200":
  27207. description: OK
  27208. schema:
  27209. $ref: '#/definitions/models.Messageboard'
  27210. "500":
  27211. description: Internal Server Error
  27212. schema:
  27213. $ref: '#/definitions/app.Response'
  27214. security:
  27215. - ApiKeyAuth: []
  27216. summary: 获取用户留言板信息
  27217. tags:
  27218. - 用户信息
  27219. /User/QueryUserFavoriteGoodses:
  27220. get:
  27221. parameters:
  27222. - description: 用户ID
  27223. in: query
  27224. name: userID
  27225. required: true
  27226. type: integer
  27227. produces:
  27228. - application/json
  27229. responses:
  27230. "200":
  27231. description: OK
  27232. schema:
  27233. $ref: '#/definitions/models.Userfavoritegoods'
  27234. "500":
  27235. description: Internal Server Error
  27236. schema:
  27237. $ref: '#/definitions/app.Response'
  27238. security:
  27239. - ApiKeyAuth: []
  27240. summary: 获取用户商品收藏信息
  27241. tags:
  27242. - 用户信息
  27243. /User/QueryUserInfo:
  27244. get:
  27245. parameters:
  27246. - description: 用户ID
  27247. in: query
  27248. name: userID
  27249. required: true
  27250. type: integer
  27251. - description: 是否解密
  27252. in: query
  27253. name: isDecrypt
  27254. type: boolean
  27255. produces:
  27256. - application/json
  27257. responses:
  27258. "200":
  27259. description: OK
  27260. schema:
  27261. $ref: '#/definitions/models.Userinfo'
  27262. "500":
  27263. description: Internal Server Error
  27264. schema:
  27265. $ref: '#/definitions/app.Response'
  27266. security:
  27267. - ApiKeyAuth: []
  27268. summary: 获取用户信息
  27269. tags:
  27270. - 用户信息
  27271. /User/QueryUserReferNum:
  27272. get:
  27273. parameters:
  27274. - description: 用户ID
  27275. in: query
  27276. name: userID
  27277. required: true
  27278. type: integer
  27279. produces:
  27280. - application/json
  27281. responses:
  27282. "200":
  27283. description: OK
  27284. schema:
  27285. $ref: '#/definitions/app.Response'
  27286. "500":
  27287. description: Internal Server Error
  27288. schema:
  27289. $ref: '#/definitions/app.Response'
  27290. summary: 获取用户邀请码
  27291. tags:
  27292. - 用户信息
  27293. /User/RemoveUserFavoriteGoods:
  27294. post:
  27295. parameters:
  27296. - description: 用户ID
  27297. in: query
  27298. name: userID
  27299. required: true
  27300. type: integer
  27301. - description: 商品ID
  27302. in: query
  27303. name: goodsID
  27304. required: true
  27305. type: integer
  27306. produces:
  27307. - application/json
  27308. responses:
  27309. "200":
  27310. description: OK
  27311. schema:
  27312. $ref: '#/definitions/app.Response'
  27313. "500":
  27314. description: Internal Server Error
  27315. schema:
  27316. $ref: '#/definitions/app.Response'
  27317. security:
  27318. - ApiKeyAuth: []
  27319. summary: 移除用户商品收藏信息
  27320. tags:
  27321. - 用户信息
  27322. /User/UpdateUserAccountStatus:
  27323. post:
  27324. parameters:
  27325. - description: 用户ID
  27326. in: query
  27327. name: userID
  27328. required: true
  27329. type: integer
  27330. - description: 账户状态 - 4:正常 6:注销(停用)
  27331. in: query
  27332. name: accountStatus
  27333. required: true
  27334. type: integer
  27335. produces:
  27336. - application/json
  27337. responses:
  27338. "200":
  27339. description: OK
  27340. schema:
  27341. $ref: '#/definitions/app.Response'
  27342. "500":
  27343. description: Internal Server Error
  27344. schema:
  27345. $ref: '#/definitions/app.Response'
  27346. security:
  27347. - ApiKeyAuth: []
  27348. summary: 更新用户状态
  27349. tags:
  27350. - 用户信息
  27351. /WRTrade/GetAllDeliveryGoods:
  27352. get:
  27353. produces:
  27354. - application/json
  27355. responses:
  27356. "200":
  27357. description: OK
  27358. schema:
  27359. $ref: '#/definitions/app.Response'
  27360. "500":
  27361. description: Internal Server Error
  27362. schema:
  27363. $ref: '#/definitions/app.Response'
  27364. security:
  27365. - ApiKeyAuth: []
  27366. summary: 获取带仓单分类的种类信息
  27367. tags:
  27368. - 仓单贸易
  27369. - 仓单贸易
  27370. /WrTrade2/QueryDeliveryGoodsSection:
  27371. get:
  27372. produces:
  27373. - application/json
  27374. responses:
  27375. "200":
  27376. description: OK
  27377. schema:
  27378. items:
  27379. $ref: '#/definitions/models.WrDeliveryGoodsSection'
  27380. type: array
  27381. "500":
  27382. description: Internal Server Error
  27383. schema:
  27384. $ref: '#/definitions/app.Response'
  27385. security:
  27386. - ApiKeyAuth: []
  27387. summary: 查询板块(分类)
  27388. tags:
  27389. - 仓单贸易v2
  27390. /WrTrade2/QueryFaProductDetail:
  27391. get:
  27392. description: 页面 买卖大厅 -> 选择融资方案
  27393. parameters:
  27394. - description: 仓单要素id
  27395. in: query
  27396. name: wrfactortypeid
  27397. required: true
  27398. type: integer
  27399. produces:
  27400. - application/json
  27401. responses:
  27402. "200":
  27403. description: OK
  27404. schema:
  27405. items:
  27406. $ref: '#/definitions/models.WrFAProductDetail'
  27407. type: array
  27408. "500":
  27409. description: Internal Server Error
  27410. schema:
  27411. $ref: '#/definitions/app.Response'
  27412. security:
  27413. - ApiKeyAuth: []
  27414. summary: 查询融资产品列表
  27415. tags:
  27416. - 仓单贸易v2
  27417. /WrTrade2/QueryFilterItem:
  27418. get:
  27419. parameters:
  27420. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  27421. in: query
  27422. name: itype
  27423. required: true
  27424. type: string
  27425. produces:
  27426. - application/json
  27427. responses:
  27428. "200":
  27429. description: OK
  27430. schema:
  27431. items:
  27432. $ref: '#/definitions/models.WrFilterItem'
  27433. type: array
  27434. "500":
  27435. description: Internal Server Error
  27436. schema:
  27437. $ref: '#/definitions/app.Response'
  27438. security:
  27439. - ApiKeyAuth: []
  27440. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  27441. tags:
  27442. - 仓单贸易v2
  27443. /WrTrade2/QueryFtDeliveryGoods:
  27444. get:
  27445. produces:
  27446. - application/json
  27447. responses:
  27448. "200":
  27449. description: OK
  27450. schema:
  27451. items:
  27452. $ref: '#/definitions/models.WrFtDeliveryGoods'
  27453. type: array
  27454. "500":
  27455. description: Internal Server Error
  27456. schema:
  27457. $ref: '#/definitions/app.Response'
  27458. security:
  27459. - ApiKeyAuth: []
  27460. summary: 查询品种品类筛选框列表
  27461. tags:
  27462. - 仓单贸易v2
  27463. /WrTrade2/QueryHoldLB:
  27464. get:
  27465. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  27466. parameters:
  27467. - description: 资金账号
  27468. in: query
  27469. name: accountid
  27470. required: true
  27471. type: integer
  27472. - description: 仓库id
  27473. in: query
  27474. name: warehouseid
  27475. type: integer
  27476. - description: 品种id
  27477. in: query
  27478. name: deliverygoodsid
  27479. type: integer
  27480. - description: 品类id
  27481. in: query
  27482. name: wrstandardid
  27483. type: integer
  27484. - description: 仓单要素id
  27485. in: query
  27486. name: wrfactortypeid
  27487. type: integer
  27488. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  27489. in: query
  27490. name: dgitemname
  27491. type: string
  27492. produces:
  27493. - application/json
  27494. responses:
  27495. "200":
  27496. description: OK
  27497. schema:
  27498. items:
  27499. $ref: '#/definitions/models.WrHoldLB'
  27500. type: array
  27501. "500":
  27502. description: Internal Server Error
  27503. schema:
  27504. $ref: '#/definitions/app.Response'
  27505. security:
  27506. - ApiKeyAuth: []
  27507. summary: 查询仓单持有记录
  27508. tags:
  27509. - 仓单贸易v2
  27510. /WrTrade2/QueryOrderQuote:
  27511. get:
  27512. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  27513. 唯一确定1条记录
  27514. parameters:
  27515. - description: 页码
  27516. in: query
  27517. name: page
  27518. type: integer
  27519. - description: 每页条数
  27520. in: query
  27521. name: pagesize
  27522. type: integer
  27523. - description: 仓单贸易市场id
  27524. in: query
  27525. name: marketid
  27526. type: integer
  27527. - description: 价格方式 - 1:固定价 2-浮动价
  27528. in: query
  27529. name: wrpricetype
  27530. required: true
  27531. type: integer
  27532. - description: 0:仓单预售 1:仓单贸易
  27533. in: query
  27534. name: haswr
  27535. type: integer
  27536. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  27537. in: query
  27538. name: dgitemname
  27539. type: string
  27540. - description: 仓库id(筛选条件)
  27541. in: query
  27542. name: warehouseid
  27543. type: integer
  27544. - description: 品种id
  27545. in: query
  27546. name: deliverygoodsid
  27547. type: integer
  27548. - description: 品类id
  27549. in: query
  27550. name: wrstandardid
  27551. type: integer
  27552. - description: 仓单要素id
  27553. in: query
  27554. name: wrfactortypeid
  27555. type: integer
  27556. - description: 交收月(yyyy-mm) 仓单预售填写
  27557. in: query
  27558. name: deliverymonth
  27559. type: string
  27560. produces:
  27561. - application/json
  27562. responses:
  27563. "200":
  27564. description: OK
  27565. schema:
  27566. items:
  27567. $ref: '#/definitions/models.WrOrderQuote'
  27568. type: array
  27569. "500":
  27570. description: Internal Server Error
  27571. schema:
  27572. $ref: '#/definitions/app.Response'
  27573. security:
  27574. - ApiKeyAuth: []
  27575. summary: 查询大厅行情列表
  27576. tags:
  27577. - 仓单贸易v2
  27578. /WrTrade2/QueryOrderQuoteDetail:
  27579. get:
  27580. parameters:
  27581. - description: 页码
  27582. in: query
  27583. name: page
  27584. type: integer
  27585. - description: 每页条数
  27586. in: query
  27587. name: pagesize
  27588. type: integer
  27589. - description: 仓单贸易市场id
  27590. in: query
  27591. name: marketid
  27592. type: integer
  27593. - description: 价格方式 - 1:固定价 2-浮动价
  27594. in: query
  27595. name: wrpricetype
  27596. required: true
  27597. type: integer
  27598. - description: 0:仓单预售 1:仓单贸易
  27599. in: query
  27600. name: haswr
  27601. type: integer
  27602. - description: 仓单要素id
  27603. in: query
  27604. name: wrfactortypeid
  27605. required: true
  27606. type: integer
  27607. - description: 期货商品id(浮动价方式时填)
  27608. in: query
  27609. name: goodsid
  27610. type: integer
  27611. - description: 买卖方向 0-买 1-卖
  27612. in: query
  27613. name: buyorsell
  27614. required: true
  27615. type: integer
  27616. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  27617. in: query
  27618. name: deliverymonth
  27619. type: string
  27620. produces:
  27621. - application/json
  27622. responses:
  27623. "200":
  27624. description: OK
  27625. schema:
  27626. items:
  27627. $ref: '#/definitions/models.WrOrderQuoteDetail'
  27628. type: array
  27629. "500":
  27630. description: Internal Server Error
  27631. schema:
  27632. $ref: '#/definitions/app.Response'
  27633. security:
  27634. - ApiKeyAuth: []
  27635. summary: 查询买卖大厅
  27636. tags:
  27637. - 仓单贸易v2
  27638. /WrTrade2/QueryOrderQuoteMyq:
  27639. get:
  27640. parameters:
  27641. - description: 页码
  27642. in: query
  27643. name: page
  27644. type: integer
  27645. - description: 每页条数
  27646. in: query
  27647. name: pagesize
  27648. type: integer
  27649. - description: 用户id
  27650. in: query
  27651. name: userid
  27652. required: true
  27653. type: integer
  27654. - description: 仓单贸易市场id
  27655. in: query
  27656. name: marketid
  27657. type: integer
  27658. - description: 0:仓单预售 1:仓单贸易
  27659. in: query
  27660. name: haswr
  27661. type: integer
  27662. - description: 买卖方向 0-买 1-卖
  27663. in: query
  27664. name: buyorsell
  27665. required: true
  27666. type: integer
  27667. - description: 品种id
  27668. in: query
  27669. name: deliverygoodsid
  27670. type: integer
  27671. - description: 品类id
  27672. in: query
  27673. name: wrstandardid
  27674. type: integer
  27675. - description: 交收月(yyyy-mm) 仓单预售填写
  27676. in: query
  27677. name: deliverymonth
  27678. type: string
  27679. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  27680. in: query
  27681. name: dgitemname
  27682. type: string
  27683. produces:
  27684. - application/json
  27685. responses:
  27686. "200":
  27687. description: OK
  27688. schema:
  27689. items:
  27690. $ref: '#/definitions/models.WrQuoteOrderMyq'
  27691. type: array
  27692. "500":
  27693. description: Internal Server Error
  27694. schema:
  27695. $ref: '#/definitions/app.Response'
  27696. security:
  27697. - ApiKeyAuth: []
  27698. summary: 查询贸易圈挂牌大厅
  27699. tags:
  27700. - 仓单贸易v2
  27701. /WrTrade2/QueryPerformancePlan:
  27702. get:
  27703. parameters:
  27704. - description: 用户id
  27705. in: query
  27706. name: userid
  27707. required: true
  27708. type: integer
  27709. - description: 买卖方向 0-买 1-卖
  27710. in: query
  27711. name: buyorsell
  27712. required: true
  27713. type: integer
  27714. - description: 履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成
  27715. 8:释放冻结失败 9:超时待处理 10:超时关闭
  27716. in: query
  27717. name: status
  27718. type: string
  27719. - description: 开始交易日(yyyymmdd)
  27720. in: query
  27721. name: begindate
  27722. type: string
  27723. - description: 结束交易日(yyyymmdd)
  27724. in: query
  27725. name: enddate
  27726. type: string
  27727. produces:
  27728. - application/json
  27729. responses:
  27730. "200":
  27731. description: OK
  27732. schema:
  27733. items:
  27734. $ref: '#/definitions/models.WrPerformancePlan'
  27735. type: array
  27736. "500":
  27737. description: Internal Server Error
  27738. schema:
  27739. $ref: '#/definitions/app.Response'
  27740. security:
  27741. - ApiKeyAuth: []
  27742. summary: 查询履约信息
  27743. tags:
  27744. - 仓单贸易v2
  27745. /WrTrade2/QueryPermancePlanTmp:
  27746. get:
  27747. description: |-
  27748. 返回指定用户的模板和公共模板(用户id为空)
  27749. 注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段
  27750. parameters:
  27751. - description: 用户id
  27752. in: query
  27753. name: userid
  27754. type: integer
  27755. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  27756. (无仓单) 5:挂牌期权 6:竞拍-降价式
  27757. in: query
  27758. name: tmptype
  27759. type: string
  27760. - description: 是否包含公共模板(用户id为空的) 1-包含
  27761. in: query
  27762. name: includepub
  27763. type: integer
  27764. - description: 市场id(天津麦顿指定此参数,其它不用)
  27765. in: query
  27766. name: marketid
  27767. type: integer
  27768. produces:
  27769. - application/json
  27770. responses:
  27771. "200":
  27772. description: OK
  27773. schema:
  27774. items:
  27775. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  27776. type: array
  27777. "500":
  27778. description: Internal Server Error
  27779. schema:
  27780. $ref: '#/definitions/app.Response'
  27781. security:
  27782. - ApiKeyAuth: []
  27783. summary: 查询履约模板
  27784. tags:
  27785. - 仓单贸易v2
  27786. /WrTrade2/QuerySiteColumnDetail:
  27787. get:
  27788. parameters:
  27789. - description: 页码
  27790. in: query
  27791. name: page
  27792. type: integer
  27793. - description: 每页条数
  27794. in: query
  27795. name: pagesize
  27796. type: integer
  27797. - description: 所属栏目id
  27798. in: query
  27799. name: columnid
  27800. type: integer
  27801. produces:
  27802. - application/json
  27803. responses:
  27804. "200":
  27805. description: OK
  27806. schema:
  27807. items:
  27808. $ref: '#/definitions/models.WrSiteColumnDetail'
  27809. type: array
  27810. "500":
  27811. description: Internal Server Error
  27812. schema:
  27813. $ref: '#/definitions/app.Response'
  27814. security:
  27815. - ApiKeyAuth: []
  27816. summary: 查询资讯
  27817. tags:
  27818. - 仓单贸易v2
  27819. /WrTrade2/QuerySpotGroupTradeSum:
  27820. get:
  27821. produces:
  27822. - application/json
  27823. responses:
  27824. "200":
  27825. description: OK
  27826. schema:
  27827. items:
  27828. $ref: '#/definitions/models.WrSpotGroupTradeSumEx'
  27829. type: array
  27830. "500":
  27831. description: Internal Server Error
  27832. schema:
  27833. $ref: '#/definitions/app.Response'
  27834. security:
  27835. - ApiKeyAuth: []
  27836. summary: 查询指数
  27837. tags:
  27838. - 仓单贸易v2
  27839. /WrTrade2/QuerySpotGroupTradeSumDetail:
  27840. get:
  27841. description: 查询的结果将会按日期 从小到大 排序
  27842. parameters:
  27843. - description: 现货商品id
  27844. in: query
  27845. name: deliverygoodsid
  27846. required: true
  27847. type: integer
  27848. - description: 查询最新多少条记录(如不填写此项, 默认查30条)
  27849. in: query
  27850. name: lastnum
  27851. type: integer
  27852. produces:
  27853. - application/json
  27854. responses:
  27855. "200":
  27856. description: OK
  27857. schema:
  27858. items:
  27859. $ref: '#/definitions/models.WrSpotGroupTradeSumDetail'
  27860. type: array
  27861. "500":
  27862. description: Internal Server Error
  27863. schema:
  27864. $ref: '#/definitions/app.Response'
  27865. security:
  27866. - ApiKeyAuth: []
  27867. summary: 查询指数详细(价格走势图)
  27868. tags:
  27869. - 仓单贸易v2
  27870. /WrTrade2/QueryWrAverageTradePrice:
  27871. get:
  27872. parameters:
  27873. - description: 页码
  27874. in: query
  27875. name: page
  27876. type: integer
  27877. - description: 每页条数
  27878. in: query
  27879. name: pagesize
  27880. type: integer
  27881. - description: 0:仓单预售 1:仓单贸易
  27882. in: query
  27883. name: haswr
  27884. required: true
  27885. type: integer
  27886. - description: 仓单要素id
  27887. in: query
  27888. name: wrfactortypeid
  27889. required: true
  27890. type: integer
  27891. produces:
  27892. - application/json
  27893. responses:
  27894. "200":
  27895. description: OK
  27896. schema:
  27897. items:
  27898. $ref: '#/definitions/models.WrAverageTradePrice'
  27899. type: array
  27900. "500":
  27901. description: Internal Server Error
  27902. schema:
  27903. $ref: '#/definitions/app.Response'
  27904. security:
  27905. - ApiKeyAuth: []
  27906. summary: 查询成交价(历史走势)
  27907. tags:
  27908. - 仓单贸易v2
  27909. /WrTrade2/QueryWrBrandAndYears:
  27910. get:
  27911. produces:
  27912. - application/json
  27913. responses:
  27914. "200":
  27915. description: OK
  27916. schema:
  27917. items:
  27918. $ref: '#/definitions/models.WrBrandAndYears'
  27919. type: array
  27920. "500":
  27921. description: Internal Server Error
  27922. schema:
  27923. $ref: '#/definitions/app.Response'
  27924. security:
  27925. - ApiKeyAuth: []
  27926. summary: 查询品牌和年份
  27927. tags:
  27928. - 仓单贸易v2
  27929. /WrTrade2/QueryWrBsGoodsInfo:
  27930. get:
  27931. description: 合约交易/买卖大厅/详情
  27932. parameters:
  27933. - description: 商品id
  27934. in: query
  27935. name: goodsid
  27936. required: true
  27937. type: integer
  27938. produces:
  27939. - application/json
  27940. responses:
  27941. "200":
  27942. description: OK
  27943. schema:
  27944. items:
  27945. $ref: '#/definitions/models.WrBsGoodsInfo'
  27946. type: array
  27947. "500":
  27948. description: Internal Server Error
  27949. schema:
  27950. $ref: '#/definitions/app.Response'
  27951. security:
  27952. - ApiKeyAuth: []
  27953. summary: 查询合约交易买卖大厅详情
  27954. tags:
  27955. - 仓单贸易v2
  27956. /WrTrade2/QueryWrBuybackDetail:
  27957. get:
  27958. parameters:
  27959. - description: 融资合同id
  27960. in: query
  27961. name: scfcontractid
  27962. type: integer
  27963. produces:
  27964. - application/json
  27965. responses:
  27966. "200":
  27967. description: OK
  27968. schema:
  27969. items:
  27970. $ref: '#/definitions/models.WrBuybackDetail'
  27971. type: array
  27972. "500":
  27973. description: Internal Server Error
  27974. schema:
  27975. $ref: '#/definitions/app.Response'
  27976. security:
  27977. - ApiKeyAuth: []
  27978. summary: 查询仓单回购明细
  27979. tags:
  27980. - 仓单贸易v2
  27981. /WrTrade2/QueryWrClientAdSpaceConfig:
  27982. get:
  27983. produces:
  27984. - application/json
  27985. responses:
  27986. "200":
  27987. description: OK
  27988. schema:
  27989. items:
  27990. $ref: '#/definitions/models.WrClientAdSpaceConfig'
  27991. type: array
  27992. "500":
  27993. description: Internal Server Error
  27994. schema:
  27995. $ref: '#/definitions/app.Response'
  27996. security:
  27997. - ApiKeyAuth: []
  27998. summary: 查询固定广告配置
  27999. tags:
  28000. - 仓单贸易v2
  28001. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  28002. get:
  28003. parameters:
  28004. - description: 资金账号
  28005. in: query
  28006. name: accountid
  28007. required: true
  28008. type: integer
  28009. - description: 商品id
  28010. in: query
  28011. name: goodsid
  28012. required: true
  28013. type: integer
  28014. produces:
  28015. - application/json
  28016. responses:
  28017. "200":
  28018. description: OK
  28019. schema:
  28020. items:
  28021. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  28022. type: array
  28023. "500":
  28024. description: Internal Server Error
  28025. schema:
  28026. $ref: '#/definitions/app.Response'
  28027. security:
  28028. - ApiKeyAuth: []
  28029. summary: 查询合约交收可点选仓单
  28030. tags:
  28031. - 仓单贸易v2
  28032. /WrTrade2/QueryWrDeliveryDetail:
  28033. get:
  28034. parameters:
  28035. - description: 用户id
  28036. in: query
  28037. name: userid
  28038. required: true
  28039. type: integer
  28040. - description: 资金账号id
  28041. in: query
  28042. name: accountid
  28043. type: integer
  28044. - description: 开始交易日(yyyymmdd)
  28045. in: query
  28046. name: begindate
  28047. type: string
  28048. - description: 结束交易日(yyyymmdd)
  28049. in: query
  28050. name: enddate
  28051. type: string
  28052. produces:
  28053. - application/json
  28054. responses:
  28055. "200":
  28056. description: OK
  28057. schema:
  28058. items:
  28059. $ref: '#/definitions/models.WrDeliveryDetail'
  28060. type: array
  28061. "500":
  28062. description: Internal Server Error
  28063. schema:
  28064. $ref: '#/definitions/app.Response'
  28065. security:
  28066. - ApiKeyAuth: []
  28067. summary: 查询交收
  28068. tags:
  28069. - 仓单贸易v2
  28070. /WrTrade2/QueryWrDraftUserInfo:
  28071. get:
  28072. parameters:
  28073. - description: 用户ID
  28074. in: query
  28075. name: userid
  28076. required: true
  28077. type: integer
  28078. - description: 用户状态 1:正常 2:注销
  28079. in: query
  28080. name: userstatus
  28081. type: integer
  28082. produces:
  28083. - application/json
  28084. responses:
  28085. "200":
  28086. description: OK
  28087. schema:
  28088. items:
  28089. $ref: '#/definitions/models.WrDraftUserInfo'
  28090. type: array
  28091. "500":
  28092. description: Internal Server Error
  28093. schema:
  28094. $ref: '#/definitions/app.Response'
  28095. security:
  28096. - ApiKeyAuth: []
  28097. summary: 查询实名认证信息
  28098. tags:
  28099. - 仓单贸易v2
  28100. /WrTrade2/QueryWrFactorTypeInfo:
  28101. get:
  28102. parameters:
  28103. - description: 仓单要素id
  28104. in: query
  28105. name: wrfactortypeid
  28106. required: true
  28107. type: integer
  28108. produces:
  28109. - application/json
  28110. responses:
  28111. "200":
  28112. description: OK
  28113. schema:
  28114. items:
  28115. $ref: '#/definitions/models.WrFactorTypeInfo'
  28116. type: array
  28117. "500":
  28118. description: Internal Server Error
  28119. schema:
  28120. $ref: '#/definitions/app.Response'
  28121. security:
  28122. - ApiKeyAuth: []
  28123. summary: 查询仓单要素详细信息
  28124. tags:
  28125. - 仓单贸易v2
  28126. /WrTrade2/QueryWrFactorTypeInfoEx:
  28127. get:
  28128. parameters:
  28129. - description: 仓单要素id
  28130. in: query
  28131. name: wrfactortypeid
  28132. required: true
  28133. type: integer
  28134. produces:
  28135. - application/json
  28136. responses:
  28137. "200":
  28138. description: OK
  28139. schema:
  28140. items:
  28141. $ref: '#/definitions/models.WrTypeItem'
  28142. type: array
  28143. "500":
  28144. description: Internal Server Error
  28145. schema:
  28146. $ref: '#/definitions/app.Response'
  28147. security:
  28148. - ApiKeyAuth: []
  28149. summary: 查询仓单要素详细信息列表项
  28150. tags:
  28151. - 仓单贸易v2
  28152. /WrTrade2/QueryWrFinanceBuyApply:
  28153. get:
  28154. description: 页面 融资信息+ / 申请单
  28155. parameters:
  28156. - description: 用户id
  28157. in: query
  28158. name: userid
  28159. required: true
  28160. type: integer
  28161. produces:
  28162. - application/json
  28163. responses:
  28164. "200":
  28165. description: OK
  28166. schema:
  28167. items:
  28168. $ref: '#/definitions/models.WrFinanceBuyApply'
  28169. type: array
  28170. "500":
  28171. description: Internal Server Error
  28172. schema:
  28173. $ref: '#/definitions/app.Response'
  28174. security:
  28175. - ApiKeyAuth: []
  28176. summary: 查询融资购买申请
  28177. tags:
  28178. - 仓单贸易v2
  28179. /WrTrade2/QueryWrFriendApply:
  28180. get:
  28181. parameters:
  28182. - description: 用户id
  28183. in: query
  28184. name: userid
  28185. required: true
  28186. type: integer
  28187. produces:
  28188. - application/json
  28189. responses:
  28190. "200":
  28191. description: OK
  28192. schema:
  28193. items:
  28194. $ref: '#/definitions/models.WrFriendApply'
  28195. type: array
  28196. "500":
  28197. description: Internal Server Error
  28198. schema:
  28199. $ref: '#/definitions/app.Response'
  28200. security:
  28201. - ApiKeyAuth: []
  28202. summary: 查询好友申请记录
  28203. tags:
  28204. - 仓单贸易v2
  28205. /WrTrade2/QueryWrGoodsInfo:
  28206. get:
  28207. parameters:
  28208. - description: 仓单贸易市场id
  28209. in: query
  28210. name: marketid
  28211. type: integer
  28212. - description: 0:仓单预售 1:仓单贸易
  28213. in: query
  28214. name: haswr
  28215. required: true
  28216. type: integer
  28217. - description: 仓单要素id
  28218. in: query
  28219. name: wrfactortypeid
  28220. required: true
  28221. type: integer
  28222. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  28223. in: query
  28224. name: tmplateid
  28225. type: integer
  28226. produces:
  28227. - application/json
  28228. responses:
  28229. "200":
  28230. description: OK
  28231. schema:
  28232. items:
  28233. $ref: '#/definitions/models.WrGoodsInfo'
  28234. type: array
  28235. "500":
  28236. description: Internal Server Error
  28237. schema:
  28238. $ref: '#/definitions/app.Response'
  28239. security:
  28240. - ApiKeyAuth: []
  28241. summary: 查询仓单商品信息
  28242. tags:
  28243. - 仓单贸易v2
  28244. /WrTrade2/QueryWrMarketTradeConfig:
  28245. get:
  28246. parameters:
  28247. - description: 市场id
  28248. in: query
  28249. name: marketid
  28250. type: integer
  28251. produces:
  28252. - application/json
  28253. responses:
  28254. "200":
  28255. description: OK
  28256. schema:
  28257. items:
  28258. $ref: '#/definitions/models.WrMarketTradeConfig'
  28259. type: array
  28260. "500":
  28261. description: Internal Server Error
  28262. schema:
  28263. $ref: '#/definitions/app.Response'
  28264. security:
  28265. - ApiKeyAuth: []
  28266. summary: 查询市场交易参数配置
  28267. tags:
  28268. - 仓单贸易v2
  28269. /WrTrade2/QueryWrOrderDetail:
  28270. get:
  28271. description: 页面 现货仓单 | 预售仓单 -> 委托单
  28272. parameters:
  28273. - description: 页码
  28274. in: query
  28275. name: page
  28276. type: integer
  28277. - description: 每页条数
  28278. in: query
  28279. name: pagesize
  28280. type: integer
  28281. - description: 用户id
  28282. in: query
  28283. name: userid
  28284. required: true
  28285. type: integer
  28286. - description: 仓单贸易市场id
  28287. in: query
  28288. name: marketid
  28289. type: integer
  28290. - description: 0:仓单预售 1:仓单贸易
  28291. in: query
  28292. name: haswr
  28293. required: true
  28294. type: integer
  28295. - description: 是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场
  28296. in: query
  28297. name: bcancel
  28298. type: integer
  28299. - description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  28300. in: query
  28301. name: wrtradetype
  28302. type: integer
  28303. - description: 开始交易日(yyyymmdd)
  28304. in: query
  28305. name: begindate
  28306. type: string
  28307. - description: 结束交易日(yyyymmdd)
  28308. in: query
  28309. name: enddate
  28310. type: string
  28311. produces:
  28312. - application/json
  28313. responses:
  28314. "200":
  28315. description: OK
  28316. schema:
  28317. items:
  28318. $ref: '#/definitions/models.WrOrderDetail'
  28319. type: array
  28320. "500":
  28321. description: Internal Server Error
  28322. schema:
  28323. $ref: '#/definitions/app.Response'
  28324. security:
  28325. - ApiKeyAuth: []
  28326. summary: 查询仓单委托单
  28327. tags:
  28328. - 仓单贸易v2
  28329. /WrTrade2/QueryWrOutInApply:
  28330. get:
  28331. parameters:
  28332. - description: 用户id
  28333. in: query
  28334. name: userid
  28335. required: true
  28336. type: integer
  28337. - description: 开始交易日(yyyymmdd)
  28338. in: query
  28339. name: begindate
  28340. type: string
  28341. - description: 结束交易日(yyyymmdd)
  28342. in: query
  28343. name: enddate
  28344. type: string
  28345. produces:
  28346. - application/json
  28347. responses:
  28348. "200":
  28349. description: OK
  28350. schema:
  28351. items:
  28352. $ref: '#/definitions/models.WrOutInApply'
  28353. type: array
  28354. "500":
  28355. description: Internal Server Error
  28356. schema:
  28357. $ref: '#/definitions/app.Response'
  28358. security:
  28359. - ApiKeyAuth: []
  28360. summary: 查询提货申请
  28361. tags:
  28362. - 仓单贸易v2
  28363. /WrTrade2/QueryWrPerformancePlanStep:
  28364. get:
  28365. parameters:
  28366. - description: 履约计划id(performanceplanid)
  28367. in: query
  28368. name: planid
  28369. required: true
  28370. type: integer
  28371. - description: 当前步骤id
  28372. in: query
  28373. name: curstepid
  28374. type: integer
  28375. produces:
  28376. - application/json
  28377. responses:
  28378. "200":
  28379. description: OK
  28380. schema:
  28381. items:
  28382. $ref: '#/definitions/models.WrPerformancePlanStep'
  28383. type: array
  28384. "500":
  28385. description: Internal Server Error
  28386. schema:
  28387. $ref: '#/definitions/app.Response'
  28388. security:
  28389. - ApiKeyAuth: []
  28390. summary: 查询履约信息详情
  28391. tags:
  28392. - 仓单贸易v2
  28393. /WrTrade2/QueryWrPerformanceStepType:
  28394. get:
  28395. produces:
  28396. - application/json
  28397. responses:
  28398. "200":
  28399. description: OK
  28400. schema:
  28401. items:
  28402. $ref: '#/definitions/models.WrPerformanceStepType'
  28403. type: array
  28404. "500":
  28405. description: Internal Server Error
  28406. schema:
  28407. $ref: '#/definitions/app.Response'
  28408. security:
  28409. - ApiKeyAuth: []
  28410. summary: 查询履约步骤枚举
  28411. tags:
  28412. - 仓单贸易v2
  28413. /WrTrade2/QueryWrPosition:
  28414. get:
  28415. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  28416. parameters:
  28417. - description: 用户id
  28418. in: query
  28419. name: userid
  28420. required: true
  28421. type: integer
  28422. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  28423. in: query
  28424. name: querytype
  28425. required: true
  28426. type: integer
  28427. - description: 0:仓单预售 1:仓单贸易
  28428. in: query
  28429. name: haswr
  28430. required: true
  28431. type: integer
  28432. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  28433. in: query
  28434. name: dgitemname
  28435. type: string
  28436. - description: 仓库id(筛选条件)
  28437. in: query
  28438. name: warehouseid
  28439. type: integer
  28440. - description: 品种id
  28441. in: query
  28442. name: deliverygoodsid
  28443. type: integer
  28444. - description: 品类id
  28445. in: query
  28446. name: wrstandardid
  28447. type: integer
  28448. produces:
  28449. - application/json
  28450. responses:
  28451. "200":
  28452. description: OK
  28453. schema:
  28454. items:
  28455. $ref: '#/definitions/models.WrPosition'
  28456. type: array
  28457. "500":
  28458. description: Internal Server Error
  28459. schema:
  28460. $ref: '#/definitions/app.Response'
  28461. security:
  28462. - ApiKeyAuth: []
  28463. summary: 查询现货(预售)仓单持仓
  28464. tags:
  28465. - 仓单贸易v2
  28466. /WrTrade2/QueryWrPreSaleInfo:
  28467. get:
  28468. parameters:
  28469. - description: 市场id
  28470. in: query
  28471. name: marketid
  28472. type: integer
  28473. - description: 预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭
  28474. in: query
  28475. name: presalestatus
  28476. type: string
  28477. - description: 摇号标识 - 0:未摇号 1:已摇号
  28478. in: query
  28479. name: lotteryflag
  28480. type: integer
  28481. - description: 最近多少条记录(按创建时间倒序)
  28482. in: query
  28483. name: lastnum
  28484. type: integer
  28485. produces:
  28486. - application/json
  28487. responses:
  28488. "200":
  28489. description: OK
  28490. schema:
  28491. items:
  28492. $ref: '#/definitions/models.WrPreSaleInfo'
  28493. type: array
  28494. "500":
  28495. description: Internal Server Error
  28496. schema:
  28497. $ref: '#/definitions/app.Response'
  28498. security:
  28499. - ApiKeyAuth: []
  28500. summary: 查询新品发布
  28501. tags:
  28502. - 仓单贸易v2
  28503. /WrTrade2/QueryWrReckonSpotGoodsTradeSum:
  28504. get:
  28505. parameters:
  28506. - description: 市场id
  28507. in: query
  28508. name: marketid
  28509. required: true
  28510. type: integer
  28511. - description: 现货商品id
  28512. in: query
  28513. name: wrstandardid
  28514. required: true
  28515. type: integer
  28516. - description: 开始交易日(yyyymmdd)
  28517. in: query
  28518. name: begindate
  28519. type: string
  28520. - description: 结束交易日(yyyymmdd)
  28521. in: query
  28522. name: enddate
  28523. type: string
  28524. - description: 最近多少条记录(按交易日倒序)
  28525. in: query
  28526. name: lastnum
  28527. type: integer
  28528. produces:
  28529. - application/json
  28530. responses:
  28531. "200":
  28532. description: OK
  28533. schema:
  28534. items:
  28535. $ref: '#/definitions/models.WrReckonSpotGoodsTradeSum'
  28536. type: array
  28537. "500":
  28538. description: Internal Server Error
  28539. schema:
  28540. $ref: '#/definitions/app.Response'
  28541. security:
  28542. - ApiKeyAuth: []
  28543. summary: 查询价格走势
  28544. tags:
  28545. - 仓单贸易v2
  28546. /WrTrade2/QueryWrScfContract:
  28547. get:
  28548. parameters:
  28549. - description: 用户id
  28550. in: query
  28551. name: userid
  28552. required: true
  28553. type: integer
  28554. - description: 融资合同id
  28555. in: query
  28556. name: scfcontractid
  28557. type: integer
  28558. produces:
  28559. - application/json
  28560. responses:
  28561. "200":
  28562. description: OK
  28563. schema:
  28564. items:
  28565. $ref: '#/definitions/models.WrScfContract'
  28566. type: array
  28567. "500":
  28568. description: Internal Server Error
  28569. schema:
  28570. $ref: '#/definitions/app.Response'
  28571. security:
  28572. - ApiKeyAuth: []
  28573. summary: 查询仓单贸易融资合同
  28574. tags:
  28575. - 仓单贸易v2
  28576. /WrTrade2/QueryWrScfContractInterest:
  28577. get:
  28578. parameters:
  28579. - description: 融资合同id
  28580. in: query
  28581. name: scfcontractid
  28582. type: integer
  28583. produces:
  28584. - application/json
  28585. responses:
  28586. "200":
  28587. description: OK
  28588. schema:
  28589. items:
  28590. $ref: '#/definitions/models.WrScfContractInterest'
  28591. type: array
  28592. "500":
  28593. description: Internal Server Error
  28594. schema:
  28595. $ref: '#/definitions/app.Response'
  28596. security:
  28597. - ApiKeyAuth: []
  28598. summary: 查询融资合同费用明细
  28599. tags:
  28600. - 仓单贸易v2
  28601. /WrTrade2/QueryWrSearchUser:
  28602. get:
  28603. parameters:
  28604. - description: 用户名称(模糊匹配)
  28605. in: query
  28606. name: username
  28607. required: true
  28608. type: string
  28609. produces:
  28610. - application/json
  28611. responses:
  28612. "200":
  28613. description: OK
  28614. schema:
  28615. items:
  28616. $ref: '#/definitions/models.WrSearchUser'
  28617. type: array
  28618. "500":
  28619. description: Internal Server Error
  28620. schema:
  28621. $ref: '#/definitions/app.Response'
  28622. security:
  28623. - ApiKeyAuth: []
  28624. summary: 查询用户
  28625. tags:
  28626. - 仓单贸易v2
  28627. /WrTrade2/QueryWrSpecialMatchOrder:
  28628. get:
  28629. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  28630. parameters:
  28631. - description: 页码
  28632. in: query
  28633. name: page
  28634. type: integer
  28635. - description: 每页条数
  28636. in: query
  28637. name: pagesize
  28638. type: integer
  28639. - description: 用户id
  28640. in: query
  28641. name: userid
  28642. required: true
  28643. type: integer
  28644. - description: 仓单贸易市场id
  28645. in: query
  28646. name: marketid
  28647. type: integer
  28648. - description: 0:仓单预售 1:仓单贸易
  28649. in: query
  28650. name: haswr
  28651. required: true
  28652. type: integer
  28653. - description: 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  28654. in: query
  28655. name: isspecified
  28656. type: integer
  28657. produces:
  28658. - application/json
  28659. responses:
  28660. "200":
  28661. description: OK
  28662. schema:
  28663. items:
  28664. $ref: '#/definitions/models.WrSpecialMatchOrder'
  28665. type: array
  28666. "500":
  28667. description: Internal Server Error
  28668. schema:
  28669. $ref: '#/definitions/app.Response'
  28670. security:
  28671. - ApiKeyAuth: []
  28672. summary: 查询指定成交
  28673. tags:
  28674. - 仓单贸易v2
  28675. /WrTrade2/QueryWrStandardFactoryItem:
  28676. get:
  28677. parameters:
  28678. - description: 品类id
  28679. in: query
  28680. name: wrstandardid
  28681. required: true
  28682. type: integer
  28683. produces:
  28684. - application/json
  28685. responses:
  28686. "200":
  28687. description: OK
  28688. schema:
  28689. items:
  28690. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  28691. type: array
  28692. "500":
  28693. description: Internal Server Error
  28694. schema:
  28695. $ref: '#/definitions/app.Response'
  28696. security:
  28697. - ApiKeyAuth: []
  28698. summary: 查询品类要素定义项
  28699. tags:
  28700. - 仓单贸易v2
  28701. /WrTrade2/QueryWrTradeBargainApply:
  28702. get:
  28703. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面
  28704. 议价->对方议价 填写matchuserid=登录用户id
  28705. parameters:
  28706. - description: 议价人id(摘牌方)
  28707. in: query
  28708. name: userid
  28709. type: integer
  28710. - description: 挂牌方id(查对方议价时,填写此项)
  28711. in: query
  28712. name: matchuserid
  28713. type: integer
  28714. - description: 关联委托单id
  28715. in: query
  28716. name: wrtradeorderid
  28717. type: integer
  28718. - description: 0:仓单预售 1:仓单贸易
  28719. in: query
  28720. name: haswr
  28721. required: true
  28722. type: integer
  28723. - description: 开始交易日(yyyymmdd)
  28724. in: query
  28725. name: begindate
  28726. type: string
  28727. - description: 结束交易日(yyyymmdd)
  28728. in: query
  28729. name: enddate
  28730. type: string
  28731. produces:
  28732. - application/json
  28733. responses:
  28734. "200":
  28735. description: OK
  28736. schema:
  28737. items:
  28738. $ref: '#/definitions/models.WRTradeBargainApply'
  28739. type: array
  28740. "500":
  28741. description: Internal Server Error
  28742. schema:
  28743. $ref: '#/definitions/app.Response'
  28744. security:
  28745. - ApiKeyAuth: []
  28746. summary: 查询议价单
  28747. tags:
  28748. - 仓单贸易v2
  28749. /WrTrade2/QueryWrTradeDetail:
  28750. get:
  28751. parameters:
  28752. - description: 页码
  28753. in: query
  28754. name: page
  28755. type: integer
  28756. - description: 每页条数
  28757. in: query
  28758. name: pagesize
  28759. type: integer
  28760. - description: 用户id
  28761. in: query
  28762. name: userid
  28763. required: true
  28764. type: integer
  28765. - description: 仓单贸易市场id
  28766. in: query
  28767. name: marketid
  28768. type: integer
  28769. - description: 0:仓单预售 1:仓单贸易
  28770. in: query
  28771. name: haswr
  28772. required: true
  28773. type: integer
  28774. - description: 开始交易日(yyyymmdd)
  28775. in: query
  28776. name: begindate
  28777. type: string
  28778. - description: 结束交易日(yyyymmdd)
  28779. in: query
  28780. name: enddate
  28781. type: string
  28782. produces:
  28783. - application/json
  28784. responses:
  28785. "200":
  28786. description: OK
  28787. schema:
  28788. items:
  28789. $ref: '#/definitions/models.WrTradeDetail'
  28790. type: array
  28791. "500":
  28792. description: Internal Server Error
  28793. schema:
  28794. $ref: '#/definitions/app.Response'
  28795. security:
  28796. - ApiKeyAuth: []
  28797. summary: 查询仓单成交明细
  28798. tags:
  28799. - 仓单贸易v2
  28800. /WrTrade2/QueryWrTradeOrderDetail:
  28801. get:
  28802. parameters:
  28803. - description: 页码
  28804. in: query
  28805. name: page
  28806. type: integer
  28807. - description: 每页条数
  28808. in: query
  28809. name: pagesize
  28810. type: integer
  28811. - description: 商品id
  28812. in: query
  28813. name: goodsid
  28814. required: true
  28815. type: integer
  28816. - description: 买卖方向 0-买 1-卖
  28817. in: query
  28818. name: buyorsell
  28819. required: true
  28820. type: integer
  28821. produces:
  28822. - application/json
  28823. responses:
  28824. "200":
  28825. description: OK
  28826. schema:
  28827. items:
  28828. $ref: '#/definitions/models.WrTradeOrderDetail'
  28829. type: array
  28830. "500":
  28831. description: Internal Server Error
  28832. schema:
  28833. $ref: '#/definitions/app.Response'
  28834. security:
  28835. - ApiKeyAuth: []
  28836. summary: 查询合约交易买卖大厅
  28837. tags:
  28838. - 仓单贸易v2
  28839. /WrTrade2/QueryWrUserFriend:
  28840. get:
  28841. parameters:
  28842. - description: 用户id
  28843. in: query
  28844. name: userid
  28845. required: true
  28846. type: integer
  28847. - description: 新朋友userid, 如果填写了此项则查找新朋友
  28848. in: query
  28849. name: newuserid
  28850. type: integer
  28851. produces:
  28852. - application/json
  28853. responses:
  28854. "200":
  28855. description: OK
  28856. schema:
  28857. items:
  28858. $ref: '#/definitions/models.WrUserFriend'
  28859. type: array
  28860. "500":
  28861. description: Internal Server Error
  28862. schema:
  28863. $ref: '#/definitions/app.Response'
  28864. security:
  28865. - ApiKeyAuth: []
  28866. summary: 查询我的朋友
  28867. tags:
  28868. - 仓单贸易v2
  28869. /WrTrade2/QueryWrUserReceiptInfo:
  28870. get:
  28871. parameters:
  28872. - description: 用户id
  28873. in: query
  28874. name: userid
  28875. type: integer
  28876. - description: 发票类型 - 1:个人 2:企业
  28877. in: query
  28878. name: receipttype
  28879. type: integer
  28880. produces:
  28881. - application/json
  28882. responses:
  28883. "200":
  28884. description: OK
  28885. schema:
  28886. items:
  28887. $ref: '#/definitions/models.WrUserReceiptInfo'
  28888. type: array
  28889. "500":
  28890. description: Internal Server Error
  28891. schema:
  28892. $ref: '#/definitions/app.Response'
  28893. security:
  28894. - ApiKeyAuth: []
  28895. summary: 查询发票信息
  28896. tags:
  28897. - 仓单贸易v2
  28898. /ZJ/GetBankTip:
  28899. get:
  28900. produces:
  28901. - application/json
  28902. responses:
  28903. "200":
  28904. description: OK
  28905. schema:
  28906. type: string
  28907. "500":
  28908. description: Internal Server Error
  28909. schema:
  28910. $ref: '#/definitions/app.Response'
  28911. summary: 获取中江网银端出入金提示信息
  28912. tags:
  28913. - 中江
  28914. /ZJ/GetCusBankChannels:
  28915. get:
  28916. produces:
  28917. - application/json
  28918. responses:
  28919. "200":
  28920. description: OK
  28921. schema:
  28922. items:
  28923. type: string
  28924. type: array
  28925. "500":
  28926. description: Internal Server Error
  28927. schema:
  28928. $ref: '#/definitions/app.Response'
  28929. summary: 获取中江出入金渠道显示列表
  28930. tags:
  28931. - 中江
  28932. securityDefinitions:
  28933. ApiKeyAuth:
  28934. in: header
  28935. name: Authorization
  28936. type: apiKey
  28937. swagger: "2.0"